ss-component-new 1.2.6 → 1.2.7

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.
Files changed (128) hide show
  1. package/dist/{OrbitControls-DA4VpOM_.js → OrbitControls-C0QRmW6_.js} +1 -1
  2. package/dist/{STLLoader-DmGTF0Nv.js → STLLoader-CiUjaQtA.js} +1 -1
  3. package/dist/{animationData-GqECkAbz.js → animationData-CMKGpOzN.js} +14 -14
  4. package/dist/animationData-CjOlng3t.cjs +1 -0
  5. package/dist/array-BI6c3lN7.cjs +11 -0
  6. package/dist/array-zuPH84bL.js +1142 -0
  7. package/dist/{iconfont-ljBfzBSE.js → iconfont-pt17sMx3.js} +2 -2
  8. package/dist/{index-C5CKSB0e.cjs → index-1aEh3d97.cjs} +1 -1
  9. package/dist/{index-BOJUyAaV.cjs → index-1z9RrjZc.cjs} +1 -1
  10. package/dist/{index-DJGsDpDp.js → index-Ah-8x9yf.js} +13 -13
  11. package/dist/{index-DPBmAgEA.cjs → index-B3bZrnX5.cjs} +1 -1
  12. package/dist/{index-HvKjB6_P.js → index-B5Qn4jv8.js} +5 -5
  13. package/dist/{index-67QO-qDa.cjs → index-B7PZ70Ke.cjs} +1 -1
  14. package/dist/{index-CRrAiL5l.js → index-BPOERPtt.js} +4 -4
  15. package/dist/{index-DcUUpSE1.cjs → index-BQ7is--r.cjs} +1 -1
  16. package/dist/{index-BpR7F1Fp.cjs → index-BQdJqnJf.cjs} +1 -1
  17. package/dist/{index-CBuqdsPh.js → index-BX3CpqTk.js} +4 -4
  18. package/dist/{index-DPWc4No_.js → index-B_HoaLPL.js} +2 -2
  19. package/dist/{index-B7hLDNQ6.cjs → index-BaOQV1JK.cjs} +1 -1
  20. package/dist/{index-BNvpuVyw.cjs → index-Bc20prdj.cjs} +1 -1
  21. package/dist/index-BhLnI2fF.cjs +1 -0
  22. package/dist/{index-Bs2K1FVH.js → index-BnNuMzEv.js} +2 -2
  23. package/dist/{index-CArSUfnV.js → index-BniAk5Lo.js} +1010 -1013
  24. package/dist/{index-_66uQhcl.js → index-BoHTgzWr.js} +2129 -2122
  25. package/dist/{index--rLSLEk3.js → index-Br5wm1ow.js} +24 -24
  26. package/dist/{index-mtuIEfrj.cjs → index-BxL4p0ej.cjs} +1 -1
  27. package/dist/{index-8yRiF_z8.cjs → index-BzOBvH4x.cjs} +1 -1
  28. package/dist/{index-D9oqICYV.cjs → index-C2WJz0OJ.cjs} +1 -1
  29. package/dist/{index-DVmoPvzr.cjs → index-C2aGGJxk.cjs} +1 -1
  30. package/dist/{index-DGepdvRW.js → index-CHksmnYA.js} +2 -2
  31. package/dist/{index-CMCrQ36H.js → index-CJW7oNUN.js} +5 -5
  32. package/dist/index-CJXXl1EN.cjs +1 -0
  33. package/dist/{index-CTkF2kl_.js → index-CKHNyMzP.js} +1 -1
  34. package/dist/{index-DZ8a7BZ1.cjs → index-CQAvn30B.cjs} +1 -1
  35. package/dist/{index-C8UOMPgt.js → index-CQzgMbjC.js} +2 -2
  36. package/dist/{index-LADv0t0E.js → index-CUUjf1P3.js} +12 -12
  37. package/dist/{index-CedgKpsz.cjs → index-CW99kzgY.cjs} +1 -1
  38. package/dist/{index-BHJ-tVLT.cjs → index-CXbvmuYZ.cjs} +1 -1
  39. package/dist/{index-BsfJJu0R.js → index-CXchqN8w.js} +6 -6
  40. package/dist/{index-BaRkv5oc.cjs → index-Cia5yg2S.cjs} +1 -1
  41. package/dist/{index-tttYIzsn.cjs → index-CjI5pDiU.cjs} +1 -1
  42. package/dist/{index-D-WcrLQv.js → index-CkCmJLPU.js} +4 -4
  43. package/dist/{index-C1FOuBuy.js → index-CvrTrN91.js} +1 -1
  44. package/dist/{index-DSchKIyh.cjs → index-CxnH4vfV.cjs} +1 -1
  45. package/dist/{index-D6mwkqWY.cjs → index-Czw_p2Ax.cjs} +13 -13
  46. package/dist/index-D46pfmEc.js +2567 -0
  47. package/dist/{index-g4qw0jRy.js → index-DDNAWKqD.js} +6 -6
  48. package/dist/{index-CA-FC_OL.cjs → index-DKHaw4wr.cjs} +1 -1
  49. package/dist/{index-CbA74tCL.js → index-DLN_fbq6.js} +4 -4
  50. package/dist/{index-DWs7-g1h.cjs → index-DauH8AzR.cjs} +1 -1
  51. package/dist/{index-DV_ZZQBO.js → index-DbzvXPKu.js} +176 -176
  52. package/dist/{index-9zEdW6xv.js → index-DsnxblRp.js} +6 -6
  53. package/dist/{index-_uyv24Pt.cjs → index-Duqrg0DV.cjs} +1 -1
  54. package/dist/{index-FK1YYpjN.cjs → index-Dv_9EftF.cjs} +1 -1
  55. package/dist/{index-B14iwpkN.cjs → index-Dx63Z3PG.cjs} +1 -1
  56. package/dist/index-DxukQK2k.cjs +1 -0
  57. package/dist/index-Dy3FE211.cjs +1 -0
  58. package/dist/{index-CRj9VM12.js → index-HZr3I0-O.js} +6 -6
  59. package/dist/{index-CbDu4gfZ.js → index-IknA4u4L.js} +5 -5
  60. package/dist/{index-DGi-ANHr.js → index-Kbl8xHWJ.js} +7 -7
  61. package/dist/{index-BMMYAqF1.js → index-MqvNXMd6.js} +1 -1
  62. package/dist/{index-Cm3z0Vmi.cjs → index-PBT5kNaR.cjs} +1 -1
  63. package/dist/{index-CShBWCYm.js → index-UDddsXT4.js} +1 -1
  64. package/dist/{index-Bw_JtuzR.js → index-UuJKyKlu.js} +3 -3
  65. package/dist/index-W6FccWpW.js +7210 -0
  66. package/dist/index-d3F4mRMM.js +3370 -0
  67. package/dist/{index-BNOx3XL5.js → index-fnqbVNnP.js} +1 -1
  68. package/dist/{index-CZaBF851.cjs → index-hseXzBbE.cjs} +1 -1
  69. package/dist/{index-87kRWJv8.cjs → index-k3lVcyGc.cjs} +1 -1
  70. package/dist/{index-DvpVQvAe.js → index-sBAb1SLC.js} +2 -2
  71. package/dist/{index-BYUPvuvs.cjs → index-tEinx-qZ.cjs} +1 -1
  72. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DIMJusrg.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DULpc85o.js} +10383 -10362
  73. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BSOYWm_U.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-hGi9c2Ju.cjs} +123 -123
  74. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-D2VLEzGB.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-CtqR5lQb.cjs} +1 -1
  75. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-D58IzjOR.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-DuybmJnl.js} +6 -6
  76. package/dist/index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang--PcXwjiH.cjs +56 -0
  77. package/dist/index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-C-NVC3BN.js +34117 -0
  78. package/dist/index.vue_vue_type_style_index_1_lang-Cb3WPLY1.cjs +32 -0
  79. package/dist/{index.vue_vue_type_style_index_1_lang-H_pReDxj.cjs → index.vue_vue_type_style_index_1_lang-Ck3aGjUr.cjs} +1 -1
  80. package/dist/{index.vue_vue_type_style_index_1_lang-hBa3nAgx.js → index.vue_vue_type_style_index_1_lang-D909xoIu.js} +5 -5
  81. package/dist/index.vue_vue_type_style_index_1_lang-Dy1Zc_t-.js +8126 -0
  82. package/dist/{isString-CELwppr9.cjs → isString-BmAegMGI.cjs} +1 -1
  83. package/dist/{isString--ZVOCy4V.js → isString-CZMLuMzD.js} +1 -1
  84. package/dist/isUndefined-ClRzgwTy.cjs +1 -0
  85. package/dist/isUndefined-chfCDxUU.js +84 -0
  86. package/dist/{main-C6Iw-pcH.cjs → main-CSuKoOz4.cjs} +1 -1
  87. package/dist/{main-CygliYyN.js → main-D6-NZoCw.js} +5 -5
  88. package/dist/obj/model.mtl +42 -0
  89. package/dist/obj/model.obj +26110 -0
  90. package/dist/ss-component.cjs +1 -1
  91. package/dist/ss-component.css +2 -2
  92. package/dist/ss-component.js +11 -11
  93. package/dist/ss-component2.cjs +1 -1
  94. package/dist/ss-component2.js +12 -12
  95. package/dist/{three-viewport-gizmo-BHznJ6W3.js → three-viewport-gizmo-CkQ98n-T.js} +2 -2
  96. package/dist/{threeLatheView-DzpPpdDr.js → threeLatheView-BmVBnC8n.js} +4 -4
  97. package/dist/{threeLatheView-CdUoB0Te.cjs → threeLatheView-CZdorls1.cjs} +1 -1
  98. package/dist/{threeModel-BUCLJlE5.cjs → threeModel-CIXJ7OQA.cjs} +1 -1
  99. package/dist/{threeModel-BfMMeZCc.js → threeModel-CPolYsAh.js} +5 -5
  100. package/dist/{threePreview-BEqzg370.js → threePreview-CYX5wKoL.js} +4 -4
  101. package/dist/{threePreview-C-JW_pcY.cjs → threePreview-C_mY_TBC.cjs} +1 -1
  102. package/dist/threeSceneView-CUBwHIv3.js +1472 -0
  103. package/dist/threeSceneView-C_0lI1AI.cjs +5 -0
  104. package/dist/{threeSceneViewForCPMPIP-Bexwqkry.js → threeSceneViewForCPMPIP-BHhBMxdP.js} +86 -85
  105. package/dist/{threeSceneViewForCPMPIP-DwLWGNUd.cjs → threeSceneViewForCPMPIP-D4KdOIxO.cjs} +3 -3
  106. package/dist/{threeViewerHost-CTjd2V1D.js → threeViewerHost-Cbz8Cw7s.js} +78 -65
  107. package/dist/threeViewerHost-DOwyFQG3.cjs +1 -0
  108. package/dist/{useRayCaster-D0_7oJan.js → useRayCaster-CF6KDZ1R.js} +5 -5
  109. package/dist/useRayCaster-CqS7g8Ix.cjs +1 -0
  110. package/package.json +1 -1
  111. package/public/obj/model.mtl +42 -0
  112. package/public/obj/model.obj +26110 -0
  113. package/dist/animationData-B0K2ghu6.cjs +0 -1
  114. package/dist/array-D65aMM6H.js +0 -1207
  115. package/dist/array-DMPAgNcb.cjs +0 -11
  116. package/dist/index-8Dyi4QCI.js +0 -7293
  117. package/dist/index-BEoEUXZe.js +0 -2643
  118. package/dist/index-BsM9qdbC.cjs +0 -1
  119. package/dist/index-CePZE-QA.cjs +0 -1
  120. package/dist/index-D8510-YQ.cjs +0 -1
  121. package/dist/index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BnNwKutS.cjs +0 -56
  122. package/dist/index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-CJCvJvBM.js +0 -37436
  123. package/dist/index.vue_vue_type_style_index_1_lang-D5Hjs-g0.js +0 -7804
  124. package/dist/index.vue_vue_type_style_index_1_lang-N-_9ZJEf.cjs +0 -32
  125. package/dist/threeSceneView-BTsG2QJg.cjs +0 -5
  126. package/dist/threeSceneView-DV5dsTZZ.js +0 -1471
  127. package/dist/threeViewerHost-CRqcYbJE.cjs +0 -1
  128. package/dist/useRayCaster-DN56HpNP.cjs +0 -1
@@ -1,1207 +0,0 @@
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-DV_ZZQBO.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
- };