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