PageSourceSearch

https://labuladong.online/_next/static/chunks/14245.e05310606e619346.js

js labuladong.online collected 2026-09-24 09:58:58 UTC 3,382 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[14245,89318],{14245:(e,r,t)=>{t.r(r),t.d(r,{GameControlRow:()=>d});var o=t(95155);t(12115);var a=t(59434),l=t(57740),i=t(89318);let d=e=>{let{algorithmSelector:r,buttons:t}=e,d=(0,l.Y)();return(0,o.jsxs)("div",{className:(0,a.cn)("flex flex-row items-center gap-4 w-full py-3 px-4 rounded-lg border",d?"bg-white/[0.03] border-white/[0.08]":"bg-black/[0.08] border-black/15"),children:[(0,o.jsx)(i.AlgorithmSelector,{...r}),(0,o.jsx)("div",{className:"flex flex-row gap-3 shrink-0",children:t.map((e,r)=>(0,o.jsx)("button",{className:(0,a.cn)("py-2 px-4 rounded-md text-sm font-medium transition-all duration-200 cursor-pointer min-h-[36px] whitespace-nowrap","disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:transform-none",e.isComplete?"bg-gradient-to-br from-[#4CAF50] to-[#388E3C] border-[#4CAF50] text-white hover:from-[#45A049] hover:to-[#2E7D32] hover:border-[#45A049] hover:-translate-y-px":"primary"===e.variant?"bg-gradient-to-br from-[#1976d2] to-[#1565c0] border border-[#1976d2] text-white hover:from-[#1565c0] hover:to-[#0d47a1] hover:border-[#1565c0] hover:-translate-y-px":d?"bg-white/[0.08] border border-white/20 text-white hover:bg-white/15 hover:border-white/30 hover:-translate-y-px active:bg-white/10 disabled:hover:bg-white/[0.08]":"bg-black/[0.08] border border-black/25 text-[#1a1a1a] hover:bg-black/15 hover:border-black/40 hover:-translate-y-px active:bg-black/[0.08] disabled:hover:bg-black/[0.08]"),onClick:e.onClick,disabled:e.disabled,children:e.text},r))})]})}},89318:(e,r,t)=>{t.r(r),t.d(r,{AlgorithmSelector:()=>d});var o=t(95155);t(12115);var a=t(46102),l=t(59434),i=t(57740);let d=e=>{let{label:r,value:t,options:d,onChange:s,disabled:b=!1,showTooltip:h=!1,tooltipContent:n}=e,c=(0,i.Y)();return(0,o.jsxs)("div",{className:"flex flex-row items-center gap-3 flex-1",children:[(0,o.jsx)("span",{className:(0,l.cn)("text-sm font-medium whitespace-nowrap min-w-fit",c?"text-white":"text-[#1a1a1a]"),children:r}),(0,o.jsxs)("div",{className:"flex items-center gap-2 flex-1",children:[(0,o.jsx)("select",{value:t,onChange:e=>s(e.target.value),disabled:b,className:(0,l.cn)("flex-1 min-w-[120px] py-2 px-3 rounded-lg text-sm cursor-pointer transition-all duration-300","focus:outline-none",c?"bg-white/10 border border-white/20 text-white hover:bg-white/15 hover:border-white/40 focus:border-[#2196F3] focus:shadow-[0_0_0_2px_rgba(33,150,243,0.2)]":"bg-white/10 border border-black/25 text-[#1a1a1a] hover:bg-white/15 hover:border-black/40 focus:border-[#2196F3] focus:shadow-[0_0_0_2px_rgba(33,150,243,0.2)]","[&_option]:bg-background [&_option]:text-foreground"),children:d.map(e=>(0,o.jsx)("option",{value:e.value,children:e.label},e.value))}),h&&n&&(0,o.jsxs)(a.Tooltip,{children:[(0,o.jsx)(a.TooltipTrigger,{asChild:!0,children:(0,o.jsx)("div",{className:(0,l.cn)("w-4 h-4 rounded-full text-xs font-bold flex items-center justify-center cursor-help transition-all duration-200 select-none",c?"bg-white/10 border border-white/30 text-[#e0e0e0] hover:bg-white/20 hover:border-white/50 hover:text-white hover:scale-110":"bg-black/10 border border-black/30 text-[#4a4a4a] hover:bg-black/20 hover:border-black/50 hover:text-[#1a1a1a] hover:scale-110"),children:"i"})}),(0,o.jsx)(a.TooltipContent,{side:"top",className:"max-w-[300px] text-xs",children:n})]})]})]})}}}]);

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.