@das-fed/upf-utils 6.4.0-dev.249 → 6.4.0-dev.250

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.
Files changed (91) hide show
  1. package/api-services/es5.js +2421 -2278
  2. package/api-services/index.js +2041 -1924
  3. package/api-services/index.js.gz +0 -0
  4. package/api-services/modules/app-manage/es5.js +1335 -1207
  5. package/api-services/modules/app-manage/index.js +1093 -998
  6. package/api-services/modules/app-manage/index.js.gz +0 -0
  7. package/api-services/modules/authentication/es5.js +1417 -1298
  8. package/api-services/modules/authentication/index.js +1168 -1087
  9. package/api-services/modules/authentication/index.js.gz +0 -0
  10. package/api-services/modules/bems/es5.js +1337 -1206
  11. package/api-services/modules/bems/index.js +1107 -1008
  12. package/api-services/modules/bems/index.js.gz +0 -0
  13. package/api-services/modules/contract/es5.js +1417 -1298
  14. package/api-services/modules/contract/index.js +1168 -1087
  15. package/api-services/modules/contract/index.js.gz +0 -0
  16. package/api-services/modules/duty-manage/es5.js +1488 -1345
  17. package/api-services/modules/duty-manage/index.js +1240 -1123
  18. package/api-services/modules/duty-manage/index.js.gz +0 -0
  19. package/api-services/modules/enterpriseright/es5.js +1417 -1298
  20. package/api-services/modules/enterpriseright/index.js +1168 -1087
  21. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  22. package/api-services/modules/es5.js +2208 -2080
  23. package/api-services/modules/file/es5.js +2374 -2231
  24. package/api-services/modules/file/index.js +2049 -1932
  25. package/api-services/modules/file/index.js.gz +0 -0
  26. package/api-services/modules/gateway-edge/es5.js +1334 -1203
  27. package/api-services/modules/gateway-edge/index.js +1104 -1005
  28. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  29. package/api-services/modules/index.js +1843 -1748
  30. package/api-services/modules/index.js.gz +0 -0
  31. package/api-services/modules/iot/es5.js +1517 -1383
  32. package/api-services/modules/iot/index.js +1254 -1151
  33. package/api-services/modules/iot/index.js.gz +0 -0
  34. package/api-services/modules/justauth/es5.js +1350 -1219
  35. package/api-services/modules/justauth/index.js +1100 -1001
  36. package/api-services/modules/justauth/index.js.gz +0 -0
  37. package/api-services/modules/knowledge/es5.js +1332 -1201
  38. package/api-services/modules/knowledge/index.js +1098 -999
  39. package/api-services/modules/knowledge/index.js.gz +0 -0
  40. package/api-services/modules/link/es5.js +1482 -1339
  41. package/api-services/modules/link/index.js +1232 -1115
  42. package/api-services/modules/link/index.js.gz +0 -0
  43. package/api-services/modules/permission/es5.js +1482 -1339
  44. package/api-services/modules/permission/index.js +1232 -1115
  45. package/api-services/modules/permission/index.js.gz +0 -0
  46. package/api-services/modules/platformManage/es5.js +1485 -1366
  47. package/api-services/modules/platformManage/index.js +1221 -1140
  48. package/api-services/modules/platformManage/index.js.gz +0 -0
  49. package/api-services/modules/portal/es5.js +1351 -1220
  50. package/api-services/modules/portal/index.js +1100 -1001
  51. package/api-services/modules/portal/index.js.gz +0 -0
  52. package/api-services/modules/space-manage/es5.js +1417 -1298
  53. package/api-services/modules/space-manage/index.js +1168 -1087
  54. package/api-services/modules/space-manage/index.js.gz +0 -0
  55. package/api-services/modules/super-admin/es5.js +1358 -1227
  56. package/api-services/modules/super-admin/index.js +1121 -1022
  57. package/api-services/modules/super-admin/index.js.gz +0 -0
  58. package/api-services/modules/supplier/es5.js +1421 -1302
  59. package/api-services/modules/supplier/index.js +1169 -1088
  60. package/api-services/modules/supplier/index.js.gz +0 -0
  61. package/api-services/modules/supplychain-manage/es5.js +1482 -1339
  62. package/api-services/modules/supplychain-manage/index.js +1232 -1115
  63. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  64. package/api-services/modules/systemConfiguration/es5.js +1338 -1205
  65. package/api-services/modules/systemConfiguration/index.js +1107 -1004
  66. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  67. package/api-services/modules/tool/es5.js +1482 -1339
  68. package/api-services/modules/tool/index.js +1232 -1115
  69. package/api-services/modules/tool/index.js.gz +0 -0
  70. package/api-services/src/create-service/es5.js +1341 -1210
  71. package/api-services/src/create-service/index.js +1108 -1009
  72. package/api-services/src/create-service/index.js.gz +0 -0
  73. package/common-info/es5.js +1752 -1621
  74. package/common-info/getPermissionMethod/es5.js +1346 -1215
  75. package/common-info/getPermissionMethod/index.js +1082 -983
  76. package/common-info/getPermissionMethod/index.js.gz +0 -0
  77. package/common-info/index.js +1460 -1361
  78. package/common-info/index.js.gz +0 -0
  79. package/common-tools/timezone-format/es5.d.ts +31 -1
  80. package/common-tools/timezone-format/es5.js +606 -460
  81. package/common-tools/timezone-format/index.d.ts +31 -1
  82. package/common-tools/timezone-format/index.js +413 -308
  83. package/common-tools/timezone-format/index.js.gz +0 -0
  84. package/create-api-service/es5.js +1464 -1321
  85. package/create-api-service/index.js +1218 -1101
  86. package/create-api-service/index.js.gz +0 -0
  87. package/esm-map.json +7 -0
  88. package/package.json +3 -3
  89. package/theme/es5.js +1 -1
  90. package/theme/index.js +1 -1
  91. package/theme/index.js.gz +0 -0
@@ -1,9 +1,9 @@
1
1
  import f from "dayjs";
2
- import rt from "dayjs/plugin/utc";
3
- import at from "dayjs/plugin/timezone";
2
+ import Ze from "dayjs/plugin/utc";
3
+ import Ie from "dayjs/plugin/timezone";
4
4
  import "@das-fed/upf-utils/config";
5
- const G = "/api/admin/basic-application/sys-info/v1/license/time-zone-packed-data";
6
- function st() {
5
+ const ee = "/api/admin/basic-application/sys-info/v1/license/time-zone-packed-data";
6
+ function ye() {
7
7
  if (typeof localStorage > "u")
8
8
  return null;
9
9
  try {
@@ -12,18 +12,18 @@ function st() {
12
12
  return null;
13
13
  }
14
14
  }
15
- function it() {
16
- const t = st();
17
- if (!(t == null || t === ""))
18
- return t.trim().startsWith("Bearer ") ? t.trim() : `Bearer ${t.trim()}`;
15
+ function pe() {
16
+ const e = ye();
17
+ if (!(e == null || e === ""))
18
+ return e.trim().startsWith("Bearer ") ? e.trim() : `Bearer ${e.trim()}`;
19
19
  }
20
- function Y(t = {}) {
21
- const e = t.authorization !== void 0 ? t.authorization === "" || t.authorization == null ? void 0 : t.authorization : it(), n = { ...t.headers || {} };
22
- if (e != null && e !== "" && (n.Authorization = e), Object.keys(n).length !== 0)
20
+ function te(e = {}) {
21
+ const t = e.authorization !== void 0 ? e.authorization === "" || e.authorization == null ? void 0 : e.authorization : pe(), n = { ...e.headers || {} };
22
+ if (t != null && t !== "" && (n.Authorization = t), Object.keys(n).length !== 0)
23
23
  return { headers: n };
24
24
  }
25
25
  let L = null, w = null;
26
- const O = [
26
+ const R = [
27
27
  "utc",
28
28
  "uct",
29
29
  "zulu",
@@ -42,207 +42,207 @@ const O = [
42
42
  "etc/gmt+0",
43
43
  "etc/gmt-0",
44
44
  "etc/greenwich"
45
- ], ct = { u: [1 / 0], o: [0] };
46
- function R(t) {
47
- if (!t || typeof t != "object")
45
+ ], we = { u: [1 / 0], o: [0] };
46
+ function ne(e) {
47
+ if (!e || typeof e != "object")
48
48
  throw new Error("Invalid IANA response: expected an object");
49
- const e = t;
50
- if (!Array.isArray(e.zones))
49
+ const t = e;
50
+ if (!Array.isArray(t.zones))
51
51
  throw new Error("Invalid IANA response: missing zones array");
52
- const n = e.links;
52
+ const n = t.links;
53
53
  return {
54
- version: typeof e.version == "string" ? e.version : void 0,
55
- zones: e.zones,
54
+ version: typeof t.version == "string" ? t.version : void 0,
55
+ zones: t.zones,
56
56
  links: Array.isArray(n) ? n : []
57
57
  };
58
58
  }
59
- async function ft(t, e) {
59
+ async function De(e, t) {
60
60
  if (typeof fetch != "function")
61
61
  throw new Error("fetch is not available. Pass preloadFromApi options.fetchJson.");
62
- const n = await fetch(t, e);
62
+ const n = await fetch(e, t);
63
63
  if (!n.ok)
64
64
  throw new Error(`IANA request failed: ${n.status} ${n.statusText}`);
65
65
  return n.json();
66
66
  }
67
- function H(t) {
68
- return w = R(t), L = It(w), w;
67
+ function oe(e) {
68
+ return w = ne(e), L = Me(w), w;
69
69
  }
70
- function ut() {
70
+ function Ee() {
71
71
  return w;
72
72
  }
73
- async function lt(t = {}) {
74
- const e = t.url ?? G, n = Y({
75
- authorization: t.authorization,
76
- headers: t.headers
77
- }), o = await (t.fetchJson ?? ft)(e, n), a = t.parseResponse ? t.parseResponse(o) : R(o);
78
- return H(a);
73
+ async function Ae(e = {}) {
74
+ const t = e.url ?? ee, n = te({
75
+ authorization: e.authorization,
76
+ headers: e.headers
77
+ }), o = await (e.fetchJson ?? De)(t, n), s = e.parseResponse ? e.parseResponse(o) : ne(o);
78
+ return oe(s);
79
79
  }
80
- function mt() {
80
+ function ze() {
81
81
  L = null, w = null;
82
82
  }
83
- function j(t) {
84
- return t > 96 ? t - 87 : t > 64 ? t - 29 : t - 48;
83
+ function H(e) {
84
+ return e > 96 ? e - 87 : e > 64 ? e - 29 : e - 48;
85
85
  }
86
- function dt(t) {
87
- let e = 1, n = 0, r = 0, o = 1;
88
- const a = t.split("."), i = a[0], c = a[1] || "";
89
- t.charCodeAt(0) === 45 && (e = -1);
90
- for (let s = 0; s < i.length; s++) {
91
- const u = i.charCodeAt(s);
92
- u !== 45 && (n = 60 * n + j(u));
86
+ function Le(e) {
87
+ let t = 1, n = 0, r = 0, o = 1;
88
+ const s = e.split("."), i = s[0], c = s[1] || "";
89
+ e.charCodeAt(0) === 45 && (t = -1);
90
+ for (let a = 0; a < i.length; a++) {
91
+ const u = i.charCodeAt(a);
92
+ u !== 45 && (n = 60 * n + H(u));
93
93
  }
94
- for (let s = 0; s < c.length; s++)
95
- o = o / 60, r += j(c.charCodeAt(s)) * o;
96
- return (n + r) * e;
94
+ for (let a = 0; a < c.length; a++)
95
+ o = o / 60, r += H(c.charCodeAt(a)) * o;
96
+ return (n + r) * t;
97
97
  }
98
- function v(t) {
99
- const e = [];
100
- for (const n of t)
101
- e.push(dt(n));
102
- return e;
98
+ function k(e) {
99
+ const t = [];
100
+ for (const n of e)
101
+ t.push(Le(n));
102
+ return t;
103
103
  }
104
- function N(t) {
105
- const e = t.trim();
106
- return e ? e.split(" ") : [];
104
+ function J(e) {
105
+ const t = e.trim();
106
+ return t ? t.split(" ") : [];
107
107
  }
108
- function ht(t) {
109
- let e = 0;
108
+ function Se(e) {
109
+ let t = 0;
110
110
  const n = [];
111
- for (const r of t)
112
- e += r, n.push(Math.round(e * 6e4));
111
+ for (const r of e)
112
+ t += r, n.push(Math.round(t * 6e4));
113
113
  return n.push(1 / 0), n;
114
114
  }
115
- function Tt(t, e) {
115
+ function Ce(e, t) {
116
116
  const n = [];
117
- for (const r of e)
118
- n.push(t[r]);
117
+ for (const r of t)
118
+ n.push(e[r]);
119
119
  return n;
120
120
  }
121
- function b(t) {
122
- return typeof t == "string" ? t.trim().toLowerCase() : "";
121
+ function S(e) {
122
+ return typeof e == "string" ? e.trim().toLowerCase() : "";
123
123
  }
124
- function gt(t) {
125
- const e = t.split("|");
126
- if (e.length < 5)
124
+ function ve(e) {
125
+ const t = e.split("|");
126
+ if (t.length < 5)
127
127
  throw new Error("Invalid packed zone format");
128
- const n = b(e[0]), r = v(N(e[2])), o = v(e[3].split("")), a = ht(v(N(e[4]))), i = Tt(r, o);
128
+ const n = S(t[0]), r = k(J(t[2])), o = k(t[3].split("")), s = Se(k(J(t[4]))), i = Ce(r, o);
129
129
  return {
130
130
  name: n,
131
131
  rule: {
132
- u: a,
132
+ u: s,
133
133
  o: i
134
134
  }
135
135
  };
136
136
  }
137
- function yt(t, e, n) {
138
- const r = b(e), o = b(n);
137
+ function be(e, t, n) {
138
+ const r = S(t), o = S(n);
139
139
  if (!r || !o) return;
140
- const a = t[r], i = t[o];
141
- a && !i ? t[o] = a : i && !a && (t[r] = i);
140
+ const s = e[r], i = e[o];
141
+ s && !i ? e[o] = s : i && !s && (e[r] = i);
142
142
  }
143
- function pt(t) {
144
- const e = O.map((n) => t[n]).find(Boolean) || ct;
145
- O.forEach((n) => {
146
- t[n] || (t[n] = e);
143
+ function _e(e) {
144
+ const t = R.map((n) => e[n]).find(Boolean) || we;
145
+ R.forEach((n) => {
146
+ e[n] || (e[n] = t);
147
147
  });
148
148
  }
149
- function It(t) {
150
- if (!t || !Array.isArray(t.zones))
149
+ function Me(e) {
150
+ if (!e || !Array.isArray(e.zones))
151
151
  throw new TypeError("packed iana data must contain zones array");
152
- const e = {};
153
- for (const r of t.zones) {
154
- const o = gt(r);
155
- e[o.name] = o.rule;
152
+ const t = {};
153
+ for (const r of e.zones) {
154
+ const o = ve(r);
155
+ t[o.name] = o.rule;
156
156
  }
157
- const n = t.links || [];
157
+ const n = e.links || [];
158
158
  for (const r of n) {
159
159
  const o = r.split("|");
160
- o.length < 2 || yt(e, o[0], o[1]);
160
+ o.length < 2 || be(t, o[0], o[1]);
161
161
  }
162
- return pt(e), e;
162
+ return _e(t), t;
163
163
  }
164
- function Dt() {
164
+ function ke() {
165
165
  if (!L)
166
166
  throw new Error(
167
167
  "IANA data not loaded. Await dayjsTimezoneIanaPlugin.preloadFromApi({ url: ... }) before dayjs.extend(dayjsTimezoneIanaPlugin)."
168
168
  );
169
169
  return L;
170
170
  }
171
- function wt(t, e, n) {
172
- const r = b(e), o = n[r];
171
+ function Oe(e, t, n) {
172
+ const r = S(t), o = n[r];
173
173
  if (o === void 0)
174
- throw Error("Unknown Time Zone " + e);
175
- const a = o.o, i = o.u, c = i.length - 1;
176
- for (let s = 0; s < c; s++) {
177
- let u = a[s];
178
- const l = a[s && s - 1];
179
- if (u > l && (u = l), t < i[s] - u * 6e4)
180
- return a[s];
174
+ throw Error("Unknown Time Zone " + t);
175
+ const s = o.o, i = o.u, c = i.length - 1;
176
+ for (let a = 0; a < c; a++) {
177
+ let u = s[a];
178
+ const l = s[a && a - 1];
179
+ if (u > l && (u = l), e < i[a] - u * 6e4)
180
+ return s[a];
181
181
  }
182
- return a[c];
182
+ return s[c];
183
183
  }
184
- const zt = (t, e, n) => {
185
- var s, u;
184
+ const Ue = (e, t, n) => {
185
+ var a, u;
186
186
  let r = "";
187
- const o = n.tz, a = (s = o == null ? void 0 : o.guess) == null ? void 0 : s.bind(o), i = (u = o == null ? void 0 : o.setDefault) == null ? void 0 : u.bind(o), c = (l, h, g) => {
188
- const Z = g || h || r, T = g ? h : void 0;
189
- return (typeof n.utc == "function" ? n.utc(l, T) : n(l, T).utc()).tz(Z);
187
+ const o = n.tz, s = (a = o == null ? void 0 : o.guess) == null ? void 0 : a.bind(o), i = (u = o == null ? void 0 : o.setDefault) == null ? void 0 : u.bind(o), c = (l, T, Z) => {
188
+ const z = Z || T || r, g = Z ? T : void 0;
189
+ return (typeof n.utc == "function" ? n.utc(l, g) : n(l, g).utc()).tz(z);
190
190
  };
191
191
  o && Object.assign(c, o), c.setDefault = (l) => {
192
192
  r = l, i == null || i(l);
193
- }, c.guess = () => a ? a() : typeof Intl < "u" && typeof Intl.DateTimeFormat == "function" ? Intl.DateTimeFormat().resolvedOptions().timeZone || r || "UTC" : r || "UTC", n.tz = c, e.prototype.tz = function(l = r, h) {
194
- var y;
195
- const g = l || ((y = c.guess) == null ? void 0 : y.call(c)) || "UTC", Z = this.utc().valueOf(), T = wt(Z, g, Dt());
196
- return this.utcOffset(-T, h);
193
+ }, c.guess = () => s ? s() : typeof Intl < "u" && typeof Intl.DateTimeFormat == "function" ? Intl.DateTimeFormat().resolvedOptions().timeZone || r || "UTC" : r || "UTC", n.tz = c, t.prototype.tz = function(l = r, T) {
194
+ var I;
195
+ const Z = l || ((I = c.guess) == null ? void 0 : I.call(c)) || "UTC", z = this.utc().valueOf(), g = Oe(z, Z, ke());
196
+ return this.utcOffset(-g, T);
197
197
  };
198
- }, m = zt;
199
- m.preloadFromApi = lt;
200
- m.preloadFromData = H;
201
- m.getCachedPackedData = ut;
202
- m.clearIanaCache = mt;
203
- function At(t) {
204
- if (!t || typeof t != "object")
198
+ }, d = Ue;
199
+ d.preloadFromApi = Ae;
200
+ d.preloadFromData = oe;
201
+ d.getCachedPackedData = Ee;
202
+ d.clearIanaCache = ze;
203
+ function Ne(e) {
204
+ if (!e || typeof e != "object")
205
205
  throw new Error("Invalid IANA response: expected an object");
206
- const e = t;
207
- if (!Array.isArray(e.zones))
206
+ const t = e;
207
+ if (!Array.isArray(t.zones))
208
208
  throw new Error("Invalid IANA response: missing zones array");
209
- const n = e.links;
209
+ const n = t.links;
210
210
  return {
211
- version: typeof e.version == "string" ? e.version : void 0,
212
- zones: e.zones,
211
+ version: typeof t.version == "string" ? t.version : void 0,
212
+ zones: t.zones,
213
213
  links: Array.isArray(n) ? n : []
214
214
  };
215
215
  }
216
- function J(t, e) {
217
- if (!t || typeof t.tz != "object" || typeof t.tz.load != "function")
216
+ function re(e, t) {
217
+ if (!e || typeof e.tz != "object" || typeof e.tz.load != "function")
218
218
  throw new Error("moment.tz.load is missing. Import moment-timezone before calling loadIanaData.");
219
- if (!e || !Array.isArray(e.zones))
219
+ if (!t || !Array.isArray(t.zones))
220
220
  throw new Error("Invalid packed IANA data: zones must be an array");
221
- t.tz.load(e);
221
+ e.tz.load(t);
222
222
  }
223
- async function Zt(t, e) {
223
+ async function Fe(e, t) {
224
224
  if (typeof fetch != "function")
225
225
  throw new Error("fetch is not available. Pass loadIanaFromApi options.fetchJson in Node or polyfill fetch.");
226
- const n = await fetch(t, e);
226
+ const n = await fetch(e, t);
227
227
  if (!n.ok)
228
228
  throw new Error(`IANA request failed: ${n.status} ${n.statusText}`);
229
229
  return n.json();
230
230
  }
231
- async function _(t, e, n) {
232
- let r = G, o = {};
233
- typeof e == "string" ? (r = e, o = n ?? {}) : e != null && (o = e);
234
- const a = Y({
231
+ async function W(e, t, n) {
232
+ let r = ee, o = {};
233
+ typeof t == "string" ? (r = t, o = n ?? {}) : t != null && (o = t);
234
+ const s = te({
235
235
  authorization: o.authorization,
236
236
  headers: o.headers
237
- }), c = await (o.fetchJson ?? Zt)(r, a), s = o.parseResponse ? o.parseResponse(c) : At(c);
238
- return J(t, s), s;
237
+ }), c = await (o.fetchJson ?? Fe)(r, s), a = o.parseResponse ? o.parseResponse(c) : Ne(c);
238
+ return re(e, a), a;
239
239
  }
240
- f.extend(rt);
241
- f.extend(at);
242
- const D = "zh-CN", Lt = "YYYY.MM.DD HH:mm:ss", S = "YYYY-MM-DD HH:mm:ss", B = "YYYY-MM-DD HH:mm", F = "UTC", x = {
240
+ f.extend(Ze);
241
+ f.extend(Ie);
242
+ const p = "zh-CN", Pe = "YYYY.MM.DD HH:mm:ss", b = "YYYY-MM-DD HH:mm:ss", se = "YYYY-MM-DD HH:mm", F = "UTC", P = "timeZone", ae = "timezonechange", je = "__UPF_TIMEZONE_CHANGE__", B = {
243
243
  zh: "夏令时",
244
244
  default: "DST"
245
- }, bt = [
245
+ }, xe = [
246
246
  "UTC",
247
247
  "UCT",
248
248
  "Zulu",
@@ -261,237 +261,342 @@ const D = "zh-CN", Lt = "YYYY.MM.DD HH:mm:ss", S = "YYYY-MM-DD HH:mm:ss", B = "Y
261
261
  "Etc/GMT+0",
262
262
  "Etc/GMT-0",
263
263
  "Etc/Greenwich"
264
- ], p = /* @__PURE__ */ new Set();
265
- var $, V;
266
- const Et = (V = ($ = f.tz) == null ? void 0 : $.guess) == null ? void 0 : V.bind(f.tz);
267
- let E = !1;
268
- const I = (t) => (t || "").trim(), U = (t) => {
269
- const e = I(t);
270
- e && p.add(e);
271
- }, kt = () => bt.forEach(U), St = () => {
264
+ ], y = /* @__PURE__ */ new Set();
265
+ var Q, X;
266
+ const Ve = (X = (Q = f.tz) == null ? void 0 : Q.guess) == null ? void 0 : X.bind(f.tz);
267
+ let C = !1;
268
+ const m = (e) => (e || "").trim(), O = (e) => {
269
+ const t = m(e);
270
+ t && y.add(t);
271
+ }, $e = () => xe.forEach(O), D = () => typeof window > "u" ? void 0 : window, j = () => {
272
+ try {
273
+ return typeof sessionStorage > "u" ? "" : m(sessionStorage.getItem(P));
274
+ } catch {
275
+ return "";
276
+ }
277
+ }, Ge = (e) => {
278
+ try {
279
+ typeof sessionStorage < "u" && sessionStorage.setItem(P, e);
280
+ } catch {
281
+ }
282
+ }, x = () => {
283
+ var t;
284
+ const e = D();
285
+ try {
286
+ return m((t = e == null ? void 0 : e.__UPF_TIMEZONE_SNAPSHOT__) == null ? void 0 : t.timeZone);
287
+ } catch {
288
+ return "";
289
+ }
290
+ }, V = () => {
291
+ var t;
292
+ const e = D();
293
+ if (!(e != null && e.name)) return "";
294
+ try {
295
+ const n = (t = JSON.parse(e.name || "{}")) == null ? void 0 : t.parentData;
296
+ return m(n == null ? void 0 : n.timeZone);
297
+ } catch {
298
+ return "";
299
+ }
300
+ }, ie = (e, t) => ({
301
+ timeZone: m(e),
302
+ source: t,
303
+ timestamp: Date.now()
304
+ });
305
+ let U = x() || V() || j();
306
+ const ce = {
307
+ get value() {
308
+ return U;
309
+ },
310
+ set value(e) {
311
+ Be(e, { source: "clientTimeZone.value" });
312
+ }
313
+ }, N = /* @__PURE__ */ new Set();
314
+ let K = !1;
315
+ const Ye = () => {
272
316
  if (!(typeof Intl > "u" || typeof Intl.DateTimeFormat != "function"))
273
317
  try {
274
318
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
275
319
  } catch {
276
320
  return;
277
321
  }
278
- }, Mt = (t) => {
279
- if (!t) return !1;
322
+ }, Re = (e) => {
323
+ if (!e) return !1;
280
324
  if (typeof Intl > "u" || typeof Intl.DateTimeFormat != "function") return !0;
281
325
  try {
282
- return new Intl.DateTimeFormat(void 0, { timeZone: t }), !0;
326
+ return new Intl.DateTimeFormat(void 0, { timeZone: e }), !0;
283
327
  } catch {
284
328
  return !1;
285
329
  }
286
- }, z = (t) => {
287
- const e = I(t);
288
- return e ? p.size ? p.has(e) : Mt(e) : !1;
289
- }, M = (t) => (p.clear(), t.zones.forEach((e) => {
290
- const n = e.split("|")[0];
291
- U(n);
292
- }), (t.links || []).forEach((e) => {
293
- e.split("|").forEach((n) => {
294
- U(n);
330
+ }, E = (e) => {
331
+ const t = m(e);
332
+ return t ? y.size ? y.has(t) : Re(t) : !1;
333
+ }, _ = (e) => (y.clear(), e.zones.forEach((t) => {
334
+ const n = t.split("|")[0];
335
+ O(n);
336
+ }), (e.links || []).forEach((t) => {
337
+ t.split("|").forEach((n) => {
338
+ O(n);
295
339
  });
296
- }), kt(), Array.from(p)), Qt = () => Array.from(p), Xt = async (t, e = {}) => {
297
- const n = m.preloadFromData(t), r = M(n);
298
- return E || (f.extend(m), E = !0), W(e.defaultTimeZone), { data: n, knownTimeZones: r };
299
- }, te = async (t = {}) => {
300
- const e = await m.preloadFromApi(t), n = M(e);
301
- return E || (f.extend(m), E = !0), W(t.defaultTimeZone), { data: e, knownTimeZones: n };
302
- }, ee = (t, e) => (J(t, e), M(e), e), ne = async (t, e = {}) => {
303
- const { url: n, ...r } = e, o = n ? await _(t, n, r) : await _(t, r);
304
- return M(o), o;
305
- }, Ct = () => {
340
+ }), $e(), Array.from(y)), wt = () => Array.from(y), Dt = async (e, t = {}) => {
341
+ const n = d.preloadFromData(e), r = _(n);
342
+ return C || (f.extend(d), C = !0), $(t.defaultTimeZone), { data: n, knownTimeZones: r };
343
+ }, Et = async (e = {}) => {
344
+ const t = await d.preloadFromApi(e), n = _(t);
345
+ return C || (f.extend(d), C = !0), $(e.defaultTimeZone), { data: t, knownTimeZones: n };
346
+ }, At = (e, t) => (re(e, t), _(t), t), zt = async (e, t = {}) => {
347
+ const { url: n, ...r } = t, o = n ? await W(e, n, r) : await W(e, r);
348
+ return _(o), o;
349
+ }, He = () => {
306
350
  var n;
307
- const t = (n = f.tz) == null ? void 0 : n.guess, e = typeof t == "function" ? t : Et;
351
+ const e = (n = f.tz) == null ? void 0 : n.guess, t = typeof e == "function" ? e : Ve;
308
352
  try {
309
- return e == null ? void 0 : e();
353
+ return t == null ? void 0 : t();
310
354
  } catch {
311
355
  return;
312
356
  }
313
- }, vt = () => {
314
- let t = "";
357
+ }, $ = (e) => {
358
+ var r, o;
359
+ const t = m(e), n = f.tz;
360
+ return t ? E(t) ? ((o = n == null ? void 0 : n.setDefault) == null || o.call(n, t), !0) : !1 : ((r = n == null ? void 0 : n.setDefault) == null || r.call(n, F), !0);
361
+ }, Je = (e) => {
362
+ N.forEach((t) => {
363
+ try {
364
+ t(e.timeZone, e);
365
+ } catch {
366
+ }
367
+ });
368
+ }, We = (e) => {
369
+ var t;
370
+ try {
371
+ (t = D()) == null || t.dispatchEvent(new CustomEvent(ae, { detail: e }));
372
+ } catch {
373
+ }
374
+ }, G = (e, t = {}) => {
375
+ const n = m(e), r = ie(n, t.source), o = U !== n;
376
+ o && (U = n);
315
377
  try {
316
- t = typeof sessionStorage > "u" ? "" : sessionStorage.getItem("timeZone") || "";
378
+ const s = D();
379
+ s && (s.__UPF_TIMEZONE_SNAPSHOT__ = r);
317
380
  } catch {
318
- t = "";
319
381
  }
320
- const e = t || Ct() || St();
321
- return z(e) ? I(e) : F;
322
- }, d = (t) => {
323
- const e = I(t) || vt();
324
- return z(e) ? e : F;
325
- }, W = (t) => {
326
- var r, o;
327
- const e = I(t), n = f.tz;
328
- return e ? z(e) ? ((o = n == null ? void 0 : n.setDefault) == null || o.call(n, e), !0) : !1 : ((r = n == null ? void 0 : n.setDefault) == null || r.call(n, F), !0);
329
- }, Ut = () => {
330
- var t;
331
- return typeof window < "u" && ((t = window.navigator) != null && t.language) ? window.navigator.language : D;
332
- }, Ft = (t, e = []) => {
333
- const r = t || Ut() || D, o = r.toLowerCase();
334
- if (!e.length)
335
- return o === "en" ? "en-US" : o === "zh" || o === "zh-cn" ? D : r;
336
- const a = e.find((s) => s.toLowerCase() === o);
337
- if (a) return a;
338
- const i = o.split("-")[0], c = e.find((s) => s.toLowerCase().split("-")[0] === i);
339
- return c || (i === "en" ? e.find((s) => s.toLowerCase().startsWith("en-")) || r : i === "zh" ? e.find((s) => s.toLowerCase().startsWith("zh-")) || D : r);
340
- }, A = (t) => {
341
- if (f.isDayjs(t)) return t;
342
- if (t == null || t === "") return f();
343
- const e = f(t);
344
- return e.isValid() ? e : f();
345
- }, k = (t) => t == null || t === "", K = (t) => f.isDayjs(t) ? t : k(t) ? f() : f(t), q = (t, e = !1) => {
346
- const n = I(t);
347
- return n ? d(n) : e ? d() : "";
348
- }, Ot = (t, e) => A(t).tz(d(e)).utcOffset(), jt = (t, e, n = B) => A(t).tz(d(e)).format(n), Nt = (t, e) => K(t).format(e.format), Q = (t, e) => {
349
- const n = e.format || S, r = q(e.timeZone, e.useClientTimeZone);
350
- if (!r) return Nt(t, { format: n });
351
- if (e.inputMode === "local")
352
- return k(t) ? f().tz(r).format(n) : f.tz(t, r).format(n);
353
- const o = K(t);
382
+ return t.persist !== !1 && Ge(n), t.syncDefault !== !1 && $(n), t.notify !== !1 && o && Je(r), t.dispatchEvent !== !1 && We(r), n;
383
+ }, Be = (e, t = {}) => G(m(e), {
384
+ persist: !0,
385
+ notify: !0,
386
+ dispatchEvent: !0,
387
+ syncDefault: !0,
388
+ ...t
389
+ }), Lt = (e = "sync") => {
390
+ const t = x() || V() || j();
391
+ return t || ce.value ? G(t, { source: e, persist: !1, dispatchEvent: !1 }) : "";
392
+ }, St = (e) => (N.add(e), () => N.delete(e)), Ke = (e) => {
393
+ var n, r, o, s;
394
+ if (typeof e == "string") return ie(e);
395
+ if (!e || typeof e != "object") return null;
396
+ const t = "timeZone" in e ? e.timeZone : e != null && e.detail && "timeZone" in e.detail ? e.detail.timeZone : e != null && e.params && "timeZone" in e.params ? e.params.timeZone : void 0;
397
+ return t == null ? null : {
398
+ timeZone: m(t),
399
+ source: e.source || ((n = e.detail) == null ? void 0 : n.source) || ((r = e.params) == null ? void 0 : r.source),
400
+ timestamp: Number(e.timestamp || ((o = e.detail) == null ? void 0 : o.timestamp) || ((s = e.params) == null ? void 0 : s.timestamp) || Date.now())
401
+ };
402
+ }, Y = (e, t) => {
403
+ const n = Ke(e);
404
+ n && G(n.timeZone, {
405
+ source: n.source || t,
406
+ persist: !1,
407
+ dispatchEvent: !1
408
+ });
409
+ }, qe = (e) => {
410
+ Y(e.detail, "window-event");
411
+ }, Qe = (e) => {
412
+ e.key === P && Y({ timeZone: e.newValue || "", source: "storage" }, "storage");
413
+ }, Xe = (e) => {
414
+ const t = e.data;
415
+ !t || t.type !== je || Y(t.detail || t, "message");
416
+ }, et = () => {
417
+ const e = D();
418
+ return !e || K ? !1 : (K = !0, e.addEventListener(ae, qe), e.addEventListener("storage", Qe), e.addEventListener("message", Xe), !0);
419
+ };
420
+ et();
421
+ const tt = () => {
422
+ const t = m(ce.value) || x() || V() || j() || He() || Ye();
423
+ return E(t) ? m(t) : F;
424
+ }, h = (e) => {
425
+ const t = m(e) || tt();
426
+ return E(t) ? t : F;
427
+ }, nt = () => {
428
+ var e;
429
+ return typeof window < "u" && ((e = window.navigator) != null && e.language) ? window.navigator.language : p;
430
+ }, ot = (e, t = []) => {
431
+ const r = e || nt() || p, o = r.toLowerCase();
432
+ if (!t.length)
433
+ return o === "en" ? "en-US" : o === "zh" || o === "zh-cn" ? p : r;
434
+ const s = t.find((a) => a.toLowerCase() === o);
435
+ if (s) return s;
436
+ const i = o.split("-")[0], c = t.find((a) => a.toLowerCase().split("-")[0] === i);
437
+ return c || (i === "en" ? t.find((a) => a.toLowerCase().startsWith("en-")) || r : i === "zh" ? t.find((a) => a.toLowerCase().startsWith("zh-")) || p : r);
438
+ }, A = (e) => {
439
+ if (f.isDayjs(e)) return e;
440
+ if (e == null || e === "") return f();
441
+ const t = f(e);
442
+ return t.isValid() ? t : f();
443
+ }, v = (e) => e == null || e === "", fe = (e) => f.isDayjs(e) ? e : v(e) ? f() : f(e), ue = (e, t = !1) => {
444
+ const n = m(e);
445
+ return n ? h(n) : t ? h() : "";
446
+ }, rt = (e, t) => A(e).tz(h(t)).utcOffset(), st = (e, t, n = se) => A(e).tz(h(t)).format(n), at = (e, t) => fe(e).format(t.format), le = (e, t) => {
447
+ const n = t.format || b, r = ue(t.timeZone, t.useClientTimeZone);
448
+ if (!r) return at(e, { format: n });
449
+ if (t.inputMode === "local")
450
+ return v(e) ? f().tz(r).format(n) : f.tz(e, r).format(n);
451
+ const o = fe(e);
354
452
  return o.isValid() ? o.tz(r).format(n) : o.format(n);
355
- }, _t = (t) => typeof t == "function", xt = (t, e) => {
356
- var s, u;
357
- const { moment: n } = e, r = e.format || S;
358
- if (!_t(n)) return Q(t, { ...e, dateLibrary: "dayjs" });
359
- const o = k(t) ? void 0 : t, a = q(e.timeZone, e.useClientTimeZone);
360
- if (!a || typeof n.tz != "function") return n(o).format(r);
361
- if (e.inputMode === "local")
362
- return k(t) ? ((u = (s = n()).tz) == null ? void 0 : u.call(s, a).format(r)) || n().format(r) : n.tz(o, a).format(r);
453
+ }, it = (e) => typeof e == "function", ct = (e, t) => {
454
+ var a, u;
455
+ const { moment: n } = t, r = t.format || b;
456
+ if (!it(n)) return le(e, { ...t, dateLibrary: "dayjs" });
457
+ const o = v(e) ? void 0 : e, s = ue(t.timeZone, t.useClientTimeZone);
458
+ if (!s || typeof n.tz != "function") return n(o).format(r);
459
+ if (t.inputMode === "local")
460
+ return v(e) ? ((u = (a = n()).tz) == null ? void 0 : u.call(a, s).format(r)) || n().format(r) : n.tz(o, s).format(r);
363
461
  const i = n(o);
364
- return (typeof i.tz == "function" ? i.tz(a) : n.tz(o, a)).format(r);
365
- }, Pt = (t, e = {}) => {
366
- const n = typeof e == "string" ? { format: e } : e || {}, r = {
462
+ return (typeof i.tz == "function" ? i.tz(s) : n.tz(o, s)).format(r);
463
+ }, ft = (e, t = {}) => {
464
+ const n = typeof t == "string" ? { format: t } : t || {}, r = {
367
465
  ...n,
368
- format: n.format || S
466
+ format: n.format || b
369
467
  };
370
- return r.dateLibrary === "moment" ? xt(t, r) : Q(t, r);
371
- }, oe = (t, e = S, n = {}) => Pt(t, { ...n, format: e }), P = (t) => String(t).padStart(2, "0"), X = (t) => `UTC${t}`, tt = (t, e) => {
372
- const n = Ot(t, e), r = n >= 0 ? "+" : "-", o = Math.abs(n);
373
- return `UTC${r}${P(Math.floor(o / 60))}:${P(o % 60)}`;
374
- }, $t = (t, e = /* @__PURE__ */ new Date()) => {
375
- const n = t.currentUtcOffsetText || t.baseUtcOffsetText;
376
- return n ? `UTC${n}` : tt(e, t.timeZoneId);
377
- }, Vt = (t, e) => {
378
- const n = t.match(/([+-]\d{1,2})(?::?(\d{2}))?/) || [];
379
- if (!n[1]) return e;
380
- const r = n[1].startsWith("-") ? "-" : "+", o = n[1].replace(/[+-]/, "").padStart(2, "0"), a = n[2] || "00";
381
- return `UTC${r}${o}:${a}`;
382
- }, Gt = (t, e, n) => {
383
- var o, a;
384
- const r = X(n.format("Z"));
468
+ return r.dateLibrary === "moment" ? ct(e, r) : le(e, r);
469
+ }, Ct = (e, t = b, n = {}) => ft(e, { ...n, format: t }), q = (e) => String(e).padStart(2, "0"), me = (e) => `UTC${e}`, de = (e, t) => {
470
+ const n = rt(e, t), r = n >= 0 ? "+" : "-", o = Math.abs(n);
471
+ return `UTC${r}${q(Math.floor(o / 60))}:${q(o % 60)}`;
472
+ }, ut = (e, t = /* @__PURE__ */ new Date()) => {
473
+ const n = e.currentUtcOffsetText || e.baseUtcOffsetText;
474
+ return n ? `UTC${n}` : de(t, e.timeZoneId);
475
+ }, lt = (e, t) => {
476
+ const n = e.match(/([+-]\d{1,2})(?::?(\d{2}))?/) || [];
477
+ if (!n[1]) return t;
478
+ const r = n[1].startsWith("-") ? "-" : "+", o = n[1].replace(/[+-]/, "").padStart(2, "0"), s = n[2] || "00";
479
+ return `UTC${r}${o}:${s}`;
480
+ }, mt = (e, t, n) => {
481
+ var o, s;
482
+ const r = me(n.format("Z"));
385
483
  try {
386
- const i = Intl.DateTimeFormat.supportedLocalesOf([e])[0] || e, c = (a = (o = new Intl.DateTimeFormat(i, { timeZone: t, timeZoneName: "long" }).formatToParts(n.toDate()).find((s) => s.type === "timeZoneName")) == null ? void 0 : o.value) == null ? void 0 : a.trim();
387
- return c ? /^(gmt|utc)/i.test(c) ? Vt(c, r) : c : r;
484
+ const i = Intl.DateTimeFormat.supportedLocalesOf([t])[0] || t, c = (s = (o = new Intl.DateTimeFormat(i, { timeZone: e, timeZoneName: "long" }).formatToParts(n.toDate()).find((a) => a.type === "timeZoneName")) == null ? void 0 : o.value) == null ? void 0 : s.trim();
485
+ return c ? /^(gmt|utc)/i.test(c) ? lt(c, r) : c : r;
388
486
  } catch {
389
487
  return r;
390
488
  }
391
- }, et = (t, e) => {
392
- const n = e.year();
489
+ }, he = (e, t) => {
490
+ const n = t.year();
393
491
  return Array.from(
394
492
  new Set(
395
493
  Array.from({ length: 12 }, (r, o) => {
396
- const a = `${o + 1}`.padStart(2, "0"), i = `${n}-${a}-15 12:00:00`;
397
- return f.tz(i, t).utcOffset();
494
+ const s = `${o + 1}`.padStart(2, "0"), i = `${n}-${s}-15 12:00:00`;
495
+ return f.tz(i, e).utcOffset();
398
496
  })
399
497
  )
400
498
  );
401
- }, nt = (t, e) => {
402
- const n = d(t);
403
- if (!z(n)) return !1;
404
- const r = A(e).tz(n);
405
- return et(n, r).length > 1;
406
- }, C = (t, e) => {
407
- const n = d(t);
408
- if (!z(n)) return !1;
409
- const r = A(e).tz(n), o = et(n, r);
499
+ }, Te = (e, t) => {
500
+ const n = h(e);
501
+ if (!E(n)) return !1;
502
+ const r = A(t).tz(n);
503
+ return he(n, r).length > 1;
504
+ }, M = (e, t) => {
505
+ const n = h(e);
506
+ if (!E(n)) return !1;
507
+ const r = A(t).tz(n), o = he(n, r);
410
508
  return o.length <= 1 ? !1 : r.utcOffset() === Math.max(...o);
411
- }, re = (t, e) => C(t, e), ot = (t) => {
412
- if (t === 1 || t === "1") return !0;
413
- if (t === 0 || t === "0") return !1;
414
- }, Yt = (t, e) => {
415
- const n = ot(t.dynamicOffsetFlag);
416
- return typeof n == "boolean" ? n : nt(t.timeZoneId, e);
417
- }, Rt = (t, e) => {
418
- const n = ot(t.currentDstFlag);
419
- return typeof n == "boolean" ? n : C(t.timeZoneId, e);
420
- }, ae = (t, e = /* @__PURE__ */ new Date()) => t.map((n) => {
421
- const r = n.tzShowName || $t(n, e), o = Yt(n, e);
509
+ }, vt = (e, t) => M(e, t), ge = (e) => {
510
+ if (e === 1 || e === "1") return !0;
511
+ if (e === 0 || e === "0") return !1;
512
+ }, dt = (e, t) => {
513
+ const n = ge(e.dynamicOffsetFlag);
514
+ return typeof n == "boolean" ? n : Te(e.timeZoneId, t);
515
+ }, ht = (e, t) => {
516
+ const n = ge(e.currentDstFlag);
517
+ return typeof n == "boolean" ? n : M(e.timeZoneId, t);
518
+ }, bt = (e, t = /* @__PURE__ */ new Date()) => e.map((n) => {
519
+ const r = n.tzShowName || ut(n, t), o = dt(n, t);
422
520
  return {
423
521
  value: n.timeZoneId,
424
522
  zoneName: r,
425
523
  label: r,
426
524
  hasDST: o,
427
- isDST: o ? Rt(n, e) : !1
525
+ isDST: o ? ht(n, t) : !1
428
526
  };
429
- }), Ht = (t) => {
430
- const e = t.toLowerCase().split("-")[0];
431
- return x[e] || x.default;
432
- }, Jt = (t) => typeof t.showDaylightSavingLabel == "boolean" ? t.showDaylightSavingLabel : t.showDaylightSavingMarker ?? !0, se = (t, e, n = {}) => {
527
+ }), Tt = (e) => {
528
+ const t = e.toLowerCase().split("-")[0];
529
+ return B[t] || B.default;
530
+ }, gt = (e) => typeof e.showDaylightSavingLabel == "boolean" ? e.showDaylightSavingLabel : e.showDaylightSavingMarker ?? !0, _t = (e, t, n = {}) => {
433
531
  const {
434
532
  showZoneLabel: r = !0,
435
533
  zoneLabel: o,
436
- hasDST: a,
534
+ hasDST: s,
437
535
  isDST: i,
438
536
  standardTimeLabel: c,
439
- daylightSavingLabel: s,
440
- format: u = B
441
- } = n, l = d(e), h = jt(t, l, u), g = typeof a == "boolean" ? a : nt(l, t), T = (typeof i == "boolean" ? i : C(l, t)) ? s : c, y = g && T ? `[${T}]` : "";
442
- return r ? [h, o || tt(t, l), y].filter(Boolean).join(" ") : [h, y].filter(Boolean).join(" ");
443
- }, ie = (t = {}) => {
444
- const e = Ft(t.locale, t.supportedLocales), n = d(t.timeZone), r = A(t.value).tz(n), o = Gt(n, e, r), a = X(r.format("Z")), i = C(n, r), c = i ? Ht(e) : "", s = Jt(t), u = i && s ? `${o} - ${c}` : o;
537
+ daylightSavingLabel: a,
538
+ format: u = se
539
+ } = n, l = h(t), T = st(e, l, u), Z = typeof s == "boolean" ? s : Te(l, e), g = (typeof i == "boolean" ? i : M(l, e)) ? a : c, I = Z && g ? `[${g}]` : "";
540
+ return r ? [T, o || de(e, l), I].filter(Boolean).join(" ") : [T, I].filter(Boolean).join(" ");
541
+ }, Mt = (e = {}) => {
542
+ const t = ot(e.locale, e.supportedLocales), n = h(e.timeZone), r = A(e.value).tz(n), o = mt(n, t, r), s = me(r.format("Z")), i = M(n, r), c = i ? Tt(t) : "", a = gt(e), u = i && a ? `${o} - ${c}` : o;
445
543
  return {
446
- formattedValue: r.format(t.format || Lt),
447
- locale: e,
544
+ formattedValue: r.format(e.format || Pe),
545
+ locale: t,
448
546
  timeZone: n,
449
547
  timeZoneName: o,
450
548
  timeZoneLabel: u,
451
- offsetLabel: a,
549
+ offsetLabel: s,
452
550
  offsetMinutes: r.utcOffset(),
453
551
  isDaylightSavingTime: i,
454
552
  daylightSavingLabel: c
455
553
  };
456
554
  };
457
555
  export {
458
- G as TIME_ZONE_PACKED_DATA_URL,
459
- Xt as applyDayjsIanaTimeZoneData,
460
- ee as applyMomentIanaTimeZoneData,
461
- R as assertPackedIanaData,
462
- At as assertPackedIanaTzData,
463
- Y as buildIanaFetchInit,
464
- ae as buildTimeZoneDisplayOptions,
465
- mt as clearDayjsIanaCache,
466
- It as createIanaDbFromPackedData,
467
- m as dayjsTimezoneIanaPlugin,
468
- se as formatClientLocalDateTimeLine,
469
- jt as formatInTimeZone,
470
- Pt as formatLocalDateTime,
471
- tt as formatTimeZoneOffsetLabel,
472
- st as getAccessTokenFromLocalStorage,
473
- ut as getCachedDayjsPackedIanaData,
474
- vt as getClientTimeZone,
475
- it as getDefaultIanaAuthorization,
476
- Qt as getKnownTimeZoneIds,
477
- ie as getTimeZoneDisplayInfo,
478
- Ot as getZoneUtcOffset,
479
- re as isDaylightSavingTime,
480
- z as isKnownTimeZone,
481
- te as loadDayjsIanaTimeZoneData,
482
- J as loadIanaData,
483
- _ as loadIanaFromApi,
484
- J as loadMomentIanaData,
485
- _ as loadMomentIanaFromApi,
486
- ne as loadMomentIanaTimeZoneData,
487
- Ft as normalizeLocaleCode,
488
- lt as preloadDayjsIanaFromApi,
489
- H as preloadDayjsIanaFromData,
490
- M as rebuildKnownTimeZoneIds,
491
- d as resolveTimeZone,
492
- $t as resolveUtcOffsetFallback,
493
- W as setDefaultTimeZone,
494
- nt as timeZoneHasDST,
495
- C as timeZoneIsDST,
496
- oe as toLocalDate
556
+ ae as TIMEZONE_CHANGE_EVENT,
557
+ ee as TIME_ZONE_PACKED_DATA_URL,
558
+ je as UPF_TIMEZONE_MESSAGE_TYPE,
559
+ Dt as applyDayjsIanaTimeZoneData,
560
+ At as applyMomentIanaTimeZoneData,
561
+ ne as assertPackedIanaData,
562
+ Ne as assertPackedIanaTzData,
563
+ te as buildIanaFetchInit,
564
+ bt as buildTimeZoneDisplayOptions,
565
+ ze as clearDayjsIanaCache,
566
+ ce as clientTimeZone,
567
+ Me as createIanaDbFromPackedData,
568
+ d as dayjsTimezoneIanaPlugin,
569
+ _t as formatClientLocalDateTimeLine,
570
+ st as formatInTimeZone,
571
+ ft as formatLocalDateTime,
572
+ de as formatTimeZoneOffsetLabel,
573
+ ye as getAccessTokenFromLocalStorage,
574
+ Ee as getCachedDayjsPackedIanaData,
575
+ tt as getClientTimeZone,
576
+ pe as getDefaultIanaAuthorization,
577
+ wt as getKnownTimeZoneIds,
578
+ Mt as getTimeZoneDisplayInfo,
579
+ rt as getZoneUtcOffset,
580
+ et as initClientTimeZoneSync,
581
+ vt as isDaylightSavingTime,
582
+ E as isKnownTimeZone,
583
+ Et as loadDayjsIanaTimeZoneData,
584
+ re as loadIanaData,
585
+ W as loadIanaFromApi,
586
+ re as loadMomentIanaData,
587
+ W as loadMomentIanaFromApi,
588
+ zt as loadMomentIanaTimeZoneData,
589
+ ot as normalizeLocaleCode,
590
+ St as onClientTimeZoneChange,
591
+ Ae as preloadDayjsIanaFromApi,
592
+ oe as preloadDayjsIanaFromData,
593
+ _ as rebuildKnownTimeZoneIds,
594
+ h as resolveTimeZone,
595
+ ut as resolveUtcOffsetFallback,
596
+ Be as setClientTimeZone,
597
+ $ as setDefaultTimeZone,
598
+ Lt as syncClientTimeZone,
599
+ Te as timeZoneHasDST,
600
+ M as timeZoneIsDST,
601
+ Ct as toLocalDate
497
602
  };