PageSourceSearch

https://www.rooter.gg/_next/static/chunks/pages/diamond-payout-7ba5b785efd7f48d.js

js rooter.gg collected 2026-10-01 11:28:01 UTC 37,218 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3270,4278],{39153:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/diamond-payout",function(){return n(80529)}])},93754:function(e,t,n){"use strict";n.d(t,{BA:function(){return r},YS:function(){return i},jM:function(){return o}});var a=n(11163);let o=()=>{let e=(0,a.useRouter)();return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"replace",{query:a}=e;delete a[t],e[n]({query:a},void 0,{shallow:!0})}},r=()=>{let e=(0,a.useRouter)();return t=>{let{addParams:n={},removeParams:a=[],type:o="push"}=t,{query:r}=e;Array.isArray(a)&&a.forEach(e=>{delete r[e]});let i={...r,...n};e[o]({query:i},void 0,{shallow:!0})}},i=()=>{let e=(0,a.useRouter)();return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"push";e[n]({query:{...e.query,...t}},void 0,{shallow:!0})}}},71570:function(e,t,n){"use strict";var a=n(85893),o=n(91444),r=n(61075);t.Z={info:e=>{if(e)return o.Am.info(e,{closeButton:e=>{let{closeToast:t}=e;return(0,a.jsx)(r.Z,{modeType:"dark",name:"cross",onClick:t,style:{width:"2.4rem",cursor:"pointer"}})}})},error:e=>{if(e)return o.Am.error(e,{closeButton:e=>{let{closeToast:t}=e;return(0,a.jsx)(r.Z,{modeType:"dark",name:"cross",onClick:t,style:{width:"2.4rem",cursor:"pointer"}})}})},warn:e=>{if(e)return o.Am.warning(e,{closeButton:e=>{let{closeToast:t}=e;return(0,a.jsx)(r.Z,{modeType:"dark",name:"cross",onClick:t,style:{width:"2.4rem",cursor:"pointer"}})}})},success:e=>{if(e)return o.Am.success(e,{closeButton:e=>{let{closeToast:t}=e;return(0,a.jsx)(r.Z,{modeType:"dark",name:"cross",onClick:t,style:{width:"2.4rem",cursor:"pointer"}})}})},loading:e=>{if(e)return o.Am.info(e,{draggable:!1,autoClose:!1,closeButton:null})}}},85787:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var a=n(85893),o=n(83824),r=n(99241),i=n(60752),s=e=>{let{isLoading:t,isDepleted:n,fetchMore:s}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.Z,{condition:t,children:(0,a.jsx)(r.Z,{size:"xl"})}),(0,a.jsxs)(i.Z,{condition:!n&&!t,children:[(0,a.jsx)(o.h,{onEnter:()=>{s()}}),(0,a.jsx)("div",{className:"topSpacing"})]})]})},l=e=>{let{isLoading:t,isDepleted:n,fetchMore:o}=e;return(0,a.jsx)(s,{fetchMore:o,isDepleted:n,isLoading:t})}},59948:function(e,t,n){"use strict";var a=n(85787);t.Z=a.Z},1159:function(e,t,n){"use strict";var a=n(85893),o=n(41664),r=n.n(o),i=n(11163),s=n(67294),l=n(57128),c=n(50536);let d=(0,s.forwardRef)((e,t)=>{let{href:n,children:o,...s}=e,d=(0,i.useRouter)(),u=(0,l.YN)(),m=(0,c.DD)({platform:d.query.platform,userId:d.query.userId,deviceId:d.query.deviceId,appVersion:d.query.appVersion,accessToken:d.query.accessToken,refreshToken:d.query.refreshToken,tokenType:d.query.tokenType,theme:d.query.theme,type:d.query.type,from:d.query.from}),p=n;return u&&"string"!=typeof n&&"string"!=typeof n.query&&(p={pathname:n.pathname,query:{...n.query,...m}}),(0,a.jsx)(r(),{ref:t,href:p,passHref:!0,...s,children:o})});d.displayName="link",t.Z=d},99241:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var a=n(85893);n(67294);var o=n(22238),r=e=>{let{size:t,color:n,noMargin:r,style:i}=e;return(0,a.jsx)(o.Z,{color:n,noMargin:r,size:t,style:i})}},22238:function(e,t,n){"use strict";n.d(t,{l:function(){return s},Z:function(){return l}});var a=n(85893),o=n(86762),r=n(76556);n(67294);var i=(0,n(63119).kc)((e,t)=>({loaderContainer:{display:"flex",justifyContent:"center",alignItems:"center",margin:(null==t?void 0:t.noMargin)?"0":"1rem"},circularLoader:{margin:(null==t?void 0:t.size)?"0":"1.5rem",color:(null==t?void 0:t.color)?null==t?void 0:t.color:e.other.paletteNew.primaryDarkBlue}}));let s=(0,a.jsx)("svg",{height:"54",stroke:o.t.colors.gray[2],viewBox:"0 0 38 38",width:"54",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,a.jsxs)("g",{strokeWidth:"2",transform:"translate(1 1)",children:[(0,a.jsx)("circle",{cx:"18",cy:"18",r:"18",strokeOpacity:".5"}),(0,a.jsx)("path",{d:"M36 18c0-9.94-8.06-18-18-18",children:(0,a.jsx)("animateTransform",{attributeName:"transform",dur:"1s",from:"0 18 18",repeatCount:"indef
1inite",to:"360 18 18",type:"rotate"})})]})})});var l=e=>{let{size:t,color:n,noMargin:o,style:s}=e,{classes:l}=i({size:t,noMargin:o,color:n});return(0,a.jsx)("div",{className:l.loaderContainer,style:s,children:(0,a.jsx)(r.a,{className:l.circularLoader,size:t||"lg"})})}},65360:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(85893);n(67294);var o=n(42652),r=(0,n(63119).kc)(()=>({baseStyles:{background:"none",border:"none",cursor:"pointer"}})),i=e=>{let{title:t,className:n,buttonTextClassName:i,...s}=e,{classes:l,cx:c}=r();return(0,a.jsx)(o.Z,{buttonTextClassName:i,className:c(l.baseStyles,n),title:t,variant:"default",...s})},s=e=>{let{title:t,classNames:n,buttonTextClassName:o,...r}=e;return(0,a.jsx)(i,{buttonTextClassName:o,classNames:n,title:t,...r})}},85916:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var a=n(85893);n(67294);var o=n(17791),r=n(33243),i=n(63119),s=(0,i.kc)(()=>({tabText:{color:"inherit",whiteSpace:"nowrap",fontSize:"1.4rem",fontWeight:"500",textTransform:"capitalize !important",letterSpacing:"normal !important"}})),l=e=>{let{value:t="",label:n=""}=e,{classes:i}=s(void 0,{name:"styles"});return(0,a.jsx)(o.m.Tab,{value:t,children:(0,a.jsx)(r.Z,{className:i.tabText,title:n})})},c=n(50536),d=n(25895),u=(0,i.kc)(e=>({tabRoot:{},tab:{outline:e.other.darkMode?"1px solid ".concat(e.other.paletteNew.darkModeWhite20," "):"1px solid ".concat(e.other.paletteNew.secondaryLightGrey),border:"none",padding:"0.7rem 1.75rem",borderRadius:"1rem",overflow:"hidden",cursor:"pointer",marginRight:"1.2rem",backgroundColor:e.other.darkMode?e.other.paletteNew.darkModeDarkGrey20:e.other.paletteNew.secondaryWhite,color:e.other.darkMode?e.other.paletteNew.darkModeWhite80:e.other.paletteNew.secondaryBlack,"&[data-active]":{color:e.other.darkMode?"".concat(e.other.paletteNew.secondaryWhite," !important"):"".concat(e.other.paletteNew.primaryDarkBlue," !important"),background:e.other.darkMode?e.other.paletteNew.darkModeDarkBlue50:e.other.paletteNew.primaryDarkBlue10,outline:"1px solid ".concat(e.other.paletteNew.primaryDarkBlue)},":focus":{outline:(0,c.ef)("1px solid ".concat(e.other.paletteNew.primaryDarkBlue))},"&:last-child":{marginRight:"0"},[d.AE.desktop]:{flex:1}},backgroundWrapper:{backgroundColor:"inherit"},tabList:{padding:"1.6rem 1.4rem",overflow:"auto",whiteSpace:"nowrap",msOverFlowStytle:"none",scrollBarWidth:"none","&::-webkit-scrollbar":{display:"none"},[d.AE.desktop]:{display:"flex"}},tabPanel:{height:"85%",marginTop:"1rem",borderRadius:"1.5rem",padding:"2rem 0"}})),m=e=>{let{tabs:t,defaultTab:n,onClickHandler:r=()=>{}}=e,{classes:i}=u();return(0,a.jsx)(o.m,{unstyled:!0,classNames:{root:i.tabRoot,tab:i.tab},defaultValue:n,onChange:r,children:(0,a.jsx)(o.m.List,{className:i.tabList,children:t.map(e=>(0,a.jsx)(l,{label:null==e?void 0:e.label,value:null==e?void 0:e.value},null==e?void 0:e.value))})})},p=e=>{let{tabs:t,defaultTab:n,onClickHandler:o}=e;return(0,a.jsx)(m,{defaultTab:n,onClickHandler:o,tabs:null==t?void 0:t.map(e=>({value:e.value.toString(),label:e.label}))})}},98302:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var a=n(85893),o=n(47423),r=n(91992),i=n(32895),s=n(61075),l=n(33243),c=(0,n(63119).kc)((e,t)=>({drawerContent:{borderRadius:"1rem 1rem 0 0",height:"fit-content !important"},header:{padding:"1.4rem",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",borderBottom:"1px solid ".concat(e.other.colors.border.secondary)},body:{background:e.other.colors.background.primary,display:"flex",flexDirection:"column",padding:"1.6rem",gap:"1rem"},link:{textDecoration:"underline"},note:{fontStyle:"italic"},question:{"& > div:first-child":{marginBottom:"0.4rem"}}}));function d(e){let{onClose:t,openCalcModal:n}=e,{classes:o}=c();return(0,a.jsxs)("div",{className:o.content,children:[(0,a.jsxs)("div",{className:o.header,children:[(0,a.jsx)(l.Z,{className:o.reportModalHeaderTitle,size:"lg",title:"Information",weight:500}),(0,a.jsx)(r.A,{className:o.reportModalCloseBtn,onClick:t,children:(0,a.jsx)(s.Z,{name:"cross",size:"3.6rem"})})]}),(0,a.jsxs)("div",{className:o.body,children:[(0,a.jsxs)("div",{className:o.question,children:[(0,a.jsx)(l.Z,{size:"xs",title:"What is donation balance?",weight:500}),(0,a.jsx)(l.Z,{dimmed:!0,size:"xs",title:"Donation balance is the amount of donation that you have received as a creator from your viewers."})]}),(0,a.jsxs)("div",{className:o.question,children:[(0,a.jsx)(l.Z,{size:"xs",title:"How to redeem/payout donation balance?",weight:500}),(0,a.jsx)(l.Z,{dimmed:!0,size:"xs",title:"If you have more than 100 diamonds as donation balance, you can set up auto payout, after which donation balance will automatically transfer to your desired account on the first week of every month."}),(0,a.jsx)(l.Z,{dimmed:!0,className:o.note,size:"xs",title:"Note: For Auto payout You need to have at least 100 diamonds"})]}),(0,a.jsxs)("div",{className:o.question,children:[(0,a.jsx)(l.Z,{size:"xs",title:"What happens if you don't reach 100 diamonds in a month?",weight:500}),(0,a.jsx)(l.Z,{dimmed:!0,size:"xs",title:"You will not get auto payout for that month, however your balance will c
1ontinue to roll over each month until it reaches 100 diamonds."})]}),(0,a.jsxs)("div",{className:o.question,children:[(0,a.jsx)(l.Z,{size:"xs",title:"How is the donation payout amount gets calculated?",weight:500}),(0,a.jsx)(l.Z,{dimmed:!0,className:o.link,onClick:n,size:"xs",title:"You can view it here."})]}),(0,a.jsx)(i.KM,{onClick:t,size:"md",title:"Okay"})]})]})}var u=function(e){let{opened:t,onClose:n,openCalcModal:r}=e,{classes:i}=c();return(0,a.jsx)(o.d,{classNames:{body:i.drawerBody,content:i.drawerContent},onClose:n,opened:t,position:"bottom",withCloseButton:!1,zIndex:1500,children:(0,a.jsx)(d,{onClose:n,openCalcModal:r})})}},36318:function(e,t,n){"use strict";n.d(t,{w:function(){return a}});let a={sendToIOS:(e,t)=>{var n,a,o,r;null===(r=window)||void 0===r||null===(o=r.webkit)||void 0===o||null===(a=o.messageHandlers)||void 0===a||null===(n=a.ios_handler)||void 0===n||n.postMessage(JSON.stringify({action:e,arguments:t}))},onCloseBtnPress:function(){var e;return(null===(e=window.diamondHistoryInterface)||void 0===e?void 0:e.onCloseBtnPress)?window.diamondHistoryInterface.onCloseBtnPress():null},buyMoreDiamonds:function(){var e;return(null===(e=window.diamondHistoryInterface)||void 0===e?void 0:e.buyMoreDiamonds)?window.diamondHistoryInterface.buyMoreDiamonds():null},sendEvent:function(e,t){var n;return(null===(n=window.diamondHistoryInterface)||void 0===n?void 0:n.sendClevertapEvent)?window.diamondHistoryInterface.sendClevertapEvent(e,JSON.stringify(t)):null}}},80529:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return F},default:function(){return V}});var a=n(85893),o=n(67294),r=n(57128),i=n(93754),s=n(71570),l=n(75250),c=n(45277),d=n(36318),u=n(91992),m=n(59270),p=n(27484),h=n.n(p),f=n(32895),g=n(61075),x=n(1159),y=n(60752),v=n(33243),w=n(65360),b=n(47423),j=n(63119),k=(0,j.kc)(e=>({drawerContent:{height:"fit-content",borderRadius:"1.2rem 1.2rem 0 0"},drawerBody:{display:"flex",flexDirection:"column",gap:"2rem",padding:"1.6rem",textAlign:"center",marginTop:"4.8rem",alignItems:"center"},modalHeading:{marginBlock:"0.8rem"},crossIcon:{position:"absolute",top:"1rem",right:"1rem"}})),N=e=>{let{opened:t,onClose:n}=e,{classes:o}=k();return(0,a.jsxs)(b.d,{autoFocus:!0,classNames:{content:o.drawerContent,body:o.drawerBody},keepMounted:!1,onClose:n,opened:t,position:"bottom",size:"fit-content",withCloseButton:!1,children:[(0,a.jsx)(g.Z,{className:o.crossIcon,name:"cross",onClick:n,sameInBothTheme:!0,size:20}),(0,a.jsx)(g.Z,{name:"tickFilled",sameInBothTheme:!0,size:48}),(0,a.jsxs)("div",{children:[(0,a.jsx)(v.Z,{className:o.modalHeading,title:"Auto Payout Successfully Set Up",weight:500}),(0,a.jsx)(v.Z,{dimmed:!0,size:"sm",title:"You will receive the donation balance directly to your account on first week of every month."})]}),(0,a.jsx)(f.KM,{fullWidth:!0,onClick:n,size:"md",title:"Done"})]})},I=e=>{let{onClose:t,opened:n}=e;return(0,a.jsx)(N,{onClose:t,opened:n})},S=n(83204),C=n(52733),Z=n(98302),R=(0,j.kc)((e,t)=>({drawerContent:{borderRadius:"1rem 1rem 0 0",height:"fit-content !important"},header:{padding:"1.4rem",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",borderBottom:"1px solid ".concat(e.other.colors.border.secondary)},body:{background:e.other.colors.background.primary,display:"flex",flexDirection:"column",padding:"1.6rem",gap:"1rem"},link:{textDecoration:"underline"},note:{fontStyle:"italic"},question:{"& > div:first-child":{marginBottom:"0.4rem"}}}));function B(e){let{onClose:t,openCalcModal:n}=e,{classes:o}=R();return(0,a.jsxs)("div",{className:o.content,children:[(0,a.jsxs)("div",{className:o.header,children:[(0,a.jsx)(v.Z,{className:o.reportModalHeaderTitle,size:"lg",title:"Information",weight:500}),(0,a.jsx)(u.A,{className:o.reportModalCloseBtn,onClick:t,children:(0,a.jsx)(g.Z,{name:"cross",size:"3.6rem"})})]}),(0,a.jsxs)("div",{className:o.body,children:[(0,a.jsxs)("div",{className:o.question,children:[(0,a.jsx)(v.Z,{size:"xs",title:"What is Total Diamond Balance?",weight:500}),(0,a.jsx)(v.Z,{dimmed:!0,size:"xs",title:"Total diamond balance is basically the sum of your bought diamonds and donation balance."})]}),(0,a.jsx)("div",{className:o.question,children:(0,a.jsx)(v.Z,{dimmed:!0,className:o.link,onClick:n,size:"xs",title:"Learn about donation balance"})}),(0,a.jsx)(f.KM,{onClick:t,size:"md",title:"Okay"})]})]})}var T=function(e){let{opened:t,onClose:n,openCalcModal:o}=e,{classes:r}=R();return(0,a.jsx)(b.d,{classNames:{body:r.drawerBody,content:r.drawerContent},onClose:n,opened:t,position:"bottom",withCloseButton:!1,zIndex:1500,children:(0,a.jsx)(B,{onClose:n,openCalcModal:o})})},U=n(44593),_=n(94278),D=n(80596),z=n(59948),E=n(85916),A=n(25895),H=(0,j.kc)(e=>({parent:{display:"flex",flexDirection:"column"},text:{marginBlockStart:"2.4rem",marginInline:"1.6rem"},historyList:{[A.AE.mobile]:{maxHeight:"unset"},background:e.other.colors.background3.secondary,maxHeight:"70dvh",minHeight:"50dvh",width:"100%",position:"relative",paddingInline:"1.6rem",listStyleType:"none",overflow:"auto",display:"flex",flexDirection:"column",gap:"2rem"},listItem:{"&:first-child":{paddingBlockStart:"1.6rem"},"&:last-child":{marginBottom:"12rem"}},listItemWrapper:{width:"100%"}
1,itemLabel:{width:"100%"},listItemContent:{display:"flex",paddingBottom:"1.6rem",justifyContent:"space-between",alignItems:"flex-start",position:"relative",":after":{content:"''",position:"absolute",right:"-1.6rem",bottom:"0",left:"5rem",borderBottom:"1px solid ".concat(e.other.colors.border.primary)},[A.AE.mobile]:{":after":{content:"''",position:"absolute",bottom:"0",right:"-1.6rem",left:"6.5rem",borderBottom:"1px solid ".concat(e.other.colors.border.primary)}}},iconContainer:{display:"flex",background:e.other.darkMode?e.other.paletteNew.secondaryDarkGrey20:e.other.paletteNew.primaryDarkBlue10,borderRadius:"50%",aspectRatio:"1/1"},icon:{padding:"0.8rem",width:"4rem",height:"4rem",[A.AE.mobile]:{padding:"1rem",height:"4.4rem",width:"4.4rem"}},left:{alignSelf:"top",display:"flex",gap:"0.8rem",flexDirection:"column",flex:"1",marginInline:"2rem"},right:{alignSelf:"top",display:"flex",gap:"0.8rem",alignItems:"flex-start",flexDirection:"row",[A.AE.desktop]:{gap:"2rem"}},priceContainer:{display:"flex",flexDirection:"column",gap:"0.8rem",alignItems:"flex-end"},threeDotsIcon:{padding:"1.5rem",borderRadius:"0.5rem"},sellPrice:{textDecoration:"line-through"},rightTop:{gap:"0.5rem",display:"flex",alignItems:"baseline"},emptyViewContainer:{display:"flex",justifyContent:"center",alignItems:"center",textAlign:"center",paddingBlock:"10rem",flexDirection:"column"},emptyIcon:{marginBottom:"10px",height:"12rem",width:"12rem"},messageText:{width:"100%"},transactionDesc:{wordBreak:"break-word"},rightAlign:{textAlign:"right"}}));function P(e){let{transaction:t}=e,{classes:n}=H(),o=new Date((null==t?void 0:t.updatedAt).replace(" ","T")+"Z").toISOString();return(0,a.jsx)(D.a.Item,{children:(0,a.jsxs)("div",{className:n.listItemContent,children:[(0,a.jsx)("div",{className:n.iconContainer,children:(0,a.jsx)(g.Z,{className:n.icon,name:(null==t?void 0:t.value)>0?"diamondCredit":"diamondDebit",sameInBothTheme:!0})}),(0,a.jsxs)("div",{className:n.left,children:[(0,a.jsx)(v.Z,{size:"sm",title:"".concat(t.type),weight:500}),(0,a.jsx)(v.Z,{className:n.transactionDesc,color:"secondary",lineClamp:2,size:"xs",title:t.description})]}),(0,a.jsx)("div",{className:n.right,children:(0,a.jsxs)("div",{className:n.priceContainer,children:[(0,a.jsx)("div",{className:n.rightTop,children:(0,a.jsx)(v.Z,{className:n.rightAlign,size:"sm",title:"".concat(t.value," Diamonds"),weight:500})}),(0,a.jsx)(v.Z,{className:n.rightAlign,color:"secondary",size:"xs",title:h()(o).format("DD MMM YYYY, HH:mm")})]})})]})})}var L=function(e){let{defaultTab:t,onChangeTab:n,tabsList:o,fetchMore:r,history:i,isDepleted:s,isLoading:l}=e,{classes:c}=H();return(0,a.jsxs)("div",{className:c.parent,children:[(0,a.jsx)(v.Z,{className:c.text,title:"Transaction History",weight:500}),(0,a.jsx)(E.Z,{background:"secondary",defaultTab:t,onClickHandler:n,tabs:o}),(0,a.jsx)(y.Z,{condition:!(null==i?void 0:i.length),children:(0,a.jsxs)("div",{className:null==c?void 0:c.emptyViewContainer,children:[(0,a.jsx)(g.Z,{sameInBothTheme:!0,className:c.emptyIcon,name:"emptyWatchState"}),(0,a.jsx)(v.Z,{className:c.messageText,color:"secondary",title:"You don’t have any history"})]})}),(0,a.jsxs)(y.Z,{condition:null==i?void 0:i.length,children:[(0,a.jsx)(D.a,{classNames:{root:c.historyList,item:c.listItem,itemWrapper:c.listItemWrapper,itemLabel:c.itemLabel},children:i.map((e,t)=>e?(0,a.jsx)(P,{transaction:e},t):null)}),(0,a.jsx)(z.Z,{fetchMore:r,isDepleted:s,isLoading:l})]})]})};let M={1:null,2:"RECEIVED",3:"USED",4:"PURCHASE",5:"REDEEM"},O=[{label:"All Transactions",value:1},{label:"Received",value:2},{label:"Spent",value:3},{label:"Bought",value:4},{label:"Auto payout",value:5}],q=async e=>{let{pageNo:t,userId:n,type:a}=e,o=await (0,_.Ri)({pageNo:t,pageSize:10,userId:n,type:M[a]});return null==o?void 0:o.log};var W=e=>{var t;let{userId:n}=e,[r,i]=(0,o.useState)("1"),{data:s,error:c,size:u,setSize:m}=(0,U.ZP)(e=>({key:"diamond-transactions",pageNo:e+1,userId:n,type:r}),q,{revalidateFirstPage:!1,revalidateOnFocus:!1}),p=!s&&!c,h=(null==s?void 0:null===(t=s[u-1])||void 0===t?void 0:t.length)===0,f=p||u>0&&s&&void 0===s[u-1],g=[].concat.apply([],s);return(0,a.jsx)(L,{defaultTab:r,fetchMore:()=>{m(u+1)},history:g,isDepleted:h,isLoading:f,onChangeTab:e=>{let t={1:"all",2:"received",3:"spent",4:"bought",5:"redeemed"};"android"===(0,l.l7)()&&d.w.sendEvent("tab_clicked",{tabName:t[e]}),"ios"===(0,l.l7)()&&d.w.sendToIOS("clevertapEvent",{eventName:"tab_clicked",data:{tabName:t[e]}}),i(e)},tabsList:O})},G=(0,j.kc)(e=>({parent:{background:e.other.darkMode?e.other.paletteNew.secondaryBlack:e.other.colors.background2.primary,height:"100%",display:"flex",flexDirection:"column"},totalBalanceContainer:{marginBlockStart:"2.4rem",marginInline:"1.6rem",padding:"1.6rem",borderRadius:"2rem",background:"radial-gradient(circle at 15% 22%, #00c5ff, #0076ff 46%)"},totalBalanceChild:{display:"flex",alignItems:"center"},balanceChild:{display:"flex",alignItems:"center",gap:"0.5rem"},totalBalanceChild2:{display:"flex",justifyContent:"space-between"},diamondIcon:{marginInlineEnd:"0.5rem"},totalBalanceText:{fontSize:"2.4rem"},amount:{display:"flex",alignItems:"center"},buyMoreBtn:{borderRadius:"5rem !important",background:"rgba(0, 0, 0, 0.50)",padding:"0.8rem 2.4rem"},setupPayoutBtn:{borderRadius:"5rem !important"},donationBalanceContainer:{marginBlockStart:"1.2rem",marginInline:"1.6rem",padding:"1.6rem",border:"1px solid ".concat(e.other.paletteNew.darkModeDarkGrey20),borderRadius:"2rem",background:e.other.darkMode?e.other.paletteNew.darkModeDarkGrey20:e.other.paletteNew.secondaryWhite},diamondIconDonation:{height:"1.6rem",width:"1.6rem",marginInlineEnd:"0.5rem"},addNowLink:{textDecoration:"underline"},alertIcon:{height:"1.6rem",width:"1.6rem",marginInlineEnd:"0.5rem"},linkIcon:{alignSelf:"baseline"}
1,infoIcon:{height:"1.6rem",width:"1.6rem"},donationBalanceText:{},donationText:{display:"flex",alignItems:"baseline",gap:"0.5ch"},infoText:{color:e.other.paletteNew.tertiaryPink},infoWrapper:{marginBlockStart:e.spacing.md,display:"flex",gap:"0.5ch"},separator:{width:"100%",height:"0.1rem",marginBlock:"1.15rem",backgroundImage:e.other.darkMode?"linear-gradient(to right, #ffffff 0%, rgba(153, 153, 153, 0) 100%)":"linear-gradient(to right, #757575 0%, rgba(153, 153, 153, 0) 100%)"},diamondIconTransaction:{height:"1.2rem",width:"1.2rem"},transactionWrapper:{display:"flex",justifyContent:"space-between"},transactionWrapperChild:{display:"flex",justifyContent:"space-between",width:"100%"},transactionRightSide:{display:"flex",justifyContent:"center",alignItems:"center"},transactionSuccessStatus:{padding:"0.2rem 0.8rem",background:e.other.paletteNew.tertiarySuccessGreen,borderRadius:"4px"},transactionPendingStatus:{padding:"0.2rem 0.8rem",background:e.other.paletteNew.tertiaryYellow,borderRadius:"4px"},transactionStatusText:{fontSize:"1rem"},transactionDate:{marginBlockStart:"0.4rem"}})),Y=function(e){var t,n,o,r,i,s;let{data:l,userId:c,openTBModal:d,setTBModal:p,openInfo:b,setOpenInfo:j,showCalc:k,setShowCalc:N,openSuccessModal:R,closeSuccessModal:B,onBuyMore:U,onBackPress:_,onSetupPayout:D,onManage:z,onViewLastTransaction:E}=e,{classes:A,cx:H}=G();return(0,a.jsxs)("div",{className:A.parent,children:[(0,a.jsx)(C.Z,{onBackPress:_,title:"Rooter Diamonds"}),(0,a.jsxs)("div",{className:A.totalBalanceContainer,children:[(0,a.jsxs)("div",{className:A.totalBalanceChild,children:[(0,a.jsx)(v.Z,{c:"white",size:"md",title:"Total Balance"}),(0,a.jsx)(u.A,{onClick:()=>{p(e=>!e)},size:"xl",children:(0,a.jsx)(g.Z,{sameInBothTheme:!0,className:A.infoIcon,name:"infoIdeaWhite",onClick:()=>{},size:16})})]}),(0,a.jsxs)("div",{className:A.totalBalanceChild2,children:[(0,a.jsxs)("div",{className:A.amount,children:[(0,a.jsx)(g.Z,{sameInBothTheme:!0,className:A.diamondIcon,name:"diamond",size:24}),(0,a.jsx)(v.Z,{c:"white",className:A.totalBalanceText,title:(0,a.jsx)(m.e,{thousandSeparator:!0,thousandsGroupStyle:"lakh",value:null==l?void 0:l.totalDiamonds}),weight:500})]}),(0,a.jsx)(w.Z,{c:"white",className:A.buyMoreBtn,onClick:U,title:"Buy More"})]})]}),(0,a.jsxs)("div",{className:A.donationBalanceContainer,children:[(0,a.jsxs)("div",{className:A.totalBalanceChild,children:[(0,a.jsx)(v.Z,{size:"md",title:"Donation Balance"}),(0,a.jsx)(u.A,{onClick:()=>{j(e=>!e)},size:"xl",children:(0,a.jsx)(g.Z,{className:A.infoIcon,name:"infoIdeaIcon",size:16})})]}),(0,a.jsxs)("div",{className:A.totalBalanceChild2,children:[(0,a.jsxs)("div",{className:A.amount,children:[(0,a.jsx)(g.Z,{sameInBothTheme:!0,className:A.diamondIconDonation,name:"diamond",onClick:()=>{}}),(0,a.jsxs)("span",{className:A.donationText,children:[(0,a.jsx)(v.Z,{className:A.donationBalanceText,title:(0,a.jsx)(m.e,{thousandSeparator:!0,thousandsGroupStyle:"lakh",value:null==l?void 0:l.donationDiamonds}),weight:500}),(0,a.jsx)(v.Z,{dimmed:!0,size:"xs",title:"≈"}),(0,a.jsx)(v.Z,{className:A.donationBalanceText,dimmed:!0,size:"xs",title:(0,a.jsx)(m.e,{prefix:"₹",thousandSeparator:!0,thousandsGroupStyle:"lakh",value:" ".concat(null==l?void 0:l.beforeTaxAmount)}),weight:500})]})]}),(0,a.jsx)(y.Z,{condition:null==l?void 0:l.payoutEnabled,children:(0,a.jsx)(f.kq,{className:A.setupPayoutBtn,onClick:z,title:"Manage"})}),(0,a.jsx)(y.Z,{condition:!(null==l?void 0:l.payoutEnabled),children:(0,a.jsx)(f.KM,{c:"white",className:A.setupPayoutBtn,onClick:D,title:"Set up Payout"})})]}),(0,a.jsx)(y.Z,{condition:!(null==l?void 0:l.payoutEnabled)&&(null==l?void 0:l.donationDiamonds)>=100,children:(0,a.jsxs)("span",{className:A.infoWrapper,children:[(0,a.jsx)(g.Z,{name:"errorAlertIcon",sameInBothTheme:!0,size:16}),(0,a.jsx)(v.Z,{className:A.infoText,size:"sm",title:"Set up auto payout to get donation amount to your bank account on first week of every month."})]})}),(0,a.jsx)(y.Z,{condition:(null==l?void 0:l.payoutEnabled)&&(null==l?void 0:l.taxPercentage)===20,children:(0,a.jsxs)("div",{className:A.balanceChild,children:[(0,a.jsx)(g.Z,{className:H(A.infoIcon,A.linkIcon),name:"infoIdeaIcon",onClick:()=>{},sameInBothTheme:!0}),(0,a.jsx)(v.Z,{dimmed:!0,size:"xs",title:"Add PAN and save 18% tax. "}),(0,a.jsx)(x.Z,{href:{pathname:"/diamond-payout/autopay-settings"},children:(0,a.jsx)(v.Z,{dimmed:!0,className:A.addNowLink,size:"xs",title:"Add Now"})})]})}),(0,a.jsxs)(y.Z,{condition:null==l?void 0:l.lastTransaction,children:[(0,a.jsx)("div",{className:A.separator}),(0,a.jsxs)("span",{className:A.transactionWrapper,children:[(0,a.jsx)(y.Z,{condition:null==l?void 0:l.userMe
1ssage,children:(0,a.jsxs)("div",{className:A.transactionWrapperChild,onClick:E,children:[(0,a.jsx)("div",{className:A.amount,children:(0,a.jsxs)("span",{className:A.donationText,children:[(0,a.jsx)(v.Z,{className:A.donationBalanceText,size:"xs",title:(0,a.jsx)(m.e,{prefix:"₹",thousandSeparator:!0,thousandsGroupStyle:"lakh",value:null==l?void 0:null===(t=l.lastTransaction)||void 0===t?void 0:t.amount})}),(0,a.jsx)(v.Z,{className:A.donationBalanceText,size:"xs",title:" paid out for "}),(0,a.jsx)(v.Z,{className:A.donationBalanceText,size:"xs",title:(0,a.jsx)(m.e,{prefix:"\uD83D\uDC8E",thousandSeparator:!0,thousandsGroupStyle:"lakh",value:null==l?void 0:null===(o=l.lastTransaction)||void 0===o?void 0:null===(n=o.metadata)||void 0===n?void 0:n.diamondQuantity})})]})}),(0,a.jsxs)("div",{className:A.transactionRightSide,children:[(0,a.jsx)(y.Z,{condition:(null==l?void 0:null===(r=l.lastTransaction)||void 0===r?void 0:r.status)==="SUCCESS",children:(0,a.jsx)("div",{className:A.transactionSuccessStatus,children:(0,a.jsx)(v.Z,{c:"white",className:A.transactionStatusText,title:"Success"})})}),(0,a.jsx)(y.Z,{condition:(null==l?void 0:null===(i=l.lastTransaction)||void 0===i?void 0:i.status)==="PENDING",children:(0,a.jsx)("div",{className:A.transactionPendingStatus,children:(0,a.jsx)(v.Z,{c:"white",className:A.transactionStatusText,title:"Processing"})})}),(0,a.jsx)(g.Z,{className:A.diamondIconDonation,name:"arrowForward"})]})]})}),(0,a.jsx)(y.Z,{condition:!(null==l?void 0:l.userMessage),children:(0,a.jsx)(v.Z,{className:A.donationBalanceText,size:"xs",title:null==l?void 0:l.userMessage})})]}),(0,a.jsx)(v.Z,{dimmed:!0,className:A.transactionDate,size:"xs",title:h()(null==l?void 0:null===(s=l.lastTransaction)||void 0===s?void 0:s.updated_at).format("DD MMM, YYYY, HH:mm")})]})]}),(0,a.jsx)(W,{userId:c}),(0,a.jsx)(I,{onClose:B,opened:R}),(0,a.jsx)(Z.Z,{onClose:()=>{j(!1)},openCalcModal:()=>{j(!1),N(!0)},opened:b}),(0,a.jsx)(T,{onClose:()=>{p(!1)},openCalcModal:()=>{p(!1),j(!0)},opened:d}),(0,a.jsx)(S.Z,{onClose:()=>{N(!1)},opened:k})]})},K=e=>{let{data:t,userId:n}=e,[u,m]=(0,o.useState)(!1),[p,h]=(0,o.useState)(!1),[f,g]=(0,o.useState)(!1),x=(0,c.B)(),y=(0,r.YN)(),v=(0,i.jM)(),w=(0,r.c3)();return(0,a.jsx)(Y,{closeSuccessModal:()=>{v("autopaySuccess")},data:t,onBackPress:()=>{y&&("android"===(0,l.l7)()&&d.w.onCloseBtnPress(),"ios"===(0,l.l7)()&&d.w.sendToIOS("closeActivity"))},onBuyMore:()=>{y&&("android"===(0,l.l7)()&&(d.w.buyMoreDiamonds(),d.w.sendEvent("tab_clicked",{tabName:"buyMore"})),"ios"===(0,l.l7)()&&(d.w.sendToIOS("openBuyDiamonds"),d.w.sendToIOS("clevertapEvent",{eventName:"tab_clicked",data:{tabName:"buyMore"}})))},onManage:()=>{"android"===(0,l.l7)()&&d.w.sendEvent("tab_clicked",{tabName:"manage"}),"ios"===(0,l.l7)()&&d.w.sendToIOS("clevertapEvent",{eventName:"tab_clicked",data:{tabName:"manage"}}),x.push({pathname:"/diamond-payout/manage-donation"})},onSetupPayout:()=>{if("IN"!==w){s.Z.error("The feature is not available for countries outside of India.");return}"android"===(0,l.l7)()&&d.w.sendEvent("tab_clicked",{tabName:"setup"}),"ios"===(0,l.l7)()&&d.w.sendToIOS("clevertapEvent",{eventName:"tab_clicked",data:{tabName:"setup"}}),x.push({pathname:"/diamond-payout/setup-autopay"})},onViewLastTransaction:()=>{var e;x.push({pathname:"/diamond-payout/payout-history/".concat(null==t?void 0:null===(e=t.lastTransaction)||void 0===e?void 0:e.id)})},openInfo:p,openSuccessModal:x.query.autopaySuccess,openTBModal:f,setOpenInfo:h,setShowCalc:m,setTBModal:g,showCalc:u,userId:n})},F=!0,V=function(e){let{details:t,userId:n}=e;return(0,a.jsx)(K,{data:t,userId:n})}},94278:function(e,t,n){"use strict";n.d(t,{u5:function(){return y},I6:function(){return s},zQ:function(){return N},vq:function(){return b},rv:function(){return S},FL:function(){return R},Uk:function(){return v},gY:function(){return x},DE:function(){return E},wY:function(){return M},uC:function(){return L},Pz:function(){return P},YG:function(){return Z},WN:function(){return I},Ri:function(){return q},Rw:function(){return l},WD:function(){return W},of:function(){return B},DZ:function(){return T},K7:function(){return A},Wz:function(){return G},Q9:function(){return Y},uh:function(){return k},Qh:function(){return C},n:function(){return O},dX:function(){return f},QS:function(){return h},et:function(){return c},e:function(){return j},HN:function(){return p},XE:function(){return _},ok:function(){return D},yn:function(){return u},O$:function(){return H},V4:function(){return m},fX:function(){return w},lU:function(){return U},Lj:function(){return d},Ix:function(){return g},zJ:function(){return z}});var a=n(58682),o=n(12440);let r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.d1Percent.map(e=>({date:e.date,count:-1===parseInt(e.d1Percentage)?"NA":"".concat(e.d1Percentage,"%")}))};var i=n(51259);let s=async()=>await o.Z.get({url:"".concat(i.rH.USER_API_URL,"user-profile/captureSession")},{emptyResponse:!0}),l=async e=>{let{userId:t,startDate:n,endDate:a,type:s}=e,l=await o.Z.get({url:"".concat(i.rH.USER_API_URL,"user-profile/").concat(t,"/").concat(s,"?startDate=").concat(n,"&endDate=").concat(a)});return"d1Data"===s?{data:r(l),average:l.averageD1Percentage}:{data:l||[],average:null}},c=async function(e,t){if(e.userId)return await o.Z.get.bind(this)({url:"".concat(i.rH.USER_API_URL,"user-profile/").concat(e.userId),params:t||{}})},d=async e=>{let{sportsFanId:t,userProfileDetails:n}=e;return await o.Z.put({url:"".concat(i.rH.USER_API_URL,"user-profile/").concat(t),headers:{"Content-Type":"application/json"},data:{...n}})},u=async e=>{let{id:t}=e;return await o.Z.put({url:"".concat(i.rH.USER_API_URL,"user-profile/").concat(t),headers:{"Content-Type":"application/json"},data:{...e}})},m=async e=>{let{userId:t,action:n}=e,r=await o.Z.put({url:"".concat(i.rH.USER_API_URL,"user-profile/").concat(t,"/").concat(n),headers:{"Content-Type":"application/json"}});if(!r||r.action.toUpperCase()!==n.toUpperCase()||r.sportsFanId.toString()!==t.toString())throw(0,a.Z)("An error occured");return r},p=async e=>{let t="";for(let n=0;n<e.length;n++)n<e.length-1?t+=e[n]+",":t+=e[n];return await o.Z.get({url:"".concat(i.rH.USER_API_URL,"user-profile/users"),params:{ids:t,ugcStats:!0,follow:!0}})},h=async e=>{let{userId:t,pageNo:n,pageSize:a}=e;try{return await o.Z.get({url:"".concat(i.rH.USER_API_URL,"user-profile/").concat(t,"/following?pageNo=").concat(n,"&pageSize=").concat(a)})}catch(e){return[]}},f=async e=>{let{userId:t,pageNo:n,pageSize:a}=e;try{return await o.Z.get({url:"".concat(i.rH.USER_API_URL,"user-profile/").concat(t,"/followers?pageNo=").concat(n,"&pageSize=").concat(a)})}catch(e){return[]}},g=async e=>{let{formData:t}=e;return await o.Z.post({url:"".concat(i.rH.FEED_POPULATOR_URL,"uploadS3"),headers:{"Content-Type":"multipart/form-data"},data:t})},x=async e=>{let{pageNo:t,pageSize:n,userId:a}=e,r=await o.Z.get({url:"".concat(i.rH.USER_API_URL,"user-profile/").concat(a,"/blockedUsers?blockedByCurrentUser=true&pageSize=").concat(n,"&pageNo=").concat(t)});return(null==r?void 0:r.blockedByCurrentUser)||[]},y=async e=>{let{streamerUserId:t,broadcastSessionId:n,userId:a}=e;return await o.Z.put({url:"".concat(i.rH.USER_API_URL,"user-profile/").concat(a,"/BLOCK"),data:{streamerUserId:t,broadcastSessionId:n}})},v=async e=>{let{userId:t}=e;if(!t)return[];let n=await o.Z.get({url:"".concat(i.rH.USER_API_URL,"user-profile/").concat(t,"/blockedUsers?userIds=true")});return(null==n?void 0:n.idsBlockedByCurrentUser)||[]},w=async e=>{var t;let{userId:n}=e,a=await o.Z.put({url:"".concat(i.rH.USER_API_URL,"user-profile/").concat(n,"/UNBLOCK")});return(null==a?void 0:null===(t=a.status)||void 0===t?void 0:t.toUpperCase())==="UNBLOCK"},b=async e=>{let{userId:t}=e,n=await o.Z.get({url:"".concat(i.rH.USER_API_URL,"user-profile/").concat(t,"/blockedUsers?userIds=true")});return(null==n?void 0:n.idsBlockedByCurrentUser)?n:{idsBlockedByCurrentUser:[],idsBlockedCurrentUser:[]}},j=async e=>{var t;let{url:n}=e;return(null===(t=(await o.Z.post({url:"".concat(i.rH.USER_API_URL,"management/getDataByDeepLinks"),headers:{"Content-Type":"application/json"},data:{deepLinks:[n]}}))[0])||void 0===t?void 0:t.data)||{}},k=async e=>{let{categoryId:t,pageNo:n,pageSize:a}=e;return await o.Z.get({url:"".concat(i.rH.USER_API_URL,"marketplace/donationStickers?pageNo=").concat(n,"&pageSize=").concat(a,"&categoryId=").concat(t)})},N=async e=>{if(e)return await o.Z.post({url:"".concat(i.rH.USER_API_URL,"marketplace/donateSticker"),data:e})},I=async e=>{let{SK:t="",pageSize:n,pageNo:a}=e;return await o.Z.get({url:"".concat(i.rH.GROOT_URL,"ntab/tab/for-me?SK=").concat(encodeURIComponent(t),"&pageNo=").concat(a,"&pageSize=").concat(n)})},S=async e=>{let{SK:t="",pageNo:n,pageSize:a}=e;return await o.Z.get({url:"".concat(i.rH.GROOT_URL,"ntab/tab/activity?SK=").concat(encodeURIComponent(t),"&pageNo=").concat(n,"&pageSize=").concat(a)})},C=async e=>{let{SK:t="",pageNo:n,pageSize:a}=e;return await o.Z.get({url:"".concat(i.rH.GROOT_URL,"ntab/tab/updates-all?SK=").concat(encodeURIComponent(t),"&pageNo=").concat(n,"&pageSize=").concat(a)})},Z=async e=>{let{SK:t="",pageNo:n,pageSize:a}=e;return await o.Z.get({url:"".concat(i.rH.GROOT_URL,"ntab/tab/updates-nf?SK=").concat(encodeURIComponent(t),"&pageNo=").concat(n,"&pageSize=").concat(a)})},R=async e=>{let{SK:t="",pageNo:n,pageSize:a}=e;return await o.Z.get({url:"".concat(i.rH.GROOT_URL,"ntab/tab/updates-an?SK=").concat(encodeURIComponent(t),"&pageNo=").concat(n,"&pageSize=").concat(a)})},B=async()=>await o.Z.get({url:"".concat(i.rH.GROOT_URL,"ntab/for-me/new-count")}
1),T=async()=>await o.Z.get({url:"".concat(i.rH.GROOT_URL,"ntab/settings")}),U=async e=>await o.Z.post({url:"".concat(i.rH.GROOT_URL,"ntab/settings"),data:e}),_=async()=>await o.Z.get({url:"".concat(i.rH.GROOT_URL,"ntab/tab/for-me/read")}),D=async e=>await o.Z.post({url:"".concat(i.rH.GROOT_URL,"ntab/metrics"),data:e}),z=async e=>{let{code:t}=e;return await o.Z.post({url:"".concat(i.rH.USER_API_URL,"user-profile/validateTvCode"),headers:{"Content-Type":"application/json"},data:{code:t}})},E=async e=>{let{pageNo:t=1,pageSize:n=5}=e;return await o.Z.get({url:"".concat(i.rH.USER_API_URL,"marketplace/currencies?pageNo=").concat(t,"&pageSize=").concat(n)})},A=async()=>await o.Z.get({url:"".concat(i.rH.USER_API_URL,"marketplace/paytmPayoutModes")}),H=async e=>await o.Z.post({url:"".concat(i.rH.USER_API_URL,"marketplace/paytmDiamondRedeemPayoutRequest"),headers:{"Content-Type":"application/json"},data:e}),P=async e=>{let t="".concat(i.rH.USER_API_URL,"marketplace/diamondsRedeemPayoutRequest/").concat(e);return await o.Z.get({url:t,headers:{"Content-Type":"application/json"}})},L=async e=>{let{userId:t,pageNo:n,pageSize:a,payoutModeId:r=1}=e,s="".concat(i.rH.USER_API_URL,"marketplace/diamondsRedeemPayoutRequests/").concat(t,"?pageNo=").concat(n,"&pageSize=").concat(a,"&payoutModeId=").concat(r);return await o.Z.get({url:s,headers:{"Content-Type":"application/json"}})},M=async function(){return await o.Z.get.bind(this)({url:"".concat(i.rH.USER_API_URL,"marketplace/actionAllowed?action=paytmDiamondsRedeemPayout"),headers:{"Content-Type":"application/json"}})},O=async function(e,t,n){return await o.Z.get({url:"".concat(i.rH.USER_API_URL,"marketplace/anonymous/moneyDonors/").concat(e,"?pageNo=").concat(n,"&pageSize=10&sortBy=AMOUNT&donatedAfter=").concat(t,"&transactionModeId=1")})},q=async function(e){let{userId:t,type:n,pageNo:a,pageSize:r}=e;return t?await o.Z.get({url:"".concat(i.rH.USER_API_URL,"user-profile/").concat(t,"/gems?pageNo=").concat(a,"&pageSize=").concat(r,"&type=").concat(n)}):null};async function W(e){return await o.Z.get.bind(this)({url:"".concat(i.rH.USER_API_URL,"user-profile/me"),params:e||{}})}async function G(){return(await o.Z.get.bind(this)({url:"".concat(i.rH.SHOP_URL,"listing/home/tabs/FOR-YOU/products/generic")})).products}async function Y(){return(await o.Z.get.bind(this)({url:"".concat(i.rH.SHOP_URL,"v1/users/eligible-features")},{emptyResponse:!0})).pro}}},function(e){e.O(0,[3122,2983,7659,3119,4920,479,7423,5063,8100,3824,6322,4267,8722,8476,2440,3718,2888,9774,179],function(){return e(e.s=39153)}),_N_E=e.O()}]);
2//# sourceMappingURL=diamond-payout-7ba5b785efd7f48d.js.map

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.