const t=window.webmapgl.h;function n(t){return document.querySelector(t?`gl-map#${t}`:"gl-map")}function r(n){if(n.image)return t("ion-thumbnail",{slot:"start"},t("img",{src:n.image}))}function e(t,n=","){return t?Array.isArray(t)?t:t.split(n):[]}const a=function(){let t;return function(n){return t||(t=document.createElement("a")),t.href=n,t.href}}();export{n as a,e as b,a as c,r as d};