const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/stackoverflow-dark-8CFru5b-.css","assets/stackoverflow-light-CpIvNHzo.css"])))=>i.map(i=>d[i]);
var tD=Object.defineProperty;var nD=(n,e,t)=>e in n?tD(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Xt=(n,e,t)=>nD(n,typeof e!="symbol"?e+"":e,t);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function t(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=t(i);fetch(i.href,s)}})();/**
* @vue/shared v3.5.10
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function Yb(n){const e=Object.create(null);for(const t of n.split(","))e[t]=1;return t=>t in e}const Zt={},wa=[],Si=()=>{},rD=()=>!1,Sp=n=>n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&(n.charCodeAt(2)>122||n.charCodeAt(2)<97),$b=n=>n.startsWith("onUpdate:"),mn=Object.assign,Wb=(n,e)=>{const t=n.indexOf(e);t>-1&&n.splice(t,1)},iD=Object.prototype.hasOwnProperty,zt=(n,e)=>iD.call(n,e),lt=Array.isArray,Ca=n=>bl(n)==="[object Map]",gl=n=>bl(n)==="[object Set]",pE=n=>bl(n)==="[object Date]",sD=n=>bl(n)==="[object RegExp]",gt=n=>typeof n=="function",rn=n=>typeof n=="string",xi=n=>typeof n=="symbol",Kt=n=>n!==null&&typeof n=="object",YR=n=>(Kt(n)||gt(n))&>(n.then)&>(n.catch),$R=Object.prototype.toString,bl=n=>$R.call(n),oD=n=>bl(n).slice(8,-1),WR=n=>bl(n)==="[object Object]",Kb=n=>rn(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,sc=Yb(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tp=n=>{const e=Object.create(null);return t=>e[t]||(e[t]=n(t))},aD=/-(\w)/g,Vr=Tp(n=>n.replace(aD,(e,t)=>t?t.toUpperCase():"")),lD=/\B([A-Z])/g,qs=Tp(n=>n.replace(lD,"-$1").toLowerCase()),xp=Tp(n=>n.charAt(0).toUpperCase()+n.slice(1)),fu=Tp(n=>n?`on${xp(n)}`:""),zs=(n,e)=>!Object.is(n,e),Ra=(n,...e)=>{for(let t=0;tString(d)===String(a)):o.selected=jb(e,a)>-1}else o.selected=e.has(a);else if(ko(Va(o),e)){n.selectedIndex!==i&&(n.selectedIndex=i);return}}!t&&n.selectedIndex!==-1&&(n.selectedIndex=-1)}}function Va(n){return"_value"in n?n._value:n.value}function gM(n,e){const t=e?"_trueValue":"_falseValue";return t in n?n[t]:e}const LL=["ctrl","shift","alt","meta"],PL={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,e)=>LL.some(t=>n[`${t}Key`]&&!e.includes(t))},W=(n,e)=>{const t=n._withMods||(n._withMods={}),r=e.join(".");return t[r]||(t[r]=(i,...s)=>{for(let o=0;oHa(d,a))?r.push(a):t.push(a));const l=n.matched[o];l&&(e.matched.find(d=>Ha(d,l))||i.push(l))}return[t,r,i]}function K5(n){return Ur(Ev)}const j5="modulepreload",Q5=function(n){return"/"+n},D1={},eh=function(e,t,r){let i=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=Promise.allSettled(t.map(l=>{if(l=Q5(l),l in D1)return;D1[l]=!0;const d=l.endsWith(".css"),u=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const h=document.createElement("link");if(h.rel=d?"stylesheet":j5,d||(h.as="script"),h.crossOrigin="",h.href=l,a&&h.setAttribute("nonce",a),document.head.appendChild(h),d)return new Promise((m,g)=>{h.addEventListener("load",m),h.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${l}`)))})}))}function s(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return i.then(o=>{for(const a of o||[])a.status==="rejected"&&s(a.reason);return e().catch(s)})},X5={class:"sticky top-0 z-50 w-full bg-transparent"},Z5={class:"container mx-auto px-4"},J5={class:"flex items-center justify-between h-16"},e6={class:"hidden md:block"},t6={class:"flex items-center space-x-4"},n6={class:"flex items-center space-x-1"},r6={key:0,class:"ml-1 text-xs","aria-hidden":"true"},i6={class:"md:hidden"},s6={class:"px-2 pt-2 pb-3 space-y-1"},o6={class:"flex items-center justify-between"},a6={key:0,class:"text-xs","aria-hidden":"true"},l6={name:"Navigation"},c6=Object.assign(l6,{setup(n){const e=K5(),t=ct(0),r=ct([]),i=ct(!1),s=[{active:!0,route:"discussions",text:"Discussions"},{active:!0,route:"playground",text:"Playground"},{active:!0,route:"PersonalitiesZoo",text:"Personalities Zoo"},{active:!0,route:"AppsZoo",text:"Apps Zoo"},{active:!1,route:"AutoSD",text:"Auto111-SD",condition:()=>Zr.state.config.enable_sd_service||Zr.state.config.active_tti_service==="autosd"},{active:!1,route:"ComfyUI",text:"ComfyUI",condition:()=>Zr.state.config.enable_comfyui_service||Zr.state.config.active_tti_service==="comfyui"},{active:!1,route:"interactive",text:"Interactive",condition:()=>Zr.state.config.active_tts_service!=="None"&&Zr.state.config.active_stt_service!=="None"},{active:!0,route:"settings",text:"Settings"},{active:!0,route:"help_view",text:"Help"}],o=tt(()=>Zr.state.ready?s.filter(u=>u.condition?u.condition():u.active):s.filter(u=>u.active));Ai(()=>{a()}),kn(()=>e.name,a);function a(){const u=o.value.findIndex(h=>h.route===e.name);u!==-1&&(t.value=u)}function l(u){return e.name===u}function d(u){t.value=u}return(u,h)=>(T(),C("div",X5,[c("nav",Z5,[c("div",J5,[c("div",e6,[c("div",t6,[(T(!0),C(ke,null,We(o.value,(m,g)=>(T(),dt(Et(Yu),{key:g,to:{name:m.route},class:Le(["nav-button",{"nav-button-active":l(m.route)}]),onClick:_=>d(g),ref_for:!0,ref_key:"menuItems",ref:r},{default:Ae(()=>[c("div",n6,[Qe(Y(m.text)+" ",1),l(m.route)?(T(),C("span",r6," ✨ ")):B("",!0)])]),_:2},1032,["to","class","onClick"]))),128))])]),c("div",i6,[c("button",{onClick:h[0]||(h[0]=m=>i.value=!i.value),class:"inline-flex items-center justify-center p-2 rounded-md text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700 focus:outline-none"},[(T(),C("svg",{class:Le(["h-6 w-6",{hidden:i.value,block:!i.value}]),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},h[1]||(h[1]=[c("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6h16M4 12h16M4 18h16"},null,-1)]),2)),(T(),C("svg",{class:Le(["h-6 w-6",{block:i.value,hidden:!i.value}]),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},h[2]||(h[2]=[c("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"},null,-1)]),2))])])]),c("div",{class:Le([{block:i.value,hidden:!i.value},"md:hidden"])},[c("div",s6,[(T(!0),C(ke,null,We(o.value,(m,g)=>(T(),dt(Et(Yu),{key:g,to:{name:m.route},class:Le(["block px-3 py-2 rounded-md text-base font-medium transition-colors duration-200 ease-in-out text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700",{"bg-blue-500 text-white hover:bg-blue-600 dark:bg-blue-600 dark:hover:bg-blue-700":l(m.route)}]),onClick:_=>{d(g),i.value=!1}},{default:Ae(()=>[c("div",o6,[Qe(Y(m.text)+" ",1),l(m.route)?(T(),C("span",a6," ✨ ")):B("",!0)])]),_:2},1032,["to","class","onClick"]))),128))])],2)])]))}}),ot=(n,e)=>{const t=n.__vccOpts||n;for(const[r,i]of e)t[r]=i;return t},d6={props:{href:{type:String,default:"#"},icon:{type:String,required:!0},title:{type:String,default:""}},methods:{onClick(n){this.href==="#"&&(n.preventDefault(),this.$emit("click"))}}},u6=["href","title"],p6=["data-feather"];function f6(n,e,t,r,i,s){return T(),C("a",{href:t.href,onClick:e[0]||(e[0]=(...o)=>s.onClick&&s.onClick(...o)),class:"text-2xl hover:text-primary transition duration-150 ease-in-out",title:t.title},[c("i",{"data-feather":t.icon},null,8,p6)],8,u6)}const pN=ot(d6,[["render",f6]]),h6={props:{href:{type:String,required:!0},icon:{type:String,required:!0},title:{type:String,default:"Visit our social media"}}},m6=["href","title"],_6=["data-feather"],g6={key:1,class:"w-6 h-6 fill-current",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},b6={key:2,class:"w-6 h-6 fill-current",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function v6(n,e,t,r,i,s){return T(),C("a",{href:t.href,target:"_blank",class:"text-2xl hover:text-primary transition duration-150 ease-in-out",title:t.title},[t.icon!=="x"&&t.icon!=="discord"?(T(),C("i",{key:0,"data-feather":t.icon},null,8,_6)):t.icon==="x"?(T(),C("svg",g6,e[0]||(e[0]=[c("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"},null,-1)]))):t.icon==="discord"?(T(),C("svg",b6,e[1]||(e[1]=[c("path",{d:"M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"},null,-1)]))):B("",!0)],8,m6)}const fN=ot(h6,[["render",v6]]);var hN=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ws(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function y6(n){if(n.__esModule)return n;var e=n.default;if(typeof e=="function"){var t=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(r){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return n[r]}})}),t}var mN={exports:{}};(function(n,e){(function(r,i){n.exports=i()})(typeof self<"u"?self:hN,function(){return function(t){var r={};function i(s){if(r[s])return r[s].exports;var o=r[s]={i:s,l:!1,exports:{}};return t[s].call(o.exports,o,o.exports,i),o.l=!0,o.exports}return i.m=t,i.c=r,i.d=function(s,o,a){i.o(s,o)||Object.defineProperty(s,o,{configurable:!1,enumerable:!0,get:a})},i.r=function(s){Object.defineProperty(s,"__esModule",{value:!0})},i.n=function(s){var o=s&&s.__esModule?function(){return s.default}:function(){return s};return i.d(o,"a",o),o},i.o=function(s,o){return Object.prototype.hasOwnProperty.call(s,o)},i.p="",i(i.s=0)}({"./dist/icons.json":function(t){t.exports={activity:'1114111?h+="����":(u-=65536,h+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),i+=9;continue}h+="�"}return h})}Wp.defaultChars=";/?:@&=+$,#";Wp.componentChars="";var H0e=Wp,q0e=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t};function $u(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var Y0e=/^([a-z0-9.+-]+:)/i,$0e=/:[0-9]*$/,W0e=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,K0e=["<",">",'"',"`"," ","\r",`
`," "],j0e=["{","}","|","\\","^","`"].concat(K0e),Q0e=["'"].concat(j0e),F1=["%","/","?",";","#"].concat(Q0e),U1=["/","?","#"],X0e=255,B1=/^[+a-z0-9A-Z_-]{0,63}$/,Z0e=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,G1={javascript:!0,"javascript:":!0},z1={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function J0e(n,e){if(n&&n instanceof $u)return n;var t=new $u;return t.parse(n,e),t}$u.prototype.parse=function(n,e){var t,r,i,s,o,a=n;if(a=a.trim(),!e&&n.split("#").length===1){var l=W0e.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var d=Y0e.exec(a);if(d&&(d=d[0],i=d.toLowerCase(),this.protocol=d,a=a.substr(d.length)),(e||d||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o=a.substr(0,2)==="//",o&&!(d&&G1[d])&&(a=a.substr(2),this.slashes=!0)),!G1[d]&&(o||d&&!z1[d])){var u=-1;for(t=0;t
`};Mi.fence=function(n,e,t,r,i){var s=n[e],o=s.info?lbe(s.info).trim():"",a="",l="",d,u,h,m,g;return o&&(h=o.split(/(\s+)/g),a=h[0],l=h.slice(2).join("")),t.highlight?d=t.highlight(s.content,a,l)||Po(s.content):d=Po(s.content),d.indexOf(""+Po(n[e].content)+`
`):""+d+`
`};Mi.image=function(n,e,t,r,i){var s=n[e];return s.attrs[s.attrIndex("alt")][1]=i.renderInlineAsText(s.children,t,r),i.renderToken(n,e,t)};Mi.hardbreak=function(n,e,t){return t.xhtmlOut?`"+d+`
`:`
`};Mi.softbreak=function(n,e,t){return t.breaks?t.xhtmlOut?`
`:`
`:`
`};Mi.text=function(n,e){return Po(n[e].content)};Mi.html_block=function(n,e){return n[e].content};Mi.html_inline=function(n,e){return n[e].content};function xl(){this.rules=abe({},Mi)}xl.prototype.renderAttrs=function(e){var t,r,i;if(!e.attrs)return"";for(i="",t=0,r=e.attrs.length;t=4||e.listIndent>=0&&e.sCount[k]-e.listIndent>=4&&e.sCount[k]r.height+r.depth+a&&(a=(a+h-r.height-r.depth)/2);var m=-(r.height+a+i)+u.height;u.style.top=m+"em",u.height-=m,u.depth+=m;var g;if(r.height===0&&r.depth===0?g=et():g=Rt.makeVList([{type:"elem",elem:r},{type:"kern",size:a},{type:"elem",elem:s},{type:"kern",size:i}],"firstBaseline",null,e),n.value.index){var _=yn(n.value.index,e.withStyle(fn.SCRIPTSCRIPT)),f=et([e.style.reset(),fn.SCRIPTSCRIPT.cls()],[_]),b=Math.max(u.height,g.height),v=Math.max(u.depth,g.depth),y=.6*(b-v),E=Rt.makeVList([{type:"elem",elem:f}],"shift",-y,e),S=et(["root"],[E]);return et(["sqrt","mord"],[S,u,g])}else return et(["sqrt","mord"],[u,g])};Pt.sizing=function(n,e,t){var r=js(n.value.value,e.withSize(n.value.size),t),i=et(["mord"],[et(["sizing","reset-"+e.size,n.value.size,e.style.cls()],r)]),s=Rt.sizingMultiplier[n.value.size];return i.maxFontSize=s*e.style.sizeMultiplier,i};Pt.styling=function(n,e,t){var r={display:fn.DISPLAY,text:fn.TEXT,script:fn.SCRIPT,scriptscript:fn.SCRIPTSCRIPT},i=r[n.value.style],s=js(n.value.value,e.withStyle(i),t);return et([e.style.reset(),i.cls()],s)};Pt.font=function(n,e,t){var r=n.value.font;return yn(n.value.body,e.withFont(r),t)};Pt.delimsizing=function(n,e,t){var r=n.value.value;return r==="."?et([hc[n.value.delimType]]):et([hc[n.value.delimType]],[Ka.sizedDelim(r,n.value.size,e,n.mode)])};Pt.leftright=function(n,e,t){for(var r=js(n.value.body,e.reset()),i=0,s=0,o=0;o