{"version":3,"file":"TimerTicker.CafPo4-e.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","RichText","useRef","useMemo","useState"],"sources":["https:/framerusercontent.com/modules/0pKfvHYP07ToN4Ffh8bV/FLnRgdJp1YY2bsWGuUmz/URLMerger.js","https:/framerusercontent.com/modules/O15pFpB8R0RO00XrpwNJ/BIgTLJZueBEXsw9fKzVi/XoFfI71Hb.js","https:/framerusercontent.com/modules/erQyY0i3M3w7m6aJsF32/IINGlfgXygdQbpOHinKx/TimerTicker.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";export function withDestinationLink(Component){return /*#__PURE__*/forwardRef((props,ref)=>{// CMS field automatically passed from collection item\nconst slug=props.href?.split(\"/\")[1];// Evaluate at render time (SSR + client) to prevent hydration mismatch.\n// Default to production; opt into staging only on the v2 preview host.\nconst isStaging=typeof window!==\"undefined\"&&window.location.hostname===\"v2.vacationdealhub.com\";const url=slug?isStaging?`https://vacation-checkout.cubestagearea.com/${slug}`:`https://book.vacationdealhub.com/${slug}`:undefined;const updatedProps=slug?{...props,href:url}:props;return /*#__PURE__*/_jsx(Component,{ref:ref,...updatedProps});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withDestinationLink\":{\"type\":\"reactHoc\",\"name\":\"withDestinationLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./URLMerger.map","// Generated by Framer (c4d24af)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Link,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCodeBoundaryForOverrides,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import{withDestinationLink}from\"https://framerusercontent.com/modules/0pKfvHYP07ToN4Ffh8bV/FLnRgdJp1YY2bsWGuUmz/URLMerger.js\";const MotionAWithDestinationLink18xq4as=withCodeBoundaryForOverrides(motion.a,{nodeId:\"m0hQF5e7b\",override:withDestinationLink,scopeId:\"XoFfI71Hb\"});const cycleOrder=[\"m0hQF5e7b\",\"IBCGtKYcS\",\"xvOfvgfCT\",\"RfraP4BMI\"];const serializationHash=\"framer-l2UDF\";const variantClassNames={IBCGtKYcS:\"framer-v-hooia3\",m0hQF5e7b:\"framer-v-18xq4as\",RfraP4BMI:\"framer-v-k4otqq\",xvOfvgfCT:\"framer-v-1jhm414\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const SIdeUKcgg=undefined;const PCxXKWys2=undefined;const transition1={bounce:.2,delay:0,duration:.4,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 humanReadableVariantMap={\"Phone Book Now\":\"RfraP4BMI\",\"Sale Book Now Button\":\"xvOfvgfCT\",\"Variant 1\":\"m0hQF5e7b\",\"Variant 2 - Big Button\":\"IBCGtKYcS\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,linkTo,newTab,width,...props})=>{return{...props,PCxXKWys2:newTab??props.PCxXKWys2??true,SIdeUKcgg:linkTo??props.SIdeUKcgg,variant:humanReadableVariantMap[props.variant]??props.variant??\"m0hQF5e7b\"};};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,SIdeUKcgg,PCxXKWys2,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"m0hQF5e7b\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if([\"IBCGtKYcS\",\"xvOfvgfCT\",\"RfraP4BMI\"].includes(baseVariant))return false;return true;};const isDisplayed1=()=>{if([\"IBCGtKYcS\",\"xvOfvgfCT\",\"RfraP4BMI\"].includes(baseVariant))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__*/_jsx(Link,{href:SIdeUKcgg,motionChild:true,nodeId:\"m0hQF5e7b\",openInNewTab:true,scopeId:\"XoFfI71Hb\",smoothScroll:false,...addPropertyOverrides({IBCGtKYcS:{openInNewTab:PCxXKWys2}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsxs(MotionAWithDestinationLink18xq4as,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-18xq4as\",className,classNames)} framer-1v998w1`,\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"m0hQF5e7b\",ref:refBinding,style:{backgroundColor:\"rgb(2, 181, 0)\",borderBottomLeftRadius:30,borderBottomRightRadius:30,borderTopLeftRadius:30,borderTopRightRadius:30,...style},variants:{IBCGtKYcS:{borderBottomLeftRadius:4,borderBottomRightRadius:4,borderTopLeftRadius:4,borderTopRightRadius:4},RfraP4BMI:{borderBottomLeftRadius:4,borderBottomRightRadius:4,borderTopLeftRadius:4,borderTopRightRadius:4},xvOfvgfCT:{borderBottomLeftRadius:4,borderBottomRightRadius:4,borderTopLeftRadius:4,borderTopRightRadius:4}},...addPropertyOverrides({IBCGtKYcS:{\"data-framer-name\":\"Variant 2 - Big Button\"},RfraP4BMI:{\"data-framer-name\":\"Phone Book Now\"},xvOfvgfCT:{\"data-framer-name\":\"Sale Book Now Button\"}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"R0Y7SW50ZXItNjAw\",\"--framer-font-weight\":\"600\",\"--framer-line-height\":\"24px\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Book Now\"})}),className:\"framer-1sba3qt\",fonts:[\"GF;Inter-600\"],layoutDependency:layoutDependency,layoutId:\"YRVZW1fYv\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\"},verticalAlignment:\"top\",withExternalLayout:true}),isDisplayed1()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"R0Y7SW50ZXItNjAw\",\"--framer-font-size\":\"40px\",\"--framer-font-weight\":\"600\",\"--framer-line-height\":\"40px\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\",\"--framer-text-transform\":\"uppercase\"},children:\"Book Now\"})}),className:\"framer-tvq0hp\",fonts:[\"GF;Inter-600\"],layoutDependency:layoutDependency,layoutId:\"bpDvPelDD\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\"},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({RfraP4BMI:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"R0Y7SW50ZXItNjAw\",\"--framer-font-size\":\"18px\",\"--framer-font-weight\":\"600\",\"--framer-line-height\":\"40px\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\",\"--framer-text-transform\":\"uppercase\"},children:\"Book Now\"})})},xvOfvgfCT:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"R0Y7SW50ZXItNjAw\",\"--framer-font-size\":\"23px\",\"--framer-font-weight\":\"600\",\"--framer-line-height\":\"40px\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\",\"--framer-text-transform\":\"uppercase\"},children:\"Book Now\"})})}},baseVariant,gestureVariant)})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-l2UDF.framer-1v998w1, .framer-l2UDF .framer-1v998w1 { display: block; }\",\".framer-l2UDF.framer-18xq4as { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); height: 54px; overflow: visible; position: relative; text-decoration: none; width: 180px; }\",\".framer-l2UDF .framer-1sba3qt { -webkit-user-select: none; flex: none; height: auto; left: 51px; pointer-events: auto; position: absolute; top: 15px; user-select: none; white-space: pre; width: auto; }\",\".framer-l2UDF .framer-tvq0hp { -webkit-user-select: none; flex: none; height: auto; left: 0px; pointer-events: auto; position: absolute; top: 0px; user-select: none; white-space: pre-wrap; width: 229px; word-break: break-word; word-wrap: break-word; }\",\".framer-l2UDF.framer-v-hooia3.framer-18xq4as { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 68px; justify-content: center; padding: 0px; width: 289px; }\",\".framer-l2UDF.framer-v-hooia3 .framer-tvq0hp { left: unset; position: relative; top: unset; }\",\".framer-l2UDF.framer-v-1jhm414.framer-18xq4as { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 40px; justify-content: center; padding: 0px; width: 170px; }\",\".framer-l2UDF.framer-v-1jhm414 .framer-tvq0hp { flex: 1 0 0px; left: unset; position: relative; top: unset; width: 1px; }\",\".framer-l2UDF.framer-v-k4otqq.framer-18xq4as { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 40px; justify-content: center; padding: 0px; width: 143px; }\",\".framer-l2UDF.framer-v-k4otqq .framer-tvq0hp { flex: 1 0 0px; height: 40px; left: unset; position: relative; top: unset; width: 1px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 54\n * @framerIntrinsicWidth 180\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"IBCGtKYcS\":{\"layout\":[\"fixed\",\"fixed\"]},\"xvOfvgfCT\":{\"layout\":[\"fixed\",\"fixed\"]},\"RfraP4BMI\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"SIdeUKcgg\":\"linkTo\",\"PCxXKWys2\":\"newTab\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerXoFfI71Hb=withCSS(Component,css,\"framer-l2UDF\");export default FramerXoFfI71Hb;FramerXoFfI71Hb.displayName=\"Book Now\";FramerXoFfI71Hb.defaultProps={height:54,width:180};addPropertyControls(FramerXoFfI71Hb,{variant:{options:[\"m0hQF5e7b\",\"IBCGtKYcS\",\"xvOfvgfCT\",\"RfraP4BMI\"],optionTitles:[\"Variant 1\",\"Variant 2 - Big Button\",\"Sale Book Now Button\",\"Phone Book Now\"],title:\"Variant\",type:ControlType.Enum},SIdeUKcgg:{description:\"\",title:\"LinkTo\",type:ControlType.Link},PCxXKWys2:{defaultValue:true,title:\"New Tab\",type:ControlType.Boolean},onPCxXKWys2Change:{changes:\"PCxXKWys2\",type:ControlType.ChangeHandler}});addFonts(FramerXoFfI71Hb,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"google\",style:\"normal\",uiFamilyName:\"Inter\",url:\"https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuGKYMZ1rib2Bg-4.woff2\",weight:\"600\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerXoFfI71Hb\",\"slots\":[],\"annotations\":{\"framerColorSyntax\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"IBCGtKYcS\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"xvOfvgfCT\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"RfraP4BMI\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"54\",\"framerVariables\":\"{\\\"SIdeUKcgg\\\":\\\"linkTo\\\",\\\"PCxXKWys2\\\":\\\"newTab\\\"}\",\"framerIntrinsicWidth\":\"180\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget,useIsStaticRenderer}from\"framer\";import{useEffect,useMemo,useRef,useState,startTransition}from\"react\";import{useInView}from\"framer-motion\";function clampInt(n){if(!Number.isFinite(n))return 0;return Math.max(0,Math.floor(n));}function msToParts(ms){const total=clampInt(ms/1e3);const hours=Math.floor(total/3600);const minutes=Math.floor(total%3600/60);const seconds=total%60;return{hours,minutes,seconds};}function pad2(n){return String(clampInt(n)).padStart(2,\"0\");}// Shared seed for consistent random duration across all instances\nlet sharedRandomMinutes=null;function getSharedRandomDuration(){if(sharedRandomMinutes===null){const minMinutes=47;const maxMinutes=58;sharedRandomMinutes=Math.floor(Math.random()*(maxMinutes-minMinutes+1))+minMinutes;}return sharedRandomMinutes;}/**\n * @framerIntrinsicWidth 280\n * @framerIntrinsicHeight 70\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function TimerTicker(props){const{mode,endDate,durationSeconds,durationHours,durationMinutes,background,numberColor,labelColor,numberFont,labelFont,labels,align,numberAlign,boxWidth,onCompleteBehavior,previewShowStatic,style}=props;const isStatic=useIsStaticRenderer();const ref=useRef(null);const inView=useInView(ref,{margin:\"200px 0px 200px 0px\",amount:.1});const targetMs=useMemo(()=>{if(typeof window===\"undefined\")return 0;if(mode===\"durationFromNow\"){const randomMinutes=getSharedRandomDuration();const ms=randomMinutes*60*1e3;return Date.now()+ms;}const d=new Date(endDate);const t=d.getTime();return Number.isFinite(t)?t:0;},[mode,endDate]);const[remainingMs,setRemainingMs]=useState(()=>{if(typeof window===\"undefined\")return 0;if(!targetMs)return 0;return Math.max(0,targetMs-Date.now());});const[hidden,setHidden]=useState(false);useEffect(()=>{if(typeof window===\"undefined\")return;if(!targetMs){startTransition(()=>setRemainingMs(0));return;}startTransition(()=>{setHidden(false);setRemainingMs(Math.max(0,targetMs-Date.now()));});},[targetMs]);useEffect(()=>{if(typeof window===\"undefined\")return;if(isStatic)return;if(!inView)return;if(!targetMs)return;if(hidden)return;let raf=0;let lastShownSeconds=-1;const tick=()=>{const ms=Math.max(0,targetMs-Date.now());const sec=Math.floor(ms/1e3);if(sec!==lastShownSeconds){lastShownSeconds=sec;startTransition(()=>setRemainingMs(ms));}if(ms<=0){if(onCompleteBehavior===\"hide\"){startTransition(()=>setHidden(true));}else{startTransition(()=>setRemainingMs(0));}return;}raf=window.requestAnimationFrame(tick);};raf=window.requestAnimationFrame(tick);return()=>{window.cancelAnimationFrame(raf);};},[targetMs,isStatic,inView,onCompleteBehavior,hidden]);const parts=useMemo(()=>{return msToParts(remainingMs);},[remainingMs]);const showSomethingInStatic=RenderTarget.current()===RenderTarget.canvas||RenderTarget.current()===RenderTarget.thumbnail||isStatic;const displayParts=useMemo(()=>{if(!showSomethingInStatic)return parts;if(!previewShowStatic)return parts;// Nice-looking static preview similar to the screenshot\nif(targetMs)return parts;return{hours:0,minutes:29,seconds:54};},[parts,previewShowStatic,showSomethingInStatic,targetMs]);if(hidden)return null;const textAlign=align;const numberTextAlign=numberAlign;const colBase={display:\"flex\",flexDirection:\"column\",alignItems:numberTextAlign===\"left\"?\"flex-start\":numberTextAlign===\"right\"?\"flex-end\":\"center\",justifyContent:\"center\",minWidth:0,width:boxWidth};const numberStyle={...numberFont,color:numberColor,lineHeight:numberFont?.lineHeight??\"1em\"};const labelStyle={...labelFont,color:labelColor,marginTop:2,lineHeight:labelFont?.lineHeight??\"1em\"};return /*#__PURE__*/_jsxs(\"div\",{ref:ref,style:{position:\"relative\",width:\"100%\",height:\"100%\",background,display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:0,padding:0,overflow:\"hidden\",...style||{}},\"aria-label\":\"Timer ticker\",role:\"group\",children:[/*#__PURE__*/_jsxs(\"div\",{style:colBase,children:[/*#__PURE__*/_jsx(\"div\",{style:numberStyle,\"aria-label\":\"Hours\",children:pad2(displayParts.hours)}),labels.show&&/*#__PURE__*/_jsx(\"div\",{style:labelStyle,children:labels.hours})]}),labels.showSemicolon&&/*#__PURE__*/_jsx(\"div\",{style:{...numberStyle,alignSelf:labels.show?\"flex-start\":\"center\"},children:\":\"}),/*#__PURE__*/_jsxs(\"div\",{style:colBase,children:[/*#__PURE__*/_jsx(\"div\",{style:numberStyle,\"aria-label\":\"Minutes\",children:pad2(displayParts.minutes)}),labels.show&&/*#__PURE__*/_jsx(\"div\",{style:labelStyle,children:labels.minutes})]}),labels.showSemicolon&&/*#__PURE__*/_jsx(\"div\",{style:{...numberStyle,alignSelf:labels.show?\"flex-start\":\"center\"},children:\":\"}),/*#__PURE__*/_jsxs(\"div\",{style:colBase,children:[/*#__PURE__*/_jsx(\"div\",{style:numberStyle,\"aria-label\":\"Seconds\",children:pad2(displayParts.seconds)}),labels.show&&/*#__PURE__*/_jsx(\"div\",{style:labelStyle,children:labels.seconds})]})]});}addPropertyControls(TimerTicker,{mode:{type:ControlType.Enum,title:\"Mode\",options:[\"countdownToDate\",\"durationFromNow\"],optionTitles:[\"To Date\",\"Duration\"],defaultValue:\"countdownToDate\",displaySegmentedControl:true},endDate:{type:ControlType.Date,title:\"End Date\",defaultValue:new Date(Date.now()+60*60*1e3).toJSON(),displayTime:true,hidden:({mode})=>mode!==\"countdownToDate\"},durationSeconds:{type:ControlType.Number,title:\"Duration\",defaultValue:1794,min:0,max:60*60*24*7,step:1,unit:\"s\",hidden:({mode})=>mode!==\"durationFromNow\"},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgba(0, 0, 0, 0)\"},numberColor:{type:ControlType.Color,title:\"Number\",defaultValue:\"#FFFFFF\"},labelColor:{type:ControlType.Color,title:\"Label\",defaultValue:\"#FFFFFF\"},numberFont:{type:ControlType.Font,title:\"Number Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"37px\",variant:\"Regular\",letterSpacing:\"-0.02em\",lineHeight:\"1em\",textAlign:\"center\"}},labelFont:{type:ControlType.Font,title:\"Label Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"11px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1em\",textAlign:\"center\"}},labels:{type:ControlType.Object,title:\"Labels\",icon:\"object\",controls:{show:{type:ControlType.Boolean,title:\"Show\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},showSemicolon:{type:ControlType.Boolean,title:\"Semicolon\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},hours:{type:ControlType.String,title:\"Hours\",defaultValue:\"Hours\"},minutes:{type:ControlType.String,title:\"Minutes\",defaultValue:\"Minutes\"},seconds:{type:ControlType.String,title:\"Seconds\",defaultValue:\"Seconds\"}},defaultValue:{show:true,showSemicolon:false,hours:\"Hours\",minutes:\"Minutes\",seconds:\"Seconds\"}},align:{type:ControlType.Enum,title:\"Align\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],defaultValue:\"center\",displaySegmentedControl:true},numberAlign:{type:ControlType.Enum,title:\"Number Align\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],defaultValue:\"center\",displaySegmentedControl:true},boxWidth:{type:ControlType.Number,title:\"Box Width\",defaultValue:60,min:20,max:200,step:1,unit:\"px\"},onCompleteBehavior:{type:ControlType.Enum,title:\"On Complete\",options:[\"stopAtZero\",\"hide\"],optionTitles:[\"Stop at 0\",\"Hide\"],defaultValue:\"stopAtZero\"},previewShowStatic:{type:ControlType.Boolean,title:\"Canvas Preview\",defaultValue:true,enabledTitle:\"Static\",disabledTitle:\"Live\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TimerTicker\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"280\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"70\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TimerTicker.map"],"mappings":"gZAAyE,SAAgB,EAAoB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CACpK,IAAM,EAAK,EAAM,MAAM,MAAM,IAAI,CAAC,GAE5B,EAAiB,IAAS,QAAa,EAAO,SAAS,WAAW,yBAA+B,EAAI,EAAK,EAAU,+CAA+C,IAAO,oCAAoC,IAAO,IAAA,GAA4D,OAAoB,EAAK,EAAU,CAAK,MAAI,GAA3E,EAAK,CAAC,GAAG,EAAM,KAAK,EAAI,CAAC,EA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