mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
* fix: remove queue element only in non-bing mode * 使用chatgpt-api自带的超时逻辑,文字过多时启动切换到图片输出防止被吞 * Update chat.js * 添加Bing专用的图片输出样式 * 添加chatgpt的新图片模式,临时处理切换api导致的对话异常 * 修改bing样式表 * 为图片添加外部页面缓存 * 为图片模式添加MathJax * feat: add switch for qrcode * 防止script攻击 * 修复网页模板错误 * 修复bing页面引用错误 * 缓存服务器异常时处理 * 添加默认配置加载 * 修复配置文件路径错误 * 删除重复的模板文件,修复二维码地址错误 * 修正图片渲染错误 * 修复引用渲染错误 * 二维码网址统一改为使用本地配置 * 添加关闭思考提示的配置项 * 修复在Windows上无法载入配置文件的问题 * 修复关闭qr的情况下渲染错误 * 改为使用base64传递返回数据 * 当异常过多时使用图片输出 * 添加锅巴面板配置支持 * 补充遗漏的默认配置 * 修复qr模式下引用未被传递的问题 * 修复未将引用数据传输给缓存服务器的问题 * 删除无用的bingTimeoutMs配置项 * 添加消息队列超时弹出 * 优化图片模式处理,解决对话队列卡住的问题 * 添加对图片ocr的支持 * 添加图片识别配置项 * 添加黑名单配置项 * 修复一些bug * 修改锅巴配置格式和描述 * 传入数据也使用markdown * 图片识别换行改为marked兼容 * 添加绘图CD配置项 * 独立render模块,添加图片回复引用 * 添加必应风格 * 修复上下文,修改bing样式 * 修复上下文 * 添加Sydney上下文支持 * 调整不同模式下的bing渲染颜色 * 修复样式 * 修复无法结束会话的问题 * fix: 更新版本号 * 修复无法结束对话的问题 * 向缓存服务器传送样式 * 为网址格式的配置添加验证 * 去除重复的Keyv删除,取消锅巴配置格式检查 * 闭合中断的代码块 * 试添加Sydney图片模式的情感显示 * 修复at不兼容 * 处理意外的markdown包裹和结构解析修复 * 修复markdown处理的顺序错误 * 兼容json换行 * 重写completeJSON和使用 * 修复换行格式异常 * 均衡BingToken使用 * 修复删除token的数组处理错误 * 修改token文字描述 * 创建本地缓存服务 * 修复首次使用无法添加bingtoken的问题 * 修复意外的删除格式问题,添加查看token功能 * 修复路由错误,暂时固定ip测试 * 恢复引用功能 * 更新渲染页面 * 更换缓存目录 * 清除调试用消息 * 调整屏幕分辨率 * 使用服务器生成的访问地址 * 改为使用api获取公网ip * 修复引用显示 * 添加依赖需求 * 更新渲染页面和渲染api * 修复渲染页面错误 * 修复建议字符串切割,添加帮助路由 * 添加内容中图片数据获取功能 * 试修复suggestbug * 修复图片导致服务器卡死的问题 * 暂时禁用图片 * 尝试恢复图片 * 添加链接图片识别 * 替换掉request * 修复可能的responseUrls空值 * 优化格式 * 更新渲染页面 * 尝试新的引用索引 * 取消渲染时旧的策略 * 更新帮助页面 * 修复帮助路由 * 修复渲染页面错误 * 修复错误的正则 * 修改系统api服务 * 添加配置项 * 将新渲染方式加入配置并还原原渲染方式,进行并存 * 暂时取消端口设置功能 * 重新开启端口设置 * 修复旧渲染引用 * 更新帮助样式 * 更新帮助,增强功能 * 有cacheHost的情况下不再附带端口号 * 添加渲染图片的宽度设置 * 添加渲染页面宽度调整,修bug * 修复二维码不显示 * 添加第三方渲染支持 * 修复一些渲染页面问题 * 更新渲染页面 * 修正错误的变量调用 * 添加新渲染模式bot命名 * 修复空消息问题 * 撤销之前的修复,使用新方法修复 * 修复返回空页面问题 * 尝试不依赖网络获取外网地址 * 修bug,初步创建管理系统 * 依赖名写错了 * 修复错误的异步 * 修正错误的配置调用 * 放弃本机设置的获取方案,对服务器获取多半失效 * 添加配置页面接口 * 更新渲染页面 * 添加依赖 * 修复bug * 移除windows性能显示,更换依赖 * 添加依赖 * 修复图片异常时不反回文字而是直接报错的问题 * 修改必应token记录和均衡方法,更新渲染页面 * 修复错误 * 修复bug,更新渲染页面 * 更新渲染 * 修复ip错误 * 完善配置页面 * 渲染页面错误修复 * 更新版本号 * 只获取一次有效ip * 修复渲染页面bug * 删除旧依赖 * 优化用户系统 * 修复登录数据错误 * 修复用户密码创建失败问题 * 限制密码私聊发送 * 修复数据获取异常bug * 修复用户数据获取错误 * 修复渲染页面错误 * 用户清除缓存支持 * 添加用户配置功能 * 修复错误 * 修复用户缓存读取错误 * 修改服务的错误提示方式 * 配置管理员路由引导 * 修复管理员和用户路由错误 * 修复错误的文件删除函数 * 更新渲染页面 * 暂时还原数据获取方法 * 修复未注册账号无法生成图片的问题 --------- Co-authored-by: ikechan8370 <geyinchibuaa@gmail.com> Co-authored-by: Err0rCM <68117733+Err0rCM@users.noreply.github.com>
21 lines
No EOL
117 KiB
JavaScript
21 lines
No EOL
117 KiB
JavaScript
/*!
|
||
|
||
=========================================================
|
||
* Vue Notus - v1.1.0 based on Tailwind Starter Kit by Creative Tim
|
||
=========================================================
|
||
|
||
* Product Page: https://www.creative-tim.com/product/vue-notus
|
||
* Copyright 2021 Creative Tim (https://www.creative-tim.com)
|
||
* Licensed under MIT (https://github.com/creativetimofficial/vue-notus/blob/main/LICENSE.md)
|
||
|
||
* Tailwind Starter Kit Page: https://www.creative-tim.com/learning-lab/tailwind-starter-kit/presentation
|
||
|
||
* Coded by Creative Tim
|
||
|
||
=========================================================
|
||
|
||
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||
|
||
*/
|
||
(function(){var e={46700:function(e,t,a){var o={"./af":42786,"./af.js":42786,"./ar":30867,"./ar-dz":14130,"./ar-dz.js":14130,"./ar-kw":96135,"./ar-kw.js":96135,"./ar-ly":56440,"./ar-ly.js":56440,"./ar-ma":47702,"./ar-ma.js":47702,"./ar-sa":16040,"./ar-sa.js":16040,"./ar-tn":37100,"./ar-tn.js":37100,"./ar.js":30867,"./az":31083,"./az.js":31083,"./be":9808,"./be.js":9808,"./bg":68338,"./bg.js":68338,"./bm":67438,"./bm.js":67438,"./bn":8905,"./bn-bd":76225,"./bn-bd.js":76225,"./bn.js":8905,"./bo":11560,"./bo.js":11560,"./br":1278,"./br.js":1278,"./bs":80622,"./bs.js":80622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":50877,"./cv.js":50877,"./cy":47373,"./cy.js":47373,"./da":24780,"./da.js":24780,"./de":59740,"./de-at":60217,"./de-at.js":60217,"./de-ch":60894,"./de-ch.js":60894,"./de.js":59740,"./dv":5300,"./dv.js":5300,"./el":50837,"./el.js":50837,"./en-au":78348,"./en-au.js":78348,"./en-ca":77925,"./en-ca.js":77925,"./en-gb":22243,"./en-gb.js":22243,"./en-ie":46436,"./en-ie.js":46436,"./en-il":47207,"./en-il.js":47207,"./en-in":44175,"./en-in.js":44175,"./en-nz":76319,"./en-nz.js":76319,"./en-sg":31662,"./en-sg.js":31662,"./eo":92915,"./eo.js":92915,"./es":55655,"./es-do":55251,"./es-do.js":55251,"./es-mx":96112,"./es-mx.js":96112,"./es-us":71146,"./es-us.js":71146,"./es.js":55655,"./et":5603,"./et.js":5603,"./eu":77763,"./eu.js":77763,"./fa":76959,"./fa.js":76959,"./fi":11897,"./fi.js":11897,"./fil":42549,"./fil.js":42549,"./fo":94694,"./fo.js":94694,"./fr":94470,"./fr-ca":63049,"./fr-ca.js":63049,"./fr-ch":52330,"./fr-ch.js":52330,"./fr.js":94470,"./fy":5044,"./fy.js":5044,"./ga":29295,"./ga.js":29295,"./gd":2101,"./gd.js":2101,"./gl":38794,"./gl.js":38794,"./gom-deva":27884,"./gom-deva.js":27884,"./gom-latn":23168,"./gom-latn.js":23168,"./gu":95349,"./gu.js":95349,"./he":24206,"./he.js":24206,"./hi":30094,"./hi.js":30094,"./hr":30316,"./hr.js":30316,"./hu":22138,"./hu.js":22138,"./hy-am":11423,"./hy-am.js":11423,"./id":29218,"./id.js":29218,"./is":90135,"./is.js":90135,"./it":90626,"./it-ch":10150,"./it-ch.js":10150,"./it.js":90626,"./ja":39183,"./ja.js":39183,"./jv":24286,"./jv.js":24286,"./ka":12105,"./ka.js":12105,"./kk":47772,"./kk.js":47772,"./km":18758,"./km.js":18758,"./kn":79282,"./kn.js":79282,"./ko":33730,"./ko.js":33730,"./ku":1408,"./ku.js":1408,"./ky":33291,"./ky.js":33291,"./lb":36841,"./lb.js":36841,"./lo":55466,"./lo.js":55466,"./lt":57010,"./lt.js":57010,"./lv":37595,"./lv.js":37595,"./me":39861,"./me.js":39861,"./mi":35493,"./mi.js":35493,"./mk":95966,"./mk.js":95966,"./ml":87508,"./ml.js":87508,"./mn":5115,"./mn.js":5115,"./mr":10370,"./mr.js":10370,"./ms":9847,"./ms-my":41237,"./ms-my.js":41237,"./ms.js":9847,"./mt":72126,"./mt.js":72126,"./my":56165,"./my.js":56165,"./nb":64924,"./nb.js":64924,"./ne":16744,"./ne.js":16744,"./nl":93901,"./nl-be":59814,"./nl-be.js":59814,"./nl.js":93901,"./nn":83877,"./nn.js":83877,"./oc-lnc":92135,"./oc-lnc.js":92135,"./pa-in":15858,"./pa-in.js":15858,"./pl":64495,"./pl.js":64495,"./pt":89520,"./pt-br":57971,"./pt-br.js":57971,"./pt.js":89520,"./ro":96459,"./ro.js":96459,"./ru":21793,"./ru.js":21793,"./sd":40950,"./sd.js":40950,"./se":10490,"./se.js":10490,"./si":90124,"./si.js":90124,"./sk":64249,"./sk.js":64249,"./sl":14985,"./sl.js":14985,"./sq":51104,"./sq.js":51104,"./sr":49131,"./sr-cyrl":79915,"./sr-cyrl.js":79915,"./sr.js":49131,"./ss":85893,"./ss.js":85893,"./sv":98760,"./sv.js":98760,"./sw":91172,"./sw.js":91172,"./ta":27333,"./ta.js":27333,"./te":23110,"./te.js":23110,"./tet":52095,"./tet.js":52095,"./tg":27321,"./tg.js":27321,"./th":9041,"./th.js":9041,"./tk":19005,"./tk.js":19005,"./tl-ph":75768,"./tl-ph.js":75768,"./tlh":89444,"./tlh.js":89444,"./tr":72397,"./tr.js":72397,"./tzl":28254,"./tzl.js":28254,"./tzm":51106,"./tzm-latn":30699,"./tzm-latn.js":30699,"./tzm.js":51106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":67691,"./uk.js":67691,"./ur":13795,"./ur.js":13795,"./uz":6791,"./uz-latn":60588,"./uz-latn.js":60588,"./uz.js":6791,"./vi":65666,"./vi.js":65666,"./x-pseudo":14378,"./x-pseudo.js":14378,"./yo":75805,"./yo.js":75805,"./zh-cn":83839,"./zh-cn.js":83839,"./zh-hk":55726,"./zh-hk.js":55726,"./zh-mo":99807,"./zh-mo.js":99807,"./zh-tw":74152,"./zh-tw.js":74152};function l(e){var t=r(e);return a(t)}function r(e){if(!a.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}l.keys=function(){return Object.keys(o)},l.resolve=r,e.exports=l,l.id=46700},13501:function(e,t,a){"use strict";a(77726),a(33473),a(92151),a(1286);var o=a(5166),l=a(42119),r={id:"app"};function s(e,t){var a=(0,o.resolveComponent)("router-view");return(0,o.openBlock)(),(0,o.createBlock)("div",r,[(0,o.createVNode)(a)])}var n=a(83744);const c={},d=(0,n.Z)(c,[["render",s]]);var i=d,u={class:"relative bg-blueGray-100"},p={class:"px-4 md:px-10 mx-auto w-full -m-24"};function b(e,t,a,l,r,s){var n=(0,o.resolveComponent)("admin-navbar"),c=(0,o.resolveComponent)("header-stats"),d=(0,o.resolveComponent)("router-view"),i=(0,o.resolveComponent)("footer-admin");return(0,o.openBlock)(),(0,o.createBlock)("div",null,[(0,o.createVNode)("div",u,[(0,o.createVNode)(n),(0,o.createVNode)(c),(0,o.createVNode)("div",p,[(0,o.createVNode)(d),(0,o.createVNode)(i)])])])}var x={class:"absolute top-0 left-0 w-full z-10 bg-transparent md:flex-row md:flex-nowrap md:justify-start flex items-center p-4"},f=(0,o.createVNode)("div",{class:"w-full mx-autp items-center flex justify-between md:flex-nowrap flex-wrap md:px-10 px-4"},[(0,o.createVNode)("a",{class:"text-white text-sm uppercase hidden lg:inline-block font-semibold",href:"javascript:void(0)"}," ChatGPT-Plugin ")],-1);function m(e,t,a,l,r,s){return(0,o.openBlock)(),(0,o.createBlock)("nav",x,[f])}var h={components:{}};const g=(0,n.Z)(h,[["render",m]]);var w=g,v={class:"relative bg-emerald-600 pb-32 pt-12"},y={class:"px-4 md:px-10 mx-auto w-full"},V={class:"flex flex-wrap"},N={class:"w-full lg:w-6/12 xl:w-3/12 px-4"},k={class:"w-full lg:w-6/12 xl:w-3/12 px-4"},C={class:"w-full lg:w-6/12 xl:w-3/12 px-4"},G={class:"w-full lg:w-6/12 xl:w-3/12 px-4"};function j(e,t,a,l,r,s){var n=(0,o.resolveComponent)("card-stats");return(0,o.openBlock)(),(0,o.createBlock)("div",v,[(0,o.createVNode)("div",y,[(0,o.createVNode)("div",null,[(0,o.createVNode)("div",V,[(0,o.createVNode)("div",N,[(0,o.createVNode)(n,{statSubtitle:"系统访问量",statTitle:r.SystemAccess.count,statArrow:r.SystemAccess.statArrow,statPercent:r.SystemAccess.statPercent,statPercentColor:"text-emerald-500",statDescripiron:"相比昨日",statIconName:"far fa-chart-bar",statIconColor:"bg-red-500"},null,8,["statTitle","statArrow","statPercent"])]),(0,o.createVNode)("div",k,[(0,o.createVNode)(n,{statSubtitle:"缓存文件数",statTitle:r.CacheFile.count,statArrow:r.CacheFile.statArrow,statPercent:r.CacheFile.statPercent,statPercentColor:"text-red-500",statDescripiron:"相比昨日",statIconName:"fas fa-chart-pie",statIconColor:"bg-orange-500"},null,8,["statTitle","statArrow","statPercent"])]),(0,o.createVNode)("div",C,[(0,o.createVNode)(n,{statSubtitle:"外网访问量",statTitle:r.WebAccess.count,statArrow:r.WebAccess.statArrow,statPercent:r.WebAccess.statPercent,statPercentColor:"text-orange-500",statDescripiron:"相比昨日",statIconName:"fas fa-users",statIconColor:"bg-pink-500"},null,8,["statTitle","statArrow","statPercent"])]),(0,o.createVNode)("div",G,[(0,o.createVNode)(n,{statSubtitle:"系统负载",statTitle:r.SystemLoad.count+"%",statArrow:r.SystemLoad.statArrow,statPercent:r.SystemLoad.statPercent,statPercentColor:"text-emerald-500",statDescripiron:"相比一小时前",statIconName:"fas fa-percent",statIconColor:"bg-emerald-500"},null,8,["statTitle","statArrow","statPercent"])])])])])])}a(56977);var S={class:"relative flex flex-col min-w-0 break-words bg-white rounded mb-6 xl:mb-0 shadow-lg"},T={class:"flex-auto p-4"},B={class:"flex flex-wrap"},D={class:"relative w-full pr-4 max-w-full flex-grow flex-1"},F={class:"text-blueGray-400 uppercase font-bold text-xs"},P={class:"font-semibold text-xl text-blueGray-700"},A={class:"relative w-auto pl-4 flex-initial"},M={class:"text-sm text-blueGray-400 mt-4"},U={class:"whitespace-nowrap"};function L(e,t,a,l,r,s){return(0,o.openBlock)(),(0,o.createBlock)("div",S,[(0,o.createVNode)("div",T,[(0,o.createVNode)("div",B,[(0,o.createVNode)("div",D,[(0,o.createVNode)("h5",F,(0,o.toDisplayString)(a.statSubtitle),1),(0,o.createVNode)("span",P,(0,o.toDisplayString)(a.statTitle),1)]),(0,o.createVNode)("div",A,[(0,o.createVNode)("div",{class:["text-white p-3 text-center inline-flex items-center justify-center w-12 h-12 shadow-lg rounded-full",[a.statIconColor]]},[(0,o.createVNode)("i",{class:[a.statIconName]},null,2)],2)])]),(0,o.createVNode)("p",M,[(0,o.createVNode)("span",{class:["mr-2",[a.statPercentColor]]},[(0,o.createVNode)("i",{class:["up"===a.statArrow?"fas fa-arrow-up":"fas fa-arrow-down"]},null,2),(0,o.createTextVNode)(" "+(0,o.toDisplayString)(a.statPercent)+"% ",1)],2),(0,o.createVNode)("span",U,(0,o.toDisplayString)(a.statDescripiron),1)])])])}var z={name:"card-stats",props:{statSubtitle:{type:String,default:"Traffic"},statTitle:{type:String,default:"350,897"},statArrow:{default:"up",validator:function(e){return-1!==["up","down"].indexOf(e)}},statPercent:{type:String,default:"3.48"},statPercentColor:{type:String,default:"text-emerald-500"},statDescripiron:{type:String,default:"Since last month"},statIconName:{type:String,default:"far fa-chart-bar"},statIconColor:{type:String,default:"bg-red-500"}}};const O=(0,n.Z)(z,[["render",L]]);var Z=O,R=a(52861),I={data:function(){return{SystemAccess:{count:0,statArrow:"up",statPercent:0},CacheFile:{count:0,statArrow:"up",statPercent:0},WebAccess:{count:0,statArrow:"up",statPercent:0},SystemLoad:{count:0,statArrow:"up",statPercent:0}}},components:{CardStats:Z},created:function(){this.getData()},methods:{getData:function(){var e=this;R.Z.post("".concat(window.location.origin,"/system-statistics")).then((function(t){e.SystemAccess={count:t.data.SystemAccess.count,statArrow:t.data.SystemAccess.count>t.data.SystemAccess.oldCount?"up":"down",statPercent:Math.abs((t.data.SystemAccess.count-t.data.SystemAccess.oldCount)/t.data.SystemAccess.oldCount>0?t.data.SystemAccess.oldCount:1)},e.CacheFile={count:t.data.CacheFile.count,statArrow:t.data.CacheFile.count>t.data.CacheFile.oldCount?"up":"down",statPercent:Math.abs((t.data.CacheFile.count-t.data.CacheFile.oldCount)/t.data.CacheFile.oldCount>0?t.data.CacheFile.oldCount:1)},e.WebAccess={count:t.data.WebAccess.count,statArrow:t.data.WebAccess.count>t.data.WebAccess.oldCount?"up":"down",statPercent:Math.abs((t.data.WebAccess.count-t.data.WebAccess.oldCount)/t.data.WebAccess.oldCount>0?t.data.WebAccess.oldCount:1)},e.SystemLoad={count:t.data.SystemLoad.count.toFixed(2),statArrow:t.data.SystemLoad.count>t.data.SystemLoad.oldCount?"up":"down",statPercent:Math.abs((t.data.SystemLoad.count-t.data.SystemLoad.oldCount)/t.data.SystemLoad.oldCount>0?t.data.SystemLoad.oldCount:1)}})).catch((function(e){console.log(e)}))}}};const q=(0,n.Z)(I,[["render",j]]);var W=q,$={class:"block py-4"},_={class:"container mx-auto px-4"},E=(0,o.createVNode)("hr",{class:"mb-4 border-b-1 border-blueGray-200"},null,-1),Y={class:"flex flex-wrap items-center md:justify-between justify-center"},Q={class:"w-full md:w-4/12 px-4"},H={class:"text-sm text-blueGray-500 font-semibold py-1 text-center md:text-left"},J=(0,o.createVNode)("a",{href:"https://github.com/ikechan8370/chatgpt-plugin",class:"text-blueGray-500 hover:text-blueGray-700 text-sm font-semibold py-1"}," chatgpt-plugin ",-1),K=(0,o.createStaticVNode)('<div class="w-full md:w-8/12 px-4"><ul class="flex flex-wrap list-none md:justify-end justify-center"><li><a href="https://github.com/ikechan8370" class="text-blueGray-600 hover:text-blueGray-800 text-sm font-semibold block py-1 px-3"> Creative ikechan8370 </a></li><li><a href="/" class="text-blueGray-600 hover:text-blueGray-800 text-sm font-semibold block py-1 px-3"> 主页 </a></li><li><a href="/help/" class="text-blueGray-600 hover:text-blueGray-800 text-sm font-semibold block py-1 px-3"> 帮助 </a></li><li><a href="/admin/" class="text-blueGray-600 hover:text-blueGray-800 text-sm font-semibold block py-1 px-3"> 后台 </a></li><li><a href="/admin/settings" class="text-blueGray-600 hover:text-blueGray-800 text-sm font-semibold block py-1 px-3"> 设置 </a></li><li><a href="/auth/login" class="text-blueGray-600 hover:text-blueGray-800 text-sm font-semibold block py-1 px-3"> 更换账号 </a></li></ul></div>',1);function X(e,t,a,l,r,s){return(0,o.openBlock)(),(0,o.createBlock)("footer",$,[(0,o.createVNode)("div",_,[E,(0,o.createVNode)("div",Y,[(0,o.createVNode)("div",Q,[(0,o.createVNode)("div",H,[(0,o.createTextVNode)(" Copyright © "+(0,o.toDisplayString)(r.date)+" ",1),J])]),K])])])}var ee={data:function(){return{date:(new Date).getFullYear()}}};const te=(0,n.Z)(ee,[["render",X]]);var ae=te,oe={name:"admin-layout",components:{AdminNavbar:w,HeaderStats:W,FooterAdmin:ae}};const le=(0,n.Z)(oe,[["render",b]]);var re=le,se={class:"relative w-full h-full py-40 min-h-screen"};function ne(e,t,a,l,r,s){var n=(0,o.resolveComponent)("router-view");return(0,o.openBlock)(),(0,o.createBlock)("div",null,[(0,o.createVNode)("main",null,[(0,o.createVNode)("section",se,[(0,o.createVNode)("div",{class:"absolute top-0 w-full h-full bg-blueGray-800 bg-no-repeat bg-full",style:"background-image: url('".concat(r.registerBg2,"');")},null,4),(0,o.createVNode)(n)])])])}var ce=a.p+"img/register_bg_2.4f2cb0ac.png",de={data:function(){return{registerBg2:ce}},components:{}};const ie=(0,n.Z)(de,[["render",ne]]);var ue=ie,pe={class:"relative flex flex-col min-w-0 break-words w-full mb-6 shadow-lg rounded-lg bg-blueGray-100 border-0"},be={class:"rounded-t bg-white mb-0 px-6 py-6"},xe={class:"text-center flex justify-between"},fe=(0,o.createVNode)("h6",{class:"text-blueGray-700 text-xl font-bold"},"用户设置 ",-1),me={class:"flex-auto px-4 lg:px-10 py-10 pt-0"},he=(0,o.createVNode)("h6",{class:"text-blueGray-400 text-sm mt-3 mb-6 font-bold uppercase"}," 对话设置 ",-1),ge={class:"flex flex-wrap"},we={class:"w-full lg:w-3/12 px-4"},ve={class:"relative w-full mb-3"},ye=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 文本模式 ",-1),Ve={class:"w-full lg:w-3/12 px-4"},Ne={class:"relative w-full mb-3"},ke=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 图片模式 ",-1),Ce={class:"w-full lg:w-3/12 px-4"},Ge={class:"relative w-full mb-3"},je=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 语音模式 ",-1),Se={class:"w-full lg:w-3/12 px-4"},Te={class:"relative w-full mb-3"},Be=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 语音模式默认角色 ",-1),De=(0,o.createVNode)("option",{value:"随机"},"随机",-1),Fe={class:"flex flex-wrap"},Pe={class:"w-full mb-12 xl:mb-0 px-4"},Ae={class:"flex flex-wrap mt-4"},Me={class:"w-full mb-12 xl:mb-0 px-4"};function Ue(e,t,a,l,r,s){var n=(0,o.resolveComponent)("card-line-chart"),c=(0,o.resolveComponent)("card-page-visits");return(0,o.openBlock)(),(0,o.createBlock)("div",null,[(0,o.createVNode)("div",pe,[(0,o.createVNode)("div",be,[(0,o.createVNode)("div",xe,[fe,(0,o.createVNode)("button",{onClick:t[1]||(t[1]=function(){return s.saveData&&s.saveData.apply(s,arguments)}),class:"bg-emerald-500 text-white active:bg-emerald-600 font-bold uppercase text-xs px-4 py-2 rounded shadow hover:shadow-md outline-none focus:outline-none mr-1 ease-linear transition-all duration-150",type:"button"}," 保存 ")])]),(0,o.createVNode)("div",me,[(0,o.createVNode)("form",null,[he,(0,o.createVNode)("div",ge,[(0,o.createVNode)("div",we,[(0,o.createVNode)("div",ve,[ye,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[2]||(t[2]=function(e){return s.chatmode=e}),name:"chatmode",type:"radio",value:"1",class:"form-checkbox border-0 rounded text-gray-800 bg-blueGray-600 ml-1 w-5 h-5",style:{transition:"all 0.15s ease 0s"}},null,512),[[o.vModelRadio,s.chatmode]])])]),(0,o.createVNode)("div",Ve,[(0,o.createVNode)("div",Ne,[ke,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[3]||(t[3]=function(e){return s.chatmode=e}),name:"chatmode",type:"radio",value:"2",class:"form-checkbox border-0 rounded text-gray-800 bg-blueGray-600 ml-1 w-5 h-5",style:{transition:"all 0.15s ease 0s"}},null,512),[[o.vModelRadio,s.chatmode]])])]),(0,o.createVNode)("div",Ce,[(0,o.createVNode)("div",Ge,[je,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[4]||(t[4]=function(e){return s.chatmode=e}),name:"chatmode",type:"radio",value:"3",class:"form-checkbox border-0 rounded text-gray-800 bg-blueGray-600 ml-1 w-5 h-5",style:{transition:"all 0.15s ease 0s"}},null,512),[[o.vModelRadio,s.chatmode]])])]),(0,o.createVNode)("div",Se,[(0,o.createVNode)("div",Te,[Be,(0,o.withDirectives)((0,o.createVNode)("select",{name:"pets","onUpdate:modelValue":t[5]||(t[5]=function(e){return r.userSetting.ttsRole=e}),onChange:t[6]||(t[6]=function(e){return s.selectClass("ttsRole",e)}),class:"border-0 px-3 py-3 placeholder-blueGray-300 text-blueGray-600 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full ease-linear transition-all duration-150"},[De,((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(r.defaultTTSRole_selectClassData,(function(e,t){return(0,o.openBlock)(),(0,o.createBlock)("option",{key:t,value:e},(0,o.toDisplayString)(e),9,["value"])})),128))],544),[[o.vModelSelect,r.userSetting.ttsRole]])])])])])])]),(0,o.createVNode)("div",Fe,[(0,o.createVNode)("div",Pe,[(0,o.createVNode)(n)])]),(0,o.createVNode)("div",Ae,[(0,o.createVNode)("div",Me,[(0,o.createVNode)(c)])])])}a(57658);var Le={class:"relative flex flex-col min-w-0 break-words w-full mb-6 shadow-lg rounded bg-blueGray-700"},ze=(0,o.createStaticVNode)('<div class="rounded-t mb-0 px-4 py-3 bg-transparent"><div class="flex flex-wrap items-center"><div class="relative w-full max-w-full flex-grow flex-1"><h6 class="uppercase text-blueGray-100 mb-1 text-xs font-semibold"> 本周 </h6><h2 class="text-white text-xl font-semibold"> 缓存统计 </h2></div></div></div><div class="p-4 flex-auto"><div class="relative h-350-px"><canvas id="line-chart"></canvas></div></div>',2);function Oe(e,t,a,l,r,s){return(0,o.openBlock)(),(0,o.createBlock)("div",Le,[ze])}a(57327),a(41539),a(91038),a(78783);var Ze=a(17757),Re=a.n(Ze),Ie={mounted:function(){var e=this;R.Z.post("".concat(window.location.origin,"/userData")).then((function(t){var a=t.data.filter((function(e){return"Bing"===e.model})),o=t.data.filter((function(e){return"ChatGPT"===e.model})),l=function(e){var t=new Date,a=e.filter((function(e){var a=t-new Date(e.time),o=a/864e5;return o<=7})),o=a.reduce((function(e,t){var a=new Date(t.time).getDay()-1;return e[a]||(e[a]=0),e[a]+=1,e}),{});return Array.from({length:7},(function(e,t){return o[t]||0}))};e.$nextTick((function(){var e={type:"line",data:{labels:["周一","周二","周三","周四","周五","周六","周日"],datasets:[{label:"Bing",backgroundColor:"#4c51bf",borderColor:"#4c51bf",data:l(a),fill:!1},{label:"ChatGPT",fill:!1,backgroundColor:"#fff",borderColor:"#fff",data:l(o)}]},options:{maintainAspectRatio:!1,responsive:!0,title:{display:!1,text:"Sales Charts",fontColor:"white"},legend:{labels:{fontColor:"white"},align:"end",position:"bottom"},tooltips:{mode:"index",intersect:!1},hover:{mode:"nearest",intersect:!0},scales:{xAxes:[{ticks:{fontColor:"rgba(255,255,255,.7)"},display:!0,scaleLabel:{display:!1,labelString:"Month",fontColor:"white"},gridLines:{display:!1,borderDash:[2],borderDashOffset:[2],color:"rgba(33, 37, 41, 0.3)",zeroLineColor:"rgba(0, 0, 0, 0)",zeroLineBorderDash:[2],zeroLineBorderDashOffset:[2]}}],yAxes:[{ticks:{fontColor:"rgba(255,255,255,.7)"},display:!0,scaleLabel:{display:!1,labelString:"Value",fontColor:"white"},gridLines:{borderDash:[3],borderDashOffset:[3],drawBorder:!1,color:"rgba(255, 255, 255, 0.15)",zeroLineColor:"rgba(33, 37, 41, 0)",zeroLineBorderDash:[2],zeroLineBorderDashOffset:[2]}}]}}},t=document.getElementById("line-chart").getContext("2d");window.myLine=new(Re())(t,e)}))})).catch((function(e){console.log(e)}))}};const qe=(0,n.Z)(Ie,[["render",Oe]]);var We=qe,$e={class:"relative flex flex-col min-w-0 break-words bg-white w-full mb-6 shadow-lg rounded"},_e={class:"rounded-t mb-0 px-4 py-3 border-0"},Ee={class:"flex flex-wrap items-center"},Ye=(0,o.createVNode)("div",{class:"relative w-full px-4 max-w-full flex-grow flex-1"},[(0,o.createVNode)("h3",{class:"font-semibold text-base text-blueGray-700"}," 缓存页面 ")],-1),Qe={class:"relative w-full px-4 max-w-full flex-grow flex-1 text-right"},He={class:"block w-full overflow-x-auto"},Je={class:"items-center w-full bg-transparent border-collapse"},Ke=(0,o.createVNode)("thead",null,[(0,o.createVNode)("tr",null,[(0,o.createVNode)("th",{class:"px-6 bg-blueGray-50 text-blueGray-500 align-middle border border-solid border-blueGray-100 py-3 text-xs uppercase border-l-0 border-r-0 whitespace-nowrap font-semibold text-left"}," 缓存地址 "),(0,o.createVNode)("th",{class:"px-6 bg-blueGray-50 text-blueGray-500 align-middle border border-solid border-blueGray-100 py-3 text-xs uppercase border-l-0 border-r-0 whitespace-nowrap font-semibold text-left"}," 用户 "),(0,o.createVNode)("th",{class:"px-6 bg-blueGray-50 text-blueGray-500 align-middle border border-solid border-blueGray-100 py-3 text-xs uppercase border-l-0 border-r-0 whitespace-nowrap font-semibold text-left"}," 群 "),(0,o.createVNode)("th",{class:"px-6 bg-blueGray-50 text-blueGray-500 align-middle border border-solid border-blueGray-100 py-3 text-xs uppercase border-l-0 border-r-0 whitespace-nowrap font-semibold text-left"}," 时间 ")])],-1),Xe={class:"border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4 text-left"},et={class:"border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4"},tt={class:"border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4"},at={class:"border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4"};function ot(e,t,a,l,r,s){return(0,o.openBlock)(),(0,o.createBlock)("div",$e,[(0,o.createVNode)("div",_e,[(0,o.createVNode)("div",Ee,[Ye,(0,o.createVNode)("div",Qe,[(0,o.createVNode)("button",{onClick:t[1]||(t[1]=function(){return s.cleanCache&&s.cleanCache.apply(s,arguments)}),class:"bg-indigo-500 text-white active:bg-indigo-600 text-xs font-bold uppercase px-3 py-1 rounded outline-none focus:outline-none mr-1 mb-1 ease-linear transition-all duration-150",type:"button"}," 清除所有 ")])])]),(0,o.createVNode)("div",He,[(0,o.createVNode)("table",Je,[Ke,(0,o.createVNode)("tbody",null,[((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(r.userData,(function(e){return(0,o.openBlock)(),(0,o.createBlock)("tr",{key:e.herf},[(0,o.createVNode)("th",Xe,(0,o.toDisplayString)(e.herf),1),(0,o.createVNode)("td",et,(0,o.toDisplayString)(e.user),1),(0,o.createVNode)("td",tt,(0,o.toDisplayString)(e.group||"-"),1),(0,o.createVNode)("td",at,(0,o.toDisplayString)(e.time),1)])})),128))])])])])}var lt={data:function(){return{userData:[]}},created:function(){this.getData()},methods:{getData:function(){var e=this;R.Z.post("".concat(window.location.origin,"/userData")).then((function(t){e.userData=t.data}))},cleanCache:function(){var e=this;R.Z.post("".concat(window.location.origin,"/cleanCache")).then((function(){e.getData()}))}}};const rt=(0,n.Z)(lt,[["render",ot]]);var st=rt,nt={name:"dashboard-page",data:function(){return{userSetting:{usePicture:!1,useTTS:!1,ttsRole:""},defaultTTSRole_selectClassData:["特别周","无声铃鹿","东海帝皇(帝宝,帝王)","丸善斯基","富士奇迹","小栗帽","黄金船","伏特加","大和赤骥","大树快车","草上飞","菱亚马逊","目白麦昆","神鹰","好歌剧","成田白仁","鲁道夫象征(皇帝)","气槽","爱丽数码","星云天空","玉藻十字","美妙姿势","琵琶晨光","摩耶重炮","曼城茶座","美浦波旁","目白赖恩","菱曙","雪中美人","米浴","艾尼斯风神","爱丽速子(爱丽快子)","爱慕织姬","稻荷一","胜利奖券","空中神宫","荣进闪耀","真机伶","川上公主","黄金城(黄金城市)","樱花进王","采珠","新光风","东商变革","超级小海湾","醒目飞鹰(寄寄子)","荒漠英雄","东瀛佐敦","中山庆典","成田大进","西野花","春丽(乌拉拉)","青竹回忆","微光飞驹","美丽周日","待兼福来","mr cb(cb先生)","名将怒涛(名将户仁)","目白多伯","优秀素质","帝王光辉","待兼诗歌剧","生野狄杜斯","目白善信","大拓太阳神","双涡轮(两立直,两喷射,二锅头,逆喷射)","里见光钻(萨托诺金刚石)","北部玄驹","樱花千代王","天狼星象征","目白阿尔丹","八重无敌","鹤丸刚志","目白光明","成田拜仁(成田路)","也文摄辉","小林历奇","北港火山","奇锐骏","苦涩糖霜","小小蚕茧","骏川手纲(绿帽恶魔)","秋川弥生(小小理事长)","乙名史悦子(乙名记者)","桐生院葵","安心泽刺刺美","樫本理子","神里绫华(龟龟)","琴","空(空哥)","丽莎","荧(荧妹)","芭芭拉","凯亚","迪卢克","雷泽","安柏","温迪","香菱","北斗","行秋","魈","凝光","可莉","钟离","菲谢尔(皇女)","班尼特","达达利亚(公子)","诺艾尔(女仆)","七七","重云","甘雨(椰羊)","阿贝多","迪奥娜(猫猫)","莫娜","刻晴","砂糖","辛焱","罗莎莉亚","胡桃","枫原万叶(万叶)","烟绯","宵宫","托马","优菈","雷电将军(雷神)","早柚","珊瑚宫心海(心海,扣扣米)","五郎","九条裟罗","荒泷一斗(一斗)","埃洛伊","申鹤","八重神子(神子)","神里绫人(绫人)","夜兰","久岐忍","鹿野苑平藏","提纳里","柯莱","多莉","云堇","纳西妲(草神)","深渊使徒","妮露","赛诺","债务处理人","坎蒂丝","真弓快车","秋人","望族","艾尔菲","艾莉丝","艾伦","阿洛瓦","天野","天目十五","愚人众-安德烈","安顺","安西","葵","青木","荒川幸次","荒谷","有泽","浅川","麻美","凝光助手","阿托","竺子","百识","百闻","百晓","白术","贝雅特丽奇","丽塔","失落迷迭","缭乱星棘","伊甸","伏特加女孩","狂热蓝调","莉莉娅","萝莎莉娅","八重樱","八重霞","卡莲","第六夜想曲","卡萝尔","姬子","极地战刃","布洛妮娅","次生银翼","理之律者%26希儿","理之律者","迷城骇兔","希儿","魇夜星渊","黑希儿","帕朵菲莉丝","不灭星锚","天元骑英","幽兰黛尔","派蒙bh3","爱酱","绯玉丸","德丽莎","月下初拥","朔夜观星","暮光骑士","格蕾修","留云借风真君","梅比乌斯","仿犹大","克莱因","圣剑幽兰黛尔","妖精爱莉","特斯拉zero","苍玄","若水","西琳","戴因斯雷布","贝拉","赤鸢","镇魂歌","渡鸦","人之律者","爱莉希雅","天穹游侠","琪亚娜","空之律者","薪炎之律者","云墨丹心","符华","识之律者","特瓦林","维尔薇","芽衣","雷之律者","断罪影舞","阿波尼亚","榎本","厄尼斯特","恶龙","范二爷","法拉","愚人众士兵","愚人众士兵a","愚人众士兵b","愚人众士兵c","愚人众a","愚人众b","飞飞","菲利克斯","女性跟随者","逢岩","摆渡人","狂躁的男人","奥兹","芙萝拉","跟随者","蜜汁生物","黄麻子","渊上","藤木","深见","福本","芙蓉","古泽","古田","古山","古谷昇","傅三儿","高老六","矿工冒","元太","德安公","茂才公","杰拉德","葛罗丽","金忽律","公俊","锅巴","歌德","阿豪","狗三儿","葛瑞丝","若心","阿山婆","怪鸟","广竹","观海","关宏","蜜汁卫兵","守卫1","傲慢的守卫","害怕的守卫","贵安","盖伊","阿创","哈夫丹","日语阿贝多(野岛健儿)","日语埃洛伊(高垣彩阳)","日语安柏(石见舞菜香)","日语神里绫华(早见沙织)","日语神里绫人(石田彰)","日语白术(游佐浩二)","日语芭芭拉(鬼头明里)","日语北斗(小清水亚美)","日语班尼特(逢坂良太)","日语坎蒂丝(柚木凉香)","日语重云(齐藤壮马)","日语柯莱(前川凉子)","日语赛诺(入野自由)","日语戴因斯雷布(津田健次郎)","日语迪卢克(小野贤章)","日语迪奥娜(井泽诗织)","日语多莉(金田朋子)","日语优菈(佐藤利奈)","日语菲谢尔(内田真礼)","日语甘雨(上田丽奈)","日语(畠中祐)","日语鹿野院平藏(井口祐一)","日语空(堀江瞬)","日语荧(悠木碧)","日语胡桃(高桥李依)","日语一斗(西川贵教)","日语凯亚(鸟海浩辅)","日语万叶(岛崎信长)","日语刻晴(喜多村英梨)","日语可莉(久野美咲)","日语心海(三森铃子)","日语九条裟罗(濑户麻沙美)","日语丽莎(田中理惠)","日语莫娜(小原好美)","日语纳西妲(田村由加莉)","日语妮露(金元寿子)","日语凝光(大原沙耶香)","日语诺艾尔(高尾奏音)","日语奥兹(增谷康纪)","日语派蒙(古贺葵)","日语琴(斋藤千和)","日语七七(田村由加莉)","日语雷电将军(泽城美雪)","日语雷泽(内山昂辉)","日语罗莎莉亚(加隈亚衣)","日语早柚(洲崎绫)","日语散兵(柿原彻也)","日语申鹤(川澄绫子)","日语久岐忍(水桥香织)","日语女士(庄子裕衣)","日语砂糖(藤田茜)","日语达达利亚(木村良平)","日语托马(森田成一)","日语提纳里(小林沙苗)","日语温迪(村濑步)","日语香菱(小泽亚李)","日语魈(松冈祯丞)","日语行秋(皆川纯子)","日语辛焱(高桥智秋)","日语八重神子(佐仓绫音)","日语烟绯(花守由美里)","日语夜兰(远藤绫)","日语宵宫(植田佳奈)","日语云堇(小岩井小鸟)","日语钟离(前野智昭)","杰克","阿吉","江舟","鉴秋","嘉义","纪芳","景澄","经纶","景明","晋优","阿鸠","酒客","乔尔","乔瑟夫","约顿","乔伊斯","居安","君君","顺吉","纯也","重佐","大岛纯平","蒲泽","勘解由小路健三郎","枫","枫原义庆","荫山","甲斐田龍馬","海斗","惟神晴之介","鹿野奈奈","卡琵莉亚","凯瑟琳","加藤信悟","加藤洋平","胜家","茅葺一庆","和昭","一正","一道","桂一","庆次郎","阿贤","健司","健次郎","健三郎","天理","杀手a","杀手b","木南杏奈","木村","国王","木下","北村","清惠","清人","克列门特","骑士","小林","小春","康拉德","大肉丸","琴美","宏一","康介","幸德","高善","梢","克罗索","久保","九条镰治","久木田","昆钧","菊地君","久利须","黑田","黑泽京之介","响太","岚姐","兰溪","澜阳","劳伦斯","乐明","莱诺","莲","良子","李当","李丁","小乐","灵","小玲","琳琅a","琳琅b","小彬","小德","小楽","小龙","小吴","小吴的记忆","理正","阿龙","卢卡","洛成","罗巧","北风狼","卢正","萍姥姥","前田","真昼","麻纪","真","愚人众-马克西姆","女性a","女性b","女性a的跟随者","阿守","玛格丽特","真理","玛乔丽","玛文","正胜","昌信","将司","正人","路爷","老章","松田","松本","松浦","松坂","老孟","孟丹","商人随从","传令兵","米歇尔","御舆源一郎","御舆源次郎","千岩军教头","千岩军士兵","明博","明俊","美铃","美和","阿幸","削月筑阳真君","钱眼儿","森彦","元助","理水叠山真君","理水疊山真君","朱老板","木木","村上","村田","永野","长野原龙之介","长濑","中野志乃","菜菜子","楠楠","成濑","阿内","宁禄","牛志","信博","伸夫","野方","诺拉","纪香","诺曼","修女","纯水精灵","小川","小仓澪","冈林","冈崎绘里香","冈崎陆斗","奥拉夫","老科","鬼婆婆","小野寺","大河原五右卫门","大久保大介","大森","大助","奥特","派蒙","派蒙2","病人a","病人b","巴顿","派恩","朋义","围观群众","围观群众a","围观群众b","围观群众c","围观群众d","围观群众e","铜雀","阿肥","兴叔","老周叔","公主","彼得","乾子","芊芊","乾玮","绮命","杞平","秋月","昆恩","雷电影","兰道尔","雷蒙德","冒失的帕拉德","伶一","玲花","阿仁","家臣们","梨绘","荣江","戎世","浪人","罗伊斯","如意","凉子","彩香","酒井","坂本","朔次郎","武士a","武士b","武士c","武士d","珊瑚","三田","莎拉","笹野","聪美","聪","小百合","散兵","害怕的小刘","舒伯特","舒茨","海龙","世子","谢尔盖","家丁","商华","沙寅","阿升","柴田","阿茂","式大将","清水","志村勘兵卫","新之丞","志织","石头","诗羽","诗筠","石壮","翔太","正二","周平","舒杨","齐格芙丽雅","女士","思勤","六指乔瑟","愚人众小兵d","愚人众小兵a","愚人众小兵b","愚人众小兵c","吴老五","吴老二","滑头鬼","言笑","吴老七","士兵h","士兵i","士兵a","士兵b","士兵c","士兵d","士兵e","士兵f","士兵g","奏太","斯坦利","掇星攫辰天君","小头","大武","陶义隆","杉本","苏西","嫌疑人a","嫌疑人b","嫌疑人c","嫌疑人d","斯万","剑客a","剑客b","阿二","忠胜","忠夫","阿敬","孝利","鹰司进","高山","九条孝行","毅","竹内","拓真","卓也","太郎丸","泰勒","手岛","哲平","哲夫","托克","大boss","阿强","托尔德拉","旁观者","天成","阿大","蒂玛乌斯","提米","户田","阿三","一起的人","德田","德长","智树","利彦","胖乎乎的旅行者","藏宝人a","藏宝人b","藏宝人c","藏宝人d","阿祇","恒雄","露子","话剧团团长","内村","上野","上杉","老戴","老高","老贾","老墨","老孙","天枢星","老云","有乐斋","丑雄","乌维","瓦京","菲尔戈黛特","维多利亚","薇尔","瓦格纳","阿外","侍女","瓦拉","望雅","宛烟","琬玉","战士a","战士b","渡辺","渡部","阿伟","文璟","文渊","韦尔纳","王扳手","武沛","晓飞","辛程","星火","星稀","辛秀","秀华","阿旭","徐刘师","矢部","八木","山上","阿阳","颜笑","康明","泰久","安武","矢田幸喜","矢田辛喜","义坚","莺儿","盈丰","宜年","银杏","逸轩","横山","永贵","永业","嘉久","吉川","义高","用高","阳太","元蓉","玥辉","毓华","有香","幸也","由真","结菜","韵宁","百合","百合华","尤苏波夫","裕子","悠策","悠也","于嫣","柚子","老郑","正茂","志成","芷巧","知易","支支","周良","珠函","祝明","祝涛"]}},components:{CardLineChart:We,CardPageVisits:st},computed:{chatmode:{get:function(){return this.userSetting.usePicture?2:this.userSetting.useTTS?3:1},set:function(e){"1"===e?(this.userSetting.usePicture=!1,this.userSetting.useTTS=!1):"2"===e?(this.userSetting.usePicture=!0,this.userSetting.useTTS=!1):(this.userSetting.usePicture=!1,this.userSetting.useTTS=!0)}}},created:function(){this.getData()},methods:{getData:function(){var e=this;R.Z.post("".concat(window.location.origin,"/sysconfig")).then((function(t){"未登录"==t.data.err&&e.$router.push({path:"/auth/login"}),!t.data.userSetting&&t.data.chatConfig&&e.$router.push({path:"/admin/settings"}),e.userSetting=t.data.userSetting})).catch((function(e){console.log(e)}))},saveData:function(){R.Z.post("".concat(window.location.origin,"/saveconfig"),{userSetting:this.userSetting}).then((function(e){console.log(e)})).catch((function(e){console.log(e)}))},selectClass:function(e,t){this.userSetting[e]=t.target.value}}};const ct=(0,n.Z)(nt,[["render",Ue]]);var dt=ct,it={class:"flex flex-wrap"},ut={class:"w-full px-4"};function pt(e,t,a,l,r,s){var n=(0,o.resolveComponent)("CardSettings");return(0,o.openBlock)(),(0,o.createBlock)("div",it,[(0,o.createVNode)("div",ut,[(0,o.createVNode)(n)])])}var bt={class:"relative flex flex-col min-w-0 break-words w-full mb-6 shadow-lg rounded-lg bg-blueGray-100 border-0"},xt={class:"rounded-t bg-white mb-0 px-6 py-6"},ft={class:"text-center flex justify-between"},mt={class:"text-blueGray-700 text-xl font-bold"},ht=(0,o.createTextVNode)("系统设置 "),gt={class:"text-xs font-semibold inline-block py-1 px-4 mx-4 uppercase rounded text-lightBlue-600 bg-lightBlue-200 uppercase last:mr-0 mr-1"},wt={class:"flex-auto px-4 lg:px-10 py-10 pt-0"},vt=(0,o.createVNode)("h6",{class:"text-blueGray-400 text-sm mt-3 mb-6 font-bold uppercase"}," 通用设置 ",-1),yt={class:"flex flex-wrap"},Vt={class:"w-full lg:w-3/12 px-4"},Nt={class:"relative w-full mb-3"},kt=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 图片识别OCR ",-1),Ct={class:"w-full lg:w-3/12 px-4"},Gt={class:"relative w-full mb-3"},jt=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 允许其他模式 ",-1),St={class:"w-full lg:w-3/12 px-4"},Tt={class:"relative w-full mb-3"},Bt=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 调试信息 ",-1),Dt={class:"w-full lg:w-3/12 px-4"},Ft={class:"relative w-full mb-3"},Pt=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 回复确认 ",-1),At={class:"w-full lg:w-3/12 px-4"},Mt={class:"relative w-full mb-3"},Ut=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 对话保留时长 ",-1),Lt={class:"w-full lg:w-6/12 px-4"},zt={class:"relative w-full mb-3"},Ot=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 代理服务器地址 ",-1),Zt=(0,o.createVNode)("h6",{class:"text-blueGray-400 text-sm mt-3 mb-6 font-bold uppercase"}," 回复模式设置 ",-1),Rt={class:"flex flex-wrap"},It={class:"w-full"},qt={class:"flex mb-0 list-none flex-wrap pt-3 pb-4 flex-row"},Wt={class:"-mb-px mr-2 last:mr-0 flex-auto text-center"},$t={class:"-mb-px mr-2 last:mr-0 flex-auto text-center"},_t={class:"-mb-px mr-2 last:mr-0 flex-auto text-center"},Et={class:"relative flex flex-col min-w-0 break-words bg-white w-full mb-6 shadow-lg rounded"},Yt={class:"px-4 py-5 flex-auto"},Qt={class:"tab-content tab-space"},Ht={class:"flex flex-wrap"},Jt={class:"w-full lg:w-3/12 px-4"},Kt={class:"relative w-full mb-3"},Xt=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 自动转图片阈值 ",-1),ea={class:"w-full lg:w-3/12 px-4"},ta={class:"relative w-full mb-3"},aa=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 长文本自动转图片 ",-1),oa={class:"flex flex-wrap"},la={class:"w-full lg:w-3/12 px-4"},ra={class:"relative w-full mb-3"},sa=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 全局图片模式 ",-1),na={class:"w-full lg:w-3/12 px-4"},ca={class:"relative w-full mb-3"},da=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 图片引用消息 ",-1),ia={class:"w-full lg:w-3/12 px-4"},ua={class:"relative w-full mb-3"},pa=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 启用二维码 ",-1),ba={class:"w-full lg:w-3/12 px-4"},xa={class:"relative w-full mb-3"},fa=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 预制渲染服务器访问代码 ",-1),ma={class:"w-full lg:w-6/12 px-4"},ha={class:"relative w-full mb-3"},ga=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 渲染服务器地址 ",-1),wa={class:"flex flex-wrap"},va={class:"w-full lg:w-3/12 px-4"},ya={class:"relative w-full mb-3"},Va=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 全局语音模式 ",-1),Na={class:"w-full lg:w-3/12 px-4"},ka={class:"relative w-full mb-3"},Ca=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 语音同时发送文字 ",-1),Ga={class:"w-full lg:w-3/12 px-4"},ja={class:"relative w-full mb-3"},Sa=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 语音转文字阈值 ",-1),Ta={class:"w-full lg:w-3/12 px-4"},Ba={class:"relative w-full mb-3"},Da=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 语音模式默认角色 ",-1),Fa=(0,o.createVNode)("option",{value:"随机"},"随机",-1),Pa={class:"w-full lg:w-6/12 px-4"},Aa={class:"relative w-full mb-3"},Ma=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 语音转换API地址 ",-1),Ua={class:"w-full lg:w-6/12 px-4"},La={class:"relative w-full mb-3"},za=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 语音转换huggingface反代 ",-1),Oa={class:"w-full lg:w-3/12 px-4"},Za={class:"relative w-full mb-3"},Ra=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 控制情感变化程度 ",-1),Ia={class:"w-full lg:w-3/12 px-4"},qa={class:"relative w-full mb-3"},Wa=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 控制音素发音长度 ",-1),$a={class:"w-full lg:w-3/12 px-4"},_a={class:"relative w-full mb-3"},Ea=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 控制整体语速 ",-1),Ya=(0,o.createVNode)("h6",{class:"text-blueGray-400 text-sm mt-3 mb-6 font-bold uppercase"}," 绘图设置 ",-1),Qa={class:"flex flex-wrap"},Ha={class:"w-full lg:w-3/12 px-4"},Ja={class:"relative w-full mb-3"},Ka=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 绘图功能开关 ",-1),Xa={class:"w-full lg:w-3/12 px-4"},eo={class:"relative w-full mb-3"},to=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 绘图CD ",-1),ao={class:"w-full lg:w-6/12 px-4"},oo={class:"relative w-full mb-3"},lo=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 合成emoji的API地址,默认谷歌厨房 ",-1),ro=(0,o.createVNode)("h6",{class:"text-blueGray-400 text-sm mt-3 mb-6 font-bold uppercase"}," 服务超时配置 ",-1),so={class:"flex flex-wrap"},no={class:"w-full lg:w-3/12 px-4"},co={class:"relative w-full mb-3"},io=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 默认超时时间 ",-1),uo={class:"w-full lg:w-3/12 px-4"},po={class:"relative w-full mb-3"},bo=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 浏览器超时时间 ",-1),xo={class:"w-full lg:w-3/12 px-4"},fo={class:"relative w-full mb-3"},mo=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," Sydney模式接受首条信息超时时间 ",-1),ho=(0,o.createVNode)("h6",{class:"text-blueGray-400 text-sm mt-3 mb-6 font-bold uppercase"}," 必应Token管理 ",-1),go=(0,o.createVNode)("div",{class:"text-white px-6 py-4 border-0 rounded relative mb-4 bg-teal-500"},[(0,o.createVNode)("span",{class:"inline-block align-middle mr-8"},[(0,o.createVNode)("b",{class:"capitalize"},"注意"),(0,o.createTextVNode)(" Token修改后不会即使生效,将在整体配置保存后生效! ")])],-1),wo={class:"flex flex-wrap"},vo={class:"relative flex flex-col min-w-0 break-words w-full mb-6 shadow-lg rounded bg-emerald-900 text-white"},yo={class:"rounded-t mb-0 px-4 py-3 border-0"},Vo={class:"flex flex-wrap items-center"},No=(0,o.createVNode)("div",{class:"relative w-full px-4 max-w-full flex-grow flex-1"},[(0,o.createVNode)("h3",{class:"font-semibold text-lg text-white"}," Token管理面板 ")],-1),ko={class:"block w-full overflow-x-auto"},Co={class:"items-center w-full bg-transparent border-collapse"},Go=(0,o.createVNode)("thead",null,[(0,o.createVNode)("tr",null,[(0,o.createVNode)("th",{class:"px-6 align-middle border border-solid py-3 text-xs uppercase border-l-0 border-r-0 whitespace-nowrap font-semibold text-left bg-emerald-800 text-emerald-300 border-emerald-700"}," Token "),(0,o.createVNode)("th",{class:"px-6 align-middle border border-solid py-3 text-xs uppercase border-l-0 border-r-0 whitespace-nowrap font-semibold text-left bg-emerald-800 text-emerald-300 border-emerald-700"}," 状态 "),(0,o.createVNode)("th",{class:"px-6 align-middle border border-solid py-3 text-xs uppercase border-l-0 border-r-0 whitespace-nowrap font-semibold text-left bg-emerald-800 text-emerald-300 border-emerald-700"}," 用量 "),(0,o.createVNode)("th",{class:"px-6 align-middle border border-solid py-3 text-xs uppercase border-l-0 border-r-0 whitespace-nowrap font-semibold text-left bg-emerald-800 text-emerald-300 border-emerald-700"})])],-1),jo={class:"border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4"},So={class:"border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4"},To={class:"border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4"},Bo={class:"flex items-center"},Do={class:"mr-2"},Fo={class:"relative w-full"},Po={class:"border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4 text-right"},Ao=(0,o.createVNode)("h6",{class:"text-blueGray-400 text-sm mt-3 mb-6 font-bold uppercase"}," 违禁内容核查 ",-1),Mo={class:"flex flex-wrap"},Uo={class:"w-full lg:w-12/12 px-4"},Lo={class:"relative w-full mb-3"},zo=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 输出黑名单 ",-1),Oo={class:"relative w-full mb-3"},Zo=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 输入黑名单 ",-1);function Ro(e,t,a,l,r,s){var n=(0,o.resolveComponent)("token-edit");return(0,o.openBlock)(),(0,o.createBlock)("div",bt,[(0,o.createVNode)("div",xt,[(0,o.createVNode)("div",ft,[(0,o.createVNode)("h6",mt,[ht,(0,o.createVNode)("span",gt,(0,o.toDisplayString)(r.chatConfig.version),1)]),(0,o.createVNode)("button",{onClick:t[1]||(t[1]=function(){return s.saveData&&s.saveData.apply(s,arguments)}),class:"bg-emerald-500 text-white active:bg-emerald-600 font-bold uppercase text-xs px-4 py-2 rounded shadow hover:shadow-md outline-none focus:outline-none mr-1 ease-linear transition-all duration-150",type:"button"}," 保存 ")])]),(0,o.createVNode)("div",wt,[(0,o.createVNode)("form",null,[vt,(0,o.createVNode)("div",yt,[(0,o.createVNode)("div",Vt,[(0,o.createVNode)("div",Nt,[kt,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[2]||(t[2]=function(e){return r.chatConfig.imgOcr=e}),type:"checkbox",class:"form-checkbox border-0 rounded text-gray-800 bg-blueGray-600 ml-1 w-5 h-5",style:{transition:"all 0.15s ease 0s"}},null,512),[[o.vModelCheckbox,r.chatConfig.imgOcr]])])]),(0,o.createVNode)("div",Ct,[(0,o.createVNode)("div",Gt,[jt,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[3]||(t[3]=function(e){return r.chatConfig.allowOtherMode=e}),type:"checkbox",class:"form-checkbox border-0 rounded text-gray-800 bg-blueGray-600 ml-1 w-5 h-5",style:{transition:"all 0.15s ease 0s"}},null,512),[[o.vModelCheckbox,r.chatConfig.allowOtherMode]])])]),(0,o.createVNode)("div",St,[(0,o.createVNode)("div",Tt,[Bt,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[4]||(t[4]=function(e){return r.chatConfig.debug=e}),type:"checkbox",class:"form-checkbox border-0 rounded text-gray-800 bg-blueGray-600 ml-1 w-5 h-5",style:{transition:"all 0.15s ease 0s"}},null,512),[[o.vModelCheckbox,r.chatConfig.debug]])])]),(0,o.createVNode)("div",Dt,[(0,o.createVNode)("div",Ft,[Pt,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[5]||(t[5]=function(e){return r.redisConfig.turnConfirm=e}),type:"checkbox",class:"form-checkbox border-0 rounded text-gray-800 bg-blueGray-600 ml-1 w-5 h-5",style:{transition:"all 0.15s ease 0s"}},null,512),[[o.vModelCheckbox,r.redisConfig.turnConfirm]])])]),(0,o.createVNode)("div",At,[(0,o.createVNode)("div",Mt,[Ut,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[6]||(t[6]=function(e){return r.chatConfig.conversationPreserveTime=e}),type:"number",class:"border-0 px-3 py-3 placeholder-blueGray-300 text-blueGray-600 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full ease-linear transition-all duration-150",min:"0"},null,512),[[o.vModelText,r.chatConfig.conversationPreserveTime]])])]),(0,o.createVNode)("div",Lt,[(0,o.createVNode)("div",zt,[Ot,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[7]||(t[7]=function(e){return r.chatConfig.proxy=e}),type:"url",class:"border-0 px-3 py-3 placeholder-blueGray-300 text-blueGray-600 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full ease-linear transition-all duration-150"},null,512),[[o.vModelText,r.chatConfig.proxy]])])])]),Zt,(0,o.createVNode)("div",Rt,[(0,o.createVNode)("div",It,[(0,o.createVNode)("ul",qt,[(0,o.createVNode)("li",Wt,[(0,o.createVNode)("a",{class:["text-xs font-bold uppercase px-5 py-3 shadow-lg rounded block leading-normal",{"text-gray-500 bg-white":1!==r.modeopenTab,"bg-purple-200":1===r.modeopenTab}],onClick:t[8]||(t[8]=function(e){return s.toggleTabs("modeopenTab",1)})}," 文本模式 ",2)]),(0,o.createVNode)("li",$t,[(0,o.createVNode)("a",{class:["text-xs font-bold uppercase px-5 py-3 shadow-lg rounded block leading-normal",{"text-gray-500 bg-white":2!==r.modeopenTab,"bg-purple-200":2===r.modeopenTab}],onClick:t[9]||(t[9]=function(e){return s.toggleTabs("modeopenTab",2)})}," 图片模式 ",2)]),(0,o.createVNode)("li",_t,[(0,o.createVNode)("a",{class:["text-xs font-bold uppercase px-5 py-3 shadow-lg rounded block leading-normal",{"text-gray-500 bg-white":3!==r.modeopenTab,"bg-purple-200":3===r.modeopenTab}],onClick:t[10]||(t[10]=function(e){return s.toggleTabs("modeopenTab",3)})}," 语音模式 ",2)])]),(0,o.createVNode)("div",Et,[(0,o.createVNode)("div",Yt,[(0,o.createVNode)("div",Qt,[(0,o.createVNode)("div",{class:{hidden:1!==r.modeopenTab,block:1===r.modeopenTab}},[(0,o.createVNode)("div",Ht,[(0,o.createVNode)("div",Jt,[(0,o.createVNode)("div",Kt,[Xt,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[11]||(t[11]=function(e){return r.chatConfig.autoUsePictureThreshold=e}),type:"number",class:"border-0 px-3 py-3 placeholder-blueGray-300 text-blueGray-600 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full ease-linear transition-all duration-150",min:"0"},null,512),[[o.vModelText,r.chatConfig.autoUsePictureThreshold]])])]),(0,o.createVNode)("div",ea,[(0,o.createVNode)("div",ta,[aa,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[12]||(t[12]=function(e){return r.chatConfig.autoUsePicture=e}),type:"checkbox",class:"form-checkbox border-0 rounded text-gray-800 bg-blueGray-600 ml-1 w-5 h-5",style:{transition:"all 0.15s ease 0s"}},null,512),[[o.vModelCheckbox,r.chatConfig.autoUsePicture]])])])])],2),(0,o.createVNode)("div",{class:{hidden:2!==r.modeopenTab,block:2===r.modeopenTab}},[(0,o.createVNode)("div",oa,[(0,o.createVNode)("div",la,[(0,o.createVNode)("div",ra,[sa,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[13]||(t[13]=function(e){return r.chatConfig.defaultUsePicture=e}),type:"checkbox",class:"form-checkbox border-0 rounded text-gray-800 bg-blueGray-600 ml-1 w-5 h-5",style:{transition:"all 0.15s ease 0s"}},null,512),[[o.vModelCheckbox,r.chatConfig.defaultUsePicture]])])]),(0,o.createVNode)("div",na,[(0,o.createVNode)("div",ca,[da,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[14]||(t[14]=function(e){return r.chatConfig.quoteReply=e}),type:"checkbox",class:"form-checkbox border-0 rounded text-gray-800 bg-blueGray-600 ml-1 w-5 h-5",style:{transition:"all 0.15s ease 0s"}},null,512),[[o.vModelCheckbox,r.chatConfig.quoteReply]])])]),(0,o.createVNode)("div",ia,[(0,o.createVNode)("div",ua,[pa,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[15]||(t[15]=function(e){return r.chatConfig.showQRCode=e}),type:"checkbox",class:"form-checkbox border-0 rounded text-gray-800 bg-blueGray-600 ml-1 w-5 h-5",style:{transition:"all 0.15s ease 0s"}},null,512),[[o.vModelCheckbox,r.chatConfig.showQRCode]])])]),(0,o.createVNode)("div",ba,[(0,o.createVNode)("div",xa,[fa,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[16]||(t[16]=function(e){return r.chatConfig.cacheEntry=e}),type:"checkbox",class:"form-checkbox border-0 rounded text-gray-800 bg-blueGray-600 ml-1 w-5 h-5",style:{transition:"all 0.15s ease 0s"}},null,512),[[o.vModelCheckbox,r.chatConfig.cacheEntry]])])]),(0,o.createVNode)("div",ma,[(0,o.createVNode)("div",ha,[ga,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[17]||(t[17]=function(e){return r.chatConfig.cacheUrl=e}),type:"url",class:"border-0 px-3 py-3 placeholder-blueGray-300 text-blueGray-600 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full ease-linear transition-all duration-150"},null,512),[[o.vModelText,r.chatConfig.cacheUrl]])])])])],2),(0,o.createVNode)("div",{class:{hidden:3!==r.modeopenTab,block:3===r.modeopenTab}},[(0,o.createVNode)("div",wa,[(0,o.createVNode)("div",va,[(0,o.createVNode)("div",ya,[Va,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[18]||(t[18]=function(e){return r.chatConfig.defaultUseTTS=e}),type:"checkbox",class:"form-checkbox border-0 rounded text-gray-800 bg-blueGray-600 ml-1 w-5 h-5",style:{transition:"all 0.15s ease 0s"}},null,512),[[o.vModelCheckbox,r.chatConfig.defaultUseTTS]])])]),(0,o.createVNode)("div",Na,[(0,o.createVNode)("div",ka,[Ca,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[19]||(t[19]=function(e){return r.chatConfig.alsoSendText=e}),type:"checkbox",class:"form-checkbox border-0 rounded text-gray-800 bg-blueGray-600 ml-1 w-5 h-5",style:{transition:"all 0.15s ease 0s"}},null,512),[[o.vModelCheckbox,r.chatConfig.alsoSendText]])])]),(0,o.createVNode)("div",Ga,[(0,o.createVNode)("div",ja,[Sa,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[20]||(t[20]=function(e){return r.chatConfig.ttsAutoFallbackThreshold=e}),type:"number",class:"border-0 px-3 py-3 placeholder-blueGray-300 text-blueGray-600 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full ease-linear transition-all duration-150",min:"0",max:"299"},null,512),[[o.vModelText,r.chatConfig.ttsAutoFallbackThreshold]])])]),(0,o.createVNode)("div",Ta,[(0,o.createVNode)("div",Ba,[Da,(0,o.withDirectives)((0,o.createVNode)("select",{name:"pets","onUpdate:modelValue":t[21]||(t[21]=function(e){return r.chatConfig.defaultTTSRole=e}),onChange:t[22]||(t[22]=function(e){return s.selectClass("defaultTTSRole",e)}),class:"border-0 px-3 py-3 placeholder-blueGray-300 text-blueGray-600 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full ease-linear transition-all duration-150"},[Fa,((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(r.defaultTTSRole_selectClassData,(function(e,t){return(0,o.openBlock)(),(0,o.createBlock)("option",{key:t,value:e},(0,o.toDisplayString)(e),9,["value"])})),128))],544),[[o.vModelSelect,r.chatConfig.defaultTTSRole]])])]),(0,o.createVNode)("div",Pa,[(0,o.createVNode)("div",Aa,[Ma,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[23]||(t[23]=function(e){return r.chatConfig.ttsSpace=e}),type:"url",class:"border-0 px-3 py-3 placeholder-blueGray-300 text-blueGray-600 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full ease-linear transition-all duration-150"},null,512),[[o.vModelText,r.chatConfig.ttsSpace]])])]),(0,o.createVNode)("div",Ua,[(0,o.createVNode)("div",La,[za,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[24]||(t[24]=function(e){return r.chatConfig.huggingFaceReverseProxy=e}),type:"url",class:"border-0 px-3 py-3 placeholder-blueGray-300 text-blueGray-600 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full ease-linear transition-all duration-150"},null,512),[[o.vModelText,r.chatConfig.huggingFaceReverseProxy]])])]),(0,o.createVNode)("div",Oa,[(0,o.createVNode)("div",Za,[Ra,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[25]||(t[25]=function(e){return r.chatConfig.noiseScale=e}),type:"number",class:"border-0 px-3 py-3 placeholder-blueGray-300 text-blueGray-600 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full ease-linear transition-all duration-150",min:"0",max:"1"},null,512),[[o.vModelText,r.chatConfig.noiseScale]])])]),(0,o.createVNode)("div",Ia,[(0,o.createVNode)("div",qa,[Wa,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[26]||(t[26]=function(e){return r.chatConfig.noiseScaleW=e}),type:"number",class:"border-0 px-3 py-3 placeholder-blueGray-300 text-blueGray-600 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full ease-linear transition-all duration-150",min:"0",max:"1"},null,512),[[o.vModelText,r.chatConfig.noiseScaleW]])])]),(0,o.createVNode)("div",$a,[(0,o.createVNode)("div",_a,[Ea,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[27]||(t[27]=function(e){return r.chatConfig.lengthScale=e}),type:"number",class:"border-0 px-3 py-3 placeholder-blueGray-300 text-blueGray-600 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full ease-linear transition-all duration-150",min:"0",max:"2"},null,512),[[o.vModelText,r.chatConfig.lengthScale]])])])])],2)])])])])]),Ya,(0,o.createVNode)("div",Qa,[(0,o.createVNode)("div",Ha,[(0,o.createVNode)("div",Ja,[Ka,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[28]||(t[28]=function(e){return r.chatConfig.enableDraw=e}),type:"checkbox",class:"form-checkbox border-0 rounded text-gray-800 bg-blueGray-600 ml-1 w-5 h-5",style:{transition:"all 0.15s ease 0s"}},null,512),[[o.vModelCheckbox,r.chatConfig.enableDraw]])])]),(0,o.createVNode)("div",Xa,[(0,o.createVNode)("div",eo,[to,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[29]||(t[29]=function(e){return r.chatConfig.drawCD=e}),type:"number",class:"border-0 px-3 py-3 placeholder-blueGray-300 text-blueGray-600 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full ease-linear transition-all duration-150",min:"0"},null,512),[[o.vModelText,r.chatConfig.drawCD]])])]),(0,o.createVNode)("div",ao,[(0,o.createVNode)("div",oo,[lo,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[30]||(t[30]=function(e){return r.chatConfig.emojiBaseURL=e}),type:"url",class:"border-0 px-3 py-3 placeholder-blueGray-300 text-blueGray-600 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full ease-linear transition-all duration-150"},null,512),[[o.vModelText,r.chatConfig.emojiBaseURL]])])])]),ro,(0,o.createVNode)("div",so,[(0,o.createVNode)("div",no,[(0,o.createVNode)("div",co,[io,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[31]||(t[31]=function(e){return r.chatConfig.defaultTimeoutMs=e}),type:"number",class:"border-0 px-3 py-3 placeholder-blueGray-300 text-blueGray-600 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full ease-linear transition-all duration-150",min:"0"},null,512),[[o.vModelText,r.chatConfig.defaultTimeoutMs]])])]),(0,o.createVNode)("div",uo,[(0,o.createVNode)("div",po,[bo,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[32]||(t[32]=function(e){return r.chatConfig.chromeTimeoutMS=e}),type:"number",class:"border-0 px-3 py-3 placeholder-blueGray-300 text-blueGray-600 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full ease-linear transition-all duration-150",min:"0"},null,512),[[o.vModelText,r.chatConfig.chromeTimeoutMS]])])]),(0,o.createVNode)("div",xo,[(0,o.createVNode)("div",fo,[mo,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[33]||(t[33]=function(e){return r.chatConfig.sydneyFirstMessageTimeout=e}),type:"number",class:"border-0 px-3 py-3 placeholder-blueGray-300 text-blueGray-600 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full ease-linear transition-all duration-150",min:"0"},null,512),[[o.vModelText,r.chatConfig.sydneyFirstMessageTimeout]])])])]),ho,go,(0,o.createVNode)("div",wo,[(0,o.createVNode)("div",vo,[(0,o.createVNode)("div",yo,[(0,o.createVNode)("div",Vo,[No,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[34]||(t[34]=function(e){return r.newBingToken=e}),type:"text",class:"text-blueGray-600 bg-white active:bg-emerald-600 font-bold uppercase text-xs px-4 py-2 rounded shadow hover:shadow-md outline-none focus:outline-none mr-1 ease-linear transition-all duration-150"},null,512),[[o.vModelText,r.newBingToken]]),(0,o.createVNode)("button",{onClick:t[35]||(t[35]=function(){return s.addToken&&s.addToken.apply(s,arguments)}),class:"bg-emerald-500 text-white active:bg-emerald-600 font-bold uppercase text-xs px-4 py-2 rounded shadow hover:shadow-md outline-none focus:outline-none mr-1 ease-linear transition-all duration-150",type:"button"}," 新增 ")])]),(0,o.createVNode)("div",ko,[(0,o.createVNode)("table",Co,[Go,(0,o.createVNode)("tbody",null,[((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(r.redisConfig.bingTokens,(function(e){return(0,o.openBlock)(),(0,o.createBlock)("tr",{key:e.Token},[(0,o.createVNode)("td",jo,[(0,o.createVNode)(n,{modelValue:e.Token,"onUpdate:modelValue":function(t){return e.Token=t}},null,8,["modelValue","onUpdate:modelValue"])]),(0,o.createVNode)("td",So,[(0,o.createVNode)("i",{class:["fas fa-circle mr-2","正常"===e.State?"text-emerald-500":"受限"===e.State?"text-orange-500":"text-red-500"]},null,2),(0,o.createTextVNode)(" "+(0,o.toDisplayString)(e.State),1)]),(0,o.createVNode)("td",To,[(0,o.createVNode)("div",Bo,[(0,o.createVNode)("span",Do,(0,o.toDisplayString)(e.Usage),1),(0,o.createVNode)("div",Fo,[(0,o.createVNode)("div",{class:["overflow-hidden h-2 text-xs flex rounded",e.Usage<400?"bg-emerald-200":"bg-red-200"]},[(0,o.createVNode)("div",{style:"width: ".concat(e.Usage/600*100,"%;"),class:["shadow-none flex flex-col text-center whitespace-nowrap text-white justify-center",e.Usage<400?"bg-emerald-500":"bg-red-500"]},null,6)],2)])])]),(0,o.createVNode)("td",Po,[(0,o.createVNode)("button",{onClick:function(t){return s.delToken(e.Token)},class:"bg-red-500 text-white active:bg-red-600 font-bold uppercase text-xs px-4 py-2 rounded shadow hover:shadow-md outline-none focus:outline-none mr-1 ease-linear transition-all duration-150",type:"button"}," 删除 ",8,["onClick"])])])})),128))])])])])]),Ao,(0,o.createVNode)("div",Mo,[(0,o.createVNode)("div",Uo,[(0,o.createVNode)("div",Lo,[zo,(0,o.withDirectives)((0,o.createVNode)("textarea",{"onUpdate:modelValue":t[36]||(t[36]=function(e){return r.chatConfig.blockWords=e}),type:"text",class:"border-0 px-3 py-3 placeholder-blueGray-300 text-blueGray-600 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full ease-linear transition-all duration-150"},null,512),[[o.vModelText,r.chatConfig.blockWords]])]),(0,o.createVNode)("div",Oo,[Zo,(0,o.withDirectives)((0,o.createVNode)("textarea",{"onUpdate:modelValue":t[37]||(t[37]=function(e){return r.chatConfig.promptBlockWords=e}),type:"text",class:"border-0 px-3 py-3 placeholder-blueGray-300 text-blueGray-600 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full ease-linear transition-all duration-150"},null,512),[[o.vModelText,r.chatConfig.promptBlockWords]])])])])])])])}a(69600),a(34553),a(40561);var Io={class:"px-4 py-5 flex-auto"},qo={class:"tab-content tab-space"};function Wo(e,t,a,l,r,s){return(0,o.openBlock)(),(0,o.createBlock)("div",null,[(0,o.createVNode)("a",{class:"py-1 px-3 text-xs",href:"#pablo",ref:"btnDropdownRef",onClick:t[1]||(t[1]=function(e){return s.toggleDropdown(e)})},(0,o.toDisplayString)(a.modelValue.substring(0,60))+"... ",513),(0,o.createVNode)("div",{ref:"popoverDropdownRef",class:[{hidden:!r.dropdownPopoverShow,block:r.dropdownPopoverShow},"relative flex flex-col min-w-0 break-words bg-white w-1/2 mb-6 shadow-lg rounded"]},[(0,o.createVNode)("div",Io,[(0,o.createVNode)("div",qo,[(0,o.createVNode)("textarea",{value:a.modelValue,onInput:t[2]||(t[2]=function(t){return e.$emit("update:modelValue",t.target.value)}),type:"text",class:"border-0 px-3 py-3 placeholder-blueGray-300 text-blueGray-600 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full ease-linear transition-all duration-150"},null,40,["value"])])])],2)])}var $o=a(17211),_o={props:["modelValue"],emits:["update:modelValue"],data:function(){return{dropdownPopoverShow:!1}},methods:{toggleDropdown:function(e){e.preventDefault(),this.dropdownPopoverShow?this.dropdownPopoverShow=!1:(this.dropdownPopoverShow=!0,(0,$o.fi)(this.$refs.btnDropdownRef,this.$refs.popoverDropdownRef,{placement:"bottom-start"}))}}};const Eo=(0,n.Z)(_o,[["render",Wo]]);var Yo=Eo,Qo={data:function(){return{chatConfig:{blockWords:"",promptBlockWords:"",version:"",imgOcr:!0,defaultUsePicture:!1,defaultUseTTS:!1,alsoSendText:!1,autoUsePicture:!0,autoUsePictureThreshold:1200,ttsAutoFallbackThreshold:299,quoteReply:!0,showQRCode:!0,cacheUrl:"https://content.alcedogroup.com",cacheEntry:!1,defaultTTSRole:"随机",conversationPreserveTime:0,toggleMode:"at",allowOtherMode:!0,drawCD:30,enableDraw:!0,proxy:"",debug:!0,ttsSpace:"",huggingFaceReverseProxy:"",noiseScale:.6,noiseScaleW:.668,lengthScale:1.2,defaultTimeoutMs:12e4,chromeTimeoutMS:12e4,sydneyFirstMessageTimeout:4e4,emojiBaseURL:"https://www.gstatic.com/android/keyboard/emojikitchen"},redisConfig:{bingTokens:[],turnConfirm:!0},modeopenTab:1,newBingToken:"",defaultTTSRole_selectClassData:["特别周","无声铃鹿","东海帝皇(帝宝,帝王)","丸善斯基","富士奇迹","小栗帽","黄金船","伏特加","大和赤骥","大树快车","草上飞","菱亚马逊","目白麦昆","神鹰","好歌剧","成田白仁","鲁道夫象征(皇帝)","气槽","爱丽数码","星云天空","玉藻十字","美妙姿势","琵琶晨光","摩耶重炮","曼城茶座","美浦波旁","目白赖恩","菱曙","雪中美人","米浴","艾尼斯风神","爱丽速子(爱丽快子)","爱慕织姬","稻荷一","胜利奖券","空中神宫","荣进闪耀","真机伶","川上公主","黄金城(黄金城市)","樱花进王","采珠","新光风","东商变革","超级小海湾","醒目飞鹰(寄寄子)","荒漠英雄","东瀛佐敦","中山庆典","成田大进","西野花","春丽(乌拉拉)","青竹回忆","微光飞驹","美丽周日","待兼福来","mr cb(cb先生)","名将怒涛(名将户仁)","目白多伯","优秀素质","帝王光辉","待兼诗歌剧","生野狄杜斯","目白善信","大拓太阳神","双涡轮(两立直,两喷射,二锅头,逆喷射)","里见光钻(萨托诺金刚石)","北部玄驹","樱花千代王","天狼星象征","目白阿尔丹","八重无敌","鹤丸刚志","目白光明","成田拜仁(成田路)","也文摄辉","小林历奇","北港火山","奇锐骏","苦涩糖霜","小小蚕茧","骏川手纲(绿帽恶魔)","秋川弥生(小小理事长)","乙名史悦子(乙名记者)","桐生院葵","安心泽刺刺美","樫本理子","神里绫华(龟龟)","琴","空(空哥)","丽莎","荧(荧妹)","芭芭拉","凯亚","迪卢克","雷泽","安柏","温迪","香菱","北斗","行秋","魈","凝光","可莉","钟离","菲谢尔(皇女)","班尼特","达达利亚(公子)","诺艾尔(女仆)","七七","重云","甘雨(椰羊)","阿贝多","迪奥娜(猫猫)","莫娜","刻晴","砂糖","辛焱","罗莎莉亚","胡桃","枫原万叶(万叶)","烟绯","宵宫","托马","优菈","雷电将军(雷神)","早柚","珊瑚宫心海(心海,扣扣米)","五郎","九条裟罗","荒泷一斗(一斗)","埃洛伊","申鹤","八重神子(神子)","神里绫人(绫人)","夜兰","久岐忍","鹿野苑平藏","提纳里","柯莱","多莉","云堇","纳西妲(草神)","深渊使徒","妮露","赛诺","债务处理人","坎蒂丝","真弓快车","秋人","望族","艾尔菲","艾莉丝","艾伦","阿洛瓦","天野","天目十五","愚人众-安德烈","安顺","安西","葵","青木","荒川幸次","荒谷","有泽","浅川","麻美","凝光助手","阿托","竺子","百识","百闻","百晓","白术","贝雅特丽奇","丽塔","失落迷迭","缭乱星棘","伊甸","伏特加女孩","狂热蓝调","莉莉娅","萝莎莉娅","八重樱","八重霞","卡莲","第六夜想曲","卡萝尔","姬子","极地战刃","布洛妮娅","次生银翼","理之律者%26希儿","理之律者","迷城骇兔","希儿","魇夜星渊","黑希儿","帕朵菲莉丝","不灭星锚","天元骑英","幽兰黛尔","派蒙bh3","爱酱","绯玉丸","德丽莎","月下初拥","朔夜观星","暮光骑士","格蕾修","留云借风真君","梅比乌斯","仿犹大","克莱因","圣剑幽兰黛尔","妖精爱莉","特斯拉zero","苍玄","若水","西琳","戴因斯雷布","贝拉","赤鸢","镇魂歌","渡鸦","人之律者","爱莉希雅","天穹游侠","琪亚娜","空之律者","薪炎之律者","云墨丹心","符华","识之律者","特瓦林","维尔薇","芽衣","雷之律者","断罪影舞","阿波尼亚","榎本","厄尼斯特","恶龙","范二爷","法拉","愚人众士兵","愚人众士兵a","愚人众士兵b","愚人众士兵c","愚人众a","愚人众b","飞飞","菲利克斯","女性跟随者","逢岩","摆渡人","狂躁的男人","奥兹","芙萝拉","跟随者","蜜汁生物","黄麻子","渊上","藤木","深见","福本","芙蓉","古泽","古田","古山","古谷昇","傅三儿","高老六","矿工冒","元太","德安公","茂才公","杰拉德","葛罗丽","金忽律","公俊","锅巴","歌德","阿豪","狗三儿","葛瑞丝","若心","阿山婆","怪鸟","广竹","观海","关宏","蜜汁卫兵","守卫1","傲慢的守卫","害怕的守卫","贵安","盖伊","阿创","哈夫丹","日语阿贝多(野岛健儿)","日语埃洛伊(高垣彩阳)","日语安柏(石见舞菜香)","日语神里绫华(早见沙织)","日语神里绫人(石田彰)","日语白术(游佐浩二)","日语芭芭拉(鬼头明里)","日语北斗(小清水亚美)","日语班尼特(逢坂良太)","日语坎蒂丝(柚木凉香)","日语重云(齐藤壮马)","日语柯莱(前川凉子)","日语赛诺(入野自由)","日语戴因斯雷布(津田健次郎)","日语迪卢克(小野贤章)","日语迪奥娜(井泽诗织)","日语多莉(金田朋子)","日语优菈(佐藤利奈)","日语菲谢尔(内田真礼)","日语甘雨(上田丽奈)","日语(畠中祐)","日语鹿野院平藏(井口祐一)","日语空(堀江瞬)","日语荧(悠木碧)","日语胡桃(高桥李依)","日语一斗(西川贵教)","日语凯亚(鸟海浩辅)","日语万叶(岛崎信长)","日语刻晴(喜多村英梨)","日语可莉(久野美咲)","日语心海(三森铃子)","日语九条裟罗(濑户麻沙美)","日语丽莎(田中理惠)","日语莫娜(小原好美)","日语纳西妲(田村由加莉)","日语妮露(金元寿子)","日语凝光(大原沙耶香)","日语诺艾尔(高尾奏音)","日语奥兹(增谷康纪)","日语派蒙(古贺葵)","日语琴(斋藤千和)","日语七七(田村由加莉)","日语雷电将军(泽城美雪)","日语雷泽(内山昂辉)","日语罗莎莉亚(加隈亚衣)","日语早柚(洲崎绫)","日语散兵(柿原彻也)","日语申鹤(川澄绫子)","日语久岐忍(水桥香织)","日语女士(庄子裕衣)","日语砂糖(藤田茜)","日语达达利亚(木村良平)","日语托马(森田成一)","日语提纳里(小林沙苗)","日语温迪(村濑步)","日语香菱(小泽亚李)","日语魈(松冈祯丞)","日语行秋(皆川纯子)","日语辛焱(高桥智秋)","日语八重神子(佐仓绫音)","日语烟绯(花守由美里)","日语夜兰(远藤绫)","日语宵宫(植田佳奈)","日语云堇(小岩井小鸟)","日语钟离(前野智昭)","杰克","阿吉","江舟","鉴秋","嘉义","纪芳","景澄","经纶","景明","晋优","阿鸠","酒客","乔尔","乔瑟夫","约顿","乔伊斯","居安","君君","顺吉","纯也","重佐","大岛纯平","蒲泽","勘解由小路健三郎","枫","枫原义庆","荫山","甲斐田龍馬","海斗","惟神晴之介","鹿野奈奈","卡琵莉亚","凯瑟琳","加藤信悟","加藤洋平","胜家","茅葺一庆","和昭","一正","一道","桂一","庆次郎","阿贤","健司","健次郎","健三郎","天理","杀手a","杀手b","木南杏奈","木村","国王","木下","北村","清惠","清人","克列门特","骑士","小林","小春","康拉德","大肉丸","琴美","宏一","康介","幸德","高善","梢","克罗索","久保","九条镰治","久木田","昆钧","菊地君","久利须","黑田","黑泽京之介","响太","岚姐","兰溪","澜阳","劳伦斯","乐明","莱诺","莲","良子","李当","李丁","小乐","灵","小玲","琳琅a","琳琅b","小彬","小德","小楽","小龙","小吴","小吴的记忆","理正","阿龙","卢卡","洛成","罗巧","北风狼","卢正","萍姥姥","前田","真昼","麻纪","真","愚人众-马克西姆","女性a","女性b","女性a的跟随者","阿守","玛格丽特","真理","玛乔丽","玛文","正胜","昌信","将司","正人","路爷","老章","松田","松本","松浦","松坂","老孟","孟丹","商人随从","传令兵","米歇尔","御舆源一郎","御舆源次郎","千岩军教头","千岩军士兵","明博","明俊","美铃","美和","阿幸","削月筑阳真君","钱眼儿","森彦","元助","理水叠山真君","理水疊山真君","朱老板","木木","村上","村田","永野","长野原龙之介","长濑","中野志乃","菜菜子","楠楠","成濑","阿内","宁禄","牛志","信博","伸夫","野方","诺拉","纪香","诺曼","修女","纯水精灵","小川","小仓澪","冈林","冈崎绘里香","冈崎陆斗","奥拉夫","老科","鬼婆婆","小野寺","大河原五右卫门","大久保大介","大森","大助","奥特","派蒙","派蒙2","病人a","病人b","巴顿","派恩","朋义","围观群众","围观群众a","围观群众b","围观群众c","围观群众d","围观群众e","铜雀","阿肥","兴叔","老周叔","公主","彼得","乾子","芊芊","乾玮","绮命","杞平","秋月","昆恩","雷电影","兰道尔","雷蒙德","冒失的帕拉德","伶一","玲花","阿仁","家臣们","梨绘","荣江","戎世","浪人","罗伊斯","如意","凉子","彩香","酒井","坂本","朔次郎","武士a","武士b","武士c","武士d","珊瑚","三田","莎拉","笹野","聪美","聪","小百合","散兵","害怕的小刘","舒伯特","舒茨","海龙","世子","谢尔盖","家丁","商华","沙寅","阿升","柴田","阿茂","式大将","清水","志村勘兵卫","新之丞","志织","石头","诗羽","诗筠","石壮","翔太","正二","周平","舒杨","齐格芙丽雅","女士","思勤","六指乔瑟","愚人众小兵d","愚人众小兵a","愚人众小兵b","愚人众小兵c","吴老五","吴老二","滑头鬼","言笑","吴老七","士兵h","士兵i","士兵a","士兵b","士兵c","士兵d","士兵e","士兵f","士兵g","奏太","斯坦利","掇星攫辰天君","小头","大武","陶义隆","杉本","苏西","嫌疑人a","嫌疑人b","嫌疑人c","嫌疑人d","斯万","剑客a","剑客b","阿二","忠胜","忠夫","阿敬","孝利","鹰司进","高山","九条孝行","毅","竹内","拓真","卓也","太郎丸","泰勒","手岛","哲平","哲夫","托克","大boss","阿强","托尔德拉","旁观者","天成","阿大","蒂玛乌斯","提米","户田","阿三","一起的人","德田","德长","智树","利彦","胖乎乎的旅行者","藏宝人a","藏宝人b","藏宝人c","藏宝人d","阿祇","恒雄","露子","话剧团团长","内村","上野","上杉","老戴","老高","老贾","老墨","老孙","天枢星","老云","有乐斋","丑雄","乌维","瓦京","菲尔戈黛特","维多利亚","薇尔","瓦格纳","阿外","侍女","瓦拉","望雅","宛烟","琬玉","战士a","战士b","渡辺","渡部","阿伟","文璟","文渊","韦尔纳","王扳手","武沛","晓飞","辛程","星火","星稀","辛秀","秀华","阿旭","徐刘师","矢部","八木","山上","阿阳","颜笑","康明","泰久","安武","矢田幸喜","矢田辛喜","义坚","莺儿","盈丰","宜年","银杏","逸轩","横山","永贵","永业","嘉久","吉川","义高","用高","阳太","元蓉","玥辉","毓华","有香","幸也","由真","结菜","韵宁","百合","百合华","尤苏波夫","裕子","悠策","悠也","于嫣","柚子","老郑","正茂","志成","芷巧","知易","支支","周良","珠函","祝明","祝涛"]}},components:{TokenEdit:Yo},created:function(){this.getData()},methods:{getData:function(){var e=this;R.Z.post("".concat(window.location.origin,"/sysconfig")).then((function(t){"未登录"==t.data.err&&e.$router.push({path:"/auth/login"}),e.chatConfig=t.data.chatConfig,e.redisConfig=t.data.redisConfig,e.chatConfig.blockWords=t.data.chatConfig.blockWords.join(","),e.chatConfig.promptBlockWords=t.data.chatConfig.promptBlockWords.join(",")})).catch((function(e){console.log(e)}))},saveData:function(){R.Z.post("".concat(window.location.origin,"/saveconfig"),{chatConfig:this.chatConfig,redisConfig:this.redisConfig}).then((function(e){console.log(e)})).catch((function(e){console.log(e)}))},delToken:function(e){var t=this.redisConfig.bingTokens.findIndex((function(t){return t.Token===e}));-1!==t&&this.redisConfig.bingTokens.splice(t,1)},addToken:function(){var e=this,t=this.redisConfig.bingTokens.findIndex((function(t){return t.Token===e.newBingToken}));-1===t&&this.redisConfig.bingTokens.push({Token:this.newBingToken,State:"正常",Usage:0}),this.newBingToken=""},selectClass:function(e,t){this.chatConfig[e]=t.target.value},toggleTabs:function(e,t){this[e]=t}}};const Ho=(0,n.Z)(Qo,[["render",Ro]]);var Jo=Ho,Ko={components:{CardSettings:Jo}};const Xo=(0,n.Z)(Ko,[["render",pt]]);var el=Xo,tl={class:"container mx-auto px-4 h-full"},al={class:"flex content-center items-center justify-center h-full"},ol={class:"w-full lg:w-6/12 px-4"},ll={class:"relative flex flex-col min-w-0 break-words w-full mb-6 shadow-lg rounded-lg bg-blueGray-200 border-0"},rl=(0,o.createVNode)("div",{class:"rounded-t mb-0 px-6 py-6"},[(0,o.createVNode)("div",{class:"text-center mb-3"},[(0,o.createVNode)("h6",{class:"text-blueGray-500 text-sm font-bold"}," 系统登录 ")]),(0,o.createVNode)("hr",{class:"mt-6 border-b-1 border-blueGray-300"})],-1),sl={class:"flex-auto px-4 lg:px-10 py-10 pt-0"},nl=(0,o.createVNode)("div",{class:"text-blueGray-400 text-center mb-3 font-bold"},[(0,o.createVNode)("small",null,[(0,o.createTextVNode)("首次使用时请先私聊机器人 "),(0,o.createVNode)("span",null,"#设置(用户/管理)密码"),(0,o.createTextVNode)(" 设置密码")])],-1),cl={key:0,class:"text-red-400 text-center mb-3 font-bold"},dl={class:"relative w-full mb-3"},il=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," QQ号 (管理员请使用机器人qq号) ",-1),ul={class:"relative w-full mb-3"},pl=(0,o.createVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 密码 ",-1),bl={class:"text-center mt-6"};function xl(e,t,a,l,r,s){return(0,o.openBlock)(),(0,o.createBlock)("div",tl,[(0,o.createVNode)("div",al,[(0,o.createVNode)("div",ol,[(0,o.createVNode)("div",ll,[rl,(0,o.createVNode)("div",sl,[nl,r.loginerr?((0,o.openBlock)(),(0,o.createBlock)("div",cl,[(0,o.createVNode)("small",null,(0,o.toDisplayString)(r.loginerr),1)])):(0,o.createCommentVNode)("",!0),(0,o.createVNode)("form",null,[(0,o.createVNode)("div",dl,[il,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[1]||(t[1]=function(e){return r.qq=e}),type:"email",class:"border-0 px-3 py-3 placeholder-blueGray-300 text-blueGray-600 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full ease-linear transition-all duration-150",placeholder:"QQ"},null,512),[[o.vModelText,r.qq]])]),(0,o.createVNode)("div",ul,[pl,(0,o.withDirectives)((0,o.createVNode)("input",{"onUpdate:modelValue":t[2]||(t[2]=function(e){return r.passwd=e}),type:"password",class:"border-0 px-3 py-3 placeholder-blueGray-300 text-blueGray-600 bg-white rounded text-sm shadow focus:outline-none focus:ring w-full ease-linear transition-all duration-150",placeholder:"Password"},null,512),[[o.vModelText,r.passwd]])]),(0,o.createVNode)("div",bl,[(0,o.createVNode)("button",{onClick:t[3]||(t[3]=function(){return s.login&&s.login.apply(s,arguments)}),class:"bg-blueGray-800 text-white active:bg-blueGray-600 text-sm font-bold uppercase px-6 py-3 rounded shadow hover:shadow-lg outline-none focus:outline-none mr-1 mb-1 w-full ease-linear transition-all duration-150",type:"button"}," 登录 ")])])])])])])])}var fl=a(88495),ml=a.n(fl),hl={data:function(){return{qq:"",passwd:"",loginerr:""}},methods:{login:function(){var e=this;R.Z.post("".concat(window.location.origin,"/login"),{qq:this.qq,passwd:ml()(this.passwd)}).then((function(t){t.data.login?(localStorage.setItem("token",t.headers["Set-Cookie"]),e.$router.push({path:"admin"===t.data.autho?"/admin/settings":"/admin"})):(e.qq="",e.passwd="",e.loginerr=t.data.err)})).catch((function(t){e.loginerr=t.message,console.log(t)}))}}};const gl=(0,n.Z)(hl,[["render",xl]]);var wl=gl,vl=(0,o.createVNode)("section",{class:"pb-16 relative block bg-blueGray-800"},null,-1),yl={class:"pb-20 bg-blueGray-200 -mt-24"},Vl={class:"container mx-auto px-4"},Nl=(0,o.createVNode)("div",{class:"flex flex-wrap"},null,-1),kl={class:"flex flex-wrap items-center mt-32"},Cl={class:"text-blueGray-500 p-3 text-center inline-flex items-center justify-center w-16 h-16 mb-6 shadow-lg rounded-full bg-white"},Gl={key:1,class:"fas fa-user-friends text-xl"},jl={class:"text-3xl mb-2 font-semibold leading-normal"},Sl={key:0,class:"w-full lg:w-3/12 px-4 mr-auto ml-auto"},Tl={class:"relative flex flex-col min-w-0 break-words bg-white w-full mb-2 shadow-lg rounded-lg items-center"},Bl={class:"mt-4"},Dl={class:"relative p-4 mb-1"},Fl=(0,o.createVNode)("h4",{class:"text-xl text-center font-bold"}," 访问代码 ",-1),Pl={class:"text-md text-center font-light mt-2"},Al={class:"relative py-20"},Ml=(0,o.createVNode)("div",{class:"bottom-auto top-0 left-0 right-0 w-full absolute pointer-events-none overflow-hidden -mt-20 h-20",style:{transform:"translateZ(0)"}},[(0,o.createVNode)("svg",{class:"absolute bottom-0 overflow-hidden",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",version:"1.1",viewBox:"0 0 2560 100",x:"0",y:"0"},[(0,o.createVNode)("polygon",{class:"text-white fill-current",points:"2560 0 2560 100 0 100"})])],-1),Ul={class:"container mx-auto px-4"},Ll={class:"items-center flex flex-wrap"},zl={class:"w-full md:w-12/12 ml-auto mr-auto px-4"},Ol={class:"md:pr-12"},Zl={class:"text-emerald-600 p-3 text-center inline-flex items-center justify-center w-16 h-16 mb-6 shadow-lg rounded-full bg-emerald-300"},Rl={key:1,class:"fas fa-comment text-xl"},Il={class:"text-3xl font-semibold"},ql={class:"w-full md:w-12/12 ml-auto mr-auto px-4"},Wl={class:"list-none mt-6"},$l={class:"flex items-center"},_l=(0,o.createVNode)("div",null,[(0,o.createVNode)("span",{class:"text-xs font-semibold inline-block py-1 px-2 uppercase rounded-full text-emerald-600 bg-emerald-200 mr-3"},[(0,o.createVNode)("i",{class:"fas fa-info"})])],-1),El={class:"text-blueGray-500"},Yl={class:"text-xs font-semibold inline-block py-1 px-4 mx-4 uppercase rounded text-lightBlue-600 bg-lightBlue-200 uppercase last:mr-0 mr-1"};function Ql(e,t,a,l,r,s){var n=(0,o.resolveComponent)("navbar"),c=(0,o.resolveComponent)("v-md-preview"),d=(0,o.resolveComponent)("qrcode-vue"),i=(0,o.resolveComponent)("footer-small");return(0,o.openBlock)(),(0,o.createBlock)("div",null,[(0,o.createVNode)(n,{group:r.group,time:r.time},null,8,["group","time"]),(0,o.createVNode)("main",null,[vl,(0,o.createVNode)("section",yl,[(0,o.createVNode)("div",Vl,[Nl,(0,o.createVNode)("div",kl,[(0,o.createVNode)("div",{class:"w-full lg:w-".concat("true"===this.$route.query.qr?9:12,"/12 px-4 mr-auto ml-auto mb-4")},[(0,o.createVNode)("div",Cl,[r.userImg?((0,o.openBlock)(),(0,o.createBlock)("img",{key:0,src:r.userImg,class:"shadow-lg rounded-full mx-auto max-w-100-px"},null,8,["src"])):((0,o.openBlock)(),(0,o.createBlock)("i",Gl))]),(0,o.createVNode)("h3",jl,(0,o.toDisplayString)(r.user),1),(0,o.createVNode)(c,{class:"mdcode whitespace-pre-wrap break-all",text:r.question},null,8,["text"])],2),"true"===this.$route.query.qr?((0,o.openBlock)(),(0,o.createBlock)("div",Sl,[(0,o.createVNode)("div",Tl,[(0,o.createVNode)("div",Bl,[(0,o.createVNode)(d,{value:r.herf,size:150},null,8,["value"])]),(0,o.createVNode)("blockquote",Dl,[Fl,(0,o.createVNode)("p",Pl,(0,o.toDisplayString)(this.$route.params.code),1)])])])):(0,o.createCommentVNode)("",!0)])])]),(0,o.createVNode)("section",Al,[Ml,(0,o.createVNode)("div",Ul,[(0,o.createVNode)("div",Ll,[(0,o.createVNode)("div",zl,[(0,o.createVNode)("div",Ol,[(0,o.createVNode)("div",Zl,[r.botImg?((0,o.openBlock)(),(0,o.createBlock)("img",{key:0,src:r.botImg,class:"shadow-lg rounded-full mx-auto max-w-100-px"},null,8,["src"])):((0,o.openBlock)(),(0,o.createBlock)("i",Rl))]),(0,o.createVNode)("h3",Il,(0,o.toDisplayString)(r.bot),1),(0,o.createVNode)(c,{class:"mdcode whitespace-pre-wrap break-all",text:r.message},null,8,["text"])])]),((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(r.images,(function(e){return(0,o.openBlock)(),(0,o.createBlock)("div",{class:"w-full md:w-".concat(e.size||12,"/12 ml-auto mr-auto px-4 pb-4"),key:e},[(0,o.createVNode)("img",{class:"max-w-full rounded-lg shadow-lg",src:e.src},null,8,["src"])],2)})),128)),(0,o.createVNode)("div",ql,[(0,o.createVNode)("ul",Wl,[((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(r.quote,(function(e){return(0,o.openBlock)(),(0,o.createBlock)("li",{class:"py-2",key:e},[(0,o.createVNode)("div",$l,[_l,(0,o.createVNode)("div",null,[(0,o.createVNode)("h4",El,[(0,o.createVNode)("a",{href:e.url},(0,o.toDisplayString)(e.text.length>30?e.text.substr(1,30)+"...":e.text),9,["href"])])])])])})),128))])]),((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(r.suggest,(function(e){return(0,o.openBlock)(),(0,o.createBlock)("div",{class:"flex flex-wrap mt-10",key:e},[(0,o.createVNode)("span",Yl,(0,o.toDisplayString)(e),1)])})),128))])])])]),(0,o.createVNode)(i)])}a(21249);var Hl={class:"top-0 absolute z-50 w-full flex flex-wrap items-center justify-between px-2 py-3 navbar-expand-lg"},Jl={class:"container px-4 mx-auto flex flex-wrap items-center justify-between"},Kl={class:"relative flex justify-between lg:w-auto lg:static lg:block lg:justify-start"},Xl=(0,o.createTextVNode)(" ChatGPT-Plugin "),er={class:"flex flex-grow items-center bg-opacity-0 lg:shadow-none"},tr={class:"flex flex-col flex-row list-none ml-auto"},ar={key:0,class:"text-teal-500 flex items-center mr-4"},or={class:"text-teal-500 flex items-center mr-4"};function lr(e,t,a,l,r,s){var n=(0,o.resolveComponent)("router-link");return(0,o.openBlock)(),(0,o.createBlock)("nav",Hl,[(0,o.createVNode)("div",Jl,[(0,o.createVNode)("div",Kl,[(0,o.createVNode)(n,{class:"text-white text-sm font-bold leading-relaxed inline-block mr-4 py-2 whitespace-nowrap uppercase",to:"/"},{default:(0,o.withCtx)((function(){return[Xl]})),_:1})]),(0,o.createVNode)("div",er,[(0,o.createVNode)("ul",tr,[a.group?((0,o.openBlock)(),(0,o.createBlock)("li",ar," 来自群: "+(0,o.toDisplayString)(a.group),1)):(0,o.createCommentVNode)("",!0),(0,o.createVNode)("li",or," 时间:"+(0,o.toDisplayString)(s.dateFormat(a.time)),1)])])])])}var rr={props:["group","time"],data:function(){return{navbarOpen:!1}},methods:{setNavbarOpen:function(){this.navbarOpen=!this.navbarOpen},dateFormat:function(e){var t=e?new Date(e):new Date,a=t.getFullYear(),o=t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1,l=t.getDate()<10?"0"+t.getDate():t.getDate(),r=t.getHours()<10?"0"+t.getHours():t.getHours(),s=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes();return a+"年"+o+"月"+l+"日 "+r+":"+s}}};const sr=(0,n.Z)(rr,[["render",lr]]);var nr=sr,cr={class:"pb-6 relative"},dr={class:"container mx-auto px-4"},ir=(0,o.createVNode)("hr",{class:"mb-6 border-b-1 border-blueGray-600"},null,-1),ur={class:"flex flex-wrap items-center md:justify-between justify-center"},pr={class:"w-full md:w-12/12 px-4"},br={class:"text-sm text-blueGray-500 font-semibold py-1 text-center md:text-left"},xr=(0,o.createVNode)("a",{href:"https://github.com/ikechan8370/chatgpt-plugin",class:"text-emerald-600 hover:text-blueGray-300 text-sm font-semibold py-1"}," chatgpt-plugin ",-1),fr=(0,o.createTextVNode)(" by Creative ikechan8370 ");function mr(e,t,a,l,r,s){return(0,o.openBlock)(),(0,o.createBlock)("footer",cr,[(0,o.createVNode)("div",dr,[ir,(0,o.createVNode)("div",ur,[(0,o.createVNode)("div",pr,[(0,o.createVNode)("div",br,[(0,o.createTextVNode)(" Copyright © "+(0,o.toDisplayString)(r.date)+" ",1),xr,fr])])])])])}var hr={data:function(){return{date:(new Date).getFullYear()}}};const gr=(0,n.Z)(hr,[["render",mr]]);var wr=gr,vr=a(47929),yr=a(52300),Vr={data:function(){return{user:"",userImg:"",bot:"",botImg:"",question:"",message:"",group:"",quote:[],images:[],herf:"",time:"",suggest:[]}},components:{Navbar:nr,FooterSmall:wr,QrcodeVue:vr.Z},created:function(){this.getData()},methods:{getData:function(){var e=this;R.Z.post("".concat(window.location.origin,"/page"),{code:this.$route.params.code}).then((function(t){e.user=t.data.user,e.userImg=t.data.userImg,e.bot=t.data.bot,e.botImg=t.data.botImg,e.question=yr.DS.decode(t.data.question),e.message=yr.DS.decode(t.data.message),e.quote=t.data.quote,e.images=t.data.images.map((function(e){return{size:12,src:e}})),e.suggest=t.data.suggest,e.group=t.data.group,e.herf=t.data.herf,e.time=t.data.time})).catch((function(t){e.$router.push({path:"/page",query:{code:e.$route.params.code,error:t}})}))}}};const Nr=(0,n.Z)(Vr,[["render",Ql]]);var kr=Nr,Cr={class:"header relative flex"},Gr={class:"container md:md-40 mx-auto pt-20"},jr=(0,o.createVNode)("div",{class:"w-full md:w-8/12 lg:w-6/12 xl:w-6/12 px-4"},[(0,o.createVNode)("h2",{class:"font-semibold text-4xl text-blueGray-600"}," 使用帮助 ")],-1),Sr={class:"flex flex-wrap items-center"},Tr={class:"w-full md:w-6/12 px-4"},Br={class:"flex flex-wrap"},Dr={class:"relative flex flex-col"},Fr={class:"text-blueGray-500 p-3 text-center inline-flex items-center justify-center w-12 h-12 mb-5 shadow-lg rounded-full bg-white"},Pr={class:"text-xl mb-1 font-semibold"},Ar={key:0,class:"text-xs font-semibold inline-block py-1 px-2 uppercase rounded text-orange-600 bg-orange-200 uppercase last:mr-0 mr-1"},Mr={class:"text-blueGray-500"},Ur=(0,o.createStaticVNode)('<ul class="list-none"><li class="py-2"><div class="flex items-center"><div><span class="text-xs font-semibold inline-block py-1 px-2 uppercase rounded-full text-blueGray-500 bg-blueGray-50 mr-3"><i class="fas fa-info"></i></span></div><div><h4 class="text-blueGray-500"> 输入 <span class="text-xs font-semibold inline-block py-1 px-2 uppercase rounded text-blueGray-600 bg-blueGray-200 uppercase last:mr-0 mr-1"> #帮助-[功能] </span> 获取对应功能的帮助 </h4></div></div></li><li class="py-2"><div class="flex items-center"><div><span class="text-xs font-semibold inline-block py-1 px-2 uppercase rounded-full text-blueGray-500 bg-blueGray-50 mr-3"><i class="fas fa-info"></i></span></div><div><h4 class="text-blueGray-500"> 系统配置推荐使用 <span class="text-xs font-semibold inline-block py-1 px-2 uppercase rounded text-blueGray-600 bg-blueGray-200 uppercase last:mr-0 mr-1"> 锅巴面板 </span> 进行操作 </h4></div></div></li></ul>',1),Lr={key:0,class:"mt-48 md:mt-40 pb-16 relative bg-blueGray-100"},zr=(0,o.createVNode)("div",{class:"-mt-20 top-0 bottom-auto left-0 right-0 w-full absolute h-20",style:{transform:"translateZ(0)"}},[(0,o.createVNode)("svg",{class:"absolute bottom-0 overflow-hidden",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",version:"1.1",viewBox:"0 0 2560 100",x:"0",y:"0"},[(0,o.createVNode)("polygon",{class:"text-blueGray-100 fill-current",points:"2560 0 2560 100 0 100"})])],-1),Or={class:"justify-center text-center flex flex-wrap mt-24"},Zr={class:"w-full px-12 md:px-4"},Rr={class:"font-semibold text-4xl"},Ir={class:"container mx-auto px-4 pt-16"},qr={class:"items-center flex flex-wrap"},Wr={class:"md:pr-12"},$r={class:"text-3xl font-semibold"},_r={key:0,class:"text-xs font-semibold inline-block py-1 px-2 rounded text-orange-600 bg-orange-200 last:mr-0 mr-1"},Er={class:"block pb-3"};function Yr(e,t,a,l,r,s){var n=(0,o.resolveComponent)("index-navbar"),c=(0,o.resolveComponent)("router-link"),d=(0,o.resolveComponent)("v-md-preview"),i=(0,o.resolveComponent)("footer-small");return(0,o.openBlock)(),(0,o.createBlock)("div",null,[(0,o.createVNode)(n),(0,o.createVNode)("section",Cr,[(0,o.createVNode)("div",Gr,[jr,(0,o.createVNode)("div",Sr,[(0,o.createVNode)("div",Tr,[(0,o.createVNode)("div",Br,[(0,o.createVNode)("div",Dr,[((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(r.helpIndexList,(function(e){return(0,o.openBlock)(),(0,o.createBlock)("div",{class:"px-4 py-5 flex-auto",key:e.title},[(0,o.createVNode)("div",Fr,[(0,o.createVNode)("i",{class:e.icon},null,2)]),(0,o.createVNode)(c,{to:"/help/".concat(e.title)},{default:(0,o.withCtx)((function(){return[(0,o.createVNode)("h6",Pr,[(0,o.createTextVNode)((0,o.toDisplayString)(e.title)+" ",1),e.tip?((0,o.openBlock)(),(0,o.createBlock)("span",Ar,(0,o.toDisplayString)(e.tip),1)):(0,o.createCommentVNode)("",!0)])]})),_:2},1032,["to"]),(0,o.createVNode)("p",Mr,(0,o.toDisplayString)(e.text),1)])})),128))])])])]),Ur]),(0,o.createVNode)("img",{class:"absolute top-0 b-auto right-0 pt-16 sm:w-6/12 -mt-48 sm:mt-0 w-10/12 max-h-860-px",src:r.patternVue,alt:"..."},null,8,["src"])]),this.$route.params.use?((0,o.openBlock)(),(0,o.createBlock)("section",Lr,[zr,(0,o.createVNode)("div",Or,[(0,o.createVNode)("div",Zr,[(0,o.createVNode)("h2",Rr,(0,o.toDisplayString)(this.$route.params.use),1)])]),(0,o.createVNode)("div",Ir,[(0,o.createVNode)("div",qr,[((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(r.helpList,(function(e){return(0,o.openBlock)(),(0,o.createBlock)("div",{class:"w-full mb-6 ml-auto px-12 md:px-4",key:e.title},[(0,o.createVNode)("div",Wr,[(0,o.createVNode)("h3",$r,[(0,o.createVNode)("i",{class:"".concat(e.icon," text-xl")},null,2),(0,o.createTextVNode)(" "+(0,o.toDisplayString)(e.title)+" ",1),e.tip?((0,o.openBlock)(),(0,o.createBlock)("span",_r,(0,o.toDisplayString)(e.tip),1)):(0,o.createCommentVNode)("",!0)]),(0,o.createVNode)(d,{class:"mt-4",text:e.text},null,8,["text"]),(0,o.createVNode)("div",Er,[((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(e.list,(function(e){return(0,o.openBlock)(),(0,o.createBlock)("span",{key:e,class:"font-semibold inline-block py-1 px-2 rounded-full text-blueGray-500 bg-white last:mr-0 mr-2 mt-2"},(0,o.toDisplayString)(e),1)})),128))])])])})),128))])])])):(0,o.createCommentVNode)("",!0),(0,o.createVNode)(i,{class:"mt-32"})])}var Qr={class:"top-0 fixed z-50 w-full flex flex-wrap items-center justify-between px-2 py-3 navbar-expand-lg bg-white shadow"},Hr={class:"container px-4 mx-auto flex flex-wrap items-center justify-between"},Jr={class:"w-full relative flex justify-between lg:w-auto lg:static lg:block lg:justify-start"},Kr=(0,o.createVNode)("a",{class:"text-blueGray-700 text-sm font-bold leading-relaxed inline-block mr-4 py-2 whitespace-nowrap uppercase",href:"#pablo"}," ChatGPT-Plugin ",-1),Xr=(0,o.createVNode)("i",{class:"fas fa-bars"},null,-1),es=(0,o.createStaticVNode)('<ul class="flex flex-col lg:flex-row list-none mr-auto"><li class="flex items-center"><a class="hover:text-blueGray-500 text-blueGray-700 px-3 py-2 flex items-center text-xs uppercase font-bold" href="https://github.com/ikechan8370/chatgpt-plugin"><i class="text-blueGray-400 fab fa-github text-lg leading-lg mr-2"></i> 项目地址 </a></li></ul><ul class="flex flex-col lg:flex-row list-none lg:ml-auto"></ul>',2);function ts(e,t,a,l,r,s){var n=(0,o.resolveComponent)("router-link");return(0,o.openBlock)(),(0,o.createBlock)("nav",Qr,[(0,o.createVNode)("div",Hr,[(0,o.createVNode)("div",Jr,[(0,o.createVNode)(n,{to:"/"},{default:(0,o.withCtx)((function(){return[Kr]})),_:1}),(0,o.createVNode)("button",{class:"cursor-pointer text-xl leading-none px-3 py-1 border border-solid border-transparent rounded bg-transparent block lg:hidden outline-none focus:outline-none",type:"button",onClick:t[1]||(t[1]=function(){return s.setNavbarOpen&&s.setNavbarOpen.apply(s,arguments)})},[Xr])]),(0,o.createVNode)("div",{class:["lg:flex flex-grow items-center",[r.navbarOpen?"block":"hidden"]],id:"example-navbar-warning"},[es],2)])])}var as={data:function(){return{navbarOpen:!1}},methods:{setNavbarOpen:function(){this.navbarOpen=!this.navbarOpen}}};const os=(0,n.Z)(as,[["render",ts]]);var ls=os,rs=a.p+"img/pattern_vue.723fd347.png",ss={data:function(){return{patternVue:rs,helpIndexList:[{icon:"fas fa-comments",title:"AI聊天",text:"基于ChatGPT、必应、ChatGLM模型进行AI问答形式的聊天。"},{icon:"fas fa-paint-brush",title:"AI画图",text:"使用Dalle接口进行图片绘制和修改。"},{icon:"fas fa-wrench",title:"插件管理",text:"可快捷设置机器人的一些运行状态。",tip:"管理功能"},{icon:"fas fa-cogs",title:"系统设置",text:"可快捷设置机器人的一些运行参数。",tip:"管理功能"}],helpList:[]}},components:{IndexNavbar:ls,FooterSmall:wr},created:function(){this.getData()},methods:{getData:function(){var e=this;R.Z.post("".concat(window.location.origin,"/help"),{use:this.$route.params.use}).then((function(t){e.helpList=t.data})).catch((function(e){console.log(e)}))}}};const ns=(0,n.Z)(ss,[["render",Yr]]);var cs=ns,ds={class:"header relative pt-16 items-center flex h-screen max-h-860-px"},is={class:"container mx-auto items-center flex flex-wrap"},us={class:"w-full md:w-8/12 lg:w-6/12 xl:w-6/12 px-4"},ps={class:"pt-32 sm:pt-0"},bs=(0,o.createVNode)("h2",{class:"font-semibold text-4xl text-blueGray-600"}," 云崽ChatGPT插件 ",-1),xs=(0,o.createVNode)("p",{class:"mt-4 text-lg leading-relaxed text-blueGray-500"}," 当前页面发生错误,请联系服务管理人员检查后台错误信息! ",-1),fs={class:"mt-4 leading-relaxed text-blueGray-300"},ms={class:"mt-4 leading-relaxed text-blueGray-300"},hs=(0,o.createVNode)("section",{class:"mt-48 md:mt-40 pb-40 relative bg-blueGray-100"},[(0,o.createVNode)("div",{class:"-mt-20 top-0 bottom-auto left-0 right-0 w-full absolute h-20",style:{transform:"translateZ(0)"}},[(0,o.createVNode)("svg",{class:"absolute bottom-0 overflow-hidden",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",version:"1.1",viewBox:"0 0 2560 100",x:"0",y:"0"},[(0,o.createVNode)("polygon",{class:"text-blueGray-100 fill-current",points:"2560 0 2560 100 0 100"})])])],-1),gs=(0,o.createVNode)("section",{class:"pb-16 bg-blueGray-200 relative pt-32"},[(0,o.createVNode)("div",{class:"-mt-20 top-0 bottom-auto left-0 right-0 w-full absolute h-20",style:{transform:"translateZ(0)"}},[(0,o.createVNode)("svg",{class:"absolute bottom-0 overflow-hidden",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",version:"1.1",viewBox:"0 0 2560 100",x:"0",y:"0"},[(0,o.createVNode)("polygon",{class:"text-blueGray-200 fill-current",points:"2560 0 2560 100 0 100"})])])],-1);function ws(e,t,a,l,r,s){var n=(0,o.resolveComponent)("index-navbar");return(0,o.openBlock)(),(0,o.createBlock)("div",null,[(0,o.createVNode)(n),(0,o.createVNode)("section",ds,[(0,o.createVNode)("div",is,[(0,o.createVNode)("div",us,[(0,o.createVNode)("div",ps,[bs,xs,(0,o.createVNode)("p",fs," 页面代码:"+(0,o.toDisplayString)(this.$route.query.code),1),(0,o.createVNode)("p",ms,(0,o.toDisplayString)(this.$route.query.error),1)])])]),(0,o.createVNode)("img",{class:"absolute top-0 b-auto right-0 pt-16 sm:w-6/12 -mt-48 sm:mt-0 w-10/12 max-h-860-px",src:r.patternVue,alt:"..."},null,8,["src"])]),hs,gs])}var vs={data:function(){return{patternVue:rs}},components:{IndexNavbar:ls}};const ys=(0,n.Z)(vs,[["render",ws]]);var Vs=ys,Ns={class:"header relative pt-16 items-center flex h-screen max-h-860-px"},ks=(0,o.createStaticVNode)('<div class="container mx-auto items-center flex flex-wrap"><div class="w-full md:w-8/12 lg:w-6/12 xl:w-6/12 px-4"><div class="pt-32 sm:pt-0"><h2 class="font-semibold text-4xl text-blueGray-600"> 云崽ChatGPT插件 </h2><p class="mt-4 text-lg leading-relaxed text-blueGray-500"> 欢迎使用chatgpt-plugin插件 </p></div></div></div>',1),Cs=(0,o.createVNode)("section",{class:"pb-16 bg-blueGray-200 relative pt-32"},[(0,o.createVNode)("div",{class:"-mt-20 top-0 bottom-auto left-0 right-0 w-full absolute h-20",style:{transform:"translateZ(0)"}},[(0,o.createVNode)("svg",{class:"absolute bottom-0 overflow-hidden",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",version:"1.1",viewBox:"0 0 2560 100",x:"0",y:"0"},[(0,o.createVNode)("polygon",{class:"text-blueGray-200 fill-current",points:"2560 0 2560 100 0 100"})])])],-1);function Gs(e,t,a,l,r,s){var n=(0,o.resolveComponent)("index-navbar"),c=(0,o.resolveComponent)("footer-component");return(0,o.openBlock)(),(0,o.createBlock)("div",null,[(0,o.createVNode)(n),(0,o.createVNode)("section",Ns,[ks,(0,o.createVNode)("img",{class:"absolute top-0 b-auto right-0 pt-16 sm:w-6/12 -mt-48 sm:mt-0 w-10/12 max-h-860-px",src:r.patternVue,alt:"..."},null,8,["src"])]),Cs,(0,o.createVNode)(c)])}var js={class:"relative bg-blueGray-200 pt-8 pb-6"},Ss=(0,o.createVNode)("div",{class:"bottom-auto top-0 left-0 right-0 w-full absolute pointer-events-none overflow-hidden -mt-20 h-20",style:{transform:"translateZ(0)"}},[(0,o.createVNode)("svg",{class:"absolute bottom-0 overflow-hidden",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",version:"1.1",viewBox:"0 0 2560 100",x:"0",y:"0"},[(0,o.createVNode)("polygon",{class:"text-blueGray-200 fill-current",points:"2560 0 2560 100 0 100"})])],-1),Ts={class:"container mx-auto px-4"},Bs=(0,o.createStaticVNode)('<div class="flex flex-wrap text-center lg:text-left"><div class="w-full lg:w-6/12 px-4"><h4 class="text-3xl font-semibold">遇到问题?</h4><h5 class="text-lg mt-0 mb-2 text-blueGray-600"> 如果在使用过程中遇到问题,请来qq群559567232交流。 </h5></div><div class="w-full lg:w-6/12 px-4"><div class="flex flex-wrap items-top mb-6"><div class="w-full lg:w-4/12 px-4 ml-auto"><span class="block uppercase text-blueGray-500 text-sm font-semibold mb-2"> 相关链接 </span><ul class="list-unstyled"><li><a class="text-blueGray-600 hover:text-blueGray-800 font-semibold block pb-2 text-sm" href="https://gitee.com/yoimiya-kokomi/Miao-Yunzai"> Yunzai </a></li><li><a class="text-blueGray-600 hover:text-blueGray-800 font-semibold block pb-2 text-sm" href="https://gitee.com/yhArcadia/Yunzai-Bot-plugins-index"> 插件库 </a></li><li><a class="text-blueGray-600 hover:text-blueGray-800 font-semibold block pb-2 text-sm" href="https://gitee.com/guoba-yunzai/guoba-plugin"> 锅巴 </a></li></ul></div></div></div></div><hr class="my-6 border-blueGray-300">',2),Ds={class:"flex flex-wrap items-center md:justify-between justify-center"},Fs={class:"w-full md:w-6/12 px-6 mx-auto text-center"},Ps={class:"text-sm text-blueGray-500 font-semibold py-1"},As=(0,o.createVNode)("a",{href:"https://github.com/ikechan8370",class:"text-blueGray-500 hover:text-blueGray-800"}," Creative ikechan8370 ",-1),Ms=(0,o.createTextVNode)(" . ");function Us(e,t,a,l,r,s){return(0,o.openBlock)(),(0,o.createBlock)("footer",js,[Ss,(0,o.createVNode)("div",Ts,[Bs,(0,o.createVNode)("div",Ds,[(0,o.createVNode)("div",Fs,[(0,o.createVNode)("div",Ps,[(0,o.createTextVNode)(" Copyright © "+(0,o.toDisplayString)(r.date)+" chatgpt-plugin by ",1),As,Ms])])])])])}var Ls={data:function(){return{date:(new Date).getFullYear()}}};const zs=(0,n.Z)(Ls,[["render",Us]]);var Os=zs,Zs={data:function(){return{patternVue:rs}},components:{IndexNavbar:ls,FooterComponent:Os}};const Rs=(0,n.Z)(Zs,[["render",Gs]]);var Is=Rs,qs={class:"relative bg-blueGray-100"},Ws={class:"px-4 md:px-10 mx-auto w-full -m-24"},$s={class:"flex flex-wrap"},_s={class:"w-full xl:w-8/12 mb-12 xl:mb-0 px-4"},Es={class:"w-full xl:w-4/12 px-4"},Ys={class:"flex flex-wrap mt-4"},Qs={class:"w-full xl:w-8/12 mb-12 xl:mb-0 px-4"},Hs={class:"w-full xl:w-4/12 px-4"};function Js(e,t,a,l,r,s){var n=(0,o.resolveComponent)("admin-navbar"),c=(0,o.resolveComponent)("header-stats"),d=(0,o.resolveComponent)("card-line-chart"),i=(0,o.resolveComponent)("card-bar-chart"),u=(0,o.resolveComponent)("card-page-visits"),p=(0,o.resolveComponent)("card-social-traffic"),b=(0,o.resolveComponent)("footer-admin");return(0,o.openBlock)(),(0,o.createBlock)("div",null,[(0,o.createVNode)("div",qs,[(0,o.createVNode)(n),(0,o.createVNode)(c),(0,o.createVNode)("div",Ws,[(0,o.createVNode)("div",null,[(0,o.createVNode)("div",$s,[(0,o.createVNode)("div",_s,[(0,o.createVNode)(d)]),(0,o.createVNode)("div",Es,[(0,o.createVNode)(i)])]),(0,o.createVNode)("div",Ys,[(0,o.createVNode)("div",Qs,[(0,o.createVNode)(u)]),(0,o.createVNode)("div",Hs,[(0,o.createVNode)(p)])])]),(0,o.createVNode)(b)])])])}var Ks={class:"relative flex flex-col min-w-0 break-words bg-white w-full mb-6 shadow-lg rounded"},Xs=(0,o.createStaticVNode)('<div class="rounded-t mb-0 px-4 py-3 bg-transparent"><div class="flex flex-wrap items-center"><div class="relative w-full max-w-full flex-grow flex-1"><h6 class="uppercase text-blueGray-400 mb-1 text-xs font-semibold"> Performance </h6><h2 class="text-blueGray-700 text-xl font-semibold"> Total orders </h2></div></div></div><div class="p-4 flex-auto"><div class="relative h-350-px"><canvas id="bar-chart"></canvas></div></div>',2);function en(e,t,a,l,r,s){return(0,o.openBlock)(),(0,o.createBlock)("div",Ks,[Xs])}var tn={mounted:function(){this.$nextTick((function(){var e={type:"bar",data:{labels:["January","February","March","April","May","June","July"],datasets:[{label:(new Date).getFullYear(),backgroundColor:"#ed64a6",borderColor:"#ed64a6",data:[30,78,56,34,100,45,13],fill:!1,barThickness:8},{label:(new Date).getFullYear()-1,fill:!1,backgroundColor:"#4c51bf",borderColor:"#4c51bf",data:[27,68,86,74,10,4,87],barThickness:8}]},options:{maintainAspectRatio:!1,responsive:!0,title:{display:!1,text:"Orders Chart"},tooltips:{mode:"index",intersect:!1},hover:{mode:"nearest",intersect:!0},legend:{labels:{fontColor:"rgba(0,0,0,.4)"},align:"end",position:"bottom"},scales:{xAxes:[{display:!1,scaleLabel:{display:!0,labelString:"Month"},gridLines:{borderDash:[2],borderDashOffset:[2],color:"rgba(33, 37, 41, 0.3)",zeroLineColor:"rgba(33, 37, 41, 0.3)",zeroLineBorderDash:[2],zeroLineBorderDashOffset:[2]}}],yAxes:[{display:!0,scaleLabel:{display:!1,labelString:"Value"},gridLines:{borderDash:[2],drawBorder:!1,borderDashOffset:[2],color:"rgba(33, 37, 41, 0.2)",zeroLineColor:"rgba(33, 37, 41, 0.15)",zeroLineBorderDash:[2],zeroLineBorderDashOffset:[2]}}]}}},t=document.getElementById("bar-chart").getContext("2d");window.myBar=new(Re())(t,e)}))}};const an=(0,n.Z)(tn,[["render",en]]);var on=an,ln={class:"relative flex flex-col min-w-0 break-words bg-white w-full mb-6 shadow-lg rounded"},rn=(0,o.createStaticVNode)('<div class="rounded-t mb-0 px-4 py-3 border-0"><div class="flex flex-wrap items-center"><div class="relative w-full px-4 max-w-full flex-grow flex-1"><h3 class="font-semibold text-base text-blueGray-700"> Social traffic </h3></div><div class="relative w-full px-4 max-w-full flex-grow flex-1 text-right"><button class="bg-indigo-500 text-white active:bg-indigo-600 text-xs font-bold uppercase px-3 py-1 rounded outline-none focus:outline-none mr-1 mb-1 ease-linear transition-all duration-150" type="button"> See all </button></div></div></div><div class="block w-full overflow-x-auto"><table class="items-center w-full bg-transparent border-collapse"><thead class="thead-light"><tr><th class="px-6 bg-blueGray-50 text-blueGray-500 align-middle border border-solid border-blueGray-100 py-3 text-xs uppercase border-l-0 border-r-0 whitespace-nowrap font-semibold text-left"> Referral </th><th class="px-6 bg-blueGray-50 text-blueGray-500 align-middle border border-solid border-blueGray-100 py-3 text-xs uppercase border-l-0 border-r-0 whitespace-nowrap font-semibold text-left"> Visitors </th><th class="px-6 bg-blueGray-50 text-blueGray-500 align-middle border border-solid border-blueGray-100 py-3 text-xs uppercase border-l-0 border-r-0 whitespace-nowrap font-semibold text-left min-w-140-px"></th></tr></thead><tbody><tr><th class="border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4 text-left"> Facebook </th><td class="border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4"> 1,480 </td><td class="border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4"><div class="flex items-center"><span class="mr-2">60%</span><div class="relative w-full"><div class="overflow-hidden h-2 text-xs flex rounded bg-red-200"><div style="width:60%;" class="shadow-none flex flex-col text-center whitespace-nowrap text-white justify-center bg-red-500"></div></div></div></div></td></tr><tr><th class="border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4 text-left"> Facebook </th><td class="border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4"> 5,480 </td><td class="border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4"><div class="flex items-center"><span class="mr-2">70%</span><div class="relative w-full"><div class="overflow-hidden h-2 text-xs flex rounded bg-emerald-200"><div style="width:70%;" class="shadow-none flex flex-col text-center whitespace-nowrap text-white justify-center bg-emerald-500"></div></div></div></div></td></tr><tr><th class="border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4 text-left"> Google </th><td class="border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4"> 4,807 </td><td class="border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4"><div class="flex items-center"><span class="mr-2">80%</span><div class="relative w-full"><div class="overflow-hidden h-2 text-xs flex rounded bg-purple-200"><div style="width:80%;" class="shadow-none flex flex-col text-center whitespace-nowrap text-white justify-center bg-purple-500"></div></div></div></div></td></tr><tr><th class="border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4 text-left"> Instagram </th><td class="border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4"> 3,678 </td><td class="border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4"><div class="flex items-center"><span class="mr-2">75%</span><div class="relative w-full"><div class="overflow-hidden h-2 text-xs flex rounded bg-lightBlue-200"><div style="width:75%;" class="shadow-none flex flex-col text-center whitespace-nowrap text-white justify-center bg-lightBlue-500"></div></div></div></div></td></tr><tr><th class="border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4 text-left"> twitter </th><td class="border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4"> 2,645 </td><td class="border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4"><div class="flex items-center"><span class="mr-2">30%</span><div class="relative w-full"><div class="overflow-hidden h-2 text-xs flex rounded bg-orange-200"><div style="width:30%;" class="shadow-none flex flex-col text-center whitespace-nowrap text-white justify-center bg-emerald-500"></div></div></div></div></td></tr></tbody></table></div>',2);function sn(e,t){return(0,o.openBlock)(),(0,o.createBlock)("div",ln,[rn])}const nn={},cn=(0,n.Z)(nn,[["render",sn]]);var dn=cn,un={name:"statistics-page",components:{AdminNavbar:w,HeaderStats:W,FooterAdmin:ae,CardLineChart:We,CardBarChart:on,CardPageVisits:st,CardSocialTraffic:dn}};const pn=(0,n.Z)(un,[["render",Js]]);var bn=pn,xn=a(42104),fn=a.n(xn),mn=a(31986),hn=a.n(mn),gn=a(58043),wn=a(27543),vn=a(35245),yn=a(23375),Vn=a(28325),Nn=a.n(Vn);a(24335),a(15251),a(35433),a(49299),a(39980),a(86405),a(68758),a(35249),a(85795),a(47231),a(42273),a(44852),a(77533),a(35266),a(72594),a(18508),a(31093),a(25691),a(4279),a(2731),a(51849),a(73253),a(24029),a(57874),a(73358),a(24064),a(2481),a(10856),a(79016),a(54019),a(36972),a(36430),a(92776),a(24940),a(58060),a(639),a(84126),a(94446),a(53292),a(46428),a(27308),a(86043),a(69104),a(97861),a(24115),a(50331),a(15827),a(21275),a(76609),a(61354),a(86902),a(64681),a(4677),a(99114),a(5798),a(52812),a(44225),a(57649),a(46213),a(29467),a(4412),a(25867),a(74307),a(59385),a(18980),a(80871),a(97899),a(2946),a(30258),a(58149),a(57065),a(73162),a(90827),a(24370),a(40728),a(96854),a(54409),a(68483),a(77158),a(60397),a(68232),a(22456),a(59979),a(70060),a(68805),a(75041),a(66841),a(79958),a(66512),a(8956),a(51039),a(75045),a(50171),a(10427),a(6634),a(9220),a(27915),a(72778),a(71828),a(91709),a(28407),a(65276),a(66857),a(51315),a(49472),a(79787),a(79812),a(1415),a(47362),a(27046),a(77346),a(31565),a(17117),a(40485),a(37802),a(92447),a(60075),a(39181),a(70110),a(81295),a(14324),a(24677),a(5578),a(88161),a(26203),a(17786),a(74277),a(65503),a(50057),a(77460),a(54263),a(90175),a(16150),a(10880),a(56521),a(29525),a(48942),a(18848),a(52503),a(99945),a(54884),a(12886),a(52008),a(81454),a(55314),a(68874),a(96342),a(38885),a(96836),a(68915),a(88651),a(46690),a(22444),a(64488),a(81917),a(56543),a(71643),a(82821),a(32334),a(69486),a(31634),a(90319),a(87442),a(51412),a(61719),a(150),a(45520),a(76347),a(85153),a(93335),a(26555),a(6004),a(48443),a(86268),a(61169),a(33965),a(16185),a(23099),a(16554),a(15101),a(89134),a(80676),a(61899),a(55949),a(80454),a(17898),a(52353),a(77661),a(677),a(33436),a(35743),a(58704),a(74876),a(11426),a(24371),a(35577),a(13144),a(85513),a(903),a(47511),a(40780),a(13210),a(54332),a(70942),a(52892),a(74984),a(20288),a(26280),a(89425),a(79457),a(92927),a(63887),a(86862),a(97353),a(43932),a(17929),a(45820),a(37345),a(24906),a(71429),a(93381),a(24319),a(9753),a(92168),a(89485),a(80366),a(26896),a(82939),a(84891),a(94933),a(54803),a(24540),a(63326),a(62356),a(21029),a(28439),a(2040),a(38512),a(50096),a(76577),a(40998),a(94840),a(23449),a(70767),a(71384),a(89865),a(42963),a(10509),a(22738),a(89281),a(9983),a(30893),a(37485),a(84435),a(68092),a(71327),a(612),a(83113),a(34229),a(65683),a(12788),a(55689),a(8571),a(90874),a(48598),a(89239),a(20601),a(65398),a(16241),a(46193),a(1607),a(37838),a(9930),a(84315),a(14032),a(10196),a(52467),a(14641),a(30035),a(70981),a(47251),a(38564),a(34438),a(83082),a(10008),a(5774),a(64040),a(10230),a(31693),a(99729),a(45682),a(10504),a(62349),a(22449),a(19938),a(2982),a(857);fn().use(hn(),{Prism:Nn()}),fn().use((0,gn.Z)()),fn().use((0,wn.Z)()),fn().use((0,vn.Z)()),fn().use((0,yn.Z)());var kn=[{path:"/admin",redirect:"/admin/dashboard",component:re,children:[{path:"/admin/dashboard",component:dt},{path:"/admin/settings",component:el}]},{path:"/auth",redirect:"/auth/login",component:ue,children:[{path:"/auth/login",component:wl}]},{path:"/page/",component:Vs},{path:"/page/:code",component:kr},{path:"/help/",component:cs},{path:"/help/:use",component:cs},{path:"/statistics/",component:bn},{path:"/",component:Is}],Cn=(0,l.p7)({history:(0,l.PO)(),routes:kn});(0,o.createApp)(i).use(Cn).use(fn()).mount("#app")}},t={};function a(o){var l=t[o];if(void 0!==l)return l.exports;var r=t[o]={id:o,loaded:!1,exports:{}};return e[o].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=e,function(){a.amdO={}}(),function(){var e=[];a.O=function(t,o,l,r){if(!o){var s=1/0;for(i=0;i<e.length;i++){o=e[i][0],l=e[i][1],r=e[i][2];for(var n=!0,c=0;c<o.length;c++)(!1&r||s>=r)&&Object.keys(a.O).every((function(e){return a.O[e](o[c])}))?o.splice(c--,1):(n=!1,r<s&&(s=r));if(n){e.splice(i--,1);var d=l();void 0!==d&&(t=d)}}return t}r=r||0;for(var i=e.length;i>0&&e[i-1][2]>r;i--)e[i]=e[i-1];e[i]=[o,l,r]}}(),function(){a.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return a.d(t,{a:t}),t}}(),function(){a.d=function(e,t){for(var o in t)a.o(t,o)&&!a.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}}(),function(){a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){a.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){a.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}(),function(){a.p="/"}(),function(){var e={143:0};a.O.j=function(t){return 0===e[t]};var t=function(t,o){var l,r,s=o[0],n=o[1],c=o[2],d=0;if(s.some((function(t){return 0!==e[t]}))){for(l in n)a.o(n,l)&&(a.m[l]=n[l]);if(c)var i=c(a)}for(t&&t(o);d<s.length;d++)r=s[d],a.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return a.O(i)},o=self["webpackChunkvue_notus"]=self["webpackChunkvue_notus"]||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))}();var o=a.O(void 0,[998],(function(){return a(13501)}));o=a.O(o)})();
|
||
//# sourceMappingURL=app.258abc47.js.map
|