@bino-bi/bn-template-engine 1.0.0-next.28 → 1.0.0-next.29
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.
- package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
- package/dist/bn-template-engine/p-12c8c444.entry.js +1 -0
- package/dist/bn-template-engine/p-2cbccbe7.entry.js +1 -0
- package/dist/bn-template-engine/p-5e66d1d0.entry.js +1 -0
- package/dist/bn-template-engine/p-69dfa165.entry.js +1 -0
- package/dist/bn-template-engine/p-Bo7_IopT.js +1 -0
- package/dist/bn-template-engine/p-ByoAF_Qe.js +1 -0
- package/dist/bn-template-engine/p-CCZcKl0Q.js +2 -0
- package/dist/bn-template-engine/p-CsupHyLQ.js +1 -0
- package/dist/bn-template-engine/p-D0qTf1_a.js +1 -0
- package/dist/bn-template-engine/p-b09430b6.entry.js +1 -0
- package/dist/bn-template-engine/p-f10950e8.entry.js +1 -0
- package/dist/bn-template-engine/p-qcLonXCz.js +1 -0
- package/dist/cjs/bn-asset_28.cjs.entry.js +23551 -23726
- package/dist/cjs/bn-grid.cjs.entry.js +11 -63
- package/dist/cjs/bn-image.cjs.entry.js +5 -6
- package/dist/cjs/bn-internationalization.cjs.entry.js +11 -7
- package/dist/cjs/bn-ruleset.cjs.entry.js +7 -8
- package/dist/cjs/bn-template-engine.cjs.js +2 -2
- package/dist/cjs/bn-text.cjs.entry.js +12 -12
- package/dist/cjs/{diagnostics-Cq-qDtXq.js → diagnostics-DMmUPOsm.js} +2 -2
- package/dist/cjs/{index-C1Z9vO7z.js → index-DGis1BzT.js} +0 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{sanitizeHtml-Yx1xn6i_.js → sanitizeHtml-Cr0jVSJ_.js} +52 -33
- package/dist/cjs/{withBodyObserver-CaPUjuC5.js → withBodyObserver-CrSp_FfF.js} +2 -2
- package/dist/cjs/{context-protocol-C0rKepqu.js → withHasError-DpogV-4f.js} +455 -13
- package/dist/cjs/{withStyled-vSfogp9J.js → withStyled-TQ67jCAV.js} +20 -34
- package/dist/collection/collection-manifest.json +9 -11
- package/dist/collection/components/bn-body/bn-body.js +24 -1
- package/dist/collection/components/bn-card/bn-card.js +24 -1
- package/dist/collection/components/bn-chart-bubble/{ibcs-chart-bubble.js → bn-chart-bubble-renderer/bn-chart-bubble-renderer.js} +153 -59
- package/dist/collection/components/bn-chart-bubble/bn-chart-bubble.js +70 -13
- package/dist/collection/components/bn-chart-bullet/{ibcs-chart-bullet.js → bn-chart-bullet-renderer/bn-chart-bullet-renderer.js} +127 -53
- package/dist/collection/components/bn-chart-bullet/bn-chart-bullet.js +83 -20
- package/dist/collection/components/bn-chart-bullet/utils/BulletChart.js +8 -8
- package/dist/collection/components/bn-chart-bullet/utils/model/BulletChartStyle.js +4 -4
- package/dist/collection/components/bn-chart-scatter/{ibcs-chart-scatter.js → bn-chart-scatter-renderer/bn-chart-scatter-renderer.js} +132 -53
- package/dist/collection/components/bn-chart-scatter/bn-chart-scatter.js +69 -12
- package/dist/collection/components/bn-chart-scatter/utils/ScatterChart.js +5 -1
- package/dist/collection/components/bn-chart-structure/{ibcs-chart-structure.js → bn-chart-structure-renderer/bn-chart-structure-renderer.js} +159 -66
- package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +115 -95
- package/dist/collection/components/bn-chart-structure/utils/StructureChart.js +18 -6
- package/dist/collection/components/bn-chart-structure/utils/elements/Axis.js +1 -1
- package/dist/collection/components/bn-chart-structure/utils/elements/Bar.js +1 -1
- package/dist/collection/components/bn-chart-time/{ibcs-chart-time.js → bn-chart-time-renderer/bn-chart-time-renderer.js} +188 -150
- package/dist/collection/components/bn-chart-time/bn-chart-time.js +140 -405
- package/dist/collection/components/bn-chart-time/utils/TimeChart.js +27 -13
- package/dist/collection/components/bn-chart-time/utils/elements/LineSeries.js +6 -3
- package/dist/collection/components/bn-chart-time/utils/factories/ScenarioFactory.js +2 -2
- package/dist/collection/components/bn-chart-time/utils/model/TimeChartComponentConfig.js +2 -18
- package/dist/collection/components/bn-component-style/bn-component-style.js +3 -3
- package/dist/collection/components/bn-context/bn-context.js +23 -4
- package/dist/collection/components/bn-dataset/bn-dataset.js +8 -8
- package/dist/collection/components/bn-datasource/bn-datasource.js +8 -8
- package/dist/collection/components/bn-footer/bn-footer.css +1 -15
- package/dist/collection/components/bn-footer/bn-footer.js +17 -34
- package/dist/collection/components/bn-grid/bn-grid.js +38 -71
- package/dist/collection/components/bn-image/bn-image.js +21 -2
- package/dist/collection/components/bn-internationalization/bn-internationalization.js +7 -1
- package/dist/collection/components/bn-layout-card/bn-layout-card.js +3 -32
- package/dist/collection/components/bn-layout-page/bn-layout-page.js +3 -32
- package/dist/collection/components/bn-message/bn-message.js +20 -2
- package/dist/collection/components/bn-page/bn-page.js +22 -3
- package/dist/collection/components/bn-ruleset/bn-ruleset.js +3 -3
- package/dist/collection/components/bn-scaling-group/bn-scaling-group.js +9 -9
- package/dist/collection/components/bn-table/{ibcs-table.js → bn-table-renderer/bn-table-renderer.js} +215 -81
- package/dist/collection/components/bn-table/bn-table.js +134 -157
- package/dist/collection/components/bn-table/utils/Table.js +3 -3
- package/dist/collection/components/bn-table/utils/elements/TableRow.js +1 -1
- package/dist/collection/components/bn-table/utils/factories/tableDataSetFactory.js +12 -3
- package/dist/collection/components/bn-table/utils/helper/barColumnGeometry.js +2 -2
- package/dist/collection/components/bn-text/bn-text.js +66 -8
- package/dist/collection/components/bn-title/{ibcs-title/ibcs-title.js → bn-title-renderer/bn-title-renderer.js} +59 -83
- package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/Title.js +2 -2
- package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/factories/TitleDataSetFactory.js +1 -1
- package/dist/collection/components/bn-title/bn-title.js +58 -14
- package/dist/collection/components/bn-tree/bn-tree.js +30 -28
- package/dist/collection/index.js +0 -1
- package/dist/collection/schemas.js +1 -0
- package/dist/collection/stores/componentStyles.js +6 -6
- package/dist/collection/stores/internationalization.js +10 -6
- package/dist/collection/utils/autoFit.js +2 -2
- package/dist/collection/utils/emptyState.js +1 -1
- package/dist/collection/utils/ibcsRuleSet.js +42 -0
- package/dist/collection/utils/layoutTemplate.js +0 -2
- package/dist/collection/utils/scaling.js +9 -0
- package/dist/collection/utils/validate.js +0 -7
- package/dist/collection/utils/withComponentStyle.js +12 -17
- package/dist/collection/utils/withDataset.js +22 -11
- package/dist/collection/utils/withHasError.js +17 -2
- package/dist/collection/utils/withRuleSet.js +7 -7
- package/dist/collection/utils/withTranslation.js +14 -14
- package/dist/collection/utils/xy/XYFrame.js +13 -3
- package/dist/collection/utils/xy/model/ScaleFactorsXYChart.js +8 -9
- package/dist/components/bn-asset.js +1 -1
- package/dist/components/bn-body.js +1 -1
- package/dist/components/bn-card.js +1 -1
- package/dist/components/bn-chart-bubble-renderer.d.ts +11 -0
- package/dist/components/bn-chart-bubble-renderer.js +1 -0
- package/dist/components/bn-chart-bubble.js +1 -1
- package/dist/components/bn-chart-bullet-renderer.d.ts +11 -0
- package/dist/components/bn-chart-bullet-renderer.js +1 -0
- package/dist/components/bn-chart-bullet.js +1 -1
- package/dist/components/bn-chart-scatter-renderer.d.ts +11 -0
- package/dist/components/bn-chart-scatter-renderer.js +1 -0
- package/dist/components/bn-chart-scatter.js +1 -1
- package/dist/components/bn-chart-structure-renderer.d.ts +11 -0
- package/dist/components/bn-chart-structure-renderer.js +1 -0
- package/dist/components/bn-chart-structure.js +1 -1
- package/dist/components/{bn-template.d.ts → bn-chart-time-renderer.d.ts} +4 -4
- package/dist/components/bn-chart-time-renderer.js +1 -0
- package/dist/components/bn-chart-time.js +1 -1
- package/dist/components/bn-component-style.js +1 -1
- package/dist/components/bn-context.js +1 -1
- package/dist/components/bn-dataset.js +1 -1
- package/dist/components/bn-datasource.js +1 -1
- package/dist/components/bn-footer.js +1 -1
- package/dist/components/bn-grid.js +1 -1
- package/dist/components/bn-image.js +1 -1
- package/dist/components/bn-internationalization.js +1 -1
- package/dist/components/bn-layout-card.js +1 -1
- package/dist/components/bn-layout-page.js +1 -1
- package/dist/components/bn-message.js +1 -1
- package/dist/components/bn-page.js +1 -1
- package/dist/components/bn-ruleset.js +1 -1
- package/dist/components/bn-scaling-group.js +1 -1
- package/dist/components/{ibcs-chart-bubble.d.ts → bn-table-renderer.d.ts} +4 -4
- package/dist/components/bn-table-renderer.js +1 -0
- package/dist/components/bn-table.js +1 -1
- package/dist/components/bn-text.js +1 -1
- package/dist/components/{editor-companion.d.ts → bn-title-renderer.d.ts} +4 -4
- package/dist/components/bn-title-renderer.js +1 -0
- package/dist/components/bn-title.js +1 -1
- package/dist/components/bn-tree.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p--cxUP_so.js +1 -0
- package/dist/components/p-B7GzUuM1.js +1 -0
- package/dist/components/p-BFUNrRAN.js +1 -0
- package/dist/components/p-BI5orga2.js +1 -0
- package/dist/components/p-BN7PtJVV.js +1 -0
- package/dist/components/p-BN8vBcMD.js +1 -0
- package/dist/components/p-BZe4T2ta.js +1 -0
- package/dist/components/p-BbS6qL8Z.js +1 -0
- package/dist/components/p-BcQv74MZ.js +1 -0
- package/dist/components/p-BgWfMdDE.js +1 -0
- package/dist/components/p-BhOssNAI.js +1 -0
- package/dist/components/p-BvuJFY7b.js +1 -0
- package/dist/components/p-C3Lz_w4H.js +1 -0
- package/dist/components/p-CD39zcHF.js +1 -0
- package/dist/components/p-CYurh604.js +1 -0
- package/dist/components/p-CYwd_ZNM.js +1 -0
- package/dist/components/p-CfBqQljd.js +1 -0
- package/dist/components/p-Ci4wYt6s.js +1 -0
- package/dist/components/p-ClvHVwGH.js +1 -0
- package/dist/components/p-Co1dDaxy.js +1 -0
- package/dist/components/p-Cq5MNEMN.js +1 -0
- package/dist/components/p-CtiP8VJ_.js +1 -0
- package/dist/components/p-CwzAQJSz.js +1 -0
- package/dist/components/p-D2Epww9R.js +1 -0
- package/dist/components/p-D413xjVu.js +1 -0
- package/dist/components/p-D4lSYFwX.js +1 -0
- package/dist/components/p-D6YGOYV1.js +2 -0
- package/dist/components/p-DCja-Yov.js +1 -0
- package/dist/components/p-DJijh10F.js +1 -0
- package/dist/components/p-DZ3ub5DV.js +1 -0
- package/dist/components/p-DcfgLtdU.js +1 -0
- package/dist/components/p-Dd6b8E_1.js +1 -0
- package/dist/components/p-Di57x1j-.js +1 -0
- package/dist/components/p-Dq4KMCDU.js +1 -0
- package/dist/components/p-DrN6R99a.js +1 -0
- package/dist/components/p-DtBFwIVs.js +1 -0
- package/dist/components/p-DynTmVfI.js +1 -0
- package/dist/components/p-Igh8PJUo.js +1 -0
- package/dist/components/p-Xb6Ilq8u.js +1 -0
- package/dist/components/p-e6lZYVYf.js +1 -0
- package/dist/components/p-g4dh_F-M.js +1 -0
- package/dist/components/p-iJCxRAmO.js +1 -0
- package/dist/components/p-kGB4WKet.js +1 -0
- package/dist/components/p-pH6_06qq.js +1 -0
- package/dist/components/p-xJ1DeaDY.js +1 -0
- package/dist/esm/bn-asset_28.entry.js +24797 -24972
- package/dist/esm/bn-grid.entry.js +11 -63
- package/dist/esm/bn-image.entry.js +4 -5
- package/dist/esm/bn-internationalization.entry.js +9 -5
- package/dist/esm/bn-ruleset.entry.js +6 -7
- package/dist/esm/bn-template-engine.js +3 -3
- package/dist/esm/bn-text.entry.js +12 -12
- package/dist/esm/{diagnostics-vw6TKMiT.js → diagnostics-BaXhpaAg.js} +1 -1
- package/dist/esm/{index-C5UYpZUU.js → index-CCZcKl0Q.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{sanitizeHtml-C5bFtARM.js → sanitizeHtml-BpBu47OE.js} +48 -30
- package/dist/esm/{withBodyObserver-DD_-r04o.js → withBodyObserver-1IBghfa8.js} +2 -2
- package/dist/esm/{context-protocol-CdTp19uA.js → withHasError-C8f_AGmT.js} +451 -13
- package/dist/esm/{withStyled-BDEyKd_H.js → withStyled-DS6G7yrL.js} +15 -28
- package/dist/schemas/axis.schema.json +52 -0
- package/dist/schemas/i18n.schema.json +31 -0
- package/dist/schemas/partof.schema.json +33 -0
- package/dist/schemas/ruleset.schema.json +59 -0
- package/dist/schemas/stack.schema.json +51 -0
- package/dist/schemas/theme.schema.json +583 -0
- package/dist/schemas/thereof.schema.json +34 -0
- package/dist/types/components/bn-body/bn-body.d.ts +5 -0
- package/dist/types/components/bn-card/bn-card.d.ts +5 -0
- package/dist/types/components/bn-chart-bubble/bn-chart-bubble-renderer/bn-chart-bubble-renderer.d.ts +97 -0
- package/dist/types/components/bn-chart-bubble/bn-chart-bubble.d.ts +20 -2
- package/dist/types/components/bn-chart-bullet/bn-chart-bullet-renderer/bn-chart-bullet-renderer.d.ts +81 -0
- package/dist/types/components/bn-chart-bullet/bn-chart-bullet.d.ts +21 -3
- package/dist/types/components/bn-chart-bullet/utils/model/BulletChartStyle.d.ts +2 -2
- package/dist/types/components/bn-chart-scatter/bn-chart-scatter-renderer/bn-chart-scatter-renderer.d.ts +85 -0
- package/dist/types/components/bn-chart-scatter/bn-chart-scatter.d.ts +20 -2
- package/dist/types/components/bn-chart-structure/{ibcs-chart-structure.d.ts → bn-chart-structure-renderer/bn-chart-structure-renderer.d.ts} +43 -13
- package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +29 -17
- package/dist/types/components/bn-chart-structure/utils/StructureChart.d.ts +5 -0
- package/dist/types/components/bn-chart-time/{ibcs-chart-time.d.ts → bn-chart-time-renderer/bn-chart-time-renderer.d.ts} +50 -17
- package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +36 -66
- package/dist/types/components/bn-chart-time/utils/TimeChart.d.ts +5 -0
- package/dist/types/components/bn-chart-time/utils/elements/LineSeries.d.ts +5 -1
- package/dist/types/components/bn-chart-time/utils/factories/ScenarioFactory.d.ts +1 -1
- package/dist/types/components/bn-chart-time/utils/model/TimeChartComponentConfig.d.ts +2 -8
- package/dist/types/components/bn-context/bn-context.d.ts +7 -1
- package/dist/types/components/bn-dataset/bn-dataset.d.ts +2 -2
- package/dist/types/components/bn-datasource/bn-datasource.d.ts +2 -2
- package/dist/types/components/bn-footer/bn-footer.d.ts +5 -7
- package/dist/types/components/bn-grid/bn-grid.d.ts +8 -6
- package/dist/types/components/bn-image/bn-image.d.ts +4 -0
- package/dist/types/components/bn-layout-card/bn-layout-card.d.ts +0 -1
- package/dist/types/components/bn-layout-page/bn-layout-page.d.ts +0 -1
- package/dist/types/components/bn-message/bn-message.d.ts +5 -0
- package/dist/types/components/bn-page/bn-page.d.ts +5 -0
- package/dist/types/components/bn-table/{ibcs-table.d.ts → bn-table-renderer/bn-table-renderer.d.ts} +49 -12
- package/dist/types/components/bn-table/bn-table.d.ts +48 -49
- package/dist/types/components/bn-table/utils/elements/CellBarChart.d.ts +2 -1
- package/dist/types/components/bn-table/utils/factories/tableDataSetFactory.d.ts +5 -2
- package/dist/types/components/bn-text/bn-text.d.ts +19 -1
- package/dist/types/components/bn-title/{ibcs-title/ibcs-title.d.ts → bn-title-renderer/bn-title-renderer.d.ts} +15 -4
- package/dist/types/components/bn-title/bn-title.d.ts +15 -3
- package/dist/types/components/bn-tree/bn-tree.d.ts +6 -2
- package/dist/types/components.d.ts +1923 -2433
- package/dist/types/context/scopedDb.d.ts +9 -12
- package/dist/types/index.d.ts +0 -1
- package/dist/types/schemas.d.ts +50 -0
- package/dist/types/stores/internationalization.d.ts +3 -2
- package/dist/types/stores/ruleSets.d.ts +15 -3
- package/dist/types/utils/autoFit.d.ts +2 -2
- package/dist/types/utils/emptyState.d.ts +1 -1
- package/dist/types/utils/ibcsRuleSet.d.ts +16 -0
- package/dist/types/utils/model/ChartStyles.d.ts +2 -1
- package/dist/types/utils/scaling.d.ts +2 -0
- package/dist/types/utils/validate.d.ts +0 -1
- package/dist/types/utils/withComponentStyle.d.ts +4 -4
- package/dist/types/utils/withDataset.d.ts +3 -3
- package/dist/types/utils/withHasError.d.ts +22 -1
- package/dist/types/utils/withRuleSet.d.ts +3 -2
- package/dist/types/utils/withTranslation.d.ts +1 -2
- package/dist/types/utils/xy/model/ScaleFactorsXYChart.d.ts +6 -7
- package/package.json +24 -8
- package/readme.md +12 -8
- package/dist/bn-template-engine/assets/bar.png +0 -0
- package/dist/bn-template-engine/assets/matrix.png +0 -0
- package/dist/bn-template-engine/p-5075771a.entry.js +0 -1
- package/dist/bn-template-engine/p-5d516435.entry.js +0 -1
- package/dist/bn-template-engine/p-5e90e728.entry.js +0 -1
- package/dist/bn-template-engine/p-9ef7e132.entry.js +0 -1
- package/dist/bn-template-engine/p-9f7a1980.entry.js +0 -1
- package/dist/bn-template-engine/p-BeXgxHkW.js +0 -1
- package/dist/bn-template-engine/p-C5UYpZUU.js +0 -2
- package/dist/bn-template-engine/p-CH0bpt_k.js +0 -1
- package/dist/bn-template-engine/p-DFmSrSnf.js +0 -1
- package/dist/bn-template-engine/p-DI3efDSV.js +0 -1
- package/dist/bn-template-engine/p-DXLTTILG.js +0 -1
- package/dist/bn-template-engine/p-DtP4jqG5.js +0 -1
- package/dist/bn-template-engine/p-a8281b71.entry.js +0 -1
- package/dist/bn-template-engine/p-b31277e7.entry.js +0 -1
- package/dist/bn-template-engine/p-b396ac84.entry.js +0 -1
- package/dist/cjs/bn-template.cjs.entry.js +0 -18
- package/dist/cjs/editor-companion.cjs.entry.js +0 -56
- package/dist/cjs/withHasError-qGW_yqIv.js +0 -426
- package/dist/collection/components/bn-footer/assets/bar.png +0 -0
- package/dist/collection/components/bn-footer/assets/matrix.png +0 -0
- package/dist/collection/components/bn-message/assets/bar.png +0 -0
- package/dist/collection/components/bn-message/assets/matrix.png +0 -0
- package/dist/collection/components/bn-template/bn-template.js +0 -38
- package/dist/collection/components/editor-companion/editor-companion.css +0 -3
- package/dist/collection/components/editor-companion/editor-companion.js +0 -137
- package/dist/collection/utils/templateId.js +0 -12
- package/dist/collection/utils/testing/fakeGroup.js +0 -21
- package/dist/collection/utils/testing/hostFont.js +0 -20
- package/dist/collection/utils/testing/mutationObserver.js +0 -44
- package/dist/collection/utils/testing/structureChart.js +0 -26
- package/dist/collection/utils/testing/timeChart.js +0 -28
- package/dist/components/AxisConfig.js +0 -1
- package/dist/components/CompareUtil.js +0 -1
- package/dist/components/DataFormatDigits.js +0 -1
- package/dist/components/DateStringFactory.js +0 -1
- package/dist/components/LabelCollisionManager.js +0 -1
- package/dist/components/Order.js +0 -1
- package/dist/components/SVGStyle.js +0 -1
- package/dist/components/SVGVariancesStyleGroup.js +0 -1
- package/dist/components/StringAdapter.js +0 -1
- package/dist/components/VarianceMeasure.js +0 -1
- package/dist/components/XYChartDataRow.js +0 -1
- package/dist/components/bn-body2.js +0 -1
- package/dist/components/bn-card2.js +0 -1
- package/dist/components/bn-footer2.js +0 -1
- package/dist/components/bn-message2.js +0 -1
- package/dist/components/bn-page2.js +0 -1
- package/dist/components/bn-template.js +0 -1
- package/dist/components/bn-title2.js +0 -1
- package/dist/components/checkXYOverflow.js +0 -1
- package/dist/components/contentDecoder.js +0 -1
- package/dist/components/context-protocol.js +0 -1
- package/dist/components/editor-companion.js +0 -1
- package/dist/components/formatter.js +0 -1
- package/dist/components/geometry.js +0 -1
- package/dist/components/ibcs-chart-bubble.js +0 -1
- package/dist/components/ibcs-chart-bubble2.js +0 -1
- package/dist/components/ibcs-chart-bullet.d.ts +0 -11
- package/dist/components/ibcs-chart-bullet.js +0 -1
- package/dist/components/ibcs-chart-bullet2.js +0 -1
- package/dist/components/ibcs-chart-scatter.d.ts +0 -11
- package/dist/components/ibcs-chart-scatter.js +0 -1
- package/dist/components/ibcs-chart-scatter2.js +0 -1
- package/dist/components/ibcs-chart-structure.d.ts +0 -11
- package/dist/components/ibcs-chart-structure.js +0 -1
- package/dist/components/ibcs-chart-structure2.js +0 -1
- package/dist/components/ibcs-chart-time.d.ts +0 -11
- package/dist/components/ibcs-chart-time.js +0 -1
- package/dist/components/ibcs-chart-time2.js +0 -1
- package/dist/components/ibcs-table.d.ts +0 -11
- package/dist/components/ibcs-table.js +0 -1
- package/dist/components/ibcs-table2.js +0 -1
- package/dist/components/ibcs-title.d.ts +0 -11
- package/dist/components/ibcs-title.js +0 -1
- package/dist/components/ibcs-title2.js +0 -1
- package/dist/components/layoutTemplate.js +0 -1
- package/dist/components/luxon.js +0 -1
- package/dist/components/scaling.js +0 -1
- package/dist/components/svg.esm.js +0 -1
- package/dist/components/svgChartElements.js +0 -1
- package/dist/components/types.js +0 -1
- package/dist/components/validate.js +0 -1
- package/dist/components/withBodyObserver.js +0 -1
- package/dist/components/withComponentStatus.js +0 -1
- package/dist/components/withComponentStyle.js +0 -1
- package/dist/components/withDataset.js +0 -1
- package/dist/components/withHasError.js +0 -1
- package/dist/components/withRuleSet.js +0 -1
- package/dist/components/withScalingGroup.js +0 -1
- package/dist/components/withStyled.js +0 -1
- package/dist/components/withTranslation.js +0 -1
- package/dist/esm/bn-template.entry.js +0 -16
- package/dist/esm/editor-companion.entry.js +0 -54
- package/dist/esm/withHasError-73WV2SP5.js +0 -422
- package/dist/types/components/bn-chart-bubble/ibcs-chart-bubble.d.ts +0 -59
- package/dist/types/components/bn-chart-bullet/ibcs-chart-bullet.d.ts +0 -53
- package/dist/types/components/bn-chart-scatter/ibcs-chart-scatter.d.ts +0 -54
- package/dist/types/components/bn-template/bn-template.d.ts +0 -10
- package/dist/types/components/editor-companion/editor-companion.d.ts +0 -20
- package/dist/types/utils/templateId.d.ts +0 -9
- package/dist/types/utils/testing/fakeGroup.d.ts +0 -8
- package/dist/types/utils/testing/hostFont.d.ts +0 -16
- package/dist/types/utils/testing/mutationObserver.d.ts +0 -5
- package/dist/types/utils/testing/structureChart.d.ts +0 -5
- package/dist/types/utils/testing/timeChart.d.ts +0 -5
- /package/dist/collection/components/bn-chart-bubble/{ibcs-chart-bubble.css → bn-chart-bubble-renderer/bn-chart-bubble-renderer.css} +0 -0
- /package/dist/collection/components/bn-chart-bullet/{ibcs-chart-bullet.css → bn-chart-bullet-renderer/bn-chart-bullet-renderer.css} +0 -0
- /package/dist/collection/components/bn-chart-scatter/{ibcs-chart-scatter.css → bn-chart-scatter-renderer/bn-chart-scatter-renderer.css} +0 -0
- /package/dist/collection/components/bn-chart-time/{ibcs-chart-time.css → bn-chart-time-renderer/bn-chart-time-renderer.css} +0 -0
- /package/dist/collection/components/bn-table/{ibcs-table.css → bn-table-renderer/bn-table-renderer.css} +0 -0
- /package/dist/collection/components/bn-title/{ibcs-title/ibcs-title.css → bn-title-renderer/bn-title-renderer.css} +0 -0
- /package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/factories/index.js +0 -0
- /package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/MeasureEntriy.js +0 -0
- /package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/TimePeriod.js +0 -0
- /package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/TitleConfig.js +0 -0
- /package/dist/collection/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/index.js +0 -0
- /package/dist/components/{stackColors.js → p-4q8nRcWC.js} +0 -0
- /package/dist/components/{merge.js → p-B2NXsfMz.js} +0 -0
- /package/dist/components/{layoutObserver.js → p-B6kka9sT.js} +0 -0
- /package/dist/components/{NumericScale.js → p-BJmwHV0a.js} +0 -0
- /package/dist/components/{stackLayout.js → p-BTnRaHPb.js} +0 -0
- /package/dist/components/{emotion-hash.esm.js → p-BYBpC0EO.js} +0 -0
- /package/dist/components/{diagnostics.js → p-CckAR27O.js} +0 -0
- /package/dist/components/{SiPrefix.js → p-CeE4_3wQ.js} +0 -0
- /package/dist/components/{queryError.js → p-ClruFZD_.js} +0 -0
- /package/dist/components/{sanitizeHtml.js → p-CyUmrWfW.js} +0 -0
- /package/dist/components/{TableAttribute.js → p-DCPLGEs_.js} +0 -0
- /package/dist/components/{parentDimensions.js → p-DD1zlev_.js} +0 -0
- /package/dist/components/{pageFormats.js → p-DM7fwmH4.js} +0 -0
- /package/dist/components/{emptyState.js → p-DakXa7Dp.js} +0 -0
- /package/dist/components/{relativeVariance.js → p-fCjsrD7I.js} +0 -0
- /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/Title.d.ts +0 -0
- /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/factories/TitleDataSetFactory.d.ts +0 -0
- /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/factories/index.d.ts +0 -0
- /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/MeasureEntriy.d.ts +0 -0
- /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/TimePeriod.d.ts +0 -0
- /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/TitleConfig.d.ts +0 -0
- /package/dist/types/components/bn-title/{ibcs-title → bn-title-renderer}/utils/model/index.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as s,a as i,g as o}from"./p-CCZcKl0Q.js";import{w as e,a as n}from"./p-qcLonXCz.js";import{w as r,a,g as l}from"./p-D0qTf1_a.js";const h=class{constructor(s){t(this,s),e(this),r(this),this.errors=a(this),this.componentStyle=n(this)}connectedCallback(){this.stores=l(this.element)}getFontStyles(){return this.componentStyle((t=>{var s,i,o,e;return{"--bn-font-family":(null===(s=t.global)||void 0===s?void 0:s.fontFamily)||"'Noto Sans', sans-serif","--bn-font-size":`${(null===(i=t.global)||void 0===i?void 0:i.fontSizePx)||13.3333}px`,"--bn-font-color":(null===(o=t.global)||void 0===o?void 0:o.fontColor)||"#000000","--bn-font-background":(null===(e=t.global)||void 0===e?void 0:e.fontBackgroundColor)||"#ffffff"}}))}prepareAssetUrl(t){if(null==t||""===t)return"";const s=this.stores.assets.state;return t.startsWith("asset:")?s[t.substring(6)]:s[t]||t}render(){return s(i,{key:"277ce7e2054e35e8aefcf7dac1b93312357abda3",style:this.getFontStyles()},null!=this.source&&""!==this.source?s("img",{src:this.prepareAssetUrl(this.source)}):"")}get element(){return o(this)}};h.style=":host{display:inline-block;position:relative;overflow:hidden}img{max-width:100%;height:auto}";export{h as bn_image}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as i,a as e,g as r}from"./p-CCZcKl0Q.js";import{LAYOUT_STATE_VERSION as o}from"./index.esm.js";import{o as s,r as n,m as d,a as l}from"./p-CsupHyLQ.js";import{w as a,a as h}from"./p-D0qTf1_a.js";import{w as u,a as c}from"./p-qcLonXCz.js";function g(t){if(!t||""===t.trim()||"[]"===t)return[];try{const i=JSON.parse(t);return Array.isArray(i)?i.map(((t,i)=>{var e,r,o;return"string"==typeof t?{label:t,id:String(i)}:"object"==typeof t&&null!==t?{label:null!==(r=null!==(e=t.label)&&void 0!==e?e:t.name)&&void 0!==r?r:String(i),id:null!==(o=t.id)&&void 0!==o?o:String(i)}:{label:String(t),id:String(i)}})):[]}catch(t){return console.error("parseHeaders: failed to parse JSON",t),[]}}function v(t){if(!t||""===t.trim()||"[]"===t)return[];try{const i=JSON.parse(t);if(!Array.isArray(i))return["Headers must be an array"];const e=[],r=new Set;return i.forEach(((t,i)=>{"object"==typeof t&&null!==t&&void 0!==t.id&&("string"!=typeof t.id?e.push(`Header[${i}]: 'id' must be a string`):r.has(t.id)?e.push(`Header[${i}]: duplicate id '${t.id}'`):r.add(t.id),void 0!==t.label&&"string"!=typeof t.label&&e.push(`Header[${i}]: 'label' must be a string`))})),e}catch(t){return console.error("validateHeadersJson: failed to parse JSON",t),["Invalid JSON structure"]}}const f=class{validateRowHeaders(t){const i="ERR_rowHeaders",e=v(t);e.length>0?this.errors.addOrReplace({id:i,type:"error",message:`row-headers: ${e.join("; ")}`}):this.errors.remove(i),this.updateGridConfig()}validateColumnHeaders(t){const i="ERR_columnHeaders",e=v(t);e.length>0?this.errors.addOrReplace({id:i,type:"error",message:`column-headers: ${e.join("; ")}`}):this.errors.remove(i),this.updateGridConfig()}constructor(i){t(this,i),this.gridConfig={rows:[],columns:[]},this.chartTitle="",this.rowHeaders="[]",this.columnHeaders="[]",this.showRowHeaders=!0,this.showColumnHeaders=!0,this.showBorders=!0,this.rowHeaderWidth="auto",this.cellGap="0px",u(this),a(this),this.errors=h(this),this.componentStyle=c(this)}async getLayoutState(t){var i,e,r,a;const h=null!==(i=null==t?void 0:t.detail)&&void 0!==i?i:"summary",u=s(this.element),c=this.componentStyle((t=>{var i;return(null===(i=t.global)||void 0===i?void 0:i.fontSizePx)||13.3333})),{rows:g,columns:v}=this.gridConfig,f={version:o,tag:this.element.localName,id:l(this.element),slot:null!==(e=this.element.getAttribute("slot"))&&void 0!==e?e:void 0,rect:d(this.element,u),em:{fontSizePx:c,appliedScaleFactor:1},regions:[],metadata:{title:this.chartTitle||void 0,rowCount:g.length,columnCount:v.length,cellCount:g.length*v.length},diagnostics:n(this.element)},p=null===(r=this.element.shadowRoot)||void 0===r?void 0:r.querySelector(".grid-container");if(p&&f.regions.push({id:"grid",rect:d(p,u)}),"full"!==h||!p)return f;const m=[],b=t=>m.push(t),y=p.querySelector(".grid-title");return y&&b({kind:"gridTitle",label:(null===(a=y.textContent)||void 0===a?void 0:a.trim())||void 0,rect:d(y,u)}),p.querySelectorAll(".grid-header-col").forEach(((t,i)=>{var e,r;b({kind:"gridHeader",columnId:null===(e=v[i])||void 0===e?void 0:e.id,label:(null===(r=t.textContent)||void 0===r?void 0:r.trim())||void 0,rect:d(t,u)})})),p.querySelectorAll(".grid-header-row").forEach(((t,i)=>{var e,r;b({kind:"gridHeader",rowId:null===(e=g[i])||void 0===e?void 0:e.id,label:(null===(r=t.textContent)||void 0===r?void 0:r.trim())||void 0,rect:d(t,u)})})),p.querySelectorAll(".grid-cell").forEach(((t,i)=>{var e,r,o,s;b({kind:"gridCell",rowId:v.length>0?null===(e=g[Math.floor(i/v.length)])||void 0===e?void 0:e.id:void 0,columnId:v.length>0?null===(r=v[i%v.length])||void 0===r?void 0:r.id:void 0,slot:null!==(s=null===(o=t.querySelector("slot"))||void 0===o?void 0:o.getAttribute("name"))&&void 0!==s?s:void 0,rect:d(t,u)})})),f.elements=m,f}getGridStyle(){return this.componentStyle((t=>t["bn-grid"]))}componentWillLoad(){this.validateRowHeaders(this.rowHeaders),this.validateColumnHeaders(this.columnHeaders)}updateGridConfig(){var t;this.gridConfig=(t=this.columnHeaders,{rows:g(this.rowHeaders),columns:g(t)})}shouldShowRowHeaders(){return this.showRowHeaders&&this.gridConfig.rows.length>0}shouldShowColumnHeaders(){return this.showColumnHeaders&&this.gridConfig.columns.length>0}shouldShowBorders(){return this.showBorders}getGridTemplateColumns(){const t=[];this.shouldShowRowHeaders()&&t.push(this.rowHeaderWidth);const i=this.gridConfig.columns.length||1;for(let e=0;e<i;e++)t.push("auto");return t.join(" ")}getGridTemplateRows(){const t=[];this.chartTitle&&t.push("auto"),this.shouldShowColumnHeaders()&&t.push("auto");const i=this.gridConfig.rows.length||1;for(let e=0;e<i;e++)t.push("auto");return t.join(" ")}renderTitle(){if(!this.chartTitle)return null;const t=(this.shouldShowRowHeaders()?1:0)+this.gridConfig.columns.length;return i("div",{class:"grid-title",style:{"grid-column":`1 / span ${t}`,"grid-row":"1"}},this.chartTitle)}renderColumnHeaders(){if(!this.shouldShowColumnHeaders())return null;const t=this.getGridStyle(),e=this.shouldShowBorders()?`${t.borderWidth}px solid ${t.borderColor}`:"none",r=this.shouldShowRowHeaders()?2:1,o=this.chartTitle?2:1;return this.gridConfig.columns.map(((s,n)=>{const d=n>0;return i("div",{key:`col-header-${s.id}`,class:"grid-header grid-header-col",style:{"grid-column":String(r+n),"grid-row":String(o),"border-left":d?e:"none",padding:`${t.cellPadding}px`,"padding-left":d?`${t.cellPadding+4}px`:`${t.cellPadding}px`}},s.label)}))}renderDataCells(){const t=this.getGridStyle(),e=this.shouldShowBorders()?`${t.borderWidth}px solid ${t.borderColor}`:"none",r=this.shouldShowRowHeaders()?2:1,o=(this.chartTitle?1:0)+(this.shouldShowColumnHeaders()?1:0)+1,s=[];return this.gridConfig.rows.length>0&&this.gridConfig.columns.length>0&&this.gridConfig.rows.forEach(((n,d)=>{if(this.shouldShowRowHeaders()){const r=d>0;s.push(i("div",{key:`row-header-${n.id}`,class:"grid-header grid-header-row",style:{"grid-column":"1","grid-row":String(o+d),"border-top":r?e:"none",padding:`${t.cellPadding}px`,"padding-top":r?`${t.cellPadding+4}px`:`${t.cellPadding}px`}},n.label))}this.gridConfig.columns.forEach(((l,a)=>{const h=function(t,i){return`${t.id}-${i.id}`}(n,l),u=a>0,c=d>0;s.push(i("div",{key:`cell-${h}`,class:"grid-cell",style:{"grid-column":String(r+a),"grid-row":String(o+d),"border-left":u?e:"none","border-top":c?e:"none","padding-left":u?`${t.cellPadding+4}px`:"0","padding-top":c?`${t.cellPadding+4}px`:"0"}},i("slot",{name:h})))}))})),s}getFontStyles(){return this.componentStyle((t=>{var i,e,r,o;return{"--bn-font-family":(null===(i=t.global)||void 0===i?void 0:i.fontFamily)||"'Noto Sans', sans-serif","--bn-font-size":`${(null===(e=t.global)||void 0===e?void 0:e.fontSizePx)||13.3333}px`,"--bn-font-color":(null===(r=t.global)||void 0===r?void 0:r.fontColor)||"#000000","--bn-font-background":(null===(o=t.global)||void 0===o?void 0:o.fontBackgroundColor)||"#ffffff"}}))}render(){const t={display:"inline-grid","grid-template-columns":this.getGridTemplateColumns(),"grid-template-rows":this.getGridTemplateRows(),gap:this.cellGap};return i(e,{key:"32c23f30f6acb5684c05d1e0360856ba4a856957",style:this.getFontStyles()},i("div",{key:"84b3e27001a6dfa7ba16d7c14e4c78a0f2e605ab",class:"grid-container",style:t},this.renderTitle(),this.renderColumnHeaders(),this.renderDataCells()),i("slot",{key:"e7348aff60baaa65dc2a88985426bcf2c8620e85"}))}get element(){return r(this)}static get watchers(){return{rowHeaders:[{validateRowHeaders:0}],columnHeaders:[{validateColumnHeaders:0}]}}};f.style=':host{display:inline-block;font-family:var(--bn-font-family, "Noto Sans", sans-serif);font-size:var(--bn-font-size, 13.3333px);color:var(--bn-font-color, #000000)}.grid-container{display:inline-grid;box-sizing:border-box}.grid-title{font-weight:normal;padding-bottom:8px}.grid-header{display:flex;align-items:flex-end;box-sizing:border-box}.grid-header-row{justify-content:flex-end;padding-right:8px}.grid-header-col{white-space:nowrap;justify-content:flex-start}.grid-cell{position:relative;box-sizing:border-box}';export{f as bn_grid}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as r}from"./p-CCZcKl0Q.js";import{r as t}from"./p-D0qTf1_a.js";const a=(a,o)=>{let s;const e=new MutationObserver((()=>{var r;s&&o(null!==(r=s.textContent)&&void 0!==r?r:"")})),c=a.connectedCallback;a.connectedCallback=()=>{var i;s=r(a),e.observe(s,{childList:!0,subtree:!0,characterData:!0}),o(null!==(i=s.textContent)&&void 0!==i?i:""),t(c,a)};const i=a.disconnectedCallback;a.disconnectedCallback=()=>{e.disconnect(),t(i,a)}};export{a as w}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as t,r as n,c as e,R as o}from"./p-D0qTf1_a.js";import{g as r,f as i}from"./p-CCZcKl0Q.js";import{i as s}from"./p-qcLonXCz.js";function a(t,n=!1){const e=l(t);if(!e)return n&&console.log("[parentDims] no layout parent found for",t.tagName),{width:0,height:0};const o=getComputedStyle(e),r=e.clientWidth-parseFloat(o.paddingLeft)-parseFloat(o.paddingRight),i=function(t,n=!1){let e=l(t),o=0,r=null,i=1;for(;e;){if(e.hasAttribute("data-bn-fit-content")){n&&console.log(`[height:${o}]`,e.tagName,"fit-content region → discarding inner candidate"),r=null;const t=parseInt(e.getAttribute("data-bn-fit-content"),10);!isNaN(t)&&t>1&&(i*=t),e=u(e),o++;continue}const t=getComputedStyle(e),s=t.overflowY;if(n&&console.log(`[height:${o}]`,e.tagName,e.className||"(no class)",`overflow=${s} clientH=${e.clientHeight} h=${t.height}`),null===r)if("hidden"===s||"scroll"===s||"auto"===s)r=e.clientHeight-parseFloat(t.paddingTop)-parseFloat(t.paddingBottom),n&&console.log(`[height] candidate at depth ${o}: ${Math.round(r)}px`);else if("none"!==t.maxHeight){const n=parseFloat(t.maxHeight);!isNaN(n)&&n>0&&(r=Math.min(n,e.clientHeight-parseFloat(t.paddingTop)-parseFloat(t.paddingBottom)))}e=u(e),o++}return null!==r?r/i:(n&&console.log("[height] NO constrained ancestor → viewport fallback"),"undefined"!=typeof window?window.innerHeight/i:0)}(t,n);return n&&console.log("[parentDims]",t.tagName,"→ layoutParent:",e.tagName,e.className||"(no class)",`clientW=${e.clientWidth} → w=${Math.round(r)}, h=${Math.round(i)}`,"overflow:",o.overflow),{width:Math.max(0,r),height:Math.max(0,i)}}function l(t){var n;const e=t.parentElement;return(null===(n=null==e?void 0:e.assignedSlot)||void 0===n?void 0:n.parentElement)?e.assignedSlot.parentElement:e}function u(t){var n;if(null===(n=t.assignedSlot)||void 0===n?void 0:n.parentElement)return t.assignedSlot.parentElement;if(t.parentElement)return t.parentElement;const e=t.getRootNode();return e instanceof ShadowRoot?e.host:null}function c(t,n){const e=t.getBoundingClientRect(),o=t.offsetHeight>0?e.height/t.offsetHeight:0;if(!(o>0)||Math.abs(o-(t.offsetWidth>0?e.width/t.offsetWidth:0))>.01*o)return 0;const r=e.top+n*o;let i=0;for(let n=t;n;n=u(n)){const t=getComputedStyle(n).overflowY;if("hidden"===t||"clip"===t)i=Math.max(i,r-n.getBoundingClientRect().bottom);else if(("auto"===t||"scroll"===t)&&n.scrollHeight>n.clientHeight+1)break}return i/o}const d=(t,n)=>Math.round(t*n*100)/100;function f(t){if(null==t||""===t)return{mode:"empty"};if("none"===t)return{mode:"none"};if("auto"===t)return{mode:"auto"};const n=Number(t);return!isNaN(n)&&n>0?{mode:"factor",factor:n}:{mode:"empty"}}const v={k:1e3,K:1e3,M:1e6,G:1e9,T:1e12},h=/^(\d+(?:\.\d+)?|\.\d+)\s*([kKMGT])?$/;function p(t){var n;if("number"==typeof t)return Number.isFinite(t)&&t>0?{kind:"number",value:t}:{kind:"invalid",raw:String(t)};const e=null!==(n=null==t?void 0:t.toString().trim())&&void 0!==n?n:"";if("auto"===e.toLowerCase())return{kind:"auto"};const o=h.exec(e);if(o){const t=Number(o[1])*(o[2]?v[o[2]]:1);if(Number.isFinite(t)&&t>0)return{kind:"number",value:t}}return{kind:"invalid",raw:e}}function m(t,n){const e=p(t);if("auto"===e.kind)return{kind:"auto"};if("string"==typeof t){const e=t.trim();if(n.has(e))return{kind:"value",value:n.get(e)}}return"number"===e.kind?{kind:"value",value:e.value}:{kind:"invalid",raw:e.raw}}const b=[[1e12,"T"],[1e9,"G"],[1e6,"M"],[1e3,"k"]];function g(t){if(!Number.isFinite(t)||t<=0)return String(t);const n=t=>String(Number(t.toPrecision(3)));for(const[e,o]of b)if(t>=e)return`${n(t/e)}${o}`;return n(t)}const w="WARN_datasets",y=(o,i,s)=>{let a,l,u=[],c=[],d=[],f="";const v=()=>{const t=f;f=o.datasets||"",""!==t&&t!==f&&i("",[]),[d,c]=((t,n)=>{const e=[],o=[];for(const t of n)(r=t,r.startsWith("$")?e:o).push(t);var r;return[e,o]})(0,f.split(",")),((t,n)=>{const e=t.errors;if(e)if(n.length>0){const t=n.map((t=>t.substring(1))).join(", ");e.addOrReplace({id:w,type:"warning",message:`Using datasource(s) "${t}" directly. Prefer using a dataset (bn-dataset) for query support and metadata.`})}else e.remove(w)})(o,d),p()},h=(t,n)=>{const e=n?t.substring(1):t;let o;try{o=l.db.db.exec(`SELECT * FROM \`${e}\``)}catch(t){o=[]}i(t,o)},p=()=>{u.forEach((t=>t())),u=[],c.forEach((t=>{t&&(u.push(l.db.subscribe(t,(()=>h(t,!1)))),h(t,!1),(t=>{if(s){const n=l.datasetsMeta.get(t);n&&s(t,n)}})(t))})),d.forEach((t=>{t&&(u.push(l.db.subscribe(t.substring(1),(()=>h(t,!0)))),h(t,!0))}))},m=new MutationObserver((t=>{t.forEach((t=>{"datasets"===t.attributeName&&(o.datasets||"")!==f&&v()}))})),b=o.connectedCallback;o.connectedCallback=()=>{const e=r(o);l=t(e),v(),m.observe(e,{attributes:!0,attributeFilter:["datasets"]}),s&&(a=l.datasetsMeta.on("set",((t,n)=>{c.includes(t)&&s(t,n)}))),n(b,o)};const g=o.disconnectedCallback;return o.disconnectedCallback=()=>{m.disconnect(),u.forEach((t=>t())),u=[],n(a),e(r(o)),n(g,o)},t=>{c=t,p()}},$="inherited-page",M="bn-layout-page";function k(t){return"inherited-closest"===t||t===$}function N(t,n){const e=[];let o=t.parentNode;for(;o;){const t=o.nodeName.toLowerCase();if(t===M){e.push(o);break}if("bn-layout-card"===t&&n!==$&&e.push(o),o.parentNode)o=o.parentNode;else{if(!(o instanceof ShadowRoot))break;o=o.host}}return e}function S(t,n){var e;const o=t=>{const e=t.getAttribute(n),o=null==e?void 0:e.trim();return s(o)||k(o)?void 0:e};for(const r of t){if((null===(e=r.getAttribute(n))||void 0===e?void 0:e.trim())===$){const n=t.find((t=>t.nodeName.toLowerCase()===M)),e=n&&o(n);if(void 0!==e)return e;continue}const i=o(r);if(void 0!==i)return i}}const F=(t,e,o)=>{const s=new Map,a=new Map;let l=null;const u=()=>{var n;const o=r(t);s.clear(),a.clear(),l&&(l.disconnect(),l=null);const c=new Map;for(const r of e){const e=t[r.propName];if("string"!=typeof e||!k(e))continue;a.set(r.propName,e);const i=N(o,e),l=S(i,r.ancestorAttr);void 0!==l&&s.set(r.propName,l);for(const t of i)c.set(t,[...null!==(n=c.get(t))&&void 0!==n?n:[],r.ancestorAttr])}if(c.size>0){l=new MutationObserver((()=>{u(),i(t)}));for(const[t,n]of c)l.observe(t,{attributes:!0,attributeFilter:n})}},c=t.connectedCallback;t.connectedCallback=()=>{u(),n(c,t)};const d=t.disconnectedCallback;t.disconnectedCallback=()=>{l&&(l.disconnect(),l=null),s.clear(),a.clear(),n(d,t)};const f=t=>{var n;return null===(n=e.find((n=>n.propName===t)))||void 0===n?void 0:n.ancestorAttr.replace(/-(\w)/g,((t,n)=>n.toUpperCase()))};return(t,n,e)=>{const r=`WARN_inherited_${t}`,i=k(n);i&&a.get(t)!==n&&u();const l=i?s.get(t):void 0;return i&&void 0===l?(null==o||o.addOrReplace({id:r,type:"warning",message:`${t}: '${n}' could not be resolved, no surrounding ${n===$?"page":"card or page"} sets ${f(t)}`}),{value:e,inherited:!1,unresolved:!0}):(null==o||o.remove(r),{value:null!=l?l:n,inherited:void 0!==l,unresolved:!1})}},R=s=>{let a,l,u,c,d=null;const f=()=>{const t=r(s);if(d&&(d.disconnect(),d=null),u=s.i18nNamespace,l=u,null!=l)return;const n=function(t){let n=t.parentNode;for(;n;){if(n instanceof HTMLElement&&n.hasAttribute("i18n-namespace"))return n;if(n.parentNode)n=n.parentNode;else{if(!(n instanceof ShadowRoot))break;n=n.host}}}(t);n&&(l=n.getAttribute("i18n-namespace"),d=new MutationObserver((()=>{f(),i(s)})),d.observe(n,{attributes:!0,attributeFilter:["i18n-namespace"]}))},v=s.connectedCallback;s.connectedCallback=()=>{const e=r(s);c=t(e),f(),a=c.internationalization.on("set",(t=>{t!==l&&"_system"!==t||i(s)})),n(v,s)};const h=s.disconnectedCallback;return s.disconnectedCallback=()=>{d&&(d.disconnect(),d=null),n(a),e(r(s)),n(h,s)},{t:(t,n)=>{var e,i,a,d,v;void 0!==c&&s.i18nNamespace!==u&&f(),t.startsWith(".")&&(t=r(s).localName+t),Object.prototype.hasOwnProperty.call(o,t)&&(t=o[t]);const h=c.internationalization.state,p=c.context.state.locale,m=null!==(a=null===(i=null===(e=h[l])||void 0===e?void 0:e[p])||void 0===i?void 0:i[t])&&void 0!==a?a:null===(v=null===(d=h._system)||void 0===d?void 0:d[p])||void 0===v?void 0:v[t];return null==m?t:m.replace(/{{([\s\S]+?)}}/g,((t,e)=>{var o;return null!==(o=null==n?void 0:n[e.trim()])&&void 0!==o?o:""}))}}},C=new Set(["br","b","i","strong","em","span","p","div","table","tr","td","th","thead","tbody","tfoot","ul","ol","li","h1","h2","h3","h4","h5","h6","sub","sup","small","hr","a","img","code","pre","blockquote","del"]),O=new Set(["class","style","colspan","rowspan","href","title","src","alt","width","height"]),T=new Set(["http:","https:","mailto:"]),j=/^\s*text-align:\s*(left|center|right)\s*;?\s*$/i;function _(t){if(!t)return"";const n=(new DOMParser).parseFromString(t,"text/html").body;return q(n),n.innerHTML}function q(t){for(const n of Array.from(t.childNodes)){if(n.nodeType===Node.TEXT_NODE)continue;const e=n;if(n.nodeType!==Node.ELEMENT_NODE||!C.has(e.localName)){t.removeChild(n);continue}for(const t of Array.from(e.attributes)){const n=t.name.toLowerCase();O.has(n)&&("href"!==n&&"src"!==n||x(n,t.value))||e.removeAttribute(t.name)}const o=e.getAttribute("style");null===o||j.test(o)||e.removeAttribute("style"),q(e)}}function x(t,n){try{const{protocol:e}=new URL(n,"http://a");return T.has(e)||"src"===t&&"data:"===e}catch(t){return!1}}export{y as a,c as b,d as c,m as d,g as e,N as f,a as g,F as h,k as i,p as j,f as p,S as r,_ as s,R as w}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const t="bn-template-engine",e={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,constructableCSS:!0,cssAnnotations:!0,deserializer:!1,devTools:!1,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propChangeCallback:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,serializer:!1,shadowDelegatesFocus:!1,shadowDom:!0,shadowSlotAssignmentManual:!1,slot:!0,slotChildNodesFix:!1,slotRelocation:!1,state:!0,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0};var n={isDev:!!e.isDev,isBrowser:!0,isServer:!1,isTesting:!!e.isTesting},o=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(o||{}),s=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(s||{}),r="type",i="value",l="serialized:";function c(t,e,n){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,e);if(o&&(!n||o.get))return o;t=Object.getPrototypeOf(t)}}var a,u,f=(t,n)=>{var o;Object.entries(null!=(o=n.o.t)?o:{}).map((([o,[s]])=>{if((e.state||e.prop)&&(31&s||32&s)){const e=t[o],s=c(Object.getPrototypeOf(t),o,!0)||Object.getOwnPropertyDescriptor(t,o);s&&Object.defineProperty(t,o,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),n.i.has(o)?t[o]=n.i.get(o):void 0!==e&&(t[o]=e)}}))},d=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},h=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.l=t,512&n.o.u&&(e.state||e.prop)&&f(t,n))},p=(t,n)=>{const o={u:0,$hostElement$:t,o:n,i:new Map,p:new Map};e.isDev&&(o.m=0),e.method&&e.lazyLoad&&(o.v=new Promise((t=>o.$=t))),e.asyncLoading&&(o.S=new Promise((t=>o.j=t)),t["s-p"]=[],t["s-rc"]=[]),e.lazyLoad&&(o.O=[]);const s=o;return t.__stencil__getHostRef=()=>s,!e.lazyLoad&&512&n.u&&(e.state||e.prop)&&f(t,o),s},m=(t,e)=>e in t,v=(t,e)=>(a||console.error)(t,e),g=e.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],$=(...t)=>console.error(...g,...t),b=(...t)=>console.warn(...g,...t),y=(...t)=>console.info(...g,...t),w=new Map,S=(t,n,o)=>{const s=t.C.replace(/-/g,"_"),r=t._;if(e.isDev&&"string"!=typeof r)return void $(`Trying to lazily load component <${t.C}> with style mode "${n.k}", but it does not exist.`);if(!r)return;const i=!e.hotModuleReplacement&&w.get(r);return i?i[s]:import(`./${r}.entry.js${e.hotModuleReplacement&&o?"?s-hmr="+o:""}`).then((t=>(e.hotModuleReplacement||w.set(r,t),t[s])),(t=>{v(t,n.$hostElement$)}))
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},j=new Map,x=[],O="s-id",C="sty-id",_="c-id",E="_stencilDocData",k={hostIds:0,rootLevelIds:0,staticComponents:new Set},N="slot-fb{display:contents}slot-fb[hidden]{display:none}",T="http://www.w3.org/1999/xlink",L=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],R="undefined"!=typeof window?window:{},M=R.HTMLElement||class{},A={u:0,N:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},D=e.shadowDom,I=t=>Promise.resolve(t),H=!!e.constructableCSS&&(()=>{try{return!!R.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),F=!!H&&(()=>!!R.document&&Object.getOwnPropertyDescriptor(R.document.adoptedStyleSheets,"length").writable)(),P=0,U=!1,B=[],z=[],V=[],W=(t,e)=>n=>{t.push(n),U||(U=!0,e&&4&A.u?q(X):A.raf(X))},Y=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){v(t)}t.length=0},J=(t,e)=>{let n=0,o=0;for(;n<t.length&&(o=performance.now())<e;)try{t[n++](o)}catch(t){v(t)}n===t.length?t.length=0:0!==n&&t.splice(0,n)},X=()=>{if(e.asyncQueue&&P++,Y(B),e.asyncQueue){const t=2==(6&A.u)?performance.now()+14*Math.ceil(.1*P):1/0;J(z,t),J(V,t),z.length>0&&(V.push(...z),z.length=0),(U=B.length+z.length+V.length>0)?A.raf(X):P=0}else Y(z),(U=B.length>0)&&A.raf(X)},q=t=>I().then(t),K=W(B,!1),Q=W(z,!0);function G(t){const n={mode:"open"};e.shadowDelegatesFocus&&(n.delegatesFocus=!!(16&t.u)),e.shadowSlotAssignmentManual&&1024&t.u&&(n.slotAssignment="manual");const o=this.attachShadow(n);void 0===u&&(u=null),u&&(F?o.adoptedStyleSheets.push(u):o.adoptedStyleSheets=[...o.adoptedStyleSheets,u])}var Z=t=>{const e=Nt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&et(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!nt(t,rt(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&Nt(t,"childNodes").length&&Z(t)}},tt=t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e};function et(t,e,n){let o,s=0,r=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!e||o["s-hn"]===e)&&(void 0===n||rt(o)===n)&&(r.push(o),void 0!==n))return r;r=[...r,...et(o.childNodes,e,n)]}return r}var nt=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)rt(s)!==e||!n&&s["s-sr"]||o.push(s);return o},ot=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,st=(t,n,o,s)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const r=document.createTextNode("");if(r["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const i=n["s-cr"].parentNode,l=Nt(i,o?"prepend":"appendChild");if(e.hydrateClientSide&&void 0!==s){r["s-oo"]=s;const t=Nt(i,"childNodes"),e=[r];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>l.call(i,t)))}else l.call(i,r);t["s-ol"]=r,t["s-sh"]=n["s-hn"]},rt=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function it(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:tt(s.childNodes)).forEach((t=>{o===rt(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function lt(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function ct(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=rt(t)||"";return{slotNode:et(Nt(e,"childNodes"),e.tagName,o)[0],slotName:o}}var at=t=>{ut(t),ft(t),pt(t),ht(t),$t(t),mt(t),vt(t),gt(t),bt(t),yt(t),dt(t)},ut=t=>{if(t.__cloneNode)return;const n=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const o=!!e.shadowDom&&this.shadowRoot&&D,s=n.call(this,!!o&&t);if(e.slot&&!o&&t){let t,n,o=0;const r=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],i=this.__childNodes||this.childNodes;for(;o<i.length;o++)t=i[o]["s-nr"],n=r.every((t=>!i[o][t])),t&&(e.appendChildSlotFix&&s.__appendChild?s.__appendChild(t.cloneNode(!0)):s.appendChild(t.cloneNode(!0))),n&&s.appendChild(i[o].cloneNode(!0))}return s}},ft=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=ct(t,this);if(n){st(t,n);const o=nt(n,e),s=o[o.length-1],r=Nt(s,"parentNode"),i=Nt(r,"insertBefore")(t,s.nextSibling);return lt(n),Z(this),i}return this.__appendChild(t)})},dt=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&et(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void Z(this)):this.__removeChild(t)})},ht=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e));const n=(e["s-sn"]=rt(e))||"",o=et(Nt(this,"childNodes"),this.tagName,n)[0];if(o){st(e,o,!0);const t=nt(o,n)[0],s=Nt(t,"parentNode"),r=Nt(s,"insertBefore")(e,Nt(t,"nextSibling"));return lt(o),r}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))})},pt=t=>{t.__append||(t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))})},mt=t=>{if(t.__insertAdjacentHTML)return;const e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,n){if("afterbegin"!==t&&"beforeend"!==t)return e.call(this,t,n);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=n,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},vt=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},gt=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:o}=ct(t,this),s=this.__childNodes?this.childNodes:tt(this.childNodes);if(o){let r=!1;if(s.forEach((s=>{if(s!==e&&null!==e);else{if(r=!0,null===e||n!==e["s-sn"])return void this.appendChild(t);if(n===e["s-sn"]){st(t,o);const n=Nt(e,"parentNode");Nt(n,"insertBefore")(t,e),lt(o)}}})),r)return t}const r=null==e?void 0:e.__parentNode;return r&&!this.isSameNode(r)?this.appendChild(t):this.__insertBefore(t,e)})},$t=t=>{if(t.__insertAdjacentElement)return;const e=t.insertAdjacentElement;t.insertAdjacentElement=function(t,n){return"afterbegin"!==t&&"beforeend"!==t?e.call(this,t,n):"afterbegin"===t?(this.prepend(n),n):"beforeend"===t?(this.append(n),n):n}},bt=t=>{kt("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:tt(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:tt(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},yt=t=>{class e extends Array{item(t){return this[t]}}kt("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),kt("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),kt("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),kt("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...tt(this.__childNodes)),t}})},wt=t=>{t&&void 0===t.__nextSibling&&globalThis.Node&&(St(t),xt(t),Ct(t),t.nodeType===Node.ELEMENT_NODE&&(jt(t),Ot(t)))},St=t=>{t&&!t.__nextSibling&&(kt("nextSibling",t),Object.defineProperty(t,"nextSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextSibling}}))},jt=t=>{t&&!t.__nextElementSibling&&(kt("nextElementSibling",t),Object.defineProperty(t,"nextElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextElementSibling}}))},xt=t=>{t&&!t.__previousSibling&&(kt("previousSibling",t),Object.defineProperty(t,"previousSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousSibling}}))},Ot=t=>{t&&!t.__previousElementSibling&&(kt("previousElementSibling",t),Object.defineProperty(t,"previousElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousElementSibling}}))},Ct=t=>{t&&!t.__parentNode&&(kt("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},_t=["children","nextElementSibling","previousElementSibling"],Et=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function kt(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;_t.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):Et.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function Nt(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var Tt=0,Lt=(t,n="")=>{if(e.profile&&performance.mark){const e=`st:${t}:${n}:${Tt++}`;return performance.mark(e),()=>performance.measure(`[Stencil] ${t}() <${n}>`,e)}return()=>{}};function Rt(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var Mt=new WeakMap,At=(t,e,n)=>{let o=j.get(t);H&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,j.set(t,o)},Dt=(t,n,o)=>{var s,r,i;const l=Ht(n,o),c=j.get(l);if(!e.attachStyles||!R.document)return l;if(t=11===t.nodeType?t:R.document,c)if("string"==typeof c){let o,i=Mt.get(t=t.head||t);i||Mt.set(t,i=new Set);const a=(e.hydrateClientSide||e.hotModuleReplacement)&&t.querySelector(`[${C}="${l}"]`);if(a)a.textContent=c;else if(!i.has(l)){o=R.document.createElement("style"),o.textContent=c;const a=null!=(s=A.T)?s:Rt(R.document);if(null!=a&&o.setAttribute("nonce",a),(e.hydrateServerSide||e.hotModuleReplacement)&&(2&n.u||128&n.u||1&n.u)&&o.setAttribute(C,l),!(1&n.u))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(o,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(H){const e=new(null!=(r=t.defaultView)?r:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(c),F?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n&&!e.hotModuleReplacement?n.textContent=c+n.textContent:t.prepend(o)}else t.append(o);1&n.u&&t.insertBefore(o,null),4&n.u&&(o.textContent+=N),i&&i.add(l)}}else if(e.constructableCSS){let n=Mt.get(t);if(n||Mt.set(t,n=new Set),!n.has(l)){const o=null!=(i=t.defaultView)?i:t.ownerDocument.defaultView;let s;if(c.constructor===o.CSSStyleSheet)s=c;else{s=new o.CSSStyleSheet;for(let t=0;t<c.cssRules.length;t++)s.insertRule(c.cssRules[t].cssText,t)}if(F?t.adoptedStyleSheets.push(s):t.adoptedStyleSheets=[...t.adoptedStyleSheets,s],n.add(l),e.hydrateClientSide&&"host"in t){const e=t.querySelector(`[${C}="${l}"]`);e&&Q((()=>e.remove()))}}}return l},It=t=>{const n=t.o,o=t.$hostElement$,s=n.u,r=Lt("attachStyles",n.C),i=Dt(e.shadowDom&&D&&o.shadowRoot?o.shadowRoot:o.getRootNode(),n,t.k);(e.shadowDom||e.scoped)&&e.cssAnnotations&&10&s&&(o["s-sc"]=i,o.classList.add(i+"-h")),r()},Ht=(t,n)=>"sc-"+(e.mode&&n&&32&t.u?t.C+"-"+n:t.C),Ft=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Pt=()=>{if(!R.document)return;const t=R.document.querySelectorAll(`[${C}]`);let e=0;for(;e<t.length;e++)At(t[e].getAttribute(C),Ft(t[e].innerHTML),!0)},Ut=t=>"object"==(t=typeof t)||"function"===t,Bt=(t,n,...o)=>{"string"==typeof t&&(t=Gn(t));let s=null,r=null,i=null,l=!1,c=!1;const a=[],u=n=>{for(let o=0;o<n.length;o++)s=n[o],Array.isArray(s)?u(s):null!=s&&"boolean"!=typeof s&&((l="function"!=typeof t&&!Ut(s))?s+="":e.isDev&&"function"!=typeof t&&void 0===s.u&&$("vNode passed as children has unexpected type.\nMake sure it's using the correct h() function.\nEmpty objects can also be the cause, look for JSX comments that became objects."),l&&c?a[a.length-1].L+=s:a.push(l?zt(null,s):s),c=l)};if(u(o),n&&(e.isDev&&"input"===t&&qt(n),e.vdomKey&&n.key&&(r=n.key),e.slotRelocation&&n.name&&(i=n.name),e.vdomClass)){const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}if(e.isDev&&a.some(Wt)&&$("The <Host> must be the single root component. Make sure:\n- You are NOT using hostData() and <Host> in the same component.\n- <Host> is used once, and it's the single root component of the render() function."),e.vdomFunctional&&"function"==typeof t)return t(null===n?{}:n,a,Yt);const f=zt(t,null);return f.R=n,a.length>0&&(f.M=a),e.vdomKey&&(f.A=r),e.slotRelocation&&(f.D=i),f},zt=(t,n)=>{const o={u:0,I:t,L:null!=n?n:null,F:null,M:null};return e.vdomAttribute&&(o.R=null),e.vdomKey&&(o.A=null),e.slotRelocation&&(o.D=null),o},Vt={},Wt=t=>t&&t.I===Vt,Yt={forEach:(t,e)=>t.map(Jt).forEach(e),map:(t,e)=>t.map(Jt).map(e).map(Xt)},Jt=t=>({vattrs:t.R,vchildren:t.M,vkey:t.A,vname:t.D,vtag:t.I,vtext:t.L}),Xt=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),Bt(t.vtag,e,...t.vchildren||[])}const e=zt(t.vtag,t.vtext);return e.R=t.vattrs,e.M=t.vchildren,e.A=t.vkey,e.D=t.vname,e},qt=t=>{const e=Object.keys(t),n=e.indexOf("value");if(-1===n)return;const o=e.indexOf("type"),s=e.indexOf("min"),r=e.indexOf("max"),i=e.indexOf("step");(n<o||n<s||n<r||n<i)&&b('The "value" prop of <input> should be set after "min", "max", "type" and "step"')},Kt=(t,n,o,s,r,i,l,c=[])=>{let a,u,f,d;const h=r["s-sc"];if(1===i.nodeType){if(a=i.getAttribute(_),a&&(u=a.split("."),u[0]===l||"0"===u[0])){f=Gt({u:0,P:u[0],U:u[1],B:u[2],V:u[3],I:i.tagName.toLowerCase(),F:i,R:{class:i.className||""}}),n.push(f),i.removeAttribute(_),t.M||(t.M=[]),e.scoped&&h&&u[0]===l&&(i["s-si"]=h,f.R.class+=" "+h);const r=f.F.getAttribute("s-sn");"string"==typeof r&&("slot-fb"===f.I&&(Zt(r,u[2],f,i,t,n,o,s,c),e.scoped&&h&&i.classList.add(h)),f.F["s-sn"]=r,f.F.removeAttribute("s-sn")),void 0!==f.V&&(t.M[f.V]=f),t=f,s&&"0"===f.B&&(s[f.V]=f.F)}if(i.shadowRoot)for(d=i.shadowRoot.childNodes.length-1;d>=0;d--)Kt(t,n,o,s,r,i.shadowRoot.childNodes[d],l,c);const p=i.__childNodes||i.childNodes;for(d=p.length-1;d>=0;d--)Kt(t,n,o,s,r,p[d],l,c)}else if(8===i.nodeType)u=i.nodeValue.split("."),(u[1]===l||"0"===u[1])&&(a=u[0],f=Gt({P:u[1],U:u[2],B:u[3],V:u[4]||"0",F:i,R:null,M:null,A:null,D:null,I:null,L:null}),"t"===a?(f.F=ee(i,3),f.F&&3===f.F.nodeType&&(f.L=f.F.textContent,n.push(f),i.remove(),l===f.P&&(t.M||(t.M=[]),t.M[f.V]=f),s&&"0"===f.B&&(s[f.V]=f.F))):"c"===a?(f.F=ee(i,8),f.F&&8===f.F.nodeType&&(n.push(f),i.remove())):f.P===l&&("s"===a?Zt(i["s-sn"]=u[5]||"",u[2],f,i,t,n,o,s,c):"r"===a&&(e.shadowDom&&s?i.remove():e.slotRelocation&&(r["s-cr"]=i,i["s-cn"]=!0))));else if(t&&"style"===t.I){const e=zt(null,i.textContent);e.F=i,e.V="0",t.M=[e]}return t},Qt=(t,e)=>{if(1===t.nodeType){const n=t[O]||t.getAttribute(O);n&&e.set(n,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)Qt(t.shadowRoot.childNodes[o],e);const s=t.__childNodes||t.childNodes;for(o=0;o<s.length;o++)Qt(s[o],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},Gt=t=>({u:0,P:null,U:null,B:null,V:"0",F:null,R:null,M:null,A:null,D:null,I:null,L:null,...t});function Zt(t,n,o,s,r,i,l,c,a){s["s-sr"]=!0,o.D=t||null,o.I="slot";const u=(null==r?void 0:r.F)?r.F["s-id"]||r.F.getAttribute("s-id"):"";if(e.shadowDom&&c&&R.document){const e=o.F=R.document.createElement(o.I);o.D&&o.F.setAttribute("name",t),r.F.shadowRoot&&u&&u!==o.P?Nt(r.F,"insertBefore")(e,Nt(r.F,"children")[0]):Nt(Nt(s,"parentNode"),"insertBefore")(e,s),te(a,n,t,s,o.P),s.remove(),"0"===o.B&&(c[o.V]=o.F)}else{const e=o.F,i=u&&u!==o.P&&r.F.shadowRoot;te(a,n,t,s,i?u:o.P),it(s),i&&r.F.insertBefore(e,r.F.children[0])}i.push(o),l.push(o),r.M||(r.M=[]),r.M[o.V]=o}var te=(t,e,n,o,s)=>{var r,i;let l=o.nextSibling;if(t[e]=t[e]||[],l&&!(null==(r=l.nodeValue)?void 0:r.startsWith("s.")))do{!l||(l.getAttribute&&l.getAttribute("slot")||l["s-sn"])!==n&&(""!==n||l["s-sn"]||l.getAttribute&&l.getAttribute("slot")||8!==l.nodeType&&3!==l.nodeType)||(l["s-sn"]=n,t[e].push({slot:o,node:l,hostId:s})),l=null==l?void 0:l.nextSibling}while(l&&!(null==(i=l.nodeValue)?void 0:i.startsWith("s.")))},ee=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},ne=t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),oe="-shadowcsshost",se="-shadowcssslotted",re="-shadowcsscontext",ie=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",le=RegExp("("+oe+ie,"gim"),ce=RegExp("("+re+ie,"gim"),ae=RegExp("("+se+ie,"gim"),ue=oe+"-no-combinator",fe=/-shadowcsshost-no-combinator([^\s]*)/,de=[/::shadow/g,/::content/g],he=/__part-(\d+)__/g,pe=/-shadowcsshost/gim,me=t=>{const e=ne(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")},ve=/\/\*\s*[\s\S]*?\*\//g,ge=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,$e=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,be=/([{}])/g,ye=/(^.*?[^\\])??((:+)(.*)|$)/,we="%BLOCK%",Se=(t,e)=>{const n=je(t);let o=0;return n.escapedString.replace($e,((...t)=>{const s=t[2];let r="",i=t[4],l="";i&&i.startsWith("{"+we)&&(r=n.blocks[o++],i=i.substring(8),l="{");const c=e({selector:s,content:r});return`${t[1]}${c.selector}${t[3]}${l}${c.content}${i}`}))},je=t=>{const e=t.split(be),n=[],o=[];let s=0,r=[];for(let t=0;t<e.length;t++){const i=e[t];"}"===i&&s--,s>0?r.push(i):(r.length>0&&(o.push(r.join("")),n.push(we),r=[]),n.push(i)),"{"===i&&s++}return r.length>0&&(o.push(r.join("")),n.push(we)),{escapedString:n.join(""),blocks:o}},xe=(t,e,n)=>t.replace(e,((...t)=>{if(t[2]){const e=t[2].split(","),o=[];for(let s=0;s<e.length;s++){const r=e[s].trim();if(!r)break;o.push(n(ue,r,t[3]))}return o.join(",")}return ue+t[3]})),Oe=(t,e,n)=>t+e.replace(oe,"")+n,Ce=(t,e,n)=>e.indexOf(oe)>-1?Oe(t,e,n):t+e+n+", "+e+" "+t+n,_e=(t,e)=>t.replace(ye,((t,n="",o,s="",r="")=>n+e+s+r)),Ee=(t,e,n,o)=>Se(t,(t=>{let s=t.selector,r=t.content;return"@"!==t.selector[0]?s=((t,e,n,o)=>t.split(",").map((t=>o&&t.indexOf("."+o)>-1?t.trim():((t,e)=>!(t=>(t=t.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),RegExp("^("+t+")([>\\s~+[.,{:][\\s\\S]*)?$","m")))(e).test(t))(t,e)?((t,e,n)=>{const o="."+(e=e.replace(/\[is=([^\]]*)\]/g,((t,...e)=>e[0]))),s=t=>{let s=t.trim();if(!s)return"";if(t.indexOf(ue)>-1)s=((t,e,n)=>{if(pe.lastIndex=0,pe.test(t)){const e="."+n;return t.replace(fe,((t,n)=>_e(n,e))).replace(pe,e+" ")}return e+" "+t})(t,e,n);else{const e=t.replace(pe,"");e.length>0&&(s=_e(e,o))}return s},r=(t=>{const e=[];let n=0;return{content:(t=(t=t.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g,((t,o)=>{const s=`__part-${n}__`;return e.push(o),n++,s}))).replace(/(\[[^\]]*\])/g,((t,o)=>{const s=`__ph-${n}__`;return e.push(o),n++,s}))).replace(/(:nth-[-\w]+)(\([^)]+\))/g,((t,o,s)=>{const r=`__ph-${n}__`;return e.push(s),n++,o+r})),placeholders:e}})(t);let i,l="",c=0;const a=/( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g;let u=!((t=r.content).indexOf(ue)>-1);for(;null!==(i=a.exec(t));){const e=i[1],n=t.slice(c,i.index).trim();u=u||n.indexOf(ue)>-1,l+=`${u?s(n):n} ${e} `,c=a.lastIndex}const f=t.substring(c);return u=!f.match(he)&&(u||f.indexOf(ue)>-1),l+=u?s(f):f,((t,e)=>(e=e.replace(/__part-(\d+)__/g,((e,n)=>t[+n]))).replace(/__ph-(\d+)__/g,((e,n)=>t[+n])))(r.placeholders,l)})(t,e,n).trim():t.trim())).join(", "))(t.selector,e,n,o):(t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document"))&&(r=Ee(t.content,e,n,o)),{selector:s.replace(/\s{2,}/g," ").trim(),content:r}})),ke=(t,e)=>t.replace(/-shadowcsshost-no-combinator/g,"."+e),Ne=(t,e)=>{const n=e+"-h",o=e+"-s",s=(t=>t.match(ge)||[])(t);t=(t=>t.replace(ve,""))(t);const r=[];{const e=t=>{const e=`/*!@___${r.length}___*/`;return r.push({placeholder:e,comment:`/*!@${t.selector}*/`}),t.selector=e+t.selector,t};t=Se(t,(t=>"@"!==t.selector[0]?e(t):t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document")?(t.content=Se(t.content,e),t):t))}const i=((t,e,n,o)=>{const s=((t,e)=>{const n="."+e+" > ",o=[];return t=t.replace(ae,((...t)=>{if(t[2]){const e=t[2].trim(),s=n+e+t[3];let r="";for(let e=t[4]-1;e>=0;e--){const n=t[5][e];if("}"===n||","===n)break;r=n+r}const i=(r+s).trim(),l=`${r.trimEnd()}${s.trim()}`.trim();return i!==l&&o.push({orgSelector:i,updatedSelector:`${l}, ${i}`}),s}return ue+t[3]})),{selectors:o,cssText:t}})(t=(t=>xe(t,ce,Ce))(t=(t=>xe(t,le,Oe))(t=(t=>{const e=[];t=t.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g,((t,n)=>{const o=`__supports_${e.length}__`;return e.push(n),`@supports selector(${o})`}));const n=me("::slotted"),o=me(":host"),s=me(":host-context");return t=t.replace(s,"$1"+re).replace(o,"$1"+oe).replace(n,"$1"+se),e.forEach(((e,n)=>{t=t.replace(`__supports_${n}__`,e)})),t})(t))),o);return t=(t=>de.reduce(((t,e)=>t.replace(e," ")),t))(t=s.cssText),e&&(t=Ee(t,e,n,o)),{cssText:(t=(t=ke(t,n)).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:s.selectors.map((t=>({orgSelector:ke(t.orgSelector,n),updatedSelector:ke(t.updatedSelector,n)})))}})(t,e,n,o);return t=[i.cssText,...s].join("\n"),r.forEach((({placeholder:e,comment:n})=>{t=t.replace(e,n)})),i.slottedSelectors.forEach((e=>{const n=RegExp(ne(e.orgSelector)+"(?=\\s*[,{]|$)","g");t=t.replace(n,e.updatedSelector)})),t=(t=>{const e=/([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;return Se(t,(t=>{if("@"===t.selector[0])return t;const n=t.selector.split(",").map((n=>{const o=[n.trim()];let s;for(;null!==(s=e.exec(n));){const e=s[1].trimEnd(),r=s[2].trim().split(/\s+/),i=s[3]||"",l=r.flatMap((e=>t.selector.includes(`[part~="${e}"]`)?[]:[`[part~="${e}"]`])).join(""),c=`${e} ${l}${i}`;l&&c!==n.trim()&&o.push(c)}return o.join(", ")}));return t.selector=n.join(", "),t}))})(t)},Te=t=>x.map((e=>e(t))).find((t=>!!t)),Le=t=>{if(!t)return;const e=Object.keys(t);if(0===e.length)return;let n=!1;for(const o of e){if(n)break;for(const e of t[o])if("string"==typeof e){n=!0;break}}if(!n)return t;const o={};for(const n of e)o[n]=t[n].map((t=>"string"==typeof t?{[t]:0}:t));return o},Re=class t{static fromLocalValue(e){const n=e[r],o=i in e?e[i]:void 0;switch(n){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((e=>t.fromLocalValue(e)));case"date":return new Date(o);case"map":const e=new Map;for(const[n,s]of o){const o="object"==typeof n&&null!==n?t.fromLocalValue(n):n,r=t.fromLocalValue(s);e.set(o,r)}return e;case"object":const s={};for(const[e,n]of o)s[e]=t.fromLocalValue(n);return s;case"regexp":const{pattern:r,flags:i}=o;return RegExp(r,i);case"set":const l=new Set;for(const e of o)l.add(t.fromLocalValue(e));return l;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(r))return!1;const e=t[r];return!!Object.values({...o,...s}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(i))}};var Me,Ae,De,Ie=(t,n,o)=>(e.hydrateClientSide||e.hydrateServerSide)&&"string"==typeof t&&t.startsWith(l)?t=function(t){return"string"==typeof t&&t.startsWith(l)?Re.fromLocalValue(JSON.parse(function(t){const e=atob(t),n=new Uint8Array(e.length);for(let t=0;t<e.length;t++)n[t]=e.charCodeAt(t);return(new TextDecoder).decode(n)}(t.slice(11)))):t}(t):null==t||Ut(t)?t:e.propBoolean&&4&n?(e.formAssociated&&o&&"string"==typeof t||"false"!==t)&&(""===t||!!t):e.propNumber&&2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:e.propString&&1&n?t+"":t,He=t=>{var n;return e.lazyLoad?null==(n=d(t))?void 0:n.$hostElement$:t},Fe=(t,e,n)=>{const o=A.ce(e,n);return t.dispatchEvent(o),o},Pe=(t,n,o,s,r,i,l)=>{if(o===s)return;let c=m(t,n),a=n.toLowerCase();if(e.vdomClass&&"class"===n){const n=t.classList,r=Be(o);let i=Be(s);if(e.hydrateClientSide&&(t["s-si"]||t["s-sc"])&&l){const e=t["s-sc"]||t["s-si"];i.push(e),r.forEach((t=>{t.startsWith(e)&&i.push(t)})),i=[...new Set(i)].filter((t=>t)),n.add(...i)}else n.remove(...r.filter((t=>t&&!i.includes(t)))),n.add(...i.filter((t=>t&&!r.includes(t))))}else if(e.vdomStyle&&"style"===n){if(e.updatable)for(const n in o)s&&null!=s[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in s)o&&s[n]===o[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.setProperty(n,s[n]):t.style[n]=s[n])}else if(e.vdomKey&&"key"===n);else if(e.vdomRef&&"ref"===n)s&&fn(s,t);else if(!e.vdomListener||(e.lazyLoad?c:t.__lookupSetter__(n))||"o"!==n[0]||"n"!==n[1]){if(e.vdomPropOrAttr&&"a"===n[0]&&n.startsWith("attr:")){const o=n.slice(5);let r;if(e.member){const e=d(t);if(e&&e.o&&e.o.t){const t=e.o.t[o];t&&t[1]&&(r=t[1])}}return r||(r=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==s||!1===s?!1===s&&""!==t.getAttribute(r)||t.removeAttribute(r):t.setAttribute(r,!0===s?"":s))}if(e.vdomPropOrAttr&&"p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=s}catch(t){}return}if(e.vdomPropOrAttr){const l=Ut(s);if((c||l&&null!==s)&&!r)try{if(t.tagName.includes("-"))t[n]!==s&&(t[n]=s);else{const e=null==s?"":s;"list"===n?c=!1:null!=o&&t[n]===e||("function"==typeof t.__lookupSetter__(n)?t[n]=e:t.setAttribute(n,e))}}catch(t){}let u=!1;e.vdomXlink&&a!==(a=a.replace(/^xlink\:?/,""))&&(n=a,u=!0),null==s||!1===s?!1===s&&""!==t.getAttribute(n)||(e.vdomXlink&&u?t.removeAttributeNS(T,n):t.removeAttribute(n)):(!c||4&i||r)&&!l&&1===t.nodeType&&(s=!0===s?"":s,e.vdomXlink&&u?t.setAttributeNS(T,n,s):t.setAttribute(n,s))}}else if(n="-"===n[2]?n.slice(3):m(R,a)?a.slice(2):a[2]+n.slice(3),o||s){const e=n.endsWith(ze);n=n.replace(Ve,""),o&&A.rel(t,n,o,e),s&&A.ael(t,n,s,e)}},Ue=/\s/,Be=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Ue):[]),ze="Capture",Ve=RegExp(ze+"$"),We=(t,n,o,s)=>{const r=11===n.F.nodeType&&n.F.host?n.F.host:n.F,i=t&&t.R||{},l=n.R||{};if(e.updatable)for(const t of Ye(Object.keys(i)))t in l||Pe(r,t,i[t],void 0,o,n.u,s);for(const t of Ye(Object.keys(l)))Pe(r,t,i[t],l[t],o,n.u,s)};function Ye(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Je=!1,Xe=!1,qe=!1,Ke=!1,Qe=[],Ge=[],Ze=(t,n,o)=>{var s;const r=n.M[o];let i,l,c,a=0;if(e.slotRelocation&&!Je&&(qe=!0,"slot"===r.I&&(r.u|=r.M?2:1)),e.isDev&&r.F&&$(`The JSX ${null!==r.L?`"${r.L}" text`:`"${r.I}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),e.vdomText&&null!=r.L)i=r.F=R.document.createTextNode(r.L);else if(e.slotRelocation&&1&r.u)i=r.F=e.isDebug||e.hydrateServerSide?mn(r):R.document.createTextNode(""),e.vdomAttribute&&We(null,r,Ke);else{if(e.svg&&!Ke&&(Ke="svg"===r.I),!R.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(i=r.F=e.svg?R.document.createElementNS(Ke?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Je&&e.slotRelocation&&2&r.u?"slot-fb":r.I):R.document.createElement(!Je&&e.slotRelocation&&2&r.u?"slot-fb":r.I),e.svg&&Ke&&"foreignObject"===r.I&&(Ke=!1),e.vdomAttribute&&We(null,r,Ke),(e.scoped||e.hydrateServerSide)&&null!=Me&&void 0!==Me&&i["s-si"]!==Me&&i.classList.add(i["s-si"]=Me),r.M){const e="template"===r.I?i.content:i;for(a=0;a<r.M.length;++a)l=Ze(t,r,a),l&&e.appendChild(l)}e.svg&&("svg"===r.I?Ke=!1:"foreignObject"===i.tagName&&(Ke=!0))}return i["s-hn"]=De,e.slotRelocation&&3&r.u&&(i["s-sr"]=!0,i["s-cr"]=Ae,i["s-sn"]=r.D||"",i["s-rf"]=null==(s=r.R)?void 0:s.ref,it(i),c=t&&t.M&&t.M[o],c&&c.I===r.I&&t.F&&tn(t.F),(e.scoped||e.hydrateServerSide)&&hn(Ae,i,n.F,null==t?void 0:t.F)),i},tn=t=>{A.u|=1;const e=t.closest(De.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of n?o.reverse():o)null!=t["s-sh"]&&(dn(e,t,null!=n?n:null),t["s-sh"]=void 0,qe=!0)}A.u&=-2},en=(t,e)=>{A.u|=1;const n=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===De&&n.push(e)}for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==De&&o["s-ol"]&&(dn(rn(o).parentNode,o,rn(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,qe=!0),e&&en(o,e)}A.u&=-2},nn=(t,n,o,s,r,i)=>{let l,c=e.slotRelocation&&t["s-cr"]&&t["s-cr"].parentNode||t;for(e.shadowDom&&c.shadowRoot&&c.tagName===De&&(c=c.shadowRoot),"template"===o.I&&(c=c.content);r<=i;++r)s[r]&&(l=Ze(null,o,r),l&&(s[r].F=l,dn(c,l,e.slotRelocation?rn(n):n)))},on=(t,n,o)=>{for(let s=n;s<=o;++s){const n=t[s];if(n){const t=n.F;un(n),t&&(e.slotRelocation&&(Xe=!0,t["s-ol"]?t["s-ol"].remove():en(t,!0)),t.remove())}}},sn=(t,n,o=!1)=>t.I===n.I&&(e.slotRelocation&&"slot"===t.I?t.D===n.D:e.vdomKey&&!o?t.A===n.A:(o&&!t.A&&n.A&&(t.A=n.A),!0)),rn=t=>t&&t["s-ol"]||t,ln=(t,n,o=!1)=>{const s=n.F=t.F,r=t.M,i=n.M,l=n.I,c=n.L;let a;e.vdomText&&null!=c?e.vdomText&&e.slotRelocation&&(a=s["s-cr"])?a.parentNode.textContent=c:e.vdomText&&t.L!==c&&(s.data=c):(e.svg&&(Ke="svg"===l||"foreignObject"!==l&&Ke),(e.vdomAttribute||e.reflect)&&(e.slot&&"slot"===l&&!Je&&t.D!==n.D&&(n.F["s-sn"]=n.D||"",tn(n.F.parentElement)),We(t,n,Ke,o)),e.updatable&&null!==r&&null!==i?((t,n,o,s,r=!1)=>{let i,l,c=0,a=0,u=0,f=0,d=n.length-1,h=n[0],p=n[d],m=s.length-1,v=s[0],g=s[m];const $="template"===o.I?t.content:t;for(;c<=d&&a<=m;)if(null==h)h=n[++c];else if(null==p)p=n[--d];else if(null==v)v=s[++a];else if(null==g)g=s[--m];else if(sn(h,v,r))ln(h,v,r),h=n[++c],v=s[++a];else if(sn(p,g,r))ln(p,g,r),p=n[--d],g=s[--m];else if(sn(h,g,r))!e.slotRelocation||"slot"!==h.I&&"slot"!==g.I||en(h.F.parentNode,!1),ln(h,g,r),dn($,h.F,p.F.nextSibling),h=n[++c],g=s[--m];else if(sn(p,v,r))!e.slotRelocation||"slot"!==h.I&&"slot"!==g.I||en(p.F.parentNode,!1),ln(p,v,r),dn($,p.F,h.F),p=n[--d],v=s[++a];else{if(u=-1,e.vdomKey)for(f=c;f<=d;++f)if(n[f]&&null!==n[f].A&&n[f].A===v.A){u=f;break}e.vdomKey&&u>=0?(l=n[u],l.I!==v.I?i=Ze(n&&n[a],o,u):(ln(l,v,r),n[u]=void 0,i=l.F),v=s[++a]):(i=Ze(n&&n[a],o,a),v=s[++a]),i&&(e.slotRelocation?dn(rn(h.F).parentNode,i,rn(h.F)):dn(h.F.parentNode,i,h.F))}c>d?nn(t,null==s[m+1]?null:s[m+1].F,o,s,a,m):e.updatable&&a>m&&on(n,c,d)})(s,r,n,i,o):null!==i?(e.updatable&&e.vdomText&&null!==t.L&&(s.textContent=""),nn(s,null,n,i,0,i.length-1)):!o&&e.updatable&&null!==r?on(r,0,r.length-1):e.hydrateClientSide&&o&&e.updatable&&null!==r&&null===i&&(n.M=r),e.svg&&Ke&&"svg"===l&&(Ke=!1))},cn=[],an=t=>{let e,n,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const s=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===t["s-hn"]||e["s-sh"]&&e["s-sh"]===t["s-hn"]))if(ot(e,s)){let n=cn.find((t=>t.W===e));Xe=!0,e["s-sn"]=e["s-sn"]||s,n?(n.W["s-sh"]=t["s-hn"],n.Y=t):(e["s-sh"]=t["s-hn"],cn.push({Y:t,W:e})),e["s-sr"]&&cn.map((t=>{ot(t.W,e["s-sn"])&&(n=cn.find((t=>t.W===e)),n&&!t.Y&&(t.Y=n.Y))}))}else cn.some((t=>t.W===e))||cn.push({W:e})}1===t.nodeType&&an(t)}},un=t=>{e.vdomRef&&(t.R&&t.R.ref&&Qe.push((()=>t.R.ref(null))),t.M&&t.M.map(un))},fn=(t,n)=>{e.vdomRef&&Ge.push((()=>t(n)))},dn=(t,n,o,s)=>{if(e.slotRelocation)if(e.scoped&&"string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])hn(n["s-cr"],n,t,n.parentElement);else if("string"==typeof n["s-sn"]){e.experimentalSlotFixes&&11!==t.getRootNode().nodeType&&Ct(n),t.insertBefore(n,o);const{slotNode:r}=ct(n);return r&&!s&<(r),n}return t.__insertBefore?t.__insertBefore(n,o):null==t?void 0:t.insertBefore(n,o)};function hn(t,e,n,o){var s,r;let i;if(t&&"string"==typeof e["s-sn"]&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(i=e["s-si"]||t.parentNode["s-sc"])){const t=e["s-sn"],l=e["s-hn"];if(null==(s=n.classList)||s.add(i+"-s"),o&&(null==(r=o.classList)?void 0:r.contains(i+"-s"))){let e=(o.__childNodes||o.childNodes)[0],n=!1;for(;e;){if(e["s-sn"]!==t&&e["s-hn"]===l&&e["s-sr"]){n=!0;break}e=e.nextSibling}n||o.classList.remove(i+"-s")}}}var pn=(t,n,o=!1)=>{var s,r,i,l,c;const a=t.$hostElement$,u=t.o,f=t.J||zt(null,null),d=Wt(n)?n:Bt(null,null,n);if(De=a.tagName,e.isDev&&Array.isArray(n)&&n.some(Wt))throw Error(`The <Host> must be the single root component.\nLooks like the render() function of "${De.toLowerCase()}" is returning an array that contains the <Host>.\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n <Host>{content}</Host>\n );\n}\n `);if(e.reflect&&u.X&&(d.R=d.R||{},u.X.forEach((([n,o])=>{d.R[o]=e.serializer&&t.p.has(n)?t.p.get(n):a[n]}))),o&&d.R)for(const t of Object.keys(d.R))a.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(d.R[t]=a[t]);if(d.I=null,d.u|=4,t.J=d,d.F=f.F=e.shadowDom&&a.shadowRoot||a,(e.scoped||e.shadowDom)&&(Me=a["s-sc"]),Je=D&&!!(1&u.u)&&!(128&u.u),e.slotRelocation&&(Ae=a["s-cr"],Xe=!1),ln(f,d,o),e.slotRelocation){if(A.u|=1,qe){an(d.F);for(const t of cn){const n=t.W;if(!n["s-ol"]&&R.document){const t=e.isDebug||e.hydrateServerSide?vn(n):R.document.createTextNode("");t["s-nr"]=n,dn(n.parentNode,n["s-ol"]=t,n,o)}}for(const t of cn){const n=t.W,c=t.Y;if(1===n.nodeType&&o&&(n["s-ih"]=null!=(s=n.hidden)&&s),c){const t=c.parentNode;let s=c.nextSibling;if(!e.hydrateServerSide&&s&&1===s.nodeType){let e=null==(r=n["s-ol"])?void 0:r.previousSibling;for(;e;){let o=null!=(i=e["s-nr"])?i:null;if(o&&o["s-sn"]===n["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===n||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){s=o;break}}e=e.previousSibling}}if((!s&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==s)&&n!==s){if(dn(t,n,s,o),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=R.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,dn(n.parentNode,t,n,o),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(l=n["s-ih"])&&l)}n&&"function"==typeof c["s-rf"]&&c["s-rf"](c)}else 1===n.nodeType&&(n.hidden=!0)}}Xe&&Z(d.F),A.u&=-2,cn.length=0}if(e.slotRelocation&&!Je&&!(1&u.u)&&a["s-cr"]){const t=d.F.__childNodes||d.F.childNodes;for(const e of t)if(e["s-hn"]!==De&&!e["s-sh"])if(o&&null==e["s-ih"]&&(e["s-ih"]=null!=(c=e.hidden)&&c),1===e.nodeType)e.hidden=!0;else if(3===e.nodeType&&e.nodeValue.trim()){const t=R.document.createComment("s-nt-"+e.nodeValue);t["s-sn"]=e["s-sn"],dn(e.parentNode,t,e,o),e.parentNode.removeChild(e)}}Ae=void 0,e.vdomRef&&(Qe.forEach((t=>t())),Qe.length=0,Ge.forEach((t=>t())),Ge.length=0)},mn=t=>{var e;return null==(e=R.document)?void 0:e.createComment(`<slot${t.D?' name="'+t.D+'"':""}> (host=${De.toLowerCase()})`)},vn=t=>{var e;return null==(e=R.document)?void 0:e.createComment("org-location for "+(t.localName?`<${t.localName}> (host=${t["s-hn"]})`:`[${t.textContent}]`))},gn=(t,n)=>{if(e.asyncLoading&&n&&!t.q&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.q=()=>{n["s-p"].splice(e-1,1),o()})))}},$n=(t,n)=>{if(e.taskQueue&&e.updatable&&(t.u|=16),e.asyncLoading&&4&t.u)return void(t.u|=512);gn(t,t.K);const o=()=>bn(t,n);if(!n)return e.taskQueue?Q(o):o();queueMicrotask((()=>{o()}))},bn=(t,n)=>{const o=t.$hostElement$,s=Lt("scheduleUpdate",t.o.C),r=e.lazyLoad?t.l:o;if(!r)throw Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return n?(e.lazyLoad&&(e.slotRelocation&&t.G&&(t.G=!1,En(r,"connectedCallback",void 0,o)),e.hostListener&&(t.u|=256,t.Z&&(t.Z.map((([t,e])=>En(r,t,e,o))),t.Z=void 0)),t.O.length&&t.O.forEach((t=>t(o)))),kn(o,"componentWillLoad"),i=En(r,"componentWillLoad",void 0,o)):(kn(o,"componentWillUpdate"),i=En(r,"componentWillUpdate",void 0,o)),kn(o,"componentWillRender"),i=yn(i,(()=>En(r,"componentWillRender",void 0,o))),s(),yn(i,(()=>Sn(t,r,n)))},yn=(t,e)=>wn(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),wn=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Sn=async(t,n,o)=>{var s;const r=t.$hostElement$,i=Lt("update",t.o.C),l=r["s-rc"];e.style&&o&&It(t);const c=Lt("render",t.o.C);if(e.isDev&&(t.u|=1024),e.hydrateServerSide?await xn(t,n,r,o):xn(t,n,r,o),e.isDev&&(t.m=void 0===t.m?1:t.m+1,t.u&=-1025),e.hydrateServerSide)try{Tn(r),o&&(1&t.o.u?r["s-en"]="":2&t.o.u&&(r["s-en"]="c"))}catch(t){v(t,r)}if(e.asyncLoading&&l&&(l.map((t=>t())),r["s-rc"]=void 0),c(),i(),e.asyncLoading){const e=null!=(s=r["s-p"])?s:[],n=()=>On(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.u|=4,e.length=0)}else On(t)},jn=null,xn=(t,n,o,s)=>{const r=!!e.allRenderFn,i=!!e.lazyLoad,l=!!e.taskQueue,c=!!e.updatable;try{if(jn=n,n=(r||n.render)&&n.render(),c&&l&&(t.u&=-17),(c||i)&&(t.u|=2),e.hasRenderFn||e.reflect)if(e.vdomRender||e.reflect){if(e.hydrateServerSide)return Promise.resolve(n).then((e=>pn(t,e,s)));pn(t,n,s)}else 1&t.o.u?o.shadowRoot.textContent=n:o.textContent=n}catch(e){v(e,t.$hostElement$)}return jn=null,null},On=t=>{const n=t.o.C,o=t.$hostElement$,s=Lt("postUpdate",n),r=e.lazyLoad?t.l:o,i=t.K;e.isDev&&(t.u|=1024),En(r,"componentDidRender",void 0,o),e.isDev&&(t.u&=-1025),kn(o,"componentDidRender"),64&t.u?(e.isDev&&(t.u|=1024),En(r,"componentDidUpdate",void 0,o),e.isDev&&(t.u&=-1025),kn(o,"componentDidUpdate"),s()):(t.u|=64,e.asyncLoading&&e.cssAnnotations&&Nn(o),e.isDev&&(t.u|=2048),En(r,"componentDidLoad",void 0,o),e.isDev&&(t.u&=-2049),kn(o,"componentDidLoad"),s(),e.asyncLoading&&(t.j(o),i||_n(n))),e.method&&e.lazyLoad&&t.$(o),e.asyncLoading&&(t.q&&(t.q(),t.q=void 0),512&t.u&&q((()=>$n(t,!1))),t.u&=-517)},Cn=t=>{var o;if(e.updatable&&(n.isBrowser||n.isTesting)){const e=d(t),n=null==(o=null==e?void 0:e.$hostElement$)?void 0:o.isConnected;return n&&2==(18&e.u)&&$n(e,!1),n}return!1},_n=n=>{var o;e.asyncQueue&&(A.u|=2),q((()=>Fe(R,"appload",{detail:{namespace:t}}))),e.hydrateClientSide&&(null==(o=A.tt)?void 0:o.size)&&A.tt.clear(),e.profile&&performance.measure&&performance.measure(`[Stencil] ${t} initial load (by ${n})`,"st:app:start")},En=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){v(t,o)}},kn=(n,o)=>{e.lifecycleDOMEvents&&Fe(n,"stencil_"+o,{bubbles:!0,composed:!0,detail:{namespace:t}})},Nn=t=>{var n,o;return e.hydratedClass?t.classList.add(null!=(n=e.hydratedSelectorName)?n:"hydrated"):e.hydratedAttribute?t.setAttribute(null!=(o=e.hydratedSelectorName)?o:"hydrated",""):void 0},Tn=t=>{const e=t.children;if(null!=e)for(let t=0,n=e.length;t<n;t++){const n=e[t];"function"==typeof n.connectedCallback&&n.connectedCallback(),Tn(n)}},Ln=(t,e)=>d(t).i.get(e),Rn=(t,n,o,s)=>{const r=d(t);if(!r)return;if(e.lazyLoad&&!r)throw Error(`Couldn't find host element for "${s.C}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);if(e.serializer&&r.p.has(n)&&r.p.get(n)===o)return;const i=e.lazyLoad?r.$hostElement$:t,l=r.i.get(n),c=r.u,a=e.lazyLoad?r.l:i;if(o=Ie(o,s.t[n][0],e.formAssociated&&!!(64&s.u)),!(e.lazyLoad&&8&c&&void 0!==l||o===l||Number.isNaN(l)&&Number.isNaN(o))){if(r.i.set(n,o),e.serializer&&e.reflect&&s.X&&s.et&&s.et[n]){const t=t=>{let e=o;for(const o of s.et[n]){const[[s]]=Object.entries(o);e=t[s](e,n)}r.p.set(n,e)};a?t(a):r.O.push((()=>{t(r.l)}))}if(e.isDev&&(1024&r.u?b(`The state/prop "${n}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,"\nElement",i,"\nNew value",o,"\nOld value",l):2048&r.u&&b(`The state/prop "${n}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,"\nElement",i,"\nNew value",o,"\nOld value",l)),e.propChangeCallback&&s.nt){const t=s.nt[n];t&&t.map((t=>{try{const[[e,s]]=Object.entries(t);(128&c||1&s)&&(a?a[e](o,l,n):r.O.push((()=>{r.l[e](o,l,n)})))}catch(t){v(t,i)}}))}if(e.updatable&&2&c){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(o,l,n)&&!(16&c))return;16&c||$n(r,!1)}}},Mn=(t,n,o)=>{var s,r;const i=t.prototype;if(e.isTesting){if(i.__stencilAugmented)return;i.__stencilAugmented=!0}if(e.formAssociated&&64&n.u&&1&o&&L.forEach((t=>{const n=i[t];Object.defineProperty(i,t,{value(...o){var s;const r=d(this),i=e.lazyLoad?null==r?void 0:r.l:this;if(i){const s=e.lazyLoad?i[t]:n;"function"==typeof s&&s.call(i,...o)}else null==(s=null==r?void 0:r.S)||s.then((e=>{const n=e[t];"function"==typeof n&&n.call(e,...o)}))}})})),e.member&&n.t||e.propChangeCallback){e.propChangeCallback&&(t.watchers&&!n.nt&&(n.nt=Le(t.watchers)),t.deserializers&&!n.ot&&(n.ot=t.deserializers),t.serializers&&!n.et&&(n.et=t.serializers));const l=Object.entries(null!=(s=n.t)?s:{});if(l.map((([t,[s]])=>{if((e.prop||e.state)&&(31&s||(!e.lazyLoad||2&o)&&32&s)){const{get:r,set:l}=c(i,t)||{};r&&(n.t[t][0]|=2048),l&&(n.t[t][0]|=4096),(1&o||!r)&&Object.defineProperty(i,t,{get(){if(e.lazyLoad){if(!(2048&n.t[t][0]))return Ln(this,t);const e=d(this),o=e?e.l:i;if(!o)return;return o[t]}if(!e.lazyLoad)return r?r.apply(this):Ln(this,t)},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(r){const i=d(this);if(i){if(e.isDev&&(1&o||4096&n.t[t][0]||0!==(i&&8&i.u)||!(31&s)||1024&s||b(`@Prop() "${t}" on <${n.C}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)),l)return void 0===(32&s?this[t]:i.$hostElement$[t])&&i.i.get(t)&&(r=i.i.get(t)),l.call(this,Ie(r,s,e.formAssociated&&!!(64&n.u))),void Rn(this,t,r=32&s?this[t]:i.$hostElement$[t],n);if(e.lazyLoad){if(e.lazyLoad){if(!(1&o&&4096&n.t[t][0]))return Rn(this,t,r,n),void(1&o&&!i.l&&i.O.push((()=>{4096&n.t[t][0]&&i.l[t]!==i.i.get(t)&&(i.l[t]=r)})));const l=()=>{const o=i.l[t];!i.i.get(t)&&o&&i.i.set(t,o),i.l[t]=Ie(r,s,e.formAssociated&&!!(64&n.u)),Rn(this,t,i.l[t],n)};i.l?l():i.O.push((()=>{l()}))}}else Rn(this,t,r,n)}}})}else e.lazyLoad&&e.method&&1&o&&64&s&&Object.defineProperty(i,t,{value(...e){var n;const o=d(this);return null==(n=null==o?void 0:o.v)?void 0:n.then((()=>{var n;return null==(n=o.l)?void 0:n[t](...e)}))}})})),e.observeAttribute&&(!e.lazyLoad||1&o)){const o=new Map;i.attributeChangedCallback=function(t,s,r){A.jmp((()=>{var c;const a=o.get(t),u=d(this);if(e.serializer&&u.p.has(a)&&u.p.get(a)===r)return;if(this.hasOwnProperty(a)&&e.lazyLoad&&(r=this[a],delete this[a]),e.deserializer&&n.ot&&n.ot[a]){const t=(t,e)=>{const n=null==e?void 0:e[t](r,a);n!==this[a]&&(this[a]=n)};for(const o of n.ot[a]){const[[n]]=Object.entries(o);e.lazyLoad?u.l?t(n,u.l):u.O.push((()=>{t(n,u.l)})):t(n,this)}return}if(i.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==r)return;if(null==a){const o=null==u?void 0:u.u;if(u&&o&&!(8&o)&&r!==s){const i=e.lazyLoad?u.l:e.lazyLoad?u.$hostElement$:this,l=null==(c=n.nt)?void 0:c[t];null==l||l.forEach((e=>{const[[n,l]]=Object.entries(e);null!=i[n]&&(128&o||1&l)&&i[n].call(i,r,s,t)}))}return}const f=l.find((([t])=>t===a)),h=f&&4&f[1][0],p=h&&null===r&&void 0===this[a];h&&(r=null!==r&&"false"!==r);const m=Object.getOwnPropertyDescriptor(i,a);p||r==this[a]||m.get&&!m.set||(this[a]=r)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=n.nt)?r:{}),...l.filter((([t,e])=>31&e[0])).map((([t,s])=>{var r;const i=s[1]||t;return o.set(i,t),e.reflect&&512&s[0]&&(null==(r=n.X)||r.push([t,i])),i}))]))}}return t},An=async(t,n,o,s)=>{let r;try{if(!(32&n.u)){if(n.u|=32,e.lazyLoad&&o._){const i=S(o,n,s);if(i&&"then"in i){const t=((t,n)=>e.profile&&performance.mark?(0===performance.getEntriesByName(t,"mark").length&&performance.mark(t),()=>{0===performance.getEntriesByName(n,"measure").length&&performance.measure(n,t)}):()=>{})(`st:load:${o.C}:${n.k}`,`[Stencil] Load module for <${o.C}>`);r=await i,t()}else r=i;if(!r)throw Error(`Constructor for "${o.C}#${n.k}" was not found`);e.member&&!r.isProxied&&(e.propChangeCallback&&(o.nt=Le(r.watchers),o.et=r.serializers,o.ot=r.deserializers),Mn(r,o,2),r.isProxied=!0);const l=Lt("createInstance",o.C);e.member&&(n.u|=8);try{new r(n)}catch(e){v(e,t)}e.member&&(n.u&=-9),e.propChangeCallback&&(n.u|=128),l(),e.slotRelocation&&4&o.u?n.G=!0:Dn(n.l,t)}else r=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(e.style&&r&&r.style){let i;"string"==typeof r.style?i=r.style:e.mode&&"string"!=typeof r.style&&(n.k=Te(t),n.k&&(i=r.style[n.k]),e.hydrateServerSide&&n.k&&t.setAttribute("s-mode",n.k));const l=Ht(o,n.k);if(!j.has(l)||e.hotModuleReplacement&&s){const t=Lt("registerStyles",o.C);e.hydrateServerSide&&e.shadowDom&&128&o.u&&(i=Ne(i,l)),At(l,i,!!(1&o.u)),t()}}}const i=n.K,l=()=>$n(n,!0);e.asyncLoading&&i&&i["s-rc"]?i["s-rc"].push(l):l()}catch(o){v(o,t),e.asyncLoading&&n.q&&(n.q(),n.q=void 0),e.asyncLoading&&n.j&&n.j(t)}},Dn=(t,n)=>{e.lazyLoad&&En(t,"connectedCallback",void 0,n)},In=t=>{if(!(1&A.u)){const n=d(t);if(!n)return;const o=n.o,s=Lt("connectedCallback",o.C);if(e.hostListenerTargetParent&&Vn(t,n,o.st,!0),1&n.u)Vn(t,n,o.st,!1),(null==n?void 0:n.l)?Dn(n.l,t):(null==n?void 0:n.S)&&n.S.then((()=>Dn(n.l,t)));else{let s;if(n.u|=1,e.hydrateClientSide&&(s=t.getAttribute(O),s)){if(e.shadowDom&&D&&1&o.u){const n=e.mode?Dt(t.shadowRoot,o,t.getAttribute("s-mode")):Dt(t.shadowRoot,o);t.classList.remove(n+"-h",n+"-s")}else if(e.scoped&&2&o.u){const n=Ht(o,e.mode?t.getAttribute("s-mode"):void 0);t["s-sc"]=n}((t,n,o,s)=>{var r,i,l,c;const a=Lt("hydrateClient",n),u=t.shadowRoot,f=[],h=[],p=[],m=e.shadowDom&&u?[]:null,v=zt(n,null);let g;if(v.F=t,e.scoped){const e=s.o;e&&10&e.u&&t["s-sc"]?(g=t["s-sc"],t.classList.add(g+"-h")):t["s-sc"]&&delete t["s-sc"]}!R.document||A.tt&&A.tt.size||Qt(R.document.body,A.tt=new Map),t[O]=o,t.removeAttribute(O),s.J=Kt(v,f,h,m,t,t,o,p);let $=0;const b=f.length;let y;for(;$<b;$++){y=f[$];const o=y.P+"."+y.U,s=A.tt.get(o),i=y.F;if(u){if((null==(r=y.I)?void 0:(""+r).includes("-"))&&"slot-fb"!==y.I&&!y.F.shadowRoot){const t=d(y.F);if(t){const n=Ht(t.o,e.mode?y.F.getAttribute("s-mode"):void 0),o=R.document.querySelector(`style[sty-id="${n}"]`);o&&m.unshift(o.cloneNode(!0))}}}else i["s-hn"]=Gn(n).toUpperCase(),"slot"===y.I&&(i["s-cr"]=t["s-cr"]);"slot"===y.I&&(y.D=y.F["s-sn"]||y.F.name||null,y.M?(y.u|=2,y.F.childNodes.length||y.M.forEach((t=>{y.F.appendChild(t.F)}))):y.u|=1),s&&s.isConnected&&(s.parentElement.shadowRoot&&""===s["s-en"]&&s.parentNode.insertBefore(i,s.nextSibling),s.parentNode.removeChild(s),u||(i["s-oo"]=parseInt(y.U))),s&&!s["s-id"]&&A.tt.delete(o)}const w=[],S=p.length;let j,x,C,_,E=0,k=0;for(;E<S;E++)if(j=p[E],j&&j.length)for(C=j.length,x=0;x<C;x++){if(_=j[x],w[_.hostId]||(w[_.hostId]=A.tt.get(_.hostId)),!w[_.hostId])continue;const t=w[_.hostId];t.shadowRoot&&_.node.parentElement!==t&&t.insertBefore(_.node,null==(l=null==(i=j[x-1])?void 0:i.node)?void 0:l.nextSibling),t.shadowRoot&&u||(_.slot["s-cr"]||(_.slot["s-cr"]=t["s-cr"],_.slot["s-cr"]=!_.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),st(_.node,_.slot,!1,_.node["s-oo"]||k),(null==(c=_.node.parentElement)?void 0:c.shadowRoot)&&_.node.getAttribute&&_.node.getAttribute("slot")&&_.node.removeAttribute("slot"),e.experimentalSlotFixes&&wt(_.node)),k=(_.node["s-oo"]||k)+1}if(e.scoped&&g&&h.length&&h.forEach((t=>{t.F.parentElement.classList.add(g+"-s")})),e.shadowDom&&u&&!u.childNodes.length){let e=0;const n=m.length;if(n){for(;e<n;e++){const t=m[e];t&&u.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}s.$hostElement$=t,a()})(t,o.C,s,n)}if(e.slotRelocation&&!s&&(e.hydrateServerSide||(e.slot||e.shadowDom)&&12&o.u)&&Hn(t),e.asyncLoading){let o=t;for(;o=o.parentNode||o.host;)if(e.hydrateClientSide&&1===o.nodeType&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){gn(n,n.K=o);break}}e.prop&&!e.hydrateServerSide&&o.t&&Object.entries(o.t).map((([e,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];delete t[e],t[e]=n}})),e.initializeNextTick?q((()=>An(t,n,o))):An(t,n,o)}s()}},Hn=t=>{if(!R.document)return;const n=t["s-cr"]=R.document.createComment(e.isDebug?`content-ref (host=${t.localName})`:"");n["s-cn"]=!0,dn(t,n,t.firstChild)},Fn=(t,n)=>{e.lazyLoad&&En(t,"disconnectedCallback",void 0,n||t)},Pn=async t=>{if(!(1&A.u)){const n=d(t);e.hostListener&&(null==n?void 0:n.rt)&&(n.rt.map((t=>t())),n.rt=void 0),e.lazyLoad?(null==n?void 0:n.l)?Fn(n.l,t):(null==n?void 0:n.S)&&n.S.then((()=>Fn(n.l,t))):Fn(t)}Mt.has(t)&&Mt.delete(t),t.shadowRoot&&Mt.has(t.shadowRoot)&&Mt.delete(t.shadowRoot)},Un=(t,n)=>{const o={u:n[0],C:n[1]};try{e.member&&(o.t=n[2]),e.hostListener&&(o.st=n[3]),e.propChangeCallback&&(o.nt=Le(t.nt),o.ot=t.ot,o.et=t.et),e.reflect&&(o.X=[]),e.shadowDom&&!D&&1&o.u&&(o.u|=8),!(1&o.u)&&256&o.u?e.experimentalSlotFixes?at(t.prototype):(e.slotChildNodesFix&&yt(t.prototype),e.cloneNodeFix&&ut(t.prototype),e.appendChildSlotFix&&ft(t.prototype),e.scopedSlotTextContentFix&&2&o.u&&bt(t.prototype)):e.cloneNodeFix&&ut(t.prototype),e.hydrateClientSide&&e.shadowDom&&Pt();const s=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){p(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=d(this);if(!t)return;Vn(this,t,o.st,!1),this.__hasHostListenerAttached=!0}In(this),s&&s.call(this)},disconnectedCallback(){Pn(this),r&&r.call(this)},__attachShadow(){if(D)if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.C}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else G.call(this,o);else this.shadowRoot=this}}),Object.defineProperty(t,"is",{value:o.C,configurable:!0}),Mn(t,o,3)}catch(e){return v(e),t}},Bn=(t,n={})=>{var o;if(e.profile&&performance.mark&&performance.mark("st:app:start"),(()=>{if(e.devTools){const t=R.stencil=R.stencil||{},e=t.inspect;t.inspect=t=>{let n=(t=>{const e=d(t);if(!e)return;const n=e.u,o=e.$hostElement$;return{renderCount:e.m,flags:{hasRendered:!!(2&n),hasConnected:!!(1&n),isWaitingForChildren:!!(4&n),isConstructingInstance:!!(8&n),isQueuedForUpdate:!!(16&n),hasInitializedComponent:!!(32&n),hasLoadedComponent:!!(64&n),isWatchReady:!!(128&n),isListenReady:!!(256&n),needsRerender:!!(512&n)},instanceValues:e.i,serializerValues:e.p,ancestorComponent:e.K,hostElement:o,lazyInstance:e.l,vnode:e.J,modeName:e.k,fetchedCbList:e.O,onReadyPromise:e.S,onReadyResolve:e.j,onInstancePromise:e.v,onInstanceResolve:e.$,onRenderResolve:e.q,queuedListeners:e.Z,rmListeners:e.rt,"s-id":o["s-id"],"s-cr":o["s-cr"],"s-lr":o["s-lr"],"s-p":o["s-p"],"s-rc":o["s-rc"],"s-sc":o["s-sc"]}})(t);return n||"function"!=typeof e||(n=e(t)),n}}})(),!R.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const s=Lt("bootstrapLazy"),r=[],i=n.exclude||[],l=R.customElements,c=R.document.head,a=c.querySelector("meta[charset]"),u=R.document.createElement("style"),f=[];let h,m=!0;Object.assign(A,n),A.N=new URL(n.resourcesUrl||"./",R.document.baseURI).href,e.asyncQueue&&n.syncQueue&&(A.u|=4),e.hydrateClientSide&&(A.u|=2),e.hydrateClientSide&&e.shadowDom&&Pt();let v=!1;if(t.map((t=>{t[1].map((o=>{var s,c;const a={u:o[0],C:o[1],t:o[2],st:o[3]};4&a.u&&(v=!0),e.member&&(a.t=o[2]),e.hostListener&&(a.st=o[3]),e.reflect&&(a.X=[]),e.propChangeCallback&&(a.nt=Le(o[4]),a.et=null!=(s=o[5])?s:{},a.ot=null!=(c=o[6])?c:{}),e.shadowDom&&!D&&1&a.u&&(a.u|=8);const u=e.transformTagName&&n.transformTagName?n.transformTagName(a.C):Gn(a.C),g=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),p(t=this,a),e.shadowDom&&1&a.u)if(D)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${a.C}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else G.call(t,a);else e.hydrateServerSide||"shadowRoot"in t||(t.shadowRoot=t)}connectedCallback(){const t=d(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Vn(this,t,a.st,!1)),h&&(clearTimeout(h),h=null),m?f.push(this):A.jmp((()=>In(this))))}disconnectedCallback(){A.jmp((()=>Pn(this))),A.raf((()=>{var t;const e=d(this);if(!e)return;const n=f.findIndex((t=>t===this));n>-1&&f.splice(n,1),(null==(t=null==e?void 0:e.J)?void 0:t.F)instanceof Node&&!e.J.F.isConnected&&delete e.J.F}))}componentOnReady(){var t;return null==(t=d(this))?void 0:t.S}};!(1&a.u)&&256&a.u?e.experimentalSlotFixes?at(g.prototype):(e.slotChildNodesFix&&yt(g.prototype),e.cloneNodeFix&&ut(g.prototype),e.appendChildSlotFix&&ft(g.prototype),e.scopedSlotTextContentFix&&2&a.u&&bt(g.prototype)):e.cloneNodeFix&&ut(g.prototype),e.formAssociated&&64&a.u&&(g.formAssociated=!0),e.hotModuleReplacement&&(g.prototype["s-hmr"]=function(t){((t,e,n)=>{const o=d(t);o&&(o.u=1,An(t,o,e,n))})(this,a,t)}),a._=t[0],i.includes(u)||l.get(u)||(r.push(u),l.define(u,Mn(g,a,1)))}))})),r.length>0&&(e.slotRelocation&&v&&(u.textContent+=N),e.invisiblePrehydration&&(e.hydratedClass||e.hydratedAttribute)&&(u.textContent+=r.sort()+"{visibility:hidden}.hydrated{visibility:inherit}"),u.innerHTML.length)){u.setAttribute("data-styles","");const t=null!=(o=A.T)?o:Rt(R.document);null!=t&&u.setAttribute("nonce",t),c.insertBefore(u,a?a.nextSibling:c.firstChild)}m=!1,f.length?f.map((t=>t.connectedCallback())):A.jmp(e.profile?()=>h=setTimeout(_n,30,"timeout"):()=>h=setTimeout(_n,30)),s()},zn=(t,e)=>e,Vn=(t,n,o,s)=>{e.hostListener&&o&&R.document&&(e.hostListenerTargetParent&&(o=o.filter(s?([t])=>32&t:([t])=>!(32&t))),o.map((([o,s,r])=>{const i=e.hostListenerTarget?Yn(R.document,t,o):t,l=Wn(n,r),c=Jn(o);A.ael(i,s,l,c),(n.rt=n.rt||[]).push((()=>A.rel(i,s,l,c)))})))},Wn=(t,n)=>o=>{var s;try{e.lazyLoad?256&t.u?null==(s=t.l)||s[n](o):(t.Z=t.Z||[]).push([n,o]):t.$hostElement$[n](o)}catch(e){v(e,t.$hostElement$)}},Yn=(t,n,o)=>e.hostListenerTargetDocument&&4&o?t:e.hostListenerTargetWindow&&8&o?R:e.hostListenerTargetBody&&16&o?t.body:e.hostListenerTargetParent&&32&o&&n.parentElement?n.parentElement:n,Jn=t=>({passive:!!(1&t),capture:!!(2&t)}),Xn=e.lazyLoad?class{}:globalThis.HTMLElement||class{},qn=t=>A.T=t,Kn=new WeakMap,Qn=void 0;function Gn(t){return Qn?Qn(t):t}function Zn(t,e,n){const o=e||{},{children:s,...r}=o;let i=r;return void 0===n||"key"in r||(i={...r,key:n}),i&&0===Object.keys(i).length&&(i=null),void 0!==s?Array.isArray(s)?Bt(t,i,...s):Bt(t,i,s):Bt(t,i)}var to=(t,e,n,o)=>{var s;null!=e&&(null!=e["s-nr"]&&o.push(e),1===e.nodeType)&&[...Array.from(e.childNodes),...Array.from((null==(s=e.shadowRoot)?void 0:s.childNodes)||[])].forEach((e=>{const s=d(e);null==s||n.staticComponents.has(e.nodeName.toLowerCase())||eo(t,e,s.J,n,{nodeIds:0}),to(t,e,n,o)}))},eo=(t,e,n,o,s)=>{if(null!=n){const r=++o.hostIds;if(e.setAttribute(O,r),null!=e["s-cr"]&&(e["s-cr"].nodeValue="r."+r),null!=n.M){const e=0;n.M.forEach(((n,o)=>{no(t,n,s,r,e,o)}))}if(e&&n&&n.F&&!e.hasAttribute(_)){const t=e.parentElement;if(t&&t.childNodes){const o=Array.from(t.childNodes),s=o.find((t=>8===t.nodeType&&t["s-sr"]));if(s){const t=o.indexOf(e)-1;n.F.setAttribute(_,`${s["s-host-id"]}.${s["s-node-id"]}.0.${t}`)}}}}},no=(t,e,n,o,s,r)=>{const i=e.F;if(null==i)return;const l=n.nodeIds++,c=`${o}.${l}.${s}.${r}`;if(i["s-host-id"]=o,i["s-node-id"]=l,1===i.nodeType)i.setAttribute(_,c),"string"!=typeof i["s-sn"]||i.getAttribute("slot")||i.setAttribute("s-sn",i["s-sn"]);else if(3===i.nodeType){const e=i.parentNode,n=null==e?void 0:e.nodeName;if("STYLE"!==n&&"SCRIPT"!==n){const n=t.createComment("t."+c);dn(e,n,i)}}else 8===i.nodeType&&i["s-sr"]&&(i.nodeValue=`s.${c}.${i["s-sn"]||""}`);if(null!=e.M){const r=s+1;e.M.forEach(((e,s)=>{no(t,e,n,o,r,s)}))}},oo=Object.freeze({__proto__:null,BUILD:e,Build:n,Env:{},Fragment:zn,H:M,HTMLElement:M,HYDRATED_STYLE_ID:C,Host:Vt,Mixin:function(...t){return t.reduceRight(((t,e)=>e(t)),Xn)},NAMESPACE:t,STENCIL_DEV_MODE:g,addHostEventListeners:Vn,bootstrapLazy:Bn,cmpModules:w,connectedCallback:In,consoleDevError:$,consoleDevInfo:y,consoleDevWarn:b,consoleError:v,createEvent:(t,n,o)=>{const s=He(t);return{emit:t=>(e.isDev&&!s.isConnected&&b(`The "${n}" event was emitted, but the dispatcher node is no longer connected to the dom.`),Fe(s,n,{bubbles:!!(4&o),composed:!!(2&o),cancelable:!!(1&o),detail:t}))}},defineCustomElement:(t,e)=>{customElements.define(Gn(e[1]),Un(t,e))},disconnectedCallback:Pn,forceModeUpdate:t=>{if(e.style&&e.mode&&!e.lazyLoad){const e=Te(t),n=d(t);if(n&&n.k!==e){const o=n.o,s=t["s-sc"],r=Ht(o,e),i=t.constructor.style[e],l=o.u;i&&(j.has(r)||At(r,i,!!(1&l)),n.k=e,t.classList.remove(s+"-h",s+"-s"),It(n),Cn(t))}}},forceUpdate:Cn,getAssetPath:t=>{const e=new URL(t,A.N);return e.origin!==R.location.origin?e.href:e.pathname},getElement:He,getHostRef:d,getMode:t=>{var e;return null==(e=d(t))?void 0:e.k},getRenderingRef:()=>jn,getValue:Ln,h:Bt,insertVdomAnnotations:(t,e)=>{if(null!=t){const n=E in t?t[E]:{...k};n.staticComponents=new Set(e);const o=[];to(t,t.body,n,o),o.forEach((e=>{var o;if(null!=e&&e["s-nr"]){const s=e["s-nr"];let r=s["s-host-id"],i=s["s-node-id"],l=`${r}.${i}`;if(null==r)if(r=0,n.rootLevelIds++,i=n.rootLevelIds,l=`${r}.${i}`,1===s.nodeType)s.setAttribute(_,l),"string"!=typeof s["s-sn"]||s.getAttribute("slot")||s.setAttribute("s-sn",s["s-sn"]);else if(3===s.nodeType){if(0===r&&""===(null==(o=s.nodeValue)?void 0:o.trim()))return void e.remove();const n=t.createComment(l);n.nodeValue="t."+l,dn(s.parentNode,n,s)}else if(8===s.nodeType){const e=t.createComment(l);e.nodeValue="c."+l,s.parentNode.insertBefore(e,s)}let c="o."+l;const a=e.parentElement;a&&(""===a["s-en"]?c+=".":"c"===a["s-en"]&&(c+=".c")),e.nodeValue=c}}))}},isMemberInElement:m,jsx:Zn,jsxDEV:function(t,e,n){const o=e||{},{children:s,...r}=o;let i=r;return void 0===n||"key"in r||(i={...r,key:n}),i&&0===Object.keys(i).length&&(i=null),void 0!==s?Array.isArray(s)?Bt(t,i,...s):Bt(t,i,s):Bt(t,i)},jsxs:function(t,e,n){return Zn(t,e,n)},loadModule:S,modeResolutionChain:x,needsScopedSSR:()=>!1,nextTick:q,normalizeWatchers:Le,parsePropertyValue:Ie,plt:A,postUpdateComponent:On,promiseResolve:I,proxyComponent:Mn,proxyCustomElement:Un,readTask:K,registerHost:p,registerInstance:h,render:function(t,e){let n=Kn.get(e);n||(n={u:0,o:{u:0,C:e.tagName},$hostElement$:e},Kn.set(e,n)),pn(n,t)},renderVdom:pn,setAssetPath:t=>A.N=t,setErrorHandler:t=>a=t,setMode:t=>x.push(t),setNonce:qn,setPlatformHelpers:t=>{Object.assign(A,t)},setPlatformOptions:t=>Object.assign(A,t),setScopedSSR:()=>{},setTagTransformer:function(t){Qn&&console.warn("\n A tagTransformer has already been set. \n Overwriting it may lead to error and unexpected results if your components have already been defined.\n "),Qn=t},setValue:Rn,styles:j,supportsConstructableStylesheets:H,supportsListenerOptions:!0,supportsMutableAdoptedStyleSheets:F,supportsShadow:D,transformTag:Gn,win:R,writeTask:Q});export{e as B,zn as F,M as H,t as N,oo as S,Vt as a,Bn as b,y as c,Q as d,Cn as f,He as g,Bt as h,I as p,h as r,qn as s,R as w}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as n}from"./p-D0qTf1_a.js";const t=n=>Math.round(100*n)/100;function r(n){return{x:t(n.left),y:t(n.top),width:t(n.width),height:t(n.height)}}function o(n,r){return function(n,r){const o=t(n.width),i=t(n.height);return{context:{x:t(n.left-r.context.x),y:t(n.top-r.context.y),width:o,height:i},component:{x:t(n.left-r.component.x),y:t(n.top-r.component.y),width:o,height:i}}}(n.getBoundingClientRect(),r)}function i(t){const r=t.getBoundingClientRect(),o=n(t),i=o?o.getBoundingClientRect():r;return{context:{x:i.left,y:i.top},component:{x:r.left,y:r.top}}}function u(n){var t,r;return null!==(r=null!==(t=n.getAttribute("id"))&&void 0!==t?t:n.getAttribute("name"))&&void 0!==r?r:void 0}function c(n){var t;return null!==(t=u(n))&&void 0!==t?t:n.localName}function e(n){const t=new Map;return n.map((({tag:n,explicitId:r})=>{var o;const i=null!==(o=t.get(n))&&void 0!==o?o:0;return t.set(n,i+1),null!=r?r:`${n}[${i}]`}))}function a(n){const t=n.getAttribute("has-error");if(!t)return[];try{const n=JSON.parse(t);return Array.isArray(n)?n:[]}catch(n){return[]}}export{c as a,e as b,u as c,o as m,i as o,a as r,r as t}
|