{"version":3,"file":"PhotoCard.BNkippUT.mjs","names":["__esmMin","init_jsx_runtime","c","p","init_framer_DKtAEkcX","addPropertyControls","PhotoCard","image","props","title","credit","creditUrl","flash","foot","right","contain","wrap","BORDER","NAVY","TEXT","LINK","alt","html","__FramerMetadata__","init_PhotoCard","ControlType","\"exports\"","\"default\"","\"type\"","\"name\"","\"slots\"","\"annotations\"","\"framerSupportedLayoutWidth\"","\"framerContractVersion\"","\"framerSupportedLayoutHeight\"","\"__FramerMetadata__\""],"sources":["https:/framerusercontent.com/modules/18O2zT7NstYWA0nAK5Oi/36QgKJ4HG6SGPD3dcyqY/PhotoCard.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";// Matches the guide template's \"Box Card\" (image left or right, text beside it; stacked on phones)\nconst BORDER=\"rgb(190, 214, 236)\";const NAVY=\"rgb(30, 70, 115)\";const TEXT=\"rgb(51, 55, 55)\";const LINK=\"#1e548c\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function PhotoCard(props){// Framer can't store an empty control, so a single space means \"none\"\nconst image=(props.image||\"\").trim();const title=(props.title||\"\").trim();const credit=(props.credit||\"\").trim();const creditUrl=(props.creditUrl||\"\").trim();const flash=(props.flash||\"\").trim();const foot=(props.footHTML||\"\").trim();const{alt,html}=props;const right=String(props.side||\"\").toLowerCase()===\"right\";const contain=String(props.fit||\"\").toLowerCase()===\"contain\";// \"wrap\": normal-sized photo (4:3) floated in the text, text wraps round it (shopping article 2026-11-25)\nconst wrap=String(props.fit||\"\").toLowerCase()===\"wrap\"&&!!image;return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",boxSizing:\"border-box\",margin:\"0 0 12px\",containerType:\"inline-size\",containerName:\"bfkcard\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`.bfk-card{display:flex;flex-direction:row;background:#fff;border:1px solid ${BORDER};border-radius:16px;overflow:hidden;font-family:Raleway,sans-serif}\n.bfk-card.bfk-right{flex-direction:row-reverse}\n.bfk-card.bfk-has-foot{flex-wrap:wrap}.bfk-card-foot{flex:0 0 100%;box-sizing:border-box;padding:0 24px 22px}.bfk-card.bfk-foot-in-pic .bfk-card-pic{width:min(360px,50%);flex:0 0 min(360px,50%);padding:27px 0 16px 24px;align-items:stretch}.bfk-card.bfk-foot-in-pic .bfk-card-pic .bfk-pic-in{width:100%}.bfk-card.bfk-foot-in-pic .bfk-pic-foot{width:100%;margin-top:22px;font-size:15px;line-height:1.5}.bfk-card.bfk-foot-in-pic .bfk-pic-foot{display:none}@container bfkcard (min-width:561px){.bfk-card.bfk-foot-in-pic .bfk-card-foot{padding:0 24px 14px;font-size:14px}.bfk-card.bfk-has-foot.bfk-foot-in-pic > .bfk-card-body{padding-bottom:8px}.bfk-card.bfk-has-foot.bfk-foot-in-pic > .bfk-card-pic{padding-bottom:8px}.bfk-card.bfk-has-foot.bfk-foot-in-pic .bfk-card-body li:last-child{margin-bottom:0}.bfk-card.bfk-foot-in-pic .bfk-card-pic{padding-bottom:12px}.bfk-card.bfk-foot-in-pic .bfk-card-body{padding-bottom:12px}}\n.bfk-card-pic{position:relative;width:300px;flex:0 0 300px;min-height:160px}\n.bfk-card-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}\n.bfk-card-pic.bfk-contain{background:#fff;display:flex;align-self:stretch;flex-direction:column;align-items:center;justify-content:flex-start;height:auto;min-height:0;padding:27px 0 22px;box-sizing:border-box}.bfk-pic-in{display:contents}.bfk-card-pic.bfk-contain .bfk-pic-in{display:block;position:relative;width:80%}.bfk-card-pic.bfk-contain .bfk-card-flash{left:-10px;top:-14px}.bfk-card-pic.bfk-contain .bfk-card-img{position:static;width:100%;height:auto;object-fit:contain;border-radius:0;box-shadow:none;background:none;border:0}\n.bfk-card-flash{position:absolute;left:16px;top:16px;z-index:1;background:rgb(214, 48, 49);color:#fff;font-size:14px;font-weight:700;line-height:1.3;padding:5px 11px;border-radius:50px;white-space:nowrap}\n.bfk-card-credit{position:absolute;right:0;bottom:0;padding:3px 8px;font-size:11px;line-height:1.3;color:#fff;background:rgba(0,0,0,0.45);border-top-left-radius:8px;text-decoration:none}\n.bfk-card-body{padding:22px 24px 24px;}.bfk-card.bfk-foot-in-pic .bfk-card-body{padding-bottom:16px}.bfk-card-body{display:flex;flex-direction:column;gap:10px;flex:1;min-width:0}\n.bfk-card-body h3{margin:0;font-size:24px;line-height:1.25;font-weight:700;color:${NAVY}}\n.bfk-card-text{font-size:16px;line-height:1.6;color:${TEXT}}\n.bfk-card-text p{margin:0 0 12px}.bfk-card-text p:last-child{margin-bottom:0}\n.bfk-card-text ul{margin:0 0 12px;padding-left:18px}.bfk-card-text ul:last-child{margin-bottom:0}.bfk-card-text li{margin:0 0 6px}\n.bfk-card-text strong{font-weight:700;color:${NAVY}}\n.bfk-card-text a{color:${LINK};text-decoration:none}\n.bfk-card-text a.bfk-pill{display:inline-block;background:rgb(234, 242, 250);color:${LINK};font-weight:600;font-size:15px;line-height:1.3;padding:7px 14px;border-radius:999px;text-decoration:none}.bfk-card-text a.bfk-pill:hover{background:rgb(214, 230, 246);text-decoration:none}\n.bfk-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:0 28px;margin:0 0 12px}.bfk-cols:last-child{margin-bottom:0}.bfk-cols ul{margin:0}.bfk-card-text a:hover{text-decoration:underline}\n.bfk-card-text table{width:100%;border-collapse:collapse;margin:0 0 16px;font-size:16px}.bfk-card-text th,.bfk-card-text td{text-align:left;padding:9px 12px;border-bottom:1px solid ${BORDER};vertical-align:top}.bfk-card-text th{color:${NAVY};font-weight:700;background:rgb(240,246,252)}.bfk-card-text td:first-child{font-weight:600;color:${NAVY};width:45%}.bfk-card-text tr:last-child td{border-bottom:0}.bfk-card-text .bfk-small{font-size:14px}\n.bfk-tables{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;margin:0 0 16px}.bfk-tables table{margin:0;font-size:15px}.bfk-tables td:first-child{width:55%}\n.bfk-card-text h3{margin:22px 0 10px;font-size:20px;line-height:1.3;font-weight:700;color:${NAVY}}.bfk-card-text h3:first-child{margin-top:0}\n.bfk-card-text .bfk-deal{display:inline-block;background:rgb(214,48,49);color:#fff;font-size:12px;font-weight:700;line-height:1.4;border-radius:999px;padding:2px 9px;margin:5px 0 0}\n.bfk-card-text h3[id]{scroll-margin-top:110px}\n.bfk-card-text details.bfk-drop{border:1px solid rgb(250, 232, 176);border-radius:14px;margin:14px 0 0;background:#fff}.bfk-card-text details.bfk-drop+details.bfk-drop{margin-top:10px}.bfk-card-text details.bfk-drop summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;font-size:18px;font-weight:700;line-height:1.35;color:${NAVY}}.bfk-card-text details.bfk-drop summary::-webkit-details-marker{display:none}.bfk-card-text details.bfk-drop summary:after{content:\"+\";color:rgb(242, 153, 52);font-size:24px;font-weight:400;line-height:1;transition:transform .2s}.bfk-card-text details.bfk-drop[open] summary:after{transform:rotate(45deg)}.bfk-card-text .bfk-drop-a{padding:0 16px 14px}\n@container bfkcard (max-width:560px){.bfk-cols{grid-template-columns:1fr}.bfk-tables{grid-template-columns:1fr}.bfk-tables table+table thead{display:none}.bfk-tables table+table tr:first-child td{border-top:1px solid ${BORDER}}.bfk-card-text th,.bfk-card-text td{padding:8px 8px;font-size:15px}.bfk-card,.bfk-card.bfk-right{flex-direction:column}.bfk-card-pic{width:100%;flex:none;min-height:0;height:220px}.bfk-card.bfk-foot-in-pic .bfk-pic-foot{display:none}.bfk-card.bfk-foot-in-pic .bfk-card-foot{display:block}.bfk-card.bfk-foot-in-pic .bfk-card-pic{width:100%;flex:none;padding:24px 0;align-items:center}.bfk-card.bfk-foot-in-pic .bfk-card-pic .bfk-pic-in{width:80%}}\n.bfk-card.bfk-wrap{display:block}.bfk-wrap .bfk-card-body{display:block}.bfk-wrap .bfk-card-body h3{margin:0 0 14px}.bfk-wrap .bfk-card-body:after{content:\"\";display:block;clear:both}.bfk-wrap-pic{float:left;width:300px;max-width:45%;height:229px;margin:0 24px 0 0;border-radius:12px;overflow:hidden;position:relative}.bfk-wrap-pic.bfk-wrap-r{float:right;margin:0 0 0 24px}.bfk-wrap .bfk-card-text p{margin:0 0 12px}.bfk-wrap .bfk-card-text p:last-child{margin-bottom:0}.bfk-wrap-pic img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;display:block}\n@container bfkcard (max-width:560px){.bfk-wrap-pic,.bfk-wrap-pic.bfk-wrap-r{float:none;width:100%;max-width:none;height:220px;margin:0 0 14px}.bfk-wrap .bfk-card-text p{margin:0 0 12px}}\n/* bfk-phone18: phone body text 18px like other guide text (2026-11-14) */@media (max-width:809px){.bfk-card-text{font-size:18px}.bfk-card-text table,.bfk-tables table{font-size:16px}}`}),wrap?/*#__PURE__*/_jsx(\"div\",{className:\"bfk-card bfk-wrap\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"bfk-card-body\",children:[title?/*#__PURE__*/_jsx(\"h3\",{children:title}):null,/*#__PURE__*/_jsx(\"div\",{className:right?\"bfk-wrap-pic bfk-wrap-r\":\"bfk-wrap-pic\",children:/*#__PURE__*/_jsx(\"img\",{className:\"bfk-wrap-img\",src:image,alt:alt||title,loading:\"lazy\"})}),/*#__PURE__*/_jsx(\"div\",{className:\"bfk-card-text\",dangerouslySetInnerHTML:{__html:html||\"\"}})]})}):/*#__PURE__*/_jsxs(\"div\",{className:\"bfk-card\"+(right?\" bfk-right\":\"\")+(foot?\" bfk-has-foot\":\"\")+(foot&&contain&&image?\" bfk-foot-in-pic\":\"\"),children:[image?/*#__PURE__*/_jsxs(\"div\",{className:contain?\"bfk-card-pic bfk-contain\":\"bfk-card-pic\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"bfk-pic-in\",children:[/*#__PURE__*/_jsx(\"img\",{className:\"bfk-card-img\",src:image,alt:alt||title,loading:\"lazy\"}),flash?/*#__PURE__*/_jsx(\"span\",{className:\"bfk-card-flash\",children:flash}):null]}),foot&&contain?/*#__PURE__*/_jsx(\"div\",{className:\"bfk-card-text bfk-pic-foot\",dangerouslySetInnerHTML:{__html:foot}}):null,credit?creditUrl?/*#__PURE__*/_jsx(\"a\",{className:\"bfk-card-credit\",href:creditUrl,target:\"_blank\",rel:\"noopener\",children:credit}):/*#__PURE__*/_jsx(\"span\",{className:\"bfk-card-credit\",children:credit}):null]}):null,/*#__PURE__*/_jsxs(\"div\",{className:\"bfk-card-body\",children:[title?/*#__PURE__*/_jsx(\"h3\",{children:title}):null,/*#__PURE__*/_jsx(\"div\",{className:\"bfk-card-text\",dangerouslySetInnerHTML:{__html:html||\"\"}})]}),foot?/*#__PURE__*/_jsx(\"div\",{className:\"bfk-card-text bfk-card-foot\",dangerouslySetInnerHTML:{__html:foot}}):null]})]});}addPropertyControls(PhotoCard,{image:{type:ControlType.String,title:\"Image URL\"},alt:{type:ControlType.String,title:\"Alt text\"},title:{type:ControlType.String,title:\"Title\"},html:{type:ControlType.String,title:\"Text HTML\",displayTextArea:true},side:{type:ControlType.Enum,title:\"Image side\",options:[\"left\",\"right\"],optionTitles:[\"Left\",\"Right\"],defaultValue:\"left\"},credit:{type:ControlType.String,title:\"Photo credit\"},creditUrl:{type:ControlType.String,title:\"Credit link\"},flash:{type:ControlType.String,title:\"Flash\"},footHTML:{type:ControlType.String,title:\"Bottom line HTML\",displayTextArea:true},fit:{type:ControlType.Enum,title:\"Image fit\",options:[\"cover\",\"contain\",\"wrap\"],optionTitles:[\"Fill (crop)\",\"Whole image\",\"Text wraps round\"],defaultValue:\"cover\"}})// resaved on main 2026-11-15 (card guides tidy merge)\n;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PhotoCard\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./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