PageSourceSearch

https://revby.co/_nuxt/C3_lUFdD.js

js revby.co collected 2026-09-25 18:18:08 UTC 17,593 bytes, 1 lines download raw bytes

1import{Z as F,$ as H,a0 as Y,R as O,N as V,o as u,w as h,c as b,F as G,r as A,n as v,s as W,a as t,b as i,j as w,Y as Q,a1 as X,T as U,k as m,d as c,t as g,U as J,V as Z,l as K,y as ee,x as te,A as se,e as ae,m as oe,B as re,h as ie,v as le,i as ne,g as L}from"./Cny-jMUR.js";import{S as ce}from"./OJRdyMu8.js";import{_ as de}from"./CSHkLFmR.js";import{_ as ue}from"./lvdJKIIX.js";import{u as pe}from"./YF0e3wke.js";import{u as me}from"./C9RKA-P2.js";import"./Djx0DoFQ.js";import"./Bhcf4Zif.js";const ge={slots:{root:"flex gap-1.5",item:"group relative flex flex-1 gap-3",container:"relative flex items-center gap-1.5",indicator:"group-data-[state=completed]:text-inverted group-data-[state=active]:text-inverted text-muted",separator:"flex-1 rounded-full bg-elevated",wrapper:"w-full",date:"text-dimmed text-xs/5",title:"font-medium text-highlighted text-sm",description:"text-muted text-wrap text-sm"},variants:{orientation:{horizontal:{root:"flex-row w-full",item:"flex-col",separator:"h-0.5"},vertical:{root:"flex-col",container:"flex-col",separator:"w-0.5"}},color:{primary:{indicator:"group-data-[state=completed]:bg-primary group-data-[state=active]:bg-primary"},secondary:{indicator:"group-data-[state=completed]:bg-secondary group-data-[state=active]:bg-secondary"},neutral:{indicator:"group-data-[state=completed]:bg-inverted group-data-[state=active]:bg-inverted"},success:{indicator:"group-data-[state=completed]:bg-success group-data-[state=active]:bg-success"},info:{indicator:"group-data-[state=completed]:bg-info group-data-[state=active]:bg-info"},warning:{indicator:"group-data-[state=completed]:bg-warning group-data-[state=active]:bg-warning"},error:{indicator:"group-data-[state=completed]:bg-error group-data-[state=active]:bg-error"}},size:{"3xs":"","2xs":"",xs:"",sm:"",md:"",lg:"",xl:"","2xl":"","3xl":""},reverse:{true:""}},compoundVariants:[{color:"primary",reverse:!1,class:{separator:"group-data-[state=completed]:bg-primary"}},{color:"secondary",reverse:!1,class:{separator:"group-data-[state=completed]:bg-secondary"}},{color:"neutral",reverse:!1,class:{separator:"group-data-[state=completed]:bg-neutral"}},{color:"success",reverse:!1,class:{separator:"group-data-[state=completed]:bg-success"}},{color:"info",reverse:!1,class:{separator:"group-data-[state=completed]:bg-info"}},{color:"warning",reverse:!1,class:{separator:"group-data-[state=completed]:bg-warning"}},{color:"error",reverse:!1,class:{separator:"group-data-[state=completed]:bg-error"}},{color:"primary",reverse:!0,class:{separator:"group-data-[state=active]:bg-primary group-data-[state=completed]:bg-primary"}},{color:"secondary",reverse:!0,class:{separator:"group-data-[state=active]:bg-secondary group-data-[state=completed]:bg-secondary"}},{color:"neutral",reverse:!0,class:{separator:"group-data-[state=active]:bg-neutral group-data-[state=completed]:bg-neutral"}},{color:"success",reverse:!0,class:{separator:"group-data-[state=active]:bg-success group-data-[state=completed]:bg-success"}},{color:"info",reverse:!0,class:{separator:"group-data-[state=active]:bg-info group-data-[state=completed]:bg-info"}},{color:"warning",reverse:!0,class:{separator:"group-data-[state=active]:bg-warning group-data-[state=completed]:bg-warning"}},{color:"error",reverse:!0,class:{separator:"group-data-[state=active]:bg-error group-data-[state=completed]:bg-error"}},{color:"neutral",reverse:!1,class:{separator:"group-data-[state=completed]:bg-inverted"}},{color:"neutral",reverse:!0,class:{separator:"group-data-[state=active]:bg-inverted group-data-[state=completed]:bg-inverted"}},{orientation:"horizontal",size:"3xs",class:{wrapper:"pe-4.5"}},{orientation:"horizontal",size:"2xs",class:{wrapper:"pe-5"}},{orientation:"horizontal",size:"xs",class:{wrapper:"pe-5.5"}},{orientation:"horizontal",size:"sm",class:{wrapper:"pe-6"}},{orientation:"horizontal",size:"md",class:{wrapper:"pe-6.5"}},{orientation:"horizontal",size:"lg",class:{wrapper:"pe-7"}},{orientation:"horizontal",size:"xl",class:{wrapper:"pe-7.5"}},{orientation:"horizontal",size:"2xl",class:{wrapper:"pe-8"}},{orientation:"horizontal",size:"3xl",class:{wrapper:"pe-8.5"}},{orientation:"vertical",size:"3xs",class:{wrapper:"-mt-0.5 pb-4.5"}},{orientation:"vertical",size:"2xs",class:{wrapper:"pb-5"}},{orientation:"vertical",size:"xs",class:{wrapper:"mt-0.5 pb-5.5"}},{orientation:"vertical",size:"sm",class:{wrapper:"mt-1 pb-6"}},{orientation:"vertical",size:"md",class:{wrapper:"mt-1.5 pb-6.5"}},{orientation:"vertical",size:"lg",class:{wrapper:"mt-2 pb-7"}},{orientation:"vertical",size:"xl",class:{wrapper:"mt-2.5 pb-7.5"}},{orientation:"vertical",size:"2xl",class:{wrapper:"mt-3 pb-8"}},{orientation:"vertical",size:"3xl",class:{wrapper:"mt-3.5 pb-8.5"}}],defaultVariants:{size:"md",color:"primary"}},fe=["data-state"],xe={__name:"Timeline",props:F({as:{type:null,required:!1},items:{type:Array,required:!0},size:{type:null,required:!1},color:{type:null,required:!1},orientation:{type:null,required:!1,default:"vertical"},defaultValue:{type:[String,Number],required:!1},reverse:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1}},{modelValue:{type:[String,Number]},modelModifiers:{}}),emits:["update:modelValue"],setup(x){const a=x,z=H(),j=Y(x,"modelValue"),P=O(
1),n=W(()=>{var r;return Z({extend:Z(ge),...((r=P.ui)==null?void 0:r.timeline)||{}})({orientation:a.orientation,size:a.size,color:a.color,reverse:a.reverse})}),y=W(()=>{const r=j.value??a.defaultValue;return typeof r=="string"?a.items.findIndex(k=>k.value===r)??-1:a.reverse?r!=null?a.items.length-1-r:-1:r??-1});function B(r){if(y.value!==-1)return r===y.value?"active":a.reverse?r>y.value?"completed":void 0:r<y.value?"completed":void 0}return(r,k)=>{var C;return u(),V(m(J),{as:x.as,"data-orientation":x.orientation,class:v(n.value.root({class:[(C=a.ui)==null?void 0:C.root,a.class]}))},{default:h(()=>[(u(!0),b(G,null,A(x.items,(s,_)=>{var S,D,T,I,l,e,d,o,f,q,$,R,p,E,M,N;return u(),b("div",{key:s.value??_,class:v(n.value.item({class:[(S=a.ui)==null?void 0:S.item,(D=s.ui)==null?void 0:D.item,s.class]})),"data-state":B(_)},[t("div",{class:v(n.value.container({class:[(T=a.ui)==null?void 0:T.container,(I=s.ui)==null?void 0:I.container]}))},[i(Q,X({size:x.size,icon:s.icon},{ref_for:!0},typeof s.avatar=="object"?s.avatar:{},{class:n.value.indicator({class:[(l=a.ui)==null?void 0:l.indicator,(e=s.ui)==null?void 0:e.indicator]}),ui:{icon:"text-inherit",fallback:"text-inherit"}}),{default:h(()=>[U(r.$slots,s.slot?`${s.slot}-indicator`:"indicator",{item:s})]),_:2},1040,["size","icon","class"]),_<x.items.length-1?(u(),V(m(ce),{key:0,class:v(n.value.separator({class:[(d=a.ui)==null?void 0:d.separator,(o=s.ui)==null?void 0:o.separator]})),orientation:a.orientation},null,8,["class","orientation"])):w("",!0)],2),t("div",{class:v(n.value.wrapper({class:[(f=a.ui)==null?void 0:f.wrapper,(q=s.ui)==null?void 0:q.wrapper]}))},[s.date?(u(),b("div",{key:0,class:v(n.value.date({class:[($=a.ui)==null?void 0:$.date,(R=s.ui)==null?void 0:R.date]}))},[U(r.$slots,s.slot?`${s.slot}-date`:"date",{item:s},()=>[c(g(s.date),1)])],2)):w("",!0),s.title||z.title?(u(),b("div",{key:1,class:v(n.value.title({class:[(p=a.ui)==null?void 0:p.title,(E=s.ui)==null?void 0:E.title]}))},[U(r.$slots,s.slot?`${s.slot}-title`:"title",{item:s},()=>[c(g(s.title),1)])],2)):w("",!0),s.description||z.description?(u(),b("div",{key:2,class:v(n.value.description({class:[(M=a.ui)==null?void 0:M.description,(N=s.ui)==null?void 0:N.description]}))},[U(r.$slots,s.slot?`${s.slot}-description`:"description",{item:s},()=>[c(g(s.description),1)])],2)):w("",!0)],2)],10,fe)}),128))]),_:3},8,["as","data-orientation","class"])}}},ve={class:"min-h-30 text-center justify-center py-12"},be={class:"flex flex-col md:flex-row items-center max-w-5xl mx-auto"},he={class:"w-full md:w-1/2 md:gap-8 md:text-left order-2 md:order-1"},we={class:"flex flex-col md:flex-row gap-4 justify-center md:justify-start items-center mt-12 mb-12 md:mb-0"},ye={class:"w-full md:w-1/2 order-1 md:order-2"},ke={class:"text-center md:py-24 bg-primary-50"},_e={class:"max-w-5xl flex flex-col md:flex-row mx-auto gap-8"},ze={class:"w-full md:w-1/2 flex items-center justify-center"},Ie={class:"min-h-30 text-center justify-center py-20 px-4 md:px-0"},$e={class:"grid md:grid-cols-2 max-w-4xl mt-16 gap-4 mx-auto"},je={class:"flex flex-row items-center gap-4"},Ce={class:"flex flex-row items-center gap-4"},Se={class:"flex flex-row items-center gap-4"},De={class:"flex flex-row items-center gap-4"},Te={class:"flex flex-row items-center gap-4"},qe={class:"flex flex-row items-center gap-4"},Re={class:"flex flex-col md:flex-row md:items-start max-w-full h-auto p-4 pb-16 gap-4 md:gap-0"},Ue={class:"min-h-30 bg-primary-600 text-center justify-center py-12"},Ve={id:"plans",class:"max-w-5xl mx-auto px-4 pb-28"},Pe={class:"text-error-500"},Be={class:"grid grid-cols-1 md:grid-cols-3 gap-6"},Ee={class:"p-6 text-center flex flex-col justify-between h-full"},Ge={class:"text-4xl font-bold mb-2"},Me={class:"text-2xl font-thin text-neutral-500"},Ne={class:"text-gray-600 mt-8"},We={class:"text-brand text-3xl font-bold mt-8"},Ze={class:"text-neutral-400"},Le={class:"font-bold"},Ae={class:"border-t border-neutral-300 bg-gray-50 py-4 rounded-b-lg flex justify-center"},Fe={key:1},He={class:"flex flex-row gap-2 items-center"},Ye={class:"mt-4"},Oe={class:"font-bold"},Qe={class:"pt-12 pb-24 text-center bg-diamond",id:"testimonials"}
1,Xe={class:"max-w-7xl flex flex-col mx-auto sm:p-12"},it={__name:"coaching",setup(x){const a=l=>l.priceId,z=[{label:"1 Month",price:249,monthly:249,priceId:"price_1RvQpSDZdG0PUIDkMt48X0gt",priceIdTest:"price_1RyyGZDZdG0PUIDkgk52Nq8C",weeks:4,description:"Quick improvement on a specific topic"},{label:"3 Months",price:699,monthly:233,weeks:13,priceId:"price_1RvR90DZdG0PUIDkCbfXF5hQ",priceIdTest:"price_1RyyLGDZdG0PUIDkH1abAdG2",description:"Deep dive into 1-2 dimensions. Enough time to bed in new habits"},{label:"6 Months",price:1349,monthly:224,priceId:"price_1RvRCoDZdG0PUIDkrieiT8Tr",priceIdTest:"price_1RyyNjDZdG0PUIDkmuckYxdR",weeks:26,description:"Long term coaching support"}],j=K(),P=ee(),n=te(),y=se(),{formatDate:B}=pe(),{fetchSubscriptions:r,activeSubscription:k,loading:C,error:s}=me(),_=L(!1),S=L([{date:"Week 0",title:"Choose a plan",description:"It's up to you how much time you want to invest into improving your business. We have plans ranging from 1 month to 6 months depending on your need",icon:"i-lucide-mouse-pointer-click"},{date:"Week 1",title:"Onboarding",description:"Meet with your coach to discuss your business, agree on the objective, and determine the plan for the first week and when you'll have your recurring weekly meeting",icon:"i-lucide-message-circle-question-mark"},{date:"Weeks 2 onward",title:"Weekly calls",description:"Every week you'll meet with your coach to review the progress on the actions from the previous week, set an objective and plan tasks for the upcoming week",icon:"i-lucide-phone"},{date:"Final week",title:"Summary and evaluation",description:"In your final call you will review the progress against your objective and measure your progress.",icon:"i-lucide-trophy"},{date:"After",title:"Continuous development",description:"You will continue to have access to all the materials from your coaching plan, including your business skills summary, all notes, and any files that were shared, so you can continue to refer to them in the future.",icon:"i-lucide-graduation-cap"}]),D=async l=>{var d;_.value=!0;const e=(d=z.find(o=>o.priceId===l||o.priceIdTest===l))==null?void 0:d.weeks;if(!n.value){P.push("/login?redirect=/coaching#plans");return}try{const o=await $fetch("/api/stripe/checkout",{method:"POST",body:{priceId:l,mode:"payment",userEmail:n.value.email,userId:n.value.id,weeks:e||0}});window.location.href=o.url}catch(o){console.error("checkout failed",o),y.add({title:"Uh oh",description:o.message,color:"error"});return}window.location.href=res.url},T=l=>{{const e=document.getElementById("plans");e&&e.scrollIntoView({behavior:"smooth"})}},I=async l=>{const e=typeof l=="string"?l:j.hash;if(!e)return;const d=e.startsWith("#")?e.slice(1):e;if(!d)return;await re();const o=document.getElementById(d);o&&o.scrollIntoView({behavior:"smooth",block:"start"})};return ae(async()=>{n.value&&r(),await I()}),oe(()=>j.hash,async l=>{await I(l)}),(l,e)=>{const d=ie,o=le,f=ne,q=xe,$=de,R=ue;return u(),b(G,null,[t("div",ve,[t("div",be,[t("div",he,[e[3]||(e[3]=t("h2",{class:"text-4xl md:text-5xl px-4 md:px-0 font-bold text-neutral-950 pt-12 md:pt-0"}," Make your business the best it can be ",-1)),t("div",we,[i(d,{class:"rounded-full w-fit",variant:"outline",size:"xl",to:"https://meetings.hubspot.com/emilio41/revbyappemilio"},{default:h(()=>[...e[1]||(e[1]=[c("Free 30-min consult",-1)])]),_:1}),i(d,{class:"rounded-full w-fit px-8",size:"xl",onClick:e[0]||(e[0]=p=>T())},{default:h(()=>[...e[2]||(e[2]=[c("Choose a plan",-1)])]),_:1})])]),t("div",ye,[i(o,{src:"/img/coaching/coaching-hero.png",class:"md:rounded-lg w-full md:w-4/5"})])])]),t("div",ke,[t("div",_e,[t("div",ze,[i(o,{src:"/img/coaching/coaching-owners.webp",class:"md:rounded-lg w-full object-cover"})]),e[4]||(e[4]=t("div",{class:"w-full md:w-1/2 mx-auto p-8"},[t("h2",{class:"text-3xl font-semibold text-neutral-950 max-w-xl mx-auto"}," Get personalized coaching from small-business experts "),t("p",{class:"mt-8"}," You've worked hard to get your business to where it is today, and you've likely had to wear many hats and learn a lot along the way. It's tough being an expert at everything (we know). "),t("p",{class:"mt-4"}," At Revby we have helped thousands of small business owners improve their business. We know what it takes, and we have expert consultants who can help you with any part of your business. ")],-1))])]),t("div",Ie,[e[11
1]||(e[11]=t("h2",{class:"text-5xl font-bold text-neutral-950"},"What you get",-1)),t("div",$e,[t("div",je,[i(f,{name:"i-lucide-check",class:"text-brand"}),e[5]||(e[5]=t("p",{class:"text-xl font-semibold"},"Expert business coach",-1))]),t("div",Ce,[i(f,{name:"i-lucide-check",class:"text-brand"}),e[6]||(e[6]=t("p",{class:"text-xl font-semibold"},"FREE business skills evaluation",-1))]),t("div",Se,[i(f,{name:"i-lucide-check",class:"text-brand"}),e[7]||(e[7]=t("p",{class:"text-xl font-semibold"},"1 hour onboarding call",-1))]),t("div",De,[i(f,{name:"i-lucide-check",class:"text-brand"}),e[8]||(e[8]=t("p",{class:"text-xl font-semibold"},"30-minute weekly coaching calls",-1))]),t("div",Te,[i(f,{name:"i-lucide-check",class:"text-brand"}),e[9]||(e[9]=t("p",{class:"text-xl font-semibold"},"Objective and task tracking",-1))]),t("div",qe,[i(f,{name:"i-lucide-check",class:"text-brand"}),e[10]||(e[10]=t("p",{class:"text-xl font-semibold"},"Unlimited messaging with your coach",-1))])])]),t("div",Re,[i(o,{src:"/img/quiz/quiz-results-strategy.png",class:"rounded-lg object-contain border border-neutral-300 w-full md:w-3/4 md:mt-8"}),i(o,{src:"/img/quiz/quiz-results-top.png",class:"rounded-lg object-contain border border-neutral-300 w-full md:w-3/4 md:-ml-[12%] md:mt-0"}),i(o,{src:"/img/coaching/coaching-messages.png",class:"rounded-lg object-contain border border-neutral-300 w-full md:w-3/4 md:-ml-[12%] md:mt-16"}),i(o,{src:"/img/coaching/coaching-weeks.png",class:"rounded-lg object-contain border border-neutral-300 w-full md:w-3/4 md:-ml-[12%] md:mt-0"})]),t("div",Ue,[e[12]||(e[12]=t("h2",{class:"text-5xl font-bold text-white"},"How coaching works",-1)),i(q,{items:m(S),class:"max-w-lg px-4 md:px-0 mx-auto text-left mt-16",color:"neutral",size:"3xl",ui:{date:"text-md text-neutral-400",title:"text-2xl font-bold text-neutral-50",description:"text-xl text-white"}},null,8,["items"])]),t("div",Ve,[m(s)?(u(),V($,{key:0,class:"border border-error-500 bg-error-50"},{default:h(()=>[t("p",Pe,g(m(s)),1)]),_:1})):w("",!0),e[20]||(e[20]=t("h1",{class:"text-5xl text-neutral-950 font-bold mt-20 mb-12 text-center"},[t("span",{class:"text-gradient"},"Coaching"),c(" Plans ")],-1)),t("div",Be,[(u(),b(G,null,A(z,p=>t("div",{key:p.weeks,class:"flex flex-col justify-between border border-neutral-300 rounded-xl shadow-sm h-full"},[t("div",Ee,[t("h3",Ge,g(p.label),1),t("p",Me,g(p.weeks)+" weeks ",1),t("p",Ne,g(p.description),1),t("p",We,[c(" $"+g(p.monthly.toLocaleString())+" ",1),e[13]||(e[13]=t("span",{class:"text-neutral-500 font-medium text-lg"},"/ month",-1))]),t("p",Ze,[t("span",Le,"$"+g(p.price.toLocaleString()),1),e[14]||(e[14]=c(" due at purchase ",-1))])]),t("div",Ae,[i(d,{class:"rounded-full py-2 px-6 text-lg",onClick:E=>D(a(p)),disabled:m(_)},{default:h(()=>[...e[15]||(e[15]=[c(" Buy plan ",-1)])]),_:1},8,["onClick","disabled"])])])),64))]),m(C)?(u(),b("div",Fe,[...e[16]||(e[16]=[t("p",{class:"text-center my-8"},"Loading subscriptions...",-1)])])):w("",!0),m(k)?(u(),V($,{key:2,class:"mt-8 border border-warning-500 bg-warning-50",variant:"outline"},{default:h(()=>[t("div",He,[i(f,{name:"i-lucide-triangle-alert",class:"size-7 text-warning-500"}),e[17]||(e[17]=t("h2",{class:"text-2xl font-bold text-warning-500"},"Just to be sure...",-1))]),t("p",Ye,[c(' Looks like your "'+g(m(k).plan)+'" plan is currently active and will expire on ',1),t("span",Oe,g(m(B)(m(k).end_date)),1),e[18]||(e[18]=c(". ",-1))]),e[19]||(e[19]=t("p",null," If you purchase a plan now it will only start after your current plan is finished. ",-1))]),_:1})):w("",!0)]),t("div",Qe,[t("div",Xe,[e[21]||(e[21]=t("h3",{class:"text-4xl sm:text-5xl font-bold mb-12 px-16 sm:px-0"},[c(" What "),t("span",{class:"text-gradient"},"our clients"),c(" say ")],-1)),i(R)])])],64)}}};export{it 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.