{"version":3,"file":"utils.D1BppFPA.mjs","names":["useMemo"],"sources":["https:/framerusercontent.com/modules/o7fbgNW013ZDs60YAvnA/TEwP347hCNXrfRCKmYL3/G_OulnWWO.js","https:/framerusercontent.com/modules/DyldKav0OOAWR3bCAlhK/8c3l9FzyOlGpbPncYhfc/nullstate.js","https:/framer.com/m/framer/icon-nullstate.js@0.7.0","https:/framerusercontent.com/modules/8tFVJ9SCM5akQRM0UzVD/YkxZV5bKC4LrRDEdvAgQ/home.js","https:/framer.com/m/feather-icons/home.js@0.0.29","https:/framerusercontent.com/modules/Ma20hU0GGRxLxZphbywl/OSpwWF91FHPVFyQJjMHt/utils.js"],"sourcesContent":["// Generated by Framer (2a7bdb4)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,withCSS,withV1StrokeFX}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const MotionPathWithV1StrokeFX=withV1StrokeFX(motion.path);const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const transition={delay:0,duration:1,ease:[.44,0,.56,1],type:\"tween\"};const getProps=({color,height,id,width,...props})=>{return{...props,j9a1a1TPS:color??props.j9a1a1TPS??\"var(--token-33cae5db-70dd-4c12-900c-c4461a42e5e3, rgb(30, 13, 1))\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,j9a1a1TPS,...restProps}=getProps(props);return /*#__PURE__*/_jsxs(SVG,{...restProps,className:cx(\"framer-actQS\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--ck3rqb\":j9a1a1TPS,...style},viewBox:\"0 0 25 25\",children:[/*#__PURE__*/_jsx(\"g\",{opacity:.2,children:/*#__PURE__*/_jsx(\"path\",{d:\"M 9.964 19.927 C 15.467 19.927 19.927 15.467 19.927 9.964 C 19.927 4.461 15.467 0 9.964 0 C 4.461 0 0 4.461 0 9.964 C 0 15.467 4.461 19.927 9.964 19.927 Z\",fill:\"var(--ck3rqb, var(--token-33cae5db-70dd-4c12-900c-c4461a42e5e3, rgb(30, 13, 1)))\",height:\"19.9275px\",id:\"rqye3Vf6b\",transform:\"translate(2.536 2.538)\",width:\"19.927499999999995px\"})}),/*#__PURE__*/_jsx(MotionPathWithV1StrokeFX,{d:\"M 9.964 19.927 C 15.467 19.927 19.927 15.467 19.927 9.964 C 19.927 4.461 15.467 0 9.964 0 C 4.461 0 0 4.461 0 9.964 C 0 15.467 4.461 19.927 9.964 19.927 Z\",fill:\"transparent\",height:\"19.9275px\",id:\"In0BTBUf0\",pathLengthTransition:transition,stroke:\"var(--ck3rqb, var(--token-33cae5db-70dd-4c12-900c-c4461a42e5e3, rgb(30, 13, 1)))\",strokeDasharray:\"\",strokeEffectGap:1,strokeEffectLength:1,strokeEffectLoop:true,strokeEffectLoopType:\"mirror\",strokeEffectOffset:0,strokeEffectTotalLength:62.611873626708984,strokeLinecap:\"round\",strokeLinejoin:\"round\",strokeWidth:1.79,transform:\"translate(2.536 2.538)\",width:\"19.927499999999995px\"}),/*#__PURE__*/_jsx(MotionPathWithV1StrokeFX,{d:\"M 0 0 C 0.909 1.21 2.356 1.993 3.986 1.993 C 5.615 1.993 7.062 1.21 7.971 0\",fill:\"transparent\",height:\"1.992717391304346px\",id:\"N5F3OoMfr\",pathLengthTransition:transition,stroke:\"var(--ck3rqb, var(--token-33cae5db-70dd-4c12-900c-c4461a42e5e3, rgb(30, 13, 1)))\",strokeDasharray:\"\",strokeEffectGap:1,strokeEffectLength:1,strokeEffectLoop:true,strokeEffectLoopType:\"mirror\",strokeEffectOffset:0,strokeEffectTotalLength:9.24038314819336,strokeLinecap:\"round\",strokeLinejoin:\"round\",strokeWidth:1.49,transform:\"translate(8.515 15.491)\",width:\"7.970978260869558px\"}),/*#__PURE__*/_jsx(MotionPathWithV1StrokeFX,{d:\"M 0.009 0 L 0 0 M 7.971 0 L 7.962 0\",fill:\"transparent\",height:\"1px\",id:\"B1w3lnYYp\",pathLengthTransition:transition,stroke:\"var(--ck3rqb, var(--token-33cae5db-70dd-4c12-900c-c4461a42e5e3, rgb(30, 13, 1)))\",strokeDasharray:\"\",strokeEffectGap:1,strokeEffectLength:1,strokeEffectLoop:true,strokeEffectLoopType:\"continuous\",strokeEffectOffset:0,strokeEffectTotalLength:.018000300973653793,strokeLinecap:\"round\",strokeLinejoin:\"round\",strokeWidth:1.99,transform:\"translate(8.515 9.512)\",width:\"7.970978263357413px\"})]});});const css=[`.framer-actQS { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 25px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 25\n * @framerIntrinsicHeight 25\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"j9a1a1TPS\":\"color\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"smile-duotone-rounded 1\",\"color\":{\"type\":\"variable\",\"value\":\"ck3rqb\"},\"set\":{\"localId\":\"vectorSet/zWzTplhqh\",\"id\":\"zWzTplhqh\",\"moduleId\":\"a18GgwIk6P47c6D7kxk1\"}}\n */const Icon=withCSS(Component,css,\"framer-actQS\");Icon.displayName=\"smile-duotone-rounded 1\";export default Icon;addPropertyControls(Icon,{j9a1a1TPS:{defaultValue:'var(--token-33cae5db-70dd-4c12-900c-c4461a42e5e3, rgb(30, 13, 1)) /* {\"name\":\"Neutral 03\"} */',hidden:false,title:\"Color\",type:ControlType.Color}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerVector\":\"{\\\"name\\\":\\\"smile-duotone-rounded 1\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"ck3rqb\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/zWzTplhqh\\\",\\\"id\\\":\\\"zWzTplhqh\\\",\\\"moduleId\\\":\\\"a18GgwIk6P47c6D7kxk1\\\"}}\",\"framerIntrinsicHeight\":\"25\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerVariables\":\"{\\\"j9a1a1TPS\\\":\\\"color\\\"}\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"25\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","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","let r;\nvar s = (o) => {\n    if (!r) {\n        const n = o.forwardRef(({color: t = \"currentColor\", size: e = 24, ...i}, l) => {\n            return o.createElement(\"svg\", {ref: l, xmlns: \"http://www.w3.org/2000/svg\", width: e, height: e, viewBox: \"0 0 24 24\", fill: \"none\", stroke: t, strokeWidth: \"2\", strokeLinecap: \"round\", strokeLinejoin: \"round\", ...i}, o.createElement(\"path\", {d: \"M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\"}), o.createElement(\"polyline\", {points: \"9 22 9 12 15 12 15 22\"}));\n        });\n        n.displayName = \"Home\",r = n;\n    }\n    return r;\n};\nconst __FramerMetadata__ = {exports: {default: {type: \"reactComponent\", slots: [], annotations: {framerContractVersion: \"1\"}}, __FramerMetadata__: {type: \"variable\"}}};\nexport { __FramerMetadata__, s as default };","/*\n * home (feather-icons/home@0.0.29)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/8tFVJ9SCM5akQRM0UzVD/YkxZV5bKC4LrRDEdvAgQ/home.js\"\nexport { default } from \"https://framerusercontent.com/modules/8tFVJ9SCM5akQRM0UzVD/YkxZV5bKC4LrRDEdvAgQ/home.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":"4RACyD,IAAqF,IAA4B,CAAoC,EAAyB,EAAe,EAAO,KAAK,CAAO,EAAK,0BAAgC,EAAkB,EAAW,SAAS,EAAM,EAAI,CAAC,OAAoB,EAAK,MAAM,CAAC,GAAG,EAAU,MAAI,SAAS,EAAM,SAAS,CAAC,EAAG,CAAO,EAAU,EAAO,OAAO,EAAK,CAAO,EAAiB,GAAY,EAAM,IAAM,CAAC,GAAK,CAAC,WAAS,WAAS,WAAS,GAAG,GAAM,EAAM,OAAO,EAAsB,EAAK,EAAU,CAAC,GAAG,EAAc,WAAa,MAAa,WAAS,CAAC,CAAc,EAAK,MAAM,CAAC,GAAG,EAAS,MAAa,WAAS,CAAC,EAAG,CAAO,EAAW,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,KAAK,QAAQ,CAAO,GAAU,CAAC,QAAM,SAAO,KAAG,QAAM,GAAG,MAAgB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