1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,800601,e=>{"use strict";var t=e.i(77476),a=e.i(318203),s=e.i(294237);e.i(483089);let l=(0,s.cva)("",{variants:{type:{horizontal:"my-2 h-[0.5px] w-full",vertical:"mx-2 h-full w-px"},bgStyle:{gradient:"bg-linear-to-r from-divider-regular to-background-gradient-mask-transparent",solid:"bg-divider-regular"}},defaultVariants:{type:"horizontal",bgStyle:"solid"}});e.s(["default",0,({type:e,bgStyle:s,className:i="",style:n})=>(0,t.jsx)("div",{className:(0,a.cn)(l({type:e,bgStyle:s}),"shrink-0",i),style:n,"data-testid":"divider"})])},540382,e=>{"use strict";var t=e.i(77476),a=e.i(318203),s=e.i(294237),l=e.i(321827);let i=(0,s.cva)("block object-contain [html[data-theme=dark]_&]:brightness-0 [html[data-theme=dark]_&]:invert",{variants:{size:{small:"h-4 w-9",medium:"h-5.5 w-12",large:"h-7 w-16"}},defaultVariants:{size:"medium"}});e.s(["DifyLogo",0,function({alt:e,className:s,size:n,...r}){let d=(0,a.cn)(i({size:n,className:s}));return(0,t.jsx)("img",{...r,src:`${l.basePath}/logo/logo.svg`,width:48,height:22,className:d,alt:e})}])},210445,e=>{e.v(t=>Promise.all(["static/chunks/3u7qhqb_aalhl.js"].map(t=>e.l(t))).then(()=>t(211332)))},901801,e=>{"use strict";var t=e.i(77476),a=e.i(480336),s=e.i(800601),l=e.i(540382),i=e.i(298383),n=e.i(954231),r=e.i(117799),d=e.i(395219);e.i(917998);var o=e.i(262348),c=e.i(140274);let u=(0,o.default)(()=>e.A(210445),{ssr:!1,loading:()=>(0,t.jsx)("div",{className:"size-8 bg-transparent"})});e.s(["default",0,()=>{let e=(0,i.useLocale)(),{data:o}=(0,a.useSuspenseQuery)((0,n.systemFeaturesQueryOptions)());return(0,t.jsxs)("header",{className:"flex w-full items-center justify-between p-6",children:[o.branding.enabled&&o.branding.login_page_logo?(0,t.jsx)("img",{src:o.branding.login_page_logo,className:"block h-7 w-auto object-contain",alt:o.branding.application_title||""}):(0,t.jsx)(l.DifyLogo,{alt:"Dify",size:"large"}),(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)(c.default,{value:e,items:d.languages.filter(e=>e.supported),onChange:e=>{(0,r.setLocaleOnClient)(e,!1)}}),(0,t.jsx)(s.default,{type:"vertical",className:"mx-0 ml-2 h-4"}),(0,t.jsx)(u,{})]})]})}])},140274,e=>{"use strict";var t=e.i(77476),a=e.i(488714);e.s(["default",0,function({items:e,value:s,onChange:l}){let i=e.find(e=>e.value===s);return(0,t.jsx)("div",{className:"w-56 text-right",children:(0,t.jsxs)(a.DropdownMenu,{children:[(0,t.jsx)("div",{className:"relative inline-block text-left",children:(0,t.jsx)("div",{children:(0,t.jsxs)(a.DropdownMenuTrigger,{render:(0,t.jsx)("button",{type:"button",className:"inline-flex w-full items-center rounded-lg border border-components-button-secondary-border px-2.5 py-1.5 text-[13px] font-medium text-text-primary hover:bg-state-base-hover"}),children:[(0,t.jsx)("span",{className:"mr-1 i-heroicons-globe-alt size-5","aria-hidden":"true"}),i?.name]})})}),(0,t.jsx)(a.DropdownMenuContent,{placement:"bottom-end",sideOffset:8,className:"w-50",children:(0,t.jsx)(a.DropdownMenuRadioGroup,{value:s,onValueChange:e=>l?.(e),children:e.map(e=>(0,t.jsxs)(a.DropdownMenuRadioItem,{value:e.value,closeOnClick:!0,className:"px-3 py-2 text-sm text-text-secondary",children:[(0,t.jsx)("span",{className:"grow truncate",children:e.name}),(0,t.jsx)(a.DropdownMenuRadioItemIndicator,{})]},e.value))})})]})})}])},715871,e=>{"use strict";var t=e.i(77476),a=e.i(318203),s=e.i(480336),l=e.i(954231),i=e.i(901801);e.s(["default",0,function({children:e}){let{data:n}=(0,s.useSuspenseQuery)((0,l.systemFeaturesQueryOptions)());return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:(0,a.cn)("flex min-h-screen w-full justify-center bg-background-default-burn p-6"),children:(0,t.jsxs)("div",{className:(0,a.cn)("flex w-full min-w-0 flex-col items-center rounded-2xl border border-effects-highlight bg-background-default-subtle"),children:[(0,t.jsx)(i.default,{}),(0,t.jsx)("main",{className:(0,a.cn)("flex w-full grow flex-col items-center justify-center px-6 md:px-27"),children:(0,t.jsx)("div",{className:"flex w-full flex-col md:w-100",children:e})}),!1===n.branding.enabled&&(0,t.jsxs)("footer",{className:"px-8 py-6 system-xs-regular text-text-tertiary",children:["© ",new Date().getFullYear()," LangGenius, Inc. All rights reserved."]})]})})})}])},117799,e=>{"use strict";var t=e.i(734804),a=e.i(333700),s=e.i(44625);let l={defaultLocale:"en-US",locales:e.i(395219).LanguagesSupported},i=async(e,l=!0)=>{t.default.set(a.LOCALE_COOKIE_NAME,e,{expires:365}),await (0,s.changeLanguage)(e),l&&location.reload()};e.s(["i18n",0,l,"renderI18nObject",0,(e,t)=>e?e?.[t]?e[t]:e?.en_US?e.en_US:Object.values(e).find(e=>!!e)||"":"","setLocaleOnClient",0,i])}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.