var c=(s,p,r)=>new Promise((a,n)=>{var i=t=>{try{e(r.next(t))}catch(l){n(l)}},o=t=>{try{e(r.throw(t))}catch(l){n(l)}},e=t=>t.done?a(t.value):Promise.resolve(t.value).then(i,o);e((r=r.apply(s,p)).next())});import{u as _,__tla as g}from"./useScript-ab5d4580.js";import{d as h,r as m,n as w,p as d,u as f,_ as y,o as S,l as v,q as z,__tla as M}from"./index-b5895273.js";let u,j=Promise.all([(()=>{try{return g}catch(s){}})(),(()=>{try{return M}catch(s){}})()]).then(()=>c(void 0,null,function*(){const s="https://maps.googleapis.com/maps/api/js?key=AIzaSyBQWrGwj4gAzKndcbwD5favT9K0wgty_0&signed_in=true",p=h({name:"GoogleMap",props:{width:{type:String,default:"100%"},height:{type:String,default:"calc(100vh - 78px)"}},setup(){const a=m(null),{toPromise:n}=_({src:s});function i(){return c(this,null,function*(){yield n(),yield d();const o=f(a);if(!o)return;const e=window.google,t={lat:116.404,lng:39.915},l=new e.maps.Map(o,{zoom:4,center:t});new e.maps.Marker({position:t,map:l,title:"Hello World!"})})}return w(()=>{i()}),{wrapRef:a}}});function r(a,n,i,o,e,t){return S(),v("div",{ref:"wrapRef",style:z({height:a.height,width:a.width})},null,4)}u=y(p,[["render",r]])}));export{j as __tla,u as default};