1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1203],{54413:function(e,t,a){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var o in a)({}).hasOwnProperty.call(a,o)&&(e[o]=a[o])}return e}).apply(null,arguments)}a.d(t,{g:function(){return n}})},55804:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return m}});var o=a(54413),i=a(70786),l=a.n(i),s=a(51367),c=a(84523),d=a(65971);let h="locale";function utils_n(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function utils_e(e,t){let a;return"string"==typeof e?a=u(t,e):(a={...e},e.pathname&&(a.pathname=u(t,e.pathname))),a}function u(e,t){let a=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),a+=t}a(28070);let m=(0,c.forwardRef)(function(e,t){let{href:a,locale:i,localePrefixMode:m,onClick:A,prefetch:g,prefix:f,...p}=e,b=(0,s.usePathname)(),x=function(){let e;let t=(0,s.useParams)();try{e=(0,d.useLocale)()}catch(a){if("string"!=typeof(null==t?void 0:t[h]))throw a;e=t[h]}return e}(),y=i!==x,[v,w]=(0,c.useState)(()=>utils_n(a)&&("never"!==m||y)?utils_e(a,f):a);return(0,c.useEffect)(()=>{b&&w(function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;if(!utils_n(e))return e;let l=o===i||o.startsWith("".concat(i,"/"));return(t!==a||l)&&null!=i?utils_e(e,i):e}(a,i,x,b,f))},[x,a,i,b,f]),y&&(g&&console.error("The `prefetch` prop is currently not supported when using the `locale` prop on `Link` to switch the locale.`"),g=!1),c.createElement(l(),(0,o.g)({ref:t,href:v,hrefLang:y?i:void 0,onClick:function(e){(function(e,t,a){if(!(a!==t&&null!=a)||!e)return;let o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location.pathname;return"/"===e?t:t.replace(e,"")}(e),i=""!==o?o:"/";document.cookie="".concat("NEXT_LOCALE","=").concat(a,"; path=").concat(i,"; max-age=").concat(31536e3,"; sameSite=").concat("lax")})(b,x,i),A&&A(e)},prefetch:g},p))});m.displayName="ClientLink"},39449:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return r}});var o=a(54413),i=a(84523),l=a(56957);function r(e){let{locale:t,...a}=e;if(!t)throw Error("Failed to determine locale in `NextIntlClientProvider`, please provide the `locale` prop explicitly.\n\nSee https://next-intl-docs.vercel.app/docs/configuration#locale");return i.createElement(l.IntlProvider,(0,o.g)({locale:t},a))}},62954:function(e,t,a){Promise.resolve().then(a.bind(a,55804)),Promise.resolve().then(a.bind(a,39449)),Promise.resolve().then(a.t.bind(a,33516,23)),Promise.resolve().then(a.t.bind(a,99068,23)),Promise.resolve().then(a.bind(a,28244)),Promise.resolve().then(a.bind(a,58119)),Promise.resolve().then(a.bind(a,96248)),Promise.resolve().then(a.bind(a,28670)),Promise.resolve().then(a.bind(a,42530))},79758:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var a in t)Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}(t,{unstable_getImgProps:function(){return unstable_getImgProps},default:function(){return d}});let o=a(97295),i=a(36264),l=a(92901),s=a(74801),c=o._(a(29043)),unstable_getImgProps=e=>{(0,l.warnOnce)("Warning: unstable_getImgProps() is experimental and may change or be removed at any time. Use at your own risk.");let{props:t}=(0,i.getImgProps)(e,{defaultLoader:c.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,a]of Object.entries(t))void 0===a&&delete t[e];return{props:t}},d=s.Image},33516:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var a in t)Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}(t,{suspense:function(){return suspense},NoSSR:function(){return NoSSR}});let o=a(10688);function suspense(){let e=Error(o.NEXT_DYNAMIC_NO_SSR_CODE);throw e.digest=o.NEXT_DYNAMIC_NO_SSR_CODE,e}function NoSSR(e){let{children:t}=e;return t}},92183:function(e,t,a){"use strict";a.d(t,{Z:function(){return IfMobile}});var o=a(95377),i=a(43359),l=a.n(i);function IfMobile(e){let{breakPoint:t="sm"}=e;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("span",{style:e.style,className:l()("sm"===t?"hidden sm:inline":"hidden lg:inline",e.className),children:e.else}),(0,o.jsx)("span",{style:e.style,className:l()("sm"===t?"inline sm:hidden":"inline lg:hidden",e.className),children:e.children})]})}},28244:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return Footer_Footer}});var o=a(95377),i=a(43359),l=a.n(i),s=a(84523),c=a(58030),d=a.n(c),h={src:"/_next/static/media/gonganbeian.dfb736e4.png",height:20,width:20,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAdVBMVEXo6LLirVHuyWrr8ruhhm10dn7//4DcMRibhGPnyHWqdU6ykGWXhXWVhHjgQyKTTEZKGFydWU1QFVXfsFW0k2Lro1L/uFDkwGT1uFf/0mXw4YH8yle+VTmNfnrTtHKtfmamZEznZyTzgzWjHyKwMi3vrFL0t1DY1uJvAAAAG3RSTlMB8OYSZfAn/f1w1NRxef77+/v70/qOfsuGfmjAOT4tAAAACXBIWXMAAAsTAAALEwEAmpwYAAAARUlEQVR4nAXBBQKAIAAAsQNRwO4CbP3/E90AlWYKoDh0ueeQxF5rHyeMoTqvJiwMW30/7TZj394Y81ki6ZxzMgLbCTGt/IAnA9Pm1mHFAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8},m=a(26846),A=a(6788),g=a(71274),column=function(e){var t=e.prefixCls,a=e.icon,o=e.title,i=e.items,c=e.style,d=e.className;return s.createElement("div",{className:l()("".concat(t,"-column"),d),style:c},(o||a)&&s.createElement("h2",null,a&&s.createElement("span",{className:"".concat(t,"-column-icon")},a),o),(void 0===i?[]:i).map(function(e,a){var o=e.LinkComponent||"a";return s.createElement("div",{className:l()("".concat(t,"-item"),e.className),style:e.style,key:a},s.createElement(o,{href:e.url,to:"string"!=typeof o?e.url:void 0,target:e.openExternal?"_blank":void 0,rel:e.openExternal?"noopener noreferrer":void 0},e.icon&&s.createElement("span",{className:"".concat(t,"-item-icon")},e.icon),e.title),e.description&&s.createElement(s.Fragment,null,s.createElement("span",{className:"".concat(t,"-item-separator")},"-"),s.createElement("span",{className:"".concat(t,"-item-description")},e.description)))}))},f=["prefixCls","className","style","bottom","columns","maxColumnsPerRow","backgroundColor","columnLayout","theme"],es=function(e){var t=e.prefixCls,a=void 0===t?"rc-footer":t,o=e.className,i=e.style,c=e.bottom,d=e.columns,h=e.maxColumnsPerRow,p=e.backgroundColor,b=e.columnLayout,x=e.theme,y=void 0===x?"dark":x,v=(0,g.Z)(e,f),w=l()("".concat(a),o,(0,A.Z)({},"".concat(a,"-").concat(y),!!y)),N="number"==typeof h&&h>0;return s.createElement("footer",(0,m.Z)((0,m.Z)({},v),{},{className:w,style:(0,m.Z)((0,m.Z)({},i),{},{backgroundColor:p})}),s.createElement("section",{className:"".concat(a,"-container")},d&&d.length>0&&s.createElement("section",{className:"".concat(a,"-columns"),style:{justifyContent:b,flexWrap:N?"wrap":void 0}},d.map(function(e,t){var o=e.title,i=e.icon,l=e.style,c=e.className,d=e.items,A=(0,m.Z)({},l);return N&&(A.flex="0 0 ".concat(100/(h+1)+.1,"%")),s.createElement(column,{key:t,prefixCls:a,title:o,icon:i,items:void 0===d?[]:d,style:A,className:c})}))),c&&s.createElement("section",{className:"".concat(a,"-bottom")},s.createElement("div",{className:"".concat(a,"-bottom-container")},c)))};a(74928);var p=a(33132),b=a.n(p),x=a(67089);function DesktopFooter(e){let t=(0,x.useTranslations)(),{columns:a}=e;return(0,o.jsx)(es,{theme:"light",className:l()(b().main,"justify-between"),columns:a,bottom:(0,o.jsxs)("div",{className:l()("common-container"),children:[(0,o.jsxs)("div",{children:["Copyright \xa9",new Date().getFullYear()," All rights reserved |"," ",t("Footer.companyName")," |"," ",(0,o.jsx)("a",{className:"!text-[--text-primary]",href:"https://beian.miit.gov.cn",target:"_blank",children:"沪ICPå¤2020028062å·-1"})]}),(0,o.jsxs)("span",{className:"flex justify-center gap-1 items-center",children:[(0,o.jsx)("a",{className:"!text-[--text-primary]",href:"http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=31011002005448",children:"沪å
¬ç½å®å¤ 31011002005448å·"}),(0,o.jsx)("a",{target:"_blank",href:"http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=31011002005448",children:(0,o.jsx)(d(),{className:"m-auto",src:h,alt:t("Footer.beianTitle"),width:16,height:16})})]})]})})}var y=a(33727),v=a.n(y),w={src:"/_next/static/media/ic_bilibili.1bfa7517.png",height:96,width:96,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAMFBMVEX/+/3/////r8j/7/T/wNRMaXH/////////+fn/////9vn/9/r/////psL/4uv/ydoMhs0QAAAADXRSTlP+7/78/ACwLjC0tLQw3PPmcAAAAAlwSFlzAAALEwAACxMBAJqcGAAAADhJREFUeJwFwYkBgCAMBMG9vKAG+u/WGbI37E6W8IM+CpsxCmHnGEKM2SCKuDcoljzCtch+3N/OHyyaA
1UN/IPkEAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8},N=a(75360),j={src:"/_next/static/media/[email protected]",height:324,width:324,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAKlBMVEWRk5SGiImcnqCsra9ub3Cmp6mio6R2eHpjZGZ6e323uLlXV1nz1M/z5tq/jXHOAAAACXBIWXMAACE4AAAhOAFFljFgAAAANklEQVR4nAXBhwEAMAzDINkZ3f+/W6AcuwLTtM4QMOUcgHPcqxRxeM8yO7Q0aViZWrMw1R0ZHyZMARifhbjoAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8},E={src:"/_next/static/media/ic_shixiseng.3d0a7101.png",height:96,width:96,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAOVBMVEX////N3Plmle////9MaXH////5+fyDqvH////////5+f/5//94ovGmwvXx+f/d6/9cj+9tm/CdvPVaESdPAAAADHRSTlP2/vouALAv/uq0MDBhSL3pAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAPklEQVR4nBXLSRIAERAEwEJv6AX/f+zE5D1BMoE5CGLZWtoGp6tqMvA8wh8Ave5XAa5+Ti/GsoooE9D4u9AHSA0CD6Ep9/kAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},k={src:"/_next/static/media/ic_niuke.527b0b52.png",height:96,width:96,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAQlBMVEX+/v7////////r7O1MaXH////9/f27vb/////+/v79/f3CwcL////ozbrIx8eqr7Pj5+n/0KymmJHBsaXLu7HZvaqaxaKFAAAADHRSTlP2L7D+ADAu/Oq0sPpLvoUQAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAQElEQVR4nBXLSRLAIAgEwEFR0AwuWf7/1ZT3bqg0oFVFcZL0grRsDFsJiHu+XwDYz4jYQKfZvNgPzpku0Hq66A9O+AIkYy6Z8AAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},S={src:"/_next/static/media/ic_yuque.4584bc73.png",height:96,width:96,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAOVBMVEX////z//OU4XO969P////8//5Dy3b////+//5MaXH///902Wrd9uP2/uPS8+Hd9tKA3KiT355a0Vi4i/ykAAAACnRSTlMv9fr66vv+svYA1Yz/jAAAAAlwSFlzAAALEwAACxMBAJqcGAAAADxJREFUeJwVxkESgCAQBLFGgdkdQNT/P9Yyp5Aomkio9iwV5PDdmwh7j34F4TneP/IxntOCspZdIVELkR9D9AHoSVezwwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},C=a(50295),F=a(93566);function Footer_Footer(){let e=(0,x.useTranslations)(),t=[{title:(0,o.jsx)("span",{className:v().fakeTitle,children:e("Footer.productTitle")}),items:[{title:e("Footer.product1"),url:"/products/yhp"},{title:e("Footer.product2"),url:"/products/honghu"},{title:e("Footer.product3"),url:"/products/datascale"}]},{title:(0,o.jsx)("span",{className:v().fakeTitle,children:e("Footer.cooperationTitle")}),items:[{title:e("Footer.cooperation1"),url:"/customers"},{title:e("Footer.cooperation2"),url:"/partners"},{title:e("Footer.cooperation3"),url:"/privacy"},{title:e("Footer.cooperation4"),url:"/EULAs"}]},{title:(0,o.jsx)("span",{className:v().fakeTitle,children:e("Footer.joinUsTitle")}),items:[{title:e("Footer.joinUs1"),url:"/join-us"},{title:e("Footer.joinUs2"),url:"https://www.nowcoder.com/careers/yanhuangdata/107176",openExternal:!0},{title:e("Footer.joinUs3"),className:v().fakeTitle},{title:e("Footer.joinUs4"),url:"/company-profile"}]},{title:(0,o.jsx)("span",{className:v().fakeTitle,children:e("Footer.yanxisheTitle")}),items:[{title:e("Footer.yanxishe1"),url:"/news"},{title:e("Footer.yanxishe2"),url:"https://www.yanhuangdata.com/honghu_manual",openExternal:!0},{title:e("Footer.yanxishe3"),url:"https://yanhuang.yuque.com/staff-sbytbc/rb5rur/zefofb",openExternal:!0}]},{title:(0,o.jsx)("span",{className:v().fakeTitle,children:e("Footer.contactUsTitle")}),items:[{title:e("Footer.contactUs5")+"ï¼(021)61757386"},{title:e("Footer.contactUs1")+"ï¼[email protected]",url:"mailto:[email protected]"},{title:e("Footer.contactUs2")+"ï¼[email protected]",url:"mailto:[email protected]"},{title:e("Footer.contactUs3")+"ï¼[email protected]",url:"mailto:[email protected]"},{title:e("Footer.contactUs4")+"ï¼[email protected]",url:"mailto:[email protected]"},{title:"",LinkComponent:()=>(0,o.jsxs)("span",{className:"inline-flex",children:[(0,o.jsx)(d(),{className:"w-20 inline sm:block",src:N.Z,alt:"",width:100}),(0,o.jsx)(d(),{className:"w-20 inline sm:block",src:j,alt:"",width:100})]})},{title:"",LinkComponent:()=>(0,o.jsx)("span",{className:"inline-flex",children:[{key:"bilibili",icon:w,url:"https://space.bilibili.com/1843614029/video"},{key:"yuque",icon:S,url:"https://yanhuang.yuque.com/books/share/b1b27937-e331-40fd-bce1-bd521af4e662"},{key:"niuke",icon:k,url:"https://www.nowcoder.com/careers/yanhuangdata/107176"},{key:"shixiseng",icon:E,url:"https://www.shixiseng.com/com/com_11ahzzd8ycah?utm_source=usr_ekggcz9xajto&utm_campaign=share_app_gsxq"}].map(e=>(0,o.jsx)(F.rU,{href:e.url,target:"_blank",children:(0,o.jsx)(d(),{className:"cursor-pointer",src:e.icon,alt:e.key,width:28},e.key)},e.key))})}]}];return(0,C.K)(["profile"])?null:(0,o.jsx)("div",{className:l()(v().main,"common-container"),children:(0,o.jsx)(DesktopFooter,{columns:t})})}},58119:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return Nav}});var o=a(95377),i=a(84523),l=a(43359),s=a.n(l),c=a(93566),d=a(58030),h=a.n(d),m=a(76577),A=a(67089);let Burger=({color:e="currentColor",direction:t="left",distance:a="md",duration:o=.4,easing:l="cubic-bezier(0, 0, 0, 1)",hideOutline:s=!0,label:c,lines:d=3,onToggle:h,render:m,rounded:A=!1,size:g=32,toggle:f,toggled:p,disabled:b=!1,animateO
1nMount:x=!1})=>{let[y,v]=(0,i.useState)(!1),[w,N]=(0,i.useState)(!1);(0,i.useEffect)(()=>{N(!0)},[]);let j=Math.max(12,Math.min(48,g)),E=Math.round((48-j)/2),k=j/12,S=Math.round(k),C=j/(d*(("lg"===a?.25:"sm"===a?.75:.5)+(3===d?1:1.25))),F=Math.round(C),U=S*d+F*(d-1),_=(k-S+(C-F))/(3===d?1:2),L=parseFloat((j/(3===d?"lg"===a?4.0425:"sm"===a?5.1625:4.6325:"lg"===a?6.7875:"sm"===a?8.4875:7.6675)-_/(4/3)).toFixed(2)),M=Math.max(0,o),T={cursor:b?"not-allowed":"pointer",height:"48px",position:"relative",transition:`${M}s ${l}`,userSelect:"none",width:"48px"},R={background:e,height:`${S}px`,left:`${E}px`,position:"absolute"};s&&(T.outline="none"),A&&(R.borderRadius="9em");let D=f||v,B=(()=>{let e=void 0!==p?p:y;return x&&!w?!e:e})();return m({barHeight:S,barStyles:R,burgerStyles:T,easing:l,handler:()=>{D(!B),"function"==typeof h&&h(!B)},isLeft:"left"===t,isToggled:B,label:c,margin:F,move:L,time:M,topOffset:Math.round((48-U)/2),width:j})};function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o])}return e}).apply(this,arguments)}let Spin=e=>i.createElement(Burger,_extends({},e,{render:t=>i.createElement("div",{className:"hamburger-react","aria-label":t.label,"aria-expanded":t.isToggled,onClick:e.disabled?void 0:t.handler,onKeyUp:e.disabled?void 0:e=>"Enter"===e.key&&t.handler(),role:"button",style:{...t.burgerStyles,transform:`${t.isToggled?`rotate(${180*(t.isLeft?-1:1)}deg)`:"none"}`},tabIndex:0},i.createElement("div",{style:{...t.barStyles,width:`${t.width}px`,top:`${t.topOffset}px`,transition:`${t.time}s ${t.easing}`,transform:`${t.isToggled?`rotate(${45*(t.isLeft?-1:1)}deg) translate(${t.move*(t.isLeft?-1:1)}px, ${t.move}px)`:"none"}`}}),i.createElement("div",{style:{...t.barStyles,width:`${t.width}px`,top:`${t.topOffset+t.barHeight+t.margin}px`,transition:`${t.time}s ${t.easing}`,opacity:`${t.isToggled?"0":"1"}`}}),i.createElement("div",{style:{...t.barStyles,width:`${t.width}px`,top:`${t.topOffset+2*t.barHeight+2*t.margin}px`,transition:`${t.time}s ${t.easing}`,transform:`${t.isToggled?`rotate(${45*(t.isLeft?1:-1)}deg) translate(${t.move*(t.isLeft?-1:1)}px, ${-1*t.move}px)`:"none"}`}}))}));var g=a(37964),f=a(71157),p=a(61970),b=a(2350),x=a.n(b),y=a(46993),v=a(65207);function Dropdown(e){let t=(0,A.useTranslations)(),[a,l]=(0,i.useState)(!1);return(0,v.Z)(()=>{l(!1)},[(0,c.jD)()]),(0,o.jsx)(y.default,{open:a,onOpenChange:l,...e,children:(0,o.jsx)("div",{className:"h-full ",children:t("Nav.productsTitle")})})}var w=a(25939),N=a(84929),j=a.n(N);function SwitchLangBtn(e){let{label1:t,label2:a,tooltip1:i,tooltip2:l,value:c,pure:d,onClick:h}=e,m=(0,o.jsx)("button",{type:"button",onClick:h,className:j().btn,"aria-label":e["aria-label"],children:(0,o.jsxs)("div",{className:"btn-inner",children:[d&&(1===c?t:a),!d&&(0,o.jsxs)("div",{className:j().innerDiv,children:[(0,o.jsx)("span",{className:s()(j().labelStyle,1===c?j().label1Style:j().label2Style),children:t}),(0,o.jsx)("span",{className:s()(j().labelStyle,1===c?j().label2Style:j().label1Style),children:a})]})]})},"lang-button");return i||l?(0,o.jsx)(w.default,{title:1===c?i:l,children:m}):m}var E=a(14807),k={src:"/_next/static/media/DataScale-logo.32336ac8.svg",height:40,width:84,blurWidth:0,blurHeight:0},S={src:"/_next/static/media/yhp-logo-no-txt.fcef4e49.svg",height:24,width:24,blurWidth:0,blurHeight:0},C={src:"/_next/static/media/honghu-logo-no-txt.011d52c2.svg",height:24,width:24,blurWidth:0,blurHeight:0},F={src:"/_next/static/media/DS-logo-no-txt.42a609c5.svg",height:24,width:24,blurWidth:0,blurHeight:0},U=a(92183),_=a(34744),L=a.n(_),M=a(50295),T=a(25043);function TopNotice(e){let[t,a]=(0,i.useState)(e.visibleInSSR),l=(0,c.jD)();return(0,i.useLayoutEffect)(()=>{a("/"===l)},[l]),t&&e.content?(0,o.jsx)(U.Z,{else:(0,o.jsx)(c.rU,{href:e.href||"",children:(0,o.jsx)("div",{className:s()("py-2 px-4 overflow-scroll whitespace-nowrap text-center font-emoji text-[--text-primary-reverse] leading-[1.57] text-sm","bg-gradient-to-r from-[--yhp-gradient-start] to-[--yhp-gradient-stop] "),children:e.content})})}):null}function Nav(e){var t,a,l,d;let b=(0,A.useTranslations)(),items=e=>{let{logined:t,isMobile:a,isAdmin:i,pathname:l}=e;return[{key:"products",label:a?b("Nav.productsTitle"):(0,o.jsx)(Dropdown,{dropdownRender:()=>(0,o.jsx)("div",{className:"grid grid-cols-2 gap-4 py-2 px-2 bg-[--common-bg-color] mt-4 rounded-sm",style:{boxShadow:"0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05)"},children:[{logo:E.default,title:b("Nav.productsCategory1"),highlight:!0,items:[{logo:S,title:b("Nav.products1"),href:"/products/yhp",key:"yhp"},{logo:C,title:b("Nav.products2"),href:"/products/honghu",key:"honghu"}]},{logo:k,title:b("Nav.productsCategory2"),highlight:!1,items:[{logo:F,title:b("Nav.products4"),href:"/products/datascale",key:"datascale"}]}].map(e=>(0,o.jsxs)("div",{className:s()("rounded p-2 pr-6 flex flex-col gap-2 relative",e.highlight?"bg-[--menu-highlight-bg-color]":""),children:[(0,o.jsx)("div",{className:"text-[--text-secondary] text-xs",children:e.title}),e.items.map(e=>(0,o.jsxs)(c.rU,{className:s()("!text-[--text-primary] hover:!text-[--theme-color] flex",l.split("/").includes(e.ke
1y)?"!text-[--theme-color]":""),href:e.href,children:[(0,o.jsx)("img",{src:e.logo.src,alt:"",className:"mr-1",width:24,height:24}),e.title]},e.href))]},e.title))}),children:(0,o.jsx)("div",{className:"h-full ",children:b("Nav.productsTitle")})}),children:a?[{key:"yhp",label:(0,o.jsx)(c.rU,{href:"/products/yhp",children:b("Nav.products1")})},{label:(0,o.jsx)(c.rU,{href:"/products/honghu",children:b("Nav.products3")}),key:"honghu"},{label:(0,o.jsx)(c.rU,{href:"/products/datascale",children:b("Nav.products4")}),key:"datascale"}]:void 0},{children:[{key:"customers",label:(0,o.jsx)(c.rU,{href:"/customers",children:b("Nav.cooperation1")})},{key:"partners",label:(0,o.jsx)(c.rU,{href:"/partners",children:b("Nav.cooperation2")})}],label:b("Nav.cooperationTitle"),key:"corporation"},{label:(0,o.jsx)(c.rU,{href:"/news",children:b("Nav.newsTitle")}),key:"news"},{label:b("Nav.resourcesTitle"),key:"docs",children:[{key:"community",label:(0,o.jsx)(c.rU,{target:"_blank",href:"https://yanhuang.yuque.com/staff-sbytbc/rb5rur/zefofb",children:b("Nav.resources1")})},{key:"manual",label:(0,o.jsx)("a",{href:"/honghu_manual/",target:"_blank",children:b("Nav.resources2")})}]},{label:(0,o.jsx)(c.rU,{href:"/join-us",children:b("Nav.joinUsTitle")}),key:"join-us"},{label:(0,o.jsx)(c.rU,{href:"/company-profile",children:b("Nav.aboutTitle")}),key:"company-profile"},...a?t?[{label:(0,o.jsx)(c.rU,{href:"",onClick:()=>(0,m.signOut)({callbackUrl:"/"}),children:b("Nav.signoutTitle")}),key:"signout"}]:[{key:"signin",label:(0,o.jsx)(c.rU,{href:"/auth/signin",children:b("Nav.sigininTitle")})},{key:"signup",label:(0,o.jsx)(c.rU,{href:"/auth/signup",children:b("Nav.signupTitle")})}]:[],i&&{label:b("Nav.adminTitle"),key:"admin",children:[{key:"products-mgt",label:(0,o.jsx)(c.rU,{href:"/admin/products-mgt",children:b("Nav.adminProducts")})},{key:"download-record",label:(0,o.jsx)(c.rU,{href:"/admin/download-record",children:b("Nav.adminDownloadRecords")})},{key:"contact-requests",label:(0,o.jsx)(c.rU,{href:"/admin/contact-requests",children:b("Nav.adminContactRequests")})},{key:"brands-manage",label:(0,o.jsx)(c.rU,{href:"/admin/brands-manage",children:b("Nav.adminBrandsManagement")})},{key:"cms",label:(0,o.jsx)(c.rU,{href:"/admin/cms/outer-content",children:b("Nav.adminCMS")})},{key:"notice-manage",label:(0,o.jsx)(c.rU,{href:"/admin/notice-manage",children:b("Nav.adminNoticesManagement")})},{key:"comments-manage",label:(0,o.jsx)(c.rU,{href:"/admin/comments-manage",children:b("Nav.adminCommentsManagement")})}]}].filter(Boolean)},v=(0,c.jD)(),w=(0,c.tv)(),N=(0,A.useLocale)(),[j,_]=(0,i.useState)(v.split("/")),[R,D]=(0,i.useState)(!1),[B,P]=(0,i.useState)(v.split("/")),O=(0,m.useSession)(),H=(0,i.useMemo)(()=>(null==O?void 0:O.data)||e.session,[null==O?void 0:O.data,e.session]),I=(0,i.useMemo)(()=>{var e;return L()().isAfter(L()(null==H?void 0:null===(e=H.user)||void 0===e?void 0:e.expires))},[H]);(0,i.useLayoutEffect)(()=>{_(v.split("/")),D(!1)},[v]);let z=(0,i.useMemo)(()=>!!(null==H?void 0:H.user.name),[H]);if((0,M.K)())return null;let Z="border-b-[--nav-border-color] border-solid border-b",X=items({logined:z,isMobile:!0,isAdmin:null!==(l=null==H?void 0:H.user.isAdmin)&&void 0!==l&&l,pathname:v});return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(U.Z,{breakPoint:"lg",else:(0,o.jsxs)("div",{className:s()(Z,"fixed w-full top-0 bg-[--common-bg-color] z-[101]"),"data-test":"nav-pc",children:[(0,o.jsx)(TopNotice,{visibleInSSR:"/"===v,content:e.notice,href:e.noticeHref}),(0,o.jsx)("div",{className:"common-container",children:(0,o.jsxs)("div",{className:"flex items-center justify-start",children:[(0,o.jsx)(c.rU,{href:"/",className:"flex-shrink-0",onClick:()=>_([]),children:(0,o.jsx)(h(),{className:"inline w-20 lg:mr-10",src:E.default,width:80,height:39,alt:"logo",priority:!0})}),(0,o.jsx)(f.default,{style:{flex:1,background:"transparent",border:"none"},items:items({logined:z,isMobile:!1,isAdmin:null!==(d=null==H?void 0:H.user.isAdmin)&&void 0!==d&&d,pathname:v}),mode:"horizontal",defaultSelectedKeys:v.split("/"),selectedKeys:j,onSelect:e=>{let{key:t}=e;return!["manual","community","docs"].includes(t)&&_([t])}}),(0,o.jsxs)("div",{className:"flex items-center justify-end",children:[(0,o.jsx)(SwitchLangBtn,{onClick:()=>{w.push(v,{locale:"zh-CN"===N?"en-US":"zh-CN"})},value:"zh-CN"===N?2:1,label1:"ä¸",label2:"En",tooltip1:"䏿 / English",tooltip2:"English / 䏿"},"lang"),(null==H?void 0:H.user)&&!I?(0,o.jsx)(y.default,{menu:{items:[{label:b("Nav.signoutTitle"),key:"signout",onClick:()=>(0,m.signOut)({callbackUrl:"/"})}]},children:(0,o.jsx)(c.rU,{href:"/profile",children:(0,o.jsx)(g.default,{className:"!mx-3 cursor-pointer",children:null==H?void 0:null===(a=H.user)||void 0===a?void 0:null===(t=a.name)||void 0===t?void 0:t.slice(-1)})})}):(0,o.jsx)(x(),{className:"flex-1 whitespace-nowrap !text-[--text-button-color]",type:"link",ghost:!0,children:(0,o.jsx)(c.rU,{href:"/auth/signin",children:b("Nav.sigininTitle")})}),(0,o.jsx)(c.rU,{href:"/products/honghu",children:(0,o.jsx)(T.default,{type:"primary",className:"whitespace-nowrap",children:b("HomePage.freeTry")})})]})]})})]}),children:(0,o.jsxs)("div",{className:s()(Z,"absolute w-full pl-4 max-h-[3.75rem] flex justify-between z-[3000] items-center pt-2"),"data-test":"nav-mobile",children:[(0,o.jsx)(c.rU,{href:"/",children:(0,o.jsx)(h(),{className:"mr-10 inline",src:E.default,width:80,alt:"logo"})}),(0,o.jsxs)("div",{className:"flex items-center justify-end",children:[!R&&(0,o.jsx)(SwitchLangBtn,{onClick:()=>{w.push(v,{locale:"zh-CN"===N?"en-US":"zh-CN"})},value:"zh-CN"===N?2:1,label1:"ä¸",label2:"En",tooltip1:"䏿 / English",tooltip2:"English / 䏿"},"lang"),(0,o.jsx)(Spin,{rounded:!0,size:18,toggled:R,toggle:D})]}),(0,o.jsx)(p.default,{bodyStyle:{padding:0},closable:!1,placement:"top",open:R,afterOpenChange:e=>{e?document.documentElement.style.overflow="hidden":document.documentElement.style.overflow="auto"},onClose:()=>D(!1),children:(0,o.jsx)("div",{className:"pt-14",children:(0,o.jsx)(f.default,{className:"absolute",items:X,mode:"inline",defaultSelectedKeys:v.split("/"),openKeys:B,onOpenChange:e=>{P(e.slice(-1))}})})})]})})})}},96248:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return Layout}});var o=a(95377);a(84523);var i=a(76577),l=a(32721),s=a(86173),c=a(56256);function Layout(e){let{children:t}=e;return(0,o.jsx)(i.SessionProvider,{children:(0,o.jsx)(s.default,{theme:c.ZP.antd,avatar:{className:"!text-[--avatar-color] !bg-[--avatar-bg]"},children:(0,o.jsx)(l.default,{children:t})})})}},28670:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return StyledComponentsRegistry}});var o=a(95377),i=a(84523),l=a(51367),s=a(22378);function StyledComponentsRegistry(e){let{children:t}=e,a=(0,i.useMemo)(()=>(0,s.createCache)(),[]),c=(0,i.useRef)(!1);return(0,l.useServerInsertedHTML)(()=>
1{if(!c.current)return c.current=!0,(0,o.jsx)("style",{id:"antd",dangerouslySetInnerHTML:{__html:(0,s.extractStyle)(a,!0)}})}),(0,o.jsx)(s.StyleProvider,{hashPriority:"high",cache:a,children:t})}},25043:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return YHPButton}});var o=a(95377),i=a(43359),l=a.n(i),s=a(56256),c=a(2350),d=a.n(c),h=a(86173);function YHPButton(e){return(0,o.jsx)(h.default,{theme:{token:{colorTextBase:"white",colorPrimary:s.EN}},children:(0,o.jsx)(d(),{type:"primary",...e,className:l()("!bg-gradient-to-r !from-[--yhp-gradient-start] !to-[--yhp-gradient-stop]",e.className),children:e.children})})}},93566:function(e,t,a){"use strict";a.d(t,{jD:function(){return d},rU:function(){return s},tv:function(){return h}});var o=a(23114),i=a(98638);let l=(0,o.R)({locales:["en-US","zh-CN"],defaultLocale:"zh-CN",localePrefix:{mode:"always"}}),{Link:s,redirect:c,usePathname:d,useRouter:h}=(0,i.iV)(l)},56256:function(e,t,a){"use strict";a.d(t,{$h:function(){return s},EN:function(){return o},NS:function(){return i},jT:function(){return l},lU:function(){return c}});let o="#FF792C",i="#18b6cc7f",l="#8C62EE",s="#000",c="#fff";t.ZP={cssVars:{"theme-color":o,"text-primary":"rgba(0,0,0,.85)","text-secondary":"rgba(0,0,0,.65)","text-primary-reverse":c,"text-button-color":s,"divider-color":"#3433f819","split-border":"#D9D9D9","mdx-code-bg":"#f9f2f4","mdx-code-color":"#c7254e","text-description":"#5A5859","common-bg-color":"#fff","card-border":"#ACAED9","bg-secondary":"#F5F5F5","index-bg":"#FFFFFF","avatar-bg":"#FFC8BF","avatar-color":"#E71B1A","menu-highlight-bg-color":"#F5F5F5","text-disabled-placeholder":"rgba(0,0,0,0.25)","nav-border-color":"rgba(255,255,255,.5)","company-bg":"#EEF2FC","company-latest-event-bg":"#E6EEFF","yhp-index-bg-color":"#FFF1D5","yhp-font-color":o,"yhp-gradient-start":"#F55","yhp-gradient-stop":"#EF7734","honghu-index-bg-color":"#F1F1F2","honghu-font-color":"#18B6CC","datascale-font-color":l,"datascale-index-bg-color":"#F2F2F4","notice-gradient-start":"#F55","notice-gradient-stop":"#EF7734"},antd:{components:{Button:{paddingContentHorizontal:24,colorBgContainer:s},Menu:{fontSize:16}},token:{fontSize:14,borderRadius:4,colorPrimary:o,borderRadiusLG:2,borderRadiusSM:2}}}},38092:function(e,t,a){"use strict";a.r(t),a.d(t,{browserLogger:function(){return d}});var o=a(96745),i=a(53949),l=a(37234),s=a.n(l),c=a(85490);let d=s()({browser:{serialize:!0,transmit:{send(e,t){var a;let{bindings:l,level:s,messages:d,ts:h}=t,m=(0,i.Z)((0,o.Z)(d))?d.shift():null,A=Object.assign((a=Object.assign({ts:h},s),l.reduce((e,t)=>Object.assign(e,t),a)),{payload:m,msg:d.join(",")});c._.post("/api/yh-report",{method:"post",body:JSON.stringify(A)}).catch(console.error)}}}}).child({hash:"69f46ab4bd492adfcdde433ea3faddc00666ec55",nodejs:"undefined"==typeof document,pathname:"undefined"==typeof document?"":location.pathname})},42530:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return UnCaughtException}});var o=a(95377),i=a(38092),l=a(98695);let handleUncaughtException=e=>i.browserLogger.error(e.error,"window uncaught exception"),handleUnhandledRejection=e=>i.browserLogger.error({reason:e.reason,message:e.reason.message,stack:e.reason.stack},"window unhandled rejection");function UnCaughtException(){return(0,l.Z)(()=>(window.addEventListener("error",handleUncaughtException),window.addEventListener("unhandledrejection",handleUnhandledRejection),()=>{window.removeEventListener("error",handleUncaughtException),window.removeEventListener("unhandledrejection",handleUnhandledRejection)})),(0,o.jsx)(o.Fragment,{})}},85490:function(e,t,a){"use strict";a.d(t,{_:function(){return f},e:function(){return getTargetLocaleEntity}});var o=a(39634),i=a(15623),l=a(18986),s=a(18676),c=a(16310),d=a(36517),h=a(50629),m=a(53949),A=a(96876),g=a(28070);let request=e=>(t,a)=>{if(!t.startsWith("http")){let e=g.env.ORIGIN||g.env.NEXT_PUBLIC_ORIGIN||"";t="".concat(e).concat(t)}let i=new Headers(null==a?void 0:a.headers);return i.set("X-LOG-ID",(0,o.Z)()),fetch(t,{method:e,...a,headers:i}).then(e=>{if(e.status>=400)throw e.status;return e})},f={get:request("GET"),post:request("POST"),put:request("PUT"),delete:request("DELETE")},getKeyWithoutLocale=e=>(0,c.Z)(e,"En")?e.slice(0,-2):e,getEntityByLocale=(e,t)=>
1{let a=(0,d.Z)(t).filter(e=>(0,c.Z)(e,"En")).map(e=>e.slice(0,-2)),o="zh-CN"===e;return(0,s.Z)((0,l.Z)(t).filter(e=>{let[t]=e,i=getKeyWithoutLocale(t);return!a.includes(i)||(o?t===getKeyWithoutLocale(t):(0,c.Z)(t,"En"))}).map(e=>{let[t,a]=e;return[getKeyWithoutLocale(t),a]}))},getTargetLocaleEntity=(e,t)=>(0,i.Z)(e)?e.map(e=>getEntityByLocale(t,e)):(0,h.Z)(e)||(0,A.Z)(e)?null:(0,m.Z)(e)?getEntityByLocale(t,e):e},50295:function(e,t,a){"use strict";a.d(t,{K:function(){return useShouldHideNav}});var o=a(51367);function useShouldHideNav(e){let t=(0,o.useSelectedLayoutSegments)();return!!(t.includes("auth")||(null==e?void 0:e.find(e=>t.includes(e))))}},74928:function(){},99068:function(){},33132:function(e){e.exports={main:"DesktopFooter_main__jPkQM"}},33727:function(e){e.exports={main:"Footer_main__psSyu",fakeTitle:"Footer_fakeTitle__Nltr7"}},84929:function(e){e.exports={btn:"SwitchLangBtn_btn__4zjow",innerDiv:"SwitchLangBtn_innerDiv__OCz88",labelStyle:"SwitchLangBtn_labelStyle__QD3Yu",label1Style:"SwitchLangBtn_label1Style__5BQxg",label2Style:"SwitchLangBtn_label2Style__c4BAw"}},14807:function(e,t,a){"use strict";a.r(t),t.default={src:"/_next/static/media/YHP-logo.dca7dc70.png",height:77,width:160,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAKlBMVEUAAAAAAAAAAAAAAAAAAAAGBgDnEgf/4gD+2gDYFgwIAAD3uRP/sBj0LRKgcmwaAAAADnRSTlMFE1InHyomCQ5QPkIqpOy5u+0AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAmSURBVHicHcGFDQAgEASwkxd0/3VJaFFFBhm4M5ck4WymHUYPfA8KNQB/U9uDwwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:4}},75360:function(e,t){"use strict";t.Z={src:"/_next/static/media/[email protected]",height:396,width:396,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAKlBMVEXU1NTPzs+ur6/X2Njl5eXExca2t7jJycnBwcLo7e7d3t7D5/CmpqiOjpA4WvneAAAACXBIWXMAAAsTAAALEwEAmpwYAAAANklEQVR4nAXBiQHAIAzEMF/+AN1/3UpUsXvMKMvMfkVIEuk47FVDjO6lnQM9msCeM/OBGRHIfypMAR0crd1TAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}},58030:function(e,t,a){e.exports=a(79758)},65207:function(e,t,a){"use strict";a.d(t,{Z:function(){return esm_useUpdateEffect}});var o=a(84523),esm_useUpdateEffect=function(e,t){var a,i=(a=(0,o.useRef)(!0)).current?(a.current=!1,!0):a.current;(0,o.useEffect)(function(){if(!i)return e()},t)}},96745:function(e,t){"use strict";t.Z=function(e){return e&&e.length?e[0]:void 0}}},function(e){e.O(0,[2580,7089,8143,786,873,3431,7968,1970,4931,4801,8781,6577,6624,7081,1744],function(){return e(e.s=62954)}),_N_E=e.O()}]);
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.