1import{r as m,j as e}from"./index-vcrjTTXp.js";import{s as k,o as A,j as M,w as I,b as $,S as D,D as g,a as E,f as w,g as b}from"./SiteNav-4-NMmXXK.js";import{e as F}from"./pageModels-Ckn7Q8JY.js";import{l as R}from"./partsServicePricing-B5cB5k7k.js";import{l as T}from"./websitePricing-Cwf0eKw6.js";import"./site-CwwEAXSP.js";const N="/api/public/connection-pricing",L=["ina","moe"],_=i=>String(i||"").trim().replace(/\/+$/,""),B=({apiOrigin:i,isDevelopment:s=!1}={})=>{const a=_(i);return a?`${a}${N}`:s?N:`https://apply.carfii.com${N}`},W=i=>i&&String(i.planKey||"").trim()&&String(i.name||"").trim()&&typeof i.monthlyPrice=="number"&&Number.isFinite(i.monthlyPrice)&&String(i.currency||"").trim()&&String(i.interval||"").trim(),O=async({fetchImpl:i=globalThis.fetch,apiOrigin:s="",isDevelopment:a=!1}={})=>{var u;if(typeof i!="function")throw new TypeError("A fetch implementation is required to load Ina and Moe pricing.");const n=await i(B({apiOrigin:s,isDevelopment:a}),{headers:{Accept:"application/json"},cache:"no-store",credentials:"omit"});if(!(n!=null&&n.ok))throw new Error(`Ina and Moe pricing request failed with status ${(n==null?void 0:n.status)||"unknown"}.`);const c=await n.json(),d=Array.isArray((u=c==null?void 0:c.data)==null?void 0:u.connections)?c.data.connections:[];return L.reduce((j,t)=>{const o=d.find(p=>(p==null?void 0:p.connectionKey)===t);if(!o||!Array.isArray(o.plans)||!o.plans.length||!o.plans.every(W))throw new Error(`Ina and Moe pricing response did not contain current plans for "${t}".`);return{...j,[t]:o}},{})},K=i=>({"@context":"https://schema.org","@type":"OfferCatalog","@id":`${b(i.path)}#offercatalog`,name:"CARF Dealer Intelligence packages",url:b(i.path),provider:{"@id":`${w}/#organization`},itemListElement:i.groups.map(s=>({"@type":"OfferCatalog",name:s.name,url:b(s.path),itemListElement:s.connections.flatMap(a=>a.plans.map(n=>({"@type":"Offer",name:n.label,url:b(a.path),price:n.amount,priceCurrency:n.currency,availability:"https://schema.org/InStock",priceSpecification:{"@type":"UnitPriceSpecification",price:n.amount,priceCurrency:n.currency,unitCode:"MON",billingIncrement:1},seller:{"@id":`${w}/#organization`}})))}))}),x=i=>{const s=Number(i);return Number.isFinite(s)?`$${s.toLocaleString("en-CA",{minimumFractionDigits:Number.isInteger(s)?0:2,maximumFractionDigits:2})}`:null},S=i=>Number.isFinite(Number(i==null?void 0:i.regularMonthlyPrice))&&Number(i.regularMonthlyPrice)>Number(i.monthlyPrice);function P({connection:i}){return e.jsxs("div",{className:"pricing-product",children:[e.jsxs("h3",{children:[i.productName,e.jsx("span",{children:i.availability})]}),e.jsx("div",{className:"rd-plan-grid",children:i.plans.map(s=>e.jsxs("div",{className:`rd-plan${s.recommended?" rd-plan-recommended":""}`,children:[e.jsxs("div",{className:"rd-plan-name",children:[s.productName," · ",s.name]}),e.jsxs("div",{className:"rd-plan-price",children:[e.jsx("b",{children:s.priceText.split(" ")[0]})," ",e.jsxs("span",{className:"rd-plan-per",children:[s.currency," / ",s.interval]})]}),s.freeMonthsText?e.jsx("div",{className:"rd-plan-per",children:s.freeMonthsText}):null,s.description?e.jsx("p",{children:s.description}):null,s.includes.length?e.jsx("ul",{children:s.includes.map(a=>e.jsx("li",{children:a},a))}):null,e.jsxs("a",{href:i.path,children:["About ",i.name," â"]})]},`${i.key}-${s.planKey}`))})]})}function y({product:i}){return e.jsxs("div",{className:"pricing-live-unavailable",role:"status",children:[e.jsx("p",{children:"Current promotional pricing temporarily unavailable."}),e.jsxs(g,{href:"/book-demo",topicName:i,children:["Contact CARF about ",i," â"]})]})}function q({state:i,partsState:s}){var d;const a=i.data,n=S(a==null?void 0:a.dealer)||S(a==null?void 0:a.wholesale),c=((d=s.data)==null?void 0:d.bundle)||null;return e.jsxs("article",{className:"pricing-commercial-card pricing-commercial-card-featured",children:[e.jsxs("div",{className:"pricing-commercial-card-head",children:[e.jsxs("div",{children:[e.jsx("p",{className:"rd-eyebrow",children:"Dealer Website"}),e.jsx("h3",{children:"AI Website Builder, Hosting & Connected CARF Inventory"})]}),n?e.jsx("span",{className:"pricing-badge pricing-badge-offer",children:"Current Offer"}):null]}),i.status==="loading"?e.jsx("p",{className:"pricing-live-loading",children:"Loading current pricingâ¦"}):null,i.status==="error"?e.jsx(y,{product:"Dealer Website"}):null,i.status==="ready"?e.jsxs(e.Fragment,{children:[a.dealer.regularMonthlyPrice!=null?e.jsxs("div",{className:"pricing-regular-price",children:[e.jsx("span",{children:"Regular price"}),e.jsxs("s",{children:[x(a.dealer.regularMonthlyPrice)," CAD / month"]})]}):null,e.jsx("div",{className:"pricing-offer-label",children:n?"Current offer":"Current pricing"}),e.jsxs("div",{className:"pricing-audience-grid",children:[e.jsxs("div",{children:[e.jsx("span",{children:"Retail Dealer"}),e.jsx("strong",{children:x(a.dealer.monthlyPrice)}),e.jsx("small",{children:"CAD / month"})]}),e.jsxs("div",{children:[e.jsx("span",{children:"Wholesale Dealer"}),e.jsx("strong",{children:x(a.wholesale.monthlyPrice)}),e.jsx("small",{children:"CAD / month"})]})]}),c?e.jsxs("div",{className:"pricing-bundle-callout",children:[e.jsx("span",{className:"pricing-badge pricing-badge-included",children:"Included"}),e.jsxs("div",{children:[e.jsx("b",{children:"Bonus included: Parts & Service"}),e.jsx("small",{children:"No additional CARF charge under the current qualifying offer."})]})]}):null,a.dealer.freeMonths>0?e.jsxs("p",{className:"pricing-card-note",children:["Includes ",a.dealer.freeMonths," introductory free ",a.dealer.freeMonths===1?"month":"months"," for eligible retail dealers."]}):null,e.jsx("a",{className:"pricing-card-cta",href:"/cdi/dealer-website/website-builder",children:"Explore Website Builder â"})]}):null]})}function G({state:i}){const s=i.data;return e.jsxs("article",{className:"pricing-commercial-card",children:[e.jsxs("div",{className:"pricing-commercial-card-head",children:[e.jsxs("div",{children:[e.jsx("p",{className:"rd-eyebrow",children:"Parts & Service"}),e.jsx("h3",{children:"Complete shop-management system"})]}),s!=null&&s.bundle?e.jsx("span",{className:"pricing-badge pricing-badge-offer",children:"Current Offer"}):null]}),i.status==="loading"?e.jsx("p",{className:"pricing-live-loading",children:"Loading current pricingâ¦"}):null,i.status==="error"?e.jsx(y,{product:"Parts & Service"}):null,i.status==="ready"?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"pricing-standalone",children:[e.jsx("span",{children:"Standalone"}),e.jsx("strong",{children:x(s.standalone.monthlyPrice)}),e.jsx("small",{children:"CAD / month"})]}),s.bundle?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"pricing-or",children:e.jsx("span",{children:"or"})}),e.jsxs("div",{className:"pricing-bundle-callout",children:[e.jsx("span",{className:"pricing-badge pricing-badge-included",children:"Included"}),e.jsxs("div",{children:[e.jsxs("b",{children:["With ",s.bundle.packageName]}),e.jsx("small",{children:"Parts & Service is included at no additional CARF charge under the current qualifying offer."})]})]})]}):null,e.jsx("a",{className:"pricing-card-cta",href:"/cdi/parts-and-service",children:"Explore Parts & Service â"})]}):null]})}const U=[{key:"ina",eyebrow:"Ina · AI Marketing Manager",heading:"Social marketing for Facebook, Instagram and YouTube",planLabel:i=>`Level ${i+1}`},{key:"moe",eyebrow:"Moe · AI Video Production",heading:"Walk-around videos for your inventory",planLabel:()=>null}];
1function z({agent:i,connection:s}){return e.jsxs("div",{className:"pricing-product",children:[e.jsx("p",{className:"rd-eyebrow",children:i.eyebrow}),e.jsx("h3",{children:i.heading}),e.jsx("div",{className:"rd-plan-grid",children:s.plans.map((a,n)=>{var c;return e.jsxs("div",{className:`rd-plan${a.recommended?" rd-plan-recommended":""}`,children:[e.jsx("div",{className:"rd-plan-name",children:[i.planLabel(n),a.name].filter(Boolean).join(" · ")}),e.jsxs("div",{className:"rd-plan-price",children:[e.jsx("b",{children:Number(a.monthlyPrice)===0?"Included":x(a.monthlyPrice)})," ",Number(a.monthlyPrice)===0?null:e.jsxs("span",{className:"rd-plan-per",children:[String(a.currency).toUpperCase()," / ",a.interval]})]}),a.description?e.jsx("p",{children:a.description}):null,(c=a.includes)!=null&&c.length?e.jsx("ul",{children:a.includes.flatMap(H).map(d=>e.jsx("li",{children:d},d))}):null]},`${s.connectionKey}-${a.planKey}`)})})]})}const H=i=>{const[s,a]=String(i).split(/,\s*then\s+/i);return a?[s,`Extra videos ${a}`]:[i]};function ee(){const i=F(),s=i.sections.find(r=>r.id==="included"),a=i.sections.find(r=>r.id==="provider-costs"),n=i.sections.find(r=>r.id==="coming-soon"),[c,d]=m.useState({status:"loading",data:null}),[u,j]=m.useState({status:"loading",data:null}),[t,o]=m.useState({status:"loading",data:null}),p=m.useMemo(()=>i.groups.flatMap(r=>r.connections.map(l=>({...l,moduleName:r.name,modulePath:r.path}))),[i.groups]),f=p.filter(r=>r.key==="ai_photo_generator"),v=p.filter(r=>r.key==="docusign"),C=p.filter(r=>!["ai_photo_generator","docusign"].includes(r.key));return m.useEffect(()=>{let r=!0;const l={apiOrigin:void 0,isDevelopment:!1};return T(l).then(h=>r&&d({status:"ready",data:h})).catch(()=>r&&d({status:"error",data:null})),R(l).then(h=>r&&j({status:"ready",data:h})).catch(()=>r&&j({status:"error",data:null})),O(l).then(h=>r&&o({status:"ready",data:h})).catch(()=>r&&o({status:"error",data:null})),()=>{r=!1}},[]),m.useEffect(()=>{k({title:i.title,description:i.metaDescription,path:i.path,schemas:[A,M,I({name:i.title,description:i.metaDescription,path:i.path,dateModified:i.lastReviewed}),$(i.breadcrumb),K(i)]})},[i.path,i.title,i.metaDescription,i.lastReviewed]),e.jsxs("div",{className:"rd-page pricing-page",children:[e.jsx("a",{className:"rd-skip",href:"#main",children:"Skip to content"}),e.jsx(D,{}),e.jsx("nav",{className:"rd-wrap rd-breadcrumb","aria-label":"Breadcrumb",children:e.jsx("ol",{children:i.breadcrumb.map((r,l)=>e.jsx("li",{children:l===i.breadcrumb.length-1?e.jsx("span",{"aria-current":"page",children:r.name}):e.jsx("a",{href:r.path,children:r.name})},r.path))})}),e.jsxs("main",{id:"main",children:[e.jsxs("header",{className:"rd-wrap pricing-hero",children:[e.jsxs("p",{className:"rd-eyebrow",children:[i.hero.eyebrow," · CAD · month to month"]}),e.jsxs("h1",{children:[i.hero.headingLead," ",e.jsx("strong",{children:i.hero.headingStrong})]}),e.jsx("p",{className:"rd-lede",children:i.hero.lede}),e.jsxs("div",{className:"rd-btn-row",children:[e.jsx(g,{className:"rd-btn rd-btn-blue",href:i.hero.primaryCta.href,"data-analytics-cta":"request_demo","data-analytics-location":"pricing_hero","data-analytics-label":i.hero.primaryCta.label,"data-analytics-destination":i.hero.primaryCta.href,children:i.hero.primaryCta.label}),e.jsx(g,{className:"rd-btn rd-btn-ghost",href:i.hero.secondaryCta.href,children:i.hero.secondaryCta.label})]})]}),f.length?e.jsxs("section",{className:"rd-wrap pricing-group","aria-labelledby":"pricing-ai-photo",children:[e.jsxs("div",{className:"pricing-group-head",children:[e.jsxs("div",{children:[e.jsx("p",{className:"rd-eyebrow",children:"Paid packages"}),e.jsx("h2",{id:"pricing-ai-photo",children:"AI Photo Generator"})]}),e.jsx("a",{href:"/cdi/inventory",children:"All Inventory connections â"})]}),f.map(r=>e.jsxs("div",{className:"pricing-product",children:[e.jsxs("h3",{children:[r.productName,e.jsx("span",{children:r.availability})]}),e.jsx("div",{className:"rd-plan-grid",children:r.plans.map(l=>e.jsxs("div",{className:`rd-plan${l.recommended?" rd-plan-recommended":""}`,children:[e.jsxs("div",{className:"rd-plan-name",children:[l.productName," · ",l.name]}),e.jsxs("div",{className:"rd-plan-price",children:[e.jsx("b",{children:l.priceText.split(" ")[0]})," ",e.jsxs("span",{className:"rd-plan-per",children:[l.currency," / ",l.interval]})]}),l.freeMonthsText?e.jsx("div",{className:"rd-plan-per",children:l.freeMonthsText}):null,l.description?e.jsx("p",{children:l.description}):null,l.includes.length?e.jsx("ul",{children:l.includes.map(h=>e.jsx("li",{children:h},h))}
1):null,e.jsxs("a",{href:r.path,children:["About ",r.name," â"]})]},`${r.key}-${l.planKey}`))})]},r.key))]}):null,e.jsxs("section",{className:"rd-wrap pricing-group","aria-labelledby":"pricing-commercial",children:[e.jsx("div",{className:"pricing-group-head",children:e.jsxs("div",{children:[e.jsx("p",{className:"rd-eyebrow rd-eyebrow-green",children:"Current commercial offers"}),e.jsx("h2",{id:"pricing-commercial",children:"Dealer Website and Parts & Service"}),e.jsx("p",{className:"rd-lede",children:"Current prices and package eligibility come directly from CARF's canonical billing configuration."})]})}),e.jsxs("div",{className:"pricing-commercial-grid",children:[e.jsx(q,{state:c,partsState:u}),e.jsx(G,{state:u})]})]}),e.jsxs("section",{className:"rd-wrap pricing-group","aria-labelledby":"pricing-marketing-agents",children:[e.jsxs("div",{className:"pricing-group-head",children:[e.jsxs("div",{children:[e.jsx("p",{className:"rd-eyebrow",children:"AI marketing agents"}),e.jsx("h2",{id:"pricing-marketing-agents",children:"Ina & Moe"}),e.jsx("p",{className:"rd-lede",children:"Ina prepares and publishes your social posts from your CARF inventory; Moe produces the walk-around videos she can use. Month to month, in Canadian dollars."})]}),e.jsx("a",{href:"/cdi/marketing",children:"About Marketing â"})]}),t.status==="loading"?e.jsx("p",{className:"pricing-live-loading",children:"Loading current pricingâ¦"}):null,t.status==="error"?e.jsx(y,{product:"Ina and Moe"}):null,t.status==="ready"?U.map(r=>e.jsx(z,{agent:r,connection:t.data[r.key]},r.key)):null]}),v.length?e.jsxs("section",{className:"rd-wrap pricing-group","aria-labelledby":"pricing-documents",children:[e.jsxs("div",{className:"pricing-group-head",children:[e.jsxs("div",{children:[e.jsx("p",{className:"rd-eyebrow",children:"Paid packages"}),e.jsx("h2",{id:"pricing-documents",children:"Documents & Payments"})]}),e.jsx("a",{href:"/cdi/documents-and-payments",children:"All Documents & Payments connections â"})]}),v.map(r=>e.jsx(P,{connection:r},r.key))]}):null,C.length?e.jsxs("section",{className:"rd-wrap pricing-group","aria-labelledby":"pricing-other-packages",children:[e.jsx("div",{className:"pricing-group-head",children:e.jsx("h2",{id:"pricing-other-packages",children:"Other packages"})}),C.map(r=>e.jsx(P,{connection:r},r.key))]}):null,i.included.length?e.jsxs("section",{className:"rd-wrap pricing-group","aria-labelledby":"pricing-included",children:[e.jsxs("div",{children:[e.jsx("p",{className:"rd-eyebrow rd-eyebrow-green",children:"No package price"}),e.jsx("h2",{id:"pricing-included",children:s.heading}),e.jsx("p",{className:"rd-lede",children:s.lede})]}),e.jsx("ul",{className:"pricing-list included",children:i.included.map(r=>e.jsx("li",{children:e.jsxs("a",{href:r.path,children:[r.name,e.jsx("span",{className:"pricing-badge pricing-badge-included",children:r.posture}),e.jsxs("span",{className:"pricing-list-meta",children:[r.moduleName," · ",r.posture]})]})},r.key))})]}):null,i.providerCosts.length?e.jsxs("section",{className:"rd-wrap pricing-group","aria-labelledby":"pricing-provider-costs",children:[e.jsxs("div",{children:[e.jsx("p",{className:"rd-eyebrow",children:"Connections"}),e.jsx("h2",{id:"pricing-provider-costs",children:a.heading}),e.jsx("p",{className:"rd-lede",children:a.lede})]}),e.jsx("ul",{className:"pricing-list pricing-list-detailed",children:i.providerCosts.map(r=>e.jsx("li",{id:`pricing-${r.key}`,children:e.jsxs("a",{href:r.path,children:[e.jsx("span",{className:"pricing-list-title",children:r.name}),e.jsx("span",{className:`pricing-badge ${r.posture==="Free connection"?"pricing-badge-included":"pricing-badge-neutral"}`,children:r.posture}),e.jsx("span",{className:"pricing-list-note",children:r.note}),e.jsxs("span",{className:"pricing-list-meta",children:[r.moduleName," · ",r.posture]})]})},r.key))})]}):null,i.comingSoon.length?e.jsxs("section",{className:"rd-wrap pricing-group","aria-labelledby":"pricing-coming-soon",children:[e.jsxs("div",{children:[e.jsx("p",{className:"rd-eyebrow",children:"Roadmap"}),e.jsx("h2",{id:"pricing-coming-soon",children:n.heading}),e.jsx("p",{className:"rd-lede",children:n.lede})]}),e.jsx("ul",{className:"pricing-list pricing-list-detailed",children:i.comingSoon.map(r=>e.jsx("li",{id:`pricing-${r.key}`,children:e.jsxs("a",{href:r.path,children:[e.jsx("span",{className:"pricing-list-title",children:r.name}),e.jsx("span",{className:"pricing-badge pricing-badge-neutral",children:r.posture}),e.jsxs("span",{className:"pricing-list-meta",children:[r.moduleName," · ",e.jsx("b",{children:r.posture})]}),r.secondary?e.jsx("span",{className:"pricing-list-note",children:r.secondary}):null,e.jsxs("span",{className:"pricing-inline-cta",children:[r.ctaLabel," â"]})]})},r.key))})]}):null,e.jsxs("section",{className:"rd-wrap pricing-terms","aria-labelledby":"pricing-terms-heading",children:[e.jsxs("div",{children:[e.jsx("h2",{id:"pricing-terms-heading",className:"rd-eyebrow",children:"Terms that apply to every package"}),e.jsx("p",{style:{marginTop:"10px"},children:i.footerNote})]}),e.jsxs("div",{className:"rd-btn-row",children:[e.jsx(g,{className:"rd-btn rd-btn-blue",href:i.ctaBand.primaryCta.href,"data-analytics-cta":"request_demo","data-analytics-location":"pricing_terms","data-analytics-label":i.ctaBand.primaryCta.label,"data-analytics-destination":i.ctaBand.primaryCta.href,children:i.ctaBand.primaryCta.label}),e.jsx(g,{className:"rd-btn rd-btn-ghost",href:i.ctaBand.secondaryCta.href,children:i.ctaBand.secondaryCta.label})]})]})]}),e.jsx(E,{})]})}
1export{ee 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.