PageSourceSearch

https://www.sxcoal.com/_next/static/chunks/pages/site/data-tool-2e380d84ba63a68e.js

js sxcoal.com collected 2026-10-02 03:09:28 UTC 2,783 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[754],{89373:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/site/data-tool",function(){return c(82093)}])},82093:function(a,b,c){"use strict";c.r(b),c.d(b,{"__N_SSG":function(){return m}});var d=c(85893),e=c(67294),f=c(68269),g=c.n(f),h=c(97715),i=c(63839),j=c(69542),k=c(11163),l=function(a){var b,c=(0,k.useRouter)(),f=function(){var a=new URLSearchParams(window.location.search).get("type"),b=Number(a);return!isNaN(b)&&b>=0&&b<3?b:0};(0,e.useEffect)(function(){n(f())},[]),(0,e.useEffect)(function(){var a,b=null==c?void 0:null===(a=c.query)|| void 0===a?void 0:a.type;if(void 0!==b){var d=Number(b);!isNaN(d)&&d>=0&&d<3&&n(d)}},[null==c?void 0:null===(b=c.query)|| void 0===b?void 0:b.type]);var l=(0,e.useState)(),m=l[0],n=l[1],o=(0,e.useRef)(null),p=(0,e.useRef)(!1),q=(0,e.useCallback)(function(a){p.current||(p.current=!0,n(function(b){return"next"===a?Math.min(b+1,2):Math.max(b-1,0)}),setTimeout(function(){p.current=!1},800))},[]),r=(0,e.useCallback)(function(a){a.deltaY>0?q("next"):a.deltaY<0&&q("prev")},[q]),s=(0,e.useRef)(null),t=(0,e.useCallback)(function(a){s.current=a.touches[0].pageY},[]),u=(0,e.useCallback)(function(a){if(null!==s.current){var b=a.touches[0].pageY-s.current;30>Math.abs(b)||(b<0?q("next"):q("prev"),s.current=null)}},[q]);(0,e.useEffect)(function(){return window.addEventListener("wheel",r),window.addEventListener("touchstart",t),window.addEventListener("touchmove",u),function(){window.removeEventListener("wheel",r),window.removeEventListener("touchstart",t),window.removeEventListener("touchmove",u)}},[r,t,u]);var v=(0,e.useCallback)(function(){q("next")},[q]);return(0,d.jsxs)("div",{className:"".concat(g().transitionBox," ").concat(a.isM?g()["m-transitionBox"]:""),ref:o,children:[(0,d.jsx)("h1",{className:"sr-only",children:"煤炭市场数据分析工具"}),isNaN(m)?null:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(j.default,{show:0===m,style:{zIndex:0===m?1:0},nextPage:v,isM:a.isM}),(0,d.jsx)(i.default,{show:1===m,style:{zIndex:1===m?1:0},nextPage:v,isM:a.isM}),(0,d.jsx)(h.default,{show:2===m,style:{zIndex:2===m?1:0},nextPage:function(){n(0)},isM:a.isM})]})]})},m=!0;b.default=l,l.setHeaderStyles=function(a){return{size:"small",theme:a?"black":"white"}},l.setFooterStyles={display:"none"}},68269:function(a){a.exports={transitionBox:"data-tool_transitionBox__BsVsk",content:"data-tool_content__vPO68","page-enter":"data-tool_page-enter__kBEL8","page-enter-active":"data-tool_page-enter-active__XiQdg","page-exit":"data-tool_page-exit__Pukpt","page-exit-active":"data-tool_page-exit-active__47k4K","m-transitionBox":"data-tool_m-transitionBox___if6t"}}},function(a){a.O(0,[3839,7715,9542,9774,2888,179],function(){var b;return a(a.s=89373)}),_N_E=a.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.