diff --git a/frontend/uniapp/manifest.json b/frontend/uniapp/manifest.json index bd1468156bf1213b45ffbfe1445257df8d5f601d..88a594b2981e11e6822bda828b0b266c9ca2d08d 100644 --- a/frontend/uniapp/manifest.json +++ b/frontend/uniapp/manifest.json @@ -1,80 +1,80 @@ { - "name": "uniapp-ai", - "appid": "__UNI__3924A7E", - "description": "", - "versionName": "1.0.0", - "versionCode": "100", - "transformPx": false, - /* 5+App特有相关 */ - "app-plus": { - "usingComponents": true, - "nvueStyleCompiler": "uni-app", - "compilerVersion": 3, - "splashscreen": { - "alwaysShowBeforeRender": true, - "waiting": true, - "autoclose": true, - "delay": 0 + "name" : "uniapp-ai", + "appid" : "__UNI__9883710", + "description" : "", + "versionName" : "1.0.0", + "versionCode" : "100", + "transformPx" : false, + /* 5+App特有相关 */ + "app-plus" : { + "usingComponents" : true, + "nvueStyleCompiler" : "uni-app", + "compilerVersion" : 3, + "splashscreen" : { + "alwaysShowBeforeRender" : true, + "waiting" : true, + "autoclose" : true, + "delay" : 0 + }, + /* 模块配置 */ + "modules" : {}, + /* 应用发布信息 */ + "distribute" : { + /* android打包配置 */ + "android" : { + "permissions" : [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "minSdkVersion" : 21 + }, + /* ios打包配置 */ + "ios" : { + "dSYMs" : false + }, + /* SDK配置 */ + "sdkConfigs" : {} + } }, - /* 模块配置 */ - "modules": {}, - /* 应用发布信息 */ - "distribute": { - /* android打包配置 */ - "android": { - "permissions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "minSdkVersion": 21 - }, - /* ios打包配置 */ - "ios": { - "dSYMs": false - }, - /* SDK配置 */ - "sdkConfigs": {} - } - }, - /* 快应用特有相关 */ - "quickapp": {}, - /* 小程序特有相关 */ - "mp-weixin": { - "appid": "", - "setting": { - "urlCheck": false + /* 快应用特有相关 */ + "quickapp" : {}, + /* 小程序特有相关 */ + "mp-weixin" : { + "appid" : "", + "setting" : { + "urlCheck" : false + }, + "usingComponents" : true + }, + "mp-alipay" : { + "usingComponents" : true + }, + "mp-baidu" : { + "usingComponents" : true + }, + "mp-toutiao" : { + "usingComponents" : true + }, + "uniStatistics" : { + "enable" : false }, - "usingComponents": true - }, - "mp-alipay": { - "usingComponents": true - }, - "mp-baidu": { - "usingComponents": true - }, - "mp-toutiao": { - "usingComponents": true - }, - "uniStatistics": { - "enable": false - }, - "vueVersion": "3", - "h5": { - "devServer": { - "port": 8081 + "vueVersion" : "3", + "h5" : { + "devServer" : { + "port" : 8081 + } } - } } diff --git a/frontend/uniapp/unpackage/dist/build/web/assets/_plugin-vue_export-helper.BCo6x5W8.js b/frontend/uniapp/unpackage/dist/build/web/assets/_plugin-vue_export-helper.BCo6x5W8.js new file mode 100644 index 0000000000000000000000000000000000000000..40b18401279e74009b62b8d22bc3c2c9c0eb24ba --- /dev/null +++ b/frontend/uniapp/unpackage/dist/build/web/assets/_plugin-vue_export-helper.BCo6x5W8.js @@ -0,0 +1 @@ +const o=(o,t)=>{const c=o.__vccOpts||o;for(const[s,n]of t)c[s]=n;return c};export{o as _}; diff --git a/frontend/uniapp/unpackage/dist/build/web/assets/auth.nGklPE8B.js b/frontend/uniapp/unpackage/dist/build/web/assets/auth.nGklPE8B.js new file mode 100644 index 0000000000000000000000000000000000000000..6ed5d0fe8f3404c3a39f3f72e8f83fe025839ab0 --- /dev/null +++ b/frontend/uniapp/unpackage/dist/build/web/assets/auth.nGklPE8B.js @@ -0,0 +1 @@ +import{a as t}from"./index.Dy_7qw-3.js";function a(){const{request:a}=t();return{login:async t=>{const r=t;return await a({url:"/auth/login",method:"POST",data:r,showLoading:!0})},register:async t=>{const r=t;return await a({url:"/auth/register",method:"POST",data:r,showLoading:!0})}}}export{a as u}; diff --git a/frontend/uniapp/unpackage/dist/build/web/assets/chat-CJUQWeIg.css b/frontend/uniapp/unpackage/dist/build/web/assets/chat-CJUQWeIg.css new file mode 100644 index 0000000000000000000000000000000000000000..08d6861c1f7035292a92e8300cd23964b667633d --- /dev/null +++ b/frontend/uniapp/unpackage/dist/build/web/assets/chat-CJUQWeIg.css @@ -0,0 +1 @@ +.chat-container[data-v-58b9921f]{display:flex;flex-direction:column;height:95vh;background:linear-gradient(135deg,#6a5acd,#00bfff);position:relative}.nav-bar[data-v-58b9921f]{height:3.75rem;display:flex;justify-content:space-between;align-items:center;padding:0 .9375rem;background:linear-gradient(135deg,#6a5acd,#00bfff);box-shadow:0 2px 4px rgba(0,0,0,.1);position:-webkit-sticky;position:sticky;top:0;z-index:100}.nav-left[data-v-58b9921f],.nav-right[data-v-58b9921f]{gap:15px;display:flex;align-items:center}.nav-title[data-v-58b9921f]{font-size:1.25rem;font-weight:600;color:#fff;position:absolute;left:50%;transform:translate(-50%)}.icon[data-v-58b9921f]{color:#fff;padding:8px 12px;border-radius:4px;transition:background-color .3s,color .3s;cursor:pointer}.icon[data-v-58b9921f]:hover{background-color:rgba(255,255,255,.1)}.history-icon[data-v-58b9921f]{margin-right:10px;color:#fff}.sidebar[data-v-58b9921f]{margin-top:2%;position:fixed;top:3.75rem;left:-18.75rem;width:17.5rem;height:calc(100% - 3.75rem);background-color:#fff;box-shadow:2px 0 10px rgba(0,0,0,.1);z-index:99;transition:all .3s ease}.sidebar-show[data-v-58b9921f]{left:0}.sidebar-header[data-v-58b9921f]{padding:20px;font-size:18px;font-weight:700;border-bottom:1px solid #eee;background:linear-gradient(135deg,#6a5acc,#00bfff);color:#fff}.sidebar-content[data-v-58b9921f]{height:calc(100% - 60px);padding:10px}.history-item[data-v-58b9921f]{width:80%;display:flex;justify-content:space-between;align-items:center;padding:12px;margin-bottom:8px;border-radius:6px;background-color:#f5f5f5;cursor:pointer}.history-title[data-v-58b9921f]{flex:1}.history-item[data-v-58b9921f]:hover{background-color:#e0f7fa}.delete-btn[data-v-58b9921f]{padding:4px 8px;background-color:#ff4d4f;color:#fff;border-radius:4px;font-size:12px;cursor:pointer}.delete-btn[data-v-58b9921f]:hover{background-color:#ff7875}.sidebar-mask[data-v-58b9921f]{position:fixed;top:60px;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.5);z-index:98}.chat-content[data-v-58b9921f]{flex:1;padding:5px 15px 15px;overflow-y:auto;background-color:#fff;height:calc(100vh - 7.5rem);box-sizing:border-box}.message[data-v-58b9921f]{margin-bottom:15px}.user-message[data-v-58b9921f]{display:flex;justify-content:flex-end;padding-right:25px}.ai-message[data-v-58b9921f]{display:flex;justify-content:flex-start;padding-left:25px;flex-direction:column}.message-bubble[data-v-58b9921f]{max-width:80%;padding:10px;border-radius:15px;background-color:#e0f7fa;color:#00796b;position:relative}.typing-cursor[data-v-58b9921f]{display:inline-block;width:8px;height:18px;background:#00796b;margin-left:2px;vertical-align:middle;animation:blink-58b9921f 1s infinite}@keyframes blink-58b9921f{0%,to{opacity:1}50%{opacity:0}}.stream-loading[data-v-58b9921f]{display:flex;justify-content:center;align-items:center;margin-top:8px}.stream-loading .dot[data-v-58b9921f]{width:8px;height:8px;background-color:#00796b;border-radius:50%;margin:0 4px;animation:pulse-58b9921f 1.5s infinite ease-in-out}.stream-loading .dot[data-v-58b9921f]:nth-child(1){animation-delay:-.32s}.stream-loading .dot[data-v-58b9921f]:nth-child(2){animation-delay:-.16s}@keyframes pulse-58b9921f{0%,80%,to{transform:scale(.5)}40%{transform:scale(1)}}.loading-spinner[data-v-58b9921f]{width:20px;height:20px;border:3px solid rgba(255,255,255,.3);border-radius:50%;border-top-color:#fff;animation:spin-58b9921f 1s linear infinite}@keyframes spin-58b9921f{to{transform:rotate(360deg)}}.input-container[data-v-58b9921f]{height:3.75rem;padding:.9375rem;display:flex;background:linear-gradient(135deg,#6a5acd,#00bfff);align-items:center;box-shadow:0 -2px 4px rgba(0,0,0,.1)}.input[data-v-58b9921f]{flex:1;padding:10px;border:1px solid #ddd;border-radius:15px;margin-right:15px;height:2.5rem;background-color:#fff}.send-button[data-v-58b9921f],.document-button[data-v-58b9921f]{padding:0 25px;background-color:#4caf50;color:#fff;border:none;border-radius:15px;height:40px;display:flex;align-items:center;justify-content:center;margin-left:10px;transition:background-color .3s}.send-button[data-v-58b9921f]:disabled,.document-button[data-v-58b9921f]:disabled{background-color:#a5d6a7;cursor:not-allowed}.send-button[data-v-58b9921f]:hover:not(:disabled),.document-button[data-v-58b9921f]:hover:not(:disabled){background-color:#388e3c}.document-button[data-v-58b9921f]{background-color:#00796b}.document-button[data-v-58b9921f]:hover:not(:disabled){background-color:#004d40} diff --git a/frontend/uniapp/unpackage/dist/build/web/assets/document-BV939jEW.css b/frontend/uniapp/unpackage/dist/build/web/assets/document-BV939jEW.css new file mode 100644 index 0000000000000000000000000000000000000000..67ad23913db643e37bf74e5cc0a7f591f3c583f5 --- /dev/null +++ b/frontend/uniapp/unpackage/dist/build/web/assets/document-BV939jEW.css @@ -0,0 +1 @@ +.container[data-v-f7efa062]{padding:20px;max-width:600px;margin:0 auto}.upload-section[data-v-f7efa062]{background-color:#6a5acd;color:#fff;padding:20px;border-radius:10px;text-align:center;margin-bottom:20px}.title[data-v-f7efa062]{font-size:28px;font-weight:700;display:block;margin-bottom:10px}.subtitle[data-v-f7efa062]{font-size:18px;display:block}.form-section[data-v-f7efa062]{background-color:#f9f9f9;padding:20px;border-radius:10px;height:60vh}.form-group[data-v-f7efa062]{margin-bottom:20px}.label[data-v-f7efa062]{display:block;margin-bottom:10px;font-weight:700}.input[data-v-f7efa062]{width:90%;padding:12px;border:1px solid #ccc;border-radius:5px}.upload-button[data-v-f7efa062]{padding:12px;background-color:#f0f0f0;border:1px solid #ccc;border-radius:5px;cursor:pointer;width:90%;color:#666}.upload-button[data-v-f7efa062]:active{color:#000}.submit-button[data-v-f7efa062]{width:100%;padding:15px;background-color:#4caf50;color:#fff;border:none;border-radius:5px;font-size:18px;cursor:pointer} diff --git a/frontend/uniapp/unpackage/dist/build/web/assets/index-C7CChAY5.css b/frontend/uniapp/unpackage/dist/build/web/assets/index-C7CChAY5.css new file mode 100644 index 0000000000000000000000000000000000000000..c7e5c7ea0a06e42d861a24d20e83491892b0195b --- /dev/null +++ b/frontend/uniapp/unpackage/dist/build/web/assets/index-C7CChAY5.css @@ -0,0 +1 @@ +*{margin:0;-webkit-tap-highlight-color:transparent}html,body{-webkit-user-select:none;user-select:none;width:100%;height:100%}body{overflow-x:hidden;font-size:16px}uni-app,uni-page,uni-page-wrapper,uni-page-body{display:block;box-sizing:border-box;width:100%}uni-page-wrapper{position:relative}#app,uni-app,uni-page,uni-page-wrapper{height:100%}.uni-mask{position:fixed;z-index:999;top:0;right:0;left:0;bottom:0;background:rgba(0,0,0,.5)}.uni-fade-enter-active,.uni-fade-leave-active{transition-duration:.25s;transition-property:opacity;transition-timing-function:ease}.uni-fade-enter-from,.uni-fade-leave-active{opacity:0}.uni-loading,uni-button[loading]:before{background-color:transparent;background-image:url(data:image/svg+xml;base64,\ PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=);background-repeat:no-repeat}.uni-loading{width:20px;height:20px;display:inline-block;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}@keyframes uni-loading{0%{transform:rotate3d(0,0,1,0)}to{transform:rotate3d(0,0,1,360deg)}}html{--primary-color: #007aff;--UI-BG: #fff;--UI-BG-1: #f7f7f7;--UI-BG-2: #fff;--UI-BG-3: #f7f7f7;--UI-BG-4: #4c4c4c;--UI-BG-5: #fff;--UI-FG: #000;--UI-FG-0: rgba(0, 0, 0, .9);--UI-FG-HALF: rgba(0, 0, 0, .9);--UI-FG-1: rgba(0, 0, 0, .5);--UI-FG-2: rgba(0, 0, 0, .3);--UI-FG-3: rgba(0, 0, 0, .1)}uni-page[data-type] uni-page-body{background-color:transparent}body:after{position:fixed;content:"";left:-1000px;top:-1000px;animation:shadow-preload .1s;animation-delay:3s}@keyframes shadow-preload{0%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}to{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}}.uni-async-error{position:absolute;left:0;right:0;top:0;bottom:0;color:#999;padding:100px 10px;text-align:center}.uni-async-loading{box-sizing:border-box;width:100%;padding:50px;text-align:center}.uni-async-loading .uni-loading{width:30px;height:30px}uni-page-head{display:block;box-sizing:border-box}.uni-page-head{position:fixed;left:var(--window-left);right:var(--window-right);height:44px;height:calc(44px + constant(safe-area-inset-top));height:calc(44px + env(safe-area-inset-top));padding:7px 3px;padding-top:calc(7px + constant(safe-area-inset-top));padding-top:calc(7px + env(safe-area-inset-top));display:flex;overflow:hidden;justify-content:space-between;box-sizing:border-box;z-index:998;color:#fff;background-color:#000;transition-property:all}.uni-page-head *{box-sizing:border-box}.uni-page-head .uni-btn-icon{overflow:hidden;min-width:1em;font-style:normal}.uni-page-head-titlePenetrate,.uni-page-head-titlePenetrate .uni-page-head-bd,.uni-page-head-titlePenetrate .uni-page-head-bd *{pointer-events:none}.uni-page-head-titlePenetrate *{pointer-events:auto}.uni-page-head.uni-page-head-transparent .uni-page-head-ft>div{justify-content:center}.uni-page-head~.uni-placeholder{width:100%;height:44px;height:calc(44px + constant(safe-area-inset-top));height:calc(44px + env(safe-area-inset-top))}.uni-placeholder-titlePenetrate{pointer-events:none}.uni-page-head-hd{display:flex;align-items:center;font-size:16px}.uni-page-head-bd{position:absolute;left:70px;right:70px;min-width:0;-webkit-user-select:auto;user-select:auto}.uni-page-head-btn{position:relative;width:auto;margin:0 2px;word-break:keep-all;white-space:pre;cursor:pointer;font-size:0px}.uni-page-head-transparent .uni-page-head-btn{display:flex;align-items:center;width:32px;height:32px;border-radius:50%;background-color:rgba(0,0,0,.5)}.uni-page-head-btn-red-dot:after{content:attr(badge-text);position:absolute;right:0;top:0;background-color:red;color:#fff;width:18px;height:18px;line-height:18px;border-radius:18px;overflow:hidden;transform:scale(.5) translate(40%,-40%);transform-origin:100% 0}.uni-page-head-btn-red-dot[badge-text]:after{font-size:12px;width:auto;min-width:18px;max-width:42px;text-align:center;padding:0 3px;transform:scale(.7) translate(40%,-40%)}.uni-page-head-btn-select svg{vertical-align:middle;margin-left:2px;transform:rotate(270deg) scale(.8)}.uni-page-head-search{position:relative;display:flex;flex:1;margin:0 2px;line-height:30px;font-size:15px}.uni-page-head-search-input{width:100%;height:100%;padding-left:34px;text-align:left}.uni-page-head-search-input .uni-input-input:disabled{pointer-events:none}.uni-page-head-search-placeholder{position:absolute;max-width:100%;height:100%;padding-left:34px;overflow:hidden;word-break:keep-all;white-space:pre}.uni-page-head-search-placeholder-right{right:0}.uni-page-head-search-placeholder-center{left:50%;transform:translate(-50%)}.uni-page-head-search-icon{position:absolute;top:0;left:2px;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.uni-page-head-ft{display:flex;align-items:center;flex-direction:row-reverse;font-size:13px}.uni-page-head__title{font-weight:700;font-size:16px;line-height:30px;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.uni-page-head__title .uni-loading{width:16px;height:16px;margin-top:-3px}.uni-page-head__title .uni-page-head__title_image{width:auto;height:26px;vertical-align:middle}.uni-page-head-shadow{overflow:visible}.uni-page-head-shadow:after{content:"";position:absolute;left:0;right:0;top:100%;height:5px;background-size:100% 100%}uni-page-head[uni-page-head-type=default]~uni-page-wrapper{height:calc(100% - 44px);height:calc(100% - 44px - constant(safe-area-inset-top));height:calc(100% - 44px - env(safe-area-inset-top))}.uni-page-head-shadow-grey:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}.uni-page-head-shadow-blue:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-blue.png)}.uni-page-head-shadow-green:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-green.png)}.uni-page-head-shadow-orange:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-orange.png)}.uni-page-head-shadow-red:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-red.png)}.uni-page-head-shadow-yellow:after{background-image:url(https://cdn.dcloud.net.cn/img/shadow-yellow.png)} diff --git a/frontend/uniapp/unpackage/dist/build/web/assets/index-sqXF7o4f.js b/frontend/uniapp/unpackage/dist/build/web/assets/index-sqXF7o4f.js new file mode 100644 index 0000000000000000000000000000000000000000..cf376dffc806f0530519a0f058acd0ff8a57a7aa --- /dev/null +++ b/frontend/uniapp/unpackage/dist/build/web/assets/index-sqXF7o4f.js @@ -0,0 +1,31 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/pages-login-login.o4lhlahd.js","assets/auth.nGklPE8B.js","assets/index.Dy_7qw-3.js","assets/_plugin-vue_export-helper.BCo6x5W8.js","assets/login-4pkv1xDd.css","assets/pages-chat-chat.BP-kLqN-.js","assets/chat-CJUQWeIg.css","assets/pages-register-register.DF-D4BU_.js","assets/register-Cy_aIejL.css","assets/pages-document-document.ltioNAyh.js","assets/document-BV939jEW.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){return"/"+e}(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)},f=Object.prototype.hasOwnProperty,d=(e,t)=>f.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),C=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,T=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)}`:"")),B=(e,t)=>!Object.is(e,t),R=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},N=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 W(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,Y,2):String(e),Y=(e,t)=>t&&t.__v_isRef?Y(e,t.value):h(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[K(t,o)+" =>"]=n,e)),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>K(e)))}:y(t)?K(t):!b(t)||p(t)||S(t)?t:String(t),K=(e,t="")=>{var n;return y(e)?`Symbol(${null!=(n=e.description)?n:t})`:e},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)),G=["list-view","list-item","sticky-section","sticky-header","cloud-db-element"].map((e=>"uni-"+e)),Z=["list-item"].map((e=>"uni-"+e));function Q(e){if(-1!==Z.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return-1!==J.indexOf(t)||-1!==G.indexOf(t)}const ee=/^([a-z-]+:)?\/\//i,te=/^data:.*,.*/;function ne(e){return 0===e.indexOf("/")}function oe(e){return ne(e)?e:"/"+e}function re(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}let ie;function se(){return ie||(ie=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;function e(){return this}return void 0!==e()?e():new Function("return this")()}(),ie)}function ae(e){if(!e)return;let t=e.type.name;for(;t&&Q($(t));)t=(e=e.parent).type.name;return e.proxy}function le(e){return 1===e.nodeType}function ce(e){const t=se();if(t&&t.UTSJSONObject&&e instanceof t.UTSJSONObject){const n={};return t.UTSJSONObject.keys(e).forEach((t=>{n[t]=e[t]})),V(n)}if(e instanceof Map){const t={};return e.forEach(((e,n)=>{t[n]=e})),V(t)}if(v(e))return q(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 o=0;o{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={}))[fe(t)]=o}n.call(this,t,o)};const o=t.removeAttribute;t.removeAttribute=function(t){this.__uniDataset&&t.startsWith("data-")&&e(this)&&delete this.__uniDataset[fe(t)],o.call(this,t)}}));function pe(e){return c({},e.dataset,e.__uniDataset)}const he=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function ge(e){return{passive:e}}function me(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:pe(e),offsetTop:n,offsetLeft:o}}function ve(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function ye(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=ve(e[n])}catch(o){t[n]=e[n]}})),t}const be=/\+/g;function _e(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 xe{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))),Ee=function(){};Ee.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 Oe=Ee;const Le={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function $e(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 Le?Le[o]:o}return r}var o;return t}function Ae(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)?Ae(s,t,n):p(s)?s.map((e=>S(e)?Ae(e,t,n):$e(o,e))):$e(o,s,i)})),r):e} +/** +* @dcloudio/uni-h5-vue v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Pe,Be;class Re{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Pe,!e&&Pe&&(this.index=(Pe.scopes||(Pe.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Pe;try{return Pe=this,e()}finally{Pe=t}}}on(){Pe=this}off(){Pe=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),Ue()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=He,t=Be;try{return He=!0,Be=this,this._runnings++,Ie(this),this.fn()}finally{Ve(this),this._runnings--,Be=t,He=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(He&&Be){let t=Ze.get(e);t||Ze.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=Ge((()=>t.delete(n)))),Ye(Be,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)?C(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&&Je(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=Yt(this);for(let t=0,r=this.length;t{e[t]=function(...e){We(),ze();const n=Yt(this)[t].apply(this,e);return Xe(),Ue(),n}})),e}function at(e){const t=Yt(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?Nt:jt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=p(e);if(!o){if(i&&d(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&&C(t)?s:s.value:b(s)?o?Dt(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=Ut(r);if(zt(n)||Ut(n)||(r=Yt(r),n=Yt(n)),!p(e)&&tn(r)&&!tn(n))return!t&&(r.value=n,!0)}const i=p(e)&&C(t)?Number(t)e,gt=e=>Reflect.getPrototypeOf(e);function mt(e,t,n=!1,o=!1){const r=Yt(e=e.__v_raw),i=Yt(t);n||(B(t,i)&&tt(r,0,t),tt(r,0,i));const{has:s}=gt(r),a=o?ht:n?Gt: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 vt(e,t=!1){const n=this.__v_raw,o=Yt(n),r=Yt(e);return t||(B(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(Yt(e),0,Qe),Reflect.get(e,"size",e)}function bt(e){e=Yt(e);const t=Yt(this);return gt(t).has.call(t,e)||(t.add(e),nt(t,"add",e,e)),this}function _t(e,t){t=Yt(t);const n=Yt(this),{has:o,get:r}=gt(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?B(t,s)&&nt(n,"set",e,t):nt(n,"add",e,t),this}function wt(e){const t=Yt(this),{has:n,get:o}=gt(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&&nt(t,"delete",e,void 0),i}function xt(){const e=Yt(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=Yt(i),a=t?ht:e?Gt:Jt;return!e&&tt(s,0,Qe),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?ht:t?Gt:Jt;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 Tt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function kt(){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:Tt("add"),set:Tt("set"),delete:Tt("delete"),clear:Tt("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:Tt("add"),set:Tt("set"),delete:Tt("delete"),clear:Tt("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[Et,Ot,Lt,$t]=kt();function At(e,t){const n=t?e?$t:Lt:e?Ot:Et;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(d(n,o)&&o in t?n:t,o,r)}const Pt={get:At(!1,!1)},Bt={get:At(!1,!0)},Rt={get:At(!0,!1)},jt=new WeakMap,Nt=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 Ut(e)?e:qt(e,!1,ft,Pt,jt)}function Ht(e){return qt(e,!1,pt,Bt,Nt)}function Dt(e){return qt(e,!0,dt,Rt,Mt)}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=Vt(e);if(0===s)return e;const a=new Proxy(e,2===s?o:n);return r.set(e,a),a}function Wt(e){return Ut(e)?Wt(e.__v_raw):!(!e||!e.__v_isReactive)}function Ut(e){return!(!e||!e.__v_isReadonly)}function zt(e){return!(!e||!e.__v_isShallow)}function Xt(e){return Wt(e)||Ut(e)}function Yt(e){const t=e&&e.__v_raw;return t?Yt(t):e}function Kt(e){return Object.isExtensible(e)&&j(e,"__v_skip",!0),e}const Jt=e=>b(e)?Ft(e):e,Gt=e=>b(e)?Dt(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=Yt(this);return e._cacheable&&!e.effect.dirty||!B(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;He&&Be&&(e=Yt(e),Ye(Be,null!=(t=e.dep)?t:e.dep=Ge((()=>e.dep=void 0),e instanceof Zt?e:void 0)))}function en(e,t=4,n){const o=(e=Yt(e)).dep;o&&Je(o,t)}function tn(e){return!(!e||!0!==e.__v_isRef)}function nn(e){return on(e,!1)}function on(e,t){return tn(e)?e:new rn(e,t)}class rn{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 Qt(this),this._value}set value(e){const t=this.__v_isShallow||zt(e)||Ut(e);e=t?e:Yt(e),B(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Jt(e),en(this,4))}}function sn(e){return tn(e)?e.value:e}const an={get:(e,t,n)=>sn(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 ln(e){return Wt(e)?e:new Proxy(e,an)}class cn{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return e=Yt(this._object),t=this._key,null==(n=Ze.get(e))?void 0:n.get(t);var e,t,n}}function un(e,t,n){const o=e[t];return tn(o)?o:new cn(e,t,n)}function fn(e,t,n,o){try{return o?e(...o):e()}catch(r){pn(r,t,n)}}function dn(e,t,n,o){if(m(e)){const r=fn(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(N))}let l,c=r[l=P(t)]||r[l=P(O(t))];!c&&s&&(c=r[l=P($(t))]),c&&dn(c,e,6,Bn(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,Bn(e,u,i))}}function Bn(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&&d(o,"type")&&d(o,"timeStamp")&&d(o,"target")&&d(o,"currentTarget")&&d(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 jn(e,t){return!(!e||!a(t))&&(t=t.slice(2).replace(/Once$/,""),d(e,t[0].toLowerCase()+t.slice(1))||d(e,$(t))||d(e,t))}let Nn=null,Mn=null;function In(e){const t=Nn;return Nn=e,Mn=e&&e.type.__scopeId||null,t}function Vn(e,t=Nn,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&zr(-1);const r=In(t);let i;try{i=e(...n)}finally{In(r),o._d&&zr(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:f,renderCache:d,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=si(f.call(t,e,d,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:Hn(c)}}catch(w){Dr.length=0,pn(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=_,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 qn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;re.__isSuspense;const Jn=Symbol.for("v-scx");function Gn(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 f=pi,d=e=>!0===r?e:oo(e,!1===r?1:void 0);let h,g,v=!1,y=!1;if(tn(e)?(h=()=>e.value,v=zt(e)):Wt(e)?(h=()=>d(e),v=!0):p(e)?(y=!0,v=e.some((e=>Wt(e)||zt(e))),h=()=>e.map((e=>tn(e)?e.value:Wt(e)?d(e):m(e)?fn(e,f,2):void 0))):h=m(e)?t?()=>fn(e,f,2):()=>(g&&g(),dn(e,f,3,[_])):i,t&&r){const e=h;h=()=>oo(e())}let b,_=e=>{g=C.onStop=()=>{fn(e,f,4),g=C.onStop=void 0}};if(_i){if(_=i,t?n&&dn(t,f,3,[h(),y?[]:void 0,_]):h(),"sync"!==s)return i;{const e=yr(Jn);b=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(Zn):Zn;const x=()=>{if(C.active&&C.dirty)if(t){const e=C.run();(r||v||(y?e.some(((e,t)=>B(e,w[t]))):B(e,w)))&&(g&&g(),dn(t,f,3,[e,w===Zn?void 0:y&&w[0]===Zn?[]:w,_]),w=e)}else C.run()};let S;x.allowRecurse=!!t,"sync"===s?S=x:"post"===s?S=()=>Pr(x,f&&f.suspense):(x.pre=!0,f&&(x.id=f.uid),S=()=>Tn(x));const C=new Me(h,i,S),T=Ne(),k=()=>{C.stop(),T&&u(T.effects,C)};return t?n?x():w=C.run():"post"===s?Pr(C.run.bind(C),f&&f.suspense):C.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=vi(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),tn(e))oo(e.value,t,n,o);else if(p(e))for(let r=0;r{oo(e,t,n,o)}));else if(S(e))for(const r in e)oo(e[r],t,n,o);return e}function ro(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})),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!==Fr){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,f=u&&go(u);if(f&&f.type!==Fr&&!Gr(l,f)){const e=po(f,s,o,n);if(mo(f,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!==Fr&&(e.delayLeave=(e,t,n)=>{fo(o,f)[String(f.key)]=f,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:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),w=fo(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()},C={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&&Gr(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]),C.delayedLeave&&C.delayedLeave(),e[ao]=void 0)};t?S(t,[e,a]):a()},leave(t,o){const r=String(e.key);if(t[ao]&&t[ao](!0),n.isUnmounting)return o();x(f,[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,d?S(d,[t,s]):s()},clone:e=>po(e,t,n,o)};return C}function ho(e){if(xo(e))return(e=oi(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 f=()=>{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,f()))),(()=>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:f,get __asyncResolved(){return l},setup(){const e=pi;if(l)return()=>wo(l,e);const t=t=>{c=null,pn(t,e,13,!o)};if(s&&e.suspense||_i)return f().then((t=>()=>wo(t,e))).catch((e=>(t(e),()=>o?ni(o,{error:e}):null)));const a=nn(!1),u=nn(),d=nn(!!r);return r&&setTimeout((()=>{d.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),f().then((()=>{a.value=!0,e.parent&&xo(e.parent.vnode)&&(e.parent.effect.dirty=!0,Tn(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>a.value&&l?wo(l,e):u.value&&o?ni(o,{error:u.value}):n&&!d.value?ni(n):void 0}})}function wo(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 xo=e=>e.type.__isKeepAlive;class So{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 Co={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 So(e.max);r.pruneCacheEntry=s;let i=null;function s(t){var o;!i||!Gr(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:f}}}=o,d=f("div");function p(t){r.forEach(((n,o)=>{const i=Bo(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,R(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&&R(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,d,null,1,a),Pr((()=>{t.bda&&t.bda.forEach((e=>e.__called=!1)),t.da&&R(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&ui(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&&R(l.component.bda),Ao(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(!Jr(o)||!(4&o.shapeFlag)&&!Kn(o.type))return i=null,o;let s=Po(o);const a=s.type,l=Bo(s,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!ko(c,l))||u&&l&&ko(u,l))return i=s,o;const f=null==s.key?a:s.key,d=r.get(f);return s.el&&(s=oi(s),Kn(o.type)&&(o.ssContent=s)),h=f,d&&(s.el=d.el,s.component=d.component,s.transition&&mo(s,s.transition),s.shapeFlag|=512),s.shapeFlag|=256,i=s,Kn(o.type)?o:s}}},To=Co;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=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,jo(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=jo(t,e,o,!0);Do((()=>{u(o[t],r)}),n)}function Ao(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Po(e){return Kn(e.type)?e.ssContent:e}function Bo(e,t){if("name"===t){const t=e.type;return Ci(bo(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;We();const r=vi(n),i=dn(t,n,e,o);return r(),Ue(),i});return o?i.unshift(s):i.push(s),s}var r}const No=e=>(t,n=pi)=>(!_i||"sp"===e)&&jo(e,((...e)=>t(...e)),n),Mo=No("bm"),Io=No("m"),Vo=No("bu"),Fo=No("u"),Ho=No("bum"),Do=No("um"),qo=No("sp"),Wo=No("rtg"),Uo=No("rtc");function zo(e,t=pi){jo("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!==Fr&&!(e.type===Ir&&!Ko(e.children))))?e:null}const Jo=e=>{if(!e)return null;if(bi(e)){return Si(e)||e.proxy}return Jo(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=>Jo(e.parent),$root:e=>Jo(e.root),$emit:e=>e.emit,$options:e=>ir(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,Tn(e.update)})(e)),$nextTick:e=>e.n||(e.n=Cn.bind(e.proxy)),$watch:e=>to.bind(e)}),Zo=(e,t)=>e!==o&&!e.__isScriptSetup&&d(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&&d(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&d(u,t))return a[t]=3,s[t];if(n!==o&&d(n,t))return a[t]=4,n[t];tr&&(a[t]=0)}}const f=Go[t];let p,h;return f?("$attrs"===t&&tt(e,0,t),f(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==o&&d(n,t)?(a[t]=4,n[t]):(h=c.config.globalProperties,d(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&&d(r,t)?(r[t]=n,!0):!d(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&&d(e,a)||Zo(t,a)||(l=s[0])&&d(l,a)||d(r,a)||d(Go,a)||d(i.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:d(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:f,beforeMount:d,mounted:h,beforeUpdate:g,updated:v,activated:y,deactivated:_,beforeDestroy:w,beforeUnmount:x,destroyed:S,unmounted:C,render:T,renderTracked:k,renderTriggered:E,errorCaptured:O,serverPrefetch:L,expose:$,inheritAttrs:A,components:P,directives:B,filters:R}=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),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(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=Ti({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 j(e,t){p(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(f&&or(f,e,"c"),j(Mo,d),j(Io,h),j(Vo,g),j(Fo,v),j(Eo,y),j(Oo,_),j(zo,O),j(Uo,k),j(Wo,E),j(Ho,x),j(Do,C),j(qo,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={});T&&e.render===i&&(e.render=T),null!=A&&(e.inheritAttrs=A),P&&(e.components=P),B&&(e.directives=B);const N=e.appContext.config.globalProperties.$applyOptions;N&&N(t,e,n)}function or(e,t,n){dn(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:dr,emits:dr,methods:fr,computed:fr,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:fr,directives:fr,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 fr(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=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=mr;mr=a;try{return e()}finally{mr=t}}};return a}}let mr=null;function vr(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 yr(e,t,n=!1){const o=pi||Nn;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(T(o))continue;const c=t[o];let u;i&&d(i,u=O(o))?s&&s.includes(u)?(a||(a={}))[u]=c:n[u]=c:jn(e.emitsOptions,o)||o in r&&c===r[o]||(r[o]=c,l=!0)}if(s){const t=Yt(n),r=a||o;for(let o=0;o{f=!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&&!f)return b(e)&&i.set(e,r),r;if(p(a))for(let r=0;r-1,n[1]=o<0||t-1||d(n,"default"))&&u.push(e)}}}const h=[l,u];return b(e)&&i.set(e,h),h}function xr(e){return"$"!==e[0]&&!T(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 Tr(e,t){return p(t)?t.findIndex((t=>Cr(t,e))):m(t)&&Cr(t,e)?0:-1}const kr=e=>"_"===e[0]||"$stable"===e,Er=e=>p(e)?e.map(si):[si(e)],Or=(e,t,n)=>{if(t._n)return t;const o=Vn(((...e)=>Er(t(...e))),n);return o._c=!1,o},Lr=(e,t,n)=>{const o=e._ctx;for(const r in e){if(kr(r))continue;const n=e[r];if(m(n))t[r]=Or(0,n,o);else if(null!=n){const e=Er(n);t[r]=()=>e}}},$r=(e,t)=>{const n=Er(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(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,f=t&&t.r,h=l.refs===o?l.refs={}:l.refs,g=l.setupState;if(null!=f&&f!==c&&(v(f)?(h[f]=null,d(g,f)&&(g[f]=null)):tn(f)&&(f.value=null)),m(c))fn(c,l,12,[a,h]);else{const t=v(c),o=tn(c);if(t||o){const r=()=>{if(e.f){const n=t?d(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],d(g,c)&&(g[c]=h[c])):(c.value=[s],e.k&&(h[e.k]=c.value))}else t?(h[c]=a,d(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)?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:f,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&&!Gr(e,t)&&(o=te(e),J(e,r,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:f}=t;switch(c){case Vr:x(e,t,n,o);break;case Fr:S(e,t,n,o);break;case Hr:null==e&&C(t,n,o,s);break;case Ir:F(e,t,n,o,r,i,s,a,l);break;default:1&f?L(e,t,n,o,r,i,s,a,l):6&f?H(e,t,n,o,r,i,s,a,l):(64&f||128&f)&&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=f(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},C=(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):N(e,t,r,i,s,a,l)},A=(e,t,o,r,i,s,l,c)=>{let f,d;const{props:p,shapeFlag:h,transition:m,dirs:v}=e;if(f=e.el=u(e.type,s,p&&p.is,p),8&h?g(f,e.children):16&h&&B(e.children,f,null,r,i,Rr(e,s),l,c),v&&io(e,null,r,"created"),P(f,e,e.scopeId,l,r),p){for(const t in p)"value"===t||T(t)||a(f,t,null,p[t],s,e.children,r,i,ee);"value"in p&&a(f,"value",null,p.value,s),(d=p.onVnodeBeforeMount)&&ui(d,r,e)}Object.defineProperty(f,"__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(f),n(f,t,o),((d=p&&p.onVnodeMounted)||y||v)&&Pr((()=>{d&&ui(d,r,e),y&&m.enter(f),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:f,dynamicChildren:d,dirs:p}=t;f|=16&e.patchFlag;const h=e.props||o,m=t.props||o;let v;if(n&&jr(n,!1),(v=m.onVnodeBeforeUpdate)&&ui(v,n,t,e),p&&io(t,e,n,"beforeUpdate"),n&&jr(n,!0),d?M(e.dynamicChildren,d,u,n,r,Rr(t,i),s):c||z(e,t,u,null,n,r,Rr(t,i),s,!1),f>0){if(16&f)V(u,t,h,m,n,r,i);else if(2&f&&h.class!==m.class&&a(u,"class",null,m.class,i),4&f&&a(u,"style",h.style,m.style,i),8&f){const o=t.dynamicProps;for(let t=0;t{v&&ui(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)T(o)||o in r||a(e,o,n[o],null,c,t.children,i,s,ee);for(const o in r){if(T(o))continue;const u=r[o],f=n[o];(u!==f&&"value"!==o||l&&l(e,o))&&a(e,o,f,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:f(""),d=t.anchor=e?e.anchor:f("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(n(u,o,r),n(d,o,r),B(t.children||[],o,d,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)&&Nr(e,t,!0)):z(e,t,o,d,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):q(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:di++,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 Re(!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=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&&mi(t);const{props:n,children:o}=e.vnode,r=bi(e);(function(e,t,n,o=!1){const r={},i={};j(i,Zr,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:Ht(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),j(t,"_",n)):Lr(t,e.slots={})}else e.slots={},t&&$r(e,t);j(e.slots,Zr,1)})(e,o);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Kt(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)=>(tt(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,r=vi(e);We();const i=fn(o,e,0,[e.props,n]);if(Ue(),r(),_(i)){if(i.then(yi,yi),t)return i.then((n=>{wi(e,n,t)})).catch((t=>{pn(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,W),!e.el){const e=l.subTree=ni(Fr);S(null,e,t,n)}}else W(l,e,t,n,i,s,a)},q=(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||qn(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?qn(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},W=(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,U(e,t,a)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,f=t;jr(e,!1),t?(t.el=c.el,U(e,t,a)):t=c,n&&R(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&ui(u,i,t,c),jr(e,!0);const d=Fn(e),p=e.subTree;e.subTree=d,w(p,d,m(p.el),te(p),e,r,s),t.el=d.el,null===f&&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,d.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:f}=e,d=bo(t);if(jr(e,!1),c&&R(c),!d&&(i=l&&l.onVnodeBeforeMount)&&ui(i,f,t),jr(e,!0),a&&se){const n=()=>{e.subTree=Fn(e),se(a,e.subTree,e,r,null)};d?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&&Pr(u,r),!d&&(i=l&&l.onVnodeMounted)){const e=t;Pr((()=>ui(i,f,e)),r)}(256&t.shapeFlag||f&&bo(f.vnode)&&256&f.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,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&&(d(t,i)||(o=$(i))!==i&&d(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&&d(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)kr(o)||null!=a[o]||delete i[o]})(e,t.children,n),We(),En(e),Ue()},z=(e,t,n,o,r,i,s,a,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,f=t.children,{patchFlag:d,shapeFlag:p}=t;if(d>0){if(128&d)return void Y(c,f,n,o,r,i,s,a,l);if(256&d)return void X(c,f,n,o,r,i,s,a,l)}8&p?(16&u&&ee(c,r,i),f!==c&&g(n,f)):16&u?16&p?Y(c,f,n,o,r,i,s,a,l):ee(c,r,i,!0):(8&u&&g(n,""),16&p&&B(f,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,f=t.length,d=Math.min(u,f);let p;for(p=0;pf?ee(e,i,s,!0,!1,d):B(t,n,o,i,s,a,l,c,d)},Y=(e,t,n,o,i,s,a,l,c)=>{let u=0;const f=t.length;let d=e.length-1,p=f-1;for(;u<=d&&u<=p;){const o=e[u],r=t[u]=c?ai(t[u]):si(t[u]);if(!Gr(o,r))break;w(o,r,n,null,i,s,a,l,c),u++}for(;u<=d&&u<=p;){const o=e[d],r=t[p]=c?ai(t[p]):si(t[p]);if(!Gr(o,r))break;w(o,r,n,null,i,s,a,l,c),d--,p--}if(u>d){if(u<=p){const e=p+1,r=ep)for(;u<=d;)J(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){J(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]&&Gr(o,t[v])){r=v;break}void 0===r?J(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 C=_?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=C.length-1,u=b-1;u>=0;u--){const e=g+u,r=t[e],d=e+1{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void K(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)},J=(e,t,n,o=!1,r=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:f,dirs:d}=e;if(null!=a&&Ar(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const p=1&u&&d,h=!bo(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&&io(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,re,o):c&&(i!==Ir||f>0&&64&f)?ee(c,t,n,!1,!0):(i===Ir&&384&f||!r&&16&u)&&ee(l,t,n),o&&G(e)}(h&&(g=s&&s.onVnodeUnmounted)||p)&&Pr((()=>{g&&ui(g,t,e),p&&io(e,null,t,"unmounted")}),n)},G=e=>{const{type:t,el:n,anchor:o,transition:r}=e;if(t===Ir)return void Z(n,o);if(t===Hr)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&&R(o),r.stop(),i&&(i.active=!1,J(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&&J(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:J,m:K,r:G,mt:D,mc:B,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 Rr({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 Nr(e,t,n=!1){const o=e.children,r=t.children;if(p(o)&&p(r))for(let i=0;i0?qr||r:null,Dr.pop(),qr=Dr[Dr.length-1]||null,Ur>0&&qr&&qr.push(e),e}function Yr(e,t,n,o,r,i){return Xr(ti(e,t,n,o,r,i,!0))}function Kr(e,t,n,o,r){return Xr(ni(e,t,n,o,r,!0))}function Jr(e){return!!e&&!0===e.__v_isVNode}function Gr(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: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:Nn};return a?(li(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=v(n)?8:16),Ur>0&&!s&&qr&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&qr.push(l),l}const ni=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==Un||(e=Fr);if(Jr(e)){const o=oi(e,t,!0);return n&&li(o,n),Ur>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?Xt(e)||Zr in e?c({},e):e:null}(t);let{class:e,style:n}=t;e&&!v(e)&&(t.class=ue(e)),b(n)&&(Xt(n)&&!p(n)&&(n=c({},n)),t.style=ce(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?(Wr(),Kr(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=ln(t)),xi(e,n)}function xi(e,t,n){const o=e.type;e.render||(e.render=o.render||i);{const t=vi(e);We();try{nr(e)}finally{Ue(),t()}}}function Si(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ln(Kt(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 Ci(e,t=!0){return m(e)?e.displayName||e.name:e.name||t&&e.__name}const Ti=(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 ki(e,t,n){const o=arguments.length;return 2===o?b(t)&&!p(t)?Jr(t)?ni(e,null,[t]):ni(e,t):ni(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Jr(n)&&(n=[n]),ni(e,t,n))}const Ei="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"),Bi=(e,{slots:t})=>ki(uo,function(e){const t={};for(const c in e)c in Ri||(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:f=a,leaveFromClass:d=`${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:C=y,onAppear:T=_,onAppearCancelled:k=w}=t,E=(e,t,n)=>{Vi(e,t?f:a),Vi(e,t?u:s),n&&n()},O=(e,t)=>{e._isLeaving=!1,Vi(e,d),Vi(e,h),Vi(e,p),t&&t()},L=e=>(t,n)=>{const r=e?T:_,s=()=>E(t,e,n);ji(r,[t,s]),Fi((()=>{Vi(t,e?l:i),Ii(t,e?f:a),Ni(r)||Di(t,o,m,s)}))};return c(t,{onBeforeEnter(e){ji(y,[e]),Ii(e,i),Ii(e,s)},onBeforeAppear(e){ji(C,[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,d),document.body.offsetHeight,Ii(e,p),Fi((()=>{e._isLeaving&&(Vi(e,d),Ii(e,h),Ni(x)||Di(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(S,[e])}})}(e),t);Bi.displayName="Transition";const Ri={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,Ri);const ji=(e,t=[])=>{p(e)?e.forEach((e=>e(...t))):e&&e(...t)},Ni=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 Hi=0;function Di(e,t,n,o){const r=e._endId=++Hi,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,f=0,d=0;t===Ai?s>0&&(u=Ai,f=s,d=i.length):"animation"===t?c>0&&(u="animation",f=c,d=l.length):(f=Math.max(s,c),u=f>0?s>c?Ai:"animation":null,d=u?u===Ai?i.length:l.length:0);const p=u===Ai&&/\b(transform|all)(,|$)/.test(o("transitionProperty").toString());return{type:u,timeout:f,propCount:d,hasTransform:p}}(e,t);if(!s)return o();const c=s+"end";let u=0;const f=()=>{e.removeEventListener(c,d),i()},d=t=>{t.target===e&&++u>=l&&f()};setTimeout((()=>{uWi(t)+Wi(e[n]))))}function Wi(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const Ui=Symbol("_vod"),zi=Symbol("_vsh"),Xi={beforeMount(e,{value:t},{transition:n}){e[Ui]="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[Ui]:"none",e[zi]=!t}const Ki=Symbol(""),Ji=/(^|;)\s*display\s*:/;const Gi=/\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(he,((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 fs(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(ds.test(e)){let n;for(t={};n=e.match(ds);)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 ds=/(?: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;Cn((()=>{n(s,a,l.$gcd(l,!0),l.$gcd(l,!1))}))}(e,t,o,s);const f="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,f):"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[Ki];e&&(n+=";"+e),o.cssText=n,i=Ji.test(n)}}else t&&e.removeAttribute("style");Ui in e&&(e[Ui]=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)||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&&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,f))?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=U(t);null==n||o&&!z(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,f))},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=Br(_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.3.0 + * (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;const Cs=Object.assign;function Ts(e,t){const n={};for(const o in t){const r=t[o];n[o]=Es(r)?r.map(e):e(r)}return n}const ks=()=>{},Es=Array.isArray,Os=/#/g,Ls=/&/g,$s=/\//g,As=/=/g,Ps=/\?/g,Bs=/\+/g,Rs=/%5B/g,js=/%5D/g,Ns=/%5E/g,Ms=/%60/g,Is=/%7B/g,Vs=/%7C/g,Fs=/%7D/g,Hs=/%20/g;function Ds(e){return encodeURI(""+e).replace(Vs,"|").replace(Rs,"[").replace(js,"]")}function qs(e){return Ds(e).replace(Bs,"%2B").replace(Hs,"+").replace(Os,"%23").replace(Ls,"%26").replace(Ms,"`").replace(Is,"{").replace(Fs,"}").replace(Ns,"^")}function Ws(e){return null==e?"":function(e){return Ds(e).replace(Os,"%23").replace(Ps,"%3F")}(e).replace($s,"%2F")}function Us(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const zs=/\/$/;function Xs(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:Us(s)}}function Ys(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Ks(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(!Gs(e[n],t[n]))return!1;return!0}function Gs(e,t){return Es(e)?Zs(e,t):Es(t)?Zs(t,e):e===t}function Zs(e,t){return Es(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var Qs,ea,ta,na;function oa(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(zs,"")}(ea=Qs||(Qs={})).pop="pop",ea.push="push",(na=ta||(ta={})).back="back",na.forward="forward",na.unknown="";const ra=/^[^#]+#/;function ia(e,t){return e.replace(ra,"#")+t}const sa=()=>({left:window.scrollX,top:window.scrollY});function aa(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 la(e,t){return(history.state?history.state.position-t:-1)+e}const ca=new Map;function ua(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 fa(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?sa():null}}function da(e){const{history:t,location:n}=window,o={value:ua(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:sa()});i(s.current,s,!0),i(e,Cs({},fa(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){i(e,Cs({},t.state,fa(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function pa(e){const t=da(e=oa(e)),n=function(e,t,n,o){let r=[],i=[],s=null;const a=({state:i})=>{const a=ua(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:Qs.pop,direction:u?u>0?ta.forward:ta.back:ta.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(Cs({},e.state,{scroll:sa()}),"")}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:ia.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 ha(e){return"string"==typeof e||"symbol"==typeof e}const ga={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ma=Symbol("");var va,ya;function ba(e,t){return Cs(new Error,{type:e,[ma]:!0},t)}function _a(e,t){return e instanceof Error&&ma in e&&(null==t||!!(e.type&t))}(ya=va||(va={}))[ya.aborted=4]="aborted",ya[ya.cancelled=8]="cancelled",ya[ya.duplicated=16]="duplicated";const wa={sensitive:!1,strict:!1,start:!0,end:!0},xa=/[.+*?^${}()[\]/\\]/g;function Sa(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:""},Ea=/[a-zA-Z0-9_]/;function Oa(e,t,n){const o=function(e,t){const n=Cs({},wa,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 d(){c+=a}for(;l{i(d)}:ks}function i(e){if(ha(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){let t=0;for(;t=0&&(e.record.path!==n[t].record.path||!ja(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!Pa(e)&&o.set(e.record.name,e)}return t=Ra({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 ba(1,{location:e});s=r.record.name,a=Cs($a(t.params,r.keys.filter((e=>!e.optional)).concat(r.parent?r.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&$a(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 ba(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,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function $a(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Aa(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 Pa(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 Ra(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function ja(e,t){return t.children.some((t=>t===e||ja(e,t)))}function Na(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&qs(e))):[o&&qs(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Ia(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=Es(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const Va=Symbol(""),Fa=Symbol(""),Ha=Symbol(""),Da=Symbol(""),qa=Symbol("");function Wa(){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 Ua(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(ba(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(ba(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 f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch((e=>l(e)))}))}function za(e,t,n,o,r=(e=>e())){const i=[];for(const a of e)for(const e in a.components){let l=a.components[e];if("beforeRouteEnter"===t||a.instances[e])if("object"==typeof(s=l)||"displayName"in s||"props"in s||"__vccOpts"in s){const s=(l.__vccOpts||l)[t];s&&i.push(Ua(s,n,o,a,e,r))}else{let s=l();i.push((()=>s.then((i=>{if(!i)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${a.path}"`));const s=(l=i).__esModule||"Module"===l[Symbol.toStringTag]?i.default:i;var l;a.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&Ua(c,n,o,a,e,r)()}))))}}var s;return i}function Xa(e){const t=yr(Ha),n=yr(Da),o=Ti((()=>t.resolve(sn(e.to)))),r=Ti((()=>{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(Ks.bind(null,r));if(s>-1)return s;const a=Ka(e[t-2]);return t>1&&Ka(r)===a&&i[i.length-1].path!==a?i.findIndex(Ks.bind(null,e[t-2])):s})),i=Ti((()=>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(!Es(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(n.params,o.value.params))),s=Ti((()=>r.value>-1&&r.value===n.matched.length-1&&Js(n.params,o.value.params)));return{route:o,href:Ti((()=>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[sn(e.replace)?"replace":"push"](sn(e.to)).catch(ks):Promise.resolve()}}}const Ya=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:Xa,setup(e,{slots:t}){const n=Ft(Xa(e)),{options:o}=yr(Ha),r=Ti((()=>({[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:ki("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function Ka(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ja=(e,t,n)=>null!=e?e:null!=t?t:n;function Ga(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Za=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(qa),r=Ti((()=>e.route||o.value)),i=yr(Fa,0),s=Ti((()=>{let e=sn(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),a=Ti((()=>r.value.matched[s.value]));vr(Fa,Ti((()=>s.value+1))),vr(Va,a),vr(qa,r);const l=nn();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&&Ks(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 Ga(n.default,{Component:c,route:o});const u=s.props[i],f=u?!0===u?o.params:"function"==typeof u?u(o):u:null,d=ki(c,Cs({},f,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:l}));return Ga(n.default,{Component:d,route:o})||d}}});function Qa(e){const t=La(e.routes,e),n=e.parseQuery||Na,o=e.stringifyQuery||Ma,r=e.history,i=Wa(),s=Wa(),a=Wa(),l=on(ga,!0);let c=ga;Ss&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ts.bind(null,(e=>""+e)),f=Ts.bind(null,Ws),d=Ts.bind(null,Us);function p(e,i){if(i=Cs({},i||l.value),"string"==typeof e){const o=Xs(n,e,i.path),s=t.resolve({path:o.path},i),a=r.createHref(o.fullPath);return Cs(o,s,{params:d(s.params),hash:Us(o.hash),redirectedFrom:void 0,href:a})}let s;if(null!=e.path)s=Cs({},e,{path:Xs(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:f(t)}),i.params=f(i.params)}const a=t.resolve(s,i),c=e.hash||"";a.params=u(d(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,Ds(h).replace(Is,"{").replace(Fs,"}").replace(Ns,"^")),path:a.path}));var h;const g=r.createHref(p);return Cs({fullPath:p,hash:c,query:o===Ma?Ia(e.query):e.query||{}},a,{redirectedFrom:void 0,href:g})}function h(e){return"string"==typeof e?Xs(n,e,l.value.path):Cs({},e)}function g(e,t){if(c!==e)return ba(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 f=n;let d;return f.redirectedFrom=t,!s&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Ks(t.matched[o],n.matched[r])&&Js(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(d=ba(16,{to:f,from:r}),A(r,r,!0,!1)),(d?Promise.resolve(d):w(f,r)).catch((e=>_a(e)?_a(e,2)?e:$(e):L(e,f,r))).then((e=>{if(e){if(_a(e,2))return y(Cs({replace:a},h(e.to),{state:"object"==typeof e.to?Cs({},i,e.to.state):i,force:s}),t||f)}else e=S(f,r,!0,a,i);return x(f,r,e),e}))}function b(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=R.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;sKs(e,i)))?o.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find((e=>Ks(e,a)))||r.push(a))}return[n,o,r]}(e,t);n=za(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(Ua(o,e,t))}));const l=b.bind(null,e,t);return n.push(l),N(n).then((()=>{n=[];for(const o of i.list())n.push(Ua(o,e,t));return n.push(l),N(n)})).then((()=>{n=za(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(Ua(o,e,t))}));return n.push(l),N(n)})).then((()=>{n=[];for(const o of a)if(o.beforeEnter)if(Es(o.beforeEnter))for(const r of o.beforeEnter)n.push(Ua(r,e,t));else n.push(Ua(o.beforeEnter,e,t));return n.push(l),N(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=za(a,"beforeRouteEnter",e,t,_),n.push(l),N(n)))).then((()=>{n=[];for(const o of s.list())n.push(Ua(o,e,t));return n.push(l),N(n)})).catch((e=>_a(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===ga,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 C;function T(){C||(C=r.listen(((e,t,n)=>{if(!j.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=la(s.fullPath,n.delta),u=sa(),ca.set(a,u)),w(o,s).catch((e=>_a(e,12)?e:_a(e,2)?(y(e.to,o).then((e=>{_a(e,20)&&!n.delta&&n.type===Qs.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&&!_a(e,8)?r.go(-n.delta,!1):n.type===Qs.pop&&_a(e,20)&&r.go(-1,!1)),x(o,s,e)})).catch(ks)})))}let k,E=Wa(),O=Wa();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,T(),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=ca.get(e);return ca.delete(e),t}(la(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return Cn().then((()=>i(t,n,s))).then((e=>e&&aa(e))).catch((e=>L(e,t,n)))}const P=e=>r.go(e);let B;const R=new Set,j={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return ha(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)},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 k&&l.value!==ga?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",Ya),e.component("RouterView",Za),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>sn(l)}),Ss&&!B&&l.value===ga&&(B=!0,m(r.location).catch((e=>{})));const t={};for(const o in ga)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Ha,this),e.provide(Da,Ht(t)),e.provide(qa,l);const n=e.unmount;R.add(e),e.unmount=function(){R.delete(e),R.size<1&&(c=ga,C&&C(),C=null,l.value=ga,B=!1,k=!1),n()}}};function N(e){return e.reduce(((e,t)=>e.then((()=>_(t)))),Promise.resolve())}return j}function el(){return yr(Da)}const tl=["{","}"];const nl=/^(?:\d)+/,ol=/^(?:\w)+/;const rl=Object.prototype.hasOwnProperty,il=(e,t)=>rl.call(e,t),sl=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=tl){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 ll{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||sl,this.messages=n||{},this.setLocale(e||"en"),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=al(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=>{il(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=al(t,this.messages))&&(o=this.messages[t]):n=t,il(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 cl(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&&Wu?Wu():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const r=new ll({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=fp().$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 ul=re((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let fl;function dl(){if(!fl){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,fl=cl(e),ul()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>fl.add(e,__uniConfig.locales[e]))),fl.setLocale(e)}}return fl}function pl(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const hl=re((()=>{const e="uni.async.",t=["error"];dl().add("en",pl(e,t,["The connection timed out, click the screen to try again."]),!1),dl().add("es",pl(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),dl().add("fr",pl(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),dl().add("zh-Hans",pl(e,t,["连接服务器超时,点击屏幕重试"]),!1),dl().add("zh-Hant",pl(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),gl=re((()=>{const e="uni.showToast.",t=["unpaired"];dl().add("en",pl(e,t,["Please note showToast must be paired with hideToast"]),!1),dl().add("es",pl(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),dl().add("fr",pl(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),dl().add("zh-Hans",pl(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),dl().add("zh-Hant",pl(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),ml=re((()=>{const e="uni.showLoading.",t=["unpaired"];dl().add("en",pl(e,t,["Please note showLoading must be paired with hideLoading"]),!1),dl().add("es",pl(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),dl().add("fr",pl(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),dl().add("zh-Hans",pl(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),dl().add("zh-Hant",pl(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),vl=re((()=>{const e="uni.showModal.",t=["cancel","confirm"];dl().add("en",pl(e,t,["Cancel","OK"]),!1),dl().add("es",pl(e,t,["Cancelar","OK"]),!1),dl().add("fr",pl(e,t,["Annuler","OK"]),!1),dl().add("zh-Hans",pl(e,t,["取消","确定"]),!1),dl().add("zh-Hant",pl(e,t,["取消","確定"]),!1)}));function yl(e){const t=new Oe;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({id:e,name:t,args:n},o){t=wl(o,t);const r=t=>{e&&wh.publishHandler("invokeViewApi."+e,t)},i=_l[t];i?i(n,r):r({})}const Sl=c(yl("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=wh,i=n?bl++:0;n&&o("invokeServiceApi."+i,n,!0),r("invokeServiceApi",{id:i,name:e,args:t})}}),Cl=ge(!0);let Tl;function kl(){Tl&&(clearTimeout(Tl),Tl=null)}let El=0,Ol=0;function Ll(e){if(kl(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];El=t,Ol=n,Tl=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 $l(e){if(!Tl)return;if(1!==e.touches.length)return kl();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-El)>10||Math.abs(n-Ol)>10?kl():void 0}function Al(e,t){const n=Number(e);return isNaN(n)?t:n}function Pl(){const e=__uniConfig.globalStyle||{},t=Al(e.rpxCalcMaxDeviceWidth,960),n=Al(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=/^Apple/.test(navigator.vendor)&&"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 Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n}();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)}function Bl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Rl,jl,Nl=["top","left","right","bottom"],Ml={};function Il(){return jl="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 Vl(){if(jl="string"==typeof jl?jl:Il()){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"}),Nl.forEach((function(e){s(o,e)})),document.body.appendChild(o),i(),Rl=!0}else Nl.forEach((function(e){Ml[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:jl+"(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){Hl.length||setTimeout((function(){var e={};Hl.forEach((function(t){e[t]=Ml[t]})),Hl.length=0,Dl.forEach((function(t){t(e)}))}),0);Hl.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(Ml,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function Fl(e){return Rl||Vl(),Ml[e]}var Hl=[];var Dl=[];const ql=Bl({get support(){return 0!=("string"==typeof jl?jl:Il()).length},get top(){return Fl("top")},get left(){return Fl("left")},get right(){return Fl("right")},get bottom(){return Fl("bottom")},onChange:function(e){Il()&&(Rl||Vl(),"function"==typeof e&&Dl.push(e))},offChange:function(e){var t=Dl.indexOf(e);t>=0&&Dl.splice(t,1)}}),Wl=bs((()=>{}),["prevent"]),Ul=bs((e=>{}),["stop"]);function zl(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function Xl(){const e=zl(document.documentElement.style,"--window-top");return e?e+ql.top:0}function Yl(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function Kl(e){return Symbol(e)}function Jl(e){return e.$page}function Gl(e){return 0===e.tagName.indexOf("UNI-")}const Zl="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",Ql="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",ec="M21.781 7.844l-9.063 8.594 9.063 8.594q0.25 0.25 0.25 0.609t-0.25 0.578q-0.25 0.25-0.578 0.25t-0.578-0.25l-9.625-9.125q-0.156-0.125-0.203-0.297t-0.047-0.359q0-0.156 0.047-0.328t0.203-0.297l9.625-9.125q0.25-0.25 0.578-0.25t0.578 0.25q0.25 0.219 0.25 0.578t-0.25 0.578z";function tc(e,t="#000",n=27){return ni("svg",{width:n,height:n,viewBox:"0 0 32 32"},[ni("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function nc(){{const{$pageInstance:o}=hi();return o&&(e=o.proxy,(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id))}var e,t,n}function oc(){const e=Rf(),t=e.length;if(t)return e[t-1]}function rc(){var e;const t=null==(e=oc())?void 0:e.$page;if(t)return t.meta}function ic(){const e=rc();return e?e.id:-1}function sc(){const e=oc();if(e)return e.$vm}const ac=["navigationBar","pullToRefresh"];function lc(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);ac.forEach((t=>{o[t]=c({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function cc(e,t,n){if(v(e))n=t,t=e,e=sc();else if("number"==typeof e){const t=Rf().find((t=>Jl(t).id===e));e=t?t.$vm:sc()}if(!e)return;const o=e.$[t];return 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-dc)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(dc=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(fc=setTimeout(s,300))),o=!1};return function(){clearTimeout(fc),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),oe(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(){Pl(),de(Gl),window.addEventListener("touchstart",Ll,Cl),window.addEventListener("touchmove",$l,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(le(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&&le(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&&wh.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=ae(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=ae(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=me(t?r:function(e){for(;!Gl(e);)e=e.parentElement;return e}(r)),a=me(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 Cc(e,t){const n=[];for(let o=0;o0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=Xl();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=Xl();i.touches=Cc(e.touches,t),i.changedTouches=Cc(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 kc(e){!function(e){const t=e.globalProperties;c(t,Tc),t.$gcd=bc}(e._context.config)}let Ec=1;function Oc(e){return(e||ic())+".invokeViewApi"}const Lc=c(yl("view"),{invokeOnCallback:(e,t)=>xh.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=xh,s=o?Ec++: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}=xh,a=Ec++,l="invokeViewApi."+a;return r(l,n),s(Oc(o),{id:a,name:e,args:t},o),()=>{i(l)}}});function $c(e){cc(oc(),"onResize",e),xh.invokeOnCallback("onWindowResize",e)}function Ac(e){const t=oc();cc(fp(),"onShow",e),cc(t,"onShow")}function Pc(){cc(fp(),"onHide"),cc(oc(),"onHide")}const Bc=["onPageScroll","onReachBottom"];function Rc(){Bc.forEach((e=>xh.subscribe(e,function(e){return(t,n)=>{cc(parseInt(n),e,t)}}(e))))}function jc(){!function(){const{on:e}=xh;e("onResize",$c),e("onAppEnterForeground",Ac),e("onAppEnterBackground",Pc)}(),Rc()}function Nc(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new xe(this.$page.id)),e.eventChannel}}function Mc(e){e._context.config.globalProperties.getOpenerEventChannel=Nc}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)=>`${qu(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 Hc={props:["animation"],watch:{animation:{deep:!0,handler(){Fc(this)}}},mounted(){Fc(this)}},Dc=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Hc),qc(e)},qc=e=>(e.__reserved=!0,e.compatConfig={MODE:3},yo(e));function Wc(e){return e.__wwe=!0,e}function Uc(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=me(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:Wc((function(e){e.touches.length>1||s(e)})),onMousedown:Wc((function(e){r||(s(e),window.addEventListener("mouseup",l))})),onTouchend:Wc((function(){a()})),onMouseup:Wc((function(){r&&l()})),onTouchcancel:Wc((function(){r=!1,t.value=!1,clearTimeout(n)}))}}}function Yc(e,t){return v(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const Kc=Kl("uf"),Jc={for:{type:String,default:""}},Gc=Kl("ul");const Zc=Dc({name:"Label",props:Jc,setup(e,{slots:t}){const n=nn(null),o=nc(),r=function(){const e=[];return vr(Gc,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}(),i=Ti((()=>e.for||t.default&&t.default.length)),s=Wc((t=>{const n=t.target;let i=/^uni-(checkbox|radio|switch)-/.test(n.className);i||(i=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(n.tagName)),i||(e.for?wh.emit("uni-label-click-"+o+"-"+e.for,t,!0):r.length&&r[0](t,!0))}));return()=>ni("uni-label",{ref:n,class:{"uni-label-pointer":i},onClick:s},[t.default&&t.default()],10,["onClick"])}});function Qc(e,t,n){const o=nc();n&&!e||S(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&wh.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?wh.on(r,t[r]):e&&wh.on(`uni-${r}-${o}-${e}`,t[r])}))}function eu(e,t,n){const o=nc();n&&!e||S(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&wh.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?wh.off(r,t[r]):e&&wh.off(`uni-${r}-${o}-${e}`,t[r])}))}const tu=Dc({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=yr(Kc,!1),{hovering:r,binding:i}=Xc(e),s=Wc(((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(Gc,!1);return a&&(a.addHandler(s),Ho((()=>{a.removeHandler(s)}))),function(e,t){Qc(e.id,t),Qn((()=>e.id),((e,n)=>{eu(n,t,!0),Qc(e,t,!0)})),Do((()=>{eu(e.id,t)}))}(e,{"label-click":s}),()=>{const o=e.hoverClass,a=Yc(e,"disabled"),l=Yc(e,"loading"),c=Yc(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"])}}}),nu=Kl("upm");function ou(){return yr(nu)}function ru(e){const t=function(e){return Ft(function(e){{const{navigationBar:t}=e,{titleSize:n,titleColor:o,backgroundColor:r}=t;t.titleText=t.titleText||"",t.type=t.type||"default",t.titleSize=n||"16px",t.titleColor=o||"#000000",t.backgroundColor=r||"#F8F8F8"}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==Rf().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(lc(el().meta,e)))))}(e);return vr(nu,t),t}function iu(){return el()}function su(){return history.state&&history.state.__id__||1}const au=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function lu(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function cu(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let uu=1;const fu={};function du(e,t,n){if("number"==typeof e){const o=fu[e];if(o)return o.keepAlive||delete fu[e],o.callback(t,n)}return t}const pu="success",hu="fail",gu="complete";function mu(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]=cu(o),delete e[n])}return t}(t),a=m(r),l=m(i),c=m(s),u=uu++;return function(e,t,n,o=!1){fu[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 vu="success",yu="fail",bu="complete",_u={},wu={};function xu(e,t){return function(n){return e(n,t)||n}}function Su(e,t,n){let o=!1;for(let r=0;re(t),catch(){}}}function Cu(e,t={}){return[vu,yu,bu].forEach((n=>{const o=e[n];if(!p(o))return;const r=t[n];t[n]=function(e){Su(o,e,t).then((e=>m(r)&&r(e)||e))}})),t}function Tu(e,t){const n=[];p(_u.returnValue)&&n.push(..._u.returnValue);const o=wu[e];return o&&p(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function ku(e){const t=Object.create(null);Object.keys(_u).forEach((e=>{"returnValue"!==e&&(t[e]=_u[e].slice())}));const n=wu[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function Eu(e,t,n,o){const r=ku(e);if(r&&Object.keys(r).length){if(p(r.invoke)){return Su(r.invoke,n).then((n=>t(Cu(ku(e),n),...o)))}return t(Cu(r,n),...o)}return t(n,...o)}function Ou(e,t){return(n={},...o)=>function(e){return!(!S(e)||![pu,hu,gu].find((t=>m(e[t]))))}(n)?Tu(e,Eu(e,t,c({},n),o)):Tu(e,new Promise(((r,i)=>{Eu(e,t,c({},n,{success:r,fail:i}),o)})))}function Lu(e,t,n,o={}){const r=t+":fail";let i="";return i=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,du(e,c({errMsg:i},o))}function $u(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=mu(e,n,o),i=$u(0,[n],0,o);return i?Lu(r,e,i):t(n,{resolve:t=>function(e,t,n){return du(e,c(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>Lu(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 Pu(e,t,n,o){return Ou(e,Au(e,t,0,o))}function Bu(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=$u(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Ru(e,t,n,o){return Ou(e,function(e,t,n,o){return Au(e,t,0,o)}(e,t,0,o))}let ju=!1,Nu=0,Mu=0,Iu=960,Vu=375,Fu=750;function Hu(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:i}=function(){const e=id(),t=ld(ad(e,sd(e)));return{platform:ed?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();e=o,t=r,n=i}Nu=e,Mu=t,ju="ios"===n}function Du(e,t){const n=Number(e);return isNaN(n)?t:n}const qu=Bu(0,((e,t)=>{if(0===Nu&&(Hu(),function(){const e=__uniConfig.globalStyle||{};Iu=Du(e.rpxCalcMaxDeviceWidth,960),Vu=Du(e.rpxCalcBaseDeviceWidth,375),Fu=Du(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Nu;n=e===Fu||n<=Iu?n:Vu;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==Mu&&ju?.5:1),e<0?-o:o})),Wu=Bu(0,(()=>{const e=fp();return e&&e.$vm?e.$vm.$locale:dl().getLocale()})),Uu={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};const zu="json",Xu=["text","arraybuffer"],Yu=encodeURIComponent;ArrayBuffer,Boolean;const Ku={formatArgs:{method(e,t){t.method=lu((e||"").toUpperCase(),au)},data(e,t){t.data=e||""},url(e,t){t.method===au[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(d(t,a)){let e=t[a];null==e?e="":S(e)&&(e=JSON.stringify(e)),s[Yu(a)]=Yu(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!==au[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||zu).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Xu.indexOf(t.responseType)&&(t.responseType="text")}}};const Ju={url:{type:String,required:!0}},Gu=(tf(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),tf(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),rf("navigateTo")),Zu=rf("redirectTo"),Qu=rf("reLaunch"),ef={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(Rf().length-1,e)}}};function tf(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 nf;function of(){nf=""}function rf(e){return{formatArgs:{url:sf(e)},beforeAll:of}}function sf(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=Rf();return n.length&&(t=Jl(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(nf===t&&"appLaunch"!==n.openType)return`${nf} locked`;__uniConfig.ready&&(nf=t)}else if(r.meta.isTabBar){const e=Rf(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}Boolean;const af={formatArgs:{title:"",mask:!1}},lf=(Boolean,{beforeInvoke(){vl()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!d(t,"cancelText")){const{t:e}=dl();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!d(t,"confirmText")){const{t:e}=dl();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),cf=["success","loading","none","error"],uf=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=lu(e,cf)},image(e,t){t.image=e?Gf(e):""},duration:1500,mask:!1}});function ff(){const e=sc();if(!e)return;const t=Bf(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:Nf(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,cc(e,"onHide"))}function df(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function pf(e){const t=Bf().values();for(const n of t){const t=Ef(n);if(df(e,t))return n.$.__isActive=!0,t.id}}const hf=Ru("switchTab",(({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(Of.handledBeforeEntryPageRoutes)return ff(),bf({type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},pf(e)).then(o).catch(r);$f.push({args:{type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,rf("switchTab"));function gf(){const e=oc();if(!e)return;const t=Ef(e);Nf(Ff(t.path,t.id))}const mf=Ru("redirectTo",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Of.handledBeforeEntryPageRoutes)return gf(),bf({type:"redirectTo",url:e,isAutomatedTesting:t}).then(n).catch(o);Af.push({args:{type:"redirectTo",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,Zu);function vf(){const e=Bf().keys();for(const t of e)Nf(t)}const yf=Ru("reLaunch",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(Of.handledBeforeEntryPageRoutes)return vf(),bf({type:"reLaunch",url:e,isAutomatedTesting:t}).then(n).catch(o);Pf.push({args:{type:"reLaunch",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,Qu);function bf({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const s=fp().$router,{path:a,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:_e(n||"")}}(t);return new Promise(((t,c)=>{const u=function(e,t){return{__id__:t||++Mf,__type__:e}}(e,i);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then((i=>{if(_a(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 xe(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()}))}))}function _f(){if(Of.handledBeforeEntryPageRoutes)return;Of.handledBeforeEntryPageRoutes=!0;const e=[...Lf];Lf.length=0,e.forEach((({args:e,resolve:t,reject:n})=>bf(e).then(t).catch(n)));const t=[...$f];$f.length=0,t.forEach((({args:e,resolve:t,reject:n})=>(ff(),bf(e,pf(e.url)).then(t).catch(n))));const n=[...Af];Af.length=0,n.forEach((({args:e,resolve:t,reject:n})=>(gf(),bf(e).then(t).catch(n))));const o=[...Pf];Pf.length=0,o.forEach((({args:e,resolve:t,reject:n})=>(vf(),bf(e).then(t).catch(n))))}function wf(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const xf=wf("top:env(a)"),Sf=wf("top:constant(a)"),Cf=(()=>xf?"env":Sf?"constant":"")();function Tf(e){let t=0;var n,o;"custom"!==e.navigationBar.style&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=44),Yl({"--window-top":(o=t,Cf?`calc(${o}px + ${Cf}(safe-area-inset-top))`:`${o}px`),"--window-bottom":(n=0,Cf?`calc(${n}px + ${Cf}(safe-area-inset-bottom))`:`${n}px`)})}const kf=new Map;function Ef(e){return e.$page}const Of={handledBeforeEntryPageRoutes:!1},Lf=[],$f=[],Af=[],Pf=[];function Bf(){return kf}function Rf(){return jf()}function jf(){const e=[],t=kf.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function Nf(e,t=!0){const n=kf.get(e);n.$.__isUnload=!0,cc(n,"onUnload"),kf.delete(e),t&&function(e){const t=Hf.get(e);t&&(Hf.delete(e),Df.pruneCacheEntry(t))}(e)}let Mf=su();function If(e){const t=ou();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),function(e,t,n,o,r,i){const{id:s,route:a}=o,l=Ae(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:s,path:oe(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function Vf(e){const t=If(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),kf.set(Ff(t.path,t.id),e),1===kf.size&&setTimeout((()=>{_f()}),0)}function Ff(e,t){return e+"$$"+t}const Hf=new Map,Df={get:e=>Hf.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;Df.forEach(((e,n)=>{const o=parseInt(n.split("$$")[1]);o&&o>t&&(Df.delete(n),Df.pruneCacheEntry(e),Cn((()=>{kf.forEach(((e,t)=>{e.$.isUnmounted&&kf.delete(t)}))})))}))}(e),Hf.set(e,t)},delete(e){Hf.get(e)&&Hf.delete(e)},forEach(e){Hf.forEach(e)}};function qf(e,t){!function(e){const t=Uf(e),{body:n}=document;zf&&n.removeAttribute(zf),t&&n.setAttribute(t,""),zf=t}(e),Tf(t),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),Kf(e,t)}function Wf(e){const t=Uf(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function Uf(e){return e.type.__scopeId}let zf;const Xf=!!(()=>{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 Yf;function Kf(e,t){if(document.removeEventListener("touchmove",uc),Yf&&document.removeEventListener("scroll",Yf),t.disableScroll)return document.addEventListener("touchmove",uc,Xf);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=Ef(e.proxy).id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&wh.publishHandler("onPageScroll",{scrollTop:o},e),n&&wh.emit(e+".onPageScroll",{scrollTop:o})}}(s,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>wh.publishHandler("onReachBottom",{},s)),Yf=pc(i),requestAnimationFrame((()=>document.addEventListener("scroll",Yf)))}function Jf(e){const{base:t}=__uniConfig.router;return 0===oe(e).indexOf(t)?oe(e):t+e}function Gf(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 Jf(e.slice(1));e="https:"+e}if(ee.test(e)||te.test(e)||0===e.indexOf("blob:"))return e;const o=jf();return o.length?Jf(hc(Ef(o[o.length-1]).route,e).slice(1)):e}const Zf=navigator.userAgent,Qf=/android/i.test(Zf),ed=/iphone|ipad|ipod/i.test(Zf),td=Zf.match(/Windows NT ([\d|\d.\d]*)/i),nd=/Macintosh|Mac/i.test(Zf),od=/Linux|X11/i.test(Zf),rd=nd&&navigator.maxTouchPoints>0;function id(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function sd(e){return e&&90===Math.abs(window.orientation)}function ad(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function ld(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}const cd=Ic(),ud=Ic();function fd(){}const dd={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 pd(e,t,n){function o(e){const t=Ti((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",fd,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",fd,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}Qn((()=>t.value),(e=>e&&o(e)))}const hd=ge(!0),gd=[];let md=0,vd=!1;const yd=e=>gd.forEach((t=>t.userAction=e));function bd(){const e=Ft({userAction:!1});return Io((()=>{!function(e={userAction:!1}){vd||(["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!md&&yd(!0),md++,setTimeout((()=>{!--md&&yd(!1)}),0)}),hd)})),vd=!0);gd.push(e)}(e)})),Ho((()=>{!function(e){const t=gd.indexOf(e);t>=0&&gd.splice(t,1)}(e)})),{state:e}}function _d(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)}const wd=function(){var e,t,n;e=ic(),n=_d,t=wl(e,t="getSelectedTextRange"),_l[t]||(_l[t]=n)};function xd(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const Sd=["none","text","decimal","numeric","tel","search","email","url"],Cd=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=>!!~Sd.indexOf(e)},cursorColor:{type:String,default:""}},dd),Td=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function kd(e,t,n,o){let r=null;r=we((n=>{t.value=xd(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),Qn((()=>e.modelValue),r),Qn((()=>e.value),r);const i=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{r.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return Mo((()=>{r.cancel(),i.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function Ed(e,t){bd();const n=Ti((()=>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&&Cn(o)}))}function Od(e,t,n,o){wd();const{fieldRef:r,state:i,trigger:s}=function(e,t,n){const o=nn(null),r=Uc(t,n),i=Ti((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),s=Ti((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),a=Ti((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=Ti((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t}));let c="";c=xd(e.modelValue,e.type)||xd(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 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}=kd(e,i,n,s);Ed(e,r),pd(0,r);const{state:l}=function(){const e=Ft({attrs:{}});return Io((()=>{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=yr(Kc,!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),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 f(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,f(e)})),c.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),f(e)})),c.addEventListener("compositionupdate",f)}))}(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 Ld=c({},Cd,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),$d=re((()=>{{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 Ad(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("."))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&&$d()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}const Pd=Dc({name:"Input",props:Ld,emits:["confirm",...Td],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=Ti((()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t})),s=Ti((()=>{const t=r.indexOf(e.textContentType),n=r.indexOf($(e.textContentType));return r[-1!==t?t:-1!==n?n:0]}));let a=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=nn(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 nn("")}(e,i),l={fn:null};const c=nn(null),{fieldRef:u,state:f,scopedAttrsState:d,fixDisabledColor:p,trigger:h}=Od(e,c,t,((t,n)=>{const o=t.target;if("number"===i.value){if(l.fn&&(o.removeEventListener("blur",l.fn),l.fn=null),o.validity&&!o.validity.valid){if((!a.value||!o.value)&&"-"===t.data||"-"===a.value[0]&&"deleteContentBackward"===t.inputType)return a.value="-",n.value="",l.fn=()=>{a.value=o.value=""},o.addEventListener("blur",l.fn),!1;const e=Ad(t,a,n,o,l);return"boolean"==typeof e?e:(a.value=n.value=o.value="-"===a.value?"":a.value,!1)}{const e=Ad(t,a,n,o,l);if("boolean"==typeof e)return e;a.value=o.value}const r=n.maxlength;if(r>0&&o.value.length>r){o.value=o.value.slice(0,r),n.value=o.value;return(void 0!==e.modelValue&&null!==e.modelValue?e.modelValue.toString():"")!==o.value}}}));Qn((()=>f.value),(t=>{"number"!==e.type||"-"===a.value&&""===t||(a.value=t.toString())}));const g=["number","digit"],m=Ti((()=>g.includes(e.type)?e.step:""));function v(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),h("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&&p?ni("input",{key:"disabled-input",ref:u,value:f.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:f.maxlength,step:m.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):ni("input",{key:"input",ref:u,value:f.value,onInput:e=>{f.value=e.target.value.toString()},disabled:!!e.disabled,type:i.value,maxlength:f.maxlength,step:m.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:v,inputmode:e.inputmode},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return ni("uni-input",{ref:c},[ni("div",{class:"uni-input-wrapper"},[ro(ni("div",ci(d.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Xi,!(f.value.length||"-"===a.value||a.value.includes("."))]]),"search"===e.confirmType?ni("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}}),Bd=["navigate","redirect","switchTab","reLaunch","navigateBack"],Rd=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],jd=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],Nd={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:e=>Boolean(~Bd.indexOf(e))},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},animationType:{type:String,default:"",validator:e=>!e||Rd.concat(jd).includes(e)},animationDuration:{type:[String,Number],default:300}};const Md=Dc({name:"Navigator",inheritAttrs:!1,compatConfig:{MODE:3},props:c({},Nd,{renderLink:{type:Boolean,default:!0}}),setup(e,{slots:t}){const n=nn(null),o=hi(),r=o&&o.vnode.scopeId||"",{hovering:i,binding:s}=Xc(e),a=function(e){return()=>{if("navigateBack"!==e.openType&&!e.url)return void console.error(" should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab");const t=parseInt(e.animationDuration);switch(e.openType){case"navigate":Yp({url:e.url,animationType:e.animationType||"pop-in",animationDuration:t});break;case"redirect":mf({url:e.url,exists:e.exists});break;case"switchTab":hf({url:e.url});break;case"reLaunch":yf({url:e.url});break;case"navigateBack":Xp({delta:e.delta,animationType:e.animationType||"pop-out",animationDuration:t})}}}(e);return()=>{const{hoverClass:l,url:c}=e,u=e.hoverClass&&"none"!==e.hoverClass,f=e.renderLink?ni("a",{class:"navigator-wrap",href:c,onClick:Wl,onMousedown:Wl},[t.default&&t.default()],40,["href","onClick","onMousedown"]):t.default&&t.default();return ni("uni-navigator",ci({class:u&&i.value?l:"",ref:n},u&&s,o?o.attrs:{},{[r]:""},{onClick:a}),[f],16,["onClick"])}}}),Id=Dc({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=Ti((()=>{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=Ti((()=>{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)}}}),Vd=ge(!0),Fd=Dc({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=Uc(r,t),{state:c,scrollTopNumber:u,scrollLeftNumber:f}=function(e){const t=Ti((()=>Number(e.scrollTop)||0)),n=Ti((()=>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:d,realScrollY:p,_scrollLeftChanged:h,_scrollTopChanged:g}=function(e,t,n,o,r,i,s,a,l){let c=!1,u=0,f=!1,d=()=>{};const p=Ti((()=>e.scrollX)),h=Ti((()=>e.scrollY)),g=Ti((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),m=Ti((()=>{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",d),i.removeEventListener("webkitTransitionEnd",d),d=()=>x(e,t),i.addEventListener("transitionend",d),i.addEventListener("webkitTransitionEnd",d),"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",d),a.value.removeEventListener("webkitTransitionEnd",d)}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:T.y-C.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(f=!1,r("refresherrestore",{},{dy:T.y-C.y})),"refresherabort"===n&&f&&(f=!1,r("refresherabort",{},{dy:T.y-C.y}))}t.refreshState=n}}let C={x:0,y:0},T={x:0,y:e.refresherThreshold};return Io((()=>{Cn((()=>{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===C)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,l=s.value;if(Math.abs(o-C.x)>Math.abs(i-C.y))if(p.value){if(0===l.scrollLeft&&o>C.x)return void(a=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&oC.y)a=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&i0&&(f=!0,r("refresherpulling",n,{deltaY:o,dy:o})))}},d=function(e){1===e.touches.length&&(C={x:e.touches[0].pageX,y:e.touches[0].pageY})},g=function(n){T={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?S("refreshing"):S("refresherabort"),C={x:0,y:0},T={x:0,y:e.refresherThreshold}};s.value.addEventListener("touchstart",d,Vd),s.value.addEventListener("touchmove",l,ge(!1)),s.value.addEventListener("scroll",i,ge(!1)),s.value.addEventListener("touchend",g,Vd),Ho((()=>{s.value.removeEventListener("touchstart",d),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?S("refreshing"):!1===e&&S("restore")})),{realScrollX:p,realScrollY:h,_scrollTopChanged:b,_scrollLeftChanged:_}}(e,c,u,f,l,r,i,a,t),m=Ti((()=>{let e="";return d.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",p.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e})),v=Ti((()=>{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:f,refreshState:d}=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(Id,{refreshState:d,refresherHeight:f,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 Hd={ensp:" ",emsp:" ",nbsp:" "};function Dd(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&Hd[t]&&" "===i&&(i=Hd[t]),r?(o+="n"===i?"\n":"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/ /g,Hd.nbsp).replace(/ /g,Hd.ensp).replace(/ /g,Hd.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split("\n")}const qd=Dc({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){const n=Dd(t.children,{space:e.space,decode:e.decode}),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"])}}}),Wd=Dc({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),[Yo(t,"default")],16):ni("uni-view",{ref:n},[Yo(t,"default")],512)}}});function Ud(e,t,n,o){m(t)&&jo(e,t.bind(n),o)}function zd(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))&&(Ce.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];p(r)?r.forEach((e=>Ud(o,e,n,t))):Ud(o,r,n,t)}})),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,cc(n,"onLoad",e),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 Xd(e,t,n){zd(e,t,n)}function Yd(e,t,n){return e[t]=n}function Kd(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function Jd(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):hn(n,0,o&&o.$.vnode,!1)}}function Gd(e,t){return e?[...new Set([].concat(e,t))]:t}function Zd(e){const t=e.config;var n;t.errorHandler=ke(e,Jd),n=t.optionMergeStrategies,Ce.forEach((e=>{n[e]=Gd}));const o=t.globalProperties;o.$set=Yd,o.$applyOptions=Xd,o.$callMethod=Kd,function(e){Te.forEach((t=>t(e)))}(e)}function Qd(e){const t=Qa({history:np(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:tp});t.beforeEach(((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(ep[n]={left:window.pageXOffset,top:window.pageYOffset}))})),e.router=t,e.use(t)}let ep=Object.create(null);const tp=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,ep[o]);if(t)return t}return{left:0,top:0};var o};function np(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=(n=e,(n=location.host?n||location.pathname+location.search:"").includes("#")||(n+="#"),pa(n));var n;return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=jf(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=Ef(t[r]);Nf(Ff(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const op={install(e){Zd(e),kc(e),Mc(e),e.config.warnHandler||(e.config.warnHandler=rp),Qd(e)}};function rp(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 ip={class:"uni-async-loading"},sp=ni("i",{class:"uni-loading"},null,-1),ap=qc({name:"AsyncLoading",render:()=>(Wr(),Kr("div",ip,[sp]))});function lp(){window.location.reload()}const cp=qc({name:"AsyncError",props:["error"],setup(){hl();const{t:e}=dl();return()=>ni("div",{class:"uni-async-error",onClick:lp},[e("uni.async.error")],8,["onClick"])}});let up;function fp(){return up}function dp(e){up=e,Object.defineProperty(up.$.ctx,"$children",{get:()=>jf().map((e=>e.$vm))});const t=up.$.appContext.app;t.component(ap.name)||t.component(ap.name,ap),t.component(cp.name)||t.component(cp.name,cp),function(e){e.$vm=e,e.$mpType="app";const t=nn(dl().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(up),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}})}(up),jc(),mc()}function pp(e,{clone:t,init:n,setup:o,before:r}){t&&(e=c({},e)),r&&r(e);const i=e.setup;return e.setup=(e,t)=>{const r=hi();if(n(r.proxy),o(r),i)return i(e,t)},e}function hp(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?pp(e.default,t):pp(e,t)}function gp(e){return hp(e,{clone:!0,init:Vf,setup(e){e.$pageInstance=e;const t=iu(),n=ye(t.query);e.attrs.__pageQuery=n,Ef(e.proxy).options=n,e.proxy.options=n;const o=ou();var r,i;return Tf(o),e.onReachBottom=Ft([]),e.onPageScroll=Ft([]),Qn([e.onReachBottom,e.onPageScroll],(()=>{const t=oc();e.proxy===t&&Kf(e,o)}),{once:!0}),Mo((()=>{qf(e,o)})),Io((()=>{Wf(e);const{onReady:n}=e;n&&R(n),bp(t)})),Lo((()=>{if(!e.__isVisible){qf(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&R(n),Cn((()=>{bp(t)}))}}),"ba",r),function(e,t){Lo(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&R(t)}}})),i=o.id,wh.subscribe(wl(i,"invokeViewApi"),xl),Ho((()=>{!function(e){wh.unsubscribe(wl(e,"invokeViewApi")),Object.keys(_l).forEach((t=>{0===t.indexOf(e+".")&&delete _l[t]}))}(o.id)})),n}})}function mp(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Ap(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";xh.emit("onResize",{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function vp(e){S(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&xh.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function yp(){const{emit:e}=xh;"visible"===document.visibilityState?e("onAppEnterForeground",c({},ud)):e("onAppEnterBackground")}function bp(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&cc("onTabItemTap",{index:n,text:t,pagePath:o})}const _p=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let wp;function xp(){if(wp=wp||_p.__DC_STAT_UUID,!wp){wp=Date.now()+""+Math.floor(1e7*Math.random());try{_p.__DC_STAT_UUID=wp}catch(e){}}return wp}function Sp(){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 Cp(){let e,t="0",n="",o="phone";const r=navigator.language;if(ed){e="iOS";const o=Zf.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=Zf.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(Qf){e="Android";const o=Zf.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=Zf.match(/\((.+?)\)/),i=r?r[1].split(";"):Zf.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=id(),n=sd(t),o=ad(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=ld(o);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=Xl(),n=zl(e,"--window-bottom"),o=zl(e,"--window-left"),r=zl(e,"--window-right"),i=zl(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 kp,Ep=!0;function Op(){Ep&&(kp=Cp())}const Lp=Bu(0,(()=>{Op();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:a,osname:l,osversion:u}=kp;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:xp(),deviceOrientation:s,deviceType:a,model:o,platform:r,system:i,osName:l?l.toLowerCase():void 0,osVersion:u})})),$p=Bu(0,(()=>{Op();const{theme:e,language:t,browserName:n,browserVersion:o}=kp;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Wu?Wu():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,language:t,SDKVersion:"",theme:e,version:"",uniPlatform:"web",isUniAppX:!1,uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion},{})})),Ap=Bu(0,(()=>{Ep=!0,Op(),Ep=!1;const e=Tp(),t=Lp(),n=$p();Ep=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:a}=kp,l=c(e,t,n,{ua:o,browserName:r,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:s.toLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return S(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}(l)}));const Pp=Bu(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)}));function Bp(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 Rp=Bu(0,(e=>{try{return Bp(e)}catch(t){return""}})),jp=Bu(0,(e=>{localStorage&&localStorage.removeItem(e)})),Np={esc:["Esc","Escape"],enter:["Enter"]},Mp=Object.keys(Np);const Ip=ni("div",{class:"uni-mask"},null,-1);function Vp(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),xs(yo({setup:()=>()=>(Wr(),Kr(e,t,null,16))}))}function Fp(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function Hp(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=Mp.find((e=>-1!==Np[e].indexOf(n.key)));o&&(e.value=o),Cn((()=>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)),Gn((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}const Dp=Pu("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 f=null;const p=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];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)f=t;else if("json"===p)try{f=JSON.stringify(t)}catch(g){f=t.toString()}else if("urlencoded"===p){const e=[];for(const n in t)d(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));f=e.join("&")}else f=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 Wp(t);const d={method:o,headers:n,body:f,signal:s,credentials:a?"include":"same-origin"},p=setTimeout((function(){h.abort(),u("timeout",{errCode:5})}),l);d.signal.addEventListener("abort",(function(){clearTimeout(p),u("abort",{errCode:600003})})),window.fetch(e,d).then((e=>{const t=e.status,n=e.headers,o=e.body,s={};n.forEach(((e,t)=>{s[t]=e}));const a=qp(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=[],f=()=>{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}),f()}))};f()}),(e=>{u(e,{errCode:5})}))}else{const t=new XMLHttpRequest;h=new Wp(t),t.open(o,e);for(const e in n)d(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:Up(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(f)}return h}),0,Ku),qp=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 Up(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}const Xp=Ru("navigateBack",((e,{resolve:t,reject:n})=>{let o=!0;return!0===cc("onBackPress",{from:e.from||"navigateBack"})&&(o=!1),o?(fp().$router.go(-e.delta),t()):n("onBackPress")}),0,ef),Yp=Ru("navigateTo",(({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(Of.handledBeforeEntryPageRoutes)return bf({type:"navigateTo",url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);Lf.push({args:{type:"navigateTo",url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,Gu);function Kp(e){__uniConfig.darkmode&&xh.on("onThemeChange",e)}function Jp(e){xh.off("onThemeChange",e)}function Gp(e){let t={};return __uniConfig.darkmode&&(t=Ae(e,__uniConfig.themeConfig,Sp())),__uniConfig.darkmode?t:e}const Zp={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},Qp=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=nn(""),o=()=>s.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),s=Hp(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}}),a=function(e){const t=nn(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=Zp[e].cancelColor})(e,t)};return Gn((()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Sp()&&n({theme:"dark"}),Kp(n))):Jp(n)})),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:f,placeholderText:d}=e;return n.value=o,ni(Bi,{name:"uni-fade"},{default:()=>[ro(ni("uni-modal",{onTouchmove:Wl},[Ip,ni("div",{class:"uni-modal"},[t?ni("div",{class:"uni-modal__hd"},[ni("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,f?ni("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:d,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):ni("div",{class:"uni-modal__bd",onTouchmovePassive:Ul,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 eh;const th=re((()=>{xh.on("onHidePopup",(()=>eh.visible=!1))}));let nh;function oh(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&eh.editable&&(o.content=t),nh&&nh(o)}const rh=Ru("showModal",((e,{resolve:t})=>{th(),nh=t,eh?(c(eh,e),eh.visible=!0):(eh=Ft(e),Cn((()=>(Vp(Qp,eh,oh).mount(Fp("u-a-m")),Cn((()=>eh.visible=!0))))))}),0,lf),ih={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==cf.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)"},ah=e=>sh[e],lh=yo({name:"Toast",props:ih,setup(e){gl(),ml();const{Icon:t}=function(e){const t=nn(ah(Sp())),n=({theme:e})=>t.value=ah(e);Gn((()=>{e.visible?Kp(n):Jp(n)}));return{Icon:Ti((()=>{switch(e.icon){case"success":return ni(tc(Zl,t.value,38),{class:"uni-toast__icon"});case"error":return ni(tc(Ql,t.value,38),{class:"uni-toast__icon"});case"loading":return ni("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=Hp(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return ni(Bi,{name:"uni-fade"},{default:()=>[ro(ni("uni-toast",{"data-duration":r},[o?ni("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Wl},null,40,["onTouchmove"]):"",s||t.value?ni("div",{class:"uni-toast"},[s?ni("img",{src:s,class:"uni-toast__icon"},null,10,["src"]):t.value,ni("p",{class:"uni-toast__content"},[i])]):ni("div",{class:"uni-sample-toast"},[ni("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[Xi,n.value]])]})}}});let ch,uh,fh="";const dh=je();function ph(e){ch?c(ch,e):(ch=Ft(c(e,{visible:!1})),Cn((()=>{dh.run((()=>{Qn([()=>ch.visible,()=>ch.duration],(([e,t])=>{if(e){if(uh&&clearTimeout(uh),"onShowLoading"===fh)return;uh=setTimeout((()=>{yh("onHideToast")}),t)}else uh&&clearTimeout(uh)}))})),xh.on("onHidePopup",(()=>yh("onHidePopup"))),Vp(lh,ch,(()=>{})).mount(Fp("u-a-t"))}))),setTimeout((()=>{ch.visible=!0}),10)}const hh=Ru("showToast",((e,{resolve:t,reject:n})=>{ph(e),fh="onShowToast",t()}),0,uf),gh={icon:"loading",duration:1e8,image:""},mh=Ru("showLoading",((e,{resolve:t,reject:n})=>{c(e,gh),ph(e),fh="onShowLoading",t()}),0,af),vh=Ru("hideLoading",((e,{resolve:t,reject:n})=>{yh("onHideLoading"),t()}));function yh(e){const{t:t}=dl();if(!fh)return;let n="";if("onHideToast"===e&&"onShowToast"!==fh?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==fh&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);fh="",setTimeout((()=>{ch.visible=!1}),10)}function bh(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,xh.emit("onNavigationBarChange",{titleText:t})}Gn(t),Eo(t)}const _h=qc({name:"Layout",setup(e,{emit:t}){const n=nn(null);Yl({"--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=el();return{routeKey:Ti((()=>Ff("/"+e.meta.route,su()))),isTabBar:Ti((()=>e.meta.isTabBar)),routeCache:Df}}(),{layoutState:r,windowState:i}=function(){iu();{const e=Ft({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Qn((()=>e.marginWidth),(e=>Yl({"--window-margin":e+"px"}))),Qn((()=>e.leftWindowWidth+e.marginWidth),(e=>{Yl({"--window-left":e+"px"})})),Qn((()=>e.rightWindowWidth+e.marginWidth),(e=>{Yl({"--window-right":e+"px"})})),{layoutState:e,windowState:Ti((()=>({})))}}}();!function(e,t){const n=iu();function o(){const o=document.body.clientWidth,r=jf();let i={};if(r.length>0){i=Ef(r[r.length-1]).meta}else{const e=gc(n.path,!0);e&&(i=e.meta)}const s=parseInt(String((d(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=o>s,a&&s?(e.marginWidth=(o-s)/2,Cn((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")}))):(e.marginWidth=0,Cn((()=>{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=nn(!1);return Ti((()=>({"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(Za,null,{default:Vn((({Component:o})=>[(Wr(),Kr(To,{matchBy:"key",cache:n},[(Wr(),Kr(zn(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 wh=c(Sl,{publishHandler(e,t,n){xh.subscribeHandler(e,t,n)}}),xh=c(Lc,{publishHandler(e,t,n){wh.subscribeHandler(e,t,n)}}),Sh=qc({name:"PageHead",setup(){const e=nn(null),t=ou(),n=function(e,t){const n=Wt(e),o=n?Ft(Gp(e)):Gp(e);return __uniConfig.darkmode&&n&&Qn(e,(e=>{const t=Gp(e);for(const n in t)o[n]=t[n]})),t&&Kp(t),o}(t.navigationBar,(()=>{const e=Gp(t.navigationBar);n.backgroundColor=e.backgroundColor,n.titleColor=e.titleColor})),{clazz:o,style:r}=function(e){const t=Ti((()=>{const{type:t,titlePenetrate:n,shadowColorType:o}=e,r={"uni-page-head":!0,"uni-page-head-transparent":"transparent"===t,"uni-page-head-titlePenetrate":"YES"===n,"uni-page-head-shadow":!!o};return o&&(r[`uni-page-head-shadow-${o}`]=!0),r})),n=Ti((()=>({backgroundColor:e.backgroundColor,color:e.titleColor,transitionDuration:e.duration,transitionTimingFunction:e.timingFunc})));return{clazz:t,style:n}}(n);return()=>{const i=function(e,t){if(!t)return ni("div",{class:"uni-page-head-btn",onClick:Th},[tc(ec,"transparent"===e.type?"#fff":e.titleColor,26)],8,["onClick"])}(n,t.isQuit),s=n.type||"default",a="transparent"!==s&&"float"!==s&&ni("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return ni("uni-page-head",{"uni-page-head-type":s},[ni("div",{ref:e,class:o.value,style:r.value},[ni("div",{class:"uni-page-head-hd"},[i]),Ch(n),ni("div",{class:"uni-page-head-ft"},[])],6),a],8,["uni-page-head-type"])}}});function Ch(e,t){return function({type:e,loading:t,titleSize:n,titleText:o,titleImage:r}){return ni("div",{class:"uni-page-head-bd"},[ni("div",{style:{fontSize:n,opacity:"transparent"===e?0:1},class:"uni-page-head__title"},[t?ni("i",{class:"uni-loading"},null):r?ni("img",{src:r,class:"uni-page-head__title_image"},null,8,["src"]):o],4)])}(e)}function Th(){1===Rf().length?yf({url:"/"}):Xp({from:"backbutton",success(){}})}const kh=qc({name:"PageBody",setup(e,t){const n=nn(null),o=nn(null);return Qn((()=>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,[Yo(t.slots,"default")]),null],16)])}}),Eh=qc({name:"Page",setup(e,t){let n=ru(su());const o=n.navigationBar,r={};return bh(n),()=>ni("uni-page",{"data-page":n.route,style:r},"custom"!==o.style?[ni(Sh),Oh(t),null]:[Oh(t),null])}});function Oh(e){return Wr(),Kr(kh,{key:0},{default:Vn((()=>[Yo(e.slots,"page")])),_:3})}const Lh={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=qu;const $h=Object.assign({}),Ah=Object.assign;window.__uniConfig=Ah({globalStyle:{backgroundColor:"#F8F8F8",navigationBar:{backgroundColor:"#F8F8F8",titleText:"uni-app",type:"default",titleColor:"#000000"},isNVue:!1},uniIdRouter:{},compilerVersion:"4.75"},{appId:"__UNI__9883710",appName:"uniapp-ai",appVersion:"1.0.0",appVersionCode:"100",async:Lh,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($h).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return Ah(e[n]||(e[n]={}),$h[t].default),e}),{}),router:{mode:"hash",base:"/",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const Ph={delay:Lh.delay,timeout:Lh.timeout,suspensible:Lh.suspensible};Lh.loading&&(Ph.loadingComponent={name:"SystemAsyncLoading",render:()=>ni(Wn(Lh.loading))}),Lh.error&&(Ph.errorComponent={name:"SystemAsyncError",props:["error"],render(){return ni(Wn(Lh.error),{error:this.error})}});const Bh=()=>t((()=>import("./pages-login-login.o4lhlahd.js")),__vite__mapDeps([0,1,2,3,4])).then((e=>gp(e.default||e))),Rh=_o(Ah({loader:Bh},Ph)),jh=()=>t((()=>import("./pages-chat-chat.BP-kLqN-.js")),__vite__mapDeps([5,2,3,6])).then((e=>gp(e.default||e))),Nh=_o(Ah({loader:jh},Ph)),Mh=()=>t((()=>import("./pages-register-register.DF-D4BU_.js")),__vite__mapDeps([7,1,2,3,8])).then((e=>gp(e.default||e))),Ih=_o(Ah({loader:Mh},Ph)),Vh=()=>t((()=>import("./pages-document-document.ltioNAyh.js")),__vite__mapDeps([9,3,10])).then((e=>gp(e.default||e))),Fh=_o(Ah({loader:Vh},Ph));function Hh(e,t){return Wr(),Kr(Eh,null,{page:Vn((()=>[ni(e,Ah({},t,{ref:"page"}),null,512)])),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/login/login",component:{setup(){const e=fp(),t=e&&e.$route&&e.$route.query||{};return()=>Hh(Rh,t)}},loader:Bh,meta:{isQuit:!0,isEntry:!0,navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/pages/chat/chat",component:{setup(){const e=fp(),t=e&&e.$route&&e.$route.query||{};return()=>Hh(Nh,t)}},loader:jh,meta:{navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/pages/register/register",component:{setup(){const e=fp(),t=e&&e.$route&&e.$route.query||{};return()=>Hh(Ih,t)}},loader:Mh,meta:{navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/pages/document/document",component:{setup(){const e=fp(),t=e&&e.$route&&e.$route.query||{};return()=>Hh(Fh,t)}},loader:Vh,meta:{navigationBar:{titleText:"",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const Dh={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};hp(Dh,{init:dp,setup(e){const t=iu(),n=()=>{var n;n=e,Object.keys(Uu).forEach((e=>{Uu[e].forEach((t=>{jo(e,t,n)}))}));const{onLaunch:o,onShow:r,onPageNotFound:i}=e,s=function({path:e,query:t}){return c(cd,{path:e,query:t}),c(ud,cd),c({},cd)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:ye(t.query)});if(o&&R(o,s),r&&R(r,s),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};_f(),i&&R(i,e)}};return yr(Ha).isReady().then(n),Io((()=>{window.addEventListener("resize",we(mp,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",vp),document.addEventListener("visibilitychange",yp),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{xh.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=()=>(Wr(),Kr(_h));e.setup=(e,o)=>{const r=t&&t(e,o);return m(r)?n:r},e.render=n}}); +/*! + * pinia v2.1.7 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */ +let qh;const Wh=e=>qh=e,Uh=Symbol();function zh(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var Xh,Yh;(Yh=Xh||(Xh={})).direct="direct",Yh.patchObject="patch object",Yh.patchFunction="patch function";const Kh=()=>{};function Jh(e,t,n,o=Kh){e.push(t);const r=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),o())};var i;return!n&&Ne()&&(i=r,Pe&&Pe.cleanups.push(i)),r}function Gh(e,...t){e.slice().forEach((e=>{e(...t)}))}const Zh=e=>e();function Qh(e,t){e instanceof Map&&t instanceof Map&&t.forEach(((t,n)=>e.set(n,t))),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];zh(r)&&zh(o)&&e.hasOwnProperty(n)&&!tn(o)&&!Wt(o)?e[n]=Qh(r,o):e[n]=o}return e}const eg=Symbol();const{assign:tg}=Object;function ng(e,t,n,o){const{state:r,actions:i,getters:s}=t,a=n.state.value[e];let l;return l=og(e,(function(){a||(n.state.value[e]=r?r():{});const t=function(e){const t=p(e)?new Array(e.length):{};for(const n in e)t[n]=un(e,n);return t}(n.state.value[e]);return tg(t,i,Object.keys(s||{}).reduce(((t,o)=>(t[o]=Kt(Ti((()=>{Wh(n);const t=n._s.get(e);return s[o].call(t,t)}))),t)),{}))}),t,n,o,!0),l}function og(e,t,n={},o,r,i){let s;const a=tg({actions:{}},n),l={deep:!0};let c,u,f,d=[],p=[];const h=o.state.value[e];let g;function m(t){let n;c=u=!1,"function"==typeof t?(t(o.state.value[e]),n={type:Xh.patchFunction,storeId:e,events:f}):(Qh(o.state.value[e],t),n={type:Xh.patchObject,payload:t,storeId:e,events:f});const r=g=Symbol();Cn().then((()=>{g===r&&(c=!0)})),u=!0,Gh(d,n,o.state.value[e])}i||h||(o.state.value[e]={}),nn({});const v=i?function(){const{state:e}=n,t=e?e():{};this.$patch((e=>{tg(e,t)}))}:Kh;function y(t,n){return function(){Wh(o);const r=Array.from(arguments),i=[],s=[];function a(e){i.push(e)}function l(e){s.push(e)}let c;Gh(p,{args:r,name:t,store:b,after:a,onError:l});try{c=n.apply(this&&this.$id===e?this:b,r)}catch(u){throw Gh(s,u),u}return c instanceof Promise?c.then((e=>(Gh(i,e),e))).catch((e=>(Gh(s,e),Promise.reject(e)))):(Gh(i,c),c)}}const b=Ft({_p:o,$id:e,$onAction:Jh.bind(null,p),$patch:m,$reset:v,$subscribe(t,n={}){const r=Jh(d,t,n.detached,(()=>i())),i=s.run((()=>Qn((()=>o.state.value[e]),(o=>{("sync"===n.flush?u:c)&&t({storeId:e,type:Xh.direct,events:f},o)}),tg({},l,n))));return r},$dispose:function(){s.stop(),d=[],p=[],o._s.delete(e)}});o._s.set(e,b);const _=(o._a&&o._a.runWithContext||Zh)((()=>o._e.run((()=>(s=je()).run(t)))));for(const S in _){const t=_[S];if(tn(t)&&(!tn(x=t)||!x.effect)||Wt(t))i||(!h||zh(w=t)&&w.hasOwnProperty(eg)||(tn(t)?t.value=h[S]:Qh(t,h[S])),o.state.value[e][S]=t);else if("function"==typeof t){const e=y(S,t);_[S]=e,a.actions[S]=t}}var w,x;return tg(b,_),tg(Yt(b),_),Object.defineProperty(b,"$state",{get:()=>o.state.value[e],set:e=>{m((t=>{tg(t,e)}))}}),o._p.forEach((e=>{tg(b,s.run((()=>e({store:b,app:o._a,pinia:o,options:a}))))})),h&&i&&n.hydrate&&n.hydrate(b.$state,h),c=!0,u=!0,b}function rg(e,t,n){let o,r;const i="function"==typeof t;function s(e,n){(e=e||(!!(pi||Nn||mr)?yr(Uh,null):null))&&Wh(e),(e=qh)._s.has(o)||(i?og(o,t,r,e):ng(o,r,e));return e._s.get(o)}return"string"==typeof e?(o=e,r=i?n:t):(r=e,o=e.id),s.$id=o,s}(function(){const e=xs(Dh),t=function(){const e=je(!0),t=e.run((()=>nn({})));let n=[],o=[];const r=Kt({install(e){Wh(r),r._a=e,e.provide(Uh,r),e.config.globalProperties.$pinia=r,o.forEach((e=>n.push(e))),o=[]},use(e){return this._a?n.push(e):o.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}();return e.use(t),{app:e}})().app.use(op).mount("#app");export{jp as A,Ap as B,mh as C,Dp as D,vh as E,Ir as F,ti as G,Zc as H,Pd as I,Fd as S,ni as a,ri as b,Kr as c,qd as d,tu as e,Md as f,Io as g,Do as h,Wd as i,Yr as j,Xo as k,ue as l,ii as m,Yp as n,Wr as o,Cn as p,bs as q,nn as r,rh as s,X as t,sn as u,hh as v,Vn as w,rg as x,Rp as y,Pp as z}; diff --git a/frontend/uniapp/unpackage/dist/build/web/assets/index.Dy_7qw-3.js b/frontend/uniapp/unpackage/dist/build/web/assets/index.Dy_7qw-3.js new file mode 100644 index 0000000000000000000000000000000000000000..5b50109f3d83f438e3210fc813c488020cf29321 --- /dev/null +++ b/frontend/uniapp/unpackage/dist/build/web/assets/index.Dy_7qw-3.js @@ -0,0 +1 @@ +import{x as t,r as e,y as a,z as s,A as o,B as r,C as n,D as u,E as l,n as i}from"./index-sqXF7o4f.js";const d=t("User",(()=>{const t=e(a("token")||""),r=e(a("userId")||"");return{userId:r,token:t,setToken:e=>{t.value=e,s("token",e)},setUserId:t=>{r.value=t,s("userId",t)},loginOut:()=>{t.value="",r.value="",o("userId"),o("token")}}})),h={baseUrl:"http://backend:5101/api",appName:"多端应用",version:"1.0.0"};function p(){const t=e(!1),a=d();return{request:async e=>{const s=h.baseUrl;let o=e.url.startsWith("http")?e.url:`${s}${e.url.startsWith("/")?"":"/"}${e.url}`;console.log("完整请求 URL:",o);const d={url:o,timeout:15e4,header:{"Content-Type":"application/json","X-Requested-With":"XMLHttpRequest","X-Client-Platform":r().platform},method:e.method,data:e.data,showLoading:e.showLoading};a.token&&(d.header.Authorization=`Bearer ${a.token}`),d.showLoading&&(t.value=!0,n({title:"加载中...",mask:!0}));try{const e=await u(d);if(401===e.statusCode)throw useAppStore().clearToken(),i({url:"/pages/login/login"}),new Error("登录状态已过期");if(e.statusCode>=400)throw new Error(`请求失败: ${e.data.message}`);return e.data}catch(p){throw p}finally{d.showLoading&&(t.value=!1,l())}},loading:t}}export{p as a,d as u}; diff --git a/frontend/uniapp/unpackage/dist/build/web/assets/login-4pkv1xDd.css b/frontend/uniapp/unpackage/dist/build/web/assets/login-4pkv1xDd.css new file mode 100644 index 0000000000000000000000000000000000000000..a79adb8042298b1012a52fd6767e4b7220fb9917 --- /dev/null +++ b/frontend/uniapp/unpackage/dist/build/web/assets/login-4pkv1xDd.css @@ -0,0 +1 @@ +.login-container[data-v-af0caf10]{display:flex;justify-content:center;align-items:center;height:100vh;background:linear-gradient(135deg,#e6e6fa,#b0e0e6)}.login-card[data-v-af0caf10]{width:90%;max-width:400px;padding:20px;border-radius:20px;color:#fff}.login-header[data-v-af0caf10]{text-align:center;margin-bottom:20px}.logo[data-v-af0caf10]{width:50px;height:50px;margin:0 auto 20px;border-radius:50%;display:flex;align-items:center;justify-content:center}.icon-image[data-v-af0caf10]{width:100%;height:100%}.title[data-v-af0caf10]{font-size:24px;font-weight:700;color:#fff;margin-bottom:5px}.login-form[data-v-af0caf10]{margin-top:20px}.form-item[data-v-af0caf10]{margin-bottom:15px}.label[data-v-af0caf10]{display:block;margin-bottom:5px;font-size:14px;color:#fff}.input[data-v-af0caf10]{width:90%;height:40px;padding:0 10px;border:none;border-bottom:2px solid #fff;background:transparent;color:#fff;font-size:14px;transition:border-bottom-color .3s}.input[data-v-af0caf10]:focus{border-bottom-color:#b0c4fa}.login-btn[data-v-af0caf10]{width:100%;height:40px;background:linear-gradient(135deg,#e6e6fa,#b0c4fa);color:#fff;border:none;border-radius:20px;font-size:16px;cursor:pointer;transition:background .3s}.login-btn[data-v-af0caf10]:hover{background:linear-gradient(135deg,#b0c4fa,#e6e6fa)}.register-link[data-v-af0caf10]{text-align:center;margin-top:10px;font-size:14px;color:#fff}.link[data-v-af0caf10]{color:#fff;text-decoration:none;font-weight:600;transition:color .3s ease}.link[data-v-af0caf10]:hover{color:#b0c4fa}.title[data-v-af0caf10]{font-size:32px;font-weight:700;color:#a020f0;margin-bottom:30px} diff --git a/frontend/uniapp/unpackage/dist/build/web/assets/pages-chat-chat.BP-kLqN-.js b/frontend/uniapp/unpackage/dist/build/web/assets/pages-chat-chat.BP-kLqN-.js new file mode 100644 index 0000000000000000000000000000000000000000..dfd57d3ff3bc4cc393321ef6d134362ac844facd --- /dev/null +++ b/frontend/uniapp/unpackage/dist/build/web/assets/pages-chat-chat.BP-kLqN-.js @@ -0,0 +1 @@ +import{r as a,g as e,s,n as l,h as t,c as n,w as o,i as c,o as i,a as u,b as r,j as d,k as v,F as f,l as m,m as g,p as h,S as y,I as _,e as w,d as C,t as p,q as b,v as k}from"./index-sqXF7o4f.js";import{a as I,u as T}from"./index.Dy_7qw-3.js";import{_ as x}from"./_plugin-vue_export-helper.BCo6x5W8.js";const{request:S}=I();const A=x({__name:"chat",setup(I){const{conversation:x,createChat:A,deleteChat:U,getAllMessage:L,getChat:$}={conversation:async(a,e)=>await S({url:`/AIQuestions/chat/${a}`,method:"POST",data:JSON.stringify(e),showLoading:!0}),createChat:async a=>await S({url:"/AIQuestions/user",method:"POST",data:a,showLoading:!0}),deleteChat:async a=>await S({url:`/AIQuestions/user/${a}`,method:"DELETE",data:null,showLoading:!0}),getAllMessage:async a=>await S({url:`/AIQuestions/user/message/${a}`,method:"GET",data:null,showLoading:!0}),getChat:async a=>await S({url:`/AIQuestions/user/${a}`,method:"GET",data:null,showLoading:!0})},{userId:E,token:Q}=T(),j=a(""),O=a([]),V=a(!1),q=a(""),G=a(""),M=a([]),P=a(null),D=a(!1),F=a(""),J=a(-1),N=async()=>{if(j.value.trim()&&!D.value)try{if(D.value=!0,""===q.value){const a=await A({userId:E,title:j.value});M.value.push({conversationId:a.data.conversationId,title:a.data.title}),q.value=a.data.conversationId}O.value.push({isUser:!0,content:j.value});const a=O.value.length;O.value.push({isUser:!1,content:"",isStreaming:!0}),J.value=a;const e=j.value;j.value="",h((()=>{G.value=`msg-${a}`})),await z(q.value,e,a)}catch(a){s({title:"提示",content:a.message||"发送消息失败",showCancel:!1,confirmText:"确定",confirmColor:"#a020f0"}),-1!==J.value&&(O.value.splice(J.value,1),J.value=-1)}finally{D.value=!1}},z=async(a,e,s)=>{try{const l=(await x(a,e)).message;console.log(l);let t=0;const n=3,o=setInterval((()=>{if(t>=l.length)return clearInterval(o),O.value[s].isStreaming=!1,void(J.value=-1);const a=l.substring(t,t+n);t+=n,O.value[s].content+=a,h((()=>{G.value=`msg-${s}`,F.value="msg-"+(messages.value.length-1)}))}),50)}catch(l){console.error("流式传输错误:",l),O.value[s].content="抱歉,获取回答时出错",O.value[s].isStreaming=!1,J.value=-1}},B=()=>{P.value&&(P.value.close(),P.value=null),O.value=[],q.value="",J.value=-1},H=async()=>{s({title:"提示",content:"文档功能将在后续版本中开放",showCancel:!1,confirmText:"确定",confirmColor:"#a020f0"})},K=()=>{console.log("加载更多消息")},R=()=>{V.value=!V.value};return e((async()=>{E&&Q||(s({title:"提示",content:"用户未登录",showCancel:!1,confirmText:"确定",confirmColor:"#a020f0"}),l({url:"/pages/login/login"}));try{const a=await $(E);M.value=a.data||[]}catch(a){s({title:"提示",content:a.message||"加载会话记录失败",showCancel:!1,confirmText:"确定",confirmColor:"#a020f0"})}})),t((()=>{P.value&&(P.value.close(),P.value=null)})),(a,e)=>{const l=c,t=y,h=_,I=w,T=C;return i(),n(l,{class:"chat-container"},{default:o((()=>[u(l,{class:"nav-bar"},{default:o((()=>[u(l,{class:"nav-left"},{default:o((()=>[u(l,{class:"icon history-icon",onClick:R},{default:o((()=>[r("历史对话")])),_:1})])),_:1}),u(l,{class:"nav-title"},{default:o((()=>[r("AI聊天")])),_:1}),u(l,{class:"nav-right"},{default:o((()=>[u(l,{class:"icon",onClick:B},{default:o((()=>[r("新对话")])),_:1}),u(l,{class:"icon"},{default:o((()=>[r("头像")])),_:1})])),_:1})])),_:1}),u(l,{class:m(["sidebar",{"sidebar-show":V.value}])},{default:o((()=>[u(l,{class:"sidebar-header"},{default:o((()=>[r("历史对话记录")])),_:1}),u(t,{class:"sidebar-content","scroll-y":"true","scroll-into-view":G.value},{default:o((()=>[(i(!0),d(f,null,v(M.value,((a,e)=>(i(),n(l,{key:e,class:"history-item"},{default:o((()=>[u(l,{class:"history-title",onClick:e=>(async a=>{k({title:"正在加载对话...",icon:"loading"}),V.value=!1,O.value=[],q.value=a;try{var e=await L(a);for(var l of(console.log(e.data),e.data))console.log(l),console.log({isUser:!0,content:l.content}),"user"==l.role?O.value.push({isUser:!0,content:l.content}):O.value.push({isUser:!1,content:l.content})}catch(t){s({title:"提示",content:t.message||"加载消息记录失败",showCancel:!1,confirmText:"确定",confirmColor:"#a020f0"})}})(a.conversationId)},{default:o((()=>[r(p(a.title),1)])),_:2},1032,["onClick"]),u(l,{class:"delete-btn",onClick:b((l=>(async(a,e)=>{s({title:"确认删除",content:"确定要删除这条历史记录吗?",success:async l=>{if(l.confirm)try{await U(e),M.value.splice(a,1),O.value=[],k({title:"删除成功",icon:"success"})}catch(t){s({title:"提示",content:t.message||"删除失败",showCancel:!1,confirmText:"确定",confirmColor:"#a020f0"})}}})})(e,a.conversationId)),["stop"])},{default:o((()=>[r("删除")])),_:2},1032,["onClick"])])),_:2},1024)))),128))])),_:1},8,["scroll-into-view"])])),_:1},8,["class"]),V.value?(i(),n(l,{key:0,class:"sidebar-mask",onClick:R})):g("",!0),u(t,{class:"chat-content","scroll-y":"true",onScrolltolower:K,"scroll-into-view":F.value},{default:o((()=>[(i(!0),d(f,null,v(O.value,((a,e)=>(i(),n(l,{key:e,class:"message",id:"msg-"+e},{default:o((()=>[a.isUser?(i(),n(l,{key:0,class:"user-message"},{default:o((()=>[u(l,{class:"message-bubble"},{default:o((()=>[r(p(a.content),1)])),_:2},1024)])),_:2},1024)):(i(),n(l,{key:1,class:"ai-message"},{default:o((()=>[u(l,{class:"message-bubble"},{default:o((()=>[r(p(a.content)+" ",1),a.isStreaming?(i(),n(l,{key:0,class:"typing-cursor"})):g("",!0)])),_:2},1024),a.isStreaming?(i(),n(l,{key:0,class:"stream-loading"},{default:o((()=>[u(l,{class:"dot"}),u(l,{class:"dot"}),u(l,{class:"dot"})])),_:1})):g("",!0)])),_:2},1024))])),_:2},1032,["id"])))),128))])),_:1},8,["scroll-into-view"]),u(l,{class:"input-container"},{default:o((()=>[u(h,{modelValue:j.value,"onUpdate:modelValue":e[0]||(e[0]=a=>j.value=a),class:"input",placeholder:"请输入消息...",onConfirm:N,disabled:D.value},null,8,["modelValue","disabled"]),u(I,{class:"document-button",onClick:H,disabled:D.value},{default:o((()=>[r(" 文档 ")])),_:1},8,["disabled"]),u(I,{class:"send-button",onClick:N,disabled:D.value||!j.value.trim()},{default:o((()=>[D.value?(i(),n(l,{key:0,class:"loading-spinner"})):(i(),n(T,{key:1},{default:o((()=>[r("发送")])),_:1}))])),_:1},8,["disabled"])])),_:1})])),_:1})}}},[["__scopeId","data-v-58b9921f"]]);export{A as default}; diff --git a/frontend/uniapp/unpackage/dist/build/web/assets/pages-document-document.ltioNAyh.js b/frontend/uniapp/unpackage/dist/build/web/assets/pages-document-document.ltioNAyh.js new file mode 100644 index 0000000000000000000000000000000000000000..a444a527fcae94e9efb745457be1884efbbd74da --- /dev/null +++ b/frontend/uniapp/unpackage/dist/build/web/assets/pages-document-document.ltioNAyh.js @@ -0,0 +1 @@ +import{r as e,c as l,w as a,i as s,o as t,a as u,b as o,G as d,v as c,d as n,H as r,I as f,e as i}from"./index-sqXF7o4f.js";import{_ as p}from"./_plugin-vue_export-helper.BCo6x5W8.js";const m=p({__name:"document",setup(p){const m=e(""),_=e(""),b=e(null),v=()=>{b.value?c({title:"上传成功",icon:"success"}):c({title:"请选择文件",icon:"none"})};return(e,c)=>{const p=n,b=s,P=r,T=f,V=i;return t(),l(b,{class:"container"},{default:a((()=>[u(b,{class:"upload-section"},{default:a((()=>[u(p,{class:"title"},{default:a((()=>[o("文档上传")])),_:1}),u(p,{class:"subtitle"},{default:a((()=>[o("上传你的文档以便进行智能问答")])),_:1})])),_:1}),u(b,{class:"form-section"},{default:a((()=>[u(b,{class:"form-group"},{default:a((()=>[u(P,{for:"documentTitle",class:"label"},{default:a((()=>[o("文档标题:")])),_:1}),u(T,{id:"documentTitle",class:"input",type:"text",placeholder:"请输入文档标题",modelValue:m.value,"onUpdate:modelValue":c[0]||(c[0]=e=>m.value=e)},null,8,["modelValue"])])),_:1}),u(b,{class:"form-group"},{default:a((()=>[u(P,{for:"documentSource",class:"label"},{default:a((()=>[o("文档来源(可选):")])),_:1}),u(T,{id:"documentSource",class:"input",type:"text",placeholder:"请输入文档来源",modelValue:_.value,"onUpdate:modelValue":c[1]||(c[1]=e=>_.value=e)},null,8,["modelValue"])])),_:1}),u(b,{class:"form-group"},{default:a((()=>[u(P,{for:"fileUpload",class:"label"},{default:a((()=>[o("选择文件:")])),_:1}),u(V,{id:"fileUpload",class:"upload-button"},{default:a((()=>[o(" 点击选择文件或拖拽到此处"),d("br"),o("支持格式:TXT, MD, PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, PNG, JPG/JPEG ")])),_:1})])),_:1}),u(V,{onClick:v,class:"submit-button"},{default:a((()=>[o("上传文档")])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-f7efa062"]]);export{m as default}; diff --git a/frontend/uniapp/unpackage/dist/build/web/assets/pages-login-login.o4lhlahd.js b/frontend/uniapp/unpackage/dist/build/web/assets/pages-login-login.o4lhlahd.js new file mode 100644 index 0000000000000000000000000000000000000000..088c4c4552652e4538601a970736531f9c6b5a6b --- /dev/null +++ b/frontend/uniapp/unpackage/dist/build/web/assets/pages-login-login.o4lhlahd.js @@ -0,0 +1 @@ +import{r as a,c as s,w as l,i as e,o,a as t,b as c,u as n,n as r,s as u,d,I as i,e as f,f as p}from"./index-sqXF7o4f.js";import{u as m}from"./auth.nGklPE8B.js";import{u as _}from"./index.Dy_7qw-3.js";import{_ as g}from"./_plugin-vue_export-helper.BCo6x5W8.js";const h=g({__name:"login",setup(g){const{login:h}=m(),{setToken:w,setUserId:V}=_();a(!1);var k=a({account:"",password:""});const v=async()=>{var a;try{a=await h(k.value),V(a.data.userId),w(a.data.token),r({url:"/pages/chat/chat"}),console.log("登录")}catch(s){u({title:"提示",content:s,showCancel:!1,confirmText:"确定",confirmColor:"#a020f0"}),console.log("错误:",s)}};return(a,r)=>{const u=d,m=e,_=i,g=f,h=p;return o(),s(m,{class:"login-container"},{default:l((()=>[t(m,{class:"login-card"},{default:l((()=>[t(m,{class:"login-header"},{default:l((()=>[t(m,{class:"logo"},{default:l((()=>[t(u,{class:"title"},{default:l((()=>[c("Login")])),_:1})])),_:1})])),_:1}),t(m,{class:"login-form"},{default:l((()=>[t(m,{class:"form-item"},{default:l((()=>[t(u,{class:"label"},{default:l((()=>[c("用户名")])),_:1}),t(_,{class:"input",placeholder:"请输入用户名",modelValue:n(k).account,"onUpdate:modelValue":r[0]||(r[0]=a=>n(k).account=a)},null,8,["modelValue"])])),_:1}),t(m,{class:"form-item"},{default:l((()=>[t(u,{class:"label"},{default:l((()=>[c("密码")])),_:1}),t(_,{class:"input",type:"password",placeholder:"请输入密码",modelValue:n(k).password,"onUpdate:modelValue":r[1]||(r[1]=a=>n(k).password=a)},null,8,["modelValue"])])),_:1}),t(g,{class:"login-btn",onClick:v},{default:l((()=>[c("登录")])),_:1}),t(m,{class:"register-link"},{default:l((()=>[t(h,{url:"/pages/register/register",class:"link"},{default:l((()=>[c("立即注册")])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-af0caf10"]]);export{h as default}; diff --git a/frontend/uniapp/unpackage/dist/build/web/assets/pages-register-register.DF-D4BU_.js b/frontend/uniapp/unpackage/dist/build/web/assets/pages-register-register.DF-D4BU_.js new file mode 100644 index 0000000000000000000000000000000000000000..3920110924811114b3811fa1f72b0e3e309270e9 --- /dev/null +++ b/frontend/uniapp/unpackage/dist/build/web/assets/pages-register-register.DF-D4BU_.js @@ -0,0 +1 @@ +import{r as e,c as l,w as a,i as s,o as t,a as o,b as u,s as r,n as c,d,I as n,e as i,f as m}from"./index-sqXF7o4f.js";import{u as f}from"./auth.nGklPE8B.js";import{_ as p}from"./_plugin-vue_export-helper.BCo6x5W8.js";import"./index.Dy_7qw-3.js";const _=p({__name:"register",setup(p){const{register:_}=f();e(""),e(""),e(""),e("");const g=e({account:"",password:"",email:""}),v=e(""),V=async()=>{if(g.value.password==v.value)try{await _(g.value);c({url:"/pages/login/login"})}catch(e){r({title:"提示",content:e,showCancel:!1,confirmText:"确定",confirmColor:"#a020f0"})}else r({title:"提示",content:"两次输入的密码不一致,请重新输入",showCancel:!1,confirmText:"确定",confirmColor:"#a020f0"})};return(e,r)=>{const c=d,f=s,p=n,_=i,h=m;return t(),l(f,{class:"register-container"},{default:a((()=>[o(f,{class:"register-card"},{default:a((()=>[o(f,{class:"register-header"},{default:a((()=>[o(c,{class:"title"},{default:a((()=>[u("Register")])),_:1})])),_:1}),o(f,{class:"register-form"},{default:a((()=>[o(f,{class:"form-item"},{default:a((()=>[o(c,{class:"label"},{default:a((()=>[u("用户名")])),_:1}),o(p,{class:"input",placeholder:"请输入用户名",modelValue:g.value.account,"onUpdate:modelValue":r[0]||(r[0]=e=>g.value.account=e)},null,8,["modelValue"])])),_:1}),o(f,{class:"form-item"},{default:a((()=>[o(c,{class:"label"},{default:a((()=>[u("邮箱")])),_:1}),o(p,{class:"input",placeholder:"请输入邮箱",modelValue:g.value.email,"onUpdate:modelValue":r[1]||(r[1]=e=>g.value.email=e)},null,8,["modelValue"])])),_:1}),o(f,{class:"form-item"},{default:a((()=>[o(c,{class:"label"},{default:a((()=>[u("密码")])),_:1}),o(p,{class:"input",type:"password",placeholder:"请输入密码",modelValue:g.value.password,"onUpdate:modelValue":r[2]||(r[2]=e=>g.value.password=e)},null,8,["modelValue"])])),_:1}),o(f,{class:"form-item"},{default:a((()=>[o(c,{class:"label"},{default:a((()=>[u("确认密码")])),_:1}),o(p,{class:"input",type:"password",placeholder:"再次输入密码",modelValue:v.value,"onUpdate:modelValue":r[3]||(r[3]=e=>v.value=e)},null,8,["modelValue"])])),_:1}),o(_,{class:"register-button",onClick:V},{default:a((()=>[u("注册")])),_:1}),o(f,{class:"login-link"},{default:a((()=>[o(h,{url:"/pages/login/login",class:"link"},{default:a((()=>[u("返回登录")])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-cebb89cf"]]);export{_ as default}; diff --git a/frontend/uniapp/unpackage/dist/build/web/assets/register-Cy_aIejL.css b/frontend/uniapp/unpackage/dist/build/web/assets/register-Cy_aIejL.css new file mode 100644 index 0000000000000000000000000000000000000000..ff852fafae2702d5d9fad6bc0d4ddd68c7586142 --- /dev/null +++ b/frontend/uniapp/unpackage/dist/build/web/assets/register-Cy_aIejL.css @@ -0,0 +1 @@ +.register-container[data-v-cebb89cf]{display:flex;justify-content:center;align-items:center;height:100vh;background:linear-gradient(135deg,#e6e6fa,#b0e0e6)}.register-card[data-v-cebb89cf]{width:300px;padding:40px;border-radius:20px;color:#a020f0}.register-header[data-v-cebb89cf]{text-align:center;margin-bottom:20px}.title[data-v-cebb89cf]{font-size:32px;font-weight:700;color:#a020f0;margin-bottom:30px}.register-form[data-v-cebb89cf]{margin-top:20px}.form-item[data-v-cebb89cf]{margin-bottom:15px}.label[data-v-cebb89cf]{display:block;margin-bottom:5px;font-size:14px;color:#a020f0}.input[data-v-cebb89cf]{width:100%;height:40px;padding:0 10px;border:none;border-bottom:2px solid #a020f0;background:transparent;color:#a020f0;font-size:14px;transition:border-bottom-color .3s}.input[data-v-cebb89cf]:focus{border-bottom-color:#b0c4fa}.register-button[data-v-cebb89cf]{width:100%;height:40px;background:linear-gradient(135deg,#e6e6fa,#b0c4fa);color:#a020f0;border:none;border-radius:20px;font-size:16px;cursor:pointer;transition:background .3s}.register-button[data-v-cebb89cf]:hover{background:linear-gradient(135deg,#b0c4fa,#e6e6fa)}.login-link[data-v-cebb89cf]{text-align:center;margin-top:10px;font-size:14px;color:#a020f0}.link[data-v-cebb89cf]{color:#a020f0;text-decoration:none;font-weight:600;transition:color .3s ease}.link[data-v-cebb89cf]:hover{color:#b0c4fa} diff --git a/frontend/uniapp/unpackage/dist/build/web/assets/uni.162efdd7.css b/frontend/uniapp/unpackage/dist/build/web/assets/uni.162efdd7.css new file mode 100644 index 0000000000000000000000000000000000000000..545b7e4b3878f133f46f32b76333872a210c1ae9 --- /dev/null +++ b/frontend/uniapp/unpackage/dist/build/web/assets/uni.162efdd7.css @@ -0,0 +1 @@ +uni-button{position:relative;display:block;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;box-sizing:border-box;font-size:18px;text-align:center;text-decoration:none;line-height:2.55555556;border-radius:5px;-webkit-tap-highlight-color:transparent;overflow:hidden;color:#000;background-color:#f8f8f8;cursor:pointer}uni-button[hidden]{display:none!important}uni-button:after{content:" ";width:200%;height:200%;position:absolute;top:0;left:0;border:1px solid rgba(0,0,0,.2);transform:scale(.5);transform-origin:0 0;box-sizing:border-box;border-radius:10px}uni-button[native]{padding-left:0;padding-right:0}uni-button[native] .uni-button-cover-view-wrapper{border:inherit;border-color:inherit;border-radius:inherit;background-color:inherit}uni-button[native] .uni-button-cover-view-inner{padding-left:14px;padding-right:14px}uni-button uni-cover-view{line-height:inherit;white-space:inherit}uni-button[type=default]{color:#000;background-color:#f8f8f8}uni-button[type=primary]{color:#fff;background-color:#007aff}uni-button[type=warn]{color:#fff;background-color:#e64340}uni-button[disabled]{color:rgba(255,255,255,.6);cursor:not-allowed}uni-button[disabled][type=default],uni-button[disabled]:not([type]){color:rgba(0,0,0,.3);background-color:#f7f7f7}uni-button[disabled][type=primary]{background-color:rgba(0,122,255,.6)}uni-button[disabled][type=warn]{background-color:#ec8b89}uni-button[type=primary][plain]{color:#007aff;border:1px solid #007aff;background-color:transparent}uni-button[type=primary][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=primary][plain]:after{border-width:0}uni-button[type=default][plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[type=default][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=default][plain]:after{border-width:0}uni-button[plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[plain]:after{border-width:0}uni-button[plain][native] .uni-button-cover-view-inner{padding:0}uni-button[type=warn][plain]{color:#e64340;border:1px solid #e64340;background-color:transparent}uni-button[type=warn][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=warn][plain]:after{border-width:0}uni-button[size=mini]{display:inline-block;line-height:2.3;font-size:13px;padding:0 1.34em}uni-button[size=mini][native]{padding:0}uni-button[size=mini][native] .uni-button-cover-view-inner{padding:0 1.34em}uni-button[loading]:not([disabled]){cursor:progress}uni-button[loading]:before{content:" ";display:inline-block;width:18px;height:18px;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}uni-button[loading][type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}uni-button[loading][type=primary][plain]{color:#007aff;background-color:transparent}uni-button[loading][type=default]{color:rgba(0,0,0,.6);background-color:#dedede}uni-button[loading][type=default][plain]{color:#353535;background-color:transparent}uni-button[loading][type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}uni-button[loading][type=warn][plain]{color:#e64340;background-color:transparent}uni-button[loading][native]:before{content:none}.button-hover{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}.button-hover[type=primary][plain]{color:rgba(0,122,255,.6);border-color:rgba(0,122,255,.6);background-color:transparent}.button-hover[type=default]{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[type=default][plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}.button-hover[type=warn][plain]{color:rgba(230,67,64,.6);border-color:rgba(230,67,64,.6);background-color:transparent}uni-input{display:block;font-size:16px;line-height:1.4em;height:1.4em;min-height:1.4em;overflow:hidden}uni-input[hidden]{display:none}.uni-input-wrapper,.uni-input-placeholder,.uni-input-form,.uni-input-input{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-input-wrapper,.uni-input-form{display:flex;position:relative;width:100%;height:100%;flex-direction:column;justify-content:center}.uni-input-placeholder,.uni-input-input{width:100%}.uni-input-placeholder{position:absolute;top:auto!important;left:0;color:gray;overflow:hidden;text-overflow:clip;white-space:pre;word-break:keep-all;pointer-events:none;line-height:inherit}.uni-input-input{position:relative;display:block;height:100%;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-input-input[type=search]::-webkit-search-cancel-button,.uni-input-input[type=search]::-webkit-search-decoration{display:none}.uni-input-input::-webkit-outer-spin-button,.uni-input-input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}.uni-input-input[type=number]{-moz-appearance:textfield}.uni-input-input:disabled{-webkit-text-fill-color:currentcolor}.uni-label-pointer{cursor:pointer}uni-navigator{height:auto;width:auto;display:block;cursor:pointer}uni-navigator[hidden]{display:none}.navigator-hover{background-color:rgba(0,0,0,.1);opacity:.7}.navigator-wrap,.navigator-wrap:link,.navigator-wrap:visited,.navigator-wrap:hover,.navigator-wrap:active{text-decoration:none;color:inherit;cursor:pointer}.uni-scroll-view-refresher{position:relative;overflow:hidden;flex-shrink:0}.uni-scroll-view-refresher-container{position:absolute;width:100%;bottom:0;display:flex;flex-direction:column-reverse}.uni-scroll-view-refresh{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:row;justify-content:center;align-items:center}.uni-scroll-view-refresh-inner{display:flex;align-items:center;justify-content:center;line-height:0;width:40px;height:40px;border-radius:50%;background-color:#fff;box-shadow:0 1px 6px rgba(0,0,0,.118),0 1px 4px rgba(0,0,0,.118)}.uni-scroll-view-refresh__spinner{transform-origin:center center;animation:uni-scroll-view-refresh-rotate 2s linear infinite}.uni-scroll-view-refresh__spinner>circle{stroke:currentColor;stroke-linecap:round;animation:uni-scroll-view-refresh-dash 2s linear infinite}@keyframes uni-scroll-view-refresh-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes uni-scroll-view-refresh-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}uni-scroll-view{display:block;width:100%}uni-scroll-view[hidden]{display:none}.uni-scroll-view{position:relative;-webkit-overflow-scrolling:touch;width:100%;height:100%;max-height:inherit}.uni-scroll-view-scrollbar-hidden::-webkit-scrollbar{display:none}.uni-scroll-view-scrollbar-hidden{-moz-scrollbars:none;scrollbar-width:none}.uni-scroll-view-content{width:100%;height:100%}uni-text[selectable]{cursor:auto;-webkit-user-select:text;user-select:text}uni-text{white-space:pre-line}uni-view{display:block}uni-view[hidden]{display:none}uni-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999;display:block;box-sizing:border-box}.uni-modal{position:fixed;z-index:999;width:80%;max-width:300px;top:50%;left:50%;transform:translate(-50%,-50%);background-color:#fff;text-align:center;border-radius:3px;overflow:hidden}.uni-modal *{box-sizing:border-box}.uni-modal__hd{padding:1em 1.6em .3em}.uni-modal__title{font-weight:400;font-size:18px;word-wrap:break-word;word-break:break-all;white-space:pre-wrap;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.uni-modal__bd{padding:1.3em 1.6em;min-height:40px;font-size:15px;line-height:1.4;word-wrap:break-word;word-break:break-all;white-space:pre-wrap;color:#999;max-height:400px;overflow-x:hidden;overflow-y:auto}.uni-modal__textarea{resize:none;border:0;margin:0;width:90%;padding:10px;font-size:20px;outline:none;border:none;background-color:#eee;text-decoration:inherit}.uni-modal__ft{position:relative;line-height:48px;font-size:18px;display:flex}.uni-modal__ft:after{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1px solid #d5d5d6;color:#d5d5d6;transform-origin:0 0;transform:scaleY(.5)}.uni-modal__btn{display:block;flex:1;color:#3cc51f;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative;cursor:pointer}.uni-modal__btn:active{background-color:#eee}.uni-modal__btn:after{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1px solid #d5d5d6;color:#d5d5d6;transform-origin:0 0;transform:scaleX(.5)}.uni-modal__btn:first-child:after{display:none}.uni-modal__btn_default{color:#353535}.uni-modal__btn_primary{color:#007aff}uni-toast{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999;display:block;box-sizing:border-box;pointer-events:none;font-size:16px}.uni-sample-toast{position:fixed;z-index:999;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;max-width:80%}.uni-simple-toast__text{display:inline-block;vertical-align:middle;color:#fff;background-color:rgba(17,17,17,.7);padding:10px 20px;border-radius:5px;font-size:13px;text-align:center;max-width:100%;word-break:break-word;white-space:normal}uni-toast .uni-mask{pointer-events:auto}.uni-toast{position:fixed;z-index:999;width:8em;top:50%;left:50%;transform:translate(-50%,-50%);background:rgba(17,17,17,.7);text-align:center;border-radius:5px;color:#fff}.uni-toast *{box-sizing:border-box}.uni-toast__icon{margin:20px 0 0;width:38px!important;height:38px!important;vertical-align:baseline!important}.uni-icon_toast{margin:15px 0 0}.uni-icon_toast.uni-icon-success-no-circle:before{color:#fff;font-size:55px}.uni-icon_toast.uni-loading{margin:20px 0 0;width:38px;height:38px;vertical-align:baseline}.uni-toast__content{margin:0 0 15px} diff --git a/frontend/uniapp/unpackage/dist/build/web/index.html b/frontend/uniapp/unpackage/dist/build/web/index.html new file mode 100644 index 0000000000000000000000000000000000000000..f4fbcd304651ce0f6df31d9bb5c87e457a8ffaaf --- /dev/null +++ b/frontend/uniapp/unpackage/dist/build/web/index.html @@ -0,0 +1,23 @@ + + + + + + + + uniapp-ai + + + + + + +
+ + diff --git a/frontend/uniapp/unpackage/dist/build/web/static/logo.png b/frontend/uniapp/unpackage/dist/build/web/static/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..b5771e209bb677e2ebd5ff766ad5ee11790f305a Binary files /dev/null and b/frontend/uniapp/unpackage/dist/build/web/static/logo.png differ diff --git a/frontend/uniapp/unpackage/dist/cache/.vite/deps/_metadata.json b/frontend/uniapp/unpackage/dist/cache/.vite/deps/_metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..0e38ab7b1916b961b2387543706999c0e611cf93 --- /dev/null +++ b/frontend/uniapp/unpackage/dist/cache/.vite/deps/_metadata.json @@ -0,0 +1,8 @@ +{ + "hash": "d0e2d8dd", + "configHash": "b1e4de1d", + "lockfileHash": "e3b0c442", + "browserHash": "363426ec", + "optimized": {}, + "chunks": {} +} \ No newline at end of file diff --git a/frontend/uniapp/unpackage/dist/cache/.vite/deps/package.json b/frontend/uniapp/unpackage/dist/cache/.vite/deps/package.json new file mode 100644 index 0000000000000000000000000000000000000000..3dbc1ca591c0557e35b6004aeba250e6a70b56e3 --- /dev/null +++ b/frontend/uniapp/unpackage/dist/cache/.vite/deps/package.json @@ -0,0 +1,3 @@ +{ + "type": "module" +}