Loading
function(t,e,n){n.d(e,{e:()=>x});var s=n(627968),i=n(661531),a=n(602853),l=n(939249),o=n(834730),r=n(403581),u=n(998304),c=n(31587),C=n(576761),E=n(617986),d=n(652215),A=n(375708),T=n(900601);function x(t){let{onClick:e,questId:n,orbMultiplierEligibility:x}=t,I=(0,c.ZP)(n),_=(0,a.r)(i.A.colors.EXPRESSIVE_GRADIENT_NITRO_PINK_START,d.NJ8.DARK).hex(),g=(0,a.r)(i.A.colors.EXPRESSIVE_GRADIENT_TENURE_BADGE_DIAMOND_END,d.NJ8.DARK).hex(),L=(0,a.r)(i.A.colors.BACKGROUND_BASE_LOWEST,d.NJ8.DARK).hex(),h=(0,a.r)(i.A.colors.BACKGROUND_BRAND).hex(),O=(0,u.cb)(_,.5),f=(0,u.cb)(g,.5),N=x===C.MA.CREPE,R=(0,C.B9)(x);if(null==I)return null;let y=R?A.intl.formatToPlainString(A.t.l2UfLG,{bonusOrbMultiplier:I}):A.intl.formatToPlainString(A.t["G+mKoo"],{bonusOrbMultiplier:I}),D=()=>{(0,E.gC)(I,x),e?.()};return N?(0,s.jsx)(l.D,{onClick:D,"aria-label":y,children:(0,s.jsx)("div",{className:T._,style:{"--custom-pill-crepe-bg":h},children:(0,s.jsx)(o.E,{variant:"text-xs/semibold",color:"always-white",children:y})})}):(0,s.jsx)(l.D,{onClick:D,"aria-label":y,children:(0,s.jsxs)("div",{className:T.I,style:{"--custom-pill-gradient-start":O,"--custom-pill-gradient-end":f,"--custom-pill-base-color":L},children:[(0,s.jsx)(r.t,{size:"xs",color:"white"}),(0,s.jsx)(o.E,{variant:"text-xs/semibold",color:"always-white",children:y})]})})}}