{"version":3,"file":"shared-lib.DNHUPgE9.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","RichText"],"sources":["https:/framerusercontent.com/modules/XzwcjIbicqmnsiFCPmTf/48rNyeu8lxi38qBtl6qH/H8SQVplgZ.js","https:/framerusercontent.com/modules/aKHIB8UNukkfiOm89H36/vGHnEaEJjpOCifLT5c2z/siteMetadata.js"],"sourcesContent":["// Generated by Framer (f2f96df)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Link,RichText,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={x8ix5HibN:{hover:true}};const cycleOrder=[\"x8ix5HibN\",\"yAYTCEkdY\"];const serializationHash=\"framer-ATM2r\";const variantClassNames={x8ix5HibN:\"framer-v-17r3mq\",yAYTCEkdY:\"framer-v-1oz1ksf\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const lQpeBtiO7=undefined;const x1mPwHf_M=undefined;const UcHo_Zur3=undefined;const u1NpBegAt=undefined;const sDT5D6SAJ=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={\"Variant 1\":\"x8ix5HibN\",Secondary:\"yAYTCEkdY\"};const Variants=motion.create(React.Fragment);const getProps=({click,fontSize,height,id,label,link,newTab,width,...props})=>{return{...props,lQpeBtiO7:click??props.lQpeBtiO7,sDT5D6SAJ:label??props.sDT5D6SAJ??\"Button\",u1NpBegAt:fontSize??props.u1NpBegAt??16,UcHo_Zur3:newTab??props.UcHo_Zur3,variant:humanReadableVariantMap[props.variant]??props.variant??\"x8ix5HibN\",x1mPwHf_M:link??props.x1mPwHf_M};};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,sDT5D6SAJ,x1mPwHf_M,lQpeBtiO7,u1NpBegAt,UcHo_Zur3,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"x8ix5HibN\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap18l2yq=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(lQpeBtiO7){const res=await lQpeBtiO7(...args);if(res===false)return false;}});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,{href:x1mPwHf_M,motionChild:true,nodeId:\"x8ix5HibN\",openInNewTab:UcHo_Zur3,scopeId:\"H8SQVplgZ\",smoothScroll:true,children:/*#__PURE__*/_jsx(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-17r3mq\",className,classNames)} framer-1i1rqs`,\"data-border\":true,\"data-framer-name\":\"Variant 1\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"x8ix5HibN\",onTap:onTap18l2yq,ref:refBinding,style:{\"--border-bottom-width\":\"3px\",\"--border-color\":\"rgb(255, 255, 255)\",\"--border-left-width\":\"3px\",\"--border-right-width\":\"3px\",\"--border-style\":\"solid\",\"--border-top-width\":\"3px\",backgroundColor:\"rgba(0, 0, 0, 0)\",...style},variants:{\"x8ix5HibN-hover\":{\"--border-bottom-width\":\"0px\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-top-width\":\"0px\",backgroundColor:\"rgb(255, 255, 255)\"},yAYTCEkdY:{\"--border-bottom-width\":\"0px\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-top-width\":\"0px\",backgroundColor:\"rgb(255, 255, 255)\"}},...addPropertyOverrides({\"x8ix5HibN-hover\":{\"data-framer-name\":undefined},yAYTCEkdY:{\"data-framer-name\":\"Secondary\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7Sm95c3RpeCBNb25vc3BhY2U=\",\"--framer-font-family\":'\"Joystix Monospace\", \"Joystix Monospace Placeholder\", monospace',\"--framer-font-size\":\"calc(var(--variable-reference-u1NpBegAt-H8SQVplgZ) * 1px)\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Button\"})}),className:\"framer-1jt07jp\",fonts:[\"CUSTOMV2;Joystix Monospace\"],layoutDependency:layoutDependency,layoutId:\"T511ALHcX\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--variable-reference-u1NpBegAt-H8SQVplgZ\":u1NpBegAt},text:sDT5D6SAJ,variants:{\"x8ix5HibN-hover\":{\"--extracted-r6o4lv\":\"rgb(6, 6, 6)\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({\"x8ix5HibN-hover\":{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7Sm95c3RpeCBNb25vc3BhY2U=\",\"--framer-font-family\":'\"Joystix Monospace\", \"Joystix Monospace Placeholder\", monospace',\"--framer-font-size\":\"calc(var(--variable-reference-u1NpBegAt-H8SQVplgZ) * 1px)\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(6, 6, 6))\"},children:\"Button\"})})},yAYTCEkdY:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7Sm95c3RpeCBNb25vc3BhY2U=\",\"--framer-font-family\":'\"Joystix Monospace\", \"Joystix Monospace Placeholder\", monospace',\"--framer-font-size\":\"calc(var(--variable-reference-u1NpBegAt-H8SQVplgZ) * 1px)\"},children:\"Button\"})})}},baseVariant,gestureVariant)})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-ATM2r.framer-1i1rqs, .framer-ATM2r .framer-1i1rqs { display: block; }\",\".framer-ATM2r.framer-17r3mq { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; height: min-content; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: 16px 32px 16px 32px; position: relative; text-decoration: none; width: min-content; }\",\".framer-ATM2r .framer-1jt07jp { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",'.framer-ATM2r[data-border=\"true\"]::after, .framer-ATM2r [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; corner-shape: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 51\n * @framerIntrinsicWidth 144\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"yAYTCEkdY\":{\"layout\":[\"auto\",\"auto\"]},\"QwdpCmGBj\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"sDT5D6SAJ\":\"label\",\"x1mPwHf_M\":\"link\",\"lQpeBtiO7\":\"click\",\"u1NpBegAt\":\"fontSize\",\"UcHo_Zur3\":\"newTab\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerH8SQVplgZ=withCSS(Component,css,\"framer-ATM2r\");export default FramerH8SQVplgZ;FramerH8SQVplgZ.displayName=\"Button\";FramerH8SQVplgZ.defaultProps={height:51,width:144};addPropertyControls(FramerH8SQVplgZ,{variant:{options:[\"x8ix5HibN\",\"yAYTCEkdY\"],optionTitles:[\"Variant 1\",\"Secondary\"],title:\"Variant\",type:ControlType.Enum},sDT5D6SAJ:{defaultValue:\"Button\",displayTextArea:false,placeholder:\"Button\",title:\"Label\",type:ControlType.String},onsDT5D6SAJChange:{changes:\"sDT5D6SAJ\",type:ControlType.ChangeHandler},x1mPwHf_M:{title:\"Link\",type:ControlType.Link},lQpeBtiO7:{title:\"Click\",type:ControlType.EventHandler},u1NpBegAt:{defaultValue:16,title:\"Font Size\",type:ControlType.Number},onu1NpBegAtChange:{changes:\"u1NpBegAt\",type:ControlType.ChangeHandler},UcHo_Zur3:{defaultValue:false,title:\"New Tab\",type:ControlType.Boolean},onUcHo_Zur3Change:{changes:\"UcHo_Zur3\",type:ControlType.ChangeHandler}});addFonts(FramerH8SQVplgZ,[{explicitInter:true,fonts:[{cssFamilyName:\"Joystix Monospace\",source:\"custom\",style:\"normal\",uiFamilyName:\"Joystix\",url:\"https://framerusercontent.com/assets/VrDxntps8o4GkC9REWOdtb8Fe4g.woff2\",weight:\"400\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerH8SQVplgZ\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"144\",\"framerComponentViewportWidth\":\"true\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"51\",\"framerVariables\":\"{\\\"sDT5D6SAJ\\\":\\\"label\\\",\\\"x1mPwHf_M\\\":\\\"link\\\",\\\"lQpeBtiO7\\\":\\\"click\\\",\\\"u1NpBegAt\\\":\\\"fontSize\\\",\\\"UcHo_Zur3\\\":\\\"newTab\\\"}\",\"framerContractVersion\":\"1\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"yAYTCEkdY\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"QwdpCmGBj\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerColorSyntax\":\"true\",\"framerAutoSizeImages\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./H8SQVplgZ.map","// Generated by Framer (b1a1598)\nexport default function metadata(params,activeLocale){return{description:\"Enjoy your time here...\",favicon:\"https://framerusercontent.com/assets/EGbiuI977wObnja9UqUToQsaQI.png\",robots:\"max-image-preview:large\",title:\"Shlok's Crib\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"8UACyhB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc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