1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[418],{418:(e,o,i)=>{i.r(o),i.d(o,{default:()=>m});var t=i(37876),n=i(13173),r=i(14232),a=i(74286),l=i(66629),d=i(56557),s=i.n(d),p=i(64301),c=i.n(p),u=i(49034),b=i(30822),g=i(8345),x=i(32937);s().extend(c());let m=({onShowResult:e})=>{let[o,i]=(0,r.useState)(!1),[d,p]=(0,r.useState)(0),[c]=(0,g.A)(["appdata"]),m=c.appdata?.locale?.language?.isoCode,h="zh-Hans-MY"===m?"mycn":"zh-Hant-HK"===m?"hkcn":"zh-Hant-TW"===m?"twcn":"en-SG"===m?"ensg":"en-AU"===m?"enau":"en-NZ"===m?"ennz":"en-HK"===m?"enhk":"en-MY"===m||"ms-MY"===m?"enmy":"en-KR"===m||"ko-KR"===m?"enkr":"en",f={"2024-02-09":"2485","2024-02-10":"2486","2024-02-11":"2487","2024-02-12":"2488","2024-02-13":"2489","2024-02-14":"2490"},k=[{option:u[h].rewordOption1,discId:"2482"},{option:u[h].rewordOption2,discId:"2484"},{option:u[h].rewordOption3,discId:"2483"},{option:u[h].rewordOption4,discId:"2483"},{option:u[h].rewordOption5,discId:"2482"},{option:u[h].rewordOption6,discId:"0"}],v=()=>{let e=s()().format("YYYY-MM-DD"),t=b.cF(),n=t?localStorage.getItem("rouletteRun"):b.Jt("rouletteRun");o||(p(Math.floor(Math.random()*k.length)),i(!0),t?localStorage.setItem("rouletteRun",e):b.hZ("rouletteRun",e))};return(0,t.jsxs)(l.R1,{children:[(0,t.jsx)(x.A,{sx:{cursor:"pointer"},onClick:v,children:(0,t.jsx)(a.Wheel,{mustStartSpinning:o,prizeNumber:d,data:k,backgroundColors:["#880400","#DBB675"],textColors:["#ffffff","#880400"],fontFamily:"OutFit",fontSize:26,outerBorderColor:"#880400",outerBorderWidth:10,innerRadius:10,innerBorderColor:"#DBB675",innerBorderWidth:10,radiusLineColor:"#eeeeee",radiusLineWidth:0,spinDuration:.4,startingOptionIndex:2,textDistance:60,onStopSpinning:()=>{setTimeout(()=>{let o,t;i(!1);let n=k[d],r={prizeName:n.option,discId:n.discId};"0"===n.discId&&(o=s()().format("YYYY-MM-DD"),t="2471",Object.entries(f).forEach(([e,i])=>{e===o&&(t=i)}),r.discId=t),e(r),scrollTo(0,0)},1e3)},pointerProps:{src:"/images/roulette/spin2.svg",style:{width:"auto",height:"auto"}}})}),(0,t.jsx)(n.A,{disableElevation:!0,className:"button",onClick:v,children:u[h].spinButton})]})}},13173:(e,o,i)=>{i.d(o,{A:()=>t.A});var t=i(16966)},16966:(e,o,i)=>{i.d(o,{A:()=>d});var t=i(37876);i(14232);var n=i(76252),r=i(18042),a=i(73894);let l=(0,n.A)(r.A)(({theme:e=""})=>({fontSize:16,borderRadius:"6px",textTransform:"uppercase",cursor:"pointer",...(e=>{switch(e){case"pink":return{color:"white","&, &:hover":{backgroundColor:a.y.pink},"&:hover":{opacity:".8"}};case"black":return{backgroundColor:"black",color:"white","&, &:hover":{backgroundColor:"black"},"&:hover":{opacity:".8"}};case"purple":return{backgroundColor:a.y.button_purple,color:"white","&, &:hover":{backgroundColor:a.y.button_purple},"&:hover":{opacity:".8"}};default:return{fontWeight:"bold",borderRadius:"6px",color:"black","&, &:hover":{border:"2px solid black",opacity:1},"&:disabled":{borderColor:a.y.disabled}}}})(e),"&:disabled":{backgroundColor:a.y.disabled,borderColor:a.y.disabled,color:a.y.disabledText,cursor:"not-allowed"}})),d=e=>{let{fullWidth:o=!0,disableRipple:i=!0,...n}=e;return(0,t.jsx)(l,{disableRipple:i,fullWidth:o,...n,children:e.children})}},66629:(e,o,i)=>{i.d(o,{AO:()=>b,P2:()=>u,R1:()=>l,Xv:()=>d,fU:()=>p,fh:()=>s,kE:()=>c});var t=i(76252),n=i(38993),r=i(32937);let a=(0,n.i7)` 2 0% { 3 transform: translateY(0); 4 } 5 50% { 6 transform: translateY(-30px); 7 } 8 100% { 9 transform: translateY(0); 10 } 11`,l=(0,t.A)(r.A)` 12 display: flex; 13 flex-direction: column; 14 justify-content: center; 15 align-items: center; 16 17 > div { 18 background-image: url(${e=>e.wheelBg}); 19 background-size: cover; 20 } 21 22 & > .button { 23 width: 228px; 24 height: 50px; 25 color: #6c0b09; 26 background-color: #d39b56; 27 border-radius: 1px; 28 border: 1px solid #d39b56; 29 box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5); 30 31 &:hover { 32 background-color: #d39b56; 33 border-radius: 1px; 34 border: 1px solid #d39b56; 35 box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5); 36 } 37 } 38`,d=t.A.div` 39 display: flex; 40 flex-direction: column; 41 justify-content: center; 42 align-items: center; 43 text-align: center; 44 margin-top: 50px; 45 46 .logo { 47 padding-top: 50px; 48 max-width: 500px; 49 50 > img { 51 animation: ${a} 5s infinite; 52 } 53 } 54`,s=t.A.div` 55 background-image: url(${e=>e.url}); 56 background-size: contain; 57 background-repeat: no-repeat; 58 background-position: center; 59 width: 100%; 60 min-height: 1062px; 61 display: flex; 62 justify-content: center; 63 align-items: flex-end; 64 overflow: visible; 65 text-align: center; 66 67 .logo { 68 padding-top: 50px; 69 max-width: 500px; 70 71 > img { 72 animation: ${a} 5s infinite; 73 } 74 } 75 76 .ballon { 77 position: absolute; 78 right: -8%; 79 80 > img { 81 animation: ${a} 4.5s infinite; 82 z-index: 1; 83 overflow: visible; 84 } 85 } 86`,p=t.A.div` 87 .balloon-right { 88 position: absolute; 89 right: -4%; 90 top: ${e=>e.isMobile?"38%":"41%"}; 91 92 > img { 93 animation: ${a} 4s infinite; 94 z-index: 1; 95 overflow: visible; 96 position: relative; 97 } 98 } 99 100 .balloon-left { 101 position: absolute; 102 left: -4%; 103 top: ${e=>e.isMobile?"35%":"47%"}; 104 105 > img { 106 animation: ${a} 4.2s infinite; 107 z-index: 1; 108 overflow: visible; 109 position: relative; 110 } 111 } 112`,c=t.A.div` 113 .paraglider-right { 114 position: absolute; 115 right: -2%; 116 top: ${e=>e.isMobile?"55%":"66%"}; 117 display: ${e=>e.isMobile?"none":"unset"}; 118 119 > img { 120 animation: ${a} 4.6s infinite; 121 z-index: 1; 122 overflow: visible; 123 } 124 } 125 126 .paraglider-left { 127 position: absolute; 128 left: -4%; 129 top: ${e=>e.isMobile?"59%":"72%"}; 130 display: ${e=>e.isMobile?"none":"unset"}; 131 132 > img { 133 animation: ${a} 3.8s infinite; 134 z-index: 1; 135 overflow: visible; 136 position: absolute; 137 top: ${e=>e.isMobile?"48%":"64%"}; 138 } 139 } 140`,u=t.A.div` 141 display: flex; 142 flex-direction: column; 143 justify-content: end; 144 gap: 50px; 145 align-items: center; 146 margin-top: -8px; 147 background-image: url("https://c.cdnsbn.com/images/common/26anniphrase3sep24_moreoffers_bg.png"); 148 background-size: auto 100%; 149 background-repeat: no-repeat; 150 background-position: center; 151 min-height: 1131px; 152 padding-top: 50px; 153 154 .ballon { 155 margin-top: 80px; 156 margin-bottom: 30px; 157 } 158`,b=t.A.div` 159 background-image: url("https://c.cdnsbn.com/images/common/26anniphrase3sep24_deluxe_bg1.png"); 160 background-size: cover; 161 background-repeat: no-repeat; 162 background-position: center; 163 margin-top: -8px; 164 position: relative; 165 min-height: ${e=>e.isMobile?"auto":"1160px"}; 166 167 display: flex; 168 justify-content: center; 169 align-items: center; 170 flex-direction: column; 171 172 .gift-box { 173 max-width: 100%; 174 z-index: 5; 175 } 176 177 .gift-set { 178 display: flex; 179 justify-content: space-between; 180 max-width: 90%; 181 z-index: 5; 182 } 183 184 .cone { 185 position: absolute; 186 left: 36px; 187 bottom: 45%; 188 z-index: 1; 189 } 190 191 .ballon { 192 position: absolute; 193 right: 36px; 194 bottom: 45%; 195 z-index: 1; 196 } 197`}}]);
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.