/*!
=========================================================
* 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(){"use strict";var e={39451:function(e,t,l){l(77726),l(33473),l(92151),l(1286);var a=l(70821),o=l(22201),n={id:"app"};function r(e,t,l,o,r,s){var i=(0,a.resolveComponent)("alert"),c=(0,a.resolveComponent)("router-view");return(0,a.openBlock)(),(0,a.createElementBlock)("div",n,[(0,a.createVNode)(i,{display:r.alertDisplay,text:r.alertText,color:r.alertColor},null,8,["display","text","color"]),(0,a.createVNode)(c)])}var s={key:0,class:"fixed w-full z-50 w-10/12 justify-center items-center flex"},i=(0,a.createElementVNode)("span",{class:"text-xl inline-block mr-5 align-middle"},[(0,a.createElementVNode)("i",{class:"fas fa-bell"})],-1),c={class:"inline-block ml-2 align-middle mr-8"};function d(e,t,l,o,n,r){return l.display?((0,a.openBlock)(),(0,a.createElementBlock)("div",s,[(0,a.createElementVNode)("div",{class:(0,a.normalizeClass)([l.color,"text-white px-6 py-4 border-0 rounded"])},[i,(0,a.createElementVNode)("span",c,(0,a.toDisplayString)(l.text),1)],2)])):(0,a.createCommentVNode)("",!0)}var u={props:{display:Boolean,text:String,color:String}},p=l(83744);const m=(0,p.Z)(u,[["render",d]]);var f=m,b={name:"admin-layout",data:function(){return{alertText:"",alertColor:"",alertDisplay:!1}},components:{Alert:f},provide:function(){return{AlertMethod:this.alertMethod}},methods:{alertMethod:function(e){var t=this,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"bg-lightBlue-400",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1500;this.alertText=e,this.alertColor=l,this.alertDisplay=!0,setInterval((function(){t.alertDisplay=!1}),a)}}};const h=(0,p.Z)(b,[["render",r]]);var g=h,x={class:"relative bg-blueGray-100"},v={class:"px-4 md:px-10 mx-auto w-full -m-24"};function w(e,t,l,o,n,r){var s=(0,a.resolveComponent)("admin-navbar"),i=(0,a.resolveComponent)("header-stats"),c=(0,a.resolveComponent)("router-view"),d=(0,a.resolveComponent)("footer-admin");return(0,a.openBlock)(),(0,a.createElementBlock)("div",null,[(0,a.createElementVNode)("div",x,[(0,a.createVNode)(s),(0,a.createVNode)(i),(0,a.createElementVNode)("div",v,[(0,a.createVNode)(c),(0,a.createVNode)(d)])])])}var y={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"},V=(0,a.createElementVNode)("div",{class:"w-full mx-autp items-center flex justify-between md:flex-nowrap flex-wrap md:px-10 px-4"},[(0,a.createElementVNode)("a",{class:"text-white text-sm uppercase hidden lg:inline-block font-semibold",href:"javascript:void(0)"}," ChatGPT-Plugin ")],-1),N=[V];function C(e,t,l,o,n,r){return(0,a.openBlock)(),(0,a.createElementBlock)("nav",y,N)}var k={components:{}};const E=(0,p.Z)(k,[["render",C]]);var T=E,S={class:"relative bg-emerald-600 pb-32 pt-12"},B={class:"px-4 md:px-10 mx-auto w-full"},D={class:"flex flex-wrap"},G={class:"w-full lg:w-6/12 xl:w-3/12 px-4"},U={class:"w-full lg:w-6/12 xl:w-3/12 px-4"},P={class:"w-full lg:w-6/12 xl:w-3/12 px-4"},A={class:"w-full lg:w-6/12 xl:w-3/12 px-4"};function M(e,t,l,o,n,r){var s=(0,a.resolveComponent)("card-stats");return(0,a.openBlock)(),(0,a.createElementBlock)("div",S,[(0,a.createElementVNode)("div",B,[(0,a.createElementVNode)("div",null,[(0,a.createElementVNode)("div",D,[(0,a.createElementVNode)("div",G,[(0,a.createVNode)(s,{statSubtitle:"系统访问量",statTitle:n.SystemAccess.count,statArrow:n.SystemAccess.statArrow,statPercent:n.SystemAccess.statPercent,statPercentColor:"text-emerald-500",statDescripiron:"相比昨日",statIconName:"far fa-chart-bar",statIconColor:"bg-red-500"},null,8,["statTitle","statArrow","statPercent"])]),(0,a.createElementVNode)("div",U,[(0,a.createVNode)(s,{statSubtitle:"缓存文件数",statTitle:n.CacheFile.count,statArrow:n.CacheFile.statArrow,statPercent:n.CacheFile.statPercent,statPercentColor:"text-red-500",statDescripiron:"相比昨日",statIconName:"fas fa-chart-pie",statIconColor:"bg-orange-500"},null,8,["statTitle","statArrow","statPercent"])]),(0,a.createElementVNode)("div",P,[(0,a.createVNode)(s,{statSubtitle:"外网访问量",statTitle:n.WebAccess.count,statArrow:n.WebAccess.statArrow,statPercent:n.WebAccess.statPercent,statPercentColor:"text-orange-500",statDescripiron:"相比昨日",statIconName:"fas fa-users",statIconColor:"bg-pink-500"},null,8,["statTitle","statArrow","statPercent"])]),(0,a.createElementVNode)("div",A,[(0,a.createVNode)(s,{statSubtitle:"系统负载",statTitle:n.SystemLoad.count+"%",statArrow:n.SystemLoad.statArrow,statPercent:n.SystemLoad.statPercent,statPercentColor:"text-emerald-500",statDescripiron:"相比一小时前",statIconName:"fas fa-percent",statIconColor:"bg-emerald-500"},null,8,["statTitle","statArrow","statPercent"])])])])])])}l(56977);var R={class:"relative flex flex-col min-w-0 break-words bg-white rounded mb-6 xl:mb-0 shadow-lg"},I={class:"flex-auto p-4"},z={class:"flex flex-wrap"},F={class:"relative w-full pr-4 max-w-full flex-grow flex-1"},j={class:"text-blueGray-400 uppercase font-bold text-xs"},L={class:"font-semibold text-xl text-blueGray-700"},Z={class:"relative w-auto pl-4 flex-initial"},O={class:"text-sm text-blueGray-400 mt-4"},$={class:"whitespace-nowrap"};function q(e,t,l,o,n,r){return(0,a.openBlock)(),(0,a.createElementBlock)("div",R,[(0,a.createElementVNode)("div",I,[(0,a.createElementVNode)("div",z,[(0,a.createElementVNode)("div",F,[(0,a.createElementVNode)("h5",j,(0,a.toDisplayString)(l.statSubtitle),1),(0,a.createElementVNode)("span",L,(0,a.toDisplayString)(l.statTitle),1)]),(0,a.createElementVNode)("div",Z,[(0,a.createElementVNode)("div",{class:(0,a.normalizeClass)(["text-white p-3 text-center inline-flex items-center justify-center w-12 h-12 shadow-lg rounded-full",[l.statIconColor]])},[(0,a.createElementVNode)("i",{class:(0,a.normalizeClass)([l.statIconName])},null,2)],2)])]),(0,a.createElementVNode)("p",O,[(0,a.createElementVNode)("span",{class:(0,a.normalizeClass)(["mr-2",[l.statPercentColor]])},[(0,a.createElementVNode)("i",{class:(0,a.normalizeClass)(["up"===l.statArrow?"fas fa-arrow-up":"fas fa-arrow-down"])},null,2),(0,a.createTextVNode)(" "+(0,a.toDisplayString)(l.statPercent)+"% ",1)],2),(0,a.createElementVNode)("span",$,(0,a.toDisplayString)(l.statDescripiron),1)])])])}var W={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 _=(0,p.Z)(W,[["render",q]]);var H=_,Y=l(6154),Q={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:H},created:function(){this.getData()},methods:{getData:function(){var e=this;Y.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 K=(0,p.Z)(Q,[["render",M]]);var J=K,X={class:"block py-4"},ee={class:"container mx-auto px-4"},te=(0,a.createElementVNode)("hr",{class:"mb-4 border-b-1 border-blueGray-200"},null,-1),le={class:"flex flex-wrap items-center md:justify-between justify-center"},ae={class:"w-full md:w-4/12 px-4"},oe={class:"text-sm text-blueGray-500 font-semibold py-1 text-center md:text-left"},ne=(0,a.createElementVNode)("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),re=(0,a.createStaticVNode)('
',1);function se(e,t,l,o,n,r){return(0,a.openBlock)(),(0,a.createElementBlock)("footer",X,[(0,a.createElementVNode)("div",ee,[te,(0,a.createElementVNode)("div",le,[(0,a.createElementVNode)("div",ae,[(0,a.createElementVNode)("div",oe,[(0,a.createTextVNode)(" Copyright © "+(0,a.toDisplayString)(n.date)+" ",1),ne])]),re])])])}var ie={data:function(){return{date:(new Date).getFullYear()}}};const ce=(0,p.Z)(ie,[["render",se]]);var de=ce,ue={name:"admin-layout",components:{AdminNavbar:T,HeaderStats:J,FooterAdmin:de}};const pe=(0,p.Z)(ue,[["render",w]]);var me=pe,fe={class:"relative w-full h-full py-40 min-h-screen"};function be(e,t,l,o,n,r){var s=(0,a.resolveComponent)("router-view");return(0,a.openBlock)(),(0,a.createElementBlock)("div",null,[(0,a.createElementVNode)("main",null,[(0,a.createElementVNode)("section",fe,[(0,a.createElementVNode)("div",{class:"absolute top-0 w-full h-full bg-blueGray-800 bg-no-repeat bg-full",style:(0,a.normalizeStyle)("background-image: url('".concat(n.registerBg2,"');"))},null,4),(0,a.createVNode)(s)])])])}var he=l.p+"img/register_bg_2.c49fa1dc.png",ge={data:function(){return{registerBg2:he}},components:{}};const xe=(0,p.Z)(ge,[["render",be]]);var ve=xe,we={class:"relative flex flex-col min-w-0 break-words w-full mb-6 shadow-lg rounded-lg bg-blueGray-100 border-0"},ye={class:"rounded-t bg-white mb-0 px-6 py-6"},Ve={class:"text-center flex justify-between"},Ne=(0,a.createElementVNode)("h6",{class:"text-blueGray-700 text-xl font-bold"},"用户设置 ",-1),Ce={class:"flex-auto px-4 lg:px-10 py-10 pt-0"},ke=(0,a.createElementVNode)("h6",{class:"text-blueGray-400 text-sm mt-3 mb-6 font-bold uppercase"}," 对话设置 ",-1),Ee={class:"flex flex-wrap"},Te={class:"w-full lg:w-3/12 px-4"},Se={class:"relative w-full mb-3"},Be=(0,a.createElementVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 文本模式 ",-1),De={class:"w-full lg:w-3/12 px-4"},Ge={class:"relative w-full mb-3"},Ue=(0,a.createElementVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 图片模式 ",-1),Pe={class:"w-full lg:w-3/12 px-4"},Ae={class:"relative w-full mb-3"},Me=(0,a.createElementVNode)("label",{class:"block uppercase text-blueGray-600 text-xs font-bold mb-2",htmlFor:"grid-password"}," 语音模式 ",-1),Re={class:"flex-auto px-4 lg:px-10 py-10 pt-0"},Ie=(0,a.createElementVNode)("h6",{class:"text-blueGray-400 text-sm mt-3 mb-6 font-bold uppercase"}," 预设与资料设定 ",-1),ze={class:"flex flex-wrap"},Fe={class:"flex flex-wrap"},je={class:"w-full mb-12 xl:mb-0 px-4"},Le={class:"flex flex-wrap mt-4"},Ze={class:"w-full mb-12 xl:mb-0 px-4"};function Oe(e,t,l,o,n,r){var s=(0,a.resolveComponent)("stting-select"),i=(0,a.resolveComponent)("stting-textarea"),c=(0,a.resolveComponent)("card-line-chart"),d=(0,a.resolveComponent)("card-page-visits");return(0,a.openBlock)(),(0,a.createElementBlock)("div",null,[(0,a.createElementVNode)("div",we,[(0,a.createElementVNode)("div",ye,[(0,a.createElementVNode)("div",Ve,[Ne,(0,a.createElementVNode)("button",{onClick:t[0]||(t[0]=function(){return r.saveData&&r.saveData.apply(r,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,a.createElementVNode)("div",Ce,[(0,a.createElementVNode)("form",null,[ke,(0,a.createElementVNode)("div",Ee,[(0,a.createElementVNode)("div",Te,[(0,a.createElementVNode)("div",Se,[Be,(0,a.withDirectives)((0,a.createElementVNode)("input",{"onUpdate:modelValue":t[1]||(t[1]=function(e){return r.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),[[a.vModelRadio,r.chatmode]])])]),(0,a.createElementVNode)("div",De,[(0,a.createElementVNode)("div",Ge,[Ue,(0,a.withDirectives)((0,a.createElementVNode)("input",{"onUpdate:modelValue":t[2]||(t[2]=function(e){return r.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),[[a.vModelRadio,r.chatmode]])])]),(0,a.createElementVNode)("div",Pe,[(0,a.createElementVNode)("div",Ae,[Me,(0,a.withDirectives)((0,a.createElementVNode)("input",{"onUpdate:modelValue":t[3]||(t[3]=function(e){return r.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),[[a.vModelRadio,r.chatmode]])])]),(0,a.createVNode)(s,{title:"语音模式默认角色",default:"随机",selectClassData:n.defaultTTSRole_selectClassData,value:n.userSetting.ttsRole,"onUpdate:value":t[4]||(t[4]=function(e){return n.userSetting.ttsRole=e})},null,8,["selectClassData","value"]),(0,a.createVNode)(s,{title:"对话模式",selectClassData:n.chatMode_selectClassData,value:n.userData.mode,"onUpdate:value":t[5]||(t[5]=function(e){return n.userData.mode=e})},null,8,["selectClassData","value"])])])]),(0,a.createElementVNode)("div",Re,[(0,a.createElementVNode)("form",null,[Ie,(0,a.createElementVNode)("div",ze,[(0,a.createVNode)(i,{title:"API设定",value:n.userData.cast.api,"onUpdate:value":t[6]||(t[6]=function(e){return n.userData.cast.api=e})},null,8,["value"]),(0,a.createVNode)(i,{title:"必应设定",value:n.userData.cast.bing,"onUpdate:value":t[7]||(t[7]=function(e){return n.userData.cast.bing=e})},null,8,["value"]),(0,a.createVNode)(i,{title:"必应扩展资料",value:n.userData.cast.bing_resource,"onUpdate:value":t[8]||(t[8]=function(e){return n.userData.cast.bing_resource=e})},null,8,["value"]),(0,a.createVNode)(i,{title:"Slack设定",value:n.userData.cast.slack,"onUpdate:value":t[9]||(t[9]=function(e){return n.userData.cast.slack=e})},null,8,["value"])])])])]),(0,a.createElementVNode)("div",Fe,[(0,a.createElementVNode)("div",je,[(0,a.createVNode)(c)])]),(0,a.createElementVNode)("div",Le,[(0,a.createElementVNode)("div",Ze,[(0,a.createVNode)(d)])])])}l(57658);var $e={class:"relative flex flex-col min-w-0 break-words w-full mb-6 shadow-lg rounded bg-blueGray-700"},qe=(0,a.createStaticVNode)('',1),We={class:"p-4 flex-auto"},_e={class:"relative h-350-px"};function He(e,t,l,o,n,r){var s=(0,a.resolveComponent)("Line");return(0,a.openBlock)(),(0,a.createElementBlock)("div",$e,[qe,(0,a.createElementVNode)("div",We,[(0,a.createElementVNode)("div",_e,[(0,a.createVNode)(s,{data:n.data,options:n.options},null,8,["data","options"])])])])}l(57327),l(41539),l(91038),l(78783);var Ye=l(65750),Qe=l(32005);Ye.kL.register(Ye.uw,Ye.f$,Ye.od,Ye.jn,Ye.Dx,Ye.u,Ye.De);var Ke={components:{Line:Qe.x1},data:function(){return{data:{labels:["周一","周二","周三","周四","周五","周六","周日"],datasets:[{label:"Bing",backgroundColor:"#4c51bf",borderColor:"#4c51bf",data:[0,0,0,0,0,0,0],fill:!1,tension:.3},{label:"ChatGPT",fill:!1,backgroundColor:"#fff",borderColor:"#fff",data:[0,0,0,0,0,0,0],tension:.3},{label:"ChatGLM",fill:!1,backgroundColor:"#96512a",borderColor:"#96512a",data:[0,0,0,0,0,0,0],tension:.3},{label:"Claude",fill:!1,backgroundColor:"#aa1155",borderColor:"#aa1155",data:[0,0,0,0,0,0,0],tension:.3}]},options:{maintainAspectRatio:!1,responsive:!0,plugins:{legend:{labels:{color:"white"},align:"end",position:"bottom"},title:{display:!1,text:"缓存统计",fontColor:"white"},tooltips:{mode:"index",intersect:!1},hover:{mode:"nearest",intersect:!0}},scales:{x:{ticks:{color:"rgba(255,255,255,.7)"},display:!0,scaleLabel:{display:!1},grid:{display:!1}},y:{ticks:{color:"rgba(255,255,255,.7)"},display:!0,scaleLabel:{display:!1},grid:{tickBorderDash:[3],tickBorderDashOffset:3,color:"rgba(255, 255, 255, 0.15)"},border:{display:!1}}}}}},mounted:function(){var e=this;Y.Z.post("".concat(window.location.origin,"/userData")).then((function(t){var l=t.data.chat.filter((function(e){return"bing"===e.model||"Bing"===e.model})),a=t.data.chat.filter((function(e){return"ChatGPT"===e.model||"api"===e.model||"api3"===e.model||"browser"===e.model})),o=t.data.chat.filter((function(e){return"chatglm"===e.model})),n=t.data.chat.filter((function(e){return"claude"===e.model})),r=function(e){var t=new Date,l=e.filter((function(e){var l=t-new Date(e.time),a=l/864e5;return a<=7})),a=l.reduce((function(e,t){var l=new Date(t.time).getDay()-1;return e[l]||(e[l]=0),e[l]+=1,e}),{});return Array.from({length:7},(function(e,t){return a[t]||0}))};e.data={labels:["周一","周二","周三","周四","周五","周六","周日"],datasets:[{label:"Bing",backgroundColor:"#4c51bf",borderColor:"#4c51bf",data:r(l),fill:!1,tension:.3},{label:"ChatGPT",fill:!1,backgroundColor:"#fff",borderColor:"#fff",data:r(a),tension:.3},{label:"ChatGLM",fill:!1,backgroundColor:"#96512a",borderColor:"#96512a",data:r(o),tension:.3},{label:"Claude",fill:!1,backgroundColor:"#aa1155",borderColor:"#aa1155",data:r(n),tension:.3}]}})).catch((function(e){console.log(e)}))}};const Je=(0,p.Z)(Ke,[["render",He]]);var Xe=Je,et=(l(74916),l(15306),l(68757),{class:"relative flex flex-col min-w-0 break-words bg-white w-full mb-6 shadow-lg rounded"}),tt={class:"rounded-t mb-0 px-4 py-3 border-0"},lt={class:"flex flex-wrap items-center"},at=(0,a.createElementVNode)("div",{class:"relative w-full px-4 max-w-full flex-grow flex-1"},[(0,a.createElementVNode)("h3",{class:"font-semibold text-base text-blueGray-700"}," 缓存页面 ")],-1),ot={class:"relative w-full px-4 max-w-full flex-grow flex-1 text-right"},nt={class:"block w-full overflow-x-auto"},rt={class:"items-center w-full bg-transparent border-collapse"},st=(0,a.createElementVNode)("thead",null,[(0,a.createElementVNode)("tr",null,[(0,a.createElementVNode)("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,a.createElementVNode)("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,a.createElementVNode)("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,a.createElementVNode)("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),it={class:"border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4 text-left"},ct=["href"],dt={class:"border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4"},ut={class:"border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4"},pt={class:"border-t-0 px-6 align-middle border-l-0 border-r-0 text-xs whitespace-nowrap p-4"},mt={class:"py-2 px-4"},ft={class:"block"},bt={class:"flex pl-0 rounded list-none flex-wrap"},ht={class:"px-2"},gt=(0,a.createElementVNode)("i",{class:"fas fa-chevron-left -ml-px"},null,-1),xt=[gt],vt={class:"px-2"},wt=["onClick"],yt={class:"px-2"},Vt=(0,a.createElementVNode)("i",{class:"fas fa-chevron-right -mr-px"},null,-1),Nt=[Vt];function Ct(e,t,l,o,n,r){return(0,a.openBlock)(),(0,a.createElementBlock)("div",et,[(0,a.createElementVNode)("div",tt,[(0,a.createElementVNode)("div",lt,[at,(0,a.createElementVNode)("div",ot,[(0,a.createElementVNode)("button",{onClick:t[0]||(t[0]=function(){return r.cleanCache&&r.cleanCache.apply(r,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,a.createElementVNode)("div",nt,[(0,a.createElementVNode)("table",rt,[st,(0,a.createElementVNode)("tbody",null,[((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(r.pageData,(function(e){return(0,a.openBlock)(),(0,a.createElementBlock)("tr",{key:e.herf},[(0,a.createElementVNode)("th",it,[(0,a.createElementVNode)("a",{href:e.herf},(0,a.toDisplayString)(e.herf),9,ct)]),(0,a.createElementVNode)("td",dt,(0,a.toDisplayString)(e.user),1),(0,a.createElementVNode)("td",ut,(0,a.toDisplayString)(e.group||"-"),1),(0,a.createElementVNode)("td",pt,(0,a.toDisplayString)(new Date(e.time).toLocaleString("zh",{hour12:!1}).replaceAll("/","-")),1)])})),128))])])]),(0,a.createElementVNode)("div",mt,[(0,a.createElementVNode)("nav",ft,[(0,a.createElementVNode)("ul",bt,[(0,a.createElementVNode)("li",ht,[(0,a.createElementVNode)("a",{onClick:t[1]||(t[1]=function(e){return n.page>1?n.page--:n.page}),class:"first:ml-0 text-xs font-semibold flex w-8 h-8 mx-1 p-0 rounded-full items-center justify-center leading-tight relative border border-solid border-sky-500 bg-white text-sky-500"},xt)]),((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(Math.ceil(n.userData.length/10),(function(e){return(0,a.openBlock)(),(0,a.createElementBlock)("li",vt,[(0,a.createElementVNode)("a",{onClick:function(t){return n.page=e},class:(0,a.normalizeClass)([n.page===e?"bg-emerald-200":"bg-blueGray-50","first:ml-0 text-xs font-semibold flex w-8 h-8 mx-1 p-0 rounded-full items-center justify-center leading-tight relative border border-solid border-sky-500 text-sky-500"])},(0,a.toDisplayString)(e),11,wt)])})),256)),(0,a.createElementVNode)("li",yt,[(0,a.createElementVNode)("a",{onClick:t[2]||(t[2]=function(e){return n.page30?e.text.substr(1,30)+"...":e.text),9,fn)])])])])})),128))])]),((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(n.suggest,(function(e){return(0,a.openBlock)(),(0,a.createElementBlock)("div",{class:"flex flex-wrap mt-10",key:e},[(0,a.createElementVNode)("span",bn,(0,a.toDisplayString)(e),1)])})),128))])])])]),(0,a.createVNode)(d)])}l(21249),l(92222);var gn={class:"top-0 absolute z-50 w-full flex flex-wrap items-center justify-between px-2 py-3 navbar-expand-lg"},xn={class:"container px-4 mx-auto flex flex-wrap items-center justify-between"},vn={class:"relative flex justify-between lg:w-auto lg:static lg:block lg:justify-start"},wn={class:"flex flex-grow items-center bg-opacity-0 lg:shadow-none"},yn={class:"flex flex-col flex-row list-none ml-auto"},Vn={key:0,class:"text-teal-500 flex items-center mr-4"},Nn={class:"text-teal-500 flex items-center mr-4"};function Cn(e,t,l,o,n,r){var s=(0,a.resolveComponent)("router-link");return(0,a.openBlock)(),(0,a.createElementBlock)("nav",gn,[(0,a.createElementVNode)("div",xn,[(0,a.createElementVNode)("div",vn,[(0,a.createVNode)(s,{class:"text-white text-sm font-bold leading-relaxed inline-block mr-4 py-2 whitespace-nowrap uppercase",to:"/"},{default:(0,a.withCtx)((function(){return[(0,a.createTextVNode)(" ChatGPT-Plugin ")]})),_:1})]),(0,a.createElementVNode)("div",wn,[(0,a.createElementVNode)("ul",yn,[l.group?((0,a.openBlock)(),(0,a.createElementBlock)("li",Vn," 来自群: "+(0,a.toDisplayString)(l.group),1)):(0,a.createCommentVNode)("",!0),(0,a.createElementVNode)("li",Nn," 时间:"+(0,a.toDisplayString)(r.dateFormat(l.time)),1)])])])])}var kn={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,l=t.getFullYear(),a=t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),n=t.getHours()<10?"0"+t.getHours():t.getHours(),r=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes();return l+"年"+a+"月"+o+"日 "+n+":"+r}}};const En=(0,p.Z)(kn,[["render",Cn]]);var Tn=En,Sn={class:"pb-6 relative"},Bn={class:"container mx-auto px-4"},Dn=(0,a.createElementVNode)("hr",{class:"mb-6 border-b-1 border-blueGray-600"},null,-1),Gn={class:"flex flex-wrap items-center md:justify-between justify-center"},Un={class:"w-full md:w-12/12 px-4"},Pn={class:"text-sm text-blueGray-500 font-semibold py-1 text-center md:text-left"},An=(0,a.createElementVNode)("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);function Mn(e,t,l,o,n,r){return(0,a.openBlock)(),(0,a.createElementBlock)("footer",Sn,[(0,a.createElementVNode)("div",Bn,[Dn,(0,a.createElementVNode)("div",Gn,[(0,a.createElementVNode)("div",Un,[(0,a.createElementVNode)("div",Pn,[(0,a.createTextVNode)(" Copyright © "+(0,a.toDisplayString)(n.date)+" ",1),An,(0,a.createTextVNode)(" by Creative ikechan8370 ")])])])])])}var Rn={data:function(){return{date:(new Date).getFullYear()}}};const In=(0,p.Z)(Rn,[["render",Mn]]);var zn=In,Fn=l(47929),jn=l(71731),Ln=l(52300),Zn={data:function(){return{user:"",userImg:"",bot:"",botImg:"",question:"",message:"",group:"",quote:[],images:[],herf:"",time:"",suggest:[]}},components:{Navbar:Tn,FooterSmall:zn,QrcodeVue:Fn.Z},created:function(){this.getData()},methods:{getData:function(){var e=this;Y.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=Ln.DS.decode(t.data.question),e.message=Ln.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,t.data.live2d&&jn.L2Dwidget.init({pluginRootPath:"live2dw/",pluginJsPath:"lib/",pluginModelPath:"live2d-widget-model-".concat(t.data.live2dModel||"default","/assets/"),tagMode:!1,debug:!1,model:{jsonPath:"../live2dw/live2d-widget-model-".concat(t.data.live2dModel||"default","/assets/").concat(t.data.mood||"model",".json")},display:{position:"right",width:150,height:300},mobile:{show:!0},react:{opacity:.7},log:!1})})).catch((function(t){e.$router.push({path:"/page",query:{code:e.$route.params.code,error:t}})}))}}};const On=(0,p.Z)(Zn,[["render",hn]]);var $n=On,qn={class:"header relative flex"},Wn={class:"container md:md-40 mx-auto pt-20"},_n=(0,a.createElementVNode)("div",{class:"w-full md:w-8/12 lg:w-6/12 xl:w-6/12 px-4"},[(0,a.createElementVNode)("h2",{class:"font-semibold text-4xl text-blueGray-600"}," 使用帮助 ")],-1),Hn={class:"flex flex-wrap items-center"},Yn={class:"w-full md:w-6/12 px-4"},Qn={class:"flex flex-wrap"},Kn={class:"relative flex flex-col"},Jn={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"},Xn={class:"text-xl mb-1 font-semibold"},er={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"},tr={class:"text-blueGray-500"},lr=(0,a.createStaticVNode)('',1),ar=["src"],or={key:0,class:"mt-48 md:mt-40 pb-16 relative bg-blueGray-100"},nr=(0,a.createElementVNode)("div",{class:"-mt-20 top-0 bottom-auto left-0 right-0 w-full absolute h-20",style:{transform:"translateZ(0)"}},[(0,a.createElementVNode)("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,a.createElementVNode)("polygon",{class:"text-blueGray-100 fill-current",points:"2560 0 2560 100 0 100"})])],-1),rr={class:"justify-center text-center flex flex-wrap mt-24"},sr={class:"w-full px-12 md:px-4"},ir={class:"font-semibold text-4xl"},cr={class:"container mx-auto px-4 pt-16"},dr={class:"items-center flex flex-wrap"},ur={class:"md:pr-12"},pr={class:"text-3xl font-semibold"},mr={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"},fr={class:"block pb-3"};function br(e,t,l,o,n,r){var s=(0,a.resolveComponent)("index-navbar"),i=(0,a.resolveComponent)("router-link"),c=(0,a.resolveComponent)("v-md-preview"),d=(0,a.resolveComponent)("footer-small");return(0,a.openBlock)(),(0,a.createElementBlock)("div",null,[(0,a.createVNode)(s),(0,a.createElementVNode)("section",qn,[(0,a.createElementVNode)("div",Wn,[_n,(0,a.createElementVNode)("div",Hn,[(0,a.createElementVNode)("div",Yn,[(0,a.createElementVNode)("div",Qn,[(0,a.createElementVNode)("div",Kn,[((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(n.helpIndexList,(function(e){return(0,a.openBlock)(),(0,a.createElementBlock)("div",{class:"px-4 py-5 flex-auto",key:e.title},[(0,a.createElementVNode)("div",Jn,[(0,a.createElementVNode)("i",{class:(0,a.normalizeClass)(e.icon)},null,2)]),(0,a.createVNode)(i,{to:"/help/".concat(e.title)},{default:(0,a.withCtx)((function(){return[(0,a.createElementVNode)("h6",Xn,[(0,a.createTextVNode)((0,a.toDisplayString)(e.title)+" ",1),e.tip?((0,a.openBlock)(),(0,a.createElementBlock)("span",er,(0,a.toDisplayString)(e.tip),1)):(0,a.createCommentVNode)("",!0)])]})),_:2},1032,["to"]),(0,a.createElementVNode)("p",tr,(0,a.toDisplayString)(e.text),1)])})),128))])])])]),lr]),(0,a.createElementVNode)("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:n.patternVue,alt:"..."},null,8,ar)]),this.$route.params.use?((0,a.openBlock)(),(0,a.createElementBlock)("section",or,[nr,(0,a.createElementVNode)("div",rr,[(0,a.createElementVNode)("div",sr,[(0,a.createElementVNode)("h2",ir,(0,a.toDisplayString)(this.$route.params.use),1)])]),(0,a.createElementVNode)("div",cr,[(0,a.createElementVNode)("div",dr,[((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(n.helpList,(function(e){return(0,a.openBlock)(),(0,a.createElementBlock)("div",{class:"w-full mb-6 ml-auto px-12 md:px-4",key:e.title},[(0,a.createElementVNode)("div",ur,[(0,a.createElementVNode)("h3",pr,[(0,a.createElementVNode)("i",{class:(0,a.normalizeClass)("".concat(e.icon," text-xl"))},null,2),(0,a.createTextVNode)(" "+(0,a.toDisplayString)(e.title)+" ",1),e.tip?((0,a.openBlock)(),(0,a.createElementBlock)("span",mr,(0,a.toDisplayString)(e.tip),1)):(0,a.createCommentVNode)("",!0)]),(0,a.createVNode)(c,{class:"mt-4",text:e.text},null,8,["text"]),(0,a.createElementVNode)("div",fr,[((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(e.list,(function(e){return(0,a.openBlock)(),(0,a.createElementBlock)("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,a.toDisplayString)(e),1)})),128))])])])})),128))])])])):(0,a.createCommentVNode)("",!0),(0,a.createVNode)(d,{class:"mt-32"})])}var hr={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"},gr={class:"container px-4 mx-auto flex flex-wrap items-center justify-between"},xr={class:"w-full relative flex justify-between lg:w-auto lg:static lg:block lg:justify-start"},vr=(0,a.createElementVNode)("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),wr=(0,a.createElementVNode)("i",{class:"fas fa-bars"},null,-1),yr=[wr],Vr=(0,a.createStaticVNode)('',2),Nr=[Vr];function Cr(e,t,l,o,n,r){var s=(0,a.resolveComponent)("router-link");return(0,a.openBlock)(),(0,a.createElementBlock)("nav",hr,[(0,a.createElementVNode)("div",gr,[(0,a.createElementVNode)("div",xr,[(0,a.createVNode)(s,{to:"/"},{default:(0,a.withCtx)((function(){return[vr]})),_:1}),(0,a.createElementVNode)("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[0]||(t[0]=function(){return r.setNavbarOpen&&r.setNavbarOpen.apply(r,arguments)})},yr)]),(0,a.createElementVNode)("div",{class:(0,a.normalizeClass)(["lg:flex flex-grow items-center",[n.navbarOpen?"block":"hidden"]]),id:"example-navbar-warning"},Nr,2)])])}var kr={data:function(){return{navbarOpen:!1}},methods:{setNavbarOpen:function(){this.navbarOpen=!this.navbarOpen}}};const Er=(0,p.Z)(kr,[["render",Cr]]);var Tr=Er,Sr=l.p+"img/pattern_vue.e731547c.png",Br={data:function(){return{patternVue:Sr,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-wrench",title:"设定",text:"管理机器人使用的设定。",tip:"管理功能"},{icon:"fas fa-cogs",title:"系统设置",text:"可快捷设置机器人的一些运行参数。",tip:"管理功能"}],helpList:[]}},components:{IndexNavbar:Tr,FooterSmall:zn},created:function(){this.getData()},methods:{getData:function(){var e=this;Y.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 Dr=(0,p.Z)(Br,[["render",br]]);var Gr=Dr,Ur={class:"header relative pt-16 items-center flex h-screen max-h-860-px"},Pr={class:"container mx-auto items-center flex flex-wrap"},Ar={class:"w-full md:w-8/12 lg:w-6/12 xl:w-6/12 px-4"},Mr={class:"pt-32 sm:pt-0"},Rr=(0,a.createElementVNode)("h2",{class:"font-semibold text-4xl text-blueGray-600"}," 云崽ChatGPT插件 ",-1),Ir=(0,a.createElementVNode)("p",{class:"mt-4 text-lg leading-relaxed text-blueGray-500"}," 当前页面发生错误,请联系服务管理人员检查后台错误信息! ",-1),zr={class:"mt-4 leading-relaxed text-blueGray-300"},Fr={class:"mt-4 leading-relaxed text-blueGray-300"},jr=["src"],Lr=(0,a.createStaticVNode)('',2);function Zr(e,t,l,o,n,r){var s=(0,a.resolveComponent)("index-navbar");return(0,a.openBlock)(),(0,a.createElementBlock)("div",null,[(0,a.createVNode)(s),(0,a.createElementVNode)("section",Ur,[(0,a.createElementVNode)("div",Pr,[(0,a.createElementVNode)("div",Ar,[(0,a.createElementVNode)("div",Mr,[Rr,Ir,(0,a.createElementVNode)("p",zr," 页面代码:"+(0,a.toDisplayString)(this.$route.query.code),1),(0,a.createElementVNode)("p",Fr,(0,a.toDisplayString)(this.$route.query.error),1)])])]),(0,a.createElementVNode)("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:n.patternVue,alt:"..."},null,8,jr)]),Lr])}var Or={data:function(){return{patternVue:Sr}},components:{IndexNavbar:Tr}};const $r=(0,p.Z)(Or,[["render",Zr]]);var qr=$r,Wr={class:"header relative pt-16 items-center flex h-screen max-h-860-px"},_r=(0,a.createStaticVNode)(' 云崽ChatGPT插件
欢迎使用chatgpt-plugin插件
',1),Hr=["src"],Yr=(0,a.createElementVNode)("section",{class:"pb-16 bg-blueGray-200 relative pt-32"},[(0,a.createElementVNode)("div",{class:"-mt-20 top-0 bottom-auto left-0 right-0 w-full absolute h-20",style:{transform:"translateZ(0)"}},[(0,a.createElementVNode)("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,a.createElementVNode)("polygon",{class:"text-blueGray-200 fill-current",points:"2560 0 2560 100 0 100"})])])],-1);function Qr(e,t,l,o,n,r){var s=(0,a.resolveComponent)("index-navbar"),i=(0,a.resolveComponent)("footer-component");return(0,a.openBlock)(),(0,a.createElementBlock)("div",null,[(0,a.createVNode)(s),(0,a.createElementVNode)("section",Wr,[_r,(0,a.createElementVNode)("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:n.patternVue,alt:"..."},null,8,Hr)]),Yr,(0,a.createVNode)(i)])}var Kr={class:"relative bg-blueGray-200 pt-8 pb-6"},Jr=(0,a.createElementVNode)("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,a.createElementVNode)("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,a.createElementVNode)("polygon",{class:"text-blueGray-200 fill-current",points:"2560 0 2560 100 0 100"})])],-1),Xr={class:"container mx-auto px-4"},es=(0,a.createStaticVNode)('遇到问题?
如果在使用过程中遇到问题,请来qq群559567232交流。
',2),ts={class:"flex flex-wrap items-center md:justify-between justify-center"},ls={class:"w-full md:w-6/12 px-6 mx-auto text-center"},as={class:"text-sm text-blueGray-500 font-semibold py-1"},os=(0,a.createElementVNode)("a",{href:"https://github.com/ikechan8370",class:"text-blueGray-500 hover:text-blueGray-800"}," Creative ikechan8370 ",-1);function ns(e,t,l,o,n,r){return(0,a.openBlock)(),(0,a.createElementBlock)("footer",Kr,[Jr,(0,a.createElementVNode)("div",Xr,[es,(0,a.createElementVNode)("div",ts,[(0,a.createElementVNode)("div",ls,[(0,a.createElementVNode)("div",as,[(0,a.createTextVNode)(" Copyright © "+(0,a.toDisplayString)(n.date)+" chatgpt-plugin by ",1),os,(0,a.createTextVNode)(" . ")])])])])])}var rs={data:function(){return{date:(new Date).getFullYear()}}};const ss=(0,p.Z)(rs,[["render",ns]]);var is=ss,cs={data:function(){return{patternVue:Sr}},components:{IndexNavbar:Tr,FooterComponent:is}};const ds=(0,p.Z)(cs,[["render",Qr]]);var us=ds,ps={class:"relative bg-blueGray-100"},ms={class:"px-4 md:px-10 mx-auto w-full -m-24"},fs={class:"flex flex-wrap"},bs={class:"w-full xl:w-8/12 mb-12 xl:mb-0 px-4"},hs={class:"w-full xl:w-4/12 px-4"},gs={class:"flex flex-wrap mt-4"},xs={class:"w-full xl:w-8/12 mb-12 xl:mb-0 px-4"},vs={class:"w-full xl:w-4/12 px-4"};function ws(e,t,l,o,n,r){var s=(0,a.resolveComponent)("admin-navbar"),i=(0,a.resolveComponent)("header-stats"),c=(0,a.resolveComponent)("card-line-chart"),d=(0,a.resolveComponent)("card-bar-chart"),u=(0,a.resolveComponent)("card-page-visits"),p=(0,a.resolveComponent)("card-social-traffic"),m=(0,a.resolveComponent)("footer-admin");return(0,a.openBlock)(),(0,a.createElementBlock)("div",null,[(0,a.createElementVNode)("div",ps,[(0,a.createVNode)(s),(0,a.createVNode)(i),(0,a.createElementVNode)("div",ms,[(0,a.createElementVNode)("div",null,[(0,a.createElementVNode)("div",fs,[(0,a.createElementVNode)("div",bs,[(0,a.createVNode)(c)]),(0,a.createElementVNode)("div",hs,[(0,a.createVNode)(d)])]),(0,a.createElementVNode)("div",gs,[(0,a.createElementVNode)("div",xs,[(0,a.createVNode)(u)]),(0,a.createElementVNode)("div",vs,[(0,a.createVNode)(p)])])]),(0,a.createVNode)(m)])])])}var ys={class:"relative flex flex-col min-w-0 break-words bg-white w-full mb-6 shadow-lg rounded"},Vs=(0,a.createStaticVNode)('| Referral | Visitors | |
|---|
| Facebook | 1,480 | |
|---|
| Facebook | 5,480 | |
|---|
| Google | 4,807 | |
|---|
| Instagram | 3,678 | |
|---|
| twitter | 2,645 | |
|---|
',2),Ns=[Vs];function Cs(e,t){return(0,a.openBlock)(),(0,a.createElementBlock)("div",ys,Ns)}const ks={},Es=(0,p.Z)(ks,[["render",Cs]]);var Ts=Es,Ss={name:"statistics-page",components:{AdminNavbar:T,HeaderStats:J,FooterAdmin:de,CardLineChart:Xe,CardPageVisits:Tt,CardSocialTraffic:Ts}};const Bs=(0,p.Z)(Ss,[["render",ws]]);var Ds=Bs,Gs=l(42104),Us=l.n(Gs),Ps=l(31986),As=l.n(Ps),Ms=l(58043),Rs=l(27543),Is=l(35245),zs=l(23375),Fs=l(28325),js=l.n(Fs);l(24335),l(15251),l(35433),l(49299),l(39980),l(86405),l(68758),l(35249),l(85795),l(47231),l(42273),l(44852),l(77533),l(35266),l(72594),l(18508),l(31093),l(25691),l(4279),l(2731),l(51849),l(73253),l(24029),l(57874),l(73358),l(24064),l(2481),l(10856),l(79016),l(54019),l(36972),l(36430),l(92776),l(24940),l(58060),l(639),l(84126),l(94446),l(53292),l(46428),l(27308),l(86043),l(69104),l(97861),l(24115),l(50331),l(15827),l(21275),l(76609),l(61354),l(86902),l(64681),l(4677),l(99114),l(5798),l(52812),l(44225),l(57649),l(46213),l(29467),l(4412),l(25867),l(74307),l(59385),l(18980),l(80871),l(97899),l(2946),l(30258),l(58149),l(57065),l(73162),l(90827),l(24370),l(40728),l(96854),l(54409),l(68483),l(77158),l(60397),l(68232),l(22456),l(59979),l(70060),l(68805),l(75041),l(66841),l(79958),l(66512),l(8956),l(51039),l(75045),l(50171),l(10427),l(6634),l(9220),l(27915),l(72778),l(71828),l(91709),l(28407),l(65276),l(66857),l(51315),l(49472),l(79787),l(79812),l(1415),l(47362),l(27046),l(77346),l(31565),l(17117),l(40485),l(37802),l(92447),l(60075),l(39181),l(70110),l(81295),l(14324),l(24677),l(5578),l(88161),l(26203),l(17786),l(74277),l(65503),l(50057),l(77460),l(54263),l(90175),l(16150),l(10880),l(56521),l(29525),l(48942),l(18848),l(52503),l(99945),l(54884),l(12886),l(52008),l(81454),l(55314),l(68874),l(96342),l(38885),l(96836),l(68915),l(88651),l(46690),l(22444),l(64488),l(81917),l(56543),l(71643),l(82821),l(32334),l(69486),l(31634),l(90319),l(87442),l(51412),l(61719),l(150),l(45520),l(76347),l(85153),l(93335),l(26555),l(6004),l(48443),l(86268),l(61169),l(33965),l(16185),l(23099),l(16554),l(15101),l(89134),l(80676),l(61899),l(55949),l(80454),l(17898),l(52353),l(77661),l(677),l(33436),l(35743),l(58704),l(74876),l(11426),l(24371),l(35577),l(13144),l(85513),l(903),l(47511),l(40780),l(13210),l(54332),l(70942),l(52892),l(74984),l(20288),l(26280),l(89425),l(79457),l(92927),l(63887),l(86862),l(97353),l(43932),l(17929),l(45820),l(37345),l(24906),l(71429),l(93381),l(24319),l(9753),l(92168),l(89485),l(80366),l(26896),l(82939),l(84891),l(94933),l(54803),l(24540),l(63326),l(62356),l(21029),l(28439),l(2040),l(38512),l(50096),l(76577),l(40998),l(94840),l(23449),l(70767),l(71384),l(89865),l(42963),l(10509),l(22738),l(89281),l(9983),l(30893),l(37485),l(84435),l(68092),l(71327),l(612),l(83113),l(34229),l(65683),l(12788),l(55689),l(8571),l(90874),l(48598),l(89239),l(20601),l(65398),l(16241),l(46193),l(1607),l(37838),l(9930),l(84315),l(14032),l(10196),l(52467),l(14641),l(30035),l(70981),l(47251),l(38564),l(34438),l(83082),l(10008),l(5774),l(64040),l(10230),l(31693),l(99729),l(45682),l(10504),l(62349),l(22449),l(19938),l(2982),l(857);Us().use(As(),{Prism:js()}),Us().use((0,Ms.Z)()),Us().use((0,Rs.Z)()),Us().use((0,Is.Z)()),Us().use((0,zs.Z)());var Ls=[{path:"/admin",redirect:"/admin/dashboard",component:me,children:[{path:"/admin/dashboard",component:Yt},{path:"/admin/settings",component:ho}]},{path:"/auth",redirect:"/auth/login",component:ve,children:[{path:"/auth/login",component:Mo}]},{path:"/page/",component:qr},{path:"/page/:code",component:$n},{path:"/help/",component:Gr},{path:"/help/:use",component:Gr},{path:"/statistics/",component:Ds},{path:"/",component:us}],Zs=(0,o.p7)({history:(0,o.PO)(),routes:Ls});(0,a.createApp)(g).use(Zs).use(Us()).mount("#app")}},t={};function l(a){var o=t[a];if(void 0!==o)return o.exports;var n=t[a]={exports:{}};return e[a].call(n.exports,n,n.exports,l),n.exports}l.m=e,function(){l.amdO={}}(),function(){var e=[];l.O=function(t,a,o,n){if(!a){var r=1/0;for(d=0;d=n)&&Object.keys(l.O).every((function(e){return l.O[e](a[i])}))?a.splice(i--,1):(s=!1,n0&&e[d-1][2]>n;d--)e[d]=e[d-1];e[d]=[a,o,n]}}(),function(){l.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return l.d(t,{a:t}),t}}(),function(){l.d=function(e,t){for(var a in t)l.o(t,a)&&!l.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}}(),function(){l.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){l.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){l.p="/"}(),function(){var e={143:0};l.O.j=function(t){return 0===e[t]};var t=function(t,a){var o,n,r=a[0],s=a[1],i=a[2],c=0;if(r.some((function(t){return 0!==e[t]}))){for(o in s)l.o(s,o)&&(l.m[o]=s[o]);if(i)var d=i(l)}for(t&&t(a);c