@orangelogic/design-system 3.11.0 → 3.13.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.
- package/library/chunks/{AxisLabelRadial.fe7zjixN.js → AxisLabelRadial.WmAEaa1v.js} +1 -1
- package/library/chunks/{BaseColumnSeries.8Mpxz385.js → BaseColumnSeries.CA7CJ3dz.js} +1 -1
- package/library/chunks/{CandlestickSeries.DuadaOTa.js → CandlestickSeries.DXRjCTbq.js} +2 -2
- package/library/chunks/{Circle.6LomW0ej.js → Circle.D0OhNxs6.js} +1 -1
- package/library/chunks/{ColumnSeries.D1NLfRh5.js → ColumnSeries.B9RPnhH2.js} +2 -2
- package/library/chunks/{EditableAxisLabel.Bi9vxLDV.js → EditableAxisLabel.BMw-UWXO.js} +2 -2
- package/library/chunks/{EditableLabel.CMR3O9E-.js → EditableLabel.C4IbcCqP.js} +1 -1
- package/library/chunks/{Gradient.CquE8_a4.js → Gradient.B8nYUJGr.js} +1 -1
- package/library/chunks/{LinearGradient.CVN1VJp-.js → LinearGradient.D35vPMt3.js} +2 -2
- package/library/chunks/{Picture.BYTZ_I8g.js → Picture.BK1LgzpJ.js} +1 -1
- package/library/chunks/{Polygon.CU2sMltE.js → Polygon.sDQ7eTW_.js} +1 -1
- package/library/chunks/{ProgressPie.Dd74dbmm.js → ProgressPie.WR8hKkuu.js} +5 -5
- package/library/chunks/{RadialLabel.7ka6ND-t.js → RadialLabel.CUDs8pwi.js} +1 -1
- package/library/chunks/{Scrollbar.DqUnZReo.js → Scrollbar.CBeC4QOU.js} +1 -1
- package/library/chunks/{Slice.BVI8rfHI.js → Slice.A9JOqhaa.js} +1 -1
- package/library/chunks/{Slider.DtjYaJOw.js → Slider.IR4xGxTB.js} +1 -1
- package/library/chunks/{SpriteResizer.Ci2Wt2YJ.js → SpriteResizer.C4Pr8M2O.js} +1 -1
- package/library/chunks/{Triangle.C75emy3D.js → Triangle.B8AHSXVN.js} +1 -1
- package/library/chunks/{ZoomTools.CA9mtHI8.js → ZoomTools.Bc-o69p-.js} +1 -1
- package/library/chunks/{am-chart.Cr-vMjcY.js → am-chart._tN87j9G.js} +252 -252
- package/library/chunks/{animation.BD-1xugN.js → animation.C44TQFrM.js} +1 -1
- package/library/chunks/{asset-link-format.CxDu37Om.js → asset-link-format.DGRqjqpk.js} +134 -133
- package/library/chunks/{button.-Jl_NdgM.js → button.BQoebhw_.js} +2 -2
- package/library/chunks/{color-swatch-group.DGPlxYsp.js → color-swatch-group.D25fjSK-.js} +12 -12
- package/library/chunks/{color-swatch.Dc-IqxsX.js → color-swatch.DxxOpJXT.js} +2 -2
- package/library/chunks/{colorPicker.Cg6Zxf8f.js → colorPicker.DkLlH4Wq.js} +5 -5
- package/library/chunks/{component.styles.CRO4Odto.js → component.styles.CAS3c9pM.js} +1 -1
- package/library/chunks/{confirm-popover.mgYIjZdo.js → confirm-popover.C35rVtVI.js} +4 -4
- package/library/chunks/{dialog.YFc-HBc5.js → dialog.Dl9aHLD4.js} +2 -2
- package/library/chunks/{document-viewer.DhJ4jBNe.js → document-viewer.sz5uTo3c.js} +9 -9
- package/library/chunks/{dot-pagination.BgETAL2j.js → dot-pagination.BNoG-qx7.js} +1 -1
- package/library/chunks/{exporting.Djsoh75g.js → exporting.AEbCtXAu.js} +2 -2
- package/library/chunks/{flow.aZRVH3p1.js → flow.C_iJT08S.js} +5 -5
- package/library/chunks/{folder-select.Hl51n0ge.js → folder-select.CHY44KlA.js} +5 -5
- package/library/chunks/{gantt.Bv6_3H9y.js → gantt.MUysUK5v.js} +8 -8
- package/library/chunks/{header.BeZml2NV.js → header.v8maWlzT.js} +1 -1
- package/library/chunks/{hierarchy.C4LxmFxx.js → hierarchy.C5iJ2TzI.js} +5 -5
- package/library/chunks/{icon-button.ENVA7x3u.js → icon-button.5-oAlIkv.js} +2 -2
- package/library/chunks/{icon.CpHbi8tH.js → icon.BLXWp6CU.js} +1 -1
- package/library/chunks/{iframe.Cgy_DE7W.js → iframe.DOwG9Q7o.js} +1 -1
- package/library/chunks/{image.1ufrCtW1.js → image.BSh7WAGF.js} +3 -3
- package/library/chunks/{index.2SOQHTpX.js → index.D5h7hksG.js} +17 -17
- package/library/chunks/{index.BAJfz5QI.js → index.Nlc7Fj2h.js} +16 -16
- package/library/chunks/{input.BJ5LN8of.js → input.BRZzv6Zk.js} +2 -2
- package/library/chunks/{json.Dz5QFEi5.js → json.DF7pARBV.js} +3 -3
- package/library/chunks/{map.CBcV0WVq.js → map.BXDkCMzZ.js} +2 -2
- package/library/chunks/{markdown.CrIkpd0h.js → markdown.b03AOvFT.js} +1 -1
- package/library/chunks/{menu-item.DfsfX25P.js → menu-item.HtTWOcq4.js} +2 -2
- package/library/chunks/{option.B34is9Z5.js → option.DgxoCq1j.js} +2 -2
- package/library/chunks/{pagination.DMAcWRyI.js → pagination.DtdNeZZD.js} +6 -6
- package/library/chunks/{percent.D8mkiJ2G.js → percent.DRsIolhK.js} +3 -3
- package/library/chunks/{radar.B3p5bRix.js → radar.D-c6oTy6.js} +4 -4
- package/library/chunks/{sliceGrouper.CcRqQhZX.js → sliceGrouper.CV7jLsd5.js} +1 -1
- package/library/chunks/{stock.CQbn6zW4.js → stock.Bf_BuveB.js} +9 -9
- package/library/chunks/{tab-group.D14m1Kel.js → tab-group.BQh_hMDd.js} +4 -4
- package/library/chunks/{timeline.Czz_uBEd.js → timeline.CBzTbwCn.js} +5 -5
- package/library/chunks/{toast.CCWVobz5.js → toast.CGIDPKV8.js} +1 -1
- package/library/chunks/transformation.OaRYixzE.js +385 -0
- package/library/chunks/{tree.BEFWro0D.js → tree.DKofDMGu.js} +39 -37
- package/library/chunks/{types.D0NvE1EB.js → types.C96J8khO.js} +22431 -21719
- package/library/chunks/{typography.IqHbnd3C.js → typography.T72DuoCa.js} +1 -1
- package/library/chunks/{venn.B5Jl-c4i.js → venn.CTDnALBD.js} +1 -1
- package/library/chunks/{wc.B2THb2Kk.js → wc.DJeU7GL0.js} +1 -1
- package/library/chunks/{xy.BO6U5QrZ.js → xy.CW6DZQA8.js} +10 -10
- package/library/components/alert.js +2 -2
- package/library/components/am-chart.js +2 -2
- package/library/components/animated-image.js +2 -2
- package/library/components/animation.js +2 -2
- package/library/components/array-line-clamp.js +1 -1
- package/library/components/asset-link-format.js +5 -5
- package/library/components/atoms.js +22 -22
- package/library/components/audio.js +3 -3
- package/library/components/avatar.js +2 -2
- package/library/components/badge.js +1 -1
- package/library/components/bicolor-picker.js +1 -1
- package/library/components/border-input-group.js +2 -2
- package/library/components/breadcrumb-item.js +1 -1
- package/library/components/breadcrumb.js +2 -2
- package/library/components/button-group.js +1 -1
- package/library/components/button.js +3 -3
- package/library/components/card.js +1 -1
- package/library/components/checkbox.js +2 -2
- package/library/components/color-picker.js +4 -4
- package/library/components/color-swatch-group.js +6 -6
- package/library/components/color-swatch.js +3 -3
- package/library/components/confirm-popover.js +5 -5
- package/library/components/copy-button.js +2 -2
- package/library/components/corner-position-input-group.js +3 -3
- package/library/components/cropper.js +1 -1
- package/library/components/date-calendar.js +2 -2
- package/library/components/details.js +2 -2
- package/library/components/dialog.js +3 -3
- package/library/components/diff.js +1 -1
- package/library/components/divider.js +1 -1
- package/library/components/document-viewer.js +5 -5
- package/library/components/dot-pagination.js +2 -2
- package/library/components/dot-status.js +1 -1
- package/library/components/drawer.js +2 -2
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +3 -3
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +11 -11
- package/library/components/folder-select.js +5 -5
- package/library/components/format-time.js +1 -1
- package/library/components/grid-item.js +1 -1
- package/library/components/grid.js +1 -1
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +3 -3
- package/library/components/icon.js +2 -2
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +2 -2
- package/library/components/image.js +3 -3
- package/library/components/include.js +1 -1
- package/library/components/input-group.js +1 -1
- package/library/components/input.js +3 -3
- package/library/components/line-clamp.js +2 -2
- package/library/components/markdown.js +2 -2
- package/library/components/masonry.js +3 -3
- package/library/components/menu-item.js +3 -3
- package/library/components/menu-label.js +1 -1
- package/library/components/menu-section.js +1 -1
- package/library/components/menu.js +2 -2
- package/library/components/molecules.js +3 -3
- package/library/components/mutation-observer.js +1 -1
- package/library/components/option.js +3 -3
- package/library/components/organisms.js +2 -2
- package/library/components/padding-input-group.js +2 -2
- package/library/components/pagination.js +6 -6
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/qr-code.js +1 -1
- package/library/components/radio-button.js +1 -1
- package/library/components/radio-card.js +1 -1
- package/library/components/radio-group.js +1 -1
- package/library/components/radio.js +2 -2
- package/library/components/range.js +1 -1
- package/library/components/rating.js +2 -2
- package/library/components/relative-time.js +1 -1
- package/library/components/resize-observer.js +1 -1
- package/library/components/select.js +4 -4
- package/library/components/shadow-input-group.js +2 -2
- package/library/components/share-option-list.js +3 -3
- package/library/components/sidebar.js +3 -3
- package/library/components/size-input-group.js +3 -3
- package/library/components/skeleton.js +1 -1
- package/library/components/space.js +1 -1
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/step.js +2 -2
- package/library/components/stepper-wizard.js +2 -2
- package/library/components/stepper.js +1 -1
- package/library/components/switch.js +1 -1
- package/library/components/tab-group.js +5 -5
- package/library/components/tab-panel.js +1 -1
- package/library/components/tab.js +2 -2
- package/library/components/tag.js +2 -2
- package/library/components/textarea.js +1 -1
- package/library/components/timecode.js +2 -2
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +3 -3
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +3 -3
- package/library/components/types.js +150 -151
- package/library/components/typography.js +2 -2
- package/library/components/video.js +2 -2
- package/library/components/visually-hidden.js +1 -1
- package/library/package.json +1 -1
- package/library/packages/molecules/src/icon-picker/icon-picker.d.ts +33 -0
- package/library/packages/organisms/src/content-builder/blocks/image/image.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/blocks/video/video.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/index.d.ts +13 -2
- package/library/packages/tools/src/tiptap/extensions/google/index.d.ts +4 -0
- package/library/packages/tools/src/tiptap/extensions/paste-inline-filter/index.d.ts +28 -0
- package/library/packages/tools/src/tiptap/utils/flatten-spans.d.ts +5 -0
- package/library/packages/tools/src/tiptap/utils/normalize-tabs.d.ts +7 -0
- package/library/packages/utils/src/transformation/transformation.d.ts +10 -29
- package/library/react-web-component.d.ts +20 -0
- package/library/utils.js +94 -95
- package/package.json +1 -1
- package/library/chunks/transformation.D27sTUdZ.js +0 -392
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as s, C as x } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
|
-
import { c as m } from "./component.styles.
|
|
2
|
+
import { c as m } from "./component.styles.CAS3c9pM.js";
|
|
3
3
|
import { c as v } from "./custom-element.L4WJXn1j.js";
|
|
4
4
|
import { L as g } from "./i18n.CNnI4-0K.js";
|
|
5
5
|
import { w as d } from "./watch.DJF5K-8U.js";
|
|
@@ -8,7 +8,7 @@ import { r as f } from "./state.CSDxrqLd.js";
|
|
|
8
8
|
import { e as b } from "./query.BBf1UFkC.js";
|
|
9
9
|
import { e as y } from "./class-map.BiVq-cVR.js";
|
|
10
10
|
import { n as u } from "./when.Dr1es41R.js";
|
|
11
|
-
import { C as w } from "./icon.
|
|
11
|
+
import { C as w } from "./icon.BLXWp6CU.js";
|
|
12
12
|
import k from "../components/space.js";
|
|
13
13
|
var r = /* @__PURE__ */ ((t) => (t.Left = "left", t.Right = "right", t))(r || {});
|
|
14
14
|
const C = _`:host{-webkit-user-select:none;user-select:none;display:block}:host(:focus){outline:none}.option{font-family:var(--option-font-family), var(--cx-font-sans);font-size:var(--cx-font-size-small);font-weight:var(--option-font-weight,var(--cx-font-weight-regular));line-height:var(--cx-line-height-large);letter-spacing:var(--cx-letter-spacing-normal);color:var(--option-color,var(--cx-color-neutral-700));padding:var(--cx-spacing-x-small) var(--cx-spacing-medium) var(--cx-spacing-x-small) var(--cx-spacing-x-small);transition:var(--cx-transition-fast) fill;cursor:pointer;align-items:center;display:flex;position:relative}.option:not(.option--show-check){padding-inline:var(--cx-spacing-small)}.option--hover:not(.option--disabled){background-color:var(--cx-menu-item-background-color-hover)}.option--current,.option--current.option--disabled{background-color:var(--option-current-background-color,transparent);opacity:1}.option--selected{color:var(--option-selected-color,var(--cx-color-primary));font-weight:var(--option-selected-font-weight,var(--cx-font-weight-regular))}.option--disabled{opacity:.5;cursor:default;outline:none}.option__content{flex:1}.option__label{line-height:var(--cx-line-height-medium);flex:auto;display:inline-block}.option .option__check{visibility:hidden;flex:none;justify-content:center;align-items:center;padding-inline-end:var(--cx-spacing-2x-small);display:none}.option--show-check .option__check{display:block}.option--show-check.option--selected .option__check{visibility:visible}.option__help-text{color:var(--option-help-text-color,var(--cx-color-neutral-600));font-weight:var(--option-help-text-font-weight,var(--cx-font-weight-regular))}.option--selected .option__content .option__help-text{color:var(--option-selected-help-text-color,var(--cx-color-primary));font-weight:var(--option-selected-help-text-font-weight,var(--cx-font-weight-regular))}.option__prefix,.option__suffix{flex:none;align-items:center;display:flex}.option__prefix::slotted(*){margin-inline-end:var(--cx-spacing-x-small)}.option__suffix::slotted(*){margin-inline-start:var(--cx-spacing-x-small)}.option__prefix{align-self:var(--prefix-alignment,center)}.option__suffix{align-self:var(--suffix-alignment,center)}.option__check{align-self:var(--check-alignment,center)}@media (forced-colors:active){:host(:hover:not([aria-disabled=true])) .option{outline-offset:-1px;outline:1px dashed selecteditem}}`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import b from "../components/space.js";
|
|
2
2
|
import { n as o, C as _ } from "./lib-cortex-element.CVMmyPMC.js";
|
|
3
|
-
import { C as P, I as y } from "./icon-button.
|
|
3
|
+
import { C as P, I as y } from "./icon-button.5-oAlIkv.js";
|
|
4
4
|
import { c as f } from "./custom-element.L4WJXn1j.js";
|
|
5
5
|
import { L as z } from "./i18n.CNnI4-0K.js";
|
|
6
6
|
import { c as m } from "./math.DuKzLacZ.js";
|
|
@@ -10,13 +10,13 @@ import { r as S } from "./state.CSDxrqLd.js";
|
|
|
10
10
|
import { e as $ } from "./class-map.BiVq-cVR.js";
|
|
11
11
|
import { c as x } from "./repeat.CFjcER6_.js";
|
|
12
12
|
import { n as g } from "./when.Dr1es41R.js";
|
|
13
|
-
import { C as w } from "./button
|
|
14
|
-
import { C as v } from "./input.
|
|
15
|
-
import { C as I } from "./option.
|
|
13
|
+
import { C as w } from "./button.BQoebhw_.js";
|
|
14
|
+
import { C as v } from "./input.BRZzv6Zk.js";
|
|
15
|
+
import { C as I } from "./option.DgxoCq1j.js";
|
|
16
16
|
import B from "../components/select.js";
|
|
17
17
|
import N from "../components/tooltip.js";
|
|
18
|
-
import { C as k } from "./typography.
|
|
19
|
-
import { c as F } from "./component.styles.
|
|
18
|
+
import { C as k } from "./typography.T72DuoCa.js";
|
|
19
|
+
import { c as F } from "./component.styles.CAS3c9pM.js";
|
|
20
20
|
var u = /* @__PURE__ */ ((t) => (t.Both = "both", t.Pages = "pages", t.Rows = "rows", t))(u || {});
|
|
21
21
|
const p = 1, M = C`
|
|
22
22
|
${F}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as gt, x as P, aj as dt, H as et, q as b, ak as pt, aD as ot, J as ht, C as tt, e as v, _ as V, a as G, v as _t, a$ as rt, P as ft, b0 as mt, r as A, L as R, T as M, m as W, aE as ct, p as yt, j as w, h as T, G as J, ah as $, b3 as k, b as bt } from "./am-chart.
|
|
2
|
-
import { S as xt } from "./Slice.
|
|
3
|
-
import { R as kt } from "./RadialLabel.
|
|
1
|
+
import { D as gt, x as P, aj as dt, H as et, q as b, ak as pt, aD as ot, J as ht, C as tt, e as v, _ as V, a as G, v as _t, a$ as rt, P as ft, b0 as mt, r as A, L as R, T as M, m as W, aE as ct, p as yt, j as w, h as T, G as J, ah as $, b3 as k, b as bt } from "./am-chart._tN87j9G.js";
|
|
2
|
+
import { S as xt } from "./Slice.A9JOqhaa.js";
|
|
3
|
+
import { R as kt } from "./RadialLabel.CUDs8pwi.js";
|
|
4
4
|
class vt extends gt {
|
|
5
5
|
setupDefaultRules() {
|
|
6
6
|
super.setupDefaultRules();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as X } from "./Slice.
|
|
2
|
-
import { a_ as S, L as N, T as D, m as p, r as m, x as z, f as A, h as c, j as u, a as f, C as H, G as L, H as v, P as J, D as st, ak as W, as as Q, q as O, a$ as K, b0 as it, p as C, b1 as w, at as U, b2 as j, t as q, aV as Z } from "./am-chart.
|
|
3
|
-
import { A as tt } from "./AxisLabelRadial.
|
|
1
|
+
import { S as X } from "./Slice.A9JOqhaa.js";
|
|
2
|
+
import { a_ as S, L as N, T as D, m as p, r as m, x as z, f as A, h as c, j as u, a as f, C as H, G as L, H as v, P as J, D as st, ak as W, as as Q, q as O, a$ as K, b0 as it, p as C, b1 as w, at as U, b2 as j, t as q, aV as Z } from "./am-chart._tN87j9G.js";
|
|
3
|
+
import { A as tt } from "./AxisLabelRadial.WmAEaa1v.js";
|
|
4
4
|
import { d as Y } from "./arc.xqNd6x9S.js";
|
|
5
|
-
import { B as et } from "./BaseColumnSeries.
|
|
5
|
+
import { B as et } from "./BaseColumnSeries.CA7CJ3dz.js";
|
|
6
6
|
import { c as $ } from "./cardinalClosed.Mdce1x5M.js";
|
|
7
7
|
import { c as at } from "./cardinal.BXTAeOLk.js";
|
|
8
8
|
class G extends S {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as d, B as p, G as D, e as h } from "./am-chart.
|
|
1
|
+
import { E as d, B as p, G as D, e as h } from "./am-chart._tN87j9G.js";
|
|
2
2
|
class m extends d {
|
|
3
3
|
_afterNew() {
|
|
4
4
|
super._afterNew(), this._setRawDefault("threshold", 5), this._setRawDefault("groupName", "Other"), this._setRawDefault("clickBehavior", "none"), this.initZoomButton(), this._root.addDisposer(this);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { C as Te, B as Oe, G as Le, D as ma, x as ve, aO as pi, ak as se, q as Fe, d as S, H as W, k as ge, aj as Pi, f as fi, E as at, c as J, bf as Ke, bg as lt, bh as Ii, s as Xe, e as A, af as si, bi as Ns, M as dt, aa as V, ac as va, ab as Ti, z as Q, bj as Ni, a7 as qe, aV as H, bk as Hs, m as ct, aW as _a, av as mi, an as Dt, w as Mi, a2 as Li, ao as He, _ as _e, L as ke, T as re, as as Ei, ar as Yi, N as xa, au as vi, aq as ya, V as St, at as ba, a as ne, t as zs, i as ii, aU as _i, bl as $e, W as rt, al as Ws, ah as Fi, j as xi, h as yi, a5 as ka, aB as bi, F as wa, I as Ca, b as Oi, R as Da, a0 as Sa, bm as Se, ap as Aa, bn as Pa, a9 as ki, bo as Vi, bp as Ia, bq as yt } from "./am-chart.
|
|
2
|
-
import { M as Xi, S as Ta, L as Bi, B as ai, E as Na } from "./SpriteResizer.
|
|
3
|
-
import { a as Ri, G as wi, A as Ci } from "./CandlestickSeries.
|
|
4
|
-
import { B as Ma } from "./BaseColumnSeries.
|
|
5
|
-
import { C as Qe } from "./ColumnSeries.
|
|
6
|
-
import { C as Di } from "./Circle.
|
|
7
|
-
import { T as La } from "./Triangle.
|
|
8
|
-
import { E as Ea } from "./EditableLabel.
|
|
9
|
-
import { Serializer as Hi } from "./json.
|
|
1
|
+
import { C as Te, B as Oe, G as Le, D as ma, x as ve, aO as pi, ak as se, q as Fe, d as S, H as W, k as ge, aj as Pi, f as fi, E as at, c as J, bf as Ke, bg as lt, bh as Ii, s as Xe, e as A, af as si, bi as Ns, M as dt, aa as V, ac as va, ab as Ti, z as Q, bj as Ni, a7 as qe, aV as H, bk as Hs, m as ct, aW as _a, av as mi, an as Dt, w as Mi, a2 as Li, ao as He, _ as _e, L as ke, T as re, as as Ei, ar as Yi, N as xa, au as vi, aq as ya, V as St, at as ba, a as ne, t as zs, i as ii, aU as _i, bl as $e, W as rt, al as Ws, ah as Fi, j as xi, h as yi, a5 as ka, aB as bi, F as wa, I as Ca, b as Oi, R as Da, a0 as Sa, bm as Se, ap as Aa, bn as Pa, a9 as ki, bo as Vi, bp as Ia, bq as yt } from "./am-chart._tN87j9G.js";
|
|
2
|
+
import { M as Xi, S as Ta, L as Bi, B as ai, E as Na } from "./SpriteResizer.C4Pr8M2O.js";
|
|
3
|
+
import { a as Ri, G as wi, A as Ci } from "./CandlestickSeries.DXRjCTbq.js";
|
|
4
|
+
import { B as Ma } from "./BaseColumnSeries.CA7CJ3dz.js";
|
|
5
|
+
import { C as Qe } from "./ColumnSeries.B9RPnhH2.js";
|
|
6
|
+
import { C as Di } from "./Circle.D0OhNxs6.js";
|
|
7
|
+
import { T as La } from "./Triangle.B8AHSXVN.js";
|
|
8
|
+
import { E as Ea } from "./EditableLabel.C4IbcCqP.js";
|
|
9
|
+
import { Serializer as Hi } from "./json.DF7pARBV.js";
|
|
10
10
|
class At extends Te {
|
|
11
11
|
constructor() {
|
|
12
12
|
super(...arguments), this.upButton = this.children.push(Oe.new(this._root, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import zn from "../components/resize-observer.js";
|
|
2
2
|
import { n as wt, C as Bn } from "./lib-cortex-element.CVMmyPMC.js";
|
|
3
|
-
import { c as Fn } from "./component.styles.
|
|
3
|
+
import { c as Fn } from "./component.styles.CAS3c9pM.js";
|
|
4
4
|
import { c as Nn } from "./custom-element.L4WJXn1j.js";
|
|
5
5
|
import { L as Ln } from "./i18n.CNnI4-0K.js";
|
|
6
6
|
import { s as Zi } from "./scroll.xtO5yojm.js";
|
|
@@ -17,11 +17,11 @@ import { i as Ji } from "./guard.D4axKaMo.js";
|
|
|
17
17
|
import { o as tr } from "./map.D8heArFD.js";
|
|
18
18
|
import { o as Ve } from "./style-map.llVFPd__.js";
|
|
19
19
|
import { n as Pe } from "./when.Dr1es41R.js";
|
|
20
|
-
import { C as Yn } from "./button
|
|
20
|
+
import { C as Yn } from "./button.BQoebhw_.js";
|
|
21
21
|
import Xn from "../components/dropdown.js";
|
|
22
|
-
import { C as qn } from "./icon-button.
|
|
22
|
+
import { C as qn } from "./icon-button.5-oAlIkv.js";
|
|
23
23
|
import Gn from "../components/menu.js";
|
|
24
|
-
import { C as Kn } from "./menu-item.
|
|
24
|
+
import { C as Kn } from "./menu-item.HtTWOcq4.js";
|
|
25
25
|
import jn from "../components/tab.js";
|
|
26
26
|
var bi = /* @__PURE__ */ ((o) => (o.Bottom = "bottom", o.End = "end", o.Start = "start", o.Top = "top", o))(bi || {}), Ke = /* @__PURE__ */ ((o) => (o.Center = "center", o.End = "flex-end", o.Start = "flex-start", o))(Ke || {}), wr = /* @__PURE__ */ ((o) => (o.Auto = "auto", o.Manual = "manual", o))(wr || {}), ue = /* @__PURE__ */ ((o) => (o.Button = "button", o.Default = "default", o.Timeline = "timeline", o))(ue || {}), Tt = /* @__PURE__ */ ((o) => (o.Dropdown = "dropdown", o.Pagination = "pagination", o.Scroll = "scroll", o))(Tt || {}), Ut = /* @__PURE__ */ ((o) => (o.Absolute = "absolute", o.DisplayNone = "display-none", o))(Ut || {});
|
|
27
27
|
function Dt(o) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { S as $ } from "./Slice.
|
|
2
|
-
import { a_ as I, L as Y, T as D, aX as ee, m as L, e as P, ao as S, ah as R, j as A, h as C, a as _, D as te, H as X, as as J, C as se, q as b, G as k, r as G, K as ie, t as q, aV as Q, at as U } from "./am-chart.
|
|
3
|
-
import { A as ne } from "./AxisLabelRadial.
|
|
1
|
+
import { S as $ } from "./Slice.A9JOqhaa.js";
|
|
2
|
+
import { a_ as I, L as Y, T as D, aX as ee, m as L, e as P, ao as S, ah as R, j as A, h as C, a as _, D as te, H as X, as as J, C as se, q as b, G as k, r as G, K as ie, t as q, aV as Q, at as U } from "./am-chart._tN87j9G.js";
|
|
3
|
+
import { A as ne } from "./AxisLabelRadial.WmAEaa1v.js";
|
|
4
4
|
import { d as ae } from "./arc.xqNd6x9S.js";
|
|
5
|
-
import { B as Z } from "./BaseColumnSeries.
|
|
6
|
-
import { P as K } from "./Polygon.
|
|
5
|
+
import { B as Z } from "./BaseColumnSeries.CA7CJ3dz.js";
|
|
6
|
+
import { P as K } from "./Polygon.sDQ7eTW_.js";
|
|
7
7
|
class V extends I {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this.labels = this.addDisposer(new Y(D.new({}), () => ee._new(this._root, {
|
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
import { c as k } from "./capitalize.CIBKBL10.js";
|
|
2
|
+
import { C as $, T as R, U as M } from "./asset-link-format.ClaYu_v8.js";
|
|
3
|
+
import { P as v } from "./position-picker.DjnhxIKF.js";
|
|
4
|
+
const y = window.location.origin.includes("localhost:") ? "https://local.orangelogic.com" : window.location.origin;
|
|
5
|
+
function ae(e, i, n, u = y) {
|
|
6
|
+
const c = new URL(u + "/" + e);
|
|
7
|
+
return Array.isArray(n) ? n.forEach((a) => {
|
|
8
|
+
a[1] && c.searchParams.append(a[0], a[1]);
|
|
9
|
+
}) : n && Object.keys(n).forEach((a) => {
|
|
10
|
+
n[a] && c.searchParams.append(a, n[a]);
|
|
11
|
+
}), fetch(c, i);
|
|
12
|
+
}
|
|
13
|
+
const oe = "space-default";
|
|
14
|
+
var L = /* @__PURE__ */ ((e) => (e.Desktop = "desktop", e.Mobile = "mobile", e.Tablet = "tablet", e))(L || {});
|
|
15
|
+
const w = {
|
|
16
|
+
canvasWidth: "",
|
|
17
|
+
height: "",
|
|
18
|
+
id: "desktop",
|
|
19
|
+
maxWidth: "",
|
|
20
|
+
name: k(
|
|
21
|
+
"desktop"
|
|
22
|
+
/* Desktop */
|
|
23
|
+
)
|
|
24
|
+
}, F = {
|
|
25
|
+
canvasWidth: "770px",
|
|
26
|
+
height: "",
|
|
27
|
+
id: "tablet",
|
|
28
|
+
maxWidth: "1280px",
|
|
29
|
+
name: k(
|
|
30
|
+
"tablet"
|
|
31
|
+
/* Tablet */
|
|
32
|
+
)
|
|
33
|
+
}, W = {
|
|
34
|
+
canvasWidth: "320px",
|
|
35
|
+
height: "",
|
|
36
|
+
id: "mobile",
|
|
37
|
+
maxWidth: "480px",
|
|
38
|
+
name: k(
|
|
39
|
+
"mobile"
|
|
40
|
+
/* Mobile */
|
|
41
|
+
)
|
|
42
|
+
}, re = [w, F, W];
|
|
43
|
+
var B = /* @__PURE__ */ ((e) => (e.All = "ALL", e.CanDelete = "CanDelete", e.CanDownload = "CanDownload", e.CanFind = "CanFind", e.CanManageRights = "CanManageRights", e.CanMove = "CanMove", e.CanRead = "CanRead", e.CanReadAll = "CanReadAll", e.CanReadAndWrite = "CanReadAndWrite", e.CanReadLarge = "CanReadLarge", e.CanReadMedium = "CanReadMedium", e.CanReadOriginal = "CanReadOriginal", e.CanShare = "CanShare", e.CanUpload = "CanUpload", e.CanWrite = "CanWrite", e.None = "NONE", e))(B || {}), D = /* @__PURE__ */ ((e) => (e.All = "all", e.Audio = "audio", e.Image = "image", e.Other = "other", e.Video = "video", e))(D || {}), U = /* @__PURE__ */ ((e) => (e.Content = "content", e.Template = "template", e))(U || {}), G = /* @__PURE__ */ ((e) => (e.Administrator = "Administrator", e.Designer = "Designer", e.Editor = "Editor", e))(G || {}), I = /* @__PURE__ */ ((e) => (e.Accordion = "BlockAccordion", e.Analytics = "BlockAnalytics", e.Audio = "BlockAudio", e.Button = "BlockButton", e.Carousel = "BlockCarousel", e.ColorSwatches = "BlockColorSwatches", e.Column = "BlockCell", e.ColumnGroup = "BlockColumns", e.DamView = "BlockDamView", e.Divider = "BlockDivider", e.DocumentViewer = "BlockDocumentViewer", e.FontKit = "BlockFontKit", e.Gallery = "BlockGallery", e.Header = "BlockHeader", e.Image = "BlockImage", e.RichText = "BlockRichText", e.SearchBox = "BlockSearchBox", e.TabGroup = "BlockTabs", e.Text = "BlockText", e.Timeline = "BlockTimeline", e.Video = "BlockVideo", e))(I || {});
|
|
44
|
+
const se = Object.values(I).filter(
|
|
45
|
+
(e) => e !== "BlockCell"
|
|
46
|
+
/* Column */
|
|
47
|
+
);
|
|
48
|
+
var K = /* @__PURE__ */ ((e) => (e.Carousel = "carousel", e.Gallery = "gallery", e))(K || {}), j = /* @__PURE__ */ ((e) => (e.Templates = "TEMPLATES", e.TranslatableAttributes = "TRANSLATABLE_ATTRIBUTES", e.TranslatableTexts = "TRANSLATABLE_TEXTS", e))(j || {});
|
|
49
|
+
const _ = "/AssetLink/", V = {
|
|
50
|
+
[v.BottomCenter]: $.South,
|
|
51
|
+
[v.BottomLeft]: $.Southwest,
|
|
52
|
+
[v.BottomRight]: $.Southeast,
|
|
53
|
+
[v.CenterCenter]: $.Center,
|
|
54
|
+
[v.CenterLeft]: $.West,
|
|
55
|
+
[v.CenterRight]: $.East,
|
|
56
|
+
[v.TopCenter]: $.North,
|
|
57
|
+
[v.TopLeft]: $.Northwest,
|
|
58
|
+
[v.TopRight]: $.Northeast
|
|
59
|
+
}, g = "/t/", X = [400, 800, 1200, 1600, 2400], z = 0.15;
|
|
60
|
+
function H({
|
|
61
|
+
asset: e,
|
|
62
|
+
baseUrl: i,
|
|
63
|
+
extension: n,
|
|
64
|
+
options: u,
|
|
65
|
+
parameters: c,
|
|
66
|
+
transformations: a,
|
|
67
|
+
useSession: h = ""
|
|
68
|
+
}) {
|
|
69
|
+
if (i == null)
|
|
70
|
+
return "";
|
|
71
|
+
let r = i;
|
|
72
|
+
const f = a?.findLast(
|
|
73
|
+
(l) => l.key === R.Quality
|
|
74
|
+
);
|
|
75
|
+
if (f && (a = [
|
|
76
|
+
...a?.filter(
|
|
77
|
+
(l) => l.key !== R.Quality
|
|
78
|
+
) || [],
|
|
79
|
+
f
|
|
80
|
+
]), a) {
|
|
81
|
+
const l = [];
|
|
82
|
+
for (let t = 0; t < a.length; t++) {
|
|
83
|
+
const d = a[t];
|
|
84
|
+
if (d.key === R.Rotate) {
|
|
85
|
+
let o = d.value.rotation ?? 0;
|
|
86
|
+
for (; a[t + 1]?.key === R.Rotate; )
|
|
87
|
+
t++, o += a[t].value.rotation ?? 0;
|
|
88
|
+
o !== 0 && l.push({ key: R.Rotate, value: { rotation: o } });
|
|
89
|
+
} else
|
|
90
|
+
l.push(d);
|
|
91
|
+
}
|
|
92
|
+
a = l;
|
|
93
|
+
}
|
|
94
|
+
a && a.length > 0 && (r += "/t/"), a?.forEach(({ key: l, value: t }) => {
|
|
95
|
+
if (l === R.Resize) {
|
|
96
|
+
if (t.unit === M.AspectRatio && t.ratioWidth && t.ratioHeight) {
|
|
97
|
+
r += `re_ar_${t.ratioWidth}:${t.ratioHeight}/`;
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
const d = [
|
|
101
|
+
...[
|
|
102
|
+
{
|
|
103
|
+
key: "re_w_",
|
|
104
|
+
value: Math.round(t.width ?? 0)
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
key: "re_h_",
|
|
108
|
+
value: Math.round(t.height ?? 0)
|
|
109
|
+
}
|
|
110
|
+
].filter((o) => o.value !== void 0).map((o) => ({
|
|
111
|
+
key: o.key,
|
|
112
|
+
value: Math.round(Number(o.value))
|
|
113
|
+
})),
|
|
114
|
+
{
|
|
115
|
+
key: "re_rm_",
|
|
116
|
+
value: "stretch"
|
|
117
|
+
}
|
|
118
|
+
];
|
|
119
|
+
d.forEach(({ key: o, value: m }, A) => {
|
|
120
|
+
r += `${o}${m}${A < d.length - 1 ? "," : ""}`;
|
|
121
|
+
}), r += "/";
|
|
122
|
+
}
|
|
123
|
+
if (l === R.Crop) {
|
|
124
|
+
const d = t.unit === M.AspectRatio && !!t.ratioWidth && !!t.ratioHeight, o = !t.disabledSize && !d, m = o && (t.x !== void 0 || t.y !== void 0), A = [
|
|
125
|
+
...[
|
|
126
|
+
{
|
|
127
|
+
key: "c_",
|
|
128
|
+
value: t.mode
|
|
129
|
+
},
|
|
130
|
+
...d ? [
|
|
131
|
+
{
|
|
132
|
+
key: "ar_",
|
|
133
|
+
value: `${t.ratioWidth}:${t.ratioHeight}`
|
|
134
|
+
}
|
|
135
|
+
] : [],
|
|
136
|
+
...o ? [
|
|
137
|
+
{
|
|
138
|
+
key: "c_w_",
|
|
139
|
+
value: Math.round(t.width ?? 0)
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
key: "c_h_",
|
|
143
|
+
value: Math.round(t.height ?? 0)
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
key: "c_x_",
|
|
147
|
+
value: Math.round(t.x ?? 0) === 0 && u?.omitZeroXY ? void 0 : Math.round(t.x ?? 0)
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
key: "c_y_",
|
|
151
|
+
value: Math.round(t.y ?? 0) === 0 && u?.omitZeroXY ? void 0 : Math.round(t.y ?? 0)
|
|
152
|
+
}
|
|
153
|
+
] : [],
|
|
154
|
+
...!m && t.focusMode && t.focusMode !== "manual" ? [
|
|
155
|
+
{
|
|
156
|
+
key: t.isFocusModeAuto ? "acm_" : "c_g_",
|
|
157
|
+
value: t.focusMode
|
|
158
|
+
}
|
|
159
|
+
] : [],
|
|
160
|
+
...!m && t.focusMode === "manual" && t.position ? [
|
|
161
|
+
{
|
|
162
|
+
key: "c_g_",
|
|
163
|
+
value: V[t.position]
|
|
164
|
+
}
|
|
165
|
+
] : []
|
|
166
|
+
].filter((C) => C.value !== void 0 && C.value !== null).map((C) => ({
|
|
167
|
+
key: C.key,
|
|
168
|
+
value: C.value
|
|
169
|
+
})),
|
|
170
|
+
...d ? [] : [
|
|
171
|
+
{
|
|
172
|
+
key: "c_whu_",
|
|
173
|
+
value: "pixel"
|
|
174
|
+
}
|
|
175
|
+
]
|
|
176
|
+
];
|
|
177
|
+
A.forEach(({ key: C, value: b }, x) => {
|
|
178
|
+
const p = ["c_w_", "c_h_", "c_x_", "c_y_"].includes(C);
|
|
179
|
+
r += `${C}${p ? Math.round(Number(b)) : b}${x < A.length - 1 ? "," : ""}`;
|
|
180
|
+
}), r += "/";
|
|
181
|
+
}
|
|
182
|
+
if (l === R.Rotate && ([
|
|
183
|
+
{
|
|
184
|
+
key: "r_a_",
|
|
185
|
+
value: t.rotation
|
|
186
|
+
}
|
|
187
|
+
].filter((o) => o.value !== void 0).map((o) => ({
|
|
188
|
+
key: o.key,
|
|
189
|
+
value: Math.round(Number(o.value))
|
|
190
|
+
})).forEach(({ key: o, value: m }) => {
|
|
191
|
+
r += `${o}${m}`;
|
|
192
|
+
}), r += "/"), l === R.Quality) {
|
|
193
|
+
const d = [
|
|
194
|
+
{
|
|
195
|
+
key: "q_level_",
|
|
196
|
+
value: t.quality
|
|
197
|
+
}
|
|
198
|
+
].filter((o) => o.value !== void 0).map((o) => ({
|
|
199
|
+
key: o.key,
|
|
200
|
+
value: Math.round(Number(o.value))
|
|
201
|
+
}));
|
|
202
|
+
d.forEach(({ key: o, value: m }, A) => {
|
|
203
|
+
r += `${o}${m}${A < d.length - 1 ? "," : ""}`;
|
|
204
|
+
}), r += "/";
|
|
205
|
+
}
|
|
206
|
+
if (l === R.Metadata) {
|
|
207
|
+
const d = [
|
|
208
|
+
{
|
|
209
|
+
key: "fl_keep_metadata",
|
|
210
|
+
value: t.keepMetadata
|
|
211
|
+
}
|
|
212
|
+
].filter((o) => o.value !== void 0).map((o) => ({ key: o.key, value: o.value }));
|
|
213
|
+
d.forEach(({ key: o }, m) => {
|
|
214
|
+
r += `${o}${m < d.length - 1 ? "," : ""}`;
|
|
215
|
+
}), r += "/";
|
|
216
|
+
}
|
|
217
|
+
}), n && (r += `${e?.identifier ?? crypto.randomUUID()}${n}`);
|
|
218
|
+
const s = [];
|
|
219
|
+
return c && c.length > 0 && c.forEach(({ key: l, value: t }) => {
|
|
220
|
+
s.push(
|
|
221
|
+
`${encodeURIComponent(l.trim())}=${encodeURIComponent(t.trim())}`
|
|
222
|
+
);
|
|
223
|
+
}), i && h && s.push(`UseSession=${encodeURIComponent(h)}`), s.length > 0 && (r += `?${s.join("&")}`), r.endsWith("/") && (r = r.slice(0, -1)), r;
|
|
224
|
+
}
|
|
225
|
+
const E = ".auto";
|
|
226
|
+
function ce(e, i, n = {}) {
|
|
227
|
+
const u = n.format === T && S(n.extension), c = !!n.autoFormat && !u;
|
|
228
|
+
if (!e || !i?.length && !c)
|
|
229
|
+
return e;
|
|
230
|
+
const a = i?.length ? H({ baseUrl: "", transformations: i }).replace(/\/t\//g, "") : "";
|
|
231
|
+
if (!a && !c)
|
|
232
|
+
return e;
|
|
233
|
+
const h = e.indexOf(_);
|
|
234
|
+
if (h < 0)
|
|
235
|
+
return a ? `${e}${g}${a}` : e;
|
|
236
|
+
const r = e.slice(0, h + _.length), f = e.slice(h + _.length);
|
|
237
|
+
if (!f)
|
|
238
|
+
return e;
|
|
239
|
+
const s = f.indexOf(g), l = s >= 0, t = f.indexOf("/"), d = l ? s : t, o = d >= 0 ? f.slice(0, d) : f, m = l ? f.slice(s + g.length) : t >= 0 ? f.slice(t + 1) : "", A = m.slice(m.lastIndexOf("/") + 1), C = A ? `${A.replace(/\.[^.]+$/, "")}${E}` : `${o.replace(/\.[^.]+$/, "")}${E}`, x = [a, c ? C : l ? "" : A].filter(
|
|
240
|
+
Boolean
|
|
241
|
+
);
|
|
242
|
+
return x.length === 0 ? e : `${r}${o}${g}${x.join("/")}`;
|
|
243
|
+
}
|
|
244
|
+
function Y(e) {
|
|
245
|
+
return `re_w_${Math.round(e)}`;
|
|
246
|
+
}
|
|
247
|
+
function q(e, i) {
|
|
248
|
+
if (!e || !Number.isFinite(i) || i <= 0)
|
|
249
|
+
return e;
|
|
250
|
+
const n = e.indexOf(_);
|
|
251
|
+
if (n < 0)
|
|
252
|
+
return e;
|
|
253
|
+
const u = Y(i), c = e.slice(0, n + _.length), a = e.slice(n + _.length), h = a.indexOf(g);
|
|
254
|
+
if (h >= 0) {
|
|
255
|
+
const f = a.slice(0, h), s = a.slice(
|
|
256
|
+
h + g.length
|
|
257
|
+
);
|
|
258
|
+
return `${c}${f}${g}${u}/${s}`;
|
|
259
|
+
}
|
|
260
|
+
const r = a.indexOf("/");
|
|
261
|
+
if (r >= 0) {
|
|
262
|
+
const f = a.slice(0, r), s = a.slice(r);
|
|
263
|
+
return `${c}${f}${g}${u}${s}`;
|
|
264
|
+
}
|
|
265
|
+
return `${c}${a}${g}${u}`;
|
|
266
|
+
}
|
|
267
|
+
function le(e) {
|
|
268
|
+
const i = e.indexOf(_);
|
|
269
|
+
return i < 0 ? !1 : e.slice(i + _.length).includes(g);
|
|
270
|
+
}
|
|
271
|
+
function Q(e) {
|
|
272
|
+
const i = e.indexOf(_);
|
|
273
|
+
if (i < 0)
|
|
274
|
+
return !1;
|
|
275
|
+
const n = e.slice(i + _.length), u = n.indexOf(g);
|
|
276
|
+
return u < 0 ? !1 : n.slice(u + g.length).includes("/");
|
|
277
|
+
}
|
|
278
|
+
const T = "TRX", N = "TR1", Z = /* @__PURE__ */ new Set([
|
|
279
|
+
"avif",
|
|
280
|
+
"bmp",
|
|
281
|
+
"gif",
|
|
282
|
+
"ico",
|
|
283
|
+
"jpeg",
|
|
284
|
+
"jpg",
|
|
285
|
+
"png",
|
|
286
|
+
"svg",
|
|
287
|
+
"tif",
|
|
288
|
+
"tiff",
|
|
289
|
+
"webp"
|
|
290
|
+
]);
|
|
291
|
+
function O(e) {
|
|
292
|
+
if (!e)
|
|
293
|
+
return "";
|
|
294
|
+
const i = e.trim().toLowerCase();
|
|
295
|
+
return i.startsWith(".") ? i.slice(1) : i;
|
|
296
|
+
}
|
|
297
|
+
function S(e) {
|
|
298
|
+
return O(e) === "gif";
|
|
299
|
+
}
|
|
300
|
+
const J = 1e3 * 1024 * 1024, P = {
|
|
301
|
+
b: 1,
|
|
302
|
+
byte: 1,
|
|
303
|
+
bytes: 1,
|
|
304
|
+
gb: 1024 ** 3,
|
|
305
|
+
kb: 1024,
|
|
306
|
+
mb: 1024 ** 2,
|
|
307
|
+
tb: 1024 ** 4
|
|
308
|
+
};
|
|
309
|
+
function ee(e) {
|
|
310
|
+
if (typeof e == "number")
|
|
311
|
+
return Number.isFinite(e) && e >= 0 ? e : void 0;
|
|
312
|
+
if (!e)
|
|
313
|
+
return;
|
|
314
|
+
const i = /^\s*([\d.,]+)\s*([a-z]*)\s*$/i.exec(e);
|
|
315
|
+
if (!i)
|
|
316
|
+
return;
|
|
317
|
+
const n = Number(i[1].replace(/,/g, ""));
|
|
318
|
+
if (!Number.isFinite(n) || n < 0)
|
|
319
|
+
return;
|
|
320
|
+
const u = i[2].toLowerCase();
|
|
321
|
+
if (!u)
|
|
322
|
+
return n;
|
|
323
|
+
const c = P[u];
|
|
324
|
+
return c === void 0 ? void 0 : n * c;
|
|
325
|
+
}
|
|
326
|
+
function de(e, i) {
|
|
327
|
+
if (e)
|
|
328
|
+
return;
|
|
329
|
+
const n = typeof i == "number" ? i : Number(i ?? "");
|
|
330
|
+
return Number.isFinite(n) && n > 0 ? n : void 0;
|
|
331
|
+
}
|
|
332
|
+
function ue(e, i) {
|
|
333
|
+
if (!Z.has(O(e)))
|
|
334
|
+
return N;
|
|
335
|
+
const n = ee(i);
|
|
336
|
+
return n !== void 0 && n > J ? N : T;
|
|
337
|
+
}
|
|
338
|
+
function fe(e, i = {}) {
|
|
339
|
+
if (!e.includes(_) || Q(e) || i.format === T && S(i.extension))
|
|
340
|
+
return "";
|
|
341
|
+
const { maxWidth: n, widths: u = X } = i, c = [...u].filter((s) => Number.isFinite(s) && s > 0).sort((s, l) => s - l);
|
|
342
|
+
if (c.length === 0)
|
|
343
|
+
return "";
|
|
344
|
+
let a = c;
|
|
345
|
+
if (n !== void 0 && Number.isFinite(n) && n > 0) {
|
|
346
|
+
const s = c.filter((l) => l <= n);
|
|
347
|
+
a = s.length > 0 ? s : [c[0]];
|
|
348
|
+
}
|
|
349
|
+
const h = n !== void 0 && Number.isFinite(n) && n > 0, f = (h ? a.filter(
|
|
350
|
+
(s) => n > s * (1 + z)
|
|
351
|
+
) : a).map(
|
|
352
|
+
(s) => `${q(e, s)} ${s}w`
|
|
353
|
+
);
|
|
354
|
+
return h && f.push(`${e} ${n}w`), f.join(", ");
|
|
355
|
+
}
|
|
356
|
+
function he(e, i = 100) {
|
|
357
|
+
return !Number.isFinite(e) || e <= 0 ? "" : `${Math.ceil(e / i) * i}px`;
|
|
358
|
+
}
|
|
359
|
+
export {
|
|
360
|
+
D as A,
|
|
361
|
+
I as B,
|
|
362
|
+
L as D,
|
|
363
|
+
U as E,
|
|
364
|
+
B as P,
|
|
365
|
+
oe as S,
|
|
366
|
+
G as T,
|
|
367
|
+
ce as a,
|
|
368
|
+
fe as b,
|
|
369
|
+
de as c,
|
|
370
|
+
H as d,
|
|
371
|
+
K as e,
|
|
372
|
+
ae as f,
|
|
373
|
+
he as g,
|
|
374
|
+
j as h,
|
|
375
|
+
se as i,
|
|
376
|
+
re as j,
|
|
377
|
+
X as k,
|
|
378
|
+
E as l,
|
|
379
|
+
q as m,
|
|
380
|
+
le as n,
|
|
381
|
+
N as o,
|
|
382
|
+
J as p,
|
|
383
|
+
ee as q,
|
|
384
|
+
ue as r
|
|
385
|
+
};
|