1"use strict";(globalThis.webpackChunktest=globalThis.webpackChunktest||[]).push([[8238],{44152(t,e,i){i.d(e,{A:()=>h});var n=i(82483),r=i(57513),a=i(65470),o=i(25982),l=i(77192),s=i(54027),d=i(52891),c=i(99113),g=i(56723);class p extends n.Component{constructor(t){super(t),this.state={}}render(){let t="",e="";return"custom"===this.props.time_range?(t="rgba(255,255,255,0.8)",e="var(--nav-bar-color)"):(t="#fff",e=null),(0,g.jsxs)(r.Ay,{xs:12,container:!0,justifyContent:"center",alignItems:"center",sx:{marginBottom:"0px"},children:[(0,g.jsxs)(s.A,{exclusive:!0,value:this.props.time_range,onChange:(t,e)=>{this.props.handleTimeRange(t,e)},"aria-label":"text formatting",children:[(0,g.jsx)(l.A,{value:"today",sx:{padding:"5px 10px",color:"rgba(255,255,255,0.8)",borderColor:"#fff",border:"none",borderLeft:"0px solid #fff","&.Mui-selected":{color:"#fff",backgroundColor:"var(--nav-bar-color)",borderLeft:"0px solid #fff"},"&.Mui-selected:hover":{backgroundColor:"var(--nav-bar-color-hover)"},":hover":{backgroundColor:"var(--background-color)",fontWeight:"bolder",color:"#fff"}},children:(0,g.jsx)("p",{style:{margin:"0",textTransform:"none",fontWeight:"600",fontSize:"14px"},children:"Today"})}),(0,g.jsx)(l.A,{value:"yesterday",sx:{padding:"5px 10px",color:"rgba(255,255,255,0.8)",borderColor:"#fff",border:"none",borderLeft:"0px solid #fff","&.Mui-selected":{color:"#fff",backgroundColor:"var(--nav-bar-color)",borderLeft:"0px solid #fff"},"&.Mui-selected:hover":{backgroundColor:"var(--nav-bar-color-hover)"},":hover":{backgroundColor:"var(--background-color)",fontWeight:"bolder",color:"#fff"}},children:(0,g.jsx)("p",{style:{margin:"0",textTransform:"none",fontWeight:"600",fontSize:"14px"},children:"Yesterday"})}),(0,g.jsx)(l.A,{value:"last_7_days",sx:{padding:"5px 10px",color:"rgba(255,255,255,0.8)",borderColor:"#fff",border:"none",borderLeft:"0px solid #fff","&.Mui-selected":{color:"#fff",backgroundColor:"var(--nav-bar-color)",borderLeft:"0px solid #fff"},"&.Mui-selected:hover":{backgroundColor:"var(--nav-bar-color-hover)"},":hover":{backgroundColor:"var(--background-color)",fontWeight:"bolder",color:"#fff"}},children:(0,g.jsx)("p",{style:{margin:"0",textTransform:"none",fontWeight:"600",fontSize:"14px"},children:"Last 7 days"})}),(0,g.jsx)(l.A,{value:"week_to_date",sx:{padding:"5px 10px",color:"rgba(255,255,255,0.8)",borderColor:"#fff",border:"none",borderLeft:"0px solid #fff","&.Mui-selected":{color:"#fff",backgroundColor:"var(--nav-bar-color)",borderLeft:"0px solid #fff"},"&.Mui-selected:hover":{backgroundColor:"var(--nav-bar-color-hover)"},":hover":{backgroundColor:"var(--background-color)",fontWeight:"bolder",color:"#fff"}},children:(0,g.jsx)("p",{style:{margin:"0",textTransform:"none",fontWeight:"600",fontSize:"14px"},children:"Week to Date"})}),(0,g.jsx)(l.A,{value:"last_week",sx:{padding:"5px 10px",color:"rgba(255,255,255,0.8)",borderColor:"#fff",border:"none",borderLeft:"0px solid #fff","&.Mui-selected":{color:"#fff",backgroundColor:"var(--nav-bar-color)",borderLeft:"0px solid #fff"},"&.Mui-selected:hover":{backgroundColor:"var(--nav-bar-color-hover)"},":hover":{backgroundColor:"var(--background-color)",fontWeight:"bolder",color:"#fff"}},children:(0,g.jsx)("p",{style:{margin:"0",textTransform:"none",fontWeight:"600",fontSize:"14px"},children:"Last Week"})}),(0,g.jsx)(l.A,{value:"last_14_days",sx:{padding:"5px 10px",color:"rgba(255,255,255,0.8)",borderColor:"#fff",border:"none",borderLeft:"0px solid #fff","&.Mui-selected":{color:"#fff",backgroundColor:"var(--nav-bar-color)",borderLeft:"0px solid #fff"},"&.Mui-selected:hover":{backgroundColor:"var(--nav-bar-color-hover)"},":hover":{backgroundColor:"var(--background-color)",fontWeight:"bolder",color:"#fff"}},children:(0,g.jsx)("p",{style:{margin:"0",textTransform:"none",fontWeight:"600",fontSize:"14px"},children:"Last 14 days"})}),(0,g.jsx)(l.A,{value:"last_30_days",sx:{padding:"5px 10px",color:"rgba(255,255,255,0.8)",borderColor:"#fff",border:"none",borderLeft:"0px solid #fff","&.Mui-selected":{color:"#fff",backgroundColor:"var(--nav-bar-color)",borderLeft:"0px solid #fff"},"&.Mui-selected:hover":{backgroundColor:"var(--nav-bar-color-hover)"},":hover":{backgroundColor:"var(--background-color)",fontWeight:"bolder",color:"#fff"}},children:(0,g.jsx)("p",{style:{margin:"0",textTransform:"none",fontWeight:"600",fontSize:"14px"},children:"Last 30 days"})}),(0,g.jsx)(l.A,{value:"month_to_prev_month",sx:{padding:"5px 10px",color:"rgba(255,255,255,0.8)",borderColor:"#fff",border:"none",borderLeft:"0px solid #fff","&.Mui-selected":{color:"#fff",backgroundColor:"var(--nav-bar-color)",borderLeft:"0px solid #fff"},"&.Mui-selected:hover":{backgroundColor:"var(--nav-bar-color-hover)"},":hover":{backgroundColor:"var(--background-color)",fontWeight:"bolder",color:"#fff"}},children:(0,g.jsx)("p",{style:{margin:"0",textTransform:"none",fontWeight:"600",fontSize:"14px"},children:"Month to Prev Month"})}),(0,g.jsx)(l.A,{value:"month_to_date",sx:{padding:"5px 10px",color:"rgba(255,255,255,0.8)",borderColor:"#fff",border:"none",borderRight:"0px solid #fff","&.Mui-selected":{color:"#fff",backgroundColor:"var(--nav-bar-color)",borderRight:"0px solid #fff"},"&.Mui-selected:hover":{backgroundColor:"var(--nav-bar-color-hover)"},":hover":{backgroundColor:"var(--background-color)",fontWeight:"bolder",color:"#fff"}},children:(0,g.jsx)("p",{style:{margin:"0",textTransform:"none",fontWeight:"600",fontSize:"14px"},children:"Month to Date"})}),(0,g.jsx)(l.A,{value:"last_month",sx:{padding:"5px 10px",color:"rgba(255,255,255,0.8)",borderColor:"#fff",border:"none",borderLeft:"0px solid #fff","&.Mui-selected":{color:"#fff",backgroundColor:"var(--nav-bar-color)",borderLeft:"0px solid #fff"},"&.Mui-selected:hover":{backgroundColor:"var(--nav-bar-color-hover)"},":hover":{backgroundColor:"var(--background-color)",fontWeight:"bolder",color:"#fff"}},children:(0,g.jsx)("p",{style:{margin:"0",textTransform:"none",fontWeight:"600",fontSize:"14px"},children:"Last Month"})}),(0,g.jsx)(l.A,{value:"last_90_days",sx:{padding:"5px 10px",color:"rgba(255,255,255,0.8)",borderColor:"#fff",border:"none",borderLeft:"0px solid #fff","&.Mui-selected":{color:"#fff",backgroundColor:"var(--nav-bar-color)",borderLeft:"0px solid #fff"},"&.Mui-selected:hover":{backgroundColor:"var(--nav-bar-color-hover)"},":hover":{backgroundColor:"var(--background-color)",fontWeight:"bolder",color:"#fff"}},children:(0,g.jsx)("p",{style:{margin:"0",textTransform:"none",fontWeight:"600",fontSize:"14px"},children:"Last 90 Days"})}),(0,g.jsx)(l.A,{value:"quarter_to_date",sx:{padding:"5px 10px",color:"rgba(255,255,255,0.8)",borderColor:"#fff",border:"none",borderLeft:"0px solid #fff","&.Mui-selected":{color:"#fff",backgroundColor:"var(--nav-bar-color)",borderLeft:"0px solid #fff"},"&.Mui-selected:hover":{backgroundColor:"var(--nav-bar-color-hover)"},":hover":{backgroundColor:"var(--background-color)",fontWeight:"bolder",color:"#fff"}},children:(0,g.jsx)("p",{style:{margin:"0",textTransform:"none",fontWeight:"600",fontSize:"14px"},children:"Quarter To Date"})}),(0,g.jsx)(l.A,{value:"last_quarter",sx:{padding:"5px 10px",color:"rgba(255,255,255,0.8)",borderColor:"#fff",border:"none",borderLeft:"0px solid #fff","&.Mui-selected":{color:"#fff",backgroundColor:"var(--nav-bar-color)",borderLeft:"0px solid #fff"},"&.Mui-selected:hover":{backgroundColor:"var(--nav-bar-color-hover)"},":hover":{backgroundColor:"var(--background-color)",fontWeight:"bolder",color:"#fff"}},children:(0,g.jsx)("p",{style:{margin:"0",textTransform:"none",fontWeight:"600",fontSize:"14px"},children:"Last Quarter"})}),(0,g.jsx)(l.A,{value:"since_launch",sx:{padding:"5px 10px",color:"rgba(255,255,255,0.8)",borderColor:"#fff",border:"none",borderLeft:"0px solid #fff","&.Mui-selected":{color:"#fff",backgroundColor:"var(--nav-bar-color)",borderLeft:"0px solid #fff"},"&.Mui-selected:hover":{backgroundColor:"var(--nav-bar-color-hover)"},":hover":{backgroundColor:"var(--background-color)",fontWeight:"bolder",color:"#fff"}},children:(0,g.jsx)("p",{style:{margin:"0",textTransform:"none",fontWeight:"600",fontSize:"14px"},children:"Since Launch"})}),(0,g.jsx)(l.A,{value:"all_time",sx:{padding:"5px 10px",color:"rgba(255,255,255,0.8)",borderColor:"#fff",border:"none",borderLeft:"0px solid #fff","&.Mui-selected":{color:"#fff",backgroundColor:"var(--nav-bar-color)",borderLeft:"0px solid #fff"},"&.Mui-selected:hover":{backgroundColor:"var(--nav-bar-color-hover)"},":hover":{backgroundColor:"var(--background-color)",fontWeight:"bolder",color:"#fff"}},children:(0,g.jsx)("p",{style:{margin:"0",textTransform:"none",fontWeight:"600",fontSize:"14px"},children:"All Time"})})]}),(0,g.jsx)(r.Ay,{xs:12,container:!0,justifyContent:"center",alignItems:"center",sx:{marginBottom:"0px",marginTop:"20px"},children:(0,g.jsxs)(r.Ay,{container:!0,xs:12,alignItems:"center",justifyContent:"center",children:[(0,g.jsx)(d.A,{children:(0,g.jsx)(a.A,{sx:{color:t,fontWeight:"600",width:"160px",marginTop:"10px",top:"-15px",lineHeight:"14px",fontSize:"14px",textAlign:"center",position:"relative",paddingBottom:"13px",paddingTop:"13px",backgroundColor:e},children:"Custom Date Range"})}),(0,g.jsxs)(d.A,{style:{width:"350px",display:"flex"},children:[(0,g.jsx)(a.A,{sx:{color:"rgba(255,255,255,0.8)",fontWeight:"600",width:"80px",marginRight:"10px",textAlign:"right",marginTop:"10px",fontSize:"14px"},children:"Start Date"}),(0,g.jsx)(c.A,{size:"small",hiddenLabel:!0,type:"text",placeholder:"dd",name:"register_field_password",value:this.props.time_start_day,onChange:this.props.handleStartDay,inputProps:{maxLength:2},fullWidth:!0,id:"filled-basic",variant:"filled",InputProps:{disableUnderline:!0,style:{fontSize:"18px",fontWeight:"600",color:"var(--primary-text-color)",textAlign:"center"}},sx:{marginBottom:"20px",backgroundColor:"#444957",width:"60px",borderRadius:"5px",marginRight:"10px"}}),(0,g.jsx)(c.A,{size:"small",hiddenLabel:!0,type:"text",placeholder:"mm",name:"register_field_password",value:this.props.time_start_month,onChange:this.props.handleStartMonth,fullWidth:!0,id:"filled-basic",variant:"filled",inputProps:{maxLength:2},InputProps:{disableUnderline:!0,style:{fontSize:"18px",fontWeight:"600",color:"var(--primary-text-color)",textAlign:"center"}},sx:{marginBottom:"20px",backgroundColor:"#444957",width:"60px",borderRadius:"5px",marginRight:"10px"}}),(0,g.jsx)(c.A,{size:"small",hiddenLabel:!0,type:"text",placeholder:"yyyy",name:"register_field_password",value:this.props.time_start_year,onChange:this.props.handleStartYear,fullWidth:!0,id:"filled-basic",variant:"filled",inputProps:{maxLength:4},InputProps:{disableUnderline:!0,style:{fontSize:"18px",fontWeight:"600",color:"var(--primary-text-color)",textAlign:"center"}},sx:{marginBottom:"20px",backgroundColor:"#444957",width:"100px",borderRadius:"5px"}})]}),(0,g.jsx)(a.A,{sx:{color:"rgba(255,255,255,0.8)",fontWeight:"600",width:"50px",marginTop:"10px",top:"-15px",lineHeight:"14px",fontSize:"14px",textAlign:"center",position:"relative"},children:"To"}),(0,g.jsxs)(d.A,{style:{width:"350px",display:"flex"},children:[(0,g.jsx)(a.A,{sx:{color:"rgba(255,255,255,0.8)",fontWeight:"600",width:"80px",marginRight:"10px",textAlign:"right",marginTop:"10px",fontSize:"14px"},children:"End Date"}),(0,g.jsx)(c.A,{size:"small",hiddenLabel:!0,type:"text",placeholder:"dd",name:"register_field_password",value:this.props.time_end_day,onChange:this.props.handleEndDay,inputProps:{maxLength:2},fullWidth:!0,id:"filled-basic",variant:"filled",InputProps:{disableUnderline:!0,style:{fontSize:"18px",fontWeight:"600",color:"var(--primary-text-color)",textAlign:"center"}},sx:{marginBottom:"20px",backgroundColor:"#444957",width:"60px",borderRadius:"5px",marginRight:"10px"}}),(0,g.jsx)(c.A,{size:"small",hiddenLabel:!0,type:"text",placeholder:"mm",name:"register_field_password",value:this.props.time_end_month,onChange:this.props.handleEndMonth,fullWidth:!0,id:"filled-basic",variant:"filled",inputProps:{maxLength:2},InputProps:{disableUnderline:!0,style:{fontSize:"18px",fontWeight:"600",color:"var(--primary-text-color)",textAlign:"center"}},sx:{marginBottom:"20px",backgroundColor:"#444957",width:"60px",borderRadius:"5px",marginRight:"10px"}}),(0,g.jsx)(c.A,{size:"small",hiddenLabel:!0,type:"text",placeholder:"yyyy",name:"register_field_password",value:this.props.time_end_year,onChange:this.props.handleEndYear,fullWidth:!0,id:"filled-basic",variant:"filled",inputProps:{maxLength:4},InputProps:{disableUnderline:!0,style:{fontSize:"18px",fontWeight:"600",color:"var(--primary-text-color)",textAlign:"center"}},sx:{marginBottom:"20px",backgroundColor:"#444957",width:"100px",borderRadius:"5px"}})]}),(0,g.jsx)(o.A,{fullWidth:!0,variant:"contained",sx:{width:"auto",textTransform:"capitalize",backgroundColor:"var(--primary-color)",fontSize:"16px",padding:"3px 20px 3px 20px",boxShadow:"none",margin:"20px 0px 20px 0px",top:"-10px",fontWeight:"600","
1:hover":{bgcolor:"var(--primary-color-hover)",color:"white",boxShadow:"none"}},type:"submit",value:"submit",onClick:t=>{this.props.handleCustomRangeSubmit(t)},children:"Select"})]})})]})}}const h=p},58238(t,e,i){i.r(e),i.d(e,{default:()=>B});var n=i(82483),r=i(80517),a=i(57513),o=i(85555),l=i(39908),s=i(23390),d=i(52307),c=i(65470),g=i(67626),p=i(71481),h=i(52891),x=i(7636),_=i(77192),f=i(54027),u=i(24879),m=i(20792),y=i(44152),v=i(26592),b=i(63657),A=i(85596),j=i(918),w=i(47260),L=i(73817),k=i(8426),S=i(97773),C=i(56723);const R=i(98635),T={display:"flex",height:"auto",minHeight:"100vh",minWidth:"100vw",overflowY:"hidden",outline:"none",zIndex:"9999"};function W(t,e,i){for(var n=[],r=(e-t)/(i-1),a=0;a<i;a++)n.push(t+r*a);return n}class z extends n.PureComponent{constructor(t){super(t),this.state={}}render(){return(0,C.jsxs)("div",{style:{backgroundColor:"var(--background-color-alt)",color:"var(--secondary-color)",height:"100%",width:"auto",marginLeft:"10px",marginRight:"10px",borderRadius:"5px"},children:[(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"calc(12px + 0.25vw)",paddingTop:"20px",textAlign:"center",width:"100%",marginRight:"auto",marginLeft:"auto",color:"white"},children:this.props.title}),(0,C.jsx)(A.u,{width:"100%",height:250,children:(0,C.jsxs)(S.Q,{data:this.props.data,margin:{top:10,right:30,left:0,bottom:5},children:[(0,C.jsxs)("defs",{children:[(0,C.jsxs)("linearGradient",{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,C.jsx)("stop",{offset:"5%",stopColor:"var(--primary-color)",stopOpacity:.8}),(0,C.jsx)("stop",{offset:"95%",stopColor:"var(--primary-color)",stopOpacity:0})]}),(0,C.jsxs)("linearGradient",{id:"colorPv",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,C.jsx)("stop",{offset:"5%",stopColor:"var(--secondary-color)",stopOpacity:.8}),(0,C.jsx)("stop",{offset:"95%",stopColor:"var(--secondary-color)",stopOpacity:0})]}),(0,C.jsxs)("linearGradient",{id:"colorTv",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,C.jsx)("stop",{offset:"5%",stopColor:"var(--gold-premium-color)",stopOpacity:.8}),(0,C.jsx)("stop",{offset:"95%",stopColor:"var(--gold-premium-color)",stopOpacity:0})]})]}),(0,C.jsx)(j.d,{strokeDasharray:"3 3"}),(0,C.jsx)(L.W,{dataKey:"name",tick:{fill:"white"},tickLine:{stroke:"white"}}),(0,C.jsx)(k.h,{tick:{fill:"white"},tickLine:{stroke:"white"}}),(0,C.jsx)(b.s,{}),(0,C.jsx)(w.G,{type:"monotone",dataKey:this.props.data_key[0],stroke:"var(--primary-color)",fillOpacity:1,fill:"url(#colorUv)"}),(0,C.jsx)(w.G,{type:"monotone",dataKey:this.props.data_key[1],stroke:"var(--secondary-color)",fillOpacity:1,fill:"url(#colorPv)"}),(0,C.jsx)(w.G,{type:"monotone",dataKey:this.props.data_key[2],stroke:"var(--gold-premium-color)",fillOpacity:1,fill:"url(#colorTv)"})]})})]})}}class I extends n.Component{constructor(t){super(t),this.get_and_post_data_skeleton=r.A,this.handleTimeRange=v.pH,this.handleCustomRangeSubmit=v.JQ,this.handleStartDay=v.z7,this.handleStartMonth=v.bh,this.handleStartYear=v._I,this.handleEndDay=v.oW,this.handleEndMonth=v._P,this.handleEndYear=v.$P,this.state={show_trend_lines:!1,time_range:"last_30_days",time_start_day:"",time_start_month:"",time_start_year:"",time_end_day:"",time_end_month:"",time_end_year:"",active_influencers:[],selected_influencer:"",metrics:["page_views","view_to_trial_rate","trial_conversion_rate"],selected_metric:"",total_page_views:0,total_active_user_page_views:0,total_sessions_user_page_views:0,monthly_sub_perc:"",annual_sub_perc:"",monthly_trial_perc:"",annual_trial_perc:"",total_view_to_trial_ratio:"",total_trial_conversion_rate:"",total_churn_perc_not_including_pending:"",subscriber_churn_perc_not_including_pending_discord:"",tier_1_view_to_trial_ratio:"",tier_1_trial_conversion_rate:"",tier_1_churn_perc_not_including_pending:"",tier_2_view_to_trial_ratio:"",tier_2_trial_conversion_rate:"",tier_2_churn_perc_not_including_pending:"",tier_3_view_to_trial_ratio:"",tier_3_trial_conversion_rate:"",tier_3_churn_perc_not_including_pending:"",graph_data:[],graph_data_with_trend:[],number_of_influencers:"",perc_financially_succesful_influencers:"",perc_financially_earning_influencers:"",perc_of_influencers_with_discord:"",influencer_page_views:0,influencer_active_page_views:0,influencer_all_page_views:0,influencer_active_user_page_views:0,influencer_sessions_user_page_views:0,influencer_monthly_sub_perc:"",influencer_annual_sub_perc:"",influencer_monthly_trial_perc:"",influencer_annual_tri
1al_perc:"",influencer_view_to_trial_ratio:0,influencer_trial_conversion_rate:0,influencer_discord_uptake:"",influencer_churn_perc_not_including_pending:"",influencer_subscriber_churn_perc_not_including_pending_discord:"",influencer_tier_1_view_to_trial_ratio:"",influencer_tier_1_trial_conversion_rate:"",influencer_tier_1_churn_perc_not_including_pending:"",influencer_tier_2_view_to_trial_ratio:"",influencer_tier_2_trial_conversion_rate:"",influencer_tier_2_churn_perc_not_including_pending:"",influencer_tier_3_view_to_trial_ratio:"",influencer_tier_3_trial_conversion_rate:"",influencer_tier_3_churn_perc_not_including_pending:"",influencer_graph_data:[],influencer_graph_data_with_trend:[],influencer_show_trend_lines:[],metric_ranking:[],upload_loading:!0,upload_off_switch:!0,number_of_downgrades:"",number_of_upgrades:"",upgrade_perc:"",downgrade_perc:""},this.get_and_post_data_skeleton=this.get_and_post_data_skeleton.bind(this),this.getInfluencerIndividualInfo=this.getInfluencerIndividualInfo.bind(this),this.getInfluencerIndividualInfoPost=this.getInfluencerIndividualInfoPost.bind(this),this.getInfluencerRankingInfo=this.getInfluencerRankingInfo.bind(this),this.getInfluencerRankingInfoPost=this.getInfluencerRankingInfoPost.bind(this),this.updateTimeRange=this.updateTimeRange.bind(this),this.mainDataPost=this.mainDataPost.bind(this),this.handleTimeRange=this.handleTimeRange.bind(this),this.handleCustomRangeSubmit=this.handleCustomRangeSubmit.bind(this),this.handleStartDay=this.handleStartDay.bind(this),this.handleStartMonth=this.handleStartMonth.bind(this),this.handleStartYear=this.handleStartYear.bind(this),this.handleEndDay=this.handleEndDay.bind(this),this.handleEndMonth=this.handleEndMonth.bind(this),this.handleEndYear=this.handleEndYear.bind(this)}componentDidMount(){const t=new FormData;t.append("time_range",this.state.time_range),t.append("start_date",null),t.append("end_date",null),this.get_and_post_data_skeleton(R.BACKEND_URL+"api/staff/influencer/active_influencer_analytics","post",!1,t,this.mainDataPost)}getInfluencerIndividualInfo(t){this.setState({upload_loading:!0});const e=new FormData;e.append("influencer",t),e.append("time_range",this.state.time_range);let i=this.state.time_start_day.toString()+"/"+this.state.time_start_month.toString()+"/"+ +this.state.time_start_year.toString(),n=this.state.time_end_day.toString()+"/"+this.state.time_end_month.toString()+"/"+ +this.state.time_end_year.toString();e.append("start_date",i),e.append("end_date",n),this.get_and_post_data_skeleton(R.BACKEND_URL+"api/staff/influencer/active_influencer_individual","post",!1,e,this.getInfluencerIndividualInfoPost)}getInfluencerIndividualInfoPost(t){this.setState({influencer_page_views:t.data.influencer_page_views,influencer_view_to_trial_ratio:t.data.influencer_view_to_trial_ratio,influencer_monthly_sub_perc:t.data.influencer_monthly_sub_perc,influencer_annual_sub_perc:t.data.influencer_annual_sub_perc,influencer_monthly_trial_perc:t.data.influencer_monthly_trial_perc,influencer_annual_trial_perc:t.data.influencer_annual_trial_perc,influencer_trial_conversion_rate:t.data.influencer_trial_conversion_rate,influencer_discord_uptake:t.data.influencer_discord_uptake,influencer_graph_data:t.data.graph_data,influencer_churn_perc_not_including_pending:t.data.influencer_churn_perc_not_including_pending,influencer_subscriber_churn_perc_not_including_pending_discord:t.data.influencer_subscriber_churn_perc_not_including_pending_discord,influencer_tier_1_view_to_trial_ratio:t.data.influencer_tier_1_view_to_trial_ratio,influencer_tier_1_trial_conversion_rate:t.data.influencer_tier_1_trial_conversion_rate,influencer_tier_1_churn_perc_not_including_pending:t.data.influencer_tier_1_churn_perc_not_including_pending,influencer_tier_2_view_to_trial_ratio:t.data.influencer_tier_2_view_to_trial_ratio,influencer_tier_2_trial_conversion_rate:t.data.influencer_tier_2_trial_conversion_rate,influencer_tier_2_churn_perc_not_including_pending:t.data.influencer_tier_2_churn_perc_not_including_pending,influencer_tier_3_view_to_trial_ratio:t.data.influencer_tier_3_view_to_trial_ratio,influencer_tier_3_trial_conversion_rate:t.data.influencer_tier_3_trial_conversion_rate,influencer_tier_3_churn_perc_not_including_pending:t.data.influencer_tier_3_churn_perc_not_including_pending});let e=[...t.data.graph_data],i=t.data.graph_data[0]["Active Subs"],n=t.data.graph_data[t.data.graph_data.length-1]["Active Subs"],r=W(n,n+(n-i),t.data.graph_data.length);for(var a=0;a<r.length;
1a++)e.push({name:"+"+String(a+1),"Active Subs Trend":r[a]});this.setState({influencer_graph_data_with_trend:e}),this.setState({upload_loading:!1})}getInfluencerRankingInfo(t){this.setState({upload_loading:!0});const e=new FormData;e.append("metric",t),e.append("time_range",this.state.time_range);let i=this.state.time_start_day.toString()+"/"+this.state.time_start_month.toString()+"/"+ +this.state.time_start_year.toString(),n=this.state.time_end_day.toString()+"/"+this.state.time_end_month.toString()+"/"+ +this.state.time_end_year.toString();e.append("start_date",i),e.append("end_date",n),this.get_and_post_data_skeleton(R.BACKEND_URL+"api/staff/influencer/active_influencer_ranking","post",!1,e,this.getInfluencerRankingInfoPost)}getInfluencerRankingInfoPost(t){this.setState({metric_ranking:t.data.metric_ranking}),this.setState({upload_loading:!1})}updateTimeRange(t,e,i,n){this.setState({upload_loading:!0}),this.setState({time_range:e});const r=new FormData;r.append("time_range",e),r.append("start_date",i),r.append("end_date",n),this.get_and_post_data_skeleton(R.BACKEND_URL+"api/staff/influencer/active_influencer_analytics","post",!1,r,this.mainDataPost)}mainDataPost(t){this.setState({active_influencers:t.data.active_influencers,total_page_views:t.data.total_page_views,total_active_user_page_views:t.data.total_active_user_page_views,total_sessions_user_page_views:t.data.total_sessions_user_page_views,total_view_to_trial_ratio:t.data.total_view_to_trial_ratio,total_trial_conversion_rate:t.data.total_trial_conversion_rate,monthly_sub_perc:t.data.monthly_sub_perc,annual_sub_perc:t.data.annual_sub_perc,monthly_trial_perc:t.data.monthly_trial_perc,annual_trial_perc:t.data.annual_trial_perc,number_of_downgrades:t.data.number_of_downgrades,number_of_upgrades:t.data.number_of_upgrades,upgrade_perc:t.data.upgrade_perc,downgrade_perc:t.data.downgrade_perc,number_of_influencers:t.data.number_of_influencers,perc_financially_succesful_influencers:t.data.perc_financially_succesful_influencers,perc_financially_earning_influencers:t.data.perc_financially_earning_influencers,perc_of_influencers_with_discord:t.data.perc_of_influencers_with_discord,total_churn_perc_not_including_pending:t.data.total_churn_perc_not_including_pending,subscriber_churn_perc_not_including_pending_discord:t.data.subscriber_churn_perc_not_including_pending_discord,tier_1_view_to_trial_ratio:t.data.tier_1_view_to_trial_ratio,tier_1_trial_conversion_rate:t.data.tier_1_trial_conversion_rate,tier_1_churn_perc_not_including_pending:t.data.tier_1_churn_perc_not_including_pending,tier_2_view_to_trial_ratio:t.data.tier_2_view_to_trial_ratio,tier_2_trial_conversion_rate:t.data.tier_2_trial_conversion_rate,tier_2_churn_perc_not_including_pending:t.data.tier_2_churn_perc_not_including_pending,tier_3_view_to_trial_ratio:t.data.tier_3_view_to_trial_ratio,tier_3_trial_conversion_rate:t.data.tier_3_trial_conversion_rate,tier_3_churn_perc_not_including_pending:t.data.tier_3_churn_perc_not_including_pending,graph_data:t.data.graph_data});let e=[...t.data.graph_data],i=t.data.graph_data[0]["Active Subs"],n=t.data.graph_data[t.data.graph_data.length-1]["Active Subs"],r=W(n,n+(n-i),t.data.graph_data.length);for(var a=0;a<r.length;a++)e.push({name:"+"+String(a+1),"Active Subs Trend":r[a]});this.setState({graph_data_with_trend:e}),""!==this.state.selected_influencer&&this.getInfluencerIndividualInfo(this.state.selected_influencer),""!==this.state.selected_metric&&this.getInfluencerRankingInfo(this.state.selected_metric),this.setState({upload_loading:!1})}render(){let t="";t=!0===this.state.show_trend_lines?(0,C.jsx)(z,{data:this.state.graph_data_with_trend,data_key:["New Trials","Active Subs","Active Subs Trend"],title:"New Trials and Active Memberships"}):(0,C.jsx)(z,{data:this.state.graph_data,data_key:["New Trials","Active Subs"],title:"New Trials and Active Memberships"});let e="";return e=!0===this.state.influencer_show_trend_lines?(0,C.jsx)(z,{data:this.state.influencer_graph_data_with_trend,data_key:["New Trials","Active Subs","Active Subs Trend"],title:"New Trials and Active Memberships"}):(0,C.jsx)(z,{data:this.state.influencer_graph_data,data_key:["New Trials","Active Subs"],title:"New Trials and Active Memberships"}),(0,C.jsxs)(a.Ay,{container:!0,xs:12,justifyContent:"center",alignItems:"center",sx:{minHeight:"100vh"},style:{backgroundColor:"var(--background-color)"},children:[this.state.upload_loading?(0,C.jsx)(u.A,{open:this.state.upload_loading,children:(0,C.jsx)(h.A,{style:T,sx:{dis
1play:"flex",width:"100%",height:"100%",margin:"auto"},children:(0,C.jsxs)(a.Ay,{container:!0,spacing:0,direction:"column",alignItems:"center",justifyContent:"center",style:{minHeight:"90vh"},children:[(0,C.jsx)(m.A,{sx:{color:"var(--primary-color)"}}),(0,C.jsx)("p",{style:{color:"var(--primary-text-color)",fontSize:"var(--medium-text)",fontWeight:"600"},children:"Getting Data..."})]})})}):(0,C.jsx)("div",{}),(0,C.jsx)(y.A,{handleTimeRange:this.handleTimeRange,handleCustomRangeSubmit:this.handleCustomRangeSubmit,handleStartDay:this.handleStartDay,handleStartMonth:this.handleStartMonth,handleStartYear:this.handleStartYear,handleEndDay:this.handleEndDay,handleEndMonth:this.handleEndMonth,handleEndYear:this.handleEndYear,time_range:this.state.time_range,time_start_day:this.state.time_start_day,time_start_month:this.state.time_start_month,time_start_year:this.state.time_start_year,time_end_day:this.state.time_end_day,time_end_month:this.state.time_end_month,time_end_year:this.state.time_end_year}),(0,C.jsx)(a.Ay,{xs:12,children:(0,C.jsx)(c.A,{style:{color:"white",fontSize:"26px",fontWeight:"600",textAlign:"center"},children:"All Active Influencers"})}),(0,C.jsx)(a.Ay,{xs:12,lg:8,children:(0,C.jsxs)("div",{style:{backgroundColor:"var(--background-color-alt)",height:"auto",width:"auto",marginLeft:"10px",marginRight:"10px",marginBottom:"20px",borderRadius:"5px",paddingBottom:"10px"},children:[(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"calc(12px + 0.25vw)",paddingTop:"20px",textAlign:"center",width:"100%",marginRight:"auto",marginLeft:"auto",color:"white"},children:"Total Active Influencer Metrics"}),(0,C.jsxs)(a.Ay,{container:!0,spacing:0,alignItems:"center",justifyContent:"center",children:[(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsx)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:this.state.number_of_influencers}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Number of Active Influencers"})]}),(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.perc_financially_succesful_influencers,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Financially Successful Influencers (> \xa3300 MRR)"})]}),(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.perc_financially_earning_influencers,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Financially Earning Influencers (> \xa30 MRR)"})]}),(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.perc_of_influencers_with_discord,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9
1CA3B4"},children:"Influencers with Discord"})]})]})]})}),(0,C.jsx)(a.Ay,{xs:12,lg:8,children:(0,C.jsxs)("div",{style:{backgroundColor:"var(--background-color-alt)",height:"auto",width:"auto",marginLeft:"10px",marginRight:"10px",marginBottom:"20px",borderRadius:"5px",paddingBottom:"10px"},children:[(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"calc(12px + 0.25vw)",paddingTop:"20px",textAlign:"center",width:"100%",marginRight:"auto",marginLeft:"auto",color:"white"},children:" "}),(0,C.jsxs)(a.Ay,{container:!0,spacing:0,alignItems:"center",justifyContent:"center",children:[(0,C.jsxs)(a.Ay,{xs:4,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsx)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:this.state.total_sessions_user_page_views}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"All Page Views"})]}),(0,C.jsxs)(a.Ay,{xs:4,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsx)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:this.state.total_active_user_page_views}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Active People Views"})]}),(0,C.jsxs)(a.Ay,{xs:4,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsx)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:this.state.total_page_views}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"New People Views"})]})]})]})}),(0,C.jsx)(a.Ay,{xs:12,lg:8,children:(0,C.jsxs)("div",{style:{backgroundColor:"var(--background-color-alt)",height:"auto",width:"auto",marginLeft:"10px",marginRight:"10px",marginBottom:"20px",borderRadius:"5px",paddingBottom:"10px"},children:[(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"calc(12px + 0.25vw)",paddingTop:"20px",textAlign:"center",width:"100%",marginRight:"auto",marginLeft:"auto",color:"white"},children:" Monthly vs Annual"}),(0,C.jsxs)(a.Ay,{container:!0,spacing:0,alignItems:"center",justifyContent:"center",children:[(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.monthly_trial_perc,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Monthly Trial %"})]}),(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"}
1,children:[this.state.annual_trial_perc,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Annual Trial %"})]}),(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.monthly_sub_perc,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Monthly Sub %"})]}),(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.annual_sub_perc,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Annual Sub %"})]})]})]})}),(0,C.jsx)(a.Ay,{xs:12,lg:8,children:(0,C.jsxs)("div",{style:{backgroundColor:"var(--background-color-alt)",height:"auto",width:"auto",marginLeft:"10px",marginRight:"10px",marginBottom:"20px",borderRadius:"5px",paddingBottom:"10px"},children:[(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"calc(12px + 0.25vw)",paddingTop:"20px",textAlign:"center",width:"100%",marginRight:"auto",marginLeft:"auto",color:"white"},children:"Membership Upgrades and Downgrades"}),(0,C.jsxs)(a.Ay,{container:!0,spacing:0,alignItems:"center",justifyContent:"center",children:[(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsx)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:this.state.number_of_downgrades}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Number of downgrades"})]}),(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.downgrade_perc,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Downgrades as a % of all subs"})]}),(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsx)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:this.state.number_of_upgrades}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9
1CA3B4"},children:"Number of upgrades"})]}),(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.upgrade_perc,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Upgrades as a % of all subs"})]})]})]})}),(0,C.jsx)(a.Ay,{xs:12,lg:8,children:(0,C.jsxs)("div",{style:{backgroundColor:"var(--background-color-alt)",height:"auto",width:"auto",marginLeft:"10px",marginRight:"10px",marginBottom:"20px",borderRadius:"5px",paddingBottom:"10px"},children:[(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"calc(12px + 0.25vw)",paddingTop:"20px",textAlign:"center",width:"100%",marginRight:"auto",marginLeft:"auto",color:"white"},children:"All Tier Metrics"}),(0,C.jsxs)(a.Ay,{container:!0,spacing:0,alignItems:"center",justifyContent:"center",children:[(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.total_view_to_trial_ratio,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"View to Trial (or direct sub) Rate"})]}),(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.total_trial_conversion_rate,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Trial Conversion Rate"})]}),(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.total_churn_perc_not_including_pending,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Churn Rate"})]}),(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.subscriber_churn_perc_not_including_pending_discord,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9
1CA3B4"},children:"Churn Rate (With Discord)"})]})]})]})}),(0,C.jsx)(a.Ay,{xs:12,lg:8,children:(0,C.jsxs)("div",{style:{backgroundColor:"var(--background-color-alt)",height:"auto",width:"auto",marginLeft:"10px",marginRight:"10px",marginBottom:"20px",borderRadius:"5px",paddingBottom:"10px"},children:[(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"calc(12px + 0.25vw)",paddingTop:"20px",textAlign:"center",width:"100%",marginRight:"auto",marginLeft:"auto",color:"white"},children:"Tier 1 Metrics"}),(0,C.jsxs)(a.Ay,{container:!0,spacing:0,alignItems:"center",justifyContent:"center",children:[(0,C.jsxs)(a.Ay,{xs:4,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.tier_1_view_to_trial_ratio,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"View to Trial (or direct sub) Rate"})]}),(0,C.jsxs)(a.Ay,{xs:4,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.tier_1_trial_conversion_rate,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Trial Conversion Rate"})]}),(0,C.jsxs)(a.Ay,{xs:4,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.tier_1_churn_perc_not_including_pending,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Churn Rate"})]})]})]})}),(0,C.jsx)(a.Ay,{xs:12,lg:8,children:(0,C.jsxs)("div",{style:{backgroundColor:"var(--background-color-alt)",height:"auto",width:"auto",marginLeft:"10px",marginRight:"10px",marginBottom:"20px",borderRadius:"5px",paddingBottom:"10px"},children:[(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"calc(12px + 0.25vw)",paddingTop:"20px",textAlign:"center",width:"100%",marginRight:"auto",marginLeft:"auto",color:"white"},children:"Tier 2 Metrics"}),(0,C.jsxs)(a.Ay,{container:!0,spacing:0,alignItems:"center",justifyContent:"center",children:[(0,C.jsxs)(a.Ay,{xs:4,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.tier_2_view_to_trial_ratio,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"View to Trial (or direct sub) Rate"})]}),(0,C.jsxs)(a.Ay,{xs:4,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.tier_2_trial_conversion_rate,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9
1CA3B4"},children:"Trial Conversion Rate"})]}),(0,C.jsxs)(a.Ay,{xs:4,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.tier_2_churn_perc_not_including_pending,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Churn Rate"})]})]})]})}),(0,C.jsx)(a.Ay,{xs:12,lg:8,children:(0,C.jsxs)("div",{style:{backgroundColor:"var(--background-color-alt)",height:"auto",width:"auto",marginLeft:"10px",marginRight:"10px",marginBottom:"20px",borderRadius:"5px",paddingBottom:"10px"},children:[(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"calc(12px + 0.25vw)",paddingTop:"20px",textAlign:"center",width:"100%",marginRight:"auto",marginLeft:"auto",color:"white"},children:"Tier 3 Metrics"}),(0,C.jsxs)(a.Ay,{container:!0,spacing:0,alignItems:"center",justifyContent:"center",children:[(0,C.jsxs)(a.Ay,{xs:4,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.tier_3_view_to_trial_ratio,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"View to Trial (or direct sub) Rate"})]}),(0,C.jsxs)(a.Ay,{xs:4,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.tier_3_trial_conversion_rate,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Trial Conversion Rate"})]}),(0,C.jsxs)(a.Ay,{xs:4,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.tier_3_churn_perc_not_including_pending,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Churn Rate"})]})]})]})}),(0,C.jsxs)(a.Ay,{container:!0,xs:12,spacing:0,alignItems:"stretch",justifyContent:"center",sx:{paddingBottom:"10px",marginBottom:"20px"},children:[(0,C.jsx)(a.Ay,{xs:12,sm:8,md:8,lg:8,style:{marginTop:"10px",marginBottom:"10px"},children:t}),(0,C.jsx)(a.Ay,{container:!0,xs:12,justifyContent:"center",alignItems:"center",sx:{paddingTop:"20px"},children:(0,C.jsx)(f.A,{exclusive:!0,value:this.state.show_trend_lines,onChange:(t,e)=>{this.setState({show_trend_lines:e})},"aria-label":"text formatting",children:(0,C.jsx)(_.A,{value:!0,sx:{padding:"5px 10px",color:"rgba(255,255,255,0.8)",borderColor:"#fff",border:"none",borderLeft:"0px solid #fff","&.Mui-selected":{color:"#fff",backgroundColor:"var(--nav-bar-color)",borderLeft:"0px solid #fff"},"&.Mui-selected:hover":{backgroundColor:"var(--nav-bar-color-hover)"},":hover":{backgroundColor:"var(--background-color)",fontWeight:"bolder",color:"#fff"}},children:(0,C.jsx)("p",{style:{margin:"0",textTransform:"none",fontWeight:"600px",fontSize:"14px"},children:"Show Trend Lines"})})})})]}),(0,C.jsx)(a.Ay,{xs:12,children:(0,C.jsx)(c.A,{style:{color:"white",fontSize:"26px",fontWeight:"600",textAlign:"center",paddingTop:"20px"},children:"Individual Active Influencer Stats"})}),(0,C.jsx)(a.Ay,{container:!0,xs:12,justifyContent:"center",alignItems:"center",children:(0,C.jsxs)(a.Ay,{xs:12,md:8,justifyContent:"center",alignItems:"center",children:[(0,C.jsx)(c.A,{style:{color:"white",fontSize:"18px",fontWeight:"600",textAlign:"center",paddingTop:"20px"},children:"Select An Influencer"}),(0,C.jsx)(d.A,{fullWidth:!0,hiddenLabel:!0,variant:"filled",sx:{marginBottom:"20px",backgroundColor:"#444957",border:"0px",borderRadius:"5px",paddingTop:"0px",display:"block",marginLeft:"auto",marginRight:"auto",textAlign:"left"},children:(0,C.jsx)(g.A,{size:"small",displayEmpty:!0,disableUnderline:!0,fullWidth:!0,IconComponent:()=>(0,C.jsx)(p.BZI,{style:{marginRight:"10px",fontSize:"20px",color:"var(--secondary-icon-color)"}}),inputProps:{"aria-label":"Without label"}
1,labelId:"demo-customized-select-label",id:"demo-customized-select",value:this.state.selected_influencer,onChange:t=>{this.setState({selected_influencer:t.target.value}),this.getInfluencerIndividualInfo(t.target.value)},sx:{fontSize:"16px",borderRadius:"5px",color:"var(--primary-text-color)",fontWeight:"800"},children:this.state.active_influencers.map(t=>(0,C.jsx)(x.A,{value:t,sx:{textAlign:"left"},children:t}))})})]})}),(0,C.jsxs)(a.Ay,{container:!0,xs:12,justifyContent:"center",alignItems:"center",children:[(0,C.jsx)(a.Ay,{xs:12,lg:8,children:(0,C.jsxs)("div",{style:{backgroundColor:"var(--background-color-alt)",height:"auto",width:"auto",marginLeft:"10px",marginRight:"10px",marginBottom:"20px",borderRadius:"5px",paddingBottom:"10px"},children:[(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"calc(12px + 0.25vw)",paddingTop:"20px",textAlign:"center",width:"100%",marginRight:"auto",marginLeft:"auto",color:"white"},children:"Individual Active Influencer Metrics"}),(0,C.jsxs)(a.Ay,{container:!0,spacing:0,alignItems:"center",justifyContent:"center",children:[(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsx)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:this.state.influencer_all_page_views}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"All Page Views"})]}),(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsx)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:this.state.influencer_active_page_views}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Active People Views"})]}),(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsx)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:this.state.influencer_page_views}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"New People Views"})]}),(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.influencer_discord_uptake,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Discord Members Usage"})]})]})]})}),(0,C.jsx)(a.Ay,{xs:12,lg:8,children:(0,C.jsxs)("div",{style:{backgroundColor:"var(--background-color-alt)",height:"auto",width:"auto",marginLeft:"10px",marginRight:"10px",marginBottom:"20px",borderRadius:"5px",paddingBottom:"10px"},children:[(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"calc(12px + 0.25vw)",paddingTop:"20px",textAlign:"center",width:"100%",marginRight:"auto",marginLeft:"auto",color:"white"},children:"Individual Monthly vs Annual"}),(0,C.jsxs)(a.Ay,{container:!0,spacing:0,alignItems:"center",justifyContent:"center",children:[(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.influencer_monthly_trial_perc,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9
1CA3B4"},children:"Monthly Trial %"})]}),(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.influencer_annual_trial_perc,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Annual Trial %"})]}),(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.influencer_monthly_sub_perc,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Monthly Sub %"})]}),(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.influencer_annual_sub_perc,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Annual Sub %"})]})]})]})}),(0,C.jsx)(a.Ay,{xs:12,lg:8,children:(0,C.jsxs)("div",{style:{backgroundColor:"var(--background-color-alt)",height:"auto",width:"auto",marginLeft:"10px",marginRight:"10px",marginBottom:"20px",borderRadius:"5px",paddingBottom:"10px"},children:[(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"calc(12px + 0.25vw)",paddingTop:"20px",textAlign:"center",width:"100%",marginRight:"auto",marginLeft:"auto",color:"white"},children:"Individual Active All Tier Metrics"}),(0,C.jsxs)(a.Ay,{container:!0,spacing:0,alignItems:"center",justifyContent:"center",children:[(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.influencer_view_to_trial_ratio,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"View to Trial (or direct sub) Rate"})]}),(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.influencer_churn_perc_not_including_pending,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9
1CA3B4"},children:"Trial Conversion Rate"})]}),(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.influencer_trial_conversion_rate,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Member Churn"})]}),(0,C.jsxs)(a.Ay,{xs:3,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.influencer_subscriber_churn_perc_not_including_pending_discord,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Member Churn (With Discord)"})]})]})]})}),(0,C.jsx)(a.Ay,{xs:12,lg:8,children:(0,C.jsxs)("div",{style:{backgroundColor:"var(--background-color-alt)",height:"auto",width:"auto",marginLeft:"10px",marginRight:"10px",marginBottom:"20px",borderRadius:"5px",paddingBottom:"10px"},children:[(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"calc(12px + 0.25vw)",paddingTop:"20px",textAlign:"center",width:"100%",marginRight:"auto",marginLeft:"auto",color:"white"},children:"Individual Active Tier 1 Metrics"}),(0,C.jsxs)(a.Ay,{container:!0,spacing:0,alignItems:"center",justifyContent:"center",children:[(0,C.jsxs)(a.Ay,{xs:4,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.influencer_tier_1_view_to_trial_ratio,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"View to Trial (or direct sub) Rate"})]}),(0,C.jsxs)(a.Ay,{xs:4,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.influencer_tier_1_trial_conversion_rate,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Trial Conversion Rate"})]}),(0,C.jsxs)(a.Ay,{xs:4,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.influencer_tier_1_churn_perc_not_including_pending,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9
1CA3B4"},children:"Member Churn"})]})]})]})}),(0,C.jsx)(a.Ay,{xs:12,lg:8,children:(0,C.jsxs)("div",{style:{backgroundColor:"var(--background-color-alt)",height:"auto",width:"auto",marginLeft:"10px",marginRight:"10px",marginBottom:"20px",borderRadius:"5px",paddingBottom:"10px"},children:[(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"calc(12px + 0.25vw)",paddingTop:"20px",textAlign:"center",width:"100%",marginRight:"auto",marginLeft:"auto",color:"white"},children:"Individual Active Tier 2 Metrics"}),(0,C.jsxs)(a.Ay,{container:!0,spacing:0,alignItems:"center",justifyContent:"center",children:[(0,C.jsxs)(a.Ay,{xs:4,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.influencer_tier_2_view_to_trial_ratio,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"View to Trial (or direct sub) Rate"})]}),(0,C.jsxs)(a.Ay,{xs:4,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.influencer_tier_2_trial_conversion_rate,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Trial Conversion Rate"})]}),(0,C.jsxs)(a.Ay,{xs:4,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.influencer_tier_2_churn_perc_not_including_pending,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Member Churn"})]})]})]})}),(0,C.jsx)(a.Ay,{xs:12,lg:8,children:(0,C.jsxs)("div",{style:{backgroundColor:"var(--background-color-alt)",height:"auto",width:"auto",marginLeft:"10px",marginRight:"10px",marginBottom:"20px",borderRadius:"5px",paddingBottom:"10px"},children:[(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"calc(12px + 0.25vw)",paddingTop:"20px",textAlign:"center",width:"100%",marginRight:"auto",marginLeft:"auto",color:"white"},children:"Individual Active Tier 3 Metrics"}),(0,C.jsxs)(a.Ay,{container:!0,spacing:0,alignItems:"center",justifyContent:"center",children:[(0,C.jsxs)(a.Ay,{xs:4,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.influencer_tier_3_view_to_trial_ratio,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"View to Trial (or direct sub) Rate"})]}),(0,C.jsxs)(a.Ay,{xs:4,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.influencer_tier_3_trial_conversion_rate,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9
1CA3B4"},children:"Trial Conversion Rate"})]}),(0,C.jsxs)(a.Ay,{xs:4,children:[(0,C.jsxs)("div",{style:{display:"flex",width:"100%",textAlign:"center",marginLeft:"auto",marginRight:"auto"},children:[(0,C.jsxs)("p",{style:{display:"inline-block",textAlign:"right",paddingLeft:"10px"},style:{fontWeight:"500",color:"white",fontSize:"calc(14px + 0.25vw)",textAlign:"center",width:"95%",marginRight:"auto",marginLeft:"auto",marginTop:"0px",display:"inline-block",textAlign:"right",paddingLeft:"10px"},children:[this.state.influencer_tier_3_churn_perc_not_including_pending,"%"]}),(0,C.jsx)("p",{className:"percentage_text_positive"})]}),(0,C.jsx)("p",{style:{fontWeight:"500",fontSize:"13px",textAlign:"center",marginTop:"0px",color:"#9CA3B4"},children:"Member Churn"})]})]})]})}),(0,C.jsxs)(a.Ay,{container:!0,xs:12,spacing:0,alignItems:"stretch",justifyContent:"center",sx:{paddingBottom:"10px",marginBottom:"20px"},children:[(0,C.jsx)(a.Ay,{xs:12,sm:8,md:8,lg:8,style:{marginTop:"10px",marginBottom:"10px"},children:e}),(0,C.jsx)(a.Ay,{container:!0,xs:12,justifyContent:"center",alignItems:"center",sx:{paddingTop:"20px"},children:(0,C.jsx)(f.A,{exclusive:!0,value:this.state.influencer_show_trend_lines,onChange:(t,e)=>{this.setState({influencer_show_trend_lines:e})},"aria-label":"text formatting",children:(0,C.jsx)(_.A,{value:!0,sx:{padding:"5px 10px",color:"rgba(255,255,255,0.8)",borderColor:"#fff",border:"none",borderLeft:"0px solid #fff","&.Mui-selected":{color:"#fff",backgroundColor:"var(--nav-bar-color)",borderLeft:"0px solid #fff"},"&.Mui-selected:hover":{backgroundColor:"var(--nav-bar-color-hover)"},":hover":{backgroundColor:"var(--background-color)",fontWeight:"bolder",color:"#fff"}},children:(0,C.jsx)("p",{style:{margin:"0",textTransform:"none",fontWeight:"600px",fontSize:"14px"},children:"Show Trend Lines"})})})})]}),(0,C.jsx)(a.Ay,{xs:12,children:(0,C.jsx)(c.A,{style:{color:"white",fontSize:"26px",fontWeight:"600",textAlign:"center",paddingTop:"20px"},children:"Influencers Ranked By Stats"})}),(0,C.jsx)(a.Ay,{container:!0,xs:12,justifyContent:"center",alignItems:"center",children:(0,C.jsxs)(a.Ay,{xs:12,md:8,justifyContent:"center",alignItems:"center",children:[(0,C.jsx)(c.A,{style:{color:"white",fontSize:"18px",fontWeight:"600",textAlign:"center",paddingTop:"20px"},children:"Select A Metric"}),(0,C.jsx)(d.A,{fullWidth:!0,hiddenLabel:!0,variant:"filled",sx:{marginBottom:"20px",backgroundColor:"#444957",border:"0px",borderRadius:"5px",paddingTop:"0px",display:"block",marginLeft:"auto",marginRight:"auto",textAlign:"left"},children:(0,C.jsx)(g.A,{size:"small",displayEmpty:!0,disableUnderline:!0,fullWidth:!0,IconComponent:()=>(0,C.jsx)(p.BZI,{style:{marginRight:"10px",fontSize:"20px",color:"var(--secondary-icon-color)"}}),inputProps:{"aria-label":"Without label"},labelId:"demo-customized-select-label",id:"demo-customized-select",value:this.state.selected_metric,onChange:t=>{this.setState({selected_metric:t.target.value}),this.getInfluencerRankingInfo(t.target.value)},sx:{fontSize:"16px",borderRadius:"5px",color:"var(--primary-text-color)",fontWeight:"800"},children:this.state.metrics.map(t=>(0,C.jsx)(x.A,{value:t,sx:{textAlign:"left"},children:t}))})})]})})]}),(0,C.jsx)(a.Ay,{container:!0,xs:12,justifyContent:"center",alignItems:"center",children:(0,C.jsx)(a.Ay,{container:!0,xs:12,md:8,justifyContent:"center",alignItems:"center",children:(0,C.jsx)(o.A,{sx:{maxHeight:"400px",overflow:"auto",width:"80%",textAlign:"center"},dense:!0,children:this.state.metric_ranking.map(t=>(0,C.jsx)(l.Ay,{children:(0,C.jsx)(s.A,{sx:{textAlign:"center",color:"white",fontSize:"20px",fontWeight:"400"},primary:t[0]+": "+t[1]})}))})})})]})}}const B=I},26592(t,e,i){function n(t,e){this.setState({time_range:e}),this.updateTimeRange(t,e,null,null)}function r(t){this.setState({time_start_day:t.target.value})}function a(t){this.setState({time_start_month:t.target.value})}function o(t){this.setState({time_start_year:t.target.value})}function l(t){this.setState({time_end_day:t.target.value})}function s(t){this.setState({time_end_month:t.target.value})}function d(t){this.setState({time_end_year:t.target.value})}function c(t){this.setState({time_range:"custom"});let e=this.state.time_start_day.toString().padStart(2,"0"),i=this.state.time_start_month.toString().padStart(2,"0"),n=this.state.time_start_year.toString()+"-"+i+"-"+e,r=this.state.time_end_day.toString().padStart(2,"0"),a=this.state.time_end_month.toString().padStart(2,"0"),o=this.state.time_end_year.toString()+"-"+a+"-"+r;this.updateTimeRange(t,"custom",n,o)}i.d(e,{$P:()=>d,JQ:()=>c,_I:()=>o,_P:()=>s,bh:()=>a,oW:()=>l,pH:()=>n,z7:()=>r})},80517(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{A:()=>get_and_post_data_skeleton});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(82483),axios__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(8118),axios__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__),_mixpanelInterface__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(40125);function get_and_post_data_skeleton(url){let method=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"get",inf_scroll=arguments.length>2&&void 0!==arguments[2]&&arguments[2],data=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},success_func_name=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,url_return=arguments.length>5&&void 0!==arguments[5]&&arguments[5],home_page=arguments.length>6&&void 0!==arguments[6]&&arguments[6],error_func_name=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,add_influencer_page_alterations=arguments.length>8&&void 0!==arguments[8]&&arguments[8];const startTime=performance.now(),actingAs=localStorage.getItem("acting_as_creator"),headers={"Content-type":"application/json"};actingAs&&(headers["X-Acting-As"]=actingAs),axios__WEBPACK_IMPORTED_MODULE_1___default()({method:method,url:url,data:data,headers:headers,withCredentials:!0,maxContentLength:1e8,maxBodyLength:1e9}).then(res=>
1{if(res.data.access_denied)res.data.url_return?window.location.assign(res.data.url_return):window.location.assign("/");else if("get"==method)if(url_return)window.location.assign(res.data.url);else{!0===add_influencer_page_alterations&&this.setState({alteredBio:res.data.influencer_info.description,alteredDisplayName:res.data.influencer_info.influencer_name});var keys=Object.keys(res.data);for(let i=0;i<keys.length;i++){var dict={};inf_scroll?"content_list"==keys[i]?(dict[keys[i]]=[...this.state.content_list,...res.data.content_list],this.setState(dict)):"influencer_content"==keys[i]?(dict[keys[i]]=[...this.state.influencer_content,...res.data.influencer_content],this.setState(dict)):"influencer_scroll_content"==keys[i]?(dict[keys[i]]=[...this.state.influencer_scroll_content,...res.data.influencer_scroll_content],this.setState(dict)):"blog_posts_older"==keys[i]?(dict[keys[i]]=[...this.state.blog_posts_older,...res.data.blog_posts_older],this.setState(dict)):"inf_scroll_page_num"==keys[i]||"total_inf_scroll_content"==keys[i]||"max_inf_scroll_content"==keys[i]?(dict[keys[i]]=eval("res.data."+keys[i]),this.setState(dict)):"content_comments"==keys[i]?(dict[keys[i]]=[...this.state.content_comments,...res.data.content_comments],this.setState(dict)):(dict[keys[i]]=eval("res.data."+keys[i]),this.setState(dict)):(dict[keys[i]]=eval("res.data."+keys[i]),this.setState(dict))}}else"post"==method&&success_func_name(res)}).catch(t=>{const e=503===(t&&t.response?t.response.status:null);error_func_name?(console.log("error_func_name",error_func_name),error_func_name(t)):home_page||e?!home_page&&e&&console.error("Skipping redirect on 503 error for URL:",url):window.location.assign("/")}).finally(t=>((0,_mixpanelInterface__WEBPACK_IMPORTED_MODULE_2__.EL)(url,performance.now()-startTime),t))}}}]); 2//# sourceMappingURL=8238.928624b1.chunk.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.