PageSourceSearch

https://www.bigossp.com/static/js/1504.a2992fd5.chunk.js

js bigossp.com collected 2026-10-01 15:27:36 UTC 14,088 bytes, 2 lines download raw bytes

1"use strict";(this.webpackChunkbigossp_platform=this.webpackChunkbigossp_platform||[]).push([[1504],{58053:function(n,t,e){e.d(t,{Z:function(){return b},X:function(){return m}});var r=e(29439),o=e(92437),a=e(70680),i=e(22451),c=e(30102),u=e(14418),l=e(49484),s=e(13115);var f=function(n){var t=n.content,e=n.className,r="markdown-body".concat(e?" ".concat(e):"");return(0,s.jsx)(a.D,{className:r,children:t,remarkPlugins:[c.Z,i.Z],rehypePlugins:[l.Z,[u.Z,{ignoreMissing:!0}]]})},d=e(79489),v=e(26327),h=e(75972);function p(n){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,e=[],r={},o=0,a=n.length;o<a;o++){for(var i=n[o],c=i.level,u=c-1;u>=t&&!r[u];)u--;var l=r[u];l?(l.children=l.children||[],l.children.push(i)):e.push(i),r[c]=i}return e}var m=function(n){for(var t=[],e=1;e<=n;e++)t.push({level:e,selector:"h".concat(e),nodeName:"H".concat(e)});return t},g=m(3);var y=function(n,t){var e=null!==t&&void 0!==t?t:null===n||void 0===n?void 0:n.target;if(e){var r=e.src;if(r){var o=(0,v.z5)(r),a=o.antiBan,i=o.host,c=o.backupHosts;if(a){var u=null===c||void 0===c?void 0:c[0];if(u&&i!==u){var l=r.replace(i,u);e.setAttribute("src",l)}else(0,d.HA)("\u89c6\u9891\u52a0\u8f7d\u5931\u8d25: ".concat(r),{data:{antiBan:a,src:r}})}else(0,d.HA)(r,{data:{errormsg:"\u89c6\u9891\u52a0\u8f7d\u5931\u8d25\u4e14\u4e0d\u547d\u4e2d\u9632\u5c01\u7981"}})}}},w=function(n,t){var e=null!==t&&void 0!==t?t:null===n||void 0===n?void 0:n.target;if(e){var r=e.autoplay,o=e.muted,a=function(){var n=!1;return function(){n||(n=!0,e.muted=o)}}();r&&(e.muted=!0,e.play().then((function(){var n,t;null===(n=e.addEventListener)||void 0===n||n.call(e,"click",a),null===(t=e.addEventListener)||void 0===t||t.call(e,"fullscreenchange",a)})).catch((function(n){a()})))}};function b(n){var t=n.content,e=n.showAnchor,a=n.renderAnchor,i=n.onContentClick,c=n.levelConfig,u=void 0===c?g:c,l=(0,o.useState)([]),m=(0,r.Z)(l,2),b=m[0],k=m[1];(0,o.useEffect)((function(){var n=setTimeout((function(){if(e){var n=document.querySelector("#root .markdown-viewer-with-anchor");if(n){var t=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g,e=[];t.sort((function(n,t){return n.level-t.level}));var r=t.map((function(n){return n.selector})).join(","),o=n.querySelectorAll(r),a=new Map(t.map((function(n){return[n.nodeName,n.level]})));return o.forEach((function(n,t){var r=n.textContent||"",o=n.nodeName,i=n.id,c=a.get(o);if(!i){var u="markdown-viewer-anchor-".concat(c,"-").concat(t);n.setAttribute("id",u),i=u}"undefined"!==typeof c&&e.push({level:c,href:"#".concat(i),title:r})})),p(e)}(n,u);k(t)}}}));return function(){clearTimeout(n)}}),[e,t,u]);var x=(0,o.useRef)(function(n,t){if(!IntersectionObserver)return null;try{return new IntersectionObserver((function(e){e.forEach((function(e){e.intersectionRatio>0?null===n||void 0===n||n(e.target):null===t||void 0===t||t(e.target)}))}))}catch(e){}return null}((function(n){return w(null,n)}),(function(n){return n.pause()}))),j=(0,o.useRef)(null);return(0,o.useEffect)((function(){var n,t=Array.from((null===(n=j.current)||void 0===n?void 0:n.querySelectorAll("img"))||[]);if(t.length>0){t.find((function(n){return 0!==(null===n||void 0===n?void 0:n.src.indexOf("https://".concat(h.q)))}));t.forEach((function(n){var t=new Image;t.src=n.src,t.addEventListener("error",(function(t){return function(n,t){var e=t.src;if(e){var r=(0,v.z5)(e),o=r.antiBan,a=r.host,i=r.backupHosts;if(o){var c=null===i||void 0===i?void 0:i[0];if(c&&a!==c){var u=e.replace(a,c);t.setAttribute("src",u)}else(0,d.hM)("\u56fe\u7247\u52a0\u8f7d\u5931\u8d25: ".concat(e),{data:{antiBan:o,src:e}})}else(0,d.hM)(e,{data:{errormsg:"\u56fe\u7247\u52a0\u8f7d\u5931\u8d25\u4e14\u4e0d\u547d\u4e2d\u9632\u5c01\u7981"}})}}(0,n)}))}))}}),[t]),(0,o.useEffect)((function(){var n,t=x.current,e=Array.from((null===(n=j.current)||void 0===n?void 0:n.querySelectorAll("video"))||[]);if(e.length>0){e.find((function(n){return 0!==(null===n||void 0===n?void 0:n.src.indexOf("https://".concat(h.q)))}));e.forEach((function(n){var e,r;(null===(e=n.addEventListener)||void 0===e||e.call(n,"error",y),t)?t.observe(n):null===(r=n.addEventListener)||void 0===r||r.call(n,"loadedmetadata",w)}))}return function(){e.forEach((function(n){var e,r;(null===(e=n.removeEventListener)||void 0===e||e.call(n,"error",y),t)?t.unobserve(n):null===(r=n.removeEventListener)||void 0===r||r.call(n,"loadedmetadata",w)}))}}),[t]),(0,s.jsxs)("div",{className:"markdown-viewer-with-anchor",children:[(0,s.jsx)("div",{onClick:i,ref:j,className:"markdown-container",children:(0,s.jsx)(f,{content:t})}),e&&a&&a(b)]})}},10355:function(n,t,e){e.d(t,{Z:function(){return s}});e(76995);var r=e(18078),o=(e(92437),e(2060)),a=e(91399),i=e(44159),c=e.n(i);var u=e(13115);function l(n){var t=n.headerRender,e=n.footerRender,i=n.children,l=n.className,s=n.footerFix,f=["l-content-layout",l||""].join(" "),d=(0,a.TH)();return(0,u.jsx)("div",{className:f,children:s?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)("div",{className:"scroll-layout-wrapper",children:[t?"function"===typeof t?t(n):t:v(),(0,u.jsx)("div",{className:"content-layout",children:"function"===typeof i?i(n):i})]}),e?h():null]}):(0,u.jsxs)(u.Fragment,{children:[t?"function"===typeof t?t(n):t:v(),(0,u.jsx)("div",{className:"content-layout",children:"function"===typeof i?i(n):i}),e?h():null]})});function v(){var n=function(n,t){var e=[];return function n(t,r){for(var o=0;o<t.length;o++){if(t[o].children&&n(t[o].children,r))return e.push(c().omit(t[o],"children")),!0;if(t[o].path===r)return e.push(c().omit(t[o],"children")),!0}}(n,t),e.reverse()}((0,o.mw)(),d.pathname);return(0,u.jsx)("div",{className:"header-layout",children:(0,u.jsx)(r.Z,{children:n.map((function(n){return(0,u.jsx)(r.Z.Item,{href:n.path,children:n.title},n.path)}))})})}function h(){var t=n.footerRender,e=n.defaultFooterLayout,r="function"===typeof t?t(n):t;return e&&(r=(0,u.jsx)("div",{className:"default-content-footer",children:r})),(0,u.jsx)("div",{className:"content-footer",children:r})}}l.defaultProps={defaultFooterLayout:!0,footerFix:!0};var s=l},42631:function(n,t,e){e.d(t,{N:function(){return a}});var r=e(85045),o=e(16773);function a(n){return["dev","test"].includes(o.Cq)?"".concat(r.Ar).concat(n):"gray"===o.
1Cq?"".concat(r.s_).concat(n):"".concat(r.X$).concat(n)}},69780:function(n,t,e){e.d(t,{Z:function(){return E}});var r=e(74165),o=e(15861),a=(e(89629),e(30940)),i=e(29439),c=e(92437),u=(e(79338),e(95997)),l=e(58053),s=e(13115),f=u.Z.Link;function d(n){return Array.isArray?null===n||void 0===n?void 0:n.map((function(n){var t;return n?(0,s.jsx)(f,{href:n.href,title:n.title,children:(null===(t=n.children)||void 0===t?void 0:t.length)&&d(n.children)},n.href):null})):null}function v(n){return(0,s.jsx)("div",{className:"anchor-container",children:(0,s.jsx)(u.Z,{affix:!0,showInkInFixed:!0,getContainer:function(){return document.querySelector("#root > section > section > main")},offsetTop:30,onClick:function(n,t){n.preventDefault()},targetOffset:50,children:n&&d(n)})})}var h=function(n){var t=n.content,e=n.showAnchor,r=n.levelConfig,o="markdown-ant-anchor".concat(e?" show-anchor":"");return(0,s.jsx)("div",{className:o,children:(0,s.jsx)(l.Z,{content:t,showAnchor:e,levelConfig:r,renderAnchor:v,onContentClick:function(n){var t=n.target;if("A"===t.nodeName||(t=t.closest("a"))){n.preventDefault();var r=t.getAttribute("href");if("#"!==(null===r||void 0===r?void 0:r[0]))window.open(r);else{if(e){var o=document.querySelector('.markdown-viewer-with-anchor .anchor-container a[href="'.concat(decodeURIComponent(r),'"]'));if(o)return void o.click()}var a=document.querySelector(".ant-layout-content.main-content"),i=0,c=r.slice(1);if(c){var u=document.getElementById(decodeURIComponent(c));u&&(i=u.offsetTop,null===a||void 0===a||a.scrollTo({top:i,behavior:"smooth"}))}}}}})})},p=e(2060),m=e(1413),g=e(45987),y=e(25371),w=e(26327),b=e(31276),k=e(79489),x=e(9671),j=["url"],A=function(n){var t=n.url,e=(0,w.z5)(t),r=e.antiBan,o=e.host,a=e.backupHosts;return r?(a||[]).map((function(n){return{url:t.replace(o,n)}})):[]};function C(n){var t,e,r=n.url,o=(0,g.Z)(n,j),a=null!==(t=null===o||void 0===o||null===(e=o.method)||void 0===e?void 0:e.toUpperCase())&&void 0!==t?t:"GET",i=Date.now(),c="string"===typeof(null===o||void 0===o?void 0:o.body)?null===o||void 0===o?void 0:o.body:void 0;return fetch(r,o).then((function(n){var t;if((0,x.j)({logAction:y.S.RES,logContent:{url:r,method:a,status:null!==(t=n.status)&&void 0!==t?t:0,startTimestamp:i,endTimestamp:Date.now(),reqData:n.ok?void 0:c}}),!n.ok)throw new Error("Failed to fetch: http status: ".concat(n.status));var e=(0,w.z5)(r),o=e.antiBan,u=e.host,l=e.storageKey;return o&&l&&localStorage.setItem(l,u),n})).catch((function(n){throw(0,x.j)({logAction:y.S.RES,logContent:{url:r,method:a,status:0,startTimestamp:i,endTimestamp:Date.now(),reqData:c,message:null===n||void 0===n?void 0:n.message}}),n}))}var N=e(29425);var E=function(n){var t=n.showAnchor,e=n.levelConfig,u=n.fetchConfig,l=(0,c.useState)(n[p.pw]||"loading..."),f=(0,i.Z)(l,2),d=f[0],v=f[1];function g(n){(function(n,t){return(0,b.l)(C,{getMergeParams:A})((0,m.Z)({url:n},t)).catch((function(e){throw(0,k.pr)(e.message,{error:e,url:n,data:t}),e}))})(n).then((function(n){return n.text()})).then((function(n){v((0,w.jT)(n))})).catch((function(n){n&&a.ZP.error(n.message),v("Failed to fetch")}))}return(0,c.useEffect)((function(){"function"===typeof u&&function(){var n=(0,o.Z)((0,r.Z)().mark((function n(){var t,e;return(0,r.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,u();case 3:(t=n.sent)?(e=t[p.pw]||t.en||t.zh)?g(e=(0,N.If)(e)):v("empty url"):v("empty config"),n.next=11;break;case 7:n.prev=7,n.t0=n.catch(0),n.t0&&a.ZP.error(n.t0.message),v("Config load failed");case 11:case"end":return n.stop()}}),n,null,[[0,7]])})));return function(){return n.apply(this,arguments)}}()()}),[u]),(0,s.jsx)(h,{content:d,showAnchor:t,levelConfig:e})}},93445:function(n,t,e){e.d(t,{Es:function(){return u},OR:function(){return c},fS:function(){return a},vz:function(){return i},yb:function(){return l}});var r=e(37269),o=e.n(r);function a(n){if(!c(n))return n;var t=n.toString().split(".");return t[0]=t[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),t.join(".")}function i(n){var t=n.split(".");return t[0]=t[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),t.join(".")}function c(n){return"number"===typeof n&&!Number.isNaN(n)&&Number.isFinite(n)}function u(n){return void 0===n?n:+n&&+new(o())(n).div(100).decimalPlaces(2)||0}function l(n){return void 0===n?n:+n&&+new(o())(n).times(100).integerValue()||0}},29425:function(n,t,e){e.d(t,{DP:function(){return i},If:function(){return h},R8:function(){return s},VL:function(){return p},Vb:function(){return l},sY:function(){return m},vl:function(){return u}});var r=e(1413),o=e(47705),a=e(93445);function i(n,t,e){try{var r=new RegExp("(^|&)".concat(n,"=([^&]*)(&|$)")),o=window.location.search.substr(1).match(r);if(null!=o){var a=decodeURIComponent(o[2]);if(t)try{a=JSON.parse(a)}catch(i){return e||""}return a}return e||""}catch(c){return e||""}}function c(n){try{var t=function(n,t){Object.keys(t).forEach((function(e){var r=t[e]&&"object"===typeof t[e]?JSON.stringify(t[e]):t[e],o=!1;
1for(var a in n.params)if(e.toLowerCase()===a.toLowerCase()){n.params[a]=r,o=!0;break}o||(n.params[e]=r)}));var e="".concat(n.protocol,"://").concat(n.host,":").concat(n.port).concat(n.path,"?");Object.keys(n.params).forEach((function(t){void 0!==n.params[t]&&""!==n.params[t]&&(e+="".concat(t,"=").concat(n.params[t],"&"))})),"&"===e.substr(e.length-1)&&(e=e.substr(0,e.length-1));""!==n.hash&&(e+="#".concat(n.hash));return e}(function(n){var t=document.createElement("a");return t.href=n,{source:n,protocol:t.protocol.replace(":",""),host:t.hostname,port:t.port,query:t.search,params:function(){for(var n,e={},r=t.search.replace(/^\?/,"").split("&"),o=r.length,a=0;a<o;a++)r[a]&&(e[(n=r[a].split("="))[0]]=n[1]);return e}(),file:(t.pathname.match(/\/([^\/?#]+)$/i)||[,""])[1],hash:t.hash.replace("#",""),path:t.pathname.replace(/^([^\/])/,"/$1"),relative:(t.href.match(/tps?:\/\/[^\/]+(.+)/)||[,""])[1],segments:t.pathname.replace(/^\//,"").split("/")}}(window.location.href),n);window.history.replaceState(null,"",t)}catch(e){}}function u(n){return o.parse(n||window.location.search,{arrayFormat:"bracket"})}function l(n){var t=u(),e=(0,r.Z)((0,r.Z)({},t),n),a=o.stringify(e,{arrayFormat:"bracket"});""!==window.location.hash&&(a+=window.location.hash),window.history.replaceState(null,"","?".concat(a))}function s(n,t){var e=u(t);return n.reduce((function(n,t){var r=t.field,o=t.fallback;n[r]=o;var a=function(n,t){var e=t.isArray,r={isValid:!0,value:n};if(e&&!Array.isArray(n))return r.isValid=!1,r;if(e)return r.value=n.map((function(n){return f(n,t)})).filter((function(n){return n.isValid})).map((function(n){return n.value})),r;return f(n,t)}(null===e||void 0===e?void 0:e[r],t);return a.isValid&&(n[r]=a.value),n}),{})}function f(n,t){var e=t.type,r=t.enumList,o={isValid:!0,value:n};switch(e){case"string":o.isValid="string"===typeof n;break;case"number":var i=+n;o={isValid:(0,a.OR)(i),value:i};break;case"positiveInt":var c=+n;o={isValid:(0,a.OR)(c)&&Number.isSafeInteger(c)&&c>0,value:c}}return Array.isArray(r)&&(o={isValid:r.includes(o.value),value:o.value}),o}var d=Date.now();function v(n,t){return/^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(n)||0===n.indexOf("//")?t.href:"".concat(t.pathname).concat(t.search).concat(t.hash)}function h(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if("string"!==typeof n||!n)return n;try{var e=new URL(n,window.location.href);return e.searchParams.has("t")?n:(e.searchParams.set("t",String(t?d:Date.now())),v(n,e))}catch(r){return n}}function p(n){var t={};for(var e in n)if(Object.prototype.hasOwnProperty.call(n,e)&&void 0!==n[e])try{t[e]=encodeURIComponent(JSON.stringify(n[e]))}catch(r){}c(t)}function m(n){try{var t,e;return o.parse(n||(null===(t=window)||void 0===t||null===(e=t.location)||void 0===e?void 0:e.search),{arrayFormat:"bracket"})}catch(r){return{}}}}}]);
2//# sourceMappingURL=1504.a2992fd5.chunk.js.map

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.