PageSourceSearch

https://fb0f85a6-9dfc-4982-aa42-ecf4674c6f0d.netlify.app/GoalProgress-db6cb7fd62eeed39cd67.js

js fb0f85a6-9dfc-4982-aa42-ecf4674c6f0d.netlify.app collected 2026-10-03 11:10:35 UTC 2,640 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkx06fb_d671785a_13f2_4fac_9eb0_47d57c004005=self.webpackChunkx06fb_d671785a_13f2_4fac_9eb0_47d57c004005||[]).push([[723],{61856:function(t,i,o){o.r(i),o.d(i,{default:function(){return m}});var e=o(86326),n=o(72228),r=o(52994),a=o(86329),l=o(20141),s=o(60969),d=o(18948),g=o(12387);var u={container:{display:"flex",alignItems:"center"},progressContainer:{flex:1,height:"16px"},progressRail:{position:"relative",backgroundColor:g.o.PRIMARY,height:"100%",borderTopLeftRadius:"maximum",borderBottomLeftRadius:"maximum",marginRight:"-0.25rem"},progressBar:{background:t=>{let{rawColors:i}=t;const o=(0,d.EP)(null==i?void 0:i.muted).toRgbString(),e=(0,d.EP)(null==i?void 0:i.primary).shade(15).toRgbString();return`linear-gradient(90deg, ${o} 0%, ${e} 90%, ${e} 100%)`},color:g.o.READABLE_ON_PRIMARY,position:"absolute",left:0,top:"-6px",height:"28px",minWidth:"28px",paddingX:"0.625rem",borderRadius:"large",fontSize:3,display:"flex",alignItems:"center",justifyContent:"flex-end"},goalContainer:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",color:g.o.READABLE_ON_PRIMARY,fontSize:3,fontWeight:"bold",lineHeight:1.25,width:"64px",height:"64px",borderRadius:"maximum",backgroundColor:g.o.PRIMARY},goalContainerComplete:{background:t=>{let{rawColors:i}=t;return`linear-gradient(90deg, ${(0,d.EP)(null==i?void 0:i.primary).shade(15).toRgbString()}, ${(0,d.EP)(null==i?void 0:i.primary).toRgbString()})`}},goalIcon:{display:"inline-flex",fontSize:10}};const p=t=>{let{memberPoints:i,rewardsItems:o}=t;const{formatMessage:e}=(0,a.A)();if(null==o||!o.length)return null;const d=o.find((t=>(t.pointsCost||1)>i)),g=100*Math.min(i,(null==d?void 0:d.pointsCost)||1)/((null==d?void 0:d.pointsCost)||1);return(0,l.Y)(l.xA,{gap:4},(0,l.Y)(l.IE.h2,null,e(s.A.pointsBalanceTitle)),(0,l.Y)("div",null,(0,l.Y)("div",null,d?(0,l.Y)(a.s,Object.assign({},s.A.goal,{values:{gift:d.label,points:(d.pointsCost||1)-i,strong:t=>(0,l.Y)("strong",null,t)}})):(0,l.Y)(a.s,Object.assign({},s.A.maxGoal,{values:{gift:o[o.length-1].label}}))),(0,l.Y)("div",{sx:u.container},(0,l.Y)("div",{sx:u.progressContainer},(0,l.Y)("div",{sx:u.progressRail},(0,l.Y)("div",{sx:{...u.progressBar,...d?{}:{borderTopRightRadius:0,borderBottomRightRadius:0},width:`${g}%`,animationDuration:r.XN,animationName:(0,l.i7)({"0%":{width:0},"100%":{width:`${g}%`}}).toString()}},i))),(0,l.Y)("div",{sx:{...u.goalContainer,...d?{}:u.goalContainerComplete}},(0,l.Y)("div",{sx:u.goalIcon},(0,l.Y)(n.In,{path:n.T9,size:1.5})),(0,l.Y)("div",null,(null==d?void 0:d.pointsCost)||`${o[o.length-1].pointsCost}+`)))))};var m=(0,e.memo)(p)}}]);

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.