{"version":3,"file":"ErrorMessage-DDnH.DxzO2_Vf.mjs","names":["IconComponent","PhosphorIcons","Warning"],"sources":["https:/framerusercontent.com/modules/rJRy2KJdjDV2C5s51vOb/TqhMBYEhKsGzf7uoeb1S/IconComponent.js","https:/framer.com/m/IconComponent-68rm.js","https:/framerusercontent.com/modules/PRUXQzvbetm9WDercFmJ/Mzb115dVuKKYTPgssR13/ErrorMessage.js","https:/framer.com/m/ErrorMessage-DDnH.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as PhosphorIcons from\"phosphor-react\";export default function IconComponent({name}){const IconComponent=PhosphorIcons[name];if(!IconComponent){console.warn(`Icon \"${name}\" not found.`);return null;}return /*#__PURE__*/ _jsx(IconComponent,{});};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"IconComponent\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./IconComponent.map","/*\n * IconComponent\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/rJRy2KJdjDV2C5s51vOb/TqhMBYEhKsGzf7uoeb1S/IconComponent.js\"\nexport { default } from \"https://framerusercontent.com/modules/rJRy2KJdjDV2C5s51vOb/TqhMBYEhKsGzf7uoeb1S/IconComponent.js\"\n","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{Warning}from\"phosphor-react\";const styles={errorContainer:{paddingTop:\"4px\",display:\"flex\",flexFlow:\"row\",justifyContent:\"start\",alignItems:\"center\",gap:\"8px\"},errorMessage:{fontSize:\"14px\"}};export default function ErrorMessage({field,validationErrors,errorColor}){const errorMessage=validationErrors===null||validationErrors===void 0?void 0:validationErrors[field===null||field===void 0?void 0:field.name];if(errorMessage&&errorMessage!==\"defaultError\"){return /*#__PURE__*/_jsxs(\"div\",{style:styles.errorContainer,children:[/*#__PURE__*/_jsx(Warning,{size:\"20px\",weight:\"fill\",color:errorColor}),/*#__PURE__*/_jsx(\"p\",{style:{...styles.errorContainer,color:errorColor},children:errorMessage})]});}return null;}ErrorMessage.defaultProps={validationErrors:{},errorColor:\"#ff0020\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ErrorMessage\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ErrorMessage.map","/*\n * ErrorMessage\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/PRUXQzvbetm9WDercFmJ/Mzb115dVuKKYTPgssR13/ErrorMessage.js\"\nexport { default } from \"https://framerusercontent.com/modules/PRUXQzvbetm9WDercFmJ/Mzb115dVuKKYTPgssR13/ErrorMessage.js\"\n"],"mappings":"mKAAwF,SAAwB,EAAc,CAAC,QAAM,CAAC,IAAMA,EAAcC,EAAc,GAAgF,OAAtED,EAA2F,EAAKA,EAAc,EAAE,CAAC,EAAlG,QAAQ,KAAK,SAAS,EAAK,cAAc,CAAQ,uBAAvM,IAA6C,qBCOkC,ICPsI,SAAwB,EAAa,CAAC,QAAM,mBAAiB,cAAY,CAAC,IAAM,EAAa,IAA2E,GAA0C,MAA0S,OAAjS,GAAc,IAAe,eAAoC,EAAM,MAAM,CAAC,MAAM,EAAO,eAAe,SAAS,CAAc,EAAKE,EAAQ,CAAC,KAAK,OAAO,OAAO,OAAO,MAAM,EAAW,CAAC,CAAc,EAAK,IAAI,CAAC,MAAM,CAAC,GAAG,EAAO,eAAe,MAAM,EAAW,CAAC,SAAS,EAAa,CAAC,CAAC,CAAC,CAAC,CAAS,wBAA1sB,IAAoC,CAAM,EAAO,CAAC,eAAe,CAAC,WAAW,MAAM,QAAQ,OAAO,SAAS,MAAM,eAAe,QAAQ,WAAW,SAAS,IAAI,MAAM,CAAC,aAAa,CAAC,SAAS,OAAO,CAAC,CAA0gB,EAAa,aAAa,CAAC,iBAAiB,EAAE,CAAC,WAAW,UAAU,qBCOptB"}