PageSourceSearch

https://www.top100.ai/_next/static/chunks/42bdf09d29102f10.js

js top100.ai collected 2026-10-05 13:58:51 UTC 15,096 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,211566,e=>{"use strict";var t=e.i(831138),r=e.i(831393),i=e.i(604619),l=e.i(538422),n=e.i(475299),s=new WeakMap;function o(e,t){var r,i;let l,n,s;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let o=(r=e,i=t,l=r.length,(s=(n=a(i))>=0?n:l+n)<0||s>=l?-1:s);return -1===o?void 0:e[o]}function a(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],s.set(this,!0)}set(e,t){return s.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let i,l=this.has(t),n=this.#e.length,s=a(e),o=s>=0?s:n+s,d=o<0||o>=n?-1:o;if(d===this.size||l&&d===this.size-1||-1===d)return this.set(t,r),this;let c=this.size+ +!l;s<0&&o++;let u=[...this.#e],f=!1;for(let e=o;e<c;e++)if(o===e){let n=u[e];u[e]===t&&(n=u[e+1]),l&&this.delete(t),i=this.get(n),this.set(t,r)}else{f||u[e-1]!==t||(f=!0);let r=u[f?e:e-1],l=i;i=this.get(r),this.delete(r),this.set(r,l)}return this}with(t,r,i){let l=new e(this);return l.insert(t,r,i),l}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let i=this.#e.indexOf(e);return -1===i?this:this.insert(i,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let i=this.#e.indexOf(e);return -1===i?this:this.insert(i+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=o(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=o(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return o(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let i=r+t;return i<0&&(i=0),i>=this.size&&(i=this.size-1),this.at(i)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let i=r+t;return i<0&&(i=0),i>=this.size&&(i=this.size-1),this.keyAt(i)}find(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return i;r++}}findIndex(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return r;r++}return -1}filter(t,r){let i=[],l=0;for(let e of this)Reflect.apply(t,r,[e,l,this])&&i.push(e),l++;return new e(i)}map(t,r){let i=[],l=0;for(let e of this)i.push([e[0],Reflect.apply(t,r,[e,l,this])]),l++;return new e(i)}reduce(...e){let[t,r]=e,i=0,l=r??this.at(0);for(let r of this)l=0===i&&1===e.length?r:Reflect.apply(t,this,[l,r,i,this]),i++;return l}reduceRight(...e){let[t,r]=e,i=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let l=this.at(r);i=r===this.size-1&&1===e.length?l:Reflect.apply(t,this,[i,l,r,this])}return i}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),i=this.get(r);t.set(r,i)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let i=new e,l=this.size-1;if(void 0===t)return i;t<0&&(t+=this.size),void 0!==r&&r>0&&(l=r-1);for(let e=t;e<=l;e++){let t=this.keyAt(e),r=this.get(t);i.set(t,r)}return i}every(e,t){let r=0;for(let i of this){if(!Reflect.apply(e,t,[i,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let i of this){if(Reflect.apply(e,t,[i,r,this]))return!0;r++}return!1}});var d=e.i(291967),c=e.i(639662),u=e.i(137874),f=e.i(433053),h=e.i(38404),p=e.i(878953),m="Collapsible",[y,x]=(0,i.createContextScope)(m),[g,v]=y(m),w=r.forwardRef((e,i)=>{let{__scopeCollapsible:l,open:n,defaultOpen:s,disabled:o,onOpenChange:a,...d}=e,[f,h]=(0,c.useControllableState)({prop:n,defaultProp:s??!1,onChange:a,caller:m});return(0,t.jsx)(g,{scope:l,disabled:o,contentId:(0,p.useId)(),open:f,onOpenToggle:r.useCallback(()=>h(e=>!e),[h]),children:(0,t.jsx)(u.Primitive.div,{"data-state":C(f),"data-disabled":o?"":void 0,...d,ref:i})})});w.displayName=m;
1var b="CollapsibleTrigger",R=r.forwardRef((e,r)=>{let{__scopeCollapsible:i,...l}=e,n=v(b,i);return(0,t.jsx)(u.Primitive.button,{type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":C(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled,...l,ref:r,onClick:(0,d.composeEventHandlers)(e.onClick,n.onOpenToggle)})});R.displayName=b;var k="CollapsibleContent",j=r.forwardRef((e,r)=>{let{forceMount:i,...l}=e,n=v(k,e.__scopeCollapsible);return(0,t.jsx)(h.Presence,{present:i||n.open,children:({present:e})=>(0,t.jsx)(A,{...l,ref:r,present:e})})});j.displayName=k;var A=r.forwardRef((e,i)=>{let{__scopeCollapsible:n,present:s,children:o,...a}=e,d=v(k,n),[c,h]=r.useState(s),p=r.useRef(null),m=(0,l.useComposedRefs)(i,p),y=r.useRef(0),x=y.current,g=r.useRef(0),w=g.current,b=d.open||c,R=r.useRef(b),j=r.useRef(void 0);return r.useEffect(()=>{let e=requestAnimationFrame(()=>R.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,f.useLayoutEffect)(()=>{let e=p.current;if(e){j.current=j.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();y.current=t.height,g.current=t.width,R.current||(e.style.transitionDuration=j.current.transitionDuration,e.style.animationName=j.current.animationName),h(s)}},[d.open,s]),(0,t.jsx)(u.Primitive.div,{"data-state":C(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!b,...a,ref:m,style:{"--radix-collapsible-content-height":x?`${x}px`:void 0,"--radix-collapsible-content-width":w?`${w}px`:void 0,...e.style},children:b&&o})});function C(e){return e?"open":"closed"}var N=r.createContext(void 0),_="Accordion",S=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[I,O,T]=function(e){let s=e+"CollectionProvider",[o,a]=(0,i.createContextScope)(s),[d,c]=o(s,{collectionRef:{current:null},itemMap:new Map}),u=e=>{let{scope:i,children:l}=e,n=r.default.useRef(null),s=r.default.useRef(new Map).current;return(0,t.jsx)(d,{scope:i,itemMap:s,collectionRef:n,children:l})};u.displayName=s;let f=e+"CollectionSlot",h=(0,n.createSlot)(f),p=r.default.forwardRef((e,r)=>{let{scope:i,children:n}=e,s=c(f,i),o=(0,l.useComposedRefs)(r,s.collectionRef);return(0,t.jsx)(h,{ref:o,children:n})});p.displayName=f;let m=e+"CollectionItemSlot",y="data-radix-collection-item",x=(0,n.createSlot)(m),g=r.default.forwardRef((e,i)=>{let{scope:n,children:s,...o}=e,a=r.default.useRef(null),d=(0,l.useComposedRefs)(i,a),u=c(m,n);return r.default.useEffect(()=>(u.itemMap.set(a,{ref:a,...o}),()=>void u.itemMap.delete(a))),(0,t.jsx)(x,{...{[y]:""},ref:d,children:s})});return g.displayName=m,[{Provider:u,Slot:p,ItemSlot:g},function(t){let i=c(e+"CollectionConsumer",t);return r.default.useCallback(()=>{let e=i.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${y}]`));return Array.from(i.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[i.collectionRef,i.itemMap])},a]}(_),[z,E]=(0,i.createContextScope)(_,[T,x]),M=x(),$=r.default.forwardRef((e,r)=>{let{type:i,...l}=e;return(0,t.jsx)(I.Provider,{scope:e.__scopeAccordion,children:"multiple"===i?(0,t.jsx)(F,{...l,ref:r}):(0,t.jsx)(H,{...l,ref:r})})});$.displayName=_;var[P,D]=z(_),[L,B]=z(_,{collapsible:!1}),H=r.default.forwardRef((e,i)=>{let{value:l,defaultValue:n,onValueChange:s=()=>{},collapsible:o=!1,...a}=e,[d,u]=(0,c.useControllableState)({prop:l,defaultProp:n??"",onChange:s,caller:_});return(0,t.jsx)(P,{scope:e.__scopeAccordion,value:r.default.useMemo(()=>d?[d]:[],[d]),onItemOpen:u,onItemClose:r.default.useCallback(()=>o&&u(""),[o,u]),children:(0,t.jsx)(L,{scope:e.__scopeAccordion,collapsible:o,children:(0,t.jsx)(K,{...a,ref:i})})})}),F=r.default.forwardRef((e,i)=>{let{value:l,defaultValue:n,onValueChange:s=()=>{},...o}=e,[a,d]=(0,c.useControllableState)({prop:l,defaultProp:n??[],onChange:s,caller:_}),u=r.default.useCallback(e=>d((t=[])=>[...t,e]),[d]),f=r.default.useCallback(e=>d((t=[])=>t.filter(t=>t!==e)),[d]);return(0,t.jsx)(P,{scope:e.__scopeAccordion,value:a,onItemOpen:u,onItemClose:f,children:(0,t.jsx)(L,{scope:e.__scopeAccordion,collapsible:!0,children:(0,t.jsx)(K,{...o,ref:i}
1)})})}),[U,q]=z(_),K=r.default.forwardRef((e,i)=>{let n,{__scopeAccordion:s,disabled:o,dir:a,orientation:c="vertical",...f}=e,h=r.default.useRef(null),p=(0,l.useComposedRefs)(h,i),m=O(s),y="ltr"===(n=r.useContext(N),a||n||"ltr"),x=(0,d.composeEventHandlers)(e.onKeyDown,e=>{if(!S.includes(e.key))return;let t=e.target,r=m().filter(e=>!e.ref.current?.disabled),i=r.findIndex(e=>e.ref.current===t),l=r.length;if(-1===i)return;e.preventDefault();let n=i,s=l-1,o=()=>{(n=i+1)>s&&(n=0)},a=()=>{(n=i-1)<0&&(n=s)};switch(e.key){case"Home":n=0;break;case"End":n=s;break;case"ArrowRight":"horizontal"===c&&(y?o():a());break;case"ArrowDown":"vertical"===c&&o();break;case"ArrowLeft":"horizontal"===c&&(y?a():o());break;case"ArrowUp":"vertical"===c&&a()}let d=n%l;r[d].ref.current?.focus()});return(0,t.jsx)(U,{scope:s,disabled:o,direction:a,orientation:c,children:(0,t.jsx)(I.Slot,{scope:s,children:(0,t.jsx)(u.Primitive.div,{...f,"data-orientation":c,ref:p,onKeyDown:o?void 0:x})})})}),W="AccordionItem",[Y,G]=z(W),J=r.default.forwardRef((e,r)=>{let{__scopeAccordion:i,value:l,...n}=e,s=q(W,i),o=D(W,i),a=M(i),d=(0,p.useId)(),c=l&&o.value.includes(l)||!1,u=s.disabled||e.disabled;return(0,t.jsx)(Y,{scope:i,open:c,disabled:u,triggerId:d,children:(0,t.jsx)(w,{"data-orientation":s.orientation,"data-state":er(c),...a,...n,ref:r,disabled:u,open:c,onOpenChange:e=>{e?o.onItemOpen(l):o.onItemClose(l)}})})});J.displayName=W;var Q="AccordionHeader",V=r.default.forwardRef((e,r)=>{let{__scopeAccordion:i,...l}=e,n=q(_,i),s=G(Q,i);return(0,t.jsx)(u.Primitive.h3,{"data-orientation":n.orientation,"data-state":er(s.open),"data-disabled":s.disabled?"":void 0,...l,ref:r})});V.displayName=Q;var X="AccordionTrigger",Z=r.default.forwardRef((e,r)=>{let{__scopeAccordion:i,...l}=e,n=q(_,i),s=G(X,i),o=B(X,i),a=M(i);return(0,t.jsx)(I.ItemSlot,{scope:i,children:(0,t.jsx)(R,{"aria-disabled":s.open&&!o.collapsible||void 0,"data-orientation":n.orientation,id:s.triggerId,...a,...l,ref:r})})});Z.displayName=X;var ee="AccordionContent",et=r.default.forwardRef((e,r)=>{let{__scopeAccordion:i,...l}=e,n=q(_,i),s=G(ee,i),o=M(i);return(0,t.jsx)(j,{role:"region","aria-labelledby":s.triggerId,"data-orientation":n.orientation,...o,...l,ref:r,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function er(e){return e?"open":"closed"}et.displayName=ee;var ei=e.i(198631);let el=(0,ei.default)("circle-minus",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}]]),en=(0,ei.default)("circle-plus",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]]);var es=e.i(526683);let eo=r.forwardRef(({className:e,...r},i)=>(0,t.jsx)(J,{ref:i,className:(0,es.cn)("border-b border-border",e),...r}));eo.displayName="AccordionItem";let ea=r.forwardRef(({className:e,children:r,...i},l)=>(0,t.jsx)(V,{className:"flex",children:(0,t.jsxs)(Z,{ref:l,className:(0,es.cn)("focus-ring group flex flex-1 items-start gap-3 py-4 text-left text-2xl font-semibold leading-8 tracking-normal transition-colors",e),...i,children:[(0,t.jsxs)("span",{className:"accordion-trigger__icon","aria-hidden":"true",children:[(0,t.jsx)(en,{className:"accordion-trigger__plus h-6 w-6"}),(0,t.jsx)(el,{className:"accordion-trigger__minus h-6 w-6"})]}),(0,t.jsx)("span",{className:"min-w-0 flex-1",children:r})]})}));ea.displayName=Z.displayName;let ed=r.forwardRef(({className:e,children:r,...i},l)=>(0,t.jsx)(et,{ref:l,className:(0,es.cn)("overflow-hidden text-lg data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",e),...i,children:(0,t.jsx)("div",{className:"pb-4 pt-0",children:r})}));ed.displayName=et.displayName,e.s(["Accordion",()=>$,"AccordionContent",()=>ed,"AccordionItem",()=>eo,"AccordionTrigger",()=>ea],211566)},177831,e=>{"use strict";var t=e.i(831138),r=e.i(831393);function i({items:e}){let[i,l]=(0,r.useState)(e[0]?.id??""),n=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let t=e.map(e=>document.getElementById(e.id)).filter(e=>!!e);if(!t.length)return;let r=()=>{let e=Math.min(.38*window.innerHeight,320);if(window.scrollY+window.innerHeight>=document.documentElement.scrollHeight-4)return void l(t[t.length-1].id);let r=t.reduce((t,r)=>r.getBoundingClientRect().top<=e?r:t,null);l(r?.id??t[0].id)};r();let i=0,n=()=>{i||(i=window.requestAnimationFrame(()=>{i=0,r()}))};return window.addEventListener("scroll",n,{passive:!0}
1),window.addEventListener("resize",n),()=>{window.removeEventListener("scroll",n),window.removeEventListener("resize",n),i&&window.cancelAnimationFrame(i)}},[e]),(0,r.useEffect)(()=>{let e=n.current;if(!e||!i)return;let t=e.querySelector(`a[href="#${CSS.escape(i)}"]`);if(!t)return;let r=e.getBoundingClientRect(),l=t.getBoundingClientRect();l.top<r.top?e.scrollTop-=r.top-l.top+8:l.bottom>r.bottom&&(e.scrollTop+=l.bottom-r.bottom+8)},[i]),(0,t.jsx)("nav",{className:"article-toc","aria-label":"Article sections",ref:n,children:e.map((e,r)=>{let l="h3"===e.type,n=i===e.id;return(0,t.jsxs)("a",{"aria-current":n?"location":void 0,"aria-label":l?`${e.rank}. ${e.label}`:void 0,className:`${l?"article-toc__tool ":""}${n?"article-toc__active ":""}focus-ring`,href:`#${e.id}`,children:[l?(0,t.jsx)("span",{className:"article-toc__rank",children:e.rank}):null,(0,t.jsx)("span",{className:"article-toc__label",children:e.label})]},`${e.id}-${r}`)})})}e.s(["ArticleToc",()=>i])},63490,e=>{"use strict";var t=e.i(831138),r=e.i(831393);function i({className:e="",src:i,name:l="Tool"}){let n,[s,o]=(0,r.useState)(i?"idle":"failed"),a=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=a.current;i&&e?e.complete?o(e.naturalWidth>0?"loaded":"failed"):o("idle"):o("failed")},[i]);let d=!!(i&&"failed"!==s),c=`logo-mark${"loaded"===s?" logo-mark--image":""}${e?` ${e}`:""}`;return(0,t.jsxs)("span",{className:c,children:["loaded"!==s?(0,t.jsx)("span",{className:"logo-mark__fallback",children:(n=l.replace(/[^\p{L}\p{N}
1\s]/gu," ").trim().split(/\s+/u).filter(Boolean)).length?n.slice(0,2).map(e=>e[0]).join("").toUpperCase():"AI"}):null,d?(0,t.jsx)("img",{alt:`${l} logo`,onError:()=>o("failed"),onLoad:()=>o("loaded"),ref:a,src:i}):null]})}e.s(["ToolLogo",()=>i])},456793,e=>{"use strict";var t=e.i(831138),r=e.i(831393),i=e.i(800928);function l({className:e,children:l}){let n=(0,r.useRef)(null),[s,o]=(0,r.useState)(!1);(0,r.useEffect)(()=>{let e=n.current;if(!e)return;let t=()=>{o(e.scrollWidth>e.clientWidth)};t();let r=new ResizeObserver(t);return r.observe(e),()=>r.disconnect()},[l]);let a=(0,t.jsx)("span",{className:e,ref:n,tabIndex:s?0:void 0,children:l});return(0,t.jsxs)(i.Tooltip,{children:[(0,t.jsx)(i.TooltipTrigger,{asChild:!0,children:a}),s?(0,t.jsx)(i.TooltipContent,{children:l}):null]})}e.s(["TruncatedTextTooltip",()=>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.