1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5128],{14436:e=>{e.exports={card:"Section_card__oeYRA",header:"Section_header__pvG98",header__title:"Section_header__title__4dDUz",header__desc:"Section_header__desc__Crwv4",left:"Section_left__PU_w7",right:"Section_right__p_gOf",content:"Section_content__quj2A"}},15128:(e,t,a)=>{"use strict";a.r(t),a.d(t,{Jackpot:()=>O});var n=a(95155),c=a(12115),s=a(4794),i=a(81132),o=a(37008),r=a(92265),l=a(14436),d=a.n(l);let p={open:{opacity:1},closed:{overflow:"hidden",opacity:0}},_=e=>{let{name:t,desc:a,children:c,button:l,background:_,addHead:h}=e,{refLink:u}=(0,o.P)(),{seeAll:m}=(0,r.T)();return(0,n.jsxs)(s.P.div,{initial:p.closed,animate:p.open,variants:p,className:d().card,style:{background:_},children:[(0,n.jsxs)("div",{className:d().header,children:[(0,n.jsxs)("div",{className:d().left,children:[(0,n.jsx)("span",{className:d().header__title,children:t}),a&&(0,n.jsx)("span",{className:d().header__desc,children:a})]}),(0,n.jsx)("div",{className:d().right,children:l&&(0,n.jsx)(i.V,{variant:l.buttonVariant,link:l.url?l.url:u,children:l.text?l.text:m})})]}),h,(0,n.jsx)("div",{className:d().content,children:c})]})},h=e=>{let t="",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=a.length,c=0;for(;c<e;)t+=a.charAt(Math.floor(Math.random()*n)),c+=1;return t};var u=a(57088),m=a.n(u),j=a(66766),x=a(78126),w=a.n(x),k=a(91801),v=a(85030),f=a(67850),N=a(79235);let g={Otlozheno:"https://schema.org/EventScheduled",Otmeneno:"https://schema.org/EventCancelled",Pereneseno:"https://schema.org/EventMovedOnline",Pereneseno_na_sajt:"https://schema.org/EventPostponed",Zaplanirovano:"https://schema.org/EventRescheduled"},y=e=>{var t,a;let{bonus:c,currency:s,desc:i,end:r,logo:l,name:d,start:p,status:_,validFrom:h}=e,{defaultLocales:u}=(0,o.P)(),{sitename:m}=(0,k.wQ)(),{timeZones:j}=(0,o.P)(),{localeState:x}=(0,f.P)(),y=(0,v.w)(),{DATA_HOST:b}=N.P,J=j.find(e=>{let{code:t}=e;return t===x})||{code:"",time:""},S=(null==u?void 0:u.enable)?u.locale===x?"/":"/".concat(x,"/"):"/",O=(null==u?void 0:u.enable)?"/"===y?x!==u.locale?"https://".concat("www.fixmysitespeed.com","/").concat(x,"/"):"https://".concat("www.fixmysitespeed.com","/"):x!==u.locale?"https://".concat("www.fixmysitespeed.com","/").concat(x).concat(y,"/"):"https://".concat("www.fixmysitespeed.com").concat(y,"/"):"https://".concat("www.fixmysitespeed.com").concat(y,"/");return(0,n.jsx)(w(),{children:(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"http://schema.org/","@type":"Event",name:d,description:i,image:"".concat(b).concat(null==(a=l.data)||null==(t=a.attributes)?void 0:t.url),eventAttendanceMode:"https://schema.org/OnlineEventAttendanceMode",eventStatus:g[_],startDate:"".concat(p).concat(J.time),endDate:"".concat(r).concat(J.time),location:[{"@type":"VirtualLocation",url:O}],offers:{"@type":"Offer",url:O,price:c,priceCurrency:s,availability:"https://schema.org/InStock",validFrom:"".concat(h).concat(J.time)},organizer:{"@type":"Organization",name:m,url:"https://".concat("www.fixmysitespeed.com").concat(S)}})}})})};function b(e,t){if(e>t)throw Error("Minimum value should be smaller than maximum value.");return(e+(t-e)*Math.random()).toFixed(2)}function J(){switch(Number(b(1,3)).toFixed(0)){case"1":return{value:Number(b(1,24)).toFixed(0),type:"hours"};case"2":return{value:Number(b(2,30)).toFixed(0),type:"days"};case"3":return{value:"",type:"month"};default:return{value:"",type:"days"}}}let S=e=>{let{currency:t}=e,[a]=(0,c.useState)(()=>[{type:"gold",position:1,winner:b(700,1e3)},{type:"silver",position:2,winner:b(300,700)},{type:"bronze",position:3,winner:b(50,300)}]);return(0,n.jsx)("div",{className:m().container,children:(0,n.jsx)("ul",{className:m()["total-jackpot"],children:a.map(e=>{let{position:a,type:c,winner:s}=e;return(0,n.jsxs)("li",{children:[(0,n.jsx)("div",{className:m().logo,children:(0,n.jsx)(j.default,{src:"/total-".concat(a,".png"),alt:c,width:64,height:64})}),(0,n.jsxs)("div",{className:m().winner,children:[(0,n.jsx)("span",{className:m().type,children:c}),(0,n.jsxs)("span",{className:m().winner__count,children:[s," ",t||"$"]})]})]},a)})})})},O=e=>{let{currency:t,icon:a,saleEvent:s,...i}
1=e,{biggestWins:o,latestWins:l,jackpotMonth:d,jackpotDay:p,jackpotHours:u}=(0,r.T)(),[x]=(0,c.useState)(()=>[{position:1,nickName:h(10),winner:b(2800,3600),date:J()},{position:2,nickName:h(10),winner:b(2e3,2800),date:J()},{position:3,nickName:h(10),winner:b(1e3,2e3),date:J()}]),[w]=(0,c.useState)(()=>[{position:1,nickName:h(10),winner:b(700,1e3),date:J()},{position:2,nickName:h(10),winner:b(300,700),date:J()},{position:3,nickName:h(10),winner:b(50,300),date:J()}]),k=e=>{let{value:t,type:a}=e;switch(a){case"hours":return"".concat(t," ").concat(u);case"days":return"".concat(t," ").concat(p);case"month":return"".concat(d);default:return""}};return(0,n.jsxs)("div",{className:m().wrapper,children:[s&&(0,n.jsx)(y,{...s}),(0,n.jsx)(_,{...i,nameIcon:a,addHead:(0,n.jsx)(S,{currency:t}),children:(0,n.jsxs)("div",{className:m()["end-jackpots"],children:[(0,n.jsxs)("div",{className:[m()["biggest-wins"],m().jackpot].join(" "),children:[(0,n.jsx)("span",{className:m().jackpot__title,children:o}),(0,n.jsx)("ul",{children:x.map(e=>{let{position:a,nickName:c,winner:s,date:i}=e;return(0,n.jsxs)("li",{className:m()["jackpot-item"],children:[(0,n.jsx)("div",{children:(0,n.jsx)(j.default,{src:"/jackpots-wins-place-".concat(a,"@X2.png"),alt:c,width:40,height:40})}),(0,n.jsxs)("div",{className:m()["jackpot__container-middle"],children:[(0,n.jsx)("span",{className:m().nickname,children:c.split("").map((e,t)=>t>3?"*":e).join("")}),i&&(0,n.jsx)("span",{className:m().date,children:k(i)})]}),(0,n.jsxs)("div",{className:m().winner__count,children:[s," ",t||"$"]})]},a)})})]}),(0,n.jsxs)("div",{className:[m()["last-wins"],m().jackpot].join(" "),children:[(0,n.jsx)("span",{className:m().jackpot__title,children:l}),(0,n.jsx)("ul",{children:w.map(e=>{let{position:a,nickName:c,winner:s,date:i}=e;return(0,n.jsxs)("li",{className:m()["jackpot-item"],children:[(0,n.jsx)("div",{children:(0,n.jsx)(j.default,{src:"/jackpots-wins-place-".concat(a,"@X2.png"),alt:c,width:40,height:40})}),(0,n.jsxs)("div",{className:m()["jackpot__container-middle"],children:[(0,n.jsx)("span",{className:m().nickname,children:c.split("").map((e,t)=>t>3?"*":e).join("")}),i&&(0,n.jsx)("span",{className:m().date,children:k(i)})]}),(0,n.jsxs)("div",{className:m().winner__count,children:[s," ",t||"$"]})]},a)})})]})]})})]})}},57088:e=>{e.exports={wrapper:"Jackpot_wrapper__3xbI1","total-jackpot":"Jackpot_total-jackpot__FI4Tk",logo:"Jackpot_logo__d0tdK",winner:"Jackpot_winner__h1wgD",winner__count:"Jackpot_winner__count__Tkvaz",type:"Jackpot_type__WTHJH","end-jackpots":"Jackpot_end-jackpots__xoDKi",jackpot:"Jackpot_jackpot__dWTFD",jackpot__title:"Jackpot_jackpot__title__ShJ1H","jackpot-item":"Jackpot_jackpot-item__izWnk",nickname:"Jackpot_nickname__rZJpC","jackpot__container-middle":"Jackpot_jackpot__container-middle__58Qm9",date:"Jackpot_date__dAD2s"}},78126:(e,t)=>{"use strict";function a(){return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},91801:(e,t,a)=>{"use strict";a.d(t,{wQ:()=>s}),a(95155);var n=a(12115);let c=(0,n.createContext)({isOg:!1,sitename:"",isTwitter:!1,isOgLocales:!1,isAutoHrefLang:!1,altername:"",isOrganization:!1,isArticle:!1,isAuthor:!1,isQaPage:!1});function s(){return(0,n.useContext)(c)}}}]);
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.