PageSourceSearch

https://vueschool.io/_nuxt/B42wiw0N.js

js vueschool.io collected 2026-09-24 21:08:04 UTC 2,724 bytes, 1 lines download raw bytes

1import{_ as w}from"./BvBdwIZw.js";import{u as $,bg as A,b1 as o,b9 as k,aR as r,aL as a,aN as e,aY as _,b6 as f,b2 as h,aO as S,aU as i}from"./Dc0M7o-w.js";import{u as L}from"./CxcJtANB.js";const M={class:"flex-1 bg-snow px-6 pb-8 pt-6 md:pt-8 lg:px-10 lg:pt-14"},N={class:"md:-mx-4 md:flex md:flex-wrap"},V={class:"mb-8 rounded-lg bg-white p-8 text-sm"},q={class:"overflow-x-auto whitespace-nowrap"},B={class:"table-stripe"},C={class:"text-right"},Y={class:"text-right"},E={class:"text-right"},P={class:"text-right"},O={__name:"subscribers",async setup(R){let c,u;const n=L(),{$handleSsrRequestError:x,$mixpanel:b,$kissmetrics:m}=$();try{n.subscribers||([c,u]=A(()=>n.fetchSubscribers()),await c,u())}catch(d){x(d)}const t=o(()=>n.subscribers),p=o(()=>t.value.statistics.slice().reverse()),y=o(()=>[{title:"Yearly subscribers",number:t.value.yearly_subscribers||0,icon:"wallet",color:"#56ffea",text:`${t.value.yearly_revenue||0}/year`},{title:"3-month subscribers",number:t.value.quarterly_subscribers||0,icon:"wallet",color:"#56d8ff",text:`${t.value.quarterly_revenue||0}/3 months`},{title:"Monthly subscribers",number:t.value.monthly_subscribers||0,icon:"wallet",color:"#ff993d",text:`${t.value.monthly_revenue||0}/month`},{title:"Lifetime subscribers",number:t.value.lifetime_subscribers||0,icon:"wallet",color:"#0088cc",text:`${t.value.lifetime_revenue||0} lifetime revenue`},{title:"Cancellations",number:t.value.cancelled_total,text:[`${t.value.cancelled_monthly} monthly`,`${t.value.cancelled_yearly} yearly`].join(", ")}]);return k(()=>{b?.identify(),m?.identify(),b?.track("Page Viewed",{page_name:"Affiliate - Subscribers"}),m?.track("Page Viewed",{page_name:"Affiliate - Subscribers"})}),(d,l)=>{const v=w;return a(),r("main",M,[e("section",null,[l[0]||(l[0]=e("h2",{class:"mb-8 mt-0 font-circular text-2xl font-normal leading-snug"}," Active subscribers ",-1)),e("div",N,[(a(!0),r(_,null,f(h(y),s=>(a(),r("div",{key:s.title,class:"mb-8 md:w-1/3 md:px-4"},[S(v,{details:s},null,8,["details"])]))),128))])]),e("section",null,[l[2]||(l[2]=e("h2",{class:"mb-8 mt-0 font-circular text-2xl font-normal leading-snug"}," Active Subscribers over past months ",-1)),e("div",V,[e("div",q,[e("table",B,[l[1]||(l[1]=e("thead",null,[e("tr",null,[e("td",null," Month "),e("td",{class:"text-right"}," Monthly "),e("td",{class:"text-right"}," Yearly "),e("td",{class:"text-right"}," Lifetime "),e("td",{class:"text-right"}," Total ")])],-1)),e("tbody",null,[(a(!0),r(_,null,f(h(p),(s,g)=>(a(),r("tr",{key:g},[e("td",null,i(s.month),1),e("td",C,i(s.monthly_subscribers),1),e("td",Y,i(s.yearly_subscribers),1),e("td",E,i(s.lifetime_subscribers),1),e("td",P,i(s.total_subscribers),1)]))),128))])])])])])])}}};export{O as default};

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.