@mapsindoors/map-template 1.96.5 → 1.96.7
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/dist/{GoogleMapsMap-DrAndMwX.mjs → GoogleMapsMap-DYvN8j3y.mjs} +1 -1
- package/dist/{MapboxMap-BnjSSnYk.mjs → MapboxMap-CzhLW1aD.mjs} +1 -1
- package/dist/mapsindoors-react.es.js +1 -1
- package/dist/mapsindoors-react.umd.js +135 -155
- package/dist/mapsindoors-webcomponent.es.js +47 -43
- package/dist/{reactcomponent-BbCjFBSB.mjs → reactcomponent-Gjza9Ks-.mjs} +15210 -16763
- package/package.json +1 -1
|
@@ -6829,9 +6829,9 @@ const {
|
|
|
6829
6829
|
reactMode: J7
|
|
6830
6830
|
} = o5, {
|
|
6831
6831
|
AbstractRecoilValue: eO,
|
|
6832
|
-
RecoilState:
|
|
6833
|
-
RecoilValueReadOnly:
|
|
6834
|
-
isRecoilValue:
|
|
6832
|
+
RecoilState: sJ,
|
|
6833
|
+
RecoilValueReadOnly: aJ,
|
|
6834
|
+
isRecoilValue: lJ
|
|
6835
6835
|
} = Um, {
|
|
6836
6836
|
invalidateMemoizedSnapshot: tO
|
|
6837
6837
|
} = WD;
|
|
@@ -7794,7 +7794,7 @@ const {
|
|
|
7794
7794
|
useRecoilMutableSource: Zj,
|
|
7795
7795
|
useStoreRef: Zm
|
|
7796
7796
|
} = y5, {
|
|
7797
|
-
isRecoilValue:
|
|
7797
|
+
isRecoilValue: uJ
|
|
7798
7798
|
} = Um, {
|
|
7799
7799
|
getRecoilValueAsLoadable: u2,
|
|
7800
7800
|
setRecoilValue: vE,
|
|
@@ -7965,12 +7965,12 @@ const {
|
|
|
7965
7965
|
AbstractRecoilValue: uR,
|
|
7966
7966
|
setRecoilValueLoadable: cR
|
|
7967
7967
|
} = Dg, {
|
|
7968
|
-
cloneSnapshot:
|
|
7968
|
+
cloneSnapshot: cJ
|
|
7969
7969
|
} = a2, {
|
|
7970
|
-
useCallback:
|
|
7971
|
-
useEffect:
|
|
7972
|
-
useRef:
|
|
7973
|
-
useState:
|
|
7970
|
+
useCallback: hJ,
|
|
7971
|
+
useEffect: dJ,
|
|
7972
|
+
useRef: fJ,
|
|
7973
|
+
useState: pJ
|
|
7974
7974
|
} = as;
|
|
7975
7975
|
function hR(t, o) {
|
|
7976
7976
|
var s;
|
|
@@ -7994,7 +7994,7 @@ var dR = {
|
|
|
7994
7994
|
gotoSnapshot: hR
|
|
7995
7995
|
};
|
|
7996
7996
|
const {
|
|
7997
|
-
useMemo:
|
|
7997
|
+
useMemo: gJ
|
|
7998
7998
|
} = as, {
|
|
7999
7999
|
loadableWithValue: fR
|
|
8000
8000
|
} = Fy, {
|
|
@@ -8078,7 +8078,7 @@ const {
|
|
|
8078
8078
|
} = a2, {
|
|
8079
8079
|
gotoSnapshot: LR
|
|
8080
8080
|
} = dR, {
|
|
8081
|
-
useCallback:
|
|
8081
|
+
useCallback: mJ
|
|
8082
8082
|
} = as;
|
|
8083
8083
|
class IE {
|
|
8084
8084
|
}
|
|
@@ -8124,11 +8124,11 @@ var OR = {
|
|
|
8124
8124
|
recoilCallback: zR
|
|
8125
8125
|
};
|
|
8126
8126
|
const {
|
|
8127
|
-
useCallback:
|
|
8127
|
+
useCallback: yJ
|
|
8128
8128
|
} = as, {
|
|
8129
|
-
atomicUpdater:
|
|
8129
|
+
atomicUpdater: _J
|
|
8130
8130
|
} = ME, {
|
|
8131
|
-
useMemo:
|
|
8131
|
+
useMemo: vJ
|
|
8132
8132
|
} = as;
|
|
8133
8133
|
class jR {
|
|
8134
8134
|
constructor(o) {
|
|
@@ -9334,13 +9334,13 @@ Wm({
|
|
|
9334
9334
|
dangerouslyAllowMutability: !0
|
|
9335
9335
|
});
|
|
9336
9336
|
const {
|
|
9337
|
-
RecoilLoadable:
|
|
9337
|
+
RecoilLoadable: xJ
|
|
9338
9338
|
} = Fy, {
|
|
9339
9339
|
RecoilRoot: PP
|
|
9340
9340
|
} = y5, {
|
|
9341
|
-
isRecoilValue:
|
|
9341
|
+
isRecoilValue: wJ
|
|
9342
9342
|
} = Um, {
|
|
9343
|
-
freshSnapshot:
|
|
9343
|
+
freshSnapshot: bJ
|
|
9344
9344
|
} = a2, {
|
|
9345
9345
|
useRecoilState: FP,
|
|
9346
9346
|
useRecoilValue: BP,
|
|
@@ -9718,7 +9718,7 @@ var hF = (t) => t != null && t !== void 0, M5 = (t) => (t = typeof t, t === "obj
|
|
|
9718
9718
|
const o = ix(t.vtag, t.vtext);
|
|
9719
9719
|
return o.$attrs$ = t.vattrs, o.$children$ = t.vchildren, o.$key$ = t.vkey, o.$name$ = t.vname, o;
|
|
9720
9720
|
};
|
|
9721
|
-
var FE = "-shadowcsshost", gF = "-shadowcssslotted", mF = "-shadowcsscontext", I5 = ")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",
|
|
9721
|
+
var FE = "-shadowcsshost", gF = "-shadowcssslotted", mF = "-shadowcsscontext", I5 = ")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)", MJ = new RegExp("(" + FE + I5, "gim"), IJ = new RegExp("(" + mF + I5, "gim"), CJ = new RegExp("(" + gF + I5, "gim"), TJ = FE + "-no-combinator";
|
|
9722
9722
|
var yF = (t) => WP.map((o) => o(t)).find((o) => !!o), BE = (t, o, s) => t != null && !M5(t) ? o & 4 ? t === "false" ? !1 : t === "" || !!t : o & 2 ? typeof t == "string" ? parseFloat(t) : typeof t == "number" ? t : NaN : o & 1 ? String(t) : t : t, _F = (t) => t, Rs = (t, o, s) => {
|
|
9723
9723
|
const c = _F(t);
|
|
9724
9724
|
return {
|
|
@@ -21891,7 +21891,7 @@ function CN({ mapType: t, mapsIndoorsInstance: o, mapInstance: s, onPositionCont
|
|
|
21891
21891
|
const GH = Ae.memo(CN), bl = {
|
|
21892
21892
|
Google: "google",
|
|
21893
21893
|
Mapbox: "mapbox"
|
|
21894
|
-
}, ZH = Ae.lazy(() => Promise.resolve().then(() =>
|
|
21894
|
+
}, ZH = Ae.lazy(() => Promise.resolve().then(() => JX)), WH = Ae.lazy(() => Promise.resolve().then(() => rJ));
|
|
21895
21895
|
TN.propTypes = {
|
|
21896
21896
|
apiKey: It.string.isRequired,
|
|
21897
21897
|
mapType: It.string.isRequired,
|
|
@@ -41575,7 +41575,7 @@ function Uk({ apiKey: t, gmApiKey: o, mapboxAccessToken: s, venue: c, locationId
|
|
|
41575
41575
|
if (window.mapsindoors !== void 0)
|
|
41576
41576
|
return Yi();
|
|
41577
41577
|
const vs = document.createElement("script");
|
|
41578
|
-
vs.setAttribute("type", "text/javascript"), vs.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.
|
|
41578
|
+
vs.setAttribute("type", "text/javascript"), vs.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.53.0/mapsindoors-4.53.0.js.gz"), vs.setAttribute("integrity", "sha384-IsNj6stQDSG4iTEwy1y7owcPWDNsrog0L2L4atScDtLAHlbAMLqr2ztgdg4Pt5kS"), vs.setAttribute("crossorigin", "anonymous"), document.body.appendChild(vs), vs.onload = () => {
|
|
41579
41579
|
Yi();
|
|
41580
41580
|
};
|
|
41581
41581
|
});
|
|
@@ -42015,7 +42015,10 @@ function UX({ root: t }) {
|
|
|
42015
42015
|
function VX(t, o = {}) {
|
|
42016
42016
|
return PX(t, o, { mount: FX, update: BX, unmount: UX });
|
|
42017
42017
|
}
|
|
42018
|
-
|
|
42018
|
+
function HX() {
|
|
42019
|
+
return "1.96.6";
|
|
42020
|
+
}
|
|
42021
|
+
const QX = VX(Vk, {
|
|
42019
42022
|
props: {
|
|
42020
42023
|
apiKey: "string",
|
|
42021
42024
|
gmApiKey: "string",
|
|
@@ -42053,13 +42056,14 @@ const HX = VX(Vk, {
|
|
|
42053
42056
|
devicePosition: "object"
|
|
42054
42057
|
}
|
|
42055
42058
|
});
|
|
42056
|
-
window.customElements.define("mapsindoors-map",
|
|
42057
|
-
|
|
42058
|
-
|
|
42059
|
+
window.customElements.define("mapsindoors-map", QX);
|
|
42060
|
+
window.getMapTemplateVersion = HX;
|
|
42061
|
+
var Jv = { exports: {} }, YX = Jv.exports, ND;
|
|
42062
|
+
function $X() {
|
|
42059
42063
|
return ND || (ND = 1, (function(t, o) {
|
|
42060
42064
|
(function(s, c) {
|
|
42061
42065
|
t.exports = c();
|
|
42062
|
-
})(
|
|
42066
|
+
})(YX, (function() {
|
|
42063
42067
|
var s, c, p;
|
|
42064
42068
|
function v(i, D) {
|
|
42065
42069
|
if (!s)
|
|
@@ -49761,7 +49765,7 @@ ${JSON.stringify(h, null, 2)}
|
|
|
49761
49765
|
return Math.abs(Zo) >= tn * fr ? Zo : -(function(Lo, uo, eo, Po, Fo, So, ko) {
|
|
49762
49766
|
var co, vr, mo, ss, Hi, Hr, Bo, ms, Ho, ua, wo, qs, Pc, Fl, xl, Fc, Jp, ca, Ea = Lo - Fo, Bl = eo - Fo, ku = uo - So, uu = Po - So;
|
|
49763
49767
|
bn[0] = (xl = (ms = Ea - (Bo = (Hr = ot * Ea) - (Hr - Ea))) * (ua = uu - (Ho = (Hr = ot * uu) - (Hr - uu))) - ((Fl = Ea * uu) - Bo * Ho - ms * Ho - Bo * ua)) - ((wo = xl - (Jp = (ms = ku - (Bo = (Hr = ot * ku) - (Hr - ku))) * (ua = Bl - (Ho = (Hr = ot * Bl) - (Hr - Bl))) - ((Fc = ku * Bl) - Bo * Ho - ms * Ho - Bo * ua))) + (Hi = xl - wo)) + (Hi - Jp), bn[1] = (Pc = Fl - ((qs = Fl + wo) - (Hi = qs - Fl)) + (wo - Hi)) - ((wo = Pc - Fc) + (Hi = Pc - wo)) + (Hi - Fc), bn[2] = qs - ((ca = qs + wo) - (Hi = ca - qs)) + (wo - Hi), bn[3] = ca;
|
|
49764
|
-
var em = (function(
|
|
49768
|
+
var em = (function(oJ, LT) {
|
|
49765
49769
|
for (var kT = LT[0], ob = 1; ob < 4; ob++) kT += LT[ob];
|
|
49766
49770
|
return kT;
|
|
49767
49771
|
})(0, bn), ry = Ct * ko;
|
|
@@ -76638,14 +76642,14 @@ ${d.vertexSource}`, this.forceManualRenderingForInstanceIDShaders && (K = K.repl
|
|
|
76638
76642
|
}));
|
|
76639
76643
|
})(Jv)), Jv.exports;
|
|
76640
76644
|
}
|
|
76641
|
-
var
|
|
76642
|
-
const
|
|
76645
|
+
var GX = $X();
|
|
76646
|
+
const ZX = /* @__PURE__ */ am(GX), WX = (t) => /* @__PURE__ */ Ae.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ Ae.createElement("path", { opacity: 0.12, d: "M12.3578 7.17895C12.2266 7.11336 12.161 7.08056 12.0922 7.06766C12.0313 7.05622 11.9687 7.05622 11.9078 7.06766C11.839 7.08056 11.7734 7.11336 11.6422 7.17895L2 12.0001L11.6422 16.8212C11.7734 16.8868 11.839 16.9196 11.9078 16.9325C11.9687 16.9439 12.0313 16.9439 12.0922 16.9325C12.161 16.9196 12.2266 16.8868 12.3578 16.8212L22 12.0001L12.3578 7.17895Z", fill: "white", style: {
|
|
76643
76647
|
fill: "white",
|
|
76644
76648
|
fillOpacity: 1
|
|
76645
76649
|
} }), /* @__PURE__ */ Ae.createElement("path", { d: "M12.3578 7.17895C12.2266 7.11336 12.161 7.08056 12.0922 7.06766C12.0313 7.05622 11.9687 7.05622 11.9078 7.06766C11.839 7.08056 11.7734 7.11336 11.6422 7.17895L2 12.0001L11.6422 16.8212C11.7734 16.8868 11.839 16.9196 11.9078 16.9325C11.9687 16.9439 12.0313 16.9439 12.0922 16.9325C12.161 16.9196 12.2266 16.8868 12.3578 16.8212L22 12.0001L12.3578 7.17895Z", stroke: "white", style: {
|
|
76646
76650
|
stroke: "white",
|
|
76647
76651
|
strokeOpacity: 1
|
|
76648
|
-
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })),
|
|
76652
|
+
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), qX = (t) => /* @__PURE__ */ Ae.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ Ae.createElement("path", { opacity: 0.12, d: "M12.3578 7.17895C12.2266 7.11336 12.161 7.08056 12.0922 7.06766C12.0313 7.05622 11.9687 7.05622 11.9078 7.06766C11.839 7.08056 11.7734 7.11336 11.6422 7.17895L2 12.0001L11.6422 16.8212C11.7734 16.8868 11.839 16.9196 11.9078 16.9325C11.9687 16.9439 12.0313 16.9439 12.0922 16.9325C12.161 16.9196 12.2266 16.8868 12.3578 16.8212L22 12.0001L12.3578 7.17895Z", fill: "#6B7280", style: {
|
|
76649
76653
|
fill: "#6B7280",
|
|
76650
76654
|
fill: "color(display-p3 0.4196 0.4471 0.5020)",
|
|
76651
76655
|
fillOpacity: 1
|
|
@@ -76653,13 +76657,13 @@ const GX = /* @__PURE__ */ am($X), ZX = (t) => /* @__PURE__ */ Ae.createElement(
|
|
|
76653
76657
|
stroke: "#6B7280",
|
|
76654
76658
|
stroke: "color(display-p3 0.4196 0.4471 0.5020)",
|
|
76655
76659
|
strokeOpacity: 1
|
|
76656
|
-
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })),
|
|
76660
|
+
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), KX = (t) => /* @__PURE__ */ Ae.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ Ae.createElement("path", { opacity: 0.12, d: "M12 12L21 7V16.0586C21 16.4012 21 16.5725 20.9495 16.7253C20.9049 16.8605 20.8318 16.9846 20.7354 17.0893C20.6263 17.2076 20.4766 17.2908 20.177 17.4572L12.777 21.5683C12.4934 21.7259 12.3516 21.8047 12.2015 21.8355C12.0685 21.8629 11.9315 21.8629 11.7986 21.8355C11.6484 21.8047 11.5066 21.7259 11.223 21.5683L3.82297 17.4572C3.52345 17.2908 3.37369 17.2076 3.26463 17.0893C3.16816 16.9846 3.09515 16.8605 3.05048 16.7253C3 16.5725 3 16.4012 3 16.0586V7L12 12Z", fill: "white", style: {
|
|
76657
76661
|
fill: "white",
|
|
76658
76662
|
fillOpacity: 1
|
|
76659
76663
|
} }), /* @__PURE__ */ Ae.createElement("path", { d: "M20.5 7.27783L12 12.0001M12 12.0001L3.49997 7.27783M12 12.0001V21.5001M21 16.0586V7.94153C21 7.59889 21 7.42757 20.9495 7.27477C20.9049 7.13959 20.8318 7.01551 20.7354 6.91082C20.6263 6.79248 20.4766 6.70928 20.177 6.54288L12.777 2.43177C12.4934 2.27421 12.3516 2.19543 12.2015 2.16454C12.0685 2.13721 11.9315 2.13721 11.7986 2.16454C11.6484 2.19543 11.5066 2.27421 11.223 2.43177L3.82297 6.54288C3.52345 6.70928 3.37369 6.79248 3.26463 6.91082C3.16816 7.01551 3.09515 7.13959 3.05048 7.27477C3 7.42757 3 7.59889 3 7.94153V16.0586C3 16.4013 3 16.5726 3.05048 16.7254C3.09515 16.8606 3.16816 16.9847 3.26463 17.0893C3.37369 17.2077 3.52345 17.2909 3.82297 17.4573L11.223 21.5684C11.5066 21.726 11.6484 21.8047 11.7986 21.8356C11.9315 21.863 12.0685 21.863 12.2015 21.8356C12.3516 21.8047 12.4934 21.726 12.777 21.5684L20.177 17.4573C20.4766 17.2909 20.6263 17.2077 20.7354 17.0893C20.8318 16.9847 20.9049 16.8606 20.9495 16.7254C21 16.5726 21 16.4013 21 16.0586Z", stroke: "white", style: {
|
|
76660
76664
|
stroke: "white",
|
|
76661
76665
|
strokeOpacity: 1
|
|
76662
|
-
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })),
|
|
76666
|
+
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), XX = (t) => /* @__PURE__ */ Ae.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ Ae.createElement("path", { opacity: 0.12, d: "M12 12L21 7V16.0586C21 16.4012 21 16.5725 20.9495 16.7253C20.9049 16.8605 20.8318 16.9846 20.7354 17.0893C20.6263 17.2076 20.4766 17.2908 20.177 17.4572L12.777 21.5683C12.4934 21.7259 12.3516 21.8047 12.2015 21.8355C12.0685 21.8629 11.9315 21.8629 11.7986 21.8355C11.6484 21.8047 11.5066 21.7259 11.223 21.5683L3.82297 17.4572C3.52345 17.2908 3.37369 17.2076 3.26463 17.0893C3.16816 16.9846 3.09515 16.8605 3.05048 16.7253C3 16.5725 3 16.4012 3 16.0586V7L12 12Z", fill: "#6B7280", style: {
|
|
76663
76667
|
fill: "#6B7280",
|
|
76664
76668
|
fill: "color(display-p3 0.4196 0.4471 0.5020)",
|
|
76665
76669
|
fillOpacity: 1
|
|
@@ -76720,7 +76724,7 @@ function Qk({ mapView: t, pitch: o, reset: s, activeColor: c = "#005655", show2D
|
|
|
76720
76724
|
className: "view-mode-switch__button",
|
|
76721
76725
|
onClick: () => M(Pd.clicked2D),
|
|
76722
76726
|
style: { backgroundColor: v === Pd.clicked2D ? c : "white" },
|
|
76723
|
-
children: v === Pd.clicked2D ? /* @__PURE__ */ Ve.jsx(
|
|
76727
|
+
children: v === Pd.clicked2D ? /* @__PURE__ */ Ve.jsx(WX, {}) : /* @__PURE__ */ Ve.jsx(qX, {})
|
|
76724
76728
|
}
|
|
76725
76729
|
),
|
|
76726
76730
|
/* @__PURE__ */ Ve.jsx(
|
|
@@ -76729,7 +76733,7 @@ function Qk({ mapView: t, pitch: o, reset: s, activeColor: c = "#005655", show2D
|
|
|
76729
76733
|
className: "view-mode-switch__button",
|
|
76730
76734
|
onClick: () => M(Pd.clicked3D),
|
|
76731
76735
|
style: { backgroundColor: [Pd.initial3D, Pd.clicked3D].includes(v) ? c : "white" },
|
|
76732
|
-
children: [Pd.initial3D, Pd.clicked3D].includes(v) ? /* @__PURE__ */ Ve.jsx(
|
|
76736
|
+
children: [Pd.initial3D, Pd.clicked3D].includes(v) ? /* @__PURE__ */ Ve.jsx(KX, {}) : /* @__PURE__ */ Ve.jsx(XX, {})
|
|
76733
76737
|
}
|
|
76734
76738
|
)
|
|
76735
76739
|
] }),
|
|
@@ -76760,7 +76764,7 @@ function Yk({ accessToken: t, onInitialized: o, center: s, zoom: c, bounds: p, b
|
|
|
76760
76764
|
padding: z?.fitBoundsPadding
|
|
76761
76765
|
}));
|
|
76762
76766
|
}, [V, s, c, v, M, p, z]), Ae.useEffect(() => {
|
|
76763
|
-
window.mapboxgl =
|
|
76767
|
+
window.mapboxgl = ZX;
|
|
76764
76768
|
const J = {
|
|
76765
76769
|
accessToken: t,
|
|
76766
76770
|
element: document.getElementById("map"),
|
|
@@ -76778,11 +76782,11 @@ function Yk({ accessToken: t, onInitialized: o, center: s, zoom: c, bounds: p, b
|
|
|
76778
76782
|
G(oe), !ys(z?.mapboxMapStyle) && !J.useMapsIndoorsMapboxStyle && oe?.getMap()?.setStyle(z.mapboxMapStyle), o(oe);
|
|
76779
76783
|
}, []), /* @__PURE__ */ Ve.jsx("div", { className: "mapsindoors-map mapbox-map-container", id: "map", children: D && /* @__PURE__ */ Ve.jsx(Qk, { reset: i, mapView: V, pitch: M, activeColor: z?.brandingColor, show2DModelsIn3D: B?.appSettings?.show2DModelsIn3D }) });
|
|
76780
76784
|
}
|
|
76781
|
-
const
|
|
76785
|
+
const JX = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
76782
76786
|
__proto__: null,
|
|
76783
76787
|
default: Yk
|
|
76784
76788
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
76785
|
-
function
|
|
76789
|
+
function eJ(t, o, s, c) {
|
|
76786
76790
|
function p(v) {
|
|
76787
76791
|
return v instanceof s ? v : new s(function(M) {
|
|
76788
76792
|
M(v);
|
|
@@ -76809,10 +76813,10 @@ function JX(t, o, s, c) {
|
|
|
76809
76813
|
z((c = c.apply(t, [])).next());
|
|
76810
76814
|
});
|
|
76811
76815
|
}
|
|
76812
|
-
function
|
|
76816
|
+
function tJ(t) {
|
|
76813
76817
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
76814
76818
|
}
|
|
76815
|
-
var
|
|
76819
|
+
var nJ = function t(o, s) {
|
|
76816
76820
|
if (o === s) return !0;
|
|
76817
76821
|
if (o && s && typeof o == "object" && typeof s == "object") {
|
|
76818
76822
|
if (o.constructor !== s.constructor) return !1;
|
|
@@ -76836,7 +76840,7 @@ var tJ = function t(o, s) {
|
|
|
76836
76840
|
return !0;
|
|
76837
76841
|
}
|
|
76838
76842
|
return o !== o && s !== s;
|
|
76839
|
-
},
|
|
76843
|
+
}, iJ = /* @__PURE__ */ tJ(nJ);
|
|
76840
76844
|
const LD = "__googleMapsScriptId";
|
|
76841
76845
|
var Q0;
|
|
76842
76846
|
(function(t) {
|
|
@@ -76854,7 +76858,7 @@ class Pm {
|
|
|
76854
76858
|
*/
|
|
76855
76859
|
constructor({ apiKey: o, authReferrerPolicy: s, channel: c, client: p, id: v = LD, language: M, libraries: i = [], mapIds: D, nonce: z, region: B, retries: V = 3, url: G = "https://maps.googleapis.com/maps/api/js", version: J }) {
|
|
76856
76860
|
if (this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = o, this.authReferrerPolicy = s, this.channel = c, this.client = p, this.id = v || LD, this.language = M, this.libraries = i, this.mapIds = D, this.nonce = z, this.region = B, this.retries = V, this.url = G, this.version = J, Pm.instance) {
|
|
76857
|
-
if (!
|
|
76861
|
+
if (!iJ(this.options, Pm.instance.options))
|
|
76858
76862
|
throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(Pm.instance.options)}`);
|
|
76859
76863
|
return Pm.instance;
|
|
76860
76864
|
}
|
|
@@ -76954,7 +76958,7 @@ class Pm {
|
|
|
76954
76958
|
oe = oe[B] || (oe[B] = {});
|
|
76955
76959
|
const we = oe.maps || (oe.maps = {}), Se = /* @__PURE__ */ new Set(), _e = new URLSearchParams(), te = () => (
|
|
76956
76960
|
// @ts-ignore
|
|
76957
|
-
M || (M = new Promise((se, Ie) =>
|
|
76961
|
+
M || (M = new Promise((se, Ie) => eJ(this, void 0, void 0, function* () {
|
|
76958
76962
|
var ke;
|
|
76959
76963
|
yield i = J.createElement("script"), i.id = this.id, _e.set("libraries", [...Se] + "");
|
|
76960
76964
|
for (D in v)
|
|
@@ -77047,10 +77051,10 @@ function $k({ apiKey: t, onInitialized: o, center: s, zoom: c, bounds: p, headin
|
|
|
77047
77051
|
});
|
|
77048
77052
|
}, []), /* @__PURE__ */ Ve.jsx("div", { className: "mapsindoors-map google-maps-map-container", id: "map" });
|
|
77049
77053
|
}
|
|
77050
|
-
const
|
|
77054
|
+
const rJ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
77051
77055
|
__proto__: null,
|
|
77052
77056
|
default: $k
|
|
77053
77057
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
77054
77058
|
export {
|
|
77055
|
-
|
|
77059
|
+
QX as default
|
|
77056
77060
|
};
|