PageSourceSearch

https://savages.io/_next/static/chunks/pages/raffle/results-ba429b693305f3c2.js

js savages.io collected 2026-10-08 09:36:46 UTC 8,486 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[422],{27706:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/raffle/results",function(){return t(1366)}])},1366:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return U},default:function(){return A}});var i=t(7297),r=t(85893),a=t(9008),o=t.n(a),d=t(89755),m=t.n(d),l=t(67294),s=t(71893),c=t(76224),h=t(28391),f=t(90661);function u(){let n=(0,i.Z)(["\n  position: relative;\n  width: 41.9rem;\n  height: 20.7rem;\n  margin-top: 4rem;\n  background: ",";\n  border: 2px solid #000000;\n  border-radius: 3rem;\n  display: grid;\n  grid-template-columns: 1fr 1fr;\n  align-items: center;\n  grid-gap: 4rem;\n  @media only screen and (max-width: 1200px) {\n    margin-top: 16rem;\n  }\n  @media only screen and (max-width: 786px) {\n    margin-top: 12rem;\n    width: 37.4rem;\n    height: 18.7rem;\n    grid-gap: 2rem;\n  }\n  @media only screen and (max-width: 500px) {\n    margin-top: 12rem;\n    width: 26.4rem;\n    height: 14.7rem;\n    grid-gap: 0.5rem;\n  }\n"]);return u=function(){return n},n}function g(){let n=(0,i.Z)(["\n  position: relative;\n  width: 100%;\n  height: 100%;\n"]);return g=function(){return n},n}function w(){let n=(0,i.Z)(["\n  width: 100%;\n  display: flex;\n  align-items: center;\n"]);return w=function(){return n},n}function p(){let n=(0,i.Z)(["\n  position: absolute;\n  bottom: 0;\n  left: ",";\n  & > div {\n    position: relative;\n    height: ",";\n    width: ",";\n    & > span {\n      height: 100% !important;\n      width: 100% !important;\n    }\n\n    @media only screen and (max-width: 1261px) {\n      height: ",";\n    }\n\n    @media only screen and (max-width: 786px) {\n      height: ",";\n      width: ",";\n    }\n    @media only screen and (max-width: 500px) {\n      height: ",";\n      width: ",";\n    }\n  }\n  @media only screen and (max-width: 786px) {\n    left: ",";\n  }\n  @media only screen and (max-width: 500px) {\n    left: ",";\n  }\n"]);return p=function(){return n},n}function x(){let n=(0,i.Z)(["\n  font-weight: 500;\n  font-size: 8rem;\n  line-height: 7.7rem;\n  font-family: JauntMedium;\n  text-align: center;\n  color: #ffc700;\n  text-shadow: 5px 5px #000;\n  @media only screen and (max-width: 786px) {\n    font-size: 7rem;\n    line-height: 6.7rem;\n  }\n  @media only screen and (max-width: 500px) {\n    font-size: 5rem;\n    line-height: 4.7rem;\n  }\n"]);return x=function(){return n},n}let v=s.ZP.div.withConfig({componentId:"sc-68146890-0"})(u(),n=>"won"===n.verdict?"linear-gradient(283.62deg, rgba(0, 0, 0, 0.06) 0%, rgba(255, 255, 255, 0.06) 97.89%), #0C49B5":"linear-gradient(283.69deg, rgba(91, 0, 0, 0.1) 1.24%, rgba(255, 255, 255, 0) 96.9%), #B50C0C"),y=s.ZP.div.withConfig({componentId:"sc-68146890-1"})(g()),b=s.ZP.div.withConfig({componentId:"sc-68146890-2"})(w()),j=s.ZP.div.withConfig({componentId:"sc-68146890-3"})(p(),n=>"win"===n.verdict?"-5rem":"-9rem",n=>"win"===n.verdict?"36.4rem":"38.2rem",n=>"win"===n.verdict?"35rem":"39.6rem",n=>"win"===n.verdict?"34.5rem":"35.2rem",n=>"win"===n.verdict?"34.5rem":"33rem",n=>"win"===n.verdict?"32.7rem":"31.6rem",n=>"win"===n.verdict?"24.5rem":"26.8rem",n=>"win"===n.verdict?"21.7rem":"24.6rem",n=>"win"===n.verdict?"-4.5rem":"-7rem",n=>"win"===n.verdict?"-2.6rem":"-5rem"),C=s.ZP.p.withConfig({componentId:"sc-68146890-4"})(x()),Z=n=>{let[e,t]=(0,l.useState)(n.verdict);return(0,l.useEffect)(()=>{t(n.verdict)},[n.verdict]),(0,r.jsxs)(v,{verdict:e,children:[(0,r.jsx)(y,{children:(0,r.jsx)(j,{verdict:e,children:(0,r.jsxs)("div",{children:["lost"===e&&(0,r.jsx)(m(),{src:"/image/raffle/results/lose-character.webp",alt:"avatar",layout:"fill"}),"won"===e&&(0,r.jsx)(m(),{src:"/image/raffle/results/win-character.webp",alt:"avatar",layout:"fill"})]})})}),(0,r.jsx)(b,{children:(0,r.jsx)(C,{children:"won"===e?"YOU W0N":"YOU LOSE"})})]})};var _=t(55563),k=t(11163),P=t(13097);function E(){let n=(0,i.Z)(['\n  height: 100%;\n  width: 100%;\n  background-image: url("/image/raffle/results.webp");\n  background-repeat: no-repeat;\n  width: 100%;\n  height: 100%;\n  padding-top: 5rem;\n\n  @media only screen and (max-width: 1442px) {\n    height: 95%;\n  }\n  @media only screen and (max-width: 1376px) {\n    background-size: 98% 100%;\n    max-width: 82vw;\n  }\n  @media only screen and (max-width: 1366px) {\n    background-size: 100% 100%;\n    margin-left: 6%;\n    width: 75vw;\n    height: 92%;\n  }\n  @media only screen and (max-width: 1334px) {\n    background-size: 100% 100%;\n    height: 90%;\n    width: 77vw;\n  }\n  @media only screen and (max-width: 1290px) {\n    background-size: 100% 96%;\n    height: 88%;\n  }\n  @media only screen and (max-width: 1200px) {\n    background-image: none;\n    height: 100%;\n    width: 100%;\n    max-width: 100vw;\n    margin-left: initial;\n    justify-content: flex-start;\n  }\n']);return E=function(){return n},n}function I(){let n=(0,i.Z)(["\n  width: 100%;\n  height: 100%;\n  margin: auto;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  flex-direction: column;\n  @media only screen and (max-width: 786px) {\n    & > button {\n      height: 5.22rem;\n      width: 17.4rem;\n    }\n  }\n"]);return I=function(){return n},n}function S(){let n=(0,i.Z)(["\n  font-family: SFProRegular;\n  font-weight: 400;\n  font-size: 3.2rem;\n  line-height: 3.8rem;\n  margin: 1.3rem 0 3rem 0;\n\n  @media only screen and (max-width: 1261px) {\n    margin: 1.3rem 0 1rem 0;\n  }\n\n  @media only screen and (max-width: 786px) {\n    font-size: 2rem;\n    line-height: 2.4rem;\n    margin: 2.2rem 0 2.2rem 0;\n  }\n"]);return S=function(){return n},n}function N(){let n=(0,i.Z)(["\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n  gap: 8px;\n  padding: 16px;\n"]);return N=function(){return n},n}function z(){let n=(0,i.Z)(["\n  position: relative;\n  width: 22.8rem;\n  height: 35.5rem;\n  margin-bottom: 4rem;\n  margin-top: -2rem;\n  & > video {\n    height: 100% !important;\n    width: 100% !important;\n  }\n  @media only screen and (max-width: 1290px) {\n    margin-bottom: 6.7rem;\n  }\n  @media only screen and (max-width: 1200px) {\n    margin-top: 6rem;\n  }\n"]);return z=function(){return n},n}let R=s.ZP.div.withConfig({componentId:"sc-1b941ed5-0"})(E()),T=s.ZP.div.withConfig({componentId:"sc-1b941ed5-1"})(I()),D=s.ZP.p.withConfig({componentId:"sc-1b941ed5-2"})(S()),L=s.ZP.div.withConfig({componentId:"sc-1b941ed5-3"})(N()),O=s.ZP.div.withConfig({componentId:"sc-1b941ed5-4"})(z()),F=n=>{let e=(0,k.useRouter)(),[t,i]=(0,l.useState)(""),[a,d]=(0,l.useState)(!0),s=()=>{"won"==t?window.open("https://www.twitter.com/intent/tweet?text=I won a savagelist spot for the upcoming @savagenationnft mint! \uD83C\uDF89%0a%0aCheck if you won here: https://savagenationnft.com/raffle/results?type=won"):window.open("https://www.twitter.com/intent/tweet?text=I lost the @savagenationnft raffle. \uD83D\uDD95 Which of you do I need to fight to get my spot? %0a%0a  https://savagenationnft.com/raffle/results?type=lost")},h=()=>{e.push("/raffle")};return(0,l.useEffect)(()=>{void 0==localStorage.getItem(P.TU.RAFFLE_IS_SELECTED)&&d(!1),"/raffle/results?type=lost"==e.asPath?i("lost"):"/raffle/results?type=won"==e.asPath&&i("won")},[e]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(o(),{children:[(0,r.jsx)("title",{children:"Raffle - Results"}),(0,r.jsx)(c.Z,{url:"https://savagenationnft.com",title:"Raffle - Results",description:"Prepare to unleash your inner savage.",image:"/image/raffle/results/i-".concat(n.type,".jpeg"),tabTitle:"Savage Nation"})]}),a?(0,r.jsxs)(R,{children:[(0,r.jsx)(f.MobHeadingImageContainer,{children:(0,r.jsx)(m(),{src:"/image/raffle/mob/RESULTS.webp",alt:"avatar",layout:"fill"})}),(0,r.jsxs)(T,{children:[(0,r.jsx)(Z,{verdict:t}),(0,r.jsx)(D,{children:"Stay tuned for mint details"}),(0,r.jsx)(_.Z,{text:"SHARE",icon:"twitter",bgColor:"#1cb7eb",width:20,label:"Share_Twitter",onClick:s})]})]}):(0,r.jsxs)(L,{children:[(0,r.jsx)(O,{children:(0,r.jsx)(m(),{src:"/image/raffle/raffle-ticket-one.gif",alt:"raffle-ticket-two",layout:"fill"})}),(0,r.jsx)(_.Z,{text:"CONNECT WALLET !",width:30.7,bgColor:"linear-gradient(93.14deg, #ff118e 0%, #328dfd 100%)",onClick:h,label:"Connect_Metamask"})]})]})};var U=!0,A=F;F.getLayout=function(n){return(0,r.jsx)("div",{children:(0,r.jsx)(h.ZP,{children:n})})}}},function(n){n.O(0,[4885,9805,4208,9669,9815,661,9774,2888,179],function(){return n(n.s=27706)}),_N_E=n.O()}]);

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.