tempest-react-sdk 0.19.1 → 0.20.0

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.
@@ -1,16 +1,16 @@
1
- import { createPartialResponse as U1, installBackgroundSync as j1, installNotificationClickHandler as K1, installPrecache as H1, installPushHandler as G1, installRuntimeCache as J1, installSkipWaitingListener as Y1, registerServiceWorker as Q1, skipWaiting as X1, unregisterAllServiceWorkers as V1 } from "./sw.js";
1
+ import { createPartialResponse as j1, installBackgroundSync as K1, installNotificationClickHandler as H1, installPrecache as G1, installPushHandler as J1, installRuntimeCache as Y1, installSkipWaitingListener as Q1, registerServiceWorker as X1, skipWaiting as V1, unregisterAllServiceWorkers as Z1 } from "./sw.js";
2
2
  import { jsx as i, jsxs as $, Fragment as K } from "react/jsx-runtime";
3
3
  import { useId as G, useState as k, useCallback as S, useEffect as L, useMemo as P, Fragment as Tt, forwardRef as J, useRef as D, useContext as ve, createContext as we, cloneElement as Rn, createElement as fr, lazy as Pn, Suspense as On, Component as hr, isValidElement as _r, useSyncExternalStore as Fn } from "react";
4
4
  import { c as w } from "./cn-C0Sxc9eb.js";
5
5
  import { ArrowLeft as gr, X as yr } from "lucide-react";
6
6
  import { QueryClient as br, QueryClientProvider as vr, useQuery as Qt, keepPreviousData as wr, useInfiniteQuery as $r, useQueryClient as Xt, useMutation as Vt } from "@tanstack/react-query";
7
7
  import { Navigate as Nr, MemoryRouter as kr, HashRouter as xr, BrowserRouter as Sr, Routes as Tr, Route as tn } from "react-router-dom";
8
- import { BrowserRouter as eN, HashRouter as tN, Link as nN, MemoryRouter as rN, NavLink as sN, Navigate as oN, Outlet as aN, Route as iN, Routes as cN, redirect as lN, useLocation as uN, useMatch as dN, useNavigate as pN, useParams as mN, useRouteError as fN, useSearchParams as hN } from "react-router-dom";
8
+ import { BrowserRouter as tN, HashRouter as nN, Link as rN, MemoryRouter as sN, NavLink as oN, Navigate as aN, Outlet as iN, Route as cN, Routes as lN, redirect as uN, useLocation as dN, useMatch as pN, useNavigate as mN, useParams as fN, useRouteError as hN, useSearchParams as _N } from "react-router-dom";
9
9
  import { createPortal as tt } from "react-dom";
10
10
  import { I as Zt, h as en, f as Er } from "./projection-Wnqr_svy.js";
11
- import { E as gN, M as yN, S as bN, b as vN, c as wN, i as $N, a as NN, d as kN, n as xN, p as SN, e as TN, t as EN, u as CN, g as LN } from "./projection-Wnqr_svy.js";
11
+ import { E as yN, M as bN, S as vN, b as wN, c as $N, i as NN, a as kN, d as xN, n as SN, p as TN, e as EN, t as CN, u as LN, g as MN } from "./projection-Wnqr_svy.js";
12
12
  import { useFormContext as Cr, Controller as Lr, useForm as Mr } from "react-hook-form";
13
- import { Controller as DN, FormProvider as AN, useFieldArray as IN, useForm as RN, useFormContext as PN, useFormState as ON, useWatch as FN } from "react-hook-form";
13
+ import { Controller as AN, FormProvider as IN, useFieldArray as RN, useForm as PN, useFormContext as ON, useFormState as FN, useWatch as BN } from "react-hook-form";
14
14
  import { create as qt } from "zustand";
15
15
  import { persist as Bn, createJSONStorage as zn } from "zustand/middleware";
16
16
  import Dr from "dexie";
@@ -5907,6 +5907,17 @@ function O$() {
5907
5907
  const e = D(!0);
5908
5908
  return e.current ? (e.current = !1, !0) : !1;
5909
5909
  }
5910
+ function F$(e) {
5911
+ const [t, n] = k(null);
5912
+ return L(() => {
5913
+ if (!e) {
5914
+ n(null);
5915
+ return;
5916
+ }
5917
+ const r = URL.createObjectURL(e);
5918
+ return n(r), () => URL.revokeObjectURL(r);
5919
+ }, [e]), t;
5920
+ }
5910
5921
  const Wg = "tempest_wrapper_iB6ka", qg = "tempest_search_2y-yM", Ug = "tempest_sortButton_9p6w4", jg = "tempest_sortIndicator_bZMlH", wt = {
5911
5922
  wrapper: Wg,
5912
5923
  search: qg,
@@ -5916,7 +5927,7 @@ const Wg = "tempest_wrapper_iB6ka", qg = "tempest_search_2y-yM", Ug = "tempest_s
5916
5927
  function Kg(e, t) {
5917
5928
  return e == null && t == null ? 0 : e == null ? -1 : t == null ? 1 : typeof e == "number" && typeof t == "number" ? e - t : e instanceof Date && t instanceof Date ? e.getTime() - t.getTime() : typeof e == "boolean" && typeof t == "boolean" ? Number(e) - Number(t) : String(e).localeCompare(String(t), void 0, { numeric: !0 });
5918
5929
  }
5919
- function F$({
5930
+ function B$({
5920
5931
  data: e,
5921
5932
  columns: t,
5922
5933
  pageSize: n = 10,
@@ -6023,7 +6034,7 @@ const Hg = "tempest_tile_ZpED6", Gg = "tempest_interactive_3ICXQ", Jg = "tempest
6023
6034
  title: Zg,
6024
6035
  subtitle: ey
6025
6036
  };
6026
- function B$({
6037
+ function z$({
6027
6038
  leading: e,
6028
6039
  title: t,
6029
6040
  subtitle: n,
@@ -6073,7 +6084,7 @@ const ty = "tempest_fab_U3NIL", ny = "tempest_primary_8lnHI", ry = "tempest_surf
6073
6084
  bottomRight: py,
6074
6085
  bottomLeft: my
6075
6086
  };
6076
- function z$({
6087
+ function W$({
6077
6088
  icon: e,
6078
6089
  label: t,
6079
6090
  position: n = "bottom-right",
@@ -6117,7 +6128,7 @@ const fy = "tempest_rail_bvns5", hy = "tempest_header_Mikit", _y = "tempest_list
6117
6128
  badge: $y,
6118
6129
  label: Ny
6119
6130
  };
6120
- function W$({
6131
+ function q$({
6121
6132
  items: e,
6122
6133
  value: t,
6123
6134
  onChange: n,
@@ -6180,7 +6191,7 @@ function Ot(e, t) {
6180
6191
  const n = e % 12;
6181
6192
  return t === "PM" ? n + 12 : n;
6182
6193
  }
6183
- function q$({
6194
+ function U$({
6184
6195
  value: e,
6185
6196
  onChange: t,
6186
6197
  minuteStep: n = 5,
@@ -6272,7 +6283,7 @@ function By(e, t) {
6272
6283
  const n = t * 1.5;
6273
6284
  return Math.min(e / 2, n);
6274
6285
  }
6275
- function U$({
6286
+ function j$({
6276
6287
  onRefresh: e,
6277
6288
  children: t,
6278
6289
  threshold: n = 80,
@@ -6349,17 +6360,17 @@ function U$({
6349
6360
  }
6350
6361
  );
6351
6362
  }
6352
- function j$(e) {
6363
+ function K$(e) {
6353
6364
  return new Intl.NumberFormat("pt-BR", {
6354
6365
  style: "currency",
6355
6366
  currency: "BRL"
6356
6367
  }).format(e);
6357
6368
  }
6358
- function K$(e) {
6369
+ function H$(e) {
6359
6370
  const t = typeof e == "string" ? new Date(e) : e;
6360
6371
  return Number.isNaN(t.getTime()) ? "" : new Intl.DateTimeFormat("pt-BR").format(t);
6361
6372
  }
6362
- function H$(e) {
6373
+ function G$(e) {
6363
6374
  const t = typeof e == "string" ? new Date(e) : e;
6364
6375
  return Number.isNaN(t.getTime()) ? "" : new Intl.DateTimeFormat("pt-BR", {
6365
6376
  dateStyle: "short",
@@ -6373,14 +6384,14 @@ function zy(e) {
6373
6384
  function Wy(e) {
6374
6385
  return e.replace(/\D/g, "").slice(0, 11).replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d{1,2})$/, "$1-$2");
6375
6386
  }
6376
- function G$(e) {
6387
+ function J$(e) {
6377
6388
  return new Intl.NumberFormat("pt-BR", {
6378
6389
  style: "percent",
6379
6390
  minimumFractionDigits: 1,
6380
6391
  maximumFractionDigits: 1
6381
6392
  }).format(e);
6382
6393
  }
6383
- const J$ = {
6394
+ const Y$ = {
6384
6395
  get(e, t) {
6385
6396
  if (typeof window > "u") return t;
6386
6397
  try {
@@ -6405,31 +6416,31 @@ const J$ = {
6405
6416
  }
6406
6417
  }
6407
6418
  };
6408
- function Y$(e) {
6419
+ function Q$(e) {
6409
6420
  return e.normalize("NFD").replace(/[̀-ͯ]/g, "").toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "");
6410
6421
  }
6411
- function Q$(e, t, n = "…") {
6422
+ function X$(e, t, n = "…") {
6412
6423
  if (e.length <= t) return e;
6413
6424
  const r = Math.max(0, t - n.length);
6414
6425
  return e.slice(0, r).trimEnd() + n;
6415
6426
  }
6416
- function X$(e) {
6427
+ function V$(e) {
6417
6428
  return e.length === 0 ? e : e.charAt(0).toUpperCase() + e.slice(1);
6418
6429
  }
6419
- function V$(e) {
6430
+ function Z$(e) {
6420
6431
  const t = e.replace(/[^a-zA-Z0-9]+/g, " ").trim().split(/\s+/).filter(Boolean);
6421
6432
  return t.length === 0 ? "" : t.map((n, r) => {
6422
6433
  const s = n.toLowerCase();
6423
6434
  return r === 0 ? s : s.charAt(0).toUpperCase() + s.slice(1);
6424
6435
  }).join("");
6425
6436
  }
6426
- function Z$(e) {
6437
+ function e0(e) {
6427
6438
  return e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/([A-Z]+)([A-Z][a-z])/g, "$1-$2").replace(/[^a-zA-Z0-9]+/g, "-").replace(/^-+|-+$/g, "").toLowerCase();
6428
6439
  }
6429
- function e0(e, t, n) {
6440
+ function t0(e, t, n) {
6430
6441
  return e === 1 ? t : n ?? `${t}s`;
6431
6442
  }
6432
- function t0(e, t) {
6443
+ function n0(e, t) {
6433
6444
  const n = {};
6434
6445
  for (const r of e) {
6435
6446
  const s = t(r);
@@ -6437,7 +6448,7 @@ function t0(e, t) {
6437
6448
  }
6438
6449
  return n;
6439
6450
  }
6440
- function n0(e, t) {
6451
+ function r0(e, t) {
6441
6452
  const n = /* @__PURE__ */ new Set(), r = [];
6442
6453
  for (const s of e) {
6443
6454
  const o = t(s);
@@ -6445,7 +6456,7 @@ function n0(e, t) {
6445
6456
  }
6446
6457
  return r;
6447
6458
  }
6448
- function r0(e, t) {
6459
+ function s0(e, t) {
6449
6460
  if (t < 1)
6450
6461
  throw new RangeError(`chunk size must be >= 1, received ${t}`);
6451
6462
  const n = [];
@@ -6453,7 +6464,7 @@ function r0(e, t) {
6453
6464
  n.push(e.slice(r, r + t));
6454
6465
  return n;
6455
6466
  }
6456
- function s0(e, t, n = 1) {
6467
+ function o0(e, t, n = 1) {
6457
6468
  const r = [];
6458
6469
  if (n === 0) return r;
6459
6470
  if (n > 0)
@@ -6467,13 +6478,13 @@ function ut(e) {
6467
6478
  const t = Object.getPrototypeOf(e);
6468
6479
  return t === Object.prototype || t === null;
6469
6480
  }
6470
- function o0(e, t) {
6481
+ function a0(e, t) {
6471
6482
  const n = {};
6472
6483
  for (const r of t)
6473
6484
  Object.prototype.hasOwnProperty.call(e, r) && (n[r] = e[r]);
6474
6485
  return n;
6475
6486
  }
6476
- function a0(e, t) {
6487
+ function i0(e, t) {
6477
6488
  const n = new Set(t), r = {};
6478
6489
  for (const s of Object.keys(e))
6479
6490
  n.has(s) || (r[s] = e[s]);
@@ -6489,27 +6500,27 @@ function qy(e, t) {
6489
6500
  }
6490
6501
  return n;
6491
6502
  }
6492
- function i0(e) {
6503
+ function c0(e) {
6493
6504
  return e == null ? !0 : typeof e == "string" || Array.isArray(e) ? e.length === 0 : e instanceof Map || e instanceof Set ? e.size === 0 : ut(e) ? Object.keys(e).length === 0 : !1;
6494
6505
  }
6495
- function c0(e) {
6506
+ function l0(e) {
6496
6507
  return e != null;
6497
6508
  }
6498
- function l0(e) {
6509
+ function u0(e) {
6499
6510
  return typeof e == "string";
6500
6511
  }
6501
- function u0(e) {
6512
+ function d0(e) {
6502
6513
  return typeof e == "number" && !Number.isNaN(e);
6503
6514
  }
6504
- function d0(e) {
6515
+ function p0(e) {
6505
6516
  if (typeof e != "object" || e === null) return !1;
6506
6517
  const t = Object.getPrototypeOf(e);
6507
6518
  return t === Object.prototype || t === null;
6508
6519
  }
6509
- function p0(e, t) {
6520
+ function m0(e, t) {
6510
6521
  throw new Error(t ?? `Unexpected value: ${String(e)}`);
6511
6522
  }
6512
- function m0(e, t) {
6523
+ function f0(e, t) {
6513
6524
  let n;
6514
6525
  const r = (...s) => {
6515
6526
  n !== void 0 && clearTimeout(n), n = setTimeout(() => {
@@ -6520,7 +6531,7 @@ function m0(e, t) {
6520
6531
  n !== void 0 && (clearTimeout(n), n = void 0);
6521
6532
  }, r;
6522
6533
  }
6523
- function f0(e, t) {
6534
+ function h0(e, t) {
6524
6535
  let n, r, s = 0;
6525
6536
  const o = (c) => {
6526
6537
  s = Date.now(), e(...c);
@@ -6537,11 +6548,11 @@ function f0(e, t) {
6537
6548
  n !== void 0 && (clearTimeout(n), n = void 0), r = void 0, s = 0;
6538
6549
  }, a;
6539
6550
  }
6540
- function h0(e) {
6551
+ function _0(e) {
6541
6552
  let t = !1, n;
6542
6553
  return (...r) => (t || (t = !0, n = e(...r)), n);
6543
6554
  }
6544
- function _0(e) {
6555
+ function g0(e) {
6545
6556
  let t = !1, n, r;
6546
6557
  const s = (o) => {
6547
6558
  if (!t || o.length !== n.length) return !1;
@@ -6551,10 +6562,10 @@ function _0(e) {
6551
6562
  };
6552
6563
  return (...o) => (s(o) || (n = o, r = e(...o), t = !0), r);
6553
6564
  }
6554
- function g0(e) {
6565
+ function y0(e) {
6555
6566
  return new Promise((t) => setTimeout(t, e));
6556
6567
  }
6557
- function y0(e, t, n) {
6568
+ function b0(e, t, n) {
6558
6569
  return new Promise((r, s) => {
6559
6570
  const o = setTimeout(() => {
6560
6571
  const a = new Error(n ?? `Operation timed out after ${t}ms`);
@@ -6590,7 +6601,7 @@ class Yt extends Error {
6590
6601
  super(t.detail), this.name = "TempestApiError", this.status = t.status, this.detail = t.detail, this.code = t.code, this.requestId = t.requestId, this.body = t.body;
6591
6602
  }
6592
6603
  }
6593
- function b0(e) {
6604
+ function v0(e) {
6594
6605
  return typeof e == "object" && e !== null && typeof e.status == "number" && typeof e.detail == "string";
6595
6606
  }
6596
6607
  function Zn(e, t, n, r) {
@@ -6687,7 +6698,7 @@ function Ft(e) {
6687
6698
  upload: o
6688
6699
  };
6689
6700
  }
6690
- function v0(e, t, n) {
6701
+ function w0(e, t, n) {
6691
6702
  const r = e.safeParse(t);
6692
6703
  if (r.success)
6693
6704
  return r.data;
@@ -6711,7 +6722,7 @@ function Hy(e) {
6711
6722
  return e;
6712
6723
  }
6713
6724
  }
6714
- function w0(e) {
6725
+ function $0(e) {
6715
6726
  const {
6716
6727
  url: t,
6717
6728
  body: n,
@@ -6804,7 +6815,7 @@ function Gy(e, t) {
6804
6815
  );
6805
6816
  });
6806
6817
  }
6807
- async function $0(e, t = {}) {
6818
+ async function N0(e, t = {}) {
6808
6819
  const {
6809
6820
  retries: n = 3,
6810
6821
  initialDelay: r = 300,
@@ -6828,13 +6839,13 @@ async function $0(e, t = {}) {
6828
6839
  }
6829
6840
  throw d;
6830
6841
  }
6831
- function N0() {
6842
+ function k0() {
6832
6843
  return typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUUID() : "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (e) => {
6833
6844
  const t = Math.random() * 16;
6834
6845
  return (e === "x" ? Math.floor(t) : Math.floor(t) & 3 | 8).toString(16);
6835
6846
  });
6836
6847
  }
6837
- function k0(e, t) {
6848
+ function x0(e, t) {
6838
6849
  const { interval: n, disabled: r = !1, stopWhen: s, onError: o } = t, [a, c] = k(null), [l, u] = k(null), [d, p] = k(!r), m = D(r), f = D(!1), h = D(null);
6839
6850
  async function b() {
6840
6851
  if (!(m.current || f.current)) {
@@ -6894,7 +6905,7 @@ function Jy(e = {}) {
6894
6905
  )
6895
6906
  );
6896
6907
  }
6897
- function x0({ isAuthenticated: e, children: t, fallback: n }) {
6908
+ function S0({ isAuthenticated: e, children: t, fallback: n }) {
6898
6909
  return /* @__PURE__ */ i(K, { children: e ? t : n });
6899
6910
  }
6900
6911
  function Tn(e) {
@@ -6915,7 +6926,7 @@ function er(e) {
6915
6926
  throw new Error("Invalid JWT: header or payload is not valid JSON.");
6916
6927
  }
6917
6928
  }
6918
- function S0(e, t = 0) {
6929
+ function T0(e, t = 0) {
6919
6930
  try {
6920
6931
  const { payload: n } = er(e);
6921
6932
  if (typeof n.exp != "number") return !0;
@@ -6952,7 +6963,7 @@ function Xy(e) {
6952
6963
  const t = e ?? {};
6953
6964
  return { token: t.access_token, refreshToken: t.refresh_token };
6954
6965
  }
6955
- function T0(e) {
6966
+ function E0(e) {
6956
6967
  const {
6957
6968
  baseURL: t,
6958
6969
  loginPath: n = "/api/auth/login",
@@ -7012,7 +7023,7 @@ function T0(e) {
7012
7023
  return { useAuthStore: m, api: E, login: T, logout: R, refresh: A, getToken: v };
7013
7024
  }
7014
7025
  const tr = we(null);
7015
- function E0({ control: e, children: t }) {
7026
+ function C0({ control: e, children: t }) {
7016
7027
  return /* @__PURE__ */ i(tr.Provider, { value: e, children: t });
7017
7028
  }
7018
7029
  function Vy() {
@@ -7046,7 +7057,7 @@ function eb(e) {
7046
7057
  };
7047
7058
  }, [t, n]), r;
7048
7059
  }
7049
- function C0({ action: e, resource: t, params: n, children: r, fallback: s }) {
7060
+ function L0({ action: e, resource: t, params: n, children: r, fallback: s }) {
7050
7061
  const { allowed: o, isLoading: a } = eb({ action: e, resource: t, params: n });
7051
7062
  return a ? /* @__PURE__ */ i(K, { children: s ?? null }) : /* @__PURE__ */ i(K, { children: o ? r : s ?? null });
7052
7063
  }
@@ -7057,7 +7068,7 @@ function tb(e) {
7057
7068
  t.add(s);
7058
7069
  return t;
7059
7070
  }
7060
- function L0(e) {
7071
+ function M0(e) {
7061
7072
  const t = tb(e);
7062
7073
  return {
7063
7074
  can({ action: n, resource: r }) {
@@ -7068,7 +7079,7 @@ function L0(e) {
7068
7079
  function Bt(e) {
7069
7080
  return Array.isArray(e) ? e.filter((t) => typeof t == "string") : typeof e == "string" ? e.split(/\s+/).filter(Boolean) : [];
7070
7081
  }
7071
- function M0(e, t) {
7082
+ function D0(e, t) {
7072
7083
  try {
7073
7084
  const { payload: n } = er(e), r = t?.claim ?? "permissions", s = Bt(n[r]);
7074
7085
  if (s.length > 0) return s;
@@ -7081,7 +7092,7 @@ function M0(e, t) {
7081
7092
  return [];
7082
7093
  }
7083
7094
  }
7084
- function D0({
7095
+ function A0({
7085
7096
  component: e,
7086
7097
  onSuccess: t,
7087
7098
  onError: n,
@@ -7126,7 +7137,7 @@ function D0({
7126
7137
  width: u
7127
7138
  }) });
7128
7139
  }
7129
- function A0(e) {
7140
+ function I0(e) {
7130
7141
  const { exchange: t, onSuccess: n, onError: r } = e, [s, o] = k(null), [a, c] = k(null), [l, u] = k("pending"), d = D(!1);
7131
7142
  return L(() => {
7132
7143
  if (d.current) return;
@@ -7151,13 +7162,13 @@ const nb = {
7151
7162
  SHORT: 300 * 1e3,
7152
7163
  DEFAULT: 1800 * 1e3,
7153
7164
  LONG: 3600 * 1e3
7154
- }, I0 = {
7165
+ }, R0 = {
7155
7166
  REALTIME: 5 * 1e3,
7156
7167
  FAST: 30 * 1e3,
7157
7168
  DEFAULT: 60 * 1e3,
7158
7169
  SLOW: 300 * 1e3
7159
7170
  };
7160
- function R0(e, t) {
7171
+ function P0(e, t) {
7161
7172
  const n = { all: [e] };
7162
7173
  for (const [r, s] of Object.entries(t))
7163
7174
  typeof s == "function" ? n[r] = (...o) => [e, ...s(...o)] : n[r] = [e, ...s];
@@ -7183,20 +7194,20 @@ function sb({ children: e, client: t, defaultOptions: n }) {
7183
7194
  );
7184
7195
  return /* @__PURE__ */ i(vr, { client: r, children: e });
7185
7196
  }
7186
- function P0(e) {
7197
+ function O0(e) {
7187
7198
  if (typeof e != "object" || e === null) return !1;
7188
7199
  const t = e;
7189
7200
  return Array.isArray(t.items) && typeof t.total == "number" && typeof t.pages == "number";
7190
7201
  }
7191
- function O0(e) {
7202
+ function F0(e) {
7192
7203
  if (typeof e != "object" || e === null) return !1;
7193
7204
  const t = e;
7194
7205
  return Array.isArray(t.items) && typeof t.has_more == "boolean" && "next_cursor" in t;
7195
7206
  }
7196
- function F0(e = 20) {
7207
+ function B0(e = 20) {
7197
7208
  return { items: [], total: 0, page: 1, size: e, pages: 0 };
7198
7209
  }
7199
- function B0(e) {
7210
+ function z0(e) {
7200
7211
  const {
7201
7212
  queryKey: t,
7202
7213
  queryFn: n,
@@ -7234,7 +7245,7 @@ function B0(e) {
7234
7245
  }
7235
7246
  };
7236
7247
  }
7237
- function z0(e) {
7248
+ function W0(e) {
7238
7249
  const { queryKey: t, queryFn: n, limit: r = 20, orderBy: s, ascending: o = !1, ...a } = e, c = $r({
7239
7250
  ...a,
7240
7251
  queryKey: [...t, { limit: r, orderBy: s, ascending: o }],
@@ -7258,7 +7269,7 @@ function z0(e) {
7258
7269
  };
7259
7270
  }
7260
7271
  const ob = (e, t) => t == null ? `/${e}` : `/${e}/${t}`;
7261
- function W0(e, t = {}) {
7272
+ function q0(e, t = {}) {
7262
7273
  const {
7263
7274
  pageParam: n = "page",
7264
7275
  sizeParam: r = "size",
@@ -7300,7 +7311,7 @@ function W0(e, t = {}) {
7300
7311
  return u;
7301
7312
  }
7302
7313
  const nr = we(null);
7303
- function q0({ provider: e, children: t }) {
7314
+ function U0({ provider: e, children: t }) {
7304
7315
  return /* @__PURE__ */ i(nr.Provider, { value: e, children: t });
7305
7316
  }
7306
7317
  function ft() {
@@ -7315,7 +7326,7 @@ function ab(e, t) {
7315
7326
  function rr(e, t) {
7316
7327
  return ["data", e, "one", t];
7317
7328
  }
7318
- function U0(e, t, n) {
7329
+ function j0(e, t, n) {
7319
7330
  const r = ft();
7320
7331
  return Qt({
7321
7332
  queryKey: ab(e, t),
@@ -7323,7 +7334,7 @@ function U0(e, t, n) {
7323
7334
  ...n
7324
7335
  });
7325
7336
  }
7326
- function j0(e, t, n) {
7337
+ function K0(e, t, n) {
7327
7338
  const r = ft(), { enabled: s, ...o } = n ?? {};
7328
7339
  return Qt({
7329
7340
  queryKey: rr(e, t),
@@ -7332,7 +7343,7 @@ function j0(e, t, n) {
7332
7343
  ...o
7333
7344
  });
7334
7345
  }
7335
- function K0(e, t) {
7346
+ function H0(e, t) {
7336
7347
  const n = ft(), r = Xt();
7337
7348
  return Vt({
7338
7349
  mutationFn: (s) => n.create(e, s),
@@ -7342,7 +7353,7 @@ function K0(e, t) {
7342
7353
  ...t
7343
7354
  });
7344
7355
  }
7345
- function H0(e, t) {
7356
+ function G0(e, t) {
7346
7357
  const n = ft(), r = Xt();
7347
7358
  return Vt({
7348
7359
  mutationFn: ({ id: s, data: o }) => n.update(e, s, o),
@@ -7353,7 +7364,7 @@ function H0(e, t) {
7353
7364
  ...t
7354
7365
  });
7355
7366
  }
7356
- function G0(e, t) {
7367
+ function J0(e, t) {
7357
7368
  const n = ft(), r = Xt();
7358
7369
  return Vt({
7359
7370
  mutationFn: (s) => n.deleteOne(e, s),
@@ -7366,7 +7377,7 @@ function G0(e, t) {
7366
7377
  function ib({ when: e, redirectTo: t = "/", replace: n = !0, children: r }) {
7367
7378
  return /* @__PURE__ */ i(K, { children: e ? r : /* @__PURE__ */ i(Nr, { to: t, replace: n }) });
7368
7379
  }
7369
- function J0(e) {
7380
+ function Y0(e) {
7370
7381
  return e;
7371
7382
  }
7372
7383
  const En = /* @__PURE__ */ new WeakMap();
@@ -7406,7 +7417,7 @@ const ub = {
7406
7417
  hash: xr,
7407
7418
  memory: kr
7408
7419
  };
7409
- function Y0({
7420
+ function Q0({
7410
7421
  routes: e,
7411
7422
  router: t = "browser",
7412
7423
  basename: n,
@@ -7416,7 +7427,7 @@ function Y0({
7416
7427
  const o = P(() => sr(e), [e]), a = ub[t];
7417
7428
  return /* @__PURE__ */ i(a, { ...t === "memory" ? { basename: n, initialEntries: r } : { basename: n }, children: /* @__PURE__ */ i(On, { fallback: s, children: /* @__PURE__ */ i(Tr, { children: o }) }) });
7418
7429
  }
7419
- function Q0(e, t = {}) {
7430
+ function X0(e, t = {}) {
7420
7431
  if (!t.persist)
7421
7432
  return qt()(e);
7422
7433
  const { name: n, storage: r = "local", partialize: s, version: o, migrate: a } = t.persist, c = r === "session" ? () => sessionStorage : () => localStorage;
@@ -7430,7 +7441,7 @@ function Q0(e, t = {}) {
7430
7441
  })
7431
7442
  );
7432
7443
  }
7433
- function X0(e) {
7444
+ function V0(e) {
7434
7445
  const t = e;
7435
7446
  t.use = {};
7436
7447
  for (const n of Object.keys(e.getState()))
@@ -7503,7 +7514,7 @@ function pb({
7503
7514
  );
7504
7515
  return /* @__PURE__ */ i(or.Provider, { value: b, children: e });
7505
7516
  }
7506
- function V0() {
7517
+ function Z0() {
7507
7518
  const e = ve(or);
7508
7519
  if (!e) throw new Error("useTheme must be used inside a <ThemeProvider>");
7509
7520
  return e;
@@ -7594,7 +7605,7 @@ function hb() {
7594
7605
  if (!e) throw new Error("useI18n must be used inside an <I18nProvider>");
7595
7606
  return e;
7596
7607
  }
7597
- function Z0() {
7608
+ function e1() {
7598
7609
  return hb().t;
7599
7610
  }
7600
7611
  function _b(e = [], t = []) {
@@ -7624,7 +7635,7 @@ class gb extends hr {
7624
7635
  return typeof n == "function" ? n({ error: t, reset: this.reset }) : n;
7625
7636
  }
7626
7637
  }
7627
- function e1({ children: e, query: t, theme: n, i18n: r, errorBoundary: s }) {
7638
+ function t1({ children: e, query: t, theme: n, i18n: r, errorBoundary: s }) {
7628
7639
  let o = e;
7629
7640
  return r && (o = /* @__PURE__ */ i(fb, { ...r, children: o })), n !== !1 && (o = /* @__PURE__ */ i(pb, { ...n || {}, children: o })), t !== !1 && (o = /* @__PURE__ */ i(sb, { ...t || {}, children: o })), s && (o = /* @__PURE__ */ i(gb, { ...s, children: o })), /* @__PURE__ */ i(K, { children: o });
7630
7641
  }
@@ -7700,7 +7711,7 @@ function bb(e, t = {}) {
7700
7711
  }
7701
7712
  };
7702
7713
  }
7703
- function t1(e, t = {}) {
7714
+ function n1(e, t = {}) {
7704
7715
  const { enabled: n = !0, onMessage: r, ...s } = t, [o, a] = k("idle"), [c, l] = k(null), u = D(null), d = D(r);
7705
7716
  return d.current = r, L(() => {
7706
7717
  if (!n || !e) {
@@ -7808,7 +7819,7 @@ class $b {
7808
7819
  return t ? (this.config.onUnsubscribe && await this.config.onUnsubscribe(t.toJSON()), t.unsubscribe()) : !1;
7809
7820
  }
7810
7821
  }
7811
- function n1(e) {
7822
+ function r1(e) {
7812
7823
  const t = D(e);
7813
7824
  t.current = e;
7814
7825
  const n = P(
@@ -7896,13 +7907,13 @@ let Wt = null;
7896
7907
  function lr() {
7897
7908
  return Wt || (Wt = cr()), Wt;
7898
7909
  }
7899
- async function r1(e, t) {
7910
+ async function s1(e, t) {
7900
7911
  return lr().play(e, t);
7901
7912
  }
7902
- function s1() {
7913
+ function o1() {
7903
7914
  lr().stop();
7904
7915
  }
7905
- function o1() {
7916
+ function a1() {
7906
7917
  const e = D(null), [t, n] = k(!1);
7907
7918
  e.current || (e.current = cr()), L(() => () => {
7908
7919
  e.current?.stop();
@@ -7920,7 +7931,7 @@ class Nb extends Dr {
7920
7931
  super(t), this.version(n).stores({ [r]: s }), this.store = this.table(r);
7921
7932
  }
7922
7933
  }
7923
- function a1(e) {
7934
+ function i1(e) {
7924
7935
  const { databaseName: t, version: n, tableName: r, indexes: s, keyPath: o = "id", ownerField: a } = e, c = new Nb(t, n, r, s), l = c.store;
7925
7936
  function u(p, m) {
7926
7937
  return !a || !m ? p : { ...p, [a]: m };
@@ -7955,7 +7966,7 @@ function a1(e) {
7955
7966
  db: c
7956
7967
  };
7957
7968
  }
7958
- function i1() {
7969
+ function c1() {
7959
7970
  const [, e] = k(null);
7960
7971
  return S((t) => {
7961
7972
  e(() => {
@@ -7963,7 +7974,7 @@ function i1() {
7963
7974
  });
7964
7975
  }, []);
7965
7976
  }
7966
- function c1({ name: e, label: t, helperText: n, required: r, control: s, children: o }) {
7977
+ function l1({ name: e, label: t, helperText: n, required: r, control: s, children: o }) {
7967
7978
  const a = Cr(), c = s ?? a?.control;
7968
7979
  if (!c)
7969
7980
  throw new Error(
@@ -7993,7 +8004,7 @@ function c1({ name: e, label: t, helperText: n, required: r, control: s, childre
7993
8004
  }
7994
8005
  );
7995
8006
  }
7996
- function l1(e, t) {
8007
+ function u1(e, t) {
7997
8008
  const n = e.safeParse(t);
7998
8009
  if (n.success)
7999
8010
  return { success: !0, data: n.data, errors: {} };
@@ -8017,7 +8028,7 @@ function kb(e) {
8017
8028
  return { values: {}, errors: o };
8018
8029
  };
8019
8030
  }
8020
- function u1(e, t = {}) {
8031
+ function d1(e, t = {}) {
8021
8032
  return Mr({
8022
8033
  ...t,
8023
8034
  resolver: kb(e)
@@ -8026,7 +8037,7 @@ function u1(e, t = {}) {
8026
8037
  function ht(e) {
8027
8038
  return e.replace(/\D/g, "");
8028
8039
  }
8029
- function d1(e) {
8040
+ function p1(e) {
8030
8041
  const t = ht(e);
8031
8042
  if (t.length !== 11 || /^(\d)\1+$/.test(t)) return !1;
8032
8043
  const n = t.split("").map(Number);
@@ -8038,7 +8049,7 @@ function d1(e) {
8038
8049
  for (let o = 0; o < 10; o++) r += n[o] * (11 - o);
8039
8050
  return s = r * 10 % 11, s === 10 && (s = 0), s === n[10];
8040
8051
  }
8041
- function p1(e) {
8052
+ function m1(e) {
8042
8053
  const t = ht(e);
8043
8054
  if (t.length !== 14 || /^(\d)\1+$/.test(t)) return !1;
8044
8055
  const n = t.split("").map(Number), r = [5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2], s = [6, 5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2];
@@ -8056,7 +8067,7 @@ function xb(e) {
8056
8067
  function Sb(e) {
8057
8068
  return ht(e).slice(0, 14).replace(/(\d{2})(\d)/, "$1.$2").replace(/(\d{3})(\d)/, "$1.$2").replace(/(\d{3})(\d)/, "$1/$2").replace(/(\d{4})(\d)/, "$1-$2");
8058
8069
  }
8059
- function m1(e) {
8070
+ function f1(e) {
8060
8071
  return ht(e);
8061
8072
  }
8062
8073
  function Ct(e, t = "numeric") {
@@ -8073,7 +8084,7 @@ function Ct(e, t = "numeric") {
8073
8084
  );
8074
8085
  });
8075
8086
  }
8076
- const f1 = Ct(Wy), h1 = Ct(Sb), _1 = Ct(zy, "tel"), g1 = Ct(xb);
8087
+ const h1 = Ct(Wy), _1 = Ct(Sb), g1 = Ct(zy, "tel"), y1 = Ct(xb);
8077
8088
  function Tb(e, t, n) {
8078
8089
  return new Intl.NumberFormat(t, { style: "currency", currency: n }).format(e / 100);
8079
8090
  }
@@ -8081,7 +8092,7 @@ function Eb(e) {
8081
8092
  const t = e.replace(/\D/g, "");
8082
8093
  return t ? Number.parseInt(t, 10) : 0;
8083
8094
  }
8084
- const y1 = J(function({ value: t, onChange: n, currency: r = "BRL", locale: s = "pt-BR", ...o }, a) {
8095
+ const b1 = J(function({ value: t, onChange: n, currency: r = "BRL", locale: s = "pt-BR", ...o }, a) {
8085
8096
  return /* @__PURE__ */ i(
8086
8097
  Zt,
8087
8098
  {
@@ -8094,7 +8105,7 @@ const y1 = J(function({ value: t, onChange: n, currency: r = "BRL", locale: s =
8094
8105
  }
8095
8106
  );
8096
8107
  });
8097
- function b1() {
8108
+ function v1() {
8098
8109
  const [e, t] = k(!1), [n, r] = k(null), [s, o] = k(null), a = S(async (l) => {
8099
8110
  const u = l.replace(/\D/g, "");
8100
8111
  if (u.length !== 8)
@@ -8192,7 +8203,7 @@ function Lb(e, t = {}) {
8192
8203
  }
8193
8204
  };
8194
8205
  }
8195
- function v1(e, t = {}) {
8206
+ function w1(e, t = {}) {
8196
8207
  const { enabled: n = !0, onMessage: r, ...s } = t, [o, a] = k("idle"), [c, l] = k(null), u = D(null), d = D(r);
8197
8208
  d.current = r, L(() => {
8198
8209
  if (!n || !e) {
@@ -8226,7 +8237,7 @@ const Mb = 1.3, Db = 50, Ab = {
8226
8237
  function ur(e, t) {
8227
8238
  return t?.[e] ?? Ab[e] ?? 1;
8228
8239
  }
8229
- function w1(e, t, n = "car", r = {}) {
8240
+ function $1(e, t, n = "car", r = {}) {
8230
8241
  const {
8231
8242
  circuityFactor: s = Mb,
8232
8243
  carSpeedKmh: o = Db,
@@ -8251,7 +8262,7 @@ function Ib(e) {
8251
8262
  o.latitude < t && (t = o.latitude), o.latitude > n && (n = o.latitude), o.longitude < r && (r = o.longitude), o.longitude > s && (s = o.longitude);
8252
8263
  return { minLatitude: t, maxLatitude: n, minLongitude: r, maxLongitude: s };
8253
8264
  }
8254
- function $1(e) {
8265
+ function N1(e) {
8255
8266
  return {
8256
8267
  latitude: (e.minLatitude + e.maxLatitude) / 2,
8257
8268
  longitude: (e.minLongitude + e.maxLongitude) / 2
@@ -8266,7 +8277,7 @@ function Rb(e, t = 0.1) {
8266
8277
  maxLongitude: e.maxLongitude + o
8267
8278
  };
8268
8279
  }
8269
- function N1(e) {
8280
+ function k1(e) {
8270
8281
  const { baseUrl: t, fetch: n = globalThis.fetch, modeDurationFactors: r } = e, s = t.replace(/\/+$/, "");
8271
8282
  return {
8272
8283
  async route(o, a, c = {}) {
@@ -8350,7 +8361,7 @@ function Pb(e = {}) {
8350
8361
  }
8351
8362
  };
8352
8363
  }
8353
- function k1(e = {}) {
8364
+ function x1(e = {}) {
8354
8365
  const { autoStart: t = !1, onError: n, ...r } = e, [s, o] = k([]), [a, c] = k(0), [l, u] = k("idle"), d = D(null), p = D(n);
8355
8366
  p.current = n, L(() => {
8356
8367
  const b = Pb({
@@ -8405,7 +8416,7 @@ function Qb(e, t) {
8405
8416
  function Xb(e) {
8406
8417
  return e < 1 ? `${Math.round(e * 1e3)} m` : `${e % 1 === 0 ? e : e.toFixed(1)} km`;
8407
8418
  }
8408
- function x1({
8419
+ function S1({
8409
8420
  points: e,
8410
8421
  current: t,
8411
8422
  height: n = 320,
@@ -8597,7 +8608,7 @@ function x1({
8597
8608
  }
8598
8609
  );
8599
8610
  }
8600
- function S1(e = {}) {
8611
+ function T1(e = {}) {
8601
8612
  const { storageKey: t = "tempest-theme", defaultTheme: n = "system" } = e;
8602
8613
  if (typeof window > "u")
8603
8614
  return n === "dark" ? "dark" : "light";
@@ -8610,7 +8621,7 @@ function S1(e = {}) {
8610
8621
  const s = r ?? n;
8611
8622
  return s === "dark" || s === "light" ? s : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
8612
8623
  }
8613
- function T1(e = {}) {
8624
+ function E1(e = {}) {
8614
8625
  const t = e.storageKey ?? "tempest-theme", n = e.defaultTheme ?? "system";
8615
8626
  return `
8616
8627
  (function(){try{
@@ -8660,17 +8671,17 @@ function ev(e = {}) {
8660
8671
  };
8661
8672
  }
8662
8673
  const dr = we(null);
8663
- function E1({ adapter: e, children: t }) {
8674
+ function C1({ adapter: e, children: t }) {
8664
8675
  L(() => (e.init?.(), () => {
8665
8676
  e.flush?.();
8666
8677
  }), [e]);
8667
8678
  const n = P(() => e, [e]);
8668
8679
  return /* @__PURE__ */ i(dr.Provider, { value: n, children: t });
8669
8680
  }
8670
- function C1() {
8681
+ function L1() {
8671
8682
  return ve(dr);
8672
8683
  }
8673
- const L1 = {
8684
+ const M1 = {
8674
8685
  identify(e) {
8675
8686
  console.info("[telemetry] identify", e);
8676
8687
  },
@@ -8691,7 +8702,7 @@ function tv(e) {
8691
8702
  ...s ?? null
8692
8703
  };
8693
8704
  }
8694
- function M1(e) {
8705
+ function D1(e) {
8695
8706
  const { sentry: t, initOptions: n, flushTimeout: r = 2e3, breadcrumbCategory: s = "app" } = e;
8696
8707
  return {
8697
8708
  init() {
@@ -8724,7 +8735,7 @@ function nv(e) {
8724
8735
  ...r ?? null
8725
8736
  };
8726
8737
  }
8727
- function D1(e) {
8738
+ function A1(e) {
8728
8739
  const { posthog: t, init: n } = e;
8729
8740
  return {
8730
8741
  init() {
@@ -8756,7 +8767,7 @@ function D1(e) {
8756
8767
  };
8757
8768
  }
8758
8769
  const pr = we(null);
8759
- function A1({ adapter: e, children: t }) {
8770
+ function I1({ adapter: e, children: t }) {
8760
8771
  const n = P(() => e, [e]);
8761
8772
  return L(() => {
8762
8773
  }, [n]), /* @__PURE__ */ i(pr.Provider, { value: n, children: t });
@@ -8766,17 +8777,17 @@ function mr() {
8766
8777
  if (!e) throw new Error("useFeatureFlag requires <FeatureFlagsProvider>");
8767
8778
  return e;
8768
8779
  }
8769
- function I1(e, t = !1) {
8780
+ function R1(e, t = !1) {
8770
8781
  const n = mr(), r = (o) => n.onChange ? n.onChange(o) : () => {
8771
8782
  }, s = () => n.isEnabled(e, t);
8772
8783
  return Fn(r, s, s);
8773
8784
  }
8774
- function R1(e, t) {
8785
+ function P1(e, t) {
8775
8786
  const n = mr(), r = (o) => n.onChange ? n.onChange(o) : () => {
8776
8787
  }, s = () => n.get(e, t);
8777
8788
  return Fn(r, s, s);
8778
8789
  }
8779
- function P1(e = {}) {
8790
+ function O1(e = {}) {
8780
8791
  const t = { ...e.initial ?? {} }, n = /* @__PURE__ */ new Set();
8781
8792
  function r() {
8782
8793
  for (const s of n) s();
@@ -8796,7 +8807,7 @@ function P1(e = {}) {
8796
8807
  }
8797
8808
  };
8798
8809
  }
8799
- function O1(e) {
8810
+ function F1(e) {
8800
8811
  const { growthbook: t } = e, n = /* @__PURE__ */ new Set();
8801
8812
  let r = !1;
8802
8813
  function s() {
@@ -8819,7 +8830,7 @@ function O1(e) {
8819
8830
  }
8820
8831
  };
8821
8832
  }
8822
- function F1(e) {
8833
+ function B1(e) {
8823
8834
  const { client: t } = e;
8824
8835
  return {
8825
8836
  isEnabled(n, r = !1) {
@@ -8836,7 +8847,7 @@ function F1(e) {
8836
8847
  }
8837
8848
  };
8838
8849
  }
8839
- async function B1(e) {
8850
+ async function z1(e) {
8840
8851
  if (typeof navigator > "u" || !("share" in navigator))
8841
8852
  return { shared: !1, unsupported: !0, cancelled: !1 };
8842
8853
  if (e.files && !navigator.canShare?.({ files: e.files }))
@@ -8847,19 +8858,19 @@ async function B1(e) {
8847
8858
  return t instanceof DOMException && t.name === "AbortError" ? { shared: !1, unsupported: !1, cancelled: !0 } : { shared: !1, unsupported: !1, cancelled: !1, error: t };
8848
8859
  }
8849
8860
  }
8850
- function z1() {
8861
+ function W1() {
8851
8862
  return typeof navigator < "u" && "share" in navigator;
8852
8863
  }
8853
8864
  export {
8854
- E0 as AccessControlProvider,
8865
+ C0 as AccessControlProvider,
8855
8866
  hv as Accordion,
8856
8867
  _v as Alert,
8857
8868
  gv as AppBar,
8858
- e1 as AppProviders,
8859
- Y0 as AppRouter,
8869
+ t1 as AppProviders,
8870
+ Q0 as AppRouter,
8860
8871
  yv as AppShell,
8861
8872
  bv as AspectRatio,
8862
- x0 as AuthGuard,
8873
+ S0 as AuthGuard,
8863
8874
  vv as Avatar,
8864
8875
  Ut as BREAKPOINTS,
8865
8876
  wv as Badge,
@@ -8867,14 +8878,14 @@ export {
8867
8878
  Nv as BottomNavigation,
8868
8879
  kv as BottomSheet,
8869
8880
  xv as Breadcrumbs,
8870
- eN as BrowserRouter,
8881
+ tN as BrowserRouter,
8871
8882
  pt as Button,
8872
8883
  rb as CACHE_TIME,
8873
- g1 as CEPInput,
8874
- h1 as CNPJInput,
8875
- f1 as CPFInput,
8884
+ y1 as CEPInput,
8885
+ _1 as CNPJInput,
8886
+ h1 as CPFInput,
8876
8887
  Xw as Calendar,
8877
- C0 as Can,
8888
+ L0 as Can,
8878
8889
  Sv as Card,
8879
8890
  r$ as Carousel,
8880
8891
  Tv as Center,
@@ -8888,13 +8899,13 @@ export {
8888
8899
  ui as ConfirmDialog,
8889
8900
  Uv as Container,
8890
8901
  Hw as ContextMenu,
8891
- DN as Controller,
8902
+ AN as Controller,
8892
8903
  Cw as CopyButton,
8893
8904
  Db as DEFAULT_CAR_SPEED_KMH,
8894
8905
  Mb as DEFAULT_CIRCUITY_FACTOR,
8895
8906
  Ab as DEFAULT_MODE_DURATION_FACTORS,
8896
8907
  Bw as DataList,
8897
- F$ as DataTable,
8908
+ B$ as DataTable,
8898
8909
  Mv as DatePicker,
8899
8910
  e$ as DateRangePicker,
8900
8911
  zw as DescriptionList,
@@ -8902,24 +8913,24 @@ export {
8902
8913
  Av as Drawer,
8903
8914
  Iv as DropdownMenu,
8904
8915
  Rv as Dropzone,
8905
- gN as EARTH_RADIUS_KM,
8916
+ yN as EARTH_RADIUS_KM,
8906
8917
  Pv as EmptyState,
8907
8918
  gb as ErrorBoundary,
8908
8919
  Ov as ErrorState,
8909
8920
  Ow as ErrorText,
8910
- A1 as FeatureFlagsProvider,
8921
+ I1 as FeatureFlagsProvider,
8911
8922
  Fv as FileUpload,
8912
- z$ as FloatingActionButton,
8923
+ W$ as FloatingActionButton,
8913
8924
  Pw as For,
8914
8925
  Bv as Form,
8915
8926
  qv as FormActions,
8916
- c1 as FormField,
8917
- AN as FormProvider,
8927
+ l1 as FormField,
8928
+ IN as FormProvider,
8918
8929
  Wv as FormRow,
8919
8930
  zv as FormSection,
8920
- D0 as GoogleSignIn,
8931
+ A0 as GoogleSignIn,
8921
8932
  Kv as Grid,
8922
- tN as HashRouter,
8933
+ nN as HashRouter,
8923
8934
  lw as Hide,
8924
8935
  Gw as HoverCard,
8925
8936
  fb as I18nProvider,
@@ -8929,49 +8940,49 @@ export {
8929
8940
  Gv as InstallButton,
8930
8941
  Jv as Kbd,
8931
8942
  jw as Label,
8932
- nN as Link,
8933
- B$ as ListTile,
8934
- yN as MERCATOR_MAX_LATITUDE,
8935
- rN as MemoryRouter,
8943
+ rN as Link,
8944
+ z$ as ListTile,
8945
+ bN as MERCATOR_MAX_LATITUDE,
8946
+ sN as MemoryRouter,
8936
8947
  n$ as Menubar,
8937
8948
  Wn as Modal,
8938
8949
  Yv as ModalsProvider,
8939
8950
  Mw as Money,
8940
- y1 as MoneyInput,
8951
+ b1 as MoneyInput,
8941
8952
  Zw as MultiSelect,
8942
8953
  Vv as NProgressBar,
8943
- sN as NavLink,
8954
+ oN as NavLink,
8944
8955
  Xv as Navbar,
8945
- oN as Navigate,
8956
+ aN as Navigate,
8946
8957
  t$ as NavigationMenu,
8947
- W$ as NavigationRail,
8948
- aN as Outlet,
8958
+ q$ as NavigationRail,
8959
+ iN as Outlet,
8949
8960
  Zv as Page,
8950
8961
  ou as Pagination,
8951
8962
  ew as PasswordInput,
8952
- _1 as PhoneInput,
8963
+ g1 as PhoneInput,
8953
8964
  tw as PinInput,
8954
8965
  nw as Popover,
8955
8966
  Hf as Portal,
8956
8967
  rw as Progress,
8957
8968
  sb as QueryProvider,
8958
- I0 as REFETCH_TIME,
8969
+ R0 as REFETCH_TIME,
8959
8970
  sw as Radio,
8960
8971
  ow as RadioGroup,
8961
8972
  aw as RangeSlider,
8962
8973
  iw as RatingStars,
8963
- U$ as RefreshIndicator,
8974
+ j$ as RefreshIndicator,
8964
8975
  Lw as RelativeTime,
8965
8976
  Qw as Resizable,
8966
- iN as Route,
8977
+ cN as Route,
8967
8978
  ib as RouteGuard,
8968
- cN as Routes,
8979
+ lN as Routes,
8969
8980
  nb as STALE_TIME,
8970
8981
  uw as SafeArea,
8971
8982
  Yw as ScrollArea,
8972
8983
  Fd as SearchBar,
8973
8984
  dw as SegmentedControl,
8974
- bN as Select,
8985
+ vN as Select,
8975
8986
  cw as Show,
8976
8987
  pw as Sidebar,
8977
8988
  mw as Skeleton,
@@ -8986,69 +8997,69 @@ export {
8986
8997
  Mm as Table,
8987
8998
  $w as Tabs,
8988
8999
  ww as Tag,
8989
- E1 as TelemetryProvider,
9000
+ C1 as TelemetryProvider,
8990
9001
  Yt as TempestApiError,
8991
- q0 as TempestDataProvider,
9002
+ U0 as TempestDataProvider,
8992
9003
  Nw as Textarea,
8993
9004
  pb as ThemeProvider,
8994
- q$ as TimePicker,
9005
+ U$ as TimePicker,
8995
9006
  kw as Timeline,
8996
9007
  Tw as ToastProvider,
8997
9008
  Ww as Toggle,
8998
9009
  qw as ToggleGroup,
8999
9010
  Uw as ToggleGroupItem,
9000
9011
  xw as Tooltip,
9001
- x1 as TrajectoryMap,
9012
+ S1 as TrajectoryMap,
9002
9013
  Dw as TruncateText,
9003
9014
  Ew as VirtualList,
9004
9015
  Aw as VisuallyHidden,
9005
9016
  $b as WebPushClient,
9006
9017
  wb as WebPushPermissionDeniedError,
9007
9018
  Dn as WebPushUnsupportedError,
9008
- p0 as assertNever,
9009
- vN as bearingDeg,
9019
+ m0 as assertNever,
9020
+ wN as bearingDeg,
9010
9021
  Ib as boundingBox,
9011
- $1 as boundsCenter,
9022
+ N1 as boundsCenter,
9012
9023
  Zn as buildApiError,
9013
- V$ as camelCase,
9014
- X$ as capitalize,
9015
- r0 as chunk,
9024
+ Z$ as camelCase,
9025
+ V$ as capitalize,
9026
+ s0 as chunk,
9016
9027
  ln as clamp,
9017
- wN as clampLatitude,
9028
+ $N as clampLatitude,
9018
9029
  w as cn,
9019
9030
  Zb as consoleSink,
9020
- L1 as consoleTelemetryAdapter,
9031
+ M1 as consoleTelemetryAdapter,
9021
9032
  Ft as createApiClient,
9022
9033
  cr as createAudioPlayer,
9023
9034
  Jy as createAuthStore,
9024
- W0 as createDataProvider,
9035
+ q0 as createDataProvider,
9025
9036
  bb as createEventStream,
9026
- O1 as createGrowthBookFeatureFlagsAdapter,
9037
+ F1 as createGrowthBookFeatureFlagsAdapter,
9027
9038
  ar as createI18n,
9028
- P1 as createInMemoryFlags,
9029
- F1 as createLaunchDarklyFeatureFlagsAdapter,
9039
+ O1 as createInMemoryFlags,
9040
+ B1 as createLaunchDarklyFeatureFlagsAdapter,
9030
9041
  ev as createLogger,
9031
- N1 as createOSRMBackend,
9032
- a1 as createOfflineStore,
9033
- U1 as createPartialResponse,
9042
+ k1 as createOSRMBackend,
9043
+ i1 as createOfflineStore,
9044
+ j1 as createPartialResponse,
9034
9045
  Pb as createPositionTracker,
9035
- D1 as createPostHogTelemetryAdapter,
9036
- R0 as createQueryKeys,
9046
+ A1 as createPostHogTelemetryAdapter,
9047
+ P0 as createQueryKeys,
9037
9048
  Qy as createRefreshQueue,
9038
- L0 as createRoleAccessControl,
9039
- X0 as createSelectors,
9040
- M1 as createSentryTelemetryAdapter,
9041
- Q0 as createStore,
9042
- T0 as createTempestAuth,
9049
+ M0 as createRoleAccessControl,
9050
+ V0 as createSelectors,
9051
+ D1 as createSentryTelemetryAdapter,
9052
+ X0 as createStore,
9053
+ E0 as createTempestAuth,
9043
9054
  Lb as createWebSocket,
9044
- m0 as debounce,
9055
+ f0 as debounce,
9045
9056
  er as decodeJWT,
9046
9057
  qy as deepMerge,
9047
- J0 as defineRoutes,
9058
+ Y0 as defineRoutes,
9048
9059
  ur as durationFactor,
9049
- F0 as emptyOffsetPage,
9060
+ B0 as emptyOffsetPage,
9050
9061
  Su as estimatePasswordStrength,
9051
- w1 as estimateTravel,
9062
+ $1 as estimateTravel,
9052
9063
  Rb as expandBounds,
9053
9064
  Er as fitProjection,
9054
9065
  gw as formatBytes,
@@ -9056,76 +9067,76 @@ export {
9056
9067
  Sb as formatCNPJ,
9057
9068
  Wy as formatCPF,
9058
9069
  yw as formatCompactNumber,
9059
- j$ as formatCurrency,
9060
- K$ as formatDate,
9061
- H$ as formatDateTime,
9062
- G$ as formatPercent,
9070
+ K$ as formatCurrency,
9071
+ H$ as formatDate,
9072
+ G$ as formatDateTime,
9073
+ J$ as formatPercent,
9063
9074
  zy as formatPhone,
9064
- N0 as generateIdempotencyKey,
9065
- S1 as getInitialTheme,
9066
- t0 as groupBy,
9075
+ k0 as generateIdempotencyKey,
9076
+ T1 as getInitialTheme,
9077
+ n0 as groupBy,
9067
9078
  en as haversineKm,
9068
- j1 as installBackgroundSync,
9069
- K1 as installNotificationClickHandler,
9070
- H1 as installPrecache,
9071
- G1 as installPushHandler,
9072
- J1 as installRuntimeCache,
9073
- Y1 as installSkipWaitingListener,
9074
- b0 as isApiError,
9075
- $N as isCoordinate,
9076
- O0 as isCursorPage,
9077
- c0 as isDefined,
9078
- i0 as isEmpty,
9079
- S0 as isJWTExpired,
9080
- u0 as isNumber,
9081
- P0 as isOffsetPage,
9082
- d0 as isPlainObject,
9079
+ K1 as installBackgroundSync,
9080
+ H1 as installNotificationClickHandler,
9081
+ G1 as installPrecache,
9082
+ J1 as installPushHandler,
9083
+ Y1 as installRuntimeCache,
9084
+ Q1 as installSkipWaitingListener,
9085
+ v0 as isApiError,
9086
+ NN as isCoordinate,
9087
+ F0 as isCursorPage,
9088
+ l0 as isDefined,
9089
+ c0 as isEmpty,
9090
+ T0 as isJWTExpired,
9091
+ d0 as isNumber,
9092
+ O0 as isOffsetPage,
9093
+ p0 as isPlainObject,
9083
9094
  xt as isPushSupported,
9084
- z1 as isShareSupported,
9085
- l0 as isString,
9086
- NN as isValidLatitude,
9087
- kN as isValidLongitude,
9088
- Z$ as kebabCase,
9095
+ W1 as isShareSupported,
9096
+ u0 as isString,
9097
+ kN as isValidLatitude,
9098
+ xN as isValidLongitude,
9099
+ e0 as kebabCase,
9089
9100
  Yy as lazyWithRetry,
9090
9101
  ab as listQueryKey,
9091
- _0 as memoizeOne,
9092
- xN as normalizeLongitude,
9102
+ g0 as memoizeOne,
9103
+ SN as normalizeLongitude,
9093
9104
  Fl as nprogress,
9094
- a0 as omit,
9095
- h0 as once,
9105
+ i0 as omit,
9106
+ _0 as once,
9096
9107
  rr as oneQueryKey,
9097
- v0 as parseResponse,
9098
- SN as pathLengthKm,
9099
- M0 as permissionsFromToken,
9100
- o0 as pick,
9101
- r1 as playAudio,
9102
- e0 as pluralize,
9103
- TN as projectMercator,
9108
+ w0 as parseResponse,
9109
+ TN as pathLengthKm,
9110
+ D0 as permissionsFromToken,
9111
+ a0 as pick,
9112
+ s1 as playAudio,
9113
+ t0 as pluralize,
9114
+ EN as projectMercator,
9104
9115
  Vn as randomId,
9105
- s0 as range,
9106
- lN as redirect,
9107
- Q1 as registerServiceWorker,
9116
+ o0 as range,
9117
+ uN as redirect,
9118
+ X1 as registerServiceWorker,
9108
9119
  Wf as relativeTime,
9109
- $0 as retry,
9110
- B1 as share,
9111
- X1 as skipWaiting,
9112
- g0 as sleep,
9113
- Y$ as slugify,
9114
- s1 as stopAudio,
9115
- J$ as storage,
9116
- T1 as themeInitScript,
9117
- f0 as throttle,
9118
- EN as toRadians,
9119
- Q$ as truncate,
9120
- n0 as uniqueBy,
9121
- m1 as unmask,
9122
- CN as unprojectMercator,
9123
- V1 as unregisterAllServiceWorkers,
9124
- w0 as uploadWithProgress,
9120
+ N0 as retry,
9121
+ z1 as share,
9122
+ V1 as skipWaiting,
9123
+ y0 as sleep,
9124
+ Q$ as slugify,
9125
+ o1 as stopAudio,
9126
+ Y$ as storage,
9127
+ E1 as themeInitScript,
9128
+ h0 as throttle,
9129
+ CN as toRadians,
9130
+ X$ as truncate,
9131
+ r0 as uniqueBy,
9132
+ f1 as unmask,
9133
+ LN as unprojectMercator,
9134
+ Z1 as unregisterAllServiceWorkers,
9135
+ $0 as uploadWithProgress,
9125
9136
  vb as urlBase64ToUint8Array,
9126
9137
  Vy as useAccessControl,
9127
9138
  l$ as useAsync,
9128
- o1 as useAudio,
9139
+ a1 as useAudio,
9129
9140
  Kn as useBeforeInstallPrompt,
9130
9141
  nt as useBreakpoint,
9131
9142
  eb as useCan,
@@ -9133,26 +9144,26 @@ export {
9133
9144
  s$ as useClientFilter,
9134
9145
  f$ as useClipboard,
9135
9146
  L$ as useCounter,
9136
- K0 as useCreate,
9137
- z0 as useCursorQuery,
9147
+ H0 as useCreate,
9148
+ W0 as useCursorQuery,
9138
9149
  ft as useDataProvider,
9139
- LN as useDebounce,
9150
+ MN as useDebounce,
9140
9151
  v$ as useDeepMemo,
9141
- G0 as useDelete,
9152
+ J0 as useDelete,
9142
9153
  E$ as useDisclosure,
9143
9154
  M$ as useDocumentTitle,
9144
9155
  d$ as useDocumentVisibility,
9145
- i1 as useErrorHandler,
9156
+ c1 as useErrorHandler,
9146
9157
  a$ as useEventListener,
9147
- t1 as useEventStream,
9158
+ n1 as useEventStream,
9148
9159
  D$ as useFavicon,
9149
- I1 as useFeatureFlag,
9150
- IN as useFieldArray,
9151
- R1 as useFlagValue,
9160
+ R1 as useFeatureFlag,
9161
+ RN as useFieldArray,
9162
+ P1 as useFlagValue,
9152
9163
  Dh as useFocusTrap,
9153
- RN as useForm,
9154
- PN as useFormContext,
9155
- ON as useFormState,
9164
+ PN as useForm,
9165
+ ON as useFormContext,
9166
+ FN as useFormState,
9156
9167
  g$ as useGeolocation,
9157
9168
  S$ as useHover,
9158
9169
  hb as useI18n,
@@ -9161,50 +9172,51 @@ export {
9161
9172
  $$ as useInterval,
9162
9173
  O$ as useIsFirstRender,
9163
9174
  h$ as useKeyboardShortcut,
9164
- U0 as useList,
9175
+ j0 as useList,
9165
9176
  C$ as useListState,
9166
9177
  i$ as useLocalStorage,
9167
- uN as useLocation,
9178
+ dN as useLocation,
9168
9179
  T$ as useLongPress,
9169
9180
  A$ as useMap,
9170
- dN as useMatch,
9181
+ pN as useMatch,
9171
9182
  o$ as useMediaQuery,
9172
9183
  Qv as useModals,
9173
- pN as useNavigate,
9174
- A0 as useOAuthCallback,
9175
- j0 as useOne,
9184
+ mN as useNavigate,
9185
+ I0 as useOAuthCallback,
9186
+ F$ as useObjectUrl,
9187
+ K0 as useOne,
9176
9188
  u$ as useOnline,
9177
- B0 as usePaginatedQuery,
9189
+ z0 as usePaginatedQuery,
9178
9190
  Pg as usePagination,
9179
- mN as useParams,
9180
- k0 as usePoll,
9181
- k1 as usePositionTracker,
9191
+ fN as useParams,
9192
+ x0 as usePoll,
9193
+ x1 as usePositionTracker,
9182
9194
  w$ as usePrevious,
9183
- n1 as usePushSubscription,
9195
+ r1 as usePushSubscription,
9184
9196
  R$ as useQueue,
9185
9197
  m$ as useResizeObserver,
9186
- fN as useRouteError,
9198
+ hN as useRouteError,
9187
9199
  y$ as useScrollLock,
9188
- hN as useSearchParams,
9200
+ _N as useSearchParams,
9189
9201
  I$ as useSet,
9190
9202
  b$ as useStableCallback,
9191
- C1 as useTelemetry,
9192
- V0 as useTheme,
9203
+ L1 as useTelemetry,
9204
+ Z0 as useTheme,
9193
9205
  k$ as useThrottle,
9194
9206
  N$ as useTimeout,
9195
9207
  Sw as useToast,
9196
9208
  c$ as useToggle,
9197
- Z0 as useTranslate,
9198
- H0 as useUpdate,
9199
- b1 as useViaCEP,
9200
- FN as useWatch,
9201
- v1 as useWebSocket,
9209
+ e1 as useTranslate,
9210
+ G0 as useUpdate,
9211
+ v1 as useViaCEP,
9212
+ BN as useWatch,
9213
+ w1 as useWebSocket,
9202
9214
  x$ as useWindowSize,
9203
- u1 as useZodForm,
9204
- p1 as validateCNPJ,
9205
- d1 as validateCPF,
9206
- l1 as validateForm,
9207
- y0 as withTimeout,
9215
+ d1 as useZodForm,
9216
+ m1 as validateCNPJ,
9217
+ p1 as validateCPF,
9218
+ u1 as validateForm,
9219
+ b0 as withTimeout,
9208
9220
  kb as zodResolver
9209
9221
  };
9210
9222
  //# sourceMappingURL=tempest-react-sdk.js.map