{"version":3,"file":"ViewportHeightOverride.DPWVOFLL.mjs","names":["React.forwardRef","__esmMin","init_npm_react_18_3_1","init_ssg_sandbox_shims","window","c","J","init_jsx_runtime","motion","cx","init_framer_CcflMUCW","addPropertyControls","withCSS","useSVGTemplate","ControlType","mask","Base","MotionSVG","SVG","svg","getProps","Icon","init_GXOmzsK3W","props","rest","animated","width1","color","restProps","href","className","P_DcoRcrY","JEeZYcamG","style","getMinHeightValue","withMinHeightSvh","minHeight","Component","getHeightValue","withHeightSvh","height","init_ViewportHeightOverride"],"sources":["https:/framerusercontent.com/modules/Wox1BwGXM80ltN4SxGnw/fBScsGeW1NS1aeNoGoOW/GXOmzsK3W.js","https:/framerusercontent.com/modules/U3OMKqdMVE3v5s6uTaBc/XWHPfhN4QBfbIp9GSwPi/ViewportHeightOverride.js"],"sourcesContent":["// Generated by Framer (85eaff3)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 6 12 L 0 6 L 6 0\" fill=\"transparent\" height=\"12px\" id=\"rhFEz5mBN\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(9 6)\" width=\"6px\"/></svg>';const getProps=({color,height,id,width,width1,...props})=>{return{...props,JEeZYcamG:width1??props.JEeZYcamG??2,P_DcoRcrY:color??props.P_DcoRcrY??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,P_DcoRcrY,JEeZYcamG,...restProps}=getProps(props);const href=useSVGTemplate(\"3938257237\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-4rnSx\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m973uw\":P_DcoRcrY,\"--js9iwy\":JEeZYcamG,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-4rnSx { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"P_DcoRcrY\":\"color\",\"JEeZYcamG\":\"width1\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Chevron Left\",\"color\":{\"type\":\"variable\",\"value\":\"1m973uw\"},\"set\":{\"localId\":\"vectorSet/ZsiCCGPvG\",\"id\":\"ZsiCCGPvG\",\"moduleId\":\"Y7SpbVH16cWqMhj75z1M\"}}\n */const Icon=withCSS(Component,css,\"framer-4rnSx\");Icon.displayName=\"Chevron Left\";export default Icon;addPropertyControls(Icon,{P_DcoRcrY:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},JEeZYcamG:{defaultValue:2,displayStepper:true,hidden:false,max:16,min:1,title:\"Width\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerImmutableVariables\":\"true\",\"framerVariables\":\"{\\\"P_DcoRcrY\\\":\\\"color\\\",\\\"JEeZYcamG\\\":\\\"width1\\\"}\",\"framerContractVersion\":\"1\",\"framerVector\":\"{\\\"name\\\":\\\"Chevron Left\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"1m973uw\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/ZsiCCGPvG\\\",\\\"id\\\":\\\"ZsiCCGPvG\\\",\\\"moduleId\\\":\\\"Y7SpbVH16cWqMhj75z1M\\\"}}\",\"framerIntrinsicWidth\":\"24\",\"framerIntrinsicHeight\":\"24\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","/**\n * @surface Overrides / Layout\n * @role Mobile viewport height fixes (svh) via withMinHeightSvh and withHeightSvh for full-height booking steps.\n * @deps React forwardRef; inline style injection on canvas FrameNode.\n * @gotchas iOS browser chrome breaks 100vh; Quiz 002 QuizDriver inlines height logic instead of this override.\n * @branch chore/in-code-docs — comment-only pass\n */import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";// User request: Create a new code override export named `withMinHeightSvh` that wraps an existing canvas FrameNode and adds only minHeight behavior using inline style injection, targeting 100svh with graceful fallback to 100vh while preserving all existing props/style/className/appearance.\nfunction getMinHeightValue(){if(typeof window!==\"undefined\"&&typeof window.CSS!==\"undefined\"&&typeof window.CSS.supports===\"function\"){return window.CSS.supports(\"min-height\",\"100svh\")?\"100svh\":\"100vh\";}return\"100vh\";}export function withMinHeightSvh(Component){return /*#__PURE__*/forwardRef(function WithMinHeightSvh(props,ref){const minHeight=getMinHeightValue();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style||{},minHeight}});});}function getHeightValue(){if(typeof window!==\"undefined\"&&typeof window.CSS!==\"undefined\"&&typeof window.CSS.supports===\"function\"){return window.CSS.supports(\"height\",\"100svh\")?\"100svh\":\"100vh\";}return\"100vh\";}export function withHeightSvh(Component){return /*#__PURE__*/forwardRef(function WithHeightSvh(props,ref){const height=getHeightValue();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style||{},height}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withHeightSvh\":{\"type\":\"reactHoc\",\"name\":\"withHeightSvh\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withMinHeightSvh\":{\"type\":\"reactHoc\",\"name\":\"withMinHeightSvh\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ViewportHeightOverride.map"],"mappings":"A,qTACgM,EAAK,0BAAgC,EAAkB,gBAAW,SAAS,EAAM,EAAI,CAAC,MAAoB,gBAAK,MAAM,CAAC,GAAGuB,EAAU,MAAI,SAASA,EAAM,QAAQ,CAAC,CAAE,CAAC,EAAQ,EAAUf,EAAO,OAAOQ,CAAI,EAAQ,EAAiB,iBAAY,EAAM,IAAM,CAAC,GAAK,CAAC,WAAS,WAAS,WAAS,GAAGQ,GAAMD,EAAM,OAAOE,EAAsB,gBAAKR,EAAU,CAAC,GAAGO,EAAc,WAAa,MAAa,UAAQ,CAAC,EAAe,gBAAK,MAAM,CAAC,GAAGA,EAAS,MAAa,UAAQ,CAAC,CAAE,CAAC,EAAQ,EAAI,qWAA2W,GAAU,CAAC,QAAM,SAAO,KAAG,QAAM,SAAO,GAAGD,MAAgB,CAAC,GAAGA,EAAM,UAAUG,GAAQH,EAAM,WAAW,EAAE,UAAUI,GAAOJ,EAAM,WAAW,cAAc,GASjpC,EAAKX,EAT6qCZ,kBAAiB,SAAS,EAAM,EAAI,CAAC,GAAK,CAAC,QAAM,YAAU,WAAS,UAAQ,YAAU,YAAU,GAAG4B,GAAWR,EAASG,CAAK,EAAQM,EAAKhB,EAAe,aAAaM,CAAG,EAAE,MAAoB,gBAAKD,EAAI,CAAC,GAAGU,EAAU,UAAUnB,EAAG,eAAeqB,CAAS,EAAW,WAAa,MAAI,KAAK,eAAe,MAAM,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