diff --git a/dist/assets/assessment-Br9Rtmwh.css b/dist/assets/assessment-Br9Rtmwh.css deleted file mode 100644 index ab356d7..0000000 --- a/dist/assets/assessment-Br9Rtmwh.css +++ /dev/null @@ -1 +0,0 @@ -uni-page-body[data-v-a9374911]{min-height:100%;background:#f9f9ff}body[data-v-a9374911]{background:#f9f9ff}.assessment-page[data-v-a9374911]{position:relative;width:390px;max-width:100vw;min-height:100vh;margin:0 auto;overflow:hidden;background:#f9f9ff;color:#191c21;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent}.assessment-page uni-view[data-v-a9374911],.assessment-page uni-text[data-v-a9374911],.assessment-page uni-button[data-v-a9374911],.assessment-page uni-scroll-view[data-v-a9374911]{box-sizing:border-box}.assessment-page[data-v-a9374911] ::-webkit-scrollbar{width:0;height:0;background:transparent}.top-app-bar[data-v-a9374911]{position:fixed;left:50%;top:0;z-index:50;width:390px;max-width:100vw;height:56px;padding:0 16px;border-bottom:1px solid rgba(194,198,212,.3);background:rgba(249,249,255,.82);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:center;transform:translate(-50%)}.app-title[data-v-a9374911]{position:absolute;left:50%;top:50%;margin-left:0;transform:translate(-50%,-50%);color:#191c21;font-size:20px;line-height:28px;font-weight:700;letter-spacing:0}.icon-button[data-v-a9374911],.read-button[data-v-a9374911],.download-button[data-v-a9374911],.next-button[data-v-a9374911]{padding:0;border:0;background:transparent}.icon-button[data-v-a9374911]:after,.read-button[data-v-a9374911]:after,.download-button[data-v-a9374911]:after,.next-button[data-v-a9374911]:after{border:0}.icon-button[data-v-a9374911]{position:absolute;left:16px;top:8px;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center}.icon-button[data-v-a9374911]:active{background:rgba(225,226,234,.5)}.back-icon[data-v-a9374911],.hub-icon[data-v-a9374911],.analytics-icon[data-v-a9374911],.arrow-forward-icon[data-v-a9374911]{background:#424752;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:contain;mask-position:center;mask-repeat:no-repeat;mask-size:contain}.back-icon[data-v-a9374911]{width:24px;height:24px;background:#191c21;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M20%2011H7.83l5.59-5.59L12%204l-8%208%208%208%201.42-1.41L7.83%2013H20v-2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M20%2011H7.83l5.59-5.59L12%204l-8%208%208%208%201.42-1.41L7.83%2013H20v-2z'/%3E%3C/svg%3E")}.report-content[data-v-a9374911]{width:100%;height:calc(100vh - 145px);margin-top:56px;padding:24px 16px;position:relative;z-index:0}.report-head[data-v-a9374911]{padding:0 0 24px;display:flex;flex-direction:column;gap:8px}.report-title[data-v-a9374911]{color:#00478d;font-size:24px;line-height:32px;font-weight:700;letter-spacing:0}.report-meta[data-v-a9374911]{display:flex;flex-direction:column;gap:2px;color:rgba(66,71,82,.8);font-size:14px;line-height:20px}.content-stack[data-v-a9374911]{display:flex;flex-direction:column;gap:16px}.overall-card[data-v-a9374911],.report-card[data-v-a9374911],.mentor-section[data-v-a9374911]{border:1px solid rgba(194,198,212,.3);border-radius:8px;background:#fff;box-shadow:0 1px 4px rgba(25,28,33,.04)}.overall-card[data-v-a9374911]{padding:20px;display:flex;align-items:center;gap:16px}.score-ring[data-v-a9374911]{position:relative;width:80px;height:80px;flex:0 0 auto}.ring-svg[data-v-a9374911]{width:100%;height:100%;transform:rotate(-90deg);transform-origin:50% 50%}.ring-track[data-v-a9374911]{stroke:#e7e8f0}.ring-value[data-v-a9374911]{stroke:#00478d;transition:stroke-dashoffset .8s ease}.score-center[data-v-a9374911]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.score-value[data-v-a9374911]{color:#00478d;font-size:20px;line-height:22px;font-weight:700}.score-total[data-v-a9374911]{color:#424752;font-size:10px;line-height:12px;font-weight:500}.overall-copy[data-v-a9374911]{flex:1;display:flex;flex-direction:column;gap:6px}.overall-title[data-v-a9374911]{color:#191c21;font-size:14px;line-height:20px;font-weight:600}.primary-text[data-v-a9374911]{color:#00478d;font-weight:700}.overall-desc[data-v-a9374911]{color:#424752;font-size:13px;line-height:18px}.report-card[data-v-a9374911]{padding:20px}.section-heading[data-v-a9374911]{display:flex;align-items:center;gap:8px;margin-bottom:16px;color:#00478d;font-size:14px;line-height:20px;font-weight:700}.breakdown-title[data-v-a9374911]{margin-bottom:24px}.hub-icon[data-v-a9374911],.analytics-icon[data-v-a9374911]{width:18px;height:18px;background:#00478d}.hub-icon[data-v-a9374911]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a3%203%200%200%201%202%205.24V9h3a3%203%200%201%201-2.83%204H14v3.76A3%203%200%201%201%2012%2016a2.9%202.9%200%200%201%201%20.18V13H9.83A3%203%200%201%201%2010%2011H13V7.24A3%203%200%200%201%2012%202z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a3%203%200%200%201%202%205.24V9h3a3%203%200%201%201-2.83%204H14v3.76A3%203%200%201%201%2012%2016a2.9%202.9%200%200%201%201%20.18V13H9.83A3%203%200%201%201%2010%2011H13V7.24A3%203%200%200%201%2012%202z'/%3E%3C/svg%3E")}.analytics-icon[data-v-a9374911]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M3%203h2v18H3V3zm16%207h2v11h-2V10zM8%2013h2v8H8v-8zm5-6h2v14h-2V7z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M3%203h2v18H3V3zm16%207h2v11h-2V10zM8%2013h2v8H8v-8zm5-6h2v14h-2V7z'/%3E%3C/svg%3E")}.radar-wrap[data-v-a9374911]{display:flex;justify-content:center;padding:8px 0}.radar-svg[data-v-a9374911]{width:100%;max-width:240px;aspect-ratio:1}.radar-grid[data-v-a9374911]{stroke:#e2e8f0;stroke-width:1;fill:none}.radar-area[data-v-a9374911]{fill:rgba(0,71,141,.15);stroke:#00478d;stroke-width:2}.radar-label[data-v-a9374911]{fill:#424752;font-size:14px;font-weight:500;letter-spacing:0}.empty-data[data-v-a9374911]{width:100%;min-height:80px;padding:18px 14px;border:1px dashed rgba(194,198,212,.7);border-radius:8px;background:rgba(242,243,251,.55);color:rgba(66,71,82,.78);font-size:13px;line-height:20px;display:flex;align-items:center;justify-content:center;text-align:center}.radar-empty[data-v-a9374911]{min-height:180px}.breakdown-list[data-v-a9374911]{display:flex;flex-direction:column;gap:24px}.breakdown-item[data-v-a9374911]{display:flex;flex-direction:column;gap:8px}.breakdown-head[data-v-a9374911]{display:flex;align-items:center;justify-content:space-between;color:#191c21;font-size:12px;line-height:16px;font-weight:600}.breakdown-score[data-v-a9374911]{color:#00478d;font-weight:700}.progress-track[data-v-a9374911]{width:100%;height:6px;border-radius:999px;background:#e7e8f0;overflow:hidden}.progress-fill[data-v-a9374911]{height:100%;border-radius:999px;background:#00478d;transition:width 1s cubic-bezier(.4,0,.2,1)}.analysis-box[data-v-a9374911]{padding:12px;border:1px solid rgba(225,226,234,.35);border-radius:8px;background:rgba(242,243,251,.5);color:#424752;font-size:13px;line-height:20px}.mentor-section[data-v-a9374911]{margin-bottom:16px;padding:20px;border-color:rgba(0,71,141,.1);background:rgba(0,94,184,.06)}.mentor-head[data-v-a9374911]{display:flex;align-items:center;gap:12px;margin-bottom:16px}.mentor-avatar[data-v-a9374911]{width:48px;height:48px;border:1px solid #ffffff;border-radius:50%;box-shadow:0 1px 4px rgba(25,28,33,.12)}.mentor-title-group[data-v-a9374911]{display:flex;flex-direction:column;gap:2px}.mentor-title[data-v-a9374911]{color:#00478d;font-size:14px;line-height:20px;font-weight:700}.mentor-subtitle[data-v-a9374911]{color:rgba(66,71,82,.7);font-size:10px;line-height:14px;font-weight:500;letter-spacing:0}.mentor-bubble[data-v-a9374911]{position:relative;padding:16px;border:1px solid rgba(0,71,141,.05);border-radius:8px;background:#fff;box-shadow:0 1px 4px rgba(25,28,33,.04)}.mentor-tail[data-v-a9374911]{position:absolute;left:24px;top:-7px;width:12px;height:12px;border-left:1px solid rgba(0,71,141,.05);border-top:1px solid rgba(0,71,141,.05);background:#fff;transform:rotate(45deg)}.mentor-copy[data-v-a9374911]{color:#191c21;font-size:14px;line-height:22px;font-style:italic}.mentor-action-row[data-v-a9374911]{margin-top:16px;width:100%;display:flex;justify-content:flex-end}.read-button[data-v-a9374911]{width:-moz-fit-content;width:fit-content;min-height:32px;margin:0 0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:4px;color:#00478d;font-size:14px;line-height:20px;font-weight:600}.read-button[data-v-a9374911]:active{transform:scale(.95)}.arrow-forward-icon[data-v-a9374911]{width:18px;height:18px;background:#00478d;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%204l1.41%201.41L8.83%2010H20v2H8.83l4.58%204.59L12%2018l-7-7%207-7z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%204l1.41%201.41L8.83%2010H20v2H8.83l4.58%204.59L12%2018l-7-7%207-7z'/%3E%3C/svg%3E");transform:rotate(180deg)}.footer-actions[data-v-a9374911]{position:fixed;left:50%;bottom:0;z-index:80;width:390px;max-width:100vw;padding:16px;border-top:1px solid rgba(194,198,212,.3);background:rgba(249,249,255,.9);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);display:flex;gap:12px;transform:translate(-50%)}.download-button[data-v-a9374911],.next-button[data-v-a9374911]{flex:1;min-height:48px;padding:0 10px;border-radius:8px;font-size:14px;line-height:20px;font-weight:600;text-align:center;display:flex;align-items:center;justify-content:center}.download-button[data-v-a9374911]{border:1px solid #00478d;background:transparent;color:#00478d}.download-button.disabled[data-v-a9374911]{border-color:rgba(66,71,82,.24);color:rgba(66,71,82,.45)}.next-button[data-v-a9374911]{background:#00478d;box-shadow:0 2px 8px rgba(0,71,141,.2);color:#fff}.download-button[data-v-a9374911]:active,.next-button[data-v-a9374911]:active{transform:scale(.98)}.toast[data-v-a9374911]{position:fixed;left:50%;bottom:92px;z-index:100;max-width:320px;padding:12px 20px;border-radius:12px;background:#2e3037;color:#eff0f8;font-size:14px;line-height:20px;font-weight:600;text-align:center;pointer-events:none;opacity:0;transform:translate(-50%,16px);transition:opacity .3s ease,transform .3s ease}.toast.visible[data-v-a9374911]{opacity:1;transform:translate(-50%)}@media (min-width: 768px){.assessment-page[data-v-a9374911]{box-shadow:0 24px 64px rgba(25,28,33,.18)}} diff --git a/dist/assets/assessment-Bww5np95.css b/dist/assets/assessment-Bww5np95.css new file mode 100644 index 0000000..381fc44 --- /dev/null +++ b/dist/assets/assessment-Bww5np95.css @@ -0,0 +1 @@ +uni-page-body[data-v-6015f15c]{min-height:100%;background:#f9f9ff}body[data-v-6015f15c]{background:#f9f9ff}.assessment-page[data-v-6015f15c]{position:relative;width:390px;max-width:100vw;min-height:100vh;margin:0 auto;overflow:hidden;background:#f9f9ff;color:#191c21;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent}.assessment-page uni-view[data-v-6015f15c],.assessment-page uni-text[data-v-6015f15c],.assessment-page uni-button[data-v-6015f15c],.assessment-page uni-scroll-view[data-v-6015f15c]{box-sizing:border-box}.assessment-page[data-v-6015f15c] ::-webkit-scrollbar{width:0;height:0;background:transparent}.top-app-bar[data-v-6015f15c]{position:fixed;left:50%;top:0;z-index:50;width:390px;max-width:100vw;height:56px;padding:0 16px;border-bottom:1px solid rgba(194,198,212,.3);background:rgba(249,249,255,.82);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:center;transform:translate(-50%)}.app-title[data-v-6015f15c]{position:absolute;left:50%;top:50%;margin-left:0;transform:translate(-50%,-50%);color:#191c21;font-size:20px;line-height:28px;font-weight:700;letter-spacing:0}.icon-button[data-v-6015f15c],.read-button[data-v-6015f15c],.download-button[data-v-6015f15c],.next-button[data-v-6015f15c]{padding:0;border:0;background:transparent}.icon-button[data-v-6015f15c]:after,.read-button[data-v-6015f15c]:after,.download-button[data-v-6015f15c]:after,.next-button[data-v-6015f15c]:after{border:0}.icon-button[data-v-6015f15c]{position:absolute;left:16px;top:8px;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center}.icon-button[data-v-6015f15c]:active{background:rgba(225,226,234,.5)}.back-icon[data-v-6015f15c],.hub-icon[data-v-6015f15c],.analytics-icon[data-v-6015f15c],.arrow-forward-icon[data-v-6015f15c]{background:#424752;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:contain;mask-position:center;mask-repeat:no-repeat;mask-size:contain}.back-icon[data-v-6015f15c]{width:24px;height:24px;background:#191c21;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M20%2011H7.83l5.59-5.59L12%204l-8%208%208%208%201.42-1.41L7.83%2013H20v-2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M20%2011H7.83l5.59-5.59L12%204l-8%208%208%208%201.42-1.41L7.83%2013H20v-2z'/%3E%3C/svg%3E")}.report-content[data-v-6015f15c]{width:100%;height:calc(100vh - 145px);margin-top:56px;padding:24px 16px;position:relative;z-index:0}.report-head[data-v-6015f15c]{padding:0 0 24px;display:flex;flex-direction:column;gap:8px}.report-title[data-v-6015f15c]{color:#00478d;font-size:24px;line-height:32px;font-weight:700;letter-spacing:0}.report-meta[data-v-6015f15c]{display:flex;flex-direction:column;gap:2px;color:rgba(66,71,82,.8);font-size:14px;line-height:20px}.content-stack[data-v-6015f15c]{display:flex;flex-direction:column;gap:16px}.overall-card[data-v-6015f15c],.report-card[data-v-6015f15c],.mentor-section[data-v-6015f15c]{border:1px solid rgba(194,198,212,.3);border-radius:8px;background:#fff;box-shadow:0 1px 4px rgba(25,28,33,.04)}.overall-card[data-v-6015f15c]{padding:20px;display:flex;align-items:center;gap:16px}.score-ring[data-v-6015f15c]{position:relative;width:80px;height:80px;flex:0 0 auto}.ring-svg[data-v-6015f15c]{width:100%;height:100%;transform:rotate(-90deg);transform-origin:50% 50%}.ring-track[data-v-6015f15c]{stroke:#e7e8f0}.ring-value[data-v-6015f15c]{stroke:#00478d;transition:stroke-dashoffset .8s ease}.score-center[data-v-6015f15c]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.score-value[data-v-6015f15c]{color:#00478d;font-size:20px;line-height:22px;font-weight:700}.score-total[data-v-6015f15c]{color:#424752;font-size:10px;line-height:12px;font-weight:500}.overall-copy[data-v-6015f15c]{flex:1;display:flex;flex-direction:column;gap:6px}.overall-title[data-v-6015f15c]{color:#191c21;font-size:14px;line-height:20px;font-weight:600}.primary-text[data-v-6015f15c]{color:#00478d;font-weight:700}.overall-desc[data-v-6015f15c]{color:#424752;font-size:13px;line-height:18px}.report-card[data-v-6015f15c]{padding:20px}.section-heading[data-v-6015f15c]{display:flex;align-items:center;gap:8px;margin-bottom:16px;color:#00478d;font-size:14px;line-height:20px;font-weight:700}.breakdown-title[data-v-6015f15c]{margin-bottom:24px}.hub-icon[data-v-6015f15c],.analytics-icon[data-v-6015f15c]{width:18px;height:18px;background:#00478d}.hub-icon[data-v-6015f15c]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a3%203%200%200%201%202%205.24V9h3a3%203%200%201%201-2.83%204H14v3.76A3%203%200%201%201%2012%2016a2.9%202.9%200%200%201%201%20.18V13H9.83A3%203%200%201%201%2010%2011H13V7.24A3%203%200%200%201%2012%202z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a3%203%200%200%201%202%205.24V9h3a3%203%200%201%201-2.83%204H14v3.76A3%203%200%201%201%2012%2016a2.9%202.9%200%200%201%201%20.18V13H9.83A3%203%200%201%201%2010%2011H13V7.24A3%203%200%200%201%2012%202z'/%3E%3C/svg%3E")}.analytics-icon[data-v-6015f15c]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M3%203h2v18H3V3zm16%207h2v11h-2V10zM8%2013h2v8H8v-8zm5-6h2v14h-2V7z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M3%203h2v18H3V3zm16%207h2v11h-2V10zM8%2013h2v8H8v-8zm5-6h2v14h-2V7z'/%3E%3C/svg%3E")}.radar-wrap[data-v-6015f15c]{display:flex;justify-content:center;padding:8px 0}.radar-svg[data-v-6015f15c]{width:100%;max-width:240px;aspect-ratio:1}.radar-grid[data-v-6015f15c]{stroke:#e2e8f0;stroke-width:1;fill:none}.radar-area[data-v-6015f15c]{fill:rgba(0,71,141,.15);stroke:#00478d;stroke-width:2}.radar-label[data-v-6015f15c]{fill:#424752;font-size:14px;font-weight:500;letter-spacing:0}.empty-data[data-v-6015f15c]{width:100%;min-height:80px;padding:18px 14px;border:1px dashed rgba(194,198,212,.7);border-radius:8px;background:rgba(242,243,251,.55);color:rgba(66,71,82,.78);font-size:13px;line-height:20px;display:flex;align-items:center;justify-content:center;text-align:center}.radar-empty[data-v-6015f15c]{min-height:180px}.breakdown-list[data-v-6015f15c]{display:flex;flex-direction:column;gap:24px}.breakdown-item[data-v-6015f15c]{display:flex;flex-direction:column;gap:8px}.breakdown-head[data-v-6015f15c]{display:flex;align-items:center;justify-content:space-between;color:#191c21;font-size:12px;line-height:16px;font-weight:600}.breakdown-score[data-v-6015f15c]{color:#00478d;font-weight:700}.progress-track[data-v-6015f15c]{width:100%;height:6px;border-radius:999px;background:#e7e8f0;overflow:hidden}.progress-fill[data-v-6015f15c]{height:100%;border-radius:999px;background:#00478d;transition:width 1s cubic-bezier(.4,0,.2,1)}.analysis-box[data-v-6015f15c]{padding:12px;border:1px solid rgba(225,226,234,.35);border-radius:8px;background:rgba(242,243,251,.5);color:#424752;font-size:13px;line-height:20px}.mentor-section[data-v-6015f15c]{margin-bottom:16px;padding:20px;border-color:rgba(0,71,141,.1);background:rgba(0,94,184,.06)}.mentor-head[data-v-6015f15c]{display:flex;align-items:center;gap:12px;margin-bottom:16px}.mentor-avatar[data-v-6015f15c]{width:48px;height:48px;border:1px solid #ffffff;border-radius:50%;box-shadow:0 1px 4px rgba(25,28,33,.12)}.mentor-title-group[data-v-6015f15c]{display:flex;flex-direction:column;gap:2px}.mentor-title[data-v-6015f15c]{color:#00478d;font-size:14px;line-height:20px;font-weight:700}.mentor-subtitle[data-v-6015f15c]{color:rgba(66,71,82,.7);font-size:10px;line-height:14px;font-weight:500;letter-spacing:0}.mentor-bubble[data-v-6015f15c]{position:relative;padding:16px;border:1px solid rgba(0,71,141,.05);border-radius:8px;background:#fff;box-shadow:0 1px 4px rgba(25,28,33,.04)}.mentor-tail[data-v-6015f15c]{position:absolute;left:24px;top:-7px;width:12px;height:12px;border-left:1px solid rgba(0,71,141,.05);border-top:1px solid rgba(0,71,141,.05);background:#fff;transform:rotate(45deg)}.mentor-copy[data-v-6015f15c]{color:#191c21;font-size:14px;line-height:22px;font-style:italic}.mentor-action-row[data-v-6015f15c]{margin-top:16px;width:100%;display:flex;justify-content:flex-end}.read-button[data-v-6015f15c]{width:-moz-fit-content;width:fit-content;min-height:32px;margin:0 0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:4px;color:#00478d;font-size:14px;line-height:20px;font-weight:600}.read-button[data-v-6015f15c]:active{transform:scale(.95)}.arrow-forward-icon[data-v-6015f15c]{width:18px;height:18px;background:#00478d;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%204l1.41%201.41L8.83%2010H20v2H8.83l4.58%204.59L12%2018l-7-7%207-7z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%204l1.41%201.41L8.83%2010H20v2H8.83l4.58%204.59L12%2018l-7-7%207-7z'/%3E%3C/svg%3E");transform:rotate(180deg)}.footer-actions[data-v-6015f15c]{position:fixed;left:50%;bottom:0;z-index:80;width:390px;max-width:100vw;padding:16px;border-top:1px solid rgba(194,198,212,.3);background:rgba(249,249,255,.9);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);display:flex;gap:12px;transform:translate(-50%)}.download-button[data-v-6015f15c],.next-button[data-v-6015f15c]{flex:1;min-height:48px;padding:0 10px;border-radius:8px;font-size:14px;line-height:20px;font-weight:600;text-align:center;display:flex;align-items:center;justify-content:center}.download-button[data-v-6015f15c]{border:1px solid #00478d;background:transparent;color:#00478d}.download-button.disabled[data-v-6015f15c]{border-color:rgba(66,71,82,.24);color:rgba(66,71,82,.45)}.next-button[data-v-6015f15c]{background:#00478d;box-shadow:0 2px 8px rgba(0,71,141,.2);color:#fff}.download-button[data-v-6015f15c]:active,.next-button[data-v-6015f15c]:active{transform:scale(.98)}.toast[data-v-6015f15c]{position:fixed;left:50%;bottom:92px;z-index:100;max-width:320px;padding:12px 20px;border-radius:12px;background:#2e3037;color:#eff0f8;font-size:14px;line-height:20px;font-weight:600;text-align:center;pointer-events:none;opacity:0;transform:translate(-50%,16px);transition:opacity .3s ease,transform .3s ease}.toast.visible[data-v-6015f15c]{opacity:1;transform:translate(-50%)}@media (min-width: 768px){.assessment-page[data-v-6015f15c]{box-shadow:0 24px 64px rgba(25,28,33,.18)}} diff --git a/dist/assets/auth.CseBt7py.js b/dist/assets/auth.CseBt7py.js new file mode 100644 index 0000000..505b2f9 --- /dev/null +++ b/dist/assets/auth.CseBt7py.js @@ -0,0 +1 @@ +import{C as t,D as e}from"./index-DR4MYR5F.js";const n="/server/api";class r extends Error{constructor(t,e,n){super(t),this.name="ApiRequestError",this.code=e,this.statusCode=n}}function o(t=!1){const n={"Content-Type":"application/json"};if(!t)return n;const r=function(){try{return e("clinical-thinking-access-token")||""}catch{return""}}();return r&&(n.Authorization=`Bearer ${r}`),n}function s(e,n,s="POST",i=!1){return new Promise(((u,a)=>{t({url:`/server/api${e}`,method:s,timeout:1e4,header:o(i),data:n,success:t=>{if(t.statusCode>=200&&t.statusCode<300)return void u(t.data);const e=t.data,n="string"==typeof(null==e?void 0:e.code)?e.code:void 0;a(new r(function(t,e){if(t&&"object"==typeof t){const e=t,n=e.message||e.detail||e.error;if("string"==typeof n&&n.trim())return n}return e}(t.data,`请求失败(${t.statusCode})`),n,t.statusCode))},fail:t=>{a(new r(t.errMsg||"无法连接服务"))}})}))}function i(t,e="login"){return s("/user/auth/send-code/",{phone:t,scene:e})}function u(){return s("/user/institution_list/",null,"GET")}function a(){return s("/user/institution_info/",null,"GET",!0)}function c(){return s("/user/my_departments/",null,"GET",!0)}function f(t){return s("/user/auth/login-code/",t).then((t=>{if(function(t){if(!t||"object"!=typeof t)return!1;const e=t,n=e.tokens;return Boolean(e.tokens&&"string"==typeof(null==n?void 0:n.access)&&"string"==typeof(null==n?void 0:n.refresh))}(t))return t;throw new Error("登录接口返回数据格式异常")}))}export{r as A,n as a,c as b,a as c,u as f,f as l,i as s}; diff --git a/dist/assets/cases-C6NCSirR.css b/dist/assets/cases-C6NCSirR.css deleted file mode 100644 index 2243298..0000000 --- a/dist/assets/cases-C6NCSirR.css +++ /dev/null @@ -1 +0,0 @@ -uni-page-body[data-v-64c7a872]{min-height:100%;background:#e7e8f0}body[data-v-64c7a872]{background:#e7e8f0}.cases-page[data-v-64c7a872]{min-height:100vh;background:#e7e8f0;color:#191c21;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent}.case-shell[data-v-64c7a872]{position:relative;min-height:100vh;overflow:hidden;background:#f2f3fb;display:flex;flex-direction:column}.case-header[data-v-64c7a872]{position:absolute;left:0;right:0;top:0;z-index:20;box-sizing:border-box;height:56px;padding:0 20px;border-bottom:1px solid rgba(194,198,212,.3);background:#fff;box-shadow:0 2px 8px rgba(25,28,33,.04);display:flex;align-items:center}.header-spacer[data-v-64c7a872]{flex:1}.icon-button[data-v-64c7a872]{width:40px;height:40px;padding:0;border-radius:50%;background:transparent;display:flex;align-items:center;justify-content:center}.icon-button[data-v-64c7a872]:after{border:0}.icon-button[data-v-64c7a872]:active{background:rgba(25,28,33,.05)}.home-button[data-v-64c7a872]{margin-left:4px}.settings-icon[data-v-64c7a872],.home-icon[data-v-64c7a872],.account-icon[data-v-64c7a872],.search-icon[data-v-64c7a872]{background:#424752}.settings-icon[data-v-64c7a872]{width:22px;height:22px;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M19.43%2012.98c.04-.32.07-.65.07-.98s-.02-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.37-.31-.6-.22l-2.49%201c-.52-.4-1.08-.73-1.69-.98L14.5%202.42C14.47%202.18%2014.25%202%2014%202h-4c-.25%200-.46.18-.5.42l-.38%202.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.08-.48%200-.6.22l-2%203.46c-.13.22-.07.49.12.64l2.11%201.65c-.04.32-.08.65-.08.98s.03.66.08.98l-2.11%201.65c-.19.15-.24.42-.12.64l2%203.46c.12.22.37.31.6.22l2.49-1c.52.4%201.08.73%201.69.98l.38%202.65c.04.24.25.42.5.42h4c.25%200%20.46-.18.5-.42l.38-2.65c.61-.25%201.17-.58%201.69-.98l2.49%201c.23.08.48%200%20.6-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12%2015.5A3.5%203.5%200%201%201%2012%208a3.5%203.5%200%200%201%200%207.5z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M19.43%2012.98c.04-.32.07-.65.07-.98s-.02-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.37-.31-.6-.22l-2.49%201c-.52-.4-1.08-.73-1.69-.98L14.5%202.42C14.47%202.18%2014.25%202%2014%202h-4c-.25%200-.46.18-.5.42l-.38%202.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.08-.48%200-.6.22l-2%203.46c-.13.22-.07.49.12.64l2.11%201.65c-.04.32-.08.65-.08.98s.03.66.08.98l-2.11%201.65c-.19.15-.24.42-.12.64l2%203.46c.12.22.37.31.6.22l2.49-1c.52.4%201.08.73%201.69.98l.38%202.65c.04.24.25.42.5.42h4c.25%200%20.46-.18.5-.42l.38-2.65c.61-.25%201.17-.58%201.69-.98l2.49%201c.23.08.48%200%20.6-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12%2015.5A3.5%203.5%200%201%201%2012%208a3.5%203.5%200%200%201%200%207.5z'/%3E%3C/svg%3E") center / contain no-repeat}.home-icon[data-v-64c7a872]{width:23px;height:23px;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10%2020v-6h4v6h5v-8h3L12%203%202%2012h3v8h5z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10%2020v-6h4v6h5v-8h3L12%203%202%2012h3v8h5z'/%3E%3C/svg%3E") center / contain no-repeat}.account-icon[data-v-64c7a872]{width:24px;height:24px;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20zm0%203a3.5%203.5%200%201%201%200%207%203.5%203.5%200%200%201%200-7zm0%2015a8%208%200%200%201-6.4-3.2c1.18-2.02%203.57-3.3%206.4-3.3s5.22%201.28%206.4%203.3A8%208%200%200%201%2012%2020z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20zm0%203a3.5%203.5%200%201%201%200%207%203.5%203.5%200%200%201%200-7zm0%2015a8%208%200%200%201-6.4-3.2c1.18-2.02%203.57-3.3%206.4-3.3s5.22%201.28%206.4%203.3A8%208%200%200%201%2012%2020z'/%3E%3C/svg%3E") center / contain no-repeat}.case-content[data-v-64c7a872]{box-sizing:border-box;height:100vh;padding:76px 20px 24px}.search-row[data-v-64c7a872]{margin-bottom:12px}.search-box[data-v-64c7a872]{position:relative;height:40px;border-radius:8px;background:#fff;box-shadow:0 2px 8px rgba(25,28,33,.04)}.search-icon[data-v-64c7a872]{position:absolute;left:12px;top:50%;width:20px;height:20px;background:#727783;transform:translateY(-50%);-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9.5%203a6.5%206.5%200%200%200%200%2013c1.61%200%203.09-.59%204.23-1.57L19.29%2020%2020.7%2018.59l-5.56-5.56A6.47%206.47%200%200%200%2016%209.5%206.5%206.5%200%200%200%209.5%203zm0%202a4.5%204.5%200%201%201%200%209%204.5%204.5%200%200%201%200-9z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9.5%203a6.5%206.5%200%200%200%200%2013c1.61%200%203.09-.59%204.23-1.57L19.29%2020%2020.7%2018.59l-5.56-5.56A6.47%206.47%200%200%200%2016%209.5%206.5%206.5%200%200%200%209.5%203zm0%202a4.5%204.5%200%201%201%200%209%204.5%204.5%200%200%201%200-9z'/%3E%3C/svg%3E") center / contain no-repeat}.search-input[data-v-64c7a872]{box-sizing:border-box;width:100%;height:40px;padding:0 16px 0 40px;border:0;background:transparent;color:#191c21;font-size:14px;line-height:20px}.search-placeholder[data-v-64c7a872]{color:#c2c6d4}.case-list[data-v-64c7a872]{display:flex;flex-direction:column;gap:12px;padding-bottom:20px}.case-card[data-v-64c7a872]{padding:12px;border:1px solid rgba(194,198,212,.3);border-radius:8px;background:#fff;box-shadow:0 2px 8px rgba(25,28,33,.04);display:flex;flex-direction:column;gap:8px}.case-card.mode-teaching[data-v-64c7a872]{border-color:rgba(0,71,141,.22)}.case-card[data-v-64c7a872]:active{transform:scale(.99)}.case-main[data-v-64c7a872]{display:flex;gap:12px}.patient-avatar[data-v-64c7a872]{position:relative;flex:0 0 auto;width:70px;height:70px;border-radius:4px;overflow:hidden;display:flex;align-items:center;justify-content:center;color:#fff;font-size:28px;line-height:1;font-weight:700}.patient-avatar[data-v-64c7a872]:before{content:"";position:absolute;left:50%;top:15px;width:20px;height:20px;border-radius:50%;background:rgba(255,255,255,.42);transform:translate(-50%)}.patient-avatar[data-v-64c7a872]:after{content:"";position:absolute;left:50%;bottom:-7px;width:50px;height:34px;border-radius:50% 50% 0 0;background:rgba(255,255,255,.28);transform:translate(-50%)}.patient-avatar uni-text[data-v-64c7a872]{position:relative;z-index:1}.avatar-blue[data-v-64c7a872]{background:linear-gradient(135deg,#7da6d9,#00478d)}.avatar-teal[data-v-64c7a872]{background:linear-gradient(135deg,#5dd8e2,#006970)}.avatar-pink[data-v-64c7a872]{background:linear-gradient(135deg,#ffb3c7,#a63a5f)}.avatar-orange[data-v-64c7a872]{background:linear-gradient(135deg,#ffb691,#9f4300)}.avatar-purple[data-v-64c7a872]{background:linear-gradient(135deg,#b5a6ff,#5f4bb6)}.avatar-green[data-v-64c7a872]{background:linear-gradient(135deg,#9edc9a,#347a35)}.case-info[data-v-64c7a872]{flex:1;min-width:0}.case-title[data-v-64c7a872]{display:-webkit-box;margin-bottom:4px;overflow:hidden;color:#191c21;font-size:16px;line-height:20px;font-weight:600;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.case-meta[data-v-64c7a872]{color:#424752;font-size:13px;line-height:20px}.case-footer[data-v-64c7a872]{display:flex;align-items:flex-end;justify-content:space-between}.case-no[data-v-64c7a872]{color:#c2c6d4;font-size:11px;line-height:16px;font-weight:600}.mode-badge[data-v-64c7a872]{flex:0 0 auto;height:24px;padding:0 8px;border-radius:999px;display:flex;align-items:center;gap:4px;font-size:11px;line-height:16px;font-weight:700}.mode-badge-training[data-v-64c7a872]{background:#ecedf6;color:#424752}.mode-badge-teaching[data-v-64c7a872]{background:#d6e3ff;color:#00478d}.mode-icon[data-v-64c7a872]{width:14px;height:14px;background:currentColor}.mode-icon-training[data-v-64c7a872]{-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9%2016.2l-3.5-3.5L4%2014.2%209%2019%2020%208l-1.5-1.5L9%2016.2z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9%2016.2l-3.5-3.5L4%2014.2%209%2019%2020%208l-1.5-1.5L9%2016.2z'/%3E%3C/svg%3E") center / contain no-repeat}.mode-icon-teaching[data-v-64c7a872]{-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%203L1%209l11%206%209-4.91V17h2V9L12%203zm0%202.28L18.85%209%2012%2012.72%205.15%209%2012%205.28zM5%2013.18v3.2C6.63%2018.24%209.26%2019%2012%2019s5.37-.76%207-2.62v-3.2l-7%203.82-7-3.82z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%203L1%209l11%206%209-4.91V17h2V9L12%203zm0%202.28L18.85%209%2012%2012.72%205.15%209%2012%205.28zM5%2013.18v3.2C6.63%2018.24%209.26%2019%2012%2019s5.37-.76%207-2.62v-3.2l-7%203.82-7-3.82z'/%3E%3C/svg%3E") center / contain no-repeat}.empty-state[data-v-64c7a872]{padding:40px 0;text-align:center;color:#727783;font-size:14px;line-height:20px}.toast[data-v-64c7a872]{position:fixed;left:50%;bottom:96px;z-index:100;max-width:320px;padding:12px 24px;border-radius:999px;background:#2e3037;color:#eff0f8;font-size:14px;line-height:20px;font-weight:600;text-align:center;pointer-events:none;opacity:0;transform:translate(-50%,16px);transition:opacity .3s ease,transform .3s ease}.toast.visible[data-v-64c7a872]{opacity:1;transform:translate(-50%)} diff --git a/dist/assets/cases-CRDq7Phs.css b/dist/assets/cases-CRDq7Phs.css new file mode 100644 index 0000000..727b866 --- /dev/null +++ b/dist/assets/cases-CRDq7Phs.css @@ -0,0 +1 @@ +uni-page-body[data-v-f34bc4ed]{min-height:100%;background:#e7e8f0}body[data-v-f34bc4ed]{background:#e7e8f0}.cases-page[data-v-f34bc4ed]{min-height:100vh;background:#e7e8f0;color:#191c21;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent}.case-shell[data-v-f34bc4ed]{position:relative;min-height:100vh;overflow:hidden;background:#f2f3fb;display:flex;flex-direction:column}.case-header[data-v-f34bc4ed]{position:absolute;left:0;right:0;top:0;z-index:20;box-sizing:border-box;height:56px;padding:0 20px;border-bottom:1px solid rgba(194,198,212,.3);background:#fff;box-shadow:0 2px 8px rgba(25,28,33,.04);display:flex;align-items:center}.header-spacer[data-v-f34bc4ed]{flex:1}.icon-button[data-v-f34bc4ed]{width:40px;height:40px;padding:0;border-radius:50%;background:transparent;display:flex;align-items:center;justify-content:center}.icon-button[data-v-f34bc4ed]:after{border:0}.icon-button[data-v-f34bc4ed]:active{background:rgba(25,28,33,.05)}.home-button[data-v-f34bc4ed]{margin-left:4px}.settings-icon[data-v-f34bc4ed],.home-icon[data-v-f34bc4ed],.account-icon[data-v-f34bc4ed],.search-icon[data-v-f34bc4ed]{background:#424752}.settings-icon[data-v-f34bc4ed]{width:22px;height:22px;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M19.43%2012.98c.04-.32.07-.65.07-.98s-.02-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.37-.31-.6-.22l-2.49%201c-.52-.4-1.08-.73-1.69-.98L14.5%202.42C14.47%202.18%2014.25%202%2014%202h-4c-.25%200-.46.18-.5.42l-.38%202.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.08-.48%200-.6.22l-2%203.46c-.13.22-.07.49.12.64l2.11%201.65c-.04.32-.08.65-.08.98s.03.66.08.98l-2.11%201.65c-.19.15-.24.42-.12.64l2%203.46c.12.22.37.31.6.22l2.49-1c.52.4%201.08.73%201.69.98l.38%202.65c.04.24.25.42.5.42h4c.25%200%20.46-.18.5-.42l.38-2.65c.61-.25%201.17-.58%201.69-.98l2.49%201c.23.08.48%200%20.6-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12%2015.5A3.5%203.5%200%201%201%2012%208a3.5%203.5%200%200%201%200%207.5z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M19.43%2012.98c.04-.32.07-.65.07-.98s-.02-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.37-.31-.6-.22l-2.49%201c-.52-.4-1.08-.73-1.69-.98L14.5%202.42C14.47%202.18%2014.25%202%2014%202h-4c-.25%200-.46.18-.5.42l-.38%202.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.08-.48%200-.6.22l-2%203.46c-.13.22-.07.49.12.64l2.11%201.65c-.04.32-.08.65-.08.98s.03.66.08.98l-2.11%201.65c-.19.15-.24.42-.12.64l2%203.46c.12.22.37.31.6.22l2.49-1c.52.4%201.08.73%201.69.98l.38%202.65c.04.24.25.42.5.42h4c.25%200%20.46-.18.5-.42l.38-2.65c.61-.25%201.17-.58%201.69-.98l2.49%201c.23.08.48%200%20.6-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12%2015.5A3.5%203.5%200%201%201%2012%208a3.5%203.5%200%200%201%200%207.5z'/%3E%3C/svg%3E") center / contain no-repeat}.home-icon[data-v-f34bc4ed]{width:23px;height:23px;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10%2020v-6h4v6h5v-8h3L12%203%202%2012h3v8h5z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10%2020v-6h4v6h5v-8h3L12%203%202%2012h3v8h5z'/%3E%3C/svg%3E") center / contain no-repeat}.account-icon[data-v-f34bc4ed]{width:24px;height:24px;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20zm0%203a3.5%203.5%200%201%201%200%207%203.5%203.5%200%200%201%200-7zm0%2015a8%208%200%200%201-6.4-3.2c1.18-2.02%203.57-3.3%206.4-3.3s5.22%201.28%206.4%203.3A8%208%200%200%201%2012%2020z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20zm0%203a3.5%203.5%200%201%201%200%207%203.5%203.5%200%200%201%200-7zm0%2015a8%208%200%200%201-6.4-3.2c1.18-2.02%203.57-3.3%206.4-3.3s5.22%201.28%206.4%203.3A8%208%200%200%201%2012%2020z'/%3E%3C/svg%3E") center / contain no-repeat}.case-content[data-v-f34bc4ed]{box-sizing:border-box;height:100vh;padding:76px 20px 24px}.list-hero[data-v-f34bc4ed]{margin-bottom:16px;display:flex;flex-direction:column;gap:4px}.list-title[data-v-f34bc4ed]{color:#191c21;font-size:22px;line-height:30px;font-weight:700}.list-subtitle[data-v-f34bc4ed]{color:#727783;font-size:13px;line-height:20px}.search-row[data-v-f34bc4ed]{margin-bottom:12px;display:flex;gap:8px}.search-box[data-v-f34bc4ed]{position:relative;flex:1;min-width:0;height:40px;border-radius:8px;background:#fff;box-shadow:0 2px 8px rgba(25,28,33,.04)}.search-button[data-v-f34bc4ed]{flex:0 0 auto;width:64px;height:40px;margin:0;padding:0;border-radius:8px;background:#00478d;color:#fff;font-size:14px;line-height:40px;font-weight:700}.search-button[data-v-f34bc4ed]:after,.filter-chip[data-v-f34bc4ed]:after,.retry-button[data-v-f34bc4ed]:after{border:0}.search-button[disabled][data-v-f34bc4ed]{background:#c2c6d4;color:#fff;opacity:1}.search-icon[data-v-f34bc4ed]{position:absolute;left:12px;top:50%;width:20px;height:20px;background:#727783;transform:translateY(-50%);-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9.5%203a6.5%206.5%200%200%200%200%2013c1.61%200%203.09-.59%204.23-1.57L19.29%2020%2020.7%2018.59l-5.56-5.56A6.47%206.47%200%200%200%2016%209.5%206.5%206.5%200%200%200%209.5%203zm0%202a4.5%204.5%200%201%201%200%209%204.5%204.5%200%200%201%200-9z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9.5%203a6.5%206.5%200%200%200%200%2013c1.61%200%203.09-.59%204.23-1.57L19.29%2020%2020.7%2018.59l-5.56-5.56A6.47%206.47%200%200%200%2016%209.5%206.5%206.5%200%200%200%209.5%203zm0%202a4.5%204.5%200%201%201%200%209%204.5%204.5%200%200%201%200-9z'/%3E%3C/svg%3E") center / contain no-repeat}.search-input[data-v-f34bc4ed]{box-sizing:border-box;width:100%;height:40px;padding:0 16px 0 40px;border:0;background:transparent;color:#191c21;font-size:14px;line-height:20px}.search-placeholder[data-v-f34bc4ed]{color:#c2c6d4}.filter-row[data-v-f34bc4ed]{margin-bottom:8px;display:flex;gap:8px;overflow-x:auto;white-space:nowrap}.filter-row.compact[data-v-f34bc4ed]{margin-bottom:12px}.filter-chip[data-v-f34bc4ed]{flex:0 0 auto;min-width:64px;height:32px;margin:0;padding:0 12px;border:1px solid rgba(194,198,212,.5);border-radius:999px;background:#fff;color:#424752;font-size:12px;line-height:18px;font-weight:700;display:flex;align-items:center;justify-content:center}.filter-chip.active[data-v-f34bc4ed]{border-color:rgba(0,71,141,.28);background:#d6e3ff;color:#00478d}.summary-row[data-v-f34bc4ed]{margin:0 0 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#727783;font-size:12px;line-height:18px}.case-list[data-v-f34bc4ed]{display:flex;flex-direction:column;gap:12px;padding-bottom:20px}.case-card[data-v-f34bc4ed]{padding:12px;border:1px solid rgba(194,198,212,.3);border-radius:8px;background:#fff;box-shadow:0 2px 8px rgba(25,28,33,.04);display:flex;flex-direction:column;gap:8px}.case-card.mode-teaching[data-v-f34bc4ed]{border-color:rgba(0,71,141,.22)}.case-card[data-v-f34bc4ed]:active{transform:scale(.99)}.case-main[data-v-f34bc4ed]{display:flex;gap:12px}.patient-avatar[data-v-f34bc4ed]{position:relative;flex:0 0 auto;width:70px;height:70px;border-radius:4px;overflow:hidden;display:flex;align-items:center;justify-content:center;color:#fff;font-size:28px;line-height:1;font-weight:700}.patient-avatar[data-v-f34bc4ed]:before{content:"";position:absolute;left:50%;top:15px;width:20px;height:20px;border-radius:50%;background:rgba(255,255,255,.42);transform:translate(-50%)}.patient-avatar[data-v-f34bc4ed]:after{content:"";position:absolute;left:50%;bottom:-7px;width:50px;height:34px;border-radius:50% 50% 0 0;background:rgba(255,255,255,.28);transform:translate(-50%)}.patient-avatar uni-text[data-v-f34bc4ed]{position:relative;z-index:1}.avatar-blue[data-v-f34bc4ed]{background:linear-gradient(135deg,#7da6d9,#00478d)}.avatar-teal[data-v-f34bc4ed]{background:linear-gradient(135deg,#5dd8e2,#006970)}.avatar-pink[data-v-f34bc4ed]{background:linear-gradient(135deg,#ffb3c7,#a63a5f)}.avatar-orange[data-v-f34bc4ed]{background:linear-gradient(135deg,#ffb691,#9f4300)}.avatar-purple[data-v-f34bc4ed]{background:linear-gradient(135deg,#b5a6ff,#5f4bb6)}.avatar-green[data-v-f34bc4ed]{background:linear-gradient(135deg,#9edc9a,#347a35)}.case-info[data-v-f34bc4ed]{flex:1;min-width:0}.case-title[data-v-f34bc4ed]{display:-webkit-box;margin-bottom:4px;overflow:hidden;color:#191c21;font-size:16px;line-height:20px;font-weight:600;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.case-meta[data-v-f34bc4ed]{display:block;margin-bottom:4px;color:#424752;font-size:13px;line-height:20px}.case-desc[data-v-f34bc4ed]{display:-webkit-box;margin-bottom:6px;overflow:hidden;color:#727783;font-size:12px;line-height:18px;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.tag-row[data-v-f34bc4ed]{display:flex;flex-wrap:wrap;gap:6px}.case-tag[data-v-f34bc4ed]{max-width:96px;padding:2px 8px;border-radius:999px;background:#ecedf6;color:#424752;font-size:11px;line-height:16px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.case-footer[data-v-f34bc4ed]{display:flex;align-items:flex-end;justify-content:space-between}.case-no[data-v-f34bc4ed]{color:#c2c6d4;font-size:11px;line-height:16px;font-weight:600}.mode-badge[data-v-f34bc4ed]{flex:0 0 auto;height:24px;padding:0 8px;border-radius:999px;display:flex;align-items:center;gap:4px;font-size:11px;line-height:16px;font-weight:700}.mode-badge-training[data-v-f34bc4ed]{background:#ecedf6;color:#424752}.mode-badge-teaching[data-v-f34bc4ed]{background:#d6e3ff;color:#00478d}.mode-icon[data-v-f34bc4ed]{width:14px;height:14px;background:currentColor}.mode-icon-training[data-v-f34bc4ed]{-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9%2016.2l-3.5-3.5L4%2014.2%209%2019%2020%208l-1.5-1.5L9%2016.2z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9%2016.2l-3.5-3.5L4%2014.2%209%2019%2020%208l-1.5-1.5L9%2016.2z'/%3E%3C/svg%3E") center / contain no-repeat}.mode-icon-teaching[data-v-f34bc4ed]{-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%203L1%209l11%206%209-4.91V17h2V9L12%203zm0%202.28L18.85%209%2012%2012.72%205.15%209%2012%205.28zM5%2013.18v3.2C6.63%2018.24%209.26%2019%2012%2019s5.37-.76%207-2.62v-3.2l-7%203.82-7-3.82z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%203L1%209l11%206%209-4.91V17h2V9L12%203zm0%202.28L18.85%209%2012%2012.72%205.15%209%2012%205.28zM5%2013.18v3.2C6.63%2018.24%209.26%2019%2012%2019s5.37-.76%207-2.62v-3.2l-7%203.82-7-3.82z'/%3E%3C/svg%3E") center / contain no-repeat}.stat-row[data-v-f34bc4ed]{padding-top:8px;border-top:1px solid rgba(194,198,212,.22);display:flex;flex-wrap:wrap;gap:8px;color:#727783;font-size:11px;line-height:16px;font-weight:600}.empty-state[data-v-f34bc4ed]{min-height:160px;padding:40px 0;text-align:center;color:#727783;font-size:14px;line-height:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.retry-button[data-v-f34bc4ed]{width:96px;height:36px;margin:0;padding:0;border-radius:8px;background:#00478d;color:#fff;font-size:13px;line-height:36px;font-weight:700}.load-more-state[data-v-f34bc4ed]{padding:8px 0 16px;text-align:center;color:#a0a5b2;font-size:12px;line-height:18px}.spinner[data-v-f34bc4ed]{width:22px;height:22px;border:2px solid rgba(0,71,141,.18);border-top-color:#00478d;border-radius:50%;box-sizing:border-box;animation:spin-f34bc4ed 1s linear infinite}.toast[data-v-f34bc4ed]{position:fixed;left:50%;bottom:96px;z-index:100;max-width:320px;padding:12px 24px;border-radius:999px;background:#2e3037;color:#eff0f8;font-size:14px;line-height:20px;font-weight:600;text-align:center;pointer-events:none;opacity:0;transform:translate(-50%,16px);transition:opacity .3s ease,transform .3s ease}.toast.visible[data-v-f34bc4ed]{opacity:1;transform:translate(-50%)}@keyframes spin-f34bc4ed{0%{transform:rotate(0)}to{transform:rotate(360deg)}} diff --git a/dist/assets/cases.4_d-snq4.js b/dist/assets/cases.4_d-snq4.js deleted file mode 100644 index a913f94..0000000 --- a/dist/assets/cases.4_d-snq4.js +++ /dev/null @@ -1 +0,0 @@ -import{C as e}from"./index-pnQqyMoS.js";function t(){return Promise.resolve([{id:"case-31190016",title:"间断四肢多关节肿痛5年,加重1个月",patientName:"郭爱和",gender:"男",age:43,department:"风湿免疫科",scene:"门诊部",caseNo:"31190016",tone:"blue",mode:"training"},{id:"case-31180002",title:"右膝关节疼痛8年,腰背部疼痛2年",patientName:"索航",gender:"男",age:51,department:"风湿免疫科",scene:"住院部",caseNo:"31180002",tone:"teal",mode:"training"},{id:"case-2238015",title:"阴道不规则流血4月。",patientName:"韩爱利",gender:"女",age:52,department:"妇科",scene:"住院部",caseNo:"2238015",tone:"pink",mode:"training"},{id:"case-1006004",title:"持续胸痛3小时",patientName:"陈先生",gender:"男",age:60,department:"心血管内科",scene:"住院部",caseNo:"1006004",tone:"orange",mode:"teaching"},{id:"case-31190042",title:"咳嗽、咳痰10余年,加重1周",patientName:"厉明",gender:"男",age:52,department:"呼吸内科",scene:"普通门诊",caseNo:"31190042",tone:"purple",mode:"training"},{id:"case-2238019",title:"尿频、尿急、尿痛3天",patientName:"刘晓元",gender:"女",age:25,department:"泌尿外科",scene:"急诊留观",caseNo:"2238019",tone:"green",mode:"training"}])}function n(){const t=e("clinical-thinking-selected-case");return t&&"object"==typeof t?t:null}export{t as f,n as r}; diff --git a/dist/assets/cases.CqwTWi6x.js b/dist/assets/cases.CqwTWi6x.js new file mode 100644 index 0000000..a09829a --- /dev/null +++ b/dist/assets/cases.CqwTWi6x.js @@ -0,0 +1 @@ +import{D as e,C as t}from"./index-DR4MYR5F.js";import{a as n,A as r}from"./auth.CseBt7py.js";const i={recommended:"/case/mobile/recommended/",specialty:"/case/mobile/specialty/",weak:"/case/mobile/weak/",teaching:"/case/mobile/teaching/","teacher-task":"/case/mobile/teacher-task/"},o=["blue","teal","pink","orange","purple","green"];async function c(e="recommended",c={}){const s=i[e]||i.recommended,a=await function(e,i){return new Promise(((o,c)=>{t({url:`${n}${m(e,i)}`,method:"GET",timeout:1e4,header:u(),success:e=>{if(e.statusCode>=200&&e.statusCode<300)return void o(e.data);const t=e.data,n="string"==typeof(null==t?void 0:t.code)?t.code:void 0;c(new r(function(e,t){if(e&&"object"==typeof e){const t=e,n=t.message||t.detail||t.error;if("string"==typeof n&&n.trim())return n}return t}(e.data,`病例列表加载失败(${e.statusCode})`),n,e.statusCode))},fail:e=>{c(new r(e.errMsg||"无法连接服务"))}})}))}(s,c),f=function(e,t){const n=Array.isArray(e.results)?e.results:[];return{count:l(e.count,n.length),next:"string"==typeof e.next?e.next:null,previous:"string"==typeof e.previous?e.previous:null,results:n.map(((e,n)=>function(e,t,n){const r=d(e.id,`case-${n+1}`),i=d(e.title,"未命名病例"),c=(y=e.patient_gender,"female"===y||"女"===y?"女":"男"),s=d(e.department_name,"未配置科室"),a=d(e.case_type),u=d(e.case_type_display,a||"练习病例"),m=d(e.chief_complaint,i),f="teaching"===t||"teaching"===a?"teaching":"training";var y;return{id:r,title:i,patientName:"女"===c?"患者女士":"患者先生",gender:c,age:l(e.patient_age,0),department:s,departmentId:p(e.department),scene:u,caseNo:r,tone:o[n%o.length],mode:f,caseType:a,caseTypeDisplay:u,difficulty:d(e.difficulty),difficultyScore:p(e.difficulty_score),chiefComplaint:m,description:d(e.description),tags:d(e.tags),competencyTags:Array.isArray(e.competency_tags)?e.competency_tags.map(String):[],estimatedMinutes:p(e.estimated_minutes),osceEnabled:Boolean(e.osce_enabled),myBestScore:"number"==typeof e.my_best_score?e.my_best_score:null,myTrainCount:"number"==typeof e.my_train_count?e.my_train_count:null,createdAt:d(e.created_at),source:t}}(e,t,n)))}}(a,e);return f}function s(){const t=e("clinical-thinking-selected-case");return t&&"object"==typeof t?t:null}function a(e){if(!e)return 0;const t=Number(e.id);if(Number.isInteger(t)&&t>0)return t;const n=Number(e.caseNo);if(Number.isInteger(n)&&n>0)return n;const r=String(e.id).match(/\d+/),i=r?Number(r[0]):0;return Number.isInteger(i)&&i>0?i:0}function u(){const t={"Content-Type":"application/json",Accept:"application/json"},n=function(){try{const t=e("clinical-thinking-access-token");return"string"==typeof t?t.trim():""}catch{return""}}();return n&&(t.Authorization=`Bearer ${n}`),t}function m(e,t){const n=Object.entries(t).filter((([,e])=>null!=e&&""!==e)).map((([e,t])=>`${encodeURIComponent(e)}=${encodeURIComponent(String(t))}`)).join("&");return n?`${e}?${n}`:e}function d(e,t=""){return"string"==typeof e?e.trim()||t:"number"==typeof e?String(e):t}function l(e,t=0){const n=Number(e);return Number.isFinite(n)?n:t}function p(e){const t=Number(e);return Number.isFinite(t)?t:void 0}export{a,c as f,s as r}; diff --git a/dist/assets/config.C781xSGj.js b/dist/assets/config.C781xSGj.js deleted file mode 100644 index 4fa56a5..0000000 --- a/dist/assets/config.C781xSGj.js +++ /dev/null @@ -1 +0,0 @@ -import{B as e,C as a,d as t,a as l,r as s,c as n,o as c,b as o,e as u,f as i,w as r,i as d,n as f,j as v,t as p,l as m,m as _,F as b,k as g,g as h,s as k,D as y,u as C,y as x,x as T,z as j,S as w}from"./index-pnQqyMoS.js";import{_ as E}from"./config-doctor.TgARj_nM.js";import{c as P}from"./navigation.DVfJwOxJ.js";import{_ as S}from"./_plugin-vue_export-helper.BCo6x5W8.js";class A extends Error{constructor(e,a,t){super(e),this.name="ApiRequestError",this.code=a,this.statusCode=t}}function M(e=!1){const t={"Content-Type":"application/json"};if(!e)return t;const l=function(){try{return a("clinical-thinking-access-token")||""}catch{return""}}();return l&&(t.Authorization=`Bearer ${l}`),t}function O(a,t,l="POST",s=!1){return new Promise(((n,c)=>{e({url:`/server/api${a}`,method:l,timeout:1e4,header:M(s),data:t,success:e=>{if(e.statusCode>=200&&e.statusCode<300)return void n(e.data);const a=e.data,t="string"==typeof(null==a?void 0:a.code)?a.code:void 0;c(new A(function(e,a){if(e&&"object"==typeof e){const a=e,t=a.message||a.detail||a.error;if("string"==typeof t&&t.trim())return t}return a}(e.data,`请求失败(${e.statusCode})`),t,e.statusCode))},fail:e=>{c(new A(e.errMsg||"无法连接服务"))}})}))}function $(e,a="login"){return O("/user/auth/send-code/",{phone:e,scene:a})}function z(){return O("/user/institution_list/",null,"GET")}function B(e){return O("/user/auth/login-code/",e).then((e=>{if(function(e){if(!e||"object"!=typeof e)return!1;const a=e,t=a.tokens;return Boolean(a.tokens&&"string"==typeof(null==t?void 0:t.access)&&"string"==typeof(null==t?void 0:t.refresh))}(e))return e;throw new Error("登录接口返回数据格式异常")}))}const F={departments:[{value:"im",label:"内科",desc:"心内、呼吸、消化、肾内等临床场景"},{value:"sur",label:"外科",desc:"普外、骨科、神外、胸外等临床场景"},{value:"ped",label:"儿科",desc:"儿童常见病、急重症与沟通训练"},{value:"obg",label:"妇产科",desc:"围产、妇科、产科急症训练"},{value:"er",label:"急诊科",desc:"分诊、抢救、危急值处置训练"},{value:"icu",label:"重症医学科",desc:"危重症评估与多学科决策训练"}],titles:[{value:"resident",label:"住院医师",desc:"强化基础诊疗路径与病历思维"},{value:"attending",label:"主治医师",desc:"提升独立诊疗和带教表达"},{value:"associate_chief",label:"副主任医师",desc:"复杂病例决策与团队协作"},{value:"chief",label:"主任医师",desc:"疑难病例、质控和教学管理"}],experiences:[{value:"1-3",label:"1-3年",desc:"基础病例训练优先"},{value:"3-5",label:"3-5年",desc:"进阶诊疗路径优先"},{value:"5-10",label:"5-10年",desc:"复杂病例推演优先"},{value:"10+",label:"10年以上",desc:"疑难病例与带教模拟优先"}]};function G(t){return new Promise(((l,s)=>{const n=function(){try{return a("clinical-thinking-access-token")||""}catch{return""}}(),c={"Content-Type":"application/json"};n&&(c.Authorization=`Bearer ${n}`),e({url:"/server/api/user/profile/config/",method:"POST",timeout:1e4,header:c,data:t,success:e=>{if(e.statusCode>=200&&e.statusCode<300)return void l(e.data);const a=e.data,t="string"==typeof(null==a?void 0:a.code)?a.code:void 0;s(new A(function(e,a){if(e&&"object"==typeof e){const a=e,t=a.message||a.detail||a.error;if("string"==typeof t&&t.trim())return t}return a}(e.data,`保存失败(${e.statusCode})`),t,e.statusCode))},fail:e=>{s(new A(e.errMsg||"无法连接服务"))}})}))}const I=S(t({__name:"config",emits:["open-profile"],setup(e,{emit:a}){const t=l({department:"im",title:"resident",experience:"1-3"}),S=s(F),A=s("欢迎回来!请配置执业信息,开始精准带教模拟。"),M=s(""),$=s(!1),z=s(""),B=s(!1),I=s(!1),N=s("idle"),q=s(""),D=s(!1),R=s("");P(a);let H=null,J=null;const K=n((()=>ae("departments",t.department))),L=n((()=>ae("titles",t.title))),Q=n((()=>ae("experiences",t.experience))),U=n((()=>{const e={department:S.value.departments,title:S.value.titles,experience:S.value.experiences},a=z.value;return a?e[a]:[]})),V=n((()=>{const e=z.value;return e?{department:"选择执业科室",title:"选择专业职称",experience:"选择执业年限"}[e]:"请选择"})),W=n((()=>I.value?"正在保存...":"saved"===N.value?"已就绪":"确认并继续"));function X(){Promise.resolve({options:F,defaults:{department:"im",title:"resident",experience:"1-3"},mentor:{name:"王主任",message:"欢迎回来!请配置执业信息,开始精准带教模拟。"}}).then((({options:e,defaults:a,mentor:l})=>{S.value=e,Object.assign(t,a),A.value=l.message,function(){H&&clearTimeout(H);M.value="",$.value=!0;let e=0;const a=()=>{ee.value===a))||t[0]||{label:"请选择",value:""}}function te(e){z.value=e,B.value=!0}function le(){B.value=!1,z.value=""}function se(){const e=Number(t.department);if(!Number.isInteger(e)||e<=0)return void ce("请先选择有效执业科室");const a={department:e,title_name:L.value.label,practice_years:Q.value.label};I.value=!0,N.value="idle",G(a).then((e=>{k("clinical-thinking-config",e),I.value=!1,N.value="saved",ce("配置已保存"),setTimeout((()=>{y({url:"/pages/home/home"})}),500)})).catch((e=>{I.value=!1,ce(e instanceof Error?e.message:"保存失败,请稍后重试")}))}function ne(){"/static/config-hospital.png"!==R.value&&(R.value="/static/config-hospital.png")}function ce(e){J&&clearTimeout(J),q.value=e,D.value=!0,J=setTimeout((()=>{D.value=!1}),2200)}return c((()=>{X(),Z(),ee()})),o((()=>{H&&clearTimeout(H),J&&clearTimeout(J)})),(e,a)=>{const l=C,s=x,n=T,c=j,o=w;return u(),i(s,{class:"config-page"},{default:r((()=>[d(s,{class:"phone-frame"},{default:r((()=>[d(s,{class:"hero-section"},{default:r((()=>[d(l,{class:"hospital-image",src:R.value,mode:"aspectFill",onError:ne},null,8,["src"]),d(s,{class:"hero-overlay"})])),_:1}),d(s,{class:"profile-section"},{default:r((()=>[d(s,{class:"section-glow"}),d(s,{class:"profile-content"},{default:r((()=>[d(s,{class:"intro-row"},{default:r((()=>[d(s,{class:"doctor-card"},{default:r((()=>[d(l,{class:"doctor-image",src:E,mode:"aspectFit"})])),_:1}),d(s,{class:"bubble"},{default:r((()=>[d(n,{class:f(["bubble-text",{typing:$.value}])},{default:r((()=>[v(p(M.value),1)])),_:1},8,["class"]),d(s,{class:"bubble-arrow"})])),_:1})])),_:1}),d(s,{class:"form-area"},{default:r((()=>[d(s,{class:"field-block"},{default:r((()=>[d(n,{class:"field-label"},{default:r((()=>[v("执业科室")])),_:1}),d(s,{class:"glass-select",onClick:a[0]||(a[0]=e=>te("department"))},{default:r((()=>[d(n,{class:"select-value"},{default:r((()=>[v(p(K.value.label),1)])),_:1}),d(s,{class:"chevron"})])),_:1})])),_:1}),d(s,{class:"field-grid"},{default:r((()=>[d(s,{class:"field-block"},{default:r((()=>[d(n,{class:"field-label"},{default:r((()=>[v("专业职称")])),_:1}),d(s,{class:"glass-select",onClick:a[1]||(a[1]=e=>te("title"))},{default:r((()=>[d(n,{class:"select-value"},{default:r((()=>[v(p(L.value.label),1)])),_:1}),d(s,{class:"chevron"})])),_:1})])),_:1}),d(s,{class:"field-block"},{default:r((()=>[d(n,{class:"field-label"},{default:r((()=>[v("执业年限")])),_:1}),d(s,{class:"glass-select",onClick:a[2]||(a[2]=e=>te("experience"))},{default:r((()=>[d(n,{class:"select-value"},{default:r((()=>[v(p(Q.value.label),1)])),_:1}),d(s,{class:"chevron"})])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})])),_:1}),d(s,{class:"action-section"},{default:r((()=>[d(c,{class:f(["submit-button",{saved:"saved"===N.value}]),disabled:I.value,onClick:se},{default:r((()=>[I.value?(u(),i(s,{key:0,class:"spinner"})):"saved"===N.value?(u(),i(s,{key:1,class:"check-icon"})):(u(),i(s,{key:2,class:"check-icon"})),d(n,null,{default:r((()=>[v(p(W.value),1)])),_:1})])),_:1},8,["class","disabled"]),d(s,{class:"secure-tip"},{default:r((()=>[d(s,{class:"lock-icon"}),d(n,null,{default:r((()=>[v("数据已进行安全加密处理")])),_:1})])),_:1})])),_:1}),d(s,{class:"home-indicator"})])),_:1}),d(s,{class:f(["toast",{visible:D.value}])},{default:r((()=>[v(p(q.value),1)])),_:1},8,["class"]),B.value?(u(),i(s,{key:0,class:"picker-mask",onClick:le},{default:r((()=>[d(s,{class:"picker-panel",onClick:a[3]||(a[3]=g((()=>{}),["stop"]))},{default:r((()=>[d(s,{class:"picker-header"},{default:r((()=>[d(n,{class:"picker-title"},{default:r((()=>[v(p(V.value),1)])),_:1}),d(n,{class:"picker-close",onClick:le},{default:r((()=>[v("关闭")])),_:1})])),_:1}),d(o,{class:"option-list","scroll-y":""},{default:r((()=>[(u(!0),m(b,null,_(U.value,(e=>(u(),i(s,{key:e.value,class:f(["option-item",{active:e.value===t[z.value]}]),onClick:a=>function(e){const a=z.value;a&&(t[a]=e.value,le())}(e)},{default:r((()=>[d(s,{class:"option-copy"},{default:r((()=>[d(n,{class:"option-label"},{default:r((()=>[v(p(e.label),1)])),_:2},1024),e.desc?(u(),i(n,{key:0,class:"option-desc"},{default:r((()=>[v(p(e.desc),1)])),_:2},1024)):h("",!0)])),_:2},1024),e.value===t[z.value]?(u(),i(s,{key:0,class:"selected-mark"})):h("",!0)])),_:2},1032,["class","onClick"])))),128))])),_:1})])),_:1})])),_:1})):h("",!0)])),_:1})}}}),[["__scopeId","data-v-40671f38"]]),N=Object.freeze(Object.defineProperty({__proto__:null,default:I},Symbol.toStringTag,{value:"Module"}));export{A,I as C,N as c,z as f,B as l,$ as s}; diff --git a/dist/assets/home-BQ1tn9_7.css b/dist/assets/home-BmScqB7H.css similarity index 66% rename from dist/assets/home-BQ1tn9_7.css rename to dist/assets/home-BmScqB7H.css index ed9e6d6..913fa21 100644 --- a/dist/assets/home-BQ1tn9_7.css +++ b/dist/assets/home-BmScqB7H.css @@ -1 +1 @@ -uni-page-body[data-v-cfd573f5]{min-height:100%;background:#f9f9ff}body[data-v-cfd573f5]{background:#f9f9ff}.home-page[data-v-cfd573f5]{min-height:100vh;background:#f9f9ff;color:#191c21;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent}.home-shell[data-v-cfd573f5]{position:relative;min-height:100vh;overflow:hidden;background:#f9f9ff}.top-bar[data-v-cfd573f5]{position:absolute;left:0;right:0;top:0;z-index:10;box-sizing:border-box;height:56px;padding:0 20px;border-bottom:1px solid rgba(194,198,212,.3);background:rgba(249,249,255,.82);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);display:flex;align-items:center}.top-spacer[data-v-cfd573f5]{flex:1}.icon-button[data-v-cfd573f5]{width:40px;height:40px;padding:0;border-radius:50%;background:transparent;display:flex;align-items:center;justify-content:center}.icon-button[data-v-cfd573f5]:after,.start-button[data-v-cfd573f5]:after,.module-card[data-v-cfd573f5]:after,.assistant-button[data-v-cfd573f5]:after{border:0}.icon-button[data-v-cfd573f5]:active{background:rgba(25,28,33,.05)}.settings-icon[data-v-cfd573f5],.account-icon[data-v-cfd573f5],.module-icon[data-v-cfd573f5],.assistant-icon[data-v-cfd573f5]{background:#424752;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:contain;mask-position:center;mask-repeat:no-repeat;mask-size:contain}.settings-icon[data-v-cfd573f5]{width:22px;height:22px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M19.43%2012.98c.04-.32.07-.65.07-.98s-.02-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.37-.31-.6-.22l-2.49%201c-.52-.4-1.08-.73-1.69-.98L14.5%202.42C14.47%202.18%2014.25%202%2014%202h-4c-.25%200-.46.18-.5.42l-.38%202.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.08-.48%200-.6.22l-2%203.46c-.13.22-.07.49.12.64l2.11%201.65c-.04.32-.08.65-.08.98s.03.66.08.98l-2.11%201.65c-.19.15-.24.42-.12.64l2%203.46c.12.22.37.31.6.22l2.49-1c.52.4%201.08.73%201.69.98l.38%202.65c.04.24.25.42.5.42h4c.25%200%20.46-.18.5-.42l.38-2.65c.61-.25%201.17-.58%201.69-.98l2.49%201c.23.08.48%200%20.6-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12%2015.5A3.5%203.5%200%201%201%2012%208a3.5%203.5%200%200%201%200%207.5z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M19.43%2012.98c.04-.32.07-.65.07-.98s-.02-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.37-.31-.6-.22l-2.49%201c-.52-.4-1.08-.73-1.69-.98L14.5%202.42C14.47%202.18%2014.25%202%2014%202h-4c-.25%200-.46.18-.5.42l-.38%202.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.08-.48%200-.6.22l-2%203.46c-.13.22-.07.49.12.64l2.11%201.65c-.04.32-.08.65-.08.98s.03.66.08.98l-2.11%201.65c-.19.15-.24.42-.12.64l2%203.46c.12.22.37.31.6.22l2.49-1c.52.4%201.08.73%201.69.98l.38%202.65c.04.24.25.42.5.42h4c.25%200%20.46-.18.5-.42l.38-2.65c.61-.25%201.17-.58%201.69-.98l2.49%201c.23.08.48%200%20.6-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12%2015.5A3.5%203.5%200%201%201%2012%208a3.5%203.5%200%200%201%200%207.5z'/%3E%3C/svg%3E")}.account-icon[data-v-cfd573f5]{width:24px;height:24px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20zm0%203a3.5%203.5%200%201%201%200%207%203.5%203.5%200%200%201%200-7zm0%2015a8%208%200%200%201-6.4-3.2c1.18-2.02%203.57-3.3%206.4-3.3s5.22%201.28%206.4%203.3A8%208%200%200%201%2012%2020z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20zm0%203a3.5%203.5%200%201%201%200%207%203.5%203.5%200%200%201%200-7zm0%2015a8%208%200%200%201-6.4-3.2c1.18-2.02%203.57-3.3%206.4-3.3s5.22%201.28%206.4%203.3A8%208%200%200%201%2012%2020z'/%3E%3C/svg%3E")}.home-main[data-v-cfd573f5]{box-sizing:border-box;min-height:100vh;padding:72px 20px 24px;background:radial-gradient(circle at 50% 40%,#fff,#f2f3fb);display:flex;flex-direction:column;align-items:center;overflow-y:auto}.speech-bubble[data-v-cfd573f5]{position:relative;box-sizing:border-box;max-width:300px;margin:16px 0;padding:8px 24px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.05);text-align:center;animation:bubble-float-cfd573f5 4s ease-in-out infinite}.speech-bubble[data-v-cfd573f5]:before{content:"";position:absolute;left:50%;bottom:-10px;z-index:0;width:16px;height:16px;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;background:#fff;transform:translate(-50%) rotate(45deg)}.bubble-copy[data-v-cfd573f5],.bubble-strong[data-v-cfd573f5],.bubble-highlight[data-v-cfd573f5]{position:relative;z-index:1;font-size:16px;line-height:24px;color:#191c21}.bubble-strong[data-v-cfd573f5],.bubble-highlight[data-v-cfd573f5]{font-weight:700}.bubble-highlight[data-v-cfd573f5]{color:#00478d}.doctor-stage[data-v-cfd573f5]{position:relative;width:100%;max-width:180px;aspect-ratio:1;margin-bottom:12px;display:flex;align-items:center;justify-content:center}.doctor-shadow[data-v-cfd573f5]{position:absolute;left:12.5%;right:12.5%;bottom:16px;height:32px;border-radius:50%;background:rgba(0,0,0,.05);filter:blur(12px)}.director-image[data-v-cfd573f5]{position:relative;z-index:1;width:100%;height:100%;transition:transform .5s ease}.director-image[data-v-cfd573f5]:active{transform:scale(1.03)}.training-panel[data-v-cfd573f5]{width:100%;max-width:320px;display:flex;flex-direction:column;gap:16px}.primary-action[data-v-cfd573f5]{display:flex;flex-direction:column;gap:8px}.start-button[data-v-cfd573f5]{width:100%;min-height:48px;padding:12px;border-radius:8px;background:#00478d;box-shadow:0 4px 12px rgba(0,71,141,.2);color:#fff;font-size:20px;line-height:28px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;animation:pulse-gentle-cfd573f5 3s cubic-bezier(.4,0,.6,1) infinite}.start-button[data-v-cfd573f5]:active{transform:scale(.95)}.remaining[data-v-cfd573f5]{text-align:center;color:#424752;font-size:12px;line-height:16px;font-weight:500;letter-spacing:0}.module-grid[data-v-cfd573f5]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.module-card[data-v-cfd573f5]{box-sizing:border-box;min-height:92px;padding:8px;border:1px solid rgba(194,198,212,.3);border-radius:8px;background:#f2f3fb;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;transition:background .2s ease,transform .2s ease}.module-card[data-v-cfd573f5]:active{background:#e7e8f0;transform:scale(.98)}.module-icon[data-v-cfd573f5]{width:24px;height:24px;background:#00478d;flex:0 0 auto}.trend-icon[data-v-cfd573f5]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M16%206l2.29%202.29-4.88%204.88-4-4L2%2016.59%203.41%2018l6-6%204%204%206.3-6.29L22%2012V6h-6z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M16%206l2.29%202.29-4.88%204.88-4-4L2%2016.59%203.41%2018l6-6%204%204%206.3-6.29L22%2012V6h-6z'/%3E%3C/svg%3E")}.notes-icon[data-v-cfd573f5]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M6%202h9l5%205v15H6a2%202%200%200%201-2-2V4a2%202%200%200%201%202-2zm8%201.5V8h4.5L14%203.5zM8%2011v2h8v-2H8zm0%204v2h8v-2H8zm0%204h5v-2H8v2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M6%202h9l5%205v15H6a2%202%200%200%201-2-2V4a2%202%200%200%201%202-2zm8%201.5V8h4.5L14%203.5zM8%2011v2h8v-2H8zm0%204v2h8v-2H8zm0%204h5v-2H8v2z'/%3E%3C/svg%3E")}.school-icon[data-v-cfd573f5]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%203L1%209l11%206%209-4.91V17h2V9L12%203zm0%2014L5%2013.18V17l7%204%207-4v-3.82L12%2017z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%203L1%209l11%206%209-4.91V17h2V9L12%203zm0%2014L5%2013.18V17l7%204%207-4v-3.82L12%2017z'/%3E%3C/svg%3E")}.admin-icon[data-v-cfd573f5]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%201L3%205v6c0%205.55%203.84%2010.74%209%2012%205.16-1.26%209-6.45%209-12V5l-9-4zm4.3%207.7l1.4%201.4-6.1%206.1-3.3-3.3%201.4-1.4%201.9%201.9%204.7-4.7z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%201L3%205v6c0%205.55%203.84%2010.74%209%2012%205.16-1.26%209-6.45%209-12V5l-9-4zm4.3%207.7l1.4%201.4-6.1%206.1-3.3-3.3%201.4-1.4%201.9%201.9%204.7-4.7z'/%3E%3C/svg%3E")}.module-title[data-v-cfd573f5]{color:#191c21;font-size:14px;line-height:20px;font-weight:600;letter-spacing:0}.assistant-actions[data-v-cfd573f5]{padding-top:8px;display:flex;flex-direction:column;gap:8px}.assistant-button[data-v-cfd573f5]{width:100%;min-height:44px;box-sizing:border-box;padding:10px 24px;border-radius:12px;background:#005eb8;color:#c8daff;font-size:14px;line-height:20px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;transition:background .2s ease,transform .2s ease}.assistant-button[data-v-cfd573f5]:active{background:rgba(0,94,184,.9);transform:scale(.97)}.assistant-button.disabled[data-v-cfd573f5],.assistant-button[disabled][data-v-cfd573f5]{background:#e1e2ea;color:#727783;box-shadow:none;opacity:1;cursor:not-allowed}.assistant-button.disabled[data-v-cfd573f5]:active,.assistant-button[disabled][data-v-cfd573f5]:active{transform:none;background:#e1e2ea}.assistant-button.disabled .assistant-icon[data-v-cfd573f5],.assistant-button[disabled] .assistant-icon[data-v-cfd573f5]{background:#727783}.assistant-icon[data-v-cfd573f5]{width:20px;height:20px;background:#c8daff;flex:0 0 auto}.chat-icon[data-v-cfd573f5]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M4%204h16a2%202%200%200%201%202%202v9a2%202%200%200%201-2%202H9l-5%204v-4a2%202%200%200%201-2-2V6a2%202%200%200%201%202-2zm3%205v2h10V9H7zm0%204v2h7v-2H7z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M4%204h16a2%202%200%200%201%202%202v9a2%202%200%200%201-2%202H9l-5%204v-4a2%202%200%200%201-2-2V6a2%202%200%200%201%202-2zm3%205v2h10V9H7zm0%204v2h7v-2H7z'/%3E%3C/svg%3E")}.forum-icon[data-v-cfd573f5]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M4%204h13a2%202%200%200%201%202%202v8a2%202%200%200%201-2%202H8l-4%204v-4a2%202%200%200%201-2-2V6a2%202%200%200%201%202-2zm16%204h1a2%202%200%200%201%202%202v8a2%202%200%200%201-2%202h-1v3l-3-3h-6a2%202%200%200%201-2-2v-1h8a3%203%200%200%200%203-3V8z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M4%204h13a2%202%200%200%201%202%202v8a2%202%200%200%201-2%202H8l-4%204v-4a2%202%200%200%201-2-2V6a2%202%200%200%201%202-2zm16%204h1a2%202%200%200%201%202%202v8a2%202%200%200%201-2%202h-1v3l-3-3h-6a2%202%200%200%201-2-2v-1h8a3%203%200%200%200%203-3V8z'/%3E%3C/svg%3E")}.spinner[data-v-cfd573f5]{width:20px;height:20px;border:2px solid rgba(255,255,255,.36);border-top-color:#fff;border-radius:50%;box-sizing:border-box;animation:spin-cfd573f5 1s linear infinite}.toast[data-v-cfd573f5]{position:fixed;left:50%;bottom:96px;z-index:100;max-width:320px;padding:12px 24px;border-radius:999px;background:#2e3037;color:#eff0f8;font-size:14px;line-height:20px;font-weight:600;text-align:center;pointer-events:none;opacity:0;transform:translate(-50%,16px);transition:opacity .3s ease,transform .3s ease}.toast.visible[data-v-cfd573f5]{opacity:1;transform:translate(-50%)}@keyframes pulse-gentle-cfd573f5{0%,to{transform:scale(1);box-shadow:0 4px 12px rgba(0,71,141,.2)}50%{transform:scale(1.02);box-shadow:0 8px 24px rgba(0,71,141,.35)}}@keyframes bubble-float-cfd573f5{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes spin-cfd573f5{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (min-width: 768px){.home-page[data-v-cfd573f5]{display:flex;justify-content:center;background:#d8dae2}.home-shell[data-v-cfd573f5]{width:390px;min-height:100vh;box-shadow:0 24px 64px rgba(25,28,33,.18)}}@media (max-height: 740px){.home-main[data-v-cfd573f5]{padding-top:64px}.speech-bubble[data-v-cfd573f5]{margin:10px 0}.doctor-stage[data-v-cfd573f5]{max-width:148px;margin-bottom:8px}.training-panel[data-v-cfd573f5]{gap:12px}.module-card[data-v-cfd573f5]{min-height:84px}} +uni-page-body[data-v-bc493b9b]{min-height:100%;background:#f9f9ff}body[data-v-bc493b9b]{background:#f9f9ff}.home-page[data-v-bc493b9b]{min-height:100vh;background:#f9f9ff;color:#191c21;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent}.home-shell[data-v-bc493b9b]{position:relative;min-height:100vh;overflow:hidden;background:#f9f9ff}.top-bar[data-v-bc493b9b]{position:absolute;left:0;right:0;top:0;z-index:10;box-sizing:border-box;height:56px;padding:0 20px;border-bottom:1px solid rgba(194,198,212,.3);background:rgba(249,249,255,.82);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);display:flex;align-items:center}.top-spacer[data-v-bc493b9b]{flex:1}.icon-button[data-v-bc493b9b]{width:40px;height:40px;padding:0;border-radius:50%;background:transparent;display:flex;align-items:center;justify-content:center}.icon-button[data-v-bc493b9b]:after,.start-button[data-v-bc493b9b]:after,.module-card[data-v-bc493b9b]:after,.assistant-button[data-v-bc493b9b]:after{border:0}.icon-button[data-v-bc493b9b]:active{background:rgba(25,28,33,.05)}.settings-icon[data-v-bc493b9b],.account-icon[data-v-bc493b9b],.module-icon[data-v-bc493b9b],.assistant-icon[data-v-bc493b9b]{background:#424752;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:contain;mask-position:center;mask-repeat:no-repeat;mask-size:contain}.settings-icon[data-v-bc493b9b]{width:22px;height:22px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M19.43%2012.98c.04-.32.07-.65.07-.98s-.02-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.37-.31-.6-.22l-2.49%201c-.52-.4-1.08-.73-1.69-.98L14.5%202.42C14.47%202.18%2014.25%202%2014%202h-4c-.25%200-.46.18-.5.42l-.38%202.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.08-.48%200-.6.22l-2%203.46c-.13.22-.07.49.12.64l2.11%201.65c-.04.32-.08.65-.08.98s.03.66.08.98l-2.11%201.65c-.19.15-.24.42-.12.64l2%203.46c.12.22.37.31.6.22l2.49-1c.52.4%201.08.73%201.69.98l.38%202.65c.04.24.25.42.5.42h4c.25%200%20.46-.18.5-.42l.38-2.65c.61-.25%201.17-.58%201.69-.98l2.49%201c.23.08.48%200%20.6-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12%2015.5A3.5%203.5%200%201%201%2012%208a3.5%203.5%200%200%201%200%207.5z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M19.43%2012.98c.04-.32.07-.65.07-.98s-.02-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.37-.31-.6-.22l-2.49%201c-.52-.4-1.08-.73-1.69-.98L14.5%202.42C14.47%202.18%2014.25%202%2014%202h-4c-.25%200-.46.18-.5.42l-.38%202.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.08-.48%200-.6.22l-2%203.46c-.13.22-.07.49.12.64l2.11%201.65c-.04.32-.08.65-.08.98s.03.66.08.98l-2.11%201.65c-.19.15-.24.42-.12.64l2%203.46c.12.22.37.31.6.22l2.49-1c.52.4%201.08.73%201.69.98l.38%202.65c.04.24.25.42.5.42h4c.25%200%20.46-.18.5-.42l.38-2.65c.61-.25%201.17-.58%201.69-.98l2.49%201c.23.08.48%200%20.6-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12%2015.5A3.5%203.5%200%201%201%2012%208a3.5%203.5%200%200%201%200%207.5z'/%3E%3C/svg%3E")}.account-icon[data-v-bc493b9b]{width:24px;height:24px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20zm0%203a3.5%203.5%200%201%201%200%207%203.5%203.5%200%200%201%200-7zm0%2015a8%208%200%200%201-6.4-3.2c1.18-2.02%203.57-3.3%206.4-3.3s5.22%201.28%206.4%203.3A8%208%200%200%201%2012%2020z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20zm0%203a3.5%203.5%200%201%201%200%207%203.5%203.5%200%200%201%200-7zm0%2015a8%208%200%200%201-6.4-3.2c1.18-2.02%203.57-3.3%206.4-3.3s5.22%201.28%206.4%203.3A8%208%200%200%201%2012%2020z'/%3E%3C/svg%3E")}.home-main[data-v-bc493b9b]{box-sizing:border-box;min-height:100vh;padding:72px 20px 24px;background:radial-gradient(circle at 50% 40%,#fff,#f2f3fb);display:flex;flex-direction:column;align-items:center;overflow-y:auto}.speech-bubble[data-v-bc493b9b]{position:relative;box-sizing:border-box;max-width:300px;margin:16px 0;padding:8px 24px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.05);text-align:center;animation:bubble-float-bc493b9b 4s ease-in-out infinite}.speech-bubble[data-v-bc493b9b]:before{content:"";position:absolute;left:50%;bottom:-10px;z-index:0;width:16px;height:16px;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;background:#fff;transform:translate(-50%) rotate(45deg)}.bubble-copy[data-v-bc493b9b],.bubble-strong[data-v-bc493b9b],.bubble-highlight[data-v-bc493b9b]{position:relative;z-index:1;font-size:16px;line-height:24px;color:#191c21}.bubble-strong[data-v-bc493b9b],.bubble-highlight[data-v-bc493b9b]{font-weight:700}.bubble-highlight[data-v-bc493b9b]{color:#00478d}.doctor-stage[data-v-bc493b9b]{position:relative;width:100%;max-width:180px;aspect-ratio:1;margin-bottom:12px;display:flex;align-items:center;justify-content:center}.doctor-shadow[data-v-bc493b9b]{position:absolute;left:12.5%;right:12.5%;bottom:16px;height:32px;border-radius:50%;background:rgba(0,0,0,.05);filter:blur(12px)}.director-image[data-v-bc493b9b]{position:relative;z-index:1;width:100%;height:100%;transition:transform .5s ease}.director-image[data-v-bc493b9b]:active{transform:scale(1.03)}.training-panel[data-v-bc493b9b]{width:100%;max-width:320px;display:flex;flex-direction:column;gap:16px}.primary-action[data-v-bc493b9b]{display:flex;flex-direction:column;gap:8px}.start-button[data-v-bc493b9b]{width:100%;min-height:48px;padding:12px;border-radius:8px;background:#00478d;box-shadow:0 4px 12px rgba(0,71,141,.2);color:#fff;font-size:20px;line-height:28px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;animation:pulse-gentle-bc493b9b 3s cubic-bezier(.4,0,.6,1) infinite}.start-button[data-v-bc493b9b]:active{transform:scale(.95)}.remaining[data-v-bc493b9b]{text-align:center;color:#424752;font-size:12px;line-height:16px;font-weight:500;letter-spacing:0}.module-grid[data-v-bc493b9b]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.module-card[data-v-bc493b9b]{box-sizing:border-box;min-height:92px;padding:8px;border:1px solid rgba(194,198,212,.3);border-radius:8px;background:#f2f3fb;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;transition:background .2s ease,transform .2s ease}.module-card[data-v-bc493b9b]:active{background:#e7e8f0;transform:scale(.98)}.module-icon[data-v-bc493b9b]{width:24px;height:24px;background:#00478d;flex:0 0 auto}.trend-icon[data-v-bc493b9b]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M16%206l2.29%202.29-4.88%204.88-4-4L2%2016.59%203.41%2018l6-6%204%204%206.3-6.29L22%2012V6h-6z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M16%206l2.29%202.29-4.88%204.88-4-4L2%2016.59%203.41%2018l6-6%204%204%206.3-6.29L22%2012V6h-6z'/%3E%3C/svg%3E")}.notes-icon[data-v-bc493b9b]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M6%202h9l5%205v15H6a2%202%200%200%201-2-2V4a2%202%200%200%201%202-2zm8%201.5V8h4.5L14%203.5zM8%2011v2h8v-2H8zm0%204v2h8v-2H8zm0%204h5v-2H8v2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M6%202h9l5%205v15H6a2%202%200%200%201-2-2V4a2%202%200%200%201%202-2zm8%201.5V8h4.5L14%203.5zM8%2011v2h8v-2H8zm0%204v2h8v-2H8zm0%204h5v-2H8v2z'/%3E%3C/svg%3E")}.school-icon[data-v-bc493b9b]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%203L1%209l11%206%209-4.91V17h2V9L12%203zm0%2014L5%2013.18V17l7%204%207-4v-3.82L12%2017z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%203L1%209l11%206%209-4.91V17h2V9L12%203zm0%2014L5%2013.18V17l7%204%207-4v-3.82L12%2017z'/%3E%3C/svg%3E")}.admin-icon[data-v-bc493b9b]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%201L3%205v6c0%205.55%203.84%2010.74%209%2012%205.16-1.26%209-6.45%209-12V5l-9-4zm4.3%207.7l1.4%201.4-6.1%206.1-3.3-3.3%201.4-1.4%201.9%201.9%204.7-4.7z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%201L3%205v6c0%205.55%203.84%2010.74%209%2012%205.16-1.26%209-6.45%209-12V5l-9-4zm4.3%207.7l1.4%201.4-6.1%206.1-3.3-3.3%201.4-1.4%201.9%201.9%204.7-4.7z'/%3E%3C/svg%3E")}.module-title[data-v-bc493b9b]{color:#191c21;font-size:14px;line-height:20px;font-weight:600;letter-spacing:0}.assistant-actions[data-v-bc493b9b]{padding-top:8px;display:flex;flex-direction:column;gap:8px}.assistant-button[data-v-bc493b9b]{width:100%;min-height:44px;box-sizing:border-box;padding:10px 24px;border-radius:12px;background:#005eb8;color:#c8daff;font-size:14px;line-height:20px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;transition:background .2s ease,transform .2s ease}.assistant-button[data-v-bc493b9b]:active{background:rgba(0,94,184,.9);transform:scale(.97)}.assistant-button.disabled[data-v-bc493b9b],.assistant-button[disabled][data-v-bc493b9b]{background:#e1e2ea;color:#727783;box-shadow:none;opacity:1;cursor:not-allowed}.assistant-button.disabled[data-v-bc493b9b]:active,.assistant-button[disabled][data-v-bc493b9b]:active{transform:none;background:#e1e2ea}.assistant-button.disabled .assistant-icon[data-v-bc493b9b],.assistant-button[disabled] .assistant-icon[data-v-bc493b9b]{background:#727783}.assistant-icon[data-v-bc493b9b]{width:20px;height:20px;background:#c8daff;flex:0 0 auto}.chat-icon[data-v-bc493b9b]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M4%204h16a2%202%200%200%201%202%202v9a2%202%200%200%201-2%202H9l-5%204v-4a2%202%200%200%201-2-2V6a2%202%200%200%201%202-2zm3%205v2h10V9H7zm0%204v2h7v-2H7z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M4%204h16a2%202%200%200%201%202%202v9a2%202%200%200%201-2%202H9l-5%204v-4a2%202%200%200%201-2-2V6a2%202%200%200%201%202-2zm3%205v2h10V9H7zm0%204v2h7v-2H7z'/%3E%3C/svg%3E")}.forum-icon[data-v-bc493b9b]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M4%204h13a2%202%200%200%201%202%202v8a2%202%200%200%201-2%202H8l-4%204v-4a2%202%200%200%201-2-2V6a2%202%200%200%201%202-2zm16%204h1a2%202%200%200%201%202%202v8a2%202%200%200%201-2%202h-1v3l-3-3h-6a2%202%200%200%201-2-2v-1h8a3%203%200%200%200%203-3V8z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M4%204h13a2%202%200%200%201%202%202v8a2%202%200%200%201-2%202H8l-4%204v-4a2%202%200%200%201-2-2V6a2%202%200%200%201%202-2zm16%204h1a2%202%200%200%201%202%202v8a2%202%200%200%201-2%202h-1v3l-3-3h-6a2%202%200%200%201-2-2v-1h8a3%203%200%200%200%203-3V8z'/%3E%3C/svg%3E")}.spinner[data-v-bc493b9b]{width:20px;height:20px;border:2px solid rgba(255,255,255,.36);border-top-color:#fff;border-radius:50%;box-sizing:border-box;animation:spin-bc493b9b 1s linear infinite}.toast[data-v-bc493b9b]{position:fixed;left:50%;bottom:96px;z-index:100;max-width:320px;padding:12px 24px;border-radius:999px;background:#2e3037;color:#eff0f8;font-size:14px;line-height:20px;font-weight:600;text-align:center;pointer-events:none;opacity:0;transform:translate(-50%,16px);transition:opacity .3s ease,transform .3s ease}.toast.visible[data-v-bc493b9b]{opacity:1;transform:translate(-50%)}@keyframes pulse-gentle-bc493b9b{0%,to{transform:scale(1);box-shadow:0 4px 12px rgba(0,71,141,.2)}50%{transform:scale(1.02);box-shadow:0 8px 24px rgba(0,71,141,.35)}}@keyframes bubble-float-bc493b9b{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes spin-bc493b9b{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (min-width: 768px){.home-page[data-v-bc493b9b]{display:flex;justify-content:center;background:#d8dae2}.home-shell[data-v-bc493b9b]{width:390px;min-height:100vh;box-shadow:0 24px 64px rgba(25,28,33,.18)}}@media (max-height: 740px){.home-main[data-v-bc493b9b]{padding-top:64px}.speech-bubble[data-v-bc493b9b]{margin:10px 0}.doctor-stage[data-v-bc493b9b]{max-width:148px;margin-bottom:8px}.training-panel[data-v-bc493b9b]{gap:12px}.module-card[data-v-bc493b9b]{min-height:84px}} diff --git a/dist/assets/index-55XRfSc_.css b/dist/assets/index-55XRfSc_.css new file mode 100644 index 0000000..d4acd69 --- /dev/null +++ b/dist/assets/index-55XRfSc_.css @@ -0,0 +1 @@ +uni-page-body[data-v-0db0c021]{min-height:100%;background:#f9f9ff}body[data-v-0db0c021]{background:#f9f9ff}.page-root[data-v-0db0c021]{min-height:100vh;background:#f9f9ff}.auth-page[data-v-0db0c021]{min-height:100vh;background:#f9f9ff;color:#191c21;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent}.auth-container[data-v-0db0c021]{box-sizing:border-box;width:100%;max-width:448px;min-height:100vh;margin:0 auto;padding:32px 20px 24px;display:flex;flex-direction:column}.header[data-v-0db0c021]{margin:24px 0;display:flex;flex-direction:column;align-items:center;text-align:center}.logo[data-v-0db0c021]{width:96px;height:96px;margin-bottom:16px}.title[data-v-0db0c021]{color:#00478d;font-size:24px;line-height:32px;font-weight:600;letter-spacing:0}.subtitle[data-v-0db0c021]{margin-top:8px;color:#727783;font-size:14px;line-height:20px;font-weight:600;letter-spacing:0}.form[data-v-0db0c021]{flex:1}.form-group[data-v-0db0c021]{margin-bottom:16px}.label[data-v-0db0c021]{display:block;margin:0 0 8px 4px;color:#424752;font-size:12px;line-height:16px;font-weight:500;letter-spacing:0}.input-wrap[data-v-0db0c021],.select-wrap[data-v-0db0c021]{box-sizing:border-box;width:100%;height:56px;padding:0 16px;border:1px solid #c2c6d4;border-radius:8px;background:#f9f9ff;display:flex;align-items:center;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.input-wrap.focused[data-v-0db0c021],.select-wrap[data-v-0db0c021]:active{border-color:#00478d;box-shadow:0 0 0 1px #00478d}.country-code[data-v-0db0c021]{margin-right:4px;color:#191c21;font-size:16px;line-height:24px;font-weight:400}.separator[data-v-0db0c021]{width:1px;height:24px;margin:0 12px;background:#c2c6d4}.input[data-v-0db0c021]{flex:1;min-width:0;height:54px;padding:0;border:0;background:transparent;color:#191c21;font-size:16px;line-height:24px}.placeholder[data-v-0db0c021]{color:rgba(114,119,131,.6)}.code-row[data-v-0db0c021]{display:flex;align-items:center;-moz-column-gap:8px;column-gap:8px}.code-input-wrap[data-v-0db0c021]{flex:1;min-width:0}.verified-icon[data-v-0db0c021]{flex:0 0 auto;width:28px;height:28px;margin-right:12px;background:center / 24px 24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%23727783' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 7.8-7 10-4-2.2-7-5.5-7-10V6l7-3z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E")}.code-button[data-v-0db0c021]{box-sizing:border-box;flex:0 0 auto;height:56px;padding:0 16px;border:1px solid #00478d;border-radius:8px;background:#f9f9ff;color:#00478d;font-size:14px;line-height:54px;font-weight:600;white-space:nowrap;transition:opacity .18s ease,transform .18s ease,background .18s ease}.code-button[data-v-0db0c021]:active,.login-button[data-v-0db0c021]:active{transform:scale(.98)}.code-button.disabled[data-v-0db0c021]{opacity:.5}.code-button[data-v-0db0c021]:after,.login-button[data-v-0db0c021]:after{border:0}.select-wrap[data-v-0db0c021]{position:relative;justify-content:space-between}.select-text[data-v-0db0c021]{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#191c21;font-size:16px;line-height:24px}.select-text.muted[data-v-0db0c021]{color:rgba(114,119,131,.6)}.select-arrow[data-v-0db0c021]{flex:0 0 auto;width:28px;height:28px;margin-left:12px;background:center / 28px 28px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%23727783' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8l5 5 5-5'/%3E%3Cpath d='M7 12l5 5 5-5'/%3E%3C/svg%3E")}.hint[data-v-0db0c021]{display:block;padding:4px 0;text-align:center;color:#727783;font-size:12px;line-height:16px;font-weight:500;letter-spacing:0}.login-area[data-v-0db0c021]{padding-top:16px}.login-button[data-v-0db0c021]{width:100%;height:56px;border-radius:8px;background:#00478d;box-shadow:0 4px 12px rgba(0,71,141,.2);color:#fff;font-size:20px;line-height:56px;font-weight:600;display:flex;align-items:center;justify-content:center;transition:background .18s ease,transform .18s ease,opacity .18s ease}.login-button.loading[data-v-0db0c021]{opacity:.9}.loading-spinner[data-v-0db0c021]{width:24px;height:24px;border:3px solid rgba(255,255,255,.36);border-top-color:#fff;border-radius:50%;animation:spin-0db0c021 1s linear infinite}.footer[data-v-0db0c021]{margin-top:24px;padding-bottom:env(safe-area-inset-bottom);display:flex;justify-content:center}.agreement[data-v-0db0c021]{max-width:280px;display:flex;align-items:flex-start}.checkbox[data-v-0db0c021]{position:relative;box-sizing:border-box;flex:0 0 auto;width:16px;height:16px;margin-top:4px;margin-right:8px;border:1px solid #c2c6d4;border-radius:4px;background:#fff}.checkbox.checked[data-v-0db0c021]{border-color:#00478d;background:#00478d}.checkbox.checked[data-v-0db0c021]:after{content:"";position:absolute;left:4px;top:1px;width:5px;height:9px;border-right:2px solid #ffffff;border-bottom:2px solid #ffffff;transform:rotate(45deg)}.agreement-copy[data-v-0db0c021]{flex:1;font-size:0;line-height:0}.agreement-text[data-v-0db0c021],.agreement-link[data-v-0db0c021]{font-size:12px;line-height:20px;font-weight:500;letter-spacing:0}.agreement-text[data-v-0db0c021]{color:#424752}.agreement-link[data-v-0db0c021]{color:#00478d}.toast[data-v-0db0c021]{position:fixed;left:50%;bottom:128px;z-index:100;max-width:320px;padding:12px 24px;border-radius:999px;background:#2e3037;color:#eff0f8;font-size:14px;line-height:20px;font-weight:600;text-align:center;pointer-events:none;opacity:0;transform:translate(-50%,16px);transition:opacity .3s ease,transform .3s ease}.toast.visible[data-v-0db0c021]{opacity:1;transform:translate(-50%)}.picker-mask[data-v-0db0c021]{position:fixed;left:0;right:0;top:0;bottom:0;z-index:90;background:rgba(25,28,33,.38);display:flex;align-items:flex-end;justify-content:center}.picker-panel[data-v-0db0c021]{box-sizing:border-box;width:100%;max-width:448px;max-height:72vh;padding:16px 20px calc(16px + env(safe-area-inset-bottom));border-radius:16px 16px 0 0;background:#fff;box-shadow:0 -12px 30px rgba(25,28,33,.16)}.picker-header[data-v-0db0c021]{height:40px;display:flex;align-items:center;justify-content:space-between}.picker-title[data-v-0db0c021]{color:#191c21;font-size:18px;line-height:28px;font-weight:600}.picker-close[data-v-0db0c021]{color:#00478d;font-size:14px;line-height:20px;font-weight:600}.institution-list[data-v-0db0c021]{max-height:calc(72vh - 72px);margin-top:8px}.institution-empty[data-v-0db0c021]{padding:20px 4px;color:#727783;font-size:14px;line-height:20px;text-align:center}.institution-item[data-v-0db0c021]{box-sizing:border-box;min-height:64px;padding:12px 4px;border-bottom:1px solid #ecedf6;display:flex;align-items:center;justify-content:space-between}.institution-item.active[data-v-0db0c021]{color:#00478d}.institution-copy[data-v-0db0c021]{flex:1;min-width:0;padding-right:16px;display:flex;flex-direction:column}.institution-name[data-v-0db0c021]{color:#191c21;font-size:16px;line-height:24px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.institution-item.active .institution-name[data-v-0db0c021]{color:#00478d;font-weight:600}.institution-meta[data-v-0db0c021]{margin-top:2px;color:#727783;font-size:12px;line-height:18px}.selected-mark[data-v-0db0c021]{position:relative;flex:0 0 auto;width:18px;height:18px;border-radius:50%;background:#00478d}.selected-mark[data-v-0db0c021]:after{content:"";position:absolute;left:6px;top:3px;width:5px;height:9px;border-right:2px solid #ffffff;border-bottom:2px solid #ffffff;transform:rotate(45deg)}.shake[data-v-0db0c021]{animation:shake-0db0c021 .5s cubic-bezier(.36,.07,.19,.97) both}@keyframes shake-0db0c021{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}@keyframes spin-0db0c021{0%{transform:rotate(0)}to{transform:rotate(360deg)}} diff --git a/dist/assets/index-DR4MYR5F.js b/dist/assets/index-DR4MYR5F.js new file mode 100644 index 0000000..7ec3f47 --- /dev/null +++ b/dist/assets/index-DR4MYR5F.js @@ -0,0 +1,25 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./pages-index-index.B6mwsTnn.js","./auth.CseBt7py.js","./pages-config-config.Biif3AWZ.js","./config-doctor.TgARj_nM.js","./navigation.DbARx0MO.js","./_plugin-vue_export-helper.BCo6x5W8.js","./config-D9FAvKg-.css","./pages-profile-profile.1iL2Z_Wy.js","./profile.e1L0urBE.js","./profile-BT4uudyf.css","./index-55XRfSc_.css","./pages-home-home.DA4TN4Qi.js","./home-BmScqB7H.css","./pages-matching-matching.CseTx9c7.js","./uni-app.es.CXV8m51O.js","./matching-DyLuDntN.css","./pages-cases-cases.BgMZzNL8.js","./cases.CqwTWi6x.js","./cases-CRDq7Phs.css","./pages-scenario-scenario.m98f7F1b.js","./session.EmQEGqqa.js","./scenario-DapYnPh4.css","./pages-chat-chat.CwAY7iE8.js","./chat-CkFGeMvf.css","./pages-profile-profile-analysis._w79JFSZ.js","./profile-analysis-Bo0Oy0p7.css","./pages-profile-profile-records.-O6EFJFn.js","./profile-records-C5tRHAvK.css","./pages-learning-assistant-learning-assistant.DXQx3hQo.js","./learning-assistant-DLqyMC21.css","./pages-teaching-teaching.CD7aTCWg.js","./teaching-BLhZOmNZ.css","./pages-diagnosis-diagnosis.O2EH0Ud3.js","./diagnosis-BxzDEbGJ.css","./pages-treatment-treatment.Dc9aOAwY.js","./treatment-C2Wi3XDZ.css","./pages-assessment-assessment.DBigRajl.js","./assessment-Bww5np95.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const e={},t=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){const t=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),s=(null==i?void 0:i.nonce)||(null==i?void 0:i.getAttribute("nonce"));r=Promise.all(n.map((n=>{if(n=function(e,t){return new URL(e,t).href}(n,o),n in e)return;e[n]=!0;const r=n.endsWith(".css"),i=r?'[rel="stylesheet"]':"";if(!!o)for(let e=t.length-1;e>=0;e--){const o=t[e];if(o.href===n&&(!r||"stylesheet"===o.rel))return}else if(document.querySelector(`link[href="${n}"]${i}`))return;const a=document.createElement("link");return a.rel=r?"stylesheet":"modulepreload",r||(a.as="script",a.crossOrigin=""),a.href=n,s&&a.setAttribute("nonce",s),document.head.appendChild(a),r?new Promise(((e,t)=>{a.addEventListener("load",e),a.addEventListener("error",(()=>t(new Error(`Unable to preload CSS for ${n}`))))})):void 0})))}return r.then((()=>t())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))}; +/** +* @vue/shared v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/ +function n(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const o={},r=[],i=()=>{},s=()=>!1,a=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),c=Object.assign,u=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,f=(e,t)=>d.call(e,t),p=Array.isArray,h=e=>"[object Map]"===x(e),g=e=>"[object Set]"===x(e),m=e=>"function"==typeof e,v=e=>"string"==typeof e,y=e=>"symbol"==typeof e,b=e=>null!==e&&"object"==typeof e,_=e=>(b(e)||m(e))&&m(e.then)&&m(e.catch),w=Object.prototype.toString,x=e=>w.call(e),S=e=>"[object Object]"===x(e),T=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,C=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),E=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},k=/-(\w)/g,O=E((e=>e.replace(k,((e,t)=>t?t.toUpperCase():"")))),L=/\B([A-Z])/g,$=E((e=>e.replace(L,"-$1").toLowerCase())),A=E((e=>e.charAt(0).toUpperCase()+e.slice(1))),P=E((e=>e?`on${A(e)}`:"")),R=(e,t)=>!Object.is(e,t),B=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},j=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let M;const I=()=>M||(M="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function V(e){if(p(e)){const t={};for(let n=0;n{if(e){const n=e.split(D);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function U(e){let t="";if(v(e))t=e;else if(p(e))for(let n=0;nv(e)?e:null==e?"":p(e)||b(e)&&(e.toString===w||!m(e.toString))?JSON.stringify(e,K,2):String(e),K=(e,t)=>t&&t.__v_isRef?K(e,t.value):h(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[Y(t,o)+" =>"]=n,e)),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>Y(e)))}:y(t)?Y(t):!b(t)||p(t)||S(t)?t:String(t),Y=(e,t="")=>{var n;return y(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};var G={};const J=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view","location-picker","location-view"].map((e=>"uni-"+e)),Z=["page-container","list-view","list-item","sticky-section","sticky-header","cloud-db-element","loading-element","loading"].map((e=>"uni-"+e)),Q=["list-item"].map((e=>"uni-"+e));function ee(e){if(-1!==Q.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return"true"!==G.UNI_APP_X?-1!==J.indexOf(t):-1!==J.indexOf(t)||-1!==Z.indexOf(t)}const te=/^([a-z-]+:)?\/\//i,ne=/^data:.*,.*/,oe="onLoad";function re(e){return void 0===e?null:e}class ie{static keys(e){return Object.keys(e)}static assign(e,...t){for(let n=0;n{this[t]=e}));else for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(this[t]=e[t]);!function(e){const t=["_resolveKeyPath","_getValue","toJSON","get","set","getAny","getString","getNumber","getBoolean","getJSON","getArray","toMap","forEach"],n={};for(let o=0;o0&&(n.push(t),t="");break;case"[":o=!0,t.length>0&&(n.push(t),t="");break;case"]":if(!o)return[];if(!(t.length>0))return[];{const e=t[0],o=t[t.length-1];if('"'===e&&'"'===o||"'"===e&&"'"===o||"`"===e&&"`"===o){if(!(t.length>2))return[];t=t.slice(1,-1)}else if(!/^\d+$/.test(t))return[];n.push(t),t=""}o=!1;break;default:t+=i}r===e.length-1&&t.length>0&&(n.push(t),t="")}return n}_getValue(e,t){const n=this._resolveKeyPath(e),o=re(t);if(0===n.length)return o;let r=this;for(let i=0;i{t[n]=e[n]})),V(t)}if(e instanceof Map){const t={};return e.forEach(((e,n)=>{t[n]=e})),V(t)}if(v(e))return W(e);if(p(e)){const t={};for(let n=0;n{e[n]&&(t+=n+" ")}));else if(e instanceof Map)e.forEach(((e,n)=>{e&&(t+=n+" ")}));else if(p(e))for(let n=0;n(e&&(n=e.apply(t,o),e=null),n)}function pe(e){return O(e.substring(5))}const he=fe((e=>{e=e||(e=>e.tagName.startsWith("UNI-"));const t=HTMLElement.prototype,n=t.setAttribute;t.setAttribute=function(t,o){if(t.startsWith("data-")&&e(this)){(this.__uniDataset||(this.__uniDataset={}))[pe(t)]=o}/^\d/.test(t)||n.call(this,t,o)};const o=t.removeAttribute;t.removeAttribute=function(t){this.__uniDataset&&t.startsWith("data-")&&e(this)&&delete this.__uniDataset[pe(t)],o.call(this,t)}}));function ge(e){return c({},e.dataset,e.__uniDataset)}const me=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function ve(e){return{passive:e}}function ye(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:ge(e),offsetTop:n,offsetLeft:o}}function be(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function _e(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=be(e[n])}catch(o){t[n]=e[n]}})),t}const we=/\+/g;function xe(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe.apply(this,arguments);r=o(i,t)};return i.cancel=function(){n(r)},i}class Te{constructor(e,t){this.id=e,this.listener={},this.emitCache=[],t&&Object.keys(t).forEach((e=>{this.on(e,t[e])}))}emit(e,...t){const n=this.listener[e];if(!n)return this.emitCache.push({eventName:e,args:t});n.forEach((e=>{e.fn.apply(e.fn,t)})),this.listener[e]=n.filter((e=>"once"!==e.type))}on(e,t){this._addListener(e,"on",t),this._clearCache(e)}once(e,t){this._addListener(e,"once",t),this._clearCache(e)}off(e,t){const n=this.listener[e];if(n)if(t)for(let o=0;ot(e))),Le=function(){};Le.prototype={_id:1,on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n,_id:this._id}),this._id++},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o=0;i--)if(o[i].fn===t||o[i].fn._===t||o[i]._id===t){o.splice(i,1);break}r=o}return r.length?n[e]=r:delete n[e],this}};var $e=Le;const Ae={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function Pe(e,t,n){if(v(t)&&t.startsWith("@")){let r=e[t.replace("@","")]||t;switch(n){case"titleColor":r="black"===r?"#000000":"#ffffff";break;case"borderStyle":r=(o=r)&&o in Ae?Ae[o]:o}return r}var o;return t}function Re(e,t={},n="light"){const o=t[n],r={};return void 0!==o&&e?(Object.keys(e).forEach((i=>{const s=e[i];r[i]=S(s)?Re(s,t,n):p(s)?s.map((e=>S(e)?Re(e,t,n):Pe(o,e))):Pe(o,s,i)})),r):e} +/** +* @dcloudio/uni-h5-vue v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Be,Ne;class je{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Be,!e&&Be&&(this.index=(Be.scopes||(Be.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Be;try{return Be=this,e()}finally{Be=t}}}on(){Be=this}off(){Be=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),qe()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=De,t=Ne;try{return De=!0,Ne=this,this._runnings++,Ie(this),this.fn()}finally{Ve(this),this._runnings--,Ne=t,De=e}}stop(){var e;this.active&&(Ie(this),Ve(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function Ie(e){e._trackId++,e._depsLength=0}function Ve(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Ze=new WeakMap,Qe=Symbol(""),et=Symbol("");function tt(e,t,n){if(De&&Ne){let t=Ze.get(e);t||Ze.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=Je((()=>t.delete(n)))),Ke(Ne,o)}}function nt(e,t,n,o,r,i){const s=Ze.get(e);if(!s)return;let a=[];if("clear"===t)a=[...s.values()];else if("length"===n&&p(e)){const e=Number(o);s.forEach(((t,n)=>{("length"===n||!y(n)&&n>=e)&&a.push(t)}))}else switch(void 0!==n&&a.push(s.get(n)),t){case"add":p(e)?T(n)&&a.push(s.get("length")):(a.push(s.get(Qe)),h(e)&&a.push(s.get(et)));break;case"delete":p(e)||(a.push(s.get(Qe)),h(e)&&a.push(s.get(et)));break;case"set":h(e)&&a.push(s.get(Qe))}ze();for(const l of a)l&&Ge(l,4);Xe()}const ot=n("__proto__,__v_isRef,__isVue"),rt=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(y)),it=st();function st(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Kt(this);for(let t=0,r=this.length;t{e[t]=function(...e){Ue(),ze();const n=Kt(this)[t].apply(this,e);return Xe(),qe(),n}})),e}function at(e){const t=Kt(this);return tt(t,0,e),t.hasOwnProperty(e)}class lt{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(o?r?It:Mt:r?jt:Nt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=p(e);if(!o){if(i&&f(it,t))return Reflect.get(it,t,n);if("hasOwnProperty"===t)return at}const s=Reflect.get(e,t,n);return(y(t)?rt.has(t):ot(t))?s:(o||tt(e,0,t),r?s:tn(s)?i&&T(t)?s:s.value:b(s)?o?Ht(s):Ft(s):s)}}class ct extends lt{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=qt(r);if(zt(n)||qt(n)||(r=Kt(r),n=Kt(n)),!p(e)&&tn(r)&&!tn(n))return!t&&(r.value=n,!0)}const i=p(e)&&T(t)?Number(t)e,gt=e=>Reflect.getPrototypeOf(e);function mt(e,t,n=!1,o=!1){const r=Kt(e=e.__v_raw),i=Kt(t);n||(R(t,i)&&tt(r,0,t),tt(r,0,i));const{has:s}=gt(r),a=o?ht:n?Jt:Gt;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void(e!==r&&e.get(t))}function vt(e,t=!1){const n=this.__v_raw,o=Kt(n),r=Kt(e);return t||(R(e,r)&&tt(o,0,e),tt(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function yt(e,t=!1){return e=e.__v_raw,!t&&tt(Kt(e),0,Qe),Reflect.get(e,"size",e)}function bt(e){e=Kt(e);const t=Kt(this);return gt(t).has.call(t,e)||(t.add(e),nt(t,"add",e,e)),this}function _t(e,t){t=Kt(t);const n=Kt(this),{has:o,get:r}=gt(n);let i=o.call(n,e);i||(e=Kt(e),i=o.call(n,e));const s=r.call(n,e);return n.set(e,t),i?R(t,s)&&nt(n,"set",e,t):nt(n,"add",e,t),this}function wt(e){const t=Kt(this),{has:n,get:o}=gt(t);let r=n.call(t,e);r||(e=Kt(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&nt(t,"delete",e,void 0),i}function xt(){const e=Kt(this),t=0!==e.size,n=e.clear();return t&&nt(e,"clear",void 0,void 0),n}function St(e,t){return function(n,o){const r=this,i=r.__v_raw,s=Kt(i),a=t?ht:e?Jt:Gt;return!e&&tt(s,0,Qe),i.forEach(((e,t)=>n.call(o,a(e),a(t),r)))}}function Tt(e,t,n){return function(...o){const r=this.__v_raw,i=Kt(r),s=h(i),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=r[e](...o),u=n?ht:t?Jt:Gt;return!t&&tt(i,0,l?et:Qe),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Ct(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Et(){const e={get(e){return mt(this,e)},get size(){return yt(this)},has:vt,add:bt,set:_t,delete:wt,clear:xt,forEach:St(!1,!1)},t={get(e){return mt(this,e,!1,!0)},get size(){return yt(this)},has:vt,add:bt,set:_t,delete:wt,clear:xt,forEach:St(!1,!0)},n={get(e){return mt(this,e,!0)},get size(){return yt(this,!0)},has(e){return vt.call(this,e,!0)},add:Ct("add"),set:Ct("set"),delete:Ct("delete"),clear:Ct("clear"),forEach:St(!0,!1)},o={get(e){return mt(this,e,!0,!0)},get size(){return yt(this,!0)},has(e){return vt.call(this,e,!0)},add:Ct("add"),set:Ct("set"),delete:Ct("delete"),clear:Ct("clear"),forEach:St(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=Tt(r,!1,!1),n[r]=Tt(r,!0,!1),t[r]=Tt(r,!1,!0),o[r]=Tt(r,!0,!0)})),[e,n,t,o]}const[kt,Ot,Lt,$t]=Et();function At(e,t){const n=t?e?$t:Lt:e?Ot:kt;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(f(n,o)&&o in t?n:t,o,r)}const Pt={get:At(!1,!1)},Rt={get:At(!1,!0)},Bt={get:At(!0,!1)},Nt=new WeakMap,jt=new WeakMap,Mt=new WeakMap,It=new WeakMap;function Vt(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>x(e).slice(8,-1))(e))}function Ft(e){return qt(e)?e:Wt(e,!1,dt,Pt,Nt)}function Dt(e){return Wt(e,!1,pt,Rt,jt)}function Ht(e){return Wt(e,!0,ft,Bt,Mt)}function Wt(e,t,n,o,r){if(!b(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const s=Vt(e);if(0===s)return e;const a=new Proxy(e,2===s?o:n);return r.set(e,a),a}function Ut(e){return qt(e)?Ut(e.__v_raw):!(!e||!e.__v_isReactive)}function qt(e){return!(!e||!e.__v_isReadonly)}function zt(e){return!(!e||!e.__v_isShallow)}function Xt(e){return Ut(e)||qt(e)}function Kt(e){const t=e&&e.__v_raw;return t?Kt(t):e}function Yt(e){return Object.isExtensible(e)&&N(e,"__v_skip",!0),e}const Gt=e=>b(e)?Ft(e):e,Jt=e=>b(e)?Ht(e):e;class Zt{constructor(e,t,n,o){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Me((()=>e(this._value)),(()=>en(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=Kt(this);return e._cacheable&&!e.effect.dirty||!R(e._value,e._value=e.effect.run())||en(e,4),Qt(e),e.effect._dirtyLevel>=2&&en(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Qt(e){var t;De&&Ne&&(e=Kt(e),Ke(Ne,null!=(t=e.dep)?t:e.dep=Je((()=>e.dep=void 0),e instanceof Zt?e:void 0)))}function en(e,t=4,n){const o=(e=Kt(e)).dep;o&&Ge(o,t)}function tn(e){return!(!e||!0!==e.__v_isRef)}function nn(e){return rn(e,!1)}function on(e){return rn(e,!0)}function rn(e,t){return tn(e)?e:new sn(e,t)}class sn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Kt(e),this._value=t?e:Gt(e)}get value(){return Qt(this),this._value}set value(e){const t=this.__v_isShallow||zt(e)||qt(e);e=t?e:Kt(e),R(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Gt(e),en(this,4))}}function an(e){return tn(e)?e.value:e}const ln={get:(e,t,n)=>an(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return tn(r)&&!tn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function cn(e){return Ut(e)?e:new Proxy(e,ln)}function un(e,t,n,o){try{return o?e(...o):e()}catch(r){fn(r,t,n)}}function dn(e,t,n,o){if(m(e)){const r=un(e,t,n,o);return r&&_(r)&&r.catch((e=>{fn(e,t,n)})),r}const r=[];for(let i=0;i>>1,r=mn[o],i=On(r);iOn(e)-On(t)));if(yn.length=0,bn)return void bn.push(...e);for(bn=e,_n=0;_nnull==e.id?1/0:e.id,Ln=(e,t)=>{const n=On(e)-On(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function $n(e){gn=!1,hn=!0,mn.sort(Ln);try{for(vn=0;vnv(e)?e.trim():e))),t&&(i=n.map(j))}let l,c=r[l=P(t)]||r[l=P(O(t))];!c&&s&&(c=r[l=P($(t))]),c&&dn(c,e,6,Pn(e,c,i));const u=r[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,dn(u,e,6,Pn(e,u,i))}}function Pn(e,t,n){if(1!==n.length)return n;if(m(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const o=n[0];if(o&&f(o,"type")&&f(o,"timeStamp")&&f(o,"target")&&f(o,"currentTarget")&&f(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function Rn(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let s={},a=!1;if(!m(e)){const o=e=>{const n=Rn(e,t,!0);n&&(a=!0,c(s,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||a?(p(i)?i.forEach((e=>s[e]=null)):c(s,i),b(e)&&o.set(e,s),s):(b(e)&&o.set(e,null),null)}function Bn(e,t){return!(!e||!a(t))&&(t=t.slice(2).replace(/Once$/,""),f(e,t[0].toLowerCase()+t.slice(1))||f(e,$(t))||f(e,t))}let Nn=null,jn=null;function Mn(e){const t=Nn;return Nn=e,jn=e&&e.type.__scopeId||null,t}function In(e,t=Nn,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&zr(-1);const r=Mn(t);let i;try{i=e(...n)}finally{Mn(r),o._d&&zr(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function Vn(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[s],slots:a,attrs:c,emit:u,render:d,renderCache:f,data:p,setupState:h,ctx:g,inheritAttrs:m}=e;let v,y;const b=Mn(e);try{if(4&n.shapeFlag){const e=r||o,t=e;v=si(d.call(t,e,f,i,h,p,g)),y=c}else{const e=t;0,v=si(e.length>1?e(i,{attrs:c,slots:a,emit:u}):e(i,null)),y=t.props?c:Fn(c)}}catch(w){Hr.length=0,fn(w,e,1),v=ni(Fr)}let _=v;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=_;e.length&&7&t&&(s&&e.some(l)&&(y=Dn(y,s)),_=oi(_,y))}return n.dirs&&(_=oi(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,Mn(b),v}const Fn=e=>{let t;for(const n in e)("class"===n||"style"===n||a(n))&&((t||(t={}))[n]=e[n]);return t},Dn=(e,t)=>{const n={};for(const o in e)l(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Hn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;re.__isSuspense;const Yn=Symbol.for("v-scx");function Gn(e,t){return Qn(e,null,t)}const Jn={};function Zn(e,t,n){return Qn(e,t,n)}function Qn(e,t,{immediate:n,deep:r,flush:s,once:a,onTrack:l,onTrigger:c}=o){if(t&&a){const e=t;t=(...t)=>{e(...t),E()}}const d=pi,f=e=>!0===r?e:no(e,!1===r?1:void 0);let h,g,v=!1,y=!1;if(tn(e)?(h=()=>e.value,v=zt(e)):Ut(e)?(h=()=>f(e),v=!0):p(e)?(y=!0,v=e.some((e=>Ut(e)||zt(e))),h=()=>e.map((e=>tn(e)?e.value:Ut(e)?f(e):m(e)?un(e,d,2):void 0))):h=m(e)?t?()=>un(e,d,2):()=>(g&&g(),dn(e,d,3,[_])):i,t&&r){const e=h;h=()=>no(e())}let b,_=e=>{g=T.onStop=()=>{un(e,d,4),g=T.onStop=void 0}};if(_i){if(_=i,t?n&&dn(t,d,3,[h(),y?[]:void 0,_]):h(),"sync"!==s)return i;{const e=vr(Yn);b=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(Jn):Jn;const x=()=>{if(T.active&&T.dirty)if(t){const e=T.run();(r||v||(y?e.some(((e,t)=>R(e,w[t]))):R(e,w)))&&(g&&g(),dn(t,d,3,[e,w===Jn?void 0:y&&w[0]===Jn?[]:w,_]),w=e)}else T.run()};let S;x.allowRecurse=!!t,"sync"===s?S=x:"post"===s?S=()=>Pr(x,d&&d.suspense):(x.pre=!0,d&&(x.id=d.uid),S=()=>Tn(x));const T=new Me(h,i,S),C=Be,E=()=>{T.stop(),C&&u(C.effects,T)};return t?n?x():w=T.run():"post"===s?Pr(T.run.bind(T),d&&d.suspense):T.run(),b&&b.push(E),E}function eo(e,t,n){const o=this.proxy,r=v(e)?e.includes(".")?to(o,e):()=>o[e]:e.bind(o,o);let i;m(t)?i=t:(i=t.handler,n=t);const s=vi(this),a=Qn(r,i.bind(o),n);return s(),a}function to(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e0){if(n>=t)return e;n++}if((o=o||new Set).has(e))return e;if(o.add(e),tn(e))no(e.value,t,n,o);else if(p(e))for(let r=0;r{no(e,t,n,o)}));else if(S(e))for(const r in e)no(e[r],t,n,o);return e}function oo(e,t){if(null===Nn)return e;const n=Si(Nn)||Nn.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0})),Fo((()=>{e.isUnmounting=!0})),e}();return()=>{const r=t.default&&mo(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1)for(const e of r)if(e.type!==Fr){i=e;break}const s=Kt(e),{mode:a}=s;if(o.isLeaving)return po(i);const l=ho(i);if(!l)return po(i);const c=fo(l,s,o,n);go(l,c);const u=n.subTree,d=u&&ho(u);if(d&&d.type!==Fr&&!Jr(l,d)){const e=fo(d,s,o,n);if(go(d,e),"out-in"===a)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},po(i);"in-out"===a&&l.type!==Fr&&(e.delayLeave=(e,t,n)=>{uo(o,d)[String(d.key)]=d,e[io]=()=>{t(),e[io]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return i}}};function uo(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function fo(e,t,n,o){const{appear:r,mode:i,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),w=uo(n,e),x=(e,t)=>{e&&dn(e,o,9,t)},S=(e,t)=>{const n=t[1];x(e,t),p(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},T={mode:i,persisted:s,beforeEnter(t){let o=a;if(!n.isMounted){if(!r)return;o=m||a}t[io]&&t[io](!0);const i=w[_];i&&Jr(e,i)&&i.el[io]&&i.el[io](),x(o,[t])},enter(e){let t=l,o=c,i=u;if(!n.isMounted){if(!r)return;t=v||l,o=y||c,i=b||u}let s=!1;const a=e[so]=t=>{s||(s=!0,x(t?i:o,[e]),T.delayedLeave&&T.delayedLeave(),e[so]=void 0)};t?S(t,[e,a]):a()},leave(t,o){const r=String(e.key);if(t[so]&&t[so](!0),n.isUnmounting)return o();x(d,[t]);let i=!1;const s=t[io]=n=>{i||(i=!0,o(),x(n?g:h,[t]),t[io]=void 0,w[r]===e&&delete w[r])};w[r]=e,f?S(f,[t,s]):s()},clone:e=>fo(e,t,n,o)};return T}function po(e){if(wo(e))return(e=oi(e)).children=null,e}function ho(e){return wo(e)?e.children?e.children[0]:void 0:e}function go(e,t){6&e.shapeFlag&&e.component?go(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function mo(e,t=!1,n){let o=[],r=0;for(let i=0;i1)for(let i=0;ic({name:e.name},t,{setup:e}))():e}const yo=e=>!!e.type.__asyncLoader +/*! #__NO_SIDE_EFFECTS__ */;function bo(e){m(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:i,suspensible:s=!0,onError:a}=e;let l,c=null,u=0;const d=()=>{let e;return c||(e=c=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),a)return new Promise(((t,n)=>{a(e,(()=>t((u++,c=null,d()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t))))};return vo({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=pi;if(l)return()=>_o(l,e);const t=t=>{c=null,fn(t,e,13,!o)};if(s&&e.suspense||_i)return d().then((t=>()=>_o(t,e))).catch((e=>(t(e),()=>o?ni(o,{error:e}):null)));const a=nn(!1),u=nn(),f=nn(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=i&&setTimeout((()=>{if(!a.value&&!u.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),u.value=e}}),i),d().then((()=>{a.value=!0,e.parent&&wo(e.parent.vnode)&&(e.parent.effect.dirty=!0,Tn(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>a.value&&l?_o(l,e):u.value&&o?ni(o,{error:u.value}):n&&!f.value?ni(n):void 0}})}function _o(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,s=ni(e,o,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const wo=e=>e.type.__isKeepAlive;class xo{constructor(e){this.max=e,this._cache=new Map,this._keys=new Set,this._max=parseInt(e,10)}get(e){const{_cache:t,_keys:n,_max:o}=this,r=t.get(e);if(r)n.delete(e),n.add(e);else if(n.add(e),o&&n.size>o){const e=n.values().next().value;this.pruneCacheEntry(t.get(e)),this.delete(e)}return r}set(e,t){this._cache.set(e,t)}delete(e){this._cache.delete(e),this._keys.delete(e)}forEach(e,t){this._cache.forEach(e.bind(t))}}const So={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number],matchBy:{type:String,default:"name"},cache:Object},setup(e,{slots:t}){const n=hi(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const r=e.cache||new xo(e.max);r.pruneCacheEntry=s;let i=null;function s(t){var o;!i||!Jr(t,i)||"key"===e.matchBy&&t.key!==i.key?($o(o=t),u(o,n,a,!0)):i&&$o(i)}const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,f=d("div");function p(t){r.forEach(((n,o)=>{const i=Po(n,e.matchBy);!i||t&&t(i)||(r.delete(o),s(n))}))}o.activate=(e,t,n,o,r)=>{const i=e.component;if(i.ba){const e=i.isDeactivated;i.isDeactivated=!1,B(i.ba),i.isDeactivated=e}c(e,t,n,0,a),l(i.vnode,e,t,n,i,a,o,e.slotScopeIds,r),Pr((()=>{i.isDeactivated=!1,i.a&&B(i.a);const t=e.props&&e.props.onVnodeMounted;t&&ui(t,i.parent,e)}),a)},o.deactivate=e=>{const t=e.component;t.bda&&Ro(t.bda),c(e,f,null,1,a),Pr((()=>{t.bda&&t.bda.forEach((e=>e.__called=!1)),t.da&&B(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&ui(n,t.parent,e),t.isDeactivated=!0}),a)},Zn((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&p((t=>Co(e,t))),t&&p((e=>!Co(t,e)))}),{flush:"post",deep:!0});let h=null;const g=()=>{null!=h&&r.set(h,Ao(n.subTree))};return Mo(g),Vo(g),Fo((()=>{r.forEach(((t,o)=>{r.delete(o),s(t);const{subTree:i,suspense:a}=n,l=Ao(i);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&B(l.component.bda),$o(l);const e=l.component.da;e&&Pr(e,a)}}))})),()=>{if(h=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!Gr(o)||!(4&o.shapeFlag)&&!Kn(o.type))return i=null,o;let s=Ao(o);const a=s.type,l=Po(s,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!Co(c,l))||u&&l&&Co(u,l))return i=s,o;const d=null==s.key?a:s.key,f=r.get(d);return s.el&&(s=oi(s),Kn(o.type)&&(o.ssContent=s)),h=d,f&&(s.el=f.el,s.component=f.component,s.transition&&go(s,s.transition),s.shapeFlag|=512),s.shapeFlag|=256,i=s,Kn(o.type)?o:s}}},To=So;function Co(e,t){return p(e)?e.some((e=>Co(e,t))):v(e)?e.split(",").includes(t):"[object RegExp]"===x(e)&&e.test(t)}function Eo(e,t){Oo(e,"a",t)}function ko(e,t){Oo(e,"da",t)}function Oo(e,t,n=pi){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,Bo(t,o,n),n){let e=n.parent;for(;e&&e.parent;)wo(e.parent.vnode)&&Lo(o,t,n,e),e=e.parent}}function Lo(e,t,n,o){const r=Bo(t,e,o,!0);Do((()=>{u(o[t],r)}),n)}function $o(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ao(e){return Kn(e.type)?e.ssContent:e}function Po(e,t){if("name"===t){const t=e.type;return Ti(yo(e)?t.__asyncResolved||{}:t)}return String(e.key)}function Ro(e){for(let t=0;t-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return["onLoad","onShow"].indexOf(e)>-1}(e))){const o=n.proxy;dn(t.bind(o),n,e,"onLoad"===e?[o.$page.options]:[])}}const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Ue();const r=vi(n),i=dn(t,n,e,o);return r(),qe(),i});return o?i.unshift(s):i.push(s),s}var r}const No=e=>(t,n=pi)=>(!_i||"sp"===e)&&Bo(e,((...e)=>t(...e)),n),jo=No("bm"),Mo=No("m"),Io=No("bu"),Vo=No("u"),Fo=No("bum"),Do=No("um"),Ho=No("sp"),Wo=No("rtg"),Uo=No("rtc");function qo(e,t=pi){Bo("ec",e,t)}function zo(e,t,n,o){let r;const i=n&&n[o];if(p(e)||v(e)){r=new Array(e.length);for(let n=0,o=e.length;nt(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,s=n.length;o!Gr(e)||e.type!==Fr&&!(e.type===Ir&&!Ko(e.children))))?e:null}const Yo=e=>{if(!e)return null;if(bi(e)){return Si(e)||e.proxy}return Yo(e.parent)},Go=c(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Yo(e.parent),$root:e=>Yo(e.root),$emit:e=>e.emit,$options:e=>rr(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,Tn(e.update)})(e)),$nextTick:e=>e.n||(e.n=Sn.bind(e.proxy)),$watch:e=>eo.bind(e)}),Jo=(e,t)=>e!==o&&!e.__isScriptSetup&&f(e,t),Zo={get({_:e},t){const{ctx:n,setupState:r,data:i,props:s,accessCache:a,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=a[t];if(void 0!==l)switch(l){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(Jo(r,t))return a[t]=1,r[t];if(i!==o&&f(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&f(u,t))return a[t]=3,s[t];if(n!==o&&f(n,t))return a[t]=4,n[t];er&&(a[t]=0)}}const d=Go[t];let p,h;return d?("$attrs"===t&&tt(e,0,t),d(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==o&&f(n,t)?(a[t]=4,n[t]):(h=c.config.globalProperties,f(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return Jo(i,t)?(i[t]=n,!0):r!==o&&f(r,t)?(r[t]=n,!0):!f(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},a){let l;return!!n[a]||e!==o&&f(e,a)||Jo(t,a)||(l=s[0])&&f(l,a)||f(r,a)||f(Go,a)||f(i.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:f(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Qo(e){return p(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let er=!0;function tr(e){const t=rr(e),n=e.proxy,o=e.ctx;er=!1,t.beforeCreate&&nr(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:a,watch:l,provide:c,inject:u,created:d,beforeMount:f,mounted:h,beforeUpdate:g,updated:v,activated:y,deactivated:_,beforeDestroy:w,beforeUnmount:x,destroyed:S,unmounted:T,render:C,renderTracked:E,renderTriggered:k,errorCaptured:O,serverPrefetch:L,expose:$,inheritAttrs:A,components:P,directives:R,filters:B}=t;if(u&&function(e,t,n=i){p(e)&&(e=lr(e));for(const o in e){const n=e[o];let r;r=b(n)?"default"in n?vr(n.from||o,n.default,!0):vr(n.from||o):vr(n),tn(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[o]=r}}(u,o,null),a)for(const i in a){const e=a[i];m(e)&&(o[i]=e.bind(n))}if(r){const t=r.call(n,n);b(t)&&(e.data=Ft(t))}if(er=!0,s)for(const p in s){const e=s[p],t=m(e)?e.bind(n,n):m(e.get)?e.get.bind(n,n):i,r=!m(e)&&m(e.set)?e.set.bind(n):i,a=Ci({get:t,set:r});Object.defineProperty(o,p,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(l)for(const i in l)or(l[i],o,n,i);if(c){const e=m(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{mr(t,e[t])}))}function N(e,t){p(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&nr(d,e,"c"),N(jo,f),N(Mo,h),N(Io,g),N(Vo,v),N(Eo,y),N(ko,_),N(qo,O),N(Uo,E),N(Wo,k),N(Fo,x),N(Do,T),N(Ho,L),p($))if($.length){const t=e.exposed||(e.exposed={});$.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});C&&e.render===i&&(e.render=C),null!=A&&(e.inheritAttrs=A),P&&(e.components=P),R&&(e.directives=R);const j=e.appContext.config.globalProperties.$applyOptions;j&&j(t,e,n)}function nr(e,t,n){dn(p(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function or(e,t,n,o){const r=o.includes(".")?to(n,o):()=>n[o];if(v(e)){const n=t[e];m(n)&&Zn(r,n)}else if(m(e))Zn(r,e.bind(n));else if(b(e))if(p(e))e.forEach((e=>or(e,t,n,o)));else{const o=m(e.handler)?e.handler.bind(n):t[e.handler];m(o)&&Zn(r,o,e)}}function rr(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:r.length||n||o?(l={},r.length&&r.forEach((e=>ir(l,e,s,!0))),ir(l,t,s)):l=t,b(t)&&i.set(t,l),l}function ir(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&ir(e,i,n,!0),r&&r.forEach((t=>ir(e,t,n,!0)));for(const s in t)if(o&&"expose"===s);else{const o=sr[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const sr={data:ar,props:dr,emits:dr,methods:ur,computed:ur,beforeCreate:cr,created:cr,beforeMount:cr,mounted:cr,beforeUpdate:cr,updated:cr,beforeDestroy:cr,beforeUnmount:cr,destroyed:cr,unmounted:cr,activated:cr,deactivated:cr,errorCaptured:cr,serverPrefetch:cr,components:ur,directives:ur,watch:function(e,t){if(!e)return t;if(!t)return e;const n=c(Object.create(null),e);for(const o in t)n[o]=cr(e[o],t[o]);return n},provide:ar,inject:function(e,t){return ur(lr(e),lr(t))}};function ar(e,t){return t?e?function(){return c(m(e)?e.call(this,this):e,m(t)?t.call(this,this):t)}:t:e}function lr(e){if(p(e)){const t={};for(let n=0;n(i.has(e)||(e&&m(e.install)?(i.add(e),e.install(a,...t)):m(e)&&(i.add(e),e(a,...t))),a),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),a),component:(e,t)=>t?(r.components[e]=t,a):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,a):r.directives[e],mount(i,l,c){if(!s){const u=ni(n,o);return u.appContext=r,!0===c?c="svg":!1===c&&(c=void 0),l&&t?t(u,i):e(u,i,c),s=!0,a._container=i,i.__vue_app__=a,a._instance=u.component,Si(u.component)||u.component.proxy}},unmount(){s&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,a),runWithContext(e){const t=gr;gr=a;try{return e()}finally{gr=t}}};return a}}let gr=null;function mr(e,t){if(pi){let n=pi.provides;const o=pi.parent&&pi.parent.provides;o===n&&(n=pi.provides=Object.create(o)),n[e]=t,"app"===pi.type.mpType&&pi.appContext.app.provide(e,t)}else;}function vr(e,t,n=!1){const o=pi||Nn;if(o||gr){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:gr._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&m(t)?t.call(o&&o.proxy):t}}function yr(e,t,n,r){const[i,s]=e.propsOptions;let a,l=!1;if(t)for(let o in t){if(C(o))continue;const c=t[o];let u;i&&f(i,u=O(o))?s&&s.includes(u)?(a||(a={}))[u]=c:n[u]=c:Bn(e.emitsOptions,o)||o in r&&c===r[o]||(r[o]=br(e,o,c),l=!0)}if(s){const t=Kt(n),r=a||o;for(let o=0;o{d=!0;const[n,o]=wr(e,t,!0);c(l,n),o&&u.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!a&&!d)return b(e)&&i.set(e,r),r;if(p(a))for(let r=0;r-1,n[1]=o<0||t-1||f(n,"default"))&&u.push(e)}}}const h=[l,u];return b(e)&&i.set(e,h),h}function xr(e){return"$"!==e[0]&&!C(e)}function Sr(e){if(null===e)return"null";if("function"==typeof e)return e.name||"";if("object"==typeof e){return e.constructor&&e.constructor.name||""}return""}function Tr(e,t){return Sr(e)===Sr(t)}function Cr(e,t){return p(t)?t.findIndex((t=>Tr(t,e))):m(t)&&Tr(t,e)?0:-1}const Er=e=>"_"===e[0]||"$stable"===e,kr=e=>p(e)?e.map(si):[si(e)],Or=(e,t,n)=>{if(t._n)return t;const o=In(((...e)=>kr(t(...e))),n);return o._c=!1,o},Lr=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Er(r))continue;const n=e[r];if(m(n))t[r]=Or(0,n,o);else if(null!=n){const e=kr(n);t[r]=()=>e}}},$r=(e,t)=>{const n=kr(t);e.slots.default=()=>n};function Ar(e,t,n,r,i=!1){if(p(e))return void e.forEach(((e,o)=>Ar(e,t&&(p(t)?t[o]:t),n,r,i)));if(yo(r)&&!i)return;const s=4&r.shapeFlag?Si(r.component)||r.component.proxy:r.el,a=i?null:s,{i:l,r:c}=e,d=t&&t.r,h=l.refs===o?l.refs={}:l.refs,g=l.setupState;if(null!=d&&d!==c&&(v(d)?(h[d]=null,f(g,d)&&(g[d]=null)):tn(d)&&(d.value=null)),m(c))un(c,l,12,[a,h]);else{const t=v(c),o=tn(c);if(t||o){const r=()=>{if(e.f){const n=t?f(g,c)?g[c]:h[c]:c.value;i?p(n)&&u(n,s):p(n)?n.includes(s)||n.push(s):t?(h[c]=[s],f(g,c)&&(g[c]=h[c])):(c.value=[s],e.k&&(h[e.k]=c.value))}else t?(h[c]=a,f(g,c)&&(g[c]=a)):o&&(c.value=a,e.k&&(h[e.k]=a))};a?(r.id=-1,Pr(r,n)):r()}}}const Pr=function(e,t){var n;t&&t.pendingBranch?p(e)?t.effects.push(...e):t.effects.push(e):(p(n=e)?yn.push(...n):bn&&bn.includes(n,n.allowRecurse?_n+1:_n)||yn.push(n),Cn())};function Rr(e){return function(e,t){I().__VUE__=!0;const{insert:n,remove:s,patchProp:a,forcePatchProp:l,createElement:u,createText:d,createComment:p,setText:h,setElementText:g,parentNode:m,nextSibling:v,setScopeId:y=i,insertStaticContent:b}=e,w=(e,t,n,o=null,r=null,i=null,s,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Jr(e,t)&&(o=te(e),G(e,r,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Vr:x(e,t,n,o);break;case Fr:S(e,t,n,o);break;case Dr:null==e&&T(t,n,o,s);break;case Ir:F(e,t,n,o,r,i,s,a,l);break;default:1&d?L(e,t,n,o,r,i,s,a,l):6&d?D(e,t,n,o,r,i,s,a,l):(64&d||128&d)&&c.process(e,t,n,o,r,i,s,a,l,re)}null!=u&&r&&Ar(u,e&&e.ref,i,t||e,!t)},x=(e,t,o,r)=>{if(null==e)n(t.el=d(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&h(n,t.children)}},S=(e,t,o,r)=>{null==e?n(t.el=p(t.children||""),o,r):t.el=e.el},T=(e,t,n,o)=>{[e.el,e.anchor]=b(e.children,t,n,o,e.el,e.anchor)},E=({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=v(e),n(e,o,r),e=i;n(t,o,r)},k=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=v(e),s(e),e=n;s(t)},L=(e,t,n,o,r,i,s,a,l)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?A(t,n,o,r,i,s,a,l):j(e,t,r,i,s,a,l)},A=(e,t,o,r,i,s,l,c)=>{let d,f;const{props:p,shapeFlag:h,transition:m,dirs:v}=e;if(d=e.el=u(e.type,s,p&&p.is,p),8&h?g(d,e.children):16&h&&R(e.children,d,null,r,i,Br(e,s),l,c),v&&ro(e,null,r,"created"),P(d,e,e.scopeId,l,r),p){for(const t in p)"value"===t||C(t)||a(d,t,null,p[t],s,e.children,r,i,ee);"value"in p&&a(d,"value",null,p.value,s),(f=p.onVnodeBeforeMount)&&ui(f,r,e)}Object.defineProperty(d,"__vueParentComponent",{value:r,enumerable:!1}),v&&ro(e,null,r,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(i,m);y&&m.beforeEnter(d),n(d,t,o),((f=p&&p.onVnodeMounted)||y||v)&&Pr((()=>{f&&ui(f,r,e),y&&m.enter(d),v&&ro(e,null,r,"mounted")}),i)},P=(e,t,n,o,r)=>{if(n&&y(e,n),o)for(let i=0;i{for(let c=l;c{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:f,dirs:p}=t;d|=16&e.patchFlag;const h=e.props||o,m=t.props||o;let v;if(n&&Nr(n,!1),(v=m.onVnodeBeforeUpdate)&&ui(v,n,t,e),p&&ro(t,e,n,"beforeUpdate"),n&&Nr(n,!0),f?M(e.dynamicChildren,f,u,n,r,Br(t,i),s):c||z(e,t,u,null,n,r,Br(t,i),s,!1),d>0){if(16&d)V(u,t,h,m,n,r,i);else if(2&d&&h.class!==m.class&&a(u,"class",null,m.class,i),4&d&&a(u,"style",h.style,m.style,i),8&d){const o=t.dynamicProps;for(let t=0;t{v&&ui(v,n,t,e),p&&ro(t,e,n,"updated")}),r)},M=(e,t,n,o,r,i,s)=>{for(let a=0;a{if(n!==r){if(n!==o)for(const o in n)C(o)||o in r||a(e,o,n[o],null,c,t.children,i,s,ee);for(const o in r){if(C(o))continue;const u=r[o],d=n[o];(u!==d&&"value"!==o||l&&l(e,o))&&a(e,o,d,u,c,t.children,i,s,ee)}"value"in r&&a(e,"value",n.value,r.value,c)}},F=(e,t,o,r,i,s,a,l,c)=>{const u=t.el=e?e.el:d(""),f=t.anchor=e?e.anchor:d("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(n(u,o,r),n(f,o,r),R(t.children||[],o,f,i,s,a,l,c)):p>0&&64&p&&h&&e.dynamicChildren?(M(e.dynamicChildren,h,o,i,s,a,l),(null!=t.key||i&&t===i.subTree)&&jr(e,t,!0)):z(e,t,o,f,i,s,a,l,c)},D=(e,t,n,o,r,i,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,s,l):H(t,n,o,r,i,s,l):W(e,t,l)},H=(e,t,n,r,i,s,a)=>{const l=e.component=function(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||di,s={uid:fi++,vnode:e,type:r,parent:t,appContext:i,get renderer(){return"app"===r.mpType?"app":this.$pageInstance&&this.$pageInstance==s?"page":"component"},root:null,next:null,subTree:null,effect:null,update:null,scope:new je(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:wr(r,i),emitsOptions:Rn(r,i),emit:null,emitted:null,propsDefaults:o,inheritAttrs:r.inheritAttrs,ctx:o,data:o,props:o,attrs:o,slots:o,refs:o,setupState:o,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,bda:null,da:null,ba:null,a:null,rtg:null,rtc:null,ec:null,sp:null};s.ctx={_:s},s.root=t?t.root:s,s.emit=An.bind(null,s),s.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(s);return s}(e,r,i);if(wo(e)&&(l.ctx.renderer=re),function(e,t=!1){t&&mi(t);const{props:n,children:o}=e.vnode,r=bi(e);(function(e,t,n,o=!1){const r={},i={};N(i,Zr,1),e.propsDefaults=Object.create(null),yr(e,t,r,i);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);n?e.props=o?r:Dt(r):e.type.props?e.props=r:e.props=i,e.attrs=i})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Kt(t),N(t,"_",n)):Lr(t,e.slots={})}else e.slots={},t&&$r(e,t);N(e.slots,Zr,1)})(e,o);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Yt(new Proxy(e.ctx,Zo));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?function(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(tt(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,r=vi(e);Ue();const i=un(o,e,0,[e.props,n]);if(qe(),r(),_(i)){if(i.then(yi,yi),t)return i.then((n=>{wi(e,n,t)})).catch((t=>{fn(t,e,0)}));e.asyncDep=i}else wi(e,i,t)}else xi(e,t)}(e,t):void 0;t&&mi(!1)}(l),l.asyncDep){if(i&&i.registerDep(l,U),!e.el){const e=l.subTree=ni(Fr);S(null,e,t,n)}}else U(l,e,t,n,i,s,a)},W=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||o!==s&&(o?!s||Hn(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?Hn(o,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;tvn&&mn.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},U=(e,t,n,o,r,s,a)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:i,vnode:c}=e;{const n=Mr(e);if(n)return t&&(t.el=c.el,q(e,t,a)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,d=t;Nr(e,!1),t?(t.el=c.el,q(e,t,a)):t=c,n&&B(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&ui(u,i,t,c),Nr(e,!0);const f=Vn(e),p=e.subTree;e.subTree=f,w(p,f,m(p.el),te(p),e,r,s),t.el=f.el,null===d&&function({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,f.el),o&&Pr(o,r),(u=t.props&&t.props.onVnodeUpdated)&&Pr((()=>ui(u,i,t,c)),r)}else{let i;const{el:a,props:l}=t,{bm:c,m:u,parent:d}=e,f=yo(t);if(Nr(e,!1),c&&B(c),!f&&(i=l&&l.onVnodeBeforeMount)&&ui(i,d,t),Nr(e,!0),a&&se){const n=()=>{e.subTree=Vn(e),se(a,e.subTree,e,r,null)};f?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const i=e.subTree=Vn(e);w(null,i,n,o,e,r,s),t.el=i.el}if(u&&Pr(u,r),!f&&(i=l&&l.onVnodeMounted)){const e=t;Pr((()=>ui(i,d,e)),r)}(256&t.shapeFlag||d&&yo(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&Ro(e.ba),e.a&&Pr(e.a,r)),e.isMounted=!0,t=n=o=null}},c=e.effect=new Me(l,i,(()=>Tn(u)),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,Nr(e,!0),u()},q=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,a=Kt(r),[l]=e.propsOptions;let c=!1;if(!(o||s>0)||16&s){let o;yr(e,t,r,i)&&(c=!0);for(const i in a)t&&(f(t,i)||(o=$(i))!==i&&f(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=_r(l,a,i,void 0,e,!0)):delete r[i]);if(i!==a)for(const e in i)t&&f(t,e)||(delete i[e],c=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:r,slots:i}=e;let s=!0,a=o;if(32&r.shapeFlag){const e=t._;e?n&&1===e?s=!1:(c(i,t),n||1!==e||delete i._):(s=!t.$stable,Lr(t,i)),a=t}else t&&($r(e,t),a={default:1});if(s)for(const o in i)Er(o)||null!=a[o]||delete i[o]})(e,t.children,n),Ue(),En(e),qe()},z=(e,t,n,o,r,i,s,a,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:p}=t;if(f>0){if(128&f)return void K(c,d,n,o,r,i,s,a,l);if(256&f)return void X(c,d,n,o,r,i,s,a,l)}8&p?(16&u&&ee(c,r,i),d!==c&&g(n,d)):16&u?16&p?K(c,d,n,o,r,i,s,a,l):ee(c,r,i,!0):(8&u&&g(n,""),16&p&&R(d,n,o,r,i,s,a,l))},X=(e,t,n,o,i,s,a,l,c)=>{t=t||r;const u=(e=e||r).length,d=t.length,f=Math.min(u,d);let p;for(p=0;pd?ee(e,i,s,!0,!1,f):R(t,n,o,i,s,a,l,c,f)},K=(e,t,n,o,i,s,a,l,c)=>{let u=0;const d=t.length;let f=e.length-1,p=d-1;for(;u<=f&&u<=p;){const o=e[u],r=t[u]=c?ai(t[u]):si(t[u]);if(!Jr(o,r))break;w(o,r,n,null,i,s,a,l,c),u++}for(;u<=f&&u<=p;){const o=e[f],r=t[p]=c?ai(t[p]):si(t[p]);if(!Jr(o,r))break;w(o,r,n,null,i,s,a,l,c),f--,p--}if(u>f){if(u<=p){const e=p+1,r=ep)for(;u<=f;)G(e[u],i,s,!0),u++;else{const h=u,g=u,m=new Map;for(u=g;u<=p;u++){const e=t[u]=c?ai(t[u]):si(t[u]);null!=e.key&&m.set(e.key,u)}let v,y=0;const b=p-g+1;let _=!1,x=0;const S=new Array(b);for(u=0;u=b){G(o,i,s,!0);continue}let r;if(null!=o.key)r=m.get(o.key);else for(v=g;v<=p;v++)if(0===S[v-g]&&Jr(o,t[v])){r=v;break}void 0===r?G(o,i,s,!0):(S[r-g]=u+1,r>=x?x=r:_=!0,w(o,t[r],n,null,i,s,a,l,c),y++)}const T=_?function(e){const t=e.slice(),n=[0];let o,r,i,s,a;const l=e.length;for(o=0;o>1,e[n[a]]0&&(t[o]=n[i-1]),n[i]=o)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(S):r;for(v=T.length-1,u=b-1;u>=0;u--){const e=g+u,r=t[e],f=e+1{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void Y(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void a.move(e,t,o,re);if(a===Ir){n(s,t,o);for(let e=0;el.enter(s)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,a=()=>n(s,t,o),c=()=>{e(s,(()=>{a(),i&&i()}))};r?r(s,a,c):c()}else n(s,t,o)},G=(e,t,n,o=!1,r=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:f}=e;if(null!=a&&Ar(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const p=1&u&&f,h=!yo(e);let g;if(h&&(g=s&&s.onVnodeBeforeUnmount)&&ui(g,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);p&&ro(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,re,o):c&&(i!==Ir||d>0&&64&d)?ee(c,t,n,!1,!0):(i===Ir&&384&d||!r&&16&u)&&ee(l,t,n),o&&J(e)}(h&&(g=s&&s.onVnodeUnmounted)||p)&&Pr((()=>{g&&ui(g,t,e),p&&ro(e,null,t,"unmounted")}),n)},J=e=>{const{type:t,el:n,anchor:o,transition:r}=e;if(t===Ir)return void Z(n,o);if(t===Dr)return void k(e);const i=()=>{s(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:o}=r,s=()=>t(n,i);o?o(e.el,i,s):s()}else i()},Z=(e,t)=>{let n;for(;e!==t;)n=v(e),s(e),e=n;s(t)},Q=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:s,um:a}=e;o&&B(o),r.stop(),i&&(i.active=!1,G(s,e,t,n)),a&&Pr(a,t),Pr((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},ee=(e,t,n,o=!1,r=!1,i=0)=>{for(let s=i;s6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():v(e.anchor||e.el);let ne=!1;const oe=(e,t,n)=>{null==e?t._vnode&&G(t._vnode,null,null,!0):w(t._vnode||null,e,t,null,null,null,n),ne||(ne=!0,En(),kn(),ne=!1),t._vnode=e},re={p:w,um:G,m:Y,r:J,mt:H,mc:R,pc:z,pbc:M,n:te,o:e};let ie,se;t&&([ie,se]=t(re));return{render:oe,hydrate:ie,createApp:hr(oe,ie)}}(e)}function Br({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Nr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function jr(e,t,n=!1){const o=e.children,r=t.children;if(p(o)&&p(r))for(let i=0;i0?Wr||r:null,Hr.pop(),Wr=Hr[Hr.length-1]||null,qr>0&&Wr&&Wr.push(e),e}function Kr(e,t,n,o,r,i){return Xr(ti(e,t,n,o,r,i,!0))}function Yr(e,t,n,o,r){return Xr(ni(e,t,n,o,r,!0))}function Gr(e){return!!e&&!0===e.__v_isVNode}function Jr(e,t){return e.type===t.type&&e.key===t.key}const Zr="__vInternal",Qr=({key:e})=>null!=e?e:null,ei=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?v(e)||tn(e)||m(e)?{i:Nn,r:e,k:t,f:!!n}:e:null);function ti(e,t=null,n=null,o=0,r=null,i=(e===Ir?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Qr(t),ref:t&&ei(t),scopeId:jn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Nn};return a?(li(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=v(n)?8:16),qr>0&&!s&&Wr&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Wr.push(l),l}const ni=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==Un||(e=Fr);if(Gr(e)){const o=oi(e,t,!0);return n&&li(o,n),qr>0&&!i&&Wr&&(6&o.shapeFlag?Wr[Wr.indexOf(e)]=o:Wr.push(o)),o.patchFlag|=-2,o}s=e,m(s)&&"__vccOpts"in s&&(e=e.__vccOpts);var s;if(t){t=function(e){return e?Xt(e)||Zr in e?c({},e):e:null}(t);let{class:e,style:n}=t;e&&!v(e)&&(t.class=ce(e)),b(n)&&(Xt(n)&&!p(n)&&(n=c({},n)),t.style=le(n))}const a=v(e)?1:Kn(e)?128:(e=>e.__isTeleport)(e)?64:b(e)?4:m(e)?2:0;return ti(e,t,n,o,r,a,i,!0)};function oi(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:s}=e,a=t?ci(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Qr(a),ref:t&&t.ref?n&&r?p(r)?r.concat(ei(t)):[r,ei(t)]:ei(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ir?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&oi(e.ssContent),ssFallback:e.ssFallback&&oi(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function ri(e=" ",t=0){return ni(Vr,null,e,t)}function ii(e="",t=!1){return t?(Ur(),Yr(Fr,null,e)):ni(Fr,null,e)}function si(e){return null==e||"boolean"==typeof e?ni(Fr):p(e)?ni(Ir,null,e.slice()):"object"==typeof e?ai(e):ni(Vr,null,String(e))}function ai(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:oi(e)}function li(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(p(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),li(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Zr in t?3===o&&Nn&&(1===Nn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Nn}}else m(t)?(t={default:t,_ctx:Nn},n=32):(t=String(t),64&o?(n=16,t=[ri(t)]):n=8);e.children=t,e.shapeFlag|=n}function ci(...e){const t={};for(let n=0;npi||Nn;let gi,mi;{const e=I(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach((t=>t(e))):o[0](e)}};gi=t("__VUE_INSTANCE_SETTERS__",(e=>pi=e)),mi=t("__VUE_SSR_SETTERS__",(e=>_i=e))}const vi=e=>{const t=pi;return gi(e),e.scope.on(),()=>{e.scope.off(),gi(t)}},yi=()=>{pi&&pi.scope.off(),gi(null)};function bi(e){return 4&e.vnode.shapeFlag}let _i=!1;function wi(e,t,n){m(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:b(t)&&(e.setupState=cn(t)),xi(e,n)}function xi(e,t,n){const o=e.type;e.render||(e.render=o.render||i);{const t=vi(e);Ue();try{tr(e)}finally{qe(),t()}}}function Si(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(cn(Yt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Go?Go[n](e):void 0,has:(e,t)=>t in e||t in Go}))}function Ti(e,t=!0){return m(e)?e.displayName||e.name:e.name||t&&e.__name}const Ci=(e,t)=>{const n=function(e,t,n=!1){let o,r;const s=m(e);return s?(o=e,r=i):(o=e.get,r=e.set),new Zt(o,r,s||!r,n)}(e,0,_i);return n};function Ei(e,t,n){const o=arguments.length;return 2===o?b(t)&&!p(t)?Gr(t)?ni(e,null,[t]):ni(e,t):ni(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Gr(n)&&(n=[n]),ni(e,t,n))}const ki="3.4.21",Oi="undefined"!=typeof document?document:null,Li=Oi&&Oi.createElement("template"),$i={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r="svg"===t?Oi.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Oi.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Oi.createElement(e,{is:n}):Oi.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Oi.createTextNode(e),createComment:e=>Oi.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Oi.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const s=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{Li.innerHTML="svg"===o?`${e}`:"mathml"===o?`${e}`:e;const r=Li.content;if("svg"===o||"mathml"===o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ai="transition",Pi=Symbol("_vtc"),Ri=(e,{slots:t})=>Ei(co,function(e){const t={};for(const c in e)c in Bi||(t[c]=e[c]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=s,appearToClass:d=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if(b(e))return[Mi(e.enter),Mi(e.leave)];{const t=Mi(e);return[t,t]}}(r),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:w,onLeave:x,onLeaveCancelled:S,onBeforeAppear:T=y,onAppear:C=_,onAppearCancelled:E=w}=t,k=(e,t,n)=>{Vi(e,t?d:a),Vi(e,t?u:s),n&&n()},O=(e,t)=>{e._isLeaving=!1,Vi(e,f),Vi(e,h),Vi(e,p),t&&t()},L=e=>(t,n)=>{const r=e?C:_,s=()=>k(t,e,n);Ni(r,[t,s]),Fi((()=>{Vi(t,e?l:i),Ii(t,e?d:a),ji(r)||Hi(t,o,m,s)}))};return c(t,{onBeforeEnter(e){Ni(y,[e]),Ii(e,i),Ii(e,s)},onBeforeAppear(e){Ni(T,[e]),Ii(e,l),Ii(e,u)},onEnter:L(!1),onAppear:L(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>O(e,t);Ii(e,f),document.body.offsetHeight,Ii(e,p),Fi((()=>{e._isLeaving&&(Vi(e,f),Ii(e,h),ji(x)||Hi(e,o,v,n))})),Ni(x,[e,n])},onEnterCancelled(e){k(e,!1),Ni(w,[e])},onAppearCancelled(e){k(e,!0),Ni(E,[e])},onLeaveCancelled(e){O(e),Ni(S,[e])}})}(e),t);Ri.displayName="Transition";const Bi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Ri.props=c({},lo,Bi);const Ni=(e,t=[])=>{p(e)?e.forEach((e=>e(...t))):e&&e(...t)},ji=e=>!!e&&(p(e)?e.some((e=>e.length>1)):e.length>1);function Mi(e){const t=(e=>{const t=v(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Ii(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[Pi]||(e[Pi]=new Set)).add(t)}function Vi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[Pi];n&&(n.delete(t),n.size||(e[Pi]=void 0))}function Fi(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Di=0;function Hi(e,t,n,o){const r=e._endId=++Di,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o("transitionDelay"),i=o("transitionDuration"),s=Wi(r,i),a=o("animationDelay"),l=o("animationDuration"),c=Wi(a,l);let u=null,d=0,f=0;t===Ai?s>0&&(u=Ai,d=s,f=i.length):"animation"===t?c>0&&(u="animation",d=c,f=l.length):(d=Math.max(s,c),u=d>0?s>c?Ai:"animation":null,f=u?u===Ai?i.length:l.length:0);const p=u===Ai&&/\b(transform|all)(,|$)/.test(o("transitionProperty").toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}(e,t);if(!s)return o();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{uUi(t)+Ui(e[n]))))}function Ui(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const qi=Symbol("_vod"),zi=Symbol("_vsh"),Xi={beforeMount(e,{value:t},{transition:n}){e[qi]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ki(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ki(e,!0),o.enter(e)):o.leave(e,(()=>{Ki(e,!1)})):Ki(e,t))},beforeUnmount(e,{value:t}){Ki(e,t)}};function Ki(e,t){e.style.display=t?e[qi]:"none",e[zi]=!t}const Yi=Symbol(""),Gi=/(^|;)\s*display\s*:/;const Ji=/\s*!important$/;function Zi(e,t,n){if(p(n))n.forEach((n=>Zi(e,t,n)));else if(null==n&&(n=""),n=ls(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=es[t];if(n)return n;let o=O(t);if("filter"!==o&&o in e)return es[t]=o;o=A(o);for(let r=0;re.replace(me,((e,t)=>{if(!t)return e;if(1===ss)return`${t}${is}`;const n=function(e,t){const n=Math.pow(10,t+1),o=Math.floor(e*n);return 10*Math.round(o/10)/n}(parseFloat(t)*ss,as);return 0===n?"0":`${n}${is}`})));var is,ss,as;const ls=e=>v(e)?rs(e):e,cs="http://www.w3.org/1999/xlink";const us=Symbol("_vei");function ds(e,t,n,o,r=null){const i=e[us]||(e[us]={}),s=i[t];if(o&&s)s.value=o;else{const[n,a]=function(e){let t;if(fs.test(e)){let n;for(t={};n=e.match(fs);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):$(e.slice(2)),t]}(t);if(o){const s=i[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const o=t&&t.proxy,r=o&&o.$nne,{value:i}=n;if(r&&p(i)){const n=gs(e,i);for(let o=0;ops||(hs.then((()=>ps=0)),ps=Date.now()))(),n}(o,r);!function(e,t,n,o){e.addEventListener(t,n,o)}(e,n,s,a)}else s&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,s,a),i[t]=void 0)}}const fs=/(?:Once|Passive|Capture)$/;let ps=0;const hs=Promise.resolve();function gs(e,t){if(p(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>{const t=t=>!t._stopped&&e&&e(t);return t.__wwe=e.__wwe,t}))}return t}const ms=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const vs=["ctrl","shift","alt","meta"],ys={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>vs.some((n=>e[`${n}Key`]&&!t.includes(n)))},bs=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(n,...o)=>{for(let e=0;e{if(0===t.indexOf("change:"))return function(e,t,n,o=null){if(!n||!o)return;const r=t.replace("change:",""),{attrs:i}=o,s=i[r],a=(e.__wxsProps||(e.__wxsProps={}))[r];if(a===s)return;e.__wxsProps[r]=s;const l=o.proxy;Sn((()=>{n(s,a,l.$gcd(l,!0),l.$gcd(l,!1))}))}(e,t,o,s);const d="svg"===r;"class"===t?function(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:r}=e;r&&r.length&&(t=(t||"").split(/\s+/).filter((e=>-1===r.indexOf(e))).join(" "),r.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const i=e[Pi];i&&(t=(t?[t,...i]:[...i]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,d):"style"===t?function(e,t,n){const o=e.style,r=v(n);let i=!1;if(n&&!r){if(t)if(v(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&Zi(o,t,"")}else for(const e in t)null==n[e]&&Zi(o,e,"");for(const e in n)"display"===e&&(i=!0),Zi(o,e,n[e])}else if(r){if(t!==n){const e=o[Yi];e&&(n+=";"+e),o.cssText=n,i=Gi.test(n)}}else t&&e.removeAttribute("style");qi in e&&(e[qi]=i?o.display:"",e[zi]&&(o.display="none"));const{__wxsStyle:s}=e;if(s)for(const a in s)Zi(o,a,s[a])}(e,n,o):a(t)?l(t)||ds(e,t,0,o,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&ms(t)&&m(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(ms(t)&&v(n))return!1;return t in e}(e,t,o,d))?function(e,t,n,o,r,i,s){if("innerHTML"===t||"textContent"===t)return o&&s(o,r,i),void(e[t]=null==n?"":n);const a=e.tagName;if("value"===t&&"PROGRESS"!==a&&!a.includes("-")){const o=null==n?"":n;return("OPTION"===a?e.getAttribute("value")||"":e.value)===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let l=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=z(n):null==n&&"string"===o?(n="",l=!0):"number"===o&&(n=0,l=!0)}try{e[t]=n}catch(c){}l&&e.removeAttribute(t)}(e,t,o,i,s,c,u):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,r){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(cs,t.slice(6,t.length)):e.setAttributeNS(cs,t,n);else{const o=q(t);null==n||o&&!z(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,d))},forcePatchProp:(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0))},$i);let ws;const xs=(...e)=>{const t=(ws||(ws=Rr(_s))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(v(e)){return document.querySelector(e)}return e} +/*! + * vue-router v4.4.4 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */(e);if(!o)return;const r=t._component;m(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};const Ss="undefined"!=typeof document;function Ts(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const Cs=Object.assign;function Es(e,t){const n={};for(const o in t){const r=t[o];n[o]=Os(r)?r.map(e):e(r)}return n}const ks=()=>{},Os=Array.isArray,Ls=/#/g,$s=/&/g,As=/\//g,Ps=/=/g,Rs=/\?/g,Bs=/\+/g,Ns=/%5B/g,js=/%5D/g,Ms=/%5E/g,Is=/%60/g,Vs=/%7B/g,Fs=/%7C/g,Ds=/%7D/g,Hs=/%20/g;function Ws(e){return encodeURI(""+e).replace(Fs,"|").replace(Ns,"[").replace(js,"]")}function Us(e){return Ws(e).replace(Bs,"%2B").replace(Hs,"+").replace(Ls,"%23").replace($s,"%26").replace(Is,"`").replace(Vs,"{").replace(Ds,"}").replace(Ms,"^")}function qs(e){return null==e?"":function(e){return Ws(e).replace(Ls,"%23").replace(Rs,"%3F")}(e).replace(As,"%2F")}function zs(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Xs=/\/$/;function Ks(e,t,n="/"){let o,r={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),r=e(i)),a>-1&&(o=o||t.slice(0,a),s=t.slice(a,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];".."!==r&&"."!==r||o.push("");let i,s,a=n.length-1;for(i=0;i1&&a--}return n.slice(0,a).join("/")+"/"+o.slice(i).join("/")}(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+s,path:o,query:r,hash:zs(s)}}function Ys(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Gs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Js(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Zs(e[n],t[n]))return!1;return!0}function Zs(e,t){return Os(e)?Qs(e,t):Os(t)?Qs(t,e):e===t}function Qs(e,t){return Os(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}const ea={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var ta,na,oa,ra;function ia(e){if(!e)if(Ss){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Xs,"")}(na=ta||(ta={})).pop="pop",na.push="push",(ra=oa||(oa={})).back="back",ra.forward="forward",ra.unknown="";const sa=/^[^#]+#/;function aa(e,t){return e.replace(sa,"#")+t}const la=()=>({left:window.scrollX,top:window.scrollY});function ca(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function ua(e,t){return(history.state?history.state.position-t:-1)+e}const da=new Map;function fa(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let t=r.includes(e.slice(i))?e.slice(i).length:1,n=r.slice(t);return"/"!==n[0]&&(n="/"+n),Ys(n,"")}return Ys(n,e)+o+r}function pa(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?la():null}}function ha(e){const{history:t,location:n}=window,o={value:fa(e,n)},r={value:t.state};function i(o,i,s){const a=e.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+o:location.protocol+"//"+location.host+e+o;try{t[s?"replaceState":"pushState"](i,"",l),r.value=i}catch(c){console.error(c),n[s?"replace":"assign"](l)}}return r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const s=Cs({},r.value,t.state,{forward:e,scroll:la()});i(s.current,s,!0),i(e,Cs({},pa(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){i(e,Cs({},t.state,pa(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function ga(e){const t=ha(e=ia(e)),n=function(e,t,n,o){let r=[],i=[],s=null;const a=({state:i})=>{const a=fa(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=a,t.value=i,s&&s===l)return void(s=null);u=c?i.position-c.position:0}else o(a);r.forEach((e=>{e(n.value,l,{delta:u,type:ta.pop,direction:u?u>0?oa.forward:oa.back:oa.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(Cs({},e.state,{scroll:la()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){s=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=Cs({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:aa.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function ma(e){return"string"==typeof e||"symbol"==typeof e}const va=Symbol("");var ya,ba;function _a(e,t){return Cs(new Error,{type:e,[va]:!0},t)}function wa(e,t){return e instanceof Error&&va in e&&(null==t||!!(e.type&t))}(ba=ya||(ya={}))[ba.aborted=4]="aborted",ba[ba.cancelled=8]="cancelled",ba[ba.duplicated=16]="duplicated";const xa={sensitive:!1,strict:!1,start:!0,end:!0},Sa=/[.+*?^${}()[\]/\\]/g;function Ta(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function Ca(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const ka={type:0,value:""},Oa=/[a-zA-Z0-9_]/;function La(e,t,n){const o=function(e,t){const n=Cs({},xa,t),o=[];let r=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(r+="/");for(let t=0;t1&&("*"===a||"+"===a)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),c="")}function f(){c+=a}for(;l{i(f)}:ks}function i(e){if(ma(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function s(e){const t=function(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;Ca(e,t[r])<0?o=r:n=r+1}const r=function(e){let t=e;for(;t=t.parent;)if(ja(t)&&0===Ca(e,t))return t;return}(e);r&&(o=t.lastIndexOf(r,o-1));return o}(e,n);n.splice(t,0,e),e.record.name&&!Ra(e)&&o.set(e.record.name,e)}return t=Na({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,i,s,a={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw _a(1,{location:e});s=r.record.name,a=Cs(Aa(t.params,r.keys.filter((e=>!e.optional)).concat(r.parent?r.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&Aa(e.params,r.keys.map((e=>e.name)))),i=r.stringify(a)}else if(null!=e.path)i=e.path,r=n.find((e=>e.re.test(i))),r&&(a=r.parse(i),s=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw _a(1,{location:e,currentLocation:t});s=r.record.name,a=Cs({},t.params,e.params),i=r.stringify(a)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:i,params:a,matched:l,meta:Ba(l)}},removeRoute:i,clearRoutes:function(){n.length=0,o.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function Aa(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Pa(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]="object"==typeof n?n[o]:n;return t}function Ra(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ba(e){return e.reduce(((e,t)=>Cs(e,t.meta)),{})}function Na(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function ja({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ma(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&Us(e))):[o&&Us(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Va(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=Os(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const Fa=Symbol(""),Da=Symbol(""),Ha=Symbol(""),Wa=Symbol(""),Ua=Symbol("");function qa(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function za(e,t,n,o,r,i=(e=>e())){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((a,l)=>{const c=e=>{var i;!1===e?l(_a(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(_a(2,{from:t,to:e})):(s&&o.enterCallbacks[r]===s&&"function"==typeof e&&s.push(e),a())},u=i((()=>e.call(o&&o.instances[r],t,n,c)));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch((e=>l(e)))}))}function Xa(e,t,n,o,r=(e=>e())){const i=[];for(const s of e)for(const e in s.components){let a=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if(Ts(a)){const l=(a.__vccOpts||a)[t];l&&i.push(za(l,n,o,s,e,r))}else{let l=a();i.push((()=>l.then((i=>{if(!i)throw new Error(`Couldn't resolve component "${e}" at "${s.path}"`);const a=(l=i).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&Ts(l.default)?i.default:i;var l;s.mods[e]=i,s.components[e]=a;const c=(a.__vccOpts||a)[t];return c&&za(c,n,o,s,e,r)()}))))}}return i}function Ka(e){const t=vr(Ha),n=vr(Wa),o=Ci((()=>{const n=an(e.to);return t.resolve(n)})),r=Ci((()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const s=i.findIndex(Gs.bind(null,r));if(s>-1)return s;const a=Ga(e[t-2]);return t>1&&Ga(r)===a&&i[i.length-1].path!==a?i.findIndex(Gs.bind(null,e[t-2])):s})),i=Ci((()=>r.value>-1&&function(e,t){for(const n in t){const o=t[n],r=e[n];if("string"==typeof o){if(o!==r)return!1}else if(!Os(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(n.params,o.value.params))),s=Ci((()=>r.value>-1&&r.value===n.matched.length-1&&Js(n.params,o.value.params)));return{route:o,href:Ci((()=>o.value.href)),isActive:i,isExactActive:s,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[an(e.replace)?"replace":"push"](an(e.to)).catch(ks):Promise.resolve()}}}const Ya=vo({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ka,setup(e,{slots:t}){const n=Ft(Ka(e)),{options:o}=vr(Ha),r=Ci((()=>({[Ja(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Ja(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ei("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function Ga(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ja=(e,t,n)=>null!=e?e:null!=t?t:n;function Za(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Qa=vo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=vr(Ua),r=Ci((()=>e.route||o.value)),i=vr(Da,0),s=Ci((()=>{let e=an(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),a=Ci((()=>r.value.matched[s.value]));mr(Da,Ci((()=>s.value+1))),mr(Fa,a),mr(Ua,r);const l=nn();return Zn((()=>[l.value,a.value,e.name]),(([e,t,n],[o,r,i])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&Gs(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=r.value,i=e.name,s=a.value,c=s&&s.components[i];if(!c)return Za(n.default,{Component:c,route:o});const u=s.props[i],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,f=Ei(c,Cs({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:l}));return Za(n.default,{Component:f,route:o})||f}}});function el(e){const t=$a(e.routes,e),n=e.parseQuery||Ma,o=e.stringifyQuery||Ia,r=e.history,i=qa(),s=qa(),a=qa(),l=on(ea);let c=ea;Ss&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Es.bind(null,(e=>""+e)),d=Es.bind(null,qs),f=Es.bind(null,zs);function p(e,i){if(i=Cs({},i||l.value),"string"==typeof e){const o=Ks(n,e,i.path),s=t.resolve({path:o.path},i),a=r.createHref(o.fullPath);return Cs(o,s,{params:f(s.params),hash:zs(o.hash),redirectedFrom:void 0,href:a})}let s;if(null!=e.path)s=Cs({},e,{path:Ks(n,e.path,i.path).path});else{const t=Cs({},e.params);for(const e in t)null==t[e]&&delete t[e];s=Cs({},e,{params:d(t)}),i.params=d(i.params)}const a=t.resolve(s,i),c=e.hash||"";a.params=u(f(a.params));const p=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,Cs({},e,{hash:(h=c,Ws(h).replace(Vs,"{").replace(Ds,"}").replace(Ms,"^")),path:a.path}));var h;const g=r.createHref(p);return Cs({fullPath:p,hash:c,query:o===Ia?Va(e.query):e.query||{}},a,{redirectedFrom:void 0,href:g})}function h(e){return"string"==typeof e?Ks(n,e,l.value.path):Cs({},e)}function g(e,t){if(c!==e)return _a(8,{from:t,to:e})}function m(e){return y(e)}function v(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=h(o):{path:o},o.params={}),Cs({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=c=p(e),r=l.value,i=e.state,s=e.force,a=!0===e.replace,u=v(n);if(u)return y(Cs(h(u),{state:"object"==typeof u?Cs({},i,u.state):i,force:s,replace:a}),t||n);const d=n;let f;return d.redirectedFrom=t,!s&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Gs(t.matched[o],n.matched[r])&&Js(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(f=_a(16,{to:d,from:r}),A(r,r,!0,!1)),(f?Promise.resolve(f):w(d,r)).catch((e=>wa(e)?wa(e,2)?e:$(e):L(e,d,r))).then((e=>{if(e){if(wa(e,2))return y(Cs({replace:a},h(e.to),{state:"object"==typeof e.to?Cs({},i,e.to.state):i,force:s}),t||d)}else e=S(d,r,!0,a,i);return x(d,r,e),e}))}function b(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=B.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,r,a]=function(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;sGs(e,i)))?o.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find((e=>Gs(e,a)))||r.push(a))}return[n,o,r]}(e,t);n=Xa(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(za(o,e,t))}));const l=b.bind(null,e,t);return n.push(l),j(n).then((()=>{n=[];for(const o of i.list())n.push(za(o,e,t));return n.push(l),j(n)})).then((()=>{n=Xa(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(za(o,e,t))}));return n.push(l),j(n)})).then((()=>{n=[];for(const o of a)if(o.beforeEnter)if(Os(o.beforeEnter))for(const r of o.beforeEnter)n.push(za(r,e,t));else n.push(za(o.beforeEnter,e,t));return n.push(l),j(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Xa(a,"beforeRouteEnter",e,t,_),n.push(l),j(n)))).then((()=>{n=[];for(const o of s.list())n.push(za(o,e,t));return n.push(l),j(n)})).catch((e=>wa(e,8)?e:Promise.reject(e)))}function x(e,t,n){a.list().forEach((o=>_((()=>o(e,t,n)))))}function S(e,t,n,o,i){const s=g(e,t);if(s)return s;const a=t===ea,c=Ss?history.state:{};n&&(o||a?r.replace(e.fullPath,Cs({scroll:a&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,A(e,t,n,a),$()}let T;function C(){T||(T=r.listen(((e,t,n)=>{if(!N.listening)return;const o=p(e),i=v(o);if(i)return void y(Cs(i,{replace:!0}),o).catch(ks);c=o;const s=l.value;var a,u;Ss&&(a=ua(s.fullPath,n.delta),u=la(),da.set(a,u)),w(o,s).catch((e=>wa(e,12)?e:wa(e,2)?(y(e.to,o).then((e=>{wa(e,20)&&!n.delta&&n.type===ta.pop&&r.go(-1,!1)})).catch(ks),Promise.reject()):(n.delta&&r.go(-n.delta,!1),L(e,o,s)))).then((e=>{(e=e||S(o,s,!1))&&(n.delta&&!wa(e,8)?r.go(-n.delta,!1):n.type===ta.pop&&wa(e,20)&&r.go(-1,!1)),x(o,s,e)})).catch(ks)})))}let E,k=qa(),O=qa();function L(e,t,n){$(e);const o=O.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function $(e){return E||(E=!e,C(),k.list().forEach((([t,n])=>e?n(e):t())),k.reset()),e}function A(t,n,o,r){const{scrollBehavior:i}=e;if(!Ss||!i)return Promise.resolve();const s=!o&&function(e){const t=da.get(e);return da.delete(e),t}(ua(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return Sn().then((()=>i(t,n,s))).then((e=>e&&ca(e))).catch((e=>L(e,t,n)))}const P=e=>r.go(e);let R;const B=new Set,N={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return ma(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:p,options:e,push:m,replace:function(e){return m(Cs(h(e),{replace:!0}))},go:P,back:()=>P(-1),forward:()=>P(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:O.add,isReady:function(){return E&&l.value!==ea?Promise.resolve():new Promise(((e,t)=>{k.add([e,t])}))},install(e){e.component("RouterLink",Ya),e.component("RouterView",Qa),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>an(l)}),Ss&&!R&&l.value===ea&&(R=!0,m(r.location).catch((e=>{})));const t={};for(const o in ea)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Ha,this),e.provide(Wa,Dt(t)),e.provide(Ua,l);const n=e.unmount;B.add(e),e.unmount=function(){B.delete(e),B.size<1&&(c=ea,T&&T(),T=null,l.value=ea,R=!1,E=!1),n()}}};function j(e){return e.reduce(((e,t)=>e.then((()=>_(t)))),Promise.resolve())}return N}function tl(e){return vr(Wa)}const nl=["{","}"];const ol=/^(?:\d)+/,rl=/^(?:\w)+/;const il=Object.prototype.hasOwnProperty,sl=(e,t)=>il.call(e,t),al=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=nl){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r-1?"zh-Hans":e.indexOf("-hant")>-1?"zh-Hant":(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?"zh-Hant":"zh-Hans");var n;let o=["en","fr","es"];t&&Object.keys(t).length>0&&(o=Object.keys(t));const r=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,o);return r||void 0}class cl{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||al,this.messages=n||{},this.setLocale(e||"en"),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=ll(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach((e=>{e(this.locale,t)}))}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t,n=!0){const o=this.messages[e];o?n?Object.assign(o,t):Object.keys(t).forEach((e=>{sl(o,e)||(o[e]=t[e])})):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){let o=this.message;return"string"==typeof t?(t=ll(t,this.messages))&&(o=this.messages[t]):n=t,sl(o,e)?this.formater.interpolate(o[e],n).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function ul(e,t={},n,o){if("string"!=typeof e){const n=[t,e];e=n[0],t=n[1]}"string"!=typeof e&&(e="undefined"!=typeof uni&&Du?Du():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const r=new cl({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=mp().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}(o,r))),r.t(t,n)}}return i(e,t)};return{i18n:r,f:(e,t,n)=>r.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>r.add(e,t,n),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}}const dl=fe((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let fl;function pl(){if(!fl){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,fl=ul(e),dl()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>fl.add(e,__uniConfig.locales[e]))),fl.setLocale(e)}}return fl}function hl(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const gl=fe((()=>{const e="uni.async.",t=["error"];pl().add("en",hl(e,t,["The connection timed out, click the screen to try again."]),!1),pl().add("es",hl(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),pl().add("fr",hl(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),pl().add("zh-Hans",hl(e,t,["连接服务器超时,点击屏幕重试"]),!1),pl().add("zh-Hant",hl(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),ml=fe((()=>{const e="uni.showModal.",t=["cancel","confirm"];pl().add("en",hl(e,t,["Cancel","OK"]),!1),pl().add("es",hl(e,t,["Cancelar","OK"]),!1),pl().add("fr",hl(e,t,["Annuler","OK"]),!1),pl().add("zh-Hans",hl(e,t,["取消","确定"]),!1),pl().add("zh-Hant",hl(e,t,["取消","確定"]),!1)})),vl=fe((()=>{const e="uni.video.",t=["danmu","volume"];pl().add("en",hl(e,t,["Danmu","Volume"]),!1),pl().add("es",hl(e,t,["Danmu","Volumen"]),!1),pl().add("fr",hl(e,t,["Danmu","Le Volume"]),!1),pl().add("zh-Hans",hl(e,t,["弹幕","音量"]),!1),pl().add("zh-Hant",hl(e,t,["彈幕","音量"]),!1)}));function yl(e){const t=new $e;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}let bl=1;const _l=Object.create(null);function wl(e,t){return e+"."+t}function xl(e,t,n){t=wl(e,t),_l[t]||(_l[t]=n)}function Sl({id:e,name:t,args:n},o){t=wl(o,t);const r=t=>{e&&fh.publishHandler("invokeViewApi."+e,t)},i=_l[t];i?i(n,r):r({})}const Tl=c(yl("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=fh,i=n?bl++:0;n&&o("invokeServiceApi."+i,n,!0),r("invokeServiceApi",{id:i,name:e,args:t})}}),Cl=ve(!0);let El;function kl(){El&&(clearTimeout(El),El=null)}let Ol=0,Ll=0;function $l(e){if(kl(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Ol=t,Ll=n,El=setTimeout((function(){const t=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});t.touches=e.touches,t.changedTouches=e.changedTouches,e.target.dispatchEvent(t)}),350)}function Al(e){if(!El)return;if(1!==e.touches.length)return kl();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Ol)>10||Math.abs(n-Ll)>10?kl():void 0}function Pl(e,t){const n=Number(e);return isNaN(n)?t:n}const Rl=()=>/^Apple/.test(navigator.vendor);function Bl(){const e=__uniConfig.globalStyle||{},t=Pl(e.rpxCalcMaxDeviceWidth,960),n=Pl(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=Rl()&&"number"==typeof window.orientation,t=e&&90===Math.abs(window.orientation);var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width;return e?Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n:Math.min(window.innerWidth,document.documentElement.clientWidth)}();e=e<=t?e:n,document.documentElement.style.fontSize=e/23.4375+"px"}o(),document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o),window.addEventListener("resize",o),Rl()&&window.addEventListener("orientationchange",(()=>{o(),setTimeout(o,50)}))}function Nl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var jl,Ml,Il=["top","left","right","bottom"],Vl={};function Fl(){return Ml="CSS"in window&&"function"==typeof CSS.supports?CSS.supports("top: env(safe-area-inset-top)")?"env":CSS.supports("top: constant(safe-area-inset-top)")?"constant":"":""}function Dl(){if(Ml="string"==typeof Ml?Ml:Fl()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(a){}var o=document.createElement("div");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),Il.forEach((function(e){s(o,e)})),document.body.appendChild(o),i(),jl=!0}else Il.forEach((function(e){Vl[e]=0}));function r(e,t){var n=e.style;Object.keys(t).forEach((function(e){var o=t[e];n[e]=o}))}function i(t){t?e.push(t):e.forEach((function(e){e()}))}function s(e,n){var o=document.createElement("div"),s=document.createElement("div"),a=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Ml+"(safe-area-inset-"+n+")"};r(o,c),r(s,c),r(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(a),s.appendChild(l),e.appendChild(o),e.appendChild(s),i((function(){o.scrollTop=s.scrollTop=1e4;var e=o.scrollTop,r=s.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,r=s.scrollTop,function(e){Wl.length||setTimeout((function(){var e={};Wl.forEach((function(t){e[t]=Vl[t]})),Wl.length=0,Ul.forEach((function(t){t(e)}))}),0);Wl.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(Vl,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function Hl(e){return jl||Dl(),Vl[e]}var Wl=[];var Ul=[];const ql=Nl({get support(){return 0!=("string"==typeof Ml?Ml:Fl()).length},get top(){return Hl("top")},get left(){return Hl("left")},get right(){return Hl("right")},get bottom(){return Hl("bottom")},onChange:function(e){Fl()&&(jl||Dl(),"function"==typeof e&&Ul.push(e))},offChange:function(e){var t=Ul.indexOf(e);t>=0&&Ul.splice(t,1)}}),zl=bs((()=>{}),["prevent"]),Xl=bs((e=>{}),["stop"]);function Kl(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Yl(){const e=Kl(document.documentElement.style,"--window-top");return e?e+ql.top:0}function Gl(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function Jl(e){return Symbol(e)}function Zl(e){return e.$page}function Ql(e){return 0===e.tagName.indexOf("UNI-")}function ec(){{const{$pageInstance:e}=hi();return e&&lc(e.proxy)}}function tc(){const e=Cd(),t=e.length;if(t)return e[t-1]}function nc(){var e;const t=null==(e=tc())?void 0:e.$page;if(t)return t.meta}function oc(){const e=nc();return e?e.id:-1}function rc(){const e=tc();if(e)return e.$vm}const ic=["navigationBar","pullToRefresh"];function sc(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);ic.forEach((t=>{o[t]=c({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function ac(e,t,n,o,r,i){const{id:s,route:a}=o,l=Re(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:s,path:de(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}function lc(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function cc(e,t,n){if(v(e))n=t,t=e,e=rc();else if("number"==typeof e){const t=Cd().find((t=>Zl(t).id===e));e=t?t.$vm:rc()}if(!e)return;const o=e.$[t];return"onBackPress"===t?o&&(r=o,i=n,r.map((e=>e(i)))).some((e=>!0===e)):o&&((e,t)=>{let n;for(let o=0;o{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-fc)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(fc=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(dc=setTimeout(s,300))),o=!1};return function(){clearTimeout(dc),o||requestAnimationFrame(s),o=!0}}function hc(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return hc(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r0?e.split("/"):[];return i.splice(i.length-r-1,r+1),de(i.concat(n).join("/"))}function gc(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}function mc(){Bl(),he(Ql),window.addEventListener("touchstart",$l,Cl),window.addEventListener("touchmove",Al,Cl),window.addEventListener("touchend",kl,Cl),window.addEventListener("touchcancel",kl,Cl)}class vc{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(ae(n.el))return t?n.el?[n.el]:[]:n.el;const{subTree:o}=e;if(16&o.shapeFlag){const e=o.children.filter((e=>e.el&&ae(e.el)));if(e.length>0)return t?e.map((e=>e.el)):e[0].el}return t?n.el?[n.el]:[]:n.el}(e.$),this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(e){if(!this.$el||!e)return;const t=wc(this.$el.querySelector(e));return t?yc(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let o=0;o-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];m(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&fh.publishHandler("onWxsInvokeCallMethod",{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:e,args:t})}requestAnimationFrame(e){return window.requestAnimationFrame(e)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(e,t={}){return this.$vm.$emit(e,t),this}getComputedStyle(e){if(this.$el){const t=window.getComputedStyle(this.$el);return e&&e.length?e.reduce(((e,n)=>(e[n]=t[n],e)),{}):t}return{}}setTimeout(e,t){return window.setTimeout(e,t)}clearTimeout(e){return window.clearTimeout(e)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function yc(e,t=!0){if(t&&e&&(e=se(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new vc(e)),e.$el.__wxsComponentDescriptor}function bc(e,t){return yc(e,t)}function _c(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>bc(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=se(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,bc(r,!1)]}}function wc(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function xc(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let s,a;s=ye(t?r:function(e){for(;!Ql(e);)e=e.parentElement;return e}(r)),a=ye(i);const l={type:n,timeStamp:o,target:s,detail:{},currentTarget:a};return e instanceof CustomEvent&&S(e.detail)&&(l.detail=e.detail),e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),function(e,t){c(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function Sc(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Tc(e,t){const n=[];for(let o=0;o0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Yl();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Sc(t,n)]}(i,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=Yl();i.touches=Tc(e.touches,t),i.changedTouches=Tc(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach((t=>{Object.defineProperty(i,t,{get:()=>e[t]})}))}return _c(i,t,n)||[i]},createNativeEvent:xc},Symbol.toStringTag,{value:"Module"});function Ec(e){!function(e){const t=e.globalProperties;c(t,Cc),t.$gcd=bc}(e._context.config)}let kc=1;function Oc(e){return(e||oc())+".invokeViewApi"}const Lc=c(yl("view"),{invokeOnCallback:(e,t)=>ph.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=ph,s=o?kc++:0;o&&r("invokeViewApi."+s,o,!0),i(Oc(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}=ph,a=kc++,l="invokeViewApi."+a;return r(l,n),s(Oc(o),{id:a,name:e,args:t},o),()=>{i(l)}}});function $c(e){cc(tc(),"onResize",e),ph.invokeOnCallback("onWindowResize",e)}function Ac(e){const t=tc();cc(mp(),"onShow",e),cc(t,"onShow")}function Pc(){cc(mp(),"onHide"),cc(tc(),"onHide")}const Rc=["onPageScroll","onReachBottom"];function Bc(){Rc.forEach((e=>ph.subscribe(e,function(e){return(t,n)=>{cc(parseInt(n),e,t)}}(e))))}function Nc(){!function(){const{on:e}=ph;e("onResize",$c),e("onAppEnterForeground",Ac),e("onAppEnterBackground",Pc)}(),Bc()}function jc(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new Te(this.$page.id)),e.eventChannel}}function Mc(e){e._context.config.globalProperties.getOpenerEventChannel=jc}function Ic(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Vc(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${Fu(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Fc(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){const t=o[n],s=t.option.transition,a=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],r=["width","height","left","right","top","bottom"],i=e.animates,s=e.option,a=s.transition,l={},c=[];return i.forEach((e=>{let i=e.type,s=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?s=s.map((e=>parseFloat(e)+"deg")):i.startsWith("translate")&&(s=s.map(Vc)),n.indexOf(i)>=0&&(s.length=1),c.push(`${i}(${s.join(",")})`);else if(o.concat(r).includes(s[0])){i=s[0];const e=s[1];l[i]=r.includes(i)?Vc(e):e}})),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>`${function(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace("webkit","-webkit")}(e)} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`)).join(","),l.transformOrigin=l.webkitTransformOrigin=s.transformOrigin,l}(t);Object.keys(a).forEach((t=>{e.$el.style[t]=a[t]})),n+=1,n{i()}),0)}const Dc={props:["animation"],watch:{animation:{deep:!0,handler(){Fc(this)}}},mounted(){Fc(this)}},Hc=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Dc),Wc(e)},Wc=e=>(e.__reserved=!0,e.compatConfig={MODE:3},vo(e));function Uc(e){return e.__wwe=!0,e}function qc(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=ye(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const zc={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Xc(e){const t=nn(!1);let n,o,r=!1;function i(){requestAnimationFrame((()=>{clearTimeout(o),o=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function s(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),r=!0,n=setTimeout((()=>{t.value=!0,r||i()}),parseInt(e.hoverStartTime)))}function a(){r=!1,t.value&&i()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:Uc((function(e){e.touches.length>1||s(e)})),onMousedown:Uc((function(e){r||(s(e),window.addEventListener("mouseup",l))})),onTouchend:Uc((function(){a()})),onMouseup:Uc((function(){r&&l()})),onTouchcancel:Uc((function(){r=!1,t.value=!1,clearTimeout(n)}))}}}function Kc(e,t){return v(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const Yc=Jl("uf"),Gc=Jl("ul");function Jc(e,t,n){const o=ec();n&&!e||S(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&fh.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?fh.on(r,t[r]):e&&fh.on(`uni-${r}-${o}-${e}`,t[r])}))}function Zc(e,t,n){const o=ec();n&&!e||S(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&fh.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?fh.off(r,t[r]):e&&fh.off(`uni-${r}-${o}-${e}`,t[r])}))}const Qc=Hc({name:"Button",props:{id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=nn(null),o=vr(Yc,!1),{hovering:r,binding:i}=Xc(e),s=Uc(((t,r)=>{if(e.disabled)return t.stopImmediatePropagation();r&&n.value.click();const i=e.formType;if(i){if(!o)return;"submit"===i?o.submit(t):"reset"===i&&o.reset(t)}else;})),a=vr(Gc,!1);return a&&(a.addHandler(s),Fo((()=>{a.removeHandler(s)}))),function(e,t){Jc(e.id,t),Zn((()=>e.id),((e,n)=>{Zc(n,t,!0),Jc(e,t,!0)})),Do((()=>{Zc(e.id,t)}))}(e,{"label-click":s}),()=>{const o=e.hoverClass,a=Kc(e,"disabled"),l=Kc(e,"loading"),c=Kc(e,"plain"),u=o&&"none"!==o;return ni("uni-button",ci({ref:n,onClick:s,id:e.id,class:u&&r.value?o:""},u&&i,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),eu=Jl("upm");function tu(){return vr(eu)}function nu(e){const t=function(e){return Ft(function(e){if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==Cd().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(sc(tl().meta,e)))))}(e);return mr(eu,t),t}function ou(){return tl()}function ru(){return history.state&&history.state.__id__||1}const iu=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function su(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let au=1;const lu={};function cu(e,t,n){if("number"==typeof e){const o=lu[e];if(o)return o.keepAlive||delete lu[e],o.callback(t,n)}return t}const uu="success",du="fail",fu="complete";function pu(e,t={},{beforeAll:n,beforeSuccess:o}={}){S(t)||(t={});const{success:r,fail:i,complete:s}=function(e){const t={};for(const n in e){const o=e[n];m(o)&&(t[n]=su(o),delete e[n])}return t}(t),a=m(r),l=m(i),c=m(s),u=au++;return function(e,t,n,o=!1){lu[e]={name:t,keepAlive:o,callback:n}}(u,e,(u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),m(n)&&n(u),u.errMsg===e+":ok"?(m(o)&&o(u,t),a&&r(u)):l&&i(u),c&&s(u)})),u}const hu="success",gu="fail",mu="complete",vu={},yu={};function bu(e,t){return function(n){return e(n,t)||n}}function _u(e,t,n){let o=!1;for(let r=0;re(t),catch(){}}}function wu(e,t={}){return[hu,gu,mu].forEach((n=>{const o=e[n];if(!p(o))return;const r=t[n];t[n]=function(e){_u(o,e,t).then((e=>m(r)&&r(e)||e))}})),t}function xu(e,t){const n=[];p(vu.returnValue)&&n.push(...vu.returnValue);const o=yu[e];return o&&p(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function Su(e){const t=Object.create(null);Object.keys(vu).forEach((e=>{"returnValue"!==e&&(t[e]=vu[e].slice())}));const n=yu[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function Tu(e,t,n,o){const r=Su(e);if(r&&Object.keys(r).length){if(p(r.invoke)){return _u(r.invoke,n).then((n=>t(wu(Su(e),n),...o)))}return t(wu(r,n),...o)}return t(n,...o)}function Cu(e,t){return(n={},...o)=>function(e){return!(!S(e)||![uu,du,fu].find((t=>m(e[t]))))}(n)?xu(e,Tu(e,t,c({},n),o)):xu(e,new Promise(((r,i)=>{Tu(e,t,c({},n,{success:r,fail:i}),o)})))}function Eu(e,t,n,o={}){const r=t+":fail";let i="";return i=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,cu(e,c({errMsg:i},o))}function ku(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(v(e))return e}const r=function(e,t){const n=e[0];if(!t||!t.formatArgs||!S(t.formatArgs)&&S(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i{const r=pu(e,n,o),i=ku(0,[n],0,o);return i?Eu(r,e,i):t(n,{resolve:t=>function(e,t,n){return cu(e,c(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>Eu(r,e,function(e){return!e||v(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function Lu(e,t,n,o){return Cu(e,Ou(e,t,0,o))}function $u(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=ku(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Au(e,t,n,o){return Cu(e,function(e,t,n,o){return Ou(e,t,0,o)}(e,t,0,o))}let Pu=!1,Ru=0,Bu=0,Nu=960,ju=375,Mu=750;function Iu(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:i}=function(){const e=Qd();return{platform:Ud?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:e}}();e=o,t=r,n=i}Ru=e,Bu=t,Pu="ios"===n}function Vu(e,t){const n=Number(e);return isNaN(n)?t:n}const Fu=$u(0,((e,t)=>{if(0===Ru&&(Iu(),function(){const e=__uniConfig.globalStyle||{};Nu=Vu(e.rpxCalcMaxDeviceWidth,960),ju=Vu(e.rpxCalcBaseDeviceWidth,375),Mu=Vu(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Ru;n=e===Mu||n<=Nu?n:ju;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==Bu&&Pu?.5:1),e<0?-o:o})),Du=$u(0,(()=>{const e=mp();return e&&e.$vm?e.$vm.$locale:pl().getLocale()})),Hu={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};const Wu="json",Uu=["text","arraybuffer"],qu=encodeURIComponent;ArrayBuffer,Boolean;const zu={formatArgs:{method(e,t){var n,o;t.method=(n=(e||"").toUpperCase(),o=iu,n&&-1!==o.indexOf(n)?n:o[0])},data(e,t){t.data=e||""},url(e,t){t.method===iu[0]&&S(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const i=r.split("&").filter((e=>e)),s={};i.forEach((e=>{const t=e.split("=");s[t[0]]=t[1]}));for(const a in t)if(f(t,a)){let e=t[a];null==e?e="":S(e)&&(e=JSON.stringify(e)),s[qu(a)]=qu(e)}return r=Object.keys(s).map((e=>`${e}=${s[e]}`)).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==iu[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||Wu).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Uu.indexOf(t.responseType)&&(t.responseType="text")}}},Xu={formatArgs:{header(e,t){t.header=e||{}}}};const Ku={url:{type:String,required:!0}},Yu=(Qu(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),Qu(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),nd("navigateTo")),Gu=nd("redirectTo"),Ju=nd("reLaunch"),Zu={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(Cd().length-1,e)}}};function Qu(e){return{animationType:{type:String,validator(t){if(t&&-1===e.indexOf(t))return"`"+t+"` is not supported for `animationType` (supported values are: `"+e.join("`|`")+"`)"}},animationDuration:{type:Number}}}let ed;function td(){ed=""}function nd(e){return{formatArgs:{url:od(e)},beforeAll:td}}function od(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/")||0===e.indexOf("uni:"))return e;let t="";const n=Cd();return n.length&&(t=Zl(n[n.length-1]).route),hc(t,e)}(t)).split("?")[0],r=gc(o,!0);if(!r)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if("switchTab"===e&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!v(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach((e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))})),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(ed===t&&"appLaunch"!==n.openType)return`${ed} locked`;__uniConfig.ready&&(ed=t)}else if(r.meta.isTabBar){const e=Cd(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}Boolean;const rd={beforeInvoke(){ml()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!f(t,"cancelText")){const{t:e}=pl();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!f(t,"confirmText")){const{t:e}=pl();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}};function id(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function sd(){const e=tc();if(!e)return;const t=yd(e);kd($d(t.path,t.id))}const ad=Au("redirectTo",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(bd.handledBeforeEntryPageRoutes)return sd(),ud({type:"redirectTo",url:e,isAutomatedTesting:t}).then(n).catch(o);xd.push({args:{type:"redirectTo",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,Gu);function ld(){const e=Td().keys();for(const t of e)kd(t)}const cd=Au("reLaunch",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(bd.handledBeforeEntryPageRoutes)return ld(),ud({type:"reLaunch",url:e,isAutomatedTesting:t}).then(n).catch(o);Sd.push({args:{type:"reLaunch",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,Ju);function ud({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const s=mp().$router,{path:a,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:xe(n||"")}}(t);return new Promise(((t,c)=>{const u=function(e,t){return{__id__:t||++Od,__type__:e}}(e,i);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then((i=>{if(wa(i))return c(i.message);if("switchTab"===e&&(s.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=s.currentRoute.value.meta;return e.eventChannel?o&&(Object.keys(o).forEach((t=>{e.eventChannel._addListener(t,"on",o[t])})),e.eventChannel._clearCache()):e.eventChannel=new Te(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()}))}))}function dd(){if(bd.handledBeforeEntryPageRoutes)return;bd.handledBeforeEntryPageRoutes=!0;const e=[..._d];_d.length=0,e.forEach((({args:e,resolve:t,reject:n})=>ud(e).then(t).catch(n)));const t=[...wd];wd.length=0,t.forEach((({args:e,resolve:t,reject:n})=>(function(){const e=rc();if(!e)return;const t=Td(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:kd(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,cc(e,"onHide"))}(),ud(e,function(e){const t=Td().values();for(const n of t){const t=yd(n);if(id(e,t))return n.$.__isActive=!0,t.id}}(e.url)).then(t).catch(n))));const n=[...xd];xd.length=0,n.forEach((({args:e,resolve:t,reject:n})=>(sd(),ud(e).then(t).catch(n))));const o=[...Sd];Sd.length=0,o.forEach((({args:e,resolve:t,reject:n})=>(ld(),ud(e).then(t).catch(n))))}function fd(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const pd=fd("top:env(a)"),hd=fd("top:constant(a)"),gd=(()=>pd?"env":hd?"constant":"")();function md(e){var t,n;Gl({"--window-top":(n=0,gd?`calc(${n}px + ${gd}(safe-area-inset-top))`:`${n}px`),"--window-bottom":(t=0,gd?`calc(${t}px + ${gd}(safe-area-inset-bottom))`:`${t}px`)})}const vd=new Map;function yd(e){return e.$page}const bd={handledBeforeEntryPageRoutes:!1},_d=[],wd=[],xd=[],Sd=[];function Td(){return vd}function Cd(){return Ed()}function Ed(){const e=[],t=vd.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function kd(e,t=!0){const n=vd.get(e);n.$.__isUnload=!0,cc(n,"onUnload"),vd.delete(e),t&&function(e){const t=Ad.get(e);t&&(Ad.delete(e),Pd.pruneCacheEntry(t))}(e)}let Od=ru();function Ld(e){const t=function(e){const t=tu();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),ac("navigateTo",n,{},t)}(e.$route);!function(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",e.$fontFamilySet=new Set,t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}(e,t),vd.set($d(t.path,t.id),e),1===vd.size&&setTimeout((()=>{dd()}),0)}function $d(e,t){return e+"$$"+t}const Ad=new Map,Pd={get:e=>Ad.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;Pd.forEach(((e,n)=>{const o=parseInt(n.split("$$")[1]);o&&o>t&&(Pd.delete(n),Pd.pruneCacheEntry(e),Sn((()=>{vd.forEach(((e,t)=>{e.$.isUnmounted&&vd.delete(t)}))})))}))}(e),Ad.set(e,t)},delete(e){Ad.get(e)&&Ad.delete(e)},forEach(e){Ad.forEach(e)}};function Rd(e,t){!function(e){const t=Nd(e),{body:n}=document;jd&&n.removeAttribute(jd),t&&n.setAttribute(t,""),jd=t}(e),md(),function(e){{const t="nvue-dir-"+__uniConfig.nvue["flex-direction"];e.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(t,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(t))}}(t),Vd(e,t)}function Bd(e){const t=Nd(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function Nd(e){return e.type.__scopeId}let jd;const Md=!!(()=>{let e=!1;try{const t={};Object.defineProperty(t,"passive",{get(){e=!0}}),window.addEventListener("test-passive",(()=>{}),t)}catch(t){}return e})()&&{passive:!1};let Id;function Vd(e,t){if(document.removeEventListener("touchmove",uc),Id&&document.removeEventListener("scroll",Id),t.disableScroll)return document.addEventListener("touchmove",uc,Md);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!r)return;const i={},s=yd(e.proxy).id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&fh.publishHandler("onPageScroll",{scrollTop:o},e),n&&fh.emit(e+".onPageScroll",{scrollTop:o})}}(s,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>fh.publishHandler("onReachBottom",{},s)),Id=pc(i),requestAnimationFrame((()=>document.addEventListener("scroll",Id)))}function Fd(e){const{base:t}=__uniConfig.router;return 0===de(e).indexOf(t)?de(e):t+e}function Dd(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0!==e.indexOf("./")||!e.includes("/static/")&&0!==e.indexOf("./"+(n||"assets")+"/")||(e=e.slice(1))),0===e.indexOf("/")){if(0!==e.indexOf("//"))return Fd(e.slice(1));e="https:"+e}if(te.test(e)||ne.test(e)||0===e.indexOf("blob:"))return e;const o=Ed();return o.length?Fd(hc(yd(o[o.length-1]).route,e).slice(1)):e}const Hd=navigator.userAgent,Wd=/android/i.test(Hd),Ud=/iphone|ipad|ipod/i.test(Hd),qd=Hd.match(/Windows NT ([\d|\d.\d]*)/i),zd=/Macintosh|Mac/i.test(Hd),Xd=/Linux|X11/i.test(Hd),Kd=zd&&navigator.maxTouchPoints>0,Yd=/OpenHarmony/i.test(Hd);function Gd(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Jd(e){return e&&90===Math.abs(window.orientation)}function Zd(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function Qd(){const e=Gd();if(e){const t=Zd(e,Jd(e));return Math.min(window.innerWidth,document.documentElement.clientWidth,t)||t}return Math.min(window.innerWidth,document.documentElement.clientWidth)}const ef={};function tf(e){for(const n in ef)if(f(ef,n)){if(ef[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return ef[t]=e,t}const nf=Ic(),of=Ic();const rf=Hc({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=nn(null),o=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),r=function(e,t,n){const o=Ft({width:-1,height:-1});return Zn((()=>c({},o)),(e=>t("resize",e))),()=>{const t=e.value;t&&(o.width=t.offsetWidth,o.height=t.offsetHeight,n())}}(n,t,o);return function(e,t,n,o){Eo(o),Mo((()=>{t.initial&&Sn(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,r,o),()=>ni("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[ni("div",{onScroll:r},[ni("div",null,null)],40,["onScroll"]),ni("div",{onScroll:r},[ni("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function sf(){}const af={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}};function lf(e,t,n){function o(e){const t=Ci((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",sf,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",sf,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}Zn((()=>t.value),(e=>e&&o(e)))}const cf={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},uf={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},df={aspectFit:["center center","contain"],aspectFill:["center center","cover"],widthFix:[,"100% 100%"],heightFix:[,"100% 100%"],top:["center top"],bottom:["center bottom"],center:["center center"],left:["left center"],right:["right center"],"top left":["left top"],"top right":["right top"],"bottom left":["left bottom"],"bottom right":["right bottom"]},ff=Hc({name:"Image",props:cf,setup(e,{emit:t}){const n=nn(null),o=function(e,t){const n=nn(""),o=Ci((()=>{let e="auto",o="";const r=df[t.mode];return r?(r[0]&&(o=r[0]),r[1]&&(e=r[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`})),r=Ft({rootEl:e,src:Ci((()=>t.src?Dd(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return Mo((()=>{const t=e.value;r.origWidth=t.clientWidth||0,r.origHeight=t.clientHeight||0})),r}(n,e),r=qc(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=uf[o];if(!r)return;const{origWidth:i,origHeight:s}=n,a=i&&s?i/s:0;if(!a)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=function(e){pf&&e>10&&(e=2*Math.round(e/2));return e}(r[2](c,a))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return Zn((()=>t.mode),((e,t)=>{uf[t]&&r(),uf[e]&&o()})),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let i,s;const a=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void a();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;a(u,d,l),Sn((()=>{o()})),i.draggable=t.draggable,s&&s.remove(),s=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:d})},i.onerror=t=>{a(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};Zn((()=>e.src),(e=>l(e))),Zn((()=>e.imgSrc),(e=>{!e&&s&&(s.remove(),s=null)})),Mo((()=>l(e.src))),Fo((()=>c()))}(o,e,n,i,r),()=>ni("uni-image",{ref:n},[ni("div",{style:o.modeStyle},null,4),uf[e.mode]?ni(rf,{onResize:i},null,8,["onResize"]):ni("span",null,null)],512)}});const pf="Google Inc."===navigator.vendor;const hf=ve(!0),gf=[];let mf=0,vf=!1;const yf=e=>gf.forEach((t=>t.userAction=e));function bf(){const e=Ft({userAction:!1});return Mo((()=>{!function(e={userAction:!1}){vf||(["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!mf&&yf(!0),mf++,setTimeout((()=>{!--mf&&yf(!1)}),0)}),hf)})),vf=!0);gf.push(e)}(e)})),Fo((()=>{!function(e){const t=gf.indexOf(e);t>=0&&gf.splice(t,1)}(e)})),{state:e}}function _f(e,t){const n=document.activeElement;if(!n)return t({});const o={};["input","textarea"].includes(n.tagName.toLowerCase())&&(o.start=n.selectionStart,o.end=n.selectionEnd),t(o)}function wf(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const xf=["none","text","decimal","numeric","tel","search","email","url"],Sf=c({},{name:{type:String,default:""},modelValue:{type:[String,Number]},value:{type:[String,Number]},disabled:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0},step:{type:String,default:"0.000000000000000001"},inputmode:{type:String,default:void 0,validator:e=>!!~xf.indexOf(e)},cursorColor:{type:String,default:""}},af),Tf=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function Cf(e,t,n,o,r){let i=null,s=null;s=Se((n=>{const o=r.value,s=wf(n,e.type);o&&document.activeElement===o&&s===i||(t.value=s)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),Zn((()=>e.modelValue),s),Zn((()=>e.value),s);const a=function(e,t){let n,o,r=0;const i=function(...i){const s=Date.now();clearTimeout(n),o=()=>{o=null,r=s,e.apply(this,i)},s-r{s.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return jo((()=>{s.cancel(),a.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{s.cancel(),i=t.value,a(e,t),n&&a.flush()}}}function Ef(e,t){bf();const n=Ci((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Zn((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),Mo((()=>{n.value&&Sn(o)}))}function kf(e,t,n,o){xl(oc(),"getSelectedTextRange",_f);const{fieldRef:r,state:i,trigger:s}=function(e,t,n){const o=nn(null),r=qc(t,n),i=Ci((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),s=Ci((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),a=Ci((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=Ci((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t}));let c="";c=wf(e.modelValue,e.type)||wf(e.value,e.type);const u=Ft({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:s,cursor:a});return Zn((()=>u.focus),(e=>n("update:focus",e))),Zn((()=>u.maxlength),(e=>u.value=u.value.slice(0,e)),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:a}=Cf(e,i,n,s,r);Ef(e,r),lf(0,r);const{state:l}=function(){const e=Ft({attrs:{}});return Mo((()=>{let t=hi();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}();!function(e,t){const n=vr(Yc,!1);if(!n)return;const o=hi(),r={submit(){const n=o.proxy;return[n[e],v(t)?n[t]:t.value]},reset(){v(t)?o.proxy[t]="":t.value=""}};n.addField(r),Fo((()=>{n.removeField(r)}))}("name",i),function(e,t,n,o,r,i){function s(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function a(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}Zn([()=>t.selectionStart,()=>t.selectionEnd],s),Zn((()=>t.cursor),a),Zn((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),m(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||r(e,{value:c.value,cursor:l(c)},o))};function d(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",(e=>e.stopPropagation())),c.addEventListener("focus",(function(e){t.focus=!0,o("focus",e,{value:t.value}),s(),a()})),c.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})})),c.addEventListener("input",u),c.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,d(e)})),c.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)})),c.addEventListener("compositionupdate",d)}))}(r,i,e,s,a,o);return{fieldRef:r,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:s}}const Of=fe((()=>{{const e=navigator.userAgent;let t="";const n=e.match(/OS\s([\w_]+)\slike/);if(n)t=n[1].replace(/_/g,".");else if(/Macintosh|Mac/i.test(e)&&navigator.maxTouchPoints>0){const n=e.match(/Version\/(\S*)\b/);n&&(t=n[1])}return!!t&&parseInt(t)>=16&&parseFloat(t)<17.2}}));function Lf(e,t,n,o,r){if(t.value)if("."===e.data){if("."===t.value.slice(-1))return n.value=o.value=t.value=t.value.slice(0,-1),!1;if(t.value&&!t.value.includes(".")&&t.value===o.value)return t.value+=".",r&&(r.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",r.fn)},o.addEventListener("blur",r.fn)),!1}else if("deleteContentBackward"===e.inputType&&Of()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}function $f(e){return"insertFromPaste"===e.inputType}const Af=Hc({name:"Input",props:c({},Sf,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",...Tf],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=Ci((()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":case"none":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t})),s=Ci((()=>{const t=r.indexOf(e.textContentType),n=r.indexOf($(e.textContentType));return r[-1!==t?t:-1!==n?n:0]})),a=Ci((()=>{if(void 0!==e.inputmode)return e.inputmode;if(xf.includes(e.type))return e.type;return{number:"numeric",digit:"decimal",idcard:"text"}[e.type]}));let l=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=nn(null!=t?t.toLocaleString():"");return Zn((()=>e.modelValue),(e=>{n.value=null!=e?e.toLocaleString():""})),Zn((()=>e.value),(e=>{n.value=null!=e?e.toLocaleString():""})),n}return nn("")}(e,i),c={fn:null};const u=nn(null),{fieldRef:d,state:f,scopedAttrsState:p,fixDisabledColor:h,trigger:g}=kf(e,u,t,((e,t)=>{const n=e.target;if("number"===i.value){if(c.fn&&(n.removeEventListener("blur",c.fn),c.fn=null),n.validity&&!n.validity.valid){if((!l.value||!n.value)&&"-"===e.data||"-"===l.value[0]&&"deleteContentBackward"===e.inputType)return l.value="-",t.value="",c.fn=()=>{l.value=n.value=""},n.addEventListener("blur",c.fn),!1;const o=Lf(e,l,t,n,c);return"boolean"==typeof o?o:(l.value=t.value=n.value="-"===l.value?"":l.value,!1)}{const o=Lf(e,l,t,n,c);if("boolean"==typeof o)return o;l.value=n.value}if(t.maxlength>0&&n.value.length>t.maxlength&&!$f(e))return n.value=l.value=t.value,!1}}));Zn((()=>f.value),(t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t.toString())})),Zn((()=>e.maxlength),(e=>{e=parseInt(e,10);const t=f.value.slice(0,e);t!==f.value&&(f.value=t)}));const m=["number","digit"],v=Ci((()=>m.includes(e.type)?e.step:""));function y(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),g("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),f.value=e.value}}),()=>{let t=e.disabled&&h?ni("input",{key:"disabled-input",ref:d,value:f.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:f.maxlength,step:v.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},inputmode:a.value,onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","inputmode","onFocus"]):ni("input",{key:"input",ref:d,value:f.value,onInput:bs((e=>{const t=e.target.value.toString();"number"===i.value&&f.maxlength>0&&t.length>f.maxlength?$f(e)&&(f.value=t.slice(0,f.maxlength)):0===t.length&&"insertText"===e.inputType&&"."===e.data||(f.value=t)}),["stop"]),disabled:!!e.disabled,type:i.value,maxlength:f.maxlength,step:v.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:s.value,onKeyup:y,inputmode:a.value},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return ni("uni-input",{ref:u},[ni("div",{class:"uni-input-wrapper"},[oo(ni("div",ci(p.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Xi,!(f.value.length||"-"===l.value||l.value.includes("."))]]),"search"===e.confirmType?ni("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const Pf=["class","style"],Rf=/^on[A-Z]+/,Bf=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=hi(),r=on({}),i=on({}),s=on({}),a=n.concat(Pf);return o.attrs=Ft(o.attrs),Gn((()=>{const e=(n=o.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,o])=>(a.includes(n)?e.exclude[n]=o:Rf.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e)),{exclude:{},attrs:{},listeners:{}});var n;r.value=e.attrs,i.value=e.listeners,s.value=e.exclude})),{$attrs:r,$listeners:i,$excludeAttrs:s}},Nf=Hc({name:"Refresher",props:{refreshState:{type:String,default:""},refresherHeight:{type:Number,default:0},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"}},setup(e,{slots:t}){const n=nn(null),o=Ci((()=>{const t={backgroundColor:e.refresherBackground};switch(e.refreshState){case"pulling":t.height=e.refresherHeight+"px";break;case"refreshing":t.height=e.refresherThreshold+"px",t.transition="height 0.3s";break;case"":case"refresherabort":case"restore":t.height="0px",t.transition="height 0.3s"}return t})),r=Ci((()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)}));return()=>{const{refreshState:i,refresherDefaultStyle:s,refresherThreshold:a}=e;return ni("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==s?ni("div",{class:"uni-scroll-view-refresh"},[ni("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==i?ni("svg",{key:"refresh__icon",style:{transform:"rotate("+r.value+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[ni("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null),ni("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==i?ni("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[ni("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===s?ni("div",{class:"uni-scroll-view-refresher-container",style:{height:`${a}px`}},[t.default&&t.default()]):null],4)}}}),jf=ve(!0),Mf=Hc({name:"ScrollView",compatConfig:{MODE:3},props:{direction:{type:[String],default:"vertical"},scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},showScrollbar:{type:[Boolean,String],default:!0},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n,expose:o}){const r=nn(null),i=nn(null),s=nn(null),a=nn(null),l=qc(r,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=Ci((()=>Number(e.scrollTop)||0)),n=Ci((()=>Number(e.scrollLeft)||0));return{state:Ft({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:f,realScrollY:p,_scrollLeftChanged:h,_scrollTopChanged:g}=function(e,t,n,o,r,i,s,a,l){let c=!1,u=0,d=!1,f=()=>{};const p=Ci((()=>e.scrollX)),h=Ci((()=>e.scrollY)),g=Ci((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),m=Ci((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function v(e,t){const n=s.value;let o=0,r="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?o=n.scrollLeft-e:"y"===t&&(o=n.scrollTop-e),0===o)return;let i=a.value;i.style.transition="transform .3s ease-out",i.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?r="translateX("+o+"px) translateZ(0)":"y"===t&&(r="translateY("+o+"px) translateZ(0)"),i.removeEventListener("transitionend",f),i.removeEventListener("webkitTransitionEnd",f),f=()=>x(e,t),i.addEventListener("transitionend",f),i.addEventListener("webkitTransitionEnd",f),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),i.style.transform=r,i.style.webkitTransform=r}function y(e){const n=e.target;r("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),h.value&&(n.scrollTop<=g.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+m.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),p.value&&(n.scrollLeft<=g.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+m.value>=n.scrollWidth&&t.lastScrollLeft-n.scrollLeft<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function b(t){h.value&&(e.scrollWithAnimation?v(t,"y"):s.value.scrollTop=t)}function _(t){p.value&&(e.scrollWithAnimation?v(t,"x"):s.value.scrollLeft=t)}function w(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=i.value.querySelector("#"+t);if(n){let t=s.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(p.value){let n=o.left-t.left,r=s.value.scrollLeft+n;e.scrollWithAnimation?v(r,"x"):s.value.scrollLeft=r}if(h.value){let n=o.top-t.top,r=s.value.scrollTop+n;e.scrollWithAnimation?v(r,"y"):s.value.scrollTop=r}}}}function x(e,t){a.value.style.transition="",a.value.style.webkitTransition="",a.value.style.transform="",a.value.style.webkitTransform="";let n=s.value;"x"===t?(n.style.overflowX=p.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=h.value?"auto":"hidden",n.scrollTop=e),a.value.removeEventListener("transitionend",f),a.value.removeEventListener("webkitTransitionEnd",f)}function S(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,r("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),r("refresherrefresh",{},{dy:C.y-T.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,r("refresherrestore",{},{dy:C.y-T.y})),"refresherabort"===n&&d&&(d=!1,r("refresherabort",{},{dy:C.y-T.y}))}t.refreshState=n}}let T={x:0,y:0},C={x:0,y:e.refresherThreshold};return Mo((()=>{Sn((()=>{b(n.value),_(o.value)})),w(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),y(e)},a=null,l=function(n){if(null===T)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,l=s.value;if(Math.abs(o-T.x)>Math.abs(i-T.y))if(p.value){if(0===l.scrollLeft&&o>T.x)return void(a=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&oT.y)a=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&i0&&(d=!0,r("refresherpulling",n,{deltaY:o,dy:o})))}},f=function(e){1===e.touches.length&&(T={x:e.touches[0].pageX,y:e.touches[0].pageY})},g=function(n){C={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?S("refreshing"):S("refresherabort"),T={x:0,y:0},C={x:0,y:e.refresherThreshold}};s.value.addEventListener("touchstart",f,jf),s.value.addEventListener("touchmove",l,ve(!1)),s.value.addEventListener("scroll",i,ve(!1)),s.value.addEventListener("touchend",g,jf),Fo((()=>{s.value.removeEventListener("touchstart",f),s.value.removeEventListener("touchmove",l),s.value.removeEventListener("scroll",i),s.value.removeEventListener("touchend",g)}))})),Eo((()=>{h.value&&(s.value.scrollTop=t.lastScrollTop),p.value&&(s.value.scrollLeft=t.lastScrollLeft)})),Zn(n,(e=>{b(e)})),Zn(o,(e=>{_(e)})),Zn((()=>e.scrollIntoView),(e=>{w(e)})),Zn((()=>e.refresherTriggered),(e=>{!0===e?S("refreshing"):!1===e&&S("restore")})),{realScrollX:p,realScrollY:h,_scrollTopChanged:b,_scrollLeftChanged:_}}(e,c,u,d,l,r,i,a,t),m=Ci((()=>{let e="";return f.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",p.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e})),v=Ci((()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t}));return o({$getMain:()=>i.value}),()=>{const{refresherEnabled:t,refresherBackground:o,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:d,refreshState:f}=c;return ni("uni-scroll-view",{ref:r},[ni("div",{ref:s,class:"uni-scroll-view"},[ni("div",{ref:i,style:m.value,class:v.value},[t?ni(Nf,{refreshState:f,refresherHeight:d,refresherThreshold:u,refresherDefaultStyle:l,refresherBackground:o},{default:()=>["none"==l?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,ni("div",{ref:a,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});const If={ensp:" ",emsp:" ",nbsp:" "};function Vf(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&If[t]&&" "===i&&(i=If[t]),r?(o+="n"===i?"\n":"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/ /g,If.nbsp).replace(/ /g,If.ensp).replace(/ /g,If.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split("\n")}const Ff=Hc({name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=nn(null);return()=>{const o=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Fr){let n=[];n=Vf(t.children,{space:e.space,decode:e.decode});const r=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&o.push(ri(e)),t!==r&&o.push(ni("br"))}))}else o.push(t)})),ni("uni-text",{ref:n,selectable:!!e.selectable||null},[ni("span",null,o)],8,["selectable"])}}}),Df=c({},Sf,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>Wf.concat("return").includes(e)}});let Hf=!1;const Wf=["done","go","next","search","send"];const Uf=Hc({name:"Textarea",props:Df,emits:["confirm","change","linechange",...Tf],setup(e,{emit:t,expose:n}){const o=nn(null),r=nn(null),{fieldRef:i,state:s,scopedAttrsState:a,fixDisabledColor:l,trigger:c}=kf(e,o,t),u=Ci((()=>s.value.split("\n"))),d=Ci((()=>Wf.includes(e.confirmType))),f=nn(0),p=nn(null);function h({height:e}){f.value=e}function g(e){}function m(e){"Enter"===e.key&&d.value&&e.preventDefault()}function v(t){if("Enter"===t.key&&d.value){!function(e){c("confirm",e,{value:s.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return Zn((()=>f.value),(t=>{const n=o.value,i=p.value,s=r.value;let a=parseFloat(getComputedStyle(n).lineHeight);isNaN(a)&&(a=i.offsetHeight);var l=Math.round(t/a);c("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(s.style.height=t+"px")})),function(){const e="(prefers-color-scheme: dark)";Hf=0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(e).media!==e}(),n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),s.value=e.value}}),()=>{let t=e.disabled&&l?ni("textarea",{key:"disabled-textarea",ref:i,value:s.value,tabindex:"-1",readonly:!!e.disabled,maxlength:s.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Hf},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):ni("textarea",{key:"textarea",ref:i,value:s.value,disabled:!!e.disabled,maxlength:s.maxlength,enterkeyhint:e.confirmType,inputmode:e.inputmode,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Hf},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onKeydown:m,onKeyup:v,onChange:g},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup","onChange"]);return ni("uni-textarea",{ref:o,"auto-height":e.autoHeight},[ni("div",{ref:r,class:"uni-textarea-wrapper"},[oo(ni("div",ci(a.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Xi,!s.value.length]]),ni("div",{ref:p,class:"uni-textarea-line"},[" "],512),ni("div",{class:{"uni-textarea-compute":!0,"uni-textarea-compute-auto-height":e.autoHeight}},[u.value.map((e=>ni("div",null,[e.trim()?e:"."]))),ni(rf,{initial:!0,onResize:h},null,8,["initial","onResize"])],2),"search"===e.confirmType?ni("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],8,["auto-height"])}}}),qf=Hc({name:"View",props:c({},zc),setup(e,{slots:t}){const n=nn(null),{hovering:o,binding:r}=Xc(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?ni("uni-view",ci({class:o.value?i:"",ref:n},r),[Xo(t,"default")],16):ni("uni-view",{ref:n},[Xo(t,"default")],512)}}});function zf(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function Xf(e,t,n){e&&xl(n||oc(),e,(({type:e,data:n},o)=>{t(e,n,o)}))}function Kf(e,t){e&&function(e,t){t=wl(e,t),delete _l[t]}(t||oc(),e)}let Yf=0;function Gf(e,t,n,o){m(t)&&Bo(e,t.bind(n),o)}function Jf(e,t,n){const o=e.mpType||n.$mpType;if(o&&"component"!==o&&("page"!==o||"component"!==t.renderer)&&(Object.keys(e).forEach((o=>{if(function(e,t,n=!0){return!(n&&!m(t))&&(Ee.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];p(r)?r.forEach((e=>Gf(o,e,n,t))):Gf(o,r,n,t)}})),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,cc(n,"onLoad",e),t.vapor||delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&cc(n,"onShow")}catch(r){console.error(r.message+"\n"+r.stack)}}}function Zf(e,t,n){Jf(e,t,n)}function Qf(e,t,n){return e[t]=n}function ep(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function tp(e){const t=e.config.errorHandler;return function(n,o,r){t&&t(n,o,r);const i=e._instance;if(!i||!i.proxy)throw n;i.onError?cc(i.proxy,"onError",n):pn(n,0,o&&o.$.vnode,!1)}}function np(e,t){return e?[...new Set([].concat(e,t))]:t}function op(e){const t=e.config;var n;t.errorHandler=Oe(e,tp),n=t.optionMergeStrategies,Ee.forEach((e=>{n[e]=np}));const o=t.globalProperties;o.$set=Qf,o.$applyOptions=Zf,o.$callMethod=ep,function(e){ke.forEach((t=>t(e)))}(e)}function rp(e){const t=el({history:ap(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:sp});t.beforeEach(((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(ip[n]={left:window.pageXOffset,top:window.pageYOffset}))})),e.router=t,e.use(t)}let ip=Object.create(null);const sp=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,ip[o]);if(t)return t}return{left:0,top:0};var o};function ap(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),ga(n));var n;return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Ed(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=yd(t[r]);kd($d(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const lp={install(e){op(e),Ec(e),Mc(e),e.config.warnHandler||(e.config.warnHandler=cp),rp(e)}};function cp(e,t,n){if(t){if("PageMetaHead"===t.$.type.name)return;const e=t.$.parent;if(e&&"PageMeta"===e.type.name)return}const o=[`[Vue warn]: ${e}`];n.length&&o.push("\n",n),console.warn(...o)}const up={class:"uni-async-loading"},dp=ni("i",{class:"uni-loading"},null,-1),fp=Wc({name:"AsyncLoading",render:()=>(Ur(),Yr("div",up,[dp]))});function pp(){window.location.reload()}const hp=Wc({name:"AsyncError",props:["error"],setup(){gl();const{t:e}=pl();return()=>ni("div",{class:"uni-async-error",onClick:pp},[e("uni.async.error")],8,["onClick"])}});let gp;function mp(){return gp}function vp(e){gp=e,Object.defineProperty(gp.$.ctx,"$children",{get:()=>Ed().map((e=>e.$vm))});const t=gp.$.appContext.app;t.component(fp.name)||t.component(fp.name,fp),t.component(hp.name)||t.component(hp.name,hp),function(e){e.$vm=e,e.$mpType="app";const t=nn(pl().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(gp),function(e,t){const n=e.$options||{};n.globalData=c(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(gp),Nc(),mc()}function yp(e,{type:t,clone:n,init:o,setup:r,before:i,options:s}){n&&(e=c({},e)),i&&i(e);const a=e.setup;return e.setup=(e,t)=>{const n=hi();if(o(n.proxy),r(n),a)return a(e,t)},e}function bp(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?yp(e.default,t):yp(e,t)}function _p(e,t){return bp(e,{type:"page",clone:!0,init:Ld,setup(e){e.$pageInstance=e;const t=ou(),n=_e(t.query);e.attrs.__pageQuery=n,yd(e.proxy).options=n,e.proxy.options=n;const o=tu();var r;md(),e.onReachBottom=Ft([]),e.onPageScroll=Ft([]),Zn([e.onReachBottom,e.onPageScroll],(()=>{const t=tc();e.proxy===t&&Vd(e,o)}),{once:!0}),jo((()=>{Rd(e,o)})),Mo((()=>{Bd(e);const{onReady:n}=e;n&&B(n),Tp(t)})),Oo((()=>{if(!e.__isVisible){Rd(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&B(n),Sn((()=>{Tp(t)}))}}),"ba",r),function(e,t){Oo(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&B(t)}}}));const i=lc(e.proxy);return function(e,t){fh.subscribe(wl(e,"invokeViewApi"),Sl)}(i),Fo((()=>{!function(e){fh.unsubscribe(wl(e,"invokeViewApi")),Object.keys(_l).forEach((t=>{0===t.indexOf(e+".")&&delete _l[t]}))}(i)})),n}})}function wp(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Fp(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";ph.emit("onResize",{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function xp(e){S(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&ph.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function Sp(){const{emit:e}=ph;"visible"===document.visibilityState?e("onAppEnterForeground",c({},of)):e("onAppEnterBackground")}function Tp(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&cc("onTabItemTap",{index:n,text:t,pagePath:o})}function Cp(e){e=e>0&&e<1/0?e:0;const t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=Math.floor(e%3600%60),r=(t<10?"0":"")+t;let i=(n<10?"0":"")+n+":"+((o<10?"0":"")+o);return"00"!==r&&(i=r+":"+i),i}function Ep(e,t,n,o){const r=Ft({seeking:!1,gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0,toastThin:!1}),i={x:0,y:0};let s=null;let a;return{state:r,onTouchstart:function(e){const t=e.targetTouches[0];i.x=t.pageX,i.y=t.pageY,r.gestureType="none",r.volumeOld=0},onTouchmove:function(l){function c(){l.stopPropagation(),l.preventDefault()}o.fullscreen&&c();const u=r.gestureType;if("stop"===u)return;const d=l.targetTouches[0],f=d.pageX,p=d.pageY,h=i,g=n.value;if("progress"===u?(!function(e){const n=t.currentDuration;let o=e/600*n+r.currentTimeOld;o<0?o=0:o>n&&(o=n);r.currentTimeNew=o}(f-h.x),r.seeking=!0):"volume"===u&&function(e){const t=n.value,o=r.volumeOld;let i;"number"==typeof o&&(i=o-e/200,i<0?i=0:i>1&&(i=1),clearTimeout(a),a=void 0,null==a&&(a=setTimeout((()=>{r.toastThin=!1,a=void 0}),1e3)),t.volume=i,r.volumeNew=i)}(p-h.y),"none"===u)if(Math.abs(f-h.x)>Math.abs(p-h.y)){if(!e.enableProgressGesture)return void(r.gestureType="stop");r.gestureType="progress",r.currentTimeOld=r.currentTimeNew=g.currentTime,o.fullscreen||c()}else{if(!e.pageGesture&&!e.vslideGesture)return void(r.gestureType="stop");"none"!==r.gestureType&&null!=s||(s=setTimeout((()=>{r.toastThin=!0}),500)),r.gestureType="volume",r.volumeOld=g.volume,o.fullscreen||c()}},onTouchend:function(e){const t=n.value;"none"!==r.gestureType&&"stop"!==r.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===r.gestureType&&r.currentTimeOld!==r.currentTimeNew&&(t.currentTime=r.currentTimeNew),r.gestureType="none"}}}function kp(e,t,n,o,r,i,s,a){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:r,playbackRate:i,requestFullScreen:s,exitFullScreen:a};!function(e,t,n,o){const r=hi().proxy;o=null==o?ec():o,Mo((()=>{Xf(t||zf(r),e,o),!n&&t||Zn((()=>r.id),((t,n)=>{Xf(zf(r,t),e,o),Kf(n&&zf(r,n))}))})),Fo((()=>{Kf(t||zf(r),o)}))}(((e,t)=>{let n;switch(e){case"seek":n=t.position;break;case"sendDanmu":n=t;break;case"playbackRate":n=t.rate}e in l&&l[e](n)}),function(e){const t=ec(),n=hi().proxy,o=n.$options.name.toLowerCase(),r=e||n.id||"context"+Yf++;return Mo((()=>{n.$el.__uniContextInfo={id:r,type:o,page:t}})),`${o}.${r}`}(),!0)}const Op=Hc({name:"Video",props:{id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:()=>[]},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},vslideGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const r=nn(null),i=nn(null),s=qc(r,t),{state:a}=bf(),{$attrs:l}=Bf({excludeListeners:!0});vl();const{videoRef:c,state:u,play:d,pause:f,stop:h,seek:g,playbackRate:m,toggle:v,onDurationChange:y,onLoadedMetadata:b,onProgress:_,onWaiting:w,onVideoError:x,onPlay:S,onPause:T,onEnded:C,onTimeUpdate:E}=function(e,t,n){const o=nn(null),r=Ci((()=>Dd(e.src))),i=Ci((()=>"true"===e.muted||!0===e.muted)),s=Ft({start:!1,src:r,playing:!1,currentTime:0,duration:0,currentDuration:0,progress:0,buffered:0,muted:i,pauseUpdatingCurrentTime:!1});function a(e){const t=e.target,n=t.buffered;n.length&&(s.buffered=n.end(n.length-1)/t.duration*100)}function l(){o.value.pause()}function c(e){const t=o.value;"number"!=typeof(e=Number(e))||isNaN(e)||(t.currentTime=e)}return Zn((()=>r.value),(()=>{s.playing=!1,s.currentTime=0})),Zn((()=>s.buffered),(e=>{n("progress",{},{buffered:e})})),Zn((()=>i.value),(e=>{o.value.muted=e})),Zn([()=>s.duration,()=>e.duration],(()=>{let t=Number(e.duration);isNaN(t)&&(t=0),s.currentDuration=t>0?t:s.duration})),{videoRef:o,state:s,play:function(){const e=o.value;s.start=!0,e.play()},pause:l,stop:function(){c(0),l()},seek:c,playbackRate:function(e){o.value.playbackRate=e},toggle:function(){const e=o.value;s.playing?e.pause():e.play()},onDurationChange:function({target:e}){s.duration=e.duration},onLoadedMetadata:function(t){const o=Number(e.initialTime)||0,r=t.target;o>0&&(r.currentTime=o),n("loadedmetadata",t,{width:r.videoWidth,height:r.videoHeight,duration:r.duration}),a(t)},onProgress:a,onWaiting:function(e){n("waiting",e,{})},onVideoError:function(e){s.playing=!1,n("error",e,{})},onPlay:function(e){s.start=!0,s.playing=!0,n("play",e,{})},onPause:function(e){s.playing=!1,n("pause",e,{})},onEnded:function(e){s.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target;s.pauseUpdatingCurrentTime||(s.currentTime=t.currentTime);const o=t.currentTime;n("timeupdate",e,{currentTime:o,duration:t.duration})}}}(e,0,s),{state:k,danmuRef:O,updateDanmu:L,toggleDanmu:$,sendDanmu:A}=function(e,t){const n=nn(null),o=Ft({enable:Boolean(e.enableDanmu)});let r={time:0,index:-1};const i=p(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function s(e){const t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;let o=`bottom: ${100*Math.random()}%;color: ${e.color};`;t.setAttribute("style",o),n.value.appendChild(t),setTimeout((function(){o+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",o),setTimeout((function(){t.remove()}),4e3)}),17)}return i.sort((function(e,t){return(e.time||0)-(t.time||0)})),{state:o,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,a=r,l={time:n,index:a.index};if(n>a.time)for(let r=a.index+1;r=(e.time||0)))break;l.index=r,t.playing&&o.enable&&s(e)}else if(n-1&&n<=(i[t].time||0);t--)l.index=t-1;r=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){i.splice(r.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,u),{state:P,onFullscreenChange:R,emitFullscreenChange:B,toggleFullscreen:N,requestFullScreen:j,exitFullScreen:M}=function(e,t,n,o,r){const i=Ft({fullscreen:!1}),s=/^Apple/.test(navigator.vendor);function a(t){i.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const i=r.value,l=t.value,c=n.value;let u;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||s&&!o.userAction?c.webkitEnterFullScreen?c.webkitEnterFullScreen():(u=!0,l.remove(),l.classList.add("uni-video-type-fullscreen"),document.body.appendChild(l)):l[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():c.webkitExitFullScreen?c.webkitExitFullScreen():(u=!0,l.remove(),l.classList.remove("uni-video-type-fullscreen"),i.appendChild(l)),u&&a(e)}function c(){l(!1)}return Fo(c),{state:i,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||a(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:a,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(s,i,c,a,r),{state:I,onTouchstart:V,onTouchend:F,onTouchmove:D}=Ep(e,u,c,P),{state:H,progressRef:W,ballRef:U,clickProgress:q,toggleControls:z,autoHideEnd:X,autoHideStart:K}=function(e,t,n,o){const r=nn(null),i=nn(null),s=Ci((()=>e.showCenterPlayBtn&&!t.start)),a=nn(!0),l=Ci((()=>!s.value&&e.controls&&a.value)),c=Ft({seeking:!1,touching:!1,controlsTouching:!1,centerPlayBtnShow:s,controlsShow:l,controlsVisible:a});let u;function d(){u=setTimeout((()=>{c.controlsVisible=!1}),3e3)}function f(){u&&(clearTimeout(u),u=null)}return Fo((()=>{u&&clearTimeout(u)})),Zn((()=>c.controlsShow&&t.playing&&!c.controlsTouching),(e=>{e?d():f()})),Mo((()=>{const e=ve(!1);let s,a,l,u=!0;const d=i.value;function f(e){const n=e.targetTouches[0],i=n.pageX,d=n.pageY;if(u&&Math.abs(i-s)100&&(h=100),t.progress=h,null==o||o(t.currentDuration*h/100),c.seeking=!0,e.preventDefault(),e.stopPropagation()}function p(o){c.controlsTouching=!1,c.touching&&(d.removeEventListener("touchmove",f,e),u||(o.preventDefault(),o.stopPropagation(),n(t.currentDuration*t.progress/100)),c.touching=!1)}d.addEventListener("touchstart",(n=>{c.controlsTouching=!0;const o=n.targetTouches[0];s=o.pageX,a=o.pageY,l=t.progress,u=!0,c.touching=!0,d.addEventListener("touchmove",f,e)})),d.addEventListener("touchend",p),d.addEventListener("touchcancel",p)})),{state:c,progressRef:r,ballRef:i,clickProgress:function(e){const o=r.value;let i=e.target,s=e.offsetX;for(;i&&i!==o;)s+=i.offsetLeft,i=i.parentNode;const a=o.offsetWidth;let l=0;s>=0&&s<=a&&(l=s/a,n(t.currentDuration*l))},toggleControls:function(){c.controlsVisible=!c.controlsVisible},autoHideStart:d,autoHideEnd:f}}(e,u,g,(e=>{I.currentTimeNew=e}));kp(d,f,h,g,A,m,j,M);const Y=function(e,t,n,o,r){const i=Ci((()=>"progress"===t.gestureType||n.touching));return Zn(i,(o=>{e.pauseUpdatingCurrentTime=o,n.controlsTouching=o,"progress"===t.gestureType&&o&&(n.controlsVisible=o)})),Zn([()=>e.currentTime,()=>e.currentDuration],(()=>{e.currentDuration>0?e.progress=e.currentTime/e.currentDuration*100:e.progress=0,e.progress>100&&(e.progress=100)}),{immediate:!0}),Zn((()=>t.currentTimeNew),(t=>{e.currentTime=t})),i}(u,I,H);return()=>ni("uni-video",{ref:r,id:e.id,onClick:z},[ni("div",{ref:i,class:"uni-video-container",onTouchstart:V,onTouchend:F,onTouchmove:D,onFullscreenchange:bs(R,["stop"]),onWebkitfullscreenchange:bs((e=>R(e,!0)),["stop"])},[ni("video",ci({ref:c,style:{"object-fit":e.objectFit},muted:!!e.muted,loop:!!e.loop,src:u.src,poster:e.poster,autoplay:!!e.autoplay},l.value,{class:{"uni-video-video":!0,"uni-video-video-fullscreen":P.fullscreen},"webkit-playsinline":!0,playsinline:!0,onDurationchange:y,onLoadedmetadata:b,onProgress:_,onWaiting:w,onError:x,onPlay:S,onPause:T,onEnded:C,onTimeupdate:e=>{E(e),L(e)},onWebkitbeginfullscreen:()=>B(!0),onX5videoenterfullscreen:()=>B(!0),onWebkitendfullscreen:()=>B(!1),onX5videoexitfullscreen:()=>B(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),oo(ni("div",{class:"uni-video-bar uni-video-bar-full",onClick:bs((()=>{}),["stop"])},[ni("div",{class:"uni-video-controls"},[oo(ni("div",{class:{"uni-video-icon":!0,"uni-video-control-button":!0,"uni-video-control-button-play":!u.playing,"uni-video-control-button-pause":u.playing},onClick:bs(v,["stop"])},null,10,["onClick"]),[[Xi,e.showPlayBtn]]),oo(ni("div",{class:"uni-video-current-time"},[Cp(u.currentTime)],512),[[Xi,e.showProgress]]),oo(ni("div",{ref:W,class:"uni-video-progress-container",onClick:bs(q,["stop"])},[ni("div",{class:{"uni-video-progress":!0,"uni-video-progress-progressing":Y.value}},[ni("div",{style:{width:u.buffered-u.progress+"%",left:u.progress+"%"},class:"uni-video-progress-buffered"},null,4),ni("div",{style:{width:u.progress+"%"},class:"uni-video-progress-played"},null,4),ni("div",{ref:U,style:{left:u.progress+"%"},class:{"uni-video-ball":!0,"uni-video-ball-progressing":Y.value}},[ni("div",{class:"uni-video-inner"},null)],6)],2)],8,["onClick"]),[[Xi,e.showProgress]]),oo(ni("div",{class:"uni-video-duration"},[Cp(u.currentDuration)],512),[[Xi,e.showProgress]])]),oo(ni("div",{class:{"uni-video-icon":!0,"uni-video-danmu-button":!0,"uni-video-danmu-button-active":k.enable},onClick:bs($,["stop"])},null,10,["onClick"]),[[Xi,e.danmuBtn]]),oo(ni("div",{class:{"uni-video-icon":!0,"uni-video-fullscreen":!0,"uni-video-type-fullscreen":P.fullscreen},onClick:bs((()=>N(!P.fullscreen)),["stop"])},null,10,["onClick"]),[[Xi,e.showFullscreenBtn]])],8,["onClick"]),[[Xi,H.controlsShow]]),oo(ni("div",{ref:O,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[Xi,u.start&&k.enable]]),H.centerPlayBtnShow&&ni("div",{class:"uni-video-cover",onClick:bs((()=>{}),["stop"])},[ni("div",{class:"uni-video-cover-play-button uni-video-icon",onClick:bs(d,["stop"])},null,8,["onClick"])],8,["onClick"]),ni("div",{class:"uni-video-loading"},["volume"===I.gestureType?ni("div",{class:{"uni-video-toast-container":!0,"uni-video-toast-container-thin":I.toastThin},style:{marginTop:"5px"}},[!I.toastThin&&I.volumeNew>0&&"volume"===I.gestureType?ni("text",{class:"uni-video-icon uni-video-toast-icon"},[""]):!I.toastThin&&ni("text",{class:"uni-video-icon uni-video-toast-icon"},[""]),ni("div",{class:"uni-video-toast-draw",style:{width:100*I.volumeNew+"%"}},null)],2):null]),ni("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":Y.value}},[ni("div",{class:"uni-video-toast-title"},[ni("span",{class:"uni-video-toast-title-current-time"},[Cp(I.currentTimeNew)])," / ",Cp(u.currentDuration)])],2),ni("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}}),Lp=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let $p;function Ap(){if($p=$p||Lp.__DC_STAT_UUID,!$p){$p=Date.now()+""+Math.floor(1e7*Math.random());try{Lp.__DC_STAT_UUID=$p}catch(e){}}return $p}function Pp(){if(!0!==__uniConfig.darkmode)return v(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Rp(){let e,t="0",n="",o="phone";const r=navigator.language;if(Ud){e="iOS";const o=Hd.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=t.split(".")[0];if(Number(r)>=18){const e=Hd.match(/Version\/([\d\.]+)/);e&&(t=e[1])}const i=Hd.match(/\(([a-zA-Z]+);/);i&&(n=i[1])}else if(Wd){e="Android";const o=Hd.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=Hd.match(/\((.+?)\)/),i=r?r[1].split(";"):Hd.split(" "),s=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==l)a="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n{const e=window.devicePixelRatio,t=Gd(),n=Jd(t),o=Zd(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=Qd();let s=window.innerHeight;const a=ql.top,l={left:ql.left,right:i-ql.right,top:ql.top,bottom:s-ql.bottom,width:i-ql.left-ql.right,height:s-ql.top-ql.bottom},{top:c,bottom:u}=function(){const e=document.documentElement.style,t=Yl(),n=Kl(e,"--window-bottom"),o=Kl(e,"--window-left"),r=Kl(e,"--window-right"),i=Kl(e,"--top-window-height");return{top:t,bottom:n?n+ql.bottom:0,left:o?o+ql.left:0,right:r?r+ql.right:0,topWindowHeight:i||0}}();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:ql.top,right:ql.right,bottom:ql.bottom,left:ql.left},screenTop:r-s}}));let Np,jp=!0;function Mp(){jp&&(Np=Rp())}const Ip=$u(0,(()=>{Mp();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:a,osname:l,osversion:u}=Np;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Ap(),deviceOrientation:s,deviceType:a,model:o,osName:l?l.toLowerCase():void 0,osVersion:u,platform:r,system:i})})),Vp=$u(0,(()=>{Mp();const{theme:e,language:t,browserName:n,browserVersion:o}=Np;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Du?Du():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,isUniAppX:!1,language:t,SDKVersion:"",theme:e,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,version:""},{})})),Fp=$u(0,(()=>{jp=!0,Mp(),jp=!1;const e=Bp(),t=Ip(),n=Vp();jp=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:a}=Np,l=c(e,t,n,{browserName:r,browserVersion:i,fontSizeSetting:void 0,osName:s.toLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0,ua:o,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,l}));const Dp=$u(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)}));function Hp(e){const t=localStorage&&localStorage.getItem(e);if(!v(t))throw new Error("data not found");let n=t;try{const e=function(e){const t=["object","string","number","boolean","undefined"];try{const n=v(e)?JSON.parse(e):e,o=n.type;if(t.indexOf(o)>=0){const e=Object.keys(n);if(2===e.length&&"data"in n){if(typeof n.data===o)return n.data;if("object"===o&&/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(n.data))return new Date(n.data)}else if(1===e.length)return""}}catch(n){}}(JSON.parse(t));void 0!==e&&(n=e)}catch(o){}return n}const Wp=$u(0,(e=>{try{return Hp(e)}catch(t){return""}})),Up={esc:["Esc","Escape"],enter:["Enter"]},qp=Object.keys(Up);const zp=ni("div",{class:"uni-mask"},null,-1);function Xp(e,{onEsc:t,onEnter:n}){const o=nn(e.visible),{key:r,disable:i}=function(){const e=nn(""),t=nn(!1),n=n=>{if(t.value)return;const o=qp.find((e=>-1!==Up[e].indexOf(n.key)));o&&(e.value=o),Sn((()=>e.value=""))};return Mo((()=>{document.addEventListener("keyup",n)})),Fo((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}();return Zn((()=>e.visible),(e=>o.value=e)),Zn((()=>o.value),(e=>i.value=!e)),Gn((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}const Kp=Lu("request",(({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,enableChunked:s,withCredentials:a,timeout:l=__uniConfig.networkTimeout.request},{resolve:c,reject:u})=>{let d=null;const p=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];if(!n)return"string";if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(v(t)||t instanceof ArrayBuffer)d=t;else if("json"===p)try{d=JSON.stringify(t)}catch(g){d=t.toString()}else if("urlencoded"===p){const e=[];for(const n in t)f(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));d=e.join("&")}else d=t.toString();let h;if(s){if(void 0===typeof window.fetch||void 0===typeof window.AbortController)throw new Error("fetch or AbortController is not supported in this environment");const t=new AbortController,s=t.signal;h=new Gp(t);const f={method:o,headers:n,body:d,signal:s,credentials:a?"include":"same-origin"},p=setTimeout((function(){h.abort(),u("timeout",{errCode:5})}),l);f.signal.addEventListener("abort",(function(){clearTimeout(p),u("abort",{errCode:600003})})),window.fetch(e,f).then((e=>{const t=e.status,n=e.headers,o=e.body,s={};n.forEach(((e,t)=>{s[t]=e}));const a=Yp(s);if(h._emitter.emit("headersReceived",{header:s,statusCode:t,cookies:a}),!o)return void c({data:"",statusCode:t,header:s,cookies:a});const l=o.getReader(),u=[],d=()=>{l.read().then((({done:e,value:n})=>{if(e){const e=function(e){const t=e.reduce(((e,t)=>e+t.byteLength),0),n=new Uint8Array(t);let o=0;for(const r of e)n.set(new Uint8Array(r),o),o+=r.byteLength;return n.buffer}(u);let n="text"===i?(new TextDecoder).decode(e):e;return"text"===i&&(n=Zp(n,i,r)),void c({data:n,statusCode:t,header:s,cookies:a})}const o=n;u.push(o),h._emitter.emit("chunkReceived",{data:o}),d()}))};d()}),(e=>{u(e,{errCode:5})}))}else{const t=new XMLHttpRequest;h=new Gp(t),t.open(o,e);for(const e in n)f(n,e)&&t.setRequestHeader(e,n[e]);const s=setTimeout((function(){t.onload=t.onabort=t.onerror=null,h.abort(),u("timeout",{errCode:5})}),l);t.responseType=i,t.onload=function(){clearTimeout(s);const e=t.status;let n="text"===i?t.responseText:t.response;"text"===i&&(n=Zp(n,i,r)),c({data:n,statusCode:e,header:Jp(t.getAllResponseHeaders()),cookies:[]})},t.onabort=function(){clearTimeout(s),u("abort",{errCode:600003})},t.onerror=function(){clearTimeout(s),u(void 0,{errCode:5})},t.withCredentials=a,t.send(d)}return h}),0,zu),Yp=e=>{let t=e["Set-Cookie"]||e["set-cookie"],n=[];if(!t)return[];"["===t[0]&&"]"===t[t.length-1]&&(t=t.slice(1,-1));const o=t.split(";");for(let r=0;r{t===e&&(this._requestOnHeadersReceiveCallbacks.delete(n),this._emitter.off("headersReceived",e))}));const t=this._requestOnHeadersReceiveCallbacks.get(e);t&&(this._requestOnHeadersReceiveCallbacks.delete(e),this._emitter.off("headersReceived",t))}onChunkReceived(e){return this._emitter.on("chunkReceived",e),this._requestOnChunkReceiveCallbackId++,this._requestOnChunkReceiveCallbacks.set(this._requestOnChunkReceiveCallbackId,e),this._requestOnChunkReceiveCallbackId}offChunkReceived(e){if(null==e)return void this._emitter.off("chunkReceived");if("function"==typeof e)return void this._requestOnChunkReceiveCallbacks.forEach(((t,n)=>{t===e&&(this._requestOnChunkReceiveCallbacks.delete(n),this._emitter.off("chunkReceived",e))}));const t=this._requestOnChunkReceiveCallbacks.get(e);t&&(this._requestOnChunkReceiveCallbacks.delete(e),this._emitter.off("chunkReceived",t))}}function Jp(e){const t={};return e.split("\n").forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}function Zp(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(r){}return o}class Qp{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){m(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const eh=Lu("downloadFile",(({url:e,header:t={},timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:r})=>{var i,s=new XMLHttpRequest,a=new Qp(s);return s.open("GET",e,!0),Object.keys(t).forEach((e=>{s.setRequestHeader(e,t[e])})),s.responseType="blob",s.onload=function(){clearTimeout(i);const t=s.status,n=this.response;let r;const a=s.getResponseHeader("content-disposition");if(a){const e=a.match(/filename="?(\S+)"?\b/);e&&(r=e[1])}n.name=r||function(e){const t=(e=e.split("#")[0].split("?")[0]).split("/");return t[t.length-1]}(e),o({statusCode:t,tempFilePath:tf(n)})},s.onabort=function(){clearTimeout(i),r("abort",{errCode:600003})},s.onerror=function(){clearTimeout(i),r("",{errCode:602001})},s.onprogress=function(e){a._callbacks.forEach((t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesWritten:n,totalBytesExpectedToWrite:o})}))},s.send(),i=setTimeout((function(){s.onprogress=s.onload=s.onabort=s.onerror=null,a.abort(),r("timeout",{errCode:5})}),n),a}),0,Xu),th=Au("navigateBack",((e,{resolve:t,reject:n})=>{let o=!0;return!0===cc("onBackPress",{from:e.from||"navigateBack"})&&(o=!1),o?(mp().$router.go(-e.delta),t()):n("onBackPress")}),0,Zu),nh=Au("navigateTo",(({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(bd.handledBeforeEntryPageRoutes)return ud({type:"navigateTo",url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);_d.push({args:{type:"navigateTo",url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,Yu);const oh={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},rh=vo({props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},setup(e,{emit:t}){const n=nn(""),o=()=>s.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),s=Xp(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}}),a=function(e){const t=nn(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=oh[e].cancelColor})(e,t)};return Gn((()=>{var o;e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Pp()&&n({theme:"dark"}),o=n,__uniConfig.darkmode&&ph.on("onThemeChange",o))):function(e){ph.off("onThemeChange",e)}(n)})),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:f}=e;return n.value=o,ni(Ri,{name:"uni-fade"},{default:()=>[oo(ni("uni-modal",{onTouchmove:zl},[zp,ni("div",{class:"uni-modal"},[t?ni("div",{class:"uni-modal__hd"},[ni("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?ni("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:f,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):ni("div",{class:"uni-modal__bd",onTouchmovePassive:Xl,textContent:o},null,40,["onTouchmovePassive","textContent"]),ni("div",{class:"uni-modal__ft"},[l&&ni("div",{style:{color:a.value},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),ni("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[Xi,s.value]])]})}}});let ih;const sh=fe((()=>{ph.on("onHidePopup",(()=>ih.visible=!1))}));let ah;function lh(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&ih.editable&&(o.content=t),ah&&ah(o)}const ch=Au("showModal",((e,{resolve:t})=>{sh(),ah=t,ih?(c(ih,e),ih.visible=!0):(ih=Ft(e),Sn((()=>{return(e=rh,t=ih,n=lh,t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),xs(vo({setup:()=>()=>(Ur(),Yr(e,t,null,16))}))).mount(function(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}("u-a-m")),Sn((()=>ih.visible=!0));var e,t,n})))}),0,rd);function uh(e){function t(){var t;(t=e.navigationBar.titleText)&&t!==document.title&&(document.title=t),ph.emit("onNavigationBarChange",{titleText:t})}Gn(t),Eo(t)}const dh=Wc({name:"Layout",setup(e,{emit:t}){const n=nn(null);Gl({"--status-bar-height":"0px","--top-window-height":"0px","--window-left":"0px","--window-right":"0px","--window-margin":"0px","--tab-bar-height":"0px"});const o=function(){const e=tl();return{routeKey:Ci((()=>$d("/"+e.meta.route,ru()))),isTabBar:Ci((()=>e.meta.isTabBar)),routeCache:Pd}}(),{layoutState:r,windowState:i}=function(){ou();{const e=Ft({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Zn((()=>e.marginWidth),(e=>Gl({"--window-margin":e+"px"}))),Zn((()=>e.leftWindowWidth+e.marginWidth),(e=>{Gl({"--window-left":e+"px"})})),Zn((()=>e.rightWindowWidth+e.marginWidth),(e=>{Gl({"--window-right":e+"px"})})),{layoutState:e,windowState:Ci((()=>({})))}}}();!function(e,t){const n=ou();function o(){const o=document.body.clientWidth,r=Ed();let i={};if(r.length>0){i=yd(r[r.length-1]).meta}else{const e=gc(n.path,!0);e&&(i=e.meta)}const s=parseInt(String((f(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=o>s,a&&s?(e.marginWidth=(o-s)/2,Sn((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")}))):(e.marginWidth=0,Sn((()=>{const e=t.value;e&&e.removeAttribute("style")})))}Zn([()=>n.path],o),Mo((()=>{o(),window.addEventListener("resize",o)}))}(r,n);const s=function(e){const t=nn(!1);return Ci((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(!1);return()=>{const e=function(e,t,n,o,r,i){return function({routeKey:e,isTabBar:t,routeCache:n}){return ni(Qa,null,{default:In((({Component:o})=>[(Ur(),Yr(To,{matchBy:"key",cache:n},[(Ur(),Yr(qn(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e)}(o);return ni("uni-app",{ref:n,class:s.value},[e,!1],2)}}});const fh=c(Tl,{publishHandler(e,t,n){ph.subscribeHandler(e,t,n)}}),ph=c(Lc,{publishHandler(e,t,n){fh.subscribeHandler(e,t,n)}}),hh=Wc({name:"PageBody",setup(e,t){const n=nn(null),o=nn(null);return Zn((()=>false.enablePullDownRefresh),(()=>{o.value=null}),{immediate:!0}),()=>ni(Ir,null,[!1,ni("uni-page-wrapper",ci({ref:n},o.value),[ni("uni-page-body",null,[Xo(t.slots,"default")]),null],16)])}}),gh=Wc({name:"Page",setup(e,t){let n=nu(ru());n.navigationBar;const o={};return uh(n),()=>ni("uni-page",{"data-page":n.route,style:o},[mh(t),null])}});function mh(e){return Ur(),Yr(hh,{key:0},{default:In((()=>[Xo(e.slots,"page")])),_:3})}const vh={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Fu;const yh=Object.assign({}),bh=Object.assign;window.__uniConfig=bh({globalStyle:{backgroundColor:"#F7F8FF",navigationBar:{backgroundColor:"#F7F8FF",titleText:"临床思维训练",type:"default",titleColor:"#000000"},isNVue:!1},uniIdRouter:{},compilerVersion:"5.07"},{appId:"",appName:"AI思维临床训练",appVersion:"1.0.0",appVersionCode:"100",async:vh,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{},qqMapKey:void 0,bMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:Object.keys(yh).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return bh(e[n]||(e[n]={}),yh[t].default),e}),{}),router:{mode:"hash",base:"./",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const _h={delay:vh.delay,timeout:vh.timeout,suspensible:vh.suspensible};vh.loading&&(_h.loadingComponent={name:"SystemAsyncLoading",render:()=>ni(Wn(vh.loading))}),vh.error&&(_h.errorComponent={name:"SystemAsyncError",props:["error"],render(){return ni(Wn(vh.error),{error:this.error})}});const wh=()=>t((()=>import("./pages-index-index.B6mwsTnn.js")),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url).then((e=>_p(e.default||e))),xh=bo(bh({loader:wh},_h)),Sh=()=>t((()=>import("./pages-config-config.Biif3AWZ.js")),__vite__mapDeps([2,3,4,1,5,6]),import.meta.url).then((e=>_p(e.default||e))),Th=bo(bh({loader:Sh},_h)),Ch=()=>t((()=>import("./pages-home-home.DA4TN4Qi.js")),__vite__mapDeps([11,3,4,5,12]),import.meta.url).then((e=>_p(e.default||e))),Eh=bo(bh({loader:Ch},_h)),kh=()=>t((()=>import("./pages-matching-matching.CseTx9c7.js")),__vite__mapDeps([13,3,14,5,15]),import.meta.url).then((e=>_p(e.default||e))),Oh=bo(bh({loader:kh},_h)),Lh=()=>t((()=>import("./pages-cases-cases.BgMZzNL8.js")),__vite__mapDeps([16,14,17,1,4,5,18]),import.meta.url).then((e=>_p(e.default||e))),$h=bo(bh({loader:Lh},_h)),Ah=()=>t((()=>import("./pages-scenario-scenario.m98f7F1b.js")),__vite__mapDeps([19,3,17,1,20,5,21]),import.meta.url).then((e=>_p(e.default||e))),Ph=bo(bh({loader:Ah},_h)),Rh=()=>t((()=>import("./pages-chat-chat.CwAY7iE8.js")),__vite__mapDeps([22,3,17,1,20,4,5,23]),import.meta.url).then((e=>_p(e.default||e))),Bh=bo(bh({loader:Rh},_h)),Nh=()=>t((()=>import("./pages-profile-profile-analysis._w79JFSZ.js")),__vite__mapDeps([24,3,8,1,5,25]),import.meta.url).then((e=>_p(e.default||e))),jh=bo(bh({loader:Nh},_h)),Mh=()=>t((()=>import("./pages-profile-profile-records.-O6EFJFn.js")),__vite__mapDeps([26,8,1,5,27]),import.meta.url).then((e=>_p(e.default||e))),Ih=bo(bh({loader:Mh},_h)),Vh=()=>t((()=>import("./pages-learning-assistant-learning-assistant.DXQx3hQo.js")),__vite__mapDeps([28,3,20,4,5,29]),import.meta.url).then((e=>_p(e.default||e))),Fh=bo(bh({loader:Vh},_h)),Dh=()=>t((()=>import("./pages-teaching-teaching.CD7aTCWg.js")),__vite__mapDeps([30,3,17,1,4,20,5,31]),import.meta.url).then((e=>_p(e.default||e))),Hh=bo(bh({loader:Dh},_h)),Wh=()=>t((()=>import("./pages-diagnosis-diagnosis.O2EH0Ud3.js")),__vite__mapDeps([32,3,17,1,20,4,5,33]),import.meta.url).then((e=>_p(e.default||e))),Uh=bo(bh({loader:Wh},_h)),qh=()=>t((()=>import("./pages-treatment-treatment.Dc9aOAwY.js")),__vite__mapDeps([34,3,17,1,4,20,5,35]),import.meta.url).then((e=>_p(e.default||e))),zh=bo(bh({loader:qh},_h)),Xh=()=>t((()=>import("./pages-assessment-assessment.DBigRajl.js")),__vite__mapDeps([36,3,14,20,8,1,5,37]),import.meta.url).then((e=>_p(e.default||e))),Kh=bo(bh({loader:Xh},_h)),Yh=()=>t((()=>import("./pages-profile-profile.1iL2Z_Wy.js")),__vite__mapDeps([7,8,1,5,9]),import.meta.url).then((e=>_p(e.default||e))),Gh=bo(bh({loader:Yh},_h));function Jh(e,t){return Ur(),Yr(gh,null,{page:In((()=>[ni(e,bh({},t,{ref:"page"}),null,512)])),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=mp(),t=e&&e.$route&&e.$route.query||{};return()=>Jh(xh,t)}},loader:wh,meta:{isQuit:!0,isEntry:!0,navigationBar:{titleText:"临床思维训练",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/config/config",component:{setup(){const e=mp(),t=e&&e.$route&&e.$route.query||{};return()=>Jh(Th,t)}},loader:Sh,meta:{navigationBar:{titleText:"信息配置",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/home/home",component:{setup(){const e=mp(),t=e&&e.$route&&e.$route.query||{};return()=>Jh(Eh,t)}},loader:Ch,meta:{navigationBar:{titleText:"临床思维训练",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/matching/matching",component:{setup(){const e=mp(),t=e&&e.$route&&e.$route.query||{};return()=>Jh(Oh,t)}},loader:kh,meta:{navigationBar:{titleText:"智能匹配",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/cases/cases",component:{setup(){const e=mp(),t=e&&e.$route&&e.$route.query||{};return()=>Jh($h,t)}},loader:Lh,meta:{navigationBar:{titleText:"病例列表",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/scenario/scenario",component:{setup(){const e=mp(),t=e&&e.$route&&e.$route.query||{};return()=>Jh(Ph,t)}},loader:Ah,meta:{navigationBar:{titleText:"场景配置",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/chat/chat",component:{setup(){const e=mp(),t=e&&e.$route&&e.$route.query||{};return()=>Jh(Bh,t)}},loader:Rh,meta:{navigationBar:{titleText:"临床对话",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/profile/profile-analysis",component:{setup(){const e=mp(),t=e&&e.$route&&e.$route.query||{};return()=>Jh(jh,t)}},loader:Nh,meta:{navigationBar:{titleText:"智能分析",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/profile/profile-records",component:{setup(){const e=mp(),t=e&&e.$route&&e.$route.query||{};return()=>Jh(Ih,t)}},loader:Mh,meta:{navigationBar:{titleText:"学习记录",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/learning-assistant/learning-assistant",component:{setup(){const e=mp(),t=e&&e.$route&&e.$route.query||{};return()=>Jh(Fh,t)}},loader:Vh,meta:{navigationBar:{titleText:"AI 学习助手",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/teaching/teaching",component:{setup(){const e=mp(),t=e&&e.$route&&e.$route.query||{};return()=>Jh(Hh,t)}},loader:Dh,meta:{navigationBar:{titleText:"教学模式",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/diagnosis/diagnosis",component:{setup(){const e=mp(),t=e&&e.$route&&e.$route.query||{};return()=>Jh(Uh,t)}},loader:Wh,meta:{navigationBar:{titleText:"临床诊断",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/treatment/treatment",component:{setup(){const e=mp(),t=e&&e.$route&&e.$route.query||{};return()=>Jh(zh,t)}},loader:qh,meta:{navigationBar:{titleText:"治疗计划",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/assessment/assessment",component:{setup(){const e=mp(),t=e&&e.$route&&e.$route.query||{};return()=>Jh(Kh,t)}},loader:Xh,meta:{navigationBar:{titleText:"考核评价",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/profile/profile",component:{setup(){const e=mp(),t=e&&e.$route&&e.$route.query||{};return()=>Jh(Gh,t)}},loader:Yh,meta:{navigationBar:{titleText:"个人中心",style:"custom",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const Zh={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};bp(Zh,{init:vp,setup(e){const t=ou(),n=()=>{var n;n=e,Object.keys(Hu).forEach((e=>{Hu[e].forEach((t=>{Bo(e,t,n)}))}));const{onLaunch:o,onShow:r,onPageNotFound:i}=e,s=function({path:e,query:t}){return c(nf,{path:e,query:t}),c(of,nf),c({},nf)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:_e(t.query)});if(o&&B(o,s),r&&B(r,s),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:_e(t.query),scene:1001};dd(),i&&B(i,e)}};return vr(Ha).isReady().then(n),Mo((()=>{window.addEventListener("resize",Se(wp,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",xp),document.addEventListener("visibilitychange",Sp),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{ph.emit("onThemeChange",{theme:e.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",t):e.addListener(t)}}()})),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(Ur(),Yr(dh));e.setup=(e,o)=>{const r=t&&t(e,o);return m(r)?n:r},e.render=n}}),xs(Zh).use(lp).mount("#app");export{Qc as A,ch as B,Kp as C,Wp as D,an as E,Ir as F,nh as G,le as H,Af as I,Zn as J,ti as K,Cd as L,th as M,Uf as N,Op as O,hi as P,eh as Q,_i as R,Mf as S,Bo as T,oe as U,Ft as a,Do as b,Ci as c,vo as d,Ur as e,Yr as f,ii as g,oo as h,ni as i,ri as j,bs as k,Kr as l,zo as m,ce as n,Mo as o,ad as p,cd as q,nn as r,Dp as s,X as t,Sn as u,Xi as v,In as w,ff as x,Ff as y,qf as z}; diff --git a/dist/assets/index-ar3bjli4.css b/dist/assets/index-ar3bjli4.css deleted file mode 100644 index 4738fce..0000000 --- a/dist/assets/index-ar3bjli4.css +++ /dev/null @@ -1 +0,0 @@ -uni-page-body[data-v-fbf7d73c]{min-height:100%;background:#f9f9ff}body[data-v-fbf7d73c]{background:#f9f9ff}.page-root[data-v-fbf7d73c]{min-height:100vh;background:#f9f9ff}.auth-page[data-v-fbf7d73c]{min-height:100vh;background:#f9f9ff;color:#191c21;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent}.auth-container[data-v-fbf7d73c]{box-sizing:border-box;width:100%;max-width:448px;min-height:100vh;margin:0 auto;padding:32px 20px 24px;display:flex;flex-direction:column}.header[data-v-fbf7d73c]{margin:24px 0;display:flex;flex-direction:column;align-items:center;text-align:center}.logo[data-v-fbf7d73c]{width:96px;height:96px;margin-bottom:16px}.title[data-v-fbf7d73c]{color:#00478d;font-size:24px;line-height:32px;font-weight:600;letter-spacing:0}.subtitle[data-v-fbf7d73c]{margin-top:8px;color:#727783;font-size:14px;line-height:20px;font-weight:600;letter-spacing:0}.form[data-v-fbf7d73c]{flex:1}.form-group[data-v-fbf7d73c]{margin-bottom:16px}.label[data-v-fbf7d73c]{display:block;margin:0 0 8px 4px;color:#424752;font-size:12px;line-height:16px;font-weight:500;letter-spacing:0}.input-wrap[data-v-fbf7d73c],.select-wrap[data-v-fbf7d73c]{box-sizing:border-box;width:100%;height:56px;padding:0 16px;border:1px solid #c2c6d4;border-radius:8px;background:#f9f9ff;display:flex;align-items:center;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.input-wrap.focused[data-v-fbf7d73c],.select-wrap[data-v-fbf7d73c]:active{border-color:#00478d;box-shadow:0 0 0 1px #00478d}.country-code[data-v-fbf7d73c]{margin-right:4px;color:#191c21;font-size:16px;line-height:24px;font-weight:400}.separator[data-v-fbf7d73c]{width:1px;height:24px;margin:0 12px;background:#c2c6d4}.input[data-v-fbf7d73c]{flex:1;min-width:0;height:54px;padding:0;border:0;background:transparent;color:#191c21;font-size:16px;line-height:24px}.placeholder[data-v-fbf7d73c]{color:rgba(114,119,131,.6)}.code-row[data-v-fbf7d73c]{display:flex;align-items:center;-moz-column-gap:8px;column-gap:8px}.code-input-wrap[data-v-fbf7d73c]{flex:1;min-width:0}.verified-icon[data-v-fbf7d73c]{flex:0 0 auto;width:28px;height:28px;margin-right:12px;background:center / 24px 24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%23727783' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 7.8-7 10-4-2.2-7-5.5-7-10V6l7-3z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E")}.code-button[data-v-fbf7d73c]{box-sizing:border-box;flex:0 0 auto;height:56px;padding:0 16px;border:1px solid #00478d;border-radius:8px;background:#f9f9ff;color:#00478d;font-size:14px;line-height:54px;font-weight:600;white-space:nowrap;transition:opacity .18s ease,transform .18s ease,background .18s ease}.code-button[data-v-fbf7d73c]:active,.login-button[data-v-fbf7d73c]:active{transform:scale(.98)}.code-button.disabled[data-v-fbf7d73c]{opacity:.5}.code-button[data-v-fbf7d73c]:after,.login-button[data-v-fbf7d73c]:after{border:0}.select-wrap[data-v-fbf7d73c]{position:relative;justify-content:space-between}.select-text[data-v-fbf7d73c]{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#191c21;font-size:16px;line-height:24px}.select-text.muted[data-v-fbf7d73c]{color:rgba(114,119,131,.6)}.select-arrow[data-v-fbf7d73c]{flex:0 0 auto;width:28px;height:28px;margin-left:12px;background:center / 28px 28px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%23727783' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8l5 5 5-5'/%3E%3Cpath d='M7 12l5 5 5-5'/%3E%3C/svg%3E")}.hint[data-v-fbf7d73c]{display:block;padding:4px 0;text-align:center;color:#727783;font-size:12px;line-height:16px;font-weight:500;letter-spacing:0}.login-area[data-v-fbf7d73c]{padding-top:16px}.login-button[data-v-fbf7d73c]{width:100%;height:56px;border-radius:8px;background:#00478d;box-shadow:0 4px 12px rgba(0,71,141,.2);color:#fff;font-size:20px;line-height:56px;font-weight:600;display:flex;align-items:center;justify-content:center;transition:background .18s ease,transform .18s ease,opacity .18s ease}.login-button.loading[data-v-fbf7d73c]{opacity:.9}.loading-spinner[data-v-fbf7d73c]{width:24px;height:24px;border:3px solid rgba(255,255,255,.36);border-top-color:#fff;border-radius:50%;animation:spin-fbf7d73c 1s linear infinite}.footer[data-v-fbf7d73c]{margin-top:24px;padding-bottom:env(safe-area-inset-bottom);display:flex;justify-content:center}.agreement[data-v-fbf7d73c]{max-width:280px;display:flex;align-items:flex-start}.checkbox[data-v-fbf7d73c]{position:relative;box-sizing:border-box;flex:0 0 auto;width:16px;height:16px;margin-top:4px;margin-right:8px;border:1px solid #c2c6d4;border-radius:4px;background:#fff}.checkbox.checked[data-v-fbf7d73c]{border-color:#00478d;background:#00478d}.checkbox.checked[data-v-fbf7d73c]:after{content:"";position:absolute;left:4px;top:1px;width:5px;height:9px;border-right:2px solid #ffffff;border-bottom:2px solid #ffffff;transform:rotate(45deg)}.agreement-copy[data-v-fbf7d73c]{flex:1;font-size:0;line-height:0}.agreement-text[data-v-fbf7d73c],.agreement-link[data-v-fbf7d73c]{font-size:12px;line-height:20px;font-weight:500;letter-spacing:0}.agreement-text[data-v-fbf7d73c]{color:#424752}.agreement-link[data-v-fbf7d73c]{color:#00478d}.toast[data-v-fbf7d73c]{position:fixed;left:50%;bottom:128px;z-index:100;max-width:320px;padding:12px 24px;border-radius:999px;background:#2e3037;color:#eff0f8;font-size:14px;line-height:20px;font-weight:600;text-align:center;pointer-events:none;opacity:0;transform:translate(-50%,16px);transition:opacity .3s ease,transform .3s ease}.toast.visible[data-v-fbf7d73c]{opacity:1;transform:translate(-50%)}.picker-mask[data-v-fbf7d73c]{position:fixed;left:0;right:0;top:0;bottom:0;z-index:90;background:rgba(25,28,33,.38);display:flex;align-items:flex-end;justify-content:center}.picker-panel[data-v-fbf7d73c]{box-sizing:border-box;width:100%;max-width:448px;max-height:72vh;padding:16px 20px calc(16px + env(safe-area-inset-bottom));border-radius:16px 16px 0 0;background:#fff;box-shadow:0 -12px 30px rgba(25,28,33,.16)}.picker-header[data-v-fbf7d73c]{height:40px;display:flex;align-items:center;justify-content:space-between}.picker-title[data-v-fbf7d73c]{color:#191c21;font-size:18px;line-height:28px;font-weight:600}.picker-close[data-v-fbf7d73c]{color:#00478d;font-size:14px;line-height:20px;font-weight:600}.institution-list[data-v-fbf7d73c]{max-height:calc(72vh - 72px);margin-top:8px}.institution-empty[data-v-fbf7d73c]{padding:20px 4px;color:#727783;font-size:14px;line-height:20px;text-align:center}.institution-item[data-v-fbf7d73c]{box-sizing:border-box;min-height:64px;padding:12px 4px;border-bottom:1px solid #ecedf6;display:flex;align-items:center;justify-content:space-between}.institution-item.active[data-v-fbf7d73c]{color:#00478d}.institution-copy[data-v-fbf7d73c]{flex:1;min-width:0;padding-right:16px;display:flex;flex-direction:column}.institution-name[data-v-fbf7d73c]{color:#191c21;font-size:16px;line-height:24px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.institution-item.active .institution-name[data-v-fbf7d73c]{color:#00478d;font-weight:600}.institution-meta[data-v-fbf7d73c]{margin-top:2px;color:#727783;font-size:12px;line-height:18px}.selected-mark[data-v-fbf7d73c]{position:relative;flex:0 0 auto;width:18px;height:18px;border-radius:50%;background:#00478d}.selected-mark[data-v-fbf7d73c]:after{content:"";position:absolute;left:6px;top:3px;width:5px;height:9px;border-right:2px solid #ffffff;border-bottom:2px solid #ffffff;transform:rotate(45deg)}.shake[data-v-fbf7d73c]{animation:shake-fbf7d73c .5s cubic-bezier(.36,.07,.19,.97) both}@keyframes shake-fbf7d73c{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}@keyframes spin-fbf7d73c{0%{transform:rotate(0)}to{transform:rotate(360deg)}} diff --git a/dist/assets/index-pnQqyMoS.js b/dist/assets/index-pnQqyMoS.js deleted file mode 100644 index 11b5d7a..0000000 --- a/dist/assets/index-pnQqyMoS.js +++ /dev/null @@ -1,25 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./pages-index-index.D4jpUrPc.js","./config.C781xSGj.js","./config-doctor.TgARj_nM.js","./navigation.DVfJwOxJ.js","./_plugin-vue_export-helper.BCo6x5W8.js","./config-D9FAvKg-.css","./pages-profile-profile.B-XBbnFl.js","./profile-DoOaR7U7.css","./index-ar3bjli4.css","./pages-home-home.DrPjlTPP.js","./home-BQ1tn9_7.css","./pages-matching-matching.tTf9St20.js","./matching-CpbVZD0l.css","./pages-cases-cases.DT82vyu5.js","./cases.4_d-snq4.js","./cases-C6NCSirR.css","./pages-scenario-scenario.qHtGjID7.js","./session.CQodznPl.js","./scenario-CftOfMRB.css","./pages-chat-chat.AlWPGbhC.js","./chat-CkFGeMvf.css","./pages-profile-profile-analysis.CRJ4sJsP.js","./profile-analysis-D7uHL0Kv.css","./pages-profile-profile-records.BNZ8jFJk.js","./profile-records-EOjOQpWD.css","./pages-learning-assistant-learning-assistant.C5b4ppY1.js","./learning-assistant-DLqyMC21.css","./pages-teaching-teaching.DR-9Lpuq.js","./teaching-D5UxL3cd.css","./pages-diagnosis-diagnosis.peFitBk1.js","./diagnosis-BxzDEbGJ.css","./pages-treatment-treatment.CY1LQTC2.js","./treatment-C2Wi3XDZ.css","./pages-assessment-assessment.CwWm86GC.js","./assessment-Br9Rtmwh.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const e={},t=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){const t=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),s=(null==i?void 0:i.nonce)||(null==i?void 0:i.getAttribute("nonce"));r=Promise.all(n.map((n=>{if(n=function(e,t){return new URL(e,t).href}(n,o),n in e)return;e[n]=!0;const r=n.endsWith(".css"),i=r?'[rel="stylesheet"]':"";if(!!o)for(let e=t.length-1;e>=0;e--){const o=t[e];if(o.href===n&&(!r||"stylesheet"===o.rel))return}else if(document.querySelector(`link[href="${n}"]${i}`))return;const a=document.createElement("link");return a.rel=r?"stylesheet":"modulepreload",r||(a.as="script",a.crossOrigin=""),a.href=n,s&&a.setAttribute("nonce",s),document.head.appendChild(a),r?new Promise(((e,t)=>{a.addEventListener("load",e),a.addEventListener("error",(()=>t(new Error(`Unable to preload CSS for ${n}`))))})):void 0})))}return r.then((()=>t())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))}; -/** -* @vue/shared v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/ -function n(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const o={},r=[],i=()=>{},s=()=>!1,a=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),c=Object.assign,u=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,f=(e,t)=>d.call(e,t),p=Array.isArray,h=e=>"[object Map]"===x(e),g=e=>"[object Set]"===x(e),m=e=>"function"==typeof e,v=e=>"string"==typeof e,y=e=>"symbol"==typeof e,b=e=>null!==e&&"object"==typeof e,_=e=>(b(e)||m(e))&&m(e.then)&&m(e.catch),w=Object.prototype.toString,x=e=>w.call(e),T=e=>"[object Object]"===x(e),S=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,C=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),k=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},E=/-(\w)/g,O=k((e=>e.replace(E,((e,t)=>t?t.toUpperCase():"")))),L=/\B([A-Z])/g,$=k((e=>e.replace(L,"-$1").toLowerCase())),A=k((e=>e.charAt(0).toUpperCase()+e.slice(1))),P=k((e=>e?`on${A(e)}`:"")),R=(e,t)=>!Object.is(e,t),B=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},j=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let M;const I=()=>M||(M="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function V(e){if(p(e)){const t={};for(let n=0;n{if(e){const n=e.split(H);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function q(e){let t="";if(v(e))t=e;else if(p(e))for(let n=0;nv(e)?e:null==e?"":p(e)||b(e)&&(e.toString===w||!m(e.toString))?JSON.stringify(e,K,2):String(e),K=(e,t)=>t&&t.__v_isRef?K(e,t.value):h(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[Y(t,o)+" =>"]=n,e)),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>Y(e)))}:y(t)?Y(t):!b(t)||p(t)||T(t)?t:String(t),Y=(e,t="")=>{var n;return y(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};var G={};const J=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view","location-picker","location-view"].map((e=>"uni-"+e)),Z=["page-container","list-view","list-item","sticky-section","sticky-header","cloud-db-element","loading-element","loading"].map((e=>"uni-"+e)),Q=["list-item"].map((e=>"uni-"+e));function ee(e){if(-1!==Q.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return"true"!==G.UNI_APP_X?-1!==J.indexOf(t):-1!==J.indexOf(t)||-1!==Z.indexOf(t)}const te=/^([a-z-]+:)?\/\//i,ne=/^data:.*,.*/,oe="onLoad";function re(e){return void 0===e?null:e}class ie{static keys(e){return Object.keys(e)}static assign(e,...t){for(let n=0;n{this[t]=e}));else for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(this[t]=e[t]);!function(e){const t=["_resolveKeyPath","_getValue","toJSON","get","set","getAny","getString","getNumber","getBoolean","getJSON","getArray","toMap","forEach"],n={};for(let o=0;o0&&(n.push(t),t="");break;case"[":o=!0,t.length>0&&(n.push(t),t="");break;case"]":if(!o)return[];if(!(t.length>0))return[];{const e=t[0],o=t[t.length-1];if('"'===e&&'"'===o||"'"===e&&"'"===o||"`"===e&&"`"===o){if(!(t.length>2))return[];t=t.slice(1,-1)}else if(!/^\d+$/.test(t))return[];n.push(t),t=""}o=!1;break;default:t+=i}r===e.length-1&&t.length>0&&(n.push(t),t="")}return n}_getValue(e,t){const n=this._resolveKeyPath(e),o=re(t);if(0===n.length)return o;let r=this;for(let i=0;i{t[n]=e[n]})),V(t)}if(e instanceof Map){const t={};return e.forEach(((e,n)=>{t[n]=e})),V(t)}if(v(e))return W(e);if(p(e)){const t={};for(let n=0;n{e[n]&&(t+=n+" ")}));else if(e instanceof Map)e.forEach(((e,n)=>{e&&(t+=n+" ")}));else if(p(e))for(let n=0;n(e&&(n=e.apply(t,o),e=null),n)}function pe(e){return O(e.substring(5))}const he=fe((e=>{e=e||(e=>e.tagName.startsWith("UNI-"));const t=HTMLElement.prototype,n=t.setAttribute;t.setAttribute=function(t,o){if(t.startsWith("data-")&&e(this)){(this.__uniDataset||(this.__uniDataset={}))[pe(t)]=o}/^\d/.test(t)||n.call(this,t,o)};const o=t.removeAttribute;t.removeAttribute=function(t){this.__uniDataset&&t.startsWith("data-")&&e(this)&&delete this.__uniDataset[pe(t)],o.call(this,t)}}));function ge(e){return c({},e.dataset,e.__uniDataset)}const me=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function ve(e){return{passive:e}}function ye(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:ge(e),offsetTop:n,offsetLeft:o}}function be(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function _e(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=be(e[n])}catch(o){t[n]=e[n]}})),t}const we=/\+/g;function xe(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe.apply(this,arguments);r=o(i,t)};return i.cancel=function(){n(r)},i}class Se{constructor(e,t){this.id=e,this.listener={},this.emitCache=[],t&&Object.keys(t).forEach((e=>{this.on(e,t[e])}))}emit(e,...t){const n=this.listener[e];if(!n)return this.emitCache.push({eventName:e,args:t});n.forEach((e=>{e.fn.apply(e.fn,t)})),this.listener[e]=n.filter((e=>"once"!==e.type))}on(e,t){this._addListener(e,"on",t),this._clearCache(e)}once(e,t){this._addListener(e,"once",t),this._clearCache(e)}off(e,t){const n=this.listener[e];if(n)if(t)for(let o=0;ot(e))),Le=function(){};Le.prototype={_id:1,on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n,_id:this._id}),this._id++},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o=0;i--)if(o[i].fn===t||o[i].fn._===t||o[i]._id===t){o.splice(i,1);break}r=o}return r.length?n[e]=r:delete n[e],this}};var $e=Le;const Ae={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function Pe(e,t,n){if(v(t)&&t.startsWith("@")){let r=e[t.replace("@","")]||t;switch(n){case"titleColor":r="black"===r?"#000000":"#ffffff";break;case"borderStyle":r=(o=r)&&o in Ae?Ae[o]:o}return r}var o;return t}function Re(e,t={},n="light"){const o=t[n],r={};return void 0!==o&&e?(Object.keys(e).forEach((i=>{const s=e[i];r[i]=T(s)?Re(s,t,n):p(s)?s.map((e=>T(e)?Re(e,t,n):Pe(o,e))):Pe(o,s,i)})),r):e} -/** -* @dcloudio/uni-h5-vue v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Be,Ne;class je{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Be,!e&&Be&&(this.index=(Be.scopes||(Be.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Be;try{return Be=this,e()}finally{Be=t}}}on(){Be=this}off(){Be=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),ze()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=De,t=Ne;try{return De=!0,Ne=this,this._runnings++,Ve(this),this.fn()}finally{Fe(this),this._runnings--,Ne=t,De=e}}stop(){var e;this.active&&(Ve(this),Fe(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function Ve(e){e._trackId++,e._depsLength=0}function Fe(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Qe=new WeakMap,et=Symbol(""),tt=Symbol("");function nt(e,t,n){if(De&&Ne){let t=Qe.get(e);t||Qe.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=Ze((()=>t.delete(n)))),Ye(Ne,o)}}function ot(e,t,n,o,r,i){const s=Qe.get(e);if(!s)return;let a=[];if("clear"===t)a=[...s.values()];else if("length"===n&&p(e)){const e=Number(o);s.forEach(((t,n)=>{("length"===n||!y(n)&&n>=e)&&a.push(t)}))}else switch(void 0!==n&&a.push(s.get(n)),t){case"add":p(e)?S(n)&&a.push(s.get("length")):(a.push(s.get(et)),h(e)&&a.push(s.get(tt)));break;case"delete":p(e)||(a.push(s.get(et)),h(e)&&a.push(s.get(tt)));break;case"set":h(e)&&a.push(s.get(et))}Xe();for(const l of a)l&&Je(l,4);Ke()}const rt=n("__proto__,__v_isRef,__isVue"),it=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(y)),st=at();function at(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Yt(this);for(let t=0,r=this.length;t{e[t]=function(...e){Ue(),Xe();const n=Yt(this)[t].apply(this,e);return Ke(),ze(),n}})),e}function lt(e){const t=Yt(this);return nt(t,0,e),t.hasOwnProperty(e)}class ct{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(o?r?Vt:It:r?Mt:jt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=p(e);if(!o){if(i&&f(st,t))return Reflect.get(st,t,n);if("hasOwnProperty"===t)return lt}const s=Reflect.get(e,t,n);return(y(t)?it.has(t):rt(t))?s:(o||nt(e,0,t),r?s:nn(s)?i&&S(t)?s:s.value:b(s)?o?Wt(s):Ht(s):s)}}class ut extends ct{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=zt(r);if(Xt(n)||zt(n)||(r=Yt(r),n=Yt(n)),!p(e)&&nn(r)&&!nn(n))return!t&&(r.value=n,!0)}const i=p(e)&&S(t)?Number(t)e,mt=e=>Reflect.getPrototypeOf(e);function vt(e,t,n=!1,o=!1){const r=Yt(e=e.__v_raw),i=Yt(t);n||(R(t,i)&&nt(r,0,t),nt(r,0,i));const{has:s}=mt(r),a=o?gt:n?Zt:Jt;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void(e!==r&&e.get(t))}function yt(e,t=!1){const n=this.__v_raw,o=Yt(n),r=Yt(e);return t||(R(e,r)&&nt(o,0,e),nt(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function bt(e,t=!1){return e=e.__v_raw,!t&&nt(Yt(e),0,et),Reflect.get(e,"size",e)}function _t(e){e=Yt(e);const t=Yt(this);return mt(t).has.call(t,e)||(t.add(e),ot(t,"add",e,e)),this}function wt(e,t){t=Yt(t);const n=Yt(this),{has:o,get:r}=mt(n);let i=o.call(n,e);i||(e=Yt(e),i=o.call(n,e));const s=r.call(n,e);return n.set(e,t),i?R(t,s)&&ot(n,"set",e,t):ot(n,"add",e,t),this}function xt(e){const t=Yt(this),{has:n,get:o}=mt(t);let r=n.call(t,e);r||(e=Yt(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&ot(t,"delete",e,void 0),i}function Tt(){const e=Yt(this),t=0!==e.size,n=e.clear();return t&&ot(e,"clear",void 0,void 0),n}function St(e,t){return function(n,o){const r=this,i=r.__v_raw,s=Yt(i),a=t?gt:e?Zt:Jt;return!e&&nt(s,0,et),i.forEach(((e,t)=>n.call(o,a(e),a(t),r)))}}function Ct(e,t,n){return function(...o){const r=this.__v_raw,i=Yt(r),s=h(i),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=r[e](...o),u=n?gt:t?Zt:Jt;return!t&&nt(i,0,l?tt:et),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function kt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Et(){const e={get(e){return vt(this,e)},get size(){return bt(this)},has:yt,add:_t,set:wt,delete:xt,clear:Tt,forEach:St(!1,!1)},t={get(e){return vt(this,e,!1,!0)},get size(){return bt(this)},has:yt,add:_t,set:wt,delete:xt,clear:Tt,forEach:St(!1,!0)},n={get(e){return vt(this,e,!0)},get size(){return bt(this,!0)},has(e){return yt.call(this,e,!0)},add:kt("add"),set:kt("set"),delete:kt("delete"),clear:kt("clear"),forEach:St(!0,!1)},o={get(e){return vt(this,e,!0,!0)},get size(){return bt(this,!0)},has(e){return yt.call(this,e,!0)},add:kt("add"),set:kt("set"),delete:kt("delete"),clear:kt("clear"),forEach:St(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=Ct(r,!1,!1),n[r]=Ct(r,!0,!1),t[r]=Ct(r,!1,!0),o[r]=Ct(r,!0,!0)})),[e,n,t,o]}const[Ot,Lt,$t,At]=Et();function Pt(e,t){const n=t?e?At:$t:e?Lt:Ot;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(f(n,o)&&o in t?n:t,o,r)}const Rt={get:Pt(!1,!1)},Bt={get:Pt(!1,!0)},Nt={get:Pt(!0,!1)},jt=new WeakMap,Mt=new WeakMap,It=new WeakMap,Vt=new WeakMap;function Ft(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>x(e).slice(8,-1))(e))}function Ht(e){return zt(e)?e:qt(e,!1,ft,Rt,jt)}function Dt(e){return qt(e,!1,ht,Bt,Mt)}function Wt(e){return qt(e,!0,pt,Nt,It)}function qt(e,t,n,o,r){if(!b(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const s=Ft(e);if(0===s)return e;const a=new Proxy(e,2===s?o:n);return r.set(e,a),a}function Ut(e){return zt(e)?Ut(e.__v_raw):!(!e||!e.__v_isReactive)}function zt(e){return!(!e||!e.__v_isReadonly)}function Xt(e){return!(!e||!e.__v_isShallow)}function Kt(e){return Ut(e)||zt(e)}function Yt(e){const t=e&&e.__v_raw;return t?Yt(t):e}function Gt(e){return Object.isExtensible(e)&&N(e,"__v_skip",!0),e}const Jt=e=>b(e)?Ht(e):e,Zt=e=>b(e)?Wt(e):e;class Qt{constructor(e,t,n,o){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ie((()=>e(this._value)),(()=>tn(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=Yt(this);return e._cacheable&&!e.effect.dirty||!R(e._value,e._value=e.effect.run())||tn(e,4),en(e),e.effect._dirtyLevel>=2&&tn(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function en(e){var t;De&&Ne&&(e=Yt(e),Ye(Ne,null!=(t=e.dep)?t:e.dep=Ze((()=>e.dep=void 0),e instanceof Qt?e:void 0)))}function tn(e,t=4,n){const o=(e=Yt(e)).dep;o&&Je(o,t)}function nn(e){return!(!e||!0!==e.__v_isRef)}function on(e){return sn(e,!1)}function rn(e){return sn(e,!0)}function sn(e,t){return nn(e)?e:new an(e,t)}class an{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Yt(e),this._value=t?e:Jt(e)}get value(){return en(this),this._value}set value(e){const t=this.__v_isShallow||Xt(e)||zt(e);e=t?e:Yt(e),R(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Jt(e),tn(this,4))}}function ln(e){return nn(e)?e.value:e}const cn={get:(e,t,n)=>ln(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return nn(r)&&!nn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function un(e){return Ut(e)?e:new Proxy(e,cn)}function dn(e,t,n,o){try{return o?e(...o):e()}catch(r){pn(r,t,n)}}function fn(e,t,n,o){if(m(e)){const r=dn(e,t,n,o);return r&&_(r)&&r.catch((e=>{pn(e,t,n)})),r}const r=[];for(let i=0;i>>1,r=vn[o],i=Ln(r);iLn(e)-Ln(t)));if(bn.length=0,_n)return void _n.push(...e);for(_n=e,wn=0;wn<_n.length;wn++)_n[wn]();_n=null,wn=0}}const Ln=e=>null==e.id?1/0:e.id,$n=(e,t)=>{const n=Ln(e)-Ln(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function An(e){mn=!1,gn=!0,vn.sort($n);try{for(yn=0;ynv(e)?e.trim():e))),t&&(i=n.map(j))}let l,c=r[l=P(t)]||r[l=P(O(t))];!c&&s&&(c=r[l=P($(t))]),c&&fn(c,e,6,Rn(e,c,i));const u=r[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,fn(u,e,6,Rn(e,u,i))}}function Rn(e,t,n){if(1!==n.length)return n;if(m(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const o=n[0];if(o&&f(o,"type")&&f(o,"timeStamp")&&f(o,"target")&&f(o,"currentTarget")&&f(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function Bn(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let s={},a=!1;if(!m(e)){const o=e=>{const n=Bn(e,t,!0);n&&(a=!0,c(s,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||a?(p(i)?i.forEach((e=>s[e]=null)):c(s,i),b(e)&&o.set(e,s),s):(b(e)&&o.set(e,null),null)}function Nn(e,t){return!(!e||!a(t))&&(t=t.slice(2).replace(/Once$/,""),f(e,t[0].toLowerCase()+t.slice(1))||f(e,$(t))||f(e,t))}let jn=null,Mn=null;function In(e){const t=jn;return jn=e,Mn=e&&e.type.__scopeId||null,t}function Vn(e,t=jn,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Xr(-1);const r=In(t);let i;try{i=e(...n)}finally{In(r),o._d&&Xr(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function Fn(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[s],slots:a,attrs:c,emit:u,render:d,renderCache:f,data:p,setupState:h,ctx:g,inheritAttrs:m}=e;let v,y;const b=In(e);try{if(4&n.shapeFlag){const e=r||o,t=e;v=ai(d.call(t,e,f,i,h,p,g)),y=c}else{const e=t;0,v=ai(e.length>1?e(i,{attrs:c,slots:a,emit:u}):e(i,null)),y=t.props?c:Hn(c)}}catch(w){Wr.length=0,pn(w,e,1),v=oi(Hr)}let _=v;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=_;e.length&&7&t&&(s&&e.some(l)&&(y=Dn(y,s)),_=ri(_,y))}return n.dirs&&(_=ri(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,In(b),v}const Hn=e=>{let t;for(const n in e)("class"===n||"style"===n||a(n))&&((t||(t={}))[n]=e[n]);return t},Dn=(e,t)=>{const n={};for(const o in e)l(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Wn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;re.__isSuspense;const Gn=Symbol.for("v-scx");function Jn(e,t){return eo(e,null,t)}const Zn={};function Qn(e,t,n){return eo(e,t,n)}function eo(e,t,{immediate:n,deep:r,flush:s,once:a,onTrack:l,onTrigger:c}=o){if(t&&a){const e=t;t=(...t)=>{e(...t),k()}}const d=hi,f=e=>!0===r?e:oo(e,!1===r?1:void 0);let h,g,v=!1,y=!1;if(nn(e)?(h=()=>e.value,v=Xt(e)):Ut(e)?(h=()=>f(e),v=!0):p(e)?(y=!0,v=e.some((e=>Ut(e)||Xt(e))),h=()=>e.map((e=>nn(e)?e.value:Ut(e)?f(e):m(e)?dn(e,d,2):void 0))):h=m(e)?t?()=>dn(e,d,2):()=>(g&&g(),fn(e,d,3,[_])):i,t&&r){const e=h;h=()=>oo(e())}let b,_=e=>{g=S.onStop=()=>{dn(e,d,4),g=S.onStop=void 0}};if(wi){if(_=i,t?n&&fn(t,d,3,[h(),y?[]:void 0,_]):h(),"sync"!==s)return i;{const e=yr(Gn);b=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(Zn):Zn;const x=()=>{if(S.active&&S.dirty)if(t){const e=S.run();(r||v||(y?e.some(((e,t)=>R(e,w[t]))):R(e,w)))&&(g&&g(),fn(t,d,3,[e,w===Zn?void 0:y&&w[0]===Zn?[]:w,_]),w=e)}else S.run()};let T;x.allowRecurse=!!t,"sync"===s?T=x:"post"===s?T=()=>Rr(x,d&&d.suspense):(x.pre=!0,d&&(x.id=d.uid),T=()=>Cn(x));const S=new Ie(h,i,T),C=Be,k=()=>{S.stop(),C&&u(C.effects,S)};return t?n?x():w=S.run():"post"===s?Rr(S.run.bind(S),d&&d.suspense):S.run(),b&&b.push(k),k}function to(e,t,n){const o=this.proxy,r=v(e)?e.includes(".")?no(o,e):()=>o[e]:e.bind(o,o);let i;m(t)?i=t:(i=t.handler,n=t);const s=yi(this),a=eo(r,i.bind(o),n);return s(),a}function no(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e0){if(n>=t)return e;n++}if((o=o||new Set).has(e))return e;if(o.add(e),nn(e))oo(e.value,t,n,o);else if(p(e))for(let r=0;r{oo(e,t,n,o)}));else if(T(e))for(const r in e)oo(e[r],t,n,o);return e}function ro(e,t){if(null===jn)return e;const n=Si(jn)||jn.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0})),Ho((()=>{e.isUnmounting=!0})),e}();return()=>{const r=t.default&&vo(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1)for(const e of r)if(e.type!==Hr){i=e;break}const s=Yt(e),{mode:a}=s;if(o.isLeaving)return ho(i);const l=go(i);if(!l)return ho(i);const c=po(l,s,o,n);mo(l,c);const u=n.subTree,d=u&&go(u);if(d&&d.type!==Hr&&!Zr(l,d)){const e=po(d,s,o,n);if(mo(d,e),"out-in"===a)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},ho(i);"in-out"===a&&l.type!==Hr&&(e.delayLeave=(e,t,n)=>{fo(o,d)[String(d.key)]=d,e[so]=()=>{t(),e[so]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return i}}};function fo(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function po(e,t,n,o){const{appear:r,mode:i,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),w=fo(n,e),x=(e,t)=>{e&&fn(e,o,9,t)},T=(e,t)=>{const n=t[1];x(e,t),p(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},S={mode:i,persisted:s,beforeEnter(t){let o=a;if(!n.isMounted){if(!r)return;o=m||a}t[so]&&t[so](!0);const i=w[_];i&&Zr(e,i)&&i.el[so]&&i.el[so](),x(o,[t])},enter(e){let t=l,o=c,i=u;if(!n.isMounted){if(!r)return;t=v||l,o=y||c,i=b||u}let s=!1;const a=e[ao]=t=>{s||(s=!0,x(t?i:o,[e]),S.delayedLeave&&S.delayedLeave(),e[ao]=void 0)};t?T(t,[e,a]):a()},leave(t,o){const r=String(e.key);if(t[ao]&&t[ao](!0),n.isUnmounting)return o();x(d,[t]);let i=!1;const s=t[so]=n=>{i||(i=!0,o(),x(n?g:h,[t]),t[so]=void 0,w[r]===e&&delete w[r])};w[r]=e,f?T(f,[t,s]):s()},clone:e=>po(e,t,n,o)};return S}function ho(e){if(xo(e))return(e=ri(e)).children=null,e}function go(e){return xo(e)?e.children?e.children[0]:void 0:e}function mo(e,t){6&e.shapeFlag&&e.component?mo(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function vo(e,t=!1,n){let o=[],r=0;for(let i=0;i1)for(let i=0;ic({name:e.name},t,{setup:e}))():e}const bo=e=>!!e.type.__asyncLoader -/*! #__NO_SIDE_EFFECTS__ */;function _o(e){m(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:i,suspensible:s=!0,onError:a}=e;let l,c=null,u=0;const d=()=>{let e;return c||(e=c=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),a)return new Promise(((t,n)=>{a(e,(()=>t((u++,c=null,d()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t))))};return yo({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=hi;if(l)return()=>wo(l,e);const t=t=>{c=null,pn(t,e,13,!o)};if(s&&e.suspense||wi)return d().then((t=>()=>wo(t,e))).catch((e=>(t(e),()=>o?oi(o,{error:e}):null)));const a=on(!1),u=on(),f=on(!!r);return r&&setTimeout((()=>{f.value=!1}),r),null!=i&&setTimeout((()=>{if(!a.value&&!u.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),u.value=e}}),i),d().then((()=>{a.value=!0,e.parent&&xo(e.parent.vnode)&&(e.parent.effect.dirty=!0,Cn(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>a.value&&l?wo(l,e):u.value&&o?oi(o,{error:u.value}):n&&!f.value?oi(n):void 0}})}function wo(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,s=oi(e,o,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const xo=e=>e.type.__isKeepAlive;class To{constructor(e){this.max=e,this._cache=new Map,this._keys=new Set,this._max=parseInt(e,10)}get(e){const{_cache:t,_keys:n,_max:o}=this,r=t.get(e);if(r)n.delete(e),n.add(e);else if(n.add(e),o&&n.size>o){const e=n.values().next().value;this.pruneCacheEntry(t.get(e)),this.delete(e)}return r}set(e,t){this._cache.set(e,t)}delete(e){this._cache.delete(e),this._keys.delete(e)}forEach(e,t){this._cache.forEach(e.bind(t))}}const So={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number],matchBy:{type:String,default:"name"},cache:Object},setup(e,{slots:t}){const n=gi(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const r=e.cache||new To(e.max);r.pruneCacheEntry=s;let i=null;function s(t){var o;!i||!Zr(t,i)||"key"===e.matchBy&&t.key!==i.key?(Ao(o=t),u(o,n,a,!0)):i&&Ao(i)}const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,f=d("div");function p(t){r.forEach(((n,o)=>{const i=Ro(n,e.matchBy);!i||t&&t(i)||(r.delete(o),s(n))}))}o.activate=(e,t,n,o,r)=>{const i=e.component;if(i.ba){const e=i.isDeactivated;i.isDeactivated=!1,B(i.ba),i.isDeactivated=e}c(e,t,n,0,a),l(i.vnode,e,t,n,i,a,o,e.slotScopeIds,r),Rr((()=>{i.isDeactivated=!1,i.a&&B(i.a);const t=e.props&&e.props.onVnodeMounted;t&&di(t,i.parent,e)}),a)},o.deactivate=e=>{const t=e.component;t.bda&&Bo(t.bda),c(e,f,null,1,a),Rr((()=>{t.bda&&t.bda.forEach((e=>e.__called=!1)),t.da&&B(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&di(n,t.parent,e),t.isDeactivated=!0}),a)},Qn((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&p((t=>ko(e,t))),t&&p((e=>!ko(t,e)))}),{flush:"post",deep:!0});let h=null;const g=()=>{null!=h&&r.set(h,Po(n.subTree))};return Io(g),Fo(g),Ho((()=>{r.forEach(((t,o)=>{r.delete(o),s(t);const{subTree:i,suspense:a}=n,l=Po(i);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&B(l.component.bda),Ao(l);const e=l.component.da;e&&Rr(e,a)}}))})),()=>{if(h=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!Jr(o)||!(4&o.shapeFlag)&&!Yn(o.type))return i=null,o;let s=Po(o);const a=s.type,l=Ro(s,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!ko(c,l))||u&&l&&ko(u,l))return i=s,o;const d=null==s.key?a:s.key,f=r.get(d);return s.el&&(s=ri(s),Yn(o.type)&&(o.ssContent=s)),h=d,f&&(s.el=f.el,s.component=f.component,s.transition&&mo(s,s.transition),s.shapeFlag|=512),s.shapeFlag|=256,i=s,Yn(o.type)?o:s}}},Co=So;function ko(e,t){return p(e)?e.some((e=>ko(e,t))):v(e)?e.split(",").includes(t):"[object RegExp]"===x(e)&&e.test(t)}function Eo(e,t){Lo(e,"a",t)}function Oo(e,t){Lo(e,"da",t)}function Lo(e,t,n=hi){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,No(t,o,n),n){let e=n.parent;for(;e&&e.parent;)xo(e.parent.vnode)&&$o(o,t,n,e),e=e.parent}}function $o(e,t,n,o){const r=No(t,e,o,!0);Do((()=>{u(o[t],r)}),n)}function Ao(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Po(e){return Yn(e.type)?e.ssContent:e}function Ro(e,t){if("name"===t){const t=e.type;return Ci(bo(e)?t.__asyncResolved||{}:t)}return String(e.key)}function Bo(e){for(let t=0;t-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return["onLoad","onShow"].indexOf(e)>-1}(e))){const o=n.proxy;fn(t.bind(o),n,e,"onLoad"===e?[o.$page.options]:[])}}const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Ue();const r=yi(n),i=fn(t,n,e,o);return r(),ze(),i});return o?i.unshift(s):i.push(s),s}var r}const jo=e=>(t,n=hi)=>(!wi||"sp"===e)&&No(e,((...e)=>t(...e)),n),Mo=jo("bm"),Io=jo("m"),Vo=jo("bu"),Fo=jo("u"),Ho=jo("bum"),Do=jo("um"),Wo=jo("sp"),qo=jo("rtg"),Uo=jo("rtc");function zo(e,t=hi){No("ec",e,t)}function Xo(e,t,n,o){let r;const i=n&&n[o];if(p(e)||v(e)){r=new Array(e.length);for(let n=0,o=e.length;nt(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,s=n.length;o!Jr(e)||e.type!==Hr&&!(e.type===Vr&&!Yo(e.children))))?e:null}const Go=e=>{if(!e)return null;if(_i(e)){return Si(e)||e.proxy}return Go(e.parent)},Jo=c(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Go(e.parent),$root:e=>Go(e.root),$emit:e=>e.emit,$options:e=>ir(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,Cn(e.update)})(e)),$nextTick:e=>e.n||(e.n=Sn.bind(e.proxy)),$watch:e=>to.bind(e)}),Zo=(e,t)=>e!==o&&!e.__isScriptSetup&&f(e,t),Qo={get({_:e},t){const{ctx:n,setupState:r,data:i,props:s,accessCache:a,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=a[t];if(void 0!==l)switch(l){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(Zo(r,t))return a[t]=1,r[t];if(i!==o&&f(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&f(u,t))return a[t]=3,s[t];if(n!==o&&f(n,t))return a[t]=4,n[t];tr&&(a[t]=0)}}const d=Jo[t];let p,h;return d?("$attrs"===t&&nt(e,0,t),d(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==o&&f(n,t)?(a[t]=4,n[t]):(h=c.config.globalProperties,f(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return Zo(i,t)?(i[t]=n,!0):r!==o&&f(r,t)?(r[t]=n,!0):!f(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},a){let l;return!!n[a]||e!==o&&f(e,a)||Zo(t,a)||(l=s[0])&&f(l,a)||f(r,a)||f(Jo,a)||f(i.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:f(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function er(e){return p(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let tr=!0;function nr(e){const t=ir(e),n=e.proxy,o=e.ctx;tr=!1,t.beforeCreate&&or(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:a,watch:l,provide:c,inject:u,created:d,beforeMount:f,mounted:h,beforeUpdate:g,updated:v,activated:y,deactivated:_,beforeDestroy:w,beforeUnmount:x,destroyed:T,unmounted:S,render:C,renderTracked:k,renderTriggered:E,errorCaptured:O,serverPrefetch:L,expose:$,inheritAttrs:A,components:P,directives:R,filters:B}=t;if(u&&function(e,t,n=i){p(e)&&(e=cr(e));for(const o in e){const n=e[o];let r;r=b(n)?"default"in n?yr(n.from||o,n.default,!0):yr(n.from||o):yr(n),nn(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[o]=r}}(u,o,null),a)for(const i in a){const e=a[i];m(e)&&(o[i]=e.bind(n))}if(r){const t=r.call(n,n);b(t)&&(e.data=Ht(t))}if(tr=!0,s)for(const p in s){const e=s[p],t=m(e)?e.bind(n,n):m(e.get)?e.get.bind(n,n):i,r=!m(e)&&m(e.set)?e.set.bind(n):i,a=ki({get:t,set:r});Object.defineProperty(o,p,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(l)for(const i in l)rr(l[i],o,n,i);if(c){const e=m(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{vr(t,e[t])}))}function N(e,t){p(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&or(d,e,"c"),N(Mo,f),N(Io,h),N(Vo,g),N(Fo,v),N(Eo,y),N(Oo,_),N(zo,O),N(Uo,k),N(qo,E),N(Ho,x),N(Do,S),N(Wo,L),p($))if($.length){const t=e.exposed||(e.exposed={});$.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});C&&e.render===i&&(e.render=C),null!=A&&(e.inheritAttrs=A),P&&(e.components=P),R&&(e.directives=R);const j=e.appContext.config.globalProperties.$applyOptions;j&&j(t,e,n)}function or(e,t,n){fn(p(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function rr(e,t,n,o){const r=o.includes(".")?no(n,o):()=>n[o];if(v(e)){const n=t[e];m(n)&&Qn(r,n)}else if(m(e))Qn(r,e.bind(n));else if(b(e))if(p(e))e.forEach((e=>rr(e,t,n,o)));else{const o=m(e.handler)?e.handler.bind(n):t[e.handler];m(o)&&Qn(r,o,e)}}function ir(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:r.length||n||o?(l={},r.length&&r.forEach((e=>sr(l,e,s,!0))),sr(l,t,s)):l=t,b(t)&&i.set(t,l),l}function sr(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&sr(e,i,n,!0),r&&r.forEach((t=>sr(e,t,n,!0)));for(const s in t)if(o&&"expose"===s);else{const o=ar[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const ar={data:lr,props:fr,emits:fr,methods:dr,computed:dr,beforeCreate:ur,created:ur,beforeMount:ur,mounted:ur,beforeUpdate:ur,updated:ur,beforeDestroy:ur,beforeUnmount:ur,destroyed:ur,unmounted:ur,activated:ur,deactivated:ur,errorCaptured:ur,serverPrefetch:ur,components:dr,directives:dr,watch:function(e,t){if(!e)return t;if(!t)return e;const n=c(Object.create(null),e);for(const o in t)n[o]=ur(e[o],t[o]);return n},provide:lr,inject:function(e,t){return dr(cr(e),cr(t))}};function lr(e,t){return t?e?function(){return c(m(e)?e.call(this,this):e,m(t)?t.call(this,this):t)}:t:e}function cr(e){if(p(e)){const t={};for(let n=0;n(i.has(e)||(e&&m(e.install)?(i.add(e),e.install(a,...t)):m(e)&&(i.add(e),e(a,...t))),a),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),a),component:(e,t)=>t?(r.components[e]=t,a):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,a):r.directives[e],mount(i,l,c){if(!s){const u=oi(n,o);return u.appContext=r,!0===c?c="svg":!1===c&&(c=void 0),l&&t?t(u,i):e(u,i,c),s=!0,a._container=i,i.__vue_app__=a,a._instance=u.component,Si(u.component)||u.component.proxy}},unmount(){s&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,a),runWithContext(e){const t=mr;mr=a;try{return e()}finally{mr=t}}};return a}}let mr=null;function vr(e,t){if(hi){let n=hi.provides;const o=hi.parent&&hi.parent.provides;o===n&&(n=hi.provides=Object.create(o)),n[e]=t,"app"===hi.type.mpType&&hi.appContext.app.provide(e,t)}else;}function yr(e,t,n=!1){const o=hi||jn;if(o||mr){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:mr._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&m(t)?t.call(o&&o.proxy):t}}function br(e,t,n,r){const[i,s]=e.propsOptions;let a,l=!1;if(t)for(let o in t){if(C(o))continue;const c=t[o];let u;i&&f(i,u=O(o))?s&&s.includes(u)?(a||(a={}))[u]=c:n[u]=c:Nn(e.emitsOptions,o)||o in r&&c===r[o]||(r[o]=_r(e,o,c),l=!0)}if(s){const t=Yt(n),r=a||o;for(let o=0;o{d=!0;const[n,o]=xr(e,t,!0);c(l,n),o&&u.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!a&&!d)return b(e)&&i.set(e,r),r;if(p(a))for(let r=0;r-1,n[1]=o<0||t-1||f(n,"default"))&&u.push(e)}}}const h=[l,u];return b(e)&&i.set(e,h),h}function Tr(e){return"$"!==e[0]&&!C(e)}function Sr(e){if(null===e)return"null";if("function"==typeof e)return e.name||"";if("object"==typeof e){return e.constructor&&e.constructor.name||""}return""}function Cr(e,t){return Sr(e)===Sr(t)}function kr(e,t){return p(t)?t.findIndex((t=>Cr(t,e))):m(t)&&Cr(t,e)?0:-1}const Er=e=>"_"===e[0]||"$stable"===e,Or=e=>p(e)?e.map(ai):[ai(e)],Lr=(e,t,n)=>{if(t._n)return t;const o=Vn(((...e)=>Or(t(...e))),n);return o._c=!1,o},$r=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Er(r))continue;const n=e[r];if(m(n))t[r]=Lr(0,n,o);else if(null!=n){const e=Or(n);t[r]=()=>e}}},Ar=(e,t)=>{const n=Or(t);e.slots.default=()=>n};function Pr(e,t,n,r,i=!1){if(p(e))return void e.forEach(((e,o)=>Pr(e,t&&(p(t)?t[o]:t),n,r,i)));if(bo(r)&&!i)return;const s=4&r.shapeFlag?Si(r.component)||r.component.proxy:r.el,a=i?null:s,{i:l,r:c}=e,d=t&&t.r,h=l.refs===o?l.refs={}:l.refs,g=l.setupState;if(null!=d&&d!==c&&(v(d)?(h[d]=null,f(g,d)&&(g[d]=null)):nn(d)&&(d.value=null)),m(c))dn(c,l,12,[a,h]);else{const t=v(c),o=nn(c);if(t||o){const r=()=>{if(e.f){const n=t?f(g,c)?g[c]:h[c]:c.value;i?p(n)&&u(n,s):p(n)?n.includes(s)||n.push(s):t?(h[c]=[s],f(g,c)&&(g[c]=h[c])):(c.value=[s],e.k&&(h[e.k]=c.value))}else t?(h[c]=a,f(g,c)&&(g[c]=a)):o&&(c.value=a,e.k&&(h[e.k]=a))};a?(r.id=-1,Rr(r,n)):r()}}}const Rr=function(e,t){var n;t&&t.pendingBranch?p(e)?t.effects.push(...e):t.effects.push(e):(p(n=e)?bn.push(...n):_n&&_n.includes(n,n.allowRecurse?wn+1:wn)||bn.push(n),kn())};function Br(e){return function(e,t){I().__VUE__=!0;const{insert:n,remove:s,patchProp:a,forcePatchProp:l,createElement:u,createText:d,createComment:p,setText:h,setElementText:g,parentNode:m,nextSibling:v,setScopeId:y=i,insertStaticContent:b}=e,w=(e,t,n,o=null,r=null,i=null,s,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Zr(e,t)&&(o=te(e),G(e,r,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Fr:x(e,t,n,o);break;case Hr:T(e,t,n,o);break;case Dr:null==e&&S(t,n,o,s);break;case Vr:F(e,t,n,o,r,i,s,a,l);break;default:1&d?L(e,t,n,o,r,i,s,a,l):6&d?H(e,t,n,o,r,i,s,a,l):(64&d||128&d)&&c.process(e,t,n,o,r,i,s,a,l,re)}null!=u&&r&&Pr(u,e&&e.ref,i,t||e,!t)},x=(e,t,o,r)=>{if(null==e)n(t.el=d(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&h(n,t.children)}},T=(e,t,o,r)=>{null==e?n(t.el=p(t.children||""),o,r):t.el=e.el},S=(e,t,n,o)=>{[e.el,e.anchor]=b(e.children,t,n,o,e.el,e.anchor)},k=({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=v(e),n(e,o,r),e=i;n(t,o,r)},E=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=v(e),s(e),e=n;s(t)},L=(e,t,n,o,r,i,s,a,l)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?A(t,n,o,r,i,s,a,l):j(e,t,r,i,s,a,l)},A=(e,t,o,r,i,s,l,c)=>{let d,f;const{props:p,shapeFlag:h,transition:m,dirs:v}=e;if(d=e.el=u(e.type,s,p&&p.is,p),8&h?g(d,e.children):16&h&&R(e.children,d,null,r,i,Nr(e,s),l,c),v&&io(e,null,r,"created"),P(d,e,e.scopeId,l,r),p){for(const t in p)"value"===t||C(t)||a(d,t,null,p[t],s,e.children,r,i,ee);"value"in p&&a(d,"value",null,p.value,s),(f=p.onVnodeBeforeMount)&&di(f,r,e)}Object.defineProperty(d,"__vueParentComponent",{value:r,enumerable:!1}),v&&io(e,null,r,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(i,m);y&&m.beforeEnter(d),n(d,t,o),((f=p&&p.onVnodeMounted)||y||v)&&Rr((()=>{f&&di(f,r,e),y&&m.enter(d),v&&io(e,null,r,"mounted")}),i)},P=(e,t,n,o,r)=>{if(n&&y(e,n),o)for(let i=0;i{for(let c=l;c{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:f,dirs:p}=t;d|=16&e.patchFlag;const h=e.props||o,m=t.props||o;let v;if(n&&jr(n,!1),(v=m.onVnodeBeforeUpdate)&&di(v,n,t,e),p&&io(t,e,n,"beforeUpdate"),n&&jr(n,!0),f?M(e.dynamicChildren,f,u,n,r,Nr(t,i),s):c||z(e,t,u,null,n,r,Nr(t,i),s,!1),d>0){if(16&d)V(u,t,h,m,n,r,i);else if(2&d&&h.class!==m.class&&a(u,"class",null,m.class,i),4&d&&a(u,"style",h.style,m.style,i),8&d){const o=t.dynamicProps;for(let t=0;t{v&&di(v,n,t,e),p&&io(t,e,n,"updated")}),r)},M=(e,t,n,o,r,i,s)=>{for(let a=0;a{if(n!==r){if(n!==o)for(const o in n)C(o)||o in r||a(e,o,n[o],null,c,t.children,i,s,ee);for(const o in r){if(C(o))continue;const u=r[o],d=n[o];(u!==d&&"value"!==o||l&&l(e,o))&&a(e,o,d,u,c,t.children,i,s,ee)}"value"in r&&a(e,"value",n.value,r.value,c)}},F=(e,t,o,r,i,s,a,l,c)=>{const u=t.el=e?e.el:d(""),f=t.anchor=e?e.anchor:d("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(n(u,o,r),n(f,o,r),R(t.children||[],o,f,i,s,a,l,c)):p>0&&64&p&&h&&e.dynamicChildren?(M(e.dynamicChildren,h,o,i,s,a,l),(null!=t.key||i&&t===i.subTree)&&Mr(e,t,!0)):z(e,t,o,f,i,s,a,l,c)},H=(e,t,n,o,r,i,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,s,l):D(t,n,o,r,i,s,l):W(e,t,l)},D=(e,t,n,r,i,s,a)=>{const l=e.component=function(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||fi,s={uid:pi++,vnode:e,type:r,parent:t,appContext:i,get renderer(){return"app"===r.mpType?"app":this.$pageInstance&&this.$pageInstance==s?"page":"component"},root:null,next:null,subTree:null,effect:null,update:null,scope:new je(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:xr(r,i),emitsOptions:Bn(r,i),emit:null,emitted:null,propsDefaults:o,inheritAttrs:r.inheritAttrs,ctx:o,data:o,props:o,attrs:o,slots:o,refs:o,setupState:o,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,bda:null,da:null,ba:null,a:null,rtg:null,rtc:null,ec:null,sp:null};s.ctx={_:s},s.root=t?t.root:s,s.emit=Pn.bind(null,s),s.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(s);return s}(e,r,i);if(xo(e)&&(l.ctx.renderer=re),function(e,t=!1){t&&vi(t);const{props:n,children:o}=e.vnode,r=_i(e);(function(e,t,n,o=!1){const r={},i={};N(i,Qr,1),e.propsDefaults=Object.create(null),br(e,t,r,i);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);n?e.props=o?r:Dt(r):e.type.props?e.props=r:e.props=i,e.attrs=i})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Yt(t),N(t,"_",n)):$r(t,e.slots={})}else e.slots={},t&&Ar(e,t);N(e.slots,Qr,1)})(e,o);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Gt(new Proxy(e.ctx,Qo));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?function(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(nt(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,r=yi(e);Ue();const i=dn(o,e,0,[e.props,n]);if(ze(),r(),_(i)){if(i.then(bi,bi),t)return i.then((n=>{xi(e,n,t)})).catch((t=>{pn(t,e,0)}));e.asyncDep=i}else xi(e,i,t)}else Ti(e,t)}(e,t):void 0;t&&vi(!1)}(l),l.asyncDep){if(i&&i.registerDep(l,q),!e.el){const e=l.subTree=oi(Hr);T(null,e,t,n)}}else q(l,e,t,n,i,s,a)},W=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||o!==s&&(o?!s||Wn(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?Wn(o,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;tyn&&vn.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},q=(e,t,n,o,r,s,a)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:i,vnode:c}=e;{const n=Ir(e);if(n)return t&&(t.el=c.el,U(e,t,a)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,d=t;jr(e,!1),t?(t.el=c.el,U(e,t,a)):t=c,n&&B(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&di(u,i,t,c),jr(e,!0);const f=Fn(e),p=e.subTree;e.subTree=f,w(p,f,m(p.el),te(p),e,r,s),t.el=f.el,null===d&&function({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,f.el),o&&Rr(o,r),(u=t.props&&t.props.onVnodeUpdated)&&Rr((()=>di(u,i,t,c)),r)}else{let i;const{el:a,props:l}=t,{bm:c,m:u,parent:d}=e,f=bo(t);if(jr(e,!1),c&&B(c),!f&&(i=l&&l.onVnodeBeforeMount)&&di(i,d,t),jr(e,!0),a&&se){const n=()=>{e.subTree=Fn(e),se(a,e.subTree,e,r,null)};f?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const i=e.subTree=Fn(e);w(null,i,n,o,e,r,s),t.el=i.el}if(u&&Rr(u,r),!f&&(i=l&&l.onVnodeMounted)){const e=t;Rr((()=>di(i,d,e)),r)}(256&t.shapeFlag||d&&bo(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&Bo(e.ba),e.a&&Rr(e.a,r)),e.isMounted=!0,t=n=o=null}},c=e.effect=new Ie(l,i,(()=>Cn(u)),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,jr(e,!0),u()},U=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,a=Yt(r),[l]=e.propsOptions;let c=!1;if(!(o||s>0)||16&s){let o;br(e,t,r,i)&&(c=!0);for(const i in a)t&&(f(t,i)||(o=$(i))!==i&&f(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=wr(l,a,i,void 0,e,!0)):delete r[i]);if(i!==a)for(const e in i)t&&f(t,e)||(delete i[e],c=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:r,slots:i}=e;let s=!0,a=o;if(32&r.shapeFlag){const e=t._;e?n&&1===e?s=!1:(c(i,t),n||1!==e||delete i._):(s=!t.$stable,$r(t,i)),a=t}else t&&(Ar(e,t),a={default:1});if(s)for(const o in i)Er(o)||null!=a[o]||delete i[o]})(e,t.children,n),Ue(),En(e),ze()},z=(e,t,n,o,r,i,s,a,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:p}=t;if(f>0){if(128&f)return void K(c,d,n,o,r,i,s,a,l);if(256&f)return void X(c,d,n,o,r,i,s,a,l)}8&p?(16&u&&ee(c,r,i),d!==c&&g(n,d)):16&u?16&p?K(c,d,n,o,r,i,s,a,l):ee(c,r,i,!0):(8&u&&g(n,""),16&p&&R(d,n,o,r,i,s,a,l))},X=(e,t,n,o,i,s,a,l,c)=>{t=t||r;const u=(e=e||r).length,d=t.length,f=Math.min(u,d);let p;for(p=0;pd?ee(e,i,s,!0,!1,f):R(t,n,o,i,s,a,l,c,f)},K=(e,t,n,o,i,s,a,l,c)=>{let u=0;const d=t.length;let f=e.length-1,p=d-1;for(;u<=f&&u<=p;){const o=e[u],r=t[u]=c?li(t[u]):ai(t[u]);if(!Zr(o,r))break;w(o,r,n,null,i,s,a,l,c),u++}for(;u<=f&&u<=p;){const o=e[f],r=t[p]=c?li(t[p]):ai(t[p]);if(!Zr(o,r))break;w(o,r,n,null,i,s,a,l,c),f--,p--}if(u>f){if(u<=p){const e=p+1,r=ep)for(;u<=f;)G(e[u],i,s,!0),u++;else{const h=u,g=u,m=new Map;for(u=g;u<=p;u++){const e=t[u]=c?li(t[u]):ai(t[u]);null!=e.key&&m.set(e.key,u)}let v,y=0;const b=p-g+1;let _=!1,x=0;const T=new Array(b);for(u=0;u=b){G(o,i,s,!0);continue}let r;if(null!=o.key)r=m.get(o.key);else for(v=g;v<=p;v++)if(0===T[v-g]&&Zr(o,t[v])){r=v;break}void 0===r?G(o,i,s,!0):(T[r-g]=u+1,r>=x?x=r:_=!0,w(o,t[r],n,null,i,s,a,l,c),y++)}const S=_?function(e){const t=e.slice(),n=[0];let o,r,i,s,a;const l=e.length;for(o=0;o>1,e[n[a]]0&&(t[o]=n[i-1]),n[i]=o)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(T):r;for(v=S.length-1,u=b-1;u>=0;u--){const e=g+u,r=t[e],f=e+1{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void Y(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void a.move(e,t,o,re);if(a===Vr){n(s,t,o);for(let e=0;el.enter(s)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,a=()=>n(s,t,o),c=()=>{e(s,(()=>{a(),i&&i()}))};r?r(s,a,c):c()}else n(s,t,o)},G=(e,t,n,o=!1,r=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:f}=e;if(null!=a&&Pr(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const p=1&u&&f,h=!bo(e);let g;if(h&&(g=s&&s.onVnodeBeforeUnmount)&&di(g,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);p&&io(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,re,o):c&&(i!==Vr||d>0&&64&d)?ee(c,t,n,!1,!0):(i===Vr&&384&d||!r&&16&u)&&ee(l,t,n),o&&J(e)}(h&&(g=s&&s.onVnodeUnmounted)||p)&&Rr((()=>{g&&di(g,t,e),p&&io(e,null,t,"unmounted")}),n)},J=e=>{const{type:t,el:n,anchor:o,transition:r}=e;if(t===Vr)return void Z(n,o);if(t===Dr)return void E(e);const i=()=>{s(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:o}=r,s=()=>t(n,i);o?o(e.el,i,s):s()}else i()},Z=(e,t)=>{let n;for(;e!==t;)n=v(e),s(e),e=n;s(t)},Q=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:s,um:a}=e;o&&B(o),r.stop(),i&&(i.active=!1,G(s,e,t,n)),a&&Rr(a,t),Rr((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},ee=(e,t,n,o=!1,r=!1,i=0)=>{for(let s=i;s6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():v(e.anchor||e.el);let ne=!1;const oe=(e,t,n)=>{null==e?t._vnode&&G(t._vnode,null,null,!0):w(t._vnode||null,e,t,null,null,null,n),ne||(ne=!0,En(),On(),ne=!1),t._vnode=e},re={p:w,um:G,m:Y,r:J,mt:D,mc:R,pc:z,pbc:M,n:te,o:e};let ie,se;t&&([ie,se]=t(re));return{render:oe,hydrate:ie,createApp:gr(oe,ie)}}(e)}function Nr({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function jr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Mr(e,t,n=!1){const o=e.children,r=t.children;if(p(o)&&p(r))for(let i=0;i0?qr||r:null,Wr.pop(),qr=Wr[Wr.length-1]||null,zr>0&&qr&&qr.push(e),e}function Yr(e,t,n,o,r,i){return Kr(ni(e,t,n,o,r,i,!0))}function Gr(e,t,n,o,r){return Kr(oi(e,t,n,o,r,!0))}function Jr(e){return!!e&&!0===e.__v_isVNode}function Zr(e,t){return e.type===t.type&&e.key===t.key}const Qr="__vInternal",ei=({key:e})=>null!=e?e:null,ti=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?v(e)||nn(e)||m(e)?{i:jn,r:e,k:t,f:!!n}:e:null);function ni(e,t=null,n=null,o=0,r=null,i=(e===Vr?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ei(t),ref:t&&ti(t),scopeId:Mn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:jn};return a?(ci(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=v(n)?8:16),zr>0&&!s&&qr&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&qr.push(l),l}const oi=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==Un||(e=Hr);if(Jr(e)){const o=ri(e,t,!0);return n&&ci(o,n),zr>0&&!i&&qr&&(6&o.shapeFlag?qr[qr.indexOf(e)]=o:qr.push(o)),o.patchFlag|=-2,o}s=e,m(s)&&"__vccOpts"in s&&(e=e.__vccOpts);var s;if(t){t=function(e){return e?Kt(e)||Qr in e?c({},e):e:null}(t);let{class:e,style:n}=t;e&&!v(e)&&(t.class=ce(e)),b(n)&&(Kt(n)&&!p(n)&&(n=c({},n)),t.style=le(n))}const a=v(e)?1:Yn(e)?128:(e=>e.__isTeleport)(e)?64:b(e)?4:m(e)?2:0;return ni(e,t,n,o,r,a,i,!0)};function ri(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:s}=e,a=t?ui(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&ei(a),ref:t&&t.ref?n&&r?p(r)?r.concat(ti(t)):[r,ti(t)]:ti(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Vr?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ri(e.ssContent),ssFallback:e.ssFallback&&ri(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function ii(e=" ",t=0){return oi(Fr,null,e,t)}function si(e="",t=!1){return t?(Ur(),Gr(Hr,null,e)):oi(Hr,null,e)}function ai(e){return null==e||"boolean"==typeof e?oi(Hr):p(e)?oi(Vr,null,e.slice()):"object"==typeof e?li(e):oi(Fr,null,String(e))}function li(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ri(e)}function ci(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(p(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),ci(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Qr in t?3===o&&jn&&(1===jn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=jn}}else m(t)?(t={default:t,_ctx:jn},n=32):(t=String(t),64&o?(n=16,t=[ii(t)]):n=8);e.children=t,e.shapeFlag|=n}function ui(...e){const t={};for(let n=0;nhi||jn;let mi,vi;{const e=I(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach((t=>t(e))):o[0](e)}};mi=t("__VUE_INSTANCE_SETTERS__",(e=>hi=e)),vi=t("__VUE_SSR_SETTERS__",(e=>wi=e))}const yi=e=>{const t=hi;return mi(e),e.scope.on(),()=>{e.scope.off(),mi(t)}},bi=()=>{hi&&hi.scope.off(),mi(null)};function _i(e){return 4&e.vnode.shapeFlag}let wi=!1;function xi(e,t,n){m(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:b(t)&&(e.setupState=un(t)),Ti(e,n)}function Ti(e,t,n){const o=e.type;e.render||(e.render=o.render||i);{const t=yi(e);Ue();try{nr(e)}finally{ze(),t()}}}function Si(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(un(Gt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Jo?Jo[n](e):void 0,has:(e,t)=>t in e||t in Jo}))}function Ci(e,t=!0){return m(e)?e.displayName||e.name:e.name||t&&e.__name}const ki=(e,t)=>{const n=function(e,t,n=!1){let o,r;const s=m(e);return s?(o=e,r=i):(o=e.get,r=e.set),new Qt(o,r,s||!r,n)}(e,0,wi);return n};function Ei(e,t,n){const o=arguments.length;return 2===o?b(t)&&!p(t)?Jr(t)?oi(e,null,[t]):oi(e,t):oi(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Jr(n)&&(n=[n]),oi(e,t,n))}const Oi="3.4.21",Li="undefined"!=typeof document?document:null,$i=Li&&Li.createElement("template"),Ai={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r="svg"===t?Li.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Li.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Li.createElement(e,{is:n}):Li.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Li.createTextNode(e),createComment:e=>Li.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Li.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const s=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{$i.innerHTML="svg"===o?`${e}`:"mathml"===o?`${e}`:e;const r=$i.content;if("svg"===o||"mathml"===o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Pi="transition",Ri=Symbol("_vtc"),Bi=(e,{slots:t})=>Ei(uo,function(e){const t={};for(const c in e)c in Ni||(t[c]=e[c]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=s,appearToClass:d=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if(b(e))return[Ii(e.enter),Ii(e.leave)];{const t=Ii(e);return[t,t]}}(r),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:w,onLeave:x,onLeaveCancelled:T,onBeforeAppear:S=y,onAppear:C=_,onAppearCancelled:k=w}=t,E=(e,t,n)=>{Fi(e,t?d:a),Fi(e,t?u:s),n&&n()},O=(e,t)=>{e._isLeaving=!1,Fi(e,f),Fi(e,h),Fi(e,p),t&&t()},L=e=>(t,n)=>{const r=e?C:_,s=()=>E(t,e,n);ji(r,[t,s]),Hi((()=>{Fi(t,e?l:i),Vi(t,e?d:a),Mi(r)||Wi(t,o,m,s)}))};return c(t,{onBeforeEnter(e){ji(y,[e]),Vi(e,i),Vi(e,s)},onBeforeAppear(e){ji(S,[e]),Vi(e,l),Vi(e,u)},onEnter:L(!1),onAppear:L(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>O(e,t);Vi(e,f),document.body.offsetHeight,Vi(e,p),Hi((()=>{e._isLeaving&&(Fi(e,f),Vi(e,h),Mi(x)||Wi(e,o,v,n))})),ji(x,[e,n])},onEnterCancelled(e){E(e,!1),ji(w,[e])},onAppearCancelled(e){E(e,!0),ji(k,[e])},onLeaveCancelled(e){O(e),ji(T,[e])}})}(e),t);Bi.displayName="Transition";const Ni={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Bi.props=c({},co,Ni);const ji=(e,t=[])=>{p(e)?e.forEach((e=>e(...t))):e&&e(...t)},Mi=e=>!!e&&(p(e)?e.some((e=>e.length>1)):e.length>1);function Ii(e){const t=(e=>{const t=v(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Vi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[Ri]||(e[Ri]=new Set)).add(t)}function Fi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[Ri];n&&(n.delete(t),n.size||(e[Ri]=void 0))}function Hi(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Di=0;function Wi(e,t,n,o){const r=e._endId=++Di,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o("transitionDelay"),i=o("transitionDuration"),s=qi(r,i),a=o("animationDelay"),l=o("animationDuration"),c=qi(a,l);let u=null,d=0,f=0;t===Pi?s>0&&(u=Pi,d=s,f=i.length):"animation"===t?c>0&&(u="animation",d=c,f=l.length):(d=Math.max(s,c),u=d>0?s>c?Pi:"animation":null,f=u?u===Pi?i.length:l.length:0);const p=u===Pi&&/\b(transform|all)(,|$)/.test(o("transitionProperty").toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}(e,t);if(!s)return o();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{uUi(t)+Ui(e[n]))))}function Ui(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const zi=Symbol("_vod"),Xi=Symbol("_vsh"),Ki={beforeMount(e,{value:t},{transition:n}){e[zi]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Yi(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Yi(e,!0),o.enter(e)):o.leave(e,(()=>{Yi(e,!1)})):Yi(e,t))},beforeUnmount(e,{value:t}){Yi(e,t)}};function Yi(e,t){e.style.display=t?e[zi]:"none",e[Xi]=!t}const Gi=Symbol(""),Ji=/(^|;)\s*display\s*:/;const Zi=/\s*!important$/;function Qi(e,t,n){if(p(n))n.forEach((n=>Qi(e,t,n)));else if(null==n&&(n=""),n=cs(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=ts[t];if(n)return n;let o=O(t);if("filter"!==o&&o in e)return ts[t]=o;o=A(o);for(let r=0;re.replace(me,((e,t)=>{if(!t)return e;if(1===as)return`${t}${ss}`;const n=function(e,t){const n=Math.pow(10,t+1),o=Math.floor(e*n);return 10*Math.round(o/10)/n}(parseFloat(t)*as,ls);return 0===n?"0":`${n}${ss}`})));var ss,as,ls;const cs=e=>v(e)?is(e):e,us="http://www.w3.org/1999/xlink";const ds=Symbol("_vei");function fs(e,t,n,o,r=null){const i=e[ds]||(e[ds]={}),s=i[t];if(o&&s)s.value=o;else{const[n,a]=function(e){let t;if(ps.test(e)){let n;for(t={};n=e.match(ps);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):$(e.slice(2)),t]}(t);if(o){const s=i[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const o=t&&t.proxy,r=o&&o.$nne,{value:i}=n;if(r&&p(i)){const n=ms(e,i);for(let o=0;ohs||(gs.then((()=>hs=0)),hs=Date.now()))(),n}(o,r);!function(e,t,n,o){e.addEventListener(t,n,o)}(e,n,s,a)}else s&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,s,a),i[t]=void 0)}}const ps=/(?:Once|Passive|Capture)$/;let hs=0;const gs=Promise.resolve();function ms(e,t){if(p(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>{const t=t=>!t._stopped&&e&&e(t);return t.__wwe=e.__wwe,t}))}return t}const vs=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const ys=["ctrl","shift","alt","meta"],bs={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>ys.some((n=>e[`${n}Key`]&&!t.includes(n)))},_s=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(n,...o)=>{for(let e=0;e{if(0===t.indexOf("change:"))return function(e,t,n,o=null){if(!n||!o)return;const r=t.replace("change:",""),{attrs:i}=o,s=i[r],a=(e.__wxsProps||(e.__wxsProps={}))[r];if(a===s)return;e.__wxsProps[r]=s;const l=o.proxy;Sn((()=>{n(s,a,l.$gcd(l,!0),l.$gcd(l,!1))}))}(e,t,o,s);const d="svg"===r;"class"===t?function(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:r}=e;r&&r.length&&(t=(t||"").split(/\s+/).filter((e=>-1===r.indexOf(e))).join(" "),r.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const i=e[Ri];i&&(t=(t?[t,...i]:[...i]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,d):"style"===t?function(e,t,n){const o=e.style,r=v(n);let i=!1;if(n&&!r){if(t)if(v(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&Qi(o,t,"")}else for(const e in t)null==n[e]&&Qi(o,e,"");for(const e in n)"display"===e&&(i=!0),Qi(o,e,n[e])}else if(r){if(t!==n){const e=o[Gi];e&&(n+=";"+e),o.cssText=n,i=Ji.test(n)}}else t&&e.removeAttribute("style");zi in e&&(e[zi]=i?o.display:"",e[Xi]&&(o.display="none"));const{__wxsStyle:s}=e;if(s)for(const a in s)Qi(o,a,s[a])}(e,n,o):a(t)?l(t)||fs(e,t,0,o,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&vs(t)&&m(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(vs(t)&&v(n))return!1;return t in e}(e,t,o,d))?function(e,t,n,o,r,i,s){if("innerHTML"===t||"textContent"===t)return o&&s(o,r,i),void(e[t]=null==n?"":n);const a=e.tagName;if("value"===t&&"PROGRESS"!==a&&!a.includes("-")){const o=null==n?"":n;return("OPTION"===a?e.getAttribute("value")||"":e.value)===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let l=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=z(n):null==n&&"string"===o?(n="",l=!0):"number"===o&&(n=0,l=!0)}try{e[t]=n}catch(c){}l&&e.removeAttribute(t)}(e,t,o,i,s,c,u):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,r){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(us,t.slice(6,t.length)):e.setAttributeNS(us,t,n);else{const o=U(t);null==n||o&&!z(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,d))},forcePatchProp:(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0))},Ai);let xs;const Ts=(...e)=>{const t=(xs||(xs=Br(ws))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(v(e)){return document.querySelector(e)}return e} -/*! - * vue-router v4.4.4 - * (c) 2024 Eduardo San Martin Morote - * @license MIT - */(e);if(!o)return;const r=t._component;m(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};const Ss="undefined"!=typeof document;function Cs(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const ks=Object.assign;function Es(e,t){const n={};for(const o in t){const r=t[o];n[o]=Ls(r)?r.map(e):e(r)}return n}const Os=()=>{},Ls=Array.isArray,$s=/#/g,As=/&/g,Ps=/\//g,Rs=/=/g,Bs=/\?/g,Ns=/\+/g,js=/%5B/g,Ms=/%5D/g,Is=/%5E/g,Vs=/%60/g,Fs=/%7B/g,Hs=/%7C/g,Ds=/%7D/g,Ws=/%20/g;function qs(e){return encodeURI(""+e).replace(Hs,"|").replace(js,"[").replace(Ms,"]")}function Us(e){return qs(e).replace(Ns,"%2B").replace(Ws,"+").replace($s,"%23").replace(As,"%26").replace(Vs,"`").replace(Fs,"{").replace(Ds,"}").replace(Is,"^")}function zs(e){return null==e?"":function(e){return qs(e).replace($s,"%23").replace(Bs,"%3F")}(e).replace(Ps,"%2F")}function Xs(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Ks=/\/$/;function Ys(e,t,n="/"){let o,r={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),r=e(i)),a>-1&&(o=o||t.slice(0,a),s=t.slice(a,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];".."!==r&&"."!==r||o.push("");let i,s,a=n.length-1;for(i=0;i1&&a--}return n.slice(0,a).join("/")+"/"+o.slice(i).join("/")}(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+s,path:o,query:r,hash:Xs(s)}}function Gs(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Js(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Zs(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Qs(e[n],t[n]))return!1;return!0}function Qs(e,t){return Ls(e)?ea(e,t):Ls(t)?ea(t,e):e===t}function ea(e,t){return Ls(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}const ta={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var na,oa,ra,ia;function sa(e){if(!e)if(Ss){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Ks,"")}(oa=na||(na={})).pop="pop",oa.push="push",(ia=ra||(ra={})).back="back",ia.forward="forward",ia.unknown="";const aa=/^[^#]+#/;function la(e,t){return e.replace(aa,"#")+t}const ca=()=>({left:window.scrollX,top:window.scrollY});function ua(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function da(e,t){return(history.state?history.state.position-t:-1)+e}const fa=new Map;function pa(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let t=r.includes(e.slice(i))?e.slice(i).length:1,n=r.slice(t);return"/"!==n[0]&&(n="/"+n),Gs(n,"")}return Gs(n,e)+o+r}function ha(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?ca():null}}function ga(e){const{history:t,location:n}=window,o={value:pa(e,n)},r={value:t.state};function i(o,i,s){const a=e.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+o:location.protocol+"//"+location.host+e+o;try{t[s?"replaceState":"pushState"](i,"",l),r.value=i}catch(c){console.error(c),n[s?"replace":"assign"](l)}}return r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const s=ks({},r.value,t.state,{forward:e,scroll:ca()});i(s.current,s,!0),i(e,ks({},ha(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){i(e,ks({},t.state,ha(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function ma(e){const t=ga(e=sa(e)),n=function(e,t,n,o){let r=[],i=[],s=null;const a=({state:i})=>{const a=pa(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=a,t.value=i,s&&s===l)return void(s=null);u=c?i.position-c.position:0}else o(a);r.forEach((e=>{e(n.value,l,{delta:u,type:na.pop,direction:u?u>0?ra.forward:ra.back:ra.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(ks({},e.state,{scroll:ca()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){s=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=ks({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:la.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function va(e){return"string"==typeof e||"symbol"==typeof e}const ya=Symbol("");var ba,_a;function wa(e,t){return ks(new Error,{type:e,[ya]:!0},t)}function xa(e,t){return e instanceof Error&&ya in e&&(null==t||!!(e.type&t))}(_a=ba||(ba={}))[_a.aborted=4]="aborted",_a[_a.cancelled=8]="cancelled",_a[_a.duplicated=16]="duplicated";const Ta={sensitive:!1,strict:!1,start:!0,end:!0},Sa=/[.+*?^${}()[\]/\\]/g;function Ca(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function ka(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const Oa={type:0,value:""},La=/[a-zA-Z0-9_]/;function $a(e,t,n){const o=function(e,t){const n=ks({},Ta,t),o=[];let r=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(r+="/");for(let t=0;t1&&("*"===a||"+"===a)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),c="")}function f(){c+=a}for(;l{i(f)}:Os}function i(e){if(va(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function s(e){const t=function(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;ka(e,t[r])<0?o=r:n=r+1}const r=function(e){let t=e;for(;t=t.parent;)if(Ma(t)&&0===ka(e,t))return t;return}(e);r&&(o=t.lastIndexOf(r,o-1));return o}(e,n);n.splice(t,0,e),e.record.name&&!Ba(e)&&o.set(e.record.name,e)}return t=ja({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,i,s,a={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw wa(1,{location:e});s=r.record.name,a=ks(Pa(t.params,r.keys.filter((e=>!e.optional)).concat(r.parent?r.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&Pa(e.params,r.keys.map((e=>e.name)))),i=r.stringify(a)}else if(null!=e.path)i=e.path,r=n.find((e=>e.re.test(i))),r&&(a=r.parse(i),s=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw wa(1,{location:e,currentLocation:t});s=r.record.name,a=ks({},t.params,e.params),i=r.stringify(a)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:i,params:a,matched:l,meta:Na(l)}},removeRoute:i,clearRoutes:function(){n.length=0,o.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function Pa(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Ra(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]="object"==typeof n?n[o]:n;return t}function Ba(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Na(e){return e.reduce(((e,t)=>ks(e,t.meta)),{})}function ja(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Ma({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ia(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&Us(e))):[o&&Us(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Fa(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=Ls(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const Ha=Symbol(""),Da=Symbol(""),Wa=Symbol(""),qa=Symbol(""),Ua=Symbol("");function za(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function Xa(e,t,n,o,r,i=(e=>e())){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((a,l)=>{const c=e=>{var i;!1===e?l(wa(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(wa(2,{from:t,to:e})):(s&&o.enterCallbacks[r]===s&&"function"==typeof e&&s.push(e),a())},u=i((()=>e.call(o&&o.instances[r],t,n,c)));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch((e=>l(e)))}))}function Ka(e,t,n,o,r=(e=>e())){const i=[];for(const s of e)for(const e in s.components){let a=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if(Cs(a)){const l=(a.__vccOpts||a)[t];l&&i.push(Xa(l,n,o,s,e,r))}else{let l=a();i.push((()=>l.then((i=>{if(!i)throw new Error(`Couldn't resolve component "${e}" at "${s.path}"`);const a=(l=i).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&Cs(l.default)?i.default:i;var l;s.mods[e]=i,s.components[e]=a;const c=(a.__vccOpts||a)[t];return c&&Xa(c,n,o,s,e,r)()}))))}}return i}function Ya(e){const t=yr(Wa),n=yr(qa),o=ki((()=>{const n=ln(e.to);return t.resolve(n)})),r=ki((()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const s=i.findIndex(Js.bind(null,r));if(s>-1)return s;const a=Ja(e[t-2]);return t>1&&Ja(r)===a&&i[i.length-1].path!==a?i.findIndex(Js.bind(null,e[t-2])):s})),i=ki((()=>r.value>-1&&function(e,t){for(const n in t){const o=t[n],r=e[n];if("string"==typeof o){if(o!==r)return!1}else if(!Ls(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(n.params,o.value.params))),s=ki((()=>r.value>-1&&r.value===n.matched.length-1&&Zs(n.params,o.value.params)));return{route:o,href:ki((()=>o.value.href)),isActive:i,isExactActive:s,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[ln(e.replace)?"replace":"push"](ln(e.to)).catch(Os):Promise.resolve()}}}const Ga=yo({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ya,setup(e,{slots:t}){const n=Ht(Ya(e)),{options:o}=yr(Wa),r=ki((()=>({[Za(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Za(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ei("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function Ja(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Za=(e,t,n)=>null!=e?e:null!=t?t:n;function Qa(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const el=yo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=yr(Ua),r=ki((()=>e.route||o.value)),i=yr(Da,0),s=ki((()=>{let e=ln(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),a=ki((()=>r.value.matched[s.value]));vr(Da,ki((()=>s.value+1))),vr(Ha,a),vr(Ua,r);const l=on();return Qn((()=>[l.value,a.value,e.name]),(([e,t,n],[o,r,i])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&Js(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=r.value,i=e.name,s=a.value,c=s&&s.components[i];if(!c)return Qa(n.default,{Component:c,route:o});const u=s.props[i],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,f=Ei(c,ks({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:l}));return Qa(n.default,{Component:f,route:o})||f}}});function tl(e){const t=Aa(e.routes,e),n=e.parseQuery||Ia,o=e.stringifyQuery||Va,r=e.history,i=za(),s=za(),a=za(),l=rn(ta);let c=ta;Ss&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Es.bind(null,(e=>""+e)),d=Es.bind(null,zs),f=Es.bind(null,Xs);function p(e,i){if(i=ks({},i||l.value),"string"==typeof e){const o=Ys(n,e,i.path),s=t.resolve({path:o.path},i),a=r.createHref(o.fullPath);return ks(o,s,{params:f(s.params),hash:Xs(o.hash),redirectedFrom:void 0,href:a})}let s;if(null!=e.path)s=ks({},e,{path:Ys(n,e.path,i.path).path});else{const t=ks({},e.params);for(const e in t)null==t[e]&&delete t[e];s=ks({},e,{params:d(t)}),i.params=d(i.params)}const a=t.resolve(s,i),c=e.hash||"";a.params=u(f(a.params));const p=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,ks({},e,{hash:(h=c,qs(h).replace(Fs,"{").replace(Ds,"}").replace(Is,"^")),path:a.path}));var h;const g=r.createHref(p);return ks({fullPath:p,hash:c,query:o===Va?Fa(e.query):e.query||{}},a,{redirectedFrom:void 0,href:g})}function h(e){return"string"==typeof e?Ys(n,e,l.value.path):ks({},e)}function g(e,t){if(c!==e)return wa(8,{from:t,to:e})}function m(e){return y(e)}function v(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=h(o):{path:o},o.params={}),ks({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=c=p(e),r=l.value,i=e.state,s=e.force,a=!0===e.replace,u=v(n);if(u)return y(ks(h(u),{state:"object"==typeof u?ks({},i,u.state):i,force:s,replace:a}),t||n);const d=n;let f;return d.redirectedFrom=t,!s&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Js(t.matched[o],n.matched[r])&&Zs(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(f=wa(16,{to:d,from:r}),A(r,r,!0,!1)),(f?Promise.resolve(f):w(d,r)).catch((e=>xa(e)?xa(e,2)?e:$(e):L(e,d,r))).then((e=>{if(e){if(xa(e,2))return y(ks({replace:a},h(e.to),{state:"object"==typeof e.to?ks({},i,e.to.state):i,force:s}),t||d)}else e=T(d,r,!0,a,i);return x(d,r,e),e}))}function b(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=B.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,r,a]=function(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;sJs(e,i)))?o.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find((e=>Js(e,a)))||r.push(a))}return[n,o,r]}(e,t);n=Ka(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(Xa(o,e,t))}));const l=b.bind(null,e,t);return n.push(l),j(n).then((()=>{n=[];for(const o of i.list())n.push(Xa(o,e,t));return n.push(l),j(n)})).then((()=>{n=Ka(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(Xa(o,e,t))}));return n.push(l),j(n)})).then((()=>{n=[];for(const o of a)if(o.beforeEnter)if(Ls(o.beforeEnter))for(const r of o.beforeEnter)n.push(Xa(r,e,t));else n.push(Xa(o.beforeEnter,e,t));return n.push(l),j(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Ka(a,"beforeRouteEnter",e,t,_),n.push(l),j(n)))).then((()=>{n=[];for(const o of s.list())n.push(Xa(o,e,t));return n.push(l),j(n)})).catch((e=>xa(e,8)?e:Promise.reject(e)))}function x(e,t,n){a.list().forEach((o=>_((()=>o(e,t,n)))))}function T(e,t,n,o,i){const s=g(e,t);if(s)return s;const a=t===ta,c=Ss?history.state:{};n&&(o||a?r.replace(e.fullPath,ks({scroll:a&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,A(e,t,n,a),$()}let S;function C(){S||(S=r.listen(((e,t,n)=>{if(!N.listening)return;const o=p(e),i=v(o);if(i)return void y(ks(i,{replace:!0}),o).catch(Os);c=o;const s=l.value;var a,u;Ss&&(a=da(s.fullPath,n.delta),u=ca(),fa.set(a,u)),w(o,s).catch((e=>xa(e,12)?e:xa(e,2)?(y(e.to,o).then((e=>{xa(e,20)&&!n.delta&&n.type===na.pop&&r.go(-1,!1)})).catch(Os),Promise.reject()):(n.delta&&r.go(-n.delta,!1),L(e,o,s)))).then((e=>{(e=e||T(o,s,!1))&&(n.delta&&!xa(e,8)?r.go(-n.delta,!1):n.type===na.pop&&xa(e,20)&&r.go(-1,!1)),x(o,s,e)})).catch(Os)})))}let k,E=za(),O=za();function L(e,t,n){$(e);const o=O.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function $(e){return k||(k=!e,C(),E.list().forEach((([t,n])=>e?n(e):t())),E.reset()),e}function A(t,n,o,r){const{scrollBehavior:i}=e;if(!Ss||!i)return Promise.resolve();const s=!o&&function(e){const t=fa.get(e);return fa.delete(e),t}(da(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return Sn().then((()=>i(t,n,s))).then((e=>e&&ua(e))).catch((e=>L(e,t,n)))}const P=e=>r.go(e);let R;const B=new Set,N={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return va(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:p,options:e,push:m,replace:function(e){return m(ks(h(e),{replace:!0}))},go:P,back:()=>P(-1),forward:()=>P(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:O.add,isReady:function(){return k&&l.value!==ta?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",Ga),e.component("RouterView",el),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>ln(l)}),Ss&&!R&&l.value===ta&&(R=!0,m(r.location).catch((e=>{})));const t={};for(const o in ta)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Wa,this),e.provide(qa,Dt(t)),e.provide(Ua,l);const n=e.unmount;B.add(e),e.unmount=function(){B.delete(e),B.size<1&&(c=ta,S&&S(),S=null,l.value=ta,R=!1,k=!1),n()}}};function j(e){return e.reduce(((e,t)=>e.then((()=>_(t)))),Promise.resolve())}return N}function nl(e){return yr(qa)}const ol=["{","}"];const rl=/^(?:\d)+/,il=/^(?:\w)+/;const sl=Object.prototype.hasOwnProperty,al=(e,t)=>sl.call(e,t),ll=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=ol){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r-1?"zh-Hans":e.indexOf("-hant")>-1?"zh-Hant":(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?"zh-Hant":"zh-Hans");var n;let o=["en","fr","es"];t&&Object.keys(t).length>0&&(o=Object.keys(t));const r=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,o);return r||void 0}class ul{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||ll,this.messages=n||{},this.setLocale(e||"en"),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=cl(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach((e=>{e(this.locale,t)}))}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t,n=!0){const o=this.messages[e];o?n?Object.assign(o,t):Object.keys(t).forEach((e=>{al(o,e)||(o[e]=t[e])})):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){let o=this.message;return"string"==typeof t?(t=cl(t,this.messages))&&(o=this.messages[t]):n=t,al(o,e)?this.formater.interpolate(o[e],n).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function dl(e,t={},n,o){if("string"!=typeof e){const n=[t,e];e=n[0],t=n[1]}"string"!=typeof e&&(e="undefined"!=typeof uni&&Ku?Ku():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const r=new ul({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=Cp().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}(o,r))),r.t(t,n)}}return i(e,t)};return{i18n:r,f:(e,t,n)=>r.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>r.add(e,t,n),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}}const fl=fe((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let pl;function hl(){if(!pl){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,pl=dl(e),fl()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>pl.add(e,__uniConfig.locales[e]))),pl.setLocale(e)}}return pl}function gl(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const ml=fe((()=>{const e="uni.async.",t=["error"];hl().add("en",gl(e,t,["The connection timed out, click the screen to try again."]),!1),hl().add("es",gl(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),hl().add("fr",gl(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),hl().add("zh-Hans",gl(e,t,["连接服务器超时,点击屏幕重试"]),!1),hl().add("zh-Hant",gl(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),vl=fe((()=>{const e="uni.showToast.",t=["unpaired"];hl().add("en",gl(e,t,["Please note showToast must be paired with hideToast"]),!1),hl().add("es",gl(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),hl().add("fr",gl(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),hl().add("zh-Hans",gl(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),hl().add("zh-Hant",gl(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),yl=fe((()=>{const e="uni.showLoading.",t=["unpaired"];hl().add("en",gl(e,t,["Please note showLoading must be paired with hideLoading"]),!1),hl().add("es",gl(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),hl().add("fr",gl(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),hl().add("zh-Hans",gl(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),hl().add("zh-Hant",gl(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),bl=fe((()=>{const e="uni.showModal.",t=["cancel","confirm"];hl().add("en",gl(e,t,["Cancel","OK"]),!1),hl().add("es",gl(e,t,["Cancelar","OK"]),!1),hl().add("fr",gl(e,t,["Annuler","OK"]),!1),hl().add("zh-Hans",gl(e,t,["取消","确定"]),!1),hl().add("zh-Hant",gl(e,t,["取消","確定"]),!1)})),_l=fe((()=>{const e="uni.video.",t=["danmu","volume"];hl().add("en",gl(e,t,["Danmu","Volume"]),!1),hl().add("es",gl(e,t,["Danmu","Volumen"]),!1),hl().add("fr",gl(e,t,["Danmu","Le Volume"]),!1),hl().add("zh-Hans",gl(e,t,["弹幕","音量"]),!1),hl().add("zh-Hant",gl(e,t,["彈幕","音量"]),!1)}));function wl(e){const t=new $e;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}let xl=1;const Tl=Object.create(null);function Sl(e,t){return e+"."+t}function Cl(e,t,n){t=Sl(e,t),Tl[t]||(Tl[t]=n)}function kl({id:e,name:t,args:n},o){t=Sl(o,t);const r=t=>{e&&jh.publishHandler("invokeViewApi."+e,t)},i=Tl[t];i?i(n,r):r({})}const El=c(wl("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=jh,i=n?xl++:0;n&&o("invokeServiceApi."+i,n,!0),r("invokeServiceApi",{id:i,name:e,args:t})}}),Ol=ve(!0);let Ll;function $l(){Ll&&(clearTimeout(Ll),Ll=null)}let Al=0,Pl=0;function Rl(e){if($l(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Al=t,Pl=n,Ll=setTimeout((function(){const t=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});t.touches=e.touches,t.changedTouches=e.changedTouches,e.target.dispatchEvent(t)}),350)}function Bl(e){if(!Ll)return;if(1!==e.touches.length)return $l();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Al)>10||Math.abs(n-Pl)>10?$l():void 0}function Nl(e,t){const n=Number(e);return isNaN(n)?t:n}const jl=()=>/^Apple/.test(navigator.vendor);function Ml(){const e=__uniConfig.globalStyle||{},t=Nl(e.rpxCalcMaxDeviceWidth,960),n=Nl(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=jl()&&"number"==typeof window.orientation,t=e&&90===Math.abs(window.orientation);var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width;return e?Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n:Math.min(window.innerWidth,document.documentElement.clientWidth)}();e=e<=t?e:n,document.documentElement.style.fontSize=e/23.4375+"px"}o(),document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o),window.addEventListener("resize",o),jl()&&window.addEventListener("orientationchange",(()=>{o(),setTimeout(o,50)}))}function Il(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vl,Fl,Hl=["top","left","right","bottom"],Dl={};function Wl(){return Fl="CSS"in window&&"function"==typeof CSS.supports?CSS.supports("top: env(safe-area-inset-top)")?"env":CSS.supports("top: constant(safe-area-inset-top)")?"constant":"":""}function ql(){if(Fl="string"==typeof Fl?Fl:Wl()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(a){}var o=document.createElement("div");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),Hl.forEach((function(e){s(o,e)})),document.body.appendChild(o),i(),Vl=!0}else Hl.forEach((function(e){Dl[e]=0}));function r(e,t){var n=e.style;Object.keys(t).forEach((function(e){var o=t[e];n[e]=o}))}function i(t){t?e.push(t):e.forEach((function(e){e()}))}function s(e,n){var o=document.createElement("div"),s=document.createElement("div"),a=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Fl+"(safe-area-inset-"+n+")"};r(o,c),r(s,c),r(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(a),s.appendChild(l),e.appendChild(o),e.appendChild(s),i((function(){o.scrollTop=s.scrollTop=1e4;var e=o.scrollTop,r=s.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,r=s.scrollTop,function(e){zl.length||setTimeout((function(){var e={};zl.forEach((function(t){e[t]=Dl[t]})),zl.length=0,Xl.forEach((function(t){t(e)}))}),0);zl.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(Dl,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function Ul(e){return Vl||ql(),Dl[e]}var zl=[];var Xl=[];const Kl=Il({get support(){return 0!=("string"==typeof Fl?Fl:Wl()).length},get top(){return Ul("top")},get left(){return Ul("left")},get right(){return Ul("right")},get bottom(){return Ul("bottom")},onChange:function(e){Wl()&&(Vl||ql(),"function"==typeof e&&Xl.push(e))},offChange:function(e){var t=Xl.indexOf(e);t>=0&&Xl.splice(t,1)}}),Yl=_s((()=>{}),["prevent"]),Gl=_s((e=>{}),["stop"]);function Jl(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Zl(){const e=Jl(document.documentElement.style,"--window-top");return e?e+Kl.top:0}function Ql(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function ec(e){return Symbol(e)}function tc(e){return e.$page}function nc(e){return 0===e.tagName.indexOf("UNI-")}const oc="M1.952 18.080q-0.32-0.352-0.416-0.88t0.128-0.976l0.16-0.352q0.224-0.416 0.64-0.528t0.8 0.176l6.496 4.704q0.384 0.288 0.912 0.272t0.88-0.336l17.312-14.272q0.352-0.288 0.848-0.256t0.848 0.352l-0.416-0.416q0.32 0.352 0.32 0.816t-0.32 0.816l-18.656 18.912q-0.32 0.352-0.8 0.352t-0.8-0.32l-7.936-8.064z",rc="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM15.136 8.672h1.728q0.128 0 0.224 0.096t0.096 0.256l-0.384 10.24q0 0.064-0.048 0.112t-0.112 0.048h-1.248q-0.096 0-0.144-0.048t-0.048-0.112l-0.384-10.24q0-0.16 0.096-0.256t0.224-0.096zM16 23.328q-0.48 0-0.832-0.352t-0.352-0.848 0.352-0.848 0.832-0.352 0.832 0.352 0.352 0.848-0.352 0.848-0.832 0.352z";function ic(e,t="#000",n=27){return oi("svg",{width:n,height:n,viewBox:"0 0 32 32"},[oi("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function sc(){{const{$pageInstance:e}=gi();return e&&hc(e.proxy)}}function ac(){const e=Bd(),t=e.length;if(t)return e[t-1]}function lc(){var e;const t=null==(e=ac())?void 0:e.$page;if(t)return t.meta}function cc(){const e=lc();return e?e.id:-1}function uc(){const e=ac();if(e)return e.$vm}const dc=["navigationBar","pullToRefresh"];function fc(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);dc.forEach((t=>{o[t]=c({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function pc(e,t,n,o,r,i){const{id:s,route:a}=o,l=Re(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:s,path:de(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}function hc(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function gc(e,t,n){if(v(e))n=t,t=e,e=uc();else if("number"==typeof e){const t=Bd().find((t=>tc(t).id===e));e=t?t.$vm:uc()}if(!e)return;const o=e.$[t];return"onBackPress"===t?o&&(r=o,i=n,r.map((e=>e(i)))).some((e=>!0===e)):o&&((e,t)=>{let n;for(let o=0;o{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-yc)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(yc=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(vc=setTimeout(s,300))),o=!1};return function(){clearTimeout(vc),o||requestAnimationFrame(s),o=!0}}function _c(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return _c(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r0?e.split("/"):[];return i.splice(i.length-r-1,r+1),de(i.concat(n).join("/"))}function wc(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}function xc(){Ml(),he(nc),window.addEventListener("touchstart",Rl,Ol),window.addEventListener("touchmove",Bl,Ol),window.addEventListener("touchend",$l,Ol),window.addEventListener("touchcancel",$l,Ol)}class Tc{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(ae(n.el))return t?n.el?[n.el]:[]:n.el;const{subTree:o}=e;if(16&o.shapeFlag){const e=o.children.filter((e=>e.el&&ae(e.el)));if(e.length>0)return t?e.map((e=>e.el)):e[0].el}return t?n.el?[n.el]:[]:n.el}(e.$),this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(e){if(!this.$el||!e)return;const t=Ec(this.$el.querySelector(e));return t?Sc(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let o=0;o-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];m(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&jh.publishHandler("onWxsInvokeCallMethod",{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:e,args:t})}requestAnimationFrame(e){return window.requestAnimationFrame(e)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(e,t={}){return this.$vm.$emit(e,t),this}getComputedStyle(e){if(this.$el){const t=window.getComputedStyle(this.$el);return e&&e.length?e.reduce(((e,n)=>(e[n]=t[n],e)),{}):t}return{}}setTimeout(e,t){return window.setTimeout(e,t)}clearTimeout(e){return window.clearTimeout(e)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function Sc(e,t=!0){if(t&&e&&(e=se(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Tc(e)),e.$el.__wxsComponentDescriptor}function Cc(e,t){return Sc(e,t)}function kc(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Cc(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=se(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,Cc(r,!1)]}}function Ec(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Oc(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let s,a;s=ye(t?r:function(e){for(;!nc(e);)e=e.parentElement;return e}(r)),a=ye(i);const l={type:n,timeStamp:o,target:s,detail:{},currentTarget:a};return e instanceof CustomEvent&&T(e.detail)&&(l.detail=e.detail),e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),function(e,t){c(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function Lc(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function $c(e,t){const n=[];for(let o=0;o0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Zl();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Lc(t,n)]}(i,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=Zl();i.touches=$c(e.touches,t),i.changedTouches=$c(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach((t=>{Object.defineProperty(i,t,{get:()=>e[t]})}))}return kc(i,t,n)||[i]},createNativeEvent:Oc},Symbol.toStringTag,{value:"Module"});function Pc(e){!function(e){const t=e.globalProperties;c(t,Ac),t.$gcd=Cc}(e._context.config)}let Rc=1;function Bc(e){return(e||cc())+".invokeViewApi"}const Nc=c(wl("view"),{invokeOnCallback:(e,t)=>Mh.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=Mh,s=o?Rc++:0;o&&r("invokeViewApi."+s,o,!0),i(Bc(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}=Mh,a=Rc++,l="invokeViewApi."+a;return r(l,n),s(Bc(o),{id:a,name:e,args:t},o),()=>{i(l)}}});function jc(e){gc(ac(),"onResize",e),Mh.invokeOnCallback("onWindowResize",e)}function Mc(e){const t=ac();gc(Cp(),"onShow",e),gc(t,"onShow")}function Ic(){gc(Cp(),"onHide"),gc(ac(),"onHide")}const Vc=["onPageScroll","onReachBottom"];function Fc(){Vc.forEach((e=>Mh.subscribe(e,function(e){return(t,n)=>{gc(parseInt(n),e,t)}}(e))))}function Hc(){!function(){const{on:e}=Mh;e("onResize",jc),e("onAppEnterForeground",Mc),e("onAppEnterBackground",Ic)}(),Fc()}function Dc(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new Se(this.$page.id)),e.eventChannel}}function Wc(e){e._context.config.globalProperties.getOpenerEventChannel=Dc}function qc(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Uc(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${Xu(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function zc(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){const t=o[n],s=t.option.transition,a=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],r=["width","height","left","right","top","bottom"],i=e.animates,s=e.option,a=s.transition,l={},c=[];return i.forEach((e=>{let i=e.type,s=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?s=s.map((e=>parseFloat(e)+"deg")):i.startsWith("translate")&&(s=s.map(Uc)),n.indexOf(i)>=0&&(s.length=1),c.push(`${i}(${s.join(",")})`);else if(o.concat(r).includes(s[0])){i=s[0];const e=s[1];l[i]=r.includes(i)?Uc(e):e}})),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>`${function(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace("webkit","-webkit")}(e)} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`)).join(","),l.transformOrigin=l.webkitTransformOrigin=s.transformOrigin,l}(t);Object.keys(a).forEach((t=>{e.$el.style[t]=a[t]})),n+=1,n{i()}),0)}const Xc={props:["animation"],watch:{animation:{deep:!0,handler(){zc(this)}}},mounted(){zc(this)}},Kc=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Xc),Yc(e)},Yc=e=>(e.__reserved=!0,e.compatConfig={MODE:3},yo(e));function Gc(e){return e.__wwe=!0,e}function Jc(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=ye(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const Zc={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Qc(e){const t=on(!1);let n,o,r=!1;function i(){requestAnimationFrame((()=>{clearTimeout(o),o=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function s(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),r=!0,n=setTimeout((()=>{t.value=!0,r||i()}),parseInt(e.hoverStartTime)))}function a(){r=!1,t.value&&i()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:Gc((function(e){e.touches.length>1||s(e)})),onMousedown:Gc((function(e){r||(s(e),window.addEventListener("mouseup",l))})),onTouchend:Gc((function(){a()})),onMouseup:Gc((function(){r&&l()})),onTouchcancel:Gc((function(){r=!1,t.value=!1,clearTimeout(n)}))}}}function eu(e,t){return v(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const tu=ec("uf"),nu=ec("ul");function ou(e,t,n){const o=sc();n&&!e||T(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&jh.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?jh.on(r,t[r]):e&&jh.on(`uni-${r}-${o}-${e}`,t[r])}))}function ru(e,t,n){const o=sc();n&&!e||T(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&jh.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?jh.off(r,t[r]):e&&jh.off(`uni-${r}-${o}-${e}`,t[r])}))}const iu=Kc({name:"Button",props:{id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=on(null),o=yr(tu,!1),{hovering:r,binding:i}=Qc(e),s=Gc(((t,r)=>{if(e.disabled)return t.stopImmediatePropagation();r&&n.value.click();const i=e.formType;if(i){if(!o)return;"submit"===i?o.submit(t):"reset"===i&&o.reset(t)}else;})),a=yr(nu,!1);return a&&(a.addHandler(s),Ho((()=>{a.removeHandler(s)}))),function(e,t){ou(e.id,t),Qn((()=>e.id),((e,n)=>{ru(n,t,!0),ou(e,t,!0)})),Do((()=>{ru(e.id,t)}))}(e,{"label-click":s}),()=>{const o=e.hoverClass,a=eu(e,"disabled"),l=eu(e,"loading"),c=eu(e,"plain"),u=o&&"none"!==o;return oi("uni-button",ui({ref:n,onClick:s,id:e.id,class:u&&r.value?o:""},u&&i,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),su=ec("upm");function au(){return yr(su)}function lu(e){const t=function(e){return Ht(function(e){if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==Bd().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(fc(nl().meta,e)))))}(e);return vr(su,t),t}function cu(){return nl()}function uu(){return history.state&&history.state.__id__||1}const du=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function fu(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function pu(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let hu=1;const gu={};function mu(e,t,n){if("number"==typeof e){const o=gu[e];if(o)return o.keepAlive||delete gu[e],o.callback(t,n)}return t}const vu="success",yu="fail",bu="complete";function _u(e,t={},{beforeAll:n,beforeSuccess:o}={}){T(t)||(t={});const{success:r,fail:i,complete:s}=function(e){const t={};for(const n in e){const o=e[n];m(o)&&(t[n]=pu(o),delete e[n])}return t}(t),a=m(r),l=m(i),c=m(s),u=hu++;return function(e,t,n,o=!1){gu[e]={name:t,keepAlive:o,callback:n}}(u,e,(u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),m(n)&&n(u),u.errMsg===e+":ok"?(m(o)&&o(u,t),a&&r(u)):l&&i(u),c&&s(u)})),u}const wu="success",xu="fail",Tu="complete",Su={},Cu={};function ku(e,t){return function(n){return e(n,t)||n}}function Eu(e,t,n){let o=!1;for(let r=0;re(t),catch(){}}}function Ou(e,t={}){return[wu,xu,Tu].forEach((n=>{const o=e[n];if(!p(o))return;const r=t[n];t[n]=function(e){Eu(o,e,t).then((e=>m(r)&&r(e)||e))}})),t}function Lu(e,t){const n=[];p(Su.returnValue)&&n.push(...Su.returnValue);const o=Cu[e];return o&&p(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function $u(e){const t=Object.create(null);Object.keys(Su).forEach((e=>{"returnValue"!==e&&(t[e]=Su[e].slice())}));const n=Cu[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function Au(e,t,n,o){const r=$u(e);if(r&&Object.keys(r).length){if(p(r.invoke)){return Eu(r.invoke,n).then((n=>t(Ou($u(e),n),...o)))}return t(Ou(r,n),...o)}return t(n,...o)}function Pu(e,t){return(n={},...o)=>function(e){return!(!T(e)||![vu,yu,bu].find((t=>m(e[t]))))}(n)?Lu(e,Au(e,t,c({},n),o)):Lu(e,new Promise(((r,i)=>{Au(e,t,c({},n,{success:r,fail:i}),o)})))}function Ru(e,t,n,o={}){const r=t+":fail";let i="";return i=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,mu(e,c({errMsg:i},o))}function Bu(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(v(e))return e}const r=function(e,t){const n=e[0];if(!t||!t.formatArgs||!T(t.formatArgs)&&T(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i{const r=_u(e,n,o),i=Bu(0,[n],0,o);return i?Ru(r,e,i):t(n,{resolve:t=>function(e,t,n){return mu(e,c(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>Ru(r,e,function(e){return!e||v(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function ju(e,t,n,o){return Pu(e,Nu(e,t,0,o))}function Mu(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=Bu(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Iu(e,t,n,o){return Pu(e,function(e,t,n,o){return Nu(e,t,0,o)}(e,t,0,o))}let Vu=!1,Fu=0,Hu=0,Du=960,Wu=375,qu=750;function Uu(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:i}=function(){const e=cf();return{platform:Qd?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:e}}();e=o,t=r,n=i}Fu=e,Hu=t,Vu="ios"===n}function zu(e,t){const n=Number(e);return isNaN(n)?t:n}const Xu=Mu(0,((e,t)=>{if(0===Fu&&(Uu(),function(){const e=__uniConfig.globalStyle||{};Du=zu(e.rpxCalcMaxDeviceWidth,960),Wu=zu(e.rpxCalcBaseDeviceWidth,375),qu=zu(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Fu;n=e===qu||n<=Du?n:Wu;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==Hu&&Vu?.5:1),e<0?-o:o})),Ku=Mu(0,(()=>{const e=Cp();return e&&e.$vm?e.$vm.$locale:hl().getLocale()})),Yu={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};const Gu="json",Ju=["text","arraybuffer"],Zu=encodeURIComponent;ArrayBuffer,Boolean;const Qu={formatArgs:{method(e,t){t.method=fu((e||"").toUpperCase(),du)},data(e,t){t.data=e||""},url(e,t){t.method===du[0]&&T(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const i=r.split("&").filter((e=>e)),s={};i.forEach((e=>{const t=e.split("=");s[t[0]]=t[1]}));for(const a in t)if(f(t,a)){let e=t[a];null==e?e="":T(e)&&(e=JSON.stringify(e)),s[Zu(a)]=Zu(e)}return r=Object.keys(s).map((e=>`${e}=${s[e]}`)).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==du[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||Gu).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Ju.indexOf(t.responseType)&&(t.responseType="text")}}},ed={formatArgs:{header(e,t){t.header=e||{}}}};const td={url:{type:String,required:!0}},nd=(sd(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),sd(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),cd("navigateTo")),od=cd("redirectTo"),rd=cd("reLaunch"),id={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(Bd().length-1,e)}}};function sd(e){return{animationType:{type:String,validator(t){if(t&&-1===e.indexOf(t))return"`"+t+"` is not supported for `animationType` (supported values are: `"+e.join("`|`")+"`)"}},animationDuration:{type:Number}}}let ad;function ld(){ad=""}function cd(e){return{formatArgs:{url:ud(e)},beforeAll:ld}}function ud(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/")||0===e.indexOf("uni:"))return e;let t="";const n=Bd();return n.length&&(t=tc(n[n.length-1]).route),_c(t,e)}(t)).split("?")[0],r=wc(o,!0);if(!r)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if("switchTab"===e&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!v(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach((e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))})),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(ad===t&&"appLaunch"!==n.openType)return`${ad} locked`;__uniConfig.ready&&(ad=t)}else if(r.meta.isTabBar){const e=Bd(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}Boolean;const dd={beforeInvoke(){bl()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!f(t,"cancelText")){const{t:e}=hl();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!f(t,"confirmText")){const{t:e}=hl();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}},fd=["success","loading","none","error"],pd=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=fu(e,fd)},image(e,t){t.image=e?Gd(e):""},duration:1500,mask:!1}});function hd(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function gd(){const e=ac();if(!e)return;const t=Ed(e);jd(Vd(t.path,t.id))}const md=Iu("redirectTo",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Od.handledBeforeEntryPageRoutes)return gd(),bd({type:"redirectTo",url:e,isAutomatedTesting:t}).then(n).catch(o);Ad.push({args:{type:"redirectTo",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,od);function vd(){const e=Rd().keys();for(const t of e)jd(t)}const yd=Iu("reLaunch",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Od.handledBeforeEntryPageRoutes)return vd(),bd({type:"reLaunch",url:e,isAutomatedTesting:t}).then(n).catch(o);Pd.push({args:{type:"reLaunch",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,rd);function bd({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const s=Cp().$router,{path:a,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:xe(n||"")}}(t);return new Promise(((t,c)=>{const u=function(e,t){return{__id__:t||++Md,__type__:e}}(e,i);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then((i=>{if(xa(i))return c(i.message);if("switchTab"===e&&(s.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=s.currentRoute.value.meta;return e.eventChannel?o&&(Object.keys(o).forEach((t=>{e.eventChannel._addListener(t,"on",o[t])})),e.eventChannel._clearCache()):e.eventChannel=new Se(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()}))}))}function _d(){if(Od.handledBeforeEntryPageRoutes)return;Od.handledBeforeEntryPageRoutes=!0;const e=[...Ld];Ld.length=0,e.forEach((({args:e,resolve:t,reject:n})=>bd(e).then(t).catch(n)));const t=[...$d];$d.length=0,t.forEach((({args:e,resolve:t,reject:n})=>(function(){const e=uc();if(!e)return;const t=Rd(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:jd(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,gc(e,"onHide"))}(),bd(e,function(e){const t=Rd().values();for(const n of t){const t=Ed(n);if(hd(e,t))return n.$.__isActive=!0,t.id}}(e.url)).then(t).catch(n))));const n=[...Ad];Ad.length=0,n.forEach((({args:e,resolve:t,reject:n})=>(gd(),bd(e).then(t).catch(n))));const o=[...Pd];Pd.length=0,o.forEach((({args:e,resolve:t,reject:n})=>(vd(),bd(e).then(t).catch(n))))}function wd(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const xd=wd("top:env(a)"),Td=wd("top:constant(a)"),Sd=(()=>xd?"env":Td?"constant":"")();function Cd(e){var t,n;Ql({"--window-top":(n=0,Sd?`calc(${n}px + ${Sd}(safe-area-inset-top))`:`${n}px`),"--window-bottom":(t=0,Sd?`calc(${t}px + ${Sd}(safe-area-inset-bottom))`:`${t}px`)})}const kd=new Map;function Ed(e){return e.$page}const Od={handledBeforeEntryPageRoutes:!1},Ld=[],$d=[],Ad=[],Pd=[];function Rd(){return kd}function Bd(){return Nd()}function Nd(){const e=[],t=kd.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function jd(e,t=!0){const n=kd.get(e);n.$.__isUnload=!0,gc(n,"onUnload"),kd.delete(e),t&&function(e){const t=Fd.get(e);t&&(Fd.delete(e),Hd.pruneCacheEntry(t))}(e)}let Md=uu();function Id(e){const t=function(e){const t=au();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),pc("navigateTo",n,{},t)}(e.$route);!function(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",e.$fontFamilySet=new Set,t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}(e,t),kd.set(Vd(t.path,t.id),e),1===kd.size&&setTimeout((()=>{_d()}),0)}function Vd(e,t){return e+"$$"+t}const Fd=new Map,Hd={get:e=>Fd.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;Hd.forEach(((e,n)=>{const o=parseInt(n.split("$$")[1]);o&&o>t&&(Hd.delete(n),Hd.pruneCacheEntry(e),Sn((()=>{kd.forEach(((e,t)=>{e.$.isUnmounted&&kd.delete(t)}))})))}))}(e),Fd.set(e,t)},delete(e){Fd.get(e)&&Fd.delete(e)},forEach(e){Fd.forEach(e)}};function Dd(e,t){!function(e){const t=qd(e),{body:n}=document;Ud&&n.removeAttribute(Ud),t&&n.setAttribute(t,""),Ud=t}(e),Cd(),function(e){{const t="nvue-dir-"+__uniConfig.nvue["flex-direction"];e.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(t,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(t))}}(t),Kd(e,t)}function Wd(e){const t=qd(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function qd(e){return e.type.__scopeId}let Ud;const zd=!!(()=>{let e=!1;try{const t={};Object.defineProperty(t,"passive",{get(){e=!0}}),window.addEventListener("test-passive",(()=>{}),t)}catch(t){}return e})()&&{passive:!1};let Xd;function Kd(e,t){if(document.removeEventListener("touchmove",mc),Xd&&document.removeEventListener("scroll",Xd),t.disableScroll)return document.addEventListener("touchmove",mc,zd);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!r)return;const i={},s=Ed(e.proxy).id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&jh.publishHandler("onPageScroll",{scrollTop:o},e),n&&jh.emit(e+".onPageScroll",{scrollTop:o})}}(s,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>jh.publishHandler("onReachBottom",{},s)),Xd=bc(i),requestAnimationFrame((()=>document.addEventListener("scroll",Xd)))}function Yd(e){const{base:t}=__uniConfig.router;return 0===de(e).indexOf(t)?de(e):t+e}function Gd(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0!==e.indexOf("./")||!e.includes("/static/")&&0!==e.indexOf("./"+(n||"assets")+"/")||(e=e.slice(1))),0===e.indexOf("/")){if(0!==e.indexOf("//"))return Yd(e.slice(1));e="https:"+e}if(te.test(e)||ne.test(e)||0===e.indexOf("blob:"))return e;const o=Nd();return o.length?Yd(_c(Ed(o[o.length-1]).route,e).slice(1)):e}const Jd=navigator.userAgent,Zd=/android/i.test(Jd),Qd=/iphone|ipad|ipod/i.test(Jd),ef=Jd.match(/Windows NT ([\d|\d.\d]*)/i),tf=/Macintosh|Mac/i.test(Jd),nf=/Linux|X11/i.test(Jd),of=tf&&navigator.maxTouchPoints>0,rf=/OpenHarmony/i.test(Jd);function sf(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function af(e){return e&&90===Math.abs(window.orientation)}function lf(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function cf(){const e=sf();if(e){const t=lf(e,af(e));return Math.min(window.innerWidth,document.documentElement.clientWidth,t)||t}return Math.min(window.innerWidth,document.documentElement.clientWidth)}const uf={};function df(e){for(const n in uf)if(f(uf,n)){if(uf[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return uf[t]=e,t}const ff=qc(),pf=qc();const hf=Kc({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=on(null),o=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),r=function(e,t,n){const o=Ht({width:-1,height:-1});return Qn((()=>c({},o)),(e=>t("resize",e))),()=>{const t=e.value;t&&(o.width=t.offsetWidth,o.height=t.offsetHeight,n())}}(n,t,o);return function(e,t,n,o){Eo(o),Io((()=>{t.initial&&Sn(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,r,o),()=>oi("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[oi("div",{onScroll:r},[oi("div",null,null)],40,["onScroll"]),oi("div",{onScroll:r},[oi("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function gf(){}const mf={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}};function vf(e,t,n){function o(e){const t=ki((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",gf,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",gf,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}Qn((()=>t.value),(e=>e&&o(e)))}const yf={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},bf={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},_f={aspectFit:["center center","contain"],aspectFill:["center center","cover"],widthFix:[,"100% 100%"],heightFix:[,"100% 100%"],top:["center top"],bottom:["center bottom"],center:["center center"],left:["left center"],right:["right center"],"top left":["left top"],"top right":["right top"],"bottom left":["left bottom"],"bottom right":["right bottom"]},wf=Kc({name:"Image",props:yf,setup(e,{emit:t}){const n=on(null),o=function(e,t){const n=on(""),o=ki((()=>{let e="auto",o="";const r=_f[t.mode];return r?(r[0]&&(o=r[0]),r[1]&&(e=r[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`})),r=Ht({rootEl:e,src:ki((()=>t.src?Gd(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return Io((()=>{const t=e.value;r.origWidth=t.clientWidth||0,r.origHeight=t.clientHeight||0})),r}(n,e),r=Jc(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=bf[o];if(!r)return;const{origWidth:i,origHeight:s}=n,a=i&&s?i/s:0;if(!a)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=function(e){xf&&e>10&&(e=2*Math.round(e/2));return e}(r[2](c,a))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return Qn((()=>t.mode),((e,t)=>{bf[t]&&r(),bf[e]&&o()})),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let i,s;const a=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void a();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;a(u,d,l),Sn((()=>{o()})),i.draggable=t.draggable,s&&s.remove(),s=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:d})},i.onerror=t=>{a(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};Qn((()=>e.src),(e=>l(e))),Qn((()=>e.imgSrc),(e=>{!e&&s&&(s.remove(),s=null)})),Io((()=>l(e.src))),Ho((()=>c()))}(o,e,n,i,r),()=>oi("uni-image",{ref:n},[oi("div",{style:o.modeStyle},null,4),bf[e.mode]?oi(hf,{onResize:i},null,8,["onResize"]):oi("span",null,null)],512)}});const xf="Google Inc."===navigator.vendor;const Tf=ve(!0),Sf=[];let Cf=0,kf=!1;const Ef=e=>Sf.forEach((t=>t.userAction=e));function Of(){const e=Ht({userAction:!1});return Io((()=>{!function(e={userAction:!1}){kf||(["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!Cf&&Ef(!0),Cf++,setTimeout((()=>{!--Cf&&Ef(!1)}),0)}),Tf)})),kf=!0);Sf.push(e)}(e)})),Ho((()=>{!function(e){const t=Sf.indexOf(e);t>=0&&Sf.splice(t,1)}(e)})),{state:e}}function Lf(e,t){const n=document.activeElement;if(!n)return t({});const o={};["input","textarea"].includes(n.tagName.toLowerCase())&&(o.start=n.selectionStart,o.end=n.selectionEnd),t(o)}function $f(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const Af=["none","text","decimal","numeric","tel","search","email","url"],Pf=c({},{name:{type:String,default:""},modelValue:{type:[String,Number]},value:{type:[String,Number]},disabled:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0},step:{type:String,default:"0.000000000000000001"},inputmode:{type:String,default:void 0,validator:e=>!!~Af.indexOf(e)},cursorColor:{type:String,default:""}},mf),Rf=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function Bf(e,t,n,o,r){let i=null,s=null;s=Te((n=>{const o=r.value,s=$f(n,e.type);o&&document.activeElement===o&&s===i||(t.value=s)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),Qn((()=>e.modelValue),s),Qn((()=>e.value),s);const a=function(e,t){let n,o,r=0;const i=function(...i){const s=Date.now();clearTimeout(n),o=()=>{o=null,r=s,e.apply(this,i)},s-r{s.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return Mo((()=>{s.cancel(),a.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{s.cancel(),i=t.value,a(e,t),n&&a.flush()}}}function Nf(e,t){Of();const n=ki((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Qn((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),Io((()=>{n.value&&Sn(o)}))}function jf(e,t,n,o){Cl(cc(),"getSelectedTextRange",Lf);const{fieldRef:r,state:i,trigger:s}=function(e,t,n){const o=on(null),r=Jc(t,n),i=ki((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),s=ki((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),a=ki((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=ki((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t}));let c="";c=$f(e.modelValue,e.type)||$f(e.value,e.type);const u=Ht({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:s,cursor:a});return Qn((()=>u.focus),(e=>n("update:focus",e))),Qn((()=>u.maxlength),(e=>u.value=u.value.slice(0,e)),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:a}=Bf(e,i,n,s,r);Nf(e,r),vf(0,r);const{state:l}=function(){const e=Ht({attrs:{}});return Io((()=>{let t=gi();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}();!function(e,t){const n=yr(tu,!1);if(!n)return;const o=gi(),r={submit(){const n=o.proxy;return[n[e],v(t)?n[t]:t.value]},reset(){v(t)?o.proxy[t]="":t.value=""}};n.addField(r),Ho((()=>{n.removeField(r)}))}("name",i),function(e,t,n,o,r,i){function s(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function a(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}Qn([()=>t.selectionStart,()=>t.selectionEnd],s),Qn((()=>t.cursor),a),Qn((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),m(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||r(e,{value:c.value,cursor:l(c)},o))};function d(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",(e=>e.stopPropagation())),c.addEventListener("focus",(function(e){t.focus=!0,o("focus",e,{value:t.value}),s(),a()})),c.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})})),c.addEventListener("input",u),c.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,d(e)})),c.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)})),c.addEventListener("compositionupdate",d)}))}(r,i,e,s,a,o);return{fieldRef:r,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:s}}const Mf=fe((()=>{{const e=navigator.userAgent;let t="";const n=e.match(/OS\s([\w_]+)\slike/);if(n)t=n[1].replace(/_/g,".");else if(/Macintosh|Mac/i.test(e)&&navigator.maxTouchPoints>0){const n=e.match(/Version\/(\S*)\b/);n&&(t=n[1])}return!!t&&parseInt(t)>=16&&parseFloat(t)<17.2}}));function If(e,t,n,o,r){if(t.value)if("."===e.data){if("."===t.value.slice(-1))return n.value=o.value=t.value=t.value.slice(0,-1),!1;if(t.value&&!t.value.includes(".")&&t.value===o.value)return t.value+=".",r&&(r.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",r.fn)},o.addEventListener("blur",r.fn)),!1}else if("deleteContentBackward"===e.inputType&&Mf()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}function Vf(e){return"insertFromPaste"===e.inputType}const Ff=Kc({name:"Input",props:c({},Pf,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",...Rf],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=ki((()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":case"none":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t})),s=ki((()=>{const t=r.indexOf(e.textContentType),n=r.indexOf($(e.textContentType));return r[-1!==t?t:-1!==n?n:0]})),a=ki((()=>{if(void 0!==e.inputmode)return e.inputmode;if(Af.includes(e.type))return e.type;return{number:"numeric",digit:"decimal",idcard:"text"}[e.type]}));let l=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=on(null!=t?t.toLocaleString():"");return Qn((()=>e.modelValue),(e=>{n.value=null!=e?e.toLocaleString():""})),Qn((()=>e.value),(e=>{n.value=null!=e?e.toLocaleString():""})),n}return on("")}(e,i),c={fn:null};const u=on(null),{fieldRef:d,state:f,scopedAttrsState:p,fixDisabledColor:h,trigger:g}=jf(e,u,t,((e,t)=>{const n=e.target;if("number"===i.value){if(c.fn&&(n.removeEventListener("blur",c.fn),c.fn=null),n.validity&&!n.validity.valid){if((!l.value||!n.value)&&"-"===e.data||"-"===l.value[0]&&"deleteContentBackward"===e.inputType)return l.value="-",t.value="",c.fn=()=>{l.value=n.value=""},n.addEventListener("blur",c.fn),!1;const o=If(e,l,t,n,c);return"boolean"==typeof o?o:(l.value=t.value=n.value="-"===l.value?"":l.value,!1)}{const o=If(e,l,t,n,c);if("boolean"==typeof o)return o;l.value=n.value}if(t.maxlength>0&&n.value.length>t.maxlength&&!Vf(e))return n.value=l.value=t.value,!1}}));Qn((()=>f.value),(t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t.toString())})),Qn((()=>e.maxlength),(e=>{e=parseInt(e,10);const t=f.value.slice(0,e);t!==f.value&&(f.value=t)}));const m=["number","digit"],v=ki((()=>m.includes(e.type)?e.step:""));function y(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),g("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),f.value=e.value}}),()=>{let t=e.disabled&&h?oi("input",{key:"disabled-input",ref:d,value:f.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:f.maxlength,step:v.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},inputmode:a.value,onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","inputmode","onFocus"]):oi("input",{key:"input",ref:d,value:f.value,onInput:_s((e=>{const t=e.target.value.toString();"number"===i.value&&f.maxlength>0&&t.length>f.maxlength?Vf(e)&&(f.value=t.slice(0,f.maxlength)):0===t.length&&"insertText"===e.inputType&&"."===e.data||(f.value=t)}),["stop"]),disabled:!!e.disabled,type:i.value,maxlength:f.maxlength,step:v.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:s.value,onKeyup:y,inputmode:a.value},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return oi("uni-input",{ref:u},[oi("div",{class:"uni-input-wrapper"},[ro(oi("div",ui(p.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ki,!(f.value.length||"-"===l.value||l.value.includes("."))]]),"search"===e.confirmType?oi("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const Hf=["class","style"],Df=/^on[A-Z]+/,Wf=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=gi(),r=rn({}),i=rn({}),s=rn({}),a=n.concat(Hf);return o.attrs=Ht(o.attrs),Jn((()=>{const e=(n=o.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,o])=>(a.includes(n)?e.exclude[n]=o:Df.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e)),{exclude:{},attrs:{},listeners:{}});var n;r.value=e.attrs,i.value=e.listeners,s.value=e.exclude})),{$attrs:r,$listeners:i,$excludeAttrs:s}},qf=Kc({name:"Refresher",props:{refreshState:{type:String,default:""},refresherHeight:{type:Number,default:0},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"}},setup(e,{slots:t}){const n=on(null),o=ki((()=>{const t={backgroundColor:e.refresherBackground};switch(e.refreshState){case"pulling":t.height=e.refresherHeight+"px";break;case"refreshing":t.height=e.refresherThreshold+"px",t.transition="height 0.3s";break;case"":case"refresherabort":case"restore":t.height="0px",t.transition="height 0.3s"}return t})),r=ki((()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)}));return()=>{const{refreshState:i,refresherDefaultStyle:s,refresherThreshold:a}=e;return oi("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==s?oi("div",{class:"uni-scroll-view-refresh"},[oi("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==i?oi("svg",{key:"refresh__icon",style:{transform:"rotate("+r.value+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[oi("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null),oi("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==i?oi("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[oi("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===s?oi("div",{class:"uni-scroll-view-refresher-container",style:{height:`${a}px`}},[t.default&&t.default()]):null],4)}}}),Uf=ve(!0),zf=Kc({name:"ScrollView",compatConfig:{MODE:3},props:{direction:{type:[String],default:"vertical"},scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},showScrollbar:{type:[Boolean,String],default:!0},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n,expose:o}){const r=on(null),i=on(null),s=on(null),a=on(null),l=Jc(r,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=ki((()=>Number(e.scrollTop)||0)),n=ki((()=>Number(e.scrollLeft)||0));return{state:Ht({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:f,realScrollY:p,_scrollLeftChanged:h,_scrollTopChanged:g}=function(e,t,n,o,r,i,s,a,l){let c=!1,u=0,d=!1,f=()=>{};const p=ki((()=>e.scrollX)),h=ki((()=>e.scrollY)),g=ki((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),m=ki((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function v(e,t){const n=s.value;let o=0,r="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?o=n.scrollLeft-e:"y"===t&&(o=n.scrollTop-e),0===o)return;let i=a.value;i.style.transition="transform .3s ease-out",i.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?r="translateX("+o+"px) translateZ(0)":"y"===t&&(r="translateY("+o+"px) translateZ(0)"),i.removeEventListener("transitionend",f),i.removeEventListener("webkitTransitionEnd",f),f=()=>x(e,t),i.addEventListener("transitionend",f),i.addEventListener("webkitTransitionEnd",f),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),i.style.transform=r,i.style.webkitTransform=r}function y(e){const n=e.target;r("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),h.value&&(n.scrollTop<=g.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+m.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),p.value&&(n.scrollLeft<=g.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+m.value>=n.scrollWidth&&t.lastScrollLeft-n.scrollLeft<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(r("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function b(t){h.value&&(e.scrollWithAnimation?v(t,"y"):s.value.scrollTop=t)}function _(t){p.value&&(e.scrollWithAnimation?v(t,"x"):s.value.scrollLeft=t)}function w(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=i.value.querySelector("#"+t);if(n){let t=s.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(p.value){let n=o.left-t.left,r=s.value.scrollLeft+n;e.scrollWithAnimation?v(r,"x"):s.value.scrollLeft=r}if(h.value){let n=o.top-t.top,r=s.value.scrollTop+n;e.scrollWithAnimation?v(r,"y"):s.value.scrollTop=r}}}}function x(e,t){a.value.style.transition="",a.value.style.webkitTransition="",a.value.style.transform="",a.value.style.webkitTransform="";let n=s.value;"x"===t?(n.style.overflowX=p.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=h.value?"auto":"hidden",n.scrollTop=e),a.value.removeEventListener("transitionend",f),a.value.removeEventListener("webkitTransitionEnd",f)}function T(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,r("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),r("refresherrefresh",{},{dy:C.y-S.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,r("refresherrestore",{},{dy:C.y-S.y})),"refresherabort"===n&&d&&(d=!1,r("refresherabort",{},{dy:C.y-S.y}))}t.refreshState=n}}let S={x:0,y:0},C={x:0,y:e.refresherThreshold};return Io((()=>{Sn((()=>{b(n.value),_(o.value)})),w(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),y(e)},a=null,l=function(n){if(null===S)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,l=s.value;if(Math.abs(o-S.x)>Math.abs(i-S.y))if(p.value){if(0===l.scrollLeft&&o>S.x)return void(a=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&oS.y)a=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&i0&&(d=!0,r("refresherpulling",n,{deltaY:o,dy:o})))}},f=function(e){1===e.touches.length&&(S={x:e.touches[0].pageX,y:e.touches[0].pageY})},g=function(n){C={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?T("refreshing"):T("refresherabort"),S={x:0,y:0},C={x:0,y:e.refresherThreshold}};s.value.addEventListener("touchstart",f,Uf),s.value.addEventListener("touchmove",l,ve(!1)),s.value.addEventListener("scroll",i,ve(!1)),s.value.addEventListener("touchend",g,Uf),Ho((()=>{s.value.removeEventListener("touchstart",f),s.value.removeEventListener("touchmove",l),s.value.removeEventListener("scroll",i),s.value.removeEventListener("touchend",g)}))})),Eo((()=>{h.value&&(s.value.scrollTop=t.lastScrollTop),p.value&&(s.value.scrollLeft=t.lastScrollLeft)})),Qn(n,(e=>{b(e)})),Qn(o,(e=>{_(e)})),Qn((()=>e.scrollIntoView),(e=>{w(e)})),Qn((()=>e.refresherTriggered),(e=>{!0===e?T("refreshing"):!1===e&&T("restore")})),{realScrollX:p,realScrollY:h,_scrollTopChanged:b,_scrollLeftChanged:_}}(e,c,u,d,l,r,i,a,t),m=ki((()=>{let e="";return f.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",p.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e})),v=ki((()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t}));return o({$getMain:()=>i.value}),()=>{const{refresherEnabled:t,refresherBackground:o,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:d,refreshState:f}=c;return oi("uni-scroll-view",{ref:r},[oi("div",{ref:s,class:"uni-scroll-view"},[oi("div",{ref:i,style:m.value,class:v.value},[t?oi(qf,{refreshState:f,refresherHeight:d,refresherThreshold:u,refresherDefaultStyle:l,refresherBackground:o},{default:()=>["none"==l?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,oi("div",{ref:a,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});const Xf={ensp:" ",emsp:" ",nbsp:" "};function Kf(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&Xf[t]&&" "===i&&(i=Xf[t]),r?(o+="n"===i?"\n":"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/ /g,Xf.nbsp).replace(/ /g,Xf.ensp).replace(/ /g,Xf.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split("\n")}const Yf=Kc({name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=on(null);return()=>{const o=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Hr){let n=[];n=Kf(t.children,{space:e.space,decode:e.decode});const r=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&o.push(ii(e)),t!==r&&o.push(oi("br"))}))}else o.push(t)})),oi("uni-text",{ref:n,selectable:!!e.selectable||null},[oi("span",null,o)],8,["selectable"])}}}),Gf=c({},Pf,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>Zf.concat("return").includes(e)}});let Jf=!1;const Zf=["done","go","next","search","send"];const Qf=Kc({name:"Textarea",props:Gf,emits:["confirm","change","linechange",...Rf],setup(e,{emit:t,expose:n}){const o=on(null),r=on(null),{fieldRef:i,state:s,scopedAttrsState:a,fixDisabledColor:l,trigger:c}=jf(e,o,t),u=ki((()=>s.value.split("\n"))),d=ki((()=>Zf.includes(e.confirmType))),f=on(0),p=on(null);function h({height:e}){f.value=e}function g(e){}function m(e){"Enter"===e.key&&d.value&&e.preventDefault()}function v(t){if("Enter"===t.key&&d.value){!function(e){c("confirm",e,{value:s.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return Qn((()=>f.value),(t=>{const n=o.value,i=p.value,s=r.value;let a=parseFloat(getComputedStyle(n).lineHeight);isNaN(a)&&(a=i.offsetHeight);var l=Math.round(t/a);c("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(s.style.height=t+"px")})),function(){const e="(prefers-color-scheme: dark)";Jf=0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(e).media!==e}(),n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),s.value=e.value}}),()=>{let t=e.disabled&&l?oi("textarea",{key:"disabled-textarea",ref:i,value:s.value,tabindex:"-1",readonly:!!e.disabled,maxlength:s.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Jf},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):oi("textarea",{key:"textarea",ref:i,value:s.value,disabled:!!e.disabled,maxlength:s.maxlength,enterkeyhint:e.confirmType,inputmode:e.inputmode,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Jf},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onKeydown:m,onKeyup:v,onChange:g},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup","onChange"]);return oi("uni-textarea",{ref:o,"auto-height":e.autoHeight},[oi("div",{ref:r,class:"uni-textarea-wrapper"},[ro(oi("div",ui(a.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ki,!s.value.length]]),oi("div",{ref:p,class:"uni-textarea-line"},[" "],512),oi("div",{class:{"uni-textarea-compute":!0,"uni-textarea-compute-auto-height":e.autoHeight}},[u.value.map((e=>oi("div",null,[e.trim()?e:"."]))),oi(hf,{initial:!0,onResize:h},null,8,["initial","onResize"])],2),"search"===e.confirmType?oi("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],8,["auto-height"])}}}),ep=Kc({name:"View",props:c({},Zc),setup(e,{slots:t}){const n=on(null),{hovering:o,binding:r}=Qc(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?oi("uni-view",ui({class:o.value?i:"",ref:n},r),[Ko(t,"default")],16):oi("uni-view",{ref:n},[Ko(t,"default")],512)}}});function tp(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function np(e,t,n){e&&Cl(n||cc(),e,(({type:e,data:n},o)=>{t(e,n,o)}))}function op(e,t){e&&function(e,t){t=Sl(e,t),delete Tl[t]}(t||cc(),e)}let rp=0;function ip(e,t,n,o){m(t)&&No(e,t.bind(n),o)}function sp(e,t,n){const o=e.mpType||n.$mpType;if(o&&"component"!==o&&("page"!==o||"component"!==t.renderer)&&(Object.keys(e).forEach((o=>{if(function(e,t,n=!0){return!(n&&!m(t))&&(ke.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];p(r)?r.forEach((e=>ip(o,e,n,t))):ip(o,r,n,t)}})),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,gc(n,"onLoad",e),t.vapor||delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&gc(n,"onShow")}catch(r){console.error(r.message+"\n"+r.stack)}}}function ap(e,t,n){sp(e,t,n)}function lp(e,t,n){return e[t]=n}function cp(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function up(e){const t=e.config.errorHandler;return function(n,o,r){t&&t(n,o,r);const i=e._instance;if(!i||!i.proxy)throw n;i.onError?gc(i.proxy,"onError",n):hn(n,0,o&&o.$.vnode,!1)}}function dp(e,t){return e?[...new Set([].concat(e,t))]:t}function fp(e){const t=e.config;var n;t.errorHandler=Oe(e,up),n=t.optionMergeStrategies,ke.forEach((e=>{n[e]=dp}));const o=t.globalProperties;o.$set=lp,o.$applyOptions=ap,o.$callMethod=cp,function(e){Ee.forEach((t=>t(e)))}(e)}function pp(e){const t=tl({history:mp(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:gp});t.beforeEach(((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(hp[n]={left:window.pageXOffset,top:window.pageYOffset}))})),e.router=t,e.use(t)}let hp=Object.create(null);const gp=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,hp[o]);if(t)return t}return{left:0,top:0};var o};function mp(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),ma(n));var n;return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Nd(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=Ed(t[r]);jd(Vd(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const vp={install(e){fp(e),Pc(e),Wc(e),e.config.warnHandler||(e.config.warnHandler=yp),pp(e)}};function yp(e,t,n){if(t){if("PageMetaHead"===t.$.type.name)return;const e=t.$.parent;if(e&&"PageMeta"===e.type.name)return}const o=[`[Vue warn]: ${e}`];n.length&&o.push("\n",n),console.warn(...o)}const bp={class:"uni-async-loading"},_p=oi("i",{class:"uni-loading"},null,-1),wp=Yc({name:"AsyncLoading",render:()=>(Ur(),Gr("div",bp,[_p]))});function xp(){window.location.reload()}const Tp=Yc({name:"AsyncError",props:["error"],setup(){ml();const{t:e}=hl();return()=>oi("div",{class:"uni-async-error",onClick:xp},[e("uni.async.error")],8,["onClick"])}});let Sp;function Cp(){return Sp}function kp(e){Sp=e,Object.defineProperty(Sp.$.ctx,"$children",{get:()=>Nd().map((e=>e.$vm))});const t=Sp.$.appContext.app;t.component(wp.name)||t.component(wp.name,wp),t.component(Tp.name)||t.component(Tp.name,Tp),function(e){e.$vm=e,e.$mpType="app";const t=on(hl().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(Sp),function(e,t){const n=e.$options||{};n.globalData=c(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(Sp),Hc(),xc()}function Ep(e,{type:t,clone:n,init:o,setup:r,before:i,options:s}){n&&(e=c({},e)),i&&i(e);const a=e.setup;return e.setup=(e,t)=>{const n=gi();if(o(n.proxy),r(n),a)return a(e,t)},e}function Op(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?Ep(e.default,t):Ep(e,t)}function Lp(e,t){return Op(e,{type:"page",clone:!0,init:Id,setup(e){e.$pageInstance=e;const t=cu(),n=_e(t.query);e.attrs.__pageQuery=n,Ed(e.proxy).options=n,e.proxy.options=n;const o=au();var r;Cd(),e.onReachBottom=Ht([]),e.onPageScroll=Ht([]),Qn([e.onReachBottom,e.onPageScroll],(()=>{const t=ac();e.proxy===t&&Kd(e,o)}),{once:!0}),Mo((()=>{Dd(e,o)})),Io((()=>{Wd(e);const{onReady:n}=e;n&&B(n),Rp(t)})),Lo((()=>{if(!e.__isVisible){Dd(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&B(n),Sn((()=>{Rp(t)}))}}),"ba",r),function(e,t){Lo(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&B(t)}}}));const i=hc(e.proxy);return function(e,t){jh.subscribe(Sl(e,"invokeViewApi"),kl)}(i),Ho((()=>{!function(e){jh.unsubscribe(Sl(e,"invokeViewApi")),Object.keys(Tl).forEach((t=>{0===t.indexOf(e+".")&&delete Tl[t]}))}(i)})),n}})}function $p(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Yp(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";Mh.emit("onResize",{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function Ap(e){T(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&Mh.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function Pp(){const{emit:e}=Mh;"visible"===document.visibilityState?e("onAppEnterForeground",c({},pf)):e("onAppEnterBackground")}function Rp(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&gc("onTabItemTap",{index:n,text:t,pagePath:o})}function Bp(e){e=e>0&&e<1/0?e:0;const t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=Math.floor(e%3600%60),r=(t<10?"0":"")+t;let i=(n<10?"0":"")+n+":"+((o<10?"0":"")+o);return"00"!==r&&(i=r+":"+i),i}function Np(e,t,n,o){const r=Ht({seeking:!1,gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0,toastThin:!1}),i={x:0,y:0};let s=null;let a;return{state:r,onTouchstart:function(e){const t=e.targetTouches[0];i.x=t.pageX,i.y=t.pageY,r.gestureType="none",r.volumeOld=0},onTouchmove:function(l){function c(){l.stopPropagation(),l.preventDefault()}o.fullscreen&&c();const u=r.gestureType;if("stop"===u)return;const d=l.targetTouches[0],f=d.pageX,p=d.pageY,h=i,g=n.value;if("progress"===u?(!function(e){const n=t.currentDuration;let o=e/600*n+r.currentTimeOld;o<0?o=0:o>n&&(o=n);r.currentTimeNew=o}(f-h.x),r.seeking=!0):"volume"===u&&function(e){const t=n.value,o=r.volumeOld;let i;"number"==typeof o&&(i=o-e/200,i<0?i=0:i>1&&(i=1),clearTimeout(a),a=void 0,null==a&&(a=setTimeout((()=>{r.toastThin=!1,a=void 0}),1e3)),t.volume=i,r.volumeNew=i)}(p-h.y),"none"===u)if(Math.abs(f-h.x)>Math.abs(p-h.y)){if(!e.enableProgressGesture)return void(r.gestureType="stop");r.gestureType="progress",r.currentTimeOld=r.currentTimeNew=g.currentTime,o.fullscreen||c()}else{if(!e.pageGesture&&!e.vslideGesture)return void(r.gestureType="stop");"none"!==r.gestureType&&null!=s||(s=setTimeout((()=>{r.toastThin=!0}),500)),r.gestureType="volume",r.volumeOld=g.volume,o.fullscreen||c()}},onTouchend:function(e){const t=n.value;"none"!==r.gestureType&&"stop"!==r.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===r.gestureType&&r.currentTimeOld!==r.currentTimeNew&&(t.currentTime=r.currentTimeNew),r.gestureType="none"}}}function jp(e,t,n,o,r,i,s,a){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:r,playbackRate:i,requestFullScreen:s,exitFullScreen:a};!function(e,t,n,o){const r=gi().proxy;o=null==o?sc():o,Io((()=>{np(t||tp(r),e,o),!n&&t||Qn((()=>r.id),((t,n)=>{np(tp(r,t),e,o),op(n&&tp(r,n))}))})),Ho((()=>{op(t||tp(r),o)}))}(((e,t)=>{let n;switch(e){case"seek":n=t.position;break;case"sendDanmu":n=t;break;case"playbackRate":n=t.rate}e in l&&l[e](n)}),function(e){const t=sc(),n=gi().proxy,o=n.$options.name.toLowerCase(),r=e||n.id||"context"+rp++;return Io((()=>{n.$el.__uniContextInfo={id:r,type:o,page:t}})),`${o}.${r}`}(),!0)}const Mp=Kc({name:"Video",props:{id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:()=>[]},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},vslideGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const r=on(null),i=on(null),s=Jc(r,t),{state:a}=Of(),{$attrs:l}=Wf({excludeListeners:!0});_l();const{videoRef:c,state:u,play:d,pause:f,stop:h,seek:g,playbackRate:m,toggle:v,onDurationChange:y,onLoadedMetadata:b,onProgress:_,onWaiting:w,onVideoError:x,onPlay:T,onPause:S,onEnded:C,onTimeUpdate:k}=function(e,t,n){const o=on(null),r=ki((()=>Gd(e.src))),i=ki((()=>"true"===e.muted||!0===e.muted)),s=Ht({start:!1,src:r,playing:!1,currentTime:0,duration:0,currentDuration:0,progress:0,buffered:0,muted:i,pauseUpdatingCurrentTime:!1});function a(e){const t=e.target,n=t.buffered;n.length&&(s.buffered=n.end(n.length-1)/t.duration*100)}function l(){o.value.pause()}function c(e){const t=o.value;"number"!=typeof(e=Number(e))||isNaN(e)||(t.currentTime=e)}return Qn((()=>r.value),(()=>{s.playing=!1,s.currentTime=0})),Qn((()=>s.buffered),(e=>{n("progress",{},{buffered:e})})),Qn((()=>i.value),(e=>{o.value.muted=e})),Qn([()=>s.duration,()=>e.duration],(()=>{let t=Number(e.duration);isNaN(t)&&(t=0),s.currentDuration=t>0?t:s.duration})),{videoRef:o,state:s,play:function(){const e=o.value;s.start=!0,e.play()},pause:l,stop:function(){c(0),l()},seek:c,playbackRate:function(e){o.value.playbackRate=e},toggle:function(){const e=o.value;s.playing?e.pause():e.play()},onDurationChange:function({target:e}){s.duration=e.duration},onLoadedMetadata:function(t){const o=Number(e.initialTime)||0,r=t.target;o>0&&(r.currentTime=o),n("loadedmetadata",t,{width:r.videoWidth,height:r.videoHeight,duration:r.duration}),a(t)},onProgress:a,onWaiting:function(e){n("waiting",e,{})},onVideoError:function(e){s.playing=!1,n("error",e,{})},onPlay:function(e){s.start=!0,s.playing=!0,n("play",e,{})},onPause:function(e){s.playing=!1,n("pause",e,{})},onEnded:function(e){s.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target;s.pauseUpdatingCurrentTime||(s.currentTime=t.currentTime);const o=t.currentTime;n("timeupdate",e,{currentTime:o,duration:t.duration})}}}(e,0,s),{state:E,danmuRef:O,updateDanmu:L,toggleDanmu:$,sendDanmu:A}=function(e,t){const n=on(null),o=Ht({enable:Boolean(e.enableDanmu)});let r={time:0,index:-1};const i=p(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function s(e){const t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;let o=`bottom: ${100*Math.random()}%;color: ${e.color};`;t.setAttribute("style",o),n.value.appendChild(t),setTimeout((function(){o+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",o),setTimeout((function(){t.remove()}),4e3)}),17)}return i.sort((function(e,t){return(e.time||0)-(t.time||0)})),{state:o,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,a=r,l={time:n,index:a.index};if(n>a.time)for(let r=a.index+1;r=(e.time||0)))break;l.index=r,t.playing&&o.enable&&s(e)}else if(n-1&&n<=(i[t].time||0);t--)l.index=t-1;r=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){i.splice(r.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,u),{state:P,onFullscreenChange:R,emitFullscreenChange:B,toggleFullscreen:N,requestFullScreen:j,exitFullScreen:M}=function(e,t,n,o,r){const i=Ht({fullscreen:!1}),s=/^Apple/.test(navigator.vendor);function a(t){i.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const i=r.value,l=t.value,c=n.value;let u;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||s&&!o.userAction?c.webkitEnterFullScreen?c.webkitEnterFullScreen():(u=!0,l.remove(),l.classList.add("uni-video-type-fullscreen"),document.body.appendChild(l)):l[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():c.webkitExitFullScreen?c.webkitExitFullScreen():(u=!0,l.remove(),l.classList.remove("uni-video-type-fullscreen"),i.appendChild(l)),u&&a(e)}function c(){l(!1)}return Ho(c),{state:i,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||a(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:a,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(s,i,c,a,r),{state:I,onTouchstart:V,onTouchend:F,onTouchmove:H}=Np(e,u,c,P),{state:D,progressRef:W,ballRef:q,clickProgress:U,toggleControls:z,autoHideEnd:X,autoHideStart:K}=function(e,t,n,o){const r=on(null),i=on(null),s=ki((()=>e.showCenterPlayBtn&&!t.start)),a=on(!0),l=ki((()=>!s.value&&e.controls&&a.value)),c=Ht({seeking:!1,touching:!1,controlsTouching:!1,centerPlayBtnShow:s,controlsShow:l,controlsVisible:a});let u;function d(){u=setTimeout((()=>{c.controlsVisible=!1}),3e3)}function f(){u&&(clearTimeout(u),u=null)}return Ho((()=>{u&&clearTimeout(u)})),Qn((()=>c.controlsShow&&t.playing&&!c.controlsTouching),(e=>{e?d():f()})),Io((()=>{const e=ve(!1);let s,a,l,u=!0;const d=i.value;function f(e){const n=e.targetTouches[0],i=n.pageX,d=n.pageY;if(u&&Math.abs(i-s)100&&(h=100),t.progress=h,null==o||o(t.currentDuration*h/100),c.seeking=!0,e.preventDefault(),e.stopPropagation()}function p(o){c.controlsTouching=!1,c.touching&&(d.removeEventListener("touchmove",f,e),u||(o.preventDefault(),o.stopPropagation(),n(t.currentDuration*t.progress/100)),c.touching=!1)}d.addEventListener("touchstart",(n=>{c.controlsTouching=!0;const o=n.targetTouches[0];s=o.pageX,a=o.pageY,l=t.progress,u=!0,c.touching=!0,d.addEventListener("touchmove",f,e)})),d.addEventListener("touchend",p),d.addEventListener("touchcancel",p)})),{state:c,progressRef:r,ballRef:i,clickProgress:function(e){const o=r.value;let i=e.target,s=e.offsetX;for(;i&&i!==o;)s+=i.offsetLeft,i=i.parentNode;const a=o.offsetWidth;let l=0;s>=0&&s<=a&&(l=s/a,n(t.currentDuration*l))},toggleControls:function(){c.controlsVisible=!c.controlsVisible},autoHideStart:d,autoHideEnd:f}}(e,u,g,(e=>{I.currentTimeNew=e}));jp(d,f,h,g,A,m,j,M);const Y=function(e,t,n,o,r){const i=ki((()=>"progress"===t.gestureType||n.touching));return Qn(i,(o=>{e.pauseUpdatingCurrentTime=o,n.controlsTouching=o,"progress"===t.gestureType&&o&&(n.controlsVisible=o)})),Qn([()=>e.currentTime,()=>e.currentDuration],(()=>{e.currentDuration>0?e.progress=e.currentTime/e.currentDuration*100:e.progress=0,e.progress>100&&(e.progress=100)}),{immediate:!0}),Qn((()=>t.currentTimeNew),(t=>{e.currentTime=t})),i}(u,I,D);return()=>oi("uni-video",{ref:r,id:e.id,onClick:z},[oi("div",{ref:i,class:"uni-video-container",onTouchstart:V,onTouchend:F,onTouchmove:H,onFullscreenchange:_s(R,["stop"]),onWebkitfullscreenchange:_s((e=>R(e,!0)),["stop"])},[oi("video",ui({ref:c,style:{"object-fit":e.objectFit},muted:!!e.muted,loop:!!e.loop,src:u.src,poster:e.poster,autoplay:!!e.autoplay},l.value,{class:{"uni-video-video":!0,"uni-video-video-fullscreen":P.fullscreen},"webkit-playsinline":!0,playsinline:!0,onDurationchange:y,onLoadedmetadata:b,onProgress:_,onWaiting:w,onError:x,onPlay:T,onPause:S,onEnded:C,onTimeupdate:e=>{k(e),L(e)},onWebkitbeginfullscreen:()=>B(!0),onX5videoenterfullscreen:()=>B(!0),onWebkitendfullscreen:()=>B(!1),onX5videoexitfullscreen:()=>B(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),ro(oi("div",{class:"uni-video-bar uni-video-bar-full",onClick:_s((()=>{}),["stop"])},[oi("div",{class:"uni-video-controls"},[ro(oi("div",{class:{"uni-video-icon":!0,"uni-video-control-button":!0,"uni-video-control-button-play":!u.playing,"uni-video-control-button-pause":u.playing},onClick:_s(v,["stop"])},null,10,["onClick"]),[[Ki,e.showPlayBtn]]),ro(oi("div",{class:"uni-video-current-time"},[Bp(u.currentTime)],512),[[Ki,e.showProgress]]),ro(oi("div",{ref:W,class:"uni-video-progress-container",onClick:_s(U,["stop"])},[oi("div",{class:{"uni-video-progress":!0,"uni-video-progress-progressing":Y.value}},[oi("div",{style:{width:u.buffered-u.progress+"%",left:u.progress+"%"},class:"uni-video-progress-buffered"},null,4),oi("div",{style:{width:u.progress+"%"},class:"uni-video-progress-played"},null,4),oi("div",{ref:q,style:{left:u.progress+"%"},class:{"uni-video-ball":!0,"uni-video-ball-progressing":Y.value}},[oi("div",{class:"uni-video-inner"},null)],6)],2)],8,["onClick"]),[[Ki,e.showProgress]]),ro(oi("div",{class:"uni-video-duration"},[Bp(u.currentDuration)],512),[[Ki,e.showProgress]])]),ro(oi("div",{class:{"uni-video-icon":!0,"uni-video-danmu-button":!0,"uni-video-danmu-button-active":E.enable},onClick:_s($,["stop"])},null,10,["onClick"]),[[Ki,e.danmuBtn]]),ro(oi("div",{class:{"uni-video-icon":!0,"uni-video-fullscreen":!0,"uni-video-type-fullscreen":P.fullscreen},onClick:_s((()=>N(!P.fullscreen)),["stop"])},null,10,["onClick"]),[[Ki,e.showFullscreenBtn]])],8,["onClick"]),[[Ki,D.controlsShow]]),ro(oi("div",{ref:O,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[Ki,u.start&&E.enable]]),D.centerPlayBtnShow&&oi("div",{class:"uni-video-cover",onClick:_s((()=>{}),["stop"])},[oi("div",{class:"uni-video-cover-play-button uni-video-icon",onClick:_s(d,["stop"])},null,8,["onClick"])],8,["onClick"]),oi("div",{class:"uni-video-loading"},["volume"===I.gestureType?oi("div",{class:{"uni-video-toast-container":!0,"uni-video-toast-container-thin":I.toastThin},style:{marginTop:"5px"}},[!I.toastThin&&I.volumeNew>0&&"volume"===I.gestureType?oi("text",{class:"uni-video-icon uni-video-toast-icon"},[""]):!I.toastThin&&oi("text",{class:"uni-video-icon uni-video-toast-icon"},[""]),oi("div",{class:"uni-video-toast-draw",style:{width:100*I.volumeNew+"%"}},null)],2):null]),oi("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":Y.value}},[oi("div",{class:"uni-video-toast-title"},[oi("span",{class:"uni-video-toast-title-current-time"},[Bp(I.currentTimeNew)])," / ",Bp(u.currentDuration)])],2),oi("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}}),Ip=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Vp;function Fp(){if(Vp=Vp||Ip.__DC_STAT_UUID,!Vp){Vp=Date.now()+""+Math.floor(1e7*Math.random());try{Ip.__DC_STAT_UUID=Vp}catch(e){}}return Vp}function Hp(){if(!0!==__uniConfig.darkmode)return v(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Dp(){let e,t="0",n="",o="phone";const r=navigator.language;if(Qd){e="iOS";const o=Jd.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=t.split(".")[0];if(Number(r)>=18){const e=Jd.match(/Version\/([\d\.]+)/);e&&(t=e[1])}const i=Jd.match(/\(([a-zA-Z]+);/);i&&(n=i[1])}else if(Zd){e="Android";const o=Jd.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=Jd.match(/\((.+?)\)/),i=r?r[1].split(";"):Jd.split(" "),s=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==l)a="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n{const e=window.devicePixelRatio,t=sf(),n=af(t),o=lf(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=cf();let s=window.innerHeight;const a=Kl.top,l={left:Kl.left,right:i-Kl.right,top:Kl.top,bottom:s-Kl.bottom,width:i-Kl.left-Kl.right,height:s-Kl.top-Kl.bottom},{top:c,bottom:u}=function(){const e=document.documentElement.style,t=Zl(),n=Jl(e,"--window-bottom"),o=Jl(e,"--window-left"),r=Jl(e,"--window-right"),i=Jl(e,"--top-window-height");return{top:t,bottom:n?n+Kl.bottom:0,left:o?o+Kl.left:0,right:r?r+Kl.right:0,topWindowHeight:i||0}}();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:Kl.top,right:Kl.right,bottom:Kl.bottom,left:Kl.left},screenTop:r-s}}));let qp,Up=!0;function zp(){Up&&(qp=Dp())}const Xp=Mu(0,(()=>{zp();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:a,osname:l,osversion:u}=qp;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Fp(),deviceOrientation:s,deviceType:a,model:o,osName:l?l.toLowerCase():void 0,osVersion:u,platform:r,system:i})})),Kp=Mu(0,(()=>{zp();const{theme:e,language:t,browserName:n,browserVersion:o}=qp;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Ku?Ku():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,isUniAppX:!1,language:t,SDKVersion:"",theme:e,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,version:""},{})})),Yp=Mu(0,(()=>{Up=!0,zp(),Up=!1;const e=Wp(),t=Xp(),n=Kp();Up=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:a}=qp,l=c(e,t,n,{browserName:r,browserVersion:i,fontSizeSetting:void 0,osName:s.toLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0,ua:o,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,l}));const Gp=Mu(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)}));function Jp(e){const t=localStorage&&localStorage.getItem(e);if(!v(t))throw new Error("data not found");let n=t;try{const e=function(e){const t=["object","string","number","boolean","undefined"];try{const n=v(e)?JSON.parse(e):e,o=n.type;if(t.indexOf(o)>=0){const e=Object.keys(n);if(2===e.length&&"data"in n){if(typeof n.data===o)return n.data;if("object"===o&&/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(n.data))return new Date(n.data)}else if(1===e.length)return""}}catch(n){}}(JSON.parse(t));void 0!==e&&(n=e)}catch(o){}return n}const Zp=Mu(0,(e=>{try{return Jp(e)}catch(t){return""}})),Qp={esc:["Esc","Escape"],enter:["Enter"]},eh=Object.keys(Qp);const th=oi("div",{class:"uni-mask"},null,-1);function nh(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),Ts(yo({setup:()=>()=>(Ur(),Gr(e,t,null,16))}))}function oh(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function rh(e,{onEsc:t,onEnter:n}){const o=on(e.visible),{key:r,disable:i}=function(){const e=on(""),t=on(!1),n=n=>{if(t.value)return;const o=eh.find((e=>-1!==Qp[e].indexOf(n.key)));o&&(e.value=o),Sn((()=>e.value=""))};return Io((()=>{document.addEventListener("keyup",n)})),Ho((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}();return Qn((()=>e.visible),(e=>o.value=e)),Qn((()=>o.value),(e=>i.value=!e)),Jn((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}const ih=ju("request",(({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,enableChunked:s,withCredentials:a,timeout:l=__uniConfig.networkTimeout.request},{resolve:c,reject:u})=>{let d=null;const p=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];if(!n)return"string";if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(v(t)||t instanceof ArrayBuffer)d=t;else if("json"===p)try{d=JSON.stringify(t)}catch(g){d=t.toString()}else if("urlencoded"===p){const e=[];for(const n in t)f(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));d=e.join("&")}else d=t.toString();let h;if(s){if(void 0===typeof window.fetch||void 0===typeof window.AbortController)throw new Error("fetch or AbortController is not supported in this environment");const t=new AbortController,s=t.signal;h=new ah(t);const f={method:o,headers:n,body:d,signal:s,credentials:a?"include":"same-origin"},p=setTimeout((function(){h.abort(),u("timeout",{errCode:5})}),l);f.signal.addEventListener("abort",(function(){clearTimeout(p),u("abort",{errCode:600003})})),window.fetch(e,f).then((e=>{const t=e.status,n=e.headers,o=e.body,s={};n.forEach(((e,t)=>{s[t]=e}));const a=sh(s);if(h._emitter.emit("headersReceived",{header:s,statusCode:t,cookies:a}),!o)return void c({data:"",statusCode:t,header:s,cookies:a});const l=o.getReader(),u=[],d=()=>{l.read().then((({done:e,value:n})=>{if(e){const e=function(e){const t=e.reduce(((e,t)=>e+t.byteLength),0),n=new Uint8Array(t);let o=0;for(const r of e)n.set(new Uint8Array(r),o),o+=r.byteLength;return n.buffer}(u);let n="text"===i?(new TextDecoder).decode(e):e;return"text"===i&&(n=ch(n,i,r)),void c({data:n,statusCode:t,header:s,cookies:a})}const o=n;u.push(o),h._emitter.emit("chunkReceived",{data:o}),d()}))};d()}),(e=>{u(e,{errCode:5})}))}else{const t=new XMLHttpRequest;h=new ah(t),t.open(o,e);for(const e in n)f(n,e)&&t.setRequestHeader(e,n[e]);const s=setTimeout((function(){t.onload=t.onabort=t.onerror=null,h.abort(),u("timeout",{errCode:5})}),l);t.responseType=i,t.onload=function(){clearTimeout(s);const e=t.status;let n="text"===i?t.responseText:t.response;"text"===i&&(n=ch(n,i,r)),c({data:n,statusCode:e,header:lh(t.getAllResponseHeaders()),cookies:[]})},t.onabort=function(){clearTimeout(s),u("abort",{errCode:600003})},t.onerror=function(){clearTimeout(s),u(void 0,{errCode:5})},t.withCredentials=a,t.send(d)}return h}),0,Qu),sh=e=>{let t=e["Set-Cookie"]||e["set-cookie"],n=[];if(!t)return[];"["===t[0]&&"]"===t[t.length-1]&&(t=t.slice(1,-1));const o=t.split(";");for(let r=0;r{t===e&&(this._requestOnHeadersReceiveCallbacks.delete(n),this._emitter.off("headersReceived",e))}));const t=this._requestOnHeadersReceiveCallbacks.get(e);t&&(this._requestOnHeadersReceiveCallbacks.delete(e),this._emitter.off("headersReceived",t))}onChunkReceived(e){return this._emitter.on("chunkReceived",e),this._requestOnChunkReceiveCallbackId++,this._requestOnChunkReceiveCallbacks.set(this._requestOnChunkReceiveCallbackId,e),this._requestOnChunkReceiveCallbackId}offChunkReceived(e){if(null==e)return void this._emitter.off("chunkReceived");if("function"==typeof e)return void this._requestOnChunkReceiveCallbacks.forEach(((t,n)=>{t===e&&(this._requestOnChunkReceiveCallbacks.delete(n),this._emitter.off("chunkReceived",e))}));const t=this._requestOnChunkReceiveCallbacks.get(e);t&&(this._requestOnChunkReceiveCallbacks.delete(e),this._emitter.off("chunkReceived",t))}}function lh(e){const t={};return e.split("\n").forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}function ch(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(r){}return o}class uh{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){m(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const dh=ju("downloadFile",(({url:e,header:t={},timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:r})=>{var i,s=new XMLHttpRequest,a=new uh(s);return s.open("GET",e,!0),Object.keys(t).forEach((e=>{s.setRequestHeader(e,t[e])})),s.responseType="blob",s.onload=function(){clearTimeout(i);const t=s.status,n=this.response;let r;const a=s.getResponseHeader("content-disposition");if(a){const e=a.match(/filename="?(\S+)"?\b/);e&&(r=e[1])}n.name=r||function(e){const t=(e=e.split("#")[0].split("?")[0]).split("/");return t[t.length-1]}(e),o({statusCode:t,tempFilePath:df(n)})},s.onabort=function(){clearTimeout(i),r("abort",{errCode:600003})},s.onerror=function(){clearTimeout(i),r("",{errCode:602001})},s.onprogress=function(e){a._callbacks.forEach((t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesWritten:n,totalBytesExpectedToWrite:o})}))},s.send(),i=setTimeout((function(){s.onprogress=s.onload=s.onabort=s.onerror=null,a.abort(),r("timeout",{errCode:5})}),n),a}),0,ed),fh=Iu("navigateBack",((e,{resolve:t,reject:n})=>{let o=!0;return!0===gc("onBackPress",{from:e.from||"navigateBack"})&&(o=!1),o?(Cp().$router.go(-e.delta),t()):n("onBackPress")}),0,id),ph=Iu("navigateTo",(({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(Od.handledBeforeEntryPageRoutes)return bd({type:"navigateTo",url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);Ld.push({args:{type:"navigateTo",url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,nd);function hh(e){__uniConfig.darkmode&&Mh.on("onThemeChange",e)}function gh(e){Mh.off("onThemeChange",e)}const mh={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},vh=yo({props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},setup(e,{emit:t}){const n=on(""),o=()=>s.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),s=rh(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}}),a=function(e){const t=on(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=mh[e].cancelColor})(e,t)};return Jn((()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Hp()&&n({theme:"dark"}),hh(n))):gh(n)})),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:f}=e;return n.value=o,oi(Bi,{name:"uni-fade"},{default:()=>[ro(oi("uni-modal",{onTouchmove:Yl},[th,oi("div",{class:"uni-modal"},[t?oi("div",{class:"uni-modal__hd"},[oi("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?oi("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:f,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):oi("div",{class:"uni-modal__bd",onTouchmovePassive:Gl,textContent:o},null,40,["onTouchmovePassive","textContent"]),oi("div",{class:"uni-modal__ft"},[l&&oi("div",{style:{color:a.value},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),oi("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[Ki,s.value]])]})}}});let yh;const bh=fe((()=>{Mh.on("onHidePopup",(()=>yh.visible=!1))}));let _h;function wh(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&yh.editable&&(o.content=t),_h&&_h(o)}const xh=Iu("showModal",((e,{resolve:t})=>{bh(),_h=t,yh?(c(yh,e),yh.visible=!0):(yh=Ht(e),Sn((()=>(nh(vh,yh,wh).mount(oh("u-a-m")),Sn((()=>yh.visible=!0))))))}),0,dd),Th={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==fd.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Sh={light:"#fff",dark:"rgba(255,255,255,0.9)"},Ch=e=>Sh[e],kh=yo({name:"Toast",props:Th,setup(e){vl(),yl();const{Icon:t}=function(e){const t=on(Ch(Hp())),n=({theme:e})=>t.value=Ch(e);Jn((()=>{e.visible?hh(n):gh(n)}));return{Icon:ki((()=>{switch(e.icon){case"success":return oi(ic(oc,t.value,38),{class:"uni-toast__icon"});case"error":return oi(ic(rc,t.value,38),{class:"uni-toast__icon"});case"loading":return oi("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=rh(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return oi(Bi,{name:"uni-fade"},{default:()=>[ro(oi("uni-toast",{"data-duration":r},[o?oi("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Yl},null,40,["onTouchmove"]):"",s||t.value?oi("div",{class:"uni-toast"},[s?oi("img",{src:s,class:"uni-toast__icon"},null,10,["src"]):t.value,oi("p",{class:"uni-toast__content"},[i])]):oi("div",{class:"uni-sample-toast"},[oi("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[Ki,n.value]])]})}}});let Eh,Oh,Lh="";const $h=Me();function Ah(e){Eh?c(Eh,e):(Eh=Ht(c(e,{visible:!1})),Sn((()=>{$h.run((()=>{Qn([()=>Eh.visible,()=>Eh.duration],(([e,t])=>{if(e){if(Oh&&clearTimeout(Oh),"onShowLoading"===Lh)return;Oh=setTimeout((()=>{Rh("onHideToast")}),t)}else Oh&&clearTimeout(Oh)}))})),Mh.on("onHidePopup",(()=>Rh("onHidePopup"))),nh(kh,Eh,(()=>{})).mount(oh("u-a-t"))}))),setTimeout((()=>{Eh.visible=!0}),10)}const Ph=Iu("showToast",((e,{resolve:t,reject:n})=>{Ah(e),Lh="onShowToast",t()}),0,pd);function Rh(e){const{t:t}=hl();if(!Lh)return;let n="";if("onHideToast"===e&&"onShowToast"!==Lh?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==Lh&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);Lh="",setTimeout((()=>{Eh.visible=!1}),10)}function Bh(e){function t(){var t;(t=e.navigationBar.titleText)&&t!==document.title&&(document.title=t),Mh.emit("onNavigationBarChange",{titleText:t})}Jn(t),Eo(t)}const Nh=Yc({name:"Layout",setup(e,{emit:t}){const n=on(null);Ql({"--status-bar-height":"0px","--top-window-height":"0px","--window-left":"0px","--window-right":"0px","--window-margin":"0px","--tab-bar-height":"0px"});const o=function(){const e=nl();return{routeKey:ki((()=>Vd("/"+e.meta.route,uu()))),isTabBar:ki((()=>e.meta.isTabBar)),routeCache:Hd}}(),{layoutState:r,windowState:i}=function(){cu();{const e=Ht({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Qn((()=>e.marginWidth),(e=>Ql({"--window-margin":e+"px"}))),Qn((()=>e.leftWindowWidth+e.marginWidth),(e=>{Ql({"--window-left":e+"px"})})),Qn((()=>e.rightWindowWidth+e.marginWidth),(e=>{Ql({"--window-right":e+"px"})})),{layoutState:e,windowState:ki((()=>({})))}}}();!function(e,t){const n=cu();function o(){const o=document.body.clientWidth,r=Nd();let i={};if(r.length>0){i=Ed(r[r.length-1]).meta}else{const e=wc(n.path,!0);e&&(i=e.meta)}const s=parseInt(String((f(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=o>s,a&&s?(e.marginWidth=(o-s)/2,Sn((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")}))):(e.marginWidth=0,Sn((()=>{const e=t.value;e&&e.removeAttribute("style")})))}Qn([()=>n.path],o),Io((()=>{o(),window.addEventListener("resize",o)}))}(r,n);const s=function(e){const t=on(!1);return ki((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(!1);return()=>{const e=function(e,t,n,o,r,i){return function({routeKey:e,isTabBar:t,routeCache:n}){return oi(el,null,{default:Vn((({Component:o})=>[(Ur(),Gr(Co,{matchBy:"key",cache:n},[(Ur(),Gr(zn(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e)}(o);return oi("uni-app",{ref:n,class:s.value},[e,!1],2)}}});const jh=c(El,{publishHandler(e,t,n){Mh.subscribeHandler(e,t,n)}}),Mh=c(Nc,{publishHandler(e,t,n){jh.subscribeHandler(e,t,n)}}),Ih=Yc({name:"PageBody",setup(e,t){const n=on(null),o=on(null);return Qn((()=>false.enablePullDownRefresh),(()=>{o.value=null}),{immediate:!0}),()=>oi(Vr,null,[!1,oi("uni-page-wrapper",ui({ref:n},o.value),[oi("uni-page-body",null,[Ko(t.slots,"default")]),null],16)])}}),Vh=Yc({name:"Page",setup(e,t){let n=lu(uu());n.navigationBar;const o={};return Bh(n),()=>oi("uni-page",{"data-page":n.route,style:o},[Fh(t),null])}});function Fh(e){return Ur(),Gr(Ih,{key:0},{default:Vn((()=>[Ko(e.slots,"page")])),_:3})}const Hh={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Xu;const Dh=Object.assign({}),Wh=Object.assign;window.__uniConfig=Wh({globalStyle:{backgroundColor:"#F7F8FF",navigationBar:{backgroundColor:"#F7F8FF",titleText:"临床思维训练",type:"default",titleColor:"#000000"},isNVue:!1},uniIdRouter:{},compilerVersion:"5.07"},{appId:"",appName:"AI思维临床训练",appVersion:"1.0.0",appVersionCode:"100",async:Hh,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{},qqMapKey:void 0,bMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:Object.keys(Dh).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return Wh(e[n]||(e[n]={}),Dh[t].default),e}),{}),router:{mode:"hash",base:"./",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const qh={delay:Hh.delay,timeout:Hh.timeout,suspensible:Hh.suspensible};Hh.loading&&(qh.loadingComponent={name:"SystemAsyncLoading",render:()=>oi(qn(Hh.loading))}),Hh.error&&(qh.errorComponent={name:"SystemAsyncError",props:["error"],render(){return oi(qn(Hh.error),{error:this.error})}});const Uh=()=>t((()=>import("./pages-index-index.D4jpUrPc.js")),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url).then((e=>Lp(e.default||e))),zh=_o(Wh({loader:Uh},qh)),Xh=()=>t((()=>import("./config.C781xSGj.js").then((e=>e.c))),__vite__mapDeps([1,2,3,4,5]),import.meta.url).then((e=>Lp(e.default||e))),Kh=_o(Wh({loader:Xh},qh)),Yh=()=>t((()=>import("./pages-home-home.DrPjlTPP.js")),__vite__mapDeps([9,2,3,4,10]),import.meta.url).then((e=>Lp(e.default||e))),Gh=_o(Wh({loader:Yh},qh)),Jh=()=>t((()=>import("./pages-matching-matching.tTf9St20.js")),__vite__mapDeps([11,2,4,12]),import.meta.url).then((e=>Lp(e.default||e))),Zh=_o(Wh({loader:Jh},qh)),Qh=()=>t((()=>import("./pages-cases-cases.DT82vyu5.js")),__vite__mapDeps([13,14,3,4,15]),import.meta.url).then((e=>Lp(e.default||e))),eg=_o(Wh({loader:Qh},qh)),tg=()=>t((()=>import("./pages-scenario-scenario.qHtGjID7.js")),__vite__mapDeps([16,2,14,17,4,18]),import.meta.url).then((e=>Lp(e.default||e))),ng=_o(Wh({loader:tg},qh)),og=()=>t((()=>import("./pages-chat-chat.AlWPGbhC.js")),__vite__mapDeps([19,2,14,17,3,4,20]),import.meta.url).then((e=>Lp(e.default||e))),rg=_o(Wh({loader:og},qh)),ig=()=>t((()=>import("./pages-profile-profile-analysis.CRJ4sJsP.js")),__vite__mapDeps([21,2,4,22]),import.meta.url).then((e=>Lp(e.default||e))),sg=_o(Wh({loader:ig},qh)),ag=()=>t((()=>import("./pages-profile-profile-records.BNZ8jFJk.js")),__vite__mapDeps([23,4,24]),import.meta.url).then((e=>Lp(e.default||e))),lg=_o(Wh({loader:ag},qh)),cg=()=>t((()=>import("./pages-learning-assistant-learning-assistant.C5b4ppY1.js")),__vite__mapDeps([25,2,17,3,4,26]),import.meta.url).then((e=>Lp(e.default||e))),ug=_o(Wh({loader:cg},qh)),dg=()=>t((()=>import("./pages-teaching-teaching.DR-9Lpuq.js")),__vite__mapDeps([27,2,14,3,17,4,28]),import.meta.url).then((e=>Lp(e.default||e))),fg=_o(Wh({loader:dg},qh)),pg=()=>t((()=>import("./pages-diagnosis-diagnosis.peFitBk1.js")),__vite__mapDeps([29,2,14,17,3,4,30]),import.meta.url).then((e=>Lp(e.default||e))),hg=_o(Wh({loader:pg},qh)),gg=()=>t((()=>import("./pages-treatment-treatment.CY1LQTC2.js")),__vite__mapDeps([31,2,14,3,17,4,32]),import.meta.url).then((e=>Lp(e.default||e))),mg=_o(Wh({loader:gg},qh)),vg=()=>t((()=>import("./pages-assessment-assessment.CwWm86GC.js")),__vite__mapDeps([33,2,17,4,34]),import.meta.url).then((e=>Lp(e.default||e))),yg=_o(Wh({loader:vg},qh)),bg=()=>t((()=>import("./pages-profile-profile.B-XBbnFl.js")),__vite__mapDeps([6,2,4,7]),import.meta.url).then((e=>Lp(e.default||e))),_g=_o(Wh({loader:bg},qh));function wg(e,t){return Ur(),Gr(Vh,null,{page:Vn((()=>[oi(e,Wh({},t,{ref:"page"}),null,512)])),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(zh,t)}},loader:Uh,meta:{isQuit:!0,isEntry:!0,navigationBar:{titleText:"临床思维训练",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/config/config",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(Kh,t)}},loader:Xh,meta:{navigationBar:{titleText:"信息配置",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/home/home",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(Gh,t)}},loader:Yh,meta:{navigationBar:{titleText:"临床思维训练",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/matching/matching",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(Zh,t)}},loader:Jh,meta:{navigationBar:{titleText:"智能匹配",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/cases/cases",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(eg,t)}},loader:Qh,meta:{navigationBar:{titleText:"病例列表",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/scenario/scenario",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(ng,t)}},loader:tg,meta:{navigationBar:{titleText:"场景配置",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/chat/chat",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(rg,t)}},loader:og,meta:{navigationBar:{titleText:"临床对话",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/profile/profile-analysis",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(sg,t)}},loader:ig,meta:{navigationBar:{titleText:"智能分析",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/profile/profile-records",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(lg,t)}},loader:ag,meta:{navigationBar:{titleText:"学习记录",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/learning-assistant/learning-assistant",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(ug,t)}},loader:cg,meta:{navigationBar:{titleText:"AI 学习助手",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/teaching/teaching",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(fg,t)}},loader:dg,meta:{navigationBar:{titleText:"教学模式",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/diagnosis/diagnosis",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(hg,t)}},loader:pg,meta:{navigationBar:{titleText:"临床诊断",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/treatment/treatment",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(mg,t)}},loader:gg,meta:{navigationBar:{titleText:"治疗计划",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/assessment/assessment",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(yg,t)}},loader:vg,meta:{navigationBar:{titleText:"考核评价",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/profile/profile",component:{setup(){const e=Cp(),t=e&&e.$route&&e.$route.query||{};return()=>wg(_g,t)}},loader:bg,meta:{navigationBar:{titleText:"个人中心",style:"custom",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const xg={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};Op(xg,{init:kp,setup(e){const t=cu(),n=()=>{var n;n=e,Object.keys(Yu).forEach((e=>{Yu[e].forEach((t=>{No(e,t,n)}))}));const{onLaunch:o,onShow:r,onPageNotFound:i}=e,s=function({path:e,query:t}){return c(ff,{path:e,query:t}),c(pf,ff),c({},ff)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:_e(t.query)});if(o&&B(o,s),r&&B(r,s),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:_e(t.query),scene:1001};_d(),i&&B(i,e)}};return yr(Wa).isReady().then(n),Io((()=>{window.addEventListener("resize",Te($p,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",Ap),document.addEventListener("visibilitychange",Pp),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{Mh.emit("onThemeChange",{theme:e.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",t):e.addListener(t)}}()})),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(Ur(),Gr(Nh));e.setup=(e,o)=>{const r=t&&t(e,o);return m(r)?n:r},e.render=n}}),Ts(xg).use(vp).mount("#app");export{xh as A,ih as B,Zp as C,yd as D,ln as E,Vr as F,ph as G,le as H,Ff as I,wi as J,No as K,gi as L,ni as M,Bd as N,oe as O,fh as P,Ph as Q,Qf as R,zf as S,Mp as T,dh as U,Ht as a,Do as b,ki as c,yo as d,Ur as e,Gr as f,si as g,ro as h,oi as i,ii as j,_s as k,Yr as l,Xo as m,ce as n,Io as o,md as p,Sn as q,on as r,Gp as s,X as t,wf as u,Ki as v,Vn as w,Yf as x,ep as y,iu as z}; diff --git a/dist/assets/matching-CpbVZD0l.css b/dist/assets/matching-DyLuDntN.css similarity index 51% rename from dist/assets/matching-CpbVZD0l.css rename to dist/assets/matching-DyLuDntN.css index 81c5646..420aec2 100644 --- a/dist/assets/matching-CpbVZD0l.css +++ b/dist/assets/matching-DyLuDntN.css @@ -1 +1 @@ -uni-page-body[data-v-a610ab33]{min-height:100%;background:#fff}body[data-v-a610ab33]{background:#fff}.matching-page[data-v-a610ab33]{min-height:100vh;background:#fff;color:#191c21;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent}.matching-shell[data-v-a610ab33]{position:relative;min-height:100vh;overflow:hidden;background:#fff;display:flex;flex-direction:column}.matching-shell[data-v-a610ab33]:before{content:"";position:absolute;left:0;right:0;top:0;bottom:0;background-size:40px 40px;background-image:radial-gradient(circle,rgba(0,71,141,.08) 1px,transparent 1px);pointer-events:none}.top-visual[data-v-a610ab33]{position:relative;z-index:1;height:33.333vh;min-height:250px;display:flex;align-items:center;justify-content:center;overflow:hidden}.network[data-v-a610ab33]{position:relative;width:256px;height:256px}.ring[data-v-a610ab33]{position:absolute;left:50%;top:50%;border-radius:50%;transform:translate(-50%,-50%);box-sizing:border-box}.ring-large[data-v-a610ab33]{width:224px;height:224px;border:1px solid rgba(194,198,212,.28);animation:spin-reverse-a610ab33 15s linear infinite}.ring-middle[data-v-a610ab33]{width:192px;height:192px;border:2px solid rgba(0,71,141,.2);animation:pulse-soft-a610ab33 2s ease-in-out infinite}.ring-small[data-v-a610ab33]{width:128px;height:128px;border:1px solid rgba(0,105,112,.3);animation:spin-a610ab33 10s linear infinite}.node[data-v-a610ab33]{position:absolute;border-radius:50%}.node-top[data-v-a610ab33]{left:50%;top:16px;width:16px;height:16px;background:#00478d;box-shadow:0 0 15px rgba(0,71,141,.5);transform:translate(-50%)}.node-left[data-v-a610ab33]{left:40px;bottom:40px;width:12px;height:12px;background:#006970;box-shadow:0 0 10px rgba(0,105,112,.4)}.node-right[data-v-a610ab33]{right:32px;top:80px;width:20px;height:20px;background:#005eb8;box-shadow:0 0 12px rgba(0,94,184,.4)}.particle[data-v-a610ab33]{position:absolute;width:4px;height:4px;border-radius:50%;background:#00478d;box-shadow:0 0 8px #00478d;pointer-events:none;animation-name:particle-move-a610ab33;animation-timing-function:linear;animation-fill-mode:forwards}.middle-visual[data-v-a610ab33]{position:relative;z-index:1;flex:1;padding:40px 20px 0;display:flex;flex-direction:column;align-items:center}.match-bubble[data-v-a610ab33]{position:relative;max-width:280px;margin-bottom:24px;padding:12px 16px;border:1px solid #c2c6d4;border-radius:8px;background:#e1e2ea;box-shadow:0 4px 12px rgba(25,28,33,.06);color:#424752;font-size:14px;line-height:20px;font-weight:600}.bubble-tail[data-v-a610ab33]{position:absolute;left:50%;bottom:-8px;width:16px;height:16px;border-right:1px solid #c2c6d4;border-bottom:1px solid #c2c6d4;background:#e1e2ea;transform:translate(-50%) rotate(45deg)}.typing-dots[data-v-a610ab33]:after{content:"";animation:typing-a610ab33 1.5s steps(4) infinite}.director-card[data-v-a610ab33]{width:192px;height:192px;margin-bottom:32px;padding:8px;border-radius:8px;background:#fff;box-shadow:0 8px 22px rgba(25,28,33,.12);box-sizing:border-box;display:flex;align-items:center;justify-content:center;animation:float-soft-a610ab33 6s ease-in-out infinite}.director-image[data-v-a610ab33]{width:100%;height:100%;border-radius:8px}.intelligence-area[data-v-a610ab33]{position:relative;width:100%;display:flex;flex-direction:column;align-items:center}.scan-circle[data-v-a610ab33]{position:relative;width:96px;height:96px;display:flex;align-items:center;justify-content:center}.pulse-ring[data-v-a610ab33]{position:absolute;border-radius:50%;animation:pulse-ring-a610ab33 2s cubic-bezier(.455,.03,.515,.955) infinite}.ring-one[data-v-a610ab33]{width:96px;height:96px;background:rgba(0,71,141,.1)}.ring-two[data-v-a610ab33]{width:76px;height:76px;background:rgba(0,71,141,.2);animation-delay:.5s}.brain-core[data-v-a610ab33]{position:relative;z-index:2;width:64px;height:64px;border:1px solid rgba(0,71,141,.2);border-radius:50%;background:#f9f9ff;box-shadow:0 6px 16px rgba(25,28,33,.08);overflow:hidden;display:flex;align-items:center;justify-content:center}.scan-bar[data-v-a610ab33]{position:absolute;left:-100%;top:0;width:200%;height:100%;background:linear-gradient(to right,transparent,rgba(0,71,141,.4),transparent);animation:scan-h-a610ab33 2s ease-in-out infinite}.brain-icon[data-v-a610ab33]{position:relative;z-index:1;width:32px;height:32px;background:#00478d;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9%202a4%204%200%200%200-4%204v.1A5%205%200%200%200%203%2010a5%205%200%200%200%202%204v.1A4%204%200%200%200%209%2022h1V2H9zm6%200h-1v20h1a4%204%200%200%200%204-4v-.1a5%205%200%200%200%202-4A5%205%200%200%200%2019%206.1V6a4%204%200%200%200-4-4z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9%202a4%204%200%200%200-4%204v.1A5%205%200%200%200%203%2010a5%205%200%200%200%202%204v.1A4%204%200%200%200%209%2022h1V2H9zm6%200h-1v20h1a4%204%200%200%200%204-4v-.1a5%205%200%200%200%202-4A5%205%200%200%200%2019%206.1V6a4%204%200%200%200-4-4z'/%3E%3C/svg%3E") center / contain no-repeat;animation:pulse-soft-a610ab33 1.8s ease-in-out infinite}.float-tag[data-v-a610ab33]{position:absolute;padding:4px 12px;border-radius:999px;border:1px solid transparent;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);font-size:10px;line-height:16px;font-weight:500;opacity:0;animation:fade-float-a610ab33 1s forwards ease-out,float-a610ab33 4s ease-in-out infinite}.tag-pos-0[data-v-a610ab33]{left:0;top:-16px;animation-delay:.2s,1.2s}.tag-pos-1[data-v-a610ab33]{right:-8px;top:48px;animation-delay:.6s,1.6s}.tag-pos-2[data-v-a610ab33]{left:24px;top:118px;animation-delay:1s,2s}.tag-pos-3[data-v-a610ab33]{right:0;top:92px;animation-delay:1.4s,2.4s}.tag-secondary[data-v-a610ab33]{border-color:rgba(0,105,112,.2);background:rgba(122,241,252,.8);color:#006e75}.tag-primary[data-v-a610ab33]{border-color:rgba(0,71,141,.2);background:rgba(214,227,255,.8);color:#001b3d}.tag-tertiary[data-v-a610ab33]{border-color:rgba(121,49,0,.2);background:rgba(255,219,203,.8);color:#341100}.tag-neutral[data-v-a610ab33]{border-color:rgba(194,198,212,.3);background:rgba(231,232,240,.9);color:#424752}.bottom-progress[data-v-a610ab33]{position:relative;z-index:1;padding:20px 20px 48px;display:flex;flex-direction:column;align-items:center}.progress-track[data-v-a610ab33]{width:100%;height:8px;margin-bottom:16px;border-radius:999px;background:#f3f4f6;overflow:hidden}.progress-fill[data-v-a610ab33]{height:100%;border-radius:inherit;background:#00478d;transition:width 1s ease-out}.progress-subtitle[data-v-a610ab33]{max-width:280px;text-align:center;color:#727783;font-size:12px;line-height:16px;font-weight:500}.security-icon[data-v-a610ab33]{width:16px;height:16px;margin-top:32px;background:#00478d;opacity:.6;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%201a5%205%200%200%200-5%205v3H6a2%202%200%200%200-2%202v9a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2v-9a2%202%200%200%200-2-2h-1V6a5%205%200%200%200-5-5zm-3%208V6a3%203%200%200%201%206%200v3H9z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%201a5%205%200%200%200-5%205v3H6a2%202%200%200%200-2%202v9a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2v-9a2%202%200%200%200-2-2h-1V6a5%205%200%200%200-5-5zm-3%208V6a3%203%200%200%201%206%200v3H9z'/%3E%3C/svg%3E") center / contain no-repeat}@keyframes typing-a610ab33{0%,25%{content:""}50%{content:"."}75%{content:".."}to{content:"..."}}@keyframes particle-move-a610ab33{0%{transform:translate(0);opacity:0}20%,80%{opacity:1}to{transform:translate(var(--particle-x),var(--particle-y));opacity:0}}@keyframes pulse-ring-a610ab33{0%{transform:scale(.33);opacity:.8}80%,to{transform:scale(1.5);opacity:0}}@keyframes float-a610ab33{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}@keyframes float-soft-a610ab33{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-5px) scale(1.02)}}@keyframes fade-float-a610ab33{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes scan-h-a610ab33{0%{left:-100%}to{left:100%}}@keyframes spin-a610ab33{0%{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}@keyframes spin-reverse-a610ab33{0%{transform:translate(-50%,-50%) rotate(360deg)}to{transform:translate(-50%,-50%) rotate(0)}}@keyframes pulse-soft-a610ab33{0%,to{opacity:.75}50%{opacity:1}} +uni-page-body[data-v-a0c3431a]{min-height:100%;background:#fff}body[data-v-a0c3431a]{background:#fff}.matching-page[data-v-a0c3431a]{min-height:100vh;background:#fff;color:#191c21;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent}.matching-shell[data-v-a0c3431a]{position:relative;min-height:100vh;overflow:hidden;background:#fff;display:flex;flex-direction:column}.matching-shell[data-v-a0c3431a]:before{content:"";position:absolute;left:0;right:0;top:0;bottom:0;background-size:40px 40px;background-image:radial-gradient(circle,rgba(0,71,141,.08) 1px,transparent 1px);pointer-events:none}.top-visual[data-v-a0c3431a]{position:relative;z-index:1;height:33.333vh;min-height:250px;display:flex;align-items:center;justify-content:center;overflow:hidden}.network[data-v-a0c3431a]{position:relative;width:256px;height:256px}.ring[data-v-a0c3431a]{position:absolute;left:50%;top:50%;border-radius:50%;transform:translate(-50%,-50%);box-sizing:border-box}.ring-large[data-v-a0c3431a]{width:224px;height:224px;border:1px solid rgba(194,198,212,.28);animation:spin-reverse-a0c3431a 15s linear infinite}.ring-middle[data-v-a0c3431a]{width:192px;height:192px;border:2px solid rgba(0,71,141,.2);animation:pulse-soft-a0c3431a 2s ease-in-out infinite}.ring-small[data-v-a0c3431a]{width:128px;height:128px;border:1px solid rgba(0,105,112,.3);animation:spin-a0c3431a 10s linear infinite}.node[data-v-a0c3431a]{position:absolute;border-radius:50%}.node-top[data-v-a0c3431a]{left:50%;top:16px;width:16px;height:16px;background:#00478d;box-shadow:0 0 15px rgba(0,71,141,.5);transform:translate(-50%)}.node-left[data-v-a0c3431a]{left:40px;bottom:40px;width:12px;height:12px;background:#006970;box-shadow:0 0 10px rgba(0,105,112,.4)}.node-right[data-v-a0c3431a]{right:32px;top:80px;width:20px;height:20px;background:#005eb8;box-shadow:0 0 12px rgba(0,94,184,.4)}.particle[data-v-a0c3431a]{position:absolute;width:4px;height:4px;border-radius:50%;background:#00478d;box-shadow:0 0 8px #00478d;pointer-events:none;animation-name:particle-move-a0c3431a;animation-timing-function:linear;animation-fill-mode:forwards}.middle-visual[data-v-a0c3431a]{position:relative;z-index:1;flex:1;padding:40px 20px 0;display:flex;flex-direction:column;align-items:center}.match-bubble[data-v-a0c3431a]{position:relative;max-width:280px;margin-bottom:24px;padding:12px 16px;border:1px solid #c2c6d4;border-radius:8px;background:#e1e2ea;box-shadow:0 4px 12px rgba(25,28,33,.06);color:#424752;font-size:14px;line-height:20px;font-weight:600}.bubble-tail[data-v-a0c3431a]{position:absolute;left:50%;bottom:-8px;width:16px;height:16px;border-right:1px solid #c2c6d4;border-bottom:1px solid #c2c6d4;background:#e1e2ea;transform:translate(-50%) rotate(45deg)}.typing-dots[data-v-a0c3431a]:after{content:"";animation:typing-a0c3431a 1.5s steps(4) infinite}.director-card[data-v-a0c3431a]{width:192px;height:192px;margin-bottom:32px;padding:8px;border-radius:8px;background:#fff;box-shadow:0 8px 22px rgba(25,28,33,.12);box-sizing:border-box;display:flex;align-items:center;justify-content:center;animation:float-soft-a0c3431a 6s ease-in-out infinite}.director-image[data-v-a0c3431a]{width:100%;height:100%;border-radius:8px}.intelligence-area[data-v-a0c3431a]{position:relative;width:100%;display:flex;flex-direction:column;align-items:center}.scan-circle[data-v-a0c3431a]{position:relative;width:96px;height:96px;display:flex;align-items:center;justify-content:center}.pulse-ring[data-v-a0c3431a]{position:absolute;border-radius:50%;animation:pulse-ring-a0c3431a 2s cubic-bezier(.455,.03,.515,.955) infinite}.ring-one[data-v-a0c3431a]{width:96px;height:96px;background:rgba(0,71,141,.1)}.ring-two[data-v-a0c3431a]{width:76px;height:76px;background:rgba(0,71,141,.2);animation-delay:.5s}.brain-core[data-v-a0c3431a]{position:relative;z-index:2;width:64px;height:64px;border:1px solid rgba(0,71,141,.2);border-radius:50%;background:#f9f9ff;box-shadow:0 6px 16px rgba(25,28,33,.08);overflow:hidden;display:flex;align-items:center;justify-content:center}.scan-bar[data-v-a0c3431a]{position:absolute;left:-100%;top:0;width:200%;height:100%;background:linear-gradient(to right,transparent,rgba(0,71,141,.4),transparent);animation:scan-h-a0c3431a 2s ease-in-out infinite}.brain-icon[data-v-a0c3431a]{position:relative;z-index:1;width:32px;height:32px;background:#00478d;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9%202a4%204%200%200%200-4%204v.1A5%205%200%200%200%203%2010a5%205%200%200%200%202%204v.1A4%204%200%200%200%209%2022h1V2H9zm6%200h-1v20h1a4%204%200%200%200%204-4v-.1a5%205%200%200%200%202-4A5%205%200%200%200%2019%206.1V6a4%204%200%200%200-4-4z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9%202a4%204%200%200%200-4%204v.1A5%205%200%200%200%203%2010a5%205%200%200%200%202%204v.1A4%204%200%200%200%209%2022h1V2H9zm6%200h-1v20h1a4%204%200%200%200%204-4v-.1a5%205%200%200%200%202-4A5%205%200%200%200%2019%206.1V6a4%204%200%200%200-4-4z'/%3E%3C/svg%3E") center / contain no-repeat;animation:pulse-soft-a0c3431a 1.8s ease-in-out infinite}.float-tag[data-v-a0c3431a]{position:absolute;padding:4px 12px;border-radius:999px;border:1px solid transparent;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);font-size:10px;line-height:16px;font-weight:500;opacity:0;animation:fade-float-a0c3431a 1s forwards ease-out,float-a0c3431a 4s ease-in-out infinite}.tag-pos-0[data-v-a0c3431a]{left:0;top:-16px;animation-delay:.2s,1.2s}.tag-pos-1[data-v-a0c3431a]{right:-8px;top:48px;animation-delay:.6s,1.6s}.tag-pos-2[data-v-a0c3431a]{left:24px;top:118px;animation-delay:1s,2s}.tag-pos-3[data-v-a0c3431a]{right:0;top:92px;animation-delay:1.4s,2.4s}.tag-secondary[data-v-a0c3431a]{border-color:rgba(0,105,112,.2);background:rgba(122,241,252,.8);color:#006e75}.tag-primary[data-v-a0c3431a]{border-color:rgba(0,71,141,.2);background:rgba(214,227,255,.8);color:#001b3d}.tag-tertiary[data-v-a0c3431a]{border-color:rgba(121,49,0,.2);background:rgba(255,219,203,.8);color:#341100}.tag-neutral[data-v-a0c3431a]{border-color:rgba(194,198,212,.3);background:rgba(231,232,240,.9);color:#424752}.bottom-progress[data-v-a0c3431a]{position:relative;z-index:1;padding:20px 20px 48px;display:flex;flex-direction:column;align-items:center}.progress-track[data-v-a0c3431a]{width:100%;height:8px;margin-bottom:16px;border-radius:999px;background:#f3f4f6;overflow:hidden}.progress-fill[data-v-a0c3431a]{height:100%;border-radius:inherit;background:#00478d;transition:width 1s ease-out}.progress-subtitle[data-v-a0c3431a]{max-width:280px;text-align:center;color:#727783;font-size:12px;line-height:16px;font-weight:500}.security-icon[data-v-a0c3431a]{width:16px;height:16px;margin-top:32px;background:#00478d;opacity:.6;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%201a5%205%200%200%200-5%205v3H6a2%202%200%200%200-2%202v9a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2v-9a2%202%200%200%200-2-2h-1V6a5%205%200%200%200-5-5zm-3%208V6a3%203%200%200%201%206%200v3H9z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%201a5%205%200%200%200-5%205v3H6a2%202%200%200%200-2%202v9a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2v-9a2%202%200%200%200-2-2h-1V6a5%205%200%200%200-5-5zm-3%208V6a3%203%200%200%201%206%200v3H9z'/%3E%3C/svg%3E") center / contain no-repeat}@keyframes typing-a0c3431a{0%,25%{content:""}50%{content:"."}75%{content:".."}to{content:"..."}}@keyframes particle-move-a0c3431a{0%{transform:translate(0);opacity:0}20%,80%{opacity:1}to{transform:translate(var(--particle-x),var(--particle-y));opacity:0}}@keyframes pulse-ring-a0c3431a{0%{transform:scale(.33);opacity:.8}80%,to{transform:scale(1.5);opacity:0}}@keyframes float-a0c3431a{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}@keyframes float-soft-a0c3431a{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-5px) scale(1.02)}}@keyframes fade-float-a0c3431a{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes scan-h-a0c3431a{0%{left:-100%}to{left:100%}}@keyframes spin-a0c3431a{0%{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}@keyframes spin-reverse-a0c3431a{0%{transform:translate(-50%,-50%) rotate(360deg)}to{transform:translate(-50%,-50%) rotate(0)}}@keyframes pulse-soft-a0c3431a{0%,to{opacity:.75}50%{opacity:1}} diff --git a/dist/assets/navigation.DVfJwOxJ.js b/dist/assets/navigation.DbARx0MO.js similarity index 89% rename from dist/assets/navigation.DVfJwOxJ.js rename to dist/assets/navigation.DbARx0MO.js index 84b96a0..ecf9008 100644 --- a/dist/assets/navigation.DVfJwOxJ.js +++ b/dist/assets/navigation.DbARx0MO.js @@ -1 +1 @@ -import{G as o,D as n,L as e}from"./index-pnQqyMoS.js";function i(n){var i;const l=e(),r=Boolean(null==(i=null==l?void 0:l.vnode.props)?void 0:i.onOpenProfile);return function(){r?n("open-profile"):o({url:"/pages/profile/profile"})}}function l(n){var i;const l=e(),r=Boolean(null==(i=null==l?void 0:l.vnode.props)?void 0:i.onOpenSettings);return function(){r?n("open-settings"):o({url:"/pages/config/config"})}}function r(o){var i;const l=e(),r=Boolean(null==(i=null==l?void 0:l.vnode.props)?void 0:i.onGoHome);return function(){r?o("go-home"):n({url:"/pages/home/home"})}}export{l as a,r as b,i as c}; +import{G as o,q as n,P as e}from"./index-DR4MYR5F.js";function i(n){var i;const l=e(),r=Boolean(null==(i=null==l?void 0:l.vnode.props)?void 0:i.onOpenProfile);return function(){r?n("open-profile"):o({url:"/pages/profile/profile"})}}function l(n){var i;const l=e(),r=Boolean(null==(i=null==l?void 0:l.vnode.props)?void 0:i.onOpenSettings);return function(){r?n("open-settings"):o({url:"/pages/config/config"})}}function r(o){var i;const l=e(),r=Boolean(null==(i=null==l?void 0:l.vnode.props)?void 0:i.onGoHome);return function(){r?o("go-home"):n({url:"/pages/home/home"})}}export{l as a,r as b,i as c}; diff --git a/dist/assets/pages-assessment-assessment.CwWm86GC.js b/dist/assets/pages-assessment-assessment.CwWm86GC.js deleted file mode 100644 index 251c4fd..0000000 --- a/dist/assets/pages-assessment-assessment.CwWm86GC.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,a,r as t,c as l,o as s,b as n,e as o,f as r,w as i,i as c,j as u,t as d,g as f,l as m,M as v,F as _,m as p,n as h,N as y,P as w,D as b,G as g,s as k,C as x,U as $,y as N,z as T,x as j,u as E,S as P,H as C,q as D}from"./index-pnQqyMoS.js";import{_ as F}from"./config-doctor.TgARj_nM.js";import{F as M,a as U,r as A,f as S}from"./session.CQodznPl.js";import{_ as O}from"./_plugin-vue_export-helper.BCo6x5W8.js";async function R(e){const a=await fetch(`${M}/evaluations/${e}`,{method:"GET",headers:U()});if(!a.ok)throw new Error(await A(a));const t=await a.json();if("OK"!==t.code||!t.data)throw new Error(t.message||"评价详情加载失败");return t.data}async function I(e){var a;const t=await fetch(`${M}/evaluations/${e}/download-pdf`,{method:"GET",headers:U("application/pdf")});if(!t.ok)throw new Error(await A(t));const l=t.headers.get("Content-Type")||"",s=function(e,a){var t,l;const s=null==(t=e.match(/filename\*=UTF-8''([^;]+)/i))?void 0:t[1];if(s)return decodeURIComponent(s);const n=null==(l=e.match(/filename="?([^"]+)"?/i))?void 0:l[1];return n||`training_record_${a}.pdf`}(t.headers.get("Content-Disposition")||"",e);if(l.includes("application/json")){const e=await t.json();if("OK"!==e.code||!(null==(a=e.data)?void 0:a.file_path))throw new Error(e.message||"PDF 下载失败");return{filePath:e.data.file_path,fileName:L(e.data.file_path,s)}}return{blob:await t.blob(),fileName:s}}function L(e,a){return e.split("?")[0].split("#")[0].split("/").filter(Boolean).pop()||a}const Y=O(e({__name:"assessment",setup(e){const O=a({date:"生成中",no:"生成中",caseTitle:"",score:0,scoreText:"--",level:"生成中",overallComment:"评价生成中,请稍候。"}),L=t(!1),Y=t(""),B=t(!1),X=t(null),G=t(null),K=t(null),V=t(!1),q=t(!1),z=t(!1),H=l((()=>264-264*O.score/100)),J=l((()=>O.overallComment||W.value)),W=l((()=>z.value?"评价生成失败,请稍后重试。":q.value?"本次评价暂无详细点评。":"评价生成中,请稍候。")),Q=l((()=>z.value?"评价生成失败,请稍后重试。":q.value?"暂无分项评分。":"分项评分生成中。")),Z=l((()=>z.value?"评价生成失败,暂无雷达图。":q.value?"暂无足够分项数据生成雷达图。":"雷达图生成中。")),ee=l((()=>{var e,a;const t=G.value||X.value;return t?Array.isArray(t.dimension_scores)&&t.dimension_scores.length>0?t.dimension_scores.map((e=>{const a=e.max_score>0?ce(Number(e.score)/Number(e.max_score)*100):ce(Number(e.score)),t=[e.comment,e.improvement?`改进建议:${e.improvement}`:""].filter(Boolean).join(" ");return{label:e.dimension,percent:a,displayScore:e.max_score>0?`${e.score}/${e.max_score}`:`${e.score}%`,analysis:t||"暂无分项解析。"}})):Array.isArray(t.score_details)&&t.score_details.length>0?t.score_details.map((e=>({label:e.dimension,percent:ce(Number(e.score)),displayScore:`${e.score}%`,analysis:e.comment||e.deducted_reason||"暂无分项解析。"}))):G.value&&Array.isArray(null==(e=X.value)?void 0:e.dimension_scores)&&X.value.dimension_scores.length>0?X.value.dimension_scores.map((e=>{const a=Number(e.score),t=Number(e.max_score),l=ce(t>0?a/t*100:a),s=[e.comment,e.improvement?`改进建议:${e.improvement}`:""].filter(Boolean).join(" ");return{label:e.dimension,percent:l,displayScore:t>0?`${e.score}/${e.max_score}`:`${e.score}%`,analysis:s||"暂无分项解析。"}})):G.value&&Array.isArray(null==(a=X.value)?void 0:a.score_details)&&X.value.score_details.length>0?X.value.score_details.map((e=>({label:e.dimension,percent:ce(Number(e.score)),displayScore:`${e.score}%`,analysis:e.comment||e.deducted_reason||"暂无分项解析。"}))):[]:[]})),ae=l((()=>{const e=ee.value.slice(0,6),a=e.length;return a<3?[]:e.map(((e,t)=>{const l=-Math.PI/2+2*Math.PI*t/a,s=e.percent/100*160,n=200+184*Math.cos(l),o=200+184*Math.sin(l);return{...e,axisX:ue(200+160*Math.cos(l)),axisY:ue(200+160*Math.sin(l)),labelX:ue(n),labelY:ue(o),pointX:ue(200+Math.cos(l)*s),pointY:ue(200+Math.sin(l)*s),anchor:n<170?"end":n>230?"start":"middle"}}))})),te=l((()=>ae.value.map((e=>`${e.pointX},${e.pointY}`)).join(" ")));let le=null;function se(){"function"==typeof y&&y().length>1?w():ne()}function ne(){b({url:"/pages/home/home"})}function oe(){g({url:"/pages/learning-assistant/learning-assistant"})}function re(e){le&&clearTimeout(le),Y.value=e,B.value=!0,le=setTimeout((()=>{B.value=!1}),2200)}function ie(e){return`${e.getFullYear()}年${e.getMonth()+1}月${e.getDate()}日`}function ce(e){return Number.isFinite(e)?Math.max(0,Math.min(100,Math.round(e))):0}function ue(e){return Math.round(100*e)/100}function de(e){return e>=90?"优秀":e>=80?"优良":e>=70?"良好":e>=60?"合格":"待加强"}function fe(e){X.value=e,K.value=e.evaluation_id,O.no=`EV-${e.evaluation_id}`,ve(e.total_score),O.level=de(O.score),O.date=ie(new Date),O.overallComment=e.overall_comment||"本次评价暂无详细点评。"}function me(e){var a;G.value=e,K.value=e.evaluation_id,O.no=`EV-${e.evaluation_id}`,O.caseTitle=e.case_title||"",O.date=function(e){if(!e)return ie(new Date);const a=new Date(e);return Number.isNaN(a.getTime())?e:ie(a)}(e.created_at),ve(e.total_score),O.level=de(O.score),O.overallComment=e.overall_comment||(null==(a=X.value)?void 0:a.overall_comment)||"本次评价暂无详细点评。"}function ve(e){O.score=ce(Number(e)),O.scoreText=Number.isFinite(Number(e))?String(O.score):"--"}async function _e(){q.value=!1,z.value=!1;try{if("teaching"===x("clinical-thinking-case-mode")&&Boolean(pe(!1)))return void(await async function(){const e=pe(),a=function(){const e=x("clinical-thinking-teaching-evaluation");return e&&"object"==typeof e?e:null}();a&&fe(a);const t=await R(e);k("clinical-thinking-evaluation-detail",t),me(t),q.value=!0}());const e=S();O.no=`SID-${e}`;const a=await async function(e,a="percentage"){const t=await fetch(`${M}/sessions/${e}/evaluation`,{method:"POST",headers:U(),body:JSON.stringify({score_type:a})});if(!t.ok)throw new Error(await A(t));const l=await t.json();if("OK"!==l.code||!l.data)throw new Error(l.message||"评价生成失败");return l.data}(e,"percentage");k("clinical-thinking-evaluation",a),fe(a);const t=await R(a.evaluation_id);k("clinical-thinking-evaluation-detail",t),me(t),q.value=!0}catch(e){z.value=!0,X.value=null,G.value=null,K.value=null,O.date="--",O.no="--",O.caseTitle="",O.score=0,O.scoreText="--",O.level="生成失败",O.overallComment="评价生成失败,请稍后重试。",re(e instanceof Error?e.message:"评价生成失败")}finally{L.value=!1,D((()=>{setTimeout((()=>{L.value=!0}),120)}))}}function pe(e=!0){const a=x("clinical-thinking-teaching-evaluation-id"),t=Number(a);if(Number.isInteger(t)&&t>0)return t;if(e)throw new Error("未找到教学评价,请先完成教学题目");return 0}async function he(){if(K.value&&!V.value){V.value=!0;try{const e=await I(K.value);k("clinical-thinking-evaluation-pdf",{fileName:e.fileName,filePath:e.filePath||""}),await async function(e){if(e.blob){if("undefined"==typeof window||"undefined"==typeof document)return;const a=window.URL.createObjectURL(e.blob);return ye(a,e.fileName),void window.setTimeout((()=>{window.URL.revokeObjectURL(a)}),1e3)}if(!e.filePath)throw new Error("PDF 下载地址为空");const a=function(e){const a=e.trim();return/^https?:\/\//i.test(a)||a.startsWith("/")?a:`/${a}`}(e.filePath),t=e.fileName;if("undefined"==typeof window||"undefined"==typeof document)return void $({url:a,fail:()=>re("PDF 下载失败")});try{const e=await fetch(a,{method:"GET",credentials:"include"});if(!e.ok)throw new Error(`PDF 下载失败(${e.status})`);const l=await e.blob(),s=window.URL.createObjectURL(l);ye(s,t),window.setTimeout((()=>{window.URL.revokeObjectURL(s)}),1e3)}catch(l){ye(a,t)}}(e),re("PDF 已生成")}catch(e){re(e instanceof Error?e.message:"PDF 下载失败")}finally{V.value=!1}}}function ye(e,a){const t=document.createElement("a");t.href=e,t.download=a,t.rel="noopener",t.style.display="none",document.body.appendChild(t),t.click(),document.body.removeChild(t)}return s((()=>{_e()})),n((()=>{le&&clearTimeout(le)})),(e,a)=>{const t=N,l=T,s=j,n=E,y=P;return o(),r(t,{class:"assessment-page"},{default:i((()=>[c(t,{class:"top-app-bar"},{default:i((()=>[c(l,{class:"icon-button","aria-label":"返回",onClick:se},{default:i((()=>[c(t,{class:"back-icon"})])),_:1}),c(s,{class:"app-title"},{default:i((()=>[u("AI 学习助手")])),_:1})])),_:1}),c(y,{class:"report-content","scroll-y":""},{default:i((()=>[c(t,{class:"report-head"},{default:i((()=>[c(s,{class:"report-title"},{default:i((()=>[u("训练总结与 AI 评估报告")])),_:1}),c(t,{class:"report-meta"},{default:i((()=>[c(s,null,{default:i((()=>[u("评估日期:"+d(O.date),1)])),_:1}),c(s,null,{default:i((()=>[u("模拟编号:"+d(O.no),1)])),_:1}),O.caseTitle?(o(),r(s,{key:0},{default:i((()=>[u("病例:"+d(O.caseTitle),1)])),_:1})):f("",!0)])),_:1})])),_:1}),c(t,{class:"content-stack"},{default:i((()=>[c(t,{class:"overall-card"},{default:i((()=>[c(t,{class:"score-ring"},{default:i((()=>[(o(),m("svg",{class:"ring-svg",viewBox:"0 0 100 100"},[v("circle",{class:"ring-track",cx:"50",cy:"50",fill:"transparent",r:"42","stroke-width":"10"}),v("circle",{class:"ring-value",cx:"50",cy:"50",fill:"transparent",r:"42","stroke-dasharray":"264","stroke-dashoffset":H.value,"stroke-linecap":"round","stroke-width":"10"},null,8,["stroke-dashoffset"])])),c(t,{class:"score-center"},{default:i((()=>[c(s,{class:"score-value"},{default:i((()=>[u(d(O.scoreText),1)])),_:1}),c(s,{class:"score-total"},{default:i((()=>[u("/100")])),_:1})])),_:1})])),_:1}),c(t,{class:"overall-copy"},{default:i((()=>[c(s,{class:"overall-title"},{default:i((()=>[u("本次考核评价:"),c(s,{class:"primary-text"},{default:i((()=>[u(d(O.level),1)])),_:1})])),_:1}),c(s,{class:"overall-desc"},{default:i((()=>[u(d(O.overallComment),1)])),_:1})])),_:1})])),_:1}),c(t,{class:"report-card"},{default:i((()=>[c(t,{class:"section-heading"},{default:i((()=>[c(t,{class:"hub-icon"}),c(s,null,{default:i((()=>[u("临床胜任力雷达图")])),_:1})])),_:1}),c(t,{class:"radar-wrap"},{default:i((()=>[ae.value.length>=3?(o(),m("svg",{key:0,class:"radar-svg",viewBox:"0 0 400 400"},[v("circle",{class:"radar-grid",cx:"200",cy:"200",r:"160"}),v("circle",{class:"radar-grid",cx:"200",cy:"200",r:"120"}),v("circle",{class:"radar-grid",cx:"200",cy:"200",r:"80"}),v("circle",{class:"radar-grid",cx:"200",cy:"200",r:"40"}),(o(!0),m(_,null,p(ae.value,(e=>(o(),m("line",{key:`axis-${e.label}`,class:"radar-grid",x1:"200",x2:e.axisX,y1:"200",y2:e.axisY},null,8,["x2","y2"])))),128)),v("polygon",{class:"radar-area",points:te.value},null,8,["points"]),(o(!0),m(_,null,p(ae.value,(e=>(o(),r(s,{key:`label-${e.label}`,class:"radar-label","text-anchor":e.anchor,x:e.labelX,y:e.labelY},{default:i((()=>[u(d(e.label),1)])),_:2},1032,["text-anchor","x","y"])))),128))])):(o(),r(t,{key:1,class:"empty-data radar-empty"},{default:i((()=>[c(s,null,{default:i((()=>[u(d(Z.value),1)])),_:1})])),_:1}))])),_:1})])),_:1}),c(t,{class:"report-card"},{default:i((()=>[c(t,{class:"section-heading breakdown-title"},{default:i((()=>[c(t,{class:"analytics-icon"}),c(s,null,{default:i((()=>[u("分项得分与解析")])),_:1})])),_:1}),c(t,{class:"breakdown-list"},{default:i((()=>[0===ee.value.length?(o(),r(t,{key:0,class:"empty-data"},{default:i((()=>[c(s,null,{default:i((()=>[u(d(Q.value),1)])),_:1})])),_:1})):(o(!0),m(_,{key:1},p(ee.value,((e,a)=>(o(),r(t,{key:`${e.label}-${a}`,class:"breakdown-item"},{default:i((()=>[c(t,{class:"breakdown-head"},{default:i((()=>[c(s,null,{default:i((()=>[u(d(e.label),1)])),_:2},1024),c(s,{class:"breakdown-score"},{default:i((()=>[u(d(e.displayScore),1)])),_:2},1024)])),_:2},1024),c(t,{class:"progress-track"},{default:i((()=>[c(t,{class:"progress-fill",style:C({width:L.value?`${e.percent}%`:"0%"})},null,8,["style"])])),_:2},1024),c(t,{class:"analysis-box"},{default:i((()=>[c(s,null,{default:i((()=>[u(d(e.analysis),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1}),c(t,{class:"mentor-section"},{default:i((()=>[c(t,{class:"mentor-head"},{default:i((()=>[c(n,{class:"mentor-avatar",src:F,mode:"aspectFill"}),c(t,{class:"mentor-title-group"},{default:i((()=>[c(s,{class:"mentor-title"},{default:i((()=>[u("王主任点评")])),_:1}),c(s,{class:"mentor-subtitle"},{default:i((()=>[u("Director's Mentorship")])),_:1})])),_:1})])),_:1}),c(t,{class:"mentor-bubble"},{default:i((()=>[c(t,{class:"mentor-tail"}),c(s,{class:"mentor-copy"},{default:i((()=>[u(d(J.value),1)])),_:1}),c(t,{class:"mentor-action-row"},{default:i((()=>[c(l,{class:"read-button",onClick:oe},{default:i((()=>[c(s,null,{default:i((()=>[u("去查阅")])),_:1}),c(t,{class:"arrow-forward-icon"})])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})])),_:1}),c(t,{class:"footer-actions"},{default:i((()=>[c(l,{class:h(["download-button",{disabled:!K.value||V.value}]),disabled:!K.value||V.value,onClick:he},{default:i((()=>[u(d(V.value?"PDF 生成中...":"下载完整 PDF 报告"),1)])),_:1},8,["class","disabled"]),c(l,{class:"next-button",onClick:ne},{default:i((()=>[u(" 开始下一轮强化训练 ")])),_:1})])),_:1}),c(t,{class:h(["toast",{visible:B.value}])},{default:i((()=>[u(d(Y.value),1)])),_:1},8,["class"])])),_:1})}}}),[["__scopeId","data-v-a9374911"]]);export{Y as default}; diff --git a/dist/assets/pages-assessment-assessment.DBigRajl.js b/dist/assets/pages-assessment-assessment.DBigRajl.js new file mode 100644 index 0000000..5d7ecd3 --- /dev/null +++ b/dist/assets/pages-assessment-assessment.DBigRajl.js @@ -0,0 +1 @@ +import{d as e,a,r as t,c as l,o as s,b as n,e as o,f as r,w as i,i as c,j as u,t as d,g as f,l as m,K as v,F as p,m as _,n as h,L as y,M as w,q as b,G as g,s as k,D as x,Q as $,z as N,A as T,y as j,x as E,S as D,H as P,u as C}from"./index-DR4MYR5F.js";import{_ as F}from"./config-doctor.TgARj_nM.js";import{o as M}from"./uni-app.es.CXV8m51O.js";import{F as A,a as S,r as U,f as I}from"./session.EmQEGqqa.js";import{b as L}from"./profile.e1L0urBE.js";import{_ as O}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./auth.CseBt7py.js";async function R(e){const a=await fetch(`${A}/evaluations/${e}`,{method:"GET",headers:S()});if(!a.ok)throw new Error(await U(a));const t=await a.json();if("OK"!==t.code||!t.data)throw new Error(t.message||"评价详情加载失败");return t.data}async function Y(e){var a;const t=await fetch(`${A}/evaluations/${e}/download-pdf`,{method:"GET",headers:S("application/pdf")});if(!t.ok)throw new Error(await U(t));const l=t.headers.get("Content-Type")||"",s=function(e,a){var t,l;const s=null==(t=e.match(/filename\*=UTF-8''([^;]+)/i))?void 0:t[1];if(s)return decodeURIComponent(s);const n=null==(l=e.match(/filename="?([^"]+)"?/i))?void 0:l[1];return n||`training_record_${a}.pdf`}(t.headers.get("Content-Disposition")||"",e);if(l.includes("application/json")){const e=await t.json();if("OK"!==e.code||!(null==(a=e.data)?void 0:a.file_path))throw new Error(e.message||"PDF 下载失败");return{filePath:e.data.file_path,fileName:B(e.data.file_path,s)}}return{blob:await t.blob(),fileName:s}}function B(e,a){return e.split("?")[0].split("#")[0].split("/").filter(Boolean).pop()||a}const X=O(e({__name:"assessment",setup(e){const O=a({date:"生成中",no:"生成中",caseTitle:"",score:0,scoreText:"--",level:"生成中",overallComment:"评价生成中,请稍候。"}),B=t(!1),X=t(""),G=t(!1),K=t(null),V=t(null),q=t(null),z=t(!1),H=t(!1),J=t(!1),Q=t(null),W=l((()=>264-264*O.score/100)),Z=l((()=>O.overallComment||ee.value)),ee=l((()=>J.value?"评价生成失败,请稍后重试。":H.value?"本次评价暂无详细点评。":"评价生成中,请稍候。")),ae=l((()=>J.value?"评价生成失败,请稍后重试。":H.value?"暂无分项评分。":"分项评分生成中。")),te=l((()=>J.value?"评价生成失败,暂无雷达图。":H.value?"暂无足够分项数据生成雷达图。":"雷达图生成中。")),le=l((()=>{var e,a;const t=V.value||K.value;return t?Array.isArray(t.dimension_scores)&&t.dimension_scores.length>0?t.dimension_scores.map((e=>{const a=e.max_score>0?fe(Number(e.score)/Number(e.max_score)*100):fe(Number(e.score)),t=[e.comment,e.improvement?`改进建议:${e.improvement}`:""].filter(Boolean).join(" ");return{label:e.dimension,percent:a,displayScore:e.max_score>0?`${e.score}/${e.max_score}`:`${e.score}%`,analysis:t||"暂无分项解析。"}})):Array.isArray(t.score_details)&&t.score_details.length>0?t.score_details.map((e=>({label:e.dimension,percent:fe(Number(e.score)),displayScore:`${e.score}%`,analysis:e.comment||e.deducted_reason||"暂无分项解析。"}))):V.value&&Array.isArray(null==(e=K.value)?void 0:e.dimension_scores)&&K.value.dimension_scores.length>0?K.value.dimension_scores.map((e=>{const a=Number(e.score),t=Number(e.max_score),l=fe(t>0?a/t*100:a),s=[e.comment,e.improvement?`改进建议:${e.improvement}`:""].filter(Boolean).join(" ");return{label:e.dimension,percent:l,displayScore:t>0?`${e.score}/${e.max_score}`:`${e.score}%`,analysis:s||"暂无分项解析。"}})):V.value&&Array.isArray(null==(a=K.value)?void 0:a.score_details)&&K.value.score_details.length>0?K.value.score_details.map((e=>({label:e.dimension,percent:fe(Number(e.score)),displayScore:`${e.score}%`,analysis:e.comment||e.deducted_reason||"暂无分项解析。"}))):[]:[]})),se=l((()=>{const e=le.value.slice(0,6),a=e.length;return a<3?[]:e.map(((e,t)=>{const l=-Math.PI/2+2*Math.PI*t/a,s=e.percent/100*160,n=200+184*Math.cos(l),o=200+184*Math.sin(l);return{...e,axisX:me(200+160*Math.cos(l)),axisY:me(200+160*Math.sin(l)),labelX:me(n),labelY:me(o),pointX:me(200+Math.cos(l)*s),pointY:me(200+Math.sin(l)*s),anchor:n<170?"end":n>230?"start":"middle"}}))})),ne=l((()=>se.value.map((e=>`${e.pointX},${e.pointY}`)).join(" ")));let oe=null;function re(){"function"==typeof y&&y().length>1?w():ie()}function ie(){b({url:"/pages/home/home"})}function ce(){g({url:"/pages/learning-assistant/learning-assistant"})}function ue(e){oe&&clearTimeout(oe),X.value=e,G.value=!0,oe=setTimeout((()=>{G.value=!1}),2200)}function de(e){return`${e.getFullYear()}年${e.getMonth()+1}月${e.getDate()}日`}function fe(e){return Number.isFinite(e)?Math.max(0,Math.min(100,Math.round(e))):0}function me(e){return Math.round(100*e)/100}function ve(e){return e>=90?"优秀":e>=80?"优良":e>=70?"良好":e>=60?"合格":"待加强"}function pe(e){K.value=e,q.value=e.evaluation_id,O.no=`EV-${e.evaluation_id}`,he(e.total_score),O.level=ve(O.score),O.date=de(new Date),O.overallComment=e.overall_comment||"本次评价暂无详细点评。"}function _e(e){var a;V.value=e,q.value=e.evaluation_id,O.no=`EV-${e.evaluation_id}`,O.caseTitle=e.case_title||"",O.date=function(e){if(!e)return de(new Date);const a=new Date(e);return Number.isNaN(a.getTime())?e:de(a)}(e.created_at),he(e.total_score),O.level=ve(O.score),O.overallComment=e.overall_comment||(null==(a=K.value)?void 0:a.overall_comment)||"本次评价暂无详细点评。"}function he(e){O.score=fe(Number(e)),O.scoreText=Number.isFinite(Number(e))?String(O.score):"--"}async function ye(){H.value=!1,J.value=!1;try{if(Q.value)return void(await async function(e){const a=await L(e);k("clinical-thinking-evaluation-detail",a),_e(a),K.value=null,H.value=!0}(Q.value));if("teaching"===x("clinical-thinking-case-mode")&&Boolean(we(!1)))return void(await async function(){const e=we(),a=function(){const e=x("clinical-thinking-teaching-evaluation");return e&&"object"==typeof e?e:null}();a&&pe(a);const t=await R(e);k("clinical-thinking-evaluation-detail",t),_e(t),H.value=!0}());const e=I();O.no=`SID-${e}`;const a=await async function(e,a="percentage"){const t=await fetch(`${A}/sessions/${e}/evaluation`,{method:"POST",headers:S(),body:JSON.stringify({score_type:a})});if(!t.ok)throw new Error(await U(t));const l=await t.json();if("OK"!==l.code||!l.data)throw new Error(l.message||"评价生成失败");return l.data}(e,"percentage");k("clinical-thinking-evaluation",a),pe(a);const t=await R(a.evaluation_id);k("clinical-thinking-evaluation-detail",t),_e(t),H.value=!0}catch(e){J.value=!0,K.value=null,V.value=null,q.value=null,O.date="--",O.no="--",O.caseTitle="",O.score=0,O.scoreText="--",O.level="生成失败",O.overallComment="评价生成失败,请稍后重试。",ue(e instanceof Error?e.message:"评价生成失败")}finally{B.value=!1,C((()=>{setTimeout((()=>{B.value=!0}),120)}))}}function we(e=!0){const a=x("clinical-thinking-teaching-evaluation-id"),t=Number(a);if(Number.isInteger(t)&&t>0)return t;if(e)throw new Error("未找到教学评价,请先完成教学题目");return 0}async function be(){if(q.value&&!z.value){z.value=!0;try{const e=await Y(q.value);k("clinical-thinking-evaluation-pdf",{fileName:e.fileName,filePath:e.filePath||""}),await async function(e){if(e.blob){if("undefined"==typeof window||"undefined"==typeof document)return;const a=window.URL.createObjectURL(e.blob);return ge(a,e.fileName),void window.setTimeout((()=>{window.URL.revokeObjectURL(a)}),1e3)}if(!e.filePath)throw new Error("PDF 下载地址为空");const a=function(e){const a=e.trim();return/^https?:\/\//i.test(a)||a.startsWith("/")?a:`/${a}`}(e.filePath),t=e.fileName;if("undefined"==typeof window||"undefined"==typeof document)return void $({url:a,fail:()=>ue("PDF 下载失败")});try{const e=await fetch(a,{method:"GET",credentials:"include"});if(!e.ok)throw new Error(`PDF 下载失败(${e.status})`);const l=await e.blob(),s=window.URL.createObjectURL(l);ge(s,t),window.setTimeout((()=>{window.URL.revokeObjectURL(s)}),1e3)}catch(l){ge(a,t)}}(e),ue("PDF 已生成")}catch(e){ue(e instanceof Error?e.message:"PDF 下载失败")}finally{z.value=!1}}}function ge(e,a){const t=document.createElement("a");t.href=e,t.download=a,t.rel="noopener",t.style.display="none",document.body.appendChild(t),t.click(),document.body.removeChild(t)}return M((e=>{Q.value=function(e){const a=Number(e);return Number.isInteger(a)&&a>0?a:null}((null==e?void 0:e.evaluation_id)||(null==e?void 0:e.id))})),s((()=>{ye()})),n((()=>{oe&&clearTimeout(oe)})),(e,a)=>{const t=N,l=T,s=j,n=E,y=D;return o(),r(t,{class:"assessment-page"},{default:i((()=>[c(t,{class:"top-app-bar"},{default:i((()=>[c(l,{class:"icon-button","aria-label":"返回",onClick:re},{default:i((()=>[c(t,{class:"back-icon"})])),_:1}),c(s,{class:"app-title"},{default:i((()=>[u("AI 学习助手")])),_:1})])),_:1}),c(y,{class:"report-content","scroll-y":""},{default:i((()=>[c(t,{class:"report-head"},{default:i((()=>[c(s,{class:"report-title"},{default:i((()=>[u("训练总结与 AI 评估报告")])),_:1}),c(t,{class:"report-meta"},{default:i((()=>[c(s,null,{default:i((()=>[u("评估日期:"+d(O.date),1)])),_:1}),c(s,null,{default:i((()=>[u("模拟编号:"+d(O.no),1)])),_:1}),O.caseTitle?(o(),r(s,{key:0},{default:i((()=>[u("病例:"+d(O.caseTitle),1)])),_:1})):f("",!0)])),_:1})])),_:1}),c(t,{class:"content-stack"},{default:i((()=>[c(t,{class:"overall-card"},{default:i((()=>[c(t,{class:"score-ring"},{default:i((()=>[(o(),m("svg",{class:"ring-svg",viewBox:"0 0 100 100"},[v("circle",{class:"ring-track",cx:"50",cy:"50",fill:"transparent",r:"42","stroke-width":"10"}),v("circle",{class:"ring-value",cx:"50",cy:"50",fill:"transparent",r:"42","stroke-dasharray":"264","stroke-dashoffset":W.value,"stroke-linecap":"round","stroke-width":"10"},null,8,["stroke-dashoffset"])])),c(t,{class:"score-center"},{default:i((()=>[c(s,{class:"score-value"},{default:i((()=>[u(d(O.scoreText),1)])),_:1}),c(s,{class:"score-total"},{default:i((()=>[u("/100")])),_:1})])),_:1})])),_:1}),c(t,{class:"overall-copy"},{default:i((()=>[c(s,{class:"overall-title"},{default:i((()=>[u("本次考核评价:"),c(s,{class:"primary-text"},{default:i((()=>[u(d(O.level),1)])),_:1})])),_:1}),c(s,{class:"overall-desc"},{default:i((()=>[u(d(O.overallComment),1)])),_:1})])),_:1})])),_:1}),c(t,{class:"report-card"},{default:i((()=>[c(t,{class:"section-heading"},{default:i((()=>[c(t,{class:"hub-icon"}),c(s,null,{default:i((()=>[u("临床胜任力雷达图")])),_:1})])),_:1}),c(t,{class:"radar-wrap"},{default:i((()=>[se.value.length>=3?(o(),m("svg",{key:0,class:"radar-svg",viewBox:"0 0 400 400"},[v("circle",{class:"radar-grid",cx:"200",cy:"200",r:"160"}),v("circle",{class:"radar-grid",cx:"200",cy:"200",r:"120"}),v("circle",{class:"radar-grid",cx:"200",cy:"200",r:"80"}),v("circle",{class:"radar-grid",cx:"200",cy:"200",r:"40"}),(o(!0),m(p,null,_(se.value,(e=>(o(),m("line",{key:`axis-${e.label}`,class:"radar-grid",x1:"200",x2:e.axisX,y1:"200",y2:e.axisY},null,8,["x2","y2"])))),128)),v("polygon",{class:"radar-area",points:ne.value},null,8,["points"]),(o(!0),m(p,null,_(se.value,(e=>(o(),r(s,{key:`label-${e.label}`,class:"radar-label","text-anchor":e.anchor,x:e.labelX,y:e.labelY},{default:i((()=>[u(d(e.label),1)])),_:2},1032,["text-anchor","x","y"])))),128))])):(o(),r(t,{key:1,class:"empty-data radar-empty"},{default:i((()=>[c(s,null,{default:i((()=>[u(d(te.value),1)])),_:1})])),_:1}))])),_:1})])),_:1}),c(t,{class:"report-card"},{default:i((()=>[c(t,{class:"section-heading breakdown-title"},{default:i((()=>[c(t,{class:"analytics-icon"}),c(s,null,{default:i((()=>[u("分项得分与解析")])),_:1})])),_:1}),c(t,{class:"breakdown-list"},{default:i((()=>[0===le.value.length?(o(),r(t,{key:0,class:"empty-data"},{default:i((()=>[c(s,null,{default:i((()=>[u(d(ae.value),1)])),_:1})])),_:1})):(o(!0),m(p,{key:1},_(le.value,((e,a)=>(o(),r(t,{key:`${e.label}-${a}`,class:"breakdown-item"},{default:i((()=>[c(t,{class:"breakdown-head"},{default:i((()=>[c(s,null,{default:i((()=>[u(d(e.label),1)])),_:2},1024),c(s,{class:"breakdown-score"},{default:i((()=>[u(d(e.displayScore),1)])),_:2},1024)])),_:2},1024),c(t,{class:"progress-track"},{default:i((()=>[c(t,{class:"progress-fill",style:P({width:B.value?`${e.percent}%`:"0%"})},null,8,["style"])])),_:2},1024),c(t,{class:"analysis-box"},{default:i((()=>[c(s,null,{default:i((()=>[u(d(e.analysis),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1}),c(t,{class:"mentor-section"},{default:i((()=>[c(t,{class:"mentor-head"},{default:i((()=>[c(n,{class:"mentor-avatar",src:F,mode:"aspectFill"}),c(t,{class:"mentor-title-group"},{default:i((()=>[c(s,{class:"mentor-title"},{default:i((()=>[u("王主任点评")])),_:1}),c(s,{class:"mentor-subtitle"},{default:i((()=>[u("Director's Mentorship")])),_:1})])),_:1})])),_:1}),c(t,{class:"mentor-bubble"},{default:i((()=>[c(t,{class:"mentor-tail"}),c(s,{class:"mentor-copy"},{default:i((()=>[u(d(Z.value),1)])),_:1}),c(t,{class:"mentor-action-row"},{default:i((()=>[c(l,{class:"read-button",onClick:ce},{default:i((()=>[c(s,null,{default:i((()=>[u("去查阅")])),_:1}),c(t,{class:"arrow-forward-icon"})])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})])),_:1}),c(t,{class:"footer-actions"},{default:i((()=>[c(l,{class:h(["download-button",{disabled:!q.value||z.value}]),disabled:!q.value||z.value,onClick:be},{default:i((()=>[u(d(z.value?"PDF 生成中...":"下载完整 PDF 报告"),1)])),_:1},8,["class","disabled"]),c(l,{class:"next-button",onClick:ie},{default:i((()=>[u(" 开始下一轮强化训练 ")])),_:1})])),_:1}),c(t,{class:h(["toast",{visible:G.value}])},{default:i((()=>[u(d(X.value),1)])),_:1},8,["class"])])),_:1})}}}),[["__scopeId","data-v-6015f15c"]]);export{X as default}; diff --git a/dist/assets/pages-cases-cases.BgMZzNL8.js b/dist/assets/pages-cases-cases.BgMZzNL8.js new file mode 100644 index 0000000..00f8171 --- /dev/null +++ b/dist/assets/pages-cases-cases.BgMZzNL8.js @@ -0,0 +1 @@ +import{d as e,r as a,a as l,c as t,J as s,o as u,b as c,e as i,f as n,w as o,i as r,E as d,j as v,t as f,l as m,m as p,F as _,g as y,n as h,z as g,A as k,y as b,I as C,S as T,s as w,G as j}from"./index-DR4MYR5F.js";import{o as $}from"./uni-app.es.CXV8m51O.js";import{f as S}from"./cases.CqwTWi6x.js";import{c as x,a as N,b as z}from"./navigation.DbARx0MO.js";import{_ as B}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./auth.CseBt7py.js";const I=B(e({__name:"cases",emits:["open-settings","open-profile","go-home"],setup(e,{emit:B}){const I=B,V=x(I),E=N(I),M=z(I),A=a([]),D=a(""),F=a(!1),G=a(!1),J=a(!1),U=a(""),q=a(0),H=a(1),K=a(10),L=a("recommended"),O=a(""),P=a(""),Q=a(""),R=a(!1),W=l({case_type:"",difficulty:""});let X=null,Y=null,Z=0;const ee={recommended:{title:"开始训练",subtitle:"基于您的训练画像智能推荐病例",placeholder:"搜索病例标题、科室、主诉"},specialty:{title:"专项强化",subtitle:"按配置科室聚焦专项病例",placeholder:"搜索专项病例"},weak:{title:"薄弱环节",subtitle:"优先呈现训练分数低于 70 分的病例",placeholder:"搜索待补强病例"},teaching:{title:"教学互动",subtitle:"练习模式与教学互动模式病例",placeholder:"搜索教学互动病例"},"teacher-task":{title:"教师任务",subtitle:"老师配置的针对性任务训练",placeholder:"搜索教师任务病例"}},ae=t((()=>"teaching"===L.value||"teacher-task"===L.value?[]:[{label:"全部类型",value:""},{label:"练习模式",value:"practice"},{label:"教学互动",value:"teaching"}])),le=[{label:"全部难度",value:""},{label:"简单",value:"easy"},{label:"中等",value:"medium"},{label:"困难",value:"hard"}],te=t((()=>ee[L.value])),se=t((()=>A.value.lengthe.department)))?void 0:a.department)||P.value:""}catch(s){if(t!==Z)return;J.value=l,U.value=s instanceof Error?s.message:"病例列表加载失败",function(e){X&&clearTimeout(X);Q.value=e,R.value=!0,X=setTimeout((()=>{R.value=!1}),2200)}(U.value)}finally{t===Z&&(F.value=!1,G.value=!1)}}function ne(){H.value=1,A.value=[],q.value=0,ie(1)}function oe(){F.value||G.value||!se.value||ie(H.value+1)}return s(D,(()=>{Y&&clearTimeout(Y),Y=setTimeout((()=>{ne()}),500)})),$((e=>{const a=null==e?void 0:e.source,l=null==e?void 0:e.mode,t=null==e?void 0:e.department,s=Number(null==e?void 0:e.page_size);var u;"recommended"===(u=a)||"specialty"===u||"weak"===u||"teaching"===u||"teacher-task"===u?L.value=a:"teaching"===l&&(L.value="teaching"),"string"==typeof t&&t.trim()&&(O.value=t),Number.isInteger(s)&&s>0&&(K.value=s)})),u(ie),c((()=>{X&&clearTimeout(X),Y&&clearTimeout(Y)})),(e,a)=>{const l=g,t=k,s=b,u=C,c=T;return i(),n(l,{class:"cases-page"},{default:o((()=>[r(l,{class:"case-shell"},{default:o((()=>[r(l,{class:"case-header"},{default:o((()=>[r(t,{class:"icon-button","aria-label":"设置",onClick:d(E)},{default:o((()=>[r(l,{class:"settings-icon"})])),_:1},8,["onClick"]),r(t,{class:"icon-button home-button","aria-label":"首页",onClick:d(M)},{default:o((()=>[r(l,{class:"home-icon"})])),_:1},8,["onClick"]),r(l,{class:"header-spacer"}),r(t,{class:"icon-button","aria-label":"个人中心",onClick:d(V)},{default:o((()=>[r(l,{class:"account-icon"})])),_:1},8,["onClick"])])),_:1}),r(c,{class:"case-content","scroll-y":"",onScrolltolower:oe},{default:o((()=>[r(l,{class:"list-hero"},{default:o((()=>[r(s,{class:"list-title"},{default:o((()=>[v(f(te.value.title),1)])),_:1}),r(s,{class:"list-subtitle"},{default:o((()=>[v(f(te.value.subtitle),1)])),_:1})])),_:1}),r(l,{class:"search-row"},{default:o((()=>[r(l,{class:"search-box"},{default:o((()=>[r(l,{class:"search-icon"}),r(u,{class:"search-input",modelValue:D.value,"onUpdate:modelValue":a[0]||(a[0]=e=>D.value=e),type:"text",placeholder:te.value.placeholder,"placeholder-class":"search-placeholder","confirm-type":"search",onConfirm:ce},null,8,["modelValue","placeholder"])])),_:1}),r(t,{class:"search-button",disabled:F.value,onClick:ce},{default:o((()=>[v("搜索")])),_:1},8,["disabled"])])),_:1}),ae.value.length?(i(),n(l,{key:0,class:"filter-row"},{default:o((()=>[(i(!0),m(_,null,p(ae.value,(e=>(i(),n(t,{key:e.value,class:h(["filter-chip",{active:W.case_type===e.value}]),onClick:a=>{return l=e.value,void(W.case_type!==l&&(W.case_type=l,ne()));var l}},{default:o((()=>[v(f(e.label),1)])),_:2},1032,["class","onClick"])))),128))])),_:1})):y("",!0),r(l,{class:"filter-row compact"},{default:o((()=>[(i(),m(_,null,p(le,(e=>r(t,{key:e.value,class:h(["filter-chip",{active:W.difficulty===e.value}]),onClick:a=>{return l=e.value,void(W.difficulty!==l&&(W.difficulty=l,ne()));var l}},{default:o((()=>[v(f(e.label),1)])),_:2},1032,["class","onClick"]))),64))])),_:1}),r(l,{class:"summary-row"},{default:o((()=>[r(s,null,{default:o((()=>[v(f(F.value&&0===A.value.length?"病例加载中...":`共 ${q.value} 个病例`),1)])),_:1}),P.value?(i(),n(s,{key:0},{default:o((()=>[v("科室:"+f(P.value),1)])),_:1})):y("",!0)])),_:1}),r(l,{class:"case-list"},{default:o((()=>[(i(!0),m(_,null,p(A.value,(e=>(i(),n(l,{key:e.id,class:h(["case-card",`mode-${e.mode}`]),onClick:a=>function(e){w("clinical-thinking-selected-case",e),w("clinical-thinking-case-mode",e.mode),j({url:"teaching"===e.mode?"/pages/teaching/teaching":"/pages/scenario/scenario"})}(e)},{default:o((()=>[r(l,{class:"case-main"},{default:o((()=>[r(l,{class:h(["patient-avatar",`avatar-${e.tone}`])},{default:o((()=>[r(s,null,{default:o((()=>[v(f(e.patientName.slice(0,1)),1)])),_:2},1024)])),_:2},1032,["class"]),r(l,{class:"case-info"},{default:o((()=>{var a;return[r(s,{class:"case-title"},{default:o((()=>[v(f(e.title),1)])),_:2},1024),r(s,{class:"case-meta"},{default:o((()=>[v(f(e.gender)+","+f(e.age||"-")+"岁,"+f(e.department)+","+f(e.caseTypeDisplay||e.scene),1)])),_:2},1024),e.description?(i(),n(s,{key:0,class:"case-desc"},{default:o((()=>[v(f(e.description),1)])),_:2},1024)):y("",!0),(null==(a=e.competencyTags)?void 0:a.length)?(i(),n(l,{key:1,class:"tag-row"},{default:o((()=>[(i(!0),m(_,null,p(e.competencyTags.slice(0,3),(e=>(i(),n(s,{key:e,class:"case-tag"},{default:o((()=>[v(f(e),1)])),_:2},1024)))),128))])),_:2},1024)):y("",!0)]})),_:2},1024)])),_:2},1024),r(l,{class:"case-footer"},{default:o((()=>[r(s,{class:"case-no"},{default:o((()=>[v("病例编号: "+f(e.caseNo),1)])),_:2},1024),r(l,{class:h(["mode-badge",`mode-badge-${e.mode}`])},{default:o((()=>[r(l,{class:h(["mode-icon",`mode-icon-${e.mode}`])},null,8,["class"]),r(s,null,{default:o((()=>{return[v(f((a=e.mode,"teaching"===a?"教学模式":"训练模式")),1)];var a})),_:2},1024)])),_:2},1032,["class"])])),_:2},1024),r(l,{class:"stat-row"},{default:o((()=>[r(s,null,{default:o((()=>[v(f(ue(e.difficulty,e.difficultyScore)),1)])),_:2},1024),e.estimatedMinutes?(i(),n(s,{key:0},{default:o((()=>[v(f(e.estimatedMinutes)+"分钟",1)])),_:2},1024)):y("",!0),null!==e.myBestScore&&void 0!==e.myBestScore?(i(),n(s,{key:1},{default:o((()=>[v("最高分 "+f(e.myBestScore),1)])),_:2},1024)):y("",!0),null!==e.myTrainCount&&void 0!==e.myTrainCount?(i(),n(s,{key:2},{default:o((()=>[v("已练 "+f(e.myTrainCount)+" 次",1)])),_:2},1024)):y("",!0)])),_:2},1024)])),_:2},1032,["class","onClick"])))),128)),F.value&&0===A.value.length?(i(),n(l,{key:0,class:"empty-state"},{default:o((()=>[r(l,{class:"spinner"}),r(s,null,{default:o((()=>[v("正在获取病例列表...")])),_:1})])),_:1})):J.value?(i(),n(l,{key:1,class:"empty-state"},{default:o((()=>[r(s,null,{default:o((()=>[v(f(U.value||"病例列表加载失败"),1)])),_:1}),r(t,{class:"retry-button",onClick:ne},{default:o((()=>[v("重新加载")])),_:1})])),_:1})):0===A.value.length?(i(),n(l,{key:2,class:"empty-state"},{default:o((()=>[r(s,null,{default:o((()=>[v("暂无匹配病例")])),_:1})])),_:1})):G.value?(i(),n(l,{key:3,class:"load-more-state"},{default:o((()=>[r(s,null,{default:o((()=>[v("继续加载中...")])),_:1})])),_:1})):se.value?y("",!0):(i(),n(l,{key:4,class:"load-more-state"},{default:o((()=>[r(s,null,{default:o((()=>[v("已显示全部病例")])),_:1})])),_:1}))])),_:1})])),_:1})])),_:1}),r(l,{class:h(["toast",{visible:R.value}])},{default:o((()=>[v(f(Q.value),1)])),_:1},8,["class"])])),_:1})}}}),[["__scopeId","data-v-f34bc4ed"]]);export{I as default}; diff --git a/dist/assets/pages-cases-cases.DT82vyu5.js b/dist/assets/pages-cases-cases.DT82vyu5.js deleted file mode 100644 index f1802e5..0000000 --- a/dist/assets/pages-cases-cases.DT82vyu5.js +++ /dev/null @@ -1 +0,0 @@ -import{J as a,K as e,L as s,O as l,d as t,r as c,c as o,o as n,b as i,e as u,f as d,w as r,i as m,E as f,l as _,m as p,F as g,j as h,g as v,t as b,n as k,y as C,z as j,I as x,x as y,S as N,s as w,G as $}from"./index-pnQqyMoS.js";import{f as L}from"./cases.4_d-snq4.js";import{c as V,a as I,b as S}from"./navigation.DVfJwOxJ.js";import{_ as z}from"./_plugin-vue_export-helper.BCo6x5W8.js";const E=((l,t=0)=>(t,c=s())=>{!a&&e(l,t,c)})(l,2),F=z(t({__name:"cases",emits:["open-settings","open-profile","go-home"],setup(a,{emit:e}){const s=e,l=V(s),t=I(s),z=S(s),F=c([]),G=c(""),J=c(""),K=c(!1),O=c(""),U=o((()=>{const a=G.value.trim().toLowerCase(),e=O.value?F.value.filter((a=>a.mode===O.value)):F.value;return a?e.filter((e=>[e.title,e.patientName,e.gender,String(e.age),e.department,e.scene,e.caseNo].some((e=>e.toLowerCase().includes(a))))):e}));return E((a=>{const e=null==a?void 0:a.mode;"teaching"!==e&&"training"!==e||(O.value=e)})),n((function(){L().then((a=>{F.value=a}))})),i((()=>{})),(a,e)=>{const s=C,c=j,o=x,n=y,i=N;return u(),d(s,{class:"cases-page"},{default:r((()=>[m(s,{class:"case-shell"},{default:r((()=>[m(s,{class:"case-header"},{default:r((()=>[m(c,{class:"icon-button","aria-label":"设置",onClick:f(t)},{default:r((()=>[m(s,{class:"settings-icon"})])),_:1},8,["onClick"]),m(c,{class:"icon-button home-button","aria-label":"首页",onClick:f(z)},{default:r((()=>[m(s,{class:"home-icon"})])),_:1},8,["onClick"]),m(s,{class:"header-spacer"}),m(c,{class:"icon-button","aria-label":"个人中心",onClick:f(l)},{default:r((()=>[m(s,{class:"account-icon"})])),_:1},8,["onClick"])])),_:1}),m(i,{class:"case-content","scroll-y":""},{default:r((()=>[m(s,{class:"search-row"},{default:r((()=>[m(s,{class:"search-box"},{default:r((()=>[m(s,{class:"search-icon"}),m(o,{class:"search-input",modelValue:G.value,"onUpdate:modelValue":e[0]||(e[0]=a=>G.value=a),type:"text",placeholder:"科室、主诉模糊搜索","placeholder-class":"search-placeholder"},null,8,["modelValue"])])),_:1})])),_:1}),m(s,{class:"case-list"},{default:r((()=>[(u(!0),_(g,null,p(U.value,(a=>(u(),d(s,{key:a.id,class:k(["case-card",`mode-${a.mode}`]),onClick:e=>function(a){w("clinical-thinking-selected-case",a),w("clinical-thinking-case-mode",a.mode),$({url:"teaching"===a.mode?"/pages/teaching/teaching":"/pages/scenario/scenario"})}(a)},{default:r((()=>[m(s,{class:"case-main"},{default:r((()=>[m(s,{class:k(["patient-avatar",`avatar-${a.tone}`])},{default:r((()=>[m(n,null,{default:r((()=>[h(b(a.patientName.slice(0,1)),1)])),_:2},1024)])),_:2},1032,["class"]),m(s,{class:"case-info"},{default:r((()=>[m(n,{class:"case-title"},{default:r((()=>[h(b(a.title),1)])),_:2},1024),m(n,{class:"case-meta"},{default:r((()=>[h(b(a.patientName)+","+b(a.gender)+","+b(a.age)+"岁,"+b(a.department)+","+b(a.scene),1)])),_:2},1024)])),_:2},1024)])),_:2},1024),m(s,{class:"case-footer"},{default:r((()=>[m(n,{class:"case-no"},{default:r((()=>[h("病例编号: "+b(a.caseNo),1)])),_:2},1024),m(s,{class:k(["mode-badge",`mode-badge-${a.mode}`])},{default:r((()=>[m(s,{class:k(["mode-icon",`mode-icon-${a.mode}`])},null,8,["class"]),m(n,null,{default:r((()=>{return[h(b((e=a.mode,"teaching"===e?"教学模式":"训练模式")),1)];var e})),_:2},1024)])),_:2},1032,["class"])])),_:2},1024)])),_:2},1032,["class","onClick"])))),128)),0===U.value.length?(u(),d(s,{key:0,class:"empty-state"},{default:r((()=>[m(n,null,{default:r((()=>[h("暂无匹配病例")])),_:1})])),_:1})):v("",!0)])),_:1})])),_:1})])),_:1}),m(s,{class:k(["toast",{visible:K.value}])},{default:r((()=>[h(b(J.value),1)])),_:1},8,["class"])])),_:1})}}}),[["__scopeId","data-v-64c7a872"]]);export{F as default}; diff --git a/dist/assets/pages-chat-chat.AlWPGbhC.js b/dist/assets/pages-chat-chat.AlWPGbhC.js deleted file mode 100644 index 1c89fcf..0000000 --- a/dist/assets/pages-chat-chat.AlWPGbhC.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,a,r as t,c as s,o as l,b as n,e as o,f as i,w as c,i as u,E as r,j as d,t as m,l as f,m as v,F as p,n as _,k as g,g as h,G as y,y as b,z as k,x as w,S as x,u as C,I as $}from"./index-pnQqyMoS.js";import{_ as E}from"./config-doctor.TgARj_nM.js";import{r as j}from"./cases.4_d-snq4.js";import{F as D,a as A,r as I,b as T,d as O,u as N,s as q,e as P}from"./session.CQodznPl.js";import{c as S,a as F,b as V}from"./navigation.DVfJwOxJ.js";import{_ as G}from"./_plugin-vue_export-helper.BCo6x5W8.js";const K={id:"case-1006004",title:"持续胸痛3小时",patientName:"陈先生",gender:"男",age:60,department:"心血管内科",scene:"住院部",caseNo:"1006004",tone:"orange",mode:"training"};function M(e){if(!Number.isInteger(e)||e<=0)throw new Error("未找到当前会话,请先生成模拟场景")}async function R(e,a){var t;M(e);const s=await fetch(`${D}/sessions/${e}/${a}`,{method:"GET",headers:A()});if(!s.ok)throw new Error(await I(s));const l=await s.json();if("OK"!==l.code||!Array.isArray(null==(t=l.data)?void 0:t.items))throw new Error(l.message||"检查列表加载失败");return l.data.items}async function U(e,a,t){var s;M(e);const l=await fetch(`${D}/sessions/${e}/${a}/${encodeURIComponent(t)}`,{method:"POST",headers:A()});if(!l.ok)throw new Error(await I(l));const n=await l.json();if("OK"!==n.code||!(null==(s=n.data)?void 0:s.item_code))throw new Error(n.message||"检查结果获取失败");return n.data}const z=G(e({__name:"chat",props:{caseItem:{}},emits:["open-settings","open-profile","go-home"],setup(e,{emit:D}){const A=e,I=D,G=S(I),M=F(I),z=V(I),B=a({patient:{name:"陈先生",gender:"男",age:60,department:"心血管内科",chiefComplaint:"持续胸痛3小时"},stages:[{key:"history",label:"病史采集",active:!0},{key:"diagnosis",label:"初步诊断",active:!1},{key:"treatment",label:"治疗方案",active:!1}],messages:[]}),Q=t(""),H=t(!1),J=t(!1),L=t(!1),W=t(0),X=t(""),Y=t(!1),Z=t(!1),ee=t(!1),ae=t(null),te=t(null),se=t([]),le=t([]),ne=t(!1),oe=t(!1),ie=t(!1);let ce=null,ue=null,re=null;const de=s((()=>A.caseItem||te.value)),me=s((()=>B.patient.chiefComplaint.includes("胸痛")?"胸痛":B.patient.chiefComplaint.slice(0,6)));function fe(){(function(e){const a=e||K,t="毕波涛"===a.patientName?"陈先生":a.patientName;return Promise.resolve({patient:{name:t,gender:a.gender,age:a.age,department:a.department,chiefComplaint:a.title},stages:[{key:"history",label:"病史采集",active:!0},{key:"diagnosis",label:"初步诊断",active:!1},{key:"treatment",label:"治疗方案",active:!1}],messages:[{id:"patient-initial",role:"patient",content:"心血管内科"===a.department?"医生,我心口这儿针扎一样疼了两个小时了,现在感觉喘气都费劲。":`医生,我这次主要是${a.title},有点担心。`,label:"患者"},{id:"mentor-initial",role:"mentor",content:"观察患者的面部表情和生命体征。你的第一个问题应该如何询问,以明确疼痛的性质?",label:"王主任"}]})})(de.value).then((e=>{var a;Object.assign(B.patient,e.patient),B.stages=e.stages;const t=T();if(null==(a=null==t?void 0:t.session)?void 0:a.session_id)return ae.value=t.session.session_id,B.messages=t.session.patient_opening?[{id:`patient-opening-${t.session.session_id}`,role:"patient",content:t.session.patient_opening,label:"患者"}]:[],Ce(),void we("开始问诊");B.messages=e.messages,Ce()}))}async function ve(){if(L.value)return;if(H.value||J.value)return void $e("请等待当前回复完成");const e=ae.value;if(e){L.value=!0;try{const a=await O(e);N(a.status),y({url:"/pages/diagnosis/diagnosis"})}catch(a){$e(a instanceof Error?a.message:"完成采集失败")}finally{L.value=!1}}else $e("未找到当前会话,请先生成模拟场景")}async function pe(){const e=ae.value;if(e){if(ee.value=!1,Z.value=!0,!(le.value.length>0||oe.value)){oe.value=!0;try{le.value=await function(e){return R(e,"auxiliary-exams")}(e)}catch(a){$e(a instanceof Error?a.message:"辅助检查列表加载失败")}finally{oe.value=!1}}}else $e("未找到当前会话,请先生成模拟场景")}async function _e(){const e=ae.value;if(e){if(Z.value=!1,ee.value=!0,!(se.value.length>0||ne.value)){ne.value=!0;try{se.value=await function(e){return R(e,"physical-exams")}(e)}catch(a){$e(a instanceof Error?a.message:"体格检查列表加载失败")}finally{ne.value=!1}}}else $e("未找到当前会话,请先生成模拟场景")}async function ge(e){const a=ae.value;if(a&&!ie.value){ie.value=!0;try{const t=await function(e,a){return U(e,"physical-exams",a)}(a,e.item_code);ee.value=!1,ye("体格检查",t)}catch(t){$e(t instanceof Error?t.message:"体格检查结果获取失败")}finally{ie.value=!1}}}async function he(e){const a=ae.value;if(a&&!ie.value){ie.value=!0;try{const t=await function(e,a){return U(e,"auxiliary-exams",a)}(a,e.item_code);Z.value=!1,ye("辅助检查",t)}catch(t){$e(t instanceof Error?t.message:"辅助检查结果获取失败")}finally{ie.value=!1}}}function ye(e,a){const t=Date.now(),s=[{id:`doctor-exam-${t}`,role:"doctor",content:`选择${e}:${a.item_name}`,label:"我"},{id:`mentor-exam-${t+1}`,role:"mentor",content:be(a),label:"AI助手"}];B.messages.push(...s),Ce()}function be(e){const a=[e.is_abnormal?"异常":"",e.is_key?"关键检查":"",e.already_ordered?"已检查过":""].filter(Boolean),t=a.length?`(${a.join(",")})`:"";return`${e.item_name}${t}:${e.result_text||"暂无结果。"}`}function ke(){const e=Q.value.trim();if(e&&!H.value){if(Q.value="",ae.value)return B.messages.push({id:`doctor-${Date.now()}`,role:"doctor",content:e,label:"我"}),Ce(),void we(e);H.value=!0,function(e){const a=e.trim(),t=a.includes("出冷汗")||a.includes("恶心")?"有,刚才疼得厉害的时候出了一身冷汗,还有点恶心,但没有吐。":a.includes("体格检查")?"患者面色苍白,额部出汗,心率偏快,血压较入院时略低。":a.includes("辅助检查")?"心电图提示下壁导联 ST 段抬高,肌钙蛋白待回报。":"疼痛主要在胸骨后,像压榨一样,休息后也没有明显缓解。";return Promise.resolve([{id:`doctor-${Date.now()}`,role:"doctor",content:a,label:"我"},{id:`patient-${Date.now()+1}`,role:"patient",content:t,label:"患者"},{id:`mentor-${Date.now()+2}`,role:"mentor",content:"很好,继续围绕 OPQRST 思路追问疼痛诱因、部位、性质、放射、持续时间和缓解因素,同时关注危险信号。",label:"王主任"}])}(e).then((e=>{B.messages.push(...e),Ce()})).finally((()=>{H.value=!1}))}}async function we(e){const a=ae.value;if(!a)return;H.value=!0,null==ue||ue.abort(),ue=new AbortController;const t=B.messages.length;B.messages.push({id:`patient-stream-${Date.now()}`,role:"patient",content:"",label:"患者"}),Ce();try{await q(a,e,{onDelta(e){B.messages[t].content+=e,Ce()}},ue.signal)}catch(s){if(s instanceof DOMException&&"AbortError"===s.name)return;B.messages[t].content.trim()||(B.messages[t].content="AI 病人回复失败,请重试。"),$e(s instanceof Error?s.message:"AI 流式回复异常")}finally{H.value=!1,ue=null,Ce()}}async function xe(){const e=ae.value;if(!e)return void $e("请先生成模拟场景");if(J.value)return;J.value=!0,null==re||re.abort(),re=new AbortController;const a=B.messages.length;B.messages.push({id:`mentor-hint-${Date.now()}`,role:"mentor",content:"王主任正在生成提示...",label:"王主任"}),Ce();try{let t=!1;await P(e,function(){const e=[...B.messages].reverse().find((e=>"doctor"===e.role));return(null==e?void 0:e.content)||"开始问诊"}(),{onDelta(e){t||(B.messages[a].content="",t=!0),B.messages[a].content+=e,Ce()}},re.signal)}catch(t){if(t instanceof DOMException&&"AbortError"===t.name)return;B.messages[a].content.trim()&&"王主任正在生成提示..."!==B.messages[a].content||(B.messages[a].content="练习提示生成失败,请稍后重试。"),$e(t instanceof Error?t.message:"练习提示生成失败,请稍后重试")}finally{J.value=!1,re=null,Ce()}}function Ce(){setTimeout((()=>{W.value+=1e3}),60)}function $e(e){ce&&clearTimeout(ce),X.value=e,Y.value=!0,ce=setTimeout((()=>{Y.value=!1}),2200)}return l((()=>{te.value=j(),fe()})),n((()=>{null==ue||ue.abort(),null==re||re.abort(),ce&&clearTimeout(ce)})),(e,a)=>{const t=b,s=k,l=w,n=x,y=C,j=$;return o(),i(t,{class:"chat-page"},{default:c((()=>[u(t,{class:"chat-shell"},{default:c((()=>[u(t,{class:"top-nav"},{default:c((()=>[u(s,{class:"icon-button","aria-label":"设置",onClick:r(M)},{default:c((()=>[u(t,{class:"settings-icon"})])),_:1},8,["onClick"]),u(s,{class:"icon-button home-button","aria-label":"首页",onClick:r(z)},{default:c((()=>[u(t,{class:"home-icon"})])),_:1},8,["onClick"]),u(t,{class:"nav-spacer"}),u(s,{class:"icon-button","aria-label":"个人中心",onClick:r(G)},{default:c((()=>[u(t,{class:"account-icon"})])),_:1},8,["onClick"])])),_:1}),u(t,{class:"case-header"},{default:c((()=>[u(t,{class:"case-title-row"},{default:c((()=>[u(l,{class:"case-heading"},{default:c((()=>[d("患者:"+m(B.patient.name)+" ("+m(me.value)+")",1)])),_:1}),u(s,{class:"finish-button",disabled:L.value,onClick:ve},{default:c((()=>[u(t,{class:"check-icon"}),u(l,null,{default:c((()=>[d(m(L.value?"提交中":"完成采集"),1)])),_:1})])),_:1},8,["disabled"])])),_:1}),u(t,{class:"patient-meta"},{default:c((()=>[u(l,null,{default:c((()=>[d("姓名:"+m(B.patient.name),1)])),_:1}),u(l,null,{default:c((()=>[d("性别:"+m(B.patient.gender),1)])),_:1}),u(l,null,{default:c((()=>[d("年龄:"+m(B.patient.age)+"岁",1)])),_:1}),u(l,null,{default:c((()=>[d("科室:"+m(B.patient.department),1)])),_:1})])),_:1})])),_:1}),u(t,{class:"stage-bar"},{default:c((()=>[u(t,{class:"stage-line"}),u(t,{class:"stage-line-active"}),(o(!0),f(p,null,v(B.stages,(e=>(o(),i(t,{key:e.key,class:_(["stage-item",{active:e.active}])},{default:c((()=>[u(t,{class:"stage-dot"},{default:c((()=>[u(t,{class:_(["stage-icon",`stage-icon-${e.key}`])},null,8,["class"])])),_:2},1024),u(l,null,{default:c((()=>[d(m(e.label),1)])),_:2},1024)])),_:2},1032,["class"])))),128))])),_:1}),u(n,{class:"chat-body","scroll-y":"","scroll-top":W.value},{default:c((()=>[u(t,{class:"message-list"},{default:c((()=>[(o(!0),f(p,null,v(B.messages,(e=>(o(),i(t,{key:e.id,class:_(["message-row",[`role-${e.role}`]])},{default:c((()=>["patient"===e.role?(o(),i(t,{key:0,class:"avatar patient-avatar"},{default:c((()=>[u(l,null,{default:c((()=>[d(m(B.patient.name.slice(0,1)),1)])),_:1})])),_:1})):h("",!0),u(t,{class:_(["message-bubble",`${e.role}-bubble`])},{default:c((()=>[u(l,{class:"message-content"},{default:c((()=>[d('"'+m(e.content)+'"',1)])),_:2},1024),u(t,{class:_(["message-label",{mentor:"mentor"===e.role}])},{default:c((()=>["mentor"===e.role?(o(),i(t,{key:0,class:"star-icon"})):h("",!0),u(l,null,{default:c((()=>[d(m(e.label),1)])),_:2},1024)])),_:2},1032,["class"])])),_:2},1032,["class"]),"doctor"===e.role?(o(),i(t,{key:1,class:"avatar doctor-avatar"},{default:c((()=>[u(t,{class:"person-icon"})])),_:1})):h("",!0)])),_:2},1032,["class"])))),128))])),_:1})])),_:1},8,["scroll-top"]),u(t,{class:_(["mentor-float",{loading:J.value}]),onClick:[g(xe,["stop"]),g(xe,["stop"])]},{default:c((()=>[u(l,{class:"mentor-badge"},{default:c((()=>[d("王主任")])),_:1}),u(t,{class:"mentor-avatar",onClick:[g(xe,["stop"]),g(xe,["stop"])]},{default:c((()=>[u(y,{src:E,mode:"aspectFill"})])),_:1})])),_:1},8,["class"]),u(t,{class:"input-panel"},{default:c((()=>[u(n,{class:"quick-actions","scroll-x":""},{default:c((()=>[u(t,{class:"quick-row"},{default:c((()=>[u(s,{class:"quick-chip",onClick:_e},{default:c((()=>[d("体格检查")])),_:1}),u(s,{class:"quick-chip",onClick:pe},{default:c((()=>[d("辅助检查")])),_:1})])),_:1})])),_:1}),u(t,{class:"input-row"},{default:c((()=>[u(j,{class:"chat-input",modelValue:Q.value,"onUpdate:modelValue":a[0]||(a[0]=e=>Q.value=e),type:"text",placeholder:"输入你对患者的提问...","placeholder-class":"input-placeholder",onConfirm:ke},null,8,["modelValue"]),u(s,{class:"send-button",disabled:H.value,onClick:ke},{default:c((()=>[u(t,{class:"send-icon"})])),_:1},8,["disabled"])])),_:1})])),_:1})])),_:1}),ee.value?(o(),i(t,{key:0,class:"exam-mask",onClick:a[3]||(a[3]=e=>ee.value=!1)},{default:c((()=>[u(t,{class:"physical-panel",onClick:a[2]||(a[2]=g((()=>{}),["stop"]))},{default:c((()=>[u(t,{class:"exam-header"},{default:c((()=>[u(l,{class:"exam-title"},{default:c((()=>[d("选择体格检查")])),_:1}),u(s,{class:"exam-close","aria-label":"关闭",onClick:a[1]||(a[1]=e=>ee.value=!1)},{default:c((()=>[u(t,{class:"close-icon"})])),_:1})])),_:1}),u(t,{class:"exam-list"},{default:c((()=>[ne.value?(o(),i(t,{key:0,class:"exam-empty"},{default:c((()=>[u(l,null,{default:c((()=>[d("体格检查加载中...")])),_:1})])),_:1})):0===se.value.length?(o(),i(t,{key:1,class:"exam-empty"},{default:c((()=>[u(l,null,{default:c((()=>[d("暂无可选体格检查")])),_:1})])),_:1})):(o(!0),f(p,{key:2},v(se.value,(e=>(o(),i(s,{key:e.item_code,class:"exam-item",disabled:ie.value,onClick:a=>ge(e)},{default:c((()=>[u(l,{class:"exam-name"},{default:c((()=>[d(m(e.item_name),1)])),_:2},1024),u(t,{class:"chevron-icon"})])),_:2},1032,["disabled","onClick"])))),128))])),_:1})])),_:1})])),_:1})):h("",!0),Z.value?(o(),i(t,{key:1,class:"exam-mask",onClick:a[6]||(a[6]=e=>Z.value=!1)},{default:c((()=>[u(t,{class:"exam-panel",onClick:a[5]||(a[5]=g((()=>{}),["stop"]))},{default:c((()=>[u(t,{class:"exam-header"},{default:c((()=>[u(l,{class:"exam-title"},{default:c((()=>[d("选择辅助检查")])),_:1}),u(s,{class:"exam-close","aria-label":"关闭",onClick:a[4]||(a[4]=e=>Z.value=!1)},{default:c((()=>[u(t,{class:"close-icon"})])),_:1})])),_:1}),u(t,{class:"exam-list"},{default:c((()=>[oe.value?(o(),i(t,{key:0,class:"exam-empty"},{default:c((()=>[u(l,null,{default:c((()=>[d("辅助检查加载中...")])),_:1})])),_:1})):0===le.value.length?(o(),i(t,{key:1,class:"exam-empty"},{default:c((()=>[u(l,null,{default:c((()=>[d("暂无可选辅助检查")])),_:1})])),_:1})):(o(!0),f(p,{key:2},v(le.value,(e=>(o(),i(s,{key:e.item_code,class:"exam-item",disabled:ie.value,onClick:a=>he(e)},{default:c((()=>[u(l,{class:"exam-name"},{default:c((()=>[d(m(e.item_name),1)])),_:2},1024),u(t,{class:"chevron-icon"})])),_:2},1032,["disabled","onClick"])))),128))])),_:1})])),_:1})])),_:1})):h("",!0),u(t,{class:_(["toast",{visible:Y.value}])},{default:c((()=>[d(m(X.value),1)])),_:1},8,["class"])])),_:1})}}}),[["__scopeId","data-v-c81fb762"]]);export{z as default}; diff --git a/dist/assets/pages-chat-chat.CwAY7iE8.js b/dist/assets/pages-chat-chat.CwAY7iE8.js new file mode 100644 index 0000000..8f8a531 --- /dev/null +++ b/dist/assets/pages-chat-chat.CwAY7iE8.js @@ -0,0 +1 @@ +import{d as e,a,r as t,c as s,o as l,b as n,e as o,f as i,w as c,i as u,E as r,j as d,t as m,l as f,m as v,F as p,n as _,k as g,g as h,G as y,z as b,A as k,y as w,S as x,x as C,I as $}from"./index-DR4MYR5F.js";import{_ as E}from"./config-doctor.TgARj_nM.js";import{r as j}from"./cases.CqwTWi6x.js";import{F as D,a as A,r as I,b as T,d as O,u as N,s as q,e as P}from"./session.EmQEGqqa.js";import{c as S,a as F,b as V}from"./navigation.DbARx0MO.js";import{_ as G}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./auth.CseBt7py.js";const K={id:"case-1006004",title:"持续胸痛3小时",patientName:"陈先生",gender:"男",age:60,department:"心血管内科",scene:"住院部",caseNo:"1006004",tone:"orange",mode:"training"};function M(e){if(!Number.isInteger(e)||e<=0)throw new Error("未找到当前会话,请先生成模拟场景")}async function R(e,a){var t;M(e);const s=await fetch(`${D}/sessions/${e}/${a}`,{method:"GET",headers:A()});if(!s.ok)throw new Error(await I(s));const l=await s.json();if("OK"!==l.code||!Array.isArray(null==(t=l.data)?void 0:t.items))throw new Error(l.message||"检查列表加载失败");return l.data.items}async function U(e,a,t){var s;M(e);const l=await fetch(`${D}/sessions/${e}/${a}/${encodeURIComponent(t)}`,{method:"POST",headers:A()});if(!l.ok)throw new Error(await I(l));const n=await l.json();if("OK"!==n.code||!(null==(s=n.data)?void 0:s.item_code))throw new Error(n.message||"检查结果获取失败");return n.data}const z=G(e({__name:"chat",props:{caseItem:{}},emits:["open-settings","open-profile","go-home"],setup(e,{emit:D}){const A=e,I=D,G=S(I),M=F(I),z=V(I),B=a({patient:{name:"陈先生",gender:"男",age:60,department:"心血管内科",chiefComplaint:"持续胸痛3小时"},stages:[{key:"history",label:"病史采集",active:!0},{key:"diagnosis",label:"初步诊断",active:!1},{key:"treatment",label:"治疗方案",active:!1}],messages:[]}),Q=t(""),H=t(!1),J=t(!1),L=t(!1),W=t(0),X=t(""),Y=t(!1),Z=t(!1),ee=t(!1),ae=t(null),te=t(null),se=t([]),le=t([]),ne=t(!1),oe=t(!1),ie=t(!1);let ce=null,ue=null,re=null;const de=s((()=>A.caseItem||te.value)),me=s((()=>B.patient.chiefComplaint.includes("胸痛")?"胸痛":B.patient.chiefComplaint.slice(0,6)));function fe(){(function(e){const a=e||K,t="毕波涛"===a.patientName?"陈先生":a.patientName;return Promise.resolve({patient:{name:t,gender:a.gender,age:a.age,department:a.department,chiefComplaint:a.title},stages:[{key:"history",label:"病史采集",active:!0},{key:"diagnosis",label:"初步诊断",active:!1},{key:"treatment",label:"治疗方案",active:!1}],messages:[{id:"patient-initial",role:"patient",content:"心血管内科"===a.department?"医生,我心口这儿针扎一样疼了两个小时了,现在感觉喘气都费劲。":`医生,我这次主要是${a.title},有点担心。`,label:"患者"},{id:"mentor-initial",role:"mentor",content:"观察患者的面部表情和生命体征。你的第一个问题应该如何询问,以明确疼痛的性质?",label:"王主任"}]})})(de.value).then((e=>{var a;Object.assign(B.patient,e.patient),B.stages=e.stages;const t=T();if(null==(a=null==t?void 0:t.session)?void 0:a.session_id)return ae.value=t.session.session_id,B.messages=t.session.patient_opening?[{id:`patient-opening-${t.session.session_id}`,role:"patient",content:t.session.patient_opening,label:"患者"}]:[],Ce(),void we("开始问诊");B.messages=e.messages,Ce()}))}async function ve(){if(L.value)return;if(H.value||J.value)return void $e("请等待当前回复完成");const e=ae.value;if(e){L.value=!0;try{const a=await O(e);N(a.status),y({url:"/pages/diagnosis/diagnosis"})}catch(a){$e(a instanceof Error?a.message:"完成采集失败")}finally{L.value=!1}}else $e("未找到当前会话,请先生成模拟场景")}async function pe(){const e=ae.value;if(e){if(ee.value=!1,Z.value=!0,!(le.value.length>0||oe.value)){oe.value=!0;try{le.value=await function(e){return R(e,"auxiliary-exams")}(e)}catch(a){$e(a instanceof Error?a.message:"辅助检查列表加载失败")}finally{oe.value=!1}}}else $e("未找到当前会话,请先生成模拟场景")}async function _e(){const e=ae.value;if(e){if(Z.value=!1,ee.value=!0,!(se.value.length>0||ne.value)){ne.value=!0;try{se.value=await function(e){return R(e,"physical-exams")}(e)}catch(a){$e(a instanceof Error?a.message:"体格检查列表加载失败")}finally{ne.value=!1}}}else $e("未找到当前会话,请先生成模拟场景")}async function ge(e){const a=ae.value;if(a&&!ie.value){ie.value=!0;try{const t=await function(e,a){return U(e,"physical-exams",a)}(a,e.item_code);ee.value=!1,ye("体格检查",t)}catch(t){$e(t instanceof Error?t.message:"体格检查结果获取失败")}finally{ie.value=!1}}}async function he(e){const a=ae.value;if(a&&!ie.value){ie.value=!0;try{const t=await function(e,a){return U(e,"auxiliary-exams",a)}(a,e.item_code);Z.value=!1,ye("辅助检查",t)}catch(t){$e(t instanceof Error?t.message:"辅助检查结果获取失败")}finally{ie.value=!1}}}function ye(e,a){const t=Date.now(),s=[{id:`doctor-exam-${t}`,role:"doctor",content:`选择${e}:${a.item_name}`,label:"我"},{id:`mentor-exam-${t+1}`,role:"mentor",content:be(a),label:"AI助手"}];B.messages.push(...s),Ce()}function be(e){const a=[e.is_abnormal?"异常":"",e.is_key?"关键检查":"",e.already_ordered?"已检查过":""].filter(Boolean),t=a.length?`(${a.join(",")})`:"";return`${e.item_name}${t}:${e.result_text||"暂无结果。"}`}function ke(){const e=Q.value.trim();if(e&&!H.value){if(Q.value="",ae.value)return B.messages.push({id:`doctor-${Date.now()}`,role:"doctor",content:e,label:"我"}),Ce(),void we(e);H.value=!0,function(e){const a=e.trim(),t=a.includes("出冷汗")||a.includes("恶心")?"有,刚才疼得厉害的时候出了一身冷汗,还有点恶心,但没有吐。":a.includes("体格检查")?"患者面色苍白,额部出汗,心率偏快,血压较入院时略低。":a.includes("辅助检查")?"心电图提示下壁导联 ST 段抬高,肌钙蛋白待回报。":"疼痛主要在胸骨后,像压榨一样,休息后也没有明显缓解。";return Promise.resolve([{id:`doctor-${Date.now()}`,role:"doctor",content:a,label:"我"},{id:`patient-${Date.now()+1}`,role:"patient",content:t,label:"患者"},{id:`mentor-${Date.now()+2}`,role:"mentor",content:"很好,继续围绕 OPQRST 思路追问疼痛诱因、部位、性质、放射、持续时间和缓解因素,同时关注危险信号。",label:"王主任"}])}(e).then((e=>{B.messages.push(...e),Ce()})).finally((()=>{H.value=!1}))}}async function we(e){const a=ae.value;if(!a)return;H.value=!0,null==ue||ue.abort(),ue=new AbortController;const t=B.messages.length;B.messages.push({id:`patient-stream-${Date.now()}`,role:"patient",content:"",label:"患者"}),Ce();try{await q(a,e,{onDelta(e){B.messages[t].content+=e,Ce()}},ue.signal)}catch(s){if(s instanceof DOMException&&"AbortError"===s.name)return;B.messages[t].content.trim()||(B.messages[t].content="AI 病人回复失败,请重试。"),$e(s instanceof Error?s.message:"AI 流式回复异常")}finally{H.value=!1,ue=null,Ce()}}async function xe(){const e=ae.value;if(!e)return void $e("请先生成模拟场景");if(J.value)return;J.value=!0,null==re||re.abort(),re=new AbortController;const a=B.messages.length;B.messages.push({id:`mentor-hint-${Date.now()}`,role:"mentor",content:"王主任正在生成提示...",label:"王主任"}),Ce();try{let t=!1;await P(e,function(){const e=[...B.messages].reverse().find((e=>"doctor"===e.role));return(null==e?void 0:e.content)||"开始问诊"}(),{onDelta(e){t||(B.messages[a].content="",t=!0),B.messages[a].content+=e,Ce()}},re.signal)}catch(t){if(t instanceof DOMException&&"AbortError"===t.name)return;B.messages[a].content.trim()&&"王主任正在生成提示..."!==B.messages[a].content||(B.messages[a].content="练习提示生成失败,请稍后重试。"),$e(t instanceof Error?t.message:"练习提示生成失败,请稍后重试")}finally{J.value=!1,re=null,Ce()}}function Ce(){setTimeout((()=>{W.value+=1e3}),60)}function $e(e){ce&&clearTimeout(ce),X.value=e,Y.value=!0,ce=setTimeout((()=>{Y.value=!1}),2200)}return l((()=>{te.value=j(),fe()})),n((()=>{null==ue||ue.abort(),null==re||re.abort(),ce&&clearTimeout(ce)})),(e,a)=>{const t=b,s=k,l=w,n=x,y=C,j=$;return o(),i(t,{class:"chat-page"},{default:c((()=>[u(t,{class:"chat-shell"},{default:c((()=>[u(t,{class:"top-nav"},{default:c((()=>[u(s,{class:"icon-button","aria-label":"设置",onClick:r(M)},{default:c((()=>[u(t,{class:"settings-icon"})])),_:1},8,["onClick"]),u(s,{class:"icon-button home-button","aria-label":"首页",onClick:r(z)},{default:c((()=>[u(t,{class:"home-icon"})])),_:1},8,["onClick"]),u(t,{class:"nav-spacer"}),u(s,{class:"icon-button","aria-label":"个人中心",onClick:r(G)},{default:c((()=>[u(t,{class:"account-icon"})])),_:1},8,["onClick"])])),_:1}),u(t,{class:"case-header"},{default:c((()=>[u(t,{class:"case-title-row"},{default:c((()=>[u(l,{class:"case-heading"},{default:c((()=>[d("患者:"+m(B.patient.name)+" ("+m(me.value)+")",1)])),_:1}),u(s,{class:"finish-button",disabled:L.value,onClick:ve},{default:c((()=>[u(t,{class:"check-icon"}),u(l,null,{default:c((()=>[d(m(L.value?"提交中":"完成采集"),1)])),_:1})])),_:1},8,["disabled"])])),_:1}),u(t,{class:"patient-meta"},{default:c((()=>[u(l,null,{default:c((()=>[d("姓名:"+m(B.patient.name),1)])),_:1}),u(l,null,{default:c((()=>[d("性别:"+m(B.patient.gender),1)])),_:1}),u(l,null,{default:c((()=>[d("年龄:"+m(B.patient.age)+"岁",1)])),_:1}),u(l,null,{default:c((()=>[d("科室:"+m(B.patient.department),1)])),_:1})])),_:1})])),_:1}),u(t,{class:"stage-bar"},{default:c((()=>[u(t,{class:"stage-line"}),u(t,{class:"stage-line-active"}),(o(!0),f(p,null,v(B.stages,(e=>(o(),i(t,{key:e.key,class:_(["stage-item",{active:e.active}])},{default:c((()=>[u(t,{class:"stage-dot"},{default:c((()=>[u(t,{class:_(["stage-icon",`stage-icon-${e.key}`])},null,8,["class"])])),_:2},1024),u(l,null,{default:c((()=>[d(m(e.label),1)])),_:2},1024)])),_:2},1032,["class"])))),128))])),_:1}),u(n,{class:"chat-body","scroll-y":"","scroll-top":W.value},{default:c((()=>[u(t,{class:"message-list"},{default:c((()=>[(o(!0),f(p,null,v(B.messages,(e=>(o(),i(t,{key:e.id,class:_(["message-row",[`role-${e.role}`]])},{default:c((()=>["patient"===e.role?(o(),i(t,{key:0,class:"avatar patient-avatar"},{default:c((()=>[u(l,null,{default:c((()=>[d(m(B.patient.name.slice(0,1)),1)])),_:1})])),_:1})):h("",!0),u(t,{class:_(["message-bubble",`${e.role}-bubble`])},{default:c((()=>[u(l,{class:"message-content"},{default:c((()=>[d('"'+m(e.content)+'"',1)])),_:2},1024),u(t,{class:_(["message-label",{mentor:"mentor"===e.role}])},{default:c((()=>["mentor"===e.role?(o(),i(t,{key:0,class:"star-icon"})):h("",!0),u(l,null,{default:c((()=>[d(m(e.label),1)])),_:2},1024)])),_:2},1032,["class"])])),_:2},1032,["class"]),"doctor"===e.role?(o(),i(t,{key:1,class:"avatar doctor-avatar"},{default:c((()=>[u(t,{class:"person-icon"})])),_:1})):h("",!0)])),_:2},1032,["class"])))),128))])),_:1})])),_:1},8,["scroll-top"]),u(t,{class:_(["mentor-float",{loading:J.value}]),onClick:[g(xe,["stop"]),g(xe,["stop"])]},{default:c((()=>[u(l,{class:"mentor-badge"},{default:c((()=>[d("王主任")])),_:1}),u(t,{class:"mentor-avatar",onClick:[g(xe,["stop"]),g(xe,["stop"])]},{default:c((()=>[u(y,{src:E,mode:"aspectFill"})])),_:1})])),_:1},8,["class"]),u(t,{class:"input-panel"},{default:c((()=>[u(n,{class:"quick-actions","scroll-x":""},{default:c((()=>[u(t,{class:"quick-row"},{default:c((()=>[u(s,{class:"quick-chip",onClick:_e},{default:c((()=>[d("体格检查")])),_:1}),u(s,{class:"quick-chip",onClick:pe},{default:c((()=>[d("辅助检查")])),_:1})])),_:1})])),_:1}),u(t,{class:"input-row"},{default:c((()=>[u(j,{class:"chat-input",modelValue:Q.value,"onUpdate:modelValue":a[0]||(a[0]=e=>Q.value=e),type:"text",placeholder:"输入你对患者的提问...","placeholder-class":"input-placeholder",onConfirm:ke},null,8,["modelValue"]),u(s,{class:"send-button",disabled:H.value,onClick:ke},{default:c((()=>[u(t,{class:"send-icon"})])),_:1},8,["disabled"])])),_:1})])),_:1})])),_:1}),ee.value?(o(),i(t,{key:0,class:"exam-mask",onClick:a[3]||(a[3]=e=>ee.value=!1)},{default:c((()=>[u(t,{class:"physical-panel",onClick:a[2]||(a[2]=g((()=>{}),["stop"]))},{default:c((()=>[u(t,{class:"exam-header"},{default:c((()=>[u(l,{class:"exam-title"},{default:c((()=>[d("选择体格检查")])),_:1}),u(s,{class:"exam-close","aria-label":"关闭",onClick:a[1]||(a[1]=e=>ee.value=!1)},{default:c((()=>[u(t,{class:"close-icon"})])),_:1})])),_:1}),u(t,{class:"exam-list"},{default:c((()=>[ne.value?(o(),i(t,{key:0,class:"exam-empty"},{default:c((()=>[u(l,null,{default:c((()=>[d("体格检查加载中...")])),_:1})])),_:1})):0===se.value.length?(o(),i(t,{key:1,class:"exam-empty"},{default:c((()=>[u(l,null,{default:c((()=>[d("暂无可选体格检查")])),_:1})])),_:1})):(o(!0),f(p,{key:2},v(se.value,(e=>(o(),i(s,{key:e.item_code,class:"exam-item",disabled:ie.value,onClick:a=>ge(e)},{default:c((()=>[u(l,{class:"exam-name"},{default:c((()=>[d(m(e.item_name),1)])),_:2},1024),u(t,{class:"chevron-icon"})])),_:2},1032,["disabled","onClick"])))),128))])),_:1})])),_:1})])),_:1})):h("",!0),Z.value?(o(),i(t,{key:1,class:"exam-mask",onClick:a[6]||(a[6]=e=>Z.value=!1)},{default:c((()=>[u(t,{class:"exam-panel",onClick:a[5]||(a[5]=g((()=>{}),["stop"]))},{default:c((()=>[u(t,{class:"exam-header"},{default:c((()=>[u(l,{class:"exam-title"},{default:c((()=>[d("选择辅助检查")])),_:1}),u(s,{class:"exam-close","aria-label":"关闭",onClick:a[4]||(a[4]=e=>Z.value=!1)},{default:c((()=>[u(t,{class:"close-icon"})])),_:1})])),_:1}),u(t,{class:"exam-list"},{default:c((()=>[oe.value?(o(),i(t,{key:0,class:"exam-empty"},{default:c((()=>[u(l,null,{default:c((()=>[d("辅助检查加载中...")])),_:1})])),_:1})):0===le.value.length?(o(),i(t,{key:1,class:"exam-empty"},{default:c((()=>[u(l,null,{default:c((()=>[d("暂无可选辅助检查")])),_:1})])),_:1})):(o(!0),f(p,{key:2},v(le.value,(e=>(o(),i(s,{key:e.item_code,class:"exam-item",disabled:ie.value,onClick:a=>he(e)},{default:c((()=>[u(l,{class:"exam-name"},{default:c((()=>[d(m(e.item_name),1)])),_:2},1024),u(t,{class:"chevron-icon"})])),_:2},1032,["disabled","onClick"])))),128))])),_:1})])),_:1})])),_:1})):h("",!0),u(t,{class:_(["toast",{visible:Y.value}])},{default:c((()=>[d(m(X.value),1)])),_:1},8,["class"])])),_:1})}}}),[["__scopeId","data-v-c81fb762"]]);export{z as default}; diff --git a/dist/assets/pages-config-config.Biif3AWZ.js b/dist/assets/pages-config-config.Biif3AWZ.js new file mode 100644 index 0000000..9d9e115 --- /dev/null +++ b/dist/assets/pages-config-config.Biif3AWZ.js @@ -0,0 +1 @@ +import{C as e,D as a,d as l,a as s,r as t,c,o as n,b as u,e as i,f as o,w as r,i as d,n as f,j as v,t as p,l as m,m as b,F as _,k as g,g as h,s as k,q as y,x as C,z as x,y as j,A as w,S as T}from"./index-DR4MYR5F.js";import{_ as A}from"./config-doctor.TgARj_nM.js";import{c as F}from"./navigation.DbARx0MO.js";import{a as M,A as P,b as S,c as $}from"./auth.CseBt7py.js";import{_ as z}from"./_plugin-vue_export-helper.BCo6x5W8.js";const E={departments:[{value:"im",label:"内科",desc:"心内、呼吸、消化、肾内等临床场景"},{value:"sur",label:"外科",desc:"普外、骨科、神外、胸外等临床场景"},{value:"ped",label:"儿科",desc:"儿童常见病、急重症与沟通训练"},{value:"obg",label:"妇产科",desc:"围产、妇科、产科急症训练"},{value:"er",label:"急诊科",desc:"分诊、抢救、危急值处置训练"},{value:"icu",label:"重症医学科",desc:"危重症评估与多学科决策训练"}],titles:[{value:"resident",label:"住院医师",desc:"强化基础诊疗路径与病历思维"},{value:"attending",label:"主治医师",desc:"提升独立诊疗和带教表达"},{value:"associate_chief",label:"副主任医师",desc:"复杂病例决策与团队协作"},{value:"chief",label:"主任医师",desc:"疑难病例、质控和教学管理"}],experiences:[{value:"1-3",label:"1-3年",desc:"基础病例训练优先"},{value:"3-5",label:"3-5年",desc:"进阶诊疗路径优先"},{value:"5-10",label:"5-10年",desc:"复杂病例推演优先"},{value:"10+",label:"10年以上",desc:"疑难病例与带教模拟优先"}]};function I(l){return new Promise(((s,t)=>{const c=function(){try{return a("clinical-thinking-access-token")||""}catch{return""}}(),n={"Content-Type":"application/json"};c&&(n.Authorization=`Bearer ${c}`),e({url:`${M}/user/profile/config/`,method:"POST",timeout:1e4,header:n,data:l,success:e=>{if(e.statusCode>=200&&e.statusCode<300)return void s(e.data);const a=e.data,l="string"==typeof(null==a?void 0:a.code)?a.code:void 0;t(new P(function(e,a){if(e&&"object"==typeof e){const a=e,l=a.message||a.detail||a.error;if("string"==typeof l&&l.trim())return l}return a}(e.data,`保存失败(${e.statusCode})`),l,e.statusCode))},fail:e=>{t(new P(e.errMsg||"无法连接服务"))}})}))}const N=z(l({__name:"config",emits:["open-profile"],setup(e,{emit:a}){const l=s({department:"im",title:"resident",experience:"1-3"}),M=t(E),P=t("欢迎回来!请配置执业信息,开始精准带教模拟。"),z=t(""),N=t(!1),O=t(""),q=t(!1),B=t(!1),D=t("idle"),G=t(""),H=t(!1),J=t("");F(a);let K=null,L=null;const Q=c((()=>ee("departments",l.department))),R=c((()=>ee("titles",l.title))),U=c((()=>ee("experiences",l.experience))),V=c((()=>{const e={department:M.value.departments,title:M.value.titles,experience:M.value.experiences},a=O.value;return a?e[a]:[]})),W=c((()=>{const e=O.value;return e?{department:"选择执业科室",title:"选择专业职称",experience:"选择执业年限"}[e]:"请选择"})),X=c((()=>B.value?"正在保存...":"saved"===D.value?"已就绪":"确认并继续"));function Y(){Promise.resolve({options:E,defaults:{department:"im",title:"resident",experience:"1-3"},mentor:{name:"王主任",message:"欢迎回来!请配置执业信息,开始精准带教模拟。"}}).then((({options:e,defaults:a,mentor:s})=>{M.value=e,Object.assign(l,a),P.value=s.message,function(){K&&clearTimeout(K);z.value="",N.value=!0;let e=0;const a=()=>{ee.value===a))||l[0]||{label:"请选择",value:""}}function ae(e){O.value=e,q.value=!0}function le(){q.value=!1,O.value=""}function se(){const e=Number(l.department);if(!Number.isInteger(e)||e<=0)return void ce("请先选择有效执业科室");const a={department:e,title_name:R.value.label,practice_years:U.value.label};B.value=!0,D.value="idle",I(a).then((e=>{k("clinical-thinking-config",e),B.value=!1,D.value="saved",ce("配置已保存"),setTimeout((()=>{y({url:"/pages/home/home"})}),500)})).catch((e=>{B.value=!1,ce(e instanceof Error?e.message:"保存失败,请稍后重试")}))}function te(){"/static/config-hospital.png"!==J.value&&(J.value="/static/config-hospital.png")}function ce(e){L&&clearTimeout(L),G.value=e,H.value=!0,L=setTimeout((()=>{H.value=!1}),2200)}return n((()=>{Y(),async function(){try{const e=await S();if(0===e.length)return;const a=e.map(Z);M.value={...M.value,departments:a},l.department=a[0].value}catch{}}(),async function(){try{const e=await $();J.value=e.banner_url||"/static/config-hospital.png"}catch{J.value="/static/config-hospital.png"}}()})),u((()=>{K&&clearTimeout(K),L&&clearTimeout(L)})),(e,a)=>{const s=C,t=x,c=j,n=w,u=T;return i(),o(t,{class:"config-page"},{default:r((()=>[d(t,{class:"phone-frame"},{default:r((()=>[d(t,{class:"hero-section"},{default:r((()=>[d(s,{class:"hospital-image",src:J.value,mode:"aspectFill",onError:te},null,8,["src"]),d(t,{class:"hero-overlay"})])),_:1}),d(t,{class:"profile-section"},{default:r((()=>[d(t,{class:"section-glow"}),d(t,{class:"profile-content"},{default:r((()=>[d(t,{class:"intro-row"},{default:r((()=>[d(t,{class:"doctor-card"},{default:r((()=>[d(s,{class:"doctor-image",src:A,mode:"aspectFit"})])),_:1}),d(t,{class:"bubble"},{default:r((()=>[d(c,{class:f(["bubble-text",{typing:N.value}])},{default:r((()=>[v(p(z.value),1)])),_:1},8,["class"]),d(t,{class:"bubble-arrow"})])),_:1})])),_:1}),d(t,{class:"form-area"},{default:r((()=>[d(t,{class:"field-block"},{default:r((()=>[d(c,{class:"field-label"},{default:r((()=>[v("执业科室")])),_:1}),d(t,{class:"glass-select",onClick:a[0]||(a[0]=e=>ae("department"))},{default:r((()=>[d(c,{class:"select-value"},{default:r((()=>[v(p(Q.value.label),1)])),_:1}),d(t,{class:"chevron"})])),_:1})])),_:1}),d(t,{class:"field-grid"},{default:r((()=>[d(t,{class:"field-block"},{default:r((()=>[d(c,{class:"field-label"},{default:r((()=>[v("专业职称")])),_:1}),d(t,{class:"glass-select",onClick:a[1]||(a[1]=e=>ae("title"))},{default:r((()=>[d(c,{class:"select-value"},{default:r((()=>[v(p(R.value.label),1)])),_:1}),d(t,{class:"chevron"})])),_:1})])),_:1}),d(t,{class:"field-block"},{default:r((()=>[d(c,{class:"field-label"},{default:r((()=>[v("执业年限")])),_:1}),d(t,{class:"glass-select",onClick:a[2]||(a[2]=e=>ae("experience"))},{default:r((()=>[d(c,{class:"select-value"},{default:r((()=>[v(p(U.value.label),1)])),_:1}),d(t,{class:"chevron"})])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})])),_:1}),d(t,{class:"action-section"},{default:r((()=>[d(n,{class:f(["submit-button",{saved:"saved"===D.value}]),disabled:B.value,onClick:se},{default:r((()=>[B.value?(i(),o(t,{key:0,class:"spinner"})):"saved"===D.value?(i(),o(t,{key:1,class:"check-icon"})):(i(),o(t,{key:2,class:"check-icon"})),d(c,null,{default:r((()=>[v(p(X.value),1)])),_:1})])),_:1},8,["class","disabled"]),d(t,{class:"secure-tip"},{default:r((()=>[d(t,{class:"lock-icon"}),d(c,null,{default:r((()=>[v("数据已进行安全加密处理")])),_:1})])),_:1})])),_:1}),d(t,{class:"home-indicator"})])),_:1}),d(t,{class:f(["toast",{visible:H.value}])},{default:r((()=>[v(p(G.value),1)])),_:1},8,["class"]),q.value?(i(),o(t,{key:0,class:"picker-mask",onClick:le},{default:r((()=>[d(t,{class:"picker-panel",onClick:a[3]||(a[3]=g((()=>{}),["stop"]))},{default:r((()=>[d(t,{class:"picker-header"},{default:r((()=>[d(c,{class:"picker-title"},{default:r((()=>[v(p(W.value),1)])),_:1}),d(c,{class:"picker-close",onClick:le},{default:r((()=>[v("关闭")])),_:1})])),_:1}),d(u,{class:"option-list","scroll-y":""},{default:r((()=>[(i(!0),m(_,null,b(V.value,(e=>(i(),o(t,{key:e.value,class:f(["option-item",{active:e.value===l[O.value]}]),onClick:a=>function(e){const a=O.value;a&&(l[a]=e.value,le())}(e)},{default:r((()=>[d(t,{class:"option-copy"},{default:r((()=>[d(c,{class:"option-label"},{default:r((()=>[v(p(e.label),1)])),_:2},1024),e.desc?(i(),o(c,{key:0,class:"option-desc"},{default:r((()=>[v(p(e.desc),1)])),_:2},1024)):h("",!0)])),_:2},1024),e.value===l[O.value]?(i(),o(t,{key:0,class:"selected-mark"})):h("",!0)])),_:2},1032,["class","onClick"])))),128))])),_:1})])),_:1})])),_:1})):h("",!0)])),_:1})}}}),[["__scopeId","data-v-40671f38"]]);export{N as default}; diff --git a/dist/assets/pages-diagnosis-diagnosis.O2EH0Ud3.js b/dist/assets/pages-diagnosis-diagnosis.O2EH0Ud3.js new file mode 100644 index 0000000..3a5bbe3 --- /dev/null +++ b/dist/assets/pages-diagnosis-diagnosis.O2EH0Ud3.js @@ -0,0 +1 @@ +import{d as e,a,r as l,c as s,o as i,b as t,e as n,f as o,w as u,i as c,E as d,j as r,t as f,l as p,m,F as v,n as _,g,s as b,p as h,z as y,A as k,y as D,x as w,I as j,N as V}from"./index-DR4MYR5F.js";import{_ as x}from"./config-doctor.TgARj_nM.js";import{r as C}from"./cases.CqwTWi6x.js";import{F as E,a as I,r as T,f as U}from"./session.EmQEGqqa.js";import{c as A,a as F,b as N}from"./navigation.DbARx0MO.js";import{_ as O}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./auth.CseBt7py.js";const $=O(e({__name:"diagnosis",props:{caseItem:{}},emits:["open-settings","open-profile","go-home"],setup(e,{emit:O}){const $=e,P=O,S=A(P),z=F(P),B=N(P),J=a({primaryDiagnosis:"",differentialDiagnosis:["",""],evidence:""}),K=l("王主任建议:请结合患者主诉和问诊信息,完成主要诊断、鉴别诊断和诊断依据。"),q=l(!1),G=l("idle"),H=l(""),L=l(!1),M=l(null);let Q=null;const R=s((()=>$.caseItem||M.value)),W=s((()=>{var e;return(null==(e=R.value)?void 0:e.patientName)||"陈先生"})),X=s((()=>{var e;return(null==(e=R.value)?void 0:e.gender)||"男"})),Y=s((()=>{var e;return(null==(e=R.value)?void 0:e.age)||60})),Z=s((()=>{var e;return(null==(e=R.value)?void 0:e.department)||"心血管内科"})),ee=s((()=>{var e;const a=(null==(e=R.value)?void 0:e.title)||"持续胸痛3小时";return a.includes("胸痛")?"胸痛":a.slice(0,6)})),ae=s((()=>q.value?"提交中...":"submitted"===G.value?"已提交":"下一步"));function le(){(function(e){const a=(null==e?void 0:e.title.includes("胸痛"))||"心血管内科"===(null==e?void 0:e.department);return Promise.resolve({mentorAdvice:a?"王主任建议:请结合患者既往高血压史及突发性胸痛的性质,进行准确诊断。注意鉴别心梗与主动脉夹层。":"王主任建议:请基于主诉、阳性症状和危险信号提出主要诊断,并列出需要排除的鉴别诊断。",defaultDraft:{primaryDiagnosis:"",differentialDiagnosis:["",""],evidence:""}})})(R.value).then((e=>{K.value=e.mentorAdvice,J.primaryDiagnosis="",J.differentialDiagnosis=["",""],J.evidence=""}))}async function se(){if(!q.value)if(J.primaryDiagnosis.trim())if(J.evidence.trim()){q.value=!0;try{const e=U(),a=await async function(e,a){const l={primary_diagnosis:a.primaryDiagnosis.trim(),differential_diagnoses:a.differentialDiagnosis.map((e=>e.trim())).filter(Boolean),diagnosis_basis:a.evidence.trim()},s=await fetch(`${E}/sessions/${e}/diagnosis`,{method:"POST",headers:I(),body:JSON.stringify(l)});if(!s.ok)throw new Error(await T(s));const i=await s.json();if("OK"!==i.code)throw new Error(i.message||"诊断提交失败");return i.data||l}(e,{primaryDiagnosis:J.primaryDiagnosis,differentialDiagnosis:J.differentialDiagnosis.filter((e=>e.trim())),evidence:J.evidence});b("clinical-thinking-diagnosis",a),G.value="submitted",h({url:"/pages/treatment/treatment",fail(){G.value="idle",ie("进入治疗计划失败,请重试")}})}catch(e){ie(e instanceof Error?e.message:"诊断提交失败")}finally{q.value=!1}}else ie("请输入诊断依据");else ie("请输入主要诊断")}function ie(e){Q&&clearTimeout(Q),H.value=e,L.value=!0,Q=setTimeout((()=>{L.value=!1}),2200)}return i((()=>{M.value=C(),le()})),t((()=>{Q&&clearTimeout(Q)})),(e,a)=>{const l=y,s=k,i=D,t=w,b=j,h=V;return n(),o(l,{class:"diagnosis-page"},{default:u((()=>[c(l,{class:"diagnosis-shell"},{default:u((()=>[c(l,{class:"top-nav"},{default:u((()=>[c(s,{class:"icon-button","aria-label":"设置",onClick:d(z)},{default:u((()=>[c(l,{class:"settings-icon"})])),_:1},8,["onClick"]),c(s,{class:"icon-button home-button","aria-label":"首页",onClick:d(B)},{default:u((()=>[c(l,{class:"home-icon"})])),_:1},8,["onClick"]),c(l,{class:"nav-spacer"}),c(s,{class:"icon-button","aria-label":"个人中心",onClick:d(S)},{default:u((()=>[c(l,{class:"account-icon"})])),_:1},8,["onClick"])])),_:1}),c(l,{class:"case-header"},{default:u((()=>[c(i,{class:"case-heading"},{default:u((()=>[r("患者:"+f(W.value)+" ("+f(ee.value)+")",1)])),_:1}),c(l,{class:"patient-meta"},{default:u((()=>[c(i,null,{default:u((()=>[r("姓名:"+f(W.value),1)])),_:1}),c(i,null,{default:u((()=>[r("性别:"+f(X.value),1)])),_:1}),c(i,null,{default:u((()=>[r("年龄:"+f(Y.value)+"岁",1)])),_:1}),c(i,null,{default:u((()=>[r("科室:"+f(Z.value),1)])),_:1})])),_:1})])),_:1}),c(l,{class:"diagnosis-content"},{default:u((()=>[c(l,{class:"stepper"},{default:u((()=>[c(l,{class:"step-line"},{default:u((()=>[c(l,{class:"step-line-active"})])),_:1}),c(l,{class:"step done"},{default:u((()=>[c(l,{class:"step-dot"},{default:u((()=>[c(l,{class:"check-icon"})])),_:1}),c(i,null,{default:u((()=>[r("问诊")])),_:1})])),_:1}),c(l,{class:"step active"},{default:u((()=>[c(l,{class:"step-dot"},{default:u((()=>[c(l,{class:"stethoscope-icon"})])),_:1}),c(i,null,{default:u((()=>[r("临床诊断")])),_:1})])),_:1}),c(l,{class:"step"},{default:u((()=>[c(l,{class:"step-dot"},{default:u((()=>[c(l,{class:"pill-icon"})])),_:1}),c(i,null,{default:u((()=>[r("治疗计划")])),_:1})])),_:1})])),_:1}),c(l,{class:"mentor-card"},{default:u((()=>[c(l,{class:"mentor-avatar"},{default:u((()=>[c(t,{src:x,mode:"aspectFill"})])),_:1}),c(l,{class:"mentor-bubble"},{default:u((()=>[c(i,null,{default:u((()=>[r(f(K.value),1)])),_:1})])),_:1})])),_:1}),c(l,{class:"form-area"},{default:u((()=>[c(l,{class:"field-block"},{default:u((()=>[c(l,{class:"field-label primary"},{default:u((()=>[c(l,{class:"priority-icon"}),c(i,null,{default:u((()=>[r("主要诊断")])),_:1})])),_:1}),c(l,{class:"input-wrap"},{default:u((()=>[c(b,{class:"diagnosis-input",modelValue:J.primaryDiagnosis,"onUpdate:modelValue":a[0]||(a[0]=e=>J.primaryDiagnosis=e),type:"text",placeholder:"请输入初步诊断...","placeholder-class":"input-placeholder"},null,8,["modelValue"])])),_:1})])),_:1}),c(l,{class:"field-block"},{default:u((()=>[c(l,{class:"field-label"},{default:u((()=>[c(l,{class:"checklist-icon"}),c(i,null,{default:u((()=>[r("鉴别诊断")])),_:1})])),_:1}),c(l,{class:"diff-list"},{default:u((()=>[(n(!0),p(v,null,m(J.differentialDiagnosis,((e,a)=>(n(),o(l,{key:a,class:"diff-row"},{default:u((()=>[c(i,{class:"diff-index"},{default:u((()=>[r(f(a+1),1)])),_:2},1024),c(b,{class:"diff-input",modelValue:J.differentialDiagnosis[a],"onUpdate:modelValue":e=>J.differentialDiagnosis[a]=e,type:"text",placeholder:`备选诊断 ${a+1}`,"placeholder-class":"input-placeholder"},null,8,["modelValue","onUpdate:modelValue","placeholder"])])),_:2},1024)))),128))])),_:1})])),_:1}),c(l,{class:"field-block"},{default:u((()=>[c(l,{class:"field-label"},{default:u((()=>[c(l,{class:"description-icon"}),c(i,null,{default:u((()=>[r("诊断依据")])),_:1})])),_:1}),c(h,{class:"evidence-input",modelValue:J.evidence,"onUpdate:modelValue":a[1]||(a[1]=e=>J.evidence=e),placeholder:"请简述诊断依据,如:患者高龄、剧烈撕裂样胸痛、血压双侧不对称等...","placeholder-class":"input-placeholder"},null,8,["modelValue"])])),_:1})])),_:1}),c(s,{class:_(["next-button",{submitted:"submitted"===G.value}]),disabled:q.value,onClick:se},{default:u((()=>[q.value?(n(),o(l,{key:0,class:"spinner"})):g("",!0),c(i,null,{default:u((()=>[r(f(ae.value),1)])),_:1}),q.value||"submitted"===G.value?g("",!0):(n(),o(l,{key:1,class:"arrow-icon"})),"submitted"===G.value?(n(),o(l,{key:2,class:"check-small-icon"})):g("",!0)])),_:1},8,["class","disabled"])])),_:1})])),_:1}),c(l,{class:_(["toast",{visible:L.value}])},{default:u((()=>[r(f(H.value),1)])),_:1},8,["class"])])),_:1})}}}),[["__scopeId","data-v-0102c95b"]]);export{$ as default}; diff --git a/dist/assets/pages-diagnosis-diagnosis.peFitBk1.js b/dist/assets/pages-diagnosis-diagnosis.peFitBk1.js deleted file mode 100644 index 76c7a2f..0000000 --- a/dist/assets/pages-diagnosis-diagnosis.peFitBk1.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,a,r as l,c as s,o as i,b as t,e as n,f as o,w as u,i as c,E as d,j as r,t as f,l as p,m,F as v,n as _,g,s as b,p as h,y,z as k,x as D,u as w,I as V,R as j}from"./index-pnQqyMoS.js";import{_ as x}from"./config-doctor.TgARj_nM.js";import{r as C}from"./cases.4_d-snq4.js";import{F as E,a as I,r as T,f as U}from"./session.CQodznPl.js";import{c as F,a as O,b as $}from"./navigation.DVfJwOxJ.js";import{_ as A}from"./_plugin-vue_export-helper.BCo6x5W8.js";const N=A(e({__name:"diagnosis",props:{caseItem:{}},emits:["open-settings","open-profile","go-home"],setup(e,{emit:A}){const N=e,P=A,S=F(P),z=O(P),B=$(P),J=a({primaryDiagnosis:"",differentialDiagnosis:["",""],evidence:""}),K=l("王主任建议:请结合患者主诉和问诊信息,完成主要诊断、鉴别诊断和诊断依据。"),R=l(!1),q=l("idle"),G=l(""),H=l(!1),L=l(null);let M=null;const Q=s((()=>N.caseItem||L.value)),W=s((()=>{var e;return(null==(e=Q.value)?void 0:e.patientName)||"陈先生"})),X=s((()=>{var e;return(null==(e=Q.value)?void 0:e.gender)||"男"})),Y=s((()=>{var e;return(null==(e=Q.value)?void 0:e.age)||60})),Z=s((()=>{var e;return(null==(e=Q.value)?void 0:e.department)||"心血管内科"})),ee=s((()=>{var e;const a=(null==(e=Q.value)?void 0:e.title)||"持续胸痛3小时";return a.includes("胸痛")?"胸痛":a.slice(0,6)})),ae=s((()=>R.value?"提交中...":"submitted"===q.value?"已提交":"下一步"));function le(){(function(e){const a=(null==e?void 0:e.title.includes("胸痛"))||"心血管内科"===(null==e?void 0:e.department);return Promise.resolve({mentorAdvice:a?"王主任建议:请结合患者既往高血压史及突发性胸痛的性质,进行准确诊断。注意鉴别心梗与主动脉夹层。":"王主任建议:请基于主诉、阳性症状和危险信号提出主要诊断,并列出需要排除的鉴别诊断。",defaultDraft:{primaryDiagnosis:"",differentialDiagnosis:["",""],evidence:""}})})(Q.value).then((e=>{K.value=e.mentorAdvice,J.primaryDiagnosis="",J.differentialDiagnosis=["",""],J.evidence=""}))}async function se(){if(!R.value)if(J.primaryDiagnosis.trim())if(J.evidence.trim()){R.value=!0;try{const e=U(),a=await async function(e,a){const l={primary_diagnosis:a.primaryDiagnosis.trim(),differential_diagnoses:a.differentialDiagnosis.map((e=>e.trim())).filter(Boolean),diagnosis_basis:a.evidence.trim()},s=await fetch(`${E}/sessions/${e}/diagnosis`,{method:"POST",headers:I(),body:JSON.stringify(l)});if(!s.ok)throw new Error(await T(s));const i=await s.json();if("OK"!==i.code)throw new Error(i.message||"诊断提交失败");return i.data||l}(e,{primaryDiagnosis:J.primaryDiagnosis,differentialDiagnosis:J.differentialDiagnosis.filter((e=>e.trim())),evidence:J.evidence});b("clinical-thinking-diagnosis",a),q.value="submitted",h({url:"/pages/treatment/treatment",fail(){q.value="idle",ie("进入治疗计划失败,请重试")}})}catch(e){ie(e instanceof Error?e.message:"诊断提交失败")}finally{R.value=!1}}else ie("请输入诊断依据");else ie("请输入主要诊断")}function ie(e){M&&clearTimeout(M),G.value=e,H.value=!0,M=setTimeout((()=>{H.value=!1}),2200)}return i((()=>{L.value=C(),le()})),t((()=>{M&&clearTimeout(M)})),(e,a)=>{const l=y,s=k,i=D,t=w,b=V,h=j;return n(),o(l,{class:"diagnosis-page"},{default:u((()=>[c(l,{class:"diagnosis-shell"},{default:u((()=>[c(l,{class:"top-nav"},{default:u((()=>[c(s,{class:"icon-button","aria-label":"设置",onClick:d(z)},{default:u((()=>[c(l,{class:"settings-icon"})])),_:1},8,["onClick"]),c(s,{class:"icon-button home-button","aria-label":"首页",onClick:d(B)},{default:u((()=>[c(l,{class:"home-icon"})])),_:1},8,["onClick"]),c(l,{class:"nav-spacer"}),c(s,{class:"icon-button","aria-label":"个人中心",onClick:d(S)},{default:u((()=>[c(l,{class:"account-icon"})])),_:1},8,["onClick"])])),_:1}),c(l,{class:"case-header"},{default:u((()=>[c(i,{class:"case-heading"},{default:u((()=>[r("患者:"+f(W.value)+" ("+f(ee.value)+")",1)])),_:1}),c(l,{class:"patient-meta"},{default:u((()=>[c(i,null,{default:u((()=>[r("姓名:"+f(W.value),1)])),_:1}),c(i,null,{default:u((()=>[r("性别:"+f(X.value),1)])),_:1}),c(i,null,{default:u((()=>[r("年龄:"+f(Y.value)+"岁",1)])),_:1}),c(i,null,{default:u((()=>[r("科室:"+f(Z.value),1)])),_:1})])),_:1})])),_:1}),c(l,{class:"diagnosis-content"},{default:u((()=>[c(l,{class:"stepper"},{default:u((()=>[c(l,{class:"step-line"},{default:u((()=>[c(l,{class:"step-line-active"})])),_:1}),c(l,{class:"step done"},{default:u((()=>[c(l,{class:"step-dot"},{default:u((()=>[c(l,{class:"check-icon"})])),_:1}),c(i,null,{default:u((()=>[r("问诊")])),_:1})])),_:1}),c(l,{class:"step active"},{default:u((()=>[c(l,{class:"step-dot"},{default:u((()=>[c(l,{class:"stethoscope-icon"})])),_:1}),c(i,null,{default:u((()=>[r("临床诊断")])),_:1})])),_:1}),c(l,{class:"step"},{default:u((()=>[c(l,{class:"step-dot"},{default:u((()=>[c(l,{class:"pill-icon"})])),_:1}),c(i,null,{default:u((()=>[r("治疗计划")])),_:1})])),_:1})])),_:1}),c(l,{class:"mentor-card"},{default:u((()=>[c(l,{class:"mentor-avatar"},{default:u((()=>[c(t,{src:x,mode:"aspectFill"})])),_:1}),c(l,{class:"mentor-bubble"},{default:u((()=>[c(i,null,{default:u((()=>[r(f(K.value),1)])),_:1})])),_:1})])),_:1}),c(l,{class:"form-area"},{default:u((()=>[c(l,{class:"field-block"},{default:u((()=>[c(l,{class:"field-label primary"},{default:u((()=>[c(l,{class:"priority-icon"}),c(i,null,{default:u((()=>[r("主要诊断")])),_:1})])),_:1}),c(l,{class:"input-wrap"},{default:u((()=>[c(b,{class:"diagnosis-input",modelValue:J.primaryDiagnosis,"onUpdate:modelValue":a[0]||(a[0]=e=>J.primaryDiagnosis=e),type:"text",placeholder:"请输入初步诊断...","placeholder-class":"input-placeholder"},null,8,["modelValue"])])),_:1})])),_:1}),c(l,{class:"field-block"},{default:u((()=>[c(l,{class:"field-label"},{default:u((()=>[c(l,{class:"checklist-icon"}),c(i,null,{default:u((()=>[r("鉴别诊断")])),_:1})])),_:1}),c(l,{class:"diff-list"},{default:u((()=>[(n(!0),p(v,null,m(J.differentialDiagnosis,((e,a)=>(n(),o(l,{key:a,class:"diff-row"},{default:u((()=>[c(i,{class:"diff-index"},{default:u((()=>[r(f(a+1),1)])),_:2},1024),c(b,{class:"diff-input",modelValue:J.differentialDiagnosis[a],"onUpdate:modelValue":e=>J.differentialDiagnosis[a]=e,type:"text",placeholder:`备选诊断 ${a+1}`,"placeholder-class":"input-placeholder"},null,8,["modelValue","onUpdate:modelValue","placeholder"])])),_:2},1024)))),128))])),_:1})])),_:1}),c(l,{class:"field-block"},{default:u((()=>[c(l,{class:"field-label"},{default:u((()=>[c(l,{class:"description-icon"}),c(i,null,{default:u((()=>[r("诊断依据")])),_:1})])),_:1}),c(h,{class:"evidence-input",modelValue:J.evidence,"onUpdate:modelValue":a[1]||(a[1]=e=>J.evidence=e),placeholder:"请简述诊断依据,如:患者高龄、剧烈撕裂样胸痛、血压双侧不对称等...","placeholder-class":"input-placeholder"},null,8,["modelValue"])])),_:1})])),_:1}),c(s,{class:_(["next-button",{submitted:"submitted"===q.value}]),disabled:R.value,onClick:se},{default:u((()=>[R.value?(n(),o(l,{key:0,class:"spinner"})):g("",!0),c(i,null,{default:u((()=>[r(f(ae.value),1)])),_:1}),R.value||"submitted"===q.value?g("",!0):(n(),o(l,{key:1,class:"arrow-icon"})),"submitted"===q.value?(n(),o(l,{key:2,class:"check-small-icon"})):g("",!0)])),_:1},8,["class","disabled"])])),_:1})])),_:1}),c(l,{class:_(["toast",{visible:H.value}])},{default:u((()=>[r(f(G.value),1)])),_:1},8,["class"])])),_:1})}}}),[["__scopeId","data-v-0102c95b"]]);export{N as default}; diff --git a/dist/assets/pages-home-home.DA4TN4Qi.js b/dist/assets/pages-home-home.DA4TN4Qi.js new file mode 100644 index 0000000..d435e83 --- /dev/null +++ b/dist/assets/pages-home-home.DA4TN4Qi.js @@ -0,0 +1 @@ +import{d as s,a,r as e,o as l,b as t,e as i,f as o,w as n,i as c,E as u,j as r,g as d,t as m,l as f,m as g,F as b,n as _,s as p,G as h,z as v,A as k,y,x as C}from"./index-DR4MYR5F.js";import{_ as j}from"./config-doctor.TgARj_nM.js";import{c as I,a as w}from"./navigation.DbARx0MO.js";import{_ as x}from"./_plugin-vue_export-helper.BCo6x5W8.js";const A=x(s({__name:"home",emits:["open-settings","open-profile"],setup(s,{emit:x}){const A=x,T=I(A),M=w(A),D=a({greeting:"下午好,医生。",highlight:"让我们继续提升您的临床思维能力吧。",remainingModules:3,doctorName:"王主任"}),E=[{title:"精准补强·薄弱环节训练",icon:"trend-icon",source:"weak"},{title:"实战进阶·科室专项训练",icon:"notes-icon",source:"specialty"},{title:"新手入门·教学互动模式训练",icon:"school-icon",source:"teaching"},{title:"精益管理·老师针对性任务训练",icon:"admin-icon",source:"teacher-task"}],F=e(!1),N=e(""),O=e(!1);let P=null;function S(){F.value||(F.value=!0,Promise.resolve({sessionId:`mock-session-${Date.now()}`,startedAt:(new Date).toISOString()}).then((s=>{p("clinical-thinking-session",s),h({url:"/pages/matching/matching?source=recommended"})})).catch((s=>{!function(s){P&&clearTimeout(P);N.value=s,O.value=!0,P=setTimeout((()=>{O.value=!1}),2200)}(s instanceof Error?s.message:"进入训练失败")})).finally((()=>{setTimeout((()=>{F.value=!1}),300)})))}function $(){h({url:"/pages/learning-assistant/learning-assistant"})}return l((function(){Promise.resolve({greeting:"下午好,医生。",highlight:"让我们继续提升您的临床思维能力吧。",remainingModules:3,doctorName:"王主任"}).then((s=>{Object.assign(D,s)}))})),t((()=>{P&&clearTimeout(P)})),(s,a)=>{const e=v,l=k,t=y,p=C;return i(),o(e,{class:"home-page"},{default:n((()=>[c(e,{class:"home-shell"},{default:n((()=>[c(e,{class:"top-bar"},{default:n((()=>[c(l,{class:"icon-button","aria-label":"配置",onClick:u(M)},{default:n((()=>[c(e,{class:"settings-icon"})])),_:1},8,["onClick"]),c(e,{class:"top-spacer"}),c(l,{class:"icon-button","aria-label":"个人中心",onClick:u(T)},{default:n((()=>[c(e,{class:"account-icon"})])),_:1},8,["onClick"])])),_:1}),c(e,{class:"home-main"},{default:n((()=>[c(e,{class:"speech-bubble"},{default:n((()=>[c(t,{class:"bubble-copy"},{default:n((()=>[r("下午好,医生。准备好开始今天的")])),_:1}),c(t,{class:"bubble-strong"},{default:n((()=>[r("带教模拟")])),_:1}),c(t,{class:"bubble-copy"},{default:n((()=>[r(",精进")])),_:1}),c(t,{class:"bubble-highlight"},{default:n((()=>[r("临床思维")])),_:1}),c(t,{class:"bubble-copy"},{default:n((()=>[r("了吗?")])),_:1})])),_:1}),c(e,{class:"doctor-stage"},{default:n((()=>[c(e,{class:"doctor-shadow"}),c(p,{class:"director-image",src:j,mode:"aspectFit"})])),_:1}),c(e,{class:"training-panel"},{default:n((()=>[c(e,{class:"primary-action"},{default:n((()=>[c(l,{class:"start-button",disabled:F.value,onClick:S},{default:n((()=>[F.value?(i(),o(e,{key:0,class:"spinner"})):d("",!0),c(t,null,{default:n((()=>[r(m(F.value?"正在进入...":"开始训练"),1)])),_:1})])),_:1},8,["disabled"]),c(t,{class:"remaining"},{default:n((()=>[r("今日剩余:"+m(D.remainingModules)+"个模块",1)])),_:1})])),_:1}),c(e,{class:"module-grid"},{default:n((()=>[(i(),f(b,null,g(E,(s=>c(l,{key:s.title,class:"module-card",onClick:a=>{return e=s.source,void h({url:`/pages/cases/cases?source=${encodeURIComponent(e)}`});var e}},{default:n((()=>[c(e,{class:_(["module-icon",s.icon])},null,8,["class"]),c(t,{class:"module-title"},{default:n((()=>[r(m(s.title),1)])),_:2},1024)])),_:2},1032,["onClick"]))),64))])),_:1}),c(e,{class:"assistant-actions"},{default:n((()=>[c(l,{class:"assistant-button",onClick:$},{default:n((()=>[c(e,{class:"assistant-icon chat-icon"}),c(t,null,{default:n((()=>[r("AI 学习助手(医院知识库)")])),_:1})])),_:1}),c(l,{class:"assistant-button disabled",disabled:"","aria-disabled":"true"},{default:n((()=>[c(e,{class:"assistant-icon forum-icon"}),c(t,null,{default:n((()=>[r("方老师AI教学助手沟通")])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})])),_:1}),c(e,{class:_(["toast",{visible:O.value}])},{default:n((()=>[r(m(N.value),1)])),_:1},8,["class"])])),_:1})}}}),[["__scopeId","data-v-bc493b9b"]]);export{A as default}; diff --git a/dist/assets/pages-home-home.DrPjlTPP.js b/dist/assets/pages-home-home.DrPjlTPP.js deleted file mode 100644 index 69c3966..0000000 --- a/dist/assets/pages-home-home.DrPjlTPP.js +++ /dev/null @@ -1 +0,0 @@ -import{d as s,a,r as e,o as l,b as t,e as i,f as n,w as o,i as c,E as u,j as d,g as r,t as f,l as m,m as g,F as _,n as b,s as p,G as h,y as v,z as k,x as y,u as j}from"./index-pnQqyMoS.js";import{_ as C}from"./config-doctor.TgARj_nM.js";import{c as I,a as w}from"./navigation.DVfJwOxJ.js";import{_ as x}from"./_plugin-vue_export-helper.BCo6x5W8.js";const T=x(s({__name:"home",emits:["open-settings","open-profile"],setup(s,{emit:x}){const T=x,A=I(T),M=w(T),D=a({greeting:"下午好,医生。",highlight:"让我们继续提升您的临床思维能力吧。",remainingModules:3,doctorName:"王主任"}),E=[{title:"精准补强·薄弱环节训练",icon:"trend-icon"},{title:"实战进阶·科室专项训练",icon:"notes-icon"},{title:"新手入门·教学互动模式模式训练",icon:"school-icon"},{title:"精益管理·老师针对性任务训练",icon:"admin-icon"}],F=e(!1),N=e(""),O=e(!1);let P=null;function S(){F.value||(F.value=!0,Promise.resolve({sessionId:`mock-session-${Date.now()}`,startedAt:(new Date).toISOString()}).then((s=>{p("clinical-thinking-session",s),h({url:"/pages/matching/matching"})})).catch((s=>{!function(s){P&&clearTimeout(P);N.value=s,O.value=!0,P=setTimeout((()=>{O.value=!1}),2200)}(s instanceof Error?s.message:"进入训练失败")})).finally((()=>{setTimeout((()=>{F.value=!1}),300)})))}function z(){h({url:"/pages/learning-assistant/learning-assistant"})}return l((function(){Promise.resolve({greeting:"下午好,医生。",highlight:"让我们继续提升您的临床思维能力吧。",remainingModules:3,doctorName:"王主任"}).then((s=>{Object.assign(D,s)}))})),t((()=>{P&&clearTimeout(P)})),(s,a)=>{const e=v,l=k,t=y,p=j;return i(),n(e,{class:"home-page"},{default:o((()=>[c(e,{class:"home-shell"},{default:o((()=>[c(e,{class:"top-bar"},{default:o((()=>[c(l,{class:"icon-button","aria-label":"配置",onClick:u(M)},{default:o((()=>[c(e,{class:"settings-icon"})])),_:1},8,["onClick"]),c(e,{class:"top-spacer"}),c(l,{class:"icon-button","aria-label":"个人中心",onClick:u(A)},{default:o((()=>[c(e,{class:"account-icon"})])),_:1},8,["onClick"])])),_:1}),c(e,{class:"home-main"},{default:o((()=>[c(e,{class:"speech-bubble"},{default:o((()=>[c(t,{class:"bubble-copy"},{default:o((()=>[d("下午好,医生。准备好开始今天的")])),_:1}),c(t,{class:"bubble-strong"},{default:o((()=>[d("带教模拟")])),_:1}),c(t,{class:"bubble-copy"},{default:o((()=>[d(",精进")])),_:1}),c(t,{class:"bubble-highlight"},{default:o((()=>[d("临床思维")])),_:1}),c(t,{class:"bubble-copy"},{default:o((()=>[d("了吗?")])),_:1})])),_:1}),c(e,{class:"doctor-stage"},{default:o((()=>[c(e,{class:"doctor-shadow"}),c(p,{class:"director-image",src:C,mode:"aspectFit"})])),_:1}),c(e,{class:"training-panel"},{default:o((()=>[c(e,{class:"primary-action"},{default:o((()=>[c(l,{class:"start-button",disabled:F.value,onClick:S},{default:o((()=>[F.value?(i(),n(e,{key:0,class:"spinner"})):r("",!0),c(t,null,{default:o((()=>[d(f(F.value?"正在进入...":"开始训练"),1)])),_:1})])),_:1},8,["disabled"]),c(t,{class:"remaining"},{default:o((()=>[d("今日剩余:"+f(D.remainingModules)+"个模块",1)])),_:1})])),_:1}),c(e,{class:"module-grid"},{default:o((()=>[(i(),m(_,null,g(E,(s=>c(l,{key:s.title,class:"module-card",onClick:S},{default:o((()=>[c(e,{class:b(["module-icon",s.icon])},null,8,["class"]),c(t,{class:"module-title"},{default:o((()=>[d(f(s.title),1)])),_:2},1024)])),_:2},1024))),64))])),_:1}),c(e,{class:"assistant-actions"},{default:o((()=>[c(l,{class:"assistant-button",onClick:z},{default:o((()=>[c(e,{class:"assistant-icon chat-icon"}),c(t,null,{default:o((()=>[d("AI 学习助手(医院知识库)")])),_:1})])),_:1}),c(l,{class:"assistant-button disabled",disabled:"","aria-disabled":"true"},{default:o((()=>[c(e,{class:"assistant-icon forum-icon"}),c(t,null,{default:o((()=>[d("方老师AI教学助手沟通")])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})])),_:1}),c(e,{class:b(["toast",{visible:O.value}])},{default:o((()=>[d(f(N.value),1)])),_:1},8,["class"])])),_:1})}}}),[["__scopeId","data-v-cfd573f5"]]);export{T as default}; diff --git a/dist/assets/pages-index-index.B6mwsTnn.js b/dist/assets/pages-index-index.B6mwsTnn.js new file mode 100644 index 0000000..5782894 --- /dev/null +++ b/dist/assets/pages-index-index.B6mwsTnn.js @@ -0,0 +1 @@ +import{d as e,r as a,a as l,c as s,o as t,b as n,e as c,f as i,w as o,g as u,h as d,v as A,i as r,j as m,n as v,t as p,k as f,l as g,m as h,F as I,s as y,p as b,q as k,u as C,x as R,y as Q,z as E,I as z,A as Z,S as j,B as V}from"./index-DR4MYR5F.js";import{f as B,s as G,A as w,l as N}from"./auth.CseBt7py.js";import O from"./pages-config-config.Biif3AWZ.js";import Y from"./pages-profile-profile.1iL2Z_Wy.js";import{_ as D}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./config-doctor.TgARj_nM.js";import"./navigation.DbARx0MO.js";import"./profile.e1L0urBE.js";const J=D(e({__name:"index",setup(e){const D=a([]),J=l({phone:"",code:"",institutionId:""}),F=a(""),L=a(!1),S=a(!1),T=a(!1),U=a(!1),W=a(0),x=a(""),M=a(!1),H=a(!1),P=a(!1),X=a(!1),q=a(!1),K=a(!1);let _=null,$=null;const ee=s((()=>D.value.find((e=>e.id===J.institutionId)))),ae=s((()=>W.value>0)),le=s((()=>T.value?"发送中...":ae.value?`${W.value}s`:"获取验证码"));function se(e){const a=[e.province,e.city].filter(Boolean).join(" · ");return{id:String(e.id),code:e.code,name:e.name,city:a||"其他",typeName:{hospital:"医院",college:"医学院校",school:"学校",clinic:"诊所"}[e.type]||"机构"}}function te(){L.value=!L.value}async function ne(){if(!T.value&&!ae.value&&ie()){T.value=!0;try{let a;try{a=await G(J.phone)}catch(e){if(!(e instanceof w&&"AUTH_PHONE_NOT_FOUND"===e.code))throw e;a=await G(J.phone,"register")}de(a.message||"验证码已发送"),W.value=60,Ae(),_=setInterval((()=>{W.value-=1,W.value<=0&&Ae()}),1e3)}catch(e){de(e instanceof Error?e.message:"验证码发送失败")}finally{T.value=!1}}}function ce(){if(!U.value&&ie())if(J.code.trim())if(ee.value){if(!L.value)return de("请阅读并勾选用户协议"),S.value=!1,void C((()=>{S.value=!0,setTimeout((()=>{S.value=!1}),500)}));U.value=!0,N({phone:J.phone,code:J.code,institution_code:ee.value.code,institution_name:ee.value.name}).then((e=>{var a,l,s;const t=e.user||{},n={...t,id:t.id?String(t.id):"",phone:t.phone||J.phone,institutionId:(null==(a=ee.value)?void 0:a.code)||"",institutionCode:(null==(l=ee.value)?void 0:l.code)||"",institutionName:(null==(s=ee.value)?void 0:s.name)||""};var c;(y("clinical-thinking-user",n),y("clinical-thinking-tokens",e.tokens),y("clinical-thinking-access-token",e.tokens.access),y("clinical-thinking-refresh-token",e.tokens.refresh),de(e.message||"正在进入系统..."),null!=(c=t.department)&&("string"==typeof c?""!==c.trim():Array.isArray(c)?0!==c.length:"object"!=typeof c||0!==Object.keys(c).length))?k({url:"/pages/home/home"}):b({url:"/pages/config/config"})})).catch((e=>{de(e instanceof Error?e.message:"登录失败,请稍后重试")})).finally((()=>{U.value=!1}))}else de("请选择所属机构");else de("请输入短信验证码")}function ie(){return!!/^1[3-9]\d{9}$/.test(J.phone)||(de("请输入正确的手机号"),!1)}function oe(e){V({title:"service"===e?"用户服务协议":"隐私保护政策",content:"这里是前端模拟协议内容,后续可替换为正式协议页面或富文本接口。",showCancel:!1,confirmColor:"#00478d"})}function ue(){P.value=!1,H.value=!0}function de(e){$&&clearTimeout($),x.value=e,M.value=!0,$=setTimeout((()=>{M.value=!1}),2500)}function Ae(){_&&(clearInterval(_),_=null)}return t((()=>{!async function(){q.value=!0;try{const e=await B();D.value=e.map(se)}catch(e){de(e instanceof Error?e.message:"机构列表加载失败"),D.value=[]}finally{q.value=!1,K.value=!0}}()})),n((()=>{Ae(),$&&clearTimeout($)})),(e,a)=>{const l=R,s=Q,t=E,n=z,y=Z,b=j;return c(),i(t,{class:"page-root"},{default:o((()=>[P.value?(c(),i(Y,{key:0,onOpenSettings:ue,onGoHome:a[0]||(a[0]=e=>P.value=!1)})):u("",!0),H.value?d((c(),i(O,{key:1,onOpenProfile:a[1]||(a[1]=e=>P.value=!0)},null,512)),[[A,!P.value]]):u("",!0),H.value||P.value?u("",!0):(c(),i(t,{key:2,class:"auth-page"},{default:o((()=>[r(t,{class:"auth-container"},{default:o((()=>[r(t,{class:"header"},{default:o((()=>[r(l,{class:"logo",mode:"aspectFit",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAAEi6oPRAAAKQ2lDQ1BJQ0MgcHJvZmlsZQAAeNqdU3dYk/cWPt/3ZQ9WQtjwsZdsgQAiI6wIyBBZohCSAGGEEBJAxYWIClYUFRGcSFXEgtUKSJ2I4qAouGdBiohai1VcOO4f3Ke1fXrv7e371/u855zn/M55zw+AERImkeaiagA5UoU8Otgfj09IxMm9gAIVSOAEIBDmy8JnBcUAAPADeXh+dLA//AGvbwACAHDVLiQSx+H/g7pQJlcAIJEA4CIS5wsBkFIAyC5UyBQAyBgAsFOzZAoAlAAAbHl8QiIAqg0A7PRJPgUA2KmT3BcA2KIcqQgAjQEAmShHJAJAuwBgVYFSLALAwgCgrEAiLgTArgGAWbYyRwKAvQUAdo5YkA9AYACAmUIszAAgOAIAQx4TzQMgTAOgMNK/4KlfcIW4SAEAwMuVzZdL0jMUuJXQGnfy8ODiIeLCbLFCYRcpEGYJ5CKcl5sjE0jnA0zODAAAGvnRwf44P5Dn5uTh5mbnbO/0xaL+a/BvIj4h8d/+vIwCBAAQTs/v2l/l5dYDcMcBsHW/a6lbANpWAGjf+V0z2wmgWgrQevmLeTj8QB6eoVDIPB0cCgsL7SViob0w44s+/zPhb+CLfvb8QB7+23rwAHGaQJmtwKOD/XFhbnauUo7nywRCMW735yP+x4V//Y4p0eI0sVwsFYrxWIm4UCJNx3m5UpFEIcmV4hLpfzLxH5b9CZN3DQCshk/ATrYHtctswH7uAQKLDljSdgBAfvMtjBoLkQAQZzQyefcAAJO/+Y9AKwEAzZek4wAAvOgYXKiUF0zGCAAARKCBKrBBBwzBFKzADpzBHbzAFwJhBkRADCTAPBBCBuSAHAqhGJZBGVTAOtgEtbADGqARmuEQtMExOA3n4BJcgetwFwZgGJ7CGLyGCQRByAgTYSE6iBFijtgizggXmY4EImFINJKApCDpiBRRIsXIcqQCqUJqkV1II/ItchQ5jVxA+pDbyCAyivyKvEcxlIGyUQPUAnVAuagfGorGoHPRdDQPXYCWomvRGrQePYC2oqfRS+h1dAB9io5jgNExDmaM2WFcjIdFYIlYGibHFmPlWDVWjzVjHVg3dhUbwJ5h7wgkAouAE+wIXoQQwmyCkJBHWExYQ6gl7CO0EroIVwmDhDHCJyKTqE+0JXoS+cR4YjqxkFhGrCbuIR4hniVeJw4TX5NIJA7JkuROCiElkDJJC0lrSNtILaRTpD7SEGmcTCbrkG3J3uQIsoCsIJeRt5APkE+S+8nD5LcUOsWI4kwJoiRSpJQSSjVlP+UEpZ8yQpmgqlHNqZ7UCKqIOp9aSW2gdlAvU4epEzR1miXNmxZDy6Qto9XQmmlnafdoL+l0ugndgx5Fl9CX0mvoB+nn6YP0dwwNhg2Dx0hiKBlrGXsZpxi3GS+ZTKYF05eZyFQw1zIbmWeYD5hvVVgq9ip8FZHKEpU6lVaVfpXnqlRVc1U/1XmqC1SrVQ+rXlZ9pkZVs1DjqQnUFqvVqR1Vu6k2rs5Sd1KPUM9RX6O+X/2C+mMNsoaFRqCGSKNUY7fGGY0hFsYyZfFYQtZyVgPrLGuYTWJbsvnsTHYF+xt2L3tMU0NzqmasZpFmneZxzQEOxrHg8DnZnErOIc4NznstAy0/LbHWaq1mrX6tN9p62r7aYu1y7Rbt69rvdXCdQJ0snfU6bTr3dQm6NrpRuoW623XP6j7TY+t56Qn1yvUO6d3RR/Vt9KP1F+rv1u/RHzcwNAg2kBlsMThj8MyQY+hrmGm40fCE4agRy2i6kcRoo9FJoye4Ju6HZ+M1eBc+ZqxvHGKsNN5l3Gs8YWJpMtukxKTF5L4pzZRrmma60bTTdMzMyCzcrNisyeyOOdWca55hvtm82/yNhaVFnMVKizaLx5balnzLBZZNlvesmFY+VnlW9VbXrEnWXOss623WV2xQG1ebDJs6m8u2qK2brcR2m23fFOIUjynSKfVTbtox7PzsCuya7AbtOfZh9iX2bfbPHcwcEh3WO3Q7fHJ0dcx2bHC866ThNMOpxKnD6VdnG2ehc53zNRemS5DLEpd2lxdTbaeKp26fesuV5RruutK10/Wjm7ub3K3ZbdTdzD3Ffav7TS6bG8ldwz3vQfTw91jicczjnaebp8LzkOcvXnZeWV77vR5Ps5wmntYwbcjbxFvgvct7YDo+PWX6zukDPsY+Ap96n4e+pr4i3z2+I37Wfpl+B/ye+zv6y/2P+L/hefIW8U4FYAHBAeUBvYEagbMDawMfBJkEpQc1BY0FuwYvDD4VQgwJDVkfcpNvwBfyG/ljM9xnLJrRFcoInRVaG/owzCZMHtYRjobPCN8Qfm+m+UzpzLYIiOBHbIi4H2kZmRf5fRQpKjKqLupRtFN0cXT3LNas5Fn7Z72O8Y+pjLk722q2cnZnrGpsUmxj7Ju4gLiquIF4h/hF8ZcSdBMkCe2J5MTYxD2J43MC52yaM5zkmlSWdGOu5dyiuRfm6c7Lnnc8WTVZkHw4hZgSl7I/5YMgQlAvGE/lp25NHRPyhJuFT0W+oo2iUbG3uEo8kuadVpX2ON07fUP6aIZPRnXGMwlPUit5kRmSuSPzTVZE1t6sz9lx2S05lJyUnKNSDWmWtCvXMLcot09mKyuTDeR55m3KG5OHyvfkI/lz89sVbIVM0aO0Uq5QDhZML6greFsYW3i4SL1IWtQz32b+6vkjC4IWfL2QsFC4sLPYuHhZ8eAiv0W7FiOLUxd3LjFdUrpkeGnw0n3LaMuylv1Q4lhSVfJqedzyjlKD0qWlQyuCVzSVqZTJy26u9Fq5YxVhlWRV72qX1VtWfyoXlV+scKyorviwRrjm4ldOX9V89Xlt2treSrfK7etI66Trbqz3Wb+vSr1qQdXQhvANrRvxjeUbX21K3nShemr1js20zcrNAzVhNe1bzLas2/KhNqP2ep1/XctW/a2rt77ZJtrWv913e/MOgx0VO97vlOy8tSt4V2u9RX31btLugt2PGmIbur/mft24R3dPxZ6Pe6V7B/ZF7+tqdG9s3K+/v7IJbVI2jR5IOnDlm4Bv2pvtmne1cFoqDsJB5cEn36Z8e+NQ6KHOw9zDzd+Zf7f1COtIeSvSOr91rC2jbaA9ob3v6IyjnR1eHUe+t/9+7zHjY3XHNY9XnqCdKD3x+eSCk+OnZKeenU4/PdSZ3Hn3TPyZa11RXb1nQ8+ePxd07ky3X/fJ897nj13wvHD0Ivdi2yW3S609rj1HfnD94UivW2/rZffL7Vc8rnT0Tes70e/Tf/pqwNVz1/jXLl2feb3vxuwbt24m3Ry4Jbr1+Hb27Rd3Cu5M3F16j3iv/L7a/eoH+g/qf7T+sWXAbeD4YMBgz8NZD+8OCYee/pT/04fh0kfMR9UjRiONj50fHxsNGr3yZM6T4aeypxPPyn5W/3nrc6vn3/3i+0vPWPzY8Av5i8+/rnmp83Lvq6mvOscjxx+8znk98ab8rc7bfe+477rfx70fmSj8QP5Q89H6Y8en0E/3Pud8/vwv94Tz+4A5JREAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAADKmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxMzIgNzkuMTU5Mjg0LCAyMDE2LzA0LzE5LTEzOjEzOjQwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpGRkE0MjcxNTdEQzYxMUU4QkZBOERDOEVCQ0U0NTBGMSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpGRkE0MjcxNDdEQzYxMUU4QkZBOERDOEVCQ0U0NTBGMSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNS41IChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QkE4RkFCN0M3REM1MTFFOEJGQThEQzhFQkNFNDUwRjEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QkE4RkFCN0Q3REM1MTFFOEJGQThEQzhFQkNFNDUwRjEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5BZZ+3AAAB1ElEQVR42mJkAALtmZb/GfAAJkIKwIoYiAA4FV1JO0Ylk0hWxILLHTgV6cyywqoIIIAYiQinb8S4iYs036E7esgEJq6ABAGAACImMBmo5m6yDcLlR5gcNnnaumhADWIhJoOTbRC+9ILPa9+o4TWAAAIlyDVAOphCc1SYqGAICNwZxumIidi8NILz2qhBdCyPaOcicgq1wRnYAAFErRKSgZo+GzSOoWpQD1sHsRCjCDnzkpp90DM+If2jUTbqoFEHjZZDpJYroyFESeNmNFHTykEqg8g9bwACCNRiVAYyLgEx1wA7Zu3V9OMhVBt1opajBlsaCh7NZaMOGnXQgFeupHZjKO1CjUbZqINGHTTqoFEHjTpo1EGjDhqMgw342kejUTaahggpoOdg1WiUjTpoODoIvL7tzSBykB5AgPbtGIdBGIYCaBR16swROEQvzT06cxjm1lRFDC0LcpXC+xJzpIdJhOW8e4z359MVWSde1C32xRYasC0mCmascDZzrQz+7NgABAgQINnRY/iUrb5D9v9l9toqCBAgQIAAAQIESAABAgQIEKCD5ZK9QPaMigoCdIJP7NdjOyoIECBAgGQBGjB8zVDjam153T0OqInJbBAWfdg8AExKZVcA71uIAAAAAElFTkSuQmCC"}),r(s,{class:"title"},{default:o((()=>[m("临床思维训练")])),_:1}),r(s,{class:"subtitle"},{default:o((()=>[m("提升临床决策能力的高效平台")])),_:1})])),_:1}),r(t,{class:"form"},{default:o((()=>[r(t,{class:"form-group"},{default:o((()=>[r(s,{class:"label"},{default:o((()=>[m("手机号码")])),_:1}),r(t,{class:v(["input-wrap",{focused:"phone"===F.value}])},{default:o((()=>[r(s,{class:"country-code"},{default:o((()=>[m("+86")])),_:1}),r(t,{class:"separator"}),r(n,{class:"input",type:"number",maxlength:"11",modelValue:J.phone,"onUpdate:modelValue":a[2]||(a[2]=e=>J.phone=e),placeholder:"请输入手机号","placeholder-class":"placeholder",onFocus:a[3]||(a[3]=e=>F.value="phone"),onBlur:a[4]||(a[4]=e=>F.value=""),onConfirm:ce},null,8,["modelValue"])])),_:1},8,["class"])])),_:1}),r(t,{class:"form-group"},{default:o((()=>[r(s,{class:"label"},{default:o((()=>[m("验证码")])),_:1}),r(t,{class:"code-row"},{default:o((()=>[r(t,{class:v(["input-wrap code-input-wrap",{focused:"code"===F.value}])},{default:o((()=>[r(t,{class:"verified-icon","aria-hidden":"true"}),r(n,{class:"input",type:"number",maxlength:"6",modelValue:J.code,"onUpdate:modelValue":a[5]||(a[5]=e=>J.code=e),placeholder:"短信验证码","placeholder-class":"placeholder",onFocus:a[6]||(a[6]=e=>F.value="code"),onBlur:a[7]||(a[7]=e=>F.value=""),onConfirm:ce},null,8,["modelValue"])])),_:1},8,["class"]),r(y,{class:v(["code-button",{disabled:ae.value||T.value}]),disabled:ae.value||T.value,onClick:ne},{default:o((()=>[m(p(le.value),1)])),_:1},8,["class","disabled"])])),_:1})])),_:1}),r(t,{class:"form-group"},{default:o((()=>[r(s,{class:"label"},{default:o((()=>[m("所属机构")])),_:1}),r(t,{class:"select-wrap",onClick:a[8]||(a[8]=e=>X.value=!0)},{default:o((()=>[r(s,{class:v(["select-text",{muted:!ee.value}])},{default:o((()=>[m(p(ee.value?ee.value.name:"选择医院或医学院校"),1)])),_:1},8,["class"]),r(t,{class:"select-arrow","aria-hidden":"true"})])),_:1})])),_:1}),r(s,{class:"hint"},{default:o((()=>[m("* 未注册手机号登录时将自动创建账号")])),_:1}),r(t,{class:"login-area"},{default:o((()=>[r(y,{class:v(["login-button",{loading:U.value}]),disabled:U.value,onClick:ce},{default:o((()=>[U.value?(c(),i(t,{key:0,class:"loading-spinner"})):(c(),i(s,{key:1},{default:o((()=>[m("登录 / 注册")])),_:1}))])),_:1},8,["class","disabled"])])),_:1})])),_:1}),r(t,{class:"footer"},{default:o((()=>[r(t,{class:v(["agreement",{shake:S.value}]),onClick:te},{default:o((()=>[r(t,{class:v(["checkbox",{checked:L.value}])},null,8,["class"]),r(t,{class:"agreement-copy"},{default:o((()=>[r(s,{class:"agreement-text"},{default:o((()=>[m("我已阅读并同意 ")])),_:1}),r(s,{class:"agreement-link",onClick:a[9]||(a[9]=f((e=>oe("service")),["stop"]))},{default:o((()=>[m("《用户服务协议》")])),_:1}),r(s,{class:"agreement-text"},{default:o((()=>[m(" 与 ")])),_:1}),r(s,{class:"agreement-link",onClick:a[10]||(a[10]=f((e=>oe("privacy")),["stop"]))},{default:o((()=>[m("《隐私保护政策》")])),_:1})])),_:1})])),_:1},8,["class"])])),_:1})])),_:1}),r(t,{class:v(["toast",{visible:M.value}])},{default:o((()=>[m(p(x.value),1)])),_:1},8,["class"]),X.value?(c(),i(t,{key:0,class:"picker-mask",onClick:a[13]||(a[13]=e=>X.value=!1)},{default:o((()=>[r(t,{class:"picker-panel",onClick:a[12]||(a[12]=f((()=>{}),["stop"]))},{default:o((()=>[r(t,{class:"picker-header"},{default:o((()=>[r(s,{class:"picker-title"},{default:o((()=>[m("选择所属机构")])),_:1}),r(s,{class:"picker-close",onClick:a[11]||(a[11]=e=>X.value=!1)},{default:o((()=>[m("关闭")])),_:1})])),_:1}),r(b,{class:"institution-list","scroll-y":""},{default:o((()=>[q.value?(c(),i(t,{key:0,class:"institution-empty"},{default:o((()=>[m("机构列表加载中...")])),_:1})):0===D.value.length?(c(),i(t,{key:1,class:"institution-empty"},{default:o((()=>[m("暂无可选机构")])),_:1})):(c(!0),g(I,{key:2},h(D.value,(e=>(c(),i(t,{key:e.id,class:v(["institution-item",{active:J.institutionId===e.id}]),onClick:a=>function(e){J.institutionId=e.id,X.value=!1}(e)},{default:o((()=>[r(t,{class:"institution-copy"},{default:o((()=>[r(s,{class:"institution-name"},{default:o((()=>[m(p(e.name),1)])),_:2},1024),r(s,{class:"institution-meta"},{default:o((()=>[m(p(e.city)+" · "+p(e.typeName),1)])),_:2},1024)])),_:2},1024),J.institutionId===e.id?(c(),i(t,{key:0,class:"selected-mark"})):u("",!0)])),_:2},1032,["class","onClick"])))),128))])),_:1})])),_:1})])),_:1})):u("",!0)])),_:1}))])),_:1})}}}),[["__scopeId","data-v-0db0c021"]]);export{J as default}; diff --git a/dist/assets/pages-index-index.D4jpUrPc.js b/dist/assets/pages-index-index.D4jpUrPc.js deleted file mode 100644 index 2dcd739..0000000 --- a/dist/assets/pages-index-index.D4jpUrPc.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,r as a,a as l,c as s,o as t,b as n,e as c,f as i,w as u,g as o,h as d,v as A,i as r,j as m,n as v,t as f,k as p,l as g,m as I,F as h,s as y,p as b,q as C,u as k,x as R,y as Q,I as E,z,S as Z,A as V}from"./index-pnQqyMoS.js";import{C as G,f as w,s as B,A as N,l as j}from"./config.C781xSGj.js";import Y from"./pages-profile-profile.B-XBbnFl.js";import{_ as D}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./config-doctor.TgARj_nM.js";import"./navigation.DVfJwOxJ.js";const O=D(e({__name:"index",setup(e){const D=a([]),O=l({phone:"",code:"",institutionId:""}),J=a(""),F=a(!1),L=a(!1),S=a(!1),T=a(!1),U=a(0),W=a(""),x=a(!1),M=a(!1),H=a(!1),P=a(!1),X=a(!1),q=a(!1);let K=null,_=null;const $=s((()=>D.value.find((e=>e.id===O.institutionId)))),ee=s((()=>U.value>0)),ae=s((()=>S.value?"发送中...":ee.value?`${U.value}s`:"获取验证码"));function le(e){const a=[e.province,e.city].filter(Boolean).join(" · ");return{id:String(e.id),code:e.code,name:e.name,city:a||"其他",typeName:{hospital:"医院",college:"医学院校",school:"学校",clinic:"诊所"}[e.type]||"机构"}}function se(){F.value=!F.value}async function te(){if(!S.value&&!ee.value&&ce()){S.value=!0;try{let a;try{a=await B(O.phone)}catch(e){if(!(e instanceof N&&"AUTH_PHONE_NOT_FOUND"===e.code))throw e;a=await B(O.phone,"register")}oe(a.message||"验证码已发送"),U.value=60,de(),K=setInterval((()=>{U.value-=1,U.value<=0&&de()}),1e3)}catch(e){oe(e instanceof Error?e.message:"验证码发送失败")}finally{S.value=!1}}}function ne(){if(!T.value&&ce())if(O.code.trim())if($.value){if(!F.value)return oe("请阅读并勾选用户协议"),L.value=!1,void C((()=>{L.value=!0,setTimeout((()=>{L.value=!1}),500)}));T.value=!0,j({phone:O.phone,code:O.code,institution_code:$.value.code,institution_name:$.value.name}).then((e=>{var a,l,s;const t=e.user||{},n={...t,id:t.id?String(t.id):"",phone:t.phone||O.phone,institutionId:(null==(a=$.value)?void 0:a.code)||"",institutionCode:(null==(l=$.value)?void 0:l.code)||"",institutionName:(null==(s=$.value)?void 0:s.name)||""};y("clinical-thinking-user",n),y("clinical-thinking-tokens",e.tokens),y("clinical-thinking-access-token",e.tokens.access),y("clinical-thinking-refresh-token",e.tokens.refresh),oe(e.message||"正在进入系统..."),b({url:"/pages/config/config"})})).catch((e=>{oe(e instanceof Error?e.message:"登录失败,请稍后重试")})).finally((()=>{T.value=!1}))}else oe("请选择所属机构");else oe("请输入短信验证码")}function ce(){return!!/^1[3-9]\d{9}$/.test(O.phone)||(oe("请输入正确的手机号"),!1)}function ie(e){V({title:"service"===e?"用户服务协议":"隐私保护政策",content:"这里是前端模拟协议内容,后续可替换为正式协议页面或富文本接口。",showCancel:!1,confirmColor:"#00478d"})}function ue(){H.value=!1,M.value=!0}function oe(e){_&&clearTimeout(_),W.value=e,x.value=!0,_=setTimeout((()=>{x.value=!1}),2500)}function de(){K&&(clearInterval(K),K=null)}return t((()=>{!async function(){X.value=!0;try{const e=await w();D.value=e.map(le)}catch(e){oe(e instanceof Error?e.message:"机构列表加载失败"),D.value=[]}finally{X.value=!1,q.value=!0}}()})),n((()=>{de(),_&&clearTimeout(_)})),(e,a)=>{const l=k,s=R,t=Q,n=E,y=z,b=Z;return c(),i(t,{class:"page-root"},{default:u((()=>[H.value?(c(),i(Y,{key:0,onOpenSettings:ue,onGoHome:a[0]||(a[0]=e=>H.value=!1)})):o("",!0),M.value?d((c(),i(G,{key:1,onOpenProfile:a[1]||(a[1]=e=>H.value=!0)},null,512)),[[A,!H.value]]):o("",!0),M.value||H.value?o("",!0):(c(),i(t,{key:2,class:"auth-page"},{default:u((()=>[r(t,{class:"auth-container"},{default:u((()=>[r(t,{class:"header"},{default:u((()=>[r(l,{class:"logo",mode:"aspectFit",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAAEi6oPRAAAKQ2lDQ1BJQ0MgcHJvZmlsZQAAeNqdU3dYk/cWPt/3ZQ9WQtjwsZdsgQAiI6wIyBBZohCSAGGEEBJAxYWIClYUFRGcSFXEgtUKSJ2I4qAouGdBiohai1VcOO4f3Ke1fXrv7e371/u855zn/M55zw+AERImkeaiagA5UoU8Otgfj09IxMm9gAIVSOAEIBDmy8JnBcUAAPADeXh+dLA//AGvbwACAHDVLiQSx+H/g7pQJlcAIJEA4CIS5wsBkFIAyC5UyBQAyBgAsFOzZAoAlAAAbHl8QiIAqg0A7PRJPgUA2KmT3BcA2KIcqQgAjQEAmShHJAJAuwBgVYFSLALAwgCgrEAiLgTArgGAWbYyRwKAvQUAdo5YkA9AYACAmUIszAAgOAIAQx4TzQMgTAOgMNK/4KlfcIW4SAEAwMuVzZdL0jMUuJXQGnfy8ODiIeLCbLFCYRcpEGYJ5CKcl5sjE0jnA0zODAAAGvnRwf44P5Dn5uTh5mbnbO/0xaL+a/BvIj4h8d/+vIwCBAAQTs/v2l/l5dYDcMcBsHW/a6lbANpWAGjf+V0z2wmgWgrQevmLeTj8QB6eoVDIPB0cCgsL7SViob0w44s+/zPhb+CLfvb8QB7+23rwAHGaQJmtwKOD/XFhbnauUo7nywRCMW735yP+x4V//Y4p0eI0sVwsFYrxWIm4UCJNx3m5UpFEIcmV4hLpfzLxH5b9CZN3DQCshk/ATrYHtctswH7uAQKLDljSdgBAfvMtjBoLkQAQZzQyefcAAJO/+Y9AKwEAzZek4wAAvOgYXKiUF0zGCAAARKCBKrBBBwzBFKzADpzBHbzAFwJhBkRADCTAPBBCBuSAHAqhGJZBGVTAOtgEtbADGqARmuEQtMExOA3n4BJcgetwFwZgGJ7CGLyGCQRByAgTYSE6iBFijtgizggXmY4EImFINJKApCDpiBRRIsXIcqQCqUJqkV1II/ItchQ5jVxA+pDbyCAyivyKvEcxlIGyUQPUAnVAuagfGorGoHPRdDQPXYCWomvRGrQePYC2oqfRS+h1dAB9io5jgNExDmaM2WFcjIdFYIlYGibHFmPlWDVWjzVjHVg3dhUbwJ5h7wgkAouAE+wIXoQQwmyCkJBHWExYQ6gl7CO0EroIVwmDhDHCJyKTqE+0JXoS+cR4YjqxkFhGrCbuIR4hniVeJw4TX5NIJA7JkuROCiElkDJJC0lrSNtILaRTpD7SEGmcTCbrkG3J3uQIsoCsIJeRt5APkE+S+8nD5LcUOsWI4kwJoiRSpJQSSjVlP+UEpZ8yQpmgqlHNqZ7UCKqIOp9aSW2gdlAvU4epEzR1miXNmxZDy6Qto9XQmmlnafdoL+l0ugndgx5Fl9CX0mvoB+nn6YP0dwwNhg2Dx0hiKBlrGXsZpxi3GS+ZTKYF05eZyFQw1zIbmWeYD5hvVVgq9ip8FZHKEpU6lVaVfpXnqlRVc1U/1XmqC1SrVQ+rXlZ9pkZVs1DjqQnUFqvVqR1Vu6k2rs5Sd1KPUM9RX6O+X/2C+mMNsoaFRqCGSKNUY7fGGY0hFsYyZfFYQtZyVgPrLGuYTWJbsvnsTHYF+xt2L3tMU0NzqmasZpFmneZxzQEOxrHg8DnZnErOIc4NznstAy0/LbHWaq1mrX6tN9p62r7aYu1y7Rbt69rvdXCdQJ0snfU6bTr3dQm6NrpRuoW623XP6j7TY+t56Qn1yvUO6d3RR/Vt9KP1F+rv1u/RHzcwNAg2kBlsMThj8MyQY+hrmGm40fCE4agRy2i6kcRoo9FJoye4Ju6HZ+M1eBc+ZqxvHGKsNN5l3Gs8YWJpMtukxKTF5L4pzZRrmma60bTTdMzMyCzcrNisyeyOOdWca55hvtm82/yNhaVFnMVKizaLx5balnzLBZZNlvesmFY+VnlW9VbXrEnWXOss623WV2xQG1ebDJs6m8u2qK2brcR2m23fFOIUjynSKfVTbtox7PzsCuya7AbtOfZh9iX2bfbPHcwcEh3WO3Q7fHJ0dcx2bHC866ThNMOpxKnD6VdnG2ehc53zNRemS5DLEpd2lxdTbaeKp26fesuV5RruutK10/Wjm7ub3K3ZbdTdzD3Ffav7TS6bG8ldwz3vQfTw91jicczjnaebp8LzkOcvXnZeWV77vR5Ps5wmntYwbcjbxFvgvct7YDo+PWX6zukDPsY+Ap96n4e+pr4i3z2+I37Wfpl+B/ye+zv6y/2P+L/hefIW8U4FYAHBAeUBvYEagbMDawMfBJkEpQc1BY0FuwYvDD4VQgwJDVkfcpNvwBfyG/ljM9xnLJrRFcoInRVaG/owzCZMHtYRjobPCN8Qfm+m+UzpzLYIiOBHbIi4H2kZmRf5fRQpKjKqLupRtFN0cXT3LNas5Fn7Z72O8Y+pjLk722q2cnZnrGpsUmxj7Ju4gLiquIF4h/hF8ZcSdBMkCe2J5MTYxD2J43MC52yaM5zkmlSWdGOu5dyiuRfm6c7Lnnc8WTVZkHw4hZgSl7I/5YMgQlAvGE/lp25NHRPyhJuFT0W+oo2iUbG3uEo8kuadVpX2ON07fUP6aIZPRnXGMwlPUit5kRmSuSPzTVZE1t6sz9lx2S05lJyUnKNSDWmWtCvXMLcot09mKyuTDeR55m3KG5OHyvfkI/lz89sVbIVM0aO0Uq5QDhZML6greFsYW3i4SL1IWtQz32b+6vkjC4IWfL2QsFC4sLPYuHhZ8eAiv0W7FiOLUxd3LjFdUrpkeGnw0n3LaMuylv1Q4lhSVfJqedzyjlKD0qWlQyuCVzSVqZTJy26u9Fq5YxVhlWRV72qX1VtWfyoXlV+scKyorviwRrjm4ldOX9V89Xlt2treSrfK7etI66Trbqz3Wb+vSr1qQdXQhvANrRvxjeUbX21K3nShemr1js20zcrNAzVhNe1bzLas2/KhNqP2ep1/XctW/a2rt77ZJtrWv913e/MOgx0VO97vlOy8tSt4V2u9RX31btLugt2PGmIbur/mft24R3dPxZ6Pe6V7B/ZF7+tqdG9s3K+/v7IJbVI2jR5IOnDlm4Bv2pvtmne1cFoqDsJB5cEn36Z8e+NQ6KHOw9zDzd+Zf7f1COtIeSvSOr91rC2jbaA9ob3v6IyjnR1eHUe+t/9+7zHjY3XHNY9XnqCdKD3x+eSCk+OnZKeenU4/PdSZ3Hn3TPyZa11RXb1nQ8+ePxd07ky3X/fJ897nj13wvHD0Ivdi2yW3S609rj1HfnD94UivW2/rZffL7Vc8rnT0Tes70e/Tf/pqwNVz1/jXLl2feb3vxuwbt24m3Ry4Jbr1+Hb27Rd3Cu5M3F16j3iv/L7a/eoH+g/qf7T+sWXAbeD4YMBgz8NZD+8OCYee/pT/04fh0kfMR9UjRiONj50fHxsNGr3yZM6T4aeypxPPyn5W/3nrc6vn3/3i+0vPWPzY8Av5i8+/rnmp83Lvq6mvOscjxx+8znk98ab8rc7bfe+477rfx70fmSj8QP5Q89H6Y8en0E/3Pud8/vwv94Tz+4A5JREAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAADKmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxMzIgNzkuMTU5Mjg0LCAyMDE2LzA0LzE5LTEzOjEzOjQwICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpGRkE0MjcxNTdEQzYxMUU4QkZBOERDOEVCQ0U0NTBGMSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpGRkE0MjcxNDdEQzYxMUU4QkZBOERDOEVCQ0U0NTBGMSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNS41IChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QkE4RkFCN0M3REM1MTFFOEJGQThEQzhFQkNFNDUwRjEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QkE4RkFCN0Q3REM1MTFFOEJGQThEQzhFQkNFNDUwRjEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5BZZ+3AAAB1ElEQVR42mJkAALtmZb/GfAAJkIKwIoYiAA4FV1JO0Ylk0hWxILLHTgV6cyywqoIIIAYiQinb8S4iYs036E7esgEJq6ABAGAACImMBmo5m6yDcLlR5gcNnnaumhADWIhJoOTbRC+9ILPa9+o4TWAAAIlyDVAOphCc1SYqGAICNwZxumIidi8NILz2qhBdCyPaOcicgq1wRnYAAFErRKSgZo+GzSOoWpQD1sHsRCjCDnzkpp90DM+If2jUTbqoFEHjZZDpJYroyFESeNmNFHTykEqg8g9bwACCNRiVAYyLgEx1wA7Zu3V9OMhVBt1opajBlsaCh7NZaMOGnXQgFeupHZjKO1CjUbZqINGHTTqoFEHjTpo1EGjDhqMgw342kejUTaahggpoOdg1WiUjTpoODoIvL7tzSBykB5AgPbtGIdBGIYCaBR16swROEQvzT06cxjm1lRFDC0LcpXC+xJzpIdJhOW8e4z359MVWSde1C32xRYasC0mCmascDZzrQz+7NgABAgQINnRY/iUrb5D9v9l9toqCBAgQIAAAQIESAABAgQIEKCD5ZK9QPaMigoCdIJP7NdjOyoIECBAgGQBGjB8zVDjam153T0OqInJbBAWfdg8AExKZVcA71uIAAAAAElFTkSuQmCC"}),r(s,{class:"title"},{default:u((()=>[m("临床思维训练")])),_:1}),r(s,{class:"subtitle"},{default:u((()=>[m("提升临床决策能力的高效平台")])),_:1})])),_:1}),r(t,{class:"form"},{default:u((()=>[r(t,{class:"form-group"},{default:u((()=>[r(s,{class:"label"},{default:u((()=>[m("手机号码")])),_:1}),r(t,{class:v(["input-wrap",{focused:"phone"===J.value}])},{default:u((()=>[r(s,{class:"country-code"},{default:u((()=>[m("+86")])),_:1}),r(t,{class:"separator"}),r(n,{class:"input",type:"number",maxlength:"11",modelValue:O.phone,"onUpdate:modelValue":a[2]||(a[2]=e=>O.phone=e),placeholder:"请输入手机号","placeholder-class":"placeholder",onFocus:a[3]||(a[3]=e=>J.value="phone"),onBlur:a[4]||(a[4]=e=>J.value=""),onConfirm:ne},null,8,["modelValue"])])),_:1},8,["class"])])),_:1}),r(t,{class:"form-group"},{default:u((()=>[r(s,{class:"label"},{default:u((()=>[m("验证码")])),_:1}),r(t,{class:"code-row"},{default:u((()=>[r(t,{class:v(["input-wrap code-input-wrap",{focused:"code"===J.value}])},{default:u((()=>[r(t,{class:"verified-icon","aria-hidden":"true"}),r(n,{class:"input",type:"number",maxlength:"6",modelValue:O.code,"onUpdate:modelValue":a[5]||(a[5]=e=>O.code=e),placeholder:"短信验证码","placeholder-class":"placeholder",onFocus:a[6]||(a[6]=e=>J.value="code"),onBlur:a[7]||(a[7]=e=>J.value=""),onConfirm:ne},null,8,["modelValue"])])),_:1},8,["class"]),r(y,{class:v(["code-button",{disabled:ee.value||S.value}]),disabled:ee.value||S.value,onClick:te},{default:u((()=>[m(f(ae.value),1)])),_:1},8,["class","disabled"])])),_:1})])),_:1}),r(t,{class:"form-group"},{default:u((()=>[r(s,{class:"label"},{default:u((()=>[m("所属机构")])),_:1}),r(t,{class:"select-wrap",onClick:a[8]||(a[8]=e=>P.value=!0)},{default:u((()=>[r(s,{class:v(["select-text",{muted:!$.value}])},{default:u((()=>[m(f($.value?$.value.name:"选择医院或医学院校"),1)])),_:1},8,["class"]),r(t,{class:"select-arrow","aria-hidden":"true"})])),_:1})])),_:1}),r(s,{class:"hint"},{default:u((()=>[m("* 未注册手机号登录时将自动创建账号")])),_:1}),r(t,{class:"login-area"},{default:u((()=>[r(y,{class:v(["login-button",{loading:T.value}]),disabled:T.value,onClick:ne},{default:u((()=>[T.value?(c(),i(t,{key:0,class:"loading-spinner"})):(c(),i(s,{key:1},{default:u((()=>[m("登录 / 注册")])),_:1}))])),_:1},8,["class","disabled"])])),_:1})])),_:1}),r(t,{class:"footer"},{default:u((()=>[r(t,{class:v(["agreement",{shake:L.value}]),onClick:se},{default:u((()=>[r(t,{class:v(["checkbox",{checked:F.value}])},null,8,["class"]),r(t,{class:"agreement-copy"},{default:u((()=>[r(s,{class:"agreement-text"},{default:u((()=>[m("我已阅读并同意 ")])),_:1}),r(s,{class:"agreement-link",onClick:a[9]||(a[9]=p((e=>ie("service")),["stop"]))},{default:u((()=>[m("《用户服务协议》")])),_:1}),r(s,{class:"agreement-text"},{default:u((()=>[m(" 与 ")])),_:1}),r(s,{class:"agreement-link",onClick:a[10]||(a[10]=p((e=>ie("privacy")),["stop"]))},{default:u((()=>[m("《隐私保护政策》")])),_:1})])),_:1})])),_:1},8,["class"])])),_:1})])),_:1}),r(t,{class:v(["toast",{visible:x.value}])},{default:u((()=>[m(f(W.value),1)])),_:1},8,["class"]),P.value?(c(),i(t,{key:0,class:"picker-mask",onClick:a[13]||(a[13]=e=>P.value=!1)},{default:u((()=>[r(t,{class:"picker-panel",onClick:a[12]||(a[12]=p((()=>{}),["stop"]))},{default:u((()=>[r(t,{class:"picker-header"},{default:u((()=>[r(s,{class:"picker-title"},{default:u((()=>[m("选择所属机构")])),_:1}),r(s,{class:"picker-close",onClick:a[11]||(a[11]=e=>P.value=!1)},{default:u((()=>[m("关闭")])),_:1})])),_:1}),r(b,{class:"institution-list","scroll-y":""},{default:u((()=>[X.value?(c(),i(t,{key:0,class:"institution-empty"},{default:u((()=>[m("机构列表加载中...")])),_:1})):0===D.value.length?(c(),i(t,{key:1,class:"institution-empty"},{default:u((()=>[m("暂无可选机构")])),_:1})):(c(!0),g(h,{key:2},I(D.value,(e=>(c(),i(t,{key:e.id,class:v(["institution-item",{active:O.institutionId===e.id}]),onClick:a=>function(e){O.institutionId=e.id,P.value=!1}(e)},{default:u((()=>[r(t,{class:"institution-copy"},{default:u((()=>[r(s,{class:"institution-name"},{default:u((()=>[m(f(e.name),1)])),_:2},1024),r(s,{class:"institution-meta"},{default:u((()=>[m(f(e.city)+" · "+f(e.typeName),1)])),_:2},1024)])),_:2},1024),O.institutionId===e.id?(c(),i(t,{key:0,class:"selected-mark"})):o("",!0)])),_:2},1032,["class","onClick"])))),128))])),_:1})])),_:1})])),_:1})):o("",!0)])),_:1}))])),_:1})}}}),[["__scopeId","data-v-fbf7d73c"]]);export{O as default}; diff --git a/dist/assets/pages-learning-assistant-learning-assistant.C5b4ppY1.js b/dist/assets/pages-learning-assistant-learning-assistant.C5b4ppY1.js deleted file mode 100644 index 287f7fc..0000000 --- a/dist/assets/pages-learning-assistant-learning-assistant.C5b4ppY1.js +++ /dev/null @@ -1 +0,0 @@ -import{d as a,r as s,o as e,b as t,e as l,f as n,w as o,i,E as c,j as u,l as r,m as d,F as f,n as _,k as m,g as p,t as v,s as h,C as g,q as b,y,z as w,x as k,u as C,S as A,R as x}from"./index-pnQqyMoS.js";import{_ as j}from"./config-doctor.TgARj_nM.js";import{F as S,a as E,r as I}from"./session.CQodznPl.js";import{b as D}from"./navigation.DVfJwOxJ.js";import{_ as O}from"./_plugin-vue_export-helper.BCo6x5W8.js";async function T(a){const s=(null==a?void 0:a.trim())?{title:a.trim().slice(0,100)}:{},e=await fetch(`${S}/learning-assistant/sessions`,{method:"POST",headers:E(),body:JSON.stringify(s)});if(!e.ok)throw new Error(await I(e));const t=await e.json();if("OK"!==t.code||!t.data)throw new Error(t.message||"新建会话失败");const l=function(a){const s=a.assistant_session_id||a.session_id||a.id;return"number"==typeof s||"string"==typeof s?s:""}(t.data);if(!l)throw new Error("新建会话返回缺少 assistant_session_id");return{...t.data,assistant_session_id:l}}function $(a,s){var e,t,l;const n=(null==(e=a.match(/^event:\s*(.+)$/m))?void 0:e[1])||"",o=a.split("\n").filter((a=>a.startsWith("data:"))).map((a=>a.replace(/^data:\s?/,"")));if(0===o.length)return;const i=o.join("\n");if("[DONE]"===i)return void(null==(t=s.onDone)||t.call(s,{}));let c=i;try{c=JSON.parse(i)}catch{}if("error"===n){const a="object"==typeof c&&c?c.message:c;throw new Error("string"==typeof a?a:"AI 学习助手回复失败")}const u=function(a){if("string"==typeof a)return a;if(!a||"object"!=typeof a)return"";const s=a,e=s.delta||s.content||s.answer||s.text;if("string"==typeof e)return e;const t=s.data;if(t&&"object"==typeof t){const a=t,s=a.delta||a.content||a.answer||a.text;if("string"==typeof s)return s}return""}(c);u&&s.onDelta(u),"done"!==n&&"message_done"!==n||null==(l=s.onDone)||l.call(s,"object"==typeof c&&c?c:{})}const q=O(a({__name:"learning-assistant",emits:["go-home","open-settings","open-profile"],setup(a,{emit:O}){const q=D(O),F=["更新指南","风险评估量表","药理学详情","病例研讨"],N=[{index:"1",title:"早期识别",description:"10分钟内完成12导联心电图。"},{index:"2",title:"药物干预",description:"阿司匹林、氯吡格雷。"},{index:"3",title:"再灌注策略",description:"STEMI需紧急PCI。"}],J=s([]),P=s(""),V=s(!1),M=s(!1),R=s(""),z=s(!1),H=s(0),K=s(null),U=s(!1);let W=null,B=null;async function G(){const a=P.value.trim();if(!a)return void Q("请输入问题");if(U.value)return;J.value.push({id:`user-${Date.now()}`,role:"user",content:a}),P.value="",M.value=!0,U.value=!0,L();const s=J.value.length;J.value.push({id:`assistant-${Date.now()}`,role:"assistant",variant:"simple",content:""});try{const e=await async function(a){if(K.value)return K.value;const s=await T(a);return K.value=s,h("clinical-thinking-learning-assistant-session",s),s}(a);null==B||B.abort(),B=new AbortController,await async function(a,s,e,t){const l=await fetch(`${S}/learning-assistant/sessions/${a}/chat/stream`,{method:"POST",headers:E("text/event-stream"),body:JSON.stringify(s),signal:t});if(!l.ok||!l.body)throw new Error(await I(l));const n=l.body.getReader(),o=new TextDecoder;let i="";for(;;){const{value:a,done:s}=await n.read();if(s)break;i+=o.decode(a,{stream:!0});const t=i.split("\n\n");i=t.pop()||"";for(const l of t)$(l,e)}i.trim()&&$(i,e)}(e.assistant_session_id,{question:a},{onDelta:a=>{J.value[s].content+=a,L()}},B.signal),J.value[s].content.trim()||(J.value[s].content="暂未生成回复,请稍后重试。")}catch(e){J.value[s].content=e instanceof Error?e.message:"AI 学习助手回复失败",Q(J.value[s].content)}finally{M.value=!1,U.value=!1,L()}}function L(){b((()=>{H.value+=1e3}))}function Q(a){W&&clearTimeout(W),R.value=a,z.value=!0,W=setTimeout((()=>{z.value=!1}),1800)}return e((()=>{!async function(){try{const a=g("clinical-thinking-learning-assistant-session");if(a&&"object"==typeof a)return void(K.value=a);K.value=await T("AI 学习助手"),h("clinical-thinking-learning-assistant-session",K.value)}catch(a){Q(a instanceof Error?a.message:"新建会话失败")}}()})),t((()=>{null==B||B.abort(),W&&clearTimeout(W)})),(a,s)=>{const e=y,t=w,h=k,g=C,b=A,S=x;return l(),n(e,{class:"learning-page"},{default:o((()=>[i(e,{class:"learning-shell"},{default:o((()=>[i(e,{class:"assistant-header"},{default:o((()=>[i(e,{class:"header-left"},{default:o((()=>[i(t,{class:"icon-button","aria-label":"返回",onClick:c(q)},{default:o((()=>[i(e,{class:"history-icon"})])),_:1},8,["onClick"]),i(h,{class:"page-title"},{default:o((()=>[u("AI 学习助手")])),_:1})])),_:1}),i(e,{class:"header-actions"},{default:o((()=>[i(t,{class:"director-chip",onClick:s[0]||(s[0]=a=>V.value=!0)},{default:o((()=>[i(g,{class:"director-thumb",src:j,mode:"aspectFill"}),i(h,null,{default:o((()=>[u("咨询王主任")])),_:1})])),_:1}),i(t,{class:"icon-button muted","aria-label":"更多",onClick:s[1]||(s[1]=a=>Q("更多功能即将开放"))},{default:o((()=>[i(e,{class:"more-icon"})])),_:1})])),_:1})])),_:1}),i(b,{class:"chat-canvas","scroll-y":"","scroll-top":H.value},{default:o((()=>[i(e,{class:"time-row"},{default:o((()=>[i(h,null,{default:o((()=>[u("今天 10:42 AM")])),_:1})])),_:1}),(l(!0),r(f,null,d(J.value,(a=>(l(),n(e,{key:a.id,class:_(["message-block",`message-${a.role}`])},{default:o((()=>["user"===a.role?(l(),n(e,{key:0,class:"user-bubble"},{default:o((()=>[i(h,null,{default:o((()=>[u(v(a.content),1)])),_:2},1024)])),_:2},1024)):(l(),n(e,{key:1,class:"assistant-message"},{default:o((()=>[i(e,{class:"assistant-meta"},{default:o((()=>[i(e,{class:"robot-badge"},{default:o((()=>[i(e,{class:"robot-icon"})])),_:1}),i(h,null,{default:o((()=>[u("AI 临床助理")])),_:1})])),_:1}),"acs-pathway"===a.variant?(l(),n(e,{key:0,class:"assistant-card"},{default:o((()=>[i(h,{class:"response-intro"},{default:o((()=>[u("急性冠脉综合征(ACS)临床路径:")])),_:1}),i(e,{class:"pathway-card"},{default:o((()=>[(l(),r(f,null,d(N,(a=>i(e,{key:a.title,class:"pathway-step"},{default:o((()=>[i(h,{class:"step-index"},{default:o((()=>[u(v(a.index),1)])),_:2},1024),i(e,{class:"step-copy"},{default:o((()=>[i(h,{class:"step-title"},{default:o((()=>[u(v(a.title),1)])),_:2},1024),i(h,{class:"step-desc"},{default:o((()=>[u(v(a.description),1)])),_:2},1024)])),_:2},1024)])),_:2},1024))),64))])),_:1}),i(e,{class:"evidence-box"},{default:o((()=>[i(e,{class:"evidence-heading"},{default:o((()=>[i(e,{class:"verified-icon"}),i(h,null,{default:o((()=>[u("循证来源")])),_:1})])),_:1}),i(h,{class:"evidence-item"},{default:o((()=>[u("[1] 2023 AHA/ACC ACS 管理指南")])),_:1}),i(h,{class:"evidence-item"},{default:o((()=>[u("[2] 《临床诊疗常规:心血管分册》")])),_:1})])),_:1})])),_:1})):(l(),n(e,{key:1,class:"assistant-card simple-card"},{default:o((()=>[i(h,null,{default:o((()=>[u(v(a.content),1)])),_:2},1024)])),_:2},1024))])),_:2},1024))])),_:2},1032,["class"])))),128)),i(e,{class:_(["typing-row",{visible:M.value}])},{default:o((()=>[i(e,{class:"typing-dots"},{default:o((()=>[i(e,{class:"dot dot-one"}),i(e,{class:"dot dot-two"}),i(e,{class:"dot dot-three"})])),_:1}),i(h,null,{default:o((()=>[u("正在思考中...")])),_:1})])),_:1},8,["class"])])),_:1},8,["scroll-top"]),i(e,{class:"input-panel"},{default:o((()=>[i(b,{class:"quick-actions","scroll-x":""},{default:o((()=>[i(e,{class:"quick-row"},{default:o((()=>[(l(),r(f,null,d(F,(a=>i(t,{key:a,class:"quick-chip",onClick:s=>function(a){P.value={"更新指南":"请帮我梳理 ACS 最新指南中需要重点关注的更新。","风险评估量表":"请列出 ACS 常用风险评估量表及适用场景。","药理学详情":"请说明 ACS 常用抗血小板药物的适应证和注意事项。","病例研讨":"请用病例研讨形式带我复盘一例胸痛患者。"}[a]||a}(a)},{default:o((()=>[u(v(a),1)])),_:2},1032,["onClick"]))),64))])),_:1})])),_:1}),i(e,{class:"composer"},{default:o((()=>[i(S,{class:"message-input",modelValue:P.value,"onUpdate:modelValue":s[2]||(s[2]=a=>P.value=a),"auto-height":"",maxlength:"1000",placeholder:"请输入您的问题...","placeholder-class":"input-placeholder",onConfirm:G},null,8,["modelValue"]),i(e,{class:"composer-actions"},{default:o((()=>[i(t,{class:"attach-button","aria-label":"附件",onClick:s[3]||(s[3]=a=>Q("附件上传即将开放"))},{default:o((()=>[i(e,{class:"attach-icon"})])),_:1}),i(t,{class:_(["send-button",{disabled:U.value}]),disabled:U.value,"aria-label":"发送",onClick:G},{default:o((()=>[i(e,{class:"send-icon"})])),_:1},8,["class","disabled"])])),_:1})])),_:1}),i(h,{class:"disclaimer"},{default:o((()=>[u("AI 生成内容仅供临床参考,最终医疗决策请咨询资深医师。")])),_:1})])),_:1}),V.value?(l(),n(e,{key:0,class:"modal-mask",onClick:s[9]||(s[9]=a=>V.value=!1)},{default:o((()=>[i(e,{class:"wang-modal",onClick:s[8]||(s[8]=m((()=>{}),["stop"]))},{default:o((()=>[i(e,{class:"modal-header"},{default:o((()=>[i(e,{class:"modal-doctor"},{default:o((()=>[i(g,{class:"modal-avatar",src:j,mode:"aspectFill"}),i(e,{class:"modal-title-group"},{default:o((()=>[i(h,{class:"modal-title"},{default:o((()=>[u("王主任")])),_:1}),i(h,{class:"modal-subtitle"},{default:o((()=>[u("临床教育首席专家")])),_:1})])),_:1})])),_:1}),i(t,{class:"icon-button muted","aria-label":"关闭",onClick:s[4]||(s[4]=a=>V.value=!1)},{default:o((()=>[i(e,{class:"close-icon"})])),_:1})])),_:1}),i(e,{class:"modal-body"},{default:o((()=>[i(e,{class:"quote-card"},{default:o((()=>[i(h,null,{default:o((()=>[u("“对于 ACS 患者,请务必牢记:时间就是心肌。虽然 AI 提供了标准的临床路径,但结合患者个体化风险特征的临床判断仍是您最关键的工具。”")])),_:1})])),_:1}),i(e,{class:"mentor-grid"},{default:o((()=>[i(t,{class:"mentor-card",onClick:s[5]||(s[5]=a=>Q("已选择查房带教"))},{default:o((()=>[i(e,{class:"school-small-icon"}),i(h,null,{default:o((()=>[u("查房带教")])),_:1})])),_:1}),i(t,{class:"mentor-card",onClick:s[6]||(s[6]=a=>Q("已选择疑难会诊"))},{default:o((()=>[i(e,{class:"notes-small-icon"}),i(h,null,{default:o((()=>[u("疑难会诊")])),_:1})])),_:1})])),_:1}),i(t,{class:"guidance-button",onClick:s[7]||(s[7]=a=>Q("一对一指导即将开始"))},{default:o((()=>[u(" 开始一对一指导 ")])),_:1})])),_:1})])),_:1})])),_:1})):p("",!0),i(e,{class:_(["toast",{visible:z.value}])},{default:o((()=>[u(v(R.value),1)])),_:1},8,["class"])])),_:1})])),_:1})}}}),[["__scopeId","data-v-bbdc4119"]]);export{q as default}; diff --git a/dist/assets/pages-learning-assistant-learning-assistant.DXQx3hQo.js b/dist/assets/pages-learning-assistant-learning-assistant.DXQx3hQo.js new file mode 100644 index 0000000..10c48cc --- /dev/null +++ b/dist/assets/pages-learning-assistant-learning-assistant.DXQx3hQo.js @@ -0,0 +1 @@ +import{d as a,r as s,o as e,b as t,e as l,f as n,w as o,i,E as c,j as u,l as r,m as d,F as f,n as _,k as m,g as p,t as v,s as g,D as h,u as b,z as y,A as k,y as w,x as C,S as A,N as x}from"./index-DR4MYR5F.js";import{_ as j}from"./config-doctor.TgARj_nM.js";import{F as S,a as E,r as I}from"./session.EmQEGqqa.js";import{b as D}from"./navigation.DbARx0MO.js";import{_ as O}from"./_plugin-vue_export-helper.BCo6x5W8.js";async function T(a){const s=(null==a?void 0:a.trim())?{title:a.trim().slice(0,100)}:{},e=await fetch(`${S}/learning-assistant/sessions`,{method:"POST",headers:E(),body:JSON.stringify(s)});if(!e.ok)throw new Error(await I(e));const t=await e.json();if("OK"!==t.code||!t.data)throw new Error(t.message||"新建会话失败");const l=function(a){const s=a.assistant_session_id||a.session_id||a.id;return"number"==typeof s||"string"==typeof s?s:""}(t.data);if(!l)throw new Error("新建会话返回缺少 assistant_session_id");return{...t.data,assistant_session_id:l}}function $(a,s){var e,t,l;const n=(null==(e=a.match(/^event:\s*(.+)$/m))?void 0:e[1])||"",o=a.split("\n").filter((a=>a.startsWith("data:"))).map((a=>a.replace(/^data:\s?/,"")));if(0===o.length)return;const i=o.join("\n");if("[DONE]"===i)return void(null==(t=s.onDone)||t.call(s,{}));let c=i;try{c=JSON.parse(i)}catch{}if("error"===n){const a="object"==typeof c&&c?c.message:c;throw new Error("string"==typeof a?a:"AI 学习助手回复失败")}const u=function(a){if("string"==typeof a)return a;if(!a||"object"!=typeof a)return"";const s=a,e=s.delta||s.content||s.answer||s.text;if("string"==typeof e)return e;const t=s.data;if(t&&"object"==typeof t){const a=t,s=a.delta||a.content||a.answer||a.text;if("string"==typeof s)return s}return""}(c);u&&s.onDelta(u),"done"!==n&&"message_done"!==n||null==(l=s.onDone)||l.call(s,"object"==typeof c&&c?c:{})}const q=O(a({__name:"learning-assistant",emits:["go-home","open-settings","open-profile"],setup(a,{emit:O}){const q=D(O),N=["更新指南","风险评估量表","药理学详情","病例研讨"],F=[{index:"1",title:"早期识别",description:"10分钟内完成12导联心电图。"},{index:"2",title:"药物干预",description:"阿司匹林、氯吡格雷。"},{index:"3",title:"再灌注策略",description:"STEMI需紧急PCI。"}],J=s([]),P=s(""),V=s(!1),M=s(!1),z=s(""),H=s(!1),K=s(0),R=s(null),U=s(!1);let W=null,B=null;async function G(){const a=P.value.trim();if(!a)return void Q("请输入问题");if(U.value)return;J.value.push({id:`user-${Date.now()}`,role:"user",content:a}),P.value="",M.value=!0,U.value=!0,L();const s=J.value.length;J.value.push({id:`assistant-${Date.now()}`,role:"assistant",variant:"simple",content:""});try{const e=await async function(a){if(R.value)return R.value;const s=await T(a);return R.value=s,g("clinical-thinking-learning-assistant-session",s),s}(a);null==B||B.abort(),B=new AbortController,await async function(a,s,e,t){const l=await fetch(`${S}/learning-assistant/sessions/${a}/chat/stream`,{method:"POST",headers:E("text/event-stream"),body:JSON.stringify(s),signal:t});if(!l.ok||!l.body)throw new Error(await I(l));const n=l.body.getReader(),o=new TextDecoder;let i="";for(;;){const{value:a,done:s}=await n.read();if(s)break;i+=o.decode(a,{stream:!0});const t=i.split("\n\n");i=t.pop()||"";for(const l of t)$(l,e)}i.trim()&&$(i,e)}(e.assistant_session_id,{question:a},{onDelta:a=>{J.value[s].content+=a,L()}},B.signal),J.value[s].content.trim()||(J.value[s].content="暂未生成回复,请稍后重试。")}catch(e){J.value[s].content=e instanceof Error?e.message:"AI 学习助手回复失败",Q(J.value[s].content)}finally{M.value=!1,U.value=!1,L()}}function L(){b((()=>{K.value+=1e3}))}function Q(a){W&&clearTimeout(W),z.value=a,H.value=!0,W=setTimeout((()=>{H.value=!1}),1800)}return e((()=>{!async function(){try{const a=h("clinical-thinking-learning-assistant-session");if(a&&"object"==typeof a)return void(R.value=a);R.value=await T("AI 学习助手"),g("clinical-thinking-learning-assistant-session",R.value)}catch(a){Q(a instanceof Error?a.message:"新建会话失败")}}()})),t((()=>{null==B||B.abort(),W&&clearTimeout(W)})),(a,s)=>{const e=y,t=k,g=w,h=C,b=A,S=x;return l(),n(e,{class:"learning-page"},{default:o((()=>[i(e,{class:"learning-shell"},{default:o((()=>[i(e,{class:"assistant-header"},{default:o((()=>[i(e,{class:"header-left"},{default:o((()=>[i(t,{class:"icon-button","aria-label":"返回",onClick:c(q)},{default:o((()=>[i(e,{class:"history-icon"})])),_:1},8,["onClick"]),i(g,{class:"page-title"},{default:o((()=>[u("AI 学习助手")])),_:1})])),_:1}),i(e,{class:"header-actions"},{default:o((()=>[i(t,{class:"director-chip",onClick:s[0]||(s[0]=a=>V.value=!0)},{default:o((()=>[i(h,{class:"director-thumb",src:j,mode:"aspectFill"}),i(g,null,{default:o((()=>[u("咨询王主任")])),_:1})])),_:1}),i(t,{class:"icon-button muted","aria-label":"更多",onClick:s[1]||(s[1]=a=>Q("更多功能即将开放"))},{default:o((()=>[i(e,{class:"more-icon"})])),_:1})])),_:1})])),_:1}),i(b,{class:"chat-canvas","scroll-y":"","scroll-top":K.value},{default:o((()=>[i(e,{class:"time-row"},{default:o((()=>[i(g,null,{default:o((()=>[u("今天 10:42 AM")])),_:1})])),_:1}),(l(!0),r(f,null,d(J.value,(a=>(l(),n(e,{key:a.id,class:_(["message-block",`message-${a.role}`])},{default:o((()=>["user"===a.role?(l(),n(e,{key:0,class:"user-bubble"},{default:o((()=>[i(g,null,{default:o((()=>[u(v(a.content),1)])),_:2},1024)])),_:2},1024)):(l(),n(e,{key:1,class:"assistant-message"},{default:o((()=>[i(e,{class:"assistant-meta"},{default:o((()=>[i(e,{class:"robot-badge"},{default:o((()=>[i(e,{class:"robot-icon"})])),_:1}),i(g,null,{default:o((()=>[u("AI 临床助理")])),_:1})])),_:1}),"acs-pathway"===a.variant?(l(),n(e,{key:0,class:"assistant-card"},{default:o((()=>[i(g,{class:"response-intro"},{default:o((()=>[u("急性冠脉综合征(ACS)临床路径:")])),_:1}),i(e,{class:"pathway-card"},{default:o((()=>[(l(),r(f,null,d(F,(a=>i(e,{key:a.title,class:"pathway-step"},{default:o((()=>[i(g,{class:"step-index"},{default:o((()=>[u(v(a.index),1)])),_:2},1024),i(e,{class:"step-copy"},{default:o((()=>[i(g,{class:"step-title"},{default:o((()=>[u(v(a.title),1)])),_:2},1024),i(g,{class:"step-desc"},{default:o((()=>[u(v(a.description),1)])),_:2},1024)])),_:2},1024)])),_:2},1024))),64))])),_:1}),i(e,{class:"evidence-box"},{default:o((()=>[i(e,{class:"evidence-heading"},{default:o((()=>[i(e,{class:"verified-icon"}),i(g,null,{default:o((()=>[u("循证来源")])),_:1})])),_:1}),i(g,{class:"evidence-item"},{default:o((()=>[u("[1] 2023 AHA/ACC ACS 管理指南")])),_:1}),i(g,{class:"evidence-item"},{default:o((()=>[u("[2] 《临床诊疗常规:心血管分册》")])),_:1})])),_:1})])),_:1})):(l(),n(e,{key:1,class:"assistant-card simple-card"},{default:o((()=>[i(g,null,{default:o((()=>[u(v(a.content),1)])),_:2},1024)])),_:2},1024))])),_:2},1024))])),_:2},1032,["class"])))),128)),i(e,{class:_(["typing-row",{visible:M.value}])},{default:o((()=>[i(e,{class:"typing-dots"},{default:o((()=>[i(e,{class:"dot dot-one"}),i(e,{class:"dot dot-two"}),i(e,{class:"dot dot-three"})])),_:1}),i(g,null,{default:o((()=>[u("正在思考中...")])),_:1})])),_:1},8,["class"])])),_:1},8,["scroll-top"]),i(e,{class:"input-panel"},{default:o((()=>[i(b,{class:"quick-actions","scroll-x":""},{default:o((()=>[i(e,{class:"quick-row"},{default:o((()=>[(l(),r(f,null,d(N,(a=>i(t,{key:a,class:"quick-chip",onClick:s=>function(a){P.value={"更新指南":"请帮我梳理 ACS 最新指南中需要重点关注的更新。","风险评估量表":"请列出 ACS 常用风险评估量表及适用场景。","药理学详情":"请说明 ACS 常用抗血小板药物的适应证和注意事项。","病例研讨":"请用病例研讨形式带我复盘一例胸痛患者。"}[a]||a}(a)},{default:o((()=>[u(v(a),1)])),_:2},1032,["onClick"]))),64))])),_:1})])),_:1}),i(e,{class:"composer"},{default:o((()=>[i(S,{class:"message-input",modelValue:P.value,"onUpdate:modelValue":s[2]||(s[2]=a=>P.value=a),"auto-height":"",maxlength:"1000",placeholder:"请输入您的问题...","placeholder-class":"input-placeholder",onConfirm:G},null,8,["modelValue"]),i(e,{class:"composer-actions"},{default:o((()=>[i(t,{class:"attach-button","aria-label":"附件",onClick:s[3]||(s[3]=a=>Q("附件上传即将开放"))},{default:o((()=>[i(e,{class:"attach-icon"})])),_:1}),i(t,{class:_(["send-button",{disabled:U.value}]),disabled:U.value,"aria-label":"发送",onClick:G},{default:o((()=>[i(e,{class:"send-icon"})])),_:1},8,["class","disabled"])])),_:1})])),_:1}),i(g,{class:"disclaimer"},{default:o((()=>[u("AI 生成内容仅供临床参考,最终医疗决策请咨询资深医师。")])),_:1})])),_:1}),V.value?(l(),n(e,{key:0,class:"modal-mask",onClick:s[9]||(s[9]=a=>V.value=!1)},{default:o((()=>[i(e,{class:"wang-modal",onClick:s[8]||(s[8]=m((()=>{}),["stop"]))},{default:o((()=>[i(e,{class:"modal-header"},{default:o((()=>[i(e,{class:"modal-doctor"},{default:o((()=>[i(h,{class:"modal-avatar",src:j,mode:"aspectFill"}),i(e,{class:"modal-title-group"},{default:o((()=>[i(g,{class:"modal-title"},{default:o((()=>[u("王主任")])),_:1}),i(g,{class:"modal-subtitle"},{default:o((()=>[u("临床教育首席专家")])),_:1})])),_:1})])),_:1}),i(t,{class:"icon-button muted","aria-label":"关闭",onClick:s[4]||(s[4]=a=>V.value=!1)},{default:o((()=>[i(e,{class:"close-icon"})])),_:1})])),_:1}),i(e,{class:"modal-body"},{default:o((()=>[i(e,{class:"quote-card"},{default:o((()=>[i(g,null,{default:o((()=>[u("“对于 ACS 患者,请务必牢记:时间就是心肌。虽然 AI 提供了标准的临床路径,但结合患者个体化风险特征的临床判断仍是您最关键的工具。”")])),_:1})])),_:1}),i(e,{class:"mentor-grid"},{default:o((()=>[i(t,{class:"mentor-card",onClick:s[5]||(s[5]=a=>Q("已选择查房带教"))},{default:o((()=>[i(e,{class:"school-small-icon"}),i(g,null,{default:o((()=>[u("查房带教")])),_:1})])),_:1}),i(t,{class:"mentor-card",onClick:s[6]||(s[6]=a=>Q("已选择疑难会诊"))},{default:o((()=>[i(e,{class:"notes-small-icon"}),i(g,null,{default:o((()=>[u("疑难会诊")])),_:1})])),_:1})])),_:1}),i(t,{class:"guidance-button",onClick:s[7]||(s[7]=a=>Q("一对一指导即将开始"))},{default:o((()=>[u(" 开始一对一指导 ")])),_:1})])),_:1})])),_:1})])),_:1})):p("",!0),i(e,{class:_(["toast",{visible:H.value}])},{default:o((()=>[u(v(z.value),1)])),_:1},8,["class"])])),_:1})])),_:1})}}}),[["__scopeId","data-v-bbdc4119"]]);export{q as default}; diff --git a/dist/assets/pages-matching-matching.CseTx9c7.js b/dist/assets/pages-matching-matching.CseTx9c7.js new file mode 100644 index 0000000..88fe5e6 --- /dev/null +++ b/dist/assets/pages-matching-matching.CseTx9c7.js @@ -0,0 +1 @@ +import{d as a,a as s,r as e,o as l,b as t,e as r,f as n,w as o,i as c,l as i,m as u,F as d,j as g,t as p,H as m,p as f,z as _,y as v,x as b,n as h}from"./index-DR4MYR5F.js";import{_ as y}from"./config-doctor.TgARj_nM.js";import{o as x}from"./uni-app.es.CXV8m51O.js";import{_ as $}from"./_plugin-vue_export-helper.BCo6x5W8.js";const I=$(a({__name:"matching",setup(a){const $=s({message:"王主任正在为您智能匹配病例",subtitle:"正在通过大模型计算最适合您的临床案例库...",progressTarget:92,tags:[]}),I=e([]),j=e(0),w=e("recommended");let M=0,k=null,T=null;function D(){Promise.resolve({message:"王主任正在为您智能匹配病例",subtitle:"正在通过大模型计算最适合您的临床案例库...",progressTarget:92,tags:[{label:"薄弱环节",tone:"secondary"},{label:"主治医级别",tone:"primary"},{label:"高匹配度",tone:"tertiary"},{label:"基于历史偏好",tone:"neutral"}]}).then((a=>{Object.assign($,a),function(){T&&clearInterval(T);j.value=0;const a=Date.now();T=setInterval((()=>{const s=Date.now()-a,e=Math.min(1,s/1e4);if(j.value=Math.round($.progressTarget*e),e>=1)return T&&clearInterval(T),T=null,void f({url:`/pages/cases/cases?source=${encodeURIComponent(w.value)}`})}),100)}()}))}function F(){const a=M++,s=256*Math.random(),e=256*Math.random(),l=150*(Math.random()-.5),t=150*(Math.random()-.5),r=2+3*Math.random();I.value.push({id:a,style:{left:`${s}px`,top:`${e}px`,"--particle-x":`${l}px`,"--particle-y":`${t}px`,animationDuration:`${r}s`}}),setTimeout((()=>{I.value=I.value.filter((s=>s.id!==a))}),1e3*r)}return x((a=>{const s=null==a?void 0:a.source;var e;("recommended"===(e=s)||"specialty"===e||"weak"===e||"teaching"===e||"teacher-task"===e)&&(w.value=s)})),l((()=>{D(),function(){for(let a=0;a<12;a+=1)F();k=setInterval(F,300)}()})),t((()=>{k&&clearInterval(k),T&&clearInterval(T)})),(a,s)=>{const e=_,l=v,t=b;return r(),n(e,{class:"matching-page"},{default:o((()=>[c(e,{class:"matching-shell"},{default:o((()=>[c(e,{class:"top-visual"},{default:o((()=>[c(e,{class:"network"},{default:o((()=>[c(e,{class:"ring ring-large"}),c(e,{class:"ring ring-middle"}),c(e,{class:"ring ring-small"}),c(e,{class:"node node-top"}),c(e,{class:"node node-left"}),c(e,{class:"node node-right"}),(r(!0),i(d,null,u(I.value,(a=>(r(),n(e,{key:a.id,class:"particle",style:m(a.style)},null,8,["style"])))),128))])),_:1})])),_:1}),c(e,{class:"middle-visual"},{default:o((()=>[c(e,{class:"match-bubble"},{default:o((()=>[c(l,null,{default:o((()=>[g(p($.message),1)])),_:1}),c(l,{class:"typing-dots"}),c(e,{class:"bubble-tail"})])),_:1}),c(e,{class:"director-card"},{default:o((()=>[c(t,{class:"director-image",src:y,mode:"aspectFit"})])),_:1}),c(e,{class:"intelligence-area"},{default:o((()=>[c(e,{class:"scan-circle"},{default:o((()=>[c(e,{class:"pulse-ring ring-one"}),c(e,{class:"pulse-ring ring-two"}),c(e,{class:"brain-core"},{default:o((()=>[c(e,{class:"scan-bar"}),c(e,{class:"brain-icon"})])),_:1})])),_:1}),(r(!0),i(d,null,u($.tags,((a,s)=>(r(),n(e,{key:a.label,class:h(["float-tag",[`tag-${a.tone}`,`tag-pos-${s}`]])},{default:o((()=>[c(l,null,{default:o((()=>[g(p(a.label),1)])),_:2},1024)])),_:2},1032,["class"])))),128))])),_:1})])),_:1}),c(e,{class:"bottom-progress"},{default:o((()=>[c(e,{class:"progress-track"},{default:o((()=>[c(e,{class:"progress-fill",style:m({width:`${j.value}%`})},null,8,["style"])])),_:1}),c(l,{class:"progress-subtitle"},{default:o((()=>[g(p($.subtitle),1)])),_:1}),c(e,{class:"security-icon"})])),_:1})])),_:1})])),_:1})}}}),[["__scopeId","data-v-a0c3431a"]]);export{I as default}; diff --git a/dist/assets/pages-matching-matching.tTf9St20.js b/dist/assets/pages-matching-matching.tTf9St20.js deleted file mode 100644 index 6440e77..0000000 --- a/dist/assets/pages-matching-matching.tTf9St20.js +++ /dev/null @@ -1 +0,0 @@ -import{d as a,a as s,r as e,o as l,b as t,e as r,f as n,w as c,i as o,l as i,m as u,F as d,j as g,t as p,H as f,p as m,y as _,x as b,u as v,n as h}from"./index-pnQqyMoS.js";import{_ as y}from"./config-doctor.TgARj_nM.js";import{_ as x}from"./_plugin-vue_export-helper.BCo6x5W8.js";const $=x(a({__name:"matching",setup(a){const x=s({message:"王主任正在为您智能匹配病例",subtitle:"正在通过大模型计算最适合您的临床案例库...",progressTarget:92,tags:[]}),$=e([]),I=e(0);let M=0,w=null,j=null;function k(){Promise.resolve({message:"王主任正在为您智能匹配病例",subtitle:"正在通过大模型计算最适合您的临床案例库...",progressTarget:92,tags:[{label:"薄弱环节",tone:"secondary"},{label:"主治医级别",tone:"primary"},{label:"高匹配度",tone:"tertiary"},{label:"基于历史偏好",tone:"neutral"}]}).then((a=>{Object.assign(x,a),function(){j&&clearInterval(j);I.value=0;const a=Date.now();j=setInterval((()=>{const s=Date.now()-a,e=Math.min(1,s/1e4);if(I.value=Math.round(x.progressTarget*e),e>=1)return j&&clearInterval(j),j=null,void m({url:"/pages/cases/cases"})}),100)}()}))}function T(){const a=M++,s=256*Math.random(),e=256*Math.random(),l=150*(Math.random()-.5),t=150*(Math.random()-.5),r=2+3*Math.random();$.value.push({id:a,style:{left:`${s}px`,top:`${e}px`,"--particle-x":`${l}px`,"--particle-y":`${t}px`,animationDuration:`${r}s`}}),setTimeout((()=>{$.value=$.value.filter((s=>s.id!==a))}),1e3*r)}return l((()=>{k(),function(){for(let a=0;a<12;a+=1)T();w=setInterval(T,300)}()})),t((()=>{w&&clearInterval(w),j&&clearInterval(j)})),(a,s)=>{const e=_,l=b,t=v;return r(),n(e,{class:"matching-page"},{default:c((()=>[o(e,{class:"matching-shell"},{default:c((()=>[o(e,{class:"top-visual"},{default:c((()=>[o(e,{class:"network"},{default:c((()=>[o(e,{class:"ring ring-large"}),o(e,{class:"ring ring-middle"}),o(e,{class:"ring ring-small"}),o(e,{class:"node node-top"}),o(e,{class:"node node-left"}),o(e,{class:"node node-right"}),(r(!0),i(d,null,u($.value,(a=>(r(),n(e,{key:a.id,class:"particle",style:f(a.style)},null,8,["style"])))),128))])),_:1})])),_:1}),o(e,{class:"middle-visual"},{default:c((()=>[o(e,{class:"match-bubble"},{default:c((()=>[o(l,null,{default:c((()=>[g(p(x.message),1)])),_:1}),o(l,{class:"typing-dots"}),o(e,{class:"bubble-tail"})])),_:1}),o(e,{class:"director-card"},{default:c((()=>[o(t,{class:"director-image",src:y,mode:"aspectFit"})])),_:1}),o(e,{class:"intelligence-area"},{default:c((()=>[o(e,{class:"scan-circle"},{default:c((()=>[o(e,{class:"pulse-ring ring-one"}),o(e,{class:"pulse-ring ring-two"}),o(e,{class:"brain-core"},{default:c((()=>[o(e,{class:"scan-bar"}),o(e,{class:"brain-icon"})])),_:1})])),_:1}),(r(!0),i(d,null,u(x.tags,((a,s)=>(r(),n(e,{key:a.label,class:h(["float-tag",[`tag-${a.tone}`,`tag-pos-${s}`]])},{default:c((()=>[o(l,null,{default:c((()=>[g(p(a.label),1)])),_:2},1024)])),_:2},1032,["class"])))),128))])),_:1})])),_:1}),o(e,{class:"bottom-progress"},{default:c((()=>[o(e,{class:"progress-track"},{default:c((()=>[o(e,{class:"progress-fill",style:f({width:`${I.value}%`})},null,8,["style"])])),_:1}),o(l,{class:"progress-subtitle"},{default:c((()=>[g(p(x.subtitle),1)])),_:1}),o(e,{class:"security-icon"})])),_:1})])),_:1})])),_:1})}}}),[["__scopeId","data-v-a610ab33"]]);export{$ as default}; diff --git a/dist/assets/pages-profile-profile-analysis.CRJ4sJsP.js b/dist/assets/pages-profile-profile-analysis.CRJ4sJsP.js deleted file mode 100644 index aff874e..0000000 --- a/dist/assets/pages-profile-profile-analysis.CRJ4sJsP.js +++ /dev/null @@ -1 +0,0 @@ -import{d as a,r as l,o as s,b as e,e as t,f as c,w as i,i as r,M as o,j as u,n as d,l as n,m as f,F as g,N as _,P as h,D as b,Q as m,y as p,z as y,x as v,u as x,S as k,H as w,t as T}from"./index-pnQqyMoS.js";import{_ as j}from"./config-doctor.TgARj_nM.js";import{_ as C}from"./_plugin-vue_export-helper.BCo6x5W8.js";const D=C(a({__name:"profile-analysis",setup(a){const C=[{label:"周一",height:"60%",highlight:!1},{label:"周二",height:"70%",highlight:!1},{label:"周三",height:"65%",highlight:!1},{label:"周四",height:"80%",highlight:!1},{label:"周五",height:"85%",highlight:!0},{label:"周六",height:"90%",highlight:!1},{label:"周日",height:"95%",highlight:!1}],D=l(!1),F=l(""),M=l(!1);let z=null,B=null;function H(){"function"==typeof _&&_().length>1?h():b({url:"/pages/profile/profile"})}function I(a){B&&clearTimeout(B),F.value=a,M.value=!0,m({title:a,icon:"none"}),B=setTimeout((()=>{M.value=!1}),2200)}return s((()=>{z=setTimeout((()=>{D.value=!0}),60)})),e((()=>{z&&clearTimeout(z),B&&clearTimeout(B)})),(a,l)=>{const s=p,e=y,_=v,h=x,b=k;return t(),c(s,{class:"analysis-page"},{default:i((()=>[r(s,{class:"analysis-shell"},{default:i((()=>[o("header",{class:"top-bar"},[r(e,{class:"icon-button","aria-label":"返回",onClick:H},{default:i((()=>[r(s,{class:"back-icon"})])),_:1}),r(_,{class:"page-title"},{default:i((()=>[u("智能分析")])),_:1})]),r(b,{class:"analysis-scroll","scroll-y":""},{default:i((()=>[r(s,{class:"analysis-main"},{default:i((()=>[r(s,{class:d(["fade-section",{visible:D.value}])},{default:i((()=>[r(s,{class:"summary-card"},{default:i((()=>[r(s,{class:"summary-copy"},{default:i((()=>[r(s,{class:"summary-head"},{default:i((()=>[r(_,{class:"summary-label"},{default:i((()=>[u("当前能力评分")])),_:1}),r(s,{class:"trend-chip"},{default:i((()=>[r(s,{class:"trend-icon"}),r(_,null,{default:i((()=>[u("+12%")])),_:1})])),_:1})])),_:1}),r(_,{class:"summary-score"},{default:i((()=>[u("84.5")])),_:1}),r(_,{class:"summary-desc"},{default:i((()=>[u("相较于上周,您的临床推理能力有显著提升")])),_:1})])),_:1})])),_:1})])),_:1},8,["class"]),r(s,{class:d(["fade-section",{visible:D.value}])},{default:i((()=>[r(s,{class:"chart-card"},{default:i((()=>[r(s,{class:"section-head"},{default:i((()=>[r(_,{class:"section-title"},{default:i((()=>[u("近期分数趋势")])),_:1}),r(s,{class:"section-icon"},{default:i((()=>[r(s,{class:"chart-icon"})])),_:1})])),_:1}),r(s,{class:"bar-chart"},{default:i((()=>[(t(),n(g,null,f(C,(a=>r(s,{key:a.label,class:"bar-column"},{default:i((()=>[r(s,{class:"bar-track"},{default:i((()=>[r(s,{class:d(["bar-fill",{highlighted:a.highlight}]),style:w({height:a.height})},null,8,["class","style"])])),_:2},1024),r(_,{class:d(["bar-label",{active:a.highlight}])},{default:i((()=>[u(T(a.label),1)])),_:2},1032,["class"])])),_:2},1024))),64))])),_:1})])),_:1})])),_:1},8,["class"]),r(s,{class:d(["fade-section",{visible:D.value}])},{default:i((()=>[r(s,{class:"chart-card"},{default:i((()=>[r(s,{class:"section-head"},{default:i((()=>[r(_,{class:"section-title"},{default:i((()=>[u("临床胜任力雷达图")])),_:1}),r(s,{class:"section-icon"},{default:i((()=>[r(s,{class:"radar-icon"})])),_:1})])),_:1}),r(s,{class:"radar-wrap"},{default:i((()=>[r(s,{class:"radar-background"},{default:i((()=>[r(s,{class:"radar-ring ring-one"}),r(s,{class:"radar-ring ring-two"}),r(s,{class:"radar-ring ring-three"}),r(s,{class:"radar-ring ring-four"}),r(s,{class:"radar-axis axis-vertical"}),r(s,{class:"radar-axis axis-diagonal-one"}),r(s,{class:"radar-axis axis-diagonal-two"}),r(s,{class:"radar-axis axis-diagonal-three"}),r(s,{class:"radar-axis axis-diagonal-four"})])),_:1}),r(s,{class:"radar-label label-top"},{default:i((()=>[u("病史采集")])),_:1}),r(s,{class:"radar-label label-right-top"},{default:i((()=>[u("体格检查")])),_:1}),r(s,{class:"radar-label label-right-bottom"},{default:i((()=>[u("诊断能力")])),_:1}),r(s,{class:"radar-label label-bottom"},{default:i((()=>[u("治疗决策")])),_:1}),r(s,{class:"radar-label label-left-bottom"},{default:i((()=>[u("沟通技巧")])),_:1}),r(s,{class:"radar-label label-left-top"},{default:i((()=>[u("临床推理")])),_:1}),(t(),n("svg",{class:"radar-svg",viewBox:"0 0 100 100"},[o("polygon",{class:"radar-polygon",points:"50,15 85,35 80,75 50,85 25,70 20,40"}),o("circle",{cx:"50",cy:"15",r:"3"}),o("circle",{cx:"85",cy:"35",r:"3"}),o("circle",{cx:"80",cy:"75",r:"3"}),o("circle",{cx:"50",cy:"85",r:"3"}),o("circle",{cx:"25",cy:"70",r:"3"}),o("circle",{cx:"20",cy:"40",r:"3"})]))])),_:1}),r(s,{class:"analysis-note"},{default:i((()=>[r(_,null,{default:i((()=>[u("您的")])),_:1}),r(_,{class:"strong-text"},{default:i((()=>[u("诊断能力")])),_:1}),r(_,null,{default:i((()=>[u("和")])),_:1}),r(_,{class:"strong-text"},{default:i((()=>[u("治疗决策")])),_:1}),r(_,null,{default:i((()=>[u("表现突出,但")])),_:1}),r(_,{class:"secondary-text"},{default:i((()=>[u("病史采集")])),_:1}),r(_,null,{default:i((()=>[u("仍有提升空间。建议增加相关模拟训练。")])),_:1})])),_:1})])),_:1})])),_:1},8,["class"]),r(s,{class:d(["fade-section",{visible:D.value}])},{default:i((()=>[r(_,{class:"mini-title"},{default:i((()=>[u("分项提升建议")])),_:1}),r(s,{class:"suggestion-list"},{default:i((()=>[r(s,{class:"suggestion-card",onClick:l[0]||(l[0]=a=>I("重点回顾内容即将开放"))},{default:i((()=>[r(s,{class:"suggestion-icon-wrap secondary-tone"},{default:i((()=>[r(s,{class:"book-icon"})])),_:1}),r(s,{class:"suggestion-copy"},{default:i((()=>[r(_,{class:"suggestion-title"},{default:i((()=>[u("重点回顾:心血管查体")])),_:1}),r(_,{class:"suggestion-desc"},{default:i((()=>[u("基于您最近在心衰案例中的表现")])),_:1})])),_:1}),r(s,{class:"chevron-icon"})])),_:1}),r(s,{class:"suggestion-card",onClick:l[1]||(l[1]=a=>I("专项挑战即将开放"))},{default:i((()=>[r(s,{class:"suggestion-icon-wrap tertiary-tone"},{default:i((()=>[r(s,{class:"brain-icon"})])),_:1}),r(s,{class:"suggestion-copy"},{default:i((()=>[r(_,{class:"suggestion-title"},{default:i((()=>[u("临床思维专项挑战")])),_:1}),r(_,{class:"suggestion-desc"},{default:i((()=>[u("推荐参与难度等级:高级")])),_:1})])),_:1}),r(s,{class:"chevron-icon"})])),_:1})])),_:1})])),_:1},8,["class"]),r(s,{class:d(["fade-section mentor-section",{visible:D.value}])},{default:i((()=>[r(s,{class:"mentor-card"},{default:i((()=>[r(s,{class:"mentor-head"},{default:i((()=>[r(h,{class:"mentor-avatar",src:j,mode:"aspectFill"}),r(s,null,{default:i((()=>[r(_,{class:"mentor-name"},{default:i((()=>[u("王主任的建议")])),_:1}),r(_,{class:"mentor-role"},{default:i((()=>[u("Director's Mentorship")])),_:1})])),_:1})])),_:1}),r(s,{class:"mentor-bubble"},{default:i((()=>[r(_,null,{default:i((()=>[u("“你的进步非常扎实。今天休息一下,明天我们来挑战一个更复杂的病例如何?”")])),_:1})])),_:1})])),_:1})])),_:1},8,["class"])])),_:1})])),_:1})])),_:1})])),_:1})}}}),[["__scopeId","data-v-d47e7efa"]]);export{D as default}; diff --git a/dist/assets/pages-profile-profile-analysis._w79JFSZ.js b/dist/assets/pages-profile-profile-analysis._w79JFSZ.js new file mode 100644 index 0000000..12d783f --- /dev/null +++ b/dist/assets/pages-profile-profile-analysis._w79JFSZ.js @@ -0,0 +1 @@ +import{d as a,r as l,c as s,o as e,b as t,e as n,f as r,w as u,i as c,K as i,j as o,n as d,t as f,g as v,l as _,m,F as g,L as h,M as p,q as b,z as y,A as x,y as M,x as k,S as $,H as w}from"./index-DR4MYR5F.js";import{_ as j}from"./config-doctor.TgARj_nM.js";import{f as F}from"./profile.e1L0urBE.js";import{_ as T}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./auth.CseBt7py.js";const N=T(a({__name:"profile-analysis",setup(a){const T=l(!1),N=l(""),I=l(!1),C=l(null),L=l(!1),X=l(!1),Y=l(!1);let P=null,S=null;const q=s((()=>{var a;const l=null==(a=C.value)?void 0:a.current_score;return"number"==typeof l&&Number.isFinite(l)?Number.isInteger(l)?String(l):l.toFixed(1):"--"})),z=s((()=>{var a;const l=null==(a=C.value)?void 0:a.score_delta_pct;if("number"!=typeof l||!Number.isFinite(l))return"";return`${l>0?"+":""}${l}%`})),A=s((()=>{var a;const l=null==(a=C.value)?void 0:a.score_delta_pct;return"number"==typeof l&&l<0})),B=s((()=>{var a;if(Y.value)return"智能分析加载失败,请稍后重试";if(!X.value)return"正在加载您的临床能力分析";const l=null==(a=C.value)?void 0:a.score_delta_pct;if("number"==typeof l&&Number.isFinite(l)){if(l>0)return"相较于近期表现,您的临床能力评分有所提升";if(l<0)return"相较于近期表现,当前评分略有回落,建议继续专项练习"}return"当前已生成您的临床能力评分"})),D=s((()=>{var a;const l=(null==(a=C.value)?void 0:a.recent_trend)||[],s=l.length-1;return l.map(((a,l)=>({label:a.label,score:a.score,height:`${V(a.score)}%`,highlight:l===s})))})),E=s((()=>{var a;const l=((null==(a=C.value)?void 0:a.radar)||[]).slice(0,6),s=l.length;return s<3?[]:l.map(((a,l)=>{const e=-Math.PI/2+2*Math.PI*l/s,t=V(a.score)/100*35,n=50+47*Math.cos(e),r=50+47*Math.sin(e),u=Z(n,14,86),c=Z(r,6,94);return{dimension:a.dimension,pointX:W(50+Math.cos(e)*t),pointY:W(50+Math.sin(e)*t),labelLeft:`${u}%`,labelTop:`${c}%`}}))})),H=s((()=>E.value.map((a=>`${a.pointX},${a.pointY}`)).join(" "))),K=s((()=>L.value?"分析数据加载中...":Y.value?"分析数据加载失败":"暂无趋势数据")),G=s((()=>{var a;return(null==(a=C.value)?void 0:a.comment)||K.value})),J=s((()=>{var a,l;return(null==(l=null==(a=C.value)?void 0:a.weak_dimensions)?void 0:l[0])||"病史采集"})),O=s((()=>{var a;const l=(null==(a=C.value)?void 0:a.current_score)||0;return l>=85?"高级":l>=70?"中级":"基础"})),Q=s((()=>{var a;return(null==(a=C.value)?void 0:a.comment)?`“${C.value.comment}”`:Y.value?"“分析数据暂时未能加载,请稍后再试。”":"“正在读取你的训练表现,稍后给出更具体的强化建议。”"}));function R(){"function"==typeof h&&h().length>1?p():b({url:"/pages/profile/profile"})}function U(a){S&&clearTimeout(S),N.value=a,I.value=!0,S=setTimeout((()=>{I.value=!1}),2200)}function V(a){return Number.isFinite(a)?Math.max(0,Math.min(100,Math.round(a))):0}function W(a){return Math.round(100*a)/100}function Z(a,l,s){return Math.max(l,Math.min(s,Math.round(100*a)/100))}return e((()=>{P=setTimeout((()=>{T.value=!0}),60),async function(){L.value=!0,Y.value=!1;try{C.value=await F(),X.value=!0}catch(a){Y.value=!0,U(a instanceof Error?a.message:"智能分析加载失败")}finally{L.value=!1}}()})),t((()=>{P&&clearTimeout(P),S&&clearTimeout(S)})),(a,l)=>{const s=y,e=x,t=M,h=k,p=$;return n(),r(s,{class:"analysis-page"},{default:u((()=>[c(s,{class:"analysis-shell"},{default:u((()=>[i("header",{class:"top-bar"},[c(e,{class:"icon-button","aria-label":"返回",onClick:R},{default:u((()=>[c(s,{class:"back-icon"})])),_:1}),c(t,{class:"page-title"},{default:u((()=>[o("智能分析")])),_:1})]),c(p,{class:"analysis-scroll","scroll-y":""},{default:u((()=>[c(s,{class:"analysis-main"},{default:u((()=>[c(s,{class:d(["fade-section",{visible:T.value}])},{default:u((()=>[c(s,{class:"summary-card"},{default:u((()=>[c(s,{class:"summary-copy"},{default:u((()=>[c(s,{class:"summary-head"},{default:u((()=>[c(t,{class:"summary-label"},{default:u((()=>[o("当前能力评分")])),_:1}),z.value?(n(),r(s,{key:0,class:d(["trend-chip",{down:A.value}])},{default:u((()=>[c(s,{class:"trend-icon"}),c(t,null,{default:u((()=>[o(f(z.value),1)])),_:1})])),_:1},8,["class"])):v("",!0)])),_:1}),c(t,{class:"summary-score"},{default:u((()=>[o(f(q.value),1)])),_:1}),c(t,{class:"summary-desc"},{default:u((()=>[o(f(B.value),1)])),_:1})])),_:1})])),_:1})])),_:1},8,["class"]),c(s,{class:d(["fade-section",{visible:T.value}])},{default:u((()=>[c(s,{class:"chart-card"},{default:u((()=>[c(s,{class:"section-head"},{default:u((()=>[c(t,{class:"section-title"},{default:u((()=>[o("近期分数趋势")])),_:1}),c(s,{class:"section-icon"},{default:u((()=>[c(s,{class:"chart-icon"})])),_:1})])),_:1}),c(s,{class:"bar-chart"},{default:u((()=>[(n(!0),_(g,null,m(D.value,(a=>(n(),r(s,{key:`${a.label}-${a.score}`,class:"bar-column"},{default:u((()=>[c(s,{class:"bar-track"},{default:u((()=>[c(s,{class:d(["bar-fill",{highlighted:a.highlight}]),style:w({height:a.height})},null,8,["class","style"])])),_:2},1024),c(t,{class:d(["bar-label",{active:a.highlight}])},{default:u((()=>[o(f(a.label),1)])),_:2},1032,["class"])])),_:2},1024)))),128))])),_:1}),0===D.value.length?(n(),r(s,{key:0,class:"empty-card-text"},{default:u((()=>[o(f(K.value),1)])),_:1})):v("",!0)])),_:1})])),_:1},8,["class"]),c(s,{class:d(["fade-section",{visible:T.value}])},{default:u((()=>[c(s,{class:"chart-card"},{default:u((()=>[c(s,{class:"section-head"},{default:u((()=>[c(t,{class:"section-title"},{default:u((()=>[o("临床胜任力雷达图")])),_:1}),c(s,{class:"section-icon"},{default:u((()=>[c(s,{class:"radar-icon"})])),_:1})])),_:1}),c(s,{class:"radar-wrap"},{default:u((()=>[c(s,{class:"radar-background"},{default:u((()=>[c(s,{class:"radar-ring ring-one"}),c(s,{class:"radar-ring ring-two"}),c(s,{class:"radar-ring ring-three"}),c(s,{class:"radar-ring ring-four"}),c(s,{class:"radar-axis axis-vertical"}),c(s,{class:"radar-axis axis-diagonal-one"}),c(s,{class:"radar-axis axis-diagonal-two"}),c(s,{class:"radar-axis axis-diagonal-three"}),c(s,{class:"radar-axis axis-diagonal-four"})])),_:1}),(n(!0),_(g,null,m(E.value,(a=>(n(),r(s,{key:a.dimension,class:"radar-label dynamic-label",style:w({left:a.labelLeft,top:a.labelTop})},{default:u((()=>[o(f(a.dimension),1)])),_:2},1032,["style"])))),128)),(n(),_("svg",{class:"radar-svg",viewBox:"0 0 100 100"},[H.value?(n(),_("polygon",{key:0,class:"radar-polygon",points:H.value},null,8,["points"])):v("",!0),(n(!0),_(g,null,m(E.value,(a=>(n(),_("circle",{key:`${a.dimension}-point`,cx:a.pointX,cy:a.pointY,r:"3"},null,8,["cx","cy"])))),128))]))])),_:1}),c(s,{class:"analysis-note"},{default:u((()=>[c(t,null,{default:u((()=>[o(f(G.value),1)])),_:1})])),_:1})])),_:1})])),_:1},8,["class"]),c(s,{class:d(["fade-section",{visible:T.value}])},{default:u((()=>[c(t,{class:"mini-title"},{default:u((()=>[o("分项提升建议")])),_:1}),c(s,{class:"suggestion-list"},{default:u((()=>[c(s,{class:"suggestion-card",onClick:l[0]||(l[0]=a=>U("重点回顾内容即将开放"))},{default:u((()=>[c(s,{class:"suggestion-icon-wrap secondary-tone"},{default:u((()=>[c(s,{class:"book-icon"})])),_:1}),c(s,{class:"suggestion-copy"},{default:u((()=>[c(t,{class:"suggestion-title"},{default:u((()=>[o("重点回顾:"+f(J.value),1)])),_:1}),c(t,{class:"suggestion-desc"},{default:u((()=>[o("基于当前能力雷达图的薄弱项推荐")])),_:1})])),_:1}),c(s,{class:"chevron-icon"})])),_:1}),c(s,{class:"suggestion-card",onClick:l[1]||(l[1]=a=>U("专项挑战即将开放"))},{default:u((()=>[c(s,{class:"suggestion-icon-wrap tertiary-tone"},{default:u((()=>[c(s,{class:"brain-icon"})])),_:1}),c(s,{class:"suggestion-copy"},{default:u((()=>[c(t,{class:"suggestion-title"},{default:u((()=>[o("临床思维专项挑战")])),_:1}),c(t,{class:"suggestion-desc"},{default:u((()=>[o("推荐参与难度等级:"+f(O.value),1)])),_:1})])),_:1}),c(s,{class:"chevron-icon"})])),_:1})])),_:1})])),_:1},8,["class"]),c(s,{class:d(["fade-section mentor-section",{visible:T.value}])},{default:u((()=>[c(s,{class:"mentor-card"},{default:u((()=>[c(s,{class:"mentor-head"},{default:u((()=>[c(h,{class:"mentor-avatar",src:j,mode:"aspectFill"}),c(s,null,{default:u((()=>[c(t,{class:"mentor-name"},{default:u((()=>[o("王主任的建议")])),_:1}),c(t,{class:"mentor-role"},{default:u((()=>[o("Director's Mentorship")])),_:1})])),_:1})])),_:1}),c(s,{class:"mentor-bubble"},{default:u((()=>[c(t,null,{default:u((()=>[o(f(Q.value),1)])),_:1})])),_:1})])),_:1})])),_:1},8,["class"])])),_:1})])),_:1}),c(s,{class:d(["toast",{visible:I.value}])},{default:u((()=>[o(f(N.value),1)])),_:1},8,["class"])])),_:1})])),_:1})}}}),[["__scopeId","data-v-e3b47e11"]]);export{N as default}; diff --git a/dist/assets/pages-profile-profile-records.-O6EFJFn.js b/dist/assets/pages-profile-profile-records.-O6EFJFn.js new file mode 100644 index 0000000..712003b --- /dev/null +++ b/dist/assets/pages-profile-profile-records.-O6EFJFn.js @@ -0,0 +1 @@ +import{d as e,r as a,c as l,J as s,o as t,b as u,e as c,f as r,w as o,i as n,K as i,j as d,l as v,m as f,F as m,t as _,g as p,n as h,L as g,M as b,q as y,z as k,A as $,y as x,I as T,S as w,k as C,s as S,G as j}from"./index-DR4MYR5F.js";import{a as I}from"./profile.e1L0urBE.js";import{_ as N}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./auth.CseBt7py.js";const F=N(e({__name:"profile-records",setup(e){const N=a(""),F=a(""),D=a(!1),V=a([]),M=a({total_cases:0,total_hours:0,avg_accuracy:0}),U=a(1),q=a(0),z=a(!1),A=a(!1),B=a(!1),E=a(!1);let G=null,J=null,K=0;const L=l((()=>[{label:"总病例",value:ee(M.value.total_cases)},{label:"总时长",value:`${ee(M.value.total_hours)}h`},{label:"平均正确率",value:`${ee(M.value.avg_accuracy)}%`,secondary:!0}])),R=l((()=>V.value.map(((e,a)=>({id:e.record_id,title:e.case_title||"未命名病例",department:e.department||"未标注科室",date:Z(e.trained_at),score:ee(e.score),abbr:ae(e),tone:le(a),dimmed:a>2}))))),Y=l((()=>A.value&&!B.value?"训练记录加载中...":E.value?"训练记录加载失败,请稍后重试":N.value.trim()?"没有找到匹配的训练记录":"暂无训练记录")),H=l((()=>A.value&&B.value?"加载更多...":z.value?"上拉加载更多":V.value.length>0?"已经到底啦":""));function O(){"function"==typeof g&&g().length>1?b():y({url:"/pages/profile/profile"})}function P(e){e?(S("clinical-thinking-current-evaluation-id",e),j({url:`/pages/assessment/assessment?evaluation_id=${encodeURIComponent(String(e))}`})):X("未找到报告 ID")}async function Q(e=1,a=!1){const l=++K;A.value=!0,a||(E.value=!1,z.value=!1);try{const s=await I({search:N.value.trim(),page:e});if(l!==K)return;V.value=a?V.value.concat(s.results||[]):s.results||[],M.value=s.summary||M.value,q.value=s.count||V.value.length,U.value=e,z.value=Boolean(s.next)||V.value.length{D.value=!1}),2200)}function Z(e){if(!e)return"--";const a=new Date(e);if(Number.isNaN(a.getTime()))return e;const l=`${a.getMonth()+1}`.padStart(2,"0"),s=`${a.getDate()}`.padStart(2,"0");return`${a.getFullYear()}-${l}-${s}`}function ee(e){return Number.isFinite(e)?Number.isInteger(e)?String(e):e.toFixed(1):"0"}function ae(e){return(e.department||e.case_title||"训").trim().slice(0,1)||"训"}function le(e){const a=["primary","secondary","tertiary"];return a[e%a.length]}return s(N,(()=>{J&&clearTimeout(J),J=setTimeout((()=>{Q(1)}),350)})),t((()=>{Q(1)})),u((()=>{G&&clearTimeout(G),J&&clearTimeout(J)})),(e,a)=>{const l=k,s=$,t=x,u=T,g=w;return c(),r(l,{class:"records-page"},{default:o((()=>[n(l,{class:"records-shell"},{default:o((()=>[i("header",{class:"top-bar"},[n(s,{class:"icon-button","aria-label":"返回",onClick:O},{default:o((()=>[n(l,{class:"back-icon"})])),_:1}),n(t,{class:"page-title"},{default:o((()=>[d("学习记录")])),_:1})]),n(g,{class:"records-scroll","scroll-y":"",onScrolltolower:W},{default:o((()=>[i("main",{class:"records-main"},[i("section",{class:"stats-grid"},[(c(!0),v(m,null,f(L.value,(e=>(c(),r(l,{key:e.label,class:"stat-card"},{default:o((()=>[n(t,{class:"stat-label"},{default:o((()=>[d(_(e.label),1)])),_:2},1024),n(t,{class:h(["stat-value",{secondary:e.secondary}])},{default:o((()=>[d(_(e.value),1)])),_:2},1032,["class"])])),_:2},1024)))),128))]),i("section",{class:"search-section"},[n(l,{class:"search-field"},{default:o((()=>[n(l,{class:"search-icon"}),n(u,{modelValue:N.value,"onUpdate:modelValue":a[0]||(a[0]=e=>N.value=e),class:"search-input",placeholder:"搜索病例标题或科室...","placeholder-class":"search-placeholder",type:"text"},null,8,["modelValue"])])),_:1})]),i("section",{class:"history-section"},[n(t,{class:"section-title"},{default:o((()=>[d("最近训练")])),_:1}),n(l,{class:"record-list"},{default:o((()=>[(c(!0),v(m,null,f(R.value,(e=>(c(),r(l,{key:e.id,class:h(["record-card",{dimmed:e.dimmed}]),onClick:a=>P(e.id)},{default:o((()=>[n(l,{class:h(["case-icon-wrap",e.tone])},{default:o((()=>[n(t,{class:"case-icon-text"},{default:o((()=>[d(_(e.abbr),1)])),_:2},1024)])),_:2},1032,["class"]),n(l,{class:"case-copy"},{default:o((()=>[n(t,{class:"case-title"},{default:o((()=>[d(_(e.title),1)])),_:2},1024),n(l,{class:"case-meta"},{default:o((()=>[n(t,null,{default:o((()=>[d(_(e.department),1)])),_:2},1024),n(t,{class:"dot"},{default:o((()=>[d("•")])),_:1}),n(t,null,{default:o((()=>[d(_(e.date),1)])),_:2},1024)])),_:2},1024)])),_:2},1024),n(l,{class:"score-block"},{default:o((()=>[n(l,{class:"score-row"},{default:o((()=>[n(t,{class:"score-value"},{default:o((()=>[d(_(e.score),1)])),_:2},1024),n(t,{class:"score-unit"},{default:o((()=>[d("分")])),_:1})])),_:2},1024),n(s,{class:"report-button",onClick:C((a=>P(e.id)),["stop"])},{default:o((()=>[n(t,null,{default:o((()=>[d("查看报告")])),_:1}),n(l,{class:"small-chevron"})])),_:2},1032,["onClick"])])),_:2},1024)])),_:2},1032,["class","onClick"])))),128)),0===R.value.length?(c(),r(l,{key:0,class:"empty-state"},{default:o((()=>[n(t,null,{default:o((()=>[d(_(Y.value),1)])),_:1})])),_:1})):p("",!0)])),_:1})]),n(l,{class:"bottom-hint"},{default:o((()=>[n(t,null,{default:o((()=>[d(_(H.value),1)])),_:1})])),_:1})])])),_:1}),n(l,{class:h(["toast",{visible:D.value}])},{default:o((()=>[d(_(F.value),1)])),_:1},8,["class"])])),_:1})])),_:1})}}}),[["__scopeId","data-v-fee61cbe"]]);export{F as default}; diff --git a/dist/assets/pages-profile-profile-records.BNZ8jFJk.js b/dist/assets/pages-profile-profile-records.BNZ8jFJk.js deleted file mode 100644 index d92ff54..0000000 --- a/dist/assets/pages-profile-profile-records.BNZ8jFJk.js +++ /dev/null @@ -1 +0,0 @@ -import{d as a,r as e,c as s,b as l,e as t,f as c,w as r,i as d,M as o,j as u,l as n,m as i,F as f,g as _,n as p,t as m,N as b,P as h,D as y,y as v,z as g,x as k,I as x,S as j,k as w,G as C}from"./index-pnQqyMoS.js";import{_ as V}from"./_plugin-vue_export-helper.BCo6x5W8.js";const I=V(a({__name:"profile-records",setup(a){const V=e(""),I=e(""),z=e(!1),D=[{label:"总病例",value:"12"},{label:"总时长",value:"128h"},{label:"平均正确率",value:"92%",secondary:!0}],F=[{title:"急性心肌梗死",department:"心内科",date:"2023-11-20",score:"98",abbr:"心",tone:"primary"},{title:"缺血性脑卒中",department:"神经内科",date:"2023-11-18",score:"85",abbr:"神",tone:"secondary"},{title:"重症肺炎伴呼吸衰竭",department:"呼吸科",date:"2023-11-15",score:"92",abbr:"肺",tone:"tertiary"},{title:"急性胰腺炎",department:"消化内科",date:"2023-11-12",score:"78",abbr:"消",tone:"primary",dimmed:!0},{title:"糖尿病肾病五期",department:"肾内科",date:"2023-11-10",score:"95",abbr:"肾",tone:"secondary",dimmed:!0}],G=s((()=>{const a=V.value.trim();return a?F.filter((e=>[e.title,e.department,e.date].some((e=>e.includes(a))))):F}));function M(){"function"==typeof b&&b().length>1?h():y({url:"/pages/profile/profile"})}function N(){C({url:"/pages/assessment/assessment"})}return l((()=>{})),(a,e)=>{const s=v,l=g,b=k,h=x,y=j;return t(),c(s,{class:"records-page"},{default:r((()=>[d(s,{class:"records-shell"},{default:r((()=>[o("header",{class:"top-bar"},[d(l,{class:"icon-button","aria-label":"返回",onClick:M},{default:r((()=>[d(s,{class:"back-icon"})])),_:1}),d(b,{class:"page-title"},{default:r((()=>[u("学习记录")])),_:1})]),d(y,{class:"records-scroll","scroll-y":""},{default:r((()=>[o("main",{class:"records-main"},[o("section",{class:"stats-grid"},[(t(),n(f,null,i(D,(a=>d(s,{key:a.label,class:"stat-card"},{default:r((()=>[d(b,{class:"stat-label"},{default:r((()=>[u(m(a.label),1)])),_:2},1024),d(b,{class:p(["stat-value",{secondary:a.secondary}])},{default:r((()=>[u(m(a.value),1)])),_:2},1032,["class"])])),_:2},1024))),64))]),o("section",{class:"search-section"},[d(s,{class:"search-field"},{default:r((()=>[d(s,{class:"search-icon"}),d(h,{modelValue:V.value,"onUpdate:modelValue":e[0]||(e[0]=a=>V.value=a),class:"search-input",placeholder:"搜索病例标题或科室...","placeholder-class":"search-placeholder",type:"text"},null,8,["modelValue"])])),_:1})]),o("section",{class:"history-section"},[d(b,{class:"section-title"},{default:r((()=>[u("最近训练")])),_:1}),d(s,{class:"record-list"},{default:r((()=>[(t(!0),n(f,null,i(G.value,(a=>(t(),c(s,{key:a.title,class:p(["record-card",{dimmed:a.dimmed}]),onClick:N},{default:r((()=>[d(s,{class:p(["case-icon-wrap",a.tone])},{default:r((()=>[d(b,{class:"case-icon-text"},{default:r((()=>[u(m(a.abbr),1)])),_:2},1024)])),_:2},1032,["class"]),d(s,{class:"case-copy"},{default:r((()=>[d(b,{class:"case-title"},{default:r((()=>[u(m(a.title),1)])),_:2},1024),d(s,{class:"case-meta"},{default:r((()=>[d(b,null,{default:r((()=>[u(m(a.department),1)])),_:2},1024),d(b,{class:"dot"},{default:r((()=>[u("•")])),_:1}),d(b,null,{default:r((()=>[u(m(a.date),1)])),_:2},1024)])),_:2},1024)])),_:2},1024),d(s,{class:"score-block"},{default:r((()=>[d(s,{class:"score-row"},{default:r((()=>[d(b,{class:"score-value"},{default:r((()=>[u(m(a.score),1)])),_:2},1024),d(b,{class:"score-unit"},{default:r((()=>[u("分")])),_:1})])),_:2},1024),d(l,{class:"report-button",onClick:w(N,["stop"])},{default:r((()=>[d(b,null,{default:r((()=>[u("查看报告")])),_:1}),d(s,{class:"small-chevron"})])),_:1})])),_:2},1024)])),_:2},1032,["class"])))),128)),0===G.value.length?(t(),c(s,{key:0,class:"empty-state"},{default:r((()=>[d(b,null,{default:r((()=>[u("没有找到匹配的训练记录")])),_:1})])),_:1})):_("",!0)])),_:1})]),d(s,{class:"bottom-hint"},{default:r((()=>[d(b,null,{default:r((()=>[u("已经到底啦")])),_:1})])),_:1})])])),_:1}),d(s,{class:p(["toast",{visible:z.value}])},{default:r((()=>[u(m(I.value),1)])),_:1},8,["class"])])),_:1})])),_:1})}}}),[["__scopeId","data-v-15539840"]]);export{I as default}; diff --git a/dist/assets/pages-profile-profile.1iL2Z_Wy.js b/dist/assets/pages-profile-profile.1iL2Z_Wy.js new file mode 100644 index 0000000..07e381c --- /dev/null +++ b/dist/assets/pages-profile-profile.1iL2Z_Wy.js @@ -0,0 +1 @@ +import{d as l,r as a,c as e,o as s,b as t,e as n,f as i,w as o,i as c,j as u,t as r,l as d,m as f,F as v,n as _,P as m,s as p,q as b,G as g,z as y,A as h,y as k,x as w,S as x,g as C,H as F}from"./index-DR4MYR5F.js";import{c as j,d as $}from"./profile.e1L0urBE.js";import{_ as N}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./auth.CseBt7py.js";const I=N(l({__name:"profile",emits:["open-settings","go-home"],setup(l,{emit:N}){var I,S;const M=N,P=a("focused"),T=a(""),A=a(!1),B=a(null),G=a(null),H=a(!1);let O=null;const q=m(),z=Boolean(null==(I=null==q?void 0:q.vnode.props)?void 0:I.onGoHome),E=Boolean(null==(S=null==q?void 0:q.vnode.props)?void 0:S.onOpenSettings),R=[{id:"steady",label:"平稳专注",icon:"satisfied-icon"},{id:"focused",label:"专注度极高",icon:"bolt-icon"},{id:"mindful",label:"沉浸复盘",icon:"self-icon"}],W=[{label:"首席诊断师",icon:"premium-icon",tone:"tertiary"},{label:"极速响应者",icon:"medical-icon",tone:"secondary"},{label:"病例专家",icon:"history-icon",tone:"primary"}],D=[{title:"我的训练记录",desc:"临床实战数据详细分析",icon:"analytics-icon",tone:"record",route:"/pages/profile/profile-records"},{title:"智能分析",desc:"基于AI的临床能力深度洞察",icon:"insights-icon",tone:"analysis",route:"/pages/profile/profile-analysis"}],J=e((()=>{const l=B.value,a=(null==l?void 0:l.real_name)||(null==l?void 0:l.username)||(null==l?void 0:l.phone);return a?`${a} 医生`:H.value?"加载中...":"未登录医生"})),K=e((()=>{var l;return{student:"学员",teacher:"教师",admin:"管理"}[(null==(l=B.value)?void 0:l.role_type)||""]||"PRO"})),L=e((()=>{var l,a;return(a=null==(l=B.value)?void 0:l.avatar)?/^https?:\/\//i.test(a)||a.startsWith("/")?a:`/${a}`:"/static/config-doctor.png"})),Q=e((()=>{var l,a,e;return(null==(l=B.value)?void 0:l.training_stage)||(null==(a=B.value)?void 0:a.current_level)||(null==(e=B.value)?void 0:e.title_name)||"未配置阶段"})),U=e((()=>{var l,a;return(null==(l=B.value)?void 0:l.department_name)||(null==(a=B.value)?void 0:a.major)||"未配置科室"})),V=e((()=>{const l=B.value;return[{label:(null==l?void 0:l.institution_name)||"未绑定机构",icon:"school-icon"},{label:(null==l?void 0:l.department_name)||"未配置科室",icon:"location-icon"},{label:(null==l?void 0:l.title_name)||"未配置职称",icon:"calendar-icon"},{label:ll(null==l?void 0:l.practice_years),icon:"timer-icon"}]})),X=e((()=>{var l,a;const e=G.value,s=(null==e?void 0:e.completed_cases)??(null==(l=B.value)?void 0:l.total_case_count)??(null==(a=B.value)?void 0:a.total_training_count)??0,t=(null==e?void 0:e.completed_cases_week)??0,n=(null==e?void 0:e.total_hours)??0,i=(null==e?void 0:e.avg_score)??0,o=(null==e?void 0:e.diagnosis_accuracy)??0;return[{label:"已完成病例",value:al(s),badge:`本周 +${al(t)}`},{label:"累计训练时长",value:al(n),unit:"小时"},{label:"平均分",value:el(i),progress:`${sl(i)}%`},{label:"诊断准确率",value:`${al(o)}%`,trending:!0}]})),Y=e((()=>{var l;return(null==(l=R.find((l=>l.id===P.value)))?void 0:l.label)||"专注度极高"}));function Z(l){O&&clearTimeout(O),T.value=l,A.value=!0,O=setTimeout((()=>{A.value=!1}),2200)}function ll(l){return l?l.includes("年")?l:`${l}年经验`:"未配置年限"}function al(l){return Number.isFinite(l)?Number.isInteger(l)?String(l):l.toFixed(1):"0"}function el(l){return Number.isFinite(l)?Number.isInteger(l)?String(l):l.toFixed(1):"0"}function sl(l){return Number.isFinite(l)?Math.max(0,Math.min(100,Math.round(l))):0}function tl(){z?M("go-home"):b({url:"/pages/home/home"})}function nl(){E?M("open-settings"):g({url:"/pages/config/config"})}return s((()=>{!async function(){H.value=!0;try{const[l,a]=await Promise.all([j(),$()]);B.value=l,G.value=a,p("clinical-thinking-user-profile",l)}catch(l){Z(l instanceof Error?l.message:"个人信息加载失败")}finally{H.value=!1}}()})),t((()=>{O&&clearTimeout(O)})),(l,a)=>{const e=y,s=h,t=k,m=w,p=x;return n(),i(e,{class:"profile-page"},{default:o((()=>[c(e,{class:"profile-shell"},{default:o((()=>[c(e,{class:"top-app-bar"},{default:o((()=>[c(s,{class:"top-button nav-left","aria-label":"首页",onClick:tl},{default:o((()=>[c(e,{class:"home-icon"})])),_:1}),c(t,{class:"page-title"},{default:o((()=>[u("个人中心")])),_:1}),c(s,{class:"top-button nav-right","aria-label":"配置",onClick:nl},{default:o((()=>[c(e,{class:"settings-icon"})])),_:1})])),_:1}),c(p,{class:"profile-scroll","scroll-y":""},{default:o((()=>[c(e,{class:"profile-content"},{default:o((()=>[c(e,{class:"user-card"},{default:o((()=>[c(e,{class:"avatar-wrap"},{default:o((()=>[c(m,{class:"avatar-image",src:L.value,mode:"aspectFill"},null,8,["src"]),c(t,{class:"pro-badge"},{default:o((()=>[u(r(K.value),1)])),_:1})])),_:1}),c(e,{class:"user-copy"},{default:o((()=>[c(t,{class:"doctor-name"},{default:o((()=>[u(r(J.value),1)])),_:1}),c(e,{class:"tag-row"},{default:o((()=>[c(t,{class:"tag primary-tag"},{default:o((()=>[u(r(Q.value),1)])),_:1}),c(t,{class:"tag secondary-tag"},{default:o((()=>[u(r(U.value),1)])),_:1})])),_:1}),c(e,{class:"meta-grid"},{default:o((()=>[(n(!0),d(v,null,f(V.value,(l=>(n(),i(e,{key:l.label,class:"meta-item"},{default:o((()=>[c(e,{class:_(["meta-icon",l.icon])},null,8,["class"]),c(t,null,{default:o((()=>[u(r(l.label),1)])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1})])),_:1}),c(e,{class:"section-block"},{default:o((()=>[c(e,{class:"section-title-row"},{default:o((()=>[c(t,{class:"section-title"},{default:o((()=>[u("专注状态与荣誉墙")])),_:1})])),_:1}),c(e,{class:"mood-card"},{default:o((()=>[c(e,null,{default:o((()=>[c(t,{class:"sub-label"},{default:o((()=>[u("今日学习状态")])),_:1}),c(t,{class:"mood-title"},{default:o((()=>[u(r(Y.value),1)])),_:1})])),_:1}),c(e,{class:"mood-actions"},{default:o((()=>[(n(),d(v,null,f(R,(l=>c(s,{key:l.id,class:_(["mood-button",{active:P.value===l.id}]),"aria-label":l.label,onClick:a=>P.value=l.id},{default:o((()=>[c(e,{class:_(["mood-icon",l.icon])},null,8,["class"])])),_:2},1032,["class","aria-label","onClick"]))),64))])),_:1})])),_:1}),c(e,{class:"medal-card"},{default:o((()=>[c(e,{class:"medal-head"},{default:o((()=>[c(t,{class:"sub-label"},{default:o((()=>[u("勋章墙")])),_:1}),c(s,{class:"text-link",onClick:a[0]||(a[0]=l=>Z("勋章墙详情即将开放"))},{default:o((()=>[u("查看全部 (12)")])),_:1})])),_:1}),c(e,{class:"medal-list"},{default:o((()=>[(n(),d(v,null,f(W,(l=>c(e,{key:l.label,class:"medal-item"},{default:o((()=>[c(e,{class:_(["medal-circle",l.tone])},{default:o((()=>[c(e,{class:_(["medal-icon",l.icon])},null,8,["class"])])),_:2},1032,["class"]),c(t,null,{default:o((()=>[u(r(l.label),1)])),_:2},1024)])),_:2},1024))),64))])),_:1})])),_:1})])),_:1}),c(e,{class:"action-stack"},{default:o((()=>[(n(),d(v,null,f(D,(l=>c(s,{key:l.title,class:_(["entry-card",l.tone]),onClick:a=>function(l){l.route?g({url:l.route}):Z(l.toast||"功能即将开放")}(l)},{default:o((()=>[c(e,{class:"entry-main"},{default:o((()=>[c(e,{class:"entry-icon-wrap"},{default:o((()=>[c(e,{class:_(["entry-icon",l.icon])},null,8,["class"])])),_:2},1024),c(e,{class:"entry-copy"},{default:o((()=>[c(t,{class:"entry-title"},{default:o((()=>[u(r(l.title),1)])),_:2},1024),c(t,{class:"entry-desc"},{default:o((()=>[u(r(l.desc),1)])),_:2},1024)])),_:2},1024)])),_:2},1024),c(e,{class:"chevron-icon"})])),_:2},1032,["class","onClick"]))),64))])),_:1}),c(e,{class:"section-block"},{default:o((()=>[c(t,{class:"section-title"},{default:o((()=>[u("临床核心能力指标")])),_:1}),c(e,{class:"metric-grid"},{default:o((()=>[(n(!0),d(v,null,f(X.value,(l=>(n(),i(e,{key:l.label,class:"metric-card"},{default:o((()=>[c(t,{class:"sub-label"},{default:o((()=>[u(r(l.label),1)])),_:2},1024),c(e,{class:"metric-value-row"},{default:o((()=>[c(t,{class:"metric-value"},{default:o((()=>[u(r(l.value),1)])),_:2},1024),l.badge?(n(),i(t,{key:0,class:"metric-badge"},{default:o((()=>[u(r(l.badge),1)])),_:2},1024)):C("",!0),l.unit?(n(),i(t,{key:1,class:"metric-unit"},{default:o((()=>[u(r(l.unit),1)])),_:2},1024)):C("",!0),l.progress?(n(),i(e,{key:2,class:"mini-progress"},{default:o((()=>[c(e,{class:"mini-progress-fill",style:F({width:l.progress})},null,8,["style"])])),_:2},1024)):C("",!0),l.trending?(n(),i(e,{key:3,class:"trend-icon"})):C("",!0)])),_:2},1024)])),_:2},1024)))),128))])),_:1})])),_:1})])),_:1})])),_:1}),c(e,{class:_(["toast",{visible:A.value}])},{default:o((()=>[u(r(T.value),1)])),_:1},8,["class"])])),_:1})])),_:1})}}}),[["__scopeId","data-v-b88301c5"]]);export{I as default}; diff --git a/dist/assets/pages-profile-profile.B-XBbnFl.js b/dist/assets/pages-profile-profile.B-XBbnFl.js deleted file mode 100644 index b30783d..0000000 --- a/dist/assets/pages-profile-profile.B-XBbnFl.js +++ /dev/null @@ -1 +0,0 @@ -import{d as l,r as a,c as e,b as s,e as t,f as c,w as o,i,j as n,l as u,m as d,F as r,t as f,n as _,L as m,D as p,G as b,y as g,z as v,x as y,u as k,S as h,g as w,H as C}from"./index-pnQqyMoS.js";import{_ as x}from"./config-doctor.TgARj_nM.js";import{_ as j}from"./_plugin-vue_export-helper.BCo6x5W8.js";const T=j(l({__name:"profile",emits:["open-settings","go-home"],setup(l,{emit:j}){var T,B;const F=j,G=a("focused"),H=a(""),I=a(!1);let O=null;const S=m(),z=Boolean(null==(T=null==S?void 0:S.vnode.props)?void 0:T.onGoHome),A=Boolean(null==(B=null==S?void 0:S.vnode.props)?void 0:B.onOpenSettings),D=[{label:"北京",icon:"location-icon"},{label:"北大医学部",icon:"school-icon"},{label:"2022级硕士",icon:"calendar-icon"},{label:"3年从业经验",icon:"timer-icon"}],L=[{id:"steady",label:"平稳专注",icon:"satisfied-icon"},{id:"focused",label:"专注度极高",icon:"bolt-icon"},{id:"mindful",label:"沉浸复盘",icon:"self-icon"}],P=[{label:"首席诊断师",icon:"premium-icon",tone:"tertiary"},{label:"极速响应者",icon:"medical-icon",tone:"secondary"},{label:"病例专家",icon:"history-icon",tone:"primary"}],R=[{title:"我的训练记录",desc:"临床实战数据详细分析",icon:"analytics-icon",tone:"record",route:"/pages/profile/profile-records"},{title:"智能分析",desc:"基于AI的临床能力深度洞察",icon:"insights-icon",tone:"analysis",route:"/pages/profile/profile-analysis"}],q=[{label:"已完成病例",value:"12",badge:"本周 +2"},{label:"累计训练时长",value:"128",unit:"小时"},{label:"平均分",value:"85.5",progress:"85%"},{label:"诊断准确率",value:"92%",trending:!0}],E=e((()=>{var l;return(null==(l=L.find((l=>l.id===G.value)))?void 0:l.label)||"专注度极高"}));function J(l){O&&clearTimeout(O),H.value=l,I.value=!0,O=setTimeout((()=>{I.value=!1}),2200)}function K(){z?F("go-home"):p({url:"/pages/home/home"})}function M(){A?F("open-settings"):b({url:"/pages/config/config"})}return s((()=>{O&&clearTimeout(O)})),(l,a)=>{const e=g,s=v,m=y,p=k,j=h;return t(),c(e,{class:"profile-page"},{default:o((()=>[i(e,{class:"profile-shell"},{default:o((()=>[i(e,{class:"top-app-bar"},{default:o((()=>[i(s,{class:"top-button nav-left","aria-label":"首页",onClick:K},{default:o((()=>[i(e,{class:"home-icon"})])),_:1}),i(m,{class:"page-title"},{default:o((()=>[n("个人中心")])),_:1}),i(s,{class:"top-button nav-right","aria-label":"配置",onClick:M},{default:o((()=>[i(e,{class:"settings-icon"})])),_:1})])),_:1}),i(j,{class:"profile-scroll","scroll-y":""},{default:o((()=>[i(e,{class:"profile-content"},{default:o((()=>[i(e,{class:"user-card"},{default:o((()=>[i(e,{class:"avatar-wrap"},{default:o((()=>[i(p,{class:"avatar-image",src:x,mode:"aspectFill"}),i(m,{class:"pro-badge"},{default:o((()=>[n("PRO")])),_:1})])),_:1}),i(e,{class:"user-copy"},{default:o((()=>[i(m,{class:"doctor-name"},{default:o((()=>[n("陈伟 医生")])),_:1}),i(e,{class:"tag-row"},{default:o((()=>[i(m,{class:"tag primary-tag"},{default:o((()=>[n("第二阶段规培")])),_:1}),i(m,{class:"tag secondary-tag"},{default:o((()=>[n("心内科")])),_:1})])),_:1}),i(e,{class:"meta-grid"},{default:o((()=>[(t(),u(r,null,d(D,(l=>i(e,{key:l.label,class:"meta-item"},{default:o((()=>[i(e,{class:_(["meta-icon",l.icon])},null,8,["class"]),i(m,null,{default:o((()=>[n(f(l.label),1)])),_:2},1024)])),_:2},1024))),64))])),_:1})])),_:1})])),_:1}),i(e,{class:"section-block"},{default:o((()=>[i(e,{class:"section-title-row"},{default:o((()=>[i(m,{class:"section-title"},{default:o((()=>[n("专注状态与荣誉墙")])),_:1})])),_:1}),i(e,{class:"mood-card"},{default:o((()=>[i(e,null,{default:o((()=>[i(m,{class:"sub-label"},{default:o((()=>[n("今日学习状态")])),_:1}),i(m,{class:"mood-title"},{default:o((()=>[n(f(E.value),1)])),_:1})])),_:1}),i(e,{class:"mood-actions"},{default:o((()=>[(t(),u(r,null,d(L,(l=>i(s,{key:l.id,class:_(["mood-button",{active:G.value===l.id}]),"aria-label":l.label,onClick:a=>G.value=l.id},{default:o((()=>[i(e,{class:_(["mood-icon",l.icon])},null,8,["class"])])),_:2},1032,["class","aria-label","onClick"]))),64))])),_:1})])),_:1}),i(e,{class:"medal-card"},{default:o((()=>[i(e,{class:"medal-head"},{default:o((()=>[i(m,{class:"sub-label"},{default:o((()=>[n("勋章墙")])),_:1}),i(s,{class:"text-link",onClick:a[0]||(a[0]=l=>J("勋章墙详情即将开放"))},{default:o((()=>[n("查看全部 (12)")])),_:1})])),_:1}),i(e,{class:"medal-list"},{default:o((()=>[(t(),u(r,null,d(P,(l=>i(e,{key:l.label,class:"medal-item"},{default:o((()=>[i(e,{class:_(["medal-circle",l.tone])},{default:o((()=>[i(e,{class:_(["medal-icon",l.icon])},null,8,["class"])])),_:2},1032,["class"]),i(m,null,{default:o((()=>[n(f(l.label),1)])),_:2},1024)])),_:2},1024))),64))])),_:1})])),_:1})])),_:1}),i(e,{class:"action-stack"},{default:o((()=>[(t(),u(r,null,d(R,(l=>i(s,{key:l.title,class:_(["entry-card",l.tone]),onClick:a=>function(l){l.route?b({url:l.route}):J(l.toast||"功能即将开放")}(l)},{default:o((()=>[i(e,{class:"entry-main"},{default:o((()=>[i(e,{class:"entry-icon-wrap"},{default:o((()=>[i(e,{class:_(["entry-icon",l.icon])},null,8,["class"])])),_:2},1024),i(e,{class:"entry-copy"},{default:o((()=>[i(m,{class:"entry-title"},{default:o((()=>[n(f(l.title),1)])),_:2},1024),i(m,{class:"entry-desc"},{default:o((()=>[n(f(l.desc),1)])),_:2},1024)])),_:2},1024)])),_:2},1024),i(e,{class:"chevron-icon"})])),_:2},1032,["class","onClick"]))),64))])),_:1}),i(e,{class:"section-block"},{default:o((()=>[i(m,{class:"section-title"},{default:o((()=>[n("临床核心能力指标")])),_:1}),i(e,{class:"metric-grid"},{default:o((()=>[(t(),u(r,null,d(q,(l=>i(e,{key:l.label,class:"metric-card"},{default:o((()=>[i(m,{class:"sub-label"},{default:o((()=>[n(f(l.label),1)])),_:2},1024),i(e,{class:"metric-value-row"},{default:o((()=>[i(m,{class:"metric-value"},{default:o((()=>[n(f(l.value),1)])),_:2},1024),l.badge?(t(),c(m,{key:0,class:"metric-badge"},{default:o((()=>[n(f(l.badge),1)])),_:2},1024)):w("",!0),l.unit?(t(),c(m,{key:1,class:"metric-unit"},{default:o((()=>[n(f(l.unit),1)])),_:2},1024)):w("",!0),l.progress?(t(),c(e,{key:2,class:"mini-progress"},{default:o((()=>[i(e,{class:"mini-progress-fill",style:C({width:l.progress})},null,8,["style"])])),_:2},1024)):w("",!0),l.trending?(t(),c(e,{key:3,class:"trend-icon"})):w("",!0)])),_:2},1024)])),_:2},1024))),64))])),_:1})])),_:1})])),_:1})])),_:1}),i(e,{class:_(["toast",{visible:I.value}])},{default:o((()=>[n(f(H.value),1)])),_:1},8,["class"])])),_:1})])),_:1})}}}),[["__scopeId","data-v-9bf28702"]]);export{T as default}; diff --git a/dist/assets/pages-scenario-scenario.m98f7F1b.js b/dist/assets/pages-scenario-scenario.m98f7F1b.js new file mode 100644 index 0000000..fc947c8 --- /dev/null +++ b/dist/assets/pages-scenario-scenario.m98f7F1b.js @@ -0,0 +1 @@ +import{d as e,a,r as l,c as s,o as t,b as o,e as n,f as c,w as i,i as u,j as r,t as d,l as m,m as v,F as p,n as f,s as _,G as g,x as b,z as h,y,A as k,S as w}from"./index-DR4MYR5F.js";import{_ as C}from"./config-doctor.TgARj_nM.js";import{r as G,a as j}from"./cases.CqwTWi6x.js";import{F as I,a as N,r as x,c as E}from"./session.EmQEGqqa.js";import{_ as T}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./auth.CseBt7py.js";const O=""+new URL("config-hospital-BKoUC35q.png",import.meta.url).href,A={environments:[{value:"outpatient",label:"门诊"},{value:"emergency",label:"急诊"},{value:"ward",label:"病房"}],ageGroups:[{value:"child",label:"儿童"},{value:"youth",label:"青年"},{value:"middle_aged",label:"中年"},{value:"elderly",label:"老年"}],educations:[{value:"primary_or_below",label:"小学及以下"},{value:"secondary",label:"中等教育"},{value:"higher",label:"高等教育"}],personalities:[{value:"calm",label:"平和"},{value:"anxious",label:"焦虑"},{value:"impatient",label:"急躁"},{value:"cooperative",label:"配合"},{value:"suspicious",label:"多疑"}]};function F(e,a,l){const s=null==e?void 0:e[a];return Array.isArray(s)?s:s&&"object"==typeof s?Object.entries(s).map((([e,a])=>({value:e,label:String(a)}))):l}async function S(e){var a;const l=await fetch(`${I}/training-config/options?case_id=${encodeURIComponent(e)}`,{method:"GET",headers:N()});if(!l.ok)throw new Error(await x(l));const s=await l.json();if("OK"!==s.code||!(null==(a=s.data)?void 0:a.recommended))throw new Error(s.message||"推荐配置加载失败");return{recommended:{environment:(t=s.data).recommended.visit_environment,ageGroup:t.recommended.age_group,education:t.recommended.education_level,personality:t.recommended.personality},recommendedLabels:{environment:t.recommended_labels.visit_environment,ageGroup:t.recommended_labels.age_group,education:t.recommended_labels.education_level,personality:t.recommended_labels.personality},options:{environments:F(t.options,"visit_environment",A.environments),ageGroups:F(t.options,"age_group",A.ageGroups),educations:F(t.options,"education_level",A.educations),personalities:F(t.options,"personality",A.personalities)}};var t}function $(e){const a=Number(e.caseId);if(Number.isInteger(a)&&a>0)return a;const l=Number(e.caseNo);if(Number.isInteger(l)&&l>0)return l;const s=e.caseId.match(/\d+/),t=s?Number(s[0]):0;if(Number.isInteger(t)&&t>0)return t;throw new Error("病例 ID 无效,无法新建会话")}const U=T(e({__name:"scenario",props:{caseItem:{}},setup(e){const I=e,N=a({environment:"outpatient",ageGroup:"youth",education:"higher",personality:"calm"}),x=l([]),T=l(A),F=l(""),U=l(!1),D=l(""),K=l(!1),L=l(!1),R=l(null);let q=null;const z=s((()=>I.caseItem||R.value)),B=s((()=>z.value?`${z.value.title}(${z.value.caseNo})`:"未选择病例"));async function P(){const e=await Promise.resolve({recommendations:[{id:"typical-outpatient",title:"典型门诊病例",desc:"门诊常规病例:针对初学者设计的标准化沟通流程。",tags:["中年","配合"],defaults:{environment:"outpatient",ageGroup:"middle_aged",education:"higher",personality:"calm"}},{id:"emergency-crisis",title:"急诊重症危机",desc:"急诊危重:急性心梗紧急入院。",tags:["老年","急躁"],defaults:{environment:"emergency",ageGroup:"elderly",education:"secondary",personality:"impatient"}}],options:A});x.value=e.recommendations,T.value=e.options;try{const e=j(z.value);if(!e)return;const a=await S(e);T.value=a.options,Object.assign(N,a.recommended)}catch(a){Q(a instanceof Error?a.message:"推荐配置加载失败")}}function H(e,a){N[e]=a,F.value=""}function J(){L.value=!L.value}function M(){var e;z.value?(U.value=!0,(e={...N,caseId:z.value.id,caseNo:z.value.caseNo,mode:"teaching"===z.value.mode?"teaching":"practice",recommendationId:F.value||void 0},E({case_id:$(e),training_type:"diagnosis_treatment",mode:e.mode,score_type:"percentage",patient_config:{visit_environment:e.environment,age_group:e.ageGroup,education_level:e.education,personality:e.personality}}).then((a=>({id:a.session_code,...e,session:a,createdAt:(new Date).toISOString()})))).then((e=>{_("clinical-thinking-scenario",e),Q("模拟场景已生成"),setTimeout((()=>{g({url:"/pages/chat/chat"})}),450)})).catch((e=>{Q(e instanceof Error?e.message:"模拟场景生成失败")})).finally((()=>{setTimeout((()=>{U.value=!1}),600)}))):Q("请先选择病例")}function Q(e){q&&clearTimeout(q),D.value=e,K.value=!0,q=setTimeout((()=>{K.value=!1}),2200)}return t((()=>{R.value=G(),P()})),o((()=>{q&&clearTimeout(q)})),(e,a)=>{const l=b,s=h,t=y,o=k,_=w;return n(),c(s,{class:"scenario-page"},{default:i((()=>[u(s,{class:"scenario-shell"},{default:i((()=>[u(s,{class:"hero"},{default:i((()=>[u(l,{class:"hero-image",src:O,mode:"aspectFill"}),u(s,{class:"hero-fade"})])),_:1}),u(s,{class:"director-row"},{default:i((()=>[u(s,{class:"director-avatar"},{default:i((()=>[u(l,{class:"director-image",src:C,mode:"aspectFit"})])),_:1}),u(s,{class:"speech-bubble"},{default:i((()=>[u(t,null,{default:i((()=>[r("欢迎回来!请根据您的教学目标配置临床场景。")])),_:1})])),_:1})])),_:1}),u(_,{class:"config-scroll","scroll-y":""},{default:i((()=>[u(s,{class:"selected-case"},{default:i((()=>[u(t,{class:"case-label"},{default:i((()=>[r("当前病例")])),_:1}),u(t,{class:"case-title"},{default:i((()=>[r(d(B.value),1)])),_:1})])),_:1}),u(s,{class:"section"},{default:i((()=>[u(s,{class:"section-title"},{default:i((()=>[u(s,{class:"star-icon"}),u(t,null,{default:i((()=>[r("王主任推荐")])),_:1})])),_:1}),u(s,{class:"recommend-list"},{default:i((()=>[(n(!0),m(p,null,v(x.value,(e=>(n(),c(o,{key:e.id,class:f(["recommend-card",{active:F.value===e.id}]),onClick:a=>function(e){F.value=e.id,Object.assign(N,e.defaults)}(e)},{default:i((()=>[u(s,{class:"recommend-head"},{default:i((()=>[u(t,{class:"recommend-icon"},{default:i((()=>[r(d(e.tags[0]),1)])),_:2},1024),u(t,{class:"recommend-title"},{default:i((()=>[r(d(e.title),1)])),_:2},1024)])),_:2},1024),u(t,{class:"recommend-desc"},{default:i((()=>[r(d(e.desc),1)])),_:2},1024),u(s,{class:"tag-row"},{default:i((()=>[(n(!0),m(p,null,v(e.tags,(e=>(n(),c(t,{key:e,class:f(["tag",{danger:"急躁"===e}])},{default:i((()=>[r(d(e),1)])),_:2},1032,["class"])))),128))])),_:2},1024)])),_:2},1032,["class","onClick"])))),128))])),_:1})])),_:1}),u(s,{class:f(["section custom-section",{expanded:L.value}])},{default:i((()=>[u(o,{class:f(["section-title custom-config-toggle",{expanded:L.value}]),"aria-label":L.value?"收起自定义配置":"展开自定义配置",onClick:J},{default:i((()=>[u(s,{class:"tune-icon"}),u(t,null,{default:i((()=>[r("自定义配置")])),_:1}),u(s,{class:"custom-toggle-spacer"}),u(s,{class:"toggle-chevron"})])),_:1},8,["class","aria-label"]),u(s,{class:f(["custom-options",{expanded:L.value}])},{default:i((()=>[u(s,{class:"option-block"},{default:i((()=>[u(s,{class:"option-label"},{default:i((()=>[u(s,{class:"location-icon"}),u(t,null,{default:i((()=>[r("就诊环境")])),_:1})])),_:1}),u(s,{class:"option-grid grid-3"},{default:i((()=>[(n(!0),m(p,null,v(T.value.environments,(e=>(n(),c(o,{key:e.value,class:f(["choice",{selected:N.environment===e.value}]),onClick:a=>H("environment",e.value)},{default:i((()=>[r(d(e.label),1)])),_:2},1032,["class","onClick"])))),128))])),_:1})])),_:1}),u(s,{class:"option-block"},{default:i((()=>[u(s,{class:"option-label"},{default:i((()=>[u(s,{class:"cake-icon"}),u(t,null,{default:i((()=>[r("年龄段")])),_:1})])),_:1}),u(s,{class:"option-grid grid-4"},{default:i((()=>[(n(!0),m(p,null,v(T.value.ageGroups,(e=>(n(),c(o,{key:e.value,class:f(["choice small",{selected:N.ageGroup===e.value}]),onClick:a=>H("ageGroup",e.value)},{default:i((()=>[r(d(e.label),1)])),_:2},1032,["class","onClick"])))),128))])),_:1})])),_:1}),u(s,{class:"option-block"},{default:i((()=>[u(s,{class:"option-label"},{default:i((()=>[u(s,{class:"school-icon"}),u(t,null,{default:i((()=>[r("文化程度")])),_:1})])),_:1}),u(s,{class:"option-grid grid-3"},{default:i((()=>[(n(!0),m(p,null,v(T.value.educations,(e=>(n(),c(o,{key:e.value,class:f(["choice mini",{selected:N.education===e.value}]),onClick:a=>H("education",e.value)},{default:i((()=>[r(d(e.label),1)])),_:2},1032,["class","onClick"])))),128))])),_:1})])),_:1}),u(s,{class:"option-block personality-block"},{default:i((()=>[u(s,{class:"option-label"},{default:i((()=>[u(s,{class:"mind-icon"}),u(t,null,{default:i((()=>[r("性格")])),_:1})])),_:1}),u(s,{class:"option-grid grid-3"},{default:i((()=>[(n(!0),m(p,null,v(T.value.personalities,(e=>(n(),c(o,{key:e.value,class:f(["choice",{selected:N.personality===e.value}]),onClick:a=>H("personality",e.value)},{default:i((()=>[r(d(e.label),1)])),_:2},1032,["class","onClick"])))),128))])),_:1})])),_:1})])),_:1},8,["class"])])),_:1},8,["class"])])),_:1}),u(s,{class:"bottom-action"},{default:i((()=>[u(o,{class:"generate-button",disabled:U.value,onClick:M},{default:i((()=>[u(t,null,{default:i((()=>[r(d(U.value?"正在生成...":"生成模拟场景"),1)])),_:1}),u(s,{class:"arrow-icon"})])),_:1},8,["disabled"])])),_:1})])),_:1}),u(s,{class:f(["toast",{visible:K.value}])},{default:i((()=>[r(d(D.value),1)])),_:1},8,["class"])])),_:1})}}}),[["__scopeId","data-v-18785eb2"]]);export{U as default}; diff --git a/dist/assets/pages-scenario-scenario.qHtGjID7.js b/dist/assets/pages-scenario-scenario.qHtGjID7.js deleted file mode 100644 index dedbdc8..0000000 --- a/dist/assets/pages-scenario-scenario.qHtGjID7.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,a,r as l,c as s,o as t,b as o,e as n,f as c,w as i,i as u,j as r,t as d,l as m,m as v,F as p,n as _,s as f,G as g,u as b,y,x as h,z as k,S as w}from"./index-pnQqyMoS.js";import{_ as C}from"./config-doctor.TgARj_nM.js";import{r as G}from"./cases.4_d-snq4.js";import{F as j,a as x,r as I,c as T}from"./session.CQodznPl.js";import{_ as E}from"./_plugin-vue_export-helper.BCo6x5W8.js";const O=""+new URL("config-hospital-BKoUC35q.png",import.meta.url).href,F={environments:[{value:"outpatient",label:"门诊"},{value:"emergency",label:"急诊"},{value:"ward",label:"病房"}],ageGroups:[{value:"child",label:"儿童"},{value:"youth",label:"青年"},{value:"middle_aged",label:"中年"},{value:"elderly",label:"老年"}],educations:[{value:"primary_or_below",label:"小学及以下"},{value:"secondary",label:"中等教育"},{value:"higher",label:"高等教育"}],personalities:[{value:"calm",label:"平和"},{value:"anxious",label:"焦虑"},{value:"impatient",label:"急躁"},{value:"cooperative",label:"配合"},{value:"suspicious",label:"多疑"}]};function S(e,a,l){const s=null==e?void 0:e[a];return Array.isArray(s)?s:s&&"object"==typeof s?Object.entries(s).map((([e,a])=>({value:e,label:String(a)}))):l}async function $(e){var a;const l=await fetch(`${j}/training-config/options?case_id=${encodeURIComponent(e)}`,{method:"GET",headers:x()});if(!l.ok)throw new Error(await I(l));const s=await l.json();if("OK"!==s.code||!(null==(a=s.data)?void 0:a.recommended))throw new Error(s.message||"推荐配置加载失败");return{recommended:{environment:(t=s.data).recommended.visit_environment,ageGroup:t.recommended.age_group,education:t.recommended.education_level,personality:t.recommended.personality},recommendedLabels:{environment:t.recommended_labels.visit_environment,ageGroup:t.recommended_labels.age_group,education:t.recommended_labels.education_level,personality:t.recommended_labels.personality},options:{environments:S(t.options,"visit_environment",F.environments),ageGroups:S(t.options,"age_group",F.ageGroups),educations:S(t.options,"education_level",F.educations),personalities:S(t.options,"personality",F.personalities)}};var t}const A=E(e({__name:"scenario",props:{caseItem:{}},setup(e){const j=e,x=a({environment:"outpatient",ageGroup:"youth",education:"higher",personality:"calm"}),I=l([]),E=l(F),S=l(""),A=l(!1),N=l(""),U=l(!1),K=l(!1),L=l(null);let R=null;const q=s((()=>j.caseItem||L.value)),z=s((()=>q.value?`${q.value.title}(${q.value.caseNo})`:"未选择病例"));async function B(){const e=await Promise.resolve({recommendations:[{id:"typical-outpatient",title:"典型门诊病例",desc:"门诊常规病例:针对初学者设计的标准化沟通流程。",tags:["中年","配合"],defaults:{environment:"outpatient",ageGroup:"middle_aged",education:"higher",personality:"calm"}},{id:"emergency-crisis",title:"急诊重症危机",desc:"急诊危重:急性心梗紧急入院。",tags:["老年","急躁"],defaults:{environment:"emergency",ageGroup:"elderly",education:"secondary",personality:"impatient"}}],options:F});I.value=e.recommendations,E.value=e.options;try{const e=await $(1);E.value=e.options,Object.assign(x,e.recommended)}catch(a){J(a instanceof Error?a.message:"推荐配置加载失败")}}function D(e,a){x[e]=a,S.value=""}function P(){K.value=!K.value}function H(){var e;q.value?(A.value=!0,(e={...x,caseId:q.value.id,caseNo:q.value.caseNo,mode:"teaching"===q.value.mode?"teaching":"practice",recommendationId:S.value||void 0},T({case_id:1,training_type:"diagnosis_treatment",mode:e.mode,score_type:"percentage",patient_config:{visit_environment:e.environment,age_group:e.ageGroup,education_level:e.education,personality:e.personality}}).then((a=>({id:a.session_code,...e,session:a,createdAt:(new Date).toISOString()})))).then((e=>{f("clinical-thinking-scenario",e),J("模拟场景已生成"),setTimeout((()=>{g({url:"/pages/chat/chat"})}),450)})).catch((e=>{J(e instanceof Error?e.message:"模拟场景生成失败")})).finally((()=>{setTimeout((()=>{A.value=!1}),600)}))):J("请先选择病例")}function J(e){R&&clearTimeout(R),N.value=e,U.value=!0,R=setTimeout((()=>{U.value=!1}),2200)}return t((()=>{L.value=G(),B()})),o((()=>{R&&clearTimeout(R)})),(e,a)=>{const l=b,s=y,t=h,o=k,f=w;return n(),c(s,{class:"scenario-page"},{default:i((()=>[u(s,{class:"scenario-shell"},{default:i((()=>[u(s,{class:"hero"},{default:i((()=>[u(l,{class:"hero-image",src:O,mode:"aspectFill"}),u(s,{class:"hero-fade"})])),_:1}),u(s,{class:"director-row"},{default:i((()=>[u(s,{class:"director-avatar"},{default:i((()=>[u(l,{class:"director-image",src:C,mode:"aspectFit"})])),_:1}),u(s,{class:"speech-bubble"},{default:i((()=>[u(t,null,{default:i((()=>[r("欢迎回来!请根据您的教学目标配置临床场景。")])),_:1})])),_:1})])),_:1}),u(f,{class:"config-scroll","scroll-y":""},{default:i((()=>[u(s,{class:"selected-case"},{default:i((()=>[u(t,{class:"case-label"},{default:i((()=>[r("当前病例")])),_:1}),u(t,{class:"case-title"},{default:i((()=>[r(d(z.value),1)])),_:1})])),_:1}),u(s,{class:"section"},{default:i((()=>[u(s,{class:"section-title"},{default:i((()=>[u(s,{class:"star-icon"}),u(t,null,{default:i((()=>[r("王主任推荐")])),_:1})])),_:1}),u(s,{class:"recommend-list"},{default:i((()=>[(n(!0),m(p,null,v(I.value,(e=>(n(),c(o,{key:e.id,class:_(["recommend-card",{active:S.value===e.id}]),onClick:a=>function(e){S.value=e.id,Object.assign(x,e.defaults)}(e)},{default:i((()=>[u(s,{class:"recommend-head"},{default:i((()=>[u(t,{class:"recommend-icon"},{default:i((()=>[r(d(e.tags[0]),1)])),_:2},1024),u(t,{class:"recommend-title"},{default:i((()=>[r(d(e.title),1)])),_:2},1024)])),_:2},1024),u(t,{class:"recommend-desc"},{default:i((()=>[r(d(e.desc),1)])),_:2},1024),u(s,{class:"tag-row"},{default:i((()=>[(n(!0),m(p,null,v(e.tags,(e=>(n(),c(t,{key:e,class:_(["tag",{danger:"急躁"===e}])},{default:i((()=>[r(d(e),1)])),_:2},1032,["class"])))),128))])),_:2},1024)])),_:2},1032,["class","onClick"])))),128))])),_:1})])),_:1}),u(s,{class:_(["section custom-section",{expanded:K.value}])},{default:i((()=>[u(o,{class:_(["section-title custom-config-toggle",{expanded:K.value}]),"aria-label":K.value?"收起自定义配置":"展开自定义配置",onClick:P},{default:i((()=>[u(s,{class:"tune-icon"}),u(t,null,{default:i((()=>[r("自定义配置")])),_:1}),u(s,{class:"custom-toggle-spacer"}),u(s,{class:"toggle-chevron"})])),_:1},8,["class","aria-label"]),u(s,{class:_(["custom-options",{expanded:K.value}])},{default:i((()=>[u(s,{class:"option-block"},{default:i((()=>[u(s,{class:"option-label"},{default:i((()=>[u(s,{class:"location-icon"}),u(t,null,{default:i((()=>[r("就诊环境")])),_:1})])),_:1}),u(s,{class:"option-grid grid-3"},{default:i((()=>[(n(!0),m(p,null,v(E.value.environments,(e=>(n(),c(o,{key:e.value,class:_(["choice",{selected:x.environment===e.value}]),onClick:a=>D("environment",e.value)},{default:i((()=>[r(d(e.label),1)])),_:2},1032,["class","onClick"])))),128))])),_:1})])),_:1}),u(s,{class:"option-block"},{default:i((()=>[u(s,{class:"option-label"},{default:i((()=>[u(s,{class:"cake-icon"}),u(t,null,{default:i((()=>[r("年龄段")])),_:1})])),_:1}),u(s,{class:"option-grid grid-4"},{default:i((()=>[(n(!0),m(p,null,v(E.value.ageGroups,(e=>(n(),c(o,{key:e.value,class:_(["choice small",{selected:x.ageGroup===e.value}]),onClick:a=>D("ageGroup",e.value)},{default:i((()=>[r(d(e.label),1)])),_:2},1032,["class","onClick"])))),128))])),_:1})])),_:1}),u(s,{class:"option-block"},{default:i((()=>[u(s,{class:"option-label"},{default:i((()=>[u(s,{class:"school-icon"}),u(t,null,{default:i((()=>[r("文化程度")])),_:1})])),_:1}),u(s,{class:"option-grid grid-3"},{default:i((()=>[(n(!0),m(p,null,v(E.value.educations,(e=>(n(),c(o,{key:e.value,class:_(["choice mini",{selected:x.education===e.value}]),onClick:a=>D("education",e.value)},{default:i((()=>[r(d(e.label),1)])),_:2},1032,["class","onClick"])))),128))])),_:1})])),_:1}),u(s,{class:"option-block personality-block"},{default:i((()=>[u(s,{class:"option-label"},{default:i((()=>[u(s,{class:"mind-icon"}),u(t,null,{default:i((()=>[r("性格")])),_:1})])),_:1}),u(s,{class:"option-grid grid-3"},{default:i((()=>[(n(!0),m(p,null,v(E.value.personalities,(e=>(n(),c(o,{key:e.value,class:_(["choice",{selected:x.personality===e.value}]),onClick:a=>D("personality",e.value)},{default:i((()=>[r(d(e.label),1)])),_:2},1032,["class","onClick"])))),128))])),_:1})])),_:1})])),_:1},8,["class"])])),_:1},8,["class"])])),_:1}),u(s,{class:"bottom-action"},{default:i((()=>[u(o,{class:"generate-button",disabled:A.value,onClick:H},{default:i((()=>[u(t,null,{default:i((()=>[r(d(A.value?"正在生成...":"生成模拟场景"),1)])),_:1}),u(s,{class:"arrow-icon"})])),_:1},8,["disabled"])])),_:1})])),_:1}),u(s,{class:_(["toast",{visible:U.value}])},{default:i((()=>[r(d(N.value),1)])),_:1},8,["class"])])),_:1})}}}),[["__scopeId","data-v-0c3a3813"]]);export{A as default}; diff --git a/dist/assets/pages-teaching-teaching.CD7aTCWg.js b/dist/assets/pages-teaching-teaching.CD7aTCWg.js new file mode 100644 index 0000000..098e91a --- /dev/null +++ b/dist/assets/pages-teaching-teaching.CD7aTCWg.js @@ -0,0 +1 @@ +import{d as e,r as a,c as l,o as t,b as s,e as n,f as u,w as o,i,E as r,j as c,t as v,n as d,H as f,g as p,l as y,m as _,F as m,s as g,G as h,z as k,A as w,y as b,x,O as j,S as C}from"./index-DR4MYR5F.js";import{_ as A}from"./config-doctor.TgARj_nM.js";import{r as E,a as q}from"./cases.CqwTWi6x.js";import{c as S,a as T,b as O}from"./navigation.DbARx0MO.js";import{F as U,a as B,r as I}from"./session.EmQEGqqa.js";import{_ as D}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./auth.CseBt7py.js";function F(e){if(!e||"object"!=typeof e)return null;const a=e,l=(t=a.video)&&"object"==typeof t&&!Array.isArray(t)?t:{};var t;const s=function(e){const a=e.question_id||e.id||e.item_id;return"number"==typeof a||"string"==typeof a?a:""}(a),n=P(a,["question","title","stem","content","text"]),u=function(e){if(Array.isArray(e))return e.map(((e,a)=>function(e,a){const l=String.fromCharCode(65+a);if("string"==typeof e)return{key:l,value:l,text:e};if(!e||"object"!=typeof e)return null;const t=e,s=P(t,["value","key","option","option_key","id"])||l,n=P(t,["key","option","option_key"])||s,u=P(t,["label","text","content","option_text","name"])||s;return{key:n,value:s,text:u}}(e,a))).filter((e=>Boolean(e)));if(e&&"object"==typeof e)return Object.entries(e).map((([e,a])=>({key:e,value:e,text:"string"==typeof a?a:String(a||"")}))).filter((e=>e.text));return[]}(a.options||a.choices||a.answers);return s&&n&&0!==u.length?{id:s,question:n,options:u,correctAnswer:P(a,["correct_answer","correctAnswer","answer","right_answer"]),analysis:P(a,["analysis","explanation","解析"]),note:P(a,["note","hint","comment"]),videoTitle:P(l,["title","name"])||P(a,["video_title","videoTitle"]),videoDesc:P(l,["description","desc"])||P(a,["video_desc","videoDesc","video_description"]),videoUrl:P(l,["url"])||P(a,["video_url","videoUrl"])}:null}function P(e,a){for(const l of a){const a=e[l];if("string"==typeof a&&a.trim())return a;if("number"==typeof a)return String(a)}return""}const $=D(e({__name:"teaching",props:{caseItem:{}},emits:["open-settings","open-profile","go-home"],setup(e,{emit:D}){const P=e,$=D,G=S($),K=T($),N=O($),z=a(0),H=a(""),J=a(!1),L=a(!1),M=a(null),Q=a([]),R=a({}),V=a(!1),W=a(!1),X=a(!1),Y=a(""),Z=a(!1);let ee=null;const ae=l((()=>P.caseItem||M.value)),le=l((()=>q(ae.value))),te=l((()=>{var e,a,l,t,s;return{name:(null==(e=ae.value)?void 0:e.patientName)||"未选择病例",gender:(null==(a=ae.value)?void 0:a.gender)||"-",age:(null==(l=ae.value)?void 0:l.age)||"-",department:(null==(t=ae.value)?void 0:t.department)||"-",chiefComplaint:(null==(s=ae.value)?void 0:s.title)||"暂无病例信息"}})),se=l((()=>te.value.chiefComplaint.includes("胸痛")?"胸痛":te.value.chiefComplaint.slice(0,6))),ne=l((()=>Q.value[z.value]||null)),ue=l((()=>{var e;return Boolean(null==(e=ne.value)?void 0:e.correctAnswer)})),oe=l((()=>{var e,a;return Boolean((null==(e=ne.value)?void 0:e.analysis)||(null==(a=ne.value)?void 0:a.note))})),ie=l((()=>{var e;return Boolean(null==(e=ne.value)?void 0:e.videoUrl)})),re=l((()=>z.value>=Q.value.length-1)),ce=l((()=>W.value?"提交中...":re.value?"提交评价":"下一题")),ve=l((()=>V.value?"题目加载中...":X.value?"题目加载失败,请稍后重试。":"暂无教学题目"));function de(){var e;(null==(e=ne.value)?void 0:e.videoUrl)?(J.value=!0,L.value=!1):me("当前题目暂无讲解视频")}async function fe(){if(!ne.value||W.value||V.value)return;if(!H.value)return void me("请先选择答案");if(re.value)return void(await async function(){if(!le.value)return void me("未找到当前教学病例");const e=Q.value.map((e=>({question_id:e.id,selected_answer:R.value[String(e.id)]||""}))).filter((e=>e.selected_answer));if(e.length!==Q.value.length)return void me("请完成全部题目后再提交");W.value=!0;try{const a=await async function(e){var a;const l=await fetch(`${U}/teaching/evaluation`,{method:"POST",headers:B(),body:JSON.stringify(e)});if(!l.ok)throw new Error(await I(l));const t=await l.json();if("OK"!==t.code||!(null==(a=t.data)?void 0:a.evaluation_id))throw new Error(t.message||"教学评价生成失败");return t.data}({case_id:le.value,answers:e});g("clinical-thinking-case-mode","teaching"),g("clinical-thinking-teaching-evaluation",a),g("clinical-thinking-teaching-evaluation-id",a.evaluation_id),h({url:"/pages/assessment/assessment"})}catch(a){me(a instanceof Error?a.message:"教学评价生成失败")}finally{W.value=!1}}());const e=z.value+1;z.value=e,H.value=R.value[String(Q.value[e].id)]||"",J.value=!1,L.value=!1,g("clinical-thinking-teaching-question",{caseId:le.value,questionId:Q.value[e].id,index:e})}function pe(){L.value=!L.value}function ye(){me("讲解视频加载失败")}async function _e(){if(!le.value)return X.value=!0,void me("未找到当前教学病例");V.value=!0,X.value=!1;try{const e=await async function(e){const a=await fetch(`${U}/teaching/cases/${e}/items`,{method:"GET",headers:B()});if(!a.ok)throw new Error(await I(a));const l=await a.json();if("OK"!==l.code||!l.data)throw new Error(l.message||"题目列表加载失败");return(Array.isArray(l.data)?l.data:l.data.items||l.data.questions||l.data.results||l.data.list||[]).map(F).filter((e=>Boolean(e)))}(le.value);Q.value=e,z.value=0,H.value="",R.value={},J.value=!1,L.value=!1,0===e.length&&(X.value=!0,me("暂无教学题目"))}catch(e){X.value=!0,me(e instanceof Error?e.message:"题目列表加载失败")}finally{V.value=!1}}function me(e){ee&&clearTimeout(ee),Y.value=e,Z.value=!0,ee=setTimeout((()=>{Z.value=!1}),2200)}return t((()=>{M.value=E(),_e()})),s((()=>{ee&&clearTimeout(ee)})),(e,a)=>{const l=k,t=w,s=b,g=x,h=j,E=C;return n(),u(l,{class:"teaching-page"},{default:o((()=>[i(l,{class:"teaching-shell"},{default:o((()=>[i(l,{class:"top-nav"},{default:o((()=>[i(t,{class:"icon-button","aria-label":"设置",onClick:r(K)},{default:o((()=>[i(l,{class:"settings-icon"})])),_:1},8,["onClick"]),i(t,{class:"icon-button home-button","aria-label":"首页",onClick:r(N)},{default:o((()=>[i(l,{class:"home-icon"})])),_:1},8,["onClick"]),i(l,{class:"nav-spacer"}),i(t,{class:"icon-button","aria-label":"个人中心",onClick:r(G)},{default:o((()=>[i(l,{class:"account-icon"})])),_:1},8,["onClick"])])),_:1}),i(l,{class:"patient-header"},{default:o((()=>[i(s,{class:"case-heading"},{default:o((()=>[c("患者:"+v(te.value.name)+" ("+v(se.value)+")",1)])),_:1}),i(l,{class:"patient-meta"},{default:o((()=>[i(s,null,{default:o((()=>[c("姓名:"+v(te.value.name),1)])),_:1}),i(s,null,{default:o((()=>[c("性别:"+v(te.value.gender),1)])),_:1}),i(s,null,{default:o((()=>[c("年龄:"+v(te.value.age)+"岁",1)])),_:1}),i(s,null,{default:o((()=>[c("科室:"+v(te.value.department),1)])),_:1})])),_:1})])),_:1}),i(E,{class:"teaching-body","scroll-y":""},{default:o((()=>[i(l,{class:"mentor-section"},{default:o((()=>[i(l,{class:"mentor-profile"},{default:o((()=>[i(l,{class:"mentor-avatar"},{default:o((()=>[i(g,{src:A,mode:"aspectFill"})])),_:1}),i(l,{class:"online-dot"}),i(s,{class:"mentor-name"},{default:o((()=>[c("王主任")])),_:1})])),_:1}),i(l,{class:"question-bubble"},{default:o((()=>[i(s,null,{default:o((()=>{var e;return[c(v((null==(e=ne.value)?void 0:e.question)||ve.value),1)]})),_:1})])),_:1})])),_:1}),J.value&&ne.value?(n(),u(l,{key:0,class:"video-section"},{default:o((()=>[ne.value.videoUrl?(n(),u(h,{key:0,class:"video-player real-video",src:ne.value.videoUrl,controls:"",autoplay:"",onPlay:a[0]||(a[0]=e=>L.value=!0),onPause:a[1]||(a[1]=e=>L.value=!1),onEnded:a[2]||(a[2]=e=>L.value=!1),onError:ye},null,8,["src"])):(n(),u(l,{key:1,class:"video-player",onClick:pe},{default:o((()=>[i(l,{class:d(["video-poster",{playing:L.value}])},{default:o((()=>[i(l,{class:"heart-visual"},{default:o((()=>[i(l,{class:"heart-core"}),i(l,{class:"heart-pulse pulse-one"}),i(l,{class:"heart-pulse pulse-two"})])),_:1})])),_:1},8,["class"]),i(l,{class:"video-overlay"},{default:o((()=>[i(l,{class:d(["play-button",{playing:L.value}])},{default:o((()=>[i(l,{class:"play-icon"})])),_:1},8,["class"])])),_:1}),i(l,{class:"video-progress"},{default:o((()=>[i(l,{class:"video-progress-fill",style:f({width:L.value?"62%":"33%"})},null,8,["style"])])),_:1})])),_:1})),i(l,{class:"video-copy"},{default:o((()=>[i(s,{class:"video-title"},{default:o((()=>[c(v(ne.value.videoTitle||"讲解视频"),1)])),_:1}),ne.value.videoDesc?(n(),u(s,{key:0,class:"video-desc"},{default:o((()=>[c(v(ne.value.videoDesc),1)])),_:1})):p("",!0)])),_:1})])),_:1})):ne.value?(n(),u(l,{key:1,class:"option-list"},{default:o((()=>[(n(!0),y(m,null,_(ne.value.options,(e=>{return n(),u(t,{key:e.value,class:d(["option-card",(a=e.value,H.value!==a?"":(null==(r=ne.value)?void 0:r.correctAnswer)?a===ne.value.correctAnswer?"selected-correct":"selected-wrong":"selected-correct")]),onClick:a=>function(e){H.value=e,ne.value&&(R.value[String(ne.value.id)]=e)}(e.value)},{default:o((()=>[i(s,{class:"option-key"},{default:o((()=>[c(v(e.key),1)])),_:2},1024),i(s,{class:"option-text"},{default:o((()=>[c(v(e.text),1)])),_:2},1024),ue.value&&H.value===e.value&&e.value!==ne.value.correctAnswer?(n(),u(l,{key:0,class:"wrong-icon"})):p("",!0),ue.value&&H.value===e.value&&e.value===ne.value.correctAnswer?(n(),u(l,{key:1,class:"right-icon"})):p("",!0)])),_:2},1032,["class","onClick"]);var a,r})),128))])),_:1})):(n(),u(l,{key:2,class:"empty-state"},{default:o((()=>[i(s,null,{default:o((()=>[c(v(ve.value),1)])),_:1})])),_:1})),!J.value&&H.value&&oe.value?(n(),u(l,{key:3,class:"analysis-card"},{default:o((()=>[i(l,{class:"analysis-title"},{default:o((()=>[i(l,{class:"bulb-icon"}),i(s,null,{default:o((()=>[c("答案解析")])),_:1})])),_:1}),i(l,{class:"analysis-content"},{default:o((()=>{var e,a,t,i;return[(null==(e=ne.value)?void 0:e.analysis)?(n(),u(s,{key:0,class:"analysis-main"},{default:o((()=>[c(v(ne.value.analysis),1)])),_:1})):p("",!0),(null==(a=ne.value)?void 0:a.analysis)&&(null==(t=ne.value)?void 0:t.note)?(n(),u(l,{key:1,class:"analysis-divider"})):p("",!0),(null==(i=ne.value)?void 0:i.note)?(n(),u(s,{key:2,class:"analysis-note"},{default:o((()=>[c(v(ne.value.note),1)])),_:1})):p("",!0)]})),_:1})])),_:1})):p("",!0),i(l,{class:"bottom-actions"},{default:o((()=>[!J.value&&ie.value?(n(),u(t,{key:0,class:"video-button",onClick:de},{default:o((()=>[i(l,{class:"video-icon"}),i(s,null,{default:o((()=>[c("查看知识点视频")])),_:1})])),_:1})):p("",!0),i(t,{class:d(["next-button",{disabled:!ne.value||W.value||V.value}]),disabled:!ne.value||W.value||V.value,onClick:fe},{default:o((()=>[i(s,null,{default:o((()=>[c(v(ce.value),1)])),_:1}),i(l,{class:"next-icon"})])),_:1},8,["class","disabled"])])),_:1})])),_:1})])),_:1}),i(l,{class:d(["toast",{visible:Z.value}])},{default:o((()=>[c(v(Y.value),1)])),_:1},8,["class"])])),_:1})}}}),[["__scopeId","data-v-c2d0b6fa"]]);export{$ as default}; diff --git a/dist/assets/pages-teaching-teaching.DR-9Lpuq.js b/dist/assets/pages-teaching-teaching.DR-9Lpuq.js deleted file mode 100644 index 65cf1a4..0000000 --- a/dist/assets/pages-teaching-teaching.DR-9Lpuq.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,r as a,c as l,o as t,b as s,e as n,f as u,w as i,i as o,E as r,j as c,t as v,n as d,H as f,g as y,l as p,m as _,F as m,s as g,G as h,y as k,z as w,x as b,u as x,T as C,S as j}from"./index-pnQqyMoS.js";import{_ as A}from"./config-doctor.TgARj_nM.js";import{r as E}from"./cases.4_d-snq4.js";import{c as q,a as S,b as T}from"./navigation.DVfJwOxJ.js";import{F as U,a as B,r as I}from"./session.CQodznPl.js";import{_ as O}from"./_plugin-vue_export-helper.BCo6x5W8.js";function D(e){if(!e||"object"!=typeof e)return null;const a=e,l=(t=a.video)&&"object"==typeof t&&!Array.isArray(t)?t:{};var t;const s=function(e){const a=e.question_id||e.id||e.item_id;return"number"==typeof a||"string"==typeof a?a:""}(a),n=F(a,["question","title","stem","content","text"]),u=function(e){if(Array.isArray(e))return e.map(((e,a)=>function(e,a){const l=String.fromCharCode(65+a);if("string"==typeof e)return{key:l,value:l,text:e};if(!e||"object"!=typeof e)return null;const t=e,s=F(t,["value","key","option","option_key","id"])||l,n=F(t,["key","option","option_key"])||s,u=F(t,["label","text","content","option_text","name"])||s;return{key:n,value:s,text:u}}(e,a))).filter((e=>Boolean(e)));if(e&&"object"==typeof e)return Object.entries(e).map((([e,a])=>({key:e,value:e,text:"string"==typeof a?a:String(a||"")}))).filter((e=>e.text));return[]}(a.options||a.choices||a.answers);return s&&n&&0!==u.length?{id:s,question:n,options:u,correctAnswer:F(a,["correct_answer","correctAnswer","answer","right_answer"]),analysis:F(a,["analysis","explanation","解析"]),note:F(a,["note","hint","comment"]),videoTitle:F(l,["title","name"])||F(a,["video_title","videoTitle"]),videoDesc:F(l,["description","desc"])||F(a,["video_desc","videoDesc","video_description"]),videoUrl:F(l,["url"])||F(a,["video_url","videoUrl"])}:null}function F(e,a){for(const l of a){const a=e[l];if("string"==typeof a&&a.trim())return a;if("number"==typeof a)return String(a)}return""}const P=O(e({__name:"teaching",props:{caseItem:{}},emits:["open-settings","open-profile","go-home"],setup(e,{emit:O}){const F=e,P=O,$=q(P),G=S(P),K=T(P),N=a(0),z=a(""),H=a(!1),J=a(!1),L=a(null),M=a([]),Q=a({}),R=a(!1),V=a(!1),W=a(!1),X=a(""),Y=a(!1);let Z=null;const ee=l((()=>F.caseItem||L.value)),ae=l((()=>1)),le=l((()=>{var e,a,l,t,s;return{name:(null==(e=ee.value)?void 0:e.patientName)||"未选择病例",gender:(null==(a=ee.value)?void 0:a.gender)||"-",age:(null==(l=ee.value)?void 0:l.age)||"-",department:(null==(t=ee.value)?void 0:t.department)||"-",chiefComplaint:(null==(s=ee.value)?void 0:s.title)||"暂无病例信息"}})),te=l((()=>le.value.chiefComplaint.includes("胸痛")?"胸痛":le.value.chiefComplaint.slice(0,6))),se=l((()=>M.value[N.value]||null)),ne=l((()=>{var e;return Boolean(null==(e=se.value)?void 0:e.correctAnswer)})),ue=l((()=>{var e,a;return Boolean((null==(e=se.value)?void 0:e.analysis)||(null==(a=se.value)?void 0:a.note))})),ie=l((()=>{var e;return Boolean(null==(e=se.value)?void 0:e.videoUrl)})),oe=l((()=>N.value>=M.value.length-1)),re=l((()=>V.value?"提交中...":oe.value?"提交评价":"下一题")),ce=l((()=>R.value?"题目加载中...":W.value?"题目加载失败,请稍后重试。":"暂无教学题目"));function ve(){var e;(null==(e=se.value)?void 0:e.videoUrl)?(H.value=!0,J.value=!1):_e("当前题目暂无讲解视频")}async function de(){if(!se.value||V.value||R.value)return;if(!z.value)return void _e("请先选择答案");if(oe.value)return void(await async function(){if(!ae.value)return void _e("未找到当前教学病例");const e=M.value.map((e=>({question_id:e.id,selected_answer:Q.value[String(e.id)]||""}))).filter((e=>e.selected_answer));if(e.length!==M.value.length)return void _e("请完成全部题目后再提交");V.value=!0;try{const a=await async function(e){var a;const l=await fetch(`${U}/teaching/evaluation`,{method:"POST",headers:B(),body:JSON.stringify(e)});if(!l.ok)throw new Error(await I(l));const t=await l.json();if("OK"!==t.code||!(null==(a=t.data)?void 0:a.evaluation_id))throw new Error(t.message||"教学评价生成失败");return t.data}({case_id:ae.value,answers:e});g("clinical-thinking-case-mode","teaching"),g("clinical-thinking-teaching-evaluation",a),g("clinical-thinking-teaching-evaluation-id",a.evaluation_id),h({url:"/pages/assessment/assessment"})}catch(a){_e(a instanceof Error?a.message:"教学评价生成失败")}finally{V.value=!1}}());const e=N.value+1;N.value=e,z.value=Q.value[String(M.value[e].id)]||"",H.value=!1,J.value=!1,g("clinical-thinking-teaching-question",{caseId:ae.value,questionId:M.value[e].id,index:e})}function fe(){J.value=!J.value}function ye(){_e("讲解视频加载失败")}async function pe(){if(!ae.value)return W.value=!0,void _e("未找到当前教学病例");R.value=!0,W.value=!1;try{const e=await async function(e){const a=await fetch(`${U}/teaching/cases/${e}/items`,{method:"GET",headers:B()});if(!a.ok)throw new Error(await I(a));const l=await a.json();if("OK"!==l.code||!l.data)throw new Error(l.message||"题目列表加载失败");return(Array.isArray(l.data)?l.data:l.data.items||l.data.questions||l.data.results||l.data.list||[]).map(D).filter((e=>Boolean(e)))}(ae.value);M.value=e,N.value=0,z.value="",Q.value={},H.value=!1,J.value=!1,0===e.length&&(W.value=!0,_e("暂无教学题目"))}catch(e){W.value=!0,_e(e instanceof Error?e.message:"题目列表加载失败")}finally{R.value=!1}}function _e(e){Z&&clearTimeout(Z),X.value=e,Y.value=!0,Z=setTimeout((()=>{Y.value=!1}),2200)}return t((()=>{L.value=E(),pe()})),s((()=>{Z&&clearTimeout(Z)})),(e,a)=>{const l=k,t=w,s=b,g=x,h=C,E=j;return n(),u(l,{class:"teaching-page"},{default:i((()=>[o(l,{class:"teaching-shell"},{default:i((()=>[o(l,{class:"top-nav"},{default:i((()=>[o(t,{class:"icon-button","aria-label":"设置",onClick:r(G)},{default:i((()=>[o(l,{class:"settings-icon"})])),_:1},8,["onClick"]),o(t,{class:"icon-button home-button","aria-label":"首页",onClick:r(K)},{default:i((()=>[o(l,{class:"home-icon"})])),_:1},8,["onClick"]),o(l,{class:"nav-spacer"}),o(t,{class:"icon-button","aria-label":"个人中心",onClick:r($)},{default:i((()=>[o(l,{class:"account-icon"})])),_:1},8,["onClick"])])),_:1}),o(l,{class:"patient-header"},{default:i((()=>[o(s,{class:"case-heading"},{default:i((()=>[c("患者:"+v(le.value.name)+" ("+v(te.value)+")",1)])),_:1}),o(l,{class:"patient-meta"},{default:i((()=>[o(s,null,{default:i((()=>[c("姓名:"+v(le.value.name),1)])),_:1}),o(s,null,{default:i((()=>[c("性别:"+v(le.value.gender),1)])),_:1}),o(s,null,{default:i((()=>[c("年龄:"+v(le.value.age)+"岁",1)])),_:1}),o(s,null,{default:i((()=>[c("科室:"+v(le.value.department),1)])),_:1})])),_:1})])),_:1}),o(E,{class:"teaching-body","scroll-y":""},{default:i((()=>[o(l,{class:"mentor-section"},{default:i((()=>[o(l,{class:"mentor-profile"},{default:i((()=>[o(l,{class:"mentor-avatar"},{default:i((()=>[o(g,{src:A,mode:"aspectFill"})])),_:1}),o(l,{class:"online-dot"}),o(s,{class:"mentor-name"},{default:i((()=>[c("王主任")])),_:1})])),_:1}),o(l,{class:"question-bubble"},{default:i((()=>[o(s,null,{default:i((()=>{var e;return[c(v((null==(e=se.value)?void 0:e.question)||ce.value),1)]})),_:1})])),_:1})])),_:1}),H.value&&se.value?(n(),u(l,{key:0,class:"video-section"},{default:i((()=>[se.value.videoUrl?(n(),u(h,{key:0,class:"video-player real-video",src:se.value.videoUrl,controls:"",autoplay:"",onPlay:a[0]||(a[0]=e=>J.value=!0),onPause:a[1]||(a[1]=e=>J.value=!1),onEnded:a[2]||(a[2]=e=>J.value=!1),onError:ye},null,8,["src"])):(n(),u(l,{key:1,class:"video-player",onClick:fe},{default:i((()=>[o(l,{class:d(["video-poster",{playing:J.value}])},{default:i((()=>[o(l,{class:"heart-visual"},{default:i((()=>[o(l,{class:"heart-core"}),o(l,{class:"heart-pulse pulse-one"}),o(l,{class:"heart-pulse pulse-two"})])),_:1})])),_:1},8,["class"]),o(l,{class:"video-overlay"},{default:i((()=>[o(l,{class:d(["play-button",{playing:J.value}])},{default:i((()=>[o(l,{class:"play-icon"})])),_:1},8,["class"])])),_:1}),o(l,{class:"video-progress"},{default:i((()=>[o(l,{class:"video-progress-fill",style:f({width:J.value?"62%":"33%"})},null,8,["style"])])),_:1})])),_:1})),o(l,{class:"video-copy"},{default:i((()=>[o(s,{class:"video-title"},{default:i((()=>[c(v(se.value.videoTitle||"讲解视频"),1)])),_:1}),se.value.videoDesc?(n(),u(s,{key:0,class:"video-desc"},{default:i((()=>[c(v(se.value.videoDesc),1)])),_:1})):y("",!0)])),_:1})])),_:1})):se.value?(n(),u(l,{key:1,class:"option-list"},{default:i((()=>[(n(!0),p(m,null,_(se.value.options,(e=>{return n(),u(t,{key:e.value,class:d(["option-card",(a=e.value,z.value!==a?"":(null==(r=se.value)?void 0:r.correctAnswer)?a===se.value.correctAnswer?"selected-correct":"selected-wrong":"selected-correct")]),onClick:a=>function(e){z.value=e,se.value&&(Q.value[String(se.value.id)]=e)}(e.value)},{default:i((()=>[o(s,{class:"option-key"},{default:i((()=>[c(v(e.key),1)])),_:2},1024),o(s,{class:"option-text"},{default:i((()=>[c(v(e.text),1)])),_:2},1024),ne.value&&z.value===e.value&&e.value!==se.value.correctAnswer?(n(),u(l,{key:0,class:"wrong-icon"})):y("",!0),ne.value&&z.value===e.value&&e.value===se.value.correctAnswer?(n(),u(l,{key:1,class:"right-icon"})):y("",!0)])),_:2},1032,["class","onClick"]);var a,r})),128))])),_:1})):(n(),u(l,{key:2,class:"empty-state"},{default:i((()=>[o(s,null,{default:i((()=>[c(v(ce.value),1)])),_:1})])),_:1})),!H.value&&z.value&&ue.value?(n(),u(l,{key:3,class:"analysis-card"},{default:i((()=>[o(l,{class:"analysis-title"},{default:i((()=>[o(l,{class:"bulb-icon"}),o(s,null,{default:i((()=>[c("答案解析")])),_:1})])),_:1}),o(l,{class:"analysis-content"},{default:i((()=>{var e,a,t,o;return[(null==(e=se.value)?void 0:e.analysis)?(n(),u(s,{key:0,class:"analysis-main"},{default:i((()=>[c(v(se.value.analysis),1)])),_:1})):y("",!0),(null==(a=se.value)?void 0:a.analysis)&&(null==(t=se.value)?void 0:t.note)?(n(),u(l,{key:1,class:"analysis-divider"})):y("",!0),(null==(o=se.value)?void 0:o.note)?(n(),u(s,{key:2,class:"analysis-note"},{default:i((()=>[c(v(se.value.note),1)])),_:1})):y("",!0)]})),_:1})])),_:1})):y("",!0),o(l,{class:"bottom-actions"},{default:i((()=>[!H.value&&ie.value?(n(),u(t,{key:0,class:"video-button",onClick:ve},{default:i((()=>[o(l,{class:"video-icon"}),o(s,null,{default:i((()=>[c("查看知识点视频")])),_:1})])),_:1})):y("",!0),o(t,{class:d(["next-button",{disabled:!se.value||V.value||R.value}]),disabled:!se.value||V.value||R.value,onClick:de},{default:i((()=>[o(s,null,{default:i((()=>[c(v(re.value),1)])),_:1}),o(l,{class:"next-icon"})])),_:1},8,["class","disabled"])])),_:1})])),_:1})])),_:1}),o(l,{class:d(["toast",{visible:Y.value}])},{default:i((()=>[c(v(X.value),1)])),_:1},8,["class"])])),_:1})}}}),[["__scopeId","data-v-f21565e2"]]);export{P as default}; diff --git a/dist/assets/pages-treatment-treatment.CY1LQTC2.js b/dist/assets/pages-treatment-treatment.CY1LQTC2.js deleted file mode 100644 index 1c16e90..0000000 --- a/dist/assets/pages-treatment-treatment.CY1LQTC2.js +++ /dev/null @@ -1 +0,0 @@ -import{d as e,a,r as l,c as s,o as t,b as n,e as u,f as c,w as o,i as r,E as i,j as d,t as m,l as p,m as f,F as _,n as v,g as h,s as b,p as k,y as g,z as w,x as y,u as j,I as V,R as x}from"./index-pnQqyMoS.js";import{_ as C}from"./config-doctor.TgARj_nM.js";import{r as U}from"./cases.4_d-snq4.js";import{c as P,a as E,b as I}from"./navigation.DVfJwOxJ.js";import{F as T,a as F,r as O,f as $}from"./session.CQodznPl.js";import{_ as M}from"./_plugin-vue_export-helper.BCo6x5W8.js";const N=M(e({__name:"treatment",props:{caseItem:{}},emits:["open-settings","open-profile","go-home"],setup(e,{emit:M}){const N=e,S=M,z=P(S),B=E(S),J=I(S),K=a({principle:"",measures:["",""],orders:""}),R=l(!1),q=l(!1),A=l(""),D=l(!1),G=l(null);let H=null;const L=s((()=>N.caseItem||G.value)),Q=s((()=>{var e;return(null==(e=L.value)?void 0:e.patientName)||"陈先生"})),W=s((()=>{var e;return(null==(e=L.value)?void 0:e.gender)||"男"})),X=s((()=>{var e;return(null==(e=L.value)?void 0:e.age)||60})),Y=s((()=>{var e;return(null==(e=L.value)?void 0:e.department)||"心血管内科"})),Z=s((()=>{var e;const a=(null==(e=L.value)?void 0:e.title)||"持续胸痛3小时";return a.includes("胸痛")?"胸痛":a.slice(0,6)})),ee=s((()=>R.value?"提交中...":q.value?"已提交":"下一步"));async function ae(){if(!R.value){R.value=!0;try{const e=$(),a=K.orders.trim(),l={treatmentPrinciple:K.principle,treatmentMeasures:K.measures.map((e=>e.trim())).filter(Boolean).join(";"),riskPlan:a,communication:a,followUp:a},s=await async function(e,a){const l={treatment_principle:a.treatmentPrinciple.trim(),treatment_measures:a.treatmentMeasures.trim(),risk_plan:a.riskPlan.trim(),communication:a.communication.trim(),follow_up:a.followUp.trim()},s=await fetch(`${T}/sessions/${e}/treatment`,{method:"POST",headers:F(),body:JSON.stringify(l)});if(!s.ok)throw new Error(await O(s));const t=await s.json();if("OK"!==t.code)throw new Error(t.message||"治疗方案提交失败");return t.data||l}(e,l);b("clinical-thinking-treatment",s),q.value=!0,k({url:"/pages/assessment/assessment",fail(){q.value=!1,le("进入评价页失败,请重试")}})}catch(e){le(e instanceof Error?e.message:"治疗方案提交失败")}finally{R.value=!1}}}function le(e){H&&clearTimeout(H),A.value=e,D.value=!0,H=setTimeout((()=>{D.value=!1}),2200)}return t((()=>{G.value=U()})),n((()=>{H&&clearTimeout(H)})),(e,a)=>{const l=g,s=w,t=y,n=j,b=V,k=x;return u(),c(l,{class:"treatment-page"},{default:o((()=>[r(l,{class:"treatment-shell"},{default:o((()=>[r(l,{class:"top-nav"},{default:o((()=>[r(s,{class:"icon-button","aria-label":"设置",onClick:i(B)},{default:o((()=>[r(l,{class:"settings-icon"})])),_:1},8,["onClick"]),r(s,{class:"icon-button home-button","aria-label":"首页",onClick:i(J)},{default:o((()=>[r(l,{class:"home-icon"})])),_:1},8,["onClick"]),r(l,{class:"nav-spacer"}),r(s,{class:"icon-button","aria-label":"个人中心",onClick:i(z)},{default:o((()=>[r(l,{class:"account-icon"})])),_:1},8,["onClick"])])),_:1}),r(l,{class:"case-header"},{default:o((()=>[r(t,{class:"case-heading"},{default:o((()=>[d("患者:"+m(Q.value)+" ("+m(Z.value)+")",1)])),_:1}),r(l,{class:"patient-meta"},{default:o((()=>[r(t,null,{default:o((()=>[d("姓名:"+m(Q.value),1)])),_:1}),r(t,null,{default:o((()=>[d("性别:"+m(W.value),1)])),_:1}),r(t,null,{default:o((()=>[d("年龄:"+m(X.value)+"岁",1)])),_:1}),r(t,null,{default:o((()=>[d("科室:"+m(Y.value),1)])),_:1})])),_:1})])),_:1}),r(l,{class:"treatment-content"},{default:o((()=>[r(l,{class:"stepper"},{default:o((()=>[r(l,{class:"step-line"},{default:o((()=>[r(l,{class:"step-line-active"})])),_:1}),r(l,{class:"step done"},{default:o((()=>[r(l,{class:"step-dot"},{default:o((()=>[r(l,{class:"check-icon"})])),_:1}),r(t,null,{default:o((()=>[d("问诊")])),_:1})])),_:1}),r(l,{class:"step done"},{default:o((()=>[r(l,{class:"step-dot"},{default:o((()=>[r(l,{class:"check-icon"})])),_:1}),r(t,null,{default:o((()=>[d("临床诊断")])),_:1})])),_:1}),r(l,{class:"step active"},{default:o((()=>[r(l,{class:"step-dot"},{default:o((()=>[r(l,{class:"pill-icon"})])),_:1}),r(t,null,{default:o((()=>[d("治疗计划")])),_:1})])),_:1})])),_:1}),r(l,{class:"mentor-card"},{default:o((()=>[r(l,{class:"mentor-avatar"},{default:o((()=>[r(n,{src:C,mode:"aspectFill"})])),_:1}),r(l,{class:"mentor-bubble"},{default:o((()=>[r(t,null,{default:o((()=>[d("王主任建议:请结合患者既往高血压史及突发性胸痛的性质,进行准确诊断。注意鉴别心梗与主动脉夹层。")])),_:1})])),_:1})])),_:1}),r(l,{class:"form-area"},{default:o((()=>[r(l,{class:"field-block"},{default:o((()=>[r(l,{class:"field-label primary"},{default:o((()=>[r(l,{class:"priority-icon"}),r(t,null,{default:o((()=>[d("治疗原则")])),_:1})])),_:1}),r(l,{class:"input-wrap"},{default:o((()=>[r(b,{class:"treatment-input",modelValue:K.principle,"onUpdate:modelValue":a[0]||(a[0]=e=>K.principle=e),type:"text",placeholder:"请输入治疗原则...","placeholder-class":"input-placeholder"},null,8,["modelValue"])])),_:1})])),_:1}),r(l,{class:"field-block"},{default:o((()=>[r(l,{class:"field-label"},{default:o((()=>[r(l,{class:"checklist-icon"}),r(t,null,{default:o((()=>[d("具体治疗措施")])),_:1})])),_:1}),r(l,{class:"measure-list"},{default:o((()=>[(u(!0),p(_,null,f(K.measures,((e,a)=>(u(),c(l,{key:a,class:"measure-row"},{default:o((()=>[r(t,{class:"measure-index"},{default:o((()=>[d(m(a+1),1)])),_:2},1024),r(b,{class:"measure-input",modelValue:K.measures[a],"onUpdate:modelValue":e=>K.measures[a]=e,type:"text",placeholder:`措施 ${a+1}`,"placeholder-class":"input-placeholder"},null,8,["modelValue","onUpdate:modelValue","placeholder"])])),_:2},1024)))),128))])),_:1})])),_:1}),r(l,{class:"field-block"},{default:o((()=>[r(l,{class:"field-label"},{default:o((()=>[r(l,{class:"description-icon"}),r(t,null,{default:o((()=>[d("医嘱")])),_:1})])),_:1}),r(k,{class:"order-input",modelValue:K.orders,"onUpdate:modelValue":a[1]||(a[1]=e=>K.orders=e),placeholder:"请输入医嘱建议...","placeholder-class":"input-placeholder"},null,8,["modelValue"])])),_:1})])),_:1}),r(s,{class:v(["next-button",{submitted:q.value}]),disabled:R.value,onClick:ae},{default:o((()=>[R.value?(u(),c(l,{key:0,class:"spinner"})):h("",!0),r(t,null,{default:o((()=>[d(m(ee.value),1)])),_:1}),R.value||q.value?h("",!0):(u(),c(l,{key:1,class:"arrow-icon"})),q.value?(u(),c(l,{key:2,class:"check-small-icon"})):h("",!0)])),_:1},8,["class","disabled"])])),_:1})])),_:1}),r(l,{class:v(["toast",{visible:D.value}])},{default:o((()=>[d(m(A.value),1)])),_:1},8,["class"])])),_:1})}}}),[["__scopeId","data-v-e1486ff5"]]);export{N as default}; diff --git a/dist/assets/pages-treatment-treatment.Dc9aOAwY.js b/dist/assets/pages-treatment-treatment.Dc9aOAwY.js new file mode 100644 index 0000000..8558a47 --- /dev/null +++ b/dist/assets/pages-treatment-treatment.Dc9aOAwY.js @@ -0,0 +1 @@ +import{d as e,a,r as l,c as s,o as t,b as n,e as u,f as c,w as o,i as r,E as i,j as d,t as m,l as p,m as f,F as _,n as v,g as h,s as b,p as k,z as g,A as w,y,x as j,I as V,N as x}from"./index-DR4MYR5F.js";import{_ as C}from"./config-doctor.TgARj_nM.js";import{r as U}from"./cases.CqwTWi6x.js";import{c as P,a as E,b as I}from"./navigation.DbARx0MO.js";import{F as T,a as F,r as N,f as O}from"./session.EmQEGqqa.js";import{_ as $}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./auth.CseBt7py.js";const M=$(e({__name:"treatment",props:{caseItem:{}},emits:["open-settings","open-profile","go-home"],setup(e,{emit:$}){const M=e,S=$,z=P(S),A=E(S),B=I(S),J=a({principle:"",measures:["",""],orders:""}),K=l(!1),q=l(!1),D=l(""),G=l(!1),H=l(null);let L=null;const Q=s((()=>M.caseItem||H.value)),R=s((()=>{var e;return(null==(e=Q.value)?void 0:e.patientName)||"陈先生"})),W=s((()=>{var e;return(null==(e=Q.value)?void 0:e.gender)||"男"})),X=s((()=>{var e;return(null==(e=Q.value)?void 0:e.age)||60})),Y=s((()=>{var e;return(null==(e=Q.value)?void 0:e.department)||"心血管内科"})),Z=s((()=>{var e;const a=(null==(e=Q.value)?void 0:e.title)||"持续胸痛3小时";return a.includes("胸痛")?"胸痛":a.slice(0,6)})),ee=s((()=>K.value?"提交中...":q.value?"已提交":"下一步"));async function ae(){if(!K.value){K.value=!0;try{const e=O(),a=J.orders.trim(),l={treatmentPrinciple:J.principle,treatmentMeasures:J.measures.map((e=>e.trim())).filter(Boolean).join(";"),riskPlan:a,communication:a,followUp:a},s=await async function(e,a){const l={treatment_principle:a.treatmentPrinciple.trim(),treatment_measures:a.treatmentMeasures.trim(),risk_plan:a.riskPlan.trim(),communication:a.communication.trim(),follow_up:a.followUp.trim()},s=await fetch(`${T}/sessions/${e}/treatment`,{method:"POST",headers:F(),body:JSON.stringify(l)});if(!s.ok)throw new Error(await N(s));const t=await s.json();if("OK"!==t.code)throw new Error(t.message||"治疗方案提交失败");return t.data||l}(e,l);b("clinical-thinking-treatment",s),q.value=!0,k({url:"/pages/assessment/assessment",fail(){q.value=!1,le("进入评价页失败,请重试")}})}catch(e){le(e instanceof Error?e.message:"治疗方案提交失败")}finally{K.value=!1}}}function le(e){L&&clearTimeout(L),D.value=e,G.value=!0,L=setTimeout((()=>{G.value=!1}),2200)}return t((()=>{H.value=U()})),n((()=>{L&&clearTimeout(L)})),(e,a)=>{const l=g,s=w,t=y,n=j,b=V,k=x;return u(),c(l,{class:"treatment-page"},{default:o((()=>[r(l,{class:"treatment-shell"},{default:o((()=>[r(l,{class:"top-nav"},{default:o((()=>[r(s,{class:"icon-button","aria-label":"设置",onClick:i(A)},{default:o((()=>[r(l,{class:"settings-icon"})])),_:1},8,["onClick"]),r(s,{class:"icon-button home-button","aria-label":"首页",onClick:i(B)},{default:o((()=>[r(l,{class:"home-icon"})])),_:1},8,["onClick"]),r(l,{class:"nav-spacer"}),r(s,{class:"icon-button","aria-label":"个人中心",onClick:i(z)},{default:o((()=>[r(l,{class:"account-icon"})])),_:1},8,["onClick"])])),_:1}),r(l,{class:"case-header"},{default:o((()=>[r(t,{class:"case-heading"},{default:o((()=>[d("患者:"+m(R.value)+" ("+m(Z.value)+")",1)])),_:1}),r(l,{class:"patient-meta"},{default:o((()=>[r(t,null,{default:o((()=>[d("姓名:"+m(R.value),1)])),_:1}),r(t,null,{default:o((()=>[d("性别:"+m(W.value),1)])),_:1}),r(t,null,{default:o((()=>[d("年龄:"+m(X.value)+"岁",1)])),_:1}),r(t,null,{default:o((()=>[d("科室:"+m(Y.value),1)])),_:1})])),_:1})])),_:1}),r(l,{class:"treatment-content"},{default:o((()=>[r(l,{class:"stepper"},{default:o((()=>[r(l,{class:"step-line"},{default:o((()=>[r(l,{class:"step-line-active"})])),_:1}),r(l,{class:"step done"},{default:o((()=>[r(l,{class:"step-dot"},{default:o((()=>[r(l,{class:"check-icon"})])),_:1}),r(t,null,{default:o((()=>[d("问诊")])),_:1})])),_:1}),r(l,{class:"step done"},{default:o((()=>[r(l,{class:"step-dot"},{default:o((()=>[r(l,{class:"check-icon"})])),_:1}),r(t,null,{default:o((()=>[d("临床诊断")])),_:1})])),_:1}),r(l,{class:"step active"},{default:o((()=>[r(l,{class:"step-dot"},{default:o((()=>[r(l,{class:"pill-icon"})])),_:1}),r(t,null,{default:o((()=>[d("治疗计划")])),_:1})])),_:1})])),_:1}),r(l,{class:"mentor-card"},{default:o((()=>[r(l,{class:"mentor-avatar"},{default:o((()=>[r(n,{src:C,mode:"aspectFill"})])),_:1}),r(l,{class:"mentor-bubble"},{default:o((()=>[r(t,null,{default:o((()=>[d("王主任建议:请结合患者既往高血压史及突发性胸痛的性质,进行准确诊断。注意鉴别心梗与主动脉夹层。")])),_:1})])),_:1})])),_:1}),r(l,{class:"form-area"},{default:o((()=>[r(l,{class:"field-block"},{default:o((()=>[r(l,{class:"field-label primary"},{default:o((()=>[r(l,{class:"priority-icon"}),r(t,null,{default:o((()=>[d("治疗原则")])),_:1})])),_:1}),r(l,{class:"input-wrap"},{default:o((()=>[r(b,{class:"treatment-input",modelValue:J.principle,"onUpdate:modelValue":a[0]||(a[0]=e=>J.principle=e),type:"text",placeholder:"请输入治疗原则...","placeholder-class":"input-placeholder"},null,8,["modelValue"])])),_:1})])),_:1}),r(l,{class:"field-block"},{default:o((()=>[r(l,{class:"field-label"},{default:o((()=>[r(l,{class:"checklist-icon"}),r(t,null,{default:o((()=>[d("具体治疗措施")])),_:1})])),_:1}),r(l,{class:"measure-list"},{default:o((()=>[(u(!0),p(_,null,f(J.measures,((e,a)=>(u(),c(l,{key:a,class:"measure-row"},{default:o((()=>[r(t,{class:"measure-index"},{default:o((()=>[d(m(a+1),1)])),_:2},1024),r(b,{class:"measure-input",modelValue:J.measures[a],"onUpdate:modelValue":e=>J.measures[a]=e,type:"text",placeholder:`措施 ${a+1}`,"placeholder-class":"input-placeholder"},null,8,["modelValue","onUpdate:modelValue","placeholder"])])),_:2},1024)))),128))])),_:1})])),_:1}),r(l,{class:"field-block"},{default:o((()=>[r(l,{class:"field-label"},{default:o((()=>[r(l,{class:"description-icon"}),r(t,null,{default:o((()=>[d("医嘱")])),_:1})])),_:1}),r(k,{class:"order-input",modelValue:J.orders,"onUpdate:modelValue":a[1]||(a[1]=e=>J.orders=e),placeholder:"请输入医嘱建议...","placeholder-class":"input-placeholder"},null,8,["modelValue"])])),_:1})])),_:1}),r(s,{class:v(["next-button",{submitted:q.value}]),disabled:K.value,onClick:ae},{default:o((()=>[K.value?(u(),c(l,{key:0,class:"spinner"})):h("",!0),r(t,null,{default:o((()=>[d(m(ee.value),1)])),_:1}),K.value||q.value?h("",!0):(u(),c(l,{key:1,class:"arrow-icon"})),q.value?(u(),c(l,{key:2,class:"check-small-icon"})):h("",!0)])),_:1},8,["class","disabled"])])),_:1})])),_:1}),r(l,{class:v(["toast",{visible:G.value}])},{default:o((()=>[d(m(D.value),1)])),_:1},8,["class"])])),_:1})}}}),[["__scopeId","data-v-e1486ff5"]]);export{M as default}; diff --git a/dist/assets/profile-DoOaR7U7.css b/dist/assets/profile-BT4uudyf.css similarity index 62% rename from dist/assets/profile-DoOaR7U7.css rename to dist/assets/profile-BT4uudyf.css index 543ee9f..5718ae3 100644 --- a/dist/assets/profile-DoOaR7U7.css +++ b/dist/assets/profile-BT4uudyf.css @@ -1 +1 @@ -uni-page-body[data-v-9bf28702]{min-height:100%;background:#f9f9ff}body[data-v-9bf28702]{background:#f9f9ff}.profile-page[data-v-9bf28702]{min-height:100vh;background:#f9f9ff;color:#191c21;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent}.profile-shell[data-v-9bf28702]{position:relative;width:380px;max-width:100vw;min-height:922px;margin:0 auto;background:#f9f9ff;overflow:hidden;display:flex;flex-direction:column}.profile-page uni-view[data-v-9bf28702],.profile-page uni-text[data-v-9bf28702],.profile-page uni-button[data-v-9bf28702],.profile-page uni-scroll-view[data-v-9bf28702]{box-sizing:border-box}.profile-page[data-v-9bf28702] ::-webkit-scrollbar{width:0;height:0;background:transparent}.top-app-bar[data-v-9bf28702]{position:sticky;top:0;z-index:50;height:56px;padding:0 20px;border-bottom:1px solid #c2c6d4;background:#f9f9ff;display:flex;align-items:center;justify-content:center;flex:0 0 auto}.page-title[data-v-9bf28702]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#00478d;font-size:20px;line-height:28px;font-weight:600;letter-spacing:0}.top-button[data-v-9bf28702],.mood-button[data-v-9bf28702],.text-link[data-v-9bf28702],.entry-card[data-v-9bf28702]{padding:0;border:0;background:transparent}.top-button[data-v-9bf28702]:after,.mood-button[data-v-9bf28702]:after,.text-link[data-v-9bf28702]:after,.entry-card[data-v-9bf28702]:after{border:0}.top-button[data-v-9bf28702]{position:absolute;top:8px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:2px}.top-button.nav-left[data-v-9bf28702]{left:20px}.top-button.nav-right[data-v-9bf28702]{right:20px}.top-button[data-v-9bf28702]:active{background:#ecedf6;transform:scale(.96)}.profile-scroll[data-v-9bf28702]{flex:1 1 auto;min-height:0}.profile-content[data-v-9bf28702]{padding:24px 20px 96px;display:flex;flex-direction:column;gap:24px}.user-card[data-v-9bf28702],.mood-card[data-v-9bf28702],.medal-card[data-v-9bf28702],.entry-card[data-v-9bf28702],.metric-card[data-v-9bf28702]{border:1px solid #c2c6d4;border-radius:8px;box-shadow:0 1px 4px rgba(25,28,33,.04)}.user-card[data-v-9bf28702]{padding:16px;background:#fff;display:flex;align-items:flex-start;gap:16px}.avatar-wrap[data-v-9bf28702]{position:relative;width:80px;height:80px;flex:0 0 auto}.avatar-image[data-v-9bf28702]{width:80px;height:80px;border:2px solid #005eb8;border-radius:50%}.pro-badge[data-v-9bf28702]{position:absolute;right:-4px;bottom:-4px;padding:2px 6px;border-radius:12px;background:#00478d;color:#fff;font-size:10px;line-height:14px;font-weight:700}.user-copy[data-v-9bf28702]{min-width:0;display:flex;flex-direction:column;gap:4px}.doctor-name[data-v-9bf28702]{color:#191c21;font-size:20px;line-height:28px;font-weight:600}.tag-row[data-v-9bf28702]{display:flex;flex-wrap:wrap;gap:4px}.tag[data-v-9bf28702]{padding:2px 8px;border-radius:2px;font-size:10px;line-height:14px;font-weight:700;letter-spacing:0}.primary-tag[data-v-9bf28702]{background:#d6e3ff;color:#001b3d}.secondary-tag[data-v-9bf28702]{background:#7df4ff;color:#002022}.meta-grid[data-v-9bf28702]{margin-top:8px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px;color:#424752}.meta-item[data-v-9bf28702]{display:flex;align-items:center;gap:4px;min-width:0;font-size:12px;line-height:16px;font-weight:500}.section-block[data-v-9bf28702]{display:flex;flex-direction:column;gap:16px}.section-title-row[data-v-9bf28702]{display:flex;align-items:center;justify-content:space-between}.section-title[data-v-9bf28702]{color:#191c21;font-size:14px;line-height:20px;font-weight:600;letter-spacing:0}.mood-card[data-v-9bf28702]{padding:16px;background:#f2f3fb;display:flex;align-items:center;justify-content:space-between}.sub-label[data-v-9bf28702]{color:#424752;font-size:12px;line-height:16px;font-weight:500}.mood-title[data-v-9bf28702]{display:block;margin-top:4px;color:#00478d;font-size:16px;line-height:24px;font-weight:600}.mood-actions[data-v-9bf28702]{display:flex;gap:8px}.mood-button[data-v-9bf28702]{width:40px;height:40px;border:1px solid #c2c6d4;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(25,28,33,.05);display:flex;align-items:center;justify-content:center}.mood-button.active[data-v-9bf28702]{border-color:#00478d;background:#005eb8;box-shadow:0 2px 8px rgba(0,71,141,.2)}.mood-button[data-v-9bf28702]:active,.entry-card[data-v-9bf28702]:active{transform:scale(.96)}.medal-card[data-v-9bf28702]{padding:16px;background:#fff;overflow:hidden}.medal-head[data-v-9bf28702]{margin-bottom:16px;display:flex;align-items:center;justify-content:space-between}.text-link[data-v-9bf28702]{color:#00478d;font-size:10px;line-height:14px;font-weight:700}.medal-list[data-v-9bf28702]{padding:0 8px;display:flex;align-items:center;justify-content:space-between}.medal-item[data-v-9bf28702]{display:flex;flex-direction:column;align-items:center;gap:4px;color:#191c21;font-size:10px;line-height:14px;font-weight:700}.medal-circle[data-v-9bf28702]{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 1px 4px rgba(25,28,33,.12)}.medal-circle.tertiary[data-v-9bf28702]{border:2px solid #793100;background:#ffdbcb}.medal-circle.secondary[data-v-9bf28702]{border:2px solid #006970;background:#7af1fc}.medal-circle.primary[data-v-9bf28702]{border:2px solid #00478d;background:#d6e3ff}.action-stack[data-v-9bf28702]{display:flex;flex-direction:column;gap:16px}.entry-card[data-v-9bf28702]{width:100%;padding:16px;display:flex;align-items:center;justify-content:space-between;text-align:left}.entry-card.record[data-v-9bf28702]{border-color:#727783;background:#e1e2ea}.entry-card.analysis[data-v-9bf28702]{border-color:#c2c6d4;background:#fff}.entry-main[data-v-9bf28702]{display:flex;align-items:center;gap:16px}.entry-icon-wrap[data-v-9bf28702]{width:40px;height:40px;border-radius:2px;display:flex;align-items:center;justify-content:center}.record .entry-icon-wrap[data-v-9bf28702]{background:#00478d}.analysis .entry-icon-wrap[data-v-9bf28702]{background:#7af1fc}.entry-copy[data-v-9bf28702]{display:flex;flex-direction:column;gap:2px}.entry-title[data-v-9bf28702]{color:#191c21;font-size:14px;line-height:20px;font-weight:600}.entry-desc[data-v-9bf28702]{color:#424752;font-size:11px;line-height:16px}.metric-grid[data-v-9bf28702]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.metric-card[data-v-9bf28702]{min-height:104px;padding:16px;background:#fff;display:flex;flex-direction:column;justify-content:space-between}.metric-value-row[data-v-9bf28702]{display:flex;align-items:baseline;gap:8px;min-height:34px}.metric-value[data-v-9bf28702]{color:#00478d;font-size:24px;line-height:32px;font-weight:700}.metric-badge[data-v-9bf28702]{padding:1px 4px;border-radius:2px;background:#7af1fc;color:#006e75;font-size:10px;line-height:14px}.metric-unit[data-v-9bf28702]{color:#424752;font-size:12px;line-height:16px;font-weight:500}.mini-progress[data-v-9bf28702]{width:32px;height:4px;border-radius:999px;background:#d8dae2;overflow:hidden}.mini-progress-fill[data-v-9bf28702]{height:100%;border-radius:inherit;background:#00478d}.home-icon[data-v-9bf28702],.settings-icon[data-v-9bf28702],.meta-icon[data-v-9bf28702],.mood-icon[data-v-9bf28702],.medal-icon[data-v-9bf28702],.entry-icon[data-v-9bf28702],.chevron-icon[data-v-9bf28702],.trend-icon[data-v-9bf28702]{background:#00478d;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:contain;mask-position:center;mask-repeat:no-repeat;mask-size:contain}.home-icon[data-v-9bf28702],.settings-icon[data-v-9bf28702]{width:24px;height:24px}.home-icon[data-v-9bf28702]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10%2020v-6h4v6h5v-8h3L12%203%202%2012h3v8h5z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10%2020v-6h4v6h5v-8h3L12%203%202%2012h3v8h5z'/%3E%3C/svg%3E")}.settings-icon[data-v-9bf28702]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M19.43%2012.98c.04-.32.07-.65.07-.98s-.02-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.37-.31-.6-.22l-2.49%201c-.52-.4-1.08-.73-1.69-.98L14.5%202.42C14.47%202.18%2014.25%202%2014%202h-4c-.25%200-.46.18-.5.42l-.38%202.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.08-.48%200-.6.22l-2%203.46c-.13.22-.07.49.12.64l2.11%201.65c-.04.32-.08.65-.08.98s.03.66.08.98l-2.11%201.65c-.19.15-.24.42-.12.64l2%203.46c.12.22.37.31.6.22l2.49-1c.52.4%201.08.73%201.69.98l.38%202.65c.04.24.25.42.5.42h4c.25%200%20.46-.18.5-.42l.38-2.65c.61-.25%201.17-.58%201.69-.98l2.49%201c.23.08.48%200%20.6-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12%2015.5A3.5%203.5%200%201%201%2012%208a3.5%203.5%200%200%201%200%207.5z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M19.43%2012.98c.04-.32.07-.65.07-.98s-.02-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.37-.31-.6-.22l-2.49%201c-.52-.4-1.08-.73-1.69-.98L14.5%202.42C14.47%202.18%2014.25%202%2014%202h-4c-.25%200-.46.18-.5.42l-.38%202.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.08-.48%200-.6.22l-2%203.46c-.13.22-.07.49.12.64l2.11%201.65c-.04.32-.08.65-.08.98s.03.66.08.98l-2.11%201.65c-.19.15-.24.42-.12.64l2%203.46c.12.22.37.31.6.22l2.49-1c.52.4%201.08.73%201.69.98l.38%202.65c.04.24.25.42.5.42h4c.25%200%20.46-.18.5-.42l.38-2.65c.61-.25%201.17-.58%201.69-.98l2.49%201c.23.08.48%200%20.6-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12%2015.5A3.5%203.5%200%201%201%2012%208a3.5%203.5%200%200%201%200%207.5z'/%3E%3C/svg%3E")}.meta-icon[data-v-9bf28702]{width:14px;height:14px;background:#424752;flex:0 0 auto}.location-icon[data-v-9bf28702]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a7%207%200%200%200-7%207c0%205.25%207%2013%207%2013s7-7.75%207-13a7%207%200%200%200-7-7zm0%209.5A2.5%202.5%200%201%201%2012%206a2.5%202.5%200%200%201%200%205.5z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a7%207%200%200%200-7%207c0%205.25%207%2013%207%2013s7-7.75%207-13a7%207%200%200%200-7-7zm0%209.5A2.5%202.5%200%201%201%2012%206a2.5%202.5%200%200%201%200%205.5z'/%3E%3C/svg%3E")}.school-icon[data-v-9bf28702],.premium-icon[data-v-9bf28702]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%203L1%209l11%206%209-4.91V17h2V9L12%203zm0%2014L5%2013.18V17l7%204%207-4v-3.82L12%2017z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%203L1%209l11%206%209-4.91V17h2V9L12%203zm0%2014L5%2013.18V17l7%204%207-4v-3.82L12%2017z'/%3E%3C/svg%3E")}.calendar-icon[data-v-9bf28702]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M7%202h2v2h6V2h2v2h3a2%202%200%200%201%202%202v14a2%202%200%200%201-2%202H4a2%202%200%200%201-2-2V6a2%202%200%200%201%202-2h3V2zm13%208H4v10h16V10z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M7%202h2v2h6V2h2v2h3a2%202%200%200%201%202%202v14a2%202%200%200%201-2%202H4a2%202%200%200%201-2-2V6a2%202%200%200%201%202-2h3V2zm13%208H4v10h16V10z'/%3E%3C/svg%3E")}.timer-icon[data-v-9bf28702]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M15%201h-6v2h6V1zm-2%2012V7h-2v7h5v-2h-3zm-1-9a9%209%200%201%200%200%2018%209%209%200%200%200%200-18z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M15%201h-6v2h6V1zm-2%2012V7h-2v7h5v-2h-3zm-1-9a9%209%200%201%200%200%2018%209%209%200%200%200%200-18z'/%3E%3C/svg%3E")}.mood-icon[data-v-9bf28702]{width:22px;height:22px;background:#424752}.mood-button.active .mood-icon[data-v-9bf28702]{background:#fff}.satisfied-icon[data-v-9bf28702]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20zM8%209.5A1.5%201.5%200%201%201%208%206.5a1.5%201.5%200%200%201%200%203zm8%200a1.5%201.5%200%201%201%200-3%201.5%201.5%200%200%201%200%203zM12%2017.5A5.5%205.5%200%200%201%206.8%2014h10.4a5.5%205.5%200%200%201-5.2%203.5z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20zM8%209.5A1.5%201.5%200%201%201%208%206.5a1.5%201.5%200%200%201%200%203zm8%200a1.5%201.5%200%201%201%200-3%201.5%201.5%200%200%201%200%203zM12%2017.5A5.5%205.5%200%200%201%206.8%2014h10.4a5.5%205.5%200%200%201-5.2%203.5z'/%3E%3C/svg%3E")}.bolt-icon[data-v-9bf28702]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M7%202v11h3v9l7-12h-4l4-8H7z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M7%202v11h3v9l7-12h-4l4-8H7z'/%3E%3C/svg%3E")}.self-icon[data-v-9bf28702]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a3%203%200%201%201%200%206%203%203%200%200%201%200-6zm-7%2018c1-3.5%203.2-6%207-6s6%202.5%207%206h-2.2c-.8-2.1-2.3-4-4.8-4s-4%201.9-4.8%204H5zm-2-7l4-3%201.2%201.6L5%2014h4v2H3v-3zm18%200v3h-6v-2h4l-3.2-2.4L17%2010l4%203z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a3%203%200%201%201%200%206%203%203%200%200%201%200-6zm-7%2018c1-3.5%203.2-6%207-6s6%202.5%207%206h-2.2c-.8-2.1-2.3-4-4.8-4s-4%201.9-4.8%204H5zm-2-7l4-3%201.2%201.6L5%2014h4v2H3v-3zm18%200v3h-6v-2h4l-3.2-2.4L17%2010l4%203z'/%3E%3C/svg%3E")}.medal-icon[data-v-9bf28702]{width:28px;height:28px}.tertiary .medal-icon[data-v-9bf28702]{background:#793100}.secondary .medal-icon[data-v-9bf28702]{background:#006970}.primary .medal-icon[data-v-9bf28702]{background:#00478d}.medical-icon[data-v-9bf28702]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M19%203h-3.18C15.4%201.84%2014.3%201%2013%201h-2C9.7%201%208.6%201.84%208.18%203H5a2%202%200%200%200-2%202v15a2%202%200%200%200%202%202h14a2%202%200%200%200%202-2V5a2%202%200%200%200-2-2zm-8%200h2v2h-2V3zm4%2010h-2v2h-2v-2H9v-2h2V9h2v2h2v2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M19%203h-3.18C15.4%201.84%2014.3%201%2013%201h-2C9.7%201%208.6%201.84%208.18%203H5a2%202%200%200%200-2%202v15a2%202%200%200%200%202%202h14a2%202%200%200%200%202-2V5a2%202%200%200%200-2-2zm-8%200h2v2h-2V3zm4%2010h-2v2h-2v-2H9v-2h2V9h2v2h2v2z'/%3E%3C/svg%3E")}.history-icon[data-v-9bf28702]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M14%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V8l-6-6zm0%207V3.5L18.5%209H14zm-2%209l-4-4%201.41-1.41L12%2015.17l4.59-4.59L18%2012l-6%206z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M14%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V8l-6-6zm0%207V3.5L18.5%209H14zm-2%209l-4-4%201.41-1.41L12%2015.17l4.59-4.59L18%2012l-6%206z'/%3E%3C/svg%3E")}.entry-icon[data-v-9bf28702]{width:24px;height:24px}.record .entry-icon[data-v-9bf28702]{background:#fff}.analysis .entry-icon[data-v-9bf28702]{background:#006e75}.analytics-icon[data-v-9bf28702]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M3%203h2v18H3V3zm16%207h2v11h-2V10zM8%2013h2v8H8v-8zm5-6h2v14h-2V7z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M3%203h2v18H3V3zm16%207h2v11h-2V10zM8%2013h2v8H8v-8zm5-6h2v14h-2V7z'/%3E%3C/svg%3E")}.insights-icon[data-v-9bf28702]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9%2022h6v-2H9v2zm3-20a7%207%200%200%200-4%2012.74V17a1%201%200%200%200%201%201h6a1%201%200%200%200%201-1v-2.26A7%207%200%200%200%2012%202zm2.85%2011.1l-.85.57V16h-4v-2.33l-.85-.57A5%205%200%201%201%2014.85%2013.1z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9%2022h6v-2H9v2zm3-20a7%207%200%200%200-4%2012.74V17a1%201%200%200%200%201%201h6a1%201%200%200%200%201-1v-2.26A7%207%200%200%200%2012%202zm2.85%2011.1l-.85.57V16h-4v-2.33l-.85-.57A5%205%200%201%201%2014.85%2013.1z'/%3E%3C/svg%3E")}.chevron-icon[data-v-9bf28702]{width:24px;height:24px;background:#424752;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10%206L8.59%207.41%2013.17%2012l-4.58%204.59L10%2018l6-6-6-6z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10%206L8.59%207.41%2013.17%2012l-4.58%204.59L10%2018l6-6-6-6z'/%3E%3C/svg%3E");transition:transform .2s ease}.entry-card:active .chevron-icon[data-v-9bf28702]{transform:translate(4px)}.trend-icon[data-v-9bf28702]{width:16px;height:16px;background:#006e75;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M16%206l2.29%202.29-4.88%204.88-4-4L2%2016.59%203.41%2018l6-6%204%204%206.3-6.29L22%2012V6h-6z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M16%206l2.29%202.29-4.88%204.88-4-4L2%2016.59%203.41%2018l6-6%204%204%206.3-6.29L22%2012V6h-6z'/%3E%3C/svg%3E")}.toast[data-v-9bf28702]{position:fixed;left:50%;bottom:96px;z-index:100;max-width:300px;padding:10px 18px;border-radius:12px;background:#2e3037;color:#eff0f8;font-size:14px;line-height:20px;font-weight:600;text-align:center;pointer-events:none;opacity:0;transform:translate(-50%,16px);transition:opacity .3s ease,transform .3s ease}.toast.visible[data-v-9bf28702]{opacity:1;transform:translate(-50%)}@media (min-width: 768px){.profile-page[data-v-9bf28702]{display:flex;justify-content:center;background:#d8dae2}.profile-shell[data-v-9bf28702]{box-shadow:0 24px 64px rgba(25,28,33,.18);border-left:1px solid #c2c6d4;border-right:1px solid #c2c6d4}} +uni-page-body[data-v-b88301c5]{min-height:100%;background:#f9f9ff}body[data-v-b88301c5]{background:#f9f9ff}.profile-page[data-v-b88301c5]{min-height:100vh;background:#f9f9ff;color:#191c21;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent}.profile-shell[data-v-b88301c5]{position:relative;width:380px;max-width:100vw;min-height:922px;margin:0 auto;background:#f9f9ff;overflow:hidden;display:flex;flex-direction:column}.profile-page uni-view[data-v-b88301c5],.profile-page uni-text[data-v-b88301c5],.profile-page uni-button[data-v-b88301c5],.profile-page uni-scroll-view[data-v-b88301c5]{box-sizing:border-box}.profile-page[data-v-b88301c5] ::-webkit-scrollbar{width:0;height:0;background:transparent}.top-app-bar[data-v-b88301c5]{position:sticky;top:0;z-index:50;height:56px;padding:0 20px;border-bottom:1px solid #c2c6d4;background:#f9f9ff;display:flex;align-items:center;justify-content:center;flex:0 0 auto}.page-title[data-v-b88301c5]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#00478d;font-size:20px;line-height:28px;font-weight:600;letter-spacing:0}.top-button[data-v-b88301c5],.mood-button[data-v-b88301c5],.text-link[data-v-b88301c5],.entry-card[data-v-b88301c5]{padding:0;border:0;background:transparent}.top-button[data-v-b88301c5]:after,.mood-button[data-v-b88301c5]:after,.text-link[data-v-b88301c5]:after,.entry-card[data-v-b88301c5]:after{border:0}.top-button[data-v-b88301c5]{position:absolute;top:8px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:2px}.top-button.nav-left[data-v-b88301c5]{left:20px}.top-button.nav-right[data-v-b88301c5]{right:20px}.top-button[data-v-b88301c5]:active{background:#ecedf6;transform:scale(.96)}.profile-scroll[data-v-b88301c5]{flex:1 1 auto;min-height:0}.profile-content[data-v-b88301c5]{padding:24px 20px 96px;display:flex;flex-direction:column;gap:24px}.user-card[data-v-b88301c5],.mood-card[data-v-b88301c5],.medal-card[data-v-b88301c5],.entry-card[data-v-b88301c5],.metric-card[data-v-b88301c5]{border:1px solid #c2c6d4;border-radius:8px;box-shadow:0 1px 4px rgba(25,28,33,.04)}.user-card[data-v-b88301c5]{padding:16px;background:#fff;display:flex;align-items:flex-start;gap:16px}.avatar-wrap[data-v-b88301c5]{position:relative;width:80px;height:80px;flex:0 0 auto}.avatar-image[data-v-b88301c5]{width:80px;height:80px;border:2px solid #005eb8;border-radius:50%}.pro-badge[data-v-b88301c5]{position:absolute;right:-4px;bottom:-4px;padding:2px 6px;border-radius:12px;background:#00478d;color:#fff;font-size:10px;line-height:14px;font-weight:700}.user-copy[data-v-b88301c5]{min-width:0;display:flex;flex-direction:column;gap:4px}.doctor-name[data-v-b88301c5]{color:#191c21;font-size:20px;line-height:28px;font-weight:600}.tag-row[data-v-b88301c5]{display:flex;flex-wrap:wrap;gap:4px}.tag[data-v-b88301c5]{padding:2px 8px;border-radius:2px;font-size:10px;line-height:14px;font-weight:700;letter-spacing:0}.primary-tag[data-v-b88301c5]{background:#d6e3ff;color:#001b3d}.secondary-tag[data-v-b88301c5]{background:#7df4ff;color:#002022}.meta-grid[data-v-b88301c5]{margin-top:8px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px;color:#424752}.meta-item[data-v-b88301c5]{display:flex;align-items:center;gap:4px;min-width:0;font-size:12px;line-height:16px;font-weight:500}.section-block[data-v-b88301c5]{display:flex;flex-direction:column;gap:16px}.section-title-row[data-v-b88301c5]{display:flex;align-items:center;justify-content:space-between}.section-title[data-v-b88301c5]{color:#191c21;font-size:14px;line-height:20px;font-weight:600;letter-spacing:0}.mood-card[data-v-b88301c5]{padding:16px;background:#f2f3fb;display:flex;align-items:center;justify-content:space-between}.sub-label[data-v-b88301c5]{color:#424752;font-size:12px;line-height:16px;font-weight:500}.mood-title[data-v-b88301c5]{display:block;margin-top:4px;color:#00478d;font-size:16px;line-height:24px;font-weight:600}.mood-actions[data-v-b88301c5]{display:flex;gap:8px}.mood-button[data-v-b88301c5]{width:40px;height:40px;border:1px solid #c2c6d4;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(25,28,33,.05);display:flex;align-items:center;justify-content:center}.mood-button.active[data-v-b88301c5]{border-color:#00478d;background:#005eb8;box-shadow:0 2px 8px rgba(0,71,141,.2)}.mood-button[data-v-b88301c5]:active,.entry-card[data-v-b88301c5]:active{transform:scale(.96)}.medal-card[data-v-b88301c5]{padding:16px;background:#fff;overflow:hidden}.medal-head[data-v-b88301c5]{margin-bottom:16px;display:flex;align-items:center;justify-content:space-between}.text-link[data-v-b88301c5]{color:#00478d;font-size:10px;line-height:14px;font-weight:700}.medal-list[data-v-b88301c5]{padding:0 8px;display:flex;align-items:center;justify-content:space-between}.medal-item[data-v-b88301c5]{display:flex;flex-direction:column;align-items:center;gap:4px;color:#191c21;font-size:10px;line-height:14px;font-weight:700}.medal-circle[data-v-b88301c5]{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 1px 4px rgba(25,28,33,.12)}.medal-circle.tertiary[data-v-b88301c5]{border:2px solid #793100;background:#ffdbcb}.medal-circle.secondary[data-v-b88301c5]{border:2px solid #006970;background:#7af1fc}.medal-circle.primary[data-v-b88301c5]{border:2px solid #00478d;background:#d6e3ff}.action-stack[data-v-b88301c5]{display:flex;flex-direction:column;gap:16px}.entry-card[data-v-b88301c5]{width:100%;padding:16px;display:flex;align-items:center;justify-content:space-between;text-align:left}.entry-card.record[data-v-b88301c5]{border-color:#727783;background:#e1e2ea}.entry-card.analysis[data-v-b88301c5]{border-color:#c2c6d4;background:#fff}.entry-main[data-v-b88301c5]{display:flex;align-items:center;gap:16px}.entry-icon-wrap[data-v-b88301c5]{width:40px;height:40px;border-radius:2px;display:flex;align-items:center;justify-content:center}.record .entry-icon-wrap[data-v-b88301c5]{background:#00478d}.analysis .entry-icon-wrap[data-v-b88301c5]{background:#7af1fc}.entry-copy[data-v-b88301c5]{display:flex;flex-direction:column;gap:2px}.entry-title[data-v-b88301c5]{color:#191c21;font-size:14px;line-height:20px;font-weight:600}.entry-desc[data-v-b88301c5]{color:#424752;font-size:11px;line-height:16px}.metric-grid[data-v-b88301c5]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.metric-card[data-v-b88301c5]{min-height:104px;padding:16px;background:#fff;display:flex;flex-direction:column;justify-content:space-between}.metric-value-row[data-v-b88301c5]{display:flex;align-items:baseline;gap:8px;min-height:34px}.metric-value[data-v-b88301c5]{color:#00478d;font-size:24px;line-height:32px;font-weight:700}.metric-badge[data-v-b88301c5]{padding:1px 4px;border-radius:2px;background:#7af1fc;color:#006e75;font-size:10px;line-height:14px}.metric-unit[data-v-b88301c5]{color:#424752;font-size:12px;line-height:16px;font-weight:500}.mini-progress[data-v-b88301c5]{width:32px;height:4px;border-radius:999px;background:#d8dae2;overflow:hidden}.mini-progress-fill[data-v-b88301c5]{height:100%;border-radius:inherit;background:#00478d}.home-icon[data-v-b88301c5],.settings-icon[data-v-b88301c5],.meta-icon[data-v-b88301c5],.mood-icon[data-v-b88301c5],.medal-icon[data-v-b88301c5],.entry-icon[data-v-b88301c5],.chevron-icon[data-v-b88301c5],.trend-icon[data-v-b88301c5]{background:#00478d;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:contain;mask-position:center;mask-repeat:no-repeat;mask-size:contain}.home-icon[data-v-b88301c5],.settings-icon[data-v-b88301c5]{width:24px;height:24px}.home-icon[data-v-b88301c5]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10%2020v-6h4v6h5v-8h3L12%203%202%2012h3v8h5z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10%2020v-6h4v6h5v-8h3L12%203%202%2012h3v8h5z'/%3E%3C/svg%3E")}.settings-icon[data-v-b88301c5]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M19.43%2012.98c.04-.32.07-.65.07-.98s-.02-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.37-.31-.6-.22l-2.49%201c-.52-.4-1.08-.73-1.69-.98L14.5%202.42C14.47%202.18%2014.25%202%2014%202h-4c-.25%200-.46.18-.5.42l-.38%202.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.08-.48%200-.6.22l-2%203.46c-.13.22-.07.49.12.64l2.11%201.65c-.04.32-.08.65-.08.98s.03.66.08.98l-2.11%201.65c-.19.15-.24.42-.12.64l2%203.46c.12.22.37.31.6.22l2.49-1c.52.4%201.08.73%201.69.98l.38%202.65c.04.24.25.42.5.42h4c.25%200%20.46-.18.5-.42l.38-2.65c.61-.25%201.17-.58%201.69-.98l2.49%201c.23.08.48%200%20.6-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12%2015.5A3.5%203.5%200%201%201%2012%208a3.5%203.5%200%200%201%200%207.5z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M19.43%2012.98c.04-.32.07-.65.07-.98s-.02-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.37-.31-.6-.22l-2.49%201c-.52-.4-1.08-.73-1.69-.98L14.5%202.42C14.47%202.18%2014.25%202%2014%202h-4c-.25%200-.46.18-.5.42l-.38%202.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.08-.48%200-.6.22l-2%203.46c-.13.22-.07.49.12.64l2.11%201.65c-.04.32-.08.65-.08.98s.03.66.08.98l-2.11%201.65c-.19.15-.24.42-.12.64l2%203.46c.12.22.37.31.6.22l2.49-1c.52.4%201.08.73%201.69.98l.38%202.65c.04.24.25.42.5.42h4c.25%200%20.46-.18.5-.42l.38-2.65c.61-.25%201.17-.58%201.69-.98l2.49%201c.23.08.48%200%20.6-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12%2015.5A3.5%203.5%200%201%201%2012%208a3.5%203.5%200%200%201%200%207.5z'/%3E%3C/svg%3E")}.meta-icon[data-v-b88301c5]{width:14px;height:14px;background:#424752;flex:0 0 auto}.location-icon[data-v-b88301c5]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a7%207%200%200%200-7%207c0%205.25%207%2013%207%2013s7-7.75%207-13a7%207%200%200%200-7-7zm0%209.5A2.5%202.5%200%201%201%2012%206a2.5%202.5%200%200%201%200%205.5z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a7%207%200%200%200-7%207c0%205.25%207%2013%207%2013s7-7.75%207-13a7%207%200%200%200-7-7zm0%209.5A2.5%202.5%200%201%201%2012%206a2.5%202.5%200%200%201%200%205.5z'/%3E%3C/svg%3E")}.school-icon[data-v-b88301c5],.premium-icon[data-v-b88301c5]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%203L1%209l11%206%209-4.91V17h2V9L12%203zm0%2014L5%2013.18V17l7%204%207-4v-3.82L12%2017z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%203L1%209l11%206%209-4.91V17h2V9L12%203zm0%2014L5%2013.18V17l7%204%207-4v-3.82L12%2017z'/%3E%3C/svg%3E")}.calendar-icon[data-v-b88301c5]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M7%202h2v2h6V2h2v2h3a2%202%200%200%201%202%202v14a2%202%200%200%201-2%202H4a2%202%200%200%201-2-2V6a2%202%200%200%201%202-2h3V2zm13%208H4v10h16V10z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M7%202h2v2h6V2h2v2h3a2%202%200%200%201%202%202v14a2%202%200%200%201-2%202H4a2%202%200%200%201-2-2V6a2%202%200%200%201%202-2h3V2zm13%208H4v10h16V10z'/%3E%3C/svg%3E")}.timer-icon[data-v-b88301c5]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M15%201h-6v2h6V1zm-2%2012V7h-2v7h5v-2h-3zm-1-9a9%209%200%201%200%200%2018%209%209%200%200%200%200-18z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M15%201h-6v2h6V1zm-2%2012V7h-2v7h5v-2h-3zm-1-9a9%209%200%201%200%200%2018%209%209%200%200%200%200-18z'/%3E%3C/svg%3E")}.mood-icon[data-v-b88301c5]{width:22px;height:22px;background:#424752}.mood-button.active .mood-icon[data-v-b88301c5]{background:#fff}.satisfied-icon[data-v-b88301c5]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20zM8%209.5A1.5%201.5%200%201%201%208%206.5a1.5%201.5%200%200%201%200%203zm8%200a1.5%201.5%200%201%201%200-3%201.5%201.5%200%200%201%200%203zM12%2017.5A5.5%205.5%200%200%201%206.8%2014h10.4a5.5%205.5%200%200%201-5.2%203.5z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20zM8%209.5A1.5%201.5%200%201%201%208%206.5a1.5%201.5%200%200%201%200%203zm8%200a1.5%201.5%200%201%201%200-3%201.5%201.5%200%200%201%200%203zM12%2017.5A5.5%205.5%200%200%201%206.8%2014h10.4a5.5%205.5%200%200%201-5.2%203.5z'/%3E%3C/svg%3E")}.bolt-icon[data-v-b88301c5]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M7%202v11h3v9l7-12h-4l4-8H7z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M7%202v11h3v9l7-12h-4l4-8H7z'/%3E%3C/svg%3E")}.self-icon[data-v-b88301c5]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a3%203%200%201%201%200%206%203%203%200%200%201%200-6zm-7%2018c1-3.5%203.2-6%207-6s6%202.5%207%206h-2.2c-.8-2.1-2.3-4-4.8-4s-4%201.9-4.8%204H5zm-2-7l4-3%201.2%201.6L5%2014h4v2H3v-3zm18%200v3h-6v-2h4l-3.2-2.4L17%2010l4%203z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a3%203%200%201%201%200%206%203%203%200%200%201%200-6zm-7%2018c1-3.5%203.2-6%207-6s6%202.5%207%206h-2.2c-.8-2.1-2.3-4-4.8-4s-4%201.9-4.8%204H5zm-2-7l4-3%201.2%201.6L5%2014h4v2H3v-3zm18%200v3h-6v-2h4l-3.2-2.4L17%2010l4%203z'/%3E%3C/svg%3E")}.medal-icon[data-v-b88301c5]{width:28px;height:28px}.tertiary .medal-icon[data-v-b88301c5]{background:#793100}.secondary .medal-icon[data-v-b88301c5]{background:#006970}.primary .medal-icon[data-v-b88301c5]{background:#00478d}.medical-icon[data-v-b88301c5]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M19%203h-3.18C15.4%201.84%2014.3%201%2013%201h-2C9.7%201%208.6%201.84%208.18%203H5a2%202%200%200%200-2%202v15a2%202%200%200%200%202%202h14a2%202%200%200%200%202-2V5a2%202%200%200%200-2-2zm-8%200h2v2h-2V3zm4%2010h-2v2h-2v-2H9v-2h2V9h2v2h2v2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M19%203h-3.18C15.4%201.84%2014.3%201%2013%201h-2C9.7%201%208.6%201.84%208.18%203H5a2%202%200%200%200-2%202v15a2%202%200%200%200%202%202h14a2%202%200%200%200%202-2V5a2%202%200%200%200-2-2zm-8%200h2v2h-2V3zm4%2010h-2v2h-2v-2H9v-2h2V9h2v2h2v2z'/%3E%3C/svg%3E")}.history-icon[data-v-b88301c5]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M14%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V8l-6-6zm0%207V3.5L18.5%209H14zm-2%209l-4-4%201.41-1.41L12%2015.17l4.59-4.59L18%2012l-6%206z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M14%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V8l-6-6zm0%207V3.5L18.5%209H14zm-2%209l-4-4%201.41-1.41L12%2015.17l4.59-4.59L18%2012l-6%206z'/%3E%3C/svg%3E")}.entry-icon[data-v-b88301c5]{width:24px;height:24px}.record .entry-icon[data-v-b88301c5]{background:#fff}.analysis .entry-icon[data-v-b88301c5]{background:#006e75}.analytics-icon[data-v-b88301c5]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M3%203h2v18H3V3zm16%207h2v11h-2V10zM8%2013h2v8H8v-8zm5-6h2v14h-2V7z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M3%203h2v18H3V3zm16%207h2v11h-2V10zM8%2013h2v8H8v-8zm5-6h2v14h-2V7z'/%3E%3C/svg%3E")}.insights-icon[data-v-b88301c5]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9%2022h6v-2H9v2zm3-20a7%207%200%200%200-4%2012.74V17a1%201%200%200%200%201%201h6a1%201%200%200%200%201-1v-2.26A7%207%200%200%200%2012%202zm2.85%2011.1l-.85.57V16h-4v-2.33l-.85-.57A5%205%200%201%201%2014.85%2013.1z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9%2022h6v-2H9v2zm3-20a7%207%200%200%200-4%2012.74V17a1%201%200%200%200%201%201h6a1%201%200%200%200%201-1v-2.26A7%207%200%200%200%2012%202zm2.85%2011.1l-.85.57V16h-4v-2.33l-.85-.57A5%205%200%201%201%2014.85%2013.1z'/%3E%3C/svg%3E")}.chevron-icon[data-v-b88301c5]{width:24px;height:24px;background:#424752;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10%206L8.59%207.41%2013.17%2012l-4.58%204.59L10%2018l6-6-6-6z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10%206L8.59%207.41%2013.17%2012l-4.58%204.59L10%2018l6-6-6-6z'/%3E%3C/svg%3E");transition:transform .2s ease}.entry-card:active .chevron-icon[data-v-b88301c5]{transform:translate(4px)}.trend-icon[data-v-b88301c5]{width:16px;height:16px;background:#006e75;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M16%206l2.29%202.29-4.88%204.88-4-4L2%2016.59%203.41%2018l6-6%204%204%206.3-6.29L22%2012V6h-6z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M16%206l2.29%202.29-4.88%204.88-4-4L2%2016.59%203.41%2018l6-6%204%204%206.3-6.29L22%2012V6h-6z'/%3E%3C/svg%3E")}.toast[data-v-b88301c5]{position:fixed;left:50%;bottom:96px;z-index:100;max-width:300px;padding:10px 18px;border-radius:12px;background:#2e3037;color:#eff0f8;font-size:14px;line-height:20px;font-weight:600;text-align:center;pointer-events:none;opacity:0;transform:translate(-50%,16px);transition:opacity .3s ease,transform .3s ease}.toast.visible[data-v-b88301c5]{opacity:1;transform:translate(-50%)}@media (min-width: 768px){.profile-page[data-v-b88301c5]{display:flex;justify-content:center;background:#d8dae2}.profile-shell[data-v-b88301c5]{box-shadow:0 24px 64px rgba(25,28,33,.18);border-left:1px solid #c2c6d4;border-right:1px solid #c2c6d4}} diff --git a/dist/assets/profile-analysis-Bo0Oy0p7.css b/dist/assets/profile-analysis-Bo0Oy0p7.css new file mode 100644 index 0000000..f8713ad --- /dev/null +++ b/dist/assets/profile-analysis-Bo0Oy0p7.css @@ -0,0 +1 @@ +uni-page-body[data-v-e3b47e11]{min-height:100%;background:#f9f9ff}body[data-v-e3b47e11]{background:#f9f9ff}.analysis-page[data-v-e3b47e11]{width:100%;min-height:100vh;background:#f9f9ff;color:#191c21;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent}.analysis-shell[data-v-e3b47e11]{position:relative;width:100%;max-width:none;min-height:100vh;margin:0;background:#f9f9ff;overflow:hidden;display:flex;flex-direction:column}.analysis-page uni-view[data-v-e3b47e11],.analysis-page uni-text[data-v-e3b47e11],.analysis-page uni-button[data-v-e3b47e11],.analysis-page uni-scroll-view[data-v-e3b47e11]{box-sizing:border-box}.analysis-page[data-v-e3b47e11] ::-webkit-scrollbar{width:0;height:0;background:transparent}.top-bar[data-v-e3b47e11]{position:sticky;top:0;z-index:50;height:56px;padding:0 16px;border-bottom:1px solid rgba(194,198,212,.3);background:rgba(249,249,255,.82);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:center;flex:0 0 auto}.page-title[data-v-e3b47e11]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#00478d;font-size:20px;line-height:28px;font-weight:600;letter-spacing:0}.icon-button[data-v-e3b47e11]{position:absolute;left:16px;top:8px;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:transparent;display:flex;align-items:center;justify-content:center}.icon-button[data-v-e3b47e11]:after{border:0}.icon-button[data-v-e3b47e11]:active{background:rgba(225,226,234,.5)}.back-icon[data-v-e3b47e11],.trend-icon[data-v-e3b47e11],.chart-icon[data-v-e3b47e11],.radar-icon[data-v-e3b47e11],.book-icon[data-v-e3b47e11],.brain-icon[data-v-e3b47e11],.chevron-icon[data-v-e3b47e11]{background:#00478d;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:contain;mask-position:center;mask-repeat:no-repeat;mask-size:contain}.back-icon[data-v-e3b47e11]{width:24px;height:24px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M20%2011H7.83l5.59-5.59L12%204l-8%208%208%208%201.42-1.41L7.83%2013H20v-2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M20%2011H7.83l5.59-5.59L12%204l-8%208%208%208%201.42-1.41L7.83%2013H20v-2z'/%3E%3C/svg%3E")}.analysis-scroll[data-v-e3b47e11]{flex:1 1 auto;min-height:0}.analysis-main[data-v-e3b47e11]{width:100%;max-width:none;margin:0;padding:24px 24px 96px;display:flex;flex-direction:column;gap:24px}.fade-section[data-v-e3b47e11]{opacity:0;transform:translateY(10px);transition:.4s ease-out}.fade-section.visible[data-v-e3b47e11]{opacity:1;transform:translateY(0)}.summary-card[data-v-e3b47e11],.chart-card[data-v-e3b47e11],.mentor-card[data-v-e3b47e11]{border:1px solid rgba(194,198,212,.3);border-radius:8px;background:#fff;box-shadow:0 1px 4px rgba(25,28,33,.04)}.summary-card[data-v-e3b47e11]{padding:24px;background:#005eb8;color:#c8daff}.summary-head[data-v-e3b47e11]{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:4px}.summary-label[data-v-e3b47e11]{font-size:12px;line-height:16px;font-weight:500}.summary-score[data-v-e3b47e11]{display:block;font-size:32px;line-height:40px;font-weight:700;color:#fff}.summary-desc[data-v-e3b47e11]{color:rgba(255,255,255,.8);font-size:14px;line-height:20px}.trend-chip[data-v-e3b47e11]{min-height:24px;padding:0 8px;border-radius:8px;background:#00478d;color:#fff;font-size:12px;line-height:16px;font-weight:500;display:flex;align-items:center;gap:4px}.trend-chip.down[data-v-e3b47e11]{background:#793100}.trend-icon[data-v-e3b47e11]{width:16px;height:16px;background:#fff;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M16%206l2.29%202.29-4.88%204.88-4-4L2%2016.59%203.41%2018l6-6%204%204%206.3-6.29L22%2012V6h-6z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M16%206l2.29%202.29-4.88%204.88-4-4L2%2016.59%203.41%2018l6-6%204%204%206.3-6.29L22%2012V6h-6z'/%3E%3C/svg%3E")}.section-head[data-v-e3b47e11]{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.section-title[data-v-e3b47e11]{color:#191c21;font-size:20px;line-height:28px;font-weight:600;letter-spacing:0}.section-icon[data-v-e3b47e11]{width:24px;height:24px;display:flex;align-items:center;justify-content:center}.chart-icon[data-v-e3b47e11]{width:18px;height:18px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M3%203h2v18H3V3zm16%207h2v11h-2V10zM8%2013h2v8H8v-8zm5-6h2v14h-2V7z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M3%203h2v18H3V3zm16%207h2v11h-2V10zM8%2013h2v8H8v-8zm5-6h2v14h-2V7z'/%3E%3C/svg%3E")}.radar-icon[data-v-e3b47e11]{width:18px;height:18px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20zm4.9%203.1l1.4%201.4-3.1%203.1-2.2-2.2 3.9-2.3zm-9.8%200l3.9%202.3-2.2%202.2-3.1-3.1%201.4-1.4zM12%207a5%205%200%201%201%200%2010%205%205%200%200%201%200-10zm6.9%202.1l.1%201.9-4.2.3-.2-3.1%204.3.9zM5.1%209.1l4.3-.9-.2%203.1-4.2-.3.1-1.9zM7.2%2016.8l2.2-2.2%203.1%203.1-1.9%201.1-3.4-2zM16.8%2016.8l-3.4%202-1.9-1.1%203.1-3.1%202.2%202.2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20zm4.9%203.1l1.4%201.4-3.1%203.1-2.2-2.2 3.9-2.3zm-9.8%200l3.9%202.3-2.2%202.2-3.1-3.1%201.4-1.4zM12%207a5%205%200%201%201%200%2010%205%205%200%200%201%200-10zm6.9%202.1l.1%201.9-4.2.3-.2-3.1%204.3.9zM5.1%209.1l4.3-.9-.2%203.1-4.2-.3.1-1.9zM7.2%2016.8l2.2-2.2%203.1%203.1-1.9%201.1-3.4-2zM16.8%2016.8l-3.4%202-1.9-1.1%203.1-3.1%202.2%202.2z'/%3E%3C/svg%3E")}.chart-card[data-v-e3b47e11],.mentor-card[data-v-e3b47e11]{padding:20px}.bar-chart[data-v-e3b47e11]{height:200px;display:flex;align-items:flex-end;gap:8px}.empty-card-text[data-v-e3b47e11]{min-height:80px;color:#727783;font-size:14px;line-height:20px;display:flex;align-items:center;justify-content:center}.bar-column[data-v-e3b47e11]{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px}.bar-track[data-v-e3b47e11]{width:100%;height:160px;display:flex;align-items:flex-end}.bar-fill[data-v-e3b47e11]{width:100%;border-radius:8px 8px 0 0;background:#d6e3ff;transition:height .6s ease}.bar-fill.highlighted[data-v-e3b47e11]{background:#00478d;box-shadow:0 0 0 2px rgba(0,71,141,.08)}.bar-label[data-v-e3b47e11]{color:#424752;font-size:12px;line-height:16px;font-weight:500}.bar-label.active[data-v-e3b47e11]{color:#00478d;font-weight:700}.radar-wrap[data-v-e3b47e11]{position:relative;height:300px;overflow:hidden}.radar-background[data-v-e3b47e11]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center}.radar-ring[data-v-e3b47e11]{position:absolute;border:1px solid rgba(194,198,212,.2);border-radius:50%}.ring-one[data-v-e3b47e11]{width:240px;height:240px}.ring-two[data-v-e3b47e11]{width:160px;height:160px}.ring-three[data-v-e3b47e11]{width:80px;height:80px}.ring-four[data-v-e3b47e11]{width:40px;height:40px}.radar-axis[data-v-e3b47e11]{position:absolute;width:1px;height:240px;background:rgba(194,198,212,.2)}.axis-vertical[data-v-e3b47e11]{transform:rotate(0)}.axis-diagonal-one[data-v-e3b47e11]{transform:rotate(60deg)}.axis-diagonal-two[data-v-e3b47e11]{transform:rotate(120deg)}.axis-diagonal-three[data-v-e3b47e11]{transform:rotate(180deg)}.axis-diagonal-four[data-v-e3b47e11]{transform:rotate(240deg)}.radar-label[data-v-e3b47e11]{position:absolute;color:#424752;font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.dynamic-label[data-v-e3b47e11]{width:68px;max-width:68px;text-align:center;word-break:break-all;transform:translate(-50%,-50%)}.label-top[data-v-e3b47e11]{top:-2px;left:50%;transform:translate(-50%)}.label-right-top[data-v-e3b47e11]{top:78px;right:0}.label-right-bottom[data-v-e3b47e11]{top:186px;right:6px}.label-bottom[data-v-e3b47e11]{bottom:0;left:50%;transform:translate(-50%)}.label-left-bottom[data-v-e3b47e11]{top:186px;left:12px}.label-left-top[data-v-e3b47e11]{top:78px;left:0}.radar-svg[data-v-e3b47e11]{position:absolute;left:50%;top:50%;width:240px;height:240px;transform:translate(-50%,-50%)}.radar-svg polygon[data-v-e3b47e11]{fill:rgba(0,71,141,.15);stroke:#00478d;stroke-width:2}.radar-svg circle[data-v-e3b47e11]{fill:#00478d}.analysis-note[data-v-e3b47e11]{margin-top:16px;padding-top:16px;border-top:1px solid rgba(194,198,212,.3);color:#424752;font-size:14px;line-height:22px}.strong-text[data-v-e3b47e11]{color:#00478d;font-weight:700}.secondary-text[data-v-e3b47e11]{color:#006970;font-weight:700}.mini-title[data-v-e3b47e11]{display:block;margin-bottom:12px;color:#727783;font-size:12px;line-height:16px;font-weight:500;letter-spacing:0}.suggestion-list[data-v-e3b47e11]{display:flex;flex-direction:column;gap:12px}.suggestion-card[data-v-e3b47e11]{padding:16px;border:1px solid #c2c6d4;border-radius:8px;background:#fff;display:flex;align-items:center;gap:16px}.suggestion-card[data-v-e3b47e11]:active{transform:scale(.99)}.suggestion-icon-wrap[data-v-e3b47e11]{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:0 0 auto}.secondary-tone[data-v-e3b47e11]{background:#7af1fc;color:#006970}.tertiary-tone[data-v-e3b47e11]{background:#ffdbcb;color:#793100}.book-icon[data-v-e3b47e11],.brain-icon[data-v-e3b47e11]{width:22px;height:22px}.book-icon[data-v-e3b47e11]{background:#006970;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M18%202H6a2%202%200%200%200-2%202v14a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V4a2%202%200%200%200-2-2zM8%206h8v2H8V6zm0%204h8v2H8v-2zm0%204h5v2H8v-2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M18%202H6a2%202%200%200%200-2%202v14a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V4a2%202%200%200%200-2-2zM8%206h8v2H8V6zm0%204h8v2H8v-2zm0%204h5v2H8v-2z'/%3E%3C/svg%3E")}.brain-icon[data-v-e3b47e11]{background:#793100;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10 3a4 4 0 0 0-4 4v1H5a3 3 0 0 0 0 6h1v1a4 4 0 0 0 4 4h1V3h-1zm4 0v16h1a4 4 0 0 0 4-4v-1h1a3 3 0 0 0 0-6h-1V7a4 4 0 0 0-4-4h-1z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10 3a4 4 0 0 0-4 4v1H5a3 3 0 0 0 0 6h1v1a4 4 0 0 0 4 4h1V3h-1zm4 0v16h1a4 4 0 0 0 4-4v-1h1a3 3 0 0 0 0-6h-1V7a4 4 0 0 0-4-4h-1z'/%3E%3C/svg%3E")}.suggestion-copy[data-v-e3b47e11]{flex:1;display:flex;flex-direction:column;gap:4px}.suggestion-title[data-v-e3b47e11]{color:#191c21;font-size:14px;line-height:20px;font-weight:600}.suggestion-desc[data-v-e3b47e11]{color:#424752;font-size:13px;line-height:18px}.chevron-icon[data-v-e3b47e11]{width:24px;height:24px;background:#424752;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z'/%3E%3C/svg%3E")}.mentor-section[data-v-e3b47e11]{padding:0;border:0;box-shadow:none;background:transparent}.mentor-card[data-v-e3b47e11]{padding:16px;background:#e7e8f0}.mentor-head[data-v-e3b47e11]{margin-bottom:12px;display:flex;align-items:center;gap:12px}.mentor-avatar[data-v-e3b47e11]{width:56px;height:56px;border:2px solid #ffffff;border-radius:50%;box-shadow:0 1px 4px rgba(25,28,33,.12)}.mentor-name[data-v-e3b47e11]{display:block;color:#00478d;font-size:14px;line-height:20px;font-weight:700}.mentor-role[data-v-e3b47e11]{color:#424752;font-size:10px;line-height:14px}.mentor-bubble[data-v-e3b47e11]{position:relative;padding:16px;border:1px solid rgba(0,71,141,.05);border-radius:8px;background:#fff;box-shadow:0 1px 4px rgba(25,28,33,.04);color:#191c21;font-size:14px;line-height:22px;font-style:italic}.mentor-bubble[data-v-e3b47e11]:before{content:"";position:absolute;left:24px;top:-7px;width:12px;height:12px;border-left:1px solid rgba(0,71,141,.05);border-top:1px solid rgba(0,71,141,.05);background:#fff;transform:rotate(45deg)}.toast[data-v-e3b47e11]{position:absolute;left:50%;bottom:24px;z-index:80;max-width:300px;padding:8px 12px;border-radius:12px;background:rgba(46,48,55,.9);color:#eff0f8;font-size:12px;line-height:16px;opacity:0;pointer-events:none;transform:translate(-50%,8px);transition:opacity .2s ease,transform .2s ease}.toast.visible[data-v-e3b47e11]{opacity:1;transform:translate(-50%)}.analysis-page .analysis-main .fade-section[data-v-e3b47e11]{opacity:1;transform:translateY(0)}.analysis-page .analysis-main .fade-section[data-v-e3b47e11]:first-child{padding-top:0}@media (min-width: 768px){.analysis-page[data-v-e3b47e11]{display:flex;justify-content:center;background:#d8dae2}.analysis-shell[data-v-e3b47e11]{width:480px;max-width:100vw;margin:0 auto;box-shadow:0 24px 64px rgba(25,28,33,.18);border-left:1px solid #c2c6d4;border-right:1px solid #c2c6d4}} diff --git a/dist/assets/profile-analysis-D7uHL0Kv.css b/dist/assets/profile-analysis-D7uHL0Kv.css deleted file mode 100644 index 341e885..0000000 --- a/dist/assets/profile-analysis-D7uHL0Kv.css +++ /dev/null @@ -1 +0,0 @@ -uni-page-body[data-v-d47e7efa]{min-height:100%;background:#f9f9ff}body[data-v-d47e7efa]{background:#f9f9ff}.analysis-page[data-v-d47e7efa]{min-height:100vh;background:#f9f9ff;color:#191c21;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent}.analysis-shell[data-v-d47e7efa]{position:relative;width:380px;max-width:100vw;min-height:922px;margin:0 auto;background:#f9f9ff;overflow:hidden;display:flex;flex-direction:column}.analysis-page uni-view[data-v-d47e7efa],.analysis-page uni-text[data-v-d47e7efa],.analysis-page uni-button[data-v-d47e7efa],.analysis-page uni-scroll-view[data-v-d47e7efa]{box-sizing:border-box}.analysis-page[data-v-d47e7efa] ::-webkit-scrollbar{width:0;height:0;background:transparent}.top-bar[data-v-d47e7efa]{position:sticky;top:0;z-index:50;height:56px;padding:0 16px;border-bottom:1px solid rgba(194,198,212,.3);background:rgba(249,249,255,.82);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:center;flex:0 0 auto}.page-title[data-v-d47e7efa]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#00478d;font-size:20px;line-height:28px;font-weight:600;letter-spacing:0}.icon-button[data-v-d47e7efa]{position:absolute;left:16px;top:8px;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:transparent;display:flex;align-items:center;justify-content:center}.icon-button[data-v-d47e7efa]:after{border:0}.icon-button[data-v-d47e7efa]:active{background:rgba(225,226,234,.5)}.back-icon[data-v-d47e7efa],.trend-icon[data-v-d47e7efa],.chart-icon[data-v-d47e7efa],.radar-icon[data-v-d47e7efa],.book-icon[data-v-d47e7efa],.brain-icon[data-v-d47e7efa],.chevron-icon[data-v-d47e7efa]{background:#00478d;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:contain;mask-position:center;mask-repeat:no-repeat;mask-size:contain}.back-icon[data-v-d47e7efa]{width:24px;height:24px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M20%2011H7.83l5.59-5.59L12%204l-8%208%208%208%201.42-1.41L7.83%2013H20v-2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M20%2011H7.83l5.59-5.59L12%204l-8%208%208%208%201.42-1.41L7.83%2013H20v-2z'/%3E%3C/svg%3E")}.analysis-scroll[data-v-d47e7efa]{flex:1 1 auto;min-height:0}.analysis-main[data-v-d47e7efa]{max-width:390px;margin:0 auto;padding:24px 16px 96px;display:flex;flex-direction:column;gap:24px}.fade-section[data-v-d47e7efa]{opacity:0;transform:translateY(10px);transition:.4s ease-out}.fade-section.visible[data-v-d47e7efa]{opacity:1;transform:translateY(0)}.summary-card[data-v-d47e7efa],.chart-card[data-v-d47e7efa],.mentor-card[data-v-d47e7efa]{border:1px solid rgba(194,198,212,.3);border-radius:8px;background:#fff;box-shadow:0 1px 4px rgba(25,28,33,.04)}.summary-card[data-v-d47e7efa]{padding:24px;background:#005eb8;color:#c8daff}.summary-head[data-v-d47e7efa]{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:4px}.summary-label[data-v-d47e7efa]{font-size:12px;line-height:16px;font-weight:500}.summary-score[data-v-d47e7efa]{display:block;font-size:32px;line-height:40px;font-weight:700;color:#fff}.summary-desc[data-v-d47e7efa]{color:rgba(255,255,255,.8);font-size:14px;line-height:20px}.trend-chip[data-v-d47e7efa]{min-height:24px;padding:0 8px;border-radius:8px;background:#00478d;color:#fff;font-size:12px;line-height:16px;font-weight:500;display:flex;align-items:center;gap:4px}.trend-icon[data-v-d47e7efa]{width:16px;height:16px;background:#fff;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M16%206l2.29%202.29-4.88%204.88-4-4L2%2016.59%203.41%2018l6-6%204%204%206.3-6.29L22%2012V6h-6z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M16%206l2.29%202.29-4.88%204.88-4-4L2%2016.59%203.41%2018l6-6%204%204%206.3-6.29L22%2012V6h-6z'/%3E%3C/svg%3E")}.section-head[data-v-d47e7efa]{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.section-title[data-v-d47e7efa]{color:#191c21;font-size:20px;line-height:28px;font-weight:600;letter-spacing:0}.section-icon[data-v-d47e7efa]{width:24px;height:24px;display:flex;align-items:center;justify-content:center}.chart-icon[data-v-d47e7efa]{width:18px;height:18px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M3%203h2v18H3V3zm16%207h2v11h-2V10zM8%2013h2v8H8v-8zm5-6h2v14h-2V7z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M3%203h2v18H3V3zm16%207h2v11h-2V10zM8%2013h2v8H8v-8zm5-6h2v14h-2V7z'/%3E%3C/svg%3E")}.radar-icon[data-v-d47e7efa]{width:18px;height:18px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20zm4.9%203.1l1.4%201.4-3.1%203.1-2.2-2.2 3.9-2.3zm-9.8%200l3.9%202.3-2.2%202.2-3.1-3.1%201.4-1.4zM12%207a5%205%200%201%201%200%2010%205%205%200%200%201%200-10zm6.9%202.1l.1%201.9-4.2.3-.2-3.1%204.3.9zM5.1%209.1l4.3-.9-.2%203.1-4.2-.3.1-1.9zM7.2%2016.8l2.2-2.2%203.1%203.1-1.9%201.1-3.4-2zM16.8%2016.8l-3.4%202-1.9-1.1%203.1-3.1%202.2%202.2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20zm4.9%203.1l1.4%201.4-3.1%203.1-2.2-2.2 3.9-2.3zm-9.8%200l3.9%202.3-2.2%202.2-3.1-3.1%201.4-1.4zM12%207a5%205%200%201%201%200%2010%205%205%200%200%201%200-10zm6.9%202.1l.1%201.9-4.2.3-.2-3.1%204.3.9zM5.1%209.1l4.3-.9-.2%203.1-4.2-.3.1-1.9zM7.2%2016.8l2.2-2.2%203.1%203.1-1.9%201.1-3.4-2zM16.8%2016.8l-3.4%202-1.9-1.1%203.1-3.1%202.2%202.2z'/%3E%3C/svg%3E")}.chart-card[data-v-d47e7efa],.mentor-card[data-v-d47e7efa]{padding:20px}.bar-chart[data-v-d47e7efa]{height:200px;display:flex;align-items:flex-end;gap:8px}.bar-column[data-v-d47e7efa]{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px}.bar-track[data-v-d47e7efa]{width:100%;height:160px;display:flex;align-items:flex-end}.bar-fill[data-v-d47e7efa]{width:100%;border-radius:8px 8px 0 0;background:#d6e3ff;transition:height .6s ease}.bar-fill.highlighted[data-v-d47e7efa]{background:#00478d;box-shadow:0 0 0 2px rgba(0,71,141,.08)}.bar-label[data-v-d47e7efa]{color:#424752;font-size:12px;line-height:16px;font-weight:500}.bar-label.active[data-v-d47e7efa]{color:#00478d;font-weight:700}.radar-wrap[data-v-d47e7efa]{position:relative;height:300px}.radar-background[data-v-d47e7efa]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center}.radar-ring[data-v-d47e7efa]{position:absolute;border:1px solid rgba(194,198,212,.2);border-radius:50%}.ring-one[data-v-d47e7efa]{width:240px;height:240px}.ring-two[data-v-d47e7efa]{width:160px;height:160px}.ring-three[data-v-d47e7efa]{width:80px;height:80px}.ring-four[data-v-d47e7efa]{width:40px;height:40px}.radar-axis[data-v-d47e7efa]{position:absolute;width:1px;height:240px;background:rgba(194,198,212,.2)}.axis-vertical[data-v-d47e7efa]{transform:rotate(0)}.axis-diagonal-one[data-v-d47e7efa]{transform:rotate(60deg)}.axis-diagonal-two[data-v-d47e7efa]{transform:rotate(120deg)}.axis-diagonal-three[data-v-d47e7efa]{transform:rotate(180deg)}.axis-diagonal-four[data-v-d47e7efa]{transform:rotate(240deg)}.radar-label[data-v-d47e7efa]{position:absolute;color:#424752;font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.label-top[data-v-d47e7efa]{top:-2px;left:50%;transform:translate(-50%)}.label-right-top[data-v-d47e7efa]{top:78px;right:0}.label-right-bottom[data-v-d47e7efa]{top:186px;right:6px}.label-bottom[data-v-d47e7efa]{bottom:0;left:50%;transform:translate(-50%)}.label-left-bottom[data-v-d47e7efa]{top:186px;left:12px}.label-left-top[data-v-d47e7efa]{top:78px;left:0}.radar-svg[data-v-d47e7efa]{position:absolute;left:50%;top:50%;width:240px;height:240px;transform:translate(-50%,-50%)}.radar-svg polygon[data-v-d47e7efa]{fill:rgba(0,71,141,.15);stroke:#00478d;stroke-width:2}.radar-svg circle[data-v-d47e7efa]{fill:#00478d}.analysis-note[data-v-d47e7efa]{margin-top:16px;padding-top:16px;border-top:1px solid rgba(194,198,212,.3);color:#424752;font-size:14px;line-height:22px}.strong-text[data-v-d47e7efa]{color:#00478d;font-weight:700}.secondary-text[data-v-d47e7efa]{color:#006970;font-weight:700}.mini-title[data-v-d47e7efa]{display:block;margin-bottom:12px;color:#727783;font-size:12px;line-height:16px;font-weight:500;letter-spacing:0}.suggestion-list[data-v-d47e7efa]{display:flex;flex-direction:column;gap:12px}.suggestion-card[data-v-d47e7efa]{padding:16px;border:1px solid #c2c6d4;border-radius:8px;background:#fff;display:flex;align-items:center;gap:16px}.suggestion-card[data-v-d47e7efa]:active{transform:scale(.99)}.suggestion-icon-wrap[data-v-d47e7efa]{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:0 0 auto}.secondary-tone[data-v-d47e7efa]{background:#7af1fc;color:#006970}.tertiary-tone[data-v-d47e7efa]{background:#ffdbcb;color:#793100}.book-icon[data-v-d47e7efa],.brain-icon[data-v-d47e7efa]{width:22px;height:22px}.book-icon[data-v-d47e7efa]{background:#006970;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M18%202H6a2%202%200%200%200-2%202v14a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V4a2%202%200%200%200-2-2zM8%206h8v2H8V6zm0%204h8v2H8v-2zm0%204h5v2H8v-2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M18%202H6a2%202%200%200%200-2%202v14a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V4a2%202%200%200%200-2-2zM8%206h8v2H8V6zm0%204h8v2H8v-2zm0%204h5v2H8v-2z'/%3E%3C/svg%3E")}.brain-icon[data-v-d47e7efa]{background:#793100;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10 3a4 4 0 0 0-4 4v1H5a3 3 0 0 0 0 6h1v1a4 4 0 0 0 4 4h1V3h-1zm4 0v16h1a4 4 0 0 0 4-4v-1h1a3 3 0 0 0 0-6h-1V7a4 4 0 0 0-4-4h-1z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10 3a4 4 0 0 0-4 4v1H5a3 3 0 0 0 0 6h1v1a4 4 0 0 0 4 4h1V3h-1zm4 0v16h1a4 4 0 0 0 4-4v-1h1a3 3 0 0 0 0-6h-1V7a4 4 0 0 0-4-4h-1z'/%3E%3C/svg%3E")}.suggestion-copy[data-v-d47e7efa]{flex:1;display:flex;flex-direction:column;gap:4px}.suggestion-title[data-v-d47e7efa]{color:#191c21;font-size:14px;line-height:20px;font-weight:600}.suggestion-desc[data-v-d47e7efa]{color:#424752;font-size:13px;line-height:18px}.chevron-icon[data-v-d47e7efa]{width:24px;height:24px;background:#424752;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z'/%3E%3C/svg%3E")}.mentor-section[data-v-d47e7efa]{padding:0;border:0;box-shadow:none;background:transparent}.mentor-card[data-v-d47e7efa]{padding:16px;background:#e7e8f0}.mentor-head[data-v-d47e7efa]{margin-bottom:12px;display:flex;align-items:center;gap:12px}.mentor-avatar[data-v-d47e7efa]{width:56px;height:56px;border:2px solid #ffffff;border-radius:50%;box-shadow:0 1px 4px rgba(25,28,33,.12)}.mentor-name[data-v-d47e7efa]{display:block;color:#00478d;font-size:14px;line-height:20px;font-weight:700}.mentor-role[data-v-d47e7efa]{color:#424752;font-size:10px;line-height:14px}.mentor-bubble[data-v-d47e7efa]{position:relative;padding:16px;border:1px solid rgba(0,71,141,.05);border-radius:8px;background:#fff;box-shadow:0 1px 4px rgba(25,28,33,.04);color:#191c21;font-size:14px;line-height:22px;font-style:italic}.mentor-bubble[data-v-d47e7efa]:before{content:"";position:absolute;left:24px;top:-7px;width:12px;height:12px;border-left:1px solid rgba(0,71,141,.05);border-top:1px solid rgba(0,71,141,.05);background:#fff;transform:rotate(45deg)}.analysis-page .analysis-main .fade-section[data-v-d47e7efa]{opacity:1;transform:translateY(0)}.analysis-page .analysis-main .fade-section[data-v-d47e7efa]:first-child{padding-top:0}@media (min-width: 768px){.analysis-page[data-v-d47e7efa]{display:flex;justify-content:center;background:#d8dae2}.analysis-shell[data-v-d47e7efa]{box-shadow:0 24px 64px rgba(25,28,33,.18);border-left:1px solid #c2c6d4;border-right:1px solid #c2c6d4}} diff --git a/dist/assets/profile-records-EOjOQpWD.css b/dist/assets/profile-records-C5tRHAvK.css similarity index 50% rename from dist/assets/profile-records-EOjOQpWD.css rename to dist/assets/profile-records-C5tRHAvK.css index d032dec..b6c32c0 100644 --- a/dist/assets/profile-records-EOjOQpWD.css +++ b/dist/assets/profile-records-C5tRHAvK.css @@ -1 +1 @@ -uni-page-body[data-v-15539840]{min-height:100%;background:#f9f9ff}body[data-v-15539840]{background:#f9f9ff}.records-page[data-v-15539840]{min-height:100vh;background:#f9f9ff;color:#191c21;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent}.records-shell[data-v-15539840]{position:relative;width:390px;max-width:100vw;min-height:884px;margin:0 auto;background:#f9f9ff;overflow:hidden;display:flex;flex-direction:column}.records-page uni-view[data-v-15539840],.records-page uni-text[data-v-15539840],.records-page uni-button[data-v-15539840],.records-page uni-input[data-v-15539840],.records-page uni-scroll-view[data-v-15539840]{box-sizing:border-box}.records-page[data-v-15539840] ::-webkit-scrollbar{width:0;height:0;background:transparent}.top-bar[data-v-15539840]{position:sticky;top:0;z-index:50;height:64px;padding:0 20px;border-bottom:1px solid #c2c6d4;background:#f9f9ff;box-shadow:0 1px 4px rgba(25,28,33,.04);display:flex;align-items:center;justify-content:center;flex:0 0 auto}.page-title[data-v-15539840]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#00478d;font-size:20px;line-height:28px;font-weight:600;letter-spacing:0}.icon-button[data-v-15539840],.report-button[data-v-15539840]{padding:0;border:0;background:transparent}.icon-button[data-v-15539840]:after,.report-button[data-v-15539840]:after{border:0}.icon-button[data-v-15539840]{position:absolute;left:20px;top:12px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50%}.icon-button[data-v-15539840]:active,.record-card[data-v-15539840]:active{transform:scale(.98)}.back-icon[data-v-15539840],.search-icon[data-v-15539840],.small-chevron[data-v-15539840]{background:#00478d;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:contain;mask-position:center;mask-repeat:no-repeat;mask-size:contain}.back-icon[data-v-15539840]{width:24px;height:24px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M20%2011H7.83l5.59-5.59L12%204l-8%208%208%208%201.42-1.41L7.83%2013H20v-2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M20%2011H7.83l5.59-5.59L12%204l-8%208%208%208%201.42-1.41L7.83%2013H20v-2z'/%3E%3C/svg%3E")}.records-scroll[data-v-15539840]{flex:1 1 auto;min-height:0}.records-main[data-v-15539840]{padding:20px 20px 32px;display:flex;flex-direction:column;gap:24px}.stats-grid[data-v-15539840]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.stat-card[data-v-15539840]{min-height:96px;padding:16px 8px;border:1px solid #c2c6d4;border-radius:8px;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.05);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.stat-label[data-v-15539840]{margin-bottom:8px;color:#424752;font-size:12px;line-height:16px;font-weight:500}.stat-value[data-v-15539840]{color:#00478d;font-size:20px;line-height:28px;font-weight:600}.stat-value.secondary[data-v-15539840]{color:#006970}.search-field[data-v-15539840]{position:relative;min-height:48px;display:flex;align-items:center}.search-icon[data-v-15539840]{position:absolute;left:16px;z-index:1;width:22px;height:22px;background:#727783;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9.5%203A6.5%206.5%200%200%200%209.5%2016a6.47%206.47%200%200%200%204.03-1.39l4.43%204.43%201.41-1.41-4.43-4.43A6.47%206.47%200%200%200%2016%209.5%206.5%206.5%200%200%200%209.5%203zm0%202A4.5%204.5%200%201%201%209.5%2014%204.5%204.5%200%200%201%209.5%205z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9.5%203A6.5%206.5%200%200%200%209.5%2016a6.47%206.47%200%200%200%204.03-1.39l4.43%204.43%201.41-1.41-4.43-4.43A6.47%206.47%200%200%200%2016%209.5%206.5%206.5%200%200%200%209.5%203zm0%202A4.5%204.5%200%201%201%209.5%2014%204.5%204.5%200%200%201%209.5%205z'/%3E%3C/svg%3E")}.search-input[data-v-15539840]{width:100%;height:48px;padding:0 16px 0 48px;border:1px solid #c2c6d4;border-radius:24px;background:#f2f3fb;color:#191c21;font-size:16px;line-height:24px}.search-placeholder[data-v-15539840]{color:#727783}.history-section[data-v-15539840]{display:flex;flex-direction:column;gap:16px}.section-title[data-v-15539840]{padding:0 4px;color:#424752;font-size:14px;line-height:20px;font-weight:600;letter-spacing:0}.record-list[data-v-15539840]{display:flex;flex-direction:column;gap:16px}.record-card[data-v-15539840]{min-height:80px;padding:16px;border:1px solid #c2c6d4;border-radius:8px;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.05);display:flex;align-items:center;gap:16px;transition:transform .15s ease,opacity .15s ease}.record-card.dimmed[data-v-15539840]{opacity:.88}.case-icon-wrap[data-v-15539840]{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:0 0 auto}.case-icon-wrap.primary[data-v-15539840]{background:#005eb8;color:#c8daff}.case-icon-wrap.secondary[data-v-15539840]{background:#7af1fc;color:#006e75}.case-icon-wrap.tertiary[data-v-15539840]{background:#ffdbcb;color:#793100}.case-icon-text[data-v-15539840]{font-size:18px;line-height:24px;font-weight:700}.case-copy[data-v-15539840]{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;gap:4px}.case-title[data-v-15539840]{max-width:132px;color:#191c21;font-size:14px;line-height:20px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.case-meta[data-v-15539840]{display:flex;align-items:center;gap:8px;min-width:0;color:#424752;font-size:12px;line-height:16px;font-weight:500}.dot[data-v-15539840]{font-size:10px;opacity:.4}.score-block[data-v-15539840]{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:4px}.score-row[data-v-15539840]{display:flex;align-items:baseline;gap:4px}.score-value[data-v-15539840]{color:#00478d;font-size:20px;line-height:28px;font-weight:600}.score-unit[data-v-15539840]{color:#424752;font-size:12px;line-height:16px;font-weight:500}.report-button[data-v-15539840]{color:#00478d;display:flex;align-items:center;font-size:12px;line-height:16px;font-weight:500}.small-chevron[data-v-15539840]{width:16px;height:16px;margin-left:4px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10%206L8.59%207.41%2013.17%2012l-4.58%204.59L10%2018l6-6-6-6z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10%206L8.59%207.41%2013.17%2012l-4.58%204.59L10%2018l6-6-6-6z'/%3E%3C/svg%3E")}.empty-state[data-v-15539840]{min-height:96px;border:1px dashed #c2c6d4;border-radius:8px;background:#f2f3fb;color:#727783;font-size:14px;line-height:20px;display:flex;align-items:center;justify-content:center}.bottom-hint[data-v-15539840]{padding:16px 0 4px;color:#727783;font-size:12px;line-height:16px;font-weight:500;text-align:center}.toast[data-v-15539840]{position:absolute;left:50%;bottom:24px;z-index:80;max-width:300px;padding:8px 12px;border-radius:12px;background:rgba(46,48,55,.9);color:#eff0f8;font-size:12px;line-height:16px;opacity:0;pointer-events:none;transform:translate(-50%,8px);transition:opacity .2s ease,transform .2s ease}.toast.visible[data-v-15539840]{opacity:1;transform:translate(-50%)} +uni-page-body[data-v-fee61cbe]{min-height:100%;background:#f9f9ff}body[data-v-fee61cbe]{background:#f9f9ff}.records-page[data-v-fee61cbe]{min-height:100vh;background:#f9f9ff;color:#191c21;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent}.records-shell[data-v-fee61cbe]{position:relative;width:390px;max-width:100vw;min-height:884px;margin:0 auto;background:#f9f9ff;overflow:hidden;display:flex;flex-direction:column}.records-page uni-view[data-v-fee61cbe],.records-page uni-text[data-v-fee61cbe],.records-page uni-button[data-v-fee61cbe],.records-page uni-input[data-v-fee61cbe],.records-page uni-scroll-view[data-v-fee61cbe]{box-sizing:border-box}.records-page[data-v-fee61cbe] ::-webkit-scrollbar{width:0;height:0;background:transparent}.top-bar[data-v-fee61cbe]{position:sticky;top:0;z-index:50;height:64px;padding:0 20px;border-bottom:1px solid #c2c6d4;background:#f9f9ff;box-shadow:0 1px 4px rgba(25,28,33,.04);display:flex;align-items:center;justify-content:center;flex:0 0 auto}.page-title[data-v-fee61cbe]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#00478d;font-size:20px;line-height:28px;font-weight:600;letter-spacing:0}.icon-button[data-v-fee61cbe],.report-button[data-v-fee61cbe]{padding:0;border:0;background:transparent}.icon-button[data-v-fee61cbe]:after,.report-button[data-v-fee61cbe]:after{border:0}.icon-button[data-v-fee61cbe]{position:absolute;left:20px;top:12px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50%}.icon-button[data-v-fee61cbe]:active,.record-card[data-v-fee61cbe]:active{transform:scale(.98)}.back-icon[data-v-fee61cbe],.search-icon[data-v-fee61cbe],.small-chevron[data-v-fee61cbe]{background:#00478d;-webkit-mask-position:center;-webkit-mask-repeat:no-repeat;-webkit-mask-size:contain;mask-position:center;mask-repeat:no-repeat;mask-size:contain}.back-icon[data-v-fee61cbe]{width:24px;height:24px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M20%2011H7.83l5.59-5.59L12%204l-8%208%208%208%201.42-1.41L7.83%2013H20v-2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M20%2011H7.83l5.59-5.59L12%204l-8%208%208%208%201.42-1.41L7.83%2013H20v-2z'/%3E%3C/svg%3E")}.records-scroll[data-v-fee61cbe]{flex:1 1 auto;min-height:0}.records-main[data-v-fee61cbe]{padding:20px 20px 32px;display:flex;flex-direction:column;gap:24px}.stats-grid[data-v-fee61cbe]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.stat-card[data-v-fee61cbe]{min-height:96px;padding:16px 8px;border:1px solid #c2c6d4;border-radius:8px;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.05);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.stat-label[data-v-fee61cbe]{margin-bottom:8px;color:#424752;font-size:12px;line-height:16px;font-weight:500}.stat-value[data-v-fee61cbe]{color:#00478d;font-size:20px;line-height:28px;font-weight:600}.stat-value.secondary[data-v-fee61cbe]{color:#006970}.search-field[data-v-fee61cbe]{position:relative;min-height:48px;display:flex;align-items:center}.search-icon[data-v-fee61cbe]{position:absolute;left:16px;z-index:1;width:22px;height:22px;background:#727783;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9.5%203A6.5%206.5%200%200%200%209.5%2016a6.47%206.47%200%200%200%204.03-1.39l4.43%204.43%201.41-1.41-4.43-4.43A6.47%206.47%200%200%200%2016%209.5%206.5%206.5%200%200%200%209.5%203zm0%202A4.5%204.5%200%201%201%209.5%2014%204.5%204.5%200%200%201%209.5%205z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9.5%203A6.5%206.5%200%200%200%209.5%2016a6.47%206.47%200%200%200%204.03-1.39l4.43%204.43%201.41-1.41-4.43-4.43A6.47%206.47%200%200%200%2016%209.5%206.5%206.5%200%200%200%209.5%203zm0%202A4.5%204.5%200%201%201%209.5%2014%204.5%204.5%200%200%201%209.5%205z'/%3E%3C/svg%3E")}.search-input[data-v-fee61cbe]{width:100%;height:48px;padding:0 16px 0 48px;border:1px solid #c2c6d4;border-radius:24px;background:#f2f3fb;color:#191c21;font-size:16px;line-height:24px}.search-placeholder[data-v-fee61cbe]{color:#727783}.history-section[data-v-fee61cbe]{display:flex;flex-direction:column;gap:16px}.section-title[data-v-fee61cbe]{padding:0 4px;color:#424752;font-size:14px;line-height:20px;font-weight:600;letter-spacing:0}.record-list[data-v-fee61cbe]{display:flex;flex-direction:column;gap:16px}.record-card[data-v-fee61cbe]{min-height:80px;padding:16px;border:1px solid #c2c6d4;border-radius:8px;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.05);display:flex;align-items:center;gap:16px;transition:transform .15s ease,opacity .15s ease}.record-card.dimmed[data-v-fee61cbe]{opacity:.88}.case-icon-wrap[data-v-fee61cbe]{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:0 0 auto}.case-icon-wrap.primary[data-v-fee61cbe]{background:#005eb8;color:#c8daff}.case-icon-wrap.secondary[data-v-fee61cbe]{background:#7af1fc;color:#006e75}.case-icon-wrap.tertiary[data-v-fee61cbe]{background:#ffdbcb;color:#793100}.case-icon-text[data-v-fee61cbe]{font-size:18px;line-height:24px;font-weight:700}.case-copy[data-v-fee61cbe]{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;gap:4px}.case-title[data-v-fee61cbe]{max-width:132px;color:#191c21;font-size:14px;line-height:20px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.case-meta[data-v-fee61cbe]{display:flex;align-items:center;gap:8px;min-width:0;color:#424752;font-size:12px;line-height:16px;font-weight:500}.dot[data-v-fee61cbe]{font-size:10px;opacity:.4}.score-block[data-v-fee61cbe]{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:4px}.score-row[data-v-fee61cbe]{display:flex;align-items:baseline;gap:4px}.score-value[data-v-fee61cbe]{color:#00478d;font-size:20px;line-height:28px;font-weight:600}.score-unit[data-v-fee61cbe]{color:#424752;font-size:12px;line-height:16px;font-weight:500}.report-button[data-v-fee61cbe]{color:#00478d;display:flex;align-items:center;font-size:12px;line-height:16px;font-weight:500}.small-chevron[data-v-fee61cbe]{width:16px;height:16px;margin-left:4px;-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10%206L8.59%207.41%2013.17%2012l-4.58%204.59L10%2018l6-6-6-6z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10%206L8.59%207.41%2013.17%2012l-4.58%204.59L10%2018l6-6-6-6z'/%3E%3C/svg%3E")}.empty-state[data-v-fee61cbe]{min-height:96px;border:1px dashed #c2c6d4;border-radius:8px;background:#f2f3fb;color:#727783;font-size:14px;line-height:20px;display:flex;align-items:center;justify-content:center}.bottom-hint[data-v-fee61cbe]{padding:16px 0 4px;color:#727783;font-size:12px;line-height:16px;font-weight:500;text-align:center}.toast[data-v-fee61cbe]{position:absolute;left:50%;bottom:24px;z-index:80;max-width:300px;padding:8px 12px;border-radius:12px;background:rgba(46,48,55,.9);color:#eff0f8;font-size:12px;line-height:16px;opacity:0;pointer-events:none;transform:translate(-50%,8px);transition:opacity .2s ease,transform .2s ease}.toast.visible[data-v-fee61cbe]{opacity:1;transform:translate(-50%)} diff --git a/dist/assets/profile.e1L0urBE.js b/dist/assets/profile.e1L0urBE.js new file mode 100644 index 0000000..054bb7e --- /dev/null +++ b/dist/assets/profile.e1L0urBE.js @@ -0,0 +1 @@ +import{C as e,D as t}from"./index-DR4MYR5F.js";import{a as n,A as r}from"./auth.CseBt7py.js";function o(){return d("/user/profile/")}function i(e={}){return d("/user/training-records/",{search:e.search,page:e.page})}function c(){return d("/user/analysis/")}function s(){return d("/user/competency-metrics/")}async function a(e){const t=function(e){if(e&&"object"==typeof e&&"data"in e){const t=e;if(t.code&&"OK"!==t.code&&"ok"!==t.code)throw new r(t.message||"请求失败",t.code);if(void 0!==t.data)return t.data}return e}(await d(`/v1/evaluations/${encodeURIComponent(String(e))}`));return function(e,t){const n=g(e.case)?e.case:{},r=l(e.total_score??e.score??e.current_score,0);return{evaluation_id:l(e.evaluation_id??e.id??e.record_id,t),session_id:l(e.session_id,0),case_id:l(e.case_id??n.id,0),case_title:y(e.case_title??e.caseTitle??n.title,"未命名病例"),score_type:_(e.score_type),total_score:r,dimension_scores:f(e.dimension_scores??e.radar),score_details:p(e.score_details),overall_comment:y(e.overall_comment??e.comment,"本次评价暂无详细点评。"),pdf_file_path:v(e.pdf_file_path??e.pdfFilePath),created_at:v(e.created_at??e.trained_at)}}(t,e)}function d(t,o){return new Promise(((i,c)=>{e({url:`${n}${m(t,o)}`,method:"GET",timeout:1e4,header:u(),success:e=>{if(e.statusCode>=200&&e.statusCode<300)return void i(e.data);const t=e.data,n="string"==typeof(null==t?void 0:t.code)?t.code:void 0;c(new r(function(e,t){if(e&&"object"==typeof e){const t=e,n=t.message||t.detail||t.error;if("string"==typeof n&&n.trim())return n}return t}(e.data,`请求失败(${e.statusCode})`),n,e.statusCode))},fail:e=>{c(new r(e.errMsg||"无法连接服务"))}})}))}function u(){const e={"Content-Type":"application/json",Accept:"application/json"},n=function(){try{const e=t("clinical-thinking-access-token");return"string"==typeof e?e.trim():""}catch{return""}}();return n&&(e.Authorization=`Bearer ${n}`),e}function m(e,t){if(!t)return e;const n=Object.entries(t).filter((([,e])=>null!=e&&""!==e)).map((([e,t])=>`${encodeURIComponent(e)}=${encodeURIComponent(String(t))}`)).join("&");return n?`${e}?${n}`:e}function f(e){return Array.isArray(e)?e.map((e=>{const t=g(e)?e:{};return{dimension:y(t.dimension??t.label,"未命名维度"),score:l(t.score,0),max_score:l(t.max_score,100),comment:v(t.comment),evidence:Array.isArray(t.evidence)?t.evidence.map(String):void 0,deductions:Array.isArray(t.deductions)?t.deductions.map(String):void 0,improvement:v(t.improvement)}})):[]}function p(e){return Array.isArray(e)?e.map((e=>{const t=g(e)?e:{};return{dimension:y(t.dimension,"未命名维度"),score:l(t.score,0),deducted_reason:v(t.deducted_reason),ai_confidence:void 0===t.ai_confidence?void 0:l(t.ai_confidence,0),comment:v(t.comment)}})):[]}function _(e){return"five_point"===e?"five_point":"percentage"}function l(e,t=0){const n=Number(e);return Number.isFinite(n)?n:t}function y(e,t=""){return"string"==typeof e?e.trim()||t:"number"==typeof e?String(e):t}function v(e){return y(e)||void 0}function g(e){return Boolean(e&&"object"==typeof e&&!Array.isArray(e))}export{i as a,a as b,o as c,s as d,c as f}; diff --git a/dist/assets/scenario-CftOfMRB.css b/dist/assets/scenario-DapYnPh4.css similarity index 54% rename from dist/assets/scenario-CftOfMRB.css rename to dist/assets/scenario-DapYnPh4.css index 59914a2..b53d213 100644 --- a/dist/assets/scenario-CftOfMRB.css +++ b/dist/assets/scenario-DapYnPh4.css @@ -1 +1 @@ -uni-page-body[data-v-0c3a3813]{min-height:100%;background:#f9f9ff}body[data-v-0c3a3813]{background:#f9f9ff}.scenario-page[data-v-0c3a3813]{min-height:100vh;background:#f9f9ff;color:#191c21;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent}.scenario-shell[data-v-0c3a3813]{position:relative;min-height:100vh;overflow:hidden;background:#f9f9ff;display:flex;flex-direction:column}.hero[data-v-0c3a3813]{position:relative;flex:0 0 auto;height:33.333vh;min-height:245px}.hero-image[data-v-0c3a3813]{width:100%;height:100%}.hero-fade[data-v-0c3a3813]{position:absolute;left:0;right:0;top:0;bottom:0;background:linear-gradient(180deg,rgba(249,249,255,0),rgba(249,249,255,.3))}.director-row[data-v-0c3a3813]{position:relative;z-index:2;margin-top:-40px;padding:0 20px;display:flex;align-items:flex-start;gap:16px}.director-avatar[data-v-0c3a3813]{flex:0 0 auto;width:96px;height:96px}.director-image[data-v-0c3a3813]{width:100%;height:100%}.speech-bubble[data-v-0c3a3813]{position:relative;flex:1;margin-top:16px;padding:16px;border:1px solid rgba(194,198,212,.3);border-radius:16px;background:#fff;box-shadow:0 4px 10px rgba(25,28,33,.1);color:#00478d;font-size:14px;line-height:22px;font-weight:600}.speech-bubble[data-v-0c3a3813]:after{content:"";position:absolute;left:-9px;top:20px;width:16px;height:16px;background:#fff;border-left:1px solid rgba(194,198,212,.3);border-bottom:1px solid rgba(194,198,212,.3);transform:rotate(45deg)}.config-scroll[data-v-0c3a3813]{box-sizing:border-box;flex:1;height:1px;padding:16px 20px 108px}.selected-case[data-v-0c3a3813]{margin-bottom:20px;padding:12px;border:1px solid rgba(194,198,212,.35);border-radius:12px;background:rgba(255,255,255,.7)}.case-label[data-v-0c3a3813]{display:block;margin-bottom:4px;color:#727783;font-size:12px;line-height:16px}.case-title[data-v-0c3a3813]{color:#191c21;font-size:14px;line-height:20px;font-weight:600}.section[data-v-0c3a3813]{margin-bottom:24px}.section-title[data-v-0c3a3813]{margin-bottom:16px;display:flex;align-items:center;gap:8px;color:#191c21;font-size:14px;line-height:20px;font-weight:600}.star-icon[data-v-0c3a3813],.tune-icon[data-v-0c3a3813],.location-icon[data-v-0c3a3813],.cake-icon[data-v-0c3a3813],.school-icon[data-v-0c3a3813],.mind-icon[data-v-0c3a3813],.arrow-icon[data-v-0c3a3813]{background:#00478d}.star-icon[data-v-0c3a3813],.tune-icon[data-v-0c3a3813]{width:20px;height:20px}.star-icon[data-v-0c3a3813]{-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='m12%202%202.7%206.6%207.1.6-5.4%204.6%201.7%206.9L12%2017l-6.1%203.7%201.7-6.9-5.4-4.6%207.1-.6L12%202z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='m12%202%202.7%206.6%207.1.6-5.4%204.6%201.7%206.9L12%2017l-6.1%203.7%201.7-6.9-5.4-4.6%207.1-.6L12%202z'/%3E%3C/svg%3E") center / contain no-repeat}.tune-icon[data-v-0c3a3813]{-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M3%2017v2h6v-2H3zM3%205v2h10V5H3zm10%2016v-2h8v-2h-8v-2h-2v6h2zM7%209v2H3v2h4v2h2V9H7zm14%204v-2H11v2h10zm-6-4h2V7h4V5h-4V3h-2v6z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M3%2017v2h6v-2H3zM3%205v2h10V5H3zm10%2016v-2h8v-2h-8v-2h-2v6h2zM7%209v2H3v2h4v2h2V9H7zm14%204v-2H11v2h10zm-6-4h2V7h4V5h-4V3h-2v6z'/%3E%3C/svg%3E") center / contain no-repeat}.recommend-list[data-v-0c3a3813],.custom-section[data-v-0c3a3813]{display:flex;flex-direction:column;gap:12px}.custom-section[data-v-0c3a3813]{margin-bottom:16px}.custom-section.expanded[data-v-0c3a3813]{margin-bottom:24px}.custom-config-toggle[data-v-0c3a3813]{width:100%;min-height:44px;margin:0;padding:0;border:0;background:transparent;display:flex;align-items:center;gap:8px;text-align:left}.custom-config-toggle[data-v-0c3a3813]:after{border:0}.custom-toggle-spacer[data-v-0c3a3813]{flex:1}.toggle-chevron[data-v-0c3a3813]{width:20px;height:20px;background:#424752;transition:transform .2s ease,background .2s ease;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M7.4%208.6%2012%2013.2l4.6-4.6L18%2010l-6%206-6-6%201.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M7.4%208.6%2012%2013.2l4.6-4.6L18%2010l-6%206-6-6%201.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat}.custom-config-toggle.expanded .toggle-chevron[data-v-0c3a3813]{background:#00478d;transform:rotate(180deg)}.custom-options[data-v-0c3a3813]{max-height:0;opacity:0;overflow:hidden;transform:translateY(-4px);transition:max-height .24s ease,opacity .18s ease,transform .18s ease;display:flex;flex-direction:column;gap:16px}.custom-options.expanded[data-v-0c3a3813]{max-height:760px;opacity:1;transform:translateY(0)}.recommend-card[data-v-0c3a3813]{width:100%;padding:16px;border:1px solid #c2c6d4;border-radius:12px;background:rgba(255,255,255,.7);text-align:left;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.recommend-card.active[data-v-0c3a3813]{border-color:#00478d;background:rgba(214,227,255,.46)}.recommend-card[data-v-0c3a3813]:after,.choice[data-v-0c3a3813]:after,.generate-button[data-v-0c3a3813]:after{border:0}.recommend-card[data-v-0c3a3813]:active,.choice[data-v-0c3a3813]:active,.generate-button[data-v-0c3a3813]:active{transform:scale(.98)}.recommend-head[data-v-0c3a3813]{margin-bottom:8px;display:flex;align-items:center;gap:16px}.recommend-icon[data-v-0c3a3813]{color:#00478d;font-size:13px;line-height:18px;font-weight:700}.recommend-title[data-v-0c3a3813]{color:#191c21;font-size:14px;line-height:20px;font-weight:600}.recommend-desc[data-v-0c3a3813]{display:block;margin-bottom:8px;color:#424752;font-size:12px;line-height:18px}.tag-row[data-v-0c3a3813]{display:flex;gap:8px}.tag[data-v-0c3a3813]{padding:2px 8px;border-radius:999px;background:#ecedf6;color:#191c21;font-size:10px;line-height:16px}.tag.danger[data-v-0c3a3813]{background:rgba(255,218,214,.35);color:#ba1a1a}.option-block[data-v-0c3a3813]{display:flex;flex-direction:column;gap:12px}.option-label[data-v-0c3a3813]{display:flex;align-items:center;gap:4px;color:#424752;font-size:12px;line-height:16px;font-weight:600}.location-icon[data-v-0c3a3813],.cake-icon[data-v-0c3a3813],.school-icon[data-v-0c3a3813],.mind-icon[data-v-0c3a3813]{width:14px;height:14px;background:#424752}.location-icon[data-v-0c3a3813]{-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a7%207%200%200%200-7%207c0%205.25%207%2013%207%2013s7-7.75%207-13a7%207%200%200%200-7-7zm0%209.5A2.5%202.5%200%201%201%2012%206a2.5%202.5%200%200%201%200%205.5z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a7%207%200%200%200-7%207c0%205.25%207%2013%207%2013s7-7.75%207-13a7%207%200%200%200-7-7zm0%209.5A2.5%202.5%200%201%201%2012%206a2.5%202.5%200%200%201%200%205.5z'/%3E%3C/svg%3E") center / contain no-repeat}.cake-icon[data-v-0c3a3813],.school-icon[data-v-0c3a3813],.mind-icon[data-v-0c3a3813]{border-radius:50%}.option-grid[data-v-0c3a3813]{display:grid;gap:10px;width:100%}.grid-3[data-v-0c3a3813]{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4[data-v-0c3a3813]{grid-template-columns:repeat(4,minmax(0,1fr))}.choice[data-v-0c3a3813]{box-sizing:border-box;width:100%;min-width:0;min-height:42px;padding:8px 6px;border:1px solid #c2c6d4;border-radius:8px;background:rgba(255,255,255,.76);color:#424752;font-size:14px;line-height:20px;display:flex;align-items:center;justify-content:center;text-align:center;white-space:nowrap;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.choice.small[data-v-0c3a3813]{font-size:12px}.choice.mini[data-v-0c3a3813]{font-size:11px}.choice.selected[data-v-0c3a3813]{border-color:#00478d;background:rgba(0,71,141,.1);color:#00478d;font-weight:700}.personality-block[data-v-0c3a3813]{padding-bottom:32px}.bottom-action[data-v-0c3a3813]{position:absolute;left:0;right:0;bottom:0;z-index:3;box-sizing:border-box;padding:32px 20px 20px;background:linear-gradient(180deg,rgba(249,249,255,0),#f9f9ff 38%,#f9f9ff)}.generate-button[data-v-0c3a3813]{width:100%;min-height:56px;border-radius:999px;background:#00478d;box-shadow:0 8px 18px rgba(0,71,141,.22);color:#fff;font-size:14px;line-height:20px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:12px}.arrow-icon[data-v-0c3a3813]{width:20px;height:20px;background:#fff;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='m12%204-1.41%201.41L16.17%2011H4v2h12.17l-5.58%205.59L12%2020l8-8-8-8z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='m12%204-1.41%201.41L16.17%2011H4v2h12.17l-5.58%205.59L12%2020l8-8-8-8z'/%3E%3C/svg%3E") center / contain no-repeat}.toast[data-v-0c3a3813]{position:fixed;left:50%;bottom:96px;z-index:100;max-width:320px;padding:12px 24px;border-radius:999px;background:#2e3037;color:#eff0f8;font-size:14px;line-height:20px;font-weight:600;text-align:center;pointer-events:none;opacity:0;transform:translate(-50%,16px);transition:opacity .3s ease,transform .3s ease}.toast.visible[data-v-0c3a3813]{opacity:1;transform:translate(-50%)} +uni-page-body[data-v-18785eb2]{min-height:100%;background:#f9f9ff}body[data-v-18785eb2]{background:#f9f9ff}.scenario-page[data-v-18785eb2]{min-height:100vh;background:#f9f9ff;color:#191c21;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent}.scenario-shell[data-v-18785eb2]{position:relative;min-height:100vh;overflow:hidden;background:#f9f9ff;display:flex;flex-direction:column}.hero[data-v-18785eb2]{position:relative;flex:0 0 auto;height:33.333vh;min-height:245px}.hero-image[data-v-18785eb2]{width:100%;height:100%}.hero-fade[data-v-18785eb2]{position:absolute;left:0;right:0;top:0;bottom:0;background:linear-gradient(180deg,rgba(249,249,255,0),rgba(249,249,255,.3))}.director-row[data-v-18785eb2]{position:relative;z-index:2;margin-top:-40px;padding:0 20px;display:flex;align-items:flex-start;gap:16px}.director-avatar[data-v-18785eb2]{flex:0 0 auto;width:96px;height:96px}.director-image[data-v-18785eb2]{width:100%;height:100%}.speech-bubble[data-v-18785eb2]{position:relative;flex:1;margin-top:16px;padding:16px;border:1px solid rgba(194,198,212,.3);border-radius:16px;background:#fff;box-shadow:0 4px 10px rgba(25,28,33,.1);color:#00478d;font-size:14px;line-height:22px;font-weight:600}.speech-bubble[data-v-18785eb2]:after{content:"";position:absolute;left:-9px;top:20px;width:16px;height:16px;background:#fff;border-left:1px solid rgba(194,198,212,.3);border-bottom:1px solid rgba(194,198,212,.3);transform:rotate(45deg)}.config-scroll[data-v-18785eb2]{box-sizing:border-box;flex:1;height:1px;padding:16px 20px 108px}.selected-case[data-v-18785eb2]{margin-bottom:20px;padding:12px;border:1px solid rgba(194,198,212,.35);border-radius:12px;background:rgba(255,255,255,.7)}.case-label[data-v-18785eb2]{display:block;margin-bottom:4px;color:#727783;font-size:12px;line-height:16px}.case-title[data-v-18785eb2]{color:#191c21;font-size:14px;line-height:20px;font-weight:600}.section[data-v-18785eb2]{margin-bottom:24px}.section-title[data-v-18785eb2]{margin-bottom:16px;display:flex;align-items:center;gap:8px;color:#191c21;font-size:14px;line-height:20px;font-weight:600}.star-icon[data-v-18785eb2],.tune-icon[data-v-18785eb2],.location-icon[data-v-18785eb2],.cake-icon[data-v-18785eb2],.school-icon[data-v-18785eb2],.mind-icon[data-v-18785eb2],.arrow-icon[data-v-18785eb2]{background:#00478d}.star-icon[data-v-18785eb2],.tune-icon[data-v-18785eb2]{width:20px;height:20px}.star-icon[data-v-18785eb2]{-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='m12%202%202.7%206.6%207.1.6-5.4%204.6%201.7%206.9L12%2017l-6.1%203.7%201.7-6.9-5.4-4.6%207.1-.6L12%202z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='m12%202%202.7%206.6%207.1.6-5.4%204.6%201.7%206.9L12%2017l-6.1%203.7%201.7-6.9-5.4-4.6%207.1-.6L12%202z'/%3E%3C/svg%3E") center / contain no-repeat}.tune-icon[data-v-18785eb2]{-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M3%2017v2h6v-2H3zM3%205v2h10V5H3zm10%2016v-2h8v-2h-8v-2h-2v6h2zM7%209v2H3v2h4v2h2V9H7zm14%204v-2H11v2h10zm-6-4h2V7h4V5h-4V3h-2v6z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M3%2017v2h6v-2H3zM3%205v2h10V5H3zm10%2016v-2h8v-2h-8v-2h-2v6h2zM7%209v2H3v2h4v2h2V9H7zm14%204v-2H11v2h10zm-6-4h2V7h4V5h-4V3h-2v6z'/%3E%3C/svg%3E") center / contain no-repeat}.recommend-list[data-v-18785eb2],.custom-section[data-v-18785eb2]{display:flex;flex-direction:column;gap:12px}.custom-section[data-v-18785eb2]{margin-bottom:16px}.custom-section.expanded[data-v-18785eb2]{margin-bottom:24px}.custom-config-toggle[data-v-18785eb2]{width:100%;min-height:44px;margin:0;padding:0;border:0;background:transparent;display:flex;align-items:center;gap:8px;text-align:left}.custom-config-toggle[data-v-18785eb2]:after{border:0}.custom-toggle-spacer[data-v-18785eb2]{flex:1}.toggle-chevron[data-v-18785eb2]{width:20px;height:20px;background:#424752;transition:transform .2s ease,background .2s ease;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M7.4%208.6%2012%2013.2l4.6-4.6L18%2010l-6%206-6-6%201.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M7.4%208.6%2012%2013.2l4.6-4.6L18%2010l-6%206-6-6%201.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat}.custom-config-toggle.expanded .toggle-chevron[data-v-18785eb2]{background:#00478d;transform:rotate(180deg)}.custom-options[data-v-18785eb2]{max-height:0;opacity:0;overflow:hidden;transform:translateY(-4px);transition:max-height .24s ease,opacity .18s ease,transform .18s ease;display:flex;flex-direction:column;gap:16px}.custom-options.expanded[data-v-18785eb2]{max-height:760px;opacity:1;transform:translateY(0)}.recommend-card[data-v-18785eb2]{width:100%;padding:16px;border:1px solid #c2c6d4;border-radius:12px;background:rgba(255,255,255,.7);text-align:left;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.recommend-card.active[data-v-18785eb2]{border-color:#00478d;background:rgba(214,227,255,.46)}.recommend-card[data-v-18785eb2]:after,.choice[data-v-18785eb2]:after,.generate-button[data-v-18785eb2]:after{border:0}.recommend-card[data-v-18785eb2]:active,.choice[data-v-18785eb2]:active,.generate-button[data-v-18785eb2]:active{transform:scale(.98)}.recommend-head[data-v-18785eb2]{margin-bottom:8px;display:flex;align-items:center;gap:16px}.recommend-icon[data-v-18785eb2]{color:#00478d;font-size:13px;line-height:18px;font-weight:700}.recommend-title[data-v-18785eb2]{color:#191c21;font-size:14px;line-height:20px;font-weight:600}.recommend-desc[data-v-18785eb2]{display:block;margin-bottom:8px;color:#424752;font-size:12px;line-height:18px}.tag-row[data-v-18785eb2]{display:flex;gap:8px}.tag[data-v-18785eb2]{padding:2px 8px;border-radius:999px;background:#ecedf6;color:#191c21;font-size:10px;line-height:16px}.tag.danger[data-v-18785eb2]{background:rgba(255,218,214,.35);color:#ba1a1a}.option-block[data-v-18785eb2]{display:flex;flex-direction:column;gap:12px}.option-label[data-v-18785eb2]{display:flex;align-items:center;gap:4px;color:#424752;font-size:12px;line-height:16px;font-weight:600}.location-icon[data-v-18785eb2],.cake-icon[data-v-18785eb2],.school-icon[data-v-18785eb2],.mind-icon[data-v-18785eb2]{width:14px;height:14px;background:#424752}.location-icon[data-v-18785eb2]{-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a7%207%200%200%200-7%207c0%205.25%207%2013%207%2013s7-7.75%207-13a7%207%200%200%200-7-7zm0%209.5A2.5%202.5%200%201%201%2012%206a2.5%202.5%200%200%201%200%205.5z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a7%207%200%200%200-7%207c0%205.25%207%2013%207%2013s7-7.75%207-13a7%207%200%200%200-7-7zm0%209.5A2.5%202.5%200%201%201%2012%206a2.5%202.5%200%200%201%200%205.5z'/%3E%3C/svg%3E") center / contain no-repeat}.cake-icon[data-v-18785eb2],.school-icon[data-v-18785eb2],.mind-icon[data-v-18785eb2]{border-radius:50%}.option-grid[data-v-18785eb2]{display:grid;gap:10px;width:100%}.grid-3[data-v-18785eb2]{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4[data-v-18785eb2]{grid-template-columns:repeat(4,minmax(0,1fr))}.choice[data-v-18785eb2]{box-sizing:border-box;width:100%;min-width:0;min-height:42px;padding:8px 6px;border:1px solid #c2c6d4;border-radius:8px;background:rgba(255,255,255,.76);color:#424752;font-size:14px;line-height:20px;display:flex;align-items:center;justify-content:center;text-align:center;white-space:nowrap;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.choice.small[data-v-18785eb2]{font-size:12px}.choice.mini[data-v-18785eb2]{font-size:11px}.choice.selected[data-v-18785eb2]{border-color:#00478d;background:rgba(0,71,141,.1);color:#00478d;font-weight:700}.personality-block[data-v-18785eb2]{padding-bottom:32px}.bottom-action[data-v-18785eb2]{position:absolute;left:0;right:0;bottom:0;z-index:3;box-sizing:border-box;padding:32px 20px 20px;background:linear-gradient(180deg,rgba(249,249,255,0),#f9f9ff 38%,#f9f9ff)}.generate-button[data-v-18785eb2]{width:100%;min-height:56px;border-radius:999px;background:#00478d;box-shadow:0 8px 18px rgba(0,71,141,.22);color:#fff;font-size:14px;line-height:20px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:12px}.arrow-icon[data-v-18785eb2]{width:20px;height:20px;background:#fff;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='m12%204-1.41%201.41L16.17%2011H4v2h12.17l-5.58%205.59L12%2020l8-8-8-8z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='m12%204-1.41%201.41L16.17%2011H4v2h12.17l-5.58%205.59L12%2020l8-8-8-8z'/%3E%3C/svg%3E") center / contain no-repeat}.toast[data-v-18785eb2]{position:fixed;left:50%;bottom:96px;z-index:100;max-width:320px;padding:12px 24px;border-radius:999px;background:#2e3037;color:#eff0f8;font-size:14px;line-height:20px;font-weight:600;text-align:center;pointer-events:none;opacity:0;transform:translate(-50%,16px);transition:opacity .3s ease,transform .3s ease}.toast.visible[data-v-18785eb2]{opacity:1;transform:translate(-50%)} diff --git a/dist/assets/session.CQodznPl.js b/dist/assets/session.EmQEGqqa.js similarity index 98% rename from dist/assets/session.CQodznPl.js rename to dist/assets/session.EmQEGqqa.js index 50b5b66..f155f2b 100644 --- a/dist/assets/session.CQodznPl.js +++ b/dist/assets/session.EmQEGqqa.js @@ -1 +1 @@ -import{C as e,s as t}from"./index-pnQqyMoS.js";const n="/fastapi/api/v1";function s(){const t=e("clinical-thinking-access-token");if("string"!=typeof t||!t.trim())throw new Error("登录已过期,请重新登录");return t}function o(e="application/json"){return{"Content-Type":"application/json",Accept:e,Authorization:`Bearer ${s()}`,"X-Entry-Scene":"vue_frontend"}}async function a(e){const t=await e.text().catch((()=>""));if(!t)return`请求失败(${e.status})`;try{const e=JSON.parse(t),n=e.message||e.detail||e.error;if("string"==typeof n&&n.trim())return n}catch{}return t}function r(){const t=e("clinical-thinking-scenario");return t&&"object"==typeof t?t:null}function i(){var e,t;const n=null==(t=null==(e=r())?void 0:e.session)?void 0:t.session_id;if("number"==typeof n&&Number.isInteger(n)&&n>0)return n;throw new Error("未找到当前会话,请先生成模拟场景")}function c(e){const n=r();(null==n?void 0:n.session)&&t("clinical-thinking-scenario",{...n,session:{...n.session,status:e}})}async function f(e){var t;const n=await fetch("/fastapi/api/v1/sessions",{method:"POST",headers:o(),body:JSON.stringify(e)});if(!n.ok)throw new Error(await a(n));const s=await n.json();if("OK"!==s.code||!(null==(t=s.data)?void 0:t.session_id))throw new Error(s.message||"新建会话失败");return s.data}async function d(e){var t;const n=await fetch(`/fastapi/api/v1/sessions/${e}/complete-inquiry`,{method:"POST",headers:o()});if(!n.ok)throw new Error(await a(n));const s=await n.json();if("OK"!==s.code||!(null==(t=s.data)?void 0:t.session_id))throw new Error(s.message||"完成采集失败");return s.data}async function l(e,t,n,s){var r,i,c;const f=await fetch(`/fastapi/api/v1/sessions/${e}/chat/stream`,{method:"POST",headers:o("text/event-stream"),body:JSON.stringify({message:t}),signal:s});if(!f.ok||!f.body)throw new Error(await a(f));const d=f.body.getReader(),l=new TextDecoder;let u="",w=!1;for(;;){const{value:e,done:t}=await d.read();if(t)break;u+=l.decode(e,{stream:!0});const s=u.split("\n\n");u=s.pop()||"";for(const o of s){const e=null==(r=o.match(/^event:\s*(.+)$/m))?void 0:r[1],t=null==(i=o.match(/^data:\s*(.+)$/m))?void 0:i[1];if(!e||!t)continue;const s=JSON.parse(t);if("message_delta"===e){const e=s.delta;"string"==typeof e&&n.onDelta(e)}else if("message_done"===e)w=!0,null==(c=n.onDone)||c.call(n,s);else if("error"===e)throw new Error("string"==typeof s.message?s.message:"AI 流式回复异常")}}if(!w)throw new Error("AI 流式回复未正常结束,请重试")}async function u(e,t,n,s){var r,i,c;const f={last_user_message:t,scope:"current_conversation"},d=await fetch(`/fastapi/api/v1/sessions/${e}/hints/stream`,{method:"POST",headers:o("text/event-stream"),body:JSON.stringify(f),signal:s});if(!d.ok||!d.body)throw new Error(await a(d));const l=d.body.getReader(),u=new TextDecoder;let w="",h=!1;for(;;){const{value:e,done:t}=await l.read();if(t)break;w+=u.decode(e,{stream:!0});const s=w.split("\n\n");w=s.pop()||"";for(const o of s){const e=null==(r=o.match(/^event:\s*(.+)$/m))?void 0:r[1],t=null==(i=o.match(/^data:\s*(.+)$/m))?void 0:i[1];if(!e||!t)continue;const s=JSON.parse(t);if("hint_delta"===e){const e=s.delta;"string"==typeof e&&n.onDelta(e)}else if("hint_done"===e)h=!0,null==(c=n.onDone)||c.call(n,s);else if("error"===e)throw new Error("string"==typeof s.message?s.message:"练习提示生成失败,请稍后重试")}}if(!h)throw new Error("练习提示未正常结束,请重试")}export{n as F,o as a,r as b,f as c,d,u as e,i as f,a as r,l as s,c as u}; +import{D as e,s as t}from"./index-DR4MYR5F.js";const n="/fastapi/api/v1";function s(){const t=e("clinical-thinking-access-token");if("string"!=typeof t||!t.trim())throw new Error("登录已过期,请重新登录");return t}function o(e="application/json"){return{"Content-Type":"application/json",Accept:e,Authorization:`Bearer ${s()}`,"X-Entry-Scene":"vue_frontend"}}async function a(e){const t=await e.text().catch((()=>""));if(!t)return`请求失败(${e.status})`;try{const e=JSON.parse(t),n=e.message||e.detail||e.error;if("string"==typeof n&&n.trim())return n}catch{}return t}function r(){const t=e("clinical-thinking-scenario");return t&&"object"==typeof t?t:null}function i(){var e,t;const n=null==(t=null==(e=r())?void 0:e.session)?void 0:t.session_id;if("number"==typeof n&&Number.isInteger(n)&&n>0)return n;throw new Error("未找到当前会话,请先生成模拟场景")}function c(e){const n=r();(null==n?void 0:n.session)&&t("clinical-thinking-scenario",{...n,session:{...n.session,status:e}})}async function f(e){var t;const n=await fetch("/fastapi/api/v1/sessions",{method:"POST",headers:o(),body:JSON.stringify(e)});if(!n.ok)throw new Error(await a(n));const s=await n.json();if("OK"!==s.code||!(null==(t=s.data)?void 0:t.session_id))throw new Error(s.message||"新建会话失败");return s.data}async function d(e){var t;const n=await fetch(`/fastapi/api/v1/sessions/${e}/complete-inquiry`,{method:"POST",headers:o()});if(!n.ok)throw new Error(await a(n));const s=await n.json();if("OK"!==s.code||!(null==(t=s.data)?void 0:t.session_id))throw new Error(s.message||"完成采集失败");return s.data}async function l(e,t,n,s){var r,i,c;const f=await fetch(`/fastapi/api/v1/sessions/${e}/chat/stream`,{method:"POST",headers:o("text/event-stream"),body:JSON.stringify({message:t}),signal:s});if(!f.ok||!f.body)throw new Error(await a(f));const d=f.body.getReader(),l=new TextDecoder;let u="",w=!1;for(;;){const{value:e,done:t}=await d.read();if(t)break;u+=l.decode(e,{stream:!0});const s=u.split("\n\n");u=s.pop()||"";for(const o of s){const e=null==(r=o.match(/^event:\s*(.+)$/m))?void 0:r[1],t=null==(i=o.match(/^data:\s*(.+)$/m))?void 0:i[1];if(!e||!t)continue;const s=JSON.parse(t);if("message_delta"===e){const e=s.delta;"string"==typeof e&&n.onDelta(e)}else if("message_done"===e)w=!0,null==(c=n.onDone)||c.call(n,s);else if("error"===e)throw new Error("string"==typeof s.message?s.message:"AI 流式回复异常")}}if(!w)throw new Error("AI 流式回复未正常结束,请重试")}async function u(e,t,n,s){var r,i,c;const f={last_user_message:t,scope:"current_conversation"},d=await fetch(`/fastapi/api/v1/sessions/${e}/hints/stream`,{method:"POST",headers:o("text/event-stream"),body:JSON.stringify(f),signal:s});if(!d.ok||!d.body)throw new Error(await a(d));const l=d.body.getReader(),u=new TextDecoder;let w="",h=!1;for(;;){const{value:e,done:t}=await l.read();if(t)break;w+=u.decode(e,{stream:!0});const s=w.split("\n\n");w=s.pop()||"";for(const o of s){const e=null==(r=o.match(/^event:\s*(.+)$/m))?void 0:r[1],t=null==(i=o.match(/^data:\s*(.+)$/m))?void 0:i[1];if(!e||!t)continue;const s=JSON.parse(t);if("hint_delta"===e){const e=s.delta;"string"==typeof e&&n.onDelta(e)}else if("hint_done"===e)h=!0,null==(c=n.onDone)||c.call(n,s);else if("error"===e)throw new Error("string"==typeof s.message?s.message:"练习提示生成失败,请稍后重试")}}if(!h)throw new Error("练习提示未正常结束,请重试")}export{n as F,o as a,r as b,f as c,d,u as e,i as f,a as r,l as s,c as u}; diff --git a/dist/assets/teaching-D5UxL3cd.css b/dist/assets/teaching-BLhZOmNZ.css similarity index 62% rename from dist/assets/teaching-D5UxL3cd.css rename to dist/assets/teaching-BLhZOmNZ.css index e8f4e18..e0cec05 100644 --- a/dist/assets/teaching-D5UxL3cd.css +++ b/dist/assets/teaching-BLhZOmNZ.css @@ -1 +1 @@ -uni-page-body[data-v-f21565e2]{min-height:100%;background:#e7e8f0}body[data-v-f21565e2]{background:#e7e8f0}.teaching-page[data-v-f21565e2]{min-height:100vh;background:#e7e8f0;color:#191c21;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent}.teaching-shell[data-v-f21565e2]{position:relative;height:100vh;overflow:hidden;background:#f2f3fb;display:flex;flex-direction:column}.top-nav[data-v-f21565e2]{position:relative;z-index:20;box-sizing:border-box;height:56px;padding:0 20px;border-bottom:1px solid rgba(194,198,212,.3);background:rgba(255,255,255,.82);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);display:flex;align-items:center}.nav-spacer[data-v-f21565e2]{flex:1}.icon-button[data-v-f21565e2]{width:40px;height:40px;padding:0;border-radius:50%;background:transparent;display:flex;align-items:center;justify-content:center}.icon-button[data-v-f21565e2]:after{border:0}.icon-button[data-v-f21565e2]:active{background:rgba(25,28,33,.05)}.home-button[data-v-f21565e2]{margin-left:4px}.settings-icon[data-v-f21565e2],.home-icon[data-v-f21565e2],.account-icon[data-v-f21565e2]{background:#424752}.settings-icon[data-v-f21565e2]{width:22px;height:22px;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M19.43%2012.98c.04-.32.07-.65.07-.98s-.02-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.37-.31-.6-.22l-2.49%201c-.52-.4-1.08-.73-1.69-.98L14.5%202.42C14.47%202.18%2014.25%202%2014%202h-4c-.25%200-.46.18-.5.42l-.38%202.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.08-.48%200-.6.22l-2%203.46c-.13.22-.07.49.12.64l2.11%201.65c-.04.32-.08.65-.08.98s.03.66.08.98l-2.11%201.65c-.19.15-.24.42-.12.64l2%203.46c.12.22.37.31.6.22l2.49-1c.52.4%201.08.73%201.69.98l.38%202.65c.04.24.25.42.5.42h4c.25%200%20.46-.18.5-.42l.38-2.65c.61-.25%201.17-.58%201.69-.98l2.49%201c.23.08.48%200%20.6-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12%2015.5A3.5%203.5%200%201%201%2012%208a3.5%203.5%200%200%201%200%207.5z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M19.43%2012.98c.04-.32.07-.65.07-.98s-.02-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.37-.31-.6-.22l-2.49%201c-.52-.4-1.08-.73-1.69-.98L14.5%202.42C14.47%202.18%2014.25%202%2014%202h-4c-.25%200-.46.18-.5.42l-.38%202.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.08-.48%200-.6.22l-2%203.46c-.13.22-.07.49.12.64l2.11%201.65c-.04.32-.08.65-.08.98s.03.66.08.98l-2.11%201.65c-.19.15-.24.42-.12.64l2%203.46c.12.22.37.31.6.22l2.49-1c.52.4%201.08.73%201.69.98l.38%202.65c.04.24.25.42.5.42h4c.25%200%20.46-.18.5-.42l.38-2.65c.61-.25%201.17-.58%201.69-.98l2.49%201c.23.08.48%200%20.6-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12%2015.5A3.5%203.5%200%201%201%2012%208a3.5%203.5%200%200%201%200%207.5z'/%3E%3C/svg%3E") center / contain no-repeat}.home-icon[data-v-f21565e2]{width:23px;height:23px;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10%2020v-6h4v6h5v-8h3L12%203%202%2012h3v8h5z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10%2020v-6h4v6h5v-8h3L12%203%202%2012h3v8h5z'/%3E%3C/svg%3E") center / contain no-repeat}.account-icon[data-v-f21565e2]{width:24px;height:24px;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20zm0%203a3.5%203.5%200%201%201%200%207%203.5%203.5%200%200%201%200-7zm0%2015a8%208%200%200%201-6.4-3.2c1.18-2.02%203.57-3.3%206.4-3.3s5.22%201.28%206.4%203.3A8%208%200%200%201%2012%2020z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20zm0%203a3.5%203.5%200%201%201%200%207%203.5%203.5%200%200%201%200-7zm0%2015a8%208%200%200%201-6.4-3.2c1.18-2.02%203.57-3.3%206.4-3.3s5.22%201.28%206.4%203.3A8%208%200%200%201%2012%2020z'/%3E%3C/svg%3E") center / contain no-repeat}.patient-header[data-v-f21565e2]{position:relative;z-index:10;padding:16px 20px;border-bottom:1px solid rgba(194,198,212,.2);background:#fff;box-shadow:0 2px 8px rgba(25,28,33,.04)}.case-heading[data-v-f21565e2]{display:block;color:#191c21;font-size:20px;line-height:28px;font-weight:600}.patient-meta[data-v-f21565e2]{margin-top:8px;padding-top:8px;border-top:1px solid rgba(194,198,212,.3);display:flex;flex-wrap:wrap;gap:4px 24px;color:#424752;font-size:13px;line-height:20px}.teaching-body[data-v-f21565e2]{flex:1;min-height:0;padding-bottom:40px}.mentor-section[data-v-f21565e2]{padding:24px 20px 0;display:flex;align-items:flex-start;gap:16px}.mentor-profile[data-v-f21565e2]{position:relative;flex:0 0 auto;width:64px;display:flex;flex-direction:column;align-items:center;gap:6px}.mentor-avatar[data-v-f21565e2]{width:64px;height:64px;border:2px solid #ffffff;border-radius:16px;background:#fff;box-shadow:0 4px 12px rgba(0,71,141,.16);overflow:hidden;animation:pulse-border-f21565e2 2s infinite}.mentor-avatar uni-image[data-v-f21565e2]{width:100%;height:100%}.online-dot[data-v-f21565e2]{position:absolute;right:2px;top:50px;width:16px;height:16px;border:2px solid #ffffff;border-radius:50%;background:#22c55e;box-shadow:0 2px 4px rgba(25,28,33,.16)}.mentor-name[data-v-f21565e2]{padding:2px 8px;border-radius:999px;background:rgba(255,255,255,.6);color:#191c21;font-size:12px;line-height:18px;font-weight:700}.question-bubble[data-v-f21565e2]{position:relative;flex:1;padding:16px;border:1px solid rgba(255,255,255,.3);border-radius:16px;background:rgba(255,255,255,.72);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 2px 8px rgba(25,28,33,.06);color:#191c21;font-size:16px;line-height:24px}.question-bubble[data-v-f21565e2]:after{content:"";position:absolute;left:-8px;top:24px;width:0;height:0;border-top:8px solid transparent;border-right:8px solid rgba(255,255,255,.72);border-bottom:8px solid transparent}.video-section[data-v-f21565e2]{padding:24px 20px 0;display:flex;flex-direction:column;gap:16px}.video-player[data-v-f21565e2]{position:relative;width:100%;aspect-ratio:16 / 9;border-radius:16px;background:#050816;box-shadow:0 8px 20px rgba(25,28,33,.18);overflow:hidden}.real-video[data-v-f21565e2]{display:block;-o-object-fit:contain;object-fit:contain}.video-poster[data-v-f21565e2]{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 58% 42%,rgba(169,199,255,.35),transparent 28%),radial-gradient(circle at 38% 58%,rgba(125,244,255,.22),transparent 34%),linear-gradient(135deg,#081426,#12345f 52%,#07111f)}.video-poster.playing .heart-pulse[data-v-f21565e2]{animation-play-state:running}.heart-visual[data-v-f21565e2]{position:absolute;left:50%;top:50%;width:116px;height:116px;transform:translate(-50%,-50%)}.heart-core[data-v-f21565e2]{position:absolute;left:50%;top:50%;width:72px;height:72px;border-radius:48% 52%;background:linear-gradient(135deg,#ff6b6b,#9f4300);box-shadow:0 0 32px rgba(255,182,145,.55);transform:translate(-50%,-50%) rotate(45deg)}.heart-pulse[data-v-f21565e2]{position:absolute;top:0;right:0;bottom:0;left:0;border:2px solid rgba(169,199,255,.62);border-radius:50%;animation:video-pulse-f21565e2 1.8s ease-out infinite paused}.pulse-two[data-v-f21565e2]{animation-delay:.75s}.video-overlay[data-v-f21565e2]{position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.2);display:flex;align-items:center;justify-content:center}.play-button[data-v-f21565e2]{width:64px;height:64px;border-radius:50%;background:rgba(0,71,141,.92);box-shadow:0 8px 18px rgba(0,0,0,.26);display:flex;align-items:center;justify-content:center}.play-button.playing[data-v-f21565e2]{opacity:.78}.play-icon[data-v-f21565e2]{width:34px;height:34px;margin-left:4px;background:#fff;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M8%205v14l11-7z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M8%205v14l11-7z'/%3E%3C/svg%3E") center / contain no-repeat}.play-button.playing .play-icon[data-v-f21565e2]{margin-left:0;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M6%205h4v14H6V5zm8%200h4v14h-4V5z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M6%205h4v14H6V5zm8%200h4v14h-4V5z'/%3E%3C/svg%3E") center / contain no-repeat}.video-progress[data-v-f21565e2]{position:absolute;left:0;right:0;bottom:0;height:4px;background:rgba(194,198,212,.3)}.video-progress-fill[data-v-f21565e2]{height:100%;background:#00478d;transition:width .24s ease}.video-copy[data-v-f21565e2]{display:flex;flex-direction:column;gap:8px}.video-title[data-v-f21565e2]{color:#191c21;font-size:20px;line-height:28px;font-weight:600}.video-desc[data-v-f21565e2]{color:#424752;font-size:14px;line-height:22px}.option-list[data-v-f21565e2]{padding:24px 20px 0;display:flex;flex-direction:column;gap:12px}.option-card[data-v-f21565e2]{box-sizing:border-box;width:100%;min-height:72px;padding:16px;border:1px solid rgba(194,198,212,.3);border-radius:16px;background:rgba(255,255,255,.72);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 2px 8px rgba(25,28,33,.06);display:flex;align-items:center;text-align:left}.option-card[data-v-f21565e2]:after{border:0}.option-key[data-v-f21565e2]{flex:0 0 auto;width:40px;height:40px;margin-right:16px;border-radius:12px;background:#e1e2ea;color:#424752;font-size:16px;line-height:40px;font-weight:700;text-align:center}.option-text[data-v-f21565e2]{flex:1;min-width:0;color:#191c21;font-size:16px;line-height:24px;font-weight:500}.option-card.selected-wrong[data-v-f21565e2]{border:2px solid #ba1a1a;background:rgba(186,26,26,.05)}.option-card.selected-wrong .option-key[data-v-f21565e2]{background:#ba1a1a;color:#fff}.option-card.selected-wrong .option-text[data-v-f21565e2]{color:#ba1a1a}.option-card.selected-correct[data-v-f21565e2]{border:2px solid #00478d;background:rgba(0,71,141,.07)}.option-card.selected-correct .option-key[data-v-f21565e2]{background:#00478d;color:#fff}.empty-state[data-v-f21565e2]{margin:24px 20px 0;min-height:160px;padding:24px;border:1px dashed rgba(194,198,212,.8);border-radius:16px;background:rgba(255,255,255,.64);color:rgba(66,71,82,.82);font-size:15px;line-height:24px;display:flex;align-items:center;justify-content:center;text-align:center}.wrong-icon[data-v-f21565e2],.right-icon[data-v-f21565e2]{position:relative;flex:0 0 auto;width:28px;height:28px;margin-left:12px;border-radius:50%}.wrong-icon[data-v-f21565e2]{background:#ba1a1a}.wrong-icon[data-v-f21565e2]:before,.wrong-icon[data-v-f21565e2]:after{content:"";position:absolute;left:7px;top:13px;width:14px;height:2px;border-radius:999px;background:#fff}.wrong-icon[data-v-f21565e2]:before{transform:rotate(45deg)}.wrong-icon[data-v-f21565e2]:after{transform:rotate(-45deg)}.right-icon[data-v-f21565e2]{background:#00478d}.right-icon[data-v-f21565e2]:after{content:"";position:absolute;left:9px;top:6px;width:7px;height:13px;border-right:3px solid #ffffff;border-bottom:3px solid #ffffff;transform:rotate(45deg)}.analysis-card[data-v-f21565e2]{margin:24px 20px 16px;padding:24px;border-left:6px solid #00478d;border-radius:16px;background:rgba(255,255,255,.82);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 4px 12px rgba(25,28,33,.1)}.analysis-title[data-v-f21565e2]{margin-bottom:16px;display:flex;align-items:center;gap:8px;color:#00478d;font-size:20px;line-height:28px;font-weight:600}.bulb-icon[data-v-f21565e2]{width:22px;height:22px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9%2021h6v-1.5H9V21zm3-19a7%207%200%200%200-4%2012.74V17c0%20.55.45%201%201%201h6c.55%200%201-.45%201-1v-2.26A7%207%200%200%200%2012%202zm2.85%2011.1-.85.6V16h-4v-2.3l-.85-.6A5%205%200%201%201%2014.85%2013.1z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9%2021h6v-1.5H9V21zm3-19a7%207%200%200%200-4%2012.74V17c0%20.55.45%201%201%201h6c.55%200%201-.45%201-1v-2.26A7%207%200%200%200%2012%202zm2.85%2011.1-.85.6V16h-4v-2.3l-.85-.6A5%205%200%201%201%2014.85%2013.1z'/%3E%3C/svg%3E") center / contain no-repeat}.analysis-content[data-v-f21565e2]{display:flex;flex-direction:column;gap:16px}.analysis-main[data-v-f21565e2]{color:#191c21;font-size:16px;line-height:25px}.analysis-divider[data-v-f21565e2]{height:1px;background:rgba(194,198,212,.2)}.analysis-note[data-v-f21565e2]{color:#424752;font-size:14px;line-height:22px;font-style:italic}.bottom-actions[data-v-f21565e2]{padding:24px 20px 40px;display:flex;flex-direction:column;gap:12px}.video-button[data-v-f21565e2],.next-button[data-v-f21565e2]{box-sizing:border-box;width:100%;height:56px;border-radius:16px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:16px;line-height:24px;font-weight:700;transition:transform .18s ease,opacity .18s ease}.video-button[data-v-f21565e2]:after,.next-button[data-v-f21565e2]:after{border:0}.video-button[data-v-f21565e2]:active,.next-button[data-v-f21565e2]:active{transform:scale(.98)}.video-button[data-v-f21565e2]{border:2px solid rgba(0,71,141,.2);background:rgba(255,255,255,.86);color:#00478d}.next-button[data-v-f21565e2]{border:0;background:#00478d;box-shadow:0 4px 12px rgba(0,71,141,.22);color:#fff}.next-button.disabled[data-v-f21565e2]{opacity:.5}.video-icon[data-v-f21565e2],.next-icon[data-v-f21565e2]{flex:0 0 auto;width:22px;height:22px;background:currentColor}.video-icon[data-v-f21565e2]{-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M17%2010.5V6c0-.55-.45-1-1-1H4c-.55%200-1%20.45-1%201v12c0%20.55.45%201%201%201h12c.55%200%201-.45%201-1v-4.5l4%204v-11l-4%204zM15%2017H5V7h10v10z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M17%2010.5V6c0-.55-.45-1-1-1H4c-.55%200-1%20.45-1%201v12c0%20.55.45%201%201%201h12c.55%200%201-.45%201-1v-4.5l4%204v-11l-4%204zM15%2017H5V7h10v10z'/%3E%3C/svg%3E") center / contain no-repeat}.next-icon[data-v-f21565e2]{-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%204l1.41%201.41L8.83%2010H20v2H8.83l4.58%204.59L12%2018l-7-7%207-7z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%204l1.41%201.41L8.83%2010H20v2H8.83l4.58%204.59L12%2018l-7-7%207-7z'/%3E%3C/svg%3E") center / contain no-repeat;transform:rotate(180deg)}.toast[data-v-f21565e2]{position:fixed;left:50%;bottom:32px;z-index:100;max-width:320px;padding:12px 20px;border-radius:12px;background:#2e3037;color:#eff0f8;font-size:14px;line-height:20px;font-weight:600;text-align:center;pointer-events:none;opacity:0;transform:translate(-50%,16px);transition:opacity .3s ease,transform .3s ease}.toast.visible[data-v-f21565e2]{opacity:1;transform:translate(-50%)}@keyframes pulse-border-f21565e2{0%{box-shadow:0 0 rgba(0,71,141,.4)}70%{box-shadow:0 0 0 10px rgba(0,71,141,0)}to{box-shadow:0 0 rgba(0,71,141,0)}}@keyframes video-pulse-f21565e2{0%{opacity:.78;transform:scale(.64)}to{opacity:0;transform:scale(1.16)}} +uni-page-body[data-v-c2d0b6fa]{min-height:100%;background:#e7e8f0}body[data-v-c2d0b6fa]{background:#e7e8f0}.teaching-page[data-v-c2d0b6fa]{min-height:100vh;background:#e7e8f0;color:#191c21;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Arial,sans-serif;-webkit-tap-highlight-color:transparent}.teaching-shell[data-v-c2d0b6fa]{position:relative;height:100vh;overflow:hidden;background:#f2f3fb;display:flex;flex-direction:column}.top-nav[data-v-c2d0b6fa]{position:relative;z-index:20;box-sizing:border-box;height:56px;padding:0 20px;border-bottom:1px solid rgba(194,198,212,.3);background:rgba(255,255,255,.82);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);display:flex;align-items:center}.nav-spacer[data-v-c2d0b6fa]{flex:1}.icon-button[data-v-c2d0b6fa]{width:40px;height:40px;padding:0;border-radius:50%;background:transparent;display:flex;align-items:center;justify-content:center}.icon-button[data-v-c2d0b6fa]:after{border:0}.icon-button[data-v-c2d0b6fa]:active{background:rgba(25,28,33,.05)}.home-button[data-v-c2d0b6fa]{margin-left:4px}.settings-icon[data-v-c2d0b6fa],.home-icon[data-v-c2d0b6fa],.account-icon[data-v-c2d0b6fa]{background:#424752}.settings-icon[data-v-c2d0b6fa]{width:22px;height:22px;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M19.43%2012.98c.04-.32.07-.65.07-.98s-.02-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.37-.31-.6-.22l-2.49%201c-.52-.4-1.08-.73-1.69-.98L14.5%202.42C14.47%202.18%2014.25%202%2014%202h-4c-.25%200-.46.18-.5.42l-.38%202.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.08-.48%200-.6.22l-2%203.46c-.13.22-.07.49.12.64l2.11%201.65c-.04.32-.08.65-.08.98s.03.66.08.98l-2.11%201.65c-.19.15-.24.42-.12.64l2%203.46c.12.22.37.31.6.22l2.49-1c.52.4%201.08.73%201.69.98l.38%202.65c.04.24.25.42.5.42h4c.25%200%20.46-.18.5-.42l.38-2.65c.61-.25%201.17-.58%201.69-.98l2.49%201c.23.08.48%200%20.6-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12%2015.5A3.5%203.5%200%201%201%2012%208a3.5%203.5%200%200%201%200%207.5z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M19.43%2012.98c.04-.32.07-.65.07-.98s-.02-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.37-.31-.6-.22l-2.49%201c-.52-.4-1.08-.73-1.69-.98L14.5%202.42C14.47%202.18%2014.25%202%2014%202h-4c-.25%200-.46.18-.5.42l-.38%202.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.08-.48%200-.6.22l-2%203.46c-.13.22-.07.49.12.64l2.11%201.65c-.04.32-.08.65-.08.98s.03.66.08.98l-2.11%201.65c-.19.15-.24.42-.12.64l2%203.46c.12.22.37.31.6.22l2.49-1c.52.4%201.08.73%201.69.98l.38%202.65c.04.24.25.42.5.42h4c.25%200%20.46-.18.5-.42l.38-2.65c.61-.25%201.17-.58%201.69-.98l2.49%201c.23.08.48%200%20.6-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12%2015.5A3.5%203.5%200%201%201%2012%208a3.5%203.5%200%200%201%200%207.5z'/%3E%3C/svg%3E") center / contain no-repeat}.home-icon[data-v-c2d0b6fa]{width:23px;height:23px;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10%2020v-6h4v6h5v-8h3L12%203%202%2012h3v8h5z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M10%2020v-6h4v6h5v-8h3L12%203%202%2012h3v8h5z'/%3E%3C/svg%3E") center / contain no-repeat}.account-icon[data-v-c2d0b6fa]{width:24px;height:24px;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20zm0%203a3.5%203.5%200%201%201%200%207%203.5%203.5%200%200%201%200-7zm0%2015a8%208%200%200%201-6.4-3.2c1.18-2.02%203.57-3.3%206.4-3.3s5.22%201.28%206.4%203.3A8%208%200%200%201%2012%2020z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%202a10%2010%200%201%200%200%2020%2010%2010%200%200%200%200-20zm0%203a3.5%203.5%200%201%201%200%207%203.5%203.5%200%200%201%200-7zm0%2015a8%208%200%200%201-6.4-3.2c1.18-2.02%203.57-3.3%206.4-3.3s5.22%201.28%206.4%203.3A8%208%200%200%201%2012%2020z'/%3E%3C/svg%3E") center / contain no-repeat}.patient-header[data-v-c2d0b6fa]{position:relative;z-index:10;padding:16px 20px;border-bottom:1px solid rgba(194,198,212,.2);background:#fff;box-shadow:0 2px 8px rgba(25,28,33,.04)}.case-heading[data-v-c2d0b6fa]{display:block;color:#191c21;font-size:20px;line-height:28px;font-weight:600}.patient-meta[data-v-c2d0b6fa]{margin-top:8px;padding-top:8px;border-top:1px solid rgba(194,198,212,.3);display:flex;flex-wrap:wrap;gap:4px 24px;color:#424752;font-size:13px;line-height:20px}.teaching-body[data-v-c2d0b6fa]{flex:1;min-height:0;padding-bottom:40px}.mentor-section[data-v-c2d0b6fa]{padding:24px 20px 0;display:flex;align-items:flex-start;gap:16px}.mentor-profile[data-v-c2d0b6fa]{position:relative;flex:0 0 auto;width:64px;display:flex;flex-direction:column;align-items:center;gap:6px}.mentor-avatar[data-v-c2d0b6fa]{width:64px;height:64px;border:2px solid #ffffff;border-radius:16px;background:#fff;box-shadow:0 4px 12px rgba(0,71,141,.16);overflow:hidden;animation:pulse-border-c2d0b6fa 2s infinite}.mentor-avatar uni-image[data-v-c2d0b6fa]{width:100%;height:100%}.online-dot[data-v-c2d0b6fa]{position:absolute;right:2px;top:50px;width:16px;height:16px;border:2px solid #ffffff;border-radius:50%;background:#22c55e;box-shadow:0 2px 4px rgba(25,28,33,.16)}.mentor-name[data-v-c2d0b6fa]{padding:2px 8px;border-radius:999px;background:rgba(255,255,255,.6);color:#191c21;font-size:12px;line-height:18px;font-weight:700}.question-bubble[data-v-c2d0b6fa]{position:relative;flex:1;padding:16px;border:1px solid rgba(255,255,255,.3);border-radius:16px;background:rgba(255,255,255,.72);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 2px 8px rgba(25,28,33,.06);color:#191c21;font-size:16px;line-height:24px}.question-bubble[data-v-c2d0b6fa]:after{content:"";position:absolute;left:-8px;top:24px;width:0;height:0;border-top:8px solid transparent;border-right:8px solid rgba(255,255,255,.72);border-bottom:8px solid transparent}.video-section[data-v-c2d0b6fa]{padding:24px 20px 0;display:flex;flex-direction:column;gap:16px}.video-player[data-v-c2d0b6fa]{position:relative;width:100%;aspect-ratio:16 / 9;border-radius:16px;background:#050816;box-shadow:0 8px 20px rgba(25,28,33,.18);overflow:hidden}.real-video[data-v-c2d0b6fa]{display:block;-o-object-fit:contain;object-fit:contain}.video-poster[data-v-c2d0b6fa]{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 58% 42%,rgba(169,199,255,.35),transparent 28%),radial-gradient(circle at 38% 58%,rgba(125,244,255,.22),transparent 34%),linear-gradient(135deg,#081426,#12345f 52%,#07111f)}.video-poster.playing .heart-pulse[data-v-c2d0b6fa]{animation-play-state:running}.heart-visual[data-v-c2d0b6fa]{position:absolute;left:50%;top:50%;width:116px;height:116px;transform:translate(-50%,-50%)}.heart-core[data-v-c2d0b6fa]{position:absolute;left:50%;top:50%;width:72px;height:72px;border-radius:48% 52%;background:linear-gradient(135deg,#ff6b6b,#9f4300);box-shadow:0 0 32px rgba(255,182,145,.55);transform:translate(-50%,-50%) rotate(45deg)}.heart-pulse[data-v-c2d0b6fa]{position:absolute;top:0;right:0;bottom:0;left:0;border:2px solid rgba(169,199,255,.62);border-radius:50%;animation:video-pulse-c2d0b6fa 1.8s ease-out infinite paused}.pulse-two[data-v-c2d0b6fa]{animation-delay:.75s}.video-overlay[data-v-c2d0b6fa]{position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.2);display:flex;align-items:center;justify-content:center}.play-button[data-v-c2d0b6fa]{width:64px;height:64px;border-radius:50%;background:rgba(0,71,141,.92);box-shadow:0 8px 18px rgba(0,0,0,.26);display:flex;align-items:center;justify-content:center}.play-button.playing[data-v-c2d0b6fa]{opacity:.78}.play-icon[data-v-c2d0b6fa]{width:34px;height:34px;margin-left:4px;background:#fff;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M8%205v14l11-7z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M8%205v14l11-7z'/%3E%3C/svg%3E") center / contain no-repeat}.play-button.playing .play-icon[data-v-c2d0b6fa]{margin-left:0;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M6%205h4v14H6V5zm8%200h4v14h-4V5z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M6%205h4v14H6V5zm8%200h4v14h-4V5z'/%3E%3C/svg%3E") center / contain no-repeat}.video-progress[data-v-c2d0b6fa]{position:absolute;left:0;right:0;bottom:0;height:4px;background:rgba(194,198,212,.3)}.video-progress-fill[data-v-c2d0b6fa]{height:100%;background:#00478d;transition:width .24s ease}.video-copy[data-v-c2d0b6fa]{display:flex;flex-direction:column;gap:8px}.video-title[data-v-c2d0b6fa]{color:#191c21;font-size:20px;line-height:28px;font-weight:600}.video-desc[data-v-c2d0b6fa]{color:#424752;font-size:14px;line-height:22px}.option-list[data-v-c2d0b6fa]{padding:24px 20px 0;display:flex;flex-direction:column;gap:12px}.option-card[data-v-c2d0b6fa]{box-sizing:border-box;width:100%;min-height:72px;padding:16px;border:1px solid rgba(194,198,212,.3);border-radius:16px;background:rgba(255,255,255,.72);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 2px 8px rgba(25,28,33,.06);display:flex;align-items:center;text-align:left}.option-card[data-v-c2d0b6fa]:after{border:0}.option-key[data-v-c2d0b6fa]{flex:0 0 auto;width:40px;height:40px;margin-right:16px;border-radius:12px;background:#e1e2ea;color:#424752;font-size:16px;line-height:40px;font-weight:700;text-align:center}.option-text[data-v-c2d0b6fa]{flex:1;min-width:0;color:#191c21;font-size:16px;line-height:24px;font-weight:500}.option-card.selected-wrong[data-v-c2d0b6fa]{border:2px solid #ba1a1a;background:rgba(186,26,26,.05)}.option-card.selected-wrong .option-key[data-v-c2d0b6fa]{background:#ba1a1a;color:#fff}.option-card.selected-wrong .option-text[data-v-c2d0b6fa]{color:#ba1a1a}.option-card.selected-correct[data-v-c2d0b6fa]{border:2px solid #00478d;background:rgba(0,71,141,.07)}.option-card.selected-correct .option-key[data-v-c2d0b6fa]{background:#00478d;color:#fff}.empty-state[data-v-c2d0b6fa]{margin:24px 20px 0;min-height:160px;padding:24px;border:1px dashed rgba(194,198,212,.8);border-radius:16px;background:rgba(255,255,255,.64);color:rgba(66,71,82,.82);font-size:15px;line-height:24px;display:flex;align-items:center;justify-content:center;text-align:center}.wrong-icon[data-v-c2d0b6fa],.right-icon[data-v-c2d0b6fa]{position:relative;flex:0 0 auto;width:28px;height:28px;margin-left:12px;border-radius:50%}.wrong-icon[data-v-c2d0b6fa]{background:#ba1a1a}.wrong-icon[data-v-c2d0b6fa]:before,.wrong-icon[data-v-c2d0b6fa]:after{content:"";position:absolute;left:7px;top:13px;width:14px;height:2px;border-radius:999px;background:#fff}.wrong-icon[data-v-c2d0b6fa]:before{transform:rotate(45deg)}.wrong-icon[data-v-c2d0b6fa]:after{transform:rotate(-45deg)}.right-icon[data-v-c2d0b6fa]{background:#00478d}.right-icon[data-v-c2d0b6fa]:after{content:"";position:absolute;left:9px;top:6px;width:7px;height:13px;border-right:3px solid #ffffff;border-bottom:3px solid #ffffff;transform:rotate(45deg)}.analysis-card[data-v-c2d0b6fa]{margin:24px 20px 16px;padding:24px;border-left:6px solid #00478d;border-radius:16px;background:rgba(255,255,255,.82);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 4px 12px rgba(25,28,33,.1)}.analysis-title[data-v-c2d0b6fa]{margin-bottom:16px;display:flex;align-items:center;gap:8px;color:#00478d;font-size:20px;line-height:28px;font-weight:600}.bulb-icon[data-v-c2d0b6fa]{width:22px;height:22px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9%2021h6v-1.5H9V21zm3-19a7%207%200%200%200-4%2012.74V17c0%20.55.45%201%201%201h6c.55%200%201-.45%201-1v-2.26A7%207%200%200%200%2012%202zm2.85%2011.1-.85.6V16h-4v-2.3l-.85-.6A5%205%200%201%201%2014.85%2013.1z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M9%2021h6v-1.5H9V21zm3-19a7%207%200%200%200-4%2012.74V17c0%20.55.45%201%201%201h6c.55%200%201-.45%201-1v-2.26A7%207%200%200%200%2012%202zm2.85%2011.1-.85.6V16h-4v-2.3l-.85-.6A5%205%200%201%201%2014.85%2013.1z'/%3E%3C/svg%3E") center / contain no-repeat}.analysis-content[data-v-c2d0b6fa]{display:flex;flex-direction:column;gap:16px}.analysis-main[data-v-c2d0b6fa]{color:#191c21;font-size:16px;line-height:25px}.analysis-divider[data-v-c2d0b6fa]{height:1px;background:rgba(194,198,212,.2)}.analysis-note[data-v-c2d0b6fa]{color:#424752;font-size:14px;line-height:22px;font-style:italic}.bottom-actions[data-v-c2d0b6fa]{padding:24px 20px 40px;display:flex;flex-direction:column;gap:12px}.video-button[data-v-c2d0b6fa],.next-button[data-v-c2d0b6fa]{box-sizing:border-box;width:100%;height:56px;border-radius:16px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:16px;line-height:24px;font-weight:700;transition:transform .18s ease,opacity .18s ease}.video-button[data-v-c2d0b6fa]:after,.next-button[data-v-c2d0b6fa]:after{border:0}.video-button[data-v-c2d0b6fa]:active,.next-button[data-v-c2d0b6fa]:active{transform:scale(.98)}.video-button[data-v-c2d0b6fa]{border:2px solid rgba(0,71,141,.2);background:rgba(255,255,255,.86);color:#00478d}.next-button[data-v-c2d0b6fa]{border:0;background:#00478d;box-shadow:0 4px 12px rgba(0,71,141,.22);color:#fff}.next-button.disabled[data-v-c2d0b6fa]{opacity:.5}.video-icon[data-v-c2d0b6fa],.next-icon[data-v-c2d0b6fa]{flex:0 0 auto;width:22px;height:22px;background:currentColor}.video-icon[data-v-c2d0b6fa]{-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M17%2010.5V6c0-.55-.45-1-1-1H4c-.55%200-1%20.45-1%201v12c0%20.55.45%201%201%201h12c.55%200%201-.45%201-1v-4.5l4%204v-11l-4%204zM15%2017H5V7h10v10z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M17%2010.5V6c0-.55-.45-1-1-1H4c-.55%200-1%20.45-1%201v12c0%20.55.45%201%201%201h12c.55%200%201-.45%201-1v-4.5l4%204v-11l-4%204zM15%2017H5V7h10v10z'/%3E%3C/svg%3E") center / contain no-repeat}.next-icon[data-v-c2d0b6fa]{-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%204l1.41%201.41L8.83%2010H20v2H8.83l4.58%204.59L12%2018l-7-7%207-7z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M12%204l1.41%201.41L8.83%2010H20v2H8.83l4.58%204.59L12%2018l-7-7%207-7z'/%3E%3C/svg%3E") center / contain no-repeat;transform:rotate(180deg)}.toast[data-v-c2d0b6fa]{position:fixed;left:50%;bottom:32px;z-index:100;max-width:320px;padding:12px 20px;border-radius:12px;background:#2e3037;color:#eff0f8;font-size:14px;line-height:20px;font-weight:600;text-align:center;pointer-events:none;opacity:0;transform:translate(-50%,16px);transition:opacity .3s ease,transform .3s ease}.toast.visible[data-v-c2d0b6fa]{opacity:1;transform:translate(-50%)}@keyframes pulse-border-c2d0b6fa{0%{box-shadow:0 0 rgba(0,71,141,.4)}70%{box-shadow:0 0 0 10px rgba(0,71,141,0)}to{box-shadow:0 0 rgba(0,71,141,0)}}@keyframes video-pulse-c2d0b6fa{0%{opacity:.78;transform:scale(.64)}to{opacity:0;transform:scale(1.16)}} diff --git a/dist/assets/uni-app.es.CXV8m51O.js b/dist/assets/uni-app.es.CXV8m51O.js new file mode 100644 index 0000000..e902d7b --- /dev/null +++ b/dist/assets/uni-app.es.CXV8m51O.js @@ -0,0 +1 @@ +import{R as s,T as a,P as o,U as r}from"./index-DR4MYR5F.js";const t=((r,t=0)=>(t,e=o())=>{!s&&a(r,t,e)})(r,2);export{t as o}; diff --git a/dist/index.html b/dist/index.html index 32468a7..c157996 100644 --- a/dist/index.html +++ b/dist/index.html @@ -14,7 +14,7 @@ AI思维临床训练 - +