1import{aX as r,F as s,g as u,e as c,u as h,an as j}from"./vendor-DacH4Axe.js";import{ak as d,ap as w,R as v,j as R,A as b,aa as i,O as x,t as q}from"./common-BQRL9VEI.js";import"./react-hook-form-DKq7G64E.js";import"./devlop-Cl3hj7Sz.js";import"./react-markdown-C0K8dZ-l.js";import"./micromark-util-sanitize-uri-Dr-249hl.js";import"./micromark-util-character-Crq1AjvP.js";import"./unist-util-visit-BEqpjG-T.js";import"./unist-util-visit-parents-BzuIhZFT.js";import"./unist-util-is-D9KQvrmg.js";import"./micromark-util-decode-numeric-character-reference-CNs1qBpV.js";import"./micromark-util-decode-string-strjl-tx.js";import"./decode-named-character-reference-C3-224fz.js";import"./micromark-util-normalize-identifier-C9ANKk3v.js";import"./micromark-util-subtokenize-BC4BSQ9J.js";import"./micromark-util-chunked-DrRIdSP-.js";import"./micromark-util-combine-extensions-Bka6Sc1c.js";import"./micromark-factory-space-BWWALS__.js";import"./micromark-core-commonmark-3inbqGMm.js";import"./micromark-util-classify-character-CmoJ_zKU.js";import"./micromark-util-resolve-all-PQCKh0dx.js";import"./micromark-factory-destination-C2qZjv7H.js";import"./micromark-factory-label-Bolj5dRz.js";import"./micromark-factory-title-Cioy9Ajn.js";import"./micromark-factory-whitespace-TGriqLdU.js";import"./mdast-util-to-string-C_aolqmU.js";import"./remark-gfm-CfmVxcyc.js";const y=({fields:t,rendering:l})=>{var a,o,n,m,p;const{sitecoreContext:e}=w(),g=e.custom.settings.isRtl;return t?r.jsx(v,{children:r.jsx(R,{children:r.jsxs(s,{flexDirection:g?"row-reverse":"row",justifyContent:"center",wrap:["wrap-reverse",null,"nowrap"],gap:["0",null,"5"],bg:["gradients.imageQuoteMobile",null,"gradients.imageQuoteDesktop"],color:"primary.white",borderRadius:"lg",borderBottomRightRadius:"0",overflow:"hidden",children:[(((o=(a=t==null?void 0:t.image)==null?void 0:a.value)==null?void 0:o.src)||e.pageEditing)&&r.jsx(u,{flexBasis:["100%",null,"40%"],w:["100%",null,"40%"],alignSelf:"flex-end",children:r.jsx(c,{ratio:1,minWidth:"100%",children:r.jsx(b,{fields:t,fieldName:"image",itemId:l.dataSource,sizes:"(min-width: 1760px) 542px, (min-width: 768px) 482px, 100vw",srcSet:[i.imageQuote.square.sm,i.imageQuote.square.md,i.imageQuote.square.lg],sx:{maxWidth:"100%",minWidth:"100%"}})})}),r.jsxs(s,{flexFlow:"column",gap:"8",alignContent:"space-around",justifyContent:"center",flexBasis:["100%",null,"60%"],w:["100%",null,"60%"],px:["10",null,"20"],py:["12",null,"7.25rem"],children:[(((n=t==null?void 0:t.quote)==null?void 0:n.value)||e.pageEditing)&&r.jsx(h,{as:"h3",variant:"quote",children:r.jsx(x,{field:t.quote})}),(((m=t==null?void 0:t.caption)==null?void 0:m.value)||e.pageEditing)&&r.jsx(j,{variant:"byline",children:r.jsx(x,{field:t.caption})}),(((p=t==null?void 0:t.link)==null?void 0:p.value.href)||e.pageEditing)&&r.jsx(u,{textAlign:"center",children:r.jsx(q,{field:t.link,variant:"primary",size:"md",color:"inherit"})})]})]})})}):r.jsx(r.Fragment,{})},_=d()(y);export{_ as default}; 2//# sourceMappingURL=Media_ImageQuote-Cc75PXUu.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.