{"version":3,"file":"shared.OF4OCeE9.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","RichText","useStore","useState","useMemo"],"sources":["https:/framerusercontent.com/modules/42ILF32X5HW3wtXPR4ge/len3Fx66lIQetWtarKuO/jQy0xIHHM.js","https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framerusercontent.com/modules/28rXvpPsrum7FH6cMELS/1jCAazZw1EGHjrG5Nu5D/Utils.js","https:/framer.com/m/framer/utils.js@^0.9.0","https:/framerusercontent.com/modules/Ocnv7ZaILGmwnR6Hs1bV/1G2loIrg5sL4XEqFarf8/Examples.js","https:/framerusercontent.com/modules/DyldKav0OOAWR3bCAlhK/8c3l9FzyOlGpbPncYhfc/nullstate.js","https:/framer.com/m/framer/icon-nullstate.js@0.7.0","https:/framerusercontent.com/modules/Ma20hU0GGRxLxZphbywl/OSpwWF91FHPVFyQJjMHt/utils.js"],"sourcesContent":["// Generated by Framer (c54c588)\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 cycleOrder=[\"L6_dT1lLT\",\"rgLsWbwH3\"];const serializationHash=\"framer-BLils\";const variantClassNames={L6_dT1lLT:\"framer-v-1s3aon8\",rgLsWbwH3:\"framer-v-1hoh5e3\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const dapnZ6Wm4=undefined;const cDicikJvY=undefined;const r6d6FznHK=undefined;const fsGuD3Le5=undefined;const wkEU8EpFV=undefined;const kMzZn7OU4=undefined;const wNrMP8TJH=undefined;const mYP2P3Wt9=undefined;const wDjtpyTzm=undefined;const R1H3Jga6o=undefined;const zEjAC4iKS=undefined;const gfl3_jzGP=undefined;const JyVLf41vH=undefined;const numberToPixelString=value=>{if(typeof value!==\"number\")return value;if(!Number.isFinite(value))return undefined;return Math.max(0,value)+\"px\";};const radiusForCorner=(value,cornerIndex)=>{if(typeof value===\"number\"&&Number.isFinite(value))return Math.max(0,value)+\"px\";if(typeof value!==\"string\"||typeof cornerIndex!==\"number\")return undefined;const segments=value.split(\" \");return segments[cornerIndex]||segments[cornerIndex-2]||segments[0];};const transition1={bounce:0,delay:0,duration:.5,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={Default:\"L6_dT1lLT\",Hover:\"rgLsWbwH3\"};const Variants=motion.create(React.Fragment);const getProps=({backgroundColor,borderColor,click,fontSize,height,hoverColor,id,link2,newTab,padding,radius,smoothScroll,textColor,textHoverColor,titleText,width,...props})=>{return{...props,cDicikJvY:backgroundColor??props.cDicikJvY??\"rgb(255, 255, 255)\",dapnZ6Wm4:padding??props.dapnZ6Wm4??\"14px\",fsGuD3Le5:radius??props.fsGuD3Le5??\"4px\",gfl3_jzGP:titleText??props.gfl3_jzGP??\"Text\",JyVLf41vH:textHoverColor??props.JyVLf41vH??\"rgb(0, 0, 0)\",kMzZn7OU4:link2??props.kMzZn7OU4,mYP2P3Wt9:smoothScroll??props.mYP2P3Wt9,R1H3Jga6o:textColor??props.R1H3Jga6o??\"rgb(0, 0, 0)\",r6d6FznHK:borderColor??props.r6d6FznHK??{borderColor:\"rgb(255, 255, 255)\",borderStyle:\"solid\",borderWidth:1},variant:humanReadableVariantMap[props.variant]??props.variant??\"L6_dT1lLT\",wDjtpyTzm:hoverColor??props.wDjtpyTzm??\"var(--token-8e2fbc85-28f3-46b8-9028-d6b5e5709a82, rgb(221, 195, 108))\",wkEU8EpFV:click??props.wkEU8EpFV,wNrMP8TJH:newTab??props.wNrMP8TJH,zEjAC4iKS:fontSize??props.zEjAC4iKS??16};};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,kMzZn7OU4,gfl3_jzGP,wNrMP8TJH,cDicikJvY,r6d6FznHK,wDjtpyTzm,R1H3Jga6o,JyVLf41vH,wkEU8EpFV,mYP2P3Wt9,dapnZ6Wm4,zEjAC4iKS,fsGuD3Le5,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"L6_dT1lLT\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap112ssoc=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(wkEU8EpFV){const res=await wkEU8EpFV(...args);if(res===false)return false;}setVariant(\"rgLsWbwH3\");});const onMouseEnter1466v1a=activeVariantCallback(async(...args)=>{setGestureState({isHovered:true});setVariant(\"rgLsWbwH3\");});const onMouseLeave1l2hjws=activeVariantCallback(async(...args)=>{setGestureState({isHovered:false});setVariant(\"L6_dT1lLT\");});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:kMzZn7OU4,motionChild:true,nodeId:\"L6_dT1lLT\",openInNewTab:wNrMP8TJH,scopeId:\"jQy0xIHHM\",smoothScroll:mYP2P3Wt9,children:/*#__PURE__*/_jsx(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-1s3aon8\",className,classNames)} framer-1van6yy`,\"data-border\":true,\"data-framer-name\":\"Default\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"L6_dT1lLT\",onMouseEnter:onMouseEnter1466v1a,onTap:onTap112ssoc,ref:refBinding,style:{\"--1r1z8ca\":numberToPixelString(dapnZ6Wm4),\"--border-bottom-width\":(r6d6FznHK?.borderBottomWidth??r6d6FznHK?.borderWidth)+\"px\",\"--border-color\":r6d6FznHK?.borderColor,\"--border-left-width\":(r6d6FznHK?.borderLeftWidth??r6d6FznHK?.borderWidth)+\"px\",\"--border-right-width\":(r6d6FznHK?.borderRightWidth??r6d6FznHK?.borderWidth)+\"px\",\"--border-style\":r6d6FznHK?.borderStyle,\"--border-top-width\":(r6d6FznHK?.borderTopWidth??r6d6FznHK?.borderWidth)+\"px\",backgroundColor:cDicikJvY,borderBottomLeftRadius:radiusForCorner(fsGuD3Le5,3),borderBottomRightRadius:radiusForCorner(fsGuD3Le5,2),borderTopLeftRadius:radiusForCorner(fsGuD3Le5,0),borderTopRightRadius:radiusForCorner(fsGuD3Le5,1),...style},variants:{rgLsWbwH3:{\"--border-bottom-width\":\"0px\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-top-width\":\"0px\",backgroundColor:wDjtpyTzm}},...addPropertyOverrides({rgLsWbwH3:{\"data-framer-name\":\"Hover\",onMouseLeave:onMouseLeave1l2hjws}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7RE0gU2Fucy1yZWd1bGFy\",\"--framer-font-family\":'\"DM Sans\", \"DM Sans Placeholder\", sans-serif',\"--framer-font-size\":\"calc(var(--variable-reference-zEjAC4iKS-jQy0xIHHM) * 1px)\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--variable-reference-R1H3Jga6o-jQy0xIHHM))\"},children:\"Text\"})}),className:\"framer-1mf7zpe\",fonts:[\"GF;DM Sans-regular\"],layoutDependency:layoutDependency,layoutId:\"rzN5askiy\",style:{\"--extracted-r6o4lv\":\"var(--variable-reference-R1H3Jga6o-jQy0xIHHM)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--variable-reference-JyVLf41vH-jQy0xIHHM\":JyVLf41vH,\"--variable-reference-R1H3Jga6o-jQy0xIHHM\":R1H3Jga6o,\"--variable-reference-zEjAC4iKS-jQy0xIHHM\":zEjAC4iKS},text:gfl3_jzGP,variants:{rgLsWbwH3:{\"--extracted-r6o4lv\":\"var(--variable-reference-JyVLf41vH-jQy0xIHHM)\",\"--variable-reference-JyVLf41vH-jQy0xIHHM\":JyVLf41vH}},verticalAlignment:\"center\",withExternalLayout:true,...addPropertyOverrides({rgLsWbwH3:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7RE0gU2Fucy1yZWd1bGFy\",\"--framer-font-family\":'\"DM Sans\", \"DM Sans Placeholder\", sans-serif',\"--framer-font-size\":\"calc(var(--variable-reference-zEjAC4iKS-jQy0xIHHM) * 1px)\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--variable-reference-JyVLf41vH-jQy0xIHHM))\"},children:\"Text\"})})}},baseVariant,gestureVariant)})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-BLils.framer-1van6yy, .framer-BLils .framer-1van6yy { display: block; }\",\".framer-BLils.framer-1s3aon8 { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 30px; height: min-content; justify-content: center; overflow: hidden; padding: var(--1r1z8ca); position: relative; text-decoration: none; width: min-content; will-change: var(--framer-will-change-override, transform); }\",\".framer-BLils .framer-1mf7zpe { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",'.framer-BLils[data-border=\"true\"]::after, .framer-BLils [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 47\n * @framerIntrinsicWidth 58.5\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"rgLsWbwH3\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"kMzZn7OU4\":\"link2\",\"gfl3_jzGP\":\"titleText\",\"wNrMP8TJH\":\"newTab\",\"cDicikJvY\":\"backgroundColor\",\"r6d6FznHK\":\"borderColor\",\"wDjtpyTzm\":\"hoverColor\",\"R1H3Jga6o\":\"textColor\",\"JyVLf41vH\":\"textHoverColor\",\"wkEU8EpFV\":\"click\",\"mYP2P3Wt9\":\"smoothScroll\",\"dapnZ6Wm4\":\"padding\",\"zEjAC4iKS\":\"fontSize\",\"fsGuD3Le5\":\"radius\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerjQy0xIHHM=withCSS(Component,css,\"framer-BLils\");export default FramerjQy0xIHHM;FramerjQy0xIHHM.displayName=\"White Button\";FramerjQy0xIHHM.defaultProps={height:47,width:58.5};addPropertyControls(FramerjQy0xIHHM,{variant:{options:[\"L6_dT1lLT\",\"rgLsWbwH3\"],optionTitles:[\"Default\",\"Hover\"],title:\"Variant\",type:ControlType.Enum},kMzZn7OU4:{title:\"Link 2\",type:ControlType.Link},gfl3_jzGP:{defaultValue:\"Text\",displayTextArea:false,title:\"Title Text\",type:ControlType.String},ongfl3_jzGPChange:{changes:\"gfl3_jzGP\",type:ControlType.ChangeHandler},wNrMP8TJH:{defaultValue:false,title:\"New Tab\",type:ControlType.Boolean},onwNrMP8TJHChange:{changes:\"wNrMP8TJH\",type:ControlType.ChangeHandler},cDicikJvY:{defaultValue:\"rgb(255, 255, 255)\",title:\"Background color\",type:ControlType.Color},r6d6FznHK:{defaultValue:{borderColor:\"rgb(255, 255, 255)\",borderStyle:\"solid\",borderWidth:1},title:\"Border Color\",type:ControlType.Border},wDjtpyTzm:{defaultValue:'var(--token-8e2fbc85-28f3-46b8-9028-d6b5e5709a82, rgb(221, 195, 108)) /* {\"name\":\"Accent-yellow\"} */',title:\"Hover color\",type:ControlType.Color},R1H3Jga6o:{defaultValue:\"rgb(0, 0, 0)\",title:\"Text Color\",type:ControlType.Color},JyVLf41vH:{defaultValue:\"rgb(0, 0, 0)\",title:\"Text Hover Color\",type:ControlType.Color},wkEU8EpFV:{title:\"Click\",type:ControlType.EventHandler},mYP2P3Wt9:{defaultValue:false,title:\"Smooth Scroll\",type:ControlType.Boolean},onmYP2P3Wt9Change:{changes:\"mYP2P3Wt9\",type:ControlType.ChangeHandler},dapnZ6Wm4:{defaultValue:\"14px\",title:\"Padding\",type:ControlType.Padding},zEjAC4iKS:{defaultValue:16,title:\"Font Size\",type:ControlType.Number},onzEjAC4iKSChange:{changes:\"zEjAC4iKS\",type:ControlType.ChangeHandler},fsGuD3Le5:{defaultValue:\"4px\",title:\"Radius\",type:ControlType.BorderRadius}});addFonts(FramerjQy0xIHHM,[{explicitInter:true,fonts:[{cssFamilyName:\"DM Sans\",source:\"google\",style:\"normal\",uiFamilyName:\"DM Sans\",url:\"https://fonts.gstatic.com/s/dmsans/v17/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAopxhS2f3ZGMZpg.woff2\",weight:\"400\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerjQy0xIHHM\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"58.5\",\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"47\",\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"rgLsWbwH3\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerVariables\":\"{\\\"kMzZn7OU4\\\":\\\"link2\\\",\\\"gfl3_jzGP\\\":\\\"titleText\\\",\\\"wNrMP8TJH\\\":\\\"newTab\\\",\\\"cDicikJvY\\\":\\\"backgroundColor\\\",\\\"r6d6FznHK\\\":\\\"borderColor\\\",\\\"wDjtpyTzm\\\":\\\"hoverColor\\\",\\\"R1H3Jga6o\\\":\\\"textColor\\\",\\\"JyVLf41vH\\\":\\\"textHoverColor\\\",\\\"wkEU8EpFV\\\":\\\"click\\\",\\\"mYP2P3Wt9\\\":\\\"smoothScroll\\\",\\\"dapnZ6Wm4\\\":\\\"padding\\\",\\\"zEjAC4iKS\\\":\\\"fontSize\\\",\\\"fsGuD3Le5\\\":\\\"radius\\\"}\",\"framerColorSyntax\":\"true\",\"framerImmutableVariables\":\"true\",\"framerAutoSizeImages\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./jQy0xIHHM.map","import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map","/*\n * createStore (framer/store@1.0.1)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js\"\n","export const centerContent = {\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nexport const autoSizingText = {\n    width: \"max-content\",\n    wordBreak: \"break-word\",\n    overflowWrap: \"break-word\",\n    overflow: \"hidden\",\n    whiteSpace: \"pre-wrap\",\n    flexShrink: 0\n};\nexport const defaultContainerStyles = {\n    ...centerContent,\n    overflow: \"hidden\"\n};\nexport const containerStyles = defaultContainerStyles;\nexport const randomColor = ()=>\"#\" + Math.floor(Math.random() * 16777215).toString(16)\n;\n\nexport const __FramerMetadata__ = {\"exports\":{\"centerContent\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"autoSizingText\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultContainerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomColor\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./Utils.map","/*\n * Utils (framer/utils@0.9.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/28rXvpPsrum7FH6cMELS/1jCAazZw1EGHjrG5Nu5D/Utils.js\"\n","import{jsx as _jsx}from\"react/jsx-runtime\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{randomColor}from\"https://framer.com/m/framer/utils.js@^0.9.0\";// Learn more: https://www.framer.com/docs/guides/overrides/\nconst useStore=createStore({background:\"#0099FF\"});export function withRotate(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,animate:{rotate:90},transition:{duration:2}});};}export function withHover(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,whileHover:{scale:10}});};}export function withRandomColor(Component){return props=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Examples.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport * as React from \"react\";\nexport const containerStyles = {\n    width: \"100%\",\n    height: \"100%\",\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nconst nullIconStyle = {\n    minWidth: \"10px\",\n    minHeight: \"10px\",\n    maxWidth: \"20px\",\n    maxHeight: \"20px\",\n    width: \"60%\",\n    height: \"60%\"\n};\nconst emptyStateStyle = {\n    ...containerStyles,\n    borderRadius: 6,\n    background: \"rgba(149, 149, 149, 0.1)\",\n    border: \"1px dashed rgba(149, 149, 149, 0.15)\",\n    color: \"#a5a5a5\",\n    flexDirection: \"column\"\n};\nexport const NullState = /*#__PURE__*/ React.forwardRef((_, ref)=>{\n    return(/*#__PURE__*/ _jsx(\"div\", {\n        style: emptyStateStyle,\n        ref: ref\n    }));\n}) /*\n\n<svg\n                xmlns=\"http://www.w3.org/2000/svg\"\n                viewBox=\"0 0 30 30\"\n                style={nullIconStyle}\n            >\n                <path\n                    d=\"M 12.857 0 C 19.958 0 25.714 5.756 25.714 12.857 C 25.714 19.958 19.958 25.714 12.857 25.714 C 5.756 25.714 0 19.958 0 12.857 C 0 5.756 5.756 0 12.857 0 Z\"\n                    fill=\"#FFFFFF\"\n                ></path>\n                <path\n                    d=\"M 20.357 20.357 L 27.857 27.857\"\n                    fill=\"transparent\"\n                    strokeWidth=\"4.28\"\n                    stroke=\"#FFFFFF\"\n                    strokeLinecap=\"round\"\n                ></path>\n                <g transform=\"translate(9.643 6.429)\">\n                    <path\n                        d=\"M 3.214 12.857 L 3.214 12.857\"\n                        fill=\"transparent\"\n                        strokeWidth=\"3.75\"\n                        stroke=\"currentColor\"\n                        strokeLinecap=\"round\"\n                    ></path>\n                    <path\n                        d=\"M 0 3.214 C 0 1.004 1.843 0 3.214 0 C 4.586 0 6.429 0.603 6.429 3.214 C 6.429 5.826 3.214 5.913 3.214 7.232 C 3.214 8.552 3.214 8.571 3.214 8.571\"\n                        fill=\"transparent\"\n                        strokeWidth=\"3.22\"\n                        stroke=\"currentColor\"\n                        strokeLinecap=\"round\"\n                        strokeLinejoin=\"round\"\n                    ></path>\n                </g>\n            </svg>\n            */ ;\n\nexport const __FramerMetadata__ = {\"exports\":{\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NullState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./nullstate.map","/*\n * nullstate (framer/icon-nullstate@0.7.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/DyldKav0OOAWR3bCAlhK/8c3l9FzyOlGpbPncYhfc/nullstate.js\"\n","import{useMemo}from\"react\";import{ControlType}from\"framer\";/*\n ** ICON UTILS\n ** Pull as much re-usable logic into here as possible\n ** This will make it easier to replace in all icon components\n */ export const containerStyles={width:\"100%\",height:\"100%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\"};export const defaultEvents={onClick:{type:ControlType.EventHandler},onMouseDown:{type:ControlType.EventHandler},onMouseUp:{type:ControlType.EventHandler},onMouseEnter:{type:ControlType.EventHandler},onMouseLeave:{type:ControlType.EventHandler}};const findByArray=(arr,search)=>arr.find(a=>a.toLowerCase().includes(search));export function getIconSelection(iconKeys,selectByList,iconSearch=\"\",iconSelection,lowercaseIconKeyPairs){// gotta get the exact match first THEN find\n// have a set and try to access ?\nif(selectByList)return iconSelection;if(iconSearch==null||(iconSearch===null||iconSearch===void 0?void 0:iconSearch.length)===0)return null;const iconSearchTerm=iconSearch.toLowerCase().replace(/-|\\s/g,\"\");var _iconSearchTerm;// check for exact match, otherwise use .find\nconst searchResult=(_iconSearchTerm=lowercaseIconKeyPairs[iconSearchTerm])!==null&&_iconSearchTerm!==void 0?_iconSearchTerm:findByArray(iconKeys,iconSearchTerm);return searchResult;}export function useIconSelection(iconKeys,selectByList,iconSearch=\"\",iconSelection,lowercaseIconKeyPairs){// Clean search term\nconst iconSearchResult=useMemo(()=>{if(iconSearch==null||(iconSearch===null||iconSearch===void 0?void 0:iconSearch.length)===0)return null;const iconSearchTerm=iconSearch.toLowerCase().replace(/-|\\s/g,\"\");var _iconSearchTerm;// check for exact match, otherwise use .find\nconst searchResult=(_iconSearchTerm=lowercaseIconKeyPairs[iconSearchTerm])!==null&&_iconSearchTerm!==void 0?_iconSearchTerm:findByArray(iconKeys,iconSearchTerm);return searchResult;},[iconSelection,iconSearch]);const name=selectByList?iconSelection:iconSearchResult;return name;}\nexport const __FramerMetadata__ = {\"exports\":{\"getIconSelection\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useIconSelection\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultEvents\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./utils.map"],"mappings":"oXAC2e,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,6CAAxmB,IAAkK,IAAkE,IAA4B,CAAgC,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,mBAAmB,CAAghB,EAAoB,GAAO,CAAC,GAAG,OAAO,GAAQ,SAAS,OAAO,EAAU,UAAO,SAAS,EAAM,CAAkB,OAAO,KAAK,IAAI,EAAE,EAAM,CAAC,MAAa,GAAiB,EAAM,IAAc,CAAC,GAAG,OAAO,GAAQ,UAAU,OAAO,SAAS,EAAM,CAAC,OAAO,KAAK,IAAI,EAAE,EAAM,CAAC,KAAK,GAAG,OAAO,GAAQ,UAAU,OAAO,GAAc,SAAS,OAAiB,IAAM,EAAS,EAAM,MAAM,IAAI,CAAC,OAAO,EA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