PageSourceSearch

https://www.livescore.com/_next/static/chunks/149.0ae419d4fe38645c.js

js livescore.com collected 2026-10-09 23:03:56 UTC 5,952 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[149,93679],{22530:(e,n,t)=>{t.r(n),t.d(n,{VirtualList:()=>S});var r=t(50702),o=t(58691),i=t(55729),u=t(43072),s=t(93679),c=t(81278),a=t(93104),f=t(38948),l=t(8799),d=function(e){var n=(0,l.W9)("".concat(f.ok.scrollPosition,":").concat(e),!0);return null==n?void 0:n.y},v=function(e){(0,l.yt)("".concat(f.ok.scrollPosition,":").concat(e),{y:window.scrollY},!0)},w=function(e,n,t){(0,l.yt)("".concat(f.ok.virtualListScrollPosition,":").concat(e),{index:n,y:t},!0)},p=function(){window.history.scrollRestoration="auto"},b=function(){var e=(0,c.useRouter)(),n=(0,i.useMemo)(function(){return e.asPath.split("?")[0]},[e.asPath]);(0,i.useEffect)(function(){return window.addEventListener("beforeunload",p),function(){window.removeEventListener("beforeunload",p)}},[]),(0,i.useEffect)(function(){if("scrollRestoration"in window.history){window.history.scrollRestoration="auto";var t=function(e){v(n),delete e.returnValue},r=function(){v(n)};return window.addEventListener("beforeunload",t),e.events.on(f.U5.routeChangeStart,r),function(){window.removeEventListener("beforeunload",t),e.events.off(f.U5.routeChangeStart,r)}}},[n,e])},m=function(e){var n=(0,c.useRouter)().asPath;return b(),(0,i.useMemo)(function(){if(a.R.isIOS&&e)return{top:d(n)||100,bottom:400}},[n,e])},y=t(54606),x=t(45154),h=t(44925),P=t(27961),R=t.n(P),E=t(35192),g=t(83963),k=function(e){var n=e.isPrevent,t=e.ref,r=e.visibleIndexes,o=e.isListInView,u=e.loadMore,s=(0,c.useRouter)().asPath,a=(0,i.useRef)(!1),d=(0,i.useState)(!1),v=d[0],p=d[1],b=(0,g.nO)(function(e){var n;return{isHistoryPopStateEvent:!!(null!=(n=e.historyState)&&n.navigateType),isPageRefreshed:e.isPageRefreshed}}),m=b.isHistoryPopStateEvent,P=b.isPageRefreshed,k=(0,i.useMemo)(function(){return(0,l.W9)("".concat(f.ok.virtualListScrollPosition,":").concat(s),!0)},[s]),O=(0,i.useCallback)(function(){if(!n){var e=r.current;if(e.size>0){var t=(0,h.A)(e.entries()).sort(function(e,n){return e[0]-n[0]}),o=(0,x.A)(t[0],2);w(s,o[0],-o[1].getBoundingClientRect().y)}}},[s,n,r]);(0,E.E)(function(){n||o||a.current||(t.current&&t.current.scrollIntoView({index:0}),a.current=!0)},[n,o,t,P]);var j=(0,i.useRef)(O);j.current=O,(0,E.E)(function(){return function(){C.current||j.current()}},[]),(0,E.E)(function(){if(!(n||!o||!m&&!P||v)){var e=!1;if(t.current&&k&&k.y>0){var i=function(){var e,n={index:k.index,offset:k.y};null==(e=t.current)||e.scrollToIndex(n),setTimeout(function(){var e;return null==(e=t.current)?void 0:e.scrollToIndex(n)},100),p(!0)};u?(0,y.A)(R().mark(function n(){var t;return R().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(t=function(){var n=(0,y.A)(R().mark(function n(){var r;return R().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!e){n.next=2;break}return n.abrupt("return");case 2:return n.next=4,u();case 4:if(!((r=n.sent).length&&!r.includes(k.index))){n.next=8;break}return n.next=8,t();case 8:case"end":return n.stop()}},n)}));return function(){return n.apply(this,arguments)}}(),r.current.has(k.index)){n.next=4;break}return n.next=4,t();case 4:i();case 5:case"end":return n.stop()}},n)}))():i()}return function(){e=!0}}},[k,n,o,m,P,v,t,u,r]),(0,i.useEffect)(function(){var e=function(){return O()};return window.addEventListener("beforeunload",e),function(){window.removeEventListener("beforeunload",e)}},[O]);var C=(0,i.useRef)(!1);return(0,i.useEffect)(function(){var e=function(){C.current=!0};return window.addEventListener("popstate",e),function(){window.removeEventListener("popstate",e)}},[]),{isPositionRestored:v}},O=t(6029),j=["isRestorePosition","loadMore","itemsRendered"];function C(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function L(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?C(Object(t),!0).forEach(function(n){(0,r.A)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):C(Object(t)).forEac
1h(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var V=function(e){var n=e.index,t=e.item,r=e.render,o=e.indexesMap,s=e.onInView,c=(0,u.Wx)(),a=c.ref,f=c.inView,l=c.entry;return(0,i.useEffect)(function(){f&&l&&(o.set(n,l.target),setTimeout(function(){s(!0)},0)),f||o.delete(n)},[l,f,n,o,t,s]),(0,i.useEffect)(function(){return function(){o.delete(n)}},[n,o,t]),(0,O.jsx)("div",{"data-index":n,ref:a,children:null==r?void 0:r(n,t,void 0)})},S=function(e){var n,t=e.isRestorePosition,r=e.loadMore,u=e.itemsRendered,c=(0,o.A)(e,j),a=(0,i.useRef)(null),f=(0,i.useRef)(new Map),l=(0,i.useState)(!1),d=l[0],v=l[1],w=(0,i.useCallback)(function(e,n){return(0,O.jsx)(V,{index:e,item:n,render:c.itemContent,indexesMap:f.current,onInView:v})},[c.itemContent]),p=m(k({isPrevent:!(void 0===t||t)||!(null!=(n=c.items)&&n.length),ref:a,visibleIndexes:f,isListInView:d,loadMore:r}).isPositionRestored),b=(0,i.useCallback)(function(e){null==u||u(e,f.current)},[u]);return(0,O.jsx)(s.VirtualList,L(L({},c),{},{ref:a,itemContent:w,increaseViewportBy:p},u&&{itemsRendered:b}))}},93679:(e,n,t)=>{t.r(n),t.d(n,{VirtualList:()=>c});var r=t(55729),o=t(31873),i=t(60560),u=t(79572),s=t(6029),c=(0,r.forwardRef)(function(e,n){var t=e.items,c=e.increaseViewportBy,a=e.itemContent,f=e.className,l=e.itemsRendered,d=(0,r.useCallback)(function(){return(0,s.jsx)(s.Fragment,{children:null==t?void 0:t.map(function(e,n){return null==a?void 0:a(n,e,void 0)})})},[a,t]),v=(0,r.useCallback)(function(e,n){return null==a?void 0:a(e,n,void 0)},[a]);return null!=t&&t.length?(0,s.jsx)(u.t,{errorZone:i.x.root,FallbackComponent:d,children:(0,s.jsx)(o.aY,{ref:n,useWindowScroll:!0,data:t,increaseViewportBy:void 0===c?{top:100,bottom:400}:c,itemContent:v,className:f,itemsRendered:l})}):null});c.displayName="VirtualList"}}]);

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.