1(()=>{(function(){try{var p=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},P=new p.Error().stack;P&&(p._sentryDebugIds=p._sentryDebugIds||{},p._sentryDebugIds[P]="206a92f0-5008-4dd2-9b95-548d31528b97",p._sentryDebugIdIdentifier="sentry-dbid-206a92f0-5008-4dd2-9b95-548d31528b97")}catch(e){}})();(self.webpackChunkdice_web=self.webpackChunkdice_web||[]).push([[38727,52191],{18573:((p,P,e)=>{e.d(P,{aZ:()=>u,c9:()=>m,lm:()=>l});var t=e(35667);const u={success:t.Fc.CHECK_CIRCLE,error:t.Fc.ERROR,info:t.Fc.INFO};var l=(c=>(c.SUCCESS="success",c.ERROR="error",c.INFO="info",c))(l||{}),m=(c=>(c.SHORT="SHORT",c.LONG="LONG",c.EXTENDED="EXTENDED",c))(m||{})}),20450:((p,P,e)=>{e.d(P,{A:()=>V});var t=e(96540),u=e(35667),l=e(58562),m=e(79040),c=e(52068),o=e(89064),f=e(53640),I=e(18573),D=e(97615);const d=300,M={[I.c9.SHORT]:1500,[I.c9.LONG]:3e3,[I.c9.EXTENDED]:3e4},C={success:t.createElement(c.A,{fill:"green",width:15,height:15}),error:t.createElement(o.A,{fill:"red",width:15,height:15}),info:t.createElement(f.A,{fill:"white",width:15,height:15})},h=t.memo(({message:A,duration:R=I.c9.SHORT,onDismiss:O,dismissable:w=!0,type:B})=>{const[W,U]=(0,t.useState)(!0),s=(0,l.b0)(["toastClose"]),a=(0,t.useCallback)(()=>{U(!1),O==null||O()},[]);(0,t.useEffect)(()=>{const _=setTimeout(a,M[R]+d);return()=>clearTimeout(_)},[R]);const v=(0,t.useCallback)(()=>C[B],[B]);return W?t.createElement("div",{className:"toast-item"},B?t.createElement("span",{className:"toast-item__icon","aria-hidden":!0},t.createElement(m.Hv,null,({isActive:_})=>t.createElement(m.Q6,{name:I.aZ[B],state:_?u.nJ.HOVER:u.nJ.NORMAL,height:15,width:15,fallbackIcon:v}))):null,A,w?t.createElement(D.QM,{className:"toast-item__close",onClick:a,ariaLabel:s.toastClose.value},t.createElement(o.A,{fill:"white",width:10,height:10})):null):null}),E=null;var T=Object.defineProperty,r=Object.defineProperties,n=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,g=(A,R,O)=>R in A?T(A,R,{enumerable:!0,configurable:!0,writable:!0,value:O}):A[R]=O,N=(A,R)=>{for(var O in R||(R={}))y.call(R,O)&&g(A,O,R[O]);if(i)for(var O of i(R))L.call(R,O)&&g(A,O,R[O]);return A},b=(A,R)=>r(A,n(R));const G=()=>{const[A,R]=(0,t.useState)([]),O=(0,t.useCallback)(W=>{const U=Date.now().toString();R(s=>[...s,N({id:U},W)])},[]),w=(0,t.useCallback)(W=>()=>{R(U=>U.filter(s=>s.id!==W))},[]),B=(0,t.useMemo)(()=>{const W=U=>U.map(s=>t.createElement(h,b(N({},s),{key:s.id,onDismiss:w(s.id)})));return t.createElement("div",{className:"toast__container",key:"toast-container"},t.createElement("div",{className:"toast__region",role:"status"},W(A.filter(({type:U})=>U!==I.lm.ERROR))),t.createElement("div",{className:"toast__region",role:"alert"},W(A.filter(({type:U})=>U===I.lm.ERROR))))},[A,w]);return{showToast:O,ToastContainer:B}},V=e.j==33524?G:null}),25278:((p,P,e)=>{e.d(P,{LX:()=>l,qS:()=>c});var t=e(68407),u=e(21904),l;(function(o){o.MANAGE="MANAGE",o.UPGRADE="UPGRADE",o.DOWNGRADE="DOWNGRADE"})(l||(l={}));const m=o=>o.type===SubEventDetailsType.PARTICIPANTS,c=(o,f=l.MANAGE)=>{if(o&&u.QN[o]){const D=u.QN[o];switch(f){case l.UPGRADE:return{label:"upgradeSubscriptionStore",data:{store:D}};case l.DOWNGRADE:return{label:"downgradeSubscriptionStore",data:{store:D}};default:return{label:"manageSubscriptionStore",data:{store:D}}}}switch(f){case l.UPGRADE:return{label:"upgradeSubscriptionWeb"};case l.DOWNGRADE:return{label:"downgradeSubscriptionWeb"};default:return{label:"manageSubscriptionWeb"}}}}),37412:((p,P,e)=>{e.d(P,{A:()=>c});var t=e(96540);const u=o=>o==="keyboard",l=o=>o==="mouse",m=o=>o==="touch";function c(){const[o,f]=(0,t.useState)(),I=(0,t.useRef)();(0,t.useEffect)(()=>{const d=E=>{I.current=E,f(E)},M=()=>d("keyboard"),C=()=>d("mouse"),h=()=>d("touch");return window.addEventListener("keydown",M,!0),window.addEventListener("mousedown",C,!0),window.addEventListener("touchstart",h,!0),()=>{window.removeEventListener("keydown",M,!0),window.removeEventListener("mousedown",C,!0),window.removeEventListener("touchstart",h,!0)}},[]);const D=(0,t.useCallback)(()=>({isImmediateInteractionKeyboard:u(I.current),isImmediateInteractionMouse:l(I.current),isImmediateInteractionTouch:m(I.current)}),[]);return(0,t.useMemo)(()=>({committedInteractionType:o,isCommittedInteractionKeyboard:u(o),isCommittedInteractionMouse:l(o),isCommittedInteractionTouch:m(o),readImmediateInteractionType:D}),[o,D])}}),38057:((p,P,e)=>{e.d(P,{A:()=>m});var t=e(96540),u=e(2275);const m=({allowEventPropagation:c,backgroundImage:o,hide:f,isRtL:I,className:D,forceRootInvisible:d=!0,children:M})=>{const C=t.useRef(null);t.useEffect(()=>((0,u.OT)("body",d),C.current.focus(),()=>(0,u.HK)("body",!0)),[d]);const h=T=>{c&&T.stopPropagation()},E=T=>{c&&T.stopPropagation()};return t.createElement("div",{className:(0,u.AH)("full-screen-overlay",f&&"hide",I&&"full-screen-overlay--right-left",o&&"has-background",D&&D),onTouchStart:h,onClick:E,ref:C},o?t.createElement("img",{className:"full-screen-overlay--bg",src:o,alt:""}):null,t.createElement("div",{className:"full-screen-overlay--content"},M))}}),43444:((p,P,e)=>{e.d(P,{g:()=>l});var t=e(96540);const u="data-focusable";function l(){const m=(0,t.useRef)(null);return(0,t.useEffect)(()=>{const o=f=>{m.current=f.target instanceof HTMLElement?f.target:null};return document.addEventListener("focus",o,{capture:!0}),()=>document.removeEventListener("focus",o,{capture:!0})},[]),{restoreFocus:(0,t.useCallback)(()=>{var o;!m.current||m.current===document.activeElement||(o=document.querySelector(`[${u}]`))==null||o.focus({preventScroll:!0})},[])}}}),48472:((p,P,e)=>{e.d(P,{A:()=>T});var t=e(96540),u=e(86364),l=e(89979),m=e(49912),c=e(15234),o=Object.defineProperty,f=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,d=(r,n,i)=>n in r?o(r,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[n]=i,M=(r,n)=>{for(var i in n||(n={}))I.call(n,i)&&d(r,i,n[i]);if(f)for(var i of f(n))D.call(n,i)&&d(r,i,n[i]);return r};const C=r=>t.createElement(m.Fp,M({},r)),h=({services:{navbar:{isOpen:r,isMobile:n,showAppSidebar:i},search:{isSearchActive:y},session:{user:{isGuest:L}}},menu:{menus:g}})=>({isOpen:r,isMobile:n,menus:g!=null?g:[],isSearchActive:y,isGuest:L,showAppSidebar:i}),E=r=>({open:()=>{const n={type:c.s0};r(n)},close:()=>
1{const n={type:c.Gy};r(n)},toggleMenu:()=>{const n={type:c.o8};r(n)},setMobile:n=>{const i=(0,l.R)(n);r(i)}}),T=(0,u.Ng)(h,E)(C)}),52921:((p,P,e)=>{e.d(P,{s:()=>h});var t=e(22325),u=e(26888),l=e(26995),m=e(51234);const c=E=>E.view,o=E=>E.view.data,f=(E,T,r)=>{var n;return(n=E.view.data)===null||n===void 0?void 0:n[(0,m.ZF)(r,T)]},h={makeGetState:()=>(0,t.Mz)([c],E=>E),makeGetViewData:()=>(0,t.Mz)([o],E=>E),makeGetViewByTypeAndId:()=>(0,t.Mz)([f,u.T.getState],(E,T)=>(0,l.hm)(E,T)),makeGetPaginationInfo:()=>(0,t.Mz)([f],E=>(0,m.XE)(E==null?void 0:E.fetchedPageSizes)),getState:c,getViewData:o,getViewByTypeAndId:(E,T,r)=>(0,l.hm)(f(E,T,r),u.T.getState(E))}}),63792:((p,P,e)=>{e.d(P,{Lv:()=>l,jC:()=>u});var t={ERROR_IOS_RESTORE_FAILED:"restore_failed",ERROR_IOS_USER_CANCELED:"user_cancelled",ERROR_RESTORE_EMPTY:"restore_empty"};const u="freePrice";var l;(function(m){m.IOS="FREETRIAL",m.ANDROID="Free"})(l||(l={}))}),65718:((p,P,e)=>{e.d(P,{R:()=>i});var t=e(96540),u=e(86364),l=e(56347),m=e(63679),c=e(71914),o=e(35604),f=e(90953),I=e(59530),D=e(22784),d=e(21975),M=e(31065);const C=(y,L)=>(0,M.YW)(L[d.xW.VOD],y.pathname)&&new URLSearchParams(y.search).get("showInterstitial")!=="true";var h=e(2275),E=e(54040),T=e(27511);const r=t.lazy(()=>Promise.all([e.e(91800),e.e(21574)]).then(e.bind(e,24670)).then(y=>({default:y.Footer}))),n=[d.xW.LIVE,d.xW.EXTERNAL_PAGE,d.xW.MOBILE_EXTERNAL_PAGE,d.xW.LICENCE_REDIRECT,d.xW.PAYMENT,d.xW.PAYMENT_AUTHORIZATION,d.xW.PAYMENT_CONFIRMATION,d.xW.PAYMENT_UPDATE,d.xW.PROFILES,d.xW.CONFIRM_PIN_PROTECTION_RESET,d.xW.TV_LOGIN,d.xW.ADMIN_NAVBAR_PREVIEW,d.xW.ADMIN_404_PAGE,d.xW.ADMIN_CANCELLATION_PROMO_PREVIEW,d.xW.ADMIN_LICENCES_WRAPPER_PREVIEW],i=()=>{const y=(0,c.DP)(),L=(0,l.zy)(),{pathname:g}=L,{routes:N}=t.useContext(I.P),{profileConfiguration:b,settings:{CHECKOUT_PAGE_BACKGROUND_COLOUR:G,CHECKOUT_PAGE_TEXT_COLOUR_SCHEME:V,ACCOUNT_PAGE_BACKGROUND_COLOUR:A,ACCOUNT_PAGE_TEXT_COLOUR_SCHEME:R}}=(0,f.U)(),O=(0,u.d4)(T.V8),w=(0,D.R)(o.Ww.WEB_FOOTER),B=t.useMemo(()=>(0,E.Dj)(y,N,g,V,G,R,A,O==null?void 0:O.menuItemDefaultStyle),[y,N,g,V,G,R,A,O==null?void 0:O.menuItemDefaultStyle]),W=t.useMemo(()=>(0,T._w)(O),[O]);return!W||!N||(0,M.eM)(N,n,g)||C(L,N)||(0,h.EG)(b,L)?null:t.createElement(c.NP,{theme:B},t.createElement(m.NP,{theme:B},t.createElement(t.Suspense,{fallback:null},t.createElement(r,{items:W,onSmartLink:w,menuItemAdaStates:O==null?void 0:O.menuItemAdaStates,menuItemDefaultStyle:O==null?void 0:O.menuItemDefaultStyle}))))}}),68428:((p,P,e)=>{e.d(P,{d:()=>U});var t=e(96540),u=e(86364),l=e(27237),m=e(52921),c=e(68407),o=e(975),f=e(48118),I=e(56347),D=e(71914),d=e(11860),M=e(46276),C=e(94962),h=e(59530),E=e(2275),T=e(22296),r=e(64056),n=e(39401),i=Object.defineProperty,y=Object.defineProperties,L=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertySymbols,N=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,G=(s,a,v)=>a in s?i(s,a,{enumerable:!0,configurable:!0,writable:!0,value:v}):s[a]=v,V=(s,a)=>{for(var v in a||(a={}))N.call(a,v)&&G(s,v,a[v]);if(g)for(var v of g(a))b.call(a,v)&&G(s,v,a[v]);return s},A=(s,a)=>y(s,L(a));const R=(s,a,v)=>{const{routes:_}=t.useContext(h.P),K=(0,u.d4)(F=>F.services.app.previousLocation),j=K==null?void 0:K.split("?")[0];return(0,r.Kz)(s,a,v,j,_)},O=()=>{const s=(0,u.d4)(K=>K.services.session.user.isGuest),a=(0,u.d4)(K=>K.userProfile.isSwitching),v=(0,C.ZC)(s),_=(0,C.ZC)(a);return(0,E.lP)(v,s)||(0,E.gj)(_,a)},w=(s,a)=>s===c.ViewType.GRID&&!a||s===c.ViewType.SEARCH?s:a,B=(s,a,v,_)=>{var K,j;const X=(0,I.W6)(),F=(0,I.zy)(),Z=(0,u.wA)(),z=(0,D.DP)(),ee=(K=F.state)==null?void 0:K.defaultSearchValue,[Y,S]=(0,t.useState)(),te=(j=(0,n.Nm)(v,Y))==null?void 0:j.attributes,k=(0,n.ax)(z.viewport,te),Q=(0,n.o5)(z.viewport,k,te),x=t.useRef(),q=t.useMemo(()=>{if(a===c.ViewType.GRID&&!(_!=null&&_.rpp)){if(x.current===void 0){const{dynamicRpp:J}=(0,n.ed)(z.viewport,Q,k);x.current=J}return x.current}},[a,_==null?void 0:_.rpp,z.viewport,Q,k]),H=t.useMemo(()=>q?A(V({},_),{rpp:q}):_,[_,q]);let $=(0,r.c1)(a,ee);if($&&H){const J={};H.seasonId!==void 0&&(J.seasonId=H.seasonId),H.rpp!==void 0&&(J.rpp=String(H.rpp)),$=(0,M.uR)($,J)}const ne=R(a,v,ee),oe=O();return t.useEffect(()=>{ne||Z(d.B.fetch(V({type:a,id:w(a,s),urlOverride:$,timezone:T.OG},H&&{extraParams:H}))),ee&&(0,r.eJ)(X)},[a,s,ne,$]),t.useEffect(()=>{oe&&Z(d.B.fetch(V({type:a,id:w(a,s),urlOverride:$,timezone:T.OG},H&&{extraParams:H})))},[oe]),t.useEffect(()=>{const J=Y&&Y!==v,se=!Y&&(v==null?void 0:v.isFetching);(J||se||ne)&&S(v)},[Y,v,ne,$]),{cachedPage:Y,itemsPerRow:Q,sizeType:k}},W=(s,a)=>
1{if(s===a)return!0;if(!s||!a)return!1;const v=new Set([...Object.keys(s),...Object.keys(a)]);v.delete("isFetchingNext");for(const _ of v)if(s[_]!==a[_])return!1;return!0},U=({type:s,id:a,onReady:v,extraParams:_})=>{const K=t.useMemo(()=>m.s.makeGetViewByTypeAndId(),[]),j=t.useMemo(()=>l.Xw.makeGetState(),[]),X=s===c.ViewType.GRID?a:+a,Z=[c.ViewType.SEASON,c.ViewType.SERIES,c.ViewType.VOD,c.ViewType.PLAYLIST].includes(s)&&!X,z=(0,u.d4)(x=>K(x,X,s),W),ee=(0,u.d4)(x=>{var q;return(q=K(x,X,s))==null?void 0:q.isFetchingNext}),Y=(0,u.d4)(x=>j(x)),{cachedPage:S,itemsPerRow:te,sizeType:k}=B(a,s,z,_),Q=!S||(S==null?void 0:S.isFetching);return t.useEffect(()=>{!Q&&z&&v&&v(z)},[Q,v]),t.createElement(o.IQ,{type:s,view:S,fallbackCards:S==null?void 0:S.fallbackCards,localWatchHistory:Y,id:a,isFetching:S==null?void 0:S.isFetching,isFetchingNext:ee,isUpdating:S==null?void 0:S.isUpdating,isFormError:S==null?void 0:S.isFormError,isFormSuccess:S==null?void 0:S.isFormSuccess,error:(S==null?void 0:S.error)||Z,isLoading:Q,itemsPerRow:te,sizeType:k},t.createElement(f.AC,{type:s,id:a}))}}),78862:((p,P,e)=>{e.d(P,{A:()=>T});var t=e(96540),u=e(86364),l=e(89979),m=e(96406),c=e(15234),o=Object.defineProperty,f=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,d=(r,n,i)=>n in r?o(r,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[n]=i,M=(r,n)=>{for(var i in n||(n={}))I.call(n,i)&&d(r,i,n[i]);if(f)for(var i of f(n))D.call(n,i)&&d(r,i,n[i]);return r};const C=r=>t.createElement(m.b,M({},r)),h=({services:{session:{user:{isGuest:r}},licences:n,navbar:{isOpen:i,isMobile:y,showAppSidebar:L},search:{isSearchActive:g}},menu:{menus:N,isFetching:b}})=>({isGuest:r,licences:n,isNavbarOpened:i,menus:b||!N?[]:N,isMobile:y,showAppSidebar:L,isSearchActive:g}),E=r=>({openNavbar:()=>{const n={type:c.s0};r(n)},closeNavbar:()=>{const n={type:c.Gy};r(n)},toggleNavbarMenu:()=>{const n={type:c.o8};r(n)},setNavbarMobile:n=>{const i=(0,l.R)(n);r(i)}}),T=(0,u.Ng)(h,E)(C)}),84237:((p,P,e)=>{e.r(P),e.d(P,{VideoInterstitial:()=>r,default:()=>n});var t=e(96540),u=e(40961),l=e(86364),m=e(56347),c=e(71914),o=e(35604),f=e(68407),I=e(13516),D=e(65718),d=e(38057),M=e(48472),C=e(78862),h=e(68428),E=e(82311),T=e(55488);const r=({onReady:i})=>{var y,L,g,N;const b=(0,c.DP)(),G=t.useRef(null),V=document.getElementById("dice-modal"),A=(0,m.zy)(),{eventId:R}=(0,m.g)(),O=(y=R.split("?"))==null?void 0:y[0],w=(0,l.d4)(F=>F.menu.menus),B=(0,l.d4)(F=>F.services.app.isRtL),[W,U]=t.useState(!1),s=A.hash.includes(T.UT),a=((L=w==null?void 0:w.find(E.ST))==null?void 0:L.layout)||o.Ww.TOP,v=a===o.Ww.TOP||a===o.Ww.TOP_LEFT,_=(0,l.d4)(F=>{var Z;return(Z=F.views.video)==null?void 0:Z[0]}),K=t.useRef(void 0);((g=_==null?void 0:_.id)==null?void 0:g.toString())===O&&(K.current=_);const j=F=>{G.current=F,U(!!F)},X=(0,I.AH)("video-interstitial",`video-interstitial--${b.viewport}`);return V?u.createPortal(t.createElement(d.A,{hide:s,allowEventPropagation:!1,isRtL:B,forceRootInvisible:!s,className:B&&"app-container--right-left"},t.createElement(C.A,{isVisible:W,preventFetching:!0,root:(N=G.current)==null?void 0:N.parentElement}),!v&&t.createElement(M.A,null),t.createElement("div",{className:X,ref:j,tabIndex:-1},t.createElement(h.d,{type:f.ViewType.VOD,id:O,onReady:i})),t.createElement(D.R,null)),V):null},n=r})}]);})(); 2
3//# sourceMappingURL=video-interstitial.78c83c5500c660f4c20a.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.