@orangelogic/design-system 2.190.0 → 2.191.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,47 +3,47 @@ import { C as Z } from "./button.BnkkUqiI.js";
3
3
  import L from "../components/space.js";
4
4
  import { C as U } from "./typography.IqHbnd3C.js";
5
5
  import { n as l, C as B } from "./lib-cortex-element.CVMmyPMC.js";
6
- import { h as I, a as Nt, C as Ot, S as jt, b as Vt, c as Gt, d as Qt } from "./endpoints.mJ5S-tIs.js";
7
- import { M as $t, U as o, T as m } from "./asset-link-format.ClaYu_v8.js";
6
+ import { h as I, a as Dt, C as Nt, S as qt, b as jt, c as Vt, d as Gt } from "./endpoints.mJ5S-tIs.js";
8
7
  import "./browser.BHOCIF_A.js";
9
- import { i as q, x as A, E as Xt } from "./lit-element.jLBm65_O.js";
8
+ import { i as q, x as A, E as Qt } from "./lit-element.jLBm65_O.js";
10
9
  import "./form.DSsy3Fcy.js";
11
10
  import { L as j } from "./i18n.DbXTTLXx.js";
12
- import { a as Kt } from "./string.CfI2ejyR.js";
11
+ import { a as Xt } from "./string.CfI2ejyR.js";
13
12
  import "./date-picker.BGHn6qg8.js";
14
- import { a as Pt, b as rt } from "./transformation.8uLv6uwG.js";
13
+ import { a as $t, b as rt } from "./transformation.8uLv6uwG.js";
15
14
  import "./unsafe-html.Dff7-rCx.js";
16
- import { b as Zt } from "./_baseUniq.lwMgmtt2.js";
15
+ import { b as Kt } from "./_baseUniq.lwMgmtt2.js";
17
16
  import { c as V } from "./component.styles.CRO4Odto.js";
18
- import { v as Yt } from "./v4.CKZ6klMF.js";
17
+ import { v as Zt } from "./v4.CKZ6klMF.js";
18
+ import { U as o, T as m } from "./asset-link-format.ClaYu_v8.js";
19
19
  import { P as W } from "./position-picker.DjnhxIKF.js";
20
20
  import { c as G } from "./custom-element.L4WJXn1j.js";
21
- import { w as _ } from "./watch.DJF5K-8U.js";
22
- import { s as _t, a as nt } from "./number.Cx2ncfJJ.js";
21
+ import { w as F } from "./watch.DJF5K-8U.js";
22
+ import { s as Pt, a as nt } from "./number.Cx2ncfJJ.js";
23
23
  import { r as R } from "./state.CSDxrqLd.js";
24
24
  import { n as M } from "./when.Dr1es41R.js";
25
25
  import et from "../components/details.js";
26
- import Jt from "../components/divider.js";
26
+ import Yt from "../components/divider.js";
27
27
  import { C as it } from "./icon.CpHbi8tH.js";
28
28
  import { C as vt } from "./icon-button.CVrxJcZq.js";
29
29
  import { C as bt } from "./input.33UmFGqR.js";
30
30
  import { C as gt } from "./option.B6odSlS2.js";
31
31
  import xt from "../components/select.js";
32
- import te from "../components/position-picker.js";
33
- import { c as ee } from "./image.Y5c_hFx8.js";
32
+ import Jt from "../components/position-picker.js";
33
+ import { c as te } from "./image.Y5c_hFx8.js";
34
34
  import { e as Y } from "./query.BBf1UFkC.js";
35
35
  import { c as ot } from "./repeat.CFjcER6_.js";
36
36
  import { o as D } from "./style-map.llVFPd__.js";
37
- import Lt from "../components/tooltip.js";
38
- import ie from "../components/button-group.js";
39
- import se from "../components/checkbox.js";
40
- function ae(t) {
41
- return t && t.length ? Zt(t) : [];
37
+ import Ot from "../components/tooltip.js";
38
+ import ee from "../components/button-group.js";
39
+ import ie from "../components/checkbox.js";
40
+ function se(t) {
41
+ return t && t.length ? Kt(t) : [];
42
42
  }
43
- function oe(t) {
43
+ function ae(t) {
44
44
  return typeof t == "object" && t !== null && "URI" in t;
45
45
  }
46
- const re = {
46
+ const oe = {
47
47
  artist: "Artist",
48
48
  color: "Color",
49
49
  createDate: "CreateDate",
@@ -65,7 +65,7 @@ const re = {
65
65
  systemIdentifier: "SystemIdentifier",
66
66
  text: "Text",
67
67
  title: "Title"
68
- }, ne = /* @__PURE__ */ new Set(["mediaDate", "createDate", "editDate"]);
68
+ }, re = /* @__PURE__ */ new Set(["mediaDate", "createDate", "editDate"]);
69
69
  function zt(t) {
70
70
  return !/[\s&+/*"\\:(),'<>~|[\]{}]/.test(t) && !/^(?:OR|AND|NOT)$/.test(t) ? t : `"${t.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}"`;
71
71
  }
@@ -73,10 +73,10 @@ function Ft(t, e) {
73
73
  const s = (Array.isArray(e) ? e : [e]).map((a) => `${t}:${zt(a)}`);
74
74
  return s.length > 1 ? `(${s.join(" OR ")})` : s[0] ?? "";
75
75
  }
76
- function he(t, e) {
76
+ function ne(t, e) {
77
77
  return (Array.isArray(e) ? e : [e]).map((s) => `${t}${s.operator}${s.value}`).join(" AND ");
78
78
  }
79
- function le(t) {
79
+ function he(t) {
80
80
  const e = [];
81
81
  for (const i of Object.keys(t)) {
82
82
  const s = i, a = t[s];
@@ -89,11 +89,11 @@ function le(t) {
89
89
  e.push(Ft(n, h));
90
90
  continue;
91
91
  }
92
- const r = re[s];
92
+ const r = oe[s];
93
93
  if (r) {
94
- if (ne.has(s)) {
94
+ if (re.has(s)) {
95
95
  e.push(
96
- he(r, a)
96
+ ne(r, a)
97
97
  );
98
98
  continue;
99
99
  }
@@ -128,40 +128,40 @@ function ht(t) {
128
128
  const e = ht(t.not);
129
129
  return e ? `NOT (${e})` : "";
130
130
  }
131
- return le(t);
131
+ return he(t);
132
132
  }
133
- const wt = "CoreField.LargeSizePreview", lt = "CoreField.DocType", ce = "Document.Title", pe = "Document.CaptionLong", ct = "Document.FileExtension", Mt = "CoreField.FileSize", It = "CoreField.Identifier", Et = "CoreField.Keywords", pt = "CoreField.MaxHeight", dt = "CoreField.MaxWidth", ut = "Document.RecordID", Tt = "CoreField.DocSubType", Ut = "CoreField.TitleWithFallback", mt = "CoreField.OriginalFileName", ft = "CoreField.UpdatedFileName", tt = "CoreField.OriginalPreview", Fi = "Document.DocSubType", Mi = "Document.InPoint", Ii = "Document.OutPoint", Ct = {
133
+ const wt = "CoreField.LargeSizePreview", lt = "CoreField.DocType", le = "Document.Title", ce = "Document.CaptionLong", ct = "Document.FileExtension", _t = "CoreField.FileSize", Mt = "CoreField.Identifier", It = "CoreField.Keywords", pt = "CoreField.MaxHeight", dt = "CoreField.MaxWidth", ut = "Document.RecordID", Et = "CoreField.DocSubType", Lt = "CoreField.TitleWithFallback", mt = "CoreField.OriginalFileName", ft = "CoreField.UpdatedFileName", tt = "CoreField.OriginalPreview", Fi = "Document.DocSubType", _i = "Document.InPoint", Mi = "Document.OutPoint", Ct = {
134
134
  DEFAULT_VIEW_SIZE: "Document.LargeSizePreview",
135
135
  FIELD_TITLE_WITH_FALLBACK: "Document.TitleWithFallback",
136
136
  ORIGINAL_VIEW_SIZE: "Document.OriginalPreview"
137
- }, Bt = {
137
+ }, Ut = {
138
138
  [wt]: Ct.DEFAULT_VIEW_SIZE,
139
- [Ut]: Ct.FIELD_TITLE_WITH_FALLBACK,
139
+ [Lt]: Ct.FIELD_TITLE_WITH_FALLBACK,
140
140
  [tt]: Ct.ORIGINAL_VIEW_SIZE
141
- }, de = Object.fromEntries(
142
- Object.entries(Bt).map(([t, e]) => [
141
+ }, pe = Object.fromEntries(
142
+ Object.entries(Ut).map(([t, e]) => [
143
143
  e,
144
144
  t
145
145
  ])
146
146
  );
147
- function ue(t) {
148
- return Bt[t] ?? t;
147
+ function de(t) {
148
+ return Ut[t] ?? t;
149
149
  }
150
150
  function Ht(t) {
151
151
  const e = {};
152
152
  for (const [i, s] of Object.entries(t)) {
153
- const a = de[i] ?? i;
153
+ const a = pe[i] ?? i;
154
154
  e[a] = s;
155
155
  }
156
156
  return e;
157
157
  }
158
- function me(t) {
158
+ function ue(t) {
159
159
  const e = new URLSearchParams();
160
160
  for (const [i, s] of Object.entries(t))
161
161
  s != null && (Array.isArray(s) ? s.forEach((a) => e.append(i, String(a))) : e.append(i, String(s)));
162
162
  return e;
163
163
  }
164
- async function qt({
164
+ async function Bt({
165
165
  countPerPage: t,
166
166
  fields: e,
167
167
  getPermanentAssetsPaths: i,
@@ -175,9 +175,9 @@ async function qt({
175
175
  token: c,
176
176
  useSession: g
177
177
  }) {
178
- const y = e?.map(ue), d = {
178
+ const y = e?.map(de), d = {
179
179
  CountPerPage: t,
180
- Fields: ae(y),
180
+ Fields: se(y),
181
181
  Format: "json",
182
182
  GetPermanentAssetsPaths: i || void 0,
183
183
  PageNumber: r,
@@ -193,7 +193,7 @@ async function qt({
193
193
  method: s,
194
194
  // POST large RecordID queries as a urlencoded body to dodge the ~2KB URL cap;
195
195
  // GET keeps the same fields on the query string.
196
- ...z ? { data: me(d) } : { params: d, paramsSerializer: { indexes: null } },
196
+ ...z ? { data: ue(d) } : { params: d, paramsSerializer: { indexes: null } },
197
197
  responseType: "json",
198
198
  transformResponse: [
199
199
  ...Array.isArray(I.defaults.transformResponse) ? I.defaults.transformResponse : [],
@@ -207,13 +207,13 @@ async function qt({
207
207
  totalCount: u.APIResponse?.GlobalInfo?.TotalCount ?? 0
208
208
  })
209
209
  ],
210
- url: a ? Ot.SEARCH_ASSETS : jt["4.0"]
210
+ url: a ? Nt.SEARCH_ASSETS : qt["4.0"]
211
211
  })).data;
212
212
  } catch {
213
213
  return { items: [], sort: "", totalCount: 0 };
214
214
  }
215
215
  }
216
- async function fe({
216
+ async function me({
217
217
  assetId: t,
218
218
  extension: e,
219
219
  format: i,
@@ -229,7 +229,7 @@ async function fe({
229
229
  params: {
230
230
  SourceAssetFormat: i,
231
231
  SourceAssetRecordID: t,
232
- TargetExtension: Kt(e),
232
+ TargetExtension: Xt(e),
233
233
  Token: a || void 0,
234
234
  Transformations: r,
235
235
  UseSession: n || void 0
@@ -239,20 +239,20 @@ async function fe({
239
239
  */
240
240
  timeout: 3e5,
241
241
  // 5 minutes
242
- url: Nt.GET_TRANSFORM_ASSET_LINK
242
+ url: Dt.GET_TRANSFORM_ASSET_LINK
243
243
  })).data;
244
244
  } catch {
245
245
  return null;
246
246
  }
247
247
  }
248
- const ge = 50;
249
- function xe(t, e) {
248
+ const fe = 50;
249
+ function ge(t, e) {
250
250
  const i = [];
251
251
  for (let s = 0; s < t.length; s += e)
252
252
  i.push(t.slice(s, s + e));
253
253
  return i;
254
254
  }
255
- async function ye({
255
+ async function xe({
256
256
  extraFields: t,
257
257
  getPermanentAssetsPaths: e,
258
258
  isSiteBuilder: i,
@@ -267,12 +267,12 @@ async function ye({
267
267
  tt,
268
268
  ft,
269
269
  mt,
270
+ le,
270
271
  ce,
271
- pe,
272
272
  ut
273
- ], p = xe(s, ge), f = await Promise.all(
273
+ ], p = ge(s, fe), f = await Promise.all(
274
274
  p.map(
275
- (d) => qt({
275
+ (d) => Bt({
276
276
  countPerPage: d.length,
277
277
  fields: h,
278
278
  getPermanentAssetsPaths: e,
@@ -305,9 +305,9 @@ async function ye({
305
305
  }
306
306
  function k(t, e) {
307
307
  const i = t[e];
308
- return i == null ? "" : typeof i == "string" ? i : typeof i == "number" || typeof i == "boolean" ? String(i) : oe(i) ? i.URI : "";
308
+ return i == null ? "" : typeof i == "string" ? i : typeof i == "number" || typeof i == "boolean" ? String(i) : ae(i) ? i.URI : "";
309
309
  }
310
- async function Se({
310
+ async function ye({
311
311
  countPerPage: t,
312
312
  directParentFolderIdentifier: e,
313
313
  extraFields: i,
@@ -326,21 +326,21 @@ async function Se({
326
326
  const y = (i?.filter((u) => u && typeof u == "string") ?? []).map((u) => u.replace("%20", " ")), d = {
327
327
  directParentFolderIdentifier: e,
328
328
  parentFolderIdentifier: h,
329
- ...r.length > 0 ? { docType: [$t.Image, $t.Audio] } : {}
330
- }, z = await qt({
329
+ ...r && r.length > 0 ? { docType: r } : {}
330
+ }, z = await Bt({
331
331
  countPerPage: t,
332
332
  fields: [
333
333
  ...y,
334
- Ut,
334
+ Lt,
335
335
  wt,
336
336
  tt,
337
- Et,
337
+ It,
338
338
  dt,
339
339
  pt,
340
- Mt,
340
+ _t,
341
341
  lt,
342
- Tt,
343
- It,
342
+ Et,
343
+ Mt,
344
344
  ct,
345
345
  ut,
346
346
  mt,
@@ -354,22 +354,22 @@ async function Se({
354
354
  sort: void 0,
355
355
  token: g
356
356
  }), b = z.items.map((u) => {
357
- let F = k(u, ct), P = k(u, ft), st = k(u, wt);
358
- F && !F.startsWith(".") && (F = "." + F), P === "" && (P = k(u, mt)), F.toLowerCase() === ".gif" && (st = k(u, tt));
357
+ let _ = k(u, ct), P = k(u, ft), st = k(u, wt);
358
+ _ && !_.startsWith(".") && (_ = "." + _), P === "" && (P = k(u, mt)), _.toLowerCase() === ".gif" && (st = k(u, tt));
359
359
  const St = k(u, ut);
360
360
  return {
361
- docSubType: k(u, Tt),
361
+ docSubType: k(u, Et),
362
362
  docType: k(u, lt) || "",
363
- extension: F,
363
+ extension: _,
364
364
  height: k(u, pt) || "0",
365
365
  id: St,
366
- identifier: k(u, It),
366
+ identifier: k(u, Mt),
367
367
  imageUrl: st,
368
368
  name: P,
369
369
  originalUrl: k(u, tt),
370
370
  recordId: St,
371
- size: k(u, Mt) || "0 MB",
372
- tags: k(u, Et),
371
+ size: k(u, _t) || "0 MB",
372
+ tags: k(u, It),
373
373
  width: k(u, dt) || "0",
374
374
  ...y.reduce(
375
375
  (X, at) => (X[at] = k(u, at), X),
@@ -383,7 +383,7 @@ async function Se({
383
383
  totalCount: z.totalCount
384
384
  };
385
385
  }
386
- async function Ce({
386
+ async function Se({
387
387
  autoCropMode: t,
388
388
  cropHeight: e,
389
389
  cropWidth: i,
@@ -412,13 +412,13 @@ async function Ce({
412
412
  y: n.cropY
413
413
  })
414
414
  ],
415
- url: Nt.GET_CROP_ZONE_SUGGESTION
415
+ url: Dt.GET_CROP_ZONE_SUGGESTION
416
416
  })).data;
417
417
  } catch {
418
418
  return null;
419
419
  }
420
420
  }
421
- async function Ei({
421
+ async function Ii({
422
422
  assetRecordId: t,
423
423
  isSiteBuilder: e,
424
424
  siteUrl: i,
@@ -449,13 +449,13 @@ async function Ei({
449
449
  width: h.width
450
450
  })) ?? []
451
451
  ],
452
- url: e ? Ot.GET_AVAILABLE_PROXIES : Qt
452
+ url: e ? Nt.GET_AVAILABLE_PROXIES : Gt
453
453
  })).data;
454
454
  } catch {
455
455
  return [];
456
456
  }
457
457
  }
458
- async function Ti({
458
+ async function Ei({
459
459
  siteUrl: t
460
460
  } = {}) {
461
461
  try {
@@ -476,7 +476,7 @@ async function Ti({
476
476
  formatsByDocType: i.formatsByDocType ?? {}
477
477
  }
478
478
  ],
479
- url: Vt
479
+ url: jt
480
480
  })).data;
481
481
  } catch {
482
482
  return { formatsByDocType: {} };
@@ -498,14 +498,14 @@ async function Hi({
498
498
  params: { RecordIDs: t, RightsToCheck: e },
499
499
  paramsSerializer: { indexes: null },
500
500
  responseType: "json",
501
- url: Gt.GET_AUTHORIZED_OBJECTS
501
+ url: Vt.GET_AUTHORIZED_OBJECTS
502
502
  });
503
503
  return s;
504
504
  } catch {
505
505
  return i;
506
506
  }
507
507
  }
508
- const Wt = 20, Dt = "TR1", ze = /* @__PURE__ */ new Set([
508
+ const Tt = 20, Wt = "TR1", Ce = /* @__PURE__ */ new Set([
509
509
  ".avif",
510
510
  ".bmp",
511
511
  ".gif",
@@ -518,15 +518,15 @@ const Wt = 20, Dt = "TR1", ze = /* @__PURE__ */ new Set([
518
518
  ]);
519
519
  function At(t) {
520
520
  const e = t.toLowerCase(), i = e.startsWith(".") ? e : `.${e}`;
521
- return ze.has(i);
521
+ return Ce.has(i);
522
522
  }
523
- class Wi {
523
+ class Ti {
524
524
  constructor(e, i) {
525
- this.data = [], this.folderId = "", this.fetchedPages = /* @__PURE__ */ new Set(), this.totalCount = 0, this.maxEnd = 1 / 0, this.pageSize = Wt, this.requestEpoch = 0, this.host = e, this.host.addController?.(this);
525
+ this.data = [], this.folderId = "", this.fetchedPages = /* @__PURE__ */ new Set(), this.totalCount = 0, this.maxEnd = 1 / 0, this.pageSize = Tt, this.requestEpoch = 0, this.host = e, this.host.addController?.(this);
526
526
  const s = i?.maxEnd;
527
527
  this.maxEnd = typeof s == "number" && Number.isFinite(s) && s >= 0 ? Math.floor(s) : 1 / 0;
528
528
  const a = i?.pageSize;
529
- this.pageSize = typeof a == "number" && Number.isFinite(a) && a >= 1 ? Math.floor(a) : Wt, this.authToken = i?.token, this.securityByPassToken = i?.securityByPassToken, this.isSiteBuilder = i?.isSiteBuilder ?? !1;
529
+ this.pageSize = typeof a == "number" && Number.isFinite(a) && a >= 1 ? Math.floor(a) : Tt, this.authToken = i?.token, this.securityByPassToken = i?.securityByPassToken, this.isSiteBuilder = i?.isSiteBuilder ?? !1;
530
530
  }
531
531
  get totalDataCount() {
532
532
  return this.totalCount;
@@ -548,17 +548,16 @@ class Wi {
548
548
  const n = this.requestEpoch;
549
549
  if (!this.folderId || n !== this.requestEpoch)
550
550
  return this.data;
551
- const h = s ? `path_${s}` : void 0, p = s === "TRX", f = `path_${Dt}`, c = h ? p && h !== f ? [h, f] : [h] : [], g = Math.floor(a / this.pageSize) + 1, y = Math.floor(e / this.pageSize) + 1;
551
+ const h = s ? `path_${s}` : void 0, p = s === "TRX", f = `path_${Wt}`, c = h ? p && h !== f ? [h, f] : [h] : [], g = Math.floor(a / this.pageSize) + 1, y = Math.floor(e / this.pageSize) + 1;
552
552
  for (let d = g; d <= y; d++) {
553
553
  if (this.fetchedPages.has(d))
554
554
  continue;
555
- const z = await Se({
555
+ const z = await ye({
556
556
  countPerPage: this.pageSize,
557
557
  directParentFolderIdentifier: this.folderId,
558
558
  extraFields: [...i, ...c],
559
559
  getPermanentAssetsPaths: c.length > 0 || void 0,
560
560
  isSiteBuilder: this.isSiteBuilder,
561
- limitedDocTypes: ["DO_DOCUMENTS.Image_DbBO.*"],
562
561
  pageNumber: d,
563
562
  searchTerm: "",
564
563
  securityByPassToken: this.securityByPassToken,
@@ -571,18 +570,18 @@ class Wi {
571
570
  const u = Math.min(this.maxEnd, z.totalCount);
572
571
  this.totalCount = u, this.data = Array.from({ length: u }, () => ({
573
572
  alt: "",
574
- id: `temp-${Yt()}`,
573
+ id: `temp-${Zt()}`,
575
574
  name: "",
576
575
  src: ""
577
576
  }));
578
577
  }
579
578
  const b = (d - 1) * this.pageSize;
580
579
  for (let u = 0; u < z.items.length; u++) {
581
- const F = b + u;
582
- if (F < this.data.length) {
580
+ const _ = b + u;
581
+ if (_ < this.data.length) {
583
582
  const P = z.items[u], st = !P.extension || At(P.extension);
584
583
  let X = h && (!p || st) && P[h] || p && !st && P[f] || P.imageUrl;
585
- X && r && r.length > 0 && (X = Pt(X, r)), this.data[F] = {
584
+ X && r && r.length > 0 && (X = $t(X, r)), this.data[_] = {
586
585
  alt: P.name,
587
586
  docType: P.docType,
588
587
  id: P.id,
@@ -639,13 +638,13 @@ class Wi {
639
638
  }) {
640
639
  if (s.length === 0)
641
640
  return [];
642
- const r = i ? `path_${i}` : void 0, n = i === "TRX", h = `path_${Dt}`, p = r ? n && r !== h ? [r, h] : [r] : [], f = n ? [ct] : [], c = [
641
+ const r = i ? `path_${i}` : void 0, n = i === "TRX", h = `path_${Wt}`, p = r ? n && r !== h ? [r, h] : [r] : [], f = n ? [ct] : [], c = [
643
642
  ...e,
644
643
  lt,
645
644
  pt,
646
645
  dt
647
646
  ];
648
- return (await ye({
647
+ return (await xe({
649
648
  extraFields: [...c, ...p, ...f].filter((y) => y !== ""),
650
649
  getPermanentAssetsPaths: p.length > 0 || void 0,
651
650
  isSiteBuilder: this.isSiteBuilder,
@@ -655,14 +654,14 @@ class Wi {
655
654
  })).items.map((y) => {
656
655
  const d = n && y[ct] || "", z = !d || At(d);
657
656
  let u = r && (!n || z) && y[r] || n && !z && y[h] || y.originalUrl;
658
- return u && a && a.length > 0 && (u = Pt(u, a)), {
657
+ return u && a && a.length > 0 && (u = $t(u, a)), {
659
658
  alt: y.name,
660
659
  docType: y[lt],
661
660
  id: y.recordId,
662
661
  name: y.name,
663
662
  src: u,
664
663
  ...c.reduce(
665
- (F, P) => (F[P] = y[P] ?? "", F),
664
+ (_, P) => (_[P] = y[P] ?? "", _),
666
665
  {}
667
666
  )
668
667
  };
@@ -738,11 +737,11 @@ class Wi {
738
737
  this.resetPageCache();
739
738
  }
740
739
  }
741
- const we = q`.asset-link-format__details{--header-padding:var(--cx-spacing-small) var(--cx-spacing-medium)}.asset-link-format__details::part(icon){width:var(--cx-font-size-3x-large);height:var(--cx-font-size-3x-large);background-color:var(--cx-color-neutral-100);border-radius:var(--cx-border-radius-large);color:var(--cx-color-neutral-600);font-size:var(--cx-font-size-large);justify-content:center;align-items:center;display:flex}.asset-link-format__details::part(input-label){color:var(--cx-color-neutral-400);margin-inline-start:var(--cx-spacing-small)}.asset-link-format__header{padding:var(--cx-spacing-medium)}.asset-link-format__section-header{padding:0 var(--cx-spacing-medium);border-top:var(--section-header-border-width,1px) solid var(--cx-color-neutral-200);background-color:var(--cx-color-neutral-50)}.asset-link-format__undo,.asset-link-format__reset{--color:var(--cx-color-primary);--background-color:transparent}`, Ae = q`cx-details::part(base){border-bottom-width:0}cx-space{width:100%}cx-space cx-input{flex:1}.crop__unit-select{width:120px}.crop__input-group{flex:1;display:flex}`;
742
- var ve = Object.defineProperty, be = Object.getOwnPropertyDescriptor, w = (t, e, i, s) => {
743
- for (var a = s > 1 ? void 0 : s ? be(e, i) : e, r = t.length - 1, n; r >= 0; r--)
740
+ const ze = q`.asset-link-format__details{--header-padding:var(--cx-spacing-small) var(--cx-spacing-medium)}.asset-link-format__details::part(icon){width:var(--cx-font-size-3x-large);height:var(--cx-font-size-3x-large);background-color:var(--cx-color-neutral-100);border-radius:var(--cx-border-radius-large);color:var(--cx-color-neutral-600);font-size:var(--cx-font-size-large);justify-content:center;align-items:center;display:flex}.asset-link-format__details::part(input-label){color:var(--cx-color-neutral-400);margin-inline-start:var(--cx-spacing-small)}.asset-link-format__header{padding:var(--cx-spacing-medium)}.asset-link-format__section-header{padding:0 var(--cx-spacing-medium);border-top:var(--section-header-border-width,1px) solid var(--cx-color-neutral-200);background-color:var(--cx-color-neutral-50)}.asset-link-format__undo,.asset-link-format__reset{--color:var(--cx-color-primary);--background-color:transparent}`, we = q`cx-details::part(base){border-bottom-width:0}cx-space{width:100%}cx-space cx-input{flex:1}.crop__unit-select{width:120px}.crop__input-group{flex:1;display:flex}`;
741
+ var Ae = Object.defineProperty, ve = Object.getOwnPropertyDescriptor, w = (t, e, i, s) => {
742
+ for (var a = s > 1 ? void 0 : s ? ve(e, i) : e, r = t.length - 1, n; r >= 0; r--)
744
743
  (n = t[r]) && (a = (s ? n(e, i, a) : n(a)) || a);
745
- return s && a && ve(e, i, a), a;
744
+ return s && a && Ae(e, i, a), a;
746
745
  };
747
746
  let C = class extends B {
748
747
  constructor() {
@@ -858,7 +857,7 @@ let C = class extends B {
858
857
  const [s, a] = e.split(":").map(Number);
859
858
  if (this.unit === o.Pixel) {
860
859
  let r = s, n = a;
861
- Number.isFinite(this.maxWidth) && Number.isFinite(this.maxHeight) && ({ height: n, width: r } = ee(
860
+ Number.isFinite(this.maxWidth) && Number.isFinite(this.maxHeight) && ({ height: n, width: r } = te(
862
861
  this.maxWidth,
863
862
  this.maxHeight,
864
863
  s,
@@ -1021,16 +1020,16 @@ let C = class extends B {
1021
1020
  })} @click=${this.handleApply}>${this.localize.term("apply")}</cx-button></cx-space></cx-details>`;
1022
1021
  }
1023
1022
  };
1024
- C.styles = [V, Ae];
1023
+ C.styles = [V, we];
1025
1024
  C.dependencies = {
1026
1025
  "cx-button": Z,
1027
1026
  "cx-details": et,
1028
- "cx-divider": Jt,
1027
+ "cx-divider": Yt,
1029
1028
  "cx-icon": it,
1030
1029
  "cx-icon-button": vt,
1031
1030
  "cx-input": bt,
1032
1031
  "cx-option": gt,
1033
- "cx-position-picker": te,
1032
+ "cx-position-picker": Jt,
1034
1033
  "cx-select": xt,
1035
1034
  "cx-space": L,
1036
1035
  "cx-typography": U
@@ -1114,22 +1113,22 @@ w([
1114
1113
  R()
1115
1114
  ], C.prototype, "aspectRatio", 2);
1116
1115
  w([
1117
- _("cropMode", { waitUntilFirstUpdate: !0 }),
1118
- _("maxWidth", { waitUntilFirstUpdate: !0 }),
1119
- _("maxHeight", { waitUntilFirstUpdate: !0 }),
1120
- _("keepAspectRatio")
1116
+ F("cropMode", { waitUntilFirstUpdate: !0 }),
1117
+ F("maxWidth", { waitUntilFirstUpdate: !0 }),
1118
+ F("maxHeight", { waitUntilFirstUpdate: !0 }),
1119
+ F("keepAspectRatio")
1121
1120
  ], C.prototype, "handleCropModeChange", 1);
1122
1121
  w([
1123
- _("open", { waitUntilFirstUpdate: !0 })
1122
+ F("open", { waitUntilFirstUpdate: !0 })
1124
1123
  ], C.prototype, "handleOpenChange", 1);
1125
1124
  C = w([
1126
1125
  G("cx-asset-link-format-crop")
1127
1126
  ], C);
1128
- const ke = q`.extension{padding:var(--cx-spacing-small) var(--cx-spacing-medium);border:solid 1px var(--cx-color-neutral-200);background-color:var(--cx-color-neutral-0);& cx-select{flex:1;width:100%}}`;
1129
- var Re = Object.defineProperty, $e = Object.getOwnPropertyDescriptor, kt = (t, e, i, s) => {
1130
- for (var a = s > 1 ? void 0 : s ? $e(e, i) : e, r = t.length - 1, n; r >= 0; r--)
1127
+ const be = q`.extension{padding:var(--cx-spacing-small) var(--cx-spacing-medium);border:solid 1px var(--cx-color-neutral-200);background-color:var(--cx-color-neutral-0);& cx-select{flex:1;width:100%}}`;
1128
+ var ke = Object.defineProperty, Re = Object.getOwnPropertyDescriptor, kt = (t, e, i, s) => {
1129
+ for (var a = s > 1 ? void 0 : s ? Re(e, i) : e, r = t.length - 1, n; r >= 0; r--)
1131
1130
  (n = t[r]) && (a = (s ? n(e, i, a) : n(a)) || a);
1132
- return s && a && Re(e, i, a), a;
1131
+ return s && a && ke(e, i, a), a;
1133
1132
  };
1134
1133
  let K = class extends B {
1135
1134
  constructor() {
@@ -1149,7 +1148,7 @@ let K = class extends B {
1149
1148
  )}</cx-select></cx-space>`;
1150
1149
  }
1151
1150
  };
1152
- K.styles = [V, ke];
1151
+ K.styles = [V, be];
1153
1152
  K.dependencies = {
1154
1153
  "cx-option": gt,
1155
1154
  "cx-select": xt,
@@ -1165,11 +1164,11 @@ kt([
1165
1164
  K = kt([
1166
1165
  G("cx-asset-link-format-extension")
1167
1166
  ], K);
1168
- const Pe = q`cx-details::part(base){border-bottom-width:0}`;
1169
- var _e = Object.defineProperty, Fe = Object.getOwnPropertyDescriptor, N = (t, e, i, s) => {
1167
+ const $e = q`cx-details::part(base){border-bottom-width:0}`;
1168
+ var Pe = Object.defineProperty, Fe = Object.getOwnPropertyDescriptor, N = (t, e, i, s) => {
1170
1169
  for (var a = s > 1 ? void 0 : s ? Fe(e, i) : e, r = t.length - 1, n; r >= 0; r--)
1171
1170
  (n = t[r]) && (a = (s ? n(e, i, a) : n(a)) || a);
1172
- return s && a && _e(e, i, a), a;
1171
+ return s && a && Pe(e, i, a), a;
1173
1172
  };
1174
1173
  let E = class extends B {
1175
1174
  constructor() {
@@ -1226,7 +1225,7 @@ let E = class extends B {
1226
1225
  })} ?disabled=${this.scopedValue === this.value} ?loading=${this.loading} @click=${this.handleApply}>${this.localize.term("apply")}</cx-button></cx-space></cx-details>`;
1227
1226
  }
1228
1227
  };
1229
- E.styles = [V, Pe];
1228
+ E.styles = [V, $e];
1230
1229
  E.dependencies = {
1231
1230
  "cx-button": Z,
1232
1231
  "cx-details": et,
@@ -1255,21 +1254,21 @@ N([
1255
1254
  R()
1256
1255
  ], E.prototype, "scopedValue", 2);
1257
1256
  N([
1258
- _("value")
1257
+ F("value")
1259
1258
  ], E.prototype, "handleValueChange", 1);
1260
1259
  N([
1261
- _("open", { waitUntilFirstUpdate: !0 })
1260
+ F("open", { waitUntilFirstUpdate: !0 })
1262
1261
  ], E.prototype, "handleOpenChange", 1);
1263
1262
  E = N([
1264
1263
  G("cx-asset-link-format-proxy")
1265
1264
  ], E);
1266
- const Me = q`cx-details::part(base){border-bottom-width:0}`;
1267
- var Ie = Object.defineProperty, Ee = Object.getOwnPropertyDescriptor, J = (t, e, i, s) => {
1268
- for (var a = s > 1 ? void 0 : s ? Ee(e, i) : e, r = t.length - 1, n; r >= 0; r--)
1265
+ const _e = q`cx-details::part(base){border-bottom-width:0}`;
1266
+ var Me = Object.defineProperty, Ie = Object.getOwnPropertyDescriptor, J = (t, e, i, s) => {
1267
+ for (var a = s > 1 ? void 0 : s ? Ie(e, i) : e, r = t.length - 1, n; r >= 0; r--)
1269
1268
  (n = t[r]) && (a = (s ? n(e, i, a) : n(a)) || a);
1270
- return s && a && Ie(e, i, a), a;
1269
+ return s && a && Me(e, i, a), a;
1271
1270
  };
1272
- let H = class extends B {
1271
+ let T = class extends B {
1273
1272
  constructor() {
1274
1273
  super(...arguments), this.localize = new j(this), this.open = !1, this.value = 100, this.loading = !1, this.scopedValue = 100;
1275
1274
  }
@@ -1320,40 +1319,40 @@ let H = class extends B {
1320
1319
  })} @cx-input=${this.handleQualityChange}></cx-input></cx-tooltip><cx-button data-testid="cx-asset-link-format-quality-apply" variant="primary" ?disabled=${this.invalidValue} ?loading=${this.loading} @click=${this.handleApply}>${this.localize.term("apply")}</cx-button></cx-space></cx-details>`;
1321
1320
  }
1322
1321
  };
1323
- H.styles = [V, Me];
1324
- H.dependencies = {
1322
+ T.styles = [V, _e];
1323
+ T.dependencies = {
1325
1324
  "cx-button": Z,
1326
1325
  "cx-details": et,
1327
1326
  "cx-icon": it,
1328
1327
  "cx-input": bt,
1329
1328
  "cx-space": L,
1330
- "cx-tooltip": Lt,
1329
+ "cx-tooltip": Ot,
1331
1330
  "cx-typography": U
1332
1331
  };
1333
1332
  J([
1334
1333
  Y(".details")
1335
- ], H.prototype, "base", 2);
1334
+ ], T.prototype, "base", 2);
1336
1335
  J([
1337
1336
  l({ reflect: !0, type: Boolean })
1338
- ], H.prototype, "open", 2);
1337
+ ], T.prototype, "open", 2);
1339
1338
  J([
1340
1339
  l({ reflect: !0, type: Number })
1341
- ], H.prototype, "value", 2);
1340
+ ], T.prototype, "value", 2);
1342
1341
  J([
1343
1342
  l({ reflect: !0, type: Boolean })
1344
- ], H.prototype, "loading", 2);
1343
+ ], T.prototype, "loading", 2);
1345
1344
  J([
1346
1345
  R()
1347
- ], H.prototype, "scopedValue", 2);
1346
+ ], T.prototype, "scopedValue", 2);
1348
1347
  J([
1349
- _("value")
1350
- ], H.prototype, "handleValueChange", 1);
1351
- H = J([
1348
+ F("value")
1349
+ ], T.prototype, "handleValueChange", 1);
1350
+ T = J([
1352
1351
  G("cx-asset-link-format-quality")
1353
- ], H);
1354
- const Te = q`cx-details::part(base){border-bottom-width:0}cx-space{width:100%}cx-space cx-input{flex:1}.resize__unit-select{width:120px}.resize__input-group{flex:1;display:flex}`;
1355
- var He = Object.defineProperty, We = Object.getOwnPropertyDescriptor, $ = (t, e, i, s) => {
1356
- for (var a = s > 1 ? void 0 : s ? We(e, i) : e, r = t.length - 1, n; r >= 0; r--)
1352
+ ], T);
1353
+ const Ee = q`cx-details::part(base){border-bottom-width:0}cx-space{width:100%}cx-space cx-input{flex:1}.resize__unit-select{width:120px}.resize__input-group{flex:1;display:flex}`;
1354
+ var He = Object.defineProperty, Te = Object.getOwnPropertyDescriptor, $ = (t, e, i, s) => {
1355
+ for (var a = s > 1 ? void 0 : s ? Te(e, i) : e, r = t.length - 1, n; r >= 0; r--)
1357
1356
  (n = t[r]) && (a = (s ? n(e, i, a) : n(a)) || a);
1358
1357
  return s && a && He(e, i, a), a;
1359
1358
  };
@@ -1512,7 +1511,7 @@ let v = class extends B {
1512
1511
  })} @click=${this.handleApply}>${this.localize.term("apply")}</cx-button></cx-space></cx-details>`;
1513
1512
  }
1514
1513
  };
1515
- v.styles = [V, Te];
1514
+ v.styles = [V, Ee];
1516
1515
  v.dependencies = {
1517
1516
  "cx-button": Z,
1518
1517
  "cx-details": et,
@@ -1573,24 +1572,24 @@ $([
1573
1572
  R()
1574
1573
  ], v.prototype, "aspectRatio", 2);
1575
1574
  $([
1576
- _("cropMode", { waitUntilFirstUpdate: !0 }),
1577
- _("maxWidth", { waitUntilFirstUpdate: !0 }),
1578
- _("maxHeight", { waitUntilFirstUpdate: !0 }),
1579
- _("keepAspectRatio")
1575
+ F("cropMode", { waitUntilFirstUpdate: !0 }),
1576
+ F("maxWidth", { waitUntilFirstUpdate: !0 }),
1577
+ F("maxHeight", { waitUntilFirstUpdate: !0 }),
1578
+ F("keepAspectRatio")
1580
1579
  ], v.prototype, "handleCropModeChange", 1);
1581
1580
  $([
1582
- _("open", { waitUntilFirstUpdate: !0 })
1581
+ F("open", { waitUntilFirstUpdate: !0 })
1583
1582
  ], v.prototype, "handleOpenChange", 1);
1584
1583
  v = $([
1585
1584
  G("cx-asset-link-format-resize")
1586
1585
  ], v);
1587
- const De = q`cx-details::part(base){border-bottom-width:0}`;
1588
- var Ne = Object.defineProperty, Oe = Object.getOwnPropertyDescriptor, Q = (t, e, i, s) => {
1589
- for (var a = s > 1 ? void 0 : s ? Oe(e, i) : e, r = t.length - 1, n; r >= 0; r--)
1586
+ const We = q`cx-details::part(base){border-bottom-width:0}`;
1587
+ var De = Object.defineProperty, Ne = Object.getOwnPropertyDescriptor, Q = (t, e, i, s) => {
1588
+ for (var a = s > 1 ? void 0 : s ? Ne(e, i) : e, r = t.length - 1, n; r >= 0; r--)
1590
1589
  (n = t[r]) && (a = (s ? n(e, i, a) : n(a)) || a);
1591
- return s && a && Ne(e, i, a), a;
1590
+ return s && a && De(e, i, a), a;
1592
1591
  };
1593
- let T = class extends B {
1592
+ let H = class extends B {
1594
1593
  constructor() {
1595
1594
  super(...arguments), this.localize = new j(this), this.open = !1, this.value = 0, this.defaultValue = 0, this.loading = !1, this.lastAppliedValue = 0;
1596
1595
  }
@@ -1603,14 +1602,14 @@ let T = class extends B {
1603
1602
  const e = t.target.value, i = Number(e);
1604
1603
  if (Number.isNaN(i))
1605
1604
  return;
1606
- const s = _t(i);
1605
+ const s = Pt(i);
1607
1606
  (i > 360 || i < -360) && (t.target.value = s.toString()), this.emit("cx-asset-link-format-rotation-change", {
1608
1607
  detail: s
1609
1608
  });
1610
1609
  }
1611
1610
  handleButtonClick(t) {
1612
1611
  this.emit("cx-asset-link-format-rotation-change", {
1613
- detail: _t(t)
1612
+ detail: Pt(t)
1614
1613
  });
1615
1614
  }
1616
1615
  handleClockwiseClick() {
@@ -1636,10 +1635,10 @@ let T = class extends B {
1636
1635
  })} @cx-input=${this.handleRotationChange}></cx-input><cx-button data-testid="cx-asset-link-format-rotation-apply" variant="primary" ?disabled=${this.value === this.lastAppliedValue} ?loading=${this.loading} @click=${this.handleApply}>${this.localize.term("apply")}</cx-button></cx-space></cx-details>`;
1637
1636
  }
1638
1637
  };
1639
- T.styles = [V, De];
1640
- T.dependencies = {
1638
+ H.styles = [V, We];
1639
+ H.dependencies = {
1641
1640
  "cx-button": Z,
1642
- "cx-button-group": ie,
1641
+ "cx-button-group": ee,
1643
1642
  "cx-details": et,
1644
1643
  "cx-icon": it,
1645
1644
  "cx-icon-button": vt,
@@ -1648,33 +1647,33 @@ T.dependencies = {
1648
1647
  };
1649
1648
  Q([
1650
1649
  Y(".details")
1651
- ], T.prototype, "base", 2);
1650
+ ], H.prototype, "base", 2);
1652
1651
  Q([
1653
1652
  l({ reflect: !0, type: Boolean })
1654
- ], T.prototype, "open", 2);
1653
+ ], H.prototype, "open", 2);
1655
1654
  Q([
1656
1655
  l({ reflect: !0, type: Number })
1657
- ], T.prototype, "value", 2);
1656
+ ], H.prototype, "value", 2);
1658
1657
  Q([
1659
1658
  l({ attribute: "default-value", reflect: !0, type: Number })
1660
- ], T.prototype, "defaultValue", 2);
1659
+ ], H.prototype, "defaultValue", 2);
1661
1660
  Q([
1662
1661
  l({ reflect: !0, type: Boolean })
1663
- ], T.prototype, "loading", 2);
1662
+ ], H.prototype, "loading", 2);
1664
1663
  Q([
1665
1664
  l({ attribute: "last-applied-value", reflect: !0, type: Number })
1666
- ], T.prototype, "lastAppliedValue", 2);
1665
+ ], H.prototype, "lastAppliedValue", 2);
1667
1666
  Q([
1668
- _("open", { waitUntilFirstUpdate: !0 })
1669
- ], T.prototype, "handleOpenChange", 1);
1670
- T = Q([
1667
+ F("open", { waitUntilFirstUpdate: !0 })
1668
+ ], H.prototype, "handleOpenChange", 1);
1669
+ H = Q([
1671
1670
  G("cx-asset-link-format-rotation")
1672
- ], T);
1673
- const Le = q`cx-details::part(base){border-bottom-width:0}`;
1674
- var Ue = Object.defineProperty, Be = Object.getOwnPropertyDescriptor, yt = (t, e, i, s) => {
1675
- for (var a = s > 1 ? void 0 : s ? Be(e, i) : e, r = t.length - 1, n; r >= 0; r--)
1671
+ ], H);
1672
+ const Oe = q`cx-details::part(base){border-bottom-width:0}`;
1673
+ var Le = Object.defineProperty, Ue = Object.getOwnPropertyDescriptor, yt = (t, e, i, s) => {
1674
+ for (var a = s > 1 ? void 0 : s ? Ue(e, i) : e, r = t.length - 1, n; r >= 0; r--)
1676
1675
  (n = t[r]) && (a = (s ? n(e, i, a) : n(a)) || a);
1677
- return s && a && Ue(e, i, a), a;
1676
+ return s && a && Le(e, i, a), a;
1678
1677
  };
1679
1678
  let O = class extends B {
1680
1679
  constructor() {
@@ -1705,14 +1704,14 @@ let O = class extends B {
1705
1704
  return A`<cx-details class="details" ?open=${this.open} @cx-show=${this.onShowDetails} @cx-hide=${this.onHideDetails}><cx-space slot="summary" align-items="center"><div class="details__summary__icon"><div part="icon"><cx-icon name="short_text"></cx-icon></div></div><cx-typography variant="body2">${this.localize.term("metadata")}</cx-typography></cx-space><cx-space spacing="small"><cx-tooltip data-testid="cx-asset-link-format-metadata-tooltip" content=${this.localize.term("metadataHelpText")} hoist><cx-checkbox data-testid="cx-asset-link-format-metadata" class="details__checkbox" ?checked=${this.value} @cx-change=${this.handleApply}>${this.localize.term("preserveMetadata")}</cx-checkbox></cx-tooltip></cx-space></cx-details>`;
1706
1705
  }
1707
1706
  };
1708
- O.styles = [V, Le];
1707
+ O.styles = [V, Oe];
1709
1708
  O.dependencies = {
1710
1709
  "cx-button": Z,
1711
- "cx-checkbox": se,
1710
+ "cx-checkbox": ie,
1712
1711
  "cx-details": et,
1713
1712
  "cx-icon": it,
1714
1713
  "cx-space": L,
1715
- "cx-tooltip": Lt,
1714
+ "cx-tooltip": Ot,
1716
1715
  "cx-typography": U
1717
1716
  };
1718
1717
  yt([
@@ -1727,10 +1726,10 @@ yt([
1727
1726
  O = yt([
1728
1727
  G("cx-asset-link-format-metadata")
1729
1728
  ], O);
1730
- var qe = Object.defineProperty, je = Object.getOwnPropertyDescriptor, S = (t, e, i, s) => {
1731
- for (var a = s > 1 ? void 0 : s ? je(e, i) : e, r = t.length - 1, n; r >= 0; r--)
1729
+ var Be = Object.defineProperty, qe = Object.getOwnPropertyDescriptor, S = (t, e, i, s) => {
1730
+ for (var a = s > 1 ? void 0 : s ? qe(e, i) : e, r = t.length - 1, n; r >= 0; r--)
1732
1731
  (n = t[r]) && (a = (s ? n(e, i, a) : n(a)) || a);
1733
- return s && a && qe(e, i, a), a;
1732
+ return s && a && Be(e, i, a), a;
1734
1733
  };
1735
1734
  let x = class extends B {
1736
1735
  constructor() {
@@ -1830,7 +1829,7 @@ let x = class extends B {
1830
1829
  }, this.rotation = 0, this.defaultSize = {
1831
1830
  height: 0,
1832
1831
  width: 0
1833
- }, this.cropperElement = null, this.parameters = [], this.loading = !1, this.lastAction = void 0, this.frozenIndex = void 0, this.preResetTransformations = void 0, this.apiGetTransformAssetLink = fe, this.apiGetCropFocusMode = Ce, this.onCropComplete = this.onCropComplete.bind(this), this.onCropDragStart = this.onCropDragStart.bind(this);
1832
+ }, this.cropperElement = null, this.parameters = [], this.loading = !1, this.lastAction = void 0, this.frozenIndex = void 0, this.preResetTransformations = void 0, this.apiGetTransformAssetLink = me, this.apiGetCropFocusMode = Se, this.onCropComplete = this.onCropComplete.bind(this), this.onCropDragStart = this.onCropDragStart.bind(this);
1834
1833
  }
1835
1834
  /**
1836
1835
  * Transform requests must resolve to a web-displayable image (the browser renders the
@@ -2713,7 +2712,7 @@ let x = class extends B {
2713
2712
  x: z,
2714
2713
  y: b
2715
2714
  } = this.cropSize, u = this.focusModes.find(
2716
- (F) => F.value === h
2715
+ (_) => _.value === h
2717
2716
  )?.auto ?? !1;
2718
2717
  if (y === o.AspectRatio) {
2719
2718
  g && c && this.upsertTransformation({
@@ -2958,7 +2957,7 @@ let x = class extends B {
2958
2957
  return A`<div class="asset-link-format" @cx-show=${this.onDetailsShow} @cx-hide=${this.onDetailsHide}>${M(
2959
2958
  !this.hideHeader,
2960
2959
  () => A`<cx-space class="asset-link-format__section-header" direction="horizontal" spacing="small" align-items="center" justify-content="space-between"><cx-typography variant="body3">${this.localize.term("transformations")}</cx-typography><cx-space direction="horizontal" spacing="3x-small" align-items="center"><cx-button class="asset-link-format__undo" variant="custom" ?disabled=${!this.hasUnfrozenTransformations && this.preResetTransformations === void 0} @click=${this.handleUndo}>${this.localize.term("undo")}</cx-button>${M(this.canReset, () => A`<cx-button class="asset-link-format__reset" variant="custom" ?disabled=${this.transformations.length === 0} @click=${this.handleReset}>${this.localize.term("reset")}</cx-button>`)}</cx-space></cx-space>`,
2961
- () => Xt
2960
+ () => Qt
2962
2961
  )}
2963
2962
  ${M(
2964
2963
  !this.noFormat,
@@ -2985,15 +2984,15 @@ let x = class extends B {
2985
2984
  )}</div>`;
2986
2985
  }
2987
2986
  };
2988
- x.styles = [V, we];
2987
+ x.styles = [V, ze];
2989
2988
  x.dependencies = {
2990
2989
  "cx-asset-link-format-crop": C,
2991
2990
  "cx-asset-link-format-extension": K,
2992
2991
  "cx-asset-link-format-metadata": O,
2993
2992
  "cx-asset-link-format-proxy": E,
2994
- "cx-asset-link-format-quality": H,
2993
+ "cx-asset-link-format-quality": T,
2995
2994
  "cx-asset-link-format-resize": v,
2996
- "cx-asset-link-format-rotation": T,
2995
+ "cx-asset-link-format-rotation": H,
2997
2996
  "cx-button": Z,
2998
2997
  "cx-space": L,
2999
2998
  "cx-typography": U
@@ -3101,13 +3100,13 @@ S([
3101
3100
  R()
3102
3101
  ], x.prototype, "preResetTransformations", 2);
3103
3102
  S([
3104
- _("transformations")
3103
+ F("transformations")
3105
3104
  ], x.prototype, "handleTransformationsChange", 1);
3106
3105
  S([
3107
- _("selectedProxy")
3106
+ F("selectedProxy")
3108
3107
  ], x.prototype, "handleSelectedProxyChange", 1);
3109
3108
  S([
3110
- _("loading")
3109
+ F("loading")
3111
3110
  ], x.prototype, "handleLoadingChange", 1);
3112
3111
  x = S([
3113
3112
  G("cx-asset-link-format")
@@ -3117,25 +3116,25 @@ export {
3117
3116
  wt as D,
3118
3117
  ct as F,
3119
3118
  tt as O,
3120
- ye as a,
3121
- ce as b,
3122
- Ut as c,
3123
- Ti as d,
3119
+ xe as a,
3120
+ le as b,
3121
+ Lt as c,
3122
+ Ei as d,
3124
3123
  Hi as e,
3125
- Ei as f,
3126
- qt as g,
3124
+ Ii as f,
3125
+ Bt as g,
3127
3126
  ut as h,
3128
3127
  At as i,
3129
3128
  lt as j,
3130
- Mt as k,
3131
- It as l,
3129
+ _t as k,
3130
+ Mt as l,
3132
3131
  pt as m,
3133
3132
  dt as n,
3134
- Tt as o,
3135
- Wi as p,
3136
- oe as q,
3133
+ Et as o,
3134
+ Ti as p,
3135
+ ae as q,
3137
3136
  Fi as r,
3138
- Mi as s,
3139
- Ii as t,
3140
- ae as u
3137
+ _i as s,
3138
+ Mi as t,
3139
+ se as u
3141
3140
  };