Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@iofferio/certificate

Package Overview
Dependencies
Maintainers
6
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iofferio/certificate - npm Package Compare versions

Comparing version
1.0.29
to
1.0.30
+1
-1
dist/AiCertificate/AiCertificate.js

@@ -454,4 +454,4 @@ "use strict";

return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)("div", { children: ["Price: $", thousandSeprator(formatterContext.y)] }), (0, jsx_runtime_1.jsxs)("div", { children: ["Miles: ", thousandSeprator(formatterContext.x)] })] }));
} })] }) })] }) })] }) }), isMobile ? (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("div", { style: { display: 'block' }, children: (0, jsx_runtime_1.jsx)("div", { style: { width: '100%', background: '#000000', color: '#ffffff', padding: '5px 0px', textAlign: 'center' }, children: "Vehicle Condition Report" }) }), (0, jsx_runtime_1.jsx)("div", { style: { display: 'block', padding: '10px 20px' }, children: (0, jsx_runtime_1.jsxs)("div", { style: { width: '100%', textAlign: 'left' }, children: [(0, jsx_runtime_1.jsxs)("div", { className: "fsb", children: ["Exterior Vehicle Condition? ", (0, jsx_runtime_1.jsx)("span", { style: { paddingLeft: '7px', width: '80px', display: 'inline-block', textAlign: 'left' }, children: element.ConditionsExterior ? element.ConditionsExterior : 'N/A' })] }), (0, jsx_runtime_1.jsxs)("div", { className: "fsb", children: ["Interior Vehicle Condition? ", (0, jsx_runtime_1.jsx)("span", { style: { paddingLeft: '7px', width: '80px', display: 'inline-block', textAlign: 'left' }, children: element.ConditionsInterior ? element.ConditionsInterior : 'N/A' })] }), (0, jsx_runtime_1.jsxs)("div", { className: "fsb", children: ["Mechanical Condition? ", (0, jsx_runtime_1.jsx)("span", { style: { paddingLeft: '7px', width: '80px', display: 'inline-block', textAlign: 'left' }, children: element.ConditionsMechanical ? element.ConditionsMechanical : 'N/A' })] }), (0, jsx_runtime_1.jsxs)("div", { className: "fsb", children: ["Is Driveable? ", (0, jsx_runtime_1.jsx)("span", { style: { paddingLeft: '7px', width: '80px', display: 'inline-block', textAlign: 'left' }, children: element.ConditionsIsDriveable })] })] }) })] }) : (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("div", { style: { display: 'flex', marginTop: '15px' }, children: (0, jsx_runtime_1.jsx)("div", { style: { width: '100%', background: '#ffffff', color: '#000000', padding: '5px 0px', textAlign: 'center', fontSize: '24px' }, children: "Vehicle Condition Report" }) }), (0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', padding: '10px 20px' }, children: [(0, jsx_runtime_1.jsxs)("div", { style: { width: '50%', textAlign: 'right' }, children: [(0, jsx_runtime_1.jsxs)("div", { children: ["Exterior Vehicle Condition? ", (0, jsx_runtime_1.jsx)("span", { style: { paddingLeft: 10, width: '140px', display: 'inline-block', textAlign: 'left' }, children: element.ConditionsExterior ? element.ConditionsExterior : 'N/A' })] }), (0, jsx_runtime_1.jsxs)("div", { children: ["Interior Vehicle Condition? ", (0, jsx_runtime_1.jsx)("span", { style: { paddingLeft: 10, width: '140px', display: 'inline-block', textAlign: 'left' }, children: element.ConditionsInterior ? element.ConditionsInterior : 'N/A' })] })] }), (0, jsx_runtime_1.jsxs)("div", { style: { width: '50%', textAlign: 'right' }, children: [(0, jsx_runtime_1.jsxs)("div", { children: ["Mechanical Condition? ", (0, jsx_runtime_1.jsx)("span", { style: { paddingLeft: 10, width: '140px', display: 'inline-block', textAlign: 'left' }, children: element.ConditionsMechanical ? element.ConditionsMechanical : 'N/A' })] }), (0, jsx_runtime_1.jsxs)("div", { children: ["Is Driveable? ", (0, jsx_runtime_1.jsx)("span", { style: { paddingLeft: 10, width: '140px', display: 'inline-block', textAlign: 'left' }, children: element.ConditionsIsDriveable })] })] })] })] }), (0, jsx_runtime_1.jsxs)("div", { style: { textAlign: 'center', marginTop: '20px', position: 'relative' }, children: [(0, jsx_runtime_1.jsxs)("span", { className: "fs", style: { background: 'linear-gradient(264.69deg, #5F5F5F -10.41%, #000000 106.5%)', padding: '8px 20px', color: '#fff', borderRadius: '30px' }, children: ["This Deal Expires On : ", expiryDate] }), !isRemoveBranding && (0, jsx_runtime_1.jsxs)("div", { style: { position: (isMobile) ? 'relative' : 'absolute', right: 20, top: (isMobile) ? 10 : 0, fontSize: 14 }, children: ["Powered by ", (0, jsx_runtime_1.jsx)("img", { src: imageURL, alt: "Powered by iOffer.io", style: { width: 80 } })] })] })] })] }) : null, (dealerElement.AutoAcquireOrPi && themeInfo.EmailHeaderColor && dealerElement.AutoAcquireOrPi == 'autoAcquire') ? (0, jsx_runtime_1.jsxs)("div", { style: { width: 600, margin: 'auto' }, children: [(0, jsx_runtime_1.jsxs)("div", { style: { background: "#ffffff", padding: '16px', width: '568px', margin: 'auto' }, children: [(0, jsx_runtime_1.jsx)("div", { style: { padding: '32px', background: themeInfo.EmailHeaderColor, borderRadius: '24px 24px 0px 0px' }, children: (0, jsx_runtime_1.jsxs)("div", { style: { height: '75px' }, className: "title-info-block", children: [(0, jsx_runtime_1.jsx)("h4", { style: { margin: '0px', color: themeInfo.EmailHeaderTextColor, fontSize: '40px', fontWeight: 700 }, children: "Your instant offer" }), (0, jsx_runtime_1.jsxs)("span", { style: { color: themeInfo.EmailHeaderTextColor, fontSize: '16px', fontWeight: 400, display: 'block', opacity: 0.8 }, children: ["Expires ", expiryDate] })] }) }), (0, jsx_runtime_1.jsx)("div", { style: { textAlign: 'center', marginTop: '0px' }, children: element.ImageUrl && (0, jsx_runtime_1.jsx)("img", { style: { width: 440, margin: '0 auto', borderRadius: '24px' }, src: element.ImageUrl, alt: element.VehicleDescription }) }), (0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', width: '512px', margin: 'auto', justifyContent: 'space-between', alignItems: 'flex-start' }, children: [(0, jsx_runtime_1.jsxs)("div", { style: { width: '50%', textAlign: 'left' }, children: [(0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailMessageColor, opacity: 0.5, fontSize: '16px', fontWeight: 700 }, children: "Instant Cash Offer" }), (0, jsx_runtime_1.jsxs)("div", { style: { margin: '0px', color: themeInfo.EmailVehiclePriceColor, fontSize: '40px', fontWeight: 700 }, children: ["$", thousandSeprator(element.PricingMyPrice)] }), (0, jsx_runtime_1.jsxs)("div", { style: { color: themeInfo.EmailMessageColor, opacity: 0.5, fontSize: '12px', fontWeight: 700 }, children: [element.FirstName, " ", element.LastName] }), (0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailMessageColor, opacity: 0.5, fontSize: '12px', fontWeight: 700 }, children: element.Email }), (0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailMessageColor, opacity: 0.5, fontSize: '12px', fontWeight: 700 }, children: element.Phone })] }), (0, jsx_runtime_1.jsxs)("div", { style: { width: '50%', textAlign: 'right' }, children: [(0, jsx_runtime_1.jsxs)("div", { style: { color: themeInfo.EmailMessageColor, fontSize: '16px', fontWeight: 700 }, children: [element.VehicleSpecYear, " ", element.VehicleSpecMake, " ", element.VehicleSpecModel] }), (0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailMessageColor, opacity: 0.5, fontSize: '16px', fontWeight: 400 }, children: element.VehicleSpecTrim }), (0, jsx_runtime_1.jsxs)("div", { style: { color: themeInfo.EmailMessageColor, opacity: 0.5, fontSize: '12px', fontWeight: 400 }, children: [thousandSeprator(element.VehicleSpecMiles), " mi"] }), element.Vin && (0, jsx_runtime_1.jsxs)("div", { style: { color: themeInfo.EmailMessageColor, opacity: 0.5, fontSize: '12px', fontWeight: 700 }, children: ["VIN: ", element.Vin] }), (0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailMessageColor, fontSize: '12px', fontWeight: 400, marginTop: '16px' }, children: "Condition" }), (0, jsx_runtime_1.jsxs)("div", { style: { color: themeInfo.EmailMessageColor, opacity: 0.5, fontSize: '12px', fontWeight: 400 }, children: ["Exterior: ", element.ConditionsExterior] }), (0, jsx_runtime_1.jsxs)("div", { style: { color: themeInfo.EmailMessageColor, opacity: 0.5, fontSize: '12px', fontWeight: 400 }, children: ["Interior: ", element.ConditionsInterior] }), (0, jsx_runtime_1.jsxs)("div", { style: { color: themeInfo.EmailMessageColor, opacity: 0.5, fontSize: '12px', fontWeight: 400 }, children: ["Mechanical: ", element.ConditionsMechanical] }), (0, jsx_runtime_1.jsxs)("div", { style: { color: themeInfo.EmailMessageColor, opacity: 0.5, fontSize: '12px', fontWeight: 400 }, children: ["Drivable: ", element.ConditionsIsDriveable] })] })] }), (0, jsx_runtime_1.jsxs)("div", { style: { padding: '24px', margin: '40px auto', width: '512px', borderRadius: '12px', background: themeInfo.CtaBackgroundColor }, children: [(0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex' }, children: [(0, jsx_runtime_1.jsxs)("div", { style: { textAlign: 'center', width: '24px' }, children: [(0, jsx_runtime_1.jsx)("svg", { style: { display: 'block' }, xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: (0, jsx_runtime_1.jsx)("circle", { cx: "8", cy: "8", r: "4", fill: "#182931" }) }), (0, jsx_runtime_1.jsx)("svg", { style: { display: 'block', marginLeft: '6.75px' }, xmlns: "http://www.w3.org/2000/svg", width: "2", height: "60", viewBox: "0 0 2 60", fill: "none", children: (0, jsx_runtime_1.jsx)("path", { opacity: "0.25", d: "M1 0V60", stroke: "#182931" }) })] }), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailMessageColor, fontSize: '12px', fontWeight: 700 }, children: "Offer Complete" }), (0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailMessageColor, fontSize: '12px', fontWeight: 400 }, children: (element.CertificateCompletedOn) ? element.CertificateCompletedOn.split(' ')[0] : "" })] })] }), (0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex' }, children: [(0, jsx_runtime_1.jsxs)("div", { style: { textAlign: 'center', width: '24px' }, children: [(0, jsx_runtime_1.jsx)("svg", { style: { display: 'block' }, xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: (0, jsx_runtime_1.jsx)("circle", { cx: "8", cy: "8", r: "4", fill: "#7E7DEB" }) }), (0, jsx_runtime_1.jsx)("svg", { style: { display: 'block', marginLeft: '6.75px' }, xmlns: "http://www.w3.org/2000/svg", width: "2", height: "60", viewBox: "0 0 2 60", fill: "none", children: (0, jsx_runtime_1.jsx)("path", { opacity: "0.25", d: "M1 0V60", stroke: "#182931" }) })] }), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsxs)("div", { style: { color: themeInfo.EmailMessageColor, fontSize: '12px', fontWeight: 700 }, children: ["Remote Inspection ", (0, jsx_runtime_1.jsx)("span", { style: { color: themeInfo.EmailMessageColor, fontSize: '12px', fontWeight: 400, opacity: 0.5 }, children: "10 min" })] }), (0, jsx_runtime_1.jsx)("a", { target: "_blank", href: element.ClickinsUrl, style: { margin: '5px 0px', background: themeInfo.EmailButtonColor, borderColor: themeInfo.EmailButtonColor, color: themeInfo.EmailButtonTextColor, borderRadius: '4px', padding: '16px 32px', fontSize: '12px', fontWeight: 700, letterSpacing: '3px', textTransform: 'uppercase' }, className: "btn btn-primary", children: "Start Inspection" })] })] }), (0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex' }, children: [(0, jsx_runtime_1.jsx)("div", { style: { textAlign: 'center', width: '24px' }, children: (0, jsx_runtime_1.jsx)("svg", { style: { display: 'block' }, xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: (0, jsx_runtime_1.jsx)("circle", { opacity: "0.25", cx: "8", cy: "8", r: "3.5", stroke: "#182931" }) }) }), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailMessageColor, fontSize: '12px', fontWeight: 700, opacity: 0.5 }, children: "Arrange Final Steps" }), (0, jsx_runtime_1.jsxs)("div", { style: { color: themeInfo.EmailMessageColor, fontSize: '12px', fontWeight: 400, opacity: 0.5 }, children: ["with ", dealerElement.Name, " and get paid"] })] })] })] })] }), (0, jsx_runtime_1.jsx)("div", { style: { background: themeInfo.CtaFooterColor, padding: '16px 27px', width: '100%' }, children: (0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', alignItems: 'center', justifyContent: 'space-between' }, children: [(0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailFooterTextColor, fontSize: '14px', fontWeight: 700 }, children: dealerElement.Name }), (0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailFooterTextColor, fontSize: '12px', fontWeight: 400 }, children: dealerElement.Phone }), (0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailFooterTextColor, fontSize: '12px', fontWeight: 400 }, children: dealerElement.MarketcheckCode })] }), (0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)("div", { className: "footer-location-icon", style: { color: themeInfo.EmailFooterTextColor, fontSize: '14px', fontWeight: 700 }, children: "AutoAcquireAI" }) })] }) }), (0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailMessageColor, fontSize: '12px', fontWeight: 400, opacity: 0.5, padding: '8px' }, children: "All Instant Cash Offers expire after 7 days. Offers are based on general conditions and mileages. By completing the website form with additional details and completing the remote inspection with the link included, may increase or decrease these values. We reserve the right to complete a final physical inspection of the vehicle, as part of our process. Seller must have possession of the vehicle and legal ability to transfer title or authorize loan/lease payoff." })] }) : null] })] }));
} })] }) })] }) })] }) }), isMobile ? (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("div", { style: { display: 'block' }, children: (0, jsx_runtime_1.jsx)("div", { style: { width: '100%', background: '#000000', color: '#ffffff', padding: '5px 0px', textAlign: 'center' }, children: "Vehicle Condition Report" }) }), (0, jsx_runtime_1.jsx)("div", { style: { display: 'block', padding: '10px 20px' }, children: (0, jsx_runtime_1.jsxs)("div", { style: { width: '100%', textAlign: 'left' }, children: [(0, jsx_runtime_1.jsxs)("div", { className: "fsb", children: ["Exterior Vehicle Condition? ", (0, jsx_runtime_1.jsx)("span", { style: { paddingLeft: '7px', width: '80px', display: 'inline-block', textAlign: 'left' }, children: element.ConditionsExterior ? element.ConditionsExterior : 'N/A' })] }), (0, jsx_runtime_1.jsxs)("div", { className: "fsb", children: ["Interior Vehicle Condition? ", (0, jsx_runtime_1.jsx)("span", { style: { paddingLeft: '7px', width: '80px', display: 'inline-block', textAlign: 'left' }, children: element.ConditionsInterior ? element.ConditionsInterior : 'N/A' })] }), (0, jsx_runtime_1.jsxs)("div", { className: "fsb", children: ["Mechanical Condition? ", (0, jsx_runtime_1.jsx)("span", { style: { paddingLeft: '7px', width: '80px', display: 'inline-block', textAlign: 'left' }, children: element.ConditionsMechanical ? element.ConditionsMechanical : 'N/A' })] }), (0, jsx_runtime_1.jsxs)("div", { className: "fsb", children: ["Is Driveable? ", (0, jsx_runtime_1.jsx)("span", { style: { paddingLeft: '7px', width: '80px', display: 'inline-block', textAlign: 'left' }, children: element.ConditionsIsDriveable })] })] }) })] }) : (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("div", { style: { display: 'flex', marginTop: '15px' }, children: (0, jsx_runtime_1.jsx)("div", { style: { width: '100%', background: '#ffffff', color: '#000000', padding: '5px 0px', textAlign: 'center', fontSize: '24px' }, children: "Vehicle Condition Report" }) }), (0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', padding: '10px 20px' }, children: [(0, jsx_runtime_1.jsxs)("div", { style: { width: '50%', textAlign: 'right' }, children: [(0, jsx_runtime_1.jsxs)("div", { children: ["Exterior Vehicle Condition? ", (0, jsx_runtime_1.jsx)("span", { style: { paddingLeft: 10, width: '140px', display: 'inline-block', textAlign: 'left' }, children: element.ConditionsExterior ? element.ConditionsExterior : 'N/A' })] }), (0, jsx_runtime_1.jsxs)("div", { children: ["Interior Vehicle Condition? ", (0, jsx_runtime_1.jsx)("span", { style: { paddingLeft: 10, width: '140px', display: 'inline-block', textAlign: 'left' }, children: element.ConditionsInterior ? element.ConditionsInterior : 'N/A' })] })] }), (0, jsx_runtime_1.jsxs)("div", { style: { width: '50%', textAlign: 'right' }, children: [(0, jsx_runtime_1.jsxs)("div", { children: ["Mechanical Condition? ", (0, jsx_runtime_1.jsx)("span", { style: { paddingLeft: 10, width: '140px', display: 'inline-block', textAlign: 'left' }, children: element.ConditionsMechanical ? element.ConditionsMechanical : 'N/A' })] }), (0, jsx_runtime_1.jsxs)("div", { children: ["Is Driveable? ", (0, jsx_runtime_1.jsx)("span", { style: { paddingLeft: 10, width: '140px', display: 'inline-block', textAlign: 'left' }, children: element.ConditionsIsDriveable })] })] })] })] }), (0, jsx_runtime_1.jsxs)("div", { style: { textAlign: 'center', marginTop: '20px', position: 'relative' }, children: [(0, jsx_runtime_1.jsxs)("span", { className: "fs", style: { background: 'linear-gradient(264.69deg, #5F5F5F -10.41%, #000000 106.5%)', padding: '8px 20px', color: '#fff', borderRadius: '30px' }, children: ["This Deal Expires On : ", expiryDate] }), !isRemoveBranding && (0, jsx_runtime_1.jsxs)("div", { style: { position: (isMobile) ? 'relative' : 'absolute', right: 20, top: (isMobile) ? 10 : 0, fontSize: 14 }, children: ["Powered by ", (0, jsx_runtime_1.jsx)("img", { src: imageURL, alt: "Powered by iOffer.io", style: { width: 80 } })] })] })] })] }) : null, (dealerElement.AutoAcquireOrPi && themeInfo.EmailHeaderColor && dealerElement.AutoAcquireOrPi == 'autoAcquire') ? (0, jsx_runtime_1.jsxs)("div", { style: { width: 600, margin: 'auto' }, children: [(0, jsx_runtime_1.jsxs)("div", { style: { background: "#ffffff", padding: '16px', width: '568px', margin: 'auto' }, children: [(0, jsx_runtime_1.jsx)("div", { style: { padding: '32px', background: themeInfo.EmailHeaderColor, borderRadius: '24px 24px 0px 0px' }, children: (0, jsx_runtime_1.jsxs)("div", { style: { height: '75px' }, className: "title-info-block", children: [(0, jsx_runtime_1.jsx)("h4", { style: { margin: '0px', color: themeInfo.EmailHeaderTextColor, fontSize: '40px', fontWeight: 700 }, children: "Your instant offer" }), (0, jsx_runtime_1.jsxs)("span", { style: { color: themeInfo.EmailHeaderTextColor, fontSize: '16px', fontWeight: 400, display: 'block', opacity: 0.8 }, children: ["Expires ", expiryDate] })] }) }), (0, jsx_runtime_1.jsx)("div", { style: { textAlign: 'center', marginTop: '0px' }, children: element.ImageUrl && (0, jsx_runtime_1.jsx)("img", { style: { width: 440, margin: '0 auto', borderRadius: '24px' }, src: element.ImageUrl, alt: element.VehicleDescription }) }), (0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', width: '512px', margin: 'auto', justifyContent: 'space-between', alignItems: 'flex-start' }, children: [(0, jsx_runtime_1.jsxs)("div", { style: { width: '50%', textAlign: 'left' }, children: [(0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailMessageColor, opacity: 0.5, fontSize: '16px', fontWeight: 700 }, children: "Instant Cash Offer" }), (0, jsx_runtime_1.jsxs)("div", { style: { margin: '0px', color: themeInfo.EmailVehiclePriceColor, fontSize: '40px', fontWeight: 700 }, children: ["$", thousandSeprator(element.PricingMyPrice)] }), (0, jsx_runtime_1.jsxs)("div", { style: { color: themeInfo.EmailMessageColor, opacity: 0.5, fontSize: '12px', fontWeight: 700 }, children: [element.FirstName, " ", element.LastName] }), (0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailMessageColor, opacity: 0.5, fontSize: '12px', fontWeight: 700 }, children: element.Email }), (0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailMessageColor, opacity: 0.5, fontSize: '12px', fontWeight: 700 }, children: element.Phone })] }), (0, jsx_runtime_1.jsxs)("div", { style: { width: '50%', textAlign: 'right' }, children: [(0, jsx_runtime_1.jsxs)("div", { style: { color: themeInfo.EmailMessageColor, fontSize: '16px', fontWeight: 700 }, children: [element.VehicleSpecYear, " ", element.VehicleSpecMake, " ", element.VehicleSpecModel] }), (0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailMessageColor, opacity: 0.5, fontSize: '16px', fontWeight: 400 }, children: element.VehicleSpecTrim }), (0, jsx_runtime_1.jsxs)("div", { style: { color: themeInfo.EmailMessageColor, opacity: 0.5, fontSize: '12px', fontWeight: 400 }, children: [thousandSeprator(element.VehicleSpecMiles), " mi"] }), element.Vin && (0, jsx_runtime_1.jsxs)("div", { style: { color: themeInfo.EmailMessageColor, opacity: 0.5, fontSize: '12px', fontWeight: 700 }, children: ["VIN: ", element.Vin] }), (0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailMessageColor, fontSize: '12px', fontWeight: 400, marginTop: '16px' }, children: "Condition" }), (0, jsx_runtime_1.jsxs)("div", { style: { color: themeInfo.EmailMessageColor, opacity: 0.5, fontSize: '12px', fontWeight: 400 }, children: ["Exterior: ", element.ConditionsExterior] }), (0, jsx_runtime_1.jsxs)("div", { style: { color: themeInfo.EmailMessageColor, opacity: 0.5, fontSize: '12px', fontWeight: 400 }, children: ["Interior: ", element.ConditionsInterior] }), (0, jsx_runtime_1.jsxs)("div", { style: { color: themeInfo.EmailMessageColor, opacity: 0.5, fontSize: '12px', fontWeight: 400 }, children: ["Mechanical: ", element.ConditionsMechanical] }), (0, jsx_runtime_1.jsxs)("div", { style: { color: themeInfo.EmailMessageColor, opacity: 0.5, fontSize: '12px', fontWeight: 400 }, children: ["Drivable: ", element.ConditionsIsDriveable] })] })] }), (0, jsx_runtime_1.jsxs)("div", { style: { padding: '24px', margin: '40px auto', width: '512px', borderRadius: '12px', background: themeInfo.CtaBackgroundColor }, children: [(0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex' }, children: [(0, jsx_runtime_1.jsxs)("div", { style: { textAlign: 'center', width: '24px' }, children: [(0, jsx_runtime_1.jsx)("svg", { style: { display: 'block' }, xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: (0, jsx_runtime_1.jsx)("circle", { cx: "8", cy: "8", r: "4", fill: "#182931" }) }), (0, jsx_runtime_1.jsx)("svg", { style: { display: 'block', marginLeft: '6.75px' }, xmlns: "http://www.w3.org/2000/svg", width: "2", height: "60", viewBox: "0 0 2 60", fill: "none", children: (0, jsx_runtime_1.jsx)("path", { opacity: "0.25", d: "M1 0V60", stroke: "#182931" }) })] }), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailMessageColor, fontSize: '12px', fontWeight: 700 }, children: "Offer Complete" }), (0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailMessageColor, fontSize: '12px', fontWeight: 400 }, children: (element.CertificateCompletedOn) ? element.CertificateCompletedOn.split(' ')[0] : "" })] })] }), (0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex' }, children: [(0, jsx_runtime_1.jsxs)("div", { style: { textAlign: 'center', width: '24px' }, children: [(0, jsx_runtime_1.jsx)("svg", { style: { display: 'block' }, xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: (0, jsx_runtime_1.jsx)("circle", { cx: "8", cy: "8", r: "4", fill: "#7E7DEB" }) }), (0, jsx_runtime_1.jsx)("svg", { style: { display: 'block', marginLeft: '6.75px' }, xmlns: "http://www.w3.org/2000/svg", width: "2", height: "60", viewBox: "0 0 2 60", fill: "none", children: (0, jsx_runtime_1.jsx)("path", { opacity: "0.25", d: "M1 0V60", stroke: "#182931" }) })] }), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsxs)("div", { style: { color: themeInfo.EmailMessageColor, fontSize: '12px', fontWeight: 700 }, children: ["Remote Inspection ", (0, jsx_runtime_1.jsx)("span", { style: { color: themeInfo.EmailMessageColor, fontSize: '12px', fontWeight: 400, opacity: 0.5 }, children: "10 min" })] }), (0, jsx_runtime_1.jsx)("a", { target: "_blank", href: element.InspectionUrl, style: { margin: '5px 0px', background: themeInfo.EmailButtonColor, borderColor: themeInfo.EmailButtonColor, color: themeInfo.EmailButtonTextColor, borderRadius: '4px', padding: '16px 32px', fontSize: '12px', fontWeight: 700, letterSpacing: '3px', textTransform: 'uppercase' }, className: "btn btn-primary", children: "Start Inspection" })] })] }), (0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex' }, children: [(0, jsx_runtime_1.jsx)("div", { style: { textAlign: 'center', width: '24px' }, children: (0, jsx_runtime_1.jsx)("svg", { style: { display: 'block' }, xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: (0, jsx_runtime_1.jsx)("circle", { opacity: "0.25", cx: "8", cy: "8", r: "3.5", stroke: "#182931" }) }) }), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailMessageColor, fontSize: '12px', fontWeight: 700, opacity: 0.5 }, children: "Arrange Final Steps" }), (0, jsx_runtime_1.jsxs)("div", { style: { color: themeInfo.EmailMessageColor, fontSize: '12px', fontWeight: 400, opacity: 0.5 }, children: ["with ", dealerElement.Name, " and get paid"] })] })] })] })] }), (0, jsx_runtime_1.jsx)("div", { style: { background: themeInfo.CtaFooterColor, padding: '16px 27px', width: '100%' }, children: (0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', alignItems: 'center', justifyContent: 'space-between' }, children: [(0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailFooterTextColor, fontSize: '14px', fontWeight: 700 }, children: dealerElement.Name }), (0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailFooterTextColor, fontSize: '12px', fontWeight: 400 }, children: dealerElement.Phone }), (0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailFooterTextColor, fontSize: '12px', fontWeight: 400 }, children: dealerElement.MarketcheckCode })] }), (0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)("div", { className: "footer-location-icon", style: { color: themeInfo.EmailFooterTextColor, fontSize: '14px', fontWeight: 700 }, children: "AutoAcquireAI" }) })] }) }), (0, jsx_runtime_1.jsx)("div", { style: { color: themeInfo.EmailMessageColor, fontSize: '12px', fontWeight: 400, opacity: 0.5, padding: '8px' }, children: "All Instant Cash Offers expire after 7 days. Offers are based on general conditions and mileages. By completing the website form with additional details and completing the remote inspection with the link included, may increase or decrease these values. We reserve the right to complete a final physical inspection of the vehicle, as part of our process. Seller must have possession of the vehicle and legal ability to transfer title or authorize loan/lease payoff." })] }) : null] })] }));
};
exports.default = AiCertificate;
{
"name": "@iofferio/certificate",
"version": "1.0.29",
"version": "1.0.30",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",