PageSourceSearch

https://seer-robotics.ai/_next/static/chunks/8284.ec75d122ae0d219a.js

js seer-robotics.ai collected 2026-10-05 12:37:35 UTC 3,309 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8284],{8284:function(e,t,l){l.r(t),l.d(t,{default:function(){return b}});var r,n,o=l(85893),i=l(67294),u=l(21997),a=l(92770),s=l(31663),c=function(e){s.Z&&!(0,a.mf)(e)&&console.error(`useMemoizedFn expected parameter is a function, got ${typeof e}`);let t=(0,i.useRef)(e);t.current=(0,i.useMemo)(()=>e,[e]);let l=(0,i.useRef)();return l.current||(l.current=function(...e){return t.current.apply(this,e)}),l.current},g=(r=i.useEffect,(e,t)=>{let l=(0,i.useRef)(!1);r(()=>()=>{l.current=!1},[]),r(()=>{if(l.current)return e();l.current=!0},t)}),p=l(52982);let x=(n=()=>p.Z?localStorage:void 0,function(e,t){let l;try{l=n()}catch(e){console.error(e)}let r=e=>(null==t?void 0:t.serializer)?null==t?void 0:t.serializer(e):JSON.stringify(e),o=e=>(null==t?void 0:t.deserializer)?null==t?void 0:t.deserializer(e):JSON.parse(e);function u(){try{let t=null==l?void 0:l.getItem(e);if(t)return o(t)}catch(e){console.error(e)}return(0,a.mf)(null==t?void 0:t.defaultValue)?null==t?void 0:t.defaultValue():null==t?void 0:t.defaultValue}let[s,p]=(0,i.useState)(()=>u());g(()=>{p(u())},[e]);let x=t=>{let n=(0,a.mf)(t)?t(s):t;if(p(n),(0,a.G7)(n))null==l||l.removeItem(e);else try{null==l||l.setItem(e,r(n))}catch(e){console.error(e)}};return[s,c(x)]});var d=l(11163),f=l(24413);let m=navigator.language,v={zh:{type:"zh",text:"请选择另一个国家或地区,以获得适用于你所在位置的语言选项。",btn:"确定",name:"中国大陆"},en:{type:"en",text:"Please select another country or region for language options for your location.",btn:"Confirm",name:"English"}},h=e=>{var t,l,r,n;let[a,s]=(0,i.useState)(!1),[c,g]=(0,i.useState)(),[p,h]=x("lang_popup"),b=(0,d.useRouter)(),{hreflangs:w}=(0,f.i)(),y=b.locale||"en";return(0,i.useEffect)(()=>{if(m){let t=m.substr(0,2);!localStorage.getItem("lang_popup")&&0>m.indexOf(y)&&v[t]?(s(!0),e.getIdShow(!0),g(t)):(s(!1),e.getIdShow(!1))}},[m]),(0,o.jsx)(o.Fragment,{children:a?(0,o.jsxs)("div",{className:"flex flex-col px-[20px] py-[10px] lg:p-0 lg:flex-row lg:items-center lg:justify-center w-full lg:h-[50px] text-[14px] lg:text-[16px] text-[#D8D8D8] bg-[#3D3D3D]",children:[(0,o.jsx)("div",{className:"pr-[20px] text-left lg:text-center",children:null===(t=v[c])||void 0===t?void 0:t.text}),(0,o.jsxs)("div",{className:"w-full lg:w-auto flex mt-[10px] lg:mt-0 lg:justify-center lg:items-center",children:[(0,o.jsx)("div",{className:"flex-grow lg:flex-grow-0 lg:ml-[10px] border-box flex items-center justify-center lg:pr-[20px] lg:pl-[12px] lg:w-[150px] h-[30px] lg:h-[36px] bg-[#D8D8D8] bg-opacity-20 border-solid border-[1px] border-opacity-50 border-[#FFFFFF]",children:null===(l=v[c])||void 0===l?void 0:l.name}),(0,o.jsx)("a",{className:"lg:mr-[20px] ml-[25px] w-[80px] lg:w-[150px] h-[30px] leading-[30px] lg:h-[36px] lg:leading-[36px] text-center text-[rgba(255, 255, 255, 1] border-[1px] border-[#FFFFFF]",href:(0,u.bP)(null===(r=v[c])||void 0===r?void 0:r.type,b.asPath,w),children:null===(n=v[c])||void 0===n?void 0:n.btn})]}),(0,o.jsx)("img",{onClick:()=>{h(1),s(!1),e.getIdShow(!1)},className:"absolute top-[10px] right-[20px] lg:top-auto lg:right-auto w-[20px] lg:relative lg:cursor-pointer lg:w-[30px]",src:(0,u.wD)("static/en/nav/close.svg"),alt:"close"})]}):""})};var b=h}}]);

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.