PageSourceSearch

https://polsatboxgo.pl/_next/static/chunks/4426-60474ce6b33d5a0b.js

js polsatboxgo.pl collected 2026-10-02 03:37:35 UTC 10,528 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4426],{95676:function(t,e,r){r.d(e,{t:function(){return a}});var n=r(59713),i=r(44474),l=r(64673);let a=t=>{let e=(0,l.ZP)(n.Y.NAVIGATION,n.U.FETCH_EVENT_CHANNEL_WITH_FLAT_NAVIGATION,t),{data:r,error:a,isFetching:s}=(0,i.Al)(e,{appendAuthData:!0});return{data:(null==r?void 0:r.count)>0?r.treeNavigation.filters:[],error:a,isFetching:s}}},37254:function(t,e,r){var n=r(59713),i=r(44474),l=r(65921),a=r(64673),s=r(67294);let u=n.Y.NAVIGATION,o=n.U.FETCH_CATEGORY_CONTENT;e.Z=t=>{let e=(0,a.ZP)(u,o,t),{data:r,error:n,isFetching:c}=(0,i.Al)(e,{queryOptions:{staleTime:1/0}});return{data:(0,s.useMemo)(()=>new l.Z(r),[r]),error:n,isFetching:c}}},68823:function(t,e,r){var n=r(59713),i=r(64673),l=r(4195),a=r(44474),s=r(67294);let u=n.Y.NAVIGATION,o=n.U.FETCH_CHANNEL_LIST_CURRENT_PROGRAM;e.Z=function(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r=(0,i.ZP)(u,o,t),{data:n,error:c,isFetching:f}=(0,a.Al)(r,{queryOptions:{staleTime:e?1/0:0}});return{data:(0,s.useMemo)(()=>new l.E(n),[n]),error:c,isFetching:f}}},76856:function(t,e,r){r.d(e,{Q:function(){return o}});var n=r(85893);r(67294);var i=r(68200),l=r(1705),a=r(64708),s=r(58249),u=r(7824);let o=t=>{let{live:e,responsive:r,gutter:o=u.G.NONE}=t,c=(t,e)=>(0,n.jsxs)(n.Fragment,{children:[(0,i.Z)("date.".concat(t)),e&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.ND,{children:(0,n.jsx)(l.oT,{})}),(0,n.jsx)(a.Az,{children:e})]})]}),f=r?s.D5.COLLECTION_TITLE:s.me.SUBTITLE;return(0,n.jsx)(s.zr,{mode:f,gutter:o,responsive:r,children:(t=>{let{date:e,isToday:r,isTomorrow:i,prefixDate:l}=t;return r?c("today"):i?c("tomorrow"):r&&i?(0,n.jsx)(a.Az,{children:e}):c(l,e)})(e)})}},64708:function(t,e,r){r.d(e,{Az:function(){return l},ND:function(){return i}});var n=r(50661);let i=n.ZP.div.withConfig({componentId:"sc-75bf8eca-0"})(["display:inline-block;"]),l=n.ZP.div.withConfig({componentId:"sc-75bf8eca-1"})(["color:",";display:inline-block;"],t=>{let{theme:e}=t;return e.text.color.secondary});n.ZP.div.withConfig({componentId:"sc-75bf8eca-2"})(["position:absolute;top:0;left:0;display:flex;width:100%;height:100%;align-items:center;justify-content:center;flex-direction:column;padding:2rem;border-radius:2rem;overflow:hidden;"])},28044:function(t,e,r){r.d(e,{I:function(){return A}});var n=r(67294),i=r(44474),l=r(59713),a=r(97179);class s{getOffset(){return this.offset}getCount(){return this.count}getLimit(){return this.limit}getTotal(){return this.total}getResults(){return this.results}constructor(t){this.offset=0,this.count=0,this.limit=0,this.total=0,this.results=[],t&&(Object.keys(t).forEach(e=>{this[e]=t[e]}),this.results=[],t.results.forEach(t=>{this.results.push(new a.E(t))}))}}var u=r(64673);let o=t=>{let e=(0,u.ZP)(l.Y.NAVIGATION,l.U.FETCH_EVENT_LIST,t),{data:r,error:n,isFetching:a}=(0,i.Al)(e,{appendAuthData:!0});return{data:new s(r),error:n,isFetching:a}};var c=r(20567),f=r(14932),d=r(55265),h=r(80915),g=r(37535),p=r(33702),m=r(22980);let{liveCatalog:v}={channelCatalog:"under",favoritesCatalog:"under",liveCatalog:"under",searchResultCatalog:"under",seasonsList:"under",subCategoryCatalog:"inside"},y=t=>{let e=t[0];return e?{date:(0,h.Z)(new Date(e.getPublicationDate()),"dd.MM",{}),fullDate:e.getPublicationDate(),prefixDate:e.getPublicationDatewithDays(),isToday:(0,g.Z)((0,m.Z)(e.getPublicationDate())),isTomorrow:(0,p.Z)((0,m.Z)(e.getPublicationDate())),lives:t}:null},T=t=>(0,f._)((0,c._)({},t),{lives:t.lives.map(t=>{let e=new d.h(t);return e.setVisibilityProgressBar(!1),e.setDataPosition(v),e.setShowMetadata(!0),e.setShowDetailedMetadata(!0),e})}),A=t=>{let{data:e,isFetching:r}=o(t);return{livesCollection:(0,n.useMemo)(()=>{if(r)return null;let t=y((null==e?void 0:e.getResults())||[]);return t&&T(t)||null},[r]),isFetching:r}}},31425:function(t,e,r){r.d(e,{G:function(){return n}}),r(85893);let n=(0,r(67294).createContext)({grid:{activeIndex:0,rowIndex:0,colIndex:0,filters:[],focusMap:{init:[]}},setGrid:()=>null,clearContext:()=>null})},19724:function(t,e,r){r.d(e,{Z:function(){return i}});let n=(t,e,r)=>{let n=[];t.forEach(t=>{-1!=e.indexOf(r?t.slug||"":t.value)&&n.push(t)});let i=[];
1return n.forEach(t=>{let e=!1;if(i.forEach(r=>{t.type==r.type&&(e=!0)}),e)i.forEach(e=>{t.type==e.type&&Array.isArray(e.value)&&e.value.push(t.value)});else{let e={type:t.type,value:[t.value]};i.push(e)}}),i},i=(t,e,r)=>Array.isArray(t)?n(t.map(t=>t.filters).reduce((t,e)=>t.concat(e),[]),e,r):[]},77929:function(t,e,r){r.d(e,{D:function(){return n}});let n=t=>t?t.reduce((t,e)=>t+e.value.length,0):0},35622:function(t,e,r){r.d(e,{S:function(){return i}});var n=r(71801);let i=t=>{let{progress:e,startTime:r,endTime:i}=t;return e>=0?e:r&&i?Math.round((0,n.Z)(new Date,new Date(r))/(0,n.Z)(new Date(i),new Date(r))*100):0}},58336:function(t,e,r){r.d(e,{Fj:function(){return u},WS:function(){return s},rh:function(){return o}});var n=r(20567),i=r(14932),l=r(63811),a=r.n(l);let s=(t,e)=>{let r=e.find(e=>e.slug===t);return(null==r?void 0:r.value)||t},u=t=>Array.isArray(t)?null==t?void 0:t.flatMap(t=>t.filters.map(t=>(0,i._)((0,n._)({},t),{slug:a()(t.value)}))):[],o=t=>{let e=(t,e)=>"age_group"===t.type&&"age_group"===e.type?Number(t.value)-Number(e.value):0;return t?t.map(t=>(0,i._)((0,n._)({},t),{filters:t.filters.sort(e).map(t=>(0,i._)((0,n._)({},t),{slug:a()(t.value)}))})):[]}},724:function(t,e,r){r.d(e,{Y:function(){return l}});var n=r(55265),i=r(78155);let l=(t,e,r,l)=>{let a;let{col:s,postersCol:u}={col:4,postersCol:7},o=[];if(t.getCategoryList().length){let a=t.getCategoryList().map(t=>{let a=new n.h(t);return e&&a.setDataPosition(e),l&&a.setTitleType(i._8.FULL),a.updateFromFollowMeContent("".concat(t.getId()),r),a});o.push(a)}if(t.getMediaList().length){let l=t.getImageDisplayMode(),s=t.getMediaList().map(t=>{let s=t.getIsMovie();s&&(t.imageDisplayMode=l,a=u);let o=new n.h(t);return s?o.setDataPosition(i.Sn.UNDER):e&&o.setDataPosition(e),o.updateFromFollowMeContent(t.getId(),r),o});o.push(s)}return{newCollection:o.flat(),columns:a||s}}},64198:function(t,e,r){r.d(e,{Y:function(){return l}});var n=r(20567),i=r(14932);let l=t=>{let{withPagination:e=!1,params:r,page:l,shouldIncreaseLimit:a,lastFetchCount:s,isInitialFetch:u=!1}=t;if(0===s)return r;let{increaseBy:o,initialLimit:c}={initialLimit:40,increaseBy:20},f=a?100:o,{offset:d,limit:h}=r,g=0,p=0;return e&&(l&&1!==l?(p=f,g=(l-2)*f+c):(p=c,g=0)),e||u?(p=c,g=0):(p=f,g=d+h),(0,i._)((0,n._)({},r),{limit:p,offset:g})}},76449:function(t,e,r){r.d(e,{r:function(){return l}});var n=r(92863),i=r(22698);let l=(t,e,r)=>{let l=r||(n.sk?"":window.location.href),a="".concat(t,"=").concat(e);if(t===i.g.FILTERS){let t=l.indexOf(i.g.FILTERS),r=l.indexOf(i.g.TOTAL),n=t>-1?t:r;if(n>-1)return e?l.slice(0,n).concat(a):l.slice(0,n-1)}if(l.includes(t)){let r=l.slice(l.indexOf("?")+1).split("&").map(r=>{let[n]=r.split("=");return n===t?void 0!==e?a:"":r}).filter(Boolean);return l.slice(0,l.indexOf("?")+1)+r.join("&")}return l.includes("?")?"".concat(l,"&").concat(a):"".concat(l,"?").concat(a)}},53881:function(t,e,r){r.d(e,{v:function(){return l}});var n=r(55265),i=r(62501);let l=t=>{let{data:e}=t,{initialLimit:r}={initialLimit:40,increaseBy:20},{query:l}=(0,i.tv)(),a=+(l.page||1)-1;return null==e?void 0:e.map(t=>new n.h(t)).slice(a*r,a*r+r)}},55968:function(t,e,r){r.d(e,{C:function(){return m}});var n=r(20567),i=r(14932),l=r(67294),a=r(31425),s=r(64198),u=r(19724),o=r(62501),c=r(22698),f=r(44593),d=r(58336);let h=t=>{let{query:e}=(0,o.tv)(),[r,n]=(0,f.W)({param:c.g.PAGE,mode:"number",replaceHistory:!(null==e?void 0:e.page)}),[i,l]=(0,f.W)({param:c.g.TOTAL,mode:"number",replaceHistory:!0}),[a]=(0,f.W)({param:c.g.FILTERS,mode:"stringArray"});return{total:i||void 0,setTotal:l,page:r||void 0,setPage:n,filtersUrl:null==a?void 0:a.map(e=>(0,d.WS)(e,t))}};var g=r(77929);let{initialLimit:p}={initialLimit:40,increaseBy:20},m=t=>{let{filterLists:e=[],resetParams:r,withPagination:o=!1}=t,{grid:c,setGrid:f}=(0,l.useContext)(a.G),{filters:m}=c,{total:v,page:y,filtersUrl:T}=h((0,d.Fj)(e)),A=(0,d.rh)(e),E=(0,l.useMemo)(()=>(0,u.Z)(A,T||[]),[e,T]),C=(0,l.useMemo)(()=>[...m,...E],[m,E]),L=(0,l.useMemo)(()=>(0,s.Y)({withPagination:o,params:{offset:0,limit:p,filters:C},page:y,isInitialFetch:!0}),[o,C,y]),[w,_]=(0,l.useState)(()=>L),[I,N]=(0,l.useState)(!1),b=(0,l.useMemo)(()=>(0,g.D)(C),[C]);return(0,l.useEffect)(()=>{void 0!==y&&void 0!==v&&_(L)},[y]),(0,l.useEffect)(()=>{N(!0),_((0,i._)((0,n._)({},L),{filters:C}))},[b]),(0,l.useEffect)(()=>{N(!0),_(L)},[r]),{params:w,setParams:_,clearGrid:I,setClearGrid:N,clearGridFilters:(0,l.useCallback)(()=>{f(t=>(0,i._)((0,n._)({},t),{filters:[]}))},[])}}},44593:function(t,e,r){r.d(e,{W:function(){return u}});var n=r(67294),i=r(62501),l=r(76449);let a=t=>{if(void 0!==t)return"boolean"==typeof t?t?"true":"false":(Array.isArray(t)?t:[t]).map(t=>"".concat(t)).join(",")},s=(t,e)=>{if(void 0!==t)switch(e){case"boolean":return"true"===t;case"number":return Number.parseInt(t);case"string":return t;case"stringArray":return(null!=t?t:"").split(",");case"numberArray":return(null!=t?t:"").split(",").map(t=>Number.parseInt(t))}},u=t=>{let{param:e,mode:r,replaceHistory:u=!1,scrollToTop:o=!0}=t,{query:c,asPath:f}=(0,i.tv)(),d=(0,n.useMemo)(()=>s(null==c?void 0:c[e],r),[f,e,r]),h=(0,n.useMemo)(()=>(0,l.r)(e,d),[e,d]);return[d,t=>{let r=a(t(d)),n=(0,l.r)(e,r);if(u)return i.F0.replaceRoute(n,{scroll:o});i.F0.pushRoute(n,{scroll:o})},h,t=>{let r=a(t(d));return(0,l.r)(e,r)}]}},65921:function(t,e,r){var n=r(91856),i=r(44985),l=r(14852),a=r(9409);class s{getCount(){return this.count}getLimit(){return this.limit}getOffset(){return this.offset}getMediaList(){return this.mediaList}getCategoryList(){return this.categoryList}getTotal(){return this.total}getImageDisplayMode(){return this.getMediaList().filter(t=>t.getPosters().length).length?a.z.POSTERS:a.z.THUMBNAILS}constructor(t){this.count=0,this.limit=0,this.offset=0,this.mediaList=[],this.categoryList=[],this.total=0,t&&(Object.keys(t).forEach(e
1=>{this[e]=t[e]}),this.mediaList=[],this.categoryList=[],t.results.forEach(t=>{t.cpid===l.pP.CATEGORY_OR_PACK?this.categoryList.push(new n.N(t)):this.mediaList.push(new i.P(t))}))}}e.Z=s},4195:function(t,e,r){r.d(e,{E:function(){return i}});var n=r(48034);class i{getResults(){return this.results}constructor(t){this.results={},t&&(this.results={},Object.entries(t).forEach(t=>{let[e,r]=t,i=r.sort((t,e)=>new Date(t.startTime).getTime()-new Date(e.startTime).getTime());return this.results[e]=i.map((t,e)=>new n.b(t,r[e+1]))}))}}}}]);

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.