{"version":3,"file":"ConditionalLogicUtil-69lIOW.BVfpjo5B.mjs","names":["useState","useRef"],"sources":["https:/framerusercontent.com/modules/fBY7K5QM2pcfPmulIEIE/Me2ySUTVBoJamwgnuThj/ConditionalLogicUtil.js","https:/framer.com/m/ConditionalLogicUtil-69lIOW.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{ControlType}from\"framer\";import{useCallback,useEffect,useRef,useState,forwardRef}from\"react\";export const DEFAULT_CONDITION_ITEM={type:\"visibility\",logic:\"and\",sourceField:\"\",fieldType:\"text\",operator:\"is_not_empty\",numberOperator:\"is_not_empty\",dateOperator:\"is_not_empty\",value:\"\",value2:\"\",numberValue:\"\",numberValue2:\"\",dateValue:\"\",dateValue2:\"\"};/** Resolves the active operator from a ConditionItem based on its fieldType */export function resolveOperator(item){switch(item.fieldType){case\"number\":return item.numberOperator||\"is_not_empty\";case\"date\":return item.dateOperator||\"is_not_empty\";default:return item.operator||\"is_not_empty\";}}/** Resolves value/value2 from the correct field based on fieldType */export function resolveValues(item){switch(item.fieldType){case\"number\":return{value:item.numberValue||item.value||\"\",value2:item.numberValue2||item.value2||\"\"};case\"date\":return{value:item.dateValue||item.value||\"\",value2:item.dateValue2||item.value2||\"\"};default:return{value:item.value||\"\",value2:item.value2||\"\"};}}// ============================================================================\n// DEFAULTS\n// ============================================================================\nexport const DEFAULT_CONDITION={enabled:false,sourceField:\"\",fieldType:\"text\",operator:\"is_not_empty\",value:\"\",value2:\"\",logic:\"and\",enableRule2:false,sourceFieldR2:\"\",fieldTypeR2:\"text\",operatorR2:\"is_not_empty\",valueR2:\"\",value2R2:\"\"};// ============================================================================\n// OPERATOR OPTIONS BY FIELD TYPE\n// ============================================================================\nexport const OPERATOR_OPTIONS={all:[{value:\"is_empty\",label:\"Is Empty\"},{value:\"is_not_empty\",label:\"Is Not Empty\"}],text:[{value:\"contains\",label:\"Contains\"},{value:\"not_contains\",label:\"Not Contains\"},{value:\"exact_match\",label:\"Exact Match (Case Sensitive)\"},{value:\"match\",label:\"Match (Case Insensitive)\"},{value:\"starts_with\",label:\"Starts With\"},{value:\"ends_with\",label:\"Ends With\"},{value:\"length_greater_than\",label:\"Length Greater Than\"},{value:\"length_less_than\",label:\"Length Less Than\"},{value:\"regex\",label:\"Regex\"}],number:[{value:\"equals\",label:\"Equals\"},{value:\"not_equals\",label:\"Not Equals\"},{value:\"greater_than\",label:\"Greater Than\"},{value:\"less_than\",label:\"Less Than\"},{value:\"greater_than_equals\",label:\"Greater Than or Equals\"},{value:\"less_than_equals\",label:\"Less Than or Equals\"},{value:\"between\",label:\"Between\"},{value:\"not_between\",label:\"Not Between\"}],date:[{value:\"equals\",label:\"Equals\"},{value:\"not_equals\",label:\"Not Equals\"},{value:\"before\",label:\"Before\"},{value:\"after\",label:\"After\"},{value:\"between\",label:\"Between\"},{value:\"not_between\",label:\"Not Between\"}]};// Build flat lists for property controls\nconst ALL_OPERATOR_VALUES=[...OPERATOR_OPTIONS.all,...OPERATOR_OPTIONS.text,...OPERATOR_OPTIONS.number,...OPERATOR_OPTIONS.date].reduce((acc,op)=>{if(!acc.find(o=>o.value===op.value))acc.push(op);return acc;},[]);export const ALL_OPERATOR_IDS=ALL_OPERATOR_VALUES.map(o=>o.value);export const ALL_OPERATOR_LABELS=ALL_OPERATOR_VALUES.map(o=>o.label);// Per-type operator lists (including \"all\" operators)\nconst TEXT_OPERATOR_LIST=[...OPERATOR_OPTIONS.all,...OPERATOR_OPTIONS.text];const NUMBER_OPERATOR_LIST=[...OPERATOR_OPTIONS.all,...OPERATOR_OPTIONS.number];const DATE_OPERATOR_LIST=[...OPERATOR_OPTIONS.all,...OPERATOR_OPTIONS.date];export const TEXT_OPERATOR_IDS=TEXT_OPERATOR_LIST.map(o=>o.value);export const TEXT_OPERATOR_LABELS=TEXT_OPERATOR_LIST.map(o=>o.label);export const NUMBER_OPERATOR_IDS=NUMBER_OPERATOR_LIST.map(o=>o.value);export const NUMBER_OPERATOR_LABELS=NUMBER_OPERATOR_LIST.map(o=>o.label);export const DATE_OPERATOR_IDS=DATE_OPERATOR_LIST.map(o=>o.value);export const DATE_OPERATOR_LABELS=DATE_OPERATOR_LIST.map(o=>o.label);// Sets for fast lookup per field type (including \"all\" operators)\nconst TEXT_OPS=new Set([...OPERATOR_OPTIONS.all,...OPERATOR_OPTIONS.text].map(o=>o.value));const NUMBER_OPS=new Set([...OPERATOR_OPTIONS.all,...OPERATOR_OPTIONS.number].map(o=>o.value));const DATE_OPS=new Set([...OPERATOR_OPTIONS.all,...OPERATOR_OPTIONS.date].map(o=>o.value));export function isOperatorValidForType(operator,fieldType){switch(fieldType){case\"number\":return NUMBER_OPS.has(operator);case\"date\":return DATE_OPS.has(operator);default:return TEXT_OPS.has(operator);}}// Operators that need no value input\nexport const NO_VALUE_OPS=new Set([\"is_empty\",\"is_not_empty\"]);// Operators that need a second value input (between / not_between)\nexport const RANGE_OPS=new Set([\"between\",\"not_between\"]);// Operators that need a special value input (length or regex pattern)\nexport const SPECIAL_VALUE_OPS=new Set([\"length_greater_than\",\"length_less_than\",\"regex\"]);// ============================================================================\n// DATE PARSER\n// ============================================================================\n/**\n * Parses a date string into a comparable timestamp.\n * Supports YYYY-MM-DD (from HTML date inputs) and other Date-parsable formats.\n * Uses UTC noon to avoid timezone/DST edge cases with YYYY-MM-DD.\n */function parseDate(s){if(!s)return NaN;// YYYY-MM-DD format — parse as UTC noon to avoid off-by-one timezone issues\nconst isoMatch=s.match(/^(\\d{4})-(\\d{2})-(\\d{2})$/);if(isoMatch){return Date.UTC(Number(isoMatch[1]),Number(isoMatch[2])-1,Number(isoMatch[3]),12);}return new Date(s).getTime();}// ============================================================================\n// CONDITION EVALUATOR\n// ============================================================================\nexport function evaluateCondition(fieldValue,config){// If operator is invalid for the selected fieldType, pass through\nif(!isOperatorValidForType(config.operator,config.fieldType))return true;const v=fieldValue||\"\";const target=config.value||\"\";const target2=config.value2||\"\";switch(config.operator){// All types\ncase\"is_empty\":return v.trim()===\"\";case\"is_not_empty\":return v.trim()!==\"\";// Text operators\ncase\"contains\":return v.toLowerCase().includes(target.toLowerCase());case\"not_contains\":return!v.toLowerCase().includes(target.toLowerCase());case\"exact_match\":return v===target;case\"match\":return v.toLowerCase()===target.toLowerCase();case\"starts_with\":return v.toLowerCase().startsWith(target.toLowerCase());case\"ends_with\":return v.toLowerCase().endsWith(target.toLowerCase());case\"length_greater_than\":return v.length>(parseInt(target,10)||0);case\"length_less_than\":return v.length<(parseInt(target,10)||0);case\"regex\":try{return new RegExp(target).test(v);}catch{return false;}// Number operators\ncase\"equals\":{if(config.fieldType===\"date\")return parseDate(v)===parseDate(target);return parseFloat(v)===parseFloat(target);}case\"not_equals\":{if(config.fieldType===\"date\")return parseDate(v)!==parseDate(target);return parseFloat(v)!==parseFloat(target);}case\"greater_than\":return parseFloat(v)>parseFloat(target);case\"less_than\":return parseFloat(v)<parseFloat(target);case\"greater_than_equals\":return parseFloat(v)>=parseFloat(target);case\"less_than_equals\":return parseFloat(v)<=parseFloat(target);case\"between\":{if(config.fieldType===\"date\"){const d=parseDate(v);return d>=parseDate(target)&&d<=parseDate(target2);}const num=parseFloat(v);return num>=parseFloat(target)&&num<=parseFloat(target2);}case\"not_between\":{if(config.fieldType===\"date\"){const d=parseDate(v);return d<parseDate(target)||d>parseDate(target2);}const num=parseFloat(v);return num<parseFloat(target)||num>parseFloat(target2);}// Date operators\ncase\"before\":return parseDate(v)<parseDate(target);case\"after\":return parseDate(v)>parseDate(target);default:return true;}}// ============================================================================\n// CONDITION EFFECT HOOK\n// ============================================================================\n/**\n * Hook that manages all 5 condition types (visibility, required, readOnly, disable, valueReset).\n * Watches source fields in the DOM, evaluates conditions, and returns reactive state.\n *\n * @param configs - Object containing all condition configs\n * @param fallbackSourceField - Fallback source field name if condition's own sourceField is empty\n * @param isCanvas - Whether rendering on Framer canvas (disables watchers)\n * @param onValueReset - Callback fired when valueReset condition transitions to true\n */export function useConditionalLogic(configs,fallbackSourceField,isCanvas,onValueReset){const[isVisible,setIsVisible]=useState(!configs.visibility.enabled);const[isRequired,setIsRequired]=useState(false);const[isReadOnly,setIsReadOnly]=useState(false);const[isDisabled,setIsDisabled]=useState(false);// Shared compound condition watcher logic\nconst conditionEffect=useCallback((config,defaultState,onResult)=>{if(!config.enabled){onResult(defaultState);return undefined;}if(isCanvas){onResult(defaultState);return undefined;}const cleanups=[];let result1=false;let result2=false;const hasRule2=Boolean(config.enableRule2);const combine=()=>{if(!hasRule2){onResult(result1);}else if(config.logic===\"or\"){onResult(result1||result2);}else{onResult(result1&&result2);}};const rule2Config={...config,sourceField:config.sourceFieldR2,fieldType:config.fieldTypeR2,operator:config.operatorR2,value:config.valueR2,value2:config.value2R2};const getSelector=name=>`input[name=\"${name}\"], select[name=\"${name}\"], textarea[name=\"${name}\"]`;const watchSource=(sourceName,ruleConfig,setResult)=>{const resolved=sourceName||fallbackSourceField||\"\";if(!resolved)return;const selector=getSelector(resolved);let currentEl=null;let currentCleanup=null;const attachListener=sourceEl=>{if(currentEl===sourceEl)return;if(currentCleanup)currentCleanup();currentEl=sourceEl;const check=()=>{setResult(evaluateCondition(sourceEl.value,ruleConfig));combine();};check();sourceEl.addEventListener(\"input\",check);sourceEl.addEventListener(\"change\",check);currentCleanup=()=>{sourceEl.removeEventListener(\"input\",check);sourceEl.removeEventListener(\"change\",check);};};const existing=document.querySelector(selector);if(existing){attachListener(existing);}// Keep watching so we re-attach when a source field is\n// removed (hidden) and later re-added (shown) in the DOM.\nconst observer=new MutationObserver(()=>{const el=document.querySelector(selector);if(el&&el!==currentEl){attachListener(el);}else if(!el&&currentEl){if(currentCleanup)currentCleanup();currentEl=null;currentCleanup=null;}});observer.observe(document.body,{childList:true,subtree:true});cleanups.push(()=>{observer.disconnect();if(currentCleanup)currentCleanup();});};watchSource(config.sourceField,config,r=>{result1=r;});if(hasRule2){watchSource(config.sourceFieldR2,rule2Config,r=>{result2=r;});}return()=>cleanups.forEach(fn=>fn());},[isCanvas,fallbackSourceField]);// Shared deps builder\nconst conditionDeps=cfg=>[cfg.enabled,cfg.sourceField,cfg.fieldType,cfg.operator,cfg.value,cfg.value2,cfg.logic,cfg.enableRule2,cfg.sourceFieldR2,cfg.fieldTypeR2,cfg.operatorR2,cfg.valueR2,cfg.value2R2];// Visibility\nuseEffect(()=>{return conditionEffect(configs.visibility,true,setIsVisible);// eslint-disable-next-line react-hooks/exhaustive-deps\n},[conditionEffect,...conditionDeps(configs.visibility)]);// Required\nuseEffect(()=>{return conditionEffect(configs.requiredCondition,false,setIsRequired);// eslint-disable-next-line react-hooks/exhaustive-deps\n},[conditionEffect,...conditionDeps(configs.requiredCondition)]);// Read-only\nuseEffect(()=>{return conditionEffect(configs.readOnlyCondition,false,setIsReadOnly);// eslint-disable-next-line react-hooks/exhaustive-deps\n},[conditionEffect,...conditionDeps(configs.readOnlyCondition)]);// Disable\nuseEffect(()=>{return conditionEffect(configs.disableCondition,false,setIsDisabled);// eslint-disable-next-line react-hooks/exhaustive-deps\n},[conditionEffect,...conditionDeps(configs.disableCondition)]);// Value reset — fires callback when condition transitions to true\nconst valueResetPrevRef=useRef(false);useEffect(()=>{return conditionEffect(configs.valueResetCondition,false,result=>{if(result&&!valueResetPrevRef.current){onValueReset?.();}valueResetPrevRef.current=result;});// eslint-disable-next-line react-hooks/exhaustive-deps\n},[conditionEffect,...conditionDeps(configs.valueResetCondition),onValueReset]);return{isVisible,isRequired,isReadOnly,isDisabled};}// ============================================================================\n// PROPERTY CONTROLS HELPER\n// ============================================================================\n/**\n * Generates a Framer property control object for a single condition section.\n * Spread into `addPropertyControls`: `...conditionControl(\"visibility\", \"Visibility\", \"...\")`\n */export function conditionControl(propKey,title,enableDesc){return{[propKey]:{type:ControlType.Object,title,controls:{enabled:{type:ControlType.Boolean,title:\"Enable\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\",description:enableDesc},sourceField:{type:ControlType.String,title:\"Source Field\",defaultValue:\"\",description:\"Field name to watch (e.g. 'Email'). Falls back to the top-level Source Field if empty.\",hidden(props){return!props.enabled;}},fieldType:{type:ControlType.Enum,title:\"Field Type\",defaultValue:\"text\",options:[\"text\",\"number\",\"date\"],optionTitles:[\"Text\",\"Number\",\"Date\"],description:\"Type of the source field. Determines which operators are valid.\",hidden(props){return!props.enabled;}},operator:{type:ControlType.Enum,title:\"Operator\",defaultValue:\"is_not_empty\",options:ALL_OPERATOR_IDS,optionTitles:ALL_OPERATOR_LABELS,description:\"Pick an operator that matches the Field Type. Invalid combos are ignored at runtime.\",hidden(props){return!props.enabled;}},value:{type:ControlType.String,title:\"Value\",defaultValue:\"\",description:\"Compare value. For length operators enter a number. For regex enter a pattern.\",hidden(props){return!props.enabled||NO_VALUE_OPS.has(props.operator);}},value2:{type:ControlType.String,title:\"Value 2 (Max)\",defaultValue:\"\",description:\"Second value for Between / Not Between operators.\",hidden(props){return!props.enabled||!RANGE_OPS.has(props.operator);}},// ── Compound rule ──\nenableRule2:{type:ControlType.Boolean,title:\"Add Rule 2\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\",description:\"Add a second condition rule combined with AND / OR logic.\",hidden(props){return!props.enabled;}},logic:{type:ControlType.Enum,title:\"Logic\",defaultValue:\"and\",options:[\"and\",\"or\"],optionTitles:[\"AND\",\"OR\"],displaySegmentedControl:true,description:\"How to combine Rule 1 and Rule 2.\",hidden(props){return!props.enabled||!props.enableRule2;}},sourceFieldR2:{type:ControlType.String,title:\"Source Field (R2)\",defaultValue:\"\",description:\"Source field for Rule 2. Falls back to the top-level Source Field if empty.\",hidden(props){return!props.enabled||!props.enableRule2;}},fieldTypeR2:{type:ControlType.Enum,title:\"Field Type (R2)\",defaultValue:\"text\",options:[\"text\",\"number\",\"date\"],optionTitles:[\"Text\",\"Number\",\"Date\"],hidden(props){return!props.enabled||!props.enableRule2;}},operatorR2:{type:ControlType.Enum,title:\"Operator (R2)\",defaultValue:\"is_not_empty\",options:ALL_OPERATOR_IDS,optionTitles:ALL_OPERATOR_LABELS,description:\"Operator for Rule 2. Pick one that matches the Rule 2 Field Type.\",hidden(props){return!props.enabled||!props.enableRule2;}},valueR2:{type:ControlType.String,title:\"Value (R2)\",defaultValue:\"\",description:\"Compare value for Rule 2. For length operators enter a number. For regex enter a pattern.\",hidden(props){return!props.enabled||!props.enableRule2||NO_VALUE_OPS.has(props.operatorR2);}},value2R2:{type:ControlType.String,title:\"Value 2 (R2 Max)\",defaultValue:\"\",description:\"Second value for Rule 2 Between / Not Between.\",hidden(props){return!props.enabled||!props.enableRule2||!RANGE_OPS.has(props.operatorR2);}}}}};}// ============================================================================\n// STANDARD CONDITION PROPERTY CONTROLS (pre-built for common usage)\n// ============================================================================\nexport const CONDITION_CONTROLS={...conditionControl(\"visibility\",\"Visibility\",\"Show or hide this field based on another field's value.\"),...conditionControl(\"requiredCondition\",\"Required\",\"Make this field required based on another field's value. Overrides the static Required toggle.\"),...conditionControl(\"readOnlyCondition\",\"Read-Only\",\"Make this field read-only based on another field's value.\"),...conditionControl(\"disableCondition\",\"Disable\",\"Disable this field based on another field's value. Disabled fields are greyed out and excluded from form submission.\"),...conditionControl(\"valueResetCondition\",\"Value Reset\",\"Clear this field's value when the condition on another field becomes true.\")};/**\n * Source field property control — add before CONDITION_CONTROLS in addPropertyControls.\n */export const SOURCE_FIELD_CONTROL={sourceField:{type:ControlType.String,title:\"Source Field\",defaultValue:\"\",description:\"Field name to read value from (e.g. 'Email'). Used as the default source for all conditions below.\"}};// ============================================================================\n// ARRAY-BASED CONDITION SYSTEM\n// ============================================================================\n/**\n * Hook that evaluates a dynamic array of ConditionItem[].\n * Groups conditions by type, combines per-type with AND/OR logic,\n * and returns reactive ConditionState.\n */export function useConditionArray(conditions,fallbackSourceField,isCanvas,onValueReset){const[state,setState]=useState({isVisible:true,isRequired:false,isReadOnly:false,isDisabled:false});const valueResetPrevRef=useRef(false);const onValueResetRef=useRef(onValueReset);onValueResetRef.current=onValueReset;// Serialize conditions for stable effect dependency\nconst conditionsKey=JSON.stringify(conditions);useEffect(()=>{if(!conditions?.length||isCanvas){setState({isVisible:true,isRequired:false,isReadOnly:false,isDisabled:false});valueResetPrevRef.current=false;return;}const fieldValues=new Map;const cleanups=[];// Collect all unique source field names\nconst sourceFields=new Set(conditions.map(c=>c.sourceField||fallbackSourceField||\"\").filter(Boolean));const evaluate=()=>{// Accumulate per-type results\nconst results={visibility:null,required:null,readOnly:null,disable:null,valueReset:null};for(const condition of conditions){const resolved=condition.sourceField||fallbackSourceField||\"\";const fieldValue=fieldValues.get(resolved)||\"\";const activeOperator=resolveOperator(condition);const resolvedVals=resolveValues(condition);const result=evaluateCondition(fieldValue,{fieldType:condition.fieldType||\"text\",operator:activeOperator,value:resolvedVals.value,value2:resolvedVals.value2});const t=condition.type;if(results[t]===null){results[t]=result;}else if(condition.logic===\"or\"){results[t]=results[t]||result;}else{results[t]=results[t]&&result;}}setState({isVisible:results.visibility===null?true:results.visibility,isRequired:results.required===null?false:results.required,isReadOnly:results.readOnly===null?false:results.readOnly,isDisabled:results.disable===null?false:results.disable});// Value reset — edge-triggered\nconst vr=results.valueReset===null?false:results.valueReset;if(vr&&!valueResetPrevRef.current){onValueResetRef.current?.();}valueResetPrevRef.current=vr;};// Watch each unique source field in the DOM\nfor(const fieldName of sourceFields){const selector=`input[name=\"${fieldName}\"], select[name=\"${fieldName}\"], textarea[name=\"${fieldName}\"]`;let currentEl=null;let currentCleanup=null;const attachListener=sourceEl=>{if(currentEl===sourceEl)return;if(currentCleanup)currentCleanup();currentEl=sourceEl;const check=()=>{fieldValues.set(fieldName,sourceEl.value);evaluate();};fieldValues.set(fieldName,sourceEl.value);sourceEl.addEventListener(\"input\",check);sourceEl.addEventListener(\"change\",check);currentCleanup=()=>{sourceEl.removeEventListener(\"input\",check);sourceEl.removeEventListener(\"change\",check);};};const existing=document.querySelector(selector);if(existing){attachListener(existing);}// Keep watching so we re-attach when a source field is\n// removed (hidden) and later re-added (shown) in the DOM.\nconst observer=new MutationObserver(()=>{const el=document.querySelector(selector);if(el&&el!==currentEl){attachListener(el);evaluate();}else if(!el&&currentEl){if(currentCleanup)currentCleanup();currentEl=null;currentCleanup=null;}});observer.observe(document.body,{childList:true,subtree:true});cleanups.push(()=>{observer.disconnect();if(currentCleanup)currentCleanup();});}// Initial evaluation after all watchers attached\nevaluate();return()=>cleanups.forEach(fn=>fn());// eslint-disable-next-line react-hooks/exhaustive-deps\n},[conditionsKey,fallbackSourceField,isCanvas]);return state;}/**\n * Framer property control for a conditions array.\n * Usage: `...CONDITION_ARRAY_CONTROL` spread into addPropertyControls.\n *//** Helper: get the active operator from array item props based on fieldType */function getActiveOp(props){if(props.fieldType===\"number\")return props.numberOperator||\"is_not_empty\";if(props.fieldType===\"date\")return props.dateOperator||\"is_not_empty\";return props.operator||\"is_not_empty\";}export const CONDITION_ARRAY_CONTROL={conditions:{type:ControlType.Array,title:\"Conditions\",description:\"Add rules to control this field based on other fields' values.\",control:{type:ControlType.Object,controls:{type:{type:ControlType.Enum,title:\"Action\",defaultValue:\"visibility\",options:[\"visibility\",\"required\",\"readOnly\",\"disable\",\"valueReset\"],optionTitles:[\"Show / Hide\",\"Required\",\"Read-Only\",\"Disable\",\"Value Reset\"]},logic:{type:ControlType.Enum,title:\"Logic\",defaultValue:\"and\",options:[\"and\",\"or\"],optionTitles:[\"AND\",\"OR\"],displaySegmentedControl:true},sourceField:{type:ControlType.String,title:\"Source Field\",defaultValue:\"\",description:\"Field name to watch (e.g. 'email', 'phone'). Must match the field's Name property.\"},fieldType:{type:ControlType.Enum,title:\"Field Type\",defaultValue:\"text\",options:[\"text\",\"number\",\"date\"],optionTitles:[\"Text\",\"Number\",\"Date\"]},operator:{type:ControlType.Enum,title:\"Operator\",defaultValue:\"is_not_empty\",options:TEXT_OPERATOR_IDS,optionTitles:TEXT_OPERATOR_LABELS,hidden(props){return props.fieldType!==\"text\";}},numberOperator:{type:ControlType.Enum,title:\"Operator\",defaultValue:\"is_not_empty\",options:NUMBER_OPERATOR_IDS,optionTitles:NUMBER_OPERATOR_LABELS,hidden(props){return props.fieldType!==\"number\";}},dateOperator:{type:ControlType.Enum,title:\"Operator\",defaultValue:\"is_not_empty\",options:DATE_OPERATOR_IDS,optionTitles:DATE_OPERATOR_LABELS,hidden(props){return props.fieldType!==\"date\";}},value:{type:ControlType.String,title:\"Value\",defaultValue:\"\",description:\"Text to compare. For length operators: a number. For regex: a pattern.\",hidden(props){return props.fieldType!==\"text\"||NO_VALUE_OPS.has(getActiveOp(props));}},numberValue:{type:ControlType.String,title:\"Value\",defaultValue:\"\",description:\"Enter a number (e.g. 42, 3.14).\",hidden(props){return props.fieldType!==\"number\"||NO_VALUE_OPS.has(getActiveOp(props));}},dateValue:{type:ControlType.String,title:\"Value\",defaultValue:\"\",description:\"Date format: YYYY-MM-DD (e.g. 2025-06-15).\",hidden(props){return props.fieldType!==\"date\"||NO_VALUE_OPS.has(getActiveOp(props));}},value2:{type:ControlType.String,title:\"Value 2 (Max)\",defaultValue:\"\",description:\"End text value for Between / Not Between.\",hidden(props){return props.fieldType!==\"text\"||!RANGE_OPS.has(getActiveOp(props));}},numberValue2:{type:ControlType.String,title:\"Value 2 (Max)\",defaultValue:\"\",description:\"End number for Between / Not Between range.\",hidden(props){return props.fieldType!==\"number\"||!RANGE_OPS.has(getActiveOp(props));}},dateValue2:{type:ControlType.String,title:\"Value 2 (Max)\",defaultValue:\"\",description:\"End date for range. Format: YYYY-MM-DD.\",hidden(props){return props.fieldType!==\"date\"||!RANGE_OPS.has(getActiveOp(props));}}}},defaultValue:[]}};// ============================================================================\n// DEFAULT EXPORT (required for Framer module upload)\n// ============================================================================\n/**\n * Placeholder component — required for Framer to register this as a module.\n * Not intended for direct canvas use. Import named exports in other components.\n */const ConditionalLogic=/*#__PURE__*/forwardRef((_,ref)=>{return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{display:\"none\"}});});ConditionalLogic.displayName=\"Conditional Logic\";export default ConditionalLogic;\nexport const __FramerMetadata__ = {\"exports\":{\"evaluateCondition\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DATE_OPERATOR_IDS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ConditionItem\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SOURCE_FIELD_CONTROL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NUMBER_OPERATOR_IDS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"OPERATOR_OPTIONS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"EvalConfig\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ALL_OPERATOR_LABELS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ConditionType\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NUMBER_OPERATOR_LABELS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useConditionArray\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"NO_VALUE_OPS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"conditionControl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"resolveOperator\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ConditionConfig\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CONDITION_ARRAY_CONTROL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ConditionState\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useConditionalLogic\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ALL_OPERATOR_IDS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CONDITION_CONTROLS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isOperatorValidForType\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TEXT_OPERATOR_IDS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DEFAULT_CONDITION_ITEM\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"RANGE_OPS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TEXT_OPERATOR_LABELS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SPECIAL_VALUE_OPS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DATE_OPERATOR_LABELS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DEFAULT_CONDITION\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"resolveValues\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ConditionalLogicUtil.map","/*\n * ConditionalLogicUtil\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/fBY7K5QM2pcfPmulIEIE/Me2ySUTVBoJamwgnuThj/ConditionalLogicUtil.js\"\nexport { default } from \"https://framerusercontent.com/modules/fBY7K5QM2pcfPmulIEIE/Me2ySUTVBoJamwgnuThj/ConditionalLogicUtil.js\"\n"],"mappings":"wLAAie,SAAgB,EAAgB,EAAK,CAAC,OAAO,EAAK,UAAZ,CAAuB,IAAI,SAAS,OAAO,EAAK,gBAAgB,eAAe,IAAI,OAAO,OAAO,EAAK,cAAc,eAAe,QAAQ,OAAO,EAAK,UAAU,gBAAuF,SAAgB,EAAc,EAAK,CAAC,OAAO,EAAK,UAAZ,CAAuB,IAAI,SAAS,MAAM,CAAC,MAAM,EAAK,aAAa,EAAK,OAAO,GAAG,OA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