@orangelogic/design-system 2.97.0 → 2.98.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.
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import jK from "./alert.js";
|
|
2
2
|
import { bv as Xb } from "../chunks/am-chart.H2jnOzFc.js";
|
|
3
|
-
import { bw as
|
|
4
|
-
import { default as
|
|
5
|
-
import { C as
|
|
6
|
-
import { default as
|
|
7
|
-
import { default as
|
|
3
|
+
import { bw as Eqt } from "../chunks/am-chart.H2jnOzFc.js";
|
|
4
|
+
import { default as Oqt } from "./animated-image.js";
|
|
5
|
+
import { C as Dqt } from "../chunks/animation.7ifl4x2S.js";
|
|
6
|
+
import { default as Pqt } from "./array-line-clamp.js";
|
|
7
|
+
import { default as Lqt } from "./avatar.js";
|
|
8
8
|
import Jb from "./badge.js";
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
9
|
+
import { default as Bqt } from "./breadcrumb.js";
|
|
10
|
+
import { default as zqt } from "./breadcrumb-item.js";
|
|
11
11
|
import { C as ki, B as kc, a as Sc } from "../chunks/button.CAa1kvwe.js";
|
|
12
12
|
import d9 from "./button-group.js";
|
|
13
13
|
import Ih from "./card.js";
|
|
@@ -18,11 +18,11 @@ import DR from "./details.js";
|
|
|
18
18
|
import { C as Ha, D as E1 } from "../chunks/dialog.BLaxLMSc.js";
|
|
19
19
|
import Ql from "./divider.js";
|
|
20
20
|
import { d as UK, C as qK } from "../chunks/dot-pagination.-nDdQxJN.js";
|
|
21
|
-
import { default as
|
|
22
|
-
import { default as
|
|
21
|
+
import { default as jqt } from "./dot-status.js";
|
|
22
|
+
import { default as Uqt } from "./drawer.js";
|
|
23
23
|
import Rd from "./dropdown.js";
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
24
|
+
import { default as Vqt } from "./e-chart.js";
|
|
25
|
+
import { default as Gqt } from "./element-clamp.js";
|
|
26
26
|
import VK from "./format-bytes.js";
|
|
27
27
|
import WK from "./format-date.js";
|
|
28
28
|
import GK from "./format-number.js";
|
|
@@ -31,15 +31,15 @@ import am from "./grid.js";
|
|
|
31
31
|
import sm from "./grid-item.js";
|
|
32
32
|
import { C as PR, V as KK, A as YK } from "../chunks/header.BZxyeLPK.js";
|
|
33
33
|
import { H as XK, a as JK } from "../chunks/hub-connection.Ot2odiCz.js";
|
|
34
|
-
import { C as
|
|
34
|
+
import { C as Yqt } from "../chunks/hub-connection.Ot2odiCz.js";
|
|
35
35
|
import io from "./icon.js";
|
|
36
36
|
import { C as yo } from "../chunks/icon-button.C2s3pHG4.js";
|
|
37
37
|
import { C as ZK, a as QK } from "../chunks/iframe.DPccxsnE.js";
|
|
38
38
|
import { H as Ai, C as NR, a as eY, b as Sn, c as tY, d as ea, e as La, f as to } from "../chunks/image.Cc4V85ID.js";
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
39
|
+
import { default as Jqt } from "./image-comparer.js";
|
|
40
|
+
import { default as Qqt } from "./include.js";
|
|
41
41
|
import jo from "./input.js";
|
|
42
|
-
import { default as
|
|
42
|
+
import { default as tVt } from "./input-group.js";
|
|
43
43
|
import Bd from "./line-clamp.js";
|
|
44
44
|
import u9 from "./markdown.js";
|
|
45
45
|
import Fd from "./menu.js";
|
|
@@ -51,71 +51,71 @@ import { C as Dc, a as iY } from "../chunks/option.DGXQzdtb.js";
|
|
|
51
51
|
import { C as oY } from "../chunks/pagination.DZqKSA86.js";
|
|
52
52
|
import Pc from "./popup.js";
|
|
53
53
|
import aY from "./progress-bar.js";
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
54
|
+
import { default as rVt } from "./progress-ring.js";
|
|
55
|
+
import { default as oVt } from "./qr-code.js";
|
|
56
56
|
import RR from "./radio.js";
|
|
57
57
|
import sY from "./radio-button.js";
|
|
58
58
|
import cY from "./radio-card.js";
|
|
59
59
|
import p9 from "./radio-group.js";
|
|
60
60
|
import h9 from "./range.js";
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
61
|
+
import { default as sVt } from "./rating.js";
|
|
62
|
+
import { default as lVt } from "./relative-time.js";
|
|
63
63
|
import Zb from "./resize-observer.js";
|
|
64
64
|
import ed from "./select.js";
|
|
65
|
-
import { default as
|
|
65
|
+
import { default as uVt } from "./skeleton.js";
|
|
66
66
|
import ci from "./space.js";
|
|
67
67
|
import td from "./spinner.js";
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as
|
|
70
|
-
import { default as
|
|
68
|
+
import { default as hVt } from "./split-panel.js";
|
|
69
|
+
import { default as mVt } from "./step.js";
|
|
70
|
+
import { default as vVt } from "./stepper.js";
|
|
71
71
|
import Qb from "./switch.js";
|
|
72
72
|
import ck from "./tab.js";
|
|
73
73
|
import { C as lk, T as g9, a as m9, b as f9, g as VO } from "../chunks/tab-group.BhCf9Smq.js";
|
|
74
74
|
import { C as v9 } from "../chunks/table.V5PGGTfO.js";
|
|
75
75
|
import y9 from "./tab-panel.js";
|
|
76
|
-
import { default as
|
|
76
|
+
import { default as bVt } from "./tag.js";
|
|
77
77
|
import BR from "./textarea.js";
|
|
78
78
|
import lY from "./timecode.js";
|
|
79
79
|
import Ho from "./tooltip.js";
|
|
80
80
|
import { d as dY, v as e0 } from "../chunks/tree.DZa7k-4E.js";
|
|
81
|
-
import { a as
|
|
81
|
+
import { a as xVt, C as kVt } from "../chunks/tree.DZa7k-4E.js";
|
|
82
82
|
import { C as mi, T as q_ } from "../chunks/typography.DJC_UXgs.js";
|
|
83
|
-
import { default as
|
|
83
|
+
import { default as CVt } from "./video.js";
|
|
84
84
|
import uY from "./visually-hidden.js";
|
|
85
|
-
import { getAnimationNames as
|
|
85
|
+
import { getAnimationNames as TVt, getEasingNames as EVt } from "./atoms.js";
|
|
86
86
|
import { c as Tn } from "../chunks/component.styles.CRO4Odto.js";
|
|
87
87
|
import { a as WO } from "../chunks/animation-registry.HmpwNuGH.js";
|
|
88
|
-
import { g as
|
|
88
|
+
import { g as OVt, s as IVt } from "../chunks/animation-registry.HmpwNuGH.js";
|
|
89
89
|
import { n as $, C as On } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
90
90
|
import { c as pY } from "../chunks/browser.BHOCIF_A.js";
|
|
91
|
-
import { e as
|
|
91
|
+
import { e as MVt, a as PVt, f as NVt, g as LVt, d as RVt, b as BVt, i as FVt, p as zVt, s as $Vt } from "../chunks/browser.BHOCIF_A.js";
|
|
92
92
|
import { c as wn } from "../chunks/custom-element.L4WJXn1j.js";
|
|
93
93
|
import { l as GO, u as KO } from "../chunks/scroll.xtO5yojm.js";
|
|
94
|
-
import { g as
|
|
94
|
+
import { g as HVt, s as UVt } from "../chunks/scroll.xtO5yojm.js";
|
|
95
95
|
import { w as Tt, o as hY, p as FR, q as gY, h as zR, r as mY, t as fY, m as vY, u as yY, v as bY, U as YO, x as dk, l as b9, y as A1, z as $R, S as wY, i as w9, c as xY, A as kY, d as _Y, B as CY, C as SY, f as TY, g as XO, n as EY } from "../chunks/watch.BCJD77bD.js";
|
|
96
96
|
import { b as V_, l as eg, c as JO, g as x9, d as jR, e as HR, f as ZO } from "../chunks/dom.0RpWet6y.js";
|
|
97
|
-
import { k as
|
|
97
|
+
import { k as VVt, j as WVt, a as GVt, h as KVt, i as YVt, s as XVt } from "../chunks/dom.0RpWet6y.js";
|
|
98
98
|
import { i as bn, x as V, E as ho, r as UR, T as AY, a as OY } from "../chunks/lit-element.jLBm65_O.js";
|
|
99
99
|
import { r as ye } from "../chunks/state.CSDxrqLd.js";
|
|
100
100
|
import { e as Et } from "../chunks/query.BBf1UFkC.js";
|
|
101
101
|
import { e as mn } from "../chunks/class-map.BiVq-cVR.js";
|
|
102
102
|
import { n as pt } from "../chunks/when.Dr1es41R.js";
|
|
103
103
|
import { L as Vn } from "../chunks/i18n.BABe9hN4.js";
|
|
104
|
-
import { r as
|
|
104
|
+
import { r as ZVt } from "../chunks/i18n.BABe9hN4.js";
|
|
105
105
|
import { o as no } from "../chunks/map.D8heArFD.js";
|
|
106
106
|
import { c as xh, b as IY } from "../chunks/capitalize.CNStXZBq.js";
|
|
107
107
|
import { o as lr } from "../chunks/style-map.llVFPd__.js";
|
|
108
108
|
import { readLocalStorageValue as MT, writeLocalStorageValue as DY, isModKey as qR, CortexPopupController as VR, isFormInteracted as MY, omit as PY, getInterval as Jw, PRECISION as W_, findFrameByColAndRow as QO, extractFrames as NY, insertFrameToCache as LY } from "../utils.js";
|
|
109
|
-
import { DragScroll as
|
|
109
|
+
import { DragScroll as eWt, HistoryManager as tWt, KeyboardKey as nWt, downloadAsset as rWt, getBrowserFontVariants as iWt, getFormControls as oWt, isFontFamilyAvailable as aWt, openAssetOverview as sWt, openFolderOverview as cWt, openLink as lWt, parseJsonString as dWt, parseListString as uWt, pick as pWt, serialize as hWt, shareAsset as gWt, sortTypefaceVariants as mWt, testFontAvailability as fWt } from "../utils.js";
|
|
110
110
|
import { a as hb, d as RY, e as k9, F as PT, i as WR, f as BY, g as O1, h as I1, j as D1, k as M1, l as FY, m as e7, n as t7, o as n7, O as r7, D as G_ } from "../chunks/asset.B3vySOI-.js";
|
|
111
111
|
import { H as _9 } from "../chunks/slot.j5oheLJC.js";
|
|
112
|
-
import { a as
|
|
112
|
+
import { a as yWt, g as bWt } from "../chunks/slot.j5oheLJC.js";
|
|
113
113
|
import { d as i7, G as kh, h as nu, s as o7, T as GR, i as dn, j as KR, k as zY, t as a7, u as $Y, f as P1, l as jY, F as If, M as Kv } from "../chunks/string.DUgD4c9f.js";
|
|
114
|
-
import { c as
|
|
114
|
+
import { c as xWt, b as kWt, e as _Wt, g as CWt, p as SWt, v as TWt, r as EWt, a as AWt, o as OWt, m as IWt, n as DWt, q as MWt } from "../chunks/string.DUgD4c9f.js";
|
|
115
115
|
import { a as C9, u as dp, I as YR, C as HY } from "../chunks/list-editor.pVYc_70c.js";
|
|
116
116
|
import UY from "./bicolor-picker.js";
|
|
117
117
|
import XR from "./border-input-group.js";
|
|
118
|
-
import { C as
|
|
118
|
+
import { C as NWt } from "../chunks/color-swatch.DJ1kUnBQ.js";
|
|
119
119
|
import { C as S9, a as qY } from "../chunks/confirm-popover.D4x0nO5g.js";
|
|
120
120
|
import VY from "./corner-position-input-group.js";
|
|
121
121
|
import { r as uk, R as gb, a as WY, b as qe, j as _e, w as GY, c as KY, C as YY } from "../chunks/cropper.Bib8Abm3.js";
|
|
@@ -124,17 +124,17 @@ import { o as rr } from "../chunks/if-defined.BRoBj_Rp.js";
|
|
|
124
124
|
import { c as Hn } from "../chunks/repeat.DbF2p5ae.js";
|
|
125
125
|
import E9 from "./dynamic-select.js";
|
|
126
126
|
import { D as QR, M as ZY, U as QY, F as eX } from "../chunks/time.BiQnh9wt.js";
|
|
127
|
-
import { c as
|
|
127
|
+
import { c as RWt, a as BWt, f as FWt, g as zWt } from "../chunks/time.BiQnh9wt.js";
|
|
128
128
|
import { F as ou, C as A9, a as K_ } from "../chunks/folder-select.XpkOFzAW.js";
|
|
129
129
|
import { a as Eo, E as zn, b as nf, O as Gd, T as au, G as c7 } from "../chunks/index.Cpamj0jB.js";
|
|
130
|
-
import { C as
|
|
130
|
+
import { C as jWt } from "../chunks/index.Cpamj0jB.js";
|
|
131
131
|
import { S as l7, r as tX, c as nX, i as d7, a as u7, b as rX, d as p7, e as Y_ } from "../chunks/index.DcjJFMlq.js";
|
|
132
132
|
import { i as O9, T as X_, t as iX } from "../chunks/transform.BuqENXeT.js";
|
|
133
133
|
import { d as eB } from "../chunks/timer.B39XOBYL.js";
|
|
134
134
|
import { a as I9, c as dy } from "../chunks/_commonjsHelpers.DQNKXVTB.js";
|
|
135
135
|
import { t as oX, d as tB } from "../chunks/debounce.C_J-9zJi.js";
|
|
136
136
|
import { b as cv, d as h7, a as pk, s as aX, o as sX, c as nB, i as uu, e as cX } from "../chunks/file-on-demand.AzwoUvwB.js";
|
|
137
|
-
import { C as
|
|
137
|
+
import { C as UWt } from "../chunks/file-on-demand.AzwoUvwB.js";
|
|
138
138
|
import { o as J_ } from "../chunks/accessors.BHk36ecy.js";
|
|
139
139
|
import { N as lX, c as dX } from "../chunks/index.CZJTjkLp.js";
|
|
140
140
|
import { e as uX, t as pX } from "../chunks/directive.oAbCiebi.js";
|
|
@@ -146,51 +146,51 @@ import fX from "./position-picker.js";
|
|
|
146
146
|
import { D as Zw, P as Z_, E as Cd, B as vt, a as su, b as Fo, c as rB, A as bg, d as vX, T as g7, f as hk } from "../chunks/content-builder.CcgZciZN.js";
|
|
147
147
|
import { g as yX, a as m7 } from "../chunks/responsive.Oz9HWjyQ.js";
|
|
148
148
|
import bX from "./shadow-input-group.js";
|
|
149
|
-
import { default as
|
|
150
|
-
import { default as
|
|
149
|
+
import { default as VWt } from "./share-option-list.js";
|
|
150
|
+
import { default as GWt } from "./sidebar.js";
|
|
151
151
|
import wX from "./size-input-group.js";
|
|
152
|
-
import { default as
|
|
152
|
+
import { default as YWt } from "./stepper-wizard.js";
|
|
153
153
|
import { t as iB, a as gk } from "../chunks/toString.CL_lYXbK.js";
|
|
154
154
|
import { b as NT } from "../chunks/transformation.Cqz3hPaQ.js";
|
|
155
|
-
import { default as
|
|
155
|
+
import { default as JWt } from "./typeface.js";
|
|
156
156
|
import xX from "./asset-link-format.js";
|
|
157
157
|
import { g as kX } from "../chunks/tabbable.CcMz3mIL.js";
|
|
158
|
-
import { a as
|
|
158
|
+
import { a as QWt } from "../chunks/tabbable.CcMz3mIL.js";
|
|
159
159
|
import { r as N1 } from "../chunks/choose.BTbF6BAn.js";
|
|
160
160
|
import { d as Mh } from "../chunks/debounce.DaHuiSGU.js";
|
|
161
161
|
import { t as D9 } from "../chunks/event-options.CYHYGOd8.js";
|
|
162
162
|
import { i as oB, u as rl } from "../chunks/static.UA3G1Deq.js";
|
|
163
163
|
import { c as f7 } from "../chunks/animate.El-MpOws.js";
|
|
164
|
-
import { a as
|
|
164
|
+
import { a as tGt, p as nGt, b as rGt, s as iGt } from "../chunks/animate.El-MpOws.js";
|
|
165
165
|
import { w as _X } from "../chunks/event.mFzZi4sr.js";
|
|
166
166
|
import { c as wg } from "../chunks/math.DqTA6ya4.js";
|
|
167
167
|
import { b as v7, e as CX } from "../chunks/number.B4PQLJIg.js";
|
|
168
|
-
import { a as
|
|
168
|
+
import { a as aGt, c as sGt, d as cGt, f as lGt, g as dGt, r as uGt, s as pGt } from "../chunks/number.B4PQLJIg.js";
|
|
169
169
|
import { i as M9 } from "../chunks/guard.D4axKaMo.js";
|
|
170
170
|
import { a as Qw } from "../chunks/color-swatch-group.ChcPlkPU.js";
|
|
171
|
-
import { C as
|
|
171
|
+
import { C as gGt } from "../chunks/color-swatch-group.ChcPlkPU.js";
|
|
172
172
|
import { t as SX } from "../chunks/converters.DkDtLstb.js";
|
|
173
173
|
import { i as TX } from "../chunks/user-agent.D9aPuOyL.js";
|
|
174
174
|
import { a as aB, U as P9, t as EX } from "../chunks/url.Cj9cIQXJ.js";
|
|
175
|
-
import { R as
|
|
175
|
+
import { R as fGt, c as vGt, b as yGt, i as bGt } from "../chunks/url.Cj9cIQXJ.js";
|
|
176
176
|
import { t as il, f as tg, i as sB, r as AX, m as OX, a as y7, g as b7 } from "../chunks/toast.D3AW3RWv.js";
|
|
177
|
-
import { e as
|
|
177
|
+
import { e as xGt, c as kGt, d as _Gt, b as CGt } from "../chunks/toast.D3AW3RWv.js";
|
|
178
178
|
import { p as IX } from "../chunks/purify.es.BIuh5IAZ.js";
|
|
179
179
|
import { a as L1, r as DX, S as w7, i as mk, b as cB } from "../chunks/isObjectLike.z36Fu426.js";
|
|
180
180
|
import { d as lB, e as fk, t as dB, h as MX, a as lv, b as uB, c as PX } from "../chunks/_baseUniq.BUihBa8c.js";
|
|
181
181
|
import { p as pB, c as Nm, C as Lm, a as NX, b as LX, g as Q_ } from "../chunks/color.vLD2sNTs.js";
|
|
182
|
-
import { d as
|
|
182
|
+
import { d as TGt, e as EGt, H as AGt, R as OGt, h as IGt, f as DGt, l as MGt } from "../chunks/color.vLD2sNTs.js";
|
|
183
183
|
import { O as hB, C as RX, H as BX, z as FX, o as zX } from "../chunks/overlayscrollbars.BMav4RQ4.js";
|
|
184
184
|
import { d as $X } from "../chunks/default-value.COZopaet.js";
|
|
185
185
|
import { F as jX } from "../chunks/form.Ch1cwYzO.js";
|
|
186
|
-
import { c as
|
|
186
|
+
import { c as NGt, f as LGt, v as RGt, a as BGt } from "../chunks/form.Ch1cwYzO.js";
|
|
187
187
|
import { s as HX } from "../chunks/parse.Cu5nBDTb.js";
|
|
188
188
|
import { d as UX } from "../chunks/drag.DXEXVXPv.js";
|
|
189
189
|
import { S as gB } from "../chunks/sortable.esm.oSzf6C5Q.js";
|
|
190
190
|
import { r as mB } from "../chunks/query-async.CTgXGyQ5.js";
|
|
191
|
-
import { a as
|
|
192
|
-
import { c as
|
|
193
|
-
import { g as
|
|
191
|
+
import { a as zGt, b as $Gt, g as jGt } from "../chunks/modal.U1QltQKe.js";
|
|
192
|
+
import { c as UGt, f as qGt, e as VGt, b as WGt, g as GGt, d as KGt, i as YGt, r as XGt, a as JGt } from "../chunks/image.9qwbjGNb.js";
|
|
193
|
+
import { g as QGt, a as eKt } from "../chunks/template.ClovJacp.js";
|
|
194
194
|
var uy = /* @__PURE__ */ ((n) => (n.Grid = "grid", n.Shadows = "shadows", n.Textures = "textures", n.Wireframe = "wireframe", n))(uy || {}), ip = /* @__PURE__ */ ((n) => (n.Animation = "animation", n.Environment = "environment", n.Speed = "speed", n.Variant = "variant", n))(ip || {});
|
|
195
195
|
const x7 = 30, qX = ["0.5", "1", "1.5", "2"], k7 = 100, VX = 0.01, WX = 0.01, GX = 200, KX = 10, YX = 0.01, XX = 0.3, fB = "#2A2342";
|
|
196
196
|
var e1 = /* @__PURE__ */ ((n) => (n.Bridge = "https://downloads.orangelogic.com/3dviewer/static/environments/bridge.env", n.Church = "https://downloads.orangelogic.com/3dviewer/static/environments/church.env", n.Studio = "https://downloads.orangelogic.com/3dviewer/static/environments/studio.env", n))(e1 || {}), Nl = /* @__PURE__ */ ((n) => (n.Babylon = "https://downloads.orangelogic.com/3dviewer/static/babylonjs/cdn/babylon.js", n.Fflate = "https://downloads.orangelogic.com/3dviewer/static/babylonjs/cdn/fflate.js", n.GlslangJs = "https://downloads.orangelogic.com/3dviewer/static/babylonjs/cdn/glslang.js", n.GlslangWasm = "https://downloads.orangelogic.com/3dviewer/static/babylonjs/cdn/glslang.wasm", n.Gui = "https://downloads.orangelogic.com/3dviewer/static/babylonjs/cdn/babylon.gui.min.js", n.Inspector = "https://downloads.orangelogic.com/3dviewer/static/babylonjs/cdn/babylon.inspector.bundle.js", n.Loaders = "https://downloads.orangelogic.com/3dviewer/static/babylonjs/cdn/babylonjs.loaders.min.js", n.Materials = "https://downloads.orangelogic.com/3dviewer/static/babylonjs/cdn/babylonjs.materials.js", n.Serializers = "https://downloads.orangelogic.com/3dviewer/static/babylonjs/cdn/babylonjs.serializers.min.js", n.TwgslJs = "https://downloads.orangelogic.com/3dviewer/static/babylonjs/cdn/twgsl.js", n.TwgslWasm = "https://downloads.orangelogic.com/3dviewer/static/babylonjs/cdn/twgsl.wasm", n))(Nl || {});
|
|
@@ -126345,14 +126345,21 @@ const FNt = KPt.extend({
|
|
|
126345
126345
|
"Mod-Shift-j": () => this.editor.commands.setTextAlign("justify")
|
|
126346
126346
|
};
|
|
126347
126347
|
}
|
|
126348
|
-
}), UNt = HNt.extend({
|
|
126348
|
+
}), UNt = "imageAlignSync", qNt = HNt.extend({
|
|
126349
126349
|
addCommands() {
|
|
126350
126350
|
return {
|
|
126351
126351
|
...this.parent?.(),
|
|
126352
|
-
setTextAlign: (n) => ({ commands: e, state: t
|
|
126352
|
+
setTextAlign: (n) => ({ commands: e, state: t, tr: r }) => {
|
|
126353
|
+
if (!this.options.alignments.includes(n))
|
|
126354
|
+
return !1;
|
|
126355
|
+
if (t.selection instanceof Jn)
|
|
126356
|
+
return e.updateAttributes("tableCell", { textAlign: n });
|
|
126357
|
+
const o = this.options.types.filter((a) => a !== "listItem" && a !== "tableCell").every((a) => e.updateAttributes(a, { textAlign: n }));
|
|
126358
|
+
return r.setMeta(UNt, n), o;
|
|
126359
|
+
}
|
|
126353
126360
|
};
|
|
126354
126361
|
}
|
|
126355
|
-
}),
|
|
126362
|
+
}), VNt = [
|
|
126356
126363
|
ZDt,
|
|
126357
126364
|
X5,
|
|
126358
126365
|
J5.configure({
|
|
@@ -126377,22 +126384,22 @@ const FNt = KPt.extend({
|
|
|
126377
126384
|
a_
|
|
126378
126385
|
], SL = [b0, qk, Vk, Wk], TL = [GOt, KOt], EL = [gMt], _W = [NOt.configure({
|
|
126379
126386
|
types: ["textStyle", "paragraph", "heading", "div", "aside", "table", "tableRow", "tableHeader", "tableCell"]
|
|
126380
|
-
})],
|
|
126387
|
+
})], WNt = [rMt.configure({
|
|
126381
126388
|
types: ["textStyle"]
|
|
126382
|
-
})],
|
|
126389
|
+
})], GNt = [FOt.configure({
|
|
126383
126390
|
types: ["textStyle", "paragraph", "heading", "div", "aside", "table", "tableRow", "tableHeader", "tableCell"]
|
|
126384
126391
|
})], CW = [QDt.configure({
|
|
126385
126392
|
types: ["textStyle", "paragraph", "heading", "div", "aside", "table", "tableRow", "tableHeader", "tableCell"]
|
|
126386
|
-
})],
|
|
126393
|
+
})], KNt = [xMt.configure({
|
|
126387
126394
|
types: ["textStyle"]
|
|
126388
|
-
})],
|
|
126395
|
+
})], YNt = [
|
|
126389
126396
|
..._W,
|
|
126390
|
-
...VNt,
|
|
126391
126397
|
...WNt,
|
|
126398
|
+
...GNt,
|
|
126392
126399
|
...CW,
|
|
126393
|
-
...
|
|
126400
|
+
...KNt
|
|
126394
126401
|
], AL = [
|
|
126395
|
-
|
|
126402
|
+
qNt.configure({
|
|
126396
126403
|
alignments: ["left", "center", "right", "justify", "initial"],
|
|
126397
126404
|
defaultAlignment: "initial",
|
|
126398
126405
|
types: ["listItem", "paragraph", "heading", "tableCell", "div"]
|
|
@@ -126411,7 +126418,7 @@ const FNt = KPt.extend({
|
|
|
126411
126418
|
yMt.extend({
|
|
126412
126419
|
content: "block*"
|
|
126413
126420
|
})
|
|
126414
|
-
],
|
|
126421
|
+
], XNt = [
|
|
126415
126422
|
g7t,
|
|
126416
126423
|
YDt,
|
|
126417
126424
|
e7t,
|
|
@@ -126423,7 +126430,7 @@ const FNt = KPt.extend({
|
|
|
126423
126430
|
$Nt,
|
|
126424
126431
|
jNt,
|
|
126425
126432
|
wMt
|
|
126426
|
-
],
|
|
126433
|
+
], JNt = (n) => [
|
|
126427
126434
|
{
|
|
126428
126435
|
attributes: {
|
|
126429
126436
|
class: "remain-enable"
|
|
@@ -126470,12 +126477,12 @@ const FNt = KPt.extend({
|
|
|
126470
126477
|
</cx-menu>
|
|
126471
126478
|
</cx-dropdown>`
|
|
126472
126479
|
}
|
|
126473
|
-
],
|
|
126480
|
+
], ZNt = {
|
|
126474
126481
|
bubbleMenu: document.createElement("cx-rte-bubble-menu"),
|
|
126475
126482
|
id: vt.RichText,
|
|
126476
126483
|
tagName: "cx-text"
|
|
126477
|
-
},
|
|
126478
|
-
const t = e.localize, r = e.toolbarConfigs ?? {}, i = { ...
|
|
126484
|
+
}, QNt = (n, e) => {
|
|
126485
|
+
const t = e.localize, r = e.toolbarConfigs ?? {}, i = { ...ZNt, ...e }, o = new S0(t), a = o.getConfigs(vt.RichText), s = o.getName(vt.RichText), c = o.getStylable(vt.RichText);
|
|
126479
126486
|
let l = null;
|
|
126480
126487
|
const d = (w, k, E) => {
|
|
126481
126488
|
if (w.contentEditable = "true", E) {
|
|
@@ -126504,8 +126511,8 @@ const FNt = KPt.extend({
|
|
|
126504
126511
|
const j = E?.event;
|
|
126505
126512
|
return k.setEditable(!0), d(w, k, j), p?.setTiptapEditor(k), E?.view.model && p?.setModel(E.view.model), k;
|
|
126506
126513
|
}
|
|
126507
|
-
const A = n.Canvas.getFrameEl(), D = [...
|
|
126508
|
-
!C || C.enableAll ? (D.push(...SL), D.push(...DL), D.push(...AL), D.push(...ML), D.push(...TL), D.push(...IL), D.push(...EL), D.push(...
|
|
126514
|
+
const A = n.Canvas.getFrameEl(), D = [...VNt];
|
|
126515
|
+
!C || C.enableAll ? (D.push(...SL), D.push(...DL), D.push(...AL), D.push(...ML), D.push(...TL), D.push(...IL), D.push(...EL), D.push(...YNt), D.push(...OL), D.push(...XNt)) : (C.basicFormat && D.push(...SL), C.blockFormatting && D.push(...DL), C.textAlignment && D.push(...AL), C.textListing && D.push(...ML), C.textScript && D.push(...TL), C.lineHeight && D.push(...IL), C.link && D.push(...EL), C.fontColor && D.push(..._W), C.fontSize && D.push(...CW), C.highlight && D.push(...OL));
|
|
126509
126516
|
const z = C?.getElement ? await C.getElement(w) : w;
|
|
126510
126517
|
return k = new q5({
|
|
126511
126518
|
content: w.innerHTML,
|
|
@@ -126592,7 +126599,7 @@ const FNt = KPt.extend({
|
|
|
126592
126599
|
stylable: c,
|
|
126593
126600
|
tagName: i.tagName,
|
|
126594
126601
|
toolbar: [
|
|
126595
|
-
...uOt(
|
|
126602
|
+
...uOt(JNt(t), n, [0, 1 / 0]),
|
|
126596
126603
|
...L4(t, r)
|
|
126597
126604
|
]
|
|
126598
126605
|
}
|
|
@@ -126656,7 +126663,7 @@ const FNt = KPt.extend({
|
|
|
126656
126663
|
}
|
|
126657
126664
|
));
|
|
126658
126665
|
});
|
|
126659
|
-
},
|
|
126666
|
+
}, eLt = [
|
|
126660
126667
|
"All",
|
|
126661
126668
|
"Currency",
|
|
126662
126669
|
"Text",
|
|
@@ -128101,11 +128108,11 @@ const FNt = KPt.extend({
|
|
|
128101
128108
|
type: "other",
|
|
128102
128109
|
value: ""
|
|
128103
128110
|
}
|
|
128104
|
-
],
|
|
128105
|
-
var
|
|
128106
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
128111
|
+
], tLt = bn`.special-characters-dialog{--width:min(800px, calc(100vw - 2rem))}.char-button{appearance:none;font:inherit;border-radius:var(--cx-border-radius-medium);width:2rem;padding-inline:0;padding-top:var(--cx-spacing-x-small);padding-bottom:var(--cx-spacing-x-small);text-align:center;cursor:pointer;transition:var(--cx-transition-medium) background-color, var(--cx-transition-medium) color;background:0 0;border:none;&:hover{background-color:var(--cx-color-primary-50);color:var(--cx-color-primary)}&:focus-visible{outline:2px solid var(--cx-color-primary);outline-offset:-2px;background-color:var(--cx-color-primary-50);color:var(--cx-color-primary)}}.tab-group::part(nav){width:150px}.char-list{border-radius:var(--cx-border-radius-medium);flex-wrap:wrap;align-content:flex-start;height:100%;overflow:auto}.container{width:100%;height:25rem;font-size:var(--cx-font-size-small);color:var(--cx-color-neutral-600);overflow:hidden}.tab-panel{flex-grow:1;width:100%;overflow:hidden}`;
|
|
128112
|
+
var nLt = Object.defineProperty, rLt = Object.getOwnPropertyDescriptor, Mu = (n, e, t, r) => {
|
|
128113
|
+
for (var i = r > 1 ? void 0 : r ? rLt(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
128107
128114
|
(a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
|
|
128108
|
-
return r && i &&
|
|
128115
|
+
return r && i && nLt(e, t, i), i;
|
|
128109
128116
|
};
|
|
128110
128117
|
let Rc = class extends On {
|
|
128111
128118
|
constructor() {
|
|
@@ -128143,14 +128150,14 @@ let Rc = class extends On {
|
|
|
128143
128150
|
});
|
|
128144
128151
|
}
|
|
128145
128152
|
render() {
|
|
128146
|
-
return V`<cx-dialog class="special-characters-dialog" label=${this.localize.term("specialCharacters")} ?open=${this.open} .boundary=${this.boundary} @cx-request-close=${this.handleRequestClose}><cx-space direction="horizontal" spacing="x-small" class="container" wrap="nowrap"><cx-tab-group class="tab-group" placement="start" @cx-tab-show=${this.handleTabShow}>${no(
|
|
128153
|
+
return V`<cx-dialog class="special-characters-dialog" label=${this.localize.term("specialCharacters")} ?open=${this.open} .boundary=${this.boundary} @cx-request-close=${this.handleRequestClose}><cx-space direction="horizontal" spacing="x-small" class="container" wrap="nowrap"><cx-tab-group class="tab-group" placement="start" @cx-tab-show=${this.handleTabShow}>${no(eLt, (n) => V`<cx-tab ?active=${this.selectedTab === n.toLowerCase()} panel=${n.toLowerCase()} slot="nav">${n}</cx-tab>`)}</cx-tab-group><cx-space direction="vertical" spacing="2x-small" role="tabpanel" class="tab-panel" wrap="nowrap"><cx-input placeholder=${this.localize.term("typeYourSearchHere")} value=${this.searchValue || ""} autofocus @cx-input=${this.handleSearchInput}></cx-input><cx-space direction="horizontal" class="char-list">${Hn(
|
|
128147
128154
|
this.filteredItems,
|
|
128148
128155
|
(n) => n.value,
|
|
128149
128156
|
(n) => V`<cx-tooltip content=${n.title}><button type="button" data-value=${n.value} class="char-button" aria-label=${n.title} @click=${this.handleCharClick}>${n.value}</button></cx-tooltip>`
|
|
128150
128157
|
)}</cx-space></cx-space></cx-space></cx-dialog>`;
|
|
128151
128158
|
}
|
|
128152
128159
|
};
|
|
128153
|
-
Rc.styles = [Tn,
|
|
128160
|
+
Rc.styles = [Tn, tLt];
|
|
128154
128161
|
Rc.dependencies = {
|
|
128155
128162
|
"cx-dialog": Ha,
|
|
128156
128163
|
"cx-input": jo,
|
|
@@ -128189,57 +128196,57 @@ Mu([
|
|
|
128189
128196
|
Rc = Mu([
|
|
128190
128197
|
wn("cx-special-characters-dialog")
|
|
128191
128198
|
], Rc);
|
|
128192
|
-
const
|
|
128199
|
+
const iLt = Rc;
|
|
128193
128200
|
var Qc = /* @__PURE__ */ ((n) => (n.Center = "center", n.Initial = "initial", n.Justify = "justify", n.Left = "left", n.Right = "right", n))(Qc || {});
|
|
128194
|
-
const
|
|
128201
|
+
const oLt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20width='48'%20height='48'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fillRule='evenodd'%3e%3cpath%20d='M11%2016a2%202%200%20100-4%202%202%200%20000%204zm0%201a3%203%200%20110-6%203%203%200%20010%206zM11%2026a2%202%200%20100-4%202%202%200%20000%204zm0%201a3%203%200%20110-6%203%203%200%20010%206zM11%2036a2%202%200%20100-4%202%202%200%20000%204zm0%201a3%203%200%20110-6%203%203%200%20010%206z'%20fillRule='nonzero'%20/%3e%3cpath%20opacity='.2'%20d='M18%2012h22v4H18zM18%2022h22v4H18zM18%2032h22v4H18z'%20/%3e%3c/g%3e%3c/svg%3e", aLt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20width='48'%20height='48'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fillRule='evenodd'%3e%3ccircle%20cx='11'%20cy='14'%20r='3'%20/%3e%3ccircle%20cx='11'%20cy='24'%20r='3'%20/%3e%3ccircle%20cx='11'%20cy='34'%20r='3'%20/%3e%3cpath%20opacity='.2'%20d='M18%2012h22v4H18zM18%2022h22v4H18zM18%2032h22v4H18z'%20/%3e%3c/g%3e%3c/svg%3e", sLt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20width='48'%20height='48'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fillRule='evenodd'%3e%3cpath%20d='M8%2011h6v6H8zM8%2021h6v6H8zM8%2031h6v6H8z'%20/%3e%3cpath%20opacity='.2'%20d='M18%2012h22v4H18zM18%2022h22v4H18zM18%2032h22v4H18z'%20/%3e%3c/g%3e%3c/svg%3e", cLt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20width='48'%20height='48'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fillRule='evenodd'%3e%3cpath%20opacity='.2'%20d='M18%2012h22v4H18zM18%2022h22v4H18zM18%2032h22v4H18z'%20/%3e%3cpath%20d='M10.3%2015.2c.5%200%201-.4%201-.9V14h-1c-.5.1-.8.3-.8.6%200%20.4.3.6.8.6zm-.4.9c-1%200-1.5-.6-1.5-1.4%200-.8.6-1.3%201.7-1.4h1.1v-.4c0-.4-.2-.6-.7-.6-.5%200-.8.1-.9.4h-1c0-.8.8-1.4%202-1.4%201.1%200%201.8.6%201.8%201.6V16h-1.1v-.6h-.1c-.2.4-.7.7-1.3.7zm4.6%200c-.5%200-.7-.3-.7-.7%200-.4.2-.7.7-.7.4%200%20.7.3.7.7%200%20.4-.3.7-.7.7zm-3.2%2010c-.6%200-1.2-.3-1.4-.8v.7H8.5v-6.3H10v2.5c.3-.5.8-.9%201.4-.9%201.2%200%201.9%201%201.9%202.4%200%201.5-.7%202.4-1.9%202.4zm-.4-3.7c-.7%200-1%20.5-1%201.3s.3%201.4%201%201.4c.6%200%201-.6%201-1.4%200-.8-.4-1.3-1-1.3zm4%203.7c-.5%200-.7-.3-.7-.7%200-.4.2-.7.7-.7.4%200%20.7.3.7.7%200%20.4-.3.7-.7.7zm-2.2%207h-1.2c0-.5-.4-.8-.9-.8-.6%200-1%20.5-1%201.4%200%201%20.4%201.4%201%201.4.5%200%20.8-.2%201-.7h1c0%201-.8%201.7-2%201.7-1.4%200-2.2-.9-2.2-2.4s.8-2.4%202.2-2.4c1.2%200%202%20.7%202%201.7zm1.8%203c-.5%200-.8-.3-.8-.7%200-.4.3-.7.8-.7.4%200%20.7.3.7.7%200%20.4-.3.7-.7.7z'%20/%3e%3c/g%3e%3c/svg%3e", lLt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20width='48'%20height='48'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fillRule='evenodd'%3e%3cpath%20opacity='.2'%20d='M18%2012h22v4H18zM18%2022h22v4H18zM18%2032h22v4H18z'%20/%3e%3cpath%20d='M10.3%2015.2c.5%200%201-.4%201-.9V14h-1c-.5.1-.8.3-.8.6%200%20.4.3.6.8.6zm-.4.9c-1%200-1.5-.6-1.5-1.4%200-.8.6-1.3%201.7-1.4h1.1v-.4c0-.4-.2-.6-.7-.6-.5%200-.8.1-.9.4h-1c0-.8.8-1.4%202-1.4%201.1%200%201.8.6%201.8%201.6V16h-1.1v-.6h-.1c-.2.4-.7.7-1.3.7zm4.6%200c-.5%200-.7-.3-.7-.7%200-.4.2-.7.7-.7.4%200%20.7.3.7.7%200%20.4-.3.7-.7.7zm-3.2%2010c-.6%200-1.2-.3-1.4-.8v.7H8.5v-6.3H10v2.5c.3-.5.8-.9%201.4-.9%201.2%200%201.9%201%201.9%202.4%200%201.5-.7%202.4-1.9%202.4zm-.4-3.7c-.7%200-1%20.5-1%201.3s.3%201.4%201%201.4c.6%200%201-.6%201-1.4%200-.8-.4-1.3-1-1.3zm4%203.7c-.5%200-.7-.3-.7-.7%200-.4.2-.7.7-.7.4%200%20.7.3.7.7%200%20.4-.3.7-.7.7zm-2.2%207h-1.2c0-.5-.4-.8-.9-.8-.6%200-1%20.5-1%201.4%200%201%20.4%201.4%201%201.4.5%200%20.8-.2%201-.7h1c0%201-.8%201.7-2%201.7-1.4%200-2.2-.9-2.2-2.4s.8-2.4%202.2-2.4c1.2%200%202%20.7%202%201.7zm1.8%203c-.5%200-.8-.3-.8-.7%200-.4.3-.7.8-.7.4%200%20.7.3.7.7%200%20.4-.3.7-.7.7z'%20/%3e%3c/g%3e%3c/svg%3e", dLt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20width='48'%20height='48'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fillRule='evenodd'%3e%3cpath%20opacity='.2'%20d='M18%2012h22v4H18zM18%2022h22v4H18zM18%2032h22v4H18z'%20/%3e%3cpath%20d='M10.5%2015c.7%200%201-.5%201-1.3s-.3-1.3-1-1.3c-.5%200-.9.5-.9%201.3s.4%201.4%201%201.4zm-.3%201c-1.1%200-1.8-.8-1.8-2.3%200-1.5.7-2.4%201.8-2.4.7%200%201.1.4%201.3%201h.1v-.9h1.2v3.2c0%20.4.1.5.4.5h.2v.9h-.6c-.6%200-1-.2-1.1-.7h-.1c-.2.4-.7.8-1.4.8zm5%20.1c-.5%200-.8-.3-.8-.7%200-.4.3-.7.7-.7.5%200%20.8.3.8.7%200%20.4-.3.7-.8.7zm-4.9%207v-1h.3c.6%200%201-.2%201-.7%200-.5-.4-.8-1-.8-.5%200-.8.3-.8%201v2.2c0%20.8.4%201.3%201.1%201.3.6%200%201-.4%201-1s-.5-1-1.3-1h-.3zM8.6%2022c0-1.5.7-2.3%202-2.3%201.2%200%202%20.6%202%201.6%200%20.6-.3%201-.8%201.3.8.3%201.3.8%201.3%201.7%200%201.2-.8%201.9-1.9%201.9-.6%200-1.1-.3-1.3-.8v2.2H8.5V22zm6.2%204.2c-.4%200-.7-.3-.7-.7%200-.4.3-.7.7-.7.5%200%20.7.3.7.7%200%20.4-.2.7-.7.7zm-4.5%208.5L8%2030h1.4l1.7%203.5%201.7-3.5h1.1l-2.2%204.6v.1c.5.8.7%201.4.7%201.8%200%20.4-.1.8-.4%201-.2.2-.6.3-1%20.3-.9%200-1.3-.4-1.3-1.2%200-.5.2-1%20.5-1.7l.1-.2zm.7%201a2%202%200%2000-.4.9c0%20.3.1.4.4.4.3%200%20.4-.1.4-.4%200-.2-.1-.6-.4-1zm4.5.5c-.5%200-.8-.3-.8-.7%200-.4.3-.7.8-.7.4%200%20.7.3.7.7%200%20.4-.3.7-.7.7z'%20/%3e%3c/g%3e%3c/svg%3e", uLt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20width='48'%20height='48'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fillRule='evenodd'%3e%3cpath%20opacity='.2'%20d='M18%2012h22v4H18zM18%2022h22v4H18zM18%2032h22v4H18z'%20/%3e%3cpath%20d='M15.1%2016v-1.2h1.3V16H15zm0%2010v-1.2h1.3V26H15zm0%2010v-1.2h1.3V36H15z'%20/%3e%3cpath%20fillRule='nonzero'%20d='M12%2021h1.5v5H12zM12%2031h1.5v5H12zM9%2021h1.5v5H9zM9%2031h1.5v5H9zM6%2031h1.5v5H6zM12%2011h1.5v5H12zM12%2019h1.5v1H12zM12%2029h1.5v1H12zM9%2019h1.5v1H9zM9%2029h1.5v1H9zM6%2029h1.5v1H6zM12%209h1.5v1H12z'%20/%3e%3c/g%3e%3c/svg%3e", pLt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20width='48'%20height='48'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fillRule='evenodd'%3e%3cpath%20opacity='.2'%20d='M18%2012h22v4H18zM18%2022h22v4H18zM18%2032h22v4H18z'%20/%3e%3cpath%20d='M12.6%2017l-.5-1.4h-2L9.5%2017H8.3l2-6H12l2%206h-1.3zM11%2012.3l-.7%202.3h1.6l-.8-2.3zm4.7%204.8c-.4%200-.7-.3-.7-.7%200-.4.3-.7.7-.7.5%200%20.7.3.7.7%200%20.4-.2.7-.7.7zM11.4%2027H8.7v-6h2.6c1.2%200%201.9.6%201.9%201.5%200%20.6-.5%201.2-1%201.3.7.1%201.3.7%201.3%201.5%200%201-.8%201.7-2%201.7zM10%2022v1.5h1c.6%200%201-.3%201-.8%200-.4-.4-.7-1-.7h-1zm0%204H11c.7%200%201.1-.3%201.1-.8%200-.6-.4-.9-1.1-.9H10V26zm5.4%201.1c-.5%200-.8-.3-.8-.7%200-.4.3-.7.8-.7.4%200%20.7.3.7.7%200%20.4-.3.7-.7.7zm-4.1%2010c-1.8%200-2.8-1.1-2.8-3.1s1-3.1%202.8-3.1c1.4%200%202.5.9%202.6%202.2h-1.3c0-.7-.6-1.1-1.3-1.1-1%200-1.6.7-1.6%202s.6%202%201.6%202c.7%200%201.2-.4%201.4-1h1.2c-.1%201.3-1.2%202.2-2.6%202.2zm4.5%200c-.5%200-.8-.3-.8-.7%200-.4.3-.7.8-.7.4%200%20.7.3.7.7%200%20.4-.3.7-.7.7z'%20/%3e%3c/g%3e%3c/svg%3e", hLt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3csvg%20width='48'%20height='48'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20fillRule='evenodd'%3e%3cpath%20opacity='.2'%20d='M18%2012h22v4H18zM18%2022h22v4H18zM18%2032h22v4H18z'%20/%3e%3cpath%20d='M15.1%2017v-1.2h1.3V17H15zm0%2010v-1.2h1.3V27H15zm0%2010v-1.2h1.3V37H15z'%20/%3e%3cpath%20fillRule='nonzero'%20d='M12%2020h1.5v7H12zM12%2030h1.5v7H12zM9%2020h1.5v7H9zM9%2030h1.5v7H9zM6%2030h1.5v7H6zM12%2010h1.5v7H12z'%20/%3e%3c/g%3e%3c/svg%3e", gLt = {
|
|
128195
128202
|
PREVENT_AUTO_LINK: "preventAutoLink"
|
|
128196
|
-
}, PL = "100%",
|
|
128203
|
+
}, PL = "100%", mLt = {
|
|
128197
128204
|
BLOCK_FORMATS: "block_formats"
|
|
128198
|
-
},
|
|
128205
|
+
}, fLt = [
|
|
128199
128206
|
[
|
|
128200
128207
|
{
|
|
128201
|
-
icon:
|
|
128208
|
+
icon: aLt,
|
|
128202
128209
|
value: "disc"
|
|
128203
128210
|
},
|
|
128204
128211
|
{
|
|
128205
|
-
icon:
|
|
128212
|
+
icon: oLt,
|
|
128206
128213
|
value: "circle"
|
|
128207
128214
|
},
|
|
128208
128215
|
{
|
|
128209
|
-
icon:
|
|
128216
|
+
icon: sLt,
|
|
128210
128217
|
value: "square"
|
|
128211
128218
|
}
|
|
128212
128219
|
]
|
|
128213
|
-
],
|
|
128220
|
+
], vLt = [
|
|
128214
128221
|
[
|
|
128215
128222
|
{
|
|
128216
|
-
icon:
|
|
128223
|
+
icon: cLt,
|
|
128217
128224
|
value: "decimal"
|
|
128218
128225
|
},
|
|
128219
128226
|
{
|
|
128220
|
-
icon:
|
|
128227
|
+
icon: lLt,
|
|
128221
128228
|
value: "lower-alpha"
|
|
128222
128229
|
},
|
|
128223
128230
|
{
|
|
128224
|
-
icon:
|
|
128231
|
+
icon: dLt,
|
|
128225
128232
|
value: "lower-greek"
|
|
128226
128233
|
}
|
|
128227
128234
|
],
|
|
128228
128235
|
[
|
|
128229
128236
|
{
|
|
128230
|
-
icon:
|
|
128237
|
+
icon: uLt,
|
|
128231
128238
|
value: "lower-roman"
|
|
128232
128239
|
},
|
|
128233
128240
|
{
|
|
128234
|
-
icon:
|
|
128241
|
+
icon: pLt,
|
|
128235
128242
|
value: "upper-alpha"
|
|
128236
128243
|
},
|
|
128237
128244
|
{
|
|
128238
|
-
icon:
|
|
128245
|
+
icon: hLt,
|
|
128239
128246
|
value: "upper-roman"
|
|
128240
128247
|
}
|
|
128241
128248
|
]
|
|
128242
|
-
],
|
|
128249
|
+
], yLt = [
|
|
128243
128250
|
"8px",
|
|
128244
128251
|
"9px",
|
|
128245
128252
|
"10px",
|
|
@@ -128258,7 +128265,7 @@ const iLt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3
|
|
|
128258
128265
|
"36px",
|
|
128259
128266
|
"42px",
|
|
128260
128267
|
"72px"
|
|
128261
|
-
],
|
|
128268
|
+
], bLt = [
|
|
128262
128269
|
"Paragraph=p",
|
|
128263
128270
|
"Heading 1=h1",
|
|
128264
128271
|
"Heading 2=h2",
|
|
@@ -128271,7 +128278,7 @@ const iLt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3
|
|
|
128271
128278
|
"Warning=warning",
|
|
128272
128279
|
"Example=example",
|
|
128273
128280
|
"Preformatted=pre"
|
|
128274
|
-
],
|
|
128281
|
+
], wLt = [
|
|
128275
128282
|
"100%",
|
|
128276
128283
|
"125%",
|
|
128277
128284
|
"133%",
|
|
@@ -128323,7 +128330,7 @@ const iLt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3
|
|
|
128323
128330
|
"ridge",
|
|
128324
128331
|
"inset",
|
|
128325
128332
|
"outset"
|
|
128326
|
-
],
|
|
128333
|
+
], xLt = (n) => {
|
|
128327
128334
|
if (!n)
|
|
128328
128335
|
return "";
|
|
128329
128336
|
try {
|
|
@@ -128332,17 +128339,17 @@ const iLt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3
|
|
|
128332
128339
|
} catch {
|
|
128333
128340
|
}
|
|
128334
128341
|
return "";
|
|
128335
|
-
},
|
|
128342
|
+
}, kLt = (n) => {
|
|
128336
128343
|
const e = /^(((ftp)|(mailto)|(http)|(https)):\/\/)?(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)|(\/[-a-zA-Z0-9@:%_+.~#?&/=]*)|(#[-a-zA-Z0-9_]*)$/;
|
|
128337
128344
|
return new RegExp(e).test(n);
|
|
128338
|
-
},
|
|
128345
|
+
}, _Lt = (n) => {
|
|
128339
128346
|
const e = /^[A-Za-z]+[\w\-_.,]*$/g;
|
|
128340
128347
|
return new RegExp(e).test(n);
|
|
128341
128348
|
}, TW = bn`cx-input{flex:auto}`;
|
|
128342
|
-
var
|
|
128343
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
128349
|
+
var CLt = Object.defineProperty, SLt = Object.getOwnPropertyDescriptor, Pu = (n, e, t, r) => {
|
|
128350
|
+
for (var i = r > 1 ? void 0 : r ? SLt(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
128344
128351
|
(a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
|
|
128345
|
-
return r && i &&
|
|
128352
|
+
return r && i && CLt(e, t, i), i;
|
|
128346
128353
|
};
|
|
128347
128354
|
let Bc = class extends On {
|
|
128348
128355
|
constructor() {
|
|
@@ -128352,7 +128359,7 @@ let Bc = class extends On {
|
|
|
128352
128359
|
}
|
|
128353
128360
|
onInputChange(n) {
|
|
128354
128361
|
const t = n.target.value;
|
|
128355
|
-
this.anchorID = t, this.isInvalidAnchorID = !
|
|
128362
|
+
this.anchorID = t, this.isInvalidAnchorID = !_Lt(t);
|
|
128356
128363
|
}
|
|
128357
128364
|
onOpenStateChange() {
|
|
128358
128365
|
if (!this.open || !this.tiptapEditor) {
|
|
@@ -128417,11 +128424,11 @@ Pu([
|
|
|
128417
128424
|
Bc = Pu([
|
|
128418
128425
|
wn("cx-anchor-dialog")
|
|
128419
128426
|
], Bc);
|
|
128420
|
-
const
|
|
128421
|
-
var
|
|
128422
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
128427
|
+
const TLt = Bc, ELt = bn`.image-dialog{--width:max-content}.image-dialog__col{width:350px}cx-input{width:100%}.invalid-message{--color:var(--cx-color-danger)}.image-container{background-color:var(--cx-color-neutral-100);flex:1}.undefined-src{visibility:hidden}`;
|
|
128428
|
+
var ALt = Object.defineProperty, OLt = Object.getOwnPropertyDescriptor, fl = (n, e, t, r) => {
|
|
128429
|
+
for (var i = r > 1 ? void 0 : r ? OLt(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
128423
128430
|
(a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
|
|
128424
|
-
return r && i &&
|
|
128431
|
+
return r && i && ALt(e, t, i), i;
|
|
128425
128432
|
};
|
|
128426
128433
|
const NL = {
|
|
128427
128434
|
alt: "",
|
|
@@ -128631,7 +128638,7 @@ let ns = class extends On {
|
|
|
128631
128638
|
</cx-typography></cx-space></cx-space><cx-space slot="footer" direction="horizontal" align-items="center" justify-content="end"><cx-button @click=${this.handleDialogCancel}>${this.localize.term("cancel")}</cx-button><cx-button @click=${this.handleDialogConfirm} variant="primary" ?disabled=${this.isValidSrc === !1 || !this.data.src}>${this.localize.term("confirm")}</cx-button></cx-space></cx-dialog>`;
|
|
128632
128639
|
}
|
|
128633
128640
|
};
|
|
128634
|
-
ns.styles = [Tn,
|
|
128641
|
+
ns.styles = [Tn, ELt];
|
|
128635
128642
|
ns.dependencies = {
|
|
128636
128643
|
"cx-border-input-group": XR,
|
|
128637
128644
|
"cx-card": Ih,
|
|
@@ -128687,11 +128694,11 @@ fl([
|
|
|
128687
128694
|
ns = fl([
|
|
128688
128695
|
wn("cx-image-dialog")
|
|
128689
128696
|
], ns);
|
|
128690
|
-
const
|
|
128691
|
-
var
|
|
128692
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
128697
|
+
const ILt = bn`.w-full{width:100%}.no-margin{margin:0!important}.no-wrap{white-space:nowrap}cx-tooltip[slot=trigger]{display:inline-block}.container{background-color:var(--cx-panel-background-color);border-radius:var(--cx-border-radius-large);border:var(--cx-panel-border-width) solid var(--cx-panel-border-color);padding:var(--cx-spacing-2x-small);box-shadow:var(--cx-shadow-large)}.rte-table-bubble-row{align-items:center;gap:var(--cx-spacing-3x-small,1px);flex-wrap:wrap;display:flex}.rte-bubble-separator{box-sizing:border-box;border-left:1px solid var(--cx-color-neutral-200);flex:none;align-self:stretch;width:0}.action-group{--spacing-container-gap:0;border-radius:var(--cx-border-radius-medium)}.action-group cx-icon-button::part(base){border-radius:var(--cx-border-radius-medium)}.action-group:not(.action-group--button) cx-icon-button::part(base):hover{background-color:var(--cx-color-neutral-100)}.action-group cx-icon-button.active::part(base){color:var(--cx-color-primary)}.action-group--button:hover>cx-tooltip>cx-icon-button::part(base),.action-group--button:hover div[slot=trigger] cx-icon-button::part(base){transition:var(--cx-transition-medium);color:var(--cx-color-primary);background-color:var(--cx-color-neutral-200)}cx-space.no-spacing{--spacing-container-gap:0}.action-group--button div[slot=trigger] cx-icon-button::part(base){border-top-right-radius:var(--cx-border-radius-medium);border-bottom-right-radius:var(--cx-border-radius-medium);border-top-left-radius:0;border-bottom-left-radius:0;min-width:0;padding-left:0;padding-right:0}.font-size-select{width:64px}.line-height-select{width:68px}.block-format-select{width:120px}.link-preview{--color:var(--cx-color-primary-500);cursor:pointer;min-width:0;font-size:var(--cx-font-size-small);flex:1;text-decoration:underline}.advance-link-container{justify-self:flex-start;max-width:600px}cx-select[size=small]::part(combobox),cx-select-with-tooltip[size=small]::part(combobox){padding-inline:var(--cx-spacing-2x-small)}cx-select[size=small]::part(expand-icon),cx-select-with-tooltip[size=small]::part(expand-icon){margin-inline-start:var(--cx-spacing-2x-small)}cx-icon-button::part(icon){--font-size:var(--cx-font-size-medium)}`;
|
|
128698
|
+
var DLt = Object.defineProperty, MLt = Object.getOwnPropertyDescriptor, EW = (n, e, t, r) => {
|
|
128699
|
+
for (var i = r > 1 ? void 0 : r ? MLt(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
128693
128700
|
(a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
|
|
128694
|
-
return r && i &&
|
|
128701
|
+
return r && i && DLt(e, t, i), i;
|
|
128695
128702
|
};
|
|
128696
128703
|
let Z2 = class extends ed {
|
|
128697
128704
|
constructor() {
|
|
@@ -128707,10 +128714,10 @@ EW([
|
|
|
128707
128714
|
Z2 = EW([
|
|
128708
128715
|
wn("cx-select-with-tooltip")
|
|
128709
128716
|
], Z2);
|
|
128710
|
-
var
|
|
128711
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
128717
|
+
var PLt = Object.defineProperty, NLt = Object.getOwnPropertyDescriptor, li = (n, e, t, r) => {
|
|
128718
|
+
for (var i = r > 1 ? void 0 : r ? NLt(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
128712
128719
|
(a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
|
|
128713
|
-
return r && i &&
|
|
128720
|
+
return r && i && PLt(e, t, i), i;
|
|
128714
128721
|
};
|
|
128715
128722
|
let Hr = class extends On {
|
|
128716
128723
|
constructor() {
|
|
@@ -128938,7 +128945,7 @@ let Hr = class extends On {
|
|
|
128938
128945
|
() => this.tiptapEditor?.chain().focus().toggleBulletList().run(),
|
|
128939
128946
|
() => n
|
|
128940
128947
|
)}<cx-dropdown placement="bottom" distance="0" skidding="0" class="bullet-list-dropdown" @cx-after-hide=${r} @cx-after-show=${i}><div slot="trigger"><cx-icon-button name="expand_more" size="small"></cx-icon-button></div><cx-menu role="menu" no-uncheck><cx-space direction="vertical" spacing="x-small">${no(
|
|
128941
|
-
|
|
128948
|
+
fLt,
|
|
128942
128949
|
(s) => V`<cx-space direction="horizontal" spacing="x-small">${no(
|
|
128943
128950
|
s,
|
|
128944
128951
|
(c) => this.renderIconButton(
|
|
@@ -128958,7 +128965,7 @@ let Hr = class extends On {
|
|
|
128958
128965
|
() => this.tiptapEditor?.chain().focus().toggleOrderedList().run(),
|
|
128959
128966
|
() => e
|
|
128960
128967
|
)}<cx-dropdown placement="bottom" distance="0" skidding="0" @cx-after-hide=${o} @cx-after-show=${a}><div slot="trigger"><cx-icon-button name="expand_more" size="small"></cx-icon-button></div><cx-menu role="menu" no-uncheck><cx-space direction="vertical" spacing="x-small">${no(
|
|
128961
|
-
|
|
128968
|
+
vLt,
|
|
128962
128969
|
(s) => V`<cx-space direction="horizontal" spacing="x-small">${no(
|
|
128963
128970
|
s,
|
|
128964
128971
|
(c) => this.renderIconButton(
|
|
@@ -128991,7 +128998,7 @@ let Hr = class extends On {
|
|
|
128991
128998
|
return this.renderDropdown(
|
|
128992
128999
|
e,
|
|
128993
129000
|
`${this.localize.term("fontSize")}: ${e}`,
|
|
128994
|
-
|
|
129001
|
+
yLt,
|
|
128995
129002
|
this.onFontSizeChange,
|
|
128996
129003
|
{
|
|
128997
129004
|
"font-size-select": !0
|
|
@@ -129028,7 +129035,7 @@ let Hr = class extends On {
|
|
|
129028
129035
|
}
|
|
129029
129036
|
}
|
|
129030
129037
|
renderBlockFormatting() {
|
|
129031
|
-
const n = localStorage.getItem(
|
|
129038
|
+
const n = localStorage.getItem(mLt.BLOCK_FORMATS)?.split(";") || bLt, e = [];
|
|
129032
129039
|
n.forEach((r) => {
|
|
129033
129040
|
const i = r.split("=");
|
|
129034
129041
|
e.push({
|
|
@@ -129100,7 +129107,7 @@ let Hr = class extends On {
|
|
|
129100
129107
|
return n.includes("%") || wN(n) || (e = `${Number.parseFloat(n) * 100}%`), this.renderDropdown(
|
|
129101
129108
|
e,
|
|
129102
129109
|
`${this.localize.term("lineHeight")}: ${e}`,
|
|
129103
|
-
|
|
129110
|
+
wLt,
|
|
129104
129111
|
this.onLineHeightChange,
|
|
129105
129112
|
{
|
|
129106
129113
|
"line-height-select": !0
|
|
@@ -129165,7 +129172,7 @@ let Hr = class extends On {
|
|
|
129165
129172
|
let { from: i, to: o } = r.state.selection;
|
|
129166
129173
|
if (n) {
|
|
129167
129174
|
this.tiptapEditor.chain().extendMarkRange("link").run(), i = r.state.selection.from, o = r.state.selection.to;
|
|
129168
|
-
const s =
|
|
129175
|
+
const s = xLt(n);
|
|
129169
129176
|
this.linkUrlInputRef.value.value = s, this.titleInputRef.value.value = e;
|
|
129170
129177
|
} else
|
|
129171
129178
|
this.linkUrlInputRef.value.value = "", this.titleInputRef.value.value = "";
|
|
@@ -129248,12 +129255,12 @@ let Hr = class extends On {
|
|
|
129248
129255
|
{
|
|
129249
129256
|
updateSelection: !0
|
|
129250
129257
|
}
|
|
129251
|
-
).setMeta(
|
|
129258
|
+
).setMeta(gLt.PREVENT_AUTO_LINK, !0).run(), n();
|
|
129252
129259
|
}, t = () => {
|
|
129253
129260
|
n();
|
|
129254
129261
|
}, r = (o) => {
|
|
129255
129262
|
const a = o.target.value;
|
|
129256
|
-
this.isInvalidUrl = !a || !
|
|
129263
|
+
this.isInvalidUrl = !a || !kLt(a);
|
|
129257
129264
|
}, i = (o) => {
|
|
129258
129265
|
o.detail.source === "overlay" && o.preventDefault();
|
|
129259
129266
|
};
|
|
@@ -129480,9 +129487,9 @@ let Hr = class extends On {
|
|
|
129480
129487
|
`;
|
|
129481
129488
|
}
|
|
129482
129489
|
};
|
|
129483
|
-
Hr.styles = [Tn,
|
|
129490
|
+
Hr.styles = [Tn, ILt];
|
|
129484
129491
|
Hr.dependencies = {
|
|
129485
|
-
"cx-anchor-dialog":
|
|
129492
|
+
"cx-anchor-dialog": TLt,
|
|
129486
129493
|
"cx-button": ki,
|
|
129487
129494
|
"cx-checkbox": om,
|
|
129488
129495
|
"cx-color-picker": sk,
|
|
@@ -129500,7 +129507,7 @@ Hr.dependencies = {
|
|
|
129500
129507
|
"cx-select": ed,
|
|
129501
129508
|
"cx-select-with-tooltip": Z2,
|
|
129502
129509
|
"cx-space": ci,
|
|
129503
|
-
"cx-special-characters-dialog":
|
|
129510
|
+
"cx-special-characters-dialog": iLt,
|
|
129504
129511
|
"cx-typography": mi
|
|
129505
129512
|
};
|
|
129506
129513
|
li([
|
|
@@ -129599,7 +129606,7 @@ li([
|
|
|
129599
129606
|
Hr = li([
|
|
129600
129607
|
wn("cx-rte-bubble-menu")
|
|
129601
129608
|
], Hr);
|
|
129602
|
-
const { min:
|
|
129609
|
+
const { min: LLt, max: RLt } = Math, Hg = (n, e = 0, t = 1) => LLt(RLt(e, n), t), Q4 = (n) => {
|
|
129603
129610
|
n._clipped = !1, n._unclipped = n.slice(0);
|
|
129604
129611
|
for (let e = 0; e <= 3; e++)
|
|
129605
129612
|
e < 3 ? ((n[e] < 0 || n[e] > 255) && (n._clipped = !0), n[e] = Hg(n[e], 0, 255)) : e === 3 && (n[e] = Hg(n[e], 0, 1));
|
|
@@ -129624,7 +129631,7 @@ const fr = (n, e = null) => n.length >= 3 ? Array.prototype.slice.call(n) : Mr(n
|
|
|
129624
129631
|
if (n.length < 2) return null;
|
|
129625
129632
|
const e = n.length - 1;
|
|
129626
129633
|
return Mr(n[e]) == "string" ? n[e].toLowerCase() : null;
|
|
129627
|
-
}, { PI: m_, min: OW, max: IW } = Math, Wl = (n) => Math.round(n * 100) / 100, e9 = (n) => Math.round(n * 100) / 100, tp = m_ * 2, hT = m_ / 3,
|
|
129634
|
+
}, { PI: m_, min: OW, max: IW } = Math, Wl = (n) => Math.round(n * 100) / 100, e9 = (n) => Math.round(n * 100) / 100, tp = m_ * 2, hT = m_ / 3, BLt = m_ / 180, FLt = 180 / m_;
|
|
129628
129635
|
function DW(n) {
|
|
129629
129636
|
return [...n.slice(0, 3).reverse(), ...n.slice(3)];
|
|
129630
129637
|
}
|
|
@@ -129657,8 +129664,8 @@ class Wt {
|
|
|
129657
129664
|
return Mr(this.hex) == "function" ? this.hex() : `[${this._rgb.join(",")}]`;
|
|
129658
129665
|
}
|
|
129659
129666
|
}
|
|
129660
|
-
const
|
|
129661
|
-
$r.version =
|
|
129667
|
+
const zLt = "3.1.2", $r = (...n) => new Wt(...n);
|
|
129668
|
+
$r.version = zLt;
|
|
129662
129669
|
const ov = {
|
|
129663
129670
|
aliceblue: "#f0f8ff",
|
|
129664
129671
|
antiquewhite: "#faebd7",
|
|
@@ -129814,13 +129821,13 @@ const ov = {
|
|
|
129814
129821
|
whitesmoke: "#f5f5f5",
|
|
129815
129822
|
yellow: "#ffff00",
|
|
129816
129823
|
yellowgreen: "#9acd32"
|
|
129817
|
-
},
|
|
129818
|
-
if (n.match(
|
|
129824
|
+
}, $Lt = /^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/, jLt = /^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/, MW = (n) => {
|
|
129825
|
+
if (n.match($Lt)) {
|
|
129819
129826
|
(n.length === 4 || n.length === 7) && (n = n.substr(1)), n.length === 3 && (n = n.split(""), n = n[0] + n[0] + n[1] + n[1] + n[2] + n[2]);
|
|
129820
129827
|
const e = parseInt(n, 16), t = e >> 16, r = e >> 8 & 255, i = e & 255;
|
|
129821
129828
|
return [t, r, i, 1];
|
|
129822
129829
|
}
|
|
129823
|
-
if (n.match(
|
|
129830
|
+
if (n.match(jLt)) {
|
|
129824
129831
|
(n.length === 5 || n.length === 9) && (n = n.substr(1)), n.length === 4 && (n = n.split(""), n = n[0] + n[0] + n[1] + n[1] + n[2] + n[2] + n[3] + n[3]);
|
|
129825
129832
|
const e = parseInt(n, 16), t = e >> 24 & 255, r = e >> 16 & 255, i = e >> 8 & 255, o = Math.round((e & 255) / 255 * 100) / 100;
|
|
129826
129833
|
return [t, r, i, o];
|
|
@@ -129929,7 +129936,7 @@ const gu = {
|
|
|
129929
129936
|
m21: 0.0492912282128556,
|
|
129930
129937
|
m22: 0.9684866957875502
|
|
129931
129938
|
}
|
|
129932
|
-
},
|
|
129939
|
+
}, HLt = /* @__PURE__ */ new Map([
|
|
129933
129940
|
// ASTM E308-01
|
|
129934
129941
|
["a", [1.0985, 0.35585]],
|
|
129935
129942
|
// Wyszecki & Stiles, p. 769
|
|
@@ -129953,7 +129960,7 @@ const gu = {
|
|
|
129953
129960
|
["icc", [0.96422, 0.82521]]
|
|
129954
129961
|
]);
|
|
129955
129962
|
function lp(n) {
|
|
129956
|
-
const e =
|
|
129963
|
+
const e = HLt.get(String(n).toLowerCase());
|
|
129957
129964
|
if (!e)
|
|
129958
129965
|
throw new Error("unknown Lab illuminant " + n);
|
|
129959
129966
|
gu.labWhitePoint = n, gu.Xn = e[0], gu.Zn = e[1];
|
|
@@ -129963,9 +129970,9 @@ function Kb() {
|
|
|
129963
129970
|
}
|
|
129964
129971
|
const e6 = (...n) => {
|
|
129965
129972
|
n = fr(n, "lab");
|
|
129966
|
-
const [e, t, r] = n, [i, o, a] =
|
|
129973
|
+
const [e, t, r] = n, [i, o, a] = ULt(e, t, r), [s, c, l] = NW(i, o, a);
|
|
129967
129974
|
return [s, c, l, n.length > 3 ? n[3] : 1];
|
|
129968
|
-
},
|
|
129975
|
+
}, ULt = (n, e, t) => {
|
|
129969
129976
|
const { kE: r, kK: i, kKE: o, Xn: a, Yn: s, Zn: c } = gu, l = (n + 16) / 116, d = 2e-3 * e + l, p = l - 5e-3 * t, h = d * d * d, m = p * p * p, f = h > r ? h : (116 * d - 16) / i, b = n > o ? Math.pow((n + 16) / 116, 3) : n / i, w = m > r ? m : (116 * p - 16) / i, k = f * a, E = b * s, C = w * c;
|
|
129970
129977
|
return [k, E, C];
|
|
129971
129978
|
}, gT = (n) => {
|
|
@@ -129981,10 +129988,10 @@ const e6 = (...n) => {
|
|
|
129981
129988
|
);
|
|
129982
129989
|
return [z * 255, j * 255, H * 255];
|
|
129983
129990
|
}, t6 = (...n) => {
|
|
129984
|
-
const [e, t, r, ...i] = fr(n, "rgb"), [o, a, s] = LW(e, t, r), [c, l, d] =
|
|
129991
|
+
const [e, t, r, ...i] = fr(n, "rgb"), [o, a, s] = LW(e, t, r), [c, l, d] = qLt(o, a, s);
|
|
129985
129992
|
return [c, l, d, ...i.length > 0 && i[0] < 1 ? [i[0]] : []];
|
|
129986
129993
|
};
|
|
129987
|
-
function
|
|
129994
|
+
function qLt(n, e, t) {
|
|
129988
129995
|
const { Xn: r, Yn: i, Zn: o, kE: a, kK: s } = gu, c = n / r, l = e / i, d = t / o, p = c > a ? Math.pow(c, 1 / 3) : (s * c + 16) / 116, h = l > a ? Math.pow(l, 1 / 3) : (s * l + 16) / 116, m = d > a ? Math.pow(d, 1 / 3) : (s * d + 16) / 116;
|
|
129989
129996
|
return [116 * h - 16, 500 * (p - h), 200 * (h - m)];
|
|
129990
129997
|
}
|
|
@@ -130003,8 +130010,8 @@ const LW = (n, e, t) => {
|
|
|
130003
130010
|
Wt.prototype.lab = function() {
|
|
130004
130011
|
return t6(this._rgb);
|
|
130005
130012
|
};
|
|
130006
|
-
const
|
|
130007
|
-
Object.assign($r, { lab:
|
|
130013
|
+
const VLt = (...n) => new Wt(...n, "lab");
|
|
130014
|
+
Object.assign($r, { lab: VLt, getLabWhitePoint: Kb, setLabWhitePoint: lp });
|
|
130008
130015
|
dr.format.lab = e6;
|
|
130009
130016
|
dr.autodetect.push({
|
|
130010
130017
|
p: 2,
|
|
@@ -130031,23 +130038,23 @@ Wt.prototype.get = function(n) {
|
|
|
130031
130038
|
} else
|
|
130032
130039
|
return r;
|
|
130033
130040
|
};
|
|
130034
|
-
const { pow:
|
|
130041
|
+
const { pow: WLt } = Math, GLt = 1e-7, KLt = 20;
|
|
130035
130042
|
Wt.prototype.luminance = function(n, e = "rgb") {
|
|
130036
130043
|
if (n !== void 0 && Mr(n) === "number") {
|
|
130037
130044
|
if (n === 0)
|
|
130038
130045
|
return new Wt([0, 0, 0, this._rgb[3]], "rgb");
|
|
130039
130046
|
if (n === 1)
|
|
130040
130047
|
return new Wt([255, 255, 255, this._rgb[3]], "rgb");
|
|
130041
|
-
let t = this.luminance(), r =
|
|
130048
|
+
let t = this.luminance(), r = KLt;
|
|
130042
130049
|
const i = (a, s) => {
|
|
130043
130050
|
const c = a.interpolate(s, 0.5, e), l = c.luminance();
|
|
130044
|
-
return Math.abs(n - l) <
|
|
130051
|
+
return Math.abs(n - l) < GLt || !r-- ? c : l > n ? i(a, c) : i(c, s);
|
|
130045
130052
|
}, o = (t > n ? i(new Wt([0, 0, 0]), this) : i(this, new Wt([255, 255, 255]))).rgb();
|
|
130046
130053
|
return new Wt([...o, this._rgb[3]]);
|
|
130047
130054
|
}
|
|
130048
|
-
return
|
|
130055
|
+
return YLt(...this._rgb.slice(0, 3));
|
|
130049
130056
|
};
|
|
130050
|
-
const
|
|
130057
|
+
const YLt = (n, e, t) => (n = fT(n), e = fT(e), t = fT(t), 0.2126 * n + 0.7152 * e + 0.0722 * t), fT = (n) => (n /= 255, n <= 0.03928 ? n / 12.92 : WLt((n + 0.055) / 1.055, 2.4)), vs = {}, av = (n, e, t = 0.5, ...r) => {
|
|
130051
130058
|
let i = r[0] || "lrgb";
|
|
130052
130059
|
if (!vs[i] && !r.length && (i = Object.keys(vs)[0]), !vs[i])
|
|
130053
130060
|
throw new Error(`interpolation mode ${i} is not defined`);
|
|
@@ -130062,20 +130069,20 @@ Wt.prototype.premultiply = function(n = !1) {
|
|
|
130062
130069
|
const e = this._rgb, t = e[3];
|
|
130063
130070
|
return n ? (this._rgb = [e[0] * t, e[1] * t, e[2] * t, t], this) : new Wt([e[0] * t, e[1] * t, e[2] * t, t], "rgb");
|
|
130064
130071
|
};
|
|
130065
|
-
const { sin:
|
|
130072
|
+
const { sin: XLt, cos: JLt } = Math, RW = (...n) => {
|
|
130066
130073
|
let [e, t, r] = fr(n, "lch");
|
|
130067
|
-
return isNaN(r) && (r = 0), r = r *
|
|
130074
|
+
return isNaN(r) && (r = 0), r = r * BLt, [e, JLt(r) * t, XLt(r) * t];
|
|
130068
130075
|
}, n6 = (...n) => {
|
|
130069
130076
|
n = fr(n, "lch");
|
|
130070
130077
|
const [e, t, r] = n, [i, o, a] = RW(e, t, r), [s, c, l] = e6(i, o, a);
|
|
130071
130078
|
return [s, c, l, n.length > 3 ? n[3] : 1];
|
|
130072
|
-
},
|
|
130079
|
+
}, ZLt = (...n) => {
|
|
130073
130080
|
const e = DW(fr(n, "hcl"));
|
|
130074
130081
|
return n6(...e);
|
|
130075
|
-
}, { sqrt:
|
|
130076
|
-
const [e, t, r] = fr(n, "lab"), i =
|
|
130077
|
-
let o = (
|
|
130078
|
-
return
|
|
130082
|
+
}, { sqrt: QLt, atan2: eRt, round: tRt } = Math, BW = (...n) => {
|
|
130083
|
+
const [e, t, r] = fr(n, "lab"), i = QLt(t * t + r * r);
|
|
130084
|
+
let o = (eRt(r, t) * FLt + 360) % 360;
|
|
130085
|
+
return tRt(i * 1e4) === 0 && (o = Number.NaN), [e, i, o];
|
|
130079
130086
|
}, r6 = (...n) => {
|
|
130080
130087
|
const [e, t, r, ...i] = fr(n, "rgb"), [o, a, s] = t6(e, t, r), [c, l, d] = BW(o, a, s);
|
|
130081
130088
|
return [c, l, d, ...i.length > 0 && i[0] < 1 ? [i[0]] : []];
|
|
@@ -130086,10 +130093,10 @@ Wt.prototype.lch = function() {
|
|
|
130086
130093
|
Wt.prototype.hcl = function() {
|
|
130087
130094
|
return DW(r6(this._rgb));
|
|
130088
130095
|
};
|
|
130089
|
-
const
|
|
130090
|
-
Object.assign($r, { lch:
|
|
130096
|
+
const nRt = (...n) => new Wt(...n, "lch"), rRt = (...n) => new Wt(...n, "hcl");
|
|
130097
|
+
Object.assign($r, { lch: nRt, hcl: rRt });
|
|
130091
130098
|
dr.format.lch = n6;
|
|
130092
|
-
dr.format.hcl =
|
|
130099
|
+
dr.format.hcl = ZLt;
|
|
130093
130100
|
["lch", "hcl"].forEach(
|
|
130094
130101
|
(n) => dr.autodetect.push({
|
|
130095
130102
|
p: 2,
|
|
@@ -130145,7 +130152,7 @@ Wt.prototype.tint = function(n = 0.5, ...e) {
|
|
|
130145
130152
|
Wt.prototype.shade = function(n = 0.5, ...e) {
|
|
130146
130153
|
return av(this, "black", n, ...e);
|
|
130147
130154
|
};
|
|
130148
|
-
const
|
|
130155
|
+
const iRt = (n, e, t) => {
|
|
130149
130156
|
const r = n._rgb, i = e._rgb;
|
|
130150
130157
|
return new Wt(
|
|
130151
130158
|
r[0] + t * (i[0] - r[0]),
|
|
@@ -130154,8 +130161,8 @@ const rRt = (n, e, t) => {
|
|
|
130154
130161
|
"rgb"
|
|
130155
130162
|
);
|
|
130156
130163
|
};
|
|
130157
|
-
vs.rgb =
|
|
130158
|
-
const { sqrt: vT, pow: qm } = Math,
|
|
130164
|
+
vs.rgb = iRt;
|
|
130165
|
+
const { sqrt: vT, pow: qm } = Math, oRt = (n, e, t) => {
|
|
130159
130166
|
const [r, i, o] = n._rgb, [a, s, c] = e._rgb;
|
|
130160
130167
|
return new Wt(
|
|
130161
130168
|
vT(qm(r, 2) * (1 - t) + qm(a, 2) * t),
|
|
@@ -130164,8 +130171,8 @@ const { sqrt: vT, pow: qm } = Math, iRt = (n, e, t) => {
|
|
|
130164
130171
|
"rgb"
|
|
130165
130172
|
);
|
|
130166
130173
|
};
|
|
130167
|
-
vs.lrgb =
|
|
130168
|
-
const
|
|
130174
|
+
vs.lrgb = oRt;
|
|
130175
|
+
const aRt = (n, e, t) => {
|
|
130169
130176
|
const r = n.lab(), i = e.lab();
|
|
130170
130177
|
return new Wt(
|
|
130171
130178
|
r[0] + t * (i[0] - r[0]),
|
|
@@ -130174,7 +130181,7 @@ const oRt = (n, e, t) => {
|
|
|
130174
130181
|
"lab"
|
|
130175
130182
|
);
|
|
130176
130183
|
};
|
|
130177
|
-
vs.lab =
|
|
130184
|
+
vs.lab = aRt;
|
|
130178
130185
|
const Cv = (n, e, t, r) => {
|
|
130179
130186
|
let i, o;
|
|
130180
130187
|
r === "hsl" ? (i = n.hsl(), o = e.hsl()) : r === "hsv" ? (i = n.hsv(), o = e.hsv()) : r === "hcg" ? (i = n.hcg(), o = e.hcg()) : r === "hsi" ? (i = n.hsi(), o = e.hsi()) : r === "lch" || r === "hcl" ? (r = "hcl", i = n.hcl(), o = e.hcl()) : r === "oklch" && (i = n.oklch().reverse(), o = e.oklch().reverse());
|
|
@@ -130185,22 +130192,22 @@ const Cv = (n, e, t, r) => {
|
|
|
130185
130192
|
}, FW = (n, e, t) => Cv(n, e, t, "lch");
|
|
130186
130193
|
vs.lch = FW;
|
|
130187
130194
|
vs.hcl = FW;
|
|
130188
|
-
const
|
|
130195
|
+
const sRt = (n) => {
|
|
130189
130196
|
if (Mr(n) == "number" && n >= 0 && n <= 16777215) {
|
|
130190
130197
|
const e = n >> 16, t = n >> 8 & 255, r = n & 255;
|
|
130191
130198
|
return [e, t, r, 1];
|
|
130192
130199
|
}
|
|
130193
130200
|
throw new Error("unknown num color: " + n);
|
|
130194
|
-
},
|
|
130201
|
+
}, cRt = (...n) => {
|
|
130195
130202
|
const [e, t, r] = fr(n, "rgb");
|
|
130196
130203
|
return (e << 16) + (t << 8) + r;
|
|
130197
130204
|
};
|
|
130198
130205
|
Wt.prototype.num = function() {
|
|
130199
|
-
return
|
|
130206
|
+
return cRt(this._rgb);
|
|
130200
130207
|
};
|
|
130201
|
-
const
|
|
130202
|
-
Object.assign($r, { num:
|
|
130203
|
-
dr.format.num =
|
|
130208
|
+
const lRt = (...n) => new Wt(...n, "num");
|
|
130209
|
+
Object.assign($r, { num: lRt });
|
|
130210
|
+
dr.format.num = sRt;
|
|
130204
130211
|
dr.autodetect.push({
|
|
130205
130212
|
p: 5,
|
|
130206
130213
|
test: (...n) => {
|
|
@@ -130208,12 +130215,12 @@ dr.autodetect.push({
|
|
|
130208
130215
|
return "num";
|
|
130209
130216
|
}
|
|
130210
130217
|
});
|
|
130211
|
-
const
|
|
130218
|
+
const dRt = (n, e, t) => {
|
|
130212
130219
|
const r = n.num(), i = e.num();
|
|
130213
130220
|
return new Wt(r + t * (i - r), "num");
|
|
130214
130221
|
};
|
|
130215
|
-
vs.num =
|
|
130216
|
-
const { floor:
|
|
130222
|
+
vs.num = dRt;
|
|
130223
|
+
const { floor: uRt } = Math, pRt = (...n) => {
|
|
130217
130224
|
n = fr(n, "hcg");
|
|
130218
130225
|
let [e, t, r] = n, i, o, a;
|
|
130219
130226
|
r = r * 255;
|
|
@@ -130222,7 +130229,7 @@ const { floor: dRt } = Math, uRt = (...n) => {
|
|
|
130222
130229
|
i = o = a = r;
|
|
130223
130230
|
else {
|
|
130224
130231
|
e === 360 && (e = 0), e > 360 && (e -= 360), e < 0 && (e += 360), e /= 60;
|
|
130225
|
-
const c =
|
|
130232
|
+
const c = uRt(e), l = e - c, d = r * (1 - t), p = d + s * (1 - l), h = d + s * l, m = d + s;
|
|
130226
130233
|
switch (c) {
|
|
130227
130234
|
case 0:
|
|
130228
130235
|
[i, o, a] = [m, h, d];
|
|
@@ -130245,17 +130252,17 @@ const { floor: dRt } = Math, uRt = (...n) => {
|
|
|
130245
130252
|
}
|
|
130246
130253
|
}
|
|
130247
130254
|
return [i, o, a, n.length > 3 ? n[3] : 1];
|
|
130248
|
-
},
|
|
130255
|
+
}, hRt = (...n) => {
|
|
130249
130256
|
const [e, t, r] = fr(n, "rgb"), i = OW(e, t, r), o = IW(e, t, r), a = o - i, s = a * 100 / 255, c = i / (255 - a) * 100;
|
|
130250
130257
|
let l;
|
|
130251
130258
|
return a === 0 ? l = Number.NaN : (e === o && (l = (t - r) / a), t === o && (l = 2 + (r - e) / a), r === o && (l = 4 + (e - t) / a), l *= 60, l < 0 && (l += 360)), [l, s, c];
|
|
130252
130259
|
};
|
|
130253
130260
|
Wt.prototype.hcg = function() {
|
|
130254
|
-
return
|
|
130261
|
+
return hRt(this._rgb);
|
|
130255
130262
|
};
|
|
130256
|
-
const
|
|
130257
|
-
$r.hcg =
|
|
130258
|
-
dr.format.hcg =
|
|
130263
|
+
const gRt = (...n) => new Wt(...n, "hcg");
|
|
130264
|
+
$r.hcg = gRt;
|
|
130265
|
+
dr.format.hcg = pRt;
|
|
130259
130266
|
dr.autodetect.push({
|
|
130260
130267
|
p: 1,
|
|
130261
130268
|
test: (...n) => {
|
|
@@ -130263,25 +130270,25 @@ dr.autodetect.push({
|
|
|
130263
130270
|
return "hcg";
|
|
130264
130271
|
}
|
|
130265
130272
|
});
|
|
130266
|
-
const
|
|
130267
|
-
vs.hcg =
|
|
130268
|
-
const { cos: Vm } = Math,
|
|
130273
|
+
const mRt = (n, e, t) => Cv(n, e, t, "hcg");
|
|
130274
|
+
vs.hcg = mRt;
|
|
130275
|
+
const { cos: Vm } = Math, fRt = (...n) => {
|
|
130269
130276
|
n = fr(n, "hsi");
|
|
130270
130277
|
let [e, t, r] = n, i, o, a;
|
|
130271
130278
|
return isNaN(e) && (e = 0), isNaN(t) && (t = 0), e > 360 && (e -= 360), e < 0 && (e += 360), e /= 360, e < 1 / 3 ? (a = (1 - t) / 3, i = (1 + t * Vm(tp * e) / Vm(hT - tp * e)) / 3, o = 1 - (a + i)) : e < 2 / 3 ? (e -= 1 / 3, i = (1 - t) / 3, o = (1 + t * Vm(tp * e) / Vm(hT - tp * e)) / 3, a = 1 - (i + o)) : (e -= 2 / 3, o = (1 - t) / 3, a = (1 + t * Vm(tp * e) / Vm(hT - tp * e)) / 3, i = 1 - (o + a)), i = Hg(r * i * 3), o = Hg(r * o * 3), a = Hg(r * a * 3), [i * 255, o * 255, a * 255, n.length > 3 ? n[3] : 1];
|
|
130272
|
-
}, { min:
|
|
130279
|
+
}, { min: vRt, sqrt: yRt, acos: bRt } = Math, wRt = (...n) => {
|
|
130273
130280
|
let [e, t, r] = fr(n, "rgb");
|
|
130274
130281
|
e /= 255, t /= 255, r /= 255;
|
|
130275
130282
|
let i;
|
|
130276
|
-
const o =
|
|
130277
|
-
return s === 0 ? i = NaN : (i = (e - t + (e - r)) / 2, i /=
|
|
130283
|
+
const o = vRt(e, t, r), a = (e + t + r) / 3, s = a > 0 ? 1 - o / a : 0;
|
|
130284
|
+
return s === 0 ? i = NaN : (i = (e - t + (e - r)) / 2, i /= yRt((e - t) * (e - t) + (e - r) * (t - r)), i = bRt(i), r > t && (i = tp - i), i /= tp), [i * 360, s, a];
|
|
130278
130285
|
};
|
|
130279
130286
|
Wt.prototype.hsi = function() {
|
|
130280
|
-
return
|
|
130287
|
+
return wRt(this._rgb);
|
|
130281
130288
|
};
|
|
130282
|
-
const
|
|
130283
|
-
$r.hsi =
|
|
130284
|
-
dr.format.hsi =
|
|
130289
|
+
const xRt = (...n) => new Wt(...n, "hsi");
|
|
130290
|
+
$r.hsi = xRt;
|
|
130291
|
+
dr.format.hsi = fRt;
|
|
130285
130292
|
dr.autodetect.push({
|
|
130286
130293
|
p: 2,
|
|
130287
130294
|
test: (...n) => {
|
|
@@ -130289,8 +130296,8 @@ dr.autodetect.push({
|
|
|
130289
130296
|
return "hsi";
|
|
130290
130297
|
}
|
|
130291
130298
|
});
|
|
130292
|
-
const
|
|
130293
|
-
vs.hsi =
|
|
130299
|
+
const kRt = (n, e, t) => Cv(n, e, t, "hsi");
|
|
130300
|
+
vs.hsi = kRt;
|
|
130294
130301
|
const t9 = (...n) => {
|
|
130295
130302
|
n = fr(n, "hsl");
|
|
130296
130303
|
const [e, t, r] = n;
|
|
@@ -130316,8 +130323,8 @@ const t9 = (...n) => {
|
|
|
130316
130323
|
Wt.prototype.hsl = function() {
|
|
130317
130324
|
return zW(this._rgb);
|
|
130318
130325
|
};
|
|
130319
|
-
const
|
|
130320
|
-
$r.hsl =
|
|
130326
|
+
const _Rt = (...n) => new Wt(...n, "hsl");
|
|
130327
|
+
$r.hsl = _Rt;
|
|
130321
130328
|
dr.format.hsl = t9;
|
|
130322
130329
|
dr.autodetect.push({
|
|
130323
130330
|
p: 2,
|
|
@@ -130326,16 +130333,16 @@ dr.autodetect.push({
|
|
|
130326
130333
|
return "hsl";
|
|
130327
130334
|
}
|
|
130328
130335
|
});
|
|
130329
|
-
const
|
|
130330
|
-
vs.hsl =
|
|
130331
|
-
const { floor:
|
|
130336
|
+
const CRt = (n, e, t) => Cv(n, e, t, "hsl");
|
|
130337
|
+
vs.hsl = CRt;
|
|
130338
|
+
const { floor: SRt } = Math, TRt = (...n) => {
|
|
130332
130339
|
n = fr(n, "hsv");
|
|
130333
130340
|
let [e, t, r] = n, i, o, a;
|
|
130334
130341
|
if (r *= 255, t === 0)
|
|
130335
130342
|
i = o = a = r;
|
|
130336
130343
|
else {
|
|
130337
130344
|
e === 360 && (e = 0), e > 360 && (e -= 360), e < 0 && (e += 360), e /= 60;
|
|
130338
|
-
const s =
|
|
130345
|
+
const s = SRt(e), c = e - s, l = r * (1 - t), d = r * (1 - t * c), p = r * (1 - t * (1 - c));
|
|
130339
130346
|
switch (s) {
|
|
130340
130347
|
case 0:
|
|
130341
130348
|
[i, o, a] = [r, p, l];
|
|
@@ -130358,19 +130365,19 @@ const { floor: CRt } = Math, SRt = (...n) => {
|
|
|
130358
130365
|
}
|
|
130359
130366
|
}
|
|
130360
130367
|
return [i, o, a, n.length > 3 ? n[3] : 1];
|
|
130361
|
-
}, { min:
|
|
130368
|
+
}, { min: ERt, max: ARt } = Math, ORt = (...n) => {
|
|
130362
130369
|
n = fr(n, "rgb");
|
|
130363
130370
|
let [e, t, r] = n;
|
|
130364
|
-
const i =
|
|
130371
|
+
const i = ERt(e, t, r), o = ARt(e, t, r), a = o - i;
|
|
130365
130372
|
let s, c, l;
|
|
130366
130373
|
return l = o / 255, o === 0 ? (s = Number.NaN, c = 0) : (c = a / o, e === o && (s = (t - r) / a), t === o && (s = 2 + (r - e) / a), r === o && (s = 4 + (e - t) / a), s *= 60, s < 0 && (s += 360)), [s, c, l];
|
|
130367
130374
|
};
|
|
130368
130375
|
Wt.prototype.hsv = function() {
|
|
130369
|
-
return
|
|
130376
|
+
return ORt(this._rgb);
|
|
130370
130377
|
};
|
|
130371
|
-
const
|
|
130372
|
-
$r.hsv =
|
|
130373
|
-
dr.format.hsv =
|
|
130378
|
+
const IRt = (...n) => new Wt(...n, "hsv");
|
|
130379
|
+
$r.hsv = IRt;
|
|
130380
|
+
dr.format.hsv = TRt;
|
|
130374
130381
|
dr.autodetect.push({
|
|
130375
130382
|
p: 2,
|
|
130376
130383
|
test: (...n) => {
|
|
@@ -130378,8 +130385,8 @@ dr.autodetect.push({
|
|
|
130378
130385
|
return "hsv";
|
|
130379
130386
|
}
|
|
130380
130387
|
});
|
|
130381
|
-
const
|
|
130382
|
-
vs.hsv =
|
|
130388
|
+
const DRt = (n, e, t) => Cv(n, e, t, "hsv");
|
|
130389
|
+
vs.hsv = DRt;
|
|
130383
130390
|
function Q2(n, e) {
|
|
130384
130391
|
let t = n.length;
|
|
130385
130392
|
Array.isArray(n[0]) || (n = [n]), Array.isArray(e[0]) || (e = e.map((a) => [a]));
|
|
@@ -130390,10 +130397,10 @@ function Q2(n, e) {
|
|
|
130390
130397
|
}
|
|
130391
130398
|
const i6 = (...n) => {
|
|
130392
130399
|
n = fr(n, "lab");
|
|
130393
|
-
const [e, t, r, ...i] = n, [o, a, s] =
|
|
130400
|
+
const [e, t, r, ...i] = n, [o, a, s] = MRt([e, t, r]), [c, l, d] = NW(o, a, s);
|
|
130394
130401
|
return [c, l, d, ...i.length > 0 && i[0] < 1 ? [i[0]] : []];
|
|
130395
130402
|
};
|
|
130396
|
-
function
|
|
130403
|
+
function MRt(n) {
|
|
130397
130404
|
var e = [
|
|
130398
130405
|
[1.2268798758459243, -0.5578149944602171, 0.2813910456659647],
|
|
130399
130406
|
[-0.0405757452148008, 1.112286803280317, -0.0717110580655164],
|
|
@@ -130410,9 +130417,9 @@ function DRt(n) {
|
|
|
130410
130417
|
}
|
|
130411
130418
|
const o6 = (...n) => {
|
|
130412
130419
|
const [e, t, r, ...i] = fr(n, "rgb"), o = LW(e, t, r);
|
|
130413
|
-
return [...
|
|
130420
|
+
return [...PRt(o), ...i.length > 0 && i[0] < 1 ? [i[0]] : []];
|
|
130414
130421
|
};
|
|
130415
|
-
function
|
|
130422
|
+
function PRt(n) {
|
|
130416
130423
|
const e = [
|
|
130417
130424
|
[0.819022437996703, 0.3619062600528904, -0.1288737815209879],
|
|
130418
130425
|
[0.0329836539323885, 0.9292868615863434, 0.0361446663506424],
|
|
@@ -130430,8 +130437,8 @@ function MRt(n) {
|
|
|
130430
130437
|
Wt.prototype.oklab = function() {
|
|
130431
130438
|
return o6(this._rgb);
|
|
130432
130439
|
};
|
|
130433
|
-
const
|
|
130434
|
-
Object.assign($r, { oklab:
|
|
130440
|
+
const NRt = (...n) => new Wt(...n, "oklab");
|
|
130441
|
+
Object.assign($r, { oklab: NRt });
|
|
130435
130442
|
dr.format.oklab = i6;
|
|
130436
130443
|
dr.autodetect.push({
|
|
130437
130444
|
p: 2,
|
|
@@ -130440,7 +130447,7 @@ dr.autodetect.push({
|
|
|
130440
130447
|
return "oklab";
|
|
130441
130448
|
}
|
|
130442
130449
|
});
|
|
130443
|
-
const
|
|
130450
|
+
const LRt = (n, e, t) => {
|
|
130444
130451
|
const r = n.oklab(), i = e.oklab();
|
|
130445
130452
|
return new Wt(
|
|
130446
130453
|
r[0] + t * (i[0] - r[0]),
|
|
@@ -130449,10 +130456,10 @@ const NRt = (n, e, t) => {
|
|
|
130449
130456
|
"oklab"
|
|
130450
130457
|
);
|
|
130451
130458
|
};
|
|
130452
|
-
vs.oklab =
|
|
130453
|
-
const
|
|
130454
|
-
vs.oklch =
|
|
130455
|
-
const { pow: yT, sqrt: bT, PI: wT, cos: LL, sin: RL, atan2:
|
|
130459
|
+
vs.oklab = LRt;
|
|
130460
|
+
const RRt = (n, e, t) => Cv(n, e, t, "oklch");
|
|
130461
|
+
vs.oklch = RRt;
|
|
130462
|
+
const { pow: yT, sqrt: bT, PI: wT, cos: LL, sin: RL, atan2: BRt } = Math, FRt = (n, e = "lrgb", t = null) => {
|
|
130456
130463
|
const r = n.length;
|
|
130457
130464
|
t || (t = Array.from(new Array(r)).map(() => 1));
|
|
130458
130465
|
const i = r / t.reduce(function(p, h) {
|
|
@@ -130461,7 +130468,7 @@ const { pow: yT, sqrt: bT, PI: wT, cos: LL, sin: RL, atan2: RRt } = Math, BRt =
|
|
|
130461
130468
|
if (t.forEach((p, h) => {
|
|
130462
130469
|
t[h] *= i;
|
|
130463
130470
|
}), n = n.map((p) => new Wt(p)), e === "lrgb")
|
|
130464
|
-
return
|
|
130471
|
+
return zRt(n, t);
|
|
130465
130472
|
const o = n.shift(), a = o.get(e), s = [];
|
|
130466
130473
|
let c = 0, l = 0;
|
|
130467
130474
|
for (let p = 0; p < a.length; p++)
|
|
@@ -130483,21 +130490,21 @@ const { pow: yT, sqrt: bT, PI: wT, cos: LL, sin: RL, atan2: RRt } = Math, BRt =
|
|
|
130483
130490
|
});
|
|
130484
130491
|
for (let p = 0; p < a.length; p++)
|
|
130485
130492
|
if (e.charAt(p) === "h") {
|
|
130486
|
-
let h =
|
|
130493
|
+
let h = BRt(l / s[p], c / s[p]) / wT * 180;
|
|
130487
130494
|
for (; h < 0; ) h += 360;
|
|
130488
130495
|
for (; h >= 360; ) h -= 360;
|
|
130489
130496
|
a[p] = h;
|
|
130490
130497
|
} else
|
|
130491
130498
|
a[p] = a[p] / s[p];
|
|
130492
130499
|
return d /= r, new Wt(a, e).alpha(d > 0.99999 ? 1 : d, !0);
|
|
130493
|
-
},
|
|
130500
|
+
}, zRt = (n, e) => {
|
|
130494
130501
|
const t = n.length, r = [0, 0, 0, 0];
|
|
130495
130502
|
for (let i = 0; i < n.length; i++) {
|
|
130496
130503
|
const o = n[i], a = e[i] / t, s = o._rgb;
|
|
130497
130504
|
r[0] += yT(s[0], 2) * a, r[1] += yT(s[1], 2) * a, r[2] += yT(s[2], 2) * a, r[3] += s[3] * a;
|
|
130498
130505
|
}
|
|
130499
130506
|
return r[0] = bT(r[0]), r[1] = bT(r[1]), r[2] = bT(r[2]), r[3] > 0.9999999 && (r[3] = 1), new Wt(Q4(r));
|
|
130500
|
-
}, { pow:
|
|
130507
|
+
}, { pow: $Rt } = Math;
|
|
130501
130508
|
function ek(n) {
|
|
130502
130509
|
let e = "rgb", t = $r("#ccc"), r = 0, i = [0, 1], o = [], a = [0, 0], s = !1, c = [], l = !1, d = 0, p = 1, h = !1, m = {}, f = !0, b = 1;
|
|
130503
130510
|
const w = function(j) {
|
|
@@ -130525,7 +130532,7 @@ function ek(n) {
|
|
|
130525
130532
|
let N, X;
|
|
130526
130533
|
if (H == null && (H = !1), isNaN(j) || j === null)
|
|
130527
130534
|
return t;
|
|
130528
|
-
H ? X = j : s && s.length > 2 ? X = k(j) / (s.length - 2) : p !== d ? X = (j - d) / (p - d) : X = 1, X = C(X), H || (X = E(X)), b !== 1 && (X =
|
|
130535
|
+
H ? X = j : s && s.length > 2 ? X = k(j) / (s.length - 2) : p !== d ? X = (j - d) / (p - d) : X = 1, X = C(X), H || (X = E(X)), b !== 1 && (X = $Rt(X, b)), X = a[0] + X * (1 - a[0] - a[1]), X = Hg(X, 0, 1);
|
|
130529
130536
|
const B = Math.floor(X * 1e4);
|
|
130530
130537
|
if (f && m[B])
|
|
130531
130538
|
N = m[B];
|
|
@@ -130627,7 +130634,7 @@ function ek(n) {
|
|
|
130627
130634
|
N = [z(0.5)];
|
|
130628
130635
|
else if (j > 1) {
|
|
130629
130636
|
const X = i[0], B = i[1] - X;
|
|
130630
|
-
N =
|
|
130637
|
+
N = jRt(0, j).map(
|
|
130631
130638
|
(R) => z(X + R / (j - 1) * B)
|
|
130632
130639
|
);
|
|
130633
130640
|
} else {
|
|
@@ -130649,13 +130656,13 @@ function ek(n) {
|
|
|
130649
130656
|
return j != null ? (t = $r(j), z) : t;
|
|
130650
130657
|
}, z;
|
|
130651
130658
|
}
|
|
130652
|
-
function
|
|
130659
|
+
function jRt(n, e, t) {
|
|
130653
130660
|
let r = [], i = n < e, o = e;
|
|
130654
130661
|
for (let a = n; i ? a < o : a > o; i ? a++ : a--)
|
|
130655
130662
|
r.push(a);
|
|
130656
130663
|
return r;
|
|
130657
130664
|
}
|
|
130658
|
-
const
|
|
130665
|
+
const HRt = function(n) {
|
|
130659
130666
|
let e = [1, 1];
|
|
130660
130667
|
for (let t = 1; t < n; t++) {
|
|
130661
130668
|
let r = [1];
|
|
@@ -130664,7 +130671,7 @@ const jRt = function(n) {
|
|
|
130664
130671
|
e = r;
|
|
130665
130672
|
}
|
|
130666
130673
|
return e;
|
|
130667
|
-
},
|
|
130674
|
+
}, URt = function(n) {
|
|
130668
130675
|
let e, t, r, i;
|
|
130669
130676
|
if (n = n.map((o) => new Wt(o)), n.length === 2)
|
|
130670
130677
|
[t, r] = n.map((o) => o.lab()), e = function(o) {
|
|
@@ -130688,7 +130695,7 @@ const jRt = function(n) {
|
|
|
130688
130695
|
};
|
|
130689
130696
|
} else if (n.length >= 5) {
|
|
130690
130697
|
let o, a, s;
|
|
130691
|
-
o = n.map((c) => c.lab()), s = n.length - 1, a =
|
|
130698
|
+
o = n.map((c) => c.lab()), s = n.length - 1, a = HRt(s), e = function(c) {
|
|
130692
130699
|
const l = 1 - c, d = [0, 1, 2].map(
|
|
130693
130700
|
(p) => o.reduce(
|
|
130694
130701
|
(h, m, f) => h + a[f] * l ** (s - f) * c ** f * m[p],
|
|
@@ -130700,8 +130707,8 @@ const jRt = function(n) {
|
|
|
130700
130707
|
} else
|
|
130701
130708
|
throw new RangeError("No point in running bezier with only one color.");
|
|
130702
130709
|
return e;
|
|
130703
|
-
},
|
|
130704
|
-
const e =
|
|
130710
|
+
}, qRt = (n) => {
|
|
130711
|
+
const e = URt(n);
|
|
130705
130712
|
return e.scale = () => ek(e), e;
|
|
130706
130713
|
}, { round: $W } = Math;
|
|
130707
130714
|
Wt.prototype.rgb = function(n = !0) {
|
|
@@ -130710,8 +130717,8 @@ Wt.prototype.rgb = function(n = !0) {
|
|
|
130710
130717
|
Wt.prototype.rgba = function(n = !0) {
|
|
130711
130718
|
return this._rgb.slice(0, 4).map((e, t) => t < 3 ? n === !1 ? e : $W(e) : e);
|
|
130712
130719
|
};
|
|
130713
|
-
const
|
|
130714
|
-
Object.assign($r, { rgb:
|
|
130720
|
+
const VRt = (...n) => new Wt(...n, "rgb");
|
|
130721
|
+
Object.assign($r, { rgb: VRt });
|
|
130715
130722
|
dr.format.rgb = (...n) => {
|
|
130716
130723
|
const e = fr(n, "rgba");
|
|
130717
130724
|
return e[3] === void 0 && (e[3] = 1), e;
|
|
@@ -130733,21 +130740,21 @@ const Pd = (n, e, t) => {
|
|
|
130733
130740
|
}, zh = (n) => (e, t) => {
|
|
130734
130741
|
const r = [];
|
|
130735
130742
|
return r[0] = n(e[0], t[0]), r[1] = n(e[1], t[1]), r[2] = n(e[2], t[2]), r;
|
|
130736
|
-
},
|
|
130737
|
-
Pd.normal = Fh(zh(
|
|
130738
|
-
Pd.multiply = Fh(zh(
|
|
130739
|
-
Pd.screen = Fh(zh(
|
|
130740
|
-
Pd.overlay = Fh(zh(
|
|
130741
|
-
Pd.darken = Fh(zh(
|
|
130742
|
-
Pd.lighten = Fh(zh(
|
|
130743
|
-
Pd.dodge = Fh(zh(
|
|
130744
|
-
Pd.burn = Fh(zh(
|
|
130745
|
-
const { pow:
|
|
130746
|
-
function
|
|
130743
|
+
}, WRt = (n) => n, GRt = (n, e) => n * e / 255, KRt = (n, e) => n > e ? e : n, YRt = (n, e) => n > e ? n : e, XRt = (n, e) => 255 * (1 - (1 - n / 255) * (1 - e / 255)), JRt = (n, e) => e < 128 ? 2 * n * e / 255 : 255 * (1 - 2 * (1 - n / 255) * (1 - e / 255)), ZRt = (n, e) => 255 * (1 - (1 - e / 255) / (n / 255)), QRt = (n, e) => n === 255 ? 255 : (n = 255 * (e / 255) / (1 - n / 255), n > 255 ? 255 : n);
|
|
130744
|
+
Pd.normal = Fh(zh(WRt));
|
|
130745
|
+
Pd.multiply = Fh(zh(GRt));
|
|
130746
|
+
Pd.screen = Fh(zh(XRt));
|
|
130747
|
+
Pd.overlay = Fh(zh(JRt));
|
|
130748
|
+
Pd.darken = Fh(zh(KRt));
|
|
130749
|
+
Pd.lighten = Fh(zh(YRt));
|
|
130750
|
+
Pd.dodge = Fh(zh(QRt));
|
|
130751
|
+
Pd.burn = Fh(zh(ZRt));
|
|
130752
|
+
const { pow: eBt, sin: tBt, cos: nBt } = Math;
|
|
130753
|
+
function rBt(n = 300, e = -1.5, t = 1, r = 1, i = [0, 1]) {
|
|
130747
130754
|
let o = 0, a;
|
|
130748
130755
|
Mr(i) === "array" ? a = i[1] - i[0] : (a = 0, i = [i, i]);
|
|
130749
130756
|
const s = function(c) {
|
|
130750
|
-
const l = tp * ((n + 120) / 360 + e * c), d =
|
|
130757
|
+
const l = tp * ((n + 120) / 360 + e * c), d = eBt(i[0] + a * c, r), h = (o !== 0 ? t[0] + c * o : t) * d * (1 - d) / 2, m = nBt(l), f = tBt(l), b = d + h * (-0.14861 * m + 1.78277 * f), w = d + h * (-0.29227 * m - 0.90649 * f), k = d + h * (1.97294 * m);
|
|
130751
130758
|
return $r(Q4([b * 255, w * 255, k * 255, 1]));
|
|
130752
130759
|
};
|
|
130753
130760
|
return s.start = function(c) {
|
|
@@ -130762,12 +130769,12 @@ function nBt(n = 300, e = -1.5, t = 1, r = 1, i = [0, 1]) {
|
|
|
130762
130769
|
return c == null ? i : (Mr(c) === "array" ? (i = c, a = c[1] - c[0]) : (i = [c, c], a = 0), s);
|
|
130763
130770
|
}, s.scale = () => $r.scale(s), s.hue(t), s;
|
|
130764
130771
|
}
|
|
130765
|
-
const
|
|
130772
|
+
const iBt = "0123456789abcdef", { floor: oBt, random: aBt } = Math, sBt = () => {
|
|
130766
130773
|
let n = "#";
|
|
130767
130774
|
for (let e = 0; e < 6; e++)
|
|
130768
|
-
n +=
|
|
130775
|
+
n += iBt.charAt(oBt(aBt() * 16));
|
|
130769
130776
|
return new Wt(n, "hex");
|
|
130770
|
-
}, { log: BL, pow:
|
|
130777
|
+
}, { log: BL, pow: cBt, floor: lBt, abs: dBt } = Math;
|
|
130771
130778
|
function jW(n, e = null) {
|
|
130772
130779
|
const t = {
|
|
130773
130780
|
min: Number.MAX_VALUE,
|
|
@@ -130799,12 +130806,12 @@ function HW(n, e = "equal", t = 7) {
|
|
|
130799
130806
|
const s = Math.LOG10E * BL(r), c = Math.LOG10E * BL(i);
|
|
130800
130807
|
a.push(r);
|
|
130801
130808
|
for (let l = 1; l < t; l++)
|
|
130802
|
-
a.push(
|
|
130809
|
+
a.push(cBt(10, s + l / t * (c - s)));
|
|
130803
130810
|
a.push(i);
|
|
130804
130811
|
} else if (e.substr(0, 1) === "q") {
|
|
130805
130812
|
a.push(r);
|
|
130806
130813
|
for (let s = 1; s < t; s++) {
|
|
130807
|
-
const c = (o.length - 1) * s / t, l =
|
|
130814
|
+
const c = (o.length - 1) * s / t, l = lBt(c);
|
|
130808
130815
|
if (l === c)
|
|
130809
130816
|
a.push(o[l]);
|
|
130810
130817
|
else {
|
|
@@ -130827,7 +130834,7 @@ function HW(n, e = "equal", t = 7) {
|
|
|
130827
130834
|
const E = o[k];
|
|
130828
130835
|
let C = Number.MAX_VALUE, A;
|
|
130829
130836
|
for (let D = 0; D < t; D++) {
|
|
130830
|
-
const z =
|
|
130837
|
+
const z = dBt(m[D] - E);
|
|
130831
130838
|
z < C && (C = z, A = D), d[A]++, l[k] = A;
|
|
130832
130839
|
}
|
|
130833
130840
|
}
|
|
@@ -130862,7 +130869,7 @@ function HW(n, e = "equal", t = 7) {
|
|
|
130862
130869
|
}
|
|
130863
130870
|
return a;
|
|
130864
130871
|
}
|
|
130865
|
-
const
|
|
130872
|
+
const uBt = (n, e) => {
|
|
130866
130873
|
n = new Wt(n), e = new Wt(e);
|
|
130867
130874
|
const t = n.luminance(), r = e.luminance();
|
|
130868
130875
|
return t > r ? (t + 0.05) / (r + 0.05) : (r + 0.05) / (t + 0.05);
|
|
@@ -130880,16 +130887,16 @@ const dBt = (n, e) => {
|
|
|
130880
130887
|
* You can read more about the APCA Readability Criterion at
|
|
130881
130888
|
* https://readtech.org/ARC/
|
|
130882
130889
|
*/
|
|
130883
|
-
const FL = 0.027,
|
|
130890
|
+
const FL = 0.027, pBt = 5e-4, hBt = 0.1, zL = 1.14, Gw = 0.022, $L = 1.414, gBt = (n, e) => {
|
|
130884
130891
|
n = new Wt(n), e = new Wt(e), n.alpha() < 1 && (n = av(e, n, n.alpha(), "rgb"));
|
|
130885
|
-
const t = jL(...n.rgb()), r = jL(...e.rgb()), i = t >= Gw ? t : t + Math.pow(Gw - t, $L), o = r >= Gw ? r : r + Math.pow(Gw - r, $L), a = Math.pow(o, 0.56) - Math.pow(i, 0.57), s = Math.pow(o, 0.65) - Math.pow(i, 0.62), c = Math.abs(o - i) <
|
|
130886
|
-
return (Math.abs(c) <
|
|
130892
|
+
const t = jL(...n.rgb()), r = jL(...e.rgb()), i = t >= Gw ? t : t + Math.pow(Gw - t, $L), o = r >= Gw ? r : r + Math.pow(Gw - r, $L), a = Math.pow(o, 0.56) - Math.pow(i, 0.57), s = Math.pow(o, 0.65) - Math.pow(i, 0.62), c = Math.abs(o - i) < pBt ? 0 : i < o ? a * zL : s * zL;
|
|
130893
|
+
return (Math.abs(c) < hBt ? 0 : c > 0 ? c - FL : c + FL) * 100;
|
|
130887
130894
|
};
|
|
130888
130895
|
function jL(n, e, t) {
|
|
130889
130896
|
return 0.2126729 * Math.pow(n / 255, 2.4) + 0.7151522 * Math.pow(e / 255, 2.4) + 0.072175 * Math.pow(t / 255, 2.4);
|
|
130890
130897
|
}
|
|
130891
|
-
const { sqrt: Wu, pow: Xo, min:
|
|
130892
|
-
function
|
|
130898
|
+
const { sqrt: Wu, pow: Xo, min: mBt, max: fBt, atan2: HL, abs: UL, cos: Kw, sin: qL, exp: vBt, PI: VL } = Math;
|
|
130899
|
+
function yBt(n, e, t = 1, r = 1, i = 1) {
|
|
130893
130900
|
var o = function(De) {
|
|
130894
130901
|
return 360 * De / (2 * VL);
|
|
130895
130902
|
}, a = function(De) {
|
|
@@ -130899,12 +130906,12 @@ function vBt(n, e, t = 1, r = 1, i = 1) {
|
|
|
130899
130906
|
const [s, c, l] = Array.from(n.lab()), [d, p, h] = Array.from(e.lab()), m = (s + d) / 2, f = Wu(Xo(c, 2) + Xo(l, 2)), b = Wu(Xo(p, 2) + Xo(h, 2)), w = (f + b) / 2, k = 0.5 * (1 - Wu(Xo(w, 7) / (Xo(w, 7) + Xo(25, 7)))), E = c * (1 + k), C = p * (1 + k), A = Wu(Xo(E, 2) + Xo(l, 2)), D = Wu(Xo(C, 2) + Xo(h, 2)), z = (A + D) / 2, j = o(HL(l, E)), H = o(HL(h, C)), N = j >= 0 ? j : j + 360, X = H >= 0 ? H : H + 360, B = UL(N - X) > 180 ? (N + X + 360) / 2 : (N + X) / 2, R = 1 - 0.17 * Kw(a(B - 30)) + 0.24 * Kw(a(2 * B)) + 0.32 * Kw(a(3 * B + 6)) - 0.2 * Kw(a(4 * B - 63));
|
|
130900
130907
|
let K = X - N;
|
|
130901
130908
|
K = UL(K) <= 180 ? K : X <= N ? K + 360 : K - 360, K = 2 * Wu(A * D) * qL(a(K) / 2);
|
|
130902
|
-
const L = d - s, Y = D - A, M = 1 + 0.015 * Xo(m - 50, 2) / Wu(20 + Xo(m - 50, 2)), ie = 1 + 0.045 * z, le = 1 + 0.015 * z * R, te = 30 *
|
|
130909
|
+
const L = d - s, Y = D - A, M = 1 + 0.015 * Xo(m - 50, 2) / Wu(20 + Xo(m - 50, 2)), ie = 1 + 0.045 * z, le = 1 + 0.015 * z * R, te = 30 * vBt(-Xo((B - 275) / 25, 2)), Me = -(2 * Wu(Xo(z, 7) / (Xo(z, 7) + Xo(25, 7)))) * qL(2 * a(te)), be = Wu(
|
|
130903
130910
|
Xo(L / (t * M), 2) + Xo(Y / (r * ie), 2) + Xo(K / (i * le), 2) + Me * (Y / (r * ie)) * (K / (i * le))
|
|
130904
130911
|
);
|
|
130905
|
-
return
|
|
130912
|
+
return fBt(0, mBt(100, be));
|
|
130906
130913
|
}
|
|
130907
|
-
function
|
|
130914
|
+
function bBt(n, e, t = "lab") {
|
|
130908
130915
|
n = new Wt(n), e = new Wt(e);
|
|
130909
130916
|
const r = n.get(t), i = e.get(t);
|
|
130910
130917
|
let o = 0;
|
|
@@ -130914,13 +130921,13 @@ function yBt(n, e, t = "lab") {
|
|
|
130914
130921
|
}
|
|
130915
130922
|
return Math.sqrt(o);
|
|
130916
130923
|
}
|
|
130917
|
-
const
|
|
130924
|
+
const wBt = (...n) => {
|
|
130918
130925
|
try {
|
|
130919
130926
|
return new Wt(...n), !0;
|
|
130920
130927
|
} catch {
|
|
130921
130928
|
return !1;
|
|
130922
130929
|
}
|
|
130923
|
-
},
|
|
130930
|
+
}, xBt = {
|
|
130924
130931
|
cool() {
|
|
130925
130932
|
return ek([$r.hsl(180, 1, 0.9), $r.hsl(250, 0.7, 0.4)]);
|
|
130926
130933
|
},
|
|
@@ -130969,7 +130976,7 @@ const bBt = (...n) => {
|
|
|
130969
130976
|
Paired: ["#a6cee3", "#1f78b4", "#b2df8a", "#33a02c", "#fb9a99", "#e31a1c", "#fdbf6f", "#ff7f00", "#cab2d6", "#6a3d9a", "#ffff99", "#b15928"],
|
|
130970
130977
|
Pastel2: ["#b3e2cd", "#fdcdac", "#cbd5e8", "#f4cae4", "#e6f5c9", "#fff2ae", "#f1e2cc", "#cccccc"],
|
|
130971
130978
|
Pastel1: ["#fbb4ae", "#b3cde3", "#ccebc5", "#decbe4", "#fed9a6", "#ffffcc", "#e5d8bd", "#fddaec", "#f2f2f2"]
|
|
130972
|
-
}, UW = Object.keys(n9), WL = new Map(UW.map((n) => [n.toLowerCase(), n])),
|
|
130979
|
+
}, UW = Object.keys(n9), WL = new Map(UW.map((n) => [n.toLowerCase(), n])), kBt = typeof Proxy == "function" ? new Proxy(n9, {
|
|
130973
130980
|
get(n, e) {
|
|
130974
130981
|
const t = e.toLowerCase();
|
|
130975
130982
|
if (WL.has(t))
|
|
@@ -130978,7 +130985,7 @@ const bBt = (...n) => {
|
|
|
130978
130985
|
getOwnPropertyNames() {
|
|
130979
130986
|
return Object.getOwnPropertyNames(UW);
|
|
130980
130987
|
}
|
|
130981
|
-
}) : n9,
|
|
130988
|
+
}) : n9, _Bt = (...n) => {
|
|
130982
130989
|
n = fr(n, "cmyk");
|
|
130983
130990
|
const [e, t, r, i] = n, o = n.length > 4 ? n[4] : 1;
|
|
130984
130991
|
return i === 1 ? [0, 0, 0, o] : [
|
|
@@ -130990,18 +130997,18 @@ const bBt = (...n) => {
|
|
|
130990
130997
|
// b
|
|
130991
130998
|
o
|
|
130992
130999
|
];
|
|
130993
|
-
}, { max: GL } = Math,
|
|
131000
|
+
}, { max: GL } = Math, CBt = (...n) => {
|
|
130994
131001
|
let [e, t, r] = fr(n, "rgb");
|
|
130995
131002
|
e = e / 255, t = t / 255, r = r / 255;
|
|
130996
131003
|
const i = 1 - GL(e, GL(t, r)), o = i < 1 ? 1 / (1 - i) : 0, a = (1 - e - i) * o, s = (1 - t - i) * o, c = (1 - r - i) * o;
|
|
130997
131004
|
return [a, s, c, i];
|
|
130998
131005
|
};
|
|
130999
131006
|
Wt.prototype.cmyk = function() {
|
|
131000
|
-
return
|
|
131007
|
+
return CBt(this._rgb);
|
|
131001
131008
|
};
|
|
131002
|
-
const
|
|
131003
|
-
Object.assign($r, { cmyk:
|
|
131004
|
-
dr.format.cmyk =
|
|
131009
|
+
const SBt = (...n) => new Wt(...n, "cmyk");
|
|
131010
|
+
Object.assign($r, { cmyk: SBt });
|
|
131011
|
+
dr.format.cmyk = _Bt;
|
|
131005
131012
|
dr.autodetect.push({
|
|
131006
131013
|
p: 2,
|
|
131007
131014
|
test: (...n) => {
|
|
@@ -131009,45 +131016,45 @@ dr.autodetect.push({
|
|
|
131009
131016
|
return "cmyk";
|
|
131010
131017
|
}
|
|
131011
131018
|
});
|
|
131012
|
-
const
|
|
131019
|
+
const TBt = (...n) => {
|
|
131013
131020
|
const e = fr(n, "hsla");
|
|
131014
131021
|
let t = _v(n) || "lsa";
|
|
131015
131022
|
return e[0] = Wl(e[0] || 0) + "deg", e[1] = Wl(e[1] * 100) + "%", e[2] = Wl(e[2] * 100) + "%", t === "hsla" || e.length > 3 && e[3] < 1 ? (e[3] = "/ " + (e.length > 3 ? e[3] : 1), t = "hsla") : e.length = 3, `${t.substr(0, 3)}(${e.join(" ")})`;
|
|
131016
|
-
},
|
|
131023
|
+
}, EBt = (...n) => {
|
|
131017
131024
|
const e = fr(n, "lab");
|
|
131018
131025
|
let t = _v(n) || "lab";
|
|
131019
131026
|
return e[0] = Wl(e[0]) + "%", e[1] = Wl(e[1]), e[2] = Wl(e[2]), t === "laba" || e.length > 3 && e[3] < 1 ? e[3] = "/ " + (e.length > 3 ? e[3] : 1) : e.length = 3, `lab(${e.join(" ")})`;
|
|
131020
|
-
},
|
|
131027
|
+
}, ABt = (...n) => {
|
|
131021
131028
|
const e = fr(n, "lch");
|
|
131022
131029
|
let t = _v(n) || "lab";
|
|
131023
131030
|
return e[0] = Wl(e[0]) + "%", e[1] = Wl(e[1]), e[2] = isNaN(e[2]) ? "none" : Wl(e[2]) + "deg", t === "lcha" || e.length > 3 && e[3] < 1 ? e[3] = "/ " + (e.length > 3 ? e[3] : 1) : e.length = 3, `lch(${e.join(" ")})`;
|
|
131024
|
-
},
|
|
131031
|
+
}, OBt = (...n) => {
|
|
131025
131032
|
const e = fr(n, "lab");
|
|
131026
131033
|
return e[0] = Wl(e[0] * 100) + "%", e[1] = e9(e[1]), e[2] = e9(e[2]), e.length > 3 && e[3] < 1 ? e[3] = "/ " + (e.length > 3 ? e[3] : 1) : e.length = 3, `oklab(${e.join(" ")})`;
|
|
131027
131034
|
}, qW = (...n) => {
|
|
131028
131035
|
const [e, t, r, ...i] = fr(n, "rgb"), [o, a, s] = o6(e, t, r), [c, l, d] = BW(o, a, s);
|
|
131029
131036
|
return [c, l, d, ...i.length > 0 && i[0] < 1 ? [i[0]] : []];
|
|
131030
|
-
},
|
|
131037
|
+
}, IBt = (...n) => {
|
|
131031
131038
|
const e = fr(n, "lch");
|
|
131032
131039
|
return e[0] = Wl(e[0] * 100) + "%", e[1] = e9(e[1]), e[2] = isNaN(e[2]) ? "none" : Wl(e[2]) + "deg", e.length > 3 && e[3] < 1 ? e[3] = "/ " + (e.length > 3 ? e[3] : 1) : e.length = 3, `oklch(${e.join(" ")})`;
|
|
131033
|
-
}, { round: xT } = Math,
|
|
131040
|
+
}, { round: xT } = Math, DBt = (...n) => {
|
|
131034
131041
|
const e = fr(n, "rgba");
|
|
131035
131042
|
let t = _v(n) || "rgb";
|
|
131036
131043
|
if (t.substr(0, 3) === "hsl")
|
|
131037
|
-
return
|
|
131044
|
+
return TBt(zW(e), t);
|
|
131038
131045
|
if (t.substr(0, 3) === "lab") {
|
|
131039
131046
|
const r = Kb();
|
|
131040
131047
|
lp("d50");
|
|
131041
|
-
const i =
|
|
131048
|
+
const i = EBt(t6(e), t);
|
|
131042
131049
|
return lp(r), i;
|
|
131043
131050
|
}
|
|
131044
131051
|
if (t.substr(0, 3) === "lch") {
|
|
131045
131052
|
const r = Kb();
|
|
131046
131053
|
lp("d50");
|
|
131047
|
-
const i =
|
|
131054
|
+
const i = ABt(r6(e), t);
|
|
131048
131055
|
return lp(r), i;
|
|
131049
131056
|
}
|
|
131050
|
-
return t.substr(0, 5) === "oklab" ?
|
|
131057
|
+
return t.substr(0, 5) === "oklab" ? OBt(o6(e)) : t.substr(0, 5) === "oklch" ? IBt(qW(e)) : (e[0] = xT(e[0]), e[1] = xT(e[1]), e[2] = xT(e[2]), (t === "rgba" || e.length > 3 && e[3] < 1) && (e[3] = "/ " + (e.length > 3 ? e[3] : 1), t = "rgba"), `${t.substr(0, 3)}(${e.slice(0, t === "rgb" ? 3 : 4).join(" ")})`);
|
|
131051
131058
|
}, VW = (...n) => {
|
|
131052
131059
|
n = fr(n, "lch");
|
|
131053
131060
|
const [e, t, r, ...i] = n, [o, a, s] = RW(e, t, r), [c, l, d] = i6(o, a, s);
|
|
@@ -131146,10 +131153,10 @@ s6.test = (n) => (
|
|
|
131146
131153
|
GW.test(n) || KW.test(n) || XW.test(n) || JW.test(n) || n === "transparent"
|
|
131147
131154
|
);
|
|
131148
131155
|
Wt.prototype.css = function(n) {
|
|
131149
|
-
return
|
|
131156
|
+
return DBt(this._rgb, n);
|
|
131150
131157
|
};
|
|
131151
|
-
const
|
|
131152
|
-
$r.css =
|
|
131158
|
+
const MBt = (...n) => new Wt(...n, "css");
|
|
131159
|
+
$r.css = MBt;
|
|
131153
131160
|
dr.format.css = s6;
|
|
131154
131161
|
dr.autodetect.push({
|
|
131155
131162
|
p: 5,
|
|
@@ -131162,8 +131169,8 @@ dr.format.gl = (...n) => {
|
|
|
131162
131169
|
const e = fr(n, "rgba");
|
|
131163
131170
|
return e[0] *= 255, e[1] *= 255, e[2] *= 255, e;
|
|
131164
131171
|
};
|
|
131165
|
-
const
|
|
131166
|
-
$r.gl =
|
|
131172
|
+
const PBt = (...n) => new Wt(...n, "gl");
|
|
131173
|
+
$r.gl = PBt;
|
|
131167
131174
|
Wt.prototype.gl = function() {
|
|
131168
131175
|
const n = this._rgb;
|
|
131169
131176
|
return [n[0] / 255, n[1] / 255, n[2] / 255, n[3]];
|
|
@@ -131171,8 +131178,8 @@ Wt.prototype.gl = function() {
|
|
|
131171
131178
|
Wt.prototype.hex = function(n) {
|
|
131172
131179
|
return PW(this._rgb, n);
|
|
131173
131180
|
};
|
|
131174
|
-
const
|
|
131175
|
-
$r.hex =
|
|
131181
|
+
const NBt = (...n) => new Wt(...n, "hex");
|
|
131182
|
+
$r.hex = NBt;
|
|
131176
131183
|
dr.format.hex = MW;
|
|
131177
131184
|
dr.autodetect.push({
|
|
131178
131185
|
p: 4,
|
|
@@ -131185,7 +131192,7 @@ const { log: Yw } = Math, rG = (n) => {
|
|
|
131185
131192
|
const e = n / 100;
|
|
131186
131193
|
let t, r, i;
|
|
131187
131194
|
return e < 66 ? (t = 255, r = e < 6 ? 0 : -155.25485562709179 - 0.44596950469579133 * (r = e - 2) + 104.49216199393888 * Yw(r), i = e < 20 ? 0 : -254.76935184120902 + 0.8274096064007395 * (i = e - 10) + 115.67994401066147 * Yw(i)) : (t = 351.97690566805693 + 0.114206453784165 * (t = e - 55) - 40.25366309332127 * Yw(t), r = 325.4494125711974 + 0.07943456536662342 * (r = e - 50) - 28.0852963507957 * Yw(r), i = 255), [t, r, i, 1];
|
|
131188
|
-
}, { round:
|
|
131195
|
+
}, { round: LBt } = Math, RBt = (...n) => {
|
|
131189
131196
|
const e = fr(n, "rgb"), t = e[0], r = e[2];
|
|
131190
131197
|
let i = 1e3, o = 4e4;
|
|
131191
131198
|
const a = 0.4;
|
|
@@ -131195,10 +131202,10 @@ const { log: Yw } = Math, rG = (n) => {
|
|
|
131195
131202
|
const c = rG(s);
|
|
131196
131203
|
c[2] / c[0] >= r / t ? o = s : i = s;
|
|
131197
131204
|
}
|
|
131198
|
-
return
|
|
131205
|
+
return LBt(s);
|
|
131199
131206
|
};
|
|
131200
131207
|
Wt.prototype.temp = Wt.prototype.kelvin = Wt.prototype.temperature = function() {
|
|
131201
|
-
return
|
|
131208
|
+
return RBt(this._rgb);
|
|
131202
131209
|
};
|
|
131203
131210
|
const kT = (...n) => new Wt(...n, "temp");
|
|
131204
131211
|
Object.assign($r, { temp: kT, kelvin: kT, temperature: kT });
|
|
@@ -131206,8 +131213,8 @@ dr.format.temp = dr.format.kelvin = dr.format.temperature = rG;
|
|
|
131206
131213
|
Wt.prototype.oklch = function() {
|
|
131207
131214
|
return qW(this._rgb);
|
|
131208
131215
|
};
|
|
131209
|
-
const
|
|
131210
|
-
Object.assign($r, { oklch:
|
|
131216
|
+
const BBt = (...n) => new Wt(...n, "oklch");
|
|
131217
|
+
Object.assign($r, { oklch: BBt });
|
|
131211
131218
|
dr.format.oklch = VW;
|
|
131212
131219
|
dr.autodetect.push({
|
|
131213
131220
|
p: 2,
|
|
@@ -131218,25 +131225,25 @@ dr.autodetect.push({
|
|
|
131218
131225
|
});
|
|
131219
131226
|
Object.assign($r, {
|
|
131220
131227
|
analyze: jW,
|
|
131221
|
-
average:
|
|
131222
|
-
bezier:
|
|
131228
|
+
average: FRt,
|
|
131229
|
+
bezier: qRt,
|
|
131223
131230
|
blend: Pd,
|
|
131224
|
-
brewer:
|
|
131231
|
+
brewer: kBt,
|
|
131225
131232
|
Color: Wt,
|
|
131226
131233
|
colors: ov,
|
|
131227
|
-
contrast:
|
|
131228
|
-
contrastAPCA:
|
|
131229
|
-
cubehelix:
|
|
131230
|
-
deltaE:
|
|
131231
|
-
distance:
|
|
131234
|
+
contrast: uBt,
|
|
131235
|
+
contrastAPCA: gBt,
|
|
131236
|
+
cubehelix: rBt,
|
|
131237
|
+
deltaE: yBt,
|
|
131238
|
+
distance: bBt,
|
|
131232
131239
|
input: dr,
|
|
131233
131240
|
interpolate: av,
|
|
131234
131241
|
limits: HW,
|
|
131235
131242
|
mix: av,
|
|
131236
|
-
random:
|
|
131243
|
+
random: sBt,
|
|
131237
131244
|
scale: ek,
|
|
131238
|
-
scales:
|
|
131239
|
-
valid:
|
|
131245
|
+
scales: xBt,
|
|
131246
|
+
valid: wBt
|
|
131240
131247
|
});
|
|
131241
131248
|
const KL = (n = "", e = 1) => {
|
|
131242
131249
|
if (!n || n === "none")
|
|
@@ -131254,7 +131261,7 @@ const KL = (n = "", e = 1) => {
|
|
|
131254
131261
|
}
|
|
131255
131262
|
return r;
|
|
131256
131263
|
};
|
|
131257
|
-
function
|
|
131264
|
+
function FBt(n) {
|
|
131258
131265
|
const e = document.createElement("div");
|
|
131259
131266
|
e.style.border = n;
|
|
131260
131267
|
const t = e.style.border;
|
|
@@ -131270,10 +131277,10 @@ function BBt(n) {
|
|
|
131270
131277
|
};
|
|
131271
131278
|
}
|
|
131272
131279
|
}
|
|
131273
|
-
var
|
|
131274
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
131280
|
+
var zBt = Object.defineProperty, $Bt = Object.getOwnPropertyDescriptor, $h = (n, e, t, r) => {
|
|
131281
|
+
for (var i = r > 1 ? void 0 : r ? $Bt(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
131275
131282
|
(a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
|
|
131276
|
-
return r && i &&
|
|
131283
|
+
return r && i && zBt(e, t, i), i;
|
|
131277
131284
|
};
|
|
131278
131285
|
const XL = {
|
|
131279
131286
|
alignment: QA[0],
|
|
@@ -131445,7 +131452,7 @@ let Nd = class extends On {
|
|
|
131445
131452
|
} else
|
|
131446
131453
|
a = {
|
|
131447
131454
|
...a,
|
|
131448
|
-
...
|
|
131455
|
+
...FBt(l)
|
|
131449
131456
|
};
|
|
131450
131457
|
}
|
|
131451
131458
|
}
|
|
@@ -131505,13 +131512,13 @@ $h([
|
|
|
131505
131512
|
Nd = $h([
|
|
131506
131513
|
wn("cx-table-dialog")
|
|
131507
131514
|
], Nd);
|
|
131508
|
-
const
|
|
131509
|
-
var
|
|
131510
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
131515
|
+
const jBt = bn`.container{padding:0 var(--cx-spacing-x-small)}.cell{width:var(--cx-spacing-large);height:var(--cx-spacing-large);border:1px solid var(--cx-panel-border-color);border-radius:var(--cx-border-radius-small);cursor:pointer;backgroubnd-color:transparent;transition:background-color .2s ease-in-out;display:block}.cell-highlight{background-color:var(--cx-menu-item-background-color-hover)}`;
|
|
131516
|
+
var HBt = Object.defineProperty, UBt = Object.getOwnPropertyDescriptor, iG = (n, e, t, r) => {
|
|
131517
|
+
for (var i = r > 1 ? void 0 : r ? UBt(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
131511
131518
|
(a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
|
|
131512
|
-
return r && i &&
|
|
131519
|
+
return r && i && HBt(e, t, i), i;
|
|
131513
131520
|
};
|
|
131514
|
-
const
|
|
131521
|
+
const qBt = 5, VBt = 5;
|
|
131515
131522
|
let sv = class extends On {
|
|
131516
131523
|
constructor() {
|
|
131517
131524
|
super(), this.localize = new Vn(this), this.highlightPos = {
|
|
@@ -131555,15 +131562,15 @@ let sv = class extends On {
|
|
|
131555
131562
|
}
|
|
131556
131563
|
render() {
|
|
131557
131564
|
return V`<div class="container"><cx-typography variant="small">${this.highlightPos.row + 1}x${this.highlightPos.col + 1}</cx-typography><cx-space direction="vertical" spacing="2x-small" @mouseleave=${this.onMouseLeave}>${no(
|
|
131558
|
-
Array.from({ length:
|
|
131565
|
+
Array.from({ length: qBt }, (n, e) => e),
|
|
131559
131566
|
(n) => V`<cx-space direction="horizontal" spacing="2x-small">${no(
|
|
131560
|
-
Array.from({ length:
|
|
131567
|
+
Array.from({ length: VBt }, (e, t) => t),
|
|
131561
131568
|
(e) => this.renderCell(n, e)
|
|
131562
131569
|
)}</cx-space>`
|
|
131563
131570
|
)}</cx-space></div>`;
|
|
131564
131571
|
}
|
|
131565
131572
|
};
|
|
131566
|
-
sv.styles = [Tn,
|
|
131573
|
+
sv.styles = [Tn, jBt];
|
|
131567
131574
|
sv.dependencies = {
|
|
131568
131575
|
"cx-space": ci,
|
|
131569
131576
|
"cx-typography": mi
|
|
@@ -131574,7 +131581,7 @@ iG([
|
|
|
131574
131581
|
sv = iG([
|
|
131575
131582
|
wn("cx-rte-table-generator")
|
|
131576
131583
|
], sv);
|
|
131577
|
-
const
|
|
131584
|
+
const WBt = sv, GBt = "cx-search-box", KBt = (n, e) => {
|
|
131578
131585
|
const t = (r) => {
|
|
131579
131586
|
const i = (o) => {
|
|
131580
131587
|
if (o !== r)
|
|
@@ -131599,7 +131606,7 @@ const VBt = sv, WBt = "cx-search-box", GBt = (n, e) => {
|
|
|
131599
131606
|
{
|
|
131600
131607
|
id: vt.SearchBox,
|
|
131601
131608
|
init: t,
|
|
131602
|
-
tagName:
|
|
131609
|
+
tagName: GBt,
|
|
131603
131610
|
view: {
|
|
131604
131611
|
events() {
|
|
131605
131612
|
return {
|
|
@@ -131612,7 +131619,7 @@ const VBt = sv, WBt = "cx-search-box", GBt = (n, e) => {
|
|
|
131612
131619
|
}
|
|
131613
131620
|
}
|
|
131614
131621
|
);
|
|
131615
|
-
},
|
|
131622
|
+
}, YBt = "cx-data-tab-group", XBt = (n, e) => {
|
|
131616
131623
|
const t = /* @__PURE__ */ new WeakMap(), r = (a) => {
|
|
131617
131624
|
a.on("change:attributes:data", o);
|
|
131618
131625
|
}, i = (a) => {
|
|
@@ -131627,7 +131634,7 @@ const VBt = sv, WBt = "cx-search-box", GBt = (n, e) => {
|
|
|
131627
131634
|
id: vt.TabGroup,
|
|
131628
131635
|
init: r,
|
|
131629
131636
|
removed: i,
|
|
131630
|
-
tagName:
|
|
131637
|
+
tagName: YBt,
|
|
131631
131638
|
view: {
|
|
131632
131639
|
onRender({ model: a }) {
|
|
131633
131640
|
o(a);
|
|
@@ -131635,7 +131642,7 @@ const VBt = sv, WBt = "cx-search-box", GBt = (n, e) => {
|
|
|
131635
131642
|
}
|
|
131636
131643
|
}
|
|
131637
131644
|
);
|
|
131638
|
-
}, _T = "cx-text",
|
|
131645
|
+
}, _T = "cx-text", JBt = (n, e) => {
|
|
131639
131646
|
as(
|
|
131640
131647
|
n,
|
|
131641
131648
|
e,
|
|
@@ -131667,7 +131674,7 @@ const VBt = sv, WBt = "cx-search-box", GBt = (n, e) => {
|
|
|
131667
131674
|
}
|
|
131668
131675
|
}
|
|
131669
131676
|
);
|
|
131670
|
-
},
|
|
131677
|
+
}, ZBt = "cx-timeline", QBt = (n, e) => {
|
|
131671
131678
|
const t = /* @__PURE__ */ new WeakMap(), r = (a) => {
|
|
131672
131679
|
a.on("change:attributes:data", o);
|
|
131673
131680
|
}, i = (a) => {
|
|
@@ -131686,7 +131693,7 @@ const VBt = sv, WBt = "cx-search-box", GBt = (n, e) => {
|
|
|
131686
131693
|
id: vt.Timeline,
|
|
131687
131694
|
init: r,
|
|
131688
131695
|
removed: i,
|
|
131689
|
-
tagName:
|
|
131696
|
+
tagName: ZBt,
|
|
131690
131697
|
view: {
|
|
131691
131698
|
events() {
|
|
131692
131699
|
return {
|
|
@@ -131704,7 +131711,7 @@ const VBt = sv, WBt = "cx-search-box", GBt = (n, e) => {
|
|
|
131704
131711
|
}
|
|
131705
131712
|
}
|
|
131706
131713
|
);
|
|
131707
|
-
}, JL = "cx-sb-video",
|
|
131714
|
+
}, JL = "cx-sb-video", eFt = (n, e) => {
|
|
131708
131715
|
const t = /* @__PURE__ */ new WeakMap(), r = (s) => {
|
|
131709
131716
|
s.on("change:attributes:content-type", a);
|
|
131710
131717
|
const c = (l) => {
|
|
@@ -131826,7 +131833,7 @@ const VBt = sv, WBt = "cx-search-box", GBt = (n, e) => {
|
|
|
131826
131833
|
}
|
|
131827
131834
|
}
|
|
131828
131835
|
);
|
|
131829
|
-
},
|
|
131836
|
+
}, tFt = (n) => (e) => {
|
|
131830
131837
|
e.on("canvas:frame:load:head", () => {
|
|
131831
131838
|
const t = e.Commands.commands["select-comp"].onClick;
|
|
131832
131839
|
t && (e.Commands.commands["select-comp"].onClick = function(r) {
|
|
@@ -131858,10 +131865,10 @@ const VBt = sv, WBt = "cx-search-box", GBt = (n, e) => {
|
|
|
131858
131865
|
}).observe(t.ownerDocument.body, { childList: !0, subtree: !0 });
|
|
131859
131866
|
});
|
|
131860
131867
|
};
|
|
131861
|
-
var
|
|
131862
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
131868
|
+
var nFt = Object.defineProperty, rFt = Object.getOwnPropertyDescriptor, Cr = (n, e, t, r) => {
|
|
131869
|
+
for (var i = r > 1 ? void 0 : r ? rFt(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
131863
131870
|
(a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
|
|
131864
|
-
return r && i &&
|
|
131871
|
+
return r && i && nFt(e, t, i), i;
|
|
131865
131872
|
};
|
|
131866
131873
|
let pr = class extends On {
|
|
131867
131874
|
constructor() {
|
|
@@ -132370,8 +132377,8 @@ let pr = class extends On {
|
|
|
132370
132377
|
},
|
|
132371
132378
|
plugins: [
|
|
132372
132379
|
_Ot,
|
|
132373
|
-
...this.containerSelector ? [
|
|
132374
|
-
Da(
|
|
132380
|
+
...this.containerSelector ? [tFt(this.containerSelector)] : [],
|
|
132381
|
+
Da(QNt, {
|
|
132375
132382
|
...e,
|
|
132376
132383
|
bubbleMenu: this.rteBubbleMenu
|
|
132377
132384
|
}),
|
|
@@ -132381,9 +132388,9 @@ let pr = class extends On {
|
|
|
132381
132388
|
Da(TOt, e),
|
|
132382
132389
|
Da(AOt, e),
|
|
132383
132390
|
Da(DOt, e),
|
|
132384
|
-
Da(
|
|
132385
|
-
Da(
|
|
132386
|
-
Da(
|
|
132391
|
+
Da(KBt, e),
|
|
132392
|
+
Da(JBt, e),
|
|
132393
|
+
Da(eFt, e),
|
|
132387
132394
|
Da(yOt, e),
|
|
132388
132395
|
Da(EOt, e),
|
|
132389
132396
|
Da(IOt, {
|
|
@@ -132393,8 +132400,8 @@ let pr = class extends On {
|
|
|
132393
132400
|
Da(fOt, e),
|
|
132394
132401
|
Da(mOt, e),
|
|
132395
132402
|
Da(hOt, e),
|
|
132396
|
-
Da(
|
|
132397
|
-
Da(
|
|
132403
|
+
Da(XBt, e),
|
|
132404
|
+
Da(QBt, e)
|
|
132398
132405
|
],
|
|
132399
132406
|
projectData: this.updateTranslatableTextsDataSourceEntries(n, this.lang?.toLowerCase() ?? "") ?? n,
|
|
132400
132407
|
storageManager: {
|
|
@@ -133063,7 +133070,7 @@ pr.dependencies = {
|
|
|
133063
133070
|
"cx-icon": io,
|
|
133064
133071
|
"cx-popup": Pc,
|
|
133065
133072
|
"cx-rte-bubble-menu": Hr,
|
|
133066
|
-
"cx-rte-table-generator":
|
|
133073
|
+
"cx-rte-table-generator": WBt,
|
|
133067
133074
|
"cx-spinner": td
|
|
133068
133075
|
};
|
|
133069
133076
|
Cr([
|
|
@@ -133204,7 +133211,7 @@ pr = Cr([
|
|
|
133204
133211
|
wn("cx-content-builder")
|
|
133205
133212
|
], pr);
|
|
133206
133213
|
var en = /* @__PURE__ */ ((n) => (n.Assembling = "assembling", n.Cancelled = "cancelled", n.Completed = "completed", n.Downloading = "downloading", n.Failed = "failed", n.Paused = "paused", n.WaitingServerProcessing = "waitingServerProcessing", n))(en || {});
|
|
133207
|
-
const
|
|
133214
|
+
const iFt = {
|
|
133208
133215
|
assembling: "Assembling",
|
|
133209
133216
|
cancelled: "Cancelled",
|
|
133210
133217
|
completed: "Completed",
|
|
@@ -133219,7 +133226,7 @@ let oa = (Hf = class {
|
|
|
133219
133226
|
this.type = this.constructor.type;
|
|
133220
133227
|
}
|
|
133221
133228
|
}, Hf.type = "Event", Hf);
|
|
133222
|
-
class
|
|
133229
|
+
class oFt {
|
|
133223
133230
|
constructor(e, t) {
|
|
133224
133231
|
this.eventType = e, this.hub = t, this.unsubscribeFunc = t.subscribe(e, this);
|
|
133225
133232
|
}
|
|
@@ -133227,7 +133234,7 @@ class iFt {
|
|
|
133227
133234
|
this.unsubscribeFunc();
|
|
133228
133235
|
}
|
|
133229
133236
|
}
|
|
133230
|
-
class
|
|
133237
|
+
class aFt extends oFt {
|
|
133231
133238
|
constructor(e, t, r) {
|
|
133232
133239
|
super(e, t), this.action = r;
|
|
133233
133240
|
}
|
|
@@ -133356,12 +133363,12 @@ const O6 = class O6 extends oa {
|
|
|
133356
133363
|
};
|
|
133357
133364
|
O6.type = "DownloadSpeedUpdatedEvent";
|
|
133358
133365
|
let a9 = O6;
|
|
133359
|
-
var T1 = { exports: {} },
|
|
133360
|
-
function
|
|
133366
|
+
var T1 = { exports: {} }, sFt = T1.exports, sR;
|
|
133367
|
+
function cFt() {
|
|
133361
133368
|
return sR || (sR = 1, function(n, e) {
|
|
133362
133369
|
(function(t, r) {
|
|
133363
133370
|
n.exports = r();
|
|
133364
|
-
})(
|
|
133371
|
+
})(sFt, function() {
|
|
133365
133372
|
var t = function(_, T) {
|
|
133366
133373
|
return (t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(P, U) {
|
|
133367
133374
|
P.__proto__ = U;
|
|
@@ -136367,23 +136374,23 @@ function sFt() {
|
|
|
136367
136374
|
});
|
|
136368
136375
|
}(T1)), T1.exports;
|
|
136369
136376
|
}
|
|
136370
|
-
var
|
|
136371
|
-
const s9 = /* @__PURE__ */ I9(
|
|
136377
|
+
var lFt = cFt();
|
|
136378
|
+
const s9 = /* @__PURE__ */ I9(lFt), cR = Symbol.for("Dexie"), c9 = globalThis[cR] || (globalThis[cR] = s9);
|
|
136372
136379
|
if (s9.semVer !== c9.semVer)
|
|
136373
136380
|
throw new Error(`Two different versions of Dexie loaded in the same app: ${s9.semVer} and ${c9.semVer}`);
|
|
136374
136381
|
const {
|
|
136375
|
-
liveQuery:
|
|
136376
|
-
mergeRanges:
|
|
136377
|
-
rangesOverlap:
|
|
136378
|
-
RangeSet:
|
|
136379
|
-
cmp:
|
|
136380
|
-
Entity:
|
|
136381
|
-
PropModification:
|
|
136382
|
-
replacePrefix:
|
|
136383
|
-
add:
|
|
136384
|
-
remove:
|
|
136382
|
+
liveQuery: mqt,
|
|
136383
|
+
mergeRanges: fqt,
|
|
136384
|
+
rangesOverlap: vqt,
|
|
136385
|
+
RangeSet: yqt,
|
|
136386
|
+
cmp: bqt,
|
|
136387
|
+
Entity: wqt,
|
|
136388
|
+
PropModification: xqt,
|
|
136389
|
+
replacePrefix: kqt,
|
|
136390
|
+
add: _qt,
|
|
136391
|
+
remove: Cqt
|
|
136385
136392
|
} = c9;
|
|
136386
|
-
class
|
|
136393
|
+
class dFt {
|
|
136387
136394
|
constructor() {
|
|
136388
136395
|
this.mappings = {}, this.onDispatch = () => {
|
|
136389
136396
|
};
|
|
@@ -136405,7 +136412,7 @@ class lFt {
|
|
|
136405
136412
|
};
|
|
136406
136413
|
}
|
|
136407
136414
|
}
|
|
136408
|
-
function
|
|
136415
|
+
function uFt(n) {
|
|
136409
136416
|
return n && typeof n.then == "function";
|
|
136410
136417
|
}
|
|
136411
136418
|
Promise.resolve(!1);
|
|
@@ -136418,7 +136425,7 @@ function oG(n, e) {
|
|
|
136418
136425
|
}, n);
|
|
136419
136426
|
});
|
|
136420
136427
|
}
|
|
136421
|
-
function
|
|
136428
|
+
function pFt(n, e) {
|
|
136422
136429
|
return Math.floor(Math.random() * (e - n + 1) + n);
|
|
136423
136430
|
}
|
|
136424
136431
|
function c6() {
|
|
@@ -136429,8 +136436,8 @@ function O0() {
|
|
|
136429
136436
|
var n = Date.now() * 1e3;
|
|
136430
136437
|
return n <= CT && (n = CT + 1), CT = n, n;
|
|
136431
136438
|
}
|
|
136432
|
-
var
|
|
136433
|
-
function
|
|
136439
|
+
var hFt = O0, gFt = "native";
|
|
136440
|
+
function mFt(n) {
|
|
136434
136441
|
var e = {
|
|
136435
136442
|
time: O0(),
|
|
136436
136443
|
messagesCallback: null,
|
|
@@ -136442,20 +136449,20 @@ function gFt(n) {
|
|
|
136442
136449
|
e.messagesCallback && e.messagesCallback(t.data);
|
|
136443
136450
|
}, e;
|
|
136444
136451
|
}
|
|
136445
|
-
function
|
|
136452
|
+
function fFt(n) {
|
|
136446
136453
|
n.bc.close(), n.subFns = [];
|
|
136447
136454
|
}
|
|
136448
|
-
function
|
|
136455
|
+
function vFt(n, e) {
|
|
136449
136456
|
try {
|
|
136450
136457
|
return n.bc.postMessage(e, !1), Ug;
|
|
136451
136458
|
} catch (t) {
|
|
136452
136459
|
return Promise.reject(t);
|
|
136453
136460
|
}
|
|
136454
136461
|
}
|
|
136455
|
-
function
|
|
136462
|
+
function yFt(n, e) {
|
|
136456
136463
|
n.messagesCallback = e;
|
|
136457
136464
|
}
|
|
136458
|
-
function
|
|
136465
|
+
function bFt() {
|
|
136459
136466
|
if (typeof globalThis < "u" && globalThis.Deno && globalThis.Deno.args)
|
|
136460
136467
|
return !0;
|
|
136461
136468
|
if ((typeof window < "u" || typeof self < "u") && typeof BroadcastChannel == "function") {
|
|
@@ -136465,18 +136472,18 @@ function yFt() {
|
|
|
136465
136472
|
} else
|
|
136466
136473
|
return !1;
|
|
136467
136474
|
}
|
|
136468
|
-
function
|
|
136475
|
+
function wFt() {
|
|
136469
136476
|
return 150;
|
|
136470
136477
|
}
|
|
136471
|
-
var
|
|
136472
|
-
create:
|
|
136473
|
-
close:
|
|
136474
|
-
onMessage:
|
|
136475
|
-
postMessage:
|
|
136476
|
-
canBeUsed:
|
|
136477
|
-
type:
|
|
136478
|
-
averageResponseTime:
|
|
136479
|
-
microSeconds:
|
|
136478
|
+
var xFt = {
|
|
136479
|
+
create: mFt,
|
|
136480
|
+
close: fFt,
|
|
136481
|
+
onMessage: yFt,
|
|
136482
|
+
postMessage: vFt,
|
|
136483
|
+
canBeUsed: bFt,
|
|
136484
|
+
type: gFt,
|
|
136485
|
+
averageResponseTime: wFt,
|
|
136486
|
+
microSeconds: hFt
|
|
136480
136487
|
};
|
|
136481
136488
|
class aG {
|
|
136482
136489
|
ttl;
|
|
@@ -136494,14 +136501,14 @@ class aG {
|
|
|
136494
136501
|
}
|
|
136495
136502
|
add(e) {
|
|
136496
136503
|
this.map.set(e, sG()), this._to || (this._to = !0, setTimeout(() => {
|
|
136497
|
-
this._to = !1,
|
|
136504
|
+
this._to = !1, kFt(this);
|
|
136498
136505
|
}, 0));
|
|
136499
136506
|
}
|
|
136500
136507
|
clear() {
|
|
136501
136508
|
this.map.clear();
|
|
136502
136509
|
}
|
|
136503
136510
|
}
|
|
136504
|
-
function
|
|
136511
|
+
function kFt(n) {
|
|
136505
136512
|
const e = sG() - n.ttl, t = n.map[Symbol.iterator]();
|
|
136506
136513
|
for (; ; ) {
|
|
136507
136514
|
const r = t.next().value;
|
|
@@ -136521,9 +136528,9 @@ function l6() {
|
|
|
136521
136528
|
var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = JSON.parse(JSON.stringify(n));
|
|
136522
136529
|
return typeof e.webWorkerSupport > "u" && (e.webWorkerSupport = !0), e.idb || (e.idb = {}), e.idb.ttl || (e.idb.ttl = 1e3 * 45), e.idb.fallbackInterval || (e.idb.fallbackInterval = 150), n.idb && typeof n.idb.onclose == "function" && (e.idb.onclose = n.idb.onclose), e.localstorage || (e.localstorage = {}), e.localstorage.removeTimeout || (e.localstorage.removeTimeout = 1e3 * 60), n.methods && (e.methods = n.methods), e.node || (e.node = {}), e.node.ttl || (e.node.ttl = 1e3 * 60 * 2), e.node.maxParallelWrites || (e.node.maxParallelWrites = 2048), typeof e.node.useFastPath > "u" && (e.node.useFastPath = !0), e;
|
|
136523
136530
|
}
|
|
136524
|
-
var
|
|
136531
|
+
var _Ft = O0, CFt = "pubkey.broadcast-channel-0-", kp = "messages", v_ = {
|
|
136525
136532
|
durability: "relaxed"
|
|
136526
|
-
},
|
|
136533
|
+
}, SFt = "idb";
|
|
136527
136534
|
function cG() {
|
|
136528
136535
|
if (typeof indexedDB < "u") return indexedDB;
|
|
136529
136536
|
if (typeof window < "u") {
|
|
@@ -136536,8 +136543,8 @@ function cG() {
|
|
|
136536
136543
|
function d6(n) {
|
|
136537
136544
|
n.commit && n.commit();
|
|
136538
136545
|
}
|
|
136539
|
-
function
|
|
136540
|
-
var e = cG(), t =
|
|
136546
|
+
function TFt(n) {
|
|
136547
|
+
var e = cG(), t = CFt + n, r = e.open(t);
|
|
136541
136548
|
return r.onupgradeneeded = function(i) {
|
|
136542
136549
|
var o = i.target.result;
|
|
136543
136550
|
o.createObjectStore(kp, {
|
|
@@ -136552,7 +136559,7 @@ function SFt(n) {
|
|
|
136552
136559
|
};
|
|
136553
136560
|
});
|
|
136554
136561
|
}
|
|
136555
|
-
function
|
|
136562
|
+
function EFt(n, e, t) {
|
|
136556
136563
|
var r = Date.now(), i = {
|
|
136557
136564
|
uuid: e,
|
|
136558
136565
|
time: r,
|
|
@@ -136568,7 +136575,7 @@ function TFt(n, e, t) {
|
|
|
136568
136575
|
c.add(i), d6(o);
|
|
136569
136576
|
});
|
|
136570
136577
|
}
|
|
136571
|
-
function
|
|
136578
|
+
function AFt(n, e) {
|
|
136572
136579
|
var t = n.transaction(kp, "readonly", v_), r = t.objectStore(kp), i = [], o = IDBKeyRange.bound(e + 1, 1 / 0);
|
|
136573
136580
|
if (r.getAll) {
|
|
136574
136581
|
var a = r.getAll(o);
|
|
@@ -136597,7 +136604,7 @@ function EFt(n, e) {
|
|
|
136597
136604
|
};
|
|
136598
136605
|
});
|
|
136599
136606
|
}
|
|
136600
|
-
function
|
|
136607
|
+
function OFt(n, e) {
|
|
136601
136608
|
if (n.closed)
|
|
136602
136609
|
return Promise.resolve([]);
|
|
136603
136610
|
var t = n.db.transaction(kp, "readwrite", v_), r = t.objectStore(kp);
|
|
@@ -136610,7 +136617,7 @@ function AFt(n, e) {
|
|
|
136610
136617
|
});
|
|
136611
136618
|
}));
|
|
136612
136619
|
}
|
|
136613
|
-
function
|
|
136620
|
+
function IFt(n, e) {
|
|
136614
136621
|
var t = Date.now() - e, r = n.transaction(kp, "readonly", v_), i = r.objectStore(kp), o = [];
|
|
136615
136622
|
return new Promise(function(a) {
|
|
136616
136623
|
i.openCursor().onsuccess = function(s) {
|
|
@@ -136623,15 +136630,15 @@ function OFt(n, e) {
|
|
|
136623
136630
|
};
|
|
136624
136631
|
});
|
|
136625
136632
|
}
|
|
136626
|
-
function
|
|
136627
|
-
return
|
|
136628
|
-
return
|
|
136633
|
+
function DFt(n) {
|
|
136634
|
+
return IFt(n.db, n.options.idb.ttl).then(function(e) {
|
|
136635
|
+
return OFt(n, e.map(function(t) {
|
|
136629
136636
|
return t.id;
|
|
136630
136637
|
}));
|
|
136631
136638
|
});
|
|
136632
136639
|
}
|
|
136633
|
-
function
|
|
136634
|
-
return e = l6(e),
|
|
136640
|
+
function MFt(n, e) {
|
|
136641
|
+
return e = l6(e), TFt(n).then(function(t) {
|
|
136635
136642
|
var r = {
|
|
136636
136643
|
closed: !1,
|
|
136637
136644
|
lastCursorId: 0,
|
|
@@ -136662,17 +136669,17 @@ function lG(n) {
|
|
|
136662
136669
|
return lG(n);
|
|
136663
136670
|
});
|
|
136664
136671
|
}
|
|
136665
|
-
function
|
|
136672
|
+
function PFt(n, e) {
|
|
136666
136673
|
return !(n.uuid === e.uuid || e.eMIs.has(n.id) || n.data.time < e.messagesCallbackTime);
|
|
136667
136674
|
}
|
|
136668
136675
|
function dG(n) {
|
|
136669
|
-
return n.closed || !n.messagesCallback ? Ug :
|
|
136676
|
+
return n.closed || !n.messagesCallback ? Ug : AFt(n.db, n.lastCursorId).then(function(e) {
|
|
136670
136677
|
var t = e.filter(function(r) {
|
|
136671
136678
|
return !!r;
|
|
136672
136679
|
}).map(function(r) {
|
|
136673
136680
|
return r.id > n.lastCursorId && (n.lastCursorId = r.id), r;
|
|
136674
136681
|
}).filter(function(r) {
|
|
136675
|
-
return
|
|
136682
|
+
return PFt(r, n);
|
|
136676
136683
|
}).sort(function(r, i) {
|
|
136677
136684
|
return r.time - i.time;
|
|
136678
136685
|
});
|
|
@@ -136681,35 +136688,35 @@ function dG(n) {
|
|
|
136681
136688
|
}), Ug;
|
|
136682
136689
|
});
|
|
136683
136690
|
}
|
|
136684
|
-
function
|
|
136691
|
+
function NFt(n) {
|
|
136685
136692
|
n.closed = !0, n.db.close();
|
|
136686
136693
|
}
|
|
136687
|
-
function
|
|
136694
|
+
function LFt(n, e) {
|
|
136688
136695
|
return n.writeBlockPromise = n.writeBlockPromise.then(function() {
|
|
136689
|
-
return
|
|
136696
|
+
return EFt(n.db, n.uuid, e);
|
|
136690
136697
|
}).then(function() {
|
|
136691
|
-
|
|
136698
|
+
pFt(0, 10) === 0 && DFt(n);
|
|
136692
136699
|
}), n.writeBlockPromise;
|
|
136693
136700
|
}
|
|
136694
|
-
function
|
|
136701
|
+
function RFt(n, e, t) {
|
|
136695
136702
|
n.messagesCallbackTime = t, n.messagesCallback = e, dG(n);
|
|
136696
136703
|
}
|
|
136697
|
-
function
|
|
136704
|
+
function BFt() {
|
|
136698
136705
|
return !!cG();
|
|
136699
136706
|
}
|
|
136700
|
-
function
|
|
136707
|
+
function FFt(n) {
|
|
136701
136708
|
return n.idb.fallbackInterval * 2;
|
|
136702
136709
|
}
|
|
136703
|
-
var
|
|
136704
|
-
create:
|
|
136705
|
-
close:
|
|
136706
|
-
onMessage:
|
|
136707
|
-
postMessage:
|
|
136708
|
-
canBeUsed:
|
|
136709
|
-
type:
|
|
136710
|
-
averageResponseTime:
|
|
136711
|
-
microSeconds:
|
|
136712
|
-
},
|
|
136710
|
+
var zFt = {
|
|
136711
|
+
create: MFt,
|
|
136712
|
+
close: NFt,
|
|
136713
|
+
onMessage: RFt,
|
|
136714
|
+
postMessage: LFt,
|
|
136715
|
+
canBeUsed: BFt,
|
|
136716
|
+
type: SFt,
|
|
136717
|
+
averageResponseTime: FFt,
|
|
136718
|
+
microSeconds: _Ft
|
|
136719
|
+
}, $Ft = O0, jFt = "pubkey.broadcastChannel-", HFt = "localstorage";
|
|
136713
136720
|
function uG() {
|
|
136714
136721
|
var n;
|
|
136715
136722
|
if (typeof window > "u") return null;
|
|
@@ -136720,9 +136727,9 @@ function uG() {
|
|
|
136720
136727
|
return n;
|
|
136721
136728
|
}
|
|
136722
136729
|
function pG(n) {
|
|
136723
|
-
return
|
|
136730
|
+
return jFt + n;
|
|
136724
136731
|
}
|
|
136725
|
-
function
|
|
136732
|
+
function UFt(n, e) {
|
|
136726
136733
|
return new Promise(function(t) {
|
|
136727
136734
|
oG().then(function() {
|
|
136728
136735
|
var r = pG(n.channelName), i = {
|
|
@@ -136737,16 +136744,16 @@ function HFt(n, e) {
|
|
|
136737
136744
|
});
|
|
136738
136745
|
});
|
|
136739
136746
|
}
|
|
136740
|
-
function
|
|
136747
|
+
function qFt(n, e) {
|
|
136741
136748
|
var t = pG(n), r = function(o) {
|
|
136742
136749
|
o.key === t && e(JSON.parse(o.newValue));
|
|
136743
136750
|
};
|
|
136744
136751
|
return window.addEventListener("storage", r), r;
|
|
136745
136752
|
}
|
|
136746
|
-
function
|
|
136753
|
+
function VFt(n) {
|
|
136747
136754
|
window.removeEventListener("storage", n);
|
|
136748
136755
|
}
|
|
136749
|
-
function
|
|
136756
|
+
function WFt(n, e) {
|
|
136750
136757
|
if (e = l6(e), !hG())
|
|
136751
136758
|
throw new Error("BroadcastChannel: localstorage cannot be used");
|
|
136752
136759
|
var t = c6(), r = new aG(e.localstorage.removeTimeout), i = {
|
|
@@ -136755,14 +136762,14 @@ function VFt(n, e) {
|
|
|
136755
136762
|
eMIs: r
|
|
136756
136763
|
// emittedMessagesIds
|
|
136757
136764
|
};
|
|
136758
|
-
return i.listener =
|
|
136765
|
+
return i.listener = qFt(n, function(o) {
|
|
136759
136766
|
i.messagesCallback && o.uuid !== t && (!o.token || r.has(o.token) || o.data.time && o.data.time < i.messagesCallbackTime || (r.add(o.token), i.messagesCallback(o.data)));
|
|
136760
136767
|
}), i;
|
|
136761
136768
|
}
|
|
136762
|
-
function
|
|
136763
|
-
|
|
136769
|
+
function GFt(n) {
|
|
136770
|
+
VFt(n.listener);
|
|
136764
136771
|
}
|
|
136765
|
-
function
|
|
136772
|
+
function KFt(n, e, t) {
|
|
136766
136773
|
n.messagesCallbackTime = t, n.messagesCallback = e;
|
|
136767
136774
|
}
|
|
136768
136775
|
function hG() {
|
|
@@ -136776,21 +136783,21 @@ function hG() {
|
|
|
136776
136783
|
}
|
|
136777
136784
|
return !0;
|
|
136778
136785
|
}
|
|
136779
|
-
function
|
|
136786
|
+
function YFt() {
|
|
136780
136787
|
var n = 120, e = navigator.userAgent.toLowerCase();
|
|
136781
136788
|
return e.includes("safari") && !e.includes("chrome") ? n * 2 : n;
|
|
136782
136789
|
}
|
|
136783
|
-
var
|
|
136784
|
-
create:
|
|
136785
|
-
close:
|
|
136786
|
-
onMessage:
|
|
136787
|
-
postMessage:
|
|
136790
|
+
var XFt = {
|
|
136791
|
+
create: WFt,
|
|
136792
|
+
close: GFt,
|
|
136793
|
+
onMessage: KFt,
|
|
136794
|
+
postMessage: UFt,
|
|
136788
136795
|
canBeUsed: hG,
|
|
136789
|
-
type:
|
|
136790
|
-
averageResponseTime:
|
|
136791
|
-
microSeconds:
|
|
136792
|
-
}, gG = O0,
|
|
136793
|
-
function
|
|
136796
|
+
type: HFt,
|
|
136797
|
+
averageResponseTime: YFt,
|
|
136798
|
+
microSeconds: $Ft
|
|
136799
|
+
}, gG = O0, JFt = "simulate", u6 = /* @__PURE__ */ new Set();
|
|
136800
|
+
function ZFt(n) {
|
|
136794
136801
|
var e = {
|
|
136795
136802
|
time: gG(),
|
|
136796
136803
|
name: n,
|
|
@@ -136798,11 +136805,11 @@ function JFt(n) {
|
|
|
136798
136805
|
};
|
|
136799
136806
|
return u6.add(e), e;
|
|
136800
136807
|
}
|
|
136801
|
-
function
|
|
136808
|
+
function QFt(n) {
|
|
136802
136809
|
u6.delete(n);
|
|
136803
136810
|
}
|
|
136804
136811
|
var mG = 5;
|
|
136805
|
-
function
|
|
136812
|
+
function ezt(n, e) {
|
|
136806
136813
|
return new Promise(function(t) {
|
|
136807
136814
|
return setTimeout(function() {
|
|
136808
136815
|
var r = Array.from(u6);
|
|
@@ -136814,35 +136821,35 @@ function QFt(n, e) {
|
|
|
136814
136821
|
}, mG);
|
|
136815
136822
|
});
|
|
136816
136823
|
}
|
|
136817
|
-
function
|
|
136824
|
+
function tzt(n, e) {
|
|
136818
136825
|
n.messagesCallback = e;
|
|
136819
136826
|
}
|
|
136820
|
-
function
|
|
136827
|
+
function nzt() {
|
|
136821
136828
|
return !0;
|
|
136822
136829
|
}
|
|
136823
|
-
function
|
|
136830
|
+
function rzt() {
|
|
136824
136831
|
return mG;
|
|
136825
136832
|
}
|
|
136826
|
-
var
|
|
136827
|
-
create:
|
|
136828
|
-
close:
|
|
136829
|
-
onMessage:
|
|
136830
|
-
postMessage:
|
|
136831
|
-
canBeUsed:
|
|
136832
|
-
type:
|
|
136833
|
-
averageResponseTime:
|
|
136833
|
+
var izt = {
|
|
136834
|
+
create: ZFt,
|
|
136835
|
+
close: QFt,
|
|
136836
|
+
onMessage: tzt,
|
|
136837
|
+
postMessage: ezt,
|
|
136838
|
+
canBeUsed: nzt,
|
|
136839
|
+
type: JFt,
|
|
136840
|
+
averageResponseTime: rzt,
|
|
136834
136841
|
microSeconds: gG
|
|
136835
136842
|
}, lR = [
|
|
136836
|
-
|
|
136843
|
+
xFt,
|
|
136837
136844
|
// fastest
|
|
136838
|
-
|
|
136839
|
-
|
|
136845
|
+
zFt,
|
|
136846
|
+
XFt
|
|
136840
136847
|
];
|
|
136841
|
-
function
|
|
136848
|
+
function ozt(n) {
|
|
136842
136849
|
var e = [].concat(n.methods, lR).filter(Boolean);
|
|
136843
136850
|
if (n.type) {
|
|
136844
136851
|
if (n.type === "simulate")
|
|
136845
|
-
return
|
|
136852
|
+
return izt;
|
|
136846
136853
|
var t = e.find(function(i) {
|
|
136847
136854
|
return i.type === n.type;
|
|
136848
136855
|
});
|
|
@@ -136861,11 +136868,11 @@ function izt(n) {
|
|
|
136861
136868
|
return i.type;
|
|
136862
136869
|
})));
|
|
136863
136870
|
}
|
|
136864
|
-
var fG = /* @__PURE__ */ new Set(),
|
|
136865
|
-
this.id =
|
|
136871
|
+
var fG = /* @__PURE__ */ new Set(), azt = 0, y_ = function(e, t) {
|
|
136872
|
+
this.id = azt++, fG.add(this), this.name = e, this.options = l6(t), this.method = ozt(this.options), this._iL = !1, this._onML = null, this._addEL = {
|
|
136866
136873
|
message: [],
|
|
136867
136874
|
internal: []
|
|
136868
|
-
}, this._uMP = /* @__PURE__ */ new Set(), this._befC = [], this._prepP = null,
|
|
136875
|
+
}, this._uMP = /* @__PURE__ */ new Set(), this._befC = [], this._prepP = null, szt(this);
|
|
136869
136876
|
};
|
|
136870
136877
|
y_._pubkey = !0;
|
|
136871
136878
|
y_.prototype = {
|
|
@@ -136938,9 +136945,9 @@ function dR(n, e, t) {
|
|
|
136938
136945
|
}), a;
|
|
136939
136946
|
});
|
|
136940
136947
|
}
|
|
136941
|
-
function
|
|
136948
|
+
function szt(n) {
|
|
136942
136949
|
var e = n.method.create(n.name, n.options);
|
|
136943
|
-
|
|
136950
|
+
uFt(e) ? (n._prepP = e, e.then(function(t) {
|
|
136944
136951
|
n._state = t;
|
|
136945
136952
|
})) : n._state = e;
|
|
136946
136953
|
}
|
|
@@ -136948,14 +136955,14 @@ function vG(n) {
|
|
|
136948
136955
|
return n._addEL.message.length > 0 || n._addEL.internal.length > 0;
|
|
136949
136956
|
}
|
|
136950
136957
|
function uR(n, e, t) {
|
|
136951
|
-
n._addEL[e].push(t),
|
|
136958
|
+
n._addEL[e].push(t), czt(n);
|
|
136952
136959
|
}
|
|
136953
136960
|
function pR(n, e, t) {
|
|
136954
136961
|
n._addEL[e] = n._addEL[e].filter(function(r) {
|
|
136955
136962
|
return r !== t;
|
|
136956
|
-
}),
|
|
136963
|
+
}), lzt(n);
|
|
136957
136964
|
}
|
|
136958
|
-
function
|
|
136965
|
+
function czt(n) {
|
|
136959
136966
|
if (!n._iL && vG(n)) {
|
|
136960
136967
|
var e = function(i) {
|
|
136961
136968
|
n._addEL[i.type].forEach(function(o) {
|
|
@@ -136967,14 +136974,14 @@ function szt(n) {
|
|
|
136967
136974
|
}) : (n._iL = !0, n.method.onMessage(n._state, e, t));
|
|
136968
136975
|
}
|
|
136969
136976
|
}
|
|
136970
|
-
function
|
|
136977
|
+
function lzt(n) {
|
|
136971
136978
|
if (n._iL && !vG(n)) {
|
|
136972
136979
|
n._iL = !1;
|
|
136973
136980
|
var e = n.method.microSeconds();
|
|
136974
136981
|
n.method.onMessage(n._state, null, e);
|
|
136975
136982
|
}
|
|
136976
136983
|
}
|
|
136977
|
-
class
|
|
136984
|
+
class dzt {
|
|
136978
136985
|
constructor() {
|
|
136979
136986
|
this._ports = [], this.channel = new y_(self.name);
|
|
136980
136987
|
}
|
|
@@ -136991,7 +136998,7 @@ class lzt {
|
|
|
136991
136998
|
this._ports = this._ports.filter((t) => t !== e), this._leader === e && (this._leader = void 0);
|
|
136992
136999
|
}
|
|
136993
137000
|
}
|
|
136994
|
-
new
|
|
137001
|
+
new dzt();
|
|
136995
137002
|
var Il = /* @__PURE__ */ ((n) => (n.OLWorkerRequestDispatchEvent = "OL_WORKER_REQUEST_DISPATCH_EVENT", n.OLWorkerRequestHandlePermission = "OL_WORKER_REQUEST_HANDLE_PERMISSION", n.OLWorkerRequestHealthCheck = "OL_WORKER_REQUEST_HEALTH_CHECK", n.OLWorkerRequestInit = "OL_WORKER_REQUEST_INIT", n.OLWorkerRequestInvoke = "OL_WORKER_REQUEST_INVOKE", n.OLWorkerRequestLogMessage = "OL_WORKER_REQUEST_LOG_MESSAGE", n.OLWorkerRequestPickDirectory = "OL_WORKER_REQUEST_PICK_DIRECTORY", n.OLWorkerRequestPromptUser = "OL_WORKER_REQUEST_PROMPT_USER", n.OLWorkerRequestReleasePort = "OL_WORKER_REQUEST_RELEASE_PORT", n.OLWorkerRequestTakeLeadership = "OL_WORKER_REQUEST_TAKE_LEADERSHIP", n))(Il || {});
|
|
136996
137003
|
const I6 = class I6 extends oa {
|
|
136997
137004
|
};
|
|
@@ -137016,7 +137023,7 @@ const P6 = class P6 extends oa {
|
|
|
137016
137023
|
P6.type = "BecomeLeaderEvent";
|
|
137017
137024
|
let hR = P6;
|
|
137018
137025
|
var My = /* @__PURE__ */ ((n) => (n.OLWorkerResponseDispatchEvent = "OL_WORKER_RESPONSE_DISPATCH_EVENT", n.OLWorkerResponseHandlePermission = "OL_WORKER_RESPONSE_HANDLE_PERMISSION", n.OLWorkerResponseHealthCheck = "OL_WORKER_RESPONSE_HEALTH_CHECK", n.OLWorkerResponseInit = "OL_WORKER_RESPONSE_INIT", n.OLWorkerResponseInvoke = "OL_WORKER_RESPONSE_INVOKE", n.OLWorkerResponsePickDirectory = "OL_WORKER_RESPONSE_PICK_DIRECTORY", n.OLWorkerResponsePromptUser = "OL_WORKER_RESPONSE_PROMPT_USER", n.OLWorkerResponseTakeLeadership = "OL_WORKER_RESPONSE_TAKE_LEADERSHIP", n))(My || {});
|
|
137019
|
-
function
|
|
137026
|
+
function uzt(n, e, t) {
|
|
137020
137027
|
if (!window.top)
|
|
137021
137028
|
return;
|
|
137022
137029
|
const r = window.top.outerHeight / 2 + window.top.screenY - t / 2, i = window.top.outerWidth / 2 + window.top.screenX - e / 2;
|
|
@@ -137027,7 +137034,7 @@ function dzt(n, e, t) {
|
|
|
137027
137034
|
);
|
|
137028
137035
|
}
|
|
137029
137036
|
const gR = "downloader_chunkSize", mR = "downloader_rocketMode";
|
|
137030
|
-
class
|
|
137037
|
+
class pzt {
|
|
137031
137038
|
constructor(e, t, r, i, o) {
|
|
137032
137039
|
this.initialized = !1, this.contextName = `${i}_${r}`;
|
|
137033
137040
|
const a = parseInt(
|
|
@@ -137064,7 +137071,7 @@ class uzt {
|
|
|
137064
137071
|
const c = new URL(t);
|
|
137065
137072
|
process.env.NODE_ENV === "production" && c.searchParams.append("cfg", o), this.worker = new SharedWorker(c, {
|
|
137066
137073
|
name: this.contextName
|
|
137067
|
-
}), this.eventHub = new
|
|
137074
|
+
}), this.eventHub = new dFt(), document.addEventListener("visibilitychange", () => {
|
|
137068
137075
|
document.visibilityState === "visible" && this.send({
|
|
137069
137076
|
type: Il.OLWorkerRequestTakeLeadership
|
|
137070
137077
|
});
|
|
@@ -137101,7 +137108,7 @@ class uzt {
|
|
|
137101
137108
|
try {
|
|
137102
137109
|
f = await new Promise((b, w) => {
|
|
137103
137110
|
if (e.instructionsURL.value.length > 0) {
|
|
137104
|
-
const k =
|
|
137111
|
+
const k = uzt(
|
|
137105
137112
|
e.instructionsURL.value,
|
|
137106
137113
|
e.configurationData.instructionsPopupWidth,
|
|
137107
137114
|
e.configurationData.instructionsPopupHeight
|
|
@@ -137281,7 +137288,7 @@ class uzt {
|
|
|
137281
137288
|
// #endregion
|
|
137282
137289
|
// #region Events
|
|
137283
137290
|
on(e, t) {
|
|
137284
|
-
const r = new
|
|
137291
|
+
const r = new aFt(
|
|
137285
137292
|
e.type,
|
|
137286
137293
|
this.eventHub,
|
|
137287
137294
|
t
|
|
@@ -137325,7 +137332,7 @@ const ST = "downloaderIsVisible", wc = {
|
|
|
137325
137332
|
[en.Completed]: "var(--cx-color-success-400)",
|
|
137326
137333
|
[en.Failed]: "var(--cx-color-danger-400)",
|
|
137327
137334
|
[en.Cancelled]: "var(--cx-color-neutral-400)"
|
|
137328
|
-
},
|
|
137335
|
+
}, hzt = {
|
|
137329
137336
|
[en.Downloading]: "primary",
|
|
137330
137337
|
[en.Assembling]: "primary",
|
|
137331
137338
|
[en.WaitingServerProcessing]: "primary",
|
|
@@ -137333,7 +137340,7 @@ const ST = "downloaderIsVisible", wc = {
|
|
|
137333
137340
|
[en.Completed]: "success",
|
|
137334
137341
|
[en.Failed]: "danger",
|
|
137335
137342
|
[en.Cancelled]: "neutral"
|
|
137336
|
-
},
|
|
137343
|
+
}, gzt = bn`
|
|
137337
137344
|
${Tn}
|
|
137338
137345
|
|
|
137339
137346
|
:host {
|
|
@@ -137702,17 +137709,17 @@ const ST = "downloaderIsVisible", wc = {
|
|
|
137702
137709
|
font-size: var(--cx-font-size-x-small);
|
|
137703
137710
|
white-space: nowrap;
|
|
137704
137711
|
}
|
|
137705
|
-
`,
|
|
137712
|
+
`, mzt = (n, e) => {
|
|
137706
137713
|
const t = [], r = Object.keys(n);
|
|
137707
137714
|
for (const i of r)
|
|
137708
137715
|
e.hasOwnProperty(i) || t.push(i);
|
|
137709
137716
|
return t;
|
|
137710
|
-
},
|
|
137717
|
+
}, fzt = [
|
|
137711
137718
|
en.Downloading,
|
|
137712
137719
|
en.Assembling,
|
|
137713
137720
|
en.WaitingServerProcessing,
|
|
137714
137721
|
en.Paused
|
|
137715
|
-
], sy = (n) =>
|
|
137722
|
+
], sy = (n) => fzt.includes(n.status);
|
|
137716
137723
|
function fR(n) {
|
|
137717
137724
|
switch (n.unit) {
|
|
137718
137725
|
case du.B:
|
|
@@ -137773,10 +137780,10 @@ function ET(n) {
|
|
|
137773
137780
|
unit: r
|
|
137774
137781
|
};
|
|
137775
137782
|
}
|
|
137776
|
-
var
|
|
137777
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
137783
|
+
var vzt = Object.defineProperty, yzt = Object.getOwnPropertyDescriptor, Sr = (n, e, t, r) => {
|
|
137784
|
+
for (var i = r > 1 ? void 0 : r ? yzt(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
137778
137785
|
(a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
|
|
137779
|
-
return r && i &&
|
|
137786
|
+
return r && i && vzt(e, t, i), i;
|
|
137780
137787
|
};
|
|
137781
137788
|
const vR = {
|
|
137782
137789
|
damping: 15,
|
|
@@ -137957,7 +137964,7 @@ let hr = class extends On {
|
|
|
137957
137964
|
"SHA-256",
|
|
137958
137965
|
new TextEncoder().encode(JSON.stringify(this.ctx.configurationData))
|
|
137959
137966
|
)
|
|
137960
|
-
), e = btoa(String.fromCharCode(...n)), t = new
|
|
137967
|
+
), e = btoa(String.fromCharCode(...n)), t = new pzt(
|
|
137961
137968
|
this.ctx,
|
|
137962
137969
|
this.workerURL,
|
|
137963
137970
|
this.userId,
|
|
@@ -138046,7 +138053,7 @@ let hr = class extends On {
|
|
|
138046
138053
|
}
|
|
138047
138054
|
}
|
|
138048
138055
|
updateAllFiles(n) {
|
|
138049
|
-
const e =
|
|
138056
|
+
const e = mzt(
|
|
138050
138057
|
n,
|
|
138051
138058
|
this.allFiles
|
|
138052
138059
|
);
|
|
@@ -138388,7 +138395,7 @@ let hr = class extends On {
|
|
|
138388
138395
|
en.Cancelled
|
|
138389
138396
|
],
|
|
138390
138397
|
(t) => t,
|
|
138391
|
-
(t) => V`<cx-menu-item ?checked=${!!this.filterOptions.status && this.filterOptions.status.includes(t)} type="checkbox" value=${t}><span class="status-popover__label"><span class="status-popover__value">${
|
|
138398
|
+
(t) => V`<cx-menu-item ?checked=${!!this.filterOptions.status && this.filterOptions.status.includes(t)} type="checkbox" value=${t}><span class="status-popover__label"><span class="status-popover__value">${iFt[t]}</span><cx-badge slot="suffix" variant="neutral">${this.countByStatus[t] || 0}</cx-badge></span></cx-menu-item>`
|
|
138392
138399
|
)}</cx-menu>`;
|
|
138393
138400
|
return V`<thead><tr><td class="name-cell"><cx-typography variant="body2">${this.localize.term("name")}</cx-typography></td><td class="progress-cell"><cx-typography variant="body2">${this.localize.term("progress")}</cx-typography></td><td class="status-cell"><div class="status-header-container"><div><cx-typography variant="body2">${this.localize.term("status")}</cx-typography></div><cx-tooltip hoist content=${this.localize.term("filter")}><cx-dropdown stay-open-on-select><cx-icon-button size="small" slot="trigger" name="filter_alt" label=${this.localize.term("filter")}></cx-icon-button>${e}</cx-dropdown></cx-tooltip></div></td><td class="actions-cell"><cx-typography variant="body2">${this.localize.term("actions")}</cx-typography></td></tr></thead>`;
|
|
138394
138401
|
}
|
|
@@ -138437,7 +138444,7 @@ let hr = class extends On {
|
|
|
138437
138444
|
size: i,
|
|
138438
138445
|
status: o,
|
|
138439
138446
|
unit: s
|
|
138440
|
-
})}</td><td class="status-cell"><cx-tooltip ?disabled=${!c} content=${c} hoist><cx-badge pill variant=${
|
|
138447
|
+
})}</td><td class="status-cell"><cx-tooltip ?disabled=${!c} content=${c} hoist><cx-badge pill variant=${hzt[o]}>${$Y(o)}</cx-badge></cx-tooltip></td><td class="actions-cell">${this.renderItemActions({ id: e, status: o })}</td></tr>`;
|
|
138441
138448
|
}
|
|
138442
138449
|
renderTableView() {
|
|
138443
138450
|
const n = this.pageSize * (this.pageIndex - 1), e = n + this.pageSize, t = this.filteredFiles.slice(n, e);
|
|
@@ -138535,7 +138542,7 @@ let hr = class extends On {
|
|
|
138535
138542
|
}
|
|
138536
138543
|
// #endregion
|
|
138537
138544
|
};
|
|
138538
|
-
hr.styles =
|
|
138545
|
+
hr.styles = gzt;
|
|
138539
138546
|
hr.dependencies = {
|
|
138540
138547
|
"cx-badge": Jb,
|
|
138541
138548
|
"cx-button": ki,
|
|
@@ -138681,11 +138688,11 @@ Sr([
|
|
|
138681
138688
|
hr = Sr([
|
|
138682
138689
|
wn("cx-downloader")
|
|
138683
138690
|
], hr);
|
|
138684
|
-
const
|
|
138685
|
-
var
|
|
138686
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
138691
|
+
const bzt = bn`:host{display:contents}.panel{background-color:var(--cx-panel-background-color);border-radius:var(--cx-border-radius-medium);box-shadow:var(--cx-shadow-x-large);max-width:calc(100vw - 2rem);min-width:min(var(--find-and-replace-width,480px), calc(100vw - 2rem));padding:var(--cx-spacing-small)}.search-input{flex:auto}`;
|
|
138692
|
+
var wzt = Object.defineProperty, xzt = Object.getOwnPropertyDescriptor, vl = (n, e, t, r) => {
|
|
138693
|
+
for (var i = r > 1 ? void 0 : r ? xzt(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
138687
138694
|
(a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
|
|
138688
|
-
return r && i &&
|
|
138695
|
+
return r && i && wzt(e, t, i), i;
|
|
138689
138696
|
};
|
|
138690
138697
|
let ws = class extends On {
|
|
138691
138698
|
constructor() {
|
|
@@ -138794,7 +138801,7 @@ let ws = class extends On {
|
|
|
138794
138801
|
)}<cx-space spacing="3x-small" class="search-navigation"><cx-tooltip content=${this.localize.term("previousOccurrence")} hoist><cx-icon-button name="arrow_upward" size="small" label=${this.localize.term("previousOccurrence")} @click=${this.handlePreviousClick}></cx-icon-button></cx-tooltip><cx-tooltip content=${this.localize.term("nextOccurrence")} hoist><cx-icon-button name="arrow_downward" size="small" label=${this.localize.term("nextOccurrence")} @click=${this.handleNextClick}></cx-icon-button></cx-tooltip><cx-dropdown placement="bottom-end" hoist><cx-tooltip slot="trigger" content=${this.localize.term("searchOptions")} hoist><cx-icon-button name="settings" size="small" label=${this.localize.term("searchOptions")}></cx-icon-button></cx-tooltip><cx-menu @cx-select=${this.handleSearchOptionSelect}><cx-menu-item type="checkbox" value="matchCase" ?checked=${this.matchCase}>${this.localize.term("matchCase")}</cx-menu-item><cx-menu-item type="checkbox" value="wholeWord" ?checked=${this.wholeWord}>${this.localize.term("findWholeWordsOnly")}</cx-menu-item><cx-menu-item type="checkbox" value="findInSelection" ?checked=${this.findInSelection}>${this.localize.term("findInSelection")}</cx-menu-item></cx-menu></cx-dropdown></cx-space></cx-space><cx-input aria-label=${this.localize.term("replaceWith")} placeholder=${this.localize.term("replaceWith")} value=${this.replaceText} @cx-input=${this.handleReplaceTextInput}></cx-input><cx-space spacing="2x-small" justify-content="flex-end" class="actions"><cx-button @click=${this.handleFind}>${this.localize.term("find")}</cx-button><cx-button ?disabled=${this.totalOccurrences === 0} @click=${this.handleReplaceClick}>${this.localize.term("replace")}</cx-button><cx-button variant="primary" ?disabled=${this.totalOccurrences === 0} @click=${this.handleReplaceAllClick}>${this.localize.term("replaceAll")}</cx-button></cx-space></cx-space></cx-space></cx-popup>`;
|
|
138795
138802
|
}
|
|
138796
138803
|
};
|
|
138797
|
-
ws.styles = [Tn,
|
|
138804
|
+
ws.styles = [Tn, bzt];
|
|
138798
138805
|
ws.dependencies = {
|
|
138799
138806
|
"cx-button": ki,
|
|
138800
138807
|
"cx-dropdown": Rd,
|
|
@@ -138846,11 +138853,11 @@ vl([
|
|
|
138846
138853
|
ws = vl([
|
|
138847
138854
|
wn("cx-find-and-replace")
|
|
138848
138855
|
], ws);
|
|
138849
|
-
const
|
|
138850
|
-
var
|
|
138851
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
138856
|
+
const kzt = bn`.lightbox-dialog{--body-spacing:0px;--width:90dvw}.lightbox{width:100%;height:100%;position:relative}.lightbox__toolbar{align-items:center;gap:var(--cx-spacing-small);right:var(--cx-spacing-medium);top:var(--cx-spacing-medium);z-index:var(--cx-z-index-tooltip);display:flex;position:absolute}cx-carousel{--gallery-item-border-radius:0px;--slide-transition-duration:0s;--transition-transform-duration:0s;width:100%;height:100%}`;
|
|
138857
|
+
var _zt = Object.defineProperty, Czt = Object.getOwnPropertyDescriptor, yl = (n, e, t, r) => {
|
|
138858
|
+
for (var i = r > 1 ? void 0 : r ? Czt(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
138852
138859
|
(a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
|
|
138853
|
-
return r && i &&
|
|
138860
|
+
return r && i && _zt(e, t, i), i;
|
|
138854
138861
|
};
|
|
138855
138862
|
let xs = class extends On {
|
|
138856
138863
|
constructor() {
|
|
@@ -138883,7 +138890,7 @@ let xs = class extends On {
|
|
|
138883
138890
|
return V`<cx-dialog strategy="overlay" class="lightbox-dialog" ?open=${this.open} no-header @cx-request-close=${this.handleRequestClose}><div part="base" class=${mn({ lightbox: !0 })}>${this.renderToolbar()}<cx-carousel .data=${this.open ? this.mappedData : []} .totalData=${this.totalData} .chunk=${this.chunk} ?loop=${this.loop} navigation="arrows" transition-type=${au.Fade} @cx-slide-change=${this.handleSlideChange}></cx-carousel></div></cx-dialog>`;
|
|
138884
138891
|
}
|
|
138885
138892
|
};
|
|
138886
|
-
xs.styles = [Tn,
|
|
138893
|
+
xs.styles = [Tn, kzt];
|
|
138887
138894
|
xs.dependencies = {
|
|
138888
138895
|
"cx-button": ki,
|
|
138889
138896
|
"cx-carousel": yn,
|
|
@@ -138930,11 +138937,11 @@ yl([
|
|
|
138930
138937
|
xs = yl([
|
|
138931
138938
|
wn("cx-lightbox")
|
|
138932
138939
|
], xs);
|
|
138933
|
-
var
|
|
138934
|
-
function
|
|
138940
|
+
var Szt = Math.min;
|
|
138941
|
+
function Tzt(n, e, t) {
|
|
138935
138942
|
for (var r = PX, i = n[0].length, o = n.length, a = o, s = Array(o), c = 1 / 0, l = []; a--; ) {
|
|
138936
138943
|
var d = n[a];
|
|
138937
|
-
a && e && (d = gk(d, b9(e))), c =
|
|
138944
|
+
a && e && (d = gk(d, b9(e))), c = Szt(d.length, c), s[a] = e || i >= 120 && d.length >= 120 ? new TY(a && d) : void 0;
|
|
138938
138945
|
}
|
|
138939
138946
|
d = n[0];
|
|
138940
138947
|
var p = -1, h = s[0];
|
|
@@ -138952,24 +138959,24 @@ function Szt(n, e, t) {
|
|
|
138952
138959
|
}
|
|
138953
138960
|
return l;
|
|
138954
138961
|
}
|
|
138955
|
-
function
|
|
138962
|
+
function Ezt(n) {
|
|
138956
138963
|
return uu(n) ? n : [];
|
|
138957
138964
|
}
|
|
138958
|
-
var
|
|
138959
|
-
var e = nv(n), t = gk(n,
|
|
138960
|
-
return e === nv(t) ? e = void 0 : t.pop(), t.length && t[0] === n[0] ?
|
|
138961
|
-
}),
|
|
138965
|
+
var Azt = cv(function(n) {
|
|
138966
|
+
var e = nv(n), t = gk(n, Ezt);
|
|
138967
|
+
return e === nv(t) ? e = void 0 : t.pop(), t.length && t[0] === n[0] ? Tzt(t, lv(e)) : [];
|
|
138968
|
+
}), Ozt = cv(function(n) {
|
|
138962
138969
|
var e = nv(n);
|
|
138963
138970
|
return uu(e) && (e = void 0), uB(pk(n, 1, uu, !0), lv(e));
|
|
138964
138971
|
}), yR = cv(function(n) {
|
|
138965
138972
|
var e = nv(n);
|
|
138966
138973
|
return uu(e) && (e = void 0), cX(EY(n, uu), lv(e));
|
|
138967
138974
|
});
|
|
138968
|
-
const
|
|
138969
|
-
var
|
|
138970
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
138975
|
+
const Izt = bn`:host{min-height:40px;display:block}.board-list-item{--toggle-size:var(--cx-toggle-size-medium);border:1px solid #0000;border-bottom-color:var(--cx-color-neutral-300);font-family:var(--cx-font-sans);min-height:40px;padding-left:var(--cx-spacing-3x-small);background-color:var(--cx-color-neutral-100);align-items:center;gap:16px;display:flex;overflow:hidden}.board-list-item--placeholder{border-bottom-color:#0000}.board-list-item--placeholder .board-list-item__control{display:none}.board-list-item:not(.board-list-item--group):not(.board-list-item--placeholder):hover{transition:var(--cx-transition-slow);background-color:var(--cx-color-primary-50);cursor:grab;border:1px solid var(--cx-color-primary-300)}.board-list-item__control{width:var(--toggle-size);height:var(--toggle-size);border:solid var(--cx-input-border-width) var(--cx-input-border-color);background-color:var(--cx-input-background-color);color:var(--cx-color-neutral-0);transition:var(--cx-transition-fast) border-color, var(--cx-transition-fast) background-color, var(--cx-transition-fast) color, var(--cx-transition-fast) box-shadow;cursor:pointer;border-radius:2px;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.board-list-item__text{flex:1;align-items:center;width:0;height:100%;display:flex;position:relative}.board-list-item__text__content{font-weight:var(--cx-font-weight-regular);line-height:var(--cx-item-line-height,1.4);text-overflow:ellipsis;z-index:1;display:block;position:relative;overflow:hidden}.board-list-item__text__anchor{z-index:0;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.board-list-item__checked-icon{display:inline-flex}.board-list-item--group{background-color:var(--cx-color-neutral-300)}.board-list-item:not(.board-list-item--checked):not(.board-list-item--readonly) .board-list-item__control:hover{border-color:var(--cx-input-border-color-hover);background-color:var(--cx-input-background-color-hover)}.board-list-item--checked .board-list-item__control{border-color:var(--cx-color-primary);background-color:var(--cx-color-primary)}.board-list-item--readonly .board-list-item__control{cursor:default;background-color:#0000;border-color:#0000}`;
|
|
138976
|
+
var Dzt = Object.defineProperty, Mzt = Object.getOwnPropertyDescriptor, Hc = (n, e, t, r) => {
|
|
138977
|
+
for (var i = r > 1 ? void 0 : r ? Mzt(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
138971
138978
|
(a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
|
|
138972
|
-
return r && i &&
|
|
138979
|
+
return r && i && Dzt(e, t, i), i;
|
|
138973
138980
|
};
|
|
138974
138981
|
let $a = class extends On {
|
|
138975
138982
|
constructor() {
|
|
@@ -139003,7 +139010,7 @@ let $a = class extends On {
|
|
|
139003
139010
|
})}><span class="board-list-item__control">${this.selected ? V`<cx-icon class="board-list-item__checked-icon" name="check"></cx-icon>` : ""}</span><div part="text" class="board-list-item__text" @mouseenter=${this.onTextMouseEnter} @mouseleave=${this.onTextMouseLeave}><cx-line-clamp part="text-content" class="board-list-item__text__content" lines="2" ?disabled-tooltip=${!!this.tooltip} disabled-hover-bridge>${this.text}</cx-line-clamp><cx-tooltip part="tooltip" hoist trigger="manual" ?disabled=${this.disabledTooltip || !this.tooltip} disabled-hover-bridge><div class="board-list-item__text__anchor"></div><div slot="content">${up(this.tooltip)}</div></cx-tooltip></div>${this.configurable && !this.readonly ? V`<cx-icon-button part="config-button" name="settings" @click=${this.onConfigButtonClick}></cx-icon-button>` : ""}</div>`;
|
|
139004
139011
|
}
|
|
139005
139012
|
};
|
|
139006
|
-
$a.styles = [Tn,
|
|
139013
|
+
$a.styles = [Tn, Izt];
|
|
139007
139014
|
$a.dependencies = {
|
|
139008
139015
|
"cx-icon": io,
|
|
139009
139016
|
"cx-icon-button": yo,
|
|
@@ -139052,14 +139059,14 @@ Hc([
|
|
|
139052
139059
|
$a = Hc([
|
|
139053
139060
|
wn("cx-board-list-item")
|
|
139054
139061
|
], $a);
|
|
139055
|
-
const
|
|
139062
|
+
const Pzt = bn`:host{--cx-tooltip-arrow-size:0;flex:1;display:block}.board{--toggle-size:var(--cx-toggle-size-medium);background-color:var(--cx-color-neutral-100);border:1px solid var(--cx-color-neutral-300);border-radius:4px;flex-direction:column;height:100%;padding:16px 16px 0;display:flex}.board--dragging cx-input{pointer-events:none}.board__header{align-items:center;gap:16px;width:100%;height:40px;margin-bottom:16px;display:flex}.board__list{flex:1;max-height:500px;padding-left:0;overflow:hidden scroll}.board__header__text{-webkit-line-clamp:2;color:var(--cx-color-neutral);font-family:var(--cx-font-sans);text-overflow:ellipsis;white-space:pre-wrap;-webkit-box-orient:vertical;flex:1;font-weight:700;display:-webkit-box;overflow:hidden}.board__header__search{flex:0 0 160px}.board__footer{justify-content:space-between;align-items:center;height:40px;display:flex}.board__footer__text{font-family:var(--cx-font-sans)}.board__select-all{width:var(--toggle-size);height:var(--toggle-size);border:solid var(--cx-input-border-width) var(--cx-input-border-color);background-color:var(--cx-input-background-color);color:var(--cx-color-neutral-0);cursor:pointer;transition:var(--cx-transition-fast) border-color, var(--cx-transition-fast) background-color, var(--cx-transition-fast) color, var(--cx-transition-fast) box-shadow;border-radius:2px;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.board--checked .board__select-all{border-color:var(--cx-color-primary);background-color:var(--cx-color-primary)}.board__checked-icon{display:inline-flex}`, Nzt = (n) => {
|
|
139056
139063
|
const e = n.getRootNode();
|
|
139057
139064
|
return e instanceof ShadowRoot ? e.host : null;
|
|
139058
|
-
},
|
|
139059
|
-
var
|
|
139060
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
139065
|
+
}, Lzt = !!navigator.userAgent.match(/safari/i) && !navigator.userAgent.match(/chrome/i) && !navigator.userAgent.match(/android/i);
|
|
139066
|
+
var Rzt = Object.defineProperty, Bzt = Object.getOwnPropertyDescriptor, Wr = (n, e, t, r) => {
|
|
139067
|
+
for (var i = r > 1 ? void 0 : r ? Bzt(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
139061
139068
|
(a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
|
|
139062
|
-
return r && i &&
|
|
139069
|
+
return r && i && Rzt(e, t, i), i;
|
|
139063
139070
|
};
|
|
139064
139071
|
let Or = class extends On {
|
|
139065
139072
|
constructor() {
|
|
@@ -139156,7 +139163,7 @@ let Or = class extends On {
|
|
|
139156
139163
|
}
|
|
139157
139164
|
handleAdd(n) {
|
|
139158
139165
|
let e = this.items.map((l) => l.id);
|
|
139159
|
-
const t =
|
|
139166
|
+
const t = Nzt(n.from);
|
|
139160
139167
|
if (!t)
|
|
139161
139168
|
return;
|
|
139162
139169
|
const i = n.item.dataset.id;
|
|
@@ -139319,7 +139326,7 @@ let Or = class extends On {
|
|
|
139319
139326
|
avoidImplicitDeselect: !0,
|
|
139320
139327
|
dataIdAttr: "data-id",
|
|
139321
139328
|
draggable: "cx-board-list-item[data-id]:not([readonly])",
|
|
139322
|
-
forceFallback:
|
|
139329
|
+
forceFallback: Lzt,
|
|
139323
139330
|
// to fixed weird dragging behavior in Safari (https://link.orangelogic.com/Tasks/41N1B6)
|
|
139324
139331
|
group: "shared",
|
|
139325
139332
|
multiDrag: !0,
|
|
@@ -139355,7 +139362,7 @@ let Or = class extends On {
|
|
|
139355
139362
|
)}<div style="height: ${40 * (this.filteredItems.length - this.end > 0 ? this.filteredItems.length - this.end : 0)}px"></div></div><div class="board__footer">${n ? V`<div class="board__footer__text">${this.localize.term("selected")}: ${n}</div>` : V`<span></span>`}<div class="board__footer__text">${this.localize.term("total")}: ${this.totalDisplayedCount}</div></div></div>`;
|
|
139356
139363
|
}
|
|
139357
139364
|
};
|
|
139358
|
-
Or.styles = [Tn,
|
|
139365
|
+
Or.styles = [Tn, Pzt];
|
|
139359
139366
|
Or.dependencies = {
|
|
139360
139367
|
"cx-board-list-item": $a,
|
|
139361
139368
|
"cx-icon": io,
|
|
@@ -139468,11 +139475,11 @@ Wr([
|
|
|
139468
139475
|
Or = Wr([
|
|
139469
139476
|
wn("cx-board")
|
|
139470
139477
|
], Or);
|
|
139471
|
-
const
|
|
139472
|
-
var
|
|
139473
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
139478
|
+
const Fzt = bn`:host{height:100%;display:block}.multi-select{gap:var(--cx-spacing-medium);width:100%;height:100%;display:flex}.multi-select__control{gap:var(--cx-spacing-small);flex-direction:column;align-self:center;display:flex}`, bR = (n, e) => n.group && e.group && n.group !== e.group ? n.group.localeCompare(e.group) : n.text.localeCompare(e.text);
|
|
139479
|
+
var zzt = Object.defineProperty, $zt = Object.getOwnPropertyDescriptor, bl = (n, e, t, r) => {
|
|
139480
|
+
for (var i = r > 1 ? void 0 : r ? $zt(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
139474
139481
|
(a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
|
|
139475
|
-
return r && i &&
|
|
139482
|
+
return r && i && zzt(e, t, i), i;
|
|
139476
139483
|
};
|
|
139477
139484
|
let ks = class extends On {
|
|
139478
139485
|
constructor() {
|
|
@@ -139507,7 +139514,7 @@ let ks = class extends On {
|
|
|
139507
139514
|
isValidChanges(n, e, t) {
|
|
139508
139515
|
if (this.addLimit || this.addLimit === 0) {
|
|
139509
139516
|
let r = [];
|
|
139510
|
-
if (t === "add" ? r = n : t === "remove" && (r =
|
|
139517
|
+
if (t === "add" ? r = n : t === "remove" && (r = Ozt(
|
|
139511
139518
|
Rq(e, n),
|
|
139512
139519
|
this.secondColumnItemIds
|
|
139513
139520
|
)), yR(r, this.initialSecondColumnItems).length > this.addLimit)
|
|
@@ -139665,7 +139672,7 @@ let ks = class extends On {
|
|
|
139665
139672
|
(e, t) => (e[t.id] = t, e),
|
|
139666
139673
|
{}
|
|
139667
139674
|
);
|
|
139668
|
-
const n =
|
|
139675
|
+
const n = Azt(
|
|
139669
139676
|
this.firstColumnData.items,
|
|
139670
139677
|
this.secondColumnData.items,
|
|
139671
139678
|
"id"
|
|
@@ -139690,7 +139697,7 @@ let ks = class extends On {
|
|
|
139690
139697
|
return V`<div class="multi-select" @cx-board-change=${this.handleBoardChange} @cx-board-selected-change=${this.handleSelectedChange}><cx-board part="board-1" title=${this.firstColumnData.title} name=${this.firstColumnData.id} all .data=${t} ?sort=${this.firstColumnData.sort ?? !1} .ignore-types=${this.ignoreTypes} allow-search></cx-board><div class="multi-select__control"><cx-tooltip part="tooltip" content=${this.localize.term("moveSelectedItemRight")} hoist ?disabled=${!n.length}><cx-icon-button class="multi-select__control__move-button" name="arrow_forward_ios" label=${this.localize.term("moveSelectedItemRight")} @click=${this.handleMoveItemsRight} ?disabled=${!n.length}></cx-icon-button></cx-tooltip><cx-tooltip part="tooltip" content=${this.localize.term("moveSelectedItemLeft")} hoist ?disabled=${!e.length}><cx-icon-button class="multi-select__control__move-button" name="arrow_back_ios" label=${this.localize.term("moveSelectedItemLeft")} @click=${this.handleMoveItemsLeft} ?disabled=${!e.length}></cx-icon-button></cx-tooltip></div><cx-board part="board-2" title=${this.secondColumnData.title} name=${this.secondColumnData.id} all .data=${r} ?configurable=${this.configurable} ?sort=${this.secondColumnData.sort ?? !0}></cx-board></div>`;
|
|
139691
139698
|
}
|
|
139692
139699
|
};
|
|
139693
|
-
ks.styles = [Tn,
|
|
139700
|
+
ks.styles = [Tn, Fzt];
|
|
139694
139701
|
ks.dependencies = {
|
|
139695
139702
|
"cx-board": Or,
|
|
139696
139703
|
"cx-icon-button": yo,
|
|
@@ -139735,7 +139742,7 @@ bl([
|
|
|
139735
139742
|
ks = bl([
|
|
139736
139743
|
wn("cx-multi-select")
|
|
139737
139744
|
], ks);
|
|
139738
|
-
const wR = V`<svg slot="prefix" width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.5 9.16675H5.83333V10.8334H7.5V9.16675ZM10.8333 9.16675H9.16667V10.8334H10.8333V9.16675ZM14.1667 9.16675H12.5V10.8334H14.1667V9.16675ZM15.8333 3.33341H15V1.66675H13.3333V3.33341H6.66667V1.66675H5V3.33341H4.16667C3.24167 3.33341 2.50833 4.08341 2.50833 5.00008L2.5 16.6667C2.5 17.5834 3.24167 18.3334 4.16667 18.3334H15.8333C16.75 18.3334 17.5 17.5834 17.5 16.6667V5.00008C17.5 4.08341 16.75 3.33341 15.8333 3.33341ZM15.8333 16.6667H4.16667V7.50008H15.8333V16.6667Z" fill="currentColor"/><rect x="5.83337" y="12.5" width="1.66667" height="1.66667" fill="currentColor"/><rect x="9.16663" y="12.5" width="1.66667" height="1.66667" fill="currentColor"/><rect x="12.5" y="12.5" width="1.66667" height="1.66667" fill="currentColor"/></svg>`,
|
|
139745
|
+
const wR = V`<svg slot="prefix" width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.5 9.16675H5.83333V10.8334H7.5V9.16675ZM10.8333 9.16675H9.16667V10.8334H10.8333V9.16675ZM14.1667 9.16675H12.5V10.8334H14.1667V9.16675ZM15.8333 3.33341H15V1.66675H13.3333V3.33341H6.66667V1.66675H5V3.33341H4.16667C3.24167 3.33341 2.50833 4.08341 2.50833 5.00008L2.5 16.6667C2.5 17.5834 3.24167 18.3334 4.16667 18.3334H15.8333C16.75 18.3334 17.5 17.5834 17.5 16.6667V5.00008C17.5 4.08341 16.75 3.33341 15.8333 3.33341ZM15.8333 16.6667H4.16667V7.50008H15.8333V16.6667Z" fill="currentColor"/><rect x="5.83337" y="12.5" width="1.66667" height="1.66667" fill="currentColor"/><rect x="9.16663" y="12.5" width="1.66667" height="1.66667" fill="currentColor"/><rect x="12.5" y="12.5" width="1.66667" height="1.66667" fill="currentColor"/></svg>`, jzt = V`<svg slot="prefix" width="20" height="20" viewBox="0 0 16 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.04163 2.125L1.95829 2.125L1.95829 5.875L9.04163 5.875L9.04163 2.125ZM14.0416 7.125L1.95829 7.125L1.95829 10.875L14.0416 10.875L14.0416 7.125ZM7.37496 12.125L1.95829 12.125L1.95829 15.875L7.37496 15.875L7.37496 12.125ZM0.708292 15.875L0.708293 2.125C0.708293 1.77778 0.829821 1.48264 1.07288 1.23958C1.31593 0.996527 1.61107 0.874999 1.95829 0.874999L9.04163 0.875C9.38885 0.875 9.68399 0.996528 9.92704 1.23958C10.1701 1.48264 10.2916 1.77778 10.2916 2.125L10.2916 5.875L14.0416 5.875C14.3888 5.875 14.684 5.99653 14.927 6.23958C15.1701 6.48264 15.2916 6.77778 15.2916 7.125L15.2916 10.875C15.2916 11.2222 15.1701 11.5174 14.927 11.7604C14.684 12.0035 14.3888 12.125 14.0416 12.125L8.62496 12.125L8.62496 15.875C8.62496 16.2222 8.50343 16.5174 8.26038 16.7604C8.01732 17.0035 7.72218 17.125 7.37496 17.125L1.95829 17.125C1.61107 17.125 1.31593 17.0035 1.07288 16.7604C0.82982 16.5174 0.708292 16.2222 0.708292 15.875Z" fill="currentColor"/></svg>`, xR = V`<svg slot="prefix" width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.75 9.375C3.40278 9.375 3.10764 9.25347 2.86458 9.01042C2.62153 8.76736 2.5 8.47222 2.5 8.125V3.75C2.5 3.40278 2.62153 3.10764 2.86458 2.86458C3.10764 2.62153 3.40278 2.5 3.75 2.5H8.125C8.47222 2.5 8.76736 2.62153 9.01042 2.86458C9.25347 3.10764 9.375 3.40278 9.375 3.75V8.125C9.375 8.47222 9.25347 8.76736 9.01042 9.01042C8.76736 9.25347 8.47222 9.375 8.125 9.375H3.75ZM3.75 17.5C3.40278 17.5 3.10764 17.3785 2.86458 17.1354C2.62153 16.8924 2.5 16.5972 2.5 16.25V11.875C2.5 11.5278 2.62153 11.2326 2.86458 10.9896C3.10764 10.7465 3.40278 10.625 3.75 10.625H8.125C8.47222 10.625 8.76736 10.7465 9.01042 10.9896C9.25347 11.2326 9.375 11.5278 9.375 11.875V16.25C9.375 16.5972 9.25347 16.8924 9.01042 17.1354C8.76736 17.3785 8.47222 17.5 8.125 17.5H3.75ZM11.875 9.375C11.5278 9.375 11.2326 9.25347 10.9896 9.01042C10.7465 8.76736 10.625 8.47222 10.625 8.125V3.75C10.625 3.40278 10.7465 3.10764 10.9896 2.86458C11.2326 2.62153 11.5278 2.5 11.875 2.5H16.25C16.5972 2.5 16.8924 2.62153 17.1354 2.86458C17.3785 3.10764 17.5 3.40278 17.5 3.75V8.125C17.5 8.47222 17.3785 8.76736 17.1354 9.01042C16.8924 9.25347 16.5972 9.375 16.25 9.375H11.875ZM11.875 17.5C11.5278 17.5 11.2326 17.3785 10.9896 17.1354C10.7465 16.8924 10.625 16.5972 10.625 16.25V11.875C10.625 11.5278 10.7465 11.2326 10.9896 10.9896C11.2326 10.7465 11.5278 10.625 11.875 10.625H16.25C16.5972 10.625 16.8924 10.7465 17.1354 10.9896C17.3785 11.2326 17.5 11.5278 17.5 11.875V16.25C17.5 16.5972 17.3785 16.8924 17.1354 17.1354C16.8924 17.3785 16.5972 17.5 16.25 17.5H11.875ZM3.75 8.125H8.125V3.75H3.75V8.125ZM11.875 8.125H16.25V3.75H11.875V8.125ZM11.875 16.25H16.25V11.875H11.875V16.25ZM3.75 16.25H8.125V11.875H3.75V16.25Z" fill="currentColor"/></svg>`, Hzt = V`<svg slot="prefix" width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16.875 11.0417L16.875 3.95841L13.125 3.95841L13.125 11.0417L16.875 11.0417ZM11.875 16.0417L11.875 3.95841L8.125 3.95841L8.125 16.0417L11.875 16.0417ZM6.875 9.37508L6.875 3.95841L3.125 3.95841L3.125 9.37508L6.875 9.37508ZM3.125 2.70841L16.875 2.70841C17.2222 2.70841 17.5174 2.82994 17.7604 3.073C18.0035 3.31605 18.125 3.61119 18.125 3.95842L18.125 11.0417C18.125 11.389 18.0035 11.6841 17.7604 11.9272C17.5174 12.1702 17.2222 12.2917 16.875 12.2917L13.125 12.2917L13.125 16.0417C13.125 16.389 13.0035 16.6841 12.7604 16.9272C12.5174 17.1702 12.2222 17.2917 11.875 17.2917L8.125 17.2917C7.77778 17.2917 7.48264 17.1702 7.23958 16.9272C6.99653 16.6841 6.875 16.389 6.875 16.0417L6.875 10.6251L3.125 10.6251C2.77778 10.6251 2.48264 10.5036 2.23958 10.2605C1.99653 10.0174 1.875 9.7223 1.875 9.37508L1.875 3.95841C1.875 3.61119 1.99653 3.31605 2.23959 3.073C2.48264 2.82994 2.77778 2.70841 3.125 2.70841Z" fill="currentColor"/></svg>`, kR = V`<svg slot="prefix" width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.0833 17.4792H3.75C3.41667 17.4792 3.125 17.3542 2.875 17.1042C2.625 16.8542 2.5 16.5625 2.5 16.2292V3.75C2.5 3.41667 2.625 3.125 2.875 2.875C3.125 2.625 3.41667 2.5 3.75 2.5H17.0833C17.4167 2.5 17.7083 2.625 17.9583 2.875C18.2083 3.125 18.3333 3.41667 18.3333 3.75V16.2292C18.3333 16.5625 18.2083 16.8542 17.9583 17.1042C17.7083 17.3542 17.4167 17.4792 17.0833 17.4792ZM3.75 6.6875H17.0833V3.75H3.75V6.6875ZM6.875 7.9375H3.75V16.2292H6.875V7.9375ZM13.9583 7.9375V16.2292H17.0833V7.9375H13.9583ZM12.7083 7.9375H8.125V16.2292H12.7083V7.9375Z" fill="currentColor"/></svg>`, Uzt = V`<svg slot="prefix" width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.33333 4.7619L4.25984 5.68841L6.60714 3.33929V11.3095H7.61905V3.33929L9.96627 5.68841L10.8929 4.7619L6.96429 0.833333L3.33333 4.7619Z" fill="currentColor"/><path opacity="0.3" d="M17.0833 15.2381L16.1568 14.3116L13.8095 16.6607V8.69048H12.7976V16.6607L10.4504 14.3116L9.52381 15.2381L13.4524 19.1667L17.0833 15.2381Z" fill="currentColor"/></svg>`, qzt = V`<svg slot="prefix" width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path opacity="0.3" d="M3.33333 4.7619L4.25984 5.68841L6.60714 3.33929V11.3095H7.61905V3.33929L9.96627 5.68841L10.8929 4.7619L6.96429 0.833333L3.33333 4.7619Z" fill="currentColor"/><path d="M17.0833 15.2381L16.1568 14.3116L13.8095 16.6607V8.69048H12.7976V16.6607L10.4504 14.3116L9.52381 15.2381L13.4524 19.1667L17.0833 15.2381Z" fill="currentColor"/></svg>`, Vzt = {
|
|
139739
139746
|
VFormID: "a1.1.5.11.6.1",
|
|
139740
139747
|
categories: [
|
|
139741
139748
|
{ id: "GridView", name: "Grid" },
|
|
@@ -140326,18 +140333,18 @@ const wR = V`<svg slot="prefix" width="20" height="20" viewBox="0 0 20 20" fill=
|
|
|
140326
140333
|
}
|
|
140327
140334
|
]
|
|
140328
140335
|
};
|
|
140329
|
-
var
|
|
140330
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
140336
|
+
var Wzt = Object.defineProperty, Gzt = Object.getOwnPropertyDescriptor, wl = (n, e, t, r) => {
|
|
140337
|
+
for (var i = r > 1 ? void 0 : r ? Gzt(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
140331
140338
|
(a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
|
|
140332
|
-
return r && i &&
|
|
140339
|
+
return r && i && Wzt(e, t, i), i;
|
|
140333
140340
|
};
|
|
140334
|
-
const
|
|
140341
|
+
const Kzt = (n, e) => {
|
|
140335
140342
|
const t = e.find((r) => r.id === n);
|
|
140336
140343
|
return t ? t.name : n;
|
|
140337
140344
|
};
|
|
140338
140345
|
let ic = class extends On {
|
|
140339
140346
|
constructor() {
|
|
140340
|
-
super(...arguments), this.localize = new Vn(this), this.data =
|
|
140347
|
+
super(...arguments), this.localize = new Vn(this), this.data = Vzt, this.forcedSortOrder = null, this.forcedSortOrderReason = null, this.label = this.localize.term("viewAndSort"), this.triggerButtonVariant = "text", this.triggerButtonSize = kc.Medium, this._loading = !1, this._menu = [], this._settings = {
|
|
140341
140348
|
darkMode: !1,
|
|
140342
140349
|
deployStack: !1,
|
|
140343
140350
|
direction: "",
|
|
@@ -140349,14 +140356,14 @@ let ic = class extends On {
|
|
|
140349
140356
|
sortOrder: "",
|
|
140350
140357
|
view: ""
|
|
140351
140358
|
}, this.iconMap = {
|
|
140352
|
-
Ascending:
|
|
140359
|
+
Ascending: Uzt,
|
|
140353
140360
|
Calendar: wR,
|
|
140354
140361
|
CalendarView: wR,
|
|
140355
|
-
Descending:
|
|
140356
|
-
Gantt:
|
|
140362
|
+
Descending: qzt,
|
|
140363
|
+
Gantt: jzt,
|
|
140357
140364
|
Grid: xR,
|
|
140358
140365
|
GridView: xR,
|
|
140359
|
-
Kanban:
|
|
140366
|
+
Kanban: Hzt,
|
|
140360
140367
|
List: "format_list_bulleted",
|
|
140361
140368
|
ListView: "format_list_bulleted",
|
|
140362
140369
|
Other: "format_list_bulleted",
|
|
@@ -140476,7 +140483,7 @@ let ic = class extends On {
|
|
|
140476
140483
|
forceHighlight: this.forcedSortOrder ?? !1,
|
|
140477
140484
|
icon: this.iconMap[this.settings.direction] ?? "swap_vert",
|
|
140478
140485
|
iconVariant: "filled",
|
|
140479
|
-
label: this.forcedSortOrder ?
|
|
140486
|
+
label: this.forcedSortOrder ? Kzt(
|
|
140480
140487
|
this.settings.sortOrder,
|
|
140481
140488
|
this.data.sortOrder
|
|
140482
140489
|
) : this.localize.term("sort"),
|
|
@@ -140771,17 +140778,17 @@ const _R = {
|
|
|
140771
140778
|
2: "FEMALE"
|
|
140772
140779
|
};
|
|
140773
140780
|
/*! countries-list v3.1.1 by Annexare | MIT */
|
|
140774
|
-
var p6 = { AD: { name: "Andorra", native: "Andorra", phone: [376], continent: "EU", capital: "Andorra la Vella", currency: ["EUR"], languages: ["ca"] }, AE: { name: "United Arab Emirates", native: "دولة الإمارات العربية المتحدة", phone: [971], continent: "AS", capital: "Abu Dhabi", currency: ["AED"], languages: ["ar"] }, AF: { name: "Afghanistan", native: "افغانستان", phone: [93], continent: "AS", capital: "Kabul", currency: ["AFN"], languages: ["ps", "uz", "tk"] }, AG: { name: "Antigua and Barbuda", native: "Antigua and Barbuda", phone: [1268], continent: "NA", capital: "Saint John's", currency: ["XCD"], languages: ["en"] }, AI: { name: "Anguilla", native: "Anguilla", phone: [1264], continent: "NA", capital: "The Valley", currency: ["XCD"], languages: ["en"] }, AL: { name: "Albania", native: "Shqipëria", phone: [355], continent: "EU", capital: "Tirana", currency: ["ALL"], languages: ["sq"] }, AM: { name: "Armenia", native: "Հայաստան", phone: [374], continent: "AS", capital: "Yerevan", currency: ["AMD"], languages: ["hy", "ru"] }, AO: { name: "Angola", native: "Angola", phone: [244], continent: "AF", capital: "Luanda", currency: ["AOA"], languages: ["pt"] }, AQ: { name: "Antarctica", native: "Antarctica", phone: [672], continent: "AN", capital: "", currency: [], languages: [] }, AR: { name: "Argentina", native: "Argentina", phone: [54], continent: "SA", capital: "Buenos Aires", currency: ["ARS"], languages: ["es", "gn"] }, AS: { name: "American Samoa", native: "American Samoa", phone: [1684], continent: "OC", capital: "Pago Pago", currency: ["USD"], languages: ["en", "sm"] }, AT: { name: "Austria", native: "Österreich", phone: [43], continent: "EU", capital: "Vienna", currency: ["EUR"], languages: ["de"] }, AU: { name: "Australia", native: "Australia", phone: [61], continent: "OC", capital: "Canberra", currency: ["AUD"], languages: ["en"] }, AW: { name: "Aruba", native: "Aruba", phone: [297], continent: "NA", capital: "Oranjestad", currency: ["AWG"], languages: ["nl", "pa"] }, AX: { name: "Aland", native: "Åland", phone: [358], continent: "EU", capital: "Mariehamn", currency: ["EUR"], languages: ["sv"], partOf: "FI" }, AZ: { name: "Azerbaijan", native: "Azərbaycan", phone: [994], continent: "AS", continents: ["AS", "EU"], capital: "Baku", currency: ["AZN"], languages: ["az"] }, BA: { name: "Bosnia and Herzegovina", native: "Bosna i Hercegovina", phone: [387], continent: "EU", capital: "Sarajevo", currency: ["BAM"], languages: ["bs", "hr", "sr"] }, BB: { name: "Barbados", native: "Barbados", phone: [1246], continent: "NA", capital: "Bridgetown", currency: ["BBD"], languages: ["en"] }, BD: { name: "Bangladesh", native: "Bangladesh", phone: [880], continent: "AS", capital: "Dhaka", currency: ["BDT"], languages: ["bn"] }, BE: { name: "Belgium", native: "België", phone: [32], continent: "EU", capital: "Brussels", currency: ["EUR"], languages: ["nl", "fr", "de"] }, BF: { name: "Burkina Faso", native: "Burkina Faso", phone: [226], continent: "AF", capital: "Ouagadougou", currency: ["XOF"], languages: ["fr", "ff"] }, BG: { name: "Bulgaria", native: "България", phone: [359], continent: "EU", capital: "Sofia", currency: ["BGN"], languages: ["bg"] }, BH: { name: "Bahrain", native: "البحرين", phone: [973], continent: "AS", capital: "Manama", currency: ["BHD"], languages: ["ar"] }, BI: { name: "Burundi", native: "Burundi", phone: [257], continent: "AF", capital: "Bujumbura", currency: ["BIF"], languages: ["fr", "rn"] }, BJ: { name: "Benin", native: "Bénin", phone: [229], continent: "AF", capital: "Porto-Novo", currency: ["XOF"], languages: ["fr"] }, BL: { name: "Saint Barthelemy", native: "Saint-Barthélemy", phone: [590], continent: "NA", capital: "Gustavia", currency: ["EUR"], languages: ["fr"] }, BM: { name: "Bermuda", native: "Bermuda", phone: [1441], continent: "NA", capital: "Hamilton", currency: ["BMD"], languages: ["en"] }, BN: { name: "Brunei", native: "Negara Brunei Darussalam", phone: [673], continent: "AS", capital: "Bandar Seri Begawan", currency: ["BND"], languages: ["ms"] }, BO: { name: "Bolivia", native: "Bolivia", phone: [591], continent: "SA", capital: "Sucre", currency: ["BOB", "BOV"], languages: ["es", "ay", "qu"] }, BQ: { name: "Bonaire", native: "Bonaire", phone: [5997], continent: "NA", capital: "Kralendijk", currency: ["USD"], languages: ["nl"] }, BR: { name: "Brazil", native: "Brasil", phone: [55], continent: "SA", capital: "Brasília", currency: ["BRL"], languages: ["pt"] }, BS: { name: "Bahamas", native: "Bahamas", phone: [1242], continent: "NA", capital: "Nassau", currency: ["BSD"], languages: ["en"] }, BT: { name: "Bhutan", native: "ʼbrug-yul", phone: [975], continent: "AS", capital: "Thimphu", currency: ["BTN", "INR"], languages: ["dz"] }, BV: { name: "Bouvet Island", native: "Bouvetøya", phone: [47], continent: "AN", capital: "", currency: ["NOK"], languages: ["no", "nb", "nn"] }, BW: { name: "Botswana", native: "Botswana", phone: [267], continent: "AF", capital: "Gaborone", currency: ["BWP"], languages: ["en", "tn"] }, BY: { name: "Belarus", native: "Белару́сь", phone: [375], continent: "EU", capital: "Minsk", currency: ["BYN"], languages: ["be", "ru"] }, BZ: { name: "Belize", native: "Belize", phone: [501], continent: "NA", capital: "Belmopan", currency: ["BZD"], languages: ["en", "es"] }, CA: { name: "Canada", native: "Canada", phone: [1], continent: "NA", capital: "Ottawa", currency: ["CAD"], languages: ["en", "fr"] }, CC: { name: "Cocos (Keeling) Islands", native: "Cocos (Keeling) Islands", phone: [61], continent: "AS", capital: "West Island", currency: ["AUD"], languages: ["en"] }, CD: { name: "Democratic Republic of the Congo", native: "République démocratique du Congo", phone: [243], continent: "AF", capital: "Kinshasa", currency: ["CDF"], languages: ["fr", "ln", "kg", "sw", "lu"] }, CF: { name: "Central African Republic", native: "Ködörösêse tî Bêafrîka", phone: [236], continent: "AF", capital: "Bangui", currency: ["XAF"], languages: ["fr", "sg"] }, CG: { name: "Republic of the Congo", native: "République du Congo", phone: [242], continent: "AF", capital: "Brazzaville", currency: ["XAF"], languages: ["fr", "ln"] }, CH: { name: "Switzerland", native: "Schweiz", phone: [41], continent: "EU", capital: "Bern", currency: ["CHE", "CHF", "CHW"], languages: ["de", "fr", "it"] }, CI: { name: "Ivory Coast", native: "Côte d'Ivoire", phone: [225], continent: "AF", capital: "Yamoussoukro", currency: ["XOF"], languages: ["fr"] }, CK: { name: "Cook Islands", native: "Cook Islands", phone: [682], continent: "OC", capital: "Avarua", currency: ["NZD"], languages: ["en"] }, CL: { name: "Chile", native: "Chile", phone: [56], continent: "SA", capital: "Santiago", currency: ["CLF", "CLP"], languages: ["es"] }, CM: { name: "Cameroon", native: "Cameroon", phone: [237], continent: "AF", capital: "Yaoundé", currency: ["XAF"], languages: ["en", "fr"] }, CN: { name: "China", native: "中国", phone: [86], continent: "AS", capital: "Beijing", currency: ["CNY"], languages: ["zh"] }, CO: { name: "Colombia", native: "Colombia", phone: [57], continent: "SA", capital: "Bogotá", currency: ["COP"], languages: ["es"] }, CR: { name: "Costa Rica", native: "Costa Rica", phone: [506], continent: "NA", capital: "San José", currency: ["CRC"], languages: ["es"] }, CU: { name: "Cuba", native: "Cuba", phone: [53], continent: "NA", capital: "Havana", currency: ["CUC", "CUP"], languages: ["es"] }, CV: { name: "Cape Verde", native: "Cabo Verde", phone: [238], continent: "AF", capital: "Praia", currency: ["CVE"], languages: ["pt"] }, CW: { name: "Curacao", native: "Curaçao", phone: [5999], continent: "NA", capital: "Willemstad", currency: ["ANG"], languages: ["nl", "pa", "en"] }, CX: { name: "Christmas Island", native: "Christmas Island", phone: [61], continent: "AS", capital: "Flying Fish Cove", currency: ["AUD"], languages: ["en"] }, CY: { name: "Cyprus", native: "Κύπρος", phone: [357], continent: "EU", capital: "Nicosia", currency: ["EUR"], languages: ["el", "tr", "hy"] }, CZ: { name: "Czech Republic", native: "Česká republika", phone: [420], continent: "EU", capital: "Prague", currency: ["CZK"], languages: ["cs"] }, DE: { name: "Germany", native: "Deutschland", phone: [49], continent: "EU", capital: "Berlin", currency: ["EUR"], languages: ["de"] }, DJ: { name: "Djibouti", native: "Djibouti", phone: [253], continent: "AF", capital: "Djibouti", currency: ["DJF"], languages: ["fr", "ar"] }, DK: { name: "Denmark", native: "Danmark", phone: [45], continent: "EU", continents: ["EU", "NA"], capital: "Copenhagen", currency: ["DKK"], languages: ["da"] }, DM: { name: "Dominica", native: "Dominica", phone: [1767], continent: "NA", capital: "Roseau", currency: ["XCD"], languages: ["en"] }, DO: { name: "Dominican Republic", native: "República Dominicana", phone: [1809, 1829, 1849], continent: "NA", capital: "Santo Domingo", currency: ["DOP"], languages: ["es"] }, DZ: { name: "Algeria", native: "الجزائر", phone: [213], continent: "AF", capital: "Algiers", currency: ["DZD"], languages: ["ar"] }, EC: { name: "Ecuador", native: "Ecuador", phone: [593], continent: "SA", capital: "Quito", currency: ["USD"], languages: ["es"] }, EE: { name: "Estonia", native: "Eesti", phone: [372], continent: "EU", capital: "Tallinn", currency: ["EUR"], languages: ["et"] }, EG: { name: "Egypt", native: "مصر", phone: [20], continent: "AF", continents: ["AF", "AS"], capital: "Cairo", currency: ["EGP"], languages: ["ar"] }, EH: { name: "Western Sahara", native: "الصحراء الغربية", phone: [212], continent: "AF", capital: "El Aaiún", currency: ["MAD", "DZD", "MRU"], languages: ["es"] }, ER: { name: "Eritrea", native: "ኤርትራ", phone: [291], continent: "AF", capital: "Asmara", currency: ["ERN"], languages: ["ti", "ar", "en"] }, ES: { name: "Spain", native: "España", phone: [34], continent: "EU", capital: "Madrid", currency: ["EUR"], languages: ["es", "eu", "ca", "gl", "oc"] }, ET: { name: "Ethiopia", native: "ኢትዮጵያ", phone: [251], continent: "AF", capital: "Addis Ababa", currency: ["ETB"], languages: ["am"] }, FI: { name: "Finland", native: "Suomi", phone: [358], continent: "EU", capital: "Helsinki", currency: ["EUR"], languages: ["fi", "sv"] }, FJ: { name: "Fiji", native: "Fiji", phone: [679], continent: "OC", capital: "Suva", currency: ["FJD"], languages: ["en", "fj", "hi", "ur"] }, FK: { name: "Falkland Islands", native: "Falkland Islands", phone: [500], continent: "SA", capital: "Stanley", currency: ["FKP"], languages: ["en"] }, FM: { name: "Micronesia", native: "Micronesia", phone: [691], continent: "OC", capital: "Palikir", currency: ["USD"], languages: ["en"] }, FO: { name: "Faroe Islands", native: "Føroyar", phone: [298], continent: "EU", capital: "Tórshavn", currency: ["DKK"], languages: ["fo"] }, FR: { name: "France", native: "France", phone: [33], continent: "EU", capital: "Paris", currency: ["EUR"], languages: ["fr"] }, GA: { name: "Gabon", native: "Gabon", phone: [241], continent: "AF", capital: "Libreville", currency: ["XAF"], languages: ["fr"] }, GB: { name: "United Kingdom", native: "United Kingdom", phone: [44], continent: "EU", capital: "London", currency: ["GBP"], languages: ["en"] }, GD: { name: "Grenada", native: "Grenada", phone: [1473], continent: "NA", capital: "St. George's", currency: ["XCD"], languages: ["en"] }, GE: { name: "Georgia", native: "საქართველო", phone: [995], continent: "AS", continents: ["AS", "EU"], capital: "Tbilisi", currency: ["GEL"], languages: ["ka"] }, GF: { name: "French Guiana", native: "Guyane française", phone: [594], continent: "SA", capital: "Cayenne", currency: ["EUR"], languages: ["fr"] }, GG: { name: "Guernsey", native: "Guernsey", phone: [44], continent: "EU", capital: "St. Peter Port", currency: ["GBP"], languages: ["en", "fr"] }, GH: { name: "Ghana", native: "Ghana", phone: [233], continent: "AF", capital: "Accra", currency: ["GHS"], languages: ["en"] }, GI: { name: "Gibraltar", native: "Gibraltar", phone: [350], continent: "EU", capital: "Gibraltar", currency: ["GIP"], languages: ["en"] }, GL: { name: "Greenland", native: "Kalaallit Nunaat", phone: [299], continent: "NA", capital: "Nuuk", currency: ["DKK"], languages: ["kl"] }, GM: { name: "Gambia", native: "Gambia", phone: [220], continent: "AF", capital: "Banjul", currency: ["GMD"], languages: ["en"] }, GN: { name: "Guinea", native: "Guinée", phone: [224], continent: "AF", capital: "Conakry", currency: ["GNF"], languages: ["fr", "ff"] }, GP: { name: "Guadeloupe", native: "Guadeloupe", phone: [590], continent: "NA", capital: "Basse-Terre", currency: ["EUR"], languages: ["fr"] }, GQ: { name: "Equatorial Guinea", native: "Guinea Ecuatorial", phone: [240], continent: "AF", capital: "Malabo", currency: ["XAF"], languages: ["es", "fr"] }, GR: { name: "Greece", native: "Ελλάδα", phone: [30], continent: "EU", capital: "Athens", currency: ["EUR"], languages: ["el"] }, GS: { name: "South Georgia and the South Sandwich Islands", native: "South Georgia", phone: [500], continent: "AN", capital: "King Edward Point", currency: ["GBP"], languages: ["en"] }, GT: { name: "Guatemala", native: "Guatemala", phone: [502], continent: "NA", capital: "Guatemala City", currency: ["GTQ"], languages: ["es"] }, GU: { name: "Guam", native: "Guam", phone: [1671], continent: "OC", capital: "Hagåtña", currency: ["USD"], languages: ["en", "ch", "es"] }, GW: { name: "Guinea-Bissau", native: "Guiné-Bissau", phone: [245], continent: "AF", capital: "Bissau", currency: ["XOF"], languages: ["pt"] }, GY: { name: "Guyana", native: "Guyana", phone: [592], continent: "SA", capital: "Georgetown", currency: ["GYD"], languages: ["en"] }, HK: { name: "Hong Kong", native: "香港", phone: [852], continent: "AS", capital: "City of Victoria", currency: ["HKD"], languages: ["zh", "en"] }, HM: { name: "Heard Island and McDonald Islands", native: "Heard Island and McDonald Islands", phone: [61], continent: "AN", capital: "", currency: ["AUD"], languages: ["en"] }, HN: { name: "Honduras", native: "Honduras", phone: [504], continent: "NA", capital: "Tegucigalpa", currency: ["HNL"], languages: ["es"] }, HR: { name: "Croatia", native: "Hrvatska", phone: [385], continent: "EU", capital: "Zagreb", currency: ["EUR"], languages: ["hr"] }, HT: { name: "Haiti", native: "Haïti", phone: [509], continent: "NA", capital: "Port-au-Prince", currency: ["HTG", "USD"], languages: ["fr", "ht"] }, HU: { name: "Hungary", native: "Magyarország", phone: [36], continent: "EU", capital: "Budapest", currency: ["HUF"], languages: ["hu"] }, ID: { name: "Indonesia", native: "Indonesia", phone: [62], continent: "AS", capital: "Jakarta", currency: ["IDR"], languages: ["id"] }, IE: { name: "Ireland", native: "Éire", phone: [353], continent: "EU", capital: "Dublin", currency: ["EUR"], languages: ["ga", "en"] }, IL: { name: "Israel", native: "יִשְׂרָאֵל", phone: [972], continent: "AS", capital: "Jerusalem", currency: ["ILS"], languages: ["he", "ar"] }, IM: { name: "Isle of Man", native: "Isle of Man", phone: [44], continent: "EU", capital: "Douglas", currency: ["GBP"], languages: ["en", "gv"] }, IN: { name: "India", native: "भारत", phone: [91], continent: "AS", capital: "New Delhi", currency: ["INR"], languages: ["hi", "en"] }, IO: { name: "British Indian Ocean Territory", native: "British Indian Ocean Territory", phone: [246], continent: "AS", capital: "Diego Garcia", currency: ["USD"], languages: ["en"] }, IQ: { name: "Iraq", native: "العراق", phone: [964], continent: "AS", capital: "Baghdad", currency: ["IQD"], languages: ["ar", "ku"] }, IR: { name: "Iran", native: "ایران", phone: [98], continent: "AS", capital: "Tehran", currency: ["IRR"], languages: ["fa"] }, IS: { name: "Iceland", native: "Ísland", phone: [354], continent: "EU", capital: "Reykjavik", currency: ["ISK"], languages: ["is"] }, IT: { name: "Italy", native: "Italia", phone: [39], continent: "EU", capital: "Rome", currency: ["EUR"], languages: ["it"] }, JE: { name: "Jersey", native: "Jersey", phone: [44], continent: "EU", capital: "Saint Helier", currency: ["GBP"], languages: ["en", "fr"] }, JM: { name: "Jamaica", native: "Jamaica", phone: [1876], continent: "NA", capital: "Kingston", currency: ["JMD"], languages: ["en"] }, JO: { name: "Jordan", native: "الأردن", phone: [962], continent: "AS", capital: "Amman", currency: ["JOD"], languages: ["ar"] }, JP: { name: "Japan", native: "日本", phone: [81], continent: "AS", capital: "Tokyo", currency: ["JPY"], languages: ["ja"] }, KE: { name: "Kenya", native: "Kenya", phone: [254], continent: "AF", capital: "Nairobi", currency: ["KES"], languages: ["en", "sw"] }, KG: { name: "Kyrgyzstan", native: "Кыргызстан", phone: [996], continent: "AS", capital: "Bishkek", currency: ["KGS"], languages: ["ky", "ru"] }, KH: { name: "Cambodia", native: "Kâmpŭchéa", phone: [855], continent: "AS", capital: "Phnom Penh", currency: ["KHR"], languages: ["km"] }, KI: { name: "Kiribati", native: "Kiribati", phone: [686], continent: "OC", capital: "South Tarawa", currency: ["AUD"], languages: ["en"] }, KM: { name: "Comoros", native: "Komori", phone: [269], continent: "AF", capital: "Moroni", currency: ["KMF"], languages: ["ar", "fr"] }, KN: { name: "Saint Kitts and Nevis", native: "Saint Kitts and Nevis", phone: [1869], continent: "NA", capital: "Basseterre", currency: ["XCD"], languages: ["en"] }, KP: { name: "North Korea", native: "북한", phone: [850], continent: "AS", capital: "Pyongyang", currency: ["KPW"], languages: ["ko"] }, KR: { name: "South Korea", native: "대한민국", phone: [82], continent: "AS", capital: "Seoul", currency: ["KRW"], languages: ["ko"] }, KW: { name: "Kuwait", native: "الكويت", phone: [965], continent: "AS", capital: "Kuwait City", currency: ["KWD"], languages: ["ar"] }, KY: { name: "Cayman Islands", native: "Cayman Islands", phone: [1345], continent: "NA", capital: "George Town", currency: ["KYD"], languages: ["en"] }, KZ: { name: "Kazakhstan", native: "Қазақстан", phone: [7], continent: "AS", continents: ["AS", "EU"], capital: "Astana", currency: ["KZT"], languages: ["kk", "ru"] }, LA: { name: "Laos", native: "ສປປລາວ", phone: [856], continent: "AS", capital: "Vientiane", currency: ["LAK"], languages: ["lo"] }, LB: { name: "Lebanon", native: "لبنان", phone: [961], continent: "AS", capital: "Beirut", currency: ["LBP"], languages: ["ar", "fr"] }, LC: { name: "Saint Lucia", native: "Saint Lucia", phone: [1758], continent: "NA", capital: "Castries", currency: ["XCD"], languages: ["en"] }, LI: { name: "Liechtenstein", native: "Liechtenstein", phone: [423], continent: "EU", capital: "Vaduz", currency: ["CHF"], languages: ["de"] }, LK: { name: "Sri Lanka", native: "śrī laṃkāva", phone: [94], continent: "AS", capital: "Colombo", currency: ["LKR"], languages: ["si", "ta"] }, LR: { name: "Liberia", native: "Liberia", phone: [231], continent: "AF", capital: "Monrovia", currency: ["LRD"], languages: ["en"] }, LS: { name: "Lesotho", native: "Lesotho", phone: [266], continent: "AF", capital: "Maseru", currency: ["LSL", "ZAR"], languages: ["en", "st"] }, LT: { name: "Lithuania", native: "Lietuva", phone: [370], continent: "EU", capital: "Vilnius", currency: ["EUR"], languages: ["lt"] }, LU: { name: "Luxembourg", native: "Luxembourg", phone: [352], continent: "EU", capital: "Luxembourg", currency: ["EUR"], languages: ["fr", "de", "lb"] }, LV: { name: "Latvia", native: "Latvija", phone: [371], continent: "EU", capital: "Riga", currency: ["EUR"], languages: ["lv"] }, LY: { name: "Libya", native: "ليبيا", phone: [218], continent: "AF", capital: "Tripoli", currency: ["LYD"], languages: ["ar"] }, MA: { name: "Morocco", native: "المغرب", phone: [212], continent: "AF", capital: "Rabat", currency: ["MAD"], languages: ["ar"] }, MC: { name: "Monaco", native: "Monaco", phone: [377], continent: "EU", capital: "Monaco", currency: ["EUR"], languages: ["fr"] }, MD: { name: "Moldova", native: "Moldova", phone: [373], continent: "EU", capital: "Chișinău", currency: ["MDL"], languages: ["ro"] }, ME: { name: "Montenegro", native: "Црна Гора", phone: [382], continent: "EU", capital: "Podgorica", currency: ["EUR"], languages: ["sr", "bs", "sq", "hr"] }, MF: { name: "Saint Martin", native: "Saint-Martin", phone: [590], continent: "NA", capital: "Marigot", currency: ["EUR"], languages: ["en", "fr", "nl"] }, MG: { name: "Madagascar", native: "Madagasikara", phone: [261], continent: "AF", capital: "Antananarivo", currency: ["MGA"], languages: ["fr", "mg"] }, MH: { name: "Marshall Islands", native: "M̧ajeļ", phone: [692], continent: "OC", capital: "Majuro", currency: ["USD"], languages: ["en", "mh"] }, MK: { name: "North Macedonia", native: "Северна Македонија", phone: [389], continent: "EU", capital: "Skopje", currency: ["MKD"], languages: ["mk"] }, ML: { name: "Mali", native: "Mali", phone: [223], continent: "AF", capital: "Bamako", currency: ["XOF"], languages: ["fr"] }, MM: { name: "Myanmar (Burma)", native: "မြန်မာ", phone: [95], continent: "AS", capital: "Naypyidaw", currency: ["MMK"], languages: ["my"] }, MN: { name: "Mongolia", native: "Монгол улс", phone: [976], continent: "AS", capital: "Ulan Bator", currency: ["MNT"], languages: ["mn"] }, MO: { name: "Macao", native: "澳門", phone: [853], continent: "AS", capital: "", currency: ["MOP"], languages: ["zh", "pt"] }, MP: { name: "Northern Mariana Islands", native: "Northern Mariana Islands", phone: [1670], continent: "OC", capital: "Saipan", currency: ["USD"], languages: ["en", "ch"] }, MQ: { name: "Martinique", native: "Martinique", phone: [596], continent: "NA", capital: "Fort-de-France", currency: ["EUR"], languages: ["fr"] }, MR: { name: "Mauritania", native: "موريتانيا", phone: [222], continent: "AF", capital: "Nouakchott", currency: ["MRU"], languages: ["ar"] }, MS: { name: "Montserrat", native: "Montserrat", phone: [1664], continent: "NA", capital: "Plymouth", currency: ["XCD"], languages: ["en"] }, MT: { name: "Malta", native: "Malta", phone: [356], continent: "EU", capital: "Valletta", currency: ["EUR"], languages: ["mt", "en"] }, MU: { name: "Mauritius", native: "Maurice", phone: [230], continent: "AF", capital: "Port Louis", currency: ["MUR"], languages: ["en"] }, MV: { name: "Maldives", native: "Maldives", phone: [960], continent: "AS", capital: "Malé", currency: ["MVR"], languages: ["dv"] }, MW: { name: "Malawi", native: "Malawi", phone: [265], continent: "AF", capital: "Lilongwe", currency: ["MWK"], languages: ["en", "ny"] }, MX: { name: "Mexico", native: "México", phone: [52], continent: "NA", capital: "Mexico City", currency: ["MXN"], languages: ["es"] }, MY: { name: "Malaysia", native: "Malaysia", phone: [60], continent: "AS", capital: "Kuala Lumpur", currency: ["MYR"], languages: ["ms"] }, MZ: { name: "Mozambique", native: "Moçambique", phone: [258], continent: "AF", capital: "Maputo", currency: ["MZN"], languages: ["pt"] }, NA: { name: "Namibia", native: "Namibia", phone: [264], continent: "AF", capital: "Windhoek", currency: ["NAD", "ZAR"], languages: ["en", "af"] }, NC: { name: "New Caledonia", native: "Nouvelle-Calédonie", phone: [687], continent: "OC", capital: "Nouméa", currency: ["XPF"], languages: ["fr"] }, NE: { name: "Niger", native: "Niger", phone: [227], continent: "AF", capital: "Niamey", currency: ["XOF"], languages: ["fr"] }, NF: { name: "Norfolk Island", native: "Norfolk Island", phone: [672], continent: "OC", capital: "Kingston", currency: ["AUD"], languages: ["en"] }, NG: { name: "Nigeria", native: "Nigeria", phone: [234], continent: "AF", capital: "Abuja", currency: ["NGN"], languages: ["en"] }, NI: { name: "Nicaragua", native: "Nicaragua", phone: [505], continent: "NA", capital: "Managua", currency: ["NIO"], languages: ["es"] }, NL: { name: "Netherlands", native: "Nederland", phone: [31], continent: "EU", capital: "Amsterdam", currency: ["EUR"], languages: ["nl"] }, NO: { name: "Norway", native: "Norge", phone: [47], continent: "EU", capital: "Oslo", currency: ["NOK"], languages: ["no", "nb", "nn"] }, NP: { name: "Nepal", native: "नेपाल", phone: [977], continent: "AS", capital: "Kathmandu", currency: ["NPR"], languages: ["ne"] }, NR: { name: "Nauru", native: "Nauru", phone: [674], continent: "OC", capital: "Yaren", currency: ["AUD"], languages: ["en", "na"] }, NU: { name: "Niue", native: "Niuē", phone: [683], continent: "OC", capital: "Alofi", currency: ["NZD"], languages: ["en"] }, NZ: { name: "New Zealand", native: "New Zealand", phone: [64], continent: "OC", capital: "Wellington", currency: ["NZD"], languages: ["en", "mi"] }, OM: { name: "Oman", native: "عمان", phone: [968], continent: "AS", capital: "Muscat", currency: ["OMR"], languages: ["ar"] }, PA: { name: "Panama", native: "Panamá", phone: [507], continent: "NA", capital: "Panama City", currency: ["PAB", "USD"], languages: ["es"] }, PE: { name: "Peru", native: "Perú", phone: [51], continent: "SA", capital: "Lima", currency: ["PEN"], languages: ["es"] }, PF: { name: "French Polynesia", native: "Polynésie française", phone: [689], continent: "OC", capital: "Papeetē", currency: ["XPF"], languages: ["fr"] }, PG: { name: "Papua New Guinea", native: "Papua Niugini", phone: [675], continent: "OC", capital: "Port Moresby", currency: ["PGK"], languages: ["en"] }, PH: { name: "Philippines", native: "Pilipinas", phone: [63], continent: "AS", capital: "Manila", currency: ["PHP"], languages: ["en"] }, PK: { name: "Pakistan", native: "Pakistan", phone: [92], continent: "AS", capital: "Islamabad", currency: ["PKR"], languages: ["en", "ur"] }, PL: { name: "Poland", native: "Polska", phone: [48], continent: "EU", capital: "Warsaw", currency: ["PLN"], languages: ["pl"] }, PM: { name: "Saint Pierre and Miquelon", native: "Saint-Pierre-et-Miquelon", phone: [508], continent: "NA", capital: "Saint-Pierre", currency: ["EUR"], languages: ["fr"] }, PN: { name: "Pitcairn Islands", native: "Pitcairn Islands", phone: [64], continent: "OC", capital: "Adamstown", currency: ["NZD"], languages: ["en"] }, PR: { name: "Puerto Rico", native: "Puerto Rico", phone: [1787, 1939], continent: "NA", capital: "San Juan", currency: ["USD"], languages: ["es", "en"] }, PS: { name: "Palestine", native: "فلسطين", phone: [970], continent: "AS", capital: "Ramallah", currency: ["ILS"], languages: ["ar"] }, PT: { name: "Portugal", native: "Portugal", phone: [351], continent: "EU", capital: "Lisbon", currency: ["EUR"], languages: ["pt"] }, PW: { name: "Palau", native: "Palau", phone: [680], continent: "OC", capital: "Ngerulmud", currency: ["USD"], languages: ["en"] }, PY: { name: "Paraguay", native: "Paraguay", phone: [595], continent: "SA", capital: "Asunción", currency: ["PYG"], languages: ["es", "gn"] }, QA: { name: "Qatar", native: "قطر", phone: [974], continent: "AS", capital: "Doha", currency: ["QAR"], languages: ["ar"] }, RE: { name: "Reunion", native: "La Réunion", phone: [262], continent: "AF", capital: "Saint-Denis", currency: ["EUR"], languages: ["fr"] }, RO: { name: "Romania", native: "România", phone: [40], continent: "EU", capital: "Bucharest", currency: ["RON"], languages: ["ro"] }, RS: { name: "Serbia", native: "Србија", phone: [381], continent: "EU", capital: "Belgrade", currency: ["RSD"], languages: ["sr"] }, RU: { name: "Russia", native: "Россия", phone: [7], continent: "AS", continents: ["AS", "EU"], capital: "Moscow", currency: ["RUB"], languages: ["ru"] }, RW: { name: "Rwanda", native: "Rwanda", phone: [250], continent: "AF", capital: "Kigali", currency: ["RWF"], languages: ["rw", "en", "fr"] }, SA: { name: "Saudi Arabia", native: "العربية السعودية", phone: [966], continent: "AS", capital: "Riyadh", currency: ["SAR"], languages: ["ar"] }, SB: { name: "Solomon Islands", native: "Solomon Islands", phone: [677], continent: "OC", capital: "Honiara", currency: ["SBD"], languages: ["en"] }, SC: { name: "Seychelles", native: "Seychelles", phone: [248], continent: "AF", capital: "Victoria", currency: ["SCR"], languages: ["fr", "en"] }, SD: { name: "Sudan", native: "السودان", phone: [249], continent: "AF", capital: "Khartoum", currency: ["SDG"], languages: ["ar", "en"] }, SE: { name: "Sweden", native: "Sverige", phone: [46], continent: "EU", capital: "Stockholm", currency: ["SEK"], languages: ["sv"] }, SG: { name: "Singapore", native: "Singapore", phone: [65], continent: "AS", capital: "Singapore", currency: ["SGD"], languages: ["en", "ms", "ta", "zh"] }, SH: { name: "Saint Helena", native: "Saint Helena", phone: [290], continent: "AF", capital: "Jamestown", currency: ["SHP"], languages: ["en"] }, SI: { name: "Slovenia", native: "Slovenija", phone: [386], continent: "EU", capital: "Ljubljana", currency: ["EUR"], languages: ["sl"] }, SJ: { name: "Svalbard and Jan Mayen", native: "Svalbard og Jan Mayen", phone: [4779], continent: "EU", capital: "Longyearbyen", currency: ["NOK"], languages: ["no"] }, SK: { name: "Slovakia", native: "Slovensko", phone: [421], continent: "EU", capital: "Bratislava", currency: ["EUR"], languages: ["sk"] }, SL: { name: "Sierra Leone", native: "Sierra Leone", phone: [232], continent: "AF", capital: "Freetown", currency: ["SLL"], languages: ["en"] }, SM: { name: "San Marino", native: "San Marino", phone: [378], continent: "EU", capital: "City of San Marino", currency: ["EUR"], languages: ["it"] }, SN: { name: "Senegal", native: "Sénégal", phone: [221], continent: "AF", capital: "Dakar", currency: ["XOF"], languages: ["fr"] }, SO: { name: "Somalia", native: "Soomaaliya", phone: [252], continent: "AF", capital: "Mogadishu", currency: ["SOS"], languages: ["so", "ar"] }, SR: { name: "Suriname", native: "Suriname", phone: [597], continent: "SA", capital: "Paramaribo", currency: ["SRD"], languages: ["nl"] }, SS: { name: "South Sudan", native: "South Sudan", phone: [211], continent: "AF", capital: "Juba", currency: ["SSP"], languages: ["en"] }, ST: { name: "Sao Tome and Principe", native: "São Tomé e Príncipe", phone: [239], continent: "AF", capital: "São Tomé", currency: ["STN"], languages: ["pt"] }, SV: { name: "El Salvador", native: "El Salvador", phone: [503], continent: "NA", capital: "San Salvador", currency: ["SVC", "USD"], languages: ["es"] }, SX: { name: "Sint Maarten", native: "Sint Maarten", phone: [1721], continent: "NA", capital: "Philipsburg", currency: ["ANG"], languages: ["nl", "en"] }, SY: { name: "Syria", native: "سوريا", phone: [963], continent: "AS", capital: "Damascus", currency: ["SYP"], languages: ["ar"] }, SZ: { name: "Eswatini", native: "Eswatini", phone: [268], continent: "AF", capital: "Lobamba", currency: ["SZL"], languages: ["en", "ss"] }, TC: { name: "Turks and Caicos Islands", native: "Turks and Caicos Islands", phone: [1649], continent: "NA", capital: "Cockburn Town", currency: ["USD"], languages: ["en"] }, TD: { name: "Chad", native: "Tchad", phone: [235], continent: "AF", capital: "N'Djamena", currency: ["XAF"], languages: ["fr", "ar"] }, TF: { name: "French Southern Territories", native: "Territoire des Terres australes et antarctiques fr", phone: [262], continent: "AN", capital: "Port-aux-Français", currency: ["EUR"], languages: ["fr"] }, TG: { name: "Togo", native: "Togo", phone: [228], continent: "AF", capital: "Lomé", currency: ["XOF"], languages: ["fr"] }, TH: { name: "Thailand", native: "ประเทศไทย", phone: [66], continent: "AS", capital: "Bangkok", currency: ["THB"], languages: ["th"] }, TJ: { name: "Tajikistan", native: "Тоҷикистон", phone: [992], continent: "AS", capital: "Dushanbe", currency: ["TJS"], languages: ["tg", "ru"] }, TK: { name: "Tokelau", native: "Tokelau", phone: [690], continent: "OC", capital: "Fakaofo", currency: ["NZD"], languages: ["en"] }, TL: { name: "East Timor", native: "Timor-Leste", phone: [670], continent: "OC", capital: "Dili", currency: ["USD"], languages: ["pt"] }, TM: { name: "Turkmenistan", native: "Türkmenistan", phone: [993], continent: "AS", capital: "Ashgabat", currency: ["TMT"], languages: ["tk", "ru"] }, TN: { name: "Tunisia", native: "تونس", phone: [216], continent: "AF", capital: "Tunis", currency: ["TND"], languages: ["ar"] }, TO: { name: "Tonga", native: "Tonga", phone: [676], continent: "OC", capital: "Nuku'alofa", currency: ["TOP"], languages: ["en", "to"] }, TR: { name: "Turkey", native: "Türkiye", phone: [90], continent: "AS", continents: ["AS", "EU"], capital: "Ankara", currency: ["TRY"], languages: ["tr"] }, TT: { name: "Trinidad and Tobago", native: "Trinidad and Tobago", phone: [1868], continent: "NA", capital: "Port of Spain", currency: ["TTD"], languages: ["en"] }, TV: { name: "Tuvalu", native: "Tuvalu", phone: [688], continent: "OC", capital: "Funafuti", currency: ["AUD"], languages: ["en"] }, TW: { name: "Taiwan", native: "臺灣", phone: [886], continent: "AS", capital: "Taipei", currency: ["TWD"], languages: ["zh"] }, TZ: { name: "Tanzania", native: "Tanzania", phone: [255], continent: "AF", capital: "Dodoma", currency: ["TZS"], languages: ["sw", "en"] }, UA: { name: "Ukraine", native: "Україна", phone: [380], continent: "EU", capital: "Kyiv", currency: ["UAH"], languages: ["uk"] }, UG: { name: "Uganda", native: "Uganda", phone: [256], continent: "AF", capital: "Kampala", currency: ["UGX"], languages: ["en", "sw"] }, UM: { name: "U.S. Minor Outlying Islands", native: "United States Minor Outlying Islands", phone: [1], continent: "OC", capital: "", currency: ["USD"], languages: ["en"] }, US: { name: "United States", native: "United States", phone: [1], continent: "NA", capital: "Washington D.C.", currency: ["USD", "USN", "USS"], languages: ["en"] }, UY: { name: "Uruguay", native: "Uruguay", phone: [598], continent: "SA", capital: "Montevideo", currency: ["UYI", "UYU"], languages: ["es"] }, UZ: { name: "Uzbekistan", native: "O'zbekiston", phone: [998], continent: "AS", capital: "Tashkent", currency: ["UZS"], languages: ["uz", "ru"] }, VA: { name: "Vatican City", native: "Vaticano", phone: [379], continent: "EU", capital: "Vatican City", currency: ["EUR"], languages: ["it", "la"] }, VC: { name: "Saint Vincent and the Grenadines", native: "Saint Vincent and the Grenadines", phone: [1784], continent: "NA", capital: "Kingstown", currency: ["XCD"], languages: ["en"] }, VE: { name: "Venezuela", native: "Venezuela", phone: [58], continent: "SA", capital: "Caracas", currency: ["VES"], languages: ["es"] }, VG: { name: "British Virgin Islands", native: "British Virgin Islands", phone: [1284], continent: "NA", capital: "Road Town", currency: ["USD"], languages: ["en"] }, VI: { name: "U.S. Virgin Islands", native: "United States Virgin Islands", phone: [1340], continent: "NA", capital: "Charlotte Amalie", currency: ["USD"], languages: ["en"] }, VN: { name: "Vietnam", native: "Việt Nam", phone: [84], continent: "AS", capital: "Hanoi", currency: ["VND"], languages: ["vi"] }, VU: { name: "Vanuatu", native: "Vanuatu", phone: [678], continent: "OC", capital: "Port Vila", currency: ["VUV"], languages: ["bi", "en", "fr"] }, WF: { name: "Wallis and Futuna", native: "Wallis et Futuna", phone: [681], continent: "OC", capital: "Mata-Utu", currency: ["XPF"], languages: ["fr"] }, WS: { name: "Samoa", native: "Samoa", phone: [685], continent: "OC", capital: "Apia", currency: ["WST"], languages: ["sm", "en"] }, XK: { name: "Kosovo", native: "Republika e Kosovës", phone: [377, 381, 383, 386], continent: "EU", capital: "Pristina", currency: ["EUR"], languages: ["sq", "sr"], userAssigned: !0 }, YE: { name: "Yemen", native: "اليَمَن", phone: [967], continent: "AS", capital: "Sana'a", currency: ["YER"], languages: ["ar"] }, YT: { name: "Mayotte", native: "Mayotte", phone: [262], continent: "AF", capital: "Mamoudzou", currency: ["EUR"], languages: ["fr"] }, ZA: { name: "South Africa", native: "South Africa", phone: [27], continent: "AF", capital: "Pretoria", currency: ["ZAR"], languages: ["af", "en", "nr", "st", "ss", "tn", "ts", "ve", "xh", "zu"] }, ZM: { name: "Zambia", native: "Zambia", phone: [260], continent: "AF", capital: "Lusaka", currency: ["ZMW"], languages: ["en"] }, ZW: { name: "Zimbabwe", native: "Zimbabwe", phone: [263], continent: "AF", capital: "Harare", currency: ["USD", "ZAR", "BWP", "GBP", "AUD", "CNY", "INR", "JPY"], languages: ["en", "sn", "nd"] } }, Kzt = { AD: "AND", AE: "ARE", AF: "AFG", AG: "ATG", AI: "AIA", AL: "ALB", AM: "ARM", AO: "AGO", AQ: "ATA", AR: "ARG", AS: "ASM", AT: "AUT", AU: "AUS", AW: "ABW", AX: "ALA", AZ: "AZE", BA: "BIH", BB: "BRB", BD: "BGD", BE: "BEL", BF: "BFA", BG: "BGR", BH: "BHR", BI: "BDI", BJ: "BEN", BL: "BLM", BM: "BMU", BN: "BRN", BO: "BOL", BQ: "BES", BR: "BRA", BS: "BHS", BT: "BTN", BV: "BVT", BW: "BWA", BY: "BLR", BZ: "BLZ", CA: "CAN", CC: "CCK", CD: "COD", CF: "CAF", CG: "COG", CH: "CHE", CI: "CIV", CK: "COK", CL: "CHL", CM: "CMR", CN: "CHN", CO: "COL", CR: "CRI", CU: "CUB", CV: "CPV", CW: "CUW", CX: "CXR", CY: "CYP", CZ: "CZE", DE: "DEU", DJ: "DJI", DK: "DNK", DM: "DMA", DO: "DOM", DZ: "DZA", EC: "ECU", EE: "EST", EG: "EGY", EH: "ESH", ER: "ERI", ES: "ESP", ET: "ETH", FI: "FIN", FJ: "FJI", FK: "FLK", FM: "FSM", FO: "FRO", FR: "FRA", GA: "GAB", GB: "GBR", GD: "GRD", GE: "GEO", GF: "GUF", GG: "GGY", GH: "GHA", GI: "GIB", GL: "GRL", GM: "GMB", GN: "GIN", GP: "GLP", GQ: "GNQ", GR: "GRC", GS: "SGS", GT: "GTM", GU: "GUM", GW: "GNB", GY: "GUY", HK: "HKG", HM: "HMD", HN: "HND", HR: "HRV", HT: "HTI", HU: "HUN", ID: "IDN", IE: "IRL", IL: "ISR", IM: "IMN", IN: "IND", IO: "IOT", IQ: "IRQ", IR: "IRN", IS: "ISL", IT: "ITA", JE: "JEY", JM: "JAM", JO: "JOR", JP: "JPN", KE: "KEN", KG: "KGZ", KH: "KHM", KI: "KIR", KM: "COM", KN: "KNA", KP: "PRK", KR: "KOR", KW: "KWT", KY: "CYM", KZ: "KAZ", LA: "LAO", LB: "LBN", LC: "LCA", LI: "LIE", LK: "LKA", LR: "LBR", LS: "LSO", LT: "LTU", LU: "LUX", LV: "LVA", LY: "LBY", MA: "MAR", MC: "MCO", MD: "MDA", ME: "MNE", MF: "MAF", MG: "MDG", MH: "MHL", MK: "MKD", ML: "MLI", MM: "MMR", MN: "MNG", MO: "MAC", MP: "MNP", MQ: "MTQ", MR: "MRT", MS: "MSR", MT: "MLT", MU: "MUS", MV: "MDV", MW: "MWI", MX: "MEX", MY: "MYS", MZ: "MOZ", NA: "NAM", NC: "NCL", NE: "NER", NF: "NFK", NG: "NGA", NI: "NIC", NL: "NLD", NO: "NOR", NP: "NPL", NR: "NRU", NU: "NIU", NZ: "NZL", OM: "OMN", PA: "PAN", PE: "PER", PF: "PYF", PG: "PNG", PH: "PHL", PK: "PAK", PL: "POL", PM: "SPM", PN: "PCN", PR: "PRI", PS: "PSE", PT: "PRT", PW: "PLW", PY: "PRY", QA: "QAT", RE: "REU", RO: "ROU", RS: "SRB", RU: "RUS", RW: "RWA", SA: "SAU", SB: "SLB", SC: "SYC", SD: "SDN", SE: "SWE", SG: "SGP", SH: "SHN", SI: "SVN", SJ: "SJM", SK: "SVK", SL: "SLE", SM: "SMR", SN: "SEN", SO: "SOM", SR: "SUR", SS: "SSD", ST: "STP", SV: "SLV", SX: "SXM", SY: "SYR", SZ: "SWZ", TC: "TCA", TD: "TCD", TF: "ATF", TG: "TGO", TH: "THA", TJ: "TJK", TK: "TKL", TL: "TLS", TM: "TKM", TN: "TUN", TO: "TON", TR: "TUR", TT: "TTO", TV: "TUV", TW: "TWN", TZ: "TZA", UA: "UKR", UG: "UGA", UM: "UMI", US: "USA", UY: "URY", UZ: "UZB", VA: "VAT", VC: "VCT", VE: "VEN", VG: "VGB", VI: "VIR", VN: "VNM", VU: "VUT", WF: "WLF", WS: "WSM", XK: "XKX", YE: "YEM", YT: "MYT", ZA: "ZAF", ZM: "ZMB", ZW: "ZWE" }, Yzt = (n) => ({ ...p6[n], iso2: n, iso3: Kzt[n] }), Xzt = () => Object.keys(p6).map((n) => Yzt(n));
|
|
140775
|
-
|
|
140781
|
+
var p6 = { AD: { name: "Andorra", native: "Andorra", phone: [376], continent: "EU", capital: "Andorra la Vella", currency: ["EUR"], languages: ["ca"] }, AE: { name: "United Arab Emirates", native: "دولة الإمارات العربية المتحدة", phone: [971], continent: "AS", capital: "Abu Dhabi", currency: ["AED"], languages: ["ar"] }, AF: { name: "Afghanistan", native: "افغانستان", phone: [93], continent: "AS", capital: "Kabul", currency: ["AFN"], languages: ["ps", "uz", "tk"] }, AG: { name: "Antigua and Barbuda", native: "Antigua and Barbuda", phone: [1268], continent: "NA", capital: "Saint John's", currency: ["XCD"], languages: ["en"] }, AI: { name: "Anguilla", native: "Anguilla", phone: [1264], continent: "NA", capital: "The Valley", currency: ["XCD"], languages: ["en"] }, AL: { name: "Albania", native: "Shqipëria", phone: [355], continent: "EU", capital: "Tirana", currency: ["ALL"], languages: ["sq"] }, AM: { name: "Armenia", native: "Հայաստան", phone: [374], continent: "AS", capital: "Yerevan", currency: ["AMD"], languages: ["hy", "ru"] }, AO: { name: "Angola", native: "Angola", phone: [244], continent: "AF", capital: "Luanda", currency: ["AOA"], languages: ["pt"] }, AQ: { name: "Antarctica", native: "Antarctica", phone: [672], continent: "AN", capital: "", currency: [], languages: [] }, AR: { name: "Argentina", native: "Argentina", phone: [54], continent: "SA", capital: "Buenos Aires", currency: ["ARS"], languages: ["es", "gn"] }, AS: { name: "American Samoa", native: "American Samoa", phone: [1684], continent: "OC", capital: "Pago Pago", currency: ["USD"], languages: ["en", "sm"] }, AT: { name: "Austria", native: "Österreich", phone: [43], continent: "EU", capital: "Vienna", currency: ["EUR"], languages: ["de"] }, AU: { name: "Australia", native: "Australia", phone: [61], continent: "OC", capital: "Canberra", currency: ["AUD"], languages: ["en"] }, AW: { name: "Aruba", native: "Aruba", phone: [297], continent: "NA", capital: "Oranjestad", currency: ["AWG"], languages: ["nl", "pa"] }, AX: { name: "Aland", native: "Åland", phone: [358], continent: "EU", capital: "Mariehamn", currency: ["EUR"], languages: ["sv"], partOf: "FI" }, AZ: { name: "Azerbaijan", native: "Azərbaycan", phone: [994], continent: "AS", continents: ["AS", "EU"], capital: "Baku", currency: ["AZN"], languages: ["az"] }, BA: { name: "Bosnia and Herzegovina", native: "Bosna i Hercegovina", phone: [387], continent: "EU", capital: "Sarajevo", currency: ["BAM"], languages: ["bs", "hr", "sr"] }, BB: { name: "Barbados", native: "Barbados", phone: [1246], continent: "NA", capital: "Bridgetown", currency: ["BBD"], languages: ["en"] }, BD: { name: "Bangladesh", native: "Bangladesh", phone: [880], continent: "AS", capital: "Dhaka", currency: ["BDT"], languages: ["bn"] }, BE: { name: "Belgium", native: "België", phone: [32], continent: "EU", capital: "Brussels", currency: ["EUR"], languages: ["nl", "fr", "de"] }, BF: { name: "Burkina Faso", native: "Burkina Faso", phone: [226], continent: "AF", capital: "Ouagadougou", currency: ["XOF"], languages: ["fr", "ff"] }, BG: { name: "Bulgaria", native: "България", phone: [359], continent: "EU", capital: "Sofia", currency: ["BGN"], languages: ["bg"] }, BH: { name: "Bahrain", native: "البحرين", phone: [973], continent: "AS", capital: "Manama", currency: ["BHD"], languages: ["ar"] }, BI: { name: "Burundi", native: "Burundi", phone: [257], continent: "AF", capital: "Bujumbura", currency: ["BIF"], languages: ["fr", "rn"] }, BJ: { name: "Benin", native: "Bénin", phone: [229], continent: "AF", capital: "Porto-Novo", currency: ["XOF"], languages: ["fr"] }, BL: { name: "Saint Barthelemy", native: "Saint-Barthélemy", phone: [590], continent: "NA", capital: "Gustavia", currency: ["EUR"], languages: ["fr"] }, BM: { name: "Bermuda", native: "Bermuda", phone: [1441], continent: "NA", capital: "Hamilton", currency: ["BMD"], languages: ["en"] }, BN: { name: "Brunei", native: "Negara Brunei Darussalam", phone: [673], continent: "AS", capital: "Bandar Seri Begawan", currency: ["BND"], languages: ["ms"] }, BO: { name: "Bolivia", native: "Bolivia", phone: [591], continent: "SA", capital: "Sucre", currency: ["BOB", "BOV"], languages: ["es", "ay", "qu"] }, BQ: { name: "Bonaire", native: "Bonaire", phone: [5997], continent: "NA", capital: "Kralendijk", currency: ["USD"], languages: ["nl"] }, BR: { name: "Brazil", native: "Brasil", phone: [55], continent: "SA", capital: "Brasília", currency: ["BRL"], languages: ["pt"] }, BS: { name: "Bahamas", native: "Bahamas", phone: [1242], continent: "NA", capital: "Nassau", currency: ["BSD"], languages: ["en"] }, BT: { name: "Bhutan", native: "ʼbrug-yul", phone: [975], continent: "AS", capital: "Thimphu", currency: ["BTN", "INR"], languages: ["dz"] }, BV: { name: "Bouvet Island", native: "Bouvetøya", phone: [47], continent: "AN", capital: "", currency: ["NOK"], languages: ["no", "nb", "nn"] }, BW: { name: "Botswana", native: "Botswana", phone: [267], continent: "AF", capital: "Gaborone", currency: ["BWP"], languages: ["en", "tn"] }, BY: { name: "Belarus", native: "Белару́сь", phone: [375], continent: "EU", capital: "Minsk", currency: ["BYN"], languages: ["be", "ru"] }, BZ: { name: "Belize", native: "Belize", phone: [501], continent: "NA", capital: "Belmopan", currency: ["BZD"], languages: ["en", "es"] }, CA: { name: "Canada", native: "Canada", phone: [1], continent: "NA", capital: "Ottawa", currency: ["CAD"], languages: ["en", "fr"] }, CC: { name: "Cocos (Keeling) Islands", native: "Cocos (Keeling) Islands", phone: [61], continent: "AS", capital: "West Island", currency: ["AUD"], languages: ["en"] }, CD: { name: "Democratic Republic of the Congo", native: "République démocratique du Congo", phone: [243], continent: "AF", capital: "Kinshasa", currency: ["CDF"], languages: ["fr", "ln", "kg", "sw", "lu"] }, CF: { name: "Central African Republic", native: "Ködörösêse tî Bêafrîka", phone: [236], continent: "AF", capital: "Bangui", currency: ["XAF"], languages: ["fr", "sg"] }, CG: { name: "Republic of the Congo", native: "République du Congo", phone: [242], continent: "AF", capital: "Brazzaville", currency: ["XAF"], languages: ["fr", "ln"] }, CH: { name: "Switzerland", native: "Schweiz", phone: [41], continent: "EU", capital: "Bern", currency: ["CHE", "CHF", "CHW"], languages: ["de", "fr", "it"] }, CI: { name: "Ivory Coast", native: "Côte d'Ivoire", phone: [225], continent: "AF", capital: "Yamoussoukro", currency: ["XOF"], languages: ["fr"] }, CK: { name: "Cook Islands", native: "Cook Islands", phone: [682], continent: "OC", capital: "Avarua", currency: ["NZD"], languages: ["en"] }, CL: { name: "Chile", native: "Chile", phone: [56], continent: "SA", capital: "Santiago", currency: ["CLF", "CLP"], languages: ["es"] }, CM: { name: "Cameroon", native: "Cameroon", phone: [237], continent: "AF", capital: "Yaoundé", currency: ["XAF"], languages: ["en", "fr"] }, CN: { name: "China", native: "中国", phone: [86], continent: "AS", capital: "Beijing", currency: ["CNY"], languages: ["zh"] }, CO: { name: "Colombia", native: "Colombia", phone: [57], continent: "SA", capital: "Bogotá", currency: ["COP"], languages: ["es"] }, CR: { name: "Costa Rica", native: "Costa Rica", phone: [506], continent: "NA", capital: "San José", currency: ["CRC"], languages: ["es"] }, CU: { name: "Cuba", native: "Cuba", phone: [53], continent: "NA", capital: "Havana", currency: ["CUC", "CUP"], languages: ["es"] }, CV: { name: "Cape Verde", native: "Cabo Verde", phone: [238], continent: "AF", capital: "Praia", currency: ["CVE"], languages: ["pt"] }, CW: { name: "Curacao", native: "Curaçao", phone: [5999], continent: "NA", capital: "Willemstad", currency: ["ANG"], languages: ["nl", "pa", "en"] }, CX: { name: "Christmas Island", native: "Christmas Island", phone: [61], continent: "AS", capital: "Flying Fish Cove", currency: ["AUD"], languages: ["en"] }, CY: { name: "Cyprus", native: "Κύπρος", phone: [357], continent: "EU", capital: "Nicosia", currency: ["EUR"], languages: ["el", "tr", "hy"] }, CZ: { name: "Czech Republic", native: "Česká republika", phone: [420], continent: "EU", capital: "Prague", currency: ["CZK"], languages: ["cs"] }, DE: { name: "Germany", native: "Deutschland", phone: [49], continent: "EU", capital: "Berlin", currency: ["EUR"], languages: ["de"] }, DJ: { name: "Djibouti", native: "Djibouti", phone: [253], continent: "AF", capital: "Djibouti", currency: ["DJF"], languages: ["fr", "ar"] }, DK: { name: "Denmark", native: "Danmark", phone: [45], continent: "EU", continents: ["EU", "NA"], capital: "Copenhagen", currency: ["DKK"], languages: ["da"] }, DM: { name: "Dominica", native: "Dominica", phone: [1767], continent: "NA", capital: "Roseau", currency: ["XCD"], languages: ["en"] }, DO: { name: "Dominican Republic", native: "República Dominicana", phone: [1809, 1829, 1849], continent: "NA", capital: "Santo Domingo", currency: ["DOP"], languages: ["es"] }, DZ: { name: "Algeria", native: "الجزائر", phone: [213], continent: "AF", capital: "Algiers", currency: ["DZD"], languages: ["ar"] }, EC: { name: "Ecuador", native: "Ecuador", phone: [593], continent: "SA", capital: "Quito", currency: ["USD"], languages: ["es"] }, EE: { name: "Estonia", native: "Eesti", phone: [372], continent: "EU", capital: "Tallinn", currency: ["EUR"], languages: ["et"] }, EG: { name: "Egypt", native: "مصر", phone: [20], continent: "AF", continents: ["AF", "AS"], capital: "Cairo", currency: ["EGP"], languages: ["ar"] }, EH: { name: "Western Sahara", native: "الصحراء الغربية", phone: [212], continent: "AF", capital: "El Aaiún", currency: ["MAD", "DZD", "MRU"], languages: ["es"] }, ER: { name: "Eritrea", native: "ኤርትራ", phone: [291], continent: "AF", capital: "Asmara", currency: ["ERN"], languages: ["ti", "ar", "en"] }, ES: { name: "Spain", native: "España", phone: [34], continent: "EU", capital: "Madrid", currency: ["EUR"], languages: ["es", "eu", "ca", "gl", "oc"] }, ET: { name: "Ethiopia", native: "ኢትዮጵያ", phone: [251], continent: "AF", capital: "Addis Ababa", currency: ["ETB"], languages: ["am"] }, FI: { name: "Finland", native: "Suomi", phone: [358], continent: "EU", capital: "Helsinki", currency: ["EUR"], languages: ["fi", "sv"] }, FJ: { name: "Fiji", native: "Fiji", phone: [679], continent: "OC", capital: "Suva", currency: ["FJD"], languages: ["en", "fj", "hi", "ur"] }, FK: { name: "Falkland Islands", native: "Falkland Islands", phone: [500], continent: "SA", capital: "Stanley", currency: ["FKP"], languages: ["en"] }, FM: { name: "Micronesia", native: "Micronesia", phone: [691], continent: "OC", capital: "Palikir", currency: ["USD"], languages: ["en"] }, FO: { name: "Faroe Islands", native: "Føroyar", phone: [298], continent: "EU", capital: "Tórshavn", currency: ["DKK"], languages: ["fo"] }, FR: { name: "France", native: "France", phone: [33], continent: "EU", capital: "Paris", currency: ["EUR"], languages: ["fr"] }, GA: { name: "Gabon", native: "Gabon", phone: [241], continent: "AF", capital: "Libreville", currency: ["XAF"], languages: ["fr"] }, GB: { name: "United Kingdom", native: "United Kingdom", phone: [44], continent: "EU", capital: "London", currency: ["GBP"], languages: ["en"] }, GD: { name: "Grenada", native: "Grenada", phone: [1473], continent: "NA", capital: "St. George's", currency: ["XCD"], languages: ["en"] }, GE: { name: "Georgia", native: "საქართველო", phone: [995], continent: "AS", continents: ["AS", "EU"], capital: "Tbilisi", currency: ["GEL"], languages: ["ka"] }, GF: { name: "French Guiana", native: "Guyane française", phone: [594], continent: "SA", capital: "Cayenne", currency: ["EUR"], languages: ["fr"] }, GG: { name: "Guernsey", native: "Guernsey", phone: [44], continent: "EU", capital: "St. Peter Port", currency: ["GBP"], languages: ["en", "fr"] }, GH: { name: "Ghana", native: "Ghana", phone: [233], continent: "AF", capital: "Accra", currency: ["GHS"], languages: ["en"] }, GI: { name: "Gibraltar", native: "Gibraltar", phone: [350], continent: "EU", capital: "Gibraltar", currency: ["GIP"], languages: ["en"] }, GL: { name: "Greenland", native: "Kalaallit Nunaat", phone: [299], continent: "NA", capital: "Nuuk", currency: ["DKK"], languages: ["kl"] }, GM: { name: "Gambia", native: "Gambia", phone: [220], continent: "AF", capital: "Banjul", currency: ["GMD"], languages: ["en"] }, GN: { name: "Guinea", native: "Guinée", phone: [224], continent: "AF", capital: "Conakry", currency: ["GNF"], languages: ["fr", "ff"] }, GP: { name: "Guadeloupe", native: "Guadeloupe", phone: [590], continent: "NA", capital: "Basse-Terre", currency: ["EUR"], languages: ["fr"] }, GQ: { name: "Equatorial Guinea", native: "Guinea Ecuatorial", phone: [240], continent: "AF", capital: "Malabo", currency: ["XAF"], languages: ["es", "fr"] }, GR: { name: "Greece", native: "Ελλάδα", phone: [30], continent: "EU", capital: "Athens", currency: ["EUR"], languages: ["el"] }, GS: { name: "South Georgia and the South Sandwich Islands", native: "South Georgia", phone: [500], continent: "AN", capital: "King Edward Point", currency: ["GBP"], languages: ["en"] }, GT: { name: "Guatemala", native: "Guatemala", phone: [502], continent: "NA", capital: "Guatemala City", currency: ["GTQ"], languages: ["es"] }, GU: { name: "Guam", native: "Guam", phone: [1671], continent: "OC", capital: "Hagåtña", currency: ["USD"], languages: ["en", "ch", "es"] }, GW: { name: "Guinea-Bissau", native: "Guiné-Bissau", phone: [245], continent: "AF", capital: "Bissau", currency: ["XOF"], languages: ["pt"] }, GY: { name: "Guyana", native: "Guyana", phone: [592], continent: "SA", capital: "Georgetown", currency: ["GYD"], languages: ["en"] }, HK: { name: "Hong Kong", native: "香港", phone: [852], continent: "AS", capital: "City of Victoria", currency: ["HKD"], languages: ["zh", "en"] }, HM: { name: "Heard Island and McDonald Islands", native: "Heard Island and McDonald Islands", phone: [61], continent: "AN", capital: "", currency: ["AUD"], languages: ["en"] }, HN: { name: "Honduras", native: "Honduras", phone: [504], continent: "NA", capital: "Tegucigalpa", currency: ["HNL"], languages: ["es"] }, HR: { name: "Croatia", native: "Hrvatska", phone: [385], continent: "EU", capital: "Zagreb", currency: ["EUR"], languages: ["hr"] }, HT: { name: "Haiti", native: "Haïti", phone: [509], continent: "NA", capital: "Port-au-Prince", currency: ["HTG", "USD"], languages: ["fr", "ht"] }, HU: { name: "Hungary", native: "Magyarország", phone: [36], continent: "EU", capital: "Budapest", currency: ["HUF"], languages: ["hu"] }, ID: { name: "Indonesia", native: "Indonesia", phone: [62], continent: "AS", capital: "Jakarta", currency: ["IDR"], languages: ["id"] }, IE: { name: "Ireland", native: "Éire", phone: [353], continent: "EU", capital: "Dublin", currency: ["EUR"], languages: ["ga", "en"] }, IL: { name: "Israel", native: "יִשְׂרָאֵל", phone: [972], continent: "AS", capital: "Jerusalem", currency: ["ILS"], languages: ["he", "ar"] }, IM: { name: "Isle of Man", native: "Isle of Man", phone: [44], continent: "EU", capital: "Douglas", currency: ["GBP"], languages: ["en", "gv"] }, IN: { name: "India", native: "भारत", phone: [91], continent: "AS", capital: "New Delhi", currency: ["INR"], languages: ["hi", "en"] }, IO: { name: "British Indian Ocean Territory", native: "British Indian Ocean Territory", phone: [246], continent: "AS", capital: "Diego Garcia", currency: ["USD"], languages: ["en"] }, IQ: { name: "Iraq", native: "العراق", phone: [964], continent: "AS", capital: "Baghdad", currency: ["IQD"], languages: ["ar", "ku"] }, IR: { name: "Iran", native: "ایران", phone: [98], continent: "AS", capital: "Tehran", currency: ["IRR"], languages: ["fa"] }, IS: { name: "Iceland", native: "Ísland", phone: [354], continent: "EU", capital: "Reykjavik", currency: ["ISK"], languages: ["is"] }, IT: { name: "Italy", native: "Italia", phone: [39], continent: "EU", capital: "Rome", currency: ["EUR"], languages: ["it"] }, JE: { name: "Jersey", native: "Jersey", phone: [44], continent: "EU", capital: "Saint Helier", currency: ["GBP"], languages: ["en", "fr"] }, JM: { name: "Jamaica", native: "Jamaica", phone: [1876], continent: "NA", capital: "Kingston", currency: ["JMD"], languages: ["en"] }, JO: { name: "Jordan", native: "الأردن", phone: [962], continent: "AS", capital: "Amman", currency: ["JOD"], languages: ["ar"] }, JP: { name: "Japan", native: "日本", phone: [81], continent: "AS", capital: "Tokyo", currency: ["JPY"], languages: ["ja"] }, KE: { name: "Kenya", native: "Kenya", phone: [254], continent: "AF", capital: "Nairobi", currency: ["KES"], languages: ["en", "sw"] }, KG: { name: "Kyrgyzstan", native: "Кыргызстан", phone: [996], continent: "AS", capital: "Bishkek", currency: ["KGS"], languages: ["ky", "ru"] }, KH: { name: "Cambodia", native: "Kâmpŭchéa", phone: [855], continent: "AS", capital: "Phnom Penh", currency: ["KHR"], languages: ["km"] }, KI: { name: "Kiribati", native: "Kiribati", phone: [686], continent: "OC", capital: "South Tarawa", currency: ["AUD"], languages: ["en"] }, KM: { name: "Comoros", native: "Komori", phone: [269], continent: "AF", capital: "Moroni", currency: ["KMF"], languages: ["ar", "fr"] }, KN: { name: "Saint Kitts and Nevis", native: "Saint Kitts and Nevis", phone: [1869], continent: "NA", capital: "Basseterre", currency: ["XCD"], languages: ["en"] }, KP: { name: "North Korea", native: "북한", phone: [850], continent: "AS", capital: "Pyongyang", currency: ["KPW"], languages: ["ko"] }, KR: { name: "South Korea", native: "대한민국", phone: [82], continent: "AS", capital: "Seoul", currency: ["KRW"], languages: ["ko"] }, KW: { name: "Kuwait", native: "الكويت", phone: [965], continent: "AS", capital: "Kuwait City", currency: ["KWD"], languages: ["ar"] }, KY: { name: "Cayman Islands", native: "Cayman Islands", phone: [1345], continent: "NA", capital: "George Town", currency: ["KYD"], languages: ["en"] }, KZ: { name: "Kazakhstan", native: "Қазақстан", phone: [7], continent: "AS", continents: ["AS", "EU"], capital: "Astana", currency: ["KZT"], languages: ["kk", "ru"] }, LA: { name: "Laos", native: "ສປປລາວ", phone: [856], continent: "AS", capital: "Vientiane", currency: ["LAK"], languages: ["lo"] }, LB: { name: "Lebanon", native: "لبنان", phone: [961], continent: "AS", capital: "Beirut", currency: ["LBP"], languages: ["ar", "fr"] }, LC: { name: "Saint Lucia", native: "Saint Lucia", phone: [1758], continent: "NA", capital: "Castries", currency: ["XCD"], languages: ["en"] }, LI: { name: "Liechtenstein", native: "Liechtenstein", phone: [423], continent: "EU", capital: "Vaduz", currency: ["CHF"], languages: ["de"] }, LK: { name: "Sri Lanka", native: "śrī laṃkāva", phone: [94], continent: "AS", capital: "Colombo", currency: ["LKR"], languages: ["si", "ta"] }, LR: { name: "Liberia", native: "Liberia", phone: [231], continent: "AF", capital: "Monrovia", currency: ["LRD"], languages: ["en"] }, LS: { name: "Lesotho", native: "Lesotho", phone: [266], continent: "AF", capital: "Maseru", currency: ["LSL", "ZAR"], languages: ["en", "st"] }, LT: { name: "Lithuania", native: "Lietuva", phone: [370], continent: "EU", capital: "Vilnius", currency: ["EUR"], languages: ["lt"] }, LU: { name: "Luxembourg", native: "Luxembourg", phone: [352], continent: "EU", capital: "Luxembourg", currency: ["EUR"], languages: ["fr", "de", "lb"] }, LV: { name: "Latvia", native: "Latvija", phone: [371], continent: "EU", capital: "Riga", currency: ["EUR"], languages: ["lv"] }, LY: { name: "Libya", native: "ليبيا", phone: [218], continent: "AF", capital: "Tripoli", currency: ["LYD"], languages: ["ar"] }, MA: { name: "Morocco", native: "المغرب", phone: [212], continent: "AF", capital: "Rabat", currency: ["MAD"], languages: ["ar"] }, MC: { name: "Monaco", native: "Monaco", phone: [377], continent: "EU", capital: "Monaco", currency: ["EUR"], languages: ["fr"] }, MD: { name: "Moldova", native: "Moldova", phone: [373], continent: "EU", capital: "Chișinău", currency: ["MDL"], languages: ["ro"] }, ME: { name: "Montenegro", native: "Црна Гора", phone: [382], continent: "EU", capital: "Podgorica", currency: ["EUR"], languages: ["sr", "bs", "sq", "hr"] }, MF: { name: "Saint Martin", native: "Saint-Martin", phone: [590], continent: "NA", capital: "Marigot", currency: ["EUR"], languages: ["en", "fr", "nl"] }, MG: { name: "Madagascar", native: "Madagasikara", phone: [261], continent: "AF", capital: "Antananarivo", currency: ["MGA"], languages: ["fr", "mg"] }, MH: { name: "Marshall Islands", native: "M̧ajeļ", phone: [692], continent: "OC", capital: "Majuro", currency: ["USD"], languages: ["en", "mh"] }, MK: { name: "North Macedonia", native: "Северна Македонија", phone: [389], continent: "EU", capital: "Skopje", currency: ["MKD"], languages: ["mk"] }, ML: { name: "Mali", native: "Mali", phone: [223], continent: "AF", capital: "Bamako", currency: ["XOF"], languages: ["fr"] }, MM: { name: "Myanmar (Burma)", native: "မြန်မာ", phone: [95], continent: "AS", capital: "Naypyidaw", currency: ["MMK"], languages: ["my"] }, MN: { name: "Mongolia", native: "Монгол улс", phone: [976], continent: "AS", capital: "Ulan Bator", currency: ["MNT"], languages: ["mn"] }, MO: { name: "Macao", native: "澳門", phone: [853], continent: "AS", capital: "", currency: ["MOP"], languages: ["zh", "pt"] }, MP: { name: "Northern Mariana Islands", native: "Northern Mariana Islands", phone: [1670], continent: "OC", capital: "Saipan", currency: ["USD"], languages: ["en", "ch"] }, MQ: { name: "Martinique", native: "Martinique", phone: [596], continent: "NA", capital: "Fort-de-France", currency: ["EUR"], languages: ["fr"] }, MR: { name: "Mauritania", native: "موريتانيا", phone: [222], continent: "AF", capital: "Nouakchott", currency: ["MRU"], languages: ["ar"] }, MS: { name: "Montserrat", native: "Montserrat", phone: [1664], continent: "NA", capital: "Plymouth", currency: ["XCD"], languages: ["en"] }, MT: { name: "Malta", native: "Malta", phone: [356], continent: "EU", capital: "Valletta", currency: ["EUR"], languages: ["mt", "en"] }, MU: { name: "Mauritius", native: "Maurice", phone: [230], continent: "AF", capital: "Port Louis", currency: ["MUR"], languages: ["en"] }, MV: { name: "Maldives", native: "Maldives", phone: [960], continent: "AS", capital: "Malé", currency: ["MVR"], languages: ["dv"] }, MW: { name: "Malawi", native: "Malawi", phone: [265], continent: "AF", capital: "Lilongwe", currency: ["MWK"], languages: ["en", "ny"] }, MX: { name: "Mexico", native: "México", phone: [52], continent: "NA", capital: "Mexico City", currency: ["MXN"], languages: ["es"] }, MY: { name: "Malaysia", native: "Malaysia", phone: [60], continent: "AS", capital: "Kuala Lumpur", currency: ["MYR"], languages: ["ms"] }, MZ: { name: "Mozambique", native: "Moçambique", phone: [258], continent: "AF", capital: "Maputo", currency: ["MZN"], languages: ["pt"] }, NA: { name: "Namibia", native: "Namibia", phone: [264], continent: "AF", capital: "Windhoek", currency: ["NAD", "ZAR"], languages: ["en", "af"] }, NC: { name: "New Caledonia", native: "Nouvelle-Calédonie", phone: [687], continent: "OC", capital: "Nouméa", currency: ["XPF"], languages: ["fr"] }, NE: { name: "Niger", native: "Niger", phone: [227], continent: "AF", capital: "Niamey", currency: ["XOF"], languages: ["fr"] }, NF: { name: "Norfolk Island", native: "Norfolk Island", phone: [672], continent: "OC", capital: "Kingston", currency: ["AUD"], languages: ["en"] }, NG: { name: "Nigeria", native: "Nigeria", phone: [234], continent: "AF", capital: "Abuja", currency: ["NGN"], languages: ["en"] }, NI: { name: "Nicaragua", native: "Nicaragua", phone: [505], continent: "NA", capital: "Managua", currency: ["NIO"], languages: ["es"] }, NL: { name: "Netherlands", native: "Nederland", phone: [31], continent: "EU", capital: "Amsterdam", currency: ["EUR"], languages: ["nl"] }, NO: { name: "Norway", native: "Norge", phone: [47], continent: "EU", capital: "Oslo", currency: ["NOK"], languages: ["no", "nb", "nn"] }, NP: { name: "Nepal", native: "नेपाल", phone: [977], continent: "AS", capital: "Kathmandu", currency: ["NPR"], languages: ["ne"] }, NR: { name: "Nauru", native: "Nauru", phone: [674], continent: "OC", capital: "Yaren", currency: ["AUD"], languages: ["en", "na"] }, NU: { name: "Niue", native: "Niuē", phone: [683], continent: "OC", capital: "Alofi", currency: ["NZD"], languages: ["en"] }, NZ: { name: "New Zealand", native: "New Zealand", phone: [64], continent: "OC", capital: "Wellington", currency: ["NZD"], languages: ["en", "mi"] }, OM: { name: "Oman", native: "عمان", phone: [968], continent: "AS", capital: "Muscat", currency: ["OMR"], languages: ["ar"] }, PA: { name: "Panama", native: "Panamá", phone: [507], continent: "NA", capital: "Panama City", currency: ["PAB", "USD"], languages: ["es"] }, PE: { name: "Peru", native: "Perú", phone: [51], continent: "SA", capital: "Lima", currency: ["PEN"], languages: ["es"] }, PF: { name: "French Polynesia", native: "Polynésie française", phone: [689], continent: "OC", capital: "Papeetē", currency: ["XPF"], languages: ["fr"] }, PG: { name: "Papua New Guinea", native: "Papua Niugini", phone: [675], continent: "OC", capital: "Port Moresby", currency: ["PGK"], languages: ["en"] }, PH: { name: "Philippines", native: "Pilipinas", phone: [63], continent: "AS", capital: "Manila", currency: ["PHP"], languages: ["en"] }, PK: { name: "Pakistan", native: "Pakistan", phone: [92], continent: "AS", capital: "Islamabad", currency: ["PKR"], languages: ["en", "ur"] }, PL: { name: "Poland", native: "Polska", phone: [48], continent: "EU", capital: "Warsaw", currency: ["PLN"], languages: ["pl"] }, PM: { name: "Saint Pierre and Miquelon", native: "Saint-Pierre-et-Miquelon", phone: [508], continent: "NA", capital: "Saint-Pierre", currency: ["EUR"], languages: ["fr"] }, PN: { name: "Pitcairn Islands", native: "Pitcairn Islands", phone: [64], continent: "OC", capital: "Adamstown", currency: ["NZD"], languages: ["en"] }, PR: { name: "Puerto Rico", native: "Puerto Rico", phone: [1787, 1939], continent: "NA", capital: "San Juan", currency: ["USD"], languages: ["es", "en"] }, PS: { name: "Palestine", native: "فلسطين", phone: [970], continent: "AS", capital: "Ramallah", currency: ["ILS"], languages: ["ar"] }, PT: { name: "Portugal", native: "Portugal", phone: [351], continent: "EU", capital: "Lisbon", currency: ["EUR"], languages: ["pt"] }, PW: { name: "Palau", native: "Palau", phone: [680], continent: "OC", capital: "Ngerulmud", currency: ["USD"], languages: ["en"] }, PY: { name: "Paraguay", native: "Paraguay", phone: [595], continent: "SA", capital: "Asunción", currency: ["PYG"], languages: ["es", "gn"] }, QA: { name: "Qatar", native: "قطر", phone: [974], continent: "AS", capital: "Doha", currency: ["QAR"], languages: ["ar"] }, RE: { name: "Reunion", native: "La Réunion", phone: [262], continent: "AF", capital: "Saint-Denis", currency: ["EUR"], languages: ["fr"] }, RO: { name: "Romania", native: "România", phone: [40], continent: "EU", capital: "Bucharest", currency: ["RON"], languages: ["ro"] }, RS: { name: "Serbia", native: "Србија", phone: [381], continent: "EU", capital: "Belgrade", currency: ["RSD"], languages: ["sr"] }, RU: { name: "Russia", native: "Россия", phone: [7], continent: "AS", continents: ["AS", "EU"], capital: "Moscow", currency: ["RUB"], languages: ["ru"] }, RW: { name: "Rwanda", native: "Rwanda", phone: [250], continent: "AF", capital: "Kigali", currency: ["RWF"], languages: ["rw", "en", "fr"] }, SA: { name: "Saudi Arabia", native: "العربية السعودية", phone: [966], continent: "AS", capital: "Riyadh", currency: ["SAR"], languages: ["ar"] }, SB: { name: "Solomon Islands", native: "Solomon Islands", phone: [677], continent: "OC", capital: "Honiara", currency: ["SBD"], languages: ["en"] }, SC: { name: "Seychelles", native: "Seychelles", phone: [248], continent: "AF", capital: "Victoria", currency: ["SCR"], languages: ["fr", "en"] }, SD: { name: "Sudan", native: "السودان", phone: [249], continent: "AF", capital: "Khartoum", currency: ["SDG"], languages: ["ar", "en"] }, SE: { name: "Sweden", native: "Sverige", phone: [46], continent: "EU", capital: "Stockholm", currency: ["SEK"], languages: ["sv"] }, SG: { name: "Singapore", native: "Singapore", phone: [65], continent: "AS", capital: "Singapore", currency: ["SGD"], languages: ["en", "ms", "ta", "zh"] }, SH: { name: "Saint Helena", native: "Saint Helena", phone: [290], continent: "AF", capital: "Jamestown", currency: ["SHP"], languages: ["en"] }, SI: { name: "Slovenia", native: "Slovenija", phone: [386], continent: "EU", capital: "Ljubljana", currency: ["EUR"], languages: ["sl"] }, SJ: { name: "Svalbard and Jan Mayen", native: "Svalbard og Jan Mayen", phone: [4779], continent: "EU", capital: "Longyearbyen", currency: ["NOK"], languages: ["no"] }, SK: { name: "Slovakia", native: "Slovensko", phone: [421], continent: "EU", capital: "Bratislava", currency: ["EUR"], languages: ["sk"] }, SL: { name: "Sierra Leone", native: "Sierra Leone", phone: [232], continent: "AF", capital: "Freetown", currency: ["SLL"], languages: ["en"] }, SM: { name: "San Marino", native: "San Marino", phone: [378], continent: "EU", capital: "City of San Marino", currency: ["EUR"], languages: ["it"] }, SN: { name: "Senegal", native: "Sénégal", phone: [221], continent: "AF", capital: "Dakar", currency: ["XOF"], languages: ["fr"] }, SO: { name: "Somalia", native: "Soomaaliya", phone: [252], continent: "AF", capital: "Mogadishu", currency: ["SOS"], languages: ["so", "ar"] }, SR: { name: "Suriname", native: "Suriname", phone: [597], continent: "SA", capital: "Paramaribo", currency: ["SRD"], languages: ["nl"] }, SS: { name: "South Sudan", native: "South Sudan", phone: [211], continent: "AF", capital: "Juba", currency: ["SSP"], languages: ["en"] }, ST: { name: "Sao Tome and Principe", native: "São Tomé e Príncipe", phone: [239], continent: "AF", capital: "São Tomé", currency: ["STN"], languages: ["pt"] }, SV: { name: "El Salvador", native: "El Salvador", phone: [503], continent: "NA", capital: "San Salvador", currency: ["SVC", "USD"], languages: ["es"] }, SX: { name: "Sint Maarten", native: "Sint Maarten", phone: [1721], continent: "NA", capital: "Philipsburg", currency: ["ANG"], languages: ["nl", "en"] }, SY: { name: "Syria", native: "سوريا", phone: [963], continent: "AS", capital: "Damascus", currency: ["SYP"], languages: ["ar"] }, SZ: { name: "Eswatini", native: "Eswatini", phone: [268], continent: "AF", capital: "Lobamba", currency: ["SZL"], languages: ["en", "ss"] }, TC: { name: "Turks and Caicos Islands", native: "Turks and Caicos Islands", phone: [1649], continent: "NA", capital: "Cockburn Town", currency: ["USD"], languages: ["en"] }, TD: { name: "Chad", native: "Tchad", phone: [235], continent: "AF", capital: "N'Djamena", currency: ["XAF"], languages: ["fr", "ar"] }, TF: { name: "French Southern Territories", native: "Territoire des Terres australes et antarctiques fr", phone: [262], continent: "AN", capital: "Port-aux-Français", currency: ["EUR"], languages: ["fr"] }, TG: { name: "Togo", native: "Togo", phone: [228], continent: "AF", capital: "Lomé", currency: ["XOF"], languages: ["fr"] }, TH: { name: "Thailand", native: "ประเทศไทย", phone: [66], continent: "AS", capital: "Bangkok", currency: ["THB"], languages: ["th"] }, TJ: { name: "Tajikistan", native: "Тоҷикистон", phone: [992], continent: "AS", capital: "Dushanbe", currency: ["TJS"], languages: ["tg", "ru"] }, TK: { name: "Tokelau", native: "Tokelau", phone: [690], continent: "OC", capital: "Fakaofo", currency: ["NZD"], languages: ["en"] }, TL: { name: "East Timor", native: "Timor-Leste", phone: [670], continent: "OC", capital: "Dili", currency: ["USD"], languages: ["pt"] }, TM: { name: "Turkmenistan", native: "Türkmenistan", phone: [993], continent: "AS", capital: "Ashgabat", currency: ["TMT"], languages: ["tk", "ru"] }, TN: { name: "Tunisia", native: "تونس", phone: [216], continent: "AF", capital: "Tunis", currency: ["TND"], languages: ["ar"] }, TO: { name: "Tonga", native: "Tonga", phone: [676], continent: "OC", capital: "Nuku'alofa", currency: ["TOP"], languages: ["en", "to"] }, TR: { name: "Turkey", native: "Türkiye", phone: [90], continent: "AS", continents: ["AS", "EU"], capital: "Ankara", currency: ["TRY"], languages: ["tr"] }, TT: { name: "Trinidad and Tobago", native: "Trinidad and Tobago", phone: [1868], continent: "NA", capital: "Port of Spain", currency: ["TTD"], languages: ["en"] }, TV: { name: "Tuvalu", native: "Tuvalu", phone: [688], continent: "OC", capital: "Funafuti", currency: ["AUD"], languages: ["en"] }, TW: { name: "Taiwan", native: "臺灣", phone: [886], continent: "AS", capital: "Taipei", currency: ["TWD"], languages: ["zh"] }, TZ: { name: "Tanzania", native: "Tanzania", phone: [255], continent: "AF", capital: "Dodoma", currency: ["TZS"], languages: ["sw", "en"] }, UA: { name: "Ukraine", native: "Україна", phone: [380], continent: "EU", capital: "Kyiv", currency: ["UAH"], languages: ["uk"] }, UG: { name: "Uganda", native: "Uganda", phone: [256], continent: "AF", capital: "Kampala", currency: ["UGX"], languages: ["en", "sw"] }, UM: { name: "U.S. Minor Outlying Islands", native: "United States Minor Outlying Islands", phone: [1], continent: "OC", capital: "", currency: ["USD"], languages: ["en"] }, US: { name: "United States", native: "United States", phone: [1], continent: "NA", capital: "Washington D.C.", currency: ["USD", "USN", "USS"], languages: ["en"] }, UY: { name: "Uruguay", native: "Uruguay", phone: [598], continent: "SA", capital: "Montevideo", currency: ["UYI", "UYU"], languages: ["es"] }, UZ: { name: "Uzbekistan", native: "O'zbekiston", phone: [998], continent: "AS", capital: "Tashkent", currency: ["UZS"], languages: ["uz", "ru"] }, VA: { name: "Vatican City", native: "Vaticano", phone: [379], continent: "EU", capital: "Vatican City", currency: ["EUR"], languages: ["it", "la"] }, VC: { name: "Saint Vincent and the Grenadines", native: "Saint Vincent and the Grenadines", phone: [1784], continent: "NA", capital: "Kingstown", currency: ["XCD"], languages: ["en"] }, VE: { name: "Venezuela", native: "Venezuela", phone: [58], continent: "SA", capital: "Caracas", currency: ["VES"], languages: ["es"] }, VG: { name: "British Virgin Islands", native: "British Virgin Islands", phone: [1284], continent: "NA", capital: "Road Town", currency: ["USD"], languages: ["en"] }, VI: { name: "U.S. Virgin Islands", native: "United States Virgin Islands", phone: [1340], continent: "NA", capital: "Charlotte Amalie", currency: ["USD"], languages: ["en"] }, VN: { name: "Vietnam", native: "Việt Nam", phone: [84], continent: "AS", capital: "Hanoi", currency: ["VND"], languages: ["vi"] }, VU: { name: "Vanuatu", native: "Vanuatu", phone: [678], continent: "OC", capital: "Port Vila", currency: ["VUV"], languages: ["bi", "en", "fr"] }, WF: { name: "Wallis and Futuna", native: "Wallis et Futuna", phone: [681], continent: "OC", capital: "Mata-Utu", currency: ["XPF"], languages: ["fr"] }, WS: { name: "Samoa", native: "Samoa", phone: [685], continent: "OC", capital: "Apia", currency: ["WST"], languages: ["sm", "en"] }, XK: { name: "Kosovo", native: "Republika e Kosovës", phone: [377, 381, 383, 386], continent: "EU", capital: "Pristina", currency: ["EUR"], languages: ["sq", "sr"], userAssigned: !0 }, YE: { name: "Yemen", native: "اليَمَن", phone: [967], continent: "AS", capital: "Sana'a", currency: ["YER"], languages: ["ar"] }, YT: { name: "Mayotte", native: "Mayotte", phone: [262], continent: "AF", capital: "Mamoudzou", currency: ["EUR"], languages: ["fr"] }, ZA: { name: "South Africa", native: "South Africa", phone: [27], continent: "AF", capital: "Pretoria", currency: ["ZAR"], languages: ["af", "en", "nr", "st", "ss", "tn", "ts", "ve", "xh", "zu"] }, ZM: { name: "Zambia", native: "Zambia", phone: [260], continent: "AF", capital: "Lusaka", currency: ["ZMW"], languages: ["en"] }, ZW: { name: "Zimbabwe", native: "Zimbabwe", phone: [263], continent: "AF", capital: "Harare", currency: ["USD", "ZAR", "BWP", "GBP", "AUD", "CNY", "INR", "JPY"], languages: ["en", "sn", "nd"] } }, Yzt = { AD: "AND", AE: "ARE", AF: "AFG", AG: "ATG", AI: "AIA", AL: "ALB", AM: "ARM", AO: "AGO", AQ: "ATA", AR: "ARG", AS: "ASM", AT: "AUT", AU: "AUS", AW: "ABW", AX: "ALA", AZ: "AZE", BA: "BIH", BB: "BRB", BD: "BGD", BE: "BEL", BF: "BFA", BG: "BGR", BH: "BHR", BI: "BDI", BJ: "BEN", BL: "BLM", BM: "BMU", BN: "BRN", BO: "BOL", BQ: "BES", BR: "BRA", BS: "BHS", BT: "BTN", BV: "BVT", BW: "BWA", BY: "BLR", BZ: "BLZ", CA: "CAN", CC: "CCK", CD: "COD", CF: "CAF", CG: "COG", CH: "CHE", CI: "CIV", CK: "COK", CL: "CHL", CM: "CMR", CN: "CHN", CO: "COL", CR: "CRI", CU: "CUB", CV: "CPV", CW: "CUW", CX: "CXR", CY: "CYP", CZ: "CZE", DE: "DEU", DJ: "DJI", DK: "DNK", DM: "DMA", DO: "DOM", DZ: "DZA", EC: "ECU", EE: "EST", EG: "EGY", EH: "ESH", ER: "ERI", ES: "ESP", ET: "ETH", FI: "FIN", FJ: "FJI", FK: "FLK", FM: "FSM", FO: "FRO", FR: "FRA", GA: "GAB", GB: "GBR", GD: "GRD", GE: "GEO", GF: "GUF", GG: "GGY", GH: "GHA", GI: "GIB", GL: "GRL", GM: "GMB", GN: "GIN", GP: "GLP", GQ: "GNQ", GR: "GRC", GS: "SGS", GT: "GTM", GU: "GUM", GW: "GNB", GY: "GUY", HK: "HKG", HM: "HMD", HN: "HND", HR: "HRV", HT: "HTI", HU: "HUN", ID: "IDN", IE: "IRL", IL: "ISR", IM: "IMN", IN: "IND", IO: "IOT", IQ: "IRQ", IR: "IRN", IS: "ISL", IT: "ITA", JE: "JEY", JM: "JAM", JO: "JOR", JP: "JPN", KE: "KEN", KG: "KGZ", KH: "KHM", KI: "KIR", KM: "COM", KN: "KNA", KP: "PRK", KR: "KOR", KW: "KWT", KY: "CYM", KZ: "KAZ", LA: "LAO", LB: "LBN", LC: "LCA", LI: "LIE", LK: "LKA", LR: "LBR", LS: "LSO", LT: "LTU", LU: "LUX", LV: "LVA", LY: "LBY", MA: "MAR", MC: "MCO", MD: "MDA", ME: "MNE", MF: "MAF", MG: "MDG", MH: "MHL", MK: "MKD", ML: "MLI", MM: "MMR", MN: "MNG", MO: "MAC", MP: "MNP", MQ: "MTQ", MR: "MRT", MS: "MSR", MT: "MLT", MU: "MUS", MV: "MDV", MW: "MWI", MX: "MEX", MY: "MYS", MZ: "MOZ", NA: "NAM", NC: "NCL", NE: "NER", NF: "NFK", NG: "NGA", NI: "NIC", NL: "NLD", NO: "NOR", NP: "NPL", NR: "NRU", NU: "NIU", NZ: "NZL", OM: "OMN", PA: "PAN", PE: "PER", PF: "PYF", PG: "PNG", PH: "PHL", PK: "PAK", PL: "POL", PM: "SPM", PN: "PCN", PR: "PRI", PS: "PSE", PT: "PRT", PW: "PLW", PY: "PRY", QA: "QAT", RE: "REU", RO: "ROU", RS: "SRB", RU: "RUS", RW: "RWA", SA: "SAU", SB: "SLB", SC: "SYC", SD: "SDN", SE: "SWE", SG: "SGP", SH: "SHN", SI: "SVN", SJ: "SJM", SK: "SVK", SL: "SLE", SM: "SMR", SN: "SEN", SO: "SOM", SR: "SUR", SS: "SSD", ST: "STP", SV: "SLV", SX: "SXM", SY: "SYR", SZ: "SWZ", TC: "TCA", TD: "TCD", TF: "ATF", TG: "TGO", TH: "THA", TJ: "TJK", TK: "TKL", TL: "TLS", TM: "TKM", TN: "TUN", TO: "TON", TR: "TUR", TT: "TTO", TV: "TUV", TW: "TWN", TZ: "TZA", UA: "UKR", UG: "UGA", UM: "UMI", US: "USA", UY: "URY", UZ: "UZB", VA: "VAT", VC: "VCT", VE: "VEN", VG: "VGB", VI: "VIR", VN: "VNM", VU: "VUT", WF: "WLF", WS: "WSM", XK: "XKX", YE: "YEM", YT: "MYT", ZA: "ZAF", ZM: "ZMB", ZW: "ZWE" }, Xzt = (n) => ({ ...p6[n], iso2: n, iso3: Yzt[n] }), Jzt = () => Object.keys(p6).map((n) => Xzt(n));
|
|
140782
|
+
Jzt();
|
|
140776
140783
|
var h6 = /* @__PURE__ */ ((n) => (n.Moderate = "moderate", n.None = "none", n.Reduced = "reduced", n.Strong = "strong", n))(h6 || {});
|
|
140777
|
-
const
|
|
140784
|
+
const Zzt = {
|
|
140778
140785
|
moderate: "Moderate",
|
|
140779
140786
|
none: "None",
|
|
140780
140787
|
reduced: "Reduced",
|
|
140781
140788
|
strong: "Strong"
|
|
140782
140789
|
};
|
|
140783
140790
|
var yG = /* @__PURE__ */ ((n) => (n.XSlow = "50%", n.Slow = "75%", n.Default = "100%", n.Fast = "150%", n.XFast = "200%", n))(yG || {});
|
|
140784
|
-
const
|
|
140791
|
+
const Qzt = {
|
|
140785
140792
|
"50%": "Extra Slow (0.5x)",
|
|
140786
140793
|
"75%": "Slow (0.75x)",
|
|
140787
140794
|
"100%": "Default",
|
|
@@ -140789,7 +140796,7 @@ const Zzt = {
|
|
|
140789
140796
|
"200%": "Extra Fast (2x)"
|
|
140790
140797
|
};
|
|
140791
140798
|
var bG = /* @__PURE__ */ ((n) => (n.XLow = "x-low", n.Low = "low", n.Default = "default", n.Medium = "medium", n.High = "high", n.XHigh = "x-high", n))(bG || {});
|
|
140792
|
-
const
|
|
140799
|
+
const e$t = {
|
|
140793
140800
|
"x-low": "Extra Low",
|
|
140794
140801
|
low: "Low",
|
|
140795
140802
|
default: "Default",
|
|
@@ -140798,7 +140805,7 @@ const Qzt = {
|
|
|
140798
140805
|
"x-high": "Extra High"
|
|
140799
140806
|
};
|
|
140800
140807
|
var wG = /* @__PURE__ */ ((n) => (n.Silent = "silent", n.XSoft = "x-soft", n.Soft = "soft", n.Default = "default", n.Medium = "medium", n.Loud = "loud", n.XLoud = "x-loud", n))(wG || {});
|
|
140801
|
-
const
|
|
140808
|
+
const t$t = {
|
|
140802
140809
|
silent: "Silent",
|
|
140803
140810
|
"x-soft": "Extra Soft",
|
|
140804
140811
|
soft: "Soft",
|
|
@@ -140808,7 +140815,7 @@ const e$t = {
|
|
|
140808
140815
|
"x-loud": "Extra Loud"
|
|
140809
140816
|
};
|
|
140810
140817
|
var sl = /* @__PURE__ */ ((n) => (n.Cardinal = "cardinal", n.Characters = "characters", n.Date = "date", n.Ordinal = "ordinal", n.Original = "original", n.Telephone = "telephone", n.Time = "time", n))(sl || {});
|
|
140811
|
-
const
|
|
140818
|
+
const n$t = {
|
|
140812
140819
|
cardinal: "Cardinal",
|
|
140813
140820
|
characters: "Characters",
|
|
140814
140821
|
date: "Date",
|
|
@@ -140818,7 +140825,7 @@ const t$t = {
|
|
|
140818
140825
|
time: "Time"
|
|
140819
140826
|
};
|
|
140820
140827
|
var xG = /* @__PURE__ */ ((n) => (n.D = "d", n.DM = "dm", n.DMY = "dmy", n.M = "m", n.MD = "md", n.MDY = "mdy", n.MY = "my", n.Y = "y", n.YM = "ym", n.YMD = "ymd", n))(xG || {});
|
|
140821
|
-
const
|
|
140828
|
+
const r$t = {
|
|
140822
140829
|
d: "Day (d)",
|
|
140823
140830
|
dm: "Day Month (dm)",
|
|
140824
140831
|
dmy: "Day Month Year (dmy)",
|
|
@@ -140831,60 +140838,60 @@ const n$t = {
|
|
|
140831
140838
|
ymd: "Year Month Day (ymd)"
|
|
140832
140839
|
};
|
|
140833
140840
|
var kG = /* @__PURE__ */ ((n) => (n.HMS12 = "hms12", n.HMS24 = "hms24", n))(kG || {});
|
|
140834
|
-
const
|
|
140841
|
+
const i$t = {
|
|
140835
140842
|
hms12: "12-hour (hms12)",
|
|
140836
140843
|
hms24: "24-hour (hms24)"
|
|
140837
140844
|
};
|
|
140838
140845
|
var _G = /* @__PURE__ */ ((n) => (n.Characters = "characters", n.Glyphs = "glyphs", n))(_G || {});
|
|
140839
|
-
const
|
|
140846
|
+
const o$t = {
|
|
140840
140847
|
characters: "Characters",
|
|
140841
140848
|
glyphs: "Glyphs"
|
|
140842
140849
|
};
|
|
140843
140850
|
var CG = /* @__PURE__ */ ((n) => (n.Comma = ",", n.Dot = ".", n))(CG || {});
|
|
140844
|
-
const
|
|
140851
|
+
const a$t = {
|
|
140845
140852
|
",": "Comma ,",
|
|
140846
140853
|
".": "Dot ."
|
|
140847
140854
|
};
|
|
140848
140855
|
var SG = /* @__PURE__ */ ((n) => (n.Comma = ",", n.Dot = ".", n.Space = " ", n.Underscore = "_", n))(SG || {});
|
|
140849
|
-
const
|
|
140856
|
+
const s$t = {
|
|
140850
140857
|
",": "Comma ,",
|
|
140851
140858
|
".": "Dot .",
|
|
140852
140859
|
" ": "Space",
|
|
140853
140860
|
_: "Underscore _"
|
|
140854
|
-
},
|
|
140855
|
-
name: Jzt[n],
|
|
140856
|
-
value: n
|
|
140857
|
-
})), c$t = Object.values(yG).map((n) => ({
|
|
140861
|
+
}, c$t = Object.values(h6).map((n) => ({
|
|
140858
140862
|
name: Zzt[n],
|
|
140859
140863
|
value: n
|
|
140860
|
-
})), l$t = Object.values(
|
|
140864
|
+
})), l$t = Object.values(yG).map((n) => ({
|
|
140861
140865
|
name: Qzt[n],
|
|
140862
140866
|
value: n
|
|
140863
|
-
})), d$t = Object.values(
|
|
140867
|
+
})), d$t = Object.values(bG).map((n) => ({
|
|
140864
140868
|
name: e$t[n],
|
|
140865
140869
|
value: n
|
|
140866
|
-
})), u$t = Object.values(
|
|
140870
|
+
})), u$t = Object.values(wG).map((n) => ({
|
|
140867
140871
|
name: t$t[n],
|
|
140868
140872
|
value: n
|
|
140869
|
-
})), p$t = Object.values(
|
|
140873
|
+
})), p$t = Object.values(sl).map((n) => ({
|
|
140870
140874
|
name: n$t[n],
|
|
140871
140875
|
value: n
|
|
140872
|
-
})), h$t = Object.values(
|
|
140876
|
+
})), h$t = Object.values(xG).map((n) => ({
|
|
140873
140877
|
name: r$t[n],
|
|
140874
140878
|
value: n
|
|
140875
|
-
})), g$t = Object.values(
|
|
140879
|
+
})), g$t = Object.values(kG).map((n) => ({
|
|
140880
|
+
name: i$t[n],
|
|
140881
|
+
value: n
|
|
140882
|
+
})), m$t = Object.values(_G).map(
|
|
140876
140883
|
(n) => ({
|
|
140877
|
-
name:
|
|
140884
|
+
name: o$t[n],
|
|
140878
140885
|
value: n
|
|
140879
140886
|
})
|
|
140880
|
-
),
|
|
140887
|
+
), f$t = Object.values(CG).map(
|
|
140881
140888
|
(n) => ({
|
|
140882
|
-
name:
|
|
140889
|
+
name: a$t[n],
|
|
140883
140890
|
value: n
|
|
140884
140891
|
})
|
|
140885
|
-
),
|
|
140892
|
+
), v$t = Object.values(SG).map(
|
|
140886
140893
|
(n) => ({
|
|
140887
|
-
name:
|
|
140894
|
+
name: s$t[n],
|
|
140888
140895
|
value: n
|
|
140889
140896
|
})
|
|
140890
140897
|
);
|
|
@@ -140914,7 +140921,7 @@ const Kr = {
|
|
|
140914
140921
|
volume: "dB",
|
|
140915
140922
|
rate: "%",
|
|
140916
140923
|
"pause-time": "ms"
|
|
140917
|
-
},
|
|
140924
|
+
}, y$t = (n, e, t) => n instanceof HTMLElement ? n.getAttribute(e) ?? t : t, b_ = ra.create({
|
|
140918
140925
|
addAttributes() {
|
|
140919
140926
|
return {
|
|
140920
140927
|
break: {
|
|
@@ -140945,7 +140952,7 @@ const Kr = {
|
|
|
140945
140952
|
return [
|
|
140946
140953
|
{
|
|
140947
140954
|
getAttrs: (n) => {
|
|
140948
|
-
const t =
|
|
140955
|
+
const t = y$t(n, "time", "default").split(/(\d+)/).filter(Boolean);
|
|
140949
140956
|
return {
|
|
140950
140957
|
break: t[0] ?? "",
|
|
140951
140958
|
unit: t[1] ?? "ms"
|
|
@@ -140968,7 +140975,7 @@ const Kr = {
|
|
|
140968
140975
|
},
|
|
140969
140976
|
selectable: !0
|
|
140970
140977
|
});
|
|
140971
|
-
class
|
|
140978
|
+
class b$t {
|
|
140972
140979
|
constructor({
|
|
140973
140980
|
editor: e,
|
|
140974
140981
|
element: t,
|
|
@@ -141051,9 +141058,9 @@ class y$t {
|
|
|
141051
141058
|
}), this.view.dom.removeEventListener("dragstart", this.dragstartHandler), this.editor.off("focus", this.focusHandler), this.editor.off("blur", this.blurHandler);
|
|
141052
141059
|
}
|
|
141053
141060
|
}
|
|
141054
|
-
const
|
|
141061
|
+
const w$t = (n) => new Rr({
|
|
141055
141062
|
key: typeof n.pluginKey == "string" ? new si(n.pluginKey) : n.pluginKey,
|
|
141056
|
-
view: (e) => new
|
|
141063
|
+
view: (e) => new b$t({ view: e, ...n })
|
|
141057
141064
|
}), _d = (n, e, t) => n instanceof HTMLElement && n.getAttribute(e) || t, Yb = sc.create({
|
|
141058
141065
|
addAttributes() {
|
|
141059
141066
|
return {
|
|
@@ -141211,42 +141218,37 @@ const b$t = (n) => new Rr({
|
|
|
141211
141218
|
},
|
|
141212
141219
|
name: "sayAs",
|
|
141213
141220
|
parseHTML() {
|
|
141214
|
-
|
|
141215
|
-
|
|
141216
|
-
|
|
141217
|
-
|
|
141218
|
-
|
|
141219
|
-
|
|
141220
|
-
|
|
141221
|
-
|
|
141222
|
-
|
|
141223
|
-
|
|
141224
|
-
|
|
141225
|
-
|
|
141226
|
-
|
|
141227
|
-
|
|
141228
|
-
|
|
141229
|
-
|
|
141230
|
-
|
|
141231
|
-
|
|
141232
|
-
|
|
141233
|
-
case sl.Characters:
|
|
141234
|
-
t = _d(n, "format", "characters") ?? "characters";
|
|
141235
|
-
break;
|
|
141236
|
-
case sl.Cardinal:
|
|
141237
|
-
t = _d(n, "format", ".") ?? ".", r = _d(n, "detail", ",") ?? ",";
|
|
141238
|
-
break;
|
|
141239
|
-
}
|
|
141240
|
-
return {
|
|
141241
|
-
sayAs: {
|
|
141242
|
-
detail: r,
|
|
141243
|
-
format: t,
|
|
141244
|
-
interpretAs: e
|
|
141245
|
-
}
|
|
141246
|
-
};
|
|
141247
|
-
},
|
|
141248
|
-
tag: "say-as"
|
|
141221
|
+
const n = (e) => {
|
|
141222
|
+
const t = _d(e, "interpret-as", "original");
|
|
141223
|
+
let r = "", i = "";
|
|
141224
|
+
switch (t) {
|
|
141225
|
+
case sl.Date:
|
|
141226
|
+
r = _d(e, "format", "mdy") ?? "hms12";
|
|
141227
|
+
break;
|
|
141228
|
+
case sl.Time:
|
|
141229
|
+
r = _d(e, "format", "hms12") ?? "mdy";
|
|
141230
|
+
break;
|
|
141231
|
+
case sl.Telephone:
|
|
141232
|
+
r = _d(e, "format", "1") ?? 1;
|
|
141233
|
+
break;
|
|
141234
|
+
case sl.Characters:
|
|
141235
|
+
r = _d(e, "format", "characters") ?? "characters";
|
|
141236
|
+
break;
|
|
141237
|
+
case sl.Cardinal:
|
|
141238
|
+
r = _d(e, "format", ".") ?? ".", i = _d(e, "detail", ",") ?? ",";
|
|
141239
|
+
break;
|
|
141249
141240
|
}
|
|
141241
|
+
return {
|
|
141242
|
+
sayAs: {
|
|
141243
|
+
detail: i,
|
|
141244
|
+
format: r,
|
|
141245
|
+
interpretAs: t
|
|
141246
|
+
}
|
|
141247
|
+
};
|
|
141248
|
+
};
|
|
141249
|
+
return [
|
|
141250
|
+
{ getAttrs: n, tag: "sayas" },
|
|
141251
|
+
{ getAttrs: n, tag: "say-as" }
|
|
141250
141252
|
];
|
|
141251
141253
|
},
|
|
141252
141254
|
renderHTML({ HTMLAttributes: n }) {
|
|
@@ -141263,7 +141265,7 @@ const b$t = (n) => new Rr({
|
|
|
141263
141265
|
];
|
|
141264
141266
|
}
|
|
141265
141267
|
});
|
|
141266
|
-
async function
|
|
141268
|
+
async function x$t(n = "en", e = "GoogleTextToSpeech") {
|
|
141267
141269
|
return (await (await hk(
|
|
141268
141270
|
"webapi/extensibility/integrations/texttospeech/getvoiceslist_4m5_v1",
|
|
141269
141271
|
{
|
|
@@ -141279,7 +141281,7 @@ async function w$t(n = "en", e = "GoogleTextToSpeech") {
|
|
|
141279
141281
|
}
|
|
141280
141282
|
)).json())?.voices ?? [];
|
|
141281
141283
|
}
|
|
141282
|
-
async function
|
|
141284
|
+
async function k$t({
|
|
141283
141285
|
languageCode: n,
|
|
141284
141286
|
name: e,
|
|
141285
141287
|
provider: t
|
|
@@ -141300,7 +141302,7 @@ async function x$t({
|
|
|
141300
141302
|
}
|
|
141301
141303
|
)).json();
|
|
141302
141304
|
}
|
|
141303
|
-
async function
|
|
141305
|
+
async function _$t(n) {
|
|
141304
141306
|
return await (await hk(
|
|
141305
141307
|
"webapi/extensibility/integrations/texttospeech/getsynthesizejobstatus_425P_v1",
|
|
141306
141308
|
{
|
|
@@ -141315,7 +141317,7 @@ async function k$t(n) {
|
|
|
141315
141317
|
}
|
|
141316
141318
|
)).json();
|
|
141317
141319
|
}
|
|
141318
|
-
async function
|
|
141320
|
+
async function C$t(n, e = "en", t = "GoogleTextToSpeech", r, i) {
|
|
141319
141321
|
const o = await hk(
|
|
141320
141322
|
"webapi/extensibility/integrations/texttospeech/texttospeechpreview_4m8_v1",
|
|
141321
141323
|
{
|
|
@@ -141356,7 +141358,7 @@ async function _$t(n, e = "en", t = "GoogleTextToSpeech", r, i) {
|
|
|
141356
141358
|
}
|
|
141357
141359
|
return new Blob(s, { type: "audio/mp3" });
|
|
141358
141360
|
}
|
|
141359
|
-
async function
|
|
141361
|
+
async function S$t(n, e, t = "en", r = "GoogleTextToSpeech", i, o, a, s) {
|
|
141360
141362
|
return await (await fetch(
|
|
141361
141363
|
"webapi/extensibility/integrations/texttospeech/texttospeechsavevoice_4m6_v1",
|
|
141362
141364
|
{
|
|
@@ -141379,7 +141381,7 @@ async function C$t(n, e, t = "en", r = "GoogleTextToSpeech", i, o, a, s) {
|
|
|
141379
141381
|
}
|
|
141380
141382
|
)).json();
|
|
141381
141383
|
}
|
|
141382
|
-
const
|
|
141384
|
+
const T$t = [
|
|
141383
141385
|
{
|
|
141384
141386
|
languageCodes: ["en-AU"],
|
|
141385
141387
|
name: "en-AU-Journey-D",
|
|
@@ -141912,7 +141914,7 @@ const S$t = [
|
|
|
141912
141914
|
name: "en-US-Wavenet-J",
|
|
141913
141915
|
ssmlGender: "MALE"
|
|
141914
141916
|
}
|
|
141915
|
-
],
|
|
141917
|
+
], E$t = Mi.create({
|
|
141916
141918
|
addOptions() {
|
|
141917
141919
|
return {
|
|
141918
141920
|
// - \x20-\x7E includes ASCII printable characters, including digits, letters, and punctuation.
|
|
@@ -141954,11 +141956,11 @@ const S$t = [
|
|
|
141954
141956
|
];
|
|
141955
141957
|
},
|
|
141956
141958
|
name: "cleanPaste"
|
|
141957
|
-
}),
|
|
141959
|
+
}), A$t = "var(--cx-color-neutral-200)", O$t = new si("commentPlugin"), I$t = Mi.create({
|
|
141958
141960
|
addProseMirrorPlugins() {
|
|
141959
141961
|
return [
|
|
141960
141962
|
new Rr({
|
|
141961
|
-
key:
|
|
141963
|
+
key: O$t,
|
|
141962
141964
|
props: {
|
|
141963
141965
|
decorations(n) {
|
|
141964
141966
|
if (n.selection.empty)
|
|
@@ -141966,7 +141968,7 @@ const S$t = [
|
|
|
141966
141968
|
const { from: e, to: t } = this.getState(n) || {}, { doc: r } = n;
|
|
141967
141969
|
return e === void 0 || t === void 0 || e === -1 || t === -1 ? mr.empty : mr.create(r, [
|
|
141968
141970
|
Ii.inline(e, t, {
|
|
141969
|
-
style: `background-color: ${
|
|
141971
|
+
style: `background-color: ${A$t}; line-height: 1.5rem;`
|
|
141970
141972
|
})
|
|
141971
141973
|
]);
|
|
141972
141974
|
}
|
|
@@ -141993,14 +141995,14 @@ const S$t = [
|
|
|
141993
141995
|
];
|
|
141994
141996
|
},
|
|
141995
141997
|
name: "mockSelection"
|
|
141996
|
-
}),
|
|
141998
|
+
}), D$t = [
|
|
141997
141999
|
b0,
|
|
141998
142000
|
Gk.configure({
|
|
141999
142001
|
keepAttributes: !1,
|
|
142000
142002
|
keepMarks: !0
|
|
142001
142003
|
}),
|
|
142002
142004
|
b_,
|
|
142003
|
-
|
|
142005
|
+
E$t,
|
|
142004
142006
|
V5,
|
|
142005
142007
|
Yb,
|
|
142006
142008
|
W5,
|
|
@@ -142016,7 +142018,7 @@ const S$t = [
|
|
|
142016
142018
|
content: "block*"
|
|
142017
142019
|
// Do this to allow complete removal of the list item, even if it is deeply nested
|
|
142018
142020
|
}),
|
|
142019
|
-
|
|
142021
|
+
I$t,
|
|
142020
142022
|
Xk.configure({
|
|
142021
142023
|
keepAttributes: !1,
|
|
142022
142024
|
keepMarks: !0
|
|
@@ -142032,7 +142034,7 @@ const S$t = [
|
|
|
142032
142034
|
SH,
|
|
142033
142035
|
J5,
|
|
142034
142036
|
Wk
|
|
142035
|
-
],
|
|
142037
|
+
], M$t = [
|
|
142036
142038
|
b0,
|
|
142037
142039
|
qk,
|
|
142038
142040
|
Yk,
|
|
@@ -142040,7 +142042,7 @@ const S$t = [
|
|
|
142040
142042
|
Wk,
|
|
142041
142043
|
Gk,
|
|
142042
142044
|
Xk
|
|
142043
|
-
],
|
|
142045
|
+
], P$t = [
|
|
142044
142046
|
(n) => `<speak>${n.replace(/<speak>|<\/speak>/g, " ").replace(/\s{2,}/g, " ").replace(/ style=".+?"/gm, "").replace(" ", "")}</speak>`,
|
|
142045
142047
|
// (str: string) => {
|
|
142046
142048
|
// const breakTagPattern = /<break([^>]*)>(.*?)<\/break>/gi;
|
|
@@ -142054,22 +142056,22 @@ const S$t = [
|
|
|
142054
142056
|
/<break(.*?)>(\s*|\s*\n+)<\/break>/gm,
|
|
142055
142057
|
"<break$1> </break>"
|
|
142056
142058
|
)
|
|
142057
|
-
],
|
|
142059
|
+
], N$t = (n) => {
|
|
142058
142060
|
let e = n;
|
|
142059
|
-
for (const t of
|
|
142061
|
+
for (const t of P$t)
|
|
142060
142062
|
e = t(e);
|
|
142061
142063
|
return e;
|
|
142062
142064
|
};
|
|
142063
|
-
function
|
|
142065
|
+
function L$t(n, e) {
|
|
142064
142066
|
return `${n.replace(new RegExp(e[0], "g"), "").replace(/-/g, " ").trim()}`;
|
|
142065
142067
|
}
|
|
142066
142068
|
function AT(n) {
|
|
142067
|
-
return `${
|
|
142069
|
+
return `${L$t(n.name, n.languageCodes)} ${n.isPremiumVoice ? "(premium)" : ""}`.trim();
|
|
142068
142070
|
}
|
|
142069
|
-
const EG = [Yb, Dg, gh],
|
|
142070
|
-
function
|
|
142071
|
+
const EG = [Yb, Dg, gh], R$t = [b_], B$t = EG.map((n) => n.name);
|
|
142072
|
+
function F$t(n, e) {
|
|
142071
142073
|
const t = [];
|
|
142072
|
-
if (n.marks.some((r) =>
|
|
142074
|
+
if (n.marks.some((r) => B$t.includes(r.type.name))) {
|
|
142073
142075
|
const r = n.text || "";
|
|
142074
142076
|
let i;
|
|
142075
142077
|
const o = /[ \t]+/g;
|
|
@@ -142080,7 +142082,7 @@ function B$t(n, e) {
|
|
|
142080
142082
|
}
|
|
142081
142083
|
return t;
|
|
142082
142084
|
}
|
|
142083
|
-
function
|
|
142085
|
+
function z$t(n, e, t = []) {
|
|
142084
142086
|
const r = Sg.create({
|
|
142085
142087
|
schema: e.schema
|
|
142086
142088
|
}), i = r.apply(r.tr.insert(0, n.content)), o = [], a = i.tr;
|
|
@@ -142088,10 +142090,10 @@ function F$t(n, e, t = []) {
|
|
|
142088
142090
|
t.includes(s.options.ssmlTagName) && a.removeMark(0, n.content.size, i.schema.marks[s.name]);
|
|
142089
142091
|
}), n.content.nodesBetween(0, n.content.size, (s, c) => {
|
|
142090
142092
|
if (s.type.isText) {
|
|
142091
|
-
o.push(...
|
|
142093
|
+
o.push(...F$t(s, c));
|
|
142092
142094
|
return;
|
|
142093
142095
|
}
|
|
142094
|
-
const l =
|
|
142096
|
+
const l = R$t.find((f) => f.name === s.type.name);
|
|
142095
142097
|
if (l && t.includes(l.options.ssmlTagName)) {
|
|
142096
142098
|
a.delete(a.mapping.map(c), a.mapping.map(c + s.nodeSize));
|
|
142097
142099
|
return;
|
|
@@ -142121,7 +142123,7 @@ function CR(n, e, t) {
|
|
|
142121
142123
|
const r = e.schema, i = (c) => {
|
|
142122
142124
|
if (c.isText) {
|
|
142123
142125
|
let l = c.marks.filter(
|
|
142124
|
-
(d) =>
|
|
142126
|
+
(d) => M$t.every((p) => d.type.name !== p.name)
|
|
142125
142127
|
);
|
|
142126
142128
|
return c.marks.some((d) => d.type.name === "bold") && l.push(
|
|
142127
142129
|
c.type.schema.marks.emphasis.create({
|
|
@@ -142143,13 +142145,13 @@ function CR(n, e, t) {
|
|
|
142143
142145
|
d.isText ? l.push(i(d)) : l.push(i(d.copy(o(d.content))));
|
|
142144
142146
|
}), $t.fromArray(l);
|
|
142145
142147
|
}, a = o(n.content), s = new un(a, n.openStart, n.openEnd);
|
|
142146
|
-
return
|
|
142148
|
+
return z$t(s, e, t);
|
|
142147
142149
|
}
|
|
142148
142150
|
function SR(n, e, t) {
|
|
142149
142151
|
const i = Ou.fromSchema(e.schema).serializeFragment(n.content), o = document.createElement("div");
|
|
142150
142152
|
return o.appendChild(i), t ? o.innerText : o.innerHTML;
|
|
142151
142153
|
}
|
|
142152
|
-
const
|
|
142154
|
+
const $$t = [
|
|
142153
142155
|
[/<sayas/g, "<say-as"],
|
|
142154
142156
|
[/<\/sayas>/g, "</say-as>"],
|
|
142155
142157
|
[/<br\s*\/?>/g, `
|
|
@@ -142157,11 +142159,11 @@ const z$t = [
|
|
|
142157
142159
|
];
|
|
142158
142160
|
function lg(n) {
|
|
142159
142161
|
let e = n;
|
|
142160
|
-
for (const [t, r] of
|
|
142162
|
+
for (const [t, r] of $$t)
|
|
142161
142163
|
e = e.replace(t, r);
|
|
142162
142164
|
return e;
|
|
142163
142165
|
}
|
|
142164
|
-
function
|
|
142166
|
+
function j$t(n) {
|
|
142165
142167
|
return n.replace(/[\u00A0\u2000-\u200D\uFEFF]/g, " ").replace(/\s{2,}/g, " ").replace(/[\t\r\n]+/g, " ").replace(/&[#a-zA-Z0-9]+;/g, "").trim();
|
|
142166
142168
|
}
|
|
142167
142169
|
function AG(n) {
|
|
@@ -142181,15 +142183,15 @@ function ER(n, e) {
|
|
|
142181
142183
|
let t = lg(n);
|
|
142182
142184
|
t = t.replace("<speak>", "").replace("</speak>", "");
|
|
142183
142185
|
const { prefix: r, suffix: i } = AG(e);
|
|
142184
|
-
return t =
|
|
142186
|
+
return t = j$t(`${r}${t}${i}`), t;
|
|
142185
142187
|
}
|
|
142186
|
-
const
|
|
142188
|
+
const H$t = ["pitch", "rate", "volume"];
|
|
142187
142189
|
function OT(n) {
|
|
142188
142190
|
const t = new DOMParser().parseFromString(n, "application/xml"), r = t.querySelector("parsererror"), i = t.querySelector("speak"), o = i?.childNodes.length === 1 && i?.childNodes[0].nodeName === "prosody";
|
|
142189
142191
|
if (!r && o) {
|
|
142190
142192
|
const a = i.childNodes[0], s = a ? a.getAttribute("rate") : null;
|
|
142191
142193
|
if (s) {
|
|
142192
|
-
const c =
|
|
142194
|
+
const c = H$t.filter((d) => a.hasAttribute(d)).length === 1;
|
|
142193
142195
|
let l = a.innerHTML;
|
|
142194
142196
|
return c || (l = i.innerHTML), {
|
|
142195
142197
|
speed: s,
|
|
@@ -142207,7 +142209,7 @@ function IT(n) {
|
|
|
142207
142209
|
const e = Math.floor(n / 60), t = Math.floor(n % 60);
|
|
142208
142210
|
return `${e.toString().padStart(2, "0")}:${t.toString().padStart(2, "0")}`;
|
|
142209
142211
|
}
|
|
142210
|
-
function
|
|
142212
|
+
function U$t(n, e) {
|
|
142211
142213
|
if (n?.length) {
|
|
142212
142214
|
const t = n?.includes("all"), r = [];
|
|
142213
142215
|
return n.includes(Yb.options.ssmlTagName) && r.push(e.term("emphasis")), n.includes(Dg.options.ssmlTagName) && (r.push(e.term("volumeWithUnit", "")), r.push(e.term("pitchWithUnit", "")), r.push(e.term("speed"))), n.includes(gh.options.ssmlTagName) && r.push(e.term("interpretTextAs")), n.includes(b_.options.ssmlTagName) && r.push(e.term("pause")), e.term("voiceHelpText", r, t);
|
|
@@ -142279,7 +142281,7 @@ const AR = ({
|
|
|
142279
142281
|
e.openStart,
|
|
142280
142282
|
e.openEnd
|
|
142281
142283
|
);
|
|
142282
|
-
},
|
|
142284
|
+
}, q$t = bn`
|
|
142283
142285
|
${Tn}
|
|
142284
142286
|
|
|
142285
142287
|
.container {
|
|
@@ -142564,12 +142566,12 @@ const AR = ({
|
|
|
142564
142566
|
--font-size: var(--cx-font-size-small);
|
|
142565
142567
|
}
|
|
142566
142568
|
`;
|
|
142567
|
-
var
|
|
142568
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
142569
|
+
var V$t = Object.defineProperty, W$t = Object.getOwnPropertyDescriptor, er = (n, e, t, r) => {
|
|
142570
|
+
for (var i = r > 1 ? void 0 : r ? W$t(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
142569
142571
|
(a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
|
|
142570
|
-
return r && i &&
|
|
142572
|
+
return r && i && V$t(e, t, i), i;
|
|
142571
142573
|
};
|
|
142572
|
-
const
|
|
142574
|
+
const G$t = Object.values(p6).reduce(
|
|
142573
142575
|
(n, e) => (e.phone && e.phone.forEach((t) => {
|
|
142574
142576
|
n.push({
|
|
142575
142577
|
name: `${e.name} (+${t})`,
|
|
@@ -142626,7 +142628,7 @@ let qn = class extends On {
|
|
|
142626
142628
|
this.textEditor = new q5({
|
|
142627
142629
|
editable: this.editable,
|
|
142628
142630
|
element: this.textEditorContainer,
|
|
142629
|
-
extensions:
|
|
142631
|
+
extensions: D$t,
|
|
142630
142632
|
onCreate: ({ editor: n }) => {
|
|
142631
142633
|
if (this.autofocus && n.commands.focus("end"), this.data) {
|
|
142632
142634
|
const { HtmlData: r, SsmlData: i } = this.data, { speed: o } = OT(i.SsmlText);
|
|
@@ -142634,7 +142636,7 @@ let qn = class extends On {
|
|
|
142634
142636
|
}
|
|
142635
142637
|
const e = n.view.dom;
|
|
142636
142638
|
e.setAttribute("aria-label", this.localize.term("textEditor"));
|
|
142637
|
-
const t =
|
|
142639
|
+
const t = w$t({
|
|
142638
142640
|
editor: n,
|
|
142639
142641
|
element: this.bubbleMenu,
|
|
142640
142642
|
pluginKey: "bubbleMenu",
|
|
@@ -142665,7 +142667,7 @@ let qn = class extends On {
|
|
|
142665
142667
|
onUpdate: () => {
|
|
142666
142668
|
this.resetAudio(), this.requestUpdate(), this.emitChangeEvent();
|
|
142667
142669
|
}
|
|
142668
|
-
}), this.mock ? this.voices =
|
|
142670
|
+
}), this.mock ? this.voices = T$t : this.recordId && x$t(this.language, this.provider).then((n) => {
|
|
142669
142671
|
this.voices = n;
|
|
142670
142672
|
}), this.fetchJobStatus();
|
|
142671
142673
|
}
|
|
@@ -142703,7 +142705,7 @@ let qn = class extends On {
|
|
|
142703
142705
|
return;
|
|
142704
142706
|
}
|
|
142705
142707
|
try {
|
|
142706
|
-
const n = this.recordId, { isFinished: e } = await
|
|
142708
|
+
const n = this.recordId, { isFinished: e } = await _$t(n);
|
|
142707
142709
|
if (this.recordId !== n)
|
|
142708
142710
|
return;
|
|
142709
142711
|
this._isPreviousJobUnfinished = !e;
|
|
@@ -142733,7 +142735,7 @@ let qn = class extends On {
|
|
|
142733
142735
|
const n = this._voice;
|
|
142734
142736
|
this._selectedVoice = this.voices.find((e) => e.name === n) ?? null, this._unsupportedSsmlTags = [], this._isTextSupportedOnly = !1;
|
|
142735
142737
|
try {
|
|
142736
|
-
const { isSSMLSupported: e } = await
|
|
142738
|
+
const { isSSMLSupported: e } = await k$t({
|
|
142737
142739
|
languageCode: this.language,
|
|
142738
142740
|
name: n,
|
|
142739
142741
|
provider: this.provider
|
|
@@ -142844,7 +142846,7 @@ let qn = class extends On {
|
|
|
142844
142846
|
if (!(!e || !this.language || !this.provider || !this._voice || !this.gender))
|
|
142845
142847
|
try {
|
|
142846
142848
|
this.previewLoading = !0;
|
|
142847
|
-
const t = await
|
|
142849
|
+
const t = await C$t(
|
|
142848
142850
|
e,
|
|
142849
142851
|
this.language,
|
|
142850
142852
|
this.provider,
|
|
@@ -142872,7 +142874,7 @@ let qn = class extends On {
|
|
|
142872
142874
|
if (r.onload = (i) => {
|
|
142873
142875
|
const o = i.target?.result;
|
|
142874
142876
|
if (o && typeof o == "string") {
|
|
142875
|
-
const { speed: a, text: s } = OT(o), c =
|
|
142877
|
+
const { speed: a, text: s } = OT(o), c = N$t(
|
|
142876
142878
|
s.replace(/(?:\r\n|\r|\n)/g, "<br>")
|
|
142877
142879
|
);
|
|
142878
142880
|
this.textEditor.commands.setContent(c, !0), this.speed = a;
|
|
@@ -142898,7 +142900,7 @@ let qn = class extends On {
|
|
|
142898
142900
|
try {
|
|
142899
142901
|
const n = this.getEditorHTML({ format: !this._isTextSupportedOnly });
|
|
142900
142902
|
this.loading = !0;
|
|
142901
|
-
const e = await
|
|
142903
|
+
const e = await S$t(
|
|
142902
142904
|
n,
|
|
142903
142905
|
this.textEditor.getHTML(),
|
|
142904
142906
|
this.language,
|
|
@@ -142996,7 +142998,7 @@ let qn = class extends On {
|
|
|
142996
142998
|
}
|
|
142997
142999
|
}).focus().run();
|
|
142998
143000
|
},
|
|
142999
|
-
options:
|
|
143001
|
+
options: c$t,
|
|
143000
143002
|
value: r
|
|
143001
143003
|
},
|
|
143002
143004
|
{
|
|
@@ -143025,7 +143027,7 @@ let qn = class extends On {
|
|
|
143025
143027
|
}
|
|
143026
143028
|
}).focus().run();
|
|
143027
143029
|
},
|
|
143028
|
-
options:
|
|
143030
|
+
options: d$t,
|
|
143029
143031
|
value: i
|
|
143030
143032
|
},
|
|
143031
143033
|
{
|
|
@@ -143054,7 +143056,7 @@ let qn = class extends On {
|
|
|
143054
143056
|
}
|
|
143055
143057
|
}).focus().run();
|
|
143056
143058
|
},
|
|
143057
|
-
options:
|
|
143059
|
+
options: u$t,
|
|
143058
143060
|
value: o
|
|
143059
143061
|
},
|
|
143060
143062
|
{
|
|
@@ -143079,7 +143081,7 @@ let qn = class extends On {
|
|
|
143079
143081
|
}
|
|
143080
143082
|
}).focus().run();
|
|
143081
143083
|
},
|
|
143082
|
-
options:
|
|
143084
|
+
options: p$t,
|
|
143083
143085
|
value: a
|
|
143084
143086
|
}
|
|
143085
143087
|
].map((l) => {
|
|
@@ -143127,7 +143129,7 @@ let qn = class extends On {
|
|
|
143127
143129
|
}
|
|
143128
143130
|
}).focus().run();
|
|
143129
143131
|
},
|
|
143130
|
-
options:
|
|
143132
|
+
options: h$t,
|
|
143131
143133
|
value: t
|
|
143132
143134
|
},
|
|
143133
143135
|
{
|
|
@@ -143146,7 +143148,7 @@ let qn = class extends On {
|
|
|
143146
143148
|
}
|
|
143147
143149
|
}).focus().run();
|
|
143148
143150
|
},
|
|
143149
|
-
options:
|
|
143151
|
+
options: g$t,
|
|
143150
143152
|
value: t
|
|
143151
143153
|
},
|
|
143152
143154
|
{
|
|
@@ -143165,7 +143167,7 @@ let qn = class extends On {
|
|
|
143165
143167
|
}
|
|
143166
143168
|
}).focus().run();
|
|
143167
143169
|
},
|
|
143168
|
-
options:
|
|
143170
|
+
options: G$t,
|
|
143169
143171
|
value: t
|
|
143170
143172
|
},
|
|
143171
143173
|
{
|
|
@@ -143184,7 +143186,7 @@ let qn = class extends On {
|
|
|
143184
143186
|
}
|
|
143185
143187
|
}).focus().run();
|
|
143186
143188
|
},
|
|
143187
|
-
options:
|
|
143189
|
+
options: m$t,
|
|
143188
143190
|
value: t
|
|
143189
143191
|
},
|
|
143190
143192
|
{
|
|
@@ -143203,7 +143205,7 @@ let qn = class extends On {
|
|
|
143203
143205
|
}
|
|
143204
143206
|
}).focus().run();
|
|
143205
143207
|
},
|
|
143206
|
-
options:
|
|
143208
|
+
options: f$t,
|
|
143207
143209
|
value: t
|
|
143208
143210
|
},
|
|
143209
143211
|
{
|
|
@@ -143222,7 +143224,7 @@ let qn = class extends On {
|
|
|
143222
143224
|
}
|
|
143223
143225
|
}).focus().run();
|
|
143224
143226
|
},
|
|
143225
|
-
options:
|
|
143227
|
+
options: v$t,
|
|
143226
143228
|
value: e
|
|
143227
143229
|
}
|
|
143228
143230
|
];
|
|
@@ -143259,7 +143261,7 @@ let qn = class extends On {
|
|
|
143259
143261
|
return this.timeCode ? V`<cx-typography variant="body3">${this.timeCode}</cx-typography>` : "";
|
|
143260
143262
|
}
|
|
143261
143263
|
renderGlobalControls() {
|
|
143262
|
-
return V`<form class="form" @submit=${this.handleSubmit}><cx-grid columns="12" spacing="var(--cx-spacing-x-small)" class="h-full" use-flex-gap=""><cx-grid-item xs="6" md="12"><cx-select class="voice-select" value=${this._voice} label=${this.localize.term("voice")} size="small" ?disabled=${!this.editable} @cx-change=${this.handleVoiceSelectChange}>${this._selectedVoice && this._unsupportedSsmlTags.length ? V`<span data-testid="voice-help-text" slot="help-text"><strong>${AT(this._selectedVoice)}</strong>${" " +
|
|
143264
|
+
return V`<form class="form" @submit=${this.handleSubmit}><cx-grid columns="12" spacing="var(--cx-spacing-x-small)" class="h-full" use-flex-gap=""><cx-grid-item xs="6" md="12"><cx-select class="voice-select" value=${this._voice} label=${this.localize.term("voice")} size="small" ?disabled=${!this.editable} @cx-change=${this.handleVoiceSelectChange}>${this._selectedVoice && this._unsupportedSsmlTags.length ? V`<span data-testid="voice-help-text" slot="help-text"><strong>${AT(this._selectedVoice)}</strong>${" " + U$t(
|
|
143263
143265
|
this._unsupportedSsmlTags,
|
|
143264
143266
|
this.localize
|
|
143265
143267
|
)}</span>` : ""}<span slot="help-text"> </span><small>${this.localize.term("male")}</small>${Hn(
|
|
@@ -143275,7 +143277,7 @@ let qn = class extends On {
|
|
|
143275
143277
|
(n) => n.name,
|
|
143276
143278
|
(n) => V`<cx-option value=${n.name} data-gender=${n.ssmlGender}>${AT(n)}</cx-option>`
|
|
143277
143279
|
)}</cx-select></cx-grid-item><cx-grid-item xs="6" md="12"><cx-select value=${this.speed} size="small" @cx-change=${this.handleSpeedChange} ?disabled=${!this.editable || this._isTextSupportedOnly || this._unsupportedSsmlTags?.includes(Dg.options.ssmlTagName)}><label class="input-label" slot="label">${this.localize.term("speed")}</label>${Hn(
|
|
143278
|
-
|
|
143280
|
+
l$t,
|
|
143279
143281
|
(n) => n.value,
|
|
143280
143282
|
(n) => V`<cx-option value=${n.value}>${n.name}</cx-option>`
|
|
143281
143283
|
)}</cx-select></cx-grid-item></cx-grid><div class="form__footer"><cx-tooltip content=${this.localize.term("previewTooltip")} ?disabled=${this.previewLoading || this.isSpeaking}><cx-button type="submit" value="preview" ?disabled=${!this.editable || this.previewLoading || this.textEditor?.isEmpty}>${this.renderPreviewButtonContent()}</cx-button></cx-tooltip><cx-button type="submit" variant="primary" value="save" ?disabled=${!this.editable || this.loading || this.textEditor?.isEmpty}>${this.loading ? V`<cx-spinner slot="prefix" class="spinner render-spinner"></cx-spinner>` : ""}
|
|
@@ -143320,7 +143322,7 @@ let qn = class extends On {
|
|
|
143320
143322
|
${this.renderPreviousJobStatus()}</cx-space></cx-grid-item></cx-grid>${this.renderImportFileConfirmDialog()}</div>`;
|
|
143321
143323
|
}
|
|
143322
143324
|
};
|
|
143323
|
-
qn.styles = [Tn,
|
|
143325
|
+
qn.styles = [Tn, q$t];
|
|
143324
143326
|
qn.dependencies = {
|
|
143325
143327
|
"cx-button": ki,
|
|
143326
143328
|
"cx-dialog": Ha,
|
|
@@ -143485,7 +143487,7 @@ er([
|
|
|
143485
143487
|
qn = er([
|
|
143486
143488
|
wn("cx-text-to-speech")
|
|
143487
143489
|
], qn);
|
|
143488
|
-
async function
|
|
143490
|
+
async function K$t(n) {
|
|
143489
143491
|
try {
|
|
143490
143492
|
return (await ur.request({
|
|
143491
143493
|
method: "GET",
|
|
@@ -143505,7 +143507,7 @@ async function G$t(n) {
|
|
|
143505
143507
|
};
|
|
143506
143508
|
}
|
|
143507
143509
|
}
|
|
143508
|
-
async function
|
|
143510
|
+
async function Y$t(n, e) {
|
|
143509
143511
|
try {
|
|
143510
143512
|
return await ur.request({
|
|
143511
143513
|
data: {
|
|
@@ -143522,17 +143524,17 @@ async function K$t(n, e) {
|
|
|
143522
143524
|
return t.response;
|
|
143523
143525
|
}
|
|
143524
143526
|
}
|
|
143525
|
-
const
|
|
143526
|
-
function
|
|
143527
|
+
const X$t = bn`:host{--cx-button-text-transform:none;color:var(--cx-color-neutral-1000)}.table{--background-color:var(--cx-color-neutral-0);--header-height:var(--cx-spacing-3x-large);--header-horizontal-padding:var(--cx-spacing-x-large);--row-even-background-color:var(--cx-color-neutral-0);--row-even-hover-background-color:var(--cx-color-neutral-50);--row-hover-background-color:var(--cx-color-neutral-50);--cell-horizontal-padding:var(--cx-spacing-x-large);--cell-border-color:transparent;--cell-bottom-border-color:transparent;--cell-hover-background-color:transparent;--table-min-height:92px}.dialog{--width:680px}.dialog::part(body){padding-bottom:0}.dialog::part(footer){padding-top:0}`;
|
|
143528
|
+
function J$t(n) {
|
|
143527
143529
|
return !n || !Array.isArray(n) || n.length === 0 ? "" : n.map((e) => `${e.start} - ${e.title}`).join(`\r
|
|
143528
143530
|
`);
|
|
143529
143531
|
}
|
|
143530
|
-
var
|
|
143531
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
143532
|
+
var Z$t = Object.defineProperty, Q$t = Object.getOwnPropertyDescriptor, Ep = (n, e, t, r) => {
|
|
143533
|
+
for (var i = r > 1 ? void 0 : r ? Q$t(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
143532
143534
|
(a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
|
|
143533
|
-
return r && i &&
|
|
143535
|
+
return r && i && Z$t(e, t, i), i;
|
|
143534
143536
|
};
|
|
143535
|
-
const
|
|
143537
|
+
const ejt = "99:99:99";
|
|
143536
143538
|
let Zl = class extends On {
|
|
143537
143539
|
constructor() {
|
|
143538
143540
|
super(...arguments), this.localize = new Vn(this), this.cortexPopupController = new VR(this), this.columns = [
|
|
@@ -143546,7 +143548,7 @@ let Zl = class extends On {
|
|
|
143546
143548
|
{
|
|
143547
143549
|
editor: "input",
|
|
143548
143550
|
editorParams: {
|
|
143549
|
-
mask:
|
|
143551
|
+
mask: ejt,
|
|
143550
143552
|
maskAutoFill: !0
|
|
143551
143553
|
},
|
|
143552
143554
|
field: "start",
|
|
@@ -143572,7 +143574,7 @@ let Zl = class extends On {
|
|
|
143572
143574
|
}
|
|
143573
143575
|
}, this.placeholder = this.localize.term(
|
|
143574
143576
|
"videoChaptersEmptyPlaceholder"
|
|
143575
|
-
), this._apiGetChapters =
|
|
143577
|
+
), this._apiGetChapters = K$t, this._apiUpdateChapters = Y$t, this.videoRecordID = "", this.label = this.localize.term("editChapters"), this.data = [], this.tableData = [], this.isSaving = !1, this.originalContainer = null;
|
|
143576
143578
|
}
|
|
143577
143579
|
show() {
|
|
143578
143580
|
this.dialog.show(), this.cortexPopupController.activatePopup();
|
|
@@ -143618,7 +143620,7 @@ let Zl = class extends On {
|
|
|
143618
143620
|
this.isSaving = !1;
|
|
143619
143621
|
return;
|
|
143620
143622
|
}
|
|
143621
|
-
const e =
|
|
143623
|
+
const e = J$t(n), t = await this._apiUpdateChapters(
|
|
143622
143624
|
this.videoRecordID,
|
|
143623
143625
|
e
|
|
143624
143626
|
);
|
|
@@ -143651,7 +143653,7 @@ let Zl = class extends On {
|
|
|
143651
143653
|
})}><cx-space direction="vertical" gap="medium" align-items="start"><cx-table class="table" .columns=${this.columns} .data=${this.tableData} .hoverMenu=${this.hoverMenu} layout="fitColumns" edit-trigger-event="click" placeholder=${this.placeholder} row-height="34" no-selectable @cx-table-row-action-click=${this.handleRowActions}></cx-table><cx-button data-testid="add-chapter-button" @click=${this.handleAddChapter}>${this.localize.term("addChapter")}</cx-button></cx-space><cx-divider></cx-divider><cx-button data-testid="cancel-button" slot="footer" @click=${this.handleCancel}>${this.localize.term("cancel")}</cx-button><cx-button data-testid="save-button" slot="footer" variant="primary" @click=${this.handleSave} ?loading=${this.isSaving}>${this.localize.term("save")}</cx-button></cx-dialog>`;
|
|
143652
143654
|
}
|
|
143653
143655
|
};
|
|
143654
|
-
Zl.styles = [Tn,
|
|
143656
|
+
Zl.styles = [Tn, X$t];
|
|
143655
143657
|
Zl.dependencies = {
|
|
143656
143658
|
"cx-button": ki,
|
|
143657
143659
|
"cx-dialog": Ha,
|
|
@@ -143693,13 +143695,13 @@ Ep([
|
|
|
143693
143695
|
Zl = Ep([
|
|
143694
143696
|
wn("cx-video-chapters-manager")
|
|
143695
143697
|
], Zl);
|
|
143696
|
-
const
|
|
143697
|
-
var
|
|
143698
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
143698
|
+
const tjt = bn`:host{width:100%;display:block}.video-editor-timeline{position:relative}.video-editor-timeline__canvas{user-select:none;cursor:pointer}.video-editor-timeline__scroller{cursor:pointer;width:calc(100% - 1px);overflow-x:scroll}.video-editor-timeline__time-mark{pointer-events:none;border-left:1px solid var(--cx-color-neutral-700);z-index:10;width:1px;height:100%;position:absolute;top:0}.video-editor-timeline__time-mark--hidden{border-color:#0000}.video-editor-timeline__time-mark__thumb{border-radius:var(--cx-border-radius-circle);background:var(--cx-color-neutral-700);width:9px;height:9px;position:absolute;left:50%;transform:translate(-50%)}.video-editor-timeline__cursor{background:var(--cx-color-primary);border-radius:var(--cx-border-radius-medium);pointer-events:none;z-index:9999;width:1px;height:100%;display:none;position:absolute;top:0;left:0;transform:translate(0)}.video-editor-timeline--hovering .video-editor-timeline__cursor{display:block}.video-editor-timeline__cursor__timestamp{border-radius:var(--cx-tooltip-border-radius);background-color:var(--cx-tooltip-background-color);width:max-content;max-width:40rem;font-family:var(--cx-tooltip-font-family);font-size:var(--cx-tooltip-font-size);font-weight:var(--cx-tooltip-font-weight);line-height:var(--cx-tooltip-line-height);text-align:start;white-space:normal;color:var(--cx-tooltip-color);padding:var(--cx-tooltip-padding);pointer-events:none;user-select:none;overflow-wrap:break-word;display:block}`;
|
|
143699
|
+
var njt = Object.defineProperty, rjt = Object.getOwnPropertyDescriptor, Uo = (n, e, t, r) => {
|
|
143700
|
+
for (var i = r > 1 ? void 0 : r ? rjt(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
143699
143701
|
(a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
|
|
143700
|
-
return r && i &&
|
|
143702
|
+
return r && i && njt(e, t, i), i;
|
|
143701
143703
|
};
|
|
143702
|
-
const OR = 40,
|
|
143704
|
+
const OR = 40, ijt = 13 * devicePixelRatio, ojt = 5 * devicePixelRatio, Xw = 29, ajt = 110, IR = 4, sjt = 1e3, cjt = 8;
|
|
143703
143705
|
let Ki = class extends On {
|
|
143704
143706
|
constructor() {
|
|
143705
143707
|
super(), this.duration = 0, this.currentTime = 5, this.hoveredTime = 0, this.isHovering = !1, this.scaleFactor = 1, this.scale = 1, this.isScrolling = !1, this.isDragging = !1, this.scrollResumeTimeout = null, this.lastScrollLeft = 0, this.handleCanvasMouseUp = this.handleCanvasMouseUp.bind(this);
|
|
@@ -143729,13 +143731,13 @@ let Ki = class extends On {
|
|
|
143729
143731
|
if (!r)
|
|
143730
143732
|
return;
|
|
143731
143733
|
r.setTransform(1, 0, 0, 1, 0, 0), r.scale(t, t), r.strokeStyle = e, r.beginPath(), r.translate(-this.scroller.scrollLeft, 0);
|
|
143732
|
-
const i = Math.max(1, Math.floor(
|
|
143734
|
+
const i = Math.max(1, Math.floor(ajt / this.scale)), o = i, a = o * this.scale / (IR + 1);
|
|
143733
143735
|
for (let s = 0; s <= this.duration; s += o) {
|
|
143734
143736
|
const c = s * this.scale, l = s === 0 ? 0.5 : c;
|
|
143735
|
-
r.moveTo(l, Xw), r.lineTo(l, Xw +
|
|
143737
|
+
r.moveTo(l, Xw), r.lineTo(l, Xw + ijt);
|
|
143736
143738
|
for (let d = 1; d <= IR; d++) {
|
|
143737
143739
|
const p = c + d * a;
|
|
143738
|
-
r.moveTo(p, Xw), r.lineTo(p, Xw +
|
|
143740
|
+
r.moveTo(p, Xw), r.lineTo(p, Xw + ojt);
|
|
143739
143741
|
}
|
|
143740
143742
|
}
|
|
143741
143743
|
r.stroke(), r.font = "14px Fira Sans", r.fillStyle = n, r.textAlign = "center";
|
|
@@ -143761,7 +143763,7 @@ let Ki = class extends On {
|
|
|
143761
143763
|
const n = this.cursor.getBoundingClientRect();
|
|
143762
143764
|
this.cursorPopup.anchor = {
|
|
143763
143765
|
getBoundingClientRect: () => {
|
|
143764
|
-
const e = n.left + n.width / 2, t = n.top -
|
|
143766
|
+
const e = n.left + n.width / 2, t = n.top - cjt;
|
|
143765
143767
|
return {
|
|
143766
143768
|
bottom: t,
|
|
143767
143769
|
height: 0,
|
|
@@ -143805,7 +143807,7 @@ let Ki = class extends On {
|
|
|
143805
143807
|
handleScrollerMouseUp() {
|
|
143806
143808
|
this.scrollResumeTimeout = setTimeout(() => {
|
|
143807
143809
|
this.isScrolling = !1;
|
|
143808
|
-
},
|
|
143810
|
+
}, sjt);
|
|
143809
143811
|
}
|
|
143810
143812
|
handleCanvasMouseDown(n) {
|
|
143811
143813
|
n.preventDefault(), this.isDragging = !0, this.updateTime((n.offsetX + this.scroller.scrollLeft) / this.scale);
|
|
@@ -143864,7 +143866,7 @@ let Ki = class extends On {
|
|
|
143864
143866
|
})}</div></cx-popup></div><div part="scroller" class="video-editor-timeline__scroller" @scroll=${this.handleScroll} @mousedown=${this.handleScrollerMouseDown} @mouseup=${this.handleScrollerMouseUp}><slot></slot></div></div></cx-resize-observer>`;
|
|
143865
143867
|
}
|
|
143866
143868
|
};
|
|
143867
|
-
Ki.styles = [Tn,
|
|
143869
|
+
Ki.styles = [Tn, tjt];
|
|
143868
143870
|
Ki.dependencies = {
|
|
143869
143871
|
"cx-popup": Pc,
|
|
143870
143872
|
"cx-resize-observer": Zb
|
|
@@ -143932,11 +143934,11 @@ Uo([
|
|
|
143932
143934
|
Ki = Uo([
|
|
143933
143935
|
wn("cx-video-editor-timeline")
|
|
143934
143936
|
], Ki);
|
|
143935
|
-
const
|
|
143936
|
-
var
|
|
143937
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
143937
|
+
const ljt = bn`:host{width:100%;display:block}cx-divider{--spacing:var(--cx-spacing-x-small)}.active cx-icon{color:var(--cx-color-primary)}.ratio-item{--submenu-icon-display:none}.ratio-item[checked] .ratio-item__label,.ratio-item[checked] .ratio-item__description{--color:var(--cx-color-primary)}.ratio-item__label{--color:var(--cx-color-neutral-800)}.ratio-item__description{--color:var(--cx-color-neutral-600)}`;
|
|
143938
|
+
var djt = Object.defineProperty, ujt = Object.getOwnPropertyDescriptor, vm = (n, e, t, r) => {
|
|
143939
|
+
for (var i = r > 1 ? void 0 : r ? ujt(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
143938
143940
|
(a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
|
|
143939
|
-
return r && i &&
|
|
143941
|
+
return r && i && djt(e, t, i), i;
|
|
143940
143942
|
}, Ri = /* @__PURE__ */ ((n) => (n.Apply = "apply", n.Cancel = "cancel", n.CancelAll = "cancelAll", n.Crop = "crop", n.Delete = "delete", n.Export = "export", n.Redo = "redo", n.Rotate = "rotate", n.Save = "save", n.Transition = "transition", n.Trim = "trim", n.Undo = "undo", n))(Ri || {});
|
|
143941
143943
|
let Ld = class extends On {
|
|
143942
143944
|
constructor() {
|
|
@@ -144070,7 +144072,7 @@ let Ld = class extends On {
|
|
|
144070
144072
|
})} ?disabled=${this.disabled.crop} @click=${this.handleCropClick}><cx-icon name="crop" label=${this.localize.term("crop")}></cx-icon></cx-button></cx-tooltip><cx-tooltip content=${this.localize.term("rotate")}><cx-button data-testid=${"rotate"} ?disabled=${this.disabled.rotate} @click=${this.handleRotateClick}><cx-icon name="rotate_90_degrees_cw" label=${this.localize.term("rotate")}></cx-icon></cx-button></cx-tooltip><cx-tooltip content=${this.localize.term("delete")}><cx-button data-testid=${"delete"} ?disabled=${this.disabled.delete} @click=${this.handleDeleteClick}><cx-icon name="delete" label=${this.localize.term("delete")}></cx-icon></cx-button></cx-tooltip></cx-space>${this.renderRightActions()}</cx-space>`;
|
|
144071
144073
|
}
|
|
144072
144074
|
};
|
|
144073
|
-
Ld.styles = [Tn,
|
|
144075
|
+
Ld.styles = [Tn, ljt];
|
|
144074
144076
|
Ld.dependencies = {
|
|
144075
144077
|
"cx-button": ki,
|
|
144076
144078
|
"cx-button-group": d9,
|
|
@@ -144103,11 +144105,11 @@ vm([
|
|
|
144103
144105
|
Ld = vm([
|
|
144104
144106
|
wn("cx-video-editor-toolbar")
|
|
144105
144107
|
], Ld);
|
|
144106
|
-
const
|
|
144107
|
-
var
|
|
144108
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
144108
|
+
const pjt = bn`:host{--frames-background-color:#000;--frames-color:#fff;display:inline-block}.video-editor-track-container{position:relative}.video-editor-track{outline:2px solid var(--cx-color-neutral-300);outline-offset:-2px;box-sizing:border-box;border-radius:var(--cx-border-radius-large);cursor:pointer;flex-direction:column;width:fit-content;display:flex;overflow:hidden}.video-editor-track--selected{border-color:var(--cx-color-primary)}.video-editor-track__name{background-color:var(--cx-color-neutral-100);padding:var(--cx-spacing-3x-small) var(--cx-spacing-x-small);min-height:calc(var(--cx-line-height-large) + var(--cx-spacing-3x-small) * 2);align-items:center;display:flex}.video-editor-track__name__error{color:var(--cx-color-danger-700);font-size:var(--cx-font-size-small)}.video-editor-track--selected .video-editor-track__name{background-color:var(--cx-color-primary-100)}.video-editor-track__frames{background-color:var(--frames-background-color);height:38px;color:var(--frames-color);align-items:center;display:flex;overflow:hidden}.video-editor-track__frames__item{height:100%;min-width:var(--item-min-width);justify-content:center;align-items:center;display:flex;overflow:hidden}.video-editor-track__frames__item__canvas{width:100%;height:100%}.video-editor-track__frames__item img{object-fit:cover;width:auto;height:100%}`;
|
|
144109
|
+
var hjt = Object.defineProperty, gjt = Object.getOwnPropertyDescriptor, Uc = (n, e, t, r) => {
|
|
144110
|
+
for (var i = r > 1 ? void 0 : r ? gjt(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
144109
144111
|
(a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
|
|
144110
|
-
return r && i &&
|
|
144112
|
+
return r && i && hjt(e, t, i), i;
|
|
144111
144113
|
};
|
|
144112
144114
|
let ja = class extends On {
|
|
144113
144115
|
constructor() {
|
|
@@ -144265,7 +144267,7 @@ let ja = class extends On {
|
|
|
144265
144267
|
)}</div></div><slot></slot></div>`;
|
|
144266
144268
|
}
|
|
144267
144269
|
};
|
|
144268
|
-
ja.styles = [Tn,
|
|
144270
|
+
ja.styles = [Tn, pjt];
|
|
144269
144271
|
ja.dependencies = {
|
|
144270
144272
|
"cx-icon": io,
|
|
144271
144273
|
"cx-line-clamp": Bd,
|
|
@@ -144315,11 +144317,11 @@ Uc([
|
|
|
144315
144317
|
ja = Uc([
|
|
144316
144318
|
wn("cx-video-editor-track")
|
|
144317
144319
|
], ja);
|
|
144318
|
-
const
|
|
144319
|
-
var
|
|
144320
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
144320
|
+
const mjt = bn`.video-editor-transition{background-color:var(--cx-color-neutral-500);opacity:.9;border-radius:var(--cx-border-radius-small);border:2px solid var(--cx-color-neutral-500);width:42px;height:calc(100% + 2px);color:var(--cx-color-neutral-0);z-index:1;justify-content:center;align-items:center;display:flex}.video-editor-transition--selected{background-color:var(--cx-color-primary);border-color:var(--cx-color-primary)}`;
|
|
144321
|
+
var fjt = Object.defineProperty, vjt = Object.getOwnPropertyDescriptor, I0 = (n, e, t, r) => {
|
|
144322
|
+
for (var i = r > 1 ? void 0 : r ? vjt(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
144321
144323
|
(a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
|
|
144322
|
-
return r && i &&
|
|
144324
|
+
return r && i && fjt(e, t, i), i;
|
|
144323
144325
|
};
|
|
144324
144326
|
let _p = class extends On {
|
|
144325
144327
|
constructor() {
|
|
@@ -144340,7 +144342,7 @@ let _p = class extends On {
|
|
|
144340
144342
|
})} @click=${this.handleClick}><cx-icon name="commit"></cx-icon></div></cx-popup>`;
|
|
144341
144343
|
}
|
|
144342
144344
|
};
|
|
144343
|
-
_p.styles = [Tn,
|
|
144345
|
+
_p.styles = [Tn, mjt];
|
|
144344
144346
|
_p.dependencies = {
|
|
144345
144347
|
"cx-icon": io,
|
|
144346
144348
|
"cx-popup": Pc
|
|
@@ -144360,11 +144362,11 @@ I0([
|
|
|
144360
144362
|
_p = I0([
|
|
144361
144363
|
wn("cx-video-editor-transition")
|
|
144362
144364
|
], _p);
|
|
144363
|
-
const
|
|
144364
|
-
var
|
|
144365
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
144365
|
+
const yjt = bn`.video-editor-tracks__list{width:max-content;padding:1px 0;display:flex}cx-divider{--spacing:var(--cx-spacing-x-small)}.video-editor-tracks__transition-wrapper{display:flex}`;
|
|
144366
|
+
var bjt = Object.defineProperty, wjt = Object.getOwnPropertyDescriptor, Xi = (n, e, t, r) => {
|
|
144367
|
+
for (var i = r > 1 ? void 0 : r ? wjt(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
144366
144368
|
(a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
|
|
144367
|
-
return r && i &&
|
|
144369
|
+
return r && i && bjt(e, t, i), i;
|
|
144368
144370
|
};
|
|
144369
144371
|
let xi = class extends On {
|
|
144370
144372
|
constructor() {
|
|
@@ -144551,7 +144553,7 @@ let xi = class extends On {
|
|
|
144551
144553
|
return V`<cx-resize-observer @cx-resize=${this.handleScaleFactorChange}><div class="video-editor-tracks" part="base"><div class="video-editor-tracks__scrollable" part="scrollable"><div part="sortable" class="video-editor-tracks__list" @cx-video-editor-track-click=${this.handleTrackSelect} @cx-video-editor-transition-click=${this.handleTransitionSelect} @cx-video-editor-track-canvas-ready=${this.handleTrackCanvasReady}>${Hn(this.tracks, (n) => n.id || n.recordID, this.renderTrack)}</div></div></cx-resize-observer>`;
|
|
144552
144554
|
}
|
|
144553
144555
|
};
|
|
144554
|
-
xi.styles = [Tn,
|
|
144556
|
+
xi.styles = [Tn, yjt];
|
|
144555
144557
|
xi.dependencies = {
|
|
144556
144558
|
"cx-icon": io,
|
|
144557
144559
|
"cx-popup": Pc,
|
|
@@ -144650,13 +144652,13 @@ Xi([
|
|
|
144650
144652
|
xi = Xi([
|
|
144651
144653
|
wn("cx-video-editor-tracks")
|
|
144652
144654
|
], xi);
|
|
144653
|
-
const
|
|
144654
|
-
var
|
|
144655
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
144655
|
+
const xjt = bn`:host{width:100%;display:block}.video-editor{--padding:var(--cx-spacing-small);--cx-button-text-transform:uppercase}.video-editor__controls{width:240px}cx-card{width:100%}cx-range{flex:1}cx-divider{padding-bottom:0}`;
|
|
144656
|
+
var kjt = Object.defineProperty, _jt = Object.getOwnPropertyDescriptor, qa = (n, e, t, r) => {
|
|
144657
|
+
for (var i = r > 1 ? void 0 : r ? _jt(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
144656
144658
|
(a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
|
|
144657
|
-
return r && i &&
|
|
144659
|
+
return r && i && kjt(e, t, i), i;
|
|
144658
144660
|
};
|
|
144659
|
-
const
|
|
144661
|
+
const Cjt = '[data-vf="ReactHost_VideoPlayer_VForm"]', DT = 10;
|
|
144660
144662
|
let $o = class extends On {
|
|
144661
144663
|
constructor() {
|
|
144662
144664
|
super(), this.data = {
|
|
@@ -144704,7 +144706,7 @@ let $o = class extends On {
|
|
|
144704
144706
|
}
|
|
144705
144707
|
handleKeyDown(n) {
|
|
144706
144708
|
const e = n.target;
|
|
144707
|
-
if (!(!e?.closest || n.custom || !e.closest(
|
|
144709
|
+
if (!(!e?.closest || n.custom || !e.closest(Cjt)))
|
|
144708
144710
|
switch (n.key) {
|
|
144709
144711
|
case "Backspace":
|
|
144710
144712
|
case "Delete": {
|
|
@@ -144882,7 +144884,7 @@ let $o = class extends On {
|
|
|
144882
144884
|
)}</div>`;
|
|
144883
144885
|
}
|
|
144884
144886
|
};
|
|
144885
|
-
$o.styles = [Tn,
|
|
144887
|
+
$o.styles = [Tn, xjt];
|
|
144886
144888
|
$o.dependencies = {
|
|
144887
144889
|
"cx-button": ki,
|
|
144888
144890
|
"cx-button-group": d9,
|
|
@@ -144955,29 +144957,29 @@ $o = qa([
|
|
|
144955
144957
|
wn("cx-video-editor")
|
|
144956
144958
|
], $o);
|
|
144957
144959
|
export {
|
|
144958
|
-
|
|
144960
|
+
TGt as CMYK_VALIDATION_REGEX,
|
|
144959
144961
|
Lm as ColorType,
|
|
144960
|
-
|
|
144962
|
+
jWt as CornerPosition,
|
|
144961
144963
|
On as CortexElement,
|
|
144962
144964
|
VR as CortexPopupController,
|
|
144963
144965
|
Lr as Cx3dViewer,
|
|
144964
144966
|
jK as CxAlert,
|
|
144965
|
-
|
|
144966
|
-
|
|
144967
|
-
|
|
144968
|
-
|
|
144967
|
+
Eqt as CxAmChart,
|
|
144968
|
+
Oqt as CxAnimatedImage,
|
|
144969
|
+
Dqt as CxAnimation,
|
|
144970
|
+
Pqt as CxArrayLineClamp,
|
|
144969
144971
|
Ti as CxAssetDataDisplay,
|
|
144970
144972
|
ml as CxAssetFormatPicker,
|
|
144971
144973
|
xX as CxAssetLinkFormat,
|
|
144972
144974
|
C9 as CxAssetPicker,
|
|
144973
144975
|
$i as CxAssetTransformationDialog,
|
|
144974
|
-
|
|
144976
|
+
Lqt as CxAvatar,
|
|
144975
144977
|
Jb as CxBadge,
|
|
144976
144978
|
sr as CxBentoGrid,
|
|
144977
144979
|
UY as CxBicolorPicker,
|
|
144978
144980
|
XR as CxBorderInputGroup,
|
|
144979
|
-
|
|
144980
|
-
|
|
144981
|
+
Bqt as CxBreadcrumb,
|
|
144982
|
+
zqt as CxBreadcrumbItem,
|
|
144981
144983
|
ki as CxButton,
|
|
144982
144984
|
d9 as CxButtonGroup,
|
|
144983
144985
|
Ih as CxCard,
|
|
@@ -144987,8 +144989,8 @@ export {
|
|
|
144987
144989
|
om as CxCheckbox,
|
|
144988
144990
|
Fa as CxClusterManagement,
|
|
144989
144991
|
sk as CxColorPicker,
|
|
144990
|
-
|
|
144991
|
-
|
|
144992
|
+
NWt as CxColorSwatch,
|
|
144993
|
+
gGt as CxColorSwatchGroup,
|
|
144992
144994
|
Ar as CxComment,
|
|
144993
144995
|
S9 as CxConfirmPopover,
|
|
144994
144996
|
pr as CxContentBuilder,
|
|
@@ -145005,16 +145007,16 @@ export {
|
|
|
145005
145007
|
Ql as CxDivider,
|
|
145006
145008
|
_h as CxDocsExample,
|
|
145007
145009
|
qK as CxDotPagination,
|
|
145008
|
-
|
|
145010
|
+
jqt as CxDotStatus,
|
|
145009
145011
|
bs as CxDownloadFormatPicker,
|
|
145010
145012
|
hr as CxDownloader,
|
|
145011
|
-
|
|
145013
|
+
Uqt as CxDrawer,
|
|
145012
145014
|
Rd as CxDropdown,
|
|
145013
145015
|
E9 as CxDynamicSelect,
|
|
145014
|
-
|
|
145015
|
-
|
|
145016
|
+
Vqt as CxEChart,
|
|
145017
|
+
Gqt as CxElementClamp,
|
|
145016
145018
|
Ch as CxEstimatedReadingTime,
|
|
145017
|
-
|
|
145019
|
+
UWt as CxFileOnDemand,
|
|
145018
145020
|
ws as CxFindAndReplace,
|
|
145019
145021
|
A9 as CxFolderSelect,
|
|
145020
145022
|
VK as CxFormatBytes,
|
|
@@ -145026,16 +145028,16 @@ export {
|
|
|
145026
145028
|
am as CxGrid,
|
|
145027
145029
|
sm as CxGridItem,
|
|
145028
145030
|
PR as CxHeader,
|
|
145029
|
-
|
|
145031
|
+
Yqt as CxHubConnection,
|
|
145030
145032
|
io as CxIcon,
|
|
145031
145033
|
yo as CxIconButton,
|
|
145032
145034
|
Gl as CxIconPicker,
|
|
145033
145035
|
ZK as CxIframe,
|
|
145034
145036
|
NR as CxImage,
|
|
145035
|
-
|
|
145036
|
-
|
|
145037
|
+
Jqt as CxImageComparer,
|
|
145038
|
+
Qqt as CxInclude,
|
|
145037
145039
|
jo as CxInput,
|
|
145038
|
-
|
|
145040
|
+
tVt as CxInputGroup,
|
|
145039
145041
|
xs as CxLightbox,
|
|
145040
145042
|
Bd as CxLineClamp,
|
|
145041
145043
|
HY as CxListEditor,
|
|
@@ -145055,223 +145057,223 @@ export {
|
|
|
145055
145057
|
Pc as CxPopup,
|
|
145056
145058
|
fX as CxPositionPicker,
|
|
145057
145059
|
aY as CxProgressBar,
|
|
145058
|
-
|
|
145059
|
-
|
|
145060
|
+
rVt as CxProgressRing,
|
|
145061
|
+
oVt as CxQrCode,
|
|
145060
145062
|
RR as CxRadio,
|
|
145061
145063
|
sY as CxRadioButton,
|
|
145062
145064
|
cY as CxRadioCard,
|
|
145063
145065
|
p9 as CxRadioGroup,
|
|
145064
145066
|
h9 as CxRange,
|
|
145065
|
-
|
|
145066
|
-
|
|
145067
|
+
sVt as CxRating,
|
|
145068
|
+
lVt as CxRelativeTime,
|
|
145067
145069
|
Zb as CxResizeObserver,
|
|
145068
145070
|
Js as CxSearchBox,
|
|
145069
145071
|
ed as CxSelect,
|
|
145070
145072
|
bX as CxShadowInputGroup,
|
|
145071
|
-
|
|
145072
|
-
|
|
145073
|
+
VWt as CxShareOptionList,
|
|
145074
|
+
GWt as CxSidebar,
|
|
145073
145075
|
wX as CxSizeInputGroup,
|
|
145074
|
-
|
|
145076
|
+
uVt as CxSkeleton,
|
|
145075
145077
|
ci as CxSpace,
|
|
145076
|
-
|
|
145078
|
+
iLt as CxSpecialCharactersDialog,
|
|
145077
145079
|
td as CxSpinner,
|
|
145078
|
-
|
|
145080
|
+
hVt as CxSplitPanel,
|
|
145079
145081
|
hl as CxStatCard,
|
|
145080
|
-
|
|
145081
|
-
|
|
145082
|
-
|
|
145082
|
+
mVt as CxStep,
|
|
145083
|
+
vVt as CxStepper,
|
|
145084
|
+
YWt as CxStepperWizard,
|
|
145083
145085
|
gl as CxStorybook,
|
|
145084
145086
|
Qb as CxSwitch,
|
|
145085
145087
|
ck as CxTab,
|
|
145086
145088
|
lk as CxTabGroup,
|
|
145087
145089
|
y9 as CxTabPanel,
|
|
145088
145090
|
v9 as CxTable,
|
|
145089
|
-
|
|
145091
|
+
bVt as CxTag,
|
|
145090
145092
|
ic as CxTemplateSwitcher,
|
|
145091
145093
|
qn as CxTextToSpeech,
|
|
145092
145094
|
BR as CxTextarea,
|
|
145093
145095
|
lY as CxTimecode,
|
|
145094
145096
|
Zs as CxTimeline,
|
|
145095
145097
|
Ho as CxTooltip,
|
|
145096
|
-
|
|
145097
|
-
|
|
145098
|
-
|
|
145098
|
+
xVt as CxTree,
|
|
145099
|
+
kVt as CxTreeItem,
|
|
145100
|
+
JWt as CxTypeface,
|
|
145099
145101
|
mi as CxTypography,
|
|
145100
|
-
|
|
145102
|
+
CVt as CxVideo,
|
|
145101
145103
|
Zl as CxVideoChaptersManager,
|
|
145102
145104
|
$o as CxVideoEditor,
|
|
145103
145105
|
vu as CxViewAndSort,
|
|
145104
145106
|
uY as CxVisuallyHidden,
|
|
145105
|
-
|
|
145107
|
+
eWt as DragScroll,
|
|
145106
145108
|
zn as Easing,
|
|
145107
145109
|
nf as EasingFunction,
|
|
145108
145110
|
jX as FormControlController,
|
|
145109
145111
|
c7 as GsapEasing,
|
|
145110
|
-
|
|
145111
|
-
|
|
145112
|
+
EGt as HEX_ALPHA_VALIDATION_REGEX,
|
|
145113
|
+
AGt as HEX_VALIDATION_REGEX,
|
|
145112
145114
|
_9 as HasSlotController,
|
|
145113
|
-
|
|
145114
|
-
|
|
145115
|
+
tWt as HistoryManager,
|
|
145116
|
+
nWt as KeyboardKey,
|
|
145115
145117
|
Vn as LocalizeController,
|
|
145116
145118
|
Eo as ObjectFit,
|
|
145117
145119
|
Gd as Orientation,
|
|
145118
145120
|
W_ as PRECISION,
|
|
145119
|
-
|
|
145120
|
-
|
|
145121
|
+
fGt as RELATIVE_URL_REGEX,
|
|
145122
|
+
OGt as RGB_VALIDATION_REGEX,
|
|
145121
145123
|
au as TransitionType,
|
|
145122
145124
|
P9 as URL_DOMAIN_VALIDATION_REGEX,
|
|
145123
|
-
|
|
145124
|
-
|
|
145125
|
-
|
|
145126
|
-
|
|
145127
|
-
|
|
145125
|
+
vGt as URL_PROTOCOL_VALIDATION_REGEX,
|
|
145126
|
+
yGt as URL_VALIDATION_REGEX,
|
|
145127
|
+
zGt as activeElements,
|
|
145128
|
+
xGt as adjustRelativeValues,
|
|
145129
|
+
tGt as animateTo,
|
|
145128
145130
|
aB as appendProtocol,
|
|
145129
145131
|
NT as buildTransformationString,
|
|
145130
|
-
|
|
145132
|
+
UGt as calculateAspectRatioFit,
|
|
145131
145133
|
wg as clamp,
|
|
145132
|
-
|
|
145133
|
-
|
|
145134
|
+
qGt as cleanImageFileName,
|
|
145135
|
+
RWt as clearZeroDurationParts,
|
|
145134
145136
|
Tn as componentStyles,
|
|
145135
145137
|
Nm as convertColor,
|
|
145136
|
-
|
|
145138
|
+
aGt as convertDataUnits,
|
|
145137
145139
|
v7 as convertDurationToMilliseconds,
|
|
145138
|
-
|
|
145139
|
-
|
|
145140
|
-
|
|
145140
|
+
sGt as convertPixelsToAspectRatio,
|
|
145141
|
+
VGt as convertSrcToBlob,
|
|
145142
|
+
WGt as cropImage,
|
|
145141
145143
|
JO as cssValueToPx,
|
|
145142
145144
|
wn as customElement,
|
|
145143
|
-
|
|
145145
|
+
NGt as customErrorValidityState,
|
|
145144
145146
|
Mh as debounce,
|
|
145145
145147
|
$X as defaultValue,
|
|
145146
|
-
|
|
145148
|
+
rWt as downloadAsset,
|
|
145147
145149
|
UX as drag,
|
|
145148
|
-
|
|
145149
|
-
|
|
145150
|
-
|
|
145150
|
+
xWt as emptyToSpace,
|
|
145151
|
+
IGt as extractColor,
|
|
145152
|
+
kWt as extractExtension,
|
|
145151
145153
|
NY as extractFrames,
|
|
145152
|
-
|
|
145154
|
+
_Wt as extractRootData,
|
|
145153
145155
|
CX as extractValueAndUnit,
|
|
145154
145156
|
hk as fetchCortexApi,
|
|
145155
|
-
|
|
145156
|
-
|
|
145157
|
-
|
|
145157
|
+
MVt as findAncestorWithBuggyStyle,
|
|
145158
|
+
PVt as findContainingBlock,
|
|
145159
|
+
NVt as findCuttingAncestor,
|
|
145158
145160
|
QO as findFrameByColAndRow,
|
|
145159
145161
|
tg as findIndexByProp,
|
|
145160
|
-
|
|
145161
|
-
|
|
145162
|
-
|
|
145163
|
-
|
|
145162
|
+
LGt as formCollections,
|
|
145163
|
+
cGt as formatAspectRatioString,
|
|
145164
|
+
BWt as formatDurationPartsManually,
|
|
145165
|
+
lGt as formatNumberWithGrouping,
|
|
145164
145166
|
P1 as formatSecondsToTime,
|
|
145165
145167
|
jY as formatTimeToSeconds,
|
|
145166
|
-
|
|
145167
|
-
|
|
145168
|
+
FWt as formatWithIntlDurationFormat,
|
|
145169
|
+
dGt as gcd,
|
|
145168
145170
|
jR as getActiveElement,
|
|
145169
|
-
|
|
145170
|
-
|
|
145171
|
-
|
|
145171
|
+
$Gt as getActiveModals,
|
|
145172
|
+
OVt as getAnimation,
|
|
145173
|
+
TVt as getAnimationNames,
|
|
145172
145174
|
yX as getBreakpointsFromCSS,
|
|
145173
|
-
|
|
145174
|
-
|
|
145175
|
-
|
|
145176
|
-
|
|
145177
|
-
|
|
145178
|
-
|
|
145175
|
+
iWt as getBrowserFontVariants,
|
|
145176
|
+
DGt as getColorType,
|
|
145177
|
+
GGt as getContainedImageSize,
|
|
145178
|
+
VVt as getCortexPopupLayer,
|
|
145179
|
+
WVt as getCurrentZIndex,
|
|
145180
|
+
jGt as getDeepestActiveElement,
|
|
145179
145181
|
m7 as getDeviceType,
|
|
145180
|
-
|
|
145181
|
-
|
|
145182
|
-
|
|
145182
|
+
zWt as getDurationPartsByUnitsFormat,
|
|
145183
|
+
EVt as getEasingNames,
|
|
145184
|
+
GVt as getElementFromHTMLString,
|
|
145183
145185
|
x9 as getElementFromTemplate,
|
|
145184
|
-
|
|
145185
|
-
|
|
145186
|
-
|
|
145187
|
-
|
|
145186
|
+
oWt as getFormControls,
|
|
145187
|
+
QGt as getHighlightedTitle,
|
|
145188
|
+
eKt as getHighlightedTitleHtml,
|
|
145189
|
+
yWt as getInnerHTML,
|
|
145188
145190
|
Jw as getInterval,
|
|
145189
145191
|
Q_ as getLightDarkCssString,
|
|
145190
|
-
|
|
145191
|
-
|
|
145192
|
-
|
|
145193
|
-
|
|
145192
|
+
KGt as getNaturalWidthHeight,
|
|
145193
|
+
KVt as getNeededPaddingForBoxShadow,
|
|
145194
|
+
LVt as getNextAncestor,
|
|
145195
|
+
HVt as getOffset,
|
|
145194
145196
|
V_ as getRelativeClickPercentage,
|
|
145195
|
-
|
|
145197
|
+
CWt as getRootIDString,
|
|
145196
145198
|
kX as getTabbableBoundary,
|
|
145197
|
-
|
|
145198
|
-
|
|
145199
|
+
QWt as getTabbableElements,
|
|
145200
|
+
bWt as getTextContent,
|
|
145199
145201
|
b7 as groupBy,
|
|
145200
|
-
|
|
145202
|
+
kGt as insertAtIndex,
|
|
145201
145203
|
LY as insertFrameToCache,
|
|
145202
145204
|
sB as insertMultipleAtIndex,
|
|
145203
|
-
|
|
145205
|
+
RVt as isChrome,
|
|
145204
145206
|
TX as isCortexAdobePlugin,
|
|
145205
145207
|
ZO as isDomElement,
|
|
145206
|
-
|
|
145207
|
-
|
|
145208
|
-
|
|
145208
|
+
YVt as isElementInHorizontalView,
|
|
145209
|
+
BVt as isFirefox,
|
|
145210
|
+
aWt as isFontFamilyAvailable,
|
|
145209
145211
|
MY as isFormInteracted,
|
|
145210
145212
|
KR as isGalleryItemCardType,
|
|
145211
145213
|
pY as isIOS,
|
|
145212
145214
|
HR as isInElement,
|
|
145213
145215
|
qR as isModKey,
|
|
145214
|
-
|
|
145215
|
-
|
|
145216
|
-
|
|
145216
|
+
FVt as isSafari,
|
|
145217
|
+
YGt as isSaveSrcValid,
|
|
145218
|
+
bGt as isValidUrl,
|
|
145217
145219
|
eg as loadScript,
|
|
145218
145220
|
GO as lockBodyScrolling,
|
|
145219
|
-
|
|
145221
|
+
MGt as luminanceTextColor,
|
|
145220
145222
|
y7 as moveMultipleToIndex,
|
|
145221
|
-
|
|
145223
|
+
_Gt as moveToIndex,
|
|
145222
145224
|
OX as multiSelectTo,
|
|
145223
145225
|
PY as omit,
|
|
145224
|
-
|
|
145225
|
-
|
|
145226
|
-
|
|
145227
|
-
|
|
145228
|
-
|
|
145226
|
+
sWt as openAssetOverview,
|
|
145227
|
+
cWt as openFolderOverview,
|
|
145228
|
+
lWt as openLink,
|
|
145229
|
+
SWt as padPath,
|
|
145230
|
+
TWt as parseBooleanString,
|
|
145229
145231
|
pB as parseBorder,
|
|
145230
|
-
|
|
145231
|
-
|
|
145232
|
+
nGt as parseDuration,
|
|
145233
|
+
dWt as parseJsonString,
|
|
145232
145234
|
NX as parseLightDark,
|
|
145233
|
-
|
|
145235
|
+
uWt as parseListString,
|
|
145234
145236
|
LX as parseShadow,
|
|
145235
|
-
|
|
145236
|
-
|
|
145237
|
+
pWt as pick,
|
|
145238
|
+
zVt as popoverSupported,
|
|
145237
145239
|
f7 as prefersReducedMotion,
|
|
145238
145240
|
MT as readLocalStorageValue,
|
|
145239
|
-
|
|
145240
|
-
|
|
145241
|
-
|
|
145241
|
+
EWt as reducePathToDirectChild,
|
|
145242
|
+
ZVt as registerTranslation,
|
|
145243
|
+
CGt as removeAtIndex,
|
|
145242
145244
|
AX as removeMultipleAtIndex,
|
|
145243
|
-
|
|
145244
|
-
|
|
145245
|
-
|
|
145246
|
-
|
|
145245
|
+
XGt as resizeImage,
|
|
145246
|
+
uGt as rotateBox,
|
|
145247
|
+
JGt as rotateImage,
|
|
145248
|
+
AWt as safeExtension,
|
|
145247
145249
|
i7 as safeString,
|
|
145248
145250
|
o7 as sanitizeHTML,
|
|
145249
|
-
|
|
145250
|
-
|
|
145251
|
-
|
|
145251
|
+
pGt as sanitizeRotation,
|
|
145252
|
+
UVt as scrollIntoView,
|
|
145253
|
+
hWt as serialize,
|
|
145252
145254
|
WO as setAnimation,
|
|
145253
|
-
|
|
145254
|
-
|
|
145255
|
-
|
|
145256
|
-
|
|
145257
|
-
|
|
145255
|
+
IVt as setDefaultAnimation,
|
|
145256
|
+
gWt as shareAsset,
|
|
145257
|
+
rGt as shimKeyframesHeightAuto,
|
|
145258
|
+
XVt as sortByTopPosition,
|
|
145259
|
+
mWt as sortTypefaceVariants,
|
|
145258
145260
|
HX as splitBoxValues,
|
|
145259
145261
|
zY as splitCamelCaseFormatted,
|
|
145260
|
-
|
|
145261
|
-
|
|
145262
|
-
|
|
145262
|
+
iGt as stopAnimations,
|
|
145263
|
+
$Vt as supportHLS,
|
|
145264
|
+
fWt as testFontAvailability,
|
|
145263
145265
|
SX as timecodeConverter,
|
|
145264
|
-
|
|
145265
|
-
|
|
145266
|
-
|
|
145266
|
+
OWt as toCamelCase,
|
|
145267
|
+
IWt as toKebabCase,
|
|
145268
|
+
DWt as toPascalCase,
|
|
145267
145269
|
EX as toRelativeUrl,
|
|
145268
|
-
|
|
145270
|
+
MWt as toTitleCase,
|
|
145269
145271
|
il as toast,
|
|
145270
145272
|
a7 as truncateTextMiddle,
|
|
145271
145273
|
KO as unlockBodyScrolling,
|
|
145272
145274
|
$Y as upperFirst,
|
|
145273
|
-
|
|
145274
|
-
|
|
145275
|
+
RGt as validValidityState,
|
|
145276
|
+
BGt as valueMissingValidityState,
|
|
145275
145277
|
_X as waitForEvent,
|
|
145276
145278
|
Tt as watch,
|
|
145277
145279
|
DY as writeLocalStorageValue
|