{"version":3,"file":"Personal_Email_Reject.HuCGqwDW.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","__esmMin","oe","ie","x","de","pe","J","init_jsx_runtime","init_npm_react_18_3_1","motion","MotionConfigContext","LayoutGroup","init_framer_motion_DhsWWWsN","cx","init_framer_BWFVvmND","useComponentViewport","useLocaleInfo","addFonts","useVariantState","withCSS","RichText","serializationHash","variantClassNames","transition1","Transition","Variants","getProps","createLayoutDependency","FramerWHKvPzxRS","init_WHKvPzxRS","config","transition","value","contextValue","props","variants","fallbackRef","refBinding","ref","defaultLayoutId","restProps","layoutDependency","scopingClassNames","layoutId","gestureHandlers","className","classNames","style","withWorkEmailValidation","validate","input","parts","domain","BLOCKED_DOMAINS","Component","init_Personal_Email_Reject"],"sources":["https:/framerusercontent.com/modules/GNFqG2RZNYsQShITzPM7/I718s937HLOl0LsezGgc/WHKvPzxRS.js","https:/framerusercontent.com/modules/PrS3rMc6ByaCjD8cB5e0/ElZohwqaXlm6b4qkPZm7/Personal_Email_Reject.js"],"sourcesContent":["// Generated by Framer (b7e356e)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,cx,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const serializationHash=\"framer-dwPfa\";const variantClassNames={PS0WeBIBl:\"framer-v-1xwz5ws\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}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 Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props};};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,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"PS0WeBIBl\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);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(motion.button,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1xwz5ws\",className,classNames),\"data-framer-name\":\"Submit\",\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"PS0WeBIBl\",ref:refBinding,style:{backgroundColor:\"rgb(0, 194, 203)\",borderBottomLeftRadius:6,borderBottomRightRadius:6,borderTopLeftRadius:6,borderTopRightRadius:6,...style},children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"SW50ZXItU2VtaUJvbGQ=\",\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"600\",\"--framer-text-color\":\"var(--extracted-r6o4lv, #0B192C)\"},children:\"Request Protocol Pilot\"})}),className:\"framer-1m46k2z\",fonts:[\"Inter-SemiBold\"],layoutDependency:layoutDependency,layoutId:\"tuVfRE0ZM\",style:{\"--extracted-r6o4lv\":\"#0B192C\"},verticalAlignment:\"top\",withExternalLayout:true})})})})});});const css=[\".framer-dwPfa.framer-lrsi61, .framer-dwPfa .framer-lrsi61 { display: block; }\",\".framer-dwPfa.framer-1xwz5ws { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; padding: 16px 24px 16px 24px; position: relative; width: min-content; }\",\".framer-dwPfa .framer-1m46k2z { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 200\n * @framerIntrinsicWidth 200\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerWHKvPzxRS=withCSS(Component,css,\"framer-dwPfa\");export default FramerWHKvPzxRS;FramerWHKvPzxRS.displayName=\"Pilot Form Submit\";FramerWHKvPzxRS.defaultProps={height:200,width:200};addFonts(FramerWHKvPzxRS,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/hyOgCu0Xnghbimh0pE8QTvtt2AU.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/NeGmSOXrPBfEFIy5YZeHq17LEDA.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/oYaAX5himiTPYuN8vLWnqBbfD2s.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/lEJLP4R0yuCaMCjSXYHtJw72M.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/cRJyLNuTJR5jbyKzGi33wU9cqIQ.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/yDtI2UI8XcEg1W2je9XPN3Noo.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/A0Wcc7NgXMjUuFdquHDrIZpzZw0.woff2\",weight:\"600\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerWHKvPzxRS\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"200\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicWidth\":\"200\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerColorSyntax\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WHKvPzxRS.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";// List of personal email domains to block\nconst BLOCKED_DOMAINS=new Set([\"gmail.com\",\"googlemail.com\",\"yahoo.com\",\"ymail.com\",\"hotmail.com\",\"outlook.com\",\"live.com\",\"msn.com\",\"icloud.com\",\"me.com\",\"mac.com\",\"aol.com\",\"proton.me\",\"protonmail.com\",\"zoho.com\",\"mail.com\",\"gmx.com\"]);export function withWorkEmailValidation(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const validate=e=>{const input=e.target;if(!input)return;const value=(input.value||\"\").trim().toLowerCase();const parts=value.split(\"@\");const domain=parts.length>1?parts[1]:\"\";if(BLOCKED_DOMAINS.has(domain)){input.setCustomValidity(\"Please enter a valid work email address (personal domains like Gmail are not accepted).\");}else{input.setCustomValidity(\"\");}};return /*#__PURE__*/_jsx(Component,{...props,ref:ref,onInput:e=>{validate(e);props.onInput?.(e);},onChange:e=>{validate(e);props.onChange?.(e);}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withWorkEmailValidation\":{\"type\":\"reactHoc\",\"name\":\"withWorkEmailValidation\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Personal_Email_Reject.map"],"mappings":"A,+WAC6Q,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,EAA+L,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQ,GAAY,CAAC,QAAM,cAAY,CAAC,IAAMoC,EAAOpC,EAAiBgB,CAAmB,EAAQqB,EAAWC,GAAOF,EAAO,WAAiBG,EAAatC,OAAmB,CAAC,GAAGm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