ryugi-artifacts 1.105.3 → 1.105.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +7 -7
- package/dist/document-host.cjs +1 -1
- package/dist/runtime/ryugi-report.js +1 -1
- package/dist/server.cjs +1 -1
- package/dist/viewer/{AgentStatusPill-C-KFXLLW.js → AgentStatusPill-EG26MP0C.js} +1 -1
- package/dist/viewer/{ArtboardLayout-GBZYlu1u.js → ArtboardLayout-Bti-WQjR.js} +7 -7
- package/dist/viewer/{ArtifactList-T-x1keum.js → ArtifactList-DG555g7p.js} +2 -2
- package/dist/viewer/{ArtifactModal-hwLIn-bz.js → ArtifactModal-CHsqlwj1.js} +1 -1
- package/dist/viewer/{BottomSheet-BtrWEBYB.js → BottomSheet--aXTUFIR.js} +1 -1
- package/dist/viewer/{Canvas-IGiPC0XE.js → Canvas-BWwPnVfH.js} +1 -1
- package/dist/viewer/{CommentPopover-DA9sGbGX.js → CommentPopover-70kDTw2a.js} +1 -1
- package/dist/viewer/{DaemonDock-B7hCVLVz.js → DaemonDock-CaN7diDJ.js} +1 -1
- package/dist/viewer/{DocumentExportMenu-CkhJhl0k.js → DocumentExportMenu-COMJilQS.js} +1 -1
- package/dist/viewer/DocumentLayout-Cp4m2BHN.js +2 -0
- package/dist/viewer/DocumentPage-DewseMB9.js +3 -0
- package/dist/viewer/{DraggablePanel-DI0oH2Pl.js → DraggablePanel-Bp2uITdi.js} +1 -1
- package/dist/viewer/{DropdownMenu-BV3Vopt8.js → DropdownMenu-07u3i_Hv.js} +1 -1
- package/dist/viewer/{GroupVerdict-CQHrbfbd.js → GroupVerdict-BCReaBrB.js} +1 -1
- package/dist/viewer/{HtmlLayout-CpWhqAjy.js → HtmlLayout-gdN8Y5Nm.js} +1 -1
- package/dist/viewer/{Input-8_A6tuUX.js → Input-clePXgHE.js} +1 -1
- package/dist/viewer/MenuSubmenuTrigger-CBIsKDfh.js +1 -0
- package/dist/viewer/{PhoneArtboardBar-Dy1tOULD.js → PhoneArtboardBar-CjJzzKE2.js} +1 -1
- package/dist/viewer/{Popover-DlihUGET.js → Popover-BrR_juSr.js} +1 -1
- package/dist/viewer/PreviewArtifactLayout-Dd3iuTpU.js +1 -0
- package/dist/viewer/{PreviewLayout-Bj4Qxfwi.js → PreviewLayout-DIEVSU6h.js} +2 -2
- package/dist/viewer/ReportLayout-DImzuhs-.js +6 -0
- package/dist/viewer/{RyugiMark-CqEwssTY.js → RyugiMark-rd6Mih0v.js} +1 -1
- package/dist/viewer/{Segmented-DLFI4aPF.js → Segmented-BNZwD_Ug.js} +1 -1
- package/dist/viewer/{SelectScrollUpArrow-CxAEysJp.js → SelectScrollUpArrow-DpS8ndDp.js} +1 -1
- package/dist/viewer/{SlidesLayout-D_9Wy9u7.js → SlidesLayout-BLjM8AsE.js} +6 -6
- package/dist/viewer/{SnapshotDocument-CSQat04X.js → SnapshotDocument-BW6FclPL.js} +1 -1
- package/dist/viewer/{SplitFrame-C1RyXrvT.js → SplitFrame-Bx1HwYSG.js} +1 -1
- package/dist/viewer/{StoryboardLayout-D2NuG4XP.js → StoryboardLayout-CCi_U_JF.js} +1 -1
- package/dist/viewer/{StoryboardRender-0LqgGyQJ.js → StoryboardRender-D95Ysu16.js} +1 -1
- package/dist/viewer/{ThreadView-DNSOaMxA.js → ThreadView-B8Yy6ce9.js} +1 -1
- package/dist/viewer/{Tooltip-DrZHVA-g.js → Tooltip-DZVPwqsR.js} +1 -1
- package/dist/viewer/VerifyLayout-CskZdAMO.js +1 -0
- package/dist/viewer/{VirtualizedEditor-uWe43zaI-BUhaXV3l.js → VirtualizedEditor-uWe43zaI-BkjvFC_5.js} +1 -1
- package/dist/viewer/{VirtualizedRenderer-C_d95FXi-BQtifqjj.js → VirtualizedRenderer-C_d95FXi-BTlEQQbm.js} +1 -1
- package/dist/viewer/{WarningsBadge-D6K3rV3U.js → WarningsBadge-CsZJsNyv.js} +1 -1
- package/dist/viewer/WhiteboardEditor-cZ32fLqJ-BYlolA7f.js +22 -0
- package/dist/viewer/WhiteboardLayout-3dywweHs.js +4 -0
- package/dist/viewer/{WritingCursor-CCQh8efI.js → WritingCursor-DrGIF7Jx.js} +1 -1
- package/dist/viewer/{agentLook-CLD0Z9Bb.js → agentLook-BLd4ATSJ.js} +1 -1
- package/dist/viewer/{artifact-list-CJpPYb6a.js → artifact-list-H2oNQqT0.js} +1 -1
- package/dist/viewer/{auto-publish-DvJwJAjK.js → auto-publish-Cz0ArY1R.js} +1 -1
- package/dist/viewer/{channel-BatmuQzW.js → channel-DcbI8pUh.js} +3 -3
- package/dist/viewer/{crop-encode-CqDJJBfH.js → crop-encode-n3Gdj_sX.js} +1 -1
- package/dist/viewer/{dist-BtZ_heSQ.js → dist-5vf2py7p.js} +1 -1
- package/dist/viewer/{dist-T6A2cok3.js → dist-BEQ0ol89.js} +1 -1
- package/dist/viewer/{dist-D5RTsyV2.js → dist-BTbKOC7d.js} +1 -1
- package/dist/viewer/{dist-BWn-qYbt.js → dist-BUolehu2.js} +1 -1
- package/dist/viewer/{dist-nLxBAE6w.js → dist-BUqpvNZv.js} +1 -1
- package/dist/viewer/{dist-DlR2v7OP.js → dist-Be8eeY3Q.js} +1 -1
- package/dist/viewer/{dist-B12JOeOs.js → dist-Brkw3bft.js} +1 -1
- package/dist/viewer/{dist-DCqtI7YE.js → dist-C0jMwP2J.js} +1 -1
- package/dist/viewer/{dist-B_at7JsR.js → dist-C2FiCTIa.js} +1 -1
- package/dist/viewer/{dist-6sq5RBuA.js → dist-C4WzGW8Y.js} +1 -1
- package/dist/viewer/{dist-B6iMxAed.js → dist-CJk0SygI.js} +1 -1
- package/dist/viewer/{dist-B9oEoK9M.js → dist-CKxyiE9P.js} +1 -1
- package/dist/viewer/{dist-BUgmxijI.js → dist-CUXZnXho.js} +1 -1
- package/dist/viewer/{dist-CYZwxXeC.js → dist-CqeN5UCI.js} +1 -1
- package/dist/viewer/{dist-B0RNXHil.js → dist-Cqo-4lof.js} +1 -1
- package/dist/viewer/{dist-aoIeJWRE.js → dist-Crp09caO.js} +1 -1
- package/dist/viewer/dist-D-MMd5Tw.js +1 -0
- package/dist/viewer/{dist-BoaJ5jiH.js → dist-D95WrGRE.js} +1 -1
- package/dist/viewer/{dist-C27-Bgr9.js → dist-DFpM5i2S.js} +1 -1
- package/dist/viewer/{dist-B0F-9jmh.js → dist-DTYqJzIX.js} +1 -1
- package/dist/viewer/{dist-BHxIjKc8.js → dist-DYMrZGRB.js} +1 -1
- package/dist/viewer/{dist-Dk9M4CtL.js → dist-Dn5GP9GJ.js} +1 -1
- package/dist/viewer/{dist-Bv6VcXOw.js → dist-DtgvpeWB.js} +1 -1
- package/dist/viewer/{dist-DJRtAFMn.js → dist-DwXGhMzG.js} +1 -1
- package/dist/viewer/{editor-ek6cOUVx.js → editor-CsnECjKH.js} +256 -256
- package/dist/viewer/file-code-CIc73fLV.js +1 -0
- package/dist/viewer/{icons-DMdOcnWh.js → icons-CDUVPf2C.js} +1 -1
- package/dist/viewer/{imperative-BgpPEgPr.js → imperative-D2duIMXe.js} +1 -1
- package/dist/viewer/index.html +12 -13
- package/dist/viewer/index.js +2 -2
- package/dist/viewer/index5.css +150 -80
- package/dist/viewer/{local-GFYq_BGH.js → local-DHIOeYXl.js} +1 -1
- package/dist/viewer/{local-split-host-BGs5cNVA.js → local-split-host-4pzXfh_X.js} +1 -1
- package/dist/viewer/plugin-_bGVeqI0-DO66NvkG.js +2 -0
- package/dist/viewer/preview.html +3 -3
- package/dist/viewer/preview.js +1 -1
- package/dist/viewer/{printDocument-BT0bFzus.js → printDocument-4lziR1bx.js} +1 -1
- package/dist/viewer/{ref-DyIVPmwn.js → ref-BebRMqou.js} +1 -1
- package/dist/viewer/{route-messages-DUcqXRrq.js → route-messages-DY_gWpv4.js} +1 -1
- package/dist/viewer/{route-CvkGpMzL.js → route-uX8K-A_8.js} +2 -2
- package/dist/viewer/settings-KeVbhryR.js +1 -0
- package/dist/viewer/{snap-CT85ZKOK.js → snap-tSt0R1Z0.js} +1 -1
- package/dist/viewer/split-DlPzidM8.js +2 -0
- package/dist/viewer/{stable-BlAu_y2b.js → stable-CTXXb0QY.js} +1 -1
- package/dist/viewer/{titlePrefix-cxpCuFGI.js → titlePrefix-DGuNe8hC.js} +1 -1
- package/dist/viewer/url-BFk-FAVX.js +29 -0
- package/dist/viewer/{useArtifactFeed-Dkc2PKxi.js → useArtifactFeed-D7OaXNrk.js} +1 -1
- package/dist/viewer/{useArtifactSocket-CSyWQULh.js → useArtifactSocket-BcnppV9G.js} +1 -1
- package/dist/viewer/{useLayerZIndex-OWWK_FW1.js → useLayerZIndex-K6olIWZr.js} +1 -1
- package/dist/viewer/{useStoryboardData-CDVveXGz.js → useStoryboardData-BsDYUg0Z.js} +1 -1
- package/dist/viewer/{view-B5N5KKNE.js → view-BZpx3qF5.js} +1 -1
- package/dist/viewer/{viewport-CFJHn_Y6-B5-Hkx8j.js → viewport-CFJHn_Y6-CPMAZ--b.js} +1 -1
- package/package.json +1 -2
- package/dist/comment-threads.cjs +0 -40
- package/dist/viewer/DocumentLayout-C-wuwB3q.js +0 -2
- package/dist/viewer/DocumentPage-q_gauPJq.js +0 -3
- package/dist/viewer/MenuSubmenuTrigger-DADl2jaD.js +0 -1
- package/dist/viewer/PreviewArtifactLayout-CceR922Q.js +0 -1
- package/dist/viewer/ReportLayout-DDLaZLMw.js +0 -6
- package/dist/viewer/SideDrawer-DPCWvBzS.js +0 -1
- package/dist/viewer/VerifyLayout-B609tFoq.js +0 -1
- package/dist/viewer/WhiteboardEditor-cZ32fLqJ-CCQ_Jx1E.js +0 -22
- package/dist/viewer/WhiteboardLayout-DjR0rR6S.js +0 -4
- package/dist/viewer/dist-Bnbmwjic.js +0 -1
- package/dist/viewer/is-html-element-DvgHo_1h.js +0 -1
- package/dist/viewer/plugin-_bGVeqI0-DB1zJFJJ.js +0 -2
- package/dist/viewer/settings-DoHLrWpN.js +0 -1
- package/dist/viewer/split-B0wj5POh.js +0 -2
- package/dist/viewer/url-DRjvJcBB.js +0 -29
package/dist/viewer/index5.css
CHANGED
|
@@ -119,14 +119,14 @@
|
|
|
119
119
|
margin: 0 0 22px;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
.xwd23ue {
|
|
123
|
-
margin: 0 0 4px;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
122
|
.x1q6ys4k {
|
|
127
123
|
margin: 0 0 8px;
|
|
128
124
|
}
|
|
129
125
|
|
|
126
|
+
.xed7b2j {
|
|
127
|
+
margin: 0 14px 10px;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
130
|
.xdd8z9q {
|
|
131
131
|
margin: 0 2px 4px;
|
|
132
132
|
}
|
|
@@ -143,14 +143,6 @@
|
|
|
143
143
|
margin: 2px 4px 6px;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
.xabx8x8 {
|
|
147
|
-
margin: 6px 0 0;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.x1hxe1p5 {
|
|
151
|
-
margin: 6px 0 2px;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
146
|
.x8k27cj {
|
|
155
147
|
margin: 6px 4px 0;
|
|
156
148
|
}
|
|
@@ -163,6 +155,10 @@
|
|
|
163
155
|
margin: 8px 4px 0;
|
|
164
156
|
}
|
|
165
157
|
|
|
158
|
+
.xn9ocr7 {
|
|
159
|
+
margin: 9px 10px 0 0;
|
|
160
|
+
}
|
|
161
|
+
|
|
166
162
|
.x1bpp3o7 {
|
|
167
163
|
margin: auto;
|
|
168
164
|
}
|
|
@@ -171,14 +167,6 @@
|
|
|
171
167
|
padding: .7cqw 1.6cqw;
|
|
172
168
|
}
|
|
173
169
|
|
|
174
|
-
.x23h86a {
|
|
175
|
-
padding: 0 16px 12px 38px;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.x31xalj {
|
|
179
|
-
padding: 0 16px 14px;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
170
|
.x927fz6 {
|
|
183
171
|
padding: 0 18px 12px 54px;
|
|
184
172
|
}
|
|
@@ -187,38 +175,34 @@
|
|
|
187
175
|
padding: 0;
|
|
188
176
|
}
|
|
189
177
|
|
|
190
|
-
.
|
|
191
|
-
padding: 10px
|
|
178
|
+
.x7g05j9 {
|
|
179
|
+
padding: 10px 14px 18px 8px;
|
|
192
180
|
}
|
|
193
181
|
|
|
194
|
-
.
|
|
195
|
-
padding: 10px
|
|
182
|
+
.x1y1p12j {
|
|
183
|
+
padding: 10px 14px 4px;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.x15x03d9 {
|
|
187
|
+
padding: 10px 14px;
|
|
196
188
|
}
|
|
197
189
|
|
|
198
190
|
.x7z7khe {
|
|
199
191
|
padding: 10px;
|
|
200
192
|
}
|
|
201
193
|
|
|
202
|
-
.
|
|
203
|
-
padding: 11px
|
|
194
|
+
.x1ir2kib {
|
|
195
|
+
padding: 11px 10px 11px 14px;
|
|
204
196
|
}
|
|
205
197
|
|
|
206
|
-
.
|
|
207
|
-
padding:
|
|
198
|
+
.xi0fwqg {
|
|
199
|
+
padding: 11px 14px;
|
|
208
200
|
}
|
|
209
201
|
|
|
210
202
|
.x1gqud3g {
|
|
211
203
|
padding: 12px 14px;
|
|
212
204
|
}
|
|
213
205
|
|
|
214
|
-
.xkjfd6r {
|
|
215
|
-
padding: 12px 16px 20px;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.x1iwkndl {
|
|
219
|
-
padding: 12px 16px;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
206
|
.xlqrw7o {
|
|
223
207
|
padding: 12px 18px 6px 14px;
|
|
224
208
|
}
|
|
@@ -235,10 +219,6 @@
|
|
|
235
219
|
padding: 14px;
|
|
236
220
|
}
|
|
237
221
|
|
|
238
|
-
.xbra0mx {
|
|
239
|
-
padding: 16px 16px 14px;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
222
|
.x1tamke2 {
|
|
243
223
|
padding: 16px;
|
|
244
224
|
}
|
|
@@ -271,10 +251,6 @@
|
|
|
271
251
|
padding: 32px;
|
|
272
252
|
}
|
|
273
253
|
|
|
274
|
-
.xd8jtse {
|
|
275
|
-
padding: 3px 0;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
254
|
.x1o8uwn5 {
|
|
279
255
|
padding: 48px;
|
|
280
256
|
}
|
|
@@ -319,6 +295,10 @@
|
|
|
319
295
|
padding: 8px 10px;
|
|
320
296
|
}
|
|
321
297
|
|
|
298
|
+
.x153ncpu {
|
|
299
|
+
padding: 8px 12px;
|
|
300
|
+
}
|
|
301
|
+
|
|
322
302
|
.x149dozy {
|
|
323
303
|
padding: 8px 14px 0;
|
|
324
304
|
}
|
|
@@ -379,6 +359,10 @@
|
|
|
379
359
|
border-color: var(--lobe-color-border);
|
|
380
360
|
}
|
|
381
361
|
|
|
362
|
+
.x1vec4m4 {
|
|
363
|
+
border-color: var(--lobe-color-error-border);
|
|
364
|
+
}
|
|
365
|
+
|
|
382
366
|
.xzk9fxv {
|
|
383
367
|
border-color: var(--lobe-color-primary-border);
|
|
384
368
|
}
|
|
@@ -395,6 +379,10 @@
|
|
|
395
379
|
border-color: var(--lobe-color-text);
|
|
396
380
|
}
|
|
397
381
|
|
|
382
|
+
.x1cwb9qn {
|
|
383
|
+
border-color: var(--lobe-color-warning-border);
|
|
384
|
+
}
|
|
385
|
+
|
|
398
386
|
.x1m09u1p {
|
|
399
387
|
border-color: var(--x12zgsxp);
|
|
400
388
|
}
|
|
@@ -655,6 +643,10 @@
|
|
|
655
643
|
gap: 6px 10px;
|
|
656
644
|
}
|
|
657
645
|
|
|
646
|
+
.x3phc52 {
|
|
647
|
+
gap: 6px 14px;
|
|
648
|
+
}
|
|
649
|
+
|
|
658
650
|
.x17d4w8g {
|
|
659
651
|
gap: 6px;
|
|
660
652
|
}
|
|
@@ -671,6 +663,10 @@
|
|
|
671
663
|
gap: 9px;
|
|
672
664
|
}
|
|
673
665
|
|
|
666
|
+
.x1osaytk {
|
|
667
|
+
grid-column: 1 / -1;
|
|
668
|
+
}
|
|
669
|
+
|
|
674
670
|
.x1npkx4u {
|
|
675
671
|
grid-column: 2;
|
|
676
672
|
}
|
|
@@ -908,6 +904,10 @@
|
|
|
908
904
|
padding-inline: 13px;
|
|
909
905
|
}
|
|
910
906
|
|
|
907
|
+
.xa6ul6a {
|
|
908
|
+
padding-inline: 14px 10px;
|
|
909
|
+
}
|
|
910
|
+
|
|
911
911
|
.x1c5z90z {
|
|
912
912
|
padding-inline: 14px 8px;
|
|
913
913
|
}
|
|
@@ -920,10 +920,6 @@
|
|
|
920
920
|
padding-inline: 15px;
|
|
921
921
|
}
|
|
922
922
|
|
|
923
|
-
.xxs7o6a {
|
|
924
|
-
padding-inline: 16px 10px;
|
|
925
|
-
}
|
|
926
|
-
|
|
927
923
|
.x1hr3lfm {
|
|
928
924
|
padding-inline: 16px;
|
|
929
925
|
}
|
|
@@ -1032,6 +1028,10 @@
|
|
|
1032
1028
|
transition: grid-template-rows .22s cubic-bezier(.2, 0, 0, 1), opacity .2s linear 40ms, visibility;
|
|
1033
1029
|
}
|
|
1034
1030
|
|
|
1031
|
+
.x1le9ltd {
|
|
1032
|
+
transition: opacity .18s;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
1035
|
.x137m0jx {
|
|
1036
1036
|
transition: opacity .2s cubic-bezier(.2, 0, 0, 1), height .2s cubic-bezier(.2, 0, 0, 1), font-size .2s cubic-bezier(.2, 0, 0, 1);
|
|
1037
1037
|
}
|
|
@@ -1056,6 +1056,10 @@
|
|
|
1056
1056
|
transition: transform .22s cubic-bezier(.2, 0, 0, 1);
|
|
1057
1057
|
}
|
|
1058
1058
|
|
|
1059
|
+
.x1n27bd6 {
|
|
1060
|
+
transition: width .22s cubic-bezier(.22, 1, .36, 1), opacity .18s, transform .22s cubic-bezier(.22, 1, .36, 1);
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1059
1063
|
.x10iii20 {
|
|
1060
1064
|
transition: width .2s cubic-bezier(.2, 0, 0, 1), background-color .2s cubic-bezier(.2, 0, 0, 1);
|
|
1061
1065
|
}
|
|
@@ -1181,8 +1185,8 @@
|
|
|
1181
1185
|
}
|
|
1182
1186
|
|
|
1183
1187
|
@media (width <= 560px) {
|
|
1184
|
-
.
|
|
1185
|
-
padding-inline:
|
|
1188
|
+
.x3w0d6w.x3w0d6w {
|
|
1189
|
+
padding-inline: 10px;
|
|
1186
1190
|
}
|
|
1187
1191
|
}
|
|
1188
1192
|
|
|
@@ -1230,6 +1234,10 @@
|
|
|
1230
1234
|
align-items: flex-start;
|
|
1231
1235
|
}
|
|
1232
1236
|
|
|
1237
|
+
.x7a106z {
|
|
1238
|
+
align-items: start;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1233
1241
|
.x1qjc9v5 {
|
|
1234
1242
|
align-items: stretch;
|
|
1235
1243
|
}
|
|
@@ -1270,6 +1278,10 @@
|
|
|
1270
1278
|
animation-duration: .2s;
|
|
1271
1279
|
}
|
|
1272
1280
|
|
|
1281
|
+
.xof6966 {
|
|
1282
|
+
animation-duration: .7s;
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1273
1285
|
.x7tkt5m {
|
|
1274
1286
|
animation-duration: 1.05s;
|
|
1275
1287
|
}
|
|
@@ -1342,6 +1354,10 @@
|
|
|
1342
1354
|
animation-name: x1vqrptf-B;
|
|
1343
1355
|
}
|
|
1344
1356
|
|
|
1357
|
+
.x1aerksh {
|
|
1358
|
+
animation-name: x1wc8ddo-B;
|
|
1359
|
+
}
|
|
1360
|
+
|
|
1345
1361
|
.x1bt9dc6 {
|
|
1346
1362
|
animation-name: x52vm4l-B;
|
|
1347
1363
|
}
|
|
@@ -1394,6 +1410,10 @@
|
|
|
1394
1410
|
animation-timing-function: cubic-bezier(.2, .8, .2, 1);
|
|
1395
1411
|
}
|
|
1396
1412
|
|
|
1413
|
+
.x1lfcbla {
|
|
1414
|
+
animation-timing-function: cubic-bezier(.22, 1, .36, 1);
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1397
1417
|
.x1w258dv {
|
|
1398
1418
|
animation-timing-function: cubic-bezier(.4, 0, .2, 1);
|
|
1399
1419
|
}
|
|
@@ -1527,6 +1547,10 @@
|
|
|
1527
1547
|
background-color: currentColor;
|
|
1528
1548
|
}
|
|
1529
1549
|
|
|
1550
|
+
.x1pctooe {
|
|
1551
|
+
background-color: #0000000a;
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1530
1554
|
.xempue3 {
|
|
1531
1555
|
background-color: #7b61ff12;
|
|
1532
1556
|
}
|
|
@@ -1959,6 +1983,10 @@
|
|
|
1959
1983
|
box-shadow: 0 10px 28px #00000029;
|
|
1960
1984
|
}
|
|
1961
1985
|
|
|
1986
|
+
.x12kbt8a {
|
|
1987
|
+
box-shadow: 0 12px 36px #0000001a, 0 2px 6px #0000000d;
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1962
1990
|
.x17mo148 {
|
|
1963
1991
|
box-shadow: 0 12px 40px #0000004d;
|
|
1964
1992
|
}
|
|
@@ -1967,6 +1995,10 @@
|
|
|
1967
1995
|
box-shadow: 0 16px 40px -12px #00000059, 0 0 0 1px #0000000f;
|
|
1968
1996
|
}
|
|
1969
1997
|
|
|
1998
|
+
.x1jzcp60 {
|
|
1999
|
+
box-shadow: 0 1px 2px #0000000f;
|
|
2000
|
+
}
|
|
2001
|
+
|
|
1970
2002
|
.x1okzbs6 {
|
|
1971
2003
|
box-shadow: 0 1px 2px var(--x176phpw),0 2px 4px var(--x10164xt);
|
|
1972
2004
|
}
|
|
@@ -2640,6 +2672,10 @@
|
|
|
2640
2672
|
grid-template-columns: 1fr 1fr;
|
|
2641
2673
|
}
|
|
2642
2674
|
|
|
2675
|
+
.x52fmzj {
|
|
2676
|
+
grid-template-columns: 1fr auto;
|
|
2677
|
+
}
|
|
2678
|
+
|
|
2643
2679
|
.xc94fvo {
|
|
2644
2680
|
grid-template-columns: 220px minmax(0, 700px) 320px;
|
|
2645
2681
|
}
|
|
@@ -2872,16 +2908,12 @@
|
|
|
2872
2908
|
line-height: inherit;
|
|
2873
2909
|
}
|
|
2874
2910
|
|
|
2875
|
-
.xrqqxx7 {
|
|
2876
|
-
margin-inline-end: -7px;
|
|
2877
|
-
}
|
|
2878
|
-
|
|
2879
2911
|
.x1w5wx5t {
|
|
2880
2912
|
margin-inline-end: -8px;
|
|
2881
2913
|
}
|
|
2882
2914
|
|
|
2883
|
-
.
|
|
2884
|
-
margin-inline-end:
|
|
2915
|
+
.x1sa5p1d {
|
|
2916
|
+
margin-inline-end: 10px;
|
|
2885
2917
|
}
|
|
2886
2918
|
|
|
2887
2919
|
.x2fvf9 {
|
|
@@ -2908,10 +2940,6 @@
|
|
|
2908
2940
|
margin-inline-start: -4px;
|
|
2909
2941
|
}
|
|
2910
2942
|
|
|
2911
|
-
.xw01apr {
|
|
2912
|
-
margin-inline-start: -6px;
|
|
2913
|
-
}
|
|
2914
|
-
|
|
2915
2943
|
.x2459kn {
|
|
2916
2944
|
margin-inline-start: -7px;
|
|
2917
2945
|
}
|
|
@@ -3182,6 +3210,10 @@
|
|
|
3182
3210
|
padding-inline-end: 8px;
|
|
3183
3211
|
}
|
|
3184
3212
|
|
|
3213
|
+
.xrw5ot4 {
|
|
3214
|
+
padding-inline-end: 9px;
|
|
3215
|
+
}
|
|
3216
|
+
|
|
3185
3217
|
.xyhpvq0 {
|
|
3186
3218
|
padding-inline-start: 1.2em;
|
|
3187
3219
|
}
|
|
@@ -3242,6 +3274,10 @@
|
|
|
3242
3274
|
padding-inline-start: 88px;
|
|
3243
3275
|
}
|
|
3244
3276
|
|
|
3277
|
+
.x7coems {
|
|
3278
|
+
padding-inline-start: 9px;
|
|
3279
|
+
}
|
|
3280
|
+
|
|
3245
3281
|
.x1v2g701 {
|
|
3246
3282
|
perspective: 160px;
|
|
3247
3283
|
}
|
|
@@ -3475,10 +3511,18 @@
|
|
|
3475
3511
|
transform: translateX(-50%);
|
|
3476
3512
|
}
|
|
3477
3513
|
|
|
3514
|
+
.xbryuvx {
|
|
3515
|
+
transform: translateX(0);
|
|
3516
|
+
}
|
|
3517
|
+
|
|
3478
3518
|
.xumwmo6 {
|
|
3479
3519
|
transform: translateX(100%);
|
|
3480
3520
|
}
|
|
3481
3521
|
|
|
3522
|
+
.x1psfjxj {
|
|
3523
|
+
transform: translateX(16px);
|
|
3524
|
+
}
|
|
3525
|
+
|
|
3482
3526
|
.x105ttfm {
|
|
3483
3527
|
transform: translateY(-100%);
|
|
3484
3528
|
}
|
|
@@ -3657,6 +3701,10 @@
|
|
|
3657
3701
|
will-change: transform;
|
|
3658
3702
|
}
|
|
3659
3703
|
|
|
3704
|
+
.x13faqbe {
|
|
3705
|
+
word-break: break-word;
|
|
3706
|
+
}
|
|
3707
|
+
|
|
3660
3708
|
.x8knxv4 {
|
|
3661
3709
|
z-index: -1;
|
|
3662
3710
|
}
|
|
@@ -3701,6 +3749,10 @@
|
|
|
3701
3749
|
z-index: 20;
|
|
3702
3750
|
}
|
|
3703
3751
|
|
|
3752
|
+
.xrp34fr {
|
|
3753
|
+
z-index: 25;
|
|
3754
|
+
}
|
|
3755
|
+
|
|
3704
3756
|
.xzkaem6 {
|
|
3705
3757
|
z-index: 3;
|
|
3706
3758
|
}
|
|
@@ -3821,6 +3873,14 @@
|
|
|
3821
3873
|
opacity: .5;
|
|
3822
3874
|
}
|
|
3823
3875
|
|
|
3876
|
+
.xk0mbs4:disabled {
|
|
3877
|
+
opacity: .55;
|
|
3878
|
+
}
|
|
3879
|
+
|
|
3880
|
+
.xfqoyci:disabled {
|
|
3881
|
+
opacity: .6;
|
|
3882
|
+
}
|
|
3883
|
+
|
|
3824
3884
|
.x1c2mdwc:hover {
|
|
3825
3885
|
background-color: color-mix(in srgb,var(--x1uxlckq) 24%,transparent);
|
|
3826
3886
|
}
|
|
@@ -3837,6 +3897,10 @@
|
|
|
3837
3897
|
background-color: #0000;
|
|
3838
3898
|
}
|
|
3839
3899
|
|
|
3900
|
+
.xd88dkn:hover {
|
|
3901
|
+
background-color: var(--lobe-color-bg-container);
|
|
3902
|
+
}
|
|
3903
|
+
|
|
3840
3904
|
.x32h952:hover {
|
|
3841
3905
|
background-color: var(--lobe-color-error-bg);
|
|
3842
3906
|
}
|
|
@@ -3869,10 +3933,6 @@
|
|
|
3869
3933
|
background-color: var(--x1yr20sb);
|
|
3870
3934
|
}
|
|
3871
3935
|
|
|
3872
|
-
.x1yuprar:hover {
|
|
3873
|
-
color: var(--lobe-color-primary-hover);
|
|
3874
|
-
}
|
|
3875
|
-
|
|
3876
3936
|
.x12rs2w1:hover {
|
|
3877
3937
|
color: var(--lobe-color-text-secondary);
|
|
3878
3938
|
}
|
|
@@ -4110,8 +4170,8 @@
|
|
|
4110
4170
|
}
|
|
4111
4171
|
|
|
4112
4172
|
@media (width <= 720px) {
|
|
4113
|
-
.
|
|
4114
|
-
z-index:
|
|
4173
|
+
.x1h36tzp.x1h36tzp {
|
|
4174
|
+
z-index: 30;
|
|
4115
4175
|
}
|
|
4116
4176
|
}
|
|
4117
4177
|
}
|
|
@@ -4129,6 +4189,10 @@
|
|
|
4129
4189
|
border-bottom-color: var(--lobe-color-border);
|
|
4130
4190
|
}
|
|
4131
4191
|
|
|
4192
|
+
.x1audl73 {
|
|
4193
|
+
border-bottom-color: var(--lobe-color-error-border);
|
|
4194
|
+
}
|
|
4195
|
+
|
|
4132
4196
|
.x1o2qa4v {
|
|
4133
4197
|
border-bottom-color: var(--lobe-color-text);
|
|
4134
4198
|
}
|
|
@@ -4825,10 +4889,6 @@
|
|
|
4825
4889
|
max-height: 220px;
|
|
4826
4890
|
}
|
|
4827
4891
|
|
|
4828
|
-
.x1xiyphd {
|
|
4829
|
-
max-height: 240px;
|
|
4830
|
-
}
|
|
4831
|
-
|
|
4832
4892
|
.x1n19c2o {
|
|
4833
4893
|
max-height: 3.3em;
|
|
4834
4894
|
}
|
|
@@ -4865,10 +4925,6 @@
|
|
|
4865
4925
|
max-height: calc(100dvh - var(--ryugi-toc-top, 72px) - 24px);
|
|
4866
4926
|
}
|
|
4867
4927
|
|
|
4868
|
-
.x7ab17h {
|
|
4869
|
-
max-height: none;
|
|
4870
|
-
}
|
|
4871
|
-
|
|
4872
4928
|
.x193iq5w {
|
|
4873
4929
|
max-width: 100%;
|
|
4874
4930
|
}
|
|
@@ -4953,6 +5009,10 @@
|
|
|
4953
5009
|
max-width: 86%;
|
|
4954
5010
|
}
|
|
4955
5011
|
|
|
5012
|
+
.xlvz6mq {
|
|
5013
|
+
max-width: calc(100% - 20px);
|
|
5014
|
+
}
|
|
5015
|
+
|
|
4956
5016
|
.x18b33ah {
|
|
4957
5017
|
max-width: calc(100% - 24px);
|
|
4958
5018
|
}
|
|
@@ -5705,6 +5765,10 @@
|
|
|
5705
5765
|
width: 56px;
|
|
5706
5766
|
}
|
|
5707
5767
|
|
|
5768
|
+
.xjqzex7 {
|
|
5769
|
+
width: 580px;
|
|
5770
|
+
}
|
|
5771
|
+
|
|
5708
5772
|
.x1ftt334 {
|
|
5709
5773
|
width: 5px;
|
|
5710
5774
|
}
|
|
@@ -5737,10 +5801,6 @@
|
|
|
5737
5801
|
width: 8px;
|
|
5738
5802
|
}
|
|
5739
5803
|
|
|
5740
|
-
.xefyazp {
|
|
5741
|
-
width: 90px;
|
|
5742
|
-
}
|
|
5743
|
-
|
|
5744
5804
|
.x1wc42o8 {
|
|
5745
5805
|
width: 9px;
|
|
5746
5806
|
}
|
|
@@ -5886,8 +5946,8 @@
|
|
|
5886
5946
|
}
|
|
5887
5947
|
|
|
5888
5948
|
@media (width <= 720px) {
|
|
5889
|
-
.
|
|
5890
|
-
max-height:
|
|
5949
|
+
.xm12prr.xm12prr {
|
|
5950
|
+
max-height: 76vh;
|
|
5891
5951
|
}
|
|
5892
5952
|
}
|
|
5893
5953
|
|
|
@@ -6258,6 +6318,16 @@
|
|
|
6258
6318
|
}
|
|
6259
6319
|
}
|
|
6260
6320
|
|
|
6321
|
+
@keyframes x1wc8ddo-B {
|
|
6322
|
+
from {
|
|
6323
|
+
transform: rotate(0);
|
|
6324
|
+
}
|
|
6325
|
+
|
|
6326
|
+
to {
|
|
6327
|
+
transform: rotate(360deg);
|
|
6328
|
+
}
|
|
6329
|
+
}
|
|
6330
|
+
|
|
6261
6331
|
@keyframes x17jock0-B {
|
|
6262
6332
|
0%, 100% {
|
|
6263
6333
|
transform: scale(1);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{C as t,h as n}from"./route-CvkGpMzL.js";import{n as r,r as i,t as a}from"./bem-vbke-3KC.js";import{t as o}from"./react-DlmbjZJV.js";import{Cr as s,Mn as c,Nn as l,On as u,fr as d,in as f,rn as p,rt as m,tt as h,wr as g}from"./url-DRjvJcBB.js";import{t as _}from"./jsx-runtime-LKYXHABd.js";import{En as v,Gr as ee,Gt as te,Kr as ne,Sn as y,Tn as b,Vr as re,Xr as x,Zr as ie,_ as S,g as ae,ii as C,oi as oe,ri as w,rr as se,t as ce}from"./useLayerZIndex-OWWK_FW1.js";import{Dt as T}from"./MotionConfigContext-HC2vqcJO.js";import{a as le,c as ue,d as de,f as fe,i as E,m as pe,o as D,p as me,r as O,s as he,u as ge}from"./SelectScrollUpArrow-CxAEysJp.js";var k={name:`clock`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]};k.node;var _e=T(k),ve={name:`log-in`,size:24,node:[[`path`,{d:`m10 17 5-5-5-5`,key:`1bsop3`}],[`path`,{d:`M15 12H3`,key:`6jk70r`}],[`path`,{d:`M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4`,key:`u53s6r`}]]};ve.node;var ye=T(ve),A=e(o(),1);({...te,...se});var j=A.createContext(void 0);function be(){let e=A.useContext(j);if(e===void 0)throw Error(x(56));return e}var M=_(),N=A.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,[o,s]=A.useState(),c=A.useMemo(()=>({labelId:o,setLabelId:s}),[o,s]),l=ee(`div`,e,{ref:t,props:[{role:`group`,"aria-labelledby":o},a]});return(0,M.jsx)(j.Provider,{value:c,children:l})}),P=A.forwardRef(function(e,t){let{render:n,className:r,style:i,id:a,...o}=e,{setLabelId:s}=be(),c=re(a);return ie(()=>(s(c),()=>{s(e=>e===c?void 0:e)}),[c,s]),ee(`div`,e,{ref:t,props:[{id:c,"aria-hidden":!0},o]})}),F=a({block:`select`,dataAttributes:[`variant`,`size`,`shadow`,`mode`],elements:[`prefix`,`value`,`search`,`suffix`,`clear`,`icon`,`positioner`,`popup`,`list`,`option`,`item-text`,`item-indicator`,`group`,`group-label`,`empty`,`scroll-up-arrow`,`scroll-down-arrow`,`arrow`]}),I={lb17qyu0m:`lb17qyu0m`,$$css:!0},L={arrow:{k1xSpc:`lb78zum5`,kZKoxP:`lbols6we`,kzqmXN:`lbsmyaan`,$$css:!0},borderless:{"--lobe-select-disabled-bg":`lb1fcm1w1`,"--lobe-select-open-bg":`lb1m91qns`,"--lobe-select-readonly-bg":`lb16si2i5`,kVAM5u:`lb181nr7w`,ksu8eU:`lbng3xce`,kMzoRj:`lbfn42iu`,kWkggS:`lbjbqb8w lbbxqymp lb129k4ed lb1o44d5j lbckdqiz`,kGVxlE:`lb1gnnqk1`,$$css:!0},clear:{kmkexE:`lbholrd4`,kGNEyG:`lb6s0dn4`,kMwMTN:`lb53gy9q lblbjun7`,k1xSpc:`lb3nfvp2`,kSiTet:`lbg01cxk lb1asl7ui`,kfzvcC:`lb11l7nm`,$$css:!0},empty:{kMwMTN:`lb53gy9q`,$$css:!0},filled:{"--lobe-select-disabled-bg":`lb1fcm1w1`,"--lobe-select-open-bg":`lb1hprk1n`,"--lobe-select-readonly-bg":`lb16si2i5`,kWkggS:`lbaljia1 lbbxqymp lb6jdevu lb1o44d5j lbckdqiz`,$$css:!0},icon:{kmkexE:`lbyuzwzm`,kGNEyG:`lb6s0dn4`,k1xSpc:`lb3nfvp2`,k3aq6I:`lb1je0516`,$$css:!0},itemBoldSelected:{k63SB2:`lbkj54ki`,$$css:!0},itemIndicator:{kGNEyG:`lb6s0dn4`,kMwMTN:`lb16owwnm`,k1xSpc:`lb3nfvp2`,kjj79g:`lbl56j7k`,keTefX:`lbvc5jky`,kZCmMZ:`lbmzvs34`,$$css:!0},list:{kUk6DE:`lb98rzlu`,kGO01o:`lb18d9i69`,kLKAdn:`lbexx8yu`,kAzted:`lb2lwn1j`,kORKVm:`lb1odjw0f`,$$css:!0},listWithSearch:{kLKAdn:`lb1iorvi4`,$$css:!0},outlined:{"--lobe-select-disabled-bg":`lb1lqng0l`,"--lobe-select-open-bg":`lb1m91qns`,"--lobe-select-readonly-bg":`lbcbhfra`,kVAM5u:`lb10cypdb lb3mg3nv`,ksu8eU:`lb1y0btm7`,kMzoRj:`lbmkeg23`,kWkggS:`lb6yijhg lbbxqymp lb1o44d5j lbckdqiz`,$$css:!0},popupBounds:{ks0D6T:`lb7k7lee`,k7Eaqz:`lb80t9vs`,$$css:!0},popup:{"--lobe-select-available-height":`lb1rupxqf`,kmkexE:`lb1xhw48d`,kB7OPa:`lb9f619`,k1xSpc:`lb78zum5`,kXwgrk:`lbdt5ytf`,kSiTet:`lb1i2unn7`,k3aq6I:`lb11d3i7i`,k3nNDw:`lbctpfpq`,kskxy:`lbf2pfjc`,$$css:!0},positioner:{kI3sdo:`lb1a2a7pz`,kY2c9j:`lbp6lfbs`,$$css:!0},prefix:{kGNEyG:`lb6s0dn4`,kMwMTN:`lbc77et8`,k1xSpc:`lb3nfvp2`,$$css:!0},scrollArrow:{kGNEyG:`lb6s0dn4`,kWkggS:`lb1w937bt`,kMwMTN:`lbc77et8`,kkrTdU:`lbt0e3qv`,k1xSpc:`lb78zum5`,kjj79g:`lbl56j7k`,kZKoxP:`lblup9mm`,$$css:!0},search:{kUOVxO:`lb15usb71`,k8WAf4:`lb1vvogim`,kg3NbH:`lbaope02`,kGNEyG:`lb6s0dn4`,kL6WhQ:`lb1ak05nl`,kfdmCh:`lb1q0q8m5`,kt9PQ7:`lbso031l`,kkrTdU:`lb1ed109x`,k1xSpc:`lb78zum5`,kAzted:`lbu0aao5`,$$css:!0},searchInput:{kVAM5u:`lb181nr7w`,ksu8eU:`lbng3xce`,kMzoRj:`lbc342km`,kUk6DE:`lb98rzlu`,kI3sdo:`lb1a2a7pz`,k8WAf4:`lbt970qd`,kg3NbH:`lbfn1xvj`,kWkggS:`lbjbqb8w`,kMwMTN:`lb66ogz0`,kGuDYH:`lbif65rj`,kLWn49:`lb1fc57z9`,k7Eaqz:`lbeuugli`,k8Qsv1:`lb14injf2`,$$css:!0},shadow:{kGVxlE:`lbpjwdtl`,$$css:!0},suffix:{kOIVth:`lb17d4w8g`,kGNEyG:`lb6s0dn4`,kMwMTN:`lbc77et8`,k1xSpc:`lb3nfvp2`,$$css:!0},tag:{kaIpWk:`lb1vihcfj`,k8WAf4:`lbt970qd`,kg3NbH:`lb1xijbu4`,kGNEyG:`lb6s0dn4`,kWkggS:`lbaljia1`,kMwMTN:`lb66ogz0`,k1xSpc:`lb3nfvp2`,kGuDYH:`lbfifm61`,kLWn49:`lb1fc57z9`,ks0D6T:`lb193iq5w`,$$css:!0},tagClose:{kmkexE:`lbholrd4`,kGNEyG:`lb6s0dn4`,kMwMTN:`lbc77et8`,kkrTdU:`lb1ypdohk`,k1xSpc:`lb3nfvp2`,kjj79g:`lbl56j7k`,keTefX:`lbdwrcjd`,$$css:!0},tags:{kOIVth:`lb1jnr06f`,kGNEyG:`lb6s0dn4`,k1xSpc:`lb78zum5`,kwnvtZ:`lb1a02dak`,$$css:!0},tagsSearch:{kUk6DE:`lb98rzlu`,k1xSpc:`lb78zum5`,k7Eaqz:`lb900493`,$$css:!0},tagsValue:{kCS8Yb:`lbdl72j9`,kzQI83:`lb1c4vz4f`,kmuXW:`lbs83m0k`,$$css:!0},trigger:{kVAM5u:`lb9r1u3d`,kaIpWk:`lb1sbi92r`,ksu8eU:`lb1y0btm7`,kMzoRj:`lbmkeg23`,kOIVth:`lb167g77z`,kI3sdo:`lb1a2a7pz`,kmkexE:`lb18nfrvi`,kGNEyG:`lb6s0dn4`,kB7OPa:`lb9f619`,kMwMTN:`lb66ogz0 lb1s5k17a lbsycbhq`,kkrTdU:`lb1ypdohk lb10bady8 lbs5y3ja`,k1xSpc:`lb3nfvp2`,kMv6JI:`lbjb2p0i`,kfSwDN:`lb87ps6o`,kzqmXN:`lbh8yej3`,$$css:!0},triggerLarge:{k8WAf4:`lb1t0vds8`,kg3NbH:`lbaope02`,kGuDYH:`lb1j61zf2`,kLWn49:`lb1o2sk6j`,kAzted:`lb1ba4aug`,$$css:!0},triggerMiddle:{k8WAf4:`lb12ulsxz`,kg3NbH:`lbfoe8qy`,kGuDYH:`lbif65rj`,kLWn49:`lb1fc57z9`,kAzted:`lb21xpn4`,$$css:!0},triggerSmall:{k8WAf4:`lbt970qd`,kg3NbH:`lbdqyycr`,kGuDYH:`lbfifm61`,kLWn49:`lbd4r4e8`,kAzted:`lbjwf9q1`,$$css:!0},value:{kUk6DE:`lb98rzlu`,kOIVth:`lb1jnr06f`,kGNEyG:`lb6s0dn4`,kMwMTN:`lb1heor9g lb1xpzrx5`,k1xSpc:`lb78zum5`,kwnvtZ:`lb1a02dak`,k7Eaqz:`lbeuugli`,$$css:!0},valueText:{kVQacm:`lbb3r6kr`,kg5iWk:`lblyipyv`,khDVqt:`lbuxw1ft`,$$css:!0}},R={large:L.triggerLarge,middle:L.triggerMiddle,small:L.triggerSmall},xe=({shadow:e,size:t,variant:n})=>[L.trigger,b.info,I,e&&L.shadow,R[t??`middle`],L[n]],z=(e,t,n)=>{let r=w(e,n).className;return typeof t==`function`?e=>i(r,t(e)):i(r,t)},Se=pe,B=({children:e,className:n,nativeButton:r,shadow:a,size:o=`middle`,variant:s,ref:u,...d})=>{let{isDarkMode:f}=t(),p=xe({shadow:a,size:o,variant:s??(f?`filled`:`outlined`)}),m=C(p).className,{isNativeButtonTriggerElement:h,resolvedNativeButton:g}=l({children:e,nativeButton:r});return(0,A.isValidElement)(e)?(0,M.jsx)(me,{...d,nativeButton:g,render:(t,r)=>{let a=(()=>{if(h)return t;let{type:e,ref:n,...r}=t;return r})(),o=ne(e.props,a),s=typeof o.className==`function`?o.className(r):o.className,l=typeof n==`function`?n(r):n;return(0,A.cloneElement)(e,{...o,className:i(m,F(),s,l),ref:ae([c(e),t.ref,u])})}}):(0,M.jsx)(me,{...d,className:z([p],n,F()),nativeButton:g,ref:u,children:e})};B.displayName=`SelectTrigger`;var V=({className:e,...t})=>(0,M.jsx)(de,{className:z([L.icon],e,F(`icon`)),...t});V.displayName=`SelectIcon`;var H=({className:e,...t})=>(0,M.jsx)(fe,{className:z([L.value],e,F(`value`)),...t});H.displayName=`SelectValue`;var U=({container:e,...t})=>{let n=oe();return(0,M.jsx)(ge,{container:e??n??void 0,...t})};U.displayName=`SelectPortal`;var Ce=({align:e,alignItemWithTrigger:t,className:n,collisionPadding:r,side:i,sideOffset:a,style:o,ref:s,...c})=>{let l=typeof o!=`function`&&o?.zIndex!=null&&typeof o.zIndex==`number`?o.zIndex:void 0,{zIndex:d,ref:f}=ce(`floating`,l),p=S([s,f]),m=typeof o==`function`?e=>({zIndex:d,...o(e)}):{zIndex:d,...o};return(0,M.jsx)(ue,{align:e??`start`,alignItemWithTrigger:t??!1,collisionPadding:r??u(),ref:p,side:i??`bottom`,sideOffset:a??6,style:m,className:z([L.positioner],n,F(`positioner`)),...c})};Ce.displayName=`SelectPositioner`;var W=({className:e,...t})=>(0,M.jsx)(he,{className:z([m.popup,L.popup],e,i(h.popup,F(`popup`))),...t});W.displayName=`SelectPopup`;var we=({className:e,...t})=>(0,M.jsx)(D,{className:z([L.list],e,F(`list`)),...t});we.displayName=`SelectList`;var Te=({className:e,...t})=>(0,M.jsx)(le,{className:z([m.item],e,F(`option`)),...t});Te.displayName=`SelectItem`;var G=({className:e,...t})=>(0,M.jsx)(O,{className:z([m.label],e,i(h.label,F(`item-text`))),...t});G.displayName=`SelectItemText`;var K=({className:e,...t})=>(0,M.jsx)(E,{className:z([L.itemIndicator],e,F(`item-indicator`)),...t});K.displayName=`SelectItemIndicator`;var q=e=>{let t=`nativeEvent`in e?e.nativeEvent:e;return t.isComposing||t.keyCode===229},J=e=>!!e.options,Y=e=>typeof e.label==`string`||typeof e.label==`number`?String(e.label):e.title?e.title:typeof e.value==`string`||typeof e.value==`number`?String(e.value):``,Ee=e=>e.replaceAll(/[$()*+.?[\\\]^{|}]/g,`\\$&`),De=(e,t)=>{if(!t||t.length===0)return[e];let n=t.map(Ee).join(`|`);return e.split(new RegExp(n,`g`))},X=e=>e.reduce((e,t)=>J(t)?e+t.options.length+1:e+1,0),Z=e=>e==null||e===``,Oe=e=>t=>e?Array.isArray(t)?t:t==null?[]:[t]:Array.isArray(t)?t[0]??null:t===void 0?null:t,ke=({mergedOpen:e,reason:t,searchValue:n})=>t===`none`&&(e||n!==``);function Ae({defaultValue:e,extraOptions:t,isMultiple:n,onChange:r,onSelect:i,options:a,setExtraOptions:o,value:s}){let[c,l]=(0,A.useState)(()=>e===void 0?n?[]:null:e),u=(0,A.useMemo)(()=>Oe(n),[n]),d=s===void 0?c:s,f=(0,A.useMemo)(()=>u(d),[d,u]),p=(0,A.useMemo)(()=>n?f:Z(f)?[]:[f],[n,f]),{optionMap:m,resolvedOptions:h}=(0,A.useMemo)(()=>{let e=a??[],n=new Map,r=e=>{n.has(e.value)||n.set(e.value,e)};e.forEach(e=>{J(e)?e.options.forEach(r):r(e)});let i=t.filter(e=>!n.has(e.value));i.forEach(r);let o=[...e,...i],s=p.filter(e=>!n.has(e)).map(e=>({label:String(e),value:e}));return s.forEach(r),{optionMap:n,resolvedOptions:s.length?[...o,...s]:o}},[t,a,p]),g=(0,A.useCallback)(e=>m.get(e)||(e&&typeof e==`object`&&`label`in e?{label:e.label,value:e}:{label:String(e),value:e}),[m]),_=(0,A.useRef)(f);(0,A.useEffect)(()=>{_.current=f},[f]);let v=(0,A.useCallback)(e=>{let t=u(e),a=_.current;if(n){let e=Array.isArray(a)?a:[],n=Array.isArray(t)?t:[];n.filter(t=>!e.some(e=>Object.is(e,t))).forEach(e=>i?.(e,g(e))),s===void 0&&l(n),r?.(n,n.map(e=>g(e)))}else!Z(t)&&!Object.is(a,t)&&i?.(t,g(t)),s===void 0&&l(t),r?.(Z(t)?void 0:t,Z(t)?void 0:g(t));_.current=t},[g,n,u,r,i,s]);return{appendTagValues:(0,A.useCallback)(e=>{let t=e.map(e=>e.trim()).filter(Boolean);if(!t.length)return;let n=[...Array.isArray(_.current)?_.current:p],r=t.filter(e=>!m.has(e));r.length>0&&o(e=>{let t=new Set(e.map(e=>e.value)),n=[...e];return r.forEach(e=>{t.has(e)||n.push({label:e,value:e})}),n}),t.forEach(e=>{n.some(t=>Object.is(t,e))||n.push(e)}),n.length!==p.length&&v(n)},[v,m,o,p]),getOption:g,handleValueChange:v,normalizedValue:f,normalizeValue:u,optionMap:m,resolvedOptions:h,removeLastTagValue:(0,A.useCallback)(()=>{let e=Array.isArray(_.current)?_.current:p;e.length>0&&v(e.slice(0,-1))},[v,p]),valueArray:p}}function je({defaultOpen:e,onOpenChange:t,open:n}){let[r,i]=(0,A.useState)(!!e);(0,A.useEffect)(()=>{n!==void 0&&i(n)},[n]);let a=n??r;return{handleOpenChange:(0,A.useCallback)((e,r)=>{t?.(e,r),n===void 0&&i(e)},[t,n]),mergedOpen:a}}function Me({filterOption:e,onSearch:t,appendTagValues:n,handleOpenChange:r,mergedOpen:i,mode:a,removeLastTagValue:o,resolvedOptions:s,showSearch:c,tokenSeparators:l}){let[u,d]=(0,A.useState)(``),f=!!(c||a===`tags`);(0,A.useEffect)(()=>{i||d(``)},[i]);let p=(0,A.useCallback)(e=>{let r=e.target.value;if(a===`tags`){let e=De(r,l);if(e.length>1){let t=e.pop()??``;n(e.filter(Boolean)),d(t);return}}d(r),t?.(r)},[n,a,t,l]),m=(0,A.useCallback)(e=>{if(e.stopPropagation(),q(e))return;if(e.key===`Escape`){r(!1);return}if(a!==`tags`)return;if(e.key===`Backspace`&&!u){e.preventDefault(),o();return}let t=l?.includes(e.key);(e.key===`Enter`||t)&&(e.preventDefault(),e.stopPropagation(),n([u]),d(``))},[n,r,a,o,u,l]),h=(0,A.useCallback)(e=>{e.stopPropagation()},[]);return{filteredOptions:(0,A.useMemo)(()=>{if(!f||!u.trim()||e===!1)return s;let t=u.trim().toLowerCase(),n=n=>typeof e==`function`?e(u,n):Y(n).toLowerCase().includes(t);return s.map(e=>{if(J(e)){let t=e.options.filter(e=>n(e));return t.length?{...e,options:t}:null}return n(e)?e:null}).filter(Boolean)},[e,s,u,f]),handleSearchChange:p,handleSearchKeyDown:m,searchValue:u,shouldShowSearch:f,stopSearchPropagation:h}}function Ne({filteredOptions:e,listItemHeight:t,size:n,valueArray:r,virtual:i}){let a=(0,A.useMemo)(()=>{if(!i)return;let r=X(e);return{height:`min(${Math.min(Math.max(r,1),6)*(t??(n===`large`?40:n===`small`?28:32))+8}px, var(--lobe-select-available-height, var(--available-height)))`}},[e,t,n,i]);return{selectedIndices:(0,A.useMemo)(()=>{if(!i||r.length===0)return;let t=new Set(r),n=[],a=0;return e.forEach(e=>{J(e)?(e.options.some(e=>t.has(e.value))&&n.push(a),a+=1):(t.has(e.value)&&n.push(a),a+=1)}),n.length?n:void 0},[e,r,i]),virtualListStyle:a}}function Pe(){let e=oe();return(0,A.useMemo)(()=>{if(typeof window>`u`)return e;if(e instanceof HTMLElement)return window.getComputedStyle(e).display===`contents`?document.body:e},[e])}function Fe(e){return e==null?null:(0,A.isValidElement)(e)||typeof e==`string`||typeof e==`number`?e:(0,M.jsx)(y,{icon:e,size:`small`})}function Ie(e,t,n){return n?(0,M.jsx)(y,{spin:!0,icon:d,size:`small`}):e===null?null:(0,A.isValidElement)(e)||typeof e==`string`||typeof e==`number`?e:(0,M.jsx)(y,{icon:e||s,size:`small`,...t,style:{pointerEvents:`none`,...t?.style}})}function Le({getOption:e,isMultiple:t,isTags:n,labelRender:r,normalizeValue:i,onRemoveValue:a,placeholder:o}){return function(s){let c=i(s),l=o===void 0?null:(0,M.jsx)(`span`,{...C(L.valueText),children:o});if(t){let t=Array.isArray(c)?c:[];return t.length===0?l:(0,M.jsx)(`span`,{...C(L.tags),children:t.map((t,i)=>{let o=e(t),s=r?r(o):o.label??String(t);return(0,M.jsxs)(`span`,{...C(L.tag),"data-role":`lobe-select-tag`,children:[s,n&&(0,M.jsx)(`span`,{"aria-label":`Remove ${String(t)}`,...C(L.tagClose),"data-role":`lobe-select-tag-remove`,role:`button`,tabIndex:0,onClick:e=>{e.preventDefault(),e.stopPropagation(),a(i)},onPointerDown:e=>{e.preventDefault(),e.stopPropagation()},children:(0,M.jsx)(v,{size:12})})]},`${String(t)}-${i}`)})})}if(Z(c))return l;let u=e(c),d=r?r(u):u.label??String(c);return(0,M.jsx)(`span`,{...C(L.valueText),children:d})}}function Re({classNames:e,hasSearch:t,isEmpty:n,listContent:r,listItemHeight:a,virtual:o,virtualState:s}){let c=w([L.list,t&&L.listWithSearch],i(F(`list`),e?.list)).className,l=!!o&&!n,{keepMountedIndices:u,viewportProps:d,viewportRef:m,virtualChildren:h,virtualizerRef:g}=p({children:r,enabled:l,keepMounted:s.selectedIndices});return l?(0,M.jsx)(f,{itemSize:a,keepMounted:u,style:s.virtualListStyle,viewport:(0,M.jsx)(D,{className:c}),viewportProps:{ref:m,...d},virtualizerRef:g,children:h}):(0,M.jsx)(D,{className:c,"data-virtual":o||void 0,children:r})}function ze({classNames:e}){return(0,M.jsx)(`div`,{...w([m.item,m.empty,L.empty],i(F(`empty`),e?.empty)),children:`No data`})}function Be({autoFocus:e,classNames:t,disabled:n,inline:r,onChange:a,onKeyDown:o,placeholder:s,readOnly:c,stopPropagation:l,value:u}){return(0,M.jsx)(`div`,{...w(r?L.tagsSearch:L.search,i(F(`search`),t?.search)),children:(0,M.jsx)(`input`,{autoFocus:e,...C(L.searchInput),disabled:n,placeholder:typeof s==`string`?s:void 0,readOnly:c,value:u,onChange:a,onKeyDownCapture:o,onKeyUp:l,onKeyUpCapture:l})})}function Ve({classNames:e,onClear:t,showClear:n,suffixIconNode:r}){return(0,M.jsxs)(`span`,{...w(L.suffix,i(F(`suffix`),e?.suffix)),children:[n&&(0,M.jsx)(`span`,{...w(L.clear,i(F(`clear`),e?.clear)),"data-role":`lobe-select-clear`,onClick:t,children:(0,M.jsx)(y,{icon:v,size:`small`})}),r!=null&&(0,M.jsx)(de,{...w(L.icon,i(F(`icon`),e?.icon)),children:r})]})}function Q(e,t,n){let{classNames:r,isBoldIndicator:a,itemTextClassName:o,listItemHeight:s,optionRender:c}=n;return(0,M.jsxs)(le,{disabled:e.disabled,label:Y(e),value:e.value,...w([m.item,a&&L.itemBoldSelected],i(F(`option`),r?.item,r?.option,e.className),{minHeight:s,...e.style}),children:[(0,M.jsx)(O,{className:i(F(`item-text`),o),children:c?c(e,{index:t}):e.label}),!a&&(0,M.jsx)(E,{...w(L.itemIndicator,i(F(`item-indicator`),r?.itemIndicator)),children:(0,M.jsx)(y,{icon:g,size:`small`})})]},`${String(e.value)}-${t}`)}function He(e){let{classNames:t,items:n}=e,r=0;return n.map((n,a)=>J(n)?(0,M.jsxs)(N,{className:i(F(`group`),t?.group),children:[(0,M.jsx)(P,{...w(m.groupLabel,i(F(`group-label`),t?.groupLabel)),children:n.label}),n.options.map(t=>Q(t,r++,e))]},`group-${a}`):Q(n,r++,e))}var Ue=(0,A.memo)(({allowClear:e,autoFocus:n,className:a,classNames:o,defaultOpen:s,defaultValue:c,disabled:l,id:u,labelRender:d,listHeight:f=512,listItemHeight:p,loading:g,mode:_,name:v,onChange:ee,onOpenChange:te,onSelect:ne,open:y,optionRender:b,options:re,placeholder:x,popupClassName:ie,popupMatchSelectWidth:S,prefix:ae,readOnly:C,required:oe,behaviorVariant:se=`default`,selectedIndicatorVariant:ce=`check`,shadow:T,showSearch:le,filterOption:ue,onSearch:de,size:E=`middle`,style:D,suffixIcon:O,suffixIconProps:k,tokenSeparators:_e,value:ve,variant:ye,virtual:j})=>{let{isDarkMode:be}=t(),N=ye??(be?`filled`:`outlined`),P=_===`tags`,I=_===`multiple`||_===`tags`,R=se===`item-aligned`,[z,Se]=(0,A.useState)([]);(0,A.useEffect)(()=>{_!==`tags`&&z.length>0&&Se([])},[_,z.length]);let{appendTagValues:B,getOption:V,handleValueChange:H,normalizedValue:U,normalizeValue:W,removeLastTagValue:we,resolvedOptions:Te,valueArray:G}=Ae({defaultValue:c,extraOptions:z,isMultiple:I,onChange:ee,onSelect:ne,options:re,setExtraOptions:Se,value:ve}),{handleOpenChange:K,mergedOpen:q}=je({defaultOpen:s,onOpenChange:te,open:y}),J=(0,A.useCallback)(e=>H(G.filter((t,n)=>n!==e)),[H,G]),{filteredOptions:Y,handleSearchChange:Ee,handleSearchKeyDown:De,searchValue:X,shouldShowSearch:Oe,stopSearchPropagation:Q}=Me({filterOption:ue,onSearch:de,appendTagValues:B,handleOpenChange:K,mergedOpen:q,mode:_,removeLastTagValue:we,resolvedOptions:Te,showSearch:le,tokenSeparators:_e}),Ue=(0,A.useCallback)((e,t)=>{P&&!q||ke({mergedOpen:q,reason:t?.reason,searchValue:X})||H(e)},[H,P,q,X]),We=Ne({filteredOptions:Y,listItemHeight:p,size:E,valueArray:G,virtual:j}),Ge=Pe(),Ke=(0,A.useMemo)(()=>Le({getOption:V,isMultiple:I,isTags:P,labelRender:d,normalizeValue:W,onRemoveValue:J,placeholder:P?void 0:x}),[V,J,I,P,d,W,x]),qe=I?G.length>0:!Z(U),Je=!(!e||!qe||l||C),Ye=(0,A.useCallback)(e=>{e.preventDefault(),e.stopPropagation(),H(I?[]:null)},[H,I]),Xe=(0,A.useMemo)(()=>Fe(ae),[ae]),Ze=(0,A.useMemo)(()=>Ie(O,k,g),[g,O,k]),Qe=(0,A.useMemo)(()=>{let e={"--lobe-select-popup-max-height":R?`80vh`:`${f}px`};return S===void 0||S===!0?e:typeof S==`number`?{...e,minWidth:S,width:S}:{...e,minWidth:`max-content`}},[R,f,S]),$=r({mode:_,shadow:T,size:E,variant:N}),$e=w(xe({shadow:T,size:E,variant:N}),i(F(),a,o?.root,o?.trigger),D),et=ce===`bold`,tt=w(b?m.itemContent:m.label,i(!b&&h.label,o?.itemText)).className,nt=Y.length===0,rt=nt?(0,M.jsx)(ze,{classNames:o}):He({classNames:o,isBoldIndicator:et,items:Y,itemTextClassName:tt,listItemHeight:p,optionRender:b});return(0,M.jsxs)(pe,{disabled:l,id:u,modal:R,multiple:I,name:v,open:q,readOnly:C,required:oe,value:U,onOpenChange:K,onValueChange:Ue,children:[(0,M.jsxs)(me,{autoFocus:!P&&n,...$,...$e,disabled:l,nativeButton:!P,render:P?(0,M.jsx)(`div`,{}):void 0,children:[Xe!=null&&(0,M.jsx)(`span`,{...w(L.prefix,i(F(`prefix`),o?.prefix)),children:Xe}),(0,M.jsx)(fe,{...w([L.value,P&&L.tagsValue],i(F(`value`),o?.value)),children:Ke}),P&&(0,M.jsx)(Be,{inline:!0,autoFocus:n,classNames:o,disabled:l,placeholder:G.length===0?x:void 0,readOnly:C,stopPropagation:Q,value:X,onChange:Ee,onKeyDown:De}),(0,M.jsx)(Ve,{classNames:o,showClear:Je,suffixIconNode:Ze,onClear:Ye})]}),(0,M.jsx)(ge,{container:Ge,children:(0,M.jsx)(Ce,{...$,align:`start`,alignItemWithTrigger:R,side:`bottom`,sideOffset:6,children:(0,M.jsxs)(he,{...$,...w([m.popup,L.popup,L.popupBounds],i(h.popup,F(`popup`),ie,o?.popup,o?.dropdown),Qe),children:[Oe&&!P&&(0,M.jsx)(Be,{classNames:o,placeholder:x,stopPropagation:Q,value:X,onChange:Ee,onKeyDown:De}),(0,M.jsx)(Re,{classNames:o,hasSearch:Oe&&!P,isEmpty:nt,listContent:rt,listItemHeight:p,virtual:j,virtualState:We})]})})})]})});Ue.displayName=`Select`,n.addResourceBundle(`en`,`translation`,{cloudEntry:{connectCta:`Connect Cloud`,connectHint:`Share · Mobile live`,connectTitle:`Connect Ryugi Cloud`,freeStart:`Free to start`,shellCta:`Connect Cloud · Share`,benefitShareTitle:`Share for team review`,benefitShareBody:`Generate public or keyed links with inline comments and expiry`,benefitPhoneTitle:`Open on phone & remote Relay`,benefitPhoneBody:`Review snapshots or watch agents live away from your desk`,benefitSyncTitle:`Private cross-device backup`,benefitSyncBody:`Keep artifacts archived privately across machines`,privateByDefault:`Private by default; only links you explicitly share are visible to others`},cloudIntent:{heading:`What would you like to do?`,subheading:`Runs automatically after you sign in to Ryugi Cloud`,badge:`One step`,shareTitle:`Create a share link`,shareDesc:`Publish this artifact privately and copy its link right after sign-in`,phoneTitle:`View & comment on phone`,phoneDesc:`Publish a private snapshot and open a QR code for your phone`,syncTitle:`Private cloud auto-backup`,syncDesc:`Automatically archive updates privately for yourself across devices`,shareCta:`Sign in with GitHub & copy link`,phoneCta:`Sign in with GitHub & open on phone`,syncCta:`Sign in with GitHub & turn on sync`,sharePrivacy:`Private by default unless you switch visibility to keyed or public.`,phonePrivacy:`Only accessible when signed in as you; never exposes local ports.`,syncPrivacy:`All synced artifacts stay private; you can turn off auto-sync per project.`,toastShareCopied:`Signed in as {{login}} and published privately · link copied`,toastShare:`Signed in as {{login}} and published privately`,toastPhone:`Published private snapshot · open QR code for your phone`,toastSync:`Signed in as {{login}} · private auto-sync turned on`,changeAccess:`Change access`,openLink:`Open link`,learnRelay:`Pro Relay`,showQr:`Show QR`,hideQr:`Hide QR`,projectConfig:`Project settings`,viewDetails:`Details`,qrTitle:`Scan on phone to view private snapshot`,qrDesc:`Only accessible with your GitHub account. Free plans can view cloud snapshots anytime.`,copyPhoneLink:`Copy phone link`,copied:`Copied`,proRelayHint:`Want live updates while your agent edits?`,proRelayCta:`Enable Pro Relay`},localShell:{backToList:`Back to local artifacts`,breadcrumb:`Artifact path`},server:{localBadge:`Local`}},!0,!0),n.addResourceBundle(`zh`,`translation`,{cloudEntry:{connectCta:`连接 Cloud`,connectHint:`分享 · 手机实时看`,connectTitle:`连接 Ryugi Cloud`,freeStart:`免费开始`,shellCta:`连接 Cloud · 分享`,benefitShareTitle:`一键发给团队评审`,benefitShareBody:`生成公开或密钥链接,支持划词评论与有效期`,benefitPhoneTitle:`手机查看与远程 Relay`,benefitPhoneBody:`离桌也能扫码看快照或实时跟随 Agent 改稿`,benefitSyncTitle:`跨设备私有自动备份`,benefitSyncBody:`所有项目产物默认私有归档到云端工作台`,privateByDefault:`默认全部私有,只有你手动公开的链接才对他人可见`},cloudIntent:{heading:`想对这份产物做什么?`,subheading:`登录 Ryugi Cloud 后在后台自动完成`,badge:`一步到位`,shareTitle:`生成可分享链接`,shareDesc:`登录后自动发布本页并复制链接,可设密钥与有效期`,phoneTitle:`在手机上查看与批注`,phoneDesc:`登录后发布私有快照并给出手机扫码,离桌也能看`,syncTitle:`仅私有云端自动备份`,syncDesc:`登录后每轮自动同步,换设备也能查看历史版本`,shareCta:`使用 GitHub 登录并生成链接`,phoneCta:`使用 GitHub 登录并在手机打开`,syncCta:`使用 GitHub 登录并开启私有同步`,sharePrivacy:`默认私有,除非你在发布后手动切换为密钥或公开链接。`,phonePrivacy:`仅你本人登录后可读,不会公开暴露本机端口。`,syncPrivacy:`所有同步产物仅自己可见,可随时按项目关闭自动同步。`,toastShareCopied:`已登录 {{login}} 并发布私有链接,已复制到剪贴板`,toastShare:`已登录 {{login}} 并发布私有链接`,toastPhone:`已发布私有快照,点右侧展开手机二维码`,toastSync:`已登录 {{login}},自动私有同步已开启(仅自己可见)`,changeAccess:`改权限`,openLink:`打开链接`,learnRelay:`了解 Pro Relay`,showQr:`显示二维码`,hideQr:`收起二维码`,projectConfig:`按项目配置`,viewDetails:`查看详情`,qrTitle:`手机扫码查看当前私有快照`,qrDesc:`仅你本人 GitHub 登录后可读。免费版随时可查看云端快照。`,copyPhoneLink:`复制手机链接`,copied:`已复制`,proRelayHint:`需要实时跟随 Agent 修改?`,proRelayCta:`开启 Pro Relay`},localShell:{backToList:`返回本机产物列表`,breadcrumb:`产物路径`},server:{localBadge:`本机`}},!0,!0);export{G as a,U as c,B as d,H as f,K as i,Ce as l,_e as m,V as n,we as o,ye as p,Te as r,W as s,Ue as t,Se as u};
|
|
1
|
+
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{C as t,h as n}from"./route-uX8K-A_8.js";import{n as r,r as i,t as a}from"./bem-vbke-3KC.js";import{t as o}from"./react-DlmbjZJV.js";import{Nn as s,Pn as c,Tr as l,an as u,in as d,kn as f,pr as p,rt as m,tt as h,wr as g}from"./url-BFk-FAVX.js";import{t as _}from"./jsx-runtime-LKYXHABd.js";import{En as v,Gr as ee,Gt as te,Kr as ne,Sn as y,Tn as b,Vr as re,Xr as x,Zr as ie,_ as S,g as ae,ii as C,oi as oe,ri as w,rr as se,t as ce}from"./useLayerZIndex-K6olIWZr.js";import{Dt as T}from"./MotionConfigContext-HC2vqcJO.js";import{a as le,c as ue,d as de,f as fe,i as E,m as pe,o as D,p as me,r as O,s as he,u as ge}from"./SelectScrollUpArrow-DpS8ndDp.js";var k={name:`clock`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]};k.node;var _e=T(k),ve={name:`log-in`,size:24,node:[[`path`,{d:`m10 17 5-5-5-5`,key:`1bsop3`}],[`path`,{d:`M15 12H3`,key:`6jk70r`}],[`path`,{d:`M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4`,key:`u53s6r`}]]};ve.node;var ye=T(ve),A=e(o(),1);({...te,...se});var j=A.createContext(void 0);function be(){let e=A.useContext(j);if(e===void 0)throw Error(x(56));return e}var M=_(),N=A.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,[o,s]=A.useState(),c=A.useMemo(()=>({labelId:o,setLabelId:s}),[o,s]),l=ee(`div`,e,{ref:t,props:[{role:`group`,"aria-labelledby":o},a]});return(0,M.jsx)(j.Provider,{value:c,children:l})}),P=A.forwardRef(function(e,t){let{render:n,className:r,style:i,id:a,...o}=e,{setLabelId:s}=be(),c=re(a);return ie(()=>(s(c),()=>{s(e=>e===c?void 0:e)}),[c,s]),ee(`div`,e,{ref:t,props:[{id:c,"aria-hidden":!0},o]})}),F=a({block:`select`,dataAttributes:[`variant`,`size`,`shadow`,`mode`],elements:[`prefix`,`value`,`search`,`suffix`,`clear`,`icon`,`positioner`,`popup`,`list`,`option`,`item-text`,`item-indicator`,`group`,`group-label`,`empty`,`scroll-up-arrow`,`scroll-down-arrow`,`arrow`]}),I={lb17qyu0m:`lb17qyu0m`,$$css:!0},L={arrow:{k1xSpc:`lb78zum5`,kZKoxP:`lbols6we`,kzqmXN:`lbsmyaan`,$$css:!0},borderless:{"--lobe-select-disabled-bg":`lb1fcm1w1`,"--lobe-select-open-bg":`lb1m91qns`,"--lobe-select-readonly-bg":`lb16si2i5`,kVAM5u:`lb181nr7w`,ksu8eU:`lbng3xce`,kMzoRj:`lbfn42iu`,kWkggS:`lbjbqb8w lbbxqymp lb129k4ed lb1o44d5j lbckdqiz`,kGVxlE:`lb1gnnqk1`,$$css:!0},clear:{kmkexE:`lbholrd4`,kGNEyG:`lb6s0dn4`,kMwMTN:`lb53gy9q lblbjun7`,k1xSpc:`lb3nfvp2`,kSiTet:`lbg01cxk lb1asl7ui`,kfzvcC:`lb11l7nm`,$$css:!0},empty:{kMwMTN:`lb53gy9q`,$$css:!0},filled:{"--lobe-select-disabled-bg":`lb1fcm1w1`,"--lobe-select-open-bg":`lb1hprk1n`,"--lobe-select-readonly-bg":`lb16si2i5`,kWkggS:`lbaljia1 lbbxqymp lb6jdevu lb1o44d5j lbckdqiz`,$$css:!0},icon:{kmkexE:`lbyuzwzm`,kGNEyG:`lb6s0dn4`,k1xSpc:`lb3nfvp2`,k3aq6I:`lb1je0516`,$$css:!0},itemBoldSelected:{k63SB2:`lbkj54ki`,$$css:!0},itemIndicator:{kGNEyG:`lb6s0dn4`,kMwMTN:`lb16owwnm`,k1xSpc:`lb3nfvp2`,kjj79g:`lbl56j7k`,keTefX:`lbvc5jky`,kZCmMZ:`lbmzvs34`,$$css:!0},list:{kUk6DE:`lb98rzlu`,kGO01o:`lb18d9i69`,kLKAdn:`lbexx8yu`,kAzted:`lb2lwn1j`,kORKVm:`lb1odjw0f`,$$css:!0},listWithSearch:{kLKAdn:`lb1iorvi4`,$$css:!0},outlined:{"--lobe-select-disabled-bg":`lb1lqng0l`,"--lobe-select-open-bg":`lb1m91qns`,"--lobe-select-readonly-bg":`lbcbhfra`,kVAM5u:`lb10cypdb lb3mg3nv`,ksu8eU:`lb1y0btm7`,kMzoRj:`lbmkeg23`,kWkggS:`lb6yijhg lbbxqymp lb1o44d5j lbckdqiz`,$$css:!0},popupBounds:{ks0D6T:`lb7k7lee`,k7Eaqz:`lb80t9vs`,$$css:!0},popup:{"--lobe-select-available-height":`lb1rupxqf`,kmkexE:`lb1xhw48d`,kB7OPa:`lb9f619`,k1xSpc:`lb78zum5`,kXwgrk:`lbdt5ytf`,kSiTet:`lb1i2unn7`,k3aq6I:`lb11d3i7i`,k3nNDw:`lbctpfpq`,kskxy:`lbf2pfjc`,$$css:!0},positioner:{kI3sdo:`lb1a2a7pz`,kY2c9j:`lbp6lfbs`,$$css:!0},prefix:{kGNEyG:`lb6s0dn4`,kMwMTN:`lbc77et8`,k1xSpc:`lb3nfvp2`,$$css:!0},scrollArrow:{kGNEyG:`lb6s0dn4`,kWkggS:`lb1w937bt`,kMwMTN:`lbc77et8`,kkrTdU:`lbt0e3qv`,k1xSpc:`lb78zum5`,kjj79g:`lbl56j7k`,kZKoxP:`lblup9mm`,$$css:!0},search:{kUOVxO:`lb15usb71`,k8WAf4:`lb1vvogim`,kg3NbH:`lbaope02`,kGNEyG:`lb6s0dn4`,kL6WhQ:`lb1ak05nl`,kfdmCh:`lb1q0q8m5`,kt9PQ7:`lbso031l`,kkrTdU:`lb1ed109x`,k1xSpc:`lb78zum5`,kAzted:`lbu0aao5`,$$css:!0},searchInput:{kVAM5u:`lb181nr7w`,ksu8eU:`lbng3xce`,kMzoRj:`lbc342km`,kUk6DE:`lb98rzlu`,kI3sdo:`lb1a2a7pz`,k8WAf4:`lbt970qd`,kg3NbH:`lbfn1xvj`,kWkggS:`lbjbqb8w`,kMwMTN:`lb66ogz0`,kGuDYH:`lbif65rj`,kLWn49:`lb1fc57z9`,k7Eaqz:`lbeuugli`,k8Qsv1:`lb14injf2`,$$css:!0},shadow:{kGVxlE:`lbpjwdtl`,$$css:!0},suffix:{kOIVth:`lb17d4w8g`,kGNEyG:`lb6s0dn4`,kMwMTN:`lbc77et8`,k1xSpc:`lb3nfvp2`,$$css:!0},tag:{kaIpWk:`lb1vihcfj`,k8WAf4:`lbt970qd`,kg3NbH:`lb1xijbu4`,kGNEyG:`lb6s0dn4`,kWkggS:`lbaljia1`,kMwMTN:`lb66ogz0`,k1xSpc:`lb3nfvp2`,kGuDYH:`lbfifm61`,kLWn49:`lb1fc57z9`,ks0D6T:`lb193iq5w`,$$css:!0},tagClose:{kmkexE:`lbholrd4`,kGNEyG:`lb6s0dn4`,kMwMTN:`lbc77et8`,kkrTdU:`lb1ypdohk`,k1xSpc:`lb3nfvp2`,kjj79g:`lbl56j7k`,keTefX:`lbdwrcjd`,$$css:!0},tags:{kOIVth:`lb1jnr06f`,kGNEyG:`lb6s0dn4`,k1xSpc:`lb78zum5`,kwnvtZ:`lb1a02dak`,$$css:!0},tagsSearch:{kUk6DE:`lb98rzlu`,k1xSpc:`lb78zum5`,k7Eaqz:`lb900493`,$$css:!0},tagsValue:{kCS8Yb:`lbdl72j9`,kzQI83:`lb1c4vz4f`,kmuXW:`lbs83m0k`,$$css:!0},trigger:{kVAM5u:`lb9r1u3d`,kaIpWk:`lb1sbi92r`,ksu8eU:`lb1y0btm7`,kMzoRj:`lbmkeg23`,kOIVth:`lb167g77z`,kI3sdo:`lb1a2a7pz`,kmkexE:`lb18nfrvi`,kGNEyG:`lb6s0dn4`,kB7OPa:`lb9f619`,kMwMTN:`lb66ogz0 lb1s5k17a lbsycbhq`,kkrTdU:`lb1ypdohk lb10bady8 lbs5y3ja`,k1xSpc:`lb3nfvp2`,kMv6JI:`lbjb2p0i`,kfSwDN:`lb87ps6o`,kzqmXN:`lbh8yej3`,$$css:!0},triggerLarge:{k8WAf4:`lb1t0vds8`,kg3NbH:`lbaope02`,kGuDYH:`lb1j61zf2`,kLWn49:`lb1o2sk6j`,kAzted:`lb1ba4aug`,$$css:!0},triggerMiddle:{k8WAf4:`lb12ulsxz`,kg3NbH:`lbfoe8qy`,kGuDYH:`lbif65rj`,kLWn49:`lb1fc57z9`,kAzted:`lb21xpn4`,$$css:!0},triggerSmall:{k8WAf4:`lbt970qd`,kg3NbH:`lbdqyycr`,kGuDYH:`lbfifm61`,kLWn49:`lbd4r4e8`,kAzted:`lbjwf9q1`,$$css:!0},value:{kUk6DE:`lb98rzlu`,kOIVth:`lb1jnr06f`,kGNEyG:`lb6s0dn4`,kMwMTN:`lb1heor9g lb1xpzrx5`,k1xSpc:`lb78zum5`,kwnvtZ:`lb1a02dak`,k7Eaqz:`lbeuugli`,$$css:!0},valueText:{kVQacm:`lbb3r6kr`,kg5iWk:`lblyipyv`,khDVqt:`lbuxw1ft`,$$css:!0}},R={large:L.triggerLarge,middle:L.triggerMiddle,small:L.triggerSmall},xe=({shadow:e,size:t,variant:n})=>[L.trigger,b.info,I,e&&L.shadow,R[t??`middle`],L[n]],z=(e,t,n)=>{let r=w(e,n).className;return typeof t==`function`?e=>i(r,t(e)):i(r,t)},Se=pe,B=({children:e,className:n,nativeButton:r,shadow:a,size:o=`middle`,variant:l,ref:u,...d})=>{let{isDarkMode:f}=t(),p=xe({shadow:a,size:o,variant:l??(f?`filled`:`outlined`)}),m=C(p).className,{isNativeButtonTriggerElement:h,resolvedNativeButton:g}=c({children:e,nativeButton:r});return(0,A.isValidElement)(e)?(0,M.jsx)(me,{...d,nativeButton:g,render:(t,r)=>{let a=(()=>{if(h)return t;let{type:e,ref:n,...r}=t;return r})(),o=ne(e.props,a),c=typeof o.className==`function`?o.className(r):o.className,l=typeof n==`function`?n(r):n;return(0,A.cloneElement)(e,{...o,className:i(m,F(),c,l),ref:ae([s(e),t.ref,u])})}}):(0,M.jsx)(me,{...d,className:z([p],n,F()),nativeButton:g,ref:u,children:e})};B.displayName=`SelectTrigger`;var V=({className:e,...t})=>(0,M.jsx)(de,{className:z([L.icon],e,F(`icon`)),...t});V.displayName=`SelectIcon`;var H=({className:e,...t})=>(0,M.jsx)(fe,{className:z([L.value],e,F(`value`)),...t});H.displayName=`SelectValue`;var U=({container:e,...t})=>{let n=oe();return(0,M.jsx)(ge,{container:e??n??void 0,...t})};U.displayName=`SelectPortal`;var Ce=({align:e,alignItemWithTrigger:t,className:n,collisionPadding:r,side:i,sideOffset:a,style:o,ref:s,...c})=>{let l=typeof o!=`function`&&o?.zIndex!=null&&typeof o.zIndex==`number`?o.zIndex:void 0,{zIndex:u,ref:d}=ce(`floating`,l),p=S([s,d]),m=typeof o==`function`?e=>({zIndex:u,...o(e)}):{zIndex:u,...o};return(0,M.jsx)(ue,{align:e??`start`,alignItemWithTrigger:t??!1,collisionPadding:r??f(),ref:p,side:i??`bottom`,sideOffset:a??6,style:m,className:z([L.positioner],n,F(`positioner`)),...c})};Ce.displayName=`SelectPositioner`;var W=({className:e,...t})=>(0,M.jsx)(he,{className:z([m.popup,L.popup],e,i(h.popup,F(`popup`))),...t});W.displayName=`SelectPopup`;var we=({className:e,...t})=>(0,M.jsx)(D,{className:z([L.list],e,F(`list`)),...t});we.displayName=`SelectList`;var Te=({className:e,...t})=>(0,M.jsx)(le,{className:z([m.item],e,F(`option`)),...t});Te.displayName=`SelectItem`;var G=({className:e,...t})=>(0,M.jsx)(O,{className:z([m.label],e,i(h.label,F(`item-text`))),...t});G.displayName=`SelectItemText`;var K=({className:e,...t})=>(0,M.jsx)(E,{className:z([L.itemIndicator],e,F(`item-indicator`)),...t});K.displayName=`SelectItemIndicator`;var q=e=>{let t=`nativeEvent`in e?e.nativeEvent:e;return t.isComposing||t.keyCode===229},J=e=>!!e.options,Y=e=>typeof e.label==`string`||typeof e.label==`number`?String(e.label):e.title?e.title:typeof e.value==`string`||typeof e.value==`number`?String(e.value):``,Ee=e=>e.replaceAll(/[$()*+.?[\\\]^{|}]/g,`\\$&`),De=(e,t)=>{if(!t||t.length===0)return[e];let n=t.map(Ee).join(`|`);return e.split(new RegExp(n,`g`))},X=e=>e.reduce((e,t)=>J(t)?e+t.options.length+1:e+1,0),Z=e=>e==null||e===``,Oe=e=>t=>e?Array.isArray(t)?t:t==null?[]:[t]:Array.isArray(t)?t[0]??null:t===void 0?null:t,ke=({mergedOpen:e,reason:t,searchValue:n})=>t===`none`&&(e||n!==``);function Ae({defaultValue:e,extraOptions:t,isMultiple:n,onChange:r,onSelect:i,options:a,setExtraOptions:o,value:s}){let[c,l]=(0,A.useState)(()=>e===void 0?n?[]:null:e),u=(0,A.useMemo)(()=>Oe(n),[n]),d=s===void 0?c:s,f=(0,A.useMemo)(()=>u(d),[d,u]),p=(0,A.useMemo)(()=>n?f:Z(f)?[]:[f],[n,f]),{optionMap:m,resolvedOptions:h}=(0,A.useMemo)(()=>{let e=a??[],n=new Map,r=e=>{n.has(e.value)||n.set(e.value,e)};e.forEach(e=>{J(e)?e.options.forEach(r):r(e)});let i=t.filter(e=>!n.has(e.value));i.forEach(r);let o=[...e,...i],s=p.filter(e=>!n.has(e)).map(e=>({label:String(e),value:e}));return s.forEach(r),{optionMap:n,resolvedOptions:s.length?[...o,...s]:o}},[t,a,p]),g=(0,A.useCallback)(e=>m.get(e)||(e&&typeof e==`object`&&`label`in e?{label:e.label,value:e}:{label:String(e),value:e}),[m]),_=(0,A.useRef)(f);(0,A.useEffect)(()=>{_.current=f},[f]);let v=(0,A.useCallback)(e=>{let t=u(e),a=_.current;if(n){let e=Array.isArray(a)?a:[],n=Array.isArray(t)?t:[];n.filter(t=>!e.some(e=>Object.is(e,t))).forEach(e=>i?.(e,g(e))),s===void 0&&l(n),r?.(n,n.map(e=>g(e)))}else!Z(t)&&!Object.is(a,t)&&i?.(t,g(t)),s===void 0&&l(t),r?.(Z(t)?void 0:t,Z(t)?void 0:g(t));_.current=t},[g,n,u,r,i,s]);return{appendTagValues:(0,A.useCallback)(e=>{let t=e.map(e=>e.trim()).filter(Boolean);if(!t.length)return;let n=[...Array.isArray(_.current)?_.current:p],r=t.filter(e=>!m.has(e));r.length>0&&o(e=>{let t=new Set(e.map(e=>e.value)),n=[...e];return r.forEach(e=>{t.has(e)||n.push({label:e,value:e})}),n}),t.forEach(e=>{n.some(t=>Object.is(t,e))||n.push(e)}),n.length!==p.length&&v(n)},[v,m,o,p]),getOption:g,handleValueChange:v,normalizedValue:f,normalizeValue:u,optionMap:m,resolvedOptions:h,removeLastTagValue:(0,A.useCallback)(()=>{let e=Array.isArray(_.current)?_.current:p;e.length>0&&v(e.slice(0,-1))},[v,p]),valueArray:p}}function je({defaultOpen:e,onOpenChange:t,open:n}){let[r,i]=(0,A.useState)(!!e);(0,A.useEffect)(()=>{n!==void 0&&i(n)},[n]);let a=n??r;return{handleOpenChange:(0,A.useCallback)((e,r)=>{t?.(e,r),n===void 0&&i(e)},[t,n]),mergedOpen:a}}function Me({filterOption:e,onSearch:t,appendTagValues:n,handleOpenChange:r,mergedOpen:i,mode:a,removeLastTagValue:o,resolvedOptions:s,showSearch:c,tokenSeparators:l}){let[u,d]=(0,A.useState)(``),f=!!(c||a===`tags`);(0,A.useEffect)(()=>{i||d(``)},[i]);let p=(0,A.useCallback)(e=>{let r=e.target.value;if(a===`tags`){let e=De(r,l);if(e.length>1){let t=e.pop()??``;n(e.filter(Boolean)),d(t);return}}d(r),t?.(r)},[n,a,t,l]),m=(0,A.useCallback)(e=>{if(e.stopPropagation(),q(e))return;if(e.key===`Escape`){r(!1);return}if(a!==`tags`)return;if(e.key===`Backspace`&&!u){e.preventDefault(),o();return}let t=l?.includes(e.key);(e.key===`Enter`||t)&&(e.preventDefault(),e.stopPropagation(),n([u]),d(``))},[n,r,a,o,u,l]),h=(0,A.useCallback)(e=>{e.stopPropagation()},[]);return{filteredOptions:(0,A.useMemo)(()=>{if(!f||!u.trim()||e===!1)return s;let t=u.trim().toLowerCase(),n=n=>typeof e==`function`?e(u,n):Y(n).toLowerCase().includes(t);return s.map(e=>{if(J(e)){let t=e.options.filter(e=>n(e));return t.length?{...e,options:t}:null}return n(e)?e:null}).filter(Boolean)},[e,s,u,f]),handleSearchChange:p,handleSearchKeyDown:m,searchValue:u,shouldShowSearch:f,stopSearchPropagation:h}}function Ne({filteredOptions:e,listItemHeight:t,size:n,valueArray:r,virtual:i}){let a=(0,A.useMemo)(()=>{if(!i)return;let r=X(e);return{height:`min(${Math.min(Math.max(r,1),6)*(t??(n===`large`?40:n===`small`?28:32))+8}px, var(--lobe-select-available-height, var(--available-height)))`}},[e,t,n,i]);return{selectedIndices:(0,A.useMemo)(()=>{if(!i||r.length===0)return;let t=new Set(r),n=[],a=0;return e.forEach(e=>{J(e)?(e.options.some(e=>t.has(e.value))&&n.push(a),a+=1):(t.has(e.value)&&n.push(a),a+=1)}),n.length?n:void 0},[e,r,i]),virtualListStyle:a}}function Pe(){let e=oe();return(0,A.useMemo)(()=>{if(typeof window>`u`)return e;if(e instanceof HTMLElement)return window.getComputedStyle(e).display===`contents`?document.body:e},[e])}function Fe(e){return e==null?null:(0,A.isValidElement)(e)||typeof e==`string`||typeof e==`number`?e:(0,M.jsx)(y,{icon:e,size:`small`})}function Ie(e,t,n){return n?(0,M.jsx)(y,{spin:!0,icon:p,size:`small`}):e===null?null:(0,A.isValidElement)(e)||typeof e==`string`||typeof e==`number`?e:(0,M.jsx)(y,{icon:e||g,size:`small`,...t,style:{pointerEvents:`none`,...t?.style}})}function Le({getOption:e,isMultiple:t,isTags:n,labelRender:r,normalizeValue:i,onRemoveValue:a,placeholder:o}){return function(s){let c=i(s),l=o===void 0?null:(0,M.jsx)(`span`,{...C(L.valueText),children:o});if(t){let t=Array.isArray(c)?c:[];return t.length===0?l:(0,M.jsx)(`span`,{...C(L.tags),children:t.map((t,i)=>{let o=e(t),s=r?r(o):o.label??String(t);return(0,M.jsxs)(`span`,{...C(L.tag),"data-role":`lobe-select-tag`,children:[s,n&&(0,M.jsx)(`span`,{"aria-label":`Remove ${String(t)}`,...C(L.tagClose),"data-role":`lobe-select-tag-remove`,role:`button`,tabIndex:0,onClick:e=>{e.preventDefault(),e.stopPropagation(),a(i)},onPointerDown:e=>{e.preventDefault(),e.stopPropagation()},children:(0,M.jsx)(v,{size:12})})]},`${String(t)}-${i}`)})})}if(Z(c))return l;let u=e(c),d=r?r(u):u.label??String(c);return(0,M.jsx)(`span`,{...C(L.valueText),children:d})}}function Re({classNames:e,hasSearch:t,isEmpty:n,listContent:r,listItemHeight:a,virtual:o,virtualState:s}){let c=w([L.list,t&&L.listWithSearch],i(F(`list`),e?.list)).className,l=!!o&&!n,{keepMountedIndices:f,viewportProps:p,viewportRef:m,virtualChildren:h,virtualizerRef:g}=d({children:r,enabled:l,keepMounted:s.selectedIndices});return l?(0,M.jsx)(u,{itemSize:a,keepMounted:f,style:s.virtualListStyle,viewport:(0,M.jsx)(D,{className:c}),viewportProps:{ref:m,...p},virtualizerRef:g,children:h}):(0,M.jsx)(D,{className:c,"data-virtual":o||void 0,children:r})}function ze({classNames:e}){return(0,M.jsx)(`div`,{...w([m.item,m.empty,L.empty],i(F(`empty`),e?.empty)),children:`No data`})}function Be({autoFocus:e,classNames:t,disabled:n,inline:r,onChange:a,onKeyDown:o,placeholder:s,readOnly:c,stopPropagation:l,value:u}){return(0,M.jsx)(`div`,{...w(r?L.tagsSearch:L.search,i(F(`search`),t?.search)),children:(0,M.jsx)(`input`,{autoFocus:e,...C(L.searchInput),disabled:n,placeholder:typeof s==`string`?s:void 0,readOnly:c,value:u,onChange:a,onKeyDownCapture:o,onKeyUp:l,onKeyUpCapture:l})})}function Ve({classNames:e,onClear:t,showClear:n,suffixIconNode:r}){return(0,M.jsxs)(`span`,{...w(L.suffix,i(F(`suffix`),e?.suffix)),children:[n&&(0,M.jsx)(`span`,{...w(L.clear,i(F(`clear`),e?.clear)),"data-role":`lobe-select-clear`,onClick:t,children:(0,M.jsx)(y,{icon:v,size:`small`})}),r!=null&&(0,M.jsx)(de,{...w(L.icon,i(F(`icon`),e?.icon)),children:r})]})}function Q(e,t,n){let{classNames:r,isBoldIndicator:a,itemTextClassName:o,listItemHeight:s,optionRender:c}=n;return(0,M.jsxs)(le,{disabled:e.disabled,label:Y(e),value:e.value,...w([m.item,a&&L.itemBoldSelected],i(F(`option`),r?.item,r?.option,e.className),{minHeight:s,...e.style}),children:[(0,M.jsx)(O,{className:i(F(`item-text`),o),children:c?c(e,{index:t}):e.label}),!a&&(0,M.jsx)(E,{...w(L.itemIndicator,i(F(`item-indicator`),r?.itemIndicator)),children:(0,M.jsx)(y,{icon:l,size:`small`})})]},`${String(e.value)}-${t}`)}function He(e){let{classNames:t,items:n}=e,r=0;return n.map((n,a)=>J(n)?(0,M.jsxs)(N,{className:i(F(`group`),t?.group),children:[(0,M.jsx)(P,{...w(m.groupLabel,i(F(`group-label`),t?.groupLabel)),children:n.label}),n.options.map(t=>Q(t,r++,e))]},`group-${a}`):Q(n,r++,e))}var Ue=(0,A.memo)(({allowClear:e,autoFocus:n,className:a,classNames:o,defaultOpen:s,defaultValue:c,disabled:l,id:u,labelRender:d,listHeight:f=512,listItemHeight:p,loading:g,mode:_,name:v,onChange:ee,onOpenChange:te,onSelect:ne,open:y,optionRender:b,options:re,placeholder:x,popupClassName:ie,popupMatchSelectWidth:S,prefix:ae,readOnly:C,required:oe,behaviorVariant:se=`default`,selectedIndicatorVariant:ce=`check`,shadow:T,showSearch:le,filterOption:ue,onSearch:de,size:E=`middle`,style:D,suffixIcon:O,suffixIconProps:k,tokenSeparators:_e,value:ve,variant:ye,virtual:j})=>{let{isDarkMode:be}=t(),N=ye??(be?`filled`:`outlined`),P=_===`tags`,I=_===`multiple`||_===`tags`,R=se===`item-aligned`,[z,Se]=(0,A.useState)([]);(0,A.useEffect)(()=>{_!==`tags`&&z.length>0&&Se([])},[_,z.length]);let{appendTagValues:B,getOption:V,handleValueChange:H,normalizedValue:U,normalizeValue:W,removeLastTagValue:we,resolvedOptions:Te,valueArray:G}=Ae({defaultValue:c,extraOptions:z,isMultiple:I,onChange:ee,onSelect:ne,options:re,setExtraOptions:Se,value:ve}),{handleOpenChange:K,mergedOpen:q}=je({defaultOpen:s,onOpenChange:te,open:y}),J=(0,A.useCallback)(e=>H(G.filter((t,n)=>n!==e)),[H,G]),{filteredOptions:Y,handleSearchChange:Ee,handleSearchKeyDown:De,searchValue:X,shouldShowSearch:Oe,stopSearchPropagation:Q}=Me({filterOption:ue,onSearch:de,appendTagValues:B,handleOpenChange:K,mergedOpen:q,mode:_,removeLastTagValue:we,resolvedOptions:Te,showSearch:le,tokenSeparators:_e}),Ue=(0,A.useCallback)((e,t)=>{P&&!q||ke({mergedOpen:q,reason:t?.reason,searchValue:X})||H(e)},[H,P,q,X]),We=Ne({filteredOptions:Y,listItemHeight:p,size:E,valueArray:G,virtual:j}),Ge=Pe(),Ke=(0,A.useMemo)(()=>Le({getOption:V,isMultiple:I,isTags:P,labelRender:d,normalizeValue:W,onRemoveValue:J,placeholder:P?void 0:x}),[V,J,I,P,d,W,x]),qe=I?G.length>0:!Z(U),Je=!(!e||!qe||l||C),Ye=(0,A.useCallback)(e=>{e.preventDefault(),e.stopPropagation(),H(I?[]:null)},[H,I]),Xe=(0,A.useMemo)(()=>Fe(ae),[ae]),Ze=(0,A.useMemo)(()=>Ie(O,k,g),[g,O,k]),Qe=(0,A.useMemo)(()=>{let e={"--lobe-select-popup-max-height":R?`80vh`:`${f}px`};return S===void 0||S===!0?e:typeof S==`number`?{...e,minWidth:S,width:S}:{...e,minWidth:`max-content`}},[R,f,S]),$=r({mode:_,shadow:T,size:E,variant:N}),$e=w(xe({shadow:T,size:E,variant:N}),i(F(),a,o?.root,o?.trigger),D),et=ce===`bold`,tt=w(b?m.itemContent:m.label,i(!b&&h.label,o?.itemText)).className,nt=Y.length===0,rt=nt?(0,M.jsx)(ze,{classNames:o}):He({classNames:o,isBoldIndicator:et,items:Y,itemTextClassName:tt,listItemHeight:p,optionRender:b});return(0,M.jsxs)(pe,{disabled:l,id:u,modal:R,multiple:I,name:v,open:q,readOnly:C,required:oe,value:U,onOpenChange:K,onValueChange:Ue,children:[(0,M.jsxs)(me,{autoFocus:!P&&n,...$,...$e,disabled:l,nativeButton:!P,render:P?(0,M.jsx)(`div`,{}):void 0,children:[Xe!=null&&(0,M.jsx)(`span`,{...w(L.prefix,i(F(`prefix`),o?.prefix)),children:Xe}),(0,M.jsx)(fe,{...w([L.value,P&&L.tagsValue],i(F(`value`),o?.value)),children:Ke}),P&&(0,M.jsx)(Be,{inline:!0,autoFocus:n,classNames:o,disabled:l,placeholder:G.length===0?x:void 0,readOnly:C,stopPropagation:Q,value:X,onChange:Ee,onKeyDown:De}),(0,M.jsx)(Ve,{classNames:o,showClear:Je,suffixIconNode:Ze,onClear:Ye})]}),(0,M.jsx)(ge,{container:Ge,children:(0,M.jsx)(Ce,{...$,align:`start`,alignItemWithTrigger:R,side:`bottom`,sideOffset:6,children:(0,M.jsxs)(he,{...$,...w([m.popup,L.popup,L.popupBounds],i(h.popup,F(`popup`),ie,o?.popup,o?.dropdown),Qe),children:[Oe&&!P&&(0,M.jsx)(Be,{classNames:o,placeholder:x,stopPropagation:Q,value:X,onChange:Ee,onKeyDown:De}),(0,M.jsx)(Re,{classNames:o,hasSearch:Oe&&!P,isEmpty:nt,listContent:rt,listItemHeight:p,virtual:j,virtualState:We})]})})})]})});Ue.displayName=`Select`,n.addResourceBundle(`en`,`translation`,{cloudEntry:{connectCta:`Connect Cloud`,connectHint:`Share · Mobile live`,connectTitle:`Connect Ryugi Cloud`,freeStart:`Free to start`,shellCta:`Connect Cloud · Share`,benefitShareTitle:`Share for team review`,benefitShareBody:`Generate public or keyed links with inline comments and expiry`,benefitPhoneTitle:`Open on phone & remote Relay`,benefitPhoneBody:`Review snapshots or watch agents live away from your desk`,benefitSyncTitle:`Private cross-device backup`,benefitSyncBody:`Keep artifacts archived privately across machines`,privateByDefault:`Private by default; only links you explicitly share are visible to others`},cloudIntent:{heading:`What would you like to do?`,subheading:`Runs automatically after you sign in to Ryugi Cloud`,badge:`One step`,shareTitle:`Create a share link`,shareDesc:`Publish this artifact privately and copy its link right after sign-in`,phoneTitle:`View & comment on phone`,phoneDesc:`Publish a private snapshot and open a QR code for your phone`,syncTitle:`Private cloud auto-backup`,syncDesc:`Automatically archive updates privately for yourself across devices`,shareCta:`Sign in with GitHub & copy link`,phoneCta:`Sign in with GitHub & open on phone`,syncCta:`Sign in with GitHub & turn on sync`,sharePrivacy:`Private by default unless you switch visibility to keyed or public.`,phonePrivacy:`Only accessible when signed in as you; never exposes local ports.`,syncPrivacy:`All synced artifacts stay private; you can turn off auto-sync per project.`,toastShareCopied:`Signed in as {{login}} and published privately · link copied`,toastShare:`Signed in as {{login}} and published privately`,toastPhone:`Published private snapshot · open QR code for your phone`,toastSync:`Signed in as {{login}} · private auto-sync turned on`,changeAccess:`Change access`,openLink:`Open link`,learnRelay:`Pro Relay`,showQr:`Show QR`,hideQr:`Hide QR`,projectConfig:`Project settings`,viewDetails:`Details`,qrTitle:`Scan on phone to view private snapshot`,qrDesc:`Only accessible with your GitHub account. Free plans can view cloud snapshots anytime.`,copyPhoneLink:`Copy phone link`,copied:`Copied`,proRelayHint:`Want live updates while your agent edits?`,proRelayCta:`Enable Pro Relay`},localShell:{backToList:`Back to local artifacts`,breadcrumb:`Artifact path`},server:{localBadge:`Local`}},!0,!0),n.addResourceBundle(`zh`,`translation`,{cloudEntry:{connectCta:`连接 Cloud`,connectHint:`分享 · 手机实时看`,connectTitle:`连接 Ryugi Cloud`,freeStart:`免费开始`,shellCta:`连接 Cloud · 分享`,benefitShareTitle:`一键发给团队评审`,benefitShareBody:`生成公开或密钥链接,支持划词评论与有效期`,benefitPhoneTitle:`手机查看与远程 Relay`,benefitPhoneBody:`离桌也能扫码看快照或实时跟随 Agent 改稿`,benefitSyncTitle:`跨设备私有自动备份`,benefitSyncBody:`所有项目产物默认私有归档到云端工作台`,privateByDefault:`默认全部私有,只有你手动公开的链接才对他人可见`},cloudIntent:{heading:`想对这份产物做什么?`,subheading:`登录 Ryugi Cloud 后在后台自动完成`,badge:`一步到位`,shareTitle:`生成可分享链接`,shareDesc:`登录后自动发布本页并复制链接,可设密钥与有效期`,phoneTitle:`在手机上查看与批注`,phoneDesc:`登录后发布私有快照并给出手机扫码,离桌也能看`,syncTitle:`仅私有云端自动备份`,syncDesc:`登录后每轮自动同步,换设备也能查看历史版本`,shareCta:`使用 GitHub 登录并生成链接`,phoneCta:`使用 GitHub 登录并在手机打开`,syncCta:`使用 GitHub 登录并开启私有同步`,sharePrivacy:`默认私有,除非你在发布后手动切换为密钥或公开链接。`,phonePrivacy:`仅你本人登录后可读,不会公开暴露本机端口。`,syncPrivacy:`所有同步产物仅自己可见,可随时按项目关闭自动同步。`,toastShareCopied:`已登录 {{login}} 并发布私有链接,已复制到剪贴板`,toastShare:`已登录 {{login}} 并发布私有链接`,toastPhone:`已发布私有快照,点右侧展开手机二维码`,toastSync:`已登录 {{login}},自动私有同步已开启(仅自己可见)`,changeAccess:`改权限`,openLink:`打开链接`,learnRelay:`了解 Pro Relay`,showQr:`显示二维码`,hideQr:`收起二维码`,projectConfig:`按项目配置`,viewDetails:`查看详情`,qrTitle:`手机扫码查看当前私有快照`,qrDesc:`仅你本人 GitHub 登录后可读。免费版随时可查看云端快照。`,copyPhoneLink:`复制手机链接`,copied:`已复制`,proRelayHint:`需要实时跟随 Agent 修改?`,proRelayCta:`开启 Pro Relay`},localShell:{backToList:`返回本机产物列表`,breadcrumb:`产物路径`},server:{localBadge:`本机`}},!0,!0);export{G as a,U as c,B as d,H as f,K as i,Ce as l,_e as m,V as n,we as o,ye as p,Te as r,W as s,Ue as t,Se as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e}from"./rolldown-runtime-XKyaHtl9.js";import{a as t}from"./ref-
|
|
1
|
+
import{n as e}from"./rolldown-runtime-XKyaHtl9.js";import{a as t}from"./ref-BebRMqou.js";import{n}from"./useArtifactSocket-BcnppV9G.js";import{i as r}from"./route-uX8K-A_8.js";var i=e({localSplitHost:()=>o}),a=async(e,t)=>{let n=await fetch(e,{cache:`no-store`,...t}).catch(()=>null);return n?.ok?await n.json().catch(()=>null):null},o={path:(e,t)=>`/${e}/${t}`,refId:e=>t(e)||void 0,frameSrc:(e,t)=>r(`/embed/${e}/${t}`),aloneHref:(e,t)=>r(`/${e}/${t}`),carry:e=>r(e),async loadLinks(e,t=`artboard`){let n=await a(r(`/api/artifacts/${t}/${e}`));if(!n)return null;let i=n.canvas;return{backlinks:n.backlinks??null,groups:Object.keys(i?.groups??{})}},onArtboardChange:(e,t,r=`artboard`)=>n(n=>{n.type===`change`&&n.artifact===`${r}/${e}`&&t()})};export{i as n,o as t};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./VirtualizedRenderer-C_d95FXi-BTlEQQbm.js","./rolldown-runtime-XKyaHtl9.js","./react-DlmbjZJV.js","./jsx-runtime-LKYXHABd.js","./editor-CsnECjKH.js","./route-uX8K-A_8.js","./bem-vbke-3KC.js","./types-DAs-xbqr.js","./index2.css","./url-BFk-FAVX.js","./useLayerZIndex-K6olIWZr.js","./MotionConfigContext-HC2vqcJO.js","./WhiteboardEditor-cZ32fLqJ-BYlolA7f.js","./Popover-BrR_juSr.js","./chevron-right-xNdXLJg6.js","./trash-DByBaz9Z.js","./code-DnmQyGiF.js","./SelectScrollUpArrow-DpS8ndDp.js","./text-align-start-CRhecbJR.js","./ruler-CYb0HZGT.js","./zoom-out-N_0LUBru.js","./maximize-2-Bc0lXBg6.js","./mouse-pointer-2-B-OF_fcG.js","./stringifyLocale-pkrPwFqm.js","./plus-DZJ2BVkK.js","./MenuSubmenuTrigger-CBIsKDfh.js","./index3.css","./Tooltip-DZVPwqsR.js","./pen-tool-BfwjhXQW.js","./underline-CT_nGhA9.js","./external-link-D382oEvK.js","./file-code-CIc73fLV.js","./message-square-Yl8PoPy_.js","./presentation-DXrcAbwM.js","./ThreadView-B8Yy6ce9.js","./stable-CTXXb0QY.js","./icons-CDUVPf2C.js","./index5.css","./search-DTrfkTpJ.js","./sliders-horizontal-CuS3-UwA.js","./upload-DffL3XsM.js","./video-DKoRqEZW.js","./agentLook-BLd4ATSJ.js","./rounds-BLj-tfMG.js","./useMedia-CFebB4XU.js","./BottomSheet--aXTUFIR.js","./motion-Cy65kd7X.js","./useSandboxFrame-CJmSnwgG.js","./preference-oNdcNeml.js","./ref-BebRMqou.js","./index4.css","./viewport-CFJHn_Y6-CPMAZ--b.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{t}from"./react-DlmbjZJV.js";import{t as n}from"./jsx-runtime-LKYXHABd.js";import{x as r}from"./route-uX8K-A_8.js";var i=e(t(),1),a=n(),o=(0,i.lazy)(()=>r(()=>import(`./VirtualizedRenderer-C_d95FXi-BTlEQQbm.js`).then(e=>({default:e.VirtualizedRenderer})),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51]),import.meta.url));function s({document:e}){return(0,a.jsx)(a.Fragment,{children:e.rows.slice(0,12).map((t,n)=>e.render(n))})}function c(e={}){return function(t){return(0,a.jsx)(i.Suspense,{fallback:(0,a.jsx)(s,{...t}),children:(0,a.jsx)(o,{...t,options:e})})}}export{c as n,s as t};
|
package/dist/viewer/preview.html
CHANGED
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
<link rel="modulepreload" crossorigin href="/react-DlmbjZJV.js">
|
|
14
14
|
<link rel="modulepreload" crossorigin href="/jsx-runtime-LKYXHABd.js">
|
|
15
15
|
<link rel="modulepreload" crossorigin href="/types-DAs-xbqr.js">
|
|
16
|
-
<link rel="modulepreload" crossorigin href="/route-
|
|
17
|
-
<link rel="modulepreload" crossorigin href="/view-
|
|
18
|
-
<link rel="modulepreload" crossorigin href="/PreviewLayout-
|
|
16
|
+
<link rel="modulepreload" crossorigin href="/route-uX8K-A_8.js">
|
|
17
|
+
<link rel="modulepreload" crossorigin href="/view-BZpx3qF5.js">
|
|
18
|
+
<link rel="modulepreload" crossorigin href="/PreviewLayout-DIEVSU6h.js">
|
|
19
19
|
<link rel="stylesheet" crossorigin href="/index2.css">
|
|
20
20
|
</head>
|
|
21
21
|
<body>
|