(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,648404,e=>{"use strict";var t,r,o,n,l,a,i,s,d,c=((t={}).light="light",t.dark="dark",t.system="system",t),u=((r={}).chat="chat",r.completion="completion",r.unset="",r),f=((o={}).oneWay="single",o.multiWay="multiple",o),x=((n={}).semantic="semantic_search",n.fullText="full_text_search",n.hybrid="hybrid_search",n.invertedIndex="invertedIndex",n.keywordSearch="keyword_search",n),p=((l={}).COMPLETION="completion",l.WORKFLOW="workflow",l.CHAT="chat",l.ADVANCED_CHAT="advanced-chat",l.AGENT_CHAT="agent-chat",l),g=((a={}).functionCall="function_call",a.react="react",a),b=((i={}).low="low",i.high="high",i),y=((s={}).all="all",s.local_file="local_file",s.remote_url="remote_url",s),h=((d={}).enabled="enabled",d.disabled="disabled",d);e.s(["ALLOW_FILE_EXTENSIONS",0,["png","jpg","jpeg","webp","gif"],"AgentStrategy",()=>g,"AppModeEnum",()=>p,"AppModes",0,["completion","workflow","chat","advanced-chat","agent-chat"],"ModelModeType",()=>u,"RETRIEVE_METHOD",()=>x,"RETRIEVE_TYPE",()=>f,"Resolution",()=>b,"Theme",()=>c,"TransferMethod",()=>y,"TtsAutoPlay",()=>h])},428997,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"setAttributesFromProps",{enumerable:!0,get:function(){return a}});let o={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},n=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function l(e){return["async","defer","noModule"].includes(e)}function a(e,t){for(let[r,a]of Object.entries(t)){if(!t.hasOwnProperty(r)||n.includes(r)||void 0===a)continue;let i=o[r]||r.toLowerCase();"SCRIPT"===e.tagName&&l(i)?e[i]=!!a:e.setAttribute(i,String(a)),(!1===a||"SCRIPT"===e.tagName&&l(i)&&(!a||"false"===a))&&(e.setAttribute(i,""),e.removeAttribute(i))}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},878836,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HeadManagerContext",{enumerable:!0,get:function(){return o}});let o=e.r(481258)._(e.r(736893)).default.createContext({})},726866,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o={WarningIcon:function(){return s},errorStyles:function(){return a},errorThemeCss:function(){return i}};for(var n in o)Object.defineProperty(r,n,{enumerable:!0,get:o[n]});e.r(481258);let l=e.r(835240);e.r(736893);let a={container:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",display:"flex",alignItems:"center",justifyContent:"center"},card:{marginTop:"-32px",maxWidth:"325px",padding:"32px 28px",textAlign:"left"},icon:{marginBottom:"24px"},title:{fontSize:"24px",fontWeight:500,letterSpacing:"-0.02em",lineHeight:"32px",margin:"0 0 12px 0",color:"var(--next-error-title)"},message:{fontSize:"14px",fontWeight:400,lineHeight:"21px",margin:"0 0 20px 0",color:"var(--next-error-message)"},form:{margin:0},buttonGroup:{display:"flex",gap:"8px",alignItems:"center"},button:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-text)",background:"var(--next-error-btn-bg)",border:"var(--next-error-btn-border)"},buttonSecondary:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-secondary-text)",background:"var(--next-error-btn-secondary-bg)",border:"var(--next-error-btn-secondary-border)"},digestFooter:{position:"fixed",bottom:"32px",left:"0",right:"0",textAlign:"center",fontFamily:'ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace',fontSize:"12px",lineHeight:"18px",fontWeight:400,margin:"0",color:"var(--next-error-digest)"}},i=` :root { --next-error-bg: #fff; --next-error-text: #171717; --next-error-title: #171717; --next-error-message: #171717; --next-error-digest: #666666; --next-error-btn-text: #fff; --next-error-btn-bg: #171717; --next-error-btn-border: none; --next-error-btn-secondary-text: #171717; --next-error-btn-secondary-bg: transparent; --next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08); } @media (prefers-color-scheme: dark) { :root { --next-error-bg: #0a0a0a; --next-error-text: #ededed; --next-error-title: #ededed; --next-error-message: #ededed; --next-error-digest: #a0a0a0; --next-error-btn-text: #0a0a0a; --next-error-btn-bg: #ededed; --next-error-btn-border: none; --next-error-btn-secondary-text: #ededed; --next-error-btn-secondary-bg: transparent; --next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14); } } body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); } `.replace(/\n\s*/g,"");function s(){return(0,l.jsx)("svg",{width:"32",height:"32",viewBox:"-0.2 -1.5 32 32",fill:"none",style:a.icon,children:(0,l.jsx)("path",{d:"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z",fill:"var(--next-error-title)"})})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},994804,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a}}),e.r(481258);let o=e.r(835240);e.r(736893);let n=e.r(710921),l=e.r(726866),a=function(e){let{error:t}=e,r=t?.digest,a=!!r;return(0,n.handleISRError)({error:t}),(0,o.jsxs)("html",{id:"__next_error__",children:[(0,o.jsx)("head",{children:(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:l.errorThemeCss}})}),(0,o.jsxs)("body",{children:[(0,o.jsx)("div",{style:l.errorStyles.container,children:(0,o.jsxs)("div",{style:l.errorStyles.card,children:[(0,o.jsx)(l.WarningIcon,{}),(0,o.jsx)("h1",{style:l.errorStyles.title,children:"This page couldn’t load"}),(0,o.jsx)("p",{style:l.errorStyles.message,children:a?"A server error occurred. Reload to try again.":"Reload to try again, or go back."}),(0,o.jsxs)("div",{style:l.errorStyles.buttonGroup,children:[(0,o.jsx)("form",{style:l.errorStyles.form,children:(0,o.jsx)("button",{type:"submit",style:l.errorStyles.button,children:"Reload"})}),!a&&(0,o.jsx)("button",{type:"button",style:l.errorStyles.buttonSecondary,onClick:()=>{window.history.length>1?window.history.back():window.location.href="/"},children:"Back"})]})]})}),r&&(0,o.jsxs)("p",{style:l.errorStyles.digestFooter,children:["ERROR ",r]})]})]})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},58041,e=>{e.v(t=>Promise.all(["static/chunks/02o7rnrmrplb4.js"].map(t=>e.l(t))).then(()=>t(942989)))}]);