1import J from"./D4XIQQJF.js";import $ from"./nPt2Ziuy.js";import U from"./CTqcyyw-.js";import{g as z,l as Q,K as X,j as ee,A as te,h as f,D as s,B as e,J as c,P as m,x as g,ao as se,F as ae,i as oe,T as ie,a8 as p,E as y,a as ne,ap as re,aq as le,o as n,ak as de,I as ce,c as me,v as pe}from"./D3Mi9OEl.js";import he from"./3CFCb1Ld.js";import{u as ue,a as fe}from"./BxOJs5_g.js";import{u as ge}from"./pqOadbMk.js";import"./BLuGKRnO.js";import"./C4vnhHSl.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};i.SENTRY_RELEASE={id:"b1d507726365c2fa65bdc507ac9080512e92ee9c"};var l=new i.Error().stack;l&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[l]="3d98366c-40d8-4413-8f5e-d9216942a3e5",i._sentryDebugIdIdentifier="sentry-dbid-3d98366c-40d8-4413-8f5e-d9216942a3e5")}catch{}})();const ve={class:"membership"},_e={class:"membership__wrapper"},be={class:"membership__hero"},we={key:0,class:"membership__hero--member"},Ce={class:"membership__plans"},ye={class:"membership__toggle"},ke={class:"membership__plans--grid"},xe={class:"upgrade-success"},Se={class:"upgrade-success__message"},Ae=z({__name:"index",emits:["selectPlan"],setup(i,{emit:l}){const v=l,o=ne("monthly"),{plans:k}=ue(),x=Q(),{isAuthenticated:h}=X(x),{isRootsPlan:_,isFlutterwaveSubscription:S}=ge(),A=me(()=>h.value&&!_.value),{isLoading:M,showLoginModal:L,showPaymentModal:P,showSuccessModal:B,selectedPlan:d,useStripe:N,loginModalConfig:u,upgradedPlanName:V,formatPrice:E,selectPlan:I,openLoginModal:b,closeLoginModal:T,closePaymentModal:D,closeSuccessModal:w,closeStripeCheckout:F,handlePaymentSubmit:R,processPendingPayment:H}=fe();ee(()=>{H()});const W=[{name:"Sola Akinlade",title:"CEO, Paystack",avatar:"",content:"Archivi.ng are building something powerful that will transform the life the next generation and can integrate history back into the Nigerian learning experience."},{name:"Miguel Fonce",title:"RadioLab",avatar:"",content:"We used Archivi.ng to curate our first african viral podcast on afrobeats, it's roots, and how the genre has influence music and culture all over the world."},{name:"Amarchi Sule",title:"Editor, Smallwrites",avatar:"",content:"As an editor, Archivi.ng was really helpful as a research tool. It made my workflow seamless and brought me up to speed with knowledge from the past that cleaned my work."},{name:"Gbenga Agboola",title:"CEO, Flutterwave",avatar:"",content:"I'm a huge fan of Archivi.ng believe they are doing really important work that will impact data and history landscape that disrupts"},{name:"Amarchi Sule",title:"Editor, Smallwrites",avatar:"",content:"As an editor, Archivi.ng was really helpful as a research tool. It made my workflow seamless and brought me up to speed with knowledge from the past that cleaned my work."},{name:"Gbenga Agboola",title:"CEO, Flutterwave",avatar:"",content:"I'm a huge fan of Archivi.ng believe they are doing really important work that will impact data and history landscape that disrupts"}];function G(r){I(r,v,o.value)}function Y(){const r=document.querySelector(".membership__plans");r&&r.scrollIntoView({behavior:"smooth",block:"start"})}return te({title:"Archivi.ng | Nigerian Newspaper Archives - Membership"}),(r,t)=>{const Z=J,q=$,K=U,O=re,j=he,C=le;return n(),f("div",ve,[s("div",_e,[s("section",be,[e(h)?m("",!0):(n(),f("p",we,[t[3]||(t[3]=c(" Already a member? ",-1)),s("button",{class:"membership__hero--login",onClick:t[0]||(t[0]=(...a)=>e(b)&&e(b)(...a))}," Log in here ")])),t[4]||(t[4]=s("h1",{class:"membership__hero--title"},"Become a member, Keep history alive",-1)),t[5]||(t[5]=s("p",{class:"membership__hero--subtitle"}," - and always within reach. Join Archivi.ng to help preserve Nigeriaâs fragile newspapers and unlock a growing archive of stories, reports, and tools at your fingertips. ",-1)),s("button",{class:"membership__hero--btn",onClick:Y},"See Plans")]),s("section",Ce,[s("div",ye,[g(Z,{modelValue:e(o),"onUpdate:modelValue":t[1]||(t[1]=a=>se(o)?o.value=a:null),"save-badge-text":"Save 17%"},null,8,["modelValue"])]),s("div",ke,[(n(!0),f(ae,null,oe(e(k),a=>(n(),p(q,{key:a.name,name:a.name,description:a.desc,tag:a.tag,features:a.features,"action-text":a.action,"is-current-plan":a.action==="Current Plan","plan-class":a.class,"formatted-
1price":e(E)(a,e(o)),"billing-info":a.name!=="Roots"&&e(o)==="yearly"?"Billed annually":"",isMember:a.class==="roots"&&e(h),"should-disable":a.shouldDisable,"has-scheduled-change":e(A)||e(S)&&!e(_),onAction:Me=>G(a)},null,8,["name","description","tag","features","action-text","is-current-plan","plan-class","formatted-price","billing-info","isMember","should-disable","has-scheduled-change","onAction"]))),128))]),t[6]||(t[6]=s("div",{class:"membership__plans--footer"},[s("p",null,[c(" Anything with * is on the way! Got membership questions? Reach out at "),s("a",{href:"mailto:[email protected]"},"[email protected]")])],-1))]),t[7]||(t[7]=ie('<section class="membership__benefits" data-v-df7775e7><h2 class="membership__benefits--title" data-v-df7775e7>Why Become a Member?</h2><p class="membership__benefits--subtitle" data-v-df7775e7> Becoming a member of Archivi.ng gives you access to community, recognition, and impact visibility. </p><div class="membership__benefits--grid" data-v-df7775e7><div class="benefit-card" data-v-df7775e7><div class="benefit-card__icon" data-v-df7775e7><svg width="14" height="20" viewBox="0 0 14 20" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-df7775e7><path d="M1.19389 9.39681L7.19189 1.31181C7.66189 0.679811 8.53989 1.07281 8.53989 1.91481V8.17281C8.53989 8.67781 8.88489 9.08581 9.30989 9.08581H12.2279C12.8909 9.08581 13.2439 10.0128 12.8059 10.6038L6.80789 18.6878C6.33789 19.3198 5.45989 18.9268 5.45989 18.0848V11.8268C5.45989 11.3218 5.11489 10.9138 4.68989 10.9138H1.77089C1.10789 10.9138 0.755892 9.98681 1.19389 9.39681Z" stroke="#282828" stroke-linecap="round" stroke-linejoin="round" data-v-df7775e7></path></svg></div><h3 class="benefit-card__title" data-v-df7775e7>Belong Here</h3><p class="benefit-card__description" data-v-df7775e7> Be part of the circle preserving Nigeriaâs story, with your name on the Supporters Wall. </p></div><div class="benefit-card" data-v-df7775e7><div class="benefit-card__icon" data-v-df7775e7><svg width="20" height="15" viewBox="0 0 20 15" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-df7775e7><path d="M18.599 0.692507L7.08319 12.2075C7.00577 12.2852 6.91375 12.3469 6.81244 12.389C6.71112 12.4311 6.60249 12.4527 6.49277 12.4527C6.38306 12.4527 6.27443 12.4311 6.17311 12.389C6.07179 12.3469 5.97978 12.2852 5.90236 12.2075L1.44902 7.75001C1.3716 7.67228 1.27959 7.6106 1.17827 7.56851C1.07695 7.52643 0.968318 7.50477 0.858607 7.50477C0.748895 7.50477 0.640264 7.52643 0.538945 7.56851C0.437626 7.6106 0.345615 7.67228 0.26819 7.75001C0.19046 7.82743 0.128783 7.91944 0.0866978 8.02076C0.0446131 8.12208 0.0229492 8.23071 0.0229492 8.34042C0.0229492 8.45013 0.0446131 8.55877 0.0866978 8.66008C0.128783 8.7614 0.19046 8.85342 0.26819 8.93084L4.72319 13.385C5.19315 13.8541 5.83002 14.1175 6.49402 14.1175C7.15803 14.1175 7.7949 13.8541 8.26486 13.385L19.7799 1.87251C19.8575 1.7951 19.919 1.70314 19.961 1.6019C20.0031 1.50065 20.0247 1.39212 20.0247 1.28251C20.0247 1.17289 20.0031 1.06436 19.961 0.963117C19.919 0.861875 19.8575 0.769916 19.7799 0.692507C19.7024 0.614776 19.6104 0.553099 19.5091 0.511014C19.4078 0.46893 19.2992 0.447266 19.1894 0.447266C19.0797 0.447266 18.9711 0.46893 18.8698 0.511014C18.7685 0.553099 18.6765 0.614776 18.599 0.692507Z" fill="#282828" data-v-df7775e7></path></svg></div><h3 class="benefit-card__title" data-v-df7775e7>Do your Best Work</h3><p class="benefit-card__description" data-v-df7775e7> Membership unlocks faster search, deeper context, and smarter ways to explore the archives. </p></div><div class="benefit-card" data-v-df7775e7><div class="benefit-card__icon" data-v-df7775e7><svg width="20" height="17" viewBox="0 0 20 17" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-df7775e7><path d="M18.9717 1.8047C18.6672 1.67785 18.3318 1.64451 18.0083 1.70892C17.6847 1.77332 17.3877 1.93257 17.155 2.16636L15 4.32136L11.1783 0.499696C10.8658 0.187244 10.4419 0.0117188 10 0.0117188C9.55806 0.0117188 9.13421 0.187244 8.82167 0.499696L5 4.32136L2.845 2.16636C2.61191 1.93335 2.31497 1.77467 1.99172 1.71039C1.66846 1.64611 1.33341 1.67912 1.02891 1.80523C0.724409 1.93135 0.464138 2.14492 0.280997 2.41893C0.0978568 2.69295 7.03739e-05 3.01511 0 3.3447L0 12.1664C0.00132321 13.271 0.440735 14.3301 1.22185 15.1112C2.00296 15.8923 3.062 16.3317 4.16667 16.333H15.8333C16.938 16.3317 17.997 15.8923 18.7782 15.1112C19.5593 14.3301 19.9987 13.271 20 12.1664V3.3447C20.0001 3.01509 19.9024 2.69285 19.7194 2.41874C19.5364 2.14462 19.2761 1.93094 18.9717 1.8047ZM18.3333 12.1664C18.3333 12.8294 18.0699 13.4653 17.6011 13.9341C17.1323 14.403 16.4964 14.6664 15.8333 14.6664H4.16667C3.50363 14.6664 2.86774 14.403 2.3989 13.9341C1.93006 13.4653 1.66667 12.8294 1.66667 12.1664V3.3447L4.41083 6.08886C4.56711 6.24509 4.77903 6.33285 5 6.33285C5.22097 6.33285 5.43289 6.24509 5.58917 6.08886L10 1.67803L14.4108 6.08886C14.5671 6.24509 14.779
16.33285 15 6.33285C15.221 6.33285 15.4329 6.24509 15.5892 6.08886L18.3333 3.3447V12.1664Z" fill="#282828" data-v-df7775e7></path></svg></div><h3 class="benefit-card__title" data-v-df7775e7>Keep history from disappearing</h3><p class="benefit-card__description" data-v-df7775e7> Your support opens doors to forgotten archives, reveals the stories behind them, and gives you the tools to explore Nigeriaâs past for yourself. </p></div></div></section>',1)),g(K,{title:"Archivi.ng Wall of Love",subtitle:"From newsrooms to classrooms, enthusiasts use Archivi.ng to uncover and understand Nigeriaâs past.",testimonials:W})]),g(O,{"is-visible":e(L),"initial-mode":e(u).mode,title:e(u).title,description:e(u).description,onClose:e(T)},null,8,["is-visible","initial-mode","title","description","onClose"]),e(d)?(n(),p(j,{key:0,"is-visible":e(P),"plan-name":e(d).name,loading:e(M),"plan-price":e(o)==="monthly"?e(d).priceMonthly:e(d).priceYearly,"billing-type":e(o),onClose:e(D),onSubmit:e(R)},null,8,["is-visible","plan-name","loading","plan-price","billing-type","onClose","onSubmit"])):m("",!0),e(N)?(n(),p(C,{key:1,"show-close":!0,"max-width":"500px",onClose:e(F)},{default:y(()=>[...t[8]||(t[8]=[s("div",{id:"checkout"},null,-1)])]),_:1},8,["onClose"])):m("",!0),e(B)?(n(),p(C,{key:2,"show-close":!1,"max-width":"500px","content-class":"success-modal-content"},{default:y(()=>[s("div",xe,[t[11]||(t[11]=s("div",{class:"upgrade-success__icon"},[s("img",{src:de,alt:"Success"})],-1)),t[12]||(t[12]=s("h2",{class:"upgrade-success__title"},"Successful!",-1)),s("p",Se,[t[9]||(t[9]=c(" You're now on the ",-1)),s("strong",null,ce(e(V)),1),t[10]||(t[10]=c(" plan. ",-1))]),s("button",{onClick:t[2]||(t[2]=(...a)=>e(w)&&e(w)(...a)),class:"upgrade-success__btn"},"Got it")])]),_:1})):m("",!0)])}}}),Fe=pe(Ae,[["__scopeId","data-v-df7775e7"]]);export{Fe 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.