PageSourceSearch

https://www.helicone.ai/_next/static/chunks/7954-5f90f06ff5fdec8e.js

js helicone.ai collected 2026-10-02 02:54:16 UTC 8,763 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7954],{2625:function(e,n,t){t.d(n,{Z:function(){return r}});let r=(0,t(76576).Z)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},42942:function(e,n,t){t.d(n,{Z:function(){return r}});let r=(0,t(76576).Z)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},3116:function(e,n,t){t.d(n,{Z:function(){return r}});let r=(0,t(76576).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},88149:function(e,n,t){t.d(n,{default:function(){return u.a}});var r=t(60485),u=t.n(r)},74542:function(e,n,t){t.d(n,{default:function(){return u.a}});var r=t(9485),u=t.n(r)},58504:function(e,n,t){var r=t(93226);t.o(r,"useParams")&&t.d(n,{useParams:function(){return r.useParams}}),t.o(r,"usePathname")&&t.d(n,{usePathname:function(){return r.usePathname}}),t.o(r,"useRouter")&&t.d(n,{useRouter:function(){return r.useRouter}}),t.o(r,"useSearchParams")&&t.d(n,{useSearchParams:function(){return r.useSearchParams}})},60485:function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0}),function(e,n){for(var t in n)Object.defineProperty(e,t,{enumerable:!0,get:n[t]})}(n,{default:function(){return a},getImageProps:function(){return l}});let r=t(18805),u=t(54007),i=t(35118),o=r._(t(93918));function l(e){let{props:n}=(0,u.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!0,unoptimized:!1}});for(let[e,t]of Object.entries(n))void 0===t&&delete n[e];return{props:n}}let a=i.Image},84366:function(e,n,t){t.d(n,{XB:function(){return f}});var r,u=t(58078),i=t(94128),o=t(83184),l=t(54227),a=t(97907),s=t(37821),d="dismissableLayer.update",c=u.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=u.forwardRef((e,n)=>{var t,f;let{disableOutsidePointerEvents:p=!1,onEscapeKeyDown:y,onPointerDownOutside:E,onFocusOutside:b,onInteractOutside:h,onDismiss:g,...O}=e,w=u.useContext(c),[P,N]=u.useState(null),C=null!==(f=null==P?void 0:P.ownerDocument)&&void 0!==f?f:null===(t=globalThis)||void 0===t?void 0:t.document,[,L]=u.useState({}),D=(0,l.e)(n,e=>N(e)),T=Array.from(w.layers),[M]=[...w.layersWithOutsidePointerEventsDisabled].slice(-1),k=T.indexOf(M),R=P?T.indexOf(P):-1,S=w.layersWithOutsidePointerEventsDisabled.size>0,W=R>=k,j=function(e){var n;let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(n=globalThis)||void 0===n?void 0:n.document,r=(0,a.W)(e),i=u.useRef(!1),o=u.useRef(()=>{});return u.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let n=function(){m("dismissableLayer.pointerDownOutside",r,u,{discrete:!0})},u={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=n,t.addEventListener("click",o.current,{once:!0})):n()}else t.removeEventListener("click",o.current);i.current=!1},n=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(n),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let n=e.target,t=[...w.branches].some(e=>e.contains(n));!W||t||(null==E||E(e),null==h||h(e),e.defaultPrevented||null==g||g())},C),A=function(e){var n;let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(n=globalThis)||void 0===n?void 0:n.document,r=(0,a.W)(e),i=u.useRef(!1);return u.useEffect(()=>{let e=e=>{e.target&&!i.current&&m("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let n=e.target;[...w.branches].some(e=>e.contains(n))||(null==b||b(e),null==h||h(e),e.defaultPrevented||null==g||g())},C);return!function(e,n=globalThis?.document){let t=(0,a.W)(e);u.useEffect(()=>{let e=e=>{"Escape"===e.key&&t(e)};return n.addEventListener("keydown",e,{capture:!0}),()=>n.removeEventListener("keydown",e,{capture:!0})},[t,n])}(e=>{R!==w.layers.size-1||(null==y||y(e),!e.defaultPrevented&&g&&(e.preventDefault(),g()))},C),u.useEffect(()=>{if(P)return p&&(0===w.layersWithOutsidePointerEventsDisabled.size&&(r=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),w.layersWithOutsidePointerEventsDisabled.add(P)),w.layers.add(P),v(),()=>{p&&1===w.layersWithOutsidePointerEventsDisabled.size&&(C.body.style.pointerEvents=r)}},[P,C,p,w]),u.useEffect(()=>()=>{P&&(w.layers.delete(P),w.layersWithOutsidePointerEventsDisabled.delete(P),v())},[P,w]),u.useEffect(()=>{let e=()=>L({});return document.addEventListener(d,e),()=>document.removeEventListener(d,e)},[]),(0,s.jsx)(o.WV.div,{...O,ref:D,style:{pointerEvents:S?W?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.Mj)(e.onFocusCapture,A.onFocusCapture),onBlurCapture:(0,i.Mj)(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:(0,i.Mj)(e.onPointerDownCapture,j.onPointerDownCapture)})});function v(){let e=new CustomEvent(d);document.dispatchEvent(e)}function m(e,n,t,r){let{discrete:u}=r,i=t.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:t});n&&i.addEventListener(e,n,{once:!0}),u?(0,o.jH)(i,l):i.dispatchEvent(l)}
1f.displayName="DismissableLayer",u.forwardRef((e,n)=>{let t=u.useContext(c),r=u.useRef(null),i=(0,l.e)(n,r);return u.useEffect(()=>{let e=r.current;if(e)return t.branches.add(e),()=>{t.branches.delete(e)}},[t.branches]),(0,s.jsx)(o.WV.div,{...e,ref:i})}).displayName="DismissableLayerBranch"},90118:function(e,n,t){t.d(n,{z:function(){return o}});var r=t(58078),u=t(54227),i=t(76782),o=e=>{var n,t;let o,a;let{present:s,children:d}=e,c=function(e){var n,t;let[u,o]=r.useState(),a=r.useRef(null),s=r.useRef(e),d=r.useRef("none"),[c,f]=(n=e?"mounted":"unmounted",t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,n)=>{let r=t[e][n];return null!=r?r:e},n));return r.useEffect(()=>{let e=l(a.current);d.current="mounted"===c?e:"none"},[c]),(0,i.b)(()=>{let n=a.current,t=s.current;if(t!==e){let r=d.current,u=l(n);e?f("MOUNT"):"none"===u||(null==n?void 0:n.display)==="none"?f("UNMOUNT"):t&&r!==u?f("ANIMATION_OUT"):f("UNMOUNT"),s.current=e}},[e,f]),(0,i.b)(()=>{if(u){var e;let n;let t=null!==(e=u.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=l(a.current).includes(CSS.escape(e.animationName));if(e.target===u&&r&&(f("ANIMATION_END"),!s.current)){let e=u.style.animationFillMode;u.style.animationFillMode="forwards",n=t.setTimeout(()=>{"forwards"===u.style.animationFillMode&&(u.style.animationFillMode=e)})}},i=e=>{e.target===u&&(d.current=l(a.current))};return u.addEventListener("animationstart",i),u.addEventListener("animationcancel",r),u.addEventListener("animationend",r),()=>{t.clearTimeout(n),u.removeEventListener("animationstart",i),u.removeEventListener("animationcancel",r),u.removeEventListener("animationend",r)}}f("ANIMATION_END")},[u,f]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:r.useCallback(e=>{a.current=e?getComputedStyle(e):null,o(e)},[])}}(s),f="function"==typeof d?d({present:c.isPresent}):r.Children.only(d),v=(0,u.e)(c.ref,(o=null===(n=Object.getOwnPropertyDescriptor(f.props,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in o&&o.isReactWarning?f.ref:(o=null===(t=Object.getOwnPropertyDescriptor(f,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in o&&o.isReactWarning?f.props.ref:f.props.ref||f.ref);return"function"==typeof d||c.isPresent?r.cloneElement(f,{ref:v}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}o.displayName="Presence"},97907:function(e,n,t){t.d(n,{W:function(){return u}});var r=t(58078);function u(e){let n=r.useRef(e);return r.useEffect(()=>{n.current=e}),r.useMemo(()=>(...e)=>n.current?.(...e),[])}},898:function(e,n,t){t.d(n,{j:function(){return o}});var r=t(52605);let u=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=r.W,o=(e,n)=>t=>{var r;if((null==n?void 0:n.variants)==null)return i(e,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:o,defaultVariants:l}=n,a=Object.keys(o).map(e=>{let n=null==t?void 0:t[e],r=null==l?void 0:l[e];if(null===n)return null;let i=u(n)||u(r);return o[e][i]}),s=t&&Object.entries(t).reduce((e,n)=>{let[t,r]=n;return void 0===r||(e[t]=r),e},{});return i(e,a,null==n?void 0:null===(r=n.compoundVariants)||void 0===r?void 0:r.reduce((e,n)=>{let{class:t,className:r,...u}=n;return Object.entries(u).every(e=>{let[n,t]=e;return Array.isArray(t)?t.includes({...l,...s}[n]):({...l,...s})[n]===t})?[...e,t,r]:e},[]),null==t?void 0:t.class,null==t?void 0:t.className)}}}]);

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.