{"version":3,"file":"shared-lib.B0DO8LAp.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","RichText"],"sources":["https:/framerusercontent.com/modules/0TWSujaaIZfm1eqqUlEp/4nObZhPaevqT2G5m0HRp/J0k84xqr3.js","https:/framerusercontent.com/modules/2Y70dy8brbkvJnp4gm2v/BkUteaxWyoI0zTZIbJnj/PpeU3zii_.js","https:/framerusercontent.com/modules/4GpnpgFmK2QroXoSOEir/Pe69H0GCQfobnRxwcmKJ/siteMetadata.js"],"sourcesContent":["// Generated by Framer (189896a)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Link,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={AJUZQnIWZ:{hover:true,pressed:true},id7GQaIr5:{hover:true,pressed:true}};const cycleOrder=[\"id7GQaIr5\",\"AJUZQnIWZ\"];const serializationHash=\"framer-8IcUs\";const variantClassNames={AJUZQnIWZ:\"framer-v-77npil\",id7GQaIr5:\"framer-v-m49w27\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}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 Variants=motion.create(React.Fragment);const humanReadableVariantMap={\"Variant 1\":\"id7GQaIr5\",\"Variant 2\":\"AJUZQnIWZ\"};const getProps=({height,id,link,title,tracking,width,...props})=>{return{...props,EMy1bGyfG:tracking??props.EMy1bGyfG,FTTIG_1QT:link??props.FTTIG_1QT,u0oblcz6d:title??props.u0oblcz6d??\"Join Waitlist\",variant:humanReadableVariantMap[props.variant]??props.variant??\"id7GQaIr5\"};};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,u0oblcz6d,FTTIG_1QT,EMy1bGyfG,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"id7GQaIr5\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);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,{clickTrackingId:EMy1bGyfG,href:FTTIG_1QT,motionChild:true,nodeId:\"id7GQaIr5\",openInNewTab:false,scopeId:\"J0k84xqr3\",smoothScroll:true,children:/*#__PURE__*/_jsx(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-m49w27\",className,classNames)} framer-1moij75`,\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"id7GQaIr5\",ref:refBinding,style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:100,borderBottomRightRadius:100,borderTopLeftRadius:100,borderTopRightRadius:100,opacity:1,...style},variants:{\"AJUZQnIWZ-hover\":{backgroundColor:\"rgb(135, 135, 135)\"},\"AJUZQnIWZ-pressed\":{backgroundColor:\"rgb(77, 77, 77)\"},\"id7GQaIr5-hover\":{opacity:.5},\"id7GQaIr5-pressed\":{opacity:.25}},...addPropertyOverrides({\"AJUZQnIWZ-hover\":{\"data-framer-name\":undefined},\"AJUZQnIWZ-pressed\":{\"data-framer-name\":undefined},\"id7GQaIr5-hover\":{\"data-framer-name\":undefined},\"id7GQaIr5-pressed\":{\"data-framer-name\":undefined},AJUZQnIWZ:{\"data-framer-name\":\"Variant 2\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7SW50ZXItNjAw\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"18px\",\"--framer-font-weight\":\"600\",\"--framer-line-height\":\"1.1em\",\"--framer-text-alignment\":\"center\"},children:\"Join Waitlist\"})}),className:\"framer-jexr87\",fonts:[\"GF;Inter-600\"],layoutDependency:layoutDependency,layoutId:\"i1C9O0ANK\",style:{\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--framer-paragraph-spacing\":\"0px\"},text:u0oblcz6d,verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({AJUZQnIWZ:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7SW50ZXItNjAw\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"13px\",\"--framer-font-weight\":\"600\",\"--framer-line-height\":\"1.1em\",\"--framer-text-alignment\":\"center\"},children:\"Join Waitlist\"})})}},baseVariant,gestureVariant)})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-8IcUs.framer-1moij75, .framer-8IcUs .framer-1moij75 { display: block; }\",\".framer-8IcUs.framer-m49w27 { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 50px; justify-content: center; overflow: visible; padding: 25px 30px 25px 30px; position: relative; text-decoration: none; width: min-content; }\",\".framer-8IcUs .framer-jexr87 { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-8IcUs.framer-v-77npil.framer-m49w27 { height: min-content; padding: 8px 16px 8px 16px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 50\n * @framerIntrinsicWidth 166\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"fixed\"]},\"AJUZQnIWZ\":{\"layout\":[\"auto\",\"auto\"]},\"evn2OR2qf\":{\"layout\":[\"auto\",\"auto\"]},\"qoTlw0uM8\":{\"layout\":[\"auto\",\"auto\"]},\"Ck4zUweLv\":{\"layout\":[\"auto\",\"fixed\"]},\"qYTT0yjlN\":{\"layout\":[\"auto\",\"fixed\"]}}}\n * @framerVariables {\"u0oblcz6d\":\"title\",\"FTTIG_1QT\":\"link\",\"EMy1bGyfG\":\"tracking\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerJ0k84xqr3=withCSS(Component,css,\"framer-8IcUs\");export default FramerJ0k84xqr3;FramerJ0k84xqr3.displayName=\"Button-Main\";FramerJ0k84xqr3.defaultProps={height:50,width:166};addPropertyControls(FramerJ0k84xqr3,{variant:{options:[\"id7GQaIr5\",\"AJUZQnIWZ\"],optionTitles:[\"Variant 1\",\"Variant 2\"],title:\"Variant\",type:ControlType.Enum},u0oblcz6d:{defaultValue:\"Join Waitlist\",displayTextArea:false,title:\"Title\",type:ControlType.String},FTTIG_1QT:{description:\"\",title:\"Link\",type:ControlType.Link},EMy1bGyfG:{title:\"Tracking\",type:ControlType.TrackingId}});addFonts(FramerJ0k84xqr3,[{explicitInter:true,fonts:[{family:\"Inter\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/inter/v19/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuGKYMZ1rib2Bg-4.woff2\",weight:\"600\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerJ0k84xqr3\",\"slots\":[],\"annotations\":{\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\",\"framerColorSyntax\":\"true\",\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"166\",\"framerVariables\":\"{\\\"u0oblcz6d\\\":\\\"title\\\",\\\"FTTIG_1QT\\\":\\\"link\\\",\\\"EMy1bGyfG\\\":\\\"tracking\\\"}\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"AJUZQnIWZ\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"evn2OR2qf\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"qoTlw0uM8\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"Ck4zUweLv\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"qYTT0yjlN\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicHeight\":\"50\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./J0k84xqr3.map","// Generated by Framer (7657e4f)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-yHsL8 .framer-styles-preset-1mucppc:not(.rich-text-wrapper), .framer-yHsL8 .framer-styles-preset-1mucppc.rich-text-wrapper a { --framer-link-current-text-decoration: underline; --framer-link-hover-text-color: rgba(255, 255, 255, 0.91); --framer-link-hover-text-decoration: none; --framer-link-text-color: #888888; --framer-link-text-decoration: none; transition-delay: 0s; transition-duration: 0.1s; transition-property: color; transition-timing-function: cubic-bezier(0.44, 0, 0.56, 1); }\"];export const className=\"framer-yHsL8\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (0ea0c8c)\nexport default function metadata(params,activeLocale){return{description:\"Turn goals into real progress with the #1 Discipline app, Pattrn. Set smarter goals, track habits effortlessly, and uncover patterns with AI-powered insights. Available now on the App Store for iOS. | Habit & Goal Tracker for iPhone\\n\",favicon:\"https://framerusercontent.com/assets/8ji9nQ8wtlJY4MT3IZ9Dlek1FU.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/fTv6tTMQnLROs5wqCnGkDRU.png\",title:\"Pattrn | Discipline App | Habit Tracker & Goal Setting\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"+UACgjB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAuF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,uCAA5rB,IAAyI,IAAkE,IAA4B,EAAiC,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,QAAQ,EAAI,EAAE,UAAU,CAAC,MAAM,GAAK,QAAQ,EAAI,CAAC,EAAQ,EA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