@opengis/gis 0.1.0 → 0.1.1

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.
@@ -1,7 +1,7 @@
1
1
  var Fv = Object.defineProperty;
2
2
  var Vv = (p, u, y) => u in p ? Fv(p, u, { enumerable: !0, configurable: !0, writable: !0, value: y }) : p[u] = y;
3
3
  var jr = (p, u, y) => Vv(p, typeof u != "symbol" ? u + "" : u, y);
4
- import { computed as Ar, createElementBlock as Ke, openBlock as De, normalizeStyle as oa, createCommentVNode as Kt, createElementVNode as $, toDisplayString as Et, Fragment as ur, renderList as ti, normalizeClass as nn, ref as cr, onMounted as ca, resolveComponent as dr, createBlock as ni, withCtx as _r, createTextVNode as si, watch as Ws, withDirectives as Ss, vModelText as Lc, vModelCheckbox as kd, createVNode as Er, nextTick as yl, createStaticVNode as ia, defineComponent as Wg, h as Zg, resolveDynamicComponent as Rc, withKeys as Td, vShow as Kg, Teleport as Cd, onUnmounted as Gg, unref as qv, mergeProps as Uv, withModifiers as Jg, renderSlot as Nv } from "vue";
4
+ import { computed as Ar, createElementBlock as Ke, openBlock as Be, normalizeStyle as oa, createCommentVNode as Qt, createElementVNode as Y, toDisplayString as Et, Fragment as ur, renderList as ti, normalizeClass as nn, ref as cr, onMounted as ca, resolveComponent as dr, createBlock as ni, withCtx as _r, createTextVNode as si, watch as Ws, withDirectives as Ss, vModelText as Lc, vModelCheckbox as kd, createVNode as Er, nextTick as yl, createStaticVNode as ia, defineComponent as Wg, h as Zg, resolveDynamicComponent as Rc, withKeys as Td, vShow as Kg, Teleport as Cd, onUnmounted as Gg, unref as qv, mergeProps as Uv, withModifiers as Jg, renderSlot as Nv } from "vue";
5
5
  function Xg(p) {
6
6
  return p && p.__esModule && Object.prototype.hasOwnProperty.call(p, "default") ? p.default : p;
7
7
  }
@@ -280,7 +280,7 @@ function Hv() {
280
280
  function Vt(n) {
281
281
  return typeof WorkerGlobalScope < "u" && n !== void 0 && n instanceof WorkerGlobalScope;
282
282
  }
283
- let Gt = null;
283
+ let Kt = null;
284
284
  function Ut(n) {
285
285
  return typeof ImageBitmap < "u" && n instanceof ImageBitmap;
286
286
  }
@@ -446,7 +446,7 @@ function Hv() {
446
446
  return this._eventedParent = t, this._eventedParentData = i, this;
447
447
  }
448
448
  }
449
- var Y = { $version: 8, $root: { version: { required: !0, type: "enum", values: [8] }, name: { type: "string" }, metadata: { type: "*" }, center: { type: "array", value: "number" }, centerAltitude: { type: "number" }, zoom: { type: "number" }, bearing: { type: "number", default: 0, period: 360, units: "degrees" }, pitch: { type: "number", default: 0, units: "degrees" }, roll: { type: "number", default: 0, units: "degrees" }, state: { type: "state", default: {} }, light: { type: "light" }, sky: { type: "sky" }, projection: { type: "projection" }, terrain: { type: "terrain" }, sources: { required: !0, type: "sources" }, sprite: { type: "sprite" }, glyphs: { type: "string" }, transition: { type: "transition" }, layers: { required: !0, type: "array", value: "layer" } }, sources: { "*": { type: "source" } }, source: ["source_vector", "source_raster", "source_raster_dem", "source_geojson", "source_video", "source_image"], source_vector: { type: { required: !0, type: "enum", values: { vector: {} } }, url: { type: "string" }, tiles: { type: "array", value: "string" }, bounds: { type: "array", value: "number", length: 4, default: [-180, -85.051129, 180, 85.051129] }, scheme: { type: "enum", values: { xyz: {}, tms: {} }, default: "xyz" }, minzoom: { type: "number", default: 0 }, maxzoom: { type: "number", default: 22 }, attribution: { type: "string" }, promoteId: { type: "promoteId" }, volatile: { type: "boolean", default: !1 }, "*": { type: "*" } }, source_raster: { type: { required: !0, type: "enum", values: { raster: {} } }, url: { type: "string" }, tiles: { type: "array", value: "string" }, bounds: { type: "array", value: "number", length: 4, default: [-180, -85.051129, 180, 85.051129] }, minzoom: { type: "number", default: 0 }, maxzoom: { type: "number", default: 22 }, tileSize: { type: "number", default: 512, units: "pixels" }, scheme: { type: "enum", values: { xyz: {}, tms: {} }, default: "xyz" }, attribution: { type: "string" }, volatile: { type: "boolean", default: !1 }, "*": { type: "*" } }, source_raster_dem: { type: { required: !0, type: "enum", values: { "raster-dem": {} } }, url: { type: "string" }, tiles: { type: "array", value: "string" }, bounds: { type: "array", value: "number", length: 4, default: [-180, -85.051129, 180, 85.051129] }, minzoom: { type: "number", default: 0 }, maxzoom: { type: "number", default: 22 }, tileSize: { type: "number", default: 512, units: "pixels" }, attribution: { type: "string" }, encoding: { type: "enum", values: { terrarium: {}, mapbox: {}, custom: {} }, default: "mapbox" }, redFactor: { type: "number", default: 1 }, blueFactor: { type: "number", default: 1 }, greenFactor: { type: "number", default: 1 }, baseShift: { type: "number", default: 0 }, volatile: { type: "boolean", default: !1 }, "*": { type: "*" } }, source_geojson: { type: { required: !0, type: "enum", values: { geojson: {} } }, data: { required: !0, type: "*" }, maxzoom: { type: "number", default: 18 }, attribution: { type: "string" }, buffer: { type: "number", default: 128, maximum: 512, minimum: 0 }, filter: { type: "*" }, tolerance: { type: "number", default: 0.375 }, cluster: { type: "boolean", default: !1 }, clusterRadius: { type: "number", default: 50, minimum: 0 }, clusterMaxZoom: { type: "number" }, clusterMinPoints: { type: "number" }, clusterProperties: { type: "*" }, lineMetrics: { type: "boolean", default: !1 }, generateId: { type: "boolean", default: !1 }, promoteId: { type: "promoteId" } }, source_video: { type: { required: !0, type: "enum", values: { video: {} } }, urls: { required: !0, type: "array", value: "string" }, coordinates: { required: !0, type: "array", length: 4, value: { type: "array", length: 2, value: "number" } } }, source_image: { type: { required: !0, type: "enum", values: { image: {} } }, url: { required: !0, type: "string" }, coordinates: { required: !0, type: "array", length: 4, value: { type: "array", length: 2, value: "number" } } }, layer: { id: { type: "string", required: !0 }, type: { type: "enum", values: { fill: {}, line: {}, symbol: {}, circle: {}, heatmap: {}, "fill-extrusion": {}, raster: {}, hillshade: {}, background: {} }, required: !0 }, metadata: { type: "*" }, source: { type: "string" }, "source-layer": { type: "string" }, minzoom: { type: "number", minimum: 0, maximum: 24 }, maxzoom: { type: "number", minimum: 0, maximum: 24 }, filter: { type: "filter" }, layout: { type: "layout" }, paint: { type: "paint" } }, layout: ["layout_fill", "layout_line", "layout_circle", "layout_heatmap", "layout_fill-extrusion", "layout_symbol", "layout_raster", "layout_hillshade", "layout_background"], layout_background: { visibility: { type: "enum", values: { visible: {}, none: {} }, default: "visible", "property-type": "constant" } }, layout_fill: { "fill-sort-key": { type: "number", expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, visibility: { type: "enum", values: { visible: {}, none: {} }, default: "visible", "property-type": "constant" } }, layout_circle: { "circle-sort-key": { type: "number", expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, visibility: { type: "enum", values: { visible: {}, none: {} }, default: "visible", "property-type": "constant" } }, layout_heatmap: { visibility: { type: "enum", values: { visible: {}, none: {} }, default: "visible", "property-type": "constant" } }, "layout_fill-extrusion": { visibility: { type: "enum", values: { visible: {}, none: {} }, default: "visible", "property-type": "constant" } }, layout_line: { "line-cap": { type: "enum", values: { butt: {}, round: {}, square: {} }, default: "butt", expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "line-join": { type: "enum", values: { bevel: {}, round: {}, miter: {} }, default: "miter", expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "line-miter-limit": { type: "number", default: 2, requires: [{ "line-join": "miter" }], expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "line-round-limit": { type: "number", default: 1.05, requires: [{ "line-join": "round" }], expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "line-sort-key": { type: "number", expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, visibility: { type: "enum", values: { visible: {}, none: {} }, default: "visible", "property-type": "constant" } }, layout_symbol: { "symbol-placement": { type: "enum", values: { point: {}, line: {}, "line-center": {} }, default: "point", expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "symbol-spacing": { type: "number", default: 250, minimum: 1, units: "pixels", requires: [{ "symbol-placement": "line" }], expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "symbol-avoid-edges": { type: "boolean", default: !1, expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "symbol-sort-key": { type: "number", expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "symbol-z-order": { type: "enum", values: { auto: {}, "viewport-y": {}, source: {} }, default: "auto", expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "icon-allow-overlap": { type: "boolean", default: !1, requires: ["icon-image", { "!": "icon-overlap" }], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "icon-overlap": { type: "enum", values: { never: {}, always: {}, cooperative: {} }, requires: ["icon-image"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "icon-ignore-placement": { type: "boolean", default: !1, requires: ["icon-image"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "icon-optional": { type: "boolean", default: !1, requires: ["icon-image", "text-field"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "icon-rotation-alignment": { type: "enum", values: { map: {}, viewport: {}, auto: {} }, default: "auto", requires: ["icon-image"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "icon-size": { type: "number", default: 1, minimum: 0, units: "factor of the original icon size", requires: ["icon-image"], expression: { interpolated: !0, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "icon-text-fit": { type: "enum", values: { none: {}, width: {}, height: {}, both: {} }, default: "none", requires: ["icon-image", "text-field"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "icon-text-fit-padding": { type: "array", value: "number", length: 4, default: [0, 0, 0, 0], units: "pixels", requires: ["icon-image", "text-field", { "icon-text-fit": ["both", "width", "height"] }], expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "icon-image": { type: "resolvedImage", tokens: !0, expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "icon-rotate": { type: "number", default: 0, period: 360, units: "degrees", requires: ["icon-image"], expression: { interpolated: !0, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "icon-padding": { type: "padding", default: [2], units: "pixels", requires: ["icon-image"], expression: { interpolated: !0, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "icon-keep-upright": { type: "boolean", default: !1, requires: ["icon-image", { "icon-rotation-alignment": "map" }, { "symbol-placement": ["line", "line-center"] }], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "icon-offset": { type: "array", value: "number", length: 2, default: [0, 0], requires: ["icon-image"], expression: { interpolated: !0, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "icon-anchor": { type: "enum", values: { center: {}, left: {}, right: {}, top: {}, bottom: {}, "top-left": {}, "top-right": {}, "bottom-left": {}, "bottom-right": {} }, default: "center", requires: ["icon-image"], expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "icon-pitch-alignment": { type: "enum", values: { map: {}, viewport: {}, auto: {} }, default: "auto", requires: ["icon-image"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-pitch-alignment": { type: "enum", values: { map: {}, viewport: {}, auto: {} }, default: "auto", requires: ["text-field"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-rotation-alignment": { type: "enum", values: { map: {}, viewport: {}, "viewport-glyph": {}, auto: {} }, default: "auto", requires: ["text-field"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-field": { type: "formatted", default: "", tokens: !0, expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "text-font": { type: "array", value: "string", default: ["Open Sans Regular", "Arial Unicode MS Regular"], requires: ["text-field"], expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "text-size": { type: "number", default: 16, minimum: 0, units: "pixels", requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "text-max-width": { type: "number", default: 10, minimum: 0, units: "ems", requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "text-line-height": { type: "number", default: 1.2, units: "ems", requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-letter-spacing": { type: "number", default: 0, units: "ems", requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "text-justify": { type: "enum", values: { auto: {}, left: {}, center: {}, right: {} }, default: "center", requires: ["text-field"], expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "text-radial-offset": { type: "number", units: "ems", default: 0, requires: ["text-field"], "property-type": "data-driven", expression: { interpolated: !0, parameters: ["zoom", "feature"] } }, "text-variable-anchor": { type: "array", value: "enum", values: { center: {}, left: {}, right: {}, top: {}, bottom: {}, "top-left": {}, "top-right": {}, "bottom-left": {}, "bottom-right": {} }, requires: ["text-field", { "symbol-placement": ["point"] }], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-variable-anchor-offset": { type: "variableAnchorOffsetCollection", requires: ["text-field", { "symbol-placement": ["point"] }], expression: { interpolated: !0, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "text-anchor": { type: "enum", values: { center: {}, left: {}, right: {}, top: {}, bottom: {}, "top-left": {}, "top-right": {}, "bottom-left": {}, "bottom-right": {} }, default: "center", requires: ["text-field", { "!": "text-variable-anchor" }], expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "text-max-angle": { type: "number", default: 45, units: "degrees", requires: ["text-field", { "symbol-placement": ["line", "line-center"] }], expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-writing-mode": { type: "array", value: "enum", values: { horizontal: {}, vertical: {} }, requires: ["text-field", { "symbol-placement": ["point"] }], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-rotate": { type: "number", default: 0, period: 360, units: "degrees", requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "text-padding": { type: "number", default: 2, minimum: 0, units: "pixels", requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-keep-upright": { type: "boolean", default: !0, requires: ["text-field", { "text-rotation-alignment": "map" }, { "symbol-placement": ["line", "line-center"] }], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-transform": { type: "enum", values: { none: {}, uppercase: {}, lowercase: {} }, default: "none", requires: ["text-field"], expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "text-offset": { type: "array", value: "number", units: "ems", length: 2, default: [0, 0], requires: ["text-field", { "!": "text-radial-offset" }], expression: { interpolated: !0, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "text-allow-overlap": { type: "boolean", default: !1, requires: ["text-field", { "!": "text-overlap" }], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-overlap": { type: "enum", values: { never: {}, always: {}, cooperative: {} }, requires: ["text-field"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-ignore-placement": { type: "boolean", default: !1, requires: ["text-field"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-optional": { type: "boolean", default: !1, requires: ["text-field", "icon-image"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, visibility: { type: "enum", values: { visible: {}, none: {} }, default: "visible", "property-type": "constant" } }, layout_raster: { visibility: { type: "enum", values: { visible: {}, none: {} }, default: "visible", "property-type": "constant" } }, layout_hillshade: { visibility: { type: "enum", values: { visible: {}, none: {} }, default: "visible", "property-type": "constant" } }, filter: { type: "array", value: "*" }, filter_operator: { type: "enum", values: { "==": {}, "!=": {}, ">": {}, ">=": {}, "<": {}, "<=": {}, in: {}, "!in": {}, all: {}, any: {}, none: {}, has: {}, "!has": {} } }, geometry_type: { type: "enum", values: { Point: {}, LineString: {}, Polygon: {} } }, function: { expression: { type: "expression" }, stops: { type: "array", value: "function_stop" }, base: { type: "number", default: 1, minimum: 0 }, property: { type: "string", default: "$zoom" }, type: { type: "enum", values: { identity: {}, exponential: {}, interval: {}, categorical: {} }, default: "exponential" }, colorSpace: { type: "enum", values: { rgb: {}, lab: {}, hcl: {} }, default: "rgb" }, default: { type: "*", required: !1 } }, function_stop: { type: "array", minimum: 0, maximum: 24, value: ["number", "color"], length: 2 }, expression: { type: "array", value: "*", minimum: 1 }, light: { anchor: { type: "enum", default: "viewport", values: { map: {}, viewport: {} }, "property-type": "data-constant", transition: !1, expression: { interpolated: !1, parameters: ["zoom"] } }, position: { type: "array", default: [1.15, 210, 30], length: 3, value: "number", "property-type": "data-constant", transition: !0, expression: { interpolated: !0, parameters: ["zoom"] } }, color: { type: "color", "property-type": "data-constant", default: "#ffffff", expression: { interpolated: !0, parameters: ["zoom"] }, transition: !0 }, intensity: { type: "number", "property-type": "data-constant", default: 0.5, minimum: 0, maximum: 1, expression: { interpolated: !0, parameters: ["zoom"] }, transition: !0 } }, sky: { "sky-color": { type: "color", "property-type": "data-constant", default: "#88C6FC", expression: { interpolated: !0, parameters: ["zoom"] }, transition: !0 }, "horizon-color": { type: "color", "property-type": "data-constant", default: "#ffffff", expression: { interpolated: !0, parameters: ["zoom"] }, transition: !0 }, "fog-color": { type: "color", "property-type": "data-constant", default: "#ffffff", expression: { interpolated: !0, parameters: ["zoom"] }, transition: !0 }, "fog-ground-blend": { type: "number", "property-type": "data-constant", default: 0.5, minimum: 0, maximum: 1, expression: { interpolated: !0, parameters: ["zoom"] }, transition: !0 }, "horizon-fog-blend": { type: "number", "property-type": "data-constant", default: 0.8, minimum: 0, maximum: 1, expression: { interpolated: !0, parameters: ["zoom"] }, transition: !0 }, "sky-horizon-blend": { type: "number", "property-type": "data-constant", default: 0.8, minimum: 0, maximum: 1, expression: { interpolated: !0, parameters: ["zoom"] }, transition: !0 }, "atmosphere-blend": { type: "number", "property-type": "data-constant", default: 0.8, minimum: 0, maximum: 1, expression: { interpolated: !0, parameters: ["zoom"] }, transition: !0 } }, terrain: { source: { type: "string", required: !0 }, exaggeration: { type: "number", minimum: 0, default: 1 } }, projection: { type: { type: "projectionDefinition", default: "mercator", "property-type": "data-constant", transition: !1, expression: { interpolated: !0, parameters: ["zoom"] } } }, paint: ["paint_fill", "paint_line", "paint_circle", "paint_heatmap", "paint_fill-extrusion", "paint_symbol", "paint_raster", "paint_hillshade", "paint_background"], paint_fill: { "fill-antialias": { type: "boolean", default: !0, expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "fill-opacity": { type: "number", default: 1, minimum: 0, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "fill-color": { type: "color", default: "#000000", transition: !0, requires: [{ "!": "fill-pattern" }], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "fill-outline-color": { type: "color", transition: !0, requires: [{ "!": "fill-pattern" }, { "fill-antialias": !0 }], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "fill-translate": { type: "array", value: "number", length: 2, default: [0, 0], transition: !0, units: "pixels", expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "fill-translate-anchor": { type: "enum", values: { map: {}, viewport: {} }, default: "map", requires: ["fill-translate"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "fill-pattern": { type: "resolvedImage", transition: !0, expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "cross-faded-data-driven" } }, "paint_fill-extrusion": { "fill-extrusion-opacity": { type: "number", default: 1, minimum: 0, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "fill-extrusion-color": { type: "color", default: "#000000", transition: !0, requires: [{ "!": "fill-extrusion-pattern" }], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "fill-extrusion-translate": { type: "array", value: "number", length: 2, default: [0, 0], transition: !0, units: "pixels", expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "fill-extrusion-translate-anchor": { type: "enum", values: { map: {}, viewport: {} }, default: "map", requires: ["fill-extrusion-translate"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "fill-extrusion-pattern": { type: "resolvedImage", transition: !0, expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "cross-faded-data-driven" }, "fill-extrusion-height": { type: "number", default: 0, minimum: 0, units: "meters", transition: !0, expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "fill-extrusion-base": { type: "number", default: 0, minimum: 0, units: "meters", transition: !0, requires: ["fill-extrusion-height"], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "fill-extrusion-vertical-gradient": { type: "boolean", default: !0, transition: !1, expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" } }, paint_line: { "line-opacity": { type: "number", default: 1, minimum: 0, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "line-color": { type: "color", default: "#000000", transition: !0, requires: [{ "!": "line-pattern" }], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "line-translate": { type: "array", value: "number", length: 2, default: [0, 0], transition: !0, units: "pixels", expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "line-translate-anchor": { type: "enum", values: { map: {}, viewport: {} }, default: "map", requires: ["line-translate"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "line-width": { type: "number", default: 1, minimum: 0, transition: !0, units: "pixels", expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "line-gap-width": { type: "number", default: 0, minimum: 0, transition: !0, units: "pixels", expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "line-offset": { type: "number", default: 0, transition: !0, units: "pixels", expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "line-blur": { type: "number", default: 0, minimum: 0, transition: !0, units: "pixels", expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "line-dasharray": { type: "array", value: "number", minimum: 0, transition: !0, units: "line widths", requires: [{ "!": "line-pattern" }], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "cross-faded" }, "line-pattern": { type: "resolvedImage", transition: !0, expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "cross-faded-data-driven" }, "line-gradient": { type: "color", transition: !1, requires: [{ "!": "line-dasharray" }, { "!": "line-pattern" }, { source: "geojson", has: { lineMetrics: !0 } }], expression: { interpolated: !0, parameters: ["line-progress"] }, "property-type": "color-ramp" } }, paint_circle: { "circle-radius": { type: "number", default: 5, minimum: 0, transition: !0, units: "pixels", expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "circle-color": { type: "color", default: "#000000", transition: !0, expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "circle-blur": { type: "number", default: 0, transition: !0, expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "circle-opacity": { type: "number", default: 1, minimum: 0, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "circle-translate": { type: "array", value: "number", length: 2, default: [0, 0], transition: !0, units: "pixels", expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "circle-translate-anchor": { type: "enum", values: { map: {}, viewport: {} }, default: "map", requires: ["circle-translate"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "circle-pitch-scale": { type: "enum", values: { map: {}, viewport: {} }, default: "map", expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "circle-pitch-alignment": { type: "enum", values: { map: {}, viewport: {} }, default: "viewport", expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "circle-stroke-width": { type: "number", default: 0, minimum: 0, transition: !0, units: "pixels", expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "circle-stroke-color": { type: "color", default: "#000000", transition: !0, expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "circle-stroke-opacity": { type: "number", default: 1, minimum: 0, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" } }, paint_heatmap: { "heatmap-radius": { type: "number", default: 30, minimum: 1, transition: !0, units: "pixels", expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "heatmap-weight": { type: "number", default: 1, minimum: 0, transition: !1, expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "heatmap-intensity": { type: "number", default: 1, minimum: 0, transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "heatmap-color": { type: "color", default: ["interpolate", ["linear"], ["heatmap-density"], 0, "rgba(0, 0, 255, 0)", 0.1, "royalblue", 0.3, "cyan", 0.5, "lime", 0.7, "yellow", 1, "red"], transition: !1, expression: { interpolated: !0, parameters: ["heatmap-density"] }, "property-type": "color-ramp" }, "heatmap-opacity": { type: "number", default: 1, minimum: 0, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" } }, paint_symbol: { "icon-opacity": { type: "number", default: 1, minimum: 0, maximum: 1, transition: !0, requires: ["icon-image"], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "icon-color": { type: "color", default: "#000000", transition: !0, requires: ["icon-image"], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "icon-halo-color": { type: "color", default: "rgba(0, 0, 0, 0)", transition: !0, requires: ["icon-image"], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "icon-halo-width": { type: "number", default: 0, minimum: 0, transition: !0, units: "pixels", requires: ["icon-image"], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "icon-halo-blur": { type: "number", default: 0, minimum: 0, transition: !0, units: "pixels", requires: ["icon-image"], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "icon-translate": { type: "array", value: "number", length: 2, default: [0, 0], transition: !0, units: "pixels", requires: ["icon-image"], expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "icon-translate-anchor": { type: "enum", values: { map: {}, viewport: {} }, default: "map", requires: ["icon-image", "icon-translate"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-opacity": { type: "number", default: 1, minimum: 0, maximum: 1, transition: !0, requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "text-color": { type: "color", default: "#000000", transition: !0, overridable: !0, requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "text-halo-color": { type: "color", default: "rgba(0, 0, 0, 0)", transition: !0, requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "text-halo-width": { type: "number", default: 0, minimum: 0, transition: !0, units: "pixels", requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "text-halo-blur": { type: "number", default: 0, minimum: 0, transition: !0, units: "pixels", requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "text-translate": { type: "array", value: "number", length: 2, default: [0, 0], transition: !0, units: "pixels", requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-translate-anchor": { type: "enum", values: { map: {}, viewport: {} }, default: "map", requires: ["text-field", "text-translate"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" } }, paint_raster: { "raster-opacity": { type: "number", default: 1, minimum: 0, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "raster-hue-rotate": { type: "number", default: 0, period: 360, transition: !0, units: "degrees", expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "raster-brightness-min": { type: "number", default: 0, minimum: 0, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "raster-brightness-max": { type: "number", default: 1, minimum: 0, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "raster-saturation": { type: "number", default: 0, minimum: -1, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "raster-contrast": { type: "number", default: 0, minimum: -1, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "raster-resampling": { type: "enum", values: { linear: {}, nearest: {} }, default: "linear", expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "raster-fade-duration": { type: "number", default: 300, minimum: 0, transition: !1, units: "milliseconds", expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" } }, paint_hillshade: { "hillshade-illumination-direction": { type: "numberArray", default: 335, minimum: 0, maximum: 359, transition: !1, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "hillshade-illumination-altitude": { type: "numberArray", default: 45, minimum: 0, maximum: 90, transition: !1, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "hillshade-illumination-anchor": { type: "enum", values: { map: {}, viewport: {} }, default: "viewport", expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "hillshade-exaggeration": { type: "number", default: 0.5, minimum: 0, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "hillshade-shadow-color": { type: "colorArray", default: "#000000", transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "hillshade-highlight-color": { type: "colorArray", default: "#FFFFFF", transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "hillshade-accent-color": { type: "color", default: "#000000", transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "hillshade-method": { type: "enum", values: { standard: {}, basic: {}, combined: {}, igor: {}, multidirectional: {} }, default: "standard", expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" } }, paint_background: { "background-color": { type: "color", default: "#000000", transition: !0, requires: [{ "!": "background-pattern" }], expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "background-pattern": { type: "resolvedImage", transition: !0, expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "cross-faded" }, "background-opacity": { type: "number", default: 1, minimum: 0, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" } }, transition: { duration: { type: "number", default: 300, minimum: 0, units: "milliseconds" }, delay: { type: "number", default: 0, minimum: 0, units: "milliseconds" } }, "property-type": { "data-driven": { type: "property-type" }, "cross-faded": { type: "property-type" }, "cross-faded-data-driven": { type: "property-type" }, "color-ramp": { type: "property-type" }, "data-constant": { type: "property-type" }, constant: { type: "property-type" } }, promoteId: { "*": { type: "string" } } };
449
+ var $ = { $version: 8, $root: { version: { required: !0, type: "enum", values: [8] }, name: { type: "string" }, metadata: { type: "*" }, center: { type: "array", value: "number" }, centerAltitude: { type: "number" }, zoom: { type: "number" }, bearing: { type: "number", default: 0, period: 360, units: "degrees" }, pitch: { type: "number", default: 0, units: "degrees" }, roll: { type: "number", default: 0, units: "degrees" }, state: { type: "state", default: {} }, light: { type: "light" }, sky: { type: "sky" }, projection: { type: "projection" }, terrain: { type: "terrain" }, sources: { required: !0, type: "sources" }, sprite: { type: "sprite" }, glyphs: { type: "string" }, transition: { type: "transition" }, layers: { required: !0, type: "array", value: "layer" } }, sources: { "*": { type: "source" } }, source: ["source_vector", "source_raster", "source_raster_dem", "source_geojson", "source_video", "source_image"], source_vector: { type: { required: !0, type: "enum", values: { vector: {} } }, url: { type: "string" }, tiles: { type: "array", value: "string" }, bounds: { type: "array", value: "number", length: 4, default: [-180, -85.051129, 180, 85.051129] }, scheme: { type: "enum", values: { xyz: {}, tms: {} }, default: "xyz" }, minzoom: { type: "number", default: 0 }, maxzoom: { type: "number", default: 22 }, attribution: { type: "string" }, promoteId: { type: "promoteId" }, volatile: { type: "boolean", default: !1 }, "*": { type: "*" } }, source_raster: { type: { required: !0, type: "enum", values: { raster: {} } }, url: { type: "string" }, tiles: { type: "array", value: "string" }, bounds: { type: "array", value: "number", length: 4, default: [-180, -85.051129, 180, 85.051129] }, minzoom: { type: "number", default: 0 }, maxzoom: { type: "number", default: 22 }, tileSize: { type: "number", default: 512, units: "pixels" }, scheme: { type: "enum", values: { xyz: {}, tms: {} }, default: "xyz" }, attribution: { type: "string" }, volatile: { type: "boolean", default: !1 }, "*": { type: "*" } }, source_raster_dem: { type: { required: !0, type: "enum", values: { "raster-dem": {} } }, url: { type: "string" }, tiles: { type: "array", value: "string" }, bounds: { type: "array", value: "number", length: 4, default: [-180, -85.051129, 180, 85.051129] }, minzoom: { type: "number", default: 0 }, maxzoom: { type: "number", default: 22 }, tileSize: { type: "number", default: 512, units: "pixels" }, attribution: { type: "string" }, encoding: { type: "enum", values: { terrarium: {}, mapbox: {}, custom: {} }, default: "mapbox" }, redFactor: { type: "number", default: 1 }, blueFactor: { type: "number", default: 1 }, greenFactor: { type: "number", default: 1 }, baseShift: { type: "number", default: 0 }, volatile: { type: "boolean", default: !1 }, "*": { type: "*" } }, source_geojson: { type: { required: !0, type: "enum", values: { geojson: {} } }, data: { required: !0, type: "*" }, maxzoom: { type: "number", default: 18 }, attribution: { type: "string" }, buffer: { type: "number", default: 128, maximum: 512, minimum: 0 }, filter: { type: "*" }, tolerance: { type: "number", default: 0.375 }, cluster: { type: "boolean", default: !1 }, clusterRadius: { type: "number", default: 50, minimum: 0 }, clusterMaxZoom: { type: "number" }, clusterMinPoints: { type: "number" }, clusterProperties: { type: "*" }, lineMetrics: { type: "boolean", default: !1 }, generateId: { type: "boolean", default: !1 }, promoteId: { type: "promoteId" } }, source_video: { type: { required: !0, type: "enum", values: { video: {} } }, urls: { required: !0, type: "array", value: "string" }, coordinates: { required: !0, type: "array", length: 4, value: { type: "array", length: 2, value: "number" } } }, source_image: { type: { required: !0, type: "enum", values: { image: {} } }, url: { required: !0, type: "string" }, coordinates: { required: !0, type: "array", length: 4, value: { type: "array", length: 2, value: "number" } } }, layer: { id: { type: "string", required: !0 }, type: { type: "enum", values: { fill: {}, line: {}, symbol: {}, circle: {}, heatmap: {}, "fill-extrusion": {}, raster: {}, hillshade: {}, background: {} }, required: !0 }, metadata: { type: "*" }, source: { type: "string" }, "source-layer": { type: "string" }, minzoom: { type: "number", minimum: 0, maximum: 24 }, maxzoom: { type: "number", minimum: 0, maximum: 24 }, filter: { type: "filter" }, layout: { type: "layout" }, paint: { type: "paint" } }, layout: ["layout_fill", "layout_line", "layout_circle", "layout_heatmap", "layout_fill-extrusion", "layout_symbol", "layout_raster", "layout_hillshade", "layout_background"], layout_background: { visibility: { type: "enum", values: { visible: {}, none: {} }, default: "visible", "property-type": "constant" } }, layout_fill: { "fill-sort-key": { type: "number", expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, visibility: { type: "enum", values: { visible: {}, none: {} }, default: "visible", "property-type": "constant" } }, layout_circle: { "circle-sort-key": { type: "number", expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, visibility: { type: "enum", values: { visible: {}, none: {} }, default: "visible", "property-type": "constant" } }, layout_heatmap: { visibility: { type: "enum", values: { visible: {}, none: {} }, default: "visible", "property-type": "constant" } }, "layout_fill-extrusion": { visibility: { type: "enum", values: { visible: {}, none: {} }, default: "visible", "property-type": "constant" } }, layout_line: { "line-cap": { type: "enum", values: { butt: {}, round: {}, square: {} }, default: "butt", expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "line-join": { type: "enum", values: { bevel: {}, round: {}, miter: {} }, default: "miter", expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "line-miter-limit": { type: "number", default: 2, requires: [{ "line-join": "miter" }], expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "line-round-limit": { type: "number", default: 1.05, requires: [{ "line-join": "round" }], expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "line-sort-key": { type: "number", expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, visibility: { type: "enum", values: { visible: {}, none: {} }, default: "visible", "property-type": "constant" } }, layout_symbol: { "symbol-placement": { type: "enum", values: { point: {}, line: {}, "line-center": {} }, default: "point", expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "symbol-spacing": { type: "number", default: 250, minimum: 1, units: "pixels", requires: [{ "symbol-placement": "line" }], expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "symbol-avoid-edges": { type: "boolean", default: !1, expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "symbol-sort-key": { type: "number", expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "symbol-z-order": { type: "enum", values: { auto: {}, "viewport-y": {}, source: {} }, default: "auto", expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "icon-allow-overlap": { type: "boolean", default: !1, requires: ["icon-image", { "!": "icon-overlap" }], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "icon-overlap": { type: "enum", values: { never: {}, always: {}, cooperative: {} }, requires: ["icon-image"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "icon-ignore-placement": { type: "boolean", default: !1, requires: ["icon-image"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "icon-optional": { type: "boolean", default: !1, requires: ["icon-image", "text-field"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "icon-rotation-alignment": { type: "enum", values: { map: {}, viewport: {}, auto: {} }, default: "auto", requires: ["icon-image"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "icon-size": { type: "number", default: 1, minimum: 0, units: "factor of the original icon size", requires: ["icon-image"], expression: { interpolated: !0, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "icon-text-fit": { type: "enum", values: { none: {}, width: {}, height: {}, both: {} }, default: "none", requires: ["icon-image", "text-field"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "icon-text-fit-padding": { type: "array", value: "number", length: 4, default: [0, 0, 0, 0], units: "pixels", requires: ["icon-image", "text-field", { "icon-text-fit": ["both", "width", "height"] }], expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "icon-image": { type: "resolvedImage", tokens: !0, expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "icon-rotate": { type: "number", default: 0, period: 360, units: "degrees", requires: ["icon-image"], expression: { interpolated: !0, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "icon-padding": { type: "padding", default: [2], units: "pixels", requires: ["icon-image"], expression: { interpolated: !0, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "icon-keep-upright": { type: "boolean", default: !1, requires: ["icon-image", { "icon-rotation-alignment": "map" }, { "symbol-placement": ["line", "line-center"] }], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "icon-offset": { type: "array", value: "number", length: 2, default: [0, 0], requires: ["icon-image"], expression: { interpolated: !0, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "icon-anchor": { type: "enum", values: { center: {}, left: {}, right: {}, top: {}, bottom: {}, "top-left": {}, "top-right": {}, "bottom-left": {}, "bottom-right": {} }, default: "center", requires: ["icon-image"], expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "icon-pitch-alignment": { type: "enum", values: { map: {}, viewport: {}, auto: {} }, default: "auto", requires: ["icon-image"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-pitch-alignment": { type: "enum", values: { map: {}, viewport: {}, auto: {} }, default: "auto", requires: ["text-field"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-rotation-alignment": { type: "enum", values: { map: {}, viewport: {}, "viewport-glyph": {}, auto: {} }, default: "auto", requires: ["text-field"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-field": { type: "formatted", default: "", tokens: !0, expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "text-font": { type: "array", value: "string", default: ["Open Sans Regular", "Arial Unicode MS Regular"], requires: ["text-field"], expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "text-size": { type: "number", default: 16, minimum: 0, units: "pixels", requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "text-max-width": { type: "number", default: 10, minimum: 0, units: "ems", requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "text-line-height": { type: "number", default: 1.2, units: "ems", requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-letter-spacing": { type: "number", default: 0, units: "ems", requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "text-justify": { type: "enum", values: { auto: {}, left: {}, center: {}, right: {} }, default: "center", requires: ["text-field"], expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "text-radial-offset": { type: "number", units: "ems", default: 0, requires: ["text-field"], "property-type": "data-driven", expression: { interpolated: !0, parameters: ["zoom", "feature"] } }, "text-variable-anchor": { type: "array", value: "enum", values: { center: {}, left: {}, right: {}, top: {}, bottom: {}, "top-left": {}, "top-right": {}, "bottom-left": {}, "bottom-right": {} }, requires: ["text-field", { "symbol-placement": ["point"] }], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-variable-anchor-offset": { type: "variableAnchorOffsetCollection", requires: ["text-field", { "symbol-placement": ["point"] }], expression: { interpolated: !0, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "text-anchor": { type: "enum", values: { center: {}, left: {}, right: {}, top: {}, bottom: {}, "top-left": {}, "top-right": {}, "bottom-left": {}, "bottom-right": {} }, default: "center", requires: ["text-field", { "!": "text-variable-anchor" }], expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "text-max-angle": { type: "number", default: 45, units: "degrees", requires: ["text-field", { "symbol-placement": ["line", "line-center"] }], expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-writing-mode": { type: "array", value: "enum", values: { horizontal: {}, vertical: {} }, requires: ["text-field", { "symbol-placement": ["point"] }], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-rotate": { type: "number", default: 0, period: 360, units: "degrees", requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "text-padding": { type: "number", default: 2, minimum: 0, units: "pixels", requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-keep-upright": { type: "boolean", default: !0, requires: ["text-field", { "text-rotation-alignment": "map" }, { "symbol-placement": ["line", "line-center"] }], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-transform": { type: "enum", values: { none: {}, uppercase: {}, lowercase: {} }, default: "none", requires: ["text-field"], expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "text-offset": { type: "array", value: "number", units: "ems", length: 2, default: [0, 0], requires: ["text-field", { "!": "text-radial-offset" }], expression: { interpolated: !0, parameters: ["zoom", "feature"] }, "property-type": "data-driven" }, "text-allow-overlap": { type: "boolean", default: !1, requires: ["text-field", { "!": "text-overlap" }], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-overlap": { type: "enum", values: { never: {}, always: {}, cooperative: {} }, requires: ["text-field"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-ignore-placement": { type: "boolean", default: !1, requires: ["text-field"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-optional": { type: "boolean", default: !1, requires: ["text-field", "icon-image"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, visibility: { type: "enum", values: { visible: {}, none: {} }, default: "visible", "property-type": "constant" } }, layout_raster: { visibility: { type: "enum", values: { visible: {}, none: {} }, default: "visible", "property-type": "constant" } }, layout_hillshade: { visibility: { type: "enum", values: { visible: {}, none: {} }, default: "visible", "property-type": "constant" } }, filter: { type: "array", value: "*" }, filter_operator: { type: "enum", values: { "==": {}, "!=": {}, ">": {}, ">=": {}, "<": {}, "<=": {}, in: {}, "!in": {}, all: {}, any: {}, none: {}, has: {}, "!has": {} } }, geometry_type: { type: "enum", values: { Point: {}, LineString: {}, Polygon: {} } }, function: { expression: { type: "expression" }, stops: { type: "array", value: "function_stop" }, base: { type: "number", default: 1, minimum: 0 }, property: { type: "string", default: "$zoom" }, type: { type: "enum", values: { identity: {}, exponential: {}, interval: {}, categorical: {} }, default: "exponential" }, colorSpace: { type: "enum", values: { rgb: {}, lab: {}, hcl: {} }, default: "rgb" }, default: { type: "*", required: !1 } }, function_stop: { type: "array", minimum: 0, maximum: 24, value: ["number", "color"], length: 2 }, expression: { type: "array", value: "*", minimum: 1 }, light: { anchor: { type: "enum", default: "viewport", values: { map: {}, viewport: {} }, "property-type": "data-constant", transition: !1, expression: { interpolated: !1, parameters: ["zoom"] } }, position: { type: "array", default: [1.15, 210, 30], length: 3, value: "number", "property-type": "data-constant", transition: !0, expression: { interpolated: !0, parameters: ["zoom"] } }, color: { type: "color", "property-type": "data-constant", default: "#ffffff", expression: { interpolated: !0, parameters: ["zoom"] }, transition: !0 }, intensity: { type: "number", "property-type": "data-constant", default: 0.5, minimum: 0, maximum: 1, expression: { interpolated: !0, parameters: ["zoom"] }, transition: !0 } }, sky: { "sky-color": { type: "color", "property-type": "data-constant", default: "#88C6FC", expression: { interpolated: !0, parameters: ["zoom"] }, transition: !0 }, "horizon-color": { type: "color", "property-type": "data-constant", default: "#ffffff", expression: { interpolated: !0, parameters: ["zoom"] }, transition: !0 }, "fog-color": { type: "color", "property-type": "data-constant", default: "#ffffff", expression: { interpolated: !0, parameters: ["zoom"] }, transition: !0 }, "fog-ground-blend": { type: "number", "property-type": "data-constant", default: 0.5, minimum: 0, maximum: 1, expression: { interpolated: !0, parameters: ["zoom"] }, transition: !0 }, "horizon-fog-blend": { type: "number", "property-type": "data-constant", default: 0.8, minimum: 0, maximum: 1, expression: { interpolated: !0, parameters: ["zoom"] }, transition: !0 }, "sky-horizon-blend": { type: "number", "property-type": "data-constant", default: 0.8, minimum: 0, maximum: 1, expression: { interpolated: !0, parameters: ["zoom"] }, transition: !0 }, "atmosphere-blend": { type: "number", "property-type": "data-constant", default: 0.8, minimum: 0, maximum: 1, expression: { interpolated: !0, parameters: ["zoom"] }, transition: !0 } }, terrain: { source: { type: "string", required: !0 }, exaggeration: { type: "number", minimum: 0, default: 1 } }, projection: { type: { type: "projectionDefinition", default: "mercator", "property-type": "data-constant", transition: !1, expression: { interpolated: !0, parameters: ["zoom"] } } }, paint: ["paint_fill", "paint_line", "paint_circle", "paint_heatmap", "paint_fill-extrusion", "paint_symbol", "paint_raster", "paint_hillshade", "paint_background"], paint_fill: { "fill-antialias": { type: "boolean", default: !0, expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "fill-opacity": { type: "number", default: 1, minimum: 0, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "fill-color": { type: "color", default: "#000000", transition: !0, requires: [{ "!": "fill-pattern" }], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "fill-outline-color": { type: "color", transition: !0, requires: [{ "!": "fill-pattern" }, { "fill-antialias": !0 }], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "fill-translate": { type: "array", value: "number", length: 2, default: [0, 0], transition: !0, units: "pixels", expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "fill-translate-anchor": { type: "enum", values: { map: {}, viewport: {} }, default: "map", requires: ["fill-translate"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "fill-pattern": { type: "resolvedImage", transition: !0, expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "cross-faded-data-driven" } }, "paint_fill-extrusion": { "fill-extrusion-opacity": { type: "number", default: 1, minimum: 0, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "fill-extrusion-color": { type: "color", default: "#000000", transition: !0, requires: [{ "!": "fill-extrusion-pattern" }], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "fill-extrusion-translate": { type: "array", value: "number", length: 2, default: [0, 0], transition: !0, units: "pixels", expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "fill-extrusion-translate-anchor": { type: "enum", values: { map: {}, viewport: {} }, default: "map", requires: ["fill-extrusion-translate"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "fill-extrusion-pattern": { type: "resolvedImage", transition: !0, expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "cross-faded-data-driven" }, "fill-extrusion-height": { type: "number", default: 0, minimum: 0, units: "meters", transition: !0, expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "fill-extrusion-base": { type: "number", default: 0, minimum: 0, units: "meters", transition: !0, requires: ["fill-extrusion-height"], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "fill-extrusion-vertical-gradient": { type: "boolean", default: !0, transition: !1, expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" } }, paint_line: { "line-opacity": { type: "number", default: 1, minimum: 0, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "line-color": { type: "color", default: "#000000", transition: !0, requires: [{ "!": "line-pattern" }], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "line-translate": { type: "array", value: "number", length: 2, default: [0, 0], transition: !0, units: "pixels", expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "line-translate-anchor": { type: "enum", values: { map: {}, viewport: {} }, default: "map", requires: ["line-translate"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "line-width": { type: "number", default: 1, minimum: 0, transition: !0, units: "pixels", expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "line-gap-width": { type: "number", default: 0, minimum: 0, transition: !0, units: "pixels", expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "line-offset": { type: "number", default: 0, transition: !0, units: "pixels", expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "line-blur": { type: "number", default: 0, minimum: 0, transition: !0, units: "pixels", expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "line-dasharray": { type: "array", value: "number", minimum: 0, transition: !0, units: "line widths", requires: [{ "!": "line-pattern" }], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "cross-faded" }, "line-pattern": { type: "resolvedImage", transition: !0, expression: { interpolated: !1, parameters: ["zoom", "feature"] }, "property-type": "cross-faded-data-driven" }, "line-gradient": { type: "color", transition: !1, requires: [{ "!": "line-dasharray" }, { "!": "line-pattern" }, { source: "geojson", has: { lineMetrics: !0 } }], expression: { interpolated: !0, parameters: ["line-progress"] }, "property-type": "color-ramp" } }, paint_circle: { "circle-radius": { type: "number", default: 5, minimum: 0, transition: !0, units: "pixels", expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "circle-color": { type: "color", default: "#000000", transition: !0, expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "circle-blur": { type: "number", default: 0, transition: !0, expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "circle-opacity": { type: "number", default: 1, minimum: 0, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "circle-translate": { type: "array", value: "number", length: 2, default: [0, 0], transition: !0, units: "pixels", expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "circle-translate-anchor": { type: "enum", values: { map: {}, viewport: {} }, default: "map", requires: ["circle-translate"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "circle-pitch-scale": { type: "enum", values: { map: {}, viewport: {} }, default: "map", expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "circle-pitch-alignment": { type: "enum", values: { map: {}, viewport: {} }, default: "viewport", expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "circle-stroke-width": { type: "number", default: 0, minimum: 0, transition: !0, units: "pixels", expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "circle-stroke-color": { type: "color", default: "#000000", transition: !0, expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "circle-stroke-opacity": { type: "number", default: 1, minimum: 0, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" } }, paint_heatmap: { "heatmap-radius": { type: "number", default: 30, minimum: 1, transition: !0, units: "pixels", expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "heatmap-weight": { type: "number", default: 1, minimum: 0, transition: !1, expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "heatmap-intensity": { type: "number", default: 1, minimum: 0, transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "heatmap-color": { type: "color", default: ["interpolate", ["linear"], ["heatmap-density"], 0, "rgba(0, 0, 255, 0)", 0.1, "royalblue", 0.3, "cyan", 0.5, "lime", 0.7, "yellow", 1, "red"], transition: !1, expression: { interpolated: !0, parameters: ["heatmap-density"] }, "property-type": "color-ramp" }, "heatmap-opacity": { type: "number", default: 1, minimum: 0, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" } }, paint_symbol: { "icon-opacity": { type: "number", default: 1, minimum: 0, maximum: 1, transition: !0, requires: ["icon-image"], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "icon-color": { type: "color", default: "#000000", transition: !0, requires: ["icon-image"], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "icon-halo-color": { type: "color", default: "rgba(0, 0, 0, 0)", transition: !0, requires: ["icon-image"], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "icon-halo-width": { type: "number", default: 0, minimum: 0, transition: !0, units: "pixels", requires: ["icon-image"], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "icon-halo-blur": { type: "number", default: 0, minimum: 0, transition: !0, units: "pixels", requires: ["icon-image"], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "icon-translate": { type: "array", value: "number", length: 2, default: [0, 0], transition: !0, units: "pixels", requires: ["icon-image"], expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "icon-translate-anchor": { type: "enum", values: { map: {}, viewport: {} }, default: "map", requires: ["icon-image", "icon-translate"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-opacity": { type: "number", default: 1, minimum: 0, maximum: 1, transition: !0, requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "text-color": { type: "color", default: "#000000", transition: !0, overridable: !0, requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "text-halo-color": { type: "color", default: "rgba(0, 0, 0, 0)", transition: !0, requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "text-halo-width": { type: "number", default: 0, minimum: 0, transition: !0, units: "pixels", requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "text-halo-blur": { type: "number", default: 0, minimum: 0, transition: !0, units: "pixels", requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom", "feature", "feature-state"] }, "property-type": "data-driven" }, "text-translate": { type: "array", value: "number", length: 2, default: [0, 0], transition: !0, units: "pixels", requires: ["text-field"], expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "text-translate-anchor": { type: "enum", values: { map: {}, viewport: {} }, default: "map", requires: ["text-field", "text-translate"], expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" } }, paint_raster: { "raster-opacity": { type: "number", default: 1, minimum: 0, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "raster-hue-rotate": { type: "number", default: 0, period: 360, transition: !0, units: "degrees", expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "raster-brightness-min": { type: "number", default: 0, minimum: 0, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "raster-brightness-max": { type: "number", default: 1, minimum: 0, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "raster-saturation": { type: "number", default: 0, minimum: -1, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "raster-contrast": { type: "number", default: 0, minimum: -1, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "raster-resampling": { type: "enum", values: { linear: {}, nearest: {} }, default: "linear", expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "raster-fade-duration": { type: "number", default: 300, minimum: 0, transition: !1, units: "milliseconds", expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" } }, paint_hillshade: { "hillshade-illumination-direction": { type: "numberArray", default: 335, minimum: 0, maximum: 359, transition: !1, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "hillshade-illumination-altitude": { type: "numberArray", default: 45, minimum: 0, maximum: 90, transition: !1, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "hillshade-illumination-anchor": { type: "enum", values: { map: {}, viewport: {} }, default: "viewport", expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" }, "hillshade-exaggeration": { type: "number", default: 0.5, minimum: 0, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "hillshade-shadow-color": { type: "colorArray", default: "#000000", transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "hillshade-highlight-color": { type: "colorArray", default: "#FFFFFF", transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "hillshade-accent-color": { type: "color", default: "#000000", transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "hillshade-method": { type: "enum", values: { standard: {}, basic: {}, combined: {}, igor: {}, multidirectional: {} }, default: "standard", expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "data-constant" } }, paint_background: { "background-color": { type: "color", default: "#000000", transition: !0, requires: [{ "!": "background-pattern" }], expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" }, "background-pattern": { type: "resolvedImage", transition: !0, expression: { interpolated: !1, parameters: ["zoom"] }, "property-type": "cross-faded" }, "background-opacity": { type: "number", default: 1, minimum: 0, maximum: 1, transition: !0, expression: { interpolated: !0, parameters: ["zoom"] }, "property-type": "data-constant" } }, transition: { duration: { type: "number", default: 300, minimum: 0, units: "milliseconds" }, delay: { type: "number", default: 0, minimum: 0, units: "milliseconds" } }, "property-type": { "data-driven": { type: "property-type" }, "cross-faded": { type: "property-type" }, "cross-faded-data-driven": { type: "property-type" }, "color-ramp": { type: "property-type" }, "data-constant": { type: "property-type" }, constant: { type: "property-type" } }, promoteId: { "*": { type: "string" } } };
450
450
  const Me = ["type", "source", "source-layer", "minzoom", "maxzoom", "filter", "layout"];
451
451
  function Te(n, t) {
452
452
  const i = {};
@@ -528,7 +528,7 @@ function Hv() {
528
528
  return !!this.bindings[t] || !!this.parent && this.parent.has(t);
529
529
  }
530
530
  }
531
- const Ot = { kind: "null" }, Ye = { kind: "number" }, zt = { kind: "string" }, Jt = { kind: "boolean" }, Or = { kind: "color" }, Tr = { kind: "projectionDefinition" }, Ii = { kind: "object" }, Qt = { kind: "value" }, Xi = { kind: "collator" }, As = { kind: "formatted" }, Mn = { kind: "padding" }, Un = { kind: "colorArray" }, Wi = { kind: "numberArray" }, Ln = { kind: "resolvedImage" }, Nr = { kind: "variableAnchorOffsetCollection" };
531
+ const Ot = { kind: "null" }, Ye = { kind: "number" }, zt = { kind: "string" }, Gt = { kind: "boolean" }, Or = { kind: "color" }, Tr = { kind: "projectionDefinition" }, Ii = { kind: "object" }, Xt = { kind: "value" }, Xi = { kind: "collator" }, As = { kind: "formatted" }, Mn = { kind: "padding" }, Un = { kind: "colorArray" }, Wi = { kind: "numberArray" }, Ln = { kind: "resolvedImage" }, Nr = { kind: "variableAnchorOffsetCollection" };
532
532
  function Mi(n, t) {
533
533
  return { kind: "array", itemType: n, N: t };
534
534
  }
@@ -539,7 +539,7 @@ function Hv() {
539
539
  }
540
540
  return n.kind;
541
541
  }
542
- const os = [Ot, Ye, zt, Jt, Or, Tr, As, Ii, Mi(Qt), Mn, Wi, Un, Ln, Nr];
542
+ const os = [Ot, Ye, zt, Gt, Or, Tr, As, Ii, Mi(Xt), Mn, Wi, Un, Ln, Nr];
543
543
  function xn(n, t) {
544
544
  if (t.kind === "error") return null;
545
545
  if (n.kind === "array") {
@@ -872,22 +872,22 @@ function Hv() {
872
872
  return t ? new st({ name: t, available: !1 }) : null;
873
873
  }
874
874
  }
875
- class Be {
875
+ class De {
876
876
  constructor(t, i, o) {
877
877
  this.from = t, this.to = i, this.transition = o;
878
878
  }
879
879
  static interpolate(t, i, o) {
880
- return new Be(t, i, o);
880
+ return new De(t, i, o);
881
881
  }
882
882
  static parse(t) {
883
- return t instanceof Be ? t : Array.isArray(t) && t.length === 3 && typeof t[0] == "string" && typeof t[1] == "string" && typeof t[2] == "number" ? new Be(t[0], t[1], t[2]) : typeof t == "object" && typeof t.from == "string" && typeof t.to == "string" && typeof t.transition == "number" ? new Be(t.from, t.to, t.transition) : typeof t == "string" ? new Be(t, t, 1) : void 0;
883
+ return t instanceof De ? t : Array.isArray(t) && t.length === 3 && typeof t[0] == "string" && typeof t[1] == "string" && typeof t[2] == "number" ? new De(t[0], t[1], t[2]) : typeof t == "object" && typeof t.from == "string" && typeof t.to == "string" && typeof t.transition == "number" ? new De(t.from, t.to, t.transition) : typeof t == "string" ? new De(t, t, 1) : void 0;
884
884
  }
885
885
  }
886
886
  function Je(n, t, i, o) {
887
887
  return typeof n == "number" && n >= 0 && n <= 255 && typeof t == "number" && t >= 0 && t <= 255 && typeof i == "number" && i >= 0 && i <= 255 ? o === void 0 || typeof o == "number" && o >= 0 && o <= 1 ? null : `Invalid rgba value [${[n, t, i, o].join(", ")}]: 'a' must be between 0 and 1.` : `Invalid rgba value [${(typeof o == "number" ? [n, t, i, o] : [n, t, i]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`;
888
888
  }
889
889
  function et(n) {
890
- if (n === null || typeof n == "string" || typeof n == "boolean" || typeof n == "number" || n instanceof Be || n instanceof qt || n instanceof Rn || n instanceof ue || n instanceof pe || n instanceof ve || n instanceof Ce || n instanceof Qe || n instanceof st) return !0;
890
+ if (n === null || typeof n == "string" || typeof n == "boolean" || typeof n == "number" || n instanceof De || n instanceof qt || n instanceof Rn || n instanceof ue || n instanceof pe || n instanceof ve || n instanceof Ce || n instanceof Qe || n instanceof st) return !0;
891
891
  if (Array.isArray(n)) {
892
892
  for (const t of n) if (!et(t)) return !1;
893
893
  return !0;
@@ -901,10 +901,10 @@ function Hv() {
901
901
  function gt(n) {
902
902
  if (n === null) return Ot;
903
903
  if (typeof n == "string") return zt;
904
- if (typeof n == "boolean") return Jt;
904
+ if (typeof n == "boolean") return Gt;
905
905
  if (typeof n == "number") return Ye;
906
906
  if (n instanceof qt) return Or;
907
- if (n instanceof Be) return Tr;
907
+ if (n instanceof De) return Tr;
908
908
  if (n instanceof Rn) return Xi;
909
909
  if (n instanceof ue) return As;
910
910
  if (n instanceof pe) return Mn;
@@ -919,18 +919,18 @@ function Hv() {
919
919
  const c = gt(o);
920
920
  if (i) {
921
921
  if (i === c) continue;
922
- i = Qt;
922
+ i = Xt;
923
923
  break;
924
924
  }
925
925
  i = c;
926
926
  }
927
- return Mi(i || Qt, t);
927
+ return Mi(i || Xt, t);
928
928
  }
929
929
  return Ii;
930
930
  }
931
931
  function dt(n) {
932
932
  const t = typeof n;
933
- return n === null ? "" : t === "string" || t === "number" || t === "boolean" ? String(n) : n instanceof qt || n instanceof Be || n instanceof ue || n instanceof pe || n instanceof ve || n instanceof Ce || n instanceof Qe || n instanceof st ? n.toString() : JSON.stringify(n);
933
+ return n === null ? "" : t === "string" || t === "number" || t === "boolean" ? String(n) : n instanceof qt || n instanceof De || n instanceof ue || n instanceof pe || n instanceof ve || n instanceof Ce || n instanceof Qe || n instanceof st ? n.toString() : JSON.stringify(n);
934
934
  }
935
935
  class ot {
936
936
  constructor(t, i) {
@@ -953,7 +953,7 @@ function Hv() {
953
953
  return !0;
954
954
  }
955
955
  }
956
- const Xt = { string: zt, number: Ye, boolean: Jt, object: Ii };
956
+ const Jt = { string: zt, number: Ye, boolean: Gt, object: Ii };
957
957
  class mt {
958
958
  constructor(t, i) {
959
959
  this.type = t, this.args = i;
@@ -966,21 +966,21 @@ function Hv() {
966
966
  let _, w;
967
967
  if (t.length > 2) {
968
968
  const C = t[1];
969
- if (typeof C != "string" || !(C in Xt) || C === "object") return i.error('The item type argument of "array" must be one of string, number, boolean', 1);
970
- _ = Xt[C], c++;
971
- } else _ = Qt;
969
+ if (typeof C != "string" || !(C in Jt) || C === "object") return i.error('The item type argument of "array" must be one of string, number, boolean', 1);
970
+ _ = Jt[C], c++;
971
+ } else _ = Xt;
972
972
  if (t.length > 3) {
973
973
  if (t[2] !== null && (typeof t[2] != "number" || t[2] < 0 || t[2] !== Math.floor(t[2]))) return i.error('The length argument to "array" must be a positive integer literal', 2);
974
974
  w = t[2], c++;
975
975
  }
976
976
  o = Mi(_, w);
977
977
  } else {
978
- if (!Xt[f]) throw new Error(`Types doesn't contain name = ${f}`);
979
- o = Xt[f];
978
+ if (!Jt[f]) throw new Error(`Types doesn't contain name = ${f}`);
979
+ o = Jt[f];
980
980
  }
981
981
  const m = [];
982
982
  for (; c < t.length; c++) {
983
- const _ = i.parse(t[c], c, Qt);
983
+ const _ = i.parse(t[c], c, Xt);
984
984
  if (!_) return null;
985
985
  m.push(_);
986
986
  }
@@ -1001,7 +1001,7 @@ function Hv() {
1001
1001
  return this.args.every((t) => t.outputDefined());
1002
1002
  }
1003
1003
  }
1004
- const Wt = { "to-boolean": Jt, "to-color": Or, "to-number": Ye, "to-string": zt };
1004
+ const Wt = { "to-boolean": Gt, "to-color": Or, "to-number": Ye, "to-string": zt };
1005
1005
  class Rr {
1006
1006
  constructor(t, i) {
1007
1007
  this.type = t, this.args = i;
@@ -1013,7 +1013,7 @@ function Hv() {
1013
1013
  if ((o === "to-boolean" || o === "to-string") && t.length !== 2) return i.error("Expected one argument.");
1014
1014
  const c = Wt[o], f = [];
1015
1015
  for (let m = 1; m < t.length; m++) {
1016
- const _ = i.parse(t[m], m, Qt);
1016
+ const _ = i.parse(t[m], m, Xt);
1017
1017
  if (!_) return null;
1018
1018
  f.push(_);
1019
1019
  }
@@ -1227,7 +1227,7 @@ function Hv() {
1227
1227
  }
1228
1228
  static parse(t, i) {
1229
1229
  if (t.length !== 3) return i.error(`Expected 2 arguments, but found ${t.length - 1} instead.`);
1230
- const o = i.parse(t[1], 1, Ye), c = i.parse(t[2], 2, Mi(i.expectedType || Qt));
1230
+ const o = i.parse(t[1], 1, Ye), c = i.parse(t[2], 2, Mi(i.expectedType || Xt));
1231
1231
  return o && c ? new So(c.type.itemType, o, c) : null;
1232
1232
  }
1233
1233
  evaluate(t) {
@@ -1246,12 +1246,12 @@ function Hv() {
1246
1246
  }
1247
1247
  class ga {
1248
1248
  constructor(t, i) {
1249
- this.type = Jt, this.needle = t, this.haystack = i;
1249
+ this.type = Gt, this.needle = t, this.haystack = i;
1250
1250
  }
1251
1251
  static parse(t, i) {
1252
1252
  if (t.length !== 3) return i.error(`Expected 2 arguments, but found ${t.length - 1} instead.`);
1253
- const o = i.parse(t[1], 1, Qt), c = i.parse(t[2], 2, Qt);
1254
- return o && c ? ks(o.type, [Jt, zt, Ye, Ot, Qt]) ? new ga(o, c) : i.error(`Expected first argument to be of type boolean, string, number or null, but found ${Cr(o.type)} instead`) : null;
1253
+ const o = i.parse(t[1], 1, Xt), c = i.parse(t[2], 2, Xt);
1254
+ return o && c ? ks(o.type, [Gt, zt, Ye, Ot, Xt]) ? new ga(o, c) : i.error(`Expected first argument to be of type boolean, string, number or null, but found ${Cr(o.type)} instead`) : null;
1255
1255
  }
1256
1256
  evaluate(t) {
1257
1257
  const i = this.needle.evaluate(t), o = this.haystack.evaluate(t);
@@ -1273,9 +1273,9 @@ function Hv() {
1273
1273
  }
1274
1274
  static parse(t, i) {
1275
1275
  if (t.length <= 2 || t.length >= 5) return i.error(`Expected 3 or 4 arguments, but found ${t.length - 1} instead.`);
1276
- const o = i.parse(t[1], 1, Qt), c = i.parse(t[2], 2, Qt);
1276
+ const o = i.parse(t[1], 1, Xt), c = i.parse(t[2], 2, Xt);
1277
1277
  if (!o || !c) return null;
1278
- if (!ks(o.type, [Jt, zt, Ye, Ot, Qt])) return i.error(`Expected first argument to be of type boolean, string, number or null, but found ${Cr(o.type)} instead`);
1278
+ if (!ks(o.type, [Gt, zt, Ye, Ot, Xt])) return i.error(`Expected first argument to be of type boolean, string, number or null, but found ${Cr(o.type)} instead`);
1279
1279
  if (t.length === 4) {
1280
1280
  const f = i.parse(t[3], 3, Ye);
1281
1281
  return f ? new Ao(o, c, f) : null;
@@ -1330,7 +1330,7 @@ function Hv() {
1330
1330
  if (!j) return null;
1331
1331
  c = c || j.type, m.push(j);
1332
1332
  }
1333
- const _ = i.parse(t[1], 1, Qt);
1333
+ const _ = i.parse(t[1], 1, Xt);
1334
1334
  if (!_) return null;
1335
1335
  const w = i.parse(t[t.length - 1], t.length - 1, c);
1336
1336
  return w ? _.type.kind !== "value" && i.concat(1).checkSubtype(o, _.type) ? null : new Ps(o, c, _, f, m, w) : null;
@@ -1357,7 +1357,7 @@ function Hv() {
1357
1357
  i.expectedType && i.expectedType.kind !== "value" && (o = i.expectedType);
1358
1358
  const c = [];
1359
1359
  for (let m = 1; m < t.length - 1; m += 2) {
1360
- const _ = i.parse(t[m], m, Jt);
1360
+ const _ = i.parse(t[m], m, Gt);
1361
1361
  if (!_) return null;
1362
1362
  const w = i.parse(t[m + 1], m + 1, o);
1363
1363
  if (!w) return null;
@@ -1386,9 +1386,9 @@ function Hv() {
1386
1386
  }
1387
1387
  static parse(t, i) {
1388
1388
  if (t.length <= 2 || t.length >= 5) return i.error(`Expected 3 or 4 arguments, but found ${t.length - 1} instead.`);
1389
- const o = i.parse(t[1], 1, Qt), c = i.parse(t[2], 2, Ye);
1389
+ const o = i.parse(t[1], 1, Xt), c = i.parse(t[2], 2, Ye);
1390
1390
  if (!o || !c) return null;
1391
- if (!ks(o.type, [Mi(Qt), zt, Qt])) return i.error(`Expected first argument to be of type array or string, but found ${Cr(o.type)} instead`);
1391
+ if (!ks(o.type, [Mi(Xt), zt, Xt])) return i.error(`Expected first argument to be of type array or string, but found ${Cr(o.type)} instead`);
1392
1392
  if (t.length === 4) {
1393
1393
  const f = i.parse(t[3], 3, Ye);
1394
1394
  return f ? new Es(o.type, o, c, f) : null;
@@ -1564,7 +1564,7 @@ function Hv() {
1564
1564
  case "array":
1565
1565
  return Zn(w, C, _);
1566
1566
  case "projectionDefinition":
1567
- return Be.interpolate(w, C, _);
1567
+ return De.interpolate(w, C, _);
1568
1568
  }
1569
1569
  case "interpolate-hcl":
1570
1570
  switch (this.type.kind) {
@@ -1612,7 +1612,7 @@ function Hv() {
1612
1612
  }
1613
1613
  if (!o) throw new Error("No output type");
1614
1614
  const m = c && f.some((_) => xn(c, _.type));
1615
- return new Is(m ? Qt : o, f);
1615
+ return new Is(m ? Xt : o, f);
1616
1616
  }
1617
1617
  evaluate(t) {
1618
1618
  let i, o = null, c = 0;
@@ -1636,15 +1636,15 @@ function Hv() {
1636
1636
  const o = n !== "==" && n !== "!=";
1637
1637
  return class Qg {
1638
1638
  constructor(f, m, _) {
1639
- this.type = Jt, this.lhs = f, this.rhs = m, this.collator = _, this.hasUntypedArgument = f.type.kind === "value" || m.type.kind === "value";
1639
+ this.type = Gt, this.lhs = f, this.rhs = m, this.collator = _, this.hasUntypedArgument = f.type.kind === "value" || m.type.kind === "value";
1640
1640
  }
1641
1641
  static parse(f, m) {
1642
1642
  if (f.length !== 3 && f.length !== 4) return m.error("Expected two or three arguments.");
1643
1643
  const _ = f[0];
1644
- let w = m.parse(f[1], 1, Qt);
1644
+ let w = m.parse(f[1], 1, Xt);
1645
1645
  if (!w) return null;
1646
1646
  if (!Co(_, w.type)) return m.concat(1).error(`"${_}" comparisons are not supported for type '${Cr(w.type)}'.`);
1647
- let C = m.parse(f[2], 2, Qt);
1647
+ let C = m.parse(f[2], 2, Xt);
1648
1648
  if (!C) return null;
1649
1649
  if (!Co(_, C.type)) return m.concat(2).error(`"${_}" comparisons are not supported for type '${Cr(C.type)}'.`);
1650
1650
  if (w.type.kind !== C.type.kind && w.type.kind !== "value" && C.type.kind !== "value") return m.error(`Cannot compare types '${Cr(w.type)}' and '${Cr(C.type)}'.`);
@@ -1707,9 +1707,9 @@ function Hv() {
1707
1707
  if (t.length !== 2) return i.error("Expected one argument.");
1708
1708
  const o = t[1];
1709
1709
  if (typeof o != "object" || Array.isArray(o)) return i.error("Collator options argument must be an object.");
1710
- const c = i.parse(o["case-sensitive"] !== void 0 && o["case-sensitive"], 1, Jt);
1710
+ const c = i.parse(o["case-sensitive"] !== void 0 && o["case-sensitive"], 1, Gt);
1711
1711
  if (!c) return null;
1712
- const f = i.parse(o["diacritic-sensitive"] !== void 0 && o["diacritic-sensitive"], 1, Jt);
1712
+ const f = i.parse(o["diacritic-sensitive"] !== void 0 && o["diacritic-sensitive"], 1, Gt);
1713
1713
  if (!f) return null;
1714
1714
  let m = null;
1715
1715
  return o.locale && (m = i.parse(o.locale, 1, zt), !m) ? null : new xa(c, f, m);
@@ -1781,7 +1781,7 @@ function Hv() {
1781
1781
  const q = c[c.length - 1];
1782
1782
  q.scale = w, q.font = C, q.textColor = L, q.verticalAlign = B;
1783
1783
  } else {
1784
- const w = i.parse(t[m], 1, Qt);
1784
+ const w = i.parse(t[m], 1, Xt);
1785
1785
  if (!w) return null;
1786
1786
  const C = w.type.kind;
1787
1787
  if (C !== "string" && C !== "value" && C !== "null" && C !== "resolvedImage") return i.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");
@@ -1954,7 +1954,7 @@ function Hv() {
1954
1954
  }
1955
1955
  class hs {
1956
1956
  constructor(t, i) {
1957
- this.type = Jt, this.geojson = t, this.geometries = i;
1957
+ this.type = Gt, this.geojson = t, this.geometries = i;
1958
1958
  }
1959
1959
  static parse(t, i) {
1960
1960
  if (t.length !== 2) return i.error(`'within' expression requires exactly one argument, but found ${t.length - 1} instead.`);
@@ -2379,7 +2379,7 @@ function Hv() {
2379
2379
  }
2380
2380
  class Ea {
2381
2381
  constructor(t) {
2382
- this.type = Qt, this.key = t;
2382
+ this.type = Xt, this.key = t;
2383
2383
  }
2384
2384
  static parse(t, i) {
2385
2385
  if (t.length !== 2) return i.error(`Expected 1 argument, but found ${t.length - 1} instead.`);
@@ -2640,10 +2640,10 @@ function Hv() {
2640
2640
  }
2641
2641
  hn.register(Js, { error: [{ kind: "error" }, [zt], (n, [t]) => {
2642
2642
  throw new Oe(t.evaluate(n));
2643
- }], typeof: [zt, [Qt], (n, [t]) => Cr(gt(t.evaluate(n)))], "to-rgba": [Mi(Ye, 4), [Or], (n, [t]) => {
2643
+ }], typeof: [zt, [Xt], (n, [t]) => Cr(gt(t.evaluate(n)))], "to-rgba": [Mi(Ye, 4), [Or], (n, [t]) => {
2644
2644
  const [i, o, c, f] = t.evaluate(n).rgb;
2645
2645
  return [255 * i, 255 * o, 255 * c, f];
2646
- }], rgb: [Or, [Ye, Ye, Ye], nu], rgba: [Or, [Ye, Ye, Ye, Ye], nu], has: { type: Jt, overloads: [[[zt], (n, [t]) => su(t.evaluate(n), n.properties())], [[zt, Ii], (n, [t, i]) => su(t.evaluate(n), i.evaluate(n))]] }, get: { type: Qt, overloads: [[[zt], (n, [t]) => Rl(t.evaluate(n), n.properties())], [[zt, Ii], (n, [t, i]) => Rl(t.evaluate(n), i.evaluate(n))]] }, "feature-state": [Qt, [zt], (n, [t]) => Rl(t.evaluate(n), n.featureState || {})], properties: [Ii, [], (n) => n.properties()], "geometry-type": [zt, [], (n) => n.geometryType()], id: [Qt, [], (n) => n.id()], zoom: [Ye, [], (n) => n.globals.zoom], "heatmap-density": [Ye, [], (n) => n.globals.heatmapDensity || 0], "line-progress": [Ye, [], (n) => n.globals.lineProgress || 0], accumulated: [Qt, [], (n) => n.globals.accumulated === void 0 ? null : n.globals.accumulated], "+": [Ye, Ds(Ye), (n, t) => {
2646
+ }], rgb: [Or, [Ye, Ye, Ye], nu], rgba: [Or, [Ye, Ye, Ye, Ye], nu], has: { type: Gt, overloads: [[[zt], (n, [t]) => su(t.evaluate(n), n.properties())], [[zt, Ii], (n, [t, i]) => su(t.evaluate(n), i.evaluate(n))]] }, get: { type: Xt, overloads: [[[zt], (n, [t]) => Rl(t.evaluate(n), n.properties())], [[zt, Ii], (n, [t, i]) => Rl(t.evaluate(n), i.evaluate(n))]] }, "feature-state": [Xt, [zt], (n, [t]) => Rl(t.evaluate(n), n.featureState || {})], properties: [Ii, [], (n) => n.properties()], "geometry-type": [zt, [], (n) => n.geometryType()], id: [Xt, [], (n) => n.id()], zoom: [Ye, [], (n) => n.globals.zoom], "heatmap-density": [Ye, [], (n) => n.globals.heatmapDensity || 0], "line-progress": [Ye, [], (n) => n.globals.lineProgress || 0], accumulated: [Xt, [], (n) => n.globals.accumulated === void 0 ? null : n.globals.accumulated], "+": [Ye, Ds(Ye), (n, t) => {
2647
2647
  let i = 0;
2648
2648
  for (const o of t) i += o.evaluate(n);
2649
2649
  return i;
@@ -2654,47 +2654,47 @@ function Hv() {
2654
2654
  }], "-": { type: Ye, overloads: [[[Ye, Ye], (n, [t, i]) => t.evaluate(n) - i.evaluate(n)], [[Ye], (n, [t]) => -t.evaluate(n)]] }, "/": [Ye, [Ye, Ye], (n, [t, i]) => t.evaluate(n) / i.evaluate(n)], "%": [Ye, [Ye, Ye], (n, [t, i]) => t.evaluate(n) % i.evaluate(n)], ln2: [Ye, [], () => Math.LN2], pi: [Ye, [], () => Math.PI], e: [Ye, [], () => Math.E], "^": [Ye, [Ye, Ye], (n, [t, i]) => Math.pow(t.evaluate(n), i.evaluate(n))], sqrt: [Ye, [Ye], (n, [t]) => Math.sqrt(t.evaluate(n))], log10: [Ye, [Ye], (n, [t]) => Math.log(t.evaluate(n)) / Math.LN10], ln: [Ye, [Ye], (n, [t]) => Math.log(t.evaluate(n))], log2: [Ye, [Ye], (n, [t]) => Math.log(t.evaluate(n)) / Math.LN2], sin: [Ye, [Ye], (n, [t]) => Math.sin(t.evaluate(n))], cos: [Ye, [Ye], (n, [t]) => Math.cos(t.evaluate(n))], tan: [Ye, [Ye], (n, [t]) => Math.tan(t.evaluate(n))], asin: [Ye, [Ye], (n, [t]) => Math.asin(t.evaluate(n))], acos: [Ye, [Ye], (n, [t]) => Math.acos(t.evaluate(n))], atan: [Ye, [Ye], (n, [t]) => Math.atan(t.evaluate(n))], min: [Ye, Ds(Ye), (n, t) => Math.min(...t.map((i) => i.evaluate(n)))], max: [Ye, Ds(Ye), (n, t) => Math.max(...t.map((i) => i.evaluate(n)))], abs: [Ye, [Ye], (n, [t]) => Math.abs(t.evaluate(n))], round: [Ye, [Ye], (n, [t]) => {
2655
2655
  const i = t.evaluate(n);
2656
2656
  return i < 0 ? -Math.round(-i) : Math.round(i);
2657
- }], floor: [Ye, [Ye], (n, [t]) => Math.floor(t.evaluate(n))], ceil: [Ye, [Ye], (n, [t]) => Math.ceil(t.evaluate(n))], "filter-==": [Jt, [zt, Qt], (n, [t, i]) => n.properties()[t.value] === i.value], "filter-id-==": [Jt, [Qt], (n, [t]) => n.id() === t.value], "filter-type-==": [Jt, [zt], (n, [t]) => n.geometryType() === t.value], "filter-<": [Jt, [zt, Qt], (n, [t, i]) => {
2657
+ }], floor: [Ye, [Ye], (n, [t]) => Math.floor(t.evaluate(n))], ceil: [Ye, [Ye], (n, [t]) => Math.ceil(t.evaluate(n))], "filter-==": [Gt, [zt, Xt], (n, [t, i]) => n.properties()[t.value] === i.value], "filter-id-==": [Gt, [Xt], (n, [t]) => n.id() === t.value], "filter-type-==": [Gt, [zt], (n, [t]) => n.geometryType() === t.value], "filter-<": [Gt, [zt, Xt], (n, [t, i]) => {
2658
2658
  const o = n.properties()[t.value], c = i.value;
2659
2659
  return typeof o == typeof c && o < c;
2660
- }], "filter-id-<": [Jt, [Qt], (n, [t]) => {
2660
+ }], "filter-id-<": [Gt, [Xt], (n, [t]) => {
2661
2661
  const i = n.id(), o = t.value;
2662
2662
  return typeof i == typeof o && i < o;
2663
- }], "filter->": [Jt, [zt, Qt], (n, [t, i]) => {
2663
+ }], "filter->": [Gt, [zt, Xt], (n, [t, i]) => {
2664
2664
  const o = n.properties()[t.value], c = i.value;
2665
2665
  return typeof o == typeof c && o > c;
2666
- }], "filter-id->": [Jt, [Qt], (n, [t]) => {
2666
+ }], "filter-id->": [Gt, [Xt], (n, [t]) => {
2667
2667
  const i = n.id(), o = t.value;
2668
2668
  return typeof i == typeof o && i > o;
2669
- }], "filter-<=": [Jt, [zt, Qt], (n, [t, i]) => {
2669
+ }], "filter-<=": [Gt, [zt, Xt], (n, [t, i]) => {
2670
2670
  const o = n.properties()[t.value], c = i.value;
2671
2671
  return typeof o == typeof c && o <= c;
2672
- }], "filter-id-<=": [Jt, [Qt], (n, [t]) => {
2672
+ }], "filter-id-<=": [Gt, [Xt], (n, [t]) => {
2673
2673
  const i = n.id(), o = t.value;
2674
2674
  return typeof i == typeof o && i <= o;
2675
- }], "filter->=": [Jt, [zt, Qt], (n, [t, i]) => {
2675
+ }], "filter->=": [Gt, [zt, Xt], (n, [t, i]) => {
2676
2676
  const o = n.properties()[t.value], c = i.value;
2677
2677
  return typeof o == typeof c && o >= c;
2678
- }], "filter-id->=": [Jt, [Qt], (n, [t]) => {
2678
+ }], "filter-id->=": [Gt, [Xt], (n, [t]) => {
2679
2679
  const i = n.id(), o = t.value;
2680
2680
  return typeof i == typeof o && i >= o;
2681
- }], "filter-has": [Jt, [Qt], (n, [t]) => t.value in n.properties()], "filter-has-id": [Jt, [], (n) => n.id() !== null && n.id() !== void 0], "filter-type-in": [Jt, [Mi(zt)], (n, [t]) => t.value.indexOf(n.geometryType()) >= 0], "filter-id-in": [Jt, [Mi(Qt)], (n, [t]) => t.value.indexOf(n.id()) >= 0], "filter-in-small": [Jt, [zt, Mi(Qt)], (n, [t, i]) => i.value.indexOf(n.properties()[t.value]) >= 0], "filter-in-large": [Jt, [zt, Mi(Qt)], (n, [t, i]) => function(o, c, f, m) {
2681
+ }], "filter-has": [Gt, [Xt], (n, [t]) => t.value in n.properties()], "filter-has-id": [Gt, [], (n) => n.id() !== null && n.id() !== void 0], "filter-type-in": [Gt, [Mi(zt)], (n, [t]) => t.value.indexOf(n.geometryType()) >= 0], "filter-id-in": [Gt, [Mi(Xt)], (n, [t]) => t.value.indexOf(n.id()) >= 0], "filter-in-small": [Gt, [zt, Mi(Xt)], (n, [t, i]) => i.value.indexOf(n.properties()[t.value]) >= 0], "filter-in-large": [Gt, [zt, Mi(Xt)], (n, [t, i]) => function(o, c, f, m) {
2682
2682
  for (; f <= m; ) {
2683
2683
  const _ = f + m >> 1;
2684
2684
  if (c[_] === o) return !0;
2685
2685
  c[_] > o ? m = _ - 1 : f = _ + 1;
2686
2686
  }
2687
2687
  return !1;
2688
- }(n.properties()[t.value], i.value, 0, i.value.length - 1)], all: { type: Jt, overloads: [[[Jt, Jt], (n, [t, i]) => t.evaluate(n) && i.evaluate(n)], [Ds(Jt), (n, t) => {
2688
+ }(n.properties()[t.value], i.value, 0, i.value.length - 1)], all: { type: Gt, overloads: [[[Gt, Gt], (n, [t, i]) => t.evaluate(n) && i.evaluate(n)], [Ds(Gt), (n, t) => {
2689
2689
  for (const i of t) if (!i.evaluate(n)) return !1;
2690
2690
  return !0;
2691
- }]] }, any: { type: Jt, overloads: [[[Jt, Jt], (n, [t, i]) => t.evaluate(n) || i.evaluate(n)], [Ds(Jt), (n, t) => {
2691
+ }]] }, any: { type: Gt, overloads: [[[Gt, Gt], (n, [t, i]) => t.evaluate(n) || i.evaluate(n)], [Ds(Gt), (n, t) => {
2692
2692
  for (const i of t) if (i.evaluate(n)) return !0;
2693
2693
  return !1;
2694
- }]] }, "!": [Jt, [Jt], (n, [t]) => !t.evaluate(n)], "is-supported-script": [Jt, [zt], (n, [t]) => {
2694
+ }]] }, "!": [Gt, [Gt], (n, [t]) => !t.evaluate(n)], "is-supported-script": [Gt, [zt], (n, [t]) => {
2695
2695
  const i = n.globals && n.globals.isSupportedScript;
2696
2696
  return !i || i(t.evaluate(n));
2697
- }], upcase: [zt, [zt], (n, [t]) => t.evaluate(n).toUpperCase()], downcase: [zt, [zt], (n, [t]) => t.evaluate(n).toLowerCase()], concat: [zt, Ds(Qt), (n, t) => t.map((i) => dt(i.evaluate(n))).join("")], "resolved-locale": [zt, [Xi], (n, [t]) => t.evaluate(n).resolvedLocale()] });
2697
+ }], upcase: [zt, [zt], (n, [t]) => t.evaluate(n).toUpperCase()], downcase: [zt, [zt], (n, [t]) => t.evaluate(n).toLowerCase()], concat: [zt, Ds(Xt), (n, t) => t.map((i) => dt(i.evaluate(n))).join("")], "resolved-locale": [zt, [Xi], (n, [t]) => t.evaluate(n).resolvedLocale()] });
2698
2698
  class Oa {
2699
2699
  constructor(t, i) {
2700
2700
  this.expression = t, this._warningHistory = {}, this._evaluator = new Kn(), this._defaultValue = i ? function(o) {
@@ -2711,7 +2711,7 @@ function Hv() {
2711
2711
  case "variableAnchorOffsetCollection":
2712
2712
  return Qe.parse(o.default) || null;
2713
2713
  case "projectionDefinition":
2714
- return Be.parse(o.default) || null;
2714
+ return De.parse(o.default) || null;
2715
2715
  default:
2716
2716
  return o.default === void 0 ? null : o.default;
2717
2717
  }
@@ -2737,8 +2737,8 @@ function Hv() {
2737
2737
  }
2738
2738
  function Fa(n, t) {
2739
2739
  const i = new bn(Js, Ia, [], t ? function(c) {
2740
- const f = { color: Or, string: zt, number: Ye, enum: zt, boolean: Jt, formatted: As, padding: Mn, numberArray: Wi, colorArray: Un, projectionDefinition: Tr, resolvedImage: Ln, variableAnchorOffsetCollection: Nr };
2741
- return c.type === "array" ? Mi(f[c.value] || Qt, c.length) : f[c.type];
2740
+ const f = { color: Or, string: zt, number: Ye, enum: zt, boolean: Gt, formatted: As, padding: Mn, numberArray: Wi, colorArray: Un, projectionDefinition: Tr, resolvedImage: Ln, variableAnchorOffsetCollection: Nr };
2741
+ return c.type === "array" ? Mi(f[c.value] || Xt, c.length) : f[c.type];
2742
2742
  }(t) : void 0), o = i.parse(n, void 0, void 0, void 0, t && t.type === "string" ? { typeAnnotation: "coerce" } : void 0);
2743
2743
  return o ? Ra(new Oa(o, t)) : Xs(i.errors);
2744
2744
  }
@@ -3256,7 +3256,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
3256
3256
  const t = n.value, i = n.key, o = pi(n);
3257
3257
  return o.length || (t.indexOf("{fontstack}") === -1 && o.push(new je(i, t, '"glyphs" url must include a "{fontstack}" token')), t.indexOf("{range}") === -1 && o.push(new je(i, t, '"glyphs" url must include a "{range}" token'))), o;
3258
3258
  }
3259
- function Fi(n, t = Y) {
3259
+ function Fi(n, t = $) {
3260
3260
  let i = [];
3261
3261
  return i = i.concat(ro({ key: "", value: n, valueSpec: t.$root, styleSpec: t, style: n, validateSpec: ro, objectElementValidators: { glyphs: _u, "*": () => [] } })), n.constants && (i = i.concat(Fo({ key: "constants", value: n.constants }))), io(i);
3262
3262
  }
@@ -3548,7 +3548,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
3548
3548
  }
3549
3549
  {
3550
3550
  let f = o;
3551
- return c.type === "color" && typeof o == "string" ? f = qt.parse(o) : c.type !== "padding" || typeof o != "number" && !Array.isArray(o) ? c.type !== "numberArray" || typeof o != "number" && !Array.isArray(o) ? c.type !== "colorArray" || typeof o != "string" && !Array.isArray(o) ? c.type === "variableAnchorOffsetCollection" && Array.isArray(o) ? f = Qe.parse(o) : c.type === "projectionDefinition" && typeof o == "string" && (f = Be.parse(o)) : f = Ce.parse(o) : f = ve.parse(o) : f = pe.parse(o), { kind: "constant", evaluate: () => f };
3551
+ return c.type === "color" && typeof o == "string" ? f = qt.parse(o) : c.type !== "padding" || typeof o != "number" && !Array.isArray(o) ? c.type !== "numberArray" || typeof o != "number" && !Array.isArray(o) ? c.type !== "colorArray" || typeof o != "string" && !Array.isArray(o) ? c.type === "variableAnchorOffsetCollection" && Array.isArray(o) ? f = Qe.parse(o) : c.type === "projectionDefinition" && typeof o == "string" && (f = De.parse(o)) : f = Ce.parse(o) : f = ve.parse(o) : f = pe.parse(o), { kind: "constant", evaluate: () => f };
3552
3552
  }
3553
3553
  }(i === void 0 ? t.specification.default : i, t.specification);
3554
3554
  }
@@ -3846,7 +3846,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
3846
3846
  return this.visibility && (t.layout = t.layout || {}, t.layout.visibility = this.visibility), qn(t, (i, o) => !(i === void 0 || o === "layout" && !Object.keys(i).length || o === "paint" && !Object.keys(i).length));
3847
3847
  }
3848
3848
  _validate(t, i, o, c, f = {}) {
3849
- return (!f || f.validate !== !1) && Zl(this, t.call(no, { key: i, layerType: this.type, objectKey: o, value: c, styleSpec: Y, style: { glyphs: !0, sprite: !0 } }));
3849
+ return (!f || f.validate !== !1) && Zl(this, t.call(no, { key: i, layerType: this.type, objectKey: o, value: c, styleSpec: $, style: { glyphs: !0, sprite: !0 } }));
3850
3850
  }
3851
3851
  is3D() {
3852
3852
  return !1;
@@ -5114,9 +5114,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5114
5114
  let Jd, Xd;
5115
5115
  St("CircleBucket", dp, { omit: ["layers"] });
5116
5116
  var s_ = { get paint() {
5117
- return Xd = Xd || new ai({ "circle-radius": new Ft(Y.paint_circle["circle-radius"]), "circle-color": new Ft(Y.paint_circle["circle-color"]), "circle-blur": new Ft(Y.paint_circle["circle-blur"]), "circle-opacity": new Ft(Y.paint_circle["circle-opacity"]), "circle-translate": new It(Y.paint_circle["circle-translate"]), "circle-translate-anchor": new It(Y.paint_circle["circle-translate-anchor"]), "circle-pitch-scale": new It(Y.paint_circle["circle-pitch-scale"]), "circle-pitch-alignment": new It(Y.paint_circle["circle-pitch-alignment"]), "circle-stroke-width": new Ft(Y.paint_circle["circle-stroke-width"]), "circle-stroke-color": new Ft(Y.paint_circle["circle-stroke-color"]), "circle-stroke-opacity": new Ft(Y.paint_circle["circle-stroke-opacity"]) });
5117
+ return Xd = Xd || new ai({ "circle-radius": new Ft($.paint_circle["circle-radius"]), "circle-color": new Ft($.paint_circle["circle-color"]), "circle-blur": new Ft($.paint_circle["circle-blur"]), "circle-opacity": new Ft($.paint_circle["circle-opacity"]), "circle-translate": new It($.paint_circle["circle-translate"]), "circle-translate-anchor": new It($.paint_circle["circle-translate-anchor"]), "circle-pitch-scale": new It($.paint_circle["circle-pitch-scale"]), "circle-pitch-alignment": new It($.paint_circle["circle-pitch-alignment"]), "circle-stroke-width": new Ft($.paint_circle["circle-stroke-width"]), "circle-stroke-color": new Ft($.paint_circle["circle-stroke-color"]), "circle-stroke-opacity": new Ft($.paint_circle["circle-stroke-opacity"]) });
5118
5118
  }, get layout() {
5119
- return Jd = Jd || new ai({ "circle-sort-key": new Ft(Y.layout_circle["circle-sort-key"]) });
5119
+ return Jd = Jd || new ai({ "circle-sort-key": new Ft($.layout_circle["circle-sort-key"]) });
5120
5120
  } };
5121
5121
  class o_ extends pn {
5122
5122
  constructor(t) {
@@ -5151,7 +5151,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5151
5151
  let $d;
5152
5152
  St("HeatmapBucket", Yd, { omit: ["layers"] });
5153
5153
  var a_ = { get paint() {
5154
- return $d = $d || new ai({ "heatmap-radius": new Ft(Y.paint_heatmap["heatmap-radius"]), "heatmap-weight": new Ft(Y.paint_heatmap["heatmap-weight"]), "heatmap-intensity": new It(Y.paint_heatmap["heatmap-intensity"]), "heatmap-color": new Yl(Y.paint_heatmap["heatmap-color"]), "heatmap-opacity": new It(Y.paint_heatmap["heatmap-opacity"]) });
5154
+ return $d = $d || new ai({ "heatmap-radius": new Ft($.paint_heatmap["heatmap-radius"]), "heatmap-weight": new Ft($.paint_heatmap["heatmap-weight"]), "heatmap-intensity": new It($.paint_heatmap["heatmap-intensity"]), "heatmap-color": new Yl($.paint_heatmap["heatmap-color"]), "heatmap-opacity": new It($.paint_heatmap["heatmap-opacity"]) });
5155
5155
  } };
5156
5156
  function gp(n, { width: t, height: i }, o, c) {
5157
5157
  if (c) {
@@ -5253,7 +5253,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5253
5253
  }
5254
5254
  let rf;
5255
5255
  var c_ = { get paint() {
5256
- return rf = rf || new ai({ "hillshade-illumination-direction": new It(Y.paint_hillshade["hillshade-illumination-direction"]), "hillshade-illumination-altitude": new It(Y.paint_hillshade["hillshade-illumination-altitude"]), "hillshade-illumination-anchor": new It(Y.paint_hillshade["hillshade-illumination-anchor"]), "hillshade-exaggeration": new It(Y.paint_hillshade["hillshade-exaggeration"]), "hillshade-shadow-color": new It(Y.paint_hillshade["hillshade-shadow-color"]), "hillshade-highlight-color": new It(Y.paint_hillshade["hillshade-highlight-color"]), "hillshade-accent-color": new It(Y.paint_hillshade["hillshade-accent-color"]), "hillshade-method": new It(Y.paint_hillshade["hillshade-method"]) });
5256
+ return rf = rf || new ai({ "hillshade-illumination-direction": new It($.paint_hillshade["hillshade-illumination-direction"]), "hillshade-illumination-altitude": new It($.paint_hillshade["hillshade-illumination-altitude"]), "hillshade-illumination-anchor": new It($.paint_hillshade["hillshade-illumination-anchor"]), "hillshade-exaggeration": new It($.paint_hillshade["hillshade-exaggeration"]), "hillshade-shadow-color": new It($.paint_hillshade["hillshade-shadow-color"]), "hillshade-highlight-color": new It($.paint_hillshade["hillshade-highlight-color"]), "hillshade-accent-color": new It($.paint_hillshade["hillshade-accent-color"]), "hillshade-method": new It($.paint_hillshade["hillshade-method"]) });
5257
5257
  } };
5258
5258
  class u_ extends pn {
5259
5259
  constructor(t) {
@@ -5861,9 +5861,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5861
5861
  let hf, pf;
5862
5862
  St("FillBucket", Sp, { omit: ["layers", "patternFeatures"] });
5863
5863
  var A_ = { get paint() {
5864
- return pf = pf || new ai({ "fill-antialias": new It(Y.paint_fill["fill-antialias"]), "fill-opacity": new Ft(Y.paint_fill["fill-opacity"]), "fill-color": new Ft(Y.paint_fill["fill-color"]), "fill-outline-color": new Ft(Y.paint_fill["fill-outline-color"]), "fill-translate": new It(Y.paint_fill["fill-translate"]), "fill-translate-anchor": new It(Y.paint_fill["fill-translate-anchor"]), "fill-pattern": new Ho(Y.paint_fill["fill-pattern"]) });
5864
+ return pf = pf || new ai({ "fill-antialias": new It($.paint_fill["fill-antialias"]), "fill-opacity": new Ft($.paint_fill["fill-opacity"]), "fill-color": new Ft($.paint_fill["fill-color"]), "fill-outline-color": new Ft($.paint_fill["fill-outline-color"]), "fill-translate": new It($.paint_fill["fill-translate"]), "fill-translate-anchor": new It($.paint_fill["fill-translate-anchor"]), "fill-pattern": new Ho($.paint_fill["fill-pattern"]) });
5865
5865
  }, get layout() {
5866
- return hf = hf || new ai({ "fill-sort-key": new Ft(Y.layout_fill["fill-sort-key"]) });
5866
+ return hf = hf || new ai({ "fill-sort-key": new Ft($.layout_fill["fill-sort-key"]) });
5867
5867
  } };
5868
5868
  class k_ extends pn {
5869
5869
  constructor(t) {
@@ -6098,7 +6098,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6098
6098
  let bf;
6099
6099
  St("FillExtrusionBucket", Pp, { omit: ["layers", "features"] });
6100
6100
  var L_ = { get paint() {
6101
- return bf = bf || new ai({ "fill-extrusion-opacity": new It(Y["paint_fill-extrusion"]["fill-extrusion-opacity"]), "fill-extrusion-color": new Ft(Y["paint_fill-extrusion"]["fill-extrusion-color"]), "fill-extrusion-translate": new It(Y["paint_fill-extrusion"]["fill-extrusion-translate"]), "fill-extrusion-translate-anchor": new It(Y["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]), "fill-extrusion-pattern": new Ho(Y["paint_fill-extrusion"]["fill-extrusion-pattern"]), "fill-extrusion-height": new Ft(Y["paint_fill-extrusion"]["fill-extrusion-height"]), "fill-extrusion-base": new Ft(Y["paint_fill-extrusion"]["fill-extrusion-base"]), "fill-extrusion-vertical-gradient": new It(Y["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"]) });
6101
+ return bf = bf || new ai({ "fill-extrusion-opacity": new It($["paint_fill-extrusion"]["fill-extrusion-opacity"]), "fill-extrusion-color": new Ft($["paint_fill-extrusion"]["fill-extrusion-color"]), "fill-extrusion-translate": new It($["paint_fill-extrusion"]["fill-extrusion-translate"]), "fill-extrusion-translate-anchor": new It($["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]), "fill-extrusion-pattern": new Ho($["paint_fill-extrusion"]["fill-extrusion-pattern"]), "fill-extrusion-height": new Ft($["paint_fill-extrusion"]["fill-extrusion-height"]), "fill-extrusion-base": new Ft($["paint_fill-extrusion"]["fill-extrusion-base"]), "fill-extrusion-vertical-gradient": new It($["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"]) });
6102
6102
  } };
6103
6103
  class R_ extends pn {
6104
6104
  constructor(t) {
@@ -6311,9 +6311,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6311
6311
  let Af, kf;
6312
6312
  St("LineBucket", Ep, { omit: ["layers", "patternFeatures"] });
6313
6313
  var Tf = { get paint() {
6314
- return kf = kf || new ai({ "line-opacity": new Ft(Y.paint_line["line-opacity"]), "line-color": new Ft(Y.paint_line["line-color"]), "line-translate": new It(Y.paint_line["line-translate"]), "line-translate-anchor": new It(Y.paint_line["line-translate-anchor"]), "line-width": new Ft(Y.paint_line["line-width"]), "line-gap-width": new Ft(Y.paint_line["line-gap-width"]), "line-offset": new Ft(Y.paint_line["line-offset"]), "line-blur": new Ft(Y.paint_line["line-blur"]), "line-dasharray": new Ql(Y.paint_line["line-dasharray"]), "line-pattern": new Ho(Y.paint_line["line-pattern"]), "line-gradient": new Yl(Y.paint_line["line-gradient"]) });
6314
+ return kf = kf || new ai({ "line-opacity": new Ft($.paint_line["line-opacity"]), "line-color": new Ft($.paint_line["line-color"]), "line-translate": new It($.paint_line["line-translate"]), "line-translate-anchor": new It($.paint_line["line-translate-anchor"]), "line-width": new Ft($.paint_line["line-width"]), "line-gap-width": new Ft($.paint_line["line-gap-width"]), "line-offset": new Ft($.paint_line["line-offset"]), "line-blur": new Ft($.paint_line["line-blur"]), "line-dasharray": new Ql($.paint_line["line-dasharray"]), "line-pattern": new Ho($.paint_line["line-pattern"]), "line-gradient": new Yl($.paint_line["line-gradient"]) });
6315
6315
  }, get layout() {
6316
- return Af = Af || new ai({ "line-cap": new It(Y.layout_line["line-cap"]), "line-join": new Ft(Y.layout_line["line-join"]), "line-miter-limit": new It(Y.layout_line["line-miter-limit"]), "line-round-limit": new It(Y.layout_line["line-round-limit"]), "line-sort-key": new Ft(Y.layout_line["line-sort-key"]) });
6316
+ return Af = Af || new ai({ "line-cap": new It($.layout_line["line-cap"]), "line-join": new Ft($.layout_line["line-join"]), "line-miter-limit": new It($.layout_line["line-miter-limit"]), "line-round-limit": new It($.layout_line["line-round-limit"]), "line-sort-key": new Ft($.layout_line["line-sort-key"]) });
6317
6317
  } };
6318
6318
  class q_ extends Ft {
6319
6319
  possiblyEvaluate(t, i) {
@@ -7383,9 +7383,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7383
7383
  let Nf, jf;
7384
7384
  St("SymbolBucket", sl, { omit: ["layers", "collisionBoxArray", "features", "compareText"] }), sl.MAX_GLYPHS = 65535, sl.addDynamicAttributes = Fp;
7385
7385
  var Up = { get paint() {
7386
- return jf = jf || new ai({ "icon-opacity": new Ft(Y.paint_symbol["icon-opacity"]), "icon-color": new Ft(Y.paint_symbol["icon-color"]), "icon-halo-color": new Ft(Y.paint_symbol["icon-halo-color"]), "icon-halo-width": new Ft(Y.paint_symbol["icon-halo-width"]), "icon-halo-blur": new Ft(Y.paint_symbol["icon-halo-blur"]), "icon-translate": new It(Y.paint_symbol["icon-translate"]), "icon-translate-anchor": new It(Y.paint_symbol["icon-translate-anchor"]), "text-opacity": new Ft(Y.paint_symbol["text-opacity"]), "text-color": new Ft(Y.paint_symbol["text-color"], { runtimeType: Or, getOverride: (n) => n.textColor, hasOverride: (n) => !!n.textColor }), "text-halo-color": new Ft(Y.paint_symbol["text-halo-color"]), "text-halo-width": new Ft(Y.paint_symbol["text-halo-width"]), "text-halo-blur": new Ft(Y.paint_symbol["text-halo-blur"]), "text-translate": new It(Y.paint_symbol["text-translate"]), "text-translate-anchor": new It(Y.paint_symbol["text-translate-anchor"]) });
7386
+ return jf = jf || new ai({ "icon-opacity": new Ft($.paint_symbol["icon-opacity"]), "icon-color": new Ft($.paint_symbol["icon-color"]), "icon-halo-color": new Ft($.paint_symbol["icon-halo-color"]), "icon-halo-width": new Ft($.paint_symbol["icon-halo-width"]), "icon-halo-blur": new Ft($.paint_symbol["icon-halo-blur"]), "icon-translate": new It($.paint_symbol["icon-translate"]), "icon-translate-anchor": new It($.paint_symbol["icon-translate-anchor"]), "text-opacity": new Ft($.paint_symbol["text-opacity"]), "text-color": new Ft($.paint_symbol["text-color"], { runtimeType: Or, getOverride: (n) => n.textColor, hasOverride: (n) => !!n.textColor }), "text-halo-color": new Ft($.paint_symbol["text-halo-color"]), "text-halo-width": new Ft($.paint_symbol["text-halo-width"]), "text-halo-blur": new Ft($.paint_symbol["text-halo-blur"]), "text-translate": new It($.paint_symbol["text-translate"]), "text-translate-anchor": new It($.paint_symbol["text-translate-anchor"]) });
7387
7387
  }, get layout() {
7388
- return Nf = Nf || new ai({ "symbol-placement": new It(Y.layout_symbol["symbol-placement"]), "symbol-spacing": new It(Y.layout_symbol["symbol-spacing"]), "symbol-avoid-edges": new It(Y.layout_symbol["symbol-avoid-edges"]), "symbol-sort-key": new Ft(Y.layout_symbol["symbol-sort-key"]), "symbol-z-order": new It(Y.layout_symbol["symbol-z-order"]), "icon-allow-overlap": new It(Y.layout_symbol["icon-allow-overlap"]), "icon-overlap": new It(Y.layout_symbol["icon-overlap"]), "icon-ignore-placement": new It(Y.layout_symbol["icon-ignore-placement"]), "icon-optional": new It(Y.layout_symbol["icon-optional"]), "icon-rotation-alignment": new It(Y.layout_symbol["icon-rotation-alignment"]), "icon-size": new Ft(Y.layout_symbol["icon-size"]), "icon-text-fit": new It(Y.layout_symbol["icon-text-fit"]), "icon-text-fit-padding": new It(Y.layout_symbol["icon-text-fit-padding"]), "icon-image": new Ft(Y.layout_symbol["icon-image"]), "icon-rotate": new Ft(Y.layout_symbol["icon-rotate"]), "icon-padding": new Ft(Y.layout_symbol["icon-padding"]), "icon-keep-upright": new It(Y.layout_symbol["icon-keep-upright"]), "icon-offset": new Ft(Y.layout_symbol["icon-offset"]), "icon-anchor": new Ft(Y.layout_symbol["icon-anchor"]), "icon-pitch-alignment": new It(Y.layout_symbol["icon-pitch-alignment"]), "text-pitch-alignment": new It(Y.layout_symbol["text-pitch-alignment"]), "text-rotation-alignment": new It(Y.layout_symbol["text-rotation-alignment"]), "text-field": new Ft(Y.layout_symbol["text-field"]), "text-font": new Ft(Y.layout_symbol["text-font"]), "text-size": new Ft(Y.layout_symbol["text-size"]), "text-max-width": new Ft(Y.layout_symbol["text-max-width"]), "text-line-height": new It(Y.layout_symbol["text-line-height"]), "text-letter-spacing": new Ft(Y.layout_symbol["text-letter-spacing"]), "text-justify": new Ft(Y.layout_symbol["text-justify"]), "text-radial-offset": new Ft(Y.layout_symbol["text-radial-offset"]), "text-variable-anchor": new It(Y.layout_symbol["text-variable-anchor"]), "text-variable-anchor-offset": new Ft(Y.layout_symbol["text-variable-anchor-offset"]), "text-anchor": new Ft(Y.layout_symbol["text-anchor"]), "text-max-angle": new It(Y.layout_symbol["text-max-angle"]), "text-writing-mode": new It(Y.layout_symbol["text-writing-mode"]), "text-rotate": new Ft(Y.layout_symbol["text-rotate"]), "text-padding": new It(Y.layout_symbol["text-padding"]), "text-keep-upright": new It(Y.layout_symbol["text-keep-upright"]), "text-transform": new Ft(Y.layout_symbol["text-transform"]), "text-offset": new Ft(Y.layout_symbol["text-offset"]), "text-allow-overlap": new It(Y.layout_symbol["text-allow-overlap"]), "text-overlap": new It(Y.layout_symbol["text-overlap"]), "text-ignore-placement": new It(Y.layout_symbol["text-ignore-placement"]), "text-optional": new It(Y.layout_symbol["text-optional"]) });
7388
+ return Nf = Nf || new ai({ "symbol-placement": new It($.layout_symbol["symbol-placement"]), "symbol-spacing": new It($.layout_symbol["symbol-spacing"]), "symbol-avoid-edges": new It($.layout_symbol["symbol-avoid-edges"]), "symbol-sort-key": new Ft($.layout_symbol["symbol-sort-key"]), "symbol-z-order": new It($.layout_symbol["symbol-z-order"]), "icon-allow-overlap": new It($.layout_symbol["icon-allow-overlap"]), "icon-overlap": new It($.layout_symbol["icon-overlap"]), "icon-ignore-placement": new It($.layout_symbol["icon-ignore-placement"]), "icon-optional": new It($.layout_symbol["icon-optional"]), "icon-rotation-alignment": new It($.layout_symbol["icon-rotation-alignment"]), "icon-size": new Ft($.layout_symbol["icon-size"]), "icon-text-fit": new It($.layout_symbol["icon-text-fit"]), "icon-text-fit-padding": new It($.layout_symbol["icon-text-fit-padding"]), "icon-image": new Ft($.layout_symbol["icon-image"]), "icon-rotate": new Ft($.layout_symbol["icon-rotate"]), "icon-padding": new Ft($.layout_symbol["icon-padding"]), "icon-keep-upright": new It($.layout_symbol["icon-keep-upright"]), "icon-offset": new Ft($.layout_symbol["icon-offset"]), "icon-anchor": new Ft($.layout_symbol["icon-anchor"]), "icon-pitch-alignment": new It($.layout_symbol["icon-pitch-alignment"]), "text-pitch-alignment": new It($.layout_symbol["text-pitch-alignment"]), "text-rotation-alignment": new It($.layout_symbol["text-rotation-alignment"]), "text-field": new Ft($.layout_symbol["text-field"]), "text-font": new Ft($.layout_symbol["text-font"]), "text-size": new Ft($.layout_symbol["text-size"]), "text-max-width": new Ft($.layout_symbol["text-max-width"]), "text-line-height": new It($.layout_symbol["text-line-height"]), "text-letter-spacing": new Ft($.layout_symbol["text-letter-spacing"]), "text-justify": new Ft($.layout_symbol["text-justify"]), "text-radial-offset": new Ft($.layout_symbol["text-radial-offset"]), "text-variable-anchor": new It($.layout_symbol["text-variable-anchor"]), "text-variable-anchor-offset": new Ft($.layout_symbol["text-variable-anchor-offset"]), "text-anchor": new Ft($.layout_symbol["text-anchor"]), "text-max-angle": new It($.layout_symbol["text-max-angle"]), "text-writing-mode": new It($.layout_symbol["text-writing-mode"]), "text-rotate": new Ft($.layout_symbol["text-rotate"]), "text-padding": new It($.layout_symbol["text-padding"]), "text-keep-upright": new It($.layout_symbol["text-keep-upright"]), "text-transform": new Ft($.layout_symbol["text-transform"]), "text-offset": new Ft($.layout_symbol["text-offset"]), "text-allow-overlap": new It($.layout_symbol["text-allow-overlap"]), "text-overlap": new It($.layout_symbol["text-overlap"]), "text-ignore-placement": new It($.layout_symbol["text-ignore-placement"]), "text-optional": new It($.layout_symbol["text-optional"]) });
7389
7389
  } };
7390
7390
  class Hf {
7391
7391
  constructor(t) {
@@ -7469,7 +7469,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7469
7469
  }
7470
7470
  let Wf;
7471
7471
  var uv = { get paint() {
7472
- return Wf = Wf || new ai({ "background-color": new It(Y.paint_background["background-color"]), "background-pattern": new Ql(Y.paint_background["background-pattern"]), "background-opacity": new It(Y.paint_background["background-opacity"]) });
7472
+ return Wf = Wf || new ai({ "background-color": new It($.paint_background["background-color"]), "background-pattern": new Ql($.paint_background["background-pattern"]), "background-opacity": new It($.paint_background["background-opacity"]) });
7473
7473
  } };
7474
7474
  class hv extends pn {
7475
7475
  constructor(t) {
@@ -7478,7 +7478,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7478
7478
  }
7479
7479
  let Zf;
7480
7480
  var pv = { get paint() {
7481
- return Zf = Zf || new ai({ "raster-opacity": new It(Y.paint_raster["raster-opacity"]), "raster-hue-rotate": new It(Y.paint_raster["raster-hue-rotate"]), "raster-brightness-min": new It(Y.paint_raster["raster-brightness-min"]), "raster-brightness-max": new It(Y.paint_raster["raster-brightness-max"]), "raster-saturation": new It(Y.paint_raster["raster-saturation"]), "raster-contrast": new It(Y.paint_raster["raster-contrast"]), "raster-resampling": new It(Y.paint_raster["raster-resampling"]), "raster-fade-duration": new It(Y.paint_raster["raster-fade-duration"]) });
7481
+ return Zf = Zf || new ai({ "raster-opacity": new It($.paint_raster["raster-opacity"]), "raster-hue-rotate": new It($.paint_raster["raster-hue-rotate"]), "raster-brightness-min": new It($.paint_raster["raster-brightness-min"]), "raster-brightness-max": new It($.paint_raster["raster-brightness-max"]), "raster-saturation": new It($.paint_raster["raster-saturation"]), "raster-contrast": new It($.paint_raster["raster-contrast"]), "raster-resampling": new It($.paint_raster["raster-resampling"]), "raster-fade-duration": new It($.paint_raster["raster-fade-duration"]) });
7482
7482
  } };
7483
7483
  class dv extends pn {
7484
7484
  constructor(t) {
@@ -8449,11 +8449,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8449
8449
  return { loadTime: n, fullLoadTime: t, fps: o, percentDroppedFrames: c / (i + c) * 100, totalFrames: i };
8450
8450
  } };
8451
8451
  v.$ = vc, v.A = ze, v.B = zn, v.C = Fr, v.D = It, v.E = be, v.F = sp, v.G = function(n) {
8452
- if (Gt == null) {
8452
+ if (Kt == null) {
8453
8453
  const t = n.navigator ? n.navigator.userAgent : null;
8454
- Gt = !!n.safari || !(!t || !(/\b(iPad|iPhone|iPod)\b/.test(t) || t.match("Safari") && !t.match("Chrome")));
8454
+ Kt = !!n.safari || !(!t || !(/\b(iPad|iPhone|iPod)\b/.test(t) || t.match("Safari") && !t.match("Chrome")));
8455
8455
  }
8456
- return Gt;
8456
+ return Kt;
8457
8457
  }, v.H = class {
8458
8458
  constructor(n, t) {
8459
8459
  this.target = n, this.mapId = t, this.resolveRejects = {}, this.tasks = {}, this.taskQueue = [], this.abortControllers = {}, this.messageHandlers = {}, this.invoker = new mv(() => this.process()), this.subscription = Pi(this.target, "message", (i) => this.receive(i), !1), this.globalScope = Vt(self) ? n : window;
@@ -8808,7 +8808,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8808
8808
  var o = t[0], c = t[1], f = t[2], m = i[3] * o + i[7] * c + i[11] * f + i[15];
8809
8809
  return n[0] = (i[0] * o + i[4] * c + i[8] * f + i[12]) / (m = m || 1), n[1] = (i[1] * o + i[5] * c + i[9] * f + i[13]) / m, n[2] = (i[2] * o + i[6] * c + i[10] * f + i[14]) / m, n;
8810
8810
  }, v.b_ = class extends Os {
8811
- }, v.ba = hc, v.bb = rl, v.bc = an, v.bd = Wr, v.be = Be, v.bf = function(n, t, i, o, c) {
8811
+ }, v.ba = hc, v.bb = rl, v.bc = an, v.bd = Wr, v.be = De, v.bf = function(n, t, i, o, c) {
8812
8812
  return an(o, c, ri((n - t) / (i - t), 0, 1));
8813
8813
  }, v.bg = Hr, v.bh = function() {
8814
8814
  return new Float64Array(3);
@@ -8844,9 +8844,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8844
8844
  const i = Hr(n, 2 * Math.PI), o = Hr(t, 2 * Math.PI);
8845
8845
  return Math.min(Math.abs(i - o), Math.abs(i - o + 2 * Math.PI), Math.abs(i - o - 2 * Math.PI));
8846
8846
  }, v.bw = function() {
8847
- const n = {}, t = Y.$version;
8848
- for (const i in Y.$root) {
8849
- const o = Y.$root[i];
8847
+ const n = {}, t = $.$version;
8848
+ for (const i in $.$root) {
8849
+ const o = $.$root[i];
8850
8850
  if (o.required) {
8851
8851
  let c = null;
8852
8852
  c = i === "version" ? t : o.type === "array" ? [] : {}, c != null && (n[i] = c);
@@ -8994,7 +8994,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8994
8994
  o.src = n.byteLength ? URL.createObjectURL(c) : xr;
8995
8995
  }), v.i = Vt, v.j = (n, t) => At(hi(n, { type: "json" }), t), v.k = he, v.l = ee, v.m = At, v.n = (n, t) => At(hi(n, { type: "arrayBuffer" }), t), v.o = function(n) {
8996
8996
  return new Lp(n).readFields(G_, []);
8997
- }, v.p = Lf, v.q = oc, v.r = ai, v.s = Pi, v.t = Wa, v.u = ir, v.v = Y, v.w = wt, v.x = Zl, v.y = no, v.z = function([n, t, i]) {
8997
+ }, v.p = Lf, v.q = oc, v.r = ai, v.s = Pi, v.t = Wa, v.u = ir, v.v = $, v.w = wt, v.x = Zl, v.y = no, v.z = function([n, t, i]) {
8998
8998
  return t += 90, t *= Math.PI / 180, i *= Math.PI / 180, { x: n * Math.cos(t) * Math.sin(i), y: n * Math.sin(t) * Math.sin(i), z: n * Math.cos(i) };
8999
8999
  };
9000
9000
  }), A("worker", ["./shared"], function(v) {
@@ -9015,12 +9015,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9015
9015
  this.familiesBySource = {};
9016
9016
  const ee = v.ct(Object.values(this._layerConfigs), this.keyCache);
9017
9017
  for (const he of ee) {
9018
- const be = he.map((Ee) => this._layers[Ee.id]), Y = be[0];
9019
- if (Y.visibility === "none") continue;
9020
- const Me = Y.source || "";
9018
+ const be = he.map((Ee) => this._layers[Ee.id]), $ = be[0];
9019
+ if ($.visibility === "none") continue;
9020
+ const Me = $.source || "";
9021
9021
  let Te = this.familiesBySource[Me];
9022
9022
  Te || (Te = this.familiesBySource[Me] = {});
9023
- const Ie = Y.sourceLayer || "_geojsonTileLayer";
9023
+ const Ie = $.sourceLayer || "_geojsonTileLayer";
9024
9024
  let Fe = Te[Ie];
9025
9025
  Fe || (Fe = Te[Ie] = []), Fe.push(be);
9026
9026
  }
@@ -9038,17 +9038,17 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9038
9038
  ee.push($e), Ie[Fe] = { rect: $e, metrics: Ee.metrics };
9039
9039
  }
9040
9040
  }
9041
- const { w: he, h: be } = v.p(ee), Y = new v.q({ width: he || 1, height: be || 1 });
9041
+ const { w: he, h: be } = v.p(ee), $ = new v.q({ width: he || 1, height: be || 1 });
9042
9042
  for (const Me in Z) {
9043
9043
  const Te = Z[Me];
9044
9044
  for (const Ie in Te) {
9045
9045
  const Fe = Te[+Ie];
9046
9046
  if (!Fe || Fe.bitmap.width === 0 || Fe.bitmap.height === 0) continue;
9047
9047
  const Ee = X[Me][Ie].rect;
9048
- v.q.copy(Fe.bitmap, Y, { x: 0, y: 0 }, { x: Ee.x + 1, y: Ee.y + 1 }, Fe.bitmap);
9048
+ v.q.copy(Fe.bitmap, $, { x: 0, y: 0 }, { x: Ee.x + 1, y: Ee.y + 1 }, Fe.bitmap);
9049
9049
  }
9050
9050
  }
9051
- this.image = Y, this.positions = X;
9051
+ this.image = $, this.positions = X;
9052
9052
  }
9053
9053
  }
9054
9054
  v.cu("GlyphAtlas", D);
@@ -9059,21 +9059,21 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9059
9059
  parse(Z, X, ee, he, be) {
9060
9060
  return v._(this, void 0, void 0, function* () {
9061
9061
  this.status = "parsing", this.data = Z, this.collisionBoxArray = new v.a5();
9062
- const Y = new v.cv(Object.keys(Z.layers).sort()), Me = new v.cw(this.tileID, this.promoteId);
9062
+ const $ = new v.cv(Object.keys(Z.layers).sort()), Me = new v.cw(this.tileID, this.promoteId);
9063
9063
  Me.bucketLayerIDs = [];
9064
9064
  const Te = {}, Ie = { featureIndex: Me, iconDependencies: {}, patternDependencies: {}, glyphDependencies: {}, availableImages: ee, subdivisionGranularity: be }, Fe = X.familiesBySource[this.source];
9065
9065
  for (const Ot in Fe) {
9066
9066
  const Ye = Z.layers[Ot];
9067
9067
  if (!Ye) continue;
9068
9068
  Ye.version === 1 && v.w(`Vector tile source "${this.source}" layer "${Ot}" does not use vector tile spec v2 and therefore may have some rendering errors.`);
9069
- const zt = Y.encode(Ot), Jt = [];
9069
+ const zt = $.encode(Ot), Gt = [];
9070
9070
  for (let Or = 0; Or < Ye.length; Or++) {
9071
9071
  const Tr = Ye.feature(Or), Ii = Me.getId(Tr, Ot);
9072
- Jt.push({ feature: Tr, id: Ii, index: Or, sourceLayerIndex: zt });
9072
+ Gt.push({ feature: Tr, id: Ii, index: Or, sourceLayerIndex: zt });
9073
9073
  }
9074
9074
  for (const Or of Fe[Ot]) {
9075
9075
  const Tr = Or[0];
9076
- Tr.source !== this.source && v.w(`layer.source = ${Tr.source} does not equal this.source = ${this.source}`), Tr.minzoom && this.zoom < Math.floor(Tr.minzoom) || Tr.maxzoom && this.zoom >= Tr.maxzoom || Tr.visibility !== "none" && (M(Or, this.zoom, ee), (Te[Tr.id] = Tr.createBucket({ index: Me.bucketLayerIDs.length, layers: Or, zoom: this.zoom, pixelRatio: this.pixelRatio, overscaling: this.overscaling, collisionBoxArray: this.collisionBoxArray, sourceLayerIndex: zt, sourceID: this.source })).populate(Jt, Ie, this.tileID.canonical), Me.bucketLayerIDs.push(Or.map((Ii) => Ii.id)));
9076
+ Tr.source !== this.source && v.w(`layer.source = ${Tr.source} does not equal this.source = ${this.source}`), Tr.minzoom && this.zoom < Math.floor(Tr.minzoom) || Tr.maxzoom && this.zoom >= Tr.maxzoom || Tr.visibility !== "none" && (M(Or, this.zoom, ee), (Te[Tr.id] = Tr.createBucket({ index: Me.bucketLayerIDs.length, layers: Or, zoom: this.zoom, pixelRatio: this.pixelRatio, overscaling: this.overscaling, collisionBoxArray: this.collisionBoxArray, sourceLayerIndex: zt, sourceID: this.source })).populate(Gt, Ie, this.tileID.canonical), Me.bucketLayerIDs.push(Or.map((Ii) => Ii.id)));
9077
9077
  }
9078
9078
  }
9079
9079
  const Ee = v.bF(Ie.glyphDependencies, (Ot) => Object.keys(Ot).map(Number));
@@ -9119,8 +9119,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9119
9119
  return { vectorTile: new v.cC.VectorTile(new v.cD(ee.data)), rawData: ee.data, cacheControl: ee.cacheControl, expires: ee.expires };
9120
9120
  } catch (he) {
9121
9121
  const be = new Uint8Array(ee.data);
9122
- let Y = `Unable to parse the tile at ${Z.request.url}, `;
9123
- throw Y += be[0] === 31 && be[1] === 139 ? "please make sure the data is not gzipped and that you have configured the relevant header in the server" : `got error: ${he.message}`, new Error(Y);
9122
+ let $ = `Unable to parse the tile at ${Z.request.url}, `;
9123
+ throw $ += be[0] === 31 && be[1] === 139 ? "please make sure the data is not gzipped and that you have configured the relevant header in the server" : `got error: ${he.message}`, new Error($);
9124
9124
  }
9125
9125
  });
9126
9126
  }
@@ -9131,17 +9131,17 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9131
9131
  const be = new AbortController();
9132
9132
  he.abort = be;
9133
9133
  try {
9134
- const Y = yield this.loadVectorTile(Z, be);
9135
- if (delete this.loading[X], !Y) return null;
9136
- const Me = Y.rawData, Te = {};
9137
- Y.expires && (Te.expires = Y.expires), Y.cacheControl && (Te.cacheControl = Y.cacheControl);
9134
+ const $ = yield this.loadVectorTile(Z, be);
9135
+ if (delete this.loading[X], !$) return null;
9136
+ const Me = $.rawData, Te = {};
9137
+ $.expires && (Te.expires = $.expires), $.cacheControl && (Te.cacheControl = $.cacheControl);
9138
9138
  const Ie = {};
9139
9139
  if (ee) {
9140
9140
  const Ee = ee.finish();
9141
9141
  Ee && (Ie.resourceTiming = JSON.parse(JSON.stringify(Ee)));
9142
9142
  }
9143
- he.vectorTile = Y.vectorTile;
9144
- const Fe = he.parse(Y.vectorTile, this.layerIndex, this.availableImages, this.actor, Z.subdivisionGranularity);
9143
+ he.vectorTile = $.vectorTile;
9144
+ const Fe = he.parse($.vectorTile, this.layerIndex, this.availableImages, this.actor, Z.subdivisionGranularity);
9145
9145
  this.loaded[X] = he, this.fetching[X] = { rawTileData: Me, cacheControl: Te, resourceTiming: Ie };
9146
9146
  try {
9147
9147
  const Ee = yield Fe;
@@ -9149,8 +9149,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9149
9149
  } finally {
9150
9150
  delete this.fetching[X];
9151
9151
  }
9152
- } catch (Y) {
9153
- throw delete this.loading[X], he.status = "done", this.loaded[X] = he, Y;
9152
+ } catch ($) {
9153
+ throw delete this.loading[X], he.status = "done", this.loaded[X] = he, $;
9154
9154
  }
9155
9155
  });
9156
9156
  }
@@ -9163,8 +9163,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9163
9163
  const he = yield ee.parse(ee.vectorTile, this.layerIndex, this.availableImages, this.actor, Z.subdivisionGranularity);
9164
9164
  let be;
9165
9165
  if (this.fetching[X]) {
9166
- const { rawTileData: Y, cacheControl: Me, resourceTiming: Te } = this.fetching[X];
9167
- delete this.fetching[X], be = v.e({ rawTileData: Y.slice(0) }, he, Me, Te);
9166
+ const { rawTileData: $, cacheControl: Me, resourceTiming: Te } = this.fetching[X];
9167
+ delete this.fetching[X], be = v.e({ rawTileData: $.slice(0) }, he, Me, Te);
9168
9168
  } else be = he;
9169
9169
  return be;
9170
9170
  }
@@ -9189,7 +9189,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9189
9189
  }
9190
9190
  loadTile(Z) {
9191
9191
  return v._(this, void 0, void 0, function* () {
9192
- const { uid: X, encoding: ee, rawImageData: he, redFactor: be, greenFactor: Y, blueFactor: Me, baseShift: Te } = Z, Ie = he.width + 2, Fe = he.height + 2, Ee = v.b(he) ? new v.R({ width: Ie, height: Fe }, yield v.cF(he, -1, -1, Ie, Fe)) : he, $e = new v.cG(X, Ee, ee, be, Y, Me, Te);
9192
+ const { uid: X, encoding: ee, rawImageData: he, redFactor: be, greenFactor: $, blueFactor: Me, baseShift: Te } = Z, Ie = he.width + 2, Fe = he.height + 2, Ee = v.b(he) ? new v.R({ width: Ie, height: Fe }, yield v.cF(he, -1, -1, Ie, Fe)) : he, $e = new v.cG(X, Ee, ee, be, $, Me, Te);
9193
9193
  return this.loaded = this.loaded || {}, this.loaded[X] = $e, $e;
9194
9194
  });
9195
9195
  }
@@ -9207,19 +9207,19 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9207
9207
  }
9208
9208
  }
9209
9209
  function Z(X, ee) {
9210
- for (var he = 0, be = 0, Y = 0, Me = X.length, Te = Me - 1; Y < Me; Te = Y++) {
9211
- var Ie = (X[Y][0] - X[Te][0]) * (X[Te][1] + X[Y][1]), Fe = he + Ie;
9210
+ for (var he = 0, be = 0, $ = 0, Me = X.length, Te = Me - 1; $ < Me; Te = $++) {
9211
+ var Ie = (X[$][0] - X[Te][0]) * (X[Te][1] + X[$][1]), Fe = he + Ie;
9212
9212
  be += Math.abs(he) >= Math.abs(Ie) ? he - Fe + Ie : Ie - Fe + he, he = Fe;
9213
9213
  }
9214
9214
  he + be >= 0 != !!ee && X.reverse();
9215
9215
  }
9216
9216
  return k = 1, T = function X(ee, he) {
9217
- var be, Y = ee && ee.type;
9218
- if (Y === "FeatureCollection") for (be = 0; be < ee.features.length; be++) X(ee.features[be], he);
9219
- else if (Y === "GeometryCollection") for (be = 0; be < ee.geometries.length; be++) X(ee.geometries[be], he);
9220
- else if (Y === "Feature") X(ee.geometry, he);
9221
- else if (Y === "Polygon") Ae(ee.coordinates, he);
9222
- else if (Y === "MultiPolygon") for (be = 0; be < ee.coordinates.length; be++) Ae(ee.coordinates[be], he);
9217
+ var be, $ = ee && ee.type;
9218
+ if ($ === "FeatureCollection") for (be = 0; be < ee.features.length; be++) X(ee.features[be], he);
9219
+ else if ($ === "GeometryCollection") for (be = 0; be < ee.geometries.length; be++) X(ee.geometries[be], he);
9220
+ else if ($ === "Feature") X(ee.geometry, he);
9221
+ else if ($ === "Polygon") Ae(ee.coordinates, he);
9222
+ else if ($ === "MultiPolygon") for (be = 0; be < ee.coordinates.length; be++) Ae(ee.coordinates[be], he);
9223
9223
  return ee;
9224
9224
  };
9225
9225
  }(), K = v.cH(V);
@@ -9321,7 +9321,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9321
9321
  }
9322
9322
  }
9323
9323
  }
9324
- function Y(Fe, Ee) {
9324
+ function $(Fe, Ee) {
9325
9325
  return (Ee << 3) + (7 & Fe);
9326
9326
  }
9327
9327
  function Me(Fe) {
@@ -9330,13 +9330,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9330
9330
  function Te(Fe, Ee) {
9331
9331
  for (var $e = Fe.loadGeometry(), pt = Fe.type, vt = 0, Mt = 0, Zt = $e.length, Bt = 0; Bt < Zt; Bt++) {
9332
9332
  var je = $e[Bt], fr = 1;
9333
- pt === 1 && (fr = je.length), Ee.writeVarint(Y(1, fr));
9333
+ pt === 1 && (fr = je.length), Ee.writeVarint($(1, fr));
9334
9334
  for (var tr = pt === 3 ? je.length - 1 : je.length, hr = 0; hr < tr; hr++) {
9335
- hr === 1 && pt !== 1 && Ee.writeVarint(Y(2, tr - 1));
9335
+ hr === 1 && pt !== 1 && Ee.writeVarint($(2, tr - 1));
9336
9336
  var Ot = je[hr].x - vt, Ye = je[hr].y - Mt;
9337
9337
  Ee.writeVarint(Me(Ot)), Ee.writeVarint(Me(Ye)), vt += Ot, Mt += Ye;
9338
9338
  }
9339
- pt === 3 && Ee.writeVarint(Y(7, 1));
9339
+ pt === 3 && Ee.writeVarint($(7, 1));
9340
9340
  }
9341
9341
  }
9342
9342
  function Ie(Fe, Ee) {
@@ -9362,14 +9362,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9362
9362
  X && console.time("total time");
9363
9363
  const be = `prepare ${Z.length} points`;
9364
9364
  X && console.time(be), this.points = Z;
9365
- const Y = [];
9365
+ const $ = [];
9366
9366
  for (let Te = 0; Te < Z.length; Te++) {
9367
9367
  const Ie = Z[Te];
9368
9368
  if (!Ie.geometry) continue;
9369
9369
  const [Fe, Ee] = Ie.geometry.coordinates, $e = ut(on(Fe)), pt = ut(Hr(Ee));
9370
- Y.push($e, pt, 1 / 0, Te, -1, 1), this.options.reduce && Y.push(0);
9370
+ $.push($e, pt, 1 / 0, Te, -1, 1), this.options.reduce && $.push(0);
9371
9371
  }
9372
- let Me = this.trees[he + 1] = this._createTree(Y);
9372
+ let Me = this.trees[he + 1] = this._createTree($);
9373
9373
  X && console.timeEnd(be);
9374
9374
  for (let Te = he; Te >= ee; Te--) {
9375
9375
  const Ie = +Date.now();
@@ -9381,13 +9381,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9381
9381
  let ee = ((Z[0] + 180) % 360 + 360) % 360 - 180;
9382
9382
  const he = Math.max(-90, Math.min(90, Z[1]));
9383
9383
  let be = Z[2] === 180 ? 180 : ((Z[2] + 180) % 360 + 360) % 360 - 180;
9384
- const Y = Math.max(-90, Math.min(90, Z[3]));
9384
+ const $ = Math.max(-90, Math.min(90, Z[3]));
9385
9385
  if (Z[2] - Z[0] >= 360) ee = -180, be = 180;
9386
9386
  else if (ee > be) {
9387
- const Ee = this.getClusters([ee, he, 180, Y], X), $e = this.getClusters([-180, he, be, Y], X);
9387
+ const Ee = this.getClusters([ee, he, 180, $], X), $e = this.getClusters([-180, he, be, $], X);
9388
9388
  return Ee.concat($e);
9389
9389
  }
9390
- const Me = this.trees[this._limitZoom(X)], Te = Me.range(on(ee), Hr(Y), on(be), Hr(he)), Ie = Me.data, Fe = [];
9390
+ const Me = this.trees[this._limitZoom(X)], Te = Me.range(on(ee), Hr($), on(be), Hr(he)), Ie = Me.data, Fe = [];
9391
9391
  for (const Ee of Te) {
9392
9392
  const $e = this.stride * Ee;
9393
9393
  Fe.push(Ie[$e + er] > 1 ? yi(Ie, $e, this.clusterProps) : this.points[Ie[$e + Ht]]);
@@ -9397,12 +9397,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9397
9397
  getChildren(Z) {
9398
9398
  const X = this._getOriginId(Z), ee = this._getOriginZoom(Z), he = "No cluster with the specified id.", be = this.trees[ee];
9399
9399
  if (!be) throw new Error(he);
9400
- const Y = be.data;
9401
- if (X * this.stride >= Y.length) throw new Error(he);
9402
- const Me = this.options.radius / (this.options.extent * Math.pow(2, ee - 1)), Te = be.within(Y[X * this.stride], Y[X * this.stride + 1], Me), Ie = [];
9400
+ const $ = be.data;
9401
+ if (X * this.stride >= $.length) throw new Error(he);
9402
+ const Me = this.options.radius / (this.options.extent * Math.pow(2, ee - 1)), Te = be.within($[X * this.stride], $[X * this.stride + 1], Me), Ie = [];
9403
9403
  for (const Fe of Te) {
9404
9404
  const Ee = Fe * this.stride;
9405
- Y[Ee + 4] === Z && Ie.push(Y[Ee + er] > 1 ? yi(Y, Ee, this.clusterProps) : this.points[Y[Ee + Ht]]);
9405
+ $[Ee + 4] === Z && Ie.push($[Ee + er] > 1 ? yi($, Ee, this.clusterProps) : this.points[$[Ee + Ht]]);
9406
9406
  }
9407
9407
  if (Ie.length === 0) throw new Error(he);
9408
9408
  return Ie;
@@ -9412,7 +9412,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9412
9412
  return this._appendLeaves(he, Z, X = X || 10, ee = ee || 0, 0), he;
9413
9413
  }
9414
9414
  getTile(Z, X, ee) {
9415
- const he = this.trees[this._limitZoom(Z)], be = Math.pow(2, Z), { extent: Y, radius: Me } = this.options, Te = Me / Y, Ie = (ee - Te) / be, Fe = (ee + 1 + Te) / be, Ee = { features: [] };
9415
+ const he = this.trees[this._limitZoom(Z)], be = Math.pow(2, Z), { extent: $, radius: Me } = this.options, Te = Me / $, Ie = (ee - Te) / be, Fe = (ee + 1 + Te) / be, Ee = { features: [] };
9416
9416
  return this._addTileFeatures(he.range((X - Te) / be, Ie, (X + 1 + Te) / be, Fe), he.data, X, ee, be, Ee), X === 0 && this._addTileFeatures(he.range(1 - Te / be, Ie, 1, Fe), he.data, be, ee, be, Ee), X === be - 1 && this._addTileFeatures(he.range(0, Ie, Te / be, Fe), he.data, -1, ee, be, Ee), Ee.features.length ? Ee : null;
9417
9417
  }
9418
9418
  getClusterExpansionZoom(Z) {
@@ -9425,8 +9425,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9425
9425
  return X;
9426
9426
  }
9427
9427
  _appendLeaves(Z, X, ee, he, be) {
9428
- const Y = this.getChildren(X);
9429
- for (const Me of Y) {
9428
+ const $ = this.getChildren(X);
9429
+ for (const Me of $) {
9430
9430
  const Te = Me.properties;
9431
9431
  if (Te && Te.cluster ? be + Te.point_count <= he ? be += Te.point_count : be = this._appendLeaves(Z, Te.cluster_id, ee, he, be) : be < he ? be++ : Z.push(Me), Z.length === ee) break;
9432
9432
  }
@@ -9437,7 +9437,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9437
9437
  for (let ee = 0; ee < Z.length; ee += this.stride) X.add(Z[ee], Z[ee + 1]);
9438
9438
  return X.finish(), X.data = Z, X;
9439
9439
  }
9440
- _addTileFeatures(Z, X, ee, he, be, Y) {
9440
+ _addTileFeatures(Z, X, ee, he, be, $) {
9441
9441
  for (const Me of Z) {
9442
9442
  const Te = Me * this.stride, Ie = X[Te + er] > 1;
9443
9443
  let Fe, Ee, $e;
@@ -9450,14 +9450,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9450
9450
  }
9451
9451
  const pt = { type: 1, geometry: [[Math.round(this.options.extent * (Ee * be - ee)), Math.round(this.options.extent * ($e * be - he))]], tags: Fe };
9452
9452
  let vt;
9453
- vt = Ie || this.options.generateId ? X[Te + Ht] : this.points[X[Te + Ht]].id, vt !== void 0 && (pt.id = vt), Y.features.push(pt);
9453
+ vt = Ie || this.options.generateId ? X[Te + Ht] : this.points[X[Te + Ht]].id, vt !== void 0 && (pt.id = vt), $.features.push(pt);
9454
9454
  }
9455
9455
  }
9456
9456
  _limitZoom(Z) {
9457
9457
  return Math.max(this.options.minZoom, Math.min(Math.floor(+Z), this.options.maxZoom + 1));
9458
9458
  }
9459
9459
  _cluster(Z, X) {
9460
- const { radius: ee, extent: he, reduce: be, minPoints: Y } = this.options, Me = ee / (he * Math.pow(2, X)), Te = Z.data, Ie = [], Fe = this.stride;
9460
+ const { radius: ee, extent: he, reduce: be, minPoints: $ } = this.options, Me = ee / (he * Math.pow(2, X)), Te = Z.data, Ie = [], Fe = this.stride;
9461
9461
  for (let Ee = 0; Ee < Te.length; Ee += Fe) {
9462
9462
  if (Te[Ee + 2] <= X) continue;
9463
9463
  Te[Ee + 2] = X;
@@ -9467,7 +9467,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9467
9467
  const je = Bt * Fe;
9468
9468
  Te[je + 2] > X && (Zt += Te[je + er]);
9469
9469
  }
9470
- if (Zt > Mt && Zt >= Y) {
9470
+ if (Zt > Mt && Zt >= $) {
9471
9471
  let Bt, je = $e * Mt, fr = pt * Mt, tr = -1;
9472
9472
  const hr = ((Ee / Fe | 0) << 5) + (X + 1) + this.points.length;
9473
9473
  for (const Ot of vt) {
@@ -9499,8 +9499,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9499
9499
  }
9500
9500
  _map(Z, X, ee) {
9501
9501
  if (Z[X + er] > 1) {
9502
- const Y = this.clusterProps[Z[X + Br]];
9503
- return ee ? Object.assign({}, Y) : Y;
9502
+ const $ = this.clusterProps[Z[X + Br]];
9503
+ return ee ? Object.assign({}, $) : $;
9504
9504
  }
9505
9505
  const he = this.points[Z[X + Ht]].properties, be = this.options.map(he);
9506
9506
  return ee && be === he ? Object.assign({}, be) : be;
@@ -9511,8 +9511,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9511
9511
  var ee;
9512
9512
  }
9513
9513
  function ar(Ae, Z, X) {
9514
- const ee = Ae[Z + er], he = ee >= 1e4 ? `${Math.round(ee / 1e3)}k` : ee >= 1e3 ? Math.round(ee / 100) / 10 + "k" : ee, be = Ae[Z + Br], Y = be === -1 ? {} : Object.assign({}, X[be]);
9515
- return Object.assign(Y, { cluster: !0, cluster_id: Ae[Z + Ht], point_count: ee, point_count_abbreviated: he });
9514
+ const ee = Ae[Z + er], he = ee >= 1e4 ? `${Math.round(ee / 1e3)}k` : ee >= 1e3 ? Math.round(ee / 100) / 10 + "k" : ee, be = Ae[Z + Br], $ = be === -1 ? {} : Object.assign({}, X[be]);
9515
+ return Object.assign($, { cluster: !0, cluster_id: Ae[Z + Ht], point_count: ee, point_count_abbreviated: he });
9516
9516
  }
9517
9517
  function on(Ae) {
9518
9518
  return Ae / 360 + 0.5;
@@ -9528,25 +9528,25 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9528
9528
  function Wr(Ae, Z, X, ee) {
9529
9529
  let he = ee;
9530
9530
  const be = Z + (X - Z >> 1);
9531
- let Y, Me = X - Z;
9531
+ let $, Me = X - Z;
9532
9532
  const Te = Ae[Z], Ie = Ae[Z + 1], Fe = Ae[X], Ee = Ae[X + 1];
9533
9533
  for (let $e = Z + 3; $e < X; $e += 3) {
9534
9534
  const pt = vn(Ae[$e], Ae[$e + 1], Te, Ie, Fe, Ee);
9535
- if (pt > he) Y = $e, he = pt;
9535
+ if (pt > he) $ = $e, he = pt;
9536
9536
  else if (pt === he) {
9537
9537
  const vt = Math.abs($e - be);
9538
- vt < Me && (Y = $e, Me = vt);
9538
+ vt < Me && ($ = $e, Me = vt);
9539
9539
  }
9540
9540
  }
9541
- he > ee && (Y - Z > 3 && Wr(Ae, Z, Y, ee), Ae[Y + 2] = he, X - Y > 3 && Wr(Ae, Y, X, ee));
9541
+ he > ee && ($ - Z > 3 && Wr(Ae, Z, $, ee), Ae[$ + 2] = he, X - $ > 3 && Wr(Ae, $, X, ee));
9542
9542
  }
9543
9543
  function vn(Ae, Z, X, ee, he, be) {
9544
- let Y = he - X, Me = be - ee;
9545
- if (Y !== 0 || Me !== 0) {
9546
- const Te = ((Ae - X) * Y + (Z - ee) * Me) / (Y * Y + Me * Me);
9547
- Te > 1 ? (X = he, ee = be) : Te > 0 && (X += Y * Te, ee += Me * Te);
9544
+ let $ = he - X, Me = be - ee;
9545
+ if ($ !== 0 || Me !== 0) {
9546
+ const Te = ((Ae - X) * $ + (Z - ee) * Me) / ($ * $ + Me * Me);
9547
+ Te > 1 ? (X = he, ee = be) : Te > 0 && (X += $ * Te, ee += Me * Te);
9548
9548
  }
9549
- return Y = Ae - X, Me = Z - ee, Y * Y + Me * Me;
9549
+ return $ = Ae - X, Me = Z - ee, $ * $ + Me * Me;
9550
9550
  }
9551
9551
  function Bi(Ae, Z, X, ee) {
9552
9552
  const he = { id: Ae ?? null, type: Z, geometry: X, tags: ee, minX: 1 / 0, minY: 1 / 0, maxX: -1 / 0, maxY: -1 / 0 };
@@ -9563,18 +9563,18 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9563
9563
  if (!Z.geometry) return;
9564
9564
  const he = Z.geometry.coordinates;
9565
9565
  if (he && he.length === 0) return;
9566
- const be = Z.geometry.type, Y = Math.pow(X.tolerance / ((1 << X.maxZoom) * X.extent), 2);
9566
+ const be = Z.geometry.type, $ = Math.pow(X.tolerance / ((1 << X.maxZoom) * X.extent), 2);
9567
9567
  let Me = [], Te = Z.id;
9568
9568
  if (X.promoteId ? Te = Z.properties[X.promoteId] : X.generateId && (Te = ee || 0), be === "Point") hi(he, Me);
9569
9569
  else if (be === "MultiPoint") for (const Ie of he) hi(Ie, Me);
9570
- else if (be === "LineString") cn(he, Me, Y, !1);
9570
+ else if (be === "LineString") cn(he, Me, $, !1);
9571
9571
  else if (be === "MultiLineString") {
9572
9572
  if (X.lineMetrics) {
9573
- for (const Ie of he) Me = [], cn(Ie, Me, Y, !1), Ae.push(Bi(Te, "LineString", Me, Z.properties));
9573
+ for (const Ie of he) Me = [], cn(Ie, Me, $, !1), Ae.push(Bi(Te, "LineString", Me, Z.properties));
9574
9574
  return;
9575
9575
  }
9576
- Hi(he, Me, Y, !1);
9577
- } else if (be === "Polygon") Hi(he, Me, Y, !0);
9576
+ Hi(he, Me, $, !1);
9577
+ } else if (be === "Polygon") Hi(he, Me, $, !0);
9578
9578
  else {
9579
9579
  if (be !== "MultiPolygon") {
9580
9580
  if (be === "GeometryCollection") {
@@ -9585,7 +9585,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9585
9585
  }
9586
9586
  for (const Ie of he) {
9587
9587
  const Fe = [];
9588
- Hi(Ie, Fe, Y, !0), Me.push(Fe);
9588
+ Hi(Ie, Fe, $, !0), Me.push(Fe);
9589
9589
  }
9590
9590
  }
9591
9591
  Ae.push(Bi(Te, be, Me, Z.properties));
@@ -9594,13 +9594,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9594
9594
  Z.push(qn(Ae[0]), Ci(Ae[1]), 0);
9595
9595
  }
9596
9596
  function cn(Ae, Z, X, ee) {
9597
- let he, be, Y = 0;
9597
+ let he, be, $ = 0;
9598
9598
  for (let Te = 0; Te < Ae.length; Te++) {
9599
9599
  const Ie = qn(Ae[Te][0]), Fe = Ci(Ae[Te][1]);
9600
- Z.push(Ie, Fe, 0), Te > 0 && (Y += ee ? (he * Fe - Ie * be) / 2 : Math.sqrt(Math.pow(Ie - he, 2) + Math.pow(Fe - be, 2))), he = Ie, be = Fe;
9600
+ Z.push(Ie, Fe, 0), Te > 0 && ($ += ee ? (he * Fe - Ie * be) / 2 : Math.sqrt(Math.pow(Ie - he, 2) + Math.pow(Fe - be, 2))), he = Ie, be = Fe;
9601
9601
  }
9602
9602
  const Me = Z.length - 3;
9603
- Z[2] = 1, Wr(Z, 0, Me, X), Z[Me + 2] = 1, Z.size = Math.abs(Y), Z.start = 0, Z.end = Z.size;
9603
+ Z[2] = 1, Wr(Z, 0, Me, X), Z[Me + 2] = 1, Z.size = Math.abs($), Z.start = 0, Z.end = Z.size;
9604
9604
  }
9605
9605
  function Hi(Ae, Z, X, ee) {
9606
9606
  for (let he = 0; he < Ae.length; he++) {
@@ -9615,9 +9615,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9615
9615
  const Z = Math.sin(Ae * Math.PI / 180), X = 0.5 - 0.25 * Math.log((1 + Z) / (1 - Z)) / Math.PI;
9616
9616
  return X < 0 ? 0 : X > 1 ? 1 : X;
9617
9617
  }
9618
- function _t(Ae, Z, X, ee, he, be, Y, Me) {
9619
- if (ee /= Z, be >= (X /= Z) && Y < ee) return Ae;
9620
- if (Y < X || be >= ee) return null;
9618
+ function _t(Ae, Z, X, ee, he, be, $, Me) {
9619
+ if (ee /= Z, be >= (X /= Z) && $ < ee) return Ae;
9620
+ if ($ < X || be >= ee) return null;
9621
9621
  const Te = [];
9622
9622
  for (const Ie of Ae) {
9623
9623
  const Fe = Ie.geometry;
@@ -9631,11 +9631,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9631
9631
  let vt = [];
9632
9632
  if (Ee === "Point" || Ee === "MultiPoint") wt(Fe, vt, X, ee, he);
9633
9633
  else if (Ee === "LineString") ht(Fe, vt, X, ee, he, !1, Me.lineMetrics);
9634
- else if (Ee === "MultiLineString") Gt(Fe, vt, X, ee, he, !1);
9635
- else if (Ee === "Polygon") Gt(Fe, vt, X, ee, he, !0);
9634
+ else if (Ee === "MultiLineString") Kt(Fe, vt, X, ee, he, !1);
9635
+ else if (Ee === "Polygon") Kt(Fe, vt, X, ee, he, !0);
9636
9636
  else if (Ee === "MultiPolygon") for (const Mt of Fe) {
9637
9637
  const Zt = [];
9638
- Gt(Mt, Zt, X, ee, he, !0), Zt.length && vt.push(Zt);
9638
+ Kt(Mt, Zt, X, ee, he, !0), Zt.length && vt.push(Zt);
9639
9639
  }
9640
9640
  if (vt.length) {
9641
9641
  if (Me.lineMetrics && Ee === "LineString") {
@@ -9649,18 +9649,18 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9649
9649
  }
9650
9650
  function wt(Ae, Z, X, ee, he) {
9651
9651
  for (let be = 0; be < Ae.length; be += 3) {
9652
- const Y = Ae[be + he];
9653
- Y >= X && Y <= ee && Ut(Z, Ae[be], Ae[be + 1], Ae[be + 2]);
9652
+ const $ = Ae[be + he];
9653
+ $ >= X && $ <= ee && Ut(Z, Ae[be], Ae[be + 1], Ae[be + 2]);
9654
9654
  }
9655
9655
  }
9656
- function ht(Ae, Z, X, ee, he, be, Y) {
9656
+ function ht(Ae, Z, X, ee, he, be, $) {
9657
9657
  let Me = Vt(Ae);
9658
9658
  const Te = he === 0 ? xr : jt;
9659
9659
  let Ie, Fe, Ee = Ae.start;
9660
9660
  for (let Zt = 0; Zt < Ae.length - 3; Zt += 3) {
9661
9661
  const Bt = Ae[Zt], je = Ae[Zt + 1], fr = Ae[Zt + 2], tr = Ae[Zt + 3], hr = Ae[Zt + 4], Ot = he === 0 ? Bt : je, Ye = he === 0 ? tr : hr;
9662
9662
  let zt = !1;
9663
- Y && (Ie = Math.sqrt(Math.pow(Bt - tr, 2) + Math.pow(je - hr, 2))), Ot < X ? Ye > X && (Fe = Te(Me, Bt, je, tr, hr, X), Y && (Me.start = Ee + Ie * Fe)) : Ot > ee ? Ye < ee && (Fe = Te(Me, Bt, je, tr, hr, ee), Y && (Me.start = Ee + Ie * Fe)) : Ut(Me, Bt, je, fr), Ye < X && Ot >= X && (Fe = Te(Me, Bt, je, tr, hr, X), zt = !0), Ye > ee && Ot <= ee && (Fe = Te(Me, Bt, je, tr, hr, ee), zt = !0), !be && zt && (Y && (Me.end = Ee + Ie * Fe), Z.push(Me), Me = Vt(Ae)), Y && (Ee += Ie);
9663
+ $ && (Ie = Math.sqrt(Math.pow(Bt - tr, 2) + Math.pow(je - hr, 2))), Ot < X ? Ye > X && (Fe = Te(Me, Bt, je, tr, hr, X), $ && (Me.start = Ee + Ie * Fe)) : Ot > ee ? Ye < ee && (Fe = Te(Me, Bt, je, tr, hr, ee), $ && (Me.start = Ee + Ie * Fe)) : Ut(Me, Bt, je, fr), Ye < X && Ot >= X && (Fe = Te(Me, Bt, je, tr, hr, X), zt = !0), Ye > ee && Ot <= ee && (Fe = Te(Me, Bt, je, tr, hr, ee), zt = !0), !be && zt && ($ && (Me.end = Ee + Ie * Fe), Z.push(Me), Me = Vt(Ae)), $ && (Ee += Ie);
9664
9664
  }
9665
9665
  let $e = Ae.length - 3;
9666
9666
  const pt = Ae[$e], vt = Ae[$e + 1], Mt = he === 0 ? pt : vt;
@@ -9670,38 +9670,38 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9670
9670
  const Z = [];
9671
9671
  return Z.size = Ae.size, Z.start = Ae.start, Z.end = Ae.end, Z;
9672
9672
  }
9673
- function Gt(Ae, Z, X, ee, he, be) {
9674
- for (const Y of Ae) ht(Y, Z, X, ee, he, be, !1);
9673
+ function Kt(Ae, Z, X, ee, he, be) {
9674
+ for (const $ of Ae) ht($, Z, X, ee, he, be, !1);
9675
9675
  }
9676
9676
  function Ut(Ae, Z, X, ee) {
9677
9677
  Ae.push(Z, X, ee);
9678
9678
  }
9679
9679
  function xr(Ae, Z, X, ee, he, be) {
9680
- const Y = (be - Z) / (ee - Z);
9681
- return Ut(Ae, be, X + (he - X) * Y, 1), Y;
9680
+ const $ = (be - Z) / (ee - Z);
9681
+ return Ut(Ae, be, X + (he - X) * $, 1), $;
9682
9682
  }
9683
9683
  function jt(Ae, Z, X, ee, he, be) {
9684
- const Y = (be - X) / (he - X);
9685
- return Ut(Ae, Z + (ee - Z) * Y, be, 1), Y;
9684
+ const $ = (be - X) / (he - X);
9685
+ return Ut(Ae, Z + (ee - Z) * $, be, 1), $;
9686
9686
  }
9687
9687
  function Sr(Ae, Z) {
9688
9688
  const X = [];
9689
9689
  for (let ee = 0; ee < Ae.length; ee++) {
9690
9690
  const he = Ae[ee], be = he.type;
9691
- let Y;
9692
- if (be === "Point" || be === "MultiPoint" || be === "LineString") Y = $r(he.geometry, Z);
9691
+ let $;
9692
+ if (be === "Point" || be === "MultiPoint" || be === "LineString") $ = $r(he.geometry, Z);
9693
9693
  else if (be === "MultiLineString" || be === "Polygon") {
9694
- Y = [];
9695
- for (const Me of he.geometry) Y.push($r(Me, Z));
9694
+ $ = [];
9695
+ for (const Me of he.geometry) $.push($r(Me, Z));
9696
9696
  } else if (be === "MultiPolygon") {
9697
- Y = [];
9697
+ $ = [];
9698
9698
  for (const Me of he.geometry) {
9699
9699
  const Te = [];
9700
9700
  for (const Ie of Me) Te.push($r(Ie, Z));
9701
- Y.push(Te);
9701
+ $.push(Te);
9702
9702
  }
9703
9703
  }
9704
- X.push(Bi(he.id, be, Y, he.tags));
9704
+ X.push(Bi(he.id, be, $, he.tags));
9705
9705
  }
9706
9706
  return X;
9707
9707
  }
@@ -9715,11 +9715,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9715
9715
  if (Ae.transformed) return Ae;
9716
9716
  const X = 1 << Ae.z, ee = Ae.x, he = Ae.y;
9717
9717
  for (const be of Ae.features) {
9718
- const Y = be.geometry, Me = be.type;
9719
- if (be.geometry = [], Me === 1) for (let Te = 0; Te < Y.length; Te += 2) be.geometry.push(Ur(Y[Te], Y[Te + 1], Z, X, ee, he));
9720
- else for (let Te = 0; Te < Y.length; Te++) {
9718
+ const $ = be.geometry, Me = be.type;
9719
+ if (be.geometry = [], Me === 1) for (let Te = 0; Te < $.length; Te += 2) be.geometry.push(Ur($[Te], $[Te + 1], Z, X, ee, he));
9720
+ else for (let Te = 0; Te < $.length; Te++) {
9721
9721
  const Ie = [];
9722
- for (let Fe = 0; Fe < Y[Te].length; Fe += 2) Ie.push(Ur(Y[Te][Fe], Y[Te][Fe + 1], Z, X, ee, he));
9722
+ for (let Fe = 0; Fe < $[Te].length; Fe += 2) Ie.push(Ur($[Te][Fe], $[Te][Fe + 1], Z, X, ee, he));
9723
9723
  be.geometry.push(Ie);
9724
9724
  }
9725
9725
  }
@@ -9729,35 +9729,35 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9729
9729
  return [Math.round(X * (Ae * ee - he)), Math.round(X * (Z * ee - be))];
9730
9730
  }
9731
9731
  function Ei(Ae, Z, X, ee, he) {
9732
- const be = Z === he.maxZoom ? 0 : he.tolerance / ((1 << Z) * he.extent), Y = { features: [], numPoints: 0, numSimplified: 0, numFeatures: Ae.length, source: null, x: X, y: ee, z: Z, transformed: !1, minX: 2, minY: 1, maxX: -1, maxY: 0 };
9733
- for (const Me of Ae) Ji(Y, Me, be, he);
9734
- return Y;
9732
+ const be = Z === he.maxZoom ? 0 : he.tolerance / ((1 << Z) * he.extent), $ = { features: [], numPoints: 0, numSimplified: 0, numFeatures: Ae.length, source: null, x: X, y: ee, z: Z, transformed: !1, minX: 2, minY: 1, maxX: -1, maxY: 0 };
9733
+ for (const Me of Ae) Ji($, Me, be, he);
9734
+ return $;
9735
9735
  }
9736
9736
  function Ji(Ae, Z, X, ee) {
9737
- const he = Z.geometry, be = Z.type, Y = [];
9738
- if (Ae.minX = Math.min(Ae.minX, Z.minX), Ae.minY = Math.min(Ae.minY, Z.minY), Ae.maxX = Math.max(Ae.maxX, Z.maxX), Ae.maxY = Math.max(Ae.maxY, Z.maxY), be === "Point" || be === "MultiPoint") for (let Me = 0; Me < he.length; Me += 3) Y.push(he[Me], he[Me + 1]), Ae.numPoints++, Ae.numSimplified++;
9739
- else if (be === "LineString") vr(Y, he, Ae, X, !1, !1);
9740
- else if (be === "MultiLineString" || be === "Polygon") for (let Me = 0; Me < he.length; Me++) vr(Y, he[Me], Ae, X, be === "Polygon", Me === 0);
9737
+ const he = Z.geometry, be = Z.type, $ = [];
9738
+ if (Ae.minX = Math.min(Ae.minX, Z.minX), Ae.minY = Math.min(Ae.minY, Z.minY), Ae.maxX = Math.max(Ae.maxX, Z.maxX), Ae.maxY = Math.max(Ae.maxY, Z.maxY), be === "Point" || be === "MultiPoint") for (let Me = 0; Me < he.length; Me += 3) $.push(he[Me], he[Me + 1]), Ae.numPoints++, Ae.numSimplified++;
9739
+ else if (be === "LineString") vr($, he, Ae, X, !1, !1);
9740
+ else if (be === "MultiLineString" || be === "Polygon") for (let Me = 0; Me < he.length; Me++) vr($, he[Me], Ae, X, be === "Polygon", Me === 0);
9741
9741
  else if (be === "MultiPolygon") for (let Me = 0; Me < he.length; Me++) {
9742
9742
  const Te = he[Me];
9743
- for (let Ie = 0; Ie < Te.length; Ie++) vr(Y, Te[Ie], Ae, X, !0, Ie === 0);
9743
+ for (let Ie = 0; Ie < Te.length; Ie++) vr($, Te[Ie], Ae, X, !0, Ie === 0);
9744
9744
  }
9745
- if (Y.length) {
9745
+ if ($.length) {
9746
9746
  let Me = Z.tags || null;
9747
9747
  if (be === "LineString" && ee.lineMetrics) {
9748
9748
  Me = {};
9749
9749
  for (const Ie in Z.tags) Me[Ie] = Z.tags[Ie];
9750
9750
  Me.mapbox_clip_start = he.start / he.size, Me.mapbox_clip_end = he.end / he.size;
9751
9751
  }
9752
- const Te = { geometry: Y, type: be === "Polygon" || be === "MultiPolygon" ? 3 : be === "LineString" || be === "MultiLineString" ? 2 : 1, tags: Me };
9752
+ const Te = { geometry: $, type: be === "Polygon" || be === "MultiPolygon" ? 3 : be === "LineString" || be === "MultiLineString" ? 2 : 1, tags: Me };
9753
9753
  Z.id !== null && (Te.id = Z.id), Ae.features.push(Te);
9754
9754
  }
9755
9755
  }
9756
9756
  function vr(Ae, Z, X, ee, he, be) {
9757
- const Y = ee * ee;
9758
- if (ee > 0 && Z.size < (he ? Y : ee)) return void (X.numPoints += Z.length / 3);
9757
+ const $ = ee * ee;
9758
+ if (ee > 0 && Z.size < (he ? $ : ee)) return void (X.numPoints += Z.length / 3);
9759
9759
  const Me = [];
9760
- for (let Te = 0; Te < Z.length; Te += 3) (ee === 0 || Z[Te + 2] > Y) && (X.numSimplified++, Me.push(Z[Te], Z[Te + 1])), X.numPoints++;
9760
+ for (let Te = 0; Te < Z.length; Te += 3) (ee === 0 || Z[Te + 2] > $) && (X.numSimplified++, Me.push(Z[Te], Z[Te + 1])), X.numPoints++;
9761
9761
  he && function(Te, Ie) {
9762
9762
  let Fe = 0;
9763
9763
  for (let Ee = 0, $e = Te.length, pt = $e - 2; Ee < $e; pt = Ee, Ee += 2) Fe += (Te[Ee] - Te[pt]) * (Te[Ee + 1] + Te[pt + 1]);
@@ -9770,26 +9770,26 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9770
9770
  const mr = { maxZoom: 14, indexMaxZoom: 5, indexMaxPoints: 1e5, tolerance: 3, extent: 4096, buffer: 64, lineMetrics: !1, promoteId: null, generateId: !1, debug: 0 };
9771
9771
  class Nt {
9772
9772
  constructor(Z, X) {
9773
- const ee = (X = this.options = function(be, Y) {
9774
- for (const Me in Y) be[Me] = Y[Me];
9773
+ const ee = (X = this.options = function(be, $) {
9774
+ for (const Me in $) be[Me] = $[Me];
9775
9775
  return be;
9776
9776
  }(Object.create(mr), X)).debug;
9777
9777
  if (ee && console.time("preprocess data"), X.maxZoom < 0 || X.maxZoom > 24) throw new Error("maxZoom should be in the 0-24 range");
9778
9778
  if (X.promoteId && X.generateId) throw new Error("promoteId and generateId cannot be used together.");
9779
- let he = function(be, Y) {
9779
+ let he = function(be, $) {
9780
9780
  const Me = [];
9781
- if (be.type === "FeatureCollection") for (let Te = 0; Te < be.features.length; Te++) ln(Me, be.features[Te], Y, Te);
9782
- else ln(Me, be.type === "Feature" ? be : { geometry: be }, Y);
9781
+ if (be.type === "FeatureCollection") for (let Te = 0; Te < be.features.length; Te++) ln(Me, be.features[Te], $, Te);
9782
+ else ln(Me, be.type === "Feature" ? be : { geometry: be }, $);
9783
9783
  return Me;
9784
9784
  }(Z, X);
9785
- this.tiles = {}, this.tileCoords = [], ee && (console.timeEnd("preprocess data"), console.log("index: maxZoom: %d, maxPoints: %d", X.indexMaxZoom, X.indexMaxPoints), console.time("generate tiles"), this.stats = {}, this.total = 0), he = function(be, Y) {
9786
- const Me = Y.buffer / Y.extent;
9785
+ this.tiles = {}, this.tileCoords = [], ee && (console.timeEnd("preprocess data"), console.log("index: maxZoom: %d, maxPoints: %d", X.indexMaxZoom, X.indexMaxPoints), console.time("generate tiles"), this.stats = {}, this.total = 0), he = function(be, $) {
9786
+ const Me = $.buffer / $.extent;
9787
9787
  let Te = be;
9788
- const Ie = _t(be, 1, -1 - Me, Me, 0, -1, 2, Y), Fe = _t(be, 1, 1 - Me, 2 + Me, 0, -1, 2, Y);
9789
- return (Ie || Fe) && (Te = _t(be, 1, -Me, 1 + Me, 0, -1, 2, Y) || [], Ie && (Te = Sr(Ie, 1).concat(Te)), Fe && (Te = Te.concat(Sr(Fe, -1)))), Te;
9788
+ const Ie = _t(be, 1, -1 - Me, Me, 0, -1, 2, $), Fe = _t(be, 1, 1 - Me, 2 + Me, 0, -1, 2, $);
9789
+ return (Ie || Fe) && (Te = _t(be, 1, -Me, 1 + Me, 0, -1, 2, $) || [], Ie && (Te = Sr(Ie, 1).concat(Te)), Fe && (Te = Te.concat(Sr(Fe, -1)))), Te;
9790
9790
  }(he, X), he.length && this.splitTile(he, 0, 0, 0), ee && (he.length && console.log("features: %d, points: %d", this.tiles[0].numFeatures, this.tiles[0].numPoints), console.timeEnd("generate tiles"), console.log("tiles generated:", this.total, JSON.stringify(this.stats)));
9791
9791
  }
9792
- splitTile(Z, X, ee, he, be, Y, Me) {
9792
+ splitTile(Z, X, ee, he, be, $, Me) {
9793
9793
  const Te = [Z, X, ee, he], Ie = this.options, Fe = Ie.debug;
9794
9794
  for (; Te.length; ) {
9795
9795
  he = Te.pop(), ee = Te.pop(), X = Te.pop(), Z = Te.pop();
@@ -9806,7 +9806,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9806
9806
  if (X === Ie.maxZoom || X === be) continue;
9807
9807
  if (be != null) {
9808
9808
  const zt = be - X;
9809
- if (ee !== Y >> zt || he !== Me >> zt) continue;
9809
+ if (ee !== $ >> zt || he !== Me >> zt) continue;
9810
9810
  }
9811
9811
  }
9812
9812
  if (pt.source = null, Z.length === 0) continue;
@@ -9818,14 +9818,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9818
9818
  }
9819
9819
  getTile(Z, X, ee) {
9820
9820
  Z = +Z, X = +X, ee = +ee;
9821
- const he = this.options, { extent: be, debug: Y } = he;
9821
+ const he = this.options, { extent: be, debug: $ } = he;
9822
9822
  if (Z < 0 || Z > 24) return null;
9823
9823
  const Me = 1 << Z, Te = Lr(Z, X = X + Me & Me - 1, ee);
9824
9824
  if (this.tiles[Te]) return Pi(this.tiles[Te], be);
9825
- Y > 1 && console.log("drilling down to z%d-%d-%d", Z, X, ee);
9825
+ $ > 1 && console.log("drilling down to z%d-%d-%d", Z, X, ee);
9826
9826
  let Ie, Fe = Z, Ee = X, $e = ee;
9827
9827
  for (; !Ie && Fe > 0; ) Fe--, Ee >>= 1, $e >>= 1, Ie = this.tiles[Lr(Fe, Ee, $e)];
9828
- return Ie && Ie.source ? (Y > 1 && (console.log("found parent tile z%d-%d-%d", Fe, Ee, $e), console.time("drilling down")), this.splitTile(Ie.source, Fe, Ee, $e, Z, X, ee), Y > 1 && console.timeEnd("drilling down"), this.tiles[Te] ? Pi(this.tiles[Te], be) : null) : null;
9828
+ return Ie && Ie.source ? ($ > 1 && (console.log("found parent tile z%d-%d-%d", Fe, Ee, $e), console.time("drilling down")), this.splitTile(Ie.source, Fe, Ee, $e, Z, X, ee), $ > 1 && console.timeEnd("drilling down"), this.tiles[Te] ? Pi(this.tiles[Te], be) : null) : null;
9829
9829
  }
9830
9830
  }
9831
9831
  function Lr(Ae, Z, X) {
@@ -9865,8 +9865,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9865
9865
  const he = this._geoJSONIndex.getTile(ee.z, ee.x, ee.y);
9866
9866
  if (!he) return null;
9867
9867
  const be = new Pe(he.features);
9868
- let Y = Tt(be);
9869
- return Y.byteOffset === 0 && Y.byteLength === Y.buffer.byteLength || (Y = new Uint8Array(Y)), { vectorTile: be, rawData: Y.buffer };
9868
+ let $ = Tt(be);
9869
+ return $.byteOffset === 0 && $.byteLength === $.buffer.byteLength || ($ = new Uint8Array($)), { vectorTile: be, rawData: $.buffer };
9870
9870
  });
9871
9871
  }
9872
9872
  loadData(Z) {
@@ -9876,27 +9876,27 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9876
9876
  const ee = !!(Z && Z.request && Z.request.collectResourceTiming) && new v.cE(Z.request);
9877
9877
  this._pendingRequest = new AbortController();
9878
9878
  try {
9879
- this._pendingData = this.loadAndProcessGeoJSON(Z, this._pendingRequest), this._geoJSONIndex = Z.cluster ? new Mr(function({ superclusterOptions: Y, clusterProperties: Me }) {
9880
- if (!Me || !Y) return Y;
9879
+ this._pendingData = this.loadAndProcessGeoJSON(Z, this._pendingRequest), this._geoJSONIndex = Z.cluster ? new Mr(function({ superclusterOptions: $, clusterProperties: Me }) {
9880
+ if (!Me || !$) return $;
9881
9881
  const Te = {}, Ie = {}, Fe = { accumulated: null, zoom: 0 }, Ee = { properties: null }, $e = Object.keys(Me);
9882
9882
  for (const pt of $e) {
9883
9883
  const [vt, Mt] = Me[pt], Zt = v.cL(Mt), Bt = v.cL(typeof vt == "string" ? [vt, ["accumulated"], ["get", pt]] : vt);
9884
9884
  Te[pt] = Zt.value, Ie[pt] = Bt.value;
9885
9885
  }
9886
- return Y.map = (pt) => {
9886
+ return $.map = (pt) => {
9887
9887
  Ee.properties = pt;
9888
9888
  const vt = {};
9889
9889
  for (const Mt of $e) vt[Mt] = Te[Mt].evaluate(Fe, Ee);
9890
9890
  return vt;
9891
- }, Y.reduce = (pt, vt) => {
9891
+ }, $.reduce = (pt, vt) => {
9892
9892
  Ee.properties = vt;
9893
9893
  for (const Mt of $e) Fe.accumulated = pt[Mt], pt[Mt] = Ie[Mt].evaluate(Fe, Ee);
9894
- }, Y;
9894
+ }, $;
9895
9895
  }(Z)).load((yield this._pendingData).features) : (he = yield this._pendingData, new Nt(he, Z.geojsonVtOptions)), this.loaded = {};
9896
9896
  const be = {};
9897
9897
  if (ee) {
9898
- const Y = ee.finish();
9899
- Y && (be.resourceTiming = {}, be.resourceTiming[Z.source] = JSON.parse(JSON.stringify(Y)));
9898
+ const $ = ee.finish();
9899
+ $ && (be.resourceTiming = {}, be.resourceTiming[Z.source] = JSON.parse(JSON.stringify($)));
9900
9900
  }
9901
9901
  return be;
9902
9902
  } catch (be) {
@@ -9921,8 +9921,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9921
9921
  if (delete this._pendingRequest, typeof ee != "object") throw new Error(`Input data given to '${Z.source}' is not a valid GeoJSON object.`);
9922
9922
  if (K(ee, !0), Z.filter) {
9923
9923
  const he = v.cL(Z.filter, { type: "boolean", "property-type": "data-driven", overridable: !1, transition: !1 });
9924
- if (he.result === "error") throw new Error(he.value.map((Y) => `${Y.key}: ${Y.message}`).join(", "));
9925
- ee = { type: "FeatureCollection", features: ee.features.filter((Y) => he.value.evaluate({ zoom: 0 }, Y)) };
9924
+ if (he.result === "error") throw new Error(he.value.map(($) => `${$.key}: ${$.message}`).join(", "));
9925
+ ee = { type: "FeatureCollection", features: ee.features.filter(($) => he.value.evaluate({ zoom: 0 }, $)) };
9926
9926
  }
9927
9927
  return ee;
9928
9928
  });
@@ -9942,11 +9942,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9942
9942
  }
9943
9943
  if (!Z.dataDiff) throw new Error(`Input data given to '${Z.source}' is not a valid GeoJSON object.`);
9944
9944
  if (!this._dataUpdateable) throw new Error(`Cannot update existing geojson data in ${Z.source}`);
9945
- return function(he, be, Y) {
9945
+ return function(he, be, $) {
9946
9946
  var Me, Te, Ie, Fe;
9947
9947
  if (be.removeAll && he.clear(), be.remove) for (const Ee of be.remove) he.delete(Ee);
9948
9948
  if (be.add) for (const Ee of be.add) {
9949
- const $e = br(Ee, Y);
9949
+ const $e = br(Ee, $);
9950
9950
  $e != null && he.set($e, Ee);
9951
9951
  }
9952
9952
  if (be.update) for (const Ee of be.update) {
@@ -10030,7 +10030,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
10030
10030
  }
10031
10031
  _getWorkerSource(Z, X, ee) {
10032
10032
  if (this.workerSources[Z] || (this.workerSources[Z] = {}), this.workerSources[Z][X] || (this.workerSources[Z][X] = {}), !this.workerSources[Z][X][ee]) {
10033
- const he = { sendAsync: (be, Y) => (be.targetMapId = Z, this.actor.sendAsync(be, Y)) };
10033
+ const he = { sendAsync: (be, $) => (be.targetMapId = Z, this.actor.sendAsync(be, $)) };
10034
10034
  switch (X) {
10035
10035
  case "vector":
10036
10036
  this.workerSources[Z][X][ee] = new U(he, this._getLayerIndex(Z), this._getAvailableImages(Z));
@@ -10845,7 +10845,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
10845
10845
  return e.x >= a && e.x < d && e.y >= l && e.y < g;
10846
10846
  }
10847
10847
  }
10848
- class Gt extends s.E {
10848
+ class Kt extends s.E {
10849
10849
  constructor(e, r, a, l) {
10850
10850
  if (super(), this.id = e, this.dispatcher = a, this.type = "vector", this.minzoom = 0, this.maxzoom = 22, this.scheme = "xyz", this.tileSize = 512, this.reparseOverscaled = !0, this.isTileClipped = !0, this._loaded = !1, s.e(this, s.O(r, ["url", "scheme", "tileSize", "promoteId"])), this._options = s.e({ type: "vector" }, r), this._collectResourceTiming = r.collectResourceTiming, this.tileSize !== 512) throw new Error("vector tile sources must have a tileSize of 512");
10851
10851
  this.setEventedParent(l);
@@ -11355,7 +11355,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
11355
11355
  case "raster-dem":
11356
11356
  return xr;
11357
11357
  case "vector":
11358
- return Gt;
11358
+ return Kt;
11359
11359
  case "video":
11360
11360
  return $r;
11361
11361
  case "canvas":
@@ -11705,7 +11705,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
11705
11705
  return G += s.ah(d / W / Math.max(0.5, Math.cos(s.ab(g / 2)))), G += b * s.ah(Math.cos(O)) / 2, G -= s.ah(Math.max(1, F / E / e)) / 2, G;
11706
11706
  };
11707
11707
  }
11708
- const Y = be(9.314, 3);
11708
+ const $ = be(9.314, 3);
11709
11709
  function Me(h, e) {
11710
11710
  const r = (e.roundZoom ? Math.round : Math.floor)(h.zoom + s.ah(h.tileSize / e.tileSize));
11711
11711
  return Math.max(0, r);
@@ -11726,7 +11726,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
11726
11726
  }
11727
11727
  const Ue = g.distanceToTile2d(l.x, l.y, Ze, qe);
11728
11728
  let He = S;
11729
- b && (He = (e.calculateTileZoom || Y)(h.zoom + s.ah(h.tileSize / e.tileSize), Ue, ne, oe, h.fov)), He = (e.roundZoom ? Math.round : Math.floor)(He), He = Math.max(0, He);
11729
+ b && (He = (e.calculateTileZoom || $)(h.zoom + s.ah(h.tileSize / e.tileSize), Ue, ne, oe, h.fov)), He = (e.roundZoom ? Math.round : Math.floor)(He), He = Math.max(0, He);
11730
11730
  const yt = Math.min(He, z);
11731
11731
  if (xe.wrap = g.getWrap(d, Ze, xe.wrap), xe.zoom >= yt) {
11732
11732
  if (xe.zoom < E) continue;
@@ -12299,7 +12299,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12299
12299
  continue;
12300
12300
  }
12301
12301
  ye = !1;
12302
- const we = new s.P(ke.anchorX, ke.anchorY), Le = { getElevation: O, pitchedLabelPlaneMatrix: a, lineVertexArray: oe, pitchWithMap: d, projectionCache: { projections: {}, offsets: {}, cachedAnchorPoint: void 0, anyProjectionOccluded: !1 }, transform: e.transform, tileAnchorPoint: we, unwrappedTileID: S, width: E, height: z, translation: F }, Ze = Qt(ke.anchorX, ke.anchorY, Le);
12302
+ const we = new s.P(ke.anchorX, ke.anchorY), Le = { getElevation: O, pitchedLabelPlaneMatrix: a, lineVertexArray: oe, pitchWithMap: d, projectionCache: { projections: {}, offsets: {}, cachedAnchorPoint: void 0, anyProjectionOccluded: !1 }, transform: e.transform, tileAnchorPoint: we, unwrappedTileID: S, width: E, height: z, translation: F }, Ze = Xt(ke.anchorX, ke.anchorY, Le);
12303
12303
  if (!tr(Ze.point, se)) {
12304
12304
  Wi(ke.numGlyphs, ne);
12305
12305
  continue;
@@ -12334,7 +12334,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12334
12334
  G.push(de.last);
12335
12335
  } else {
12336
12336
  if (g && !d) {
12337
- const ne = Tr(e.tileAnchorPoint.x, e.tileAnchorPoint.y, e).point, oe = a.lineStartIndex + a.segment + 1, de = new s.P(e.lineVertexArray.getx(oe), e.lineVertexArray.gety(oe)), _e = Tr(de.x, de.y, e), ye = _e.signedDistanceFromCamera > 0 ? _e.point : Jt(e.tileAnchorPoint, de, ne, 1, e), xe = Ii(ne.x, ne.y, e, r), ke = Ii(ye.x, ye.y, e, r), we = Ye(a.writingMode, xe, ke, E);
12337
+ const ne = Tr(e.tileAnchorPoint.x, e.tileAnchorPoint.y, e).point, oe = a.lineStartIndex + a.segment + 1, de = new s.P(e.lineVertexArray.getx(oe), e.lineVertexArray.gety(oe)), _e = Tr(de.x, de.y, e), ye = _e.signedDistanceFromCamera > 0 ? _e.point : Gt(e.tileAnchorPoint, de, ne, 1, e), xe = Ii(ne.x, ne.y, e, r), ke = Ii(ye.x, ye.y, e, r), we = Ye(a.writingMode, xe, ke, E);
12338
12338
  if (we) return we;
12339
12339
  }
12340
12340
  const se = Mn(F * b.getoffsetX(a.glyphStartIndex), O, W, d, a.segment, a.lineStartIndex, a.lineStartIndex + a.lineLength, e, z);
@@ -12344,7 +12344,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12344
12344
  for (const se of G) s.as(S, se.point, se.angle);
12345
12345
  return {};
12346
12346
  }
12347
- function Jt(h, e, r, a, l) {
12347
+ function Gt(h, e, r, a, l) {
12348
12348
  const d = h.add(h.sub(e)._unit()), g = Tr(d.x, d.y, l).point, b = r.sub(g);
12349
12349
  return r.add(b._mult(a / b.mag()));
12350
12350
  }
@@ -12354,7 +12354,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12354
12354
  const l = new s.P(e.lineVertexArray.getx(h), e.lineVertexArray.gety(h)), d = Tr(l.x, l.y, e);
12355
12355
  if (d.signedDistanceFromCamera > 0) return a.projections[h] = d.point, a.anyProjectionOccluded = a.anyProjectionOccluded || d.isOccluded, d.point;
12356
12356
  const g = h - r.direction;
12357
- return Jt(r.distanceFromAnchor === 0 ? e.tileAnchorPoint : new s.P(e.lineVertexArray.getx(g), e.lineVertexArray.gety(g)), l, r.previousVertex, r.absOffsetX - r.distanceFromAnchor + 1, e);
12357
+ return Gt(r.distanceFromAnchor === 0 ? e.tileAnchorPoint : new s.P(e.lineVertexArray.getx(g), e.lineVertexArray.gety(g)), l, r.previousVertex, r.absOffsetX - r.distanceFromAnchor + 1, e);
12358
12358
  }
12359
12359
  function Tr(h, e, r) {
12360
12360
  const a = h + r.translation[0], l = e + r.translation[1];
@@ -12368,7 +12368,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12368
12368
  }
12369
12369
  return { x: h / r.width * 2 - 1, y: e / r.height * 2 - 1 };
12370
12370
  }
12371
- function Qt(h, e, r) {
12371
+ function Xt(h, e, r) {
12372
12372
  return r.transform.projectTileCoordinates(h, e, r.unwrappedTileID, r.getElevation);
12373
12373
  }
12374
12374
  function Xi(h, e, r) {
@@ -14609,7 +14609,7 @@ uniform ${z} ${F} u_${O};
14609
14609
  } else h.tr.setRoll(h.endEulerAngles.roll), h.tr.setPitch(h.endEulerAngles.pitch), h.tr.setBearing(h.endEulerAngles.bearing);
14610
14610
  else h.tr.setRoll(s.B.number(h.startEulerAngles.roll, h.endEulerAngles.roll, h.k)), h.tr.setPitch(s.B.number(h.startEulerAngles.pitch, h.endEulerAngles.pitch, h.k)), h.tr.setBearing(s.B.number(h.startEulerAngles.bearing, h.endEulerAngles.bearing, h.k));
14611
14611
  }
14612
- function Be(h, e, r, a, l) {
14612
+ function De(h, e, r, a, l) {
14613
14613
  const d = l.padding, g = Rt(l.worldSize, r.getNorthWest()), b = Rt(l.worldSize, r.getNorthEast()), S = Rt(l.worldSize, r.getSouthEast()), E = Rt(l.worldSize, r.getSouthWest()), z = s.ab(-a), F = g.rotate(z), O = b.rotate(z), W = S.rotate(z), G = E.rotate(z), se = new s.P(Math.max(F.x, O.x, G.x, W.x), Math.max(F.y, O.y, G.y, W.y)), ne = new s.P(Math.min(F.x, O.x, G.x, W.x), Math.min(F.y, O.y, G.y, W.y)), oe = se.sub(ne), de = (l.width - (d.left + d.right + e.left + e.right)) / oe.x, _e = (l.height - (d.top + d.bottom + e.top + e.bottom)) / oe.y;
14614
14614
  if (_e < 0 || de < 0) return void Qe();
14615
14615
  const ye = Math.min(s.ah(l.scale * Math.min(de, _e)), h.maxZoom), xe = s.P.convert(h.offset), ke = new s.P((e.left - e.right) / 2, (e.top - e.bottom) / 2).rotate(s.ab(a)), we = xe.add(ke).mult(l.scale / s.ac(ye));
@@ -14629,7 +14629,7 @@ uniform ${z} ${F} u_${O};
14629
14629
  e.around.distSqr(r.centerPoint) < 0.01 || r.setLocationAtPoint(a, e.around);
14630
14630
  }
14631
14631
  cameraForBoxAndBearing(e, r, a, l, d) {
14632
- return Be(e, r, a, l, d);
14632
+ return De(e, r, a, l, d);
14633
14633
  }
14634
14634
  handleJumpToCenterZoom(e, r) {
14635
14635
  e.zoom !== (r.zoom !== void 0 ? +r.zoom : e.zoom) && e.setZoom(+r.zoom), r.center !== void 0 && e.setCenter(s.Q.convert(r.center));
@@ -14685,13 +14685,13 @@ uniform ${z} ${F} u_${O};
14685
14685
  }
14686
14686
  }
14687
14687
  ot.ReadOnly = !1, ot.ReadWrite = !0, ot.disabled = new ot(519, ot.ReadOnly, [0, 1]);
14688
- const Xt = 7680;
14688
+ const Jt = 7680;
14689
14689
  class mt {
14690
14690
  constructor(e, r, a, l, d, g) {
14691
14691
  this.test = e, this.ref = r, this.mask = a, this.fail = l, this.depthFail = d, this.pass = g;
14692
14692
  }
14693
14693
  }
14694
- mt.disabled = new mt({ func: 519, mask: 0 }, 0, 0, Xt, Xt, Xt);
14694
+ mt.disabled = new mt({ func: 519, mask: 0 }, 0, 0, Jt, Jt, Jt);
14695
14695
  const Wt = /* @__PURE__ */ new WeakMap();
14696
14696
  function Rr(h) {
14697
14697
  var e;
@@ -15819,7 +15819,7 @@ uniform ${z} ${F} u_${O};
15819
15819
  r.setCenter(ya(e.panDelta, r).wrap()), r.setZoom(d + bi(l, r.center.lat));
15820
15820
  }
15821
15821
  cameraForBoxAndBearing(e, r, a, l, d) {
15822
- const g = Be(e, r, a, l, d), b = r.left / d.width * 2 - 1, S = (d.width - r.right) / d.width * 2 - 1, E = r.top / d.height * -2 + 1, z = (d.height - r.bottom) / d.height * -2 + 1, F = s.bq(a.getWest(), a.getEast()) < 0, O = F ? a.getEast() : a.getWest(), W = F ? a.getWest() : a.getEast(), G = Math.max(a.getNorth(), a.getSouth()), se = Math.min(a.getNorth(), a.getSouth()), ne = O + 0.5 * s.bq(O, W), oe = G + 0.5 * s.bq(G, se), de = d.clone();
15822
+ const g = De(e, r, a, l, d), b = r.left / d.width * 2 - 1, S = (d.width - r.right) / d.width * 2 - 1, E = r.top / d.height * -2 + 1, z = (d.height - r.bottom) / d.height * -2 + 1, F = s.bq(a.getWest(), a.getEast()) < 0, O = F ? a.getEast() : a.getWest(), W = F ? a.getWest() : a.getEast(), G = Math.max(a.getNorth(), a.getSouth()), se = Math.min(a.getNorth(), a.getSouth()), ne = O + 0.5 * s.bq(O, W), oe = G + 0.5 * s.bq(G, se), de = d.clone();
15823
15823
  de.setCenter(g.center), de.setBearing(g.bearing), de.setPitch(0), de.setRoll(0), de.setZoom(g.zoom);
15824
15824
  const _e = de.modelViewProjectionMatrix, ye = [xi(a.getNorthWest()), xi(a.getNorthEast()), xi(a.getSouthWest()), xi(a.getSouthEast()), xi(new s.Q(W, oe)), xi(new s.Q(O, oe)), xi(new s.Q(ne, G)), xi(new s.Q(ne, se))], xe = xi(g.center);
15825
15825
  let ke = Number.POSITIVE_INFINITY;
@@ -17293,7 +17293,7 @@ uniform ${z} ${F} u_${O};
17293
17293
  for (let ne = 0; ne < O.length; ne++) {
17294
17294
  const oe = O.get(ne), de = oe.hidden || !oe.crossTileID || h.allowVerticalPlacement && !oe.placedOrientation ? null : a[oe.crossTileID];
17295
17295
  if (de) {
17296
- const _e = new s.P(oe.anchorX, oe.anchorY), ye = { getElevation: F, width: l.width, height: l.height, pitchedLabelPlaneMatrix: d, pitchWithMap: r, transform: l, tileAnchorPoint: _e, translation: E, unwrappedTileID: z }, xe = r ? Qt(_e.x, _e.y, ye) : Tr(_e.x, _e.y, ye), ke = fr(l.cameraToCenterDistance, xe.signedDistanceFromCamera);
17296
+ const _e = new s.P(oe.anchorX, oe.anchorY), ye = { getElevation: F, width: l.width, height: l.height, pitchedLabelPlaneMatrix: d, pitchWithMap: r, transform: l, tileAnchorPoint: _e, translation: E, unwrappedTileID: z }, xe = r ? Xt(_e.x, _e.y, ye) : Tr(_e.x, _e.y, ye), ke = fr(l.cameraToCenterDistance, xe.signedDistanceFromCamera);
17297
17297
  let we = s.am(h.textSizeData, b, oe) * ke / s.ay;
17298
17298
  r && (we *= h.tilePixelRatio / g);
17299
17299
  const { width: Le, height: Ze, anchor: qe, textOffset: Ue, textBoxScale: He } = de, yt = rp(qe, Le, Ze, Ue, He, we), ft = l.getPitchedTextCorrection(_e.x + E[0], _e.y + E[1], z), it = ip(xe.point, ye, e, yt, -l.bearingInRadians, ft), Ct = h.allowVerticalPlacement && oe.placedOrientation === s.al.vertical ? Math.PI / 2 : 0;
@@ -21005,7 +21005,7 @@ ${W.shaderPreludeCode.vertexSource}`, define: W.shaderDefine }, defaultProjectio
21005
21005
  onRemove() {
21006
21006
  T.remove(this._container), this._map.off("terrain", this._updateTerrainIcon), this._map = void 0;
21007
21007
  }
21008
- }, v.TwoFingersTouchPitchHandler = Ga, v.TwoFingersTouchRotateHandler = St, v.TwoFingersTouchZoomHandler = so, v.TwoFingersTouchZoomRotateHandler = Jl, v.VectorTileSource = Gt, v.VideoSource = $r, v.addSourceType = (h, e) => s._(void 0, void 0, void 0, function* () {
21008
+ }, v.TwoFingersTouchPitchHandler = Ga, v.TwoFingersTouchRotateHandler = St, v.TwoFingersTouchZoomHandler = so, v.TwoFingersTouchZoomRotateHandler = Jl, v.VectorTileSource = Kt, v.VideoSource = $r, v.addSourceType = (h, e) => s._(void 0, void 0, void 0, function* () {
21009
21009
  if (Ei(h)) throw new Error(`A source type called "${h}" already exists.`);
21010
21010
  ((r, a) => {
21011
21011
  Ur[r] = a;
@@ -21083,19 +21083,19 @@ const kr = (p, u) => {
21083
21083
  var A;
21084
21084
  return ((A = u.config) == null ? void 0 : A.title) || "";
21085
21085
  });
21086
- return (A, P) => (De(), Ke("div", {
21086
+ return (A, P) => (Be(), Ke("div", {
21087
21087
  class: "legend-widget flex flex-col bg-white border border-stone-200 shadow-2xs rounded-xl z-10 relative",
21088
21088
  style: oa({ width: p.config.width || "100%" })
21089
21089
  }, [
21090
- x.value ? (De(), Ke("div", Zv, [
21091
- $("h2", Kv, Et(x.value), 1)
21092
- ])) : Kt("", !0),
21093
- $("div", Gv, [
21094
- (De(!0), Ke(ur, null, ti(y.value, (v) => (De(), Ke("div", {
21090
+ x.value ? (Be(), Ke("div", Zv, [
21091
+ Y("h2", Kv, Et(x.value), 1)
21092
+ ])) : Qt("", !0),
21093
+ Y("div", Gv, [
21094
+ (Be(!0), Ke(ur, null, ti(y.value, (v) => (Be(), Ke("div", {
21095
21095
  class: "flex items-center",
21096
21096
  key: v.label
21097
21097
  }, [
21098
- $("span", {
21098
+ Y("span", {
21099
21099
  class: nn(["shrink-0 size-2.5 inline-block me-2.5", [
21100
21100
  v.shape === "square" ? "rounded-sm" : "",
21101
21101
  v.shape === "circle" ? "rounded-full" : "",
@@ -21104,9 +21104,9 @@ const kr = (p, u) => {
21104
21104
  ]]),
21105
21105
  style: oa({ backgroundColor: v.color })
21106
21106
  }, null, 6),
21107
- $("span", Jv, [
21108
- $("span", null, Et(v.label), 1),
21109
- v.count !== void 0 ? (De(), Ke("span", Xv, " (" + Et(v.count) + ") ", 1)) : Kt("", !0)
21107
+ Y("span", Jv, [
21108
+ Y("span", null, Et(v.label), 1),
21109
+ v.count !== void 0 ? (Be(), Ke("span", Xv, " (" + Et(v.count) + ") ", 1)) : Qt("", !0)
21110
21110
  ])
21111
21111
  ]))), 128))
21112
21112
  ])
@@ -21206,18 +21206,18 @@ const kr = (p, u) => {
21206
21206
  (s = u.config) != null && s.default && (y.value = u.config.default);
21207
21207
  }), (s, D) => {
21208
21208
  const R = dr("VsPopover");
21209
- return De(), Ke("div", e0, [
21210
- (De(!0), Ke(ur, null, ti(x.value, (M) => (De(), ni(R, {
21209
+ return Be(), Ke("div", e0, [
21210
+ (Be(!0), Ke(ur, null, ti(x.value, (M) => (Be(), ni(R, {
21211
21211
  trigger: "hover",
21212
21212
  placement: "top",
21213
21213
  key: M.id
21214
21214
  }, {
21215
21215
  reference: _r(() => [
21216
- $("div", {
21216
+ Y("div", {
21217
21217
  class: nn(["w-14 h-14 flex items-center justify-center bg-white rounded-xl shadow-2xs cursor-pointer transition-all border-4", y.value === M.id ? "border-blue-400" : "border-transparent"]),
21218
21218
  onClick: (U) => v(M.id)
21219
21219
  }, [
21220
- $("img", {
21220
+ Y("img", {
21221
21221
  src: M.image,
21222
21222
  alt: M.title,
21223
21223
  class: nn(["object-cover rounded-lg", M.id === "__none__" ? "w-10 h-10" : "w-12 h-12"])
@@ -21677,13 +21677,13 @@ const y0 = { class: "w-full flex flex-col bg-white border border-stone-200 shado
21677
21677
  y.history && s(T);
21678
21678
  },
21679
21679
  { deep: !0 }
21680
- ), (T, k) => (De(), Ke("div", y0, [
21681
- k[2] || (k[2] = $("div", { class: "p-5 pb-3 flex justify-between items-center" }, [
21682
- $("h2", { class: "inline-block font-semibold text-lg text-gray-800" }, "Шари")
21680
+ ), (T, k) => (Be(), Ke("div", y0, [
21681
+ k[2] || (k[2] = Y("div", { class: "p-5 pb-3 flex justify-between items-center" }, [
21682
+ Y("h2", { class: "inline-block font-semibold text-lg text-gray-800" }, "Шари")
21683
21683
  ], -1)),
21684
- $("div", _0, [
21685
- p.config.search ? (De(), Ke("div", v0, [
21686
- Ss($("input", {
21684
+ Y("div", _0, [
21685
+ p.config.search ? (Be(), Ke("div", v0, [
21686
+ Ss(Y("input", {
21687
21687
  type: "text",
21688
21688
  "onUpdate:modelValue": k[0] || (k[0] = (V) => A.value = V),
21689
21689
  placeholder: "Введіть назву шару...",
@@ -21691,36 +21691,36 @@ const y0 = { class: "w-full flex flex-col bg-white border border-stone-200 shado
21691
21691
  }, null, 512), [
21692
21692
  [Lc, A.value]
21693
21693
  ]),
21694
- (De(), Ke("svg", x0, k[1] || (k[1] = [
21695
- $("path", {
21694
+ (Be(), Ke("svg", x0, k[1] || (k[1] = [
21695
+ Y("path", {
21696
21696
  d: "M7.33333 13.1667C10.2789 13.1667 12.6667 10.7789 12.6667 7.83333C12.6667 4.88781 10.2789 2.5 7.33333 2.5C4.38781 2.5 2 4.88781 2 7.83333C2 10.7789 4.38781 13.1667 7.33333 13.1667Z",
21697
21697
  stroke: "#6B7280",
21698
21698
  "stroke-linecap": "round",
21699
21699
  "stroke-linejoin": "round"
21700
21700
  }, null, -1),
21701
- $("path", {
21701
+ Y("path", {
21702
21702
  d: "M13.9995 14.5L11.1328 11.6333",
21703
21703
  stroke: "#6B7280",
21704
21704
  "stroke-linecap": "round",
21705
21705
  "stroke-linejoin": "round"
21706
21706
  }, null, -1)
21707
21707
  ])))
21708
- ])) : Kt("", !0),
21709
- p.config.allow_toggle_all ? (De(), Ke("div", b0, [
21710
- $("button", {
21708
+ ])) : Qt("", !0),
21709
+ p.config.allow_toggle_all ? (Be(), Ke("div", b0, [
21710
+ Y("button", {
21711
21711
  onClick: I,
21712
21712
  class: "w-full py-[7px] bg-blue-500 text-white rounded-lg hover:bg-blue-600 transition-colors"
21713
21713
  }, Et(R.value ? "Вимкнути всі" : "Увімкнути всі"), 1)
21714
- ])) : Kt("", !0),
21715
- $("div", w0, [
21716
- $("ul", S0, [
21717
- (De(!0), Ke(ur, null, ti(D.value, (V) => (De(), Ke("li", {
21714
+ ])) : Qt("", !0),
21715
+ Y("div", w0, [
21716
+ Y("ul", S0, [
21717
+ (Be(!0), Ke(ur, null, ti(D.value, (V) => (Be(), Ke("li", {
21718
21718
  key: V.id,
21719
21719
  class: "flex flex-wrap justify-between items-center gap-x-2"
21720
21720
  }, [
21721
- $("label", A0, [
21722
- $("span", k0, [
21723
- Ss($("input", {
21721
+ Y("label", A0, [
21722
+ Y("span", k0, [
21723
+ Ss(Y("input", {
21724
21724
  class: "dataset-checkbox",
21725
21725
  type: "checkbox",
21726
21726
  "onUpdate:modelValue": (K) => V.visible = K,
@@ -21729,10 +21729,10 @@ const y0 = { class: "w-full flex flex-col bg-white border border-stone-200 shado
21729
21729
  [kd, V.visible]
21730
21730
  ])
21731
21731
  ]),
21732
- $("span", C0, Et(V.title || V.name || V.label), 1)
21732
+ Y("span", C0, Et(V.title || V.name || V.label), 1)
21733
21733
  ])
21734
21734
  ]))), 128)),
21735
- A.value && D.value.length === 0 ? (De(), Ke("li", P0, " Шарів не знайдено ")) : Kt("", !0)
21735
+ A.value && D.value.length === 0 ? (Be(), Ke("li", P0, " Шарів не знайдено ")) : Qt("", !0)
21736
21736
  ])
21737
21737
  ])
21738
21738
  ])
@@ -21763,10 +21763,10 @@ const y0 = { class: "w-full flex flex-col bg-white border border-stone-200 shado
21763
21763
  return (P, v) => {
21764
21764
  var D, R;
21765
21765
  const s = dr("VsPopover");
21766
- return De(), Ke("div", I0, [
21767
- y.value || (D = A.value) != null && D.length ? (De(), Ke("div", M0, [
21768
- $("h2", L0, Et(y.value), 1),
21769
- (R = A.value) != null && R.length ? (De(), ni(s, {
21766
+ return Be(), Ke("div", I0, [
21767
+ y.value || (D = A.value) != null && D.length ? (Be(), Ke("div", M0, [
21768
+ Y("h2", L0, Et(y.value), 1),
21769
+ (R = A.value) != null && R.length ? (Be(), ni(s, {
21770
21770
  key: 0,
21771
21771
  placement: "bottom"
21772
21772
  }, {
@@ -21776,27 +21776,27 @@ const y0 = { class: "w-full flex flex-col bg-white border border-stone-200 shado
21776
21776
  placement: "right"
21777
21777
  }, {
21778
21778
  reference: _r(() => v[0] || (v[0] = [
21779
- $("div", { class: "flex items-center justify-center h-8 w-8 transition-colors rounded-full hover:bg-gray-100 cursor-pointer" }, [
21780
- $("svg", {
21779
+ Y("div", { class: "flex items-center justify-center h-8 w-8 transition-colors rounded-full hover:bg-gray-100 cursor-pointer" }, [
21780
+ Y("svg", {
21781
21781
  width: "16",
21782
21782
  height: "16",
21783
21783
  viewBox: "0 0 24 24",
21784
21784
  fill: "none",
21785
21785
  xmlns: "http://www.w3.org/2000/svg"
21786
21786
  }, [
21787
- $("path", {
21787
+ Y("path", {
21788
21788
  d: "M4 12H20",
21789
21789
  stroke: "#000000",
21790
21790
  "stroke-linecap": "round",
21791
21791
  "stroke-linejoin": "round"
21792
21792
  }),
21793
- $("path", {
21793
+ Y("path", {
21794
21794
  d: "M4 6H20",
21795
21795
  stroke: "#000000",
21796
21796
  "stroke-linecap": "round",
21797
21797
  "stroke-linejoin": "round"
21798
21798
  }),
21799
- $("path", {
21799
+ Y("path", {
21800
21800
  d: "M4 18H20",
21801
21801
  stroke: "#000000",
21802
21802
  "stroke-linecap": "round",
@@ -21812,11 +21812,11 @@ const y0 = { class: "w-full flex flex-col bg-white border border-stone-200 shado
21812
21812
  })
21813
21813
  ]),
21814
21814
  default: _r(() => [
21815
- $("div", R0, [
21816
- (De(!0), Ke(ur, null, ti(A.value, (M) => (De(), Ke("div", {
21815
+ Y("div", R0, [
21816
+ (Be(!0), Ke(ur, null, ti(A.value, (M) => (Be(), Ke("div", {
21817
21817
  key: M.label
21818
21818
  }, [
21819
- $("a", {
21819
+ Y("a", {
21820
21820
  href: M.url,
21821
21821
  class: "text-sm text-gray-800 dark:text-neutral-200 hover:bg-gray-100 hover:text-blue-600 transition-colors rounded px-2 py-1 block"
21822
21822
  }, Et(M.label), 9, z0)
@@ -21824,10 +21824,10 @@ const y0 = { class: "w-full flex flex-col bg-white border border-stone-200 shado
21824
21824
  ])
21825
21825
  ]),
21826
21826
  _: 1
21827
- })) : Kt("", !0)
21828
- ])) : Kt("", !0),
21829
- $("div", D0, [
21830
- $("div", { innerHTML: x.value }, null, 8, B0)
21827
+ })) : Qt("", !0)
21828
+ ])) : Qt("", !0),
21829
+ Y("div", D0, [
21830
+ Y("div", { innerHTML: x.value }, null, 8, B0)
21831
21831
  ])
21832
21832
  ]);
21833
21833
  };
@@ -23608,15 +23608,15 @@ const {
23608
23608
  await yl(), T(), x("content-resize");
23609
23609
  }), (K, ie) => {
23610
23610
  var le;
23611
- return De(), Ke("div", mb, [
23612
- A.value ? (De(), Ke("div", gb, [
23613
- $("h2", yb, Et(A.value), 1),
23614
- $("button", {
23611
+ return Be(), Ke("div", mb, [
23612
+ A.value ? (Be(), Ke("div", gb, [
23613
+ Y("h2", yb, Et(A.value), 1),
23614
+ Y("button", {
23615
23615
  type: "button",
23616
23616
  class: "size-8 inline-flex justify-center items-center gap-x-2 rounded-full border border-transparent bg-gray-100 text-gray-800 hover:bg-gray-200 focus:outline-none focus:bg-gray-200 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-700 dark:hover:bg-neutral-600 dark:text-neutral-400 dark:focus:bg-neutral-600 ml-2",
23617
23617
  onClick: ie[0] || (ie[0] = (Pe) => x("close"))
23618
23618
  }, ie[1] || (ie[1] = [
23619
- $("svg", {
23619
+ Y("svg", {
23620
23620
  class: "shrink-0 size-4 cursor-pointer",
23621
23621
  xmlns: "http://www.w3.org/2000/svg",
23622
23622
  width: "24",
@@ -23628,47 +23628,47 @@ const {
23628
23628
  "stroke-linecap": "round",
23629
23629
  "stroke-linejoin": "round"
23630
23630
  }, [
23631
- $("path", { d: "M18 6 6 18" }),
23632
- $("path", { d: "m6 6 12 12" })
23631
+ Y("path", { d: "M18 6 6 18" }),
23632
+ Y("path", { d: "m6 6 12 12" })
23633
23633
  ], -1)
23634
23634
  ]))
23635
- ])) : Kt("", !0),
23636
- M.value > 1 ? (De(), Ke("div", _b, [
23637
- $("button", {
23635
+ ])) : Qt("", !0),
23636
+ M.value > 1 ? (Be(), Ke("div", _b, [
23637
+ Y("button", {
23638
23638
  type: "button",
23639
23639
  class: nn([{
23640
23640
  "opacity-flex items-center justify-between border-b px-[16px] py-[8px]50 pointer-events-none": R.value === 1
23641
23641
  }, "min-h-[34px] min-w-[34px] py-2 px-2.5 inline-flex justify-center items-center gap-x-2 text-sm rounded-lg text-stone-800 hover:bg-stone-100 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-stone-100"]),
23642
23642
  onClick: V
23643
23643
  }, " ◀ ", 2),
23644
- $("div", vb, [
23645
- $("span", xb, Et(R.value), 1),
23646
- ie[2] || (ie[2] = $("span", { class: "min-h-[34px] flex justify-center items-center text-stone-500 py-2 px-1.5 text-sm" }, "з", -1)),
23647
- $("span", bb, Et(M.value), 1)
23644
+ Y("div", vb, [
23645
+ Y("span", xb, Et(R.value), 1),
23646
+ ie[2] || (ie[2] = Y("span", { class: "min-h-[34px] flex justify-center items-center text-stone-500 py-2 px-1.5 text-sm" }, "з", -1)),
23647
+ Y("span", bb, Et(M.value), 1)
23648
23648
  ]),
23649
- $("button", {
23649
+ Y("button", {
23650
23650
  type: "button",
23651
23651
  onClick: k,
23652
23652
  class: nn([{ "opacity-50 pointer-events-none": R.value === M.value }, "min-h-[34px] min-w-[34px] py-2 px-2.5 inline-flex justify-center items-center gap-x-2 text-sm rounded-lg text-stone-800 hover:bg-stone-100 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-stone-100"])
23653
23653
  }, " ▶ ", 2)
23654
- ])) : Kt("", !0),
23655
- $("div", wb, [
23656
- v.value ? (De(), Ke("div", Sb, "Завантаження даних...")) : s.value ? (De(), Ke("div", Ab, "Помилка завантаження даних")) : (De(), Ke("div", kb, [
23657
- (le = U.value) != null && le.html ? (De(), Ke("div", {
23654
+ ])) : Qt("", !0),
23655
+ Y("div", wb, [
23656
+ v.value ? (Be(), Ke("div", Sb, "Завантаження даних...")) : s.value ? (Be(), Ke("div", Ab, "Помилка завантаження даних")) : (Be(), Ke("div", kb, [
23657
+ (le = U.value) != null && le.html ? (Be(), Ke("div", {
23658
23658
  key: 0,
23659
23659
  innerHTML: U.value.html,
23660
23660
  class: "custom-table-html border-b"
23661
- }, null, 8, Tb)) : Object.keys(I.value).length ? (De(), Ke("div", Cb, [
23662
- $("dl", Pb, [
23663
- (De(!0), Ke(ur, null, ti(I.value, (Pe, te) => (De(), Ke("div", {
23661
+ }, null, 8, Tb)) : Object.keys(I.value).length ? (Be(), Ke("div", Cb, [
23662
+ Y("dl", Pb, [
23663
+ (Be(!0), Ke(ur, null, ti(I.value, (Pe, te) => (Be(), Ke("div", {
23664
23664
  key: te,
23665
23665
  class: "grid grid-cols-1 gap-1 py-3 even:bg-gray-50 sm:grid-cols-3 sm:gap-4"
23666
23666
  }, [
23667
- $("dt", Eb, Et(te), 1),
23668
- $("dd", Ib, Et(Pe), 1)
23667
+ Y("dt", Eb, Et(te), 1),
23668
+ Y("dd", Ib, Et(Pe), 1)
23669
23669
  ]))), 128))
23670
23670
  ])
23671
- ])) : (De(), Ke("div", Mb, "Даних не знайдено."))
23671
+ ])) : (Be(), Ke("div", Mb, "Даних не знайдено."))
23672
23672
  ]))
23673
23673
  ])
23674
23674
  ]);
@@ -23719,17 +23719,17 @@ const {
23719
23719
  return ca(() => {
23720
23720
  var D;
23721
23721
  (D = u.config) != null && D.layer && (mo(u.map, u.config.layer), x.value = new Array(u.config.layer.style.rules.length).fill(!1));
23722
- }), (D, R) => (De(), Ke("div", Lb, [
23723
- y.value ? (De(), Ke("div", Rb, [
23724
- $("div", null, [
23725
- $("h2", zb, Et(y.value), 1)
23722
+ }), (D, R) => (Be(), Ke("div", Lb, [
23723
+ y.value ? (Be(), Ke("div", Rb, [
23724
+ Y("div", null, [
23725
+ Y("h2", zb, Et(y.value), 1)
23726
23726
  ])
23727
- ])) : Kt("", !0),
23728
- $("div", Db, [
23729
- $("div", Bb, [
23730
- $("div", Ob, [
23731
- A.value ? (De(), Ke("div", Fb, [
23732
- (De(!0), Ke(ur, null, ti(p.config.layer.style.rules, (M, U) => (De(), Ke("div", {
23727
+ ])) : Qt("", !0),
23728
+ Y("div", Db, [
23729
+ Y("div", Bb, [
23730
+ Y("div", Ob, [
23731
+ A.value ? (Be(), Ke("div", Fb, [
23732
+ (Be(!0), Ke(ur, null, ti(p.config.layer.style.rules, (M, U) => (Be(), Ke("div", {
23733
23733
  key: U,
23734
23734
  class: "flex flex-col justify-center overflow-hidden text-xs text-white text-center whitespace-nowrap",
23735
23735
  style: oa({ width: `${v(M.count)}%`, backgroundColor: M.color }),
@@ -23738,24 +23738,24 @@ const {
23738
23738
  "aria-valuemin": "0",
23739
23739
  "aria-valuemax": "100"
23740
23740
  }, null, 12, Vb))), 128))
23741
- ])) : Kt("", !0),
23742
- $("ul", null, [
23743
- (De(!0), Ke(ur, null, ti(p.config.layer.style.rules, (M, U) => (De(), Ke("li", { key: U }, [
23744
- $("div", qb, [
23745
- $("label", {
23741
+ ])) : Qt("", !0),
23742
+ Y("ul", null, [
23743
+ (Be(!0), Ke(ur, null, ti(p.config.layer.style.rules, (M, U) => (Be(), Ke("li", { key: U }, [
23744
+ Y("div", qb, [
23745
+ Y("label", {
23746
23746
  for: `filter-${U}`,
23747
23747
  class: "flex items-center w-full cursor-pointer"
23748
23748
  }, [
23749
- $("div", {
23749
+ Y("div", {
23750
23750
  class: "w-[18px] h-[18px] border rounded-[4px] flex items-center justify-center",
23751
23751
  style: oa({
23752
23752
  background: x.value[U] ? M.color || "#2563eb" : "#fff",
23753
23753
  borderColor: x.value[U] ? M.color || "#2563eb" : M.color || "#d9d9d9"
23754
23754
  })
23755
23755
  }, [
23756
- x.value[U] ? (De(), Ke("img", Nb)) : Kt("", !0)
23756
+ x.value[U] ? (Be(), Ke("img", Nb)) : Qt("", !0)
23757
23757
  ], 4),
23758
- Ss($("input", {
23758
+ Ss(Y("input", {
23759
23759
  type: "checkbox",
23760
23760
  id: `filter-${U}`,
23761
23761
  "onUpdate:modelValue": (I) => x.value[U] = I,
@@ -23765,8 +23765,8 @@ const {
23765
23765
  }, null, 40, jb), [
23766
23766
  [kd, x.value[U]]
23767
23767
  ]),
23768
- $("span", Hb, Et(M.label || M.text), 1),
23769
- A.value ? (De(), Ke("span", Wb, "(" + Et(M.count) + ")", 1)) : Kt("", !0)
23768
+ Y("span", Hb, Et(M.label || M.text), 1),
23769
+ A.value ? (Be(), Ke("span", Wb, "(" + Et(M.count) + ")", 1)) : Qt("", !0)
23770
23770
  ], 8, Ub)
23771
23771
  ])
23772
23772
  ]))), 128))
@@ -23811,36 +23811,36 @@ const {
23811
23811
  };
23812
23812
  return (s, D) => {
23813
23813
  var R, M, U, I, T;
23814
- return De(), Ke("div", Kb, [
23815
- $("label", {
23814
+ return Be(), Ke("div", Kb, [
23815
+ Y("label", {
23816
23816
  class: "flex items-center w-full cursor-pointer",
23817
23817
  for: p.layer.id
23818
23818
  }, [
23819
- $("div", Jb, [
23820
- $("input", {
23819
+ Y("div", Jb, [
23820
+ Y("input", {
23821
23821
  id: p.layer.id,
23822
23822
  type: "checkbox",
23823
23823
  checked: A.value,
23824
23824
  onChange: D[0] || (D[0] = (k) => v(k.target.checked)),
23825
23825
  class: "custom-checkbox-input"
23826
23826
  }, null, 40, Xb),
23827
- $("div", Qb, [
23828
- A.value ? (De(), Ke("svg", Yb, D[1] || (D[1] = [
23829
- $("path", {
23827
+ Y("div", Qb, [
23828
+ A.value ? (Be(), Ke("svg", Yb, D[1] || (D[1] = [
23829
+ Y("path", {
23830
23830
  d: "M10.6663 1L4.24967 7.41667L1.33301 4.5",
23831
23831
  stroke: "#fff",
23832
23832
  "stroke-linecap": "round",
23833
23833
  "stroke-linejoin": "round"
23834
23834
  }, null, -1)
23835
- ]))) : Kt("", !0)
23835
+ ]))) : Qt("", !0)
23836
23836
  ])
23837
23837
  ]),
23838
- $("div", $b, [
23839
- $("div", {
23838
+ Y("div", $b, [
23839
+ Y("div", {
23840
23840
  class: "whitespace-nowrap text text-ellipsis max-w-[260px] overflow-hidden text-[13px] text-[#4b5563]",
23841
23841
  title: (R = p.layer) == null ? void 0 : R.name
23842
23842
  }, Et(((M = p.layer) == null ? void 0 : M.name) || ((U = p.layer) == null ? void 0 : U.title)), 9, e1),
23843
- isNaN(P((I = p.layer) == null ? void 0 : I.count)) ? Kt("", !0) : (De(), Ke("div", t1, Et(P((T = p.layer) == null ? void 0 : T.count)), 1))
23843
+ isNaN(P((I = p.layer) == null ? void 0 : I.count)) ? Qt("", !0) : (Be(), Ke("div", t1, Et(P((T = p.layer) == null ? void 0 : T.count)), 1))
23844
23844
  ])
23845
23845
  ], 8, Gb)
23846
23846
  ]);
@@ -23859,25 +23859,25 @@ const {
23859
23859
  class: "lucide lucide-zoom-in"
23860
23860
  };
23861
23861
  function o1(p, u) {
23862
- return De(), Ke("svg", s1, u[0] || (u[0] = [
23863
- $("circle", {
23862
+ return Be(), Ke("svg", s1, u[0] || (u[0] = [
23863
+ Y("circle", {
23864
23864
  cx: "11",
23865
23865
  cy: "11",
23866
23866
  r: "8"
23867
23867
  }, null, -1),
23868
- $("line", {
23868
+ Y("line", {
23869
23869
  x1: "21",
23870
23870
  x2: "16.65",
23871
23871
  y1: "21",
23872
23872
  y2: "16.65"
23873
23873
  }, null, -1),
23874
- $("line", {
23874
+ Y("line", {
23875
23875
  x1: "11",
23876
23876
  x2: "11",
23877
23877
  y1: "8",
23878
23878
  y2: "14"
23879
23879
  }, null, -1),
23880
- $("line", {
23880
+ Y("line", {
23881
23881
  x1: "8",
23882
23882
  x2: "14",
23883
23883
  y1: "11",
@@ -23898,14 +23898,14 @@ const a1 = /* @__PURE__ */ kr(n1, [["render", o1]]), l1 = {}, c1 = {
23898
23898
  class: "lucide lucide-info"
23899
23899
  };
23900
23900
  function u1(p, u) {
23901
- return De(), Ke("svg", c1, u[0] || (u[0] = [
23902
- $("circle", {
23901
+ return Be(), Ke("svg", c1, u[0] || (u[0] = [
23902
+ Y("circle", {
23903
23903
  cx: "12",
23904
23904
  cy: "12",
23905
23905
  r: "10"
23906
23906
  }, null, -1),
23907
- $("path", { d: "M12 16v-4" }, null, -1),
23908
- $("path", { d: "M12 8h.01" }, null, -1)
23907
+ Y("path", { d: "M12 16v-4" }, null, -1),
23908
+ Y("path", { d: "M12 8h.01" }, null, -1)
23909
23909
  ]));
23910
23910
  }
23911
23911
  const h1 = /* @__PURE__ */ kr(l1, [["render", u1]]), p1 = {}, d1 = {
@@ -23921,17 +23921,17 @@ const h1 = /* @__PURE__ */ kr(l1, [["render", u1]]), p1 = {}, d1 = {
23921
23921
  class: "lucide lucide-table"
23922
23922
  };
23923
23923
  function f1(p, u) {
23924
- return De(), Ke("svg", d1, u[0] || (u[0] = [
23925
- $("path", { d: "M12 3v18" }, null, -1),
23926
- $("rect", {
23924
+ return Be(), Ke("svg", d1, u[0] || (u[0] = [
23925
+ Y("path", { d: "M12 3v18" }, null, -1),
23926
+ Y("rect", {
23927
23927
  width: "18",
23928
23928
  height: "18",
23929
23929
  x: "3",
23930
23930
  y: "3",
23931
23931
  rx: "2"
23932
23932
  }, null, -1),
23933
- $("path", { d: "M3 9h18" }, null, -1),
23934
- $("path", { d: "M3 15h18" }, null, -1)
23933
+ Y("path", { d: "M3 9h18" }, null, -1),
23934
+ Y("path", { d: "M3 15h18" }, null, -1)
23935
23935
  ]));
23936
23936
  }
23937
23937
  const m1 = /* @__PURE__ */ kr(p1, [["render", f1]]), g1 = {}, y1 = {
@@ -23947,7 +23947,7 @@ const m1 = /* @__PURE__ */ kr(p1, [["render", f1]]), g1 = {}, y1 = {
23947
23947
  class: "lucide lucide-trash2"
23948
23948
  };
23949
23949
  function _1(p, u) {
23950
- return De(), Ke("svg", y1, u[0] || (u[0] = [
23950
+ return Be(), Ke("svg", y1, u[0] || (u[0] = [
23951
23951
  ia('<path d="M3 6h18"></path><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"></path><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"></path><line x1="10" x2="10" y1="11" y2="17"></line><line x1="14" x2="14" y1="11" y2="17"></line>', 5)
23952
23952
  ]));
23953
23953
  }
@@ -23964,18 +23964,18 @@ const v1 = /* @__PURE__ */ kr(g1, [["render", _1]]), x1 = {}, b1 = {
23964
23964
  class: "lucide lucide-more-vertical text-gray-600"
23965
23965
  };
23966
23966
  function w1(p, u) {
23967
- return De(), Ke("svg", b1, u[0] || (u[0] = [
23968
- $("circle", {
23967
+ return Be(), Ke("svg", b1, u[0] || (u[0] = [
23968
+ Y("circle", {
23969
23969
  cx: "12",
23970
23970
  cy: "12",
23971
23971
  r: "1"
23972
23972
  }, null, -1),
23973
- $("circle", {
23973
+ Y("circle", {
23974
23974
  cx: "12",
23975
23975
  cy: "5",
23976
23976
  r: "1"
23977
23977
  }, null, -1),
23978
- $("circle", {
23978
+ Y("circle", {
23979
23979
  cx: "12",
23980
23980
  cy: "19",
23981
23981
  r: "1"
@@ -23990,8 +23990,8 @@ const S1 = /* @__PURE__ */ kr(x1, [["render", w1]]), A1 = {}, k1 = {
23990
23990
  xmlns: "http://www.w3.org/2000/svg"
23991
23991
  };
23992
23992
  function T1(p, u) {
23993
- return De(), Ke("svg", k1, u[0] || (u[0] = [
23994
- $("path", {
23993
+ return Be(), Ke("svg", k1, u[0] || (u[0] = [
23994
+ Y("path", {
23995
23995
  d: "M1 9L5 5L1 1",
23996
23996
  stroke: "currentColor",
23997
23997
  "stroke-linecap": "round",
@@ -24122,10 +24122,10 @@ function E1() {
24122
24122
  function Hi(ce) {
24123
24123
  var ue = ce.element, pe = ce.draggables;
24124
24124
  return function(ve, Ce) {
24125
- var Oe = ve, lt = Oe.removedIndex, Qe = Oe.addedIndex, st = Oe.droppedElement, Be = null;
24126
- if (lt !== null && (Be = Bi(ue, lt), pe.splice(lt, 1)), Qe !== null) {
24125
+ var Oe = ve, lt = Oe.removedIndex, Qe = Oe.addedIndex, st = Oe.droppedElement, De = null;
24126
+ if (lt !== null && (De = Bi(ue, lt), pe.splice(lt, 1)), Qe !== null) {
24127
24127
  var Je = window.document.createElement("div");
24128
- Je.className = "".concat(v), Je.appendChild(Be && Be.firstElementChild ? Be.firstElementChild : st), ri(ue, Je, Qe), Qe >= pe.length ? pe.push(Je) : pe.splice(Qe, 0, Je);
24128
+ Je.className = "".concat(v), Je.appendChild(De && De.firstElementChild ? De.firstElementChild : st), ri(ue, Je, Qe), Qe >= pe.length ? pe.push(Je) : pe.splice(Qe, 0, Je);
24129
24129
  }
24130
24130
  Ce && Ce(ve);
24131
24131
  };
@@ -24143,34 +24143,34 @@ function E1() {
24143
24143
  } } };
24144
24144
  function wt(ce, ue, pe) {
24145
24145
  ce[I] = 0;
24146
- var ve = /* @__PURE__ */ function(Be) {
24146
+ var ve = /* @__PURE__ */ function(De) {
24147
24147
  return { get: function(Je, et) {
24148
- return Je[Be[et] || et];
24148
+ return Je[De[et] || et];
24149
24149
  }, set: function(Je, et, gt) {
24150
- Je[Be[et]] = Be.setters[et] ? Be.setters[et](gt) : gt;
24150
+ Je[De[et]] = De.setters[et] ? De.setters[et](gt) : gt;
24151
24151
  } };
24152
24152
  }(ue === "horizontal" ? Ci : _t), Ce = { translation: 0 };
24153
24153
  function Oe() {
24154
- lt(ce), function(Be) {
24155
- var Je = Be.getBoundingClientRect();
24156
- Ce.scaleX = Be.offsetWidth ? (Je.right - Je.left) / Be.offsetWidth : 1, Ce.scaleY = Be.offsetHeight ? (Je.bottom - Je.top) / Be.offsetHeight : 1;
24154
+ lt(ce), function(De) {
24155
+ var Je = De.getBoundingClientRect();
24156
+ Ce.scaleX = De.offsetWidth ? (Je.right - Je.left) / De.offsetWidth : 1, Ce.scaleY = De.offsetHeight ? (Je.bottom - Je.top) / De.offsetHeight : 1;
24157
24157
  }(ce);
24158
24158
  }
24159
- function lt(Be) {
24160
- Ce.rect = Br(Be);
24161
- var Je = ar(Be, Ce.rect);
24159
+ function lt(De) {
24160
+ Ce.rect = Br(De);
24161
+ var Je = ar(De, Ce.rect);
24162
24162
  cn(Je) && (Ce.lastVisibleRect = Ce.visibleRect), Ce.visibleRect = Je;
24163
24163
  }
24164
- function Qe(Be) {
24165
- var Je = Be;
24164
+ function Qe(De) {
24165
+ var Je = De;
24166
24166
  if (Je.tagName) {
24167
24167
  var et = Je.getBoundingClientRect();
24168
24168
  return ue === "vertical" ? et.bottom - et.top : et.right - et.left;
24169
24169
  }
24170
- return ve.get(Be, "size") * ve.get(Ce, "scale");
24170
+ return ve.get(De, "size") * ve.get(Ce, "scale");
24171
24171
  }
24172
- function st(Be) {
24173
- return ve.get(Be, "dragPosition");
24172
+ function st(De) {
24173
+ return ve.get(De, "dragPosition");
24174
24174
  }
24175
24175
  return window.addEventListener("resize", function() {
24176
24176
  lt(ce);
@@ -24178,53 +24178,53 @@ function E1() {
24178
24178
  Oe();
24179
24179
  }, 10), { getSize: Qe, getContainerRectangles: function() {
24180
24180
  return { rect: Ce.rect, visibleRect: Ce.visibleRect, lastVisibleRect: Ce.lastVisibleRect };
24181
- }, getBeginEndOfDOMRect: function(Be) {
24182
- return { begin: ve.get(Be, "begin"), end: ve.get(Be, "end") };
24181
+ }, getBeginEndOfDOMRect: function(De) {
24182
+ return { begin: ve.get(De, "begin"), end: ve.get(De, "end") };
24183
24183
  }, getBeginEndOfContainer: function() {
24184
24184
  return { begin: ve.get(Ce.rect, "begin") + Ce.translation, end: ve.get(Ce.rect, "end") + Ce.translation };
24185
24185
  }, getBeginEndOfContainerVisibleRect: function() {
24186
24186
  return { begin: ve.get(Ce.visibleRect, "begin") + Ce.translation, end: ve.get(Ce.visibleRect, "end") + Ce.translation };
24187
- }, getBeginEnd: function(Be) {
24187
+ }, getBeginEnd: function(De) {
24188
24188
  var Je = function(et) {
24189
24189
  return (ve.get(et, "distanceToParent") + (et[D] || 0)) * ve.get(Ce, "scale");
24190
- }(Be) + (ve.get(Ce.rect, "begin") + Ce.translation) - ve.get(ce, "scrollValue");
24191
- return { begin: Je, end: Je + Qe(Be) * ve.get(Ce, "scale") };
24192
- }, getAxisValue: st, setTranslation: function(Be, Je) {
24193
- Je ? ve.set(Be.style, "translate", Je) : Be.style.removeProperty("transform"), Be[D] = Je;
24194
- }, getTranslation: function(Be) {
24195
- return Be[D];
24196
- }, setVisibility: function(Be, Je) {
24197
- Be[R] !== void 0 && Be[R] === Je || (Je ? Be.style.removeProperty("visibility") : Be.style.visibility = "hidden", Be[R] = Je);
24198
- }, isVisible: function(Be) {
24199
- return Be[R] === void 0 || Be[R];
24200
- }, isInVisibleRect: function(Be, Je) {
24201
- var et = Ce.visibleRect, gt = et.left, dt = et.top, ot = et.right, Xt = et.bottom;
24202
- Xt - dt < 2 && (Xt = dt + 30);
24190
+ }(De) + (ve.get(Ce.rect, "begin") + Ce.translation) - ve.get(ce, "scrollValue");
24191
+ return { begin: Je, end: Je + Qe(De) * ve.get(Ce, "scale") };
24192
+ }, getAxisValue: st, setTranslation: function(De, Je) {
24193
+ Je ? ve.set(De.style, "translate", Je) : De.style.removeProperty("transform"), De[D] = Je;
24194
+ }, getTranslation: function(De) {
24195
+ return De[D];
24196
+ }, setVisibility: function(De, Je) {
24197
+ De[R] !== void 0 && De[R] === Je || (Je ? De.style.removeProperty("visibility") : De.style.visibility = "hidden", De[R] = Je);
24198
+ }, isVisible: function(De) {
24199
+ return De[R] === void 0 || De[R];
24200
+ }, isInVisibleRect: function(De, Je) {
24201
+ var et = Ce.visibleRect, gt = et.left, dt = et.top, ot = et.right, Jt = et.bottom;
24202
+ Jt - dt < 2 && (Jt = dt + 30);
24203
24203
  var mt = Ce.rect;
24204
- return ue === "vertical" ? Be > mt.left && Be < mt.right && dt < Je && Je < Xt : gt < Be && Be < ot && Je > mt.top && Je < mt.bottom;
24205
- }, setSize: function(Be, Je) {
24206
- ve.set(Be, "setSize", Je);
24207
- }, getTopLeftOfElementBegin: function(Be) {
24204
+ return ue === "vertical" ? De > mt.left && De < mt.right && dt < Je && Je < Jt : gt < De && De < ot && Je > mt.top && Je < mt.bottom;
24205
+ }, setSize: function(De, Je) {
24206
+ ve.set(De, "setSize", Je);
24207
+ }, getTopLeftOfElementBegin: function(De) {
24208
24208
  var Je = 0;
24209
- return { top: ue === "horizontal" ? (Je = Be, Ce.rect.top) : (Je = Ce.rect.left, Be), left: Je };
24210
- }, getScrollSize: function(Be) {
24211
- return ve.get(Be, "scrollSize");
24212
- }, getScrollValue: function(Be) {
24213
- return ve.get(Be, "scrollValue");
24214
- }, setScrollValue: function(Be, Je) {
24215
- return ve.set(Be, "scrollValue", Je);
24209
+ return { top: ue === "horizontal" ? (Je = De, Ce.rect.top) : (Je = Ce.rect.left, De), left: Je };
24210
+ }, getScrollSize: function(De) {
24211
+ return ve.get(De, "scrollSize");
24212
+ }, getScrollValue: function(De) {
24213
+ return ve.get(De, "scrollValue");
24214
+ }, setScrollValue: function(De, Je) {
24215
+ return ve.set(De, "scrollValue", Je);
24216
24216
  }, invalidate: Oe, invalidateRects: function() {
24217
24217
  lt(ce);
24218
- }, getPosition: function(Be) {
24219
- return st(Be);
24220
- }, setBegin: function(Be, Je) {
24221
- ve.set(Be, "begin", Je);
24218
+ }, getPosition: function(De) {
24219
+ return st(De);
24220
+ }, setBegin: function(De, Je) {
24221
+ ve.set(De, "begin", Je);
24222
24222
  } };
24223
24223
  }
24224
24224
  function ht(ce, ue, pe) {
24225
- var ve, Ce, Oe, lt = pe.left, Qe = pe.right, st = pe.top, Be = pe.bottom, Je = ce.x, et = ce.y;
24226
- if (Je < lt || Qe < Je || et < st || Be < et) return null;
24227
- Oe = ue === "x" ? (ve = lt, Ce = Qe, Je) : (ve = st, Ce = Be, et);
24225
+ var ve, Ce, Oe, lt = pe.left, Qe = pe.right, st = pe.top, De = pe.bottom, Je = ce.x, et = ce.y;
24226
+ if (Je < lt || Qe < Je || et < st || De < et) return null;
24227
+ Oe = ue === "x" ? (ve = lt, Ce = Qe, Je) : (ve = st, Ce = De, et);
24228
24228
  var gt = Ce - ve, dt = 400 < gt ? 100 : gt / 4;
24229
24229
  return Ce - Oe < dt ? { direction: "end", speedFactor: (dt - (Ce - Oe)) / dt } : Oe - ve < dt ? { direction: "begin", speedFactor: (dt - (Oe - ve)) / dt } : null;
24230
24230
  }
@@ -24232,10 +24232,10 @@ function E1() {
24232
24232
  var ue = 1 < arguments.length && arguments[1] !== void 0 ? arguments[1] : "y", pe = null, ve = null, Ce = null, Oe = null;
24233
24233
  return { animate: function(lt, Qe) {
24234
24234
  Ce = lt, Oe = Qe, function st() {
24235
- pe === null && (pe = requestAnimationFrame(function(Be) {
24236
- ve === null && (ve = Be);
24237
- var Je = Be - ve;
24238
- ve = Be;
24235
+ pe === null && (pe = requestAnimationFrame(function(De) {
24236
+ ve === null && (ve = De);
24237
+ var Je = De - ve;
24238
+ ve = De;
24239
24239
  var et, gt, dt, ot = Je / 1e3 * Oe;
24240
24240
  gt = ue, dt = ot = Ce === "begin" ? 0 - ot : ot, (et = ce) && (et !== window ? gt === "x" ? et.scrollLeft += dt : et.scrollTop += dt : gt === "x" ? et.scrollBy(dt, 0) : et.scrollBy(0, dt)), pe = null, st();
24241
24241
  }));
@@ -24244,7 +24244,7 @@ function E1() {
24244
24244
  pe !== null && (cancelAnimationFrame(pe), pe = null), ve = null;
24245
24245
  } };
24246
24246
  }
24247
- function Gt(ce) {
24247
+ function Kt(ce) {
24248
24248
  return function() {
24249
24249
  return ar(ce, ce.getBoundingClientRect());
24250
24250
  };
@@ -24253,10 +24253,10 @@ function E1() {
24253
24253
  var ue = 1 < arguments.length && arguments[1] !== void 0 ? arguments[1] : 1500, pe = ce.reduce(function(ve, Ce) {
24254
24254
  var Oe = function(lt) {
24255
24255
  for (var Qe = [], st = lt.element; st; ) {
24256
- var Be = bt(st);
24257
- if (Be && !an(st, ie)) {
24256
+ var De = bt(st);
24257
+ if (De && !an(st, ie)) {
24258
24258
  var Je = {};
24259
- switch (Be) {
24259
+ switch (De) {
24260
24260
  case x.xy:
24261
24261
  Je.x = { animator: Vt(st, "x") }, Je.y = { animator: Vt(st, "y") };
24262
24262
  break;
@@ -24266,7 +24266,7 @@ function E1() {
24266
24266
  case x.y:
24267
24267
  Je.y = { animator: Vt(st, "y") };
24268
24268
  }
24269
- Qe.push({ axisAnimations: Je, getRect: Gt(st), scrollerElement: st });
24269
+ Qe.push({ axisAnimations: Je, getRect: Kt(st), scrollerElement: st });
24270
24270
  }
24271
24271
  st = st.parentElement;
24272
24272
  }
@@ -24285,19 +24285,19 @@ function E1() {
24285
24285
  });
24286
24286
  else if (Ce) {
24287
24287
  (function(Qe, st) {
24288
- Qe.forEach(function(Be) {
24289
- var Je = Be.axisAnimations, et = (0, Be.getRect)();
24290
- Je.x && (Je.x.scrollParams = ht(st, "x", et), Be.cachedRect = et), Je.y && (Je.y.scrollParams = ht(st, "y", et), Be.cachedRect = et);
24288
+ Qe.forEach(function(De) {
24289
+ var Je = De.axisAnimations, et = (0, De.getRect)();
24290
+ Je.x && (Je.x.scrollParams = ht(st, "x", et), De.cachedRect = et), Je.y && (Je.y.scrollParams = ht(st, "y", et), De.cachedRect = et);
24291
24291
  });
24292
24292
  })(pe, Ce.mousePosition), pe.forEach(function(Qe) {
24293
- var st = Qe.axisAnimations, Be = st.x, Je = st.y;
24294
- if (Be) if (Be.scrollParams) {
24295
- var et = Be.scrollParams, gt = et.direction, dt = et.speedFactor;
24296
- Be.animator.animate(gt, dt * ue);
24297
- } else Be.animator.stop();
24293
+ var st = Qe.axisAnimations, De = st.x, Je = st.y;
24294
+ if (De) if (De.scrollParams) {
24295
+ var et = De.scrollParams, gt = et.direction, dt = et.speedFactor;
24296
+ De.animator.animate(gt, dt * ue);
24297
+ } else De.animator.stop();
24298
24298
  if (Je) if (Je.scrollParams) {
24299
- var ot = Je.scrollParams, Xt = ot.direction, mt = ot.speedFactor;
24300
- Je.animator.animate(Xt, mt * ue);
24299
+ var ot = Je.scrollParams, Jt = ot.direction, mt = ot.speedFactor;
24300
+ Je.animator.animate(Jt, mt * ue);
24301
24301
  } else Je.animator.stop();
24302
24302
  });
24303
24303
  var Oe = pe.filter(function(Qe) {
@@ -24305,12 +24305,12 @@ function E1() {
24305
24305
  });
24306
24306
  if (Oe.length && 1 < Oe.length) {
24307
24307
  var lt = function(Qe, st) {
24308
- for (var Be = document.elementFromPoint(st.x, st.y); Be; ) {
24308
+ for (var De = document.elementFromPoint(st.x, st.y); De; ) {
24309
24309
  var Je = Qe.find(function(et) {
24310
- return et.scrollerElement === Be;
24310
+ return et.scrollerElement === De;
24311
24311
  });
24312
24312
  if (Je) return Je;
24313
- Be = Be.parentElement;
24313
+ De = De.parentElement;
24314
24314
  }
24315
24315
  return null;
24316
24316
  }(Oe, Ce.mousePosition);
@@ -24347,7 +24347,7 @@ function E1() {
24347
24347
  }
24348
24348
  return null;
24349
24349
  }
24350
- var vr, mr, Nt = ["mousedown", "touchstart"], Lr = ["mousemove", "touchmove"], br = ["mouseup", "touchend"], $t = null, wr = null, Rt = null, At = null, Ae = [], Z = !1, X = !1, ee = !1, he = !1, be = null, Y = null, Me = null, Te = null, Ie = (vr = null, mr = !1, { start: function() {
24350
+ var vr, mr, Nt = ["mousedown", "touchstart"], Lr = ["mousemove", "touchmove"], br = ["mouseup", "touchend"], $t = null, wr = null, Rt = null, At = null, Ae = [], Z = !1, X = !1, ee = !1, he = !1, be = null, $ = null, Me = null, Te = null, Ie = (vr = null, mr = !1, { start: function() {
24351
24351
  mr || (mr = !0, function ce() {
24352
24352
  vr = requestAnimationFrame(function() {
24353
24353
  $t.forEach(function(ue) {
@@ -24362,7 +24362,7 @@ function E1() {
24362
24362
  } }), Fe = typeof window < "u" && !!(window.navigator.userAgent.match(/Android/i) || window.navigator.userAgent.match(/webOS/i) || window.navigator.userAgent.match(/iPhone/i) || window.navigator.userAgent.match(/iPad/i) || window.navigator.userAgent.match(/iPod/i) || window.navigator.userAgent.match(/BlackBerry/i) || window.navigator.userAgent.match(/Windows Phone/i));
24363
24363
  function Ee() {
24364
24364
  typeof window < "u" && Nt.forEach(function(ce) {
24365
- window.document.addEventListener(ce, Jt, { passive: !1 });
24365
+ window.document.addEventListener(ce, Gt, { passive: !1 });
24366
24366
  });
24367
24367
  }
24368
24368
  function $e() {
@@ -24396,7 +24396,7 @@ function E1() {
24396
24396
  function zt() {
24397
24397
  clearTimeout(Zt), Ye(), Mt();
24398
24398
  }
24399
- function Jt(ce) {
24399
+ function Gt(ce) {
24400
24400
  var ue = Wi(ce);
24401
24401
  if (!Z && (ue.button === void 0 || ue.button === 0) && (wr = Hr(ue.target, "." + v))) {
24402
24402
  var pe = Hr(wr, "." + U), ve = Ae.filter(function(Qe) {
@@ -24419,16 +24419,16 @@ function E1() {
24419
24419
  if (At) {
24420
24420
  var pe = At.container.getOptions();
24421
24421
  pe.behaviour === "contain" ? function(ve) {
24422
- var Ce, Oe, lt, Qe, st = ve.clientX, Be = ve.clientY, Je = 1 < arguments.length && arguments[1] !== void 0 ? arguments[1] : "vertical", et = At.container.layout.getBeginEndOfContainerVisibleRect();
24423
- Qe = Je === "vertical" ? (Ce = Be, Oe = "y", lt = "top", At.size.offsetHeight) : (Ce = st, Oe = "x", lt = "left", At.size.offsetWidth);
24422
+ var Ce, Oe, lt, Qe, st = ve.clientX, De = ve.clientY, Je = 1 < arguments.length && arguments[1] !== void 0 ? arguments[1] : "vertical", et = At.container.layout.getBeginEndOfContainerVisibleRect();
24423
+ Qe = Je === "vertical" ? (Ce = De, Oe = "y", lt = "top", At.size.offsetHeight) : (Ce = st, Oe = "x", lt = "left", At.size.offsetWidth);
24424
24424
  var gt = et.begin, dt = et.end - Qe, ot = Math.max(gt, Math.min(dt, Ce + Rt.positionDelta[lt]));
24425
24425
  Rt.topLeft[Oe] = ot, At.position[Oe] = Math.max(et.begin, Math.min(et.end, Ce + Rt.centerDelta[Oe])), At.mousePosition[Oe] = Math.max(et.begin, Math.min(et.end, Ce)), At.position[Oe] < et.begin + Qe / 2 && (At.position[Oe] = et.begin + 2), At.position[Oe] > et.end - Qe / 2 && (At.position[Oe] = et.end - 2);
24426
24426
  }(ue, pe.orientation) : Me ? Me === "y" ? (Rt.topLeft.y = ue.clientY + Rt.positionDelta.top, At.position.y = ue.clientY + Rt.centerDelta.y, At.mousePosition.y = ue.clientY) : Me === "x" && (Rt.topLeft.x = ue.clientX + Rt.positionDelta.left, At.position.x = ue.clientX + Rt.centerDelta.x, At.mousePosition.x = ue.clientX) : (Rt.topLeft.x = ue.clientX + Rt.positionDelta.left, Rt.topLeft.y = ue.clientY + Rt.positionDelta.top, At.position.x = ue.clientX + Rt.centerDelta.x, At.position.y = ue.clientY + Rt.centerDelta.y, At.mousePosition.x = ue.clientX, At.mousePosition.y = ue.clientY), ks(), (he = !be(At)) && As();
24427
24427
  } else os(ue, hi(ce.target));
24428
24428
  }
24429
- var Tr, Ii, Qt, Xi, As = (Tr = Mn, Qt = !(Ii = 20), Xi = null, function() {
24429
+ var Tr, Ii, Xt, Xi, As = (Tr = Mn, Xt = !(Ii = 20), Xi = null, function() {
24430
24430
  for (var ce = arguments.length, ue = new Array(ce), pe = 0; pe < ce; pe++) ue[pe] = arguments[pe];
24431
- Xi && clearTimeout(Xi), Qt && !Xi ? Tr.call.apply(Tr, [null].concat(ue)) : Xi = setTimeout(function() {
24431
+ Xi && clearTimeout(Xi), Xt && !Xi ? Tr.call.apply(Tr, [null].concat(ue)) : Xi = setTimeout(function() {
24432
24432
  Xi = null, Tr.call.apply(Tr, [null].concat(ue));
24433
24433
  }, Ii);
24434
24434
  });
@@ -24440,7 +24440,7 @@ function E1() {
24440
24440
  window.document.removeEventListener(ce, Or, { passive: !1 });
24441
24441
  }), br.forEach(function(ce) {
24442
24442
  window.document.removeEventListener(ce, Un, { passive: !1 });
24443
- }), Y({ reset: !0 }), Te && (function(ce) {
24443
+ }), $({ reset: !0 }), Te && (function(ce) {
24444
24444
  ce && typeof window < "u" && (window.document.head || window.document.getElementsByTagName("head")[0]).removeChild(ce);
24445
24445
  }(Te), Te = null), At && (Ie.stop(), Mn(), ee = !0, function(ce) {
24446
24446
  function ue() {
@@ -24461,7 +24461,7 @@ function E1() {
24461
24461
  var Ce = Ae.filter(function(mt) {
24462
24462
  return mt.element === At.targetElement;
24463
24463
  })[0];
24464
- !(Xt = Ce.getOptions()).shouldAnimateDrop || Xt.shouldAnimateDrop(At.container.getOptions(), At.payload) ? pe(Ce.getDragResult().shadowBeginEnd.rect, Math.max(150, Ce.getOptions().animationDuration / 2), Ce.getOptions().dropClass) : ue();
24464
+ !(Jt = Ce.getOptions()).shouldAnimateDrop || Jt.shouldAnimateDrop(At.container.getOptions(), At.payload) ? pe(Ce.getDragResult().shadowBeginEnd.rect, Math.max(150, Ce.getOptions().animationDuration / 2), Ce.getOptions().dropClass) : ue();
24465
24465
  } else {
24466
24466
  var Oe = Ae.filter(function(mt) {
24467
24467
  return mt === At.container;
@@ -24470,8 +24470,8 @@ function E1() {
24470
24470
  var lt = Oe.getOptions(), Qe = lt.behaviour, st = lt.removeOnDropOut;
24471
24471
  if (Qe !== "move" && Qe !== "contain" || !X && st || !Oe.getDragResult()) ve(Oe.getOptions().animationDuration, ue);
24472
24472
  else {
24473
- var Be = Oe.layout.getContainerRectangles();
24474
- if (!cn(Be.visibleRect) && cn(Be.lastVisibleRect)) pe({ top: Be.lastVisibleRect.top, left: Be.lastVisibleRect.left }, Oe.getOptions().animationDuration, Oe.getOptions().dropClass);
24473
+ var De = Oe.layout.getContainerRectangles();
24474
+ if (!cn(De.visibleRect) && cn(De.lastVisibleRect)) pe({ top: De.lastVisibleRect.top, left: De.lastVisibleRect.left }, Oe.getOptions().animationDuration, Oe.getOptions().dropClass);
24475
24475
  else {
24476
24476
  var Je = Oe.getDragResult(), et = Je.removedIndex, gt = Je.elementSize, dt = Oe.layout;
24477
24477
  Oe.getTranslateCalculator({ dragResult: { removedIndex: et, addedIndex: et, elementSize: gt, pos: void 0, shadowBeginEnd: void 0 } });
@@ -24481,7 +24481,7 @@ function E1() {
24481
24481
  }
24482
24482
  } else ve(Ne.animationDuration, ue);
24483
24483
  }
24484
- var Xt;
24484
+ var Jt;
24485
24485
  }(function() {
24486
24486
  Cr(Z = !1);
24487
24487
  for (var ce = $t || [], ue = ce.shift(); ue !== void 0; ) ue.handleDrop(At), ue = ce.shift();
@@ -24506,7 +24506,7 @@ function E1() {
24506
24506
  var ue = ce, pe = null;
24507
24507
  return function(ve) {
24508
24508
  return !(pe !== null || !Z || ee) && (pe = requestAnimationFrame(function() {
24509
- Z && !ee && (Ln(ve, ue), Y({ draggableInfo: ve })), pe = null;
24509
+ Z && !ee && (Ln(ve, ue), $({ draggableInfo: ve })), pe = null;
24510
24510
  }), !0);
24511
24511
  };
24512
24512
  }
@@ -24536,27 +24536,27 @@ function E1() {
24536
24536
  })[0], Oe = Ce.draggables.indexOf(ve), lt = Ce.getOptions().getGhostParent, Qe = ve.getBoundingClientRect();
24537
24537
  return { container: Ce, element: ve, size: { offsetHeight: Qe.bottom - Qe.top, offsetWidth: Qe.right - Qe.left }, elementIndex: Oe, payload: Ce.getOptions().getChildPayload ? Ce.getOptions().getChildPayload(Oe) : void 0, targetElement: null, position: { x: 0, y: 0 }, groupName: Ce.getOptions().groupName, ghostParent: lt ? lt() : null, invalidateShadow: null, mousePosition: null, relevantContainers: null };
24538
24538
  }(wr), Rt = function(ve, Ce, Oe, lt) {
24539
- var Qe = Ce.x, st = Ce.y, Be = ve.getBoundingClientRect(), Je = Be.left, et = Be.top, gt = Be.right, dt = Be.bottom, ot = er(Oe.layout.getContainerRectangles().visibleRect, Be), Xt = ot.left + (ot.right - ot.left) / 2, mt = ot.top + (ot.bottom - ot.top) / 2, Wt = ve.cloneNode(!0);
24539
+ var Qe = Ce.x, st = Ce.y, De = ve.getBoundingClientRect(), Je = De.left, et = De.top, gt = De.right, dt = De.bottom, ot = er(Oe.layout.getContainerRectangles().visibleRect, De), Jt = ot.left + (ot.right - ot.left) / 2, mt = ot.top + (ot.bottom - ot.top) / 2, Wt = ve.cloneNode(!0);
24540
24540
  return Wt.style.zIndex = "1000", Wt.style.boxSizing = "border-box", Wt.style.position = "fixed", Wt.style.top = "0px", Wt.style.left = "0px", Wt.style.transform = null, Wt.style.removeProperty("transform"), Oe.shouldUseTransformForGhost() ? Wt.style.transform = "translate3d(".concat(Je, "px, ").concat(et, "px, 0)") : (Wt.style.top = "".concat(et, "px"), Wt.style.left = "".concat(Je, "px")), Wt.style.width = gt - Je + "px", Wt.style.height = dt - et + "px", Wt.style.overflow = "visible", Wt.style.transition = null, Wt.style.removeProperty("transition"), Wt.style.pointerEvents = "none", Wt.style.userSelect = "none", Oe.getOptions().dragClass ? setTimeout(function() {
24541
24541
  Wr(Wt.firstElementChild, Oe.getOptions().dragClass);
24542
24542
  var Rr = window.getComputedStyle(Wt.firstElementChild).cursor;
24543
24543
  Te = Ji(Rr);
24544
- }) : Te = Ji(lt), Wr(Wt, Oe.getOptions().orientation || "vertical"), Wr(Wt, M), { ghost: Wt, centerDelta: { x: Xt - Qe, y: mt - st }, positionDelta: { left: Je - Qe, top: et - st }, topLeft: { x: Je, y: et } };
24544
+ }) : Te = Ji(lt), Wr(Wt, Oe.getOptions().orientation || "vertical"), Wr(Wt, M), { ghost: Wt, centerDelta: { x: Jt - Qe, y: mt - st }, positionDelta: { left: Je - Qe, top: et - st }, topLeft: { x: Je, y: et } };
24545
24545
  }(wr, { x: ce.clientX, y: ce.clientY }, At.container, ue), At.position = { x: ce.clientX + Rt.centerDelta.x, y: ce.clientY + Rt.centerDelta.y }, At.mousePosition = { x: ce.clientX, y: ce.clientY }, $t = Ae.filter(function(ve) {
24546
24546
  return ve.isDragRelevant(pe, At.payload);
24547
- }), At.relevantContainers = $t, be = Nr($t), Y && Y({ reset: !0, draggableInfo: void 0 }), Y = Mi(pe, $t), $t.forEach(function(ve) {
24547
+ }), At.relevantContainers = $t, be = Nr($t), $ && $({ reset: !0, draggableInfo: void 0 }), $ = Mi(pe, $t), $t.forEach(function(ve) {
24548
24548
  return ve.prepareDrag(ve, $t);
24549
24549
  }), Cr(!0), be(At), $e().appendChild(Rt.ghost), Ie.start();
24550
24550
  }
24551
24551
  }
24552
24552
  var xn = null;
24553
24553
  function ks() {
24554
- var ce = 0 < arguments.length && arguments[0] !== void 0 ? arguments[0] : 0, ue = 1 < arguments.length && arguments[1] !== void 0 ? arguments[1] : 1, pe = 2 < arguments.length && arguments[2] !== void 0 && arguments[2], ve = Rt, Ce = ve.ghost, Oe = ve.topLeft, lt = Oe.x, Qe = Oe.y, st = !At.container || At.container.shouldUseTransformForGhost(), Be = st ? "translate3d(".concat(lt, "px,").concat(Qe, "px, 0)") : null;
24555
- if (ue !== 1 && (Be = Be ? "".concat(Be, " scale(").concat(ue, ")") : "scale(".concat(ue, ")")), 0 < ce) return Rt.ghost.style.transitionDuration = ce + "ms", void requestAnimationFrame(function() {
24556
- Be && (Ce.style.transform = Be), st || (Ce.style.left = lt + "px", Ce.style.top = Qe + "px"), xn = null, pe && (Ce.style.opacity = "0");
24554
+ var ce = 0 < arguments.length && arguments[0] !== void 0 ? arguments[0] : 0, ue = 1 < arguments.length && arguments[1] !== void 0 ? arguments[1] : 1, pe = 2 < arguments.length && arguments[2] !== void 0 && arguments[2], ve = Rt, Ce = ve.ghost, Oe = ve.topLeft, lt = Oe.x, Qe = Oe.y, st = !At.container || At.container.shouldUseTransformForGhost(), De = st ? "translate3d(".concat(lt, "px,").concat(Qe, "px, 0)") : null;
24555
+ if (ue !== 1 && (De = De ? "".concat(De, " scale(").concat(ue, ")") : "scale(".concat(ue, ")")), 0 < ce) return Rt.ghost.style.transitionDuration = ce + "ms", void requestAnimationFrame(function() {
24556
+ De && (Ce.style.transform = De), st || (Ce.style.left = lt + "px", Ce.style.top = Qe + "px"), xn = null, pe && (Ce.style.opacity = "0");
24557
24557
  });
24558
24558
  xn === null && (xn = requestAnimationFrame(function() {
24559
- Be && (Ce.style.transform = Be), st || (Ce.style.left = lt + "px", Ce.style.top = Qe + "px"), xn = null, pe && (Ce.style.opacity = "0");
24559
+ De && (Ce.style.transform = De), st || (Ce.style.left = lt + "px", Ce.style.top = Qe + "px"), xn = null, pe && (Ce.style.opacity = "0");
24560
24560
  }));
24561
24561
  }
24562
24562
  function Nn() {
@@ -24578,14 +24578,14 @@ function E1() {
24578
24578
  }();
24579
24579
  var Zi = (Ee(), { register: function(ce) {
24580
24580
  (function(ue) {
24581
- Ae.push(ue), Z && At && ue.isDragRelevant(At.container, At.payload) && ($t.push(ue), ue.prepareDrag(ue, $t), Y && Y({ reset: !0, draggableInfo: void 0 }), Y = Mi(ue, $t), be = Nr($t), ue.handleDrag(At));
24581
+ Ae.push(ue), Z && At && ue.isDragRelevant(At.container, At.payload) && ($t.push(ue), ue.prepareDrag(ue, $t), $ && $({ reset: !0, draggableInfo: void 0 }), $ = Mi(ue, $t), be = Nr($t), ue.handleDrag(At));
24582
24582
  })(ce);
24583
24583
  }, unregister: function(ce) {
24584
24584
  (function(ue) {
24585
24585
  if (Ae.splice(Ae.indexOf(ue), 1), Z && At) {
24586
24586
  At.container === ue && ue.fireRemoveElement(), At.targetElement === ue.element && (At.targetElement = null);
24587
24587
  var pe = $t.indexOf(ue);
24588
- -1 < pe && ($t.splice(pe, 1), Y && Y({ reset: !0, draggableInfo: void 0 }), Y = Mi(ue, $t), be = Nr($t));
24588
+ -1 < pe && ($t.splice(pe, 1), $ && $({ reset: !0, draggableInfo: void 0 }), $ = Mi(ue, $t), be = Nr($t));
24589
24589
  }
24590
24590
  })(ce);
24591
24591
  }, isDragging: function() {
@@ -24614,31 +24614,31 @@ function E1() {
24614
24614
  var ue = ce.layout;
24615
24615
  return function(pe, ve) {
24616
24616
  var Ce = 2 < arguments.length && arguments[2] !== void 0 && arguments[2];
24617
- return function Oe(lt, Qe, st, Be) {
24617
+ return function Oe(lt, Qe, st, De) {
24618
24618
  var Je = 4 < arguments.length && arguments[4] !== void 0 && arguments[4];
24619
- if (Be < st) return st;
24620
- if (st === Be) {
24619
+ if (De < st) return st;
24620
+ if (st === De) {
24621
24621
  var et = ue.getBeginEnd(lt[st]), gt = et.begin, dt = et.end;
24622
24622
  return Je ? Qe < (dt + gt) / 2 ? st : st + 1 : st;
24623
24623
  }
24624
- var ot = Math.floor((Be + st) / 2), Xt = ue.getBeginEnd(lt[ot]), mt = Xt.begin, Wt = Xt.end;
24625
- return Qe < mt ? Oe(lt, Qe, st, ot - 1, Je) : Wt < Qe ? Oe(lt, Qe, ot + 1, Be, Je) : Je ? Qe < (Wt + mt) / 2 ? ot : ot + 1 : ot;
24624
+ var ot = Math.floor((De + st) / 2), Jt = ue.getBeginEnd(lt[ot]), mt = Jt.begin, Wt = Jt.end;
24625
+ return Qe < mt ? Oe(lt, Qe, st, ot - 1, Je) : Wt < Qe ? Oe(lt, Qe, ot + 1, De, Je) : Je ? Qe < (Wt + mt) / 2 ? ot : ot + 1 : ot;
24626
24626
  }(pe, ve, 0, pe.length - 1, Ce);
24627
24627
  };
24628
24628
  }
24629
24629
  function as(ce) {
24630
24630
  var ue = ce.element, pe = ce.draggables, ve = ce.layout, Ce = ce.getOptions, Oe = function(Qe) {
24631
- var st = Qe.element, Be = Qe.draggables, Je = Qe.layout;
24631
+ var st = Qe.element, De = Qe.draggables, Je = Qe.layout;
24632
24632
  return function() {
24633
- Be.forEach(function(et) {
24633
+ De.forEach(function(et) {
24634
24634
  go(et, !1), Je.setTranslation(et, 0), Je.setVisibility(et, !0);
24635
24635
  }), st[k] && (st[k].parentNode.removeChild(st[k]), st[k] = null);
24636
24636
  };
24637
24637
  }({ element: ue, draggables: pe, layout: ve }), lt = (qt.dropHandler || Hi)({ element: ue, draggables: pe, layout: ve, getOptions: Ce });
24638
24638
  return function(Qe, st) {
24639
- var Be = st.addedIndex, Je = st.removedIndex, et = 2 < arguments.length && arguments[2] !== void 0 && arguments[2];
24639
+ var De = st.addedIndex, Je = st.removedIndex, et = 2 < arguments.length && arguments[2] !== void 0 && arguments[2];
24640
24640
  if (Oe(), !Qe.cancelDrop && (Qe.targetElement || Ce().removeOnDropOut || et)) {
24641
- var gt = { removedIndex: Je, addedIndex: Be !== null ? Je !== null && Je < Be ? Be - 1 : Be : null, payload: Qe.payload };
24641
+ var gt = { removedIndex: Je, addedIndex: De !== null ? Je !== null && Je < De ? De - 1 : De : null, payload: Qe.payload };
24642
24642
  lt(gt, Ce().onDrop);
24643
24643
  }
24644
24644
  };
@@ -24703,15 +24703,15 @@ function E1() {
24703
24703
  function xo(ce) {
24704
24704
  var ue = ce.layout, pe = ce.element, ve = ce.getOptions, Ce = null;
24705
24705
  return function(Oe) {
24706
- var lt = Oe.dragResult, Qe = lt.elementSize, st = lt.shadowBeginEnd, Be = lt.addedIndex, Je = lt.dropPlaceholderContainer, et = ve();
24706
+ var lt = Oe.dragResult, Qe = lt.elementSize, st = lt.shadowBeginEnd, De = lt.addedIndex, Je = lt.dropPlaceholderContainer, et = ve();
24707
24707
  if (et.dropPlaceholder) {
24708
- var gt = typeof et.dropPlaceholder == "boolean" ? {} : et.dropPlaceholder, dt = gt.animationDuration, ot = gt.className, Xt = gt.showOnTop;
24709
- if (Be === null) return Je && Ce !== null && pe.removeChild(Je), Ce = null, { dropPlaceholderContainer: void 0 };
24708
+ var gt = typeof et.dropPlaceholder == "boolean" ? {} : et.dropPlaceholder, dt = gt.animationDuration, ot = gt.className, Jt = gt.showOnTop;
24709
+ if (De === null) return Je && Ce !== null && pe.removeChild(Je), Ce = null, { dropPlaceholderContainer: void 0 };
24710
24710
  if (!Je) {
24711
24711
  var mt = document.createElement("div"), Wt = document.createElement("div");
24712
- Wt.className = me, mt.className = "".concat(Pe, " ").concat(ot || le), (Je = document.createElement("div")).className = "".concat(te), Je.style.position = "absolute", dt !== void 0 && (Je.style.transition = "all ".concat(dt, "ms ease")), Je.appendChild(Wt), Wt.appendChild(mt), ue.setSize(Je.style, Qe + "px"), Je.style.pointerEvents = "none", Xt ? pe.appendChild(Je) : pe.insertBefore(Je, pe.firstElementChild);
24712
+ Wt.className = me, mt.className = "".concat(Pe, " ").concat(ot || le), (Je = document.createElement("div")).className = "".concat(te), Je.style.position = "absolute", dt !== void 0 && (Je.style.transition = "all ".concat(dt, "ms ease")), Je.appendChild(Wt), Wt.appendChild(mt), ue.setSize(Je.style, Qe + "px"), Je.style.pointerEvents = "none", Jt ? pe.appendChild(Je) : pe.insertBefore(Je, pe.firstElementChild);
24713
24713
  }
24714
- return Ce !== Be && st.dropArea && ue.setBegin(Je.style, st.dropArea.begin - ue.getBeginEndOfContainer().begin + "px"), Ce = Be, { dropPlaceholderContainer: Je };
24714
+ return Ce !== De && st.dropArea && ue.setBegin(Je.style, st.dropArea.begin - ue.getBeginEndOfContainer().begin + "px"), Ce = De, { dropPlaceholderContainer: Je };
24715
24715
  }
24716
24716
  return null;
24717
24717
  };
@@ -24729,8 +24729,8 @@ function E1() {
24729
24729
  return function(Oe) {
24730
24730
  var lt = Oe.dragResult, Qe = lt.shadowBeginEnd, st = lt.pos;
24731
24731
  if (Qe) return Qe.begin + Qe.beginAdjustment <= st && Qe.end >= st ? null : st < Qe.begin + Qe.beginAdjustment ? Ce(ve, st) : st > Qe.end ? Ce(ve, st) + 1 : ve.length;
24732
- var Be = Ce(ve, st, !0);
24733
- return Be !== null ? Be : ve.length;
24732
+ var De = Ce(ve, st, !0);
24733
+ return De !== null ? De : ve.length;
24734
24734
  };
24735
24735
  }(ce);
24736
24736
  return function(pe) {
@@ -24748,8 +24748,8 @@ function E1() {
24748
24748
  function bl(ce) {
24749
24749
  var ue = ce.element, pe = ce.draggables, ve = ce.layout, Ce = ce.getOptions, Oe = null;
24750
24750
  return function(lt) {
24751
- var Qe = lt.dragResult, st = Qe.addedIndex, Be = Qe.removedIndex, Je = Qe.elementSize;
24752
- if (Be === null) {
24751
+ var Qe = lt.dragResult, st = Qe.addedIndex, De = Qe.removedIndex, Je = Qe.elementSize;
24752
+ if (De === null) {
24753
24753
  if (st !== null) {
24754
24754
  if (!Oe) {
24755
24755
  var et = ve.getBeginEndOfContainer();
@@ -24763,8 +24763,8 @@ function E1() {
24763
24763
  }
24764
24764
  } else if (Oe) {
24765
24765
  ve.setTranslation(Oe, 0);
24766
- var Xt = Oe;
24767
- return Oe = null, ue.removeChild(Xt), { containerBoxChanged: !(ue[k] = null) };
24766
+ var Jt = Oe;
24767
+ return Oe = null, ue.removeChild(Jt), { containerBoxChanged: !(ue[k] = null) };
24768
24768
  }
24769
24769
  }
24770
24770
  };
@@ -24772,11 +24772,11 @@ function E1() {
24772
24772
  function ls(ce) {
24773
24773
  var ue = ce.draggables, pe = ce.layout, ve = null, Ce = null;
24774
24774
  return function(Oe) {
24775
- var lt = Oe.dragResult, Qe = lt.addedIndex, st = lt.removedIndex, Be = lt.elementSize;
24775
+ var lt = Oe.dragResult, Qe = lt.addedIndex, st = lt.removedIndex, De = lt.elementSize;
24776
24776
  if (Qe !== ve || st !== Ce) {
24777
24777
  for (var Je = 0; Je < ue.length; Je++) if (Je !== st) {
24778
24778
  var et = ue[Je], gt = 0;
24779
- st !== null && st < Je && (gt -= Be), Qe !== null && Qe <= Je && (gt += Be), pe.setTranslation(et, gt);
24779
+ st !== null && st < Je && (gt -= De), Qe !== null && Qe <= Je && (gt += De), pe.setTranslation(et, gt);
24780
24780
  }
24781
24781
  return { addedIndex: ve = Qe, removedIndex: Ce = st };
24782
24782
  }
@@ -24785,14 +24785,14 @@ function E1() {
24785
24785
  function cs(ce) {
24786
24786
  var ue = ce.draggables, pe = ce.layout, ve = null;
24787
24787
  return function(Ce) {
24788
- var Oe = Ce.draggableInfo, lt = Ce.dragResult, Qe = lt.addedIndex, st = lt.removedIndex, Be = lt.elementSize, Je = lt.pos, et = lt.shadowBeginEnd;
24788
+ var Oe = Ce.draggableInfo, lt = Ce.dragResult, Qe = lt.addedIndex, st = lt.removedIndex, De = lt.elementSize, Je = lt.pos, et = lt.shadowBeginEnd;
24789
24789
  if (Je === null) return { shadowBeginEnd: ve = null };
24790
24790
  if (Qe === null || !Oe.invalidateShadow && Qe === ve) return null;
24791
- var gt = Qe - 1, dt = Number.MIN_SAFE_INTEGER, ot = 0, Xt = 0, mt = null, Wt = null;
24791
+ var gt = Qe - 1, dt = Number.MIN_SAFE_INTEGER, ot = 0, Jt = 0, mt = null, Wt = null;
24792
24792
  if (gt === st && gt--, -1 < gt) {
24793
24793
  var Rr = pe.getSize(ue[gt]);
24794
- if (Wt = pe.getBeginEnd(ue[gt]), Be < Rr) {
24795
- var Ts = (Rr - Be) / 2;
24794
+ if (Wt = pe.getBeginEnd(ue[gt]), De < Rr) {
24795
+ var Ts = (Rr - De) / 2;
24796
24796
  dt = Wt.end - Ts;
24797
24797
  } else dt = Wt.end;
24798
24798
  ot = Wt.end;
@@ -24800,14 +24800,14 @@ function E1() {
24800
24800
  var Kn = Number.MAX_SAFE_INTEGER, bn = Qe;
24801
24801
  if (bn === st && bn++, bn < ue.length) {
24802
24802
  var Gn = pe.getSize(ue[bn]);
24803
- if (mt = pe.getBeginEnd(ue[bn]), Be < Gn) {
24804
- var Cs = (Gn - Be) / 2;
24803
+ if (mt = pe.getBeginEnd(ue[bn]), De < Gn) {
24804
+ var Cs = (Gn - De) / 2;
24805
24805
  Kn = mt.begin + Cs;
24806
24806
  } else Kn = mt.begin;
24807
- Xt = mt.begin;
24808
- } else mt = { begin: pe.getContainerRectangles().rect.end }, Xt = pe.getContainerRectangles().rect.end - pe.getContainerRectangles().rect.begin;
24807
+ Jt = mt.begin;
24808
+ } else mt = { begin: pe.getContainerRectangles().rect.end }, Jt = pe.getContainerRectangles().rect.end - pe.getContainerRectangles().rect.begin;
24809
24809
  var So = Wt && mt ? pe.getTopLeftOfElementBegin(Wt.end) : null;
24810
- return ve = Qe, { shadowBeginEnd: { dropArea: { begin: ot, end: Xt }, begin: dt, end: Kn, rect: So, beginAdjustment: et ? et.beginAdjustment : 0 } };
24810
+ return ve = Qe, { shadowBeginEnd: { dropArea: { begin: ot, end: Jt }, begin: dt, end: Kn, rect: So, beginAdjustment: et ? et.beginAdjustment : 0 } };
24811
24811
  };
24812
24812
  }
24813
24813
  function wo() {
@@ -24835,10 +24835,10 @@ function E1() {
24835
24835
  function sr(ce) {
24836
24836
  var ue = ce.getOptions, pe = null, ve = ue();
24837
24837
  return function(Ce) {
24838
- var Oe = Ce.dragResult, lt = Oe.addedIndex, Qe = Oe.removedIndex, st = Ce.draggableInfo, Be = st.payload, Je = st.element;
24838
+ var Oe = Ce.dragResult, lt = Oe.addedIndex, Qe = Oe.removedIndex, st = Ce.draggableInfo, De = st.payload, Je = st.element;
24839
24839
  if (ve.onDropReady && lt !== null && pe !== lt) {
24840
24840
  var et = pe = lt;
24841
- Qe !== null && Qe < lt && et--, ve.onDropReady({ addedIndex: et, removedIndex: Qe, payload: Be, element: Je ? Je.firstElementChild : void 0 });
24841
+ Qe !== null && Qe < lt && et--, ve.onDropReady({ addedIndex: et, removedIndex: Qe, payload: De, element: Je ? Je.firstElementChild : void 0 });
24842
24842
  }
24843
24843
  };
24844
24844
  }
@@ -24861,11 +24861,11 @@ function E1() {
24861
24861
  function Zn(ce) {
24862
24862
  return function(ue) {
24863
24863
  var pe = Object.assign({}, Ne, ue), ve = null, Ce = null, Oe = function(gt, dt) {
24864
- var ot = Zs(gt), Xt = dt();
24865
- return Wr(gt, "".concat(U, " ").concat(Xt.orientation)), { element: gt, draggables: ot, getOptions: dt, layout: wt(gt, Xt.orientation, Xt.animationDuration) };
24864
+ var ot = Zs(gt), Jt = dt();
24865
+ return Wr(gt, "".concat(U, " ").concat(Jt.orientation)), { element: gt, draggables: ot, getOptions: dt, layout: wt(gt, Jt.orientation, Jt.animationDuration) };
24866
24866
  }(ce, et), lt = Wn(Oe), Qe = as(Oe), st = function(gt, dt) {
24867
24867
  var ot = [];
24868
- function Xt() {
24868
+ function Jt() {
24869
24869
  ot && (ot.forEach(function(mt) {
24870
24870
  return mt.removeEventListener("scroll", dt);
24871
24871
  }), window.removeEventListener("scroll", dt));
@@ -24873,20 +24873,20 @@ function E1() {
24873
24873
  return function() {
24874
24874
  for (var mt = gt; mt; ) (Ht(mt, "x") || Ht(mt, "y")) && ot.push(mt), mt = mt.parentElement;
24875
24875
  }(), { dispose: function() {
24876
- Xt(), ot = null;
24876
+ Jt(), ot = null;
24877
24877
  }, start: function() {
24878
24878
  ot && (ot.forEach(function(mt) {
24879
24879
  return mt.addEventListener("scroll", dt);
24880
24880
  }), window.addEventListener("scroll", dt));
24881
- }, stop: Xt };
24881
+ }, stop: Jt };
24882
24882
  }(ce, function() {
24883
- Oe.layout.invalidateRects(), Be();
24883
+ Oe.layout.invalidateRects(), De();
24884
24884
  });
24885
- function Be() {
24885
+ function De() {
24886
24886
  Ce !== null && (Ce.invalidateShadow = !0, ve = lt(Ce), Ce.invalidateShadow = !1);
24887
24887
  }
24888
24888
  function Je(gt, dt) {
24889
- for (var ot = Zs(dt), Xt = 0; Xt < ot.length; Xt++) gt[Xt] = ot[Xt];
24889
+ for (var ot = Zs(dt), Jt = 0; Jt < ot.length; Jt++) gt[Jt] = ot[Jt];
24890
24890
  for (var mt = 0; mt < gt.length - ot.length; mt++) gt.pop();
24891
24891
  }
24892
24892
  function et() {
@@ -24894,11 +24894,11 @@ function E1() {
24894
24894
  }
24895
24895
  return { element: ce, draggables: Oe.draggables, isDragRelevant: function(gt) {
24896
24896
  var dt = gt.element, ot = gt.getOptions;
24897
- return function(Xt, mt) {
24897
+ return function(Jt, mt) {
24898
24898
  var Wt = ot();
24899
- if (Wt.shouldAcceptDrop) return Wt.shouldAcceptDrop(Xt.getOptions(), mt);
24900
- var Rr = Xt.getOptions();
24901
- return Wt.behaviour !== "copy" && Hr(dt, "." + v) !== Xt.element && (Xt.element === dt || !(!Rr.groupName || Rr.groupName !== Wt.groupName));
24899
+ if (Wt.shouldAcceptDrop) return Wt.shouldAcceptDrop(Jt.getOptions(), mt);
24900
+ var Rr = Jt.getOptions();
24901
+ return Wt.behaviour !== "copy" && Hr(dt, "." + v) !== Jt.element && (Jt.element === dt || !(!Rr.groupName || Rr.groupName !== Wt.groupName));
24902
24902
  };
24903
24903
  }(Oe), layout: Oe.layout, dispose: function(gt) {
24904
24904
  st.dispose(), function(dt) {
@@ -24907,8 +24907,8 @@ function E1() {
24907
24907
  });
24908
24908
  }(gt.element);
24909
24909
  }, prepareDrag: function(gt, dt) {
24910
- var ot = gt.element, Xt = Oe.draggables;
24911
- Je(Xt, ot), gt.layout.invalidateRects(), Xt.forEach(function(mt) {
24910
+ var ot = gt.element, Jt = Oe.draggables;
24911
+ Je(Jt, ot), gt.layout.invalidateRects(), Jt.forEach(function(mt) {
24912
24912
  return go(mt, !0, et().animationDuration);
24913
24913
  }), st.start();
24914
24914
  }, handleDrag: function(gt) {
@@ -24922,7 +24922,7 @@ function E1() {
24922
24922
  }, getTranslateCalculator: function(gt) {
24923
24923
  return ls(Oe)(gt);
24924
24924
  }, onTranslated: function() {
24925
- Be();
24925
+ De();
24926
24926
  }, setDraggables: function() {
24927
24927
  Je(Oe.draggables, ce);
24928
24928
  }, getScrollMaxSpeed: function() {
@@ -25313,10 +25313,10 @@ const z1 = {
25313
25313
  function gw(p, u, y, x, A, P) {
25314
25314
  var k;
25315
25315
  const v = dr("VsPopover"), s = dr("DotsIcon"), D = dr("Draggable"), R = dr("Container"), M = dr("searchIcon"), U = dr("closeIcon"), I = dr("VsLayersItem"), T = dr("chevronRightIcon");
25316
- return De(), Ke("div", D1, [
25317
- $("div", B1, [
25318
- $("div", O1, [
25319
- u[6] || (u[6] = $("svg", {
25316
+ return Be(), Ke("div", D1, [
25317
+ Y("div", B1, [
25318
+ Y("div", O1, [
25319
+ u[6] || (u[6] = Y("svg", {
25320
25320
  xmlns: "http://www.w3.org/2000/svg",
25321
25321
  width: "20",
25322
25322
  height: "20",
@@ -25328,16 +25328,16 @@ function gw(p, u, y, x, A, P) {
25328
25328
  "stroke-linejoin": "round",
25329
25329
  class: "lucide lucide-layers text-blue-600"
25330
25330
  }, [
25331
- $("path", { d: "m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z" }),
25332
- $("path", { d: "m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65" }),
25333
- $("path", { d: "m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65" })
25331
+ Y("path", { d: "m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z" }),
25332
+ Y("path", { d: "m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65" }),
25333
+ Y("path", { d: "m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65" })
25334
25334
  ], -1)),
25335
- $("h2", F1, [
25335
+ Y("h2", F1, [
25336
25336
  si(Et(A.activeView === "catalog" ? "Каталог" : "Вибрані шари") + " ", 1),
25337
- A.activeView === "catalog" ? (De(), Ke("span", V1, "(" + Et(((k = A.layers) == null ? void 0 : k.length) || 0) + ")", 1)) : (De(), Ke("span", q1, "(" + Et(A.selectedLayers.length) + ")", 1))
25337
+ A.activeView === "catalog" ? (Be(), Ke("span", V1, "(" + Et(((k = A.layers) == null ? void 0 : k.length) || 0) + ")", 1)) : (Be(), Ke("span", q1, "(" + Et(A.selectedLayers.length) + ")", 1))
25338
25338
  ])
25339
25339
  ]),
25340
- $("button", {
25340
+ Y("button", {
25341
25341
  class: "p-1 rounded-full hover:bg-gray-200 transition-colors",
25342
25342
  "aria-label": "Reset layers",
25343
25343
  onClick: u[0] || (u[0] = (...V) => P.clearSelectedLayers && P.clearSelectedLayers(...V))
@@ -25345,15 +25345,15 @@ function gw(p, u, y, x, A, P) {
25345
25345
  ia('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-refresh-cw text-gray-600" data-v-40ac73af><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8" data-v-40ac73af></path><path d="M21 3v5h-5" data-v-40ac73af></path><path d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16" data-v-40ac73af></path><path d="M8 16H3v5" data-v-40ac73af></path></svg>', 1)
25346
25346
  ]))
25347
25347
  ]),
25348
- $("div", U1, [
25349
- $("button", {
25348
+ Y("div", U1, [
25349
+ Y("button", {
25350
25350
  class: nn([
25351
25351
  "px-4 py-2 text-sm font-medium",
25352
25352
  A.activeView === "catalog" ? "text-blue-600 border-b-2 border-blue-600" : "text-gray-600 hover:text-gray-800"
25353
25353
  ]),
25354
25354
  onClick: u[1] || (u[1] = (V) => A.activeView = "catalog")
25355
25355
  }, " Каталог ", 2),
25356
- $("button", {
25356
+ Y("button", {
25357
25357
  class: nn([
25358
25358
  "px-4 py-2 text-sm font-medium",
25359
25359
  A.activeView === "selected" ? "text-blue-600 border-b-2 border-blue-600" : "text-gray-600 hover:text-gray-800"
@@ -25361,13 +25361,13 @@ function gw(p, u, y, x, A, P) {
25361
25361
  onClick: u[2] || (u[2] = (V) => A.activeView = "selected")
25362
25362
  }, " Вибрані шари ", 2)
25363
25363
  ]),
25364
- A.activeView === "selected" ? (De(), Ke("div", N1, [
25365
- $("div", j1, [
25366
- $("button", {
25364
+ A.activeView === "selected" ? (Be(), Ke("div", N1, [
25365
+ Y("div", j1, [
25366
+ Y("button", {
25367
25367
  class: "flex items-center gap-2 text-blue-600 hover:text-blue-700 transition-colors px-3 py-2 rounded-md bg-blue-50 hover:bg-blue-100 w-full justify-center",
25368
25368
  onClick: u[3] || (u[3] = (V) => A.activeView = "catalog")
25369
25369
  }, u[8] || (u[8] = [
25370
- $("svg", {
25370
+ Y("svg", {
25371
25371
  xmlns: "http://www.w3.org/2000/svg",
25372
25372
  width: "16",
25373
25373
  height: "16",
@@ -25379,13 +25379,13 @@ function gw(p, u, y, x, A, P) {
25379
25379
  "stroke-linejoin": "round",
25380
25380
  class: "lucide lucide-plus"
25381
25381
  }, [
25382
- $("path", { d: "M5 12h14" }),
25383
- $("path", { d: "M12 5v14" })
25382
+ Y("path", { d: "M5 12h14" }),
25383
+ Y("path", { d: "M12 5v14" })
25384
25384
  ], -1),
25385
- $("span", null, "Вибрати шар", -1)
25385
+ Y("span", null, "Вибрати шар", -1)
25386
25386
  ]))
25387
25387
  ]),
25388
- (De(), ni(R, {
25388
+ (Be(), ni(R, {
25389
25389
  onDrop: P.onDrop,
25390
25390
  lockAxis: "y",
25391
25391
  "drag-class": "dragging",
@@ -25393,15 +25393,15 @@ function gw(p, u, y, x, A, P) {
25393
25393
  class: "space-y-2 max-h-[400px] overflow-y-auto pr-1 [&::-webkit-scrollbar]:h-1.5 [&::-webkit-scrollbar]:w-1.5 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-gray-300 [&::-webkit-scrollbar-track]:bg-transparent"
25394
25394
  }, {
25395
25395
  default: _r(() => [
25396
- (De(!0), Ke(ur, null, ti(A.selectedLayers, (V, K) => (De(), ni(D, {
25396
+ (Be(!0), Ke(ur, null, ti(A.selectedLayers, (V, K) => (Be(), ni(D, {
25397
25397
  key: V.id || K,
25398
25398
  payload: V
25399
25399
  }, {
25400
25400
  default: _r(() => [
25401
- $("div", H1, [
25402
- $("div", W1, [
25403
- $("div", Z1, [
25404
- u[9] || (u[9] = $("svg", {
25401
+ Y("div", H1, [
25402
+ Y("div", W1, [
25403
+ Y("div", Z1, [
25404
+ u[9] || (u[9] = Y("svg", {
25405
25405
  width: "16",
25406
25406
  height: "16",
25407
25407
  fill: "none",
@@ -25410,53 +25410,53 @@ function gw(p, u, y, x, A, P) {
25410
25410
  viewBox: "0 0 24 24",
25411
25411
  class: "mr-1 shrink-0"
25412
25412
  }, [
25413
- $("circle", {
25413
+ Y("circle", {
25414
25414
  cx: "5",
25415
25415
  cy: "5",
25416
25416
  r: "1.5"
25417
25417
  }),
25418
- $("circle", {
25418
+ Y("circle", {
25419
25419
  cx: "5",
25420
25420
  cy: "12",
25421
25421
  r: "1.5"
25422
25422
  }),
25423
- $("circle", {
25423
+ Y("circle", {
25424
25424
  cx: "5",
25425
25425
  cy: "19",
25426
25426
  r: "1.5"
25427
25427
  }),
25428
- $("circle", {
25428
+ Y("circle", {
25429
25429
  cx: "12",
25430
25430
  cy: "5",
25431
25431
  r: "1.5"
25432
25432
  }),
25433
- $("circle", {
25433
+ Y("circle", {
25434
25434
  cx: "12",
25435
25435
  cy: "12",
25436
25436
  r: "1.5"
25437
25437
  }),
25438
- $("circle", {
25438
+ Y("circle", {
25439
25439
  cx: "12",
25440
25440
  cy: "19",
25441
25441
  r: "1.5"
25442
25442
  }),
25443
- $("circle", {
25443
+ Y("circle", {
25444
25444
  cx: "19",
25445
25445
  cy: "5",
25446
25446
  r: "1.5"
25447
25447
  }),
25448
- $("circle", {
25448
+ Y("circle", {
25449
25449
  cx: "19",
25450
25450
  cy: "12",
25451
25451
  r: "1.5"
25452
25452
  }),
25453
- $("circle", {
25453
+ Y("circle", {
25454
25454
  cx: "19",
25455
25455
  cy: "19",
25456
25456
  r: "1.5"
25457
25457
  })
25458
25458
  ], -1)),
25459
- Ss($("input", {
25459
+ Ss(Y("input", {
25460
25460
  type: "checkbox",
25461
25461
  class: "w-4 h-4 text-blue-600 rounded focus:ring-blue-500",
25462
25462
  "onUpdate:modelValue": (ie) => V.visible = ie,
@@ -25464,21 +25464,21 @@ function gw(p, u, y, x, A, P) {
25464
25464
  }, null, 40, K1), [
25465
25465
  [kd, V.visible]
25466
25466
  ]),
25467
- $("span", G1, Et(V.name || V.title || V.label), 1)
25467
+ Y("span", G1, Et(V.name || V.title || V.label), 1)
25468
25468
  ]),
25469
- $("div", J1, [
25470
- $("div", X1, [
25469
+ Y("div", J1, [
25470
+ Y("div", X1, [
25471
25471
  Er(v, { placement: "bottom" }, {
25472
25472
  reference: _r(() => [
25473
- $("div", {
25473
+ Y("div", {
25474
25474
  class: "text-sm text-gray-600 hover:text-gray-800 transition-colors px-2 py-1 rounded hover:bg-gray-100 cursor-pointer",
25475
25475
  onClick: (ie) => P.updateLayerOpacity(V)
25476
25476
  }, Et(V.opacity || 100) + "% ", 9, ew)
25477
25477
  ]),
25478
25478
  default: _r(() => [
25479
- $("div", Q1, [
25480
- u[10] || (u[10] = $("label", { class: "text-gray-600 whitespace-nowrap" }, "Прозорість:", -1)),
25481
- Ss($("input", {
25479
+ Y("div", Q1, [
25480
+ u[10] || (u[10] = Y("label", { class: "text-gray-600 whitespace-nowrap" }, "Прозорість:", -1)),
25481
+ Ss(Y("input", {
25482
25482
  type: "range",
25483
25483
  min: "0",
25484
25484
  max: "100",
@@ -25489,23 +25489,23 @@ function gw(p, u, y, x, A, P) {
25489
25489
  }, null, 40, Y1), [
25490
25490
  [Lc, V.opacity]
25491
25491
  ]),
25492
- $("span", $1, Et(Math.round(V.opacity)) + "% ", 1)
25492
+ Y("span", $1, Et(Math.round(V.opacity)) + "% ", 1)
25493
25493
  ])
25494
25494
  ]),
25495
25495
  _: 2
25496
25496
  }, 1024)
25497
25497
  ]),
25498
- $("div", tw, [
25498
+ Y("div", tw, [
25499
25499
  Er(v, { placement: "bottom" }, {
25500
25500
  reference: _r(() => [
25501
- $("div", sw, [
25501
+ Y("div", sw, [
25502
25502
  Er(s)
25503
25503
  ])
25504
25504
  ]),
25505
25505
  default: _r(() => [
25506
- $("div", rw, [
25507
- (De(!0), Ke(ur, null, ti(P.popoverActions(V), (ie, le) => (De(), Ke(ur, { key: le }, [
25508
- ie.divider ? (De(), Ke("hr", iw)) : (De(), Ke("button", {
25506
+ Y("div", rw, [
25507
+ (Be(!0), Ke(ur, null, ti(P.popoverActions(V), (ie, le) => (Be(), Ke(ur, { key: le }, [
25508
+ ie.divider ? (Be(), Ke("hr", iw)) : (Be(), Ke("button", {
25509
25509
  key: 1,
25510
25510
  class: nn(
25511
25511
  "w-full p-2 text-left text-sm flex items-center gap-2 " + (ie.class || "")
@@ -25513,7 +25513,7 @@ function gw(p, u, y, x, A, P) {
25513
25513
  disabled: ie.disabled,
25514
25514
  onClick: (Pe) => !ie.disabled && p.$options.methods[ie.handler].call(this, V)
25515
25515
  }, [
25516
- (De(), ni(Rc(ie.icon), { class: "lucide" })),
25516
+ (Be(), ni(Rc(ie.icon), { class: "lucide" })),
25517
25517
  si(" " + Et(ie.label), 1)
25518
25518
  ], 10, nw))
25519
25519
  ], 64))), 128))
@@ -25528,29 +25528,29 @@ function gw(p, u, y, x, A, P) {
25528
25528
  ]),
25529
25529
  _: 2
25530
25530
  }, 1032, ["payload"]))), 128)),
25531
- A.selectedLayers.length === 0 ? (De(), Ke("div", ow, u[11] || (u[11] = [
25532
- $("p", null, 'Щоб додати шар, натисніть на кнопку "Вибрати шар".', -1)
25533
- ]))) : Kt("", !0)
25531
+ A.selectedLayers.length === 0 ? (Be(), Ke("div", ow, u[11] || (u[11] = [
25532
+ Y("p", null, 'Щоб додати шар, натисніть на кнопку "Вибрати шар".', -1)
25533
+ ]))) : Qt("", !0)
25534
25534
  ]),
25535
25535
  _: 1
25536
25536
  }, 8, ["onDrop"]))
25537
- ])) : (De(), Ke(ur, { key: 1 }, [
25538
- $("div", aw, [
25539
- (De(), Ke("svg", lw, u[12] || (u[12] = [
25540
- $("path", {
25537
+ ])) : (Be(), Ke(ur, { key: 1 }, [
25538
+ Y("div", aw, [
25539
+ (Be(), Ke("svg", lw, u[12] || (u[12] = [
25540
+ Y("path", {
25541
25541
  d: "M7.33333 13.1667C10.2789 13.1667 12.6667 10.7789 12.6667 7.83333C12.6667 4.88781 10.2789 2.5 7.33333 2.5C4.38781 2.5 2 4.88781 2 7.83333C2 10.7789 4.38781 13.1667 7.33333 13.1667Z",
25542
25542
  stroke: "#6B7280",
25543
25543
  "stroke-linecap": "round",
25544
25544
  "stroke-linejoin": "round"
25545
25545
  }, null, -1),
25546
- $("path", {
25546
+ Y("path", {
25547
25547
  d: "M13.9995 14.5L11.1328 11.6333",
25548
25548
  stroke: "#6B7280",
25549
25549
  "stroke-linecap": "round",
25550
25550
  "stroke-linejoin": "round"
25551
25551
  }, null, -1)
25552
25552
  ]))),
25553
- Ss($("input", {
25553
+ Ss(Y("input", {
25554
25554
  title: "value",
25555
25555
  placeholder: "Введіть назву шару...",
25556
25556
  "onUpdate:modelValue": u[4] || (u[4] = (V) => A.search = V),
@@ -25564,16 +25564,16 @@ function gw(p, u, y, x, A, P) {
25564
25564
  class: "absolute top-1/2 left-[8px] w-[16px] h-[16px]",
25565
25565
  style: { transform: "translate(0, -50%)" }
25566
25566
  }),
25567
- A.search ? (De(), ni(U, {
25567
+ A.search ? (Be(), ni(U, {
25568
25568
  key: 0,
25569
25569
  class: "absolute top-1/2 right-[10px] w-[16px] h-[16px] cursor-pointer",
25570
25570
  style: { transform: "translate(0, -50%)" },
25571
25571
  onClick: P.clearSearch
25572
- }, null, 8, ["onClick"])) : Kt("", !0)
25572
+ }, null, 8, ["onClick"])) : Qt("", !0)
25573
25573
  ]),
25574
- A.categories ? (De(), Ke("div", cw, [
25575
- A.search ? (De(), Ke(ur, { key: 0 }, [
25576
- (De(!0), Ke(ur, null, ti(P.searchedLayers, (V, K) => (De(), ni(I, {
25574
+ A.categories ? (Be(), Ke("div", cw, [
25575
+ A.search ? (Be(), Ke(ur, { key: 0 }, [
25576
+ (Be(!0), Ke(ur, null, ti(P.searchedLayers, (V, K) => (Be(), ni(I, {
25577
25577
  key: K,
25578
25578
  layer: V,
25579
25579
  map: y.map,
@@ -25581,29 +25581,29 @@ function gw(p, u, y, x, A, P) {
25581
25581
  onSelect: P.addToSelected,
25582
25582
  onRemove: P.handleRemoveFromCatalog
25583
25583
  }, null, 8, ["layer", "map", "selectedLayers", "onSelect", "onRemove"]))), 128)),
25584
- P.searchedLayers.length === 0 ? (De(), Ke("div", uw, " Нічого не знайдено ")) : Kt("", !0)
25585
- ], 64)) : (De(), Ke(ur, { key: 1 }, [
25586
- !A.categories || Object.keys(A.categories).length === 0 ? (De(), Ke("div", hw, " Каталог порожній ")) : (De(!0), Ke(ur, { key: 1 }, ti(Object.keys(A.categories), (V) => (De(), Ke("div", { key: V }, [
25587
- $("div", {
25584
+ P.searchedLayers.length === 0 ? (Be(), Ke("div", uw, " Нічого не знайдено ")) : Qt("", !0)
25585
+ ], 64)) : (Be(), Ke(ur, { key: 1 }, [
25586
+ !A.categories || Object.keys(A.categories).length === 0 ? (Be(), Ke("div", hw, " Каталог порожній ")) : (Be(!0), Ke(ur, { key: 1 }, ti(Object.keys(A.categories), (V) => (Be(), Ke("div", { key: V }, [
25587
+ Y("div", {
25588
25588
  class: "hover:bg-gray-100 focus:bg-gray-100 px-2.5 cursor-pointer p-[8px] rounded-lg flex justify-between items-center",
25589
25589
  onClick: (K) => P.selectCategory(V)
25590
25590
  }, [
25591
- $("div", dw, [
25591
+ Y("div", dw, [
25592
25592
  Er(T, {
25593
25593
  class: nn({
25594
25594
  "rotate-up": V === A.selectedCategory,
25595
25595
  "rotate-down": V !== A.selectedCategory
25596
25596
  })
25597
25597
  }, null, 8, ["class"]),
25598
- $("div", {
25598
+ Y("div", {
25599
25599
  class: "max-w-[260px] text-[14px] text-[#4b5563]",
25600
25600
  title: V
25601
25601
  }, Et(V), 9, fw)
25602
25602
  ]),
25603
- $("div", mw, Et(P.formatNumber(A.categories[V].length)), 1)
25603
+ Y("div", mw, Et(P.formatNumber(A.categories[V].length)), 1)
25604
25604
  ], 8, pw),
25605
- Ss($("div", null, [
25606
- (De(!0), Ke(ur, null, ti(A.categories[V], (K, ie) => (De(), ni(I, {
25605
+ Ss(Y("div", null, [
25606
+ (Be(!0), Ke(ur, null, ti(A.categories[V], (K, ie) => (Be(), ni(I, {
25607
25607
  key: ie,
25608
25608
  layer: K,
25609
25609
  map: y.map,
@@ -25616,7 +25616,7 @@ function gw(p, u, y, x, A, P) {
25616
25616
  ])
25617
25617
  ]))), 128))
25618
25618
  ], 64))
25619
- ])) : Kt("", !0)
25619
+ ])) : Qt("", !0)
25620
25620
  ], 64))
25621
25621
  ]);
25622
25622
  }
@@ -30697,11 +30697,11 @@ const B2 = {
30697
30697
  { deep: !0 }
30698
30698
  ), (D, R) => {
30699
30699
  const M = dr("VsFilter");
30700
- return v.value ? (De(), Ke("div", B2, [
30701
- p.config.title ? (De(), Ke("div", O2, [
30702
- $("h2", F2, Et(p.config.title), 1)
30703
- ])) : Kt("", !0),
30704
- $("div", V2, [
30700
+ return v.value ? (Be(), Ke("div", B2, [
30701
+ p.config.title ? (Be(), Ke("div", O2, [
30702
+ Y("h2", F2, Et(p.config.title), 1)
30703
+ ])) : Qt("", !0),
30704
+ Y("div", V2, [
30705
30705
  Er(M, {
30706
30706
  ref_key: "filter",
30707
30707
  ref: x,
@@ -30713,7 +30713,7 @@ const B2 = {
30713
30713
  onFilterChange: s
30714
30714
  }, null, 8, ["scheme"])
30715
30715
  ])
30716
- ])) : Kt("", !0);
30716
+ ])) : Qt("", !0);
30717
30717
  };
30718
30718
  }
30719
30719
  }, U2 = {
@@ -30794,7 +30794,7 @@ const B2 = {
30794
30794
  { deep: !0 }
30795
30795
  ), (R, M) => {
30796
30796
  const U = dr("VsPopover"), I = dr("VsFilterList");
30797
- return v.value && P.value.length ? (De(), ni(I, {
30797
+ return v.value && P.value.length ? (Be(), ni(I, {
30798
30798
  key: 0,
30799
30799
  ref_key: "filter",
30800
30800
  ref: x,
@@ -30812,36 +30812,36 @@ const B2 = {
30812
30812
  placement: "bottom"
30813
30813
  }, {
30814
30814
  reference: _r(() => [
30815
- $("button", U2, [
30816
- $("div", N2, [
30817
- M[0] || (M[0] = $("svg", {
30815
+ Y("button", U2, [
30816
+ Y("div", N2, [
30817
+ M[0] || (M[0] = Y("svg", {
30818
30818
  width: "18",
30819
30819
  height: "18",
30820
30820
  viewBox: "0 0 24 24",
30821
30821
  fill: "none",
30822
30822
  xmlns: "http://www.w3.org/2000/svg"
30823
30823
  }, [
30824
- $("path", {
30824
+ Y("path", {
30825
30825
  d: "M12 20L9 21V12.5L4.52 7.572C4.18545 7.20393 4.00005 6.7244 4 6.227V4H20V6.172C19.9999 6.70239 19.7891 7.21101 19.414 7.586L15 12",
30826
30826
  stroke: "currentColor",
30827
30827
  "stroke-linecap": "round",
30828
30828
  "stroke-linejoin": "round"
30829
30829
  }),
30830
- $("path", {
30830
+ Y("path", {
30831
30831
  d: "M21.121 20.1209C21.5406 19.7014 21.8265 19.1668 21.9423 18.5849C22.0581 18.0029 21.9988 17.3997 21.7717 16.8514C21.5447 16.3032 21.1602 15.8346 20.6668 15.5049C20.1734 15.1752 19.5934 14.9993 19 14.9993C18.4066 14.9993 17.8266 15.1752 17.3332 15.5049C16.8398 15.8346 16.4553 16.3032 16.2283 16.8514C16.0012 17.3997 15.9419 18.0029 16.0577 18.5849C16.1735 19.1668 16.4594 19.7014 16.879 20.1209C17.297 20.5399 18.004 21.1659 19 21.9999C20.051 21.1099 20.759 20.4839 21.121 20.1209Z",
30832
30832
  stroke: "currentColor",
30833
30833
  "stroke-linecap": "round",
30834
30834
  "stroke-linejoin": "round"
30835
30835
  }),
30836
- $("path", {
30836
+ Y("path", {
30837
30837
  d: "M19 18V18.01",
30838
30838
  stroke: "currentColor",
30839
30839
  "stroke-linecap": "round",
30840
30840
  "stroke-linejoin": "round"
30841
30841
  })
30842
30842
  ], -1)),
30843
- $("span", j2, Et(s.value), 1),
30844
- y.value ? (De(), Ke("span", H2, Et(y.value), 1)) : Kt("", !0)
30843
+ Y("span", j2, Et(s.value), 1),
30844
+ y.value ? (Be(), Ke("span", H2, Et(y.value), 1)) : Qt("", !0)
30845
30845
  ])
30846
30846
  ])
30847
30847
  ]),
@@ -30852,7 +30852,7 @@ const B2 = {
30852
30852
  })
30853
30853
  ]),
30854
30854
  _: 1
30855
- }, 8, ["isDialog", "scheme"])) : Kt("", !0);
30855
+ }, 8, ["isDialog", "scheme"])) : Qt("", !0);
30856
30856
  };
30857
30857
  }
30858
30858
  }, Z2 = { class: "bg-white p-4 rounded-lg h-full flex flex-col overflow-hidden" }, K2 = {
@@ -30899,30 +30899,30 @@ const B2 = {
30899
30899
  }), (U, I) => {
30900
30900
  var k;
30901
30901
  const T = dr("VsPagination");
30902
- return De(), Ke("div", Z2, [
30903
- I[0] || (I[0] = $("h2", { class: "text-xl font-semibold mb-4" }, "Список", -1)),
30904
- ((k = A.value) == null ? void 0 : k.length) > 0 ? (De(), Ke("div", K2, [
30905
- $("div", G2, [
30906
- (De(!0), Ke(ur, null, ti(A.value, (V) => (De(), Ke("div", {
30902
+ return Be(), Ke("div", Z2, [
30903
+ I[0] || (I[0] = Y("h2", { class: "text-xl font-semibold mb-4" }, "Список", -1)),
30904
+ ((k = A.value) == null ? void 0 : k.length) > 0 ? (Be(), Ke("div", K2, [
30905
+ Y("div", G2, [
30906
+ (Be(!0), Ke(ur, null, ti(A.value, (V) => (Be(), Ke("div", {
30907
30907
  key: V.id,
30908
30908
  class: "py-4 border-b last:border-b-0 hover:bg-gray-50",
30909
30909
  onClick: (K) => x("cardValuesId", V.id)
30910
30910
  }, [
30911
- $("h3", X2, Et(V.name), 1),
30912
- $("div", Q2, [
30913
- V.status_data ? (De(), Ke("span", {
30911
+ Y("h3", X2, Et(V.name), 1),
30912
+ Y("div", Q2, [
30913
+ V.status_data ? (Be(), Ke("span", {
30914
30914
  key: 0,
30915
30915
  class: nn(["px-2 py-1 text-sm rounded-full", {
30916
30916
  "bg-green-100 text-green-800": V.status_data.color === "green",
30917
30917
  "bg-red-100 text-red-800": V.status_data.color === "red"
30918
30918
  }])
30919
- }, Et(V.status_data.text), 3)) : Kt("", !0),
30920
- V.class_mbd_id_data ? (De(), Ke("span", Y2, Et(V.class_mbd_id_data.text), 1)) : Kt("", !0)
30919
+ }, Et(V.status_data.text), 3)) : Qt("", !0),
30920
+ V.class_mbd_id_data ? (Be(), Ke("span", Y2, Et(V.class_mbd_id_data.text), 1)) : Qt("", !0)
30921
30921
  ])
30922
30922
  ], 8, J2))), 128))
30923
30923
  ]),
30924
- P.value > s.value ? (De(), Ke("div", $2, [
30925
- $("div", eS, [
30924
+ P.value > s.value ? (Be(), Ke("div", $2, [
30925
+ Y("div", eS, [
30926
30926
  Er(T, {
30927
30927
  total: P.value,
30928
30928
  maxPages: 4,
@@ -30937,16 +30937,16 @@ const B2 = {
30937
30937
  onPageSizeChange: M
30938
30938
  }, null, 8, ["total", "defaultPage", "pageSize"])
30939
30939
  ])
30940
- ])) : Kt("", !0)
30941
- ])) : (De(), Ke("div", tS, "Немає даних"))
30940
+ ])) : Qt("", !0)
30941
+ ])) : (Be(), Ke("div", tS, "Немає даних"))
30942
30942
  ]);
30943
30943
  };
30944
30944
  }
30945
30945
  }, iS = { class: "map-skeleton-loader" }, nS = {
30946
30946
  __name: "vs-skeleton-loader",
30947
30947
  setup(p) {
30948
- return (u, y) => (De(), Ke("div", iS, y[0] || (y[0] = [
30949
- $("div", { class: "dot-pulse" }, null, -1)
30948
+ return (u, y) => (Be(), Ke("div", iS, y[0] || (y[0] = [
30949
+ Y("div", { class: "dot-pulse" }, null, -1)
30950
30950
  ])));
30951
30951
  }
30952
30952
  }, sS = /* @__PURE__ */ kr(nS, [["__scopeId", "data-v-954c1e03"]]), oS = {}, aS = {
@@ -30957,24 +30957,24 @@ const B2 = {
30957
30957
  xmlns: "http://www.w3.org/2000/svg"
30958
30958
  };
30959
30959
  function lS(p, u) {
30960
- return De(), Ke("svg", aS, u[0] || (u[0] = [
30961
- $("title", null, "Globe Icon", -1),
30962
- $("desc", null, " A circular representation of a globe with horizontal and vertical lines ", -1),
30963
- $("path", {
30960
+ return Be(), Ke("svg", aS, u[0] || (u[0] = [
30961
+ Y("title", null, "Globe Icon", -1),
30962
+ Y("desc", null, " A circular representation of a globe with horizontal and vertical lines ", -1),
30963
+ Y("path", {
30964
30964
  d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",
30965
30965
  stroke: "#1E40AF",
30966
30966
  "stroke-width": "1",
30967
30967
  "stroke-linecap": "round",
30968
30968
  "stroke-linejoin": "round"
30969
30969
  }, null, -1),
30970
- $("path", {
30970
+ Y("path", {
30971
30971
  d: "M2 12H22",
30972
30972
  stroke: "#1E40AF",
30973
30973
  "stroke-width": "1",
30974
30974
  "stroke-linecap": "round",
30975
30975
  "stroke-linejoin": "round"
30976
30976
  }, null, -1),
30977
- $("path", {
30977
+ Y("path", {
30978
30978
  d: "M12 2C14.5013 4.73835 15.9228 8.29203 16 12C15.9228 15.708 14.5013 19.2616 12 22C9.49872 19.2616 8.07725 15.708 8 12C8.07725 8.29203 9.49872 4.73835 12 2Z",
30979
30979
  stroke: "#1E40AF",
30980
30980
  "stroke-width": "1",
@@ -31001,7 +31001,7 @@ const cS = /* @__PURE__ */ kr(oS, [["render", lS]]), uS = {
31001
31001
  };
31002
31002
  function hS(p, u, y, x, A, P) {
31003
31003
  const v = dr("homeIcon"), s = dr("VsPopover");
31004
- return De(), Ke("div", null, [
31004
+ return Be(), Ke("div", null, [
31005
31005
  Er(s, {
31006
31006
  trigger: "hover",
31007
31007
  placement: "left",
@@ -31015,7 +31015,7 @@ function hS(p, u, y, x, A, P) {
31015
31015
  }, null, 8, ["onClick"])
31016
31016
  ]),
31017
31017
  default: _r(() => [
31018
- u[0] || (u[0] = $("div", null, "Повернутися до початкових налаштувань", -1))
31018
+ u[0] || (u[0] = Y("div", null, "Повернутися до початкових налаштувань", -1))
31019
31019
  ]),
31020
31020
  _: 1
31021
31021
  })
@@ -31029,24 +31029,24 @@ const pS = /* @__PURE__ */ kr(uS, [["render", hS]]), dS = {}, fS = {
31029
31029
  xmlns: "http://www.w3.org/2000/svg"
31030
31030
  };
31031
31031
  function mS(p, u) {
31032
- return De(), Ke("svg", fS, u[0] || (u[0] = [
31033
- $("title", null, "Document with Two Sections Icon", -1),
31034
- $("desc", null, "A document icon with a split design indicating two sections", -1),
31035
- $("path", {
31032
+ return Be(), Ke("svg", fS, u[0] || (u[0] = [
31033
+ Y("title", null, "Document with Two Sections Icon", -1),
31034
+ Y("desc", null, "A document icon with a split design indicating two sections", -1),
31035
+ Y("path", {
31036
31036
  d: "M6 9V2H18V9",
31037
31037
  stroke: "#1E40AF",
31038
31038
  "stroke-width": "1",
31039
31039
  "stroke-linecap": "round",
31040
31040
  "stroke-linejoin": "round"
31041
31041
  }, null, -1),
31042
- $("path", {
31042
+ Y("path", {
31043
31043
  d: "M6 18H4C3.46957 18 2.96086 17.7893 2.58579 17.4142C2.21071 17.0391 2 16.5304 2 16V11C2 10.4696 2.21071 9.96086 2.58579 9.58579C2.96086 9.21071 3.46957 9 4 9H20C20.5304 9 21.0391 9.21071 21.4142 9.58579C21.7893 9.96086 22 10.4696 22 11V16C22 16.5304 21.7893 17.0391 21.4142 17.4142C21.0391 17.7893 20.5304 18 20 18H18",
31044
31044
  stroke: "#1E40AF",
31045
31045
  "stroke-width": "1",
31046
31046
  "stroke-linecap": "round",
31047
31047
  "stroke-linejoin": "round"
31048
31048
  }, null, -1),
31049
- $("path", {
31049
+ Y("path", {
31050
31050
  d: "M18 14H6V22H18V14Z",
31051
31051
  stroke: "#1E40AF",
31052
31052
  "stroke-width": "1",
@@ -31175,7 +31175,7 @@ const gS = /* @__PURE__ */ kr(dS, [["render", mS]]), yS = {
31175
31175
  };
31176
31176
  function _S(p, u, y, x, A, P) {
31177
31177
  const v = dr("printIcon"), s = dr("VsPopover");
31178
- return De(), ni(s, {
31178
+ return Be(), ni(s, {
31179
31179
  trigger: "hover",
31180
31180
  placement: "left",
31181
31181
  teleport: "body"
@@ -31187,7 +31187,7 @@ function _S(p, u, y, x, A, P) {
31187
31187
  }, null, 8, ["onClick", "class"])
31188
31188
  ]),
31189
31189
  default: _r(() => [
31190
- u[0] || (u[0] = $("div", null, "Надрукувати", -1))
31190
+ u[0] || (u[0] = Y("div", null, "Надрукувати", -1))
31191
31191
  ]),
31192
31192
  _: 1
31193
31193
  });
@@ -31229,20 +31229,20 @@ const vS = /* @__PURE__ */ kr(yS, [["render", _S]]), xS = {
31229
31229
  };
31230
31230
  function bS(p, u, y, x, A, P) {
31231
31231
  const v = dr("VsPopover");
31232
- return De(), ni(v, {
31232
+ return Be(), ni(v, {
31233
31233
  trigger: "hover",
31234
31234
  placement: "left",
31235
31235
  teleport: "body",
31236
31236
  class: "flex"
31237
31237
  }, {
31238
31238
  reference: _r(() => [
31239
- $("div", {
31239
+ Y("div", {
31240
31240
  class: "font-light w-full h-[44px] p-[9px] [transition:.3s] hover:[transition:.3s] text-[19px] hover:bg-[#DBEAFE] flex cursor-pointer text-[#1E40AF] bg-[#fff] rounded-[4px] border-[1px] border-solid border-[#E5E7EB]",
31241
31241
  onClick: u[0] || (u[0] = (...s) => P.toggleView && P.toggleView(...s))
31242
31242
  }, Et(A.is3D ? "2D" : "3D"), 1)
31243
31243
  ]),
31244
31244
  default: _r(() => [
31245
- u[1] || (u[1] = $("div", null, "Перемикач виду", -1))
31245
+ u[1] || (u[1] = Y("div", null, "Перемикач виду", -1))
31246
31246
  ]),
31247
31247
  _: 1
31248
31248
  });
@@ -31260,9 +31260,9 @@ const wS = /* @__PURE__ */ kr(xS, [["render", bS]]), SS = {}, AS = {
31260
31260
  "stroke-linejoin": "round"
31261
31261
  };
31262
31262
  function kS(p, u) {
31263
- return De(), Ke("svg", AS, u[0] || (u[0] = [
31264
- $("path", { d: "M18 6 6 18" }, null, -1),
31265
- $("path", { d: "m6 6 12 12" }, null, -1)
31263
+ return Be(), Ke("svg", AS, u[0] || (u[0] = [
31264
+ Y("path", { d: "M18 6 6 18" }, null, -1),
31265
+ Y("path", { d: "m6 6 12 12" }, null, -1)
31266
31266
  ]));
31267
31267
  }
31268
31268
  const Ud = /* @__PURE__ */ kr(SS, [["render", kS]]), TS = {
@@ -31280,45 +31280,45 @@ const Ud = /* @__PURE__ */ kr(SS, [["render", kS]]), TS = {
31280
31280
  xmlns: "http://www.w3.org/2000/svg"
31281
31281
  }, PS = ["stroke"], ES = ["stroke"], IS = ["stroke"], MS = ["stroke"], LS = ["stroke"], RS = ["stroke"];
31282
31282
  function zS(p, u, y, x, A, P) {
31283
- return De(), Ke("svg", CS, [
31284
- u[0] || (u[0] = $("title", null, "Target Icon", -1)),
31285
- u[1] || (u[1] = $("desc", null, "A target icon with a circular pattern inside a rounded square", -1)),
31286
- $("path", {
31283
+ return Be(), Ke("svg", CS, [
31284
+ u[0] || (u[0] = Y("title", null, "Target Icon", -1)),
31285
+ u[1] || (u[1] = Y("desc", null, "A target icon with a circular pattern inside a rounded square", -1)),
31286
+ Y("path", {
31287
31287
  d: "M2 12H5",
31288
31288
  stroke: y.bgColor,
31289
31289
  "stroke-width": "1",
31290
31290
  "stroke-linecap": "round",
31291
31291
  "stroke-linejoin": "round"
31292
31292
  }, null, 8, PS),
31293
- $("path", {
31293
+ Y("path", {
31294
31294
  d: "M19 12H22",
31295
31295
  stroke: y.bgColor,
31296
31296
  "stroke-width": "1",
31297
31297
  "stroke-linecap": "round",
31298
31298
  "stroke-linejoin": "round"
31299
31299
  }, null, 8, ES),
31300
- $("path", {
31300
+ Y("path", {
31301
31301
  d: "M12 2V5",
31302
31302
  stroke: y.bgColor,
31303
31303
  "stroke-width": "1",
31304
31304
  "stroke-linecap": "round",
31305
31305
  "stroke-linejoin": "round"
31306
31306
  }, null, 8, IS),
31307
- $("path", {
31307
+ Y("path", {
31308
31308
  d: "M12 19V22",
31309
31309
  stroke: y.bgColor,
31310
31310
  "stroke-width": "1",
31311
31311
  "stroke-linecap": "round",
31312
31312
  "stroke-linejoin": "round"
31313
31313
  }, null, 8, MS),
31314
- $("path", {
31314
+ Y("path", {
31315
31315
  d: "M12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19Z",
31316
31316
  stroke: y.bgColor,
31317
31317
  "stroke-width": "1",
31318
31318
  "stroke-linecap": "round",
31319
31319
  "stroke-linejoin": "round"
31320
31320
  }, null, 8, LS),
31321
- $("path", {
31321
+ Y("path", {
31322
31322
  d: "M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z",
31323
31323
  stroke: y.bgColor,
31324
31324
  "stroke-width": "1",
@@ -31412,42 +31412,42 @@ const DS = /* @__PURE__ */ kr(TS, [["render", zS]]), { Marker: BS } = fd, OS = {
31412
31412
  function NS(p, u, y, x, A, P) {
31413
31413
  var R, M, U, I, T, k;
31414
31414
  const v = dr("closeIcon"), s = dr("geoIcon"), D = dr("VsPopover");
31415
- return De(), Ke("div", null, [
31416
- (De(), ni(Cd, { to: "#maplibre-demo-map" }, [
31417
- A.location ? (De(), Ke("div", FS, [
31418
- $("div", VS, [
31419
- u[0] || (u[0] = $("div", { class: "text-lg font-semibold" }, "Ваша геолокація", -1)),
31420
- $("div", qS, [
31415
+ return Be(), Ke("div", null, [
31416
+ (Be(), ni(Cd, { to: "#maplibre-demo-map" }, [
31417
+ A.location ? (Be(), Ke("div", FS, [
31418
+ Y("div", VS, [
31419
+ u[0] || (u[0] = Y("div", { class: "text-lg font-semibold" }, "Ваша геолокація", -1)),
31420
+ Y("div", qS, [
31421
31421
  Er(v, { onClick: P.closeGeolocation }, null, 8, ["onClick"])
31422
31422
  ])
31423
31423
  ]),
31424
- $("div", US, [
31425
- $("div", null, [
31426
- u[1] || (u[1] = $("strong", null, "Широта:", -1)),
31424
+ Y("div", US, [
31425
+ Y("div", null, [
31426
+ u[1] || (u[1] = Y("strong", null, "Широта:", -1)),
31427
31427
  si(" " + Et((R = A.location) == null ? void 0 : R.latitude), 1)
31428
31428
  ]),
31429
- $("div", null, [
31430
- u[2] || (u[2] = $("strong", null, "Довгота:", -1)),
31429
+ Y("div", null, [
31430
+ u[2] || (u[2] = Y("strong", null, "Довгота:", -1)),
31431
31431
  si(" " + Et((M = A.location) == null ? void 0 : M.longitude), 1)
31432
31432
  ]),
31433
- $("div", null, [
31434
- u[3] || (u[3] = $("strong", null, "КраЇна:", -1)),
31433
+ Y("div", null, [
31434
+ u[3] || (u[3] = Y("strong", null, "КраЇна:", -1)),
31435
31435
  si(" " + Et((U = A.data) == null ? void 0 : U.country), 1)
31436
31436
  ]),
31437
- $("div", null, [
31438
- u[4] || (u[4] = $("strong", null, "Код країни:", -1)),
31437
+ Y("div", null, [
31438
+ u[4] || (u[4] = Y("strong", null, "Код країни:", -1)),
31439
31439
  si(" " + Et((I = A.data) == null ? void 0 : I.country_code), 1)
31440
31440
  ]),
31441
- $("div", null, [
31442
- u[5] || (u[5] = $("strong", null, "Місто:", -1)),
31441
+ Y("div", null, [
31442
+ u[5] || (u[5] = Y("strong", null, "Місто:", -1)),
31443
31443
  si(" " + Et((T = A.data) == null ? void 0 : T.city), 1)
31444
31444
  ]),
31445
- $("div", null, [
31446
- u[6] || (u[6] = $("strong", null, "Поштовий індекс:", -1)),
31445
+ Y("div", null, [
31446
+ u[6] || (u[6] = Y("strong", null, "Поштовий індекс:", -1)),
31447
31447
  si(" " + Et((k = A.data) == null ? void 0 : k.postcode), 1)
31448
31448
  ])
31449
31449
  ])
31450
- ])) : Kt("", !0)
31450
+ ])) : Qt("", !0)
31451
31451
  ])),
31452
31452
  Er(D, {
31453
31453
  trigger: "hover",
@@ -31462,7 +31462,7 @@ function NS(p, u, y, x, A, P) {
31462
31462
  }, null, 8, ["onClick", "class"])
31463
31463
  ]),
31464
31464
  default: _r(() => [
31465
- u[7] || (u[7] = $("div", null, "Дізнатися геолокацію", -1))
31465
+ u[7] || (u[7] = Y("div", null, "Дізнатися геолокацію", -1))
31466
31466
  ]),
31467
31467
  _: 1
31468
31468
  })
@@ -31909,38 +31909,38 @@ const rA = {
31909
31909
  xmlns: "http://www.w3.org/2000/svg"
31910
31910
  }, nA = ["stroke"], sA = ["stroke"], oA = ["stroke"], aA = ["stroke"], lA = ["stroke"];
31911
31911
  function cA(p, u, y, x, A, P) {
31912
- return De(), Ke("svg", iA, [
31913
- u[0] || (u[0] = $("title", null, "Pencil Icon", -1)),
31914
- u[1] || (u[1] = $("desc", null, "A pencil icon with strokes and detailed lines", -1)),
31915
- $("path", {
31912
+ return Be(), Ke("svg", iA, [
31913
+ u[0] || (u[0] = Y("title", null, "Pencil Icon", -1)),
31914
+ u[1] || (u[1] = Y("desc", null, "A pencil icon with strokes and detailed lines", -1)),
31915
+ Y("path", {
31916
31916
  d: "M21.3 15.3C21.5238 15.523 21.7013 15.7879 21.8225 16.0796C21.9436 16.3714 22.0059 16.6841 22.0059 17C22.0059 17.3159 21.9436 17.6286 21.8225 17.9204C21.7013 18.2121 21.5238 18.477 21.3 18.7L18.7 21.3C18.4771 21.5237 18.2121 21.7013 17.9204 21.8224C17.6287 21.9435 17.3159 22.0059 17 22.0059C16.6842 22.0059 16.3714 21.9435 16.0797 21.8224C15.788 21.7013 15.523 21.5237 15.3 21.3L2.70005 8.7C2.2506 8.24838 1.99829 7.63715 1.99829 7C1.99829 6.36285 2.2506 5.75162 2.70005 5.3L5.30005 2.7C5.75167 2.25056 6.36289 1.99825 7.00005 1.99825C7.6372 1.99825 8.24842 2.25056 8.70005 2.7L21.3 15.3Z",
31917
31917
  stroke: y.bgColor,
31918
31918
  "stroke-width": "1",
31919
31919
  "stroke-linecap": "round",
31920
31920
  "stroke-linejoin": "round"
31921
31921
  }, null, 8, nA),
31922
- $("path", {
31922
+ Y("path", {
31923
31923
  d: "M14.5 12.5L16.5 10.5",
31924
31924
  stroke: y.bgColor,
31925
31925
  "stroke-width": "1",
31926
31926
  "stroke-linecap": "round",
31927
31927
  "stroke-linejoin": "round"
31928
31928
  }, null, 8, sA),
31929
- $("path", {
31929
+ Y("path", {
31930
31930
  d: "M11.5 9.5L13.5 7.5",
31931
31931
  stroke: y.bgColor,
31932
31932
  "stroke-width": "1",
31933
31933
  "stroke-linecap": "round",
31934
31934
  "stroke-linejoin": "round"
31935
31935
  }, null, 8, oA),
31936
- $("path", {
31936
+ Y("path", {
31937
31937
  d: "M8.5 6.5L10.5 4.5",
31938
31938
  stroke: y.bgColor,
31939
31939
  "stroke-width": "1",
31940
31940
  "stroke-linecap": "round",
31941
31941
  "stroke-linejoin": "round"
31942
31942
  }, null, 8, aA),
31943
- $("path", {
31943
+ Y("path", {
31944
31944
  d: "M17.5 15.5L19.5 13.5",
31945
31945
  stroke: y.bgColor,
31946
31946
  "stroke-width": "1",
@@ -32203,17 +32203,17 @@ const uA = /* @__PURE__ */ kr(rA, [["render", cA]]), hA = {
32203
32203
  };
32204
32204
  function _A(p, u, y, x, A, P) {
32205
32205
  const v = dr("closeIcon"), s = dr("VsPopover"), D = dr("VsSwitch"), R = dr("rulerIcon");
32206
- return De(), Ke("div", null, [
32207
- (De(), ni(Cd, { to: "#maplibre-demo-map" }, [
32208
- A.modalVisible && y.activeTool === "length" ? (De(), Ke("div", pA, [
32209
- $("div", dA, [
32210
- u[3] || (u[3] = $("div", { class: "text-[20px]" }, "Лінійка", -1)),
32206
+ return Be(), Ke("div", null, [
32207
+ (Be(), ni(Cd, { to: "#maplibre-demo-map" }, [
32208
+ A.modalVisible && y.activeTool === "length" ? (Be(), Ke("div", pA, [
32209
+ Y("div", dA, [
32210
+ u[3] || (u[3] = Y("div", { class: "text-[20px]" }, "Лінійка", -1)),
32211
32211
  Er(s, {
32212
32212
  trigger: "hover",
32213
32213
  teleport: "body"
32214
32214
  }, {
32215
32215
  reference: _r(() => [
32216
- $("button", {
32216
+ Y("button", {
32217
32217
  type: "button",
32218
32218
  class: "size-8 inline-flex justify-center items-center gap-x-2 rounded-full border border-transparent bg-gray-100 text-gray-800 hover:bg-gray-200 focus:outline-none focus:bg-gray-200 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-700 dark:hover:bg-neutral-600 dark:text-neutral-400 dark:focus:bg-neutral-600",
32219
32219
  onClick: u[0] || (u[0] = (...M) => P.toggleMeasure && P.toggleMeasure(...M))
@@ -32227,32 +32227,32 @@ function _A(p, u, y, x, A, P) {
32227
32227
  _: 1
32228
32228
  })
32229
32229
  ]),
32230
- $("div", fA, [
32231
- $("p", mA, [
32232
- A.points.length ? Kt("", !0) : (De(), Ke(ur, { key: 0 }, [
32230
+ Y("div", fA, [
32231
+ Y("p", mA, [
32232
+ A.points.length ? Qt("", !0) : (Be(), Ke(ur, { key: 0 }, [
32233
32233
  si(" Натисніть на мапу, щоб додати першу точку. ")
32234
32234
  ], 64)),
32235
- A.points.length == 1 ? (De(), Ke(ur, { key: 1 }, [
32235
+ A.points.length == 1 ? (Be(), Ke(ur, { key: 1 }, [
32236
32236
  si(" Натисніть на мапу, щоб додати другу точку. ")
32237
- ], 64)) : Kt("", !0),
32238
- A.points.length > 1 ? (De(), Ke(ur, { key: 2 }, [
32237
+ ], 64)) : Qt("", !0),
32238
+ A.points.length > 1 ? (Be(), Ke(ur, { key: 2 }, [
32239
32239
  si(" Продовжуйте натискати для додавання нових точок. Точки можна рухати. ")
32240
- ], 64)) : Kt("", !0)
32240
+ ], 64)) : Qt("", !0)
32241
32241
  ]),
32242
- A.points.length >= 3 ? (De(), Ke("div", gA, [
32242
+ A.points.length >= 3 ? (Be(), Ke("div", gA, [
32243
32243
  Er(D, {
32244
32244
  modelValue: A.distanceType,
32245
32245
  "onUpdate:modelValue": u[1] || (u[1] = (M) => A.distanceType = M),
32246
32246
  onChange: P.setPoints
32247
32247
  }, null, 8, ["modelValue", "onChange"]),
32248
- u[4] || (u[4] = $("span", { class: "text-[14px] font-medium text-[#6B7280] ml-2" }, "загальна | до точки", -1))
32249
- ])) : Kt("", !0),
32250
- A.points.length >= 2 ? (De(), Ke("div", yA, [
32248
+ u[4] || (u[4] = Y("span", { class: "text-[14px] font-medium text-[#6B7280] ml-2" }, "загальна | до точки", -1))
32249
+ ])) : Qt("", !0),
32250
+ A.points.length >= 2 ? (Be(), Ke("div", yA, [
32251
32251
  u[5] || (u[5] = si(" Загальна відстань: ")),
32252
- $("span", null, Et(A.distance.toLocaleString()) + " км", 1)
32253
- ], 512)) : Kt("", !0)
32252
+ Y("span", null, Et(A.distance.toLocaleString()) + " км", 1)
32253
+ ], 512)) : Qt("", !0)
32254
32254
  ])
32255
- ])) : Kt("", !0)
32255
+ ])) : Qt("", !0)
32256
32256
  ])),
32257
32257
  Er(s, {
32258
32258
  trigger: "hover",
@@ -32267,7 +32267,7 @@ function _A(p, u, y, x, A, P) {
32267
32267
  }, null, 8, ["class", "onClick"])
32268
32268
  ]),
32269
32269
  default: _r(() => [
32270
- u[6] || (u[6] = $("div", null, "Виміряти довжину", -1))
32270
+ u[6] || (u[6] = Y("div", null, "Виміряти довжину", -1))
32271
32271
  ]),
32272
32272
  _: 1
32273
32273
  })
@@ -32288,24 +32288,24 @@ const vA = /* @__PURE__ */ kr(hA, [["render", _A], ["__scopeId", "data-v-401b2f1
32288
32288
  xmlns: "http://www.w3.org/2000/svg"
32289
32289
  }, wA = ["stroke"], SA = ["stroke"], AA = ["stroke"];
32290
32290
  function kA(p, u, y, x, A, P) {
32291
- return De(), Ke("svg", bA, [
32292
- u[0] || (u[0] = $("title", null, "Crossed Arrows with Curved Line Icon", -1)),
32293
- u[1] || (u[1] = $("desc", null, "Two crossed arrows with a curved line to the right", -1)),
32294
- $("path", {
32291
+ return Be(), Ke("svg", bA, [
32292
+ u[0] || (u[0] = Y("title", null, "Crossed Arrows with Curved Line Icon", -1)),
32293
+ u[1] || (u[1] = Y("desc", null, "Two crossed arrows with a curved line to the right", -1)),
32294
+ Y("path", {
32295
32295
  d: "M4 19L12 11",
32296
32296
  stroke: y.bgColor,
32297
32297
  "stroke-width": "1",
32298
32298
  "stroke-linecap": "round",
32299
32299
  "stroke-linejoin": "round"
32300
32300
  }, null, 8, wA),
32301
- $("path", {
32301
+ Y("path", {
32302
32302
  d: "M12 19L4 11",
32303
32303
  stroke: y.bgColor,
32304
32304
  "stroke-width": "1",
32305
32305
  "stroke-linecap": "round",
32306
32306
  "stroke-linejoin": "round"
32307
32307
  }, null, 8, SA),
32308
- $("path", {
32308
+ Y("path", {
32309
32309
  d: "M20 12H16C16 10.5 16.442 10 17.5 9.5C18.558 9 20 8.334 20 7.002C20 6.53 19.83 6.072 19.516 5.712C19.196 5.35007 18.7613 5.1092 18.2848 5.02981C17.8083 4.95043 17.319 5.03735 16.899 5.276C16.479 5.515 16.161 5.89 16 6.336",
32310
32310
  stroke: y.bgColor,
32311
32311
  "stroke-width": "1",
@@ -32549,17 +32549,17 @@ const TA = /* @__PURE__ */ kr(xA, [["render", kA]]), CA = {
32549
32549
  };
32550
32550
  function RA(p, u, y, x, A, P) {
32551
32551
  const v = dr("closeIcon"), s = dr("VsPopover"), D = dr("areaIcon");
32552
- return De(), Ke("div", null, [
32553
- (De(), ni(Cd, { to: "#maplibre-demo-map" }, [
32554
- A.modalVisible && y.activeTool === "area" ? (De(), Ke("div", PA, [
32555
- $("div", EA, [
32556
- u[2] || (u[2] = $("div", { class: "text-lg" }, "Площа", -1)),
32552
+ return Be(), Ke("div", null, [
32553
+ (Be(), ni(Cd, { to: "#maplibre-demo-map" }, [
32554
+ A.modalVisible && y.activeTool === "area" ? (Be(), Ke("div", PA, [
32555
+ Y("div", EA, [
32556
+ u[2] || (u[2] = Y("div", { class: "text-lg" }, "Площа", -1)),
32557
32557
  Er(s, {
32558
32558
  trigger: "hover",
32559
32559
  teleport: "body"
32560
32560
  }, {
32561
32561
  reference: _r(() => [
32562
- $("button", {
32562
+ Y("button", {
32563
32563
  type: "button",
32564
32564
  class: "size-8 inline-flex justify-center items-center gap-x-2 rounded-full border border-transparent bg-gray-100 text-gray-800 hover:bg-gray-200 focus:outline-none focus:bg-gray-200 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-700 dark:hover:bg-neutral-600 dark:text-neutral-400 dark:focus:bg-neutral-600",
32565
32565
  onClick: u[0] || (u[0] = (...R) => P.toggleMeasure && P.toggleMeasure(...R))
@@ -32573,24 +32573,24 @@ function RA(p, u, y, x, A, P) {
32573
32573
  _: 1
32574
32574
  })
32575
32575
  ]),
32576
- $("div", IA, [
32577
- $("p", MA, [
32578
- A.points.length ? Kt("", !0) : (De(), Ke(ur, { key: 0 }, [
32576
+ Y("div", IA, [
32577
+ Y("p", MA, [
32578
+ A.points.length ? Qt("", !0) : (Be(), Ke(ur, { key: 0 }, [
32579
32579
  si(" Натисніть на мапу, щоб додати першу точку. ")
32580
32580
  ], 64)),
32581
- A.points.length == 1 ? (De(), Ke(ur, { key: 1 }, [
32581
+ A.points.length == 1 ? (Be(), Ke(ur, { key: 1 }, [
32582
32582
  si(" Натисніть на мапу, щоб додати другу точку. ")
32583
- ], 64)) : Kt("", !0),
32584
- A.points.length > 1 ? (De(), Ke(ur, { key: 2 }, [
32583
+ ], 64)) : Qt("", !0),
32584
+ A.points.length > 1 ? (Be(), Ke(ur, { key: 2 }, [
32585
32585
  si(" Продовжуйте натискати для додавання нових точок. Точки можна рухати. ")
32586
- ], 64)) : Kt("", !0)
32586
+ ], 64)) : Qt("", !0)
32587
32587
  ]),
32588
- A.points.length > 2 ? (De(), Ke("div", LA, [
32588
+ A.points.length > 2 ? (Be(), Ke("div", LA, [
32589
32589
  u[3] || (u[3] = si(" Загальна площа: ")),
32590
- $("span", null, Et(A.area.toLocaleString()) + " км²", 1)
32591
- ], 512)) : Kt("", !0)
32590
+ Y("span", null, Et(A.area.toLocaleString()) + " км²", 1)
32591
+ ], 512)) : Qt("", !0)
32592
32592
  ])
32593
- ])) : Kt("", !0)
32593
+ ])) : Qt("", !0)
32594
32594
  ])),
32595
32595
  Er(s, {
32596
32596
  trigger: "hover",
@@ -32605,7 +32605,7 @@ function RA(p, u, y, x, A, P) {
32605
32605
  }, null, 8, ["onClick", "class"])
32606
32606
  ]),
32607
32607
  default: _r(() => [
32608
- u[4] || (u[4] = $("div", null, "Виміряти площу", -1))
32608
+ u[4] || (u[4] = Y("div", null, "Виміряти площу", -1))
32609
32609
  ]),
32610
32610
  _: 1
32611
32611
  })
@@ -32652,7 +32652,7 @@ const zA = /* @__PURE__ */ kr(CA, [["render", RA], ["__scopeId", "data-v-024154e
32652
32652
  });
32653
32653
  }), Gg(() => {
32654
32654
  P && P.disconnect();
32655
- }), (v, s) => p.mapLoaded ? (De(), Ke("div", {
32655
+ }), (v, s) => p.mapLoaded ? (Be(), Ke("div", {
32656
32656
  key: 0,
32657
32657
  class: nn(["widget-column", [qv(Yg)(p.position)]]),
32658
32658
  ref_key: "columnRef",
@@ -32663,10 +32663,10 @@ const zA = /* @__PURE__ */ kr(CA, [["render", RA], ["__scopeId", "data-v-024154e
32663
32663
  ...p.rightColumnOffset ? { right: p.rightColumnOffset } : {}
32664
32664
  })
32665
32665
  }, [
32666
- (De(!0), Ke(ur, null, ti(p.widgets, (D) => (De(), Ke(ur, {
32666
+ (Be(!0), Ke(ur, null, ti(p.widgets, (D) => (Be(), Ke(ur, {
32667
32667
  key: D.id || D.type
32668
32668
  }, [
32669
- D.type !== "card" ? (De(), ni(Rc(p.getWidgetComponent(D.type)), {
32669
+ D.type !== "card" ? (Be(), ni(Rc(p.getWidgetComponent(D.type)), {
32670
32670
  key: 0,
32671
32671
  map: p.map,
32672
32672
  config: D.config,
@@ -32679,17 +32679,17 @@ const zA = /* @__PURE__ */ kr(CA, [["render", RA], ["__scopeId", "data-v-024154e
32679
32679
  onCardValuesId: s[2] || (s[2] = (R) => v.$emit("cardValuesId", R)),
32680
32680
  onContentResize: s[3] || (s[3] = (R) => v.$emit("content-resize")),
32681
32681
  class: "widget"
32682
- }, null, 40, ["map", "config", "hasFilters", "currentLayer", "enabledLayerIds", "history"])) : Kt("", !0),
32683
- p.cardValues && D.type === "card" ? (De(), ni(Py, {
32682
+ }, null, 40, ["map", "config", "hasFilters", "currentLayer", "enabledLayerIds", "history"])) : Qt("", !0),
32683
+ p.cardValues && D.type === "card" ? (Be(), ni(Py, {
32684
32684
  key: 1,
32685
32685
  config: D.config,
32686
32686
  cardValues: p.cardValues,
32687
32687
  class: "widget",
32688
32688
  onClose: s[4] || (s[4] = (R) => v.$emit("closeCard")),
32689
32689
  onContentResize: s[5] || (s[5] = (R) => v.$emit("content-resize"))
32690
- }, null, 8, ["config", "cardValues"])) : Kt("", !0)
32690
+ }, null, 8, ["config", "cardValues"])) : Qt("", !0)
32691
32691
  ], 64))), 128))
32692
- ], 6)) : Kt("", !0);
32692
+ ], 6)) : Qt("", !0);
32693
32693
  }
32694
32694
  }, BA = /* @__PURE__ */ kr(DA, [["__scopeId", "data-v-b777fbc8"]]), OA = { class: "map-widgets" }, FA = { class: "absolute top-[180px] right-2 z-10 flex flex-col gap-[5px]" }, VA = {
32695
32695
  __name: "vs-map",
@@ -32761,18 +32761,18 @@ const zA = /* @__PURE__ */ kr(CA, [["render", RA], ["__scopeId", "data-v-024154e
32761
32761
  ht.forEach((Ut) => {
32762
32762
  Vt[Ut] && (Vt[Ut].style.maxHeight = "");
32763
32763
  });
32764
- const { heights: Gt } = qg(Vt, window.innerHeight);
32764
+ const { heights: Kt } = qg(Vt, window.innerHeight);
32765
32765
  ht.forEach((Ut) => {
32766
- Vt[Ut] && Gt[Ut] && (Vt[Ut].style.maxHeight = Gt[Ut] + "px");
32767
- }), ht.includes("top-left") && (k.value = Gt.topLeft), ht.includes("bottom-left") && (le.value = Gt.bottomLeft), ht.includes("top-right") && (V.value = Gt.topRight), ht.includes("bottom-right") && (Pe.value = Gt.bottomRight), ht.includes("top-center") && (K.value = Gt.topCenter), ht.includes("bottom-center") && (te.value = Gt.bottomCenter), ht.includes("center") && (ie.value = Gt.center);
32766
+ Vt[Ut] && Kt[Ut] && (Vt[Ut].style.maxHeight = Kt[Ut] + "px");
32767
+ }), ht.includes("top-left") && (k.value = Kt.topLeft), ht.includes("bottom-left") && (le.value = Kt.bottomLeft), ht.includes("top-right") && (V.value = Kt.topRight), ht.includes("bottom-right") && (Pe.value = Kt.bottomRight), ht.includes("top-center") && (K.value = Kt.topCenter), ht.includes("bottom-center") && (te.value = Kt.bottomCenter), ht.includes("center") && (ie.value = Kt.center);
32768
32768
  }
32769
32769
  function ze(_t) {
32770
32770
  var wt, ht;
32771
32771
  return _t === "center" ? [
32772
32772
  ...((wt = u.config.widgets) == null ? void 0 : wt.filter(
32773
- (Gt) => (Gt.position || {}) === "center"
32773
+ (Kt) => (Kt.position || {}) === "center"
32774
32774
  )) || [],
32775
- ...D.value.filter((Gt) => Gt.position === "center")
32775
+ ...D.value.filter((Kt) => Kt.position === "center")
32776
32776
  ] : ((ht = u.config.widgets) == null ? void 0 : ht.filter(
32777
32777
  (Vt) => (Vt.position || {}) === _t
32778
32778
  )) || [];
@@ -32785,7 +32785,7 @@ const zA = /* @__PURE__ */ kr(CA, [["render", RA], ["__scopeId", "data-v-024154e
32785
32785
  try {
32786
32786
  if (_t)
32787
32787
  if (ht === "markdown") {
32788
- const Vt = _t.replace(/\{\{([^}]+)\}\}/g, (Gt, Ut) => {
32788
+ const Vt = _t.replace(/\{\{([^}]+)\}\}/g, (Kt, Ut) => {
32789
32789
  try {
32790
32790
  return new Function("data", `with(data) { return ${Ut} }`)(wt);
32791
32791
  } catch {
@@ -32798,11 +32798,11 @@ const zA = /* @__PURE__ */ kr(CA, [["render", RA], ["__scopeId", "data-v-024154e
32798
32798
  } catch (Vt) {
32799
32799
  return console.error("Error processing template:", Vt), _t;
32800
32800
  }
32801
- }, nt = (_t, wt, ht, Vt, Gt, Ut) => {
32802
- const xr = Ne(_t, Vt, Gt), jt = wt ? Ne(wt, Vt, Gt) : "";
32801
+ }, nt = (_t, wt, ht, Vt, Kt, Ut) => {
32802
+ const xr = Ne(_t, Vt, Kt), jt = wt ? Ne(wt, Vt, Kt) : "";
32803
32803
  let Sr = "";
32804
32804
  return ht != null && ht.length && (Sr = ht.map(($r) => {
32805
- const Pi = Ne($r.value, Vt, Gt);
32805
+ const Pi = Ne($r.value, Vt, Kt);
32806
32806
  return `
32807
32807
  <tr class="flex justify-between items-center">
32808
32808
  <td class="font-medium mr-1.5 flex items-center">${$r.label}</td>
@@ -32844,18 +32844,18 @@ const zA = /* @__PURE__ */ kr(CA, [["render", RA], ["__scopeId", "data-v-024154e
32844
32844
  P.value = _t;
32845
32845
  };
32846
32846
  function bt() {
32847
- const _t = new URLSearchParams(window.location.search), wt = parseFloat(_t.get("x")), ht = parseFloat(_t.get("y")), Vt = parseFloat(_t.get("z")), Gt = parseFloat(_t.get("bearing")), Ut = parseFloat(_t.get("pitch"));
32847
+ const _t = new URLSearchParams(window.location.search), wt = parseFloat(_t.get("x")), ht = parseFloat(_t.get("y")), Vt = parseFloat(_t.get("z")), Kt = parseFloat(_t.get("bearing")), Ut = parseFloat(_t.get("pitch"));
32848
32848
  return {
32849
32849
  center: isFinite(wt) && isFinite(ht) ? [wt, ht] : null,
32850
32850
  zoom: isFinite(Vt) ? Vt : null,
32851
- bearing: isFinite(Gt) ? Gt : null,
32851
+ bearing: isFinite(Kt) ? Kt : null,
32852
32852
  pitch: isFinite(Ut) ? Ut : null
32853
32853
  };
32854
32854
  }
32855
32855
  function Ht({ center: _t, zoom: wt, bearing: ht, pitch: Vt }) {
32856
- const Gt = new URLSearchParams(window.location.search);
32857
- Gt.set("x", _t[0].toFixed(5)), Gt.set("y", _t[1].toFixed(5)), Gt.set("z", wt.toFixed(2)), Gt.set("bearing", ht.toFixed(2)), Gt.set("pitch", Vt.toFixed(2));
32858
- const Ut = `${window.location.pathname}?${Gt.toString()}`;
32856
+ const Kt = new URLSearchParams(window.location.search);
32857
+ Kt.set("x", _t[0].toFixed(5)), Kt.set("y", _t[1].toFixed(5)), Kt.set("z", wt.toFixed(2)), Kt.set("bearing", ht.toFixed(2)), Kt.set("pitch", Vt.toFixed(2));
32858
+ const Ut = `${window.location.pathname}?${Kt.toString()}`;
32859
32859
  window.history.replaceState({}, "", Ut);
32860
32860
  }
32861
32861
  const er = () => {
@@ -32866,10 +32866,10 @@ const zA = /* @__PURE__ */ kr(CA, [["render", RA], ["__scopeId", "data-v-024154e
32866
32866
  sources: {},
32867
32867
  layers: []
32868
32868
  };
32869
- let wt = u.config.map.center, ht = u.config.map.zoom, Vt = u.config.map.bearing || 0, Gt = u.config.map.pitch || 0;
32869
+ let wt = u.config.map.center, ht = u.config.map.zoom, Vt = u.config.map.bearing || 0, Kt = u.config.map.pitch || 0;
32870
32870
  if (u.config.history) {
32871
32871
  const jt = bt();
32872
- jt.center && (wt = jt.center), jt.zoom !== null && (ht = jt.zoom), jt.bearing !== null && (Vt = jt.bearing), jt.pitch !== null && (Gt = jt.pitch);
32872
+ jt.center && (wt = jt.center), jt.zoom !== null && (ht = jt.zoom), jt.bearing !== null && (Vt = jt.bearing), jt.pitch !== null && (Kt = jt.pitch);
32873
32873
  }
32874
32874
  if (y.value = new fd.Map({
32875
32875
  container: "maplibre-demo-map",
@@ -32877,7 +32877,7 @@ const zA = /* @__PURE__ */ kr(CA, [["render", RA], ["__scopeId", "data-v-024154e
32877
32877
  center: wt,
32878
32878
  zoom: ht,
32879
32879
  bearing: Vt,
32880
- pitch: Gt,
32880
+ pitch: Kt,
32881
32881
  maxBounds: [18.0856083513, 40.3614785833, 58.0807890155, 56.3350745713]
32882
32882
  }), (xr = (Ut = u.config.interactions) == null ? void 0 : Ut.navigation) != null && xr.enabled) {
32883
32883
  const jt = new fd.NavigationControl({
@@ -33144,7 +33144,7 @@ const zA = /* @__PURE__ */ kr(CA, [["render", RA], ["__scopeId", "data-v-024154e
33144
33144
  y.value && (y.value.getLayer("layer-with-pulsing-dot") && y.value.removeLayer("layer-with-pulsing-dot"), y.value.getSource("dot-point") && y.value.removeSource("dot-point"), y.value.hasImage && y.value.hasImage("pulsing-dot") && y.value.removeImage("pulsing-dot"));
33145
33145
  }
33146
33146
  function ri(_t) {
33147
- var Vt, Gt, Ut, xr;
33147
+ var Vt, Kt, Ut, xr;
33148
33148
  Bi();
33149
33149
  const wt = 80, ht = {
33150
33150
  width: wt,
@@ -33168,7 +33168,7 @@ const zA = /* @__PURE__ */ kr(CA, [["render", RA], ["__scopeId", "data-v-024154e
33168
33168
  ), Ur.fillStyle = `rgba(255, 100, 100, ${1 - (Sr - 0.5 < 0 ? Sr - 0.5 + 1 : Sr - 0.5)})`, Ur.fill(), this.data = Ur.getImageData(0, 0, this.width, this.height).data, (Ji = y.value) == null || Ji.triggerRepaint(), !0;
33169
33169
  }
33170
33170
  };
33171
- (Vt = y.value) != null && Vt.hasImage("pulsing-dot") || (Gt = y.value) == null || Gt.addImage("pulsing-dot", ht, { pixelRatio: 2 }), (Ut = y.value) == null || Ut.addSource("dot-point", {
33171
+ (Vt = y.value) != null && Vt.hasImage("pulsing-dot") || (Kt = y.value) == null || Kt.addImage("pulsing-dot", ht, { pixelRatio: 2 }), (Ut = y.value) == null || Ut.addSource("dot-point", {
33172
33172
  type: "geojson",
33173
33173
  data: {
33174
33174
  type: "Feature",
@@ -33234,13 +33234,13 @@ const zA = /* @__PURE__ */ kr(CA, [["render", RA], ["__scopeId", "data-v-024154e
33234
33234
  return ((_t = u.config.widgets) == null ? void 0 : _t.filter((wt) => wt.position === "absolute")) || [];
33235
33235
  }
33236
33236
  );
33237
- return (_t, wt) => (De(), Ke("div", {
33237
+ return (_t, wt) => (Be(), Ke("div", {
33238
33238
  id: "maplibre-demo-map",
33239
33239
  style: oa(Mr.value)
33240
33240
  }, [
33241
- x.value ? Kt("", !0) : (De(), ni(sS, { key: 0 })),
33242
- Ss($("div", OA, [
33243
- (De(), Ke(ur, null, ti(U, (ht) => Er(BA, {
33241
+ x.value ? Qt("", !0) : (Be(), ni(sS, { key: 0 })),
33242
+ Ss(Y("div", OA, [
33243
+ (Be(), Ke(ur, null, ti(U, (ht) => Er(BA, {
33244
33244
  key: ht,
33245
33245
  position: ht,
33246
33246
  widgets: ze(ht),
@@ -33263,26 +33263,26 @@ const zA = /* @__PURE__ */ kr(CA, [["render", RA], ["__scopeId", "data-v-024154e
33263
33263
  onCloseCard: Br,
33264
33264
  onContentResize: () => me(ht)
33265
33265
  }, null, 8, ["position", "widgets", "map", "mapLoaded", "cardValues", "hasFilters", "history", "currentFilterLayer", "enabledLayerIds", "rightColumnOffset", "maxHeight", "onContentResize"])), 64)),
33266
- $("div", FA, [
33267
- (De(!0), Ke(ur, null, ti(p.config.tools, (ht) => (De(), Ke(ur, { key: ht }, [
33268
- x.value && hi[ht] ? (De(), ni(Rc(hi[ht]), Uv({
33266
+ Y("div", FA, [
33267
+ (Be(!0), Ke(ur, null, ti(p.config.tools, (ht) => (Be(), Ke(ur, { key: ht }, [
33268
+ x.value && hi[ht] ? (Be(), ni(Rc(hi[ht]), Uv({
33269
33269
  key: 0,
33270
33270
  map: y.value,
33271
33271
  activeTool: M.value,
33272
33272
  setActiveTool: cn,
33273
33273
  ref_for: !0
33274
- }, ht === "home" ? { initialView: ln.value } : {}, { onCardValuesId: Hi }), null, 16, ["map", "activeTool"])) : Kt("", !0)
33274
+ }, ht === "home" ? { initialView: ln.value } : {}, { onCardValuesId: Hi }), null, 16, ["map", "activeTool"])) : Qt("", !0)
33275
33275
  ], 64))), 128))
33276
33276
  ])
33277
33277
  ], 512), [
33278
33278
  [Kg, x.value]
33279
33279
  ]),
33280
- (De(!0), Ke(ur, null, ti(Ci.value, (ht, Vt) => (De(), Ke("div", {
33280
+ (Be(!0), Ke(ur, null, ti(Ci.value, (ht, Vt) => (Be(), Ke("div", {
33281
33281
  key: "abs-" + (ht.id || ht.type || Vt),
33282
33282
  class: "absolute z-20",
33283
33283
  style: oa(ht.style)
33284
33284
  }, [
33285
- (De(), ni(Rc(Tt(ht.type)), {
33285
+ (Be(), ni(Rc(Tt(ht.type)), {
33286
33286
  map: y.value,
33287
33287
  config: ht.config,
33288
33288
  hasFilters: xt.value,
@@ -33290,7 +33290,7 @@ const zA = /* @__PURE__ */ kr(CA, [["render", RA], ["__scopeId", "data-v-024154e
33290
33290
  enabledLayerIds: ar.value,
33291
33291
  cardValues: R.value,
33292
33292
  onSetFilterLayer: ut,
33293
- "onUpdate:enabledLayerIds": wt[1] || (wt[1] = (Gt) => ar.value = Gt),
33293
+ "onUpdate:enabledLayerIds": wt[1] || (wt[1] = (Kt) => ar.value = Kt),
33294
33294
  onCardValuesId: Hi,
33295
33295
  onCloseCard: Br
33296
33296
  }, null, 40, ["map", "config", "hasFilters", "currentFilterLayer", "enabledLayerIds", "cardValues"]))
@@ -33310,9 +33310,9 @@ const zA = /* @__PURE__ */ kr(CA, [["render", RA], ["__scopeId", "data-v-024154e
33310
33310
  }
33311
33311
  }, NA = { class: "text-center mb-12" }, jA = { class: "text-3xl font-bold mb-4" }, HA = { class: "text-slate-600 max-w-2xl mx-auto" };
33312
33312
  function WA(p, u, y, x, A, P) {
33313
- return De(), Ke("div", NA, [
33314
- $("h2", jA, Et(y.title), 1),
33315
- $("p", HA, Et(y.description), 1)
33313
+ return Be(), Ke("div", NA, [
33314
+ Y("h2", jA, Et(y.title), 1),
33315
+ Y("p", HA, Et(y.description), 1)
33316
33316
  ]);
33317
33317
  }
33318
33318
  const $y = /* @__PURE__ */ kr(UA, [["render", WA]]), ZA = {
@@ -33414,39 +33414,36 @@ const $y = /* @__PURE__ */ kr(UA, [["render", WA]]), ZA = {
33414
33414
  }, $A = { class: "flex flex-col md:flex-row gap-4" }, ek = { class: "flex-1 relative" }, tk = ["placeholder"], rk = { class: "container" }, ik = {
33415
33415
  key: 0,
33416
33416
  class: "space-y-4"
33417
- }, nk = {
33418
- key: 0,
33419
- class: "my-5 pr-2"
33420
- }, sk = { class: "paginationWrapper relative flex justify-center" }, ok = {
33417
+ }, nk = { class: "my-5 pr-2" }, sk = { class: "paginationWrapper relative flex justify-center" }, ok = {
33421
33418
  key: 1,
33422
33419
  class: "text-center text-slate-400"
33423
33420
  };
33424
33421
  function ak(p, u, y, x, A, P) {
33425
33422
  var R, M;
33426
33423
  const v = dr("HeroBlock"), s = dr("VsFilterList"), D = dr("VsPagination");
33427
- return De(), Ke("div", KA, [
33428
- $("section", null, [
33424
+ return Be(), Ke("div", KA, [
33425
+ Y("section", null, [
33429
33426
  Er(v, {
33430
33427
  title: y.title,
33431
33428
  description: y.description
33432
33429
  }, null, 8, ["title", "description"])
33433
33430
  ]),
33434
- $("section", GA, [
33435
- $("div", JA, [
33436
- (R = y.breadcrumbs) != null && R.length ? (De(), Ke("div", XA, [
33437
- (De(!0), Ke(ur, null, ti(y.breadcrumbs, (U, I) => (De(), Ke(ur, { key: I }, [
33438
- I < y.breadcrumbs.length - 1 ? (De(), Ke(ur, { key: 0 }, [
33439
- $("a", {
33431
+ Y("section", GA, [
33432
+ Y("div", JA, [
33433
+ (R = y.breadcrumbs) != null && R.length ? (Be(), Ke("div", XA, [
33434
+ (Be(!0), Ke(ur, null, ti(y.breadcrumbs, (U, I) => (Be(), Ke(ur, { key: I }, [
33435
+ I < y.breadcrumbs.length - 1 ? (Be(), Ke(ur, { key: 0 }, [
33436
+ Y("a", {
33440
33437
  href: U.link,
33441
33438
  class: "hover:text-foreground"
33442
33439
  }, Et(U.name), 9, QA),
33443
- u[3] || (u[3] = $("span", { class: "mx-2" }, "/", -1))
33444
- ], 64)) : (De(), Ke("span", YA, Et(U.name), 1))
33440
+ u[3] || (u[3] = Y("span", { class: "mx-2" }, "/", -1))
33441
+ ], 64)) : (Be(), Ke("span", YA, Et(U.name), 1))
33445
33442
  ], 64))), 128))
33446
- ])) : Kt("", !0),
33447
- $("div", $A, [
33448
- $("div", ek, [
33449
- u[5] || (u[5] = $("svg", {
33443
+ ])) : Qt("", !0),
33444
+ Y("div", $A, [
33445
+ Y("div", ek, [
33446
+ u[5] || (u[5] = Y("svg", {
33450
33447
  xmlns: "http://www.w3.org/2000/svg",
33451
33448
  width: "24",
33452
33449
  height: "24",
@@ -33458,14 +33455,14 @@ function ak(p, u, y, x, A, P) {
33458
33455
  "stroke-linejoin": "round",
33459
33456
  class: "lucide lucide-search absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-slate-400"
33460
33457
  }, [
33461
- $("circle", {
33458
+ Y("circle", {
33462
33459
  cx: "11",
33463
33460
  cy: "11",
33464
33461
  r: "8"
33465
33462
  }),
33466
- $("path", { d: "m21 21-4.3-4.3" })
33463
+ Y("path", { d: "m21 21-4.3-4.3" })
33467
33464
  ], -1)),
33468
- Ss($("input", {
33465
+ Ss(Y("input", {
33469
33466
  "onUpdate:modelValue": u[0] || (u[0] = (U) => A.searchQuery = U),
33470
33467
  onKeydown: u[1] || (u[1] = Td(Jg(() => {
33471
33468
  }, ["prevent"]), ["enter"])),
@@ -33475,7 +33472,7 @@ function ak(p, u, y, x, A, P) {
33475
33472
  }, null, 40, tk), [
33476
33473
  [Lc, A.searchQuery]
33477
33474
  ]),
33478
- A.searchQuery ? (De(), Ke("svg", {
33475
+ A.searchQuery ? (Be(), Ke("svg", {
33479
33476
  key: 0,
33480
33477
  onClick: u[2] || (u[2] = (U) => A.searchQuery = ""),
33481
33478
  xmlns: "http://www.w3.org/2000/svg",
@@ -33487,16 +33484,16 @@ function ak(p, u, y, x, A, P) {
33487
33484
  "stroke-linejoin": "round",
33488
33485
  class: "absolute right-3 top-1/2 h-4 w-4 -translate-y-1/2 text-slate-400"
33489
33486
  }, u[4] || (u[4] = [
33490
- $("path", {
33487
+ Y("path", {
33491
33488
  stroke: "none",
33492
33489
  d: "M0 0h24v24H0z",
33493
33490
  fill: "none"
33494
33491
  }, null, -1),
33495
- $("path", { d: "M18 6l-12 12" }, null, -1),
33496
- $("path", { d: "M6 6l12 12" }, null, -1)
33497
- ]))) : Kt("", !0)
33492
+ Y("path", { d: "M18 6l-12 12" }, null, -1),
33493
+ Y("path", { d: "M6 6l12 12" }, null, -1)
33494
+ ]))) : Qt("", !0)
33498
33495
  ]),
33499
- y.filters && A.mounted ? (De(), ni(s, {
33496
+ y.filters && A.mounted ? (Be(), ni(s, {
33500
33497
  key: 0,
33501
33498
  ref: "filter",
33502
33499
  scheme: y.filters,
@@ -33508,22 +33505,22 @@ function ak(p, u, y, x, A, P) {
33508
33505
  onFilterChange: P.handleFilterChange
33509
33506
  }, {
33510
33507
  button: _r(() => u[6] || (u[6] = [
33511
- $("button", {
33508
+ Y("button", {
33512
33509
  class: "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 border border-input bg-background hover:bg-accent hover:text-accent-foreground px-3 py-2",
33513
33510
  type: "button"
33514
33511
  }, " Фільтри ", -1)
33515
33512
  ])),
33516
33513
  _: 1
33517
- }, 8, ["scheme", "isDialog", "token", "onFilterChange"])) : Kt("", !0)
33514
+ }, 8, ["scheme", "isDialog", "token", "onFilterChange"])) : Qt("", !0)
33518
33515
  ])
33519
33516
  ])
33520
33517
  ]),
33521
- $("section", null, [
33522
- $("div", rk, [
33523
- ((M = y.items) == null ? void 0 : M.length) > 0 ? (De(), Ke("div", ik, [
33518
+ Y("section", null, [
33519
+ Y("div", rk, [
33520
+ ((M = y.items) == null ? void 0 : M.length) > 0 ? (Be(), Ke("div", ik, [
33524
33521
  Nv(p.$slots, "default", { items: y.items }),
33525
- y.total >= y.limit ? (De(), Ke("div", nk, [
33526
- $("div", sk, [
33522
+ Y("div", nk, [
33523
+ Y("div", sk, [
33527
33524
  Er(D, {
33528
33525
  total: y.total,
33529
33526
  maxPages: 4,
@@ -33538,8 +33535,8 @@ function ak(p, u, y, x, A, P) {
33538
33535
  onPageSizeChange: P.changeLimit
33539
33536
  }, null, 8, ["total", "defaultPage", "pageSize", "onPageChange", "onPageSizeChange"])
33540
33537
  ])
33541
- ])) : Kt("", !0)
33542
- ])) : (De(), Ke("div", ok, Et(y.emptyStateText), 1))
33538
+ ])
33539
+ ])) : (Be(), Ke("div", ok, Et(y.emptyStateText), 1))
33543
33540
  ])
33544
33541
  ])
33545
33542
  ]);
@@ -33570,58 +33567,58 @@ const lk = /* @__PURE__ */ kr(ZA, [["render", ak]]), ck = {
33570
33567
  "data-v0-t": "badge"
33571
33568
  }, fk = { class: "p-4 pt-2" }, mk = { class: "grid grid-cols-2 gap-3 text-sm" }, gk = { class: "flex items-center gap-1.5" }, yk = { class: "font-medium" }, _k = { class: "flex items-center gap-1.5" }, vk = { class: "font-medium" }, xk = { class: "flex items-center gap-1.5" }, bk = { class: "font-medium" }, wk = { class: "flex items-center gap-1.5" }, Sk = { class: "font-medium" }, Ak = { class: "items-center p-3 bg-slate-50 flex justify-end" }, kk = ["href"];
33572
33569
  function Tk(p, u, y, x, A, P) {
33573
- return De(!0), Ke(ur, null, ti(y.items, (v) => (De(), Ke("div", {
33570
+ return Be(!0), Ke(ur, null, ti(y.items, (v) => (Be(), Ke("div", {
33574
33571
  key: v.id,
33575
33572
  class: "rounded-lg border bg-card text-card-foreground overflow-hidden border-none shadow-md relative",
33576
33573
  "data-v0-t": "card"
33577
33574
  }, [
33578
- u[8] || (u[8] = $("div", { class: "absolute left-0 top-0 bottom-0 w-1 bg-blue-500" }, null, -1)),
33579
- $("div", uk, [
33580
- $("div", hk, [
33581
- $("h2", pk, Et(v.name), 1),
33582
- $("div", dk, Et(v.status_text), 1)
33575
+ u[8] || (u[8] = Y("div", { class: "absolute left-0 top-0 bottom-0 w-1 bg-blue-500" }, null, -1)),
33576
+ Y("div", uk, [
33577
+ Y("div", hk, [
33578
+ Y("h2", pk, Et(v.name), 1),
33579
+ Y("div", dk, Et(v.status_text), 1)
33583
33580
  ])
33584
33581
  ]),
33585
- $("div", fk, [
33586
- $("div", mk, [
33587
- $("div", gk, [
33582
+ Y("div", fk, [
33583
+ Y("div", mk, [
33584
+ Y("div", gk, [
33588
33585
  u[0] || (u[0] = ia('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-hash h-3.5 w-3.5 text-muted-foreground flex-shrink-0"><line x1="4" x2="20" y1="9" y2="9"></line><line x1="4" x2="20" y1="15" y2="15"></line><line x1="10" x2="8" y1="3" y2="21"></line><line x1="16" x2="14" y1="3" y2="21"></line></svg>', 1)),
33589
- $("div", null, [
33590
- $("span", yk, Et(v.parent_text), 1)
33586
+ Y("div", null, [
33587
+ Y("span", yk, Et(v.parent_text), 1)
33591
33588
  ])
33592
33589
  ]),
33593
- $("div", _k, [
33590
+ Y("div", _k, [
33594
33591
  u[2] || (u[2] = ia('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-building h-3.5 w-3.5 text-muted-foreground flex-shrink-0"><rect width="16" height="20" x="4" y="2" rx="2" ry="2"></rect><path d="M9 22v-4h6v4"></path><path d="M8 6h.01"></path><path d="M16 6h.01"></path><path d="M12 6h.01"></path><path d="M12 10h.01"></path><path d="M12 14h.01"></path><path d="M16 10h.01"></path><path d="M16 14h.01"></path><path d="M8 10h.01"></path><path d="M8 14h.01"></path></svg>', 1)),
33595
- $("div", null, [
33596
- u[1] || (u[1] = $("span", { class: "text-muted-foreground" }, "Статус: ", -1)),
33597
- $("span", vk, Et(v.status_text), 1)
33592
+ Y("div", null, [
33593
+ u[1] || (u[1] = Y("span", { class: "text-muted-foreground" }, "Статус: ", -1)),
33594
+ Y("span", vk, Et(v.status_text), 1)
33598
33595
  ])
33599
33596
  ]),
33600
- $("div", xk, [
33597
+ Y("div", xk, [
33601
33598
  u[4] || (u[4] = ia('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-building h-3.5 w-3.5 text-muted-foreground flex-shrink-0"><rect width="16" height="20" x="4" y="2" rx="2" ry="2"></rect><path d="M9 22v-4h6v4"></path><path d="M8 6h.01"></path><path d="M16 6h.01"></path><path d="M12 6h.01"></path><path d="M12 10h.01"></path><path d="M12 14h.01"></path><path d="M16 10h.01"></path><path d="M16 14h.01"></path><path d="M8 10h.01"></path><path d="M8 14h.01"></path></svg>', 1)),
33602
- $("div", null, [
33603
- $("div", null, [
33604
- u[3] || (u[3] = $("span", { class: "text-muted-foreground" }, "Тип: ", -1)),
33605
- $("span", bk, Et(v.type_text), 1)
33599
+ Y("div", null, [
33600
+ Y("div", null, [
33601
+ u[3] || (u[3] = Y("span", { class: "text-muted-foreground" }, "Тип: ", -1)),
33602
+ Y("span", bk, Et(v.type_text), 1)
33606
33603
  ])
33607
33604
  ])
33608
33605
  ]),
33609
- $("div", wk, [
33606
+ Y("div", wk, [
33610
33607
  u[6] || (u[6] = ia('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-calendar h-3.5 w-3.5 text-muted-foreground flex-shrink-0"><path d="M8 2v4"></path><path d="M16 2v4"></path><rect width="18" height="18" x="3" y="4" rx="2"></rect><path d="M3 10h18"></path></svg>', 1)),
33611
- $("div", null, [
33612
- u[5] || (u[5] = $("span", { class: "text-muted-foreground" }, "Дата видачі: ", -1)),
33613
- $("span", Sk, Et(P.formatDate(v.cdate)), 1)
33608
+ Y("div", null, [
33609
+ u[5] || (u[5] = Y("span", { class: "text-muted-foreground" }, "Дата видачі: ", -1)),
33610
+ Y("span", Sk, Et(P.formatDate(v.cdate)), 1)
33614
33611
  ])
33615
33612
  ])
33616
33613
  ])
33617
33614
  ]),
33618
- $("div", Ak, [
33619
- $("a", {
33615
+ Y("div", Ak, [
33616
+ Y("a", {
33620
33617
  href: `${y.path}/${v.id}`,
33621
33618
  class: "inline-flex items-center justify-center gap-2 whitespace-nowrap text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 border border-input bg-background hover:bg-accent hover:text-accent-foreground h-9 rounded-md px-3"
33622
33619
  }, u[7] || (u[7] = [
33623
33620
  si(" Детальніше"),
33624
- $("svg", {
33621
+ Y("svg", {
33625
33622
  xmlns: "http://www.w3.org/2000/svg",
33626
33623
  width: "24",
33627
33624
  height: "24",
@@ -33633,8 +33630,8 @@ function Tk(p, u, y, x, A, P) {
33633
33630
  "stroke-linejoin": "round",
33634
33631
  class: "lucide lucide-arrow-right ml-1 h-3.5 w-3.5"
33635
33632
  }, [
33636
- $("path", { d: "M5 12h14" }),
33637
- $("path", { d: "m12 5 7 7-7 7" })
33633
+ Y("path", { d: "M5 12h14" }),
33634
+ Y("path", { d: "m12 5 7 7-7 7" })
33638
33635
  ], -1)
33639
33636
  ]), 8, kk)
33640
33637
  ])
@@ -33663,35 +33660,35 @@ const Ck = /* @__PURE__ */ kr(ck, [["render", Tk]]), Pk = {
33663
33660
  }
33664
33661
  }, Ek = { class: "flex flex-col space-y-1.5 p-6 pb-2 border-b" }, Ik = { class: "flex justify-between items-center" }, Mk = { class: "tracking-tight text-lg font-medium" }, Lk = { class: "inline-flex items-center rounded-full bg-blue-100 px-2.5 py-0.5 text-xs font-medium text-blue-800" }, Rk = { class: "p-6 py-4" }, zk = { class: "grid grid-cols-1 gap-3" }, Dk = { class: "flex items-center" }, Bk = { class: "font-medium" }, Ok = { class: "flex items-center" }, Fk = { class: "font-medium" }, Vk = { class: "items-center p-6 pt-0 flex justify-end" }, qk = ["href"];
33665
33662
  function Uk(p, u, y, x, A, P) {
33666
- return De(!0), Ke(ur, null, ti(y.items, (v) => (De(), Ke("div", {
33663
+ return Be(!0), Ke(ur, null, ti(y.items, (v) => (Be(), Ke("div", {
33667
33664
  key: v.id,
33668
33665
  class: "rounded-lg bg-card text-card-foreground border-0 shadow-md",
33669
33666
  "data-v0-t": "card"
33670
33667
  }, [
33671
- $("div", Ek, [
33672
- $("div", Ik, [
33673
- $("h3", Mk, Et(v.name), 1),
33674
- $("span", Lk, Et(v.status_text), 1)
33668
+ Y("div", Ek, [
33669
+ Y("div", Ik, [
33670
+ Y("h3", Mk, Et(v.name), 1),
33671
+ Y("span", Lk, Et(v.status_text), 1)
33675
33672
  ])
33676
33673
  ]),
33677
- $("div", Rk, [
33678
- $("div", zk, [
33679
- $("div", Dk, [
33680
- u[0] || (u[0] = $("div", { class: "w-32 flex-shrink-0" }, [
33681
- $("p", { class: "text-sm font-semibold text-gray-500" }, "Номер адреси:")
33674
+ Y("div", Rk, [
33675
+ Y("div", zk, [
33676
+ Y("div", Dk, [
33677
+ u[0] || (u[0] = Y("div", { class: "w-32 flex-shrink-0" }, [
33678
+ Y("p", { class: "text-sm font-semibold text-gray-500" }, "Номер адреси:")
33682
33679
  ], -1)),
33683
- $("p", Bk, Et(v.parent_text), 1)
33680
+ Y("p", Bk, Et(v.parent_text), 1)
33684
33681
  ]),
33685
- $("div", Ok, [
33686
- u[1] || (u[1] = $("div", { class: "w-32 flex-shrink-0" }, [
33687
- $("p", { class: "text-sm font-semibold text-gray-500" }, "Дата видачі:")
33682
+ Y("div", Ok, [
33683
+ u[1] || (u[1] = Y("div", { class: "w-32 flex-shrink-0" }, [
33684
+ Y("p", { class: "text-sm font-semibold text-gray-500" }, "Дата видачі:")
33688
33685
  ], -1)),
33689
- $("p", Fk, Et(P.formatDate(v.cdate)), 1)
33686
+ Y("p", Fk, Et(P.formatDate(v.cdate)), 1)
33690
33687
  ])
33691
33688
  ])
33692
33689
  ]),
33693
- $("div", Vk, [
33694
- $("a", {
33690
+ Y("div", Vk, [
33691
+ Y("a", {
33695
33692
  href: `${y.path}/${v.id}`,
33696
33693
  class: "inline-flex items-center justify-center gap-2 whitespace-nowrap text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 h-10 px-4 py-2 rounded-md bg-gray-900 text-white hover:bg-black"
33697
33694
  }, " Детальніше ", 8, qk)
@@ -33724,35 +33721,35 @@ const Nk = /* @__PURE__ */ kr(Pk, [["render", Uk]]), jk = {
33724
33721
  "data-v0-t": "badge"
33725
33722
  }, Jk = { class: "col-span-2" }, Xk = { class: "truncate" }, Qk = { class: "col-span-2" }, Yk = { class: "truncate" }, $k = { class: "col-span-2" }, eT = { class: "col-span-1 flex justify-end items-center" }, tT = ["href"];
33726
33723
  function rT(p, u, y, x, A, P) {
33727
- return De(!0), Ke(ur, null, ti(y.items, (v) => (De(), Ke("div", {
33724
+ return Be(!0), Ke(ur, null, ti(y.items, (v) => (Be(), Ke("div", {
33728
33725
  class: "border-b border-slate-200 hover:bg-slate-50 transition-colors",
33729
33726
  key: v.id
33730
33727
  }, [
33731
- $("div", Hk, [
33732
- u[4] || (u[4] = $("div", { class: "w-1 h-8 rounded-full mr-3 bg-blue-500" }, null, -1)),
33733
- $("div", Wk, [
33734
- $("div", Zk, [
33735
- $("p", Kk, Et(v.name), 1),
33736
- $("div", Gk, Et(v.type_text), 1)
33728
+ Y("div", Hk, [
33729
+ u[4] || (u[4] = Y("div", { class: "w-1 h-8 rounded-full mr-3 bg-blue-500" }, null, -1)),
33730
+ Y("div", Wk, [
33731
+ Y("div", Zk, [
33732
+ Y("p", Kk, Et(v.name), 1),
33733
+ Y("div", Gk, Et(v.type_text), 1)
33737
33734
  ]),
33738
- $("div", Jk, [
33739
- u[0] || (u[0] = $("p", { class: "text-[10px] text-muted-foreground" }, "Територіальна належність", -1)),
33740
- $("p", Xk, Et(v.parent_text), 1)
33735
+ Y("div", Jk, [
33736
+ u[0] || (u[0] = Y("p", { class: "text-[10px] text-muted-foreground" }, "Територіальна належність", -1)),
33737
+ Y("p", Xk, Et(v.parent_text), 1)
33741
33738
  ]),
33742
- $("div", Qk, [
33743
- u[1] || (u[1] = $("p", { class: "text-[10px] text-muted-foreground" }, "Статус", -1)),
33744
- $("p", Yk, Et(v.status_text), 1)
33739
+ Y("div", Qk, [
33740
+ u[1] || (u[1] = Y("p", { class: "text-[10px] text-muted-foreground" }, "Статус", -1)),
33741
+ Y("p", Yk, Et(v.status_text), 1)
33745
33742
  ]),
33746
- $("div", $k, [
33747
- u[2] || (u[2] = $("p", { class: "text-[10px] text-muted-foreground" }, "Дата видачі", -1)),
33748
- $("p", null, Et(P.formatDate(v.cdate)), 1)
33743
+ Y("div", $k, [
33744
+ u[2] || (u[2] = Y("p", { class: "text-[10px] text-muted-foreground" }, "Дата видачі", -1)),
33745
+ Y("p", null, Et(P.formatDate(v.cdate)), 1)
33749
33746
  ]),
33750
- $("div", eT, [
33751
- $("a", {
33747
+ Y("div", eT, [
33748
+ Y("a", {
33752
33749
  href: `${y.path}/${v.id}`,
33753
33750
  class: "inline-flex items-center justify-center gap-2 whitespace-nowrap text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover:bg-accent hover:text-accent-foreground rounded-md h-7 w-7 p-0"
33754
33751
  }, u[3] || (u[3] = [
33755
- $("svg", {
33752
+ Y("svg", {
33756
33753
  xmlns: "http://www.w3.org/2000/svg",
33757
33754
  width: "24",
33758
33755
  height: "24",
@@ -33764,7 +33761,7 @@ function rT(p, u, y, x, A, P) {
33764
33761
  "stroke-linejoin": "round",
33765
33762
  class: "lucide lucide-chevron-right h-4 w-4"
33766
33763
  }, [
33767
- $("path", { d: "m9 18 6-6-6-6" })
33764
+ Y("path", { d: "m9 18 6-6-6-6" })
33768
33765
  ], -1)
33769
33766
  ]), 8, tT)
33770
33767
  ])
@@ -33795,27 +33792,27 @@ const iT = /* @__PURE__ */ kr(jk, [["render", rT]]), nT = {
33795
33792
  }
33796
33793
  }, sT = { class: "grid grid-cols-12 divide-x divide-gray-100" }, oT = { class: "col-span-7 p-4" }, aT = { class: "flex items-center mb-1" }, lT = { class: "text-base font-bold text-gray-900 mr-2" }, cT = { class: "inline-flex items-center rounded-full px-2.5 py-0.5 font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 border-transparent hover:bg-primary/80 bg-blue-100 text-blue-800 border-0 text-xs" }, uT = { class: "text-sm text-gray-600 line-clamp-1 mb-2" }, hT = { class: "grid grid-cols-2 gap-x-4 gap-y-1 text-sm" }, pT = { class: "flex items-center" }, dT = { class: "text-gray-600 truncate" }, fT = { class: "col-span-2 flex flex-col justify-center items-center bg-gray-50 border-l p-2" }, mT = { class: "w-full space-y-2" }, gT = ["href"];
33797
33794
  function yT(p, u, y, x, A, P) {
33798
- return De(!0), Ke(ur, null, ti(y.items, (v) => (De(), Ke("div", {
33795
+ return Be(!0), Ke(ur, null, ti(y.items, (v) => (Be(), Ke("div", {
33799
33796
  key: v.id,
33800
33797
  class: "bg-white border border-gray-200 rounded-lg overflow-hidden transition-all duration-200 hover:shadow-md"
33801
33798
  }, [
33802
- $("div", sT, [
33803
- u[2] || (u[2] = $("div", { class: "col-span-1 flex items-center justify-center" }, [
33804
- $("div", {
33799
+ Y("div", sT, [
33800
+ u[2] || (u[2] = Y("div", { class: "col-span-1 flex items-center justify-center" }, [
33801
+ Y("div", {
33805
33802
  class: "w-3 h-12 rounded-sm bg-red-500",
33806
33803
  title: "Пріоритет: Високий",
33807
33804
  "aria-hidden": "true"
33808
33805
  })
33809
33806
  ], -1)),
33810
- $("div", oT, [
33811
- $("div", aT, [
33812
- $("h3", lT, Et(v.name), 1),
33813
- $("div", cT, Et(v.type_text), 1)
33807
+ Y("div", oT, [
33808
+ Y("div", aT, [
33809
+ Y("h3", lT, Et(v.name), 1),
33810
+ Y("div", cT, Et(v.type_text), 1)
33814
33811
  ]),
33815
- $("p", uT, Et(v.parent_text), 1),
33816
- $("div", hT, [
33817
- $("div", pT, [
33818
- u[0] || (u[0] = $("svg", {
33812
+ Y("p", uT, Et(v.parent_text), 1),
33813
+ Y("div", hT, [
33814
+ Y("div", pT, [
33815
+ u[0] || (u[0] = Y("svg", {
33819
33816
  xmlns: "http://www.w3.org/2000/svg",
33820
33817
  width: "24",
33821
33818
  height: "24",
@@ -33827,25 +33824,25 @@ function yT(p, u, y, x, A, P) {
33827
33824
  "stroke-linejoin": "round",
33828
33825
  class: "lucide lucide-clock h-3.5 w-3.5 text-gray-400 mr-1 flex-shrink-0"
33829
33826
  }, [
33830
- $("circle", {
33827
+ Y("circle", {
33831
33828
  cx: "12",
33832
33829
  cy: "12",
33833
33830
  r: "10"
33834
33831
  }),
33835
- $("polyline", { points: "12 6 12 12 16 14" })
33832
+ Y("polyline", { points: "12 6 12 12 16 14" })
33836
33833
  ], -1)),
33837
- $("span", dT, "Оновлено: " + Et(P.formatDate(v.editor_date)), 1)
33834
+ Y("span", dT, "Оновлено: " + Et(P.formatDate(v.editor_date)), 1)
33838
33835
  ])
33839
33836
  ])
33840
33837
  ]),
33841
33838
  u[3] || (u[3] = ia('<div class="col-span-2 p-3 bg-gray-50 flex flex-col justify-center"><p class="text-xs text-gray-500 mb-1.5">Категорії:</p><div class="flex flex-wrap gap-1"><div class="inline-flex items-center rounded-full font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 hover:bg-secondary/80 bg-white border border-gray-200 text-gray-700 text-xs px-1.5 py-0"> Житловий </div><div class="inline-flex items-center rounded-full font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 hover:bg-secondary/80 bg-white border border-gray-200 text-gray-700 text-xs px-1.5 py-0"> Центр </div></div></div>', 1)),
33842
- $("div", fT, [
33843
- $("div", mT, [
33844
- $("a", {
33839
+ Y("div", fT, [
33840
+ Y("div", mT, [
33841
+ Y("a", {
33845
33842
  href: `${y.path}/${v.id}`,
33846
33843
  class: "inline-flex items-center justify-center gap-2 whitespace-nowrap font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 rounded-md px-3 w-full bg-blue-600 hover:bg-blue-700 text-white text-xs h-8"
33847
33844
  }, " Детальніше", 8, gT),
33848
- u[1] || (u[1] = $("button", {
33845
+ u[1] || (u[1] = Y("button", {
33849
33846
  disabled: "",
33850
33847
  class: "inline-flex items-center justify-center gap-2 whitespace-nowrap font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 border bg-background hover:text-accent-foreground rounded-md px-3 w-full text-gray-700 border-gray-300 hover:bg-gray-100 text-xs h-8"
33851
33848
  }, " Завантажити ", -1))
@@ -33995,40 +33992,37 @@ const _T = /* @__PURE__ */ kr(nT, [["render", yT]]), vT = {
33995
33992
  }, CT = { class: "flex flex-col md:flex-row gap-4" }, PT = { class: "flex-1 relative" }, ET = ["placeholder"], IT = { class: "container" }, MT = {
33996
33993
  key: 0,
33997
33994
  class: "space-y-4"
33998
- }, LT = {
33999
- key: 0,
34000
- class: "my-5 pr-2"
34001
- }, RT = { class: "paginationWrapper relative flex justify-center" }, zT = {
33995
+ }, LT = { class: "my-5 pr-2" }, RT = { class: "paginationWrapper relative flex justify-center" }, zT = {
34002
33996
  key: 1,
34003
33997
  class: "text-center text-slate-400"
34004
33998
  };
34005
33999
  function DT(p, u, y, x, A, P) {
34006
34000
  var U, I;
34007
34001
  const v = dr("HeroBlock"), s = dr("VsFilterList"), D = dr("VsAutocompleteOption"), R = dr("VsAutocomplete"), M = dr("VsPagination");
34008
- return De(), Ke("div", bT, [
34009
- $("section", null, [
34002
+ return Be(), Ke("div", bT, [
34003
+ Y("section", null, [
34010
34004
  Er(v, {
34011
34005
  title: y.title,
34012
34006
  description: y.description,
34013
34007
  path: y.path
34014
34008
  }, null, 8, ["title", "description", "path"])
34015
34009
  ]),
34016
- $("section", wT, [
34017
- $("div", ST, [
34018
- (U = y.breadcrumbs) != null && U.length ? (De(), Ke("div", AT, [
34019
- (De(!0), Ke(ur, null, ti(y.breadcrumbs, (T, k) => (De(), Ke(ur, { key: k }, [
34020
- k < y.breadcrumbs.length - 1 ? (De(), Ke(ur, { key: 0 }, [
34021
- $("a", {
34010
+ Y("section", wT, [
34011
+ Y("div", ST, [
34012
+ (U = y.breadcrumbs) != null && U.length ? (Be(), Ke("div", AT, [
34013
+ (Be(!0), Ke(ur, null, ti(y.breadcrumbs, (T, k) => (Be(), Ke(ur, { key: k }, [
34014
+ k < y.breadcrumbs.length - 1 ? (Be(), Ke(ur, { key: 0 }, [
34015
+ Y("a", {
34022
34016
  href: T.link,
34023
34017
  class: "hover:text-foreground"
34024
34018
  }, Et(T.name), 9, kT),
34025
- u[4] || (u[4] = $("span", { class: "mx-2" }, "/", -1))
34026
- ], 64)) : (De(), Ke("span", TT, Et(T.name), 1))
34019
+ u[4] || (u[4] = Y("span", { class: "mx-2" }, "/", -1))
34020
+ ], 64)) : (Be(), Ke("span", TT, Et(T.name), 1))
34027
34021
  ], 64))), 128))
34028
- ])) : Kt("", !0),
34029
- $("div", CT, [
34030
- $("div", PT, [
34031
- u[6] || (u[6] = $("svg", {
34022
+ ])) : Qt("", !0),
34023
+ Y("div", CT, [
34024
+ Y("div", PT, [
34025
+ u[6] || (u[6] = Y("svg", {
34032
34026
  xmlns: "http://www.w3.org/2000/svg",
34033
34027
  width: "24",
34034
34028
  height: "24",
@@ -34040,14 +34034,14 @@ function DT(p, u, y, x, A, P) {
34040
34034
  "stroke-linejoin": "round",
34041
34035
  class: "lucide lucide-search absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-slate-400"
34042
34036
  }, [
34043
- $("circle", {
34037
+ Y("circle", {
34044
34038
  cx: "11",
34045
34039
  cy: "11",
34046
34040
  r: "8"
34047
34041
  }),
34048
- $("path", { d: "m21 21-4.3-4.3" })
34042
+ Y("path", { d: "m21 21-4.3-4.3" })
34049
34043
  ], -1)),
34050
- Ss($("input", {
34044
+ Ss(Y("input", {
34051
34045
  "onUpdate:modelValue": u[0] || (u[0] = (T) => A.searchQuery = T),
34052
34046
  onKeydown: u[1] || (u[1] = Td(Jg(() => {
34053
34047
  }, ["prevent"]), ["enter"])),
@@ -34057,7 +34051,7 @@ function DT(p, u, y, x, A, P) {
34057
34051
  }, null, 40, ET), [
34058
34052
  [Lc, A.searchQuery]
34059
34053
  ]),
34060
- A.searchQuery ? (De(), Ke("svg", {
34054
+ A.searchQuery ? (Be(), Ke("svg", {
34061
34055
  key: 0,
34062
34056
  onClick: u[2] || (u[2] = (T) => A.searchQuery = ""),
34063
34057
  xmlns: "http://www.w3.org/2000/svg",
@@ -34069,16 +34063,16 @@ function DT(p, u, y, x, A, P) {
34069
34063
  "stroke-linejoin": "round",
34070
34064
  class: "absolute right-3 top-1/2 h-4 w-4 -translate-y-1/2 text-slate-400"
34071
34065
  }, u[5] || (u[5] = [
34072
- $("path", {
34066
+ Y("path", {
34073
34067
  stroke: "none",
34074
34068
  d: "M0 0h24v24H0z",
34075
34069
  fill: "none"
34076
34070
  }, null, -1),
34077
- $("path", { d: "M18 6l-12 12" }, null, -1),
34078
- $("path", { d: "M6 6l12 12" }, null, -1)
34079
- ]))) : Kt("", !0)
34071
+ Y("path", { d: "M18 6l-12 12" }, null, -1),
34072
+ Y("path", { d: "M6 6l12 12" }, null, -1)
34073
+ ]))) : Qt("", !0)
34080
34074
  ]),
34081
- y.filters && A.mounted ? (De(), ni(s, {
34075
+ y.filters && A.mounted ? (Be(), ni(s, {
34082
34076
  key: 0,
34083
34077
  ref: "filter",
34084
34078
  scheme: y.filters,
@@ -34090,20 +34084,20 @@ function DT(p, u, y, x, A, P) {
34090
34084
  onFilterChange: P.handleFilterChange
34091
34085
  }, {
34092
34086
  button: _r(() => u[7] || (u[7] = [
34093
- $("button", {
34087
+ Y("button", {
34094
34088
  class: "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 border border-input bg-background hover:bg-accent hover:text-accent-foreground px-3 py-2",
34095
34089
  type: "button"
34096
34090
  }, " Фільтри ", -1)
34097
34091
  ])),
34098
34092
  _: 1
34099
- }, 8, ["scheme", "token", "isDialog", "onFilterChange"])) : Kt("", !0),
34093
+ }, 8, ["scheme", "token", "isDialog", "onFilterChange"])) : Qt("", !0),
34100
34094
  Er(R, {
34101
34095
  modelValue: A.templateView,
34102
34096
  "onUpdate:modelValue": u[3] || (u[3] = (T) => A.templateView = T),
34103
34097
  class: "w-[150px]"
34104
34098
  }, {
34105
34099
  default: _r(() => [
34106
- (De(!0), Ke(ur, null, ti(A.templateViews, (T) => (De(), ni(D, {
34100
+ (Be(!0), Ke(ur, null, ti(A.templateViews, (T) => (Be(), ni(D, {
34107
34101
  label: T.label,
34108
34102
  value: T.value
34109
34103
  }, {
@@ -34118,16 +34112,16 @@ function DT(p, u, y, x, A, P) {
34118
34112
  ])
34119
34113
  ])
34120
34114
  ], 512),
34121
- $("section", null, [
34122
- $("div", IT, [
34123
- ((I = y.items) == null ? void 0 : I.length) > 0 ? (De(), Ke("div", MT, [
34124
- (De(), ni(Rc(A.templateView), {
34115
+ Y("section", null, [
34116
+ Y("div", IT, [
34117
+ ((I = y.items) == null ? void 0 : I.length) > 0 ? (Be(), Ke("div", MT, [
34118
+ (Be(), ni(Rc(A.templateView), {
34125
34119
  items: y.items,
34126
34120
  path: y.path,
34127
34121
  id_key: y.id_key
34128
34122
  }, null, 8, ["items", "path", "id_key"])),
34129
- y.total >= y.limit ? (De(), Ke("div", LT, [
34130
- $("div", RT, [
34123
+ Y("div", LT, [
34124
+ Y("div", RT, [
34131
34125
  Er(M, {
34132
34126
  total: y.total,
34133
34127
  maxPages: 4,
@@ -34142,8 +34136,8 @@ function DT(p, u, y, x, A, P) {
34142
34136
  onPageSizeChange: P.changeLimit
34143
34137
  }, null, 8, ["total", "defaultPage", "pageSize", "onPageChange", "onPageSizeChange"])
34144
34138
  ])
34145
- ])) : Kt("", !0)
34146
- ])) : (De(), Ke("div", zT, Et(y.emptyStateText), 1))
34139
+ ])
34140
+ ])) : (Be(), Ke("div", zT, Et(y.emptyStateText), 1))
34147
34141
  ])
34148
34142
  ])
34149
34143
  ]);