{"version":3,"file":"SvgExplainer.D-HcJynZ.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","sharedStyle.className","className","sharedStyle.css","sharedStyle.fonts","useRef","useState","__esmMin","window","init_npm_react_18_3_1","x","oe","pe","init_ssg_sandbox_shims","ie","_e","de","p","c","J","init_jsx_runtime","ce","MotionConfigContext","LayoutGroup","init_framer_motion_DhsWWWsN","motion","addFonts","cx","getFontsFromSharedStyle","init_framer_DxfB3JJo","useComponentViewport","RichText","useVariantState","useActiveVariantCallback","ControlType","useLocaleInfo","addPropertyControls","withCSS","init_CW1y0bDH2","css$1","fonts","className","addPropertyOverrides","variants","nextOverrides","variant","overrides","cycleOrder","serializationHash","variantClassNames","transition1","Transition","Variants","humanReadableVariantMap","getProps","createLayoutDependency","Component","css","FramerTyeLzimSR","init_TyeLzimSR","config","transition","value","contextValue","props","answer","question","fallbackRef","refBinding","ref","defaultLayoutId","className$1","restProps","layoutDependency","baseVariant","onTap1h4zwan","activeVariantCallback","args","setVariant","onTap15w0dsy","scopingClassNames","isDisplayed","layoutId","gestureHandlers","classNames","style","gestureVariant","W88zB8mIG","T8rQFvSBR","SvgExplainer","clickToPlay","loopAfterPlay","wrapperRef","frameRef","visible","setVisible","svg","setSvg","failed","setFailed","playing","setPlaying","hover","setHover","onMessage","el","io","entries","src","cancelled","r","text","head","background","loopMatch","posterMs","posterTime","posterDoc","playDoc","title","playLabel","Note","init_SvgExplainer"],"sources":["https:/framerusercontent.com/modules/Ce3zXR49l0GIobv0FTOI/svHTiwlBstgwNA6yZ1Ee/TyeLzimSR.js","https:/framerusercontent.com/modules/c66e9y6ghZvTj0lcHZe4/nctIFnHDcL9uv933SrZZ/SvgExplainer.js"],"sourcesContent":["// Generated by Framer (dea85a9)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFontsFromSharedStyle,RichText,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import*as sharedStyle from\"https://framerusercontent.com/modules/chG4p3bagdLMS6htYYW1/npWmlu3bZEcK2xwWq0Kn/CW1y0bDH2.js\";const cycleOrder=[\"LzW9S18C_\",\"cSaYxG_TI\"];const serializationHash=\"framer-z7Ie5\";const variantClassNames={cSaYxG_TI:\"framer-v-c88bip\",LzW9S18C_:\"framer-v-qf29qv\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const W88zB8mIG=undefined;const T8rQFvSBR=undefined;const transition1={damping:40,delay:0,mass:1,stiffness:400,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={Closed:\"LzW9S18C_\",Open:\"cSaYxG_TI\"};const getProps=({answer,height,id,question,width,...props})=>{return{...props,T8rQFvSBR:answer??props.T8rQFvSBR??\"Framer is a web builder for creative pros. Be sure to check out framer.com to learn more.\",variant:humanReadableVariantMap[props.variant]??props.variant??\"LzW9S18C_\",W88zB8mIG:question??props.W88zB8mIG??\"Framer is a web builder for creative pros. Be sure to check out framer.com to learn more.\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,W88zB8mIG,T8rQFvSBR,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"LzW9S18C_\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap1h4zwan=activeVariantCallback(async(...args)=>{setVariant(\"cSaYxG_TI\");});const onTap15w0dsy=activeVariantCallback(async(...args)=>{setVariant(\"LzW9S18C_\");});const sharedStyleClassNames=[sharedStyle.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(baseVariant===\"cSaYxG_TI\")return true;return false;};return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-qf29qv\",className,classNames),\"data-framer-name\":\"Closed\",layoutDependency:layoutDependency,layoutId:\"LzW9S18C_\",ref:refBinding,style:{...style},...addPropertyOverrides({cSaYxG_TI:{\"data-framer-name\":\"Open\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-10awq84\",\"data-framer-name\":\"Question\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"W4tKrjjSd\",onTap:onTap1h4zwan,...addPropertyOverrides({cSaYxG_TI:{onTap:onTap15w0dsy}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1t1e1hd\",\"data-framer-name\":\"Plus\",layoutDependency:layoutDependency,layoutId:\"vsdK4feRZ\",style:{opacity:.3,rotate:0},variants:{cSaYxG_TI:{rotate:45}},children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-175bp1\",layoutDependency:layoutDependency,layoutId:\"qzmGsYEbv\",style:{backgroundColor:\"var(--token-3b762ea5-e6ac-42df-9bef-442730014302, rgb(43, 8, 142))\",borderBottomLeftRadius:10,borderBottomRightRadius:10,borderTopLeftRadius:10,borderTopRightRadius:10}}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-cn6jvp\",layoutDependency:layoutDependency,layoutId:\"XfzKfpxR1\",style:{backgroundColor:\"var(--token-3b762ea5-e6ac-42df-9bef-442730014302, rgb(43, 8, 142))\",borderBottomLeftRadius:10,borderBottomRightRadius:10,borderTopLeftRadius:10,borderTopRightRadius:10}})]}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h3,{className:\"framer-styles-preset-1pw50en\",\"data-styles-preset\":\"CW1y0bDH2\",children:\"Framer is a web builder for creative pros. Be sure to check out framer.com to learn more.\"})}),className:\"framer-1dz7co\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"rILuNnexe\",style:{\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:W88zB8mIG,verticalAlignment:\"top\",withExternalLayout:true})]}),isDisplayed()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-98s46\",\"data-framer-name\":\"Answer\",layoutDependency:layoutDependency,layoutId:\"UPEPUuEtS\",style:{opacity:0},variants:{cSaYxG_TI:{opacity:1}},children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h3,{className:\"framer-styles-preset-1pw50en\",\"data-styles-preset\":\"CW1y0bDH2\",children:\"Framer is a web builder for creative pros. Be sure to check out framer.com to learn more.\"})}),className:\"framer-1nkqoyh\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"XLXYLTAZN\",style:{opacity:.6},text:T8rQFvSBR,variants:{cSaYxG_TI:{opacity:1}},verticalAlignment:\"top\",withExternalLayout:true})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-z7Ie5.framer-u1nfvq, .framer-z7Ie5 .framer-u1nfvq { display: block; }\",\".framer-z7Ie5.framer-qf29qv { align-content: flex-start; align-items: flex-start; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: flex-start; overflow: hidden; padding: 0px; position: relative; width: 400px; }\",\".framer-z7Ie5 .framer-10awq84 { -webkit-user-select: none; align-content: center; align-items: center; cursor: pointer; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 24px; height: min-content; justify-content: flex-start; overflow: visible; padding: 20px 0px 20px 40px; position: relative; user-select: none; width: 100%; }\",\".framer-z7Ie5 .framer-1t1e1hd { flex: none; height: 16px; left: 0px; overflow: hidden; position: absolute; top: 25px; width: 16px; z-index: 1; }\",\".framer-z7Ie5 .framer-175bp1 { flex: none; height: 2px; left: calc(50.00000000000002% - 16px / 2); overflow: visible; position: absolute; top: calc(50.00000000000002% - 2px / 2); width: 16px; }\",\".framer-z7Ie5 .framer-cn6jvp { flex: none; height: 16px; left: calc(50.00000000000002% - 2px / 2); overflow: visible; position: absolute; top: calc(50.00000000000002% - 16px / 2); width: 2px; }\",\".framer-z7Ie5 .framer-1dz7co { flex: 1 0 0px; height: auto; position: relative; white-space: pre-wrap; width: 1px; word-break: break-word; word-wrap: break-word; }\",\".framer-z7Ie5 .framer-98s46 { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: flex-start; overflow: visible; padding: 0px 20px 20px 40px; position: relative; width: 100%; }\",\".framer-z7Ie5 .framer-1nkqoyh { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\",...sharedStyle.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 94\n * @framerIntrinsicWidth 400\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"cSaYxG_TI\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"W88zB8mIG\":\"question\",\"T8rQFvSBR\":\"answer\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerTyeLzimSR=withCSS(Component,css,\"framer-z7Ie5\");export default FramerTyeLzimSR;FramerTyeLzimSR.displayName=\"Row\";FramerTyeLzimSR.defaultProps={height:94,width:400};addPropertyControls(FramerTyeLzimSR,{variant:{options:[\"LzW9S18C_\",\"cSaYxG_TI\"],optionTitles:[\"Closed\",\"Open\"],title:\"Variant\",type:ControlType.Enum},W88zB8mIG:{defaultValue:\"Framer is a web builder for creative pros. Be sure to check out framer.com to learn more.\",displayTextArea:true,title:\"Question\",type:ControlType.String},T8rQFvSBR:{defaultValue:\"Framer is a web builder for creative pros. Be sure to check out framer.com to learn more.\",displayTextArea:true,title:\"Answer\",type:ControlType.String}});addFonts(FramerTyeLzimSR,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...getFontsFromSharedStyle(sharedStyle.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerTyeLzimSR\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"94\",\"framerVariables\":\"{\\\"W88zB8mIG\\\":\\\"question\\\",\\\"T8rQFvSBR\\\":\\\"answer\\\"}\",\"framerIntrinsicWidth\":\"400\",\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerColorSyntax\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"cSaYxG_TI\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerComponentViewportWidth\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TyeLzimSR.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Shows an animated explainer SVG (CSS keyframes + loop <script>) from a Framer\n * asset. Framer serves assets with X-Frame-Options: DENY, so the file can't be\n * iframed by URL; instead we fetch it (CORS is open) and render it in a\n * sandboxed srcdoc iframe. That keeps its scripts, styles and web font working\n * and stops its CSS from leaking into the page.\n *\n * Upload SVGs as .txt (text/plain): Framer minifies uploaded .svg files, which\n * merges groups and breaks CSS-animated layouts.\n *\n * Click to play: until the visitor clicks, a still poster frame (the end card\n * by default) is shown with a play button. Clicking loads a fresh copy, so the\n * explainer starts at 0:00 and its own loop timer lines up with the start.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 960\n */export default function SvgExplainer(props){const{src=\"\",title=\"Vortza Coach explainer\",background=\"#1A0560\",playLabel=\"Bekijk de uitleg (1 min)\",posterTime=0,style}=props;// Only an explicit \"off\" disables click-to-play.\nconst clickToPlay=props.clickToPlay!==false;// Default: play once, then return to the play button.\nconst loopAfterPlay=props.loopAfterPlay===true;const wrapperRef=useRef(null);const frameRef=useRef(null);const[visible,setVisible]=useState(false);const[svg,setSvg]=useState(null);const[failed,setFailed]=useState(false);const[playing,setPlaying]=useState(!clickToPlay);const[hover,setHover]=useState(false);useEffect(()=>setPlaying(!clickToPlay),[clickToPlay]);// The play frame posts a message when its run is over; go back to the poster.\nuseEffect(()=>{if(!playing||!clickToPlay||loopAfterPlay)return;const onMessage=e=>{if(e.source===frameRef.current?.contentWindow&&e.data===\"svg-explainer-done\"){setPlaying(false);setHover(false);}};window.addEventListener(\"message\",onMessage);return()=>window.removeEventListener(\"message\",onMessage);},[playing,clickToPlay,loopAfterPlay]);// Fetch only when the box is near the viewport.\nuseEffect(()=>{const el=wrapperRef.current;if(!el||visible)return;if(typeof IntersectionObserver===\"undefined\"){setVisible(true);return;}const io=new IntersectionObserver(entries=>{if(entries.some(e=>e.isIntersecting)){setVisible(true);io.disconnect();}},{rootMargin:\"200px\"});io.observe(el);return()=>io.disconnect();},[visible]);useEffect(()=>{if(!visible||!src)return;let cancelled=false;setFailed(false);fetch(src).then(r=>{if(!r.ok)throw new Error(String(r.status));return r.text();}).then(text=>{if(!cancelled)setSvg(text.replace(/^\\s*<\\?xml[^>]*\\?>/,\"\"));}).catch(()=>!cancelled&&setFailed(true));return()=>{cancelled=true;};},[visible,src]);const head=\"<!doctype html><html><head><meta charset='utf-8'>\"+\"<meta name='viewport' content='width=device-width,initial-scale=1'>\"+\"<style>html,body{margin:0;height:100%;overflow:hidden;background:\"+background+\"}svg{display:block;width:100%;height:100%}</style></head><body>\";// Poster: block the SVG's loop timer, then freeze every animation at the\n// poster time. 0 = end card: just before the loop restarts (LOOP_MS in the\n// SVG's script), falling back to 9000 s (past every scene, before the end\n// card's \"9999s\" fade-out).\nconst loopMatch=svg?svg.match(/LOOP_MS\\s*=\\s*(\\d+)/):null;const posterMs=posterTime>0?posterTime*1e3:loopMatch?Number(loopMatch[1])-300:9e6;const posterDoc=svg&&head+\"<style>*,*::before,*::after{animation-play-state:paused!important}</style>\"+\"<script>window.setInterval=function(){return 0};</script>\"+svg+\"<script>(function(){function f(){document.getAnimations().forEach(function(a){try{a.pause();a.currentTime=\"+posterMs+\"}catch(e){}})}f();setTimeout(f,50);window.addEventListener('load',f);})();</script>\"+\"</body></html>\";// Play once: block the SVG's own loop and report back at the end of the run.\nconst stopAtEnd=clickToPlay&&!loopAfterPlay&&loopMatch;const playDoc=svg&&head+(stopAtEnd?\"<script>window.setInterval=function(){return 0};setTimeout(function(){parent.postMessage('svg-explainer-done','*')},\"+Number(loopMatch[1])+\");</script>\":\"\")+svg+\"</body></html>\";return /*#__PURE__*/_jsxs(\"div\",{ref:wrapperRef,style:{...style,position:\"relative\",width:\"100%\",aspectRatio:\"16 / 9\",background,overflow:\"hidden\"},children:[svg&&/*#__PURE__*/_jsx(\"iframe\",{ref:frameRef,title:title,srcDoc:playing?playDoc:posterDoc,sandbox:\"allow-scripts\",tabIndex:playing?0:-1,style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",border:0,display:\"block\",pointerEvents:playing?\"auto\":\"none\",filter:playing?\"none\":hover?\"saturate(0.8) blur(3px)\":\"saturate(0.6) blur(4px)\",// Slight zoom hides the blur's soft edges.\ntransform:playing?\"none\":\"scale(1.04)\",transition:\"filter .3s ease\"}},playing?\"play\":\"poster\"),svg&&!playing&&/*#__PURE__*/_jsxs(\"button\",{type:\"button\",\"aria-label\":\"Speel af: \"+title,onClick:()=>setPlaying(true),onMouseEnter:()=>setHover(true),onMouseLeave:()=>setHover(false),style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",margin:0,padding:0,border:0,cursor:\"pointer\",// Brand blue (colorBlue900) veil instead of grey/black.\nbackground:hover?\"rgba(26,5,96,0.4)\":\"rgba(26,5,96,0.55)\",transition:\"background .3s ease\",display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",gap:\"clamp(10px, 2.5%, 22px)\",fontFamily:\"inherit\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{width:\"clamp(72px, 13%, 136px)\",aspectRatio:\"1\",borderRadius:\"50%\",background:\"#DFFF00\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",boxShadow:hover?\"0 0 0 12px rgba(223,255,0,0.25), 0 12px 40px rgba(0,0,0,0.45)\":\"0 0 0 0 rgba(223,255,0,0), 0 12px 40px rgba(0,0,0,0.4)\",transform:hover?\"scale(1.08)\":\"scale(1)\",transition:\"transform .2s ease, box-shadow .2s ease\"},children:/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",width:\"46%\",height:\"46%\",\"aria-hidden\":\"true\",style:{marginLeft:\"8%\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M7 4.5v15a1 1 0 0 0 1.5.86l12.5-7.5a1 1 0 0 0 0-1.72L8.5 3.64A1 1 0 0 0 7 4.5z\",fill:\"#1A0560\"})})}),playLabel&&/*#__PURE__*/_jsx(\"span\",{style:{color:\"#FFFFFF\",fontSize:\"clamp(14px, 1.8vw, 20px)\",fontWeight:700,background:\"rgba(26,5,96,0.85)\",padding:\"0.4em 0.9em\",borderRadius:999,lineHeight:1.2},children:playLabel})]}),!src&&/*#__PURE__*/_jsx(Note,{text:\"Kies een SVG-bestand (Source)\"}),failed&&/*#__PURE__*/_jsx(Note,{text:\"SVG kon niet worden geladen\"})]});}function Note({text}){return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:\"rgba(255,255,255,0.7)\",fontFamily:\"sans-serif\",fontSize:14},children:text});}addPropertyControls(SvgExplainer,{src:{type:ControlType.File,title:\"Source\",allowedFileTypes:[\"svg\",\"txt\"]},title:{type:ControlType.String,title:\"Title\",defaultValue:\"Vortza Coach explainer\"},clickToPlay:{type:ControlType.Boolean,title:\"Click to play\",defaultValue:true},loopAfterPlay:{type:ControlType.Boolean,title:\"Loop after play\",description:\"Off = play once, then show the play button again\",defaultValue:false,hidden:p=>p.clickToPlay===false},playLabel:{type:ControlType.String,title:\"Play label\",defaultValue:\"Bekijk de uitleg (1 min)\",hidden:p=>p.clickToPlay===false},posterTime:{type:ControlType.Number,title:\"Poster at (s)\",description:\"0 = end card\",defaultValue:0,min:0,step:.1,displayStepper:true,hidden:p=>p.clickToPlay===false},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"#1A0560\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SvgExplainer\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"960\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SvgExplainer.map"],"mappings":"A,qbACmoB,SAAS8C,EAAqB,EAAU,GAAGC,EAAS,CAAC,IAAMC,EAAc,CAAC,EAAuF,OAArFD,GAAU,QAAQ,GAASE,GAAS,OAAO,OAAOD,EAAcE,EAAUD,EAAQ,CAAC,EAASD,CAAc,C,8EAApV,EAAW,CAAC,YAAY,WAAW,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,iBAAiB,EAAmP,EAAY,CAAC,QAAQ,GAAG,MAAM,EAAE,KAAK,EAAE,UAAU,IAAI,KAAK,QAAQ,EAAQ,GAAY,CAAC,QAAM,cAAY,CAAC,IAAMgB,EAAOhE,EAAiB0B,CAAmB,EAAQuC,EAAWC,GAAOF,EAAO,WAAiBG,EAAalE,OAAmB,CAAC,GAAG+D,EAAO,YAAU,GAAG,CAAC,KAAK,UAAUC,CAAU,CAAC,CAAC,EAAE,MAAoB,gBAAKvC,EAAoB,SAAS,CAAC,MAAMyC,EAAsB,UAAQ,CAAC,CAAE,EAAQ,EAAStC,EAAO,OAAO3B,CAAc,EAAQ,EAAwB,CAAC,OAAO,YAAY,KAAK,WAAW,EAAQ,GAAU,CAAC,SAAO,SAAO,KAAG,WAAS,QAAM,GAAGkE,MAAgB,CAAC,GAAGA,EAAM,UAAUC,GAAQD,EAAM,WAAW,4FAA4F,QAAQX,EAAwBW,EAAM,UAAUA,EAAM,SAAS,YAAY,UAAUE,GAAUF,EAAM,WAAW,2FAA2F,GAAU,GAAwB,EAAM,IAAeA,EAAM,iBAAwBrB,EAAS,KAAK,GAAG,EAAEqB,EAAM,i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