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A4B,gBAAgB,CAC3C,KAAM,wBACX,OAAQ,wBACR,MAAO,CACL,WAAY,CACV,KAAM,OACN,QAAS,MAEX,SAAU,CACR,KAAM,OACN,UAAU,IAGd,MAAO,CAAC,qBACR,KAAA,CAAM,GAAW,KAAM,IACrB,MAAM,EAAQ,EACR,EAAO,EACP,EAAc,gBAAW,GAS/B,OARA,WAAU,UACR,EAAY,YAAc,iBAAiB,CACzC,eAAiB,GAAU,IAAI,EAAM,iBAAiB,EAAM,UAC5D,eAAgB,IAAM,qBAAqB,mCAC3C,SAAU,UAAS,IAAM,EAAM,aAEjC,EAAK,oBAAqB,EAAY,MAAM,IAEvC,MAET,WAGA,UACA,YACA,yBACA,4CACA,kCACA,mCACA,oCACA,wCACA,gCACA,sCACA,iCACA,6CACA,sCACA,2CACA,sCACA,+BACA,mBACA,gCACA,0CACA,2CACA,6BACA,qCACA,8BACA,iCACA,+BACA,gCACA,uCACA,gCACA,oCACA,gCACA,sCACA,0CACA,qCACA,8BACA,qCACA,sCACA,iCACA,gCACA,uCACA,oCACA,2CACA,qCACA,mCACA,8CACA,oCACA,YACA,mBACA,kBACA,oBACA,oBACA,sBACA,kBACA,qBACA,UACA,UACA,4BACA,cACA,eACA,iBACA,cACA,kBACA,mBACA,oBACA,gBACA","file":"/npm/vue-yandex-maps@3.0.2/dist/vue-yandex-maps.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/vue-yandex-maps@3.0.2/dist/vue-yandex-maps.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","import { t as throwException, g as getException, i as importYmapsCDNModule, c as createYmapsOptions, a as initYmaps, y as yandexMapSettings, Y as YandexMapException, b as yandexMapIsLoaded, d as yandexMapLoadStatus, e as yandexMapLoadError, f as yandexMapScript, h as copy, j as excludeKeys, k as hF, s as sleep, l as importLayersExtra } from \"./vue-yandex-maps-BbbIDD3A.js\";\nimport { m } from \"./vue-yandex-maps-BbbIDD3A.js\";\nimport { getCurrentScope, inject, isRef, watch, defineComponent, shallowRef, ref, provide, computed, nextTick, onMounted, onBeforeUnmount, openBlock, createBlock, resolveDynamicComponent, normalizeStyle, normalizeClass, withCtx, createElementVNode, withDirectives, createElementBlock, renderSlot, vShow, createCommentVNode, toValue, triggerRef, onUpdated, mergeProps, normalizeProps, guardReactiveProps, useSlots, unref, toRef, h, Fragment, renderList, createVNode } from \"vue\";\nimport './vue-yandex-maps.css';function applyModifier(coords, modifier) {\n  const result = {\n    x: 0,\n    y: 0\n  };\n  result.x = coords.x * modifier;\n  result.y = coords.y * modifier;\n  return result;\n}\nfunction applyFunctionModifier(coords, functionModifier) {\n  const result = {\n    x: 0,\n    y: 0\n  };\n  result.x = functionModifier(coords.x, 1);\n  result.y = functionModifier(coords.y, 2);\n  return result;\n}\nfunction worldToPixels$1(coords, modifier) {\n  const i = 2 ** modifier / 2 * 256;\n  return applyModifier({\n    x: coords.x + 1,\n    y: 1 - coords.y\n  }, i);\n}\nfunction convertWorldCoordinates(projection, coordinates, modifier) {\n  const worldCoordinates = projection.toWorldCoordinates(coordinates);\n  return worldToPixels$1(worldCoordinates, modifier);\n}\nfunction pixelsToWorld$1(coords, modifier) {\n  const i = 2 ** modifier / 2 * 256;\n  return {\n    x: coords.x / i - 1,\n    y: 1 - coords.y / i\n  };\n}\nfunction findNeededValue(t, e, i) {\n  return Math.max(Math.min(t, i), e);\n}\nfunction worldCoordsFromModifier(projection, coords, modifier) {\n  const resultCoords = applyFunctionModifier(pixelsToWorld$1(coords, modifier), ((value) => findNeededValue(value, -1, 1 - 1e-15)));\n  return projection.fromWorldCoordinates(resultCoords);\n}\nfunction convertBounds(projection, bounds, modifier) {\n  const topLeft = convertWorldCoordinates(projection, bounds[0], modifier);\n  const bottomRight = convertWorldCoordinates(projection, bounds[1], modifier);\n  const modified = 2 ** modifier * 256;\n  const updatedBounds = [[topLeft.x, topLeft.y], [bottomRight.x, bottomRight.y]];\n  if (topLeft.x > bottomRight.x) {\n    updatedBounds[0][0] = topLeft.x;\n    updatedBounds[1][0] = bottomRight.x + modified;\n  }\n  if (topLeft.y > bottomRight.y) {\n    updatedBounds[0][1] = bottomRight.y;\n    updatedBounds[1][1] = topLeft.y;\n  }\n  return updatedBounds;\n}\nfunction applyMarginToCoords(coords, margin) {\n  return {\n    x: Math.max(coords.x - (margin ? margin[1] + margin[3] : 0), 1),\n    y: Math.max(coords.y - (margin ? margin[0] + margin[2] : 0), 1)\n  };\n}\nfunction findZoom(projection, bounds, coords, isSnap, zoomRange) {\n  const [[topLeftFirst, topLeftSecond], [bottomRightFirst, bottomRightSecond]] = convertBounds(projection, bounds, 0);\n  const firstCalc = Math.max(Math.abs(bottomRightFirst - topLeftFirst), 1e-10);\n  const secondCalc = Math.max(Math.abs(bottomRightSecond - topLeftSecond), 1e-10);\n  const zoom = findNeededValue(Math.min(Math.log2(coords.x / firstCalc), Math.log2(coords.y / secondCalc)), zoomRange.min, zoomRange.max);\n  return isSnap ? Math.floor(zoom + 1e-6) : zoom;\n}\nfunction findCenter(projection, bounds, zoom) {\n  const [[topLeftFirst, topLeftSecond], [bottomRightFirst, bottomRightSecond]] = convertBounds(projection, bounds, zoom);\n  return worldCoordsFromModifier(projection, {\n    x: (topLeftFirst + bottomRightFirst) / 2,\n    y: (topLeftSecond + bottomRightSecond) / 2\n  }, zoom);\n}\nasync function getLocationFromBounds({\n  bounds,\n  map,\n  roundZoom,\n  comfortZoomLevel\n}) {\n  const ctxMap = Object.keys(map).find((x) => x.endsWith(\"CtxMap\"));\n  if (!ctxMap) {\n    throwException({\n      text: \"CtxMap was not found in useYMapsGetCenterAndZoomFromBounds\",\n      isInternal: true\n    });\n  }\n  const ctx = map[ctxMap];\n  const mapZoom = map.zoom;\n  const ctxItem = await new Promise((resolve, reject) => {\n    ctx.forEach((item, { name }) => {\n      if (name !== \"map\") return;\n      resolve(item);\n    });\n    reject(getException({\n      text: \"Map item was not found in useYMapsGetCenterAndZoomFromBounds\",\n      isInternal: true\n    }));\n  });\n  const ctxItemMapKey = Object.keys(ctxItem).find((x) => x.endsWith(\"_context\"));\n  if (!ctxItemMapKey) {\n    throwException({\n      text: \"CtxMapKey was not found in useYMapsGetCenterAndZoomFromBounds\",\n      isInternal: true\n    });\n  }\n  const ctxItemMap = ctxItem[ctxItemMapKey].map;\n  const projection = ctxItemMap.projection;\n  const size = ctxItemMap.size;\n  const margin = ctxItemMap.margin;\n  const isSnap = ctxItemMap.effectiveZoomRounding === \"snap\";\n  const zoomRange = ctxItemMap.zoomRange;\n  let zoom = findZoom(projection, bounds, applyMarginToCoords(size, margin), isSnap, zoomRange);\n  const center = findCenter(projection, bounds, zoom);\n  if (roundZoom || comfortZoomLevel) {\n    const originalZoom = zoom;\n    let roundedZoom = Math[typeof roundZoom === \"string\" ? roundZoom : \"floor\"](zoom);\n    if (roundZoom) zoom = roundedZoom;\n    if (comfortZoomLevel) {\n      const userSettings = typeof comfortZoomLevel === \"object\" ? comfortZoomLevel : {};\n      if (userSettings.roundStrategy) roundedZoom = Math[userSettings.roundStrategy](originalZoom);\n      const diff2 = originalZoom - roundedZoom;\n      const settings = {\n        diff: 0.5,\n        correction: 1,\n        ...userSettings\n      };\n      if (diff2 < settings.diff) {\n        zoom -= settings.correction;\n      }\n      if (zoom <= mapZoom) {\n        zoom = originalZoom;\n      }\n    }\n  }\n  return {\n    zoom,\n    center\n  };\n}\nfunction getCenterFromCoords(coordinates) {\n  if (coordinates.length === 1) return coordinates[0];\n  if (!coordinates.length) {\n    throwException({\n      text: \"Invalid parameters in getCenterFromCoords: you must pass at least one LngLat\"\n    });\n  }\n  const sum = coordinates.reduce(([accLng, accLat], [lng, lat]) => [\n    accLng + lng,\n    accLat + lat\n  ], [0, 0]);\n  return [\n    sum[0] / coordinates.length,\n    sum[1] / coordinates.length\n  ];\n}\nfunction getBoundsFromCoords(coordinates) {\n  if (coordinates.length < 2) {\n    throwException({\n      text: \"Invalid parameters in getBoundsFromCoords: you must pass at least two LngLat\"\n    });\n  }\n  const {\n    minLongitude,\n    minLatitude,\n    maxLongitude,\n    maxLatitude\n  } = coordinates.reduce(\n    (acc, [longitude, latitude]) => ({\n      minLongitude: Math.min(acc.minLongitude, longitude),\n      minLatitude: Math.min(acc.minLatitude, latitude),\n      maxLongitude: Math.max(acc.maxLongitude, longitude),\n      maxLatitude: Math.max(acc.maxLatitude, latitude)\n    }),\n    {\n      minLongitude: Infinity,\n      minLatitude: Infinity,\n      maxLongitude: -Infinity,\n      maxLatitude: -Infinity\n    }\n  );\n  return [[minLongitude, minLatitude], [maxLongitude, maxLatitude]];\n}\nasync function worldToPixels(...args) {\n  return (await importYmapsCDNModule(\"@yandex/ymaps3-world-utils\")).worldToPixels(...args);\n}\nasync function pixelsToWorld(...args) {\n  return (await importYmapsCDNModule(\"@yandex/ymaps3-world-utils\")).pixelsToWorld(...args);\n}\nasync function WebMercator() {\n  return (await importYmapsCDNModule(\"@yandex/ymaps3-web-mercator-projection\")).WebMercator;\n}\nasync function Cartesian() {\n  return (await importYmapsCDNModule(\"@yandex/ymaps3-cartesian-projection\")).Cartesian;\n}\nfunction createYmaps(settings) {\n  return {\n    install(app) {\n      createYmapsOptions(settings);\n      if (settings.initializeOn === \"onPluginInit\") {\n        initYmaps().catch(console.error);\n      }\n    }\n  };\n}\nconst isDate = (d) => d instanceof Date;\nconst isEmpty = (o) => Object.keys(o).length === 0;\nconst isObject = (o) => o != null && typeof o === \"object\";\nconst hasOwnProperty = (o, ...args) => Object.prototype.hasOwnProperty.call(o, ...args);\nconst isEmptyObject = (o) => isObject(o) && isEmpty(o);\nconst makeObjectWithoutPrototype = () => /* @__PURE__ */ Object.create(null);\nconst diff = (lhs, rhs) => {\n  if (lhs === rhs) return {};\n  if (!isObject(lhs) || !isObject(rhs)) return rhs;\n  const deletedValues = Object.keys(lhs).reduce((acc, key) => {\n    if (!hasOwnProperty(rhs, key)) {\n      acc[key] = void 0;\n    }\n    return acc;\n  }, makeObjectWithoutPrototype());\n  if (isDate(lhs) || isDate(rhs)) {\n    if (lhs.valueOf() == rhs.valueOf()) return {};\n    return rhs;\n  }\n  return Object.keys(rhs).reduce((acc, key) => {\n    if (!hasOwnProperty(lhs, key)) {\n      acc[key] = rhs[key];\n      return acc;\n    }\n    const difference = diff(lhs[key], rhs[key]);\n    if (isEmptyObject(difference) && !isDate(difference) && (isEmptyObject(lhs[key]) || !isEmptyObject(rhs[key])))\n      return acc;\n    acc[key] = difference;\n    return acc;\n  }, deletedValues);\n};\nfunction injectMap() {\n  if (!getCurrentScope()) {\n    throwException({\n      text: \"injectMap must be only called on runtime.\",\n      isInternal: true\n    });\n  }\n  const map = inject(\"map\");\n  if (!map || !isRef(map)) {\n    throwException({\n      text: \"Was not able to inject valid map in injectMap.\",\n      isInternal: true\n    });\n  }\n  return map;\n}\nfunction injectLayers() {\n  if (!getCurrentScope()) {\n    throwException({\n      text: \"injectLayers must be only called on runtime.\",\n      isInternal: true\n    });\n  }\n  const layers = inject(\"layers\");\n  if (!layers || !isRef(layers)) {\n    throwException({\n      text: \"Was not able to inject valid layers in injectLayers.\",\n      isInternal: true\n    });\n  }\n  return layers;\n}\nasync function waitTillYmapInit({\n  timeoutCallback,\n  waitDuration\n} = {}) {\n  if (typeof window === \"undefined\") {\n    throwException({\n      text: \"waitTillYmapInit cannot be called on SSR.\",\n      isInternal: true\n    });\n  }\n  if (typeof ymaps3 !== \"undefined\") return;\n  return new Promise((resolve, reject) => {\n    if (typeof ymaps3 === \"undefined\") {\n      let timeout;\n      waitDuration = typeof waitDuration !== \"undefined\" ? waitDuration : yandexMapSettings.value.mapsScriptWaitDuration;\n      if (waitDuration !== false) {\n        timeout = setTimeout(() => {\n          timeoutCallback?.(timeout, true);\n          reject(new YandexMapException(\"Was not able to wait for map initialization in waitTillYmapInit. Ensure that map was initialized. You can change this behavior by using mapsScriptWaitDuration.\"));\n        }, typeof waitDuration === \"number\" ? waitDuration : 5e3);\n        timeoutCallback?.(timeout, false);\n      }\n      watch(yandexMapIsLoaded, () => {\n        if (timeout) {\n          clearTimeout(timeout);\n          timeoutCallback?.(timeout, true);\n        }\n        if (yandexMapLoadStatus.value === \"loaded\") {\n          resolve();\n        } else {\n          reject(yandexMapLoadError);\n        }\n      }, {\n        immediate: true\n      });\n    } else {\n      resolve();\n    }\n  });\n}\nasync function waitTillMapInit({\n  map: _map,\n  timeoutCallback,\n  waitDuration\n} = {}) {\n  if (!_map && !getCurrentScope()) {\n    throwException({\n      text: \"onMapInit must be only called on runtime.\",\n      isInternal: true\n    });\n  }\n  if (typeof window === \"undefined\") {\n    throwException({\n      text: \"waitTillMapInit cannot be called on SSR.\",\n      isInternal: true\n    });\n  }\n  const map = _map || injectMap();\n  if (map.value) return;\n  return new Promise((resolve, reject) => {\n    let timeout;\n    waitDuration = typeof waitDuration !== \"undefined\" ? waitDuration : yandexMapSettings.value.mapsRenderWaitDuration;\n    if (waitDuration !== false) {\n      timeout = setTimeout(() => {\n        timeoutCallback?.(timeout, true);\n        reject(new YandexMapException(\"Was not able to wait for map initialization in waitTillMapInit. You can change this behavior by using mapsRenderWaitDuration.\"));\n      }, typeof waitDuration === \"number\" ? waitDuration : 5e3);\n      timeoutCallback?.(timeout, false);\n    }\n    let watcher;\n    watcher = watch(map, () => {\n      if (map.value) {\n        watcher?.();\n        if (timeout) {\n          clearTimeout(timeout);\n          timeoutCallback?.(timeout, true);\n        }\n        resolve();\n      }\n    }, {\n      immediate: true\n    });\n  });\n}\nfunction deleteMapChildren({\n  children,\n  isMercator,\n  root\n}) {\n  if (!root) {\n    throwException({\n      text: \"Failed to execute deleteMapChild due to destroyed root\",\n      isInternal: true\n    });\n  }\n  if (children && !isMercator) {\n    if (typeof root?.value === \"object\" && Array.isArray(root.value)) {\n      root.value = root.value.filter((x) => x !== children);\n    } else {\n      root.value?.removeChild(children);\n    }\n  } else if (root.value && children && isMercator && \"update\" in root.value) {\n    root.value.update({\n      projection: void 0\n    });\n  }\n}\nconst _hoisted_1$2 = {\n  key: 0,\n  class: \"__ymap_slots\"\n};\nconst _sfc_main$H = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMap\" },\n  __name: \"YandexMap\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    tag: {\n      type: String,\n      default: \"div\"\n    },\n    width: {\n      type: String,\n      default: \"100%\"\n    },\n    height: {\n      type: String,\n      default: \"100%\"\n    },\n    // z-index for Map Container. Without this, elements of the map will be displayed under your site's elements due to high z-index inside of them\n    zIndex: {\n      type: Number,\n      default: 0\n    },\n    /**\n    * @description Settings for cart initialization.,\n    *\n    * You can modify this object or use map methods, such as setLocation/setBehaviors e.t.c.\n    * @see https://yandex.ru/dev/maps/jsapi/doc/3.0/dg/concepts/map.html#map-parms\n    * @see https://yandex.com/dev/maps/jsapi/doc/3.0/dg/concepts/map.html#map-parms\n    */\n    settings: {\n      type: Object,\n      required: true\n    },\n    /**\n    * @description Makes settings readonly. Enable this if reactivity causes problems\n    */\n    readonlySettings: {\n      type: Boolean,\n      default: false\n    },\n    /**\n    * @description Always inserts actual user center or bounds (based on your input) on every location change\n    * @note This prop will cause user location change on every settings update (if user did move since last time). Use it with caution.\n    */\n    realSettingsLocation: {\n      type: Boolean,\n      default: false\n    },\n    /**\n    * @description You can also add layers through <yandex-*> components\n    *\n    * Modifying this object after mount will cause no effect.\n    *\n    * Instead, please use map methods, such as addChild.\n    * @see https://yandex.ru/dev/maps/jsapi/doc/3.0/dg/concepts/map.html#layers\n    * @see https://yandex.com/dev/maps/jsapi/doc/3.0/dg/concepts/map.html#layers\n    */\n    layers: {\n      type: Array,\n      default: (() => [])\n    },\n    /**\n    * @description Adds cursor: grab/grabbing to ymaps scheme layer\n    */\n    cursorGrab: {\n      type: Boolean,\n      default: false\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    const map = shallowRef(null);\n    const mapRef = shallowRef(null);\n    const mapLayers = shallowRef([]);\n    const projection = shallowRef(null);\n    const ymapContainer = shallowRef(null);\n    const mounted = shallowRef(false);\n    const needsToHold = ref(0);\n    provide(\"map\", map);\n    provide(\"layers\", mapLayers);\n    provide(\"projection\", projection);\n    provide(\"needsToHold\", needsToHold);\n    const getSettings = computed(() => ({\n      ...props.settings,\n      projection: void 0\n    }));\n    const init = async () => {\n      if (!props.settings.location) {\n        throwException({\n          text: \"You must specify location in YandexMap settings\"\n        });\n      }\n      if (map.value) map.value.destroy();\n      const container = ymapContainer.value;\n      if (!container) return;\n      const settings = getSettings.value;\n      if (projection.value) settings.projection = projection.value;\n      map.value = new ymaps3.YMap(container, settings, [\n        ...mapLayers.value,\n        ...props.layers\n      ]);\n      emit(\"update:modelValue\", map.value);\n    };\n    let listener;\n    let watcher;\n    let cursorGrabTimeout = null;\n    async function setupCursorGrab() {\n      await waitTillMapInit({\n        map,\n        timeoutCallback: (_timeout, isDelete) => {\n          if (isDelete) {\n            cursorGrabTimeout = null;\n          } else {\n            cursorGrabTimeout = _timeout;\n          }\n        }\n      }).catch(() => {\n      });\n      if (!map.value) return;\n      if (props.cursorGrab) {\n        listener = new ymaps3.YMapListener({\n          onActionStart: (e) => {\n            if (e.type === \"drag\" && props.cursorGrab) mapRef.value?.classList.add(\"__ymap--grabbing\");\n          },\n          onActionEnd: (e) => {\n            if (e.type === \"drag\") mapRef.value?.classList.remove(\"__ymap--grabbing\");\n          }\n        });\n        map.value.addChild(listener);\n      } else if (listener) map.value.removeChild(listener);\n    }\n    let reInit = false;\n    watch(yandexMapLoadStatus, async (val) => {\n      if (val === \"pending\") {\n        reInit = true;\n        mounted.value = false;\n        return;\n      }\n      if (val !== \"loaded\" && !reInit) return;\n      mounted.value = true;\n      await nextTick();\n      if (needsToHold.value) {\n        await new Promise((resolve) => watch(needsToHold, () => {\n          if (!needsToHold.value) resolve();\n        }, {\n          immediate: true\n        }));\n      }\n      await init();\n    });\n    onMounted(async () => {\n      if (yandexMapIsLoaded.value && !yandexMapScript?.value?.parentElement) {\n        yandexMapLoadStatus.value = \"pending\";\n        yandexMapScript.value?.remove();\n        yandexMapScript.value = null;\n        for (const key in window) {\n          if (key.includes(\"ymaps3\")) delete window[key];\n        }\n      }\n      const setupWatcher = () => {\n        watcher?.();\n        let settings = copy(getSettings);\n        watcher = watch(getSettings, (val) => {\n          if (!map.value) return;\n          const clonedSettings = copy(val);\n          if (props.realSettingsLocation && clonedSettings.location) {\n            if (\"center\" in clonedSettings.location && \"center\" in settings.location) {\n              settings.location.center = map.value.center;\n            } else if (\"bounds\" in clonedSettings.location && \"bounds\" in settings.location) {\n              settings.location.bounds = map.value.bounds;\n            }\n            if (\"zoom\" in clonedSettings.location && \"zoom\" in settings.location) settings.location.zoom = map.value.zoom;\n          }\n          const settingsDiff = Object.keys(diff(settings, clonedSettings));\n          if (settingsDiff.length === 0) return;\n          const updatedSettings = { ...clonedSettings };\n          for (const key in updatedSettings) {\n            if (!settingsDiff.includes(key)) delete updatedSettings[key];\n          }\n          settings = clonedSettings;\n          map.value?.update(updatedSettings);\n        }, {\n          deep: true\n        });\n      };\n      if (!props.readonlySettings) {\n        setupWatcher();\n      }\n      watch(() => props.readonlySettings, (val) => {\n        if (!val) {\n          watcher?.();\n        } else {\n          setupWatcher();\n        }\n      });\n      watch(() => props.cursorGrab, setupCursorGrab, { immediate: true });\n      if (!yandexMapIsLoaded.value) {\n        if (yandexMapSettings.value.initializeOn === \"onComponentMount\") {\n          try {\n            await initYmaps();\n          } catch (e) {\n            console.error(\"An error occured while initializing Yandex Map with onComponentMount setting\");\n            console.error(e);\n            return;\n          }\n        } else if (yandexMapLoadStatus.value === \"loading\" || yandexMapSettings.value.initializeOn === \"onPluginInit\") {\n          if (yandexMapSettings.value.initializeOn === \"onPluginInit\" && yandexMapLoadStatus.value !== \"loading\") await nextTick();\n          await initYmaps();\n        }\n        if (!yandexMapIsLoaded.value) {\n          throwException({\n            text: \"You have set up <yandex-map> component without initializing Yandex maps. Please check initializeOn setting or call initYmaps manually before registering this component.\"\n          });\n        }\n      }\n      mounted.value = true;\n      await nextTick();\n      if (needsToHold.value) {\n        await new Promise((resolve) => watch(needsToHold, () => {\n          if (!needsToHold.value) resolve();\n        }, {\n          immediate: true\n        }));\n      }\n      await init();\n    });\n    onBeforeUnmount(() => {\n      if (cursorGrabTimeout) clearTimeout(cursorGrabTimeout);\n      if (map.value) map.value.destroy();\n      map.value = null;\n      emit(\"update:modelValue\", map.value);\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createBlock(resolveDynamicComponent(__props.tag), {\n        ref_key: \"mapRef\",\n        ref: mapRef,\n        class: normalizeClass([\"__ymap\", { \"__ymap--grab\": __props.cursorGrab }]),\n        style: normalizeStyle({ width: __props.width, height: __props.height, zIndex: __props.zIndex.toString() })\n      }, {\n        default: withCtx(() => [\n          createElementVNode(\"div\", {\n            ref_key: \"ymapContainer\",\n            ref: ymapContainer,\n            class: \"__ymap_container\"\n          }, null, 512),\n          mounted.value ? withDirectives((openBlock(), createElementBlock(\"div\", _hoisted_1$2, [\n            renderSlot(_ctx.$slots, \"default\")\n          ], 512)), [\n            [vShow, false]\n          ]) : createCommentVNode(\"\", true)\n        ]),\n        _: 3\n      }, 8, [\"class\", \"style\"]);\n    };\n  }\n});\nfunction provideMapRoot({ mapRootRef } = {}) {\n  const children = mapRootRef ?? shallowRef();\n  provide(\"mapRoot\", children);\n  const childrenPromises = shallowRef([]);\n  provide(\"mapRootInitPromises\", childrenPromises);\n  return {\n    mapRootRef: children,\n    mapRootInitPromises: childrenPromises\n  };\n}\nasync function setupMapChildren({\n  returnOnly,\n  willDeleteByHand,\n  strictMapRoot,\n  requiredImport,\n  createFunction,\n  settings,\n  settingsUpdateIgnoreKeys,\n  settingsUpdateFull,\n  isLayer,\n  isProjection,\n  mapRoot: _mapRoot,\n  index\n}) {\n  if (!getCurrentScope()) {\n    throwException({\n      text: \"setupMapChildren must be only called on runtime.\",\n      isInternal: true\n    });\n  }\n  try {\n    const mapRootRef = _mapRoot?.mapRootRef;\n    const mapRootInitPromises = _mapRoot?.mapRootInitPromises;\n    const children = shallowRef();\n    const mapRoot = inject(\"mapRoot\", null);\n    const initPromises = inject(\"mapRootInitPromises\", null);\n    const map = injectMap();\n    const layers = injectLayers();\n    let timeouts = null;\n    const timeoutCallback = (timeout, isDelete) => {\n      if (!timeouts) timeouts = /* @__PURE__ */ new Set();\n      if (!isDelete) timeouts.add(timeout);\n      else timeouts.delete(timeout);\n    };\n    if (!returnOnly && !willDeleteByHand) {\n      onBeforeUnmount(() => {\n        if (children.value) {\n          deleteMapChildren({\n            children: children.value,\n            isMercator: isProjection,\n            root: mapRoot?.value ? mapRoot : map\n          });\n        }\n        if (timeouts?.size) {\n          timeouts.forEach((timeout) => clearTimeout(timeout));\n          timeouts.clear();\n        }\n      });\n    }\n    if (settings) {\n      let lastSettings = copy(settings);\n      watch(settings, (value) => {\n        if (!value) return;\n        if (settingsUpdateFull) {\n          if (children.value && \"update\" in children.value) children.value.update(value);\n          return;\n        }\n        const settingsDiff = Object.keys(diff(lastSettings, value));\n        if (settingsDiff.length === 0) return;\n        const updatedSettings = copy(value);\n        for (const key in updatedSettings) {\n          if (!settingsDiff.includes(key)) delete updatedSettings[key];\n        }\n        const ignoreKeys = settingsUpdateIgnoreKeys && (isRef(settingsUpdateIgnoreKeys) ? settingsUpdateIgnoreKeys.value : settingsUpdateIgnoreKeys);\n        if (ignoreKeys) excludeKeys(updatedSettings, ignoreKeys);\n        if (Object.keys(updatedSettings).length === 0) return;\n        lastSettings = copy(value);\n        if (children.value && \"update\" in children.value) children.value.update(updatedSettings);\n      }, { deep: true });\n    }\n    if (!returnOnly && !isProjection) {\n      watch(() => toValue(index), (indexValue) => {\n        if (!children.value || !map.value) {\n          return;\n        }\n        deleteMapChildren({\n          children: children.value,\n          isMercator: isProjection,\n          root: mapRoot?.value ? mapRoot : map\n        });\n        if (typeof mapRoot?.value === \"object\" && Array.isArray(mapRoot.value)) {\n          mapRoot.value = [\n            ...mapRoot.value,\n            children.value\n          ];\n        } else {\n          (mapRoot?.value || map.value).addChild(children.value, indexValue);\n        }\n      });\n    }\n    if (!isLayer && !isProjection) {\n      await waitTillMapInit({ timeoutCallback });\n      if (!map.value) {\n        throwException({\n          text: \"map is undefined in setupMapChildren. Please verify that Yandex Maps were initialized successfully and you only use components inside <yandex-map>.\"\n        });\n      }\n    } else {\n      await waitTillYmapInit({ timeoutCallback });\n    }\n    if (strictMapRoot) {\n      if (!mapRoot?.value) await nextTick();\n      if (!mapRoot?.value) {\n        throwException({\n          text: `mapRoot is undefined in setupMapChildren. Please verify that you are using component inside it's root: for example, don't use Controls outside <yandex-map-controls>.`\n        });\n      }\n    }\n    if (mapRootInitPromises) {\n      await nextTick();\n      await Promise.all(mapRootInitPromises.value);\n    }\n    let importData;\n    if (requiredImport) {\n      const importPromise = requiredImport();\n      if (initPromises?.value) initPromises.value.push(Promise.resolve(importPromise));\n      importData = await importPromise;\n    }\n    children.value = createFunction(importData);\n    if (mapRootRef && !mapRootRef.value) mapRootRef.value = children.value;\n    if (!returnOnly && map.value && !isProjection) {\n      if (initPromises?.value) {\n        await Promise.all(initPromises.value);\n        if (!requiredImport) await nextTick();\n      }\n      const indexValue = toValue(index);\n      if (typeof mapRoot?.value === \"object\" && Array.isArray(mapRoot.value)) {\n        mapRoot.value.splice(indexValue ?? mapRoot.value.length, 0, children.value);\n        triggerRef(mapRoot);\n      } else {\n        (mapRoot?.value || map.value).addChild(children.value, indexValue);\n      }\n    } else if (isLayer) {\n      layers.value.push(children.value);\n    } else if (isProjection && map.value) {\n      map.value.update({\n        projection: children.value\n      });\n    }\n    return children.value;\n  } catch (e) {\n    console.error(\"Error during map children loading\", e);\n    throw e;\n  }\n}\nconst _sfc_main$G = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapListener\" },\n  __name: \"YandexMapListener\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      default: () => ({})\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    let mapListener;\n    onMounted(async () => {\n      mapListener = await setupMapChildren({\n        createFunction: () => new ymaps3.YMapListener(props.settings || {}),\n        settings: computed(() => props.settings)\n      });\n      emit(\"update:modelValue\", mapListener);\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$F = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapDefaultFeaturesLayer\" },\n  __name: \"YandexMapDefaultFeaturesLayer\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      default: () => ({})\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    const hold = inject(\"needsToHold\");\n    hold.value++;\n    let mapLayer;\n    onMounted(async () => {\n      mapLayer = await setupMapChildren({\n        createFunction: () => new ymaps3.YMapDefaultFeaturesLayer(props.settings || {}),\n        settings: computed(() => props.settings),\n        isLayer: true\n      });\n      emit(\"update:modelValue\", mapLayer);\n      hold.value--;\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$E = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapDefaultSchemeLayer\" },\n  __name: \"YandexMapDefaultSchemeLayer\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      default: () => ({})\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    const hold = inject(\"needsToHold\");\n    hold.value++;\n    let mapLayer;\n    onMounted(async () => {\n      mapLayer = await setupMapChildren({\n        createFunction: () => new ymaps3.YMapDefaultSchemeLayer(props.settings || {}),\n        settings: computed(() => props.settings),\n        isLayer: true\n      });\n      emit(\"update:modelValue\", mapLayer);\n      hold.value--;\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$D = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapTileDataSource\" },\n  __name: \"YandexMapTileDataSource\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      required: true\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    const hold = inject(\"needsToHold\");\n    hold.value++;\n    let mapChildren;\n    onMounted(async () => {\n      if (!props.settings.id) {\n        throwException({\n          text: \"You must specify id in YandexMapTileDataSource settings\"\n        });\n      }\n      mapChildren = await setupMapChildren({\n        createFunction: () => new ymaps3.YMapTileDataSource(props.settings),\n        settings: computed(() => props.settings),\n        isLayer: true\n      });\n      emit(\"update:modelValue\", mapChildren);\n      hold.value--;\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$C = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapFeatureDataSource\" },\n  __name: \"YandexMapFeatureDataSource\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      required: true\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    const hold = inject(\"needsToHold\");\n    hold.value++;\n    let mapChildren;\n    onMounted(async () => {\n      if (!props.settings.id) {\n        throwException({\n          text: \"You must specify id in YandexMapFeatureDataSource settings\"\n        });\n      }\n      mapChildren = await setupMapChildren({\n        createFunction: () => new ymaps3.YMapFeatureDataSource(props.settings),\n        settings: computed(() => props.settings),\n        isLayer: true\n      });\n      emit(\"update:modelValue\", mapChildren);\n      hold.value--;\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$B = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapLayer\" },\n  __name: \"YandexMapLayer\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      required: true\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    const hold = inject(\"needsToHold\");\n    hold.value++;\n    let mapLayer;\n    onMounted(async () => {\n      if (!props.settings.type) {\n        throwException({\n          text: \"You must specify type in YandexMapLayer settings\"\n        });\n      }\n      mapLayer = await setupMapChildren({\n        createFunction: () => new ymaps3.YMapLayer(props.settings || {}),\n        settings: computed(() => props.settings),\n        isLayer: true\n      });\n      emit(\"update:modelValue\", mapLayer);\n      hold.value--;\n    });\n    return () => {\n    };\n  }\n});\nfunction getMarkerContainerProps({\n  position,\n  containerAttrs,\n  wrapperAttrs,\n  zeroSizes\n}) {\n  const root = {\n    class: [\"__ymap-marker\"],\n    style: {}\n  };\n  const children = {\n    class: [\"__ymap-marker_wrapper\"],\n    style: {}\n  };\n  const isDefaultPosition = position === \"default\" || position === \"default default\";\n  if (position && !isDefaultPosition) {\n    if (position.startsWith(\"translate\")) {\n      children.style.transform = position;\n    } else {\n      let translateX = 0;\n      let translateY = 0;\n      const splitted = position.split(\" \");\n      for (let i = 0; i < splitted.length; i++) {\n        let local = 0;\n        const item = splitted[i];\n        switch (item) {\n          case \"top\":\n          case \"left\":\n            local = -100;\n            break;\n          case \"top-center\":\n          case \"left-center\":\n            local = -50;\n            break;\n          case \"bottom\":\n          case \"right\":\n            local = 100;\n            break;\n          case \"bottom-center\":\n          case \"right-center\":\n            local = 50;\n            break;\n          default:\n            local = 0;\n        }\n        if (item.startsWith(\"left\") || item.startsWith(\"right\")) translateX = local;\n        else translateY = local;\n      }\n      children.style.transform = `translate(${translateX}%, ${translateY}%)`;\n    }\n  }\n  if (zeroSizes === true || zeroSizes !== false && position && !isDefaultPosition) {\n    root.style.width = \"0\";\n    root.style.height = \"0\";\n    if (children.style.transform) children.style.width = \"fit-content\";\n  }\n  const attrs = {\n    root: { ...containerAttrs ?? {} },\n    children: { ...wrapperAttrs ?? {} }\n  };\n  for (const [key, value] of Object.entries(attrs)) {\n    const obj = key === \"root\" ? root : children;\n    if (value.class) {\n      if (!Array.isArray(value.class)) value.class = [value.class];\n      value.class = [\n        ...obj.class,\n        ...value.class\n      ];\n    }\n    if (value?.style) {\n      if (typeof value.style !== \"object\" || Array.isArray(value.style)) {\n        console.warn(`Style property was given in ${key} of marker, but it is not an object. Style of this prop can only be an object, therefore it was ignored.`);\n      } else {\n        value.style = {\n          ...obj.style,\n          ...value.style\n        };\n      }\n    }\n    Object.assign(obj, value);\n  }\n  return {\n    root,\n    children\n  };\n}\nfunction excludeYandexMarkerProps(props) {\n  props = { ...props };\n  const toExclude = {\n    position: true,\n    containerAttrs: true,\n    wrapperAttrs: true,\n    zeroSizes: true\n  };\n  for (const excluded in toExclude) {\n    if (excluded in props) delete props[excluded];\n  }\n  return props;\n}\nconst _sfc_main$A = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapMarker\" },\n  __name: \"YandexMapMarker\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      required: true\n    },\n    /**\n    * @description Sets translate(%, %) to marker to align it properly.\n    *\n    * If you want to make aligment to be like Yandex Maps 2.0, set this property to \"top left-center\".\n    * @default default (as goes in Yandex by default)\n    */\n    position: {\n      type: String\n    },\n    /**\n    * @description Allows you to add any attributes to <div class=\"__ymap-marker\"> container.\n    *\n    * Important: to pass styles, you must use object-style prop instead of string.\n    */\n    containerAttrs: {\n      type: Object,\n      default: () => ({})\n    },\n    /**\n    * @description Allows you to add any attributes to <div class=\"__ymap-marker_wrapper\"> container.\n    *\n    * Important: to pass styles, you must use object-style prop instead of string.\n    */\n    wrapperAttrs: {\n      type: Object,\n      default: () => ({})\n    },\n    /**\n    * @description Will add width and height: 0 to container.\n    *\n    * Null enables default behavior, false disables it completely (even if position is specified).\n    *\n    * @default true if position is specified, false otherwise\n    */\n    zeroSizes: {\n      type: Boolean,\n      default: null\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    let mapChildren;\n    const element = ref(null);\n    function clearElement() {\n      if (!element.value?.parentElement?.closest(\"ymaps\")) element.value?.remove();\n    }\n    onMounted(async () => {\n      if (!props.settings.coordinates) {\n        throwException({\n          text: \"You must specify coordinates in YandexMapMarker settings\"\n        });\n      }\n      mapChildren = await setupMapChildren({\n        settings: computed(() => props.settings),\n        createFunction: () => new ymaps3.YMapMarker(props.settings, element.value)\n      });\n      clearElement();\n      emit(\"update:modelValue\", mapChildren);\n    });\n    let mapParent = void 0;\n    onUpdated(() => {\n      if (!mapParent && element.value?.parentElement?.closest(\"ymaps\")) mapParent = element.value.parentElement;\n      else if (mapParent && element.value && !element.value?.parentElement?.closest(\"ymaps\")) mapParent.appendChild(element.value);\n      clearElement();\n    });\n    const rootProps = computed(() => getMarkerContainerProps({\n      position: props.position,\n      containerAttrs: props.containerAttrs,\n      wrapperAttrs: props.wrapperAttrs,\n      zeroSizes: props.zeroSizes\n    }));\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", mergeProps(rootProps.value.root, {\n        ref_key: \"element\",\n        ref: element,\n        class: \"__ymap_marker\"\n      }), [\n        createElementVNode(\"div\", normalizeProps(guardReactiveProps(rootProps.value.children)), [\n          renderSlot(_ctx.$slots, \"default\")\n        ], 16)\n      ], 16);\n    };\n  }\n});\nconst _sfc_main$z = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapDefaultMarker\" },\n  __name: \"YandexMapDefaultMarker\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      required: true\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    const slots = useSlots();\n    let mapChildren;\n    const popup = ref(null);\n    const contentFunc = () => {\n      return popup.value;\n    };\n    const getSettings = computed(() => {\n      const settings = { ...props.settings };\n      if (settings.popup && (typeof settings.popup.content === \"undefined\" || settings.popup.content === \"fromSlot\") && popup.value) {\n        settings.popup = {\n          ...settings.popup,\n          content: contentFunc\n        };\n      }\n      return settings;\n    });\n    onMounted(async () => {\n      if (!props.settings.coordinates) {\n        throwException({\n          text: \"You must specify coordinates in YandexMapDefaultMarker settings\"\n        });\n      }\n      mapChildren = await setupMapChildren({\n        createFunction: ({ YMapDefaultMarker: Marker }) => new Marker(getSettings.value),\n        requiredImport: () => importYmapsCDNModule(\"@yandex/ymaps3-default-ui-theme\"),\n        settings: getSettings\n      });\n      emit(\"update:modelValue\", mapChildren);\n    });\n    watch(popup, () => {\n      if (popup.value) popup.value.parentNode?.removeChild(popup.value);\n    });\n    return (_ctx, _cache) => {\n      return !!unref(slots).popup ? (openBlock(), createElementBlock(\"div\", {\n        key: 0,\n        ref_key: \"popup\",\n        ref: popup,\n        class: \"__ymap_default-marker-popup\"\n      }, [\n        renderSlot(_ctx.$slots, \"popup\")\n      ], 512)) : createCommentVNode(\"\", true);\n    };\n  }\n});\nconst _sfc_main$y = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapFeature\" },\n  __name: \"YandexMapFeature\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      required: true\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    let mapChildren;\n    onMounted(async () => {\n      if (!props.settings.geometry) {\n        throwException({\n          text: \"You must specify geometry in YandexMapFeature settings\"\n        });\n      }\n      mapChildren = await setupMapChildren({\n        createFunction: () => new ymaps3.YMapFeature(props.settings),\n        settings: computed(() => props.settings)\n      });\n      emit(\"update:modelValue\", mapChildren);\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$x = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapControls\" },\n  __name: \"YandexMapControls\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      required: true\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    const mapChildren = shallowRef(null);\n    const mapRoot = provideMapRoot();\n    onMounted(async () => {\n      if (!props.settings.position) {\n        throwException({\n          text: \"You must specify position in YandexMapControls settings\"\n        });\n      }\n      mapChildren.value = await setupMapChildren({\n        createFunction: () => new ymaps3.YMapControls(props.settings),\n        mapRoot,\n        settings: computed(() => props.settings)\n      });\n      emit(\"update:modelValue\", mapChildren.value);\n    });\n    return (_ctx, _cache) => {\n      return mapChildren.value ? renderSlot(_ctx.$slots, \"default\", { key: 0 }) : createCommentVNode(\"\", true);\n    };\n  }\n});\nconst _sfc_main$w = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapControl\" },\n  __name: \"YandexMapControl\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      default: () => ({})\n    },\n    index: Number\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    let mapChildren;\n    const element = ref(null);\n    onMounted(async () => {\n      mapChildren = await setupMapChildren({\n        createFunction: () => new ymaps3.YMapControl(props.settings, element.value),\n        settings: computed(() => props.settings),\n        strictMapRoot: true,\n        index: toRef(props, \"index\")\n      });\n      emit(\"update:modelValue\", mapChildren);\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        ref_key: \"element\",\n        ref: element,\n        class: \"__ymap_control\"\n      }, [\n        renderSlot(_ctx.$slots, \"default\")\n      ], 512);\n    };\n  }\n});\nconst _sfc_main$v = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapControlButton\" },\n  __name: \"YandexMapControlButton\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      default: () => ({})\n    },\n    index: Number\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    let mapChildren;\n    const element = ref(null);\n    onMounted(async () => {\n      mapChildren = await setupMapChildren({\n        createFunction: () => new ymaps3.YMapControlButton({\n          ...props.settings,\n          element: element.value\n        }),\n        settings: computed(() => ({\n          ...props.settings,\n          element: element.value\n        })),\n        strictMapRoot: true,\n        index: toRef(props, \"index\")\n      });\n      emit(\"update:modelValue\", mapChildren);\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        ref_key: \"element\",\n        ref: element,\n        class: \"__ymap_control-button\"\n      }, [\n        renderSlot(_ctx.$slots, \"default\")\n      ], 512);\n    };\n  }\n});\nconst _sfc_main$u = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapGeolocationControl\" },\n  __name: \"YandexMapGeolocationControl\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      default: () => ({})\n    },\n    index: Number\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    let mapChildren;\n    onMounted(async () => {\n      mapChildren = await setupMapChildren({\n        createFunction: (controls) => new controls.YMapGeolocationControl(props.settings),\n        requiredImport: () => importYmapsCDNModule(\"@yandex/ymaps3-default-ui-theme\"),\n        settings: computed(() => props.settings),\n        strictMapRoot: true,\n        index: toRef(props, \"index\")\n      });\n      emit(\"update:modelValue\", mapChildren);\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$t = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapZoomControl\" },\n  __name: \"YandexMapZoomControl\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      default: () => ({})\n    },\n    index: Number\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    let mapChildren;\n    onMounted(async () => {\n      mapChildren = await setupMapChildren({\n        createFunction: (controls) => new controls.YMapZoomControl(props.settings),\n        requiredImport: () => importYmapsCDNModule(\"@yandex/ymaps3-default-ui-theme\"),\n        settings: computed(() => props.settings),\n        strictMapRoot: true,\n        index: toRef(props, \"index\")\n      });\n      emit(\"update:modelValue\", mapChildren);\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$s = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapScaleControl\" },\n  __name: \"YandexMapScaleControl\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      default: () => ({})\n    },\n    index: Number\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    let mapChildren;\n    onMounted(async () => {\n      mapChildren = await setupMapChildren({\n        createFunction: () => new ymaps3.YMapScaleControl(props.settings),\n        settings: computed(() => props.settings),\n        strictMapRoot: true,\n        index: toRef(props, \"index\")\n      });\n      emit(\"update:modelValue\", mapChildren);\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$r = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapCartesianProjection\" },\n  __name: \"YandexMapCartesianProjection\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    bounds: {\n      type: Array,\n      required: true\n    },\n    cycled: {\n      type: Array\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    const hold = inject(\"needsToHold\");\n    hold.value++;\n    const projection = inject(\"projection\");\n    onMounted(async () => {\n      if (!projection) return;\n      const cartesian = await setupMapChildren({\n        isProjection: true,\n        createFunction: ({ Cartesian: CartesianClass }) => new CartesianClass(props.bounds, props.cycled),\n        requiredImport: () => importYmapsCDNModule(\"@yandex/ymaps3-cartesian-projection\")\n      });\n      projection.value = cartesian;\n      emit(\"update:modelValue\", cartesian);\n      hold.value--;\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$q = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapWebMercatorProjection\" },\n  __name: \"YandexMapWebMercatorProjection\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const emit = __emit;\n    const hold = inject(\"needsToHold\");\n    hold.value++;\n    const projection = inject(\"projection\");\n    onMounted(async () => {\n      if (!projection) return;\n      const cartesian = await setupMapChildren({\n        isProjection: true,\n        createFunction: ({ WebMercator: WebMercatorClass }) => new WebMercatorClass(),\n        requiredImport: () => importYmapsCDNModule(\"@yandex/ymaps3-web-mercator-projection\")\n      });\n      projection.value = cartesian;\n      emit(\"update:modelValue\", cartesian);\n      hold.value--;\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$p = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapHint\" },\n  __name: \"YandexMapHint\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    // Property that you will set on YandexMapMarker or YandexMapFeature to display hint content\n    hintProperty: {\n      type: String,\n      required: true\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    let mapChildren;\n    const element = shallowRef(null);\n    const hintContent = shallowRef(\"\");\n    onMounted(async () => {\n      await setupMapChildren({\n        createFunction: ({\n          YMapHint: MapHint,\n          YMapHintContext\n        }) => {\n          mapChildren = new MapHint({\n            hint: (object) => object?.properties?.[props.hintProperty]\n          });\n          class Hint extends ymaps3.YMapEntity {\n            _onAttach() {\n              const e = this;\n              e._element = element.value;\n              e._detachDom = ymaps3.useDomContext(e, e._element, null);\n              e._watchContext(YMapHintContext, () => {\n                hintContent.value = e._consumeContext(YMapHintContext)?.[props.hintProperty];\n              }, { immediate: true });\n            }\n            _onDetach() {\n              this._detachDom();\n            }\n          }\n          mapChildren.addChild(new Hint({}));\n          return mapChildren;\n        },\n        requiredImport: () => importYmapsCDNModule(\"@yandex/ymaps3-hint\")\n      });\n      emit(\"update:modelValue\", mapChildren);\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        ref_key: \"element\",\n        ref: element,\n        class: \"__ymap_hint\"\n      }, [\n        renderSlot(_ctx.$slots, \"default\", { content: hintContent.value })\n      ], 512);\n    };\n  }\n});\nconst _sfc_main$o = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapOpenMapsButton\" },\n  __name: \"YandexMapOpenMapsButton\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      default: () => ({})\n    },\n    index: Number\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    let mapChildren;\n    onMounted(async () => {\n      mapChildren = await setupMapChildren({\n        createFunction: ({ YMapOpenMapsButton: OpenMapsButton }) => new OpenMapsButton(props.settings),\n        requiredImport: () => ymaps3.import(\"@yandex/ymaps3-controls-extra\"),\n        settings: computed(() => props.settings),\n        strictMapRoot: true,\n        index: toRef(props, \"index\")\n      });\n      emit(\"update:modelValue\", mapChildren);\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$n = defineComponent({\n  name: \"YandexMapClustererCluster\",\n  props: {\n    clusterMarkerProps: {\n      type: Object,\n      default: () => ({})\n    },\n    zoomOnClusterClick: {\n      type: [Boolean, Object],\n      default: false\n    },\n    feature: {\n      type: Object,\n      required: true\n    }\n  },\n  emits: {\n    // Exact features bounds returned on cluster click\n    trueBounds(bounds) {\n      return bounds.length === 2;\n    },\n    // Auto-corrected features bounds returned on cluster click\n    updatedBounds(bounds) {\n      return bounds.length === 2;\n    },\n    updatedCluster(clusterId) {\n      return true;\n    }\n  },\n  slots: Object,\n  setup(props, { slots, emit }) {\n    const map = injectMap();\n    const element = ref(null);\n    const containerProps = computed(() => getMarkerContainerProps({\n      position: props.clusterMarkerProps?.position ?? \"top-center left-center\",\n      containerAttrs: props.clusterMarkerProps?.containerAttrs,\n      wrapperAttrs: props.clusterMarkerProps?.wrapperAttrs,\n      zeroSizes: props.clusterMarkerProps?.zeroSizes\n    }));\n    function updateElement() {\n      const _element = element.value;\n      if (!_element) return;\n      const clusterElement = props.feature.element;\n      const clusterer = props.feature.clusterer;\n      if (clusterElement.children.length) {\n        clusterElement.children.forEach((x) => {\n          try {\n            clusterElement.removeChild(x);\n          } catch (e) {\n            console.warn(\"Non-fatal error occurred when updating Map clusterer\", e);\n          }\n        });\n      }\n      try {\n        clusterElement.addChild(new ymaps3.YMapMarker({\n          ...excludeYandexMarkerProps(props.clusterMarkerProps),\n          coordinates: clusterer.lnglat,\n          onClick: async (event, mapEvent) => {\n            props.clusterMarkerProps.onClick?.(event, mapEvent);\n            if (clusterer.features.length >= 2) {\n              const settings = typeof props.zoomOnClusterClick === \"object\" ? props.zoomOnClusterClick : {};\n              const featuresCoords = clusterer.features.map((x) => x.geometry.coordinates);\n              const bounds = getBoundsFromCoords(featuresCoords);\n              emit(\"trueBounds\", bounds);\n              if (!props.zoomOnClusterClick) return;\n              const defaultDuration = settings.duration ?? 500;\n              if (settings.strategy === \"boundsCorrect\") {\n                const [[minLongitude, maxLatitude], [maxLongitude, minLatitude]] = bounds;\n                const latDiff = maxLatitude - minLatitude;\n                const longDiff = maxLongitude - minLongitude;\n                const updatedBounds = [[minLongitude - longDiff, maxLatitude - latDiff], [maxLongitude + longDiff, minLatitude + latDiff]];\n                emit(\"updatedBounds\", updatedBounds);\n                map.value?.setLocation({\n                  bounds: updatedBounds,\n                  duration: defaultDuration,\n                  easing: settings.easing\n                });\n              } else {\n                const { center, zoom } = await getLocationFromBounds({\n                  bounds,\n                  map: map.value,\n                  roundZoom: true,\n                  comfortZoomLevel: true\n                });\n                map.value?.setLocation({\n                  center,\n                  zoom,\n                  duration: defaultDuration,\n                  easing: settings.easing\n                });\n                await sleep(defaultDuration + 50);\n                if (map.value) emit(\"updatedBounds\", map.value.bounds);\n              }\n            }\n          }\n        }, _element));\n      } catch (e) {\n        console.error(e);\n      }\n    }\n    watch(element, updateElement);\n    const firstUpdate = ref(false);\n    onUpdated(() => {\n      if (!firstUpdate.value) {\n        firstUpdate.value = true;\n        return;\n      }\n      emit(\"updatedCluster\", props.feature.clusterer.clusterId);\n    });\n    return () => {\n      return hF([\n        h(\"div\", {\n          ...containerProps.value.root,\n          ref: element\n        }, [\n          h(\"div\", containerProps.value.children, slots.default?.({\n            clusterer: props.feature.clusterer,\n            coordinates: props.feature.clusterer.lnglat,\n            length: props.feature.clusterer.features.length\n          }))\n        ])\n      ]);\n    };\n  }\n});\nconst _hoisted_1$1 = { class: \"__ymap_clusterer_clusters\" };\nconst _sfc_main$m = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapClustererClusters\" },\n  __name: \"YandexMapClustererClusters\",\n  props: {\n    clusterMarkerProps: {\n      type: Object,\n      default: () => ({})\n    },\n    zoomOnClusterClick: {\n      type: [Boolean, Object],\n      default: false\n    }\n  },\n  emits: [\"trueBounds\", \"updatedBounds\", \"updatedCluster\"],\n  setup(__props, { emit: __emit }) {\n    const emit = __emit;\n    const features = inject(\"clusterFeatures\");\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", _hoisted_1$1, [\n        (openBlock(true), createElementBlock(Fragment, null, renderList(unref(features), (feature) => {\n          return openBlock(), createBlock(_sfc_main$n, {\n            key: feature.clusterer.clusterId,\n            \"cluster-marker-props\": __props.clusterMarkerProps,\n            feature,\n            \"zoom-on-cluster-click\": __props.zoomOnClusterClick,\n            onTrueBounds: _cache[0] || (_cache[0] = ($event) => emit(\"trueBounds\", $event)),\n            onUpdatedBounds: _cache[1] || (_cache[1] = ($event) => emit(\"updatedBounds\", $event)),\n            onUpdatedCluster: _cache[2] || (_cache[2] = ($event) => emit(\"updatedCluster\", $event))\n          }, {\n            default: withCtx((options) => [\n              renderSlot(_ctx.$slots, \"default\", mergeProps({ ref_for: true }, options))\n            ]),\n            _: 3\n          }, 8, [\"cluster-marker-props\", \"feature\", \"zoom-on-cluster-click\"]);\n        }), 128))\n      ]);\n    };\n  }\n});\nconst _hoisted_1 = {\n  key: 0,\n  class: \"__ymap_clusterer--empty\"\n};\nconst _hoisted_2 = {\n  key: 1,\n  class: \"__ymap-clusterer\"\n};\nconst _sfc_main$l = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapClusterer\" },\n  __name: \"YandexMapClusterer\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      default: () => ({})\n    },\n    /**\n    * @description All custom (non-settings) props are also supported\n    */\n    clusterMarkerProps: {\n      type: Object,\n      default: () => ({})\n    },\n    /**\n    * @description Size of the grid division in pixels\n    *\n    * Used in settings.method via Yandex clusterByGrid method\n    *\n    * @see https://yandex.ru/maps-api/docs/js-api/object/markers/YMapClusterer.html\n    */\n    gridSize: {\n      type: Number,\n      default: 64\n    },\n    /**\n    * @description Zooms to bounds of features of cluster\n    */\n    zoomOnClusterClick: {\n      type: [Boolean, Object],\n      default: false\n    }\n  },\n  emits: [\"update:modelValue\", \"trueBounds\", \"updatedBounds\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    const mapChildren = shallowRef(null);\n    const entities = shallowRef([]);\n    const clusterFeatures = shallowRef([]);\n    const revision = ref(0);\n    const filteredFeatures = computed(() => clusterFeatures.value.filter((x) => x.clusterer.features.length > 1));\n    provide(\"clusterFeatures\", filteredFeatures);\n    let _clusterByGrid;\n    const tickTimeout = computed(() => props.settings.tickTimeout);\n    const getSettings = () => {\n      const settings = { ...props.settings };\n      if (!settings.method && _clusterByGrid) settings.method = _clusterByGrid?.({ gridSize: props.gridSize });\n      if (tickTimeout.value) settings.tickTimeout = tickTimeout.value;\n      let marker = settings.marker;\n      if (!marker) {\n        marker = (feature) => {\n          const entity = entities.value.find((x) => x._props.id === feature.id);\n          if (!entity) {\n            throwException({\n              text: `No entity with id ${feature.id} (coordinates: ${feature.geometry.coordinates.join(\", \")}) were found in YandexMapClusterer.`,\n              isInternal: true,\n              warn: true\n            });\n            return new ymaps3.YMapMarker({ coordinates: feature.geometry.coordinates });\n          }\n          return entity;\n        };\n      }\n      const cluster = (coordinates) => {\n        const foundCluster = clusterFeatures.value.find((x) => x.clusterer.lnglat[0] === coordinates[0] && x.clusterer.lnglat[1] === coordinates[1]);\n        if (!foundCluster) {\n          throwException({\n            text: `No element with coordinates of ${coordinates.join(\", \")} were found in YandexMapClusterer.`,\n            isInternal: true,\n            warn: true\n          });\n          return new ymaps3.YMapMarker({ coordinates });\n        }\n        return foundCluster.element;\n      };\n      let features = settings.features;\n      if (!features) {\n        features = entities.value.map((entity, i) => {\n          if (!entity._props.id) {\n            entity.update({\n              id: Math.random().toString() + Date.now().toString()\n            });\n          }\n          return {\n            type: \"Feature\",\n            id: entity._props.id,\n            geometry: {\n              type: \"Point\",\n              coordinates: entity._props.coordinates\n            },\n            properties: \"properties\" in entity._props ? entity._props.properties : {}\n          };\n        });\n      }\n      settings.onRender = (clustersList) => {\n        if (clustersList.length <= 1) revision.value++;\n        clusterFeatures.value = clustersList.map((clusterer) => {\n          clusterer.clusterId = `cluster-${revision.value}-${clusterer.features.map((x) => x.id).join(\",\")}`;\n          return {\n            clusterer,\n            element: clusterFeatures.value.find((x) => x.clusterer.clusterId === clusterer.clusterId)?.element || new ymaps3.YMapCollection({})\n          };\n        });\n        if (props.settings.onRender) return props.settings.onRender(clustersList);\n      };\n      return {\n        ...settings,\n        marker,\n        features,\n        cluster\n      };\n    };\n    const update = async () => {\n      clusterFeatures.value = [];\n      await nextTick();\n      mapChildren.value?.update(getSettings());\n      mapChildren.value?._render();\n    };\n    watch(() => [props.settings, props.gridSize], () => {\n      update();\n    }, {\n      deep: true\n    });\n    const mapRoot = provideMapRoot({ mapRootRef: entities });\n    const init = async () => {\n      mapChildren.value = await setupMapChildren({\n        createFunction: ({\n          YMapClusterer: Clusterer,\n          clusterByGrid: _clusterByGrid_\n        }) => {\n          _clusterByGrid = _clusterByGrid_;\n          const settings = getSettings();\n          if (settings.features.length > 0) {\n            settings.features = [];\n          }\n          return new Clusterer(settings);\n        },\n        requiredImport: () => importYmapsCDNModule(\"@yandex/ymaps3-clusterer\"),\n        mapRoot\n      });\n      emit(\"update:modelValue\", mapChildren.value);\n    };\n    watch(entities, async () => {\n      await nextTick();\n      update();\n    });\n    onMounted(async () => {\n      await init();\n    });\n    return (_ctx, _cache) => {\n      return !mapChildren.value ? (openBlock(), createElementBlock(\"div\", _hoisted_1)) : (openBlock(), createElementBlock(\"div\", _hoisted_2, [\n        renderSlot(_ctx.$slots, \"default\"),\n        createVNode(_sfc_main$m, {\n          \"cluster-marker-props\": __props.clusterMarkerProps,\n          \"zoom-on-cluster-click\": __props.zoomOnClusterClick,\n          onTrueBounds: _cache[0] || (_cache[0] = ($event) => emit(\"trueBounds\", $event)),\n          onUpdatedBounds: _cache[1] || (_cache[1] = ($event) => emit(\"updatedBounds\", $event)),\n          onUpdatedCluster: _cache[2] || (_cache[2] = ($event) => revision.value++)\n        }, {\n          default: withCtx((options) => [\n            renderSlot(_ctx.$slots, \"cluster\", normalizeProps(guardReactiveProps(options)))\n          ]),\n          _: 3\n        }, 8, [\"cluster-marker-props\", \"zoom-on-cluster-click\"])\n      ]));\n    };\n  }\n});\nconst _sfc_main$k = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapCollection\" },\n  __name: \"YandexMapCollection\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const emit = __emit;\n    const mapChildren = shallowRef(null);\n    const mapRoot = provideMapRoot();\n    onMounted(async () => {\n      mapChildren.value = await setupMapChildren({\n        createFunction: () => new ymaps3.YMapCollection({}),\n        mapRoot\n      });\n      emit(\"update:modelValue\", mapChildren.value);\n    });\n    return (_ctx, _cache) => {\n      return mapChildren.value ? renderSlot(_ctx.$slots, \"default\", { key: 0 }) : createCommentVNode(\"\", true);\n    };\n  }\n});\nconst _sfc_main$j = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapEntity\" },\n  __name: \"YandexMapEntity\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    index: {\n      type: Number\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    let mapChildren;\n    const element = ref(null);\n    onMounted(async () => {\n      mapChildren = await setupMapChildren({\n        createFunction: () => {\n          class Entity extends ymaps3.YMapEntity {\n            _onAttach() {\n              this._element = element.value;\n              this._detachDom = ymaps3.useDomContext(this, this._element);\n            }\n            _onDetach() {\n              this._detachDom();\n              this._detachDom = null;\n              this._element = null;\n            }\n          }\n          return new Entity({});\n        },\n        index: toRef(props, \"index\")\n      });\n      emit(\"update:modelValue\", mapChildren);\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        ref_key: \"element\",\n        ref: element,\n        class: \"__ymap_entity\"\n      }, [\n        renderSlot(_ctx.$slots, \"default\")\n      ], 512);\n    };\n  }\n});\nconst _sfc_main$i = defineComponent({\n  name: \"YandexMapRuler\",\n  props: {\n    value: {\n      type: Object,\n      default: null\n    },\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      default: () => ({})\n    },\n    pointProps: {\n      type: Object,\n      default: () => ({})\n    },\n    previewPointProps: {\n      type: [String, Object],\n      default: () => ({})\n    },\n    /**\n    * @description readonly-array with all points states\n    */\n    pointsState: {\n      type: Array,\n      default: () => []\n    }\n  },\n  emits: {\n    \"input\"(item) {\n      return true;\n    },\n    \"update:modelValue\"(item) {\n      return true;\n    },\n    \"update:pointsState\"(item) {\n      return true;\n    }\n  },\n  slots: Object,\n  setup(props, {\n    slots,\n    emit\n  }) {\n    let mapChildren;\n    class RulerPoint extends ymaps3.YMapComplexEntity {\n      entity;\n      constructor(props2, entity) {\n        super(props2);\n        this.entity = entity;\n      }\n      _onUpdate(props2) {\n        if (props2.state !== void 0) {\n          this.entity.state.state = props2.state;\n          triggerRef(entities);\n        }\n      }\n    }\n    const previewPoint = ref(null);\n    const entities = shallowRef([]);\n    watch(entities, () => {\n      emit(\"update:pointsState\", entities.value.map((x) => x.state));\n    });\n    const getEntity = (state) => {\n      const rulerPoint = {};\n      rulerPoint.entity = new RulerPoint(state, rulerPoint);\n      return rulerPoint;\n    };\n    const handleEntityRequest = (params) => {\n      const entity = getEntity(params);\n      entities.value.splice(params.state.index, 0, entity);\n      entity.state = params;\n      triggerRef(entities);\n      return entity.entity;\n    };\n    const handleUpdate = (state) => {\n      props.settings.onUpdate?.(state);\n      if (state.points.length >= entities.value.length) return;\n      const actualPoints = new Set(state.points.map((p) => String(p)));\n      entities.value = entities.value.filter(({ state: entityState }) => actualPoints.has(String(entityState?.state.coordinates)));\n    };\n    const settings = computed(() => {\n      return {\n        ...props.settings,\n        point: handleEntityRequest,\n        previewPoint: previewPoint.value ?? document.createElement(\"div\"),\n        onUpdate: handleUpdate\n      };\n    });\n    onMounted(async () => {\n      try {\n        mapChildren = await setupMapChildren({\n          createFunction: (controls) => new controls.YMapRuler(settings.value),\n          requiredImport: () => ymaps3.import(\"@yandex/ymaps3-ruler\"),\n          settings\n        });\n        emit(\"input\", mapChildren);\n        emit(\"update:modelValue\", mapChildren);\n      } catch (e) {\n        console.error(e);\n      }\n    });\n    const containerProps = computed(() => getMarkerContainerProps({\n      position: props.pointProps?.position ?? \"top-center left-center\",\n      containerAttrs: props.pointProps?.containerAttrs,\n      wrapperAttrs: props.pointProps?.wrapperAttrs,\n      zeroSizes: props.pointProps?.zeroSizes\n    }));\n    const previewProps = computed(() => {\n      const settings2 = props.previewPointProps === \"fromPointProps\" ? props.pointProps : props.previewPointProps;\n      return getMarkerContainerProps({\n        position: settings2.position ?? \"top-center left-center\",\n        containerAttrs: settings2.containerAttrs,\n        wrapperAttrs: settings2.wrapperAttrs,\n        zeroSizes: settings2.zeroSizes\n      });\n    });\n    return () => {\n      const list = Object.values(entities.value);\n      const entitiesSlots = list.map(({ entity, state }) => {\n        return hF([\n          h(\"div\", {\n            ...containerProps.value.root,\n            ref: (element) => {\n              if (!element) return;\n              const settings2 = {\n                ...props.pointProps,\n                coordinates: state.state.coordinates,\n                draggable: props.settings.editable ?? state.state.editable,\n                source: state.state.source,\n                onDragEnd: (...args) => {\n                  props.pointProps.onDragEnd?.(...args);\n                  state.onDragEnd(...args);\n                },\n                onDragMove: (...args) => {\n                  props.pointProps.onDragMove?.(...args);\n                  state.onDragMove(...args);\n                },\n                onDragStart: (...args) => {\n                  props.pointProps.onDragStart?.(...args);\n                  state.onDragStart(...args);\n                }\n              };\n              if (entity.children.length && element.closest(\"ymaps\")) {\n                const marker2 = entity.children[0];\n                marker2.update(settings2);\n                return;\n              }\n              const marker = new ymaps3.YMapMarker(settings2, element);\n              entity.children.map((x) => entity.removeChild(x));\n              entity.addChild(marker);\n            }\n          }, [h(\"div\", containerProps.value.children, slots.point(state))])\n        ], {\n          key: String(state.state.index) + state?.state.totalCount\n        });\n      });\n      return [\n        hF(entitiesSlots),\n        h(\"div\", {\n          ...previewProps.value.root,\n          ref: previewPoint\n        }, [h(\"div\", previewProps.value.children, slots.previewPoint({}))])\n      ];\n    };\n  }\n});\nconst _sfc_main$h = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapTrafficLayer\" },\n  __name: \"YandexMapTrafficLayer\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      default: () => ({})\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    let mapLayer;\n    onMounted(async () => {\n      mapLayer = await setupMapChildren({\n        createFunction: (layers) => new layers.YMapTrafficLayer(props.settings || {}),\n        requiredImport: () => importLayersExtra(),\n        settings: computed(() => props.settings)\n      });\n      emit(\"update:modelValue\", mapLayer);\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$g = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapTrafficEventsLayer\" },\n  __name: \"YandexMapTrafficEventsLayer\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      default: () => ({})\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    let mapLayer;\n    onMounted(async () => {\n      mapLayer = await setupMapChildren({\n        createFunction: (layers) => new layers.YMapTrafficEventsLayer(props.settings || {}),\n        requiredImport: () => importLayersExtra(),\n        settings: computed(() => props.settings)\n      });\n      emit(\"update:modelValue\", mapLayer);\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$f = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapRotateControl\" },\n  __name: \"YandexMapRotateControl\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      default: () => ({})\n    },\n    index: Number\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    let mapChildren;\n    onMounted(async () => {\n      mapChildren = await setupMapChildren({\n        createFunction: ({ YMapRotateControl: RotateControl }) => new RotateControl(props.settings),\n        requiredImport: () => importYmapsCDNModule(\"@yandex/ymaps3-default-ui-theme\"),\n        settings: computed(() => props.settings),\n        strictMapRoot: true,\n        index: toRef(props, \"index\")\n      });\n      emit(\"update:modelValue\", mapChildren);\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$e = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapTiltControl\" },\n  __name: \"YandexMapTiltControl\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      default: () => ({})\n    },\n    index: Number\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    let mapChildren;\n    onMounted(async () => {\n      mapChildren = await setupMapChildren({\n        createFunction: ({ YMapTiltControl: TiltControl }) => new TiltControl(props.settings),\n        requiredImport: () => importYmapsCDNModule(\"@yandex/ymaps3-default-ui-theme\"),\n        settings: computed(() => props.settings),\n        strictMapRoot: true,\n        index: toRef(props, \"index\")\n      });\n      emit(\"update:modelValue\", mapChildren);\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$d = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapRotateTiltControl\" },\n  __name: \"YandexMapRotateTiltControl\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      default: () => ({})\n    },\n    index: Number\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    let mapChildren;\n    onMounted(async () => {\n      mapChildren = await setupMapChildren({\n        createFunction: ({ YMapRotateTiltControl: RotateTiltControl }) => new RotateTiltControl(props.settings),\n        requiredImport: () => importYmapsCDNModule(\"@yandex/ymaps3-default-ui-theme\"),\n        settings: computed(() => props.settings),\n        strictMapRoot: true,\n        index: toRef(props, \"index\")\n      });\n      emit(\"update:modelValue\", mapChildren);\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$c = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapResizer\" },\n  __name: \"YandexMapResizer\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      default: () => ({})\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    let mapChildren;\n    onMounted(async () => {\n      mapChildren = await setupMapChildren({\n        createFunction: (controls) => new controls.YMapResizer(props.settings),\n        requiredImport: () => importYmapsCDNModule(\"@yandex/ymaps3-resizer\"),\n        settings: computed(() => props.settings)\n      });\n      emit(\"update:modelValue\", mapChildren);\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$b = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapMiniMap\" },\n  __name: \"YandexMapMiniMap\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      default: () => ({})\n    },\n    index: Number\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    let mapChildren;\n    onMounted(async () => {\n      mapChildren = await setupMapChildren({\n        createFunction: (controls) => new controls.YMapMiniMap(props.settings),\n        requiredImport: () => importYmapsCDNModule(\"@yandex/ymaps3-minimap\"),\n        settings: computed(() => props.settings),\n        strictMapRoot: true,\n        index: toRef(props, \"index\")\n      });\n      emit(\"update:modelValue\", mapChildren);\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$a = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapContextMenu\" },\n  __name: \"YandexMapContextMenu\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      required: true\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    const mapChildren = shallowRef(void 0);\n    const mapRoot = provideMapRoot();\n    onMounted(async () => {\n      mapChildren.value = await setupMapChildren({\n        createFunction: (controls) => new controls.YMapContextMenu(props.settings),\n        requiredImport: () => importYmapsCDNModule(\"@yandex/ymaps3-context-menu\"),\n        settings: computed(() => props.settings),\n        mapRoot\n      });\n      emit(\"update:modelValue\", mapChildren.value);\n    });\n    return (_ctx, _cache) => {\n      return mapChildren.value ? renderSlot(_ctx.$slots, \"default\", { key: 0 }) : createCommentVNode(\"\", true);\n    };\n  }\n});\nconst _sfc_main$9 = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapContextMenuItem\" },\n  __name: \"YandexMapContextMenuItem\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      required: true\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    let mapChildren;\n    onMounted(async () => {\n      mapChildren = await setupMapChildren({\n        createFunction: (controls) => new controls.YMapContextMenuItem(props.settings),\n        requiredImport: () => importYmapsCDNModule(\"@yandex/ymaps3-context-menu\"),\n        settings: computed(() => props.settings),\n        strictMapRoot: true\n      });\n      emit(\"update:modelValue\", mapChildren);\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$8 = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapDrawerControl\" },\n  __name: \"YandexMapDrawerControl\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      required: true\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    const content = ref(null);\n    const mapChildren = shallowRef(void 0);\n    const contentFunc = () => {\n      return content.value;\n    };\n    const getSettings = computed(() => {\n      return { ...props.settings, content: contentFunc };\n    });\n    onMounted(async () => {\n      mapChildren.value = await setupMapChildren({\n        createFunction: (controls) => new controls.YMapDrawerControl(getSettings.value),\n        requiredImport: () => importYmapsCDNModule(\"@yandex/ymaps3-drawer-control\"),\n        settings: getSettings\n      });\n      emit(\"update:modelValue\", mapChildren.value);\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        ref_key: \"content\",\n        ref: content,\n        class: \"__ymap_drawer\"\n      }, [\n        renderSlot(_ctx.$slots, \"default\")\n      ], 512);\n    };\n  }\n});\nconst _sfc_main$7 = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapSignpost\" },\n  __name: \"YandexMapSignpost\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      required: true\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    const mapChildren = shallowRef(void 0);\n    onMounted(async () => {\n      mapChildren.value = await setupMapChildren({\n        createFunction: (controls) => new controls.YMapSignpost(props.settings),\n        requiredImport: () => importYmapsCDNModule(\"@yandex/ymaps3-signpost\"),\n        settings: computed(() => props.settings)\n      });\n      emit(\"update:modelValue\", mapChildren.value);\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$6 = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapSpinner\" },\n  __name: \"YandexMapSpinner\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      required: true\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    const mapChildren = shallowRef(void 0);\n    onMounted(async () => {\n      mapChildren.value = await setupMapChildren({\n        createFunction: (controls) => new controls.YMapSpinner(props.settings),\n        requiredImport: () => importYmapsCDNModule(\"@yandex/ymaps3-spinner\"),\n        settings: computed(() => props.settings)\n      });\n      emit(\"update:modelValue\", mapChildren.value);\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$5 = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapSearchControl\" },\n  __name: \"YandexMapSearchControl\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      required: true\n    },\n    index: Number\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    let mapChildren;\n    onMounted(async () => {\n      mapChildren = await setupMapChildren({\n        createFunction: ({ YMapSearchControl: TiltControl }) => new TiltControl(props.settings),\n        requiredImport: () => importYmapsCDNModule(\"@yandex/ymaps3-default-ui-theme\"),\n        settings: computed(() => props.settings),\n        strictMapRoot: true,\n        index: toRef(props, \"index\")\n      });\n      emit(\"update:modelValue\", mapChildren);\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$4 = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapRouteControl\" },\n  __name: \"YandexMapRouteControl\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      default: () => ({})\n    },\n    index: Number\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    let mapChildren;\n    onMounted(async () => {\n      mapChildren = await setupMapChildren({\n        createFunction: ({ YMapRouteControl: TiltControl }) => new TiltControl(props.settings),\n        requiredImport: () => importYmapsCDNModule(\"@yandex/ymaps3-default-ui-theme\"),\n        settings: computed(() => props.settings),\n        strictMapRoot: true,\n        index: toRef(props, \"index\")\n      });\n      emit(\"update:modelValue\", mapChildren);\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main$3 = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapPopupMarker\" },\n  __name: \"YandexMapPopupMarker\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      required: true\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    let mapChildren;\n    const element = ref(null);\n    const contentFunc = () => {\n      return element.value;\n    };\n    const getSettings = computed(() => {\n      return {\n        ...props.settings,\n        content: contentFunc\n      };\n    });\n    onMounted(async () => {\n      if (!props.settings.coordinates) {\n        throwException({\n          text: \"You must specify coordinates in YandexMapPopupMarker settings\"\n        });\n      }\n      mapChildren = await setupMapChildren({\n        createFunction: ({ YMapPopupMarker: Marker }) => new Marker(getSettings.value),\n        requiredImport: () => importYmapsCDNModule(\"@yandex/ymaps3-default-ui-theme\"),\n        settings: getSettings\n      });\n      emit(\"update:modelValue\", mapChildren);\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        ref_key: \"element\",\n        ref: element,\n        class: \"__ymap_popup-marker\"\n      }, [\n        renderSlot(_ctx.$slots, \"default\")\n      ], 512);\n    };\n  }\n});\nconst _sfc_main$2 = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapOverlay\" },\n  __name: \"YandexMapOverlay\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      required: true\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    const mapChildren = shallowRef(void 0);\n    const element = ref(document.createElement(\"div\"));\n    watch(element, (_, oldVal) => {\n      oldVal?.remove();\n    });\n    const getSettings = computed(() => {\n      return {\n        ...props.settings,\n        htmlElement: element.value\n      };\n    });\n    onMounted(async () => {\n      mapChildren.value = await setupMapChildren({\n        createFunction: (theme) => new theme.YMapOverlay(getSettings.value),\n        requiredImport: () => importYmapsCDNModule(\"@yandex/ymaps3-default-ui-theme\"),\n        settings: getSettings\n      });\n      emit(\"update:modelValue\", mapChildren.value);\n    });\n    return (_ctx, _cache) => {\n      return openBlock(), createElementBlock(\"div\", {\n        ref_key: \"element\",\n        ref: element,\n        class: \"__ymap_overlay\"\n      }, [\n        renderSlot(_ctx.$slots, \"default\")\n      ], 512);\n    };\n  }\n});\nconst _sfc_main$1 = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapImageOverlay\" },\n  __name: \"YandexMapImageOverlay\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      required: true\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    const mapChildren = shallowRef(void 0);\n    onMounted(async () => {\n      mapChildren.value = await setupMapChildren({\n        createFunction: (theme) => new theme.YMapImageOverlay(props.settings),\n        requiredImport: () => importYmapsCDNModule(\"@yandex/ymaps3-default-ui-theme\"),\n        settings: computed(() => props.settings)\n      });\n      emit(\"update:modelValue\", mapChildren.value);\n    });\n    return () => {\n    };\n  }\n});\nconst _sfc_main = /* @__PURE__ */ defineComponent({\n  ...{ name: \"YandexMapVideoOverlay\" },\n  __name: \"YandexMapVideoOverlay\",\n  props: {\n    modelValue: {\n      type: Object,\n      default: null\n    },\n    settings: {\n      type: Object,\n      required: true\n    }\n  },\n  emits: [\"update:modelValue\"],\n  setup(__props, { emit: __emit }) {\n    const props = __props;\n    const emit = __emit;\n    const mapChildren = shallowRef(void 0);\n    onMounted(async () => {\n      mapChildren.value = await setupMapChildren({\n        createFunction: (theme) => new theme.YMapVideoOverlay(props.settings),\n        requiredImport: () => importYmapsCDNModule(\"@yandex/ymaps3-default-ui-theme\"),\n        settings: computed(() => props.settings)\n      });\n      emit(\"update:modelValue\", mapChildren.value);\n    });\n    return () => {\n    };\n  }\n});\nexport {\n  Cartesian,\n  WebMercator,\n  _sfc_main$H as YandexMap,\n  _sfc_main$r as YandexMapCartesianProjection,\n  _sfc_main$l as YandexMapClusterer,\n  _sfc_main$k as YandexMapCollection,\n  _sfc_main$a as YandexMapContextMenu,\n  _sfc_main$9 as YandexMapContextMenuItem,\n  _sfc_main$w as YandexMapControl,\n  _sfc_main$v as YandexMapControlButton,\n  _sfc_main$x as YandexMapControls,\n  _sfc_main$F as YandexMapDefaultFeaturesLayer,\n  _sfc_main$z as YandexMapDefaultMarker,\n  _sfc_main$E as YandexMapDefaultSchemeLayer,\n  _sfc_main$8 as YandexMapDrawerControl,\n  _sfc_main$j as YandexMapEntity,\n  YandexMapException,\n  _sfc_main$y as YandexMapFeature,\n  _sfc_main$C as YandexMapFeatureDataSource,\n  _sfc_main$u as YandexMapGeolocationControl,\n  _sfc_main$p as YandexMapHint,\n  _sfc_main$1 as YandexMapImageOverlay,\n  _sfc_main$B as YandexMapLayer,\n  _sfc_main$G as YandexMapListener,\n  _sfc_main$A as YandexMapMarker,\n  _sfc_main$b as YandexMapMiniMap,\n  _sfc_main$o as YandexMapOpenMapsButton,\n  _sfc_main$2 as YandexMapOverlay,\n  _sfc_main$3 as YandexMapPopupMarker,\n  _sfc_main$c as YandexMapResizer,\n  _sfc_main$f as YandexMapRotateControl,\n  _sfc_main$d as YandexMapRotateTiltControl,\n  _sfc_main$4 as YandexMapRouteControl,\n  _sfc_main$i as YandexMapRuler,\n  _sfc_main$s as YandexMapScaleControl,\n  _sfc_main$5 as YandexMapSearchControl,\n  _sfc_main$7 as YandexMapSignpost,\n  _sfc_main$6 as YandexMapSpinner,\n  _sfc_main$D as YandexMapTileDataSource,\n  _sfc_main$e as YandexMapTiltControl,\n  _sfc_main$g as YandexMapTrafficEventsLayer,\n  _sfc_main$h as YandexMapTrafficLayer,\n  _sfc_main as YandexMapVideoOverlay,\n  _sfc_main$q as YandexMapWebMercatorProjection,\n  _sfc_main$t as YandexMapZoomControl,\n  createYmaps,\n  createYmapsOptions,\n  deleteMapChildren,\n  getBoundsFromCoords,\n  getCenterFromCoords,\n  getLocationFromBounds,\n  importLayersExtra,\n  importYmapsCDNModule,\n  initYmaps,\n  injectMap,\n  m as isYandexMapReadyToInit,\n  pixelsToWorld,\n  provideMapRoot,\n  setupMapChildren,\n  worldToPixels,\n  yandexMapIsLoaded,\n  yandexMapLoadError,\n  yandexMapLoadStatus,\n  yandexMapScript,\n  yandexMapSettings\n};\n"]}