ss-component-new 1.2.22 → 1.2.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{MTLLoader-Cgu6hVsY.cjs → MTLLoader-B8MnfNfT.cjs} +1 -1
- package/dist/{MTLLoader-6BGR4SPQ.js → MTLLoader-BD3cbBAW.js} +1 -1
- package/dist/{OrbitControls-KuEu6kM3.cjs → OrbitControls-2UHRU9Fu.cjs} +1 -1
- package/dist/{OrbitControls-CqrkpfUW.js → OrbitControls-D1pz0uFI.js} +1 -1
- package/dist/{animationData-FMGneVai.cjs → animationData-Bwh55Xw6.cjs} +1 -1
- package/dist/{animationData-OlBnUG8w.js → animationData-D0TJ-9dd.js} +4 -4
- package/dist/array-DMPAgNcb.cjs +11 -0
- package/dist/array-DTXrs6ZK.js +1207 -0
- package/dist/{dataUtil-DPRubJA4.js → dataUtil-gEKo7CEq.js} +2 -2
- package/dist/{dataUtil-D2dUTgHP.cjs → dataUtil-i5X2xhin.cjs} +1 -1
- package/dist/{fileUtil-D4f4EJ9p.js → fileUtil-CN00xr9W.js} +1 -1
- package/dist/{fileUtil-DWuPXxGz.cjs → fileUtil-GIRXMs25.cjs} +1 -1
- package/dist/{iconfont-CiYOe1nN.cjs → iconfont-C9-pGpAJ.cjs} +1 -1
- package/dist/{iconfont-D1aDkauN.js → iconfont-DTSZW2AU.js} +2 -2
- package/dist/icons/svg/LowCodeEvent.svg +1 -1
- package/dist/icons/svg/LowCodeExtend.svg +1 -1
- package/dist/icons/svg/LowCodeSetting.svg +1 -1
- package/dist/icons/svg/LowCodeStyle.svg +1 -1
- package/dist/{index-Dv32OdnH.js → index-2fqHNrPg.js} +4 -4
- package/dist/{index-CfrqPhLf.cjs → index-7Ru3e632.cjs} +1 -1
- package/dist/{index-DyA4ALuY.cjs → index-7gU0r1We.cjs} +1 -1
- package/dist/{index-Cgs7cequ.js → index-7oJ8Ile4.js} +1 -1
- package/dist/{index-C9o3guTc.js → index-B0dydZDW.js} +17 -17
- package/dist/{index-CIn_YMID.js → index-BD5yZDAq.js} +2 -2
- package/dist/index-BLwwxnzs.cjs +1 -0
- package/dist/{index-BQ1gqL2T.cjs → index-BNYeBPmi.cjs} +1 -1
- package/dist/{index-DEBf-IBT.cjs → index-BOJUyAaV.cjs} +9 -9
- package/dist/{index-BsXwkKZt.js → index-BQBxzTyE.js} +2 -2
- package/dist/{index-CJhLlcnS.js → index-BTTpV9o2.js} +3 -3
- package/dist/{index-CdNhl58g.cjs → index-BTfg83yY.cjs} +1 -1
- package/dist/{index-CkdrE77c.js → index-BVFL7Z_0.js} +3 -3
- package/dist/index-BVdolwlx.js +7293 -0
- package/dist/{index-D_zs3Ywk.cjs → index-BXEOQo2c.cjs} +1 -1
- package/dist/{index-C0eoTBsi.js → index-Be1LJMUR.js} +2 -2
- package/dist/{index-y9I5saNf.cjs → index-BkIFY0hK.cjs} +1 -1
- package/dist/{index-BvyKSIqa.js → index-Bm3FE_ss.js} +3 -3
- package/dist/{index-i1HrhN2m.js → index-BpTrDbkf.js} +4 -4
- package/dist/{index-DcgnW8IS.js → index-Bt2MaT2G.js} +6 -6
- package/dist/{index-BOwTBtjA.js → index-BuSsSHAY.js} +2733 -2817
- package/dist/{index-Vo9hn1HO.js → index-Bvk4OpkL.js} +2 -2
- package/dist/{index-Br1HQap-.js → index-BwEfrokO.js} +2 -2
- package/dist/{index-dJ_vyooa.cjs → index-C54wX50t.cjs} +1 -1
- package/dist/{index-CMSMrWWB.cjs → index-C6C5VWbs.cjs} +1 -1
- package/dist/{index-wFocLxVz.cjs → index-CADH_aSQ.cjs} +1 -1
- package/dist/{index-GVURdQmb.cjs → index-CFriKZ-T.cjs} +1 -1
- package/dist/index-CK54pscx.cjs +1 -0
- package/dist/{index-DdYGa8y9.js → index-Cl6HMOao.js} +1 -1
- package/dist/{index-C1xFocJD.js → index-CptCatmL.js} +2 -2
- package/dist/{index-BdEr19ln.js → index-CqYUVCh5.js} +12 -12
- package/dist/index-CsOz5vsv.cjs +1 -0
- package/dist/{index-kFjfkR4F.cjs → index-CtXpoEg0.cjs} +1 -1
- package/dist/{index-Dw_mx2E5.js → index-CvC2498b.js} +2 -2
- package/dist/{index-DN2RDo7w.js → index-CvrBt7bU.js} +3 -3
- package/dist/{index-B0mK1X2Z.js → index-D4pN9YmB.js} +2 -2
- package/dist/index-D8Y3imz9.cjs +1 -0
- package/dist/index-DEEZPcpU.cjs +1 -0
- package/dist/index-DEs8s152.js +3621 -0
- package/dist/{index-DV1Onr_-.cjs → index-DHp714Ep.cjs} +1 -1
- package/dist/index-DMbCaqEC.cjs +15 -0
- package/dist/{index-C7Wgog15.js → index-DNs9XPOG.js} +2 -2
- package/dist/{index-B3vewIE0.js → index-DOhvzke2.js} +5 -5
- package/dist/index-DPX3w6cO.js +2643 -0
- package/dist/{index-D6aL_qQ4.cjs → index-DQ3y1xkr.cjs} +1 -1
- package/dist/{index-Gqf0Dw_K.cjs → index-DR9beXhk.cjs} +1 -1
- package/dist/{index-C8YYklCT.cjs → index-DSchKIyh.cjs} +1 -1
- package/dist/{index-vIQwCbI-.cjs → index-DSlPg3dk.cjs} +1 -1
- package/dist/{index-CYvWTBiC.cjs → index-DbCNaQ87.cjs} +1 -1
- package/dist/{index-B1KcMjms.cjs → index-Dfwm0xPp.cjs} +1 -1
- package/dist/index-DiRBJiMW.js +43 -0
- package/dist/{index-BuQNI1CB.js → index-DlIkbsRf.js} +6 -6
- package/dist/{index-B__9hFoC.cjs → index-DllJulGH.cjs} +1 -1
- package/dist/{index-BJadEVee.js → index-Dm_WlV6R.js} +5542 -5543
- package/dist/{index-D4nuGSp1.cjs → index-Do8zI4DM.cjs} +1 -1
- package/dist/{index-7w9QLGZ8.cjs → index-DrWIUUZK.cjs} +1 -1
- package/dist/index-G_cKl_J4.js +2379 -0
- package/dist/{index-CkJaR30x.js → index-NlkdTb--.js} +4 -4
- package/dist/{index-CuYt_7-p.js → index-ThNNBX7h.js} +1 -1
- package/dist/{index-DzuOO-jn.js → index-XXKsLOYd.js} +2 -2
- package/dist/{index-_7Qm6usF.cjs → index-dwX_BHyo.cjs} +1 -1
- package/dist/{index-D-ygp57X.cjs → index-eH9RMVXv.cjs} +1 -1
- package/dist/index-pmcRbjPd.cjs +1 -0
- package/dist/{index-B5KCSN4c.cjs → index-tttYIzsn.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bhj73Dii.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CtycIAIT.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DAjyk3_9.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D6X3fCNs.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-DbaX17jD.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-De0avjy5.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-B0Slk6gv.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-DhMDLOg8.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_980cb04a_lang-BmYxcD8z.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-CEcxaThh.js} +13 -13
- package/dist/{index.vue_vue_type_style_index_0_scoped_980cb04a_lang-DGpKXuuO.cjs → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-DLuOs1IZ.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-8MlG6f_5.js → index.vue_vue_type_style_index_1_lang-B0l6QIWy.js} +531 -536
- package/dist/{index.vue_vue_type_style_index_1_lang-BMAOkg3Y.cjs → index.vue_vue_type_style_index_1_lang-CC1o5rIu.cjs} +8 -8
- package/dist/{index.vue_vue_type_style_index_1_lang-C5-R1ghT.cjs → index.vue_vue_type_style_index_1_lang-Chzrrthw.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-QVwLsuO7.js → index.vue_vue_type_style_index_1_lang-DzZEPkuk.js} +5 -5
- package/dist/{isString-D6Z6SOrb.cjs → isString-CELwppr9.cjs} +1 -1
- package/dist/{isString-DOZgMp8l.js → isString-DvY0kl3S.js} +1 -1
- package/dist/{main-BCD-Orm3.js → main-DQXqHTYg.js} +5 -5
- package/dist/{main-DUUTokjq.cjs → main-yiUkyrA7.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +12 -12
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/{threeModel-DWfIRtBe.js → threeModel-BiWZCOOI.js} +5 -5
- package/dist/{threeModel-D-cNRyXR.cjs → threeModel-Cva5i9Dy.cjs} +1 -1
- package/dist/{threePreview-CB4s2usq.cjs → threePreview-BNvDY6xx.cjs} +1 -1
- package/dist/{threePreview-BelyhkDx.js → threePreview-CjFKHY3_.js} +4 -4
- package/dist/{threeSceneView-9pPPVjCA.cjs → threeSceneView-DM8uof_D.cjs} +1 -1
- package/dist/{threeSceneView-C66YfUi3.js → threeSceneView-DPTQ_xR-.js} +11 -11
- package/dist/{threeSceneViewForCPMPIP-WBguXbnU.js → threeSceneViewForCPMPIP-Bqb44i-c.js} +50 -50
- package/dist/{threeSceneViewForCPMPIP-DLVSylJ7.cjs → threeSceneViewForCPMPIP-D5jl1r-h.cjs} +1 -1
- package/dist/{threeTrackPathView-DxO-9BKu.js → threeTrackPathView-BvxoafSz.js} +6 -6
- package/dist/{threeTrackPathView-C4c7FI2n.cjs → threeTrackPathView-DgnuPrBe.cjs} +1 -1
- package/dist/{threeViewerHost-CNs819Rf.js → threeViewerHost-CKmZPGir.js} +4 -4
- package/dist/{threeViewerHost-Ihdu1cjR.cjs → threeViewerHost-D80V4Cfh.cjs} +1 -1
- package/dist/{urdfTree-CLhAUUAD.js → urdfTree-BxuavyNQ.js} +1 -1
- package/dist/{urdfTree-Di3A1LA8.cjs → urdfTree-wR2vnG4s.cjs} +1 -1
- package/dist/{workpieceTreePanel-CzDrMcRN.cjs → workpieceTreePanel-C2BXrv3k.cjs} +1 -1
- package/dist/{workpieceTreePanel--iaoqT8x.js → workpieceTreePanel-CSKzSdIt.js} +5 -5
- package/package.json +1 -1
- package/public/icons/svg/LowCodeEvent.svg +1 -1
- package/public/icons/svg/LowCodeExtend.svg +1 -1
- package/public/icons/svg/LowCodeSetting.svg +1 -1
- package/public/icons/svg/LowCodeStyle.svg +1 -1
- package/dist/array-Ct7vOLI-.cjs +0 -11
- package/dist/array-W5079asF.js +0 -691
- package/dist/index-4WD9Ho5n.js +0 -2933
- package/dist/index-BA9JRDoC.cjs +0 -1
- package/dist/index-BVaHwt5f.cjs +0 -1
- package/dist/index-CFI3jKGA.js +0 -2671
- package/dist/index-CO41Br9G.cjs +0 -1
- package/dist/index-CTq3U1p_.cjs +0 -1
- package/dist/index-CvZk_MDD.cjs +0 -15
- package/dist/index-Db9w-sM_.cjs +0 -1
- package/dist/index-DitsEkB9.js +0 -673
- package/dist/index-DooNp_Nd.js +0 -12047
- package/dist/index-JAuJmfCC.cjs +0 -1
- package/dist/index-rlStojTL.js +0 -52
|
@@ -0,0 +1,1207 @@
|
|
|
1
|
+
import { watch as Ee, unref as Ue, getCurrentScope as Le, onScopeDispose as We, computed as Oe, ref as q, reactive as De } from "vue";
|
|
2
|
+
import { c as s } from "./index-Dm_WlV6R.js";
|
|
3
|
+
const Je = typeof window < "u";
|
|
4
|
+
var ie;
|
|
5
|
+
Je && ((ie = window == null ? void 0 : window.navigator) != null && ie.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
6
|
+
function Pt(e) {
|
|
7
|
+
return e == null;
|
|
8
|
+
}
|
|
9
|
+
function Te() {
|
|
10
|
+
}
|
|
11
|
+
const Ve = Object.freeze({
|
|
12
|
+
aliceblue: "f0f8ff",
|
|
13
|
+
antiquewhite: "faebd7",
|
|
14
|
+
aqua: "0ff",
|
|
15
|
+
aquamarine: "7fffd4",
|
|
16
|
+
azure: "f0ffff",
|
|
17
|
+
beige: "f5f5dc",
|
|
18
|
+
bisque: "ffe4c4",
|
|
19
|
+
black: "000",
|
|
20
|
+
blanchedalmond: "ffebcd",
|
|
21
|
+
blue: "00f",
|
|
22
|
+
blueviolet: "8a2be2",
|
|
23
|
+
brown: "a52a2a",
|
|
24
|
+
burlywood: "deb887",
|
|
25
|
+
burntsienna: "ea7e5d",
|
|
26
|
+
cadetblue: "5f9ea0",
|
|
27
|
+
chartreuse: "7fff00",
|
|
28
|
+
chocolate: "d2691e",
|
|
29
|
+
coral: "ff7f50",
|
|
30
|
+
cornflowerblue: "6495ed",
|
|
31
|
+
cornsilk: "fff8dc",
|
|
32
|
+
crimson: "dc143c",
|
|
33
|
+
cyan: "0ff",
|
|
34
|
+
darkblue: "00008b",
|
|
35
|
+
darkcyan: "008b8b",
|
|
36
|
+
darkgoldenrod: "b8860b",
|
|
37
|
+
darkgray: "a9a9a9",
|
|
38
|
+
darkgreen: "006400",
|
|
39
|
+
darkgrey: "a9a9a9",
|
|
40
|
+
darkkhaki: "bdb76b",
|
|
41
|
+
darkmagenta: "8b008b",
|
|
42
|
+
darkolivegreen: "556b2f",
|
|
43
|
+
darkorange: "ff8c00",
|
|
44
|
+
darkorchid: "9932cc",
|
|
45
|
+
darkred: "8b0000",
|
|
46
|
+
darksalmon: "e9967a",
|
|
47
|
+
darkseagreen: "8fbc8f",
|
|
48
|
+
darkslateblue: "483d8b",
|
|
49
|
+
darkslategray: "2f4f4f",
|
|
50
|
+
darkslategrey: "2f4f4f",
|
|
51
|
+
darkturquoise: "00ced1",
|
|
52
|
+
darkviolet: "9400d3",
|
|
53
|
+
deeppink: "ff1493",
|
|
54
|
+
deepskyblue: "00bfff",
|
|
55
|
+
dimgray: "696969",
|
|
56
|
+
dimgrey: "696969",
|
|
57
|
+
dodgerblue: "1e90ff",
|
|
58
|
+
firebrick: "b22222",
|
|
59
|
+
floralwhite: "fffaf0",
|
|
60
|
+
forestgreen: "228b22",
|
|
61
|
+
fuchsia: "f0f",
|
|
62
|
+
gainsboro: "dcdcdc",
|
|
63
|
+
ghostwhite: "f8f8ff",
|
|
64
|
+
gold: "ffd700",
|
|
65
|
+
goldenrod: "daa520",
|
|
66
|
+
gray: "808080",
|
|
67
|
+
green: "008000",
|
|
68
|
+
greenyellow: "adff2f",
|
|
69
|
+
grey: "808080",
|
|
70
|
+
honeydew: "f0fff0",
|
|
71
|
+
hotpink: "ff69b4",
|
|
72
|
+
indianred: "cd5c5c",
|
|
73
|
+
indigo: "4b0082",
|
|
74
|
+
ivory: "fffff0",
|
|
75
|
+
khaki: "f0e68c",
|
|
76
|
+
lavender: "e6e6fa",
|
|
77
|
+
lavenderblush: "fff0f5",
|
|
78
|
+
lawngreen: "7cfc00",
|
|
79
|
+
lemonchiffon: "fffacd",
|
|
80
|
+
lightblue: "add8e6",
|
|
81
|
+
lightcoral: "f08080",
|
|
82
|
+
lightcyan: "e0ffff",
|
|
83
|
+
lightgoldenrodyellow: "fafad2",
|
|
84
|
+
lightgray: "d3d3d3",
|
|
85
|
+
lightgreen: "90ee90",
|
|
86
|
+
lightgrey: "d3d3d3",
|
|
87
|
+
lightpink: "ffb6c1",
|
|
88
|
+
lightsalmon: "ffa07a",
|
|
89
|
+
lightseagreen: "20b2aa",
|
|
90
|
+
lightskyblue: "87cefa",
|
|
91
|
+
lightslategray: "789",
|
|
92
|
+
lightslategrey: "789",
|
|
93
|
+
lightsteelblue: "b0c4de",
|
|
94
|
+
lightyellow: "ffffe0",
|
|
95
|
+
lime: "0f0",
|
|
96
|
+
limegreen: "32cd32",
|
|
97
|
+
linen: "faf0e6",
|
|
98
|
+
magenta: "f0f",
|
|
99
|
+
maroon: "800000",
|
|
100
|
+
mediumaquamarine: "66cdaa",
|
|
101
|
+
mediumblue: "0000cd",
|
|
102
|
+
mediumorchid: "ba55d3",
|
|
103
|
+
mediumpurple: "9370db",
|
|
104
|
+
mediumseagreen: "3cb371",
|
|
105
|
+
mediumslateblue: "7b68ee",
|
|
106
|
+
mediumspringgreen: "00fa9a",
|
|
107
|
+
mediumturquoise: "48d1cc",
|
|
108
|
+
mediumvioletred: "c71585",
|
|
109
|
+
midnightblue: "191970",
|
|
110
|
+
mintcream: "f5fffa",
|
|
111
|
+
mistyrose: "ffe4e1",
|
|
112
|
+
moccasin: "ffe4b5",
|
|
113
|
+
navajowhite: "ffdead",
|
|
114
|
+
navy: "000080",
|
|
115
|
+
oldlace: "fdf5e6",
|
|
116
|
+
olive: "808000",
|
|
117
|
+
olivedrab: "6b8e23",
|
|
118
|
+
orange: "ffa500",
|
|
119
|
+
orangered: "ff4500",
|
|
120
|
+
orchid: "da70d6",
|
|
121
|
+
palegoldenrod: "eee8aa",
|
|
122
|
+
palegreen: "98fb98",
|
|
123
|
+
paleturquoise: "afeeee",
|
|
124
|
+
palevioletred: "db7093",
|
|
125
|
+
papayawhip: "ffefd5",
|
|
126
|
+
peachpuff: "ffdab9",
|
|
127
|
+
peru: "cd853f",
|
|
128
|
+
pink: "ffc0cb",
|
|
129
|
+
plum: "dda0dd",
|
|
130
|
+
powderblue: "b0e0e6",
|
|
131
|
+
purple: "800080",
|
|
132
|
+
rebeccapurple: "663399",
|
|
133
|
+
red: "f00",
|
|
134
|
+
rosybrown: "bc8f8f",
|
|
135
|
+
royalblue: "4169e1",
|
|
136
|
+
saddlebrown: "8b4513",
|
|
137
|
+
salmon: "fa8072",
|
|
138
|
+
sandybrown: "f4a460",
|
|
139
|
+
seagreen: "2e8b57",
|
|
140
|
+
seashell: "fff5ee",
|
|
141
|
+
sienna: "a0522d",
|
|
142
|
+
silver: "c0c0c0",
|
|
143
|
+
skyblue: "87ceeb",
|
|
144
|
+
slateblue: "6a5acd",
|
|
145
|
+
slategray: "708090",
|
|
146
|
+
slategrey: "708090",
|
|
147
|
+
snow: "fffafa",
|
|
148
|
+
springgreen: "00ff7f",
|
|
149
|
+
steelblue: "4682b4",
|
|
150
|
+
tan: "d2b48c",
|
|
151
|
+
teal: "008080",
|
|
152
|
+
thistle: "d8bfd8",
|
|
153
|
+
tomato: "ff6347",
|
|
154
|
+
turquoise: "40e0d0",
|
|
155
|
+
violet: "ee82ee",
|
|
156
|
+
wheat: "f5deb3",
|
|
157
|
+
white: "fff",
|
|
158
|
+
whitesmoke: "f5f5f5",
|
|
159
|
+
yellow: "ff0",
|
|
160
|
+
yellowgreen: "9acd32"
|
|
161
|
+
});
|
|
162
|
+
Object.freeze(new Set(Object.keys(Ve)));
|
|
163
|
+
function Mt() {
|
|
164
|
+
const e = /* @__PURE__ */ new Map();
|
|
165
|
+
return {
|
|
166
|
+
on(t, r) {
|
|
167
|
+
const n = e.get(t);
|
|
168
|
+
n != null && n.add(r) || e.set(t, /* @__PURE__ */ new Set([r]));
|
|
169
|
+
},
|
|
170
|
+
off(t, r) {
|
|
171
|
+
const n = e.get(t);
|
|
172
|
+
n && n.delete(r);
|
|
173
|
+
},
|
|
174
|
+
clear(t) {
|
|
175
|
+
const r = e.get(t);
|
|
176
|
+
r && r.clear();
|
|
177
|
+
},
|
|
178
|
+
clearAll() {
|
|
179
|
+
e.clear();
|
|
180
|
+
},
|
|
181
|
+
emit(t, ...r) {
|
|
182
|
+
const n = e.get(t);
|
|
183
|
+
n && n.forEach((o) => {
|
|
184
|
+
o(...r);
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
function Ut(e, t = 16) {
|
|
190
|
+
if (typeof e != "function")
|
|
191
|
+
return Te;
|
|
192
|
+
const r = (...a) => {
|
|
193
|
+
e(...a);
|
|
194
|
+
};
|
|
195
|
+
if (t <= 0)
|
|
196
|
+
return Se(r);
|
|
197
|
+
let n = 0, o;
|
|
198
|
+
return function(...a) {
|
|
199
|
+
const i = Date.now(), l = i - n;
|
|
200
|
+
clearTimeout(o), l >= t ? (n = i, r(...a)) : o = setTimeout(
|
|
201
|
+
() => {
|
|
202
|
+
n = Date.now(), r(...a);
|
|
203
|
+
},
|
|
204
|
+
Math.max(0, t - l)
|
|
205
|
+
);
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
function Lt(e, t = 100) {
|
|
209
|
+
if (typeof e != "function")
|
|
210
|
+
return Te;
|
|
211
|
+
const r = (...o) => {
|
|
212
|
+
e(...o);
|
|
213
|
+
};
|
|
214
|
+
if (t <= 0)
|
|
215
|
+
return Se(r);
|
|
216
|
+
let n;
|
|
217
|
+
return function(...o) {
|
|
218
|
+
clearTimeout(n), n = setTimeout(() => {
|
|
219
|
+
r(...o);
|
|
220
|
+
}, t);
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
function Se(e) {
|
|
224
|
+
if (typeof e != "function")
|
|
225
|
+
return e;
|
|
226
|
+
let t = !1, r, n;
|
|
227
|
+
return function(...o) {
|
|
228
|
+
return r = o, t || (t = !0, n = Promise.resolve().then(() => (t = !1, n = void 0, e(...r)))), n;
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
const L = /* @__PURE__ */ new Set(), Ae = /* @__PURE__ */ new WeakMap();
|
|
232
|
+
function Ie() {
|
|
233
|
+
L.forEach((e) => {
|
|
234
|
+
e(...Ae.get(e));
|
|
235
|
+
}), L.clear();
|
|
236
|
+
}
|
|
237
|
+
function Wt(e, ...t) {
|
|
238
|
+
if (typeof e != "function")
|
|
239
|
+
return e;
|
|
240
|
+
Ae.set(e, t), !L.has(e) && (L.add(e), L.size === 1 && Promise.resolve().then(Ie));
|
|
241
|
+
}
|
|
242
|
+
const C = typeof window < "u";
|
|
243
|
+
var se;
|
|
244
|
+
C && (se = window == null ? void 0 : window.navigator) != null && se.userAgent && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
245
|
+
function le(e) {
|
|
246
|
+
return e != null;
|
|
247
|
+
}
|
|
248
|
+
function ce() {
|
|
249
|
+
}
|
|
250
|
+
const Xe = Object.freeze({
|
|
251
|
+
aliceblue: "f0f8ff",
|
|
252
|
+
antiquewhite: "faebd7",
|
|
253
|
+
aqua: "0ff",
|
|
254
|
+
aquamarine: "7fffd4",
|
|
255
|
+
azure: "f0ffff",
|
|
256
|
+
beige: "f5f5dc",
|
|
257
|
+
bisque: "ffe4c4",
|
|
258
|
+
black: "000",
|
|
259
|
+
blanchedalmond: "ffebcd",
|
|
260
|
+
blue: "00f",
|
|
261
|
+
blueviolet: "8a2be2",
|
|
262
|
+
brown: "a52a2a",
|
|
263
|
+
burlywood: "deb887",
|
|
264
|
+
burntsienna: "ea7e5d",
|
|
265
|
+
cadetblue: "5f9ea0",
|
|
266
|
+
chartreuse: "7fff00",
|
|
267
|
+
chocolate: "d2691e",
|
|
268
|
+
coral: "ff7f50",
|
|
269
|
+
cornflowerblue: "6495ed",
|
|
270
|
+
cornsilk: "fff8dc",
|
|
271
|
+
crimson: "dc143c",
|
|
272
|
+
cyan: "0ff",
|
|
273
|
+
darkblue: "00008b",
|
|
274
|
+
darkcyan: "008b8b",
|
|
275
|
+
darkgoldenrod: "b8860b",
|
|
276
|
+
darkgray: "a9a9a9",
|
|
277
|
+
darkgreen: "006400",
|
|
278
|
+
darkgrey: "a9a9a9",
|
|
279
|
+
darkkhaki: "bdb76b",
|
|
280
|
+
darkmagenta: "8b008b",
|
|
281
|
+
darkolivegreen: "556b2f",
|
|
282
|
+
darkorange: "ff8c00",
|
|
283
|
+
darkorchid: "9932cc",
|
|
284
|
+
darkred: "8b0000",
|
|
285
|
+
darksalmon: "e9967a",
|
|
286
|
+
darkseagreen: "8fbc8f",
|
|
287
|
+
darkslateblue: "483d8b",
|
|
288
|
+
darkslategray: "2f4f4f",
|
|
289
|
+
darkslategrey: "2f4f4f",
|
|
290
|
+
darkturquoise: "00ced1",
|
|
291
|
+
darkviolet: "9400d3",
|
|
292
|
+
deeppink: "ff1493",
|
|
293
|
+
deepskyblue: "00bfff",
|
|
294
|
+
dimgray: "696969",
|
|
295
|
+
dimgrey: "696969",
|
|
296
|
+
dodgerblue: "1e90ff",
|
|
297
|
+
firebrick: "b22222",
|
|
298
|
+
floralwhite: "fffaf0",
|
|
299
|
+
forestgreen: "228b22",
|
|
300
|
+
fuchsia: "f0f",
|
|
301
|
+
gainsboro: "dcdcdc",
|
|
302
|
+
ghostwhite: "f8f8ff",
|
|
303
|
+
gold: "ffd700",
|
|
304
|
+
goldenrod: "daa520",
|
|
305
|
+
gray: "808080",
|
|
306
|
+
green: "008000",
|
|
307
|
+
greenyellow: "adff2f",
|
|
308
|
+
grey: "808080",
|
|
309
|
+
honeydew: "f0fff0",
|
|
310
|
+
hotpink: "ff69b4",
|
|
311
|
+
indianred: "cd5c5c",
|
|
312
|
+
indigo: "4b0082",
|
|
313
|
+
ivory: "fffff0",
|
|
314
|
+
khaki: "f0e68c",
|
|
315
|
+
lavender: "e6e6fa",
|
|
316
|
+
lavenderblush: "fff0f5",
|
|
317
|
+
lawngreen: "7cfc00",
|
|
318
|
+
lemonchiffon: "fffacd",
|
|
319
|
+
lightblue: "add8e6",
|
|
320
|
+
lightcoral: "f08080",
|
|
321
|
+
lightcyan: "e0ffff",
|
|
322
|
+
lightgoldenrodyellow: "fafad2",
|
|
323
|
+
lightgray: "d3d3d3",
|
|
324
|
+
lightgreen: "90ee90",
|
|
325
|
+
lightgrey: "d3d3d3",
|
|
326
|
+
lightpink: "ffb6c1",
|
|
327
|
+
lightsalmon: "ffa07a",
|
|
328
|
+
lightseagreen: "20b2aa",
|
|
329
|
+
lightskyblue: "87cefa",
|
|
330
|
+
lightslategray: "789",
|
|
331
|
+
lightslategrey: "789",
|
|
332
|
+
lightsteelblue: "b0c4de",
|
|
333
|
+
lightyellow: "ffffe0",
|
|
334
|
+
lime: "0f0",
|
|
335
|
+
limegreen: "32cd32",
|
|
336
|
+
linen: "faf0e6",
|
|
337
|
+
magenta: "f0f",
|
|
338
|
+
maroon: "800000",
|
|
339
|
+
mediumaquamarine: "66cdaa",
|
|
340
|
+
mediumblue: "0000cd",
|
|
341
|
+
mediumorchid: "ba55d3",
|
|
342
|
+
mediumpurple: "9370db",
|
|
343
|
+
mediumseagreen: "3cb371",
|
|
344
|
+
mediumslateblue: "7b68ee",
|
|
345
|
+
mediumspringgreen: "00fa9a",
|
|
346
|
+
mediumturquoise: "48d1cc",
|
|
347
|
+
mediumvioletred: "c71585",
|
|
348
|
+
midnightblue: "191970",
|
|
349
|
+
mintcream: "f5fffa",
|
|
350
|
+
mistyrose: "ffe4e1",
|
|
351
|
+
moccasin: "ffe4b5",
|
|
352
|
+
navajowhite: "ffdead",
|
|
353
|
+
navy: "000080",
|
|
354
|
+
oldlace: "fdf5e6",
|
|
355
|
+
olive: "808000",
|
|
356
|
+
olivedrab: "6b8e23",
|
|
357
|
+
orange: "ffa500",
|
|
358
|
+
orangered: "ff4500",
|
|
359
|
+
orchid: "da70d6",
|
|
360
|
+
palegoldenrod: "eee8aa",
|
|
361
|
+
palegreen: "98fb98",
|
|
362
|
+
paleturquoise: "afeeee",
|
|
363
|
+
palevioletred: "db7093",
|
|
364
|
+
papayawhip: "ffefd5",
|
|
365
|
+
peachpuff: "ffdab9",
|
|
366
|
+
peru: "cd853f",
|
|
367
|
+
pink: "ffc0cb",
|
|
368
|
+
plum: "dda0dd",
|
|
369
|
+
powderblue: "b0e0e6",
|
|
370
|
+
purple: "800080",
|
|
371
|
+
rebeccapurple: "663399",
|
|
372
|
+
red: "f00",
|
|
373
|
+
rosybrown: "bc8f8f",
|
|
374
|
+
royalblue: "4169e1",
|
|
375
|
+
saddlebrown: "8b4513",
|
|
376
|
+
salmon: "fa8072",
|
|
377
|
+
sandybrown: "f4a460",
|
|
378
|
+
seagreen: "2e8b57",
|
|
379
|
+
seashell: "fff5ee",
|
|
380
|
+
sienna: "a0522d",
|
|
381
|
+
silver: "c0c0c0",
|
|
382
|
+
skyblue: "87ceeb",
|
|
383
|
+
slateblue: "6a5acd",
|
|
384
|
+
slategray: "708090",
|
|
385
|
+
slategrey: "708090",
|
|
386
|
+
snow: "fffafa",
|
|
387
|
+
springgreen: "00ff7f",
|
|
388
|
+
steelblue: "4682b4",
|
|
389
|
+
tan: "d2b48c",
|
|
390
|
+
teal: "008080",
|
|
391
|
+
thistle: "d8bfd8",
|
|
392
|
+
tomato: "ff6347",
|
|
393
|
+
turquoise: "40e0d0",
|
|
394
|
+
violet: "ee82ee",
|
|
395
|
+
wheat: "f5deb3",
|
|
396
|
+
white: "fff",
|
|
397
|
+
whitesmoke: "f5f5f5",
|
|
398
|
+
yellow: "ff0",
|
|
399
|
+
yellowgreen: "9acd32"
|
|
400
|
+
});
|
|
401
|
+
Object.freeze(new Set(Object.keys(Xe)));
|
|
402
|
+
const Ge = C && ("ontouchstart" in window || He() > 0), Ze = Ge ? "pointerdown" : "click";
|
|
403
|
+
function He() {
|
|
404
|
+
return typeof navigator < "u" && (navigator.maxTouchPoints || navigator.msMaxTouchPoints) || 0;
|
|
405
|
+
}
|
|
406
|
+
function Ke(e, t, r = window.Event) {
|
|
407
|
+
const { type: n, bubbles: o = !1, cancelable: a = !1, ...i } = t;
|
|
408
|
+
if (!le(n) || n === "") return !1;
|
|
409
|
+
let l;
|
|
410
|
+
return le(r) ? l = new r(n, { bubbles: o, cancelable: a }) : (l = document.createEvent("HTMLEvents"), l.initEvent(n, o, a)), Object.assign(l, i), e.dispatchEvent(l);
|
|
411
|
+
}
|
|
412
|
+
const Ye = "clickoutside", Qe = /* @__PURE__ */ new Set();
|
|
413
|
+
C && document.addEventListener(
|
|
414
|
+
Ze,
|
|
415
|
+
(e) => {
|
|
416
|
+
const t = e.target, r = e.composedPath && e.composedPath();
|
|
417
|
+
Qe.forEach((n) => {
|
|
418
|
+
n !== t && (r ? !r.includes(n) : !n.contains(t)) && (!n.__transferElement || n.__transferElement !== t && !n.__transferElement.contains(t)) && Ke(n, { type: Ye });
|
|
419
|
+
});
|
|
420
|
+
},
|
|
421
|
+
!0
|
|
422
|
+
);
|
|
423
|
+
const et = [
|
|
424
|
+
[
|
|
425
|
+
"requestFullscreen",
|
|
426
|
+
"exitFullscreen",
|
|
427
|
+
"fullscreenElement",
|
|
428
|
+
"fullscreenEnabled",
|
|
429
|
+
"fullscreenchange",
|
|
430
|
+
"fullscreenerror"
|
|
431
|
+
],
|
|
432
|
+
// New WebKit
|
|
433
|
+
[
|
|
434
|
+
"webkitRequestFullscreen",
|
|
435
|
+
"webkitExitFullscreen",
|
|
436
|
+
"webkitFullscreenElement",
|
|
437
|
+
"webkitFullscreenEnabled",
|
|
438
|
+
"webkitfullscreenchange",
|
|
439
|
+
"webkitfullscreenerror"
|
|
440
|
+
],
|
|
441
|
+
// Old WebKit
|
|
442
|
+
[
|
|
443
|
+
"webkitRequestFullScreen",
|
|
444
|
+
"webkitCancelFullScreen",
|
|
445
|
+
"webkitCurrentFullScreenElement",
|
|
446
|
+
"webkitCancelFullScreen",
|
|
447
|
+
"webkitfullscreenchange",
|
|
448
|
+
"webkitfullscreenerror"
|
|
449
|
+
],
|
|
450
|
+
[
|
|
451
|
+
"mozRequestFullScreen",
|
|
452
|
+
"mozCancelFullScreen",
|
|
453
|
+
"mozFullScreenElement",
|
|
454
|
+
"mozFullScreenEnabled",
|
|
455
|
+
"mozfullscreenchange",
|
|
456
|
+
"mozfullscreenerror"
|
|
457
|
+
],
|
|
458
|
+
[
|
|
459
|
+
"msRequestFullscreen",
|
|
460
|
+
"msExitFullscreen",
|
|
461
|
+
"msFullscreenElement",
|
|
462
|
+
"msFullscreenEnabled",
|
|
463
|
+
"MSFullscreenChange",
|
|
464
|
+
"MSFullscreenError"
|
|
465
|
+
]
|
|
466
|
+
];
|
|
467
|
+
let H;
|
|
468
|
+
if (C) {
|
|
469
|
+
for (const e of et)
|
|
470
|
+
if (e[1] in document) {
|
|
471
|
+
H = e;
|
|
472
|
+
break;
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
Oe(() => !1);
|
|
476
|
+
const tt = /* @__PURE__ */ new Set(), rt = /* @__PURE__ */ new WeakMap();
|
|
477
|
+
if (C && H) {
|
|
478
|
+
const e = H[2], t = H[4];
|
|
479
|
+
document.addEventListener(
|
|
480
|
+
t,
|
|
481
|
+
() => {
|
|
482
|
+
if (tt.forEach((r) => {
|
|
483
|
+
r.value = !1;
|
|
484
|
+
}), document[e]) {
|
|
485
|
+
const r = rt.get(document[e]);
|
|
486
|
+
r && (r.value = !0);
|
|
487
|
+
}
|
|
488
|
+
},
|
|
489
|
+
!1
|
|
490
|
+
);
|
|
491
|
+
}
|
|
492
|
+
const Be = /* @__PURE__ */ new Map();
|
|
493
|
+
Be.set("x", 0);
|
|
494
|
+
Be.set("y", 0);
|
|
495
|
+
var N = [], nt = function() {
|
|
496
|
+
return N.some(function(e) {
|
|
497
|
+
return e.activeTargets.length > 0;
|
|
498
|
+
});
|
|
499
|
+
}, ot = function() {
|
|
500
|
+
return N.some(function(e) {
|
|
501
|
+
return e.skippedTargets.length > 0;
|
|
502
|
+
});
|
|
503
|
+
}, fe = "ResizeObserver loop completed with undelivered notifications.", at = function() {
|
|
504
|
+
var e;
|
|
505
|
+
typeof ErrorEvent == "function" ? e = new ErrorEvent("error", {
|
|
506
|
+
message: fe
|
|
507
|
+
}) : (e = document.createEvent("Event"), e.initEvent("error", !1, !1), e.message = fe), window.dispatchEvent(e);
|
|
508
|
+
}, D;
|
|
509
|
+
(function(e) {
|
|
510
|
+
e.BORDER_BOX = "border-box", e.CONTENT_BOX = "content-box", e.DEVICE_PIXEL_CONTENT_BOX = "device-pixel-content-box";
|
|
511
|
+
})(D || (D = {}));
|
|
512
|
+
var $ = function(e) {
|
|
513
|
+
return Object.freeze(e);
|
|
514
|
+
}, it = /* @__PURE__ */ function() {
|
|
515
|
+
function e(t, r) {
|
|
516
|
+
this.inlineSize = t, this.blockSize = r, $(this);
|
|
517
|
+
}
|
|
518
|
+
return e;
|
|
519
|
+
}(), _e = function() {
|
|
520
|
+
function e(t, r, n, o) {
|
|
521
|
+
return this.x = t, this.y = r, this.width = n, this.height = o, this.top = this.y, this.left = this.x, this.bottom = this.top + this.height, this.right = this.left + this.width, $(this);
|
|
522
|
+
}
|
|
523
|
+
return e.prototype.toJSON = function() {
|
|
524
|
+
var t = this, r = t.x, n = t.y, o = t.top, a = t.right, i = t.bottom, l = t.left, m = t.width, f = t.height;
|
|
525
|
+
return { x: r, y: n, top: o, right: a, bottom: i, left: l, width: m, height: f };
|
|
526
|
+
}, e.fromRect = function(t) {
|
|
527
|
+
return new e(t.x, t.y, t.width, t.height);
|
|
528
|
+
}, e;
|
|
529
|
+
}(), ae = function(e) {
|
|
530
|
+
return e instanceof SVGElement && "getBBox" in e;
|
|
531
|
+
}, je = function(e) {
|
|
532
|
+
if (ae(e)) {
|
|
533
|
+
var t = e.getBBox(), r = t.width, n = t.height;
|
|
534
|
+
return !r && !n;
|
|
535
|
+
}
|
|
536
|
+
var o = e, a = o.offsetWidth, i = o.offsetHeight;
|
|
537
|
+
return !(a || i || e.getClientRects().length);
|
|
538
|
+
}, ue = function(e) {
|
|
539
|
+
var t;
|
|
540
|
+
if (e instanceof Element)
|
|
541
|
+
return !0;
|
|
542
|
+
var r = (t = e == null ? void 0 : e.ownerDocument) === null || t === void 0 ? void 0 : t.defaultView;
|
|
543
|
+
return !!(r && e instanceof r.Element);
|
|
544
|
+
}, st = function(e) {
|
|
545
|
+
switch (e.tagName) {
|
|
546
|
+
case "INPUT":
|
|
547
|
+
if (e.type !== "image")
|
|
548
|
+
break;
|
|
549
|
+
case "VIDEO":
|
|
550
|
+
case "AUDIO":
|
|
551
|
+
case "EMBED":
|
|
552
|
+
case "OBJECT":
|
|
553
|
+
case "CANVAS":
|
|
554
|
+
case "IFRAME":
|
|
555
|
+
case "IMG":
|
|
556
|
+
return !0;
|
|
557
|
+
}
|
|
558
|
+
return !1;
|
|
559
|
+
}, W = typeof window < "u" ? window : {}, I = /* @__PURE__ */ new WeakMap(), de = /auto|scroll/, lt = /^tb|vertical/, ct = /msie|trident/i.test(W.navigator && W.navigator.userAgent), S = function(e) {
|
|
560
|
+
return parseFloat(e || "0");
|
|
561
|
+
}, P = function(e, t, r) {
|
|
562
|
+
return e === void 0 && (e = 0), t === void 0 && (t = 0), r === void 0 && (r = !1), new it((r ? t : e) || 0, (r ? e : t) || 0);
|
|
563
|
+
}, pe = $({
|
|
564
|
+
devicePixelContentBoxSize: P(),
|
|
565
|
+
borderBoxSize: P(),
|
|
566
|
+
contentBoxSize: P(),
|
|
567
|
+
contentRect: new _e(0, 0, 0, 0)
|
|
568
|
+
}), Fe = function(e, t) {
|
|
569
|
+
if (t === void 0 && (t = !1), I.has(e) && !t)
|
|
570
|
+
return I.get(e);
|
|
571
|
+
if (je(e))
|
|
572
|
+
return I.set(e, pe), pe;
|
|
573
|
+
var r = getComputedStyle(e), n = ae(e) && e.ownerSVGElement && e.getBBox(), o = !ct && r.boxSizing === "border-box", a = lt.test(r.writingMode || ""), i = !n && de.test(r.overflowY || ""), l = !n && de.test(r.overflowX || ""), m = n ? 0 : S(r.paddingTop), f = n ? 0 : S(r.paddingRight), A = n ? 0 : S(r.paddingBottom), c = n ? 0 : S(r.paddingLeft), z = n ? 0 : S(r.borderTopWidth), u = n ? 0 : S(r.borderRightWidth), d = n ? 0 : S(r.borderBottomWidth), O = n ? 0 : S(r.borderLeftWidth), y = c + f, p = m + A, g = O + u, b = z + d, _ = l ? e.offsetHeight - b - e.clientHeight : 0, j = i ? e.offsetWidth - g - e.clientWidth : 0, F = o ? y + g : 0, R = o ? p + b : 0, T = n ? n.width : S(r.width) - F - j, B = n ? n.height : S(r.height) - R - _, J = T + y + j + g, V = B + p + _ + b, M = $({
|
|
574
|
+
devicePixelContentBoxSize: P(Math.round(T * devicePixelRatio), Math.round(B * devicePixelRatio), a),
|
|
575
|
+
borderBoxSize: P(J, V, a),
|
|
576
|
+
contentBoxSize: P(T, B, a),
|
|
577
|
+
contentRect: new _e(c, m, T, B)
|
|
578
|
+
});
|
|
579
|
+
return I.set(e, M), M;
|
|
580
|
+
}, Re = function(e, t, r) {
|
|
581
|
+
var n = Fe(e, r), o = n.borderBoxSize, a = n.contentBoxSize, i = n.devicePixelContentBoxSize;
|
|
582
|
+
switch (t) {
|
|
583
|
+
case D.DEVICE_PIXEL_CONTENT_BOX:
|
|
584
|
+
return i;
|
|
585
|
+
case D.BORDER_BOX:
|
|
586
|
+
return o;
|
|
587
|
+
default:
|
|
588
|
+
return a;
|
|
589
|
+
}
|
|
590
|
+
}, ft = /* @__PURE__ */ function() {
|
|
591
|
+
function e(t) {
|
|
592
|
+
var r = Fe(t);
|
|
593
|
+
this.target = t, this.contentRect = r.contentRect, this.borderBoxSize = $([r.borderBoxSize]), this.contentBoxSize = $([r.contentBoxSize]), this.devicePixelContentBoxSize = $([r.devicePixelContentBoxSize]);
|
|
594
|
+
}
|
|
595
|
+
return e;
|
|
596
|
+
}(), Ne = function(e) {
|
|
597
|
+
if (je(e))
|
|
598
|
+
return 1 / 0;
|
|
599
|
+
for (var t = 0, r = e.parentNode; r; )
|
|
600
|
+
t += 1, r = r.parentNode;
|
|
601
|
+
return t;
|
|
602
|
+
}, ut = function() {
|
|
603
|
+
var e = 1 / 0, t = [];
|
|
604
|
+
N.forEach(function(a) {
|
|
605
|
+
if (a.activeTargets.length !== 0) {
|
|
606
|
+
var i = [];
|
|
607
|
+
a.activeTargets.forEach(function(l) {
|
|
608
|
+
var m = new ft(l.target), f = Ne(l.target);
|
|
609
|
+
i.push(m), l.lastReportedSize = Re(l.target, l.observedBox), f < e && (e = f);
|
|
610
|
+
}), t.push(function() {
|
|
611
|
+
a.callback.call(a.observer, i, a.observer);
|
|
612
|
+
}), a.activeTargets.splice(0, a.activeTargets.length);
|
|
613
|
+
}
|
|
614
|
+
});
|
|
615
|
+
for (var r = 0, n = t; r < n.length; r++) {
|
|
616
|
+
var o = n[r];
|
|
617
|
+
o();
|
|
618
|
+
}
|
|
619
|
+
return e;
|
|
620
|
+
}, he = function(e) {
|
|
621
|
+
N.forEach(function(t) {
|
|
622
|
+
t.activeTargets.splice(0, t.activeTargets.length), t.skippedTargets.splice(0, t.skippedTargets.length), t.observationTargets.forEach(function(r) {
|
|
623
|
+
r.isActive() && (Ne(r.target) > e ? t.activeTargets.push(r) : t.skippedTargets.push(r));
|
|
624
|
+
});
|
|
625
|
+
});
|
|
626
|
+
}, dt = function() {
|
|
627
|
+
var e = 0;
|
|
628
|
+
for (he(e); nt(); )
|
|
629
|
+
e = ut(), he(e);
|
|
630
|
+
return ot() && at(), e > 0;
|
|
631
|
+
}, ee, $e = [], pt = function() {
|
|
632
|
+
return $e.splice(0).forEach(function(e) {
|
|
633
|
+
return e();
|
|
634
|
+
});
|
|
635
|
+
}, ht = function(e) {
|
|
636
|
+
if (!ee) {
|
|
637
|
+
var t = 0, r = document.createTextNode(""), n = { characterData: !0 };
|
|
638
|
+
new MutationObserver(function() {
|
|
639
|
+
return pt();
|
|
640
|
+
}).observe(r, n), ee = function() {
|
|
641
|
+
r.textContent = "".concat(t ? t-- : t++);
|
|
642
|
+
};
|
|
643
|
+
}
|
|
644
|
+
$e.push(e), ee();
|
|
645
|
+
}, gt = function(e) {
|
|
646
|
+
ht(function() {
|
|
647
|
+
requestAnimationFrame(e);
|
|
648
|
+
});
|
|
649
|
+
}, K = 0, bt = function() {
|
|
650
|
+
return !!K;
|
|
651
|
+
}, mt = 250, yt = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, ge = [
|
|
652
|
+
"resize",
|
|
653
|
+
"load",
|
|
654
|
+
"transitionend",
|
|
655
|
+
"animationend",
|
|
656
|
+
"animationstart",
|
|
657
|
+
"animationiteration",
|
|
658
|
+
"keyup",
|
|
659
|
+
"keydown",
|
|
660
|
+
"mouseup",
|
|
661
|
+
"mousedown",
|
|
662
|
+
"mouseover",
|
|
663
|
+
"mouseout",
|
|
664
|
+
"blur",
|
|
665
|
+
"focus"
|
|
666
|
+
], be = function(e) {
|
|
667
|
+
return e === void 0 && (e = 0), Date.now() + e;
|
|
668
|
+
}, te = !1, vt = function() {
|
|
669
|
+
function e() {
|
|
670
|
+
var t = this;
|
|
671
|
+
this.stopped = !0, this.listener = function() {
|
|
672
|
+
return t.schedule();
|
|
673
|
+
};
|
|
674
|
+
}
|
|
675
|
+
return e.prototype.run = function(t) {
|
|
676
|
+
var r = this;
|
|
677
|
+
if (t === void 0 && (t = mt), !te) {
|
|
678
|
+
te = !0;
|
|
679
|
+
var n = be(t);
|
|
680
|
+
gt(function() {
|
|
681
|
+
var o = !1;
|
|
682
|
+
try {
|
|
683
|
+
o = dt();
|
|
684
|
+
} finally {
|
|
685
|
+
if (te = !1, t = n - be(), !bt())
|
|
686
|
+
return;
|
|
687
|
+
o ? r.run(1e3) : t > 0 ? r.run(t) : r.start();
|
|
688
|
+
}
|
|
689
|
+
});
|
|
690
|
+
}
|
|
691
|
+
}, e.prototype.schedule = function() {
|
|
692
|
+
this.stop(), this.run();
|
|
693
|
+
}, e.prototype.observe = function() {
|
|
694
|
+
var t = this, r = function() {
|
|
695
|
+
return t.observer && t.observer.observe(document.body, yt);
|
|
696
|
+
};
|
|
697
|
+
document.body ? r() : W.addEventListener("DOMContentLoaded", r);
|
|
698
|
+
}, e.prototype.start = function() {
|
|
699
|
+
var t = this;
|
|
700
|
+
this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(), ge.forEach(function(r) {
|
|
701
|
+
return W.addEventListener(r, t.listener, !0);
|
|
702
|
+
}));
|
|
703
|
+
}, e.prototype.stop = function() {
|
|
704
|
+
var t = this;
|
|
705
|
+
this.stopped || (this.observer && this.observer.disconnect(), ge.forEach(function(r) {
|
|
706
|
+
return W.removeEventListener(r, t.listener, !0);
|
|
707
|
+
}), this.stopped = !0);
|
|
708
|
+
}, e;
|
|
709
|
+
}(), oe = new vt(), me = function(e) {
|
|
710
|
+
!K && e > 0 && oe.start(), K += e, !K && oe.stop();
|
|
711
|
+
}, kt = function(e) {
|
|
712
|
+
return !ae(e) && !st(e) && getComputedStyle(e).display === "inline";
|
|
713
|
+
}, wt = function() {
|
|
714
|
+
function e(t, r) {
|
|
715
|
+
this.target = t, this.observedBox = r || D.CONTENT_BOX, this.lastReportedSize = {
|
|
716
|
+
inlineSize: 0,
|
|
717
|
+
blockSize: 0
|
|
718
|
+
};
|
|
719
|
+
}
|
|
720
|
+
return e.prototype.isActive = function() {
|
|
721
|
+
var t = Re(this.target, this.observedBox, !0);
|
|
722
|
+
return kt(this.target) && (this.lastReportedSize = t), this.lastReportedSize.inlineSize !== t.inlineSize || this.lastReportedSize.blockSize !== t.blockSize;
|
|
723
|
+
}, e;
|
|
724
|
+
}(), zt = /* @__PURE__ */ function() {
|
|
725
|
+
function e(t, r) {
|
|
726
|
+
this.activeTargets = [], this.skippedTargets = [], this.observationTargets = [], this.observer = t, this.callback = r;
|
|
727
|
+
}
|
|
728
|
+
return e;
|
|
729
|
+
}(), X = /* @__PURE__ */ new WeakMap(), ye = function(e, t) {
|
|
730
|
+
for (var r = 0; r < e.length; r += 1)
|
|
731
|
+
if (e[r].target === t)
|
|
732
|
+
return r;
|
|
733
|
+
return -1;
|
|
734
|
+
}, G = function() {
|
|
735
|
+
function e() {
|
|
736
|
+
}
|
|
737
|
+
return e.connect = function(t, r) {
|
|
738
|
+
var n = new zt(t, r);
|
|
739
|
+
X.set(t, n);
|
|
740
|
+
}, e.observe = function(t, r, n) {
|
|
741
|
+
var o = X.get(t), a = o.observationTargets.length === 0;
|
|
742
|
+
ye(o.observationTargets, r) < 0 && (a && N.push(o), o.observationTargets.push(new wt(r, n && n.box)), me(1), oe.schedule());
|
|
743
|
+
}, e.unobserve = function(t, r) {
|
|
744
|
+
var n = X.get(t), o = ye(n.observationTargets, r), a = n.observationTargets.length === 1;
|
|
745
|
+
o >= 0 && (a && N.splice(N.indexOf(n), 1), n.observationTargets.splice(o, 1), me(-1));
|
|
746
|
+
}, e.disconnect = function(t) {
|
|
747
|
+
var r = this, n = X.get(t);
|
|
748
|
+
n.observationTargets.slice().forEach(function(o) {
|
|
749
|
+
return r.unobserve(t, o.target);
|
|
750
|
+
}), n.activeTargets.splice(0, n.activeTargets.length);
|
|
751
|
+
}, e;
|
|
752
|
+
}(), xt = function() {
|
|
753
|
+
function e(t) {
|
|
754
|
+
if (arguments.length === 0)
|
|
755
|
+
throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
756
|
+
if (typeof t != "function")
|
|
757
|
+
throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");
|
|
758
|
+
G.connect(this, t);
|
|
759
|
+
}
|
|
760
|
+
return e.prototype.observe = function(t, r) {
|
|
761
|
+
if (arguments.length === 0)
|
|
762
|
+
throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
763
|
+
if (!ue(t))
|
|
764
|
+
throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");
|
|
765
|
+
G.observe(this, t, r);
|
|
766
|
+
}, e.prototype.unobserve = function(t) {
|
|
767
|
+
if (arguments.length === 0)
|
|
768
|
+
throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
769
|
+
if (!ue(t))
|
|
770
|
+
throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");
|
|
771
|
+
G.unobserve(this, t);
|
|
772
|
+
}, e.prototype.disconnect = function() {
|
|
773
|
+
G.disconnect(this);
|
|
774
|
+
}, e.toString = function() {
|
|
775
|
+
return "function ResizeObserver () { [polyfill code] }";
|
|
776
|
+
}, e;
|
|
777
|
+
}();
|
|
778
|
+
const Q = /* @__PURE__ */ new WeakMap();
|
|
779
|
+
function Et(e) {
|
|
780
|
+
var t;
|
|
781
|
+
for (let r = 0, n = e.length; r < n; ++r) {
|
|
782
|
+
const o = e[r], a = Q.get(o.target);
|
|
783
|
+
if (typeof a == "function") {
|
|
784
|
+
const { inlineSize: i, blockSize: l } = ((t = o.borderBoxSize) == null ? void 0 : t[0]) ?? {}, { offsetWidth: m, offsetHeight: f } = o.target;
|
|
785
|
+
a(
|
|
786
|
+
Object.assign(o, {
|
|
787
|
+
offsetWidth: m,
|
|
788
|
+
offsetHeight: f,
|
|
789
|
+
width: i ?? m,
|
|
790
|
+
height: l ?? f
|
|
791
|
+
})
|
|
792
|
+
);
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
const qe = new (C && window.ResizeObserver || xt)(
|
|
797
|
+
Et
|
|
798
|
+
);
|
|
799
|
+
function ve(e, t) {
|
|
800
|
+
Q.set(e, t), qe.observe(e);
|
|
801
|
+
}
|
|
802
|
+
function ke(e) {
|
|
803
|
+
Q.has(e) && (qe.unobserve(e), Q.delete(e));
|
|
804
|
+
}
|
|
805
|
+
function Dt(e = {}) {
|
|
806
|
+
let t = ce;
|
|
807
|
+
const r = Ee(
|
|
808
|
+
() => Ue(e.target),
|
|
809
|
+
(o) => {
|
|
810
|
+
t(), !(!o || typeof e.onResize != "function") && (ve(o, e.onResize), t = () => {
|
|
811
|
+
ke(o), t = ce;
|
|
812
|
+
});
|
|
813
|
+
},
|
|
814
|
+
{ immediate: !0 }
|
|
815
|
+
), n = () => {
|
|
816
|
+
r(), t();
|
|
817
|
+
};
|
|
818
|
+
return Le() && We(n), {
|
|
819
|
+
/**
|
|
820
|
+
* @deprecated Will be removed in next major version, please directly use `observeResize` from imports.
|
|
821
|
+
*/
|
|
822
|
+
observeResize: ve,
|
|
823
|
+
/**
|
|
824
|
+
* @deprecated Will be removed in next major version, please directly use `unobserveResize` from imports.
|
|
825
|
+
*/
|
|
826
|
+
unobserveResize: ke,
|
|
827
|
+
unobserve: n
|
|
828
|
+
};
|
|
829
|
+
}
|
|
830
|
+
const Ot = q(!1);
|
|
831
|
+
Oe(() => Ot.value);
|
|
832
|
+
const we = "__theme_style__", re = "__theme_observer__", ze = De(/* @__PURE__ */ new Map()), xe = /* @__PURE__ */ new Map();
|
|
833
|
+
Ee(ze, () => {
|
|
834
|
+
if (!C) return;
|
|
835
|
+
xe.clear();
|
|
836
|
+
const e = document.head.querySelector(`#${we}`);
|
|
837
|
+
e && document.head.removeChild(e);
|
|
838
|
+
const t = document.createElement("style");
|
|
839
|
+
let r = `.${re} { width: 1px }`, n = 1;
|
|
840
|
+
for (const [o, [a, i]] of ze.entries())
|
|
841
|
+
r += ` html.${a} .${re}, .${i} .${re} { width: ${++n}px }`, xe.set(n, o);
|
|
842
|
+
t.textContent = r, t.id = we, document.head.appendChild(t);
|
|
843
|
+
});
|
|
844
|
+
(function() {
|
|
845
|
+
try {
|
|
846
|
+
if (typeof document < "u") {
|
|
847
|
+
var e = document.createElement("style");
|
|
848
|
+
e.appendChild(document.createTextNode('.vgl-layout{--vgl-placeholder-bg: red;--vgl-placeholder-opacity: 20%;--vgl-placeholder-z-index: 2;--vgl-item-resizing-z-index: 3;--vgl-item-resizing-opacity: 60%;--vgl-item-dragging-z-index: 3;--vgl-item-dragging-opacity: 100%;--vgl-resizer-size: 10px;--vgl-resizer-border-color: #444;--vgl-resizer-border-width: 2px;position:relative;box-sizing:border-box;transition:height .2s ease}.vgl-item{position:absolute;box-sizing:border-box;transition:.2s ease;transition-property:left,top,right}.vgl-item--placeholder{z-index:var(--vgl-placeholder-z-index, 2);-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:var(--vgl-placeholder-bg, red);opacity:var(--vgl-placeholder-opacity, 20%);transition-duration:.1s}.vgl-item--no-touch{touch-action:none}.vgl-item--transform{right:auto;left:0;transition-property:transform}.vgl-item--transform.vgl-item--rtl{right:0;left:auto}.vgl-item--resizing{z-index:var(--vgl-item-resizing-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-resizing-opacity, 60%)}.vgl-item--dragging{z-index:var(--vgl-item-dragging-z-index, 3);-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--vgl-item-dragging-opacity, 100%);transition:none}.vgl-item__resizer{position:absolute;right:0;bottom:0;box-sizing:border-box;width:var(--vgl-resizer-size);height:var(--vgl-resizer-size);cursor:se-resize}.vgl-item__resizer:before{position:absolute;top:0;right:3px;bottom:3px;left:0;content:"";border:0 solid var(--vgl-resizer-border-color);border-right-width:var(--vgl-resizer-border-width);border-bottom-width:var(--vgl-resizer-border-width)}.vgl-item__resizer--rtl{right:auto;left:0;cursor:sw-resize}.vgl-item__resizer--rtl:before{top:0;right:0;bottom:3px;left:3px;border-right-width:0;border-bottom-width:var(--vgl-resizer-border-width);border-left-width:var(--vgl-resizer-border-width)}')), document.head.appendChild(e);
|
|
849
|
+
}
|
|
850
|
+
} catch (t) {
|
|
851
|
+
console.error("vite-plugin-css-injected-by-js", t);
|
|
852
|
+
}
|
|
853
|
+
})();
|
|
854
|
+
const w = [
|
|
855
|
+
{
|
|
856
|
+
key: "FormName",
|
|
857
|
+
value: "Form"
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
key: "TableName",
|
|
861
|
+
value: "Table"
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
key: "MenuName",
|
|
865
|
+
value: "Menu"
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
key: "GroupName",
|
|
869
|
+
value: "Group"
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
key: "SystemKey",
|
|
873
|
+
value: "System"
|
|
874
|
+
}
|
|
875
|
+
], k = [
|
|
876
|
+
{
|
|
877
|
+
key: "FormDirect",
|
|
878
|
+
value: "formFlex"
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
key: "Form",
|
|
882
|
+
value: "formContent"
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
key: "FormButton",
|
|
886
|
+
value: "formButton"
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
key: "FormFlex",
|
|
890
|
+
value: "formWrap"
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
key: "TableColumns",
|
|
894
|
+
value: "header"
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
key: "TableButton",
|
|
898
|
+
value: "extraButton"
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
key: "TableLineButton",
|
|
902
|
+
value: "rowButton"
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
key: "Table",
|
|
906
|
+
value: "tableContents"
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
key: "TableIndex",
|
|
910
|
+
value: "tableIndex"
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
key: "Menus",
|
|
914
|
+
value: "menuContents"
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
key: "GroupContents",
|
|
918
|
+
value: "groupContents"
|
|
919
|
+
}
|
|
920
|
+
];
|
|
921
|
+
q(0);
|
|
922
|
+
const Ce = (e) => {
|
|
923
|
+
var t, r;
|
|
924
|
+
if (Array.isArray(Object.keys(e)) && ((t = Object.keys(e)) == null ? void 0 : t.length) > 0) {
|
|
925
|
+
let n = [];
|
|
926
|
+
return (r = Object.entries(e)) == null || r.forEach(([o, a]) => {
|
|
927
|
+
var l, m;
|
|
928
|
+
let i = [];
|
|
929
|
+
if (i.push(o), ((l = Object.keys(a)) == null ? void 0 : l.length) > 0) {
|
|
930
|
+
let f = [];
|
|
931
|
+
(m = Ce(a)) == null || m.forEach((A) => {
|
|
932
|
+
f.push(A);
|
|
933
|
+
}), f == null || f.forEach((A) => {
|
|
934
|
+
i.push(A);
|
|
935
|
+
});
|
|
936
|
+
}
|
|
937
|
+
n.push(i);
|
|
938
|
+
}), n;
|
|
939
|
+
}
|
|
940
|
+
}, Tt = (e, t) => {
|
|
941
|
+
var n;
|
|
942
|
+
let r = t;
|
|
943
|
+
return Array.isArray(Object.keys(e)) && ((n = Object.entries(e)) == null || n.forEach(([o, a]) => {
|
|
944
|
+
let i = [o];
|
|
945
|
+
if (typeof a == "object" && a !== null) {
|
|
946
|
+
let l = Ce(a);
|
|
947
|
+
l == null || l.forEach((m) => {
|
|
948
|
+
i.push(m);
|
|
949
|
+
});
|
|
950
|
+
}
|
|
951
|
+
r.push(i);
|
|
952
|
+
})), r;
|
|
953
|
+
}, St = (e) => {
|
|
954
|
+
const t = {};
|
|
955
|
+
return e.forEach((n) => {
|
|
956
|
+
const o = n.split("/");
|
|
957
|
+
let a = t;
|
|
958
|
+
o.forEach((i) => {
|
|
959
|
+
a[i] || (a[i] = {}), a = a[i];
|
|
960
|
+
});
|
|
961
|
+
}), Tt(t, []);
|
|
962
|
+
}, Jt = (e) => St(e);
|
|
963
|
+
q(0);
|
|
964
|
+
q(1);
|
|
965
|
+
const At = (e) => {
|
|
966
|
+
let t;
|
|
967
|
+
e.replaceAll(" ", `\r
|
|
968
|
+
`).replaceAll(`
|
|
969
|
+
`, `\r
|
|
970
|
+
`).includes(`\r
|
|
971
|
+
`) ? t = e.replaceAll(`
|
|
972
|
+
`, `\r
|
|
973
|
+
`).replaceAll(" ", `\r
|
|
974
|
+
`).split(`\r
|
|
975
|
+
`).filter((o) => o.trim() !== "") : t = e.replaceAll(" ", `\r
|
|
976
|
+
`).split(`
|
|
977
|
+
`).filter((o) => o.trim() !== "");
|
|
978
|
+
const r = [];
|
|
979
|
+
let n = "";
|
|
980
|
+
for (const o of t)
|
|
981
|
+
o.includes("{") || n.includes("{") || o.includes("[") || n.includes("[") || o.includes("【") || n.includes("【") || o.includes("(") || n.includes("(") || o.includes("(") || n.includes("(") || o.includes("/*") || n.includes("/*") ? (n += o.trim(), s(n).split("{").length - 1 === s(n).split("}").length - 1 && s(n).split("【").length - 1 === s(n).split("】").length - 1 && s(n).split("[").length - 1 === s(n).split("]").length - 1 && s(n).split("(").length - 1 === s(n).split(")").length - 1 && s(n).split("(").length - 1 === s(n).split(")").length - 1 && s(n).split("/*").length - 1 === s(n).split("*/").length - 1 && n[n.length - 1] !== "," ? (r.push(n.replace(/\/\*[\s\S]*?\*\//g, "")), n = "") : n != null && n.includes("*/") && (n = n.replace(/\/\*[\s\S]*?\*\//g, ""))) : r.push(o.trim().replace(/\/\*[\s\S]*?\*\//g, ""));
|
|
982
|
+
return r;
|
|
983
|
+
}, Vt = (e) => {
|
|
984
|
+
const [t, r] = e.split(/=(.+)/), n = t.replace(/['"]/g, "").trim(), o = r.replace(/^['"]|['"]$/g, "");
|
|
985
|
+
return { key: n, value: o };
|
|
986
|
+
}, Bt = (e) => {
|
|
987
|
+
let t;
|
|
988
|
+
e != null && e.includes(":") ? t = e.split(":").filter((o) => o.trim() !== "") : t = e == null ? void 0 : e.split(":").filter((o) => o.trim() !== "");
|
|
989
|
+
const r = [];
|
|
990
|
+
let n = "";
|
|
991
|
+
for (const o of t)
|
|
992
|
+
o.includes("{") || n.includes("{") || o.includes("[") || n.includes("[") || o.includes("【") || n.includes("【") || o.includes("(") || n.includes("(") || o.includes("(") || n.includes("(") || o.includes("/*") || n.includes("/*") ? (n = n !== "" ? n + ":" + o.trim() : o.trim(), s(n).split("{").length - 1 === s(n).split("}").length - 1 && s(n).split("【").length - 1 === s(n).split("】").length - 1 && s(n).split("[").length - 1 === s(n).split("]").length - 1 && s(n).split("(").length - 1 === s(n).split(")").length - 1 && s(n).split("(").length - 1 === s(n).split(")").length - 1 && s(n).split("/*").length - 1 === s(n).split("*/").length - 1 && (r.push(n.replace(/\/\*[\s\S]*?\*\//g, "")), n = "")) : r.push(o.trim().replace(/\/\*[\s\S]*?\*\//g, ""));
|
|
993
|
+
return r;
|
|
994
|
+
}, It = (e) => {
|
|
995
|
+
var r, n, o, a, i, l, m, f;
|
|
996
|
+
const t = (n = (r = e.split("(")) == null ? void 0 : r[1]) == null ? void 0 : n.trim();
|
|
997
|
+
return ((o = Bt(t.slice(0, t.length - 1))) == null ? void 0 : o.length) > 0 ? t.slice(0, t.length - 1) : (f = (m = (l = (i = (a = e.split("(")) == null ? void 0 : a[1]) == null ? void 0 : i.trim()) == null ? void 0 : l.split(")")) == null ? void 0 : m[0]) == null ? void 0 : f.trim();
|
|
998
|
+
}, Z = q(0), ne = q(0), _t = (e) => {
|
|
999
|
+
const t = e.trim().replace(/^'|'$/g, ""), r = /((?:\$?[a-zA-Z_][a-zA-Z0-9_]*\$?\([^)]*\))|[a-zA-Z_][a-zA-Z0-9_]*)\s*=\s*(.*?)(?=\s*(?:(?:\$?[a-zA-Z_][a-zA-Z0-9_]*\$?\([^)]*\))|[a-zA-Z_][a-zA-Z0-9_]*)\s*=|$)/g, n = {};
|
|
1000
|
+
let o;
|
|
1001
|
+
for (; (o = r.exec(t)) !== null; ) {
|
|
1002
|
+
const a = o[1];
|
|
1003
|
+
let i = o[2].trim();
|
|
1004
|
+
(i.match(/\[/g) || []).length !== (i.match(/\]/g) || []).length && (i = i == null ? void 0 : i.replace(/]$/, "")), n[a] ? (n[a + ne.value] && ne.value++, n[a + ne.value] = a + "=" + i) : n[a] = a + "=" + i;
|
|
1005
|
+
}
|
|
1006
|
+
return n;
|
|
1007
|
+
}, Pe = (e) => {
|
|
1008
|
+
const [t, r] = e.split("=").map((a) => a.trim()), n = t.replace(/['"]/g, ""), o = r.replace(/^['"]|['"]$/g, "");
|
|
1009
|
+
return { key: n, value: o };
|
|
1010
|
+
}, jt = (e) => {
|
|
1011
|
+
var i;
|
|
1012
|
+
let t = [];
|
|
1013
|
+
const [r, n] = e.split(/=(.+)/), o = r.replace(/['"]/g, "").trim(), a = n.replace(/^['"]|['"]$/g, "");
|
|
1014
|
+
return (i = Object.values(_t(a))) == null || i.forEach((l) => {
|
|
1015
|
+
t.push(Pe(l));
|
|
1016
|
+
}), { key: o, value: t };
|
|
1017
|
+
}, Y = (e) => {
|
|
1018
|
+
try {
|
|
1019
|
+
return JSON.parse(e), !0;
|
|
1020
|
+
} catch {
|
|
1021
|
+
return !1;
|
|
1022
|
+
}
|
|
1023
|
+
}, Me = (e) => {
|
|
1024
|
+
try {
|
|
1025
|
+
const t = e.replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",").replace(/:/g, ":").replace(/:\s*(?=,|}|$)/g, ': ""');
|
|
1026
|
+
if (s(t).split("{").length - 1 > 1) {
|
|
1027
|
+
let r = s(t).replace(/^\{(.*)\}$/, "[$1]");
|
|
1028
|
+
if (Y(r) && !r.includes("$") || (r = r.replace(/"([^"]+)"\$([\w\u4e00-\u9fa5]+\([^)]*\))/g, '"$1$$$2"')), Y(r)) {
|
|
1029
|
+
const n = JSON.parse(r);
|
|
1030
|
+
let o = [];
|
|
1031
|
+
return n == null || n.forEach((a) => {
|
|
1032
|
+
var i;
|
|
1033
|
+
(i = Object.entries(s(a))) == null || i.forEach((l) => {
|
|
1034
|
+
Z.value++, o.push({
|
|
1035
|
+
id: Z.value,
|
|
1036
|
+
key: (l == null ? void 0 : l[0]) ?? "",
|
|
1037
|
+
value: (l == null ? void 0 : l[1]) === "" ? "" : l == null ? void 0 : l[1],
|
|
1038
|
+
// 如果值为空,则key设为空字符串,否则保留原值
|
|
1039
|
+
width: Object.keys(s(a)).length
|
|
1040
|
+
});
|
|
1041
|
+
});
|
|
1042
|
+
}), o;
|
|
1043
|
+
} else
|
|
1044
|
+
return console.error("转换类型不正确:"), [];
|
|
1045
|
+
} else if (Y(t)) {
|
|
1046
|
+
const r = JSON.parse(t);
|
|
1047
|
+
return Object.entries(r).map(([n, o]) => (Z.value++, {
|
|
1048
|
+
id: Z.value,
|
|
1049
|
+
key: n,
|
|
1050
|
+
value: o === "" ? "" : o,
|
|
1051
|
+
// 如果值为空,则key设为空字符串,否则保留原值
|
|
1052
|
+
width: 1
|
|
1053
|
+
}));
|
|
1054
|
+
} else
|
|
1055
|
+
return t;
|
|
1056
|
+
} catch (t) {
|
|
1057
|
+
return console.error("转换失败:", t), [];
|
|
1058
|
+
}
|
|
1059
|
+
}, Ft = (e, t) => {
|
|
1060
|
+
try {
|
|
1061
|
+
if (w != null && w.find((r) => (r == null ? void 0 : r.key) === t))
|
|
1062
|
+
return JSON.parse(e.replace(/[’]|[‘]|[']/g, '"'));
|
|
1063
|
+
if (s(e).split("[").length - 1 > 1) {
|
|
1064
|
+
const r = s(e).replace(/[’]|[‘]|[']/g, '"').replaceAll(/,/g, ",").replaceAll("(", "[").replaceAll(")", "]").replaceAll("],]", "]]");
|
|
1065
|
+
return JSON.parse(r);
|
|
1066
|
+
} else {
|
|
1067
|
+
const r = s(e).replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",");
|
|
1068
|
+
if (Y(r)) {
|
|
1069
|
+
const n = JSON.parse(r);
|
|
1070
|
+
return Array.isArray(n) ? n.map((o) => ({ label: o })) : n;
|
|
1071
|
+
} else
|
|
1072
|
+
return Me(s(e));
|
|
1073
|
+
}
|
|
1074
|
+
} catch (r) {
|
|
1075
|
+
return console.error("解析失败:", r), e;
|
|
1076
|
+
}
|
|
1077
|
+
}, Rt = (e) => ({ [e == null ? void 0 : e.key]: Ft(e == null ? void 0 : e.value, e == null ? void 0 : e.key) }), Nt = (e) => {
|
|
1078
|
+
try {
|
|
1079
|
+
if (s(e).split("[").length - 1 > 1) {
|
|
1080
|
+
const t = s(e).replace(/[’]|[‘]|[']/g, '"').replaceAll(/,/g, ",").replaceAll("(", "[").replaceAll(")", "]").replaceAll("],]", "]]");
|
|
1081
|
+
return JSON.parse(t);
|
|
1082
|
+
} else
|
|
1083
|
+
return JSON.parse(s(e).replace(/[’]|[‘]|[']/g, '"').replace(/,/g, ",")).map((r) => ({ label: r }));
|
|
1084
|
+
} catch (t) {
|
|
1085
|
+
return console.error("解析失败:", t), e;
|
|
1086
|
+
}
|
|
1087
|
+
}, $t = (e) => {
|
|
1088
|
+
var t, r, n, o, a, i;
|
|
1089
|
+
try {
|
|
1090
|
+
const l = At((r = (t = s(e)) == null ? void 0 : t.replace("(", "(")) == null ? void 0 : r.replace(")", ")")), m = (n = s(l)) == null ? void 0 : n.map((c) => {
|
|
1091
|
+
var u, d;
|
|
1092
|
+
let z = (d = (u = s(c)) == null ? void 0 : u.split("=")) == null ? void 0 : d[0];
|
|
1093
|
+
return z != null && z.includes("GroupContents") ? jt(c) : Pe(c);
|
|
1094
|
+
}), f = [];
|
|
1095
|
+
(o = s(m)) == null || o.forEach((c) => {
|
|
1096
|
+
var z, u, d, O, y;
|
|
1097
|
+
w != null && w.find((p) => {
|
|
1098
|
+
var g, b;
|
|
1099
|
+
return ((g = p == null ? void 0 : p.key) == null ? void 0 : g.toUpperCase()) === ((b = c == null ? void 0 : c.key) == null ? void 0 : b.toUpperCase());
|
|
1100
|
+
}) ? f.push({
|
|
1101
|
+
comp: ((z = w == null ? void 0 : w.find((p) => {
|
|
1102
|
+
var g, b;
|
|
1103
|
+
return ((g = p == null ? void 0 : p.key) == null ? void 0 : g.toUpperCase()) === ((b = c == null ? void 0 : c.key) == null ? void 0 : b.toUpperCase());
|
|
1104
|
+
})) == null ? void 0 : z.value) ?? "",
|
|
1105
|
+
name: (u = c == null ? void 0 : c.value) == null ? void 0 : u.replace(/[’]|[‘]|[']/g, ""),
|
|
1106
|
+
compData: []
|
|
1107
|
+
}) : k != null && k.find((p) => {
|
|
1108
|
+
var g, b;
|
|
1109
|
+
return ((g = p == null ? void 0 : p.key) == null ? void 0 : g.toUpperCase()) === ((b = c == null ? void 0 : c.key) == null ? void 0 : b.toUpperCase());
|
|
1110
|
+
}) && ((f == null ? void 0 : f.length) === 0 && (d = c.key) != null && d.includes("Menus") && f.push({
|
|
1111
|
+
comp: "Menu",
|
|
1112
|
+
name: "",
|
|
1113
|
+
compData: []
|
|
1114
|
+
}), (O = f == null ? void 0 : f[(f == null ? void 0 : f.length) - 1]) != null && O.compData && f[(f == null ? void 0 : f.length) - 1].compData.push({
|
|
1115
|
+
key: (y = k == null ? void 0 : k.find((p) => {
|
|
1116
|
+
var g, b;
|
|
1117
|
+
return ((g = p == null ? void 0 : p.key) == null ? void 0 : g.toUpperCase()) === ((b = c == null ? void 0 : c.key) == null ? void 0 : b.toUpperCase());
|
|
1118
|
+
})) == null ? void 0 : y.value,
|
|
1119
|
+
contents: c == null ? void 0 : c.value
|
|
1120
|
+
}));
|
|
1121
|
+
});
|
|
1122
|
+
let A = (a = s(f)) == null ? void 0 : a.map((c) => {
|
|
1123
|
+
var z;
|
|
1124
|
+
return c != null && c.compData && (c.compData = (z = c == null ? void 0 : c.compData) == null ? void 0 : z.map((u) => {
|
|
1125
|
+
var d, O, y, p, g, b, _, j, F, R, T;
|
|
1126
|
+
if ((u == null ? void 0 : u.key) === "formFlex")
|
|
1127
|
+
u.contents = ((O = (d = u.contents) == null ? void 0 : d.replace(/[’]|[‘]|[']/g, "")) == null ? void 0 : O.toUpperCase()) !== "Vertical".toUpperCase();
|
|
1128
|
+
else if ((u == null ? void 0 : u.key) === "groupContents")
|
|
1129
|
+
u.contents = (y = s(u.contents)) == null ? void 0 : y.map((B) => Rt(s(B)));
|
|
1130
|
+
else if (((g = (p = u.contents) == null ? void 0 : p.trim()) != null && g.startsWith("[") || (_ = (b = u.contents) == null ? void 0 : b.trim()) != null && _.startsWith("【")) && ((F = (j = u.contents) == null ? void 0 : j.trim()) != null && F.endsWith("]") || (T = (R = u.contents) == null ? void 0 : R.trim()) != null && T.endsWith("】")))
|
|
1131
|
+
u.contents = Nt(s(u.contents));
|
|
1132
|
+
else {
|
|
1133
|
+
if (!u.contents) return;
|
|
1134
|
+
u.contents = Me(s(u.contents));
|
|
1135
|
+
}
|
|
1136
|
+
return u;
|
|
1137
|
+
})), c;
|
|
1138
|
+
});
|
|
1139
|
+
return A = (i = s(A)) == null ? void 0 : i.map((c) => {
|
|
1140
|
+
var z;
|
|
1141
|
+
return (c == null ? void 0 : c.comp) === "Group" && (c.compData = (z = c.compData) == null ? void 0 : z.map((u) => {
|
|
1142
|
+
var O;
|
|
1143
|
+
let d = [];
|
|
1144
|
+
return (O = u.contents) == null || O.forEach((y) => {
|
|
1145
|
+
var p, g, b, _, j, F, R, T, B, J, V, M;
|
|
1146
|
+
if (w != null && w.find((h) => {
|
|
1147
|
+
var v, x, E;
|
|
1148
|
+
return ((v = h == null ? void 0 : h.key) == null ? void 0 : v.toUpperCase()) === ((E = (x = Object.keys(y)) == null ? void 0 : x[0]) == null ? void 0 : E.toUpperCase());
|
|
1149
|
+
}))
|
|
1150
|
+
d.push({
|
|
1151
|
+
comp: (p = w == null ? void 0 : w.find((h) => {
|
|
1152
|
+
var v, x, E;
|
|
1153
|
+
return ((v = h == null ? void 0 : h.key) == null ? void 0 : v.toUpperCase()) === ((E = (x = Object.keys(y)) == null ? void 0 : x[0]) == null ? void 0 : E.toUpperCase());
|
|
1154
|
+
})) == null ? void 0 : p.value,
|
|
1155
|
+
name: (b = (g = Object.values(y)) == null ? void 0 : g[0]) == null ? void 0 : b.replace(/[’]|[‘]|[']/g, ""),
|
|
1156
|
+
compData: []
|
|
1157
|
+
});
|
|
1158
|
+
else if (k != null && k.find((h) => {
|
|
1159
|
+
var v, x, E;
|
|
1160
|
+
return ((v = h == null ? void 0 : h.key) == null ? void 0 : v.toUpperCase()) === ((E = (x = Object.keys(y)) == null ? void 0 : x[0]) == null ? void 0 : E.toUpperCase());
|
|
1161
|
+
})) {
|
|
1162
|
+
if ((d == null ? void 0 : d.length) === 0) return;
|
|
1163
|
+
(_ = d == null ? void 0 : d[(d == null ? void 0 : d.length) - 1]) != null && _.compData && d[(d == null ? void 0 : d.length) - 1].compData.push({
|
|
1164
|
+
key: (j = k == null ? void 0 : k.find((h) => {
|
|
1165
|
+
var v, x, E;
|
|
1166
|
+
return ((v = h == null ? void 0 : h.key) == null ? void 0 : v.toUpperCase()) === ((E = (x = Object.keys(y)) == null ? void 0 : x[0]) == null ? void 0 : E.toUpperCase());
|
|
1167
|
+
})) == null ? void 0 : j.value,
|
|
1168
|
+
contents: (F = Object.values(y)) == null ? void 0 : F[0]
|
|
1169
|
+
});
|
|
1170
|
+
} else if ((T = (R = Object.keys(y)) == null ? void 0 : R[0]) != null && T.includes("$")) {
|
|
1171
|
+
const h = (J = (B = Object.keys(s(y))) == null ? void 0 : B[0]) == null ? void 0 : J.split("$");
|
|
1172
|
+
d[(d == null ? void 0 : d.length) - 1].compData.push({
|
|
1173
|
+
key: (V = k == null ? void 0 : k.find((v) => {
|
|
1174
|
+
var x, E;
|
|
1175
|
+
return ((x = v == null ? void 0 : v.key) == null ? void 0 : x.toUpperCase()) === ((E = h == null ? void 0 : h[0]) == null ? void 0 : E.toUpperCase());
|
|
1176
|
+
})) == null ? void 0 : V.value,
|
|
1177
|
+
contents: (M = Object.values(y)) == null ? void 0 : M[0],
|
|
1178
|
+
selectLabel: h == null ? void 0 : h[1]
|
|
1179
|
+
});
|
|
1180
|
+
}
|
|
1181
|
+
return y;
|
|
1182
|
+
}), u.contents = d, u;
|
|
1183
|
+
})), c;
|
|
1184
|
+
}), A;
|
|
1185
|
+
} catch {
|
|
1186
|
+
return !1;
|
|
1187
|
+
}
|
|
1188
|
+
}, Xt = (e) => $t(e), U = q(0), Gt = (e) => e.reduce((r, n) => {
|
|
1189
|
+
var a, i;
|
|
1190
|
+
const o = Object.values(r);
|
|
1191
|
+
return (((a = Object.keys(r)) == null ? void 0 : a.length) === 0 || o[o.length - 1].length >= (n == null ? void 0 : n.width)) && (r[U.value] = [], U.value++), r[U.value - 1].push(n), ((i = Object.keys(r)) == null ? void 0 : i.length) === (n == null ? void 0 : n.width) && (r[U.value] = [], U.value++), r;
|
|
1192
|
+
}, {});
|
|
1193
|
+
export {
|
|
1194
|
+
Mt as Z,
|
|
1195
|
+
Gt as a,
|
|
1196
|
+
Ut as b,
|
|
1197
|
+
Bt as c,
|
|
1198
|
+
At as d,
|
|
1199
|
+
Xt as e,
|
|
1200
|
+
It as g,
|
|
1201
|
+
Pt as i,
|
|
1202
|
+
Jt as m,
|
|
1203
|
+
Lt as n,
|
|
1204
|
+
Wt as o,
|
|
1205
|
+
Vt as p,
|
|
1206
|
+
Dt as w
|
|
1207
|
+
};
|