PageSourceSearch

https://deepseek.com/_next/static/chunks/app/%5Blocale%5D/not-found-df22173c03b297ab.js

js deepseek.com collected 2026-09-24 07:05:17 UTC 4,712 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6082],{33464:function(n,e,t){Promise.resolve().then(t.bind(t,799))},799:function(n,e,t){"use strict";t.r(e);var r=t(92650),o=t(88557),a=t(22454);e.default=(0,o.memo)(function(){return(0,r.jsx)(a.h,{})})},22454:function(n,e,t){"use strict";t.d(e,{h:function(){return c}});var r=t(88557),o=t(94107),a=t(18599);let c=(0,r.memo)(function(){return(0,a.b)((0,o.Tf)()),null})},94107:function(n,e,t){"use strict";t.d(e,{B8:function(){return i},DS:function(){return m},Fg:function(){return u},Tf:function(){return h},YO:function(){return l},al:function(){return o},k1:function(){return r},l8:function(){return f},y1:function(){return c}});let r=["zh","en"],o="zh",a=n=>r.includes(n),c=function(n){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;return a(n)?n:e},i=n=>a(n)?{kind:"locale",locale:n}:"404"===n?{kind:"not-found",locale:o}:{kind:"invalid",locale:o},u="NEXT_LOCALE",l={zh:"zh-CN",en:"en-US"},f=n=>{let e=c(n);return e===o?"/404":"/".concat(e,"/404")},s=n=>"/en"===n||n.startsWith("/en/")?"en":"zh",h=()=>{if("undefined"!=typeof document){let n=document.cookie.match(new RegExp("(?:^|;\\s*)".concat(u,"=(zh|en)(?:;|$)")));if(n)return"en"===n[1]?"en":"zh"}return s(window.location.pathname)},p=n=>"/"===n||n.endsWith("/")||n.endsWith(".html")?n:"".concat(n,"/"),d=n=>{let e=n.replace(/\/$/,"")||"/",t=[...r].sort((n,e)=>e.length-n.length);for(let n of t){if(e==="/".concat(n))return"/";if(e.startsWith("/".concat(n,"/")))return e.slice(n.length+1)}return e},m=function(n,e){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",a=c(e),i=d(n),u=a===o?p(i):"/"===i?"/".concat(a,"/"):"/".concat(a).concat(p(i));return"".concat(u).concat(t).concat(r)};"(function () {\n  var path = location.pathname\n\n  function go(url) {\n    var from = path.replace(/\\/$/, '') || '/'\n    var to = url.replace(/\\/$/, '') || '/'\n    if (from === to) { return }\n    document.documentElement.style.visibility = 'hidden'\n    location.replace(url + location.search + location.hash)\n  }\n  function bare(p) {\n    var rest = p.replace(/\\/$/, '') || '/'\n    return rest === '/zh' ? '/' : rest.indexOf('/zh/') === 0 ? rest.slice(3) : rest\n  }\n  function slash(p) {\n    return p === '/' || p.slice(-5) === '.html' ? p : p + '/'\n  }\n  function is404Path(p) {\n    var rest = p.replace(/\\/$/, '') || '/'\n    return rest === '/404' || rest === '/en/404'\n  }\n  function preferEn() {\n    var cookie = document.cookie.match(/(?:^|;\\s*)".concat(u,"=(zh|en)(?:;|$)/)\n    var tag = String(navigator.language || (navigator.languages && navigator.languages[0]) || '')\n      .toLowerCase().replace(/_/g, '-')\n    return cookie ? cookie[1] === 'en' : !(/^zh\\b/.test(tag) && !/hant|tw|hk|mo/.test(tag))\n  }\n\n  if (path === '/zh' || path.indexOf('/zh/') === 0) {\n    document.cookie = '").concat(u,"=zh; path=/'\n  }\n  if (path === '/zh' || path === '/zh/') {\n    go('/')\n    return\n  }\n  \n  // oss fallback 到 index,index 需要再判断自己应该不应该 404\n\n  if (document.querySelector('meta[name=\"app-home\"]') && path !== '/' && !is404Path(path)) {\n    var en = path === '/en' || path.indexOf('/en/') === 0 || preferEn()\n    go(en ? '/en/404/' : '/404/')\n    return\n  }\n\n  if (path === '/en' || path.indexOf('/en/') === 0) { return }\n\n  if (path.indexOf('/zh/') === 0) {\n    go(slash(bare(path)))\n    return\n  }\n\n  if (!preferEn()) { return }\n\n  if (document.querySelector('meta[name=\"app-not-found\"]')) {\n    go('/en/404/')\n    return\n  }\n  var rest = path.replace(/\\/$/, '') || '/'\n  go(rest === '/' ? '/en/' : '/en' + slash(rest))\n})();")},18599:function(n,e,t){"use strict";t.d(e,{b:function(){return a}});var r=t(74577),o=t(94107);let a=n=>{let e=(0,o.l8)(n);window.location.pathname.replace(/\/$/,"")!==e&&(0,r.redirect)(e,r.RedirectType.replace)}},34261:function(n,e,t){"use strict";var r=t(88557),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function l(n,e,t){var r,a={},l=null,f=null;
1for(r in void 0!==t&&(l=""+t),void 0!==e.key&&(l=""+e.key),void 0!==e.ref&&(f=e.ref),e)c.call(e,r)&&!u.hasOwnProperty(r)&&(a[r]=e[r]);if(n&&n.defaultProps)for(r in e=n.defaultProps)void 0===a[r]&&(a[r]=e[r]);return{$$typeof:o,type:n,key:l,ref:f,props:a,_owner:i.current}}e.Fragment=a,e.jsx=l,e.jsxs=l},92650:function(n,e,t){"use strict";n.exports=t(34261)},74577:function(n,e,t){n.exports=t(18822)}},function(n){n.O(0,[5217,9164,1744],function(){return n(n.s=33464)}),_N_E=n.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.