@object-ui/console 3.3.1 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/AppManagementPage-CLr3paaF.js +1 -0
- package/dist/assets/ConsoleFloatingChatbot-C_ClJ2NU.js +1 -0
- package/dist/assets/DashboardView-CODdYLuL.js +1 -0
- package/dist/assets/MetadataDetailPage-C1sWJhl2.js +1 -0
- package/dist/assets/MetadataFormDialog-Cje6P_Wf.js +1 -0
- package/dist/assets/MetadataManagerPage-DobP393N.js +1 -0
- package/dist/assets/PageView-DZHuurne.js +2 -0
- package/dist/assets/ProfilePage-6u6k00rh.js +1 -0
- package/dist/assets/RecordDetailView-cFSCvmx3.js +1 -0
- package/dist/assets/ReportView-oYVEbfYq.js +2 -0
- package/dist/assets/SearchResultsPage-BjAVc5rm.js +1 -0
- package/dist/assets/SystemHubPage-D08IDX3M.js +1 -0
- package/dist/assets/data-adapter-CleWpyQH.js +1 -0
- package/dist/assets/framework-CoXA0nY6.js +2 -0
- package/dist/assets/getIcon-vBP44wSb.js +1 -0
- package/dist/assets/index-98Lfd5ty.js +2 -0
- package/dist/assets/index-C162ArSl.css +2 -0
- package/dist/assets/{infrastructure-94fpO8jL.js → infrastructure-Djv3I7gr.js} +2 -2
- package/dist/assets/plugin-calendar-DX_UWouT.js +1 -0
- package/dist/assets/plugin-charts-BvZ1cSiZ.js +7 -0
- package/dist/assets/plugin-chatbot-DeSEtutf.js +24 -0
- package/dist/assets/plugin-form-BhbVu8jO.js +1 -0
- package/dist/assets/plugin-gantt-BG1WaV_b.js +1 -0
- package/dist/assets/plugin-grid-DwpWK0E8.js +8 -0
- package/dist/assets/plugin-kanban-Dzjqra5U.js +1 -0
- package/dist/assets/plugin-map-B7EfyDsf.js +1 -0
- package/dist/assets/plugin-map-CsMXqW6n.css +1 -0
- package/dist/assets/plugin-markdown-CiHluuxA.js +7 -0
- package/dist/assets/plugin-timeline-D8_YFDQQ.js +1 -0
- package/dist/assets/plugin-view-CXAFUa14.js +1 -0
- package/dist/assets/plugins-views-C5gstDGy.js +63 -0
- package/dist/assets/src-iMF4J4F7.js +1 -0
- package/dist/assets/ui-components-BCmPcwhR.js +36 -0
- package/dist/assets/ui-layout-BLl7ARoe.js +1 -0
- package/dist/assets/vendor-charts-DHZsyaJw.js +36 -0
- package/dist/assets/vendor-dndkit-BGB4qgc3.js +5 -0
- package/dist/assets/vendor-i18n-D3W5EAHR.js +1 -0
- package/dist/assets/vendor-icons-core-s9WPLoP3.js +1 -0
- package/dist/assets/vendor-markdown-D-LpQJes.js +29 -0
- package/dist/assets/vendor-objectstack-CBpPY_xk.js +39 -0
- package/dist/assets/vendor-radix-Bj7uHNWN.js +56 -0
- package/dist/assets/vendor-react-B1k2FF9f.js +11 -0
- package/dist/assets/vendor-ui-utils-AywTz3cM.js +1 -0
- package/dist/index.html +7 -26
- package/package.json +33 -33
- package/dist/assets/AdapterProvider-Cd4HYb7q.js +0 -1
- package/dist/assets/AdvancedChartImpl-AY6sVw1n.js +0 -7
- package/dist/assets/AppManagementPage-6l5ZKnv5.js +0 -1
- package/dist/assets/ChartImpl-DiKY5voi.js +0 -1
- package/dist/assets/DashboardView-BnX2k5Kx.js +0 -1
- package/dist/assets/KanbanEnhanced-BKCx2XIr.js +0 -1
- package/dist/assets/KanbanImpl-e9jzV-UD.js +0 -1
- package/dist/assets/MarkdownImpl-B-r7jSIS.js +0 -1
- package/dist/assets/MetadataDetailPage--3o8VI1T.js +0 -1
- package/dist/assets/MetadataFormDialog-Cy7k0Y55.js +0 -1
- package/dist/assets/MetadataInspector-DVtCDQtx.js +0 -1
- package/dist/assets/MetadataManagerPage-CYfvXG6X.js +0 -1
- package/dist/assets/MetadataProvider-Dvc9BxbC.js +0 -1
- package/dist/assets/PageView-CUDEz8Xo.js +0 -2
- package/dist/assets/ProfilePage-B0BXoAus.js +0 -1
- package/dist/assets/RecordDetailView-CYgcTNQp.js +0 -1
- package/dist/assets/ReportView-ovWyjJsZ.js +0 -1
- package/dist/assets/SearchResultsPage-B-NchFoJ.js +0 -1
- package/dist/assets/SystemHubPage-D8S1hN1a.js +0 -1
- package/dist/assets/data-adapter-v22lWuhc.js +0 -39
- package/dist/assets/framework-BW6KsEI0.js +0 -2
- package/dist/assets/getIcon-N5xWCMJy.js +0 -1
- package/dist/assets/index-DATdOX6r.js +0 -59
- package/dist/assets/index-nwlbpqhl.css +0 -2
- package/dist/assets/plugins-core-Ccvbi6db.js +0 -105
- package/dist/assets/plugins-views-CbLIJkBs.js +0 -62
- package/dist/assets/skeletons-CIQE_YYE.js +0 -1
- package/dist/assets/src-BGoL_8qF.js +0 -1
- package/dist/assets/ui-layout-CYz0tyDf.js +0 -3
- package/dist/assets/vendor-charts-D1AP0-EV.js +0 -33
- package/dist/assets/vendor-icons-CrSf7tAH.js +0 -1
- package/dist/assets/vendor-objectstack-Dhrq31KF.js +0 -1
- package/dist/assets/vendor-react-ryfytPb-.js +0 -9
- /package/dist/assets/{maplibre-gl-BR3qC6SX.js → maplibre-gl-ChgVR8ni.js} +0 -0
- /package/dist/assets/{plugins-core-B5ROGaJH.css → ui-components-B5ROGaJH.css} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.maplibregl-map{-webkit-tap-highlight-color:#0000;font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;position:relative;overflow:hidden}.maplibregl-canvas{position:absolute;top:0;left:0}.maplibregl-map:fullscreen{width:100%;height:100%}.maplibregl-ctrl-group button.maplibregl-ctrl-compass{touch-action:none}.maplibregl-canvas-container.maplibregl-interactive,.maplibregl-ctrl-group button.maplibregl-ctrl-compass{cursor:grab;user-select:none}.maplibregl-canvas-container.maplibregl-interactive.maplibregl-track-pointer{cursor:pointer}.maplibregl-canvas-container.maplibregl-interactive:active,.maplibregl-ctrl-group button.maplibregl-ctrl-compass:active{cursor:grabbing}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-canvas-container.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:pinch-zoom}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:none}.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures,.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right,.maplibregl-ctrl-top-left,.maplibregl-ctrl-top-right{pointer-events:none;z-index:2;position:absolute}.maplibregl-ctrl-top-left{top:0;left:0}.maplibregl-ctrl-top-right{top:0;right:0}.maplibregl-ctrl-bottom-left{bottom:0;left:0}.maplibregl-ctrl-bottom-right{bottom:0;right:0}.maplibregl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.maplibregl-ctrl-top-left .maplibregl-ctrl{float:left;margin:10px 0 0 10px}.maplibregl-ctrl-top-right .maplibregl-ctrl{float:right;margin:10px 10px 0 0}.maplibregl-ctrl-bottom-left .maplibregl-ctrl{float:left;margin:0 0 10px 10px}.maplibregl-ctrl-bottom-right .maplibregl-ctrl{float:right;margin:0 10px 10px 0}.maplibregl-ctrl-group{background:#fff;border-radius:4px}.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px #0000001a}@media (forced-colors:active){.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px buttontext}}.maplibregl-ctrl-group button{box-sizing:border-box;cursor:pointer;background-color:#0000;border:0;outline:none;width:29px;height:29px;padding:0;display:block}.maplibregl-ctrl-group button+button{border-top:1px solid #ddd}.maplibregl-ctrl button .maplibregl-ctrl-icon{background-position:50%;background-repeat:no-repeat;width:100%;height:100%;display:block}@media (forced-colors:active){.maplibregl-ctrl-icon{background-color:#0000}.maplibregl-ctrl-group button+button{border-top:1px solid buttontext}}.maplibregl-ctrl button::-moz-focus-inner{border:0;padding:0}.maplibregl-ctrl-attrib-button:focus,.maplibregl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl button:disabled{cursor:not-allowed}.maplibregl-ctrl button:disabled .maplibregl-ctrl-icon{opacity:.25}@media (hover:hover){.maplibregl-ctrl button:not(:disabled):hover{background-color:#0000000d}}.maplibregl-ctrl button:not(:disabled):active{background-color:#0000000d}.maplibregl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.maplibregl-ctrl-group button:focus:first-child{border-radius:4px 4px 0 0}.maplibregl-ctrl-group button:focus:last-child{border-radius:0 0 4px 4px}.maplibregl-ctrl-group button:focus:only-child{border-radius:inherit}.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-globe .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' stroke='%23333' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='8.5'/%3E%3Cpath d='M17.5 11c0 4.819-3.02 8.5-6.5 8.5S4.5 15.819 4.5 11 7.52 2.5 11 2.5s6.5 3.681 6.5 8.5Z'/%3E%3Cpath d='M13.5 11c0 2.447-.331 4.64-.853 6.206-.262.785-.562 1.384-.872 1.777-.314.399-.58.517-.775.517s-.461-.118-.775-.517c-.31-.393-.61-.992-.872-1.777C8.831 15.64 8.5 13.446 8.5 11s.331-4.64.853-6.206c.262-.785.562-1.384.872-1.777.314-.399.58-.517.775-.517s.461.118.775.517c.31.393.61.992.872 1.777.522 1.565.853 3.76.853 6.206Z'/%3E%3Cpath d='M11 7.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138q.07-.058.224-.138c.299-.151.763-.302 1.379-.434C7.378 5.666 9.091 5.5 11 5.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138q-.07.058-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428ZM4.486 6.436ZM11 16.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138 1.3 1.3 0 0 1 .224-.138c.299-.151.763-.302 1.379-.434C7.378 14.666 9.091 14.5 11 14.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138a1.3 1.3 0 0 1-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428Zm-6.514-1.064ZM11 12.5c-2.46 0-4.672-.222-6.255-.574-.796-.177-1.406-.38-1.805-.59a1.5 1.5 0 0 1-.39-.272.3.3 0 0 1-.047-.064.3.3 0 0 1 .048-.064c.066-.073.189-.167.389-.272.399-.21 1.009-.413 1.805-.59C6.328 9.722 8.54 9.5 11 9.5s4.672.222 6.256.574c.795.177 1.405.38 1.804.59.2.105.323.2.39.272a.3.3 0 0 1 .047.064.3.3 0 0 1-.048.064 1.4 1.4 0 0 1-.389.272c-.399.21-1.009.413-1.804.59-1.584.352-3.796.574-6.256.574Zm-8.501-1.51v.002zm0 .018v.002zm17.002.002v-.002zm0-.018v-.002z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-globe-enabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' stroke='%2333b5e5' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='8.5'/%3E%3Cpath d='M17.5 11c0 4.819-3.02 8.5-6.5 8.5S4.5 15.819 4.5 11 7.52 2.5 11 2.5s6.5 3.681 6.5 8.5Z'/%3E%3Cpath d='M13.5 11c0 2.447-.331 4.64-.853 6.206-.262.785-.562 1.384-.872 1.777-.314.399-.58.517-.775.517s-.461-.118-.775-.517c-.31-.393-.61-.992-.872-1.777C8.831 15.64 8.5 13.446 8.5 11s.331-4.64.853-6.206c.262-.785.562-1.384.872-1.777.314-.399.58-.517.775-.517s.461.118.775.517c.31.393.61.992.872 1.777.522 1.565.853 3.76.853 6.206Z'/%3E%3Cpath d='M11 7.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138q.07-.058.224-.138c.299-.151.763-.302 1.379-.434C7.378 5.666 9.091 5.5 11 5.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138q-.07.058-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428ZM4.486 6.436ZM11 16.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138 1.3 1.3 0 0 1 .224-.138c.299-.151.763-.302 1.379-.434C7.378 14.666 9.091 14.5 11 14.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138a1.3 1.3 0 0 1-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428Zm-6.514-1.064ZM11 12.5c-2.46 0-4.672-.222-6.255-.574-.796-.177-1.406-.38-1.805-.59a1.5 1.5 0 0 1-.39-.272.3.3 0 0 1-.047-.064.3.3 0 0 1 .048-.064c.066-.073.189-.167.389-.272.399-.21 1.009-.413 1.805-.59C6.328 9.722 8.54 9.5 11 9.5s4.672.222 6.256.574c.795.177 1.405.38 1.804.59.2.105.323.2.39.272a.3.3 0 0 1 .047.064.3.3 0 0 1-.048.064 1.4 1.4 0 0 1-.389.272c-.399.21-1.009.413-1.804.59-1.584.352-3.796.574-6.256.574Zm-8.501-1.51v.002zm0 .018v.002zm17.002.002v-.002zm0-.018v-.002z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-terrain .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='%23333' viewBox='0 0 22 22'%3E%3Cpath d='m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-terrain-enabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='%2333b5e5' viewBox='0 0 22 22'%3E%3Cpath d='m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23aaa' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-waiting .maplibregl-ctrl-icon{animation:2s linear infinite maplibregl-spin}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23999' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23666' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}}@keyframes maplibregl-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}a.maplibregl-ctrl-logo{cursor:pointer;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;width:88px;height:23px;margin:0 0 -4px -4px;display:block;overflow:hidden}a.maplibregl-ctrl-logo.maplibregl-compact{width:14px}@media (forced-colors:active){a.maplibregl-ctrl-logo{background-color:#0000;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){a.maplibregl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E")}}.maplibregl-ctrl.maplibregl-ctrl-attrib{background-color:#ffffff80;margin:0;padding:0 5px}@media screen{.maplibregl-ctrl-attrib.maplibregl-compact{box-sizing:content-box;color:#000;background-color:#fff;border-radius:12px;min-height:20px;margin:10px;padding:2px 24px 2px 0;position:relative}.maplibregl-ctrl-attrib.maplibregl-compact-show{visibility:visible;padding:2px 28px 2px 8px}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact-show,.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-inner{display:none}.maplibregl-ctrl-attrib-button{box-sizing:border-box;cursor:pointer;background-color:#ffffff80;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E");border:0;border-radius:12px;outline:none;width:24px;height:24px;display:none;position:absolute;top:0;right:0}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button{appearance:none;list-style:none}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button::-webkit-details-marker{display:none}.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-top-left .maplibregl-ctrl-attrib-button{left:0}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-inner{display:block}.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-button{background-color:#0000000d}.maplibregl-ctrl-bottom-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;right:0}.maplibregl-ctrl-top-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{top:0;right:0}.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{top:0;left:0}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;left:0}}@media screen and (forced-colors:active){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%23fff' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}@media screen and (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}.maplibregl-ctrl-attrib a{color:#000000bf;text-decoration:none}.maplibregl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.maplibregl-attrib-empty{display:none}.maplibregl-ctrl-scale{box-sizing:border-box;color:#333;white-space:nowrap;background-color:#ffffffbf;border:2px solid #333;border-top:#333;padding:0 5px;font-size:10px}.maplibregl-popup{pointer-events:none;will-change:transform;display:flex;position:absolute;top:0;left:0}.maplibregl-popup-anchor-top,.maplibregl-popup-anchor-top-left,.maplibregl-popup-anchor-top-right{flex-direction:column}.maplibregl-popup-anchor-bottom,.maplibregl-popup-anchor-bottom-left,.maplibregl-popup-anchor-bottom-right{flex-direction:column-reverse}.maplibregl-popup-anchor-left{flex-direction:row}.maplibregl-popup-anchor-right{flex-direction:row-reverse}.maplibregl-popup-tip{z-index:1;border:10px solid #0000;width:0;height:0}.maplibregl-popup-anchor-top .maplibregl-popup-tip{border-top:none;border-bottom-color:#fff;align-self:center}.maplibregl-popup-anchor-top-left .maplibregl-popup-tip{border-top:none;border-bottom-color:#fff;border-left:none;align-self:flex-start}.maplibregl-popup-anchor-top-right .maplibregl-popup-tip{border-top:none;border-bottom-color:#fff;border-right:none;align-self:flex-end}.maplibregl-popup-anchor-bottom .maplibregl-popup-tip{border-top-color:#fff;border-bottom:none;align-self:center}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip{border-top-color:#fff;border-bottom:none;border-left:none;align-self:flex-start}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{border-top-color:#fff;border-bottom:none;border-right:none;align-self:flex-end}.maplibregl-popup-anchor-left .maplibregl-popup-tip{border-left:none;border-right-color:#fff;align-self:center}.maplibregl-popup-anchor-right .maplibregl-popup-tip{border-left-color:#fff;border-right:none;align-self:center}[dir=rtl] .maplibregl-popup-anchor-left{flex-direction:row-reverse}[dir=rtl] .maplibregl-popup-anchor-right{flex-direction:row}[dir=rtl] .maplibregl-popup-anchor-top-left .maplibregl-popup-tip{align-self:flex-end}[dir=rtl] .maplibregl-popup-anchor-top-right .maplibregl-popup-tip{align-self:flex-start}[dir=rtl] .maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip{align-self:flex-end}[dir=rtl] .maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{align-self:flex-start}.maplibregl-popup-close-button{cursor:pointer;background-color:#0000;border:0;border-radius:0 3px 0 0;position:absolute;top:0;right:0}.maplibregl-popup-close-button:hover{background-color:#0000000d}.maplibregl-popup-content{pointer-events:auto;background:#fff;border-radius:3px;padding:15px 10px;position:relative;box-shadow:0 1px 2px #0000001a}.maplibregl-popup-anchor-top-left .maplibregl-popup-content{border-top-left-radius:0}.maplibregl-popup-anchor-top-right .maplibregl-popup-content{border-top-right-radius:0}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-content{border-bottom-left-radius:0}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-content{border-bottom-right-radius:0}.maplibregl-popup-track-pointer{display:none}.maplibregl-popup-track-pointer *{pointer-events:none;user-select:none}.maplibregl-map:hover .maplibregl-popup-track-pointer{display:flex}.maplibregl-map:active .maplibregl-popup-track-pointer{display:none}.maplibregl-marker{will-change:transform;transition:opacity .2s;position:absolute;top:0;left:0}.maplibregl-user-location-dot,.maplibregl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;width:15px;height:15px}.maplibregl-user-location-dot:before{content:"";animation:2s infinite maplibregl-user-location-dot-pulse;position:absolute}.maplibregl-user-location-dot:after{box-sizing:border-box;content:"";border:2px solid #fff;border-radius:50%;width:19px;height:19px;position:absolute;top:-2px;left:-2px;box-shadow:0 0 3px #00000059}@media (prefers-reduced-motion:reduce){.maplibregl-user-location-dot:before{animation:none}}@keyframes maplibregl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.maplibregl-user-location-dot-stale{background-color:#aaa}.maplibregl-user-location-dot-stale:after{display:none}.maplibregl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;width:1px;height:1px}.maplibregl-crosshair,.maplibregl-crosshair .maplibregl-interactive,.maplibregl-crosshair .maplibregl-interactive:active{cursor:crosshair}.maplibregl-boxzoom{opacity:.5;background:#fff;border:2px dotted #202020;width:0;height:0;position:absolute;top:0;left:0}.maplibregl-cooperative-gesture-screen{color:#fff;opacity:0;pointer-events:none;z-index:99999;background:#0006;justify-content:center;align-items:center;padding:1rem;font-size:1.4em;line-height:1.2;transition:opacity 1s 1s;display:flex;position:absolute;inset:0}.maplibregl-cooperative-gesture-screen.maplibregl-show{opacity:1;transition:opacity 50ms}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:none}@media (hover:none),(pointer:coarse){.maplibregl-cooperative-gesture-screen .maplibregl-desktop-message{display:none}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:block}}.maplibregl-pseudo-fullscreen{z-index:99999;width:100%!important;height:100%!important;position:fixed!important;top:0!important;left:0!important}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{n as e,r as t}from"./rolldown-runtime-S-ySWqyJ.js";import{_ as n,m as r,t as i}from"./vendor-react-B1k2FF9f.js";import{H as a}from"./framework-CoXA0nY6.js";import{Ht as o}from"./ui-components-BCmPcwhR.js";import{n as s,r as c,t as l}from"./vendor-markdown-D-LpQJes.js";var u=e({default:()=>p}),d=t(n(),1),f=i();function p({content:e,className:t}){return(0,f.jsx)(`div`,{"data-slot":`markdown`,className:((...e)=>e.filter(Boolean).join(` `))(`prose prose-sm dark:prose-invert max-w-none`,`prose-headings:font-semibold prose-headings:tracking-tight`,`prose-h1:text-3xl prose-h2:text-2xl prose-h3:text-xl`,`prose-p:leading-relaxed prose-p:text-foreground`,`prose-a:text-primary prose-a:no-underline hover:prose-a:underline`,`prose-code:text-foreground prose-code:bg-muted prose-code:px-1 prose-code:py-0.5 prose-code:rounded prose-code:before:content-none prose-code:after:content-none`,`prose-pre:bg-muted prose-pre:text-foreground prose-pre:border`,`prose-blockquote:border-l-primary prose-blockquote:text-muted-foreground`,`prose-strong:text-foreground prose-strong:font-semibold`,`prose-ul:list-disc prose-ol:list-decimal`,`prose-li:text-foreground prose-li:marker:text-muted-foreground`,`prose-table:border prose-th:border prose-th:bg-muted prose-td:border`,`prose-img:rounded-md prose-img:border`,t),children:(0,f.jsx)(c,{remarkPlugins:[s],rehypePlugins:[l],disallowedElements:[`script`,`style`,`iframe`,`object`,`embed`],unwrapDisallowed:!0,children:e})})}var m=e({MarkdownRenderer:()=>g,markdownComponents:()=>_}),h=d.lazy(()=>r(()=>Promise.resolve().then(()=>u),void 0)),g=({schema:e})=>(0,f.jsx)(d.Suspense,{fallback:(0,f.jsx)(o,{className:`w-full h-[200px]`}),children:(0,f.jsx)(h,{content:e.content||``,className:e.className})});a.register(`markdown`,g,{namespace:`plugin-markdown`,label:`Markdown`,category:`plugin`,inputs:[{name:`content`,type:`string`,label:`Markdown Content`,required:!0,inputType:`textarea`},{name:`className`,type:`string`,label:`CSS Class`}],defaultProps:{content:`# Hello World
|
|
2
|
+
|
|
3
|
+
This is a **markdown** component with *formatting* support.
|
|
4
|
+
|
|
5
|
+
- Item 1
|
|
6
|
+
- Item 2
|
|
7
|
+
- Item 3`}});var _={markdown:g};export{u as n,m as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e,r as t}from"./rolldown-runtime-S-ySWqyJ.js";import{_ as n,t as r}from"./vendor-react-B1k2FF9f.js";import{H as i,L as a,M as o,R as s,j as c,w as l}from"./framework-CoXA0nY6.js";import{g as u,n as d,p as f}from"./vendor-zod-Dfb8LXKF.js";import{n as p}from"./vendor-ui-utils-AywTz3cM.js";import{NL as m,PL as h,nt as g}from"./ui-components-BCmPcwhR.js";import{i as _}from"./plugin-grid-DwpWK0E8.js";var v=r(),y=10080*60*1e3;function b(e){let t=e.flatMap(e=>(e.items||[]).flatMap(e=>[e.startDate,e.endDate])),n=Math.min(...t.map(e=>new Date(e).getTime())),r=Math.max(...t.map(e=>new Date(e).getTime()));return{minDate:new Date(n).toISOString().split(`T`)[0],maxDate:new Date(r).toISOString().split(`T`)[0]}}function x(e,t,n,r){let i=new Date(e).getTime(),a=new Date(t).getTime(),o=new Date(n).getTime(),s=new Date(r).getTime()-o,c=i-o,l=a-i;return{start:c/s*100,width:l/s*100}}function S(e,t){let n=new Date(e);return t===`short`?n.toLocaleDateString():t===`long`?n.toLocaleDateString(`en-US`,{year:`numeric`,month:`long`,day:`numeric`}):n.toISOString().split(`T`)[0]}var C=({schema:e,className:t,...n})=>{let{variant:r=`vertical`,items:i=[],dateFormat:a=`short`,onItemClick:o}=e;if(r===`vertical`)return(0,v.jsx)(O,{className:t,...n,children:i.map((e,t)=>(0,v.jsxs)(A,{className:m(e.className,o&&`cursor-pointer`),onClick:()=>o?.(e),children:[(0,v.jsx)(M,{variant:e.variant||`default`,children:e.icon&&(0,v.jsx)(`span`,{className:`text-xs`,children:e.icon})}),(0,v.jsxs)(N,{children:[e.time&&(0,v.jsx)(F,{dateTime:e.time,children:S(e.time,a)}),e.title&&(0,v.jsx)(P,{children:e.title}),e.description&&(0,v.jsx)(I,{className:`line-clamp-2 sm:line-clamp-none`,children:e.description}),e.content&&h(e.content)]})]},t))});if(r===`horizontal`)return(0,v.jsx)(L,{className:m(`overflow-x-auto [-webkit-overflow-scrolling:touch]`,t),...n,children:i.map((e,t)=>(0,v.jsxs)(R,{className:m(e.className,o&&`cursor-pointer`),onClick:()=>o?.(e),children:[(0,v.jsxs)(`div`,{className:`flex flex-col items-center`,children:[(0,v.jsx)(M,{variant:e.variant||`default`,children:e.icon&&(0,v.jsx)(`span`,{className:`text-xs`,children:e.icon})}),(0,v.jsxs)(`div`,{className:`mt-4 text-center`,children:[e.time&&(0,v.jsx)(F,{dateTime:e.time,children:S(e.time,a)}),e.title&&(0,v.jsx)(P,{children:e.title}),e.description&&(0,v.jsx)(I,{className:`text-center line-clamp-2 sm:line-clamp-none`,children:e.description}),e.content&&h(e.content)]})]}),t<i.length-1&&(0,v.jsx)(`div`,{className:`absolute left-full w-16 border-t-2 border-gray-200 top-3`})]},t))});if(r===`gantt`){let r=b(i),s=e.minDate||r.minDate,c=e.maxDate||r.maxDate,l=e.timeScale||`month`,u=(()=>{let e=[],t=new Date(s),n=new Date(c);if(l===`month`){let r=new Date(t);for(;r<=n;)e.push(r.toLocaleDateString(`en-US`,{month:`short`,year:`numeric`})),r.setMonth(r.getMonth()+1)}else if(l===`week`){let r=new Date(t);for(;r<=n;)e.push(`Week ${Math.ceil((r.getTime()-t.getTime())/y)+1}`),r.setDate(r.getDate()+7)}else if(l===`day`){let r=new Date(t);for(;r<=n;)e.push(r.toLocaleDateString(`en-US`,{month:`short`,day:`numeric`})),r.setDate(r.getDate()+1)}return e})();return(0,v.jsxs)(z,{className:m(`overflow-x-auto [-webkit-overflow-scrolling:touch]`,t),...n,children:[(0,v.jsxs)(B,{children:[(0,v.jsx)(V,{className:`flex items-center px-2 sm:px-4 py-2 sm:py-3`,children:(0,v.jsx)(`span`,{className:`font-semibold text-xs sm:text-sm`,children:e.rowLabel||`Items`})}),(0,v.jsx)(H,{children:(0,v.jsx)(`div`,{className:`flex h-full`,children:u.map((e,t)=>(0,v.jsx)(`div`,{className:`flex-1 px-1 sm:px-2 py-2 sm:py-3 border-r text-xs font-medium text-center`,children:e},t))})})]}),(0,v.jsx)(`div`,{children:(0,v.jsxs)(`div`,{className:`flex`,children:[(0,v.jsx)(V,{children:i.map((e,t)=>(0,v.jsx)(U,{children:(0,v.jsx)(W,{title:e.label,className:`truncate`,children:e.label})},t))}),(0,v.jsx)(H,{className:`relative`,children:i.map((e,t)=>(0,v.jsx)(U,{className:`relative`,children:(e.items||[]).map((n,r)=>{let i=x(n.startDate,n.endDate,s,c);return(0,v.jsx)(G,{start:i.start,width:i.width,variant:n.variant||`default`,onClick:()=>o?.(n,e,t,r),title:`${n.title||``}\n${S(n.startDate,a)} - ${S(n.endDate,a)}`,children:(0,v.jsx)(K,{children:n.title})},r)})},t))})]})})]})}return null};i.register(`timeline`,C,{namespace:`plugin-timeline`,label:`Timeline`,category:`data-display`,inputs:[{name:`variant`,type:`enum`,enum:[`vertical`,`horizontal`,`gantt`],label:`Timeline Variant`,defaultValue:`vertical`},{name:`items`,type:`array`,label:`Timeline Items`,description:`For vertical/horizontal: Array of { time, title, description, variant, icon, content }. For gantt: Array of { label, items: [{ title, startDate, endDate, variant }] }`},{name:`dateFormat`,type:`enum`,enum:[`short`,`long`,`iso`],label:`Date Format`,defaultValue:`short`},{name:`timeScale`,type:`enum`,enum:[`day`,`week`,`month`],label:`Time Scale (Gantt only)`,defaultValue:`month`},{name:`rowLabel`,type:`string`,label:`Row Label (Gantt only)`,defaultValue:`Items`},{name:`minDate`,type:`string`,label:`Min Date (Gantt only)`,description:`Override auto-calculated min date (YYYY-MM-DD)`},{name:`maxDate`,type:`string`,label:`Max Date (Gantt only)`,description:`Override auto-calculated max date (YYYY-MM-DD)`},{name:`className`,type:`string`,label:`CSS Class`}],defaultProps:{variant:`vertical`,dateFormat:`short`,items:[{time:`2024-01-15`,title:`Project Started`,description:`Kickoff meeting and initial planning`,variant:`success`,icon:`🚀`},{time:`2024-02-01`,title:`First Milestone`,description:`Completed initial design phase`,variant:`info`,icon:`🎨`},{time:`2024-03-15`,title:`Beta Release`,description:`Released beta version to testers`,variant:`warning`,icon:`⚡`},{time:`2024-04-01`,title:`Launch`,description:`Official product launch`,variant:`success`,icon:`🎉`}]},examples:{vertical:{variant:`vertical`,dateFormat:`long`,items:[{time:`2024-01-15`,title:`Project Started`,description:`Kickoff meeting and initial planning`,variant:`success`},{time:`2024-02-01`,title:`First Milestone`,description:`Completed initial design phase`,variant:`info`}]},horizontal:{variant:`horizontal`,dateFormat:`short`,items:[{time:`2024-01-01`,title:`Q1`,description:`First quarter`,variant:`default`},{time:`2024-04-01`,title:`Q2`,description:`Second quarter`,variant:`info`},{time:`2024-07-01`,title:`Q3`,description:`Third quarter`,variant:`warning`},{time:`2024-10-01`,title:`Q4`,description:`Fourth quarter`,variant:`success`}]},gantt:{variant:`gantt`,dateFormat:`short`,timeScale:`month`,rowLabel:`Projects`,items:[{label:`Backend Development`,items:[{title:`API Design`,startDate:`2024-01-01`,endDate:`2024-01-31`,variant:`success`},{title:`Implementation`,startDate:`2024-02-01`,endDate:`2024-03-31`,variant:`info`}]},{label:`Frontend Development`,items:[{title:`UI Design`,startDate:`2024-01-15`,endDate:`2024-02-15`,variant:`warning`},{title:`Component Dev`,startDate:`2024-02-15`,endDate:`2024-04-15`,variant:`default`}]},{label:`Testing`,items:[{title:`QA Phase`,startDate:`2024-03-01`,endDate:`2024-04-30`,variant:`danger`}]}]}}});var w=t(n(),1),T=f({mapping:f({title:u().optional(),date:u().optional(),description:u().optional(),variant:u().optional()}).optional(),objectName:u().optional(),titleField:u().optional(),dateField:u().optional(),startDateField:u().optional(),endDateField:u().optional(),descriptionField:u().optional(),groupByField:u().optional(),colorField:u().optional(),scale:d([`hour`,`day`,`week`,`month`,`quarter`,`year`]).optional()}),E=({schema:e,dataSource:t,className:n,onRowClick:r,onItemClick:i,...o})=>{let[u,d]=(0,w.useState)([]),[f,p]=(0,w.useState)(!1),[m,h]=(0,w.useState)(null),[y,b]=(0,w.useState)(0),[x,S]=(0,w.useState)(null),E=e.timeline;(0,w.useEffect)(()=>{let t=T.safeParse(e);t.success||console.warn(`[ObjectTimeline] Invalid timeline configuration:`,t.error.format())},[e]);let D=c(e.bind);(0,w.useEffect)(()=>{let n=!0;return(async()=>{if(!(!t||typeof t.getObjectSchema!=`function`||!e.objectName))try{let r=await t.getObjectSchema(e.objectName);n&&S(r)}catch(e){console.warn(`Failed to fetch object def for ObjectTimeline`,e)}})(),()=>{n=!1}},[e.objectName,t]),(0,w.useEffect)(()=>{e.objectName&&!D&&!e.items&&!o.data&&(async()=>{if(!(!t||typeof t.find!=`function`||!e.objectName)){p(!0);try{let n=a(x?.fields);d(s(await t.find(e.objectName,{options:{$top:100},...n.length>0?{$expand:n}:{}})))}catch(e){console.error(e),h(e)}finally{p(!1)}}})()},[e.objectName,t,D,e.items,o.data,y,x]);let O=o.data||D||u,k=e.items;if(!k&&O&&Array.isArray(O)){let t=E?.titleField??e.mapping?.title??e.titleField??`name`,n=E?.startDateField??e.mapping?.date??e.startDateField??e.dateField??`date`,r=E?.endDateField??e.endDateField??n,i=e.mapping?.description??e.descriptionField??`description`,a=e.mapping?.variant??`variant`,o=E?.groupByField??e.groupByField,s=E?.colorField??e.colorField;k=O.map(e=>({title:e[t],time:e[n],startDate:e[n],endDate:e[r],description:e[i],variant:e[a]||`default`,...o?{group:e[o]}:{},...s?{color:e[s]}:{},_data:e}))}let{ref:A,isRefreshing:j,pullDistance:M}=_({onRefresh:(0,w.useCallback)(async()=>{b(e=>e+1)},[]),enabled:!!e.objectName&&!!t}),N=l({navigation:e.navigation,objectName:e.objectName,onRowClick:r??i}),P=E?.scale??e.scale,F={...e,items:k||[],className:n||e.className,...P?{timeScale:P}:{},onItemClick:e=>{let t=e._data||e;N.handleClick(t),i?.(t)}};return m?(0,v.jsxs)(`div`,{className:`p-4 text-red-500`,children:[`Error loading timeline: `,m.message]}):(0,v.jsxs)(`div`,{ref:A,className:`relative overflow-auto h-full min-w-0`,children:[M>0&&(0,v.jsx)(`div`,{className:`flex items-center justify-center text-xs text-muted-foreground`,style:{height:M},children:j?`Refreshing…`:`Pull to refresh`}),(0,v.jsx)(C,{schema:F}),N.isOverlay&&(0,v.jsx)(g,{...N,title:`Timeline Item`,children:e=>(0,v.jsx)(`div`,{className:`space-y-3`,children:Object.entries(e).map(([e,t])=>(0,v.jsxs)(`div`,{className:`flex flex-col`,children:[(0,v.jsx)(`span`,{className:`text-xs font-medium text-muted-foreground uppercase tracking-wide`,children:e.replace(/_/g,` `)}),(0,v.jsx)(`span`,{className:`text-sm`,children:String(t??`—`)})]},e))})})]})},D=e({ObjectTimeline:()=>E,ObjectTimelineRenderer:()=>q,Timeline:()=>O,TimelineContent:()=>N,TimelineDescription:()=>I,TimelineGantt:()=>z,TimelineGanttBar:()=>G,TimelineGanttBarContent:()=>K,TimelineGanttGrid:()=>H,TimelineGanttHeader:()=>B,TimelineGanttLabel:()=>W,TimelineGanttRow:()=>U,TimelineGanttRowLabels:()=>V,TimelineHorizontal:()=>L,TimelineHorizontalItem:()=>R,TimelineItem:()=>A,TimelineMarker:()=>M,TimelineRenderer:()=>C,TimelineTime:()=>F,TimelineTitle:()=>P,timelineItemVariants:()=>k,timelineMarkerVariants:()=>j}),O=w.forwardRef(({className:e,...t},n)=>(0,v.jsx)(`ol`,{ref:n,className:m(`relative ml-3 border-l border-gray-200`,e),...t}));O.displayName=`Timeline`;var k=p(`ml-6`,{variants:{density:{default:`mb-10`,compact:`mb-3`,comfortable:`mb-6`}},defaultVariants:{density:`default`}}),A=w.forwardRef(({className:e,density:t,...n},r)=>(0,v.jsx)(`li`,{ref:r,className:m(k({density:t}),e),...n}));A.displayName=`TimelineItem`;var j=p(`absolute -left-3 w-6 h-6 rounded-full border-2 flex items-center justify-center`,{variants:{variant:{default:`bg-blue-200 border-blue-400`,success:`bg-emerald-200 border-emerald-500`,warning:`bg-amber-200 border-amber-500`,danger:`bg-red-200 border-red-500`,info:`bg-purple-200 border-purple-500`,todo:`bg-slate-200 border-slate-400`,"in-progress":`bg-blue-200 border-blue-500`,done:`bg-emerald-200 border-emerald-500`}},defaultVariants:{variant:`default`}}),M=w.forwardRef(({className:e,variant:t=`default`,...n},r)=>(0,v.jsx)(`div`,{ref:r,className:m(j({variant:t}),e),...n}));M.displayName=`TimelineMarker`;var N=w.forwardRef(({className:e,...t},n)=>(0,v.jsx)(`div`,{ref:n,className:e,...t}));N.displayName=`TimelineContent`;var P=w.forwardRef(({className:e,...t},n)=>(0,v.jsx)(`h3`,{ref:n,className:m(`font-semibold text-lg mb-1`,e),...t}));P.displayName=`TimelineTitle`;var F=w.forwardRef(({className:e,...t},n)=>(0,v.jsx)(`time`,{ref:n,className:m(`text-sm font-normal text-gray-500 mb-2 block`,e),...t}));F.displayName=`TimelineTime`;var I=w.forwardRef(({className:e,...t},n)=>(0,v.jsx)(`p`,{ref:n,className:m(`text-base text-gray-700`,e),...t}));I.displayName=`TimelineDescription`;var L=w.forwardRef(({className:e,...t},n)=>(0,v.jsx)(`div`,{ref:n,className:m(`relative flex overflow-x-auto py-8`,e),...t}));L.displayName=`TimelineHorizontal`;var R=w.forwardRef(({className:e,...t},n)=>(0,v.jsx)(`div`,{ref:n,className:m(`flex-shrink-0 w-64 relative`,e),...t}));R.displayName=`TimelineHorizontalItem`;var z=w.forwardRef(({className:e,...t},n)=>(0,v.jsx)(`div`,{ref:n,className:m(`relative w-full border rounded-lg overflow-hidden`,e),...t}));z.displayName=`TimelineGantt`;var B=w.forwardRef(({className:e,...t},n)=>(0,v.jsx)(`div`,{ref:n,className:m(`flex border-b bg-gray-50`,e),...t}));B.displayName=`TimelineGanttHeader`;var V=w.forwardRef(({className:e,...t},n)=>(0,v.jsx)(`div`,{ref:n,className:m(`w-48 border-r bg-white`,e),...t}));V.displayName=`TimelineGanttRowLabels`;var H=w.forwardRef(({className:e,...t},n)=>(0,v.jsx)(`div`,{ref:n,className:m(`flex-1 overflow-x-auto`,e),...t}));H.displayName=`TimelineGanttGrid`;var U=w.forwardRef(({className:e,...t},n)=>(0,v.jsx)(`div`,{ref:n,className:m(`flex items-center border-b min-h-12`,e),...t}));U.displayName=`TimelineGanttRow`;var W=w.forwardRef(({className:e,...t},n)=>(0,v.jsx)(`div`,{ref:n,className:m(`px-4 py-2 font-medium text-sm truncate`,e),...t}));W.displayName=`TimelineGanttLabel`;var G=w.forwardRef(({className:e,start:t=0,width:n=100,variant:r=`default`,...i},a)=>(0,v.jsx)(`div`,{ref:a,className:m(`absolute h-8 rounded-md transition-colors cursor-pointer`,{default:`bg-blue-500 hover:bg-blue-600`,success:`bg-green-500 hover:bg-green-600`,warning:`bg-yellow-500 hover:bg-yellow-600`,danger:`bg-red-500 hover:bg-red-600`,info:`bg-purple-500 hover:bg-purple-600`}[r],e),style:{left:`${t}%`,width:`${n}%`},...i}));G.displayName=`TimelineGanttBar`;var K=w.forwardRef(({className:e,...t},n)=>(0,v.jsx)(`div`,{ref:n,className:m(`px-2 py-1 text-white text-xs font-medium truncate`,e),...t}));K.displayName=`TimelineGanttBarContent`;var q=({schema:e,...t})=>{let{dataSource:n}=o()||{};return(0,v.jsx)(E,{schema:e,dataSource:n,...t})};i.register(`object-timeline`,q,{namespace:`plugin-timeline`,label:`Object Timeline`,category:`view`,inputs:[{name:`objectName`,type:`string`,label:`Object Name`,required:!0},{name:`variant`,type:`enum`,enum:[`vertical`,`horizontal`,`gantt`],defaultValue:`vertical`}]}),i.register(`timeline`,q,{namespace:`view`,label:`Timeline View`,category:`view`,inputs:[{name:`objectName`,type:`string`,label:`Object Name`,required:!0},{name:`variant`,type:`enum`,enum:[`vertical`,`horizontal`,`gantt`],defaultValue:`vertical`}]});export{D as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"./rolldown-runtime-S-ySWqyJ.js";import{_ as t,t as n}from"./vendor-react-B1k2FF9f.js";import{D as r,H as i,L as a,k as o}from"./framework-CoXA0nY6.js";import{n as s}from"./vendor-ui-utils-AywTz3cM.js";import{$t as c,An as l,Br as u,Bt as d,Cn as f,Ct as p,DL as m,Dl as h,Dn as g,En as _,Gn as v,Hn as y,Kn as b,LS as x,Ld as S,Mn as C,NL as w,Nn as T,Ny as E,On as ee,Ov as te,PS as ne,Pn as re,Qt as D,Rt as ie,SE as O,Sd as ae,Sm as k,Sn as oe,Tn as se,Un as ce,Vt as le,Wn as ue,YS as A,Zn as j,Zt as M,_n as de,bm as N,bn as P,cn as F,ct as I,dI as L,df as R,dn as z,en as B,fj as V,fn as fe,fx as pe,fy as me,gt as he,hn as H,ht as ge,ir as U,jn as _e,js as ve,kn as W,lE as G,lm as ye,ln as be,lt as xe,mc as Se,nj as Ce,nt as we,pM as Te,pn as Ee,po as De,pt as Oe,qm as ke,qn as Ae,sE as je,sT as Me,sn as Ne,tO as Pe,tn as Fe,un as K,ut as q,vb as Ie,vn as Le,vr as J,wd as Re,wn as ze,wu as Be,wy as Ve,xn as He,yd as Ue,yn as We,yr as Ge,zF as Ke,zt as qe}from"./ui-components-BCmPcwhR.js";import{a as Je,f as Ye,g as Xe,h as Ze,i as Qe,l as $e,m as et,n as tt,o as nt,r as rt,s as it,t as at,u as ot}from"./vendor-dndkit-BGB4qgc3.js";import{n as st}from"./plugin-grid-DwpWK0E8.js";import{t as ct}from"./plugin-form-BhbVu8jO.js";var Y=e(t(),1),X=n(),lt={list:`List`,detail:`Detail`,grid:`Grid`,kanban:`Kanban`,calendar:`Calendar`,timeline:`Timeline`,map:`Map`,gallery:`Gallery`,gantt:`Gantt`},ut={list:Ve,detail:Me,grid:x,kanban:Ie,calendar:Te,timeline:m,map:te,gallery:pe,gantt:h},dt=s(`flex gap-4`,{variants:{position:{top:`flex-col`,bottom:`flex-col-reverse`,left:`flex-row`,right:`flex-row-reverse`}},defaultVariants:{position:`top`}}),ft=s(`w-full`,{variants:{orientation:{horizontal:`w-full`,vertical:`w-48`}},defaultVariants:{orientation:`horizontal`}}),pt=s(`flex gap-2`,{variants:{orientation:{horizontal:`flex-row flex-wrap`,vertical:`flex-col`}},defaultVariants:{orientation:`horizontal`}}),mt=s(``,{variants:{orientation:{horizontal:``,vertical:`flex h-auto flex-col items-stretch`}},defaultVariants:{orientation:`horizontal`}});function ht(e){return e.split(`-`).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(``)}var gt={Home:`House`};function _t(e){if(!e)return null;let t=ht(e);return Ge[gt[t]||t]||null}function vt(e){return e.label?e.label:lt[e.type]||e.type}function yt(e){return e.icon?_t(e.icon):ut[e.type]||null}function bt(e){return e.activeView?e.activeView:e.defaultView?e.defaultView:e.views?.[0]?.type}var xt={share:Ue,settings:ae,duplicate:Pe,delete:De},St={share:`Share`,settings:`Settings`,duplicate:`Duplicate`,delete:`Delete`},Ct=({schema:e,className:t,onViewChange:n,onCreateView:i,onViewAction:a,createViewLabel:o=`Create view`,...s})=>{let l=Y.useMemo(()=>e.storageKey?e.storageKey:`view-switcher${e.id?`-${e.id}`:``}`,[e.id,e.storageKey]),[u,d]=Y.useState(()=>bt(e));Y.useEffect(()=>{if(e.activeView){d(e.activeView);return}if(e.persistPreference)try{let t=localStorage.getItem(l);if(t){let n=e.views.find(e=>e.type===t)?.type;n&&d(n)}}catch{}},[e.activeView,e.persistPreference,e.views,l]),Y.useEffect(()=>{if(!(!e.persistPreference||!u||e.activeView))try{localStorage.setItem(l,u)}catch{}},[u,e.activeView,e.persistPreference,l]);let f=Y.useCallback(t=>{n?.(t),e.onViewChange&&typeof window<`u`&&window.dispatchEvent(new CustomEvent(e.onViewChange,{detail:{view:t}}))},[n,e.onViewChange]),p=Y.useCallback(e=>{d(e),f(e)},[f]),m=u||e.views?.[0]?.type,h=m||``,g=e.views.find(e=>e.type===m)||e.views?.[0],_=e.variant||`tabs`,v=e.position||`top`,y=v===`left`||v===`right`,b=y?`vertical`:`horizontal`,x=e.viewActions&&e.viewActions.length>0?(0,X.jsx)(`div`,{className:`flex items-center gap-1`,children:e.viewActions.map((e,t)=>{let n=e.icon&&_t(e.icon)||xt[e.type];return(0,X.jsx)(J,{type:`button`,variant:`ghost`,size:`icon`,onClick:()=>a?.(e.type,m),title:St[e.type]||e.type,children:n?(0,X.jsx)(n,{className:`h-3.5 w-3.5`}):null},`action-${e.type}-${t}`)})}):null,S=e.allowCreateView?(0,X.jsx)(J,{type:`button`,variant:`ghost`,size:`icon`,onClick:()=>i?.(),title:o,children:(0,X.jsx)(ye,{className:`h-3.5 w-3.5`})}):null,C=(0,X.jsxs)(`div`,{className:w(ft({orientation:b}),`flex items-center gap-1`),children:[_===`dropdown`&&(0,X.jsxs)(M,{value:h,onValueChange:e=>p(e),children:[(0,X.jsx)(B,{className:w(`w-full`,y?`h-10`:`h-9`),children:(0,X.jsx)(Fe,{placeholder:`Select view`})}),(0,X.jsx)(D,{children:e.views.map((e,t)=>(0,X.jsx)(c,{value:e.type,children:vt(e)},`${e.type}-${t}`))})]}),_===`buttons`&&(0,X.jsx)(`div`,{className:w(pt({orientation:b})),children:e.views.map((e,t)=>{let n=e.type===m,r=yt(e);return(0,X.jsxs)(J,{type:`button`,size:`sm`,variant:n?`secondary`:`ghost`,className:w(`justify-start gap-2`,y?`w-full`:``),onClick:()=>p(e.type),children:[r?(0,X.jsx)(r,{className:`h-4 w-4`}):null,(0,X.jsx)(`span`,{children:vt(e)})]},`${e.type}-${t}`)})}),_===`tabs`&&(0,X.jsx)(Oe,{value:h,onValueChange:e=>p(e),children:(0,X.jsx)(ge,{className:w(mt({orientation:b})),children:e.views.map((e,t)=>{let n=yt(e);return(0,X.jsxs)(he,{value:e.type,className:w(`gap-2`,y?`justify-start`:``),children:[n?(0,X.jsx)(n,{className:`h-4 w-4`}):null,(0,X.jsx)(`span`,{children:vt(e)})]},`${e.type}-${t}`)})})}),x,S]}),T=g?.schema?Array.isArray(g.schema)?(0,X.jsx)(`div`,{className:`space-y-4`,children:g.schema.map((e,t)=>(0,X.jsx)(r,{schema:e,...s},`${g.type}-${t}`))}):(0,X.jsx)(r,{schema:g.schema,...s}):null;return(0,X.jsxs)(`div`,{className:w(dt({position:v}),t),children:[(0,X.jsx)(`div`,{className:w(`shrink-0`,y?`flex flex-col`:`flex`),children:C}),(0,X.jsx)(`div`,{className:`flex-1 min-w-0`,children:T})]})},wt=r,Tt=({schema:e,dataSource:t,className:n,views:r,activeViewId:i,onViewChange:o,onRowClick:s,onEdit:c,renderListView:l,toolbarAddon:u,onCreateView:d,onViewAction:p})=>{let[m,h]=(0,Y.useState)(null),g=(0,Y.useRef)(null);g.current=m;let[v,x]=(0,Y.useState)(!1),[S,C]=(0,Y.useState)(`create`),[T,E]=(0,Y.useState)(null),[ee,te]=(0,Y.useState)(0);(0,Y.useEffect)(()=>{if(!(!t?.onMutation||!e.objectName)&&!l)return t.onMutation(t=>{t.resource===e.objectName&&te(e=>e+1)})},[t,e.objectName,l]);let[ne,re]=(0,Y.useState)([]),[D,ie]=(0,Y.useState)(!1),[O,ae]=(0,Y.useState)({}),[k,le]=(0,Y.useState)([]),A=e.listViews,j=A!=null&&Object.keys(A).length>0,[M,de]=(0,Y.useState)(()=>e.defaultListView&&A?.[e.defaultListView]?e.defaultListView:A&&Object.keys(A)[0]||``),N=(0,Y.useMemo)(()=>!j||!M?null:A[M]||null,[j,M,A]),P=(0,Y.useMemo)(()=>r&&r.length>0?r:null,[r]),F=P!=null&&P.length>0,I=i||P?.[0]?.id,L=P?.find(e=>e.id===I)||P?.[0],R=(0,Y.useMemo)(()=>N?.type?N.type:L?.type?L.type:e.defaultViewType||`grid`,[N,L,e.defaultViewType]),z=e.navigation;(0,Y.useEffect)(()=>{let n=!0;return e.objectName&&t&&(async()=>{try{let r=await t.getObjectSchema(e.objectName);n&&h(r)}catch(e){console.error(`Failed to fetch object schema:`,e)}})(),()=>{n=!1}},[e.objectName,t]),(0,Y.useEffect)(()=>{let n=!0;return(async()=>{if(!l&&R!==`grid`&&!(!t||!e.objectName)){ie(!0);try{let r=N?.filter||L?.filter||e.table?.defaultFilters||[],i=Object.entries(O).filter(([,e])=>e!==void 0&&e!==``&&e!==null).map(([e,t])=>[e,`=`,t]),o=[];o=r.length>0&&i.length>0?[`and`,...r,...i]:i.length===1?i[0]:i.length>1?[`and`,...i]:r;let s=k.length>0?k.map(e=>({field:e.field,order:e.direction})):N?.sort||L?.sort||e.table?.defaultSort||void 0,c=a(g.current?.fields),l=await t.find(e.objectName,{$filter:o.length>0?o:void 0,$orderby:s,$top:100,...c.length>0?{$expand:c}:{}}),u=[];Array.isArray(l)?u=l:l&&typeof l==`object`&&(Array.isArray(l.data)?u=l.data:Array.isArray(l.records)?u=l.records:Array.isArray(l.value)&&(u=l.value)),n&&re(u)}catch(e){console.error(`ObjectView data fetch error:`,e)}finally{n&&ie(!1)}}})(),()=>{n=!1}},[e.objectName,t,R,O,k,ee,N,L,l]);let B=e.layout||`drawer`,V=e.operations||e.table?.operations||{create:!0,read:!0,update:!0,delete:!0},fe=(0,Y.useCallback)(()=>{B===`page`&&e.onNavigate?e.onNavigate(`new`,`edit`):(C(`create`),E(null),x(!0))},[B,e]),pe=(0,Y.useCallback)(t=>{if(c){c(t);return}if(B===`page`&&e.onNavigate){let n=t.id||t._id;e.onNavigate(n,`edit`)}else C(`edit`),E(t),x(!0)},[B,e,c]),me=(0,Y.useCallback)(t=>{if(B===`page`&&e.onNavigate){let n=t.id||t._id;e.onNavigate(n,`view`)}else C(`view`),E(t),x(!0)},[B,e]),H=(0,Y.useCallback)(t=>{if(s){s(t);return}if(z){if(z.mode===`none`||z.preventNavigation)return;if(z.mode===`new_window`||z.openNewTab){let n=t.id||t._id,r=`/${e.objectName}/${encodeURIComponent(String(n))}`;window.open(r,`_blank`);return}if(z.mode===`drawer`){C(`view`),E(t),x(!0);return}if(z.mode===`modal`){C(`view`),E(t),x(!0);return}if(z.mode===`page`){let n=t.id||t._id;e.onNavigate&&e.onNavigate(n,`view`);return}if(z.mode===`split`||z.mode===`popover`){C(`view`),E(t),x(!0);return}}V.read!==!1&&me(t)},[s,z,V.read,me,e]),U=(0,Y.useCallback)(e=>{te(e=>e+1)},[]),_e=(0,Y.useCallback)(e=>{te(e=>e+1)},[]),ve=(0,Y.useCallback)(()=>{x(!1),E(null),te(e=>e+1)},[]),W=(0,Y.useCallback)(()=>{x(!1),E(null)},[]);(0,Y.useCallback)(()=>{te(e=>e+1)},[]);let G=(0,Y.useMemo)(()=>!F||!P||P.length<=1?null:{type:`view-switcher`,variant:`tabs`,position:`top`,persistPreference:!0,storageKey:`view-pref-${e.objectName}`,defaultView:L?.type||`grid`,activeView:L?.type||`grid`,views:P.map(e=>({type:e.type,label:e.label,icon:{kanban:`kanban`,calendar:`calendar`,map:`map`,gallery:`layout-grid`,timeline:`activity`,gantt:`gantt-chart`,grid:`table`,list:`list`,detail:`file-text`}[e.type]||`table`})),allowCreateView:e.allowCreateView,viewActions:e.viewActions},[F,P,L,e.objectName,e.allowCreateView,e.viewActions]),be=(0,Y.useCallback)(e=>{if(!P)return;let t=P.find(t=>t.type===e);t&&o&&o(t.id)},[P,o]),xe=(0,Y.useCallback)(e=>{de(e)},[]);(0,Y.useMemo)(()=>{if(e.showFilters===!1)return null;let t=e.filterableFields,n=m?.fields||{},r=(t?t.map(e=>[e,n[e]||{label:e}]):Object.entries(n).filter(([,e])=>!e.hidden).slice(0,8)).map(([e,t])=>{let n=t.type||`text`,r=`text`,i;return n===`number`||n===`currency`||n===`percent`?r=`number`:n===`boolean`||n===`toggle`?r=`boolean`:n===`date`||n===`datetime`?r=`date`:n===`select`||n===`status`||t.options?(r=`select`,i=(t.options||[]).map(e=>typeof e==`string`?{label:e,value:e}:{label:e.label,value:e.value})):(n===`lookup`||n===`master_detail`||n===`user`||n===`owner`)&&t.options&&t.options.length>0&&(r=`multi-select`,i=(t.options||[]).map(e=>typeof e==`string`?{label:e,value:e}:{label:e.label,value:e.value})),{field:e,label:t.label||e,type:r,placeholder:`Filter ${t.label||e}...`,...i?{options:i}:{}}});return r.length===0?null:{type:`filter-ui`,layout:`popover`,showClear:!0,showApply:!0,filters:r,values:O}},[e.showFilters,e.filterableFields,m,O]);let Se=e.showSort;(0,Y.useMemo)(()=>{if(Se===!1)return null;let e=m?.fields||{},t=Object.entries(e).filter(([,e])=>!e.hidden).slice(0,10).map(([e,t])=>({field:e,label:t.label||e}));return t.length===0?null:{type:`sort-ui`,variant:`dropdown`,multiple:!1,fields:t,sort:k}},[m,k,Se]);let Ce=(0,Y.useCallback)(t=>{let n={objectName:e.objectName,fields:N?.columns||L?.columns||e.table?.fields,className:`h-full w-full`,showSearch:L?.showSearch??e.showSearch??!1,showSort:L?.showSort??e.showSort??!1,showFilters:L?.showFilters??e.showFilters??!1,striped:L?.striped??!1,bordered:L?.bordered??!1,color:L?.color},r=N?.options||L||{};switch(t){case`kanban`:return{type:`object-kanban`,...n,groupBy:r.kanban?.groupField||`status`,groupField:r.kanban?.groupField||`status`,titleField:r.kanban?.titleField||`name`,cardFields:n.fields||[],...r.kanban||{}};case`calendar`:return{type:`object-calendar`,...n,startDateField:r.calendar?.startDateField||`start_date`,endDateField:r.calendar?.endDateField||`end_date`,titleField:r.calendar?.titleField||`name`,...r.calendar||{}};case`gallery`:return{type:`object-gallery`,...n,imageField:r.gallery?.imageField,titleField:r.gallery?.titleField||`name`,subtitleField:r.gallery?.subtitleField,...r.gallery||{}};case`timeline`:return{type:`object-timeline`,...n,dateField:r.timeline?.dateField||`created_at`,titleField:r.timeline?.titleField||`name`,...r.timeline||{}};case`gantt`:return{type:`object-gantt`,...n,startDateField:r.gantt?.startDateField||`start_date`,endDateField:r.gantt?.endDateField||`end_date`,progressField:r.gantt?.progressField||`progress`,dependenciesField:r.gantt?.dependenciesField||`dependencies`,...r.gantt||{}};case`map`:return{type:`object-map`,...n,locationField:r.map?.locationField||`location`,...r.map||{}};default:return null}},[e.objectName,e.table?.fields,N,L]),Te=(0,Y.useMemo)(()=>({type:`object-grid`,objectName:e.objectName,title:e.table?.title,description:e.table?.description,fields:N?.columns||L?.columns||e.table?.fields,columns:N?.columns||L?.columns||e.table?.columns,operations:{...V,create:!1},defaultFilters:N?.filter||L?.filter||e.table?.defaultFilters,defaultSort:N?.sort||L?.sort||e.table?.defaultSort,pageSize:e.table?.pageSize,selectable:e.table?.selectable,striped:L?.striped??e.table?.striped,bordered:L?.bordered??e.table?.bordered,className:e.table?.className}),[e,V,N,L]),Ee=()=>{let t=T?T.id||T._id:void 0;return{type:`object-form`,objectName:e.objectName,mode:S,recordId:t,title:e.form?.title,description:e.form?.description,fields:e.form?.fields,customFields:e.form?.customFields,groups:e.form?.groups,layout:e.form?.layout,columns:e.form?.columns,showSubmit:e.form?.showSubmit,submitText:e.form?.submitText,showCancel:e.form?.showCancel,cancelText:e.form?.cancelText,showReset:e.form?.showReset,initialValues:e.form?.initialValues,readOnly:e.form?.readOnly||S===`view`,className:e.form?.className,onSuccess:ve,onCancel:W}},De=()=>{if(e.form?.title)return e.form.title;let t=m?.label||e.objectName;switch(S){case`create`:return`Create ${t}`;case`edit`:return`Edit ${t}`;case`view`:return`View ${t}`;default:return t}},ke=(0,Y.useMemo)(()=>{let e=z?.width;return e?typeof e==`number`?`max-w-[${e}px]`:`max-w-[${e}]`:``},[z]),je=()=>(0,X.jsx)(oe,{open:v,onOpenChange:x,direction:`right`,children:(0,X.jsxs)(f,{className:w(`w-full sm:max-w-2xl`,ke),children:[(0,X.jsxs)(se,{children:[(0,X.jsx)(_,{children:De()}),e.form?.description&&(0,X.jsx)(ze,{children:e.form.description})]}),(0,X.jsx)(`div`,{className:`flex-1 overflow-y-auto px-4 pb-4`,children:(0,X.jsx)(ct,{schema:Ee(),dataSource:t})})]})}),Me=()=>(0,X.jsx)(y,{open:v,onOpenChange:x,children:(0,X.jsxs)(ce,{className:w(`max-w-2xl max-h-[90vh] overflow-y-auto`,ke),children:[(0,X.jsxs)(b,{children:[(0,X.jsx)(Ae,{children:De()}),e.form?.description&&(0,X.jsx)(ue,{children:e.form.description})]}),(0,X.jsx)(ct,{schema:Ee(),dataSource:t})]})}),Ne=(0,Y.useMemo)(()=>Object.keys(O).some(e=>O[e]!==void 0&&O[e]!==``&&O[e]!==null)?Object.entries(O).filter(([,e])=>e!==void 0&&e!==``&&e!==null).map(([e,t])=>({field:e,operator:`equals`,value:t})):N?.filter||L?.filter||e.table?.defaultFilters,[O,N,L,e.table?.defaultFilters]),Pe=(0,Y.useMemo)(()=>k.length>0?k:N?.sort||L?.sort||e.table?.defaultSort,[k,N,L,e.table?.defaultSort]),Fe=()=>{let n=`${e.objectName}-${M||L?.id||`default`}-${R}-${ee}`;if(l)return l({schema:{type:`list-view`,objectName:e.objectName,viewType:R,fields:N?.columns||L?.columns||e.table?.fields,filters:Ne,sort:Pe,rowHeight:L?.rowHeight,densityMode:L?.densityMode,groupBy:L?.groupBy,options:N?.options||L,showSearch:L?.showSearch??e.showSearch,showFilters:L?.showFilters??e.showFilters,showSort:L?.showSort??e.showSort,showHideFields:L?.showHideFields??e.showHideFields,showGroup:L?.showGroup??e.showGroup,showColor:L?.showColor??e.showColor,showDensity:L?.showDensity??e.showDensity,allowExport:L?.allowExport??e.allowExport,striped:L?.striped??e.striped,bordered:L?.bordered??e.bordered,color:L?.color??e.color,inlineEdit:L?.inlineEdit??e.inlineEdit,wrapHeaders:L?.wrapHeaders??e.wrapHeaders,clickIntoRecordDetails:L?.clickIntoRecordDetails??e.clickIntoRecordDetails,addRecordViaForm:L?.addRecordViaForm??e.addRecordViaForm,addDeleteRecordsInline:L?.addDeleteRecordsInline??e.addDeleteRecordsInline,collapseAllByDefault:L?.collapseAllByDefault??e.collapseAllByDefault,fieldTextColor:L?.fieldTextColor??e.fieldTextColor,prefixField:L?.prefixField??e.prefixField,showDescription:L?.showDescription??e.showDescription,navigation:L?.navigation??e.navigation,selection:L?.selection??e.selection,pagination:L?.pagination??e.pagination,searchableFields:L?.searchableFields??e.searchableFields,filterableFields:L?.filterableFields??e.filterableFields,resizable:L?.resizable??e.resizable,hiddenFields:L?.hiddenFields??e.hiddenFields,rowActions:L?.rowActions??e.rowActions,bulkActions:L?.bulkActions??e.bulkActions,sharing:L?.sharing??e.sharing,addRecord:L?.addRecord??e.addRecord,conditionalFormatting:L?.conditionalFormatting??e.conditionalFormatting,quickFilters:L?.quickFilters??e.quickFilters,userFilters:L?.userFilters??e.userFilters,showRecordCount:L?.showRecordCount??e.showRecordCount,allowPrinting:L?.allowPrinting??e.allowPrinting,virtualScroll:L?.virtualScroll??e.virtualScroll,emptyState:L?.emptyState??e.emptyState,aria:L?.aria??e.aria,tabs:e.tabs,refreshTrigger:ee},dataSource:t,onEdit:pe,onRowClick:H,className:`h-full`,refreshKey:ee});if(R!==`grid`){let e=Ce(R);if(e&&wt)return(0,X.jsx)(wt,{schema:e,dataSource:t,data:ne,loading:D},n);if(!wt)return(0,X.jsx)(`div`,{className:`flex items-center justify-center h-40 text-muted-foreground`,children:(0,X.jsxs)(`p`,{children:[`SchemaRenderer not available. Install @object-ui/react to render `,R,` views.`]})})}return(0,X.jsx)(st,{schema:Te,dataSource:t,onRowClick:H,onEdit:V.update===!1?void 0:pe,onDelete:V.delete===!1?void 0:U,onBulkDelete:V.delete===!1?void 0:_e},n)},K=()=>{if(!j)return null;let e=Object.entries(A);return e.length<=1?null:(0,X.jsx)(Oe,{value:M,onValueChange:xe,className:`w-full`,children:(0,X.jsx)(ge,{className:`w-auto`,children:e.map(([e,t])=>(0,X.jsx)(he,{value:e,className:`text-sm`,children:t.label||e},e))})})},q=()=>{let t=e.showCreate!==!1&&V.create!==!1,n=e.showViewSwitcher===!0,r=K();return!r&&!n&&!t&&!u?null:(0,X.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[r,(n||t||u)&&(0,X.jsxs)(`div`,{className:`flex items-center justify-between gap-4`,children:[(0,X.jsx)(`div`,{className:`flex items-center gap-2`,children:n&&G&&(0,X.jsx)(Ct,{schema:G,onViewChange:be,onCreateView:d,onViewAction:p,className:`overflow-x-auto`})}),(0,X.jsxs)(`div`,{className:`flex items-center gap-2`,children:[u,t&&(0,X.jsxs)(J,{size:`sm`,onClick:fe,children:[(0,X.jsx)(ye,{className:`h-4 w-4`}),`Create`]})]})]})]})},Ie=z?.mode===`modal`?`modal`:z?.mode===`drawer`?`drawer`:z?.mode===`split`?`split`:z?.mode===`popover`?`popover`:B,Le=e=>(0,X.jsx)(`div`,{className:`space-y-3`,children:(0,X.jsx)(ct,{schema:Ee(),dataSource:t})}),Re=(0,Y.useCallback)(e=>{e||W()},[W]);if(Ie===`split`){let t=m?.label||e.objectName;return(0,X.jsxs)(`div`,{className:w(`flex flex-col h-full min-w-0 overflow-hidden`,n),children:[(e.title||e.description)&&(0,X.jsxs)(`div`,{className:`mb-4 shrink-0`,children:[e.title&&(0,X.jsx)(`h2`,{className:`text-2xl font-bold tracking-tight`,children:e.title}),e.description&&(0,X.jsx)(`p`,{className:`text-muted-foreground mt-1`,children:e.description})]}),(0,X.jsx)(`div`,{className:`mb-4 shrink-0`,children:q()}),(0,X.jsx)(`div`,{className:`flex-1 min-h-0 min-w-0 overflow-hidden`,children:v&&T?(0,X.jsx)(we,{isOpen:v,selectedRecord:T,mode:`split`,close:W,setIsOpen:Re,width:z?.width,isOverlay:!0,title:`${t} Detail`,mainContent:(0,X.jsx)(`div`,{className:`h-full overflow-auto`,children:Fe()}),children:Le}):Fe()})]})}return(0,X.jsxs)(`div`,{className:w(`flex flex-col h-full min-w-0 overflow-hidden`,n),children:[(e.title||e.description)&&(0,X.jsxs)(`div`,{className:`mb-4 shrink-0`,children:[e.title&&(0,X.jsx)(`h2`,{className:`text-2xl font-bold tracking-tight`,children:e.title}),e.description&&(0,X.jsx)(`p`,{className:`text-muted-foreground mt-1`,children:e.description})]}),(0,X.jsx)(`div`,{className:`mb-4 shrink-0`,children:q()}),(0,X.jsx)(`div`,{className:`flex-1 min-h-0 min-w-0 overflow-hidden`,children:Fe()}),Ie===`drawer`&&je(),Ie===`modal`&&Me(),Ie===`popover`&&v&&T&&(0,X.jsx)(we,{isOpen:v,selectedRecord:T,mode:`popover`,close:W,setIsOpen:Re,width:z?.width,isOverlay:!0,title:De(),children:Le})]})},Et=s(`flex`,{variants:{layout:{inline:`flex-col space-y-4`,popover:`items-center`,drawer:`items-center`}},defaultVariants:{layout:`inline`}}),Dt=e=>e==null||e===``?!0:Array.isArray(e)?e.length===0:typeof e==`object`?Object.values(e).every(e=>e==null||e===``):!1,Ot=e=>Array.isArray(e)?{start:e[0]||``,end:e[1]||``}:e&&typeof e==`object`?{start:e.start||``,end:e.end||``}:{start:``,end:``},kt=({schema:e,className:t,onChange:n})=>{let[r,i]=Y.useState(e.values||{}),[a,o]=Y.useState(!1);Y.useEffect(()=>{e.values&&i(e.values)},[e.values]);let s=Y.useCallback(t=>{n?.(t),e.onChange&&typeof window<`u`&&window.dispatchEvent(new CustomEvent(e.onChange,{detail:{values:t}}))},[n,e.onChange]),l=Y.useCallback((t,n)=>{let a={...r,[t]:n};i(a),e.showApply||s(a)},[s,e.showApply,r]),d=Y.useCallback(()=>{let t={};if(i(t),e.showApply){s(t);return}s(t)},[s,e.showApply]),p=Y.useCallback(()=>{s(r),o(!1)},[s,r]),m=Y.useMemo(()=>Object.values(r).filter(e=>!Dt(e)).length,[r]),h=e=>{let t=e.label||e.field,n=e.placeholder||`Filter by ${t}`;switch(e.type){case`number`:return(0,X.jsx)(K,{type:`number`,value:r[e.field]??``,placeholder:n,onChange:t=>{let n=t.target.value,r=n===``?``:Number(n);l(e.field,r)}});case`select`:return(0,X.jsxs)(M,{value:r[e.field]===void 0?``:String(r[e.field]),onValueChange:t=>{let n=e.options?.find(e=>String(e.value)===t);l(e.field,n?n.value:t)},children:[(0,X.jsx)(B,{children:(0,X.jsx)(Fe,{placeholder:n})}),(0,X.jsx)(D,{children:e.options?.map(e=>(0,X.jsx)(c,{value:String(e.value),children:e.label},String(e.value)))})]});case`multi-select`:{let t=r[e.field],n=Array.isArray(t)?t:t?[t]:[];return(0,X.jsx)(`div`,{className:`max-h-40 overflow-y-auto space-y-0.5 border rounded-md p-2`,children:e.options?.map(t=>{let r=n.map(String).includes(String(t.value));return(0,X.jsxs)(`label`,{className:w(`flex items-center gap-2 text-sm py-1 px-1.5 rounded cursor-pointer`,r?`bg-primary/5 text-primary`:`hover:bg-muted`),children:[(0,X.jsx)(j,{checked:r,onCheckedChange:r=>{let i=r?[...n,t.value]:n.filter(e=>String(e)!==String(t.value));l(e.field,i)}}),(0,X.jsx)(`span`,{className:`truncate`,children:t.label})]},String(t.value))})})}case`date`:return(0,X.jsx)(K,{type:`date`,value:r[e.field]??``,onChange:t=>l(e.field,t.target.value)});case`date-range`:{let t=Ot(r[e.field]);return(0,X.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,X.jsx)(K,{type:`date`,value:t.start??``,onChange:n=>{l(e.field,{...t,start:n.target.value})}}),(0,X.jsx)(K,{type:`date`,value:t.end??``,onChange:n=>{l(e.field,{...t,end:n.target.value})}})]})}case`boolean`:return(0,X.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,X.jsx)(j,{checked:!!r[e.field],onCheckedChange:t=>l(e.field,!!t)}),(0,X.jsx)(`span`,{className:`text-sm text-muted-foreground`,children:`Enabled`})]});default:return(0,X.jsx)(K,{value:r[e.field]??``,placeholder:n,onChange:t=>l(e.field,t.target.value)})}},g=(0,X.jsxs)(`div`,{className:`space-y-4`,children:[(0,X.jsx)(`div`,{className:`grid gap-4 sm:grid-cols-2`,children:e.filters.map(e=>(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsx)(z,{className:`text-xs text-muted-foreground`,children:e.label||e.field}),h(e)]},e.field))}),(e.showApply||e.showClear)&&(0,X.jsxs)(`div`,{className:`flex items-center justify-end gap-2 border-t pt-3`,children:[e.showClear&&(0,X.jsx)(J,{type:`button`,variant:`ghost`,size:`sm`,onClick:d,children:`Clear`}),e.showApply&&(0,X.jsx)(J,{type:`button`,size:`sm`,onClick:p,children:`Apply`})]})]}),v=e.layout||`inline`;return v===`popover`?(0,X.jsx)(`div`,{className:w(Et({layout:v}),t),children:(0,X.jsxs)(Ne,{open:a,onOpenChange:o,children:[(0,X.jsx)(be,{asChild:!0,children:(0,X.jsxs)(J,{type:`button`,variant:m>0?`secondary`:`outline`,size:`sm`,className:`gap-2`,children:[(0,X.jsx)(Be,{className:`h-4 w-4`}),`Filters`,m>0&&(0,X.jsx)(`span`,{className:`inline-flex h-5 min-w-[20px] items-center justify-center rounded-full bg-primary/10 px-1 text-xs font-medium text-primary`,children:m})]})}),(0,X.jsx)(F,{align:`start`,className:`w-[520px] p-4`,children:g})]})}):v===`drawer`?(0,X.jsxs)(`div`,{className:w(Et({layout:v}),t),children:[(0,X.jsxs)(J,{type:`button`,variant:m>0?`secondary`:`outline`,size:`sm`,className:`gap-2`,onClick:()=>o(!0),children:[(0,X.jsx)(Be,{className:`h-4 w-4`}),`Filters`,m>0&&(0,X.jsx)(`span`,{className:`inline-flex h-5 min-w-[20px] items-center justify-center rounded-full bg-primary/10 px-1 text-xs font-medium text-primary`,children:m})]}),(0,X.jsx)(oe,{open:a,onOpenChange:o,children:(0,X.jsxs)(f,{children:[(0,X.jsxs)(se,{children:[(0,X.jsx)(_,{children:`Filters`}),(0,X.jsx)(ze,{children:`Refine the data with advanced filters.`})]}),(0,X.jsx)(`div`,{className:`px-4 pb-6`,children:g})]})})]}):(0,X.jsxs)(`div`,{className:w(Et({layout:v}),t),children:[g,!e.showApply&&e.showClear&&(0,X.jsxs)(J,{type:`button`,variant:`ghost`,size:`sm`,className:`gap-2`,onClick:d,children:[(0,X.jsx)(u,{className:`h-3.5 w-3.5`}),`Clear filters`]})]})},At=s(``,{variants:{variant:{buttons:`flex flex-wrap gap-2`,dropdown:`flex flex-wrap items-center gap-3`,builder:`space-y-3`}},defaultVariants:{variant:`dropdown`}}),jt=e=>e?e.map(e=>({field:e.field,direction:e.direction})):[],Mt=e=>e.map(e=>({id:`${e.field}-${e.direction}`,field:e.field,order:e.direction})),Nt=e=>e.filter(e=>e.field).map(e=>({field:e.field,direction:e.order})),Pt=({schema:e,className:t,onChange:n})=>{let[r,i]=Y.useState(()=>jt(e.sort)),[a,o]=Y.useState(()=>Mt(jt(e.sort)));Y.useEffect(()=>{let t=jt(e.sort);i(t),o(Mt(t))},[e.sort]);let s=Y.useCallback(t=>{i(t),n?.(t),e.onChange&&typeof window<`u`&&window.dispatchEvent(new CustomEvent(e.onChange,{detail:{sort:t}}))},[n,e.onChange]),l=Y.useCallback(t=>{let n=r.find(e=>e.field===t),i=!!e.multiple;if(!n){s(i?[...r,{field:t,direction:`asc`}]:[{field:t,direction:`asc`}]);return}if(n.direction===`asc`){s(r.map(e=>e.field===t?{...e,direction:`desc`}:e));return}s(r.filter(e=>e.field!==t))},[s,e.multiple,r]);if((e.variant||`dropdown`)===`buttons`)return(0,X.jsx)(`div`,{className:w(At({variant:`buttons`}),t),children:e.fields.map(e=>{let t=r.find(t=>t.field===e.field),n=t?.direction===`asc`?Ke:L;return(0,X.jsxs)(J,{type:`button`,variant:t?`secondary`:`outline`,size:`sm`,onClick:()=>l(e.field),className:`gap-2`,children:[(0,X.jsx)(`span`,{children:e.label||e.field}),t&&(0,X.jsx)(n,{className:`h-3.5 w-3.5`})]},e.field)})});if(e.multiple)return(0,X.jsx)(`div`,{className:w(At({variant:`builder`}),t),children:(0,X.jsx)(I,{fields:e.fields.map(e=>({value:e.field,label:e.label||e.field})),value:a,onChange:e=>{o(e),s(Nt(e))}})});let u=r[0];return(0,X.jsxs)(`div`,{className:w(At({variant:`dropdown`}),t),children:[(0,X.jsxs)(M,{value:u?.field||``,onValueChange:e=>{if(!e){s([]);return}s([{field:e,direction:u?.direction||`asc`}])},children:[(0,X.jsx)(B,{className:`w-56`,children:(0,X.jsx)(Fe,{placeholder:`Select field`})}),(0,X.jsx)(D,{children:e.fields.map(e=>(0,X.jsx)(c,{value:e.field,children:e.label||e.field},e.field))})]}),(0,X.jsxs)(M,{value:u?.direction||`asc`,onValueChange:e=>{u?.field&&s([{field:u.field,direction:e}])},children:[(0,X.jsx)(B,{className:`w-36`,children:(0,X.jsx)(Fe,{})}),(0,X.jsxs)(D,{children:[(0,X.jsx)(c,{value:`asc`,children:`Ascending`}),(0,X.jsx)(c,{value:`desc`,children:`Descending`})]})]})]})};function Ft(){if(typeof crypto<`u`&&typeof crypto.randomUUID==`function`)return crypto.randomUUID();if(typeof crypto<`u`&&typeof crypto.getRandomValues==`function`){let e=new Uint8Array(16);return crypto.getRandomValues(e),Array.from(e,e=>e.toString(16).padStart(2,`0`)).join(``)}return Math.random().toString(36).slice(2)+Math.random().toString(36).slice(2)}function It(e,t,n,r){return`${e}/share/${t}/${n}?mode=readonly&token=${r}`}var Lt=({objectName:e,viewId:t=`default`,baseUrl:n,onShare:r,className:i})=>{let[a,o]=Y.useState(null),[s,c]=Y.useState(!1),[l,u]=Y.useState(!1),[d,f]=Y.useState(``),[p,m]=Y.useState(``),h=n??(typeof window<`u`?window.location.origin:``),g=Y.useCallback(()=>{let n=It(h,e,t,Ft());o(n),c(!1);let i=p?new Date(Date.now()+parseInt(p,10)*864e5).toISOString():void 0;r?.(n,{password:d||void 0,expiresAt:i})},[h,e,t,r,d,p]),_=Y.useCallback(async()=>{if(a)try{await navigator.clipboard.writeText(a),c(!0),setTimeout(()=>c(!1),2e3)}catch{let e=document.createElement(`textarea`);e.value=a,document.body.appendChild(e),e.select(),document.execCommand(`copy`),document.body.removeChild(e),c(!0),setTimeout(()=>c(!1),2e3)}},[a]);return(0,X.jsxs)(Ne,{open:l,onOpenChange:u,children:[(0,X.jsx)(be,{asChild:!0,children:(0,X.jsxs)(J,{variant:`outline`,size:`sm`,className:w(`gap-2`,i),children:[(0,X.jsx)(Ue,{className:`h-4 w-4`}),`Share`]})}),(0,X.jsxs)(F,{className:`w-96 space-y-4`,align:`end`,children:[(0,X.jsxs)(`div`,{className:`space-y-2`,children:[(0,X.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,X.jsx)(`h4`,{className:`text-sm font-medium`,children:`Share View`}),(0,X.jsx)(U,{variant:`secondary`,className:`text-xs`,children:`Read-only`})]}),(0,X.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Generate a public link to share this view. Recipients can view data without logging in.`})]}),a?(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,X.jsx)(K,{value:a,readOnly:!0,className:`h-8 text-xs`,onClick:e=>e.target.select()}),(0,X.jsx)(J,{variant:`outline`,size:`sm`,onClick:_,className:`shrink-0 gap-1`,children:s?(0,X.jsx)(V,{className:`h-4 w-4 text-green-500`}):(0,X.jsx)(Pe,{className:`h-4 w-4`})})]}),(d||p)&&(0,X.jsxs)(`div`,{className:`flex items-center gap-2 flex-wrap`,children:[d&&(0,X.jsxs)(U,{variant:`outline`,className:`text-xs gap-1`,children:[(0,X.jsx)(me,{className:`h-3 w-3`}),`Password protected`]}),p&&(0,X.jsxs)(U,{variant:`outline`,className:`text-xs gap-1`,children:[(0,X.jsx)(Te,{className:`h-3 w-3`}),`Expires in `,p,` day`,p===`1`?``:`s`]})]})]}):(0,X.jsxs)(`div`,{className:`space-y-3`,children:[(0,X.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,X.jsxs)(`label`,{className:`flex items-center gap-1.5 text-xs font-medium text-foreground`,children:[(0,X.jsx)(me,{className:`h-3.5 w-3.5`}),`Password protection (optional)`]}),(0,X.jsx)(K,{type:`password`,value:d,onChange:e=>f(e.target.value),placeholder:`Enter password...`,className:`h-8 text-xs`})]}),(0,X.jsxs)(`div`,{className:`space-y-1.5`,children:[(0,X.jsxs)(`label`,{className:`flex items-center gap-1.5 text-xs font-medium text-foreground`,children:[(0,X.jsx)(Te,{className:`h-3.5 w-3.5`}),`Expires after (optional)`]}),(0,X.jsxs)(`select`,{value:p,onChange:e=>m(e.target.value),className:`w-full h-8 text-xs rounded-md border border-input bg-background px-3`,children:[(0,X.jsx)(`option`,{value:``,children:`Never`}),(0,X.jsx)(`option`,{value:`1`,children:`1 day`}),(0,X.jsx)(`option`,{value:`7`,children:`7 days`}),(0,X.jsx)(`option`,{value:`30`,children:`30 days`}),(0,X.jsx)(`option`,{value:`90`,children:`90 days`})]})]}),(0,X.jsxs)(J,{onClick:g,className:`w-full gap-2`,size:`sm`,children:[(0,X.jsx)(Ue,{className:`h-4 w-4`}),`Generate Link`]})]})]})]})},Rt={private:0,team:1,organization:2,public:3},zt=8,Bt=({id:e,disabled:t,children:n})=>{let{attributes:r,listeners:i,setNodeRef:a,transform:o,transition:s,isDragging:c}=Je({id:e,disabled:t,attributes:{role:`tab`,roleDescription:`view tab`,tabIndex:0}});return(0,X.jsx)(X.Fragment,{children:n({setNodeRef:a,style:{transform:Xe.Transform.toString(o),transition:s,zIndex:c?10:void 0,opacity:c?.5:void 0},listeners:i,attributes:r,isDragging:c})})},Vt=({views:e,activeViewId:t,onViewChange:n,viewTypeIcons:r={},config:i={},onAddView:a,onRenameView:o,onDuplicateView:s,onDeleteView:c,onSetDefaultView:u,onShareView:f,onSaveAsView:p,onPinView:m,onReorderViews:h,onChangeViewType:_,onConfigView:v,onManageViews:y,availableViewTypes:b,hasUnsavedChanges:x=!1,onResetChanges:S,className:te})=>{let{showAddButton:D=!0,inlineRename:ae=!0,contextMenu:oe=!0,reorderable:se=!1,maxVisibleTabs:ce=6,showIndicators:ue=!0,showSaveAsView:j=!0,showPinnedSection:M=!0,showVisibilityGroups:F=!1}=i,[I,L]=(0,Y.useState)(null),[z,B]=(0,Y.useState)(``),V=(0,Y.useRef)(null);(0,Y.useEffect)(()=>{I&&V.current&&(V.current.focus(),V.current.select())},[I]);let pe=(0,Y.useCallback)(t=>{if(!ae||!o)return;let n=e.find(e=>e.id===t);n&&(L(t),B(n.label))},[ae,o,e]),he=(0,Y.useCallback)(()=>{I&&z.trim()&&o&&o(I,z.trim()),L(null),B(``)},[I,z,o]),ge=(0,Y.useCallback)(()=>{L(null),B(``)},[]),U=(0,Y.useMemo)(()=>{let t=[...e];return t.sort((e,t)=>{if(M){let n=+!!e.isPinned,r=+!!t.isPinned;if(n!==r)return r-n}if(F){let n=Rt[e.visibility||`public`]??Rt.public,r=Rt[t.visibility||`public`]??Rt.public;if(n!==r)return n-r}return 0}),t},[e,M,F]),{visibleViews:G,overflowViews:be}=(0,Y.useMemo)(()=>{let e=U.slice(0,ce),n=U.slice(ce),r=n.findIndex(e=>e.id===t);if(r===-1)return{visibleViews:e,overflowViews:n};let i=n[r],a=e.length>0?[...e.slice(0,-1),i]:[i],o=e.length>0?e[e.length-1]:null,s=n.filter((e,t)=>t!==r);return o&&s.unshift(o),{visibleViews:a,overflowViews:s}},[U,ce,t]),xe=Ze(et(ot,{activationConstraint:{distance:zt}}),et($e)),we=(0,Y.useCallback)(e=>{let{active:t,over:n}=e;if(!n||t.id===n.id||!h)return;let r=U.findIndex(e=>e.id===t.id),i=U.findIndex(e=>e.id===n.id);r===-1||i===-1||h(tt(U,r,i).map(e=>e.id))},[U,h]),Te=ve,Oe=(0,Y.useCallback)(e=>{if(!F||e===0)return!1;let t=G[e-1],n=G[e],r=e=>e.visibility===`private`;return r(t)&&!r(n)},[F,G]),Ae=(e,i)=>{let a=e.id===t,d=r[e.type]||Te,p=I===e.id,x=ue&&(e.hasActiveFilters||e.hasActiveSort),S=Oe(i),te=(e=>F?e.visibility===`private`?(0,X.jsx)(me,{"data-testid":`view-tab-visibility-${e.id}`,className:`h-3 w-3 text-muted-foreground shrink-0`}):e.visibility?(0,X.jsx)(A,{"data-testid":`view-tab-visibility-${e.id}`,className:`h-3 w-3 text-muted-foreground shrink-0`}):null:null)(e),D=t=>(0,X.jsxs)(`div`,{"data-testid":`view-tab-${e.id}`,role:`tab`,tabIndex:0,"aria-selected":a,onClick:()=>!p&&n(e.id),onDoubleClick:()=>pe(e.id),onKeyDown:t=>{!p&&(t.key===`Enter`||t.key===` `)&&(t.preventDefault(),n(e.id))},...t?.listeners??{},...t?.attributes??{},className:w(`group/tab inline-flex items-center gap-1.5 px-3 py-2 text-sm font-medium border-b-2 transition-colors whitespace-nowrap relative outline-none focus-visible:ring-2 focus-visible:ring-ring`,t?.isDragging?`cursor-grabbing`:`cursor-pointer`,a?`border-primary text-primary`:`border-transparent text-muted-foreground hover:text-foreground hover:border-border`),children:[se&&h&&(0,X.jsx)(`span`,{"data-testid":`view-tab-drag-handle-${e.id}`,"aria-hidden":`true`,className:w(`text-muted-foreground transition-opacity pointer-events-none`,`opacity-0 group-hover/tab:opacity-100`,t?.isDragging&&`opacity-100`),children:(0,X.jsx)(ne,{className:`h-3 w-3`})}),M&&e.isPinned&&(0,X.jsx)(N,{"data-testid":`view-tab-pin-indicator-${e.id}`,className:`h-3 w-3 text-primary shrink-0`}),te,(0,X.jsx)(d,{className:`h-3.5 w-3.5`}),p?(0,X.jsx)(K,{ref:V,"data-testid":`view-tab-rename-input-${e.id}`,value:z,onChange:e=>B(e.target.value),onBlur:he,onKeyDown:e=>{e.key===`Enter`&&he(),e.key===`Escape`&&ge()},className:`h-5 w-24 px-1 py-0 text-sm border-none focus-visible:ring-1`,onClick:e=>e.stopPropagation()}):(0,X.jsx)(`span`,{children:e.label}),x&&(0,X.jsxs)(ie,{children:[(0,X.jsx)(le,{asChild:!0,children:(0,X.jsx)(`span`,{"data-testid":`view-tab-indicator-${e.id}`,className:`ml-1 inline-flex items-center justify-center h-4 min-w-[16px] rounded-full bg-primary/15 text-[10px] font-medium text-primary px-1 shrink-0`,children:[e.hasActiveFilters&&`F`,e.hasActiveSort&&`S`].filter(Boolean).join(``)})}),(0,X.jsx)(qe,{side:`bottom`,className:`text-xs`,children:[e.hasActiveFilters&&`Active filters`,e.hasActiveSort&&`Active sort`].filter(Boolean).join(`, `)})]}),e.isDefault&&(0,X.jsx)(Se,{className:`h-3 w-3 text-amber-500 fill-amber-500 shrink-0`}),a&&(v||o||s||c)&&(0,X.jsxs)(fe,{children:[(0,X.jsx)(He,{asChild:!0,children:(0,X.jsx)(`button`,{type:`button`,"data-testid":`view-tab-actions-${e.id}`,className:`ml-0.5 h-4 w-4 flex items-center justify-center rounded hover:bg-accent shrink-0 opacity-70 hover:opacity-100 transition-opacity`,onClick:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),"aria-label":`View actions for ${e.label}`,children:(0,X.jsx)(Ce,{className:`h-3 w-3`})})}),(0,X.jsxs)(Ee,{align:`start`,className:`min-w-[180px]`,onClick:e=>e.stopPropagation(),children:[v&&(0,X.jsxs)(H,{"data-testid":`view-tab-menu-config-${e.id}`,onClick:()=>v(e.id),children:[(0,X.jsx)(Re,{className:`h-4 w-4 mr-2`}),` Edit view config`]}),o&&(0,X.jsxs)(H,{"data-testid":`view-tab-menu-rename-${e.id}`,onClick:()=>pe(e.id),children:[(0,X.jsx)(ke,{className:`h-4 w-4 mr-2`}),` Rename`]}),s&&(0,X.jsxs)(H,{"data-testid":`view-tab-menu-duplicate-${e.id}`,onClick:()=>s(e.id),children:[(0,X.jsx)(Pe,{className:`h-4 w-4 mr-2`}),` Duplicate view`]}),f&&(0,X.jsxs)(H,{"data-testid":`view-tab-menu-share-${e.id}`,onClick:()=>f(e.id),children:[(0,X.jsx)(Ue,{className:`h-4 w-4 mr-2`}),` Share view`]}),u&&(0,X.jsxs)(H,{"data-testid":`view-tab-menu-default-${e.id}`,onClick:()=>u(e.id),children:[(0,X.jsx)(Se,{className:`h-4 w-4 mr-2`}),` Set as default`]}),m&&(0,X.jsx)(H,{"data-testid":`view-tab-menu-pin-${e.id}`,onClick:()=>m(e.id,!e.isPinned),children:e.isPinned?(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(k,{className:`h-4 w-4 mr-2`}),` Unpin view`]}):(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(N,{className:`h-4 w-4 mr-2`}),` Pin view`]})}),_&&b&&b.length>0&&(0,X.jsxs)(Le,{children:[(0,X.jsxs)(P,{"data-testid":`view-tab-menu-change-type-${e.id}`,children:[(0,X.jsx)(Ie,{className:`h-4 w-4 mr-2`}),` Change view type`]}),(0,X.jsx)(We,{children:b.map(t=>{let n=r[t.type]||Te;return(0,X.jsxs)(H,{"data-testid":`view-tab-menu-type-${e.id}-${t.type}`,disabled:t.type===e.type,onClick:()=>_(e.id,t.type),children:[(0,X.jsx)(n,{className:`h-4 w-4 mr-2`}),(0,X.jsx)(`span`,{children:t.label})]},t.type)})})]}),c&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(de,{}),(0,X.jsxs)(H,{"data-testid":`view-tab-menu-delete-${e.id}`,onClick:()=>c(e.id),className:`text-destructive focus:text-destructive`,children:[(0,X.jsx)(De,{className:`h-4 w-4 mr-2`}),` Delete view`]})]}),y&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(de,{}),(0,X.jsxs)(H,{"data-testid":`view-tab-menu-manage-${e.id}`,onClick:y,children:[(0,X.jsx)(E,{className:`h-4 w-4 mr-2`}),` Manage all views…`]})]})]})]})]}),O=t=>!oe||p?t:(0,X.jsxs)(g,{children:[(0,X.jsx)(re,{asChild:!0,children:t}),(0,X.jsxs)(ee,{children:[o&&(0,X.jsxs)(W,{"data-testid":`context-menu-rename-${e.id}`,onClick:()=>pe(e.id),children:[(0,X.jsx)(ke,{className:`h-4 w-4 mr-2`}),` Rename`]}),s&&(0,X.jsxs)(W,{"data-testid":`context-menu-duplicate-${e.id}`,onClick:()=>s(e.id),children:[(0,X.jsx)(Pe,{className:`h-4 w-4 mr-2`}),` Duplicate View`]}),f&&(0,X.jsxs)(W,{"data-testid":`context-menu-share-${e.id}`,onClick:()=>f(e.id),children:[(0,X.jsx)(Ue,{className:`h-4 w-4 mr-2`}),` Share View`]}),u&&(0,X.jsxs)(W,{"data-testid":`context-menu-default-${e.id}`,onClick:()=>u(e.id),children:[(0,X.jsx)(Se,{className:`h-4 w-4 mr-2`}),` Set as Default`]}),m&&(0,X.jsx)(W,{"data-testid":`context-menu-pin-${e.id}`,onClick:()=>m(e.id,!e.isPinned),children:e.isPinned?(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(k,{className:`h-4 w-4 mr-2`}),` Unpin View`]}):(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(N,{className:`h-4 w-4 mr-2`}),` Pin View`]})}),_&&b&&b.length>0&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(l,{}),(0,X.jsxs)(_e,{children:[(0,X.jsxs)(T,{"data-testid":`context-menu-change-type-${e.id}`,children:[(0,X.jsx)(Ie,{className:`h-4 w-4 mr-2`}),` Change View Type`]}),(0,X.jsx)(C,{"data-testid":`context-menu-type-submenu-${e.id}`,children:b.map(t=>{let n=r[t.type]||Te;return(0,X.jsxs)(W,{"data-testid":`context-menu-type-${e.id}-${t.type}`,disabled:t.type===e.type,onClick:()=>_(e.id,t.type),children:[(0,X.jsx)(n,{className:`h-4 w-4 mr-2`}),(0,X.jsxs)(`div`,{className:`flex flex-col`,children:[(0,X.jsx)(`span`,{children:t.label}),t.description&&(0,X.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:t.description})]})]},t.type)})})]})]}),c&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(l,{}),(0,X.jsxs)(W,{"data-testid":`context-menu-delete-${e.id}`,onClick:()=>c(e.id),className:`text-destructive focus:text-destructive`,children:[(0,X.jsx)(De,{className:`h-4 w-4 mr-2`}),` Delete View`]})]}),y&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(l,{}),(0,X.jsxs)(W,{"data-testid":`context-menu-manage-${e.id}`,onClick:y,children:[(0,X.jsx)(E,{className:`h-4 w-4 mr-2`}),` Manage all views…`]})]})]})]});return se&&h?(0,X.jsxs)(Y.Fragment,{children:[S&&(0,X.jsx)(`div`,{"data-testid":`view-tab-visibility-separator`,className:`w-px h-5 bg-border mx-1 self-center shrink-0`}),(0,X.jsx)(Bt,{id:e.id,children:({setNodeRef:e,style:t,listeners:n,attributes:r,isDragging:i})=>(0,X.jsx)(`div`,{ref:e,style:t,className:w(`flex`,i&&`z-10`),children:O(D({listeners:n,attributes:r,isDragging:i}))})})]},e.id):(0,X.jsxs)(Y.Fragment,{children:[S&&(0,X.jsx)(`div`,{"data-testid":`view-tab-visibility-separator`,className:`w-px h-5 bg-border mx-1 self-center shrink-0`}),O(D())]},e.id)},je=(0,X.jsx)(X.Fragment,{children:G.map((e,t)=>Ae(e,t))});return(0,X.jsx)(d,{children:(0,X.jsxs)(`div`,{"data-testid":`view-tab-bar`,className:w(`flex items-center gap-0.5 -mb-px`,te),children:[se&&h?(0,X.jsx)(it,{sensors:xe,collisionDetection:Ye,onDragEnd:we,children:(0,X.jsx)(at,{items:G.map(e=>e.id),strategy:rt,children:(0,X.jsx)(`div`,{"data-testid":`view-tab-sortable-container`,className:`flex items-center gap-0.5`,children:je})})}):je,be.length>0&&(0,X.jsxs)(fe,{children:[(0,X.jsx)(He,{asChild:!0,children:(0,X.jsxs)(`button`,{"data-testid":`view-tab-overflow`,className:`inline-flex items-center gap-1 px-2 py-2 text-sm text-muted-foreground hover:text-foreground transition-colors`,children:[(0,X.jsx)(O,{className:`h-4 w-4`}),(0,X.jsxs)(`span`,{className:`text-xs`,children:[be.length,` more`]})]})}),(0,X.jsxs)(Ee,{align:`end`,children:[y&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(H,{"data-testid":`view-tab-overflow-manage`,onClick:y,className:`font-medium`,children:[(0,X.jsx)(E,{className:`h-4 w-4 mr-2`}),` Manage all views…`]}),(0,X.jsx)(de,{})]}),be.map(e=>{let t=r[e.type]||Te;return(0,X.jsxs)(H,{"data-testid":`view-tab-overflow-${e.id}`,onClick:()=>n(e.id),children:[e.isPinned&&(0,X.jsx)(N,{className:`h-3 w-3 mr-1 text-primary shrink-0`}),(0,X.jsx)(t,{className:`h-4 w-4 mr-2`}),e.label,ue&&(e.hasActiveFilters||e.hasActiveSort)&&(0,X.jsx)(`span`,{className:`ml-auto inline-flex items-center justify-center h-4 min-w-[16px] rounded-full bg-primary/15 text-[10px] font-medium text-primary px-1`,children:[e.hasActiveFilters&&`F`,e.hasActiveSort&&`S`].filter(Boolean).join(``)})]},e.id)})]})]}),D&&a&&(0,X.jsxs)(ie,{children:[(0,X.jsx)(le,{asChild:!0,children:(0,X.jsx)(`button`,{"data-testid":`view-tab-add`,onClick:a,className:`inline-flex items-center px-2 py-2 text-muted-foreground hover:text-foreground transition-colors`,children:(0,X.jsx)(ye,{className:`h-4 w-4`})})}),(0,X.jsx)(qe,{children:`Add View`})]}),j&&x&&(0,X.jsxs)(`div`,{"data-testid":`view-tab-save-as`,className:`flex items-center gap-1 ml-2 text-xs text-amber-600 dark:text-amber-400`,children:[(0,X.jsx)(R,{className:`h-3.5 w-3.5`}),(0,X.jsx)(`span`,{className:`hidden sm:inline`,children:`Unsaved changes`}),p&&(0,X.jsx)(J,{variant:`ghost`,size:`sm`,"data-testid":`view-tab-save-as-btn`,className:`h-6 px-2 text-xs`,onClick:p,children:`Save as View`}),S&&(0,X.jsx)(J,{variant:`ghost`,size:`sm`,"data-testid":`view-tab-reset-btn`,className:`h-6 px-2 text-xs`,onClick:S,children:`Reset`})]})]})})},Ht=ve,Ut=({view:e,isActive:t,Icon:n,isRenaming:r,onStartRename:i,onCommitRename:a,onCancelRename:o,onRowClick:s,onDelete:c,onDuplicate:l,onSetDefault:f,onSetPinned:p,onConfigView:m})=>{let{attributes:h,listeners:g,setNodeRef:_,transform:v,transition:y,isDragging:b}=Je({id:e.id}),x={transform:Xe.Transform.toString(v),transition:y,opacity:b?.5:1},S=(0,Y.useRef)(null),[C,T]=(0,Y.useState)(e.label);(0,Y.useEffect)(()=>{r&&(T(e.label),requestAnimationFrame(()=>{S.current?.focus(),S.current?.select()}))},[r,e.label]);let E=(0,Y.useCallback)(()=>{let t=C.trim();t&&t!==e.label?a(e.id,t):o()},[C,e.id,e.label,a,o]);return(0,X.jsxs)(`li`,{ref:_,style:x,"data-testid":`manage-views-row-${e.id}`,className:w(`group/row flex items-center gap-2 px-2 py-2 rounded-md border border-transparent`,`hover:bg-accent/50 transition-colors`,t&&`bg-accent/40 border-border`,b&&`shadow-md bg-background border-border z-10`),children:[(0,X.jsx)(`button`,{type:`button`,...h,...g,"aria-label":`Drag to reorder`,"data-testid":`manage-views-drag-${e.id}`,className:`shrink-0 h-6 w-5 flex items-center justify-center text-muted-foreground/40 hover:text-muted-foreground cursor-grab active:cursor-grabbing rounded hover:bg-accent`,onClick:e=>e.stopPropagation(),children:(0,X.jsx)(ne,{className:`h-4 w-4`})}),(0,X.jsx)(n,{className:`shrink-0 h-4 w-4 text-muted-foreground`}),(0,X.jsx)(`div`,{className:`flex-1 min-w-0`,onClick:()=>{r||s?.(e.id)},children:r?(0,X.jsx)(K,{ref:S,value:C,onChange:e=>T(e.target.value),onBlur:E,onKeyDown:e=>{e.key===`Enter`?(e.preventDefault(),E()):e.key===`Escape`&&(e.preventDefault(),o())},onClick:e=>e.stopPropagation(),className:`h-7 text-sm`,"data-testid":`manage-views-rename-input-${e.id}`}):(0,X.jsxs)(`button`,{type:`button`,className:`w-full text-left text-sm font-medium truncate cursor-pointer`,onDoubleClick:t=>{t.stopPropagation(),i(e.id)},title:e.label,children:[e.label,e.isDefault&&(0,X.jsxs)(`span`,{className:`ml-2 inline-flex items-center text-[10px] uppercase tracking-wide text-muted-foreground`,title:`Default view`,children:[(0,X.jsx)(Se,{className:`h-3 w-3 mr-0.5 fill-current`}),` default`]})]})}),p&&!r&&(0,X.jsx)(d,{delayDuration:300,children:(0,X.jsxs)(ie,{children:[(0,X.jsx)(le,{asChild:!0,children:(0,X.jsx)(`button`,{type:`button`,"aria-label":e.isPinned?`Unpin view`:`Pin view`,"data-testid":`manage-views-pin-${e.id}`,onClick:t=>{t.stopPropagation(),p(e.id,!e.isPinned)},className:w(`shrink-0 h-7 w-7 inline-flex items-center justify-center rounded hover:bg-accent transition-colors`,e.isPinned?`text-amber-500`:`text-muted-foreground/40 opacity-0 group-hover/row:opacity-100`),children:e.isPinned?(0,X.jsx)(N,{className:`h-4 w-4 fill-current`}):(0,X.jsx)(N,{className:`h-4 w-4`})})}),(0,X.jsx)(qe,{side:`top`,children:e.isPinned?`Unpin view`:`Pin view`})]})}),f&&!r&&!e.isDefault&&(0,X.jsx)(d,{delayDuration:300,children:(0,X.jsxs)(ie,{children:[(0,X.jsx)(le,{asChild:!0,children:(0,X.jsx)(`button`,{type:`button`,"aria-label":`Set as default`,"data-testid":`manage-views-default-${e.id}`,onClick:t=>{t.stopPropagation(),f(e.id)},className:`shrink-0 h-7 w-7 inline-flex items-center justify-center rounded hover:bg-accent text-muted-foreground/40 hover:text-foreground opacity-0 group-hover/row:opacity-100 transition-colors`,children:(0,X.jsx)(Se,{className:`h-4 w-4`})})}),(0,X.jsx)(qe,{side:`top`,children:`Set as default`})]})}),!r&&(c||l||m||f)&&(0,X.jsxs)(fe,{children:[(0,X.jsx)(He,{asChild:!0,children:(0,X.jsx)(`button`,{type:`button`,"aria-label":`Actions for ${e.label}`,"data-testid":`manage-views-actions-${e.id}`,onClick:e=>e.stopPropagation(),className:`shrink-0 h-7 w-7 inline-flex items-center justify-center rounded hover:bg-accent text-muted-foreground opacity-60 group-hover/row:opacity-100 transition-opacity`,children:(0,X.jsx)(O,{className:`h-4 w-4`})})}),(0,X.jsxs)(Ee,{align:`end`,className:`min-w-[180px]`,children:[(0,X.jsxs)(H,{"data-testid":`manage-views-action-rename-${e.id}`,onClick:()=>i(e.id),children:[(0,X.jsx)(ke,{className:`h-4 w-4 mr-2`}),` Rename`]}),l&&(0,X.jsxs)(H,{"data-testid":`manage-views-action-duplicate-${e.id}`,onClick:()=>l(e.id),children:[(0,X.jsx)(Pe,{className:`h-4 w-4 mr-2`}),` Duplicate`]}),m&&(0,X.jsxs)(H,{"data-testid":`manage-views-action-config-${e.id}`,onClick:()=>m(e.id),children:[(0,X.jsx)(ke,{className:`h-4 w-4 mr-2`}),` Edit configuration…`]}),f&&!e.isDefault&&(0,X.jsxs)(H,{"data-testid":`manage-views-action-default-${e.id}`,onClick:()=>f(e.id),children:[(0,X.jsx)(Se,{className:`h-4 w-4 mr-2`}),` Set as default`]}),p&&(0,X.jsx)(H,{"data-testid":`manage-views-action-pin-${e.id}`,onClick:()=>p(e.id,!e.isPinned),children:e.isPinned?(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(k,{className:`h-4 w-4 mr-2`}),` Unpin`]}):(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(N,{className:`h-4 w-4 mr-2`}),` Pin`]})}),c&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(de,{}),(0,X.jsxs)(H,{"data-testid":`manage-views-action-delete-${e.id}`,onClick:()=>c(e.id),className:`text-destructive focus:text-destructive`,children:[(0,X.jsx)(De,{className:`h-4 w-4 mr-2`}),` Delete`]})]})]})]}),r&&(0,X.jsxs)(`div`,{className:`flex items-center gap-1 shrink-0`,children:[(0,X.jsx)(`button`,{type:`button`,"aria-label":`Save name`,onMouseDown:e=>e.preventDefault(),onClick:E,className:`h-7 w-7 inline-flex items-center justify-center rounded hover:bg-accent text-emerald-600`,children:(0,X.jsx)(V,{className:`h-4 w-4`})}),(0,X.jsx)(`button`,{type:`button`,"aria-label":`Cancel rename`,onMouseDown:e=>e.preventDefault(),onClick:o,className:`h-7 w-7 inline-flex items-center justify-center rounded hover:bg-accent text-muted-foreground`,children:(0,X.jsx)(u,{className:`h-4 w-4`})})]})]})},Wt=({open:e,onOpenChange:t,views:n,activeViewId:r,viewTypeIcons:i={},onRename:a,onDelete:o,onDuplicate:s,onSetDefault:c,onSetPinned:l,onReorder:u,onAddView:d,onConfigView:f})=>{let[p,m]=(0,Y.useState)(``),[h,g]=(0,Y.useState)(null),[_,x]=(0,Y.useState)(()=>n.map(e=>e.id));(0,Y.useEffect)(()=>{x(n.map(e=>e.id))},[n]),(0,Y.useEffect)(()=>{e||(g(null),m(``))},[e]);let C=(0,Y.useMemo)(()=>{let e=new Map(n.map(e=>[e.id,e]));return _.map(t=>e.get(t)).filter(Boolean)},[_,n]),w=(0,Y.useMemo)(()=>{if(!p.trim())return C;let e=p.toLowerCase();return C.filter(t=>t.label.toLowerCase().includes(e))},[C,p]),T=Ze(et(ot,{activationConstraint:{distance:5}}),et($e,{coordinateGetter:Qe})),E=e=>{let{active:t,over:n}=e;if(!n||t.id===n.id)return;let r=_.indexOf(String(t.id)),i=_.indexOf(String(n.id));if(r<0||i<0)return;let a=tt(_,r,i);x(a),u?.(a)},ee=e=>{t(!1),requestAnimationFrame(()=>f?.(e))};return(0,X.jsx)(y,{open:e,onOpenChange:t,children:(0,X.jsxs)(ce,{className:`sm:max-w-[560px] p-0 gap-0 overflow-hidden`,"data-testid":`manage-views-dialog`,children:[(0,X.jsxs)(b,{className:`px-5 pt-5 pb-3`,children:[(0,X.jsx)(Ae,{className:`text-base`,children:`Manage views`}),(0,X.jsx)(ue,{className:`text-xs`,children:`Reorder, rename, pin, or delete every view in this object.`})]}),(0,X.jsx)(`div`,{className:`px-5 pb-3`,children:(0,X.jsxs)(`div`,{className:`relative`,children:[(0,X.jsx)(S,{className:`absolute left-2.5 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground pointer-events-none`}),(0,X.jsx)(K,{value:p,onChange:e=>m(e.target.value),placeholder:`Search views`,className:`pl-8 h-9`,"data-testid":`manage-views-search`})]})}),(0,X.jsx)(`div`,{className:`px-3 pb-3 max-h-[55vh] overflow-y-auto`,"data-testid":`manage-views-list`,children:w.length===0?(0,X.jsx)(`div`,{className:`text-center text-sm text-muted-foreground py-10`,children:`No views match your search.`}):(0,X.jsx)(it,{sensors:T,collisionDetection:Ye,onDragEnd:E,children:(0,X.jsx)(at,{items:w.map(e=>e.id),strategy:nt,children:(0,X.jsx)(`ul`,{className:`space-y-0.5`,children:w.map(e=>(0,X.jsx)(Ut,{view:e,Icon:i[e.type]||Ht,isActive:e.id===r,isRenaming:h===e.id,onStartRename:e=>g(e),onCancelRename:()=>g(null),onCommitRename:(e,t)=>{g(null),a?.(e,t)},onDelete:o,onDuplicate:s,onSetDefault:c,onSetPinned:l,onConfigView:f?ee:void 0},e.id))})})})}),(0,X.jsxs)(v,{className:`border-t bg-muted/30 px-5 py-3 flex sm:justify-between gap-2`,children:[d?(0,X.jsxs)(J,{variant:`ghost`,size:`sm`,onClick:()=>{t(!1),requestAnimationFrame(()=>d())},"data-testid":`manage-views-add`,className:`text-sm`,children:[(0,X.jsx)(ye,{className:`h-4 w-4 mr-1.5`}),` Add new view`]}):(0,X.jsx)(`span`,{}),(0,X.jsx)(J,{size:`sm`,onClick:()=>t(!1),"data-testid":`manage-views-done`,children:`Done`})]})]})})},Gt={"=":`equals`,"==":`equals`,"!=":`notEquals`,"<>":`notEquals`,">":`greaterThan`,"<":`lessThan`,">=":`greaterOrEqual`,"<=":`lessOrEqual`,contains:`contains`,not_contains:`notContains`,is_empty:`isEmpty`,is_not_empty:`isNotEmpty`,in:`in`,not_in:`notIn`,"not in":`notIn`,before:`before`,after:`after`,between:`between`,equals:`equals`,notEquals:`notEquals`,greaterThan:`greaterThan`,lessThan:`lessThan`,greaterOrEqual:`greaterOrEqual`,lessOrEqual:`lessOrEqual`,notContains:`notContains`,isEmpty:`isEmpty`,isNotEmpty:`isNotEmpty`,notIn:`notIn`},Kt={equals:`=`,notEquals:`!=`,greaterThan:`>`,lessThan:`<`,greaterOrEqual:`>=`,lessOrEqual:`<=`,contains:`contains`,notContains:`not_contains`,isEmpty:`is_empty`,isNotEmpty:`is_not_empty`,in:`in`,notIn:`not in`,before:`before`,after:`after`,between:`between`};function qt(e){let t=(e||``).toLowerCase();return[`integer`,`int`,`float`,`double`,`number`,`currency`,`money`,`percent`,`rating`].includes(t)?`number`:[`date`,`datetime`,`datetime_tz`,`timestamp`,`time`].includes(t)?`date`:[`boolean`,`bool`,`checkbox`,`switch`].includes(t)?`boolean`:[`select`,`picklist`,`single_select`,`multi_select`,`enum`,`status`,`lookup`,`master_detail`,`user`,`owner`].includes(t)?`select`:`text`}function Jt(e){if(!Array.isArray(e)||e.length<2)return null;let[t,n,r]=e;return typeof t!=`string`||typeof n!=`string`?null:{id:crypto.randomUUID(),field:t,operator:Gt[n]||n,value:r??``}}function Yt(e){if(Array.isArray(e)){let t=Jt(e);return t?[t]:[]}return typeof e==`object`&&e&&e.field?[{id:e.id||crypto.randomUUID(),field:e.field,operator:Gt[e.operator]||e.operator||`equals`,value:e.value??``}]:[]}function Xt(e){if(!Array.isArray(e)||e.length===0)return{logic:`and`,conditions:[]};if(typeof e[0]==`string`&&(e[0]===`and`||e[0]===`or`))return{logic:e[0],conditions:e.slice(1).flatMap(e=>Yt(e))};if(e.length>=2&&e.length<=3&&typeof e[0]==`string`&&typeof e[1]==`string`&&!Array.isArray(e[0])&&!Array.isArray(e[2])){let t=Jt(e);return{logic:`and`,conditions:t?[t]:[]}}if(Array.isArray(e[0])||typeof e[0]==`object`&&e[0]!==null&&!Array.isArray(e[0]))return{logic:`and`,conditions:e.flatMap(e=>Yt(e))};let t=Jt(e);return{logic:`and`,conditions:t?[t]:[]}}function Zt(e,t){let n=t.filter(e=>e.field).map(e=>[e.field,Kt[e.operator]||e.operator,e.value]);return n.length===0?[]:n.length===1&&e===`and`?n[0]:e===`or`?[`or`,...n]:n}function Qt(e){return e.split(`,`).map(e=>e.trim()).filter(Boolean)}function $t(e){return e.split(`,`).map(e=>Number(e.trim())).filter(e=>!isNaN(e)&&e>0)}var en={grid:`Grid`,kanban:`Kanban`,calendar:`Calendar`,gallery:`Gallery`,timeline:`Timeline`,gantt:`Gantt`,map:`Map`,chart:`Chart`},tn=Object.keys(en),nn=[{value:`compact`,gapClass:`gap-0`},{value:`short`,gapClass:`gap-px`},{value:`medium`,gapClass:`gap-0.5`},{value:`tall`,gapClass:`gap-1`},{value:`extra_tall`,gapClass:`gap-1.5`}];function rn(e){return e.fields?Object.entries(e.fields).map(([e,t])=>({value:e,label:t.label||e,type:qt(t.type),options:t.options})):[]}function an(e){let t=Xt(e);return{id:`root`,logic:t.logic,conditions:t.conditions}}function on(e){return(Array.isArray(e)?e:[]).map(e=>({id:e.id||crypto.randomUUID(),field:e.field||``,order:e.order||e.direction||`asc`}))}function Z({renderSummary:e,children:t}){let[n,r]=Y.useState(!1);return(0,X.jsxs)(X.Fragment,{children:[e(()=>r(e=>!e)),n&&t]})}var sn=5;function cn({colName:e,label:t,idx:n,total:r,onToggle:i,onMove:a}){let{attributes:o,listeners:s,setNodeRef:c,transform:l,transition:u,isDragging:d}=Je({id:e});return(0,X.jsxs)(`div`,{ref:c,style:{transform:Xe.Transform.toString(l),transition:u,zIndex:d?10:void 0,opacity:d?.5:void 0},"data-field-name":e,"data-field-label":t,className:`flex items-center gap-1 text-xs hover:bg-accent/50 rounded-sm py-0.5 px-1 -mx-1 group`,children:[(0,X.jsx)(`span`,{...o,...s,className:`shrink-0 cursor-grab touch-none`,"data-testid":`col-drag-handle-${e}`,children:(0,X.jsx)(ne,{className:`h-3 w-3 text-muted-foreground/50`})}),(0,X.jsx)(`button`,{type:`button`,"data-testid":`col-eye-${e}`,className:`h-5 w-5 flex items-center justify-center rounded hover:bg-accent shrink-0`,onClick:()=>i(e,!1),"aria-label":`Hide ${t}`,children:(0,X.jsx)(je,{className:`h-3.5 w-3.5 text-primary`})}),(0,X.jsx)(`span`,{className:`truncate flex-1`,children:t}),(0,X.jsx)(`button`,{type:`button`,"data-testid":`col-move-up-${e}`,className:`h-5 w-5 flex items-center justify-center rounded hover:bg-accent disabled:opacity-30 shrink-0 opacity-0 group-hover:opacity-100 transition-opacity`,disabled:n===0,onClick:()=>a(e,`up`),"aria-label":`Move ${t} up`,children:(0,X.jsx)(ne,{className:`h-3 w-3 rotate-90`})}),(0,X.jsx)(`button`,{type:`button`,"data-testid":`col-move-down-${e}`,className:`h-5 w-5 flex items-center justify-center rounded hover:bg-accent disabled:opacity-30 shrink-0 opacity-0 group-hover:opacity-100 transition-opacity`,disabled:n===r-1,onClick:()=>a(e,`down`),"aria-label":`Move ${t} down`,children:(0,X.jsx)(ne,{className:`h-3 w-3 -rotate-90`})})]})}function ln({columns:e,fieldOptions:t,onToggle:n,onMove:r,onReorder:i}){return(0,X.jsx)(it,{sensors:Ze(et(ot,{activationConstraint:{distance:sn}}),et($e)),collisionDetection:Ye,onDragEnd:Y.useCallback(t=>{let{active:n,over:r}=t;if(!r||n.id===r.id)return;let a=e.indexOf(String(n.id)),o=e.indexOf(String(r.id));a===-1||o===-1||i(tt(e,a,o))},[e,i]),children:(0,X.jsx)(at,{items:e,strategy:nt,children:e.map((i,a)=>(0,X.jsx)(cn,{colName:i,label:t.find(e=>e.value===i)?.label||i,idx:a,total:e.length,onToggle:n,onMove:r},i))})})}var un=[`general`,`data`,`appearance`,`toolbar`,`userActions`,`navigation`,`exportPrint`],dn=[`general`,`data`,`appearance`],Q=e=>e.type==null||e.type===`grid`,fn=e=>e.type==null||[`grid`,`kanban`,`gallery`].includes(e.type),pn=e=>e.type==null||[`grid`,`calendar`,`timeline`,`gantt`].includes(e.type),mn=e=>e.type==null||[`grid`,`kanban`].includes(e.type),hn=e=>e.type==null||[`grid`,`kanban`].includes(e.type),gn=e=>e.type==null||[`grid`,`gallery`].includes(e.type);function _n(e){let{t,fieldOptions:n,objectDef:r,updateField:i,filterGroupValue:a,sortItemsValue:o,essentialOnly:s=!1}=e,c=n.map(e=>({value:e.value,label:e.label})),l=[{value:``,label:t(`console.objectView.none`)},...c],u=[vn(t,r),yn(t),bn(t,i),xn(t,i),Sn(t,i),Cn(t,n,l,r,i,a,o),wn(t,n,l,i),Tn(t,i),En(t,i),Dn(t,i)],d=s?u.filter(e=>un.includes(e.key)).map(e=>dn.includes(e.key)?e:{...e,collapsible:!0,defaultCollapsed:!0}):u;return{breadcrumb:[t(`console.objectView.page`)],sections:d}}function vn(e,t){return{key:`general`,title:e(`console.objectView.general`),hint:e(`console.objectView.generalHint`),fields:[{key:`label`,label:e(`console.objectView.title`),type:`custom`,render:(t,n)=>(0,X.jsx)(q,{label:e(`console.objectView.title`),children:(0,X.jsx)(K,{"data-testid":`view-title-input`,className:`h-7 text-xs w-32 text-right`,value:t||``,onChange:e=>n(e.target.value)})})},{key:`description`,label:e(`console.objectView.description`),type:`custom`,render:(n,r)=>(0,X.jsx)(q,{label:e(`console.objectView.description`),children:(0,X.jsx)(K,{"data-testid":`view-description-input`,className:`h-7 text-xs w-32 text-right`,value:n??``,placeholder:t.description||e(`console.objectView.noDescription`),onChange:e=>r(e.target.value)})})},{key:`type`,label:e(`console.objectView.viewType`),type:`custom`,render:(t,n)=>(0,X.jsx)(q,{label:e(`console.objectView.viewType`),children:(0,X.jsx)(`select`,{"data-testid":`view-type-select`,className:`text-xs h-7 rounded-md border border-input bg-background px-2 text-foreground`,value:t||`grid`,onChange:e=>n(e.target.value),children:tn.map(e=>(0,X.jsx)(`option`,{value:e,children:en[e]},e))})})}]}}function yn(e){let t=[`showSearch`,`showSort`,`showFilters`,`showHideFields`,`showGroup`,`showColor`,`showDensity`];return{key:`toolbar`,title:e(`console.objectView.toolbar`),hint:e(`console.objectView.toolbarHint`),collapsible:!0,defaultCollapsed:!0,fields:[{key:`_toolbarSummary`,label:e(`console.objectView.toolbar`),type:`custom`,render:(n,r,i)=>{let a=t.length,o=t.filter(e=>i[e]!==!1).length;return(0,X.jsx)(`div`,{className:`flex items-center gap-1.5 py-1`,"data-testid":`toolbar-summary-chip`,children:(0,X.jsx)(`span`,{className:`inline-flex items-center rounded-full bg-muted px-2 py-0.5 text-[10px] font-medium text-muted-foreground`,children:e(`console.objectView.toolbarEnabledCount`,{count:o,total:a})})})}},$(`showSearch`,e(`console.objectView.enableSearch`),`toggle-showSearch`,!0),$(`showSort`,e(`console.objectView.enableSort`),`toggle-showSort`,!0),$(`showFilters`,e(`console.objectView.enableFilter`),`toggle-showFilters`,!0),$(`showHideFields`,e(`console.objectView.enableHideFields`),`toggle-showHideFields`,!0),$(`showGroup`,e(`console.objectView.enableGroup`),`toggle-showGroup`,!0,!1,void 0,fn),$(`showColor`,e(`console.objectView.enableColor`),`toggle-showColor`,!0,!1,void 0,pn),$(`showDensity`,e(`console.objectView.enableDensity`),`toggle-showDensity`,!0,!1,void 0,Q)]}}function bn(e,t){return{key:`navigation`,title:e(`console.objectView.navigationSection`),hint:e(`console.objectView.navigationHint`),collapsible:!0,defaultCollapsed:!0,fields:[{key:`_navigationMode`,label:e(`console.objectView.navigationMode`),type:`custom`,render:(n,r,i)=>{let a=i.navigation?.mode||`page`;return(0,X.jsx)(q,{label:e(`console.objectView.navigationMode`),children:(0,X.jsxs)(`select`,{"data-testid":`select-navigation-mode`,className:`text-xs h-7 rounded-md border border-input bg-background px-2 text-foreground max-w-[120px]`,value:a,onChange:e=>{let n=e.target.value;t(`navigation`,{...i.navigation||{},mode:n}),t(`clickIntoRecordDetails`,n!==`none`)},children:[(0,X.jsx)(`option`,{value:`page`,children:`Page`}),(0,X.jsx)(`option`,{value:`drawer`,children:`Drawer`}),(0,X.jsx)(`option`,{value:`modal`,children:`Modal`}),(0,X.jsx)(`option`,{value:`split`,children:`Split`}),(0,X.jsx)(`option`,{value:`popover`,children:`Popover`}),(0,X.jsx)(`option`,{value:`new_window`,children:`New Window`}),(0,X.jsx)(`option`,{value:`none`,children:`None`})]})})}},{key:`_navigationWidth`,label:e(`console.objectView.navigationWidth`),type:`custom`,helpText:e(`console.objectView.navigationWidthHint`),visibleWhen:e=>[`drawer`,`modal`,`split`].includes(e.navigation?.mode||`page`),render:(n,r,i)=>{let a=i.navigation?.mode||`page`;return(0,X.jsx)(q,{label:e(`console.objectView.navigationWidth`),children:(0,X.jsx)(K,{"data-testid":`input-navigation-width`,className:`h-7 text-xs w-24 text-right`,value:i.navigation?.width??``,placeholder:`600px`,onChange:e=>t(`navigation`,{...i.navigation||{},mode:a,width:e.target.value})})})}},{key:`_navigationOpenNewTab`,label:e(`console.objectView.openNewTab`),type:`custom`,helpText:e(`console.objectView.openNewTabHint`),visibleWhen:e=>[`page`,`new_window`].includes(e.navigation?.mode||`page`),render:(n,r,i)=>{let a=i.navigation?.mode||`page`;return(0,X.jsx)(q,{label:e(`console.objectView.openNewTab`),children:(0,X.jsx)(p,{"data-testid":`toggle-navigation-openNewTab`,checked:i.navigation?.openNewTab===!0,onCheckedChange:e=>t(`navigation`,{...i.navigation||{},mode:a,openNewTab:e}),className:`scale-75`})})}}]}}function xn(e,t){return{key:`records`,title:e(`console.objectView.records`),hint:e(`console.objectView.recordsHint`),collapsible:!0,defaultCollapsed:!0,fields:[{key:`_selectionType`,label:e(`console.objectView.selectionMode`),type:`custom`,render:(n,r,i)=>(0,X.jsx)(q,{label:e(`console.objectView.selectionMode`),children:(0,X.jsxs)(`select`,{"data-testid":`select-selection-type`,className:`text-xs h-7 rounded-md border border-input bg-background px-2 text-foreground max-w-[120px]`,value:i.selection?.type||`multiple`,onChange:e=>t(`selection`,{type:e.target.value}),children:[(0,X.jsx)(`option`,{value:`none`,children:e(`console.objectView.selectionNone`)}),(0,X.jsx)(`option`,{value:`single`,children:e(`console.objectView.selectionSingle`)}),(0,X.jsx)(`option`,{value:`multiple`,children:e(`console.objectView.selectionMultiple`)})]})})},{key:`_addRecord`,label:e(`console.objectView.addRecordEnabled`),type:`custom`,render:(n,r,i)=>{let a=i.addRecordViaForm===!0||i.addRecord?.enabled===!0;return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(q,{label:e(`console.objectView.addRecordEnabled`),children:(0,X.jsx)(p,{"data-testid":`toggle-addRecord-enabled`,checked:a,onCheckedChange:e=>{t(`addRecordViaForm`,e),t(`addRecord`,{...i.addRecord||{},enabled:e})},className:`scale-75`})}),a&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(q,{label:e(`console.objectView.addRecordPosition`),children:(0,X.jsxs)(`select`,{"data-testid":`select-addRecord-position`,className:`text-xs h-7 rounded-md border border-input bg-background px-2 text-foreground max-w-[100px]`,value:i.addRecord?.position||`top`,onChange:e=>t(`addRecord`,{...i.addRecord||{},enabled:!0,position:e.target.value}),children:[(0,X.jsx)(`option`,{value:`top`,children:`Top`}),(0,X.jsx)(`option`,{value:`bottom`,children:`Bottom`})]})}),(0,X.jsx)(q,{label:e(`console.objectView.addRecordMode`),children:(0,X.jsxs)(`select`,{"data-testid":`select-addRecord-mode`,className:`text-xs h-7 rounded-md border border-input bg-background px-2 text-foreground max-w-[100px]`,value:i.addRecord?.mode||`form`,onChange:e=>t(`addRecord`,{...i.addRecord||{},enabled:!0,mode:e.target.value}),children:[(0,X.jsx)(`option`,{value:`inline`,children:`Inline`}),(0,X.jsx)(`option`,{value:`form`,children:`Form`}),(0,X.jsx)(`option`,{value:`modal`,children:`Modal`})]})}),(0,X.jsx)(q,{label:e(`console.objectView.addRecordFormView`),children:(0,X.jsx)(K,{"data-testid":`input-addRecord-formView`,className:`h-7 text-xs w-24 text-right`,value:i.addRecord?.formView??``,onChange:e=>t(`addRecord`,{...i.addRecord||{},enabled:!0,formView:e.target.value})})})]})]})}}]}}function Sn(e,t){return{key:`exportPrint`,title:e(`console.objectView.exportPrint`),hint:e(`console.objectView.exportPrintHint`),collapsible:!0,defaultCollapsed:!0,fields:[{key:`_export`,label:e(`console.objectView.allowExport`),type:`custom`,render:(n,r,i)=>{let a=i.exportOptions!=null||i.allowExport===!0;return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(q,{label:e(`console.objectView.allowExport`),children:(0,X.jsx)(p,{"data-testid":`toggle-allowExport`,checked:a,onCheckedChange:e=>t(`allowExport`,e),className:`scale-75`})}),a&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(q,{label:e(`console.objectView.exportFormats`),children:(0,X.jsx)(`div`,{"data-testid":`export-formats`,className:`flex flex-wrap gap-1`,children:[`csv`,`xlsx`,`json`,`pdf`].map(e=>(0,X.jsxs)(`label`,{className:`flex items-center gap-1 text-xs cursor-pointer`,children:[(0,X.jsx)(j,{"data-testid":`export-format-${e}`,checked:(i.exportOptions?.formats||[]).includes(e),onCheckedChange:n=>{let r=i.exportOptions?.formats||[],a=n?[...r,e]:r.filter(t=>t!==e);t(`exportOptions`,{...i.exportOptions||{},formats:a})},className:`h-3.5 w-3.5`}),e]},e))})}),(0,X.jsx)(q,{label:e(`console.objectView.exportMaxRecords`),children:(0,X.jsx)(K,{"data-testid":`input-export-maxRecords`,className:`h-7 text-xs w-20 text-right`,type:`number`,value:i.exportOptions?.maxRecords??``,placeholder:`0`,onChange:e=>t(`exportOptions`,{...i.exportOptions||{},maxRecords:Number(e.target.value)||void 0})})}),(0,X.jsx)(q,{label:e(`console.objectView.exportIncludeHeaders`),children:(0,X.jsx)(p,{"data-testid":`toggle-export-includeHeaders`,checked:i.exportOptions?.includeHeaders!==!1,onCheckedChange:e=>t(`exportOptions`,{...i.exportOptions||{},includeHeaders:e}),className:`scale-75`})}),(0,X.jsx)(q,{label:e(`console.objectView.exportFileNamePrefix`),children:(0,X.jsx)(K,{"data-testid":`input-export-fileNamePrefix`,className:`h-7 text-xs w-24 text-right`,value:i.exportOptions?.fileNamePrefix??``,placeholder:`export`,onChange:e=>t(`exportOptions`,{...i.exportOptions||{},fileNamePrefix:e.target.value})})})]})]})}},$(`showRecordCount`,e(`console.objectView.showRecordCount`),`toggle-showRecordCount`,!1,!0,void 0,Q),$(`allowPrinting`,e(`console.objectView.allowPrinting`),`toggle-allowPrinting`,!1,!0,void 0,Q)]}}function Cn(e,t,n,r,i,a,o){return{key:`data`,title:e(`console.objectView.data`),hint:e(`console.objectView.listConfigHint`),collapsible:!0,fields:[{key:`_source`,label:e(`console.objectView.source`),type:`custom`,render:()=>(0,X.jsx)(q,{label:e(`console.objectView.source`),value:r.label||r.name})},{key:`_columns`,label:e(`console.objectView.fields`),type:`custom`,render:(n,r,a)=>{let o=Array.isArray(a.columns)?a.columns.length:0,s=o>0?e(`console.objectView.fieldsVisible`,{count:o}):e(`console.objectView.none`),c=(e,t)=>{let n=Array.isArray(a.columns)?[...a.columns]:[];if(t&&!n.includes(e))n.push(e);else if(!t){let t=n.indexOf(e);t>=0&&n.splice(t,1)}i(`columns`,n)};return(0,X.jsx)(Z,{renderSummary:t=>(0,X.jsx)(q,{label:e(`console.objectView.fields`),value:s,onClick:t}),children:(0,X.jsxs)(`div`,{"data-testid":`column-selector`,className:`pb-2 space-y-1`,children:[(0,X.jsxs)(`div`,{className:`flex items-center gap-1 pb-1`,children:[(0,X.jsx)(K,{"data-testid":`column-search-input`,className:`h-6 text-xs flex-1`,placeholder:e(`console.objectView.searchFields`),onChange:e=>{let t=e.target,n=t.closest(`[data-testid="column-selector"]`);if(!n)return;let r=t.value.toLowerCase();n.querySelectorAll(`[data-field-name]`).forEach(e=>{let t=e.getAttribute(`data-field-name`)||``,n=e.getAttribute(`data-field-label`)||``;e.style.display=!r||t.toLowerCase().includes(r)||n.toLowerCase().includes(r)?``:`none`})}}),(0,X.jsx)(`button`,{type:`button`,"data-testid":`column-show-all`,className:`text-xs text-primary hover:underline whitespace-nowrap`,onClick:()=>{i(`columns`,t.map(e=>e.value))},children:e(`console.objectView.showAllFields`)}),(0,X.jsx)(`button`,{type:`button`,"data-testid":`column-hide-all`,className:`text-xs text-primary hover:underline whitespace-nowrap`,onClick:()=>{i(`columns`,[])},children:e(`console.objectView.hideAllFields`)})]}),(0,X.jsxs)(`div`,{className:`space-y-0.5 max-h-48 overflow-auto`,children:[Array.isArray(a.columns)&&a.columns.length>0&&(0,X.jsx)(`div`,{"data-testid":`selected-columns`,className:`space-y-0.5 pb-1 mb-1 border-b border-border/50`,children:(0,X.jsx)(ln,{columns:a.columns,fieldOptions:t,onToggle:c,onMove:(e,t)=>{let n=Array.isArray(a.columns)?[...a.columns]:[],r=n.indexOf(e);if(r<0)return;let o=t===`up`?r-1:r+1;o<0||o>=n.length||([n[r],n[o]]=[n[o],n[r]],i(`columns`,n))},onReorder:e=>i(`columns`,e)})}),t.filter(e=>!Array.isArray(a.columns)||!a.columns.includes(e.value)).map(e=>(0,X.jsxs)(`div`,{"data-field-name":e.value,"data-field-label":e.label,className:`flex items-center gap-1 text-xs cursor-pointer hover:bg-accent/50 rounded-sm py-0.5 px-1 -mx-1`,children:[(0,X.jsx)(ne,{className:`h-3 w-3 text-muted-foreground/20 shrink-0`}),(0,X.jsx)(`button`,{type:`button`,"data-testid":`col-eye-${e.value}`,className:`h-5 w-5 flex items-center justify-center rounded hover:bg-accent shrink-0`,onClick:()=>c(e.value,!0),"aria-label":`Show ${e.label}`,children:(0,X.jsx)(G,{className:`h-3.5 w-3.5 text-muted-foreground`})}),(0,X.jsx)(`span`,{className:`truncate text-muted-foreground`,children:e.label})]},e.value))]})]})})}},{key:`_filterBy`,label:e(`console.objectView.filterBy`),type:`custom`,render:(n,r,o)=>{let s=a.conditions.length,c=s>0?e(`console.objectView.filtersCount`,{count:s}):e(`console.objectView.none`);return(0,X.jsx)(Z,{renderSummary:t=>(0,X.jsx)(q,{label:e(`console.objectView.filterBy`),value:c,onClick:t}),children:(0,X.jsx)(`div`,{"data-testid":`inline-filter-builder`,className:`pb-2`,children:(0,X.jsx)(xe,{fields:t,value:a,onChange:e=>{i(`filter`,Zt(e.logic,e.conditions.map(e=>({field:e.field,operator:e.operator,value:e.value}))))},className:`[&_button]:h-7 [&_button]:text-xs [&_input]:h-7 [&_input]:text-xs`,showClearAll:!0})})})}},{key:`_sortBy`,label:e(`console.objectView.sortBy`),type:`custom`,render:(n,r,a)=>{let s=Array.isArray(a.sort)?a.sort.filter(e=>e.field).length:0,c=s>0?e(`console.objectView.sortsCount`,{count:s}):e(`console.objectView.none`);return(0,X.jsx)(Z,{renderSummary:t=>(0,X.jsx)(q,{label:e(`console.objectView.sortBy`),value:c,onClick:t}),children:(0,X.jsx)(`div`,{"data-testid":`inline-sort-builder`,className:`pb-2`,children:(0,X.jsx)(I,{fields:t.map(e=>({value:e.value,label:e.label})),value:o,onChange:e=>{i(`sort`,e.map(e=>({id:e.id,field:e.field,order:e.order})))},className:`[&_button]:h-7 [&_button]:text-xs`})})})}},{key:`_groupBy`,label:e(`console.objectView.groupBy`),type:`custom`,visibleWhen:gn,render:(n,r,a)=>{let o=a.type||`grid`,s=a.kanban?.groupByField||a.kanban?.groupField||a.groupBy||``;return(0,X.jsx)(q,{label:e(`console.objectView.groupBy`),children:(0,X.jsxs)(`select`,{"data-testid":`data-groupBy`,className:`text-xs h-7 rounded-md border border-input bg-background px-2 text-foreground max-w-[120px]`,value:s,onChange:e=>{i(`groupBy`,e.target.value),o===`kanban`&&i(`kanban`,{...a.kanban||{},groupByField:e.target.value})},children:[(0,X.jsx)(`option`,{value:``,children:e(`console.objectView.none`)}),t.map(e=>(0,X.jsx)(`option`,{value:e.value,children:e.label},e.value))]})})}},{key:`_pageSize`,label:e(`console.objectView.pageSize`),type:`custom`,render:(t,n,r)=>(0,X.jsx)(q,{label:e(`console.objectView.pageSize`),children:(0,X.jsx)(K,{"data-testid":`input-pagination-pageSize`,className:`h-7 text-xs w-20 text-right`,type:`number`,value:r.pagination?.pageSize??``,placeholder:`25`,onChange:e=>{let t=Number(e.target.value)||void 0;i(`pagination`,{...r.pagination||{},pageSize:t})}})})},{key:`_pageSizeOptions`,label:e(`console.objectView.pageSizeOptions`),type:`custom`,render:(t,n,r)=>(0,X.jsx)(q,{label:e(`console.objectView.pageSizeOptions`),children:(0,X.jsx)(K,{"data-testid":`input-pagination-pageSizeOptions`,className:`h-7 text-xs w-28 text-right`,value:(r.pagination?.pageSizeOptions||[]).join(`, `),placeholder:`10, 25, 50, 100`,onChange:e=>{let t=$t(e.target.value);i(`pagination`,{...r.pagination||{},pageSizeOptions:t.length?t:void 0})}})})},On(`searchableFields`,e(`console.objectView.searchableFields`),`searchable-fields-selector`,`searchable-field`,t,i,`selected`),On(`filterableFields`,e(`console.objectView.filterableFields`),`filterable-fields-selector`,`filterable-field`,t,i,`selected`),On(`hiddenFields`,e(`console.objectView.hiddenFields`),`hidden-fields-selector`,`hidden-field`,t,i,`hidden`),{key:`_quickFilters`,label:e(`console.objectView.quickFilters`),type:`custom`,render:(t,n,r)=>(0,X.jsx)(Z,{renderSummary:t=>(0,X.jsx)(q,{label:e(`console.objectView.quickFilters`),value:`${(r.quickFilters||[]).length} filters`,onClick:t}),children:(0,X.jsxs)(`div`,{"data-testid":`quick-filters-editor`,className:`pb-2 space-y-1`,children:[(r.quickFilters||[]).map((e,t)=>(0,X.jsxs)(`div`,{className:`flex items-center gap-1 text-xs`,children:[(0,X.jsx)(K,{"data-testid":`quick-filter-label-${t}`,className:`h-6 text-xs flex-1`,value:e.label||``,placeholder:`Label`,onChange:e=>{let n=[...r.quickFilters||[]];n[t]={...n[t],label:e.target.value},i(`quickFilters`,n)}}),(0,X.jsx)(j,{"data-testid":`quick-filter-default-${t}`,checked:e.defaultActive===!0,onCheckedChange:e=>{let n=[...r.quickFilters||[]];n[t]={...n[t],defaultActive:e},i(`quickFilters`,n)},className:`h-3.5 w-3.5`}),(0,X.jsx)(`button`,{type:`button`,className:`text-destructive hover:text-destructive/80 text-xs`,onClick:()=>{i(`quickFilters`,(r.quickFilters||[]).filter((e,n)=>n!==t))},children:`✕`})]},e.id||t)),(0,X.jsxs)(`button`,{type:`button`,"data-testid":`add-quick-filter`,className:`text-xs text-primary hover:underline`,onClick:()=>{let e={id:crypto.randomUUID(),label:``,filters:[],defaultActive:!1};i(`quickFilters`,[...r.quickFilters||[],e])},children:[`+ `,e(`console.objectView.addQuickFilter`)]})]})})},{key:`_userFilters`,label:e(`console.objectView.userFilters`),type:`custom`,render:(n,r,a)=>{let o=a.userFilters||{element:`dropdown`,fields:[]},s=o.element||`dropdown`,c=o.fields||[],l=o.tabs||[],u=t.filter(e=>{let t=Array.isArray(e.options)&&e.options.length>0,n=e.type===`select`||e.type===`boolean`;return t||n}).map(e=>e.value),d=[{value:`dropdown`,label:e(`console.objectView.ufDropdown`)},{value:`tabs`,label:e(`console.objectView.ufTabs`)},{value:`toggle`,label:e(`console.objectView.ufToggle`)}],f=s===`tabs`?l.length>0?l.map(e=>e.label||e.id).join(`, `):e(`console.objectView.none`):c.length>0?c.map(e=>t.find(t=>t.value===e.field)?.label||e.field).join(`, `):e(`console.objectView.none`);return(0,X.jsx)(Z,{renderSummary:t=>(0,X.jsx)(q,{label:e(`console.objectView.userFilters`),value:f,onClick:t}),children:(0,X.jsxs)(`div`,{"data-testid":`user-filters-editor`,className:`pb-2 space-y-2`,children:[(0,X.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,X.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e(`console.objectView.ufElements`)}),(0,X.jsx)(`div`,{className:`flex gap-1`,children:d.map(e=>(0,X.jsx)(`button`,{type:`button`,"data-testid":`uf-element-${e.value}`,className:`text-xs px-2 py-0.5 rounded border ${s===e.value?`bg-primary text-primary-foreground border-primary`:`border-border hover:bg-accent`}`,onClick:()=>{i(`userFilters`,{...o,element:e.value})},children:e.label},e.value))})]}),(s===`dropdown`||s===`toggle`)&&(0,X.jsxs)(`div`,{"data-testid":`uf-fields-section`,className:`space-y-1`,children:[c.map((e,n)=>(0,X.jsxs)(`div`,{"data-testid":`uf-field-${n}`,className:`flex items-center gap-1 text-xs`,children:[(0,X.jsx)(`span`,{className:`flex-1 truncate`,children:t.find(t=>t.value===e.field)?.label||e.field}),(0,X.jsx)(`button`,{type:`button`,"data-testid":`uf-remove-field-${n}`,className:`text-destructive hover:text-destructive/80 text-xs`,onClick:()=>{let e=c.filter((e,t)=>t!==n);i(`userFilters`,{...o,fields:e})},children:`✕`})]},e.field||n)),u.length>0?(0,X.jsxs)(`select`,{"data-testid":`uf-add-field`,className:`text-xs h-6 w-full border rounded px-1`,value:``,onChange:e=>{if(!e.target.value)return;let t={field:e.target.value};i(`userFilters`,{...o,fields:[...c,t]}),e.target.value=``},children:[(0,X.jsx)(`option`,{value:``,children:e(`console.objectView.ufAddField`)}),u.filter(e=>!c.some(t=>t.field===e)).map(e=>(0,X.jsx)(`option`,{value:e,children:t.find(t=>t.value===e)?.label||e},e))]}):(0,X.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e(`console.objectView.ufNoFields`)})]}),s===`tabs`&&(0,X.jsxs)(`div`,{"data-testid":`uf-tabs-section`,className:`space-y-1`,children:[l.map((t,n)=>(0,X.jsxs)(`div`,{"data-testid":`uf-tab-${n}`,className:`flex items-center gap-1 text-xs`,children:[(0,X.jsx)(K,{"data-testid":`uf-tab-label-${n}`,className:`h-6 text-xs flex-1`,value:t.label||``,placeholder:e(`console.objectView.ufTabLabel`),onChange:e=>{let t=[...l];t[n]={...t[n],label:e.target.value},i(`userFilters`,{...o,tabs:t})}}),(0,X.jsx)(j,{"data-testid":`uf-tab-default-${n}`,checked:t.default===!0,onCheckedChange:e=>{let t=l.map((t,r)=>({...t,default:r===n?e:!1}));i(`userFilters`,{...o,tabs:t})},className:`h-3.5 w-3.5`}),(0,X.jsx)(`button`,{type:`button`,"data-testid":`uf-remove-tab-${n}`,className:`text-destructive hover:text-destructive/80 text-xs`,onClick:()=>{let e=l.filter((e,t)=>t!==n);i(`userFilters`,{...o,tabs:e})},children:`✕`})]},t.id||n)),(0,X.jsx)(`button`,{type:`button`,"data-testid":`uf-add-tab`,className:`text-xs text-primary hover:underline`,onClick:()=>{let e={id:crypto.randomUUID(),label:``,filters:[],default:!1};i(`userFilters`,{...o,tabs:[...l,e]})},children:e(`console.objectView.ufAddTab`)}),(0,X.jsxs)(`div`,{className:`flex items-center gap-2 pt-1`,children:[(0,X.jsx)(j,{"data-testid":`uf-show-all-records`,checked:o.showAllRecords!==!1,onCheckedChange:e=>{i(`userFilters`,{...o,showAllRecords:e?void 0:!1})},className:`h-3.5 w-3.5`}),(0,X.jsx)(`span`,{className:`text-xs`,children:e(`console.objectView.ufShowAllRecords`)})]}),(0,X.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,X.jsx)(j,{"data-testid":`uf-allow-add-tab`,checked:o.allowAddTab===!0,onCheckedChange:e=>{i(`userFilters`,{...o,allowAddTab:e})},className:`h-3.5 w-3.5`}),(0,X.jsx)(`span`,{className:`text-xs`,children:e(`console.objectView.ufAllowAddTab`)})]})]})]})})}},$(`virtualScroll`,e(`console.objectView.virtualScroll`),`toggle-virtualScroll`,!1,!0,void 0,Q),{key:`_typeOptions`,label:`Type-specific options`,type:`custom`,render:(n,r,a)=>{let o=a.type||`grid`,s=(e,t,n)=>{i(e,{...a[e]||{},[t]:n})};return o===`grid`?(0,X.jsx)(`div`,{"data-testid":`type-options-section`,className:`hidden`}):(0,X.jsxs)(`div`,{"data-testid":`type-options-section`,className:`pt-1 space-y-2`,children:[o===`kanban`&&(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e(`console.objectView.groupByField`)}),(0,X.jsxs)(`select`,{"data-testid":`type-opt-kanban-groupByField`,className:`w-full text-xs h-7 rounded-md border border-input bg-background px-2 text-foreground mt-1`,value:a.kanban?.groupByField||a.kanban?.groupField||``,onChange:e=>s(`kanban`,`groupByField`,e.target.value),children:[(0,X.jsx)(`option`,{value:``,children:e(`console.objectView.selectField`)}),t.map(e=>(0,X.jsx)(`option`,{value:e.value,children:e.label},e.value))]})]}),o===`calendar`&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e(`console.objectView.startDateField`)}),(0,X.jsxs)(`select`,{"data-testid":`type-opt-calendar-startDateField`,className:`w-full text-xs h-7 rounded-md border border-input bg-background px-2 text-foreground mt-1`,value:a.calendar?.startDateField||``,onChange:e=>s(`calendar`,`startDateField`,e.target.value),children:[(0,X.jsx)(`option`,{value:``,children:e(`console.objectView.selectField`)}),t.map(e=>(0,X.jsx)(`option`,{value:e.value,children:e.label},e.value))]})]}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e(`console.objectView.endDateField`)}),(0,X.jsxs)(`select`,{"data-testid":`type-opt-calendar-endDateField`,className:`w-full text-xs h-7 rounded-md border border-input bg-background px-2 text-foreground mt-1`,value:a.calendar?.endDateField||``,onChange:e=>s(`calendar`,`endDateField`,e.target.value),children:[(0,X.jsx)(`option`,{value:``,children:e(`console.objectView.selectField`)}),t.map(e=>(0,X.jsx)(`option`,{value:e.value,children:e.label},e.value))]})]}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e(`console.objectView.titleField`)}),(0,X.jsxs)(`select`,{"data-testid":`type-opt-calendar-titleField`,className:`w-full text-xs h-7 rounded-md border border-input bg-background px-2 text-foreground mt-1`,value:a.calendar?.titleField||``,onChange:e=>s(`calendar`,`titleField`,e.target.value),children:[(0,X.jsx)(`option`,{value:``,children:e(`console.objectView.selectField`)}),t.map(e=>(0,X.jsx)(`option`,{value:e.value,children:e.label},e.value))]})]})]}),o===`map`&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e(`console.objectView.latitudeField`)}),(0,X.jsxs)(`select`,{"data-testid":`type-opt-map-latitudeField`,className:`w-full text-xs h-7 rounded-md border border-input bg-background px-2 text-foreground mt-1`,value:a.map?.latitudeField||``,onChange:e=>s(`map`,`latitudeField`,e.target.value),children:[(0,X.jsx)(`option`,{value:``,children:e(`console.objectView.selectField`)}),t.map(e=>(0,X.jsx)(`option`,{value:e.value,children:e.label},e.value))]})]}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e(`console.objectView.longitudeField`)}),(0,X.jsxs)(`select`,{"data-testid":`type-opt-map-longitudeField`,className:`w-full text-xs h-7 rounded-md border border-input bg-background px-2 text-foreground mt-1`,value:a.map?.longitudeField||``,onChange:e=>s(`map`,`longitudeField`,e.target.value),children:[(0,X.jsx)(`option`,{value:``,children:e(`console.objectView.selectField`)}),t.map(e=>(0,X.jsx)(`option`,{value:e.value,children:e.label},e.value))]})]})]}),o===`gallery`&&(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e(`console.objectView.imageField`)}),(0,X.jsxs)(`select`,{"data-testid":`type-opt-gallery-imageField`,className:`w-full text-xs h-7 rounded-md border border-input bg-background px-2 text-foreground mt-1`,value:a.gallery?.imageField||``,onChange:e=>s(`gallery`,`imageField`,e.target.value),children:[(0,X.jsx)(`option`,{value:``,children:e(`console.objectView.selectField`)}),t.map(e=>(0,X.jsx)(`option`,{value:e.value,children:e.label},e.value))]})]}),(o===`timeline`||o===`gantt`)&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e(`console.objectView.dateField`)}),(0,X.jsxs)(`select`,{"data-testid":`type-opt-${o}-dateField`,className:`w-full text-xs h-7 rounded-md border border-input bg-background px-2 text-foreground mt-1`,value:a[o]?.dateField||a[o]?.startDateField||``,onChange:e=>s(o,`dateField`,e.target.value),children:[(0,X.jsx)(`option`,{value:``,children:e(`console.objectView.selectField`)}),t.map(e=>(0,X.jsx)(`option`,{value:e.value,children:e.label},e.value))]})]}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e(`console.objectView.titleField`)}),(0,X.jsxs)(`select`,{"data-testid":`type-opt-${o}-titleField`,className:`w-full text-xs h-7 rounded-md border border-input bg-background px-2 text-foreground mt-1`,value:a[o]?.titleField||``,onChange:e=>s(o,`titleField`,e.target.value),children:[(0,X.jsx)(`option`,{value:``,children:e(`console.objectView.selectField`)}),t.map(e=>(0,X.jsx)(`option`,{value:e.value,children:e.label},e.value))]})]})]})]})}}]}}function wn(e,t,n,r){return{key:`appearance`,title:e(`console.objectView.appearance`),collapsible:!0,defaultCollapsed:!0,fields:[$(`striped`,e(`console.objectView.striped`),`toggle-striped`,!1,!0,void 0,Q),$(`bordered`,e(`console.objectView.bordered`),`toggle-bordered`,!1,!0,void 0,Q),{key:`color`,label:e(`console.objectView.color`),type:`custom`,visibleWhen:pn,render:(n,r)=>(0,X.jsx)(q,{label:e(`console.objectView.color`),children:(0,X.jsxs)(`select`,{"data-testid":`appearance-color`,className:`text-xs h-7 rounded-md border border-input bg-background px-2 text-foreground max-w-[120px]`,value:n||``,onChange:e=>r(e.target.value),children:[(0,X.jsx)(`option`,{value:``,children:e(`console.objectView.none`)}),t.map(e=>(0,X.jsx)(`option`,{value:e.value,children:e.label},e.value))]})})},$(`wrapHeaders`,e(`console.objectView.wrapHeaders`),`toggle-wrapHeaders`,!1,!0,void 0,Q),$(`showDescription`,e(`console.objectView.showFieldDescriptions`),`toggle-showDescription`,!0),$(`resizable`,e(`console.objectView.resizableColumns`),`toggle-resizable`,!1,!0,void 0,Q),{key:`rowHeight`,label:e(`console.objectView.rowHeight`),type:`custom`,visibleWhen:Q,render:(t,n)=>(0,X.jsx)(q,{label:e(`console.objectView.rowHeight`),children:(0,X.jsx)(`div`,{className:`flex gap-0.5`,"data-testid":`appearance-rowHeight`,role:`radiogroup`,"aria-label":e(`console.objectView.rowHeight`),children:nn.map(e=>(0,X.jsx)(`button`,{type:`button`,role:`radio`,"aria-checked":(t||`compact`)===e.value,"aria-label":e.value,"data-testid":`row-height-${e.value}`,className:`h-7 w-7 rounded border flex items-center justify-center ${(t||`compact`)===e.value?`border-primary bg-primary/10 text-primary`:`border-input text-muted-foreground hover:bg-accent/50`}`,onClick:()=>n(e.value),title:e.value,children:(0,X.jsxs)(`div`,{className:`flex flex-col items-center justify-center w-4 h-4 ${e.gapClass}`,children:[(0,X.jsx)(`div`,{className:`w-3.5 h-px bg-current rounded-full`}),(0,X.jsx)(`div`,{className:`w-3.5 h-px bg-current rounded-full`}),(0,X.jsx)(`div`,{className:`w-3.5 h-px bg-current rounded-full`})]})},e.value))})})},{key:`_conditionalFormatting`,label:e(`console.objectView.conditionalFormatting`),type:`custom`,visibleWhen:mn,render:(n,i,a)=>(0,X.jsx)(Z,{renderSummary:t=>(0,X.jsx)(q,{label:e(`console.objectView.conditionalFormatting`),value:`${(a.conditionalFormatting||[]).length} rules`,onClick:t}),children:(0,X.jsxs)(`div`,{"data-testid":`conditional-formatting-editor`,className:`pb-2 space-y-1`,children:[(a.conditionalFormatting||[]).map((e,n)=>(0,X.jsxs)(`div`,{className:`flex items-center gap-1 text-xs border rounded p-1`,children:[(0,X.jsxs)(`select`,{"data-testid":`cf-field-${n}`,className:`text-xs h-6 rounded border border-input bg-background px-1 flex-1`,value:e.field||``,onChange:e=>{let t=[...a.conditionalFormatting||[]];t[n]={...t[n],field:e.target.value},r(`conditionalFormatting`,t)},children:[(0,X.jsx)(`option`,{value:``,children:`Field`}),t.map(e=>(0,X.jsx)(`option`,{value:e.value,children:e.label},e.value))]}),(0,X.jsxs)(`select`,{"data-testid":`cf-operator-${n}`,className:`text-xs h-6 rounded border border-input bg-background px-1`,value:e.operator||`equals`,onChange:e=>{let t=[...a.conditionalFormatting||[]];t[n]={...t[n],operator:e.target.value},r(`conditionalFormatting`,t)},children:[(0,X.jsx)(`option`,{value:`equals`,children:`=`}),(0,X.jsx)(`option`,{value:`not_equals`,children:`≠`}),(0,X.jsx)(`option`,{value:`contains`,children:`contains`}),(0,X.jsx)(`option`,{value:`greater_than`,children:`>`}),(0,X.jsx)(`option`,{value:`less_than`,children:`<`}),(0,X.jsx)(`option`,{value:`in`,children:`in`})]}),(0,X.jsx)(K,{"data-testid":`cf-value-${n}`,className:`h-6 text-xs w-16`,value:String(e.value??``),placeholder:`Value`,onChange:e=>{let t=[...a.conditionalFormatting||[]];t[n]={...t[n],value:e.target.value},r(`conditionalFormatting`,t)}}),(0,X.jsx)(`button`,{type:`button`,className:`text-destructive hover:text-destructive/80 text-xs`,onClick:()=>{r(`conditionalFormatting`,(a.conditionalFormatting||[]).filter((e,t)=>t!==n))},children:`✕`})]},n)),(0,X.jsxs)(`button`,{type:`button`,"data-testid":`add-conditional-rule`,className:`text-xs text-primary hover:underline`,onClick:()=>{let e={field:``,operator:`equals`,value:``};r(`conditionalFormatting`,[...a.conditionalFormatting||[],e])},children:[`+ `,e(`console.objectView.addRule`)]})]})})},{key:`_emptyState`,label:`Empty state`,type:`custom`,render:(t,n,i)=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(q,{label:e(`console.objectView.emptyStateTitle`),children:(0,X.jsx)(K,{"data-testid":`input-emptyState-title`,className:`h-7 text-xs w-28 text-right`,value:i.emptyState?.title??``,onChange:e=>r(`emptyState`,{...i.emptyState||{},title:e.target.value})})}),(0,X.jsx)(q,{label:e(`console.objectView.emptyStateMessage`),children:(0,X.jsx)(K,{"data-testid":`input-emptyState-message`,className:`h-7 text-xs w-28 text-right`,value:i.emptyState?.message??``,onChange:e=>r(`emptyState`,{...i.emptyState||{},message:e.target.value})})}),(0,X.jsx)(q,{label:e(`console.objectView.emptyStateIcon`),children:(0,X.jsx)(K,{"data-testid":`input-emptyState-icon`,className:`h-7 text-xs w-28 text-right`,value:i.emptyState?.icon??``,onChange:e=>r(`emptyState`,{...i.emptyState||{},icon:e.target.value})})})]})}]}}function Tn(e,t){return{key:`userActions`,title:e(`console.objectView.userActions`),collapsible:!0,defaultCollapsed:!0,fields:[$(`inlineEdit`,e(`console.objectView.inlineEdit`),`toggle-inlineEdit`,!0,!1,void 0,Q),$(`addDeleteRecordsInline`,e(`console.objectView.addDeleteRecordsInline`),`toggle-addDeleteRecordsInline`,!0,!1,void 0,Q),{key:`_rowActions`,label:e(`console.objectView.rowActions`),type:`custom`,visibleWhen:hn,render:(n,r,i)=>(0,X.jsx)(Z,{renderSummary:t=>(0,X.jsx)(q,{label:e(`console.objectView.rowActions`),value:`${(i.rowActions||[]).length} actions`,onClick:t}),children:(0,X.jsx)(`div`,{"data-testid":`row-actions-selector`,className:`pb-2 space-y-0.5 max-h-36 overflow-auto`,children:(0,X.jsx)(K,{"data-testid":`input-rowActions`,className:`h-7 text-xs w-full`,value:(i.rowActions||[]).join(`, `),placeholder:`edit, delete, duplicate`,onChange:e=>{t(`rowActions`,Qt(e.target.value))}})})})},{key:`_bulkActions`,label:e(`console.objectView.bulkActions`),type:`custom`,visibleWhen:hn,render:(n,r,i)=>(0,X.jsx)(Z,{renderSummary:t=>(0,X.jsx)(q,{label:e(`console.objectView.bulkActions`),value:`${(i.bulkActions||[]).length} actions`,onClick:t}),children:(0,X.jsx)(`div`,{"data-testid":`bulk-actions-selector`,className:`pb-2 space-y-0.5 max-h-36 overflow-auto`,children:(0,X.jsx)(K,{"data-testid":`input-bulkActions`,className:`h-7 text-xs w-full`,value:(i.bulkActions||[]).join(`, `),placeholder:`delete, export, assign`,onChange:e=>{t(`bulkActions`,Qt(e.target.value))}})})})}]}}function En(e,t){return{key:`sharing`,title:e(`console.objectView.sharing`),collapsible:!0,defaultCollapsed:!0,fields:[{key:`_sharingEnabled`,label:e(`console.objectView.sharingEnabled`),type:`custom`,render:(n,r,i)=>(0,X.jsx)(q,{label:e(`console.objectView.sharingEnabled`),children:(0,X.jsx)(p,{"data-testid":`toggle-sharing-enabled`,checked:i.sharing?.enabled===!0,onCheckedChange:e=>t(`sharing`,{...i.sharing||{},enabled:e}),className:`scale-75`})})},{key:`_sharingVisibility`,label:e(`console.objectView.sharingVisibility`),type:`custom`,visibleWhen:e=>e.sharing?.enabled===!0,render:(n,r,i)=>(0,X.jsx)(q,{label:e(`console.objectView.sharingVisibility`),children:(0,X.jsxs)(`select`,{"data-testid":`select-sharing-visibility`,className:`text-xs h-7 rounded-md border border-input bg-background px-2 text-foreground max-w-[120px]`,value:i.sharing?.visibility||`private`,onChange:e=>t(`sharing`,{...i.sharing||{},enabled:!0,visibility:e.target.value}),children:[(0,X.jsx)(`option`,{value:`private`,children:`Private`}),(0,X.jsx)(`option`,{value:`team`,children:`Team`}),(0,X.jsx)(`option`,{value:`organization`,children:`Organization`}),(0,X.jsx)(`option`,{value:`public`,children:`Public`})]})})}]}}function Dn(e,t){return{key:`accessibility`,title:e(`console.objectView.accessibility`),collapsible:!0,defaultCollapsed:!0,fields:[{key:`_ariaLabel`,label:e(`console.objectView.ariaLabel`),type:`custom`,render:(n,r,i)=>(0,X.jsx)(q,{label:e(`console.objectView.ariaLabel`),children:(0,X.jsx)(K,{"data-testid":`input-aria-label`,className:`h-7 text-xs w-28 text-right`,value:i.aria?.label??``,onChange:e=>t(`aria`,{...i.aria||{},label:e.target.value})})})},{key:`_ariaDescribedBy`,label:e(`console.objectView.ariaDescribedBy`),type:`custom`,render:(n,r,i)=>(0,X.jsx)(q,{label:e(`console.objectView.ariaDescribedBy`),children:(0,X.jsx)(K,{"data-testid":`input-aria-describedBy`,className:`h-7 text-xs w-28 text-right`,value:i.aria?.describedBy??``,onChange:e=>t(`aria`,{...i.aria||{},describedBy:e.target.value})})})},{key:`_ariaLive`,label:e(`console.objectView.ariaLive`),type:`custom`,render:(n,r,i)=>(0,X.jsx)(q,{label:e(`console.objectView.ariaLive`),children:(0,X.jsxs)(`select`,{"data-testid":`select-aria-live`,className:`text-xs h-7 rounded-md border border-input bg-background px-2 text-foreground max-w-[100px]`,value:i.aria?.live||`off`,onChange:e=>t(`aria`,{...i.aria||{},live:e.target.value}),children:[(0,X.jsx)(`option`,{value:`off`,children:`Off`}),(0,X.jsx)(`option`,{value:`polite`,children:`Polite`}),(0,X.jsx)(`option`,{value:`assertive`,children:`Assertive`})]})})}]}}function $(e,t,n,r=!1,i=!1,a,o){return{key:e,label:t,type:`custom`,disabledWhen:a,visibleWhen:o,render:(e,o,s)=>(0,X.jsx)(q,{label:t,children:(0,X.jsx)(p,{"data-testid":n,checked:i?e===!0:r?e!==!1:!!e,disabled:a?a(s):!1,onCheckedChange:e=>o(e),className:`scale-75`})})}}function On(e,t,n,r,i,a,o,s){return{key:`_${e}`,label:t,type:`custom`,visibleWhen:s,render:(s,c,l)=>(0,X.jsx)(Z,{renderSummary:n=>(0,X.jsx)(q,{label:t,value:`${(l[e]||[]).length} ${o}`,onClick:n}),children:(0,X.jsx)(`div`,{"data-testid":n,className:`pb-2 space-y-0.5 max-h-36 overflow-auto`,children:i.map(t=>(0,X.jsxs)(`label`,{className:`flex items-center gap-2 text-xs cursor-pointer hover:bg-accent/50 rounded-sm py-0.5 px-1 -mx-1`,children:[(0,X.jsx)(j,{"data-testid":`${r}-${t.value}`,checked:(l[e]||[]).includes(t.value),onCheckedChange:n=>{let r=l[e]||[];a(e,n?[...r,t.value]:r.filter(e=>e!==t.value))},className:`h-3.5 w-3.5`}),(0,X.jsx)(`span`,{className:`truncate`,children:t.label})]},t.value))})})}}var kn=o,An=({schema:e})=>(0,X.jsx)(Tt,{schema:e,dataSource:(0,Y.useContext)(kn)?.dataSource??null});i.register(`object-view`,An,{namespace:`plugin-view`,label:`Object View`,category:`view`,icon:`LayoutDashboard`,inputs:[{name:`objectName`,type:`string`,label:`Object Name`,required:!0},{name:`title`,type:`string`,label:`Title`},{name:`description`,type:`string`,label:`Description`},{name:`layout`,type:`enum`,label:`Form Layout`,enum:[`drawer`,`modal`,`page`]},{name:`defaultViewType`,type:`enum`,label:`Default View Type`,enum:[`grid`,`kanban`,`gallery`,`calendar`,`timeline`,`gantt`,`map`]},{name:`defaultListView`,type:`string`,label:`Default Named View`},{name:`showSearch`,type:`boolean`,label:`Show Search`},{name:`showFilters`,type:`boolean`,label:`Show Filters`},{name:`showCreate`,type:`boolean`,label:`Show Create Button`},{name:`showRefresh`,type:`boolean`,label:`Show Refresh Button`},{name:`showViewSwitcher`,type:`boolean`,label:`Show View Switcher`},{name:`listViews`,type:`object`,label:`Named List Views`},{name:`navigation`,type:`object`,label:`Navigation Config`},{name:`searchableFields`,type:`array`,label:`Searchable Fields`},{name:`filterableFields`,type:`array`,label:`Filterable Fields`}],defaultProps:{layout:`drawer`,defaultViewType:`grid`,showSearch:!0,showFilters:!0,showCreate:!0,showRefresh:!0,showViewSwitcher:!0}}),i.register(`view`,An,{namespace:`plugin-view`,label:`View`,category:`view`}),i.register(`view-switcher`,Ct,{namespace:`view`,label:`View Switcher`,category:`view`,icon:`LayoutGrid`,inputs:[{name:`views`,type:`array`,label:`Views`,required:!0},{name:`defaultView`,type:`string`,label:`Default View`},{name:`activeView`,type:`string`,label:`Active View`},{name:`variant`,type:`enum`,label:`Variant`,enum:[`tabs`,`buttons`,`dropdown`]},{name:`position`,type:`enum`,label:`Position`,enum:[`top`,`bottom`,`left`,`right`]},{name:`persistPreference`,type:`boolean`,label:`Persist Preference`},{name:`storageKey`,type:`string`,label:`Storage Key`},{name:`onViewChange`,type:`string`,label:`On View Change Event`}],defaultProps:{variant:`tabs`,position:`top`,defaultView:`grid`,views:[{type:`grid`,label:`Grid`,schema:{type:`text`,content:`Grid view`}},{type:`list`,label:`List`,schema:{type:`text`,content:`List view`}}]}}),i.register(`filter-ui`,kt,{namespace:`view`,label:`Filter UI`,category:`view`,icon:`SlidersHorizontal`,inputs:[{name:`filters`,type:`array`,label:`Filters`,required:!0},{name:`values`,type:`object`,label:`Values`},{name:`onChange`,type:`string`,label:`On Change Event`},{name:`showClear`,type:`boolean`,label:`Show Clear Button`},{name:`showApply`,type:`boolean`,label:`Show Apply Button`},{name:`layout`,type:`enum`,label:`Layout`,enum:[`inline`,`popover`,`drawer`]}],defaultProps:{layout:`inline`,showApply:!1,showClear:!0,filters:[{field:`name`,label:`Name`,type:`text`,placeholder:`Search name`},{field:`status`,label:`Status`,type:`select`,options:[{label:`Open`,value:`open`},{label:`Closed`,value:`closed`}]},{field:`created_at`,label:`Created`,type:`date`}]}}),i.register(`sort-ui`,Pt,{namespace:`view`,label:`Sort UI`,category:`view`,icon:`ArrowUpDown`,inputs:[{name:`fields`,type:`array`,label:`Fields`,required:!0},{name:`sort`,type:`array`,label:`Sort`},{name:`onChange`,type:`string`,label:`On Change Event`},{name:`multiple`,type:`boolean`,label:`Allow Multiple`},{name:`variant`,type:`enum`,label:`Variant`,enum:[`dropdown`,`buttons`]}],defaultProps:{variant:`dropdown`,multiple:!0,fields:[{field:`name`,label:`Name`},{field:`created_at`,label:`Created At`}],sort:[{field:`name`,direction:`asc`}]}}),i.register(`shared-view-link`,Lt,{namespace:`view`,label:`Shared View Link`,category:`view`,icon:`Share2`,inputs:[{name:`objectName`,type:`string`,label:`Object Name`,required:!0},{name:`viewId`,type:`string`,label:`View ID`},{name:`baseUrl`,type:`string`,label:`Base URL`}],defaultProps:{objectName:`objects`,viewId:`default`}}),i.register(`view:simple`,({schema:e,className:t,children:n,dataSource:r,...i})=>(0,X.jsx)(`div`,{className:t,style:e.props?.columns?{display:`grid`,gridTemplateColumns:`repeat(${e.props.columns}, 1fr)`,gap:`1rem`}:void 0,...i,children:n}),{namespace:`plugin-view`,label:`Simple View`,category:`view`});export{on as a,Tt as c,an as i,en as n,Wt as o,rn as r,Vt as s,_n as t};
|