{"version":3,"file":"InputText.DPVNAJTP.mjs","names":["useState","useCallback","useMemo","validateText","useState","useRef","useId","React.useMemo","useCallback","validateTextUtil","useMemo","__esmMin","ie","ne","_e","de","pe","p","c","J","init_jsx_runtime","init_npm_react_18_3_1","ce","init_framer_iLM2NxCW","ControlType","addPropertyControls","init_formMessageLocalization","brandPropertyControl","getValidationIconContainerStyle","useReducedMotion","init_themeControl","getEnglishFormMessages","getInputWrapperStyle","themePropertyControls","init_brandControl","init_useAccessibilityStrings","useFormMessages","getInputContainerStyle","ValidationIcon","FRAMER_BREAKPOINT_DESCRIPTION","useHasAssociatedLabel","FRAMER_THEME_DESCRIPTION_FORM_WITH_CHILDREN","init_useInteractiveStates","init_propertyControlCopy","useMergedRef","init_breakpointControl","init_colors","getPlaceholderCSS","init_inputAccessibleName","FRAMER_ON_KEY_DOWN_DESCRIPTION","init_ValidationIcon","useInteractiveStates","init_mergeRefs","breakpointPropertyControl","init_useAssociatedLabel","FRAMER_ON_CHANGE_DESCRIPTION","resolveInputAriaLabel","getInputElementStyle","init_inputStyles","getInputPlaceholderColor","getInputErrorMessageStyle","resolveThemeProp","useNativeInvalidMessage","DEFAULT_REQUIRED_MESSAGE","nativeMessage","setNativeMessage","handleInvalid","target","event","requiredMessage","invalidMessage","clearNativeInvalid","errorRowMessage","validationRowMessage","errorMessage","showError","trimmedDescribedBy","ariaDescribedBy","ariaDescribedByValue","ids","errorMessageId","init_useNativeInvalidMessage","resolveLengthLimit","value","validateText","required","messages","minLength","maxLength","init_validation","resolveAutoComplete","trimmed","AUTOCOMPLETE_UNSET","AUTOCOMPLETE_OPTIONS","AUTOCOMPLETE_OPTION_TITLES","init_autocomplete","coerceIsValid","InputText","rest","props","InputTextInternal","isValid","init_InputText","theme","_themeProp","_themeTricountProp","disabledProp","validateText$1","minLengthProp","maxLengthProp","inputModeProp","digitsOnlyProp","autoCompleteProp","isValidProp","errorMessageProp","inputIdProp","isCardLastFour","name","digitsOnly","lengthLimitsApply","cardLastFourLimit","inputMode","autoComplete","reducedMotion","inputValue","setInputValue","_hasBeenTouched","setHasBeenTouched","disabled","state","liveHovered","liveFocused","baseHandlers","isHovered","isFocused","isValidInternal","setIsValidInternal","errorMessageInternal","setErrorMessageInternal","inputRef","mergedInputRef","ref","formMessages","inputHasAssociatedLabel","resolvedAriaLabel","prevValueRef","safeComponentId","inputId","nativeValidation","validateTextValue","textValue","validation","handleBlur","handleChange","v","onChange","wrapperStyle","style","widthMode","outlineValidity","containerStyle","breakpoint","brand","inputStyle","validationIconStyle","errorMessageStyle","placeholderCSS","hidden","validInputProps","key","acc","labelId"],"sources":["https:/framerusercontent.com/modules/9B7HnzwSHLTotyDwq5ZY/p0sY3ocOJPSfcBEypgOI/useNativeInvalidMessage.js","https:/framerusercontent.com/modules/taC1CsgGBdT7WVZuxT4R/AV6mnTXXuH7S7wkrxHBK/validation.js","https:/framerusercontent.com/modules/JOd7aab9Y8RqdUnvSyld/ReNC3iZB11GRIonBlpmt/autocomplete.js","https:/framerusercontent.com/modules/sXdLCySLMDrjPYI844uX/alwOfS8SbUlXSo4nVeKM/InputText.js"],"sourcesContent":["import{useCallback,useMemo,useState}from\"react\";import{getEnglishFormMessages}from\"https://framerusercontent.com/modules/PvBP0g5vPtBUIDsKgfGO/a52zaqePubLId3eBIme1/formMessageLocalization.js\";const DEFAULT_REQUIRED_MESSAGE=getEnglishFormMessages().required;export function useNativeInvalidMessage({validationRowMessage,errorMessage=\"\",showError=true,errorMessageId,ariaDescribedBy,requiredMessage=DEFAULT_REQUIRED_MESSAGE,invalidMessage}){const[nativeMessage,setNativeMessage]=useState(null);const handleInvalid=useCallback(event=>{const target=event.currentTarget;if(target.validity?.valueMissing){setNativeMessage(requiredMessage);return;}setNativeMessage(invalidMessage||target.validationMessage||requiredMessage);},[requiredMessage,invalidMessage]);const clearNativeInvalid=useCallback(()=>{setNativeMessage(null);},[]);let errorRowMessage=validationRowMessage;if(errorRowMessage===null&&nativeMessage!==null){if(!errorMessage){errorRowMessage=nativeMessage;}else if(showError){errorRowMessage=errorMessage;}}const trimmedDescribedBy=ariaDescribedBy?.trim()??\"\";const ariaDescribedByValue=useMemo(()=>{const ids=[];if(errorRowMessage!==null){ids.push(errorMessageId);}if(trimmedDescribedBy){ids.push(trimmedDescribedBy);}return ids.length>0?ids.join(\" \"):undefined;},[errorRowMessage,errorMessageId,trimmedDescribedBy]);return{handleInvalid,clearNativeInvalid,isNativeInvalid:nativeMessage!==null,errorRowMessage,ariaDescribedByValue};}export default useNativeInvalidMessage;\nexport const __FramerMetadata__ = {\"exports\":{\"useNativeInvalidMessage\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"UseNativeInvalidMessageOptions\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"UseNativeInvalidMessageResult\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{getEnglishFormMessages}from\"https://framerusercontent.com/modules/PvBP0g5vPtBUIDsKgfGO/a52zaqePubLId3eBIme1/formMessageLocalization.js\";export const NO_LENGTH_LIMIT=0;export function resolveLengthLimit(value){if(typeof value!==\"number\"||!Number.isFinite(value)||value<=NO_LENGTH_LIMIT){return undefined;}return Math.floor(value);}export function validateRequired(value,required,messages=getEnglishFormMessages()){const isEmpty=!value||value.trim()===\"\";if(isEmpty&&required){return{valid:false,message:messages.required};}return{valid:true,message:\"\"};}export function validateMinLength(value,minLength,messages=getEnglishFormMessages()){if(value.length<minLength){return{valid:false,message:messages.minLength(minLength)};}return{valid:true,message:\"\"};}export function validateMaxLength(value,maxLength,messages=getEnglishFormMessages()){if(value.length>maxLength){return{valid:false,message:messages.maxLength(maxLength)};}return{valid:true,message:\"\"};}const MIN_PHONE_LENGTH=4;const MAX_PHONE_LENGTH=15;export function validateText(value,required,minLength,maxLength,messages=getEnglishFormMessages()){const isEmpty=!value||value.trim()===\"\";if(isEmpty){if(required){return{valid:false,message:messages.required};}return{valid:true,message:\"\"};}if(minLength!==undefined){if(value.length<minLength){return{valid:false,message:messages.minLength(minLength)};}}if(maxLength!==undefined){if(value.length>maxLength){return{valid:false,message:messages.maxLength(maxLength)};}}return{valid:true,message:\"\"};}export function validateEmail(email,required,messages=getEnglishFormMessages()){const isEmpty=!email||email.trim()===\"\";if(isEmpty){if(required){return{valid:false,message:messages.required};}return{valid:true,message:\"\"};}const emailPattern=/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;const trimmedEmail=email.trim();if(emailPattern.test(trimmedEmail)){if(/[\\s<>]/.test(trimmedEmail)){return{valid:false,message:messages.emailInvalidCharacters};}return{valid:true,message:\"\"};}return{valid:false,message:messages.invalidEmail};}export function normalizeIban(iban){return iban.replace(/\\s/g,\"\").toUpperCase();}export function validateIban(iban,required,messages=getEnglishFormMessages()){const normalizedIban=normalizeIban(iban);if(!normalizedIban){if(required){return{valid:false,message:messages.required};}return{valid:true,message:\"\"};}const ibanPattern=/^[A-Z]{2}\\d{2}[A-Z0-9]{11,30}$/;if(!ibanPattern.test(normalizedIban)){return{valid:false,message:messages.invalidIban};}const rearrangedIban=`${normalizedIban.slice(4)}${normalizedIban.slice(0,4)}`;let remainder=0;for(const character of rearrangedIban){const numericValue=/\\d/.test(character)?character:String(character.charCodeAt(0)-55);for(const digit of numericValue){remainder=(remainder*10+Number(digit))%97;}}if(remainder!==1){return{valid:false,message:messages.invalidIban};}return{valid:true,message:\"\"};}export function validatePhone(phone,required,messages=getEnglishFormMessages()){const isEmpty=!phone||phone.trim()===\"\";if(isEmpty){if(required){return{valid:false,message:messages.required};}return{valid:true,message:\"\"};}const digitsOnly=phone.replace(/\\D/g,\"\");if(digitsOnly.length<MIN_PHONE_LENGTH){return{valid:false,message:messages.phoneTooShort};}if(digitsOnly.length>MAX_PHONE_LENGTH){return{valid:false,message:messages.phoneTooLong};}if(/^[\\d\\s\\-()+]+$/.test(phone)){return{valid:true,message:\"\"};}return{valid:false,message:messages.phoneInvalidCharacters};}export const DATE_NOT_IN_FUTURE_MESSAGE=getEnglishFormMessages().dateNotInFuture;export const VALIDATION_SUMMARY_MESSAGE=getEnglishFormMessages().validationSummary;export function getTodayIsoDate(){const now=new Date;const year=now.getFullYear();const month=String(now.getMonth()+1).padStart(2,\"0\");const day=String(now.getDate()).padStart(2,\"0\");return`${year}-${month}-${day}`;}export function validateNotFutureDate(value,required,messages=getEnglishFormMessages()){const trimmed=(value??\"\").trim();if(!trimmed){if(required){return{valid:false,message:messages.required};}return{valid:true,message:\"\"};}if(!/^\\d{4}-\\d{2}-\\d{2}$/.test(trimmed)){return{valid:true,message:\"\"};}if(trimmed>getTodayIsoDate()){return{valid:false,message:messages.dateNotInFuture};}return{valid:true,message:\"\"};}const SERVER_ERROR_PREFIX_COPY={\"Date cannot be in the future\":DATE_NOT_IN_FUTURE_MESSAGE,\"Required field is missing\":\"Please fill in this required field.\"};export function humanizeFormServerError(rawMessage,knownFieldNames){const trimmed=(rawMessage??\"\").trim();if(!trimmed){return{message:\"\"};}const known=Array.isArray(knownFieldNames)?new Set(knownFieldNames.filter(name=>name.length>0)):new Set(knownFieldNames);const match=trimmed.match(/^(.*?):\\s*([A-Za-z][A-Za-z0-9_]*)$/);if(!match){return{message:trimmed};}const prefix=match[1].trim();const fieldName=match[2];if(!known.has(fieldName)){return{message:trimmed};}const friendly=SERVER_ERROR_PREFIX_COPY[prefix]??prefix;return{message:friendly,fieldName};}export function validateUrl(url,required,messages=getEnglishFormMessages()){const isEmpty=!url||url.trim()===\"\";if(isEmpty){if(required){return{valid:false,message:messages.required};}return{valid:true,message:\"\"};}const trimmedUrl=url.trim();try{const urlObj=new URL(trimmedUrl);if(urlObj.protocol===\"http:\"||urlObj.protocol===\"https:\"){if(!urlObj.hostname||urlObj.hostname.length===0){return{valid:false,message:messages.invalidUrl};}return{valid:true,message:\"\"};}return{valid:false,message:messages.urlProtocol};}catch{return{valid:false,message:messages.invalidUrl};}}export const CANDIDATE_NAME_ERROR_MESSAGE=\"Please use Roman letters only (A-Z). Spaces, hyphens, apostrophes, and periods are fine. No numbers, accents, or special characters.\";export function isValidCandidateName(value){if(value==null){return false;}const trimmed=value.trim();if(trimmed.length===0){return false;}if(!/[A-Za-z]/.test(trimmed)){return false;}return/^[A-Za-z\\s'.-]+$/.test(trimmed);}export function validateCandidateName(value){if(isValidCandidateName(value)){return{valid:true,message:\"\"};}return{valid:false,message:CANDIDATE_NAME_ERROR_MESSAGE};}\nexport const __FramerMetadata__ = {\"exports\":{\"resolveLengthLimit\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isValidCandidateName\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"validateMinLength\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CANDIDATE_NAME_ERROR_MESSAGE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"validateNotFutureDate\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"humanizeFormServerError\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"normalizeIban\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NO_LENGTH_LIMIT\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"validateMaxLength\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"validateCandidateName\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"validateText\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ValidationResult\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"validateRequired\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DATE_NOT_IN_FUTURE_MESSAGE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"validateIban\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"validatePhone\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"VALIDATION_SUMMARY_MESSAGE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getTodayIsoDate\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"validateEmail\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HumanizedFormServerError\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"validateUrl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","export const AUTOCOMPLETE_UNSET=\"unset\";export const AUTOCOMPLETE_OPTIONS=[AUTOCOMPLETE_UNSET,\"off\",\"name\",\"given-name\",\"family-name\",\"email\",\"tel\",\"organization\",\"organization-title\",\"street-address\",\"postal-code\",\"address-level2\",\"country-name\",\"url\",\"bday\"];export const AUTOCOMPLETE_OPTION_TITLES=[\"Not set\",\"Off\",\"Full name\",\"First name\",\"Last name\",\"Email\",\"Phone\",\"Organization\",\"Job title\",\"Street address\",\"Postal code\",\"City\",\"Country\",\"Website\",\"Birthday\"];export function resolveAutoComplete(value){const trimmed=value?.trim()??\"\";if(trimmed===\"\"||trimmed===AUTOCOMPLETE_UNSET){return undefined;}return trimmed;}// recompile: 1791915472017\n\nexport const __FramerMetadata__ = {\"exports\":{\"resolveAutoComplete\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AUTOCOMPLETE_UNSET\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AUTOCOMPLETE_OPTIONS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AutoCompleteOption\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AUTOCOMPLETE_OPTION_TITLES\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./autocomplete.map","/**\n * @framerIntrinsicWidth 320\n * @framerIntrinsicHeight 48\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{forwardRef,useRef,useState,useEffect,useId,useCallback,useMemo}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{FRAMER_BREAKPOINT_DESCRIPTION,FRAMER_ON_CHANGE_DESCRIPTION,FRAMER_ON_KEY_DOWN_DESCRIPTION,FRAMER_THEME_DESCRIPTION_FORM_WITH_CHILDREN}from\"https://framerusercontent.com/modules/vkQqDtKpdgUyOodxbyn3/QbeDbzhxh6tG2UebUJz9/propertyControlCopy.js\";import{useReducedMotion}from\"https://framerusercontent.com/modules/zb8SeFEAitsE3Aq1tolb/YK4ocMSjaFvw3eNdM4Oq/colors.js\";import{useInteractiveStates}from\"https://framerusercontent.com/modules/ybGk5zeqg5sx0cATodEy/sqApoecWCXIhB2kUuCgI/useInteractiveStates.js\";import{useNativeInvalidMessage}from\"https://framerusercontent.com/modules/9B7HnzwSHLTotyDwq5ZY/p0sY3ocOJPSfcBEypgOI/useNativeInvalidMessage.js\";import{NO_LENGTH_LIMIT,resolveLengthLimit,validateText as validateTextUtil}from\"https://framerusercontent.com/modules/taC1CsgGBdT7WVZuxT4R/AV6mnTXXuH7S7wkrxHBK/validation.js\";import{useFormMessages}from\"https://framerusercontent.com/modules/4BOd7Tg4lcdTuHx1GzRY/oCHe88S4iQyLYmULi1zM/useAccessibilityStrings.js\";import{useHasAssociatedLabel}from\"https://framerusercontent.com/modules/jSbLx4nmcRaXstVEuFjR/nTP4hCDvhVvZV56oQUg5/useAssociatedLabel.js\";import{resolveInputAriaLabel}from\"https://framerusercontent.com/modules/lDgrpEtUIBaoZz8cYCzD/6DO3s2RRzGbkpLeh2nis/inputAccessibleName.js\";import{useMergedRef}from\"https://framerusercontent.com/modules/AvbC7ant8ViZoUcDxZaq/BnSkQNB5YxEJ9uhCRpb8/mergeRefs.js\";import{AUTOCOMPLETE_OPTIONS,AUTOCOMPLETE_OPTION_TITLES,resolveAutoComplete}from\"https://framerusercontent.com/modules/JOd7aab9Y8RqdUnvSyld/ReNC3iZB11GRIonBlpmt/autocomplete.js\";import{getInputWrapperStyle,getInputContainerStyle,getInputElementStyle,getValidationIconContainerStyle,getInputErrorMessageStyle,getInputPlaceholderColor,getPlaceholderCSS}from\"https://framerusercontent.com/modules/WWftb0klCjQLhFOvGtrq/xFMpXj8VqazZV6UEacY0/inputStyles.js\";import ValidationIcon from\"https://framerusercontent.com/modules/jEnsZiretHTDy241OBEJ/4QyO58IpGifwXWE5hYeM/ValidationIcon.js\";import{breakpointPropertyControl}from\"https://framerusercontent.com/modules/fqabD3J3lU6VFoyJTkl9/XuSutgRb2fscK8LXIPHb/breakpointControl.js\";import{brandPropertyControl,themePropertyControls}from\"https://framerusercontent.com/modules/WlMkRQB3V7rn8cIYN98V/vB1ucmyiUTccgkdUzzQJ/brandControl.js\";import{resolveThemeProp}from\"https://framerusercontent.com/modules/5WgsjBO1A8BiShdO0B9C/r0GYDtytq52p0xC4TfQT/themeControl.js\";const InputTextInternal=/*#__PURE__*/forwardRef(function InputTextInternal(props,ref){const theme=resolveThemeProp(props);const{breakpoint=\"desktop\",theme:_themeProp,themeTricount:_themeTricountProp,type=\"text\",brand=\"bunq\",name=\"input\",value=\"\",placeholder=\"Enter text...\",state=\"default\",disabled:disabledProp=false,required=false,hidden=false,validateText=false,minLength:minLengthProp,maxLength:maxLengthProp,inputMode:inputModeProp,digitsOnly:digitsOnlyProp=false,autoComplete:autoCompleteProp,isValid:isValidProp,errorMessage:errorMessageProp,showError=true,onChange,onKeyDown,ariaLabel=\"\",labelId,ariaDescribedBy,inputId:inputIdProp,widthMode=\"default\",style,id,...rest}=props;const isCardLastFour=String(name||\"\").toLowerCase()===\"cardlastfour\";const digitsOnly=digitsOnlyProp||isCardLastFour;const lengthLimitsApply=validateText||digitsOnly;const minLength=lengthLimitsApply?resolveLengthLimit(minLengthProp):undefined;const cardLastFourLimit=isCardLastFour?4:undefined;const maxLength=lengthLimitsApply?resolveLengthLimit(maxLengthProp)??cardLastFourLimit:undefined;const inputMode=inputModeProp??(isCardLastFour?\"numeric\":undefined);const autoComplete=resolveAutoComplete(autoCompleteProp)??(digitsOnly?\"off\":undefined);const reducedMotion=useReducedMotion();const[inputValue,setInputValue]=useState(value);const[_hasBeenTouched,setHasBeenTouched]=useState(false);const disabled=disabledProp||state===\"disabled\";const{isHovered:liveHovered,isFocused:liveFocused,handlers:baseHandlers}=useInteractiveStates(disabled);const isHovered=liveHovered||state===\"hover\";const isFocused=liveFocused||state===\"focused\";const[isValidInternal,setIsValidInternal]=useState(null);const[errorMessageInternal,setErrorMessageInternal]=useState(\"\");const inputRef=useRef(null);const mergedInputRef=useMergedRef(ref,inputRef);const formMessages=useFormMessages();const inputHasAssociatedLabel=useHasAssociatedLabel(inputRef);const resolvedAriaLabel=resolveInputAriaLabel({labelId,ariaLabel,hasAssociatedLabel:inputHasAssociatedLabel});const prevValueRef=useRef(value);const componentId=useId();const safeComponentId=componentId.replace(/:/g,\"\");const inputId=inputIdProp??`input-${name}-${safeComponentId}`;const errorMessageId=React.useMemo(()=>`${inputId}-error`,[inputId]);const isValid=!validateText?null:isValidProp===undefined?isValidInternal:isValidProp;const errorMessage=errorMessageProp===undefined?errorMessageInternal:errorMessageProp;const showsValidationRow=showError&&Boolean(errorMessage)&&isValid===false;const nativeValidation=useNativeInvalidMessage({validationRowMessage:showsValidationRow?errorMessage:null,errorMessage,showError,errorMessageId,ariaDescribedBy,requiredMessage:formMessages.required});const{clearNativeInvalid,ariaDescribedByValue}=nativeValidation;const validateTextValue=useCallback(textValue=>{return validateTextUtil(textValue,required,minLength,maxLength,formMessages);},[required,minLength,maxLength,formMessages]);useEffect(()=>{if(prevValueRef.current!==value){prevValueRef.current=value;setInputValue(value);clearNativeInvalid();if(value&&validateText&&isValidProp===undefined){const validation=validateTextValue(value);setIsValidInternal(validation.valid);setErrorMessageInternal(validation.message);}}},[value,validateText,isValidProp,validateTextValue,clearNativeInvalid]);const handleBlur=useCallback(()=>{baseHandlers.onBlur();setHasBeenTouched(true);if(validateText&&isValidProp===undefined){const trimmed=inputValue?.trim()??\"\";if(trimmed!==\"\"){const validation=validateTextValue(inputValue);setIsValidInternal(validation.valid);setErrorMessageInternal(validation.message);}else if(required){setIsValidInternal(false);setErrorMessageInternal(formMessages.required);}}},[baseHandlers,validateText,inputValue,isValidProp,validateTextValue,required,formMessages]);const handleChange=useCallback(e=>{let v=e.target.value;if(digitsOnly){v=v.replace(/\\D/g,\"\");if(maxLength!==undefined&&v.length>maxLength){v=v.slice(0,maxLength);}}setInputValue(v);clearNativeInvalid();if(isValidProp===undefined){if(validateText&&v&&v.trim()!==\"\"){const validation=validateTextValue(v);setIsValidInternal(validation.valid);setErrorMessageInternal(validation.message);}else{setIsValidInternal(null);setErrorMessageInternal(\"\");}}onChange?.(v);},[digitsOnly,maxLength,validateText,isValidProp,validateTextValue,onChange,clearNativeInvalid]);const wrapperStyle=useMemo(()=>getInputWrapperStyle(style,widthMode),[style,widthMode]);const outlineValidity=nativeValidation.isNativeInvalid?false:isValid;const containerStyle=useMemo(()=>getInputContainerStyle({breakpoint,theme,brand,disabled,isFocused,isHovered,isValid:outlineValidity,validateField:validateText,reducedMotion}),[breakpoint,theme,brand,disabled,isFocused,isHovered,outlineValidity,validateText,reducedMotion]);const inputStyle=useMemo(()=>getInputElementStyle({breakpoint,theme,brand,disabled}),[breakpoint,theme,brand,disabled]);const validationIconStyle=useMemo(()=>getValidationIconContainerStyle({breakpoint}),[breakpoint]);const errorMessageStyle=useMemo(()=>getInputErrorMessageStyle({breakpoint,theme,brand}),[breakpoint,theme,brand]);const placeholderCSS=useMemo(()=>getPlaceholderCSS(inputId,getInputPlaceholderColor(theme,brand)),[inputId,theme,brand]);if(hidden){return null;}const validInputProps=Object.keys(rest).reduce((acc,key)=>{const framerProps=[\"framerComponentId\",\"framerName\",\"framerIntrinsicWidth\",\"framerIntrinsicHeight\",\"framerSupportedLayoutWidth\",\"framerSupportedLayoutHeight\"];const reactProps=[\"key\",\"ref\",\"children\"];const componentProps=[\"previewMode\",\"label\",\"helperText\",\"state\",\"brand\",\"digitsOnly\"];if(!framerProps.includes(key)&&!reactProps.includes(key)&&!componentProps.includes(key)){acc[key]=rest[key];}return acc;},{});return /*#__PURE__*/_jsxs(\"div\",{id:id,style:wrapperStyle,children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:placeholderCSS}}),/*#__PURE__*/_jsxs(\"div\",{style:containerStyle,onMouseEnter:baseHandlers.onMouseEnter,onMouseLeave:baseHandlers.onMouseLeave,children:[/*#__PURE__*/_jsx(\"input\",{ref:mergedInputRef,id:inputId,type:type,name:name,required:required,disabled:disabled,value:inputValue,onChange:handleChange,onKeyDown:onKeyDown,placeholder:placeholder,maxLength:maxLength,inputMode:inputMode,autoComplete:autoComplete,style:inputStyle,onFocus:baseHandlers.onFocus,onBlur:handleBlur,onInvalid:nativeValidation.handleInvalid,\"aria-labelledby\":labelId||undefined,\"aria-label\":resolvedAriaLabel,\"aria-invalid\":isValid===false||nativeValidation.isNativeInvalid,\"aria-describedby\":ariaDescribedByValue,\"aria-disabled\":disabled,\"aria-required\":required,...validInputProps}),validateText&&isValid!==null&&/*#__PURE__*/_jsx(\"div\",{style:validationIconStyle,children:/*#__PURE__*/_jsx(ValidationIcon,{isValid:isValid,decorative:true})})]}),nativeValidation.errorRowMessage!==null&&/*#__PURE__*/_jsx(\"div\",{id:errorMessageId,role:\"alert\",\"aria-live\":\"polite\",style:errorMessageStyle,children:nativeValidation.errorRowMessage})]});});function coerceIsValid(value){if(value===true||value===\"valid\")return true;if(value===false||value===\"invalid\")return false;return undefined;}export default function InputText(props){const{ref,isValid,errorMessage,...rest}=props;return /*#__PURE__*/_jsx(InputTextInternal,{...rest,ref:ref,isValid:coerceIsValid(isValid),errorMessage:errorMessage===\"\"?undefined:errorMessage});}InputText.displayName=\"Input Text - Atom\";addPropertyControls(InputText,{name:{type:ControlType.String,title:\"Name\",defaultValue:\"input\",placeholder:\"Enter field name...\",description:\"Form field name used for form submission.\",preventLocalization:true},value:{type:ControlType.String,title:\"Value\",defaultValue:\"\",description:\"Current text value.\",placeholder:\"Enter text...\"},placeholder:{type:ControlType.String,title:\"Placeholder\",defaultValue:\"Enter text...\",placeholder:\"Enter placeholder text...\",description:\"Placeholder text shown when input is empty.\"},type:{type:ControlType.Enum,title:\"Type\",options:[\"text\",\"search\",\"email\",\"tel\",\"url\",\"password\"],optionTitles:[\"Text\",\"Search\",\"Email\",\"Tel\",\"URL\",\"Password\"],defaultValue:\"text\",displaySegmentedControl:false,description:\"Input type attribute. Use the dedicated InputEmail / InputPassword / InputUrl / InputNumber / InputDate components when available — only the safe subset of `<input>` types that don't change rendering semantics is exposed here.\"},autoComplete:{type:ControlType.Enum,title:\"Autocomplete\",options:[...AUTOCOMPLETE_OPTIONS],optionTitles:[...AUTOCOMPLETE_OPTION_TITLES],defaultValue:\"unset\",description:\"What the field asks for, so browsers and assistive tech can fill it in (WCAG 1.3.5). Not set leaves the browser default.\"},disabled:{type:ControlType.Boolean,title:\"Disabled\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\",description:\"Disable user interaction with the input.\"},required:{type:ControlType.Boolean,title:\"Required\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\",description:\"Whether the field is required for form submission.\"},hidden:{type:ControlType.Boolean,title:\"Hidden\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\",description:\"Hide the input field from view.\"},validateText:{type:ControlType.Boolean,title:\"Validate Text\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\",description:\"Enable text validation.\"},minLength:{type:ControlType.Number,title:\"Minimum Length\",defaultValue:NO_LENGTH_LIMIT,min:0,step:1,description:\"Minimum text length required. 0 means no minimum.\",displayStepper:true,hidden:({validateText})=>!validateText},maxLength:{type:ControlType.Number,title:\"Maximum Length\",defaultValue:NO_LENGTH_LIMIT,min:0,step:1,description:\"Maximum text length allowed. 0 means no limit. Only applies while Validate Text is on.\",displayStepper:true,hidden:({validateText})=>!validateText},isValid:{type:ControlType.Enum,title:\"Validation\",options:[\"unset\",\"valid\",\"invalid\"],optionTitles:[\"Neutral\",\"Valid\",\"Invalid\"],displaySegmentedControl:true,defaultValue:\"unset\",description:\"Preview the externally-controlled validation state. Leave Neutral for automatic validation.\",hidden:({validateText})=>!validateText},errorMessage:{type:ControlType.String,title:\"Error Message\",defaultValue:\"\",placeholder:\"Enter error message...\",description:\"Error message to display when validation fails.\",hidden:({validateText})=>!validateText},showError:{type:ControlType.Boolean,title:\"Show Error\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\",description:\"Display error message when validation fails.\",hidden:({validateText})=>!validateText},onChange:{type:ControlType.EventHandler,title:\"On Change\",description:FRAMER_ON_CHANGE_DESCRIPTION},onKeyDown:{type:ControlType.EventHandler,title:\"On Key Down\",description:FRAMER_ON_KEY_DOWN_DESCRIPTION},labelId:{type:ControlType.String,title:\"Label ID\",defaultValue:\"\",description:\"ID of the label element associated with this input (for accessibility).\",placeholder:\"label-id\",preventLocalization:true},ariaDescribedBy:{type:ControlType.String,title:\"ARIA Described By\",defaultValue:\"\",description:\"External aria-describedby ID for error message association (used by parent molecules).\",placeholder:\"error-message-id\",preventLocalization:true},ariaLabel:{type:ControlType.String,title:\"ARIA Label\",defaultValue:\"\",placeholder:\"e.g. Full name\",description:\"Only for a field with no visible label. When the field sits in a label or has a Label ID, the visible label names it and this is ignored.\"},id:{type:ControlType.String,title:\"ID\",defaultValue:\"input-text\",placeholder:\"e.g. my-element\",description:\"HTML id for the root element (e.g. for analytics or anchor links).\",preventLocalization:true},widthMode:{type:ControlType.Enum,title:\"Width\",options:[\"default\",\"fill\"],optionTitles:[\"Default\",\"Fill\"],displaySegmentedControl:true,defaultValue:\"default\",description:\"Default caps the field at the standard input width. Fill stretches it to the width of its container.\"},...breakpointPropertyControl(FRAMER_BREAKPOINT_DESCRIPTION),...themePropertyControls(FRAMER_THEME_DESCRIPTION_FORM_WITH_CHILDREN),...brandPropertyControl()});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"InputText\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"InputTextProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,ojBAAgQ,SAAgB8D,GAAwB,CAAC,uBAAqB,eAAa,GAAG,YAAU,GAAK,iBAAe,kBAAgB,kBAAgBC,EAAyB,kBAAgB,CAAC,GAAK,CAACC,EAAcC,GAAkBjE,EAAS,IAAI,EAAQkE,EAAcjE,EAAY,GAAO,CAAC,IAAMkE,EAAOC,EAAM,cAAiBD,EAAO,UAAU,aAAcF,EAAiBI,CAAe,EAAUJ,EAAiBK,GAAgBH,EAAO,mBAAmBE,CAAe,CAAE,EAAE,CAACA,EAAgBC,CAAc,CAAC,EAAQC,EAAmBtE,MAAgB,CAACgE,EAAiB,IAAI,CAAE,EAAE,CAAC,CAAC,EAAMO,EAAgBC,EAAwBD,IAAkB,MAAMR,IAAgB,OAAUU,EAAqDC,IAAW,EAAgBD,GAAlE,EAAgBV,GAAiE,IAAMY,EAAmBC,GAAiB,KAAK,GAAG,GAASC,EAAqB5E,MAAY,CAAC,IAAM6E,EAAI,CAAC,EAA4G,OAAvGP,IAAkB,MAAMO,EAAI,KAAKC,CAAc,EAAMJ,GAAoBG,EAAI,KAAKH,CAAkB,EAAUG,EAAI,OAAO,EAAEA,EAAI,KAAK,GAAG,EAAE,IAAA,EAAU,EAAE,CAACP,EAAgBQ,EAAeJ,CAAkB,CAAC,EAAE,MAAM,CAAC,gBAAc,qBAAmB,gBAA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