vue-color-ui 0.0.61 → 0.0.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/style.css CHANGED
@@ -1 +1 @@
1
- .nav-list{display:flex;flex-wrap:wrap;padding:0 20px;justify-content:space-between}.nav-li{padding:15px;border-radius:6px;width:45%;margin:0 2.5% 20px;background-size:cover;background-position:center;position:relative;z-index:1;cursor:pointer}.nav-li:after{content:"";position:absolute;z-index:-1;background-color:inherit;width:100%;height:100%;left:0;bottom:-10%;border-radius:5px;opacity:.2;transform:scale(.9)}.nav-li.cur{color:#fff;background:#5eb95e;box-shadow:2px 2px 3px #5eb95e66}.nav-title{font-size:16px;font-weight:300}.nav-title:first-letter{font-size:20px;margin-right:2px}.nav-name{font-size:14px;text-transform:Capitalize;margin-top:10px;position:relative}.nav-name:before{content:"";position:absolute;display:block;width:20px;height:3px;background:#fff;bottom:0;right:0;opacity:.5}.nav-name:after{content:"";position:absolute;display:block;width:50px;height:1px;background:#fff;bottom:0;right:20px;opacity:.3}.nav-name:first-letter{font-weight:700;font-size:18px;margin-right:1px}.nav-li text{position:absolute;right:15px;top:15px;font-size:26px;width:30px;height:30px;text-align:center;line-height:30px}.text-light{font-weight:300}@keyframes show{0%{transform:translateY(-50px)}60%{transform:translateY(20px)}to{transform:translateY(0)}}@-webkit-keyframes show{0%{transform:translateY(-50px)}60%{transform:translateY(20px)}to{transform:translateY(0)}}.cu-card-cover[data-v-bbdb83ff]{width:100%}.cu-card .content img[data-v-bbdb83ff]{width:33%;object-fit:cover}.cu-card-cover{width:100%}.cu-card .content img{width:33%;object-fit:cover}.cu-card.product.is-card[data-v-fd7d4356]{box-shadow:0 2px 12px #00000014!important;border:none!important}.cu-card.product .cu-item[data-v-fd7d4356]{transition:all .3s ease;cursor:pointer;border:none!important}.cu-card.product .cu-item[data-v-fd7d4356]:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f}.product-image[data-v-fd7d4356]{position:relative;width:100%;height:200px;overflow:hidden;border-radius:8px 8px 0 0}.product-image .bg-img[data-v-fd7d4356]{width:100%;height:100%;background-size:cover;background-position:center;transition:transform .3s ease}.cu-card.product .cu-item:hover .product-image .bg-img[data-v-fd7d4356]{transform:scale(1.05)}.product-badge[data-v-fd7d4356]{position:absolute;top:12px;left:12px;padding:4px 10px;border-radius:12px;font-size:11px;color:#fff;font-weight:600;box-shadow:0 2px 8px #0003;z-index:2}.product-discount[data-v-fd7d4356]{position:absolute;top:12px;right:12px;padding:4px 10px;background:linear-gradient(135deg,#ff6b6b,#ee5a6f);border-radius:12px;font-size:11px;color:#fff;font-weight:600;box-shadow:0 2px 8px #ff6b6b4d;z-index:2}.product-info[data-v-fd7d4356]{padding:16px}.product-title[data-v-fd7d4356]{font-size:15px;font-weight:600;color:#333;margin-bottom:8px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-subtitle[data-v-fd7d4356]{margin-bottom:10px;line-height:1.5;color:#666;font-size:13px}.product-price[data-v-fd7d4356]{display:flex;align-items:baseline;gap:8px;margin-bottom:12px}.price-current[data-v-fd7d4356]{font-size:20px;font-weight:700;color:#ff4757;letter-spacing:-.5px}.price-original[data-v-fd7d4356]{text-decoration:line-through;color:#999;font-size:13px}.product-tags[data-v-fd7d4356]{display:flex;gap:6px;margin-bottom:12px;flex-wrap:wrap}.product-tags .cu-tag[data-v-fd7d4356]{font-size:11px;padding:3px 8px;border-radius:10px;height:auto}.product-footer[data-v-fd7d4356]{display:flex;align-items:center;padding-top:12px;border-top:1px solid #f0f0f0;color:#888;font-size:12px}.product-footer span[data-v-fd7d4356]{display:inline-flex;align-items:center}.cu-card.profile.is-card[data-v-e849d1ac]{box-shadow:0 2px 12px #00000014!important;border:none!important}.cu-card.profile .cu-item[data-v-e849d1ac]{overflow:hidden;transition:all .3s ease;border:none!important}.cu-card.profile .cu-item[data-v-e849d1ac]:hover{box-shadow:0 8px 24px #0000001f}.profile-header[data-v-e849d1ac]{padding:32px 20px 24px;text-align:center;position:relative;background:linear-gradient(135deg,var(--bg-color-start, #667eea) 0%,var(--bg-color-end, #764ba2) 100%)}.profile-avatar[data-v-e849d1ac]{position:relative;display:inline-block;margin-bottom:14px}.profile-avatar .cu-avatar[data-v-e849d1ac]{box-shadow:0 4px 12px #0003;border:3px solid rgba(255,255,255,.3);transition:transform .3s ease}.cu-card.profile .cu-item:hover .profile-avatar .cu-avatar[data-v-e849d1ac]{transform:scale(1.05)}.profile-verified[data-v-e849d1ac]{position:absolute;bottom:2px;right:2px;width:26px;height:26px;background:linear-gradient(135deg,#4caf50,#45a049);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:14px;border:3px solid white;box-shadow:0 2px 8px #4caf5066}.profile-name[data-v-e849d1ac]{font-size:20px;font-weight:700;color:#fff;margin-bottom:8px;text-shadow:0 2px 4px rgba(0,0,0,.1)}.profile-title[data-v-e849d1ac]{opacity:.95;font-size:13px}.profile-content[data-v-e849d1ac]{padding:24px 16px}.profile-desc[data-v-e849d1ac]{margin-bottom:20px;line-height:1.7;text-align:center;color:#555;font-size:14px}.profile-stats[data-v-e849d1ac]{display:flex;justify-content:space-around;padding:20px 0;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0;margin-bottom:20px}.stat-item[data-v-e849d1ac]{text-align:center;cursor:pointer;flex:1;transition:transform .2s ease;padding:8px;border-radius:8px}.stat-item[data-v-e849d1ac]:hover{background:#f8f9fa;transform:translateY(-2px)}.stat-value[data-v-e849d1ac]{font-size:20px;font-weight:700;color:#333;margin-bottom:6px;line-height:1.2}.stat-label[data-v-e849d1ac]{font-size:13px;color:#666}.profile-tags[data-v-e849d1ac]{display:flex;gap:8px;margin-bottom:20px;justify-content:center;flex-wrap:wrap}.profile-tags .cu-tag[data-v-e849d1ac]{font-size:12px;padding:3px 12px;border-radius:12px;height:auto}.profile-actions[data-v-e849d1ac]{display:flex;gap:12px;justify-content:center}.profile-actions .cu-btn[data-v-e849d1ac]{min-width:100px;border-radius:20px;font-weight:600;transition:all .3s ease}.profile-actions .cu-btn[data-v-e849d1ac]:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.profile-actions .cu-btn[class*=line][data-v-e849d1ac]:after{border:none!important}.stat-card[data-v-88732615]{padding:24px;border-radius:12px;position:relative;overflow:hidden;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 4px 12px #0000001a;min-height:140px;display:flex;flex-direction:column;justify-content:space-between}.stat-card[data-v-88732615]:before{content:"";position:absolute;top:-50%;right:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);pointer-events:none}.stat-card[data-v-88732615]:hover{transform:translateY(-4px) scale(1.02);box-shadow:0 8px 24px #00000026}.stat-card[data-v-88732615]:after{content:"";position:absolute;z-index:-1;background-color:inherit;width:100%;height:100%;left:0;bottom:-12%;border-radius:8px;opacity:.25;transform:scale(.92);filter:blur(8px)}.stat-icon[data-v-88732615]{font-size:40px;color:#fff;opacity:.95;margin-bottom:16px;text-shadow:0 2px 8px rgba(0,0,0,.2);transition:transform .3s ease}.stat-card:hover .stat-icon[data-v-88732615]{transform:scale(1.1) rotate(5deg)}.stat-content[data-v-88732615]{color:#fff;z-index:1}.stat-value[data-v-88732615]{font-size:32px;font-weight:700;margin-bottom:6px;line-height:1.2;text-shadow:0 2px 4px rgba(0,0,0,.1);letter-spacing:-.5px}.stat-label[data-v-88732615]{font-size:14px;opacity:.95;margin-bottom:4px;font-weight:500}.stat-sublabel[data-v-88732615]{font-size:12px;opacity:.85;margin-top:4px}.stat-trend[data-v-88732615]{position:absolute;top:16px;right:16px;font-size:12px;font-weight:700;padding:6px 10px;border-radius:12px;background:#ffffff40;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:flex;align-items:center;gap:4px;box-shadow:0 2px 8px #0000001a;transition:all .3s ease}.stat-card:hover .stat-trend[data-v-88732615]{background:#ffffff59;transform:scale(1.1)}.trend-up[data-v-88732615]{color:#4caf50}.trend-down[data-v-88732615]{color:#ff5252}.cu-card.image.is-card[data-v-0c86f8a4]{box-shadow:0 2px 12px #00000014!important;border:none!important}.cu-card.image .cu-item[data-v-0c86f8a4]{transition:all .3s ease;cursor:pointer;overflow:hidden;border:none!important}.cu-card.image .cu-item[data-v-0c86f8a4]:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f}.image-card-header[data-v-0c86f8a4]{padding:14px 16px;border-bottom:1px solid #f0f0f0;background:#fafafa}.image-card-content[data-v-0c86f8a4]{position:relative;overflow:hidden}.bg-img[data-v-0c86f8a4]{width:100%;background-size:cover;background-position:center;transition:transform .5s ease}.cu-card.image .cu-item:hover .bg-img[data-v-0c86f8a4]{transform:scale(1.08)}.image-square[data-v-0c86f8a4]{height:220px}.image-wide[data-v-0c86f8a4]{height:180px}.image-tall[data-v-0c86f8a4]{height:320px}.image-overlay[data-v-0c86f8a4]{position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,#00000080,#0000004d);display:flex;align-items:center;justify-content:center;color:#fff;opacity:0;transition:opacity .3s ease}.cu-card.image .cu-item:hover .image-overlay[data-v-0c86f8a4]{opacity:1}.overlay-content[data-v-0c86f8a4]{display:flex;flex-direction:column;align-items:center;gap:10px;font-size:16px;font-weight:600;transform:translateY(10px);transition:transform .3s ease}.cu-card.image .cu-item:hover .overlay-content[data-v-0c86f8a4]{transform:translateY(0)}.overlay-content span[class*=cuIcon-][data-v-0c86f8a4]{font-size:36px;filter:drop-shadow(0 2px 4px rgba(0,0,0,.3))}.image-card-info[data-v-0c86f8a4]{padding:16px}.image-title[data-v-0c86f8a4]{font-size:16px;font-weight:600;color:#333;margin-bottom:8px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.image-desc[data-v-0c86f8a4]{line-height:1.6;color:#666;font-size:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.image-card-footer[data-v-0c86f8a4]{padding:12px 16px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #f0f0f0;background:#fafafa}.footer-left[data-v-0c86f8a4]{display:flex;align-items:center;gap:16px}.footer-left span[data-v-0c86f8a4]{display:inline-flex;align-items:center;color:#666;font-size:13px}.footer-action[data-v-0c86f8a4]{font-size:22px;color:#666;cursor:pointer;transition:all .3s ease;padding:4px;border-radius:50%;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.footer-action[data-v-0c86f8a4]:hover{background:#f0f0f0;color:#333;transform:scale(1.1)}.tabbar .action{min-width:50px!important}.cu-bar .search-form input[data-v-bd9fd5b7]{border:none!important;outline:none!important}.cu-bar .search-form input[data-v-bd9fd5b7]:focus{border:none!important;outline:none!important}.string-list[data-v-3ba18203]{width:100%;display:block;list-style:none;background-color:#fff;padding:2px 5px;margin:0;box-shadow:0 4px 8px #0000001a}.string-list li[data-v-3ba18203]{line-height:1.5rem;padding:8px 12px;border-bottom:1px solid #eee;transition:background-color .3s,color .3s}.string-list li[data-v-3ba18203]:last-child{border-bottom:none}.string-list li[data-v-3ba18203]:hover{background-color:#f0f0f0;color:#333;cursor:pointer;border-radius:4px}.emoji-panel[data-v-e9a4aa4d]{background-color:#fff;border:1px solid #ccc;padding:10px;display:flex;flex-wrap:wrap;z-index:1000;height:280px;overflow-y:auto}.emoji-panel span[data-v-e9a4aa4d]{cursor:pointer;font-size:24px;margin:5px}.function-panel-container[data-v-3ef96b26]{background-color:#fff;box-sizing:border-box;width:100vw;border-top:1px solid #66666631}.function-panel[data-v-3ef96b26]{display:flex;flex-wrap:wrap;background-color:#fff;padding:10px;z-index:1000;max-width:360px;gap:18px;margin:0 auto}.function-item[data-v-3ef96b26]{display:flex;flex-direction:column;align-items:center;margin:10px 0;cursor:pointer;width:70px;height:70px;background-color:#f9f9f9;border-radius:10px;justify-content:center;transition:background-color .3s}.function-item[data-v-3ef96b26]:hover{background-color:#e6e6e6}.function-item span[data-v-3ef96b26]{margin-top:5px;font-size:14px;color:#333;text-align:center}.t-input-bar-container[data-v-5c0d8d64]{display:block;width:100%}input[data-v-5c0d8d64]:focus{outline:none}.cu-bar.input[data-v-5c0d8d64]{display:flex;align-items:center;background-color:#fff}.cu-bar.input .action[data-v-5c0d8d64]{display:flex;align-items:center;justify-content:center}.cu-bar.input input[data-v-5c0d8d64]{flex:1;border:none;background:transparent}.tab-content{padding:10px 16px;background:#fff}.reply-preview[data-v-2e628864]{background-color:#f5f5f5;border-left:3px solid #0081ff;padding:4px 8px;margin:4px 0;border-radius:2px;font-size:11px;color:#666;cursor:pointer;transition:background-color .2s;max-width:100%;overflow:hidden}.reply-preview[data-v-2e628864]:hover{background-color:#eee}.reply-content[data-v-2e628864]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reply-label[data-v-2e628864]{color:#0081ff;font-weight:700;margin-right:5px}.link-content[data-v-52c7eb4d]{padding:0;overflow:hidden;max-width:300px}.link-item[data-v-52c7eb4d]{display:flex;align-items:center;padding:12px;text-decoration:none;color:inherit;transition:background-color .2s}.link-item[data-v-52c7eb4d]:hover{background-color:#00000005}.link-icon[data-v-52c7eb4d]{flex-shrink:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;margin-right:12px;border-radius:6px;background:#f5f5f5}.emoji[data-v-52c7eb4d],.link-icon-font[data-v-52c7eb4d]{font-size:20px}.link-info[data-v-52c7eb4d]{flex:1;min-width:0}.link-title[data-v-52c7eb4d]{font-weight:500;font-size:14px;line-height:1.4;margin-bottom:4px;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.link-url[data-v-52c7eb4d]{font-size:12px;color:#666;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-content[data-v-52c7eb4d]{padding:16px;max-width:280px;position:relative;display:inline-block!important}.card-content[data-v-52c7eb4d]:after,.card-content[data-v-52c7eb4d]:before{display:none!important}.card-header[data-v-52c7eb4d]{display:flex;align-items:center;margin-bottom:8px}.card-emoji[data-v-52c7eb4d],.card-icon[data-v-52c7eb4d]{font-size:18px;margin-right:8px;flex-shrink:0}.card-title[data-v-52c7eb4d]{margin:0;font-size:16px;font-weight:600;color:#333;flex:1;min-width:0}.card-body[data-v-52c7eb4d]{font-size:14px;line-height:1.5;color:#666;margin-bottom:12px;word-wrap:break-word}.card-footer[data-v-52c7eb4d]{text-align:right;margin-top:8px}.card-link[data-v-52c7eb4d]{color:#1890ff;text-decoration:none;font-size:12px;display:inline-block}.card-link[data-v-52c7eb4d]:hover{text-decoration:underline}@media (max-width: 480px){.link-content[data-v-52c7eb4d],.card-content[data-v-52c7eb4d]{max-width:250px}.link-icon[data-v-52c7eb4d]{width:32px;height:32px;margin-right:8px}.emoji[data-v-52c7eb4d],.link-icon-font[data-v-52c7eb4d]{font-size:16px}.card-content[data-v-52c7eb4d]{padding:12px}}.loading-animation[data-v-e5a9ce26]{display:inline-flex;justify-content:center;align-items:center}canvas[data-v-e5a9ce26]{display:block;margin:0 auto;max-width:100%;max-height:100%}.slide-wrapper[data-v-392cb42c]{overflow:hidden;position:relative;width:100vw;height:100vh}.slide-list[data-v-392cb42c]{position:absolute;width:100%;transition:transform .3s ease}.slide-item[data-v-392cb42c]{position:absolute;width:100%}
1
+ .nav-list{display:flex;flex-wrap:wrap;padding:0 20px;justify-content:space-between}.nav-li{padding:15px;border-radius:6px;width:45%;margin:0 2.5% 20px;background-size:cover;background-position:center;position:relative;z-index:1;cursor:pointer}.nav-li:after{content:"";position:absolute;z-index:-1;background-color:inherit;width:100%;height:100%;left:0;bottom:-10%;border-radius:5px;opacity:.2;transform:scale(.9)}.nav-li.cur{color:#fff;background:#5eb95e;box-shadow:2px 2px 3px #5eb95e66}.nav-title{font-size:16px;font-weight:300}.nav-title:first-letter{font-size:20px;margin-right:2px}.nav-name{font-size:14px;text-transform:Capitalize;margin-top:10px;position:relative}.nav-name:before{content:"";position:absolute;display:block;width:20px;height:3px;background:#fff;bottom:0;right:0;opacity:.5}.nav-name:after{content:"";position:absolute;display:block;width:50px;height:1px;background:#fff;bottom:0;right:20px;opacity:.3}.nav-name:first-letter{font-weight:700;font-size:18px;margin-right:1px}.nav-li text{position:absolute;right:15px;top:15px;font-size:26px;width:30px;height:30px;text-align:center;line-height:30px}.text-light{font-weight:300}@keyframes show{0%{transform:translateY(-50px)}60%{transform:translateY(20px)}to{transform:translateY(0)}}@-webkit-keyframes show{0%{transform:translateY(-50px)}60%{transform:translateY(20px)}to{transform:translateY(0)}}.cu-card-cover[data-v-bbdb83ff]{width:100%}.cu-card .content img[data-v-bbdb83ff]{width:33%;object-fit:cover}.cu-card-cover{width:100%}.cu-card .content img{width:33%;object-fit:cover}.cu-card.product.is-card[data-v-fd7d4356]{box-shadow:0 2px 12px #00000014!important;border:none!important}.cu-card.product .cu-item[data-v-fd7d4356]{transition:all .3s ease;cursor:pointer;border:none!important}.cu-card.product .cu-item[data-v-fd7d4356]:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f}.product-image[data-v-fd7d4356]{position:relative;width:100%;height:200px;overflow:hidden;border-radius:8px 8px 0 0}.product-image .bg-img[data-v-fd7d4356]{width:100%;height:100%;background-size:cover;background-position:center;transition:transform .3s ease}.cu-card.product .cu-item:hover .product-image .bg-img[data-v-fd7d4356]{transform:scale(1.05)}.product-badge[data-v-fd7d4356]{position:absolute;top:12px;left:12px;padding:4px 10px;border-radius:12px;font-size:11px;color:#fff;font-weight:600;box-shadow:0 2px 8px #0003;z-index:2}.product-discount[data-v-fd7d4356]{position:absolute;top:12px;right:12px;padding:4px 10px;background:linear-gradient(135deg,#ff6b6b,#ee5a6f);border-radius:12px;font-size:11px;color:#fff;font-weight:600;box-shadow:0 2px 8px #ff6b6b4d;z-index:2}.product-info[data-v-fd7d4356]{padding:16px}.product-title[data-v-fd7d4356]{font-size:15px;font-weight:600;color:#333;margin-bottom:8px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-subtitle[data-v-fd7d4356]{margin-bottom:10px;line-height:1.5;color:#666;font-size:13px}.product-price[data-v-fd7d4356]{display:flex;align-items:baseline;gap:8px;margin-bottom:12px}.price-current[data-v-fd7d4356]{font-size:20px;font-weight:700;color:#ff4757;letter-spacing:-.5px}.price-original[data-v-fd7d4356]{text-decoration:line-through;color:#999;font-size:13px}.product-tags[data-v-fd7d4356]{display:flex;gap:6px;margin-bottom:12px;flex-wrap:wrap}.product-tags .cu-tag[data-v-fd7d4356]{font-size:11px;padding:3px 8px;border-radius:10px;height:auto}.product-footer[data-v-fd7d4356]{display:flex;align-items:center;padding-top:12px;border-top:1px solid #f0f0f0;color:#888;font-size:12px}.product-footer span[data-v-fd7d4356]{display:inline-flex;align-items:center}.cu-card.profile.is-card[data-v-e849d1ac]{box-shadow:0 2px 12px #00000014!important;border:none!important}.cu-card.profile .cu-item[data-v-e849d1ac]{overflow:hidden;transition:all .3s ease;border:none!important}.cu-card.profile .cu-item[data-v-e849d1ac]:hover{box-shadow:0 8px 24px #0000001f}.profile-header[data-v-e849d1ac]{padding:32px 20px 24px;text-align:center;position:relative;background:linear-gradient(135deg,var(--bg-color-start, #667eea) 0%,var(--bg-color-end, #764ba2) 100%)}.profile-avatar[data-v-e849d1ac]{position:relative;display:inline-block;margin-bottom:14px}.profile-avatar .cu-avatar[data-v-e849d1ac]{box-shadow:0 4px 12px #0003;border:3px solid rgba(255,255,255,.3);transition:transform .3s ease}.cu-card.profile .cu-item:hover .profile-avatar .cu-avatar[data-v-e849d1ac]{transform:scale(1.05)}.profile-verified[data-v-e849d1ac]{position:absolute;bottom:2px;right:2px;width:26px;height:26px;background:linear-gradient(135deg,#4caf50,#45a049);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:14px;border:3px solid white;box-shadow:0 2px 8px #4caf5066}.profile-name[data-v-e849d1ac]{font-size:20px;font-weight:700;color:#fff;margin-bottom:8px;text-shadow:0 2px 4px rgba(0,0,0,.1)}.profile-title[data-v-e849d1ac]{opacity:.95;font-size:13px}.profile-content[data-v-e849d1ac]{padding:24px 16px}.profile-desc[data-v-e849d1ac]{margin-bottom:20px;line-height:1.7;text-align:center;color:#555;font-size:14px}.profile-stats[data-v-e849d1ac]{display:flex;justify-content:space-around;padding:20px 0;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0;margin-bottom:20px}.stat-item[data-v-e849d1ac]{text-align:center;cursor:pointer;flex:1;transition:transform .2s ease;padding:8px;border-radius:8px}.stat-item[data-v-e849d1ac]:hover{background:#f8f9fa;transform:translateY(-2px)}.stat-value[data-v-e849d1ac]{font-size:20px;font-weight:700;color:#333;margin-bottom:6px;line-height:1.2}.stat-label[data-v-e849d1ac]{font-size:13px;color:#666}.profile-tags[data-v-e849d1ac]{display:flex;gap:8px;margin-bottom:20px;justify-content:center;flex-wrap:wrap}.profile-tags .cu-tag[data-v-e849d1ac]{font-size:12px;padding:3px 12px;border-radius:12px;height:auto}.profile-actions[data-v-e849d1ac]{display:flex;gap:12px;justify-content:center}.profile-actions .cu-btn[data-v-e849d1ac]{min-width:100px;border-radius:20px;font-weight:600;transition:all .3s ease}.profile-actions .cu-btn[data-v-e849d1ac]:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.profile-actions .cu-btn[class*=line][data-v-e849d1ac]:after{border:none!important}.stat-card[data-v-88732615]{padding:24px;border-radius:12px;position:relative;overflow:hidden;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 4px 12px #0000001a;min-height:140px;display:flex;flex-direction:column;justify-content:space-between}.stat-card[data-v-88732615]:before{content:"";position:absolute;top:-50%;right:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);pointer-events:none}.stat-card[data-v-88732615]:hover{transform:translateY(-4px) scale(1.02);box-shadow:0 8px 24px #00000026}.stat-card[data-v-88732615]:after{content:"";position:absolute;z-index:-1;background-color:inherit;width:100%;height:100%;left:0;bottom:-12%;border-radius:8px;opacity:.25;transform:scale(.92);filter:blur(8px)}.stat-icon[data-v-88732615]{font-size:40px;color:#fff;opacity:.95;margin-bottom:16px;text-shadow:0 2px 8px rgba(0,0,0,.2);transition:transform .3s ease}.stat-card:hover .stat-icon[data-v-88732615]{transform:scale(1.1) rotate(5deg)}.stat-content[data-v-88732615]{color:#fff;z-index:1}.stat-value[data-v-88732615]{font-size:32px;font-weight:700;margin-bottom:6px;line-height:1.2;text-shadow:0 2px 4px rgba(0,0,0,.1);letter-spacing:-.5px}.stat-label[data-v-88732615]{font-size:14px;opacity:.95;margin-bottom:4px;font-weight:500}.stat-sublabel[data-v-88732615]{font-size:12px;opacity:.85;margin-top:4px}.stat-trend[data-v-88732615]{position:absolute;top:16px;right:16px;font-size:12px;font-weight:700;padding:6px 10px;border-radius:12px;background:#ffffff40;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:flex;align-items:center;gap:4px;box-shadow:0 2px 8px #0000001a;transition:all .3s ease}.stat-card:hover .stat-trend[data-v-88732615]{background:#ffffff59;transform:scale(1.1)}.trend-up[data-v-88732615]{color:#4caf50}.trend-down[data-v-88732615]{color:#ff5252}.cu-card.image.is-card[data-v-0c86f8a4]{box-shadow:0 2px 12px #00000014!important;border:none!important}.cu-card.image .cu-item[data-v-0c86f8a4]{transition:all .3s ease;cursor:pointer;overflow:hidden;border:none!important}.cu-card.image .cu-item[data-v-0c86f8a4]:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f}.image-card-header[data-v-0c86f8a4]{padding:14px 16px;border-bottom:1px solid #f0f0f0;background:#fafafa}.image-card-content[data-v-0c86f8a4]{position:relative;overflow:hidden}.bg-img[data-v-0c86f8a4]{width:100%;background-size:cover;background-position:center;transition:transform .5s ease}.cu-card.image .cu-item:hover .bg-img[data-v-0c86f8a4]{transform:scale(1.08)}.image-square[data-v-0c86f8a4]{height:220px}.image-wide[data-v-0c86f8a4]{height:180px}.image-tall[data-v-0c86f8a4]{height:320px}.image-overlay[data-v-0c86f8a4]{position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,#00000080,#0000004d);display:flex;align-items:center;justify-content:center;color:#fff;opacity:0;transition:opacity .3s ease}.cu-card.image .cu-item:hover .image-overlay[data-v-0c86f8a4]{opacity:1}.overlay-content[data-v-0c86f8a4]{display:flex;flex-direction:column;align-items:center;gap:10px;font-size:16px;font-weight:600;transform:translateY(10px);transition:transform .3s ease}.cu-card.image .cu-item:hover .overlay-content[data-v-0c86f8a4]{transform:translateY(0)}.overlay-content span[class*=cuIcon-][data-v-0c86f8a4]{font-size:36px;filter:drop-shadow(0 2px 4px rgba(0,0,0,.3))}.image-card-info[data-v-0c86f8a4]{padding:16px}.image-title[data-v-0c86f8a4]{font-size:16px;font-weight:600;color:#333;margin-bottom:8px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.image-desc[data-v-0c86f8a4]{line-height:1.6;color:#666;font-size:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.image-card-footer[data-v-0c86f8a4]{padding:12px 16px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #f0f0f0;background:#fafafa}.footer-left[data-v-0c86f8a4]{display:flex;align-items:center;gap:16px}.footer-left span[data-v-0c86f8a4]{display:inline-flex;align-items:center;color:#666;font-size:13px}.footer-action[data-v-0c86f8a4]{font-size:22px;color:#666;cursor:pointer;transition:all .3s ease;padding:4px;border-radius:50%;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.footer-action[data-v-0c86f8a4]:hover{background:#f0f0f0;color:#333;transform:scale(1.1)}.cu-bar .action{min-width:50px!important}.cu-bar .search-form input[data-v-bd9fd5b7]{border:none!important;outline:none!important}.cu-bar .search-form input[data-v-bd9fd5b7]:focus{border:none!important;outline:none!important}.string-list[data-v-3ba18203]{width:100%;display:block;list-style:none;background-color:#fff;padding:2px 5px;margin:0;box-shadow:0 4px 8px #0000001a}.string-list li[data-v-3ba18203]{line-height:1.5rem;padding:8px 12px;border-bottom:1px solid #eee;transition:background-color .3s,color .3s}.string-list li[data-v-3ba18203]:last-child{border-bottom:none}.string-list li[data-v-3ba18203]:hover{background-color:#f0f0f0;color:#333;cursor:pointer;border-radius:4px}.emoji-panel[data-v-e9a4aa4d]{background-color:#fff;border:1px solid #ccc;padding:10px;display:flex;flex-wrap:wrap;z-index:1000;height:280px;overflow-y:auto}.emoji-panel span[data-v-e9a4aa4d]{cursor:pointer;font-size:24px;margin:5px}.function-panel-container[data-v-3ef96b26]{background-color:#fff;box-sizing:border-box;width:100vw;border-top:1px solid #66666631}.function-panel[data-v-3ef96b26]{display:flex;flex-wrap:wrap;background-color:#fff;padding:10px;z-index:1000;max-width:360px;gap:18px;margin:0 auto}.function-item[data-v-3ef96b26]{display:flex;flex-direction:column;align-items:center;margin:10px 0;cursor:pointer;width:70px;height:70px;background-color:#f9f9f9;border-radius:10px;justify-content:center;transition:background-color .3s}.function-item[data-v-3ef96b26]:hover{background-color:#e6e6e6}.function-item span[data-v-3ef96b26]{margin-top:5px;font-size:14px;color:#333;text-align:center}.t-input-bar-container[data-v-5c0d8d64]{display:block;width:100%}input[data-v-5c0d8d64]:focus{outline:none}.cu-bar.input[data-v-5c0d8d64]{display:flex;align-items:center;background-color:#fff}.cu-bar.input .action[data-v-5c0d8d64]{display:flex;align-items:center;justify-content:center}.cu-bar.input input[data-v-5c0d8d64]{flex:1;border:none;background:transparent}.tab-content{padding:10px 16px;background:#fff}.reply-preview[data-v-2e628864]{background-color:#f5f5f5;border-left:3px solid #0081ff;padding:4px 8px;margin:4px 0;border-radius:2px;font-size:11px;color:#666;cursor:pointer;transition:background-color .2s;max-width:100%;overflow:hidden}.reply-preview[data-v-2e628864]:hover{background-color:#eee}.reply-content[data-v-2e628864]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reply-label[data-v-2e628864]{color:#0081ff;font-weight:700;margin-right:5px}.link-content[data-v-52c7eb4d]{padding:0;overflow:hidden;max-width:300px}.link-item[data-v-52c7eb4d]{display:flex;align-items:center;padding:12px;text-decoration:none;color:inherit;transition:background-color .2s}.link-item[data-v-52c7eb4d]:hover{background-color:#00000005}.link-icon[data-v-52c7eb4d]{flex-shrink:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;margin-right:12px;border-radius:6px;background:#f5f5f5}.emoji[data-v-52c7eb4d],.link-icon-font[data-v-52c7eb4d]{font-size:20px}.link-info[data-v-52c7eb4d]{flex:1;min-width:0}.link-title[data-v-52c7eb4d]{font-weight:500;font-size:14px;line-height:1.4;margin-bottom:4px;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.link-url[data-v-52c7eb4d]{font-size:12px;color:#666;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card-content[data-v-52c7eb4d]{padding:16px;max-width:280px;position:relative;display:inline-block!important}.card-content[data-v-52c7eb4d]:after,.card-content[data-v-52c7eb4d]:before{display:none!important}.card-header[data-v-52c7eb4d]{display:flex;align-items:center;margin-bottom:8px}.card-emoji[data-v-52c7eb4d],.card-icon[data-v-52c7eb4d]{font-size:18px;margin-right:8px;flex-shrink:0}.card-title[data-v-52c7eb4d]{margin:0;font-size:16px;font-weight:600;color:#333;flex:1;min-width:0}.card-body[data-v-52c7eb4d]{font-size:14px;line-height:1.5;color:#666;margin-bottom:12px;word-wrap:break-word}.card-footer[data-v-52c7eb4d]{text-align:right;margin-top:8px}.card-link[data-v-52c7eb4d]{color:#1890ff;text-decoration:none;font-size:12px;display:inline-block}.card-link[data-v-52c7eb4d]:hover{text-decoration:underline}@media (max-width: 480px){.link-content[data-v-52c7eb4d],.card-content[data-v-52c7eb4d]{max-width:250px}.link-icon[data-v-52c7eb4d]{width:32px;height:32px;margin-right:8px}.emoji[data-v-52c7eb4d],.link-icon-font[data-v-52c7eb4d]{font-size:16px}.card-content[data-v-52c7eb4d]{padding:12px}}.loading-animation[data-v-e5a9ce26]{display:inline-flex;justify-content:center;align-items:center}canvas[data-v-e5a9ce26]{display:block;margin:0 auto;max-width:100%;max-height:100%}.slide-wrapper[data-v-392cb42c]{overflow:hidden;position:relative;width:100vw;height:100vh}.slide-list[data-v-392cb42c]{position:absolute;width:100%;transition:transform .3s ease}.slide-item[data-v-392cb42c]{position:absolute;width:100%}
@@ -1,5 +1,5 @@
1
- import { defineComponent as $, createElementBlock as a, openBlock as n, Fragment as C, renderList as T, normalizeStyle as M, normalizeClass as p, createElementVNode as l, toDisplayString as u, createCommentVNode as g, createTextVNode as w, pushScopeId as F, popScopeId as D, computed as B, renderSlot as z, createBlock as E, ref as A, withModifiers as be, unref as We, onMounted as x, resolveComponent as Ee, createVNode as N, useAttrs as Fe, onUnmounted as Re, withDirectives as Se, withKeys as De, vShow as Me, provide as je, watch as U, inject as ye, withCtx as $e, reactive as Xe, KeepAlive as Ye, resolveDynamicComponent as Ge } from "vue";
2
- const xe = { class: "nav-list" }, He = ["onClick"], Oe = { class: "nav-title" }, Ke = { class: "nav-name" }, Je = {
1
+ import { defineComponent as $, createElementBlock as a, openBlock as n, Fragment as C, renderList as T, normalizeStyle as M, normalizeClass as p, createElementVNode as l, toDisplayString as u, createCommentVNode as g, createTextVNode as w, pushScopeId as F, popScopeId as D, computed as B, renderSlot as z, createBlock as E, ref as A, withModifiers as be, unref as We, onMounted as H, resolveComponent as Ee, createVNode as N, useAttrs as Fe, onUnmounted as Re, withDirectives as Se, withKeys as De, vShow as Me, provide as je, watch as U, inject as ye, withCtx as $e, reactive as Xe, KeepAlive as Ye, resolveDynamicComponent as Ge } from "vue";
2
+ const He = { class: "nav-list" }, xe = ["onClick"], Oe = { class: "nav-title" }, Ke = { class: "nav-name" }, Je = {
3
3
  name: "TNavCard"
4
4
  }, O = /* @__PURE__ */ $({
5
5
  ...Je,
@@ -11,7 +11,7 @@ const xe = { class: "nav-list" }, He = ["onClick"], Oe = { class: "nav-title" },
11
11
  const d = s, i = (t, o) => {
12
12
  d("chickItem", t, o);
13
13
  };
14
- return (t, o) => (n(), a("div", xe, [
14
+ return (t, o) => (n(), a("div", He, [
15
15
  (n(!0), a(C, null, T(t.items, (c, r) => (n(), a("div", {
16
16
  "hover-class": "none",
17
17
  class: p(["nav-li", "bg-" + c.color]),
@@ -24,7 +24,7 @@ const xe = { class: "nav-list" }, He = ["onClick"], Oe = { class: "nav-title" },
24
24
  l("text", {
25
25
  class: p("cuIcon-" + c.cuIcon)
26
26
  }, null, 2)
27
- ], 14, He))), 128))
27
+ ], 14, xe))), 128))
28
28
  ]));
29
29
  }
30
30
  });
@@ -251,7 +251,7 @@ const Le = (e) => (F("data-v-fd7d4356"), e = e(), D(), e), Et = { class: "produc
251
251
  }, Yt = {
252
252
  key: 2,
253
253
  class: "product-footer text-gray text-sm"
254
- }, Gt = { key: 0 }, xt = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", { class: "cuIcon-shopfill margin-lr-xs" }, null, -1)), Ht = {
254
+ }, Gt = { key: 0 }, Ht = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", { class: "cuIcon-shopfill margin-lr-xs" }, null, -1)), xt = {
255
255
  key: 1,
256
256
  class: "margin-left-sm"
257
257
  }, Ot = /* @__PURE__ */ Le(() => /* @__PURE__ */ l("span", { class: "cuIcon-locationfill margin-lr-xs" }, null, -1)), Kt = {
@@ -312,10 +312,10 @@ const Le = (e) => (F("data-v-fd7d4356"), e = e(), D(), e), Et = { class: "produc
312
312
  ])) : g("", !0),
313
313
  t.footerInfo ? (n(), a("div", Yt, [
314
314
  t.footerInfo.sales ? (n(), a("span", Gt, [
315
- xt,
315
+ Ht,
316
316
  w(" 已售" + u(t.footerInfo.sales), 1)
317
317
  ])) : g("", !0),
318
- t.footerInfo.location ? (n(), a("span", Ht, [
318
+ t.footerInfo.location ? (n(), a("span", xt, [
319
319
  Ot,
320
320
  w(" " + u(t.footerInfo.location), 1)
321
321
  ])) : g("", !0)
@@ -607,20 +607,20 @@ function Gs(e, s, d = "px") {
607
607
  const i = Ys[s];
608
608
  return i ? `${e}: ${i};` : "";
609
609
  }
610
- function xs(e) {
610
+ function Hs(e) {
611
611
  return Gs("font-size", e);
612
612
  }
613
- const Hs = {
613
+ const xs = {
614
614
  name: "TIcon"
615
615
  }, W = /* @__PURE__ */ $({
616
- ...Hs,
616
+ ...xs,
617
617
  props: {
618
618
  name: {},
619
619
  color: { default: "grey" },
620
620
  size: { default: 15 }
621
621
  },
622
622
  setup(e) {
623
- const s = e, d = B(() => xs(s.size));
623
+ const s = e, d = B(() => Hs(s.size));
624
624
  return (i, t) => (n(), a("i", {
625
625
  class: p(`cuIcon-${i.name} text-${i.color}`),
626
626
  style: M(d.value)
@@ -953,7 +953,6 @@ const wo = { key: 1 }, To = { class: "content text-bold" }, So = { key: 1 }, Mo
953
953
  o.leftIcon || o.leftText ? (n(), a("div", {
954
954
  key: 0,
955
955
  class: "action",
956
- style: { width: "25px" },
957
956
  onClick: i
958
957
  }, [
959
958
  o.leftIcon ? (n(), a("text", {
@@ -1221,17 +1220,17 @@ const Lo = {
1221
1220
  }, u(c), 9, Xo))), 128))
1222
1221
  ], 512));
1223
1222
  }
1224
- }), Go = /* @__PURE__ */ q(Yo, [["__scopeId", "data-v-e9a4aa4d"]]), xo = { class: "function-panel-container" }, Ho = ["onClick"], Oo = /* @__PURE__ */ $({
1223
+ }), Go = /* @__PURE__ */ q(Yo, [["__scopeId", "data-v-e9a4aa4d"]]), Ho = { class: "function-panel-container" }, xo = ["onClick"], Oo = /* @__PURE__ */ $({
1225
1224
  __name: "FunctionPanel",
1226
1225
  props: {
1227
1226
  items: {}
1228
1227
  },
1229
1228
  setup(e) {
1230
1229
  const s = A(null);
1231
- return x(() => {
1230
+ return H(() => {
1232
1231
  }), (d, i) => {
1233
1232
  const t = Ee("TIcon");
1234
- return n(), a("div", xo, [
1233
+ return n(), a("div", Ho, [
1235
1234
  l("div", {
1236
1235
  class: "function-panel",
1237
1236
  ref_key: "functionPanel",
@@ -1248,7 +1247,7 @@ const Lo = {
1248
1247
  size: 26
1249
1248
  }, null, 8, ["name", "color"]),
1250
1249
  l("span", null, u(o.text), 1)
1251
- ], 8, Ho))), 128))
1250
+ ], 8, xo))), 128))
1252
1251
  ], 512)
1253
1252
  ]);
1254
1253
  };
@@ -1300,7 +1299,7 @@ const Lo = {
1300
1299
  const j = _.target;
1301
1300
  c("update:modelValue", j.value);
1302
1301
  };
1303
- return x(() => {
1302
+ return H(() => {
1304
1303
  }), Re(() => {
1305
1304
  }), (_, j) => (n(), a("div", {
1306
1305
  class: p(["t-input-bar-container", f.value])
@@ -1444,7 +1443,7 @@ const sn = ["onClick"], on = { class: "tab-content" }, nn = {
1444
1443
  icon: s.icon,
1445
1444
  iconColor: s.iconColor
1446
1445
  }));
1447
- return x(() => {
1446
+ return H(() => {
1448
1447
  d && (t.value = d({
1449
1448
  label: s.label,
1450
1449
  icon: s.icon,
@@ -1932,10 +1931,10 @@ const ke = (e) => (F("data-v-52c7eb4d"), e = e(), D(), e), En = { class: "cu-cha
1932
1931
  }, Fn = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("text", { class: "cuIcon-sound text-xxl padding-right-xl" }, null, -1)), Dn = { class: "action text-bold text-grey" }, Xn = {
1933
1932
  key: 3,
1934
1933
  class: "content shadow"
1935
- }, Yn = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("text", { class: "cuIcon-locationfill text-orange text-xxl" }, null, -1)), Gn = { class: "content shadow" }, xn = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("div", { class: "action text-grey" }, [
1934
+ }, Yn = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("text", { class: "cuIcon-locationfill text-orange text-xxl" }, null, -1)), Gn = { class: "content shadow" }, Hn = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("div", { class: "action text-grey" }, [
1936
1935
  /* @__PURE__ */ l("text", { class: "cuIcon-warnfill text-red text-xxl" }),
1937
1936
  /* @__PURE__ */ l("text", { class: "text-sm margin-left-sm" }, "翻译错误")
1938
- ], -1)), Hn = {
1937
+ ], -1)), xn = {
1939
1938
  key: 5,
1940
1939
  class: "content shadow link-content"
1941
1940
  }, On = ["href"], Kn = { class: "link-icon" }, Jn = {
@@ -1996,8 +1995,8 @@ const ke = (e) => (F("data-v-52c7eb4d"), e = e(), D(), e), En = { class: "cu-cha
1996
1995
  w(" " + u(t.content), 1)
1997
1996
  ])) : t.type === "warning" ? (n(), a(C, { key: 4 }, [
1998
1997
  l("div", Gn, u(t.content), 1),
1999
- xn
2000
- ], 64)) : t.type === "link" ? (n(), a("div", Hn, [
1998
+ Hn
1999
+ ], 64)) : t.type === "link" ? (n(), a("div", xn, [
2001
2000
  l("a", {
2002
2001
  href: t.url,
2003
2002
  target: "_blank",
@@ -2488,7 +2487,7 @@ const Bl = {
2488
2487
  });
2489
2488
  },
2490
2489
  { deep: !0 }
2491
- ), x(() => {
2490
+ ), H(() => {
2492
2491
  r = setTimeout(() => {
2493
2492
  f();
2494
2493
  }, 0);
@@ -2537,7 +2536,7 @@ const zl = ["data-index"], ql = { name: "TVirtualScrollSlide" }, Vl = /* @__PURE
2537
2536
  (k, V) => {
2538
2537
  k.length !== V.length && h();
2539
2538
  }
2540
- ), x(() => {
2539
+ ), H(() => {
2541
2540
  t.value && (r.wrapperHeight = t.value.clientHeight, h());
2542
2541
  });
2543
2542
  const h = () => {
@@ -2585,13 +2584,13 @@ const zl = ["data-index"], ql = { name: "TVirtualScrollSlide" }, Vl = /* @__PURE
2585
2584
  style: M({ transform: `translateY(${c.value}px)` })
2586
2585
  }, [
2587
2586
  (n(), E(Ye, { include: j.value }, [
2588
- (n(!0), a(C, null, T(f.value, (X, H) => (n(), a("div", {
2589
- key: _(X, H),
2590
- "data-index": H,
2587
+ (n(!0), a(C, null, T(f.value, (X, x) => (n(), a("div", {
2588
+ key: _(X, x),
2589
+ "data-index": x,
2591
2590
  class: p(v),
2592
- style: M({ top: `${P(H)}px` })
2591
+ style: M({ top: `${P(x)}px` })
2593
2592
  }, [
2594
- (n(), E(Ge(k.render(X, H))))
2593
+ (n(), E(Ge(k.render(X, x))))
2595
2594
  ], 12, zl))), 128))
2596
2595
  ], 1032, ["include"]))
2597
2596
  ], 4)
@@ -1,5 +1,5 @@
1
- (function(k,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(k=typeof globalThis<"u"?globalThis:k||self,e(k.TempColorUI={},k.Vue))})(this,function(k,e){"use strict";const fe={class:"nav-list"},ke=["onClick"],ye={class:"nav-title"},_e={class:"nav-name"},be={name:"TNavCard"},I=e.defineComponent({...be,props:{items:{}},emits:["chickItem"],setup(t,{emit:n}){const c=n,a=(o,l)=>{c("chickItem",o,l)};return(o,l)=>(e.openBlock(),e.createElementBlock("div",fe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.items,(r,s)=>(e.openBlock(),e.createElementBlock("div",{"hover-class":"none",class:e.normalizeClass(["nav-li","bg-"+r.color]),style:e.normalizeStyle([{animation:"show "+((s+1)*.2+1)+"s 1"}]),key:s,onClick:d=>a(r,s)},[e.createElementVNode("div",ye,e.toDisplayString(r.title),1),e.createElementVNode("div",_e,e.toDisplayString(r.name),1),e.createElementVNode("text",{class:e.normalizeClass("cuIcon-"+r.cuIcon)},null,2)],14,ke))),128))]))}});I.install=t=>{t.component(I.name,I)};const oe=t=>(e.pushScopeId("data-v-bbdb83ff"),t=t(),e.popScopeId(),t),Be={class:"cu-item shadow"},Ce={class:"title"},Ee={class:"text-cut"},$e={class:"content"},ue=["src","alt"],Ve={class:"desc"},Ne={class:"text-content"},Se={key:0,class:"content flex-sub justify-between text-sm solid-top margin-top-sm",style:{padding:"5px 15px"}},Ie={class:"text-gray"},we=oe(()=>e.createElementVNode("span",{class:"cuIcon-attentionfill margin-lr-xs"},null,-1)),ze=oe(()=>e.createElementVNode("span",{class:"cuIcon-appreciatefill margin-lr-xs"},null,-1)),Te=oe(()=>e.createElementVNode("span",{class:"cuIcon-messagefill margin-lr-xs"},null,-1)),De={class:"margin-left-sm text-gray flex justify-between"},Me={class:"text-grey margin-right-xs"},Pe={name:"TNewCard"},je=e.defineComponent({...Pe,props:{isCard:{type:Boolean,default:!0},title:{default:"无意者 烈火焚身;以正义的烈火拔出黑暗。我有自己的正义,见证至高的烈火吧。"},imageSrc:{default:"https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg"},imageAlt:{default:"正义天使图片"},description:{default:"折磨生出苦难,苦难又会加剧折磨,凡间这无穷的循环,将有我来终结!真正的恩典因不完整而美丽,因情感而真诚,因脆弱而自由!"},tags:{default:()=>["正义天使","史诗"]},footerInfo:{default:()=>({likes:10,appreciations:20,comments:30,author:"正义天使 凯尔",timeAgo:"十天前"})}},setup(t){return(n,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-card article",n.isCard?"":"no-card"])},[e.createElementVNode("div",Be,[e.createElementVNode("div",Ce,[e.createElementVNode("div",Ee,e.toDisplayString(n.title),1)]),e.createElementVNode("div",$e,[e.createElementVNode("img",{src:n.imageSrc,alt:n.imageAlt},null,8,ue),e.createElementVNode("div",Ve,[e.createElementVNode("div",Ne,e.toDisplayString(n.description),1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.tags,a=>(e.openBlock(),e.createElementBlock("div",{key:a,class:"cu-tag bg-red light sm round"},e.toDisplayString(a),1))),128))])])]),n.footerInfo?(e.openBlock(),e.createElementBlock("div",Se,[e.createElementVNode("div",Ie,[we,e.createTextVNode(" "+e.toDisplayString(n.footerInfo.likes)+" ",1),ze,e.createTextVNode(" "+e.toDisplayString(n.footerInfo.appreciations)+" ",1),Te,e.createTextVNode(" "+e.toDisplayString(n.footerInfo.comments),1)]),e.createElementVNode("div",De,[e.createElementVNode("div",Me,e.toDisplayString(n.footerInfo.author),1),e.createTextVNode(" "+e.toDisplayString(n.footerInfo.timeAgo),1)])])):e.createCommentVNode("",!0)])],2))}}),E=(t,n)=>{const c=t.__vccOpts||t;for(const[a,o]of n)c[a]=o;return c},w=E(je,[["__scopeId","data-v-bbdb83ff"]]);w.install=t=>{t.component(w.name,w)};const Le={class:"cu-item shadow"},Fe={class:"cu-list menu-avatar"},qe={class:"cu-item"},Ae={class:"content flex-sub"},Re={class:"text-gray text-sm flex justify-between"},Ue={class:"text-content"},We={class:"text-gray text-sm text-right padding"},Xe=e.createElementVNode("span",{class:"cuIcon-attentionfill margin-lr-xs"},null,-1),Ye=e.createElementVNode("span",{class:"cuIcon-appreciatefill margin-lr-xs"},null,-1),xe=e.createElementVNode("span",{class:"cuIcon-messagefill margin-lr-xs"},null,-1),Ge={class:"cu-item"},He={class:"content"},Oe={class:"text-grey"},Ke={class:"text-gray text-content text-df"},Je={class:"flex"},Qe={class:"flex-sub"},Ze={class:"margin-top-sm flex justify-between"},ve={class:"text-gray text-df"},et={key:0,class:"cuIcon-appreciatefill text-red"},tt=e.createElementVNode("span",{class:"cuIcon-messagefill text-gray margin-left-sm"},null,-1),ot={class:"text-gray margin-left-xs"},nt={name:"TShareCard"},z=e.defineComponent({...nt,props:{isCard:{type:Boolean,default:!0},author:{default:"凯尔"},avatarUrl:{default:"https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg"},date:{default:"2019年12月3日"},content:{default:"折磨生出苦难,苦难又会加剧折磨,凡间这无穷的循环,将有我来终结!"},imageUrl:{default:"https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg"},likes:{default:10},appreciations:{default:20},comments:{default:30},commentsList:{default:()=>[{id:1,author:"莫甘娜",avatarUrl:"https://ossweb-img.qq.com/images/lol/img/champion/Morgana.png",text:"凯尔,你被自己的光芒变的盲目。",date:"2018年12月4日",replies:[{id:1,author:"凯尔",text:"妹妹,你在帮他们给黑暗找借口吗?"},{id:1,author:"卡尔",text:"哦,我的白月光啊"}]},{id:2,author:"凯尔",avatarUrl:"https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg",text:"妹妹,如果不是为了飞翔,我们要这翅膀有什么用?",date:"2018年12月4日",replies:[{id:1,author:"莫甘娜",text:"如果不能立足于大地,要这双脚又有何用?"}]}]}},setup(t){return(n,c)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{class:e.normalizeClass(["cu-card dynamic",n.isCard?"is-card":"no-card"])},[e.createElementVNode("div",Le,[e.createElementVNode("div",Fe,[e.createElementVNode("div",qe,[e.createElementVNode("div",{class:"cu-avatar round lg",style:e.normalizeStyle({backgroundImage:`url(${n.avatarUrl})`})},null,4),e.createElementVNode("div",Ae,[e.createElementVNode("div",null,e.toDisplayString(n.author),1),e.createElementVNode("div",Re,e.toDisplayString(n.date),1)])])]),e.createElementVNode("div",Ue,e.toDisplayString(n.content),1),e.createElementVNode("div",{class:e.normalizeClass(["grid flex-sub padding-lr",n.isCard?"col-3 grid-square":"col-1"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.isCard?9:1,a=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["bg-img",n.isCard?"":"only-img"]),style:e.normalizeStyle({backgroundImage:`url(${n.imageUrl})`}),key:a},null,6))),128))],2),e.createElementVNode("div",We,[Xe,e.createTextVNode(" "+e.toDisplayString(n.likes)+" ",1),Ye,e.createTextVNode(" "+e.toDisplayString(n.appreciations)+" ",1),xe,e.createTextVNode(" "+e.toDisplayString(n.comments),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.commentsList,a=>{var o;return e.openBlock(),e.createElementBlock("div",{class:"cu-list menu-avatar comment solids-top",key:a.id},[e.createElementVNode("div",Ge,[e.createElementVNode("div",{class:"cu-avatar round",style:e.normalizeStyle({backgroundImage:`url(${a.avatarUrl})`})},null,4),e.createElementVNode("div",He,[e.createElementVNode("div",Oe,e.toDisplayString(a.author),1),e.createElementVNode("div",Ke,e.toDisplayString(a.text),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.replies,l=>(e.openBlock(),e.createElementBlock("div",{key:l.id,class:"bg-grey padding-sm radius margin-top-sm text-sm"},[e.createElementVNode("div",Je,[e.createElementVNode("div",null,e.toDisplayString(l.author)+":",1),e.createElementVNode("div",Qe,e.toDisplayString(l.text),1)])]))),128)),e.createElementVNode("div",Ze,[e.createElementVNode("div",ve,e.toDisplayString(a.date),1),e.createElementVNode("div",null,[a.likes?(e.openBlock(),e.createElementBlock("span",et)):e.createCommentVNode("",!0),tt,e.createElementVNode("span",ot,e.toDisplayString((o=a.replies)==null?void 0:o.length),1)])])])])])}),128))])],2)]))}});z.install=t=>{t.component(z.name,z)};const ce=t=>(e.pushScopeId("data-v-fd7d4356"),t=t(),e.popScopeId(),t),lt={class:"product-image"},at={key:1,class:"product-discount"},st={class:"product-info"},rt={class:"product-title text-cut"},ct={key:0,class:"product-subtitle text-gray text-sm"},it={class:"product-price"},dt={class:"price-current text-red text-bold"},mt={key:0,class:"price-original text-gray text-sm"},pt={key:1,class:"product-tags"},gt={key:2,class:"product-footer text-gray text-sm"},ht={key:0},ft=ce(()=>e.createElementVNode("span",{class:"cuIcon-shopfill margin-lr-xs"},null,-1)),kt={key:1,class:"margin-left-sm"},yt=ce(()=>e.createElementVNode("span",{class:"cuIcon-locationfill margin-lr-xs"},null,-1)),_t={name:"TProductCard"},bt=e.defineComponent({..._t,props:{isCard:{type:Boolean,default:!0},imageUrl:{default:"https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg"},title:{default:"商品标题"},subtitle:{},currentPrice:{default:"99.00"},originalPrice:{},badge:{},badgeColor:{default:"red"},discount:{},tags:{default:()=>["热销","包邮"]},footerInfo:{default:()=>({sales:"1.2万",location:"北京"})}},emits:["click"],setup(t,{emit:n}){const c=n,a=()=>{c("click")};return(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-card product",o.isCard?"is-card":"no-card"])},[e.createElementVNode("div",{class:"cu-item shadow",onClick:a},[e.createElementVNode("div",lt,[e.createElementVNode("div",{class:"bg-img",style:e.normalizeStyle({backgroundImage:`url(${o.imageUrl})`})},null,4),o.badge?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["product-badge","bg-"+o.badgeColor])},e.toDisplayString(o.badge),3)):e.createCommentVNode("",!0),o.discount?(e.openBlock(),e.createElementBlock("div",at,e.toDisplayString(o.discount),1)):e.createCommentVNode("",!0)]),e.createElementVNode("div",st,[e.createElementVNode("div",rt,e.toDisplayString(o.title),1),o.subtitle?(e.openBlock(),e.createElementBlock("div",ct,e.toDisplayString(o.subtitle),1)):e.createCommentVNode("",!0),e.createElementVNode("div",it,[e.createElementVNode("span",dt,"¥"+e.toDisplayString(o.currentPrice),1),o.originalPrice?(e.openBlock(),e.createElementBlock("span",mt," ¥"+e.toDisplayString(o.originalPrice),1)):e.createCommentVNode("",!0)]),o.tags&&o.tags.length?(e.openBlock(),e.createElementBlock("div",pt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tags,r=>(e.openBlock(),e.createElementBlock("span",{key:r,class:"cu-tag bg-red light sm round"},e.toDisplayString(r),1))),128))])):e.createCommentVNode("",!0),o.footerInfo?(e.openBlock(),e.createElementBlock("div",gt,[o.footerInfo.sales?(e.openBlock(),e.createElementBlock("span",ht,[ft,e.createTextVNode(" 已售"+e.toDisplayString(o.footerInfo.sales),1)])):e.createCommentVNode("",!0),o.footerInfo.location?(e.openBlock(),e.createElementBlock("span",kt,[yt,e.createTextVNode(" "+e.toDisplayString(o.footerInfo.location),1)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])])],2))}}),T=E(bt,[["__scopeId","data-v-fd7d4356"]]);T.install=t=>{t.component(T.name,T)};const Bt=t=>(e.pushScopeId("data-v-e849d1ac"),t=t(),e.popScopeId(),t),Ct={class:"cu-item shadow"},Et={class:"profile-avatar"},$t={key:0,class:"profile-verified"},ut=[Bt(()=>e.createElementVNode("span",{class:"cuIcon-checkfill"},null,-1))],Vt={class:"profile-name"},Nt={key:0,class:"profile-title text-white text-sm"},St={class:"profile-content"},It={key:0,class:"profile-desc text-gray text-sm"},wt={key:1,class:"profile-stats"},zt=["onClick"],Tt={class:"stat-value text-bold"},Dt={class:"stat-label text-gray text-sm"},Mt={key:2,class:"profile-tags"},Pt={key:3,class:"profile-actions"},jt=["onClick"],Lt={name:"TProfileCard"},Ft=e.defineComponent({...Lt,props:{isCard:{type:Boolean,default:!0},avatarUrl:{default:"https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg"},name:{default:"用户名"},title:{},description:{},verified:{type:Boolean},headerColor:{default:"blue"},stats:{default:()=>[{label:"关注",value:128},{label:"粉丝",value:256},{label:"获赞",value:1024}]},tags:{default:()=>["设计师","UI/UX"]},actions:{default:()=>[{label:"关注",type:"bg-blue"},{label:"私信",type:"line"}]}},emits:["statClick","actionClick"],setup(t,{emit:n}){const c=n,a=l=>{c("statClick",l)},o=l=>{c("actionClick",l)};return(l,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-card profile",l.isCard?"is-card":"no-card"])},[e.createElementVNode("div",Ct,[e.createElementVNode("div",{class:e.normalizeClass(["profile-header","bg-"+l.headerColor])},[e.createElementVNode("div",Et,[e.createElementVNode("div",{class:"cu-avatar round xl",style:e.normalizeStyle({backgroundImage:`url(${l.avatarUrl})`})},null,4),l.verified?(e.openBlock(),e.createElementBlock("div",$t,ut)):e.createCommentVNode("",!0)]),e.createElementVNode("div",Vt,e.toDisplayString(l.name),1),l.title?(e.openBlock(),e.createElementBlock("div",Nt,e.toDisplayString(l.title),1)):e.createCommentVNode("",!0)],2),e.createElementVNode("div",St,[l.description?(e.openBlock(),e.createElementBlock("div",It,e.toDisplayString(l.description),1)):e.createCommentVNode("",!0),l.stats?(e.openBlock(),e.createElementBlock("div",wt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.stats,s=>(e.openBlock(),e.createElementBlock("div",{key:s.label,class:"stat-item",onClick:d=>a(s)},[e.createElementVNode("div",Tt,e.toDisplayString(s.value),1),e.createElementVNode("div",Dt,e.toDisplayString(s.label),1)],8,zt))),128))])):e.createCommentVNode("",!0),l.tags&&l.tags.length?(e.openBlock(),e.createElementBlock("div",Mt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.tags,s=>(e.openBlock(),e.createElementBlock("span",{key:s,class:"cu-tag bg-grey light sm round"},e.toDisplayString(s),1))),128))])):e.createCommentVNode("",!0),l.actions&&l.actions.length?(e.openBlock(),e.createElementBlock("div",Pt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.actions,s=>(e.openBlock(),e.createElementBlock("button",{key:s.label,class:e.normalizeClass(["cu-btn",s.type||"line"]),onClick:d=>o(s)},e.toDisplayString(s.label),11,jt))),128))])):e.createCommentVNode("",!0)])])],2))}}),D=E(Ft,[["__scopeId","data-v-e849d1ac"]]);D.install=t=>{t.component(D.name,D)};const qt={class:"stat-icon"},At={class:"stat-content"},Rt={class:"stat-value"},Ut={class:"stat-label"},Wt={key:0,class:"stat-sublabel"},Xt={name:"TStatCard"},Yt=e.defineComponent({...Xt,props:{label:{default:"统计项"},value:{default:0},subLabel:{},icon:{default:"data"},color:{default:"blue"},trend:{}},emits:["click"],setup(t,{emit:n}){const c=n,a=()=>{c("click")};return(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["stat-card","bg-"+o.color]),onClick:a},[e.createElementVNode("div",qt,[e.createElementVNode("span",{class:e.normalizeClass("cuIcon-"+o.icon)},null,2)]),e.createElementVNode("div",At,[e.createElementVNode("div",Rt,e.toDisplayString(o.value),1),e.createElementVNode("div",Ut,e.toDisplayString(o.label),1),o.subLabel?(e.openBlock(),e.createElementBlock("div",Wt,e.toDisplayString(o.subLabel),1)):e.createCommentVNode("",!0)]),o.trend?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["stat-trend",o.trend>0?"trend-up":"trend-down"])},[e.createElementVNode("span",{class:e.normalizeClass(o.trend>0?"cuIcon-up":"cuIcon-down")},null,2),e.createTextVNode(" "+e.toDisplayString(Math.abs(o.trend))+"% ",1)],2)):e.createCommentVNode("",!0)],2))}}),M=E(Yt,[["__scopeId","data-v-88732615"]]);M.install=t=>{t.component(M.name,M)};const ie=t=>(e.pushScopeId("data-v-0c86f8a4"),t=t(),e.popScopeId(),t),xt={key:0,class:"image-card-header"},Gt={class:"cu-list menu-avatar"},Ht={class:"cu-item"},Ot={class:"content flex-sub"},Kt={class:"text-gray text-sm"},Jt={class:"image-card-content"},Qt={key:0,class:"image-overlay"},Zt={class:"overlay-content"},vt={key:1},eo={key:0,class:"image-card-info"},to={key:0,class:"image-title text-cut"},oo={key:1,class:"image-desc text-gray text-sm"},no={key:1,class:"image-card-footer text-gray text-sm"},lo={class:"footer-left"},ao={key:0},so=ie(()=>e.createElementVNode("span",{class:"cuIcon-attentionfill margin-lr-xs"},null,-1)),ro={key:1,class:"margin-left-sm"},co=ie(()=>e.createElementVNode("span",{class:"cuIcon-appreciatefill margin-lr-xs"},null,-1)),io={key:0,class:"footer-action"},mo={name:"TImageCard"},po=e.defineComponent({...mo,props:{isCard:{type:Boolean,default:!0},imageUrl:{default:"https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg"},title:{},description:{},headerInfo:{},footerInfo:{},overlay:{},imageMode:{default:"square"}},emits:["click"],setup(t,{emit:n}){const c=t,a=e.computed(()=>({square:"image-square",wide:"image-wide",tall:"image-tall"})[c.imageMode||"square"]),o=n,l=()=>{o("click")};return(r,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-card image",r.isCard?"is-card":"no-card"])},[e.createElementVNode("div",{class:"cu-item shadow",onClick:l},[r.headerInfo?(e.openBlock(),e.createElementBlock("div",xt,[e.createElementVNode("div",Gt,[e.createElementVNode("div",Ht,[e.createElementVNode("div",{class:"cu-avatar round",style:e.normalizeStyle({backgroundImage:`url(${r.headerInfo.avatarUrl})`})},null,4),e.createElementVNode("div",Ot,[e.createElementVNode("div",null,e.toDisplayString(r.headerInfo.name),1),e.createElementVNode("div",Kt,e.toDisplayString(r.headerInfo.time),1)])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",Jt,[e.createElementVNode("div",{class:e.normalizeClass(["bg-img",a.value]),style:e.normalizeStyle({backgroundImage:`url(${r.imageUrl})`})},[r.overlay?(e.openBlock(),e.createElementBlock("div",Qt,[e.createElementVNode("div",Zt,[r.overlay.icon?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass("cuIcon-"+r.overlay.icon)},null,2)):e.createCommentVNode("",!0),r.overlay.text?(e.openBlock(),e.createElementBlock("span",vt,e.toDisplayString(r.overlay.text),1)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)],6),r.title||r.description?(e.openBlock(),e.createElementBlock("div",eo,[r.title?(e.openBlock(),e.createElementBlock("div",to,e.toDisplayString(r.title),1)):e.createCommentVNode("",!0),r.description?(e.openBlock(),e.createElementBlock("div",oo,e.toDisplayString(r.description),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),r.footerInfo?(e.openBlock(),e.createElementBlock("div",no,[e.createElementVNode("div",lo,[r.footerInfo.views?(e.openBlock(),e.createElementBlock("span",ao,[so,e.createTextVNode(" "+e.toDisplayString(r.footerInfo.views),1)])):e.createCommentVNode("",!0),r.footerInfo.likes?(e.openBlock(),e.createElementBlock("span",ro,[co,e.createTextVNode(" "+e.toDisplayString(r.footerInfo.likes),1)])):e.createCommentVNode("",!0)]),r.footerInfo.action?(e.openBlock(),e.createElementBlock("div",io,[e.createElementVNode("span",{class:e.normalizeClass("cuIcon-"+r.footerInfo.action)},null,2)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])],2))}}),P=E(po,[["__scopeId","data-v-0c86f8a4"]]);P.install=t=>{t.component(P.name,P)};const go={ssss:"2px",sss:"4px",ss:"8px",s:"12px",m:"14px",l:"16px",x:"18px",xl:"24px",xxl:"30px",xxxl:"48px"};function ho(t,n,c="px"){if(typeof n=="number")return`${t}: ${n}${c};`;const a=go[n];return a?`${t}: ${a};`:""}function fo(t){return ho("font-size",t)}const ko={name:"TIcon"},N=e.defineComponent({...ko,props:{name:{},color:{default:"grey"},size:{default:15}},setup(t){const n=t,c=e.computed(()=>fo(n.size));return(a,o)=>(e.openBlock(),e.createElementBlock("i",{class:e.normalizeClass(`cuIcon-${a.name} text-${a.color}`),style:e.normalizeStyle(c.value)},null,6))}}),yo={class:"action border-title"},_o={class:"action border-title"},bo={class:"tib text-xl text-bold text-blue"},Bo=e.createElementVNode("div",{class:"tib bg-gradual-blue",style:{width:"3rem"}},null,-1),Co={class:"action sub-title"},Eo={class:"tib text-xl text-bold text-green"},$o=e.createElementVNode("div",{class:"tib bg-green",style:{width:"2rem"}},null,-1),uo={class:"action sub-title"},Vo={class:"action title-style-3"},No={key:5,class:"cu-bar bg-white"},So={class:"action"},Io={key:6,class:"cu-bar bg-white solid-bottom"},wo={class:"action"},zo={class:"action"},To={name:"TTitle"},j=e.defineComponent({...To,props:{title:{default:"主题名称"},deputy:{default:"about"},icon:{default:"titles"},color:{default:"blue"},decorateColor:{default:"olive"},mode:{},center:{type:Boolean,default:!1}},setup(t){return(n,c)=>n.mode==="default1"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cu-bar bg-white",n.center!==!1?"justify-center":""])},[e.createElementVNode("div",yo,[e.createElementVNode("div",{class:e.normalizeClass(["tib text-xl",`text-${n.color}`])},e.toDisplayString(n.title),3),e.createElementVNode("div",{class:e.normalizeClass(["tib",`bg-${n.decorateColor}`]),style:{width:"2rem"}},null,2)])],2)):n.mode==="default2"?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["cu-bar bg-white",n.center!==!1?"justify-center":""])},[e.createElementVNode("div",_o,[e.createElementVNode("div",bo,e.toDisplayString(n.title),1),Bo])],2)):n.mode==="default3"?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["cu-bar bg-white",n.center!==!1?"justify-center":""])},[e.createElementVNode("div",Co,[e.createElementVNode("div",Eo,e.toDisplayString(n.title),1),$o])],2)):n.mode==="default4"?(e.openBlock(),e.createElementBlock("div",{key:3,class:e.normalizeClass(["cu-bar bg-white",n.center!==!1?"justify-center":""])},[e.createElementVNode("div",uo,[e.createElementVNode("div",{class:e.normalizeClass(["tib text-xl text-bold",`text-${n.color}`])},e.toDisplayString(n.title),3),e.createElementVNode("div",{class:e.normalizeClass(["tib text-ABC",`text-${n.decorateColor}`])},e.toDisplayString(n.deputy),3)])],2)):n.mode==="bilingual"?(e.openBlock(),e.createElementBlock("div",{key:4,class:e.normalizeClass(["cu-bar bg-white",n.center!==!1?"justify-center":""])},[e.createElementVNode("div",Vo,[e.createElementVNode("div",{class:e.normalizeClass(["tib",`text-${n.color}`])},e.toDisplayString(n.title),3),e.createElementVNode("div",{class:e.normalizeClass(["tib text-Abc self-end margin-left-sm",`text-${n.decorateColor}`])},e.toDisplayString(n.deputy),3)])],2)):n.mode==="icon-title"?(e.openBlock(),e.createElementBlock("div",No,[e.createElementVNode("div",So,[e.createElementVNode("i",{class:e.normalizeClass(`cuIcon-${n.icon} text-${n.color}`)},null,2),e.createElementVNode("div",{class:e.normalizeClass(["tib text-xl",`text-${n.decorateColor}`])},e.toDisplayString(n.title),3)])])):(e.openBlock(),e.createElementBlock("div",Io,[e.createElementVNode("div",wo,[e.createElementVNode("i",{class:e.normalizeClass(`cuIcon-${n.icon} text-${n.color}`)},null,2),e.renderSlot(n.$slots,"default")]),e.createElementVNode("div",zo,[e.renderSlot(n.$slots,"action")])]))}}),Do={name:"TAvatar"},u=e.defineComponent({...Do,props:{url:{},size:{default:"lg"},mode:{default:"round"}},setup(t){return(n,c)=>n.url?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cu-avatar",n.size,n.mode]),style:e.normalizeStyle({backgroundImage:`url(${n.url})`})},null,6)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["padding-xs",["cu-avatar",n.size,n.mode]])},[e.renderSlot(n.$slots,"default")],2))}}),Mo={class:"cu-avatar-group"},Po={name:"TAvatarGroup"},S=e.defineComponent({...Po,props:{urls:{default:()=>[]},size:{default:"sm"},mode:{default:"round"}},setup(t){return(n,c)=>(e.openBlock(),e.createElementBlock("div",Mo,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.urls,(a,o)=>(e.openBlock(),e.createBlock(u,{key:o,url:a,size:n.size},null,8,["url","size"]))),128))]))}}),jo=["disabled"],Lo={key:1},Fo={name:"TButton"},L=e.defineComponent({...Fo,props:{text:{},bg:{default:"blue"},size:{default:"default"},rounded:{type:Boolean,default:!1},icon:{},disabled:{type:Boolean,default:!1},shadow:{type:Boolean,default:!1}},setup(t){const n=t,c=e.computed(()=>["cu-btn",n.rounded?"round":"radius",n.shadow?"shadow":"",`bg-${n.bg}`,n.size!=="default"?n.size:""].join(" ")),a=e.computed(()=>({cursor:n.disabled?"not-allowed":"pointer"})),o=e.computed(()=>({marginRight:n.text?"8px":"0"}));return(l,r)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(c.value),style:e.normalizeStyle(a.value),disabled:l.disabled},[e.renderSlot(l.$slots,"default"),l.icon?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`cuIcon-${l.icon}`),style:e.normalizeStyle(o.value)},null,6)):e.createCommentVNode("",!0),l.text?(e.openBlock(),e.createElementBlock("span",Lo,e.toDisplayString(l.text),1)):e.createCommentVNode("",!0)],14,jo))}}),qo={key:0},Ao={name:"TTag"},V=e.defineComponent({...Ao,props:{text:{},bg:{default:"blue"},size:{default:"default"},shape:{default:"default"},light:{type:Boolean,default:!1},line:{type:Boolean,default:!1}},setup(t){const n=t,c=e.computed(()=>["cu-tag",n.shape!=="default"?n.shape:"",n.light!==!1?"light":"",`${n.line!==!1?"line":"bg"}-${n.bg}`,n.size!=="default"?n.size:""].join(" ")),a=e.computed(()=>({}));return(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(c.value),style:e.normalizeStyle(a.value)},[e.renderSlot(o.$slots,"default"),o.text?(e.openBlock(),e.createElementBlock("span",qo,e.toDisplayString(o.text),1)):e.createCommentVNode("",!0)],6))}});N.install=t=>{t.component(N.name,N)},j.install=t=>{t.component(j.name,j)},u.install=t=>{t.component(u.name,u)},S.install=t=>{t.component(S.name,S)},L.install=t=>{t.component(L.name,L)},V.install=t=>{t.component(V.name,V)};const Ro=["onClick"],Uo={key:0,class:"cuIcon-cu-image"},Wo=["src"],Xo={key:0,class:"cu-tag badge"},Yo={key:0,class:"cu-tag badge"},xo={name:"TNavBar"},F=e.defineComponent({...xo,props:{bg:{default:"white"},color:{default:"gray"},activeColor:{default:"red"},items:{default:()=>[{icon:"homefill",label:"首页"},{icon:"similar",label:"分类"},{img:"https://ossweb-img.qq.com/images/lol/img/champion/Morgana.png",label:"积分"},{icon:"cart",label:"购物车",badge:99},{icon:"my",label:"我的"}]},isFoot:{type:Boolean,default:!1},activeIndex:{default:0},onItemClick:{type:Function,default:()=>{}}},setup(t){const n=t,c=(a,o)=>{n.onItemClick&&n.onItemClick(a,o)};return(a,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-bar tabbar",`bg-${a.bg} ${a.isFoot?"foot":""}`])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.items,(l,r)=>(e.openBlock(),e.createElementBlock("div",{key:r,class:e.normalizeClass(["action",`text-${r===a.activeIndex?a.activeColor:a.color}`]),onClick:s=>c(l,r)},[l.img?(e.openBlock(),e.createElementBlock("div",Uo,[e.createElementVNode("img",{src:l.img,style:{width:"21px",height:"21px"},class:"radius"},null,8,Wo),l.badge?(e.openBlock(),e.createElementBlock("div",Xo,e.toDisplayString(l.badge),1)):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`cuIcon-${l.icon}`)},[l.badge?(e.openBlock(),e.createElementBlock("div",Yo,e.toDisplayString(l.badge),1)):e.createCommentVNode("",!0)],2)),e.createElementVNode("div",null,e.toDisplayString(l.label),1)],10,Ro))),128))],2))}});F.install=t=>{t.component(F.name,F)};const Go={key:1},Ho={class:"content text-bold"},Oo={key:1},Ko={name:"TTopBar"},q=e.defineComponent({...Ko,props:{title:{},leftIcon:{},leftIconColor:{default:"gray"},leftText:{},rightIcon:{},rightIconColor:{default:"gray"},rightText:{},bg:{default:"white"},avatarUrl:{}},emits:["leftClick","rightClick"],setup(t,{emit:n}){const c=n,a=()=>{c("leftClick")},o=()=>{c("rightClick")};return(l,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-bar",`bg-${l.bg}`])},[l.leftIcon||l.leftText?(e.openBlock(),e.createElementBlock("div",{key:0,class:"action",style:{width:"25px"},onClick:a},[l.leftIcon?(e.openBlock(),e.createElementBlock("text",{key:0,class:e.normalizeClass(`cuIcon-${l.leftIcon} text-${l.leftIconColor}`)},null,2)):e.createCommentVNode("",!0),l.leftText?(e.openBlock(),e.createElementBlock("span",Go,e.toDisplayString(l.leftText),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),l.avatarUrl?(e.openBlock(),e.createElementBlock("div",{key:1,class:"cu-avatar round",style:e.normalizeStyle({backgroundImage:`url(${l.avatarUrl})`})},null,4)):e.createCommentVNode("",!0),e.createElementVNode("div",Ho,e.toDisplayString(l.title),1),l.rightIcon||l.rightText?(e.openBlock(),e.createElementBlock("div",{key:2,class:"action",onClick:o},[l.rightIcon?(e.openBlock(),e.createElementBlock("text",{key:0,class:e.normalizeClass(`cuIcon-${l.rightIcon} text-${l.rightIconColor}`)},null,2)):e.createCommentVNode("",!0),l.rightText?(e.openBlock(),e.createElementBlock("span",Oo,e.toDisplayString(l.rightText),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],2))}});q.install=t=>{t.component(q.name,q)};const Jo=(t=>(e.pushScopeId("data-v-bd9fd5b7"),t=t(),e.popScopeId(),t))(()=>e.createElementVNode("text",{class:"cuIcon-search"},null,-1)),Qo=["placeholder"],Zo={class:"action"},vo={key:0,class:"cu-btn bg-green shadow-blur round"},en={key:0},tn={key:3},on={name:"TSearchBar"},nn=e.defineComponent({...on,props:{placeholder:{default:""},bgColor:{default:"white"},borderRadiusClass:{default:"round"},avatarUrl:{},buttonText:{},location:{},locationIcon:{},actionIcon:{},actionText:{}},setup(t){const n=e.ref(0),c=o=>{n.value=o.detail.height},a=()=>{n.value=0};return(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-bar",`bg-${o.bgColor}`,"search"])},[o.avatarUrl?(e.openBlock(),e.createElementBlock("div",{key:0,class:"cu-avatar round",style:e.normalizeStyle({backgroundImage:`url(${o.avatarUrl})`})},null,4)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["search-form",o.borderRadiusClass])},[Jo,e.createElementVNode("input",{onFocus:c,onBlur:a,"adjust-position":!1,type:"text",placeholder:o.placeholder,"confirm-type":"search"},null,40,Qo)],2),e.createElementVNode("div",Zo,[o.buttonText?(e.openBlock(),e.createElementBlock("button",vo,e.toDisplayString(o.buttonText),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.location?(e.openBlock(),e.createElementBlock("text",en,e.toDisplayString(o.location),1)):e.createCommentVNode("",!0),o.locationIcon?(e.openBlock(),e.createElementBlock("text",{key:1,class:e.normalizeClass(`cuIcon-${o.locationIcon}`)},null,2)):e.createCommentVNode("",!0),o.actionIcon?(e.openBlock(),e.createElementBlock("text",{key:2,class:e.normalizeClass(`cuIcon-${o.actionIcon}`)},null,2)):e.createCommentVNode("",!0),o.actionText?(e.openBlock(),e.createElementBlock("text",tn,e.toDisplayString(o.actionText),1)):e.createCommentVNode("",!0)],64))])],2))}}),A=E(nn,[["__scopeId","data-v-bd9fd5b7"]]);A.install=t=>{t.component(A.name,A)};const ln={key:0,class:"string-list"},an=["onClick"],sn=["innerHTML"],rn=E(e.defineComponent({__name:"CandidateBox",props:{text:{default:""},stringArray:{default:()=>[]}},emits:["send"],setup(t,{emit:n}){const c=n,a=t,o=(s="",d)=>{c("send",s,d)},l=s=>{if(typeof window>"u")return s.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;");const d=document.createElement("div");return d.textContent=s,d.innerHTML},r=e.computed(()=>{const s=a.text||"";return a.stringArray.map(d=>{const g=l(d.text);if(!s)return g;const i=l(s);let m="",h=0;for(;h<g.length;){let f=!1;for(let b=0;b<i.length&&h+b<g.length;b++)if(g[h+b]===i[b])f=!0;else{f=!1;break}f&&i.length>0?(m+=`<span style="color:#ff0000">${g.substring(h,h+i.length)}</span>`,h+=i.length):(i.includes(g[h])?m+=`<span style="color:#ff0000">${g[h]}</span>`:m+=g[h],h++)}return m})});return(s,d)=>s.stringArray.length?(e.openBlock(),e.createElementBlock("ul",ln,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(g,i)=>(e.openBlock(),e.createElementBlock("li",{key:i,onClick:m=>o(s.stringArray[i].text,s.stringArray[i])},[e.createElementVNode("span",{innerHTML:g},null,8,sn)],8,an))),128))])):e.createCommentVNode("",!0)}}),[["__scopeId","data-v-3ba18203"]]),cn=["😀","😁","😂","😃","😄","😅","😆","😉","😊","😋","😎","😍","😘","😗","😙","😚","☺","😇","😐","😑","😶","😏","😣","😥","😮","😯","😪","😫","😴","😌","😛","😜","😝","😒","😓","😔","😕","😲","😷","😖","😞","😟","😤","😢","😭","😦","😧","😨","😬","😰","😱","😳","😵","😡","😠","😈","👿","👹","👺","💀","☠","👻","👽"],dn=[{title:"红色",name:"red"},{title:"橙色",name:"orange"},{title:"黄色",name:"yellow"},{title:"橄榄色",name:"olive"},{title:"绿色",name:"green"},{title:"青色",name:"cyan"},{title:"蓝色",name:"blue"},{title:"紫色",name:"purple"},{title:"淡紫色",name:"mauve"},{title:"粉色",name:"pink"},{title:"棕色",name:"brown"},{title:"灰色",name:"grey"},{title:"灰色",name:"gray"},{title:"黑色",name:"black"},{title:"白色",name:"white"},{title:"渐变红",name:"gradual-red"},{title:"渐变橙",name:"gradual-orange"},{title:"渐变绿",name:"gradual-green"},{title:"渐变紫",name:"gradual-purple"},{title:"渐变粉",name:"gradual-pink"},{title:"渐变蓝",name:"gradual-blue"},{title:"渐变青",name:"gradual-teal"},{title:"渐变日落",name:"gradual-sunset"},{title:"渐变梦幻",name:"gradual-dream"},{title:"渐变活力橙",name:"gradual-vibrant-orange"},{title:"渐变紫蓝",name:"gradual-purple-blue"},{title:"渐变柔粉蓝",name:"gradual-soft-pink-blue"},{title:"渐变彩虹",name:"gradual-rainbow"},{title:"渐变蓝紫",name:"gradual-blue-purple"},{title:"渐变热带",name:"gradual-tropical"},{title:"渐变梦幻蓝",name:"gradual-dreamy"},{title:"渐变金色",name:"gradual-golden"},{title:"渐变灰",name:"gradual-gray"},{title:"渐变棕",name:"gradual-brown"},{title:"渐变金属",name:"gradual-metal"},{title:"渐变湖蓝",name:"gradual-lake-blue"},{title:"渐变玫瑰金",name:"gradual-rose-gold"},{title:"渐变海洋",name:"gradual-ocean"}],mn=["onClick"],pn=E(e.defineComponent({__name:"EmojiPanel",emits:["addEmoji"],setup(t,{emit:n}){const c=n,a=o=>{c("addEmoji",o)};return(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:"emoji-panel",ref:"emojiPanel",onClick:l[0]||(l[0]=e.withModifiers(()=>{},["stop"]))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(cn),r=>(e.openBlock(),e.createElementBlock("span",{key:r,onClick:s=>a(r)},e.toDisplayString(r),9,mn))),128))],512))}}),[["__scopeId","data-v-e9a4aa4d"]]),gn={class:"function-panel-container"},hn=["onClick"],fn=E(e.defineComponent({__name:"FunctionPanel",props:{items:{}},setup(t){const n=e.ref(null);return e.onMounted(()=>{}),(c,a)=>{const o=e.resolveComponent("TIcon");return e.openBlock(),e.createElementBlock("div",gn,[e.createElementVNode("div",{class:"function-panel",ref_key:"functionPanel",ref:n},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.items,(l,r)=>(e.openBlock(),e.createElementBlock("div",{key:r,class:"function-item",onClick:l.event},[e.createVNode(o,{name:l.icon,color:l.color,size:26},null,8,["name","color"]),e.createElementVNode("span",null,e.toDisplayString(l.text),1)],8,hn))),128))],512)])}}}),[["__scopeId","data-v-3ef96b26"]]),kn={key:0,class:"action"},yn={key:1,class:"action"},_n=["adjust-position","maxlength","cursor-spacing","value","placeholder"],bn={class:"action"},R=E(e.defineComponent({inheritAttrs:!1,name:"TInputBar",__name:"index",props:{modelValue:{default:""},leftIcon:{},middleIcon:{},rightIcon:{},buttonText:{default:"发送"},stringArray:{default:()=>[]},functionItems:{default:()=>[]},buttonBg:{default:"green"},placeholder:{default:""},maxlength:{default:300},adjustPosition:{type:Boolean,default:!1},cursorSpacing:{default:10}},emits:["update:modelValue","send"],setup(t,{emit:n}){const c=e.useAttrs(),a=e.ref(0),o=e.ref(!1),l=e.ref(!1),r=n,s=t,d=e.computed(()=>{const p=[];return c.class&&(typeof c.class=="string"?p.push(c.class):Array.isArray(c.class)&&p.push(...c.class.filter(C=>typeof C=="string"))),p.join(" ")}),g=e.computed(()=>[].join(" ")),i=p=>{a.value=p.detail.height},m=()=>{a.value=0},h=(p="",C)=>{const y=p||s.modelValue||"";r("send",y,C),r("update:modelValue",""),o.value=!1},f=()=>{l.value=!1,o.value=!o.value},b=()=>{o.value=!1,l.value=!l.value},_=p=>{const C=s.modelValue||"";r("update:modelValue",C+p)},B=p=>{const C=p.target;r("update:modelValue",C.value)};return e.onMounted(()=>{}),e.onUnmounted(()=>{}),(p,C)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["t-input-bar-container",d.value])},[e.createVNode(rn,{text:p.modelValue,"string-array":p.stringArray,onSend:h},null,8,["text","string-array"]),e.createElementVNode("div",{class:e.normalizeClass(["cu-bar input",g.value])},[p.leftIcon?(e.openBlock(),e.createElementBlock("div",kn,[e.createElementVNode("text",{class:e.normalizeClass(`cuIcon-${p.leftIcon} text-grey`)},null,2)])):e.createCommentVNode("",!0),p.middleIcon?(e.openBlock(),e.createElementBlock("div",yn,[e.createElementVNode("text",{class:e.normalizeClass(`cuIcon-${p.middleIcon} text-grey`)},null,2)])):e.createCommentVNode("",!0),e.createElementVNode("input",{onFocus:i,onBlur:m,onKeydown:C[0]||(C[0]=e.withKeys(y=>h(),["enter"])),onConfirm:C[1]||(C[1]=y=>h()),"adjust-position":p.adjustPosition,class:"solid-bottom",maxlength:p.maxlength,"cursor-spacing":p.cursorSpacing,value:p.modelValue,onInput:B,placeholder:p.placeholder},null,40,_n),e.createElementVNode("div",bn,[e.createElementVNode("text",{class:e.normalizeClass(`cuIcon-${p.rightIcon} text-grey`),onClick:e.withModifiers(f,["stop"])},null,2),p.functionItems&&p.functionItems.length>0?(e.openBlock(),e.createElementBlock("text",{key:0,class:e.normalizeClass("cuIcon-roundaddfill text-grey"),onClick:e.withModifiers(b,["stop"])})):e.createCommentVNode("",!0)]),e.createElementVNode("button",{class:e.normalizeClass(["cu-btn shadow-blur round",`bg-${p.buttonBg}`]),onClick:C[2]||(C[2]=y=>h())},[e.renderSlot(p.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(p.buttonText),1)],!0)],2)],2),e.withDirectives(e.createVNode(pn,{onAddEmoji:_},null,512),[[e.vShow,o.value]]),e.withDirectives(e.createVNode(fn,{items:p.functionItems},null,8,["items"]),[[e.vShow,l.value]])],2))}}),[["__scopeId","data-v-5c0d8d64"]]);R.install=t=>{t.component(R.name,R)};const Bn=["onClick"],Cn={class:"tab-content"},En={name:"TTabs"},U=e.defineComponent({...En,props:{modelValue:{default:0},center:{type:Boolean,default:!1},bg:{default:"white"},text:{},isCard:{type:Boolean,default:!1},mode:{default:"flex-start"},bold:{type:Boolean,default:!1},color:{default:"blue"},line:{type:Boolean,default:!0}},emits:["update:modelValue","select"],setup(t,{emit:n}){const c=t,a=n,o=e.ref([]),l=e.ref(c.modelValue),r=(i,m)=>{l.value=i,a("update:modelValue",i),a("select",m)},s=i=>(o.value.push(i),o.value.length-1);e.provide("registerTab",s),e.provide("activeTab",l);const d=e.computed(()=>c.center!==!1?"justify-content:center;":`justify-content:${c.mode}`),g=e.computed(()=>i=>{let m=[];return l.value===i&&(m.push(`text-${c.color}`),c.bold!==!1&&m.push("text-bold"),c.line!==!1&&m.push("cur")),m});return e.watch(()=>c.modelValue,i=>{l.value=i},{immediate:!0}),(i,m)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(i.isCard!==!1?"is-card":"")},[e.createElementVNode("div",{class:e.normalizeClass(["nav flex",[,`bg-${i.bg}`,`text-${i.text}`]]),style:e.normalizeStyle(d.value)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,(h,f)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-item",g.value(f)]),key:f,onClick:b=>r(f,h)},[h.icon?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`cuIcon-${h.icon} text-${l.value===f?i.color:h.iconColor}`)},null,2)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(h.label),1)],10,Bn))),128))],6),e.createElementVNode("div",Cn,[e.renderSlot(i.$slots,"default",{tab:o.value[l.value]})])],2))}}),$n={name:"TTab"},W=e.defineComponent({...$n,props:{label:{},icon:{default:""},iconColor:{default:"black"}},setup(t){const n=t,c=e.inject("registerTab"),a=e.inject("activeTab"),o=e.ref(null),l=e.computed(()=>(a==null?void 0:a.value)===o.value),r=e.computed(()=>({label:n.label,icon:n.icon,iconColor:n.iconColor}));return e.onMounted(()=>{c&&(o.value=c({label:n.label,icon:n.icon,iconColor:n.iconColor}))}),(s,d)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",null,[e.renderSlot(s.$slots,"default"),e.renderSlot(s.$slots,"custom",{tab:r.value})],512)),[[e.vShow,l.value]])}});U.install=t=>{t.component(U.name,U)},W.install=t=>{t.component(W.name,W)};/*!
1
+ (function(k,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(k=typeof globalThis<"u"?globalThis:k||self,e(k.TempColorUI={},k.Vue))})(this,function(k,e){"use strict";const fe={class:"nav-list"},ke=["onClick"],ye={class:"nav-title"},_e={class:"nav-name"},be={name:"TNavCard"},I=e.defineComponent({...be,props:{items:{}},emits:["chickItem"],setup(t,{emit:n}){const c=n,a=(o,l)=>{c("chickItem",o,l)};return(o,l)=>(e.openBlock(),e.createElementBlock("div",fe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.items,(r,s)=>(e.openBlock(),e.createElementBlock("div",{"hover-class":"none",class:e.normalizeClass(["nav-li","bg-"+r.color]),style:e.normalizeStyle([{animation:"show "+((s+1)*.2+1)+"s 1"}]),key:s,onClick:d=>a(r,s)},[e.createElementVNode("div",ye,e.toDisplayString(r.title),1),e.createElementVNode("div",_e,e.toDisplayString(r.name),1),e.createElementVNode("text",{class:e.normalizeClass("cuIcon-"+r.cuIcon)},null,2)],14,ke))),128))]))}});I.install=t=>{t.component(I.name,I)};const oe=t=>(e.pushScopeId("data-v-bbdb83ff"),t=t(),e.popScopeId(),t),Be={class:"cu-item shadow"},Ce={class:"title"},Ee={class:"text-cut"},$e={class:"content"},ue=["src","alt"],Ve={class:"desc"},Ne={class:"text-content"},Se={key:0,class:"content flex-sub justify-between text-sm solid-top margin-top-sm",style:{padding:"5px 15px"}},Ie={class:"text-gray"},we=oe(()=>e.createElementVNode("span",{class:"cuIcon-attentionfill margin-lr-xs"},null,-1)),ze=oe(()=>e.createElementVNode("span",{class:"cuIcon-appreciatefill margin-lr-xs"},null,-1)),Te=oe(()=>e.createElementVNode("span",{class:"cuIcon-messagefill margin-lr-xs"},null,-1)),De={class:"margin-left-sm text-gray flex justify-between"},Me={class:"text-grey margin-right-xs"},Pe={name:"TNewCard"},je=e.defineComponent({...Pe,props:{isCard:{type:Boolean,default:!0},title:{default:"无意者 烈火焚身;以正义的烈火拔出黑暗。我有自己的正义,见证至高的烈火吧。"},imageSrc:{default:"https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg"},imageAlt:{default:"正义天使图片"},description:{default:"折磨生出苦难,苦难又会加剧折磨,凡间这无穷的循环,将有我来终结!真正的恩典因不完整而美丽,因情感而真诚,因脆弱而自由!"},tags:{default:()=>["正义天使","史诗"]},footerInfo:{default:()=>({likes:10,appreciations:20,comments:30,author:"正义天使 凯尔",timeAgo:"十天前"})}},setup(t){return(n,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-card article",n.isCard?"":"no-card"])},[e.createElementVNode("div",Be,[e.createElementVNode("div",Ce,[e.createElementVNode("div",Ee,e.toDisplayString(n.title),1)]),e.createElementVNode("div",$e,[e.createElementVNode("img",{src:n.imageSrc,alt:n.imageAlt},null,8,ue),e.createElementVNode("div",Ve,[e.createElementVNode("div",Ne,e.toDisplayString(n.description),1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.tags,a=>(e.openBlock(),e.createElementBlock("div",{key:a,class:"cu-tag bg-red light sm round"},e.toDisplayString(a),1))),128))])])]),n.footerInfo?(e.openBlock(),e.createElementBlock("div",Se,[e.createElementVNode("div",Ie,[we,e.createTextVNode(" "+e.toDisplayString(n.footerInfo.likes)+" ",1),ze,e.createTextVNode(" "+e.toDisplayString(n.footerInfo.appreciations)+" ",1),Te,e.createTextVNode(" "+e.toDisplayString(n.footerInfo.comments),1)]),e.createElementVNode("div",De,[e.createElementVNode("div",Me,e.toDisplayString(n.footerInfo.author),1),e.createTextVNode(" "+e.toDisplayString(n.footerInfo.timeAgo),1)])])):e.createCommentVNode("",!0)])],2))}}),E=(t,n)=>{const c=t.__vccOpts||t;for(const[a,o]of n)c[a]=o;return c},w=E(je,[["__scopeId","data-v-bbdb83ff"]]);w.install=t=>{t.component(w.name,w)};const Le={class:"cu-item shadow"},Fe={class:"cu-list menu-avatar"},qe={class:"cu-item"},Ae={class:"content flex-sub"},Re={class:"text-gray text-sm flex justify-between"},Ue={class:"text-content"},We={class:"text-gray text-sm text-right padding"},Xe=e.createElementVNode("span",{class:"cuIcon-attentionfill margin-lr-xs"},null,-1),Ye=e.createElementVNode("span",{class:"cuIcon-appreciatefill margin-lr-xs"},null,-1),Ge=e.createElementVNode("span",{class:"cuIcon-messagefill margin-lr-xs"},null,-1),xe={class:"cu-item"},He={class:"content"},Oe={class:"text-grey"},Ke={class:"text-gray text-content text-df"},Je={class:"flex"},Qe={class:"flex-sub"},Ze={class:"margin-top-sm flex justify-between"},ve={class:"text-gray text-df"},et={key:0,class:"cuIcon-appreciatefill text-red"},tt=e.createElementVNode("span",{class:"cuIcon-messagefill text-gray margin-left-sm"},null,-1),ot={class:"text-gray margin-left-xs"},nt={name:"TShareCard"},z=e.defineComponent({...nt,props:{isCard:{type:Boolean,default:!0},author:{default:"凯尔"},avatarUrl:{default:"https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg"},date:{default:"2019年12月3日"},content:{default:"折磨生出苦难,苦难又会加剧折磨,凡间这无穷的循环,将有我来终结!"},imageUrl:{default:"https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg"},likes:{default:10},appreciations:{default:20},comments:{default:30},commentsList:{default:()=>[{id:1,author:"莫甘娜",avatarUrl:"https://ossweb-img.qq.com/images/lol/img/champion/Morgana.png",text:"凯尔,你被自己的光芒变的盲目。",date:"2018年12月4日",replies:[{id:1,author:"凯尔",text:"妹妹,你在帮他们给黑暗找借口吗?"},{id:1,author:"卡尔",text:"哦,我的白月光啊"}]},{id:2,author:"凯尔",avatarUrl:"https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg",text:"妹妹,如果不是为了飞翔,我们要这翅膀有什么用?",date:"2018年12月4日",replies:[{id:1,author:"莫甘娜",text:"如果不能立足于大地,要这双脚又有何用?"}]}]}},setup(t){return(n,c)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{class:e.normalizeClass(["cu-card dynamic",n.isCard?"is-card":"no-card"])},[e.createElementVNode("div",Le,[e.createElementVNode("div",Fe,[e.createElementVNode("div",qe,[e.createElementVNode("div",{class:"cu-avatar round lg",style:e.normalizeStyle({backgroundImage:`url(${n.avatarUrl})`})},null,4),e.createElementVNode("div",Ae,[e.createElementVNode("div",null,e.toDisplayString(n.author),1),e.createElementVNode("div",Re,e.toDisplayString(n.date),1)])])]),e.createElementVNode("div",Ue,e.toDisplayString(n.content),1),e.createElementVNode("div",{class:e.normalizeClass(["grid flex-sub padding-lr",n.isCard?"col-3 grid-square":"col-1"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.isCard?9:1,a=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["bg-img",n.isCard?"":"only-img"]),style:e.normalizeStyle({backgroundImage:`url(${n.imageUrl})`}),key:a},null,6))),128))],2),e.createElementVNode("div",We,[Xe,e.createTextVNode(" "+e.toDisplayString(n.likes)+" ",1),Ye,e.createTextVNode(" "+e.toDisplayString(n.appreciations)+" ",1),Ge,e.createTextVNode(" "+e.toDisplayString(n.comments),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.commentsList,a=>{var o;return e.openBlock(),e.createElementBlock("div",{class:"cu-list menu-avatar comment solids-top",key:a.id},[e.createElementVNode("div",xe,[e.createElementVNode("div",{class:"cu-avatar round",style:e.normalizeStyle({backgroundImage:`url(${a.avatarUrl})`})},null,4),e.createElementVNode("div",He,[e.createElementVNode("div",Oe,e.toDisplayString(a.author),1),e.createElementVNode("div",Ke,e.toDisplayString(a.text),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.replies,l=>(e.openBlock(),e.createElementBlock("div",{key:l.id,class:"bg-grey padding-sm radius margin-top-sm text-sm"},[e.createElementVNode("div",Je,[e.createElementVNode("div",null,e.toDisplayString(l.author)+":",1),e.createElementVNode("div",Qe,e.toDisplayString(l.text),1)])]))),128)),e.createElementVNode("div",Ze,[e.createElementVNode("div",ve,e.toDisplayString(a.date),1),e.createElementVNode("div",null,[a.likes?(e.openBlock(),e.createElementBlock("span",et)):e.createCommentVNode("",!0),tt,e.createElementVNode("span",ot,e.toDisplayString((o=a.replies)==null?void 0:o.length),1)])])])])])}),128))])],2)]))}});z.install=t=>{t.component(z.name,z)};const ce=t=>(e.pushScopeId("data-v-fd7d4356"),t=t(),e.popScopeId(),t),lt={class:"product-image"},at={key:1,class:"product-discount"},st={class:"product-info"},rt={class:"product-title text-cut"},ct={key:0,class:"product-subtitle text-gray text-sm"},it={class:"product-price"},dt={class:"price-current text-red text-bold"},mt={key:0,class:"price-original text-gray text-sm"},pt={key:1,class:"product-tags"},gt={key:2,class:"product-footer text-gray text-sm"},ht={key:0},ft=ce(()=>e.createElementVNode("span",{class:"cuIcon-shopfill margin-lr-xs"},null,-1)),kt={key:1,class:"margin-left-sm"},yt=ce(()=>e.createElementVNode("span",{class:"cuIcon-locationfill margin-lr-xs"},null,-1)),_t={name:"TProductCard"},bt=e.defineComponent({..._t,props:{isCard:{type:Boolean,default:!0},imageUrl:{default:"https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg"},title:{default:"商品标题"},subtitle:{},currentPrice:{default:"99.00"},originalPrice:{},badge:{},badgeColor:{default:"red"},discount:{},tags:{default:()=>["热销","包邮"]},footerInfo:{default:()=>({sales:"1.2万",location:"北京"})}},emits:["click"],setup(t,{emit:n}){const c=n,a=()=>{c("click")};return(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-card product",o.isCard?"is-card":"no-card"])},[e.createElementVNode("div",{class:"cu-item shadow",onClick:a},[e.createElementVNode("div",lt,[e.createElementVNode("div",{class:"bg-img",style:e.normalizeStyle({backgroundImage:`url(${o.imageUrl})`})},null,4),o.badge?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["product-badge","bg-"+o.badgeColor])},e.toDisplayString(o.badge),3)):e.createCommentVNode("",!0),o.discount?(e.openBlock(),e.createElementBlock("div",at,e.toDisplayString(o.discount),1)):e.createCommentVNode("",!0)]),e.createElementVNode("div",st,[e.createElementVNode("div",rt,e.toDisplayString(o.title),1),o.subtitle?(e.openBlock(),e.createElementBlock("div",ct,e.toDisplayString(o.subtitle),1)):e.createCommentVNode("",!0),e.createElementVNode("div",it,[e.createElementVNode("span",dt,"¥"+e.toDisplayString(o.currentPrice),1),o.originalPrice?(e.openBlock(),e.createElementBlock("span",mt," ¥"+e.toDisplayString(o.originalPrice),1)):e.createCommentVNode("",!0)]),o.tags&&o.tags.length?(e.openBlock(),e.createElementBlock("div",pt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tags,r=>(e.openBlock(),e.createElementBlock("span",{key:r,class:"cu-tag bg-red light sm round"},e.toDisplayString(r),1))),128))])):e.createCommentVNode("",!0),o.footerInfo?(e.openBlock(),e.createElementBlock("div",gt,[o.footerInfo.sales?(e.openBlock(),e.createElementBlock("span",ht,[ft,e.createTextVNode(" 已售"+e.toDisplayString(o.footerInfo.sales),1)])):e.createCommentVNode("",!0),o.footerInfo.location?(e.openBlock(),e.createElementBlock("span",kt,[yt,e.createTextVNode(" "+e.toDisplayString(o.footerInfo.location),1)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])])],2))}}),T=E(bt,[["__scopeId","data-v-fd7d4356"]]);T.install=t=>{t.component(T.name,T)};const Bt=t=>(e.pushScopeId("data-v-e849d1ac"),t=t(),e.popScopeId(),t),Ct={class:"cu-item shadow"},Et={class:"profile-avatar"},$t={key:0,class:"profile-verified"},ut=[Bt(()=>e.createElementVNode("span",{class:"cuIcon-checkfill"},null,-1))],Vt={class:"profile-name"},Nt={key:0,class:"profile-title text-white text-sm"},St={class:"profile-content"},It={key:0,class:"profile-desc text-gray text-sm"},wt={key:1,class:"profile-stats"},zt=["onClick"],Tt={class:"stat-value text-bold"},Dt={class:"stat-label text-gray text-sm"},Mt={key:2,class:"profile-tags"},Pt={key:3,class:"profile-actions"},jt=["onClick"],Lt={name:"TProfileCard"},Ft=e.defineComponent({...Lt,props:{isCard:{type:Boolean,default:!0},avatarUrl:{default:"https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg"},name:{default:"用户名"},title:{},description:{},verified:{type:Boolean},headerColor:{default:"blue"},stats:{default:()=>[{label:"关注",value:128},{label:"粉丝",value:256},{label:"获赞",value:1024}]},tags:{default:()=>["设计师","UI/UX"]},actions:{default:()=>[{label:"关注",type:"bg-blue"},{label:"私信",type:"line"}]}},emits:["statClick","actionClick"],setup(t,{emit:n}){const c=n,a=l=>{c("statClick",l)},o=l=>{c("actionClick",l)};return(l,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-card profile",l.isCard?"is-card":"no-card"])},[e.createElementVNode("div",Ct,[e.createElementVNode("div",{class:e.normalizeClass(["profile-header","bg-"+l.headerColor])},[e.createElementVNode("div",Et,[e.createElementVNode("div",{class:"cu-avatar round xl",style:e.normalizeStyle({backgroundImage:`url(${l.avatarUrl})`})},null,4),l.verified?(e.openBlock(),e.createElementBlock("div",$t,ut)):e.createCommentVNode("",!0)]),e.createElementVNode("div",Vt,e.toDisplayString(l.name),1),l.title?(e.openBlock(),e.createElementBlock("div",Nt,e.toDisplayString(l.title),1)):e.createCommentVNode("",!0)],2),e.createElementVNode("div",St,[l.description?(e.openBlock(),e.createElementBlock("div",It,e.toDisplayString(l.description),1)):e.createCommentVNode("",!0),l.stats?(e.openBlock(),e.createElementBlock("div",wt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.stats,s=>(e.openBlock(),e.createElementBlock("div",{key:s.label,class:"stat-item",onClick:d=>a(s)},[e.createElementVNode("div",Tt,e.toDisplayString(s.value),1),e.createElementVNode("div",Dt,e.toDisplayString(s.label),1)],8,zt))),128))])):e.createCommentVNode("",!0),l.tags&&l.tags.length?(e.openBlock(),e.createElementBlock("div",Mt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.tags,s=>(e.openBlock(),e.createElementBlock("span",{key:s,class:"cu-tag bg-grey light sm round"},e.toDisplayString(s),1))),128))])):e.createCommentVNode("",!0),l.actions&&l.actions.length?(e.openBlock(),e.createElementBlock("div",Pt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.actions,s=>(e.openBlock(),e.createElementBlock("button",{key:s.label,class:e.normalizeClass(["cu-btn",s.type||"line"]),onClick:d=>o(s)},e.toDisplayString(s.label),11,jt))),128))])):e.createCommentVNode("",!0)])])],2))}}),D=E(Ft,[["__scopeId","data-v-e849d1ac"]]);D.install=t=>{t.component(D.name,D)};const qt={class:"stat-icon"},At={class:"stat-content"},Rt={class:"stat-value"},Ut={class:"stat-label"},Wt={key:0,class:"stat-sublabel"},Xt={name:"TStatCard"},Yt=e.defineComponent({...Xt,props:{label:{default:"统计项"},value:{default:0},subLabel:{},icon:{default:"data"},color:{default:"blue"},trend:{}},emits:["click"],setup(t,{emit:n}){const c=n,a=()=>{c("click")};return(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["stat-card","bg-"+o.color]),onClick:a},[e.createElementVNode("div",qt,[e.createElementVNode("span",{class:e.normalizeClass("cuIcon-"+o.icon)},null,2)]),e.createElementVNode("div",At,[e.createElementVNode("div",Rt,e.toDisplayString(o.value),1),e.createElementVNode("div",Ut,e.toDisplayString(o.label),1),o.subLabel?(e.openBlock(),e.createElementBlock("div",Wt,e.toDisplayString(o.subLabel),1)):e.createCommentVNode("",!0)]),o.trend?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["stat-trend",o.trend>0?"trend-up":"trend-down"])},[e.createElementVNode("span",{class:e.normalizeClass(o.trend>0?"cuIcon-up":"cuIcon-down")},null,2),e.createTextVNode(" "+e.toDisplayString(Math.abs(o.trend))+"% ",1)],2)):e.createCommentVNode("",!0)],2))}}),M=E(Yt,[["__scopeId","data-v-88732615"]]);M.install=t=>{t.component(M.name,M)};const ie=t=>(e.pushScopeId("data-v-0c86f8a4"),t=t(),e.popScopeId(),t),Gt={key:0,class:"image-card-header"},xt={class:"cu-list menu-avatar"},Ht={class:"cu-item"},Ot={class:"content flex-sub"},Kt={class:"text-gray text-sm"},Jt={class:"image-card-content"},Qt={key:0,class:"image-overlay"},Zt={class:"overlay-content"},vt={key:1},eo={key:0,class:"image-card-info"},to={key:0,class:"image-title text-cut"},oo={key:1,class:"image-desc text-gray text-sm"},no={key:1,class:"image-card-footer text-gray text-sm"},lo={class:"footer-left"},ao={key:0},so=ie(()=>e.createElementVNode("span",{class:"cuIcon-attentionfill margin-lr-xs"},null,-1)),ro={key:1,class:"margin-left-sm"},co=ie(()=>e.createElementVNode("span",{class:"cuIcon-appreciatefill margin-lr-xs"},null,-1)),io={key:0,class:"footer-action"},mo={name:"TImageCard"},po=e.defineComponent({...mo,props:{isCard:{type:Boolean,default:!0},imageUrl:{default:"https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg"},title:{},description:{},headerInfo:{},footerInfo:{},overlay:{},imageMode:{default:"square"}},emits:["click"],setup(t,{emit:n}){const c=t,a=e.computed(()=>({square:"image-square",wide:"image-wide",tall:"image-tall"})[c.imageMode||"square"]),o=n,l=()=>{o("click")};return(r,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-card image",r.isCard?"is-card":"no-card"])},[e.createElementVNode("div",{class:"cu-item shadow",onClick:l},[r.headerInfo?(e.openBlock(),e.createElementBlock("div",Gt,[e.createElementVNode("div",xt,[e.createElementVNode("div",Ht,[e.createElementVNode("div",{class:"cu-avatar round",style:e.normalizeStyle({backgroundImage:`url(${r.headerInfo.avatarUrl})`})},null,4),e.createElementVNode("div",Ot,[e.createElementVNode("div",null,e.toDisplayString(r.headerInfo.name),1),e.createElementVNode("div",Kt,e.toDisplayString(r.headerInfo.time),1)])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",Jt,[e.createElementVNode("div",{class:e.normalizeClass(["bg-img",a.value]),style:e.normalizeStyle({backgroundImage:`url(${r.imageUrl})`})},[r.overlay?(e.openBlock(),e.createElementBlock("div",Qt,[e.createElementVNode("div",Zt,[r.overlay.icon?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass("cuIcon-"+r.overlay.icon)},null,2)):e.createCommentVNode("",!0),r.overlay.text?(e.openBlock(),e.createElementBlock("span",vt,e.toDisplayString(r.overlay.text),1)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)],6),r.title||r.description?(e.openBlock(),e.createElementBlock("div",eo,[r.title?(e.openBlock(),e.createElementBlock("div",to,e.toDisplayString(r.title),1)):e.createCommentVNode("",!0),r.description?(e.openBlock(),e.createElementBlock("div",oo,e.toDisplayString(r.description),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),r.footerInfo?(e.openBlock(),e.createElementBlock("div",no,[e.createElementVNode("div",lo,[r.footerInfo.views?(e.openBlock(),e.createElementBlock("span",ao,[so,e.createTextVNode(" "+e.toDisplayString(r.footerInfo.views),1)])):e.createCommentVNode("",!0),r.footerInfo.likes?(e.openBlock(),e.createElementBlock("span",ro,[co,e.createTextVNode(" "+e.toDisplayString(r.footerInfo.likes),1)])):e.createCommentVNode("",!0)]),r.footerInfo.action?(e.openBlock(),e.createElementBlock("div",io,[e.createElementVNode("span",{class:e.normalizeClass("cuIcon-"+r.footerInfo.action)},null,2)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])],2))}}),P=E(po,[["__scopeId","data-v-0c86f8a4"]]);P.install=t=>{t.component(P.name,P)};const go={ssss:"2px",sss:"4px",ss:"8px",s:"12px",m:"14px",l:"16px",x:"18px",xl:"24px",xxl:"30px",xxxl:"48px"};function ho(t,n,c="px"){if(typeof n=="number")return`${t}: ${n}${c};`;const a=go[n];return a?`${t}: ${a};`:""}function fo(t){return ho("font-size",t)}const ko={name:"TIcon"},N=e.defineComponent({...ko,props:{name:{},color:{default:"grey"},size:{default:15}},setup(t){const n=t,c=e.computed(()=>fo(n.size));return(a,o)=>(e.openBlock(),e.createElementBlock("i",{class:e.normalizeClass(`cuIcon-${a.name} text-${a.color}`),style:e.normalizeStyle(c.value)},null,6))}}),yo={class:"action border-title"},_o={class:"action border-title"},bo={class:"tib text-xl text-bold text-blue"},Bo=e.createElementVNode("div",{class:"tib bg-gradual-blue",style:{width:"3rem"}},null,-1),Co={class:"action sub-title"},Eo={class:"tib text-xl text-bold text-green"},$o=e.createElementVNode("div",{class:"tib bg-green",style:{width:"2rem"}},null,-1),uo={class:"action sub-title"},Vo={class:"action title-style-3"},No={key:5,class:"cu-bar bg-white"},So={class:"action"},Io={key:6,class:"cu-bar bg-white solid-bottom"},wo={class:"action"},zo={class:"action"},To={name:"TTitle"},j=e.defineComponent({...To,props:{title:{default:"主题名称"},deputy:{default:"about"},icon:{default:"titles"},color:{default:"blue"},decorateColor:{default:"olive"},mode:{},center:{type:Boolean,default:!1}},setup(t){return(n,c)=>n.mode==="default1"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cu-bar bg-white",n.center!==!1?"justify-center":""])},[e.createElementVNode("div",yo,[e.createElementVNode("div",{class:e.normalizeClass(["tib text-xl",`text-${n.color}`])},e.toDisplayString(n.title),3),e.createElementVNode("div",{class:e.normalizeClass(["tib",`bg-${n.decorateColor}`]),style:{width:"2rem"}},null,2)])],2)):n.mode==="default2"?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["cu-bar bg-white",n.center!==!1?"justify-center":""])},[e.createElementVNode("div",_o,[e.createElementVNode("div",bo,e.toDisplayString(n.title),1),Bo])],2)):n.mode==="default3"?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["cu-bar bg-white",n.center!==!1?"justify-center":""])},[e.createElementVNode("div",Co,[e.createElementVNode("div",Eo,e.toDisplayString(n.title),1),$o])],2)):n.mode==="default4"?(e.openBlock(),e.createElementBlock("div",{key:3,class:e.normalizeClass(["cu-bar bg-white",n.center!==!1?"justify-center":""])},[e.createElementVNode("div",uo,[e.createElementVNode("div",{class:e.normalizeClass(["tib text-xl text-bold",`text-${n.color}`])},e.toDisplayString(n.title),3),e.createElementVNode("div",{class:e.normalizeClass(["tib text-ABC",`text-${n.decorateColor}`])},e.toDisplayString(n.deputy),3)])],2)):n.mode==="bilingual"?(e.openBlock(),e.createElementBlock("div",{key:4,class:e.normalizeClass(["cu-bar bg-white",n.center!==!1?"justify-center":""])},[e.createElementVNode("div",Vo,[e.createElementVNode("div",{class:e.normalizeClass(["tib",`text-${n.color}`])},e.toDisplayString(n.title),3),e.createElementVNode("div",{class:e.normalizeClass(["tib text-Abc self-end margin-left-sm",`text-${n.decorateColor}`])},e.toDisplayString(n.deputy),3)])],2)):n.mode==="icon-title"?(e.openBlock(),e.createElementBlock("div",No,[e.createElementVNode("div",So,[e.createElementVNode("i",{class:e.normalizeClass(`cuIcon-${n.icon} text-${n.color}`)},null,2),e.createElementVNode("div",{class:e.normalizeClass(["tib text-xl",`text-${n.decorateColor}`])},e.toDisplayString(n.title),3)])])):(e.openBlock(),e.createElementBlock("div",Io,[e.createElementVNode("div",wo,[e.createElementVNode("i",{class:e.normalizeClass(`cuIcon-${n.icon} text-${n.color}`)},null,2),e.renderSlot(n.$slots,"default")]),e.createElementVNode("div",zo,[e.renderSlot(n.$slots,"action")])]))}}),Do={name:"TAvatar"},u=e.defineComponent({...Do,props:{url:{},size:{default:"lg"},mode:{default:"round"}},setup(t){return(n,c)=>n.url?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cu-avatar",n.size,n.mode]),style:e.normalizeStyle({backgroundImage:`url(${n.url})`})},null,6)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["padding-xs",["cu-avatar",n.size,n.mode]])},[e.renderSlot(n.$slots,"default")],2))}}),Mo={class:"cu-avatar-group"},Po={name:"TAvatarGroup"},S=e.defineComponent({...Po,props:{urls:{default:()=>[]},size:{default:"sm"},mode:{default:"round"}},setup(t){return(n,c)=>(e.openBlock(),e.createElementBlock("div",Mo,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.urls,(a,o)=>(e.openBlock(),e.createBlock(u,{key:o,url:a,size:n.size},null,8,["url","size"]))),128))]))}}),jo=["disabled"],Lo={key:1},Fo={name:"TButton"},L=e.defineComponent({...Fo,props:{text:{},bg:{default:"blue"},size:{default:"default"},rounded:{type:Boolean,default:!1},icon:{},disabled:{type:Boolean,default:!1},shadow:{type:Boolean,default:!1}},setup(t){const n=t,c=e.computed(()=>["cu-btn",n.rounded?"round":"radius",n.shadow?"shadow":"",`bg-${n.bg}`,n.size!=="default"?n.size:""].join(" ")),a=e.computed(()=>({cursor:n.disabled?"not-allowed":"pointer"})),o=e.computed(()=>({marginRight:n.text?"8px":"0"}));return(l,r)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(c.value),style:e.normalizeStyle(a.value),disabled:l.disabled},[e.renderSlot(l.$slots,"default"),l.icon?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`cuIcon-${l.icon}`),style:e.normalizeStyle(o.value)},null,6)):e.createCommentVNode("",!0),l.text?(e.openBlock(),e.createElementBlock("span",Lo,e.toDisplayString(l.text),1)):e.createCommentVNode("",!0)],14,jo))}}),qo={key:0},Ao={name:"TTag"},V=e.defineComponent({...Ao,props:{text:{},bg:{default:"blue"},size:{default:"default"},shape:{default:"default"},light:{type:Boolean,default:!1},line:{type:Boolean,default:!1}},setup(t){const n=t,c=e.computed(()=>["cu-tag",n.shape!=="default"?n.shape:"",n.light!==!1?"light":"",`${n.line!==!1?"line":"bg"}-${n.bg}`,n.size!=="default"?n.size:""].join(" ")),a=e.computed(()=>({}));return(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(c.value),style:e.normalizeStyle(a.value)},[e.renderSlot(o.$slots,"default"),o.text?(e.openBlock(),e.createElementBlock("span",qo,e.toDisplayString(o.text),1)):e.createCommentVNode("",!0)],6))}});N.install=t=>{t.component(N.name,N)},j.install=t=>{t.component(j.name,j)},u.install=t=>{t.component(u.name,u)},S.install=t=>{t.component(S.name,S)},L.install=t=>{t.component(L.name,L)},V.install=t=>{t.component(V.name,V)};const Ro=["onClick"],Uo={key:0,class:"cuIcon-cu-image"},Wo=["src"],Xo={key:0,class:"cu-tag badge"},Yo={key:0,class:"cu-tag badge"},Go={name:"TNavBar"},F=e.defineComponent({...Go,props:{bg:{default:"white"},color:{default:"gray"},activeColor:{default:"red"},items:{default:()=>[{icon:"homefill",label:"首页"},{icon:"similar",label:"分类"},{img:"https://ossweb-img.qq.com/images/lol/img/champion/Morgana.png",label:"积分"},{icon:"cart",label:"购物车",badge:99},{icon:"my",label:"我的"}]},isFoot:{type:Boolean,default:!1},activeIndex:{default:0},onItemClick:{type:Function,default:()=>{}}},setup(t){const n=t,c=(a,o)=>{n.onItemClick&&n.onItemClick(a,o)};return(a,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-bar tabbar",`bg-${a.bg} ${a.isFoot?"foot":""}`])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.items,(l,r)=>(e.openBlock(),e.createElementBlock("div",{key:r,class:e.normalizeClass(["action",`text-${r===a.activeIndex?a.activeColor:a.color}`]),onClick:s=>c(l,r)},[l.img?(e.openBlock(),e.createElementBlock("div",Uo,[e.createElementVNode("img",{src:l.img,style:{width:"21px",height:"21px"},class:"radius"},null,8,Wo),l.badge?(e.openBlock(),e.createElementBlock("div",Xo,e.toDisplayString(l.badge),1)):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`cuIcon-${l.icon}`)},[l.badge?(e.openBlock(),e.createElementBlock("div",Yo,e.toDisplayString(l.badge),1)):e.createCommentVNode("",!0)],2)),e.createElementVNode("div",null,e.toDisplayString(l.label),1)],10,Ro))),128))],2))}});F.install=t=>{t.component(F.name,F)};const xo={key:1},Ho={class:"content text-bold"},Oo={key:1},Ko={name:"TTopBar"},q=e.defineComponent({...Ko,props:{title:{},leftIcon:{},leftIconColor:{default:"gray"},leftText:{},rightIcon:{},rightIconColor:{default:"gray"},rightText:{},bg:{default:"white"},avatarUrl:{}},emits:["leftClick","rightClick"],setup(t,{emit:n}){const c=n,a=()=>{c("leftClick")},o=()=>{c("rightClick")};return(l,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-bar",`bg-${l.bg}`])},[l.leftIcon||l.leftText?(e.openBlock(),e.createElementBlock("div",{key:0,class:"action",onClick:a},[l.leftIcon?(e.openBlock(),e.createElementBlock("text",{key:0,class:e.normalizeClass(`cuIcon-${l.leftIcon} text-${l.leftIconColor}`)},null,2)):e.createCommentVNode("",!0),l.leftText?(e.openBlock(),e.createElementBlock("span",xo,e.toDisplayString(l.leftText),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),l.avatarUrl?(e.openBlock(),e.createElementBlock("div",{key:1,class:"cu-avatar round",style:e.normalizeStyle({backgroundImage:`url(${l.avatarUrl})`})},null,4)):e.createCommentVNode("",!0),e.createElementVNode("div",Ho,e.toDisplayString(l.title),1),l.rightIcon||l.rightText?(e.openBlock(),e.createElementBlock("div",{key:2,class:"action",onClick:o},[l.rightIcon?(e.openBlock(),e.createElementBlock("text",{key:0,class:e.normalizeClass(`cuIcon-${l.rightIcon} text-${l.rightIconColor}`)},null,2)):e.createCommentVNode("",!0),l.rightText?(e.openBlock(),e.createElementBlock("span",Oo,e.toDisplayString(l.rightText),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],2))}});q.install=t=>{t.component(q.name,q)};const Jo=(t=>(e.pushScopeId("data-v-bd9fd5b7"),t=t(),e.popScopeId(),t))(()=>e.createElementVNode("text",{class:"cuIcon-search"},null,-1)),Qo=["placeholder"],Zo={class:"action"},vo={key:0,class:"cu-btn bg-green shadow-blur round"},en={key:0},tn={key:3},on={name:"TSearchBar"},nn=e.defineComponent({...on,props:{placeholder:{default:""},bgColor:{default:"white"},borderRadiusClass:{default:"round"},avatarUrl:{},buttonText:{},location:{},locationIcon:{},actionIcon:{},actionText:{}},setup(t){const n=e.ref(0),c=o=>{n.value=o.detail.height},a=()=>{n.value=0};return(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-bar",`bg-${o.bgColor}`,"search"])},[o.avatarUrl?(e.openBlock(),e.createElementBlock("div",{key:0,class:"cu-avatar round",style:e.normalizeStyle({backgroundImage:`url(${o.avatarUrl})`})},null,4)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["search-form",o.borderRadiusClass])},[Jo,e.createElementVNode("input",{onFocus:c,onBlur:a,"adjust-position":!1,type:"text",placeholder:o.placeholder,"confirm-type":"search"},null,40,Qo)],2),e.createElementVNode("div",Zo,[o.buttonText?(e.openBlock(),e.createElementBlock("button",vo,e.toDisplayString(o.buttonText),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.location?(e.openBlock(),e.createElementBlock("text",en,e.toDisplayString(o.location),1)):e.createCommentVNode("",!0),o.locationIcon?(e.openBlock(),e.createElementBlock("text",{key:1,class:e.normalizeClass(`cuIcon-${o.locationIcon}`)},null,2)):e.createCommentVNode("",!0),o.actionIcon?(e.openBlock(),e.createElementBlock("text",{key:2,class:e.normalizeClass(`cuIcon-${o.actionIcon}`)},null,2)):e.createCommentVNode("",!0),o.actionText?(e.openBlock(),e.createElementBlock("text",tn,e.toDisplayString(o.actionText),1)):e.createCommentVNode("",!0)],64))])],2))}}),A=E(nn,[["__scopeId","data-v-bd9fd5b7"]]);A.install=t=>{t.component(A.name,A)};const ln={key:0,class:"string-list"},an=["onClick"],sn=["innerHTML"],rn=E(e.defineComponent({__name:"CandidateBox",props:{text:{default:""},stringArray:{default:()=>[]}},emits:["send"],setup(t,{emit:n}){const c=n,a=t,o=(s="",d)=>{c("send",s,d)},l=s=>{if(typeof window>"u")return s.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;");const d=document.createElement("div");return d.textContent=s,d.innerHTML},r=e.computed(()=>{const s=a.text||"";return a.stringArray.map(d=>{const g=l(d.text);if(!s)return g;const i=l(s);let m="",h=0;for(;h<g.length;){let f=!1;for(let b=0;b<i.length&&h+b<g.length;b++)if(g[h+b]===i[b])f=!0;else{f=!1;break}f&&i.length>0?(m+=`<span style="color:#ff0000">${g.substring(h,h+i.length)}</span>`,h+=i.length):(i.includes(g[h])?m+=`<span style="color:#ff0000">${g[h]}</span>`:m+=g[h],h++)}return m})});return(s,d)=>s.stringArray.length?(e.openBlock(),e.createElementBlock("ul",ln,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(g,i)=>(e.openBlock(),e.createElementBlock("li",{key:i,onClick:m=>o(s.stringArray[i].text,s.stringArray[i])},[e.createElementVNode("span",{innerHTML:g},null,8,sn)],8,an))),128))])):e.createCommentVNode("",!0)}}),[["__scopeId","data-v-3ba18203"]]),cn=["😀","😁","😂","😃","😄","😅","😆","😉","😊","😋","😎","😍","😘","😗","😙","😚","☺","😇","😐","😑","😶","😏","😣","😥","😮","😯","😪","😫","😴","😌","😛","😜","😝","😒","😓","😔","😕","😲","😷","😖","😞","😟","😤","😢","😭","😦","😧","😨","😬","😰","😱","😳","😵","😡","😠","😈","👿","👹","👺","💀","☠","👻","👽"],dn=[{title:"红色",name:"red"},{title:"橙色",name:"orange"},{title:"黄色",name:"yellow"},{title:"橄榄色",name:"olive"},{title:"绿色",name:"green"},{title:"青色",name:"cyan"},{title:"蓝色",name:"blue"},{title:"紫色",name:"purple"},{title:"淡紫色",name:"mauve"},{title:"粉色",name:"pink"},{title:"棕色",name:"brown"},{title:"灰色",name:"grey"},{title:"灰色",name:"gray"},{title:"黑色",name:"black"},{title:"白色",name:"white"},{title:"渐变红",name:"gradual-red"},{title:"渐变橙",name:"gradual-orange"},{title:"渐变绿",name:"gradual-green"},{title:"渐变紫",name:"gradual-purple"},{title:"渐变粉",name:"gradual-pink"},{title:"渐变蓝",name:"gradual-blue"},{title:"渐变青",name:"gradual-teal"},{title:"渐变日落",name:"gradual-sunset"},{title:"渐变梦幻",name:"gradual-dream"},{title:"渐变活力橙",name:"gradual-vibrant-orange"},{title:"渐变紫蓝",name:"gradual-purple-blue"},{title:"渐变柔粉蓝",name:"gradual-soft-pink-blue"},{title:"渐变彩虹",name:"gradual-rainbow"},{title:"渐变蓝紫",name:"gradual-blue-purple"},{title:"渐变热带",name:"gradual-tropical"},{title:"渐变梦幻蓝",name:"gradual-dreamy"},{title:"渐变金色",name:"gradual-golden"},{title:"渐变灰",name:"gradual-gray"},{title:"渐变棕",name:"gradual-brown"},{title:"渐变金属",name:"gradual-metal"},{title:"渐变湖蓝",name:"gradual-lake-blue"},{title:"渐变玫瑰金",name:"gradual-rose-gold"},{title:"渐变海洋",name:"gradual-ocean"}],mn=["onClick"],pn=E(e.defineComponent({__name:"EmojiPanel",emits:["addEmoji"],setup(t,{emit:n}){const c=n,a=o=>{c("addEmoji",o)};return(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:"emoji-panel",ref:"emojiPanel",onClick:l[0]||(l[0]=e.withModifiers(()=>{},["stop"]))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(cn),r=>(e.openBlock(),e.createElementBlock("span",{key:r,onClick:s=>a(r)},e.toDisplayString(r),9,mn))),128))],512))}}),[["__scopeId","data-v-e9a4aa4d"]]),gn={class:"function-panel-container"},hn=["onClick"],fn=E(e.defineComponent({__name:"FunctionPanel",props:{items:{}},setup(t){const n=e.ref(null);return e.onMounted(()=>{}),(c,a)=>{const o=e.resolveComponent("TIcon");return e.openBlock(),e.createElementBlock("div",gn,[e.createElementVNode("div",{class:"function-panel",ref_key:"functionPanel",ref:n},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.items,(l,r)=>(e.openBlock(),e.createElementBlock("div",{key:r,class:"function-item",onClick:l.event},[e.createVNode(o,{name:l.icon,color:l.color,size:26},null,8,["name","color"]),e.createElementVNode("span",null,e.toDisplayString(l.text),1)],8,hn))),128))],512)])}}}),[["__scopeId","data-v-3ef96b26"]]),kn={key:0,class:"action"},yn={key:1,class:"action"},_n=["adjust-position","maxlength","cursor-spacing","value","placeholder"],bn={class:"action"},R=E(e.defineComponent({inheritAttrs:!1,name:"TInputBar",__name:"index",props:{modelValue:{default:""},leftIcon:{},middleIcon:{},rightIcon:{},buttonText:{default:"发送"},stringArray:{default:()=>[]},functionItems:{default:()=>[]},buttonBg:{default:"green"},placeholder:{default:""},maxlength:{default:300},adjustPosition:{type:Boolean,default:!1},cursorSpacing:{default:10}},emits:["update:modelValue","send"],setup(t,{emit:n}){const c=e.useAttrs(),a=e.ref(0),o=e.ref(!1),l=e.ref(!1),r=n,s=t,d=e.computed(()=>{const p=[];return c.class&&(typeof c.class=="string"?p.push(c.class):Array.isArray(c.class)&&p.push(...c.class.filter(C=>typeof C=="string"))),p.join(" ")}),g=e.computed(()=>[].join(" ")),i=p=>{a.value=p.detail.height},m=()=>{a.value=0},h=(p="",C)=>{const y=p||s.modelValue||"";r("send",y,C),r("update:modelValue",""),o.value=!1},f=()=>{l.value=!1,o.value=!o.value},b=()=>{o.value=!1,l.value=!l.value},_=p=>{const C=s.modelValue||"";r("update:modelValue",C+p)},B=p=>{const C=p.target;r("update:modelValue",C.value)};return e.onMounted(()=>{}),e.onUnmounted(()=>{}),(p,C)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["t-input-bar-container",d.value])},[e.createVNode(rn,{text:p.modelValue,"string-array":p.stringArray,onSend:h},null,8,["text","string-array"]),e.createElementVNode("div",{class:e.normalizeClass(["cu-bar input",g.value])},[p.leftIcon?(e.openBlock(),e.createElementBlock("div",kn,[e.createElementVNode("text",{class:e.normalizeClass(`cuIcon-${p.leftIcon} text-grey`)},null,2)])):e.createCommentVNode("",!0),p.middleIcon?(e.openBlock(),e.createElementBlock("div",yn,[e.createElementVNode("text",{class:e.normalizeClass(`cuIcon-${p.middleIcon} text-grey`)},null,2)])):e.createCommentVNode("",!0),e.createElementVNode("input",{onFocus:i,onBlur:m,onKeydown:C[0]||(C[0]=e.withKeys(y=>h(),["enter"])),onConfirm:C[1]||(C[1]=y=>h()),"adjust-position":p.adjustPosition,class:"solid-bottom",maxlength:p.maxlength,"cursor-spacing":p.cursorSpacing,value:p.modelValue,onInput:B,placeholder:p.placeholder},null,40,_n),e.createElementVNode("div",bn,[e.createElementVNode("text",{class:e.normalizeClass(`cuIcon-${p.rightIcon} text-grey`),onClick:e.withModifiers(f,["stop"])},null,2),p.functionItems&&p.functionItems.length>0?(e.openBlock(),e.createElementBlock("text",{key:0,class:e.normalizeClass("cuIcon-roundaddfill text-grey"),onClick:e.withModifiers(b,["stop"])})):e.createCommentVNode("",!0)]),e.createElementVNode("button",{class:e.normalizeClass(["cu-btn shadow-blur round",`bg-${p.buttonBg}`]),onClick:C[2]||(C[2]=y=>h())},[e.renderSlot(p.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(p.buttonText),1)],!0)],2)],2),e.withDirectives(e.createVNode(pn,{onAddEmoji:_},null,512),[[e.vShow,o.value]]),e.withDirectives(e.createVNode(fn,{items:p.functionItems},null,8,["items"]),[[e.vShow,l.value]])],2))}}),[["__scopeId","data-v-5c0d8d64"]]);R.install=t=>{t.component(R.name,R)};const Bn=["onClick"],Cn={class:"tab-content"},En={name:"TTabs"},U=e.defineComponent({...En,props:{modelValue:{default:0},center:{type:Boolean,default:!1},bg:{default:"white"},text:{},isCard:{type:Boolean,default:!1},mode:{default:"flex-start"},bold:{type:Boolean,default:!1},color:{default:"blue"},line:{type:Boolean,default:!0}},emits:["update:modelValue","select"],setup(t,{emit:n}){const c=t,a=n,o=e.ref([]),l=e.ref(c.modelValue),r=(i,m)=>{l.value=i,a("update:modelValue",i),a("select",m)},s=i=>(o.value.push(i),o.value.length-1);e.provide("registerTab",s),e.provide("activeTab",l);const d=e.computed(()=>c.center!==!1?"justify-content:center;":`justify-content:${c.mode}`),g=e.computed(()=>i=>{let m=[];return l.value===i&&(m.push(`text-${c.color}`),c.bold!==!1&&m.push("text-bold"),c.line!==!1&&m.push("cur")),m});return e.watch(()=>c.modelValue,i=>{l.value=i},{immediate:!0}),(i,m)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(i.isCard!==!1?"is-card":"")},[e.createElementVNode("div",{class:e.normalizeClass(["nav flex",[,`bg-${i.bg}`,`text-${i.text}`]]),style:e.normalizeStyle(d.value)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,(h,f)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-item",g.value(f)]),key:f,onClick:b=>r(f,h)},[h.icon?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`cuIcon-${h.icon} text-${l.value===f?i.color:h.iconColor}`)},null,2)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(h.label),1)],10,Bn))),128))],6),e.createElementVNode("div",Cn,[e.renderSlot(i.$slots,"default",{tab:o.value[l.value]})])],2))}}),$n={name:"TTab"},W=e.defineComponent({...$n,props:{label:{},icon:{default:""},iconColor:{default:"black"}},setup(t){const n=t,c=e.inject("registerTab"),a=e.inject("activeTab"),o=e.ref(null),l=e.computed(()=>(a==null?void 0:a.value)===o.value),r=e.computed(()=>({label:n.label,icon:n.icon,iconColor:n.iconColor}));return e.onMounted(()=>{c&&(o.value=c({label:n.label,icon:n.icon,iconColor:n.iconColor}))}),(s,d)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",null,[e.renderSlot(s.$slots,"default"),e.renderSlot(s.$slots,"custom",{tab:r.value})],512)),[[e.vShow,l.value]])}});U.install=t=>{t.component(U.name,U)},W.install=t=>{t.component(W.name,W)};/*!
2
2
  * vue-router v4.3.3
3
3
  * (c) 2024 Eduardo San Martin Morote
4
4
  * @license MIT
5
- */var de;(function(t){t.pop="pop",t.push="push"})(de||(de={}));var me;(function(t){t.back="back",t.forward="forward",t.unknown=""})(me||(me={})),Symbol(process.env.NODE_ENV!=="production"?"navigation failure":"");var pe;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(pe||(pe={})),Symbol(process.env.NODE_ENV!=="production"?"router view location matched":""),Symbol(process.env.NODE_ENV!=="production"?"router view depth":"");const un=Symbol(process.env.NODE_ENV!=="production"?"router":"");Symbol(process.env.NODE_ENV!=="production"?"route location":""),Symbol(process.env.NODE_ENV!=="production"?"router view location":"");function Vn(){return e.inject(un)}const Nn=["onClick"],Sn={key:0,class:"cu-tag badge"},In={key:0},wn={name:"GridGroup"},X=e.defineComponent({...wn,props:{cuIconList:{default:()=>[{cuIcon:"cardboardfill",color:"red",badge:120,name:"VR",link:"http://www.baidu.com/"},{cuIcon:"recordfill",color:"orange",badge:1,name:"录像"},{cuIcon:"picfill",color:"yellow",badge:0,name:"图像"},{cuIcon:"noticefill",color:"olive",badge:22,name:"通知"},{cuIcon:"upstagefill",color:"cyan",badge:0,name:"排行榜"},{cuIcon:"clothesfill",color:"blue",badge:0,name:"皮肤"},{cuIcon:"discoverfill",color:"purple",badge:0,name:"发现"},{cuIcon:"questionfill",color:"mauve",badge:0,name:"帮助"},{cuIcon:"commandfill",color:"purple",badge:0,name:"问答"},{cuIcon:"brandfill",color:"mauve",badge:0,name:"版权"}]},gridCol:{default:4},gridBorder:{type:Boolean,default:!1},routeFn:{type:Function,default:void 0}},setup(t){const n=t,c=Vn(),a=o=>{if(o.path){n.routeFn?n.routeFn().push({path:o.path}):c.push({path:o.path});return}if(o.link){window.location.href=o.link;return}};return(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-list grid",["col-"+o.gridCol,o.gridBorder?"":"no-border"]])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.cuIconList,(r,s)=>(e.openBlock(),e.createElementBlock("div",{class:"cu-item",key:s,style:e.normalizeStyle(`width: calc(100% / ${o.gridCol})`),onClick:d=>a(r)},[e.createElementVNode("div",{class:e.normalizeClass(["cuIcon-"+r.cuIcon,"text-"+r.color])},[r.badge!=0?(e.openBlock(),e.createElementBlock("div",Sn,[r.badge!=1?(e.openBlock(),e.createElementBlock("i",In,e.toDisplayString((r.badge||0)>99?"99+":r.badge),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],2),e.createElementVNode("text",null,e.toDisplayString(r.name),1)],12,Nn))),128))],2))}});X.install=t=>{t.component(X.name,X)};const zn=["onClick"],Tn={class:"content"},Dn=["src","alt"],Mn={class:"text-grey"},Pn={class:"action"},jn={key:1,class:"text-grey text-sm"},Ln=["onClick"],Fn={key:4,class:"text-grey text-sm"},qn={name:"Menu"},Y=e.defineComponent({...qn,props:{menuItems:{default:()=>[{title:"测试菜单",icon:{name:"warn",color:"blue"},text:"小目标还没有实现!"},{title:"图片菜单",img:{url:"https://ossweb-img.qq.com/images/lol/web201310/skin/big91012.jpg",alt:"图片菜单"}},{title:"头像组",icon:{name:"emoji",color:"pink"},group:["https://ossweb-img.qq.com/images/lol/web201310/skin/big10001.jpg","https://ossweb-img.qq.com/images/lol/web201310/skin/big81005.jpg","https://ossweb-img.qq.com/images/lol/web201310/skin/big25002.jpg","https://ossweb-img.qq.com/images/lol/web201310/skin/big91012.jpg"]},{title:"按钮",icon:{name:"btn",color:"green"},btn:{text:"上传",bg:"green",icon:"upload",event:()=>{console.log("点击了按钮")}}},{title:"标签",icon:{name:"tagfill",color:"red"},tags:[{text:"音乐",bg:"orange",light:!0,size:"sm"},{text:"电影",bg:"green",light:!0,size:"sm"},{text:"旅行",light:!1}]}]},menuBorder:{type:Boolean,default:!1},menuArrow:{type:Boolean,default:!1},menuCard:{type:Boolean,default:!1}},setup(t){const n=a=>{a.event&&a.event(a)},c=a=>{a&&a()};return(a,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-list menu",[a.menuBorder?"sm-border":"",a.menuCard?"card-menu":""]])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.menuItems,(l,r)=>(e.openBlock(),e.createElementBlock("div",{key:r,class:e.normalizeClass(["cu-item",a.menuArrow?"arrow":""]),onClick:s=>n(l)},[e.createElementVNode("div",Tn,[l.icon?(e.openBlock(),e.createBlock(N,{key:0,class:"icon",name:l.icon.name,color:l.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0),l.img?(e.openBlock(),e.createElementBlock("img",{key:1,class:"icon",src:l.img.url,alt:l.img.alt},null,8,Dn)):e.createCommentVNode("",!0),e.createElementVNode("text",Mn,e.toDisplayString(l.title),1)]),e.createElementVNode("div",Pn,[l.group?(e.openBlock(),e.createBlock(S,{key:0,urls:l.group},null,8,["urls"])):e.createCommentVNode("",!0),l.group?(e.openBlock(),e.createElementBlock("text",jn,e.toDisplayString(l.group.length)+"人",1)):e.createCommentVNode("",!0),l.btn?(e.openBlock(),e.createElementBlock("button",{key:2,class:e.normalizeClass(["cu-btn round shadow",`bg-${l.btn.bg}`]),onClick:s=>{var d;return c((d=l.btn)==null?void 0:d.event)}},[l.btn.icon?(e.openBlock(),e.createBlock(N,{key:0,name:l.btn.icon,color:"white"},null,8,["name"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(l.btn.text),1)],10,Ln)):e.createCommentVNode("",!0),l.tags?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:3},e.renderList(l.tags,(s,d)=>(e.openBlock(),e.createBlock(V,{size:s.size,key:d,bg:s.bg,light:s.light,shape:"round"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.text),1)]),_:2},1032,["size","bg","light"]))),128)):e.createCommentVNode("",!0),l.text?(e.openBlock(),e.createElementBlock("text",Fn,e.toDisplayString(l.text),1)):e.createCommentVNode("",!0)])],10,zn))),128))],2))}});Y.install=t=>{t.component(Y.name,Y)};const An={key:1,class:"cu-tag badge"},Rn={class:"content"},Un={class:"flex align-center"},Wn={class:"text-cut text-black"},Xn={class:"reply-content"},Yn={class:"reply-label"},xn={class:"text-gray text-sm flex"},Gn={class:"text-cut"},Hn={class:"action"},On={class:"text-grey text-xs"},Kn={name:"ChatListItem"},Jn=e.defineComponent({...Kn,props:{userinfo:{},roomId:{},roomName:{},time:{default:""},avatarName:{default:"friendfill"},avatarBg:{default:"grey"},unread:{},unreadColor:{},badge:{},icon:{},iconClass:{},isDisconnected:{type:Boolean},isCurrent:{type:Boolean},content:{},event:{type:Function,default:()=>{}},showReply:{type:Boolean,default:!1},replyTo:{},replyContent:{},replyAuthor:{default:""},allMessages:{}},emits:["reply-click"],setup(t,{emit:n}){const c=t,a=e.computed(()=>{if(!c.showReply||!c.replyTo)return!1;if(!c.allMessages)return!0;const s=c.allMessages.findIndex(d=>d.roomId===c.roomId&&d.time===c.time);return!(s>0&&c.allMessages[s-1].id===c.replyTo)}),o=()=>{if(c.replyContent)return c.replyContent;if(c.allMessages&&c.replyTo){const s=c.allMessages.find(d=>d.id===c.replyTo);if(s&&s.content){const d=s.content||"";return d.length>30?d.substring(0,30)+"...":d}}return"查看引用消息"},l=()=>{c.replyTo&&r("reply-click",c.replyTo)},r=n;return(s,d)=>{var i;const g=e.resolveComponent("TIcon");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-item",{grayscale:s.isDisconnected,cur:s.isCurrent}]),onClick:d[0]||(d[0]=m=>s.event(c))},[e.createElementVNode("div",{class:e.normalizeClass(["cu-avatar",s.userinfo.avatarShape,"lg",`bg-${s.avatarBg}`]),style:e.normalizeStyle({backgroundImage:s.userinfo.avatar?`url(${s.userinfo.avatar})`:""})},[(i=s.userinfo)!=null&&i.avatar?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(g,{key:0,name:s.avatarName,size:36,color:"white"},null,8,["name"])),s.badge?(e.openBlock(),e.createElementBlock("div",An,e.toDisplayString(s.badge),1)):e.createCommentVNode("",!0)],6),e.createElementVNode("div",Rn,[e.createElementVNode("div",Un,[e.createElementVNode("div",Wn,e.toDisplayString(s.userinfo.name),1),s.userinfo.tag?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cu-tag","round",`bg-${s.userinfo.tagColor}`,"sm"])},e.toDisplayString(s.userinfo.tag),3)):e.createCommentVNode("",!0)]),a.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"reply-preview",onClick:e.withModifiers(l,["stop"])},[e.createElementVNode("div",Xn,[e.createElementVNode("span",Yn,"回复 "+e.toDisplayString(s.replyAuthor)+":",1),e.createTextVNode(" "+e.toDisplayString(s.replyContent||o()),1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",xn,[e.createElementVNode("div",Gn,[e.renderSlot(s.$slots,"default",{},void 0,!0)])])]),e.createElementVNode("div",Hn,[e.createElementVNode("div",On,e.toDisplayString(s.time),1),s.unread?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cu-tag","round",`bg-${s.unreadColor}`,"sm"])},e.toDisplayString(s.unread),3)):s.icon?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(s.iconClass)},null,2)):e.createCommentVNode("",!0)])],2)}}}),ne=E(Jn,[["__scopeId","data-v-2e628864"]]),Qn={class:"cu-list menu-avatar"},Zn={name:"ChatList"},x=e.defineComponent({...Zn,props:{items:{},showReply:{type:Boolean,default:!1}},emits:["reply-click"],setup(t,{emit:n}){const c=o=>{a("reply-click",o)},a=n;return(o,l)=>(e.openBlock(),e.createElementBlock("div",Qn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.items,(r,s)=>(e.openBlock(),e.createBlock(ne,{key:s,"avatar-name":r.avatarName,"avatar-bg":r.avatarBg,time:r.time,userinfo:r.userinfo,unread:r.unread,unreadColor:r.unreadColor,badge:r.badge,icon:r.icon,iconClass:r.iconClass,isDisconnected:r.isDisconnected,isCurrent:r.isCurrent,event:r.event,"show-reply":o.showReply,"reply-to":r.replyTo,"reply-content":r.replyContent,"reply-author":r.replyAuthor,"all-messages":o.items,onReplyClick:c},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{item:r},()=>[e.createTextVNode(e.toDisplayString(r.content),1)])]),_:2},1032,["avatar-name","avatar-bg","time","userinfo","unread","unreadColor","badge","icon","iconClass","isDisconnected","isCurrent","event","show-reply","reply-to","reply-content","reply-author","all-messages"]))),128))]))}});x.install=t=>{t.component(x.name,x),t.component(ne.name,ne)};const v=t=>(e.pushScopeId("data-v-52c7eb4d"),t=t(),e.popScopeId(),t),vn={class:"cu-chat"},el={key:0,class:"cu-info round"},tl={key:1,class:"cu-info"},ol=v(()=>e.createElementVNode("text",{class:"cuIcon-roundclosefill text-red"},null,-1)),nl={class:"main"},ll={key:2,class:"content shadow"},al=v(()=>e.createElementVNode("text",{class:"cuIcon-sound text-xxl padding-right-xl"},null,-1)),sl={class:"action text-bold text-grey"},rl={key:3,class:"content shadow"},cl=v(()=>e.createElementVNode("text",{class:"cuIcon-locationfill text-orange text-xxl"},null,-1)),il={class:"content shadow"},dl=v(()=>e.createElementVNode("div",{class:"action text-grey"},[e.createElementVNode("text",{class:"cuIcon-warnfill text-red text-xxl"}),e.createElementVNode("text",{class:"text-sm margin-left-sm"},"翻译错误")],-1)),ml={key:5,class:"content shadow link-content"},pl=["href"],gl={class:"link-icon"},hl={key:0,class:"emoji"},fl={key:2,class:"cuIcon-link text-blue link-icon-font"},kl={class:"link-info"},yl={class:"link-title"},_l={class:"link-url"},bl={class:"card-header"},Bl={key:0,class:"card-emoji"},Cl={class:"card-title"},El={class:"card-body"},$l={key:0,class:"card-footer"},ul=["href"],Vl={class:"date"},Nl={name:"ChatRoom"},Sl=e.defineComponent({...Nl,props:{messages:{}},setup(t){const n=c=>{try{const a=new URL(c);return a.hostname+a.pathname}catch{return c.length>30?c.substring(0,30)+"...":c}};return(c,a)=>(e.openBlock(),e.createElementBlock("div",vn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.messages,o=>(e.openBlock(),e.createElementBlock("div",{key:o.id,class:e.normalizeClass(["cu-item",{self:o.self}])},[o.type==="info"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.self?(e.openBlock(),e.createElementBlock("div",el,e.toDisplayString(o.content),1)):(e.openBlock(),e.createElementBlock("div",tl,[ol,e.createTextVNode(" "+e.toDisplayString(o.content),1)]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.self?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(u,{key:0,mode:"radius",url:o.avatar},null,8,["url"])),e.createElementVNode("div",nl,[o.type==="text"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["content shadow",{"bg-green":o.self}])},[e.createElementVNode("text",null,e.toDisplayString(o.content),1)],2)):o.type==="image"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)):o.type==="audio"?(e.openBlock(),e.createElementBlock("div",ll,[al,e.createElementVNode("div",sl,e.toDisplayString(o.content),1)])):o.type==="location"?(e.openBlock(),e.createElementBlock("div",rl,[cl,e.createTextVNode(" "+e.toDisplayString(o.content),1)])):o.type==="warning"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[e.createElementVNode("div",il,e.toDisplayString(o.content),1),dl],64)):o.type==="link"?(e.openBlock(),e.createElementBlock("div",ml,[e.createElementVNode("a",{href:o.url,target:"_blank",rel:"noopener noreferrer",class:"link-item"},[e.createElementVNode("div",gl,[o.emoji?(e.openBlock(),e.createElementBlock("span",hl,e.toDisplayString(o.emoji),1)):o.icon?(e.openBlock(),e.createElementBlock("text",{key:1,class:e.normalizeClass([["cuIcon-"+o.icon,o.iconColor?`text-${o.iconColor}`:""],"link-icon-font"])},null,2)):(e.openBlock(),e.createElementBlock("text",fl))]),e.createElementVNode("div",kl,[e.createElementVNode("div",yl,e.toDisplayString(o.title),1),e.createElementVNode("div",_l,e.toDisplayString(n(o.url||"")),1)])],8,pl)])):o.type==="card"?(e.openBlock(),e.createElementBlock("div",{key:6,class:e.normalizeClass(["content shadow card-content",{"bg-green":o.self}])},[e.createElementVNode("div",bl,[o.emoji?(e.openBlock(),e.createElementBlock("text",Bl,e.toDisplayString(o.emoji),1)):o.icon?(e.openBlock(),e.createElementBlock("text",{key:1,class:e.normalizeClass([["cuIcon-"+o.icon,o.iconColor?`text-${o.iconColor}`:""],"card-icon"])},null,2)):e.createCommentVNode("",!0),e.createElementVNode("h4",Cl,e.toDisplayString(o.title),1)]),e.createElementVNode("div",El,e.toDisplayString(o.content),1),o.url?(e.openBlock(),e.createElementBlock("div",$l,[e.createElementVNode("a",{href:o.url,target:"_blank",rel:"noopener noreferrer",class:"card-link"}," 查看详情 ",8,ul)])):e.createCommentVNode("",!0)],2)):e.renderSlot(c.$slots,"custom-message",{key:7,message:o},void 0,!0)]),o.self?(e.openBlock(),e.createBlock(u,{key:1,mode:"radius",url:o.avatar},null,8,["url"])):e.createCommentVNode("",!0),e.createElementVNode("div",Vl,e.toDisplayString(o.date),1)],64))],2))),128))]))}}),G=E(Sl,[["__scopeId","data-v-52c7eb4d"]]);G.install=t=>{t.component(G.name,G)};const Il={class:"cu-time"},wl={key:0,class:"cu-capsule radius"},zl={name:"TimeLine"},H=e.defineComponent({...zl,props:{items:{default:()=>[]}},setup(t){function n(a){return a||"cyan"}function c(a){switch(a.status){case"past":return`text-green cuIcon-${a.icon||"roundcheckfill"}`;case"ongoing":return"text-red cuIcon-all";case"upcoming":return`text-gray cuIcon-${a.icon||"radioboxfill"}`;default:return`text-gray cuIcon-${a.icon||"radioboxfill"}`}}return(a,o)=>(e.openBlock(),e.createElementBlock("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.items,(l,r)=>(e.openBlock(),e.createElementBlock("div",{key:r,class:"cu-timeline"},[e.createElementVNode("div",Il,e.toDisplayString(l.date),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.items,s=>{var d,g,i;return e.openBlock(),e.createElementBlock("div",{key:s.key,class:e.normalizeClass(["cu-item",c(s)])},[e.createElementVNode("div",{class:e.normalizeClass(["content",`bg-${s.bg||"gray"}`,"shadow-blur"])},[(d=s==null?void 0:s.capsule)!=null&&d.list&&s.capsule.list.length?(e.openBlock(),e.createElementBlock("div",wl,[e.createVNode(V,{bg:n((g=s.capsule)==null?void 0:g.color)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.capsule.list[0]),1)]),_:2},1032,["bg"]),e.createVNode(V,{bg:n((i=s.capsule)==null?void 0:i.color),light:!0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.capsule.list[1]),1)]),_:2},1032,["bg"])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(s.capsule?"margin-top-sm":"")},[e.renderSlot(a.$slots,`item-${s.key}`,{},()=>[e.createTextVNode(e.toDisplayString(s.content),1)])],2)],2)],2)}),128))]))),128))]))}});H.install=t=>{t.component(H.name,H)};const Tl={class:"bg-white padding"},Dl=["data-index"],Ml={name:"TSteps"},O=e.defineComponent({...Ml,props:{steps:{},modelValue:{},scrollX:{type:Boolean,default:!1},color:{default:"blue"}},emits:["update:modelValue"],setup(t,{emit:n}){return(c,a)=>(e.openBlock(),e.createElementBlock("div",Tl,[e.createElementVNode("div",{class:e.normalizeClass(["cu-steps",{"scroll-x":c.scrollX}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.steps,(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-item",l>c.modelValue?"":`text-${c.color}`]),key:l},[e.createElementVNode("text",{class:e.normalizeClass(o.cuIcon?"cuIcon-"+o.cuIcon:"num"),"data-index":l+1},e.toDisplayString(o.cuIcon?"":l+1),11,Dl),e.createTextVNode(" "+e.toDisplayString(o.name),1)],2))),128))],2)]))}});O.install=t=>{t.component(O.name,O)};const Pl={class:"cu-dialog"},jl={class:"cu-bar bg-white justify-end padding-right-sm"},Ll={class:"content"},Fl=[e.createElementVNode("text",{class:"cuIcon-close text-red"},null,-1)],ql={class:"padding-xl"},Al={name:"DrawerModal"},K=e.defineComponent({...Al,props:{title:{},modelValue:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:n}){const c=n,a=()=>{c("update:modelValue",!1)};return(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-modal",o.modelValue?"show":""])},[e.createElementVNode("div",Pl,[e.createElementVNode("div",jl,[e.createElementVNode("div",Ll,e.toDisplayString(o.title),1),e.createElementVNode("div",{class:"action",onClick:a},Fl)]),e.createElementVNode("div",ql,[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode("Modal 内容~")])])])],2))}});K.install=t=>{t.component(K.name,K)};const ge={spinning:[{r:0,g:219,b:222},{r:252,g:0,b:255},{r:0,g:255,b:163},{r:255,g:0,b:128}],dots:[{r:255,g:0,b:128},{r:0,g:255,b:163},{r:252,g:0,b:255},{r:0,g:219,b:222}],pulse:[{r:0,g:255,b:255},{r:255,g:0,b:255},{r:255,g:255,b:0},{r:0,g:255,b:0}],gradient:[{r:0,g:219,b:222},{r:0,g:255,b:163},{r:252,g:0,b:255},{r:255,g:0,b:128}]},Rl={size:300,dpr:Math.min(2,window.devicePixelRatio||1),centerText:!0,speed:5,lineWidth:10,progress:0,mode:"spinning",maskColor:"rgba(15, 12, 41, 0.9)",colors:ge},le=(t,n)=>`rgba(${t.r},${t.g},${t.b},${n})`,Ul={render(t,n,c){var h;const{size:a,center:o,radius:l}=n,r=c.lineWidth,s=c.speed;t.clearRect(0,0,a,a),t.beginPath(),t.arc(o,o,l-30,0,Math.PI*2),t.fillStyle="rgba(40, 40, 50, 0)",t.fill(),t.beginPath(),t.arc(o,o,l-30,0,Math.PI*2),t.strokeStyle="rgba(255, 255, 255, 0.05)",t.lineWidth=1,t.stroke();const d=n.angle,g=d+Math.PI*1.5,i=t.createConicGradient(d,o,o),m=((h=c.colors)==null?void 0:h.spinning)||[{r:255,g:0,b:128},{r:255,g:0,b:255},{r:0,g:255,b:163},{r:0,g:219,b:222}];i.addColorStop(0,le(m[0],.9)),i.addColorStop(.5,le(m[1]||m[0],1)),i.addColorStop(1,le(m[2]||m[0],.8)),t.beginPath(),t.arc(o,o,l,d,g),t.strokeStyle=i,t.lineWidth=r,t.lineCap="round",t.stroke(),t.beginPath(),t.arc(o,o,l,0,Math.PI*2),t.strokeStyle="rgba(255, 255, 255, 0.08)",t.lineWidth=1,t.stroke(),n.angle+=.02*s}},ae=(t,n)=>`rgba(${t.r},${t.g},${t.b},${n})`,Wl={render(t,n,c){var i;const{size:a,center:o,radius:l}=n,r=c.speed;t.clearRect(0,0,a,a),t.beginPath(),t.arc(o,o,l,0,Math.PI*2),t.strokeStyle="rgba(255,255,255,0.1)",t.lineWidth=2,t.stroke();const s=12,d=8,g=((i=c.colors)==null?void 0:i.dots)||[{r:255,g:0,b:128},{r:0,g:255,b:163},{r:252,g:0,b:255},{r:0,g:219,b:222}];for(let m=0;m<s;m++){const h=n.angle+m*(Math.PI*2)/s,f=o+Math.cos(h)*l,b=o+Math.sin(h)*l,_=.3+.7*Math.abs(Math.sin(h-n.angle));t.beginPath(),t.arc(f,b,d,0,Math.PI*2);const B=t.createRadialGradient(f,b,0,f,b,d),p=g[m%g.length];B.addColorStop(0,ae(p,_)),B.addColorStop(1,ae(p,_*.3)),t.fillStyle=B,t.fill(),t.beginPath(),t.arc(f,b,d+3,0,Math.PI*2),t.fillStyle=ae(p,_*.2),t.fill()}n.angle+=.02*r}},se=(t,n)=>`rgba(${t.r},${t.g},${t.b},${n})`,Xl={render(t,n,c){var p;const{size:a,center:o,radius:l,progress:r}=n,s=c.lineWidth||10,d=c.speed||1;t.clearRect(0,0,a,a),t.beginPath(),t.arc(o,o,l,0,Math.PI*2),t.strokeStyle="rgba(255,255,255,0.1)",t.lineWidth=s,t.stroke();const g=Math.sin((n.angle||0)*2)*.5+.5,i=Math.max(10,l-20+g*40),m=Math.max(1,s+g*5),h=[{r:0,g:255,b:255},{r:255,g:0,b:255},{r:255,g:255,b:0},{r:0,g:255,b:0}],f=(((p=c.colors)==null?void 0:p.pulse)||h).slice(0,4);for(;f.length<4;)f.push(h[f.length%h.length]);const b=t.createRadialGradient(o,o,Math.max(0,l-50),o,o,l+20);b.addColorStop(0,se(f[0],.8)),b.addColorStop(.5,se(f[2],1)),b.addColorStop(1,se(f[3],.6));const _=Math.max(0,Math.min(100,r||0)),B=Math.PI*2*(_/100);B>0&&(t.beginPath(),t.arc(o,o,i,0,B),t.strokeStyle=b,t.lineWidth=m,t.lineCap="round",t.stroke()),B<Math.PI*2&&(t.beginPath(),t.arc(o,o,i,B,Math.PI*2),t.strokeStyle="rgba(255,255,255,0.1)",t.lineWidth=m,t.stroke()),n.angle=(n.angle||0)+.02*d}},J=t=>`rgb(${t.r||0},${t.g||0},${t.b||0})`,he={spinning:Ul,dots:Wl,pulse:Xl,gradient:{render(t,n,c){var h;if(!t||!n||!c){console.warn("gradientRenderer: Missing required parameters");return}const{size:a,center:o,radius:l,progress:r}=n,s=c.lineWidth||10,d=c.speed||1;if(a<=0||o<=0||l<=0){console.warn("gradientRenderer: Invalid dimensions");return}t.clearRect(0,0,a,a),t.beginPath(),t.arc(o,o,Math.max(0,l),0,Math.PI*2),t.strokeStyle="rgba(255,255,255,0.1)",t.lineWidth=Math.max(1,s),t.stroke();const g=[{r:0,g:219,b:222},{r:0,g:255,b:163},{r:252,g:0,b:255},{r:255,g:0,b:128}],i=(((h=c.colors)==null?void 0:h.gradient)||g).slice(0,4);for(;i.length<4;)i.push(g[i.length%g.length]);try{const f=t.createConicGradient(n.angle||0,o,o);f.addColorStop(0,J(i[0])),f.addColorStop(.25,J(i[1])),f.addColorStop(.5,J(i[2])),f.addColorStop(.75,J(i[3])),f.addColorStop(1,J(i[0])),t.beginPath(),t.arc(o,o,l,0,Math.PI*2),t.strokeStyle=f,t.lineWidth=s,t.lineCap="round",t.stroke()}catch(f){console.warn("gradientRenderer: Failed to create gradient",f)}const m=Math.max(0,Math.min(100,r||0));if(m<100){const f=Math.PI*2*(m/100)-Math.PI/2;t.beginPath(),t.arc(o,o,l,f,Math.PI*1.5),t.strokeStyle=c.maskColor||"rgba(15, 12, 41, 0.9)",t.lineWidth=Math.max(1,s+2),t.lineCap="round",t.stroke()}n.angle=(n.angle||0)+.01*d}}},re=(t,n,c)=>Math.max(n,Math.min(c,t));function Yl(t,n){var b;const c=t.getContext("2d");if(!c)throw new Error("CanvasRenderingContext2D not available");let a={...Rl,...n,colors:{...ge,...(n==null?void 0:n.colors)||{}}};const o=()=>{const _=a.dpr;t.width=Math.floor(a.size*_),t.height=Math.floor(a.size*_),t.style.width=`${a.size}px`,t.style.height=`${a.size}px`,c.setTransform(_,0,0,_,0,0)};o();const l={raf:null,lastTs:0,angle:0,progress:re(a.progress,0,100),mode:a.mode,size:a.size,center:a.size/2,radius:Math.min(a.size,a.size)*.4,ctx:c};let r=he[l.mode];(b=r.init)==null||b.call(r,c,l,a);const s=_=>{l.raf=requestAnimationFrame(s);const B=l.lastTs?_-l.lastTs:16.7;l.lastTs=_,r.render(c,l,a,B)},d=()=>{l.raf==null&&(l.lastTs=0,l.raf=requestAnimationFrame(s))},g=()=>{l.raf!=null&&(cancelAnimationFrame(l.raf),l.raf=null)},i=_=>{l.progress=re(_,0,100)},m=_=>{var B,p;l.mode!==_&&((B=r.destroy)==null||B.call(r),l.mode=_,r=he[_],(p=r.init)==null||p.call(r,c,l,a))},h=_=>{a={...a,..._,colors:{...a.colors,..._.colors||{}}},l.progress=re(a.progress,0,100),l.size=a.size,l.center=a.size/2,l.radius=a.size*.4,o()},f=()=>{var _;g(),(_=r.destroy)==null||_.call(r),c.clearRect(0,0,l.size,l.size)};return d(),{start:d,stop:g,destroy:f,setProgress:i,setMode:m,updateConfig:h}}const xl={name:"Loading1"},Gl=e.defineComponent({...xl,props:{width:{default:300},height:{default:300},mode:{default:"spinning"},progress:{default:0},speed:{default:2},lineWidth:{default:10},size:{default:300},dpr:{default:typeof window<"u"?Math.min(2,window.devicePixelRatio||1):1},centerText:{type:Boolean,default:!0},maskColor:{default:"rgba(15, 12, 41, 0.9)"},modelValue:{default:void 0},text:{default:""}},emits:["update:modelValue"],setup(t,{expose:n,emit:c}){e.inject("router",null);const a=t,o=e.computed(()=>`min-width: ${a.width}px; min-height: ${a.height}px;`),l=e.ref(null);let r=null,s=null;const d=()=>{if(!l.value){console.warn("Canvas element not found");return}if(typeof window>"u"){console.warn("Window object not available, skipping canvas initialization");return}const m={size:a.size,dpr:a.dpr,centerText:a.centerText,speed:a.speed,lineWidth:a.lineWidth,progress:a.progress,mode:a.mode,maskColor:a.maskColor};try{r=Yl(l.value,m)}catch(h){console.error("Failed to create canvas loader:",h)}};let g=null;const i=m=>{g&&clearTimeout(g),g=setTimeout(m,16)};return e.watch(()=>a.mode,m=>{i(()=>{r&&r.setMode(m)})}),e.watch(()=>a.progress,m=>{i(()=>{r&&r.setProgress(m)})}),e.watch(()=>a.speed,m=>{i(()=>{r&&r.updateConfig({speed:m})})}),e.watch(()=>[a.size,a.lineWidth,a.maskColor],()=>{i(()=>{r&&r.updateConfig({size:a.size,lineWidth:a.lineWidth,maskColor:a.maskColor})})},{deep:!0}),e.onMounted(()=>{s=setTimeout(()=>{d()},0)}),e.onUnmounted(()=>{g&&clearTimeout(g),s&&clearTimeout(s),r&&r.destroy()}),n({restart:()=>{r&&(r.destroy(),d())},setProgress:m=>{r&&r.setProgress(m)}}),(m,h)=>(e.openBlock(),e.createElementBlock("div",{class:"loading-animation",style:e.normalizeStyle(o.value)},[e.createElementVNode("canvas",{ref_key:"canvas",ref:l},null,512)],4))}}),Q=E(Gl,[["__scopeId","data-v-e5a9ce26"]]);Q.install=t=>{t.component(Q.name,Q)};const Hl=["data-index"],Ol={name:"TVirtualScrollSlide"},Kl=e.defineComponent({...Ol,props:{virtualTotal:{},render:{type:Function},list:{}},emits:["slideLeft","slideRight"],setup(t,{emit:n}){const c=t,a=n,o=e.ref(null),l=e.ref(null),r=e.ref(0),s=e.reactive({localIndex:0,wrapperHeight:0,touchStartY:0,touchEndY:0,touchStartX:0,touchEndX:0}),d=e.ref([]),g="slide-item";e.watch(()=>c.list,(y,$)=>{y.length!==$.length&&i()}),e.onMounted(()=>{o.value&&(s.wrapperHeight=o.value.clientHeight,i())});const i=()=>{const y=Math.max(0,s.localIndex),$=Math.min(s.localIndex+c.virtualTotal,c.list.length);d.value=c.list.slice(y,$),r.value=-s.localIndex*s.wrapperHeight},m=y=>{y.touches.length>0&&(s.touchStartY=y.touches[0].clientY,s.touchStartX=y.touches[0].clientX)},h=y=>{y.touches.length>0&&(s.touchEndY=y.touches[0].clientY,s.touchEndX=y.touches[0].clientX)},f=()=>{const y=s.touchEndY-s.touchStartY,$=s.touchEndX-s.touchStartX;if(Math.abs(y)>Math.abs($)&&Math.abs(y)>30)y<0?b():_();else if(Math.abs($)>30){const Z=d.value[0];$<0?a("slideLeft",{item:Z,index:s.localIndex}):a("slideRight",{item:Z,index:s.localIndex})}s.touchStartY=0,s.touchEndY=0,s.touchStartX=0,s.touchEndX=0},b=()=>{s.localIndex<c.list.length-1&&(s.localIndex++,i())},_=()=>{s.localIndex>0&&(s.localIndex--,i())},B=y=>(s.localIndex+y)*s.wrapperHeight,p=(y,$)=>(y==null?void 0:y.id)!==void 0?y.id:`item-${s.localIndex+$}`,C=e.computed(()=>d.value.map((y,$)=>`video-${p(y,$)}`).join(","));return(y,$)=>(e.openBlock(),e.createElementBlock("div",{class:"slide-wrapper",ref_key:"wrapper",ref:o,onTouchstart:m,onTouchmove:h,onTouchend:f},[e.createElementVNode("div",{class:"slide-list",ref_key:"slideList",ref:l,style:e.normalizeStyle({transform:`translateY(${r.value}px)`})},[(e.openBlock(),e.createBlock(e.KeepAlive,{include:C.value},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(Z,te)=>(e.openBlock(),e.createElementBlock("div",{key:p(Z,te),"data-index":te,class:e.normalizeClass(g),style:e.normalizeStyle({top:`${B(te)}px`})},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(y.render(Z,te))))],12,Hl))),128))],1032,["include"]))],4)],544))}}),ee=E(Kl,[["__scopeId","data-v-392cb42c"]]);ee.install=t=>{t.component(ee.name,ee)};const Jl={install:t=>{t.use(N),t.use(j),t.use(u),t.use(S),t.use(I),t.use(w),t.use(z),t.use(T),t.use(D),t.use(M),t.use(P),t.use(F),t.use(q),t.use(A),t.use(R),t.use(U),t.use(W),t.use(X),t.use(Y),t.use(L),t.use(V),t.use(x),t.use(G),t.use(H),t.use(O),t.use(K),t.use(Q),t.use(ee)}};k.ChatList=x,k.ChatRoom=G,k.DrawerModal=K,k.GridGroup=X,k.Loading1=Q,k.Menu=Y,k.TAvatar=u,k.TAvatarGroup=S,k.TButton=L,k.TIcon=N,k.TImageCard=P,k.TInputBar=R,k.TNavBar=F,k.TNavCard=I,k.TNewCard=w,k.TProductCard=T,k.TProfileCard=D,k.TSearchBar=A,k.TShareCard=z,k.TStatCard=M,k.TSteps=O,k.TTab=W,k.TTabs=U,k.TTag=V,k.TTitle=j,k.TTopBar=q,k.TimeLine=H,k.default=Jl,k.textColor=dn,Object.defineProperties(k,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
5
+ */var de;(function(t){t.pop="pop",t.push="push"})(de||(de={}));var me;(function(t){t.back="back",t.forward="forward",t.unknown=""})(me||(me={})),Symbol(process.env.NODE_ENV!=="production"?"navigation failure":"");var pe;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(pe||(pe={})),Symbol(process.env.NODE_ENV!=="production"?"router view location matched":""),Symbol(process.env.NODE_ENV!=="production"?"router view depth":"");const un=Symbol(process.env.NODE_ENV!=="production"?"router":"");Symbol(process.env.NODE_ENV!=="production"?"route location":""),Symbol(process.env.NODE_ENV!=="production"?"router view location":"");function Vn(){return e.inject(un)}const Nn=["onClick"],Sn={key:0,class:"cu-tag badge"},In={key:0},wn={name:"GridGroup"},X=e.defineComponent({...wn,props:{cuIconList:{default:()=>[{cuIcon:"cardboardfill",color:"red",badge:120,name:"VR",link:"http://www.baidu.com/"},{cuIcon:"recordfill",color:"orange",badge:1,name:"录像"},{cuIcon:"picfill",color:"yellow",badge:0,name:"图像"},{cuIcon:"noticefill",color:"olive",badge:22,name:"通知"},{cuIcon:"upstagefill",color:"cyan",badge:0,name:"排行榜"},{cuIcon:"clothesfill",color:"blue",badge:0,name:"皮肤"},{cuIcon:"discoverfill",color:"purple",badge:0,name:"发现"},{cuIcon:"questionfill",color:"mauve",badge:0,name:"帮助"},{cuIcon:"commandfill",color:"purple",badge:0,name:"问答"},{cuIcon:"brandfill",color:"mauve",badge:0,name:"版权"}]},gridCol:{default:4},gridBorder:{type:Boolean,default:!1},routeFn:{type:Function,default:void 0}},setup(t){const n=t,c=Vn(),a=o=>{if(o.path){n.routeFn?n.routeFn().push({path:o.path}):c.push({path:o.path});return}if(o.link){window.location.href=o.link;return}};return(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-list grid",["col-"+o.gridCol,o.gridBorder?"":"no-border"]])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.cuIconList,(r,s)=>(e.openBlock(),e.createElementBlock("div",{class:"cu-item",key:s,style:e.normalizeStyle(`width: calc(100% / ${o.gridCol})`),onClick:d=>a(r)},[e.createElementVNode("div",{class:e.normalizeClass(["cuIcon-"+r.cuIcon,"text-"+r.color])},[r.badge!=0?(e.openBlock(),e.createElementBlock("div",Sn,[r.badge!=1?(e.openBlock(),e.createElementBlock("i",In,e.toDisplayString((r.badge||0)>99?"99+":r.badge),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],2),e.createElementVNode("text",null,e.toDisplayString(r.name),1)],12,Nn))),128))],2))}});X.install=t=>{t.component(X.name,X)};const zn=["onClick"],Tn={class:"content"},Dn=["src","alt"],Mn={class:"text-grey"},Pn={class:"action"},jn={key:1,class:"text-grey text-sm"},Ln=["onClick"],Fn={key:4,class:"text-grey text-sm"},qn={name:"Menu"},Y=e.defineComponent({...qn,props:{menuItems:{default:()=>[{title:"测试菜单",icon:{name:"warn",color:"blue"},text:"小目标还没有实现!"},{title:"图片菜单",img:{url:"https://ossweb-img.qq.com/images/lol/web201310/skin/big91012.jpg",alt:"图片菜单"}},{title:"头像组",icon:{name:"emoji",color:"pink"},group:["https://ossweb-img.qq.com/images/lol/web201310/skin/big10001.jpg","https://ossweb-img.qq.com/images/lol/web201310/skin/big81005.jpg","https://ossweb-img.qq.com/images/lol/web201310/skin/big25002.jpg","https://ossweb-img.qq.com/images/lol/web201310/skin/big91012.jpg"]},{title:"按钮",icon:{name:"btn",color:"green"},btn:{text:"上传",bg:"green",icon:"upload",event:()=>{console.log("点击了按钮")}}},{title:"标签",icon:{name:"tagfill",color:"red"},tags:[{text:"音乐",bg:"orange",light:!0,size:"sm"},{text:"电影",bg:"green",light:!0,size:"sm"},{text:"旅行",light:!1}]}]},menuBorder:{type:Boolean,default:!1},menuArrow:{type:Boolean,default:!1},menuCard:{type:Boolean,default:!1}},setup(t){const n=a=>{a.event&&a.event(a)},c=a=>{a&&a()};return(a,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-list menu",[a.menuBorder?"sm-border":"",a.menuCard?"card-menu":""]])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.menuItems,(l,r)=>(e.openBlock(),e.createElementBlock("div",{key:r,class:e.normalizeClass(["cu-item",a.menuArrow?"arrow":""]),onClick:s=>n(l)},[e.createElementVNode("div",Tn,[l.icon?(e.openBlock(),e.createBlock(N,{key:0,class:"icon",name:l.icon.name,color:l.icon.color},null,8,["name","color"])):e.createCommentVNode("",!0),l.img?(e.openBlock(),e.createElementBlock("img",{key:1,class:"icon",src:l.img.url,alt:l.img.alt},null,8,Dn)):e.createCommentVNode("",!0),e.createElementVNode("text",Mn,e.toDisplayString(l.title),1)]),e.createElementVNode("div",Pn,[l.group?(e.openBlock(),e.createBlock(S,{key:0,urls:l.group},null,8,["urls"])):e.createCommentVNode("",!0),l.group?(e.openBlock(),e.createElementBlock("text",jn,e.toDisplayString(l.group.length)+"人",1)):e.createCommentVNode("",!0),l.btn?(e.openBlock(),e.createElementBlock("button",{key:2,class:e.normalizeClass(["cu-btn round shadow",`bg-${l.btn.bg}`]),onClick:s=>{var d;return c((d=l.btn)==null?void 0:d.event)}},[l.btn.icon?(e.openBlock(),e.createBlock(N,{key:0,name:l.btn.icon,color:"white"},null,8,["name"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(l.btn.text),1)],10,Ln)):e.createCommentVNode("",!0),l.tags?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:3},e.renderList(l.tags,(s,d)=>(e.openBlock(),e.createBlock(V,{size:s.size,key:d,bg:s.bg,light:s.light,shape:"round"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.text),1)]),_:2},1032,["size","bg","light"]))),128)):e.createCommentVNode("",!0),l.text?(e.openBlock(),e.createElementBlock("text",Fn,e.toDisplayString(l.text),1)):e.createCommentVNode("",!0)])],10,zn))),128))],2))}});Y.install=t=>{t.component(Y.name,Y)};const An={key:1,class:"cu-tag badge"},Rn={class:"content"},Un={class:"flex align-center"},Wn={class:"text-cut text-black"},Xn={class:"reply-content"},Yn={class:"reply-label"},Gn={class:"text-gray text-sm flex"},xn={class:"text-cut"},Hn={class:"action"},On={class:"text-grey text-xs"},Kn={name:"ChatListItem"},Jn=e.defineComponent({...Kn,props:{userinfo:{},roomId:{},roomName:{},time:{default:""},avatarName:{default:"friendfill"},avatarBg:{default:"grey"},unread:{},unreadColor:{},badge:{},icon:{},iconClass:{},isDisconnected:{type:Boolean},isCurrent:{type:Boolean},content:{},event:{type:Function,default:()=>{}},showReply:{type:Boolean,default:!1},replyTo:{},replyContent:{},replyAuthor:{default:""},allMessages:{}},emits:["reply-click"],setup(t,{emit:n}){const c=t,a=e.computed(()=>{if(!c.showReply||!c.replyTo)return!1;if(!c.allMessages)return!0;const s=c.allMessages.findIndex(d=>d.roomId===c.roomId&&d.time===c.time);return!(s>0&&c.allMessages[s-1].id===c.replyTo)}),o=()=>{if(c.replyContent)return c.replyContent;if(c.allMessages&&c.replyTo){const s=c.allMessages.find(d=>d.id===c.replyTo);if(s&&s.content){const d=s.content||"";return d.length>30?d.substring(0,30)+"...":d}}return"查看引用消息"},l=()=>{c.replyTo&&r("reply-click",c.replyTo)},r=n;return(s,d)=>{var i;const g=e.resolveComponent("TIcon");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-item",{grayscale:s.isDisconnected,cur:s.isCurrent}]),onClick:d[0]||(d[0]=m=>s.event(c))},[e.createElementVNode("div",{class:e.normalizeClass(["cu-avatar",s.userinfo.avatarShape,"lg",`bg-${s.avatarBg}`]),style:e.normalizeStyle({backgroundImage:s.userinfo.avatar?`url(${s.userinfo.avatar})`:""})},[(i=s.userinfo)!=null&&i.avatar?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(g,{key:0,name:s.avatarName,size:36,color:"white"},null,8,["name"])),s.badge?(e.openBlock(),e.createElementBlock("div",An,e.toDisplayString(s.badge),1)):e.createCommentVNode("",!0)],6),e.createElementVNode("div",Rn,[e.createElementVNode("div",Un,[e.createElementVNode("div",Wn,e.toDisplayString(s.userinfo.name),1),s.userinfo.tag?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cu-tag","round",`bg-${s.userinfo.tagColor}`,"sm"])},e.toDisplayString(s.userinfo.tag),3)):e.createCommentVNode("",!0)]),a.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"reply-preview",onClick:e.withModifiers(l,["stop"])},[e.createElementVNode("div",Xn,[e.createElementVNode("span",Yn,"回复 "+e.toDisplayString(s.replyAuthor)+":",1),e.createTextVNode(" "+e.toDisplayString(s.replyContent||o()),1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",Gn,[e.createElementVNode("div",xn,[e.renderSlot(s.$slots,"default",{},void 0,!0)])])]),e.createElementVNode("div",Hn,[e.createElementVNode("div",On,e.toDisplayString(s.time),1),s.unread?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cu-tag","round",`bg-${s.unreadColor}`,"sm"])},e.toDisplayString(s.unread),3)):s.icon?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(s.iconClass)},null,2)):e.createCommentVNode("",!0)])],2)}}}),ne=E(Jn,[["__scopeId","data-v-2e628864"]]),Qn={class:"cu-list menu-avatar"},Zn={name:"ChatList"},G=e.defineComponent({...Zn,props:{items:{},showReply:{type:Boolean,default:!1}},emits:["reply-click"],setup(t,{emit:n}){const c=o=>{a("reply-click",o)},a=n;return(o,l)=>(e.openBlock(),e.createElementBlock("div",Qn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.items,(r,s)=>(e.openBlock(),e.createBlock(ne,{key:s,"avatar-name":r.avatarName,"avatar-bg":r.avatarBg,time:r.time,userinfo:r.userinfo,unread:r.unread,unreadColor:r.unreadColor,badge:r.badge,icon:r.icon,iconClass:r.iconClass,isDisconnected:r.isDisconnected,isCurrent:r.isCurrent,event:r.event,"show-reply":o.showReply,"reply-to":r.replyTo,"reply-content":r.replyContent,"reply-author":r.replyAuthor,"all-messages":o.items,onReplyClick:c},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{item:r},()=>[e.createTextVNode(e.toDisplayString(r.content),1)])]),_:2},1032,["avatar-name","avatar-bg","time","userinfo","unread","unreadColor","badge","icon","iconClass","isDisconnected","isCurrent","event","show-reply","reply-to","reply-content","reply-author","all-messages"]))),128))]))}});G.install=t=>{t.component(G.name,G),t.component(ne.name,ne)};const v=t=>(e.pushScopeId("data-v-52c7eb4d"),t=t(),e.popScopeId(),t),vn={class:"cu-chat"},el={key:0,class:"cu-info round"},tl={key:1,class:"cu-info"},ol=v(()=>e.createElementVNode("text",{class:"cuIcon-roundclosefill text-red"},null,-1)),nl={class:"main"},ll={key:2,class:"content shadow"},al=v(()=>e.createElementVNode("text",{class:"cuIcon-sound text-xxl padding-right-xl"},null,-1)),sl={class:"action text-bold text-grey"},rl={key:3,class:"content shadow"},cl=v(()=>e.createElementVNode("text",{class:"cuIcon-locationfill text-orange text-xxl"},null,-1)),il={class:"content shadow"},dl=v(()=>e.createElementVNode("div",{class:"action text-grey"},[e.createElementVNode("text",{class:"cuIcon-warnfill text-red text-xxl"}),e.createElementVNode("text",{class:"text-sm margin-left-sm"},"翻译错误")],-1)),ml={key:5,class:"content shadow link-content"},pl=["href"],gl={class:"link-icon"},hl={key:0,class:"emoji"},fl={key:2,class:"cuIcon-link text-blue link-icon-font"},kl={class:"link-info"},yl={class:"link-title"},_l={class:"link-url"},bl={class:"card-header"},Bl={key:0,class:"card-emoji"},Cl={class:"card-title"},El={class:"card-body"},$l={key:0,class:"card-footer"},ul=["href"],Vl={class:"date"},Nl={name:"ChatRoom"},Sl=e.defineComponent({...Nl,props:{messages:{}},setup(t){const n=c=>{try{const a=new URL(c);return a.hostname+a.pathname}catch{return c.length>30?c.substring(0,30)+"...":c}};return(c,a)=>(e.openBlock(),e.createElementBlock("div",vn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.messages,o=>(e.openBlock(),e.createElementBlock("div",{key:o.id,class:e.normalizeClass(["cu-item",{self:o.self}])},[o.type==="info"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.self?(e.openBlock(),e.createElementBlock("div",el,e.toDisplayString(o.content),1)):(e.openBlock(),e.createElementBlock("div",tl,[ol,e.createTextVNode(" "+e.toDisplayString(o.content),1)]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.self?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(u,{key:0,mode:"radius",url:o.avatar},null,8,["url"])),e.createElementVNode("div",nl,[o.type==="text"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["content shadow",{"bg-green":o.self}])},[e.createElementVNode("text",null,e.toDisplayString(o.content),1)],2)):o.type==="image"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)):o.type==="audio"?(e.openBlock(),e.createElementBlock("div",ll,[al,e.createElementVNode("div",sl,e.toDisplayString(o.content),1)])):o.type==="location"?(e.openBlock(),e.createElementBlock("div",rl,[cl,e.createTextVNode(" "+e.toDisplayString(o.content),1)])):o.type==="warning"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[e.createElementVNode("div",il,e.toDisplayString(o.content),1),dl],64)):o.type==="link"?(e.openBlock(),e.createElementBlock("div",ml,[e.createElementVNode("a",{href:o.url,target:"_blank",rel:"noopener noreferrer",class:"link-item"},[e.createElementVNode("div",gl,[o.emoji?(e.openBlock(),e.createElementBlock("span",hl,e.toDisplayString(o.emoji),1)):o.icon?(e.openBlock(),e.createElementBlock("text",{key:1,class:e.normalizeClass([["cuIcon-"+o.icon,o.iconColor?`text-${o.iconColor}`:""],"link-icon-font"])},null,2)):(e.openBlock(),e.createElementBlock("text",fl))]),e.createElementVNode("div",kl,[e.createElementVNode("div",yl,e.toDisplayString(o.title),1),e.createElementVNode("div",_l,e.toDisplayString(n(o.url||"")),1)])],8,pl)])):o.type==="card"?(e.openBlock(),e.createElementBlock("div",{key:6,class:e.normalizeClass(["content shadow card-content",{"bg-green":o.self}])},[e.createElementVNode("div",bl,[o.emoji?(e.openBlock(),e.createElementBlock("text",Bl,e.toDisplayString(o.emoji),1)):o.icon?(e.openBlock(),e.createElementBlock("text",{key:1,class:e.normalizeClass([["cuIcon-"+o.icon,o.iconColor?`text-${o.iconColor}`:""],"card-icon"])},null,2)):e.createCommentVNode("",!0),e.createElementVNode("h4",Cl,e.toDisplayString(o.title),1)]),e.createElementVNode("div",El,e.toDisplayString(o.content),1),o.url?(e.openBlock(),e.createElementBlock("div",$l,[e.createElementVNode("a",{href:o.url,target:"_blank",rel:"noopener noreferrer",class:"card-link"}," 查看详情 ",8,ul)])):e.createCommentVNode("",!0)],2)):e.renderSlot(c.$slots,"custom-message",{key:7,message:o},void 0,!0)]),o.self?(e.openBlock(),e.createBlock(u,{key:1,mode:"radius",url:o.avatar},null,8,["url"])):e.createCommentVNode("",!0),e.createElementVNode("div",Vl,e.toDisplayString(o.date),1)],64))],2))),128))]))}}),x=E(Sl,[["__scopeId","data-v-52c7eb4d"]]);x.install=t=>{t.component(x.name,x)};const Il={class:"cu-time"},wl={key:0,class:"cu-capsule radius"},zl={name:"TimeLine"},H=e.defineComponent({...zl,props:{items:{default:()=>[]}},setup(t){function n(a){return a||"cyan"}function c(a){switch(a.status){case"past":return`text-green cuIcon-${a.icon||"roundcheckfill"}`;case"ongoing":return"text-red cuIcon-all";case"upcoming":return`text-gray cuIcon-${a.icon||"radioboxfill"}`;default:return`text-gray cuIcon-${a.icon||"radioboxfill"}`}}return(a,o)=>(e.openBlock(),e.createElementBlock("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.items,(l,r)=>(e.openBlock(),e.createElementBlock("div",{key:r,class:"cu-timeline"},[e.createElementVNode("div",Il,e.toDisplayString(l.date),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.items,s=>{var d,g,i;return e.openBlock(),e.createElementBlock("div",{key:s.key,class:e.normalizeClass(["cu-item",c(s)])},[e.createElementVNode("div",{class:e.normalizeClass(["content",`bg-${s.bg||"gray"}`,"shadow-blur"])},[(d=s==null?void 0:s.capsule)!=null&&d.list&&s.capsule.list.length?(e.openBlock(),e.createElementBlock("div",wl,[e.createVNode(V,{bg:n((g=s.capsule)==null?void 0:g.color)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.capsule.list[0]),1)]),_:2},1032,["bg"]),e.createVNode(V,{bg:n((i=s.capsule)==null?void 0:i.color),light:!0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.capsule.list[1]),1)]),_:2},1032,["bg"])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(s.capsule?"margin-top-sm":"")},[e.renderSlot(a.$slots,`item-${s.key}`,{},()=>[e.createTextVNode(e.toDisplayString(s.content),1)])],2)],2)],2)}),128))]))),128))]))}});H.install=t=>{t.component(H.name,H)};const Tl={class:"bg-white padding"},Dl=["data-index"],Ml={name:"TSteps"},O=e.defineComponent({...Ml,props:{steps:{},modelValue:{},scrollX:{type:Boolean,default:!1},color:{default:"blue"}},emits:["update:modelValue"],setup(t,{emit:n}){return(c,a)=>(e.openBlock(),e.createElementBlock("div",Tl,[e.createElementVNode("div",{class:e.normalizeClass(["cu-steps",{"scroll-x":c.scrollX}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.steps,(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-item",l>c.modelValue?"":`text-${c.color}`]),key:l},[e.createElementVNode("text",{class:e.normalizeClass(o.cuIcon?"cuIcon-"+o.cuIcon:"num"),"data-index":l+1},e.toDisplayString(o.cuIcon?"":l+1),11,Dl),e.createTextVNode(" "+e.toDisplayString(o.name),1)],2))),128))],2)]))}});O.install=t=>{t.component(O.name,O)};const Pl={class:"cu-dialog"},jl={class:"cu-bar bg-white justify-end padding-right-sm"},Ll={class:"content"},Fl=[e.createElementVNode("text",{class:"cuIcon-close text-red"},null,-1)],ql={class:"padding-xl"},Al={name:"DrawerModal"},K=e.defineComponent({...Al,props:{title:{},modelValue:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:n}){const c=n,a=()=>{c("update:modelValue",!1)};return(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cu-modal",o.modelValue?"show":""])},[e.createElementVNode("div",Pl,[e.createElementVNode("div",jl,[e.createElementVNode("div",Ll,e.toDisplayString(o.title),1),e.createElementVNode("div",{class:"action",onClick:a},Fl)]),e.createElementVNode("div",ql,[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode("Modal 内容~")])])])],2))}});K.install=t=>{t.component(K.name,K)};const ge={spinning:[{r:0,g:219,b:222},{r:252,g:0,b:255},{r:0,g:255,b:163},{r:255,g:0,b:128}],dots:[{r:255,g:0,b:128},{r:0,g:255,b:163},{r:252,g:0,b:255},{r:0,g:219,b:222}],pulse:[{r:0,g:255,b:255},{r:255,g:0,b:255},{r:255,g:255,b:0},{r:0,g:255,b:0}],gradient:[{r:0,g:219,b:222},{r:0,g:255,b:163},{r:252,g:0,b:255},{r:255,g:0,b:128}]},Rl={size:300,dpr:Math.min(2,window.devicePixelRatio||1),centerText:!0,speed:5,lineWidth:10,progress:0,mode:"spinning",maskColor:"rgba(15, 12, 41, 0.9)",colors:ge},le=(t,n)=>`rgba(${t.r},${t.g},${t.b},${n})`,Ul={render(t,n,c){var h;const{size:a,center:o,radius:l}=n,r=c.lineWidth,s=c.speed;t.clearRect(0,0,a,a),t.beginPath(),t.arc(o,o,l-30,0,Math.PI*2),t.fillStyle="rgba(40, 40, 50, 0)",t.fill(),t.beginPath(),t.arc(o,o,l-30,0,Math.PI*2),t.strokeStyle="rgba(255, 255, 255, 0.05)",t.lineWidth=1,t.stroke();const d=n.angle,g=d+Math.PI*1.5,i=t.createConicGradient(d,o,o),m=((h=c.colors)==null?void 0:h.spinning)||[{r:255,g:0,b:128},{r:255,g:0,b:255},{r:0,g:255,b:163},{r:0,g:219,b:222}];i.addColorStop(0,le(m[0],.9)),i.addColorStop(.5,le(m[1]||m[0],1)),i.addColorStop(1,le(m[2]||m[0],.8)),t.beginPath(),t.arc(o,o,l,d,g),t.strokeStyle=i,t.lineWidth=r,t.lineCap="round",t.stroke(),t.beginPath(),t.arc(o,o,l,0,Math.PI*2),t.strokeStyle="rgba(255, 255, 255, 0.08)",t.lineWidth=1,t.stroke(),n.angle+=.02*s}},ae=(t,n)=>`rgba(${t.r},${t.g},${t.b},${n})`,Wl={render(t,n,c){var i;const{size:a,center:o,radius:l}=n,r=c.speed;t.clearRect(0,0,a,a),t.beginPath(),t.arc(o,o,l,0,Math.PI*2),t.strokeStyle="rgba(255,255,255,0.1)",t.lineWidth=2,t.stroke();const s=12,d=8,g=((i=c.colors)==null?void 0:i.dots)||[{r:255,g:0,b:128},{r:0,g:255,b:163},{r:252,g:0,b:255},{r:0,g:219,b:222}];for(let m=0;m<s;m++){const h=n.angle+m*(Math.PI*2)/s,f=o+Math.cos(h)*l,b=o+Math.sin(h)*l,_=.3+.7*Math.abs(Math.sin(h-n.angle));t.beginPath(),t.arc(f,b,d,0,Math.PI*2);const B=t.createRadialGradient(f,b,0,f,b,d),p=g[m%g.length];B.addColorStop(0,ae(p,_)),B.addColorStop(1,ae(p,_*.3)),t.fillStyle=B,t.fill(),t.beginPath(),t.arc(f,b,d+3,0,Math.PI*2),t.fillStyle=ae(p,_*.2),t.fill()}n.angle+=.02*r}},se=(t,n)=>`rgba(${t.r},${t.g},${t.b},${n})`,Xl={render(t,n,c){var p;const{size:a,center:o,radius:l,progress:r}=n,s=c.lineWidth||10,d=c.speed||1;t.clearRect(0,0,a,a),t.beginPath(),t.arc(o,o,l,0,Math.PI*2),t.strokeStyle="rgba(255,255,255,0.1)",t.lineWidth=s,t.stroke();const g=Math.sin((n.angle||0)*2)*.5+.5,i=Math.max(10,l-20+g*40),m=Math.max(1,s+g*5),h=[{r:0,g:255,b:255},{r:255,g:0,b:255},{r:255,g:255,b:0},{r:0,g:255,b:0}],f=(((p=c.colors)==null?void 0:p.pulse)||h).slice(0,4);for(;f.length<4;)f.push(h[f.length%h.length]);const b=t.createRadialGradient(o,o,Math.max(0,l-50),o,o,l+20);b.addColorStop(0,se(f[0],.8)),b.addColorStop(.5,se(f[2],1)),b.addColorStop(1,se(f[3],.6));const _=Math.max(0,Math.min(100,r||0)),B=Math.PI*2*(_/100);B>0&&(t.beginPath(),t.arc(o,o,i,0,B),t.strokeStyle=b,t.lineWidth=m,t.lineCap="round",t.stroke()),B<Math.PI*2&&(t.beginPath(),t.arc(o,o,i,B,Math.PI*2),t.strokeStyle="rgba(255,255,255,0.1)",t.lineWidth=m,t.stroke()),n.angle=(n.angle||0)+.02*d}},J=t=>`rgb(${t.r||0},${t.g||0},${t.b||0})`,he={spinning:Ul,dots:Wl,pulse:Xl,gradient:{render(t,n,c){var h;if(!t||!n||!c){console.warn("gradientRenderer: Missing required parameters");return}const{size:a,center:o,radius:l,progress:r}=n,s=c.lineWidth||10,d=c.speed||1;if(a<=0||o<=0||l<=0){console.warn("gradientRenderer: Invalid dimensions");return}t.clearRect(0,0,a,a),t.beginPath(),t.arc(o,o,Math.max(0,l),0,Math.PI*2),t.strokeStyle="rgba(255,255,255,0.1)",t.lineWidth=Math.max(1,s),t.stroke();const g=[{r:0,g:219,b:222},{r:0,g:255,b:163},{r:252,g:0,b:255},{r:255,g:0,b:128}],i=(((h=c.colors)==null?void 0:h.gradient)||g).slice(0,4);for(;i.length<4;)i.push(g[i.length%g.length]);try{const f=t.createConicGradient(n.angle||0,o,o);f.addColorStop(0,J(i[0])),f.addColorStop(.25,J(i[1])),f.addColorStop(.5,J(i[2])),f.addColorStop(.75,J(i[3])),f.addColorStop(1,J(i[0])),t.beginPath(),t.arc(o,o,l,0,Math.PI*2),t.strokeStyle=f,t.lineWidth=s,t.lineCap="round",t.stroke()}catch(f){console.warn("gradientRenderer: Failed to create gradient",f)}const m=Math.max(0,Math.min(100,r||0));if(m<100){const f=Math.PI*2*(m/100)-Math.PI/2;t.beginPath(),t.arc(o,o,l,f,Math.PI*1.5),t.strokeStyle=c.maskColor||"rgba(15, 12, 41, 0.9)",t.lineWidth=Math.max(1,s+2),t.lineCap="round",t.stroke()}n.angle=(n.angle||0)+.01*d}}},re=(t,n,c)=>Math.max(n,Math.min(c,t));function Yl(t,n){var b;const c=t.getContext("2d");if(!c)throw new Error("CanvasRenderingContext2D not available");let a={...Rl,...n,colors:{...ge,...(n==null?void 0:n.colors)||{}}};const o=()=>{const _=a.dpr;t.width=Math.floor(a.size*_),t.height=Math.floor(a.size*_),t.style.width=`${a.size}px`,t.style.height=`${a.size}px`,c.setTransform(_,0,0,_,0,0)};o();const l={raf:null,lastTs:0,angle:0,progress:re(a.progress,0,100),mode:a.mode,size:a.size,center:a.size/2,radius:Math.min(a.size,a.size)*.4,ctx:c};let r=he[l.mode];(b=r.init)==null||b.call(r,c,l,a);const s=_=>{l.raf=requestAnimationFrame(s);const B=l.lastTs?_-l.lastTs:16.7;l.lastTs=_,r.render(c,l,a,B)},d=()=>{l.raf==null&&(l.lastTs=0,l.raf=requestAnimationFrame(s))},g=()=>{l.raf!=null&&(cancelAnimationFrame(l.raf),l.raf=null)},i=_=>{l.progress=re(_,0,100)},m=_=>{var B,p;l.mode!==_&&((B=r.destroy)==null||B.call(r),l.mode=_,r=he[_],(p=r.init)==null||p.call(r,c,l,a))},h=_=>{a={...a,..._,colors:{...a.colors,..._.colors||{}}},l.progress=re(a.progress,0,100),l.size=a.size,l.center=a.size/2,l.radius=a.size*.4,o()},f=()=>{var _;g(),(_=r.destroy)==null||_.call(r),c.clearRect(0,0,l.size,l.size)};return d(),{start:d,stop:g,destroy:f,setProgress:i,setMode:m,updateConfig:h}}const Gl={name:"Loading1"},xl=e.defineComponent({...Gl,props:{width:{default:300},height:{default:300},mode:{default:"spinning"},progress:{default:0},speed:{default:2},lineWidth:{default:10},size:{default:300},dpr:{default:typeof window<"u"?Math.min(2,window.devicePixelRatio||1):1},centerText:{type:Boolean,default:!0},maskColor:{default:"rgba(15, 12, 41, 0.9)"},modelValue:{default:void 0},text:{default:""}},emits:["update:modelValue"],setup(t,{expose:n,emit:c}){e.inject("router",null);const a=t,o=e.computed(()=>`min-width: ${a.width}px; min-height: ${a.height}px;`),l=e.ref(null);let r=null,s=null;const d=()=>{if(!l.value){console.warn("Canvas element not found");return}if(typeof window>"u"){console.warn("Window object not available, skipping canvas initialization");return}const m={size:a.size,dpr:a.dpr,centerText:a.centerText,speed:a.speed,lineWidth:a.lineWidth,progress:a.progress,mode:a.mode,maskColor:a.maskColor};try{r=Yl(l.value,m)}catch(h){console.error("Failed to create canvas loader:",h)}};let g=null;const i=m=>{g&&clearTimeout(g),g=setTimeout(m,16)};return e.watch(()=>a.mode,m=>{i(()=>{r&&r.setMode(m)})}),e.watch(()=>a.progress,m=>{i(()=>{r&&r.setProgress(m)})}),e.watch(()=>a.speed,m=>{i(()=>{r&&r.updateConfig({speed:m})})}),e.watch(()=>[a.size,a.lineWidth,a.maskColor],()=>{i(()=>{r&&r.updateConfig({size:a.size,lineWidth:a.lineWidth,maskColor:a.maskColor})})},{deep:!0}),e.onMounted(()=>{s=setTimeout(()=>{d()},0)}),e.onUnmounted(()=>{g&&clearTimeout(g),s&&clearTimeout(s),r&&r.destroy()}),n({restart:()=>{r&&(r.destroy(),d())},setProgress:m=>{r&&r.setProgress(m)}}),(m,h)=>(e.openBlock(),e.createElementBlock("div",{class:"loading-animation",style:e.normalizeStyle(o.value)},[e.createElementVNode("canvas",{ref_key:"canvas",ref:l},null,512)],4))}}),Q=E(xl,[["__scopeId","data-v-e5a9ce26"]]);Q.install=t=>{t.component(Q.name,Q)};const Hl=["data-index"],Ol={name:"TVirtualScrollSlide"},Kl=e.defineComponent({...Ol,props:{virtualTotal:{},render:{type:Function},list:{}},emits:["slideLeft","slideRight"],setup(t,{emit:n}){const c=t,a=n,o=e.ref(null),l=e.ref(null),r=e.ref(0),s=e.reactive({localIndex:0,wrapperHeight:0,touchStartY:0,touchEndY:0,touchStartX:0,touchEndX:0}),d=e.ref([]),g="slide-item";e.watch(()=>c.list,(y,$)=>{y.length!==$.length&&i()}),e.onMounted(()=>{o.value&&(s.wrapperHeight=o.value.clientHeight,i())});const i=()=>{const y=Math.max(0,s.localIndex),$=Math.min(s.localIndex+c.virtualTotal,c.list.length);d.value=c.list.slice(y,$),r.value=-s.localIndex*s.wrapperHeight},m=y=>{y.touches.length>0&&(s.touchStartY=y.touches[0].clientY,s.touchStartX=y.touches[0].clientX)},h=y=>{y.touches.length>0&&(s.touchEndY=y.touches[0].clientY,s.touchEndX=y.touches[0].clientX)},f=()=>{const y=s.touchEndY-s.touchStartY,$=s.touchEndX-s.touchStartX;if(Math.abs(y)>Math.abs($)&&Math.abs(y)>30)y<0?b():_();else if(Math.abs($)>30){const Z=d.value[0];$<0?a("slideLeft",{item:Z,index:s.localIndex}):a("slideRight",{item:Z,index:s.localIndex})}s.touchStartY=0,s.touchEndY=0,s.touchStartX=0,s.touchEndX=0},b=()=>{s.localIndex<c.list.length-1&&(s.localIndex++,i())},_=()=>{s.localIndex>0&&(s.localIndex--,i())},B=y=>(s.localIndex+y)*s.wrapperHeight,p=(y,$)=>(y==null?void 0:y.id)!==void 0?y.id:`item-${s.localIndex+$}`,C=e.computed(()=>d.value.map((y,$)=>`video-${p(y,$)}`).join(","));return(y,$)=>(e.openBlock(),e.createElementBlock("div",{class:"slide-wrapper",ref_key:"wrapper",ref:o,onTouchstart:m,onTouchmove:h,onTouchend:f},[e.createElementVNode("div",{class:"slide-list",ref_key:"slideList",ref:l,style:e.normalizeStyle({transform:`translateY(${r.value}px)`})},[(e.openBlock(),e.createBlock(e.KeepAlive,{include:C.value},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(Z,te)=>(e.openBlock(),e.createElementBlock("div",{key:p(Z,te),"data-index":te,class:e.normalizeClass(g),style:e.normalizeStyle({top:`${B(te)}px`})},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(y.render(Z,te))))],12,Hl))),128))],1032,["include"]))],4)],544))}}),ee=E(Kl,[["__scopeId","data-v-392cb42c"]]);ee.install=t=>{t.component(ee.name,ee)};const Jl={install:t=>{t.use(N),t.use(j),t.use(u),t.use(S),t.use(I),t.use(w),t.use(z),t.use(T),t.use(D),t.use(M),t.use(P),t.use(F),t.use(q),t.use(A),t.use(R),t.use(U),t.use(W),t.use(X),t.use(Y),t.use(L),t.use(V),t.use(G),t.use(x),t.use(H),t.use(O),t.use(K),t.use(Q),t.use(ee)}};k.ChatList=G,k.ChatRoom=x,k.DrawerModal=K,k.GridGroup=X,k.Loading1=Q,k.Menu=Y,k.TAvatar=u,k.TAvatarGroup=S,k.TButton=L,k.TIcon=N,k.TImageCard=P,k.TInputBar=R,k.TNavBar=F,k.TNavCard=I,k.TNewCard=w,k.TProductCard=T,k.TProfileCard=D,k.TSearchBar=A,k.TShareCard=z,k.TStatCard=M,k.TSteps=O,k.TTab=W,k.TTabs=U,k.TTag=V,k.TTitle=j,k.TTopBar=q,k.TimeLine=H,k.default=Jl,k.textColor=dn,Object.defineProperties(k,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "vue-color-ui",
3
3
  "description": "ColorUI 临时代替的版本",
4
4
  "private": false,
5
- "version": "0.0.61",
5
+ "version": "0.0.62",
6
6
  "type": "module",
7
7
  "license": "MIT",
8
8
  "keywords": [