import { r as registerInstance, h } from './index-dd1fc9a4.js';
import './common-ecdc423b.js';
import { C as Col } from './Col-9a440e31.js';
import { G as Grid } from './Grid-2b4d32f0.js';
import './IntersectionHelper-2c725527.js';
import { H as Heading } from './Heading-224a452f.js';
import './Paragraph-783c7e7c.js';
import { R as ResponsiveContainer } from './ResponsiveContainer-f8909967.js';
import { T as ThemeProvider } from './ThemeProvider-2443ac46.js';
import './_commonjsHelpers-1d681858.js';
import { b as PrismicResponsiveImage, P as PrismicRichText } from './PrismicResponsiveImage-274c411c.js';
import './slugify-3ed342e5.js';
var resourceWhitepaperCss = "@charset \"UTF-8\";.resource-whitepaper__cta.sc-resource-whitepaper{background:-webkit-gradient(linear, left top, left bottom, from(#fff), to(#f6f8fc));background:linear-gradient(to bottom, #fff, #f6f8fc);border-bottom:1px solid #e5e7eb;margin-top:-78px;padding-top:78px}.resource-whitepaper__hgroup.sc-resource-whitepaper{margin:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;text-align:center;padding-top:var(--space-9);padding-bottom:var(--space-9);max-width:840px;text-align:center}.resource-whitepaper__hgroup.sc-resource-whitepaper .ui-heading-6.sc-resource-whitepaper{margin-bottom:var(--space-2)}.resource-whitepaper__tagline.sc-resource-whitepaper{max-width:800px;color:var(--c-carbon-60);letter-spacing:-0.02em;font-weight:600;line-height:32px;font-size:18px}.resource-whitepaper__content.sc-resource-whitepaper{padding-top:96px}.resource-whitepaper__content.sc-resource-whitepaper img.sc-resource-whitepaper{max-width:100%}.resource-whitepaper__description.sc-resource-whitepaper p.sc-resource-whitepaper:first-child{color:#6e7f99;font-size:18px;line-height:28px}.resource-whitepaper__description.sc-resource-whitepaper ul.sc-resource-whitepaper{list-style-type:none;padding:0;margin:16px 0 32px;line-height:20px}.resource-whitepaper__description.sc-resource-whitepaper li.sc-resource-whitepaper{padding-left:20px;position:relative}.resource-whitepaper__description.sc-resource-whitepaper li.sc-resource-whitepaper:before{content:\"•\";margin-right:10px;opacity:0.8;position:absolute;left:0}";
var ResourceWhitepaper = /** @class */ (function () {
    function ResourceWhitepaper(hostRef) {
        registerInstance(this, hostRef);
    }
    ResourceWhitepaper.prototype.componentWillLoad = function () {
        console.log('rendered whitepaper');
    };
    ResourceWhitepaper.prototype.render = function () {
        var resource = this.prismicData;
        return [
            // <ResourcesSubNav resourceItem={resource} />,
            h(ThemeProvider, { type: "editorial" }, h("div", { class: "resource-whitepaper" }, h("div", { class: "resource-whitepaper__cta" }, h(ResponsiveContainer, null, h("hgroup", { class: "resource-whitepaper__hgroup" }, h(Heading, { level: 6 }, "Whitepaper"), h(Heading, { level: 1 }, resource.title), h("p", { class: "resource-whitepaper__tagline" }, resource.doc.data.tagline)))), h(ResponsiveContainer, null, h(Grid, { class: "resource-whitepaper__content" }, h(Col, { cols: 12, xs: 12, sm: 6, md: 6 }, h(PrismicResponsiveImage, { image: resource.doc.data.cover_image, class: "resource-whitepaper__illustration" }), h(PrismicRichText, { richText: resource.doc.data.description, class: "resource-whitepaper__description" })), h(Col, { cols: 12, xs: 12, sm: 6, md: 6 }, h("hubspot-form", { formId: resource.doc.data.hubspot_form_id }))))))
        ];
    };
    return ResourceWhitepaper;
}());
ResourceWhitepaper.style = resourceWhitepaperCss;
export { ResourceWhitepaper as resource_whitepaper };
