1(()=>{(function(){try{var g=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},u=new g.Error().stack;u&&(g._sentryDebugIds=g._sentryDebugIds||{},g._sentryDebugIds[u]="62daf3cf-fff3-4cea-817e-5801b338539a",g._sentryDebugIdIdentifier="sentry-dbid-62daf3cf-fff3-4cea-817e-5801b338539a")}catch(s){}})();(self.webpackChunkdice_web=self.webpackChunkdice_web||[]).push([[6236],{52921:((g,u,s)=>{s.d(u,{s:()=>H});var o=s(22325),l=s(26888),h=s(26995),C=s(51234);const c=r=>r.view,A=r=>r.view.data,E=(r,p,S)=>{var y;return(y=r.view.data)===null||y===void 0?void 0:y[(0,C.ZF)(S,p)]},H={makeGetState:()=>(0,o.Mz)([c],r=>r),makeGetViewData:()=>(0,o.Mz)([A],r=>r),makeGetViewByTypeAndId:()=>(0,o.Mz)([E,l.T.getState],(r,p)=>(0,h.hm)(r,p)),makeGetPaginationInfo:()=>(0,o.Mz)([E],r=>(0,C.XE)(r==null?void 0:r.fetchedPageSizes)),getState:c,getViewData:A,getViewByTypeAndId:(r,p,S)=>(0,h.hm)(E(r,p,S),l.T.getState(r))}}),68428:((g,u,s)=>{s.d(u,{d:()=>re});var o=s(96540),l=s(71468),h=s(27237),C=s(52921),c=s(68407),A=s(975),E=s(48118),B=s(76213),K=s(71914),G=s(11860),x=s(46276),N=s(63196),H=s(59530),r=s(91613),p=s(57611),S=s(2275),y=s(22296
1),j=s(64056),V=s(39401),$=Object.defineProperty,b=Object.defineProperties,k=Object.getOwnPropertyDescriptors,X=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable,J=(t,e,n)=>e in t?$(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Z=(t,e)=>{for(var n in e||(e={}))_.call(e,n)&&J(t,n,e[n]);if(X)for(var n of X(e))q.call(e,n)&&J(t,n,e[n]);return t},ee=(t,e)=>b(t,k(e));const te=(t,e,n)=>{const{routes:a}=o.useContext(H.P),d=(0,l.d4)(U=>U.services.app.previousLocation),R=d==null?void 0:d.split("?")[0];return(0,j.Kz)(t,e,n,R,a)},se=()=>{const t=(0,l.d4)(d=>d.services.session.user.isGuest),e=(0,l.d4)(d=>d.userProfile.isSwitching),n=(0,N.ZC)(t),a=(0,N.ZC)(e);return(0,S.lP)(n,t)||(0,S.gj)(a,e)},Q=(t,e)=>t===c.qi.GRID&&!e||t===c.qi.SEARCH?t:e,ne=(t,e,n,a)=>{var d,R;const M=(0,p.W)(),U=(0,B.zy)(),W=(0,r.w)(),m=(0,K.DP)(),L=(d=U.state)==null?void 0:d.defaultSearchValue,[P,i]=(0,o.useState)(),F=(R=(0,V.Nm)(n,P))==null?void 0:R.attributes,T=(0,V.ax)(m.viewport,F),I=(0,V.o5)(m.viewport,T,F),v=o.useRef(void 0),w=o.useMemo(()=>{if(e===c.qi.GRID&&!(a!=null&&a.rpp)){if(v.current===void 0){const{dynamicRpp:D}=(0,V.ed)(m.viewport,I,T);v.current=D}return v.current}},[e,a==null?void 0:a.rpp,m.viewport,I,T]),f=o.useMemo(()=>w?ee(Z({},a),{rpp:w}):a,[a,w]);let O=(0,j.c1)(e,L);if(O&&f){const D={};f.seasonId!==void 0&&(D.seasonId=f.seasonId),f.rpp!==void 0&&(D.rpp=String(f.rpp)),O=(0,x.uR)(O,D)}const z=te(e,n,L),Y=se();return o.useEffect(()=>{z||W(G.B.fetch(Z({type:e,id:Q(e,t),urlOverride:O,timezone:y.OG},f&&{extraParams:f}))),L&&(0,j.eJ)(M)},[e,t,z,O]),o.useEffect(()=>{Y&&W(G.B.fetch(Z({type:e,id:Q(e,t),urlOverride:O,timezone:y.OG},f&&{extraParams:f})))},[Y]),o.useEffect(()=>{const D=P&&P!==n,ie=!P&&(n==null?void 0:n.isFetching);(D||ie||z)&&i(n)},[P,n,z,O]),{cachedPage:P,itemsPerRow:I,sizeType:T}},oe=(t,e)=>{if(t===e)return!0;if(!t||!e)return!1;const n=new Set([...Object.keys(t),...Object.keys(e)]);n.delete("isFetchingNext");for(const a of n)if(t[a]!==e[a])return!1;return!0},re=({type:t,id:e,onReady:n,extraParams:a})=>{const d=o.useMemo(()=>C.s.makeGetViewByTypeAndId(),[]),R=o.useMemo(()=>h.Xw.makeGetState(),[]),M=t===c.qi.GRID?e:+e,W=[c.qi.SEASON,c.qi.SERIES,c.qi.VOD,c.qi.PLAYLIST].includes(t)&&!M,m=(0,l.d4)(v=>d(v,M,t),oe),L=(0,l.d4)(v=>{var w;return(w=d(v,M,t))==null?void 0:w.isFetchingNext}),P=(0,l.d4)(v=>R(v)),{cachedPage:i,itemsPerRow:F,sizeType:T}=ne(e,t,m,a),I=!i||(i==null?void 0:i.isFetching);return o.useEffect(()=>{!I&&m&&n&&n(m)},[I,n]),o.createElement(A.IQ,{type:t,view:i,fallbackCards:i==null?void 0:i.fallbackCards,localWatchHistory:P,id:e,isFetching:i==null?void 0:i.isFetching,isFetchingNext:L,isUpdating:i==null?void 0:i.isUpdating,isFormError:i==null?void 0:i.isFormError,isFormSuccess:i==null?void 0:i.isFormSuccess,error:(i==null?void 0:i.error)||W,isLoading:I,itemsPerRow:F,sizeType:T},o.createElement(E.AC,{type:t,id:e}))}}),93977:((g,u,s)=>{s.r(u),s.d(u,{default:()=>E});var o=s(96540),l=s(76213),h=s(68407),C=s(22296),c=s(68428);const E=()=>{const B=(0,l.zy)(),G=new URLSearchParams(B.search).get(C.D_);return o.createElement(c.d,{type:h.qi.GRID,id:G||h.qi.GRID})}})}]);})(); 2 3//# sourceMappingURL=composed-grid-page.f11c3247d934416a79da.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.