import {
createBaseVNode,
createElementBlock,
normalizeClass,
openBlock
} from "./chunk-6UGCK2MK.js";
// node_modules/@abi-software/svg-sprite/dist/svg-sprite.js
var x = (n, t) => {
const e = n.__vccOpts || n;
for (const [i, s] of t)
e[i] = s;
return e;
};
var nn = ["xlink:href"];
var en = {
__name: "SvgIcon",
props: {
/**
* The svg icon to show.
*/
icon: {
type: String,
required: true
},
/**
* The option to spin the icon.
*/
spin: {
type: Boolean,
default: false
}
},
setup(n) {
return (t, e) => (openBlock(), createElementBlock("svg", {
class: normalizeClass(["map-icon", { "map-icon-spin": n.spin }])
}, [
createBaseVNode("use", {
"xlink:href": `#${n.icon}`
}, null, 8, nn)
], 2));
}
};
var wn = x(en, [["__scopeId", "data-v-e172d5ff"]]);
var v = `
`;
var w = `
`;
var F = `
`;
var h = `
`;
var y = `
`;
var k = `
`;
var f = `
`;
var m = `
`;
var u = `
`;
var _ = `
`;
var C = `
`;
var L = `
`;
var b = `
`;
var G = `
`;
var B = `
`;
var T = `
`;
var q = `
`;
var O = `
`;
var S = `
`;
var A = `
`;
var z = '';
var U = `
`;
var M = ``;
var $ = `
`;
var H = `
`;
var V = `
`;
var R = `
`;
var P = `
`;
var Z = `
`;
var I = `
`;
var j = `
`;
var E = `
`;
var N = `
`;
var W = (n, t, e, i) => {
const s = ["title", "desc", "defs", "style"], r = ["width", "height"], J = i || [];
let o = document.createElement("div");
o.innerHTML = n, s.map((l) => {
const c = o.querySelector(l);
c && c.remove();
}), r.map((l) => {
o.querySelector("svg").removeAttribute(l);
}), i && J.map((l) => {
Object.values(o.querySelectorAll(`[${l}]`)).map((Q) => {
Q.removeAttribute(l);
});
});
const K = o.innerHTML;
return o = null, K;
};
var D = (n) => [
// Remove XML stuffs and comments
[/<\?xml[\s\S]*?>/gi, ""],
[//gi, ""],
[//gi, ""],
// SVG XML -> HTML5
[/\<([A-Za-z]+)([^\>]*)\/\>/g, "<$1$2>$1>"],
// convert self-closing XML SVG nodes to explicitly closed HTML5 SVG nodes
[/\s+/g, " "],
// replace whitespace sequences with a single space
[/\> \<"]
// remove whitespace between tags
].reduce((i, s) => "".replace.apply(i, s), n).trim();
var tn = true;
var sn = true;
var on = ["fill"];
var a = Object.assign({
"/assets/icons/2horpanel.svg": v,
"/assets/icons/2vertpanel.svg": w,
"/assets/icons/3panel.svg": F,
"/assets/icons/4panel.svg": h,
"/assets/icons/5panel.svg": y,
"/assets/icons/6panel.svg": k,
"/assets/icons/6panelVertical.svg": f,
"/assets/icons/changeBckgd.svg": m,
"/assets/icons/close-no-bk.svg": u,
"/assets/icons/close.svg": _,
"/assets/icons/closeFullScreen.svg": C,
"/assets/icons/comment.svg": L,
"/assets/icons/connection.svg": b,
"/assets/icons/dock.svg": G,
"/assets/icons/drawLine.svg": B,
"/assets/icons/drawPoint.svg": T,
"/assets/icons/drawPolygon.svg": q,
"/assets/icons/drawTrash.svg": O,
"/assets/icons/fitWindow.svg": S,
"/assets/icons/fullScreen.svg": A,
"/assets/icons/help.svg": z,
"/assets/icons/magnifyingGlass.svg": U,
"/assets/icons/noun-filter.svg": M,
"/assets/icons/openMap.svg": $,
"/assets/icons/pause.svg": H,
"/assets/icons/permalink.svg": V,
"/assets/icons/play.svg": R,
"/assets/icons/resetZoom.svg": P,
"/assets/icons/singlepanel.svg": Z,
"/assets/icons/tooltips.svg": I,
"/assets/icons/undock.svg": j,
"/assets/icons/zoomIn.svg": E,
"/assets/icons/zoomOut.svg": N
});
var ln = Object.keys(a).map((n) => {
const t = W(a[n], tn, sn, on), e = n.replace(/^.+\/(\w+).svg$/, "$1");
return D(t).replace("