PageSourceSearch

https://raffall.com/_next/static/chunks/pages/win/[id]-531e082530616d6e.js

js raffall.com collected 2026-09-24 09:53:09 UTC 77,333 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2166],{86010:function(e,t,n){"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}t.Z=function(){for(var e,t,n=0,i="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(i&&(i+=" "),i+=t);return i}},33913:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(19013),i=n(13882);function a(e){return(0,i.Z)(1,arguments),(0,r.default)(e).getTime()<Date.now()}},6913:function(e,t,n){"use strict";var r=n(36609),i=n(67421),a=n(15059);r.ZP.use(a.Z).use(i.Db).init({detection:{order:["cookies","navigator"],caches:["localStorage"],lookupCookie:"selected_language"},react:{useSuspense:!0,nsMode:"default"},fallbackLng:"en",ns:["common"],defaultNS:"common",interpolation:{escapeValue:!1},resources:{}}),t.Z=r.ZP},18692:function(e,t,n){"use strict";n.d(t,{B:function(){return b},k:function(){return p}});n(67294);var r=n(9008),i=n.n(r),a=n(40893),o=n(39025),s=n(90751),l=n(85810),c=n(98560),d=n(85893);var u,m,f,p=function(e){var t=e.children,n=e.newFooter,r=e.isHostProfile;return(0,a.Z)(),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(i(),{children:(0,d.jsx)("script",{type:"text/javascript",src:"//widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js",async:!0})}),(0,d.jsx)(o.Z,{isTransparent:!1}),(0,d.jsx)("main",{children:t}),(0,d.jsx)("div",{className:r?"invisible":"",children:n?(0,d.jsx)(c.Z,{}):(0,d.jsx)(s.Z,{fullWidth:!0,position:"static",desktopContent:l.sk,mobileContent:l.OG})})]})},h=n(71383),g=n(85444),v=n(17680),x=g.ZP.div.withConfig({displayName:"styles__Root",componentId:"sc-8mgi3c-0"})(["margin:0 15px;"]),y=g.ZP.div.withConfig({displayName:"styles__Main",componentId:"sc-8mgi3c-1"})([""," "," "," > div{"," ","}"],{paddingTop:"6rem",marginLeft:"auto",marginRight:"auto",marginTop:"0px",marginBottom:"0px","@media (min-width: 48em)":{paddingTop:"9rem"}},(function(e){return e.wideDesktop?{width:"40rem"}:{width:"31.5rem"}}),v.BC.lessThan("sm")(u||(u=(0,h.Z)(["\n    "," \n  "])),{width:"100%"}),v.BC.greaterThan("md")(m||(m=(0,h.Z)(["\n      max-width: none;\n      max-height: none;\n      width: 37.1875rem;\n    "]))),v.BC.greaterThan("lg")(f||(f=(0,h.Z)(["\n      width: 39rem;\n    "]))));var b=function(e){var t=e.children,n=e.hasFooter,r=void 0===n||n,a=e.showButtons,c=void 0===a||a,u=e.hideAuthNav,m=void 0!==u&&u,f=e.wideDesktop,p=void 0!==f&&f;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(i(),{children:(0,d.jsx)("script",{type:"text/javascript",src:"//widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js",async:!0})}),(0,d.jsxs)(x,{children:[(0,d.jsx)(o.Z,{isTransparent:!1,showButtons:c,hideAuthNav:m,showOffcanvasMenu:!1}),(0,d.jsx)(y,{wideDesktop:p,children:(0,d.jsx)("main",{className:"flex justify-center",children:t})}),r&&(0,d.jsx)(s.Z,{fullWidth:!0,position:"static",desktopContent:l.sk,mobileContent:l.OG})]})]})}},15291:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});n(67294);var r=n(67421),i=n(70794),a=n(11666),o=n(85893);var s=function(e){var t=e.countdownTimeDeltaFormatted,n=e.countdownApi,s=e.abbreviation,l=e.isGreen,c=e.short,d=e.bold,u=n.isStopped(),m=(new i.Z(t.days).isEqualTo(0),(0,r.$G)(["common","raffallPage"]).t),f="CountdownTicker-text CountdownTicker-text--red";return parseInt(t.days,10)>7&&(f="CountdownTicker-text "),l&&(f="CountdownTicker-text CountdownTicker-text--green"),d&&(f+=" CountdownTicker-text--bold"),(0,o.jsxs)(a.f,{children:[!c&&(0,o.jsxs)("div",{className:"CountdownTicker-text-container ".concat(s&&"00"===t.days?"hidden":""),children:[(0,o.jsxs)("div",{role:"textbox","aria-label":"timer-text-day",className:f,children:[u?"00":t.days,s&&(0,o.jsx)("span",{children:"d"})]}),!s&&(0,o.jsx)("div",{role:"textbox","aria-label":"timer-label",className:"CountdownTicker-label ".concat(l?"is-green":""),children:m("Days",{ns:"common",defaultValue:"Days"})})]}),c&&"00"!==t.days&&(0,o.jsx)("div",{className:"CountdownTicker-text-container small-ticker ".concat(s&&"00"===t.days?"hidden":""),children:(0,o.jsxs)("div",{role:"textbox","aria-label":"timer-text-day",className:f,children:[u?"00":Number(t.days),s&&(0,o.jsx)("span",{children:"d"}),!s&&(0,o.jsxs)("span",{children:[" ","01"===t.days?m("day",{ns:"common",defaultValue:"day"}):m("Days",{ns:"common",defaultValue:"days"}).toLowerCase()]})]})}),!s&&!c&&(0,o.jsx)("div",{className:"hidden px-1 pt-2 ".concat(l?"text--headline3":"text--headline2","  text--gray md:block"),children:":"}),!c&&(0,o.jsxs)("div",{className:"CountdownTicker-text-container ".concat(s&&"00"===t.hours&&"00"===t.days?"hidden invisible":""),children:[(0,o.jsxs)("div",{role:"textbox","aria-label":"timer-text-hours",className:f,children:[u?"00":t.hours,s&&(0,o.jsx)("span",{children:"h"})]}),!s&&(0,o.jsx)("div",{role:"textbox","aria-label":"timer-label",className:"CountdownTicker-label ".concat(l?"is-green":""),children:m("Hours",{ns:"common",defaultValue:"Hours"})})]}),c&&!("00"===t.days&&"00"===t.hours)&&(0,o.jsx)("div",{className:"CountdownTicker-text-container small-ticker ".concat(s&&"00"===t.hours&&"00"!==t.days?"hidden invisible":""),children:(0,o.jsxs)("div",{role:"textbox","aria-label":"timer-text-hours",className:f,children:[u?"00":t.hours,(0,o.jsx)("span",{children:"h"})]})}),!s&&!c&&(0,o.jsx)("div",{className:"hidden px-1 pt-2  ".concat(l?"text--headline3":"text--headline2"," text--gray md:block"),children:":"}),!c&&(0,o.jsxs)("div",{className:"CountdownTicker-text-container ".concat(s&&"00"===t.minutes&&"00"===t.hours&&"00"===t.days?"hidden invisible":""),children:[(0,o.jsxs)("div",{role:"textbox","aria-label":"timer-text-minutes",className:f,children:[u?"00":t.minutes,s&&(0,o.jsx)("span",{children:"m"})]}),!s&&(0,o.jsx)("div",{role:"textbox","aria-label":"timer-label",className:"CountdownTicker-label ".concat(l?"is-green":""),children:m("Minutes",{ns:"common",defaultValue:"Minutes"})})]}),c&&"00"===t.days&&(0,o.jsx)("div",{className:"CountdownTicker-text-container small-ticker ".concat(s&&"00"===t.minutes?"hidden invisible":""),children:(0,o.jsxs)("div",{role:"textbox","aria-label":"timer-text-minutes",className:f,children:[u?"00":t.minutes,(0,o.jsx)("span",{children:"m"})]})}),!s&&!c&&(0,o.jsx)("div",{className:"hidden px-1 pt-2 ".concat(l?"text--headline3":"text--headline2"," text--gray md:block"),children:":"}),!c&&(0,o.jsxs)("div",{className:"CountdownTicker-text-container",children:[(0,o.jsxs)("div",{role:"textbox","aria-label":"timer-text-seconds",className:f,children:[u?"00":t.seconds,s&&(0,o.jsx)("span",{children:"s"})]}),!s&&(0,o.jsx)("div",{role:"textbox","aria-label":"timer-label",className:"CountdownTicker-label ".concat(l?"is-green":""),children:m("Seconds",{ns:"common",defaultValue:"Seconds"})})]}),c&&"00"===t.days&&(0,o.jsx)("div",{className:"CountdownTicker-text-container small-ticker",children:(0,o.jsxs)("div",{role:"textbox","aria-label":"timer-text-seconds",className:f,children:[u?"00":t.seconds,(0,o.jsx)("span",{children:"s"})]})})]})}},11666:function(e,t,n){"use strict";n.d(t,{f:function(){return f}});var r,i,a=n(71383),o=n(85444),s=n(41507),l=n(17680),c=n(7413),d=n(92845),u=l.BC.greaterThan("md")(r||(r=(0,a.Z)(["\n  ","\n  font-size: 2.5rem;\n  line-height: 3rem;\n  color: ",";\n"])),d.Qo,s.MA.gray6),m=l.BC.greaterThan("lg")(i||(i=(0,a.Z)(["\n  ","\n  ","\n  color: ",";\n"])),c.y6.VJ,d.f$,s.MA.gray2),f=o.ZP.div.withConfig({displayName:"styles__Root",componentId:"sc-1c5hk8k-0"})([""," "," .CountdownTicker-text-container{","}.CountdownTicker-text-container.hidden{display:none !important;}.CountdownTicker-text{"," "," color:",";","}.CountdownTicker-text--red{color:rgb(252,5,5) !important;}.CountdownTicker-text-green{padding-top:30px;"," font-size:60px;font-weight:700;color:#73af6b;}.CountdownTicker-text--green{color:"," !important;}.CountdownTicker-label{"," "," color:",";line-height:1.0625rem;","}.CountdownTicker-text-container.small-ticker{min-width:1rem !important;width:auto !important;.CountdownTicker-text{font-size:1rem !important;font-weight:700;color:#767676;line-height:1.5rem !important;padding-right:0.2rem !important;}.CountdownTicker-text--red{font-size:1rem !important;font-weight:700;line-height:1.5rem !important;padding-right:0.2rem !important;color:"," !important;}.CountdownTicker-text--bold{font-size:1.25rem !important;font-weight:900 !important;}}"],{display:"flex",justifyContent:"center","@media (min-width: 64em)":{justifyContent:"flex-start"}},{"> :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":0,marginRight:"calc(0.25rem * var(--tw-space-x-reverse))",marginLeft:"calc(0.25rem * calc(1 - var(--tw-space-x-reverse)))"}},{display:"flex",justifyContent:"center",flexDirection:"column"},c.y6.W_,{fontWeight:"700",textAlign:"center"},s.ek.green2,u,c.y6.W_,s.ek.green13,c.y6.S2,d.f$,s.MA.gray6,m,s.Q6.red1)},96377:function(e,t,n){"use strict";n.d(t,{Z:function(){return r.Z}});var r=n(14936)},37300:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(59499),i=n(17674),a=n(67294),o=n(9008),s=n.n(o),l=n(11752),c=n.n(l),d=n(11163),u=n(10708),m=n(67421),f=n(85810),p=n(17680),h=n(42666),g=n(22401),v=n(48561),x=n(85893);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?y(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var w=function(e){var t=e.pageTitle,n=e.pageDescription,r=e.coverImage,o=e.ns,l=e.otherParams,y=e.noIndex,w=(0,d.useRouter)().asPath,j=c()().publicRuntimeConfig,_=(0,u.Z)(["selected_language"]),k=(0,i.Z)(_,1)[0],T=(0,g.TL)(),C=(0,v.Pk)().data,R=(0,a.useMemo)((function(){var e=(0,p.FY)(j.basePath);return"".concat(j.baseUrl).concat(e).concat((0,p.FY)(w))}),[w,j.basePath,j.baseUrl]);(0,a.useEffect)((function(){C&&T((0,h.Nq)(C))}),[]);var I=(0,m.$G)(o?[o]:["common"],{useSuspense:!1}).t,N=r&&r.length>0?r:"".concat(f.lN,"/raffall-green-rectangle.png");return(0,x.jsxs)(s(),{children:[(0,x.jsx)("title",{children:t}),(0,x.jsx)("meta",{name:"description",content:I(n,b({ns:o},l))}),(0,x.jsx)("meta",{name:"twitter:title",content:t}),(0,x.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,x.jsx)("meta",{name:"twitter:site",content:"@raffall_app"}),(0,x.jsx)("meta",{name:"twitter:image",content:N}),(0,x.jsx)("meta",{name:"twitter:description",content:n}),(0,x.jsx)("meta",{property:"fb:url",content:R}),(0,x.jsx)("meta",{property:"fb:app_id",content:j.facebookAppId}),(0,x.jsx)("meta",{property:"og:title",content:t}),(0,x.jsx)("meta",{property:"og:description",content:n}),(0,x.jsx)("meta",{property:"og:locale",content:k.selected_language?k.selected_language:"en"}),(0,x.jsx)("meta",{property:"og:type",content:"article"}),(0,x.jsx)("meta",{property:"og:image",content:N}),y&&(0,x.jsx)("meta",{name:"robots",content:"noindex,follow"}),(0,x.jsx)("link",{rel:"image_src",href:N}),(0,x.jsx)("link",{rel:"icon",href:"/favicon.ico"}),(0,x.jsx)("link",{rel:"canonical",href:R.split("?")[0]})]})}},62807:function(e,t,n){"use strict";var r=n(90116),i=n(17674),a=n(67294),o=n(72977),s=n(41664),l=n.n(s),c=n(67421),d=n(30277),u=n(17680),m=n(85893);t.Z=function(e){var t=e.onSelect,n=e.selected,s=e.showAllLink,f=e.hideSelected,p=e.increaseMax,h=e.selectedCategoryIds,g=void 0===h?[]:h,v=e.onCategoryIdSelect,x=e.onClearCategories,y=(0,o.Z)().width,b=a.useState(!1),w=(0,i.Z)(b,2),j=w[0],_=w[1],k=a.useState(5),T=(0,i.Z)(k,2),C=T[0],R=T[1],I=(0,c.$G)("common",{useSuspense:!1}),N=I.t,P=I.i18n,M=P.language?P.language:"en",D=(0,a.useMemo)((function(){return[{id:9,name:N("Property",{defaultValue:"Property"}),url:"/".concat(M,"/win/Property-raffles")},{id:14,name:N("Vehicles",{defaultValue:"Vehicles"}),url:"/".concat(M,"/win/Vehicles-raffles")},{id:1,name:N("Experiences",{defaultValue:"Experiences"}),url:"/".concat(M,"/win/Experiences-raffles")},{id:10,name:N("Sports",{defaultValue:"Sports"}),url:"/".concat(M,"/win/Sports-raffles")},{id:11,name:N("Technology",{defaultValue:"Technology"}),url:"/".concat(M,"/win/Technology-raffles")},{id:6,name:N("Jewellery",{defaultValue:"Jewellery"}),url:"/".concat(M,"/win/Jewellery-raffles")},{id:13,name:N("Travel",{defaultValue:"Travel"}),url:"/".concat(M,"/win/Travel-raffles")},{id:12,name:N("Tickets & Events",{defaultValue:"Tickets & Events"}),url:"/".concat(M,"/win/Tickets-and-Events-raffles")},{id:18,name:N("Cash",{defaultValue:"Cash"}),url:"/".concat(M,"/win/Cash-raffles")},{id:16,name:N("Collectables",{defaultValue:"Collectables"}),url:"/".concat(M,"/win/Collectables-raffles")},{id:19,name:N("Art",{defaultValue:"Art"}),url:"/".concat(M,"/win/Art-raffles")},{id:15,name:N("DIY & Home Improvements",{defaultValue:"DIY & Home Improvements"}),url:"/".concat(M,"/win/DIY-and-Home-Improvements-raffles")},{id:2,name:N("Fashion",{defaultValue:"Fashion"}),url:"/".concat(M,"/win/Fashion-raffles")},{id:3,name:N("Food & Beverages",{defaultValue:"Food & Beverages"}),url:"/".concat(M,"/win/Food-and-Beverages-raffles")},{id:5,name:N("Health & Beauty",{defaultValue:"Health & Beauty"}),url:"/".concat(M,"/win/Health-and-Beauty-raffles")},{id:7,name:N("Kids",{defaultValue:"Kids"}),url:"/".concat(M,"/win/Kids-raffles")},{id:8,name:N("Misc",{defaultValue:"Misc"}),url:"/".concat(M,"/win/Misc.-raffles")}]}),[N,M]),Z=(0,a.useMemo)((function(){return g.length>0&&v?D.filter((function(e){return!g.includes(e.id)}
1)):D}),[D,g,v]);(0,a.useEffect)((function(){var e=y>u.j$.md?p?9:5:2;y>u.j$.xl&&(e=7),y>1200&&(e=7),y>1500&&(e=7),y>1600&&(e=9),y>1700&&(e=10),R(j?Z.length:e)}),[y,j,Z.length]);var S=Z.length-C,F=(0,r.Z)(Z).slice(0,C),O=0===g.length;return(0,m.jsxs)(d.lS,{className:p?"full-width":"",children:[t&&(0,m.jsx)("button",{className:"link-button ".concat(n?"":"active"),onClick:function(){null===t||void 0===t||t(null)},type:"button",children:N("All",{defaultValue:"All"})}),v&&x&&(0,m.jsx)("button",{className:"link-button ".concat(O?"active":""),onClick:x,type:"button",children:N("All",{defaultValue:"All"})}),s&&(0,m.jsx)(l(),{href:"/".concat(M,"/public-raffles/live"),children:(0,m.jsx)("a",{className:"link-button ".concat("all"===n?"active":""),children:N("All",{defaultValue:"All"})})}),F.map((function(e){var r=g.includes(e.id);return(0,m.jsx)(a.Fragment,{children:t||v?(0,m.jsx)("a",{href:e.url,className:"link-button ".concat(n===e.name||r?"active":""," ").concat(f&&n===e.name?"is-hidden":""),onClick:function(n){var r;n.preventDefault(),r=e,v?v(r.id):t&&t(r.name)},children:e.name}):(0,m.jsx)(l(),{href:e.url,children:(0,m.jsx)("a",{className:"link-button ".concat(n===e.name?"active":"","  ").concat(f&&n===e.name?"is-hidden":""),children:e.name})})},e.id)})),S>0&&(0,m.jsx)("button",{type:"button",className:"show-all",onClick:function(){_(!j)},children:j?"-".concat(S):"+".concat(S)})]})}},30277:function(e,t,n){"use strict";n.d(t,{fC:function(){return p},lS:function(){return h}});var r,i,a,o,s,l,c=n(71383),d=n(85444),u=n(41507),m=n(17680),f=n(7413),p=d.ZP.div.withConfig({displayName:"styles__Root",componentId:"sc-e0rkir-0"})([""," .PublicRafflesHeader__title-container{"," .PublicRafflesHeader__title{"," ","}}.overlay-search{","}.sugestions-list{","}.search-item{"," .search-icon-small{","}span{color:",";font-weight:500;}}.PublicRafflesHeader__title-container{","}.search-box{"," &.is-open{z-index:999;position:relative;}.search-inner-box{"," z-index:1;}.search-icon{","}.search-input{"," background-color:",";"," font-weight:500;&.is-open{background-color:#fff;}&::placeholder{color:",";}}}.Actions{"," .Actions__input-container{"," border-color:",";","}.Actions__input{"," ","}.Actions__input-icon-container{","}.Actions__input-icon-container--right{","}.Actions__popover{","}.Actions__cta{min-width:6rem;}.Actions__separator{"," background-color:",";}}"],{position:"relative","@media (min-width: 64em)":{display:"flex",alignItems:"center",justifyContent:"space-between"}},{paddingLeft:"1rem",paddingRight:"1rem"},f.y6.VB,{fontWeight:"700"},{position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px",backgroundColor:"rgba(0, 0, 0, 0.2)",zIndex:"10"},{position:"absolute",width:"100%",marginTop:"0.25rem","--tw-bg-opacity":"1",backgroundColor:"rgba(255, 255, 255, var(--tw-bg-opacity))",borderWidth:"1px",borderRadius:"0.375rem","--tw-shadow":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-sha
1dow)",top:"38px"},{width:"100%",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",textAlign:"left",":hover":{"--tw-bg-opacity":"1",backgroundColor:"rgba(243, 244, 246, var(--tw-bg-opacity))"},":focus":{outline:"2px solid transparent",outlineOffset:"2px"},display:"flex",alignItems:"center","> :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":0,marginRight:"calc(0.75rem * var(--tw-space-x-reverse))",marginLeft:"calc(0.75rem * calc(1 - var(--tw-space-x-reverse)))"}},{width:"1.25rem",height:"1.25rem"},u.MA.gray13,{paddingTop:"1rem","@media (min-width: 64em)":{paddingTop:"0px"}},{position:"relative",width:"100%",flex:"1 1 0%",paddingTop:"1rem","@media (min-width: 64em)":{paddingTop:"0px"}},{position:"relative",width:"100%",maxWidth:"600px",marginLeft:"auto",marginRight:"auto"},{position:"absolute",left:"0.75rem",top:"8px","--tw-text-opacity":"1",color:"rgba(156, 163, 175, var(--tw-text-opacity))"},{width:"100%",paddingLeft:"2.5rem",paddingRight:"2.5rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",borderWidth:"1px",":focus":{outline:"2px solid transparent",outlineOffset:"2px","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-sha
1dow, 0 0 #0000)"},borderRadius:"20px","::placeholder":{"--tw-placeholder-opacity":"1",color:"rgba(156, 163, 175, var(--tw-placeholder-opacity))"}},u.MA.gray7,f.y6.d1,u.MA.gray6,{display:"flex",alignItems:"center",justifyContent:"space-between",paddingLeft:"0.25rem",paddingRight:"0.25rem",paddingTop:"1rem","@media (min-width: 64em)":{paddingTop:"0px",position:"relative"}},{width:"100%",height:"3rem",borderWidth:"1px",display:"flex",alignItems:"center",paddingLeft:"0.5rem",paddingRight:"0.5rem",borderRadius:"0.375rem",overflow:"hidden",marginLeft:"0.25rem",marginRight:"0.25rem"},u.ek.green2,m.BC.greaterThan("lg")(r||(r=(0,c.Z)(["\n        width: 18rem;\n      "]))),{height:"100%",width:"100%",outline:"2px dotted white",outlineOffset:"2px"},f.y6.d1,{marginLeft:"0.5rem",marginRight:"0.5rem"},{paddingLeft:"0.25rem"},{display:"flex",alignItems:"center"},{width:"0.125rem",height:"2.25rem",marginLeft:"1.5rem",marginRight:"1.5rem"},u.MA.gray8),h=(d.ZP.div.withConfig({displayName:"styles__Chips",componentId:"sc-e0rkir-1"})([""," .Chip{"," "," background-color:",";}"],{display:"flex",paddingTop:"0.25rem",paddingBottom:"0px",flexWrap:"wrap",paddingLeft:"0.25rem",paddingRight:"0.25rem","@media (min-width: 48em)":{justifyContent:"flex-end"}},{borderRadius:"1.5rem",marginLeft:"0.25rem",marginRight:"0.25rem",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"0.25rem",paddingBottom:"0.25rem",marginTop:"0.25rem",marginBottom:"0.25rem"},f.y6.VJ,u.MA.gray7),d.ZP.div.withConfig({displayName:"styles__CategoryItems",componentId:"sc-e0rkir-2"})([""," a{"," background-color:",";color:",";"," &:hover,&.active{color:#fff;background:",";}}a.link-button{"," font-weight:500;border-radius:20px;&.is-hidden{display:none;}","}button{&.show-all{"," border-radius:20px;background-color:",";&:hover{background:",";}}&.link-button{"," color:",";border-radius:20px;background-color:",";color:",";font-weight:500;&:hover{background:",";}&.active{color:#fff;background:",";}&.is-hidden{display:none;}","}}",";",";"],{paddingTop:"1rem",paddingBottom:"0px",display:"flex",flexWrap:"wrap",alignItems:"center",justifyContent:"flex-start","@media (min-width: 48em)":{paddingTop:"2rem",paddingBottom:"1.5rem"},"@media (min-width: 64em)":{overflowY:"scroll",overflow:"hidden"}},{cursor:"pointer",paddingLeft:"1rem",paddingRight:"1rem",marginRight:"1.5rem",marginTop:"0.25rem",marginBottom:"0.25rem",borderRadius:"0.375rem",float:"left",fontSize:"1rem",lineHeight:"1.5rem"},u.MA.gray7,u.MA.gray6,m.BC.lessThan("md")(i||(i=(0,c.Z)(["\n    height: 40px;\n    align-items: center;\n    float: none;\n    flex-shrink: 0;\n  "]))),u.MA.gray20,{display:"flex",alignItems:"center",justifyContent:"center",paddingTop:"0px",height:"40px",marginRight:"0.75rem",marginTop:"0.75rem"},m.BC.lessThan("lg")(a||(a=(0,c.Z)(["\n    float: none;\n    flex-shrink: 0;\n    margin-right: 0.75rem;\n  "]))),{cursor:"pointer",marginRight:"0.75rem",marginTop:"1rem",marginBottom:"0.25rem",borderRadius:"0.375rem",float:"left",fontSize:"1rem",lineHeight:"1.5rem",paddingLeft:"1rem",paddingRight:"1rem",height:"40px"},u.MA.gray7,u.MA.gray20,{cursor:"pointer",paddingLeft:"1rem",paddingRight:"1rem",borderRadius:"0.375rem",float:"left",fontSize:"1rem",lineHeight:"1.5rem",height:"40px",marginRight:"0.75rem",marginTop:"0.75rem"},u.MA.gray6,u.MA.gray7,u.MA.gray6,u.MA.gray20,u.MA.gray6,m.BC.lessThan("lg")(o||(o=(0,c.Z)(["\n        background-color: ",";\n        height: 40px;\n        align-items: center;\n        float:none;\n       flex-shrink: 0;\n\n    \n    "])),u.MA.gray7),m.BC.greaterThan("md")(s||(s=(0,c.Z)(["\n     width: 100%;\n     max-width: 100%;\n     &.full-width{\n     \n     a{\n      ","\n     }\n  "])),{marginRight:"1rem"}),m.BC.lessThan("md")(l||(l=(0,c.Z)(["\n      max-width: 100%;\n      margin:0 16px;\n    "])))))},20945:function(e,t,n){"use strict";var r=n(17674),i=n(67294),a=n(10708),o=n(11163),s=n(45846),l=n(6913);t.Z=function(e,t,n,c){var d,u,m=(0,o.useRouter)(),f="locale"in m.query?null===(d=m.query)||void 0===d||null===(u=d.locale)||void 0===u?void 0:u.toString():"en",p=(0,a.Z)(["selected_language"]),h=(0,r.Z)(p,1)[0],g=(0,s.pL)(n.pageTitle,e,h.selected_language?h.selected_language:"en",t),v=(0,s.ab)(n.pageDescription,e,h.selected_language?h.selected_language:"en",t);return(0,i.useEffect)((function(){var n=c||h.selected_language||f||"en",r=null!==e&&void 0!==e&&e[n]?n:null!==e&&void 0!==e&&e.es&&String(n).toLowerCase().startsWith("es")?"es":n,i=null===e||void 0===e?void 0:e[r||"en"];null!==i&&void 0!==i&&i.common&&(Array.isArray(t)?t.forEach((function(e){l.Z.addResourceBundle(r||"en",e,(null===i||void 0===i?void 0:i[e])||{})})):l.Z.addResourceBundle(r||"en",t,(null===i||void 0===i?void 0:i[t])||{}),l.Z.addResourceBundle(r||"en","common",(null===i||void 0===i?void 0:i.common)||{}
1),setTimeout((function(){l.Z.changeLanguage(r).catch((function(e){return console.error(e)}))}),10))}),[e,f,c]),{title:g,description:v}}},40893:function(e,t,n){"use strict";var r=n(67294),i=n(11163),a=n(16283);t.Z=function(){var e=(0,i.useRouter)();(0,r.useEffect)((function(){e.isReady&&(0,a.Ix)()}),[e.isReady,e.asPath])}},79886:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return Re},default:function(){return Ie}});var r,i,a,o,s,l,c,d,u,m,f,p=n(67294),h=n(18692),g=n(37300),v=n(87473),x=n(11163),y=n(85444),b=n(7413),w=n(41507),j=y.ZP.div.withConfig({displayName:"styles__Root",componentId:"sc-1lnxjnm-0"})(["",""],{paddingTop:"5rem",paddingBottom:"2rem","@media (min-width: 64em)":{paddingTop:"6rem"}}),_=y.ZP.div.withConfig({displayName:"styles__Loader",componentId:"sc-1lnxjnm-1"})([""," background-color:",";box-shadow:1px 2px 8px 0px rgba(0,0,0,0.15);"],{display:"flex",height:"2.5rem",width:"2.5rem",alignItems:"center",justifyContent:"center",borderRadius:"9999px",marginLeft:"auto",marginRight:"auto",marginTop:"1rem"},w.ue.white),k=y.ZP.div.withConfig({displayName:"styles__ListContainer",componentId:"sc-1lnxjnm-2"})(["> div{"," max-width:100rem !important;}"],{"@media (min-width: 64em)":{marginLeft:"auto",marginRight:"auto"}}),T=(y.ZP.div.withConfig({displayName:"styles__EmptyState",componentId:"sc-1lnxjnm-3"})([""," ",""],{paddingLeft:"0.5rem",paddingRight:"0.5rem",paddingTop:"1rem",paddingBottom:"1rem","@media (min-width: 64em)":{padding:"1rem"}},b.y6.d1),n(17674)),C=n(41664),R=n.n(C),I=n(67421),N=n(71383),P=n(17680),M=y.ZP.section.withConfig({displayName:"styles__Section",componentId:"sc-1kphzls-0"})([""," max-width:90rem !important;h3{"," span:last-child{","}}.font-weight_extra{font-weight:800;}div.image{"," "," img{","}.overlay{"," .line{","}line-height:1.1 !important;}}div.text{"," div:first-child{"," h2{","}p{","}}.description{","}.more{","}}"],{width:"100%",maxWidth:"80rem",marginLeft:"auto",marginRight:"auto",paddingLeft:"0.75rem",paddingRight:"0.75rem",marginBottom:"2.5rem","@media (min-width: 48em)":{marginBottom:"5rem"}},{"--tw-text-opacity":"1",color:"rgba(161, 159, 158, var(--tw-text-opacity))",paddingTop:"1.5rem",paddingBottom:"0px"},{"--tw-text-opacity":"1",color:"rgba(59, 184, 46, var(--tw-text-opacity))"},{width:"100%",borderRadius:"0.5rem",overflow:"hidden",height:"10rem",position:"relative","@media (min-width: 36em)":{height:"16rem"},"@media (min-width: 48em)":{height:"24rem"}},P.BC.greaterThan("lg")(r||(r=(0,N.Z)(["\n      max-height: none;\n      height: 28rem;\n    "]))),{width:"100%",height:"100%",objectFit:"cover"},{position:"absolute",top:"0px",left:"0px",width:"100%",height:"100%",fontSize:"36px",paddingLeft:"2.5rem",paddingRight:"2.5rem",display:"flex",justifyContent:"center",textAlign:"center",alignItems:"center","--tw-text-opacity":"1",color:"rgba(255, 255, 255, var(--tw-text-opacity))","@media (min-width: 48em)":{fontSize:"60px"}},{flex:"1 1 0%",borderBottomWidth:"1px","--tw-border-opacity":"1",borderBottomColor:"rgba(255, 255, 255, var(--tw-border-opacity))",marginLeft:"1rem",marginRight:"1rem",display:"none","@media (min-width: 48em)":{display:"flex"}},{"--tw-text-opacity":"1",color:"rgba(67, 67, 67, var(--tw-text-opacity))",display:"grid",gridTemplateColumns:"repeat(1, minmax(0, 1fr))",paddingTop:"1rem",paddingBottom:"1rem",gap:"1rem","@media (min-width: 48em)":{gridTemplateColumns:"repeat(3, minmax(0, 1fr))"}},{display:"flex",flexDirection:"row",gap:"1rem",alignItems:"center",justifyContent:"flex-start"},{fontSize:"3rem",lineHeight:"1"},{fontWeight:"700",maxWidth:"200px"},{gridColumn:"span 2 / span 2",overflow:"hidden"},{"--tw-text-opacity":"1",color:"rgba(59, 184, 46, var(--tw-text-opacity))",display:"flex",flexDirection:"row",alignItems:"center",cursor:"pointer","@media (min-width: 48em)":{display:"none"}}),D=n(85810),Z=[{id:19,image:"/static/images/art-raffles.jpg",description:"Enter the captivating world of art raffles on Raffall and stand a chance to win exquisite masterpieces crafted by talented artists across diverse styles and genres. Discover a unique opportunity to own exclusive artwork that will enrich your living space and bring joy to your life. Whether you\u2019re an avid art enthusiast or a budding collector, art raffles promise an unforgettable experience. Embrace the beauty of artistic expression and support talented artists while participating in their art raffles. Enter now and let the magic of art adorn your world!",descriptionKey:"EnterTheCaptivatingWorld"},{id:18,image:"/static/images/cash-raffles.jpg",description:"Discover the excitement of diverse cash raffles, where you have the chance to win varying cash prizes, both big and small! Participate for a shot at winning substantial amounts that could make a real difference in your life. Whether it\u2019s a significant windfall or a smaller cash reward, the thrill of winning is equally rewarding. Imagine the possibilities\u2014treat yourself to something special, take a mini-vacation, or simply save up for a rainy day. Some cash raffles offer you more chances to win, making your dreams come true, one raffle at a time. Don\u2019t miss out on this fantastic opportunity to try your luck and potentially change your fortunes!",descriptionKey:"DiscoverTheExcitement"},{id:16,image:"/static/images/Collectables-raffles.jpg",description:"    Collectables raffles offer a unique and exciting opportunity for enthusiasts to potentially win rare and valuable items that may be difficult to find or too expensive to purchase. From vintage cars and motorcycles to rare books and antique furniture, collectable raffles g
1ive participants the chance to win items they may have only dreamed of owning. Not only is the anticipation of winning exhilarating, but entrants can also feel a sense of satisfaction in knowing that they have contributed to a worthy cause or charity while having fun and potentially acquiring a unique and valuable piece for their collection.",descriptionKey:"CollectablesRafflesOffer"},{id:15,image:"/static/images/DIY-and-Home-Improvements-raffles.jpg",description:"For DIY enthusiasts and homeowners, DIY and home improvement raffles can be a great opportunity to upgrade their living space without breaking the bank. These raffles offer a chance to win everything from kitchen appliances to home decor, power tools, and even complete home renovations. With the increasing popularity of DIY and home improvement projects, these types of raffles have become a popular way for people to get the tools and resources they need to transform their living space into a dream home. For entrants, DIY and home improvement raffles offer an exciting opportunity to win big and turn their house into a place they can be proud to call home.",descriptionKey:"ForDIYEnthusiasts"},{id:14,image:"/static/images/Vehicles-raffles.jpg",description:"Embrace the excitement of exclusive luxury car raffles, where you could win prestigious high-end automobiles from renowned brands like Ferrari, Mercedes-Benz, Lamborghini, Porsche, Aston Martin, BMW, Range Rover, Maserati, and McLaren! Experience the unmatched thrill of owning an iconic sports car or a luxurious supercar, a symbol of elegance and power. With our Raffall Guarantee, you can participate with confidence, knowing that entrants are always protected. These raffles offer you the opportunity to fulfill your dreams of driving a high-performance machine, feeling the adrenaline surge through your veins! Don\u2019t miss this chance to win the car of your dreams and elevate your lifestyle. Join now for a shot at experiencing the pinnacle of automotive excellence!",descriptionKey:"EmbraceTheExcitement"},{id:13,image:"/static/images/travel-raffles.jpg",description:"Travel raffles open the door to thrilling adventures and unforgettable journeys, offering adventure-seekers and wanderlust enthusiasts a chance to explore the world like never before. From luxury vacations to exotic destinations and all-inclusive stays at renowned resorts, these raffles make globe-trotting dreams a reality. With tailored packages to suit diverse preferences, winners can embark on romantic getaways, family adventures, or solo expeditions. Beyond the excitement of winning, travel raffles often support charitable causes, making a positive impact on lives. These experiences enrich the soul, broaden perspectives, and create lasting memories. Don\u2019t miss the chance to indulge your passion for travel, embrace new cultures, and contribute to meaningful causes. Enter our Travel Raffle today and unlock the gateway to extraordinary adventures and a lifetime of cherished memories.",descriptionKey:"TravelRafflesOpenTheDoor"},{id:12,image:"/static/images/Tickets-and-events-raffles.jpeg",description:"For those seeking entertainment, tickets and events raffles are the perfect way to score some of the most sought-after tickets to events and experiences. From exclusive concerts and festivals to sporting events and theatre performances, these raffles offer the opportunity to win tickets that may otherwise be hard to come by. With the chance to see your favourite artists, teams or shows live, tickets and events raffles provide a thrilling experience that\u2019s hard to match. Plus, entering is often more affordable than buying tickets outright, making it an appealing option for those on a budget.",descriptionKey:"ForThoseSeekingEntertainment"},{id:11,image:"/static/images/Technology-raffles.jpeg",description:"If you\u2019re a tech enthusiast, then participating in tech-related raffles is a no-brainer. These raffles offer a unique opportunity to win the latest and greatest gadgets and tech gear that you might not have been able to afford otherwise. From smartphones and laptops to gaming consoles and high-end cameras, tech raffles have it all. Plus, with the rapid pace of technological innovation, there\u2019s always something new and exciting to look forward to. So, whether you\u2019re a student, professional, or just a tech enthusiast, participating in tech-related raffles can be an exciting and rewarding experience.",descriptionKey:"IfYouAreATechEnthusiast"},{id:10,image:"/static/images/sports-raffles.jpg",description:"Sports-related raffles are a great way for enthusiasts to win top-of-the-line gear, tickets to big games, and even exclusive experiences with their favourite athletes. These raffles offer a unique chance for sports lovers to get their hands on rare memorabilia or attend once-in-a-lifetime events that they may not have been able to access otherwise. The thrill of potentially winning something that enhances their love of the sport adds excitement to the experience, and the knowledge that their participation supports a good cause makes it even more worthwhile.",descriptionKey:"SportsRelatedRaffles"},{id:9,image:"/static/images/Property-raffles.jpg",description:"House raffles can be a fantastic opportunity for people to win a dream home or a significant cash prize, often for a relatively low entry cost. Unlike traditional property purchases, house raffles can offer much more accessible opportunities for individuals who might not be able to afford a home through other means. Entrants also have the added excitement of potentially winning a valuable prize for a relatively small investment. Additionally, some house raffles support charitable causes, so participants can feel good about potentially making a difference while entering for a chance to win a grand prize. ",descriptionKey:"HouseRafflesCanBeAFantastic"},{id:8,image:"/static/images/Miscellaneous-raffles.jpg",description:"Miscellaneous raffles can offer some of the most exciting and unique prizes for raffle entrants. From tech gadgets to household appliances, there\u2019s always something interesting to be won. Unlike more specific raffles, where the prize is tailored to a particular interest or demographic, miscellaneous raffles can offer a wide range of prizes, making them a great option for anyone looking to try their luck and win something unexpected. Plus, with the added thrill of not knowing what the prize might be, there\u2019s a sense of excitement and anticipation that comes with entering a miscellaneous raffle.",descriptionKey:"MiscellaneousRafflesCanOffer"},{id:7,image:"/static/images/Kids-raffles.jpg",description:"Participating in raffles with kids-related prizes can be a fantastic experience for both parents and children alike. As an entrant, you can have the chance to win exciting prizes that your child will love, from the latest toys and games to fun experiences and adventures. Not only is it an opportunity to make your child happy, but it can also be a way to save money on expensive toys or experiences that you may 
1not be able to afford otherwise. Plus, by supporting a good cause through your participation, you can feel good about giving back while potentially winning something special for your little ones.",descriptionKey:"ParticipatingInRafflesWithKidsRelated"},{id:6,image:"/static/images/Jewellery-raffles.jpeg",description:"Experience the ultimate luxury with exclusive jewellery raffles, offering a chance to win high-end watches from renowned brands like Rolex, Cartier, Patek Philippe, Audemars Piguet, and Omega, along with stunning jewellery pieces! Admire the exquisite craftsmanship and timeless designs that define elegance in both watches and jewellery. Participate now and turn your dreams of possessing prestigious timepieces and beautiful ornaments into reality. Embrace this unique opportunity to indulge in the finest horological creations and jewels, coveted by watch enthusiasts and jewellery connoisseurs alike, worldwide!",descriptionKey:"ExperienceTheUltimateLuxuryWithExclusiveJewelleryRaffles"},{id:5,image:"../../../static/images/Health-and-Beauty-raffles.jpeg",description:"Are you looking to refresh your beauty routine or try out the latest health trend? Look no further than health and beauty raffles! These exciting raffles offer a chance to win an amazing assortment of skincare, makeup, and wellness products that will leave you looking and feeling your best. From luxurious spa treatments to the latest fitness gadgets, these raffles are a perfect opportunity to indulge in self-care without breaking the bank. With so many incredible prizes up for grabs, health and beauty raffles are a must-enter for anyone looking to enhance their well-being and beauty regimen.",descriptionKey:"AreYouLookingToRefreshYourBeautyRoutine"},{id:3,image:"/static/images/Food-and-Bevareges-raffles.jpeg",description:"Food and beverage raffles offer a unique opportunity for entrants to win delicious treats, luxury dinners, and unique culinary experiences that they may not otherwise have access to. These raffles can provide a chance to try new cuisines, indulge in high-end meals, or receive rare bottles of wine or spirits. Food and beverage raffles can be especially appealing to foodies and wine connoisseurs who are passionate about trying new things and exploring the world of gastronomy. With the chance to win premium food and beverage products, these raffles are a delicious and exciting way to add some flavour to everyday life.",descriptionKey:"FoodAndBeveragesRaffles"},{id:2,image:"/static/images/Fashion-raffles.jpeg",description:"Fashion raffles are an exciting way for fashion enthusiasts to win exclusive, limited edition pieces from their favorite designer brands. From luxury handbags to high-end clothing items, these raffles offer the chance to own rare and coveted fashion items that may otherwise be out of reach. For those with a passion for fashion, participating in a fashion raffle can be an exhilarating experience, offering the opportunity to win a unique piece that will make a statement in any wardrobe.",descriptionKey:"FashionRafflesAreAnExcitingWayForFashionEnthusiasts"},{id:1,image:"/static/images/Experiences-raffles.jpeg",description:"Experience raffles offer a unique opportunity for entrants to win unforgettable experiences that they may not have the chance to enjoy otherwise. From luxury vacations to once-in-a-lifetime adventures, experience raffles provide a chance to create unforgettable memories. Unlike material prizes, experiences can\u2019t be lost or forgotten over time, and they can bring lasting happiness and fulfilment. For those who value experiences over possessions, experience raffles are an excellent way to potentially win a dream experience at a fraction of the cost.",descriptionKey:"ExperienceRafflesOfferAUniqueOpportunityForEntrants"}],S=n(62807),F=n(85893),O=function(e){var t,n,r=e.categoryDetails,i=e.category,a=r&&r.name?r.name:"",o=p.useState(!1),s=(0,T.Z)(o,2),l=s[0],c=s[1],d=(0,I.$G)("common",{useSuspense:!1}).t,u=function(e){var t={id:0,image:"",description:"",descriptionKey:""};return Z.forEach((function(n){n.id===e&&(t=n)})),t},m=Number(null!==i&&void 0!==i&&null!==(t=i.meta)&&void 0!==t&&t.total_raffles_hosted?null===i||void 0===i||null===(n=i.meta)||void 0===n?void 0:n.total_raffles_hosted:0);return(0,F.jsxs)(M,{children:[(0,F.jsxs)("h3",{className:"px-4",children:[(0,F.jsx)("span",{children:(0,F.jsx)(R(),{href:"".concat(D._n,"discover"),children:d("Discover",{defaultValue:"Discover"})})})," ","/"," ",(0,F.jsx)("span",{children:(0,F.jsx)(R(),{href:"".concat(D._n,"public-raffles/live"),children:d("menu.publicRaffles",{defaultValue:"Public Raffles"})})})," ","/ ",(0,F.jsxs)("span",{children:[d(a,{defaultValue:a})," ",d("Raffles",{defaultValue:"Raffles"})]})]}),(0,F.jsx)("div",{className:"px-4",children:(0,F.jsx)(S.Z,{selected:r.name,showAllLink:!0,increaseMax:!0,hideSelected:!0},r.id)}),(0,F.jsxs)("div",{className:"image",children:[(0,F.jsx)("img",{src:u(r.id).image,alt:"property"}),(0,F.jsxs)("div",{className:"overlay",children:[(0,F.jsx)("div",{className:"line"}),(0,F.jsxs)("div",{className:"",children:[(0,F.jsx)("b",{children:d(a,{defaultValue:a})}),(0,F.jsx)("span",{className:"md:hidden lg:hidden",children:(0,F.jsx)("br",{})})," ",d("Raffles",{defaultValue:"Raffles"})]}),(0,F.jsx)("div",{className:"line"})]})]}),(0,F.jsxs)("div",{className:"px-4 text",children:[(0,F.jsxs)("div",{className:"",children:[(0,F.jsx)("h2",{className:"font-weight_extra",children:i.meta&&i.meta&&i.meta.total_raffles_hosted?i.meta.total_raffles_hosted:""}),(0,F.jsxs)("p",{children:[d(a,{defaultValue:a})," ",i.meta&&i.meta&&i.meta.total_raffles_hosted&&m>1?d("raffles",{defaultValue:"raffles"}):d("raffle",{defaultValue:"raffle"})," ",d("have been hosted on",{defaultValue:"have been hosted on"})," Raffall"]})]}),(0,F.jsx)("div",{className:"description",style:{height:l?"auto":140}
1,children:d(u(r.id).descriptionKey,{defaultValue:u(r.id).description})}),(0,F.jsx)("div",{className:"more",children:(0,F.jsxs)("a",{role:"button",tabIndex:0,onClick:function(){return c((function(e){return!e}))},children:[d("Show",{defaultValue:"Show"})," ",l?d("Less",{defaultValue:"Less"}):d("More",{defaultValue:"More"})]})})]})]})},A=y.ZP.section.withConfig({displayName:"styles__Section",componentId:"sc-mswzf-0"})([""," max-width:90rem !important;h2{","}.grid{"," box-shadow:0px 0px 3px #9999;max-width:100rem !important;a{min-width:21.3rem;","}max-height:1280px;overflow-y:scroll !important;}.btn-container{","}"],{width:"100%",maxWidth:"80rem",marginLeft:"auto",marginRight:"auto",paddingLeft:"0.75rem",paddingRight:"0.75rem",marginBottom:"3rem"},{fontSize:"1.5rem",lineHeight:"2rem",fontWeight:"700","--tw-text-opacity":"1",color:"rgba(67, 67, 67, var(--tw-text-opacity))",marginTop:"1rem",marginBottom:"1rem"},{display:"grid",gridTemplateColumns:"repeat(1, minmax(0, 1fr))",padding:"1rem","--tw-bg-opacity":"1",backgroundColor:"rgba(242, 242, 242, var(--tw-bg-opacity))",borderRadius:"0.25rem",gap:"1rem","@media (min-width: 36em)":{gridTemplateColumns:"repeat(2, minmax(0, 1fr))"},"@media (min-width: 48em)":{gridTemplateColumns:"repeat(2, minmax(0, 1fr))"},"@media (min-width: 64em)":{gridTemplateColumns:"repeat(3, minmax(0, 1fr))"},"@media (min-width: 85em)":{gridTemplateColumns:"repeat(4, minmax(0, 1fr))"}},P.BC.greaterThan("lg")(i||(i=(0,N.Z)(["\n        width: 20.1rem;\n        min-width: 20.1rem;\n      "]))),{display:"flex",flexDirection:"column",alignItems:"center",paddingTop:"1rem",paddingBottom:"1rem"}),E=(y.ZP.button.withConfig({displayName:"styles__LoadButton",componentId:"sc-mswzf-1"})(["",""],{"--tw-border-opacity":"1",borderColor:"rgba(59, 184, 46, var(--tw-border-opacity))","--tw-text-opacity":"1",color:"rgba(59, 184, 46, var(--tw-text-opacity))",width:"100%",maxWidth:"240px",paddingTop:"0.5rem",paddingBottom:"0.5rem",fontWeight:"600",textAlign:"center",marginLeft:"auto",marginRight:"auto","@media (min-width: 48em)":{borderWidth:"1px"}}),y.ZP.div.withConfig({displayName:"styles__Item",componentId:"sc-mswzf-2"})([""," box-shadow:0px 0px 3px #9999;h3{","}"],{display:"flex",flexDirection:"column",padding:"1rem","--tw-bg-opacity":"1",backgroundColor:"rgba(255, 255, 255, var(--tw-bg-opacity))",borderRadius:"0.25rem"},{"--tw-text-opacity":"1",color:"rgba(40, 140, 29, var(--tw-text-opacity))",fontWeight:"600",fontSize:"1.25rem",lineHeight:"1.75rem",marginBottom:"1rem"}),y.ZP.div.withConfig({displayName:"styles__User",componentId:"sc-mswzf-3"})([""," img{","}p{text-[#434343]}"],{display:"flex",flexDirection:"row",gap:"0.5rem",alignItems:"center",marginBottom:"0.5rem"},{width:"2rem",height:"2rem",borderRadius:"9999px",objectFit:"cover"}),y.ZP.div.withConfig({displayName:"styles__ImageContainer",componentId:"sc-mswzf-4"})([""," min-height:8.75rem;.tags{","}"],{position:"relative"},{display:"flex",flexDirection:"row",gap:"0.5rem",alignItems:"center",justifyContent:"flex-end",top:"0.5rem",right:"0.5rem",position:"absolute"}),y.ZP.div.withConfig({displayName:"styles__Tag",componentId:"sc-mswzf-5"})([""," box-shadow:0px 0px 2px #9999;img{","}&:last-child{color:red;}"],{padding:"0.25rem",paddingLeft:"0.5rem",paddingRight:"0.5rem","--tw-bg-opacity":"1",backgroundColor:"rgba(255, 255, 255, var(--tw-bg-opacity))",display:"flex",flexDirection:"row",gap:"0.25rem",alignItems:"center",borderRadius:"0.25rem"},{height:"1rem",width:"1rem"}),y.ZP.div.withConfig({displayName:"styles__Details",componentId:"sc-mswzf-6"})([""," div:first-child{","}div:last-child{"," p:last-child{","}}"],{display:"flex",flexDirection:"row",alignItems:"flex-start",justifyContent:"space-between",width:"100%",paddingTop:"0.25rem",paddingBottom:"0.25rem"},{"--tw-text-opacity":"1",color:"rgba(118, 118, 118, var(--tw-text-opacity))"},{display:"flex",flexDirection:"column",alignItems:"flex-end"},{"--tw-text-opacity":"1",color:"rgba(59, 184, 46, var(--tw-text-opacity))",fontWeight:"600"}),n(33913)),B=n(23855),L=n(93967),V=n.n(L),z=n(9473),W=n(98130),H=n(15256),K=n(47875),q=n(2582),U=n(92845),Y=y.ZP.button.withConfig({displayName:"styles__Anchor",componentId:"sc-14mumml-0"})([""," "," width:",";box-shadow:0 2px 4px 0 rgba(0,0,0,0.1);font-size:1rem;line-height:2rem;height:3rem;"," ",""],{"--tw-text-opacity":"1",color:"rgba(255, 255, 255, var(--tw-text-opacity))",paddingTop:"0.5rem",paddingBottom:"0.5rem",paddingLeft:"1rem",paddingRight:"1rem",borderColor:"rgba(0, 0, 0, 0)",display:"block","@media (min-width: 64em)":{paddingTop:"1rem",paddingBottom:"1rem",paddingLeft:"1rem",paddingRight:"1rem"}},{alignItems:"center",justifyContent:"center",textAlign:"center",borderWidth:"1px",fontWeight:"700",borderTopLeftRadius:"0.25rem",borderTopRightRadius:"0.25rem",borderBottomLeftRadius:"0.25rem",borderBottomRightRadius:"0.25rem",cursor:"pointer"},(function(e){return e.fullWidth?"100%":"auto"}),(function(e){var t=e.buttonType;return t===q.ButtonType.Danger?U.L9:t===q.ButtonType.Secondary?U.nr:U.xh}),P.BC.greaterThan("lg")(a||(a=(0,N.Z)(["\n  line-height: 1rem;\n  "]))));function G(e){var t=e.label,n=e.href,r=void 0===n?"/":n,i=e.type,a=void 0===i?q.ButtonType.Primary:i,o=e.uppercase,s=void 0!==o&&o,l=e.fullWidth,c=void 0===l||l,d=(0,x.useRouter)();return(0,p.useEffect)((function(){d.prefetch(r)}),[]),(0,F.jsx)(Y,{onClick:function(){return d.push(r)},fullWidth:c,role:"button","aria-label":t,buttonType:a,children:s?t.toUpperCase():t})}var Q=y.ZP.a.withConfig({displayName:"styles__Root",componentId:"sc-r74b4r-0"})(["display:block;box-shadow:0px 1px 4px 0px rgba(0,0,0,0.25);padding:0.5rem;border-radius:0.5rem;min-width:16.625rem;max-width:16.625rem;background-color:",";margin:0.5rem 0.5rem;position:relative;"," .starts-in-l .Footer__label{color:","!important;}.starts-in-l .small-ticker .CountdownTicker-text,.starts-in-l .CountdownTicker-text-container.small-ticker .CountdownTicker-text--red{color:","!important;}&.FluidCard{width:100%;min-width:100%;max-width:100%;margin:0;.Main__thumbnail-container{height:auto;}.Main__thumbnail{width:100%;height:auto;aspect-ratio:16 / 9;}}"," &:hover{","}&:hover .Main__thumbnail-container{","}.Main__thumbnail-cta-container{","}&:hover .Main__thumbnail-cta-container{","}.Main__thumbnail-blur{","}&:hover .Main__thumbnail-container .Main__thumbnail-blur{","}&:hover .Main__thumbnail-container .Main__thumbnail{","}"," .Meta__cert{"," svg{width:1.5rem;height:1.5rem;}}"],w.ue.white,{transitionProperty:"background-color, border-color, color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 1, 1)",transitionDuration:"300ms"},w.ek.green2,w.ek.green2,P.BC.greaterThan("md")(o||(o=(0,N.Z)(["\n    min-width: 20.3125rem;\n    max-width: 20.3125rem;\n  "]))),P.BC.greaterThan("md")(s||(s=(0,N.Z)(["\n      background-color: ",";\n    "])),w.ek.green9),{"--tw-shadow":"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-sha
1dow)"},{transitionProperty:"opacity",transitionTimingFunction:"linear",transitionDuration:"200ms",opacity:"0",pointerEvents:"none",position:"absolute",left:"0px",right:"0px",top:"0px",bottom:"0px",display:"flex",alignItems:"center",justifyContent:"center",zIndex:"20"},P.BC.greaterThan("lg")(l||(l=(0,N.Z)(["\n      ","\n    "])),{opacity:"1",pointerEvents:"auto"}),P.BC.greaterThan("lg")(c||(c=(0,N.Z)(["\n      ","\n    "])),{transitionProperty:"opacity",transitionTimingFunction:"linear",transitionDuration:"200ms",opacity:"0"}),P.BC.greaterThan("lg")(d||(d=(0,N.Z)(["\n      ","\n      background-color: rgba(0, 0, 0, 0.5);\n      box-shadow: 0 0.25rem 1.875rem rgba(0, 0, 0, 0.1);\n      backdrop-filter: blur(0.75rem);\n    "])),{position:"absolute",top:"0px",bottom:"0px",right:"0px",left:"0px",zIndex:"10",opacity:"1"}),P.BC.greaterThan("lg")(u||(u=(0,N.Z)(["\n      filter: blur(0.75rem);\n    "]))),P.BC.greaterThan("lg")(m||(m=(0,N.Z)(["\n    margin: auto;\n  "]))),{marginLeft:"0.75rem","@media (min-width: 64em)":{marginBottom:"0.25rem"}}),$=y.ZP.section.withConfig({displayName:"styles__Header",componentId:"sc-r74b4r-1"})([""," .Title{"," "," color:",";}.Host__name-container{"," h5{color:",";}}.Host{"," .Avatar{min-height:32px;min-width:32px;","}}.Host__name{"," ","}"],{marginBottom:"0.5rem"},b.y6.d1,{fontWeight:"600"},w.ek.green3,{paddingLeft:"0.5rem",paddingRight:"0.5rem",display:"flex",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},w.MA.gray13,{display:"flex",alignItems:"center"},P.BC.greaterThan("lg")(f||(f=(0,N.Z)(["\n        min-height: 2.5rem;\n        min-width: 2.5rem;\n      "]))),b.y6.d1,U.S0),J=y.ZP.section.withConfig({displayName:"styles__Main",componentId:"sc-r74b4r-2"})(["> div{"," background-color:",";}.Main__thumbnail-container{"," height:10.75rem;.Main__extra{","}.Main__extra-affiliate,.Main__extra-charity{"," background-color:","}.Main__extra-bundles{"," background-color:",";font-size:0.875rem;}.Main__extra-affiliate span,.Main__extra-charity span{"," ","}.Main__extra-charity span{color:",";}}.Main__thumbnail{","}"],{width:"100%",borderRadius:"0.25rem",overflow:"hidden"},w.MA.gray7,{width:"100%",overflow:"hidden",position:"relative"},{position:"absolute",display:"flex",top:"0.5rem",right:"0.25rem"},{display:"flex",marginLeft:"0.25rem",marginRight:"0.25rem",borderRadius:"0.25rem",padding:"0.25rem",alignItems:"center"},w.ue.white,{display:"flex",marginLeft:"0.25rem",marginRight:"0.25rem",borderRadius:"0.25rem",padding:"0.25rem",alignItems:"center",paddingLeft:"0.75rem",paddingRight:"0.75rem"},w.er.yellow5,b.y6.VJ,{paddingLeft:"0.25rem",lineHeight:"1.25rem"},w.Q6.red1,{height:"100%",width:"100%",objectFit:"cover"}),X=y.ZP.section.withConfig({displayName:"styles__Footer",componentId:"sc-r74b4r-3"})([""," .Footer__label{"," color:",";}.Footer__meta{","}.Footer__meta--green{"," color:",";}.Footer__meta--gray{"," color:",";}.Footer__meta--gray{"," color:",";}.Footer__meta--red{"," color:",";}.Footer__meta--timer{span{"," color:",";}}"],{display:"flex",justifyContent:"space-between"},b.y6.d1,w.MA.gray13,b.y6.d1,U.d6,w.ek.green2,U.d6,w.MA.gray13,U.d6,w.MA.gray13,U.d6,w.Q6.red1,U.d6,w.MA.gray13),ee=(y.ZP.a.withConfig({displayName:"styles__FluidCard",componentId:"sc-r74b4r-4"})(["width:100%;min-width:100%;max-width:100%;"]),n(96377)),te=n(59499),ne=n(4730),re=["width","height"];function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){(0,te.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oe(e){var t=e.width,n=void 0===t?16:t,r=e.height,i=void 0===r?16:r,a=(0,ne.Z)(e,re);return(0,F.jsx)("svg",ae(ae({width:n,height:i,viewBox:"0 0 24 24",fill:"none"},a),{},{children:(0,F.jsx)("path",{d:"M6.902 16.424a.534.534 0 00.094.82l1.617.656c.235.164.54.117.727-.07l2.156-2.39-1.851-2.063-2.743 3.046zm10.196 0s-6.844-7.618-6.914-7.735c.351-.21.937-.422 1.828-.422.867 0 1.453.211 1.804.422-.07.117-1.312 1.5-1.312 1.5l1.851 2.063.797-.891c.68-.75.797-1.852.282-2.719l-1.032-1.71a1.363 1.363 0 00-.398-.423c-.938-.656-2.977-.703-4.008 0a1.363 1.363 0 00-.398.422L8.566 8.642c-.023.07-.867 1.453.282 2.719l5.812 6.445c.188.211.492.258.727.
1094l1.617-.656a.534.534 0 00.094-.82z",fill:"#FC0505"})}))}var se=p.memo(oe),le=n(25131),ce=n(93401),de=n(15291),ue=n(49618),me=n(43837);var fe=function(e){var t,n,r,i,a,o,s,l,c,d,u=e.details,m=e.lastItem,f=e.fetchNextPage,h=e.isFluid,g=e.showColaboration,v=(0,p.useState)(!1),x=v[0],y=v[1],b=(0,z.v9)(ue.OG),w=(0,I.$G)(["common"]),j=w.t,_=w.i18n,k=(0,z.v9)(ue.mh),T=(0,p.useRef)(null),C=(0,H.W)({options:{root:null,rootMargin:"0px",threshold:.3}}),N=C.containerRef,M=C.isVisible,D=(0,p.useState)(!1),Z=D[0],S=D[1],O=(0,p.useMemo)((function(){var e;return!(null===(e=u.attributes.endsDate)||void 0===e||!e.date)}),[null===(t=u.attributes.endsDate)||void 0===t?void 0:t.date]),A=(0,p.useMemo)((function(){var e;if(null!==(e=u.attributes.endsDate)&&void 0!==e&&e.date){var t,n,r,i=(0,P.iN)(null===(t=u.attributes)||void 0===t?void 0:t.timezone,null===(n=u.attributes)||void 0===n||null===(r=n.endsDate)||void 0===r?void 0:r.date);return(0,E.Z)((0,B.default)(i))}return!1}),[null===(n=u.attributes)||void 0===n||null===(r=n.endsDate)||void 0===r?void 0:r.date,null===(i=u.attributes)||void 0===i?void 0:i.timezone]),L=(0,p.useMemo)((function(){var e,t,n;if(null!==(e=u.attributes)&&void 0!==e&&null!==(t=e.endsDate)&&void 0!==t&&t.date&&"undefined"!==typeof(null===(n=u.attributes)||void 0===n?void 0:n.timezone)){var r,i,a,o=(0,P.iN)(null===(r=u.attributes)||void 0===r?void 0:r.timezone,null===(i=u.attributes)||void 0===i||null===(a=i.endsDate)||void 0===a?void 0:a.date);return(0,B.default)(o).toUTCString()}return null}),[null===(a=u.attributes)||void 0===a||null===(o=a.endsDate)||void 0===o?void 0:o.date,null===(s=u.attributes)||void 0===s?void 0:s.timezone]),q=(0,p.useMemo)((function(){var e,t,n;if(null===(e=u.attributes)||void 0===e||!e.startDate)return null;var r=null===(t=u.attributes)||void 0===t?void 0:t.startDate;if(r.date&&"undefined"!==typeof(null===(n=u.attributes)||void 0===n?void 0:n.timezone)){var i,a=(0,P.iN)(null===(i=u.attributes)||void 0===i?void 0:i.timezone,r.date);return(0,B.default)(a).toUTCString()}return null}),[null===(l=u.attributes)||void 0===l?void 0:l.startDate,null===(c=u.attributes)||void 0===c?void 0:c.timezone]);(0,p.useEffect)((function(){var e;if(null!==(e=u.attributes)&&void 0!==e&&e.startDate){var t,n,r=null===(t=u.attributes)||void 0===t?void 0:t.startDate,i=(0,P.iN)(null===(n=u.attributes)||void 0===n?void 0:n.timezone,r.date);S(!(0,E.Z)((0,B.default)(i)))}}),[u.attributes.startDate]);var U=(0,p.useMemo)((function(){return M&&(null===m||void 0===m?void 0:m.id)===u.id}),[u.id,M,null===m||void 0===m?void 0:m.id]);(0,p.useEffect)((function(){U&&f&&f()}),[U,f]),(0,p.useEffect)((function(){return function(){y(!1)}}),[]);var Y=(0,p.useCallback)((function(e){var t=e.formatted,n=e.api;return(0,F.jsx)(de.Z,{countdownTimeDeltaFormatted:t,countdownApi:n,short:!0})}),[]),te=(0,p.useMemo)((function(){return L?A?(0,P.Aj)(L,"do LLLL yyyy"):(0,P.Ak)(new Date,new Date(L),!0):""}),[L,A]),ne=function(e){return new Date(e)};return(0,F.jsx)(R(),{passHref:!0,href:"/".concat(u.id,"/").concat((0,me.Z)(u.attributes.otherSlugs,_.language,u.attributes.slug)),children:(0,F.jsxs)(Q,{ref:N,className:V()({FluidCard:h}),children:[(0,F.jsxs)($,{children:[(0,F.jsx)("div",{className:"h-14",children:(0,F.jsx)("h5",{className:"Title","aria-label":"raffle-title",children:u.attributes.title})}),(0,F.jsxs)("div",{className:"Host",children:[(0,F.jsx)(K.Z,{alt:u.attributes.hosterNickname,width:32,height:32,url:u.attributes.hosterAvatarImage,onError:function(){return y(!0)},errored:x}),(0,F.jsxs)("div",{className:"Host__name-container flex-col ",children:[g?(0,F.jsx)("h5",{children:j("In colaboration with",{ns:"common",defaultValue:"In colaboration with"})}):(0,F.jsx)("h5",{children:j("hostedBy",{ns:"common",defaultValue:"Hosted by"})}),(0,F.jsxs)("div",{className:"flex space-x-2",children:[(0,F.jsx)("h5",{className:"Host__name","aria-label":"raffle-host",children:(0,F.jsx)("b",{children:u.attributes.hosterNickname})}),u.attributes.hosterVerified&&(0,F.jsx)("div",{className:"Meta__cert",children:(0,F.jsx)(le.Z,{})})]})]})]})]}),(0,F.jsx)(J,{children:(0,F.jsxs)("div",{className:"Main__thumbnail-container",children:[(0,F.jsxs)("div",{className:"Main__extra",children:[u.attributes.affiliateCommissionRate&&(0,F.jsxs)("div",{className:"Main__extra-affiliate",children:[(0,F.jsx)(ee.Z,{width:20,height:20}),(0,F.jsx)("span",{children:"Affiliate"})]}),(null===(d=u.attributes)||void 0===d?void 0:d.charityPercentage)>0&&(0,F.jsxs)("div",{className:"Main__extra-charity",children:[(0,F.jsx)(se,{width:24,height:24}),(0,F.jsxs)("span",{children:[u.attributes.charityPercentage,"%"]})]}),!A&&u.attributes.bundleOptions&&u.attributes.bundleOptions.length>0&&(0,P.mh)(u.attributes.bundleOptions)&&(0,F.jsxs)("div",{className:"Main__extra-bundles",children:[(0,F.jsx)(ce.rp,{width:14,height:14}),"\xa0",(0,F.jsx)("span",{children:j("Discounts",{ns:"common",defaultValue:"Discounts"})})]})]}),(0,F.jsx)("div",{className:"Main__thumbnail-blur"}),(0,F.jsx)("div",{className:"Main__thumbnail-cta-container",children:(0,F.jsx)(G,{href:"/".concat(u.id,"/").concat(u.attributes.slug),uppercase:!0,fullWidth:!1,label:j("View Raffle",{ns:"common"})})}),(0,F.jsx)("img",{className:"Main__thumbnail",src:u.attributes.image,alt:u.attributes.hosterNickname})]})}),(0,F.jsxs)(X,{children:[Z&&q?(0,F.jsx)(F.Fragment,{children:(0,F.jsxs)("div",{className:"starts-in-l",children:[(0,F.jsx)("div",{className:"Footer__label",children:j("StartsIn ",{ns:"common",defaultValue:"Starts in"}).toLowerCase()}),(0,F.jsx)(W.ZP,{onComplete:function(){S(!1)},ref:T,className:"",date:ne(q),renderer:Y})]})}):(0,F.jsx)(F.Fragment,{children:O?(0,F.jsxs)("div",{children:[(0,F.jsx)("div",{className:"Footer__label",children:A?j("EndedOn",{ns:"common",defaultValue:"ended on"}).toLowerCase():j("EndsIn",{ns:"common",defaultValue:"ends in"}).toLowerCase()}),M&&!A&&L?(0,F.jsx)(W.ZP,{ref:T,className:"",date:ne(L),renderer:Y},"end-count"):(0,F.jsx)("div",{"data-testid":"static-end-date",className:"Footer__meta ".concat(A?"Footer__meta--red":"Footer__meta--gray"),children:te})]}):null}),(0,F.jsxs)("div",{className:"ml-auto text-right",children:[(0,F.jsx)("div",{className:"Footer__label",children:j("ticket price",{ns:"common",defaultValue:"ticket price"})}),(0,F.jsx)("div",{className:"Footer__meta Footer__meta--green",children:0===Number(u.attributes.ticketPrice)?j("FREE",{ns:"common",defaultValue:"FREE"}):(0,P.Tb)(u.attributes.ticketPrice,b||"GBP",k)})]})]})]})})},pe=function(e){var t,n=e.category,r=e.details,i=(0,I.$G)("common",{useSuspense:!1}).t;return(0,F.jsxs)(A,{children:[(0,F.jsxs)("h2",{className:"px-4",children:[n.raffles.length," Live ",(t=i(r.name,{defaultValue:r.name}),t.charAt(0).toUpperCase()+t.slice(1))," ",n.raffles.length>1?i("Raffles",{defaultValue:"Raffles"}):i("Raffle",{defaultValue:"Raffle"})]}),(0,F.jsx)("div",{className:"grid",children:n.raffles.slice().reverse().map((function(e){return(0,F.jsx)(fe,{details:e})}))})]})},he=n(50029),ge=n(87794),ve=n.n(ge),xe=n(7710),ye=n(9669),be=n.n(ye),we=n(65885);function je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?je(Object(n),!0).forEach((function(t){(0,te.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):je(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ke=function(){var e=(0,he.Z)(ve().mark((function e(t){var n,r,i,a;return ve().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=!(null===t||void 0===t||!t.cookies),r="".concat(n?D.E_:D._n,"api/2/category-by-id"),i={},n&&(i=_e(_e({},i),{},{Cookie:"".concat(D.Q_,"=").concat(new we.Z(t.cookies).get(D.Q_))})),e.next=7,be().get(r,{headers:i,params:null!==t&&void 0!==t&&t.params?_e({},t.params):{}});case 7:return a=e.sent,e.abrupt("return",{success:!0,result:a.data});case 11:return e.prev=11,e.t0=e.catch(0),e.abrupt("return",{success:!1,error:(0,xe.serializeError)(e.t0)});case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t){return e.apply(this,arguments)}}();var Te=function(e){var t=e.categoryDetails,n=(0,p.useState)(!0),r=n[0],i=n[1],a=(0,x.useRouter)(),o={categoryId:0,categoryName:"",raffles:[]},s=(0,p.useState)(o),l=s[0],c=s[1];return(0,p.useEffect)((function(){c(o),i(!0),ke({params:{categoryId:t.id,status:"Live",limit:100}}).then((function(e){i(!1);var n=e.result?{categoryId:t.id,categoryName:t.name,raffles:e.result.data,meta:e.result.meta}:o;c(n)}))}),[a.asPath]),(0,F.jsxs)(j,{children:[(0,F.jsx)(O,{categoryDetails:t,category:l},l.categoryId),(0,F.jsxs)(k,{children:[r&&(0,F.jsx)(_,{role:"alert","aria-label":"onload-indicator",children:(0,F.jsx)(v.Z,{color:w.ek.green2,size:24})}),l.categoryId>0&&(0,F.jsx)("div",{children:(0,F.jsx)(pe,{category:l,details:t})})]})]})},Ce=n(20945);var Re=!0,Ie=function(e){var t=e.categoryDetails,n=e.translations;(0,Ce.Z)(n,["public_raffles","common"],{pageTitle:"Raffall Login & Security",pageDescription:"Manage your login and security credentials for Raffall."});var r=function(e){var t={id:0,image:"",description:""};return Z.forEach((function(n){n.id===e&&(t=n)})),t};return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(g.Z,{pageTitle:"".concat(t.name," Raffles Hosted On Raffall"),pageDescription:r(t.id).description,coverImage:r(t.id).image}),(0,F.jsx)(h.k,{newFooter:!0,children:(0,F.jsx)(Te,{categoryDetails:t})})]})}},45846:function(e,t,n){"use strict";n.d(t,{K:function(){return o},ab:function(){return a},pL:function(){return i}});var r=n(17674),i=function(e,t,n,i){var a,o,s=Array.isArray(i)?i[0]:i,l=Object.entries(t).find((function(e){return(0,r.Z)(e,1)[0]===n}));if(!l)return e;var c=(0,r.Z)(l,2)[1],d=Object.entries(c).find((function(e){var t=(0,r.Z)(e,1)[0];return t===s||Array.isArray(i)&&i.includes(t)}));if(!d)return e;var u=(0,r.Z)(d,2)[1],m=null===u||void 0===u?void 0:u.meta;return null!==(a=null!==(o=null===m||void 0===m?void 0:m.seoTitle)&&void 0!==o?o:null===m||void 0===m?void 0:m.title)&&void 0!==a?a:e},a=function(e,t,n,i){var a,o,s=Array.isArray(i)?i[0]:i,l=Object.entries(t).find((function(e){return(0,r.Z)(e,1)[0]===n}));if(!l)return e;var c=(0,r.Z)(l,2)[1],d=Object.entries(c).find((function(e){var t=(0,r.Z)(e,1)[0];return t===s||Array.isArray(i)&&i.includes(t)}));if(!d)return e;var u=(0,r.Z)(d,2)[1],m=null===u||void 0===u?void 0:u.meta;return null!==(a=null!==(o=null===m||void 0===m?void 0:m.seoDescription)&&void 0!==o?o:null===m||void 0===m?void 0:m.description)&&void 0!==a?a:e},o=function(e,t){return{title:t(e.title,{ns:"common",defaultValue:e.title}),description:"".concat(t(e.description,{ns:"common",defaultValue:e.description})," ").concat(e.description_other||""),label:t(e.label,{ns:"common",defaultValue:e.label}),isButtonDisabled:e.isButtonDisabled}}},43837:function(e,t){"use strict";t.Z=function(e,t,n){return e[t]||n}},83374:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/win/[id]",function(){return n(79886)}])},87473:function(e,t,n){"use strict";var r=n(67294),i=n(62045),a=n(32919),o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},l=(0,a.i)("ClipLoader","0% {transform: rotate(0deg) scale(1)} 50% {transform: rotate(180deg) scale(0.8)} 100% {transform: rotate(360deg) scale(1)}","clip");t.Z=function(e){var t=e.loading,n=void 0===t||t,a=e.color,c=void 0===a?"#000000":a,d=e.speedMultiplier,u=void 0===d?1:d,m=e.cssOverride,f=void 0===m?{}:m,p=e.size,h=void 0===p?35:p,g=s(e,["loading","color","speedMultiplier","cssOverride","size"]),v=o({background:"transparent !important",width:(0,i.E)(h),height:(0,i.E)(h),borderRadius:"100%",border:"2px s
1olid",borderTopColor:c,borderBottomColor:"transparent",borderLeftColor:c,borderRightColor:c,display:"inline-block",animation:"".concat(l," ").concat(.75/u,"s 0s infinite linear"),animationFillMode:"both"},f);return n?r.createElement("span",o({style:v},g)):null}},93967:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=o(e,a(n)))}return e}function a(e){if("string"===typeof e||"number"===typeof e)return e;if("object"!==typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=o(t,n));return t}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},17258:function(e,t,n){"use strict";n.d(t,{v:function(){return V}});var r=n(67294),i=n(94192),a=n(73781),o=n(19946),s=n(16723),l=n(39650),c=n(51074),d=n(14157),u=n(23784);let m=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function f(e){var t,n;let r=null!=(t=e.innerText)?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return r;let a=!1;for(let s of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))s.remove(),a=!0;let o=a?null!=(n=i.innerText)?n:"":r;return m.test(o)&&(o=o.replace(m,"")),o}function p(e){let t=(0,r.useRef)(""),n=(0,r.useRef)("");return(0,a.z)((()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let a=function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let e=n.split(" ").map((e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():f(t).trim()}return null})).filter(Boolean);if(e.length>0)return e.join(", ")}return f(e).trim()}(r).trim().toLowerCase();return t.current=i,n.current=a,a}))}var h,g=n(40476),v=n(31591),x=n(16567),y=n(64103),b=n(11497),w=n(9362),j=n(84575),_=n(32984),k=n(12351),T=n(61363),C=((h=C||{})[h.Open=0]="Open",h[h.Closed=1]="Closed",h),R=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(R||{}),I=(e=>(e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem",e))(I||{});function N(e,t=(e=>e)){let n=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,r=(0,j.z2)(t(e.items.slice()),(e=>e.dataRef.current.domRef.current)),i=n?r.indexOf(n):null;return-1===i&&(i=null),{items:r,activeItemIndex:i}}let P={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,__demoMode:!1,menuState:0},2:(e,t)=>{var n;let r=N(e),i=(0,b.d)(t,{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeItemIndex:i,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>{let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find((e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))&&!e.dataRef.current.disabled})),a=i?e.items.indexOf(i):-1;return-1===a||a===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:a,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let n=N(e,(e=>[...e,{id:t.id,dataRef:t.dataRef}]));return{...e,...n}},6:(e,t)=>{let n=N(e,(e=>{let n=e.findIndex((e=>e.id===t.id));return-1!==n&&e.splice(n,1),e}));return{...e,...n,activationTrigger:1}}},M=(0,r.createContext)(null);function D(e){let t=(0,r.useContext)(M);if(null===t){let t=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,D),t}return t}function Z(e,t){return(0,_.E)(t.type,P,e,t)}M.displayName="MenuContext";let S=r.Fragment;let F=k.AN.RenderStrategy|k.AN.Static;let O=r.Fragment;let A=(0,k.yV)((function(e,t){let{__demoMode:n=!1,...i}=e,o=(0,r.useReducer)(Z,{__demoMode:n,menuState:n?0:1,buttonRef:(0,r.createRef)(),itemsRef:(0,r.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:s,itemsRef:c,buttonRef:d},m]=o,f=(0,u.T)(t);(0,l.O)([d,c],((e,t)=>{var n;m({type:1}),(0,j.sP)(t,j.tJ.Loose)||(e.preventDefault(),null==(n=d.current)||n.focus())}),0===s);let p=(0,a.z)((()=>{m({type:1})})),h=(0,r.useMemo)((()=>({open:0===s,close:p})),[s,p]),g={ref:f};return r.createElement(M.Provider,{value:o},r.createElement(x.up,{value:(0,_.E)(s,{0:x.ZM.Open,1:x.ZM.Closed})},(0,k.sY)({ourProps:g,theirProps:i,slot:h,defaultTag:S,name:"Menu"})))})),E=(0,k.yV)((function(e,t){var n;let s=(0,o.M)(),{id:l=`headlessui-menu-button-${s}`,...c}=e,[m,f]=D("Menu.Button"),p=(0,u.T)(m.buttonRef,t),h=(0,i.G)(),g=(0,a.z)((e=>{switch(e.key){case T.R.Space:case T.R.Enter:case T.R.ArrowDown:e.preventDefault(),e.stopPropagation(),f({type:0}),h.nextFrame((()=>f({type:2,focus:b.T.First})));break;case T.R.ArrowUp:e.preventDefault(),e.stopPropagation(),f({type:0}),h.nextFrame((()=>f({type:2,focus:b.T.Last}
1)))}})),v=(0,a.z)((e=>{if(e.key===T.R.Space)e.preventDefault()})),x=(0,a.z)((t=>{if((0,y.P)(t.currentTarget))return t.preventDefault();e.disabled||(0===m.menuState?(f({type:1}),h.nextFrame((()=>{var e;return null==(e=m.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))):(t.preventDefault(),f({type:0})))})),w=(0,r.useMemo)((()=>({open:0===m.menuState})),[m]),j={ref:p,id:l,type:(0,d.f)(e,m.buttonRef),"aria-haspopup":"menu","aria-controls":null==(n=m.itemsRef.current)?void 0:n.id,"aria-expanded":0===m.menuState,onKeyDown:g,onKeyUp:v,onClick:x};return(0,k.sY)({ourProps:j,theirProps:c,slot:w,defaultTag:"button",name:"Menu.Button"})})),B=(0,k.yV)((function(e,t){var n,s;let l=(0,o.M)(),{id:d=`headlessui-menu-items-${l}`,...m}=e,[f,p]=D("Menu.Items"),h=(0,u.T)(f.itemsRef,t),g=(0,c.i)(f.itemsRef),y=(0,i.G)(),_=(0,x.oJ)(),C=null!==_?(_&x.ZM.Open)===x.ZM.Open:0===f.menuState;(0,r.useEffect)((()=>{let e=f.itemsRef.current;e&&0===f.menuState&&e!==(null==g?void 0:g.activeElement)&&e.focus({preventScroll:!0})}),[f.menuState,f.itemsRef,g]),(0,v.B)({container:f.itemsRef.current,enabled:0===f.menuState,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let R=(0,a.z)((e=>{var t,n;switch(y.dispose(),e.key){case T.R.Space:if(""!==f.searchQuery)return e.preventDefault(),e.stopPropagation(),p({type:3,value:e.key});case T.R.Enter:if(e.preventDefault(),e.stopPropagation(),p({type:1}),null!==f.activeItemIndex){let{dataRef:e}=f.items[f.activeItemIndex];null==(n=null==(t=e.current)?void 0:t.domRef.current)||n.click()}(0,j.wI)(f.buttonRef.current);break;case T.R.ArrowDown:return e.preventDefault(),e.stopPropagation(),p({type:2,focus:b.T.Next});case T.R.ArrowUp:return e.preventDefault(),e.stopPropagation(),p({type:2,focus:b.T.Previous});case T.R.Home:case T.R.PageUp:return e.preventDefault(),e.stopPropagation(),p({type:2,focus:b.T.First});case T.R.End:case T.R.PageDown:return e.preventDefault(),e.stopPropagation(),p({type:2,focus:b.T.Last});case T.R.Escape:e.preventDefault(),e.stopPropagation(),p({type:1}),(0,w.k)().nextFrame((()=>{var e;return null==(e=f.buttonRef.current)?void 0:e.focus({preventScroll:!0})}
1));break;case T.R.Tab:e.preventDefault(),e.stopPropagation(),p({type:1}),(0,w.k)().nextFrame((()=>{(0,j.EO)(f.buttonRef.current,e.shiftKey?j.TO.Previous:j.TO.Next)}));break;default:1===e.key.length&&(p({type:3,value:e.key}),y.setTimeout((()=>p({type:4})),350))}})),I=(0,a.z)((e=>{if(e.key===T.R.Space)e.preventDefault()})),N=(0,r.useMemo)((()=>({open:0===f.menuState})),[f]),P={"aria-activedescendant":null===f.activeItemIndex||null==(n=f.items[f.activeItemIndex])?void 0:n.id,"aria-labelledby":null==(s=f.buttonRef.current)?void 0:s.id,id:d,onKeyDown:R,onKeyUp:I,role:"menu",tabIndex:0,ref:h};return(0,k.sY)({ourProps:P,theirProps:m,slot:N,defaultTag:"div",features:F,visible:C,name:"Menu.Items"})})),L=(0,k.yV)((function(e,t){let n=(0,o.M)(),{id:i=`headlessui-menu-item-${n}`,disabled:l=!1,...c}=e,[d,m]=D("Menu.Item"),f=null!==d.activeItemIndex&&d.items[d.activeItemIndex].id===i,h=(0,r.useRef)(null),v=(0,u.T)(t,h);(0,s.e)((()=>{if(d.__demoMode||0!==d.menuState||!f||0===d.activationTrigger)return;let e=(0,w.k)();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=h.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[d.__demoMode,h,f,d.menuState,d.activationTrigger,d.activeItemIndex]);let x=p(h),y=(0,r.useRef)({disabled:l,domRef:h,get textValue(){return x()}});(0,s.e)((()=>{y.current.disabled=l}),[y,l]),(0,s.e)((()=>(m({type:5,id:i,dataRef:y}),()=>m({type:6,id:i}))),[y,i]);let _=(0,a.z)((()=>{m({type:1})})),T=(0,a.z)((e=>{if(l)return e.preventDefault();m({type:1}),(0,j.wI)(d.buttonRef.current)})),C=(0,a.z)((()=>{if(l)return m({type:2,focus:b.T.Nothing});m({type:2,focus:b.T.Specific,id:i})})),R=(0,g.g)(),I=(0,a.z)((e=>R.update(e))),N=(0,a.z)((e=>{R.wasMoved(e)&&(l||f||m({type:2,focus:b.T.Specific,id:i,trigger:0}))})),P=(0,a.z)((e=>{R.wasMoved(e)&&(l||f&&m({type:2,focus:b.T.Nothing}))})),M=(0,r.useMemo)((()=>({active:f,disabled:l,close:_})),[f,l,_]);return(0,k.sY)({ourProps:{id:i,ref:v,role:"menuitem",tabIndex:!0===l?void 0:-1,"aria-disabled":!0===l||void 0,disabled:void 0,onClick:T,onFocus:C,onPointerEnter:I,onMouseEnter:I,onPointerMove:N,onMouseMove:N,onPointerLeave:P,onMouseLeave:P},theirProps:c,slot:M,defaultTag:O,name:"Menu.Item"})})),V=Object.assign(A,{Button:E,Items:B,Item:L})},40476:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n(67294);function i(e){return[e.screenX,e.screenY]}function a(){let e=(0,r.useRef)([-1,-1]);return{wasMoved(t){let n=i(t);return(e.current[0]!==n[0]||e.current[1]!==n[1])&&(e.current=n,!0)},update(t){e.current=i(t)}}}},31591:function(e,t,n){"use strict";n.d(t,{B:function(){return o}});var r=n(67294),i=n(15466),a=n(16723);function o({container:e,accept:t,walk:n,enabled:o=!0}){let s=(0,r.useRef)(t),l=(0,r.useRef)(n);(0,r.useEffect)((()=>{s.current=t,l.current=n}),[t,n]),(0,a.e)((()=>{if(!e||!o)return;let t=(0,i.r)(e);if(!t)return;let n=s.current,r=l.current,a=Object.assign((e=>n(e)),{acceptNode:n}),c=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,a,!1);for(;c.nextNode();)r(c.currentNode)}),[e,o,s,l])}},11497:function(e,t,n){"use strict";n.d(t,{T:function(){return i},d:function(){return a}});var r,i=((r=i||{})[r.First=0]="First",r[r.Previous=1]="Previous",r[r.Next=2]="Next",r[r.Last=3]="Last",r[r.Specific=4]="Specific",r[r.Nothing=5]="Nothing",r);function a(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=null!=r?r:-1;switch(e.focus){case 0:for(let e=0;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 1:for(let e=i-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 2:for(let e=i+1;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 3:for(let e=n.length-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 4:for(let r=0;r<n.length;++r)if(t.resolveId(n[r],r,n)===e.id)return r;return r;case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}}}},function(e){e.O(0,[6139,5495,8173,8823,4121,4633,8561,996,9025,8560,751,9774,2888,179],(function(){return t=83374,e(e.s=t);var t}));var t=e.O();_N_E=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.