{"version":3,"file":"PostTemplateBlockShell.B_p4LzJS.mjs","names":[],"sources":["https:/framerusercontent.com/modules/8Pcl8jk9AxePch5CF79b/1ZWZ0uzAqqsbfjIVhFXm/PostTemplateBlockShell.js"],"sourcesContent":["// @ts-nocheck\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import PostTemplate from\"https://framerusercontent.com/modules/aq2qlVHU8kpMEZSIuFq4/iCE4mmKTsO1ngnViNYLg/PostTemplate.js\";const KIT_FORM_URL=\"https://connection-codes.kit.com/de7bcd3068\";const EMOTIONS=[\"Joy\",\"Anger\",\"Shame\",\"Guilt\",\"Fear\",\"Lonely\",\"Sad\",\"Hurt\"];const VARIANTS=[\"rail\",\"flood\",\"tint\"];function TemplateActions(props){const archiveHref=props.archiveHref||\"/field-notes-archive\";const exampleHref=props.exampleHref||\"/posts/what-happens-at-43-feet\";return /*#__PURE__*/_jsxs(\"div\",{className:\"ptbs-actions\",\"aria-label\":\"Template preview actions\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"ptbs-actions__label\",children:\"Template preview\"}),/*#__PURE__*/_jsxs(\"nav\",{className:\"ptbs-actions__links\",\"aria-label\":\"Template preview links\",children:[/*#__PURE__*/_jsx(\"a\",{href:archiveHref,children:\"Archive\"}),/*#__PURE__*/_jsx(\"a\",{href:exampleHref,children:\"Example post\"})]})]});}/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function PostTemplateBlockShell(props){const showHeader=props.showHeader!==false;const showFooter=props.showFooter!==false;const postProps={...props,subscribeHref:props.subscribeHref||KIT_FORM_URL,author:props.author||props.authorName,issueNumber:props.issueNumber||props.issue,issueMonth:props.issueMonth};return /*#__PURE__*/_jsxs(\"div\",{className:`post-template-block-shell ${showHeader?\"\":\"hide-local-header\"} ${showFooter?\"\":\"hide-local-footer\"}`,style:{width:\"100%\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .post-template-block-shell.hide-local-header .cc-nav{display:none!important}\n                .post-template-block-shell.hide-local-footer .cc-footer{display:none!important}\n                .post-template-block-shell .ptbs-actions{\n                    width:100%;\n                    display:flex;\n                    align-items:center;\n                    justify-content:space-between;\n                    gap:16px;\n                    padding:14px clamp(20px,4vw,56px);\n                    border-bottom:1px solid rgba(31,30,27,.12);\n                    background:#f9f4eb;\n                    color:#1f1e1b;\n                    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,\"Segoe UI\",sans-serif;\n                }\n                .post-template-block-shell .ptbs-actions__label{\n                    font-size:12px;\n                    line-height:1;\n                    letter-spacing:.08em;\n                    text-transform:uppercase;\n                    opacity:.68;\n                    white-space:nowrap;\n                }\n                .post-template-block-shell .ptbs-actions__links{\n                    display:flex;\n                    align-items:center;\n                    justify-content:flex-end;\n                    gap:8px;\n                    flex-wrap:wrap;\n                }\n                .post-template-block-shell .ptbs-actions__links a{\n                    display:inline-flex;\n                    align-items:center;\n                    min-height:32px;\n                    padding:8px 12px;\n                    border:1px solid rgba(31,30,27,.18);\n                    border-radius:999px;\n                    color:#1f1e1b;\n                    text-decoration:none;\n                    font-size:13px;\n                    line-height:1;\n                    transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;\n                }\n                .post-template-block-shell .ptbs-actions__links a:hover{\n                    background:#1f1e1b;\n                    border-color:#1f1e1b;\n                    color:#f9f4eb;\n                    transform:translateY(-1px);\n                }\n                @media (max-width:640px){\n                    .post-template-block-shell .ptbs-actions{align-items:flex-start;flex-direction:column;padding:14px 18px}\n                    .post-template-block-shell .ptbs-actions__links{justify-content:flex-start}\n                    .post-template-block-shell .ptbs-actions__links a{min-height:34px}\n                }\n            `}),props.showTemplateActions&&/*#__PURE__*/_jsx(TemplateActions,{...props}),/*#__PURE__*/_jsx(PostTemplate,{...postProps})]});}addPropertyControls(PostTemplateBlockShell,{variant:{type:ControlType.Enum,title:\"Variant\",options:VARIANTS,defaultValue:\"rail\"},emotion:{type:ControlType.Enum,title:\"Emotion\",options:EMOTIONS,defaultValue:\"Anger\"},category:{type:ControlType.String,title:\"Category\",defaultValue:\"Emotion\"},issueNumber:{type:ControlType.String,title:\"Issue #\",defaultValue:\"14\"},issueMonth:{type:ControlType.String,title:\"Issue Month\",defaultValue:\"April 2026\"},readTime:{type:ControlType.String,title:\"Read Time\",defaultValue:\"8\"},date:{type:ControlType.String,title:\"Date\",defaultValue:\"April 14, 2026\"},title:{type:ControlType.String,title:\"Title\",displayTextArea:true,defaultValue:\"The quiet weight of anger.\"},dek:{type:ControlType.String,title:\"Dek\",displayTextArea:true,defaultValue:\"A field note for noticing what your anger is protecting before it takes the room.\"},coverImage:{type:ControlType.Image,title:\"Cover\"},coverAlt:{type:ControlType.String,title:\"Cover Alt\",defaultValue:\"Field Notes post image\"},author:{type:ControlType.String,title:\"Author\",defaultValue:\"Dr. Glenn Hill\"},authorRole:{type:ControlType.String,title:\"Role\",defaultValue:\"Field Notes\"},authorBio:{type:ControlType.String,title:\"Bio\",displayTextArea:true,defaultValue:\"Helping humans feel more human.\"},body:{type:ControlType.String,title:\"Body\",displayTextArea:true,defaultValue:\"Anger is often the body making a boundary before the mouth has found the words.\\n\\nStart by asking what it is trying to protect.\"},subscribeHref:{type:ControlType.Link,title:\"Subscribe\",defaultValue:KIT_FORM_URL},footerTagline:{type:ControlType.String,title:\"Footer\",defaultValue:\"Helping humans feel more human.\"},showHeader:{type:ControlType.Boolean,title:\"Local Header\",defaultValue:true},showFooter:{type:ControlType.Boolean,title:\"Local Footer\",defaultValue:true},showEmotionPicker:{type:ControlType.Boolean,title:\"Emotion Nav\",defaultValue:true},showRelated:{type:ControlType.Boolean,title:\"Related\",defaultValue:true},showNewsletter:{type:ControlType.Boolean,title:\"Newsletter\",defaultValue:true},showTemplateActions:{type:ControlType.Boolean,title:\"Preview Links\",defaultValue:false},archiveHref:{type:ControlType.Link,title:\"Archive URL\",defaultValue:\"/field-notes-archive\",hidden:props=>!props.showTemplateActions},exampleHref:{type:ControlType.Link,title:\"Example URL\",defaultValue:\"/posts/what-happens-at-43-feet\",hidden:props=>!props.showTemplateActions}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PostTemplateBlockShell\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"qNAC2Z,SAAS,EAAgB,EAAM,CAAC,IAAM,EAAY,EAAM,aAAa,uBAA6B,EAAY,EAAM,aAAa,iCAAiC,OAAoB,EAAM,MAAM,CAAC,UAAU,eAAe,aAAa,2BAA2B,SAAS,CAAc,EAAK,MAAM,CAAC,UAAU,sBAAsB,SAAS,kBAAkB,CAAC,EAAe,EAAM,MAAM,CAAC,UAAU,sBAAsB,aAAa,yBAAyB,SAAS,CAAc,EAAK,IAAI,CAAC,KAAK,EAAY,SAAS,SAAS,CAAC,EAAe,EAAK,IAAI,CAAC,KAAK,EAAY,SAAS,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CAG5+B,SAAwB,EAAuB,EAAM,CAAC,IAAM,EAAW,EAAM,aAAa,GAAY,EAAW,EAAM,aAAa,GAAY,EAAU,CAAC,GAAG,EAAM,cAAc,EAAM,eAAe,EAAa,OAAO,EAAM,QAAQ,EAAM,WAAW,YAAY,EAAM,aAAa,EAAM,MAAM,WAAW,EAAM,UAAU,EAAE,OAAoB,EAAM,MAAM,CAAC,UAAU,6BAA6B,EAAW,GAAG,oBAAoB,GAAG,EAAW,GAAG,sBAAsB,MAAM,CAAC,MAAM,MAAM,EAAE,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAsD5gB,CAAC,EAAE,EAAM,qBAAkC,EAAK,EAAgB,CAAC,GAAG,CAAK,CAAC,EAAe,E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