'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-8fdcf600.js');
require('./common-05944c8f.js');
require('./Blockquote-a236c9bb.js');
const Col = require('./Col-4b7dad54.js');
const Grid = require('./Grid-d2a562bf.js');
require('./IntersectionHelper-d93808bb.js');
const Heading = require('./Heading-f76571f5.js');
const Paragraph = require('./Paragraph-23692648.js');
const ResponsiveContainer = require('./ResponsiveContainer-6ac6f11b.js');
const ThemeProvider = require('./ThemeProvider-e82dd2fd.js');
require('./_commonjsHelpers-ac2d0785.js');
const PrismicResponsiveImage = require('./PrismicResponsiveImage-6b1f6428.js');
const slugify = require('./slugify-489114d6.js');
const PrismicContent = require('./PrismicContent-de5767e2.js');
const prismic = require('./prismic-17cdb224.js');

const resourceCaseStudyCss = ".sc-resource-case-study-h{padding-bottom:76px}.heading-group.sc-resource-case-study img.sc-resource-case-study{max-width:100%;-webkit-margin-after:var(--space-11);margin-block-end:var(--space-11)}.heading-group.sc-resource-case-study .ui-heading-1.sc-resource-case-study{-webkit-margin-before:var(--space-10);margin-block-start:var(--space-10);-webkit-margin-after:var(--space-5);margin-block-end:var(--space-5)}.heading-group.sc-resource-case-study .ui-paragraph.sc-resource-case-study{color:#73849A;-webkit-margin-after:var(--space-6);margin-block-end:var(--space-6)}resource-toc.sc-resource-case-study{-webkit-margin-before:var(--space-10);margin-block-start:var(--space-10)}resource-author-item.sc-resource-case-study{-webkit-margin-before:var(--space-3);margin-block-start:var(--space-3);-webkit-margin-after:var(--space-3);margin-block-end:var(--space-3)}resource-author-item.sc-resource-case-study:last-of-type{-webkit-margin-after:73px;margin-block-end:73px}article.sc-resource-case-study .ui-heading-2.sc-resource-case-study{-webkit-margin-before:var(--space-9);margin-block-start:var(--space-9);-webkit-margin-after:var(--space-3);margin-block-end:var(--space-3)}article.sc-resource-case-study .ui-heading-3.sc-resource-case-study{-webkit-margin-before:var(--space-8);margin-block-start:var(--space-8);-webkit-margin-after:var(--space-3);margin-block-end:var(--space-3)}article.sc-resource-case-study .ui-heading-4.sc-resource-case-study{-webkit-margin-before:var(--space-3);margin-block-start:var(--space-3);-webkit-margin-after:var(--space-2);margin-block-end:var(--space-2)}article.sc-resource-case-study .ui-heading.sc-resource-case-study:first-child{-webkit-margin-before:0;margin-block-start:0}article.sc-resource-case-study p.sc-resource-case-study{font-size:16px;letter-spacing:-0.011em;line-height:1.75em;margin-bottom:1.8em;color:var(--c-indigo-80)}article.sc-resource-case-study ul.sc-resource-case-study li.sc-resource-case-study{list-style-type:none}article.sc-resource-case-study ul.sc-resource-case-study li.sc-resource-case-study::before{content:\"\";display:inline-block;width:6px;height:6px;background:#b2becd;position:absolute;top:12px;left:0;border-radius:8px}article.sc-resource-case-study ol.sc-resource-case-study li.sc-resource-case-study{list-style-type:counter-style}article.sc-resource-case-study ul.sc-resource-case-study,article.sc-resource-case-study ol.sc-resource-case-study{font-size:16px;letter-spacing:-0.011em;line-height:1.75em;margin-bottom:1.8em;color:var(--c-indigo-80)}article.sc-resource-case-study li.sc-resource-case-study{position:relative;padding-left:18px}article.sc-resource-case-study table.sc-resource-case-study{overflow-x:auto;margin-right:-15px;padding-right:15px;-webkit-box-sizing:content-box;box-sizing:content-box;font-size:13px}article.sc-resource-case-study table.sc-resource-case-study td.sc-resource-case-study,article.sc-resource-case-study table.sc-resource-case-study th.sc-resource-case-study{min-width:120px;padding-right:12px}article.sc-resource-case-study table.sc-resource-case-study tbody.sc-resource-case-study tr.sc-resource-case-study td.sc-resource-case-study{border-top-color:#DEE3EA}article.sc-resource-case-study table.sc-resource-case-study>thead.sc-resource-case-study>tr.sc-resource-case-study>th.sc-resource-case-study{border-bottom-color:#E9EDF3;font-weight:600}";

const ResourceCaseStudy = class {
    constructor(hostRef) {
        index.registerInstance(this, hostRef);
    }
    render() {
        const resource = this.prismicData;
        return [
            // <ResourcesSubNav resourceItem={resource} />,
            index.h("div", { class: "resource-article resource-case-study" }, index.h(ThemeProvider.ThemeProvider, { type: "editorial" }, index.h(ResponsiveContainer.ResponsiveContainer, null, index.h(Grid.Grid, null, index.h(Col.Col, { md: 3, sm: 3 }, index.h("resource-toc", { titleNames: prismic.prismicResourceToToc(this.prismicData) })), index.h(Col.Col, { md: 9, sm: 9, xs: 12, cols: 12 }, index.h("div", { class: "resource-article-content" }, index.h("div", { class: "heading-group" }, index.h(Heading.Heading, { level: 1, id: slugify.slugify(resource.title) }, resource.title), index.h(Paragraph.Paragraph, { level: 2 }, resource.description), index.h(PrismicResponsiveImage.PrismicResponsiveImage, { image: resource.doc.data.hero_image, width: "800", height: "420" })), index.h("article", null, index.h(PrismicContent.PrismicContent, { content: resource.doc.data.body })))))))),
        ];
    }
    get el() { return index.getElement(this); }
};
ResourceCaseStudy.style = resourceCaseStudyCss;

exports.resource_case_study = ResourceCaseStudy;
