1import{_ as v}from"./BXP6m2mJ.js";import{b as C,f as W,q as N,N as I,a4 as V,r as t,s as o,v as a,x as i,aN as B,A as e,y as l,a7 as E,F as u,V as p,D as G,G as s}from"./ByjodPhJ.js";import{_ as q}from"./CGv8tlhQ.js";import{b as F}from"./B9HbF4tI.js";const M={"g-scroll-trigger-item":""},O={class:"media-2xl"},P={class:"media-2xl"},S={class:"map__container"},U=["src"],j=["src"],z=C({__name:"index",props:{id:{},type:{default:""},data:{default:null},blockIndex:{default:0}},emits:["widget:loaded","widget:not-exist","widget:empty"],setup(g,{emit:f}){const h=W(),y=G(),d=F(g),{type:D,data:n,blockIndex:H,blockUniqueId:L}=d,x=f,_=s(()=>n.value?.field_main_title),c=s(()=>n.value?.field_sub_title),r=s(()=>n.value?.field_baidu_map_url),m=s(()=>n.value?.field_google_map_url);return N(async()=>{await I(),x("widget:loaded",d)}),V(()=>{}),(T,J)=>{const b=v,w=E,k=q;return t(),o("div",{class:"widget--location_map",ref_key:"sectionEl",ref:y},[a("div",M,[i(k,null,B({content:l(()=>[a("div",P,[a("div",S,[i(w,null,{default:l(()=>[e(h).getCountryIp().isChina()?(t(),o(u,{key:0},[e(r)?(t(),o("iframe",{key:0,src:e(r),width:"600",height:"600"},null,8,U)):p("",!0)],64)):(t(),o(u,{key:1},[e(m)?(t(),o("iframe",{key:0,src:e(m),width:"600",height:"450",style:{border:"0"},allowfullscreen:"",loading:"lazy",referrerpolicy:"no-referrer-when-downgrade"},null,8,j)):p("",!0)],64))]),_:1})])])]),_:2},[e(_)||e(c)?{name:"header",fn:l(()=>[a("div",O,[i(b,{heading1:e(_),heading2:e(c)},null,8,["heading1","heading2"])])]),key:"0"}:void 0]),1024)])],512)}}}),Y=Object.assign(z,{__name:"WidgetsWidgetLocationMapWidget"});export{Y as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.