PageSourceSearch

https://detect.ai/_next/static/chunks/8548-140ebb6498197692.js

js detect.ai collected 2026-10-05 11:57:14 UTC 8,653 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8548,7398,2815,868],{47398:function(e,r,t){t.d(r,{VY:function(){return eo},ck:function(){return et},fC:function(){return er},xz:function(){return en}});var n=t(67294),o=t(25360),a=t(65936),i=t(28771),l=t(36206),d=t(77342),s=t(75320),c=t(9981),u=t(29115),f=t(91276),p=t(85893),m="Collapsible",[b,y]=(0,o.b)(m),[h,v]=b(m),w=n.forwardRef((e,r)=>{let{__scopeCollapsible:t,open:o,defaultOpen:a,disabled:i,onOpenChange:l,...c}=e,[u,b]=(0,d.T)({prop:o,defaultProp:a??!1,onChange:l,caller:m});return(0,p.jsx)(h,{scope:t,disabled:i,contentId:(0,f.M)(),open:u,onOpenToggle:n.useCallback(()=>b(e=>!e),[b]),children:(0,p.jsx)(s.WV.div,{"data-state":_(u),"data-disabled":i?"":void 0,...c,ref:r})})});w.displayName=m;var x="CollapsibleTrigger",g=n.forwardRef((e,r)=>{let{__scopeCollapsible:t,...n}=e,o=v(x,t);return(0,p.jsx)(s.WV.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":_(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...n,ref:r,onClick:(0,l.Mj)(e.onClick,o.onOpenToggle)})});g.displayName=x;var j="CollapsibleContent",C=n.forwardRef((e,r)=>{let{forceMount:t,...n}=e,o=v(j,e.__scopeCollapsible);return(0,p.jsx)(u.z,{present:t||o.open,children:({present:e})=>(0,p.jsx)(R,{...n,ref:r,present:e})})});C.displayName=j;var R=n.forwardRef((e,r)=>{let{__scopeCollapsible:t,present:o,children:a,...l}=e,d=v(j,t),[u,f]=n.useState(o),m=n.useRef(null),b=(0,i.e)(r,m),y=n.useRef(0),h=y.current,w=n.useRef(0),x=w.current,g=d.open||u,C=n.useRef(g),R=n.useRef(void 0);return n.useEffect(()=>{let e=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.b)(()=>{let e=m.current;if(e){R.current=R.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let r=e.getBoundingClientRect();y.current=r.height,w.current=r.width,C.current||(e.style.transitionDuration=R.current.transitionDuration,e.style.animationName=R.current.animationName),f(o)}},[d.open,o]),(0,p.jsx)(s.WV.div,{"data-state":_(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!g,...l,ref:b,style:{"--radix-collapsible-content-height":h?`${h}px`:void 0,"--radix-collapsible-content-width":x?`${x}px`:void 0,...e.style},children:g&&a})});function _(e){return e?"open":"closed"}var A=t(78990),N="Accordion",k=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[I,D,V]=(0,a.B)(N),[E,O]=(0,o.b)(N,[V,y]),W=y(),S=n.forwardRef((e,r)=>{let{type:t,...n}=e;return(0,p.jsx)(I.Provider,{scope:e.__scopeAccordion,children:"multiple"===t?(0,p.jsx)(F,{...n,ref:r}):(0,p.jsx)(z,{...n,ref:r})})});S.displayName=N;var[$,P]=E(N),[M,T]=E(N,{collapsible:!1}),z=n.forwardRef((e,r)=>{let{value:t,defaultValue:o,onValueChange:a=()=>{},collapsible:i=!1,...l}=e,[s,c]=(0,d.T)({prop:t,defaultProp:o??"",onChange:a,caller:N});return(0,p.jsx)($,{scope:e.__scopeAccordion,value:n.useMemo(()=>s?[s]:[],[s]),onItemOpen:c,onItemClose:n.useCallback(()=>i&&c(""),[i,c]),children:(0,p.jsx)(M,{scope:e.__scopeAccordion,collapsible:i,children:(0,p.jsx)(L,{...l,ref:r})})})}),F=n.forwardRef((e,r)=>{let{value:t,defaultValue:o,onValueChange:a=()=>{},...i}=e,[l,s]=(0,d.T)({prop:t,defaultProp:o??[],onChange:a,caller:N}),c=n.useCallback(e=>s((r=[])=>[...r,e]),[s]),u=n.useCallback(e=>s((r=[])=>r.filter(r=>r!==e)),[s]);return(0,p.jsx)($,{scope:e.__scopeAccordion,value:l,onItemOpen:c,onItemClose:u,children:(0,p.jsx)(M,{scope:e.__scopeAccordion,collapsible:!0,children:(0,p.jsx)(L,{...i,ref:r})})})}),[H,B]=E(N),L=n.forwardRef((e,r)=>{let{__scopeAccordion:t,disabled:o,dir:a,orientation:d="vertical",...c}=e,u=n.useRef(null),f=(0,i.e)(u,r),m=D(t),b="ltr"===(0,A.gm)(a),y=(0,l.Mj)(e.onKeyDown,e=>{if(!k.includes(e.key))return;let r=e.target,t=m().filter(e=>!e.ref.current?.disabled),n=t.findIndex(e=>e.ref.current===r),o=t.length;if(-1===n)return;e.preventDefault();let a=n,i=o-1,l=()=>{(a=n+1)>i&&(a=0)},s=()=>{(a=n-1)<0&&(a=i)};switch(e.key){case"Home":a=0;break;case"End":a=i;break;case"ArrowRight":"horizontal"===d&&(b?l():s());break;case"ArrowDown":"vertical"===d&&l();break;case"ArrowLeft":"horizontal"===d&&(b?s():l());break;case"ArrowUp":"vertical"===d&&s()}let c=a%o;t[c].ref.current?.focus()});return(0,p.jsx)(H,{scope:t,disabled:o,direction:a,orientation:d,children:(0,p.jsx)(I.Slot,{scope:t,children:(0,p.jsx)(s.WV.div,{...c,"data-orientation":d,ref:f,onKeyDown:o?void 0:y})})})}),K="AccordionItem",[U,q]=E(K),Y=n.forwardRef((e,r)=>{let{__scopeAccordion:t,value:n,...o}=e,a=B(K,t),i=P(K,t),l=W(t),d=(0,f.M)(),s=n&&i.value.includes(n)||!1,c=a.disabled||e.disabled;return(0,p.jsx)(U,{scope:t,open:s,disabled:c,triggerId:d,children:(0,p.jsx)(w,{"data-orientation":a.orientation,"data-state":ee(s),...l,...o,ref:r,disabled:c,open:s,onOpenChange:e=>{e?i.onItemOpen(n):i.onItemClose(n)}})})});Y.displayName=K;var Z="AccordionHeader";n.forwardRef((e,r)=>{let{__scopeAccordion:t,...n}=e,o=B(N,t),a=q(Z,t);return(0,p.jsx)(s.WV.h3,{"data-orientation":o.orientation,"data-state":ee(a.open),"data-disabled":a.disabled?"":void 0,...n,ref:r})}).displayName=Z;var G="AccordionTrigger",J=n.forwardRef((e,r)=>{let{__scopeAccordion:t,...n}=e,o=B(N,t),a=q(G,t),i=T(G,t),l=W(t);return(0,p.jsx)(I.ItemSlot,{scope:t,children:(0,p.jsx)(g,{"aria-disabled":a.open&&!i.collapsible||void 0,"data-orientation":o.orientation,id:a.triggerId,...l,...n,ref:r})})});J.displayName=G;var Q="AccordionContent",X=n.forwardRef((e,r)=>{let{__scopeAccordion:t,...n}=e,o=B(N,t),a=q(Q,t),i=W(t);return(0,p.jsx)(C,{role:"region","aria-labelledby":a.triggerId,"data-orientation":o.orientation,...i,...n,ref:r,
1style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function ee(e){return e?"open":"closed"}X.displayName=Q;var er=S,et=Y,en=J,eo=X},36754:function(e,r,t){t.d(r,{_:function(){return p}});var n=t(67294),o=t.t(n,2);t(73935);var a=t(28771),i=t(85893),l=Symbol.for("react.lazy"),d=o[" use ".trim().toString()];function s(e){var r;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===l&&"_payload"in e&&"object"==typeof(r=e._payload)&&null!==r&&"then"in r}var c=Symbol("radix.slottable");function u(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===c}var f=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let t=function(e){let r=function(e){let r=n.forwardRef((e,r)=>{let{children:t,...o}=e;if(s(t)&&"function"==typeof d&&(t=d(t._payload)),n.isValidElement(t)){var i;let e,l;let d=(i=t,(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?i.ref:(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?i.props.ref:i.props.ref||i.ref),s=function(e,r){let t={...r};for(let n in r){let o=e[n],a=r[n];/^on[A-Z]/.test(n)?o&&a?t[n]=(...e)=>{let r=a(...e);return o(...e),r}:o&&(t[n]=o):"style"===n?t[n]={...o,...a}:"className"===n&&(t[n]=[o,a].filter(Boolean).join(" "))}return{...e,...t}}(o,t.props);return t.type!==n.Fragment&&(s.ref=r?(0,a.F)(r,d):d),n.cloneElement(t,s)}return n.Children.count(t)>1?n.Children.only(null):null});return r.displayName=`${e}.SlotClone`,r}(e),t=n.forwardRef((e,t)=>{let{children:o,...a}=e;s(o)&&"function"==typeof d&&(o=d(o._payload));let l=n.Children.toArray(o),c=l.find(u);if(c){let e=c.props.children,o=l.map(r=>r!==c?r:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,i.jsx)(r,{...a,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,o):null})}return(0,i.jsx)(r,{...a,ref:t,children:o})});return t.displayName=`${e}.Slot`,t}(`Primitive.${r}`),o=n.forwardRef((e,n)=>{let{asChild:o,...a}=e,l=o?t:r;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(l,{...a,ref:n})});return o.displayName=`Primitive.${r}`,{...e,[r]:o}},{}),p=n.forwardRef((e,r)=>(0,i.jsx)(f.label,{...e,ref:r,onMouseDown:r=>{r.target.closest("button, input, select, textarea")||(e.onMouseDown?.(r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));p.displayName="Label"},96219:function(e,r,t){t.d(r,{C2:function(){return i},fC:function(){return d}});var n=t(67294),o=t(75320),a=t(85893),i=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),l=n.forwardRef((e,r)=>(0,a.jsx)(o.WV.span,{...e,ref:r,style:{...i,...e.style}}));l.displayName="VisuallyHidden";var d=l}}]);

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.