@thibezer/ui-components-kit 2.24.2 → 2.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1131 -1102
- package/README.md +822 -822
- package/dist/botao.cjs +1 -1
- package/dist/botao.js +1 -1
- package/dist/camadas.cjs +1 -1
- package/dist/camadas.js +2 -2
- package/dist/campo-texto.cjs +1 -1
- package/dist/campo-texto.js +1 -1
- package/dist/canvas.cjs +1 -1
- package/dist/canvas.js +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/components/ui-canvas-prancha/index.d.ts +1 -1
- package/dist/components/ui-canvas-prancha/prancha-teclado.d.ts +13 -5
- package/dist/components/ui-canvas-prancha/ui-canvas-prancha-base.d.ts +6 -1
- package/dist/components/ui-canvas-prancha/ui-canvas-prancha.d.ts +2 -2
- package/dist/components/ui-editor-prancha/editor-barra.d.ts +19 -0
- package/dist/components/ui-editor-prancha/editor-modos.d.ts +26 -1
- package/dist/components/ui-editor-prancha/ui-editor-prancha.d.ts +32 -9
- package/dist/core/alvo-digitavel.d.ts +3 -0
- package/dist/core.cjs +1 -1
- package/dist/core.js +4 -4
- package/dist/cores.cjs +1 -1
- package/dist/cores.js +3 -3
- package/dist/custom-elements.json +16355 -15988
- package/dist/data.cjs +1 -1
- package/dist/data.js +1 -1
- package/dist/feedback.cjs +1 -1
- package/dist/feedback.js +1 -1
- package/dist/forms.cjs +7 -7
- package/dist/forms.js +160 -156
- package/dist/index.cjs +1 -1
- package/dist/index.js +3 -3
- package/dist/kit-base-BmkPi5Rz.cjs +2 -0
- package/dist/{kit-base-_THn4w3u.js → kit-base-CBXA66aM.js} +119 -114
- package/dist/mapa.cjs +1 -1
- package/dist/mapa.js +1 -1
- package/dist/modal.cjs +1 -1
- package/dist/modal.js +1 -1
- package/dist/prancha.cjs +6 -6
- package/dist/prancha.js +1707 -1470
- package/dist/register.cjs +1 -1
- package/dist/register.js +1 -1
- package/dist/seletor-mapa-base.cjs +1 -1
- package/dist/seletor-mapa-base.js +1 -1
- package/dist/tabela.cjs +1 -1
- package/dist/tabela.js +1 -1
- package/dist/tipos-elementos.d.ts +2 -2
- package/dist/tipos-vue.d.ts +2 -2
- package/dist/tools.cjs +1 -1
- package/dist/tools.js +1 -1
- package/dist/{ui-seletor-cor-B_twSm-V.js → ui-seletor-cor-CPjA9vhZ.js} +1 -1
- package/dist/{ui-seletor-cor-BGw8SBPm.cjs → ui-seletor-cor-D_ifitEN.cjs} +1 -1
- package/package.json +1 -1
- package/dist/kit-base-CGqj9aiD.cjs +0 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var B = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var b = (e, t, r) =>
|
|
2
|
+
var F = (e, t, r) => t in e ? B(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
|
+
var b = (e, t, r) => F(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
4
|
class C {
|
|
5
5
|
constructor() {
|
|
6
6
|
b(this, "entries", []);
|
|
@@ -29,9 +29,9 @@ class C {
|
|
|
29
29
|
return this.entries.length;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
const
|
|
32
|
+
const Ue = typeof window < "u" && typeof document < "u", Z = typeof HTMLElement < "u" ? HTMLElement : class {
|
|
33
33
|
};
|
|
34
|
-
function
|
|
34
|
+
function qe(e, t) {
|
|
35
35
|
typeof customElements < "u" && !customElements.get(e) && customElements.define(e, t);
|
|
36
36
|
}
|
|
37
37
|
const j = [
|
|
@@ -70,7 +70,7 @@ function K(e) {
|
|
|
70
70
|
return !1;
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function Ve(e, t, r) {
|
|
74
74
|
if (!t) {
|
|
75
75
|
e.requestSubmit();
|
|
76
76
|
return;
|
|
@@ -83,7 +83,7 @@ function qe(e, t, r) {
|
|
|
83
83
|
a.remove();
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function We(e) {
|
|
87
87
|
const t = M(e, j)[0];
|
|
88
88
|
if (t) {
|
|
89
89
|
K(t) || t.click();
|
|
@@ -91,7 +91,7 @@ function Ve(e) {
|
|
|
91
91
|
}
|
|
92
92
|
M(e, G).length === 1 && e.requestSubmit();
|
|
93
93
|
}
|
|
94
|
-
const
|
|
94
|
+
const He = ["sm", "md", "lg"], T = "--ui-campo-altura", Y = 15, J = 200, Q = 12.5, R = {
|
|
95
95
|
sm: "sm",
|
|
96
96
|
compacta: "sm",
|
|
97
97
|
compacto: "sm",
|
|
@@ -135,7 +135,7 @@ function re(e) {
|
|
|
135
135
|
};
|
|
136
136
|
}
|
|
137
137
|
const S = /* @__PURE__ */ new WeakSet();
|
|
138
|
-
function
|
|
138
|
+
function Be(e) {
|
|
139
139
|
try {
|
|
140
140
|
const t = te(re(e));
|
|
141
141
|
t ? (e.style.setProperty(T, t), S.add(e)) : S.has(e) && (e.style.removeProperty(T), S.delete(e));
|
|
@@ -180,7 +180,7 @@ const ae = ["degrade", "gradiente", "gradient"], oe = ["degrade", "ui-degrade",
|
|
|
180
180
|
texto: "var(--ui-gradiente-texto)",
|
|
181
181
|
text: "var(--ui-gradiente-texto)"
|
|
182
182
|
}), ce = /[;{}<>\\"'\r\n`]|\/\*|\*\/|\b(?:url|image-set|expression|attr|env)\s*\(|(?:javascript|vbscript|data)\s*:|-moz-binding|behavior\s*:/i;
|
|
183
|
-
function
|
|
183
|
+
function Fe(e) {
|
|
184
184
|
const t = e.toLowerCase();
|
|
185
185
|
return t === "degrade" || t === "gradiente" || t === "gradient";
|
|
186
186
|
}
|
|
@@ -250,7 +250,7 @@ function Ze(e, t, r) {
|
|
|
250
250
|
const a = pe(e), o = me(a, r), i = oe.some((l) => e.classList.contains(l)), n = o.ativo || i;
|
|
251
251
|
return t && (o.explicito ? t.style.setProperty("--ui-degrade-interno", o.explicito) : t.style.removeProperty("--ui-degrade-interno"), n ? t.setAttribute("data-degrade", "ativo") : t.removeAttribute("data-degrade")), n;
|
|
252
252
|
}
|
|
253
|
-
function
|
|
253
|
+
function je(e, t, r) {
|
|
254
254
|
const a = new Set((e.getAttribute("part") || "").split(/\s+/).filter(Boolean));
|
|
255
255
|
r ? a.add(t) : a.delete(t), e.setAttribute("part", Array.from(a).join(" "));
|
|
256
256
|
}
|
|
@@ -259,45 +259,48 @@ function I(e) {
|
|
|
259
259
|
const t = e;
|
|
260
260
|
return t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.tagName === "SELECT" || t.isContentEditable === !0;
|
|
261
261
|
}
|
|
262
|
-
|
|
263
|
-
|
|
262
|
+
function he() {
|
|
263
|
+
var t;
|
|
264
|
+
let e = typeof document > "u" ? null : document.activeElement;
|
|
265
|
+
for (; (t = e == null ? void 0 : e.shadowRoot) != null && t.activeElement; ) e = e.shadowRoot.activeElement;
|
|
266
|
+
return e;
|
|
267
|
+
}
|
|
268
|
+
const ge = 'button, a[href], summary, [role="button"], [role="menuitem"], [role="tab"], [role="switch"], [role="checkbox"], [role="option"]';
|
|
269
|
+
function Ge(e) {
|
|
264
270
|
var r;
|
|
265
271
|
const t = ((r = e.composedPath) == null ? void 0 : r.call(e)[0]) ?? e.target;
|
|
266
|
-
return t instanceof Element ? t.closest(
|
|
272
|
+
return t instanceof Element ? t.closest(ge) !== null : !1;
|
|
267
273
|
}
|
|
268
|
-
function
|
|
269
|
-
var
|
|
270
|
-
const t = (
|
|
271
|
-
|
|
272
|
-
let r = typeof document > "u" ? null : document.activeElement;
|
|
273
|
-
for (; (o = r == null ? void 0 : r.shadowRoot) != null && o.activeElement; ) r = r.shadowRoot.activeElement;
|
|
274
|
-
return I(r);
|
|
274
|
+
function Ke(e) {
|
|
275
|
+
var r;
|
|
276
|
+
const t = (r = e == null ? void 0 : e.composedPath) == null ? void 0 : r.call(e)[0];
|
|
277
|
+
return t instanceof Element ? I(t) : I(he());
|
|
275
278
|
}
|
|
276
|
-
function
|
|
279
|
+
function Ye(e, t, r, a) {
|
|
277
280
|
if (e.textContent = t, !r) return;
|
|
278
281
|
const o = document.createElement("span");
|
|
279
282
|
o.className = a, o.setAttribute("aria-hidden", "true"), o.textContent = "*", e.append(" ", o);
|
|
280
283
|
}
|
|
281
|
-
function
|
|
284
|
+
function Je(e, t, r) {
|
|
282
285
|
const a = (e ?? "").trim().toLowerCase();
|
|
283
286
|
return t.includes(a) ? a : r;
|
|
284
287
|
}
|
|
285
|
-
function
|
|
288
|
+
function Qe(e, t) {
|
|
286
289
|
const r = (e ?? "").trim().toLowerCase();
|
|
287
290
|
return t.includes(r) ? r : null;
|
|
288
291
|
}
|
|
289
|
-
function
|
|
292
|
+
function Xe(e, t, r, a) {
|
|
290
293
|
if (e == null || typeof e == "string" && e.trim() === "") return a;
|
|
291
294
|
const o = typeof e == "number" ? e : Number(e.trim());
|
|
292
295
|
return Number.isFinite(o) ? Math.min(r, Math.max(t, Math.trunc(o))) : a;
|
|
293
296
|
}
|
|
294
|
-
function
|
|
297
|
+
function _e(e, t = 0) {
|
|
295
298
|
if (e == null || e.trim() === "") return null;
|
|
296
299
|
const r = Number(e.trim());
|
|
297
300
|
return !Number.isFinite(r) || r < t ? null : Math.trunc(r);
|
|
298
301
|
}
|
|
299
302
|
let L = 0;
|
|
300
|
-
function
|
|
303
|
+
function $e(e = "ui") {
|
|
301
304
|
return L += 1, `${e}-${L.toString(36)}-${Math.random().toString(36).slice(2, 7)}`;
|
|
302
305
|
}
|
|
303
306
|
function q(e, t) {
|
|
@@ -308,7 +311,7 @@ function q(e, t) {
|
|
|
308
311
|
r += q(a, t);
|
|
309
312
|
}), r;
|
|
310
313
|
}
|
|
311
|
-
function
|
|
314
|
+
function be(e, t) {
|
|
312
315
|
var i, n, l;
|
|
313
316
|
const r = (i = e.getAttribute("aria-label")) == null ? void 0 : i.trim();
|
|
314
317
|
if (r) return r;
|
|
@@ -326,10 +329,10 @@ function ge(e, t) {
|
|
|
326
329
|
const o = e.closest("label");
|
|
327
330
|
return o && a.add(o), Array.from(a).map((s) => q(s, e).replace(/\s+/g, " ").trim()).filter(Boolean).join(" ");
|
|
328
331
|
}
|
|
329
|
-
function
|
|
332
|
+
function et(e, t) {
|
|
330
333
|
return t.composedPath()[0] === e;
|
|
331
334
|
}
|
|
332
|
-
class
|
|
335
|
+
class xe extends Z {
|
|
333
336
|
constructor() {
|
|
334
337
|
super();
|
|
335
338
|
b(this, "internals");
|
|
@@ -382,8 +385,8 @@ class be extends F {
|
|
|
382
385
|
this._customErrorMessage = r || "", this.atualizarValidade();
|
|
383
386
|
}
|
|
384
387
|
}
|
|
385
|
-
b(
|
|
386
|
-
function
|
|
388
|
+
b(xe, "formAssociated", !0);
|
|
389
|
+
function tt(e) {
|
|
387
390
|
if (e.disabled)
|
|
388
391
|
return { valido: !0, flags: {}, mensagem: "" };
|
|
389
392
|
if (e.customError && e.customError.trim() !== "")
|
|
@@ -480,11 +483,11 @@ function et(e) {
|
|
|
480
483
|
}
|
|
481
484
|
return { valido: !0, flags: {}, mensagem: "" };
|
|
482
485
|
}
|
|
483
|
-
function
|
|
486
|
+
function rt(e, t, r) {
|
|
484
487
|
!e || typeof e.setValidity != "function" || (t.valido ? e.setValidity({}) : e.setValidity(t.flags, t.mensagem || "Valor inválido.", r));
|
|
485
488
|
}
|
|
486
|
-
const rt = '.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CL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UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfI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l2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}';
|
|
487
|
-
class
|
|
489
|
+
const at = '.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-togg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EDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpj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6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}';
|
|
490
|
+
class Ae {
|
|
488
491
|
constructor() {
|
|
489
492
|
b(this, "provedorToast", null);
|
|
490
493
|
b(this, "listeners", /* @__PURE__ */ new Map());
|
|
@@ -621,7 +624,7 @@ class xe {
|
|
|
621
624
|
obterTema() {
|
|
622
625
|
if (typeof document > "u") return "escuro";
|
|
623
626
|
const t = N(document.documentElement);
|
|
624
|
-
return t || (
|
|
627
|
+
return t || (ve() ? "claro" : "escuro");
|
|
625
628
|
}
|
|
626
629
|
/**
|
|
627
630
|
* Define o tema global. Sem argumento, alterna o tema em vigor;
|
|
@@ -651,12 +654,12 @@ function N(e) {
|
|
|
651
654
|
const t = e.getAttribute("data-tema") || e.getAttribute("data-theme");
|
|
652
655
|
return t === "escuro" || t === "dark" ? "escuro" : t === "claro" || t === "light" ? "claro" : e.classList.contains("dark") ? "escuro" : e.classList.contains("light") ? "claro" : null;
|
|
653
656
|
}
|
|
654
|
-
function
|
|
657
|
+
function ve() {
|
|
655
658
|
return typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-color-scheme: light)").matches;
|
|
656
659
|
}
|
|
657
|
-
const p = new
|
|
660
|
+
const p = new Ae();
|
|
658
661
|
let D = !1;
|
|
659
|
-
function
|
|
662
|
+
function ye(e) {
|
|
660
663
|
if (e.hasAttribute("disabled") || e.hasAttribute("carregando") || e.getAttribute("aria-disabled") === "true" || e.localName.startsWith("ui-") && e.hasAttribute("loading")) return !0;
|
|
661
664
|
try {
|
|
662
665
|
return e.matches(":disabled");
|
|
@@ -664,7 +667,7 @@ function ve(e) {
|
|
|
664
667
|
return !1;
|
|
665
668
|
}
|
|
666
669
|
}
|
|
667
|
-
function
|
|
670
|
+
function we() {
|
|
668
671
|
D || typeof document > "u" || (D = !0, document.addEventListener("click", (e) => {
|
|
669
672
|
const t = e.composedPath ? e.composedPath() : [e.target], r = "[target-modal], [modal-alvo], [dismiss-modal], [fechar-modal], [target-drawer], [drawer-alvo], [dismiss-drawer], [fechar-drawer], [toast-sucesso], [toast-erro], [toast-alerta], [toast-info], [copiar-texto], [alternar-tema], [definir-densidade], [limpar-form]";
|
|
670
673
|
let a = null;
|
|
@@ -673,7 +676,7 @@ function ye() {
|
|
|
673
676
|
a = m;
|
|
674
677
|
break;
|
|
675
678
|
}
|
|
676
|
-
if (!a ||
|
|
679
|
+
if (!a || ye(a)) return;
|
|
677
680
|
const o = a.getAttribute("target-modal") || a.getAttribute("modal-alvo");
|
|
678
681
|
if (o && p.abrirModal(o), a.hasAttribute("dismiss-modal") || a.hasAttribute("fechar-modal")) {
|
|
679
682
|
const m = a.getAttribute("dismiss-modal") || a.getAttribute("fechar-modal");
|
|
@@ -735,7 +738,7 @@ function ye() {
|
|
|
735
738
|
}));
|
|
736
739
|
}
|
|
737
740
|
let v = null, A = null;
|
|
738
|
-
async function
|
|
741
|
+
async function ot() {
|
|
739
742
|
return typeof window < "u" && window.L ? (A = window.L, A) : A || v || (v = (async () => {
|
|
740
743
|
try {
|
|
741
744
|
const e = await import("leaflet");
|
|
@@ -748,10 +751,10 @@ Para utilizar componentes de mapa ou CAD (<ui-mapa>, <ui-canvas-cad>), instale o
|
|
|
748
751
|
}
|
|
749
752
|
})(), v);
|
|
750
753
|
}
|
|
751
|
-
function
|
|
754
|
+
function it() {
|
|
752
755
|
return typeof window < "u" && window.L ? window.L : A;
|
|
753
756
|
}
|
|
754
|
-
const
|
|
757
|
+
const Ee = /* @__PURE__ */ new Set([
|
|
755
758
|
"svg",
|
|
756
759
|
"g",
|
|
757
760
|
"path",
|
|
@@ -773,27 +776,27 @@ const we = /* @__PURE__ */ new Set([
|
|
|
773
776
|
"stop",
|
|
774
777
|
"clippath",
|
|
775
778
|
"mask"
|
|
776
|
-
]),
|
|
777
|
-
let
|
|
778
|
-
function
|
|
779
|
+
]), ze = /^(javascript|data|vbscript):/i, Se = /url\s*\(\s*['"]?\s*(?!#)/i;
|
|
780
|
+
let ke = 0;
|
|
781
|
+
function Ce(e, t) {
|
|
779
782
|
const r = e.toLowerCase();
|
|
780
783
|
if (r.startsWith("on")) return !1;
|
|
781
784
|
const a = t.replace(/[\s\u0000-\u001f]+/g, "");
|
|
782
|
-
return
|
|
785
|
+
return ze.test(a) ? !1 : r === "href" || r === "xlink:href" ? a.startsWith("#") : !Se.test(t);
|
|
783
786
|
}
|
|
784
787
|
function V(e) {
|
|
785
788
|
Array.from(e.children).forEach((t) => {
|
|
786
|
-
if (!
|
|
789
|
+
if (!Ee.has(t.localName.toLowerCase())) {
|
|
787
790
|
console.warn(`[svg-seguro] Elemento <${t.localName}> não permitido foi descartado pela allowlist.`), t.remove();
|
|
788
791
|
return;
|
|
789
792
|
}
|
|
790
793
|
V(t);
|
|
791
794
|
}), Array.from(e.attributes).forEach((t) => {
|
|
792
|
-
|
|
795
|
+
Ce(t.name, t.value) || e.removeAttribute(t.name);
|
|
793
796
|
});
|
|
794
797
|
}
|
|
795
|
-
function
|
|
796
|
-
const t = `ui-svg-${++
|
|
798
|
+
function Oe(e) {
|
|
799
|
+
const t = `ui-svg-${++ke}-`, r = /* @__PURE__ */ new Map();
|
|
797
800
|
if (e.querySelectorAll("[id]").forEach((n) => {
|
|
798
801
|
const l = n.getAttribute("id");
|
|
799
802
|
if (l) {
|
|
@@ -815,17 +818,17 @@ function Ce(e) {
|
|
|
815
818
|
});
|
|
816
819
|
});
|
|
817
820
|
}
|
|
818
|
-
function
|
|
821
|
+
function nt(e) {
|
|
819
822
|
if (!e || typeof e != "string" || typeof document > "u") return null;
|
|
820
823
|
const t = document.createElement("template");
|
|
821
824
|
t.innerHTML = e.trim();
|
|
822
825
|
const r = t.content.querySelector("svg");
|
|
823
|
-
return r ? (V(r),
|
|
826
|
+
return r ? (V(r), Oe(r), r) : (e.trim().length > 0 && console.warn("[svg-seguro] Código descartado: nenhum elemento <svg> válido encontrado."), null);
|
|
824
827
|
}
|
|
825
|
-
const E = "input, select, textarea, ui-campo-texto, ui-input, ui-area-texto, ui-textarea, ui-lista-flutuante, ui-select, ui-checkbox, ui-radio, ui-switch, ui-toggle",
|
|
828
|
+
const E = "input, select, textarea, ui-campo-texto, ui-input, ui-area-texto, ui-textarea, ui-lista-flutuante, ui-select, ui-checkbox, ui-radio, ui-switch, ui-toggle", Me = 'input[type="file"], input[type="hidden"], input[type="submit"], input[type="button"], input[type="reset"]', Te = /* @__PURE__ */ new Set(["ui-checkbox", "ui-radio", "ui-switch", "ui-toggle"]);
|
|
826
829
|
function W(e) {
|
|
827
830
|
const t = e.tagName.toLowerCase();
|
|
828
|
-
if (
|
|
831
|
+
if (Te.has(t)) return !0;
|
|
829
832
|
if (t !== "input") return !1;
|
|
830
833
|
const r = (e.getAttribute("type") || "").toLowerCase();
|
|
831
834
|
return r === "checkbox" || r === "radio";
|
|
@@ -833,12 +836,12 @@ function W(e) {
|
|
|
833
836
|
function z(e, t = E) {
|
|
834
837
|
if (!e || typeof e.querySelectorAll != "function") return [];
|
|
835
838
|
try {
|
|
836
|
-
return Array.from(e.querySelectorAll(t)).filter((r) => !r.matches(
|
|
839
|
+
return Array.from(e.querySelectorAll(t)).filter((r) => !r.matches(Me));
|
|
837
840
|
} catch {
|
|
838
841
|
return [];
|
|
839
842
|
}
|
|
840
843
|
}
|
|
841
|
-
function
|
|
844
|
+
function Re(e, t) {
|
|
842
845
|
return e.getAttribute("name") || e.id || `#${t}`;
|
|
843
846
|
}
|
|
844
847
|
function y(e) {
|
|
@@ -861,9 +864,9 @@ function P(e, t) {
|
|
|
861
864
|
function H(e, t, r) {
|
|
862
865
|
return z(e, r).find((o) => o.getAttribute("name") === t || o.id === t) ?? null;
|
|
863
866
|
}
|
|
864
|
-
const
|
|
867
|
+
const Ie = ["input", "change", "ui-input", "ui-change", "ui-selecionar", "ui-campos-preenchidos"];
|
|
865
868
|
function k(e, t, r) {
|
|
866
|
-
const a = z(e, t).map((i, n) => [
|
|
869
|
+
const a = z(e, t).map((i, n) => [Re(i, n), y(i)]);
|
|
867
870
|
let o = null;
|
|
868
871
|
if (r)
|
|
869
872
|
try {
|
|
@@ -877,7 +880,7 @@ function k(e, t, r) {
|
|
|
877
880
|
return JSON.stringify([a, null]);
|
|
878
881
|
}
|
|
879
882
|
}
|
|
880
|
-
function
|
|
883
|
+
function lt(e, t = {}) {
|
|
881
884
|
const r = t.seletor ?? E, a = new C();
|
|
882
885
|
let o = k(e, r, t.estadoExterno), i = !1;
|
|
883
886
|
const n = () => {
|
|
@@ -893,7 +896,7 @@ function nt(e, t = {}) {
|
|
|
893
896
|
}
|
|
894
897
|
return i;
|
|
895
898
|
};
|
|
896
|
-
return
|
|
899
|
+
return Ie.forEach((l) => a.add(e, l, n)), {
|
|
897
900
|
get sujo() {
|
|
898
901
|
return i;
|
|
899
902
|
},
|
|
@@ -906,8 +909,8 @@ function nt(e, t = {}) {
|
|
|
906
909
|
}
|
|
907
910
|
};
|
|
908
911
|
}
|
|
909
|
-
const
|
|
910
|
-
function
|
|
912
|
+
const Le = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]), Ne = (e) => e == null ? "" : typeof e == "boolean" ? e ? "1" : "0" : String(e);
|
|
913
|
+
function st(e, t, r = {}) {
|
|
911
914
|
const a = r.somenteVazios !== !1, o = r.vazioSe ?? ((u, c) => c.trim() === ""), i = r.seletor ?? E, n = [], l = [], s = [], f = [], d = [];
|
|
912
915
|
let h = !1;
|
|
913
916
|
const g = () => {
|
|
@@ -917,13 +920,13 @@ function lt(e, t, r = {}) {
|
|
|
917
920
|
};
|
|
918
921
|
if (t && typeof t == "object")
|
|
919
922
|
for (const u of Object.keys(t)) {
|
|
920
|
-
if (
|
|
923
|
+
if (Le.has(u)) continue;
|
|
921
924
|
const c = H(e, u, i);
|
|
922
925
|
if (!c) {
|
|
923
926
|
s.push(u);
|
|
924
927
|
continue;
|
|
925
928
|
}
|
|
926
|
-
const x =
|
|
929
|
+
const x = Ne(t[u]);
|
|
927
930
|
if (x === "") continue;
|
|
928
931
|
const O = y(c);
|
|
929
932
|
x !== O && (!a || o(u, O) ? m(u, c, x) : (l.push(u), d.push({ chave: u, campo: c, valor: x })));
|
|
@@ -944,11 +947,11 @@ function lt(e, t, r = {}) {
|
|
|
944
947
|
}
|
|
945
948
|
};
|
|
946
949
|
}
|
|
947
|
-
const
|
|
950
|
+
const De = "Valor inválido.";
|
|
948
951
|
function w(e, t) {
|
|
949
952
|
t ? (e.setAttribute("erro", ""), e.setAttribute("mensagem-erro", t)) : (e.removeAttribute("erro"), e.removeAttribute("mensagem-erro"));
|
|
950
953
|
}
|
|
951
|
-
function
|
|
954
|
+
function ut(e, t, r = {}) {
|
|
952
955
|
var o, i, n;
|
|
953
956
|
const a = [];
|
|
954
957
|
if (!e || !t || typeof t != "object") return { valido: !0, erros: a };
|
|
@@ -963,7 +966,7 @@ function st(e, t, r = {}) {
|
|
|
963
966
|
try {
|
|
964
967
|
d = s(y(f), f);
|
|
965
968
|
} catch (h) {
|
|
966
|
-
console.error(`[form-erros] regra do campo "${l}" lançou exceção:`, h), d =
|
|
969
|
+
console.error(`[form-erros] regra do campo "${l}" lançou exceção:`, h), d = De;
|
|
967
970
|
}
|
|
968
971
|
w(f, d || null), d && a.push({ chave: l, mensagem: d, campo: f });
|
|
969
972
|
}
|
|
@@ -979,10 +982,10 @@ function st(e, t, r = {}) {
|
|
|
979
982
|
}
|
|
980
983
|
return { valido: a.length === 0, erros: a };
|
|
981
984
|
}
|
|
982
|
-
function
|
|
985
|
+
function ct(e) {
|
|
983
986
|
z(e).forEach((t) => w(t, null));
|
|
984
987
|
}
|
|
985
|
-
function
|
|
988
|
+
function ft(e, t = E) {
|
|
986
989
|
const r = new C(), a = (o) => {
|
|
987
990
|
const i = o.target;
|
|
988
991
|
if (!(i instanceof Element)) return;
|
|
@@ -991,7 +994,7 @@ function ct(e, t = E) {
|
|
|
991
994
|
};
|
|
992
995
|
return ["input", "change", "ui-input", "ui-change", "ui-selecionar"].forEach((o) => r.add(e, o, a)), () => r.cleanup();
|
|
993
996
|
}
|
|
994
|
-
function
|
|
997
|
+
function dt(e, t) {
|
|
995
998
|
const r = new C(), a = (i) => {
|
|
996
999
|
try {
|
|
997
1000
|
i();
|
|
@@ -1009,71 +1012,73 @@ function ft(e, t) {
|
|
|
1009
1012
|
};
|
|
1010
1013
|
return r.add(e, "keydown", o), () => r.cleanup();
|
|
1011
1014
|
}
|
|
1012
|
-
typeof document < "u" &&
|
|
1013
|
-
function
|
|
1015
|
+
typeof document < "u" && we();
|
|
1016
|
+
function mt({ host: e, internals: t, controle: r, rotulo: a, texto: o }) {
|
|
1014
1017
|
if (o) {
|
|
1015
1018
|
a.textContent = o, a.style.display = "inline", r.setAttribute("aria-labelledby", a.id), r.removeAttribute("aria-label");
|
|
1016
1019
|
return;
|
|
1017
1020
|
}
|
|
1018
1021
|
a.style.display = "none", r.removeAttribute("aria-labelledby");
|
|
1019
|
-
const i =
|
|
1022
|
+
const i = be(e, t);
|
|
1020
1023
|
i ? r.setAttribute("aria-label", i) : r.removeAttribute("aria-label");
|
|
1021
1024
|
}
|
|
1022
1025
|
export {
|
|
1023
|
-
|
|
1026
|
+
T as $,
|
|
1024
1027
|
ae as A,
|
|
1025
1028
|
H as B,
|
|
1026
1029
|
oe as C,
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
+
ft as D,
|
|
1031
|
+
be as E,
|
|
1032
|
+
xe as F,
|
|
1030
1033
|
pe as G,
|
|
1031
|
-
|
|
1034
|
+
st as H,
|
|
1032
1035
|
me as I,
|
|
1033
|
-
|
|
1034
|
-
|
|
1036
|
+
ut as J,
|
|
1037
|
+
Ke as K,
|
|
1035
1038
|
C as L,
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
+
Ge as M,
|
|
1040
|
+
he as N,
|
|
1041
|
+
I as O,
|
|
1039
1042
|
ue as P,
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1043
|
+
Ve as Q,
|
|
1044
|
+
Ye as R,
|
|
1045
|
+
Z as S,
|
|
1046
|
+
_e as T,
|
|
1044
1047
|
p as U,
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1048
|
+
tt as V,
|
|
1049
|
+
rt as W,
|
|
1050
|
+
We as X,
|
|
1051
|
+
mt as Y,
|
|
1052
|
+
nt as Z,
|
|
1053
|
+
He as _,
|
|
1054
|
+
we as a,
|
|
1055
|
+
$ as a0,
|
|
1056
|
+
re as a1,
|
|
1057
|
+
ee as a2,
|
|
1058
|
+
te as a3,
|
|
1059
|
+
Qe as b,
|
|
1060
|
+
ot as c,
|
|
1061
|
+
qe as d,
|
|
1062
|
+
Je as e,
|
|
1063
|
+
Xe as f,
|
|
1059
1064
|
Ze as g,
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1065
|
+
je as h,
|
|
1066
|
+
Ue as i,
|
|
1067
|
+
Be as j,
|
|
1063
1068
|
E as k,
|
|
1064
|
-
|
|
1065
|
-
|
|
1069
|
+
at as l,
|
|
1070
|
+
Re as m,
|
|
1066
1071
|
_ as n,
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1072
|
+
it as o,
|
|
1073
|
+
et as p,
|
|
1074
|
+
lt as q,
|
|
1070
1075
|
P as r,
|
|
1071
|
-
|
|
1076
|
+
Fe as s,
|
|
1072
1077
|
W as t,
|
|
1073
|
-
|
|
1078
|
+
$e as u,
|
|
1074
1079
|
de as v,
|
|
1075
1080
|
y as w,
|
|
1076
|
-
|
|
1077
|
-
|
|
1081
|
+
dt as x,
|
|
1082
|
+
ct as y,
|
|
1078
1083
|
z
|
|
1079
1084
|
};
|
package/dist/mapa.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var x=Object.defineProperty;var I=(r,e,t)=>e in r?x(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var s=(r,e,t)=>I(r,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});;/* empty css */const n=require("./kit-base-
|
|
1
|
+
"use strict";var x=Object.defineProperty;var I=(r,e,t)=>e in r?x(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var s=(r,e,t)=>I(r,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});;/* empty css */const n=require("./kit-base-BmkPi5Rz.cjs"),g=require("./utils-ClVgqVyJ.cjs"),z=":host{display:block;width:100%;height:400px;position:relative;border-radius:var(--ui-raio-lg, 10px);overflow:hidden;box-shadow:var(--shadow-sm, 0 1px 3px rgba(0,0,0,.1))}.ui-mapa-container{width:100%;height:100%;z-index:1}.leaflet-top,.leaflet-bottom{z-index:1000}.ui-mapa-popup{font-family:inherit;font-size:13px;font-weight:500;color:#111827;padding:2px 4px}.ui-mapa-svg-pin,.ui-mapa-div-marker{background:transparent!important;border:none!important;cursor:pointer;transition:transform .15s ease,filter .15s ease}.ui-mapa-svg-pin:hover,.ui-mapa-div-marker:hover{transform:scale(1.15);filter:brightness(1.2)}";function m(){return n.obterLeafletSincrono()??null}async function _(){return await n.carregarLeaflet()??null}function E(r){return{osm:{nome:"OpenStreetMap",layer:()=>r.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'})},satelite:{nome:"Satélite (Esri)",layer:()=>r.tileLayer("https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",{attribution:"Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community"})},topografia:{nome:"Topografia",layer:()=>r.tileLayer("https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png",{attribution:'Map data: © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, <a href="http://viewfinderpanoramas.org">SRTM</a> | Map style: © <a href="https://opentopomap.org">OpenTopoMap</a> (<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>)'})},ruas:{nome:"Ruas (Esri)",layer:()=>r.tileLayer("https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}",{attribution:"Tiles © Esri — Source: Esri, DeLorme, NAVTEQ, USGS, Intermap, iPC, NRCAN, Esri Japan, METI, Esri China (Hong Kong), Esri (Thailand), TomTom, 2012"})}}}const u={lat:-23.55052,lng:-46.633308,zoom:13},L="#00f5a0",w="#3388ff",O=3,p=r=>Number.isFinite(r);function v(r,e,t){const i=parseFloat(r??""),o=parseFloat(e??""),a=parseInt(t??"",10);return{lat:p(i)&&Math.abs(i)<=90?i:u.lat,lng:p(o)&&Math.abs(o)<=180?o:u.lng,zoom:p(a)&&a>=0&&a<=22?a:u.zoom}}function k(r,e){const t=parseInt(r??"",10);return p(t)&&t>0?t:e}const P=/^#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i,R=/^(?:rgb|rgba|hsl|hsla)\(\s*[\d.,%\s/deg-]+\)$/i,N=/^[a-z]{3,30}$/i;function y(r,e){const t=(r??"").trim();return P.test(t)||R.test(t)||N.test(t)?t:e}function U(r,e){const t=(r??"").split(",").map(i=>i.trim().toLowerCase()).filter(i=>e.includes(i));return t.length>0?t:["osm"]}function A(r){if(!r)return[];let e;try{e=JSON.parse(r)}catch(i){return console.error('Formato inválido para atributo pontos no <ui-mapa-linha>. Deve ser um JSON array, ex: "[[lat, lng], ...]"',i),[]}if(!Array.isArray(e))return[];const t=[];for(const i of e){if(!Array.isArray(i)||i.length<2)continue;const[o,a]=i;typeof o=="number"&&typeof a=="number"&&p(o)&&p(a)&&Math.abs(o)<=90&&Math.abs(a)<=180&&t.push([o,a])}return t}const D="Mapa",G=`
|
|
2
2
|
<div style="display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-height: 140px; padding: 16px; box-sizing: border-box; text-align: center; color: var(--ui-cor-texto-secundario, #888899); font-family: var(--ui-fonte-base, 'Inter', sans-serif); font-size: 12px; background: var(--ui-cor-superficie, #141417); border-radius: var(--ui-raio-borda, 6px); border: 1px dashed var(--ui-cor-borda, rgba(255,255,255,0.15));">
|
|
3
3
|
<span style="font-size: 20px; margin-bottom: 6px;" aria-hidden="true">🗺️</span>
|
|
4
4
|
<strong style="color: var(--ui-cor-texto, #e1e1e6); margin-bottom: 4px;">Leaflet não encontrado</strong>
|
package/dist/mapa.js
CHANGED
|
@@ -2,7 +2,7 @@ var C = Object.defineProperty;
|
|
|
2
2
|
var x = (r, e, t) => e in r ? C(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
3
|
var s = (r, e, t) => x(r, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { c as z, o as S, S as m, l as I, d } from "./kit-base-
|
|
5
|
+
import { c as z, o as S, S as m, l as I, d } from "./kit-base-CBXA66aM.js";
|
|
6
6
|
import { p as v } from "./utils-DrHoxxmf.js";
|
|
7
7
|
const _ = ":host{display:block;width:100%;height:400px;position:relative;border-radius:var(--ui-raio-lg, 10px);overflow:hidden;box-shadow:var(--shadow-sm, 0 1px 3px rgba(0,0,0,.1))}.ui-mapa-container{width:100%;height:100%;z-index:1}.leaflet-top,.leaflet-bottom{z-index:1000}.ui-mapa-popup{font-family:inherit;font-size:13px;font-weight:500;color:#111827;padding:2px 4px}.ui-mapa-svg-pin,.ui-mapa-div-marker{background:transparent!important;border:none!important;cursor:pointer;transition:transform .15s ease,filter .15s ease}.ui-mapa-svg-pin:hover,.ui-mapa-div-marker:hover{transform:scale(1.15);filter:brightness(1.2)}";
|
|
8
8
|
function h() {
|