PageSourceSearch

http://parisobs.com/_next/static/chunks/pages/project/[projectId]/evals/default-model-cb7f0ff8d156b1e6.js

js parisobs.com collected 2026-10-04 01:40:51 UTC 12,067 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4978],{2036:(e,t,r)=>{"use strict";r.d(t,{G:()=>n});var a=r(73154),s=r(36932),o=r(79071);let n=()=>(0,a.jsx)("div",{className:"flex h-full w-full items-center justify-center p-6","data-sentry-component":"SupportOrUpgradePage","data-sentry-source-file":"SupportOrUpgradePage.tsx",children:(0,a.jsx)("div",{className:"w-full max-w-md",children:(0,a.jsxs)(o.Fc,{"data-sentry-element":"Alert","data-sentry-source-file":"SupportOrUpgradePage.tsx",children:[(0,a.jsx)(s.A,{className:"h-4 w-4","data-sentry-element":"AlertCircle","data-sentry-source-file":"SupportOrUpgradePage.tsx"}),(0,a.jsx)(o.XL,{"data-sentry-element":"AlertTitle","data-sentry-source-file":"SupportOrUpgradePage.tsx",children:"Access Restricted"}),(0,a.jsxs)(o.TN,{"data-sentry-element":"AlertDescription","data-sentry-source-file":"SupportOrUpgradePage.tsx",children:[(0,a.jsx)("p",{className:"mb-2",children:"This feature requires additional permissions"}),(0,a.jsx)("p",{children:"Contact your system/project administrator for access or upgrade your plan. Need help? Reach out to support."})]})]})})})},18328:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(39156);function s(){return(0,a.useRouter)().query.projectId}},26159:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(73154),s=r(49757),o=r(81509);let n=e=>{let{children:t,headerProps:r,scrollable:n=!1,withPadding:l=!1}=e;return(0,a.jsxs)("div",{className:(0,o.cn)("flex flex-col",n?"relative flex min-h-screen-with-banner flex-1":"h-full"),id:"page","data-sentry-component":"Page","data-sentry-source-file":"page.tsx",children:[(0,a.jsx)("header",{className:"sticky top-0 z-50 w-full",children:(0,a.jsx)(s.A,{...r,container:!1,className:"top-0","data-sentry-element":"PageHeader","data-sentry-source-file":"page.tsx"})}),(0,a.jsx)("main",{className:(0,o.cn)("flex flex-1 flex-col",n?"relative flex min-h-screen-with-banner":"h-full overflow-hidden",l&&"p-3"),children:t})]})}},48038:(e,t,r)=>{"use strict";r.d(t,{UC:()=>B,ZL:()=>Z,bL:()=>G,bm:()=>J,l9:()=>X});var a=r(96810),s=r(29950),o=r(92905),n=r(80111),l=r(29887),d=r(23048),i=r(90451),c=r(12566),u=r(60385),p=r(23851),f=r(7737),m=r(99297),x=r(76657),h=r(11810),v=r(89838),g=r(28818),y=r(73154),j="Popover",[w,b]=(0,n.A)(j,[u.Bk]),N=(0,u.Bk)(),[P,C]=w(j),R=e=>{let{__scopePopover:t,children:r,open:s,defaultOpen:o,onOpenChange:n,modal:l=!1}=e,d=N(t),i=a.useRef(null),[p,f]=a.useState(!1),[m,x]=(0,h.i)({prop:s,defaultProp:o??!1,onChange:n,caller:j});return(0,y.jsx)(u.bL,{...d,children:(0,y.jsx)(P,{scope:t,contentId:(0,c.B)(),triggerRef:i,open:m,onOpenChange:x,onOpenToggle:a.useCallback(()=>x(e=>!e),[x]),hasCustomAnchor:p,onCustomAnchorAdd:a.useCallback(()=>f(!0),[]),onCustomAnchorRemove:a.useCallback(()=>f(!1),[]),modal:l,children:r})})};R.displayName=j;var A="PopoverAnchor";a.forwardRef((e,t)=>{let{__scopePopover:r,...s}=e,o=C(A,r),n=N(r),{onCustomAnchorAdd:l,onCustomAnchorRemove:d}=o;return a.useEffect(()=>(l(),()=>d()),[l,d]),(0,y.jsx)(u.Mz,{...n,...s,ref:t})}).displayName=A;var k="PopoverTrigger",O=a.forwardRef((e,t)=>{let{__scopePopover:r,...a}=e,n=C(k,r),l=N(r),d=(0,o.s)(t,n.triggerRef),i=(0,y.jsx)(m.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":n.open,"aria-controls":n.contentId,"data-state":K(n.open),...a,ref:d,onClick:(0,s.mK)(e.onClick,n.onOpenToggle)});return n.hasCustomAnchor?i:(0,y.jsx)(u.Mz,{asChild:!0,...l,children:i})});O.displayName=k;var _="PopoverPortal",[D,E]=w(_,{forceMount:void 0}),F=e=>{let{__scopePopover:t,forceMount:r,children:a,container:s}=e,o=C(_,t);return(0,y.jsx)(D,{scope:t,forceMount:r,children:(0,y.jsx)(f.C,{present:r||o.open,children:(0,y.jsx)(p.Z,{asChild:!0,container:s,children:a})})})};F.displayName=_;var T="PopoverContent",U=a.forwardRef((e,t)=>{let r=E(T,e.__scopePopover),{forceMount:a=r.forceMount,...s}=e,o=C(T,e.__scopePopover);return(0,y.jsx)(f.C,{present:a||o.open,children:o.modal?(0,y.jsx)(L,{...s,ref:t}):(0,y.jsx)(M,{...s,ref:t})})});U.displayName=T;var I=(0,x.TL)("PopoverContent.RemoveScroll"),L=a.forwardRef((e,t)=>{let r=C(T,e.__scopePopover),n=a.useRef(null),l=(0,o.s)(t,n),d=a.useRef(!1);return a.useEffect(()=>{let e=n.current;
1if(e)return(0,v.Eq)(e)},[]),(0,y.jsx)(g.A,{as:I,allowPinchZoom:!0,children:(0,y.jsx)(S,{...e,ref:l,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,s.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),d.current||r.triggerRef.current?.focus()}),onPointerDownOutside:(0,s.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;d.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,s.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),M=a.forwardRef((e,t)=>{let r=C(T,e.__scopePopover),s=a.useRef(!1),o=a.useRef(!1);return(0,y.jsx)(S,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(s.current||r.triggerRef.current?.focus(),t.preventDefault()),s.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(s.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let a=t.target;r.triggerRef.current?.contains(a)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),S=a.forwardRef((e,t)=>{let{__scopePopover:r,trapFocus:a,onOpenAutoFocus:s,onCloseAutoFocus:o,disableOutsidePointerEvents:n,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:f,onInteractOutside:m,...x}=e,h=C(T,r),v=N(r);return(0,d.Oh)(),(0,y.jsx)(i.n,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:s,onUnmountAutoFocus:o,children:(0,y.jsx)(l.qW,{asChild:!0,disableOutsidePointerEvents:n,onInteractOutside:m,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:f,onDismiss:()=>h.onOpenChange(!1),children:(0,y.jsx)(u.UC,{"data-state":K(h.open),role:"dialog",id:h.contentId,...v,...x,ref:t,style:{...x.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),q="PopoverClose",z=a.forwardRef((e,t)=>{let{__scopePopover:r,...a}=e,o=C(q,r);return(0,y.jsx)(m.sG.button,{type:"button",...a,ref:t,onClick:(0,s.mK)(e.onClick,()=>o.onOpenChange(!1))})});function K(e){return e?"open":"closed"}z.displayName=q,a.forwardRef((e,t)=>{let{__scopePopover:r,...a}=e,s=N(r);return(0,y.jsx)(u.i3,{...s,...a,ref:t})}).displayName="PopoverArrow";var G=R,X=O,Z=F,B=U,J=z},79071:(e,t,r)=>{"use strict";r.d(t,{Fc:()=>d,TN:()=>c,XL:()=>i});var a=r(73154),s=r(96810),o=r(33616),n=r(81509);let l=(0,o.F)("relative w-full rounded-lg border p-3 [&>svg~*]:pl-6 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-3 [&>svg]:top-3 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),d=s.forwardRef((e,t)=>{let{className:r,variant:s,...o}=e;return(0,a.jsx)("div",{ref:t,role:"alert",className:(0,n.cn)(l({variant:s}),r),...o})});d.displayName="Alert";let i=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("h5",{ref:t,className:(0,n.cn)("mb-1 font-medium leading-none tracking-tight",r),...s})});i.displayName="AlertTitle";let c=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)("div",{ref:t,className:(0,n.cn)("text-sm [&_p]:leading-relaxed",r),...s})});c.displayName="AlertDescription"},80611:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/project/[projectId]/evals/default-model",function(){return r(91620)}])},91620:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var a=r(73154),s=r(26159),o=r(39156),n=r(18799),l=r(2036),d=r(70890);function i(){let e=(0,o.useRouter)().query.projectId;return(0,n.lp)({projectId:e,scope:"evalDefaultModel:read"})?(0,a.jsx)(s.A,{withPadding:!0,headerProps:{title:"Default Evaluation Model",help:{description:"Configure a default evaluation model for your project.",href:"https://langfuse.com/docs/evaluation/evaluation-methods/llm-as-a-judge"},breadcrumb:[{name:"Evaluator Library",href:"/project/".concat(e,"/evals/templates")}
1]},"data-sentry-element":"Page","data-sentry-component":"DefaultEvaluationModelPage","data-sentry-source-file":"default-evaluation-model.tsx",children:(0,a.jsx)(d.c,{projectId:e,"data-sentry-element":"DefaultEvalModelSetup","data-sentry-source-file":"default-evaluation-model.tsx"})}):(0,a.jsx)(l.G,{})}},93323:(e,t,r)=>{"use strict";r.d(t,{TR:()=>v,bq:()=>f,eb:()=>g,gC:()=>h,l6:()=>c,mi:()=>y,s3:()=>u,yv:()=>p});var a=r(73154),s=r(96810),o=r(39688),n=r(21),l=r(66428),d=r(92273),i=r(81509);let c=o.bL,u=o.YJ,p=o.WT,f=s.forwardRef((e,t)=>{let{className:r,children:s,...l}=e;return(0,a.jsxs)(o.l9,{ref:t,className:(0,i.cn)("flex h-8 w-full items-center justify-between gap-1 rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:bg-muted/50 disabled:opacity-50 [&>span]:line-clamp-1",r),...l,children:[s,l.hideDownIcon?null:(0,a.jsx)(o.In,{asChild:!0,children:(0,a.jsx)(n.A,{className:"h-4 w-4 opacity-50"})})]})});f.displayName=o.l9.displayName;let m=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.PP,{ref:t,className:(0,i.cn)("flex cursor-default items-center justify-center py-1",r),...s,children:(0,a.jsx)(l.A,{className:"h-4 w-4"})})});m.displayName=o.PP.displayName;let x=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.wn,{ref:t,className:(0,i.cn)("flex cursor-default items-center justify-center py-1",r),...s,children:(0,a.jsx)(n.A,{className:"h-4 w-4"})})});x.displayName=o.wn.displayName;let h=s.forwardRef((e,t)=>{let{className:r,children:s,position:n="popper",...l}=e;return(0,a.jsx)(o.ZL,{children:(0,a.jsxs)(o.UC,{ref:t,className:(0,i.cn)("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===n&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r),position:n,...l,children:[(0,a.jsx)(m,{}),(0,a.jsx)(o.LM,{className:(0,i.cn)("p-1","popper"===n&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:s}),(0,a.jsx)(x,{})]})})});h.displayName=o.UC.displayName;let v=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.JU,{ref:t,className:(0,i.cn)("py-1.5 pl-8 pr-2 text-sm font-semibold",r),...s})});v.displayName=o.JU.displayName;let g=s.forwardRef((e,t)=>{let{className:r,children:s,...n}=e;return(0,a.jsxs)(o.q7,{ref:t,className:(0,i.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),...n,children:[(0,a.jsx)("span",{"data-checkmark":!0,className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(o.VF,{children:(0,a.jsx)(d.A,{className:"h-4 w-4"})})}),(0,a.jsx)(o.p4,{children:s})]})});g.displayName=o.q7.displayName;let y=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(o.wv,{ref:t,className:(0,i.cn)("-mx-1 my-1 h-px bg-muted",r),...s})});y.displayName=o.wv.displayName}},e=>{e.O(0,[789,202,9110,1454,531,7020,2911,1555,540,2348,8204,9578,636,6593,8792],()=>e(e.s=80611)),_N_E=e.O()}]);

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.