@road-labs/map-sdk 3.0.3-rc.16 → 3.0.4-rc.18

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/index.mjs CHANGED
@@ -185,7 +185,7 @@ const Xr = {
185
185
  "filters.efluxChargers": "E-Flux-laders",
186
186
  "filters.noAdditionalFee": "Zonder extra kosten per sessie",
187
187
  "filters.available": "Beschikbaar",
188
- "filters.charging": "Laden",
188
+ "filters.charging": "Bezet",
189
189
  "filters.notAvailable": "Niet beschikbaar",
190
190
  "filters.chargingPower": "Laadvermogen [kW]",
191
191
  "filters.connectorType": "Aansluitingstype",
@@ -221,14 +221,14 @@ const Xr = {
221
221
  "filters.authCapability.creditCard": "Creditcard / pinpas",
222
222
  "filters.authCapability.remoteStartStop": "Op afstand starten/stoppen",
223
223
  "evse.statusAvailable": "Beschikbaar",
224
- "evse.statusCharging": "Laden",
224
+ "evse.statusCharging": "Bezet",
225
225
  "evse.statusUnavailable": "Niet beschikbaar",
226
226
  "evse.statusError": "Fout",
227
227
  "evse.statusRemoved": "Verwijderd",
228
228
  "evse.statusPlanned": "Gepland",
229
229
  "evse.statusReserved": "Gereserveerd",
230
- "evse.statusInoperative": "Inoperative",
231
- "evse.statusOutOfOrder": "Uit van orde",
230
+ "evse.statusInoperative": "Buiten gebruik",
231
+ "evse.statusOutOfOrder": "Defect",
232
232
  "evse.statusUnknown": "Onbekend",
233
233
  "locationType.onStreet": "Op straat",
234
234
  "locationType.parkingGarage": "Parkeergarage",
@@ -238,9 +238,9 @@ const Xr = {
238
238
  "locationType.unknown": "Onbekend",
239
239
  "tariffPriceComponent.viewTariff": "Tariefnotitie bekijken",
240
240
  "tariffNote.subHeader": "Tariefnotities",
241
- "tariffNote.eFluxScheduledTariffNote": "Een gepland tarief overschrijft de basis tariefprijzen voor een specifieke periode.",
241
+ "tariffNote.eFluxScheduledTariffNote": "Een gepland tarief overschrijft de basistariefprijzen voor een specifieke periode.",
242
242
  "tariffNote.dynamicScheduledTariffNote": "De dynamische prijs wordt automatisch aangepast op basis van de energiemarktprijs (interval van 1 uur).",
243
- "tariffNote.scheduledTariffNote": "Een gepland tarief overschrijft de basis tariefprijzen voor een specifieke periode.",
243
+ "tariffNote.scheduledTariffNote": "Een gepland tarief overschrijft de basistariefprijzen voor een specifieke periode.",
244
244
  "tariffNote.baseTariffNote": "De hier getoonde tarieven zijn door de roamingpartner aan E-Flux verstrekt. De nauwkeurigheid kan variëren afhankelijk van de aanbieder.",
245
245
  "tariff.congestionPricing": "Congestietarief kan van toepassing zijn",
246
246
  "tariff.fullDetailsHeader": "Tariefdetails",
@@ -337,8 +337,8 @@ const Xr = {
337
337
  "evse.statusRemoved": "Entfernt",
338
338
  "evse.statusPlanned": "Geplant",
339
339
  "evse.statusReserved": "Reserviert",
340
- "evse.statusInoperative": "Inoperative",
341
- "evse.statusOutOfOrder": "Ausgeschaltet",
340
+ "evse.statusInoperative": "Außer Betrieb",
341
+ "evse.statusOutOfOrder": "Defekt",
342
342
  "evse.statusError": "Fehler",
343
343
  "evse.statusUnknown": "Unbekannt",
344
344
  "evse.pricing": "Preisbildung",
@@ -465,7 +465,7 @@ const Xr = {
465
465
  "tariffNote.dynamicScheduledTariffNote": "Le prix dynamique est ajusté automatiquement en fonction du prix du marché de l'énergie (intervalle d'une heure).",
466
466
  "tariffNote.scheduledTariffNote": "Un tarif programmé remplace les prix de base du tarif pour une période spécifique.",
467
467
  "tariffNote.baseTariffNote": "Les tarifs affichés ici ont été transmis à E-Flux par le partenaire d'itinérance. La précision peut varier en fonction du fournisseur.",
468
- "tariff.congestionPricing": "Tarification de congestion peut s'appliquer",
468
+ "tariff.congestionPricing": "Une tarification de congestion peut s'appliquer",
469
469
  "tariff.fullDetailsHeader": "Détails du tarif",
470
470
  "tariff.lastUpdated": "Mis à jour {{date}}",
471
471
  "tariff.report": "Signaler",
@@ -558,7 +558,7 @@ const Xr = {
558
558
  "evse.statusUnavailable": "Non disponibile",
559
559
  "evse.statusRemoved": "Rimossa",
560
560
  "evse.statusPlanned": "Pianificata",
561
- "evse.statusReserved": "Réservé",
561
+ "evse.statusReserved": "Prenotata",
562
562
  "evse.statusInoperative": "Inoperativo",
563
563
  "evse.statusOutOfOrder": "Fuori servizio",
564
564
  "evse.statusError": "Errore",
@@ -1162,7 +1162,7 @@ const tr = "EUR", Rt = jn({
1162
1162
  w,
1163
1163
  $
1164
1164
  );
1165
- async function z({ ids: N, status: L }) {
1165
+ async function V({ ids: N, status: L }) {
1166
1166
  D({ type: "loading" });
1167
1167
  try {
1168
1168
  const { data: k } = await F({
@@ -1175,7 +1175,7 @@ const tr = "EUR", Rt = jn({
1175
1175
  }
1176
1176
  }
1177
1177
  J(() => {
1178
- t.options.locationId && z({
1178
+ t.options.locationId && V({
1179
1179
  ids: [t.options.locationId],
1180
1180
  status: h.status
1181
1181
  }).then((N) => {
@@ -1202,7 +1202,7 @@ const tr = "EUR", Rt = jn({
1202
1202
  ));
1203
1203
  }).catch((N) => c(N));
1204
1204
  }, []), J(() => {
1205
- C?.length && z({
1205
+ C?.length && V({
1206
1206
  ids: C,
1207
1207
  status: h.status
1208
1208
  });
@@ -1221,7 +1221,7 @@ const tr = "EUR", Rt = jn({
1221
1221
  `, L.appendChild(k);
1222
1222
  }
1223
1223
  }, [t.options.theming]);
1224
- const R = !!(u && n?.googleApiKey && (K || !oe(w, "v2"))), V = ce(() => ({
1224
+ const R = !!(u && n?.googleApiKey && (K || !oe(w, "v2"))), z = ce(() => ({
1225
1225
  options: n,
1226
1226
  setPlace: d,
1227
1227
  place: l,
@@ -1272,7 +1272,7 @@ const tr = "EUR", Rt = jn({
1272
1272
  R,
1273
1273
  O
1274
1274
  ]);
1275
- return /* @__PURE__ */ a(Rt.Provider, { value: V, children: e });
1275
+ return /* @__PURE__ */ a(Rt.Provider, { value: z, children: e });
1276
1276
  };
1277
1277
  function W() {
1278
1278
  const e = U.useContext(Rt);
@@ -1702,11 +1702,11 @@ function rr({
1702
1702
  o.style.zIndex = `${r}`;
1703
1703
  }, [r, o]), Yr(i, o);
1704
1704
  }
1705
- const $i = "CustomMarker-module_container", Vi = {
1705
+ const $i = "CustomMarker-module_container", zi = {
1706
1706
  container: $i
1707
- }, zi = new Intl.NumberFormat(void 0, {
1707
+ }, Vi = new Intl.NumberFormat(void 0, {
1708
1708
  maximumSignificantDigits: 3
1709
- }), Bi = (e) => zi.format(e), Ui = ({
1709
+ }), Bi = (e) => Vi.format(e), Ui = ({
1710
1710
  data: e,
1711
1711
  map: t,
1712
1712
  onClick: n,
@@ -1722,7 +1722,7 @@ const $i = "CustomMarker-module_container", Vi = {
1722
1722
  return /* @__PURE__ */ a(rr, { position: e.centroid, map: t, zIndex: r ? 99 : 0, children: /* @__PURE__ */ a(
1723
1723
  "button",
1724
1724
  {
1725
- className: Vi.container,
1725
+ className: zi.container,
1726
1726
  onClick: o,
1727
1727
  style: s,
1728
1728
  onTouchEndCapture: o,
@@ -2536,7 +2536,7 @@ const Fo = {
2536
2536
  // the row around the pills lets map gestures through; the pills themselves
2537
2537
  // take clicks
2538
2538
  pointerEvents: "auto"
2539
- }, $o = "#fff", mr = "#3a3a3a", Vo = [
2539
+ }, $o = "#fff", mr = "#3a3a3a", zo = [
2540
2540
  "1px 0 0",
2541
2541
  "-1px 0 0",
2542
2542
  "0 1px 0",
@@ -2545,7 +2545,7 @@ const Fo = {
2545
2545
  "-1px -1px 0",
2546
2546
  "1px -1px 0",
2547
2547
  "-1px 1px 0"
2548
- ].map((e) => `${e} ${$o}`).join(", "), zo = {
2548
+ ].map((e) => `${e} ${$o}`).join(", "), Vo = {
2549
2549
  display: "flex",
2550
2550
  alignItems: "center",
2551
2551
  gap: 6,
@@ -2554,7 +2554,7 @@ const Fo = {
2554
2554
  fontWeight: 700,
2555
2555
  lineHeight: "13px",
2556
2556
  color: mr,
2557
- textShadow: Vo,
2557
+ textShadow: zo,
2558
2558
  pointerEvents: "auto"
2559
2559
  }, hr = {
2560
2560
  padding: 0,
@@ -2688,7 +2688,7 @@ function Go() {
2688
2688
  }
2689
2689
  )
2690
2690
  ),
2691
- _.length > 1 && /* @__PURE__ */ a("div", { style: zo, role: "group", children: _.map((K, Z) => /* @__PURE__ */ p(U.Fragment, { children: [
2691
+ _.length > 1 && /* @__PURE__ */ a("div", { style: Vo, role: "group", children: _.map((K, Z) => /* @__PURE__ */ p(U.Fragment, { children: [
2692
2692
  Z > 0 && /* @__PURE__ */ a("span", { "aria-hidden": "true", children: "|" }),
2693
2693
  /* @__PURE__ */ a(
2694
2694
  "button",
@@ -2877,13 +2877,13 @@ function Zo() {
2877
2877
  function I(T) {
2878
2878
  return O(T) === u;
2879
2879
  }
2880
- function z(T) {
2880
+ function V(T) {
2881
2881
  return O(T) === r;
2882
2882
  }
2883
2883
  function R(T) {
2884
2884
  return O(T) === C;
2885
2885
  }
2886
- function V(T) {
2886
+ function z(T) {
2887
2887
  return O(T) === v;
2888
2888
  }
2889
2889
  function N(T) {
@@ -2898,7 +2898,7 @@ function Zo() {
2898
2898
  function se(T) {
2899
2899
  return O(T) === f;
2900
2900
  }
2901
- G.AsyncMode = g, G.ConcurrentMode = _, G.ContextConsumer = q, G.ContextProvider = K, G.Element = Z, G.ForwardRef = te, G.Fragment = ae, G.Lazy = ge, G.Memo = ue, G.Portal = w, G.Profiler = $, G.StrictMode = X, G.Suspense = le, G.isAsyncMode = Ie, G.isConcurrentMode = y, G.isContextConsumer = E, G.isContextProvider = F, G.isElement = H, G.isForwardRef = I, G.isFragment = z, G.isLazy = R, G.isMemo = V, G.isPortal = N, G.isProfiler = L, G.isStrictMode = k, G.isSuspense = se, G.isValidElementType = D, G.typeOf = O;
2901
+ G.AsyncMode = g, G.ConcurrentMode = _, G.ContextConsumer = q, G.ContextProvider = K, G.Element = Z, G.ForwardRef = te, G.Fragment = ae, G.Lazy = ge, G.Memo = ue, G.Portal = w, G.Profiler = $, G.StrictMode = X, G.Suspense = le, G.isAsyncMode = Ie, G.isConcurrentMode = y, G.isContextConsumer = E, G.isContextProvider = F, G.isElement = H, G.isForwardRef = I, G.isFragment = V, G.isLazy = R, G.isMemo = z, G.isPortal = N, G.isProfiler = L, G.isStrictMode = k, G.isSuspense = se, G.isValidElementType = D, G.typeOf = O;
2902
2902
  })()), G;
2903
2903
  }
2904
2904
  var dn;
@@ -3071,33 +3071,33 @@ function Xo() {
3071
3071
  function b(y) {
3072
3072
  if (process.env.NODE_ENV !== "production")
3073
3073
  var E = {}, F = 0;
3074
- function H(z, R, V, N, L, k, se) {
3075
- if (N = N || h, k = k || V, se !== n) {
3074
+ function H(V, R, z, N, L, k, se) {
3075
+ if (N = N || h, k = k || z, se !== n) {
3076
3076
  if (l) {
3077
3077
  var T = new Error(
3078
3078
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
3079
3079
  );
3080
3080
  throw T.name = "Invariant Violation", T;
3081
3081
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
3082
- var ye = N + ":" + V;
3082
+ var ye = N + ":" + z;
3083
3083
  !E[ye] && // Avoid spamming the console because they are often not actionable except for lib authors
3084
3084
  F < 3 && (o(
3085
3085
  "You are manually calling a React.PropTypes validation function for the `" + k + "` prop on `" + N + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
3086
3086
  ), E[ye] = !0, F++);
3087
3087
  }
3088
3088
  }
3089
- return R[V] == null ? z ? R[V] === null ? new m("The " + L + " `" + k + "` is marked as required " + ("in `" + N + "`, but its value is `null`.")) : new m("The " + L + " `" + k + "` is marked as required in " + ("`" + N + "`, but its value is `undefined`.")) : null : y(R, V, N, L, k);
3089
+ return R[z] == null ? V ? R[z] === null ? new m("The " + L + " `" + k + "` is marked as required " + ("in `" + N + "`, but its value is `null`.")) : new m("The " + L + " `" + k + "` is marked as required in " + ("`" + N + "`, but its value is `undefined`.")) : null : y(R, z, N, L, k);
3090
3090
  }
3091
3091
  var I = H.bind(null, !1);
3092
3092
  return I.isRequired = H.bind(null, !0), I;
3093
3093
  }
3094
3094
  function M(y) {
3095
- function E(F, H, I, z, R, V) {
3095
+ function E(F, H, I, V, R, z) {
3096
3096
  var N = F[H], L = X(N);
3097
3097
  if (L !== y) {
3098
3098
  var k = le(N);
3099
3099
  return new m(
3100
- "Invalid " + z + " `" + R + "` of type " + ("`" + k + "` supplied to `" + I + "`, expected ") + ("`" + y + "`."),
3100
+ "Invalid " + V + " `" + R + "` of type " + ("`" + k + "` supplied to `" + I + "`, expected ") + ("`" + y + "`."),
3101
3101
  { expectedType: y }
3102
3102
  );
3103
3103
  }
@@ -3109,16 +3109,16 @@ function Xo() {
3109
3109
  return b(s);
3110
3110
  }
3111
3111
  function D(y) {
3112
- function E(F, H, I, z, R) {
3112
+ function E(F, H, I, V, R) {
3113
3113
  if (typeof y != "function")
3114
3114
  return new m("Property `" + R + "` of component `" + I + "` has invalid PropType notation inside arrayOf.");
3115
- var V = F[H];
3116
- if (!Array.isArray(V)) {
3117
- var N = X(V);
3118
- return new m("Invalid " + z + " `" + R + "` of type " + ("`" + N + "` supplied to `" + I + "`, expected an array."));
3115
+ var z = F[H];
3116
+ if (!Array.isArray(z)) {
3117
+ var N = X(z);
3118
+ return new m("Invalid " + V + " `" + R + "` of type " + ("`" + N + "` supplied to `" + I + "`, expected an array."));
3119
3119
  }
3120
- for (var L = 0; L < V.length; L++) {
3121
- var k = y(V, L, I, z, R + "[" + L + "]", n);
3120
+ for (var L = 0; L < z.length; L++) {
3121
+ var k = y(z, L, I, V, R + "[" + L + "]", n);
3122
3122
  if (k instanceof Error)
3123
3123
  return k;
3124
3124
  }
@@ -3127,32 +3127,32 @@ function Xo() {
3127
3127
  return b(E);
3128
3128
  }
3129
3129
  function O() {
3130
- function y(E, F, H, I, z) {
3130
+ function y(E, F, H, I, V) {
3131
3131
  var R = E[F];
3132
3132
  if (!c(R)) {
3133
- var V = X(R);
3134
- return new m("Invalid " + I + " `" + z + "` of type " + ("`" + V + "` supplied to `" + H + "`, expected a single ReactElement."));
3133
+ var z = X(R);
3134
+ return new m("Invalid " + I + " `" + V + "` of type " + ("`" + z + "` supplied to `" + H + "`, expected a single ReactElement."));
3135
3135
  }
3136
3136
  return null;
3137
3137
  }
3138
3138
  return b(y);
3139
3139
  }
3140
3140
  function g() {
3141
- function y(E, F, H, I, z) {
3141
+ function y(E, F, H, I, V) {
3142
3142
  var R = E[F];
3143
3143
  if (!e.isValidElementType(R)) {
3144
- var V = X(R);
3145
- return new m("Invalid " + I + " `" + z + "` of type " + ("`" + V + "` supplied to `" + H + "`, expected a single ReactElement type."));
3144
+ var z = X(R);
3145
+ return new m("Invalid " + I + " `" + V + "` of type " + ("`" + z + "` supplied to `" + H + "`, expected a single ReactElement type."));
3146
3146
  }
3147
3147
  return null;
3148
3148
  }
3149
3149
  return b(y);
3150
3150
  }
3151
3151
  function _(y) {
3152
- function E(F, H, I, z, R) {
3152
+ function E(F, H, I, V, R) {
3153
3153
  if (!(F[H] instanceof y)) {
3154
- var V = y.name || h, N = Ie(F[H]);
3155
- return new m("Invalid " + z + " `" + R + "` of type " + ("`" + N + "` supplied to `" + I + "`, expected ") + ("instance of `" + V + "`."));
3154
+ var z = y.name || h, N = Ie(F[H]);
3155
+ return new m("Invalid " + V + " `" + R + "` of type " + ("`" + N + "` supplied to `" + I + "`, expected ") + ("instance of `" + z + "`."));
3156
3156
  }
3157
3157
  return null;
3158
3158
  }
@@ -3163,28 +3163,28 @@ function Xo() {
3163
3163
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
3164
3164
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
3165
3165
  ) : o("Invalid argument supplied to oneOf, expected an array.")), s;
3166
- function E(F, H, I, z, R) {
3167
- for (var V = F[H], N = 0; N < y.length; N++)
3168
- if (C(V, y[N]))
3166
+ function E(F, H, I, V, R) {
3167
+ for (var z = F[H], N = 0; N < y.length; N++)
3168
+ if (C(z, y[N]))
3169
3169
  return null;
3170
3170
  var L = JSON.stringify(y, function(se, T) {
3171
3171
  var ye = le(T);
3172
3172
  return ye === "symbol" ? String(T) : T;
3173
3173
  });
3174
- return new m("Invalid " + z + " `" + R + "` of value `" + String(V) + "` " + ("supplied to `" + I + "`, expected one of " + L + "."));
3174
+ return new m("Invalid " + V + " `" + R + "` of value `" + String(z) + "` " + ("supplied to `" + I + "`, expected one of " + L + "."));
3175
3175
  }
3176
3176
  return b(E);
3177
3177
  }
3178
3178
  function K(y) {
3179
- function E(F, H, I, z, R) {
3179
+ function E(F, H, I, V, R) {
3180
3180
  if (typeof y != "function")
3181
3181
  return new m("Property `" + R + "` of component `" + I + "` has invalid PropType notation inside objectOf.");
3182
- var V = F[H], N = X(V);
3182
+ var z = F[H], N = X(z);
3183
3183
  if (N !== "object")
3184
- return new m("Invalid " + z + " `" + R + "` of type " + ("`" + N + "` supplied to `" + I + "`, expected an object."));
3185
- for (var L in V)
3186
- if (r(V, L)) {
3187
- var k = y(V, L, I, z, R + "." + L, n);
3184
+ return new m("Invalid " + V + " `" + R + "` of type " + ("`" + N + "` supplied to `" + I + "`, expected an object."));
3185
+ for (var L in z)
3186
+ if (r(z, L)) {
3187
+ var k = y(z, L, I, V, R + "." + L, n);
3188
3188
  if (k instanceof Error)
3189
3189
  return k;
3190
3190
  }
@@ -3202,21 +3202,21 @@ function Xo() {
3202
3202
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ve(F) + " at index " + E + "."
3203
3203
  ), s;
3204
3204
  }
3205
- function H(I, z, R, V, N) {
3205
+ function H(I, V, R, z, N) {
3206
3206
  for (var L = [], k = 0; k < y.length; k++) {
3207
- var se = y[k], T = se(I, z, R, V, N, n);
3207
+ var se = y[k], T = se(I, V, R, z, N, n);
3208
3208
  if (T == null)
3209
3209
  return null;
3210
3210
  T.data && r(T.data, "expectedType") && L.push(T.data.expectedType);
3211
3211
  }
3212
3212
  var ye = L.length > 0 ? ", expected one of type [" + L.join(", ") + "]" : "";
3213
- return new m("Invalid " + V + " `" + N + "` supplied to " + ("`" + R + "`" + ye + "."));
3213
+ return new m("Invalid " + z + " `" + N + "` supplied to " + ("`" + R + "`" + ye + "."));
3214
3214
  }
3215
3215
  return b(H);
3216
3216
  }
3217
3217
  function te() {
3218
- function y(E, F, H, I, z) {
3219
- return w(E[F]) ? null : new m("Invalid " + I + " `" + z + "` supplied to " + ("`" + H + "`, expected a ReactNode."));
3218
+ function y(E, F, H, I, V) {
3219
+ return w(E[F]) ? null : new m("Invalid " + I + " `" + V + "` supplied to " + ("`" + H + "`, expected a ReactNode."));
3220
3220
  }
3221
3221
  return b(y);
3222
3222
  }
@@ -3226,15 +3226,15 @@ function Xo() {
3226
3226
  );
3227
3227
  }
3228
3228
  function ge(y) {
3229
- function E(F, H, I, z, R) {
3230
- var V = F[H], N = X(V);
3229
+ function E(F, H, I, V, R) {
3230
+ var z = F[H], N = X(z);
3231
3231
  if (N !== "object")
3232
- return new m("Invalid " + z + " `" + R + "` of type `" + N + "` " + ("supplied to `" + I + "`, expected `object`."));
3232
+ return new m("Invalid " + V + " `" + R + "` of type `" + N + "` " + ("supplied to `" + I + "`, expected `object`."));
3233
3233
  for (var L in y) {
3234
3234
  var k = y[L];
3235
3235
  if (typeof k != "function")
3236
- return ae(I, z, R, L, le(k));
3237
- var se = k(V, L, I, z, R + "." + L, n);
3236
+ return ae(I, V, R, L, le(k));
3237
+ var se = k(z, L, I, V, R + "." + L, n);
3238
3238
  if (se)
3239
3239
  return se;
3240
3240
  }
@@ -3243,21 +3243,21 @@ function Xo() {
3243
3243
  return b(E);
3244
3244
  }
3245
3245
  function ue(y) {
3246
- function E(F, H, I, z, R) {
3247
- var V = F[H], N = X(V);
3246
+ function E(F, H, I, V, R) {
3247
+ var z = F[H], N = X(z);
3248
3248
  if (N !== "object")
3249
- return new m("Invalid " + z + " `" + R + "` of type `" + N + "` " + ("supplied to `" + I + "`, expected `object`."));
3249
+ return new m("Invalid " + V + " `" + R + "` of type `" + N + "` " + ("supplied to `" + I + "`, expected `object`."));
3250
3250
  var L = t({}, F[H], y);
3251
3251
  for (var k in L) {
3252
3252
  var se = y[k];
3253
3253
  if (r(y, k) && typeof se != "function")
3254
- return ae(I, z, R, k, le(se));
3254
+ return ae(I, V, R, k, le(se));
3255
3255
  if (!se)
3256
3256
  return new m(
3257
- "Invalid " + z + " `" + R + "` key `" + k + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(F[H], null, " ") + `
3257
+ "Invalid " + V + " `" + R + "` key `" + k + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(F[H], null, " ") + `
3258
3258
  Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
3259
3259
  );
3260
- var T = se(V, k, I, z, R + "." + k, n);
3260
+ var T = se(z, k, I, V, R + "." + k, n);
3261
3261
  if (T)
3262
3262
  return T;
3263
3263
  }
@@ -3428,7 +3428,7 @@ var oa = process.env.NODE_ENV !== "production" ? P.oneOfType([P.number, P.shape(
3428
3428
  exitDone: P.string,
3429
3429
  exitActive: P.string
3430
3430
  })]) : null;
3431
- const Vt = U.createContext(null);
3431
+ const zt = U.createContext(null);
3432
3432
  var Cr = function(t) {
3433
3433
  return t.scrollTop;
3434
3434
  }, Ue = "unmounted", Ae = "exited", me = "entering", Ce = "entered", Ye = "exiting", Te = /* @__PURE__ */ (function(e) {
@@ -3553,13 +3553,13 @@ var Cr = function(t) {
3553
3553
  var c = gr(o, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
3554
3554
  return (
3555
3555
  // allows for nested Transitions
3556
- /* @__PURE__ */ U.createElement(Vt.Provider, {
3556
+ /* @__PURE__ */ U.createElement(zt.Provider, {
3557
3557
  value: null
3558
3558
  }, typeof s == "function" ? s(i, c) : U.cloneElement(U.Children.only(s), c))
3559
3559
  );
3560
3560
  }, t;
3561
3561
  })(U.Component);
3562
- Te.contextType = Vt;
3562
+ Te.contextType = zt;
3563
3563
  Te.propTypes = process.env.NODE_ENV !== "production" ? {
3564
3564
  /**
3565
3565
  * A React reference to DOM element that need to transition:
@@ -3758,7 +3758,7 @@ var sa = function(t, n) {
3758
3758
  return t && n && n.split(" ").forEach(function(r) {
3759
3759
  return ia(t, r);
3760
3760
  });
3761
- }, zt = /* @__PURE__ */ (function(e) {
3761
+ }, Vt = /* @__PURE__ */ (function(e) {
3762
3762
  Ht(t, e);
3763
3763
  function t() {
3764
3764
  for (var r, i = arguments.length, o = new Array(i), s = 0; s < i; s++)
@@ -3817,10 +3817,10 @@ var sa = function(t, n) {
3817
3817
  }));
3818
3818
  }, t;
3819
3819
  })(U.Component);
3820
- zt.defaultProps = {
3820
+ Vt.defaultProps = {
3821
3821
  classNames: ""
3822
3822
  };
3823
- zt.propTypes = process.env.NODE_ENV !== "production" ? ct({}, Te.propTypes, {
3823
+ Vt.propTypes = process.env.NODE_ENV !== "production" ? ct({}, Te.propTypes, {
3824
3824
  /**
3825
3825
  * The animation classNames applied to the component as it appears, enters,
3826
3826
  * exits or has finished the transition. A single name can be provided, which
@@ -4041,7 +4041,7 @@ var _e = {
4041
4041
  case Ce:
4042
4042
  f = d;
4043
4043
  }
4044
- return /* @__PURE__ */ U.createElement(Vt.Provider, {
4044
+ return /* @__PURE__ */ U.createElement(zt.Provider, {
4045
4045
  value: {
4046
4046
  isMounting: !this.appeared
4047
4047
  }
@@ -4082,7 +4082,7 @@ const br = jn({
4082
4082
  name: "none"
4083
4083
  }
4084
4084
  });
4085
- function Ve() {
4085
+ function ze() {
4086
4086
  return U.useContext(br);
4087
4087
  }
4088
4088
  function Ee({
@@ -4123,7 +4123,7 @@ function Ee({
4123
4123
  }
4124
4124
  }), [t, n, l, d]);
4125
4125
  return /* @__PURE__ */ a(br.Provider, { value: u, children: /* @__PURE__ */ a(Bt, { mode: "out-in", children: /* @__PURE__ */ a(
4126
- zt,
4126
+ Vt,
4127
4127
  {
4128
4128
  classNames: {
4129
4129
  enter: Ne.slideEnter,
@@ -4240,11 +4240,11 @@ function fe({
4240
4240
  ) })
4241
4241
  ] });
4242
4242
  }
4243
- const Ha = "Range-module_container", $a = "Range-module_input", Va = "Range-module_ticksContainer", za = "Range-module_tick", tt = {
4243
+ const Ha = "Range-module_container", $a = "Range-module_input", za = "Range-module_ticksContainer", Va = "Range-module_tick", tt = {
4244
4244
  container: Ha,
4245
4245
  input: $a,
4246
- ticksContainer: Va,
4247
- tick: za
4246
+ ticksContainer: za,
4247
+ tick: Va
4248
4248
  };
4249
4249
  function En({ ticks: e, value: t, onChange: n }) {
4250
4250
  const r = U.useRef(null), i = e.findIndex((s) => s.value === t), o = i / (e.length - 1) * 100;
@@ -4747,7 +4747,7 @@ function gs() {
4747
4747
  }), u = oe(i.version, "v3") && r?.showPriceFilter, f = typeof l.maxEnergyPrice == "number" ? or(c, {
4748
4748
  amount: l.maxEnergyPrice,
4749
4749
  currency: s
4750
- }) : void 0, { setView: h } = Ve(), v = oe(i.version, "v2") && r?.operators?.length > 1, C = be();
4750
+ }) : void 0, { setView: h } = ze(), v = oe(i.version, "v2") && r?.operators?.length > 1, C = be();
4751
4751
  return J(() => {
4752
4752
  C.current && n !== C.current && d(n);
4753
4753
  }, [n]), J(() => {
@@ -5366,14 +5366,14 @@ function wr() {
5366
5366
  }
5367
5367
  );
5368
5368
  }
5369
- const $s = "SidebarContainer-module_container", Vs = {
5369
+ const $s = "SidebarContainer-module_container", zs = {
5370
5370
  container: $s
5371
5371
  };
5372
5372
  function He({ children: e }) {
5373
- return /* @__PURE__ */ a("div", { className: Vs.container, children: e });
5373
+ return /* @__PURE__ */ a("div", { className: zs.container, children: e });
5374
5374
  }
5375
- const zs = "Debug-module_container", Bs = "Debug-module_content", Us = "Debug-module_connectorHeader", Ws = "Debug-module_code", js = "Debug-module_evse", Re = {
5376
- container: zs,
5375
+ const Vs = "Debug-module_container", Bs = "Debug-module_content", Us = "Debug-module_connectorHeader", Ws = "Debug-module_code", js = "Debug-module_evse", Re = {
5376
+ container: Vs,
5377
5377
  content: Bs,
5378
5378
  connectorHeader: Us,
5379
5379
  code: Ws,
@@ -5717,7 +5717,7 @@ function rl(e) {
5717
5717
  now: /* @__PURE__ */ new Date()
5718
5718
  }).length ? "dynamic" : "scheduled" : "none";
5719
5719
  }
5720
- const ze = {
5720
+ const Ve = {
5721
5721
  CONNECTOR_POWER_TYPE_AC_1_PHASE: "CONNECTOR_POWER_TYPE_AC_1_PHASE",
5722
5722
  CONNECTOR_POWER_TYPE_AC_2_PHASE: "CONNECTOR_POWER_TYPE_AC_2_PHASE",
5723
5723
  CONNECTOR_POWER_TYPE_AC_2_PHASE_SPLIT: "CONNECTOR_POWER_TYPE_AC_2_PHASE_SPLIT",
@@ -5726,13 +5726,13 @@ const ze = {
5726
5726
  };
5727
5727
  function il(e) {
5728
5728
  switch (e.connectorPowerType) {
5729
- case ze.CONNECTOR_POWER_TYPE_AC_1_PHASE:
5730
- case ze.CONNECTOR_POWER_TYPE_DC:
5729
+ case Ve.CONNECTOR_POWER_TYPE_AC_1_PHASE:
5730
+ case Ve.CONNECTOR_POWER_TYPE_DC:
5731
5731
  return e.power.maxVoltage * e.power.maxAmperage / 1e3;
5732
- case ze.CONNECTOR_POWER_TYPE_AC_2_PHASE:
5733
- case ze.CONNECTOR_POWER_TYPE_AC_2_PHASE_SPLIT:
5732
+ case Ve.CONNECTOR_POWER_TYPE_AC_2_PHASE:
5733
+ case Ve.CONNECTOR_POWER_TYPE_AC_2_PHASE_SPLIT:
5734
5734
  return e.power.maxVoltage * e.power.maxAmperage * 2 / 1e3;
5735
- case ze.CONNECTOR_POWER_TYPE_AC_3_PHASE:
5735
+ case Ve.CONNECTOR_POWER_TYPE_AC_3_PHASE:
5736
5736
  return e.power.maxVoltage * e.power.maxAmperage * 3 / 1e3;
5737
5737
  default:
5738
5738
  return 0;
@@ -6250,7 +6250,7 @@ const Nl = ({
6250
6250
  text: o ? /* @__PURE__ */ a("a", { href: o, target: "_blank", rel: "noopener noreferrer", children: r }) : r
6251
6251
  }
6252
6252
  );
6253
- }, Vl = ({ evses: e }) => {
6253
+ }, zl = ({ evses: e }) => {
6254
6254
  const { t } = W(), n = e?.filter((r) => r.status === "AVAILABLE") || [];
6255
6255
  return /* @__PURE__ */ a(
6256
6256
  he,
@@ -6259,8 +6259,8 @@ const Nl = ({
6259
6259
  text: `${n.length} / ${e?.length || 0} ${t("evse.statusAvailable")}`
6260
6260
  }
6261
6261
  );
6262
- }, zl = "OperatorSection-module_block", Bl = "OperatorSection-module_role", Ul = "OperatorSection-module_header", Wl = "OperatorSection-module_name", jl = "OperatorSection-module_logo", Gl = "OperatorSection-module_website", Le = {
6263
- block: zl,
6262
+ }, Vl = "OperatorSection-module_block", Bl = "OperatorSection-module_role", Ul = "OperatorSection-module_header", Wl = "OperatorSection-module_name", jl = "OperatorSection-module_logo", Gl = "OperatorSection-module_website", Le = {
6263
+ block: Vl,
6264
6264
  role: Bl,
6265
6265
  header: Ul,
6266
6266
  name: Wl,
@@ -6783,12 +6783,12 @@ const yc = ({ tariff: e, additionalCharges: t }) => {
6783
6783
  "FRIDAY",
6784
6784
  "SATURDAY"
6785
6785
  ];
6786
- function Vn(e) {
6786
+ function zn(e) {
6787
6787
  const [t, n] = e.split(":").map(Number);
6788
6788
  return t * 60 + (n || 0);
6789
6789
  }
6790
6790
  function bc(e, t, n) {
6791
- const r = n.getHours() * 60 + n.getMinutes(), i = Vn(e), o = Vn(t);
6791
+ const r = n.getHours() * 60 + n.getMinutes(), i = zn(e), o = zn(t);
6792
6792
  return o < i ? r >= i || r < o : r >= i && r < o;
6793
6793
  }
6794
6794
  function Tc(e, t) {
@@ -6836,7 +6836,7 @@ const Nc = {
6836
6836
  display: "flex",
6837
6837
  flexWrap: "wrap",
6838
6838
  gap: 6
6839
- }, Vr = {
6839
+ }, zr = {
6840
6840
  fontSize: 12,
6841
6841
  lineHeight: 1.3,
6842
6842
  padding: "1px 8px",
@@ -6844,12 +6844,12 @@ const Nc = {
6844
6844
  background: "color-mix(in srgb, var(--roadmap-brand-color, #6102d3) 12%, transparent)",
6845
6845
  color: "var(--roadmap-brand-color, #6102d3)",
6846
6846
  border: "1px solid color-mix(in srgb, var(--roadmap-brand-color, #6102d3) 30%, transparent)"
6847
- }, _c = Vr, Sc = {
6847
+ }, _c = zr, Sc = {
6848
6848
  ENERGY: "tariffPriceComponent.energy",
6849
6849
  TIME: "tariffPriceComponent.time",
6850
6850
  FLAT: "tariffPriceComponent.flat",
6851
6851
  PARKING_TIME: "tariffPriceComponent.parkingTime"
6852
- }, zn = ["ENERGY", "TIME", "FLAT", "PARKING_TIME"];
6852
+ }, Vn = ["ENERGY", "TIME", "FLAT", "PARKING_TIME"];
6853
6853
  function Bn(e, t) {
6854
6854
  return new Intl.NumberFormat(void 0, {
6855
6855
  style: "currency",
@@ -6861,17 +6861,17 @@ function xc(e) {
6861
6861
  const t = e.vat ? e.vat / 100 : 0;
6862
6862
  return e.price + e.price * t;
6863
6863
  }
6864
- function zr(e, t) {
6864
+ function Vr(e, t) {
6865
6865
  return e.type === "PARKING_TIME" && (e.price || 0) === 0 && !!t?.maxDuration && (!t.minDuration || t.minDuration === 0);
6866
6866
  }
6867
6867
  function Ac(e, t) {
6868
6868
  const n = [];
6869
6869
  return e.forEach((r) => {
6870
6870
  (r.priceComponents || []).forEach((i) => {
6871
- t && (i.price || 0) <= 0 && !zr(i, r.restrictions) || n.push({ pc: i, restrictions: r.restrictions });
6871
+ t && (i.price || 0) <= 0 && !Vr(i, r.restrictions) || n.push({ pc: i, restrictions: r.restrictions });
6872
6872
  });
6873
6873
  }), n.sort((r, i) => {
6874
- const o = zn.indexOf(r.pc.type), s = zn.indexOf(i.pc.type);
6874
+ const o = Vn.indexOf(r.pc.type), s = Vn.indexOf(i.pc.type);
6875
6875
  return o === -1 ? 1 : s === -1 ? -1 : o - s;
6876
6876
  });
6877
6877
  }
@@ -6882,10 +6882,10 @@ const Oc = ({
6882
6882
  highlight: r = !1,
6883
6883
  additionalCharges: i = []
6884
6884
  }) => {
6885
- const { t: o } = W(), s = Ac(e, n), c = r ? _c : Vr;
6885
+ const { t: o } = W(), s = Ac(e, n), c = r ? _c : zr;
6886
6886
  return s.length === 0 && i.length === 0 ? null : /* @__PURE__ */ p("div", { style: Nc, children: [
6887
6887
  s.map(({ pc: l, restrictions: d }, u) => {
6888
- if (zr(l, d))
6888
+ if (Vr(l, d))
6889
6889
  return /* @__PURE__ */ a("div", { style: c, children: o("tariffPriceComponent.parkingTimeWait", {
6890
6890
  minutes: String(Math.floor(d.maxDuration / 60))
6891
6891
  }) }, `pc-${u}`);
@@ -7112,7 +7112,7 @@ const Oc = ({
7112
7112
  }
7113
7113
  )
7114
7114
  ] });
7115
- }, Vc = ({
7115
+ }, zc = ({
7116
7116
  connector: e,
7117
7117
  tariffs: t,
7118
7118
  cdrAdditionalCharges: n,
@@ -7140,7 +7140,7 @@ const Oc = ({
7140
7140
  }
7141
7141
  )
7142
7142
  ] });
7143
- }, zc = {
7143
+ }, Vc = {
7144
7144
  background: "color-mix(in srgb, var(--roadmap-text-color, #2a2a2a) 4%, transparent)",
7145
7145
  borderRadius: 8,
7146
7146
  padding: "8px 12px",
@@ -7160,11 +7160,11 @@ const Oc = ({
7160
7160
  borderLeft: `3px solid ${o}`,
7161
7161
  borderRadius: 2
7162
7162
  };
7163
- return /* @__PURE__ */ p("div", { style: zc, children: [
7163
+ return /* @__PURE__ */ p("div", { style: Vc, children: [
7164
7164
  /* @__PURE__ */ a(mc, { evse: e }),
7165
7165
  /* @__PURE__ */ a(hc, { evse: e }),
7166
7166
  e.connectors.map((c, l) => /* @__PURE__ */ a("div", { style: s, children: /* @__PURE__ */ a(
7167
- Vc,
7167
+ zc,
7168
7168
  {
7169
7169
  connector: c,
7170
7170
  tariffs: t,
@@ -7199,7 +7199,7 @@ const Gc = ({ directions: e }) => {
7199
7199
  r === "cpo" && /* @__PURE__ */ a("div", { className: x.publishingMode, children: e?.publish ? "Public location" : "Private location" }),
7200
7200
  /* @__PURE__ */ a(Gc, { directions: e.directions }),
7201
7201
  /* @__PURE__ */ a($l, { location: e }),
7202
- /* @__PURE__ */ a(Vl, { evses: e.evses }),
7202
+ /* @__PURE__ */ a(zl, { evses: e.evses }),
7203
7203
  /* @__PURE__ */ a(
7204
7204
  Kl,
7205
7205
  {
@@ -7231,7 +7231,7 @@ const Gc = ({ directions: e }) => {
7231
7231
  ))
7232
7232
  ] });
7233
7233
  }, Kc = () => {
7234
- const { setView: e } = Ve(), { locations: t, locationsStatus: n, options: r } = W(), [i, o] = Y(0);
7234
+ const { setView: e } = ze(), { locations: t, locationsStatus: n, options: r } = W(), [i, o] = Y(0);
7235
7235
  J(() => {
7236
7236
  o(0);
7237
7237
  }, [t]);
@@ -7307,7 +7307,7 @@ function Yt({ onClick: e = () => {
7307
7307
  ] });
7308
7308
  }
7309
7309
  function Jc() {
7310
- const { t: e } = W(), { current: t, setView: n } = Ve(), { notes: r = [], evseId: i, locationName: o } = t?.args || {};
7310
+ const { t: e } = W(), { current: t, setView: n } = ze(), { notes: r = [], evseId: i, locationName: o } = t?.args || {};
7311
7311
  return /* @__PURE__ */ p(re, { children: [
7312
7312
  /* @__PURE__ */ a("div", { className: x.headerContainer, children: /* @__PURE__ */ p(
7313
7313
  "div",
@@ -7332,7 +7332,7 @@ function Jc() {
7332
7332
  ] });
7333
7333
  }
7334
7334
  function Xc() {
7335
- const { t: e } = W(), { current: t, setView: n } = Ve(), { connector: r, tariff: i, additionalCharges: o, locationName: s, evseId: c, notes: l } = t?.args || {};
7335
+ const { t: e } = W(), { current: t, setView: n } = ze(), { connector: r, tariff: i, additionalCharges: o, locationName: s, evseId: c, notes: l } = t?.args || {};
7336
7336
  return i || r?.tariff ? /* @__PURE__ */ p(re, { children: [
7337
7337
  /* @__PURE__ */ a("div", { className: x.headerContainer, children: /* @__PURE__ */ p(
7338
7338
  "div",
@@ -7438,7 +7438,7 @@ function o2(e, t) {
7438
7438
  }).format(n);
7439
7439
  }
7440
7440
  function a2() {
7441
- const { t: e, language: t } = W(), { current: n, setView: r } = Ve(), {
7441
+ const { t: e, language: t } = W(), { current: n, setView: r } = ze(), {
7442
7442
  tariff: i,
7443
7443
  additionalCharges: o,
7444
7444
  locationName: s,
@@ -7543,7 +7543,7 @@ function Ur({ onClick: e }) {
7543
7543
  return /* @__PURE__ */ a("button", { onClick: e, className: c2.closeButton, children: /* @__PURE__ */ a("img", { src: s2 }) });
7544
7544
  }
7545
7545
  function d2() {
7546
- const [e, t] = Y("locations"), { setView: n } = Ve();
7546
+ const [e, t] = Y("locations"), { setView: n } = ze();
7547
7547
  return /* @__PURE__ */ p(Ee, { name: "locations", currentView: e, onViewChange: t, children: [
7548
7548
  /* @__PURE__ */ a(Ee.View, { name: "locations", children: /* @__PURE__ */ p(He, { children: [
7549
7549
  /* @__PURE__ */ a(Ur, { onClick: () => n("none") }),