1import{r as e}from"./B0Z9INg1.js";import{$ as t,A as n,C as r,E as i,It as a,L as o,Ot as s,Qt as c,S as l,T as u,X as d,Xt as f,g as p,h as m,k as h,mt as g,o as _,ot as ee,p as v,tn as y,ut as b,xt as x}from"./ZoGTP0oj.js";import{t as te}from"./B88XtvRY.js";import{h as ne}from"./BqEgVka0.js";import{t as re}from"./CQsyl8rh.js";import{t as S}from"./CF7ROdHr.js";import{c as ie,i as C,l as ae}from"./DR_hPKq8.js";import{t as w}from"./BDNMzG2s.js";import{t as oe}from"./pxz2xKxx.js";import{a as T}from"./Q1gEliBf.js";g();var E=x([]),D=x(!1),O=x(null);function se(){let e=C(),t=async()=>{D.value=!0,O.value=null;try{S.info(`[usePlans] Starting to load plans...`),S.info(`[usePlans] Client type:`,e?`initialized`:`null`);let{data:t,error:n}=await e.schema(`llm_mentions`).from(`plans`).select(`*`).eq(`is_active`,!0).eq(`is_public`,!0).order(`monthly_price`,{ascending:!0});if(S.info(`[usePlans] Query result:`,{hasError:!!n,error:n,errorDetails:n?JSON.stringify(n):null,dataLength:t?.length||0,rawData:t}),n)throw S.error(`[usePlans] Supabase error:`,n),n;(!t||t.length===0)&&S.warn(`[usePlans] No plans returned from query`),S.info(`[usePlans] Loaded plans:`,{total:t?.length||0,plans:(t||[]).map(e=>({name:e.name,price:e.monthly_price,isPublic:e.is_public,isActive:e.is_active,monthlyAnalysesLimit:e.monthly_analyses_limit}))}),E.value=t||[],S.info(`[usePlans] Final plans count:`,E.value.length)}catch(e){S.error(`[usePlans] Error loading plans:`,e),S.error(`[usePlans] Error stack:`,e.stack),O.value=e.message||`Failed to load plans`}finally{D.value=!1}},n=()=>E.value.map(e=>({id:e.id,name:e.name,price:e.monthly_price,description:e.features?.description||e.description||``,features:e.features?.features_list||[],maxBrands:e.monthly_analyses_limit,maxPrompts:e.features?.max_prompts_total,maxSeats:e.features?.users,maxMarkets:e.features?.max_markets,allowedSources:e.features?.allowed_sources||[],sourcesDisplay:i(e.features?.allowed_sources),marketsDisplay:a(e.features?.max_markets),retention:e.features?.retention,apiAccess:e.features?.api_access,prioritySupport:e.features?.priority_support,allowManualExecution:e.features?.allow_manual_execution,isPopular:e.name===`Growth`,ctaText:e.name===`Enterprise`?`Contact Sales`:`Get Started`})),r=()=>{let e=n(),t={Starter:1,Growth:2,Pro:3,Business:4,Agency:5,Enterprise:6};return e.filter(e=>t[e.name]).sort((e,n)=>(t[e.name]||999)-(t[n.name]||999))},i=e=>{if(!e||e.length===0)return`No sources`;let t=e.map(e=>T(e));return t.length===3?`All 3 AI Sources`:t.join(` + `)},a=e=>e?e>=999999?`Unlimited markets`:`${e} market${e>1?`s`:``}`:`0 markets`;return{plans:E,loading:D,error:O,loadPlans:t,getFormattedPlans:n,getPublicLandingPlans:r,getPlanByName:e=>E.value.find(t=>t.name===e),getPlanById:e=>E.value.find(t=>t.id===e),formatSources:i,formatMarkets:a}}var k=e({default:()=>I});o(),a(),g(),_();var ce={class:`relative bg-gradient-to-r from-purple-900 to-indigo-900 px-6 py-4`},le={class:`relative z-10 flex items-center justify-between`},ue={class:`flex items-center gap-3`},de={class:`w-10 h-10 rounded-lg bg-gradient-to-br from-amber-400 to-orange-500 flex items-center justify-center`},fe={class:`text-2xl font-bold text-white`,style:{"font-family":`'Inter', sans-serif`}},pe={key:0,class:`text-purple-200 text-sm`},me={class:`flex-1 overflow-y-auto`},he={class:`grid lg:grid-cols-[1.2fr_0.8fr] gap-6 p-6`},ge={class:`space-y-4`},_e={class:`bg-gradient-to-br from-gray-50 to-gray-100 rounded-xl p-5 border border-gray-200`},ve={class:`flex items-start justify-between mb-3`},ye={class:`text-lg font-bold text-gray-900`},A={key:0,class:`flex items-baseline gap-1.5 mt-1`},j={class:`text-3xl font-bold text-gray-900`},M={key:0,class:`text-gray-400 text-xs ml-1`},N={key:1,class:`flex items-baseline gap-1.5 mt-1`},P={class:`space-y-2.5`},be={key:0,class:`bg-red-50 border border-red-200 rounded-lg p-2 -mx-2`},xe={class:`flex items-center justify-between text-xs mb-1`},Se={class:`font-bold text-red-700`},Ce={class:`font-bold text-red-900`},we={class:`w-full bg-gray-300 rounded-full h-1.5`},Te={key:1},Ee={class:`font-medium`},De={class:`space-y-2.5 pt-2`},Oe={class:`flex items-center justify-between text-xs mb-1`},ke={class:`font-medium text-gray-600`},Ae={class:`font-semibold text-gray-700`},je={class:`w-full bg-gray-300 rounded-full h-1.5`},Me={key:0,class:`relative bg-gradient-to-br from-gray-50 to-gray-100 rounded-xl p-8 text-center border-2 border-gray-200`},Ne={key:1,class:`relative bg-gradient-to-br from-purple-900 to-indigo-900 rounded-xl p-5 overflow-hidden`,style:{"box-shadow":`0 10px 25px -5px rgba(109, 40, 217, 0.3)`}},Pe={class:`absolute top-0 right-0`},Fe={class:`flex items-center gap-1 px-4 py-1.5 text-purple-900 text-xs font-black rounded-bl-xl rounded-tr-xl`,style:{background:`linear-gradient(135deg, #fbbf24, #f59e0b)`}},Ie={class:`relative z-10`},Le={class:`mb-4 pt-6`},Re={class:`text-xl font-bold text-white mb-2`},ze={key:0,class:`flex items-baseline gap-2`},Be={class:`text-5xl font-bold text-white`,style:{"font-family":`'Inter', sans-serif`}},Ve={key:0,class:`text-purple-300 text-xs mt-1`},He={key:1,class:`flex items-baseline gap-2`},Ue={key:0,class:`mb-4`},We={class:`bg-gradient-to-r from-amber-500/20 to-orange-500/20 border-2 border-amber-400/40 rounded-xl p-4`},Ge={class:`flex items-start justify-between mb-2`},Ke={class:`flex items-center gap-2`},qe={class:`w-8 h-8 rounded-lg bg-gradient-to-br from-amber-400 to-orange-500 flex items-center justify-center`},Je={class:`text-white font-bold text-base`},Ye={class:`text-right`},Xe={class:`text-3xl font-bold text-amber-300`,style:{"font-family":`'Inter', sans-serif`}},Ze={key:0,class:`text-emerald-300 text-xs font-bold mt-1`},Qe={class:`mb-4`},$e={class:`space-y-1.5`},et={class:`flex items-center gap-2`},tt={class:`text-purple-100 text-xs`},nt={class:`text-purple-200 text-sm font-semibold`},rt={key:1,class:`mb-4 pt-3 border-t border-white/10`},it={class:`space-y-1.5`}
1,at=[`disabled`],F={key:0,class:`flex items-center justify-center gap-2`},ot={key:1},st={key:2,class:`bg-gradient-to-br from-gray-50 to-gray-100 rounded-xl p-8 text-center border-2 border-gray-200`},ct={class:`space-y-4`},lt={class:`bg-gradient-to-br from-indigo-50 to-purple-50 rounded-xl p-4 border border-indigo-200 text-center`},ut={class:`flex items-center gap-0.5 mb-2`},dt={class:`text-gray-700 text-xs leading-relaxed mb-3 italic line-clamp-3`},ft={class:`flex items-center gap-2`},pt={class:`w-8 h-8 rounded-full bg-gradient-to-br from-purple-500 to-indigo-600 flex items-center justify-center text-white font-semibold text-xs`},mt={class:`text-xs font-semibold text-gray-900`},ht={class:`text-xs text-gray-500`},gt={class:`bg-purple-50 rounded-xl p-4 border border-purple-200`},_t={class:`space-y-2`},vt={class:`flex items-start gap-2 text-xs text-purple-900`},yt={class:`flex items-start gap-2 text-xs text-purple-900`},bt={class:`px-6 pb-6`},xt={class:`border-t border-gray-200 pt-5`},St={class:`grid md:grid-cols-2 gap-3 max-w-4xl mx-auto`},Ct=[`onClick`],wt={class:`font-semibold text-gray-900 text-xs pr-2`},I=w({__name:`BillingUpgradeLimitModal`,props:{modelValue:{type:Boolean,default:!1},forcedLimitType:{type:String,default:null}},emits:[`update:modelValue`],setup(e,{emit:a}){let o=e,g=a,_=ne(),C=ae(),w=ie(),{limits:T,canCreateAnalysis:E,canAddUser:D,canAddClient:O,canCreatePrompt:k,canAddMarket:I,canRunManually:Tt,canClickRunAll:Et,getLimitMessage:L}=oe(),{plans:R,loading:Dt,loadPlans:Ot}=se(),z=x(!1),B=x(null),V=x(!1);ee(()=>o.modelValue,async e=>{e&&R.value.length===0&&(S.info(`[UpgradeModal] Modal opened, loading plans...`),await Ot(),S.info(`[UpgradeModal] Plans loaded:`,R.value.length))},{immediate:!0});let H=l(()=>{let e=[];return E.value||e.push({type:`analyses`,message:L(`create_analysis`)}),D.value||e.push({type:`users`,message:L(`add_user`)}),O.value||e.push({type:`clients`,message:L(`add_client`)}),k.value||e.push({type:`prompts`,message:L(`create_prompt`)}),I.value||e.push({type:`markets`,message:L(`add_market`)}),Tt.value||e.push({type:`manual`,message:L(`run_manually`)}),Et.value||e.push({type:`run_all`,message:L(`click_run_all`)}),e}),U=l(()=>T.value.plan),W=l(()=>o.forcedLimitType?o.forcedLimitType:H.value.length===0?null:H.value[0].type),G=l(()=>{if(o.forcedLimitType){let e=H.value.find(e=>e.type===o.forcedLimitType);return e?e.message:L(`create_${o.forcedLimitType===`analyses`?`analysis`:o.forcedLimitType===`prompts`?`prompt`:o.forcedLimitType===`users`?`user`:o.forcedLimitType===`clients`?`client`:o.forcedLimitType===`markets`?`market`:`analysis`}`)}return H.value.length>0?H.value[0].message:null}),K=l(()=>{let e=T.value.quotas,t=U.value?.monthly_price||0;if(S.info(`[UpgradeModal] Finding next plan:`,{primaryLimitKey:W.value,currentLimits:e,currentPrice:t,totalPlans:R.value.length,activePlans:R.value.filter(e=>e.is_active).length,publicPlans:R.value.filter(e=>e.is_active&&e.is_public===!0).length}),!W.value){let e=R.value.filter(e=>e.is_active&&e.is_public===!0&&e.monthly_price>t).sort((e,t)=>e.monthly_price-t.monthly_price);return S.info(`[UpgradeModal] No primary limit, showing next by price:`,e[0]?.name),e[0]||null}let n=R.value.filter(e=>{let t=e.is_active,n=e.is_public===!0;return t&&n});switch(S.info(`[UpgradeModal] After active/public filter:`,{count:n.length,plans:n.map(e=>({name:e.name,price:e.monthly_price,isPublic:e.is_public}))}),W.value){case`analyses`:n=n.filter(t=>{let n=t.monthly_analyses_limit,r=e.analyses,i=n>r;return S.info(`[UpgradeModal] Plan ${t.name}: limit=${n}, current=${r}, suitable=${i}`),i});break;case`users`:n=n.filter(t=>(t.features?.users||0)>e.users);break;case`clients`:n=n.filter(t=>(t.features?.clients||0)>e.clients);break;case`prompts`:n=n.filter(t=>parseInt(t.features?.max_prompts_total||0)>e.prompts);break;case`markets`:n=n.filter(t=>parseInt(t.features?.max_markets||0)>e.markets);break;case`competitors`:n=n.filter(t=>parseInt(t.features?.max_competitors||0)>e.competitors);break;case`pagesView`:n=n.filter(t=>parseInt(t.features?.max_pages_view||0)>e.pagesView);break;case`sourcesView`:n=n.filter(t=>
1parseInt(t.features?.max_sources_view||0)>e.sourcesView);break;default:n=n.filter(e=>e.monthly_price>t)}S.info(`[UpgradeModal] After limit filter:`,{count:n.length,plans:n.map(e=>e.name)});let r=n.filter(e=>e.monthly_price!==null),i=r.length>0?r:n;i.sort((e,t)=>e.monthly_price===null?1:t.monthly_price===null?-1:e.monthly_price-t.monthly_price);let a=i[0]||null;return S.info(`[UpgradeModal] Selected plan:`,{name:a?.name||`NONE`,hadPlansWithPrice:r.length,totalSuitable:n.length}),a}),q=l(()=>({analyses:{label:`Brands`,value:T.value.quotas.analyses},users:{label:`Team Members`,value:T.value.quotas.users},clients:{label:`Clients`,value:T.value.quotas.clients},prompts:{label:`Prompts Executed This Week`,value:T.value.quotas.prompts},markets:{label:`Markets`,value:T.value.quotas.markets},competitors:{label:`Competitors Tracked`,value:T.value.quotas.competitors},pagesView:{label:`Pages Viewable`,value:T.value.quotas.pagesView},sourcesView:{label:`Sources Viewable`,value:T.value.quotas.sourcesView}})),J=l(()=>{if(!K.value)return{};let e=T.value.quotas,t={analyses:K.value.monthly_analyses_limit,users:K.value.features?.users||0,clients:K.value.features?.clients||0,prompts:parseInt(K.value.features?.max_prompts_total)||0,markets:parseInt(K.value.features?.max_markets)||0,competitors:parseInt(K.value.features?.max_competitors)||0,pagesView:parseInt(K.value.features?.max_pages_view)||0,sourcesView:parseInt(K.value.features?.max_sources_view)||0};return{analyses:{label:`Brands`,value:t.analyses,improvement:t.analyses>e.analyses?`+${t.analyses-e.analyses} more`:null},users:{label:`Team Members`,value:t.users,improvement:t.users>e.users?`+${t.users-e.users} more`:null},clients:{label:`Clients`,value:t.clients,improvement:t.clients>e.clients?`+${t.clients-e.clients} more`:null},prompts:{label:`Prompts Executed Per Week`,value:t.prompts,improvement:t.prompts>e.prompts?`+${t.prompts-e.prompts} more/week`:null},markets:{label:`Markets`,value:t.markets,improvement:t.markets>e.markets?`+${t.markets-e.markets} more`:null},competitors:{label:`Competitors Tracked`,value:t.competitors,improvement:t.competitors>e.competitors?`+${t.competitors-e.competitors} more`:null},pagesView:{label:`Pages Viewable`,value:t.pagesView,improvement:t.pagesView>e.pagesView?`+${t.pagesView-e.pagesView} more`:null},sourcesView:{label:`Sources Viewable`,value:t.sourcesView,improvement:t.sourcesView>e.sourcesView?`+${t.sourcesView-e.sourcesView} more`:null}}}),kt=l(()=>{if(!W.value)return J.value;let e={};for(let[t,n]of Object.entries(J.value))t!==W.value&&(e[t]=n);return e}),Y=l(()=>W.value?Object.entries(q.value).filter(([e])=>e!==W.value).map(([e,t])=>({key:e,...t})):Object.entries(q.value).map(([e,t])=>({key:e,...t}))),At=[{name:`Michael`,role:`CEO`,avatar:`M`,quote:`Upgrading was the best decision for our brand. The insights are incredible and the ROI is clear.`},{name:`Sarah`,role:`Marketing Director`,avatar:`S`,quote:`BuzzWatch transformed how we track our AI visibility. The insights are invaluable for our strategy.`}],jt=[{question:`What are prompts and how do they work?`,answer:`Prompts are the questions or queries we ask AI platforms like ChatGPT, Google AI, and Perplexity to check if they mention your brand. Each prompt is tracked across all enabled AI sources.`},{question:`What are markets/regions?`,answer:`Markets represent different geographic regions or countries where you want to monitor your brand. AI platforms often provide different responses based on location and language.`},{question:`What is on-demand tracking?`,answer:`On-demand tracking allows you to instantly refresh your brand mentions across all AI platforms whenever you want, rather than waiting for scheduled updates.`},{question:`Can I change or cancel my plan?`,answer:`Yes! You can upgrade, downgrade, or cancel your plan at any time from your account settings. Changes take effect at the end of your current billing period.`}];function X(e,t=null){return t?.toLowerCase().includes(`enterprise`)||e===999999?`Custom`:e.toLocaleString()}function Z(e){let t=T.value.usage[e]||0,n=T.value.quotas[e]||1;return n===999999?0:Math.min(100,t/n*100)}function Q(e){let t=Z(e);return t>=90?`bg-gradient-to-r from-red-500 to-red-600`:t>=70?`bg-gradient-to-r from-amber-500 to-orange-500`:`bg-gradient-to-r from-emerald-500 to-green-600`}function Mt(e){B.value=B.value===e?null:e}function $(){g(`update:modelValue`,!1)}async function Nt(){if(!(!K.value||z.value)){z.value=!0;try{let{data:e}=await C.auth.getSession();if(!e?.session?.access_token){S.error(`[Upgrade Modal] No authentication token found`),alert(`Please sign in to upgrade your plan.`);return}if(!w.value){S.error(`[Upgrade Modal] No organization ID found`),alert(`Please select an organization first.`);return}let t=await te(`/api/stripe/create-checkout-session`,{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer ${e.session.access_token}`},body:{plan_id:K.value.id,price_id:K.value.stripe_price_id,organization_id:w.value}});if(t.success&&t.url)window.location.href=t.url;else throw Error(t.error||`Failed to create checkout session`)}catch(e){S.error(`[Upgrade Modal] Error creating checkout session:`,e),alert(`Failed to start upgrade process: ${e.message||`Unknown error`}`)}finally{z.value=!1}}}function Pt(){$(),_.push(`/dashboard/settings?tab=subscription`)}return(a,o)=>{let l=re;return e.modelValue?(d(),i(`div`,{key:0,class:`fixed inset-0 bg-gradient-to-br from-gray-900/80 via-purple-900/40 to-gray-900/80 backdrop-blur-sm z-50 flex items-center justify-center p-4 animate-fade-in`,onClick:m($,[`self`])},[r(`div`,{class:`bg-white rounded-2xl shadow-2xl w-full max-w-5xl max-h-[90vh] overflow-hidden flex flex-col animate-scale-in`,style:{"box-shadow":`0 25px 50px -12px rgba(0, 0, 0, 0.25)`},onClick:o[1]||=m(()=>{},[`stop`])},[r(`div`,ce,[o[2]||=r(`div`,{class:`absolute top-0 right-0 w-64 h-64 bg-white/5 rounded-full blur-3xl -mr-32 -mt-32`},null,-1),r(`div`,le,[r(`div`,ue,[r(`div`,de,[n(l,{name:`material-symbols:workspace-premium`,class:`w-6 h-6 text-white`})]),r(`div`,null,[r(`h2`,fe,y(K.value?`Upgrade to ${K.value.name}`:`Upgrade Your Plan`),1),G.value?(d(),i(`p`,pe,y(G.value),1)):u(``,!0)])]),r(`button`,{onClick:$,class:`p-1.5 text-white/60 hover:text-white hover:bg-white/10 rounded-lg transition-all`},[n(l,{name:`material-symbols:close`,class:`h-5 w-5`})])])]),r(`div`,me,[r(`div`,he,[r(`div`,ge,[r(`div`,_e,[r(`div`,ve,[r(`div`,null,[r(`h3`,ye,y(U.value?.name||`Current Plan`),1),U.value?.monthly_price>0?(d(),i(`div`,A,[r(`span`,j,`$`+y(U.value?.prices?.USD??U.value?.monthly_price),1),o[3]||=r(`span`,{class:`text-gray-500 text-sm`},`/mo`,-1),U.value?.prices?.EUR?(d(),i(`span`,M,`~â¬`+y(U.value.prices.EUR),1)):u(``,!0)])):(d(),i(`div`,N,[...o[4]||=[r(`span`,{class:`text-2xl font-bold text-gray-900`},`Free Plan`,-1)]]))]),o[5]||=r(`span`,{class:`px-2 py-1 bg-gray-300 text-gray-700 text-xs font-bold rounded-full`},`CURRENT`,-1)]),r(`div`,P,[W.value&&q.value[W.value]?(d(),i(`div`,be,[r(`div`,xe,[r(`span`,Se,y(q.value[W.value].label),1),r(`span`,Ce,y(s(T).usage[W.value])+`/`+y(X(s(T).quotas[W.value])),1)]),r(`div`,we,[r(`div`,{class:f([`h-full rounded-full transition-all`,Q(W.value)]),style:c({width:`${Z(W.value)}%`})},null,6)])])):u(``,!0),Y.value.length>0?(d(),i(`div`,Te,[r(`button`,{onClick:o[0]||=e=>V.value=!V.value,class:`w-full flex items-center justify-between text-xs text-gray-500 hover:text-gray-700 transition-colors py-1`},[r(`span`,Ee,y(V.value?`Hide`:`Show`)+` other limits`,1),n(l,{name:`material-symbols:expand-more`,class:f([`w-4 h-4 transition-transform`,{"rotate-180":V.value}])},null,8,[`class`])]),b(r(`div`,De,[(d(!0),i(p,null,t(Y.value,(e,t)=>(d(),i(`div`,{key:e.key},[r(`div`,Oe,[r(`span`,ke,y(e.label),1),r(`span`,Ae,y(s(T).usage[e.key])+`/`+y(X(s(T).quotas[e.key])),1)]),r(`div`,je,[r(`div`,{class:f([`h-full rounded-full transition-all`,Q(e.key)]),style:c({width:`${Z(e.key)}%`})},null,6)])]))),128))],512),[[v,V.value]])])):u(``,!0)])]),s(Dt)?(d(),i(`div`,Me,[n(l,{name:`material-symbols:progress-activity`,class:`w-12 h-12 text-purple-600 mx-auto mb-3 animate-spin`}),o[6]||=r(`p`,{class:`text-lg font-bold text-gray-900 mb-2`},`Loading Plans...`,-1),o[7]||=r(`p`,{class:`text-sm text-gray-600`},`Finding the best upgrade option for you`,-1)])):K.value?(d(),i(`div`,Ne,[o[15]||=r(`div`,{class:`absolute top-0 right-0 w-48 h-48 bg-white/5 rounded-full blur-2xl -mr-24 -mt-24`},null,-1),r(`div`,Pe,[r(`div`,Fe,[n(l,{name:`material-symbols:star-rounded`,class:`w-3 h-3`}),o[8]||=h(` RECOMMENDED `,-1)])]),r(`div`,Ie,[r(`div`,Le,[r(`h3`,Re,y(K.value.name),1),K.value.monthly_price>0?(d(),i(`div`,ze,[r(`span`,Be,` $`+y(K.value.prices?.USD??K.value.monthly_price),1),o[9]||=r(`span`,{class:`text-purple-200 text-sm`},`/month`,-1),K.value.prices?.EUR?(d(),i(`div`,Ve,`~â¬`+y(K.value.prices.EUR)+`/month`,1)):u(``,!0)])):(d(),i(`div`,He,[...o[10]||=[r(`span`,{class:`text-4xl font-bold text-white`,style:{"font-family":`'Inter', sans-serif`}},` Free Plan `,-1)]]))]),W.value?(d(),i(`div`,Ue,[r(`div`,We,[r(`div`,Ge,[r(`div`,Ke,[r(`div`,qe,[n(l,{name:`material-symbols:bolt`,class:`w-5 h-5 text-white`})]),r(`div`,null,[o[11]||=r(`p`,{class:`text-xs text-amber-200 font-semibold uppercase tracking-wide`},`What You Need`,-1),r(`p`,Je,y(J.value[W.value]?.label),1)])]),r(`div`,Ye,[r(`div`,Xe,y(X(J.value[W.value]?.value,K.value.name)),1),J.value[W.value]?.improvement?(d(),i(`div`,Ze,y(J.value[W.value]?.improvement),1)):u(``,!0)])])])])):u(``,!0),r(`div`,Qe,[o[12]||=r(`h4`,{class:`text-xs text-purple-200 font-semibold uppercase tracking-wide mb-2`}
1,`Also Included`,-1),r(`div`,$e,[(d(!0),i(p,null,t(kt.value,(e,t)=>(d(),i(`div`,{key:t,class:`flex items-center justify-between bg-white/5 rounded-lg px-3 py-2 border border-white/10`},[r(`div`,et,[n(l,{name:`material-symbols:check`,class:`w-4 h-4 text-purple-300`}),r(`span`,tt,y(e.label),1)]),r(`div`,nt,y(X(e.value,K.value?.name)),1)]))),128))])]),K.value.features?.features_list?.length?(d(),i(`div`,rt,[r(`div`,it,[(d(!0),i(p,null,t(K.value.features.features_list.slice(0,3),(e,t)=>(d(),i(`div`,{key:t,class:`flex items-start gap-2 text-xs text-white/70`},[n(l,{name:`material-symbols:check-circle`,class:`w-3.5 h-3.5 text-purple-400 flex-shrink-0 mt-0.5`}),r(`span`,null,y(e),1)]))),128))])])):u(``,!0),r(`button`,{onClick:Nt,disabled:z.value,class:`w-full py-3 rounded-lg font-bold text-base shadow-xl transform hover:scale-[1.02] transition-all disabled:opacity-50`,style:{background:`linear-gradient(135deg, #fbbf24, #f59e0b)`,color:`#1f2937`}},[z.value?(d(),i(`span`,F,[n(l,{name:`material-symbols:progress-activity`,class:`w-5 h-5 animate-spin`}),o[13]||=h(` Processing... `,-1)])):(d(),i(`span`,ot,`Upgrade Now â`))],8,at),o[14]||=r(`p`,{class:`text-center text-purple-300 text-xs mt-2`},`Secure checkout ⢠Cancel anytime`,-1)])])):(d(),i(`div`,st,[n(l,{name:`material-symbols:support-agent`,class:`w-12 h-12 text-purple-600 mx-auto mb-3`}),o[16]||=r(`p`,{class:`text-lg font-bold text-gray-900 mb-2`},`Need Higher Limits?`,-1),o[17]||=r(`p`,{class:`text-sm text-gray-600 mb-4`},`Contact us to discuss custom solutions for your needs`,-1),o[18]||=r(`a`,{href:`mailto:[email protected]`,class:`inline-block px-6 py-2 bg-purple-600 text-white rounded-lg font-semibold hover:bg-purple-700 transition-colors`},` Contact Us `,-1)]))]),r(`div`,ct,[r(`div`,lt,[n(l,{name:`material-symbols:verified`,class:`w-8 h-8 text-indigo-600 mx-auto mb-2`}),o[19]||=r(`p`,{class:`font-bold text-gray-900 text-sm`},`Trusted by 500+ Brands`,-1),o[20]||=r(`p`,{class:`text-xs text-gray-600 mt-1`},`Dominating AI search results`,-1)]),(d(!0),i(p,null,t(At.slice(0,2),(e,a)=>(d(),i(`div`,{key:a,class:`bg-white border border-gray-200 rounded-xl p-4 shadow-sm`},[r(`div`,ut,[(d(),i(p,null,t(5,e=>n(l,{key:e,name:`material-symbols:star`,class:`w-3 h-3 text-amber-400`})),64))]),r(`p`,dt,`"`+y(e.quote)+`"`,1),r(`div`,ft,[r(`div`,pt,y(e.avatar),1),r(`div`,null,[r(`p`,mt,y(e.name),1),r(`p`,ht,y(e.role),1)])])]))),128)),r(`div`,gt,[o[23]||=r(`h4`,{class:`text-xs font-bold text-purple-900 uppercase mb-2`},`Why Upgrade?`,-1),r(`div`,_t,[r(`div`,vt,[n(l,{name:`material-symbols:trending-up`,class:`w-4 h-4 text-purple-600 flex-shrink-0 mt-0.5`}),o[21]||=r(`span`,null,[r(`strong`,null,`Scale without limits`),h(` - Grow your monitoring capacity`)],-1)]),r(`div`,yt,[n(l,{name:`material-symbols:speed`,class:`w-4 h-4 text-purple-600 flex-shrink-0 mt-0.5`}),o[22]||=r(`span`,null,[r(`strong`,null,`Stay competitive`),h(` - Track more than your competitors`)],-1)])])])])]),r(`div`,bt,[r(`div`,xt,[o[24]||=r(`h3`,{class:`text-lg font-bold text-gray-900 mb-3 text-center`},`Common Questions`,-1),r(`div`,St,[(d(!0),i(p,null,t(jt.slice(0,4),(e,t)=>(d(),i(`div`,{key:t,class:`bg-gray-50 rounded-lg border border-gray-200 overflow-hidden hover:border-purple-300 transition-colors`},[r(`button`,{onClick:e=>Mt(t),class:`w-full px-4 py-2.5 text-left flex items-start justify-between hover:bg-gray-100 transition-colors`},[r(`span`,wt,y(e.question),1),n(l,{name:`material-symbols:expand-more`,class:f([`w-4 h-4 text-gray-400 transition-transform flex-shrink-0`,{"rotate-180":B.value===t}])},null,8,[`class`])],8,Ct),b(r(`div`,{class:`px-4 pb-3 text-gray-600 text-xs leading-relaxed`},y(e.answer),513),[[v,B.value===t]])]))),128))]),r(`div`,{class:`text-center mt-4`},[r(`button`,{onClick:Pt,class:`text-purple-600 hover:text-purple-700 font-semibold text-xs hover:underline`},` View all plans and pricing â `)])])])])])])):u(``,!0)}}},[[`__scopeId`,`data-v-aac578ae`]]);export{k as n,I as t};
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.