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