cardbuddy 0.22.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/README.md +11 -11
  2. package/dist/cli.js +2 -2
  3. package/dist/config.js +3 -3
  4. package/dist/init.js +13 -13
  5. package/dist/mcp.js +1 -1
  6. package/dist/preview-editor/assets/{index-CU8zVA2P.css → index-7RzNd7tf.css} +1 -1
  7. package/dist/preview-editor/assets/{index-CPpLZZyi.js → index-C7N5n_qW.js} +80 -80
  8. package/dist/preview-editor/index.html +2 -2
  9. package/dist/skills-upgrade.js +1 -1
  10. package/dist/standalone.js +2 -2
  11. package/dist/vendored/card-editor/runtime/adapter.js +10 -11
  12. package/dist/vendored/mcp/client.mjs +50 -13
  13. package/dist/vendored/mcp/tools.mjs +13 -7
  14. package/dist/vendored/server/core/ai-chat.js +540 -183
  15. package/dist/vendored/server/core/assetProxy.js +1 -1
  16. package/dist/vendored/server/core/browser.js +1 -1
  17. package/dist/vendored/server/core/cardDigest.js +324 -0
  18. package/dist/vendored/server/core/cardExport.js +5 -5
  19. package/dist/vendored/server/core/cardFiles.js +1 -1
  20. package/dist/vendored/server/core/cardHistoryRemote.js +1 -1
  21. package/dist/vendored/server/core/cardImportMeta.js +1 -1
  22. package/dist/vendored/server/core/cardListCache.js +92 -10
  23. package/dist/vendored/server/core/cardPublish.js +11 -6
  24. package/dist/vendored/server/core/cardPublishVersions.js +8 -8
  25. package/dist/vendored/server/core/cardSave.js +14 -10
  26. package/dist/vendored/server/core/cardSidecar.js +3 -3
  27. package/dist/vendored/server/core/cardSync.js +35 -23
  28. package/dist/vendored/server/core/cardVersion.js +1 -1
  29. package/dist/vendored/server/core/index.js +6 -6
  30. package/dist/vendored/server/core/logger.js +1 -1
  31. package/dist/vendored/server/core/remoteCard.js +5 -5
  32. package/dist/vendored/server/core/skillPaths.js +1 -1
  33. package/dist/vendored/server/core/sliceUpload.js +4 -4
  34. package/dist/vendored/skills/README.md +13 -13
  35. package/dist/vendored/skills/card-doctor/SKILL.md +2 -2
  36. package/dist/vendored/skills/dsl-card-ai/SKILL.md +4 -4
  37. package/dist/vendored/skills/dsl-card-generator/SKILL.md +2 -2
  38. package/dist/vendored/skills/dsl-card-generator/references/amount_formatting.md +1 -1
  39. package/dist/vendored/skills/dsl-card-generator/references/build_protocol.md +54 -0
  40. package/dist/vendored/skills/dsl-card-generator/references/component_rules.md +2 -2
  41. package/dist/vendored/skills/dsl-card-generator/references/converge_protocol.md +36 -0
  42. package/dist/vendored/skills/dsl-card-generator/references/event_patterns.md +1 -1
  43. package/dist/vendored/skills/dsl-card-generator/references/generation_pitfalls.md +1 -1
  44. package/dist/vendored/skills/dsl-card-generator/references/image_to_card.md +1 -1
  45. package/dist/vendored/skills/dsl-card-generator/references/quickref.md +1 -1
  46. package/dist/vendored/skills/dsl-card-generator/references/recipes.md +4 -4
  47. package/dist/vendored/skills/dsl-card-generator/references/rules.md +1 -1
  48. package/dist/vendored/skills/dsl-card-generator/references/slices_convention.md +6 -6
  49. package/dist/vendored/skills/dsl-card-generator/scripts/inventory_schemas.py +1 -1
  50. package/dist/vendored/skills/dsl-card-generator/scripts/lib/scaffold.mjs +1 -1
  51. package/dist/vendored/skills/dsl-card-generator/scripts/lib/slice_dedupe.mjs +2 -2
  52. package/dist/vendored/skills/dsl-card-generator/vendor/preview/assets/standalone-CeVX_y-M.js +137 -0
  53. package/dist/vendored/skills/dsl-card-generator/vendor/preview/assets/standalone-DiEiY59H.css +1 -0
  54. package/dist/vendored/skills/dsl-card-generator/vendor/preview/standalone.html +2 -2
  55. package/dist/vendored/skills/{finmall-card-sync → platform-card-sync}/SKILL.md +26 -26
  56. package/dist/vendored/skills/{finmall-card-sync → platform-card-sync}/scripts/api_batch_sync.mjs +184 -162
  57. package/dist/vendored/skills/{finmall-card-sync → platform-card-sync}/scripts/slice_upload.mjs +48 -29
  58. package/dist/vendored/skills/{finmall-session-navigator → platform-session-navigator}/SKILL.md +13 -13
  59. package/dist/vendored/skills/{finmall-session-navigator → platform-session-navigator}/scripts/package-lock.json +2 -2
  60. package/dist/vendored/skills/{finmall-session-navigator → platform-session-navigator}/scripts/package.json +2 -2
  61. package/dist/vendored/skills/{finmall-session-navigator/scripts/finmall_login.mjs → platform-session-navigator/scripts/platform_login.mjs} +41 -31
  62. package/dist/vendored/skills/{finmall-session-navigator → platform-session-navigator}/scripts/session-manager.mjs +17 -17
  63. package/dist/vendored/skills/shared/README.md +21 -21
  64. package/dist/vendored/skills/shared/auth-model.md +8 -10
  65. package/dist/vendored/skills/shared/{finmall-config.mjs → platform-config.mjs} +10 -10
  66. package/dist/vendored/tools/{finmall-env.mjs → platform-env.mjs} +13 -13
  67. package/package.json +1 -1
  68. package/dist/vendored/skills/dsl-card-generator/vendor/preview/assets/standalone-BCLshIzC.css +0 -1
  69. package/dist/vendored/skills/dsl-card-generator/vendor/preview/assets/standalone-pP5kTKiI.js +0 -88
@@ -0,0 +1,137 @@
1
+ (function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e=`<svg xmlns="http://www.w3.org/2000/svg">
2
+ <!-- 编辑器原生图标(icon-*):由 preview 自身 UI 使用,统一从此 sprite 取,去重合并。 -->
3
+
4
+ <!-- ===== 24x24 Feather 风格(顶栏 / 面板 / 结构树 / 调试) ===== -->
5
+ <symbol id="icon-refresh" viewBox="0 0 24 24"><polyline points="23 4 23 10 17 10"></polyline><polyline points="1 20 1 14 7 14"></polyline><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"></path></symbol>
6
+ <symbol id="icon-undo" viewBox="0 0 24 24"><polyline points="1 4 1 10 7 10"></polyline><path d="M3.51 15a9 9 0 1 0 2.13-9.36L1 10"></path></symbol>
7
+ <symbol id="icon-redo" viewBox="0 0 24 24"><polyline points="23 4 23 10 17 10"></polyline><path d="M20.49 15a9 9 0 1 1-2.13-9.36L23 10"></path></symbol>
8
+ <symbol id="icon-save" viewBox="0 0 24 24"><path d="M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"></path><polyline points="17 21 17 13 7 13 7 21"></polyline><polyline points="7 3 7 8 15 8"></polyline></symbol>
9
+ <symbol id="icon-copy" viewBox="0 0 24 24"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></symbol>
10
+ <symbol id="icon-loading" viewBox="0 0 24 24"><line x1="12" y1="2" x2="12" y2="6"></line><line x1="12" y1="18" x2="12" y2="22"></line><line x1="4.93" y1="4.93" x2="7.76" y2="7.76"></line><line x1="16.24" y1="16.24" x2="19.07" y2="19.07"></line><line x1="2" y1="12" x2="6" y2="12"></line><line x1="18" y1="12" x2="22" y2="12"></line><line x1="4.93" y1="19.07" x2="7.76" y2="16.24"></line><line x1="16.24" y1="7.76" x2="19.07" y2="4.93"></line></symbol>
11
+ <symbol id="icon-activity" viewBox="0 0 24 24"><polyline points="22 12 18 12 15 21 9 3 6 12 2 12"></polyline></symbol>
12
+ <symbol id="icon-cloud-check" viewBox="0 0 24 24"><path d="M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z"></path><polyline points="9 15 11 17 14 13"></polyline></symbol>
13
+ <symbol id="icon-cloud-alert" viewBox="0 0 24 24"><path d="M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z"></path><line x1="12" y1="13" x2="12" y2="16"></line><line x1="12" y1="18" x2="12.01" y2="18"></line></symbol>
14
+ <symbol id="icon-cloud" viewBox="0 0 24 24"><path d="M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z"></path></symbol>
15
+ <symbol id="icon-upload-cloud" viewBox="0 0 24 24"><path d="M12 13v8"></path><path d="M8 17l4-4 4 4"></path><path d="M20 16.5A4.5 4.5 0 0 0 17.5 8h-1.26A7 7 0 1 0 4 14.9"></path></symbol>
16
+ <!-- 切图上传(image-upload):图片框 + 框内上箭头,语义「把本地切图传到远端图床」,
17
+ 与 git 推送(icon-git-push,传卡片版本)区分开:一个传素材,一个传卡片版本。 -->
18
+ <symbol id="icon-image-upload" viewBox="0 0 24 24"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><circle cx="8.5" cy="8.5" r="1.5"></circle><path d="M12 19v-7"></path><path d="M9 15l3-3 3 3"></path></symbol>
19
+ <symbol id="icon-download" viewBox="0 0 24 24"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><path d="M7 10l5 5 5-5"></path><path d="M12 15V3"></path></symbol>
20
+ <symbol id="icon-grid" viewBox="0 0 24 24"><rect x="3" y="3" width="7" height="7" rx="1"></rect><rect x="14" y="3" width="7" height="7" rx="1"></rect><rect x="3" y="14" width="7" height="7" rx="1"></rect><path d="M14 14h3v3M21 14v7h-7v-3"></path></symbol>
21
+ <!-- 移动设备(device-mobile):顶栏「远端 → 预览当前卡」语义图标,真机预览(远端 App 扫码) -->
22
+ <symbol id="icon-device-mobile" viewBox="0 0 24 24"><rect x="5" y="2" width="14" height="20" rx="2" ry="2"></rect><line x1="12" y1="18" x2="12.01" y2="18"></line></symbol>
23
+ <symbol id="icon-sync-box" viewBox="0 0 24 24"><rect x="3" y="5" width="14" height="14" rx="2" ry="2"></rect><path d="M21 7v10a2 2 0 0 1-2 2H7"></path></symbol>
24
+ <symbol id="icon-locate" viewBox="0 0 24 24"><circle cx="12" cy="12" r="7"></circle><line x1="12" y1="1" x2="12" y2="5"></line><line x1="12" y1="19" x2="12" y2="23"></line><line x1="1" y1="12" x2="5" y2="12"></line><line x1="19" y1="12" x2="23" y2="12"></line></symbol>
25
+ <symbol id="icon-gear" viewBox="0 0 24 24"><circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"></path></symbol>
26
+ <symbol id="icon-no-entry" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"></circle><line x1="6" y1="6" x2="18" y2="18"></line></symbol>
27
+ <!-- 警告三角(alert-triangle):确认框 warn 级标题图标(警告操作,橙黄档);danger 级用 icon-no-entry -->
28
+ <symbol id="icon-alert-triangle" viewBox="0 0 24 24"><path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path><line x1="12" y1="9" x2="12" y2="13"></line><line x1="12" y1="17" x2="12.01" y2="17"></line></symbol>
29
+ <symbol id="icon-copy-sm" viewBox="0 0 24 24"><rect x="9" y="9" width="11" height="11" rx="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></symbol>
30
+ <symbol id="icon-trash" viewBox="0 0 24 24"><path d="M3 6h18"></path><path d="M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2"></path><path d="M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6"></path><line x1="10" y1="11" x2="10" y2="17"></line><line x1="14" y1="11" x2="14" y2="17"></line></symbol>
31
+ <!-- 连接(link):本地开发服务「连接前后端」语义图标,呼应主题【连接】 -->
32
+ <symbol id="icon-link" viewBox="0 0 24 24"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></symbol>
33
+
34
+ <!-- AI 开发助手(sparkles):悬浮入口 / 面板标题 / 思考态,与主题「智能辅助」呼应 -->
35
+ <symbol id="icon-sparkles" viewBox="0 0 24 24"><path d="M12 3l1.9 4.9L18.8 9.8l-4.9 1.9L12 16.6l-1.9-4.9L5.2 9.8l4.9-1.9L12 3z"></path><path d="M18 15.5l.9 2.2 2.2.9-2.2.9-.9 2.2-.9-2.2-2.2-.9 2.2-.9.9-2.2z"></path></symbol>
36
+ <!-- 终止生成(实心方块):流式进行中的「停止」按钮 -->
37
+ <symbol id="icon-stop" viewBox="0 0 24 24"><rect x="6" y="6" width="12" height="12" rx="2" fill="currentColor" stroke="none"></rect></symbol>
38
+ <!-- 发送(arrow-up):输入框发送态 -->
39
+ <symbol id="icon-send" viewBox="0 0 24 24"><line x1="12" y1="19" x2="12" y2="5"></line><polyline points="5 12 12 5 19 12"></polyline></symbol>
40
+ <!-- 附件(paperclip):本地文件 / 图片挂载入口 -->
41
+ <symbol id="icon-paperclip" viewBox="0 0 24 24"><path d="M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48"></path></symbol>
42
+ <!-- 文件夹加号:挂载本地文件夹(如 Sketch MeaXure 标注导出目录) -->
43
+ <symbol id="icon-folder-plus" viewBox="0 0 24 24"><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path><line x1="12" y1="11" x2="12" y2="17"></line><line x1="9" y1="14" x2="15" y2="14"></line></symbol>
44
+ <!-- 图片(image):图片类附件缩略占位 -->
45
+ <symbol id="icon-image" viewBox="0 0 24 24"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><circle cx="8.5" cy="8.5" r="1.5"></circle><polyline points="21 15 16 10 5 21"></polyline></symbol>
46
+ <!-- 文件(file-text):文本类附件占位 -->
47
+ <symbol id="icon-file-text" viewBox="0 0 24 24"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line></symbol>
48
+ <!-- 关闭(x):面板 / 弹层关闭,替代文本 ✕ -->
49
+ <symbol id="icon-x" viewBox="0 0 24 24"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></symbol>
50
+ <!-- 工具调用(wrench):assistant 消息里的工具执行行 -->
51
+ <symbol id="icon-eye" viewBox="0 0 24 24"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle></symbol>
52
+ <symbol id="icon-eye-off" viewBox="0 0 24 24"><path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94"></path><path d="M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19"></path><path d="M14.12 14.12a3 3 0 1 1-4.24-4.24"></path><line x1="1" y1="1" x2="23" y2="23"></line></symbol>
53
+ <symbol id="icon-wrench" viewBox="0 0 24 24"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"></path></symbol>
54
+ <!-- 回到底部(arrow-down):滚动脱离底部时的悬浮按钮 -->
55
+ <symbol id="icon-arrow-down" viewBox="0 0 24 24"><line x1="12" y1="5" x2="12" y2="19"></line><polyline points="19 12 12 19 5 12"></polyline></symbol>
56
+ <!-- git 推送(上箭头):顶栏「远端 → 推送当前卡」语义图标,git 约定「上=推」,不与 icon-send(聊天发送)撞语义 -->
57
+ <symbol id="icon-git-push" viewBox="0 0 24 24"><line x1="12" y1="19" x2="12" y2="5"></line><polyline points="5 12 12 5 19 12"></polyline></symbol>
58
+ <!-- git 拉取(下箭头):顶栏「远端 → 拉取最新卡」语义图标,git 约定「下=拉」,不与 icon-arrow-down(回到底部)撞语义 -->
59
+ <symbol id="icon-git-pull" viewBox="0 0 24 24"><line x1="12" y1="5" x2="12" y2="19"></line><polyline points="19 12 12 19 5 12"></polyline></symbol>
60
+ <!-- 发布(rocket):顶栏「远端 → 卡片发布」语义图标,发布上线新版本(火箭=发布/上线通用隐喻) -->
61
+ <symbol id="icon-rocket" viewBox="0 0 24 24"><path d="M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z"></path><path d="M12 15l-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z"></path><path d="M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0"></path><path d="M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5"></path></symbol>
62
+ <!-- 帮助(help-circle):表单字段的「?」详情入口,点开看说明浮层 -->
63
+ <symbol id="icon-help" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"></circle><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path><line x1="12" y1="17" x2="12.01" y2="17"></line></symbol>
64
+ <!-- 展开箭头(chevron-right):折叠行展开态,CSS 旋转 90° 即为收起态 -->
65
+ <symbol id="icon-chevron-right" viewBox="0 0 24 24"><polyline points="9 18 15 12 9 6"></polyline></symbol>
66
+
67
+ <!-- ===== 16x16 小图标(下拉 / 卡片选择 / 设置器) ===== -->
68
+ <symbol id="icon-chevron" viewBox="0 0 16 16"><path d="M4 6l4 4 4-4" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"></path></symbol>
69
+ <symbol id="icon-check" viewBox="0 0 16 16"><path d="M3.5 8.5l3 3 6-7" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"></path></symbol>
70
+ <symbol id="icon-search" viewBox="0 0 16 16"><circle cx="7" cy="7" r="4.5" fill="none" stroke="currentColor" stroke-width="1.4"></circle><path d="M10.5 10.5L14 14" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"></path></symbol>
71
+ <symbol id="icon-reset" viewBox="0 0 16 16"><path d="M13 8a5 5 0 1 1-1.46-3.54" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"></path><path d="M12.4 2.4v3h-3" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"></path></symbol>
72
+ <symbol id="icon-delete" viewBox="0 0 16 16"><path d="M3 4.5h10"></path><path d="M6 3h4"></path><path d="M4.5 4.5l.7 9a1 1 0 0 0 1 .9h3.6a1 1 0 0 0 1-.9l.7-9"></path><path d="M6.5 7v4M9.5 7v4"></path></symbol>
73
+
74
+ <!-- ===== 组件面板语义图标(Feather 同款 24x24,由 ComponentPalette.iconSvg 包裹引用) ===== -->
75
+ <symbol id="icon-glyph-Row" viewBox="0 0 24 24"><rect x="3" y="6" width="18" height="12" rx="2"></rect><line x1="6.5" y1="12" x2="17.5" y2="12"></line></symbol>
76
+ <symbol id="icon-glyph-Column" viewBox="0 0 24 24"><rect x="3" y="6" width="18" height="12" rx="2"></rect><line x1="12" y1="6.5" x2="12" y2="17.5"></line></symbol>
77
+ <symbol id="icon-glyph-MultiColumn" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="2"></rect><line x1="9" y1="4" x2="9" y2="20"></line><line x1="15" y1="4" x2="15" y2="20"></line></symbol>
78
+ <symbol id="icon-glyph-ListLayout" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="2"></rect><line x1="7" y1="9" x2="17" y2="9"></line><line x1="7" y1="13" x2="17" y2="13"></line><line x1="7" y1="17" x2="13" y2="17"></line></symbol>
79
+ <symbol id="icon-glyph-GridLayout" viewBox="0 0 24 24"><rect x="3" y="3" width="18" height="18" rx="2"></rect><line x1="12" y1="3" x2="12" y2="21"></line><line x1="3" y1="12" x2="21" y2="12"></line></symbol>
80
+ <symbol id="icon-glyph-AbsoluteLayout" viewBox="0 0 24 24"><polyline points="5 9 2 12 5 15"></polyline><polyline points="9 5 12 2 15 5"></polyline><polyline points="15 19 12 22 9 19"></polyline><polyline points="19 9 22 12 19 15"></polyline><line x1="2" y1="12" x2="22" y2="12"></line><line x1="12" y1="2" x2="12" y2="22"></line></symbol>
81
+ <symbol id="icon-glyph-ViewContainer" viewBox="0 0 24 24"><polygon points="12 2 2 7 12 12 22 7 12 2"></polygon><polyline points="2 17 12 22 22 17"></polyline><polyline points="2 12 12 17 22 12"></polyline></symbol>
82
+ <symbol id="icon-glyph-Text" viewBox="0 0 24 24"><path d="M4 7V4h16v3"></path><path d="M9 20h6"></path><path d="M12 4v16"></path></symbol>
83
+ <symbol id="icon-glyph-Button" viewBox="0 0 24 24"><rect x="3" y="8" width="18" height="8" rx="4"></rect></symbol>
84
+ <symbol id="icon-glyph-Image" viewBox="0 0 24 24"><rect x="3" y="3" width="18" height="18" rx="2"></rect><circle cx="8.5" cy="8.5" r="1.5"></circle><polyline points="21 15 16 10 5 21"></polyline></symbol>
85
+ <symbol id="icon-glyph-Icon" viewBox="0 0 24 24"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon></symbol>
86
+ <symbol id="icon-glyph-MultiText" viewBox="0 0 24 24"><line x1="17" y1="10" x2="3" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="17" y1="18" x2="3" y2="18"></line></symbol>
87
+ <symbol id="icon-glyph-Canvas" viewBox="0 0 24 24"><path d="M12 20h9"></path><path d="M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z"></path></symbol>
88
+ <symbol id="icon-glyph-Input" viewBox="0 0 24 24"><rect x="3" y="7" width="18" height="10" rx="2"></rect><line x1="12" y1="10" x2="12" y2="14"></line></symbol>
89
+ <symbol id="icon-glyph-CheckGroup" viewBox="0 0 24 24"><polyline points="9 11 12 14 22 4"></polyline><path d="M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"></path></symbol>
90
+ <symbol id="icon-glyph-RadioButton" viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"></circle><circle cx="12" cy="12" r="3" fill="currentColor" stroke="none"></circle></symbol>
91
+ <symbol id="icon-glyph-ProgressSlider" viewBox="0 0 24 24"><line x1="4" y1="21" x2="4" y2="14"></line><line x1="4" y1="10" x2="4" y2="3"></line><line x1="12" y1="21" x2="12" y2="12"></line><line x1="12" y1="8" x2="12" y2="3"></line><line x1="20" y1="21" x2="20" y2="16"></line><line x1="20" y1="12" x2="20" y2="3"></line><line x1="1" y1="14" x2="7" y2="14"></line><line x1="9" y1="8" x2="15" y2="8"></line><line x1="17" y1="16" x2="23" y2="16"></line></symbol>
92
+ <symbol id="icon-glyph-Video" viewBox="0 0 24 24"><polygon points="23 7 16 12 23 17 23 7"></polygon><rect x="1" y="5" width="15" height="14" rx="2"></rect></symbol>
93
+ <symbol id="icon-glyph-Map" viewBox="0 0 24 24"><polygon points="1 6 1 22 8 18 16 22 23 18 23 2 16 6 8 2 1 6"></polygon><line x1="8" y1="2" x2="8" y2="18"></line><line x1="16" y1="6" x2="16" y2="22"></line></symbol>
94
+ <symbol id="icon-glyph-Divider" viewBox="0 0 24 24"><line x1="5" y1="12" x2="19" y2="12"></line></symbol>
95
+ <symbol id="icon-settings" viewBox="0 0 24 24"><circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"></path></symbol>
96
+
97
+ <!-- ===== AI 对话图片预览(折叠组 + 大图查看器) ===== -->
98
+ <!-- 叠放照片(images):折叠态「N 张图像」的入口图标,对齐 Codex 的已查看图像行 -->
99
+ <symbol id="icon-images" viewBox="0 0 24 24"><path d="M18 22H4a2 2 0 0 1-2-2V8"></path><path d="m22 13-1.296-1.296a2.41 2.41 0 0 0-3.408 0L11 18"></path><circle cx="12" cy="8" r="2"></circle><rect width="16" height="16" x="6" y="2" rx="2"></rect></symbol>
100
+ <!-- 放大 / 缩小(zoom-in / zoom-out):大图查看器工具栏 -->
101
+ <symbol id="icon-zoom-in" viewBox="0 0 24 24"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line><line x1="11" y1="8" x2="11" y2="14"></line><line x1="8" y1="11" x2="14" y2="11"></line></symbol>
102
+ <symbol id="icon-zoom-out" viewBox="0 0 24 24"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line><line x1="8" y1="11" x2="14" y2="11"></line></symbol>
103
+ <!-- 适应窗口(maximize):把缩放与平移一次性归位到「整图可见」 -->
104
+ <symbol id="icon-maximize" viewBox="0 0 24 24"><path d="M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"></path></symbol>
105
+ <!-- 新标签打开原图(external-link):查看器里跳转到 /__ai/fs/raw 原文件 -->
106
+ <symbol id="icon-external" viewBox="0 0 24 24"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" y1="14" x2="21" y2="3"></line></symbol>
107
+ <symbol id="icon-plus" viewBox="0 0 24 24"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></symbol>
108
+ <symbol id="icon-edit" viewBox="0 0 24 24"><path d="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"></path><path d="M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"></path></symbol>
109
+ <!-- 模型(model):大脑轮廓图标,AI 模型库 / 模型设置入口。
110
+ 注意:本图是 fill 型(无 stroke),与上方 Feather 描边图标不同——必须在 symbol 上显式声明
111
+ fill="currentColor",否则调用处的 fill="none" 会让路径整体消失;stroke="none" 则清掉
112
+ 外层继承的描边属性,避免描边污染实心形状。 -->
113
+ <symbol id="icon-model" viewBox="0 0 1024 1024" fill="currentColor" stroke="none"><path d="M907.8 457.5c2-5.5 3.6-11.1 5.1-16.8 13.6-52.7 5.8-107.5-21.9-154.3-22.5-38-55.8-67-95.7-83.9-5.1-34.5-21.1-66.3-46.3-91.3-30.7-30.5-71.5-47.4-114.8-47.4h-0.5C585 64 541.8 86 512 120.1 482.2 86 439 64 390.3 63.8h-0.5c-43.3 0-84.1 16.8-114.8 47.4-25.2 25-41.2 56.8-46.3 91.3-91.1 38.7-143 139.5-117.6 238.2 1.5 5.7 3.2 11.2 5.1 16.8-65.9 73.2-70.7 185.8-6.7 264.6 10.6 13 22.6 24.6 35.9 34.5 0 44.8 14.6 88.2 42.4 124.2C221 923.9 269 951.5 323 958.4c8.8 1.1 17.6 1.7 26.3 1.7 65.5 0 125.1-32 162.8-82.4 37.6 50.4 97.3 82.4 162.8 82.4 8.6 0 17.4-0.6 26.3-1.7 102.5-13.2 177.6-101 177.6-201.8 13.3-9.9 25.3-21.5 35.8-34.5 63.9-78.8 59.2-191.4-6.8-264.6zM470.3 772.1c-8.6 66.8-70 113.8-136.9 105.5-32.4-4.2-61.1-20.7-81.1-46.6-8.7-11.3-14.8-23.9-19.1-37 11.4 2 22.8 3.3 34.4 3.3 22.5 0 40.7-18.2 40.7-40.7 0-22.5-18.2-40.7-40.7-40.7-21 0-41.7-5.5-60-15.8l-0.1-0.1c-13.4-7.5-25.1-17.4-34.7-29.4-42.4-52.2-34.5-129.2 17.6-171.8 0.1 0 0.1-0.1 0.2-0.1 5.6-4.6 11.6-8.6 17.9-12.1 19.7-10.9 26.7-35.8 15.8-55.4-7.5-13.4-21.4-20.3-35.7-20.3-8.4-48.2 12.7-95.6 51.8-122 2.7 6.5 4.7 13.4 8.3 19.5 7.5 13.1 21.2 20.4 35.3 20.4 6.9 0 13.9-1.7 20.3-5.4 19.5-11.2 26.2-36.1 15-55.6-6.5-11.4-10.3-24.3-10.8-37.4 0-0.5-0.3-1-0.4-1.5 0-0.8 0.3-1.7 0.3-2.5 0-21.8 8.6-42.2 24-57.5 15.4-15.3 35.8-23.7 57.4-23.7h0.3c44.9 0.1 81.4 36.8 81.2 81.7V388.2c-3.4 57.5-40.6 107-95 126.2-21.2 7.5-32.4 30.7-24.9 51.9s30.8 32.4 51.9 24.9c25.4-8.9 48-22.4 67.9-38.8v204.1c0.1 5.4-0.3 10.5-0.9 15.6z m381-101.4a124 124 0 0 1-34.7 29.4l-0.1 0.1c-18.3 10.3-39.1 15.7-60 15.7-22.5 0-40.7 18.2-40.7 40.7 0 22.5 18.2 40.7 40.7 40.7 11.6 0 23-1.3 34.4-3.3-14.2 43.4-52 77.3-100.2 83.6-66.1 8.4-128.2-38.7-136.8-105.5-0.7-5.2-1-10.3-1-15.5v-204c19.9 16.4 42.6 29.9 67.9 38.8 4.4 1.6 9 2.3 13.5 2.3 16.8 0 32.5-10.5 38.4-27.3 7.4-21.2-3.7-44.5-24.9-51.9-54.4-19.1-91.6-68.6-95-126.2V227.2v-0.1c-0.1-44.9 36.3-81.6 81.2-81.7h0.2c21.7 0 42.1 8.4 57.4 23.7 15.5 15.3 24 35.8 24 61.2V230.6c-0.5 13.1-4.2 26-10.8 37.4-11.2 19.5-4.5 44.4 15 55.6 6.4 3.7 13.4 5.4 20.3 5.4 14.1 0 27.8-7.3 35.4-20.4 3.5-6.2 5.6-13 8.3-19.6 14.9 10 27.8 23 37.2 38.9 15 25.3 19.7 54.4 14.6 83.2-14.3 0-28.3 7-35.8 20.3-10.9 19.6-3.9 44.5 15.8 55.4 6.3 3.5 12.3 7.6 17.9 12.1 0.1 0.1 0.1 0.1 0.2 0.1 52.1 42.5 60 119.5 17.6 171.7z"></path></symbol>
114
+ <!-- ===== 2026-09 图标雪碧化补齐:原先散落在模板里的内联 svg 收编入 sprite ===== -->
115
+ <symbol id="icon-folder" viewBox="0 0 24 24"><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7z"></path><path d="M3 9h18"></path></symbol>
116
+ <symbol id="icon-layout" viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="2"></rect><line x1="15" y1="4" x2="15" y2="20"></line></symbol>
117
+ <symbol id="icon-sun" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4.2"></circle><line x1="12" y1="2.5" x2="12" y2="5"></line><line x1="12" y1="19" x2="12" y2="21.5"></line><line x1="2.5" y1="12" x2="5" y2="12"></line><line x1="19" y1="12" x2="21.5" y2="12"></line><line x1="4.9" y1="4.9" x2="6.8" y2="6.8"></line><line x1="17.2" y1="17.2" x2="19.1" y2="19.1"></line><line x1="4.9" y1="19.1" x2="6.8" y2="17.2"></line><line x1="17.2" y1="6.8" x2="19.1" y2="4.9"></line></symbol>
118
+ <symbol id="icon-moon" viewBox="0 0 24 24"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></symbol>
119
+ <!-- 调色板(顶栏「主题设置」入口):调色盘 + 三孔,色值由调用处的 currentColor 决定 -->
120
+ <symbol id="icon-palette" viewBox="0 0 24 24"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.93 0 1.65-.75 1.65-1.69 0-.44-.18-.83-.44-1.12-.29-.29-.44-.65-.44-1.13a1.64 1.64 0 0 1 1.67-1.67h1.99c3.05 0 5.56-2.5 5.56-5.55C21.96 6.01 17.46 2 12 2z"></path><circle cx="7.5" cy="11.5" r="1.1" fill="currentColor" stroke="none"></circle><circle cx="10" cy="7.5" r="1.1" fill="currentColor" stroke="none"></circle><circle cx="15" cy="7.5" r="1.1" fill="currentColor" stroke="none"></circle><circle cx="17.5" cy="11.5" r="1.1" fill="currentColor" stroke="none"></circle></symbol>
121
+ <symbol id="icon-stretch" viewBox="0 0 24 24"><polyline points="8 7 4 12 8 17"></polyline><polyline points="16 7 20 12 16 17"></polyline><line x1="4" y1="12" x2="20" y2="12"></line></symbol>
122
+ <symbol id="icon-rotate-cw" viewBox="0 0 24 24"><path d="M21 12a9 9 0 1 1-2.64-6.36"></path><path d="M21 3v6h-6"></path></symbol>
123
+ <symbol id="icon-cup" viewBox="0 0 24 24"><path d="M9 7V3"></path><path d="M15 7V3"></path><path d="M6 7h12v4a6 6 0 0 1-12 0V7z"></path><path d="M12 17v4"></path></symbol>
124
+ <symbol id="icon-chevron-left" viewBox="0 0 24 24"><polyline points="15 18 9 12 15 6"></polyline></symbol>
125
+ <symbol id="icon-terminal" viewBox="0 0 24 24"><polyline points="4 17 10 11 4 5"></polyline><line x1="12" y1="19" x2="20" y2="19"></line></symbol>
126
+ <symbol id="icon-menu" viewBox="0 0 24 24"><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="12" x2="3" y2="12"></line><line x1="21" y1="18" x2="3" y2="18"></line></symbol>
127
+ <symbol id="icon-check-circle" viewBox="0 0 24 24"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></symbol>
128
+ <symbol id="icon-check-plain" viewBox="0 0 24 24"><path d="M5 13l4 4L19 7"></path></symbol>
129
+ <symbol id="icon-minus-sm" viewBox="0 0 16 16"><line x1="3.5" y1="8" x2="12.5" y2="8"></line></symbol>
130
+ <symbol id="icon-plus-sm" viewBox="0 0 16 16"><path d="M8 3.5v9M3.5 8h9"></path></symbol>
131
+ <!-- 历史记录(history):回溯时钟,「编辑记录」tab 用 -->
132
+ <symbol id="icon-history" viewBox="0 0 24 24"><path d="M3 3v5h5"></path><path d="M3.05 13A9 9 0 1 0 6 5.3L3 8"></path></symbol>
133
+ <!-- 列表记录(list):三行条目 + 行首圆点,「发布版本记录」入口按钮用。
134
+ 与 icon-history(回旋箭头)语义区分:那是「回溯时钟」,这是「逐条记录的列表」。 -->
135
+ <symbol id="icon-list" viewBox="0 0 24 24"><line x1="9" y1="6" x2="21" y2="6"></line><line x1="9" y1="12" x2="21" y2="12"></line><line x1="9" y1="18" x2="21" y2="18"></line><line x1="3.5" y1="6" x2="3.51" y2="6"></line><line x1="3.5" y1="12" x2="3.51" y2="12"></line><line x1="3.5" y1="18" x2="3.51" y2="18"></line></symbol>
136
+ </svg>
137
+ `,t=()=>{let t=document.createElement(`div`);t.innerHTML=e;let n=t.getElementsByTagName(`svg`)[0];if(n){n.setAttribute(`aria-hidden`,`true`),n.style.position=`absolute`,n.style.width=`0`,n.style.height=`0`,n.style.overflow=`hidden`;let e=document.body.firstChild;e?document.body.insertBefore(n,e):document.body.appendChild(n)}};(()=>{let e=()=>{document.removeEventListener(`DOMContentLoaded`,e),t()};document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,e):t()})();function n(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var r={},i=[],a=()=>{},o=()=>!1,s=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),c=e=>e.startsWith(`onUpdate:`),l=Object.assign,u=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,f=(e,t)=>d.call(e,t),p=Array.isArray,m=e=>C(e)===`[object Map]`,h=e=>C(e)===`[object Set]`,g=e=>C(e)===`[object Date]`,_=e=>typeof e==`function`,v=e=>typeof e==`string`,y=e=>typeof e==`symbol`,b=e=>typeof e==`object`&&!!e,x=e=>(b(e)||_(e))&&_(e.then)&&_(e.catch),S=Object.prototype.toString,C=e=>S.call(e),w=e=>C(e).slice(8,-1),ee=e=>C(e)===`[object Object]`,te=e=>v(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,ne=n(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),re=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},ie=/-\w/g,T=re(e=>e.replace(ie,e=>e.slice(1).toUpperCase())),ae=/\B([A-Z])/g,oe=re(e=>e.replace(ae,`-$1`).toLowerCase()),se=re(e=>e.charAt(0).toUpperCase()+e.slice(1)),ce=re(e=>e?`on${se(e)}`:``),E=(e,t)=>!Object.is(e,t),le=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ue=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},de=e=>{let t=parseFloat(e);return isNaN(t)?e:t},fe=e=>{let t=v(e)?Number(e):NaN;return isNaN(t)?e:t},pe,me=()=>pe||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function D(e){if(p(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=v(r)?ve(r):D(r);if(i)for(let e in i)t[e]=i[e]}return t}if(v(e)||b(e))return e}var he=/;(?![^(]*\))/g,ge=/:([^]+)/,_e=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function ve(e){let t={};return e.replace(_e,e=>e.startsWith(`/*`)?``:e).split(he).forEach(e=>{if(e){let n=e.split(ge);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ye(e){let t=``;if(v(e))t=e;else if(p(e))for(let n=0;n<e.length;n++){let r=ye(e[n]);r&&(t+=r+` `)}else if(b(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}var be=n(`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly`);function xe(e){return!!e||e===``}function Se(e,t,n){if(e.length!==t.length)return!1;let r=!0;for(let i=0;r&&i<e.length;i++)r=Ee(e[i],t[i],n);return r}function Ce(e,t,n){if(e.size!==t.size)return!1;let r=Array.from(t),i=new Uint8Array(r.length);for(let t of e){let e=-1;for(let a=0;a<r.length;a++)if(!i[a]&&Ee(t,r[a],n)){e=a;break}if(e<0)return!1;i[e]=1}return!0}function we(e,t,n){let r=m(e),i=m(t);if(r||i||(r=h(e),i=h(t),r||i))return r&&i?Ce(e,t,n):!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e){let i=e.hasOwnProperty(r),a=t.hasOwnProperty(r);if(i&&!a||!i&&a||!Ee(e[r],t[r],n))return!1}return String(e)===String(t)}function Te(e,t,n,r){n||=[new Map,new Map];let[i,a]=n;if(i.has(e)||a.has(t))return i.get(e)===t&&a.get(t)===e;i.set(e,t),a.set(t,e);let o=r(e,t,n);return i.delete(e),a.delete(t),o}function Ee(e,t,n){if(e===t)return!0;let r=g(e),i=g(t);return r||i?r&&i?e.getTime()===t.getTime():!1:(r=y(e),i=y(t),r||i?e===t:(r=p(e),i=p(t),r||i?r&&i?Te(e,t,n,Se):!1:(r=b(e),i=b(t),r||i?!r||!i?!1:Te(e,t,n,we):String(e)===String(t))))}var De=e=>!!(e&&e.__v_isRef===!0),Oe=e=>v(e)?e:e==null?``:p(e)||b(e)&&(e.toString===S||!_(e.toString))?De(e)?Oe(e.value):JSON.stringify(e,ke,2):String(e),ke=(e,t)=>De(t)?ke(e,t.value):m(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Ae(t,r)+` =>`]=n,e),{})}:h(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Ae(e))}:y(t)?Ae(t):b(t)&&!p(t)&&!ee(t)?String(t):t,Ae=(e,t=``)=>y(e)?`Symbol(${e.description??t})`:e,O,je=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&O&&(O.active?(this.parent=O,this.index=(O.scopes||(O.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].pause()}for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}let n=this.effects.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}}run(e){if(this._active){let t=O;try{return O=this,e()}finally{O=t}}}on(){++this._on===1&&(this.prevScope=O,O=this)}off(){if(this._on>0&&--this._on===0){if(O===this)O=this.prevScope;else{let e=O;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){let e=this.scopes.slice();for(t=0,n=e.length;t<n;t++)e[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};function Me(){return O}var k,Ne=new WeakSet,Pe=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,O&&(O.active?O.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ne.has(this)&&(Ne.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Re(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ze(this),Ve(this);let e=k,t=qe;k=this,qe=!0;try{return this.fn()}finally{He(this),k=e,qe=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Ge(e);this.deps=this.depsTail=void 0,Ze(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ne.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ue(this)&&this.run()}get dirty(){return Ue(this)}},Fe=0,Ie,Le;function Re(e,t=!1){e.flags|=8,t?(e.next=Le,Le=e):(e.next=Ie,Ie=e)}function ze(){Fe++}function Be(){if(--Fe>0)return;if(Le){let e=Le;for(Le=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Ie;){let t=Ie;for(Ie=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function Ve(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function He(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),Ge(r),Ke(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Ue(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(We(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function We(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Qe)||(e.globalVersion=Qe,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ue(e))))return;e.flags|=2;let t=e.dep,n=k,r=qe;k=e,qe=!0;try{Ve(e);let n=e.fn(e._value);(t.version===0||E(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{k=n,qe=r,He(e),e.flags&=-3}}function Ge(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)Ge(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ke(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}var qe=!0,Je=[];function Ye(){Je.push(qe),qe=!1}function Xe(){let e=Je.pop();qe=e===void 0||e}function Ze(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=k;k=void 0;try{t()}finally{k=e}}}var Qe=0,$e=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},et=class{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!k||!qe||k===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==k)t=this.activeLink=new $e(k,this),k.deps?(t.prevDep=k.depsTail,k.depsTail.nextDep=t,k.depsTail=t):k.deps=k.depsTail=t,tt(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=k.depsTail,t.nextDep=void 0,k.depsTail.nextDep=t,k.depsTail=t,k.deps===t&&(k.deps=e)}return t}trigger(e){this.version++,Qe++,this.notify(e)}notify(e){ze();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Be()}}};function tt(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)tt(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var nt=new WeakMap,rt=Symbol(``),it=Symbol(``),at=Symbol(``);function A(e,t,n){if(qe&&k){let t=nt.get(e);t||nt.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new et),r.map=t,r.key=n),r.track()}}function ot(e,t,n,r,i,a){let o=nt.get(e);if(!o){Qe++;return}let s=e=>{e&&e.trigger()};if(ze(),t===`clear`)o.forEach(s);else{let i=p(e),a=i&&te(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===at||!y(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(at)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(rt)),m(e)&&s(o.get(it)));break;case`delete`:i||(s(o.get(rt)),m(e)&&s(o.get(it)));break;case`set`:m(e)&&s(o.get(rt))}}Be()}function st(e){let t=M(e);return t===e||(A(t,`iterate`,at),Kt(e))?t:Gt(e)?Wt(e)?t.map(e=>Yt(N(e))):t.map(Yt):t.map(N)}function ct(e){return A(e=M(e),`iterate`,at),e}function lt(e,t){return Gt(e)?Yt(Wt(e)?N(t):t):N(t)}var ut={__proto__:null,[Symbol.iterator](){return dt(this,Symbol.iterator,e=>lt(this,e))},concat(...e){return st(this).concat(...e.map(e=>p(e)?st(e):e))},entries(){return dt(this,`entries`,e=>(e[1]=lt(this,e[1]),e))},every(e,t){return mt(this,`every`,e,t,void 0,arguments)},filter(e,t){return mt(this,`filter`,e,t,e=>e.map(e=>lt(this,e)),arguments)},find(e,t){return mt(this,`find`,e,t,e=>lt(this,e),arguments)},findIndex(e,t){return mt(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return mt(this,`findLast`,e,t,e=>lt(this,e),arguments)},findLastIndex(e,t){return mt(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return mt(this,`forEach`,e,t,void 0,arguments)},includes(...e){return gt(this,`includes`,e)},indexOf(...e){return gt(this,`indexOf`,e)},join(e){return st(this).join(e)},lastIndexOf(...e){return gt(this,`lastIndexOf`,e)},map(e,t){return mt(this,`map`,e,t,void 0,arguments)},pop(){return _t(this,`pop`)},push(...e){return _t(this,`push`,e)},reduce(e,...t){return ht(this,`reduce`,e,t)},reduceRight(e,...t){return ht(this,`reduceRight`,e,t)},shift(){return _t(this,`shift`)},some(e,t){return mt(this,`some`,e,t,void 0,arguments)},splice(...e){return _t(this,`splice`,e)},toReversed(){return st(this).toReversed()},toSorted(e){return st(this).toSorted(e)},toSpliced(...e){return st(this).toSpliced(...e)},unshift(...e){return _t(this,`unshift`,e)},values(){return dt(this,`values`,e=>lt(this,e))}};function dt(e,t,n){let r=ct(e),i=r[t],a=i.call(r);if(r!==e&&!Kt(e)){if(a[Symbol.toStringTag]===`Array Iterator`){let e=Object.create(Object.getPrototypeOf(a));return e.next=()=>ft(a.next(),n),i!==pt[t]&&Object.defineProperties(e,{return:{get(){let e=a.return;return typeof e==`function`?e.bind(a):e}},throw:{get(){let e=a.throw;return typeof e==`function`?e.bind(a):e}}}),e}a._next=a.next,a.next=()=>ft(a._next(),n)}return a}function ft(e,t){return e.done||(e.value=t(e.value)),e}var pt=Array.prototype;function mt(e,t,n,r,i,a){let o=ct(e),s=o!==e&&!Kt(e),c=o[t];if(c!==pt[t]){let t=c.apply(e,a);return s?N(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,lt(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function ht(e,t,n,r){let i=ct(e),a=i!==e&&!Kt(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=lt(e,t)),n.call(this,t,lt(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?lt(e,c):c}function gt(e,t,n){let r=M(e);A(r,`iterate`,at);let i=r[t](...n);return(i===-1||i===!1)&&qt(n[0])?(n[0]=M(n[0]),r[t](...n)):i}function _t(e,t,n=[]){Ye(),ze();let r=M(e)[t].apply(e,n);return Be(),Xe(),r}var vt=n(`__proto__,__v_isRef,__isVue`),yt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(y));function bt(e){y(e)||(e=String(e));let t=M(this);return A(t,`has`,e),t.hasOwnProperty(e)}var xt=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?zt:Rt:i?Lt:It).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=p(e);if(!r){let e;if(a&&(e=ut[t]))return e;if(t===`hasOwnProperty`)return bt}let o=Reflect.get(e,t,P(e)?e:n);if((y(t)?yt.has(t):vt(t))||(r||A(e,`get`,t),i))return o;if(P(o)){let e=a&&te(t)?o:o.value;return r&&b(e)?Ht(e):e}return b(o)?r?Ht(o):j(o):o}},St=class extends xt{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=p(e)&&te(t);if(!this._isShallow){let e=Gt(i);if(!Kt(n)&&!Gt(n)&&(i=M(i),n=M(n)),!a&&P(i)&&!P(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:f(e,t),s=Reflect.set(e,t,n,P(e)?e:r);return e===M(r)&&s&&(o?E(n,i)&&ot(e,`set`,t,n,i):ot(e,`add`,t,n)),s}deleteProperty(e,t){let n=f(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&ot(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return(!y(t)||!yt.has(t))&&A(e,`has`,t),n}ownKeys(e){return A(e,`iterate`,p(e)?`length`:rt),Reflect.ownKeys(e)}},Ct=class extends xt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},wt=new St,Tt=new Ct,Et=new St(!0),Dt=e=>e,Ot=e=>Reflect.getPrototypeOf(e);function kt(e,t,n){return function(...r){let i=this.__v_raw,a=M(i),o=m(a),s=e===`entries`||e===Symbol.iterator&&o,c=e===`keys`&&o,u=i[e](...r),d=n?Dt:t?Yt:N;return!t&&A(a,`iterate`,c?it:rt),l(Object.create(u),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:s?[d(e[0]),d(e[1])]:d(e),done:t}}})}}function At(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function jt(e,t){let n={get(n){let r=this.__v_raw,i=M(r),a=M(n);e||(E(n,a)&&A(i,`get`,n),A(i,`get`,a));let{has:o}=Ot(i),s=t?Dt:e?Yt:N;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&A(M(t),`iterate`,rt),t.size},has(t){let n=this.__v_raw,r=M(n),i=M(t);return e||(E(t,i)&&A(r,`has`,t),A(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=M(a),s=t?Dt:e?Yt:N;return!e&&A(o,`iterate`,rt),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return l(n,e?{add:At(`add`),set:At(`set`),delete:At(`delete`),clear:At(`clear`)}:{add(e){let n=M(this),r=Ot(n),i=M(e),a=!t&&!Kt(e)&&!Gt(e)?i:e;return r.has.call(n,a)||E(e,a)&&r.has.call(n,e)||E(i,a)&&r.has.call(n,i)||(n.add(a),ot(n,`add`,a,a)),this},set(e,n){!t&&!Kt(n)&&!Gt(n)&&(n=M(n));let r=M(this),{has:i,get:a}=Ot(r),o=i.call(r,e);o||=(e=M(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?E(n,s)&&ot(r,`set`,e,n,s):ot(r,`add`,e,n),this},delete(e){let t=M(this),{has:n,get:r}=Ot(t),i=n.call(t,e);i||=(e=M(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&ot(t,`delete`,e,void 0,a),o},clear(){let e=M(this),t=e.size!==0,n=e.clear();return t&&ot(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=kt(r,e,t)}),n}function Mt(e,t){let n=jt(e,t);return(r,i,a)=>i===`__v_isReactive`?!e:i===`__v_isReadonly`?e:i===`__v_isShallow`?t:i===`__v_raw`?r:Reflect.get(f(n,i)&&i in r?n:r,i,a)}var Nt={get:Mt(!1,!1)},Pt={get:Mt(!1,!0)},Ft={get:Mt(!0,!1)},It=new WeakMap,Lt=new WeakMap,Rt=new WeakMap,zt=new WeakMap;function Bt(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function j(e){return Gt(e)?e:Ut(e,!1,wt,Nt,It)}function Vt(e){return Ut(e,!1,Et,Pt,Lt)}function Ht(e){return Ut(e,!0,Tt,Ft,Rt)}function Ut(e,t,n,r,i){if(!b(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let a=i.get(e);if(a)return a;let o=Bt(w(e));if(o===0)return e;let s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function Wt(e){return Gt(e)?Wt(e.__v_raw):!!(e&&e.__v_isReactive)}function Gt(e){return!!(e&&e.__v_isReadonly)}function Kt(e){return!!(e&&e.__v_isShallow)}function qt(e){return e?!!e.__v_raw:!1}function M(e){let t=e&&e.__v_raw;return t?M(t):e}function Jt(e){return!f(e,`__v_skip`)&&Object.isExtensible(e)&&ue(e,`__v_skip`,!0),e}var N=e=>b(e)?j(e):e,Yt=e=>b(e)?Ht(e):e;function P(e){return e?e.__v_isRef===!0:!1}function F(e){return Xt(e,!1)}function Xt(e,t){return P(e)?e:new Zt(e,t)}var Zt=class{constructor(e,t){this.dep=new et,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:M(e),this._value=t?e:N(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||Kt(e)||Gt(e);e=n?e:M(e),E(e,t)&&(this._rawValue=e,this._value=n?e:N(e),this.dep.trigger())}};function Qt(e){return P(e)?e.value:e}var $t={get:(e,t,n)=>t===`__v_raw`?e:Qt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return P(i)&&!P(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function en(e){return Wt(e)?e:new Proxy(e,$t)}var tn=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new et(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Qe-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&k!==this)return Re(this,!0),!0}get value(){let e=this.dep.track();return We(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function nn(e,t,n=!1){let r,i;return _(e)?r=e:(r=e.get,i=e.set),new tn(r,i,n)}var rn={},an=new WeakMap,on=void 0;function sn(e,t=!1,n=on){if(n){let t=an.get(n);t||an.set(n,t=[]),t.push(e)}}function cn(e,t,n=r){let{immediate:i,deep:o,once:s,scheduler:c,augmentJob:l,call:d}=n,f=e=>o?e:Kt(e)||o===!1||o===0?ln(e,1):ln(e),m,h,g,v,y=!1,b=!1;if(P(e)?(h=()=>e.value,y=Kt(e)):Wt(e)?(h=()=>f(e),y=!0):p(e)?(b=!0,y=e.some(e=>Wt(e)||Kt(e)),h=()=>e.map(e=>{if(P(e))return e.value;if(Wt(e))return f(e);if(_(e))return d?d(e,2):e()})):h=_(e)?t?d?()=>d(e,2):e:()=>{if(g){Ye();try{g()}finally{Xe()}}let t=on;on=m;try{return d?d(e,3,[v]):e(v)}finally{on=t}}:a,t&&o){let e=h,t=o===!0?1/0:o;h=()=>ln(e(),t)}let x=Me(),S=()=>{m.stop(),x&&x.active&&u(x.effects,m)};if(s&&t){let e=t;t=(...t)=>{try{return e(...t)}finally{S()}}}let C=b?Array(e.length).fill(rn):rn,w=e=>{if(m.flags&1&&(m.dirty||e)){if(t){let n=m.run();if(e||o||y||(b?n.some((e,t)=>E(e,C[t])):E(n,C))){let e=on;Ye();try{g&&g(),on=m;let e=[n,C===rn?void 0:b&&C[0]===rn?[]:C,v];C=n,d?d(t,3,e):t(...e)}finally{on=e,Xe()}}}else m.run()}};return l&&l(w),m=new Pe(h),m.scheduler=c?()=>c(w,!1):w,v=e=>sn(e,!1,m),g=m.onStop=()=>{let e=an.get(m);if(e){if(d)d(e,4);else for(let t of e)t();an.delete(m)}},t?i?w(!0):C=m.run():c?c(w.bind(null,!0),!0):m.run(),S.pause=m.pause.bind(m),S.resume=m.resume.bind(m),S.stop=S,S}function ln(e,t=1/0,n){if(t<=0||!b(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,P(e))ln(e.value,t,n);else if(p(e))for(let r=0;r<e.length;r++)ln(e[r],t,n);else if(h(e)||m(e))e.forEach(e=>{ln(e,t,n)});else if(ee(e)){for(let r in e)ln(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&ln(e[r],t,n)}return e}function un(e,t,n,r){try{return r?e(...r):e()}catch(e){fn(e,t,n)}}function dn(e,t,n,r){if(_(e)){let i=un(e,t,n,r);return i&&x(i)&&i.catch(e=>{fn(e,t,n)}),i}if(p(e)){let i=[];for(let a=0;a<e.length;a++)i.push(dn(e[a],t,n,r));return i}}function fn(e,t,n,i=!0){let a=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||r;if(t){let r=t.parent,i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){let t=r.ec;if(t){for(let n=0;n<t.length;n++)if(t[n](e,i,a)===!1)return}r=r.parent}if(o){Ye(),un(o,null,10,[e,i,a]),Xe();return}}pn(e,n,a,i,s)}function pn(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var I=[],mn=-1,hn=[],gn=null,_n=0,vn=Promise.resolve(),yn=null;function bn(e){let t=yn||vn;return e?t.then(this?e.bind(this):e):t}function xn(e){let t=mn+1,n=I.length;for(;t<n;){let r=t+n>>>1,i=I[r],a=kn(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function Sn(e){if(!(e.flags&1)){let t=kn(e),n=I[I.length-1];!n||!(e.flags&2)&&t>=kn(n)?I.push(e):I.splice(xn(t),0,e),e.flags|=1,Cn()}}function Cn(){yn||=vn.then(An)}function wn(e){if(!p(e))gn&&e.id===-1?gn.splice(_n+1,0,e):e.flags&1||(hn.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)hn.push(e[t]);Cn()}function Tn(e,t,n,r=mn+1){for(;r<I.length;r++){let n=I[r];if(n&&n.flags&2){if(e&&n.id!==e.uid||t!==void 0&&!(n.id>=t))continue;I.splice(r,1),r=e?r-1:mn,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function En(e,t,n=0){if(hn.length){let e=hn,r=0;if(t){e=[];for(let i=0;i<hn.length;i++){let a=hn[i];(a.i===void 0?t.has(a):!a.i||a.i.uid<n)?hn[r++]=a:e.push(a)}}let i=[...new Set(e)].sort((e,t)=>kn(e)-kn(t));if(hn.length=r,gn){for(let e=0;e<i.length;e++)gn.push(i[e]);return}for(gn=i,_n=0;_n<gn.length;_n++){let e=gn[_n];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}gn=null,_n=0}}var Dn=!1;function On(e,t){if(Dn){e();return}let n=t===void 0?void 0:new Set(hn);e(),Dn=!0;try{Tn(void 0,t),En(void 0,n,t)}finally{Dn=!1}}var kn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function An(e){try{for(mn=0;mn<I.length;mn++){let e=I[mn];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),un(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;mn<I.length;mn++){let e=I[mn];e&&(e.flags&=-2)}mn=-1,I.length=0,En(e),yn=null,(I.length||hn.length)&&An(e)}}var L=null,jn=null;function Mn(e){let t=L;return L=e,jn=e&&e.type.__scopeId||null,t}function Nn(e,t=L,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&ha(-1);let i=Mn(t),a=fa.length,o;try{o=e(...n)}finally{for(let e=fa.length;e>a;e--)pa();Mn(i),r._d&&ha(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Pn(e,t){if(L===null)return e;let n=Xa(L),i=e.dirs||=[];for(let e=0;e<t.length;e++){let[a,o,s,c=r]=t[e];a&&(_(a)&&(a={mounted:a,updated:a}),a.deep&&ln(o),i.push({dir:a,instance:n,value:o,oldValue:void 0,arg:s,modifiers:c}))}return e}function Fn(e,t,n,r){let i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){let s=i[o];a&&(s.oldValue=a[o].value);let c=s.dir[r];c&&(Ye(),dn(c,n,8,[e.el,s,e,t]),Xe())}}function In(e,t){if(q){let n=q.provides,r=q.parent&&q.parent.provides;r===n&&(n=q.provides=Object.create(r)),n[e]=t}}function Ln(e,t,n=!1){let r=La();if(r||bi){let i=bi?bi._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&_(t)?t.call(r&&r.proxy):t}}var Rn=Symbol.for(`v-scx`),zn=()=>Ln(Rn);function Bn(e,t,n){return Vn(e,t,n)}function Vn(e,t,n=r){let{immediate:i,deep:o,flush:s,once:c}=n,u=l({},n),d=t&&i||!t&&s!==`post`,f;if(Ua){if(s===`sync`){let e=zn();f=e.__watcherHandles||=[]}else if(!d){let e=()=>{};return e.stop=a,e.resume=a,e.pause=a,e}}let p=q;u.call=(e,t,n)=>dn(e,p,t,n);let m=!1;s===`post`?u.scheduler=e=>{e.i=p,z(e,p&&p.suspense)}:s!==`sync`&&(m=!0,u.scheduler=(e,t)=>{t?e():Sn(e)}),u.augmentJob=e=>{t&&(e.flags|=4),m&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};let h=cn(e,t,u);return Ua&&(f?f.push(h):d&&h()),h}function Hn(e,t,n){let r=this.proxy,i=v(e)?e.includes(`.`)?Un(r,e):()=>r[e]:e.bind(r,r),a;_(t)?a=t:(a=t.handler,n=t);let o=Ba(this),s=Vn(i,a.bind(r),n);return o(),s}function Un(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}var Wn=new WeakMap,Gn=Symbol(`_vte`),Kn=e=>e.__isTeleport,qn=e=>e&&(e.disabled||e.disabled===``),Jn=e=>e&&(e.defer||e.defer===``),Yn=e=>typeof SVGElement<`u`&&e instanceof SVGElement,Xn=e=>typeof MathMLElement==`function`&&e instanceof MathMLElement,Zn=(e,t)=>{let n=e&&e.to;return v(n)?t?t(n):null:n},Qn={name:`Teleport`,__isTeleport:!0,process(e,t,n,r,i,a,o,s,c,l){let{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:m,createText:h,createComment:g,parentNode:_}}=l,v=qn(t.props),{dynamicChildren:y}=t,b=(e,t,n)=>{e.shapeFlag&16&&u(e.children,t,n,i,a,o,s,c)},x=(e=t)=>{let n=qn(e.props),r=e.target=Zn(e.props,m),a=rr(r,e,h,p);r&&(o!==`svg`&&Yn(r)?o=`svg`:o!==`mathml`&&Xn(r)&&(o=`mathml`),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(r),n||(b(e,r,a),nr(e,!1)))},S=e=>{let t=()=>{if(Wn.get(e)===t){if(Wn.delete(e),qn(e.props)){let t=_(e.el)||n;b(e,t,e.anchor),nr(e,!0)}x(e)}};Wn.set(e,t),z(t,a)};if(e==null){let e=t.el=h(``),i=t.anchor=h(``);if(p(e,n,r),p(i,n,r),Jn(t.props)||a&&a.pendingBranch){S(t);return}v&&(b(t,n,i),nr(t,!0)),x()}else{t.el=e.el;let r=t.anchor=e.anchor,u=Wn.get(e);if(u){u.flags|=8,Wn.delete(e),S(t);return}t.targetStart=e.targetStart;let p=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=qn(e.props),_=g?n:p,b=g?r:h;if(o===`svg`||Yn(p)?o=`svg`:(o===`mathml`||Xn(p))&&(o=`mathml`),y?(f(e.dynamicChildren,y,_,i,a,o,s),ra(e,t,!0)):c||d(e,t,_,b,i,a,o,s,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):$n(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=Zn(t.props,m);e&&(t.target=e,$n(t,e,null,l,0))}else g&&$n(t,p,h,l,1);nr(t,v)}},remove(e,t,n,{um:r,o:{remove:i}},a){let{shapeFlag:o,children:s,anchor:c,targetStart:l,targetAnchor:u,target:d,props:f}=e,p=qn(f),m=a||!p,h=Wn.get(e);if(h&&(h.flags|=8,Wn.delete(e)),d&&(i(l),i(u)),a&&i(c),!h&&(p||d)&&o&16)for(let e=0;e<s.length;e++){let i=s[e];r(i,t,n,m,!!i.dynamicChildren)}},move:$n,hydrate:er};function $n(e,t,n,{o:{insert:r},m:i},a=2){a===0&&(e.targetStart&&r(e.targetStart,t,n),r(e.targetAnchor,t,n),n=e.targetAnchor);let{el:o,anchor:s,shapeFlag:c,children:l,props:u}=e,d=a===2;if(d&&r(o,t,n),!Wn.has(e)&&(!d||qn(u))&&c&16)for(let e=0;e<l.length;e++)i(l[e],t,n,2);d&&r(s,t,n)}function er(e,t,n,r,i,a,{o:{nextSibling:o,parentNode:s,querySelector:c,insert:l,createText:u}},d){function f(e,n){let r=n;for(;r;){if(r&&r.nodeType===8){if(r.data===`teleport start anchor`)t.targetStart=r;else if(r.data===`teleport anchor`){t.targetAnchor=r,e._lpa=t.targetAnchor&&o(t.targetAnchor);break}}r=o(r)}}function p(e,t){t.anchor=d(o(e),t,s(e),n,r,i,a)}let m=t.target=Zn(t.props,c),h=qn(t.props);if(m){let c=m._lpa||m.firstChild;t.shapeFlag&16&&(h?(p(e,t),f(m,c),t.targetAnchor||rr(m,t,u,l,s(e)===m?e:null)):(t.anchor=o(e),f(m,c),t.targetAnchor||rr(m,t,u,l),d(c&&o(c),t,m,n,r,i,a))),nr(t,h)}else h&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}var tr=Qn;function nr(e,t){let n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute(`data-v-owner`,n.uid),r=r.nextSibling;n.ut()}}function rr(e,t,n,r,i=null){let a=t.targetStart=n(``),o=t.targetAnchor=n(``);return a[Gn]=o,e&&(r(a,e,i),r(o,e,i)),o}var ir=Symbol(`_leaveCb`),ar=Symbol(`_enterCb`);function or(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Pr(()=>{e.isMounted=!0}),Lr(()=>{e.isUnmounting=!0}),e}var sr=[Function,Array],cr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:sr,onEnter:sr,onAfterEnter:sr,onEnterCancelled:sr,onBeforeLeave:sr,onLeave:sr,onAfterLeave:sr,onLeaveCancelled:sr,onBeforeAppear:sr,onAppear:sr,onAfterAppear:sr,onAppearCancelled:sr},lr={name:`BaseTransition`,props:cr,setup(e,{slots:t}){let n=La(),r=or();return()=>{let i=t.default&&_r(t.default(),!0),a=i&&i.length?ur(i):n.subTree?Da():void 0;if(!a)return;let o=M(e),{mode:s}=o;if(r.isLeaving)return mr(a);let c=hr(a);if(!c)return mr(a);let l=pr(c,o,r,n,e=>l=e);c.type!==V&&gr(c,l);let u=n.subTree&&hr(n.subTree);if(u&&u.type!==V&&!ya(u,c)&&vr(n.subTree)){let e=pr(u,o,r,n);if(gr(u,e),s===`out-in`&&c.type!==V)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete e.afterLeave,u=void 0},mr(a);s===`in-out`&&c.type!==V?e.delayLeave=(e,t,n)=>{let i=fr(r,u);i[String(u.key)]=u,e[ir]=()=>{t(),e[ir]=void 0,delete l.delayedLeave,u=void 0},l.delayedLeave=()=>{n(),delete l.delayedLeave,u=void 0}}:u=void 0}else u&&=void 0;return a}}};function ur(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==V){t=n;break}}return t}var dr=lr;function fr(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function pr(e,t,n,r,i){let{appear:a,mode:o,persisted:s=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:m,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:_,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,x=String(e.key),S=fr(n,e),C=(e,t)=>{e&&dn(e,r,9,t)},w=(e,t)=>{let n=t[1];C(e,t),p(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},ee={mode:o,persisted:s,beforeEnter(t){let r=c;if(!n.isMounted){if(a)r=_||c;else return}t[ir]&&t[ir](!0);let i=S[x];if(i&&ya(e,i)){let e=i.el[ir];if(!e){let t=vr(i);e=t&&t.el[ir]}e&&e()}C(r,[t])},enter(t){if(S[x]===e)return;let r=l,i=u,o=d;if(!n.isMounted){if(a)r=v||l,i=y||u,o=b||d;else return}let s=!1;t[ar]=e=>{s||(s=!0,C(e?o:i,[t]),ee.delayedLeave&&ee.delayedLeave(),t[ar]=void 0)};let c=t[ar].bind(null,!1);r?w(r,[t,c]):c()},leave(t,r){let i=String(e.key);if(t[ar]&&t[ar](!0),n.isUnmounting)return r();C(f,[t]);let a=!1;t[ir]=n=>{a||(a=!0,r(),C(n?g:h,[t]),t[ir]=void 0,S[i]===e&&delete S[i])};let o=t[ir].bind(null,!1);S[i]=e,m?w(m,[t,o]):o()},clone(e){let a=pr(e,t,n,r,i);return i&&i(a),a}};return ee}function mr(e){if(Er(e))return e=wa(e),e.children=null,e}function hr(e){if(!Er(e))return Kn(e.type)&&e.children?ur(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&_(n.default))return n.default()}}function gr(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;let n=e.component.subTree;gr(Kn(n.type)&&hr(n)||n,t)}else if(e.shapeFlag&128)e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback);else if(e.transition=t,e.type===B&&p(e.children)){let n=Di(e.children,!1);n&&gr(n,t)}}function _r(e,t=!1,n){let r=[],i=0;for(let a=0;a<e.length;a++){let o=e[a],s=n==null?o.key:String(n)+String(o.key==null?a:o.key);o.type===B?(o.patchFlag&128&&i++,r=r.concat(_r(o.children,t,s))):(t||o.type!==V)&&r.push(s==null?o:wa(o,{key:s}))}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function vr(e){if(e.component)return vr(e.component.subTree);if(e.type===B){let t=p(e.children)&&Di(e.children,!1);return t?vr(t):void 0}if(e.type!==V)return e}function yr(e,t){return _(e)?l({name:e.name},t,{setup:e}):e}function br(e){e.ids=[e.ids[0]+e.ids[2]+++`-`,0,0]}function xr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var Sr=new WeakMap;function Cr(e,t,n,i,a=!1){if(p(e)){e.forEach((e,r)=>Cr(e,t&&(p(t)?t[r]:t),n,i,a));return}if(Tr(i)&&!a){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&Cr(e,t,n,i.component.subTree);return}let s=i.shapeFlag&4?Xa(i.component):i.el,c=a?null:s,{i:l,r:d}=e,m=t&&t.r,h=l.refs===r?l.refs={}:l.refs,g=l.setupState,y=M(g),b=g===r?o:e=>!xr(h,e)&&f(y,e),x=(e,t)=>!(t&&xr(h,t));if(m!=null&&m!==d){if(wr(t),v(m))h[m]=null,b(m)&&(g[m]=null);else if(P(m)){let e=t;x(m,e.k)&&(m.value=null),e.k&&(h[e.k]=null)}}if(_(d))un(d,l,12,[c,h]);else{let t=v(d),r=P(d);if(t||r){let i=()=>{if(e.f){let n=t?b(d)?g[d]:h[d]:x(d)||!e.k?d.value:h[e.k];if(a)p(n)&&u(n,s);else if(p(n))n.includes(s)||n.push(s);else if(t)h[d]=[s],b(d)&&(g[d]=h[d]);else{let t=[s];x(d,e.k)&&(d.value=t),e.k&&(h[e.k]=t)}}else t?(h[d]=c,b(d)&&(g[d]=c)):r&&(x(d,e.k)&&(d.value=c),e.k&&(h[e.k]=c))};if(c){let t=()=>{i(),Sr.delete(e)};t.id=-1,Sr.set(e,t),z(t,n)}else wr(e),i()}}}function wr(e){let t=Sr.get(e);t&&(t.flags|=8,Sr.delete(e))}me().requestIdleCallback,me().cancelIdleCallback;var Tr=e=>!!e.type.__asyncLoader,Er=e=>e.type.__isKeepAlive;function Dr(e,t){kr(e,`a`,t)}function Or(e,t){kr(e,`da`,t)}function kr(e,t,n=q){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(jr(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Er(e.parent.vnode)&&Ar(r,t,n,e),e=e.parent}}function Ar(e,t,n,r){let i=jr(t,e,r,!0);Rr(()=>{u(r[t],i)},n)}function jr(e,t,n=q,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{Ye();let i=Ba(n),a=dn(t,n,e,r);return i(),Xe(),a};return r?i.unshift(a):i.push(a),a}}var Mr=e=>(t,n=q)=>{(!Ua||e===`sp`)&&jr(e,(...e)=>t(...e),n)},Nr=Mr(`bm`),Pr=Mr(`m`),Fr=Mr(`bu`),Ir=Mr(`u`),Lr=Mr(`bum`),Rr=Mr(`um`),zr=Mr(`sp`),Br=Mr(`rtg`),Vr=Mr(`rtc`);function Hr(e,t=q){jr(`ec`,e,t)}var Ur=`components`;function Wr(e,t){return qr(Ur,e,!0,t)||e}var Gr=Symbol.for(`v-ndc`);function Kr(e){return v(e)?qr(Ur,e,!1)||e:e||Gr}function qr(e,t,n=!0,r=!1){let i=L||q;if(i){let n=i.type;if(e===Ur){let e=Za(n,!1);if(e&&(e===t||e===T(t)||e===se(T(t))))return n}let a=Jr(i[e]||n[e],t)||Jr(i.appContext[e],t);return!a&&r?n:a}}function Jr(e,t){return e&&(e[t]||e[T(t)]||e[se(T(t))])}function Yr(e,t,n,r){let i,a=n&&n[r],o=p(e);if(o||v(e)){let n=o&&Wt(e),r=!1,s=!1;n&&(r=!Kt(e),s=Gt(e),e=ct(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?Yt(N(e[n])):N(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){if(!Number.isInteger(e)||e<0)i=[];else{i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}}else if(b(e)){if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r<o;r++){let o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}}else i=[];return n&&(n[r]=i),i}function Xr(e,t,n,r,i,a){if(n??={},L.ce||L.parent&&Tr(L.parent)&&L.parent.ce){let e=a!=null&&n.key==null?l({},n,{key:a}):n,i=Object.keys(e).length>0;return t!=="default"&&(e.name=t),U(),_a(B,null,[K(`slot`,e,r&&r())],i?-2:64)}let o=e[t];o&&o._c&&(o._d=!1);let s=fa.length;U();let c;try{let i=o&&Zr(o(n)),s=n.key||a||i&&i.key;c=_a(B,{key:(s&&!y(s)?s:`_${t}`)+(!i&&r?`_fb`:``)},i||(r?r():[]),i&&e._===1?64:-2)}catch(e){for(let e=fa.length;e>s;e--)pa();throw e}finally{o&&o._c&&(o._d=!0)}return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+`-s`]),c}function Zr(e){return e.some(e=>!va(e)||!(e.type===V||e.type===B&&!Zr(e.children)))?e:null}var Qr=e=>e?Ha(e)?Xa(e):Qr(e.parent):null,$r=l(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Qr(e.parent),$root:e=>Qr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ci(e),$forceUpdate:e=>e.f||=()=>{Sn(e.update)},$nextTick:e=>e.n||=bn.bind(e.proxy),$watch:e=>Hn.bind(e)}),ei=(e,t)=>e!==r&&!e.__isScriptSetup&&f(e,t),ti={get({_:e},t){if(t===`__v_skip`)return!0;let{ctx:n,setupState:i,data:a,props:o,accessCache:s,type:c,appContext:l}=e;if(t[0]!==`$`){let e=s[t];if(e!==void 0)switch(e){case 1:return i[t];case 2:return a[t];case 4:return n[t];case 3:return o[t]}else if(ei(i,t))return s[t]=1,i[t];else if(a!==r&&f(a,t))return s[t]=2,a[t];else if(f(o,t))return s[t]=3,o[t];else if(n!==r&&f(n,t))return s[t]=4,n[t];else ri&&(s[t]=0)}let u=$r[t],d,p;if(u)return t===`$attrs`&&A(e.attrs,`get`,``),u(e);if((d=c.__cssModules)&&(d=d[t]))return d;if(n!==r&&f(n,t))return s[t]=4,n[t];if(p=l.config.globalProperties,f(p,t))return p[t]},set({_:e},t,n){let{data:i,setupState:a,ctx:o}=e;return ei(a,t)?(a[t]=n,!0):i!==r&&f(i,t)?(i[t]=n,!0):f(e.props,t)||t[0]===`$`&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:a,props:o,type:s}},c){let l;return!!(n[c]||e!==r&&c[0]!==`$`&&f(e,c)||ei(t,c)||f(o,c)||f(i,c)||f($r,c)||f(a.config.globalProperties,c)||(l=s.__cssModules)&&l[c])},defineProperty(e,t,n){return n.get==null?f(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}};function ni(e){return p(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}var ri=!0;function ii(e){let t=ci(e),n=e.proxy,r=e.ctx;ri=!1,t.beforeCreate&&oi(t.beforeCreate,e,`bc`);let{data:i,computed:o,methods:s,watch:c,provide:l,inject:u,created:d,beforeMount:f,mounted:m,beforeUpdate:h,updated:g,activated:v,deactivated:y,beforeDestroy:x,beforeUnmount:S,destroyed:C,unmounted:w,render:ee,renderTracked:te,renderTriggered:ne,errorCaptured:re,serverPrefetch:ie,expose:T,inheritAttrs:ae,components:oe,directives:se,filters:ce}=t;if(u&&ai(u,r,null),s)for(let e in s){let t=s[e];_(t)&&(r[e]=t.bind(n))}if(i){let t=i.call(n,n);b(t)&&(e.data=j(t))}if(ri=!0,o)for(let e in o){let t=o[e],i=$a({get:_(t)?t.bind(n,n):_(t.get)?t.get.bind(n,n):a,set:!_(t)&&_(t.set)?t.set.bind(n):a});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e})}if(c)for(let e in c)si(c[e],r,n,e);if(l){let e=_(l)?l.call(n):l;Reflect.ownKeys(e).forEach(t=>{In(t,e[t])})}d&&oi(d,e,`c`);function E(e,t){p(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(E(Nr,f),E(Pr,m),E(Fr,h),E(Ir,g),E(Dr,v),E(Or,y),E(Hr,re),E(Vr,te),E(Br,ne),E(Lr,S),E(Rr,w),E(zr,ie),p(T)){if(T.length){let t=e.exposed||={};T.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={}}ee&&e.render===a&&(e.render=ee),ae!=null&&(e.inheritAttrs=ae),oe&&(e.components=oe),se&&(e.directives=se),ie&&br(e)}function ai(e,t,n=a){p(e)&&(e=pi(e));for(let n in e){let r=e[n],i;i=b(r)?`default`in r?Ln(r.from||n,r.default,!0):Ln(r.from||n):Ln(r),P(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function oi(e,t,n){dn(p(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function si(e,t,n,r){let i=r.includes(`.`)?Un(n,r):()=>n[r];if(v(e)){let n=t[e];_(n)&&Bn(i,n)}else if(_(e))Bn(i,e.bind(n));else if(b(e)){if(p(e))e.forEach(e=>si(e,t,n,r));else{let r=_(e.handler)?e.handler.bind(n):t[e.handler];_(r)&&Bn(i,r,e)}}}function ci(e){let t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),c;return s?c=s:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(e=>li(c,e,o,!0)),li(c,t,o)),b(t)&&a.set(t,c),c}function li(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&li(e,a,n,!0),i&&i.forEach(t=>li(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=ui[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var ui={data:di,props:hi,emits:hi,methods:mi,computed:mi,beforeCreate:R,created:R,beforeMount:R,mounted:R,beforeUpdate:R,updated:R,beforeDestroy:R,beforeUnmount:R,destroyed:R,unmounted:R,activated:R,deactivated:R,errorCaptured:R,serverPrefetch:R,components:mi,directives:mi,watch:gi,provide:di,inject:fi};function di(e,t){return t?e?function(){return l(_(e)?e.call(this,this):e,_(t)?t.call(this,this):t)}:t:e}function fi(e,t){return mi(pi(e),pi(t))}function pi(e){if(p(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function R(e,t){return e?[...new Set([].concat(e,t))]:t}function mi(e,t){return e?l(Object.create(null),e,t):t}function hi(e,t){return e?p(e)&&p(t)?[...new Set([...e,...t])]:l(Object.create(null),ni(e),ni(t??{})):t}function gi(e,t){if(!e)return t;if(!t)return e;let n=l(Object.create(null),e);for(let r in t)n[r]=R(e[r],t[r]);return n}function _i(){return{app:null,config:{isNativeTag:o,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}var vi=0;function yi(e,t){return function(n,r=null){_(n)||(n=l({},n)),r!=null&&!b(r)&&(r=null);let i=_i(),a=new WeakSet,o=[],s=!1,c=i.app={_uid:vi++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:to,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&_(e.install)?(a.add(e),e.install(c,...t)):_(e)&&(a.add(e),e(c,...t))),c},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),c},component(e,t){return t?(i.components[e]=t,c):i.components[e]},directive(e,t){return t?(i.directives[e]=t,c):i.directives[e]},mount(a,o,l){if(!s){let u=c._ceVNode||K(n,r);return u.appContext=i,l===!0?l=`svg`:l===!1&&(l=void 0),o&&t?t(u,a):e(u,a,l),s=!0,c._container=a,a.__vue_app__=c,Xa(u.component)}},onUnmount(e){o.push(e)},unmount(){s&&(dn(o,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(e,t){return i.provides[e]=t,c},runWithContext(e){let t=bi;bi=c;try{return e()}finally{bi=t}}};return c}}var bi=null,xi=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${T(t)}Modifiers`]||e[`${oe(t)}Modifiers`];function Si(e,t,...n){if(e.isUnmounted)return;let i=e.vnode.props||r,a=n,o=t.startsWith(`update:`),s=o&&xi(i,t.slice(7));s&&(s.trim&&(a=n.map(e=>v(e)?e.trim():e)),s.number&&(a=a.map(de)));let c,l=i[c=ce(t)]||i[c=ce(T(t))];!l&&o&&(l=i[c=ce(oe(t))]),l&&dn(l,e,6,a);let u=i[c+`Once`];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,dn(u,e,6,a)}}var Ci=new WeakMap;function wi(e,t,n=!1){let r=n?Ci:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},s=!1;if(!_(e)){let r=e=>{let n=wi(e,t,!0);n&&(s=!0,l(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!s?(b(e)&&r.set(e,null),null):(p(a)?a.forEach(e=>o[e]=null):l(o,a),b(e)&&r.set(e,o),o)}function Ti(e,t){return!e||!s(t)?!1:(t=t.slice(2),t=t===`Once`?t:t.replace(/Once$/,``),f(e,t[0].toLowerCase()+t.slice(1))||f(e,oe(t))||f(e,t))}function Ei(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:o,attrs:s,emit:l,render:u,renderCache:d,props:f,data:p,setupState:m,ctx:h,inheritAttrs:g}=e,_=Mn(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=Oa(u.call(t,e,d,f,m,p,h)),y=s}else{let e=t;v=Oa(e.length>1?e(f,{attrs:s,slots:o,emit:l}):e(f,null)),y=t.props?s:Oi(s)}}catch(t){fa.length=0,fn(t,e,1),v=K(V)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(c)&&(y=ki(y,a)),b=wa(b,y,!1,!0))}return n.dirs&&(b=wa(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&gr(Kn(b.type)&&hr(b)||b,n.transition),v=b,Mn(_),v}function Di(e,t=!0){let n;for(let t=0;t<e.length;t++){let r=e[t];if(va(r)){if(r.type!==V||r.children===`v-if`){if(n)return;n=r}}else return}return n}var Oi=e=>{let t;for(let n in e)(n===`class`||n===`style`||s(n))&&((t||={})[n]=e[n]);return t},ki=(e,t)=>{let n={};for(let r in e)(!c(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ai(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?ji(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(Mi(o,r,n)&&!Ti(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?!o||ji(r,o,l):!!o;return!1}function ji(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(!f(e,a)||Mi(t,e,a)&&!Ti(n,a))return!0}return!1}function Mi(e,t,n){let r=e[n],i=t[n];return n===`style`&&b(r)&&b(i)?!Ee(r,i):r!==i}function Ni({vnode:e,parent:t,suspense:n},r){for(;t;){let n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}var Pi={},Fi=()=>Object.create(Pi),Ii=e=>Object.getPrototypeOf(e)===Pi;function Li(e,t,n,r=!1){let i={},a=Fi();e.propsDefaults=Object.create(null),zi(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);e.props=n?r?i:Vt(i):e.type.props?i:a,e.attrs=a}function Ri(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=M(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(Ti(e.emitsOptions,o))continue;let u=t[o];if(c){if(f(a,o))u!==a[o]&&(a[o]=u,l=!0);else{let t=T(o);i[t]=Bi(c,s,t,u,e,!1)}}else u!==a[o]&&(a[o]=u,l=!0)}}}else{zi(e,t,i,a)&&(l=!0);let r;for(let a in s)(!t||!f(t,a)&&((r=oe(a))===a||!f(t,r)))&&(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=Bi(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)(!t||!f(t,e))&&(delete a[e],l=!0)}l&&ot(e.attrs,`set`,``)}function zi(e,t,n,i){let[a,o]=e.propsOptions,s=!1,c;if(t)for(let r in t){if(ne(r))continue;let l=t[r],u;a&&f(a,u=T(r))?!o||!o.includes(u)?n[u]=l:(c||={})[u]=l:Ti(e.emitsOptions,r)||(!(r in i)||l!==i[r])&&(i[r]=l,s=!0)}if(o){let t=M(n),i=c||r;for(let r=0;r<o.length;r++){let s=o[r];n[s]=Bi(a,t,s,i[s],e,!f(i,s))}}return s}function Bi(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=f(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&_(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=Ba(i);r=a[n]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(n,r)}o[0]&&(a&&!e?r=!1:o[1]&&(r===``||r===oe(n))&&(r=!0))}return r}var Vi=new WeakMap;function Hi(e,t,n=!1){let a=n?Vi:t.propsCache,o=a.get(e);if(o)return o;let s=e.props,c={},u=[],d=!1;if(!_(e)){let r=e=>{d=!0;let[n,r]=Hi(e,t,!0);l(c,n),r&&u.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!s&&!d)return b(e)&&a.set(e,i),i;if(p(s))for(let e=0;e<s.length;e++){let t=T(s[e]);Ui(t)&&(c[t]=r)}else if(s)for(let e in s){let t=T(e);if(Ui(t)){let n=s[e],r=c[t]=p(n)||_(n)?{type:n}:l({},n),i=r.type,a=!1,o=!0;if(p(i))for(let e=0;e<i.length;++e){let t=i[e],n=_(t)&&t.name;if(n===`Boolean`){a=!0;break}n===`String`&&(o=!1)}else a=_(i)&&i.name===`Boolean`;r[0]=a,r[1]=o,(a||f(r,`default`))&&u.push(t)}}let m=[c,u];return b(e)&&a.set(e,m),m}function Ui(e){return e[0]!==`$`&&!ne(e)}var Wi=e=>e===`_`||e===`_ctx`||e===`$stable`,Gi=e=>p(e)?e.map(Oa):[Oa(e)],Ki=(e,t,n)=>{if(t._n)return t;let r=Nn((...e)=>Gi(t(...e)),n);return r._c=!1,r},qi=(e,t,n)=>{let r=e._ctx;for(let n in e){if(Wi(n))continue;let i=e[n];if(_(i))t[n]=Ki(n,i,r);else if(i!=null){let e=Gi(i);t[n]=()=>e}}},Ji=(e,t)=>{let n=Gi(t);e.slots.default=()=>n},Yi=(e,t,n)=>{for(let r in t)(n||!Wi(r))&&(e[r]=t[r])},Xi=(e,t,n)=>{let r=e.slots=Fi();if(e.vnode.shapeFlag&32){let e=t._;e?(Yi(r,t,n),n&&ue(r,`_`,e,!0)):qi(t,r)}else t&&Ji(e,t)},Zi=(e,t,n)=>{let{vnode:i,slots:a}=e,o=!0,s=r;if(i.shapeFlag&32){let e=t._;e?n&&e===1?o=!1:Yi(a,t,n):(o=!t.$stable,qi(t,a)),s=t}else t&&(Ji(e,t),s={default:1});if(o)for(let e in a)!Wi(e)&&s[e]==null&&delete a[e]},z=la;function Qi(e){return $i(e)}function $i(e,t){let n=me();n.__VUE__=!0;let{insert:o,remove:s,patchProp:c,createElement:l,createText:u,createComment:d,setText:f,setElementText:p,parentNode:m,nextSibling:h,setScopeId:g=a,insertStaticContent:_}=e,v=(e,t,n,r=null,a=null,o=null,s=void 0,c=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!ya(e,t)&&(r=xe(e),ge(e,a,o,!0),e=null),t.patchFlag===-2&&(l=!1,t.dynamicChildren=null),t.dynamicChildren&&e&&e.dynamicChildren&&e.dynamicChildren.hasOnce&&(t.dynamicChildren===i&&(t.dynamicChildren=[]),t.dynamicChildren.hasOnce=!0);let{type:u,ref:d,shapeFlag:f}=t;switch(u){case ua:y(e,t,n,r);break;case V:b(e,t,n,r);break;case da:e??x(t,n,r,s);break;case B:oe(e,t,n,r,a,o,s,c,l);break;default:f&1?w(e,t,n,r,a,o,s,c,l):f&6?se(e,t,n,r,a,o,s,c,l):(f&64||f&128)&&u.process(e,t,n,r,a,o,s,c,l,Ce)}d!=null&&a?Cr(d,e&&e.ref,o,t||e,!t):d==null&&e&&e.ref!=null&&Cr(e.ref,null,o,e,!0)},y=(e,t,n,r)=>{if(e==null)o(t.el=u(t.children),n,r);else{let n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},b=(e,t,n,r)=>{e==null?o(t.el=d(t.children||``),n,r):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=_(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,r)=>{let i;for(;e&&e!==t;)i=h(e),o(e,n,r),e=i;o(t,n,r)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),s(e),e=n;s(t)},w=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)ee(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),ie(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},ee=(e,t,n,r,i,a,s,u)=>{let d,f,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(d=e.el=l(e.type,a,m&&m.is,m),h&8?p(d,e.children):h&16&&re(e.children,d,null,r,i,ea(e,a),s,u),_&&Fn(e,null,r,`created`),te(d,e,e.scopeId,s,r),m){for(let e in m)e!==`value`&&!ne(e)&&c(d,e,null,m[e],a,r);`value`in m&&c(d,`value`,null,m.value,a),(f=m.onVnodeBeforeMount)&&Ma(f,r,e)}_&&Fn(e,null,r,`beforeMount`);let v=na(i,g);v&&g.beforeEnter(d),o(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&z(()=>{try{f&&Ma(f,r,e),v&&g.enter(d),_&&Fn(e,null,r,`mounted`)}finally{}},i)},te=(e,t,n,r,i)=>{if(n&&g(e,n),r)for(let t=0;t<r.length;t++)g(e,r[t]);if(i){let n=i.subTree;if(t===n||ca(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;te(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},re=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++){let c=e[l]=s?ka(e[l]):Oa(e[l]);v(null,c,t,n,r,i,a,o,s)}},ie=(e,t,n,i,a,o,s)=>{let l=t.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:f}=t;u|=e.patchFlag&16;let m=e.props||r,h=t.props||r,g;if(n&&ta(n,!1),(g=h.onVnodeBeforeUpdate)&&Ma(g,n,t,e),f&&Fn(t,e,n,`beforeUpdate`),n&&ta(n,!0),d&&(!e.dynamicChildren||e.dynamicChildren.length!==d.length)&&(u=0,s=!1,d=null),(m.innerHTML&&h.innerHTML==null||m.textContent&&h.textContent==null)&&p(l,``),d?T(e.dynamicChildren,d,l,n,i,ea(t,a),o):s||fe(e,t,l,null,n,i,ea(t,a),o,!1),u>0){if(u&16)ae(l,m,h,n,a);else if(u&2&&m.class!==h.class&&c(l,`class`,null,h.class,a),u&4&&c(l,`style`,m.style,h.style,a),u&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let r=e[t],i=m[r],o=h[r];(o!==i||r===`value`)&&c(l,r,i,o,a,n)}}u&1&&e.children!==t.children&&p(l,t.children)}else!s&&d==null&&ae(l,m,h,n,a);((g=h.onVnodeUpdated)||f)&&z(()=>{g&&Ma(g,n,t,e),f&&Fn(t,e,n,`updated`)},i)},T=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s],u=c.el||sa(c),d=u&&(c.type===B||!ya(c,l)||c.shapeFlag&198)?m(u):n;v(c,l,d,null,r,i,a,o,!0)}},ae=(e,t,n,i,a)=>{if(t!==n){if(t!==r)for(let r in t)!ne(r)&&!(r in n)&&c(e,r,t[r],null,a,i);for(let r in n){if(ne(r))continue;let o=n[r],s=t[r];o!==s&&r!==`value`&&c(e,r,s,o,a,i)}`value`in n&&c(e,`value`,t.value,n.value,a)}},oe=(e,t,n,r,i,a,s,c,l)=>{let d=t.el=e?e.el:u(``),f=t.anchor=e?e.anchor:u(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(c=c?c.concat(h):h),e==null?(o(d,n,r),o(f,n,r),re(t.children||[],n,f,i,a,s,c,l)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(T(e.dynamicChildren,m,n,i,a,s,c),(t.key!=null||i&&t===i.subTree)&&ra(e,t,!0)):fe(e,t,n,f,i,a,s,c,l)},se=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):ce(t,n,r,i,a,o,c):E(e,t,c)},ce=(e,t,n,r,i,a,o)=>{let s=e.component=Ia(e,r,i);if(Er(e)&&(s.ctx.renderer=Ce),Wa(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,ue,o,a),!e.el){let r=s.subTree=K(V);b(null,r,t,n),e.placeholder=r.el}}else ue(s,e,t,n,i,a,o)},E=(e,t,n)=>{let r=t.component=e.component;if(Ai(e,t,n)){if(r.asyncDep&&!r.asyncResolved){t.el=e.el,t.placeholder=e.placeholder,de(r,t,n);return}r.next=t,r.update()}else t.el=e.el,t.placeholder=e.placeholder,r.vnode=t},ue=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=aa(e);if(n){t&&(t.el=c.el,de(e,t,o)),n.asyncDep.then(()=>{z(()=>{e.isUnmounted||l()},i)});return}}let u=t,d;ta(e,!1),t?(t.el=c.el,de(e,t,o)):t=c,n&&le(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Ma(d,s,t,c),ta(e,!0);let f=Ei(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el),xe(p),e,i,a),t.el=f.el,u===null&&Ni(e,f.el),r&&z(r,i),(d=t.props&&t.props.onVnodeUpdated)&&z(()=>Ma(d,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=Tr(t);if(ta(e,!1),l&&le(l),!m&&(o=c&&c.onVnodeBeforeMount)&&Ma(o,d,t),ta(e,!0),s&&Te){let t=()=>{e.subTree=Ei(e),Te(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=Ei(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&z(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;z(()=>Ma(o,d,e),i)}(t.shapeFlag&256||d&&Tr(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&z(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new Pe(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>Sn(u),ta(e,!0),l()},de=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,Ri(e,t.props,r,n),Zi(e,t.children,n),Ye(),Tn(e),Xe()},fe=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:m}=t;if(f>0){if(f&128){D(l,d,n,r,i,a,o,s,c);return}if(f&256){pe(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&be(l,i,a),d!==l&&p(n,d)):u&16?m&16?D(l,d,n,r,i,a,o,s,c):be(l,i,a,!0):(u&8&&p(n,``),m&16&&re(d,n,r,i,a,o,s,c))},pe=(e,t,n,r,a,o,s,c,l)=>{e||=i,t||=i;let u=e.length,d=t.length,f=Math.min(u,d),p=0;for(;p<f;p++){let r=t[p]=l?ka(t[p]):Oa(t[p]);v(e[p],r,n,null,a,o,s,c,l)}u>d?be(e,a,o,!0,!1,f):re(t,n,r,a,o,s,c,l,f)},D=(e,t,n,r,a,o,s,c,l)=>{let u=0,d=t.length,f=e.length-1,p=d-1;for(;u<=f&&u<=p;){let r=e[u],i=t[u]=l?ka(t[u]):Oa(t[u]);if(ya(r,i))v(r,i,n,null,a,o,s,c,l);else break;u++}for(;u<=f&&u<=p;){let r=e[f],i=t[p]=l?ka(t[p]):Oa(t[p]);if(ya(r,i))v(r,i,n,null,a,o,s,c,l);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,i=e<d?t[e].el:r;for(;u<=p;)v(null,t[u]=l?ka(t[u]):Oa(t[u]),n,i,a,o,s,c,l),u++}}else if(u>p)for(;u<=f;)ge(e[u],a,o,!0),u++;else{let m=u,h=u,g=new Map;for(u=h;u<=p;u++){let e=t[u]=l?ka(t[u]):Oa(t[u]);e.key!=null&&g.set(e.key,u)}let _,y=0,b=p-h+1,x=!1,S=0,C=Array(b);for(u=0;u<b;u++)C[u]=0;for(u=m;u<=f;u++){let r=e[u];if(y>=b){ge(r,a,o,!0);continue}let i;if(r.key!=null)i=g.get(r.key);else for(_=h;_<=p;_++)if(C[_-h]===0&&ya(r,t[_])){i=_;break}i===void 0?ge(r,a,o,!0):(C[i-h]=u+1,i>=S?S=i:x=!0,v(r,t[i],n,null,a,o,s,c,l),y++)}let w=x?ia(C):i;for(_=w.length-1,u=b-1;u>=0;u--){let e=h+u,i=t[e],f=t[e+1],p=e+1<d?f.el||sa(f):r;C[u]===0?v(null,i,n,p,a,o,s,c,l):x&&(_<0||u!==w[_]?he(i,n,p,2):_--)}}},he=(e,t,n,r,i=null)=>{let{el:a,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6)he(e.component.subTree,t,n,r);else if(d&128)e.suspense.move(t,n,r);else if(d&64)c.move(e,t,n,Ce);else if(c===B){o(a,t,n);for(let e=0;e<u.length;e++)he(u[e],t,n,r);o(e.anchor,t,n)}else if(c===da)S(e,t,n);else if(r!==2&&d&1&&l){if(r===0)l.persisted&&!a[ir]?o(a,t,n):(l.beforeEnter(a),o(a,t,n),z(()=>l.enter(a),i));else{let{leave:r,delayLeave:i,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?s(a):o(a,t,n)},d=()=>{let e=a._isLeaving||!!a[ir];a._isLeaving&&a[ir](!0),l.persisted&&!e?u():r(a,()=>{u(),c&&c()})};i?i(a,u,d):d()}}else o(a,t,n)},ge=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p,memo:m}=e;if((d===-2||l&&l.hasOnce)&&(i=!1),s!=null&&(Ye(),Cr(s,null,n,e,!0),Xe()),p!=null&&(!e.ctx||e.ctx===t)&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let h=u&1&&f,g=!Tr(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&Ma(_,t,e),u&6)ye(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&Fn(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,Ce,r):l&&!l.hasOnce&&(a!==B||d>0&&d&64)?be(l,t,n,!1,!0):(a===B&&d&384||!i&&u&16)&&be(c,t,n),r&&_e(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&z(()=>{_&&Ma(_,t,e),h&&Fn(e,null,t,`unmounted`),v&&(e.el=null)},n)},_e=e=>{let{type:t,el:n,anchor:r,transition:i}=e,a=t===B;if(a&&!i){ve(n,r);return}if(t===da){C(e),i&&!i.persisted&&i.afterLeave&&i.afterLeave();return}let o=a?vr(e):e,c=()=>{a?m(n)&&ve(n,r):s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(o&&o.shapeFlag&1&&i&&!i.persisted){let{leave:e,delayLeave:t}=i,n=o.el,r=()=>e(n,c);t?t(n,c,r):r()}else c()},ve=(e,t)=>{let n;for(;e!==t;)n=h(e),s(e),e=n;s(t)},ye=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;oa(c),oa(l),r&&le(r),i.stop(),a?(a.flags|=8,ge(o,e,t,n)):e.vnode.el&&o&&(o.transition=e.vnode.transition,ge(o,e,t,n)),s&&z(s,t),z(()=>{e.isUnmounted=!0},t)},be=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)ge(e[o],t,n,r,i)},xe=e=>{if(e.shapeFlag&6)return xe(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=h(e.anchor||e.el),n=t&&t[Gn];return n?h(n):t},Se=(e,t,n)=>{On(()=>{e==null?t._vnode&&ge(t._vnode,null,null,!0):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e},e&&t._vnode?void 0:e&&e.component?e.component.uid:Fa())},Ce={p:v,um:ge,m:he,r:_e,mt:ce,mc:re,pc:fe,pbc:T,n:xe,o:e},we,Te;return t&&([we,Te]=t(Ce)),{render:Se,hydrate:we,createApp:yi(Se,we)}}function ea({type:e,props:t},n){return n===`svg`&&e===`foreignObject`||n===`mathml`&&e===`annotation-xml`&&t&&t.encoding&&t.encoding.includes(`html`)?void 0:n}function ta({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function na(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ra(e,t,n=!1){let r=e.children,i=t.children;if(p(r)&&p(i))for(let e=0;e<r.length;e++){let t=r[e],a=i[e];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[e]=ka(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&ra(t,a)),a.type===ua&&(a.patchFlag===-1&&(a=i[e]=ka(a)),a.el=t.el),a.type===V&&!a.el&&(a.el=t.el)}}function ia(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-->0;)n[a]=o,o=t[o];return n}function aa(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:aa(t)}function oa(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function sa(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?sa(t.subTree):null}var ca=e=>e.__isSuspense;function la(e,t){t&&t.pendingBranch?p(e)?t.effects.push(...e):t.effects.push(e):wn(e)}var B=Symbol.for(`v-fgt`),ua=Symbol.for(`v-txt`),V=Symbol.for(`v-cmt`),da=Symbol.for(`v-stc`),fa=[],H=null;function U(e=!1){fa.push(H=e?null:[])}function pa(){fa.pop(),H=fa[fa.length-1]||null}var ma=1;function ha(e,t=!1){ma+=e,e<0&&H&&t&&(H.hasOnce=!0)}function ga(e){return e.dynamicChildren=ma>0?H||i:null,pa(),ma>0&&H&&H.push(e),e}function W(e,t,n,r,i,a){return ga(G(e,t,n,r,i,a,!0))}function _a(e,t,n,r,i){return ga(K(e,t,n,r,i,!0))}function va(e){return e?e.__v_isVNode===!0:!1}function ya(e,t){return e.type===t.type&&e.key===t.key}var ba=({key:e})=>e??null,xa=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:v(e)||P(e)||_(e)?{i:L,r:e,k:t,f:!!n}:e);function G(e,t=null,n=null,r=0,i=null,a=e===B?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ba(t),ref:t&&xa(t),scopeId:jn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:L};return s?(Aa(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=v(n)?8:16),ma>0&&!o&&H&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&H.push(c),c}var K=Sa;function Sa(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===Gr)&&(e=V),va(e)){let r=wa(e,t,!0);return n&&Aa(r,n),ma>0&&!a&&H&&(r.shapeFlag&6?H[H.indexOf(e)]=r:H.push(r)),r.patchFlag=-2,r}if(Qa(e)&&(e=e.__vccOpts),t){t=Ca(t);let{class:e,style:n}=t;e&&!v(e)&&(t.class=ye(e)),b(n)&&(qt(n)&&!p(n)&&(n=l({},n)),t.style=D(n))}let o=v(e)?1:ca(e)?128:Kn(e)?64:b(e)?4:_(e)?2:0;return G(e,t,n,r,i,o,a,!0)}function Ca(e){return e?qt(e)||Ii(e)?l({},e):e:null}function wa(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?ja(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&ba(l),ref:t&&t.ref?n&&a?p(a)?a.concat(xa(t)):[a,xa(t)]:xa(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==B?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&wa(e.ssContent),ssFallback:e.ssFallback&&wa(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return c&&r&&gr(u,c.clone(u)),u}function Ta(e=` `,t=0){return K(ua,null,e,t)}function Ea(e,t){let n=K(da,null,e);return n.staticCount=t,n}function Da(e=``,t=!1){return t?(U(),_a(V,null,e)):K(V,null,e)}function Oa(e){return e==null||typeof e==`boolean`?K(V):p(e)?K(B,null,e.slice()):va(e)?ka(e):K(ua,null,String(e))}function ka(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:wa(e)}function Aa(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(p(t))n=16;else if(typeof t==`object`){if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),Aa(e,n()),n._c&&(n._d=!0));return}{n=32;let r=t._;!r&&!Ii(t)?t._ctx=L:r===3&&L&&(L.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}}else if(_(t)){if(r&65){Aa(e,{default:t});return}t={default:t,_ctx:L},n=32}else t=String(t),r&64?(n=16,t=[Ta(t)]):n=8;e.children=t,e.shapeFlag|=n}function ja(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if(e===`class`)t.class!==r.class&&(t.class=ye([t.class,r.class]));else if(e===`style`)t.style=D([t.style,r.style]);else if(s(e)){let n=t[e],i=r[e];i&&n!==i&&!(p(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!c(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function Ma(e,t,n,r=null){dn(e,t,7,[n,r])}var Na=_i(),Pa=0;function Fa(){return Pa}function Ia(e,t,n){let i=e.type,a=(t?t.appContext:e.appContext)||Na,o={uid:Pa++,vnode:e,type:i,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new je(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),ids:t?t.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Hi(i,a),emitsOptions:wi(i,a),emit:null,emitted:null,propsDefaults:r,inheritAttrs:i.inheritAttrs,ctx:r,data:r,props:r,attrs:r,slots:r,refs:r,setupState:r,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Si.bind(null,o),e.ce&&e.ce(o),o}var q=null,La=()=>q||L,Ra,za;{let e=me(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};Ra=t(`__VUE_INSTANCE_SETTERS__`,e=>q=e),za=t(`__VUE_SSR_SETTERS__`,e=>Ua=e)}var Ba=e=>{let t=q;return Ra(e),e.scope.on(),()=>{e.scope.off(),Ra(t)}},Va=()=>{q&&q.scope.off(),Ra(null)};function Ha(e){return e.vnode.shapeFlag&4}var Ua=!1;function Wa(e,t=!1,n=!1){t&&za(t);let{props:r,children:i}=e.vnode,a=Ha(e);Li(e,r,a,t),Xi(e,i,n||t);let o=a?Ga(e,t):void 0;return t&&za(!1),o}function Ga(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ti);let{setup:r}=n;if(r){Ye();let n=e.setupContext=r.length>1?Ya(e):null,i=Ba(e),a=un(r,e,0,[e.props,n]),o=x(a);if(Xe(),i(),(o||e.sp)&&!Tr(e)&&br(e),o){if(a.then(Va,Va),t)return a.then(n=>{za(!0);try{Ka(e,n,t)}finally{za(!1)}}).catch(t=>{fn(t,e,0)});e.asyncDep=a}else Ka(e,a,t)}else qa(e,t)}function Ka(e,t,n){_(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:b(t)&&(e.setupState=en(t)),qa(e,n)}function qa(e,t,n){let r=e.type;e.render||=r.render||a;{let t=Ba(e);Ye();try{ii(e)}finally{Xe(),t()}}}var Ja={get(e,t){return A(e,`get`,``),e[t]}};function Ya(e){return{attrs:new Proxy(e.attrs,Ja),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function Xa(e){return e.exposed?e.exposeProxy||=new Proxy(en(Jt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in $r)return $r[n](e)},has(e,t){return t in e||t in $r}}):e.proxy}function Za(e,t=!0){return _(e)?e.displayName||e.name:e.name||t&&e.__name}function Qa(e){return _(e)&&`__vccOpts`in e}var $a=(e,t)=>nn(e,t,Ua);function eo(e,t,n){try{ha(-1);let r=arguments.length;return r===2?b(t)&&!p(t)?va(t)?K(e,null,[t]):K(e,t):K(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&va(n)&&(n=[n]),K(e,t,n))}finally{ha(1)}}var to=`3.5.44`,no=void 0,ro=typeof window<`u`&&window.trustedTypes;if(ro)try{no=ro.createPolicy(`vue`,{createHTML:e=>e})}catch{}var io=no?e=>no.createHTML(e):e=>e,ao=`http://www.w3.org/2000/svg`,oo=`http://www.w3.org/1998/Math/MathML`,so=typeof document<`u`?document:null,co=so&&so.createElement(`template`),lo={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?so.createElementNS(ao,e):t===`mathml`?so.createElementNS(oo,e):n?so.createElement(e,{is:n}):so.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>so.createTextNode(e),createComment:e=>so.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>so.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==a&&(i=i.nextSibling););else{co.innerHTML=io(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=co.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},uo=`transition`,fo=`animation`,po=Symbol(`_vtc`),mo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},ho=l({},cr,mo),go=(e=>(e.displayName=`Transition`,e.props=ho,e))((e,{slots:t})=>eo(dr,yo(e),t)),_o=(e,t=[])=>{p(e)?e.forEach(e=>e(...t)):e&&e(...t)},vo=e=>e?p(e)?e.some(e=>e.length>1):e.length>1:!1;function yo(e){let t={};for(let n in e)n in mo||(t[n]=e[n]);if(e.css===!1)return t;let{name:n=`v`,type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=a,appearActiveClass:u=o,appearToClass:d=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,h=bo(i),g=h&&h[0],_=h&&h[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:b,onLeave:x,onLeaveCancelled:S,onBeforeAppear:C=v,onAppear:w=y,onAppearCancelled:ee=b}=t,te=(e,t,n,r)=>{e._enterCancelled=r,Co(e,t?d:s),Co(e,t?u:o),n&&n()},ne=(e,t)=>{e._isLeaving=!1,Co(e,f),Co(e,m),Co(e,p),t&&t()},re=e=>(t,n)=>{let i=e?w:y,o=()=>te(t,e,n);_o(i,[t,o]),wo(()=>{Co(t,e?c:a),So(t,e?d:s),vo(i)||Eo(t,r,g,o)})};return l(t,{onBeforeEnter(e){_o(v,[e]),So(e,a),So(e,o)},onBeforeAppear(e){_o(C,[e]),So(e,c),So(e,u)},onEnter:re(!1),onAppear:re(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>ne(e,t);So(e,f),e._enterCancelled?(So(e,p),Ao(e)):(Ao(e),So(e,p)),wo(()=>{e._isLeaving&&(Co(e,f),So(e,m),vo(x)||Eo(e,r,_,n))}),_o(x,[e,n])},onEnterCancelled(e){te(e,!1,void 0,!0),_o(b,[e])},onAppearCancelled(e){te(e,!0,void 0,!0),_o(ee,[e])},onLeaveCancelled(e){ne(e),_o(S,[e])}})}function bo(e){if(e==null)return null;if(b(e))return[xo(e.enter),xo(e.leave)];{let t=xo(e);return[t,t]}}function xo(e){return fe(e)}function So(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[po]||(e[po]=new Set)).add(t)}function Co(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[po];n&&(n.delete(t),n.size||(e[po]=void 0))}function wo(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var To=0;function Eo(e,t,n,r){let i=e._endId=++To,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=Do(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function Do(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${uo}Delay`),a=r(`${uo}Duration`),o=Oo(i,a),s=r(`${fo}Delay`),c=r(`${fo}Duration`),l=Oo(s,c),u=null,d=0,f=0;t===uo?o>0&&(u=uo,d=o,f=a.length):t===fo?l>0&&(u=fo,d=l,f=c.length):(d=Math.max(o,l),u=d>0?o>l?uo:fo:null,f=u?u===uo?a.length:c.length:0);let p=u===uo&&/\b(?:transform|all)(?:,|$)/.test(r(`${uo}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function Oo(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>ko(t)+ko(e[n])))}function ko(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function Ao(e){return(e?e.ownerDocument:document).body.offsetHeight}function jo(e,t,n){let r=e[po];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var Mo=Symbol(`_vod`),No=Symbol(`_vsh`),Po={name:`show`,beforeMount(e,{value:t},{transition:n}){e[Mo]=e.style.display===`none`?``:e.style.display,n&&t?n.beforeEnter(e):Fo(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Fo(e,!0),r.enter(e)):r.leave(e,()=>{Fo(e,!1)}):Fo(e,t))},beforeUnmount(e,{value:t}){Fo(e,t)}};function Fo(e,t){e.style.display=t?e[Mo]:`none`,e[No]=!t}var Io=Symbol(``),Lo=/(?:^|;)\s*display\s*:/;function Ro(e,t,n){let r=e.style,i=v(n),a=!1;if(n&&!i){if(t){if(v(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??Bo(r,t,``)}else for(let e in t)n[e]??Bo(r,e,``)}for(let i in n){i===`display`&&(a=!0);let o=n[i];o==null?Bo(r,i,``):Wo(e,i,!v(t)&&t?t[i]:void 0,o)||Bo(r,i,o)}}else if(i){if(t!==n){let e=r[Io];e&&(n+=`;`+e),r.cssText=n,a=Lo.test(n)}}else t&&e.removeAttribute(`style`);Mo in e&&((!i||t!==n)&&(e[Mo]=a?r.display:``),e[No]&&(r.display=`none`))}var zo=/\s*!important$/;function Bo(e,t,n){if(p(n))n.forEach(n=>Bo(e,t,n));else if(n??=``,t.startsWith(`--`))zo.test(n)?e.setProperty(t,n.replace(zo,``),`important`):e.setProperty(t,n);else{let r=Uo(e,t);zo.test(n)?e.setProperty(oe(r),n.replace(zo,``),`important`):e[r]=n}}var Vo=[`Webkit`,`Moz`,`ms`],Ho={};function Uo(e,t){let n=Ho[t];if(n)return n;let r=T(t);if(r!==`filter`&&r in e)return Ho[t]=r;r=se(r);for(let n=0;n<Vo.length;n++){let i=Vo[n]+r;if(i in e)return Ho[t]=i}return t}function Wo(e,t,n,r){return e.tagName===`TEXTAREA`&&(t===`width`||t===`height`)&&v(r)&&n===r}var Go=`http://www.w3.org/1999/xlink`;function Ko(e,t,n,r,i,a=be(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(Go,t.slice(6,t.length)):e.setAttributeNS(Go,t,n):n==null||a&&!xe(n)?e.removeAttribute(t):e.setAttribute(t,a?``:y(n)?String(n):n)}function qo(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?io(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=xe(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function Jo(e,t,n,r){e.addEventListener(t,n,r)}function Yo(e,t,n,r){e.removeEventListener(t,n,r)}var Xo=Symbol(`_vei`);function Zo(e,t,n,r,i=null){let a=e[Xo]||(e[Xo]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=es(t);r?Jo(e,n,a[t]=is(r,i),s):o&&(Yo(e,n,o,s),a[t]=void 0)}}var Qo=/(Once|Passive|Capture)$/,$o=/^on:?(?:Once|Passive|Capture)$/;function es(e){let t,n;for(;(n=e.match(Qo))&&!$o.test(e);)t||={},e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===`:`?e.slice(3):oe(e.slice(2)),t]}var ts=0,ns=Promise.resolve(),rs=()=>ts||=(ns.then(()=>ts=0),Date.now());function is(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;let r=n.value;if(p(r)){let n=e.stopImmediatePropagation;e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0};let i=r.slice(),a=[e];for(let n=0;n<i.length&&!e._stopped;n++){let e=i[n];e&&dn(e,t,5,a)}}else dn(r,t,5,[e])};return n.value=e,n.attached=rs(),n}var as=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,os=(e,t,n,r,i,a)=>{let o=i===`svg`;t===`class`?jo(e,r,o):t===`style`?Ro(e,n,r):s(t)?c(t)||Zo(e,t,n,r,a):(t[0]===`.`?(t=t.slice(1),1):t[0]===`^`?(t=t.slice(1),0):ss(e,t,r,o))?(qo(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&Ko(e,t,r,o,a,t!==`value`)):e._isVueCE&&(cs(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!v(r)))?qo(e,T(t),r,a,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),Ko(e,t,r,o))};function ss(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&as(t)&&_(n));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return as(t)&&v(n)?!1:t in e}function cs(e,t){let n=e._def.props;if(!n)return!1;let r=T(t);return Array.isArray(n)?n.some(e=>T(e)===r):Object.keys(n).some(e=>T(e)===r)}var ls=l({patchProp:os},lo),us;function ds(){return us||=Qi(ls)}var fs=((...e)=>{let t=ds().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=ms(e);if(!r)return;let i=t._component;!_(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,ps(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t});function ps(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function ms(e){return v(e)?document.querySelector(e):e}var J=class{constructor(e,t){this.vm=e,this.styleProps=t||{}}get adapter(){return this.vm&&this.vm.adapter?this.vm.adapter:this.vm}parse(){let e=this.styleProps,t={};return this.parseRect(e.rect||{},t),this.parseFlex(e.flex||{},t),this.parseBackground(e.background||{},t),this.parsePadding(e.padding||{},t),this.parseMargin(e.margin||{},t),this.parseBorderRadius(e.borderRadius||{},t),this.parseBorder(e.border||{},t),this.parseShadow(e.shadow||{},t),this.parseTransform(e.transform||{},t),this.parseOther(e.other||{},t),t.boxSizing=`border-box`,t}parseFont(e={},t={}){return e.color&&(t.color=this.adapter.doColor(e.color)),e.fontSize&&(t.fontSize=this.adapter.doSize(e.fontSize,`font`)),e.lineHeight&&(t.lineHeight=this.adapter.doSize(e.lineHeight)),e.textAlign&&(t.textAlign=e.textAlign),e.fontWeight&&(t.fontWeight=e.fontWeight),e.fontStyle&&(t.fontStyle=e.fontStyle),e.textDecoration&&(t.textDecoration=e.textDecoration),e.isMaxLine==`1`&&(t.lineClamp=e.maxLine||`1`,t[`-webkit-line-clamp`]=e.maxLine||`1`),t}parseImage(e={},t={}){return e.cropMode==`01`?(t.backgroundSize=`contain`,t.aspectRatio=`1/1`):(t.backgroundSize=`cover`,t.aspectRatio=`16/9`),t}parseRect(e,t){t.width=this.adapter.doSize(e.width),t.height=this.adapter.doSize(e.height),t.maxWidth=this.adapter.doSize(e.maxWidth),t.maxHeight=this.adapter.doSize(e.maxHeight),t.minWidth=this.adapter.doSize(e.minWidth),t.minHeight=this.adapter.doSize(e.minHeight)}parseFlex(e,t){e.flexDirection&&(t.flexDirection=e.flexDirection),e.justifyContent&&(t.justifyContent=e.justifyContent),e.alignItems&&(t.alignItems=e.alignItems),e.flexWrap&&(t.flexWrap=e.flexWrap),e.flexShrink&&(t.flexShrink=e.flexShrink),e.gap&&(t.gap=this.adapter.doSize(e.gap))}parseBackground(e,t){if(e.backgroundType==`01`&&e.backgroundColor)t.backgroundColor=this.adapter.doColor(e.backgroundColor);else if(e.backgroundType==`02`&&e.backgroundImage){if(t.backgroundImage=`url("${this.adapter.doReplaceUrl(this.adapter.doI18n(e.backgroundImage))}")`,e.backgroundPosition){let n=e.backgroundPosition.split(/[ ]+/);t.backgroundPosition=`${this.adapter.doSize(n[0]||``)} ${this.adapter.doSize(n[1]||``)}`}else t.backgroundPosition=`50% 50%`;if(e.backgroundSize){let n=e.backgroundSize.split(/[ ]+/);t.backgroundSize=n.length>=2?`${this.adapter.doSize(n[0]||``)} ${this.adapter.doSize(n[1]||``)}`:e.backgroundSize}else t.backgroundSize=`cover`;t.backgroundRepeat=e.backgroundRepeat||`no-repeat`}else e.backgroundType==`03`&&e.backgroundGradient&&(t.backgroundImage=e.backgroundGradient)}parsePadding(e,t){e.paddingType==`0`?t.padding=this.adapter.doSize(e.padding):e.paddingType==`1`&&(t.paddingLeft=this.adapter.doSize(e.paddingLeft),t.paddingTop=this.adapter.doSize(e.paddingTop),t.paddingRight=this.adapter.doSize(e.paddingRight),t.paddingBottom=this.adapter.doSize(e.paddingBottom))}parseMargin(e,t){e.marginType==`0`?t.margin=this.adapter.doSize(e.margin):e.marginType==`1`&&(t.marginLeft=this.adapter.doSize(e.marginLeft),t.marginTop=this.adapter.doSize(e.marginTop),t.marginRight=this.adapter.doSize(e.marginRight),t.marginBottom=this.adapter.doSize(e.marginBottom))}parseBorderRadius(e,t){e.borderRadiusType==`0`?t.borderRadius=this.adapter.doSize(e.borderRadius):e.borderRadiusType==`1`&&(t.borderTopLeftRadius=this.adapter.doSize(e.borderTopLeftRadius),t.borderTopRightRadius=this.adapter.doSize(e.borderTopRightRadius),t.borderBottomRightRadius=this.adapter.doSize(e.borderBottomRightRadius),t.borderBottomLeftRadius=this.adapter.doSize(e.borderBottomLeftRadius))}parseBorder(e,t){e.isBorder==`1`&&(t.borderWidth=this.adapter.doSize(e.borderWidth||`1`),t.borderStyle=e.borderStyle||`solid`,t.borderColor=this.adapter.doColor(e.borderColor||`#e7e7ee`))}parseShadow(e,t){if(e.isShadow==`1`){let n=[];n.push(this.adapter.doSize(e.shadowX||`0`)),n.push(this.adapter.doSize(e.shadowY||`0`)),e.shadowBlur&&n.push(this.adapter.doSize(e.shadowBlur)),e.shadowSpread&&n.push(this.adapter.doSize(e.shadowSpread)),n.push(this.adapter.doColor(e.shadowColor||`#e7e7ee`)),t.boxShadow=n.join(` `)}}parseTransform(e,t){let n=[];e.rotate&&n.push(`rotate(${e.rotate}deg)`),n.length&&(t.transform=n.join(` `))}parseOther(e,t){t.overflow=e.overflow?e.overflow:`hidden`,e.opacity&&(t.opacity=`${Number(e.opacity)/100}`)}},Y={inject:[`adapter`],methods:{doI18n(e){return this.adapter.doI18n(e)}}},X=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},hs={name:`CeRoot`,emits:[`onReady`],mixins:[Y],props:{styleProps:{type:Object,default:()=>({})}},computed:{styleObj(){let e=new J(this,this.styleProps).parse();return Object.assign({fontSize:this.adapter.doSize(14,`font`)},e)}},mounted(){this.$emit(`onReady`,{})}};function gs(e,t,n,r,i,a){return U(),W(`div`,{ref:`root`,class:`ce_root`,style:D(a.styleObj)},[Xr(e.$slots,`default`)],4)}var _s=X(hs,[[`render`,gs]]),vs={name:`CeRow`,emits:[`click`],mixins:[Y],props:{styleProps:{type:Object,default:()=>({})}},computed:{styleObj(){return new J(this,this.styleProps).parse()}}};function ys(e,t,n,r,i,a){return U(),W(`div`,{ref:`row`,class:`ce_row`,style:D(a.styleObj),onClick:t[0]||=t=>e.$emit(`click`,t)},[Xr(e.$slots,`default`)],4)}var bs=X(vs,[[`render`,ys]]),xs={name:`CeColumn`,emits:[`click`],mixins:[Y],props:{styleProps:{type:Object,default:()=>({})}},computed:{styleObj(){return new J(this,this.styleProps).parse()}}};function Ss(e,t,n,r,i,a){return U(),W(`div`,{ref:`column`,class:`ce_column`,style:D(a.styleObj),onClick:t[0]||=t=>e.$emit(`click`,t)},[Xr(e.$slots,`default`)],4)}var Cs=X(xs,[[`render`,Ss]]),ws={name:`CeText`,emits:[`click`],mixins:[Y],props:{styleProps:{type:Object,default:()=>({})},value:{type:[String,Number],default:``}},computed:{styleObj(){let e=new J(this,this.styleProps),t=e.parse();return e.parseFont(this.styleProps.font||{},t),t}}};function Ts(e,t,n,r,i,a){return U(),W(`span`,{class:`ce_text`,style:D(a.styleObj),onClick:t[0]||=t=>e.$emit(`click`,t)},Oe(e.doI18n(n.value)),5)}var Es=X(ws,[[`render`,Ts]]),Ds={name:`CeButton`,emits:[`click`],mixins:[Y],props:{styleProps:{type:Object,default:()=>({})},value:{type:[String,Number],default:``},disabled:{type:[Boolean,String,Number],default:!1}},computed:{styleObj(){let e=new J(this,this.styleProps),t=e.parse();return e.parseFont(this.styleProps.font||{},t),t}}};function Os(e,t,n,r,i,a){return U(),W(`button`,{class:ye([`ce_button`,{ce_button_disabled:n.disabled}]),style:D(a.styleObj),onClick:t[0]||=t=>!n.disabled&&e.$emit(`click`,t)},Oe(e.doI18n(n.value)),7)}var ks=X(Ds,[[`render`,Os]]),As={name:`CeDivider`,mixins:[Y],props:{styleProps:{type:Object,default:()=>({})}},computed:{styleObj(){return new J(this,this.styleProps).parse()}}};function js(e,t,n,r,i,a){return U(),W(`div`,{class:`ce_divider`,style:D(a.styleObj)},null,4)}var Ms=X(As,[[`render`,js]]),Ns=`/assets/svg-symbols-B2exBrAr.svg`,Ps=`/assets/default-image-wzZYQ86K.png`,Fs=Ns,Is=Ps,Ls={name:`SvgSymbols`,props:{icon:{type:String,default:``},color:{type:String,default:``}},data(){return{symbols:Fs}},computed:{href(){return`${this.symbols}#${this.icon}`}}},Rs=[`fill`],zs=[`xlink:href`,`fill`];function Bs(e,t,n,r,i,a){return U(),W(`svg`,{class:`ce_svgsymbols`,fill:n.color},[G(`use`,{"xlink:href":a.href,fill:n.color},null,8,zs)],8,Rs)}var Vs=X(Ls,[[`render`,Bs]]),Hs={name:`SvgCode`,props:{content:{type:String,default:``},color:{type:String,default:``}},computed:{svgStyle(){return{fill:this.color}}}},Us=[`innerHTML`];function Ws(e,t,n,r,i,a){return U(),W(`span`,{class:`ce_svgcode`,style:D(a.svgStyle),innerHTML:n.content},null,12,Us)}var Gs={name:`CeIcon`,emits:[`click`],mixins:[Y],components:{SvgSymbols:Vs,SvgCode:X(Hs,[[`render`,Ws]])},props:{styleProps:{type:Object,default:()=>({})},icon:{type:String,default:``},color:{type:String,default:``},content:{type:String,default:``}},computed:{styleObj(){return new J(this,this.styleProps).parse()}}};function Ks(e,t,n,r,i,a){let o=Wr(`svg-code`),s=Wr(`svg-symbols`);return U(),W(`span`,{class:`ce_icon`,style:D(a.styleObj),onClick:t[0]||=t=>e.$emit(`click`,t)},[n.content&&n.content.trim()?(U(),_a(o,{key:0,color:n.color,content:n.content},null,8,[`color`,`content`])):(U(),_a(s,{key:1,color:n.color,icon:n.icon},null,8,[`color`,`icon`]))],4)}var qs=X(Gs,[[`render`,Ks]]),Js={name:`CeImage`,emits:[`click`],mixins:[Y],props:{styleProps:{type:Object,default:()=>({})},value:{type:[String,Number],default:``}},computed:{styleObj(){return new J(this,this.styleProps).parse()},fillStyleObj(){let e={};return new J(this,this.styleProps).parseImage(this.styleProps.image||{},e),e.backgroundImage=`url(${this.adapter.doReplaceUrl(this.doI18n(this.value||Is))})`,e}}};function Ys(e,t,n,r,i,a){return U(),W(`div`,{class:`ce_image`,style:D(a.styleObj),onClick:t[0]||=t=>e.$emit(`click`,t)},[G(`div`,{class:`ce_image_fill`,style:D(a.fillStyleObj)},null,4)],4)}var Xs=X(Js,[[`render`,Ys]]),Zs={name:`CeMultiText`,emits:[`click`],mixins:[Y],props:{styleProps:{type:Object,default:()=>({})},textList:{type:Array,default:()=>[]}},computed:{styleObj(){let e=new J(this,this.styleProps),t=e.parse();return e.parseFont(this.styleProps.font||{},t),t}},methods:{doClick(e,t,n){e.__do__||(e.__do__=!0,this.$emit(`click`,{data:{index:n,tag:t?t.tag:``,text:t?t.value:``}}))},parseFont(e){let t={};return new J(this,{}).parseFont(e||{},t),e&&e.backgroundColor&&(t.backgroundColor=this.adapter.doColor(e.backgroundColor)),t}}},Qs={class:`ce_multitext_item`},$s=[`onClick`];function ec(e,t,n,r,i,a){return U(),W(`span`,{class:`ce_multitext`,style:D(a.styleObj),onClick:t[0]||=e=>a.doClick(e)},[G(`span`,Qs,[(U(!0),W(B,null,Yr(n.textList,(t,n)=>(U(),W(`span`,{key:n,style:D(a.parseFont(t)),onClick:e=>a.doClick(e,t,n)},Oe(e.doI18n(t.value)),13,$s))),128))])],4)}var tc=X(Zs,[[`render`,ec]]),nc={name:`CeListLayout`,emits:[`click`],mixins:[Y],props:{styleProps:{type:Object,default:()=>({})},value:{type:Array,default:()=>[]},direction:{type:String,default:`vertical`},rowSpacing:{type:[String,Number],default:``},edgeInsets:{type:String,default:``}},computed:{itemStyleObj(){let e=this.direction===`horizontal`;return{marginLeft:e?this.adapter.doSize(this.rowSpacing):0,marginTop:e?0:this.adapter.doSize(this.rowSpacing)}},conClasses(){return{ce_listlayout_horizontal:this.direction===`horizontal`}},conStyleObj(){let e={};if(this.edgeInsets){let t=this.parsePadding(this.edgeInsets);e.paddingLeft=this.adapter.doSize(t[1]),e.paddingTop=this.adapter.doSize(t[0]),e.paddingRight=this.adapter.doSize(t[3]),e.paddingBottom=this.adapter.doSize(t[2])}return e},rootStyle(){return new J(this,this.styleProps).parse()}},methods:{parsePadding(e){return String(e).replace(/[{}]/g,``).split(`,`)}}};function rc(e,t,n,r,i,a){return U(),W(`div`,{class:`ce_listlayout`,style:D(a.rootStyle),onClick:t[0]||=t=>e.$emit(`click`,t)},[G(`div`,{class:ye([`ce_listlayout_con`,a.conClasses]),style:D(a.conStyleObj)},[(U(!0),W(B,null,Yr(n.value||[],(t,n)=>(U(),W(`div`,{key:n,class:`ce_listlayout_item`,style:D(n===0?{}:a.itemStyleObj)},[Xr(e.$slots,`default`,{item:t,index:n})],4))),128))],6)],4)}var ic=X(nc,[[`render`,rc]]),ac={name:`CeGridLayout`,emits:[`click`],mixins:[Y],props:{styleProps:{type:Object,default:()=>({})},value:{type:Array,default:()=>[]},column:{type:[Number,String],default:2},rowSpacing:{type:[String,Number],default:``},itemSpacing:{type:[String,Number],default:``},edgeInsets:{type:String,default:``}},computed:{styleObj(){let e=new J(this,this.styleProps).parse();if(this.rowSpacing&&(e.rowGap=this.adapter.doSize(this.rowSpacing)),this.edgeInsets){let t=this.parsePadding(this.edgeInsets);e.paddingLeft=this.adapter.doSize(t[1]),e.paddingTop=this.adapter.doSize(t[0]),e.paddingRight=this.adapter.doSize(t[3]),e.paddingBottom=this.adapter.doSize(t[2])}return e}},methods:{getItemStyle(e){let t=Number(this.column),n=100/t+`%`,r=0,i=0;return t>1&&(this.itemSpacing&&(i=this.adapter.doSize(this.itemSpacing),r=this.adapter.doSize((t-1)*Number(this.itemSpacing)/t)),n=`calc(${n} - ${r})`,e%t===t-1&&(i=0)),{width:n,marginRight:i}},parsePadding(e){return String(e).replace(/[{}]/g,``).split(`,`)}}};function oc(e,t,n,r,i,a){return U(),W(`div`,{class:`ce_gridlayout`,style:D(a.styleObj),onClick:t[0]||=t=>e.$emit(`click`,t)},[(U(!0),W(B,null,Yr(n.value||[],(t,n)=>(U(),W(`div`,{key:n,class:`ce_gridlayout_item`,style:D(a.getItemStyle(n))},[Xr(e.$slots,`default`,{item:t,index:n})],4))),128))],4)}var sc=X(ac,[[`render`,oc]]);function cc(e){return t=>({get:()=>t[e],set:n=>{t[e]=n}})}function lc(e){return t=>({get:()=>t[e].bind(t)})}function uc(e,t=[]){return(n,r)=>({get:()=>(...i)=>(t.forEach(e=>{i[e]=Number(i[e])*r}),n[e](...i))})}var dc={textAlign:cc(`textAlign`),textBaseline:cc(`textBaseline`),fillStyle:cc(`fillStyle`),strokeStyle:cc(`strokeStyle`),lineCap:cc(`lineCap`),imageSmoothingEnabled:cc(`imageSmoothingEnabled`),imageSmoothingQuality:cc(`imageSmoothingQuality`),lineWidth:(e,t)=>({get:()=>e.lineWidth,set:n=>{e.lineWidth=n*t}}),font:(e,t,n)=>({get:()=>e.font,set:r=>{e.font=String(r).replace(/([0-9.]+)px/,(e,r)=>Number(r)*t*Number(n||1)+`px`)}}),fillText:(e,t,n,r)=>({get:()=>(...n)=>(n[0]=n[0]?r.adapter.doI18n(n[0]):n[0],[1,2].forEach(e=>{n[e]=Number(n[e])*t}),e.fillText(...n))}),fillRect:uc(`fillRect`,[0,1,2,3]),moveTo:uc(`moveTo`,[0,1]),lineTo:uc(`lineTo`,[0,1]),arc:uc(`arc`,[0,1,2]),clearRect:uc(`clearRect`,[0,1,2,3]),createLinearGradient:uc(`createLinearGradient`,[0,1,2,3]),createRadialGradient:uc(`createRadialGradient`,[0,1,2,3,4,5]),beginPath:lc(`beginPath`),closePath:lc(`closePath`),fill:lc(`fill`),stroke:lc(`stroke`),measureText:(e,t)=>({get:()=>(...n)=>{let r=e.font;e.font=r.replace(/([0-9.]+)px/,(e,n)=>Number(n)/t+`px`);let i=e.measureText(...n);return e.font=r,i}}),setLineDash:e=>({get:()=>e.setLineDash.bind(e),set:t=>e.setLineDash(t)})};function fc(e,t){function n(n,r){Object.keys(dc).forEach(i=>{Object.defineProperty(this,i,dc[i](e,n,r,t))})}return n.prototype=e,n}function pc(e,t){return function(n,r,i){this.width=n.width/r,this.height=n.height/r,this.style=e.style,this.getContext=function(...n){return new(fc(e.getContext(...n),t))(r,i)}}}var mc={name:`CeCanvas`,emits:[`onMeasured`],mixins:[Y],props:{styleProps:{type:Object,default:()=>({})}},computed:{styleObj(){return new J(this,this.styleProps).parse()}},created(){this.resizeEvt=typeof window<`u`&&`orientationchange`in window?`orientationchange`:`resize`},mounted(){this.$nextTick(()=>this.doPaint()),typeof window<`u`&&window.addEventListener(this.resizeEvt,this.doRepaint,!1)},unmounted(){typeof window<`u`&&window.removeEventListener(this.resizeEvt,this.doRepaint,!1)},methods:{doPaint(){let e=this.$refs.canvas;if(!e)return;let t=e.getBoundingClientRect(),{availableWidth:n,applyUnitRatio:r,fontRatio:i=1}=this.adapter.getSystemInfo(),a=n*r/this.adapter.getDesignInfo().styleWidth||1,o=e.getContext(`2d`),s=(typeof window<`u`?window.devicePixelRatio:1)||1;e.width=t.width*s,e.height=t.height*s,o.scale(s,s);let c=new(pc(e,this))(t,a,i);this.$emit(`onMeasured`,{canvas:c,width:c.width,height:c.height})},doRepaint(){let e=this.$refs.canvas;e&&(e.getContext(`2d`).clearRect(0,0,e.width,e.height),this.doPaint())}}};function hc(e,t,n,r,i,a){return U(),W(`canvas`,{ref:`canvas`,class:`ce_canvas`,style:D(a.styleObj)},null,4)}var gc=X(mc,[[`render`,hc]]),_c={name:`CeInput`,emits:[`input`,`change`],mixins:[Y],props:{styleProps:{type:Object,default:()=>({})},value:{type:[String,Number],default:``},placeholder:{type:[String,Number],default:``},inputType:{type:String,default:``},maxLength:{type:[String,Number],default:``}},data(){return{typeMap:{text:`text`,number:`text`,email:`text`,password:`password`,phone:`text`},regexpMap:{number:/^-?([0-9]*|(0|[1-9][0-9]*)\.[0-9]{0,})?$/i,email:/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/,phone:/^[0-9]{11}$/},inputValue:``,oldValue:``}},created(){this.inputValue=this.value,this.oldValue=this.inputValue},computed:{type(){return this.typeMap[this.inputType]},styleObj(){let e=new J(this,this.styleProps),t=e.parse();return e.parseFont(this.styleProps.font||{},t),Object.assign({padding:`${this.adapter.doSize(4)} ${this.adapter.doSize(8)}`},t)}},watch:{value(){this.inputValue=this.value,this.oldValue=this.inputValue}},methods:{doInput(e){let t=this.regexpMap[this.inputType];!t||t.test(e)?(this.$emit(`input`,e),this.inputValue=e):this.inputValue=this.oldValue}}},vc=[`type`,`placeholder`,`maxlength`,`value`];function yc(e,t,n,r,i,a){return U(),W(`input`,{class:`ce_input`,style:D(a.styleObj),type:a.type,placeholder:e.doI18n(n.placeholder),maxlength:n.maxLength,value:i.inputValue,onInput:t[0]||=t=>e.$emit(`input`,t.target.value),onChange:t[1]||=t=>e.$emit(`change`)},null,44,vc)}var bc=X(_c,[[`render`,yc]]),xc={name:`CeViewContainer`,emits:[`action`],mixins:[Y],inject:[`adapter`,`customComponents`],props:{styleProps:{type:Object,default:()=>({})},customClass:{type:String,default:``},customProps:{type:Object,default:()=>({})},customRemarkImg:{type:String,default:``}},computed:{componentClass(){let e=this.customComponents;return e?this.customClass?e[this.customClass]||e.Placeholder||``:e.Placeholder||``:``},componentProps(){return this.customProps||{}},componentIcon(){return this.customRemarkImg||``},styleObj(){return new J(this,this.styleProps).parse()}}};function Sc(e,t,n,r,i,a){return U(),W(`div`,{class:`ce_viewcontainer`,style:D(a.styleObj)},[a.componentClass?(U(),_a(Kr(a.componentClass),{key:0,icon:a.componentIcon,props:a.componentProps,"custom-class":n.customClass,onAction:t[0]||=t=>e.$emit(`action`,t)},null,40,[`icon`,`props`,`custom-class`])):Da(`v-if`,!0)],4)}var Cc=X(xc,[[`render`,Sc]]),wc={TopLeft:{justifyContent:`flex-start`,alignItems:`flex-start`},TopCenter:{justifyContent:`flex-start`,alignItems:`center`},TopRight:{justifyContent:`flex-start`,alignItems:`flex-end`},CenterLeft:{justifyContent:`center`,alignItems:`flex-start`},Center:{justifyContent:`center`,alignItems:`center`},CenterRight:{justifyContent:`center`,alignItems:`flex-end`},BottomLeft:{justifyContent:`flex-end`,alignItems:`flex-start`},BottomCenter:{justifyContent:`flex-end`,alignItems:`center`},BottomRight:{justifyContent:`flex-end`,alignItems:`flex-end`}},Tc={name:`CeAbsoluteLayout`,mixins:[Y],props:{styleProps:{type:Object,default:()=>({})},align:{type:String,default:``}},computed:{styleObj(){let e=new J(this,this.styleProps).parse();return Object.assign(e,wc[this.align]||{})}}};function Ec(e,t,n,r,i,a){return U(),W(`div`,{class:`ce_absolutelayout`,style:D(a.styleObj)},[Xr(e.$slots,`default`)],4)}var Dc=X(Tc,[[`render`,Ec]]),Oc={CheckGroupCircle:[`M512 65.983389c-245.919634 0-446.016611 200.095256-446.016611 446.016611 0 245.952318 200.064292 446.016611 446.016611 446.016611S958.016611 757.952318 958.016611 512C958.016611 266.080366 757.952318 65.983389 512 65.983389zM512 894.016611c-210.655557 0-382.016611-171.392017-382.016611-382.016611 0-210.655557 171.359333-382.016611 382.016611-382.016611 210.624593 0 382.016611 171.359333 382.016611 382.016611C894.016611 722.624593 722.624593 894.016611 512 894.016611z`,`M512 352.00086c-88.223841 0-160.00086 71.775299-160.00086 159.99914s71.775299 160.00086 160.00086 160.00086 160.00086-71.775299 160.00086-160.00086S600.223841 352.00086 512 352.00086z`],CheckGroupSquareEmpty:[`M833.008 928h-640c-52.944 0-96-43.072-96-96V192c0-52.928 43.056-96 96-96h640c52.912 0 96 43.072 96 96v640c0 52.928-43.072 96-96 96z m-640-768c-17.648 0-32 14.368-32 32v640c0 17.664 14.352 32 32 32h640a32 32 0 0 0 32-32V192c0-17.632-14.352-32-32-32h-640z`],CheckGroupSquareEmptyCheck:[`M727.984 393.184a31.968 31.968 0 0 0-45.248 0.256L449.44 629.248l-103.28-106.112a32 32 0 1 0-45.888 44.608l126.032 129.504c0.048 0.096 0.192 0.096 0.256 0.192 0.064 0.064 0.096 0.192 0.16 0.256 2.016 1.984 4.512 3.2 6.88 4.544 1.248 0.672 2.24 1.792 3.52 2.304a31.728 31.728 0 0 0 24.064 0.064c1.232-0.512 2.208-1.536 3.392-2.176 2.4-1.344 4.896-2.528 6.944-4.544 0.064-0.064 0.096-0.192 0.192-0.256 0.064-0.096 0.16-0.128 0.256-0.192l256.224-259.008a32 32 0 0 0-0.224-45.248zM832.992 928h-640c-52.928 0-96-43.072-96-96V192c0-52.928 43.072-96 96-96h640c52.928 0 96 43.072 96 96v640c0 52.928-43.056 96-96 96z m-640-768c-17.632 0-32 14.368-32 32v640c0 17.664 14.368 32 32 32h640a32 32 0 0 0 32-32V192c0-17.632-14.336-32-32-32h-640z`],CheckGroupSquare:[`M186 123c-33.137 0-60 26.863-60 60v655c0 33.137 26.863 60 60 60h655c33.137 0 60-26.863 60-60V183c0-33.137-26.863-60-60-60H186z m0-60h655c66.274 0 120 53.726 120 120v655c0 66.274-53.726 120-120 120H186c-66.274 0-120-53.726-120-120V183c0-66.274 53.726-120 120-120z`],CheckGroupSquareCheck:[`M840.6 97H185.4C137.1 97 98 136.1 98 184.4v655.3c0 48.3 39.1 87.4 87.4 87.4h655.3c48.3 0 87.4-39.1 87.4-87.4V184.4C928 136.1 888.9 97 840.6 97zM791 380.7L466.7 705.1c-17.1 17.1-44.7 17.1-61.8 0L235 535.2c-17.1-17.1-17.1-44.7 0-61.8 17.1-17.1 44.7-17.1 61.8 0l139 139L729.2 319c17.1-17.1 44.7-17.1 61.8 0 17.1 17 17.1 44.7 0 61.7z`]},kc={RadioButtonCircle:[`M512 65.983389c-245.919634 0-446.016611 200.095256-446.016611 446.016611 0 245.952318 200.064292 446.016611 446.016611 446.016611S958.016611 757.952318 958.016611 512C958.016611 266.080366 757.952318 65.983389 512 65.983389zM512 894.016611c-210.655557 0-382.016611-171.392017-382.016611-382.016611 0-210.655557 171.359333-382.016611 382.016611-382.016611 210.624593 0 382.016611 171.359333 382.016611 382.016611C894.016611 722.624593 722.624593 894.016611 512 894.016611z`,`M512 352.00086c-88.223841 0-160.00086 71.775299-160.00086 159.99914s71.775299 160.00086 160.00086 160.00086 160.00086-71.775299 160.00086-160.00086S600.223841 352.00086 512 352.00086z`],RadioButtonCircleEmpty:[`M512 938.666667C276.362667 938.666667 85.333333 747.637333 85.333333 512S276.362667 85.333333 512 85.333333s426.666667 191.029333 426.666667 426.666667-191.029333 426.666667-426.666667 426.666667z m0-64c200.298667 0 362.666667-162.368 362.666667-362.666667S712.298667 149.333333 512 149.333333 149.333333 311.701333 149.333333 512s162.368 362.666667 362.666667 362.666667z`],RadioButtonCircleEmptyCheck:[`M512 85.333333c235.637333 0 426.666667 191.029333 426.666667 426.666667S747.637333 938.666667 512 938.666667 85.333333 747.637333 85.333333 512 276.362667 85.333333 512 85.333333z m182.613333 297.354667a32 32 0 0 0-45.258666 0.032L458.922667 573.44l-84.341334-83.989333a32 32 0 0 0-45.162666 45.344l106.986666 106.549333a32 32 0 0 0 45.226667-0.064l213.013333-213.333333a32 32 0 0 0-0.032-45.258667z`]},Ac={name:`CeCheckGroup`,mixins:[Y],props:{styleProps:{type:Object,default:()=>({})},value:{type:[Array,String,Number],default:()=>[]},dataList:{type:Array,default:()=>[]},selectColor:{type:String,default:`#0082ff`},unSelectColor:{type:String,default:`#333333`},buttonStyle:{type:String,default:`Circle`},maxSelectCount:{type:[String,Number],default:`0`},direction:{type:String,default:`horizontal`},itemPadding:{type:[String,Number],default:`4 10 4 10`},itemSpacing:{type:[String,Number],default:`4`},textSpacing:{type:[String,Number],default:`3`},fontSize:{type:[String,Number],default:`13`},iconSize:{type:[String,Number],default:`14`}},emits:[`change`,`selectChange`],computed:{rootStyle(){return{overflow:`hidden`,boxSizing:`border-box`}},checkedSet(){let e=this.value;return Array.isArray(e)?new Set(e.map(String)):e===``||e==null?new Set:new Set([String(e)])},limit(){let e=Number(this.maxSelectCount);return Number.isFinite(e)&&e>0?e:1/0}},methods:{isChecked(e){return this.checkedSet.has(String(e.key))},checkPaths(e){let t=this.isChecked(e);switch(this.buttonStyle){case`SquareEmpty`:return Oc[t?`CheckGroupSquareEmptyCheck`:`CheckGroupSquareEmpty`];case`Square`:return Oc[t?`CheckGroupSquareCheck`:`CheckGroupSquare`];case`Text`:return[];default:return Oc.CheckGroupCircle}},itemStyle(e){let t=String(this.itemPadding).split(/\s+/),n=Number(this.itemSpacing)||0,r=e===this.dataList.length-1?0:n,i=e===this.dataList.length-1?0:n,a=(e,t)=>this.adapter.doSize(e[t]===void 0?e[0]||0:e[t]),o=t.length>=4?`${a(t,0)} ${a(t,1)} ${a(t,2)} ${a(t,3)}`:this.adapter.doSize(this.itemPadding);return this.direction===`vertical`?{padding:o,marginBottom:i}:{padding:o,marginRight:r}},toggle(e){let t=String(e.key),n=new Set(this.checkedSet);n.has(t)?n.delete(t):(n.size>=this.limit&&n.clear(),n.add(t));let r=[...n];this.$emit(`change`,r),this.$emit(`selectChange`,{value:r,item:e})}}},jc=[`onClick`],Mc={class:`ce_svgcheckstyle`,viewBox:`0 0 1024 1024`},Nc=[`d`,`fill`],Pc=[`title`];function Fc(e,t,n,r,i,a){return U(),W(`div`,{class:`ce_check_group`,style:D(a.rootStyle)},[G(`div`,{class:`ce_check_list`,style:D({flexDirection:n.direction===`vertical`?`column`:`row`})},[(U(!0),W(B,null,Yr(n.dataList,(e,t)=>(U(),W(`div`,{key:e.key,class:`ce_check_item`,style:D(a.itemStyle(t)),onClick:t=>a.toggle(e)},[n.buttonStyle===`Text`?Da(`v-if`,!0):(U(),W(`div`,{key:0,class:`ce_check_icon`,style:D({width:n.iconSize+`px`,height:n.iconSize+`px`,marginRight:n.textSpacing+`px`})},[(U(),W(`svg`,Mc,[(U(!0),W(B,null,Yr(a.checkPaths(e),(t,r)=>(U(),W(`path`,{key:r,d:t,fill:a.isChecked(e)?n.selectColor:n.unSelectColor},null,8,Nc))),128))]))],4)),G(`span`,{class:`ce_check_text`,title:e.desc,style:D({color:a.isChecked(e)?n.selectColor:n.unSelectColor,fontSize:n.fontSize+`px`})},Oe(e.desc),13,Pc)],12,jc))),128))],4)],4)}var Ic=X(Ac,[[`render`,Fc]]),Lc={name:`CeRadioButton`,mixins:[Y],props:{styleProps:{type:Object,default:()=>({})},value:{type:[String,Number],default:``},selectColor:{type:String,default:`#0082ff`},unSelectColor:{type:String,default:`#333333`},buttonStyle:{type:String,default:`Circle`},textSpacing:{type:[String,Number],default:`3`},fontSize:{type:[String,Number],default:`14`},iconSize:{type:[String,Number],default:`14`},showText:{type:[String,Number],default:`1`},text:{type:[String,Number],default:``}},emits:[`change`,`selectChange`],computed:{rootStyle(){return{overflow:`hidden`,boxSizing:`border-box`}},selected(){let e=this.value;return e!==``&&e!=null&&e!==!1&&e!==`0`},color(){return this.selected?this.selectColor:this.unSelectColor},radioPaths(){return this.selected&&this.buttonStyle===`CircleEmpty`?kc.RadioButtonCircleEmptyCheck:this.buttonStyle===`CircleEmpty`?kc.RadioButtonCircleEmpty:kc.RadioButtonCircle}},methods:{toggle(){let e=this.selected?``:this.value||`1`;this.$emit(`change`,e),this.$emit(`selectChange`,!!e)}}},Rc=[`d`];function zc(e,t,n,r,i,a){return U(),W(`span`,{class:`ce_radio_button`,style:D(a.rootStyle)},[G(`div`,{class:`ce_radio_item`,onClick:t[0]||=(...e)=>a.toggle&&a.toggle(...e)},[n.buttonStyle===`Text`?Da(`v-if`,!0):(U(),W(`span`,{key:0,class:`ce_radio_icon`,style:D({width:n.iconSize+`px`,height:n.iconSize+`px`,marginRight:n.textSpacing+`px`})},[(U(),W(`svg`,{class:`ce_svgradiostyle`,viewBox:`0 0 1024 1024`,style:D({fill:a.color,stroke:a.color})},[(U(!0),W(B,null,Yr(a.radioPaths,(e,t)=>(U(),W(`path`,{key:t,d:e},null,8,Rc))),128))],4))],4)),n.showText===`1`||n.showText===1?(U(),W(`span`,{key:1,style:D({color:a.color,fontSize:n.fontSize+`px`})},Oe(e.doI18n(n.text)),5)):Da(`v-if`,!0)])],4)}var Bc=X(Lc,[[`render`,zc]]),Vc={name:`CeProgressSlider`,mixins:[Y],props:{styleProps:{type:Object,default:()=>({})},value:{type:[String,Number],default:0},minProgress:{type:[String,Number],default:0},maxProgress:{type:[String,Number],default:100},step:{type:[String,Number],default:1},backgroundColor:{type:String,default:`#e6e6e6`},foregroundColor:{type:String,default:`#0a59f5`},processHeight:{type:[String,Number],default:5},blockStyle:{type:String,default:`circle`},blockColor:{type:String,default:`#ffffff`},blockImage:{type:String,default:``},blockWidth:{type:[String,Number],default:15},blockHeight:{type:[String,Number],default:15}},emits:[`change`,`selectChange`],data(){return{dragging:!1}},computed:{rootStyle(){let e=(Number(this.processHeight)||5)+16,t=Number(this.blockHeight)||15;return{height:`auto`,minHeight:this.adapter.doSize(Math.max(e,t)),boxSizing:`border-box`}},min(){let e=Number(this.minProgress);return Number.isFinite(e)?e:0},max(){let e=Number(this.maxProgress);return Number.isFinite(e)?e:100},stepVal(){let e=Number(this.step);return e>0?e:1},numValue(){let e=Number(this.value);return Number.isFinite(e)?e:this.min},percent(){let e=this.max-this.min||1,t=(this.numValue-this.min)/e*100;return Math.max(0,Math.min(100,t))},conLeft(){let e=Number(this.blockWidth)||15;return`calc(${e/2}px + (100% - ${e}px) * ${this.percent} / 100)`},rectStyle(){let e=Number(this.processHeight)||5;return{backgroundColor:this.adapter.doColor(this.backgroundColor),height:this.adapter.doSize(e),borderRadius:this.adapter.doSize(e),marginTop:this.adapter.doSize(8),marginBottom:this.adapter.doSize(8)}},barStyle(){let e=Number(this.processHeight)||5,t=Number(this.blockWidth)||15;return{backgroundColor:this.adapter.doColor(this.foregroundColor),left:this.adapter.doSize(t/2),width:`calc((100% - ${t}px) * ${this.percent} / 100)`,borderTopLeftRadius:this.adapter.doSize(e),borderBottomLeftRadius:this.adapter.doSize(e)}},blockStyleObj(){let e=Number(this.blockWidth)||15,t=Number(this.blockHeight)||15,n={width:this.adapter.doSize(e),height:this.adapter.doSize(t),boxShadow:`rgba(0,0,0,0.3) 0 0 3px 0`};return this.blockStyle===`image`&&this.blockImage?(n.backgroundImage=`url(${this.adapter.doReplaceUrl(this.doI18n(this.blockImage))})`,n.borderRadius=`0`):this.blockStyle===`circle`?(n.backgroundColor=this.adapter.doColor(this.blockColor),n.borderRadius=this.adapter.doSize(Math.min(e,t)/2)):(n.backgroundColor=this.adapter.doColor(this.blockColor),n.borderRadius=this.adapter.doSize(2)),n}},methods:{clampStep(e){let t=Math.max(this.min,Math.min(this.max,e)),n=Math.round((t-this.min)/this.stepVal)*this.stepVal+this.min;return Math.max(this.min,Math.min(this.max,n))},valueFromEvent(e){let t=this.$refs.rect;if(!t)return this.numValue;let n=t.getBoundingClientRect(),r=(e.clientX-n.left)/n.width;return this.clampStep(this.min+r*(this.max-this.min))},onDown(e){this.dragging=!0,this.setValue(this.valueFromEvent(e)),window.addEventListener(`pointermove`,this.onMove),window.addEventListener(`pointerup`,this.onUp)},onMove(e){this.dragging&&this.setValue(this.valueFromEvent(e))},onUp(){this.dragging=!1,window.removeEventListener(`pointermove`,this.onMove),window.removeEventListener(`pointerup`,this.onUp)},setValue(e){this.$emit(`change`,e),this.$emit(`selectChange`,e)}},beforeUnmount(){this.onUp()}};function Hc(e,t,n,r,i,a){return U(),W(`div`,{class:`ce_slider`,style:D(a.rootStyle)},[G(`div`,{ref:`rect`,class:`ce_slider_rect`,style:D(a.rectStyle),onPointerdown:t[0]||=(...e)=>a.onDown&&a.onDown(...e)},[G(`div`,{class:`ce_slider_bar`,style:D(a.barStyle)},null,4),G(`div`,{class:`ce_slider_con`,style:D({left:a.conLeft})},[G(`div`,{class:ye([`ce_slider_block`,{ce_dragging:i.dragging}]),style:D(a.blockStyleObj)},null,6)],4)],36)],4)}var Uc=X(Vc,[[`render`,Hc]]),Wc={name:`CeVideo`,mixins:[Y],props:{styleProps:{type:Object,default:()=>({})},url:{type:String,default:``},previewUrl:{type:String,default:``}},emits:[`click`],data(){return{showPoster:!0}},computed:{rootStyle(){let e=new J(this,this.styleProps).parse();return Object.assign(e,{overflow:`hidden`,boxSizing:`border-box`})},src(){return this.adapter.doReplaceUrl(this.doI18n(this.url||``))},poster(){return this.adapter.doReplaceUrl(this.doI18n(this.previewUrl||``))}},methods:{play(){this.showPoster=!1;let e=this.$refs.video;if(e)try{e.play()}catch{}this.$emit(`click`)}}},Gc=[`src`,`poster`];function Kc(e,t,n,r,i,a){return U(),W(`div`,{class:`ce_video`,style:D(a.rootStyle)},[G(`video`,{ref:`video`,class:`ce_video_elem ce_npc`,src:a.src,poster:a.poster,controls:``,playsinline:``,"webkit-playsinline":``},null,8,Gc),a.poster&&i.showPoster?(U(),W(`div`,{key:0,class:`ce_video_poster ce_npc`,style:D({backgroundImage:`url(${a.poster})`,backgroundSize:`cover`,backgroundPosition:`center`}),onClick:t[0]||=(...e)=>a.play&&a.play(...e)},null,4)):Da(`v-if`,!0)],4)}var qc=X(Wc,[[`render`,Kc]]),Jc={name:`CeMap`,mixins:[Y],props:{styleProps:{type:Object,default:()=>({})},centerLat:{type:[String,Number],default:``},centerLng:{type:[String,Number],default:``},zoom:{type:[String,Number],default:``},markerLat:{type:[String,Number],default:``},markerLng:{type:[String,Number],default:``},markerName:{type:String,default:``}},emits:[`click`],computed:{rootStyle(){let e=new J(this,this.styleProps).parse();return e.overflow=`hidden`,e}}},Yc={class:`ce_map_view`},Xc={class:`ce_map_center`},Zc={key:0,class:`ce_map_markname`};function Qc(e,t,n,r,i,a){return U(),W(`div`,{class:`ce_map`,style:D(a.rootStyle)},[G(`div`,Yc,[t[1]||=Ea(`<svg class="ce_map_grid" viewBox="0 0 100 100" preserveAspectRatio="none" data-v-b297e8af><defs data-v-b297e8af><pattern id="ceMapGrid" width="10" height="10" patternUnits="userSpaceOnUse" data-v-b297e8af><path d="M10 0 L0 0 0 10" fill="none" stroke="#dfe3ea" stroke-width="0.4" data-v-b297e8af></path></pattern></defs><rect width="100" height="100" fill="#eef1f6" data-v-b297e8af></rect><rect width="100" height="100" fill="url(#ceMapGrid)" data-v-b297e8af></rect><!-- 模拟几条道路 --><path d="M0 60 Q40 50 100 65" fill="none" stroke="#cdd4df" stroke-width="2.2" data-v-b297e8af></path><path d="M30 0 L45 100" fill="none" stroke="#cdd4df" stroke-width="2.2" data-v-b297e8af></path></svg>`,1),G(`div`,Xc,[t[0]||=G(`div`,{class:`ce_map_pin`},[G(`svg`,{viewBox:`0 0 24 24`,width:`26`,height:`26`},[G(`path`,{d:`M12 2C7.6 2 4 5.6 4 10c0 5.4 7.1 11.6 7.4 11.9.6.6 1.6.6 2.2 0C13.9 21.6 21 15.4 21 10c0-4.4-3.6-8-9-8z`,fill:`#ff4d4f`}),G(`circle`,{cx:`12`,cy:`10`,r:`3`,fill:`#fff`})])],-1),n.markerName?(U(),W(`div`,Zc,Oe(e.doI18n(n.markerName)),1)):Da(`v-if`,!0)])]),t[2]||=G(`div`,{class:`ce_map_placeholder`},null,-1)],4)}var $c=X(Jc,[[`render`,Qc],[`__scopeId`,`data-v-b297e8af`]]),el={name:`CeMultiColumn`,emits:[`click`],mixins:[Y],props:{styleProps:{type:Object,default:()=>({})},column:{type:[Number,String],default:0}},computed:{cols(){let e=parseInt(this.column,10);return e>0?e:(this.$slots.default?this.$slots.default():[]).filter(e=>e&&e.type!==V&&e.type!==ua).length},styleObj(){let e=new J(this,this.styleProps).parse();return this.cols>1&&(e.display=`grid`,e.gridTemplateColumns=`repeat(${this.cols}, 1fr)`),e}}};function tl(e,t,n,r,i,a){return U(),W(`div`,{ref:`mc`,class:`ce_multicolumn`,style:D(a.styleObj),onClick:t[0]||=t=>e.$emit(`click`,t)},[Xr(e.$slots,`default`,{},void 0,!0)],4)}var nl={Root:_s,Row:bs,Column:Cs,Text:Es,Button:ks,Divider:Ms,Icon:qs,Image:Xs,MultiText:tc,ListLayout:ic,GridLayout:sc,Canvas:gc,Input:bc,ViewContainer:Cc,AbsoluteLayout:Dc,CheckGroup:Ic,RadioButton:Bc,ProgressSlider:Uc,Video:qc,Map:$c,MultiColumn:X(el,[[`render`,tl],[`__scopeId`,`data-v-5e1d2a01`]])},rl=new Set([`ListLayout`,`GridLayout`]);function il(e){return nl[e]||null}function al(e){let t={},n=e||{};for(let e in n)e===`$$`?t[e]=n[e]:t[`$`+e]=n[e];return t}function ol(e,t){let n=al(t),r=new Proxy(n,{has(e,t){return typeof t==`string`&&(t[0]===`$`||t===`$$`)||t in e},get(e,t){if(t in e||typeof t!=`string`||t[0]!==`$`&&t!==`$$`)return e[t]}});return Function(`vars`,`\n\t\twith(vars){\n\t\t\treturn (${e})\n\t\t}\n\t`)(r)}function sl(e,t,n){let r=String(t).split(`.`),i=r.pop(),a=e;for(let e=0;e<r.length;e++)a=a[r[e]];a[i]=n}function cl(e={},t={},n){let r=JSON.parse(JSON.stringify(e||{})),i=e&&e.__vars__;if(i)for(let e in i)try{sl(r,e,ol(i[e],t))}catch(t){n&&n.push({kind:`bind`,msg:`${e} <- ${i[e]}: ${t&&t.message}`,path:e,expr:i[e]})}return delete r.__vars__,r}function ll(e,t,n){return Object.assign({},e,typeof t==`object`&&t||{},{$$:t,_index:n})}function ul(e,t){return new Proxy({},{get(n,r){return r in t?t[r]:e[r]},has(n,r){return r in t||r in e},ownKeys(){let n=new Set;for(let e of Object.keys(t))n.add(e);for(let t of Object.keys(e))n.add(t);return[...n]},getOwnPropertyDescriptor(n,r){if(r in t)return{enumerable:!0,configurable:!0,value:t[r]};if(r in e)return{enumerable:!0,configurable:!0,value:e[r]}}})}var dl={name:`CustomPlaceholder`,props:{icon:{type:String,default:``},props:{type:Object,default:()=>({})},customClass:{type:String,default:``},title:{type:String,default:``}},computed:{tagText(){return this.title||`自定义组件`},label(){if(this.customClass)return this.customClass;let e=Object.keys(this.props||{});return e.length?e.join(`, `):`未指定 customClass`}}},fl={class:`ce_custom_placeholder`},pl={class:`ce_custom_placeholder_tag`},ml={class:`ce_custom_placeholder_name`};function hl(e,t,n,r,i,a){return U(),W(`div`,fl,[G(`span`,pl,Oe(a.tagText),1),G(`span`,ml,Oe(a.label),1),Xr(e.$slots,`default`)])}var gl=X(dl,[[`render`,hl]]),_l=j({el:null,id:null,visible:!1,top:0,left:0,width:0,height:0});function vl(e,t){_l.id!==t&&(_l.el=e,_l.id=t,_l.visible=!0)}function yl(e){_l.id===e&&(_l.el=null,_l.id=null,_l.visible=!1)}var bl=new Set([``,`onReady`,`onLoad`,`onCreate`]);function xl(e){return bl.has(e||``)}function Sl(e){let t=String(e).replace(/-(\w)/g,(e,t)=>t.toUpperCase());return`on`+t.charAt(0).toUpperCase()+t.slice(1)}function Cl(e){return typeof window<`u`&&window.CSS&&CSS.escape?CSS.escape(String(e)):String(e).replace(/["\\\]]/g,`\\$&`)}var wl={name:`RenderTree`,inject:[`adapter`,`cardRuntime`],props:{node:{type:Object,required:!0},scope:{type:Object,default:()=>({})},selectedNodeId:{type:String,default:``}},methods:{getChildNodes(e){let t=e.slots||[];return t.length&&t[0].components&&t[0].components.length?t[0].components:e.components||[]},actionCode(e){let t=e.action&&e.action.properties&&e.action.properties.function||{};return t.code||t.compiled||``},isVisible(e,t){let n=this.cardRuntime,r=e.directives&&e.directives[`v-show`];if(!r)return!0;let i=r.showType||`00`;if(i===`00`)return!0;let a=(r.condition||{}).expression;if(!a)return i===`01`;try{let e=ol(a,t);return i===`01`?!!e:!e}catch(t){return n.pushError(`vshow`,`${e.className}: [${a}] -> ${t.message}`),i===`01`}},buildHandlers(e,t){this.cardRuntime;let n={};return(e.eventactions||[]).forEach(r=>{let i=(r.event||{}).eventKey||``;if(xl(i))return;let a=r.action||{},o=a.actionType;if(o===`customAction`){let a=this.actionCode(r);n[i]=n=>this.runCustomAction(a,t,n,e)}else n[i]=n=>this.runSystemAction(o,a.properties,t,n,e)}),n},runCustomAction(e,t,n,r){let i=this.cardRuntime,a={state:new Proxy(t,{set(e,t,n){return i.state[t]=n,!0}}),data:i.state,setData(e){e&&typeof e==`object`&&Object.assign(i.state,e),i.markDirty()},setRootData(e){e&&typeof e==`object`&&Object.assign(i.rootScope,e),i.markDirty()},addEventListener(e,t){i.addEventListener(e,t)},postMessage(e,t){i.postMessage(e,t)}},o={log:(...e)=>{console.log(...e),i.pushLog(`log`,e)},info:(...e)=>{console.info(...e),i.pushLog(`info`,e)},warn:(...e)=>{console.warn(...e),i.pushLog(`warn`,e)},error:(...e)=>{console.error(...e),i.pushLog(`error`,e)},debug:(...e)=>{console.debug(...e),i.pushLog(`debug`,e)}};try{Function(`event`,`console`,e||``).apply(a,[n,o])}catch(e){let t=r&&r.id?`${r.className}(${r.id})`:r.className;i.pushError(`customAction`,`${t}: ${e.message}`),console.error(`[customAction error]`,t,e)}},runSystemAction(e,t,n,r,i){let a=this.cardRuntime,o=typeof window<`u`?window.ynet:null;!o&&typeof window<`u`&&(o=window.ynet={callJSAPI(e,t,n){if(a.pushApiCall(e,t),typeof n==`function`)try{n({})}catch{}}});let s=t||{};e===`closeAlertCard`?o.callJSAPI(`closeAlertCard`,s,s&&s.callback):e===`sendAiChatMessage`?o.callJSAPI(`sendAiChatMessage`,{message:s&&s.message||``},void 0):o.callJSAPI(e,s,void 0),a.pushApiCall(e,s)},runLoadActions(){let e=this.cardRuntime,t=this.node;t.__loadRan||(t.__loadRan=!0,(t.eventactions||[]).forEach(n=>{if(!xl((n.event||{}).eventKey||``)||(n.action||{}).actionType!==`customAction`)return;let r=this.actionCode(n);r&&this.runCustomAction(r,ul(e.state,this.scope),void 0,t)}))},renderNode(e){if(e.visible===!1)return null;let t=this.cardRuntime,n=ul(t.state,this.scope);if(!this.isVisible(e,n))return null;let r=il(e.className);if(!r){let t=this.getChildNodes(e).map(e=>this.renderSub(e,n));return eo(gl,{customClass:e.className,title:`未知组件`},()=>t)}let i=cl(e.properties||{},n,t.getBindingBuffer()),a=cl(e.style&&e.style.properties||{},n,t.getBindingBuffer()),o=Object.assign({},i,{styleProps:a});o[`data-cid`]=e.componentId||e.id,o[`data-class`]=e.className,o[`data-id`]=e.id;let s=this.buildHandlers(e,n);for(let e in s)o[Sl(e)]=s[e];if(e.className===`Input`&&!o.onInput){let n=(e.properties&&e.properties.__vars__||{}).value,r=/^\s*\$([A-Za-z_$][\w$]*)\s*$/.exec(String(n||``));if(r){let e=r[1];o.onInput=n=>{t.state[e]=n}}}if((e.className===`RadioButton`||e.className===`CheckGroup`)&&!o.onChange){let n=(e.properties&&e.properties.__vars__||{}).value,r=/^\s*\$([A-Za-z_$][\w$]*)\s*$/.exec(String(n||``));if(r){let e=r[1];o.onChange=n=>{t.state[e]=n,t.markDirty()}}}if(e.className===`ProgressSlider`){let n=(e.properties&&e.properties.__vars__||{}).value,r=/^\s*\$([A-Za-z_$][\w$]*)\s*$/.exec(String(n||``));if(r){let e=r[1],n=n=>{t.state[e]=n,t.markDirty()},i=o.onChange,a=o.onSelectChange;o.onChange=e=>{try{i&&i(e)}finally{n(e)}},o.onSelectChange=e=>{try{a&&a(e)}finally{n(e)}}}}let c=this.getChildNodes(e);return rl.has(e.className)?eo(r,o,{default:e=>{let t=ll(n,e.item,e.index);return c.map(e=>this.renderSub(e,t))}}):eo(r,o,()=>c.map(e=>this.renderSub(e,n)))},renderSub(e,t){return eo(wl,{node:e,scope:t,selectedNodeId:this.selectedNodeId})},updateHighlight(){let e=this.$el;if(!e||e.nodeType!==1)return;let t=this.node.id;if(this.selectedNodeId&&t===this.selectedNodeId){let n=typeof document<`u`?document.querySelector(`.phone__screen`):null;vl((n?n.querySelector(`[data-id="`+Cl(String(t))+`"]`):null)||e,t)}else yl(t)}},render(){return this.cardRuntime.revision,this.node.className===`Root`&&this.cardRuntime.startBindingPass(),this.renderNode(this.node)},created(){this.runLoadActions()},mounted(){this.runLoadActions(),this.$nextTick(()=>this.updateHighlight()),this.node.className===`Root`&&this.cardRuntime.commitBindingPass()},updated(){this.node.className===`Root`&&this.cardRuntime.commitBindingPass()},watch:{selectedNodeId(){this.updateHighlight()}}},Tl=`cardbuddy:dev-service`,El=typeof window<`u`&&(window.__CARD_DEV_PREVIEW_BASE__||window.__CARD_DEV_OFFLINE_BASE__)||``,Dl={enabled:!1,baseUrl:`http://127.0.0.1:8787`,token:``};function Ol(){try{let e=localStorage.getItem(Tl);if(e)return{...Dl,...JSON.parse(e)}}catch{}return El?{...Dl,enabled:!0,baseUrl:El,token:``}:{...Dl}}function kl(){if(El)return El.replace(/\/+$/,``);let e=Ol();return e.enabled&&e.baseUrl?e.baseUrl.replace(/\/+$/,``):null}function Al(){let e=Ol();return e.enabled&&e.token||``}async function jl(e,t={}){let n=(kl()||``)+e,r={...t.headers||{}},i=Al();return i&&(r[`x-dev-token`]=i),fetch(n,{...t,headers:r})}var Ml=new Map;function Nl(e){let t=Ml.get(e);if(!t){let n=Al(),r=new EventSource(e+`/__events`+(n?`?token=`+encodeURIComponent(n):``));t={es:r,states:new Set,refs:0},Ml.set(e,t),r.onopen=()=>{for(let e of t.states)e(`open`)},r.onerror=()=>{let e=r.readyState===2?`closed`:`connecting`;for(let n of t.states)n(e)}}return t.refs++,t}function Pl(e,t){if(t.refs=Math.max(0,t.refs-1),t.refs===0&&Ml.get(e)===t){Ml.delete(e);try{t.es.close()}catch{}}}function Fl(e,{hmrEvents:t=[]}={}){return function(t,n){let r=kl(),i=e=>{typeof n==`function`&&n(e)};if(r!==null){let n=Nl(r),a=e=>{try{t(e.data?JSON.parse(e.data):{})}catch{t({})}};for(let t of e)n.es.addEventListener(t,a);return n.states.add(i),i(n.es.readyState===1?`open`:n.es.readyState===2?`closed`:`connecting`),()=>{for(let t of e)n.es.removeEventListener(t,a);n.states.delete(i),Pl(r,n)}}return()=>{}}}Fl([`cards-changed`],{hmrEvents:[`cards-changed`]}),Fl([`code-bridge-changed`,`code-bridge-closed`]),Fl([`service-log`]);var Il={"@staticfile/":`/fastdfs/`,"@filestore/":`/minio/`,"@minio/":`/minio/`,"@floorstatic/":`/floorstatic/`,"@flamestore/":`/`},Ll=[];function Rl(e){if(typeof e!=`string`||!e)return e;for(let t of Ll)if(e.startsWith(t))return e.slice(t.length)||`/`;return e}var zl=class{constructor(e={}){this.options={availableWidth:0,applyUnit:`px`,applyUnitRatio:1,fontRatio:1,styleWidth:375,apiBase:void 0,...e}}getSystemInfo(){let e=this.options;return{screenWidth:typeof window<`u`?window.innerWidth:e.styleWidth,availableWidth:e.availableWidth,applyUnit:e.applyUnit,applyUnitRatio:e.applyUnitRatio,fontRatio:e.fontRatio}}getDesignInfo(){return{styleWidth:this.options.styleWidth}}doReplaceUrl(e){if(typeof e!=`string`||/^https?:\/\//i.test(e))return e;let t=e;try{for(let e of Object.keys(Il))t=t.replace(new RegExp(e,`g`),Il[e])}catch{}let n=Rl(t),r=this.options.apiBase===void 0?kl():this.options.apiBase;return r&&typeof n==`string`&&n.startsWith(`/`)?r+n:n}doSize(e,t){if(!e&&e!==0)return``;if(e===`auto`||String(e).indexOf(`%`)>-1)return e;let n=this.getSystemInfo()||{},r=this.getDesignInfo()||{},i=String(e).replace(/[^0-9\-.]/g,``),a=1;if(n.availableWidth){t===`font`&&(a=Number(n.fontRatio||1));let e=parseFloat(n.availableWidth)/parseFloat(r.styleWidth);return parseFloat(i)*e*a+n.applyUnit}return i+n.applyUnit}doColor(e=``){let t=String(e);if(/^#[a-fA-F0-9]{8}$/.test(t)){let[e,n,r,i]=t.substring(1).match(/[a-fA-F0-9]{2}/g);return`rgba(${parseInt(n,16)}, ${parseInt(r,16)}, ${parseInt(i,16)}, ${parseInt(e,16)/100})`}return t}doRemoveUnit(e=``){return String(e).replace(/[^0-9.]/g,``)}doApplyUnit(e){return e+(this.getSystemInfo()||{}).applyUnit}doI18n(e){return e}async doRpc(){return{}}};function Bl(e){if(Array.isArray(e))return e.map(Bl);if(e&&typeof e==`object`){let t={};for(let n of Object.keys(e))t[n]=Bl(e[n]);return t}return e}function Vl(e){return Bl(e||{})}function Hl(e){if(e===null)return`null`;if(e===void 0)return`undefined`;let t=typeof e;if(t===`string`)return e;if(t===`number`||t===`boolean`||t===`bigint`)return String(e);if(t===`function`)return`[Function `+(e.name||`anonymous`)+`]`;try{return JSON.stringify(e)}catch{return String(e)}}var Ul=[`customAction`,`listener`,`syncRemote`,`saveCard`,`refresh`];function Wl(e,t){let n=j(e||{}),r=j(Vl(e)),i=j({value:0}),a=j({value:0}),o=!1,s=j({value:0}),c=0,l=j({value:0}),u=[],d={adapter:t,get rootScope(){return n},get state(){return r},setRootScope(e){let t=e||{};for(let e of Object.keys(n))delete n[e];Object.assign(n,t);let i=Vl(t);for(let e of Object.keys(r))delete r[e];Object.assign(r,i),this.markDirty()},reseedState(){let e=Vl(n);for(let e of Object.keys(r))delete r[e];Object.assign(r,e),this.markDirty()},get revision(){return i.value},get errorRev(){return a.value},get apiRev(){return s.value},get logRev(){return l.value},errors:[],eventErrors:[],eventLogs:[],apiCalls:[],listeners:{},markDirty(){i.value++},clearErrors(){this.errors.length=0,this.eventErrors.length=0,this.eventLogs.length=0,l.value++,this.scheduleErrorBump()},clearBindingErrors(){this.errors.length=0,this.scheduleErrorBump()},clearApiCalls(){this.apiCalls.length=0,s.value++},pushLog(e,t){let n=t||[],r=n.map(e=>Hl(e)).join(` `);this.eventLogs.push({level:e,text:r,args:n,t:Date.now()}),this.eventLogs.length>500&&this.eventLogs.shift(),l.value++},clearEventLogs(){this.eventLogs.length=0,l.value++},pushError(e,t){let n=Ul.includes(e)?this.eventErrors:this.errors;n.push({kind:e,msg:t,t:Date.now()}),n.length>500&&n.shift(),this.scheduleErrorBump()},scheduleErrorBump(){o||(o=!0,bn(()=>{o=!1,a.value++}))},getBindingBuffer(){return u},startBindingPass(){u=[]},commitBindingPass(){let e=new Set,t=[];for(let n of u)e.has(n.msg)||(e.add(n.msg),t.push(n));this.errors.length=0;for(let e of t)this.errors.push(e);this.scheduleErrorBump()},pushApiCall(e,t){this.apiCalls.push({api:e,payload:t,t:Date.now(),id:++c}),this.apiCalls.length>500&&this.apiCalls.shift(),s.value++},removeApiCall(e){if(!e||e.id==null)return;let t=this.apiCalls.findIndex(t=>t.id===e.id);t<0||(this.apiCalls.splice(t,1),s.value++)},addEventListener(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},postMessage(e,t){let n=this.listeners[e]||[],r={data:t,type:e};n.forEach(t=>{try{t(r)}catch(t){this.pushError(`listener`,`${e}: ${t&&t.message}`)}}),this.pushApiCall(`postMessage:`+e,t)}};return Bn(()=>n,()=>d.reseedState(),{deep:!0}),d}var Gl=0,Kl=e=>`${e}_${(++Gl).toString(36)}`,ql={const:`0`,var:`1`,image:`2`},Jl={Delete:`1`,Append:`2`},Yl=e=>e===void 0?e:JSON.parse(JSON.stringify(e)),Xl=class e{constructor(t=[],n={}){this.id=Kl(`propgroup`),this.properties=(t||[]).map(e=>new Z(e)),e.setPropertyValue(this.properties,n)}static setPropertyValue(e=[],t={}){t&&e.forEach(e=>{e.itemVisible&&e.itemKey&&t[e.itemKey]!==void 0&&e.itemValueFrom===`0`&&(e.itemValue=t[e.itemKey])})}onRestore(e={},t,n,r){Z.restoreProperty(e.properties||[],this.properties,t,n,r)}onPreview(e){return this.properties.reduce((t,n)=>{let r=n.onPreview(e);return r&&Object.assign(t,r),t},{})}onExport(e){return{properties:this.properties.reduce((t,n)=>{if(!e||e.itemId===n.itemId){let r=n.onExport(e&&e.child);r&&t.push(r)}return t},[])}}},Z=class e{constructor(e={}){this.id=Kl(`prop`);let t=Yl(e)||{};this.itemId=t.itemId,this.itemName=t.itemName,this.itemType=t.itemType,this.itemKey=t.itemKey,this.itemOption=t.itemOption||{},this.itemParam=t.itemParam||{},this.itemDefaultValue=t.itemDefaultValue===void 0?null:t.itemDefaultValue,this.itemDesc=t.itemDesc,this.itemCondition=t.itemCondition,this.itemWatch=t.itemWatch||{},this.itemTypeRange=t.itemTypeRange||`const,var`,this.itemDirection=t.itemDirection,this.itemVisible=!0,this.itemUpdated=!1,this.itemValueFrom=ql[String(this.itemTypeRange).split(/,/)[0]],this._itemValueFrom=this.itemValueFrom;let n=Yl(this.itemDefaultValue);this.itemChildren=new Xl(t.itemChildren||[],n),this.itemTemplate=t.itemTemplate||t.itemList||[],this.itemList=[],!this.itemChildren.properties.length&&Object.keys(this.itemTemplate).length&&this.initItemList(n),this.initItemValue(n),this._valuesByFrom={0:void 0,1:void 0,2:void 0},this._valuesByFrom[this.itemValueFrom]=this.itemValue}initItemValue(e,t=!1){this.itemValue=this.itemValueFrom===`1`||this.itemValueFrom===`2`?t?e:``:this.itemChildren.properties.length?{}:Object.keys(this.itemTemplate).length?[]:e}initItemList(e){let t=e||[];Array.isArray(t)&&t.forEach(e=>this.addItems(e))}addItems(e,t){let n=this.itemOption?.templateField||``;if(this.itemChildren.properties.length)return;let r=e?e[n]:``,i=new Xl(n?this.itemTemplate[r]||[]:this.itemTemplate||[],e||{});return t&&t(i),this.itemList.push(i),i}removeAt(e){this.itemChildren.properties.length||e>=0&&e<this.itemList.length&&this.itemList.splice(e,1)}moveItem(e,t){if(this.itemChildren.properties.length||e<0||e>=this.itemList.length||(t=Math.max(0,Math.min(this.itemList.length-1,t)),e===t))return;let[n]=this.itemList.splice(e,1);this.itemList.splice(t,0,n)}onRestore(e={},t,n={},r=[]){if(!Object.keys(e).length)return;let i=[].concat(r);i.push(this.itemId),e.itemValueFrom!==void 0&&(this.itemValueFrom=e.itemValueFrom),this.initItemValue(e.itemValue,!0),this._valuesByFrom={0:void 0,1:void 0,2:void 0},this._valuesByFrom[this.itemValueFrom]=this.itemValue,this.itemChildren.onRestore(e.itemChildren||{},t,n,i),this.itemList=[];let a=Array.isArray(e.itemValue)?e.itemValue:[];a.length||!e.itemList?a.forEach(e=>this.addItems(e||{})):Array.isArray(e.itemList)&&e.itemList.forEach(e=>{let r=this.addItems({});r&&r.onRestore(e,t,n,i)})}onPreview(e){let t={},n=e?e.paths:[],r=!!(n&&n.length),i=r?e.vars:{},a=[].concat(n||[]);return this.itemVisible&&this.itemKey&&(this.itemValueFrom===`0`?this.itemChildren.properties.length>0?(a.push(this.itemKey),t[this.itemKey]=this.itemChildren.onPreview({paths:a,vars:i})):this.itemList.length>0?(a.push(this.itemKey),t[this.itemKey]=this.itemList.map((e,t)=>{let n=[].concat(a);return n.push(t),e.onPreview({paths:n,vars:i})})):t[this.itemKey]=this.itemValue:this.itemValueFrom===`1`?(t[this.itemKey]=this.itemDefaultValue,this.itemValue&&(a.push(this.itemKey),i[a.join(`.`)]=this.itemValue)):this.itemValueFrom===`2`&&(t[this.itemKey]=this.itemValue)),r||(t.__vars__=i),t}onExport(e){if(!this.itemVisible||this.itemKey===void 0||this.itemKey===null)return;let t=this.itemChildren.onExport(e),n=this.itemList.map(t=>t.onExport(e)),r={};return this.itemValueFrom===`1`&&(r.itemDefaultValue=this.itemDefaultValue),t&&t.properties.length?r.itemChildren=t:n.length&&(r.itemList=n),{itemId:this.itemId,itemKey:this.itemKey,itemValueFrom:this.itemValueFrom,itemValue:this.itemValue,...r}}static mergePreview(e={},t={}){let n=e.__vars__,r=t.__vars__;return r?Object.assign(e,t,{__vars__:Object.assign({},n,r)}):Object.assign(e,r)}static restoreProperty(e=[],t=[],n,r={},i){if(r||={},!e.length||!t.length)return;let a={},o=(e||[]).reduce((e,t)=>{let n=t.itemId||t.itemKey;return n&&(e[n]=t,a[n]=t),e},{});for(let e=0;e<t.length;e++){let s=t[e],c=o[s.itemId]||o[s.itemKey];c?(delete a[s.itemId],delete a[s.itemKey],s.onRestore(c,n,{},i),s.itemUpdated=!0,r.restore&&r.restore(s)):n===Jl.Delete&&(t.splice(e--,1),r.delete&&r.delete(s))}if(n===Jl.Append)for(let e in a)r.append&&r.append(a[e],t,[].concat(i||[]))}static updatePropertyVisible(t=[]){let n=t||[],r=e._conditionData(n);n.forEach(t=>{t.itemVisible=!/\./.test(t.itemCondition)||e._conditionResult(t.itemCondition,r),e.updatePropertyVisible(t.itemChildren.properties),t.itemList.forEach(t=>e.updatePropertyVisible(t.properties))})}static _conditionData(e){return e.reduce((e,t)=>{let n=`${t.itemCondition||``}`;return n&&n.split(`.`).length%2==1&&(e[n]=t.itemValue),e},{})}static _conditionResult(e=``,t={}){let n=!0,r=e.split(`.`);for(let e=0;e<r.length-1;e+=2){let i=r.slice(0,e+1).join(`.`),a=r[e+1],o=!1;/^!/.test(a)&&(o=!0,a=a.substring(1));let s=a.split(`|`);n=!1;for(let e=0;e<s.length;e++)if(t[i]==s[e]){n=!0;break}if(o&&(n=!n),!n)break}return n}},Zl={_source:`uat-pkg.finmall.com /ubomp-h5-sub/inner_card/js/6.5c0327ab.js module 931(组件分组清单)`,_note:`metaInfo 精简版:className / name / group / style.state / style.visible / style.meta / properties / slots / events。skeleton(SVG 缩略图) 已剔除。style.state 是组件的默认样式初始值,Style.onRestore 会先用它建组,再用 schema 的 style.properties 合并覆盖。`,groups:[`布局组件`,`基础组件`],components:JSON.parse('{"Row":{"className":"Row","name":"行","group":"布局组件","styleState":{"rect":{"width":"100%"},"flex":{"gap":"4","alignItems":"center"}},"styleVisible":{"rect":true,"background":true,"flex":true,"padding":true,"borderRadius":true,"border":true,"shadow":true,"other":true,"margin":true,"transform":true},"styleMeta":{"flex":{"justifyContent":{"itemName":"水平对齐"},"alignItems":{"itemName":"垂直对齐"}}},"properties":[],"slots":[{"slotKey":"default","slotName":"容器组件插槽","slotWidth":"100%","slotHeight":"100%","slotSwitch":"1"}],"events":[{"eventName":"点击事件","eventKey":"click"}]},"Column":{"className":"Column","name":"列","group":"布局组件","styleState":{"rect":{"width":"100%"},"flex":{"gap":"4","flexDirection":"column","justifyContent":"center"}},"styleVisible":{"rect":true,"background":true,"flex":true,"padding":true,"borderRadius":true,"border":true,"shadow":true,"other":true,"margin":true,"transform":true},"styleMeta":{},"properties":[],"slots":[{"slotKey":"default","slotName":"容器组件插槽","slotWidth":"100%","slotHeight":"100%","slotSwitch":"1"}],"events":[{"eventName":"点击事件","eventKey":"click"}]},"MultiColumn":{"className":"MultiColumn","name":"多列布局","group":"布局组件","styleState":{"rect":{"width":"100%"},"flex":{"gap":"12"}},"styleVisible":{"rect":true,"background":true,"flex":{"gap":true,"flexShrink":true},"padding":true,"borderRadius":true,"border":true,"shadow":true,"other":true,"margin":true,"transform":true},"styleMeta":{},"properties":[],"slots":[{"slotKey":"default","slotName":"容器组件插槽","slotWidth":"100%","slotHeight":"100%","slotSwitch":"1"}],"events":[{"eventName":"点击事件","eventKey":"click"}]},"ListLayout":{"className":"ListLayout","name":"列表布局","group":"布局组件","styleState":{"rect":{"width":"100%","height":"auto"}},"styleVisible":{"rect":true,"flex":{"flexShrink":true},"background":true,"borderRadius":true,"border":true,"shadow":true,"other":true,"margin":true,"transform":true},"styleMeta":{},"properties":[{"itemId":"001","itemName":"数据源","itemKey":"value","itemTypeRange":"var","itemOption":{},"itemDefaultValue":[{},{},{},{}]},{"itemId":"006","itemName":"方向","itemKey":"direction","itemTypeRange":"const","itemType":"TabSelect","itemOption":{"iParamList":[{"key":"vertical","value":"纵向"},{"key":"horizontal","value":"横向"}]},"itemDefaultValue":"vertical"},{"itemId":"003","itemName":"元素间距","itemKey":"row-spacing","itemTypeRange":"const","itemType":"InputNumber","itemOption":{},"itemDefaultValue":12},{"itemId":"005","itemName":"内边距","itemKey":"edge-insets","itemTypeRange":"const","itemType":"PaddingStyle","itemOption":{},"itemDefaultValue":"{2,2,2,2}"}],"slots":[{"slotKey":"default","slotName":"容器组件插槽","slotScope":true,"slotWidth":"100%","slotHeight":"100%","slotSwitch":"1"}],"events":[{"eventName":"点击事件","eventKey":"click"}]},"GridLayout":{"className":"GridLayout","name":"网格布局","group":"布局组件","styleState":{"rect":{"width":"100%","height":"auto"}},"styleVisible":{"rect":true,"background":true,"flex":{"flexShrink":true},"borderRadius":true,"border":true,"shadow":true,"other":true,"margin":true,"transform":true},"styleMeta":{},"properties":[{"itemId":"001","itemName":"数据源","itemKey":"value","itemTypeRange":"var","itemOption":{},"itemDefaultValue":[{},{},{},{}]},{"itemId":"002","itemName":"列数目","itemKey":"column","itemTypeRange":"const","itemType":"InputNumber","itemOption":{},"itemDefaultValue":2},{"itemId":"003","itemName":"行间距","itemKey":"row-spacing","itemTypeRange":"const","itemType":"InputNumber","itemOption":{},"itemDefaultValue":12},{"itemId":"004","itemName":"列间距","itemKey":"item-spacing","itemTypeRange":"const","itemType":"InputNumber","itemOption":{},"itemDefaultValue":4},{"itemId":"005","itemName":"内边距","itemKey":"edge-insets","itemTypeRange":"const","itemType":"PaddingStyle","itemOption":{},"itemDefaultValue":"{2,2,2,2}"}],"slots":[{"slotKey":"default","slotName":"容器组件插槽","slotScope":true,"slotWidth":"100%","slotHeight":"100%","slotSwitch":"1"}],"events":[{"eventName":"点击事件","eventKey":"click"}]},"AbsoluteLayout":{"className":"AbsoluteLayout","name":"绝对布局","group":"布局组件","styleState":{"rect":{"width":"100%","height":"100"}},"styleVisible":{"flex":{"flexShrink":true},"rect":true,"background":true,"padding":true,"borderRadius":true,"border":true,"shadow":true,"other":true,"margin":true,"transform":true},"styleMeta":{},"properties":[{"itemId":"001","itemName":"对齐方式","itemKey":"align","itemTypeRange":"const","itemType":"PositionStyle","itemOption":{},"itemDefaultValue":""}],"slots":[{"slotKey":"default","slotName":"容器组件插槽","slotWidth":"100%","slotHeight":"100%","slotSwitch":"1"}],"events":[]},"Text":{"className":"Text","name":"文本","group":"基础组件","styleState":{},"styleVisible":{"font":true,"rect":true,"flex":{"flexShrink":true},"background":true,"padding":true,"borderRadius":true,"border":true,"shadow":true,"other":true,"margin":true,"transform":true},"styleMeta":{"rect":{"width":{"itemOption":{"iTypeList":[{"key":"percent","value":"%"},{"key":"number","value":"px"}]}}}},"properties":[{"itemId":"001","itemName":"内容","itemKey":"value","itemType":"Textarea","itemDefaultValue":"这是一个文本"},{"itemId":"002","itemName":"常用样式","itemTypeRange":"const","itemType":"CustomSelect","itemOption":{"list":[{"type":"div","style":{"width":"59px","height":"24px","lineHeight":"24px","textAlign":"center","marginRight":"8px","cursor":"pointer"},"list":[{"type":"span","innerText":"黑色","style":{"fontSize":"14px","color":"#333333"}}],"sync":{"style.font.color":"#333333","style.font.fontWeight":"400","style.font.fontSize":"14","style.background.backgroundType":"00","style.border.isBorder":"0","style.borderRadius.borderRadiusType":"","style.padding.paddingType":""}},{"type":"div","style":{"width":"59px","height":"24px","lineHeight":"24px","textAlign":"center","marginRight":"8px","cursor":"pointer"},"list":[{"type":"span","innerText":"灰色","style":{"fontSize":"14px","color":"#555555"}}],"sync":{"style.font.color":"#555555","style.font.fontWeight":"400","style.font.fontSize":"14","style.background.backgroundType":"00","style.border.isBorder":"0","style.borderRadius.borderRadiusType":"","style.padding.paddingType":""}},{"type":"div","innerText":"淡灰色","style":{"width":"59px","height":"24px","lineHeight":"24px","textAlign":"center","marginRight":"8px","cursor":"pointer"},"list":[{"type":"span","innerText":"淡灰色","style":{"fontSize":"14px","color":"#999999"}}],"sync":{"style.font.color":"#999999","style.font.fontWeight":"400","style.font.fontSize":"14","style.background.backgroundType":"00","style.border.isBorder":"0","style.borderRadius.borderRadiusType":"","style.padding.paddingType":""}},{"type":"div","style":{"width":"59px","height":"24px","lineHeight":"24px","textAlign":"center","marginRight":"8px","cursor":"pointer"},"list":[{"type":"span","innerText":"热门","style":{"fontSize":"10px","backgroundColor":"#ff0000","borderRadius":"4px","padding":"1px 5px","color":"#ffffff"}}],"sync":{"style.font.color":"#ffffff","style.font.fontWeight":"400","style.font.fontSize":"10","style.background.backgroundType":"01","style.background.backgroundColor":"#ff0000","style.border.isBorder":"0","style.borderRadius.borderRadiusType":"0","style.borderRadius.borderRadius":"4","style.padding.paddingType":"1","style.padding.paddingLeft":"5","style.padding.paddingTop":"1","style.padding.paddingRight":"5","style.padding.paddingBottom":"1"}},{"type":"div","style":{"width":"59px","height":"24px","lineHeight":"24px","textAlign":"center","marginRight":"8px","cursor":"pointer"},"list":[{"type":"span","innerText":"热销","style":{"fontSize":"10px","backgroundColor":"#ff0000","borderRadius":"100px","padding":"1px 5px","color":"#ffffff"}}],"sync":{"style.font.color":"#ffffff","style.font.fontWeight":"400","style.font.fontSize":"10","style.background.backgroundType":"01","style.background.backgroundColor":"#ff0000","style.border.isBorder":"0","style.borderRadius.borderRadiusType":"0","style.borderRadius.borderRadius":"100","style.padding.paddingType":"1","style.padding.paddingLeft":"5","style.padding.paddingTop":"1","style.padding.paddingRight":"5","style.padding.paddingBottom":"1"}},{"type":"div","style":{"width":"59px","height":"24px","lineHeight":"24px","textAlign":"center","marginRight":"8px","cursor":"pointer"},"list":[{"type":"span","innerText":"理财","style":{"fontSize":"12px","backgroundColor":"#F1F4FE","borderRadius":"4px","padding":"2px 8px","color":"#90969E"}}],"sync":{"style.font.color":"#90969E","style.font.fontWeight":"400","style.font.fontSize":"12","style.background.backgroundType":"01","style.background.backgroundColor":"#F1F4FE","style.border.isBorder":"0","style.borderRadius.borderRadiusType":"0","style.borderRadius.borderRadius":"4","style.padding.paddingType":"1","style.padding.paddingLeft":"8","style.padding.paddingTop":"2","style.padding.paddingRight":"8","style.padding.paddingBottom":"2"}},{"type":"div","style":{"width":"59px","height":"24px","lineHeight":"24px","textAlign":"center","marginRight":"8px","cursor":"pointer"},"list":[{"type":"span","innerText":"存款","style":{"fontSize":"14px","border":"1px solid #8A8A8A","borderRadius":"4px","padding":"1px 4px","color":"#545356"}}],"sync":{"style.font.color":"#545356","style.font.fontWeight":"400","style.font.fontSize":"14","style.background.backgroundType":"00","style.border.isBorder":"1","style.border.borderWidth":"1","style.border.borderColor":"#8A8A8A","style.borderRadius.borderRadiusType":"0","style.borderRadius.borderRadius":"4","style.padding.paddingType":"1","style.padding.paddingLeft":"4","style.padding.paddingTop":"1","style.padding.paddingRight":"4","style.padding.paddingBottom":"1"}},{"type":"div","style":{"width":"59px","height":"24px","lineHeight":"24px","textAlign":"center","marginRight":"8px","cursor":"pointer"},"list":[{"type":"span","innerText":"240","style":{"fontSize":"22px","color":"#ff0000","fontWeight":"600"}}],"sync":{"style.font.color":"#ff0000","style.font.fontWeight":"600","style.font.fontSize":"22","style.background.backgroundType":"00","style.border.isBorder":"0","style.borderRadius.borderRadiusType":"","style.padding.paddingType":""}}]}}],"slots":[],"events":[{"eventName":"点击事件","eventKey":"click"}]},"Button":{"className":"Button","name":"按钮","group":"基础组件","styleState":{"font":{"color":"#ffffff","fontSize":"16"},"background":{"backgroundType":"01","backgroundColor":"#0079f2"},"borderRadius":{"borderRadiusType":"0","borderRadius":"100"},"rect":{"width":"120","height":"40"}},"styleVisible":{"font":{"color":true,"fontSize":true,"fontWeight":true},"rect":true,"flex":{"flexShrink":true},"background":true,"padding":true,"borderRadius":true,"border":true,"shadow":true,"other":true,"margin":true,"transform":true},"styleMeta":{},"properties":[{"itemId":"001","itemName":"按钮文字","itemKey":"value","itemType":"Input","itemDefaultValue":"确定"},{"itemId":"002","itemName":"常用样式","itemTypeRange":"const","itemType":"CustomSelect","itemOption":{"list":[{"type":"div","innerText":"确定","style":{"width":"59px","height":"24px","lineHeight":"24px","textAlign":"center","borderRadius":"20px","fontSize":"12px","marginRight":"8px","cursor":"pointer","color":"#fff","backgroundColor":"#0079f2"},"sync":{"style.font.color":"#ffffff","style.font.fontSize":"16","style.background.backgroundType":"01","style.background.backgroundColor":"#0079f2","style.border.isBorder":"0","style.borderRadius.borderRadiusType":"0","style.borderRadius.borderRadius":"100"}},{"type":"div","innerText":"确定","style":{"width":"59px","height":"24px","lineHeight":"24px","textAlign":"center","borderRadius":"20px","fontSize":"12px","marginRight":"8px","cursor":"pointer","color":"#fff","backgroundColor":"#f3464a"},"sync":{"style.font.color":"#ffffff","style.font.fontSize":"16","style.background.backgroundType":"01","style.background.backgroundColor":"#f3464a","style.border.isBorder":"0","style.borderRadius.borderRadiusType":"0","style.borderRadius.borderRadius":"100"}},{"type":"div","innerText":"确定","style":{"width":"59px","height":"24px","lineHeight":"24px","textAlign":"center","borderRadius":"20px","fontSize":"12px","marginRight":"8px","cursor":"pointer","color":"#0079f2","backgroundColor":"#ffffff","border":"1px solid #0079f2"},"sync":{"style.font.color":"#0079f2","style.font.fontSize":"16","style.background.backgroundType":"01","style.background.backgroundColor":"#ffffff","style.border.isBorder":"1","style.border.borderWidth":"1","style.border.borderStyle":"solid","style.border.borderColor":"#0079f2","style.borderRadius.borderRadiusType":"0","style.borderRadius.borderRadius":"100"}},{"type":"div","innerText":"确定","style":{"width":"59px","height":"24px","lineHeight":"24px","textAlign":"center","borderRadius":"20px","fontSize":"12px","marginRight":"8px","cursor":"pointer","color":"#555","backgroundColor":"#f0ead2"},"sync":{"style.font.color":"#555555","style.font.fontSize":"16","style.background.backgroundType":"01","style.background.backgroundColor":"#f0ead2","style.border.isBorder":"0","style.borderRadius.borderRadiusType":"0","style.borderRadius.borderRadius":"100"}},{"type":"div","innerText":"确定","style":{"width":"59px","height":"24px","lineHeight":"24px","textAlign":"center","borderRadius":"20px","fontSize":"12px","marginRight":"8px","cursor":"pointer","color":"#f3474b","backgroundColor":"#fff0f1"},"sync":{"style.font.color":"#f3474b","style.font.fontSize":"16","style.background.backgroundType":"01","style.background.backgroundColor":"#fff0f1","style.border.isBorder":"0","style.borderRadius.borderRadiusType":"0","style.borderRadius.borderRadius":"100"}},{"type":"div","innerText":"确定","style":{"width":"59px","height":"24px","lineHeight":"24px","textAlign":"center","borderRadius":"20px","fontSize":"12px","marginRight":"8px","cursor":"pointer","color":"#9a9a9a","backgroundColor":"#e6e6e6"},"sync":{"style.font.color":"#9a9a9a","style.font.fontSize":"16","style.background.backgroundType":"01","style.background.backgroundColor":"#e6e6e6","style.border.isBorder":"0","style.borderRadius.borderRadiusType":"0","style.borderRadius.borderRadius":"100"}},{"type":"div","innerText":"确定","style":{"width":"59px","height":"24px","lineHeight":"24px","textAlign":"center","fontSize":"15px","marginRight":"8px","cursor":"pointer","color":"#0079F2"},"sync":{"style.font.color":"#0079F2","style.font.fontSize":"15","style.background.backgroundType":"00","style.border.isBorder":"0","style.borderRadius.borderRadiusType":"","style.rect.width":"100%","style.rect.height":"40"}}]}},{"itemId":"003","itemName":"禁用按钮","itemKey":"disabled","itemTypeRange":"const,var","itemType":"BooleanForm","itemOption":{"activeText":"启用","inactiveText":"禁用"},"itemDefaultValue":false}],"slots":[],"events":[{"eventName":"点击事件","eventKey":"click"}]},"Image":{"className":"Image","name":"图片","group":"基础组件","styleState":{"rect":{"width":"72","height":"72"}},"styleVisible":{"image":true,"flex":{"flexShrink":true},"rect":true,"background":true,"padding":true,"borderRadius":true,"border":true,"shadow":true,"other":true,"margin":true,"transform":true},"styleMeta":{"rect":{"width":{"itemOption":{"iTypeList":[{"key":"percent","value":"%"},{"key":"number","value":"px"}]}}}},"properties":[{"itemId":"001","itemName":"图片地址","itemKey":"value","itemTypeRange":"image,var","itemDefaultValue":""}],"slots":[],"events":[{"eventName":"点击事件","eventKey":"click"}]},"Icon":{"className":"Icon","name":"图标","group":"基础组件","styleState":{"rect":{"width":"32","height":"32"}},"styleVisible":{"rect":true,"flex":{"flexShrink":true},"background":true,"padding":true,"borderRadius":true,"border":true,"shadow":true,"other":true,"margin":true,"transform":true},"styleMeta":{"rect":{"width":{"itemOption":{"iTypeList":[{"key":"number","value":"px"},{"key":"percent","value":"%"}]}},"height":{"itemOption":{"iTypeList":[{"key":"number","value":"px"}]}}}},"properties":[{"itemId":"001","itemName":"图标","itemKey":"icon","itemTypeRange":"const,var","itemType":"IconSelect","itemOption":{"type":"svg","width":"16","height":"16","image":"/ubomp-h5-sub/inner_card/svg/svg-symbols.9f0f35b.svg","iIconList":[{"key":"sousuo","value":"sousuo","name":"sousuo"},{"key":"gengduo","value":"gengduo","name":"gengduo"},{"key":"saoyisao","value":"saoyisao","name":"saoyisao"},{"key":"shanchu","value":"shanchu","name":"shanchu"},{"key":"shaixuan","value":"shaixuan","name":"shaixuan"},{"key":"shezhi","value":"shezhi","name":"shezhi"},{"key":"shengyin","value":"shengyin","name":"shengyin"},{"key":"shengyinguanbi","value":"shengyinguanbi","name":"shengyinguanbi"},{"key":"aixin","value":"aixin","name":"aixin"},{"key":"aixin_1","value":"aixin_1","name":"aixin_1"},{"key":"shoucang","value":"shoucang","name":"shoucang"},{"key":"shoucang_1","value":"shoucang_1","name":"shoucang_1"},{"key":"dianzan","value":"dianzan","name":"dianzan"},{"key":"dianzan_1","value":"dianzan_1","name":"dianzan_1"},{"key":"yanjing","value":"yanjing","name":"yanjing"},{"key":"yanjing_1","value":"yanjing_1","name":"yanjing_1"},{"key":"yanjing_hide","value":"yanjing_hide","name":"yanjing_hide"},{"key":"zengjia","value":"zengjia","name":"zengjia"},{"key":"zengjia_1","value":"zengjia_1","name":"zengjia_1"},{"key":"xiangji","value":"xiangji","name":"xiangji"},{"key":"xiangji_1","value":"xiangji_1","name":"xiangji_1"},{"key":"chenggong","value":"chenggong","name":"chenggong"},{"key":"chenggong_1","value":"chenggong_1","name":"chenggong_1"},{"key":"shibai","value":"shibai","name":"shibai"},{"key":"shibai_1","value":"shibai_1","name":"shibai_1"},{"key":"shijian","value":"shijian","name":"shijian"},{"key":"shijian_1","value":"shijian_1","name":"shijian_1"},{"key":"dianhua","value":"dianhua","name":"dianhua"},{"key":"dianhua_1","value":"dianhua_1","name":"dianhua_1"},{"key":"angle_left","value":"angle_left","name":"angle_left"},{"key":"angle_right","value":"angle_right","name":"angle_right"},{"key":"angle_up","value":"angle_up","name":"angle_up"},{"key":"angle_down","value":"angle_down","name":"angle_down"},{"key":"arrow_left","value":"arrow_left","name":"arrow_left"},{"key":"arrow_right","value":"arrow_right","name":"arrow_right"},{"key":"long_arrow_up","value":"long_arrow_up","name":"long_arrow_up"},{"key":"long_arrow_down","value":"long_arrow_down","name":"long_arrow_down"},{"key":"caret_left","value":"caret_left","name":"caret_left"},{"key":"caret_right","value":"caret_right","name":"caret_right"},{"key":"sort_up","value":"sort_up","name":"sort_up"},{"key":"sort_down","value":"sort_down","name":"sort_down"},{"key":"ditu","value":"ditu","name":"ditu"},{"key":"fuzhi","value":"fuzhi","name":"fuzhi"},{"key":"check","value":"check","name":"check"},{"key":"times","value":"times","name":"times"},{"key":"weixuanzhong","value":"weixuanzhong","name":"weixuanzhong"},{"key":"switch","value":"switch","name":"switch"},{"key":"tanhao","value":"tanhao","name":"tanhao"},{"key":"tanhao_1","value":"tanhao_1","name":"tanhao_1"},{"key":"jianshao","value":"jianshao","name":"jianshao"},{"key":"jianshao_1","value":"jianshao_1","name":"jianshao_1"},{"key":"pinglun","value":"pinglun","name":"pinglun"},{"key":"pinglun_1","value":"pinglun_1","name":"pinglun_1"},{"key":"shandian","value":"shandian","name":"shandian"},{"key":"shandian_1","value":"shandian_1","name":"shandian_1"},{"key":"shequ","value":"shequ","name":"shequ"},{"key":"shequ_1","value":"shequ_1","name":"shequ_1"},{"key":"shouji","value":"shouji","name":"shouji"},{"key":"shouji_1","value":"shouji_1","name":"shouji_1"},{"key":"shouye","value":"shouye","name":"shouye"},{"key":"shouye_1","value":"shouye_1","name":"shouye_1"},{"key":"shuju","value":"shuju","name":"shuju"},{"key":"shuju_1","value":"shuju_1","name":"shuju_1"},{"key":"wode","value":"wode","name":"wode"},{"key":"wode_1","value":"wode_1","name":"wode_1"},{"key":"yingchengka","value":"yingchengka","name":"yingchengka"},{"key":"yingchengka_1","value":"yingchengka_1","name":"yingchengka_1"},{"key":"yinhangka","value":"yinhangka","name":"yinhangka"},{"key":"yinhangyouhui","value":"yinhangyouhui","name":"yinhangyouhui"},{"key":"youhuiquan","value":"youhuiquan","name":"youhuiquan"},{"key":"youhuiquan_1","value":"youhuiquan_1","name":"youhuiquan_1"},{"key":"tuipiao","value":"tuipiao","name":"tuipiao"},{"key":"yulebao","value":"yulebao","name":"yulebao"},{"key":"anquan","value":"anquan","name":"anquan"},{"key":"bangzhu","value":"bangzhu","name":"bangzhu"},{"key":"bianji","value":"bianji","name":"bianji"},{"key":"bofangjilu","value":"bofangjilu","name":"bofangjilu"},{"key":"buganxingqu","value":"buganxingqu","name":"buganxingqu"},{"key":"chuangzuo","value":"chuangzuo","name":"chuangzuo"},{"key":"diantong_guan","value":"diantong_guan","name":"diantong_guan"},{"key":"dianying","value":"dianying","name":"dianying"},{"key":"dianyingpiao","value":"dianyingpiao","name":"dianyingpiao"},{"key":"dingdan","value":"dingdan","name":"dingdan"},{"key":"dingwei","value":"dingwei","name":"dingwei"},{"key":"faxian","value":"faxian","name":"faxian"},{"key":"fenxiang","value":"fenxiang","name":"fenxiang"},{"key":"gonggao","value":"gonggao","name":"gonggao"},{"key":"huati","value":"huati","name":"huati"},{"key":"huiyuan","value":"huiyuan","name":"huiyuan"},{"key":"lihe","value":"lihe","name":"lihe"},{"key":"mima","value":"mima","name":"mima"},{"key":"nan","value":"nan","name":"nan"},{"key":"nv","value":"nv","name":"nv"},{"key":"paihangbang","value":"paihangbang","name":"paihangbang"},{"key":"pengyouquan","value":"pengyouquan","name":"pengyouquan"},{"key":"remen","value":"remen","name":"remen"},{"key":"rili","value":"rili","name":"rili"},{"key":"search_minus","value":"search_minus","name":"search_minus"},{"key":"search_plus","value":"search_plus","name":"search_plus"},{"key":"shangchuan","value":"shangchuan","name":"shangchuan"},{"key":"shuaxin","value":"shuaxin","name":"shuaxin"},{"key":"taolunqu","value":"taolunqu","name":"taolunqu"},{"key":"tishi","value":"tishi","name":"tishi"},{"key":"tupian","value":"tupian","name":"tupian"},{"key":"weixin","value":"weixin","name":"weixin"},{"key":"wenda","value":"wenda","name":"wenda"},{"key":"wenjuan","value":"wenjuan","name":"wenjuan"},{"key":"wifi","value":"wifi","name":"wifi"},{"key":"wodeguanzhu","value":"wodeguanzhu","name":"wodeguanzhu"},{"key":"xiangkan","value":"xiangkan","name":"xiangkan"},{"key":"xiaoxi","value":"xiaoxi","name":"xiaoxi"},{"key":"xiaoxizhongxin","value":"xiaoxizhongxin","name":"xiaoxizhongxin"},{"key":"xiazai","value":"xiazai","name":"xiazai"},{"key":"yixiangkan","value":"yixiangkan","name":"yixiangkan"},{"key":"zhibo","value":"zhibo","name":"zhibo"},{"key":"zhiwen","value":"zhiwen","name":"zhiwen"}]},"itemDefaultValue":"angle_right"},{"itemId":"002","itemName":"图标颜色","itemKey":"color","itemTypeRange":"const,var","itemType":"Color","itemDefaultValue":"#a5afbc"},{"itemId":"003","itemName":"自定义图标","itemKey":"content","itemTypeRange":"const,var","itemType":"Textarea","itemOption":{"placeholder":"请输入svg文件内容","autosize":{"minRows":1,"maxRows":4}},"itemDefaultValue":""}],"slots":[],"events":[{"eventName":"点击事件","eventKey":"click"}]},"MultiText":{"className":"MultiText","name":"多文本","group":"基础组件","styleState":{},"styleVisible":{"font":{"lineHeight":true,"textAlign":true},"rect":true,"flex":{"justifyContent":true,"alignItems":true,"flexShrink":true},"background":true,"padding":true,"borderRadius":true,"border":true,"shadow":true,"other":true,"margin":true,"transform":true},"styleMeta":{},"properties":[{"itemId":"001","itemName":"文本列表","itemKey":"textList","itemTypeRange":"const","itemType":"List","itemOption":{"type":"editor","iFieldList":[{"key":"value","value":"内容"},{"key":"color","value":"颜色"},{"key":"fontSize","value":"大小"}],"btnText":"添加文本"},"itemDefaultValue":[{"value":"这是一个文本"}],"itemList":[{"itemId":"001","itemName":"文本内容","itemKey":"value","itemTypeRange":"const,var","itemType":"Input","itemDefaultValue":"这是一个文本"},{"itemId":"002","itemName":"字体颜色","itemKey":"color","itemTypeRange":"const","itemType":"Color","itemDefaultValue":"#000000"},{"itemId":"003","itemName":"字体大小","itemKey":"fontSize","itemTypeRange":"const","itemType":"InputNumber","itemOption":{"mode-mini":{"style":{"width":"50px"}}},"itemDefaultValue":"14"},{"itemId":"004","itemName":"字体权重","itemKey":"fontWeight","itemTypeRange":"const","itemType":"TabSelect","itemOption":{"size":"mini","iParamList":[{"key":"400","value":"常规"},{"key":"500","value":"中等"},{"key":"600","value":"加粗"}]},"itemDefaultValue":"400"},{"itemId":"005","itemName":"字体样式","itemKey":"fontStyle","itemTypeRange":"const","itemType":"FontStyle","itemOption":{},"itemDefaultValue":"normal"},{"itemId":"006","itemName":"字体样式","itemKey":"textDecoration","itemTypeRange":"const","itemType":"TextDecorationStyle","itemOption":{},"itemDefaultValue":"none"},{"itemId":"007","itemName":"字体背景色","itemKey":"backgroundColor","itemTypeRange":"const","itemType":"Color","itemOption":{},"itemDefaultValue":""},{"itemId":"008","itemName":"事件标识码","itemKey":"tag","itemTypeRange":"const","itemType":"Input","itemOption":{"placeholder":"用于点击事件中区分不同文本"},"itemDefaultValue":""}]}],"slots":[],"events":[{"eventName":"点击事件","eventKey":"click"}]},"Canvas":{"className":"Canvas","name":"画布","group":"基础组件","styleState":{"rect":{"width":"100%"}},"styleVisible":{"rect":true,"flex":{"flexShrink":true},"background":true,"padding":true,"borderRadius":true,"border":true,"shadow":true,"other":true,"margin":true,"transform":true},"styleMeta":{},"properties":[],"slots":[],"events":[{"eventName":"初始化渲染","eventKey":"onMeasured","includes":["customAction"]}]},"Input":{"className":"Input","name":"输入框","group":"基础组件","styleState":{"rect":{"width":"100%","height":"35"},"background":{"backgroundType":"01","backgroundColor":"#FFFFFF"}},"styleVisible":{"font":{"textAlign":true,"fontSize":true,"fontWeight":true,"color":true},"flex":{"flexShrink":true},"rect":true,"background":true,"padding":true,"borderRadius":true,"border":true,"shadow":true,"other":true,"margin":true,"transform":true},"styleMeta":{},"properties":[{"itemId":"001","itemName":"绑定变量","itemKey":"value","itemTypeRange":"var","itemDefaultValue":""},{"itemId":"002","itemName":"占位符","itemKey":"placeholder","itemTypeRange":"const,var","itemType":"Input","itemDefaultValue":"请输入"},{"itemId":"003","itemName":"类型","itemKey":"inputType","itemTypeRange":"const,var","itemType":"Select","itemOption":{"iParamList":[{"key":"text","value":"普通文本"},{"key":"number","value":"数字"},{"key":"email","value":"邮箱"},{"key":"password","value":"密码"},{"key":"phone","value":"手机号"}]},"itemDefaultValue":"text"},{"itemId":"004","itemName":"最大长度","itemKey":"maxLength","itemTypeRange":"const,var","itemType":"InputNumber","itemOption":{"type":"+integer"},"itemDefaultValue":""}],"slots":[],"events":[]},"CheckGroup":{"className":"CheckGroup","name":"复选框","group":"基础组件","styleState":{},"styleVisible":{"rect":true,"flex":{"flexShrink":true},"background":true,"padding":true,"borderRadius":true,"border":true,"shadow":true,"other":true,"margin":true,"transform":true},"styleMeta":{},"properties":[{"itemId":"001","itemName":"绑定变量","itemKey":"value","itemTypeRange":"var","itemDefaultValue":""},{"itemId":"002","itemName":"选项列表","itemKey":"dataList","itemTypeRange":"const,var","itemType":"List","itemOption":{"type":"text","showHeader":false,"iFieldList":[{"value":"选项名称","key":"desc"}],"replace":{"101":"${index}","102":"选项${index}"}},"itemList":[{"itemId":"101","itemName":"选项键","itemKey":"key","itemTypeRange":"const","itemType":"Input","itemDefaultValue":"1"},{"itemId":"102","itemName":"选项值","itemKey":"desc","itemTypeRange":"const","itemType":"Input","itemDefaultValue":"选项"}],"itemDefaultValue":[{"key":"1","desc":"选项1"},{"key":"2","desc":"选项2"}]},{"itemId":"003","itemName":"选中颜色","itemKey":"selectColor","itemTypeRange":"const","itemType":"Color","itemDefaultValue":"#0082ff"},{"itemId":"004","itemName":"未选中颜色","itemKey":"unSelectColor","itemTypeRange":"const","itemType":"Color","itemDefaultValue":"#333333"},{"itemId":"005","itemName":"样式类型","itemKey":"buttonStyle","itemTypeRange":"const","itemType":"Select","itemOption":{"iParamList":[{"key":"Circle","value":"圆形"},{"key":"Square","value":"实心正方形"},{"key":"SquareEmpty","value":"空心正方形"},{"key":"Text","value":"纯文本"}]},"itemDefaultValue":"Circle"},{"itemId":"006","itemName":"选中数量限制","itemKey":"maxSelectCount","itemTypeRange":"const","itemType":"Select","itemOption":{"iParamList":[{"key":"0","value":"不限制"},{"key":"1","value":"1个"},{"key":"2","value":"2个"},{"key":"3","value":"3个"}]},"itemDefaultValue":"0"},{"itemId":"007","itemName":"排列方向","itemKey":"direction","itemTypeRange":"const","itemType":"Select","itemOption":{"iParamList":[{"key":"horizontal","value":"水平"},{"key":"vertical","value":"垂直"}]},"itemDefaultValue":"horizontal"},{"itemId":"008","itemName":"选项内边距","itemKey":"itemPadding","itemTypeRange":"const","itemType":"PaddingStyle","itemOption":{"normal":true,"seperator":" ","brackets":[]},"itemDefaultValue":"4 10 4 10"},{"itemId":"009","itemName":"选项间距","itemKey":"itemSpacing","itemTypeRange":"const","itemType":"InputNumber","itemDefaultValue":"4"},{"itemId":"010","itemName":"文字图标间距","itemKey":"textSpacing","itemTypeRange":"const","itemType":"InputNumber","itemDefaultValue":"3"},{"itemId":"011","itemName":"字体大小","itemKey":"fontSize","itemTypeRange":"const","itemType":"InputNumber","itemDefaultValue":"13"},{"itemId":"012","itemName":"icon大小","itemKey":"iconSize","itemTypeRange":"const","itemType":"InputNumber","itemDefaultValue":"14"}],"slots":[],"events":[{"eventKey":"selectChange","eventName":"选项发生改变"}]},"RadioButton":{"className":"RadioButton","name":"单选框","group":"基础组件","styleState":{},"styleVisible":{"rect":true,"flex":{"flexShrink":true},"background":true,"padding":true,"borderRadius":true,"border":true,"shadow":true,"other":true,"margin":true,"transform":true},"styleMeta":{},"properties":[{"itemId":"001","itemName":"绑定变量","itemKey":"value","itemTypeRange":"var","itemDefaultValue":""},{"itemId":"002","itemName":"选中颜色","itemKey":"selectColor","itemTypeRange":"const","itemType":"Color","itemDefaultValue":"#0082ff"},{"itemId":"003","itemName":"未选中颜色","itemKey":"unSelectColor","itemTypeRange":"const","itemType":"Color","itemDefaultValue":"#333333"},{"itemId":"004","itemName":"样式类型","itemKey":"buttonStyle","itemTypeRange":"const","itemType":"Select","itemOption":{"iParamList":[{"key":"Circle","value":"圆形"},{"key":"CircleEmpty","value":"空心圆形"}]},"itemDefaultValue":"Circle"},{"itemId":"005","itemName":"文字图标间距","itemKey":"textSpacing","itemTypeRange":"const","itemType":"InputNumber","itemDefaultValue":"3"},{"itemId":"006","itemName":"字体大小","itemKey":"fontSize","itemTypeRange":"const","itemType":"InputNumber","itemDefaultValue":"14"},{"itemId":"007","itemName":"icon大小","itemKey":"iconSize","itemTypeRange":"const","itemType":"InputNumber","itemDefaultValue":"14"},{"itemId":"008","itemName":"显示文字","itemKey":"showText","itemTypeRange":"const","itemType":"Switcher","itemDefaultValue":"1","itemCondition":"showText"},{"itemId":"009","itemName":"文字内容","itemKey":"text","itemTypeRange":"const,var","itemType":"Input","itemDefaultValue":"选项","itemCondition":"showText.1"}],"slots":[],"events":[{"eventKey":"selectChange","eventName":"选项发生改变"}]},"ProgressSlider":{"className":"ProgressSlider","name":"滑块","group":"基础组件","styleState":{"rect":{"width":"100%"},"other":{"overflow":"visible"}},"styleVisible":{"rect":true,"flex":{"flexShrink":true},"other":true,"margin":true,"transform":true},"styleMeta":{"other":{"overflow":{"itemOption":{"iParamList":[{"key":"visible","value":"可见"}]}}}},"properties":[{"itemId":"001","itemName":"绑定变量","itemKey":"value","itemTypeRange":"var","itemDefaultValue":""},{"itemId":"002","itemName":"最小值","itemTypeRange":"const,var","itemKey":"minProgress","itemType":"InputNumber","itemDefaultValue":"0"},{"itemId":"003","itemName":"最大值","itemTypeRange":"const,var","itemKey":"maxProgress","itemType":"InputNumber","itemDefaultValue":"100"},{"itemId":"004","itemName":"步长","itemTypeRange":"const,var","itemKey":"step","itemType":"InputNumber","itemDefaultValue":"1"},{"itemId":"005","itemName":"背景色","itemTypeRange":"const,var","itemKey":"backgroundColor","itemType":"Color","itemDefaultValue":"#e6e6e6"},{"itemId":"006","itemName":"前景色","itemTypeRange":"const,var","itemKey":"foregroundColor","itemType":"Color","itemDefaultValue":"#0a59f5"},{"itemId":"007","itemName":"高度","itemTypeRange":"const,var","itemKey":"processHeight","itemType":"InputNumber","itemDefaultValue":"5"},{"itemId":"008","itemName":"滑块样式","itemTypeRange":"const,var","itemKey":"blockStyle","itemType":"Select","itemOption":{"iParamList":[{"key":"circle","value":"纯色圆"},{"key":"image","value":"图片"}]},"itemDefaultValue":"circle","itemCondition":"blockStyle"},{"itemId":"009","itemName":"滑块颜色","itemTypeRange":"const,var","itemKey":"blockColor","itemType":"Color","itemDefaultValue":"#ffffff","itemCondition":"blockStyle.circle"},{"itemId":"010","itemName":"滑块背景图","itemTypeRange":"image,var","itemKey":"blockImage","itemDefaultValue":"","itemCondition":"blockStyle.image"},{"itemId":"011","itemName":"滑块宽","itemTypeRange":"const,var","itemKey":"blockWidth","itemType":"InputNumber","itemDefaultValue":"15"},{"itemId":"012","itemName":"滑块高","itemTypeRange":"const,var","itemKey":"blockHeight","itemType":"InputNumber","itemDefaultValue":"15"}],"slots":[],"events":[{"eventName":"值改变事件","eventKey":"change"}]},"Video":{"className":"Video","name":"视频","group":"基础组件","styleState":{},"styleVisible":{"rect":true,"flex":{"flexShrink":true},"background":true,"padding":true,"borderRadius":true,"border":true,"shadow":true,"other":true,"margin":true,"transform":true},"styleMeta":{},"properties":[{"itemId":"001","itemName":"视频地址","itemKey":"url","itemTypeRange":"image,var","itemDefaultValue":""},{"itemId":"002","itemName":"视频封面","itemKey":"previewUrl","itemTypeRange":"image,var","itemDefaultValue":""}],"slots":[],"events":[]},"Map":{"className":"Map","name":"地图","group":"基础组件","styleState":{"rect":{"width":"100%","height":"100"}},"styleVisible":{"rect":true,"flex":{"flexShrink":true},"borderRadius":true,"border":true,"shadow":true,"margin":true,"transform":true},"styleMeta":{},"properties":[{"itemId":"001","itemName":"中心经度Lat","itemKey":"centerLat","itemType":"InputNumber","itemDefaultValue":""},{"itemId":"002","itemName":"中心纬度Lng","itemKey":"centerLng","itemType":"InputNumber","itemDefaultValue":""},{"itemId":"003","itemName":"缩放比","itemKey":"zoom","itemType":"InputNumber","itemOption":{"type":"+integer"},"itemDefaultValue":""},{"itemId":"004","itemName":"标记点经度Lat","itemKey":"markerLat","itemType":"InputNumber","itemDefaultValue":""},{"itemId":"005","itemName":"标记点纬度Lng","itemKey":"markerLng","itemType":"InputNumber","itemDefaultValue":""},{"itemId":"006","itemName":"标记点名称","itemKey":"markerName","itemTypeRange":"const,var","itemType":"Input","itemOption":{"placeholder":"请输入标记点名称"},"itemDefaultValue":""}],"slots":[],"events":[]},"Divider":{"className":"Divider","name":"分割线","group":"基础组件","styleState":{"rect":{"width":"100%","height":"1"},"background":{"backgroundType":"01","backgroundColor":"#f1f1f1"}},"styleVisible":{"rect":true,"flex":{"flexShrink":true},"background":true,"margin":true},"styleMeta":{},"properties":[],"slots":[],"events":[]},"ViewContainer":{"className":"ViewContainer","name":"自定义","group":"基础组件","styleState":{"rect":{"width":"100%","height":"auto"}},"styleVisible":{"rect":true,"flex":{"flexShrink":true},"background":true,"borderRadius":true,"border":true,"shadow":true,"other":true,"margin":true,"padding":true,"transform":true},"styleMeta":{},"properties":[{"itemId":"001","itemName":"自定义类","itemKey":"customClass","itemTypeRange":"const","itemType":"Input","itemDefaultValue":""},{"itemId":"002","itemName":"自定义属性","itemKey":"customProps","itemTypeRange":"var","itemDefaultValue":{}},{"itemId":"003","itemName":"占位图","itemKey":"customRemarkImg","itemTypeRange":"image","itemDefaultValue":{}}],"slots":[],"events":[{"eventName":"动作事件","eventKey":"action"}]}}')},Ql={properties:[{itemId:`1100`,itemName:`字体`,itemKey:`font`,itemTypeRange:`const`,itemType:`group`,itemOption:{mode:`free`},itemChildren:[{itemId:`001`,itemName:`字体颜色`,itemKey:`color`,itemTypeRange:`const,var`,itemType:`Color`,itemDefaultValue:``},{itemId:`002`,itemName:`字体大小`,itemKey:`fontSize`,itemTypeRange:`const,var`,itemType:`InputNumber`,itemOption:{type:`+integer`,iParamList:[{key:`12`,value:`12px`},{key:`14`,value:`14px`},{key:`16`,value:`16px`},{key:`18`,value:`18px`},{key:`20`,value:`20px`},{key:`22`,value:`22px`},{key:`24`,value:`24px`}]},itemDefaultValue:`14`},{itemId:`007`,itemName:`行高`,itemKey:`lineHeight`,itemTypeRange:`const,var`,itemType:`InputNumber`,itemOption:{},itemDefaultValue:``},{itemId:`003`,itemName:`对齐`,itemKey:`textAlign`,itemTypeRange:`const,var`,itemType:`TabSelect`,itemOption:{iParamList:[{key:`left`,value:`左`},{key:`center`,value:`中`},{key:`right`,value:`右`}]},itemDefaultValue:`left`},{itemId:`004`,itemName:`字体权重`,itemKey:`fontWeight`,itemTypeRange:`const,var`,itemType:`TabSelect`,itemOption:{iParamList:[{key:`400`,value:`常规`},{key:`500`,value:`中等`},{key:`600`,value:`加粗`}]},itemDefaultValue:`400`},{itemId:`008`,itemName:`字体样式`,itemKey:`fontStyle`,itemTypeRange:`const`,itemType:`FontStyle`,itemOption:{},itemDefaultValue:`normal`},{itemId:`009`,itemName:`字体修饰`,itemKey:`textDecoration`,itemTypeRange:`const`,itemType:`TextDecorationStyle`,itemOption:{},itemDefaultValue:`none`},{itemId:`005`,itemName:`最大行数`,itemKey:`isMaxLine`,itemTypeRange:`const`,itemType:`Switcher`,itemOption:{},itemDefaultValue:`0`,itemCondition:`isMaxLine`},{itemId:`006`,itemName:`最大行数`,itemKey:`maxLine`,itemTypeRange:`const,var`,itemType:`InputNumber`,itemOption:{},itemDefaultValue:`1`,itemCondition:`isMaxLine.1`}]},{itemId:`1200`,itemName:`图片`,itemKey:`image`,itemTypeRange:`const`,itemType:`group`,itemOption:{mode:`free`},itemChildren:[{itemId:`001`,itemName:`裁剪模式`,itemKey:`cropMode`,itemTypeRange:`const`,itemType:`TabSelect`,itemOption:{iParamList:[{key:`00`,value:`铺满缩放`},{key:`01`,value:`填充缩放`}]},itemDefaultValue:`00`}]},{itemId:`1300`,itemName:`定位`,itemKey:`position`,itemTypeRange:`const`,itemType:`group`,itemOption:{mode:`free`},itemChildren:[{itemId:`001`,itemName:`左偏移`,itemKey:`left`,itemTypeRange:`const`,itemType:`InputNumber`,itemOption:{},itemDefaultValue:``},{itemId:`002`,itemName:`上偏移`,itemKey:`top`,itemTypeRange:`const`,itemType:`InputNumber`,itemOption:{},itemDefaultValue:``},{itemId:`003`,itemName:`右偏移`,itemKey:`right`,itemTypeRange:`const`,itemType:`InputNumber`,itemOption:{},itemDefaultValue:``},{itemId:`004`,itemName:`下偏移`,itemKey:`bottom`,itemTypeRange:`const`,itemType:`InputNumber`,itemOption:{},itemDefaultValue:``}]},{itemId:`100`,itemName:`布局`,itemKey:`flex`,itemTypeRange:`const`,itemType:`group`,itemOption:{mode:`free`},itemChildren:[{itemId:`006`,itemName:`排列方向`,itemKey:`flexDirection`,itemTypeRange:`const`,itemType:`TabSelect`,itemOption:{iParamList:[{key:`row`,value:`横向`},{key:`column`,value:`竖向`}]},itemDefaultValue:`row`},{itemId:`001`,itemName:`水平对齐`,itemKey:`justifyContent`,itemTypeRange:`const`,itemType:`JustifyContentStyle`,itemOption:{rowName:`水平对齐`,columnName:`垂直对齐`},itemDefaultValue:`flex-start`,itemWatch:{flexDirection:`flexDirection`}},{itemId:`002`,itemName:`垂直对齐`,itemKey:`alignItems`,itemTypeRange:`const`,itemType:`AlignItemsStyle`,itemOption:{rowName:`垂直对齐`,columnName:`水平对齐`},itemDefaultValue:`stretch`,itemWatch:{flexDirection:`flexDirection`}},{itemId:`003`,itemName:`元素间距`,itemKey:`gap`,itemTypeRange:`const`,itemType:`Select`,itemOption:{iParamList:[{key:`0`,value:`0px`},{key:`4`,value:`4px`},{key:`8`,value:`8px`},{key:`12`,value:`12px`},{key:`16`,value:`16px`},{key:`20`,value:`20px`},{key:`24`,value:`24px`},{key:`28`,value:`28px`}]},itemDefaultValue:``},{itemId:`005`,itemName:`空间不足时压缩节点`,itemKey:`flexShrink`,itemTypeRange:`const`,itemType:`Switcher`,itemOption:{},itemDefaultValue:`1`}]},{itemId:`200`,itemName:`矩形`,itemKey:`rect`,itemTypeRange:`const`,itemType:`group`,itemOption:{mode:`free`},itemChildren:[{itemId:`003`,itemName:`宽度`,itemKey:`width`,itemTypeRange:`const,var`,itemType:`NumberStyle`,itemOption:{},itemDefaultValue:``},{itemId:`004`,itemName:`高度`,itemKey:`height`,itemTypeRange:`const,var`,itemType:`NumberStyle`,itemOption:{iTypeList:[{key:`number`,value:`px`},{key:`auto`,value:`@`}]},itemDefaultValue:`auto`}]},{itemId:`300`,itemName:`背景`,itemKey:`background`,itemTypeRange:`const`,itemType:`group`,itemOption:{mode:`free`},itemChildren:[{itemId:`001`,itemName:`背景`,itemKey:`backgroundType`,itemTypeRange:`const`,itemType:`TabSelect`,itemOption:{iParamList:[{key:`00`,value:`透明`},{key:`01`,value:`颜色`},{key:`02`,value:`图片`},{key:`03`,value:`渐变色`}]},itemDefaultValue:`00`,itemCondition:`backgroundType`},{itemId:`002`,itemName:`背景颜色`,itemKey:`backgroundColor`,itemTypeRange:`const,var`,itemType:`Color`,itemDefaultValue:``,itemCondition:`backgroundType.01`},{itemId:`003`,itemName:`背景图片`,itemKey:`backgroundImage`,itemTypeRange:`image,var`,itemOption:{},itemDefaultValue:``,itemCondition:`backgroundType.02`},{itemId:`004`,itemName:`背景图位置`,itemKey:`backgroundPosition`,itemTypeRange:`const,var`,itemType:`BackgroundPositionStyle`,itemOption:{},itemDefaultValue:`50% 50%`,itemCondition:`backgroundType.02`},{itemId:`005`,itemName:`背景图大小`,itemKey:`backgroundSize`,itemTypeRange:`const,var`,itemType:`BackgroundSizeStyle`,itemOption:{},itemDefaultValue:`cover`,itemCondition:`backgroundType.02`},{itemId:`006`,itemName:`背景图重复`,itemKey:`backgroundRepeat`,itemTypeRange:`const,var`,itemType:`Select`,itemOption:{iParamList:[{key:`no-repeat`,value:`不重复`},{key:`repeat`,value:`重复图片`},{key:`repeat-x`,value:`水平重复`},{key:`repeat-y`,value:`垂直重复`}]},itemDefaultValue:`no-repeat`,itemCondition:`backgroundType.02`},{itemId:`007`,itemName:`背景渐变`,itemKey:`backgroundGradient`,itemTypeRange:`const,var`,itemType:`GradientStyle`,itemOption:{},itemDefaultValue:``,itemCondition:`backgroundType.03`}]},{itemId:`400`,itemName:`内边距`,itemKey:`padding`,itemTypeRange:`const`,itemType:`group`,itemOption:{mode:`free`},itemChildren:[{itemId:`001`,itemName:`内边距`,itemKey:`paddingType`,itemTypeRange:`const`,itemType:`TabSelect`,itemOption:{iParamList:[{key:``,value:`无`},{key:`0`,value:`全边`},{key:`1`,value:`自定义`}]},itemDefaultValue:``,itemCondition:`paddingType`},{itemId:`002`,itemName:`内边距`,itemKey:`padding`,itemTypeRange:`const,var`,itemType:`InputNumber`,itemOption:{iParamList:[{key:`0`,value:`0px`},{key:`2`,value:`2px`},{key:`4`,value:`4px`},{key:`8`,value:`8px`},{key:`12`,value:`12px`},{key:`16`,value:`16px`},{key:`20`,value:`20px`},{key:`24`,value:`24px`},{key:`28`,value:`28px`}]},itemDefaultValue:``,itemCondition:`paddingType.0`},{itemId:`003`,itemName:`内左边距`,itemKey:`paddingLeft`,itemTypeRange:`const,var`,itemType:`InputNumber`,itemOption:{},itemDefaultValue:``,itemCondition:`paddingType.1`},{itemId:`004`,itemName:`内上边距`,itemKey:`paddingTop`,itemTypeRange:`const,var`,itemType:`InputNumber`,itemOption:{},itemDefaultValue:``,itemCondition:`paddingType.1`},{itemId:`005`,itemName:`内右边距`,itemKey:`paddingRight`,itemTypeRange:`const,var`,itemType:`InputNumber`,itemOption:{},itemDefaultValue:``,itemCondition:`paddingType.1`},{itemId:`006`,itemName:`内下边距`,itemKey:`paddingBottom`,itemTypeRange:`const,var`,itemType:`InputNumber`,itemOption:{},itemDefaultValue:``,itemCondition:`paddingType.1`}]},{itemId:`500`,itemName:`外边距`,itemKey:`margin`,itemTypeRange:`const`,itemType:`group`,itemOption:{mode:`free`},itemChildren:[{itemId:`001`,itemName:`外边距`,itemKey:`marginType`,itemTypeRange:`const`,itemType:`TabSelect`,itemOption:{iParamList:[{key:``,value:`无`},{key:`0`,value:`全边`},{key:`1`,value:`自定义`}]},itemDefaultValue:``,itemCondition:`marginType`},{itemId:`002`,itemName:`外边距`,itemKey:`margin`,itemTypeRange:`const,var`,itemType:`InputNumber`,itemOption:{iParamList:[{key:`0`,value:`0px`},{key:`2`,value:`2px`},{key:`4`,value:`4px`},{key:`8`,value:`8px`},{key:`12`,value:`12px`},{key:`16`,value:`16px`},{key:`20`,value:`20px`},{key:`24`,value:`24px`},{key:`28`,value:`28px`}]},itemDefaultValue:``,itemCondition:`marginType.0`},{itemId:`003`,itemName:`外左边距`,itemKey:`marginLeft`,itemTypeRange:`const,var`,itemType:`InputNumber`,itemOption:{},itemDefaultValue:``,itemCondition:`marginType.1`},{itemId:`004`,itemName:`外上边距`,itemKey:`marginTop`,itemTypeRange:`const,var`,itemType:`InputNumber`,itemOption:{},itemDefaultValue:``,itemCondition:`marginType.1`},{itemId:`005`,itemName:`外右边距`,itemKey:`marginRight`,itemTypeRange:`const,var`,itemType:`InputNumber`,itemOption:{},itemDefaultValue:``,itemCondition:`marginType.1`},{itemId:`006`,itemName:`外下边距`,itemKey:`marginBottom`,itemTypeRange:`const,var`,itemType:`InputNumber`,itemOption:{},itemDefaultValue:``,itemCondition:`marginType.1`}]},{itemId:`600`,itemName:`圆角`,itemKey:`borderRadius`,itemTypeRange:`const`,itemType:`group`,itemOption:{mode:`free`},itemChildren:[{itemId:`001`,itemName:`圆角`,itemKey:`borderRadiusType`,itemTypeRange:`const`,itemType:`TabSelect`,itemOption:{iParamList:[{key:``,value:`无`},{key:`0`,value:`全角`},{key:`1`,value:`自定义`}]},itemDefaultValue:``,itemCondition:`borderRadiusType`},{itemId:`002`,itemName:`圆角`,itemKey:`borderRadius`,itemTypeRange:`const,var`,itemType:`InputNumber`,itemOption:{type:`+integer`,iParamList:[{key:`0`,value:`0px`},{key:`4`,value:`4px`},{key:`6`,value:`6px`},{key:`8`,value:`8px`},{key:`10`,value:`10px`},{key:`12`,value:`12px`},{key:`16`,value:`16px`}]},itemDefaultValue:``,itemCondition:`borderRadiusType.0`},{itemId:`003`,itemName:`圆角上左`,itemKey:`borderTopLeftRadius`,itemTypeRange:`const,var`,itemType:`InputNumber`,itemOption:{},itemDefaultValue:``,itemCondition:`borderRadiusType.1`},{itemId:`004`,itemName:`圆角上右`,itemKey:`borderTopRightRadius`,itemTypeRange:`const,var`,itemType:`InputNumber`,itemOption:{},itemDefaultValue:``,itemCondition:`borderRadiusType.1`},{itemId:`005`,itemName:`圆角下右`,itemKey:`borderBottomRightRadius`,itemTypeRange:`const,var`,itemType:`InputNumber`,itemOption:{},itemDefaultValue:``,itemCondition:`borderRadiusType.1`},{itemId:`006`,itemName:`圆角下左`,itemKey:`borderBottomLeftRadius`,itemTypeRange:`const,var`,itemType:`InputNumber`,itemOption:{},itemDefaultValue:``,itemCondition:`borderRadiusType.1`}]},{itemId:`700`,itemName:`边框`,itemKey:`border`,itemTypeRange:`const`,itemType:`group`,itemOption:{mode:`free`},itemChildren:[{itemId:`001`,itemName:`边框`,itemKey:`isBorder`,itemTypeRange:`const`,itemType:`Switcher`,itemOption:{},itemDefaultValue:`0`,itemCondition:`isBorder`},{itemId:`002`,itemName:`边框宽度`,itemKey:`borderWidth`,itemTypeRange:`const,var`,itemType:`InputNumber`,itemOption:{},itemDefaultValue:`1`,itemCondition:`isBorder.1`},{itemId:`003`,itemName:`边框样式`,itemKey:`borderStyle`,itemTypeRange:`const,var`,itemType:`Select`,itemOption:{iParamList:[{key:`solid`,value:`solid`},{key:`dashed`,value:`dashed`},{key:`dotted`,value:`dotted`}]},itemDefaultValue:`solid`,itemCondition:`isBorder.1`},{itemId:`004`,itemName:`边框颜色`,itemKey:`borderColor`,itemTypeRange:`const,var`,itemType:`Color`,itemOption:{},itemDefaultValue:`#e7e7ee`,itemCondition:`isBorder.1`}]},{itemId:`800`,itemName:`阴影`,itemKey:`shadow`,itemTypeRange:`const`,itemType:`group`,itemOption:{mode:`free`},itemChildren:[{itemId:`001`,itemName:`阴影`,itemKey:`isShadow`,itemTypeRange:`const`,itemType:`Switcher`,itemDefaultValue:`0`,itemCondition:`isShadow`},{itemId:`002`,itemName:`阴影颜色`,itemKey:`shadowColor`,itemTypeRange:`const`,itemType:`Color`,itemDefaultValue:`#e7e7ee`,itemCondition:`isShadow.1`},{itemId:`003`,itemName:`x偏移`,itemKey:`shadowX`,itemTypeRange:`const`,itemType:`InputNumber`,itemDefaultValue:`0`,itemCondition:`isShadow.1`},{itemId:`004`,itemName:`y偏移`,itemKey:`shadowY`,itemTypeRange:`const`,itemType:`InputNumber`,itemDefaultValue:`0`,itemCondition:`isShadow.1`},{itemId:`005`,itemName:`阴影模糊`,itemKey:`shadowBlur`,itemTypeRange:`const`,itemType:`InputNumber`,itemDefaultValue:``,itemCondition:`isShadow.1`},{itemId:`006`,itemName:`阴影拓展`,itemKey:`shadowSpread`,itemType:`InputNumber`,itemTypeRange:`const`,itemDefaultValue:``,itemCondition:`isShadow.1`}]},{itemId:`900`,itemName:`转换`,itemKey:`transform`,itemTypeRange:`const`,itemType:`group`,itemOption:{mode:`free`},itemChildren:[{itemId:`001`,itemName:`旋转`,itemKey:`rotate`,itemTypeRange:`const`,itemType:`InputNumber`,itemOption:{symbol:`deg`,type:`integer`},itemDefaultValue:``}]},{itemId:`1000`,itemName:`高级`,itemKey:`other`,itemTypeRange:`const`,itemType:`group`,itemOption:{mode:`free`},itemChildren:[{itemId:`002`,itemName:`溢出`,itemKey:`overflow`,itemTypeRange:`const`,itemType:`Select`,itemOption:{iParamList:[{key:`hidden`,value:`隐藏`},{key:`visible`,value:`可见`}]},itemDefaultValue:`hidden`},{itemId:`001`,itemName:`不透明度`,itemKey:`opacity`,itemTypeRange:`const`,itemType:`InputNumber`,itemOption:{symbol:`%`,type:`+integer`},itemDefaultValue:``}]}]},$l={_source:`c9.6a9947d5.js module (directives meta)`,properties:[{itemId:`001`,itemName:`显示条件`,itemDesc:``,itemTypeRange:`const`,itemType:`Group`,itemKey:`v-show`,itemOption:{mode:`free`},itemChildren:[{itemId:`001`,itemName:`显隐设置`,itemType:`Select`,itemKey:`showType`,itemOption:{iParamList:[{key:`00`,value:`始终显示`},{key:`01`,value:`满足条件显示`},{key:`02`,value:`满足条件隐藏`}]},itemDefaultValue:`00`,itemCondition:`showType`},{itemId:`002`,itemName:`具体条件`,itemType:`IfForm`,itemKey:`condition`,itemOption:{},itemDefaultValue:{},itemCondition:`showType.01|02`}]}]},eu=e=>e===void 0?e:JSON.parse(JSON.stringify(e)),tu=0,nu=e=>`${e}_${(++tu).toString(36)}`,ru=Zl.components||{},iu=Ql.properties||[],au={};(function e(t,n=[],r=[]){t.forEach(t=>{let i=n.concat(t.itemId),a=r.concat(t.itemKey);au[i.join(`|`)]=t,au[a.join(`.`)]=t,t.itemChildren&&e(t.itemChildren,i,a)})})(iu);var ou=$l.properties||[],su=class{constructor(e={}){this.id=nu(`style`),this.state=Object.assign({},e.state||{}),this.visible=e.visible||{},this.meta=e.meta||{},this.properties=[],this.parseStateProperties(this.state,this.properties)}parseStateProperties(e,t=[]){let n=eu(e)||{};for(let e in n){let r=au[e];if(!r)continue;let i=new Z(r);t.push(i);let a=Object.keys(n[e]||{}),o=i.itemChildren?.properties||[],s=this.visible&&this.visible.flex;e===`flex`&&s&&typeof s==`object`&&s.flexShrink&&a.push(`flexShrink`);for(let e=0;e<o.length;e++)a.includes(o[e].itemKey)||o.splice(e--,1);Xl.setPropertyValue(o,n[e]),i.itemValueFrom=`0`,i.itemUpdated=!0}}onRestore(e={}){this.properties.length=0,this.parseStateProperties(this.state,this.properties);let t=this.properties.reduce((e,t)=>(e[t.itemId]=t,e),{}),n={append(e,t,n=[]){let r=[].concat(n);r.push(e.itemId);let i=au[r.join(`|`)],a=new Z(i||{});t.push(a),a.onRestore(eu(e),Jl.Delete)}};(e.properties||[]).forEach(e=>{let r=au[e.itemId];if(!r){let n=new Z(e);this.properties.push(n),t[e.itemId]=n,n.onRestore(e,Jl.Delete);return}let i=t[e.itemId];if(i)i.onRestore(e,Jl.Append,n);else{let n=new Z(r);this.properties.push(n),t[e.itemId]=n,n.onRestore(e,Jl.Delete)}}),Z.updatePropertyVisible(this.properties)}onPreview(){let e=this.properties.reduce((e,t)=>{let n=t.onPreview();return n&&Z.mergePreview(e,n),e},{});return{id:this.id,properties:e}}onExport(){return{properties:this.properties.reduce((e,t)=>{let n=t.onExport();return n&&e.push(n),e},[])}}applyChange(e,t){let n=e.onExport(t);if(!n)return;let r=e.itemId,i=this.properties.filter(e=>e.itemId===r)[0];if(!i){i=new Z(au[r]||{}),this.properties.push(i),i.onRestore(eu(n),Jl.Delete);return}let a=[r];for(let e=t;e;e=e.child)a.push(e.itemId);i.onRestore(eu(n),Jl.Append,{append(e,t){let n=au[a.join(`|`)],r=new Z(n||{});t.push(r),r.onRestore(eu(e),Jl.Delete)}})}},cu=class{constructor(e={}){this.id=nu(`slot`),this.slotKey=e.slotKey,this.slotName=e.slotName,this.slotDesc=e.slotDesc||``,this.slotScope=e.slotScope===!0||e.slotScope===`true`,this.slotWidth=e.slotWidth||``,this.slotHeight=e.slotHeight||``,this.slotSwitch=e.slotSwitch===void 0?`1`:e.slotSwitch,this.components=[]}onRestore(e={}){e.slotSwitch!==void 0&&(this.slotSwitch=e.slotSwitch),this.components=(e.components||[]).map(e=>fu(e))}onPreview(){return{id:this.id,slotKey:this.slotKey,slotScope:this.slotScope,slotDesc:this.slotDesc,slotSwitch:this.slotSwitch,slotWidth:this.slotWidth,slotHeight:this.slotHeight,components:this.components.reduce((e,t)=>{let n=t.onPreview();return n&&e.push(n),e},[])}}onExport(){return{slotKey:this.slotKey,slotScope:this.slotScope,slotSwitch:this.slotSwitch,components:(this.components||[]).map(e=>e&&typeof e.onExport==`function`?e.onExport():e)}}};function lu(e=[],t=[],n={}){let r={},i=t.length>0;return(e||[]).forEach(e=>{if(!e||!e.itemKey)return;let i=t.concat(e.itemKey);e.itemValueFrom===`1`?(r[e.itemKey]=e.itemDefaultValue,e.itemValue&&(n[i.join(`.`)]=e.itemValue)):e.itemValueFrom===`2`?r[e.itemKey]=e.itemValue:e.itemChildren&&e.itemChildren.properties?r[e.itemKey]=lu(e.itemChildren.properties,i,n):e.itemList?r[e.itemKey]=e.itemList.map((e,t)=>lu(e&&e.properties||[],i.concat(String(t)),n)):r[e.itemKey]=e.itemValue}),i||(r.__vars__=n),r}function uu(e={},t=[]){let n=e.event||{},r=(t||[]).filter(e=>e.eventKey===n.eventKey)[0]||{},i=e.action||{};return{event:{eventName:r.eventName,eventKey:r.eventKey},action:{actionType:i.actionType,properties:lu(i.properties||[])},schemaIndex:-1}}var du=class{constructor(e={}){let t=e.className,n=ru[t]||{};this.id=e.id||nu(`comp`),this.componentId=e.componentId||nu(String(t).toLowerCase()),this.name=e.name||n.name||t,this.className=t,this.version=e.version||n.version,this.visible=!0,this.metaMissing=!ru[t],this.style=new su({state:n.styleState,visible:n.styleVisible}),this.directives=ou.map(e=>new Z(e)),this.properties=(n.properties||[]).map(e=>new Z(e)),this.events=n.events||[],this.eventactions=[],this.slots=(n.slots||[]).map(e=>new cu(e)),this._schemaNode=e,this.onRestore(e)}onRestore(e={}){this.style.onRestore(e.style||{}),Z.restoreProperty(e.directives||[],this.directives),Z.updatePropertyVisible(this.directives),Z.restoreProperty(e.properties||[],this.properties),Z.updatePropertyVisible(this.properties),this.eventactions=(e.eventactions||[]).map((e,t)=>{let n=uu(e,this.events);return n.schemaIndex=t,n});let t=(e.slots||[]).reduce((e,t)=>(e[t.slotKey]=t,e),{});this.slots.forEach(e=>{t[e.slotKey]&&e.onRestore(t[e.slotKey])}),this.metaMissing&&!this.slots.length&&(e.slots||[]).length&&(e.slots||[]).forEach(e=>{let t=new cu({slotKey:e.slotKey,slotScope:e.slotScope});t.onRestore(e),this.slots.push(t)})}onPreview(){let e=this.directives.reduce((e,t)=>{let n=t.onPreview();return n&&Z.mergePreview(e,n),e},{}),t=this.properties.reduce((e,t)=>{let n=t.onPreview();return n&&Z.mergePreview(e,n),e},{}),n={id:this.id,componentId:this.componentId,name:this.name,className:this.className,version:this.version,directives:e,style:this.style.onPreview(),properties:t,eventactions:this.eventactions,slots:this.slots.map(e=>e.onPreview()),visible:this.visible,metaMissing:this.metaMissing||void 0,_schemaNode:this._schemaNode};return gu(n,{className:this.className,properties:this.properties,style:this.style.properties,directives:this.directives,events:this.events}),n}};function fu(e){return new du(e)}var pu=class{constructor(e={}){this.id=nu(`view`),this.width=e.width||`375`,this.className=e.className||`Root`,this.style=new su({state:{}}),this.properties=[],this.eventactions=[],this.components=[],this._schemaNode=e,this.onRestore(e)}onRestore(e={}){this.style.onRestore(e.style||{}),Z.restoreProperty(e.properties||[],this.properties),Z.updatePropertyVisible(this.properties),this.eventactions=(e.eventactions||[]).map((e,t)=>{let n=uu(e,[]);return n.schemaIndex=t,n}),this.components=(e.components||[]).map(e=>fu(e))}onPreview(){let e=this.properties.reduce((e,t)=>{let n=t.onPreview();return n&&Z.mergePreview(e,n),e},{}),t={id:this.id,componentId:this.id,width:this.width,className:this.className,style:this.style.onPreview(),properties:e,eventactions:this.eventactions,components:this.components.map(e=>e.onPreview()),_schemaNode:this._schemaNode};return gu(t,{className:this.className,properties:this.properties,style:this.style.properties,directives:[],events:[]}),t}};function mu(e){if(!e)return;let t=e=>(e||[]).reduce((e,t)=>(e[t.key]=t.defaultValue,e),{});return{dictionaryList:t(e.dictionaryList),inputParams:t(e.inputParams),mocks:e.mocks||{}}}function hu(e={}){let t=new pu(e.view||e),n=mu(e.dictionary);return{id:e.id,version:e.version,pageId:e.pageId,name:e.name,desc:e.desc,platform:e.platform,...n?{dictionary:n}:{},view:t.onPreview()}}function gu(e,t){Object.defineProperty(e,"_model",{value:t,enumerable:!1,configurable:!0,writable:!1})}function _u(){}var vu=Object.assign,yu=typeof window<`u`,bu=e=>typeof e==`object`&&!!e,xu=e=>e!=null,Su=e=>typeof e==`function`,Cu=e=>bu(e)&&Su(e.then)&&Su(e.catch),wu=e=>typeof e==`number`||/^\d+(\.\d+)?$/.test(e),Tu=()=>yu?/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()):!1;function Eu(e,t){let n=t.split(`.`),r=e;return n.forEach(e=>{r=bu(r)?r[e]??``:``}),r}function Du(e,t,n){return t.reduce((t,r)=>((!n||e[r]!==void 0)&&(t[r]=e[r]),t),{})}var Q=[Number,String],Ou={type:Boolean,default:!0},ku=e=>({type:Number,default:e}),Au=e=>({type:String,default:e}),ju=typeof window<`u`;function Mu(e){let t;Pr(()=>{e(),bn(()=>{t=!0})}),Dr(()=>{t&&e()})}function Nu(e,t,n={}){if(!ju)return;let{target:r=window,passive:i=!1,capture:a=!1}=n,o=!1,s,c=n=>{if(o)return;let r=Qt(n);r&&!s&&(r.addEventListener(e,t,{capture:a,passive:i}),s=!0)},l=n=>{if(o)return;let r=Qt(n);r&&s&&(r.removeEventListener(e,t,a),s=!1)};Rr(()=>l(r)),Or(()=>l(r)),Mu(()=>c(r));let u;return P(r)&&(u=Bn(r,(e,t)=>{l(t),c(e)})),()=>{u?.(),l(r),o=!0}}var Pu,Fu;function Iu(){if(!Pu&&(Pu=F(0),Fu=F(0),ju)){let e=()=>{Pu.value=window.innerWidth,Fu.value=window.innerHeight};e(),window.addEventListener(`resize`,e,{passive:!0}),window.addEventListener(`orientationchange`,e,{passive:!0})}return{width:Pu,height:Fu}}var Lu=/scroll|auto|overlay/i,Ru=ju?window:void 0;function zu(e){return e.tagName!==`HTML`&&e.tagName!==`BODY`&&e.nodeType===1}function Bu(e,t=Ru){let n=e;for(;n&&n!==t&&zu(n);){let{overflowY:e}=window.getComputedStyle(n);if(Lu.test(e))return n;n=n.parentNode}return t}Tu();var Vu=e=>e.stopPropagation();function Hu(e,t){(typeof e.cancelable!=`boolean`||e.cancelable)&&e.preventDefault(),t&&Vu(e)}var{width:Uu,height:Wu}=Iu();function Gu(e){if(xu(e))return wu(e)?`${e}px`:String(e)}function Ku(e){if(xu(e)){if(Array.isArray(e))return{width:Gu(e[0]),height:Gu(e[1])};let t=Gu(e);return{width:t,height:t}}}function qu(e){let t={};return e!==void 0&&(t.zIndex=+e),t}var Ju=/-(\w)/g,Yu=e=>e.replace(Ju,(e,t)=>t.toUpperCase()),{hasOwnProperty:Xu}=Object.prototype;function Zu(e,t,n){let r=t[n];xu(r)&&(e[n]=!Xu.call(e,n)||!bu(r)?r:Qu(Object(e[n]),r))}function Qu(e,t){return Object.keys(t).forEach(n=>{Zu(e,t,n)}),e}var $u={name:`姓名`,tel:`电话`,save:`保存`,clear:`清空`,undo:`撤销`,cancel:`取消`,confirm:`确认`,delete:`删除`,loading:`加载中...`,noCoupon:`暂无优惠券`,nameEmpty:`请填写姓名`,addContact:`添加联系人`,telInvalid:`请填写正确的电话`,vanCalendar:{end:`结束`,start:`开始`,title:`日期选择`,weekdays:[`日`,`一`,`二`,`三`,`四`,`五`,`六`],monthTitle:(e,t)=>`${e}\u5E74${t}\u6708`,rangePrompt:e=>`\u6700\u591A\u9009\u62E9 ${e} \u5929`},vanCascader:{select:`请选择`},vanPagination:{prev:`上一页`,next:`下一页`},vanPullRefresh:{pulling:`下拉即可刷新...`,loosing:`释放即可刷新...`},vanSubmitBar:{label:`合计:`},vanCoupon:{unlimited:`无门槛`,discount:e=>`${e}\u6298`,condition:e=>`\u6EE1${e}\u5143\u53EF\u7528`},vanCouponCell:{title:`优惠券`,count:e=>`${e}\u5F20\u53EF\u7528`},vanCouponList:{exchange:`兑换`,close:`不使用`,enable:`可用`,disabled:`不可用`,placeholder:`输入优惠码`},vanAddressEdit:{area:`地区`,areaEmpty:`请选择地区`,addressEmpty:`请填写详细地址`,addressDetail:`详细地址`,defaultAddress:`设为默认收货地址`},vanAddressList:{add:`新增地址`}},ed=F(`zh-CN`),td=j({"zh-CN":$u}),nd={messages(){return td[ed.value]},use(e,t){ed.value=e,this.add({[e]:t})},add(e={}){Qu(td,e)}};function rd(e){let t=Yu(e)+`.`;return(e,...n)=>{let r=nd.messages(),i=Eu(r,t+e)||Eu(r,e);return Su(i)?i(...n):i}}function id(e,t){return t?typeof t==`string`?` ${e}--${t}`:Array.isArray(t)?t.reduce((t,n)=>t+id(e,n),``):Object.keys(t).reduce((n,r)=>n+(t[r]?id(e,r):``),``):``}function ad(e){return(t,n)=>(t&&typeof t!=`string`&&(n=t,t=``),t=t?`${e}__${t}`:e,`${t}${id(t,n)}`)}function od(e){let t=`van-${e}`;return[t,ad(t),rd(t)]}var sd=`van-haptics-feedback`;function cd(e,{args:t=[],done:n,canceled:r,error:i}){if(e){let a=e.apply(null,t);Cu(a)?a.then(e=>{e?n():r&&r()}).catch(i||_u):a?n():r&&r()}else n()}function ld(e){return e.install=t=>{let{name:n}=e;n&&(t.component(n,e),t.component(Yu(`-${n}`),e))},e}var ud=Symbol();function dd(e){let t=La();t&&vu(t.proxy,e)}var[fd,pd]=od(`badge`),md=ld(yr({name:fd,props:{dot:Boolean,max:Q,tag:Au(`div`),color:String,offset:Array,content:Q,showZero:Ou,position:Au(`top-right`)},setup(e,{slots:t}){let n=()=>{if(t.content)return!0;let{content:n,showZero:r}=e;return xu(n)&&n!==``&&(r||n!==0&&n!==`0`)},r=()=>{let{dot:r,max:i,content:a}=e;if(!r&&n())return t.content?t.content():xu(i)&&wu(a)&&+a>+i?`${i}+`:a},i=e=>e.startsWith(`-`)?e.replace(`-`,``):`-${e}`,a=$a(()=>{let n={background:e.color};if(e.offset){let[r,a]=e.offset,{position:o}=e,[s,c]=o.split(`-`);t.default?(n[s]=typeof a==`number`?Gu(s===`top`?a:-a):s===`top`?Gu(a):i(a),n[c]=typeof r==`number`?Gu(c===`left`?r:-r):c===`left`?Gu(r):i(r)):(n.marginTop=Gu(a),n.marginLeft=Gu(r))}return n}),o=()=>{if(n()||e.dot)return K(`div`,{class:pd([e.position,{dot:e.dot,fixed:!!t.default}]),style:a.value},[r()])};return()=>{if(t.default){let{tag:n}=e;return K(n,{class:pd(`wrapper`)},{default:()=>[t.default(),o()]})}return o()}}})),hd=2e3,gd=()=>++hd,[_d,vd]=od(`config-provider`),yd=Symbol(_d),[bd,xd]=od(`icon`),Sd=e=>e?.includes(`/`),Cd=ld(yr({name:bd,props:{dot:Boolean,tag:Au(`i`),name:String,size:Q,badge:Q,color:String,badgeProps:Object,classPrefix:String},setup(e,{slots:t}){let n=Ln(yd,null),r=$a(()=>e.classPrefix||n?.iconPrefix||xd());return()=>{let{tag:n,dot:i,name:a,size:o,badge:s,color:c}=e,l=Sd(a);return K(md,ja({dot:i,tag:n,class:[r.value,l?``:`${r.value}-${a}`],style:{color:c,fontSize:Gu(o)},content:s},e.badgeProps),{default:()=>[t.default?.call(t),l&&K(`img`,{class:xd(`image`),src:a},null)]})}}})),[wd,Td]=od(`loading`),Ed=Array(12).fill(null).map((e,t)=>K(`i`,{class:Td(`line`,String(t+1))},null)),Dd=K(`svg`,{class:Td(`circular`),viewBox:`25 25 50 50`},[K(`circle`,{cx:`50`,cy:`50`,r:`20`,fill:`none`},null)]),Od=ld(yr({name:wd,props:{size:Q,type:Au(`circular`),color:String,vertical:Boolean,textSize:Q,textColor:String},setup(e,{slots:t}){let n=$a(()=>vu({color:e.color},Ku(e.size))),r=()=>{let r=e.type===`spinner`?Ed:Dd;return K(`span`,{class:Td(`spinner`,e.type),style:n.value},[t.icon?t.icon():r])},i=()=>{if(t.default)return K(`span`,{class:Td(`text`),style:{fontSize:Gu(e.textSize),color:e.textColor??e.color}},[t.default()])};return()=>{let{type:t,vertical:n}=e;return K(`div`,{class:Td([t,{vertical:n}]),"aria-live":`polite`,"aria-busy":!0},[r(),i()])}}})),kd={show:Boolean,zIndex:Q,overlay:Ou,duration:Q,teleport:[String,Object],lockScroll:Ou,lazyRender:Ou,beforeClose:Function,overlayProps:Object,overlayStyle:Object,overlayClass:null,transitionAppear:Boolean,closeOnClickOverlay:Ou};Object.keys(kd);function Ad(e,t){return e>t?`horizontal`:t>e?`vertical`:``}function jd(){let e=F(0),t=F(0),n=F(0),r=F(0),i=F(0),a=F(0),o=F(``),s=F(!0),c=()=>o.value===`vertical`,l=()=>o.value===`horizontal`,u=()=>{n.value=0,r.value=0,i.value=0,a.value=0,o.value=``,s.value=!0};return{move:(c=>{let l=c.touches[0];n.value=(l.clientX<0?0:l.clientX)-e.value,r.value=l.clientY-t.value,i.value=Math.abs(n.value),a.value=Math.abs(r.value),(!o.value||i.value<10&&a.value<10)&&(o.value=Ad(i.value,a.value)),s.value&&(i.value>5||a.value>5)&&(s.value=!1)}),start:(n=>{u(),e.value=n.touches[0].clientX,t.value=n.touches[0].clientY}),reset:u,startX:e,startY:t,deltaX:n,deltaY:r,offsetX:i,offsetY:a,direction:o,isVertical:c,isHorizontal:l,isTap:s}}var Md=0,Nd=`van-overflow-hidden`;function Pd(e,t){let n=jd(),r=t=>{n.move(t);let r=n.deltaY.value>0?`10`:`01`,i=Bu(t.target,e.value);for(;i.scrollHeight<=i.offsetHeight&&i!==e.value&&i.parentElement;)i=Bu(i.parentElement,e.value);let{scrollHeight:a,offsetHeight:o,scrollTop:s}=i,c=`11`;s===0?c=o>=a?`00`:`01`:s+o>=a&&(c=`10`),c!==`11`&&n.isVertical()&&!(parseInt(c,2)&parseInt(r,2))&&Hu(t,!0)},i=()=>{document.addEventListener(`touchstart`,n.start),document.addEventListener(`touchmove`,r,{passive:!1}),Md||document.body.classList.add(Nd),Md++},a=()=>{Md&&(document.removeEventListener(`touchstart`,n.start),document.removeEventListener(`touchmove`,r),Md--,Md||document.body.classList.remove(Nd))},o=()=>t()&&i(),s=()=>t()&&a();Mu(o),Or(s),Lr(s),Bn(t,e=>{e?i():a()})}function Fd(e){let t=F(!1);return Bn(e,e=>{e&&(t.value=e)},{immediate:!0}),e=>()=>t.value?e():null}var Id=()=>{let{scopeId:e}=La()?.vnode||{};return e?{[e]:``}:null},[Ld,Rd]=od(`overlay`),zd=ld(yr({name:Ld,inheritAttrs:!1,props:{show:Boolean,zIndex:Q,duration:Q,className:null,lockScroll:Ou,lazyRender:Ou,customStyle:Object,teleport:[String,Object]},setup(e,{attrs:t,slots:n}){let r=F(),i=Fd(()=>e.show||!e.lazyRender),a=t=>{e.lockScroll&&Hu(t,!0)},o=i(()=>{let i=vu(qu(e.zIndex),e.customStyle);return xu(e.duration)&&(i.animationDuration=`${e.duration}s`),Pn(K(`div`,ja({ref:r,style:i,class:[Rd(),e.className]},t),[n.default?.call(n)]),[[Po,e.show]])});return Nu(`touchmove`,a,{target:r}),()=>{let t=K(go,{name:`van-fade`,appear:!0},{default:o});return e.teleport?K(tr,{to:e.teleport},{default:()=>[t]}):t}}})),Bd=vu({},kd,{round:Boolean,position:Au(`center`),closeIcon:Au(`cross`),closeable:Boolean,transition:String,iconPrefix:String,closeOnPopstate:Boolean,closeIconPosition:Au(`top-right`),destroyOnClose:Boolean,safeAreaInsetTop:Boolean,safeAreaInsetBottom:Boolean}),[Vd,Hd]=od(`popup`),Ud=ld(yr({name:Vd,inheritAttrs:!1,props:Bd,emits:[`open`,`close`,`opened`,`closed`,`keydown`,`update:show`,`clickOverlay`,`clickCloseIcon`],setup(e,{emit:t,attrs:n,slots:r}){let i,a,o=F(),s=F(),c=Fd(()=>e.show||!e.lazyRender),l=$a(()=>{let t={zIndex:o.value};if(xu(e.duration)){let n=e.position===`center`?`animationDuration`:`transitionDuration`;t[n]=`${e.duration}s`}return t}),u=()=>{i||(i=!0,o.value=e.zIndex===void 0?gd():+e.zIndex,t(`open`))},d=()=>{i&&cd(e.beforeClose,{done(){i=!1,t(`close`),t(`update:show`,!1)}})},f=n=>{t(`clickOverlay`,n),e.closeOnClickOverlay&&d()},p=()=>{if(e.overlay)return K(zd,ja(vu({show:e.show,class:e.overlayClass,zIndex:o.value,duration:e.duration,customStyle:e.overlayStyle,role:e.closeOnClickOverlay?`button`:void 0,tabindex:e.closeOnClickOverlay?0:void 0},e.overlayProps),Id(),{onClick:f}),{default:r[`overlay-content`]})},m=e=>{t(`clickCloseIcon`,e),d()},h=()=>{if(e.closeable)return K(Cd,{role:`button`,tabindex:0,name:e.closeIcon,class:[Hd(`close-icon`,e.closeIconPosition),sd],classPrefix:e.iconPrefix,onClick:m},null)},g,_=()=>{g&&clearTimeout(g),g=setTimeout(()=>{t(`opened`)})},v=()=>t(`closed`),y=e=>t(`keydown`,e),b=c(()=>{let{destroyOnClose:t,round:i,position:a,safeAreaInsetTop:o,safeAreaInsetBottom:c,show:u}=e;if(u||!t)return Pn(K(`div`,ja({ref:s,style:l.value,role:`dialog`,tabindex:0,class:[Hd({round:i,[a]:a}),{"van-safe-area-top":o,"van-safe-area-bottom":c}],onKeydown:y},n,Id()),[r.default?.call(r),h()]),[[Po,u]])}),x=()=>{let{position:t,transition:n,transitionAppear:r}=e,i=t===`center`?`van-fade`:`van-popup-slide-${t}`;return K(go,{name:n||i,appear:r,onAfterEnter:_,onAfterLeave:v},{default:b})};return Bn(()=>e.show,e=>{e&&!i&&(u(),n.tabindex===0&&bn(()=>{var e;(e=s.value)==null||e.focus()})),!e&&i&&(i=!1,t(`close`))}),dd({popupRef:s}),Pd(s,()=>e.show&&e.lockScroll),Nu(`popstate`,()=>{e.closeOnPopstate&&(d(),a=!1)}),Pr(()=>{e.show&&u()}),Dr(()=>{a&&=(t(`update:show`,!0),!1)}),Or(()=>{e.show&&e.teleport&&(d(),a=!0)}),In(ud,()=>e.show),()=>e.teleport?K(tr,{to:e.teleport},{default:()=>[p(),x()]}):K(B,null,[p(),x()])}})),Wd=0;function Gd(e){e?(Wd||document.body.classList.add(`van-toast--unclickable`),Wd++):Wd&&(Wd--,Wd||document.body.classList.remove(`van-toast--unclickable`))}var[Kd,qd]=od(`toast`),Jd=[`show`,`overlay`,`teleport`,`transition`,`overlayClass`,`overlayStyle`,`closeOnClickOverlay`,`zIndex`],Yd=yr({name:Kd,props:{icon:String,show:Boolean,type:Au(`text`),overlay:Boolean,message:Q,iconSize:Q,duration:ku(2e3),position:Au(`middle`),teleport:[String,Object],wordBreak:String,className:null,iconPrefix:String,transition:Au(`van-fade`),loadingType:String,forbidClick:Boolean,overlayClass:null,overlayStyle:Object,closeOnClick:Boolean,closeOnClickOverlay:Boolean,zIndex:Q},emits:[`update:show`],setup(e,{emit:t,slots:n}){let r,i=!1,a=()=>{let t=e.show&&e.forbidClick;i!==t&&(i=t,Gd(i))},o=e=>t(`update:show`,e),s=()=>{e.closeOnClick&&o(!1)},c=()=>clearTimeout(r),l=()=>{let{icon:t,type:n,iconSize:r,iconPrefix:i,loadingType:a}=e;if(t||n===`success`||n===`fail`)return K(Cd,{name:t||n,size:r,class:qd(`icon`),classPrefix:i},null);if(n===`loading`)return K(Od,{class:qd(`loading`),size:r,type:a},null)},u=()=>{let{type:t,message:r}=e;if(n.message)return K(`div`,{class:qd(`text`)},[n.message()]);if(xu(r)&&r!==``)return t===`html`?K(`div`,{key:0,class:qd(`text`),innerHTML:String(r)},null):K(`div`,{class:qd(`text`)},[r])};return Bn(()=>[e.show,e.forbidClick],a),Bn(()=>[e.show,e.type,e.message,e.duration],()=>{c(),e.show&&e.duration>0&&(r=setTimeout(()=>{o(!1)},e.duration))}),Pr(a),Rr(a),()=>K(Ud,ja({class:[qd([e.position,e.wordBreak===`normal`?`break-normal`:e.wordBreak,{[e.type]:!e.icon}]),e.className],lockScroll:!1,onClick:s,onClosed:c,"onUpdate:show":o},Du(e,Jd)),{default:()=>[l(),u()]})}});function Xd(){let e=j({show:!1}),t=t=>{e.show=t},n=n=>{vu(e,n,{transitionAppear:!0}),t(!0)},r=()=>t(!1);return dd({open:n,close:r,toggle:t}),{open:n,close:r,state:e,toggle:t}}function Zd(e){let t=fs(e),n=document.createElement(`div`);return document.body.appendChild(n),{instance:t.mount(n),unmount(){t.unmount(),document.body.removeChild(n)}}}var Qd={icon:``,type:`text`,message:``,className:``,overlay:!1,onClose:void 0,onOpened:void 0,duration:2e3,teleport:`body`,iconSize:void 0,iconPrefix:void 0,position:`middle`,transition:`van-fade`,forbidClick:!1,loadingType:void 0,overlayClass:``,overlayStyle:void 0,closeOnClick:!1,closeOnClickOverlay:!1},$d=[],ef=vu({},Qd),tf=new Map;function nf(e){return bu(e)?e:{message:e}}function rf(){let{instance:e,unmount:t}=Zd({setup(){let e=F(``),{open:t,state:n,close:r,toggle:i}=Xd(),a=()=>{},o=()=>K(Yd,ja(n,{onClosed:a,"onUpdate:show":i}),null);return Bn(e,e=>{n.message=e}),La().render=o,{open:t,close:r,message:e}}});return e}function af(){if(!$d.length){let e=rf();$d.push(e)}return $d[$d.length-1]}function of(e={}){if(!yu)return{};let t=af(),n=nf(e);return t.open(vu({},ef,tf.get(n.type||ef.type),n)),t}var sf=j({stack:[]}),cf=0;async function lf(e,t){let n=e||{},r=n.cardCode,i=null;try{let e=await jl(`/__card/${encodeURIComponent(r)}`);if(e.ok){let t=await e.json();t&&t.schema&&(i=t)}}catch{}if(!i||!i.schema){typeof t==`function`&&t({success:!1,error:`card_not_found`,errorMessage:`未找到卡片 `+r});return}let a=sf.stack;for(let e=a.length-1;e>=0;e--)if(a[e].cardCode===r){let[t]=a.splice(e,1);if(t&&typeof t.callback==`function`)try{t.callback({success:!0,data:{event:`hidden`}})}catch{}break}let o=i.data&&typeof i.data==`object`?i.data:{},s=j(Object.assign({},o,n.data||{})),c=hu(i.schema),l=`alert-`+ ++cf;a.push({id:l,cardCode:r,preview:c,scope:s,gravity:n.gravity||`bottom`,width:typeof n.width==`number`?n.width:void 0,height:typeof n.height==`number`?n.height:void 0,offsetX:typeof n.offsetX==`number`?n.offsetX:0,offsetY:typeof n.offsetY==`number`?n.offsetY:0,clickOutsideCanHide:n.clickOutsideCanHide!==!1,callback:t})}function uf(e,t){let n=e||{},r=sf.stack,i=null;if(typeof n.index==`number`){let e=Math.abs(n.index);r.length>=e&&(i=r[r.length-e])}else if(n.cardCode){for(let e=r.length-1;e>=0;e--)if(r[e].cardCode===n.cardCode){i=r[e];break}}else i=r[r.length-1];if(!i){typeof t==`function`&&t({success:!1,error:`no_alert`,errorMessage:`没有可关闭的弹窗`});return}let a=r.indexOf(i);if(r.splice(a,1),typeof i.callback==`function`){if(n.data){let e=n.data;try{e=JSON.parse(JSON.stringify(n.data))}catch{}i.callback({success:!0,data:Object.assign({event:`hidden`},e)})}else i.callback({success:!0,data:{}})}typeof t==`function`&&t({success:!0})}var df=[7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21],ff=Array(64);for(let e=0;e<64;e++)ff[e]=Math.floor(Math.abs(Math.sin(e+1))*4294967296);var pf=(e,t,n)=>e&t|~e&n,mf=(e,t,n)=>e&n|t&~n,hf=(e,t,n)=>e^t^n,gf=(e,t,n)=>t^(e|~n);function _f(e){let t=``;for(let n=0;n<32;n+=8)t+=(e>>>n&255).toString(16).padStart(2,`0`);return t}function vf(e){let t=new TextEncoder().encode(String(e)),n=t.length,r=Math.ceil((n+9)/64)*16,i=new Uint32Array(r);for(let e=0;e<n;e++)i[e>>2]|=t[e]<<e%4*8;i[n>>2]|=128<<n%4*8;let a=n*8;i[r-2]=a>>>0,i[r-1]=Math.floor(a/4294967296);let o=1732584193,s=4023233417,c=2562383102,l=271733878;for(let e=0;e<r;e+=16){let t=o,n=s,r=c,a=l;for(let o=0;o<64;o++){let s,c;o<16?(s=pf(n,r,a),c=o):o<32?(s=mf(n,r,a),c=(5*o+1)%16):o<48?(s=hf(n,r,a),c=(3*o+5)%16):(s=gf(n,r,a),c=7*o%16);let l=a;a=r,r=n;let u=t+s+ff[o]+i[e+c]>>>0,d=df[(o>>4)*4+o%4];n=((u<<d|u>>>32-d)>>>0)+n>>>0,t=l}o=o+t>>>0,s=s+n>>>0,c=c+r>>>0,l=l+a>>>0}return _f(o)+_f(s)+_f(c)+_f(l)}var $=j({dialog:null,picker:null,datePicker:null,keyboard:null,loadingEx:null}),yf=[],bf=0,xf=null,Sf=[],Cf=0,wf=[],Tf=0,Ef=2200;function Df(e,t){if(typeof e==`function`)try{e(t)}catch{}}function Of(){$.dialog=yf.length?yf.shift():null}function kf(e,t){let n=e||{};yf.push({id:++bf,title:n.title||``,message:n.message==null?``:String(n.message),okButton:n.okButton||`确定`,cancelButton:n.cancelButton||``,clickBgToHide:n.clickBgToHide===!0,cancelGrayStyle:n.cancelGrayStyle===!0,callback:t}),$.dialog||Of()}function Af(e,t){let n=e||{},r=n.showIcon==null?``:String(n.showIcon),i=r===`1`?`success`:r===`0`?`fail`:`text`;try{of({type:i,message:n.message==null?``:String(n.message),duration:Ef,teleport:document.querySelector(`.phone-viewport`)||void 0})}catch{}Df(t,{success:!0,data:{}})}function jf(e,t){let n=e||{},r=Array.isArray(n.currentValue)?n.currentValue:[];r.length&&Array.isArray(r[0])&&(r=r[0]),Sf.push({id:++Cf,title:n.title||``,mode:n.mode===`multi`?`multi`:`single`,dataSource:Array.isArray(n.dataSource)?n.dataSource:[],currentValue:r.map(e=>String(e)),callback:t}),$.picker||Mf()}function Mf(){$.picker=Sf.length?Sf.shift():null}function Nf(e,t){let n=e||{},r=[`year_month_day`,`year_month`,`month_day`].includes(n.type)?n.type:`year_month_day`;wf.push({id:++Tf,title:n.title||``,type:r,startDate:n.startDate||`1970-1-1`,endDate:n.endDate||`2100-12-31`,selectDate:n.selectDate||``,callback:t}),$.datePicker||Pf()}function Pf(){$.datePicker=wf.length?wf.shift():null}var Ff=[`number`,`password`,`idcard`];function If(e){let t=``;for(let n=0;n<e.length;n++)t+=e.charCodeAt(n).toString(16).padStart(2,`0`);return t}function Lf(e){let t=!1,n=!1,r=!1;for(let i of e)i>=`0`&&i<=`9`?t=!0:i>=`a`&&i<=`z`||i>=`A`&&i<=`Z`?n=!0:r=!0;return+!!t+ +!!n+ +!!r}function Rf(e){if(!e)return!1;if(/^(.)\1*$/.test(e))return!0;if(e.length>=3){let t=!0,n=!0;for(let r=1;r<e.length;r++){let i=e.charCodeAt(r)-e.charCodeAt(r-1);i!==1&&(t=!1),i!==-1&&(n=!1)}if(t||n)return!0}return!1}function zf(e,t){let n=e.value;return{success:!0,data:{value:e.isEncry?If(n):n,md5:vf(n),inputSimple:Rf(n),inputLevel:Lf(n),isMatch:!e.regular||new RegExp(e.regular).test(n),length:n.length,action:t,error:`0`,errorMessage:``}}}function Bf(e,t){let n=e||{},r=Ff.includes(n.type)?n.type:`number`;$.keyboard&&Vf();let i=n.max==null?n.maxLength:n.max,a=Number(i)>0?Number(i):r===`password`?6:r===`idcard`?18:0,o=n.isEncry===void 0?r!==`number`:!!n.isEncry;$.keyboard={type:r,maxLength:a,random:n.random===void 0?r!==`number`:!!n.random,extraKey:r===`idcard`?`X`:``,isEncry:o,encryptType:n.encryptType||(o?`SM2SM4`:``),randomKey:n.randomKey||``,regular:n.regular||``,value:``,callback:t}}function Vf(){let e=$.keyboard;e&&($.keyboard=null,Df(e.callback,zf(e,`hide`)))}function Hf(e,t){Vf(),Df(t,{success:!0,data:{}})}function Uf(e,t){let n=e||{},r=n.message==null?``:String(n.message),i=Number(n.duration)>0?Number(n.duration):8;xf&&=(clearTimeout(xf),null),$.loadingEx={message:r},xf=setTimeout(()=>{xf=null,$.loadingEx=null},i*1e3),Df(t,{success:!0,data:{}})}function Wf(e,t){xf&&=(clearTimeout(xf),null),$.loadingEx=null,Df(t,{success:!0,data:{}})}function Gf(e,t){let n=e||{},r=n.text==null?``:String(n.text),i=()=>Df(t,{success:!1,error:`-1`,errorMessage:`复制失败`,data:{}}),a=()=>Df(t,{success:!0,data:{}}),o=()=>{try{let e=document.createElement(`textarea`);e.value=r,e.style.cssText=`position:fixed;opacity:0;pointer-events:none`,document.body.appendChild(e),e.select();let t=document.execCommand(`copy`);return document.body.removeChild(e),t}catch{return!1}};navigator.clipboard&&window.isSecureContext?navigator.clipboard.writeText(r).then(a,()=>o()?a():i()):o()?a():i()}var Kf={alertCard:(e,t)=>lf(e,t),closeAlertCard:(e,t)=>uf(e,t),alertDialog:kf,showToast:Af,showPicker:jf,showDatePicker:Nf,showKeyboard:Bf,hideKeyboard:Hf,showLoadingEx:Uf,hideLoadingEx:Wf,copyToClipboard:Gf};function qf(e){typeof window<`u`&&(window.ynet={callJSAPI(t,n,r){e&&e.pushApiCall&&e.pushApiCall(t,n);let i=Kf[t];i?i(n,r):Df(r,{success:!0,data:{}})}})}var Jf={name:`CardPreview`,components:{RenderTree:wl},props:{schema:{type:Object,required:!0},data:{type:Object,default:()=>({})},width:{type:[String,Number],default:375}},provide(){return{adapter:this.adapter,cardRuntime:this.runtime,customComponents:{}}},data(){let e=new zl({apiBase:``}),t=Wl(this.data||{},e);return qf(t),{adapter:e,runtime:t,preview:hu(this.schema),ready:!1}},computed:{screenStyle(){return{width:(Number(this.width)||this.preview&&this.preview.view&&this.preview.view.width||375)+`px`}}},mounted(){this.$nextTick(()=>{this.ready=!0})}},Yf={class:`card-preview`},Xf=[`data-card-ready`];function Zf(e,t,n,r,i,a){let o=Wr(`RenderTree`);return U(),W(`div`,Yf,[G(`div`,{class:`phone__screen phone__screen--bg-white`,style:D(a.screenStyle),"data-card-ready":i.ready?`1`:null},[i.preview?(U(),_a(o,{key:0,node:i.preview.view,scope:i.runtime.state},null,8,[`node`,`scope`])):Da(`v-if`,!0)],12,Xf)])}var Qf=X(Jf,[[`render`,Zf]]),$f=new URLSearchParams(window.location.search),ep=$f.get(`card`)||``,tp=Number($f.get(`width`)||375);async function np(){let e=await fetch(`/__standalone-card/${encodeURIComponent(ep)}`);if(!e.ok){let t=await e.json().catch(()=>({}));throw Error(t.message||`HTTP ${e.status}`)}let{schema:t,data:n}=await e.json(),r=fs({render(){return eo(Qf,{schema:t,data:n,width:tp})}});r.config.errorHandler=(e,t,n)=>{console.error(`[standalone render error]`,n,e)},r.mount(`#app`)}np().catch(e=>{console.error(`[standalone boot failed]`,e),document.body.setAttribute(`data-boot-error`,String(e&&e.message||e))});