PageSourceSearch

https://easyocr.org/_next/static/chunks/0m04pnn9vt2cu.js

js easyocr.org collected 2026-10-04 13:24:44 UTC 20,420 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,95057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return s},formatWithValidation:function(){return c},urlObjectKeys:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(90809)._(e.r(98183)),l=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:r}=e,n=e.protocol||"",a=e.pathname||"",s=e.hash||"",i=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),i&&"object"==typeof i&&(i=String(o.urlQueryToSearchParams(i)));let u=e.search||i&&`?${i}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||l.test(n))&&!1!==c?(c="//"+(c||""),a&&"/"!==a[0]&&(a="/"+a)):c||(c=""),s&&"#"!==s[0]&&(s="#"+s),u&&"?"!==u[0]&&(u="?"+u),a=a.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),`${n}${c}${a}${u}${s}`}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return s(e)}},18581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return a}});let n=e.r(71645);function a(e,t){let r=(0,n.useRef)(null),a=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=a.current;t&&(a.current=null,t())}else e&&(r.current=o(e,n)),t&&(a.current=o(t,n))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=e.r(18967),a=e.r(52817);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},84508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},22016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return x},useLinkStatus:function(){return v}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(90809),l=e.r(43476),s=o._(e.r(71645)),i=e.r(95057),c=e.r(8372),u=e.r(18581),d=e.r(18967),f=e.r(5550);e.r(33525);let h=e.r(88540),p=e.r(91949),m=e.r(73668),b=e.r(9396);function x(t){var r,n;let a,o,x,[v,y]=(0,s.useOptimistic)(p.IDLE_LINK_STATUS),j=(0,s.useRef)(null),{href:w,as:_,children:k,prefetch:E=null,passHref:C,replace:L,shallow:O,scroll:N,onClick:S,onMouseEnter:M,onTouchStart:P,legacyBehavior:T=!1,onNavigate:I,transitionTypes:R,ref:A,unstable_dynamicOnHover:$,...q}=t;a=k,T&&("string"==typeof a||"number"==typeof a)&&(a=(0,l.jsx)("a",{children:a}));let z=s.default.useContext(c.AppRouterContext),B=!1!==E,U=!1!==E?null===(n=E)||"auto"===n?b.FetchStrategy.PPR:b.FetchStrategy.Full:b.FetchStrategy.PPR,H="string"==typeof(r=_||w)?r:(0,i.formatUrl)(r);if(T){if(a?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=s.default.Children.only(a)}let W=T?o&&"object"==typeof o&&o.ref:A,D=s.default.useCallback(e=>(null!==z&&(j.current=(0,p.mountLinkInstance)(e,H,z,U,B,y)),()=>{j.current&&((0,p.unmountLinkForCurrentNavigation)(j.current),j.current=null),(0,p.unmountPrefetchableInstance)(e)}),[B,H,z,U,y]),K={ref:(0,u.useMergedRef)(D,W),onClick(t){T||"function"!=typeof S||S(t),T&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!z||t.defaultPrevented||function(t,r,n,a,o,l,i){if("u">typeof window){let c,{nodeName:u}=t.currentTarget;if("A"===u.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;
1if(!(0,m.isLocalURL)(r)){a&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(99781);s.default.startTransition(()=>{d(r,a?"replace":"push",!1===o?h.ScrollBehavior.NoScroll:h.ScrollBehavior.Default,n.current,i)})}}(t,H,j,L,N,I,R)},onMouseEnter(e){T||"function"!=typeof M||M(e),T&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),z&&B&&(0,p.onNavigationIntent)(e.currentTarget,!0===$)},onTouchStart:function(e){T||"function"!=typeof P||P(e),T&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),z&&B&&(0,p.onNavigationIntent)(e.currentTarget,!0===$)}};return(0,d.isAbsoluteUrl)(H)?K.href=H:T&&!C&&("a"!==o.type||"href"in o.props)||(K.href=(0,f.addBasePath)(H)),x=T?s.default.cloneElement(o,K):(0,l.jsx)("a",{...q,...K,children:a}),(0,l.jsx)(g.Provider,{value:v,children:x})}e.r(84508);let g=(0,s.createContext)(p.IDLE_LINK_STATUS),v=()=>(0,s.useContext)(g);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},8341,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={cancelIdleCallback:function(){return l},requestIdleCallback:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},l="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},19083,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ESCAPE_REGEX:function(){return l},htmlEscapeAttributeString:function(){return u},htmlEscapeJsonString:function(){return c}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},l=/[&><\u2028\u2029]/g,s={"&":"&amp;",'"':"&quot;","'":"&#39;","<":"&lt;",">":"&gt;"},i=/[&"'<>]/g;function c(e){return e.replace(l,e=>o[e])}function u(e){return e.replace(i,e=>s[e])}},79520,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return y},handleClientScriptLoad:function(){return x},initScriptLoader:function(){return g}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let o=e.r(55682),l=e.r(90809),s=e.r(43476),i=o._(e.r(74080)),c=l._(e.r(71645)),u=e.r(42732),d=e.r(22737),f=e.r(8341),h=e.r(19083),p=new Map,m=new Set,b=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:a=null,dangerouslySetInnerHTML:o,children:l="",strategy:s="afterInteractive",onError:c,stylesheets:u}=e,f=r||t;if(f&&m.has(f))return;if(p.has(t)){m.add(f),p.get(t).then(n,c);return}let h=()=>{a&&a(),m.add(f)},b=document.createElement("script"),x=new Promise((e,t)=>{b.addEventListener("load",function(t){e(),n&&n.call(this,t),h()}),b.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});o?(b.innerHTML=o.__html||"",h()):l?(b.textContent="string"==typeof l?l:Array.isArray(l)?l.join(""):"",h()):t&&(b.src=t,p.set(t,x)),(0,d.setAttributesFromProps)(b,e),"worker"===s&&b.setAttribute("type","text/partytown"),b.setAttribute("data-nscript",s),u&&(e=>{if(i.default.preinit)return e.forEach(e=>{i.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(u),document.body.appendChild(b)};function x(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>b(e))}):b(e)}function g(e){e.forEach(x),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEac
1h(e=>{let t=e.id||e.getAttribute("src");m.add(t)})}function v(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:a=null,strategy:o="afterInteractive",onError:l,stylesheets:d,...p}=e,{updateScripts:x,scripts:g,getIsSsr:v,appDir:y,nonce:j}=(0,c.useContext)(u.HeadManagerContext);j=p.nonce||j;let w=(0,c.useRef)(!1);(0,c.useEffect)(()=>{let e=t||r;w.current||(a&&e&&m.has(e)&&a(),w.current=!0)},[a,t,r]);let _=(0,c.useRef)(!1);if((0,c.useEffect)(()=>{if(!_.current){if("afterInteractive"===o)b(e);else"lazyOnload"===o&&("complete"===document.readyState?(0,f.requestIdleCallback)(()=>b(e)):window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>b(e))}));_.current=!0}},[e,o]),("beforeInteractive"===o||"worker"===o)&&(x?(g[o]=(g[o]||[]).concat([{id:t,src:r,onLoad:n,onReady:a,onError:l,...p,nonce:j}]),x(g)):v&&v()?m.add(t||r):v&&!v()&&b({...e,nonce:j})),y){if(d&&d.forEach(e=>{i.default.preinit(e,{as:"style"})}),"beforeInteractive"===o)if(!r)return p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),(0,s.jsx)("script",{nonce:j,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,h.htmlEscapeJsonString)(JSON.stringify([0,{...p,id:t}]))})`}});else return i.default.preload(r,p.integrity?{as:"script",integrity:p.integrity,nonce:j,crossOrigin:p.crossOrigin}:{as:"script",nonce:j,crossOrigin:p.crossOrigin}),(0,s.jsx)("script",{nonce:j,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,h.htmlEscapeJsonString)(JSON.stringify([r,{...p,id:t}]))})`}});"afterInteractive"===o&&r&&i.default.preload(r,p.integrity?{as:"script",integrity:p.integrity,nonce:j,crossOrigin:p.crossOrigin}:{as:"script",nonce:j,crossOrigin:p.crossOrigin})}return null}Object.defineProperty(v,"__nextScript",{value:!0});let y=v;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},18566,(e,t,r)=>{t.exports=e.r(76562)},70119,e=>{"use strict";var t=e.i(43476),r=e.i(22016),n=e.i(18566),a=e.i(71645);let o="https://console.easyocr.org/",l=["en","zh"],s={en:"English",zh:"中文"},i={en:"🇺🇸",zh:"🇨🇳"};function c({currentLang:e}){let o=(0,n.usePathname)(),[u,d]=(0,a.useState)(!1),f=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=e=>{f.current&&!f.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,a.useEffect)(()=>{let e=e=>{"Escape"===e.key&&d(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[]),(0,t.jsxs)("div",{className:"relative",ref:f,children:[(0,t.jsxs)("button",{onClick:()=>d(!u),className:"flex items-center gap-2 px-3 py-2 text-sm text-gray-700 hover:text-brand-600 transition-colors rounded-lg hover:bg-gray-50","aria-expanded":u,"aria-haspopup":"listbox",children:[(0,t.jsx)("span",{className:"text-base",children:i[e]}),(0,t.jsx)("span",{children:s[e]}),(0,t.jsx)("svg",{className:`w-4 h-4 transition-transform ${u?"rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),u&&(0,t.jsx)("div",{className:"absolute right-0 mt-2 w-40 bg-white rounded-lg shadow-lg border border-gray-200 py-1 z-50",role:"listbox",children:l.map(n=>{let a;return(0,t.jsxs)(r.default,{href:((a=o.split("/"))[1]=n,a.join("/")),onClick:()=>{document.cookie=`NEXT_LOCALE=${n};path=/;max-age=31536000`,d(!1)},className:`flex items-center gap-3 px-4 py-2 text-sm transition-colors ${n===e?"bg-brand-50 text-brand-600 font-medium":"text-gray-700 hover:bg-gray-50"}`,role:"option","aria-selected":n===e,children:[(0,t.jsx)("span",{className:"text-base",children:i[n]}),(0,t.jsx)("span",{children:s[n]})]},n)})})]})}e.s(["default",0,function({lang:e,dict:l}){let[s,i]=(0,a.useState)(!1),[u,d]=(0,a.useState)(!1),f=(0,n.usePathname)(),h=t=>t===`/${e}`?f===`/${e}`||f===`/${e}/`:f.startsWith(t);(0,a.useEffect)(()=>{let e=!1,t=()=>{e||(window.requestAnimationFrame(()=>{d(window.scrollY>10),e=!1}),e=!0)};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]);let p=(0,a.useCallback)(()=>{i(!1)},[]),m=`/${e}`,b="en"===e,x=b?"https://t.me/ASN520":"https://qm.qq.com/q/Lo1lUnsNyI",g=b?"Telegram: @ASN520":"QQ群:1073247812",v=[{href:m,label:l.nav.home,exact:!0},{href:`${m}/examples`,label:l.nav.examples},{href:`${m}/quick-start`,label:l.nav.quickStart},{href:`${m}/help`,label:l.nav.help}];return(0,t.jsx)("header",{className:`sticky top-0 z-50 transition-all duration-200 ${u?"bg-white/95 backdrop-blur-md shadow-md border-b border-gray-100":"bg-transparent"}`,children:(0,t.jsxs)("nav",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8","aria-label":"zh"===e?"主导航":"Main navigation",children:[(0,t.jsxs)("div",{className:"flex justify-between items-center min-h-[4.5rem] py-4",children:[(0,t.jsxs)(r.default,{href:m,className:"flex items-center space-x-3 group","aria-label":"zh"===e?"EasyOCR 首页":"EasyOCR Home",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-brand-400 to-brand-600 rounded-xl blur-lg opacity-50 group-hover:opacity-80 transition-opacity"}),(0,t.jsx)("div",{className:"relative w-10 h-10 bg-gradient-to-br from-brand-400 to-brand-600 rounded-xl flex items-center justify-center shadow-lg",children:(0,t.jsx)("span",{className:"text-white font-bold text-xl",children:"E"})})]}),(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("span",{className:"text-xl font-bold text-gray-900",children:"EasyOCR"}),(0,t.jsx)("span",{className:"text-[10px] text-gray-400 -mt-1 tracking-wider",children:"zh"===e?"智能文字识别":"S
1MART OCR"})]})]}),(0,t.jsxs)("div",{className:"hidden md:flex items-center",children:[(0,t.jsx)("div",{className:"flex items-center bg-gray-100/80 backdrop-blur-sm rounded-full p-1.5 mr-4",children:v.map(e=>{let n=e.exact?h(e.href)&&f===e.href:h(e.href);return(0,t.jsx)(r.default,{href:e.href,className:`px-5 py-2 text-sm rounded-full transition-all duration-200 font-medium ${n?"bg-white text-brand-600 shadow-sm":"text-gray-600 hover:text-gray-900 hover:bg-white"}`,children:e.label},e.href)})}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(c,{currentLang:e}),(0,t.jsxs)("a",{href:x,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-1.5 rounded-full border border-amber-200 bg-amber-50 px-4 py-2.5 text-sm font-semibold text-amber-700 transition-all duration-200 hover:border-amber-300 hover:bg-amber-100 hover:text-amber-800",children:[(0,t.jsx)("svg",{className:"h-4 w-4",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:b?(0,t.jsx)("path",{d:"M21.8 2.2 2.5 9.7c-.9.4-.9 1.2-.2 1.5l4.9 1.8 1.8 5.7c.2.7.7.9 1.2.4l2.8-2.6 5 3.7c.6.3 1.1 0 1.3-.7l3.1-16.2c.2-.9-.3-1.3-1.1-1ZM8.1 12.5l10.7-6.8-8.9 8.1-.3 3-1.5-4.3Z"}):(0,t.jsx)("path",{d:"M12 2a7 7 0 0 0-7 7v3.4c-.7.6-1.3 1.4-1.6 2.3-.2.6.2 1.3.8 1.5l1.8.6A6.9 6.9 0 0 0 12 21a6.9 6.9 0 0 0 6-3.2l1.8-.6c.6-.2 1-.9.8-1.5-.3-.9-.9-1.7-1.6-2.3V9a7 7 0 0 0-7-7Zm-3.5 7a3.5 3.5 0 0 1 7 0v.5h-7V9Zm1.2 7.7c.6.3 1.4.5 2.3.5s1.7-.2 2.3-.5a4.7 4.7 0 0 1-4.6 0Z"})}),g]}),(0,t.jsxs)("a",{href:o,className:"inline-flex items-center justify-center gap-2 bg-gradient-to-r from-brand-500 to-brand-600 hover:from-brand-600 hover:to-brand-700 text-white text-sm font-semibold px-5 py-2.5 rounded-full transition-all duration-200 shadow-lg shadow-brand-500/25 hover:shadow-xl hover:shadow-brand-500/35 hover:scale-[1.02]",children:[(0,t.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 7h4m0 0v4m0-4l-6 6m-4 0H3v4h4"})}),l.nav.console]})]})]}),(0,t.jsx)("button",{className:"md:hidden p-2.5 rounded-xl bg-gray-100 hover:bg-gray-200 transition-colors",onClick:()=>i(!s),"aria-label":s?"zh"===e?"关闭菜单":"Close menu":"zh"===e?"打开菜单":"Open menu","aria-expanded":s,children:(0,t.jsx)("svg",{className:"w-5 h-5 text-gray-700",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:s?(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"}):(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})})]}),s&&(0,t.jsxs)("div",{className:"md:hidden py-4 space-y-2 border-t border-gray-100",children:[v.map(e=>{let n=e.exact?h(e.href)&&f===e.href:h(e.href);return(0,t.jsx)(r.default,{href:e.href,className:`block py-3 px-4 rounded-xl transition-colors font-medium ${n?"bg-brand-50 text-brand-600":"text-gray-700 hover:text-brand-600 hover:bg-brand-50"}`,onClick:p,children:e.label},e.href)}),(0,t.jsxs)("div",{className:"pt-3 mt-2 border-t border-gray-100 space-y-3",children:[(0,t.jsxs)("a",{href:x,target:"_blank",rel:"noopener noreferrer",onClick:p,className:"flex items-center justify-center gap-2 mx-4 border border-amber-200 bg-amber-50 text-amber-700 font-semibold px-4 py-3 rounded-xl transition-colors hover:bg-amber-100",children:[(0,t.jsx)("span",{"aria-hidden":"true",children:b?"✈️":"💬"}),g]}),(0,t.jsxs)("a",{href:o,onClick:p,className:"flex items-center justify-center gap-2 mx-4 bg-gradient-to-r from-brand-500 to-brand-600 hover:from-brand-600 hover:to-brand-700 text-white font-semibold px-4 py-3 rounded-xl transition-all duration-200 shadow-lg shadow-brand-500/25",children:[(0,t.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 7h4m0 0v4m0-4l-6 6m-4 0H3v4h4"})}),l.nav.console]}),(0,t.jsx)("div",{className:"px-4",children:(0,t.jsx)(c,{currentLang:e})})]})]})]})})}],70119)},71691,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(18566);e.s(["default",0,function(){let[e,a]=(0,r.useState)(!1),o=(0,n.usePathname)().startsWith("/zh");return(0,r.useEffect)(()=>{let e=!1,t=()=>{e||(window.requestAnimationFrame(()=>{a(window.scrollY>500),e=!1}),e=!0)};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]),(0,t.jsx)("button",{onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},className:`fixed bottom-8 right-8 z-50 p-4 bg-gradient-to-br from-brand-500 to-brand-600 hover:from-brand-600 hover:to-brand-700 text-white rounded-2xl shadow-lg transition-all duration-200 hover:scale-105 ${e?"opacity-100 translate-y-0":"opacity-0 translate-y-4 pointer-events-none"}`,"aria-label":o?"返回顶部":"Back to top",children:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 10l7-7m0 0l7 7m-7-7v18"})})})}])},67242,e=>{"use strict";var t=e.i(71645);e.s(["default",0,function(){let e=(0,t.useRef)(!1);return(0,t.useEffect)(()=>
1{if(e.current)return;e.current=!0;let t=document.createElement("script");t.src="https://pl28628361.effectivegatecpm.com/9a/7c/e3/9a7ce300668ca1936503c3b66bb21122.js",document.body.appendChild(t)},[]),null}])},30953,e=>{"use strict";var t=e.i(71645);e.s(["default",0,function({lang:e}){return(0,t.useEffect)(()=>{document.cookie=`NEXT_LOCALE=${e};path=/;max-age=31536000`},[e]),null}])}]);

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.