{"version":3,"file":"YALIDScrollPhone.DbOT8jsi.mjs","names":["useMemo","useState","useRef","useId","__esmMin","init_npm_react_18_3_1","pe","ie","window","_e","de","init_jsx_runtime","p","ce","init_ssg_sandbox_shims","useMotionValue","motion","useReducedMotion","init_framer_motion_DhsWWWsN","addPropertyControls","init_framer_BkYB2Gqq","useIsStaticRenderer","ControlType","screenPosition","phase","clamp","progress","index","YALIDScrollPhone","props","scenes","titleOne","bodyOne","videoOne","posterOne","titleTwo","bodyTwo","videoTwo","posterTwo","titleThree","bodyThree","photo","isStatic","hydrated","setHydrated","reduceMotion","root","stage","videos","position","active","setActive","activeRef","inView","setInView","pageVisible","setPageVisible","paused","setPaused","userStarted","setUserStarted","shortViewport","setShortViewport","failed","setFailed","playing","setPlaying","uid","manual","query","update","visibility","observer","entry","frame","rect","top","range","nextPosition","next","schedule","scrollLength","video","autoplay","selectScene","togglePlayback","rootStyle","style","textColor","accent","bodyColor","headingFont","bodyFont","heading","scene","element","previous","init_YALIDScrollPhone","max","min","value"],"sources":["https:/framerusercontent.com/modules/x5ahclOHPDq3xkhqZ5wZ/2XaAPNUl95fsKdraQMjF/YALIDScrollPhone.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useId,useMemo,useRef,useState}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{motion,useMotionValue,useReducedMotion}from\"framer-motion\";const clamp=(value,min=0,max=1)=>Math.min(max,Math.max(min,value));// Each scene has a reading/playback interval, followed by a scroll-linked slide.\nfunction screenPosition(progress){const phase=clamp(progress)*3;const index=Math.min(2,Math.floor(phase));return index+(index<2?clamp((phase-index-.66)/.34):0);}/**\n * A pinned phone whose screen advances with ordinary page scrolling.\n * @framerIntrinsicWidth 1212\n * @framerIntrinsicHeight 760\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function YALIDScrollPhone(props){const{heading=\"Made for the way people scroll.\",videoOne=\"https://framerusercontent.com/assets/xCshdyAUf7NwdngFvGXgUdin07M.mp4\",videoTwo=\"https://framerusercontent.com/assets/HzWzNipKF6KHUGiQ04lhmMs6RsI.mp4\",posterOne={src:\"https://framerusercontent.com/images/Ly7eALh57oUAuXn8zXp3VTG4E.jpg\",alt:\"Grand Rapids city reel\"},posterTwo={src:\"https://framerusercontent.com/images/UndROLjNZbCaFI8WTup3XyvzpTg.jpg\",alt:\"Behind the scenes at a creative workstation\"},photo={src:\"https://framerusercontent.com/images/kia2SWEQtuowuuyRdm0Apnf7Po4.jpeg\",alt:\"Food photography for Katar River Restaurant\"},titleOne=\"Catch the first glance.\",titleTwo=\"Show what goes into it.\",titleThree=\"Make the details matter.\",bodyOne=\"Short-form video that brings a place, a product or a point of view into the feed.\",bodyTwo=\"Behind-the-scenes content connects the finished work with the people and process behind it.\",bodyThree=\"Photography gives your audience a closer look. Here: the food at Katar River Restaurant.\",accent=\"#1230A5\",textColor=\"#202020\",bodyColor=\"#525252\",headingFont,bodyFont,scrollLength=300,autoplay=true,style}=props;const scenes=useMemo(()=>[{title:titleOne,description:bodyOne,label:\"Short-form video\",video:videoOne,poster:posterOne},{title:titleTwo,description:bodyTwo,label:\"Behind the scenes\",video:videoTwo,poster:posterTwo},{title:titleThree,description:bodyThree,label:\"Product photography\",poster:photo}],[titleOne,titleTwo,titleThree,bodyOne,bodyTwo,bodyThree,videoOne,videoTwo,posterOne,posterTwo,photo]);const isStatic=useIsStaticRenderer();const[hydrated,setHydrated]=useState(false);useEffect(()=>setHydrated(true),[]);const reduceMotion=useReducedMotion();const root=useRef(null);const stage=useRef(null);const videos=useRef([]);const position=useMotionValue(\"0%\");const[active,setActive]=useState(0);const activeRef=useRef(0);const[inView,setInView]=useState(false);const[pageVisible,setPageVisible]=useState(true);const[paused,setPaused]=useState(false);const[userStarted,setUserStarted]=useState(false);const[shortViewport,setShortViewport]=useState(false);const[failed,setFailed]=useState({});const[playing,setPlaying]=useState(false);const uid=useId().replace(/:/g,\"\");const manual=Boolean(reduceMotion||shortViewport);useEffect(()=>{if(!hydrated||isStatic||typeof window===\"undefined\")return;const query=window.matchMedia(\"(max-height: 620px), (max-width: 767px)\");const update=()=>setShortViewport(query.matches);const visibility=()=>setPageVisible(!document.hidden);update();visibility();query.addEventListener(\"change\",update);document.addEventListener(\"visibilitychange\",visibility);return()=>{query.removeEventListener(\"change\",update);document.removeEventListener(\"visibilitychange\",visibility);};},[hydrated,isStatic]);useEffect(()=>{if(!hydrated||isStatic||!stage.current||typeof IntersectionObserver===\"undefined\")return;const observer=new IntersectionObserver(([entry])=>setInView(entry.isIntersecting&&entry.intersectionRatio>.25),{threshold:[0,.25,.5]});observer.observe(stage.current);return()=>observer.disconnect();},[hydrated,isStatic]);useEffect(()=>{if(!hydrated||isStatic||manual||typeof window===\"undefined\")return;let frame=0;const update=()=>{frame=0;if(!root.current||!stage.current)return;const rect=root.current.getBoundingClientRect();const top=parseFloat(getComputedStyle(stage.current).top)||0;const range=Math.max(1,root.current.offsetHeight-stage.current.offsetHeight);const progress=clamp((top-rect.top)/range);const nextPosition=screenPosition(progress);position.set(`${-nextPosition*100}%`);const next=Math.round(nextPosition);if(activeRef.current!==next){activeRef.current=next;setActive(next);}};const schedule=()=>{if(!frame)frame=window.requestAnimationFrame(update);};const observer=new ResizeObserver(schedule);observer.observe(root.current);window.addEventListener(\"scroll\",schedule,{passive:true});window.addEventListener(\"resize\",schedule,{passive:true});update();return()=>{window.cancelAnimationFrame(frame);observer.disconnect();window.removeEventListener(\"scroll\",schedule);window.removeEventListener(\"resize\",schedule);};},[hydrated,isStatic,manual,position,scrollLength]);useEffect(()=>{videos.current.forEach((video,index)=>{if(!video)return;const shouldPlay=hydrated&&index===active&&inView&&pageVisible&&!isStatic&&!paused&&(autoplay&&!reduceMotion||userStarted);if(shouldPlay)video.play().catch(()=>{if(index===activeRef.current)setPlaying(false);});else video.pause();});return()=>videos.current.forEach(video=>video?.pause());},[hydrated,active,inView,pageVisible,isStatic,paused,autoplay,reduceMotion,userStarted,videoOne,videoTwo]);function selectScene(index){if(!hydrated||isStatic)return;if(manual){activeRef.current=index;setActive(index);position.set(`${-index*100}%`);return;}if(!root.current||!stage.current)return;const top=parseFloat(getComputedStyle(stage.current).top)||0;const range=root.current.offsetHeight-stage.current.offsetHeight;window.scrollTo({top:window.scrollY+root.current.getBoundingClientRect().top-top+range*((index+.15)/3),behavior:\"auto\"});}function togglePlayback(){const video=videos.current[active];if(!video)return;if(!video.paused){video.pause();setPaused(true);}else{setUserStarted(true);setPaused(false);video.play().catch(()=>setPlaying(false));}}const rootStyle={...style,position:\"relative\",width:\"100%\",height:!hydrated||isStatic||manual?\"auto\":`${scrollLength}svh`,minWidth:0,overflow:\"visible\",color:textColor,background:\"var(--token-09f22285-1280-482e-8b22-1cef593bf6a7, #FDFCF9)\",fontFamily:'\"Geist\", sans-serif',\"--reel-accent\":accent,\"--reel-body\":bodyColor,\"--reel-heading-size\":headingFont?.fontSize??\"48px\",\"--reel-body-size\":bodyFont?.fontSize??\"17px\"};return /*#__PURE__*/_jsxs(\"section\",{ref:root,className:`yalid-scroll-phone${!hydrated||isStatic?\" is-static\":\"\"}${manual?\" is-manual\":\"\"}`,style:rootStyle,\"aria-labelledby\":`${uid}-heading`,\"data-active-scene\":active+1,children:[/*#__PURE__*/_jsx(\"style\",{children:`\n            .yalid-scroll-phone { --reel-stage-height: calc(100svh - 88px); container-type: inline-size; }\n            .yalid-scroll-phone * { box-sizing: border-box; }\n            .yalid-scroll-phone ::selection { color:var(--token-6807ae29-77db-4749-94fe-0b2283e99142, #F7F4ED); background:var(--reel-accent); }\n            .yalid-scroll-phone .reel-stage { position: sticky; top: 88px; height: var(--reel-stage-height); width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; padding: 32px 0; }\n            .yalid-scroll-phone .reel-copy { width: 100%; max-width: 540px; }\n            .yalid-scroll-phone h2 { margin: 0; font-size: clamp(32px, 4cqw, 48px); font-weight: 700; line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }\n            .yalid-scroll-phone .reel-chapters { display: grid; margin-top: 32px; }\n            .yalid-scroll-phone .reel-chapter { grid-area: 1/1; opacity: 0; visibility: hidden; transition: opacity 160ms ease-out; }\n            .yalid-scroll-phone .reel-chapter.is-active { opacity: 1; visibility: visible; }\n            .yalid-scroll-phone h3 { margin: 0 0 12px; font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; }\n            .yalid-scroll-phone p { margin: 0; font-size: 17px; line-height: 1.65; color:var(--reel-body); }\n            .yalid-scroll-phone .reel-navigation { margin-top: 24px; display: flex; gap: 8px; }\n            .yalid-scroll-phone button { font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }\n            .yalid-scroll-phone button:focus-visible { outline:3px solid var(--reel-accent); outline-offset: 5px; }\n            .yalid-scroll-phone .reel-step { position: relative; flex: 1; min-width: 44px; min-height: 44px; padding: 10px 0; border:0; background:transparent; text-align: left; color:var(--reel-body); font-size: 12px; line-height: 1.4; }\n            .yalid-scroll-phone .reel-step::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background:var(--token-c2c13bf9-e389-4fe6-8fc6-a68cf93f69e4, #F7F4ED); }\n            .yalid-scroll-phone .reel-step[aria-pressed=true] { color:var(--reel-accent); font-weight: 600; }\n            .yalid-scroll-phone .reel-step[aria-pressed=true]::before, .yalid-scroll-phone .reel-step:hover::before { background:var(--reel-accent); }\n            .yalid-scroll-phone .reel-hint { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; }\n            .yalid-scroll-phone .reel-device-column { display: flex; flex-direction: column; align-items: center; gap: 20px; min-width: 0; }\n            .yalid-scroll-phone .reel-device { position: relative; width: min(320px, calc((var(--reel-stage-height) - 112px) / 2.16)); aspect-ratio: 1 / 2.16; padding: 5px; background:var(--token-1a772fd5-3867-4246-acd4-f46ef551c725, #1B1B1B); border-radius: 14.5% / 6.75%; box-shadow:0 24px 42px -14px var(--token-32c8f298-47e5-4011-8bd5-6f4cceb9f84e, rgba(27,27,27,0.12)), inset 0 0 0 2px var(--token-859b661b-65ca-4d2a-9dfe-2fdb7c6b45f7, #1B1B1B); }\n            .yalid-scroll-phone .reel-side { position: absolute; width: 3px; background:var(--token-1a772fd5-3867-4246-acd4-f46ef551c725, #1B1B1B); border-radius: 2px; left: -2px; }\n            .yalid-scroll-phone .reel-side.one { top: 15%; height: 5%; }\n            .yalid-scroll-phone .reel-side.two { top: 23%; height: 8%; }\n            .yalid-scroll-phone .reel-side.three { top: 34%; height: 8%; }\n            .yalid-scroll-phone .reel-side.power { left: auto; right: -2px; top: 25%; height: 12%; }\n            .yalid-scroll-phone .reel-screen { position: relative; width: 100%; height: 100%; border-radius: 13.5% / 6.2%; overflow: hidden; isolation: isolate; background:var(--token-1a772fd5-3867-4246-acd4-f46ef551c725, #1B1B1B); }\n            .yalid-scroll-phone .reel-track { position: absolute; inset: 0; }\n            .yalid-scroll-phone .reel-panel { position: absolute; left: 0; width: 100%; height: 100%; background:var(--token-1a772fd5-3867-4246-acd4-f46ef551c725, #1B1B1B); overflow: hidden; }\n            .yalid-scroll-phone .reel-panel img, .yalid-scroll-phone .reel-panel video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }\n            .yalid-scroll-phone .reel-screen-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 52px 20px 28px; background:linear-gradient(transparent, var(--token-8f70598f-5783-4f8e-aaea-3a7df737568f, rgba(27,27,27,0.667))); color:var(--token-6807ae29-77db-4749-94fe-0b2283e99142, #F7F4ED); font-size: 12px; font-weight: 500; line-height: 1.4; pointer-events: none; }\n            .yalid-scroll-phone .reel-home { position: absolute; width: 35%; height: 3px; border-radius: 5px; background:var(--token-8c5486fb-f918-4a8d-8e01-a5278599218d, rgba(247,244,237,0.933)); bottom: 10px; left: 32.5%; pointer-events: none; }\n            .yalid-scroll-phone .reel-playback { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border:0; background:transparent; color:var(--reel-body); padding: 8px 16px; font-size: 12px; }\n            .yalid-scroll-phone .reel-playback:hover { color:var(--reel-accent); }\n            .yalid-scroll-phone .reel-playback-wrap { height: 44px; }\n            .yalid-scroll-phone .reel-error { position: absolute; inset: auto 12px 70px; color:var(--token-6807ae29-77db-4749-94fe-0b2283e99142, #F7F4ED); background:var(--token-1a772fd5-3867-4246-acd4-f46ef551c725, #1B1B1B); padding: 16px; font-size: 12px; line-height: 1.5; }\n            .yalid-scroll-phone .reel-error button { display: block; color:var(--token-6807ae29-77db-4749-94fe-0b2283e99142, #F7F4ED); background:transparent; border:1px solid var(--token-af1184f4-00e5-4fee-97b4-7ad82bec74ed, rgba(247,244,237,0.3)); border-radius: 8px; min-height: 44px; padding: 8px 16px; margin-top: 8px; }\n            .yalid-scroll-phone.is-static { --reel-stage-height: 760px; }\n            .yalid-scroll-phone.is-static .reel-stage, .yalid-scroll-phone.is-manual .reel-stage { position: relative; top: auto; }\n            .yalid-scroll-phone.is-manual .reel-stage { height: auto; min-height: 620px; }\n            .yalid-scroll-phone.is-manual .reel-device { width: min(280px, 80%); }\n            @container (max-width: 680px) {\n                .yalid-scroll-phone .reel-stage { top: 80px; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0,1fr) auto auto; gap: 12px; padding: 16px 0; }\n                .yalid-scroll-phone .reel-copy { display: contents; }\n                .yalid-scroll-phone h2 { font-size: 28px; line-height: 1.12; letter-spacing: -0.03em; text-align: center; max-width: 420px; margin: 0 auto; }\n                .yalid-scroll-phone .reel-device-column { grid-row: 2; gap: 4px; height: 100%; min-height: 0; justify-content: center; }\n                .yalid-scroll-phone .reel-device { width: auto; height: calc(100% - 48px); max-height: 492px; flex: none; }\n                .yalid-scroll-phone .reel-chapters { grid-row: 3; margin: 0; text-align: center; }\n                .yalid-scroll-phone h3 { font-size: 18px; margin-bottom: 6px; }\n                .yalid-scroll-phone p { font-size: 14px; line-height: 1.5; }\n                .yalid-scroll-phone .reel-navigation { grid-row: 4; margin: 0; gap: 12px; }\n                .yalid-scroll-phone .reel-step { font-size: 12px; padding-bottom: 0; }\n                .yalid-scroll-phone .reel-hint { display: none; }\n                .yalid-scroll-phone .reel-playback, .yalid-scroll-phone .reel-playback-wrap { min-height: 44px; height: 44px; padding-top: 4px; padding-bottom: 4px; }\n                .yalid-scroll-phone.is-static { --reel-stage-height: 800px; }\n                .yalid-scroll-phone.is-static .reel-stage, .yalid-scroll-phone.is-manual .reel-stage { gap: 12px; }\n                .yalid-scroll-phone.is-manual .reel-stage { grid-template-rows: auto auto auto auto; }\n                .yalid-scroll-phone.is-manual .reel-device-column { height: auto; }\n                .yalid-scroll-phone.is-manual .reel-device { width: 200px; height: auto; }\n            }\n            @media (prefers-reduced-motion: reduce) { .yalid-scroll-phone .reel-chapter { transition: none; } }\n        `}),/*#__PURE__*/_jsxs(\"div\",{ref:stage,className:\"reel-stage\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"reel-copy\",children:[/*#__PURE__*/_jsx(\"h2\",{id:`${uid}-heading`,style:{...headingFont,fontSize:\"clamp(28px, 4cqw, var(--reel-heading-size))\"},children:heading}),/*#__PURE__*/_jsx(\"div\",{className:\"reel-chapters\",\"aria-live\":\"polite\",\"aria-atomic\":\"true\",children:scenes.map((scene,index)=>/*#__PURE__*/_jsxs(\"div\",{className:`reel-chapter${active===index?\" is-active\":\"\"}`,\"aria-hidden\":active!==index,children:[/*#__PURE__*/_jsx(\"h3\",{children:scene.title}),/*#__PURE__*/_jsx(\"p\",{style:{...bodyFont,fontSize:\"clamp(14px, 1.5cqw, var(--reel-body-size))\"},children:scene.description})]},index))}),/*#__PURE__*/_jsx(\"div\",{className:\"reel-navigation\",role:\"group\",\"aria-label\":\"Choose a showcase scene\",children:scenes.map((scene,index)=>/*#__PURE__*/_jsx(\"button\",{className:\"reel-step\",\"aria-pressed\":active===index,onClick:()=>selectScene(index),children:scene.label},index))}),/*#__PURE__*/_jsxs(\"p\",{className:\"reel-hint\",children:[/*#__PURE__*/_jsx(\"svg\",{\"aria-hidden\":\"true\",width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.5\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M12 4v16m-6-6 6 6 6-6\"})}),manual?\"Choose a scene to explore.\":\"Keep scrolling to see the next story.\"]})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"reel-device-column\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"reel-device\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"reel-side one\",\"aria-hidden\":\"true\"}),/*#__PURE__*/_jsx(\"span\",{className:\"reel-side two\",\"aria-hidden\":\"true\"}),/*#__PURE__*/_jsx(\"span\",{className:\"reel-side three\",\"aria-hidden\":\"true\"}),/*#__PURE__*/_jsx(\"span\",{className:\"reel-side power\",\"aria-hidden\":\"true\"}),/*#__PURE__*/_jsxs(\"div\",{className:\"reel-screen\",\"aria-label\":\"Phone media showcase\",children:[/*#__PURE__*/_jsx(motion.div,{className:\"reel-track\",style:{y:position},children:scenes.map((scene,index)=>/*#__PURE__*/_jsxs(\"div\",{className:\"reel-panel\",style:{top:`${index*100}%`},\"aria-hidden\":active!==index,children:[scene.poster.src&&/*#__PURE__*/_jsx(\"img\",{src:scene.poster.src,srcSet:scene.poster.srcSet,alt:scene.poster.alt||scene.label,loading:index===0?\"eager\":\"lazy\"}),scene.video&&hydrated&&!isStatic&&/*#__PURE__*/_jsx(\"video\",{ref:element=>{videos.current[index]=element;},src:inView&&index===active?scene.video:undefined,poster:scene.poster.src,muted:true,playsInline:true,loop:true,preload:\"none\",\"aria-label\":scene.poster.alt||scene.label,onPlaying:()=>{if(activeRef.current===index)setPlaying(true);},onPause:()=>{if(activeRef.current===index)setPlaying(false);},onError:()=>setFailed(previous=>({...previous,[index]:true}))}),failed[index]&&/*#__PURE__*/_jsxs(\"div\",{className:\"reel-error\",children:[\"This video couldn’t load.\",/*#__PURE__*/_jsx(\"button\",{onClick:()=>{setFailed(previous=>({...previous,[index]:false}));videos.current[index]?.load();videos.current[index]?.play().catch(()=>setPlaying(false));},children:\"Retry video\"})]})]},`${index}-${scene.video??scene.poster.src}`))}),/*#__PURE__*/_jsx(\"div\",{className:\"reel-screen-label\",\"aria-hidden\":\"true\",children:scenes[active].label}),/*#__PURE__*/_jsx(\"div\",{className:\"reel-home\",\"aria-hidden\":\"true\"})]})]}),/*#__PURE__*/_jsx(\"div\",{className:\"reel-playback-wrap\",children:scenes[active].video?/*#__PURE__*/_jsxs(\"button\",{className:\"reel-playback\",onClick:togglePlayback,\"aria-label\":playing?\"Pause showcase video\":\"Play showcase video\",children:[/*#__PURE__*/_jsx(\"svg\",{\"aria-hidden\":\"true\",width:\"14\",height:\"14\",viewBox:\"0 0 24 24\",fill:\"currentColor\",children:playing?/*#__PURE__*/_jsx(\"path\",{d:\"M6 4h4v16H6zm8 0h4v16h-4z\"}):/*#__PURE__*/_jsx(\"path\",{d:\"m8 4 12 8-12 8z\"})}),playing?\"Pause video\":\"Play video\"]}):/*#__PURE__*/_jsx(\"span\",{className:\"reel-playback\",children:\"Katar River Restaurant\"})})]})]})]});}addPropertyControls(YALIDScrollPhone,{heading:{type:ControlType.String,title:\"Heading\",defaultValue:\"Made for the way people scroll.\"},videoOne:{type:ControlType.File,title:\"Reel 1\",allowedFileTypes:[\"mp4\",\"webm\"]},posterOne:{type:ControlType.ResponsiveImage,title:\"Reel 1 poster\"},videoTwo:{type:ControlType.File,title:\"Reel 2\",allowedFileTypes:[\"mp4\",\"webm\"]},posterTwo:{type:ControlType.ResponsiveImage,title:\"Reel 2 poster\"},photo:{type:ControlType.ResponsiveImage,title:\"Photo\"},titleOne:{type:ControlType.String,title:\"Title 1\",defaultValue:\"Catch the first glance.\"},bodyOne:{type:ControlType.String,title:\"Copy 1\",displayTextArea:true,defaultValue:\"Short-form video that brings a place, a product or a point of view into the feed.\"},titleTwo:{type:ControlType.String,title:\"Title 2\",defaultValue:\"Show what goes into it.\"},bodyTwo:{type:ControlType.String,title:\"Copy 2\",displayTextArea:true,defaultValue:\"Behind-the-scenes content connects the finished work with the people and process behind it.\"},titleThree:{type:ControlType.String,title:\"Title 3\",defaultValue:\"Make the details matter.\"},bodyThree:{type:ControlType.String,title:\"Copy 3\",displayTextArea:true,defaultValue:\"Photography gives your audience a closer look. Here: the food at Katar River Restaurant.\"},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#1230A5\"},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"#202020\"},bodyColor:{type:ControlType.Color,title:\"Body\",defaultValue:\"#525252\"},headingFont:{type:ControlType.Font,title:\"Heading font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"48px\",variant:\"Bold\",lineHeight:\"1.08em\",letterSpacing:\"-0.03em\"}},bodyFont:{type:ControlType.Font,title:\"Body font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"17px\",variant:\"Regular\",lineHeight:\"1.65em\",letterSpacing:\"0em\"}},scrollLength:{type:ControlType.Number,title:\"Scroll length\",min:200,max:450,step:10,unit:\"vh\",defaultValue:300},autoplay:{type:ControlType.Boolean,title:\"Autoplay muted\",defaultValue:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"YALIDScrollPhone\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"760\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"1212\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./YALIDScrollPhone.map"],"mappings":"A,mSACA,SAASuB,GAAe,EAAS,CAAC,IAAMC,EAAMC,EAAMC,CAAQ,EAAE,EAAQC,EAAM,KAAK,IAAI,EAAE,KAAK,MAAMH,CAAK,CAAC,EAAE,OAAOG,GAAOA,EAAM,EAAEF,GAAOD,EA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