{"version":3,"file":"HP_EMR.CBSZ_hFc.mjs","names":[],"sources":["https:/framerusercontent.com/modules/rdX5PGKEAn0u8tTYHVgn/aJe3v58Y9b8iQKyfoFrr/HP_EMR.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useGothamFonts}from\"https://framer.com/m/useGothamFonts-4jncAL.js@cSGb9b1kYMme81pyGVHZ\";/**\n * EMR Logo Marquee — editable Framer component\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 1320\n * @framerIntrinsicHeight 112\n */export default function EMRLogoMarquee(props){const{logos=[],sectionLabel=\"Interfaces with your EMR\",bgTone=\"off-white\",speed=40,logoHeight=34,logoMaxWidth=120,logoGap=56,verticalPadding=8,labelGap=8,edgeFade=true,grayscale=true,style}=props;useGothamFonts();const backgrounds={\"off-white\":\"#EAEFF1\",white:\"#FFFFFF\",dark:\"#0D2A3A\"};const dark=bgTone===\"dark\";const validLogos=logos.map(getImageSource).filter(Boolean);const variables={\"--marquee-bg\":backgrounds[bgTone],\"--marquee-label\":dark?\"rgba(234, 239, 241, 0.65)\":\"rgba(21, 70, 95, 0.65)\",\"--marquee-speed\":`${speed}s`,\"--logo-height\":`${logoHeight}px`,\"--logo-max-width\":`${logoMaxWidth}px`,\"--logo-gap\":`${logoGap}px`,\"--vertical-padding\":`${verticalPadding}px`,\"--label-gap\":`${labelGap}px`,...style};return /*#__PURE__*/_jsxs(\"div\",{className:\"emr-wrap\",style:variables,children:[/*#__PURE__*/_jsx(\"style\",{children:MARQUEE_CSS}),/*#__PURE__*/_jsxs(\"div\",{className:\"emr-marquee\",children:[sectionLabel&&/*#__PURE__*/_jsx(\"div\",{className:\"emr-label\",children:sectionLabel}),validLogos.length>0?/*#__PURE__*/_jsx(\"div\",{className:`emr-viewport ${edgeFade?\"emr-fade\":\"\"}`,children:/*#__PURE__*/_jsxs(\"div\",{className:\"emr-track\",children:[/*#__PURE__*/_jsx(LogoGroup,{logos:validLogos,grayscale:grayscale}),/*#__PURE__*/_jsx(LogoGroup,{logos:validLogos,grayscale:grayscale,hidden:true})]})}):/*#__PURE__*/_jsx(\"div\",{className:\"emr-empty\",children:\"Add logos in the Framer properties panel\"})]})]});}function LogoGroup({logos,grayscale,hidden=false}){return /*#__PURE__*/_jsx(\"div\",{className:\"emr-group\",\"aria-hidden\":hidden||undefined,children:logos.map((src,index)=>/*#__PURE__*/_jsx(\"div\",{className:`emr-item ${grayscale?\"emr-gray\":\"\"}`,children:/*#__PURE__*/_jsx(\"img\",{src:src,alt:hidden?\"\":`Logo ${index+1}`,loading:\"lazy\"})},`${src}-${index}`))});}function getImageSource(image){if(typeof image===\"string\")return image;return image?.src||image?.url||\"\";}addPropertyControls(EMRLogoMarquee,{logos:{type:ControlType.Array,title:\"Logos\",control:{type:ControlType.Image},maxCount:60,defaultValue:[]},sectionLabel:{type:ControlType.String,title:\"Header\",defaultValue:\"Interfaces with your EMR\"},bgTone:{type:ControlType.Enum,title:\"Background\",options:[\"off-white\",\"white\",\"dark\"],optionTitles:[\"Off-white\",\"White\",\"Dark\"],defaultValue:\"off-white\",displaySegmentedControl:true},logoHeight:{type:ControlType.Number,title:\"Logo Height\",defaultValue:34,min:12,max:100,step:1,unit:\"px\"},logoMaxWidth:{type:ControlType.Number,title:\"Max Width\",defaultValue:120,min:40,max:300,step:1,unit:\"px\"},logoGap:{type:ControlType.Number,title:\"Logo Gap\",defaultValue:56,min:0,max:160,step:1,unit:\"px\"},verticalPadding:{type:ControlType.Number,title:\"Top / Bottom\",defaultValue:8,min:0,max:80,step:1,unit:\"px\"},labelGap:{type:ControlType.Number,title:\"Header Gap\",defaultValue:8,min:0,max:80,step:1,unit:\"px\"},speed:{type:ControlType.Number,title:\"Duration\",defaultValue:40,min:10,max:120,step:1,unit:\"s\"},edgeFade:{type:ControlType.Boolean,title:\"Edge Fade\",defaultValue:true},grayscale:{type:ControlType.Boolean,title:\"Grayscale\",defaultValue:true}});const MARQUEE_CSS=`\n.emr-wrap {\n    container-type: inline-size;\n    width: 100%;\n    height: 100%;\n    overflow: hidden;\n    background: var(--marquee-bg);\n}\n\n.emr-wrap,\n.emr-wrap * {\n    box-sizing: border-box;\n}\n\n.emr-marquee {\n    width: 100%;\n    min-height: 100%;\n    padding: var(--vertical-padding) 0;\n    display: flex;\n    flex-direction: column;\n    justify-content: center;\n    align-items: center;\n    gap: var(--label-gap);\n}\n\n.emr-label {\n    padding: 0 24px;\n    color: var(--marquee-label);\n    font-family: \"Gotham Medium MX\", \"Gotham\", -apple-system,\n        BlinkMacSystemFont, \"Segoe UI\", sans-serif;\n    font-size: 12px;\n    font-weight: 500;\n    letter-spacing: 0.16em;\n    line-height: 1.2;\n    text-align: center;\n    text-transform: uppercase;\n}\n\n.emr-viewport {\n    position: relative;\n    width: 100%;\n    overflow: hidden;\n}\n\n.emr-viewport.emr-fade {\n    -webkit-mask-image: linear-gradient(\n        to right,\n        transparent 0,\n        black 8%,\n        black 92%,\n        transparent 100%\n    );\n    mask-image: linear-gradient(\n        to right,\n        transparent 0,\n        black 8%,\n        black 92%,\n        transparent 100%\n    );\n}\n\n.emr-track {\n    display: flex;\n    align-items: center;\n    gap: var(--logo-gap);\n    width: max-content;\n    animation: emr-scroll var(--marquee-speed) linear infinite;\n}\n\n.emr-track:hover {\n    animation-play-state: paused;\n}\n\n.emr-group {\n    display: flex;\n    align-items: center;\n    gap: var(--logo-gap);\n}\n\n.emr-item {\n    width: var(--logo-max-width);\n    height: var(--logo-height);\n    flex: 0 0 auto;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n}\n\n.emr-item img {\n    display: block;\n    width: auto;\n    height: auto;\n    max-width: 100%;\n    max-height: 100%;\n    object-fit: contain;\n    transition:\n        filter 0.3s ease,\n        opacity 0.3s ease,\n        transform 0.3s ease;\n}\n\n.emr-item.emr-gray img {\n    filter: grayscale(100%) brightness(0.85);\n    opacity: 0.6;\n}\n\n.emr-item.emr-gray:hover img {\n    filter: grayscale(0%) brightness(1);\n    opacity: 1;\n    transform: scale(1.05);\n}\n\n.emr-empty {\n    min-height: var(--logo-height);\n    display: flex;\n    align-items: center;\n    color: var(--marquee-label);\n    font-family: \"Gotham\", -apple-system, BlinkMacSystemFont, \"Segoe UI\",\n        sans-serif;\n    font-size: 12px;\n}\n\n@keyframes emr-scroll {\n    from {\n        transform: translateX(0);\n    }\n    to {\n        transform: translateX(calc(-50% - (var(--logo-gap) / 2)));\n    }\n}\n\n@container (max-width: 480px) {\n    .emr-label {\n        font-size: 10px;\n        letter-spacing: 0.12em;\n    }\n}\n\n@media (prefers-reduced-motion: reduce) {\n    .emr-track {\n        animation-play-state: paused;\n    }\n}\n`;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"EMRLogoMarquee\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"112\",\"framerSupportedLayoutWidth\":\"any\",\"framerIntrinsicWidth\":\"1320\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HP_EMR.map"],"mappings":"wNAOG,SAAwB,EAAe,EAAM,CAAC,GAAK,CAAC,QAAM,EAAE,CAAC,eAAa,2BAA2B,SAAO,YAAY,QAAM,GAAG,aAAW,GAAG,eAAa,IAAI,UAAQ,GAAG,kBAAgB,EAAE,WAAS,EAAE,WAAS,GAAK,YAAU,GAAK,SAAO,EAAM,GAAgB,CAAC,IAAM,EAAY,CAAC,YAAY,UAAU,MAAM,UAAU,KAAK,UAAU,CAAO,EAAK,IAAS,OAAa,EAAW,EAAM,IAAI,EAAe,CAAC,OAAO,QAAQ,CAAwV,OAAoB,EAAM,MAAM,CAAC,UAAU,WAAW,MAA7X,CAAC,eAAe,EAAY,GAAQ,kBAAkB,EAAK,4BAA4B,yBAAyB,kBAAkB,GAAG,EAAM,GAAG,gBAAgB,GAAG,EAA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