@epam/ai-dial-catalog 1.0.0-dev.513 → 1.0.0-dev.515
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js
CHANGED
|
@@ -19,15 +19,15 @@ var Me = /* @__PURE__ */ function(e) {
|
|
|
19
19
|
return e.SignedIn = "SIGNED_IN", e.SignedOut = "SIGNED_OUT", e.Failed = "FAILED", e;
|
|
20
20
|
}({}), Re = /* @__PURE__ */ function(e) {
|
|
21
21
|
return e.User = "USER", e.Global = "GLOBAL", e;
|
|
22
|
-
}({}), V = /* @__PURE__ */ function(e) {
|
|
23
|
-
return e.ManageCredentials = "MANAGE_CREDENTIALS", e.LoginWithMyCreds = "LOGIN_WITH_MY_CREDS", e.LogIn = "LOG_IN", e.LogOut = "LOG_OUT", e;
|
|
24
22
|
}({}), ze = /* @__PURE__ */ function(e) {
|
|
25
|
-
return e.
|
|
23
|
+
return e.ManageCredentials = "MANAGE_CREDENTIALS", e.LoginWithMyCreds = "LOGIN_WITH_MY_CREDS", e.LogIn = "LOG_IN", e.LogOut = "LOG_OUT", e;
|
|
26
24
|
}({}), Be = /* @__PURE__ */ function(e) {
|
|
27
|
-
return e.
|
|
25
|
+
return e.LoggedOut = "LOGGED_OUT", e;
|
|
28
26
|
}({}), Ve = /* @__PURE__ */ function(e) {
|
|
27
|
+
return e.Grid = "grid", e.List = "list", e;
|
|
28
|
+
}({}), He = /* @__PURE__ */ function(e) {
|
|
29
29
|
return e.None = "none", e.Info = "info", e.ReplaceWarning = "replaceWarning", e.NoAccess = "noAccess", e.SubmitError = "submitError", e;
|
|
30
|
-
}({}),
|
|
30
|
+
}({}), Ue = (e, t, n = "From") => {
|
|
31
31
|
let r = t?.size ?? 0, i = e.size;
|
|
32
32
|
if (i === 0 || i === r) return n;
|
|
33
33
|
if (r - i === 1) {
|
|
@@ -35,50 +35,50 @@ var Me = /* @__PURE__ */ function(e) {
|
|
|
35
35
|
return r == null ? n : `${n}: All except ${r}`;
|
|
36
36
|
}
|
|
37
37
|
return `${n}: ${i} of ${r}`;
|
|
38
|
-
},
|
|
38
|
+
}, We = (e, t) => t.size === 0 ? e : e.filter((e) => e.topics.some((e) => t.has(e))), Ge = (e) => e.filter((e) => e.isMyApp === !0), Ke = (e, t) => {
|
|
39
39
|
let n = t.trim().toLowerCase(), r = e;
|
|
40
40
|
return n && (r = r.filter((e) => e.name.toLowerCase().includes(n) || e.description.toLowerCase().includes(n) || e.type.toLowerCase().includes(n))), r;
|
|
41
|
-
},
|
|
41
|
+
}, qe = (e, t) => {
|
|
42
42
|
let n = e.filter((e) => e.isFeatured), r = e.filter((e) => !e.isFeatured), i = (e) => t === Fe.NameAZ ? [...e].sort((e, t) => e.name.trim().toLowerCase().localeCompare(t.name.trim().toLowerCase())) : t === Fe.RecentlyUpdated ? [...e].sort((e, t) => !e.updatedAt && !t.updatedAt ? 0 : e.updatedAt ? t.updatedAt ? t.updatedAt - e.updatedAt : -1 : 1) : t === Fe.Newest ? [...e].sort((e, t) => !e.createdAt && !t.createdAt ? 0 : e.createdAt ? t.createdAt ? t.createdAt - e.createdAt : -1 : 1) : e;
|
|
43
43
|
return [...i(n), ...i(r)];
|
|
44
|
-
},
|
|
44
|
+
}, Je = () => {
|
|
45
45
|
let [e, t] = d(() => window.innerWidth);
|
|
46
46
|
return o(() => {
|
|
47
47
|
let e = () => t(window.innerWidth);
|
|
48
48
|
return window.addEventListener("resize", e), () => window.removeEventListener("resize", e);
|
|
49
49
|
}, []), e >= 1024 ? 4 : e >= 640 ? 2 : 1;
|
|
50
|
-
},
|
|
51
|
-
calloutKind:
|
|
50
|
+
}, Ye = (e) => e.isSubmitting ? {
|
|
51
|
+
calloutKind: He.None,
|
|
52
52
|
isSubmitDisabled: !0,
|
|
53
53
|
isSubmitLoading: !0
|
|
54
54
|
} : e.hasSelectedFolder ? e.hasWriteAccess ? e.hasSubmitError ? {
|
|
55
|
-
calloutKind:
|
|
55
|
+
calloutKind: He.SubmitError,
|
|
56
56
|
isSubmitDisabled: !1,
|
|
57
57
|
isSubmitLoading: !1
|
|
58
58
|
} : e.hasExistingPublicationInFolder ? {
|
|
59
|
-
calloutKind:
|
|
59
|
+
calloutKind: He.ReplaceWarning,
|
|
60
60
|
isSubmitDisabled: e.allowReplace === !1,
|
|
61
61
|
isSubmitLoading: !1
|
|
62
62
|
} : {
|
|
63
|
-
calloutKind:
|
|
63
|
+
calloutKind: He.Info,
|
|
64
64
|
isSubmitDisabled: !1,
|
|
65
65
|
isSubmitLoading: !1
|
|
66
66
|
} : {
|
|
67
|
-
calloutKind:
|
|
67
|
+
calloutKind: He.NoAccess,
|
|
68
68
|
isSubmitDisabled: !0,
|
|
69
69
|
isSubmitLoading: !1
|
|
70
70
|
} : {
|
|
71
|
-
calloutKind:
|
|
71
|
+
calloutKind: He.None,
|
|
72
72
|
isSubmitDisabled: !0,
|
|
73
73
|
isSubmitLoading: !1
|
|
74
|
-
},
|
|
75
|
-
let r = Math.floor((t - e) /
|
|
74
|
+
}, Xe = 1440 * 60 * 1e3, Ze = (e, t = Date.now(), n) => {
|
|
75
|
+
let r = Math.floor((t - e) / Xe);
|
|
76
76
|
return r <= 0 ? "Today" : r === 1 ? "Yesterday" : r < 7 ? `${r} days ago` : new Date(e).toLocaleDateString(n, {
|
|
77
77
|
month: "short",
|
|
78
78
|
day: "numeric",
|
|
79
79
|
year: "numeric"
|
|
80
80
|
});
|
|
81
|
-
},
|
|
81
|
+
}, Qe = (e, t, n) => t.length === 0 ? [...e, {
|
|
82
82
|
path: [n],
|
|
83
83
|
name: n
|
|
84
84
|
}] : e.map((e) => e.path.join("/") === t.join("/") ? {
|
|
@@ -89,17 +89,17 @@ var Me = /* @__PURE__ */ function(e) {
|
|
|
89
89
|
}]
|
|
90
90
|
} : {
|
|
91
91
|
...e,
|
|
92
|
-
children: e.children ?
|
|
93
|
-
}),
|
|
92
|
+
children: e.children ? Qe(e.children, t, n) : e.children
|
|
93
|
+
}), $e = (e, t, n) => {
|
|
94
94
|
let r = [...t, n].join("/");
|
|
95
95
|
return t.length === 0 ? e.filter((e) => e.path.join("/") !== r) : e.map((e) => e.path.join("/") === t.join("/") ? {
|
|
96
96
|
...e,
|
|
97
97
|
children: (e.children ?? []).filter((e) => e.path.join("/") !== r)
|
|
98
98
|
} : {
|
|
99
99
|
...e,
|
|
100
|
-
children: e.children ?
|
|
100
|
+
children: e.children ? $e(e.children, t, n) : e.children
|
|
101
101
|
});
|
|
102
|
-
},
|
|
102
|
+
}, et = ({ item: e, history: t, folderItems: n, hasWriteAccess: r = () => !0, onCreateFolder: i, onPublish: s, onPublishSuccess: c }) => {
|
|
103
103
|
let [u, f] = d(n);
|
|
104
104
|
o(() => {
|
|
105
105
|
f(n);
|
|
@@ -113,11 +113,11 @@ var Me = /* @__PURE__ */ function(e) {
|
|
|
113
113
|
e.version,
|
|
114
114
|
p
|
|
115
115
|
]), b = a(async (e, t) => {
|
|
116
|
-
f((n) =>
|
|
116
|
+
f((n) => Qe(n, e, t));
|
|
117
117
|
try {
|
|
118
118
|
await i?.(e, t);
|
|
119
119
|
} catch {
|
|
120
|
-
f((n) =>
|
|
120
|
+
f((n) => $e(n, e, t)), v(!0);
|
|
121
121
|
}
|
|
122
122
|
}, [i]), x = a(async () => {
|
|
123
123
|
if (!p) return !1;
|
|
@@ -149,82 +149,82 @@ var Me = /* @__PURE__ */ function(e) {
|
|
|
149
149
|
handleSubmit: x,
|
|
150
150
|
reset: S
|
|
151
151
|
};
|
|
152
|
-
},
|
|
152
|
+
}, tt = (e, t) => {
|
|
153
153
|
let n = t.trim().toLowerCase();
|
|
154
154
|
return n ? e.reduce((e, r) => {
|
|
155
|
-
let i = r.children ?
|
|
155
|
+
let i = r.children ? tt(r.children, t) : void 0;
|
|
156
156
|
return r.name.toLowerCase().includes(n) ? e.push(r) : i?.length && e.push({
|
|
157
157
|
...r,
|
|
158
158
|
children: i
|
|
159
159
|
}), e;
|
|
160
160
|
}, []) : e;
|
|
161
|
-
},
|
|
162
|
-
let t =
|
|
161
|
+
}, nt = (e) => e.flatMap((e) => [e.path.join("/"), ...e.children ? nt(e.children) : []]), rt = (e) => e.join("/"), it = (e) => e.split("/").filter(Boolean), at = (e) => e.map((e) => {
|
|
162
|
+
let t = rt(e.path);
|
|
163
163
|
return {
|
|
164
164
|
path: t,
|
|
165
165
|
name: e.name,
|
|
166
166
|
folderId: t,
|
|
167
167
|
nodeType: C.FOLDER,
|
|
168
|
-
items: e.children ?
|
|
168
|
+
items: e.children ? at(e.children) : void 0
|
|
169
169
|
};
|
|
170
|
-
}),
|
|
171
|
-
let r =
|
|
170
|
+
}), ot = (e, t, n) => {
|
|
171
|
+
let r = rt([...t, n]), i = {
|
|
172
172
|
path: r,
|
|
173
173
|
name: n,
|
|
174
174
|
folderId: r,
|
|
175
175
|
nodeType: C.FOLDER
|
|
176
176
|
};
|
|
177
177
|
if (t.length === 0) return [...e, i];
|
|
178
|
-
let a =
|
|
178
|
+
let a = rt(t);
|
|
179
179
|
return e.map((e) => e.path === a ? {
|
|
180
180
|
...e,
|
|
181
181
|
items: [...e.items ?? [], i]
|
|
182
182
|
} : e.items ? {
|
|
183
183
|
...e,
|
|
184
|
-
items:
|
|
184
|
+
items: ot(e.items, t, n)
|
|
185
185
|
} : e);
|
|
186
|
-
},
|
|
186
|
+
}, st = (e, t) => {
|
|
187
187
|
if (t.length === 0) return e.map((e) => e.name);
|
|
188
|
-
let n =
|
|
188
|
+
let n = rt(t), r = (e) => {
|
|
189
189
|
for (let t of e) {
|
|
190
|
-
if (
|
|
190
|
+
if (rt(t.path) === n) return t;
|
|
191
191
|
let e = t.children ? r(t.children) : void 0;
|
|
192
192
|
if (e) return e;
|
|
193
193
|
}
|
|
194
194
|
};
|
|
195
195
|
return (r(e)?.children ?? []).map((e) => e.name);
|
|
196
|
-
},
|
|
197
|
-
let t =
|
|
198
|
-
return e.isManageableByAdmin ?
|
|
199
|
-
},
|
|
196
|
+
}, ct = (e) => e === Le.SignedIn, lt = (e) => {
|
|
197
|
+
let t = ct(e.userStatus), n = ct(e.globalStatus);
|
|
198
|
+
return e.isManageableByAdmin ? ze.ManageCredentials : e.isPublic && !t ? ze.LoginWithMyCreds : !t && !n ? ze.LogIn : ze.LogOut;
|
|
199
|
+
}, ut = (e) => {
|
|
200
200
|
if (e.authenticationType === Ie.None) return;
|
|
201
|
-
let t =
|
|
202
|
-
return !t && !n ?
|
|
203
|
-
},
|
|
201
|
+
let t = ct(e.userStatus), n = ct(e.globalStatus);
|
|
202
|
+
return !t && !n ? Be.LoggedOut : void 0;
|
|
203
|
+
}, dt = (e) => ct(e.userStatus) ? Re.User : Re.Global, ft = Object.create, pt = Object.defineProperty, mt = Object.getOwnPropertyDescriptor, ht = Object.getOwnPropertyNames, gt = Object.getPrototypeOf, _t = Object.prototype.hasOwnProperty, vt = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), yt = (e, t) => {
|
|
204
204
|
let n = {};
|
|
205
|
-
for (var r in e)
|
|
205
|
+
for (var r in e) pt(n, r, {
|
|
206
206
|
get: e[r],
|
|
207
207
|
enumerable: !0
|
|
208
208
|
});
|
|
209
|
-
return t ||
|
|
210
|
-
},
|
|
211
|
-
if (t && typeof t == "object" || typeof t == "function") for (var i =
|
|
209
|
+
return t || pt(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
210
|
+
}, bt = (e, t, n, r) => {
|
|
211
|
+
if (t && typeof t == "object" || typeof t == "function") for (var i = ht(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !_t.call(e, s) && s !== n && pt(e, s, {
|
|
212
212
|
get: ((e) => t[e]).bind(null, s),
|
|
213
|
-
enumerable: !(r =
|
|
213
|
+
enumerable: !(r = mt(t, s)) || r.enumerable
|
|
214
214
|
});
|
|
215
215
|
return e;
|
|
216
|
-
},
|
|
216
|
+
}, xt = (e, t, n) => (n = e == null ? {} : ft(gt(e)), bt(t || !e || !e.__esModule ? pt(n, "default", {
|
|
217
217
|
value: e,
|
|
218
218
|
enumerable: !0
|
|
219
|
-
}) : n, e)),
|
|
219
|
+
}) : n, e)), St = /* @__PURE__ */ function(e) {
|
|
220
220
|
return e.Markdown = "text/markdown", e.Plain = "text/plain", e.HTML = "text/html", e.XHTML = "application/xhtml+xml", e.CSS = "text/css", e.JavaScript = "text/javascript", e.TypeScript = "text/typescript", e.CSV = "text/csv", e.JSON = "application/json", e.XML = "application/xml", e.PDF = "application/pdf", e.ZIP = "application/zip", e.GZIP = "application/gzip", e.JPEG = "image/jpeg", e.PNG = "image/png", e.GIF = "image/gif", e.WebP = "image/webp", e.BMP = "image/bmp", e.SVG = "image/svg+xml", e;
|
|
221
|
-
}({}), St = /* @__PURE__ */ function(e) {
|
|
222
|
-
return e.PDF = "pdf", e.Markdown = "md", e.MarkdownAlt = "markdown", e.JSON = "json", e;
|
|
223
221
|
}({}), Ct = /* @__PURE__ */ function(e) {
|
|
222
|
+
return e.PDF = "pdf", e.Markdown = "md", e.MarkdownAlt = "markdown", e.JSON = "json", e;
|
|
223
|
+
}({}), wt = /* @__PURE__ */ function(e) {
|
|
224
224
|
return e.Dark = "dark", e.Light = "light", e;
|
|
225
225
|
}({});
|
|
226
226
|
new TextEncoder(), new TextDecoder();
|
|
227
|
-
var
|
|
227
|
+
var Tt = /* @__PURE__ */ xt((/* @__PURE__ */ vt(((e, t) => {
|
|
228
228
|
(function() {
|
|
229
229
|
var e = {}.hasOwnProperty;
|
|
230
230
|
function n() {
|
|
@@ -250,100 +250,100 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
250
250
|
return n;
|
|
251
251
|
}) : window.classNames = n;
|
|
252
252
|
})();
|
|
253
|
-
})))(), 1),
|
|
253
|
+
})))(), 1), Et = (e, t) => {
|
|
254
254
|
let n = Array(e.length + t.length);
|
|
255
255
|
for (let t = 0; t < e.length; t++) n[t] = e[t];
|
|
256
256
|
for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
|
|
257
257
|
return n;
|
|
258
|
-
},
|
|
258
|
+
}, Dt = (e, t) => ({
|
|
259
259
|
classGroupId: e,
|
|
260
260
|
validator: t
|
|
261
|
-
}),
|
|
261
|
+
}), Ot = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
|
|
262
262
|
nextPart: e,
|
|
263
263
|
validators: t,
|
|
264
264
|
classGroupId: n
|
|
265
|
-
}),
|
|
266
|
-
let t =
|
|
265
|
+
}), kt = "-", At = [], jt = "arbitrary..", Mt = (e) => {
|
|
266
|
+
let t = Ft(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
|
|
267
267
|
return {
|
|
268
268
|
getClassGroupId: (e) => {
|
|
269
|
-
if (e.startsWith("[") && e.endsWith("]")) return
|
|
270
|
-
let n = e.split(
|
|
271
|
-
return
|
|
269
|
+
if (e.startsWith("[") && e.endsWith("]")) return Pt(e);
|
|
270
|
+
let n = e.split(kt);
|
|
271
|
+
return Nt(n, +(n[0] === "" && n.length > 1), t);
|
|
272
272
|
},
|
|
273
273
|
getConflictingClassGroupIds: (e, t) => {
|
|
274
274
|
if (t) {
|
|
275
275
|
let t = r[e], i = n[e];
|
|
276
|
-
return t ? i ?
|
|
276
|
+
return t ? i ? Et(i, t) : t : i || At;
|
|
277
277
|
}
|
|
278
|
-
return n[e] ||
|
|
278
|
+
return n[e] || At;
|
|
279
279
|
}
|
|
280
280
|
};
|
|
281
|
-
},
|
|
281
|
+
}, Nt = (e, t, n) => {
|
|
282
282
|
if (e.length - t === 0) return n.classGroupId;
|
|
283
283
|
let r = e[t], i = n.nextPart.get(r);
|
|
284
284
|
if (i) {
|
|
285
|
-
let n =
|
|
285
|
+
let n = Nt(e, t + 1, i);
|
|
286
286
|
if (n) return n;
|
|
287
287
|
}
|
|
288
288
|
let a = n.validators;
|
|
289
289
|
if (a === null) return;
|
|
290
|
-
let o = t === 0 ? e.join(
|
|
290
|
+
let o = t === 0 ? e.join(kt) : e.slice(t).join(kt), s = a.length;
|
|
291
291
|
for (let e = 0; e < s; e++) {
|
|
292
292
|
let t = a[e];
|
|
293
293
|
if (t.validator(o)) return t.classGroupId;
|
|
294
294
|
}
|
|
295
|
-
},
|
|
295
|
+
}, Pt = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
296
296
|
let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
|
|
297
|
-
return r ?
|
|
298
|
-
})(),
|
|
297
|
+
return r ? jt + r : void 0;
|
|
298
|
+
})(), Ft = (e) => {
|
|
299
299
|
let { theme: t, classGroups: n } = e;
|
|
300
|
-
return
|
|
301
|
-
},
|
|
302
|
-
let n =
|
|
300
|
+
return It(n, t);
|
|
301
|
+
}, It = (e, t) => {
|
|
302
|
+
let n = Ot();
|
|
303
303
|
for (let r in e) {
|
|
304
304
|
let i = e[r];
|
|
305
|
-
|
|
305
|
+
Lt(i, n, r, t);
|
|
306
306
|
}
|
|
307
307
|
return n;
|
|
308
|
-
},
|
|
308
|
+
}, Lt = (e, t, n, r) => {
|
|
309
309
|
let i = e.length;
|
|
310
310
|
for (let a = 0; a < i; a++) {
|
|
311
311
|
let i = e[a];
|
|
312
|
-
|
|
312
|
+
Rt(i, t, n, r);
|
|
313
313
|
}
|
|
314
|
-
},
|
|
314
|
+
}, Rt = (e, t, n, r) => {
|
|
315
315
|
if (typeof e == "string") {
|
|
316
|
-
|
|
316
|
+
zt(e, t, n);
|
|
317
317
|
return;
|
|
318
318
|
}
|
|
319
319
|
if (typeof e == "function") {
|
|
320
|
-
|
|
320
|
+
Bt(e, t, n, r);
|
|
321
321
|
return;
|
|
322
322
|
}
|
|
323
|
-
|
|
324
|
-
},
|
|
325
|
-
let r = e === "" ? t :
|
|
323
|
+
Vt(e, t, n, r);
|
|
324
|
+
}, zt = (e, t, n) => {
|
|
325
|
+
let r = e === "" ? t : Ht(t, e);
|
|
326
326
|
r.classGroupId = n;
|
|
327
|
-
},
|
|
328
|
-
if (
|
|
329
|
-
|
|
327
|
+
}, Bt = (e, t, n, r) => {
|
|
328
|
+
if (Ut(e)) {
|
|
329
|
+
Lt(e(r), t, n, r);
|
|
330
330
|
return;
|
|
331
331
|
}
|
|
332
|
-
t.validators === null && (t.validators = []), t.validators.push(
|
|
333
|
-
},
|
|
332
|
+
t.validators === null && (t.validators = []), t.validators.push(Dt(n, e));
|
|
333
|
+
}, Vt = (e, t, n, r) => {
|
|
334
334
|
let i = Object.entries(e), a = i.length;
|
|
335
335
|
for (let e = 0; e < a; e++) {
|
|
336
336
|
let [a, o] = i[e];
|
|
337
|
-
|
|
337
|
+
Lt(o, Ht(t, a), n, r);
|
|
338
338
|
}
|
|
339
|
-
},
|
|
340
|
-
let n = e, r = t.split(
|
|
339
|
+
}, Ht = (e, t) => {
|
|
340
|
+
let n = e, r = t.split(kt), i = r.length;
|
|
341
341
|
for (let e = 0; e < i; e++) {
|
|
342
342
|
let t = r[e], i = n.nextPart.get(t);
|
|
343
|
-
i || (i =
|
|
343
|
+
i || (i = Ot(), n.nextPart.set(t, i)), n = i;
|
|
344
344
|
}
|
|
345
345
|
return n;
|
|
346
|
-
},
|
|
346
|
+
}, Ut = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Wt = (e) => {
|
|
347
347
|
if (e < 1) return {
|
|
348
348
|
get: () => void 0,
|
|
349
349
|
set: () => {}
|
|
@@ -361,19 +361,19 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
361
361
|
e in n ? n[e] = t : i(e, t);
|
|
362
362
|
}
|
|
363
363
|
};
|
|
364
|
-
},
|
|
364
|
+
}, Gt = "!", Kt = ":", qt = [], Jt = (e, t, n, r, i) => ({
|
|
365
365
|
modifiers: e,
|
|
366
366
|
hasImportantModifier: t,
|
|
367
367
|
baseClassName: n,
|
|
368
368
|
maybePostfixModifierPosition: r,
|
|
369
369
|
isExternal: i
|
|
370
|
-
}),
|
|
370
|
+
}), Yt = (e) => {
|
|
371
371
|
let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
|
|
372
372
|
let t = [], n = 0, r = 0, i = 0, a, o = e.length;
|
|
373
373
|
for (let s = 0; s < o; s++) {
|
|
374
374
|
let o = e[s];
|
|
375
375
|
if (n === 0 && r === 0) {
|
|
376
|
-
if (o ===
|
|
376
|
+
if (o === Kt) {
|
|
377
377
|
t.push(e.slice(i, s)), i = s + 1;
|
|
378
378
|
continue;
|
|
379
379
|
}
|
|
@@ -385,13 +385,13 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
385
385
|
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
|
|
386
386
|
}
|
|
387
387
|
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
|
|
388
|
-
s.endsWith(
|
|
388
|
+
s.endsWith(Gt) ? (c = s.slice(0, -1), l = !0) : s.startsWith(Gt) && (c = s.slice(1), l = !0);
|
|
389
389
|
let u = a && a > i ? a - i : void 0;
|
|
390
|
-
return
|
|
390
|
+
return Jt(t, l, c, u);
|
|
391
391
|
};
|
|
392
392
|
if (t) {
|
|
393
|
-
let e = t +
|
|
394
|
-
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : qt
|
|
393
|
+
let e = t + Kt, n = r;
|
|
394
|
+
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : Jt(qt, !1, t, void 0, !0);
|
|
395
395
|
}
|
|
396
396
|
if (n) {
|
|
397
397
|
let e = r;
|
|
@@ -401,7 +401,7 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
return r;
|
|
404
|
-
},
|
|
404
|
+
}, Xt = (e) => {
|
|
405
405
|
let t = /* @__PURE__ */ new Map();
|
|
406
406
|
return e.orderSensitiveModifiers.forEach((e, n) => {
|
|
407
407
|
t.set(e, 1e6 + n);
|
|
@@ -413,18 +413,18 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
413
413
|
}
|
|
414
414
|
return r.length > 0 && (r.sort(), n.push(...r)), n;
|
|
415
415
|
};
|
|
416
|
-
},
|
|
417
|
-
cache:
|
|
418
|
-
parseClassName:
|
|
419
|
-
sortModifiers:
|
|
420
|
-
postfixLookupClassGroupIds:
|
|
421
|
-
...
|
|
422
|
-
}),
|
|
416
|
+
}, Zt = (e) => ({
|
|
417
|
+
cache: Wt(e.cacheSize),
|
|
418
|
+
parseClassName: Yt(e),
|
|
419
|
+
sortModifiers: Xt(e),
|
|
420
|
+
postfixLookupClassGroupIds: Qt(e),
|
|
421
|
+
...Mt(e)
|
|
422
|
+
}), Qt = (e) => {
|
|
423
423
|
let t = Object.create(null), n = e.postfixLookupClassGroups;
|
|
424
424
|
if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
|
|
425
425
|
return t;
|
|
426
|
-
},
|
|
427
|
-
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(
|
|
426
|
+
}, $t = /\s+/, en = (e, t) => {
|
|
427
|
+
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split($t), l = "";
|
|
428
428
|
for (let e = c.length - 1; e >= 0; --e) {
|
|
429
429
|
let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
|
|
430
430
|
if (u) {
|
|
@@ -448,7 +448,7 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
448
448
|
}
|
|
449
449
|
h = !1;
|
|
450
450
|
}
|
|
451
|
-
let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ +
|
|
451
|
+
let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + Gt : _, y = v + g;
|
|
452
452
|
if (s.indexOf(y) > -1) continue;
|
|
453
453
|
s.push(y);
|
|
454
454
|
let b = i(g, h);
|
|
@@ -459,34 +459,34 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
459
459
|
l = t + (l.length > 0 ? " " + l : l);
|
|
460
460
|
}
|
|
461
461
|
return l;
|
|
462
|
-
},
|
|
462
|
+
}, tn = (...e) => {
|
|
463
463
|
let t = 0, n, r, i = "";
|
|
464
|
-
for (; t < e.length;) (n = e[t++]) && (r =
|
|
464
|
+
for (; t < e.length;) (n = e[t++]) && (r = nn(n)) && (i && (i += " "), i += r);
|
|
465
465
|
return i;
|
|
466
|
-
},
|
|
466
|
+
}, nn = (e) => {
|
|
467
467
|
if (typeof e == "string") return e;
|
|
468
468
|
let t, n = "";
|
|
469
|
-
for (let r = 0; r < e.length; r++) e[r] && (t =
|
|
469
|
+
for (let r = 0; r < e.length; r++) e[r] && (t = nn(e[r])) && (n && (n += " "), n += t);
|
|
470
470
|
return n;
|
|
471
|
-
},
|
|
472
|
-
let n, r, i, a, o = (o) => (n =
|
|
471
|
+
}, rn = (e, ...t) => {
|
|
472
|
+
let n, r, i, a, o = (o) => (n = Zt(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
|
|
473
473
|
let t = r(e);
|
|
474
474
|
if (t) return t;
|
|
475
|
-
let a =
|
|
475
|
+
let a = en(e, n);
|
|
476
476
|
return i(e, a), a;
|
|
477
477
|
};
|
|
478
|
-
return a = o, (...e) => a(
|
|
479
|
-
},
|
|
480
|
-
let t = (t) => t[e] ||
|
|
478
|
+
return a = o, (...e) => a(tn(...e));
|
|
479
|
+
}, an = [], on = (e) => {
|
|
480
|
+
let t = (t) => t[e] || an;
|
|
481
481
|
return t.isThemeGetter = !0, t;
|
|
482
|
-
},
|
|
483
|
-
let r = on.exec(e);
|
|
484
|
-
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
485
|
-
}, Vn = (e, t, n = !1) => {
|
|
482
|
+
}, sn = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, cn = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ln = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, un = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, dn = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, fn = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, pn = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, mn = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, hn = (e) => ln.test(e), V = (e) => !!e && !Number.isNaN(Number(e)), gn = (e) => !!e && Number.isInteger(Number(e)), _n = (e) => e.endsWith("%") && V(e.slice(0, -1)), vn = (e) => un.test(e), yn = () => !0, bn = (e) => dn.test(e) && !fn.test(e), xn = () => !1, Sn = (e) => pn.test(e), Cn = (e) => mn.test(e), wn = (e) => !H(e) && !U(e), Tn = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), En = (e) => Vn(e, Gn, xn), H = (e) => sn.test(e), Dn = (e) => Vn(e, Kn, bn), On = (e) => Vn(e, qn, V), kn = (e) => Vn(e, Yn, yn), An = (e) => Vn(e, Jn, xn), jn = (e) => Vn(e, Un, xn), Mn = (e) => Vn(e, Wn, Cn), Nn = (e) => Vn(e, Xn, Sn), U = (e) => cn.test(e), Pn = (e) => Hn(e, Kn), Fn = (e) => Hn(e, Jn), In = (e) => Hn(e, Un), Ln = (e) => Hn(e, Gn), Rn = (e) => Hn(e, Wn), zn = (e) => Hn(e, Xn, !0), Bn = (e) => Hn(e, Yn, !0), Vn = (e, t, n) => {
|
|
486
483
|
let r = sn.exec(e);
|
|
484
|
+
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
485
|
+
}, Hn = (e, t, n = !1) => {
|
|
486
|
+
let r = cn.exec(e);
|
|
487
487
|
return r ? r[1] ? t(r[1]) : n : !1;
|
|
488
|
-
},
|
|
489
|
-
let e =
|
|
488
|
+
}, Un = (e) => e === "position" || e === "percentage", Wn = (e) => e === "image" || e === "url", Gn = (e) => e === "length" || e === "size" || e === "bg-size", Kn = (e) => e === "length", qn = (e) => e === "number", Jn = (e) => e === "family-name", Yn = (e) => e === "number" || e === "weight", Xn = (e) => e === "shadow", Zn = /*#__PURE__*/ rn(() => {
|
|
489
|
+
let e = on("color"), t = on("font"), n = on("text"), r = on("font-weight"), i = on("tracking"), a = on("leading"), o = on("breakpoint"), s = on("container"), c = on("spacing"), l = on("radius"), u = on("shadow"), d = on("inset-shadow"), f = on("text-shadow"), p = on("drop-shadow"), m = on("blur"), h = on("perspective"), g = on("aspect"), _ = on("ease"), v = on("animate"), y = () => [
|
|
490
490
|
"auto",
|
|
491
491
|
"avoid",
|
|
492
492
|
"all",
|
|
@@ -511,8 +511,8 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
511
511
|
"left-bottom"
|
|
512
512
|
], x = () => [
|
|
513
513
|
...b(),
|
|
514
|
-
|
|
515
|
-
|
|
514
|
+
U,
|
|
515
|
+
H
|
|
516
516
|
], S = () => [
|
|
517
517
|
"auto",
|
|
518
518
|
"hidden",
|
|
@@ -524,43 +524,43 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
524
524
|
"contain",
|
|
525
525
|
"none"
|
|
526
526
|
], w = () => [
|
|
527
|
-
W,
|
|
528
527
|
U,
|
|
528
|
+
H,
|
|
529
529
|
c
|
|
530
530
|
], T = () => [
|
|
531
|
-
|
|
531
|
+
hn,
|
|
532
532
|
"full",
|
|
533
533
|
"auto",
|
|
534
534
|
...w()
|
|
535
535
|
], E = () => [
|
|
536
|
-
|
|
536
|
+
gn,
|
|
537
537
|
"none",
|
|
538
538
|
"subgrid",
|
|
539
|
-
|
|
540
|
-
|
|
539
|
+
U,
|
|
540
|
+
H
|
|
541
541
|
], D = () => [
|
|
542
542
|
"auto",
|
|
543
543
|
{ span: [
|
|
544
544
|
"full",
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
545
|
+
gn,
|
|
546
|
+
U,
|
|
547
|
+
H
|
|
548
548
|
] },
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
549
|
+
gn,
|
|
550
|
+
U,
|
|
551
|
+
H
|
|
552
552
|
], O = () => [
|
|
553
|
-
|
|
553
|
+
gn,
|
|
554
554
|
"auto",
|
|
555
|
-
|
|
556
|
-
|
|
555
|
+
U,
|
|
556
|
+
H
|
|
557
557
|
], k = () => [
|
|
558
558
|
"auto",
|
|
559
559
|
"min",
|
|
560
560
|
"max",
|
|
561
561
|
"fr",
|
|
562
|
-
|
|
563
|
-
|
|
562
|
+
U,
|
|
563
|
+
H
|
|
564
564
|
], ee = () => [
|
|
565
565
|
"start",
|
|
566
566
|
"end",
|
|
@@ -580,7 +580,7 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
580
580
|
"center-safe",
|
|
581
581
|
"end-safe"
|
|
582
582
|
], j = () => ["auto", ...w()], M = () => [
|
|
583
|
-
|
|
583
|
+
hn,
|
|
584
584
|
"auto",
|
|
585
585
|
"full",
|
|
586
586
|
"dvw",
|
|
@@ -594,7 +594,7 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
594
594
|
"fit",
|
|
595
595
|
...w()
|
|
596
596
|
], N = () => [
|
|
597
|
-
|
|
597
|
+
hn,
|
|
598
598
|
"screen",
|
|
599
599
|
"full",
|
|
600
600
|
"dvw",
|
|
@@ -605,7 +605,7 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
605
605
|
"fit",
|
|
606
606
|
...w()
|
|
607
607
|
], P = () => [
|
|
608
|
-
|
|
608
|
+
hn,
|
|
609
609
|
"screen",
|
|
610
610
|
"full",
|
|
611
611
|
"lh",
|
|
@@ -618,13 +618,13 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
618
618
|
...w()
|
|
619
619
|
], F = () => [
|
|
620
620
|
e,
|
|
621
|
-
|
|
622
|
-
|
|
621
|
+
U,
|
|
622
|
+
H
|
|
623
623
|
], te = () => [
|
|
624
624
|
...b(),
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
{ position: [
|
|
625
|
+
In,
|
|
626
|
+
jn,
|
|
627
|
+
{ position: [U, H] }
|
|
628
628
|
], ne = () => ["no-repeat", { repeat: [
|
|
629
629
|
"",
|
|
630
630
|
"x",
|
|
@@ -635,25 +635,25 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
635
635
|
"auto",
|
|
636
636
|
"cover",
|
|
637
637
|
"contain",
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
{ size: [
|
|
638
|
+
Ln,
|
|
639
|
+
En,
|
|
640
|
+
{ size: [U, H] }
|
|
641
641
|
], ie = () => [
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
642
|
+
_n,
|
|
643
|
+
Pn,
|
|
644
|
+
Dn
|
|
645
645
|
], I = () => [
|
|
646
646
|
"",
|
|
647
647
|
"none",
|
|
648
648
|
"full",
|
|
649
649
|
l,
|
|
650
|
-
|
|
651
|
-
|
|
650
|
+
U,
|
|
651
|
+
H
|
|
652
652
|
], ae = () => [
|
|
653
653
|
"",
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
654
|
+
V,
|
|
655
|
+
Pn,
|
|
656
|
+
Dn
|
|
657
657
|
], oe = () => [
|
|
658
658
|
"solid",
|
|
659
659
|
"dashed",
|
|
@@ -677,32 +677,32 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
677
677
|
"color",
|
|
678
678
|
"luminosity"
|
|
679
679
|
], L = () => [
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
680
|
+
V,
|
|
681
|
+
_n,
|
|
682
|
+
In,
|
|
683
|
+
jn
|
|
684
684
|
], R = () => [
|
|
685
685
|
"",
|
|
686
686
|
"none",
|
|
687
687
|
m,
|
|
688
|
-
|
|
689
|
-
|
|
688
|
+
U,
|
|
689
|
+
H
|
|
690
690
|
], ce = () => [
|
|
691
691
|
"none",
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
692
|
+
V,
|
|
693
|
+
U,
|
|
694
|
+
H
|
|
695
695
|
], le = () => [
|
|
696
696
|
"none",
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
697
|
+
V,
|
|
698
|
+
U,
|
|
699
|
+
H
|
|
700
700
|
], ue = () => [
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
701
|
+
V,
|
|
702
|
+
U,
|
|
703
|
+
H
|
|
704
704
|
], de = () => [
|
|
705
|
-
|
|
705
|
+
hn,
|
|
706
706
|
"full",
|
|
707
707
|
...w()
|
|
708
708
|
];
|
|
@@ -716,17 +716,17 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
716
716
|
"bounce"
|
|
717
717
|
],
|
|
718
718
|
aspect: ["video"],
|
|
719
|
-
blur: [
|
|
720
|
-
breakpoint: [
|
|
721
|
-
color: [
|
|
722
|
-
container: [
|
|
723
|
-
"drop-shadow": [
|
|
719
|
+
blur: [vn],
|
|
720
|
+
breakpoint: [vn],
|
|
721
|
+
color: [yn],
|
|
722
|
+
container: [vn],
|
|
723
|
+
"drop-shadow": [vn],
|
|
724
724
|
ease: [
|
|
725
725
|
"in",
|
|
726
726
|
"out",
|
|
727
727
|
"in-out"
|
|
728
728
|
],
|
|
729
|
-
font: [
|
|
729
|
+
font: [wn],
|
|
730
730
|
"font-weight": [
|
|
731
731
|
"thin",
|
|
732
732
|
"extralight",
|
|
@@ -738,7 +738,7 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
738
738
|
"extrabold",
|
|
739
739
|
"black"
|
|
740
740
|
],
|
|
741
|
-
"inset-shadow": [
|
|
741
|
+
"inset-shadow": [vn],
|
|
742
742
|
leading: [
|
|
743
743
|
"none",
|
|
744
744
|
"tight",
|
|
@@ -755,11 +755,11 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
755
755
|
"distant",
|
|
756
756
|
"none"
|
|
757
757
|
],
|
|
758
|
-
radius: [
|
|
759
|
-
shadow: [
|
|
760
|
-
spacing: ["px",
|
|
761
|
-
text: [
|
|
762
|
-
"text-shadow": [
|
|
758
|
+
radius: [vn],
|
|
759
|
+
shadow: [vn],
|
|
760
|
+
spacing: ["px", V],
|
|
761
|
+
text: [vn],
|
|
762
|
+
"text-shadow": [vn],
|
|
763
763
|
tracking: [
|
|
764
764
|
"tighter",
|
|
765
765
|
"tight",
|
|
@@ -773,9 +773,9 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
773
773
|
aspect: [{ aspect: [
|
|
774
774
|
"auto",
|
|
775
775
|
"square",
|
|
776
|
-
|
|
776
|
+
hn,
|
|
777
|
+
H,
|
|
777
778
|
U,
|
|
778
|
-
W,
|
|
779
779
|
g
|
|
780
780
|
] }],
|
|
781
781
|
container: ["container"],
|
|
@@ -783,14 +783,14 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
783
783
|
"",
|
|
784
784
|
"normal",
|
|
785
785
|
"size",
|
|
786
|
-
|
|
787
|
-
|
|
786
|
+
U,
|
|
787
|
+
H
|
|
788
788
|
] }],
|
|
789
|
-
"container-named": [
|
|
789
|
+
"container-named": [Tn],
|
|
790
790
|
columns: [{ columns: [
|
|
791
|
+
V,
|
|
791
792
|
H,
|
|
792
793
|
U,
|
|
793
|
-
W,
|
|
794
794
|
s
|
|
795
795
|
] }],
|
|
796
796
|
"break-after": [{ "break-after": y() }],
|
|
@@ -887,13 +887,13 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
887
887
|
"collapse"
|
|
888
888
|
],
|
|
889
889
|
z: [{ z: [
|
|
890
|
-
|
|
890
|
+
gn,
|
|
891
891
|
"auto",
|
|
892
|
-
|
|
893
|
-
|
|
892
|
+
U,
|
|
893
|
+
H
|
|
894
894
|
] }],
|
|
895
895
|
basis: [{ basis: [
|
|
896
|
-
|
|
896
|
+
hn,
|
|
897
897
|
"full",
|
|
898
898
|
"auto",
|
|
899
899
|
s,
|
|
@@ -911,32 +911,32 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
911
911
|
"wrap-reverse"
|
|
912
912
|
] }],
|
|
913
913
|
flex: [{ flex: [
|
|
914
|
-
|
|
915
|
-
|
|
914
|
+
V,
|
|
915
|
+
hn,
|
|
916
916
|
"auto",
|
|
917
917
|
"initial",
|
|
918
918
|
"none",
|
|
919
|
-
|
|
919
|
+
H
|
|
920
920
|
] }],
|
|
921
921
|
grow: [{ grow: [
|
|
922
922
|
"",
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
923
|
+
V,
|
|
924
|
+
U,
|
|
925
|
+
H
|
|
926
926
|
] }],
|
|
927
927
|
shrink: [{ shrink: [
|
|
928
928
|
"",
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
929
|
+
V,
|
|
930
|
+
U,
|
|
931
|
+
H
|
|
932
932
|
] }],
|
|
933
933
|
order: [{ order: [
|
|
934
|
-
|
|
934
|
+
gn,
|
|
935
935
|
"first",
|
|
936
936
|
"last",
|
|
937
937
|
"none",
|
|
938
|
-
|
|
939
|
-
|
|
938
|
+
U,
|
|
939
|
+
H
|
|
940
940
|
] }],
|
|
941
941
|
"grid-cols": [{ "grid-cols": E() }],
|
|
942
942
|
"col-start-end": [{ col: D() }],
|
|
@@ -1042,15 +1042,15 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
1042
1042
|
"font-size": [{ text: [
|
|
1043
1043
|
"base",
|
|
1044
1044
|
n,
|
|
1045
|
-
|
|
1046
|
-
|
|
1045
|
+
Pn,
|
|
1046
|
+
Dn
|
|
1047
1047
|
] }],
|
|
1048
1048
|
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
1049
1049
|
"font-style": ["italic", "not-italic"],
|
|
1050
1050
|
"font-weight": [{ font: [
|
|
1051
1051
|
r,
|
|
1052
|
-
|
|
1053
|
-
|
|
1052
|
+
Bn,
|
|
1053
|
+
kn
|
|
1054
1054
|
] }],
|
|
1055
1055
|
"font-stretch": [{ "font-stretch": [
|
|
1056
1056
|
"ultra-condensed",
|
|
@@ -1062,15 +1062,15 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
1062
1062
|
"expanded",
|
|
1063
1063
|
"extra-expanded",
|
|
1064
1064
|
"ultra-expanded",
|
|
1065
|
-
|
|
1066
|
-
|
|
1065
|
+
_n,
|
|
1066
|
+
H
|
|
1067
1067
|
] }],
|
|
1068
1068
|
"font-family": [{ font: [
|
|
1069
|
-
|
|
1070
|
-
|
|
1069
|
+
Fn,
|
|
1070
|
+
An,
|
|
1071
1071
|
t
|
|
1072
1072
|
] }],
|
|
1073
|
-
"font-features": [{ "font-features": [
|
|
1073
|
+
"font-features": [{ "font-features": [H] }],
|
|
1074
1074
|
"fvn-normal": ["normal-nums"],
|
|
1075
1075
|
"fvn-ordinal": ["ordinal"],
|
|
1076
1076
|
"fvn-slashed-zero": ["slashed-zero"],
|
|
@@ -1079,28 +1079,28 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
1079
1079
|
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
|
|
1080
1080
|
tracking: [{ tracking: [
|
|
1081
1081
|
i,
|
|
1082
|
-
|
|
1083
|
-
|
|
1082
|
+
U,
|
|
1083
|
+
H
|
|
1084
1084
|
] }],
|
|
1085
1085
|
"line-clamp": [{ "line-clamp": [
|
|
1086
|
-
|
|
1086
|
+
V,
|
|
1087
1087
|
"none",
|
|
1088
|
-
|
|
1089
|
-
|
|
1088
|
+
U,
|
|
1089
|
+
On
|
|
1090
1090
|
] }],
|
|
1091
1091
|
leading: [{ leading: [a, ...w()] }],
|
|
1092
1092
|
"list-image": [{ "list-image": [
|
|
1093
1093
|
"none",
|
|
1094
|
-
|
|
1095
|
-
|
|
1094
|
+
U,
|
|
1095
|
+
H
|
|
1096
1096
|
] }],
|
|
1097
1097
|
"list-style-position": [{ list: ["inside", "outside"] }],
|
|
1098
1098
|
"list-style-type": [{ list: [
|
|
1099
1099
|
"disc",
|
|
1100
1100
|
"decimal",
|
|
1101
1101
|
"none",
|
|
1102
|
-
|
|
1103
|
-
|
|
1102
|
+
U,
|
|
1103
|
+
H
|
|
1104
1104
|
] }],
|
|
1105
1105
|
"text-alignment": [{ text: [
|
|
1106
1106
|
"left",
|
|
@@ -1120,18 +1120,18 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
1120
1120
|
],
|
|
1121
1121
|
"text-decoration-style": [{ decoration: [...oe(), "wavy"] }],
|
|
1122
1122
|
"text-decoration-thickness": [{ decoration: [
|
|
1123
|
-
|
|
1123
|
+
V,
|
|
1124
1124
|
"from-font",
|
|
1125
1125
|
"auto",
|
|
1126
|
-
|
|
1127
|
-
|
|
1126
|
+
U,
|
|
1127
|
+
Dn
|
|
1128
1128
|
] }],
|
|
1129
1129
|
"text-decoration-color": [{ decoration: F() }],
|
|
1130
1130
|
"underline-offset": [{ "underline-offset": [
|
|
1131
|
-
|
|
1131
|
+
V,
|
|
1132
1132
|
"auto",
|
|
1133
|
-
|
|
1134
|
-
|
|
1133
|
+
U,
|
|
1134
|
+
H
|
|
1135
1135
|
] }],
|
|
1136
1136
|
"text-transform": [
|
|
1137
1137
|
"uppercase",
|
|
@@ -1152,9 +1152,9 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
1152
1152
|
] }],
|
|
1153
1153
|
indent: [{ indent: w() }],
|
|
1154
1154
|
"tab-size": [{ tab: [
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1155
|
+
gn,
|
|
1156
|
+
U,
|
|
1157
|
+
H
|
|
1158
1158
|
] }],
|
|
1159
1159
|
"vertical-align": [{ align: [
|
|
1160
1160
|
"baseline",
|
|
@@ -1165,8 +1165,8 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
1165
1165
|
"text-bottom",
|
|
1166
1166
|
"sub",
|
|
1167
1167
|
"super",
|
|
1168
|
-
|
|
1169
|
-
|
|
1168
|
+
U,
|
|
1169
|
+
H
|
|
1170
1170
|
] }],
|
|
1171
1171
|
whitespace: [{ whitespace: [
|
|
1172
1172
|
"normal",
|
|
@@ -1194,8 +1194,8 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
1194
1194
|
] }],
|
|
1195
1195
|
content: [{ content: [
|
|
1196
1196
|
"none",
|
|
1197
|
-
|
|
1198
|
-
|
|
1197
|
+
U,
|
|
1198
|
+
H
|
|
1199
1199
|
] }],
|
|
1200
1200
|
"bg-attachment": [{ bg: [
|
|
1201
1201
|
"fixed",
|
|
@@ -1230,23 +1230,23 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
1230
1230
|
"l",
|
|
1231
1231
|
"tl"
|
|
1232
1232
|
] },
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1233
|
+
gn,
|
|
1234
|
+
U,
|
|
1235
|
+
H
|
|
1236
1236
|
],
|
|
1237
1237
|
radial: [
|
|
1238
1238
|
"",
|
|
1239
|
-
|
|
1240
|
-
|
|
1239
|
+
U,
|
|
1240
|
+
H
|
|
1241
1241
|
],
|
|
1242
1242
|
conic: [
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1243
|
+
gn,
|
|
1244
|
+
U,
|
|
1245
|
+
H
|
|
1246
1246
|
]
|
|
1247
1247
|
},
|
|
1248
|
-
|
|
1249
|
-
|
|
1248
|
+
Rn,
|
|
1249
|
+
Mn
|
|
1250
1250
|
] }],
|
|
1251
1251
|
"bg-color": [{ bg: F() }],
|
|
1252
1252
|
"gradient-from-pos": [{ from: ie() }],
|
|
@@ -1313,50 +1313,50 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
1313
1313
|
"hidden"
|
|
1314
1314
|
] }],
|
|
1315
1315
|
"outline-offset": [{ "outline-offset": [
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1316
|
+
V,
|
|
1317
|
+
U,
|
|
1318
|
+
H
|
|
1319
1319
|
] }],
|
|
1320
1320
|
"outline-w": [{ outline: [
|
|
1321
1321
|
"",
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1322
|
+
V,
|
|
1323
|
+
Pn,
|
|
1324
|
+
Dn
|
|
1325
1325
|
] }],
|
|
1326
1326
|
"outline-color": [{ outline: F() }],
|
|
1327
1327
|
shadow: [{ shadow: [
|
|
1328
1328
|
"",
|
|
1329
1329
|
"none",
|
|
1330
1330
|
u,
|
|
1331
|
-
|
|
1332
|
-
|
|
1331
|
+
zn,
|
|
1332
|
+
Nn
|
|
1333
1333
|
] }],
|
|
1334
1334
|
"shadow-color": [{ shadow: F() }],
|
|
1335
1335
|
"inset-shadow": [{ "inset-shadow": [
|
|
1336
1336
|
"none",
|
|
1337
1337
|
d,
|
|
1338
|
-
|
|
1339
|
-
|
|
1338
|
+
zn,
|
|
1339
|
+
Nn
|
|
1340
1340
|
] }],
|
|
1341
1341
|
"inset-shadow-color": [{ "inset-shadow": F() }],
|
|
1342
1342
|
"ring-w": [{ ring: ae() }],
|
|
1343
1343
|
"ring-w-inset": ["ring-inset"],
|
|
1344
1344
|
"ring-color": [{ ring: F() }],
|
|
1345
|
-
"ring-offset-w": [{ "ring-offset": [
|
|
1345
|
+
"ring-offset-w": [{ "ring-offset": [V, Dn] }],
|
|
1346
1346
|
"ring-offset-color": [{ "ring-offset": F() }],
|
|
1347
1347
|
"inset-ring-w": [{ "inset-ring": ae() }],
|
|
1348
1348
|
"inset-ring-color": [{ "inset-ring": F() }],
|
|
1349
1349
|
"text-shadow": [{ "text-shadow": [
|
|
1350
1350
|
"none",
|
|
1351
1351
|
f,
|
|
1352
|
-
|
|
1353
|
-
|
|
1352
|
+
zn,
|
|
1353
|
+
Nn
|
|
1354
1354
|
] }],
|
|
1355
1355
|
"text-shadow-color": [{ "text-shadow": F() }],
|
|
1356
1356
|
opacity: [{ opacity: [
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1357
|
+
V,
|
|
1358
|
+
U,
|
|
1359
|
+
H
|
|
1360
1360
|
] }],
|
|
1361
1361
|
"mix-blend": [{ "mix-blend": [
|
|
1362
1362
|
...se(),
|
|
@@ -1378,7 +1378,7 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
1378
1378
|
"intersect",
|
|
1379
1379
|
"exclude"
|
|
1380
1380
|
] }],
|
|
1381
|
-
"mask-image-linear-pos": [{ "mask-linear": [
|
|
1381
|
+
"mask-image-linear-pos": [{ "mask-linear": [V] }],
|
|
1382
1382
|
"mask-image-linear-from-pos": [{ "mask-linear-from": L() }],
|
|
1383
1383
|
"mask-image-linear-to-pos": [{ "mask-linear-to": L() }],
|
|
1384
1384
|
"mask-image-linear-from-color": [{ "mask-linear-from": F() }],
|
|
@@ -1407,7 +1407,7 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
1407
1407
|
"mask-image-y-to-pos": [{ "mask-y-to": L() }],
|
|
1408
1408
|
"mask-image-y-from-color": [{ "mask-y-from": F() }],
|
|
1409
1409
|
"mask-image-y-to-color": [{ "mask-y-to": F() }],
|
|
1410
|
-
"mask-image-radial": [{ "mask-radial": [
|
|
1410
|
+
"mask-image-radial": [{ "mask-radial": [U, H] }],
|
|
1411
1411
|
"mask-image-radial-from-pos": [{ "mask-radial-from": L() }],
|
|
1412
1412
|
"mask-image-radial-to-pos": [{ "mask-radial-to": L() }],
|
|
1413
1413
|
"mask-image-radial-from-color": [{ "mask-radial-from": F() }],
|
|
@@ -1418,7 +1418,7 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
1418
1418
|
farthest: ["side", "corner"]
|
|
1419
1419
|
}] }],
|
|
1420
1420
|
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
|
|
1421
|
-
"mask-image-conic-pos": [{ "mask-conic": [
|
|
1421
|
+
"mask-image-conic-pos": [{ "mask-conic": [V] }],
|
|
1422
1422
|
"mask-image-conic-from-pos": [{ "mask-conic-from": L() }],
|
|
1423
1423
|
"mask-image-conic-to-pos": [{ "mask-conic-to": L() }],
|
|
1424
1424
|
"mask-image-conic-from-color": [{ "mask-conic-from": F() }],
|
|
@@ -1442,111 +1442,111 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
1442
1442
|
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
|
|
1443
1443
|
"mask-image": [{ mask: [
|
|
1444
1444
|
"none",
|
|
1445
|
-
|
|
1446
|
-
|
|
1445
|
+
U,
|
|
1446
|
+
H
|
|
1447
1447
|
] }],
|
|
1448
1448
|
filter: [{ filter: [
|
|
1449
1449
|
"",
|
|
1450
1450
|
"none",
|
|
1451
|
-
|
|
1452
|
-
|
|
1451
|
+
U,
|
|
1452
|
+
H
|
|
1453
1453
|
] }],
|
|
1454
1454
|
blur: [{ blur: R() }],
|
|
1455
1455
|
brightness: [{ brightness: [
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1456
|
+
V,
|
|
1457
|
+
U,
|
|
1458
|
+
H
|
|
1459
1459
|
] }],
|
|
1460
1460
|
contrast: [{ contrast: [
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1461
|
+
V,
|
|
1462
|
+
U,
|
|
1463
|
+
H
|
|
1464
1464
|
] }],
|
|
1465
1465
|
"drop-shadow": [{ "drop-shadow": [
|
|
1466
1466
|
"",
|
|
1467
1467
|
"none",
|
|
1468
1468
|
p,
|
|
1469
|
-
|
|
1470
|
-
|
|
1469
|
+
zn,
|
|
1470
|
+
Nn
|
|
1471
1471
|
] }],
|
|
1472
1472
|
"drop-shadow-color": [{ "drop-shadow": F() }],
|
|
1473
1473
|
grayscale: [{ grayscale: [
|
|
1474
1474
|
"",
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1475
|
+
V,
|
|
1476
|
+
U,
|
|
1477
|
+
H
|
|
1478
1478
|
] }],
|
|
1479
1479
|
"hue-rotate": [{ "hue-rotate": [
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1480
|
+
V,
|
|
1481
|
+
U,
|
|
1482
|
+
H
|
|
1483
1483
|
] }],
|
|
1484
1484
|
invert: [{ invert: [
|
|
1485
1485
|
"",
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1486
|
+
V,
|
|
1487
|
+
U,
|
|
1488
|
+
H
|
|
1489
1489
|
] }],
|
|
1490
1490
|
saturate: [{ saturate: [
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1491
|
+
V,
|
|
1492
|
+
U,
|
|
1493
|
+
H
|
|
1494
1494
|
] }],
|
|
1495
1495
|
sepia: [{ sepia: [
|
|
1496
1496
|
"",
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1497
|
+
V,
|
|
1498
|
+
U,
|
|
1499
|
+
H
|
|
1500
1500
|
] }],
|
|
1501
1501
|
"backdrop-filter": [{ "backdrop-filter": [
|
|
1502
1502
|
"",
|
|
1503
1503
|
"none",
|
|
1504
|
-
|
|
1505
|
-
|
|
1504
|
+
U,
|
|
1505
|
+
H
|
|
1506
1506
|
] }],
|
|
1507
1507
|
"backdrop-blur": [{ "backdrop-blur": R() }],
|
|
1508
1508
|
"backdrop-brightness": [{ "backdrop-brightness": [
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1509
|
+
V,
|
|
1510
|
+
U,
|
|
1511
|
+
H
|
|
1512
1512
|
] }],
|
|
1513
1513
|
"backdrop-contrast": [{ "backdrop-contrast": [
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1514
|
+
V,
|
|
1515
|
+
U,
|
|
1516
|
+
H
|
|
1517
1517
|
] }],
|
|
1518
1518
|
"backdrop-grayscale": [{ "backdrop-grayscale": [
|
|
1519
1519
|
"",
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1520
|
+
V,
|
|
1521
|
+
U,
|
|
1522
|
+
H
|
|
1523
1523
|
] }],
|
|
1524
1524
|
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1525
|
+
V,
|
|
1526
|
+
U,
|
|
1527
|
+
H
|
|
1528
1528
|
] }],
|
|
1529
1529
|
"backdrop-invert": [{ "backdrop-invert": [
|
|
1530
1530
|
"",
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1531
|
+
V,
|
|
1532
|
+
U,
|
|
1533
|
+
H
|
|
1534
1534
|
] }],
|
|
1535
1535
|
"backdrop-opacity": [{ "backdrop-opacity": [
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1536
|
+
V,
|
|
1537
|
+
U,
|
|
1538
|
+
H
|
|
1539
1539
|
] }],
|
|
1540
1540
|
"backdrop-saturate": [{ "backdrop-saturate": [
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1541
|
+
V,
|
|
1542
|
+
U,
|
|
1543
|
+
H
|
|
1544
1544
|
] }],
|
|
1545
1545
|
"backdrop-sepia": [{ "backdrop-sepia": [
|
|
1546
1546
|
"",
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1547
|
+
V,
|
|
1548
|
+
U,
|
|
1549
|
+
H
|
|
1550
1550
|
] }],
|
|
1551
1551
|
"border-collapse": [{ border: ["collapse", "separate"] }],
|
|
1552
1552
|
"border-spacing": [{ "border-spacing": w() }],
|
|
@@ -1562,39 +1562,39 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
1562
1562
|
"shadow",
|
|
1563
1563
|
"transform",
|
|
1564
1564
|
"none",
|
|
1565
|
-
|
|
1566
|
-
|
|
1565
|
+
U,
|
|
1566
|
+
H
|
|
1567
1567
|
] }],
|
|
1568
1568
|
"transition-behavior": [{ transition: ["normal", "discrete"] }],
|
|
1569
1569
|
duration: [{ duration: [
|
|
1570
|
-
|
|
1570
|
+
V,
|
|
1571
1571
|
"initial",
|
|
1572
|
-
|
|
1573
|
-
|
|
1572
|
+
U,
|
|
1573
|
+
H
|
|
1574
1574
|
] }],
|
|
1575
1575
|
ease: [{ ease: [
|
|
1576
1576
|
"linear",
|
|
1577
1577
|
"initial",
|
|
1578
1578
|
_,
|
|
1579
|
-
|
|
1580
|
-
|
|
1579
|
+
U,
|
|
1580
|
+
H
|
|
1581
1581
|
] }],
|
|
1582
1582
|
delay: [{ delay: [
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1583
|
+
V,
|
|
1584
|
+
U,
|
|
1585
|
+
H
|
|
1586
1586
|
] }],
|
|
1587
1587
|
animate: [{ animate: [
|
|
1588
1588
|
"none",
|
|
1589
1589
|
v,
|
|
1590
|
-
|
|
1591
|
-
|
|
1590
|
+
U,
|
|
1591
|
+
H
|
|
1592
1592
|
] }],
|
|
1593
1593
|
backface: [{ backface: ["hidden", "visible"] }],
|
|
1594
1594
|
perspective: [{ perspective: [
|
|
1595
1595
|
h,
|
|
1596
|
-
|
|
1597
|
-
|
|
1596
|
+
U,
|
|
1597
|
+
H
|
|
1598
1598
|
] }],
|
|
1599
1599
|
"perspective-origin": [{ "perspective-origin": x() }],
|
|
1600
1600
|
rotate: [{ rotate: ce() }],
|
|
@@ -1610,8 +1610,8 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
1610
1610
|
"skew-x": [{ "skew-x": ue() }],
|
|
1611
1611
|
"skew-y": [{ "skew-y": ue() }],
|
|
1612
1612
|
transform: [{ transform: [
|
|
1613
|
-
W,
|
|
1614
1613
|
U,
|
|
1614
|
+
H,
|
|
1615
1615
|
"",
|
|
1616
1616
|
"none",
|
|
1617
1617
|
"gpu",
|
|
@@ -1625,9 +1625,9 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
1625
1625
|
"translate-z": [{ "translate-z": de() }],
|
|
1626
1626
|
"translate-none": ["translate-none"],
|
|
1627
1627
|
zoom: [{ zoom: [
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1628
|
+
gn,
|
|
1629
|
+
U,
|
|
1630
|
+
H
|
|
1631
1631
|
] }],
|
|
1632
1632
|
accent: [{ accent: F() }],
|
|
1633
1633
|
appearance: [{ appearance: ["none", "auto"] }],
|
|
@@ -1677,8 +1677,8 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
1677
1677
|
"nwse-resize",
|
|
1678
1678
|
"zoom-in",
|
|
1679
1679
|
"zoom-out",
|
|
1680
|
-
|
|
1681
|
-
|
|
1680
|
+
U,
|
|
1681
|
+
H
|
|
1682
1682
|
] }],
|
|
1683
1683
|
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
|
|
1684
1684
|
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
|
|
@@ -1764,15 +1764,15 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
1764
1764
|
"scroll",
|
|
1765
1765
|
"contents",
|
|
1766
1766
|
"transform",
|
|
1767
|
-
|
|
1768
|
-
|
|
1767
|
+
U,
|
|
1768
|
+
H
|
|
1769
1769
|
] }],
|
|
1770
1770
|
fill: [{ fill: ["none", ...F()] }],
|
|
1771
1771
|
"stroke-w": [{ stroke: [
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1772
|
+
V,
|
|
1773
|
+
Pn,
|
|
1774
|
+
Dn,
|
|
1775
|
+
On
|
|
1776
1776
|
] }],
|
|
1777
1777
|
stroke: [{ stroke: ["none", ...F()] }],
|
|
1778
1778
|
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
@@ -1961,16 +1961,16 @@ var wt = /* @__PURE__ */ bt((/* @__PURE__ */ _t(((e, t) => {
|
|
|
1961
1961
|
]
|
|
1962
1962
|
};
|
|
1963
1963
|
});
|
|
1964
|
-
function
|
|
1965
|
-
return
|
|
1964
|
+
function W(...e) {
|
|
1965
|
+
return Zn((0, Tt.default)(...e));
|
|
1966
1966
|
}
|
|
1967
|
-
var
|
|
1967
|
+
var Qn = (e) => {
|
|
1968
1968
|
let t = {};
|
|
1969
1969
|
for (let [n, r] of Object.entries(e)) r !== void 0 && r !== "" && (t[n] = String(r));
|
|
1970
1970
|
return t;
|
|
1971
1971
|
};
|
|
1972
|
-
|
|
1973
|
-
var
|
|
1972
|
+
Ct.PDF, St.PDF, Ct.Markdown, St.Markdown, Ct.MarkdownAlt, St.Markdown, Ct.JSON, St.JSON;
|
|
1973
|
+
var $n = (e) => typeof navigator < "u" && navigator.clipboard?.writeText ? navigator.clipboard.writeText(e).then(() => !0).catch(() => er(e)) : Promise.resolve(er(e)), er = (e) => {
|
|
1974
1974
|
let t = document.createElement("textarea");
|
|
1975
1975
|
t.innerText = e, t.style.cssText = "position:fixed;top:0;left:0;width:1px;height:1px;padding:0;border:none;outline:none;box-shadow:none;background:transparent;opacity:0;", t.setAttribute("autocomplete", "off"), t.setAttribute("readonly", ""), document.body.appendChild(t);
|
|
1976
1976
|
try {
|
|
@@ -1978,7 +1978,7 @@ var Qn = (e) => typeof navigator < "u" && navigator.clipboard?.writeText ? navig
|
|
|
1978
1978
|
} finally {
|
|
1979
1979
|
document.body.removeChild(t);
|
|
1980
1980
|
}
|
|
1981
|
-
},
|
|
1981
|
+
}, tr = {
|
|
1982
1982
|
typescript: "ts",
|
|
1983
1983
|
ts: "ts",
|
|
1984
1984
|
tsx: "tsx",
|
|
@@ -2016,15 +2016,15 @@ var Qn = (e) => typeof navigator < "u" && navigator.clipboard?.writeText ? navig
|
|
|
2016
2016
|
dart: "dart",
|
|
2017
2017
|
plaintext: "txt",
|
|
2018
2018
|
text: "txt"
|
|
2019
|
-
},
|
|
2019
|
+
}, nr = (e) => tr[e.toLowerCase()] ?? "txt", rr = (e, t) => {
|
|
2020
2020
|
let n = document.createElement("a");
|
|
2021
2021
|
n.href = e, n.download = t, n.click();
|
|
2022
|
-
}, rr = (e, t) => {
|
|
2023
|
-
let n = URL.createObjectURL(e);
|
|
2024
|
-
nr(n, t), URL.revokeObjectURL(n);
|
|
2025
2022
|
}, ir = (e, t) => {
|
|
2026
|
-
|
|
2027
|
-
|
|
2023
|
+
let n = URL.createObjectURL(e);
|
|
2024
|
+
rr(n, t), URL.revokeObjectURL(n);
|
|
2025
|
+
}, ar = (e, t) => {
|
|
2026
|
+
ir(new Blob([e], { type: "text/plain;charset=utf-8" }), t);
|
|
2027
|
+
}, or = [
|
|
2028
2028
|
{
|
|
2029
2029
|
background: "#cde8e5",
|
|
2030
2030
|
foreground: "#0d6e72"
|
|
@@ -2057,18 +2057,18 @@ var Qn = (e) => typeof navigator < "u" && navigator.clipboard?.writeText ? navig
|
|
|
2057
2057
|
background: "#dde3f9",
|
|
2058
2058
|
foreground: "#3730a3"
|
|
2059
2059
|
}
|
|
2060
|
-
],
|
|
2060
|
+
], sr = (e) => {
|
|
2061
2061
|
let t = 0;
|
|
2062
2062
|
for (let n = 0; n < e.length; n++) t += e.charCodeAt(n);
|
|
2063
|
-
return
|
|
2064
|
-
},
|
|
2063
|
+
return or[t % or.length];
|
|
2064
|
+
}, cr = (e) => e.match(/\p{L}/u)?.[0] ?? "", lr = (e) => {
|
|
2065
2065
|
let t = e.trim().split(/\s+/).filter(Boolean);
|
|
2066
|
-
return t.length === 0 ? "?" : t.length >= 2 ? (
|
|
2067
|
-
},
|
|
2068
|
-
let { background: r, foreground: i } =
|
|
2066
|
+
return t.length === 0 ? "?" : t.length >= 2 ? (cr(t[0]) + cr(t[1])).toUpperCase() || "?" : t[0].replace(/[^\p{L}]/gu, "").slice(0, 2).toUpperCase() || "?";
|
|
2067
|
+
}, ur = ({ name: e, size: t, className: n }) => {
|
|
2068
|
+
let { background: r, foreground: i } = sr(e), a = lr(e), o = Math.round(t * .4);
|
|
2069
2069
|
return /* @__PURE__ */ L("div", {
|
|
2070
2070
|
"aria-hidden": "true",
|
|
2071
|
-
className:
|
|
2071
|
+
className: W("flex select-none items-center justify-center rounded-md", n),
|
|
2072
2072
|
style: {
|
|
2073
2073
|
width: t,
|
|
2074
2074
|
height: t,
|
|
@@ -2083,8 +2083,8 @@ var Qn = (e) => typeof navigator < "u" && navigator.clipboard?.writeText ? navig
|
|
|
2083
2083
|
children: a
|
|
2084
2084
|
})
|
|
2085
2085
|
});
|
|
2086
|
-
},
|
|
2087
|
-
let { tooltip: s } = i ?? {}, { badgeClassName: c, colors: l } = a ?? {}, f =
|
|
2086
|
+
}, dr = { agentIconBadge: "_agentIconBadge_1rc32_1" }, fr = ({ src: e, size: t, initialsName: n, fallback: r, labels: i, styles: a }) => {
|
|
2087
|
+
let { tooltip: s } = i ?? {}, { badgeClassName: c, colors: l } = a ?? {}, f = Qn({ "--di-icon-bg": l?.background }), [p, m] = d(e), [h, g] = d(), _ = u(null);
|
|
2088
2088
|
o(() => {
|
|
2089
2089
|
if (e === p) return;
|
|
2090
2090
|
if (e == null) {
|
|
@@ -2105,7 +2105,7 @@ var Qn = (e) => typeof navigator < "u" && navigator.clipboard?.writeText ? navig
|
|
|
2105
2105
|
let t = () => g(p);
|
|
2106
2106
|
return e.addEventListener("error", t), () => e.removeEventListener("error", t);
|
|
2107
2107
|
}, [p]);
|
|
2108
|
-
let v = p != null && h === p, y = /* @__PURE__ */ L(
|
|
2108
|
+
let v = p != null && h === p, y = /* @__PURE__ */ L(ur, {
|
|
2109
2109
|
name: n,
|
|
2110
2110
|
size: t,
|
|
2111
2111
|
className: "shrink-0"
|
|
@@ -2115,7 +2115,7 @@ var Qn = (e) => typeof navigator < "u" && navigator.clipboard?.writeText ? navig
|
|
|
2115
2115
|
height: t,
|
|
2116
2116
|
...f
|
|
2117
2117
|
},
|
|
2118
|
-
className:
|
|
2118
|
+
className: W(dr.agentIconBadge, "shrink-0 overflow-hidden rounded-md", c),
|
|
2119
2119
|
children: !p || v ? /* @__PURE__ */ L("div", {
|
|
2120
2120
|
className: "flex size-full items-center justify-center",
|
|
2121
2121
|
children: r ?? y
|
|
@@ -2134,52 +2134,52 @@ var Qn = (e) => typeof navigator < "u" && navigator.clipboard?.writeText ? navig
|
|
|
2134
2134
|
triggerClassName: "flex shrink-0",
|
|
2135
2135
|
children: b
|
|
2136
2136
|
}) : b;
|
|
2137
|
-
},
|
|
2137
|
+
}, pr = { mark: "_mark_1a7tw_1" }, mr = {
|
|
2138
2138
|
2: "line-clamp-2",
|
|
2139
2139
|
3: "line-clamp-3",
|
|
2140
2140
|
4: "line-clamp-4",
|
|
2141
2141
|
5: "line-clamp-5",
|
|
2142
2142
|
6: "line-clamp-6"
|
|
2143
|
-
},
|
|
2144
|
-
let o =
|
|
2143
|
+
}, hr = (e) => e === 1 ? "!truncate !whitespace-nowrap" : `${mr[e] ?? mr[2]} !whitespace-normal`, gr = ({ text: e, query: t, markClassName: n, className: r, maxLines: i = 2, colors: a }) => {
|
|
2144
|
+
let o = hr(i), s = Qn({
|
|
2145
2145
|
"--hl-text": a?.text,
|
|
2146
2146
|
"--hl-bg": a?.background
|
|
2147
2147
|
});
|
|
2148
2148
|
if (!t.trim()) return /* @__PURE__ */ L(S, {
|
|
2149
|
-
className:
|
|
2149
|
+
className: W(o, r),
|
|
2150
2150
|
text: e
|
|
2151
2151
|
});
|
|
2152
2152
|
let c = e.toLowerCase().indexOf(t.toLowerCase()), l = c === -1 ? e : /* @__PURE__ */ R(se, { children: [
|
|
2153
2153
|
e.slice(0, c),
|
|
2154
2154
|
/* @__PURE__ */ L("mark", {
|
|
2155
|
-
className: [
|
|
2155
|
+
className: [pr.mark, n].filter(Boolean).join(" "),
|
|
2156
2156
|
style: s,
|
|
2157
2157
|
children: e.slice(c, c + t.length)
|
|
2158
2158
|
}),
|
|
2159
2159
|
e.slice(c + t.length)
|
|
2160
2160
|
] });
|
|
2161
2161
|
return /* @__PURE__ */ L(S, {
|
|
2162
|
-
className:
|
|
2162
|
+
className: W(o, r),
|
|
2163
2163
|
text: l
|
|
2164
2164
|
});
|
|
2165
|
-
},
|
|
2165
|
+
}, _r = {
|
|
2166
2166
|
icon: "_icon_t1l1e_1",
|
|
2167
2167
|
label: "_label_t1l1e_5"
|
|
2168
|
-
},
|
|
2169
|
-
style:
|
|
2168
|
+
}, vr = i(({ icon: e, label: t, colors: n }) => /* @__PURE__ */ L("div", {
|
|
2169
|
+
style: Qn({
|
|
2170
2170
|
"--pes-icon-color": n?.icon,
|
|
2171
2171
|
"--pes-label-color": n?.label
|
|
2172
2172
|
}),
|
|
2173
2173
|
children: /* @__PURE__ */ L(A, {
|
|
2174
2174
|
title: t,
|
|
2175
|
-
icon: /* @__PURE__ */ L("span", {
|
|
2176
|
-
className:
|
|
2175
|
+
icon: e && /* @__PURE__ */ L("span", {
|
|
2176
|
+
className: _r.icon,
|
|
2177
2177
|
children: e
|
|
2178
2178
|
}),
|
|
2179
|
-
titleClassName:
|
|
2179
|
+
titleClassName: _r.label
|
|
2180
2180
|
})
|
|
2181
2181
|
}));
|
|
2182
|
-
function
|
|
2182
|
+
function yr(e) {
|
|
2183
2183
|
let t = [], n = String(e || ""), r = n.indexOf(","), i = 0, a = !1;
|
|
2184
2184
|
for (; !a;) {
|
|
2185
2185
|
r === -1 && (r = n.length, a = !0);
|
|
@@ -2188,59 +2188,59 @@ function vr(e) {
|
|
|
2188
2188
|
}
|
|
2189
2189
|
return t;
|
|
2190
2190
|
}
|
|
2191
|
-
function
|
|
2191
|
+
function br(e, t) {
|
|
2192
2192
|
let n = t || {};
|
|
2193
2193
|
return (e[e.length - 1] === "" ? [...e, ""] : e).join((n.padRight ? " " : "") + "," + (n.padLeft === !1 ? "" : " ")).trim();
|
|
2194
2194
|
}
|
|
2195
|
-
var
|
|
2196
|
-
function
|
|
2197
|
-
return ((t ||
|
|
2198
|
-
}
|
|
2199
|
-
var wr = /[ \t\n\f\r]/g;
|
|
2200
|
-
function Tr(e) {
|
|
2201
|
-
return typeof e == "object" ? e.type === "text" ? Er(e.value) : !1 : Er(e);
|
|
2195
|
+
var xr = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, Sr = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, Cr = {};
|
|
2196
|
+
function wr(e, t) {
|
|
2197
|
+
return ((t || Cr).jsx ? Sr : xr).test(e);
|
|
2202
2198
|
}
|
|
2199
|
+
var Tr = /[ \t\n\f\r]/g;
|
|
2203
2200
|
function Er(e) {
|
|
2204
|
-
return e
|
|
2201
|
+
return typeof e == "object" ? e.type === "text" ? Dr(e.value) : !1 : Dr(e);
|
|
2202
|
+
}
|
|
2203
|
+
function Dr(e) {
|
|
2204
|
+
return e.replace(Tr, "") === "";
|
|
2205
2205
|
}
|
|
2206
|
-
var
|
|
2206
|
+
var Or = class {
|
|
2207
2207
|
constructor(e, t, n) {
|
|
2208
2208
|
this.normal = t, this.property = e, n && (this.space = n);
|
|
2209
2209
|
}
|
|
2210
2210
|
};
|
|
2211
|
-
|
|
2212
|
-
function
|
|
2211
|
+
Or.prototype.normal = {}, Or.prototype.property = {}, Or.prototype.space = void 0;
|
|
2212
|
+
function kr(e, t) {
|
|
2213
2213
|
let n = {}, r = {};
|
|
2214
2214
|
for (let t of e) Object.assign(n, t.property), Object.assign(r, t.normal);
|
|
2215
|
-
return new
|
|
2215
|
+
return new Or(n, r, t);
|
|
2216
2216
|
}
|
|
2217
|
-
function
|
|
2217
|
+
function Ar(e) {
|
|
2218
2218
|
return e.toLowerCase();
|
|
2219
2219
|
}
|
|
2220
|
-
var
|
|
2220
|
+
var jr = class {
|
|
2221
2221
|
constructor(e, t) {
|
|
2222
2222
|
this.attribute = t, this.property = e;
|
|
2223
2223
|
}
|
|
2224
2224
|
};
|
|
2225
|
-
|
|
2226
|
-
var
|
|
2227
|
-
boolean: () =>
|
|
2228
|
-
booleanish: () =>
|
|
2225
|
+
jr.prototype.attribute = "", jr.prototype.booleanish = !1, jr.prototype.boolean = !1, jr.prototype.commaOrSpaceSeparated = !1, jr.prototype.commaSeparated = !1, jr.prototype.defined = !1, jr.prototype.mustUseProperty = !1, jr.prototype.number = !1, jr.prototype.overloadedBoolean = !1, jr.prototype.property = "", jr.prototype.spaceSeparated = !1, jr.prototype.space = void 0;
|
|
2226
|
+
var Mr = /* @__PURE__ */ yt({
|
|
2227
|
+
boolean: () => G,
|
|
2228
|
+
booleanish: () => Pr,
|
|
2229
2229
|
commaOrSpaceSeparated: () => Lr,
|
|
2230
2230
|
commaSeparated: () => Ir,
|
|
2231
|
-
number: () =>
|
|
2232
|
-
overloadedBoolean: () =>
|
|
2233
|
-
spaceSeparated: () =>
|
|
2234
|
-
}),
|
|
2231
|
+
number: () => K,
|
|
2232
|
+
overloadedBoolean: () => Fr,
|
|
2233
|
+
spaceSeparated: () => q
|
|
2234
|
+
}), Nr = 0, G = Rr(), Pr = Rr(), Fr = Rr(), K = Rr(), q = Rr(), Ir = Rr(), Lr = Rr();
|
|
2235
2235
|
function Rr() {
|
|
2236
|
-
return 2 ** ++
|
|
2236
|
+
return 2 ** ++Nr;
|
|
2237
2237
|
}
|
|
2238
|
-
var zr = Object.keys(
|
|
2238
|
+
var zr = Object.keys(Mr), Br = class extends jr {
|
|
2239
2239
|
constructor(e, t, n, r) {
|
|
2240
2240
|
let i = -1;
|
|
2241
2241
|
if (super(e, t), Vr(this, "space", r), typeof n == "number") for (; ++i < zr.length;) {
|
|
2242
2242
|
let e = zr[i];
|
|
2243
|
-
Vr(this, zr[i], (n &
|
|
2243
|
+
Vr(this, zr[i], (n & Mr[e]) === Mr[e]);
|
|
2244
2244
|
}
|
|
2245
2245
|
}
|
|
2246
2246
|
};
|
|
@@ -2252,59 +2252,59 @@ function Hr(e) {
|
|
|
2252
2252
|
let t = {}, n = {};
|
|
2253
2253
|
for (let [r, i] of Object.entries(e.properties)) {
|
|
2254
2254
|
let a = new Br(r, e.transform(e.attributes || {}, r), i, e.space);
|
|
2255
|
-
e.mustUseProperty && e.mustUseProperty.includes(r) && (a.mustUseProperty = !0), t[r] = a, n[
|
|
2255
|
+
e.mustUseProperty && e.mustUseProperty.includes(r) && (a.mustUseProperty = !0), t[r] = a, n[Ar(r)] = r, n[Ar(a.attribute)] = r;
|
|
2256
2256
|
}
|
|
2257
|
-
return new
|
|
2257
|
+
return new Or(t, n, e.space);
|
|
2258
2258
|
}
|
|
2259
2259
|
var Ur = Hr({
|
|
2260
2260
|
properties: {
|
|
2261
2261
|
ariaActiveDescendant: null,
|
|
2262
|
-
ariaAtomic:
|
|
2262
|
+
ariaAtomic: Pr,
|
|
2263
2263
|
ariaAutoComplete: null,
|
|
2264
|
-
ariaBusy:
|
|
2265
|
-
ariaChecked:
|
|
2266
|
-
ariaColCount:
|
|
2267
|
-
ariaColIndex:
|
|
2268
|
-
ariaColSpan:
|
|
2269
|
-
ariaControls:
|
|
2264
|
+
ariaBusy: Pr,
|
|
2265
|
+
ariaChecked: Pr,
|
|
2266
|
+
ariaColCount: K,
|
|
2267
|
+
ariaColIndex: K,
|
|
2268
|
+
ariaColSpan: K,
|
|
2269
|
+
ariaControls: q,
|
|
2270
2270
|
ariaCurrent: null,
|
|
2271
|
-
ariaDescribedBy:
|
|
2271
|
+
ariaDescribedBy: q,
|
|
2272
2272
|
ariaDetails: null,
|
|
2273
|
-
ariaDisabled:
|
|
2274
|
-
ariaDropEffect:
|
|
2273
|
+
ariaDisabled: Pr,
|
|
2274
|
+
ariaDropEffect: q,
|
|
2275
2275
|
ariaErrorMessage: null,
|
|
2276
|
-
ariaExpanded:
|
|
2277
|
-
ariaFlowTo:
|
|
2278
|
-
ariaGrabbed:
|
|
2276
|
+
ariaExpanded: Pr,
|
|
2277
|
+
ariaFlowTo: q,
|
|
2278
|
+
ariaGrabbed: Pr,
|
|
2279
2279
|
ariaHasPopup: null,
|
|
2280
|
-
ariaHidden:
|
|
2280
|
+
ariaHidden: Pr,
|
|
2281
2281
|
ariaInvalid: null,
|
|
2282
2282
|
ariaKeyShortcuts: null,
|
|
2283
2283
|
ariaLabel: null,
|
|
2284
|
-
ariaLabelledBy:
|
|
2285
|
-
ariaLevel:
|
|
2284
|
+
ariaLabelledBy: q,
|
|
2285
|
+
ariaLevel: K,
|
|
2286
2286
|
ariaLive: null,
|
|
2287
|
-
ariaModal:
|
|
2288
|
-
ariaMultiLine:
|
|
2289
|
-
ariaMultiSelectable:
|
|
2287
|
+
ariaModal: Pr,
|
|
2288
|
+
ariaMultiLine: Pr,
|
|
2289
|
+
ariaMultiSelectable: Pr,
|
|
2290
2290
|
ariaOrientation: null,
|
|
2291
|
-
ariaOwns:
|
|
2291
|
+
ariaOwns: q,
|
|
2292
2292
|
ariaPlaceholder: null,
|
|
2293
|
-
ariaPosInSet:
|
|
2294
|
-
ariaPressed:
|
|
2295
|
-
ariaReadOnly:
|
|
2293
|
+
ariaPosInSet: K,
|
|
2294
|
+
ariaPressed: Pr,
|
|
2295
|
+
ariaReadOnly: Pr,
|
|
2296
2296
|
ariaRelevant: null,
|
|
2297
|
-
ariaRequired:
|
|
2298
|
-
ariaRoleDescription:
|
|
2299
|
-
ariaRowCount:
|
|
2300
|
-
ariaRowIndex:
|
|
2301
|
-
ariaRowSpan:
|
|
2302
|
-
ariaSelected:
|
|
2303
|
-
ariaSetSize:
|
|
2297
|
+
ariaRequired: Pr,
|
|
2298
|
+
ariaRoleDescription: q,
|
|
2299
|
+
ariaRowCount: K,
|
|
2300
|
+
ariaRowIndex: K,
|
|
2301
|
+
ariaRowSpan: K,
|
|
2302
|
+
ariaSelected: Pr,
|
|
2303
|
+
ariaSetSize: K,
|
|
2304
2304
|
ariaSort: null,
|
|
2305
|
-
ariaValueMax:
|
|
2306
|
-
ariaValueMin:
|
|
2307
|
-
ariaValueNow:
|
|
2305
|
+
ariaValueMax: K,
|
|
2306
|
+
ariaValueMin: K,
|
|
2307
|
+
ariaValueNow: K,
|
|
2308
2308
|
ariaValueText: null,
|
|
2309
2309
|
role: null
|
|
2310
2310
|
},
|
|
@@ -2334,44 +2334,44 @@ var Kr = Hr({
|
|
|
2334
2334
|
properties: {
|
|
2335
2335
|
abbr: null,
|
|
2336
2336
|
accept: Ir,
|
|
2337
|
-
acceptCharset:
|
|
2338
|
-
accessKey:
|
|
2337
|
+
acceptCharset: q,
|
|
2338
|
+
accessKey: q,
|
|
2339
2339
|
action: null,
|
|
2340
2340
|
allow: null,
|
|
2341
|
-
allowFullScreen:
|
|
2342
|
-
allowPaymentRequest:
|
|
2343
|
-
allowUserMedia:
|
|
2341
|
+
allowFullScreen: G,
|
|
2342
|
+
allowPaymentRequest: G,
|
|
2343
|
+
allowUserMedia: G,
|
|
2344
2344
|
alt: null,
|
|
2345
2345
|
as: null,
|
|
2346
|
-
async:
|
|
2346
|
+
async: G,
|
|
2347
2347
|
autoCapitalize: null,
|
|
2348
|
-
autoComplete:
|
|
2349
|
-
autoFocus:
|
|
2350
|
-
autoPlay:
|
|
2351
|
-
blocking:
|
|
2348
|
+
autoComplete: q,
|
|
2349
|
+
autoFocus: G,
|
|
2350
|
+
autoPlay: G,
|
|
2351
|
+
blocking: q,
|
|
2352
2352
|
capture: null,
|
|
2353
2353
|
charSet: null,
|
|
2354
|
-
checked:
|
|
2354
|
+
checked: G,
|
|
2355
2355
|
cite: null,
|
|
2356
|
-
className:
|
|
2357
|
-
cols:
|
|
2356
|
+
className: q,
|
|
2357
|
+
cols: K,
|
|
2358
2358
|
colSpan: null,
|
|
2359
2359
|
content: null,
|
|
2360
|
-
contentEditable:
|
|
2361
|
-
controls:
|
|
2362
|
-
controlsList:
|
|
2363
|
-
coords:
|
|
2360
|
+
contentEditable: Pr,
|
|
2361
|
+
controls: G,
|
|
2362
|
+
controlsList: q,
|
|
2363
|
+
coords: K | Ir,
|
|
2364
2364
|
crossOrigin: null,
|
|
2365
2365
|
data: null,
|
|
2366
2366
|
dateTime: null,
|
|
2367
2367
|
decoding: null,
|
|
2368
|
-
default:
|
|
2369
|
-
defer:
|
|
2368
|
+
default: G,
|
|
2369
|
+
defer: G,
|
|
2370
2370
|
dir: null,
|
|
2371
2371
|
dirName: null,
|
|
2372
|
-
disabled:
|
|
2373
|
-
download:
|
|
2374
|
-
draggable:
|
|
2372
|
+
disabled: G,
|
|
2373
|
+
download: Fr,
|
|
2374
|
+
draggable: Pr,
|
|
2375
2375
|
encType: null,
|
|
2376
2376
|
enterKeyHint: null,
|
|
2377
2377
|
fetchPriority: null,
|
|
@@ -2379,50 +2379,50 @@ var Kr = Hr({
|
|
|
2379
2379
|
formAction: null,
|
|
2380
2380
|
formEncType: null,
|
|
2381
2381
|
formMethod: null,
|
|
2382
|
-
formNoValidate:
|
|
2382
|
+
formNoValidate: G,
|
|
2383
2383
|
formTarget: null,
|
|
2384
|
-
headers:
|
|
2385
|
-
height:
|
|
2386
|
-
hidden:
|
|
2387
|
-
high:
|
|
2384
|
+
headers: q,
|
|
2385
|
+
height: K,
|
|
2386
|
+
hidden: Fr,
|
|
2387
|
+
high: K,
|
|
2388
2388
|
href: null,
|
|
2389
2389
|
hrefLang: null,
|
|
2390
|
-
htmlFor:
|
|
2391
|
-
httpEquiv:
|
|
2390
|
+
htmlFor: q,
|
|
2391
|
+
httpEquiv: q,
|
|
2392
2392
|
id: null,
|
|
2393
2393
|
imageSizes: null,
|
|
2394
2394
|
imageSrcSet: null,
|
|
2395
|
-
inert:
|
|
2395
|
+
inert: G,
|
|
2396
2396
|
inputMode: null,
|
|
2397
2397
|
integrity: null,
|
|
2398
2398
|
is: null,
|
|
2399
|
-
isMap:
|
|
2399
|
+
isMap: G,
|
|
2400
2400
|
itemId: null,
|
|
2401
|
-
itemProp:
|
|
2402
|
-
itemRef:
|
|
2403
|
-
itemScope:
|
|
2404
|
-
itemType:
|
|
2401
|
+
itemProp: q,
|
|
2402
|
+
itemRef: q,
|
|
2403
|
+
itemScope: G,
|
|
2404
|
+
itemType: q,
|
|
2405
2405
|
kind: null,
|
|
2406
2406
|
label: null,
|
|
2407
2407
|
lang: null,
|
|
2408
2408
|
language: null,
|
|
2409
2409
|
list: null,
|
|
2410
2410
|
loading: null,
|
|
2411
|
-
loop:
|
|
2412
|
-
low:
|
|
2411
|
+
loop: G,
|
|
2412
|
+
low: K,
|
|
2413
2413
|
manifest: null,
|
|
2414
2414
|
max: null,
|
|
2415
|
-
maxLength:
|
|
2415
|
+
maxLength: K,
|
|
2416
2416
|
media: null,
|
|
2417
2417
|
method: null,
|
|
2418
2418
|
min: null,
|
|
2419
|
-
minLength:
|
|
2420
|
-
multiple:
|
|
2421
|
-
muted:
|
|
2419
|
+
minLength: K,
|
|
2420
|
+
multiple: G,
|
|
2421
|
+
muted: G,
|
|
2422
2422
|
name: null,
|
|
2423
2423
|
nonce: null,
|
|
2424
|
-
noModule:
|
|
2425
|
-
noValidate:
|
|
2424
|
+
noModule: G,
|
|
2425
|
+
noValidate: G,
|
|
2426
2426
|
onAbort: null,
|
|
2427
2427
|
onAfterPrint: null,
|
|
2428
2428
|
onAuxClick: null,
|
|
@@ -2511,65 +2511,65 @@ var Kr = Hr({
|
|
|
2511
2511
|
onVolumeChange: null,
|
|
2512
2512
|
onWaiting: null,
|
|
2513
2513
|
onWheel: null,
|
|
2514
|
-
open:
|
|
2515
|
-
optimum:
|
|
2514
|
+
open: G,
|
|
2515
|
+
optimum: K,
|
|
2516
2516
|
pattern: null,
|
|
2517
|
-
ping:
|
|
2517
|
+
ping: q,
|
|
2518
2518
|
placeholder: null,
|
|
2519
|
-
playsInline:
|
|
2519
|
+
playsInline: G,
|
|
2520
2520
|
popover: null,
|
|
2521
2521
|
popoverTarget: null,
|
|
2522
2522
|
popoverTargetAction: null,
|
|
2523
2523
|
poster: null,
|
|
2524
2524
|
preload: null,
|
|
2525
|
-
readOnly:
|
|
2525
|
+
readOnly: G,
|
|
2526
2526
|
referrerPolicy: null,
|
|
2527
|
-
rel:
|
|
2528
|
-
required:
|
|
2529
|
-
reversed:
|
|
2530
|
-
rows:
|
|
2531
|
-
rowSpan:
|
|
2532
|
-
sandbox:
|
|
2527
|
+
rel: q,
|
|
2528
|
+
required: G,
|
|
2529
|
+
reversed: G,
|
|
2530
|
+
rows: K,
|
|
2531
|
+
rowSpan: K,
|
|
2532
|
+
sandbox: q,
|
|
2533
2533
|
scope: null,
|
|
2534
|
-
scoped:
|
|
2535
|
-
seamless:
|
|
2536
|
-
selected:
|
|
2537
|
-
shadowRootClonable:
|
|
2538
|
-
shadowRootDelegatesFocus:
|
|
2534
|
+
scoped: G,
|
|
2535
|
+
seamless: G,
|
|
2536
|
+
selected: G,
|
|
2537
|
+
shadowRootClonable: G,
|
|
2538
|
+
shadowRootDelegatesFocus: G,
|
|
2539
2539
|
shadowRootMode: null,
|
|
2540
2540
|
shape: null,
|
|
2541
|
-
size:
|
|
2541
|
+
size: K,
|
|
2542
2542
|
sizes: null,
|
|
2543
2543
|
slot: null,
|
|
2544
|
-
span:
|
|
2545
|
-
spellCheck:
|
|
2544
|
+
span: K,
|
|
2545
|
+
spellCheck: Pr,
|
|
2546
2546
|
src: null,
|
|
2547
2547
|
srcDoc: null,
|
|
2548
2548
|
srcLang: null,
|
|
2549
2549
|
srcSet: null,
|
|
2550
|
-
start:
|
|
2550
|
+
start: K,
|
|
2551
2551
|
step: null,
|
|
2552
2552
|
style: null,
|
|
2553
|
-
tabIndex:
|
|
2553
|
+
tabIndex: K,
|
|
2554
2554
|
target: null,
|
|
2555
2555
|
title: null,
|
|
2556
2556
|
translate: null,
|
|
2557
2557
|
type: null,
|
|
2558
|
-
typeMustMatch:
|
|
2558
|
+
typeMustMatch: G,
|
|
2559
2559
|
useMap: null,
|
|
2560
|
-
value:
|
|
2561
|
-
width:
|
|
2560
|
+
value: Pr,
|
|
2561
|
+
width: K,
|
|
2562
2562
|
wrap: null,
|
|
2563
2563
|
writingSuggestions: null,
|
|
2564
2564
|
align: null,
|
|
2565
2565
|
aLink: null,
|
|
2566
|
-
archive:
|
|
2566
|
+
archive: q,
|
|
2567
2567
|
axis: null,
|
|
2568
2568
|
background: null,
|
|
2569
2569
|
bgColor: null,
|
|
2570
|
-
border:
|
|
2570
|
+
border: K,
|
|
2571
2571
|
borderColor: null,
|
|
2572
|
-
bottomMargin:
|
|
2572
|
+
bottomMargin: K,
|
|
2573
2573
|
cellPadding: null,
|
|
2574
2574
|
cellSpacing: null,
|
|
2575
2575
|
char: null,
|
|
@@ -2580,48 +2580,48 @@ var Kr = Hr({
|
|
|
2580
2580
|
codeBase: null,
|
|
2581
2581
|
codeType: null,
|
|
2582
2582
|
color: null,
|
|
2583
|
-
compact:
|
|
2584
|
-
declare:
|
|
2583
|
+
compact: G,
|
|
2584
|
+
declare: G,
|
|
2585
2585
|
event: null,
|
|
2586
2586
|
face: null,
|
|
2587
2587
|
frame: null,
|
|
2588
2588
|
frameBorder: null,
|
|
2589
|
-
hSpace:
|
|
2590
|
-
leftMargin:
|
|
2589
|
+
hSpace: K,
|
|
2590
|
+
leftMargin: K,
|
|
2591
2591
|
link: null,
|
|
2592
2592
|
longDesc: null,
|
|
2593
2593
|
lowSrc: null,
|
|
2594
|
-
marginHeight:
|
|
2595
|
-
marginWidth:
|
|
2596
|
-
noResize:
|
|
2597
|
-
noHref:
|
|
2598
|
-
noShade:
|
|
2599
|
-
noWrap:
|
|
2594
|
+
marginHeight: K,
|
|
2595
|
+
marginWidth: K,
|
|
2596
|
+
noResize: G,
|
|
2597
|
+
noHref: G,
|
|
2598
|
+
noShade: G,
|
|
2599
|
+
noWrap: G,
|
|
2600
2600
|
object: null,
|
|
2601
2601
|
profile: null,
|
|
2602
2602
|
prompt: null,
|
|
2603
2603
|
rev: null,
|
|
2604
|
-
rightMargin:
|
|
2604
|
+
rightMargin: K,
|
|
2605
2605
|
rules: null,
|
|
2606
2606
|
scheme: null,
|
|
2607
|
-
scrolling:
|
|
2607
|
+
scrolling: Pr,
|
|
2608
2608
|
standby: null,
|
|
2609
2609
|
summary: null,
|
|
2610
2610
|
text: null,
|
|
2611
|
-
topMargin:
|
|
2611
|
+
topMargin: K,
|
|
2612
2612
|
valueType: null,
|
|
2613
2613
|
version: null,
|
|
2614
2614
|
vAlign: null,
|
|
2615
2615
|
vLink: null,
|
|
2616
|
-
vSpace:
|
|
2616
|
+
vSpace: K,
|
|
2617
2617
|
allowTransparency: null,
|
|
2618
2618
|
autoCorrect: null,
|
|
2619
2619
|
autoSave: null,
|
|
2620
|
-
disablePictureInPicture:
|
|
2621
|
-
disableRemotePlayback:
|
|
2620
|
+
disablePictureInPicture: G,
|
|
2621
|
+
disableRemotePlayback: G,
|
|
2622
2622
|
prefix: null,
|
|
2623
2623
|
property: null,
|
|
2624
|
-
results:
|
|
2624
|
+
results: K,
|
|
2625
2625
|
security: null,
|
|
2626
2626
|
unselectable: null
|
|
2627
2627
|
},
|
|
@@ -2804,28 +2804,28 @@ var Kr = Hr({
|
|
|
2804
2804
|
},
|
|
2805
2805
|
properties: {
|
|
2806
2806
|
about: Lr,
|
|
2807
|
-
accentHeight:
|
|
2807
|
+
accentHeight: K,
|
|
2808
2808
|
accumulate: null,
|
|
2809
2809
|
additive: null,
|
|
2810
2810
|
alignmentBaseline: null,
|
|
2811
|
-
alphabetic:
|
|
2812
|
-
amplitude:
|
|
2811
|
+
alphabetic: K,
|
|
2812
|
+
amplitude: K,
|
|
2813
2813
|
arabicForm: null,
|
|
2814
|
-
ascent:
|
|
2814
|
+
ascent: K,
|
|
2815
2815
|
attributeName: null,
|
|
2816
2816
|
attributeType: null,
|
|
2817
|
-
azimuth:
|
|
2817
|
+
azimuth: K,
|
|
2818
2818
|
bandwidth: null,
|
|
2819
2819
|
baselineShift: null,
|
|
2820
2820
|
baseFrequency: null,
|
|
2821
2821
|
baseProfile: null,
|
|
2822
2822
|
bbox: null,
|
|
2823
2823
|
begin: null,
|
|
2824
|
-
bias:
|
|
2824
|
+
bias: K,
|
|
2825
2825
|
by: null,
|
|
2826
2826
|
calcMode: null,
|
|
2827
|
-
capHeight:
|
|
2828
|
-
className:
|
|
2827
|
+
capHeight: K,
|
|
2828
|
+
className: q,
|
|
2829
2829
|
clip: null,
|
|
2830
2830
|
clipPath: null,
|
|
2831
2831
|
clipPathUnits: null,
|
|
@@ -2845,26 +2845,26 @@ var Kr = Hr({
|
|
|
2845
2845
|
d: null,
|
|
2846
2846
|
dataType: null,
|
|
2847
2847
|
defaultAction: null,
|
|
2848
|
-
descent:
|
|
2849
|
-
diffuseConstant:
|
|
2848
|
+
descent: K,
|
|
2849
|
+
diffuseConstant: K,
|
|
2850
2850
|
direction: null,
|
|
2851
2851
|
display: null,
|
|
2852
2852
|
dur: null,
|
|
2853
|
-
divisor:
|
|
2853
|
+
divisor: K,
|
|
2854
2854
|
dominantBaseline: null,
|
|
2855
|
-
download:
|
|
2855
|
+
download: G,
|
|
2856
2856
|
dx: null,
|
|
2857
2857
|
dy: null,
|
|
2858
2858
|
edgeMode: null,
|
|
2859
2859
|
editable: null,
|
|
2860
|
-
elevation:
|
|
2860
|
+
elevation: K,
|
|
2861
2861
|
enableBackground: null,
|
|
2862
2862
|
end: null,
|
|
2863
2863
|
event: null,
|
|
2864
|
-
exponent:
|
|
2864
|
+
exponent: K,
|
|
2865
2865
|
externalResourcesRequired: null,
|
|
2866
2866
|
fill: null,
|
|
2867
|
-
fillOpacity:
|
|
2867
|
+
fillOpacity: K,
|
|
2868
2868
|
fillRule: null,
|
|
2869
2869
|
filter: null,
|
|
2870
2870
|
filterRes: null,
|
|
@@ -2894,27 +2894,27 @@ var Kr = Hr({
|
|
|
2894
2894
|
gradientTransform: null,
|
|
2895
2895
|
gradientUnits: null,
|
|
2896
2896
|
handler: null,
|
|
2897
|
-
hanging:
|
|
2897
|
+
hanging: K,
|
|
2898
2898
|
hatchContentUnits: null,
|
|
2899
2899
|
hatchUnits: null,
|
|
2900
2900
|
height: null,
|
|
2901
2901
|
href: null,
|
|
2902
2902
|
hrefLang: null,
|
|
2903
|
-
horizAdvX:
|
|
2904
|
-
horizOriginX:
|
|
2905
|
-
horizOriginY:
|
|
2903
|
+
horizAdvX: K,
|
|
2904
|
+
horizOriginX: K,
|
|
2905
|
+
horizOriginY: K,
|
|
2906
2906
|
id: null,
|
|
2907
|
-
ideographic:
|
|
2907
|
+
ideographic: K,
|
|
2908
2908
|
imageRendering: null,
|
|
2909
2909
|
initialVisibility: null,
|
|
2910
2910
|
in: null,
|
|
2911
2911
|
in2: null,
|
|
2912
|
-
intercept:
|
|
2913
|
-
k:
|
|
2914
|
-
k1:
|
|
2915
|
-
k2:
|
|
2916
|
-
k3:
|
|
2917
|
-
k4:
|
|
2912
|
+
intercept: K,
|
|
2913
|
+
k: K,
|
|
2914
|
+
k1: K,
|
|
2915
|
+
k2: K,
|
|
2916
|
+
k3: K,
|
|
2917
|
+
k4: K,
|
|
2918
2918
|
kernelMatrix: Lr,
|
|
2919
2919
|
kernelUnitLength: null,
|
|
2920
2920
|
keyPoints: null,
|
|
@@ -2925,7 +2925,7 @@ var Kr = Hr({
|
|
|
2925
2925
|
lengthAdjust: null,
|
|
2926
2926
|
letterSpacing: null,
|
|
2927
2927
|
lightingColor: null,
|
|
2928
|
-
limitingConeAngle:
|
|
2928
|
+
limitingConeAngle: K,
|
|
2929
2929
|
local: null,
|
|
2930
2930
|
markerEnd: null,
|
|
2931
2931
|
markerMid: null,
|
|
@@ -2941,7 +2941,7 @@ var Kr = Hr({
|
|
|
2941
2941
|
media: null,
|
|
2942
2942
|
mediaCharacterEncoding: null,
|
|
2943
2943
|
mediaContentEncodings: null,
|
|
2944
|
-
mediaSize:
|
|
2944
|
+
mediaSize: K,
|
|
2945
2945
|
mediaTime: null,
|
|
2946
2946
|
method: null,
|
|
2947
2947
|
min: null,
|
|
@@ -3047,24 +3047,24 @@ var Kr = Hr({
|
|
|
3047
3047
|
origin: null,
|
|
3048
3048
|
overflow: null,
|
|
3049
3049
|
overlay: null,
|
|
3050
|
-
overlinePosition:
|
|
3051
|
-
overlineThickness:
|
|
3050
|
+
overlinePosition: K,
|
|
3051
|
+
overlineThickness: K,
|
|
3052
3052
|
paintOrder: null,
|
|
3053
3053
|
panose1: null,
|
|
3054
3054
|
path: null,
|
|
3055
|
-
pathLength:
|
|
3055
|
+
pathLength: K,
|
|
3056
3056
|
patternContentUnits: null,
|
|
3057
3057
|
patternTransform: null,
|
|
3058
3058
|
patternUnits: null,
|
|
3059
3059
|
phase: null,
|
|
3060
|
-
ping:
|
|
3060
|
+
ping: q,
|
|
3061
3061
|
pitch: null,
|
|
3062
3062
|
playbackOrder: null,
|
|
3063
3063
|
pointerEvents: null,
|
|
3064
3064
|
points: null,
|
|
3065
|
-
pointsAtX:
|
|
3066
|
-
pointsAtY:
|
|
3067
|
-
pointsAtZ:
|
|
3065
|
+
pointsAtX: K,
|
|
3066
|
+
pointsAtY: K,
|
|
3067
|
+
pointsAtZ: K,
|
|
3068
3068
|
preserveAlpha: null,
|
|
3069
3069
|
preserveAspectRatio: null,
|
|
3070
3070
|
primitiveUnits: null,
|
|
@@ -3096,8 +3096,8 @@ var Kr = Hr({
|
|
|
3096
3096
|
side: null,
|
|
3097
3097
|
slope: null,
|
|
3098
3098
|
snapshotTime: null,
|
|
3099
|
-
specularConstant:
|
|
3100
|
-
specularExponent:
|
|
3099
|
+
specularConstant: K,
|
|
3100
|
+
specularExponent: K,
|
|
3101
3101
|
spreadMethod: null,
|
|
3102
3102
|
spacing: null,
|
|
3103
3103
|
startOffset: null,
|
|
@@ -3107,30 +3107,30 @@ var Kr = Hr({
|
|
|
3107
3107
|
stitchTiles: null,
|
|
3108
3108
|
stopColor: null,
|
|
3109
3109
|
stopOpacity: null,
|
|
3110
|
-
strikethroughPosition:
|
|
3111
|
-
strikethroughThickness:
|
|
3110
|
+
strikethroughPosition: K,
|
|
3111
|
+
strikethroughThickness: K,
|
|
3112
3112
|
string: null,
|
|
3113
3113
|
stroke: null,
|
|
3114
3114
|
strokeDashArray: Lr,
|
|
3115
3115
|
strokeDashOffset: null,
|
|
3116
3116
|
strokeLineCap: null,
|
|
3117
3117
|
strokeLineJoin: null,
|
|
3118
|
-
strokeMiterLimit:
|
|
3119
|
-
strokeOpacity:
|
|
3118
|
+
strokeMiterLimit: K,
|
|
3119
|
+
strokeOpacity: K,
|
|
3120
3120
|
strokeWidth: null,
|
|
3121
3121
|
style: null,
|
|
3122
|
-
surfaceScale:
|
|
3122
|
+
surfaceScale: K,
|
|
3123
3123
|
syncBehavior: null,
|
|
3124
3124
|
syncBehaviorDefault: null,
|
|
3125
3125
|
syncMaster: null,
|
|
3126
3126
|
syncTolerance: null,
|
|
3127
3127
|
syncToleranceDefault: null,
|
|
3128
3128
|
systemLanguage: Lr,
|
|
3129
|
-
tabIndex:
|
|
3129
|
+
tabIndex: K,
|
|
3130
3130
|
tableValues: null,
|
|
3131
3131
|
target: null,
|
|
3132
|
-
targetX:
|
|
3133
|
-
targetY:
|
|
3132
|
+
targetX: K,
|
|
3133
|
+
targetY: K,
|
|
3134
3134
|
textAnchor: null,
|
|
3135
3135
|
textDecoration: null,
|
|
3136
3136
|
textRendering: null,
|
|
@@ -3145,22 +3145,22 @@ var Kr = Hr({
|
|
|
3145
3145
|
transformOrigin: null,
|
|
3146
3146
|
u1: null,
|
|
3147
3147
|
u2: null,
|
|
3148
|
-
underlinePosition:
|
|
3149
|
-
underlineThickness:
|
|
3148
|
+
underlinePosition: K,
|
|
3149
|
+
underlineThickness: K,
|
|
3150
3150
|
unicode: null,
|
|
3151
3151
|
unicodeBidi: null,
|
|
3152
3152
|
unicodeRange: null,
|
|
3153
|
-
unitsPerEm:
|
|
3153
|
+
unitsPerEm: K,
|
|
3154
3154
|
values: null,
|
|
3155
|
-
vAlphabetic:
|
|
3156
|
-
vMathematical:
|
|
3155
|
+
vAlphabetic: K,
|
|
3156
|
+
vMathematical: K,
|
|
3157
3157
|
vectorEffect: null,
|
|
3158
|
-
vHanging:
|
|
3159
|
-
vIdeographic:
|
|
3158
|
+
vHanging: K,
|
|
3159
|
+
vIdeographic: K,
|
|
3160
3160
|
version: null,
|
|
3161
|
-
vertAdvY:
|
|
3162
|
-
vertOriginX:
|
|
3163
|
-
vertOriginY:
|
|
3161
|
+
vertAdvY: K,
|
|
3162
|
+
vertOriginX: K,
|
|
3163
|
+
vertOriginY: K,
|
|
3164
3164
|
viewBox: null,
|
|
3165
3165
|
viewTarget: null,
|
|
3166
3166
|
visibility: null,
|
|
@@ -3172,7 +3172,7 @@ var Kr = Hr({
|
|
|
3172
3172
|
x1: null,
|
|
3173
3173
|
x2: null,
|
|
3174
3174
|
xChannelSelector: null,
|
|
3175
|
-
xHeight:
|
|
3175
|
+
xHeight: K,
|
|
3176
3176
|
y: null,
|
|
3177
3177
|
y1: null,
|
|
3178
3178
|
y2: null,
|
|
@@ -3234,7 +3234,7 @@ var Kr = Hr({
|
|
|
3234
3234
|
xmlnsXLink: "xmlnsXlink"
|
|
3235
3235
|
}, Qr = /[A-Z]/g, $r = /-[a-z]/g, ei = /^data[-\w.:]+$/i;
|
|
3236
3236
|
function ti(e, t) {
|
|
3237
|
-
let n =
|
|
3237
|
+
let n = Ar(t), r = t, i = jr;
|
|
3238
3238
|
if (n in e.normal) return e.property[e.normal[n]];
|
|
3239
3239
|
if (n.length > 4 && n.slice(0, 4) === "data" && ei.test(t)) {
|
|
3240
3240
|
if (t.charAt(4) === "-") {
|
|
@@ -3257,13 +3257,13 @@ function ni(e) {
|
|
|
3257
3257
|
function ri(e) {
|
|
3258
3258
|
return e.charAt(1).toUpperCase();
|
|
3259
3259
|
}
|
|
3260
|
-
var ii =
|
|
3260
|
+
var ii = kr([
|
|
3261
3261
|
Ur,
|
|
3262
3262
|
Kr,
|
|
3263
3263
|
Jr,
|
|
3264
3264
|
Yr,
|
|
3265
3265
|
Xr
|
|
3266
|
-
], "html"), ai =
|
|
3266
|
+
], "html"), ai = kr([
|
|
3267
3267
|
Ur,
|
|
3268
3268
|
qr,
|
|
3269
3269
|
Jr,
|
|
@@ -3277,7 +3277,7 @@ function oi(e) {
|
|
|
3277
3277
|
function si(e) {
|
|
3278
3278
|
return e.join(" ").trim();
|
|
3279
3279
|
}
|
|
3280
|
-
var ci = /* @__PURE__ */
|
|
3280
|
+
var ci = /* @__PURE__ */ vt(((e, t) => {
|
|
3281
3281
|
var n = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, r = /\n/g, i = /^\s*/, a = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, o = /^:\s*/, s = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, c = /^[;\s]*/, l = /^\s+|\s+$/g, u = "\n", d = "/", f = "*", p = "", m = "comment", h = "declaration";
|
|
3282
3282
|
function g(e, t) {
|
|
3283
3283
|
if (typeof e != "string") throw TypeError("First argument must be a string");
|
|
@@ -3361,7 +3361,7 @@ var ci = /* @__PURE__ */ _t(((e, t) => {
|
|
|
3361
3361
|
return e ? e.replace(l, p) : p;
|
|
3362
3362
|
}
|
|
3363
3363
|
t.exports = g;
|
|
3364
|
-
})), li = /* @__PURE__ */
|
|
3364
|
+
})), li = /* @__PURE__ */ vt(((e) => {
|
|
3365
3365
|
var t = e && e.__importDefault || function(e) {
|
|
3366
3366
|
return e && e.__esModule ? e : { default: e };
|
|
3367
3367
|
};
|
|
@@ -3377,7 +3377,7 @@ var ci = /* @__PURE__ */ _t(((e, t) => {
|
|
|
3377
3377
|
a ? t(n, i, e) : i && (r ||= {}, r[n] = i);
|
|
3378
3378
|
}), r;
|
|
3379
3379
|
}
|
|
3380
|
-
})), ui = /* @__PURE__ */
|
|
3380
|
+
})), ui = /* @__PURE__ */ vt(((e) => {
|
|
3381
3381
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.camelCase = void 0;
|
|
3382
3382
|
var t = /^--[a-zA-Z0-9_-]+$/, n = /-([a-z])/g, r = /^[^-]+$/, i = /^-(webkit|moz|ms|o|khtml)-/, a = /^-(ms)-/, o = function(e) {
|
|
3383
3383
|
return !e || r.test(e) || t.test(e);
|
|
@@ -3389,7 +3389,7 @@ var ci = /* @__PURE__ */ _t(((e, t) => {
|
|
|
3389
3389
|
e.camelCase = function(e, t) {
|
|
3390
3390
|
return t === void 0 && (t = {}), o(e) ? e : (e = e.toLowerCase(), e = t.reactCompat ? e.replace(a, c) : e.replace(i, c), e.replace(n, s));
|
|
3391
3391
|
};
|
|
3392
|
-
})), di = /* @__PURE__ */
|
|
3392
|
+
})), di = /* @__PURE__ */ vt(((e, t) => {
|
|
3393
3393
|
var n = (e && e.__importDefault || function(e) {
|
|
3394
3394
|
return e && e.__esModule ? e : { default: e };
|
|
3395
3395
|
})(li()), r = ui();
|
|
@@ -3451,7 +3451,7 @@ var bi = class extends Error {
|
|
|
3451
3451
|
}
|
|
3452
3452
|
};
|
|
3453
3453
|
bi.prototype.file = "", bi.prototype.name = "", bi.prototype.reason = "", bi.prototype.message = "", bi.prototype.stack = "", bi.prototype.column = void 0, bi.prototype.line = void 0, bi.prototype.ancestors = void 0, bi.prototype.cause = void 0, bi.prototype.fatal = void 0, bi.prototype.place = void 0, bi.prototype.ruleId = void 0, bi.prototype.source = void 0;
|
|
3454
|
-
var xi = /* @__PURE__ */
|
|
3454
|
+
var xi = /* @__PURE__ */ xt(di(), 1), Si = {}.hasOwnProperty, Ci = /* @__PURE__ */ new Map(), wi = /[A-Z]/g, Ti = new Set([
|
|
3455
3455
|
"table",
|
|
3456
3456
|
"tbody",
|
|
3457
3457
|
"thead",
|
|
@@ -3499,7 +3499,7 @@ function ki(e, t, n) {
|
|
|
3499
3499
|
t.tagName.toLowerCase() === "svg" && r.space === "html" && (i = ai, e.schema = i), e.ancestors.push(t);
|
|
3500
3500
|
let a = Wi(e, t.tagName, !1), o = zi(e, t), s = Vi(e, t);
|
|
3501
3501
|
return Ti.has(t.tagName) && (s = s.filter(function(e) {
|
|
3502
|
-
return typeof e == "string" ? !
|
|
3502
|
+
return typeof e == "string" ? !Er(e) : !0;
|
|
3503
3503
|
})), Fi(e, o, a, t), Ii(o, s), e.ancestors.pop(), e.schema = r, e.create(t, a, o, n);
|
|
3504
3504
|
}
|
|
3505
3505
|
function Ai(e, t) {
|
|
@@ -3608,7 +3608,7 @@ function Vi(e, t) {
|
|
|
3608
3608
|
function Hi(e, t, n) {
|
|
3609
3609
|
let r = ti(e.schema, t);
|
|
3610
3610
|
if (!(n == null || typeof n == "number" && Number.isNaN(n))) {
|
|
3611
|
-
if (Array.isArray(n) && (n = r.commaSeparated ?
|
|
3611
|
+
if (Array.isArray(n) && (n = r.commaSeparated ? br(n) : si(n)), r.property === "style") {
|
|
3612
3612
|
let t = typeof n == "object" ? n : Ui(e, String(n));
|
|
3613
3613
|
return e.stylePropertyNameCase === "css" && (t = Ki(t)), ["style", t];
|
|
3614
3614
|
}
|
|
@@ -3638,7 +3638,7 @@ function Wi(e, t, n) {
|
|
|
3638
3638
|
else if (t.includes(".")) {
|
|
3639
3639
|
let e = t.split("."), n = -1, i;
|
|
3640
3640
|
for (; ++n < e.length;) {
|
|
3641
|
-
let t =
|
|
3641
|
+
let t = wr(e[n]) ? {
|
|
3642
3642
|
type: "Identifier",
|
|
3643
3643
|
name: e[n]
|
|
3644
3644
|
} : {
|
|
@@ -3654,7 +3654,7 @@ function Wi(e, t, n) {
|
|
|
3654
3654
|
} : t;
|
|
3655
3655
|
}
|
|
3656
3656
|
r = i;
|
|
3657
|
-
} else r =
|
|
3657
|
+
} else r = wr(t) && !/^[a-z]/.test(t) ? {
|
|
3658
3658
|
type: "Identifier",
|
|
3659
3659
|
name: t
|
|
3660
3660
|
} : {
|
|
@@ -5346,7 +5346,7 @@ function bs(e, t) {
|
|
|
5346
5346
|
}
|
|
5347
5347
|
return e;
|
|
5348
5348
|
}
|
|
5349
|
-
var xs = /* @__PURE__ */
|
|
5349
|
+
var xs = /* @__PURE__ */ yt({
|
|
5350
5350
|
attentionMarkers: () => ks,
|
|
5351
5351
|
contentInitial: () => Cs,
|
|
5352
5352
|
disable: () => As,
|
|
@@ -7050,7 +7050,7 @@ function cl(e, t) {
|
|
|
7050
7050
|
function ll(e) {
|
|
7051
7051
|
if (e) throw e;
|
|
7052
7052
|
}
|
|
7053
|
-
var ul = /* @__PURE__ */
|
|
7053
|
+
var ul = /* @__PURE__ */ vt(((e, t) => {
|
|
7054
7054
|
var n = Object.prototype.hasOwnProperty, r = Object.prototype.toString, i = Object.defineProperty, a = Object.getOwnPropertyDescriptor, o = function(e) {
|
|
7055
7055
|
return typeof Array.isArray == "function" ? Array.isArray(e) : r.call(e) === "[object Array]";
|
|
7056
7056
|
}, s = function(e) {
|
|
@@ -7353,7 +7353,7 @@ var Nl = (function(e) {
|
|
|
7353
7353
|
return n.apply(r, arguments);
|
|
7354
7354
|
};
|
|
7355
7355
|
return Object.setPrototypeOf(r, t), r;
|
|
7356
|
-
}), Pl = /* @__PURE__ */
|
|
7356
|
+
}), Pl = /* @__PURE__ */ xt(ul(), 1), Fl = {}.hasOwnProperty, Il = new class e extends Nl {
|
|
7357
7357
|
constructor() {
|
|
7358
7358
|
super("copy"), this.Compiler = void 0, this.Parser = void 0, this.attachers = [], this.compiler = void 0, this.freezeIndex = -1, this.frozen = void 0, this.namespace = {}, this.parser = void 0, this.transformers = fl();
|
|
7359
7359
|
}
|
|
@@ -10078,7 +10078,7 @@ function am(e, t, n, r) {
|
|
|
10078
10078
|
if (typeof r == "number") {
|
|
10079
10079
|
if (Number.isNaN(r)) return;
|
|
10080
10080
|
a = r;
|
|
10081
|
-
} else a = typeof r == "boolean" ? r : typeof r == "string" ? i.spaceSeparated ? oi(r) : i.commaSeparated ?
|
|
10081
|
+
} else a = typeof r == "boolean" ? r : typeof r == "string" ? i.spaceSeparated ? oi(r) : i.commaSeparated ? yr(r) : i.commaOrSpaceSeparated ? oi(yr(r).join(" ")) : sm(i, i.property, r) : Array.isArray(r) ? [...r] : i.property === "style" ? cm(r) : String(r);
|
|
10082
10082
|
if (Array.isArray(a)) {
|
|
10083
10083
|
let e = [];
|
|
10084
10084
|
for (let t of a) e.push(sm(i, i.property, t));
|
|
@@ -10099,7 +10099,7 @@ function om(e, t) {
|
|
|
10099
10099
|
function sm(e, t, n) {
|
|
10100
10100
|
if (typeof n == "string") {
|
|
10101
10101
|
if (e.number && n && !Number.isNaN(Number(n))) return Number(n);
|
|
10102
|
-
if ((e.boolean || e.overloadedBoolean) && (n === "" ||
|
|
10102
|
+
if ((e.boolean || e.overloadedBoolean) && (n === "" || Ar(n) === Ar(t))) return !0;
|
|
10103
10103
|
}
|
|
10104
10104
|
return n;
|
|
10105
10105
|
}
|
|
@@ -25742,7 +25742,7 @@ var gb = 2e3, _b = (e, t = gb) => {
|
|
|
25742
25742
|
}, []), {
|
|
25743
25743
|
isCopied: n,
|
|
25744
25744
|
copy: a(() => {
|
|
25745
|
-
|
|
25745
|
+
$n(e).then((e) => {
|
|
25746
25746
|
e && (i.current != null && clearTimeout(i.current), r(!0), i.current = setTimeout(() => {
|
|
25747
25747
|
r(!1);
|
|
25748
25748
|
}, t));
|
|
@@ -25826,10 +25826,10 @@ var gb = 2e3, _b = (e, t = gb) => {
|
|
|
25826
25826
|
}, wb = {
|
|
25827
25827
|
dark: Cb,
|
|
25828
25828
|
light: Cb
|
|
25829
|
-
}, Tb = i(({ language: e, value: t, isStreaming: n, theme: r =
|
|
25830
|
-
let { isCopied: f, copy: h } = _b(t), g = r ===
|
|
25829
|
+
}, Tb = i(({ language: e, value: t, isStreaming: n, theme: r = wt.Dark, copyLabel: i = "Copy code", copiedLabel: a = "Copied!", downloadLabel: o = "Download code", containerClassName: s, headerClassName: c, codeClassName: l = "dial-code-text", languageLabelClassName: u = "dial-tiny-semi-text uppercase", colors: d }) => {
|
|
25830
|
+
let { isCopied: f, copy: h } = _b(t), g = r === wt.Light;
|
|
25831
25831
|
return /* @__PURE__ */ R("div", {
|
|
25832
|
-
style:
|
|
25832
|
+
style: Qn({
|
|
25833
25833
|
"--cm-code-block-bg": d?.background,
|
|
25834
25834
|
"--cm-code-block-border": d?.border,
|
|
25835
25835
|
"--cm-code-block-header-bg": d?.headerBackground,
|
|
@@ -25837,11 +25837,11 @@ var gb = 2e3, _b = (e, t = gb) => {
|
|
|
25837
25837
|
"--cm-code-block-copied": d?.copied,
|
|
25838
25838
|
"--cm-code-block-scrollbar": d?.scrollbar
|
|
25839
25839
|
}),
|
|
25840
|
-
className:
|
|
25840
|
+
className: W("my-4 max-w-full overflow-hidden rounded-xl border", vb.container, g && vb.containerLight, s),
|
|
25841
25841
|
children: [/* @__PURE__ */ R("div", {
|
|
25842
|
-
className:
|
|
25842
|
+
className: W("flex min-h-10 items-center justify-between border-b px-3 py-2", vb.header, c),
|
|
25843
25843
|
children: [/* @__PURE__ */ L("span", {
|
|
25844
|
-
className:
|
|
25844
|
+
className: W(vb.languageLabel, u),
|
|
25845
25845
|
children: e
|
|
25846
25846
|
}), !n && /* @__PURE__ */ R("div", {
|
|
25847
25847
|
className: "flex items-center gap-1",
|
|
@@ -25851,7 +25851,7 @@ var gb = 2e3, _b = (e, t = gb) => {
|
|
|
25851
25851
|
variant: p.Primary,
|
|
25852
25852
|
size: I.Small,
|
|
25853
25853
|
onClick: () => {
|
|
25854
|
-
|
|
25854
|
+
ar(t, `code.${nr(e)}`);
|
|
25855
25855
|
}
|
|
25856
25856
|
}), /* @__PURE__ */ L(E, {
|
|
25857
25857
|
icon: L(f ? dp : fp, { size: m.SM }),
|
|
@@ -25863,7 +25863,7 @@ var gb = 2e3, _b = (e, t = gb) => {
|
|
|
25863
25863
|
})]
|
|
25864
25864
|
})]
|
|
25865
25865
|
}), /* @__PURE__ */ L("div", {
|
|
25866
|
-
className:
|
|
25866
|
+
className: W(vb.scrollContainer, "max-h-[60vh] overflow-auto"),
|
|
25867
25867
|
dir: "ltr",
|
|
25868
25868
|
children: e ? /* @__PURE__ */ L(hb, {
|
|
25869
25869
|
language: e,
|
|
@@ -25882,7 +25882,7 @@ var gb = 2e3, _b = (e, t = gb) => {
|
|
|
25882
25882
|
}) : /* @__PURE__ */ L("pre", {
|
|
25883
25883
|
className: "p-4",
|
|
25884
25884
|
children: /* @__PURE__ */ L("code", {
|
|
25885
|
-
className:
|
|
25885
|
+
className: W("whitespace-pre", l),
|
|
25886
25886
|
children: t
|
|
25887
25887
|
})
|
|
25888
25888
|
})
|
|
@@ -25924,17 +25924,17 @@ var gb = 2e3, _b = (e, t = gb) => {
|
|
|
25924
25924
|
tableScrollFadeStart: "_tableScrollFadeStart_g3hpg_53",
|
|
25925
25925
|
tableScrollFadeBoth: "_tableScrollFadeBoth_g3hpg_61"
|
|
25926
25926
|
}, Ab = i(({ children: e, classNames: t, colors: n, scrollRegionAriaLabel: r = "Scrollable table" }) => {
|
|
25927
|
-
let { scrollContainerRef: i, tableRef: a, hasContentBeyondStart: o, hasContentBeyondEnd: s, handleScroll: c } = Ob(), l =
|
|
25927
|
+
let { scrollContainerRef: i, tableRef: a, hasContentBeyondStart: o, hasContentBeyondEnd: s, handleScroll: c } = Ob(), l = Qn({
|
|
25928
25928
|
"--cm-markdown-border": n?.border,
|
|
25929
25929
|
"--cm-table-scrollbar": n?.scrollbar,
|
|
25930
25930
|
"--cm-table-fade": n?.fade
|
|
25931
25931
|
}), u = o || s;
|
|
25932
25932
|
return /* @__PURE__ */ L("div", {
|
|
25933
25933
|
style: l,
|
|
25934
|
-
className:
|
|
25934
|
+
className: W("relative w-full min-w-0 max-w-full overflow-hidden rounded-xl border", kb.tableContainer, kb.tableContainerLight, t.tableWrapper),
|
|
25935
25935
|
children: /* @__PURE__ */ L("div", {
|
|
25936
25936
|
ref: i,
|
|
25937
|
-
className:
|
|
25937
|
+
className: W("w-full min-w-0 max-w-full overflow-x-auto", kb.scrollContainer, {
|
|
25938
25938
|
[kb.tableScrollFadeBoth]: o && s,
|
|
25939
25939
|
[kb.tableScrollFadeStart]: o && !s,
|
|
25940
25940
|
[kb.tableScrollFadeEnd]: !o && s
|
|
@@ -25945,7 +25945,7 @@ var gb = 2e3, _b = (e, t = gb) => {
|
|
|
25945
25945
|
tabIndex: u ? 0 : void 0,
|
|
25946
25946
|
children: /* @__PURE__ */ L("table", {
|
|
25947
25947
|
ref: a,
|
|
25948
|
-
className:
|
|
25948
|
+
className: W("w-max min-w-full border-collapse", t.tableFont ?? "text-sm"),
|
|
25949
25949
|
children: e
|
|
25950
25950
|
})
|
|
25951
25951
|
})
|
|
@@ -25990,11 +25990,11 @@ var gb = 2e3, _b = (e, t = gb) => {
|
|
|
25990
25990
|
children: t
|
|
25991
25991
|
}),
|
|
25992
25992
|
ul: ({ children: t }) => /* @__PURE__ */ L("ul", {
|
|
25993
|
-
className:
|
|
25993
|
+
className: W("list-disc ps-5", e.ul),
|
|
25994
25994
|
children: t
|
|
25995
25995
|
}),
|
|
25996
25996
|
ol: ({ children: t }) => /* @__PURE__ */ L("ol", {
|
|
25997
|
-
className:
|
|
25997
|
+
className: W("list-decimal ps-5", e.ol),
|
|
25998
25998
|
children: t
|
|
25999
25999
|
}),
|
|
26000
26000
|
strong: ({ children: t }) => /* @__PURE__ */ L("strong", {
|
|
@@ -26019,24 +26019,24 @@ var gb = 2e3, _b = (e, t = gb) => {
|
|
|
26019
26019
|
headerClassName: e.codeBlockHeader,
|
|
26020
26020
|
codeClassName: e.codeFont
|
|
26021
26021
|
}) : /* @__PURE__ */ L("code", {
|
|
26022
|
-
className:
|
|
26022
|
+
className: W("rounded px-1 py-0.5", e.codeInlineFont ?? "dial-code-text", e.codeInline),
|
|
26023
26023
|
children: a
|
|
26024
26024
|
});
|
|
26025
26025
|
},
|
|
26026
26026
|
blockquote: ({ children: t }) => /* @__PURE__ */ L("blockquote", {
|
|
26027
|
-
className:
|
|
26027
|
+
className: W("border-s-2 border-primary py-1 ps-4 text-secondary", e.blockquote),
|
|
26028
26028
|
children: t
|
|
26029
26029
|
}),
|
|
26030
26030
|
a: ({ href: t, children: n }) => /* @__PURE__ */ L("a", {
|
|
26031
26031
|
href: t,
|
|
26032
26032
|
target: "_blank",
|
|
26033
26033
|
rel: "noopener noreferrer",
|
|
26034
|
-
className:
|
|
26034
|
+
className: W("decoration-current/60 text-accent-primary underline underline-offset-2 hover:decoration-current focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-2 focus-visible:outline-[var(--stroke-focus,#EEF1F7)]", e.link),
|
|
26035
26035
|
children: n
|
|
26036
26036
|
}),
|
|
26037
|
-
hr: () => /* @__PURE__ */ L("hr", { className:
|
|
26037
|
+
hr: () => /* @__PURE__ */ L("hr", { className: W("my-5 border-t", Eb.secondaryBorder, e.hr) }),
|
|
26038
26038
|
del: ({ children: t }) => /* @__PURE__ */ L("del", {
|
|
26039
|
-
className:
|
|
26039
|
+
className: W("opacity-75", e.del),
|
|
26040
26040
|
children: t
|
|
26041
26041
|
}),
|
|
26042
26042
|
input: ({ type: e, checked: t }) => e === "checkbox" ? /* @__PURE__ */ L(jb, { checked: t ?? !1 }) : null,
|
|
@@ -26048,21 +26048,21 @@ var gb = 2e3, _b = (e, t = gb) => {
|
|
|
26048
26048
|
tr: ({ children: e, node: t }) => {
|
|
26049
26049
|
let n = t?.children.filter((e) => e.type === "element") ?? [], r = n.some((e) => e.tagName === "th"), i = n.filter((e) => Fb(e).trim().length > 0).length, a = !r && n.length > 1 && i === 1;
|
|
26050
26050
|
return /* @__PURE__ */ L("tr", {
|
|
26051
|
-
className:
|
|
26051
|
+
className: W(kb.row, a && kb.sectionRow),
|
|
26052
26052
|
children: e
|
|
26053
26053
|
});
|
|
26054
26054
|
},
|
|
26055
26055
|
th: ({ children: t }) => /* @__PURE__ */ L("th", {
|
|
26056
26056
|
scope: "col",
|
|
26057
|
-
className:
|
|
26057
|
+
className: W("sticky top-0 z-[2] max-w-96 whitespace-normal break-words border-b px-3 py-2.5 text-start [overflow-wrap:anywhere]", kb.rowDivider, kb.tableHeaderCell, e.tableHeaderFont ?? "dial-tiny-semi-text uppercase tracking-wider text-secondary", e.tableCell, e.tableHeader),
|
|
26058
26058
|
children: t
|
|
26059
26059
|
}),
|
|
26060
26060
|
td: ({ children: t }) => /* @__PURE__ */ L("td", {
|
|
26061
|
-
className:
|
|
26061
|
+
className: W("max-w-96 whitespace-normal break-words border-b px-3 py-2.5 align-top [overflow-wrap:anywhere]", kb.rowDivider, e.tableBodyCell, e.tableCell),
|
|
26062
26062
|
children: t
|
|
26063
26063
|
})
|
|
26064
26064
|
}), Lb = i(({ content: e, isStreaming: t, streamCharactersPerSecond: n, classNames: r = Nb, components: i, thinkingLabel: a = "Thinking", codeBlockCopyLabel: o, codeBlockCopiedLabel: s, codeBlockTheme: c, colors: u, tableScrollRegionAriaLabel: d }) => {
|
|
26065
|
-
let f = cp(e, t, n), p =
|
|
26065
|
+
let f = cp(e, t, n), p = Qn({
|
|
26066
26066
|
"--cm-thinking-inverted": u?.thinkingPrimary,
|
|
26067
26067
|
"--cm-thinking-secondary": u?.thinkingSecondary,
|
|
26068
26068
|
"--cm-markdown-border": u?.border
|
|
@@ -26125,17 +26125,17 @@ var zb = {
|
|
|
26125
26125
|
return /* @__PURE__ */ L("div", {
|
|
26126
26126
|
role: "search",
|
|
26127
26127
|
children: /* @__PURE__ */ R("div", {
|
|
26128
|
-
className:
|
|
26128
|
+
className: W(zb.container, "flex cursor-text items-center gap-3 rounded-xl border px-4 py-2 transition-[border-color,box-shadow] duration-150 ease-in-out", l),
|
|
26129
26129
|
children: [
|
|
26130
26130
|
/* @__PURE__ */ L(Te, {
|
|
26131
26131
|
size: r,
|
|
26132
26132
|
stroke: i,
|
|
26133
|
-
className:
|
|
26133
|
+
className: W(zb.icon, "shrink-0 transition-colors duration-150 ease-in-out", u),
|
|
26134
26134
|
"aria-hidden": !0
|
|
26135
26135
|
}),
|
|
26136
26136
|
/* @__PURE__ */ L("input", {
|
|
26137
26137
|
type: "text",
|
|
26138
|
-
className:
|
|
26138
|
+
className: W(zb.input, "min-w-0 flex-1 border-0 p-0 text-sm font-normal leading-5 outline-none", d),
|
|
26139
26139
|
value: e,
|
|
26140
26140
|
placeholder: o,
|
|
26141
26141
|
"aria-label": p,
|
|
@@ -26145,11 +26145,11 @@ var zb = {
|
|
|
26145
26145
|
type: "button",
|
|
26146
26146
|
onClick: () => t(""),
|
|
26147
26147
|
"aria-label": c,
|
|
26148
|
-
className:
|
|
26148
|
+
className: W("flex shrink-0 items-center justify-center", f),
|
|
26149
26149
|
children: /* @__PURE__ */ L(Ae, {
|
|
26150
26150
|
size: r,
|
|
26151
26151
|
stroke: i,
|
|
26152
|
-
className:
|
|
26152
|
+
className: W(zb.icon, u),
|
|
26153
26153
|
"aria-hidden": !0
|
|
26154
26154
|
})
|
|
26155
26155
|
})
|
|
@@ -26159,7 +26159,7 @@ var zb = {
|
|
|
26159
26159
|
}, Vb = ({ isActive: e, styles: t, className: n, ...r }) => {
|
|
26160
26160
|
let { activeClassName: i = "!bg-layer-0 !text-accent-primary shadow-sm", inactiveClassName: a = "!text-secondary" } = t?.colors ?? {};
|
|
26161
26161
|
return /* @__PURE__ */ L(E, {
|
|
26162
|
-
className:
|
|
26162
|
+
className: W("rounded-[6px]", e ? i : a, n),
|
|
26163
26163
|
...r
|
|
26164
26164
|
});
|
|
26165
26165
|
}, Hb = {
|
|
@@ -26169,16 +26169,16 @@ var zb = {
|
|
|
26169
26169
|
let { className: i, colors: a, typography: o } = r ?? {}, { activeTabClassName: s = "text-primary", inactiveTabClassName: c = "text-secondary hover:text-primary border-transparent", activeBadgeClassName: l = "bg-accent-primary-alpha text-accent-primary", inactiveBadgeClassName: u = "bg-layer-3 text-tertiary" } = a ?? {}, { tabLabelClassName: d = "dial-small-semi-text", badgeLabelClassName: f = "dial-tiny-semi-text" } = o ?? {};
|
|
26170
26170
|
return /* @__PURE__ */ L("div", {
|
|
26171
26171
|
role: "tablist",
|
|
26172
|
-
className:
|
|
26172
|
+
className: W("flex justify-start gap-1 border-b", Hb.tabsRow, i),
|
|
26173
26173
|
children: e.map((e) => {
|
|
26174
26174
|
let r = t === e.id;
|
|
26175
26175
|
return /* @__PURE__ */ R("button", {
|
|
26176
26176
|
role: "tab",
|
|
26177
26177
|
"aria-selected": r,
|
|
26178
26178
|
onClick: () => n(e.id),
|
|
26179
|
-
className:
|
|
26179
|
+
className: W(d, "-mb-px flex items-center gap-1.5 border-b-2 px-3 py-2.5 text-start transition-colors", r ? W(Hb.activeTab, s) : c),
|
|
26180
26180
|
children: [/* @__PURE__ */ L("span", { children: e.label }), e.count != null && /* @__PURE__ */ L("span", {
|
|
26181
|
-
className:
|
|
26181
|
+
className: W(f, "rounded-full px-1.5 py-0.5", r ? l : u),
|
|
26182
26182
|
children: e.count
|
|
26183
26183
|
})]
|
|
26184
26184
|
}, e.id);
|
|
@@ -26198,7 +26198,7 @@ i(({ tabs: e, activeTabId: t, onTabChange: n, styles: r }) => {
|
|
|
26198
26198
|
label: e.label,
|
|
26199
26199
|
selected: r,
|
|
26200
26200
|
onClick: () => n(e.id),
|
|
26201
|
-
className:
|
|
26201
|
+
className: W("box-border h-auto shrink-0 justify-center rounded-full p-2 text-center", i, Wb.tabContainer, r && Wb.tabActive)
|
|
26202
26202
|
}, e.id);
|
|
26203
26203
|
})
|
|
26204
26204
|
});
|
|
@@ -26251,13 +26251,13 @@ var Gb = (e) => /* @__PURE__ */ L(M, { ...e }), Kb = (e) => /* @__PURE__ */ L(_,
|
|
|
26251
26251
|
[B.Guardrail]: "rgba(190, 18, 60, 0.12)",
|
|
26252
26252
|
[B.Mcp]: "rgba(14, 116, 144, 0.12)"
|
|
26253
26253
|
}, ex = (e) => {
|
|
26254
|
-
if (e.isFeatured) return
|
|
26254
|
+
if (e.isFeatured) return Qn({
|
|
26255
26255
|
"--entity-color": Qb[e.type],
|
|
26256
26256
|
"--entity-shadow": $b[e.type]
|
|
26257
26257
|
});
|
|
26258
26258
|
}, tx = (e) => {
|
|
26259
26259
|
let { colors: t } = e ?? {};
|
|
26260
|
-
return
|
|
26260
|
+
return Qn({
|
|
26261
26261
|
"--cat-bg": t?.background,
|
|
26262
26262
|
"--cat-text-primary": t?.text,
|
|
26263
26263
|
"--cat-text-secondary": t?.textSecondary,
|
|
@@ -26315,20 +26315,20 @@ var Gb = (e) => /* @__PURE__ */ L(M, { ...e }), Kb = (e) => /* @__PURE__ */ L(_,
|
|
|
26315
26315
|
description: "_description_ymqsc_44",
|
|
26316
26316
|
skeletonCard: "_skeletonCard_ymqsc_48"
|
|
26317
26317
|
}, ox = ({ type: e, className: t = "dial-caption-text font-semibold" }) => /* @__PURE__ */ L("span", {
|
|
26318
|
-
className:
|
|
26318
|
+
className: W("uppercase tracking-[0.06em]", t),
|
|
26319
26319
|
style: { color: Qb[e] },
|
|
26320
26320
|
children: e
|
|
26321
26321
|
}), sx = { numericText: "_numericText_uy8cg_2" }, cx = ({ icon: e, type: t, name: n, version: r, lastUsed: i, size: a, query: o, className: s, typeClassName: c, nameClassName: l = "dial-body-semi-text text-primary", versionClassName: u = "dial-tiny-text text-secondary", lastUsedClassName: d = "dial-tiny-text text-tertiary", lastUsedTrailing: f, iconClassName: p }) => {
|
|
26322
26322
|
let m = a === "lg", h = m ? "h-[54px] w-[54px] rounded-[14px]" : "h-[44px] w-[44px] rounded-[12px]", g = m ? 54 : 44;
|
|
26323
26323
|
return /* @__PURE__ */ R("div", {
|
|
26324
|
-
className:
|
|
26324
|
+
className: W("flex min-w-0 items-start gap-[14px]", s),
|
|
26325
26325
|
children: [/* @__PURE__ */ L("div", {
|
|
26326
|
-
className:
|
|
26327
|
-
children: /* @__PURE__ */ L(
|
|
26326
|
+
className: W("flex-shrink-0 overflow-hidden", h, p),
|
|
26327
|
+
children: /* @__PURE__ */ L(fr, {
|
|
26328
26328
|
src: e ?? void 0,
|
|
26329
26329
|
size: g,
|
|
26330
26330
|
initialsName: n,
|
|
26331
|
-
styles: { badgeClassName:
|
|
26331
|
+
styles: { badgeClassName: W(m ? "rounded-[14px]" : "rounded-[12px]") }
|
|
26332
26332
|
})
|
|
26333
26333
|
}), /* @__PURE__ */ R("div", {
|
|
26334
26334
|
className: "flex min-w-0 flex-1 flex-col gap-[5px]",
|
|
@@ -26340,31 +26340,31 @@ var Gb = (e) => /* @__PURE__ */ L(M, { ...e }), Kb = (e) => /* @__PURE__ */ L(_,
|
|
|
26340
26340
|
children: [/* @__PURE__ */ R("div", {
|
|
26341
26341
|
className: "flex min-w-0 items-start gap-1 overflow-hidden",
|
|
26342
26342
|
children: [/* @__PURE__ */ L("span", {
|
|
26343
|
-
className:
|
|
26344
|
-
children: o ? /* @__PURE__ */ L(
|
|
26343
|
+
className: W("flex-3 min-w-0 shrink truncate", l),
|
|
26344
|
+
children: o ? /* @__PURE__ */ L(gr, {
|
|
26345
26345
|
text: n,
|
|
26346
26346
|
query: o
|
|
26347
26347
|
}) : n
|
|
26348
26348
|
}), r != null && /* @__PURE__ */ L(S, {
|
|
26349
26349
|
text: r,
|
|
26350
|
-
className:
|
|
26350
|
+
className: W("flex-1", sx.numericText, u)
|
|
26351
26351
|
})]
|
|
26352
26352
|
}), m && i != null && /* @__PURE__ */ R("div", {
|
|
26353
26353
|
className: "flex items-center gap-2",
|
|
26354
26354
|
children: [/* @__PURE__ */ L("span", {
|
|
26355
|
-
className:
|
|
26355
|
+
className: W(sx.numericText, d),
|
|
26356
26356
|
children: i
|
|
26357
26357
|
}), f]
|
|
26358
26358
|
})]
|
|
26359
26359
|
})]
|
|
26360
26360
|
})]
|
|
26361
26361
|
});
|
|
26362
|
-
}, lx = ({ credentials: e, loggedOutLabel: t = "LOGGED OUT", className: n, badgeClassName: r = "bg-error text-[10px] font-semibold uppercase tracking-[0.06em] text-error" }) => e == null ||
|
|
26362
|
+
}, lx = ({ credentials: e, loggedOutLabel: t = "LOGGED OUT", className: n, badgeClassName: r = "bg-error text-[10px] font-semibold uppercase tracking-[0.06em] text-error" }) => e == null || ut(e) == null ? null : /* @__PURE__ */ L(re, {
|
|
26363
26363
|
label: t,
|
|
26364
|
-
className:
|
|
26364
|
+
className: W("border-none", r, n)
|
|
26365
26365
|
}), ux = { featuredChip: "_featuredChip_zbis1_1" }, dx = ({ label: e, className: t }) => /* @__PURE__ */ L(re, {
|
|
26366
26366
|
label: e,
|
|
26367
|
-
className:
|
|
26367
|
+
className: W("rounded-2xl border-none text-[10px] font-semibold uppercase tracking-[0.06em]", t, ux.featuredChip)
|
|
26368
26368
|
}), fx = {
|
|
26369
26369
|
icon: "_icon_182e4_1",
|
|
26370
26370
|
label: "_label_182e4_5"
|
|
@@ -26390,7 +26390,7 @@ var Gb = (e) => /* @__PURE__ */ L(M, { ...e }), Kb = (e) => /* @__PURE__ */ L(_,
|
|
|
26390
26390
|
className: fx.icon
|
|
26391
26391
|
}),
|
|
26392
26392
|
pathItems: a,
|
|
26393
|
-
labelClassName:
|
|
26393
|
+
labelClassName: W(t, fx.label, "!cursor-default")
|
|
26394
26394
|
});
|
|
26395
26395
|
}, mx = {
|
|
26396
26396
|
starFilledIcon: "_starFilledIcon_po6zj_1",
|
|
@@ -26406,7 +26406,7 @@ var Gb = (e) => /* @__PURE__ */ L(M, { ...e }), Kb = (e) => /* @__PURE__ */ L(_,
|
|
|
26406
26406
|
onClick: t
|
|
26407
26407
|
}), gx = { tag: "_tag_16t7g_1" }, _x = ({ label: e, className: t = "dial-tiny-text" }) => /* @__PURE__ */ L(re, {
|
|
26408
26408
|
label: e,
|
|
26409
|
-
className:
|
|
26409
|
+
className: W(t, gx.tag)
|
|
26410
26410
|
}), vx = ({ topics: e, overflowAriaLabel: t, className: n }) => {
|
|
26411
26411
|
let [r, i] = d(e.length), a = u(null);
|
|
26412
26412
|
c(() => {
|
|
@@ -26427,7 +26427,7 @@ var Gb = (e) => /* @__PURE__ */ L(M, { ...e }), Kb = (e) => /* @__PURE__ */ L(_,
|
|
|
26427
26427
|
let o = e.length - r;
|
|
26428
26428
|
return /* @__PURE__ */ R("div", {
|
|
26429
26429
|
ref: a,
|
|
26430
|
-
className:
|
|
26430
|
+
className: W("flex min-w-0 flex-nowrap items-center gap-2 overflow-hidden", n),
|
|
26431
26431
|
children: [e.slice(0, r).map((e) => /* @__PURE__ */ L(_x, { label: e }, e)), o > 0 && /* @__PURE__ */ L(ie, {
|
|
26432
26432
|
tooltip: e.slice(r).join(", "),
|
|
26433
26433
|
children: /* @__PURE__ */ L("span", {
|
|
@@ -26457,7 +26457,7 @@ var Gb = (e) => /* @__PURE__ */ L(M, { ...e }), Kb = (e) => /* @__PURE__ */ L(_,
|
|
|
26457
26457
|
} : {},
|
|
26458
26458
|
"aria-label": e.name,
|
|
26459
26459
|
style: ex(e),
|
|
26460
|
-
className:
|
|
26460
|
+
className: W("relative box-border flex cursor-pointer flex-col gap-[14px]", "rounded-[20px] border-2 p-[22px]", ax.card, e.isFeatured ? ax.featuredCard : void 0, l ? "border-accent-primary !bg-accent-primary-alpha" : "border-transparent", u),
|
|
26461
26461
|
children: [
|
|
26462
26462
|
e.isFeatured && /* @__PURE__ */ L("div", {
|
|
26463
26463
|
className: "absolute end-[22px] top-0 -translate-y-1/2",
|
|
@@ -26482,7 +26482,7 @@ var Gb = (e) => /* @__PURE__ */ L(M, { ...e }), Kb = (e) => /* @__PURE__ */ L(_,
|
|
|
26482
26482
|
iconClassName: ax.cardIcon
|
|
26483
26483
|
}),
|
|
26484
26484
|
/* @__PURE__ */ L("p", {
|
|
26485
|
-
className:
|
|
26485
|
+
className: W(_, "line-clamp-2 min-h-[44px] !leading-[22px]", ax.description),
|
|
26486
26486
|
children: e.description
|
|
26487
26487
|
}),
|
|
26488
26488
|
/* @__PURE__ */ R("div", {
|
|
@@ -26508,7 +26508,7 @@ var Gb = (e) => /* @__PURE__ */ L(M, { ...e }), Kb = (e) => /* @__PURE__ */ L(_,
|
|
|
26508
26508
|
size: I.Small,
|
|
26509
26509
|
onClick: C,
|
|
26510
26510
|
ariaLabel: h ? c : s,
|
|
26511
|
-
className:
|
|
26511
|
+
className: W(ax.starBtn, !h && ax.emptyStarHidden)
|
|
26512
26512
|
})]
|
|
26513
26513
|
})
|
|
26514
26514
|
})
|
|
@@ -26572,7 +26572,7 @@ var Gb = (e) => /* @__PURE__ */ L(M, { ...e }), Kb = (e) => /* @__PURE__ */ L(_,
|
|
|
26572
26572
|
className: "grid gap-5 p-5",
|
|
26573
26573
|
style: { gridTemplateColumns: `repeat(${g}, minmax(0, 1fr))` },
|
|
26574
26574
|
children: Array.from({ length: g * 3 }, (e, t) => /* @__PURE__ */ L("div", {
|
|
26575
|
-
className:
|
|
26575
|
+
className: W("rounded-[6px] border p-4", ax.skeletonCard),
|
|
26576
26576
|
style: { height: 248 },
|
|
26577
26577
|
children: /* @__PURE__ */ L(F, {
|
|
26578
26578
|
avatar: {
|
|
@@ -26586,11 +26586,8 @@ var Gb = (e) => /* @__PURE__ */ L(M, { ...e }), Kb = (e) => /* @__PURE__ */ L(_,
|
|
|
26586
26586
|
})
|
|
26587
26587
|
}, t))
|
|
26588
26588
|
}) : e.length === 0 ? /* @__PURE__ */ L("div", {
|
|
26589
|
-
className: "flex
|
|
26590
|
-
children: /* @__PURE__ */ L(
|
|
26591
|
-
label: s,
|
|
26592
|
-
icon: null
|
|
26593
|
-
})
|
|
26589
|
+
className: "flex size-full flex-col items-center justify-center",
|
|
26590
|
+
children: /* @__PURE__ */ L(vr, { label: s })
|
|
26594
26591
|
}) : /* @__PURE__ */ L("div", {
|
|
26595
26592
|
ref: p,
|
|
26596
26593
|
className: "relative",
|
|
@@ -26629,7 +26626,7 @@ var Gb = (e) => /* @__PURE__ */ L(M, { ...e }), Kb = (e) => /* @__PURE__ */ L(_,
|
|
|
26629
26626
|
resizeHandler: "_resizeHandler_oh1ub_31"
|
|
26630
26627
|
};
|
|
26631
26628
|
i(({ title: e, titleClassName: t = "dial-h1-text", leftActions: n, className: r, rightActions: i }) => /* @__PURE__ */ R("div", {
|
|
26632
|
-
className:
|
|
26629
|
+
className: W("flex h-12 shrink-0 items-center gap-2 px-4", r, wx.header),
|
|
26633
26630
|
children: [
|
|
26634
26631
|
n && /* @__PURE__ */ L("div", {
|
|
26635
26632
|
className: "flex items-center gap-1",
|
|
@@ -26637,7 +26634,7 @@ i(({ title: e, titleClassName: t = "dial-h1-text", leftActions: n, className: r,
|
|
|
26637
26634
|
}),
|
|
26638
26635
|
/* @__PURE__ */ L(S, {
|
|
26639
26636
|
text: e,
|
|
26640
|
-
className:
|
|
26637
|
+
className: W("min-w-0 flex-1 truncate", t)
|
|
26641
26638
|
}),
|
|
26642
26639
|
i && /* @__PURE__ */ L("div", {
|
|
26643
26640
|
className: "flex items-center gap-1",
|
|
@@ -26646,9 +26643,9 @@ i(({ title: e, titleClassName: t = "dial-h1-text", leftActions: n, className: r,
|
|
|
26646
26643
|
]
|
|
26647
26644
|
}));
|
|
26648
26645
|
var Tx = { icon: "_icon_1b1ye_1" }, Ex = i(({ value: e, onChange: t, labels: n, styles: r }) => {
|
|
26649
|
-
let { colors: i, iconClassName: a = Tx.icon, wrapperClassName: o, rowClassName: s } = r ?? {}, c = l(() =>
|
|
26646
|
+
let { colors: i, iconClassName: a = Tx.icon, wrapperClassName: o, rowClassName: s } = r ?? {}, c = l(() => Qn({ "--si-icon": i?.icon }), [i]);
|
|
26650
26647
|
return /* @__PURE__ */ L("div", {
|
|
26651
|
-
className:
|
|
26648
|
+
className: W("px-3 py-2", o),
|
|
26652
26649
|
style: c,
|
|
26653
26650
|
children: /* @__PURE__ */ L(Bb, {
|
|
26654
26651
|
value: e,
|
|
@@ -26662,20 +26659,20 @@ var Tx = { icon: "_icon_1b1ye_1" }, Ex = i(({ value: e, onChange: t, labels: n,
|
|
|
26662
26659
|
iconStrokeWidth: 1.5,
|
|
26663
26660
|
styles: {
|
|
26664
26661
|
iconClassName: a,
|
|
26665
|
-
containerClassName:
|
|
26662
|
+
containerClassName: W("min-h-11 w-full gap-2 rounded-full border pe-3 ps-3 desktop:min-h-9", s),
|
|
26666
26663
|
clearButtonClassName: "size-11 desktop:size-6"
|
|
26667
26664
|
}
|
|
26668
26665
|
})
|
|
26669
26666
|
});
|
|
26670
26667
|
});
|
|
26671
|
-
i(({ label: e, icon: t = be, iconSize: n = 48 }) => /* @__PURE__ */ L(
|
|
26668
|
+
i(({ label: e, icon: t = be, iconSize: n = 48 }) => /* @__PURE__ */ L(vr, {
|
|
26672
26669
|
icon: /* @__PURE__ */ L(t, {
|
|
26673
26670
|
"aria-hidden": !0,
|
|
26674
26671
|
size: n,
|
|
26675
26672
|
stroke: 1
|
|
26676
26673
|
}),
|
|
26677
26674
|
label: e
|
|
26678
|
-
})), i(({ label: e, icon: t = je, iconSize: n = 45 }) => /* @__PURE__ */ L(
|
|
26675
|
+
})), i(({ label: e, icon: t = je, iconSize: n = 45 }) => /* @__PURE__ */ L(vr, {
|
|
26679
26676
|
icon: /* @__PURE__ */ L(t, {
|
|
26680
26677
|
"aria-hidden": !0,
|
|
26681
26678
|
size: n,
|
|
@@ -26687,17 +26684,17 @@ var Dx = {
|
|
|
26687
26684
|
title: "_title_jw4lf_1",
|
|
26688
26685
|
count: "_count_jw4lf_5"
|
|
26689
26686
|
}, Ox = ({ title: e, postfix: t, titleClassName: n = "dial-h3-text", postfixClassName: r = "dial-tiny-text", className: i, query: a, trailing: o }) => /* @__PURE__ */ R("div", {
|
|
26690
|
-
className:
|
|
26687
|
+
className: W("flex items-center gap-2", i),
|
|
26691
26688
|
children: [
|
|
26692
26689
|
/* @__PURE__ */ L("h3", {
|
|
26693
|
-
className:
|
|
26694
|
-
children: a ? /* @__PURE__ */ L(
|
|
26690
|
+
className: W("min-w-0", n, Dx.title),
|
|
26691
|
+
children: a ? /* @__PURE__ */ L(gr, {
|
|
26695
26692
|
text: e,
|
|
26696
26693
|
query: a
|
|
26697
26694
|
}) : /* @__PURE__ */ L(S, { text: e })
|
|
26698
26695
|
}),
|
|
26699
26696
|
t != null && /* @__PURE__ */ L(S, {
|
|
26700
|
-
className:
|
|
26697
|
+
className: W(r, Dx.count),
|
|
26701
26698
|
text: t
|
|
26702
26699
|
}),
|
|
26703
26700
|
o != null && /* @__PURE__ */ L("div", {
|
|
@@ -26708,18 +26705,18 @@ var Dx = {
|
|
|
26708
26705
|
}), kx = ({ item: e, nameClassName: t, versionClassName: n, showVersion: r = !0, typeClassName: i = "dial-caption-text font-semibold", iconBadgeClassName: a = "rounded-[14px]", featuredChipClassName: o, featuredLabel: s = "Featured", hasFeaturedTag: c = !0, iconSize: l = 48, query: u, footer: d }) => /* @__PURE__ */ R("div", {
|
|
26709
26706
|
className: "flex items-start gap-2",
|
|
26710
26707
|
style: ex(e),
|
|
26711
|
-
children: [/* @__PURE__ */ L(
|
|
26708
|
+
children: [/* @__PURE__ */ L(fr, {
|
|
26712
26709
|
src: e.iconUrl,
|
|
26713
26710
|
size: l,
|
|
26714
26711
|
initialsName: e.name,
|
|
26715
26712
|
styles: { badgeClassName: a }
|
|
26716
26713
|
}), /* @__PURE__ */ R("div", {
|
|
26717
|
-
className:
|
|
26714
|
+
className: W("flex min-w-0 flex-1 flex-col", d == null ? "gap-1" : "self-stretch"),
|
|
26718
26715
|
children: [
|
|
26719
26716
|
/* @__PURE__ */ R("div", {
|
|
26720
26717
|
className: "relative flex flex-row items-center justify-between",
|
|
26721
26718
|
children: [/* @__PURE__ */ L("span", {
|
|
26722
|
-
className:
|
|
26719
|
+
className: W("uppercase tracking-[0.06em]", i),
|
|
26723
26720
|
style: { color: Qb[e.type] },
|
|
26724
26721
|
children: e.type
|
|
26725
26722
|
}), c && e.isFeatured && /* @__PURE__ */ L("div", {
|
|
@@ -26744,16 +26741,16 @@ var Dx = {
|
|
|
26744
26741
|
]
|
|
26745
26742
|
})]
|
|
26746
26743
|
}), Ax = ({ items: e, selectedPath: t, onSelectedPathChange: n, onCreateFolder: r, searchQuery: i, disabled: a = !1, createFolderLabel: o = "Create new folder", newFolderDefaultName: s = "New folder", noResultsText: c = "No folders match \"{query}\".", rootLabel: u = "Organization", expandedPaths: f, onExpandedPathsChange: p, loadingPaths: h }) => {
|
|
26747
|
-
let [g, _] = d(() => new Set(t?.map((e, n) =>
|
|
26744
|
+
let [g, _] = d(() => new Set(t?.map((e, n) => rt(t.slice(0, n + 1))) ?? [])), v = f ?? g, y = (e) => {
|
|
26748
26745
|
let t = new Set(e);
|
|
26749
26746
|
t.delete(""), p ? p(t) : _(t);
|
|
26750
|
-
}, [b, x] = d(null), S = l(() =>
|
|
26747
|
+
}, [b, x] = d(null), S = l(() => tt(e, i), [e, i]), T = i.trim().length > 0, E = l(() => new Set(["", ...nt(S)]), [S]), D = l(() => new Set(["", ...T ? E : v]), [
|
|
26751
26748
|
T,
|
|
26752
26749
|
E,
|
|
26753
26750
|
v
|
|
26754
26751
|
]), O = l(() => {
|
|
26755
|
-
let e =
|
|
26756
|
-
return b ?
|
|
26752
|
+
let e = at(S);
|
|
26753
|
+
return b ? ot(e, b, s) : e;
|
|
26757
26754
|
}, [
|
|
26758
26755
|
S,
|
|
26759
26756
|
b,
|
|
@@ -26768,35 +26765,35 @@ var Dx = {
|
|
|
26768
26765
|
O,
|
|
26769
26766
|
u,
|
|
26770
26767
|
T
|
|
26771
|
-
]), ee = b ?
|
|
26768
|
+
]), ee = b ? rt([...b, s]) : null;
|
|
26772
26769
|
return /* @__PURE__ */ R("div", {
|
|
26773
|
-
className:
|
|
26770
|
+
className: W(a && "pointer-events-none opacity-60"),
|
|
26774
26771
|
children: [/* @__PURE__ */ L(w, {
|
|
26775
26772
|
items: k,
|
|
26776
26773
|
showFiles: !1,
|
|
26777
|
-
selectedPath: t == null ? void 0 :
|
|
26774
|
+
selectedPath: t == null ? void 0 : rt(t),
|
|
26778
26775
|
expandedPaths: D,
|
|
26779
26776
|
onExpandedPathsChange: y,
|
|
26780
26777
|
loadingPaths: h,
|
|
26781
26778
|
onItemClick: (e) => {
|
|
26782
|
-
n(t != null &&
|
|
26779
|
+
n(t != null && rt(t) === e.path ? void 0 : it(e.path));
|
|
26783
26780
|
},
|
|
26784
26781
|
createdFolderPath: ee,
|
|
26785
26782
|
newFolderDefaultName: s,
|
|
26786
26783
|
onCreateFolderSave: (t) => {
|
|
26787
26784
|
if (!b) return;
|
|
26788
|
-
let i = t.trim(), a =
|
|
26785
|
+
let i = t.trim(), a = st(e, b).some((e) => e.toLowerCase() === i.toLowerCase());
|
|
26789
26786
|
i && !a && (r(b, i), n([...b, i])), x(null);
|
|
26790
26787
|
},
|
|
26791
26788
|
onCreateFolderCancel: () => x(null),
|
|
26792
|
-
|
|
26789
|
+
emptyStateTitle: T ? c.replace("{query}", i.trim()) : void 0
|
|
26793
26790
|
}), /* @__PURE__ */ R("button", {
|
|
26794
26791
|
type: "button",
|
|
26795
26792
|
disabled: a,
|
|
26796
26793
|
onClick: () => {
|
|
26797
26794
|
let e = t ?? [];
|
|
26798
26795
|
x(e);
|
|
26799
|
-
let n =
|
|
26796
|
+
let n = rt(e);
|
|
26800
26797
|
n && y(new Set(v).add(n));
|
|
26801
26798
|
},
|
|
26802
26799
|
className: "dial-small-semi-text mt-2 flex w-full items-center gap-2 border-t border-tertiary px-3 py-3 text-accent-primary",
|
|
@@ -26814,7 +26811,7 @@ var Dx = {
|
|
|
26814
26811
|
className: d,
|
|
26815
26812
|
children: o
|
|
26816
26813
|
}) : /* @__PURE__ */ L("ul", { children: e.map((e, n) => /* @__PURE__ */ R("li", {
|
|
26817
|
-
className:
|
|
26814
|
+
className: W("flex items-center justify-between gap-2 rounded-lg px-3 py-[11px]", n % 2 == 0 && "bg-layer-2"),
|
|
26818
26815
|
children: [/* @__PURE__ */ R("span", {
|
|
26819
26816
|
className: "flex min-w-0 items-center gap-2",
|
|
26820
26817
|
children: [/* @__PURE__ */ R("span", {
|
|
@@ -26830,10 +26827,10 @@ var Dx = {
|
|
|
26830
26827
|
})]
|
|
26831
26828
|
}), /* @__PURE__ */ L("span", {
|
|
26832
26829
|
className: u,
|
|
26833
|
-
children:
|
|
26830
|
+
children: Ze(e.publishedAt)
|
|
26834
26831
|
})]
|
|
26835
26832
|
}, `${e.version}-${n}`)) }), Mx = ({ item: e, resource: t, history: n, isHistoryLoading: r = !1, hasHistoryError: i = !1, folderItems: a, selectedFolderPath: o, onSelectedFolderPathChange: s, onCreateFolder: c, expandedPaths: u, onExpandedPathsChange: f, loadingPaths: p, hasExistingPublicationInFolder: m, hasWriteAccess: h, isSubmitting: g, hasSubmitError: _ = !1, allowReplace: v = !0, texts: y = {} }) => {
|
|
26836
|
-
let { currentVersionSuffix: b = "current", folderLabel: x = "Publish to folder", searchPlaceholder: S = "Search folders", clearSearchAriaLabel: C = "Clear search", historyLabel: w = "Versions history", replaceWarning: T = "Version {version} is already published in {folder}. Publishing will replace it.", noAccessError: E = "You don't have permission to publish to {folder}. Pick another, or ask an owner for access.", submitError: D = "Publishing failed. Please try again.", folderEmptyStateText: O, historyLoadingText: k, historyErrorText: ee, rootFolderLabel: A = "Organization" } = y, [M, N] = d(""), P = o != null, F = l(() =>
|
|
26833
|
+
let { currentVersionSuffix: b = "current", folderLabel: x = "Publish to folder", searchPlaceholder: S = "Search folders", clearSearchAriaLabel: C = "Clear search", historyLabel: w = "Versions history", replaceWarning: T = "Version {version} is already published in {folder}. Publishing will replace it.", noAccessError: E = "You don't have permission to publish to {folder}. Pick another, or ask an owner for access.", submitError: D = "Publishing failed. Please try again.", folderEmptyStateText: O, historyLoadingText: k, historyErrorText: ee, rootFolderLabel: A = "Organization" } = y, [M, N] = d(""), P = o != null, F = l(() => Ye({
|
|
26837
26834
|
hasSelectedFolder: P,
|
|
26838
26835
|
hasExistingPublicationInFolder: m,
|
|
26839
26836
|
hasWriteAccess: h,
|
|
@@ -26907,7 +26904,7 @@ var Dx = {
|
|
|
26907
26904
|
noResultsText: O,
|
|
26908
26905
|
rootLabel: A
|
|
26909
26906
|
}),
|
|
26910
|
-
F.calloutKind !==
|
|
26907
|
+
F.calloutKind !== He.None && F.calloutKind !== He.Info && /* @__PURE__ */ L("div", {
|
|
26911
26908
|
className: "mt-3",
|
|
26912
26909
|
children: /* @__PURE__ */ L(j, {
|
|
26913
26910
|
variant: Nx(F.calloutKind),
|
|
@@ -26934,7 +26931,7 @@ var Dx = {
|
|
|
26934
26931
|
})] })
|
|
26935
26932
|
]
|
|
26936
26933
|
});
|
|
26937
|
-
}, Nx = (e) => e ===
|
|
26934
|
+
}, Nx = (e) => e === He.ReplaceWarning ? ae.Warning : ae.Error, Px = (e, t) => {
|
|
26938
26935
|
let [n, r, ...i] = e.split("{folder}");
|
|
26939
26936
|
return r === void 0 || i.length > 0 ? e : /* @__PURE__ */ R(se, { children: [
|
|
26940
26937
|
n,
|
|
@@ -26944,7 +26941,7 @@ var Dx = {
|
|
|
26944
26941
|
}),
|
|
26945
26942
|
r
|
|
26946
26943
|
] });
|
|
26947
|
-
}, Fx = (e, t) => e ===
|
|
26944
|
+
}, Fx = (e, t) => e === He.ReplaceWarning ? Px(t.replaceWarning.replace("{version}", t.version ?? ""), t.folderName) : e === He.NoAccess ? Px(t.noAccessError, t.folderName) : t.submitError, Ix = {
|
|
26948
26945
|
sectionHeading: "_sectionHeading_orno3_1",
|
|
26949
26946
|
rowAlt: "_rowAlt_orno3_5",
|
|
26950
26947
|
label: "_label_orno3_9",
|
|
@@ -26954,27 +26951,27 @@ var Dx = {
|
|
|
26954
26951
|
valueText: "_valueText_orno3_25"
|
|
26955
26952
|
}, Lx = ({ value: e, valueClassName: t, valueTrueClassName: n, checkIconClassName: r, yesLabel: i, noLabel: a }) => e === !0 ? /* @__PURE__ */ R(se, { children: [/* @__PURE__ */ L(fe, {
|
|
26956
26953
|
size: m.MD,
|
|
26957
|
-
className:
|
|
26954
|
+
className: W(r, Ix.checkIcon)
|
|
26958
26955
|
}), /* @__PURE__ */ L("span", {
|
|
26959
|
-
className:
|
|
26956
|
+
className: W(n, Ix.valueTrue),
|
|
26960
26957
|
children: i
|
|
26961
26958
|
})] }) : e === !1 ? /* @__PURE__ */ L("span", {
|
|
26962
|
-
className:
|
|
26959
|
+
className: W(t, Ix.valueFalse),
|
|
26963
26960
|
children: a
|
|
26964
26961
|
}) : /* @__PURE__ */ L("span", {
|
|
26965
|
-
className:
|
|
26962
|
+
className: W(t, Ix.valueText),
|
|
26966
26963
|
children: e
|
|
26967
26964
|
}), Rx = ({ sectionLabel: e = "Section", values: t, labelClassName: n = "dial-small-semi-text", valueClassName: r = "dial-small-text", valueTrueClassName: i = "dial-small-semi-text", checkIconClassName: a, sectionClassName: o = "dial-caption-text", yesLabel: s = "Yes", noLabel: c = "No" }) => /* @__PURE__ */ L("div", {
|
|
26968
26965
|
className: "flex flex-col",
|
|
26969
26966
|
children: t != null && t.length > 0 && /* @__PURE__ */ R("section", { children: [/* @__PURE__ */ L("p", {
|
|
26970
|
-
className:
|
|
26967
|
+
className: W("mb-3 mt-0", o, Ix.sectionHeading),
|
|
26971
26968
|
children: e
|
|
26972
26969
|
}), /* @__PURE__ */ L("ul", {
|
|
26973
26970
|
className: "m-0 list-none p-0",
|
|
26974
26971
|
children: t.map((e, t) => /* @__PURE__ */ R("li", {
|
|
26975
|
-
className:
|
|
26972
|
+
className: W("flex items-center rounded px-3 py-2", t % 2 == 0 ? Ix.rowAlt : void 0),
|
|
26976
26973
|
children: [/* @__PURE__ */ L("span", {
|
|
26977
|
-
className:
|
|
26974
|
+
className: W(n, Ix.label, "w-2/5 shrink-0"),
|
|
26978
26975
|
children: e.label
|
|
26979
26976
|
}), /* @__PURE__ */ L("div", {
|
|
26980
26977
|
className: "flex w-3/5 items-center gap-1",
|
|
@@ -27027,12 +27024,12 @@ var Dx = {
|
|
|
27027
27024
|
navigator.clipboard.writeText(p);
|
|
27028
27025
|
}, [p]);
|
|
27029
27026
|
return /* @__PURE__ */ R("section", { children: [t != null && /* @__PURE__ */ L("p", {
|
|
27030
|
-
className:
|
|
27027
|
+
className: W("mb-3 mt-0", i, zx.sectionHeading),
|
|
27031
27028
|
children: t
|
|
27032
27029
|
}), /* @__PURE__ */ R("div", {
|
|
27033
|
-
className:
|
|
27030
|
+
className: W("overflow-hidden rounded-lg", zx.snippetWrapper),
|
|
27034
27031
|
children: [/* @__PURE__ */ R("div", {
|
|
27035
|
-
className:
|
|
27032
|
+
className: W("flex items-center justify-end gap-2 px-3 py-[6px]", zx.snippetTabs),
|
|
27036
27033
|
children: [/* @__PURE__ */ L(x, {
|
|
27037
27034
|
items: u,
|
|
27038
27035
|
matchReferenceWidth: !1,
|
|
@@ -27048,9 +27045,9 @@ var Dx = {
|
|
|
27048
27045
|
onClick: h
|
|
27049
27046
|
})]
|
|
27050
27047
|
}), /* @__PURE__ */ L("div", {
|
|
27051
|
-
className:
|
|
27048
|
+
className: W("relative rounded-lg p-3", zx.codeBlock),
|
|
27052
27049
|
children: /* @__PURE__ */ L("pre", {
|
|
27053
|
-
className:
|
|
27050
|
+
className: W("m-0 overflow-x-auto pe-8", r, zx.pre),
|
|
27054
27051
|
children: /* @__PURE__ */ L("code", { children: p })
|
|
27055
27052
|
})
|
|
27056
27053
|
})]
|
|
@@ -27089,7 +27086,7 @@ var Dx = {
|
|
|
27089
27086
|
/* @__PURE__ */ R("div", {
|
|
27090
27087
|
className: "mb-3 flex items-center justify-between",
|
|
27091
27088
|
children: [/* @__PURE__ */ L("p", {
|
|
27092
|
-
className:
|
|
27089
|
+
className: W("m-0", h, zx.sectionHeading),
|
|
27093
27090
|
children: n
|
|
27094
27091
|
}), /* @__PURE__ */ L(x, {
|
|
27095
27092
|
items: S,
|
|
@@ -27103,15 +27100,15 @@ var Dx = {
|
|
|
27103
27100
|
})]
|
|
27104
27101
|
}),
|
|
27105
27102
|
b != null && /* @__PURE__ */ R("div", {
|
|
27106
|
-
className:
|
|
27103
|
+
className: W("mt-3 flex items-start gap-2 rounded-lg px-3 py-2.5", zx.urlBox),
|
|
27107
27104
|
children: [Bx(b.url) ? /* @__PURE__ */ L("a", {
|
|
27108
27105
|
href: b.url,
|
|
27109
27106
|
target: "_blank",
|
|
27110
27107
|
rel: "noreferrer",
|
|
27111
|
-
className:
|
|
27108
|
+
className: W("flex-1 break-all", p),
|
|
27112
27109
|
children: b.url
|
|
27113
27110
|
}) : /* @__PURE__ */ L("span", {
|
|
27114
|
-
className:
|
|
27111
|
+
className: W("flex-1 break-all", p),
|
|
27115
27112
|
children: b.url
|
|
27116
27113
|
}), /* @__PURE__ */ L(E, {
|
|
27117
27114
|
icon: /* @__PURE__ */ L(pe, { size: m.SM }),
|
|
@@ -27137,36 +27134,36 @@ var Dx = {
|
|
|
27137
27134
|
sectionClassName: h
|
|
27138
27135
|
}),
|
|
27139
27136
|
D && /* @__PURE__ */ R("section", { children: [/* @__PURE__ */ L("p", {
|
|
27140
|
-
className:
|
|
27137
|
+
className: W("mb-3 mt-0", h, zx.sectionHeading),
|
|
27141
27138
|
children: o
|
|
27142
27139
|
}), /* @__PURE__ */ R("div", {
|
|
27143
|
-
className:
|
|
27140
|
+
className: W("relative rounded-lg p-3", zx.codeBlock),
|
|
27144
27141
|
children: [/* @__PURE__ */ L(E, {
|
|
27145
27142
|
icon: /* @__PURE__ */ L(pe, { size: m.SM }),
|
|
27146
27143
|
"aria-label": c,
|
|
27147
27144
|
onClick: () => {
|
|
27148
27145
|
navigator.clipboard.writeText(e.requestExample ?? "");
|
|
27149
27146
|
},
|
|
27150
|
-
className:
|
|
27147
|
+
className: W("absolute end-2 top-2 flex size-6 cursor-pointer items-center justify-center rounded border-none p-0", zx.copyButton)
|
|
27151
27148
|
}), /* @__PURE__ */ L("pre", {
|
|
27152
|
-
className:
|
|
27149
|
+
className: W("m-0 overflow-x-auto pe-8", p, zx.pre),
|
|
27153
27150
|
children: /* @__PURE__ */ L("code", { children: e.requestExample })
|
|
27154
27151
|
})]
|
|
27155
27152
|
})] }),
|
|
27156
27153
|
O && /* @__PURE__ */ R("section", { children: [/* @__PURE__ */ L("p", {
|
|
27157
|
-
className:
|
|
27154
|
+
className: W("mb-3 mt-0", h, zx.sectionHeading),
|
|
27158
27155
|
children: s
|
|
27159
27156
|
}), /* @__PURE__ */ R("div", {
|
|
27160
|
-
className:
|
|
27157
|
+
className: W("relative rounded-lg p-3", zx.codeBlock),
|
|
27161
27158
|
children: [/* @__PURE__ */ L(E, {
|
|
27162
27159
|
icon: /* @__PURE__ */ L(pe, { size: m.SM }),
|
|
27163
27160
|
"aria-label": c,
|
|
27164
27161
|
onClick: () => {
|
|
27165
27162
|
navigator.clipboard.writeText(e.responseSchema ?? "");
|
|
27166
27163
|
},
|
|
27167
|
-
className:
|
|
27164
|
+
className: W("absolute end-2 top-2 flex size-6 cursor-pointer items-center justify-center rounded border-none p-0", zx.copyButton)
|
|
27168
27165
|
}), /* @__PURE__ */ L("pre", {
|
|
27169
|
-
className:
|
|
27166
|
+
className: W("m-0 overflow-x-auto pe-8", p, zx.pre),
|
|
27170
27167
|
children: /* @__PURE__ */ L("code", { children: e.responseSchema })
|
|
27171
27168
|
})]
|
|
27172
27169
|
})] })
|
|
@@ -27282,8 +27279,8 @@ var Dx = {
|
|
|
27282
27279
|
})
|
|
27283
27280
|
})]
|
|
27284
27281
|
});
|
|
27285
|
-
let c =
|
|
27286
|
-
return l = c ===
|
|
27282
|
+
let c = lt(s), l;
|
|
27283
|
+
return l = c === ze.LoginWithMyCreds ? Re.User : c === ze.LogOut ? dt(s) : Re.Global, /* @__PURE__ */ L("div", {
|
|
27287
27284
|
role: "region",
|
|
27288
27285
|
"aria-label": r?.loginActionLabel ?? "Log in",
|
|
27289
27286
|
className: "px-6 py-4 ps-[60px]",
|
|
@@ -27399,23 +27396,23 @@ var Dx = {
|
|
|
27399
27396
|
t?.(e);
|
|
27400
27397
|
}, [e, t]), w = a(() => {
|
|
27401
27398
|
c?.(e);
|
|
27402
|
-
}, [e, c]), T = g?.hasPrimaryAction !== !1 && (n?.(e) ?? (e.type === B.Model || e.type === B.Application)), E = v?.(e) ?? (e.type === B.Model || e.type === B.Toolset || e.type === B.Application), D = !!c && !!e.isEditable, O = e.credentials != null && e.credentials.authenticationType !== Ie.None ?
|
|
27403
|
-
O ===
|
|
27399
|
+
}, [e, c]), T = g?.hasPrimaryAction !== !1 && (n?.(e) ?? (e.type === B.Model || e.type === B.Application)), E = v?.(e) ?? (e.type === B.Model || e.type === B.Toolset || e.type === B.Application), D = !!c && !!e.isEditable, O = e.credentials != null && e.credentials.authenticationType !== Ie.None ? lt(e.credentials) : void 0, k = O != null && (!!d || !!f), ee = a(() => {
|
|
27400
|
+
O === ze.LogOut ? h?.() : p?.();
|
|
27404
27401
|
}, [
|
|
27405
27402
|
O,
|
|
27406
27403
|
h,
|
|
27407
27404
|
p
|
|
27408
27405
|
]), A = {
|
|
27409
|
-
[
|
|
27410
|
-
[
|
|
27411
|
-
[
|
|
27412
|
-
[
|
|
27413
|
-
}[O ??
|
|
27414
|
-
[
|
|
27415
|
-
[
|
|
27416
|
-
[
|
|
27417
|
-
[
|
|
27418
|
-
}[O ??
|
|
27406
|
+
[ze.ManageCredentials]: g?.manageCredentialsActionLabel ?? "Manage credentials",
|
|
27407
|
+
[ze.LoginWithMyCreds]: g?.loginWithMyCredsActionLabel ?? "Login with my creds",
|
|
27408
|
+
[ze.LogIn]: g?.loginActionLabel ?? "Log in",
|
|
27409
|
+
[ze.LogOut]: g?.logoutActionLabel ?? "Log out"
|
|
27410
|
+
}[O ?? ze.LogIn], j = {
|
|
27411
|
+
[ze.ManageCredentials]: /* @__PURE__ */ L(ge, { size: m.MD }),
|
|
27412
|
+
[ze.LoginWithMyCreds]: /* @__PURE__ */ L(ve, { size: m.MD }),
|
|
27413
|
+
[ze.LogIn]: /* @__PURE__ */ L(ve, { size: m.MD }),
|
|
27414
|
+
[ze.LogOut]: /* @__PURE__ */ L(ye, { size: m.MD })
|
|
27415
|
+
}[O ?? ze.LogIn];
|
|
27419
27416
|
return /* @__PURE__ */ R("div", {
|
|
27420
27417
|
className: "flex flex-col gap-3 px-6 py-4",
|
|
27421
27418
|
children: [/* @__PURE__ */ L(kx, {
|
|
@@ -27493,14 +27490,14 @@ var Dx = {
|
|
|
27493
27490
|
}), eS = ({ run: e, contentClassName: t }) => e.kind === "bullets" ? /* @__PURE__ */ L("ul", {
|
|
27494
27491
|
className: "m-0 flex list-none flex-col gap-1 ps-0",
|
|
27495
27492
|
children: e.items.map((e, n) => /* @__PURE__ */ R("li", {
|
|
27496
|
-
className:
|
|
27493
|
+
className: W("flex gap-2", t),
|
|
27497
27494
|
children: [/* @__PURE__ */ L("span", {
|
|
27498
27495
|
"aria-hidden": "true",
|
|
27499
27496
|
children: "•"
|
|
27500
27497
|
}), /* @__PURE__ */ L("span", { children: e })]
|
|
27501
27498
|
}, n))
|
|
27502
27499
|
}) : /* @__PURE__ */ L("p", {
|
|
27503
|
-
className:
|
|
27500
|
+
className: W("m-0", t),
|
|
27504
27501
|
children: e.text
|
|
27505
27502
|
}), tS = ({ content: e, detailsStyles: t }) => {
|
|
27506
27503
|
let { contentHeadingClassName: n = "dial-small-semi-text", contentClassName: r = "dial-small-text" } = t?.typography ?? {};
|
|
@@ -27540,7 +27537,7 @@ var Dx = {
|
|
|
27540
27537
|
className: "flex flex-wrap items-center gap-2",
|
|
27541
27538
|
children: /* @__PURE__ */ L(re, {
|
|
27542
27539
|
label: rS[a],
|
|
27543
|
-
className:
|
|
27540
|
+
className: W(nS.tag, nS[`tag--${a}`], n)
|
|
27544
27541
|
})
|
|
27545
27542
|
}), o != null && /* @__PURE__ */ R("div", {
|
|
27546
27543
|
className: "flex flex-col gap-1.5",
|
|
@@ -27550,17 +27547,17 @@ var Dx = {
|
|
|
27550
27547
|
className: r,
|
|
27551
27548
|
children: t
|
|
27552
27549
|
}), o.resetLabel != null && /* @__PURE__ */ L("span", {
|
|
27553
|
-
className:
|
|
27550
|
+
className: W(i, nS.resetLabel),
|
|
27554
27551
|
children: o.resetLabel
|
|
27555
27552
|
})]
|
|
27556
27553
|
}), /* @__PURE__ */ L("div", {
|
|
27557
|
-
className:
|
|
27554
|
+
className: W("h-1.5 overflow-hidden rounded-[3px]", nS.progressTrack),
|
|
27558
27555
|
role: "progressbar",
|
|
27559
27556
|
"aria-valuenow": o.used,
|
|
27560
27557
|
"aria-valuemin": 0,
|
|
27561
27558
|
"aria-valuemax": o.total,
|
|
27562
27559
|
children: /* @__PURE__ */ L("div", {
|
|
27563
|
-
className:
|
|
27560
|
+
className: W("h-full rounded-[3px] [transition:width_0.3s_ease]", nS.progressFill),
|
|
27564
27561
|
style: { width: `${Math.min(100, o.used / o.total * 100)}%` }
|
|
27565
27562
|
})
|
|
27566
27563
|
})]
|
|
@@ -27574,7 +27571,7 @@ var Dx = {
|
|
|
27574
27571
|
/* @__PURE__ */ R("div", {
|
|
27575
27572
|
className: "flex flex-col gap-2.5",
|
|
27576
27573
|
children: [/* @__PURE__ */ L("span", {
|
|
27577
|
-
className:
|
|
27574
|
+
className: W(r, Kx.introCaption),
|
|
27578
27575
|
children: t?.introLabel ?? "Intro"
|
|
27579
27576
|
}), /* @__PURE__ */ L(tS, {
|
|
27580
27577
|
content: e.intro ?? e.description,
|
|
@@ -27600,10 +27597,10 @@ var Dx = {
|
|
|
27600
27597
|
children: [/* @__PURE__ */ R("div", {
|
|
27601
27598
|
className: "flex items-start justify-between gap-3",
|
|
27602
27599
|
children: [/* @__PURE__ */ L("span", {
|
|
27603
|
-
className:
|
|
27600
|
+
className: W("min-w-0 break-words", t),
|
|
27604
27601
|
children: e.label
|
|
27605
27602
|
}), /* @__PURE__ */ L("span", {
|
|
27606
|
-
className:
|
|
27603
|
+
className: W("shrink-0", n),
|
|
27607
27604
|
children: r
|
|
27608
27605
|
})]
|
|
27609
27606
|
}), i && /* @__PURE__ */ L(N, {
|
|
@@ -27617,7 +27614,7 @@ var Dx = {
|
|
|
27617
27614
|
})
|
|
27618
27615
|
}), dS = ({ sections: e, sectionClassName: t, labelClassName: n, valueClassName: r, valueTrueClassName: i, yesLabel: a, noLabel: o }) => e ? /* @__PURE__ */ L("div", {
|
|
27619
27616
|
className: "flex flex-col",
|
|
27620
|
-
children: e.map((e, s) => /* @__PURE__ */ R("div", { children: [s > 0 && /* @__PURE__ */ L("div", { className:
|
|
27617
|
+
children: e.map((e, s) => /* @__PURE__ */ R("div", { children: [s > 0 && /* @__PURE__ */ L("div", { className: W("shrink-0 border-b", Kx.divider) }), /* @__PURE__ */ L("div", {
|
|
27621
27618
|
className: "px-[22px] py-4",
|
|
27622
27619
|
children: /* @__PURE__ */ L(Rx, {
|
|
27623
27620
|
sectionLabel: e.title,
|
|
@@ -27663,13 +27660,13 @@ var Dx = {
|
|
|
27663
27660
|
}, mS = ({ columns: e, rows: n, columnsTemplate: r, headingClassName: i = "dial-caption-text", cellClassName: a = "dial-tiny-text" }) => {
|
|
27664
27661
|
let o = r ?? `repeat(${e.length}, 1fr)`;
|
|
27665
27662
|
return /* @__PURE__ */ R("div", {
|
|
27666
|
-
className:
|
|
27663
|
+
className: W(pS.container, "grid overflow-hidden rounded-[6px]"),
|
|
27667
27664
|
style: { gridTemplateColumns: o },
|
|
27668
27665
|
children: [e.map((e) => /* @__PURE__ */ L("div", {
|
|
27669
|
-
className:
|
|
27666
|
+
className: W("px-2 py-1 text-start uppercase", i, pS.header),
|
|
27670
27667
|
children: e
|
|
27671
27668
|
}, e)), n.map((e, n) => /* @__PURE__ */ L(t, { children: e.map((e, t) => /* @__PURE__ */ L("div", {
|
|
27672
|
-
className:
|
|
27669
|
+
className: W("px-2 py-1.5", a, pS.cell, n % 2 == 1 ? pS.evenRow : void 0),
|
|
27673
27670
|
children: e
|
|
27674
27671
|
}, t)) }, n))]
|
|
27675
27672
|
});
|
|
@@ -27680,7 +27677,7 @@ var Dx = {
|
|
|
27680
27677
|
}, gS = ({ tools: e, toolNameClassName: t = "dial-small-semi-text", descriptionClassName: n = "dial-small-text", tableHeadingClassName: r = "dial-caption-text", tableCellClassName: i = "dial-tiny-text" }) => e == null ? null : /* @__PURE__ */ L("div", {
|
|
27681
27678
|
className: "flex flex-col",
|
|
27682
27679
|
children: e.tools.map((e, a) => /* @__PURE__ */ R("div", {
|
|
27683
|
-
className:
|
|
27680
|
+
className: W("flex flex-col gap-3 px-[22px] py-4", a > 0 ? hS.divider : void 0),
|
|
27684
27681
|
children: [
|
|
27685
27682
|
/* @__PURE__ */ R("div", {
|
|
27686
27683
|
className: "flex flex-col gap-1",
|
|
@@ -27688,7 +27685,7 @@ var Dx = {
|
|
|
27688
27685
|
className: t,
|
|
27689
27686
|
children: e.name
|
|
27690
27687
|
}), e.description != null && /* @__PURE__ */ L("p", {
|
|
27691
|
-
className:
|
|
27688
|
+
className: W("m-0", n, hS.description),
|
|
27692
27689
|
children: e.description
|
|
27693
27690
|
})]
|
|
27694
27691
|
}),
|
|
@@ -27701,11 +27698,11 @@ var Dx = {
|
|
|
27701
27698
|
columnsTemplate: "1fr 1fr auto",
|
|
27702
27699
|
rows: e.inputParams.map((e) => [
|
|
27703
27700
|
/* @__PURE__ */ L("code", {
|
|
27704
|
-
className:
|
|
27701
|
+
className: W("text-inherit border-none bg-transparent p-0", hS.code),
|
|
27705
27702
|
children: e.name
|
|
27706
27703
|
}, "name"),
|
|
27707
27704
|
/* @__PURE__ */ L("code", {
|
|
27708
|
-
className:
|
|
27705
|
+
className: W("text-inherit border-none bg-transparent p-0", hS.code),
|
|
27709
27706
|
children: e.type
|
|
27710
27707
|
}, "type"),
|
|
27711
27708
|
e.isRequired ? "✓" : "—"
|
|
@@ -27716,7 +27713,7 @@ var Dx = {
|
|
|
27716
27713
|
e.annotations != null && e.annotations.length > 0 && /* @__PURE__ */ L(mS, {
|
|
27717
27714
|
columns: ["Key", "Value"],
|
|
27718
27715
|
rows: e.annotations.map((e) => [/* @__PURE__ */ L("code", {
|
|
27719
|
-
className:
|
|
27716
|
+
className: W("text-inherit border-none bg-transparent p-0", hS.code),
|
|
27720
27717
|
children: e.key
|
|
27721
27718
|
}, "key"), e.value]),
|
|
27722
27719
|
headingClassName: r,
|
|
@@ -27743,7 +27740,7 @@ var Dx = {
|
|
|
27743
27740
|
m,
|
|
27744
27741
|
e
|
|
27745
27742
|
]);
|
|
27746
|
-
let z =
|
|
27743
|
+
let z = et({
|
|
27747
27744
|
item: e,
|
|
27748
27745
|
history: fe,
|
|
27749
27746
|
folderItems: h,
|
|
@@ -27751,7 +27748,7 @@ var Dx = {
|
|
|
27751
27748
|
onCreateFolder: w,
|
|
27752
27749
|
onPublish: S ?? _S,
|
|
27753
27750
|
onPublishSuccess: C
|
|
27754
|
-
}), ve = l(() =>
|
|
27751
|
+
}), ve = l(() => Ye({
|
|
27755
27752
|
hasSelectedFolder: z.selectedFolderPath != null,
|
|
27756
27753
|
hasExistingPublicationInFolder: z.hasExistingPublicationInFolder,
|
|
27757
27754
|
hasWriteAccess: z.hasWriteAccess,
|
|
@@ -27776,7 +27773,7 @@ var Dx = {
|
|
|
27776
27773
|
}, []), Te = a(() => {
|
|
27777
27774
|
Se(!1);
|
|
27778
27775
|
}, []), Ee = a(() => {
|
|
27779
|
-
Se(!1), e.credentials != null && j?.(e, { level:
|
|
27776
|
+
Se(!1), e.credentials != null && j?.(e, { level: dt(e.credentials) });
|
|
27780
27777
|
}, [e, j]);
|
|
27781
27778
|
o(() => {
|
|
27782
27779
|
if (!t) return;
|
|
@@ -27827,14 +27824,14 @@ var Dx = {
|
|
|
27827
27824
|
]);
|
|
27828
27825
|
let Me = M?.overviewYesLabel ?? "Yes", Pe = M?.overviewNoLabel ?? "No", B = M?.ariaLabel ?? "Item details", Fe = M?.closeAriaLabel ?? "Close", Ie = I ? M?.removeFromFavoritesAriaLabel ?? "Remove from favorites" : M?.addToFavoritesAriaLabel ?? "Add to favorites", Le = M?.publishTitle ?? "Publish", Re = M?.backToDetailsAriaLabel ?? "Back";
|
|
27829
27826
|
return /* @__PURE__ */ R(se, { children: [/* @__PURE__ */ L("div", {
|
|
27830
|
-
className:
|
|
27827
|
+
className: W("fixed inset-0 z-40 transition-opacity duration-300", Kx.backdrop, t ? "opacity-100" : "pointer-events-none opacity-0"),
|
|
27831
27828
|
onClick: i,
|
|
27832
27829
|
"aria-hidden": "true"
|
|
27833
27830
|
}), /* @__PURE__ */ R("div", {
|
|
27834
27831
|
role: "dialog",
|
|
27835
27832
|
"aria-modal": "true",
|
|
27836
27833
|
"aria-label": B,
|
|
27837
|
-
className:
|
|
27834
|
+
className: W("fixed inset-y-0 end-0 z-50 flex w-full flex-col overflow-hidden", "desktop:rounded-ts-xl desktop:rounded-bs-xl desktop:w-[540px] desktop:border-s", "transition-transform duration-300", Kx.panel, t ? "translate-x-0" : "translate-x-full rtl:-translate-x-full"),
|
|
27838
27835
|
children: [
|
|
27839
27836
|
/* @__PURE__ */ R("div", {
|
|
27840
27837
|
className: "flex shrink-0 items-center gap-2 px-[22px] py-3",
|
|
@@ -27855,9 +27852,9 @@ var Dx = {
|
|
|
27855
27852
|
ariaLabel: Fe
|
|
27856
27853
|
})]
|
|
27857
27854
|
}),
|
|
27858
|
-
/* @__PURE__ */ L("div", { className:
|
|
27855
|
+
/* @__PURE__ */ L("div", { className: W("shrink-0", Kx.divider) }),
|
|
27859
27856
|
/* @__PURE__ */ L("div", {
|
|
27860
|
-
className:
|
|
27857
|
+
className: W("min-h-0 flex-1 overflow-y-auto", Kx.content),
|
|
27861
27858
|
children: le ? /* @__PURE__ */ L("div", {
|
|
27862
27859
|
className: "p-[22px]",
|
|
27863
27860
|
children: /* @__PURE__ */ L(Mx, {
|
|
@@ -27947,7 +27944,7 @@ var Dx = {
|
|
|
27947
27944
|
})]
|
|
27948
27945
|
}),
|
|
27949
27946
|
/* @__PURE__ */ R("div", {
|
|
27950
|
-
className:
|
|
27947
|
+
className: W(oe !== Ne.Overview && "px-[22px] py-4"),
|
|
27951
27948
|
children: [
|
|
27952
27949
|
oe === Ne.About && /* @__PURE__ */ L(tS, {
|
|
27953
27950
|
content: e.description,
|
|
@@ -28024,7 +28021,7 @@ var Dx = {
|
|
|
28024
28021
|
role: b == null ? void 0 : "button",
|
|
28025
28022
|
tabIndex: b == null ? void 0 : 0,
|
|
28026
28023
|
"aria-label": e.name,
|
|
28027
|
-
className:
|
|
28024
|
+
className: W("relative box-border flex min-w-0 cursor-pointer items-start gap-1", "rounded-[20px] border-2 p-[22px] text-start", bS.card, _ && bS.cardLeaving, f ? "border-accent-primary !bg-accent-primary-alpha" : "border-transparent"),
|
|
28028
28025
|
onClick: b,
|
|
28029
28026
|
onKeyDown: x,
|
|
28030
28027
|
onAnimationEnd: _ ? (t) => {
|
|
@@ -28074,7 +28071,7 @@ var Dx = {
|
|
|
28074
28071
|
return new DOMRect(t.x + n, t.y + r, t.width, t.height);
|
|
28075
28072
|
}
|
|
28076
28073
|
}, wS = ({ items: e, totalCount: t, title: n = "Your Favorites", onToggleFavorite: r, onItemClick: i, styles: a, isLeaving: s, onExitComplete: f, prevPageAriaLabel: p = "Previous page", nextPageAriaLabel: m = "Next page", addToFavoritesAriaLabel: h, removeFromFavoritesAriaLabel: g, selectedItemId: _, credentialsBadgeLoggedOutLabel: v }) => {
|
|
28077
|
-
let y = a?.typography?.titleClassName ?? "dial-body-semi-text text-primary", b = a?.typography?.countClassName ?? "dial-tiny-semi-text text-secondary", x = { "--cat-favorites-border": a?.colors?.border }, S = l(() => [...e].sort((e, t) => (new Date(t.updatedAt || "").getTime() ?? 0) - (new Date(e.updatedAt || "").getTime() ?? 0)), [e]), [C, w] = d(1), T =
|
|
28074
|
+
let y = a?.typography?.titleClassName ?? "dial-body-semi-text text-primary", b = a?.typography?.countClassName ?? "dial-tiny-semi-text text-secondary", x = { "--cat-favorites-border": a?.colors?.border }, S = l(() => [...e].sort((e, t) => (new Date(t.updatedAt || "").getTime() ?? 0) - (new Date(e.updatedAt || "").getTime() ?? 0)), [e]), [C, w] = d(1), T = Je(), E = T * SS, D = (C - 1) * E, O = l(() => S.slice(D, D + E), [
|
|
28078
28075
|
S,
|
|
28079
28076
|
D,
|
|
28080
28077
|
E
|
|
@@ -28163,7 +28160,7 @@ var Dx = {
|
|
|
28163
28160
|
ref: A,
|
|
28164
28161
|
children: /* @__PURE__ */ R("section", {
|
|
28165
28162
|
ref: j,
|
|
28166
|
-
className:
|
|
28163
|
+
className: W("flex flex-shrink-0 flex-col gap-4 pb-2 pt-2", bS.section, s && bS.sectionLeaving),
|
|
28167
28164
|
style: {
|
|
28168
28165
|
...x,
|
|
28169
28166
|
minHeight: F
|
|
@@ -28177,20 +28174,20 @@ var Dx = {
|
|
|
28177
28174
|
titleClassName: y,
|
|
28178
28175
|
postfixClassName: b,
|
|
28179
28176
|
trailing: k > 1 ? /* @__PURE__ */ R("div", {
|
|
28180
|
-
className:
|
|
28177
|
+
className: W("inline-flex items-center gap-[2px] rounded-full px-[6px] py-[3px]", bS.pageNav),
|
|
28181
28178
|
children: [
|
|
28182
28179
|
/* @__PURE__ */ L("button", {
|
|
28183
28180
|
"aria-label": p,
|
|
28184
28181
|
disabled: C === 1,
|
|
28185
28182
|
onClick: () => w((e) => e - 1),
|
|
28186
|
-
className:
|
|
28183
|
+
className: W("flex size-[22px] cursor-pointer items-center justify-center rounded-full border-none bg-transparent", bS.navBtn),
|
|
28187
28184
|
children: /* @__PURE__ */ L(ue, {
|
|
28188
28185
|
size: 14,
|
|
28189
28186
|
className: "rtl:scale-x-[-1]"
|
|
28190
28187
|
})
|
|
28191
28188
|
}),
|
|
28192
28189
|
/* @__PURE__ */ R("span", {
|
|
28193
|
-
className:
|
|
28190
|
+
className: W("min-w-[32px] select-none px-1 text-center", bS.pageCounter),
|
|
28194
28191
|
children: [
|
|
28195
28192
|
C,
|
|
28196
28193
|
" / ",
|
|
@@ -28201,7 +28198,7 @@ var Dx = {
|
|
|
28201
28198
|
"aria-label": m,
|
|
28202
28199
|
disabled: C === k,
|
|
28203
28200
|
onClick: () => w((e) => e + 1),
|
|
28204
|
-
className:
|
|
28201
|
+
className: W("flex size-[22px] cursor-pointer items-center justify-center rounded-full border-none bg-transparent", bS.navBtn),
|
|
28205
28202
|
children: /* @__PURE__ */ L(de, {
|
|
28206
28203
|
size: 14,
|
|
28207
28204
|
className: "rtl:scale-x-[-1]"
|
|
@@ -28211,7 +28208,7 @@ var Dx = {
|
|
|
28211
28208
|
}) : void 0
|
|
28212
28209
|
}), /* @__PURE__ */ L("div", {
|
|
28213
28210
|
ref: M,
|
|
28214
|
-
className:
|
|
28211
|
+
className: W("grid content-start gap-5", bS.gridPage),
|
|
28215
28212
|
style: {
|
|
28216
28213
|
gridTemplateColumns: `repeat(${T}, minmax(0, 1fr))`,
|
|
28217
28214
|
minHeight: N
|
|
@@ -28247,7 +28244,7 @@ var Dx = {
|
|
|
28247
28244
|
return e ? /* @__PURE__ */ R("div", {
|
|
28248
28245
|
className: "flex h-full min-w-0 items-center gap-2.5",
|
|
28249
28246
|
children: [
|
|
28250
|
-
/* @__PURE__ */ L(
|
|
28247
|
+
/* @__PURE__ */ L(fr, {
|
|
28251
28248
|
src: e.iconUrl,
|
|
28252
28249
|
size: 36,
|
|
28253
28250
|
initialsName: e.name,
|
|
@@ -28363,7 +28360,9 @@ var Dx = {
|
|
|
28363
28360
|
g.current?.refreshCells({ force: !0 });
|
|
28364
28361
|
}, [t]), o(() => {
|
|
28365
28362
|
g.current?.redrawRows();
|
|
28366
|
-
}, [f]),
|
|
28363
|
+
}, [f]), o(() => {
|
|
28364
|
+
g.current?.setGridOption("domLayout", e.length > 0 ? "autoHeight" : "normal");
|
|
28365
|
+
}, [e]), /* @__PURE__ */ L("div", {
|
|
28367
28366
|
style: h,
|
|
28368
28367
|
className: oe("w-full rounded-xl border", TS.listContainer),
|
|
28369
28368
|
children: /* @__PURE__ */ R("div", {
|
|
@@ -28379,7 +28378,6 @@ var Dx = {
|
|
|
28379
28378
|
emptyStateTitle: r,
|
|
28380
28379
|
additionalGridOptions: {
|
|
28381
28380
|
rowHeight: 60,
|
|
28382
|
-
domLayout: "autoHeight",
|
|
28383
28381
|
defaultColDef: {
|
|
28384
28382
|
filter: !1,
|
|
28385
28383
|
floatingFilter: !1
|
|
@@ -28423,7 +28421,7 @@ var Dx = {
|
|
|
28423
28421
|
footer: "_footer_6kwgr_131"
|
|
28424
28422
|
}, jS = (e, t, n, r, i) => {
|
|
28425
28423
|
let a = e.size > 0;
|
|
28426
|
-
return n && a ? `${r} · ${e.size}` : n ? r : a ?
|
|
28424
|
+
return n && a ? `${r} · ${e.size}` : n ? r : a ? Ue(e, t, i) : i;
|
|
28427
28425
|
}, MS = (e, t) => {
|
|
28428
28426
|
let n = new Set(t);
|
|
28429
28427
|
return n.has(e) ? n.delete(e) : n.add(e), n;
|
|
@@ -28471,7 +28469,7 @@ var Dx = {
|
|
|
28471
28469
|
role: "menu",
|
|
28472
28470
|
"aria-label": f,
|
|
28473
28471
|
tabIndex: -1,
|
|
28474
|
-
className:
|
|
28472
|
+
className: W("min-w-[360px] rounded-xl p-[6px]", AS.overlay),
|
|
28475
28473
|
onKeyDown: N,
|
|
28476
28474
|
children: [
|
|
28477
28475
|
/* @__PURE__ */ R("div", {
|
|
@@ -28481,11 +28479,11 @@ var Dx = {
|
|
|
28481
28479
|
ref: (e) => {
|
|
28482
28480
|
k.current[0] = e;
|
|
28483
28481
|
},
|
|
28484
|
-
className:
|
|
28482
|
+
className: W("flex cursor-pointer select-none items-center gap-3 rounded-lg px-[10px] py-[9px] outline-none", AS.row, w && AS.rowChecked),
|
|
28485
28483
|
onClick: () => T(!w),
|
|
28486
28484
|
onKeyDown: P(() => T(!w)),
|
|
28487
28485
|
children: [/* @__PURE__ */ L("span", {
|
|
28488
|
-
className:
|
|
28486
|
+
className: W("flex size-5 shrink-0 items-center justify-center rounded-[6px]", AS.checkbox, w && AS.checkboxChecked),
|
|
28489
28487
|
"aria-hidden": !0
|
|
28490
28488
|
}), /* @__PURE__ */ L("span", {
|
|
28491
28489
|
className: AS.rowLabel,
|
|
@@ -28495,11 +28493,11 @@ var Dx = {
|
|
|
28495
28493
|
y.length > 0 && /* @__PURE__ */ R(se, { children: [
|
|
28496
28494
|
/* @__PURE__ */ L("div", {
|
|
28497
28495
|
role: "separator",
|
|
28498
|
-
className:
|
|
28496
|
+
className: W("my-1 h-px", AS.divider),
|
|
28499
28497
|
"aria-hidden": !0
|
|
28500
28498
|
}),
|
|
28501
28499
|
/* @__PURE__ */ L("div", {
|
|
28502
|
-
className:
|
|
28500
|
+
className: W("px-[10px] pb-1 pt-[10px] uppercase tracking-[0.06em]", AS.sectionLabel),
|
|
28503
28501
|
"aria-hidden": !0,
|
|
28504
28502
|
children: c
|
|
28505
28503
|
}),
|
|
@@ -28514,11 +28512,11 @@ var Dx = {
|
|
|
28514
28512
|
ref: (e) => {
|
|
28515
28513
|
k.current[r] = e;
|
|
28516
28514
|
},
|
|
28517
|
-
className:
|
|
28515
|
+
className: W("flex cursor-pointer select-none items-center gap-3 rounded-lg px-[10px] py-[9px] outline-none", AS.row, n && AS.rowChecked),
|
|
28518
28516
|
onClick: i,
|
|
28519
28517
|
onKeyDown: P(i),
|
|
28520
28518
|
children: [/* @__PURE__ */ L("span", {
|
|
28521
|
-
className:
|
|
28519
|
+
className: W("flex size-5 shrink-0 items-center justify-center rounded-[6px]", AS.checkbox, n && AS.checkboxChecked),
|
|
28522
28520
|
"aria-hidden": !0
|
|
28523
28521
|
}), /* @__PURE__ */ L("span", {
|
|
28524
28522
|
className: AS.rowLabel,
|
|
@@ -28529,7 +28527,7 @@ var Dx = {
|
|
|
28529
28527
|
})
|
|
28530
28528
|
] }),
|
|
28531
28529
|
/* @__PURE__ */ R("div", {
|
|
28532
|
-
className:
|
|
28530
|
+
className: W("mt-1 flex items-center px-1 py-3", AS.footer),
|
|
28533
28531
|
onKeyDown: (e) => {
|
|
28534
28532
|
(e.key === "ArrowUp" || e.key === "ArrowDown") && e.stopPropagation();
|
|
28535
28533
|
},
|
|
@@ -28550,12 +28548,12 @@ var Dx = {
|
|
|
28550
28548
|
"aria-haspopup": "menu",
|
|
28551
28549
|
"aria-expanded": _,
|
|
28552
28550
|
onKeyDown: M,
|
|
28553
|
-
className:
|
|
28551
|
+
className: W("flex h-[50px] shrink-0 cursor-pointer items-center gap-[7px] whitespace-nowrap rounded-xl px-[18px]", AS.filterBtn, g && AS.filterBtnActive, _ && AS.filterBtnOpen),
|
|
28554
28552
|
children: [
|
|
28555
28553
|
/* @__PURE__ */ L(me, {
|
|
28556
28554
|
size: m.SM,
|
|
28557
28555
|
strokeWidth: 1.8,
|
|
28558
|
-
className:
|
|
28556
|
+
className: W("shrink-0", AS.filterBtnFunnel),
|
|
28559
28557
|
"aria-hidden": !0
|
|
28560
28558
|
}),
|
|
28561
28559
|
/* @__PURE__ */ L("span", {
|
|
@@ -28565,7 +28563,7 @@ var Dx = {
|
|
|
28565
28563
|
/* @__PURE__ */ L(le, {
|
|
28566
28564
|
size: 14,
|
|
28567
28565
|
strokeWidth: 2.2,
|
|
28568
|
-
className:
|
|
28566
|
+
className: W("shrink-0 transition-transform duration-150", AS.filterBtnChevron, _ && "rotate-180"),
|
|
28569
28567
|
"aria-hidden": !0
|
|
28570
28568
|
})
|
|
28571
28569
|
]
|
|
@@ -28584,7 +28582,7 @@ var Dx = {
|
|
|
28584
28582
|
iconSize: 18,
|
|
28585
28583
|
iconStrokeWidth: 1.8,
|
|
28586
28584
|
styles: {
|
|
28587
|
-
containerClassName:
|
|
28585
|
+
containerClassName: W("h-[50px] flex-1 rounded-xl px-[18px]", i),
|
|
28588
28586
|
inputClassName: "text-[15px]",
|
|
28589
28587
|
clearButtonClassName: "size-11 desktop:size-auto"
|
|
28590
28588
|
}
|
|
@@ -28609,15 +28607,15 @@ var Dx = {
|
|
|
28609
28607
|
background: "var(--bg-layer-2, #EEEEF0)",
|
|
28610
28608
|
borderColor: "var(--stroke-tertiary, #e0e6f0)"
|
|
28611
28609
|
},
|
|
28612
|
-
children: [
|
|
28610
|
+
children: [Ve.Grid, Ve.List].map((e) => {
|
|
28613
28611
|
let r = t === e;
|
|
28614
28612
|
return /* @__PURE__ */ L("button", {
|
|
28615
28613
|
type: "button",
|
|
28616
|
-
"aria-label": e ===
|
|
28614
|
+
"aria-label": e === Ve.Grid ? c : l,
|
|
28617
28615
|
"aria-pressed": r,
|
|
28618
28616
|
onClick: () => n(e),
|
|
28619
|
-
className:
|
|
28620
|
-
children: e ===
|
|
28617
|
+
className: W("flex min-h-11 min-w-11 items-center justify-center rounded-full px-3 py-1.5 transition-colors desktop:min-h-8 desktop:min-w-10", r ? "bg-layer-0 text-accent-primary shadow-sm" : "text-secondary hover:text-primary"),
|
|
28618
|
+
children: e === Ve.Grid ? /* @__PURE__ */ L(_e, { size: m.SM }) : /* @__PURE__ */ L(z, { size: m.SM })
|
|
28621
28619
|
}, e);
|
|
28622
28620
|
})
|
|
28623
28621
|
}), f != null && f.length > 0 && /* @__PURE__ */ R(se, { children: [/* @__PURE__ */ L("div", {
|
|
@@ -28681,7 +28679,7 @@ var Dx = {
|
|
|
28681
28679
|
"--cat-browse-clear-all": r?.colors?.clearAll
|
|
28682
28680
|
};
|
|
28683
28681
|
return /* @__PURE__ */ L("section", {
|
|
28684
|
-
className:
|
|
28682
|
+
className: W("flex-shrink-0 px-4", IS.section),
|
|
28685
28683
|
style: v,
|
|
28686
28684
|
children: /* @__PURE__ */ L(FS, {
|
|
28687
28685
|
styles: r,
|
|
@@ -28766,15 +28764,15 @@ var Dx = {
|
|
|
28766
28764
|
(t.key === "Enter" || t.key === " ") && (t.preventDefault(), e.onClick(), l(!1));
|
|
28767
28765
|
},
|
|
28768
28766
|
children: [e.icon && /* @__PURE__ */ L("div", {
|
|
28769
|
-
className:
|
|
28767
|
+
className: W(zS.itemIcon, e.iconContainerClassName),
|
|
28770
28768
|
children: e.icon
|
|
28771
28769
|
}), /* @__PURE__ */ R("div", {
|
|
28772
28770
|
className: zS.itemText,
|
|
28773
28771
|
children: [/* @__PURE__ */ L("span", {
|
|
28774
|
-
className:
|
|
28772
|
+
className: W(zS.itemLabel, "dial-small-semi-text"),
|
|
28775
28773
|
children: e.label
|
|
28776
28774
|
}), e.description && /* @__PURE__ */ L("span", {
|
|
28777
|
-
className:
|
|
28775
|
+
className: W(zS.itemDescription, "dial-tiny-text"),
|
|
28778
28776
|
children: e.description
|
|
28779
28777
|
})]
|
|
28780
28778
|
})]
|
|
@@ -28787,7 +28785,7 @@ var Dx = {
|
|
|
28787
28785
|
className: "flex items-center gap-2",
|
|
28788
28786
|
children: [/* @__PURE__ */ L("span", { className: zS.splitDivider }), /* @__PURE__ */ L(le, {
|
|
28789
28787
|
size: m.SM,
|
|
28790
|
-
className:
|
|
28788
|
+
className: W(zS.chevron, r && zS.chevronOpen)
|
|
28791
28789
|
})]
|
|
28792
28790
|
}),
|
|
28793
28791
|
className: zS.gradientBtn,
|
|
@@ -28802,8 +28800,8 @@ var Dx = {
|
|
|
28802
28800
|
onClick: n,
|
|
28803
28801
|
className: zS.gradientBtn
|
|
28804
28802
|
});
|
|
28805
|
-
}, VS = ({ items: e, favorites: t, titles: n, onToggleFavorite: r, onUseInChat: i, isPrimaryActionVisible: s, onShare: c, isPublishVisible: f, getPublishHistory: p, publishFolderItems: m, publishExpandedPaths: h, onPublishExpandedPathsChange: g, publishLoadingPaths: _, hasPublishWriteAccess: v, onPublish: y, onPublishSuccess: b, onCreatePublishFolder: x, publishTexts: S, shareOverlay: C, connectOverlay: w, isConnectVisible: T, onFetchDetails: E, onEdit: D, onDelete: O, onLogin: k, onLogout: ee, onCreateClick: A, createOptions: j, hideCreateButton: M = !1, hidePageTitle: N = !1, selectedItemId: P, onCardClick: F, isLoading: te, styles: re, detailsTexts: ie, initialDetailsItemId: I }) => {
|
|
28806
|
-
let { typography:
|
|
28803
|
+
}, VS = ({ items: e, favorites: t, titles: n, onToggleFavorite: r, onUseInChat: i, isPrimaryActionVisible: s, onShare: c, isPublishVisible: f, getPublishHistory: p, publishFolderItems: m, publishExpandedPaths: h, onPublishExpandedPathsChange: g, publishLoadingPaths: _, hasPublishWriteAccess: v, onPublish: y, onPublishSuccess: b, onCreatePublishFolder: x, publishTexts: S, shareOverlay: C, connectOverlay: w, isConnectVisible: T, onFetchDetails: E, onEdit: D, onDelete: O, onLogin: k, onLogout: ee, onCreateClick: A, createOptions: j, hideCreateButton: M = !1, hidePageTitle: N = !1, selectedItemId: P, onCardClick: F, isLoading: te, styles: re, detailsTexts: ie, initialDetailsItemId: I, sortKey: ae, onSortChange: oe, filterTopics: se, onFilterTopicsChange: ce }) => {
|
|
28804
|
+
let { typography: le } = re ?? {}, ue = tx(re), de = n?.pageTitle ?? "Catalog", fe = n?.createLabel ?? "Create", pe = n?.favoritesTitle ?? "Your favorites", me = n?.browseTitle ?? "Browse", he = n?.searchPlaceholder ?? "Search models, tools, agents…", ge = n?.noResultsTitle ?? ((e) => `No results for "${e}"`), _e = n?.featuredLabel ?? "Featured", z = n?.gridViewLabel ?? "Grid view", ve = n?.listViewLabel ?? "List view", ye = n?.ariaLabel ?? "Catalog", be = [
|
|
28807
28805
|
{
|
|
28808
28806
|
value: Fe.RecentlyUpdated,
|
|
28809
28807
|
label: n?.sortRecentlyUpdatedLabel ?? "Recently Updated"
|
|
@@ -28816,106 +28814,111 @@ var Dx = {
|
|
|
28816
28814
|
value: Fe.NameAZ,
|
|
28817
28815
|
label: n?.sortNameAZLabel ?? "Name A-Z"
|
|
28818
28816
|
}
|
|
28819
|
-
], [
|
|
28817
|
+
], [xe, Se] = d(""), [Ce, we] = d(Ve.Grid), [Te, Ee] = d(!1), [De, Oe] = d(Fe.RecentlyUpdated), [ke, Ae] = d(/* @__PURE__ */ new Set()), [je, Me] = d(!1), Ne = ae ?? De, Pe = se ?? ke, B = a((e) => {
|
|
28818
|
+
let t = e;
|
|
28819
|
+
Oe(t), oe?.(t);
|
|
28820
|
+
}, [oe]), Ie = a((e) => {
|
|
28821
|
+
Ae(e), ce?.(e);
|
|
28822
|
+
}, [ce]), Le = l(() => e.filter((e) => !e.isHidden), [e]), Re = l(() => new Set(Le.flatMap((e) => e.topics)), [Le]), ze = l(() => Zb(Le, n?.tabLabels), [Le, n?.tabLabels]), Be = ze[0]?.id ?? "", [He, Ue] = d(Be);
|
|
28820
28823
|
o(() => {
|
|
28821
|
-
|
|
28822
|
-
}, [
|
|
28823
|
-
let [
|
|
28824
|
+
Ue((e) => e || Be);
|
|
28825
|
+
}, [Be]);
|
|
28826
|
+
let [Je, Ye] = d(t.length > 0);
|
|
28824
28827
|
o(() => {
|
|
28825
|
-
t.length > 0 && !
|
|
28826
|
-
}, [t.length,
|
|
28827
|
-
let
|
|
28828
|
-
|
|
28829
|
-
}, []),
|
|
28830
|
-
|
|
28828
|
+
t.length > 0 && !Je && Ye(!0);
|
|
28829
|
+
}, [t.length, Je]);
|
|
28830
|
+
let Xe = a(() => {
|
|
28831
|
+
Ye(!1);
|
|
28832
|
+
}, []), Ze = Je && t.length === 0, [Qe, $e] = d(null), [et, tt] = d(!1), [nt, rt] = d(void 0), [it, at] = d(!1), ot = u(null), st = a(async (e) => {
|
|
28833
|
+
$e(e), rt(void 0), ot.current = e.id;
|
|
28831
28834
|
let t = [];
|
|
28832
|
-
E && (
|
|
28835
|
+
E && (at(!0), t.push((async () => {
|
|
28833
28836
|
try {
|
|
28834
28837
|
let t = await E(e);
|
|
28835
|
-
|
|
28838
|
+
ot.current === e.id && rt(t);
|
|
28836
28839
|
} finally {
|
|
28837
|
-
|
|
28840
|
+
ot.current === e.id && at(!1);
|
|
28838
28841
|
}
|
|
28839
28842
|
})())), await Promise.all(t);
|
|
28840
|
-
}, [E]),
|
|
28843
|
+
}, [E]), ct = u(null);
|
|
28841
28844
|
o(() => {
|
|
28842
|
-
if (!I ||
|
|
28845
|
+
if (!I || ct.current === I) return;
|
|
28843
28846
|
let t = e.find((e) => e.id === I);
|
|
28844
|
-
t && (
|
|
28847
|
+
t && (ct.current = I, st(t));
|
|
28845
28848
|
}, [
|
|
28846
28849
|
I,
|
|
28847
28850
|
e,
|
|
28848
|
-
|
|
28851
|
+
st
|
|
28849
28852
|
]);
|
|
28850
|
-
let
|
|
28851
|
-
await k?.(e, t), await
|
|
28852
|
-
}, [k,
|
|
28853
|
-
await ee?.(e, t), await
|
|
28854
|
-
}, [ee,
|
|
28855
|
-
|
|
28856
|
-
|
|
28853
|
+
let lt = a(async (e, t) => {
|
|
28854
|
+
await k?.(e, t), await st(e);
|
|
28855
|
+
}, [k, st]), ut = a(async (e, t) => {
|
|
28856
|
+
await ee?.(e, t), await st(e);
|
|
28857
|
+
}, [ee, st]), dt = a(() => {
|
|
28858
|
+
tt(!1), ot.current = null, setTimeout(() => {
|
|
28859
|
+
$e(null), rt(void 0), at(!1);
|
|
28857
28860
|
}, 300);
|
|
28858
|
-
}, []),
|
|
28859
|
-
if (
|
|
28860
|
-
if (
|
|
28861
|
-
let { credentials: e, ...t } =
|
|
28861
|
+
}, []), ft = l(() => {
|
|
28862
|
+
if (Qe == null) return null;
|
|
28863
|
+
if (nt == null) return Qe;
|
|
28864
|
+
let { credentials: e, ...t } = nt;
|
|
28862
28865
|
return {
|
|
28863
|
-
...
|
|
28866
|
+
...Qe,
|
|
28864
28867
|
details: t,
|
|
28865
|
-
credentials: e ??
|
|
28868
|
+
credentials: e ?? Qe.credentials
|
|
28866
28869
|
};
|
|
28867
|
-
}, [
|
|
28870
|
+
}, [Qe, nt]), pt = l(() => qe(Le, Ne), [Le, Ne]), mt = l(() => Ke(pt, xe), [pt, xe]), ht = l(() => Pe.size > 0 ? We(mt, Pe) : mt, [mt, Pe]), gt = l(() => je ? Ge(ht) : ht, [ht, je]), _t = l(() => He ? gt.filter((e) => e.type === He) : gt, [gt, He]), vt = Qe != null && t.some((e) => e.id === Qe.id);
|
|
28868
28871
|
o(() => {
|
|
28869
|
-
if (
|
|
28870
|
-
let e = requestAnimationFrame(() =>
|
|
28872
|
+
if (Qe == null) return;
|
|
28873
|
+
let e = requestAnimationFrame(() => tt(!0));
|
|
28871
28874
|
return () => cancelAnimationFrame(e);
|
|
28872
|
-
}, [
|
|
28873
|
-
let
|
|
28874
|
-
e ===
|
|
28875
|
-
}, []),
|
|
28876
|
-
noResultsTitle:
|
|
28877
|
-
featuredLabel:
|
|
28875
|
+
}, [Qe]);
|
|
28876
|
+
let yt = a((e) => {
|
|
28877
|
+
e === Ve.List && Ee(!0), we(e);
|
|
28878
|
+
}, []), bt = xe ? ge(xe) : "No items", xt = l(() => ({
|
|
28879
|
+
noResultsTitle: bt,
|
|
28880
|
+
featuredLabel: _e,
|
|
28878
28881
|
credentialsBadgeLoggedOutLabel: ie?.credentialsBadgeLoggedOutLabel
|
|
28879
28882
|
}), [
|
|
28880
|
-
|
|
28881
|
-
|
|
28883
|
+
bt,
|
|
28884
|
+
_e,
|
|
28882
28885
|
ie?.credentialsBadgeLoggedOutLabel
|
|
28883
28886
|
]);
|
|
28884
28887
|
return te ? /* @__PURE__ */ L("div", {
|
|
28885
28888
|
className: "flex size-full min-h-0 flex-1 items-center justify-center",
|
|
28886
28889
|
children: /* @__PURE__ */ L(ne, {})
|
|
28887
28890
|
}) : /* @__PURE__ */ R("section", {
|
|
28888
|
-
"aria-label":
|
|
28889
|
-
className:
|
|
28890
|
-
style:
|
|
28891
|
+
"aria-label": ye,
|
|
28892
|
+
className: W("flex size-full min-h-0 flex-1 flex-col", RS.root),
|
|
28893
|
+
style: ue,
|
|
28891
28894
|
children: [
|
|
28892
28895
|
(!N || !M) && /* @__PURE__ */ L("div", {
|
|
28893
|
-
className:
|
|
28896
|
+
className: W("shrink-0", RS.heading),
|
|
28894
28897
|
children: /* @__PURE__ */ R("div", {
|
|
28895
28898
|
className: "flex h-[64px] w-full items-center justify-between px-8",
|
|
28896
28899
|
children: [!N && /* @__PURE__ */ L("h1", {
|
|
28897
|
-
className:
|
|
28898
|
-
children:
|
|
28900
|
+
className: W(le?.pageHeadingFontClassName ?? "dial-display2-text", RS.headingTitle),
|
|
28901
|
+
children: de
|
|
28899
28902
|
}), !M && /* @__PURE__ */ L(BS, {
|
|
28900
|
-
label:
|
|
28903
|
+
label: fe,
|
|
28901
28904
|
options: j,
|
|
28902
28905
|
onClick: A
|
|
28903
28906
|
})]
|
|
28904
28907
|
})
|
|
28905
28908
|
}),
|
|
28906
28909
|
/* @__PURE__ */ R("div", {
|
|
28907
|
-
className: "min-h-0 flex-1 overflow-auto",
|
|
28910
|
+
className: "flex min-h-0 flex-1 flex-col overflow-auto",
|
|
28908
28911
|
children: [
|
|
28909
|
-
|
|
28912
|
+
Je && /* @__PURE__ */ L("div", {
|
|
28910
28913
|
className: "w-full px-8",
|
|
28911
28914
|
children: /* @__PURE__ */ L(wS, {
|
|
28912
28915
|
items: t,
|
|
28913
28916
|
totalCount: t.length,
|
|
28914
|
-
title:
|
|
28917
|
+
title: pe,
|
|
28915
28918
|
onToggleFavorite: r,
|
|
28916
|
-
onItemClick: F ??
|
|
28917
|
-
isLeaving:
|
|
28918
|
-
onExitComplete:
|
|
28919
|
+
onItemClick: F ?? st,
|
|
28920
|
+
isLeaving: Ze,
|
|
28921
|
+
onExitComplete: Xe,
|
|
28919
28922
|
selectedItemId: P,
|
|
28920
28923
|
credentialsBadgeLoggedOutLabel: ie?.credentialsBadgeLoggedOutLabel
|
|
28921
28924
|
})
|
|
@@ -28923,38 +28926,38 @@ var Dx = {
|
|
|
28923
28926
|
/* @__PURE__ */ L("div", {
|
|
28924
28927
|
className: "w-full px-4 pt-6",
|
|
28925
28928
|
children: /* @__PURE__ */ L(LS, {
|
|
28926
|
-
totalCount:
|
|
28927
|
-
viewMode:
|
|
28928
|
-
onViewModeChange:
|
|
28929
|
-
sortKey:
|
|
28930
|
-
onSortChange:
|
|
28931
|
-
query:
|
|
28932
|
-
onQueryChange:
|
|
28933
|
-
title:
|
|
28934
|
-
searchPlaceholder:
|
|
28935
|
-
gridViewLabel:
|
|
28936
|
-
listViewLabel:
|
|
28937
|
-
sortOptions:
|
|
28938
|
-
filters:
|
|
28939
|
-
onFiltersChange:
|
|
28940
|
-
filterValues:
|
|
28941
|
-
isMyAppsActive:
|
|
28942
|
-
onMyAppsChange:
|
|
28929
|
+
totalCount: gt.length,
|
|
28930
|
+
viewMode: Ce,
|
|
28931
|
+
onViewModeChange: yt,
|
|
28932
|
+
sortKey: Ne,
|
|
28933
|
+
onSortChange: B,
|
|
28934
|
+
query: xe,
|
|
28935
|
+
onQueryChange: Se,
|
|
28936
|
+
title: me,
|
|
28937
|
+
searchPlaceholder: he,
|
|
28938
|
+
gridViewLabel: z,
|
|
28939
|
+
listViewLabel: ve,
|
|
28940
|
+
sortOptions: be,
|
|
28941
|
+
filters: Pe,
|
|
28942
|
+
onFiltersChange: Ie,
|
|
28943
|
+
filterValues: Re,
|
|
28944
|
+
isMyAppsActive: je,
|
|
28945
|
+
onMyAppsChange: Me,
|
|
28943
28946
|
filterFromLabel: n?.filterFromLabel,
|
|
28944
28947
|
filterMyAppsLabel: n?.filterMyAppsLabel,
|
|
28945
28948
|
filterTopicsLabel: n?.filterTopicsLabel
|
|
28946
28949
|
})
|
|
28947
28950
|
}),
|
|
28948
|
-
|
|
28951
|
+
ze.length > 0 && /* @__PURE__ */ L("div", {
|
|
28949
28952
|
className: "px-8",
|
|
28950
28953
|
children: /* @__PURE__ */ L(Ub, {
|
|
28951
|
-
tabs:
|
|
28954
|
+
tabs: ze.map((e) => ({
|
|
28952
28955
|
id: e.id,
|
|
28953
28956
|
label: typeof e.label == "string" ? e.label : String(e.label),
|
|
28954
|
-
count:
|
|
28957
|
+
count: gt.filter((t) => t.type === e.id).length
|
|
28955
28958
|
})),
|
|
28956
|
-
activeTabId:
|
|
28957
|
-
onTabChange:
|
|
28959
|
+
activeTabId: He,
|
|
28960
|
+
onTabChange: Ue,
|
|
28958
28961
|
styles: { colors: {
|
|
28959
28962
|
activeTabClassName: "text-catalog-tab-active",
|
|
28960
28963
|
inactiveTabClassName: "text-catalog-tab-inactive hover:text-catalog-tab-hover border-transparent",
|
|
@@ -28964,26 +28967,26 @@ var Dx = {
|
|
|
28964
28967
|
})
|
|
28965
28968
|
}),
|
|
28966
28969
|
/* @__PURE__ */ R("div", {
|
|
28967
|
-
className: "mx-auto min-h-full w-full max-w-[1180px] px-8 pt-6",
|
|
28970
|
+
className: W(_t.length > 0 ? "mx-auto min-h-full w-full max-w-[1180px] px-8 pt-6" : "min-h-0 flex-1", _t.length === 0 && Ce === Ve.List && "px-8 pt-6"),
|
|
28968
28971
|
children: [/* @__PURE__ */ L("div", {
|
|
28969
|
-
className:
|
|
28972
|
+
className: W(_t.length > 0 ? "pb-8" : "size-full flex-1", Ce !== Ve.Grid && "hidden"),
|
|
28970
28973
|
children: /* @__PURE__ */ L(xx, {
|
|
28971
|
-
items:
|
|
28972
|
-
query:
|
|
28974
|
+
items: _t,
|
|
28975
|
+
query: xe,
|
|
28973
28976
|
onToggleFavorite: r,
|
|
28974
|
-
onItemClick: F ??
|
|
28975
|
-
titles:
|
|
28977
|
+
onItemClick: F ?? st,
|
|
28978
|
+
titles: xt,
|
|
28976
28979
|
selectedItemId: P
|
|
28977
28980
|
})
|
|
28978
|
-
}),
|
|
28979
|
-
className:
|
|
28981
|
+
}), Te && /* @__PURE__ */ L("div", {
|
|
28982
|
+
className: W("pb-8", Ce !== Ve.List && "hidden", _t.length === 0 && "h-full"),
|
|
28980
28983
|
children: /* @__PURE__ */ L(kS, {
|
|
28981
|
-
items:
|
|
28982
|
-
query:
|
|
28983
|
-
ariaLabel:
|
|
28984
|
-
emptyStateTitle:
|
|
28984
|
+
items: _t,
|
|
28985
|
+
query: xe,
|
|
28986
|
+
ariaLabel: ye,
|
|
28987
|
+
emptyStateTitle: bt,
|
|
28985
28988
|
onToggleFavorite: r,
|
|
28986
|
-
onItemClick: F ??
|
|
28989
|
+
onItemClick: F ?? st,
|
|
28987
28990
|
stickyHeaderTop: 0,
|
|
28988
28991
|
selectedItemId: P,
|
|
28989
28992
|
credentialsBadgeLoggedOutLabel: ie?.credentialsBadgeLoggedOutLabel
|
|
@@ -28992,12 +28995,12 @@ var Dx = {
|
|
|
28992
28995
|
})
|
|
28993
28996
|
]
|
|
28994
28997
|
}),
|
|
28995
|
-
|
|
28996
|
-
item:
|
|
28997
|
-
isOpen:
|
|
28998
|
-
isStarred:
|
|
28999
|
-
isDetailsLoading:
|
|
29000
|
-
onClose:
|
|
28998
|
+
ft != null && /* @__PURE__ */ L(yS, {
|
|
28999
|
+
item: ft,
|
|
29000
|
+
isOpen: et,
|
|
29001
|
+
isStarred: vt,
|
|
29002
|
+
isDetailsLoading: it,
|
|
29003
|
+
onClose: dt,
|
|
29001
29004
|
onToggleFavorite: r,
|
|
29002
29005
|
onUseInChat: i,
|
|
29003
29006
|
isPrimaryActionVisible: s,
|
|
@@ -29018,8 +29021,8 @@ var Dx = {
|
|
|
29018
29021
|
isConnectVisible: T,
|
|
29019
29022
|
onEdit: D,
|
|
29020
29023
|
onDelete: O,
|
|
29021
|
-
onLogin:
|
|
29022
|
-
onLogout:
|
|
29024
|
+
onLogin: lt,
|
|
29025
|
+
onLogout: ut,
|
|
29023
29026
|
texts: ie
|
|
29024
29027
|
})
|
|
29025
29028
|
]
|
|
@@ -29030,7 +29033,7 @@ var Dx = {
|
|
|
29030
29033
|
divider: "_divider_4t085_10",
|
|
29031
29034
|
content: "_content_4t085_14"
|
|
29032
29035
|
}, US = ({ isOpen: e, item: t, resource: n, history: r, isHistoryLoading: i = !1, hasHistoryError: a = !1, folderItems: s, selectedFolderPath: c, onSelectedFolderPathChange: d, onCreateFolder: f, expandedPaths: p, onExpandedPathsChange: m, loadingPaths: h, hasExistingPublicationInFolder: g, hasWriteAccess: _, isSubmitting: v, hasSubmitError: b = !1, allowReplace: x = !0, onClose: S, returnFocusRef: C, onSubmit: w, panelTexts: T, footerTexts: E, texts: D = {} }) => {
|
|
29033
|
-
let O = u(null), { title: k = "Publish", ariaLabel: ee = "Publish", closeAriaLabel: A = "Close" } = D, j = l(() =>
|
|
29036
|
+
let O = u(null), { title: k = "Publish", ariaLabel: ee = "Publish", closeAriaLabel: A = "Close" } = D, j = l(() => Ye({
|
|
29034
29037
|
hasSelectedFolder: c != null,
|
|
29035
29038
|
hasExistingPublicationInFolder: g,
|
|
29036
29039
|
hasWriteAccess: _,
|
|
@@ -29061,7 +29064,7 @@ var Dx = {
|
|
|
29061
29064
|
document.removeEventListener("keydown", t);
|
|
29062
29065
|
};
|
|
29063
29066
|
}, [e, S]), /* @__PURE__ */ R(se, { children: [/* @__PURE__ */ L("div", {
|
|
29064
|
-
className:
|
|
29067
|
+
className: W("fixed inset-0 z-[55] transition-opacity duration-300", HS.backdrop, e ? "opacity-100" : "pointer-events-none opacity-0"),
|
|
29065
29068
|
onClick: S,
|
|
29066
29069
|
"aria-hidden": "true"
|
|
29067
29070
|
}), /* @__PURE__ */ R("div", {
|
|
@@ -29072,7 +29075,7 @@ var Dx = {
|
|
|
29072
29075
|
"aria-hidden": !e,
|
|
29073
29076
|
inert: !e,
|
|
29074
29077
|
tabIndex: -1,
|
|
29075
|
-
className:
|
|
29078
|
+
className: W("fixed inset-y-0 end-0 z-[60] flex w-full flex-col overflow-hidden", "desktop:rounded-ts-xl desktop:rounded-bs-xl desktop:w-[540px] desktop:border-s", "transition-transform duration-300", HS.panel, e ? "translate-x-0" : "translate-x-full rtl:-translate-x-full"),
|
|
29076
29079
|
children: [
|
|
29077
29080
|
/* @__PURE__ */ R("div", {
|
|
29078
29081
|
className: "flex shrink-0 items-center gap-2 px-[22px] py-3",
|
|
@@ -29092,9 +29095,9 @@ var Dx = {
|
|
|
29092
29095
|
})
|
|
29093
29096
|
]
|
|
29094
29097
|
}),
|
|
29095
|
-
/* @__PURE__ */ L("div", { className:
|
|
29098
|
+
/* @__PURE__ */ L("div", { className: W("shrink-0", HS.divider) }),
|
|
29096
29099
|
/* @__PURE__ */ L("div", {
|
|
29097
|
-
className:
|
|
29100
|
+
className: W("min-h-0 flex-1 overflow-y-auto", HS.content),
|
|
29098
29101
|
children: /* @__PURE__ */ L("div", {
|
|
29099
29102
|
className: "p-[22px]",
|
|
29100
29103
|
children: /* @__PURE__ */ L(Mx, {
|
|
@@ -29132,4 +29135,4 @@ var Dx = {
|
|
|
29132
29135
|
})] });
|
|
29133
29136
|
};
|
|
29134
29137
|
//#endregion
|
|
29135
|
-
export { yx as Card, xx as CardGrid, bx as CardRowRenderer, VS as Catalog, Ne as CatalogDetailsTab, B as CatalogEntityType, Fe as CatalogSortKey,
|
|
29138
|
+
export { yx as Card, xx as CardGrid, bx as CardRowRenderer, VS as Catalog, Ne as CatalogDetailsTab, B as CatalogEntityType, Fe as CatalogSortKey, Ve as CatalogViewMode, Me as CodeLanguage, Le as CredentialStatus, lx as CredentialsBadge, Be as CredentialsBadgeState, Re as CredentialsLevel, ze as CredentialsUiState, Pe as EntityTag, ox as EntityTypeLabel, xS as FavoriteCard, wS as Favorites, NS as Filter, px as FolderPath, kS as ListView, He as PublishCalloutKind, Ax as PublishFoldersTree, Cx as PublishFooter, jx as PublishHistoryList, Mx as PublishPanel, US as StandalonePublishPanel, LS as Toolbar, Ie as ToolsetAuthenticationType, _x as TopicTag, nt as collectFolderKeys, Ye as derivePublishState, Ke as filterCatalogItems, tt as filterFolderTree, Ze as formatPublishedDate, ut as getCredentialsBadgeState, lt as getCredentialsUiState, dt as getSignedInLevel, qe as sortCatalogItems, Je as useFavColumns, et as usePublishFlow, ix as useScrollVirtualizer };
|