@das-fed/upf-utils 6.4.0-dev.248 → 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 (95) 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 +1335 -1207
  8. package/api-services/modules/authentication/index.js +1093 -998
  9. package/api-services/modules/authentication/index.js.gz +0 -0
  10. package/api-services/modules/bems/es5.js +1485 -1342
  11. package/api-services/modules/bems/index.js +1235 -1118
  12. package/api-services/modules/bems/index.js.gz +0 -0
  13. package/api-services/modules/contract/es5.js +1335 -1207
  14. package/api-services/modules/contract/index.js +1093 -998
  15. package/api-services/modules/contract/index.js.gz +0 -0
  16. package/api-services/modules/duty-manage/es5.js +1362 -1229
  17. package/api-services/modules/duty-manage/index.js +1125 -1022
  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 +2191 -2060
  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 +1833 -1734
  30. package/api-services/modules/index.js.gz +0 -0
  31. package/api-services/modules/iot/es5.js +1522 -1391
  32. package/api-services/modules/iot/index.js +1261 -1162
  33. package/api-services/modules/iot/index.js.gz +0 -0
  34. package/api-services/modules/justauth/es5.js +1415 -1296
  35. package/api-services/modules/justauth/index.js +1168 -1087
  36. package/api-services/modules/justauth/index.js.gz +0 -0
  37. package/api-services/modules/knowledge/es5.js +1480 -1337
  38. package/api-services/modules/knowledge/index.js +1226 -1109
  39. package/api-services/modules/knowledge/index.js.gz +0 -0
  40. package/api-services/modules/link/es5.js +1334 -1203
  41. package/api-services/modules/link/index.js +1104 -1005
  42. package/api-services/modules/link/index.js.gz +0 -0
  43. package/api-services/modules/permission/es5.js +1481 -1341
  44. package/api-services/modules/permission/index.js +1234 -1121
  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 +1355 -1224
  59. package/api-services/modules/supplier/index.js +1106 -1007
  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 +1334 -1203
  65. package/api-services/modules/systemConfiguration/index.js +1104 -1005
  66. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  67. package/api-services/modules/tool/es5.js +1334 -1203
  68. package/api-services/modules/tool/index.js +1104 -1005
  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 +1326 -1198
  75. package/common-info/getPermissionMethod/index.js +1066 -971
  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 +640 -462
  81. package/common-tools/timezone-format/index.d.ts +31 -1
  82. package/common-tools/timezone-format/index.js +467 -304
  83. package/common-tools/timezone-format/index.js.gz +0 -0
  84. package/create-api-service/es5.js +1342 -1211
  85. package/create-api-service/index.js +1109 -1010
  86. package/create-api-service/index.js.gz +0 -0
  87. package/esm-map.json +20 -0
  88. package/package.json +3 -3
  89. package/theme/bridge.d.ts +42 -0
  90. package/theme/es5.d.ts +8 -41
  91. package/theme/es5.js +800 -490
  92. package/theme/index.d.ts +8 -41
  93. package/theme/index.js +538 -391
  94. package/theme/index.js.gz +0 -0
  95. package/theme/source-variables.d.ts +35 -0
@@ -1,9 +1,9 @@
1
1
  import f from "dayjs";
2
- import tt from "dayjs/plugin/utc";
3
- import et 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 P = "/api/admin/basic-application/sys-info/v1/license/time-zone-packed-data";
6
- function nt() {
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,428 +12,591 @@ function nt() {
12
12
  return null;
13
13
  }
14
14
  }
15
- function ot() {
16
- const t = nt();
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 $(t = {}) {
21
- const e = t.authorization !== void 0 ? t.authorization === "" || t.authorization == null ? void 0 : t.authorization : ot(), 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
- let L = null, I = null;
26
- function _(t) {
27
- if (!t || typeof t != "object")
25
+ let L = null, w = null;
26
+ const R = [
27
+ "utc",
28
+ "uct",
29
+ "zulu",
30
+ "universal",
31
+ "etc/utc",
32
+ "etc/uct",
33
+ "etc/zulu",
34
+ "etc/universal",
35
+ "gmt",
36
+ "gmt0",
37
+ "gmt+0",
38
+ "gmt-0",
39
+ "greenwich",
40
+ "etc/gmt",
41
+ "etc/gmt0",
42
+ "etc/gmt+0",
43
+ "etc/gmt-0",
44
+ "etc/greenwich"
45
+ ], we = { u: [1 / 0], o: [0] };
46
+ function ne(e) {
47
+ if (!e || typeof e != "object")
28
48
  throw new Error("Invalid IANA response: expected an object");
29
- const e = t;
30
- if (!Array.isArray(e.zones))
49
+ const t = e;
50
+ if (!Array.isArray(t.zones))
31
51
  throw new Error("Invalid IANA response: missing zones array");
32
- const n = e.links;
52
+ const n = t.links;
33
53
  return {
34
- version: typeof e.version == "string" ? e.version : void 0,
35
- zones: e.zones,
54
+ version: typeof t.version == "string" ? t.version : void 0,
55
+ zones: t.zones,
36
56
  links: Array.isArray(n) ? n : []
37
57
  };
38
58
  }
39
- async function rt(t, e) {
59
+ async function De(e, t) {
40
60
  if (typeof fetch != "function")
41
61
  throw new Error("fetch is not available. Pass preloadFromApi options.fetchJson.");
42
- const n = await fetch(t, e);
62
+ const n = await fetch(e, t);
43
63
  if (!n.ok)
44
64
  throw new Error(`IANA request failed: ${n.status} ${n.statusText}`);
45
65
  return n.json();
46
66
  }
47
- function V(t) {
48
- return I = _(t), L = mt(I), I;
67
+ function oe(e) {
68
+ return w = ne(e), L = Me(w), w;
49
69
  }
50
- function at() {
51
- return I;
70
+ function Ee() {
71
+ return w;
52
72
  }
53
- async function st(t = {}) {
54
- const e = t.url ?? P, n = $({
55
- authorization: t.authorization,
56
- headers: t.headers
57
- }), o = await (t.fetchJson ?? rt)(e, n), a = t.parseResponse ? t.parseResponse(o) : _(o);
58
- return V(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);
59
79
  }
60
- function it() {
61
- L = null, I = null;
80
+ function ze() {
81
+ L = null, w = null;
62
82
  }
63
- function F(t) {
64
- 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;
65
85
  }
66
- function ct(t) {
67
- let e = 1, n = 0, r = 0, o = 1;
68
- const a = t.split("."), c = a[0], i = a[1] || "";
69
- t.charCodeAt(0) === 45 && (e = -1);
70
- for (let s = 0; s < c.length; s++) {
71
- const l = c.charCodeAt(s);
72
- l !== 45 && (n = 60 * n + F(l));
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));
73
93
  }
74
- for (let s = 0; s < i.length; s++)
75
- o = o / 60, r += F(i.charCodeAt(s)) * o;
76
- 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;
77
97
  }
78
- function v(t) {
79
- const e = [];
80
- for (const n of t)
81
- e.push(ct(n));
82
- return e;
98
+ function k(e) {
99
+ const t = [];
100
+ for (const n of e)
101
+ t.push(Le(n));
102
+ return t;
83
103
  }
84
- function ft(t) {
85
- let e = 0;
104
+ function J(e) {
105
+ const t = e.trim();
106
+ return t ? t.split(" ") : [];
107
+ }
108
+ function Se(e) {
109
+ let t = 0;
86
110
  const n = [];
87
- for (const r of t)
88
- e += r, n.push(Math.round(e * 6e4));
111
+ for (const r of e)
112
+ t += r, n.push(Math.round(t * 6e4));
89
113
  return n.push(1 / 0), n;
90
114
  }
91
- function lt(t, e) {
115
+ function Ce(e, t) {
92
116
  const n = [];
93
- for (const r of e)
94
- n.push(t[r]);
117
+ for (const r of t)
118
+ n.push(e[r]);
95
119
  return n;
96
120
  }
97
- function ut(t) {
98
- const e = t.split("|");
99
- if (e.length < 5)
121
+ function S(e) {
122
+ return typeof e == "string" ? e.trim().toLowerCase() : "";
123
+ }
124
+ function ve(e) {
125
+ const t = e.split("|");
126
+ if (t.length < 5)
100
127
  throw new Error("Invalid packed zone format");
101
- const n = e[0].toLowerCase(), r = v(e[2].split(" ")), o = v(e[3].split("")), a = ft(v(e[4].split(" "))), c = lt(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);
102
129
  return {
103
130
  name: n,
104
131
  rule: {
105
- u: a,
106
- o: c
132
+ u: s,
133
+ o: i
107
134
  }
108
135
  };
109
136
  }
110
- function mt(t) {
111
- if (!t || !Array.isArray(t.zones))
137
+ function be(e, t, n) {
138
+ const r = S(t), o = S(n);
139
+ if (!r || !o) return;
140
+ const s = e[r], i = e[o];
141
+ s && !i ? e[o] = s : i && !s && (e[r] = i);
142
+ }
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
+ });
148
+ }
149
+ function Me(e) {
150
+ if (!e || !Array.isArray(e.zones))
112
151
  throw new TypeError("packed iana data must contain zones array");
113
- const e = {};
114
- for (const r of t.zones) {
115
- const o = ut(r);
116
- 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;
117
156
  }
118
- const n = t.links || [];
157
+ const n = e.links || [];
119
158
  for (const r of n) {
120
159
  const o = r.split("|");
121
- if (o.length < 2)
122
- continue;
123
- const a = o[0].toLowerCase(), c = o[1].toLowerCase(), i = e[c];
124
- i && (e[a] = i);
160
+ o.length < 2 || be(t, o[0], o[1]);
125
161
  }
126
- return e;
162
+ return _e(t), t;
127
163
  }
128
- function dt() {
164
+ function ke() {
129
165
  if (!L)
130
166
  throw new Error(
131
167
  "IANA data not loaded. Await dayjsTimezoneIanaPlugin.preloadFromApi({ url: ... }) before dayjs.extend(dayjsTimezoneIanaPlugin)."
132
168
  );
133
169
  return L;
134
170
  }
135
- function ht(t, e, n) {
136
- const r = typeof e == "string" ? e.toLowerCase() : "", o = n[r];
171
+ function Oe(e, t, n) {
172
+ const r = S(t), o = n[r];
137
173
  if (o === void 0)
138
- throw Error("Unknown Time Zone " + e);
139
- const a = o.o, c = o.u, i = c.length - 1;
140
- for (let s = 0; s < i; s++) {
141
- let l = a[s];
142
- const u = a[s && s - 1];
143
- if (l > u && (l = u), t < c[s] - l * 6e4)
144
- 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];
145
181
  }
146
- return a[i];
182
+ return s[c];
147
183
  }
148
- const Tt = (t, e, n) => {
149
- var s, l;
184
+ const Ue = (e, t, n) => {
185
+ var a, u;
150
186
  let r = "";
151
- const o = n.tz, a = (s = o == null ? void 0 : o.guess) == null ? void 0 : s.bind(o), c = (l = o == null ? void 0 : o.setDefault) == null ? void 0 : l.bind(o), i = (u, h, p) => {
152
- const Z = p || h || r, T = p ? h : void 0;
153
- return (typeof n.utc == "function" ? n.utc(u, T) : n(u, 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);
154
190
  };
155
- o && Object.assign(i, o), i.setDefault = (u) => {
156
- r = u, c == null || c(u);
157
- }, i.guess = () => a ? a() : typeof Intl < "u" && typeof Intl.DateTimeFormat == "function" ? Intl.DateTimeFormat().resolvedOptions().timeZone || r || "UTC" : r || "UTC", n.tz = i, e.prototype.tz = function(u = r, h) {
158
- var g;
159
- const p = u || ((g = i.guess) == null ? void 0 : g.call(i)) || "UTC", Z = this.utc().valueOf(), T = ht(Z, p, dt());
160
- return this.utcOffset(-T, h);
191
+ o && Object.assign(c, o), c.setDefault = (l) => {
192
+ r = l, i == null || i(l);
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);
161
197
  };
162
- }, m = Tt;
163
- m.preloadFromApi = st;
164
- m.preloadFromData = V;
165
- m.getCachedPackedData = at;
166
- m.clearIanaCache = it;
167
- function yt(t) {
168
- 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")
169
205
  throw new Error("Invalid IANA response: expected an object");
170
- const e = t;
171
- if (!Array.isArray(e.zones))
206
+ const t = e;
207
+ if (!Array.isArray(t.zones))
172
208
  throw new Error("Invalid IANA response: missing zones array");
173
- const n = e.links;
209
+ const n = t.links;
174
210
  return {
175
- version: typeof e.version == "string" ? e.version : void 0,
176
- zones: e.zones,
211
+ version: typeof t.version == "string" ? t.version : void 0,
212
+ zones: t.zones,
177
213
  links: Array.isArray(n) ? n : []
178
214
  };
179
215
  }
180
- function Y(t, e) {
181
- 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")
182
218
  throw new Error("moment.tz.load is missing. Import moment-timezone before calling loadIanaData.");
183
- if (!e || !Array.isArray(e.zones))
219
+ if (!t || !Array.isArray(t.zones))
184
220
  throw new Error("Invalid packed IANA data: zones must be an array");
185
- t.tz.load(e);
221
+ e.tz.load(t);
186
222
  }
187
- async function pt(t, e) {
223
+ async function Fe(e, t) {
188
224
  if (typeof fetch != "function")
189
225
  throw new Error("fetch is not available. Pass loadIanaFromApi options.fetchJson in Node or polyfill fetch.");
190
- const n = await fetch(t, e);
226
+ const n = await fetch(e, t);
191
227
  if (!n.ok)
192
228
  throw new Error(`IANA request failed: ${n.status} ${n.statusText}`);
193
229
  return n.json();
194
230
  }
195
- async function O(t, e, n) {
196
- let r = P, o = {};
197
- typeof e == "string" ? (r = e, o = n ?? {}) : e != null && (o = e);
198
- const a = $({
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({
199
235
  authorization: o.authorization,
200
236
  headers: o.headers
201
- }), i = await (o.fetchJson ?? pt)(r, a), s = o.parseResponse ? o.parseResponse(i) : yt(i);
202
- return Y(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;
203
239
  }
204
- f.extend(tt);
205
- f.extend(et);
206
- const D = "zh-CN", gt = "YYYY.MM.DD HH:mm:ss", S = "YYYY-MM-DD HH:mm:ss", H = "YYYY-MM-DD HH:mm", M = "UTC", j = {
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 = {
207
243
  zh: "夏令时",
208
244
  default: "DST"
209
- }, y = /* @__PURE__ */ new Set();
210
- var U, N;
211
- const Dt = (N = (U = f.tz) == null ? void 0 : U.guess) == null ? void 0 : N.bind(f.tz);
212
- let b = !1;
213
- const w = (t) => (t || "").trim(), It = () => {
245
+ }, xe = [
246
+ "UTC",
247
+ "UCT",
248
+ "Zulu",
249
+ "Universal",
250
+ "Etc/UTC",
251
+ "Etc/UCT",
252
+ "Etc/Zulu",
253
+ "Etc/Universal",
254
+ "GMT",
255
+ "GMT0",
256
+ "GMT+0",
257
+ "GMT-0",
258
+ "Greenwich",
259
+ "Etc/GMT",
260
+ "Etc/GMT0",
261
+ "Etc/GMT+0",
262
+ "Etc/GMT-0",
263
+ "Etc/Greenwich"
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 = () => {
214
316
  if (!(typeof Intl > "u" || typeof Intl.DateTimeFormat != "function"))
215
317
  try {
216
318
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
217
319
  } catch {
218
320
  return;
219
321
  }
220
- }, wt = (t) => {
221
- if (!t) return !1;
322
+ }, Re = (e) => {
323
+ if (!e) return !1;
222
324
  if (typeof Intl > "u" || typeof Intl.DateTimeFormat != "function") return !0;
223
325
  try {
224
- return new Intl.DateTimeFormat(void 0, { timeZone: t }), !0;
326
+ return new Intl.DateTimeFormat(void 0, { timeZone: e }), !0;
225
327
  } catch {
226
328
  return !1;
227
329
  }
228
- }, z = (t) => {
229
- const e = w(t);
230
- return e ? y.size ? y.has(e) : wt(e) : !1;
231
- }, C = (t) => (y.clear(), t.zones.forEach((e) => {
232
- const n = e.split("|")[0];
233
- n && y.add(n);
234
- }), (t.links || []).forEach((e) => {
235
- e.split("|").forEach((n) => {
236
- n && y.add(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);
237
339
  });
238
- }), Array.from(y)), Yt = () => Array.from(y), Ht = async (t, e = {}) => {
239
- const n = m.preloadFromData(t), r = C(n);
240
- return b || (f.extend(m), b = !0), J(e.defaultTimeZone), { data: n, knownTimeZones: r };
241
- }, Jt = async (t = {}) => {
242
- const e = await m.preloadFromApi(t), n = C(e);
243
- return b || (f.extend(m), b = !0), J(t.defaultTimeZone), { data: e, knownTimeZones: n };
244
- }, Rt = (t, e) => (Y(t, e), C(e), e), Bt = async (t, e = {}) => {
245
- const { url: n, ...r } = e, o = n ? await O(t, n, r) : await O(t, r);
246
- return C(o), o;
247
- }, zt = () => {
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 = () => {
248
350
  var n;
249
- const t = (n = f.tz) == null ? void 0 : n.guess, e = typeof t == "function" ? t : Dt;
351
+ const e = (n = f.tz) == null ? void 0 : n.guess, t = typeof e == "function" ? e : Ve;
250
352
  try {
251
- return e == null ? void 0 : e();
353
+ return t == null ? void 0 : t();
252
354
  } catch {
253
355
  return;
254
356
  }
255
- }, At = () => {
256
- 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;
257
370
  try {
258
- t = typeof sessionStorage > "u" ? "" : sessionStorage.getItem("timeZone") || "";
371
+ (t = D()) == null || t.dispatchEvent(new CustomEvent(ae, { detail: e }));
259
372
  } catch {
260
- t = "";
261
373
  }
262
- const e = t || zt() || It();
263
- return z(e) ? w(e) : M;
264
- }, d = (t) => {
265
- const e = w(t) || At();
266
- return z(e) ? e : M;
267
- }, J = (t) => {
268
- var r, o;
269
- const e = w(t), n = f.tz;
270
- 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, M), !0);
271
- }, Zt = () => {
272
- var t;
273
- return typeof window < "u" && ((t = window.navigator) != null && t.language) ? window.navigator.language : D;
274
- }, Lt = (t, e = []) => {
275
- const r = t || Zt() || D, o = r.toLowerCase();
276
- if (!e.length)
277
- return o === "en" ? "en-US" : o === "zh" || o === "zh-cn" ? D : r;
278
- const a = e.find((s) => s.toLowerCase() === o);
279
- if (a) return a;
280
- const c = o.split("-")[0], i = e.find((s) => s.toLowerCase().split("-")[0] === c);
281
- return i || (c === "en" ? e.find((s) => s.toLowerCase().startsWith("en-")) || r : c === "zh" ? e.find((s) => s.toLowerCase().startsWith("zh-")) || D : r);
282
- }, A = (t) => {
283
- if (f.isDayjs(t)) return t;
284
- if (t == null || t === "") return f();
285
- const e = f(t);
286
- return e.isValid() ? e : f();
287
- }, k = (t) => t == null || t === "", R = (t) => f.isDayjs(t) ? t : k(t) ? f() : f(t), B = (t, e = !1) => {
288
- const n = w(t);
289
- return n ? d(n) : e ? d() : "";
290
- }, bt = (t, e) => A(t).tz(d(e)).utcOffset(), kt = (t, e, n = H) => A(t).tz(d(e)).format(n), St = (t, e) => R(t).format(e.format), W = (t, e) => {
291
- const n = e.format || S, r = B(e.timeZone, e.useClientTimeZone);
292
- if (!r) return St(t, { format: n });
293
- if (e.inputMode === "local")
294
- return k(t) ? f().tz(r).format(n) : f.tz(t, r).format(n);
295
- const o = R(t);
374
+ }, G = (e, t = {}) => {
375
+ const n = m(e), r = ie(n, t.source), o = U !== n;
376
+ o && (U = n);
377
+ try {
378
+ const s = D();
379
+ s && (s.__UPF_TIMEZONE_SNAPSHOT__ = r);
380
+ } catch {
381
+ }
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);
296
452
  return o.isValid() ? o.tz(r).format(n) : o.format(n);
297
- }, Ct = (t) => typeof t == "function", Et = (t, e) => {
298
- var s, l;
299
- const { moment: n } = e, r = e.format || S;
300
- if (!Ct(n)) return W(t, { ...e, dateLibrary: "dayjs" });
301
- const o = k(t) ? void 0 : t, a = B(e.timeZone, e.useClientTimeZone);
302
- if (!a || typeof n.tz != "function") return n(o).format(r);
303
- if (e.inputMode === "local")
304
- return k(t) ? ((l = (s = n()).tz) == null ? void 0 : l.call(s, a).format(r)) || n().format(r) : n.tz(o, a).format(r);
305
- const c = n(o);
306
- return (typeof c.tz == "function" ? c.tz(a) : n.tz(o, a)).format(r);
307
- }, vt = (t, e = {}) => {
308
- const n = typeof e == "string" ? { format: e } : e || {}, 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);
461
+ const i = n(o);
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 = {
309
465
  ...n,
310
- format: n.format || S
466
+ format: n.format || b
311
467
  };
312
- return r.dateLibrary === "moment" ? Et(t, r) : W(t, r);
313
- }, Wt = (t, e = S, n = {}) => vt(t, { ...n, format: e }), x = (t) => String(t).padStart(2, "0"), G = (t) => `UTC${t}`, K = (t, e) => {
314
- const n = bt(t, e), r = n >= 0 ? "+" : "-", o = Math.abs(n);
315
- return `UTC${r}${x(Math.floor(o / 60))}:${x(o % 60)}`;
316
- }, Mt = (t, e = /* @__PURE__ */ new Date()) => {
317
- const n = t.currentUtcOffsetText || t.baseUtcOffsetText;
318
- return n ? `UTC${n}` : K(e, t.timeZoneId);
319
- }, Ft = (t, e) => {
320
- const n = t.match(/([+-]\d{1,2})(?::?(\d{2}))?/) || [];
321
- if (!n[1]) return e;
322
- const r = n[1].startsWith("-") ? "-" : "+", o = n[1].replace(/[+-]/, "").padStart(2, "0"), a = n[2] || "00";
323
- return `UTC${r}${o}:${a}`;
324
- }, Ot = (t, e, n) => {
325
- var o, a;
326
- const r = G(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"));
327
483
  try {
328
- const c = Intl.DateTimeFormat.supportedLocalesOf([e])[0] || e, i = (a = (o = new Intl.DateTimeFormat(c, { timeZone: t, timeZoneName: "long" }).formatToParts(n.toDate()).find((s) => s.type === "timeZoneName")) == null ? void 0 : o.value) == null ? void 0 : a.trim();
329
- return i ? /^(gmt|utc)/i.test(i) ? Ft(i, r) : i : 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;
330
486
  } catch {
331
487
  return r;
332
488
  }
333
- }, q = (t, e) => {
334
- const n = e.year();
489
+ }, he = (e, t) => {
490
+ const n = t.year();
335
491
  return Array.from(
336
492
  new Set(
337
493
  Array.from({ length: 12 }, (r, o) => {
338
- const a = `${o + 1}`.padStart(2, "0"), c = `${n}-${a}-15 12:00:00`;
339
- return f.tz(c, t).utcOffset();
494
+ const s = `${o + 1}`.padStart(2, "0"), i = `${n}-${s}-15 12:00:00`;
495
+ return f.tz(i, e).utcOffset();
340
496
  })
341
497
  )
342
498
  );
343
- }, Q = (t, e) => {
344
- const n = d(t);
345
- if (!z(n)) return !1;
346
- const r = A(e).tz(n);
347
- return q(n, r).length > 1;
348
- }, E = (t, e) => {
349
- const n = d(t);
350
- if (!z(n)) return !1;
351
- const r = A(e).tz(n), o = q(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);
352
508
  return o.length <= 1 ? !1 : r.utcOffset() === Math.max(...o);
353
- }, Gt = (t, e) => E(t, e), X = (t) => {
354
- if (t === 1 || t === "1") return !0;
355
- if (t === 0 || t === "0") return !1;
356
- }, jt = (t, e) => {
357
- const n = X(t.dynamicOffsetFlag);
358
- return typeof n == "boolean" ? n : Q(t.timeZoneId, e);
359
- }, xt = (t, e) => {
360
- const n = X(t.currentDstFlag);
361
- return typeof n == "boolean" ? n : E(t.timeZoneId, e);
362
- }, Kt = (t, e = /* @__PURE__ */ new Date()) => t.map((n) => {
363
- const r = n.tzShowName || Mt(n, e), o = jt(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);
364
520
  return {
365
521
  value: n.timeZoneId,
366
522
  zoneName: r,
367
523
  label: r,
368
524
  hasDST: o,
369
- isDST: o ? xt(n, e) : !1
525
+ isDST: o ? ht(n, t) : !1
370
526
  };
371
- }), Ut = (t) => {
372
- const e = t.toLowerCase().split("-")[0];
373
- return j[e] || j.default;
374
- }, Nt = (t) => typeof t.showDaylightSavingLabel == "boolean" ? t.showDaylightSavingLabel : t.showDaylightSavingMarker ?? !0, qt = (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 = {}) => {
375
531
  const {
376
532
  showZoneLabel: r = !0,
377
533
  zoneLabel: o,
378
- hasDST: a,
379
- isDST: c,
380
- standardTimeLabel: i,
381
- daylightSavingLabel: s,
382
- format: l = H
383
- } = n, u = d(e), h = kt(t, u, l), p = typeof a == "boolean" ? a : Q(u, t), T = (typeof c == "boolean" ? c : E(u, t)) ? s : i, g = p && T ? `[${T}]` : "";
384
- return r ? [h, o || K(t, u), g].filter(Boolean).join(" ") : [h, g].filter(Boolean).join(" ");
385
- }, Qt = (t = {}) => {
386
- const e = Lt(t.locale, t.supportedLocales), n = d(t.timeZone), r = A(t.value).tz(n), o = Ot(n, e, r), a = G(r.format("Z")), c = E(n, r), i = c ? Ut(e) : "", s = Nt(t), l = c && s ? `${o} - ${i}` : o;
534
+ hasDST: s,
535
+ isDST: i,
536
+ standardTimeLabel: c,
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;
387
543
  return {
388
- formattedValue: r.format(t.format || gt),
389
- locale: e,
544
+ formattedValue: r.format(e.format || Pe),
545
+ locale: t,
390
546
  timeZone: n,
391
547
  timeZoneName: o,
392
- timeZoneLabel: l,
393
- offsetLabel: a,
548
+ timeZoneLabel: u,
549
+ offsetLabel: s,
394
550
  offsetMinutes: r.utcOffset(),
395
- isDaylightSavingTime: c,
396
- daylightSavingLabel: i
551
+ isDaylightSavingTime: i,
552
+ daylightSavingLabel: c
397
553
  };
398
554
  };
399
555
  export {
400
- P as TIME_ZONE_PACKED_DATA_URL,
401
- Ht as applyDayjsIanaTimeZoneData,
402
- Rt as applyMomentIanaTimeZoneData,
403
- _ as assertPackedIanaData,
404
- yt as assertPackedIanaTzData,
405
- $ as buildIanaFetchInit,
406
- Kt as buildTimeZoneDisplayOptions,
407
- it as clearDayjsIanaCache,
408
- mt as createIanaDbFromPackedData,
409
- m as dayjsTimezoneIanaPlugin,
410
- qt as formatClientLocalDateTimeLine,
411
- kt as formatInTimeZone,
412
- vt as formatLocalDateTime,
413
- K as formatTimeZoneOffsetLabel,
414
- nt as getAccessTokenFromLocalStorage,
415
- at as getCachedDayjsPackedIanaData,
416
- At as getClientTimeZone,
417
- ot as getDefaultIanaAuthorization,
418
- Yt as getKnownTimeZoneIds,
419
- Qt as getTimeZoneDisplayInfo,
420
- bt as getZoneUtcOffset,
421
- Gt as isDaylightSavingTime,
422
- z as isKnownTimeZone,
423
- Jt as loadDayjsIanaTimeZoneData,
424
- Y as loadIanaData,
425
- O as loadIanaFromApi,
426
- Y as loadMomentIanaData,
427
- O as loadMomentIanaFromApi,
428
- Bt as loadMomentIanaTimeZoneData,
429
- Lt as normalizeLocaleCode,
430
- st as preloadDayjsIanaFromApi,
431
- V as preloadDayjsIanaFromData,
432
- C as rebuildKnownTimeZoneIds,
433
- d as resolveTimeZone,
434
- Mt as resolveUtcOffsetFallback,
435
- J as setDefaultTimeZone,
436
- Q as timeZoneHasDST,
437
- E as timeZoneIsDST,
438
- Wt 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
439
602
  };