1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1366],{42552:function(e,t,i){i.d(t,{G:function(){return a}});var r=i(16593),l=i(45345),o=i(49931),n=i(55447);let a=e=>{let{filter:t,populate:i,locale:a}=e,d=(0,o.Aj)(n.Hv.cms.getFooter,{filter:t,populate:i,locale:a});return(0,r.a)({queryKey:["getCMSFooter",d.toString()],queryFn:()=>(0,o.p0)(d.toString(),"footer"),placeholderData:l.Wk,refetchOnMount:!0,refetchOnWindowFocus:!0})}},66393:function(e,t,i){i.d(t,{s:function(){return d}});var r=i(43577),l=i(2265),o=i(55447),n=i(16593),a=i(45345);let d=(e,t)=>{if(!(0,l.useCallback)(e=>["fiats","cryptos",""].includes(e),[])(e))throw Error('Invalid currency type. Must be "fiats", "cryptos" or empty string');let i=(0,l.useMemo)(()=>e?"".concat(o.Hv.wallet.currencyList).concat(e):o.Hv.wallet.currencyList,[e]),d=(0,l.useMemo)(()=>t?"?countryOrRegion=".concat(t):"",[t]),c=(0,l.useMemo)(()=>"".concat(i).concat(d),[i,d]),s=(0,l.useCallback)(async()=>{try{return(await o.ZP.get(c)).data}catch(i){if(i instanceof r.d7){var e,t;throw Error((null===(t=i.response)||void 0===t?void 0:null===(e=t.data)||void 0===e?void 0:e.message)||"Failed to fetch currency data")}throw i}},[c]);return(0,n.a)({queryKey:["currencies",c,e,t],queryFn:s,placeholderData:a.Wk,refetchOnMount:!0,retry:2,staleTime:3e5})}},61366:function(e,t,i){i.r(t),i.d(t,{HomeFooter:function(){return E}});var r=i(57437),l=i(33145),o=i(68720),n=i(60033),a=i(2265),d=i(43161),c=i(68575),s=i(57099),u=i(66393),p=i(9785),v=i(42552),x=i(57871),g=i(34235),h=i(31691),m=i(82156),f=i(19978),y=i(19643),b=i(1899),j=i(46387),Z=i(97312),k=i(36402),w=i(52077),I=i(44164);function E(){var e,t,i,E,S,R,C,D,_,B,z,L,F,M,O;let[T,A]=(0,a.useState)(!1),{t:N,getLang:H}=(0,n.i)(),{data:W}=(0,u.s)(""),q=(0,c.I0)(),J=(0,h.Z)(),G=(0,m.Z)(J.breakpoints.down("sm")),P=(0,m.Z)(J.breakpoints.down("md")),U=H(),{getLink:K}=(0,d.m)(),{data:Q}=(0,v.G)({populate:[{key:"populate[category][populate][link][populate]",value:"icon"},{key:"populate[disclaimer][populate]",value:"image"},{key:"populate[disclaimer][populate]",value:"mobileImage"},{key:"populate[disclaimer][populate]",value:"tabletImage"}],locale:{key:"locale",value:U}}),{data:V}=(0,v.G)({populate:[{key:"populate[category][populate][link][populate]",value:"icon"},{key:"populate[disclaimer][populate]",value:"image"},{key:"populate[disclaimer][populate]",value:"mobileImage"},{key:"populate[disclaimer][populate]",value:"tabletImage"}],locale:{key:"locale",value:"en"}}),X=(0,c.v9)(e=>e.user.data),Y={"First.Name":(null==X?void 0:X.name)||"",Email:(null==X?void 0:X.email)||"","USD.Exchange.nextValue":(null==X?void 0:X.settings.view_in_fiat_object.currency)||"USD"},$=(null==Q?void 0:null===(i=Q.data)||void 0===i?void 0:null===(t=i.attributes)||void 0===t?void 0:null===(e=t.category)||void 0===e?void 0:e.length)?Q:V,ee=e=>(t,i)=>{A(!!i&&e)},et=(null==$?void 0:null===(S=$.data)||void 0===S?void 0:null===(E=S.attributes)||void 0===E?void 0:E.category)?Math.ceil($.data.attributes.category.length/2):0,ei=(null==$?void 0:null===(C=$.data)||void 0===C?void 0:null===(R=C.attributes)||void 0===R?void 0:R.category)?$.data.attributes.category.slice(0,et):[],er=(null==$?void 0:null===(_=$.data)||void 0===_?void 0:null===(D=_.attributes)||void 0===D?void 0:D.category)?$.data.attributes.category.slice(et):[];return(0,a.useEffect)(()=>{if(W){let e=W.data;q((0,p.QT)(e))}},[W,q]),(0,r.jsx)(f.Z,{children:(0,r.jsxs)(g.Z,{component:"footer",columns:{xs:2,sm:4,md:12},container:!0,columnSpacing:5,paddingLeft:2,paddingRight:2,paddingTop:8,rowSpacing:8,justifyContent:"center",children:[(0,r.jsx)(y.Z,{alignItems:"center",flexDirection:"row",mb:2,gap:0,width:"100%",children:(0,r.jsxs)(b.Z,{display:"flex",flexDirection:"column",sx:{width:"100%",alignItems:"center",justifyContent:"center"},children:[(0,r.jsx)(b.Z,{display:"flex",flexDirection:"row",sx:{width:"100%",alignItems:"center",justifyContent:"center"},children:(0,r.jsx)(j.Z,{color:e=>J.palette.grey[400],variant:"h4",children:(null==W?void 0:W.data.cryptos.length)?"".concat(null==W?void 0:W.data.cryptos.length," ").concat(N("navigation.footer.cryptoCasinoIntro.currencies")):N("navigation.footer.cryptoCasinoIntro.moreThan30Currencies")})}),(0,r.jsx)(b.Z,{my:1,py:2,sx:{flex:"1 1 auto",width:"100%",textAlign:"center",borderTop:"1px solid",borderBottom:"1px solid",borderImageSource:"linear-gradient(90deg, transparent, ".concat(J.palette.grey[400]," 50%, transparent)"),borderImageSlice:1},children:(0,r.jsx)(y.Z,{className:"automatic-carousel",gap:4,children:(0,r.jsx)(b.Z,{className:"carousel-track",children:(null==W?void 0:W.data.cryptos)&&[...W.data.cryptos,...W.data.cryptos,...W.data.cryptos].map((e,t)=>(0,r.jsx)(b.Z,{className:"carousel-slide",children:(0,r.jsx)("img",{src:e.logoUrl,height:"40",width:"40",alt:"coin crypto ".concat(e.symbol)})},"repeat-".concat(t)))})})})]})}),!P&&(null==$?void 0:null===(L=$.data)||void 0===L?void 0:null===(z=L.attributes)||void 0===z?void 0:null===(B=z.category)||void 0===B?void 0:B.map((e,t)=>(0,r.jsx)(g.Z,{xs:2,children:(0,r.jsxs)(y.Z,{alignItems:"flex-start",flexDirection:"column",gap:1,children:[(0,r.jsx)(j.Z,{variant:"h2",children:e.title}),e.link.map((e,i)=>{var o,n,a,d,c,u;return(0,r.jsx)(y.Z,{direction:"row",alignItems:"center",gap:1,children:(null===(n=e.icon.data)||void 0===n?void 0:null===(o=n.attributes)||void 0===o?void 0:o.url)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.default,{alt:(null===(d=e.icon.data)||void 0===d?void 0:null===(a=d.attributes)||void 0===a?void 0:a.caption)||"Link icon",height:20,src:null===(u=e.icon.data)||void 0===u?void 0:null===(c=u.attributes)||void 0===c?void 0:c.url,width:20}),(0,r.jsx)(Z.Z,{component:"a",href:e.isExternal?e.href||"":K((0,s.zS)(e.href)||""),target:e.isExternal?"_blank":void 0,rel:e.isExternal?"noopener noreferrer":void 0,color:e=>J.palette.grey[400],children:e.translated?e.label:e.slug})]}):(0,r.jsx)(Z.Z,{marginInline:1,color:e=>J.palette.grey[400],href:e.isExternal?e.href||"":K((0,s.zS)(e.href)||""),target:e.isExternal?"_blank":void 0,rel:e.isExternal?"noopener noreferrer":void 0,display:"flex",alignItems:"center",children:e.translated?e.label:e.slug})},"link-".concat(t,"-").concat(i))})]})},"grid-".concat(t)))),P&&(0,r.jsxs)(b.Z,{display:G?"block":"flex",gap:1,width:"100%",justifyContent:"center",children:[(0,r.jsx)(b.Z,{display:"flex",flexDirection:"column",gap:1,sx:{width:{xs:"100%",sm:"48%"},marginBottom:{xs:1,sm:0}},children:ei.map((e,t)=>e.onlyIcons?(0,r.jsx)(b.Z,{display:"flex",alignItems:"center",justifyContent:"space-around",flexDirection:"row",height:"100%",children:e.link.map((e,i)=>{var o,n,a,d,c,u;return(0,r.jsx)(y.Z,{direction:"row",alignItems:"center",justifyContent:"center",textAlign:"center",alignSelf:"center",gap:1,children:(null===(n=e.icon.data)||void 0===n?void 0:null===(o=n.attributes)||void 0===o?void 0:o.url)?(0,r.jsx)(Z.Z,{marginInline:1,color:e=>J.palette.grey[400],href:e.isExternal?e.href||"":K((0,s.zS)(e.href)||""),target:e.isExternal?"_blank":void 0,rel:e.isExternal?"noopener noreferrer":void 0,display:"flex",alignItems:"center",children:(0,r.jsx)(l.default,{alt:(null===(d=e.icon.data)||void 0===d?void 0:null===(a=d.attributes)||void 0===a?void 0:a.caption)||"Link icon",height:20,src:null===(u=e.icon.data)||void 0===u?void 0:null===(c=u.attributes)||void 0===c?void 0:c.url,width:20})}):(0,r.jsx)(Z.Z,{color:e=>J.palette.grey[400],href:e.isExternal?e.href||"":K((0,s.zS)(e.href)||""),target:e.isExternal?"_blank":void 0,rel:e.isExternal?"noopener noreferrer":void 0,children:e.translated?e.label:e.slug})},"link-".concat(t,"-").concat(i))})},"grid-".concat(t)):(0,r.jsx)(b.Z,{display:"flex",flexWrap:"wrap",flexDirection:"column",gap:2,sx:{width:"100%"},children:(0,r.jsxs)(k.Z,{expanded:T==="panelLeft".concat(t),onChange:ee("panelLeft".concat(t)),sx:{borderRadius:"8px"},children:[(0,r.jsx)(w.Z,{expandIcon:(0,r.jsx)(o.JO,{icon:"mdi:chevron-down",style:{fontSize:"1.25rem",transition:"transform 0.2s ease"}}),sx:{borderRadius:"8px",border:1,borderColor:e=>J.palette.grey[600],"&.Mui-expanded":{borderBottom:"transparent",borderBottomLeftRadius:0,borderBottomRightRadius:0}},"aria-controls":"panelRight".concat(t,"-content"),id:"panelRight".concat(t,"-header"),onClick:e=>e.stopPropagation(),children:(0,r.jsxs)(b.Z,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,r.jsx)(o.JO,{icon:"mdi:info-circle-outline",style:{color:J.palette.primary.main,width:"1rem",he
1ight:"1rem"}}),(0,r.jsx)(j.Z,{sx:{fontSize:"0.875rem"},children:e.title})]})}),(0,r.jsx)(I.Z,{sx:{border:1,borderBottomLeftRadius:"8px",borderBottomRightRadius:"8px",borderColor:e=>J.palette.grey[600],borderTop:"none"},children:(0,r.jsx)(y.Z,{direction:"column",gap:1,children:e.link.map((e,i)=>{var o,n,a,d,c,u;return(0,r.jsx)(y.Z,{direction:"row",alignItems:"center",gap:1,children:(null===(n=e.icon.data)||void 0===n?void 0:null===(o=n.attributes)||void 0===o?void 0:o.url)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.default,{alt:(null===(d=e.icon.data)||void 0===d?void 0:null===(a=d.attributes)||void 0===a?void 0:a.caption)||"Link icon",height:20,src:null===(u=e.icon.data)||void 0===u?void 0:null===(c=u.attributes)||void 0===c?void 0:c.url,width:20}),(0,r.jsx)(Z.Z,{color:e=>J.palette.grey[400],href:e.isExternal?e.href||"":K((0,s.zS)(e.href)||""),target:e.isExternal?"_blank":void 0,rel:e.isExternal?"noopener noreferrer":void 0,children:e.translated?e.label:e.slug})]}):(0,r.jsx)(Z.Z,{color:e=>J.palette.grey[400],href:e.isExternal?e.href||"":K((0,s.zS)(e.href)||""),target:e.isExternal?"_blank":void 0,rel:e.isExternal?"noopener noreferrer":void 0,children:e.translated?e.label:e.slug})},"accordion-details-".concat(t,"-").concat(i))})})})]},"accordion-".concat(t))},"grid-".concat(t)))}),(0,r.jsx)(b.Z,{display:"flex",flexDirection:"column",gap:1,sx:{width:{xs:"100%",sm:"48%"}},children:er.map((e,t)=>e.onlyIcons?(0,r.jsx)(b.Z,{display:"flex",alignItems:"center",justifyContent:"space-around",flexDirection:"row",height:"100%",marginBlock:2,children:e.link.map((e,i)=>{var o,n,a,d,c,u;return(0,r.jsx)(y.Z,{direction:"row",alignItems:"center",justifyContent:"center",textAlign:"center",alignSelf:"center",gap:1,children:(null===(n=e.icon.data)||void 0===n?void 0:null===(o=n.attributes)||void 0===o?void 0:o.url)?(0,r.jsx)(Z.Z,{color:e=>J.palette.grey[400],href:e.isExternal?e.href||"":K((0,s.zS)(e.href)||""),target:e.isExternal?"_blank":void 0,rel:e.isExternal?"noopener noreferrer":void 0,display:"flex",alignItems:"center",children:(0,r.jsx)(l.default,{alt:(null===(d=e.icon.data)||void 0===d?void 0:null===(a=d.attributes)||void 0===a?void 0:a.caption)||"Link icon",height:20,src:null===(u=e.icon.data)||void 0===u?void 0:null===(c=u.attributes)||void 0===c?void 0:c.url,width:20})}):(0,r.jsx)(Z.Z,{color:e=>J.palette.grey[400],href:e.isExternal?e.href||"":K((0,s.zS)(e.href)||""),target:e.isExternal?"_blank":void 0,rel:e.isExternal?"noopener noreferrer":void 0,children:e.translated?e.label:e.slug})},"link-".concat(t,"-").concat(i))})},"grid-".concat(t)):(0,r.jsx)(b.Z,{display:"flex",flexWrap:"wrap",flexDirection:"column",gap:2,sx:{width:"100%"},children:(0,r.jsxs)(k.Z,{expanded:T==="panelRight".concat(t),onChange:ee("panelRight".concat(t)),sx:{borderRadius:"8px"},children:[(0,r.jsx)(w.Z,{expandIcon:(0,r.jsx)(o.JO,{icon:"mdi:chevron-down",style:{fontSize:"1.25rem",transition:"transform 0.2s ease"}}),sx:{borderRadius:"8px",border:1,borderColor:e=>J.palette.grey[600],"&.Mui-expanded":{borderBottom:"transparent",borderBottomLeftRadius:0,borderBottomRightRadius:0}},"aria-controls":"panelRight".concat(t,"-content"),id:"panelRight".concat(t,"-header"),onClick:e=>e.stopPropagation(),children:(0,r.jsxs)(b.Z,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,r.jsx)(o.JO,{icon:"mdi:info-circle-outline",style:{color:J.palette.primary.main,width:"1rem",he
1ight:"1rem"}}),(0,r.jsx)(j.Z,{sx:{fontSize:"0.875rem"},children:e.title})]})}),(0,r.jsx)(I.Z,{sx:{border:1,borderBottomLeftRadius:"8px",borderBottomRightRadius:"8px",borderColor:e=>J.palette.grey[600],borderTop:"none"},children:(0,r.jsx)(y.Z,{direction:"column",gap:1,children:e.link.map((e,i)=>{var o,n,a,d,c,u;return(0,r.jsx)(y.Z,{direction:"row",alignItems:"center",gap:1,children:(null===(n=e.icon.data)||void 0===n?void 0:null===(o=n.attributes)||void 0===o?void 0:o.url)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.default,{alt:(null===(d=e.icon.data)||void 0===d?void 0:null===(a=d.attributes)||void 0===a?void 0:a.caption)||"Link icon",height:20,src:null===(u=e.icon.data)||void 0===u?void 0:null===(c=u.attributes)||void 0===c?void 0:c.url,width:20}),(0,r.jsx)(Z.Z,{color:e=>J.palette.grey[400],href:e.isExternal?e.href||"":K((0,s.zS)(e.href)||""),target:e.isExternal?"_blank":void 0,rel:e.isExternal?"noopener noreferrer":void 0,children:e.translated?e.label:e.slug})]}):(0,r.jsx)(Z.Z,{color:e=>J.palette.grey[400],href:e.isExternal?e.href||"":K((0,s.zS)(e.href)||""),target:e.isExternal?"_blank":void 0,rel:e.isExternal?"noopener noreferrer":void 0,children:e.translated?e.label:e.slug})},"accordion-details-".concat(t,"-").concat(i))})})})]},"accordion-".concat(t))},"grid-".concat(t)))})]}),(0,r.jsx)(y.Z,{paddingBottom:P?10:4,margin:4,gap:4,children:null==$?void 0:null===(O=$.data)||void 0===O?void 0:null===(M=O.attributes)||void 0===M?void 0:null===(F=M.disclaimer)||void 0===F?void 0:F.map((e,t)=>{var i,o,n,a,d,c,s,u,p,v,g,h,m,f,Z,k,w,I;return(0,r.jsxs)(y.Z,{alignItems:"center",display:"flex",flexDirection:"column",gap:2,children:[G&&(null===(n=e.mobileImage)||void 0===n?void 0:null===(o=n.data)||void 0===o?void 0:null===(i=o.attributes)||void 0===i?void 0:i.url)&&(0,r.jsx)(l.default,{alt:"xyes",height:40,src:(null===(c=e.mobileImage)||void 0===c?void 0:null===(d=c.data)||void 0===d?void 0:null===(a=d.attributes)||void 0===a?void 0:a.url)||"",width:60}),P&&!G&&(null===(p=e.tabletImage)||void 0===p?void 0:null===(u=p.data)||void 0===u?void 0:null===(s=u.attributes)||void 0===s?void 0:s.url)&&(0,r.jsx)(l.default,{alt:"xyes",height:50,src:(null===(h=e.tabletImage)||void 0===h?void 0:null===(g=h.data)||void 0===g?void 0:null===(v=g.attributes)||void 0===v?void 0:v.url)||"",width:80}),!G&&!P&&(null===(Z=e.image)||void 0===Z?void 0:null===(f=Z.data)||void 0===f?void 0:null===(m=f.attributes)||void 0===m?void 0:m.url)&&(0,r.jsx)(l.default,{alt:"xyes",height:60,src:(null===(I=e.image)||void 0===I?void 0:null===(w=I.data)||void 0===w?void 0:null===(k=w.attributes)||void 0===k?void 0:k.url)||"",width:120}),(0,r.jsxs)(y.Z,{display:"flex",flexDirection:"column",alignItems:"center",width:"100%",children:[(0,r.jsx)(j.Z,{color:e=>J.palette.grey[400],variant:"footerSectionBody",textAlign:"center",children:e.heading}),(0,r.jsx)(j.Z,{color:e=>J.palette.grey[400],variant:"footerSectionBody",textAlign:"center",children:e.subHeading}),(0,r.jsx)(b.Z,{sx:{color:e=>J.palette.grey[400],"& a":{color:e=>J.palette.primary.main,textDecoration:"none"},textAlign:"center",width:"100%"},children:(0,r.jsx)(x.lR,{content:e.text||"",mergeTags:Y})})]})]},t)})})]})})}}}]);
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.