PageSourceSearch

https://kilo.ai/_next/static/chunks/3344-a5b51dfd22883694.js?dpl=dpl_4uMfMM27nAsgBhAToR33tf4LnmpX

js kilo.ai collected 2026-09-24 08:55:31 UTC 8,654 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d886d10c-723e-49e1-a982-6edf3052fdfa",e._sentryDebugIdIdentifier="sentry-dbid-d886d10c-723e-49e1-a982-6edf3052fdfa")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3344],{3344:(e,n,t)=>{t.d(n,{UC:()=>ei,Y9:()=>eo,q7:()=>er,bL:()=>et,l9:()=>ea});var r=t(24719),o=t(72221),a=t(84804),i=t(95481),l=t(98117),d=t(19860),s=t(75518),c=t(40312),u=t(6879),f=t(49668),p=t(12455),m="Collapsible",[v,b]=(0,o.A)(m),[g,y]=v(m),h=r.forwardRef((e,n)=>{let{__scopeCollapsible:t,open:o,defaultOpen:a,disabled:i,onOpenChange:l,...c}=e,[u,v]=(0,d.i)({prop:o,defaultProp:null!=a&&a,onChange:l,caller:m});return(0,p.jsx)(g,{scope:t,disabled:i,contentId:(0,f.B)(),open:u,onOpenToggle:r.useCallback(()=>v(e=>!e),[v]),children:(0,p.jsx)(s.sG.div,{"data-state":I(u),"data-disabled":i?"":void 0,...c,ref:n})})});h.displayName=m;var w="CollapsibleTrigger",N=r.forwardRef((e,n)=>{let{__scopeCollapsible:t,...r}=e,o=y(w,t);return(0,p.jsx)(s.sG.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":I(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:n,onClick:(0,l.mK)(e.onClick,o.onOpenToggle)})});N.displayName=w;var x="CollapsibleContent",A=r.forwardRef((e,n)=>{let{forceMount:t,...r}=e,o=y(x,e.__scopeCollapsible);return(0,p.jsx)(u.C,{present:t||o.open,children:e=>{let{present:t}=e;return(0,p.jsx)(C,{...r,ref:n,present:t})}})});A.displayName=x;var C=r.forwardRef((e,n)=>{let{__scopeCollapsible:t,present:o,children:a,...l}=e,d=y(x,t),[u,f]=r.useState(o),m=r.useRef(null),v=(0,i.s)(n,m),b=r.useRef(0),g=b.current,h=r.useRef(0),w=h.current,N=d.open||u,A=r.useRef(N),C=r.useRef(void 0);return r.useEffect(()=>{let e=requestAnimationFrame(()=>A.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.N)(()=>{let e=m.current;if(e){C.current=C.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let n=e.getBoundingClientRect();b.current=n.height,h.current=n.width,A.current||(e.style.transitionDuration=C.current.transitionDuration,e.style.animationName=C.current.animationName),f(o)}},[d.open,o]),(0,p.jsx)(s.sG.div,{"data-state":I(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!N,...l,ref:v,style:{"--radix-collapsible-content-height":g?"".concat(g,"px"):void 0,"--radix-collapsible-content-width":w?"".concat(w,"px"):void 0,...e.style},children:N&&a})});function I(e){return e?"open":"closed"}var R=t(86338),j="Accordion",_=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[O,T,D]=(0,a.N)(j),[k,E]=(0,o.A)(j,[D,b]),M=b(),U=r.forwardRef((e,n)=>{let{type:t,...r}=e;return(0,p.jsx)(O.Provider,{scope:e.__scopeAccordion,children:"multiple"===t?(0,p.jsx)(H,{...r,ref:n}):(0,p.jsx)(G,{...r,ref:n})})});U.displayName=j;var[P,S]=k(j),[L,F]=k(j,{collapsible:!1}),G=r.forwardRef((e,n)=>{let{value:t,defaultValue:o,onValueChange:a=()=>{},collapsible:i=!1,...l}=e,[s,c]=(0,d.i)({prop:t,defaultProp:null!=o?o:"",onChange:a,caller:j});return(0,p.jsx)(P,{scope:e.__scopeAccordion,value:r.useMemo(()=>s?[s]:[],[s]),onItemOpen:c,onItemClose:r.useCallback(()=>i&&c(""),[i,c]),children:(0,p.jsx)(L,{scope:e.__scopeAccordion,collapsible:i,children:(0,p.jsx)(B,{...l,ref:n})})})}),H=r.forwardRef((e,n)=>{let{value:t,defaultValue:o,onValueChange:a=()=>{},...i}=e,[l,s]=(0,d.i)({prop:t,defaultProp:null!=o?o:[],onChange:a,caller:j}),c=r.useCallback(e=>s(function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...n,e]}),[s]),u=r.useCallback(e=>s(function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return n.filter(n=>n!==e)}),[s]);return(0,p.jsx)(P,{scope:e.__scopeAccordion,value:l,onItemOpen:c,onItemClose:u,children:(0,p.jsx)(L,{scope:e.__scopeAccordion,collapsible:!0,children:(0,p.jsx)(B,{...i,ref:n})})})}
1),[K,W]=k(j),B=r.forwardRef((e,n)=>{let{__scopeAccordion:t,disabled:o,dir:a,orientation:d="vertical",...c}=e,u=r.useRef(null),f=(0,i.s)(u,n),m=T(t),v="ltr"===(0,R.jH)(a),b=(0,l.mK)(e.onKeyDown,e=>{var n;if(!_.includes(e.key))return;let t=e.target,r=m().filter(e=>{var n;return!(null==(n=e.ref.current)?void 0:n.disabled)}),o=r.findIndex(e=>e.ref.current===t),a=r.length;if(-1===o)return;e.preventDefault();let i=o,l=a-1,s=()=>{(i=o+1)>l&&(i=0)},c=()=>{(i=o-1)<0&&(i=l)};switch(e.key){case"Home":i=0;break;case"End":i=l;break;case"ArrowRight":"horizontal"===d&&(v?s():c());break;case"ArrowDown":"vertical"===d&&s();break;case"ArrowLeft":"horizontal"===d&&(v?c():s());break;case"ArrowUp":"vertical"===d&&c()}null==(n=r[i%a].ref.current)||n.focus()});return(0,p.jsx)(K,{scope:t,disabled:o,direction:a,orientation:d,children:(0,p.jsx)(O.Slot,{scope:t,children:(0,p.jsx)(s.sG.div,{...c,"data-orientation":d,ref:f,onKeyDown:o?void 0:b})})})}),q="AccordionItem",[z,V]=k(q),Y=r.forwardRef((e,n)=>{let{__scopeAccordion:t,value:r,...o}=e,a=W(q,t),i=S(q,t),l=M(t),d=(0,f.B)(),s=r&&i.value.includes(r)||!1,c=a.disabled||e.disabled;return(0,p.jsx)(z,{scope:t,open:s,disabled:c,triggerId:d,children:(0,p.jsx)(h,{"data-orientation":a.orientation,"data-state":en(s),...l,...o,ref:n,disabled:c,open:s,onOpenChange:e=>{e?i.onItemOpen(r):i.onItemClose(r)}})})});Y.displayName=q;var J="AccordionHeader",Q=r.forwardRef((e,n)=>{let{__scopeAccordion:t,...r}=e,o=W(j,t),a=V(J,t);return(0,p.jsx)(s.sG.h3,{"data-orientation":o.orientation,"data-state":en(a.open),"data-disabled":a.disabled?"":void 0,...r,ref:n})});Q.displayName=J;var X="AccordionTrigger",Z=r.forwardRef((e,n)=>{let{__scopeAccordion:t,...r}=e,o=W(j,t),a=V(X,t),i=F(X,t),l=M(t);return(0,p.jsx)(O.ItemSlot,{scope:t,children:(0,p.jsx)(N,{"aria-disabled":a.open&&!i.collapsible||void 0,"data-orientation":o.orientation,id:a.triggerId,...l,...r,ref:n})})});Z.displayName=X;var $="AccordionContent",ee=r.forwardRef((e,n)=>{let{__scopeAccordion:t,...r}=e,o=W(j,t),a=V($,t),i=M(t);return(0,p.jsx)(A,{role:"region","aria-labelledby":a.triggerId,"data-orientation":o.orientation,...i,...r,ref:n,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function en(e){return e?"open":"closed"}ee.displayName=$;var et=U,er=Y,eo=Q,ea=Z,ei=ee},6879:(e,n,t)=>{t.d(n,{C:()=>i});var r=t(24719),o=t(95481),a=t(40312),i=e=>{let{present:n,children:t}=e,i=function(e){var n,t;let[o,i]=r.useState(),d=r.useRef(null),s=r.useRef(e),c=r.useRef("none"),[u,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(d.current);c.current="mounted"===u?e:"none"},[u]),(0,a.N)(()=>{let n=d.current,t=s.current;if(t!==e){let r=c.current,o=l(n);e?f("MOUNT"):"none"===o||(null==n?void 0:n.display)==="none"?f("UNMOUNT"):t&&r!==o?f("ANIMATION_OUT"):f("UNMOUNT"),s.current=e}},[e,f]),(0,a.N)(()=>{if(o){var e;let n,t=null!=(e=o.ownerDocument.defaultView)?e:window,r=e=>{let r=l(d.current).includes(CSS.escape(e.animationName));if(e.target===o&&r&&(f("ANIMATION_END"),!s.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",n=t.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},a=e=>{e.target===o&&(c.current=l(d.current))};return o.addEventListener("animationstart",a),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{t.clearTimeout(n),o.removeEventListener("animationstart",a),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}f("ANIMATION_END")},[o,f]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:r.useCallback(e=>{d.current=e?getComputedStyle(e):null,i(e)},[])}}(n),d="function"==typeof t?t({present:i.isPresent}):r.Children.only(t),s=(0,o.s)(i.ref,function(e){var n,t;let r=null==(n=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:n.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=null==(t=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:t.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(d));return"function"==typeof t||i.isPresent?r.cloneElement(d,{ref:s}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"}}]);
2//# sourceMappingURL=3344-a5b51dfd22883694.js.map

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.