import { openBlock as d, createElementBlock as p, normalizeClass as X, createElementVNode as Y } from "vue"; const x = (n, t) => { const e = n.__vccOpts || n; for (const [i, s] of t) e[i] = s; return e; }, nn = ["xlink:href"], en = { __name: "SvgIcon", props: { /** * The svg icon to show. */ icon: { type: String, required: !0 }, /** * The option to spin the icon. */ spin: { type: Boolean, default: !1 } }, setup(n) { return (t, e) => (d(), p("svg", { class: X(["map-icon", { "map-icon-spin": n.spin }]) }, [ Y("use", { "xlink:href": `#${n.icon}` }, null, 8, nn) ], 2)); } }, wn = /* @__PURE__ */ x(en, [["__scopeId", "data-v-e172d5ff"]]), v = ` 2horpanel ? `, w = ` 2vertpanel ? `, F = ` 3panel ? `, h = ` 4panel ? `, y = ` 2horpanel ? `, k = ` 2horpanel ? `, f = ` 4panel ? `, m = ` changeBckgd `, u = ` close no bk `, _ = ` close `, C = ` closeFullScreen `, L = ` Comment `, b = ` Connection `, G = ` dock `, B = ` drawLine `, T = ` drawPoint `, q = ` drawPolygon `, O = ` drawTrash `, S = ` fitWindow `, A = ` fullScreen `, z = 'DataPortal-Icons', U = ` magnifyingGlass `, M = `Created by Wahyu Prihantorofrom the Noun Project`, $ = ` openMap `, H = ` Artboard Copy 6 `, V = ` permalink `, R = ` play `, P = ` resetZoom `, Z = ` singlepanel ? `, I = ` tooltips ? `, j = ` undock `, E = ` zoomIn `, N = ` zoomOut `, 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; }, D = (n) => [ // Remove XML stuffs and comments [/<\?xml[\s\S]*?>/gi, ""], [//gi, ""], [//gi, ""], // SVG XML -> HTML5 [/\<([A-Za-z]+)([^\>]*)\/\>/g, "<$1$2>"], // 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(), tn = !0, sn = !0, on = ["fill"], a = /* @__PURE__ */ 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 }), ln = Object.keys(a).map((n) => { const t = W(a[n], tn, sn, on), e = n.replace(/^.+\/(\w+).svg$/, "$1"); return D(t).replace("", "symbol>"); }), rn = { name: "MapSvgSprite", svgContext: a, svgSprite: ln.join(` `) // concatenate all symbols into $options.svgSprite }, cn = ["innerHTML"]; function an(n, t, e, i, s, r) { return d(), p("svg", { width: "0", height: "0", style: { display: "none" }, innerHTML: n.$options.svgSprite }, null, 8, cn); } const Fn = /* @__PURE__ */ x(rn, [["render", an]]), g = /* @__PURE__ */ 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 }), gn = Object.keys(g).map((n) => { const t = W(g[n]), e = n.replace(/^.+\/(\w+).svg$/, "$1"); return D(t).replace("", "symbol>"); }), dn = { name: "MapSvgSpriteColor", svgContext: g, svgSprite: gn.join(` `) // concatenate all symbols into $options.svgSprite }, pn = ["innerHTML"]; function xn(n, t, e, i, s, r) { return d(), p("svg", { width: "0", height: "0", style: { display: "none" }, innerHTML: n.$options.svgSprite }, null, 8, pn); } const hn = /* @__PURE__ */ x(dn, [["render", xn]]); export { wn as MapSvgIcon, Fn as MapSvgSprite, hn as MapSvgSpriteColor };