{"version":3,"file":"Shared.DoQt-eBU.mjs","names":[],"sources":["https:/framerusercontent.com/modules/IGOKgEH5A4sN8XWUZRsC/Dt5dbRdwNli1tVIpsgcL/Shared.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{RenderTarget,withCSS}from\"framer\";import{forwardRef}from\"react\";import{motion}from\"framer-motion\";export var FormState;(function(FormState){FormState[\"Default\"]=\"default\";FormState[\"Loading\"]=\"loading\";FormState[\"Success\"]=\"success\";FormState[\"Error\"]=\"error\";})(FormState||(FormState={}));export var Events;(function(Events){Events[\"FormStateChange\"]=\"framerbite-form-state-change\";Events[\"SubmitButtonClick\"]=\"framerbite-submit-button-click\";Events[\"GoogleSignIn\"]=\"framerbite-google-sign-in\";Events[\"Error\"]=\"framerbite-form-error\";})(Events||(Events={}));export const HIDDEN_CLASS_NAME=\"framerbite-hidden\";const CANVAS_HIDDEN_CLASS_NAME=\"framerbite-canvas-hidden\";export const createId=()=>\"a\"+String(Math.floor(Math.random()*999999999));const HideElementComponent=/*#__PURE__*/forwardRef(({},ref)=>{return /*#__PURE__*/_jsx(\"div\",{ref:ref,className:HIDDEN_CLASS_NAME});});export const HideElement=withCSS(HideElementComponent,[`div:has(> .${HIDDEN_CLASS_NAME}) { display: none; }`,`.${HIDDEN_CLASS_NAME} { display: none; }`],HIDDEN_CLASS_NAME);export const HiddenComponentLabel=/*#__PURE__*/forwardRef(({text,subtext=\"\",children=null,...otherProps},ref)=>{const isCanvas=RenderTarget.current()===RenderTarget.canvas;return isCanvas?/*#__PURE__*/_jsxs(\"div\",{...otherProps,ref:ref,className:CANVAS_HIDDEN_CLASS_NAME,style:{backgroundColor:\"rgba(187, 187, 187, 0.15)\",borderRadius:10,padding:\"12px 16px\",fontFamily:\"Inter\",fontWeight:500,fontSize:12,color:\"#999\",display:\"flex\",flexDirection:\"column\",gap:4,alignItems:\"center\",textAlign:\"center\",width:\"100%\",height:\"100%\",textWrap:\"nowrap\"},children:[text,subtext&&/*#__PURE__*/_jsx(\"span\",{style:{opacity:.7,whiteSpace:\"pre\",lineHeight:1.4},children:subtext}),children,/*#__PURE__*/_jsx(Border,{width:\"1px\",style:\"solid\",borderColor:\"rgba(136, 136, 136, 0.1)\"}),/*#__PURE__*/_jsx(\"style\",{children:`\n                [data-framer-component-container=\"true\"] div:has(> .${CANVAS_HIDDEN_CLASS_NAME}) {\n                    display: none !important;\n                }`})]}):/*#__PURE__*/_jsx(\"div\",{...otherProps,ref:ref,className:HIDDEN_CLASS_NAME,children:/*#__PURE__*/_jsx(HideElement,{})});});export function Border({width,style,transition=null,borderColor=\"inherit\",opacity=1}){return /*#__PURE__*/_jsx(motion.div,{animate:{borderColor,opacity},style:{position:\"absolute\",inset:0,borderWidth:width,borderStyle:style,borderRadius:\"inherit\",pointerEvents:\"none\"},initial:false,transition:transition});}Border.displayName=\"Border\";\nexport const __FramerMetadata__ = {\"exports\":{\"HideElement\":{\"type\":\"reactComponent\",\"name\":\"HideElement\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"createId\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HiddenComponentLabel\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HIDDEN_CLASS_NAME\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Border\":{\"type\":\"reactComponent\",\"name\":\"Border\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Events\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FormState\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Shared.map"],"mappings":"oOAGmJ,SAAgB,EAAO,CAAC,QAAM,QAAM,aAAW,KAAK,cAAY,UAAU,UAAQ,GAAG,CAAC,OAAoB,EAAK,EAAO,IAAI,CAAC,QAAQ,CAAC,cAAY,U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