import{r as se,d as q,t as X,p as L,a as v,i as O,c as R,w as P,m as I,o as B,b as Y,e as T,f as A,g as N,h as U,n as le,j as ce,C as Q,k as ee,l as te}from"./vendor-d15da3cb.js";var D={expireTimes:"1d",path:"; path=/",domain:"",secure:!1,sameSite:"; SameSite=Lax"},ue=function(){function r(){this.current_default_config=D}return r.prototype.config=function(e){for(var t in this.current_default_config)this.current_default_config[t]=e[t]?e[t]:D[t]},r.prototype.get=function(e){var t=decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null;if(t&&t.substring(0,1)==="{"&&t.substring(t.length-1,t.length)==="}")try{t=JSON.parse(t)}catch{return t}return t},r.prototype.set=function(e,t,i,o,a,n,d){if(e){if(/^(?:expires|max-age|path|domain|secure|SameSite)$/i.test(e))throw new Error('Cookie name illegality. Cannot be set to ["expires","max-age","path","domain","secure","SameSite"]	 current key name: '+e)}else throw new Error("Cookie name is not found in the first argument.");t&&t.constructor===Object&&(t=JSON.stringify(t));var l="";if(i==null&&(i=this.current_default_config.expireTimes?this.current_default_config.expireTimes:""),i&&i!=0)switch(i.constructor){case Number:i===1/0||i===-1?l="; expires=Fri, 31 Dec 9999 23:59:59 GMT":l="; max-age="+i;break;case String:if(/^(?:\d+(y|m|d|h|min|s))$/i.test(i)){var p=i.replace(/^(\d+)(?:y|m|d|h|min|s)$/i,"$1");switch(i.replace(/^(?:\d+)(y|m|d|h|min|s)$/i,"$1").toLowerCase()){case"m":l="; max-age="+ +p*2592e3;break;case"d":l="; max-age="+ +p*86400;break;case"h":l="; max-age="+ +p*3600;break;case"min":l="; max-age="+ +p*60;break;case"s":l="; max-age="+p;break;case"y":l="; max-age="+ +p*31104e3;break}}else l="; expires="+i;break;case Date:l="; expires="+i.toUTCString();break}return document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+l+(a?"; domain="+a:this.current_default_config.domain?this.current_default_config.domain:"")+(o?"; path="+o:this.current_default_config.path?this.current_default_config.path:"; path=/")+(n==null?this.current_default_config.secure?"; Secure":"":n?"; Secure":"")+(d==null?this.current_default_config.sameSite?"; SameSute="+this.current_default_config.sameSite:"":d?"; SameSite="+d:""),this},r.prototype.remove=function(e,t,i){return!e||!this.isKey(e)?!1:(document.cookie=encodeURIComponent(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(i?"; domain="+i:this.current_default_config.domain?this.current_default_config.domain:"")+(t?"; path="+t:this.current_default_config.path?this.current_default_config.path:"; path=/")+"; SameSite=Lax",!0)},r.prototype.isKey=function(e){return new RegExp("(?:^|;\\s*)"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(document.cookie)},r.prototype.keys=function(){if(!document.cookie)return[];for(var e=document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/),t=0;t<e.length;t++)e[t]=decodeURIComponent(e[t]);return e},r}(),$=null;function xe(){$==null&&($=new ue);var r=se($);return{cookies:r}}(function(){try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode(".mapdiv[data-v-dbf82c40]{width:100%;height:100%}.custom-control-wrapper[data-v-d099a3a6]{display:none}.mapdiv .custom-control-wrapper[data-v-d099a3a6]{display:inline-block}.info-window-wrapper[data-v-cbe1707b]{display:none}.mapdiv .info-window-wrapper[data-v-cbe1707b]{display:inline-block}.custom-marker-wrapper[data-v-2d2d343a]{display:none}.mapdiv .custom-marker-wrapper[data-v-2d2d343a]{display:inline-block}")),document.head.appendChild(r)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();var de=Object.defineProperty,pe=(r,e,t)=>e in r?de(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,K=(r,e,t)=>(pe(r,typeof e!="symbol"?e+"":e,t),t);const z=Symbol("map"),G=Symbol("api"),re=Symbol("marker"),he=Symbol("markerCluster"),x=Symbol("CustomMarker"),fe=Symbol("mapTilesLoaded"),oe=["click","dblclick","drag","dragend","dragstart","mousedown","mousemove","mouseout","mouseover","mouseup","rightclick"];/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */function ge(r,e,t,i){function o(a){return a instanceof t?a:new t(function(n){n(a)})}return new(t||(t=Promise))(function(a,n){function d(h){try{p(i.next(h))}catch(u){n(u)}}function l(h){try{p(i.throw(h))}catch(u){n(u)}}function p(h){h.done?a(h.value):o(h.value).then(d,l)}p((i=i.apply(r,e||[])).next())})}var me=function r(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var i,o,a;if(Array.isArray(e)){if(i=e.length,i!=t.length)return!1;for(o=i;o--!==0;)if(!r(e[o],t[o]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(a=Object.keys(e),i=a.length,i!==Object.keys(t).length)return!1;for(o=i;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[o]))return!1;for(o=i;o--!==0;){var n=a[o];if(!r(e[n],t[n]))return!1}return!0}return e!==e&&t!==t};const F="__googleMapsScriptId";var _;(function(r){r[r.INITIALIZED=0]="INITIALIZED",r[r.LOADING=1]="LOADING",r[r.SUCCESS=2]="SUCCESS",r[r.FAILURE=3]="FAILURE"})(_||(_={}));class C{constructor({apiKey:e,authReferrerPolicy:t,channel:i,client:o,id:a=F,language:n,libraries:d=[],mapIds:l,nonce:p,region:h,retries:u=3,url:g="https://maps.googleapis.com/maps/api/js",version:f}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=e,this.authReferrerPolicy=t,this.channel=i,this.client=o,this.id=a||F,this.language=n,this.libraries=d,this.mapIds=l,this.nonce=p,this.region=h,this.retries=u,this.url=g,this.version=f,C.instance){if(!me(this.options,C.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(C.instance.options)}`);return C.instance}C.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?_.FAILURE:this.done?_.SUCCESS:this.loading?_.LOADING:_.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let e=this.url;return e+="?callback=__googleMapsCallback",this.apiKey&&(e+=`&key=${this.apiKey}`),this.channel&&(e+=`&channel=${this.channel}`),this.client&&(e+=`&client=${this.client}`),this.libraries.length>0&&(e+=`&libraries=${this.libraries.join(",")}`),this.language&&(e+=`&language=${this.language}`),this.region&&(e+=`&region=${this.region}`),this.version&&(e+=`&v=${this.version}`),this.mapIds&&(e+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(e+=`&auth_referrer_policy=${this.authReferrerPolicy}`),e}deleteScript(){const e=document.getElementById(this.id);e&&e.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((e,t)=>{this.loadCallback(i=>{i?t(i.error):e(window.google)})})}importLibrary(e){return this.execute(),google.maps.importLibrary(e)}loadCallback(e){this.callbacks.push(e),this.execute()}setScript(){var e,t;if(document.getElementById(this.id)){this.callback();return}const i={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};Object.keys(i).forEach(a=>!i[a]&&delete i[a]),!((t=(e=window==null?void 0:window.google)===null||e===void 0?void 0:e.maps)===null||t===void 0)&&t.importLibrary||(a=>{let n,d,l,p="The Google Maps JavaScript API",h="google",u="importLibrary",g="__ib__",f=document,s=window;s=s[h]||(s[h]={});const c=s.maps||(s.maps={}),m=new Set,y=new URLSearchParams,k=()=>n||(n=new Promise((b,w)=>ge(this,void 0,void 0,function*(){var S;yield d=f.createElement("script"),d.id=this.id,y.set("libraries",[...m]+"");for(l in a)y.set(l.replace(/[A-Z]/g,E=>"_"+E[0].toLowerCase()),a[l]);y.set("callback",h+".maps."+g),d.src=this.url+"?"+y,c[g]=b,d.onerror=()=>n=w(Error(p+" could not load.")),d.nonce=this.nonce||((S=f.querySelector("script[nonce]"))===null||S===void 0?void 0:S.nonce)||"",f.head.append(d)})));c[u]?console.warn(p+" only loads once. Ignoring:",a):c[u]=(b,...w)=>m.add(b)&&k().then(()=>c[u](b,...w))})(i);const o=this.libraries.map(a=>this.importLibrary(a));o.length||o.push(this.importLibrary("core")),Promise.all(o).then(()=>this.callback(),a=>{const n=new ErrorEvent("error",{error:a});this.loadErrorCallback(n)})}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(e){if(this.errors.push(e),this.errors.length<=this.retries){const t=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${t} ms.`),setTimeout(()=>{this.deleteScript(),this.setScript()},t)}else this.onerrorEvent=e,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(e=>{e(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version){console.warn("Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options and script parameters may not match."),this.callback();return}this.loading||(this.loading=!0,this.setScript())}}}function ve(r){return class extends r.OverlayView{constructor(e){super(),K(this,"element"),K(this,"opts");const{element:t,...i}=e;this.element=t,this.opts=i,this.opts.map&&this.setMap(this.opts.map)}getPosition(){return this.opts.position?this.opts.position instanceof r.LatLng?this.opts.position:new r.LatLng(this.opts.position):null}getVisible(){if(!this.element)return!1;const e=this.element;return e.style.display!=="none"&&e.style.visibility!=="hidden"&&(e.style.opacity===""||Number(e.style.opacity)>.01)}onAdd(){if(!this.element)return;const e=this.getPanes();e&&e.overlayMouseTarget.appendChild(this.element)}draw(){if(!this.element)return;const e=this.getProjection(),t=e==null?void 0:e.fromLatLngToDivPixel(this.getPosition());if(t){this.element.style.position="absolute";const i=this.element.offsetHeight,o=this.element.offsetWidth;let a,n;switch(this.opts.anchorPoint){case"TOP_CENTER":a=t.x-o/2,n=t.y;break;case"BOTTOM_CENTER":a=t.x-o/2,n=t.y-i;break;case"LEFT_CENTER":a=t.x,n=t.y-i/2;break;case"RIGHT_CENTER":a=t.x-o,n=t.y-i/2;break;case"TOP_LEFT":a=t.x,n=t.y;break;case"TOP_RIGHT":a=t.x-o,n=t.y;break;case"BOTTOM_LEFT":a=t.x,n=t.y-i;break;case"BOTTOM_RIGHT":a=t.x-o,n=t.y-i;break;default:a=t.x-o/2,n=t.y-i/2}this.element.style.left=a+"px",this.element.style.top=n+"px",this.element.style.transform=`translateX(${this.opts.offsetX||0}px) translateY(${this.opts.offsetY||0}px)`,this.opts.zIndex&&(this.element.style.zIndex=this.opts.zIndex.toString())}}onRemove(){this.element&&this.element.remove()}setOptions(e){const{element:t,...i}=e;this.element=t,this.opts=i,this.draw()}}}let Z;const J=["bounds_changed","center_changed","click","contextmenu","dblclick","drag","dragend","dragstart","heading_changed","idle","isfractionalzoomenabled_changed","mapcapabilities_changed","maptypeid_changed","mousemove","mouseout","mouseover","projection_changed","renderingtype_changed","rightclick","tilesloaded","tilt_changed","zoom_changed"],ye=q({props:{apiPromise:{type:Promise},apiKey:{type:String,default:""},version:{type:String,default:"weekly"},libraries:{type:Array,default:()=>["places"]},region:{type:String,required:!1},language:{type:String,required:!1},backgroundColor:{type:String,required:!1},center:{type:Object,default:()=>({lat:0,lng:0})},clickableIcons:{type:Boolean,required:!1,default:void 0},controlSize:{type:Number,required:!1},disableDefaultUi:{type:Boolean,required:!1,default:void 0},disableDoubleClickZoom:{type:Boolean,required:!1,default:void 0},draggable:{type:Boolean,required:!1,default:void 0},draggableCursor:{type:String,required:!1},draggingCursor:{type:String,required:!1},fullscreenControl:{type:Boolean,required:!1,default:void 0},fullscreenControlPosition:{type:String,required:!1},gestureHandling:{type:String,required:!1},heading:{type:Number,required:!1},isFractionalZoomEnabled:{type:Boolean,required:!1,default:void 0},keyboardShortcuts:{type:Boolean,required:!1,default:void 0},mapTypeControl:{type:Boolean,required:!1,default:void 0},mapTypeControlOptions:{type:Object,required:!1},mapTypeId:{type:[Number,String],required:!1},mapId:{type:String,required:!1},maxZoom:{type:Number,required:!1},minZoom:{type:Number,required:!1},noClear:{type:Boolean,required:!1,default:void 0},panControl:{type:Boolean,required:!1,default:void 0},panControlPosition:{type:String,required:!1},restriction:{type:Object,required:!1},rotateControl:{type:Boolean,required:!1,default:void 0},rotateControlPosition:{type:String,required:!1},scaleControl:{type:Boolean,required:!1,default:void 0},scaleControlStyle:{type:Number,required:!1},scrollwheel:{type:Boolean,required:!1,default:void 0},streetView:{type:Object,required:!1},streetViewControl:{type:Boolean,required:!1,default:void 0},streetViewControlPosition:{type:String,required:!1},styles:{type:Array,required:!1},tilt:{type:Number,required:!1},zoom:{type:Number,required:!1},zoomControl:{type:Boolean,required:!1,default:void 0},zoomControlPosition:{type:String,required:!1},nonce:{type:String,default:""}},emits:J,setup(r,{emit:e}){const t=v(),i=v(!1),o=v(),a=v(),n=v(!1);L(z,o),L(G,a),L(fe,n);const d=()=>{const u={...r};Object.keys(u).forEach(s=>{u[s]===void 0&&delete u[s]});const g=s=>{var c;return s?{position:(c=a.value)==null?void 0:c.ControlPosition[s]}:{}},f={scaleControlOptions:r.scaleControlStyle?{style:r.scaleControlStyle}:{},panControlOptions:g(r.panControlPosition),zoomControlOptions:g(r.zoomControlPosition),rotateControlOptions:g(r.rotateControlPosition),streetViewControlOptions:g(r.streetViewControlPosition),fullscreenControlOptions:g(r.fullscreenControlPosition),disableDefaultUI:r.disableDefaultUi};return{...u,...f}},l=P([a,o],([u,g])=>{const f=u,s=g;f&&s&&(f.event.addListenerOnce(s,"tilesloaded",()=>{n.value=!0}),setTimeout(l,0))},{immediate:!0}),p=()=>{try{const{apiKey:u,region:g,version:f,language:s,libraries:c,nonce:m}=r;Z=new C({apiKey:u,region:g,version:f,language:s,libraries:c,nonce:m})}catch(u){console.error(u)}},h=u=>{a.value=I(u.maps),o.value=I(new u.maps.Map(t.value,d()));const g=ve(a.value);a.value[x]=g,J.forEach(s=>{var c;(c=o.value)==null||c.addListener(s,m=>e(s,m))}),i.value=!0;const f=Object.keys(r).filter(s=>!["apiPromise","apiKey","version","libraries","region","language","center","zoom","nonce"].includes(s)).map(s=>X(r,s));P([()=>r.center,()=>r.zoom,...f],([s,c],[m,y])=>{var k,b,w;const{center:S,zoom:E,...j}=d();(k=o.value)==null||k.setOptions(j),c!==void 0&&c!==y&&((b=o.value)==null||b.setZoom(c));const ne=!m||s.lng!==m.lng||s.lat!==m.lat;s&&ne&&((w=o.value)==null||w.panTo(s))})};return Y(()=>{r.apiPromise&&r.apiPromise instanceof Promise?r.apiPromise.then(h):(p(),Z.load().then(h))}),B(()=>{var u;n.value=!1,o.value&&((u=a.value)==null||u.event.clearInstanceListeners(o.value))}),{mapRef:t,ready:i,map:o,api:a,mapTilesLoaded:n}}}),V=(r,e)=>{const t=r.__vccOpts||r;for(const[i,o]of e)t[i]=o;return t},be={ref:"mapRef",class:"mapdiv"};function ke(r,e,t,i,o,a){return T(),A("div",null,[N("div",be,null,512),U(r.$slots,"default",le(ce({ready:r.ready,map:r.map,api:r.api,mapTilesLoaded:r.mapTilesLoaded})),void 0,!0)])}const je=V(ye,[["render",ke],["__scopeId","data-v-dbf82c40"]]);function we(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Se=function r(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var i,o,a;if(Array.isArray(e)){if(i=e.length,i!=t.length)return!1;for(o=i;o--!==0;)if(!r(e[o],t[o]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(a=Object.keys(e),i=a.length,i!==Object.keys(t).length)return!1;for(o=i;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[o]))return!1;for(o=i;o--!==0;){var n=a[o];if(!r(e[n],t[n]))return!1}return!0}return e!==e&&t!==t};const ie=we(Se),Ce=r=>r==="Marker",_e=r=>r===x,ae=(r,e,t,i)=>{const o=v(),a=O(z,v()),n=O(G,v()),d=O(he,v()),l=R(()=>!!(d.value&&n.value&&(o.value instanceof n.value.Marker||o.value instanceof n.value[x])));return P([a,t],(p,[h,u])=>{var g,f,s;const c=!ie(t.value,u)||a.value!==h;!a.value||!n.value||!c||(o.value?(o.value.setOptions(t.value),l.value&&((g=d.value)==null||g.removeMarker(o.value),(f=d.value)==null||f.addMarker(o.value))):(Ce(r)?o.value=I(new n.value[r](t.value)):_e(r)?o.value=I(new n.value[r](t.value)):o.value=I(new n.value[r]({...t.value,map:a.value})),l.value?(s=d.value)==null||s.addMarker(o.value):o.value.setMap(a.value),e.forEach(m=>{var y;(y=o.value)==null||y.addListener(m,k=>i(m,k))})))},{immediate:!0}),B(()=>{var p,h;o.value&&((p=n.value)==null||p.event.clearInstanceListeners(o.value),l.value?(h=d.value)==null||h.removeMarker(o.value):o.value.setMap(null))}),o},W=["animation_changed","click","dblclick","rightclick","dragstart","dragend","drag","mouseover","mousedown","mouseout","mouseup","draggable_changed","clickable_changed","contextmenu","cursor_changed","flat_changed","rightclick","zindex_changed","icon_changed","position_changed","shape_changed","title_changed","visible_changed"],$e=q({name:"Marker",props:{options:{type:Object,required:!0}},emits:W,setup(r,{emit:e,expose:t,slots:i}){const o=X(r,"options"),a=ae("Marker",W,o,e);return L(re,a),t({marker:a}),()=>{var n;return(n=i.default)==null?void 0:n.call(i)}}});oe.concat(["bounds_changed"]);oe.concat(["center_changed","radius_changed"]);const H=["closeclick","content_changed","domready","position_changed","visible","zindex_changed"],Oe=q({inheritAttrs:!1,props:{options:{type:Object,default:()=>({})},modelValue:{type:Boolean}},emits:[...H,"update:modelValue"],setup(r,{slots:e,emit:t,expose:i}){const o=v(),a=v(),n=O(z,v()),d=O(G,v()),l=O(re,v());let p,h=r.modelValue;const u=R(()=>{var c;return(c=e.default)==null?void 0:c.call(e).some(m=>m.type!==Q)}),g=c=>{h=c,t("update:modelValue",c)},f=c=>{o.value&&(o.value.open({map:n.value,anchor:l.value,...c}),g(!0))},s=()=>{o.value&&(o.value.close(),g(!1))};return Y(()=>{P([n,()=>r.options],([c,m],[y,k])=>{var b;const w=!ie(m,k)||n.value!==y;n.value&&d.value&&w&&(o.value?(o.value.setOptions({...m,content:u.value?a.value:m.content}),l.value||f()):(o.value=I(new d.value.InfoWindow({...m,content:u.value?a.value:m.content})),l.value&&(p=l.value.addListener("click",()=>{f()})),(!l.value||h)&&f(),H.forEach(S=>{var E;(E=o.value)==null||E.addListener(S,j=>t(S,j))}),(b=o.value)==null||b.addListener("closeclick",()=>g(!1))))},{immediate:!0}),P(()=>r.modelValue,c=>{c!==h&&(c?f():s())})}),B(()=>{var c;p&&p.remove(),o.value&&((c=d.value)==null||c.event.clearInstanceListeners(o.value),s())}),i({infoWindow:o,open:f,close:s}),{infoWindow:o,infoWindowRef:a,hasSlotContent:u,open:f,close:s}}}),Ie={key:0,class:"info-window-wrapper"};function Ee(r,e,t,i,o,a){return r.hasSlotContent?(T(),A("div",Ie,[N("div",ee({ref:"infoWindowRef"},r.$attrs),[U(r.$slots,"default",{},void 0,!0)],16)])):te("",!0)}const Me=V(Oe,[["render",Ee],["__scopeId","data-v-cbe1707b"]]);var M;(function(r){r.CLUSTERING_BEGIN="clusteringbegin",r.CLUSTERING_END="clusteringend",r.CLUSTER_CLICK="click"})(M||(M={}));Object.values(M);const Pe=q({inheritAttrs:!1,props:{options:{type:Object,required:!0}},setup(r,{slots:e,emit:t,expose:i}){const o=v(),a=R(()=>{var l;return(l=e.default)==null?void 0:l.call(e).some(p=>p.type!==Q)}),n=R(()=>({...r.options,element:o.value})),d=ae(x,[],n,t);return i({customMarker:d}),{customMarkerRef:o,customMarker:d,hasSlotContent:a}}}),Le={key:0,class:"custom-marker-wrapper"};function Re(r,e,t,i,o,a){return r.hasSlotContent?(T(),A("div",Le,[N("div",ee({ref:"customMarkerRef",style:{cursor:r.$attrs.onClick?"pointer":void 0}},r.$attrs),[U(r.$slots,"default",{},void 0,!0)],16)])):te("",!0)}const Be=V(Pe,[["render",Re],["__scopeId","data-v-2d2d343a"]]);export{Be as $,Me as A,je as E,$e as P,xe as u};
