_n("%s paid subscriber","%s paid subscribers",v,"jetpack"),(0,f.ZV)(v)),O=y||n;return(0,p.jsxs)("div",{className:"newsletter-widget",children:[_&&(0,p.jsx)("div",{className:"newsletter-widget__header",children:(0,p.jsxs)("div",{className:"newsletter-widget__stats",children:[(0,p.jsxs)("span",{className:"newsletter-widget__stat-item",children:[(0,p.jsx)("span",{className:"newsletter-widget__icon",children:(0,p.jsx)(o.Icon,{icon:s.A,size:24})}),(0,p.jsx)("span",{className:"newsletter-widget__stat-content",children:(0,p.jsx)("span",{className:"newsletter-widget__stat-label",children:(0,d.j)(O,(0,f.R8)(e,n,t,y),"all_subscribers_click",M)})})]}),(0,p.jsxs)("span",{className:"newsletter-widget__stat-item",children:[(0,p.jsx)("span",{className:"newsletter-widget__icon",children:(0,p.jsx)(o.Icon,{icon:l.A,size:24})}),(0,p.jsx)("span",{className:"newsletter-widget__stat-content",children:(0,p.jsx)("span",{className:"newsletter-widget__stat-label",children:(0,d.j)(O,(0,f.R8)(e,n,t,y),"paid_subscribers_click",A)})})]})]})}),w&&(0,p.jsxs)("div",{className:"newsletter-widget__chart",children:[(0,p.jsx)("h3",{className:"newsletter-widget__heading",children:__("Total Subscribers","jetpack")}),(0,p.jsx)(h.w,{subscriberTotalsByDate:b})]}),(0,p.jsxs)("div",{className:"newsletter-widget__footer",children:[(0,p.jsx)("p",{className:"newsletter-widget__footer-msg",children:(0,u.createInterpolateElement)(__("Effortlessly turn posts into emails with our Newsletter feature. Expand your reach, engage readers, and monetize your writing. No coding required. <link>Learn more</link>","jetpack"),{link:(0,d.j)(n,n?"https://wordpress.com/learn/courses/newsletters-101/wordpress-com-newsletter":"https://jetpack.com/support/newsletter","learn_more_click")})}),(0,p.jsxs)("div",{children:[(0,p.jsx)("h3",{className:"newsletter-widget__heading",children:__("Quick Links","jetpack")}),(0,p.jsxs)("ul",{className:"newsletter-widget__footer-list",children:[(0,p.jsx)("li",{children:(0,p.jsx)("a",{href:`${t}post-new.php`,onClick:(0,f.R)(x,"publish_post_click"),children:__("Publish your next post","jetpack")})}),(0,p.jsx)("li",{children:(0,d.j)(O,(0,f.R8)(e,n,t,y),"view_stats_click",__("View subscriber stats","jetpack"))}),(0,p.jsx)("li",{children:(0,d.j)(n,(0,r.A)((0,f.Qj)(`subscribers/${e}`,n),{anchor:"add-subscribers"}),"import_subscribers_click",__("Import subscribers","jetpack"))}),(0,p.jsx)("li",{children:(0,d.j)(n,(0,r.A)((0,f.Qj)(`subscribers/${e}`,n)),"manage_subscribers_click",__("Manage subscribers","jetpack"))}),(0,p.jsx)("li",{children:(0,d.j)(n,(0,r.A)((0,f.Qj)(`${n?"earn":"monetize"}/${e}`,n)),"monetize_click",__("Monetize","jetpack"))}),(0,p.jsx)("li",{children:(0,d.j)(!0,(0,f.iP)(e,n,t),"newsletter_settings_click",__("Newsletter settings","jetpack"))})]})]})]})]})}},51984:(e,t,n)=>{"use strict";n.d(t,{w:()=>j});varr=n(85985),i=n(22994),o=n(53207),u=n(37372),a=n(6699),s=n(94648),l=n(27917),c=n(7401),f=n(65573),d=n(62643),h=n(76883),p=n(86087),y=n(27723),g=n(51720),v=n(54060),m=n(10790);const__=y.__,b=(0,a.A)({domain:["all","paid"],range:[g.hg.all,g.hg.paid]}),_=(0,s.A)({backgroundColor:"white",colors:[g.hg.all,g.hg.paid],gridColor:"#e0e0e0",gridColorDark:"#e0e0e0",tickLength:0,gridStyles:{strokeWidth:1},svgLabelSmall:{fill:"#1e1e1e",fontSize:13,fontWeight:400}}),w=e=>e.date,x=e=>e.all,M=e=>e.paid,A=e=>g.hg[e],O=e=>g.aH[e],P=({key:e,color:t,x:n,y:r})=>{consti=g.hg[e]||t;return(0,m.jsx)("circle",{cx:n,cy:r,r:4,fill:i,stroke:"white",strokeWidth:2},`glyph-${e}`)},k=({tooltipData:e})=>{if(!e?.nearestDatum)returnnull;constt=e.nearestDatum.datum,n=w(t);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{className:"subscribers-chart__tooltip-date",children:(0,v.Yq)(n,"full")}),(0,m.jsxs)("div",{className:"subscribers-chart__tooltip-stats",children:[(0,m.jsxs)("div",{className:"subscribers-chart__tooltip-stat",children:[(0,m.jsx)("div",{style:{backgroundColor:g.hg.all},className:"subscribers-chart__tooltip-indicator"}),(0,m.jsx)("span",{children:(0,y.sprintf)(