{"version":3,"file":"CMSFilters.DKo2m082.mjs","names":["useState","isCanvas","useRef","useMemo","_Fragment","useMemo","Children","_Fragment","useState","useMemo","_Fragment","useState","isPreview","_Fragment","_Fragment","_Fragment","useState","useRef","_Fragment","_Fragment","useState","useRef","minPercentage","maxPercentage","value","_Fragment","_Fragment","_Fragment","_Fragment","useState","useRef"],"sources":["https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0","https:/framerusercontent.com/modules/2VZikWBxCagm4nJReNjX/z54ASxxAIXcD5lI71IM4/store_management.js","https:/framerusercontent.com/modules/jM8jD1GlrCxD96rrTGLC/GAJHcZGPW9K4bc0TyfST/query_builders.js","https:/framerusercontent.com/modules/0ZtPI0zMKW1Pn08h8oa0/NlyoXwUY3bIihn89XH3O/variant_utils.js","https:/framerusercontent.com/modules/4kubTvEfQH0kypVlANcr/ZfMjtznwFTuHWKmjxRdt/CMSCollection.js","https:/framerusercontent.com/modules/5xjNwrxeofFepEm0pgV0/cqhcTlOl619QaoqSkXzd/facet_utils.js","https:/framerusercontent.com/modules/4T9ZQguaMOvgDY3HuANr/QvZ0ljYJg3jxY3NaLz7w/CMSFacets.js","https:/framerusercontent.com/modules/ACiSfH9XmEeGQw9FrwJm/bEbZ31JnGJnRUxSkUJHX/CMSSearch.js","https:/framerusercontent.com/modules/bupQ8QZn77ZHdEQHEXHg/7WNnYbrDeQSjLN1d5aqz/CMSClearAll.js","https:/framerusercontent.com/modules/gpP9NQZkGM08zua7fzDA/qCIZ0MmU0r7JnBfK0IXC/filter_utils.js","https:/framerusercontent.com/modules/6NPURxBM0dOECdL7VbnS/w02WwMdiEG8mYyjoqdP9/TextFilter.js","https:/framerusercontent.com/modules/UqIxQlR9i7N7s5eURJXt/d1QPj9tIG1u3J2inILMo/NumberFilter.js","https:/framerusercontent.com/modules/rhjV7CBikISubRqt2bpe/0dxann4JTQBj1vu4TpoJ/SelectFilter.js","https:/framerusercontent.com/modules/yoPENdwUHgW0xBoBrcKB/fK5gNnXfExdiXEU2TFLG/TagFilter.js","https:/framerusercontent.com/modules/ktAWutRRdcvtUBylxWdw/1Anb1bXksLega5vBpgYT/CheckboxFilter.js","https:/framerusercontent.com/modules/bf8X1kauFnevisLXUtaB/SfMkOghFNOIP8DUUp5Le/DropdownFilter.js","https:/framerusercontent.com/modules/BNKPJXocDPceT63H0PHv/smWc6MXOXaOoUz1hNybU/DoubleRangeSlider.js","https:/framerusercontent.com/modules/f4De0XAwI4Kf8M6qHjz8/NAi0G82n4Gwv4ifblSm3/RangeFilter.js","https:/framerusercontent.com/modules/CI7Pin8tWGfRHLuGR8tI/F3Cx0dF3wh75RqduRn6l/ToggleFilter.js","https:/framerusercontent.com/modules/YJVHOw7sdl2iLFF7oTta/8WTPV81y2z9UOfqKD5Aa/CMSEnumFilter.js","https:/framerusercontent.com/modules/3I5E2iQ0TFDjlfTzBR90/wGJSedCYZzkZislXCtqc/FilterControl.js","https:/framerusercontent.com/modules/nVvoo0B7jcHs47MzljvK/GTel8k3Nqx3iQ9nUE0lW/CMSFilters.js"],"sourcesContent":["import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map","/*\n * createStore (framer/store@1.0.1)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js\"\n","// Store management utilities for CMS Collection\n// Extracted from CMSCollection.tsx for better modularity\nimport{RenderTarget}from\"framer\";// Store management utilities for CMS Collection\n// Extracted from CMSCollection.tsx for better modularity\nimport{createStore}from\"https://framer.com/m/framer/store.js@^1.0\";// Global store initialization tracker\nexport const globalInitStore=createStore({storeInitialized:[]});// Global stores per collection ID\nconst stores=new Map;// Helper to get or create store for collection\nexport const getCollectionStore=collectionId=>{if(!stores.has(collectionId)){const newStore=createStore({searchTerm:\"\",searchFields:[],filters:[],debug:true,count:0});stores.set(collectionId,newStore);// Mark this collection as initialized\nconst[initState,setInitState]=globalInitStore();if(!initState.storeInitialized.includes(collectionId)){setInitState({storeInitialized:[...initState.storeInitialized,collectionId]});}}return stores.get(collectionId);};// Helper to get store key for collection - prioritizes actual CMS collection name\nexport const getCollectionStoreKey=(collection,manualStoreKey)=>{// If manual store key is provided and not \"auto\", use it\nif(manualStoreKey&&manualStoreKey.trim()!==\"\"&&manualStoreKey!==\"auto\"){return manualStoreKey.trim();}const cmsQuery=collection?.length&&collection[0]?.props?.children?.props?.children?.props?.query;if(!cmsQuery)return null;// Handle TWO query structures:\n// 1. WITHOUT reference fields: query.from.data and query.from.alias\n// 2. WITH reference fields: query.from.left.data and query.from.constraint.left.alias\n//    (Framer adds a LEFT JOIN constraint when reference fields exist)\nlet alias=null;let data=null;if(cmsQuery.from?.constraint){// WITH reference fields - data and alias are in different locations\nalias=cmsQuery.from.constraint?.left?.alias||cmsQuery.from.constraint?.left?.collection;data=cmsQuery.from.left?.data;}else{// WITHOUT reference fields - standard path\nalias=cmsQuery.from?.alias;data=cmsQuery.from?.data;}// Priority order for store key:\n// 1. CMS collection name/title from data\n// 2. Collection display name\n// 3. Alias as fallback\nconst storeKey=data?.name||data?.title||data?.displayName||alias;return storeKey||null;};// Helper to extract collection info from slot connection\nexport const getCollectionInfo=collection=>{const cmsQuery=collection?.length&&collection[0]?.props?.children?.props?.children?.props?.query;if(!cmsQuery)return null;// Handle TWO query structures (same as getCollectionStoreKey):\n// 1. WITHOUT reference fields: query.from.data and query.from.alias\n// 2. WITH reference fields: query.from.left.data and query.from.constraint.left.alias\nlet alias=null;let data=null;if(cmsQuery.from?.constraint){// WITH reference fields\nalias=cmsQuery.from.constraint?.left?.alias||cmsQuery.from.constraint?.left?.collection;data=cmsQuery.from.left?.data;}else{// WITHOUT reference fields\nalias=cmsQuery.from?.alias;data=cmsQuery.from?.data;}return{collectionId:alias||\"\",collectionName:data?.displayName||\"\",query:cmsQuery,propertyControls:data?.propertyControls||{}};};// Helper to get available fields from CMS with their types\nexport const getAvailableFilterFields=propertyControls=>{if(!propertyControls||typeof propertyControls!==\"object\"){return[];}return Object.entries(propertyControls).map(([key,control])=>({key,title:control.title||key,type:control.type||\"string\",options:control.options,optionTitles:control.optionTitles})).filter(field=>field.title&&field.type);};// Utility function to generate random strings\nexport function evGetRandomString(length=8){const chars=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\";let result=\"\";for(let i=0;i<length;i++){result+=chars.charAt(Math.floor(Math.random()*chars.length));}return result;}export const isPreview=RenderTarget.current()===RenderTarget.preview;export const isCanvas=RenderTarget.current()===RenderTarget.canvas;\nexport const __FramerMetadata__ = {\"exports\":{\"getCollectionStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"evGetRandomString\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCollectionStoreKey\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCanvas\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FilterStore\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getAvailableFilterFields\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"globalInitStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCollectionInfo\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isPreview\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./store_management.map","// Query building utilities for CMS Collection\n// Extracted from CMSCollection.tsx for better modularity\n// Query building types\n// Helper to check if filter has valid value based on type\nexport const hasValidFilterValue=filter=>{const{value,operator}=filter;// Operators that don't need values\nif(operator===\"is_set\"||operator===\"is_not_set\"){return true;}// Handle different value types\nif(value===null||value===undefined){return false;}// For numeric comparison operators, validate that value can be converted to number\nconst numericOps=[\"greater_than\",\"less_than\",\"greater_than_or_equal\",\"less_than_or_equal\"];if(numericOps.includes(operator)){if(typeof value===\"number\")return!isNaN(value);if(typeof value===\"string\")return!isNaN(parseFloat(value));return false;}// For range filters, check both min and max\nif(operator===\"between\"&&typeof value===\"object\"){return value.min!==undefined&&!isNaN(value.min)||value.max!==undefined&&!isNaN(value.max);}// For arrays (multi-select), check length\nif(Array.isArray(value)){return value.length>0;}// For strings, check if not empty\nif(typeof value===\"string\"){return value.trim()!==\"\";}// For booleans and numbers, always valid\nreturn true;};// Helper to build search where clause - SIMPLIFIED: Always OR across fields\nexport const buildSearchWhereClause=(searchTerm,searchFields,collectionId,propertyControls)=>{if(!searchTerm||!searchTerm.trim()||searchFields.length===0){return null;}// Convert field titles to internal keys\nconst searchFieldKeys=searchFields.map(title=>{const field=Object.entries(propertyControls).find(([key,control])=>control.title?.toLowerCase()===title.toLowerCase());return field?field[0]:title;}).filter(Boolean);if(searchFieldKeys.length===0)return null;// Build search conditions - ALWAYS OR\nconst conditions=searchFieldKeys.map(fieldKey=>({arguments:[{collection:collectionId,name:fieldKey,type:\"Identifier\"},{type:\"LiteralValue\",value:searchTerm}],functionName:\"CONTAINS\",type:\"FunctionCall\"}));// Single condition\nif(conditions.length===1){return conditions[0];}// Multiple conditions with OR logic (simplified)\nlet whereClause={left:conditions[0],operator:\"or\",right:conditions[1],type:\"BinaryOperation\"};// Add remaining conditions with OR\nfor(let i=2;i<conditions.length;i++){whereClause={left:whereClause,operator:\"or\",right:conditions[i],type:\"BinaryOperation\"};}return whereClause;};// Helper to build filter where clause for a single filter\nexport const buildFilterWhereClause=(filter,collectionId,propertyControls)=>{if(!hasValidFilterValue(filter)){return null;}// Convert field title to internal key\nconst fieldKey=Object.entries(propertyControls).find(([key,control])=>control.title?.toLowerCase()===filter.field.toLowerCase())?.[0]||filter.field;const{operator,value}=filter;// Handle is_set and is_not_set operators\nif(operator===\"is_set\"){return{left:{left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:\"!=\",right:{type:\"LiteralValue\",value:null},type:\"BinaryOperation\"},operator:\"and\",right:{left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:\"!=\",right:{type:\"LiteralValue\",value:\"\"},type:\"BinaryOperation\"},type:\"BinaryOperation\"};}if(operator===\"is_not_set\"){return{operator:\"not\",type:\"UnaryOperation\",value:{left:{left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:\"!=\",right:{type:\"LiteralValue\",value:null},type:\"BinaryOperation\"},operator:\"and\",right:{left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:\"!=\",right:{type:\"LiteralValue\",value:\"\"},type:\"BinaryOperation\"},type:\"BinaryOperation\"}};}// Handle range (between) operator\nif(operator===\"between\"&&typeof value===\"object\"){const conditions=[];if(value.min!==undefined&&!isNaN(value.min)){conditions.push({left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:\">=\",right:{type:\"LiteralValue\",value:value.min},type:\"BinaryOperation\"});}if(value.max!==undefined&&!isNaN(value.max)){conditions.push({left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:\"<=\",right:{type:\"LiteralValue\",value:value.max},type:\"BinaryOperation\"});}if(conditions.length===0)return null;if(conditions.length===1)return conditions[0];return{left:conditions[0],operator:\"and\",right:conditions[1],type:\"BinaryOperation\"};}// Handle array values (multi-select)\nif(Array.isArray(value)&&value.length>0){const conditions=value.map(val=>({left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:\"==\",right:{type:\"LiteralValue\",value:val},type:\"BinaryOperation\"}));if(conditions.length===1){return conditions[0];}// Combine with OR logic for multi-select\nlet combined={left:conditions[0],operator:\"or\",right:conditions[1],type:\"BinaryOperation\"};for(let i=2;i<conditions.length;i++){combined={left:combined,operator:\"or\",right:conditions[i],type:\"BinaryOperation\"};}return combined;}// Handle toggle special operators\nif(filter.type===\"toggle\"){// Determine if we need to invert the logic based on config\nconst shouldInvert=filter.config?.toggleInverse===true;// Tri-state support: Check if toggle is in OFF state (value === false)\n// When OFF in tri-state mode, we need to invert the query result\nconst isTriStateOff=value===false;// Build base query\nlet baseQuery;switch(operator){case\"is_enabled\":baseQuery={left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:shouldInvert?\"!=\":\"==\",right:{type:\"LiteralValue\",value:true},type:\"BinaryOperation\"};break;case\"is_disabled\":baseQuery={left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:shouldInvert?\"!=\":\"==\",right:{type:\"LiteralValue\",value:false},type:\"BinaryOperation\"};break;case\"has_value\":baseQuery={left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:shouldInvert?\"<=\":\">\",right:{type:\"LiteralValue\",value:0},type:\"BinaryOperation\"};break;case\"is_empty\":baseQuery={left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:shouldInvert?\"!=\":\"==\",right:{type:\"LiteralValue\",value:0},type:\"BinaryOperation\"};break;}// If tri-state OFF, wrap base query in NOT operator to invert results\nif(isTriStateOff&&baseQuery){return{operator:\"not\",type:\"UnaryOperation\",value:baseQuery};}return baseQuery;}// Handle text search functions\nif(operator===\"contains\"){return{arguments:[{collection:collectionId,name:fieldKey,type:\"Identifier\"},{type:\"LiteralValue\",value:value}],functionName:\"CONTAINS\",type:\"FunctionCall\"};}if(operator===\"starts_with\"){return{arguments:[{collection:collectionId,name:fieldKey,type:\"Identifier\"},{type:\"LiteralValue\",value:value}],functionName:\"STARTS_WITH\",type:\"FunctionCall\"};}if(operator===\"ends_with\"){return{arguments:[{collection:collectionId,name:fieldKey,type:\"Identifier\"},{type:\"LiteralValue\",value:value}],functionName:\"ENDS_WITH\",type:\"FunctionCall\"};}// Handle negated contains\nif(operator===\"not_contains\"){return{operator:\"not\",type:\"UnaryOperation\",value:{arguments:[{collection:collectionId,name:fieldKey,type:\"Identifier\"},{type:\"LiteralValue\",value:value}],functionName:\"CONTAINS\",type:\"FunctionCall\"}};}// Handle comparison operators\nconst operatorMap={equals:\"==\",not_equals:\"!=\",greater_than:\">\",less_than:\"<\",greater_than_or_equal:\">=\",less_than_or_equal:\"<=\"};const mappedOperator=operatorMap[operator];if(mappedOperator){return{left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:mappedOperator,right:{type:\"LiteralValue\",value:value},type:\"BinaryOperation\"};}return null;};// Helper to build filters where clause - FIXED: Use hierarchical logic system\nexport const buildFiltersWhereClause=(filters,collectionId,propertyControls,globalLogic,debugMode=false)=>{const validFilters=filters.filter(hasValidFilterValue);if(validFilters.length===0){return null;}// Group filters by component and builder logic\nconst filtersByComponent=new Map;validFilters.forEach(filter=>{const key=`${filter.componentId}-${filter.builderLogic}`;if(!filtersByComponent.has(key)){filtersByComponent.set(key,[]);}filtersByComponent.get(key).push(filter);});// Build conditions for each component group\nconst componentConditions=[];for(const[key,componentFilters]of filtersByComponent){const[componentId,builderLogic]=key.split(\"-\");// Build individual filter conditions within this component\nconst filterConditions=componentFilters.map(filter=>{// For multi-value filters (arrays), respect individual filter logic\nif(Array.isArray(filter.value)&&filter.value.length>1){return buildMultiValueFilterClause(filter,collectionId,propertyControls);}return buildFilterWhereClause(filter,collectionId,propertyControls);}).filter(Boolean);if(filterConditions.length===0)continue;if(filterConditions.length===1){componentConditions.push(filterConditions[0]);continue;}// Combine filters within component using builder logic\nconst builderOperator=builderLogic===\"All\"?\"and\":\"or\";let componentCombined={left:filterConditions[0],operator:builderOperator,right:filterConditions[1],type:\"BinaryOperation\"};for(let i=2;i<filterConditions.length;i++){componentCombined={left:componentCombined,operator:builderOperator,right:filterConditions[i],type:\"BinaryOperation\"};}componentConditions.push(componentCombined);}if(componentConditions.length===0){return null;}if(componentConditions.length===1){return componentConditions[0];}// Combine component conditions using global logic\nconst globalOperator=globalLogic===\"All\"?\"and\":\"or\";let globalCombined={left:componentConditions[0],operator:globalOperator,right:componentConditions[1],type:\"BinaryOperation\"};for(let i=2;i<componentConditions.length;i++){globalCombined={left:globalCombined,operator:globalOperator,right:componentConditions[i],type:\"BinaryOperation\"};}// Keep essential debug info for support\nif(debugMode&&filters.length>3){console.log(`🔍 Complex filter query: ${filters.length} filters with ${globalLogic} logic`);}return globalCombined;};// Helper to build multi-value filter clause respecting individual filter logic\nconst buildMultiValueFilterClause=(filter,collectionId,propertyControls)=>{if(!Array.isArray(filter.value)||filter.value.length===0){return null;}// Convert field title to internal key\nconst fieldKey=Object.entries(propertyControls).find(([key,control])=>control.title?.toLowerCase()===filter.field.toLowerCase())?.[0]||filter.field;const{operator}=filter;// Build conditions for each value\nconst conditions=filter.value.map(val=>{const baseIdentifier={collection:collectionId,name:fieldKey,type:\"Identifier\"};switch(operator){case\"contains\":return{arguments:[baseIdentifier,{type:\"LiteralValue\",value:val}],functionName:\"CONTAINS\",type:\"FunctionCall\"};case\"starts_with\":return{arguments:[baseIdentifier,{type:\"LiteralValue\",value:val}],functionName:\"STARTS_WITH\",type:\"FunctionCall\"};case\"ends_with\":return{arguments:[baseIdentifier,{type:\"LiteralValue\",value:val}],functionName:\"ENDS_WITH\",type:\"FunctionCall\"};case\"not_contains\":return{operator:\"not\",type:\"UnaryOperation\",value:{arguments:[baseIdentifier,{type:\"LiteralValue\",value:val}],functionName:\"CONTAINS\",type:\"FunctionCall\"}};case\"equals\":return{left:baseIdentifier,operator:\"==\",right:{type:\"LiteralValue\",value:val},type:\"BinaryOperation\"};case\"not_equals\":return{left:baseIdentifier,operator:\"!=\",right:{type:\"LiteralValue\",value:val},type:\"BinaryOperation\"};case\"greater_than\":return{left:baseIdentifier,operator:\">\",right:{type:\"LiteralValue\",value:val},type:\"BinaryOperation\"};case\"less_than\":return{left:baseIdentifier,operator:\"<\",right:{type:\"LiteralValue\",value:val},type:\"BinaryOperation\"};case\"greater_than_or_equal\":return{left:baseIdentifier,operator:\">=\",right:{type:\"LiteralValue\",value:val},type:\"BinaryOperation\"};case\"less_than_or_equal\":return{left:baseIdentifier,operator:\"<=\",right:{type:\"LiteralValue\",value:val},type:\"BinaryOperation\"};default:// Fallback to equality\nreturn{left:baseIdentifier,operator:\"==\",right:{type:\"LiteralValue\",value:val},type:\"BinaryOperation\"};}});if(conditions.length===1){return conditions[0];}// Combine using individual filter logic - SPECIAL CASE: not_contains always uses AND\nconst filterOperator=filter.operator===\"not_contains\"?\"and\":filter.logic===\"All\"?\"and\":\"or\";let combined={left:conditions[0],operator:filterOperator,right:conditions[1],type:\"BinaryOperation\"};for(let i=2;i<conditions.length;i++){combined={left:combined,operator:filterOperator,right:conditions[i],type:\"BinaryOperation\"};}return combined;};// Helper to combine existing where clause with new filter where clause\nexport const combineWhereClauses=(existing,additional,operator=\"and\")=>{if(!existing&&!additional)return null;if(!existing)return additional;if(!additional)return existing;return{left:existing,operator:operator,right:additional,type:\"BinaryOperation\"};};// Helper to build orderBy clause from sort state\nexport const buildOrderByClause=(sortState,propertyControls,collectionId)=>{if(!sortState||sortState.length===0){return[];}const orderBy=sortState.map((sort,index)=>{// Convert field title to internal key\nconst fieldKey=Object.entries(propertyControls).find(([key,control])=>control.title?.toLowerCase()===sort.field.toLowerCase())?.[0]||sort.field;return{collection:collectionId,name:fieldKey,direction:sort.direction,type:\"Identifier\"};});// Keep for support debugging\nif(sortState.length>1){console.log(`📊 SORT: Multiple sorts applied (${sortState.length})`);}return orderBy;};\nexport const __FramerMetadata__ = {\"exports\":{\"buildFilterWhereClause\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FilterRule\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildSearchWhereClause\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LiteralValue\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"BinaryOperation\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"hasValidFilterValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"combineWhereClauses\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Identifier\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FunctionCall\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildOrderByClause\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildFiltersWhereClause\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"UnaryOperation\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./query_builders.map","// Variant override utilities for CMS Collection\n// Extracted for better readability and maintainability\nimport{cloneElement}from\"react\";// Get component name from React element\nexport const getComponentName=element=>{if(!element?.type)return null;// Try displayName first, then name, then fallback\nreturn element.type.displayName||element.type.name||element.type.constructor?.name||\"Unknown\";};/**\n * Recursively process React tree and apply variant overrides\n * @param element - React element to process\n * @param variantOverrides - Array of variant override configurations\n * @param depth - Current recursion depth (for debugging)\n * @returns Processed React element with variant overrides applied\n */export const processVariantOverrides=(element,variantOverrides,depth=0)=>{// Return non-object elements as-is\nif(!element||typeof element!==\"object\"){return element;}// Handle arrays\nif(Array.isArray(element)){return element.map(child=>processVariantOverrides(child,variantOverrides,depth));}// Process React elements\nif(element.type&&element.props){const componentName=getComponentName(element);// Check if this component should have its variant overridden\nconst override=variantOverrides.find(vo=>vo.componentName.toLowerCase().trim()===componentName?.toLowerCase().trim());let newProps={...element.props};// ONLY change variant if we found a matching override\nif(override){newProps.variant=override.variantName;}// Always process children recursively\nif(newProps.children){if(Array.isArray(newProps.children)){newProps.children=newProps.children.map(child=>processVariantOverrides(child,variantOverrides,depth+1));}else{newProps.children=processVariantOverrides(newProps.children,variantOverrides,depth+1);}}return /*#__PURE__*/cloneElement(element,newProps);}return element;};/**\n * Wrap CMS Item children function with variant override logic\n * @param originalChildrenFn - Original children render function from CMS Item\n * @param variantOverrides - Array of variant override configurations\n * @returns Wrapped function that applies variant overrides\n */export const wrapWithVariantOverrides=(originalChildrenFn,variantOverrides)=>{return(collection,paginationInfo,loadMore)=>{// Call original function to get JSX\nconst originalJSX=originalChildrenFn(collection,paginationInfo,loadMore);// Process the JSX tree and apply variant overrides\nreturn processVariantOverrides(originalJSX,variantOverrides);};};\nexport const __FramerMetadata__ = {\"exports\":{\"processVariantOverrides\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"VariantOverride\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"wrapWithVariantOverrides\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getComponentName\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./variant_utils.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useRef,useMemo,cloneElement}from\"react\";import{addPropertyControls,ControlType,RenderTarget,// @ts-ignore-next-line\nuseQueryData}from\"framer\";// Import shared modules\nimport{getCollectionStore,getCollectionStoreKey,globalInitStore,getCollectionInfo}from\"https://framerusercontent.com/modules/2VZikWBxCagm4nJReNjX/z54ASxxAIXcD5lI71IM4/store_management.js\";import{buildSearchWhereClause,buildFiltersWhereClause,combineWhereClauses,buildOrderByClause}from\"https://framerusercontent.com/modules/jM8jD1GlrCxD96rrTGLC/GAJHcZGPW9K4bc0TyfST/query_builders.js\";import{wrapWithVariantOverrides}from\"https://framerusercontent.com/modules/0ZtPI0zMKW1Pn08h8oa0/NlyoXwUY3bIihn89XH3O/variant_utils.js\";// Hook to get query count\nfunction useQueryCount(query,debugMode=false){if(debugMode){console.log(\"🎣 useQueryCount CALLED with:\",{hasQuery:!!query,hasFrom:!!query?.from,queryWhere:query?.where});}if(!query||!query.from){if(debugMode){console.log(\"❌ useQueryCount early return - no query or no from\");}return 0;}const countQuery={...query,select:[]};const collection=useQueryData(countQuery);if(debugMode){console.log(\"📊 useQueryCount result:\",{queryWhere:query?.where,countQueryWhere:countQuery?.where,resultLength:collection?.length});}return collection.length;}/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export default function CMSCollection(props){const{collection,emptyState,collectionWidth=\"100%\",emptyStateWidth=\"100%\",filterLogic,storeKey,variantOverrides=[],urlSync=false,urlPrefix=\"\",layoutToggle=false,layoutDisplay=true,flexDirection=\"horizontal\",justifyContent=\"center\",alignRow=\"flex-start\",alignColumn=\"flex-start\",gridColumns=3,gridRows=0,gridAutoRows=\"minmax(200px, auto)\",flexWrap=false,gapRow=14,gapX=16,gapY=16,debugMode=false,style,fallback={text:\"No items found\",font:{fontSize:16,lineHeight:\"1.5em\"},backgroundColor:\"transparent\",padding:40,borderRadius:0}}=props;// Extract fallback settings with defaults\nconst fallbackText=fallback?.text||\"No items found\";const fallbackFont=fallback?.font||{fontSize:16,lineHeight:\"1.5em\"};const fallbackBackgroundColor=fallback?.backgroundColor||\"transparent\";const fallbackPadding=fallback?.padding??40;const fallbackBorderRadius=fallback?.borderRadius??0;// Detect render mode\nconst current=RenderTarget.current();const isCanvas=current===RenderTarget.canvas;// Get store key for this collection\nconst actualStoreKey=getCollectionStoreKey(collection,storeKey);const isInitialized=useRef(false);// Watch for store initialization\nconst[initState]=globalInitStore();const isStoreInitialized=actualStoreKey&&initState.storeInitialized.includes(actualStoreKey);// Extract collection info from slot connection\nconst collectionInfo=useMemo(()=>{return isStoreInitialized?getCollectionInfo(collection):null;},[collection,isStoreInitialized]);// Get store for this collection\nconst useStore=actualStoreKey?getCollectionStore(actualStoreKey):null;const[state,setState]=useStore?useStore():[null,null];// Initialize store if connected but not initialized\nuseEffect(()=>{if(actualStoreKey&&!isStoreInitialized&&!isInitialized.current){getCollectionStore(actualStoreKey);isInitialized.current=true;}},[actualStoreKey,isStoreInitialized]);// Handle URL synchronization\n// @todo: Later work on this later.\n/*\n    useURLSync(\n        {\n            enabled: urlSync,\n            prefix: urlPrefix,\n            debounceDelay: 500,\n            debugMode,\n        },\n        collectionInfo,\n        state,\n        setState\n    )*/// Get original query\nconst originalQuery=collectionInfo?.query;// Build search where clause - memoized\nconst searchWhere=useMemo(()=>{const result=buildSearchWhereClause(state?.searchTerm||\"\",state?.searchFields||[],collectionInfo?.collectionId||\"\",collectionInfo?.propertyControls||{});return result;},[state?.searchTerm,state?.searchFields,collectionInfo?.collectionId,collectionInfo?.propertyControls]);// Build filters where clause - memoized\nconst filtersWhere=useMemo(()=>{const result=buildFiltersWhereClause(state?.filters||[],collectionInfo?.collectionId||\"\",collectionInfo?.propertyControls||{},filterLogic);// Keep for support debugging\nif(debugMode&&(state?.filters||[]).length>0){console.log(\"🔍 Applied filters:\",{totalFilters:(state?.filters||[]).length});}return result;},[state?.filters,collectionInfo?.collectionId,collectionInfo?.propertyControls,filterLogic]);// Combine search and filters - memoized\nconst combinedWhere=useMemo(()=>combineWhereClauses(searchWhere,filtersWhere,\"and\"),[searchWhere,filtersWhere]);// Combine with existing where clause - memoized\nconst finalWhere=useMemo(()=>combineWhereClauses(originalQuery?.where,combinedWhere,\"and\"),[originalQuery?.where,combinedWhere]);// Build order by clause - memoized\nconst orderBy=useMemo(()=>buildOrderByClause(state?.sort||[],collectionInfo?.propertyControls||{},collectionInfo?.collectionId||\"\"),[state?.sort,collectionInfo?.propertyControls,collectionInfo?.collectionId]);// Determine layout styles - MUST be calculated before clonedCollection\nconst containerStyles=useMemo(()=>{if(!layoutToggle)return{};const layout=layoutDisplay?\"flex\":\"grid\";if(layout===\"flex\"){return{display:\"flex\",flexDirection:flexDirection===\"horizontal\"?\"row\":\"column\",justifyContent,alignItems:flexDirection===\"horizontal\"?alignRow:alignColumn,flexWrap:flexWrap?\"wrap\":\"nowrap\",gap:flexWrap?`${gapY}px ${gapX}px`:`${gapRow}px`};}else{return{display:\"grid\",gridTemplateColumns:`repeat(${gridColumns}, 1fr)`,...gridRows>0&&{gridTemplateRows:`repeat(${gridRows}, 1fr)`},gridAutoRows,gap:`${gapY}px ${gapX}px`};}},[layoutToggle,layoutDisplay,flexDirection,justifyContent,alignRow,alignColumn,flexWrap,gapRow,gapX,gapY,gridColumns,gridRows,gridAutoRows]);// Build the filtered query - memoized\nconst filteredQuery=useMemo(()=>{if(!originalQuery||!collectionInfo){return collection?.[0]?.props?.children?.props?.children?.props?.query;}const newQuery={...originalQuery,where:finalWhere,...orderBy.length>0&&{orderBy}};return newQuery;},[originalQuery,finalWhere,orderBy,collection,collectionInfo]);// Update count in store when query changes\nconst currentCount=useQueryCount(filteredQuery||{},debugMode);useEffect(()=>{if(setState&&currentCount!==state?.count){setState({...state,count:currentCount});}},[currentCount,setState]);// Clone collection with filtered query\nconst clonedCollection=useMemo(()=>{if(!collection?.[0]||!filteredQuery)return collection;const originalElement=collection[0];const originalListElement=originalElement.props?.children;const originalQueryElement=originalListElement?.props?.children;if(!originalQueryElement)return collection;// Clone the query element with new query\nconst newQueryElement=/*#__PURE__*/cloneElement(originalQueryElement,{query:filteredQuery});// Clone the list element with new query element\nconst newListElement=/*#__PURE__*/cloneElement(originalListElement,{children:newQueryElement});// Clone the container with new list element AND apply ONLY layout styles (NOT width)\nconst newContainerElement=/*#__PURE__*/cloneElement(originalElement,{children:newListElement,style:{...originalElement.props?.style,...containerStyles,width:\"100%\",overflow:\"hidden\"}});return[newContainerElement];},[collection,filteredQuery,containerStyles]);// Apply variant overrides\nconst processedCollection=useMemo(()=>{if(!clonedCollection||!variantOverrides||variantOverrides.length===0){return clonedCollection;}// Process each container element\nreturn clonedCollection.map(containerElement=>{// Get the list element\nconst listElement=containerElement.props?.children;if(!listElement)return containerElement;// Get the CMS Item (query element)\nconst cmsItem=listElement.props?.children;if(!cmsItem)return containerElement;// Get the original children function from CMS Item\nconst originalChildrenFn=cmsItem.props?.children;if(typeof originalChildrenFn!==\"function\")return containerElement;// Wrap children function with variant override logic\nconst wrappedChildren=wrapWithVariantOverrides(originalChildrenFn,variantOverrides);// Clone CMS Item with wrapped children\nconst newCmsItem=/*#__PURE__*/cloneElement(cmsItem,{...cmsItem.props,children:wrappedChildren});// Clone list element with new CMS Item\nconst newListElement=/*#__PURE__*/cloneElement(listElement,{children:newCmsItem});// Clone container with new list element\nreturn /*#__PURE__*/cloneElement(containerElement,{children:newListElement});});},[clonedCollection,variantOverrides]);// Determine if we're in editor mode (no CMS data available)\nconst isEditorMode=!collectionInfo;// Show empty state if filtered and no results (only in preview/live mode)\nconst showEmptyState=!isEditorMode&&collectionInfo&&currentCount===0&&(state?.searchTerm||state?.filters&&state.filters.length>0);// If in canvas mode, apply layout styles directly to collection element\nif(isCanvas){const canvasCollection=useMemo(()=>{if(!collection?.[0])return collection;return[/*#__PURE__*/cloneElement(collection[0],{style:{...collection[0].props?.style,...containerStyles,width:\"100%\",overflow:\"hidden\"}})];},[collection,containerStyles]);return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",width:\"100%\",...style},children:collection&&Array.isArray(collection)&&collection.length>0?/*#__PURE__*/_jsx(\"div\",{style:{width:collectionWidth,marginLeft:\"auto\",marginRight:\"auto\"},children:canvasCollection}):/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"24px\",textAlign:\"center\",backgroundColor:\"#f8f9fa\",border:\"2px dashed #dee2e6\",borderRadius:\"8px\",color:\"#6c757d\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:\"16px\",fontWeight:500,marginBottom:\"8px\",color:\"#495057\"},children:\"Connect CMS Collection\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:\"14px\"},children:\"Add your CMS List to the canvas and connect it.\"})]})});}// Prepare empty state with width styling\nconst modifiedEmptyState=useMemo(()=>{if(!emptyState||!Array.isArray(emptyState)||emptyState.length===0){return null;}return /*#__PURE__*/cloneElement(emptyState[0],{style:{width:emptyStateWidth}});},[emptyState,emptyStateWidth]);return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",width:\"100%\",...style},children:[debugMode&&state&&/*#__PURE__*/_jsxs(\"div\",{style:{padding:12,backgroundColor:\"#f8f9fa\",border:\"1px solid #dee2e6\",borderRadius:4,marginBottom:16,fontSize:12,fontFamily:\"monospace\"},children:[/*#__PURE__*/_jsx(\"div\",{children:/*#__PURE__*/_jsx(\"strong\",{children:\"🛠 Debug Information\"})}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Store Key: \",actualStoreKey]}),/*#__PURE__*/_jsxs(\"div\",{children:['Search Term: \"',state.searchTerm,'\"']}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Search Fields: [\",state.searchFields.join(\", \"),\"]\"]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Active Filters: \",state.filters?.length||0]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Filter Logic: \",filterLogic]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Total Results: \",currentCount]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Collection ID: \",collectionInfo?.collectionId]}),urlSync&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:{marginTop:8,borderTop:\"1px solid #dee2e6\",paddingTop:8},children:/*#__PURE__*/_jsx(\"strong\",{children:\"🔗 URL Sync\"})}),/*#__PURE__*/_jsx(\"div\",{children:\"Enabled: Yes\"}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Prefix: \",urlPrefix||\"(none)\"]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Current URL:\",\" \",typeof window!==\"undefined\"?window.location.search:\"\"]})]})]}),isEditorMode?// Editor mode: Show collection or connection prompt\ncollection&&Array.isArray(collection)&&collection.length>0?/*#__PURE__*/_jsx(\"div\",{style:{width:collectionWidth,marginLeft:\"auto\",marginRight:\"auto\"},children:processedCollection}):/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"24px\",textAlign:\"center\",backgroundColor:\"#f8f9fa\",border:\"2px dashed #dee2e6\",borderRadius:\"8px\",color:\"#6c757d\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:\"16px\",fontWeight:500,marginBottom:\"8px\",color:\"#495057\"},children:\"Connect CMS Collection\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:\"14px\"},children:\"Add your CMS List to the canvas and connect it.\"})]}):collection&&Array.isArray(collection)&&collection.length>0?showEmptyState?// Filtered with no results - show empty state or fallback\nmodifiedEmptyState?modifiedEmptyState:/*#__PURE__*/_jsx(\"div\",{style:{textAlign:\"center\",padding:`${fallbackPadding}px`,backgroundColor:fallbackBackgroundColor,borderRadius:`${fallbackBorderRadius}px`,fontFamily:fallbackFont?.family||\"sans-serif\",fontSize:fallbackFont?.fontSize||16,fontWeight:fallbackFont?.fontWeight,fontStyle:fallbackFont?.fontStyle,lineHeight:fallbackFont?.lineHeight||\"1.5em\",color:fallbackFont?.color||\"#666\"},children:fallbackText}):// Has results - show processed collection\n/*#__PURE__*/_jsx(\"div\",{style:{width:collectionWidth,marginLeft:\"auto\",marginRight:\"auto\"},children:processedCollection}):modifiedEmptyState?modifiedEmptyState:/*#__PURE__*/_jsx(\"div\",{style:{textAlign:\"center\",padding:`${fallbackPadding}px`,backgroundColor:fallbackBackgroundColor,borderRadius:`${fallbackBorderRadius}px`,fontFamily:fallbackFont?.family||\"sans-serif\",fontSize:fallbackFont?.fontSize||16,fontWeight:fallbackFont?.fontWeight,fontStyle:fallbackFont?.fontStyle,lineHeight:fallbackFont?.lineHeight||\"1.5em\",color:fallbackFont?.color||\"#666\"},children:fallbackText})]});}// Property Controls\naddPropertyControls(CMSCollection,{collection:{type:ControlType.Slot,title:\"Collection\",description:\"Connect your CMS Collection List component here\",maxCount:1},emptyState:{type:ControlType.Slot,title:\"Empty State\",description:\"Component to show when no items match the filters\",maxCount:1},fallback:{type:ControlType.Object,title:\"Empty State Fallback\",description:\"Styling for fallback text when no items found and no empty state is connected\",controls:{text:{type:ControlType.String,title:\"Text\",defaultValue:\"No items found\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",displayFontSize:true,displayTextAlignment:false,defaultValue:{fontSize:16,lineHeight:\"1.5em\"}},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgba(0,0,0,0)\"},padding:{type:ControlType.Number,title:\"Padding\",defaultValue:40,min:0,max:200,step:1,displayStepper:true,unit:\"px\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:0,min:0,max:100,step:1,displayStepper:true,unit:\"px\"}}},collectionWidth:{type:ControlType.String,title:\"CMS Collection Width\",defaultValue:\"100%\",description:\"Please enter value with unit ex: 100%\"},emptyStateWidth:{type:ControlType.String,title:\"Empty State Width\",defaultValue:\"100%\",description:\"Please enter value with unit ex: 100%\"},filterLogic:{type:ControlType.Enum,title:\"Filter Logic\",description:\"How to combine multiple filter components on the page\",segmentedControlDirection:\"vertical\",options:[\"All\",\"Any\"],optionTitles:[\"All (AND)\",\"Any (OR)\"],defaultValue:\"All\"},storeKey:{type:ControlType.String,title:\"Filter Group\",description:\"Components with same group share filters. Leave empty or 'auto' to use collection name.\",defaultValue:\"auto\",placeholder:\"auto (uses collection name)\"},// @todo: Later work on this later.\n/* \n    urlSync: {\n      type: ControlType.Boolean,\n      title: \"🔗 URL Sync\",\n      description: \"Sync filters to URL for shareable filter states\",\n      defaultValue: false,\n      enabledTitle: \"Enabled\",\n      disabledTitle: \"Disabled\",\n    },\n    urlPrefix: {\n      type: ControlType.String,\n      title: \"URL Prefix\",\n      description:\n        \"Optional prefix for URL parameters (e.g., 'blog' → ?blog_s=search). Leave empty for no prefix.\",\n      defaultValue: \"\",\n      placeholder: \"e.g., blog\",\n      hidden: (props) => !props.urlSync,\n    },\n    */variantOverrides:{type:ControlType.Array,title:\"Variant Overrides\",description:\"Just enter component name variant you want to change in CMS Item\",control:{type:ControlType.Object,controls:{componentName:{type:ControlType.String,title:\"Component Name\",description:\"Enter Component Name exact\"},variantName:{type:ControlType.String,title:\"Variant Name\",description:\"Enter Variant Name exact\"}}}},layoutToggle:{type:ControlType.Boolean,title:\"Responsive Layout\",description:\"Enable responsive layout controls for the collection\",enabledTitle:\"Enable\",disabledTitle:\"Disable\",defaultValue:false},layoutDisplay:{type:ControlType.Boolean,title:\"Display\",enabledTitle:\"Stack\",disabledTitle:\"Grid\",defaultValue:true,hidden:props=>!props.layoutToggle},flexDirection:{type:ControlType.Enum,title:\"Direction\",options:[\"horizontal\",\"vertical\"],optionTitles:[\"horizontal\",\"vertical\"],displaySegmentedControl:true,hidden(props){return!props.layoutToggle||!props.layoutDisplay;}},justifyContent:{type:ControlType.Enum,title:\"Justify\",options:[\"flex-start\",\"center\",\"flex-end\",\"space-between\",\"space-around\",\"space-evenly\"],optionTitles:[\"Start\",\"Center\",\"End\",\"Space Between\",\"Space Around\",\"Space Evenly\"],defaultValue:\"center\",hidden(props){return!props.layoutToggle||props.layoutDisplay===false;}},alignRow:{type:ControlType.Enum,title:\"Align\",options:[\"flex-start\",\"center\",\"flex-end\"],optionTitles:[\"Left\",\"Center\",\"Right\"],displaySegmentedControl:true,hidden(props){const layout=props.layoutDisplay===true?\"stack\":\"grid\";return!props.layoutToggle||layout===\"stack\"&&props.flexDirection===\"vertical\"||layout===\"grid\";}},alignColumn:{type:ControlType.Enum,title:\"Align\",options:[\"flex-start\",\"center\",\"flex-end\"],optionTitles:[\"Top\",\"Center\",\"Bottom\"],displaySegmentedControl:true,hidden(props){const layout=props.layoutDisplay===true?\"stack\":\"grid\";return!props.layoutToggle||layout===\"stack\"&&props.flexDirection===\"horizontal\"||layout===\"grid\";}},gridColumns:{type:ControlType.Number,title:\"Columns\",defaultValue:3,min:1,max:10,step:1,displayStepper:true,hidden(props){const layout=props.layoutDisplay===true?\"stack\":\"grid\";return!props.layoutToggle||layout===\"stack\";}},gridRows:{type:ControlType.Number,title:\"Rows\",defaultValue:0,min:0,max:10,step:1,displayStepper:true,description:\"0 = auto rows, 1+ = fixed number of rows\",hidden(props){const layout=props.layoutDisplay===true?\"stack\":\"grid\";return!props.layoutToggle||layout===\"stack\";}},gridAutoRows:{type:ControlType.String,title:\"Auto Rows\",defaultValue:\"minmax(200px, auto)\",description:\"CSS grid-auto-rows value (e.g., 'minmax(200px, auto)', '200px', 'auto')\",hidden(props){const layout=props.layoutDisplay===true?\"stack\":\"grid\";return!props.layoutToggle||layout===\"stack\";}},flexWrap:{type:ControlType.Boolean,title:\"Wrap\",enabledTitle:\"Yes\",disabledTitle:\"No\",defaultValue:false,hidden(props){const layout=props.layoutDisplay===true?\"stack\":\"grid\";return!props.layoutToggle||layout===\"grid\";}},gapRow:{type:ControlType.Number,title:\"Gap\",defaultValue:14,step:1,displayStepper:true,hidden(props){const layout=props.layoutDisplay===true?\"stack\":\"grid\";return!props.layoutToggle||layout===\"stack\"&&props.flexWrap===true||layout===\"grid\";}},gapX:{type:ControlType.Number,title:\"Gap X\",defaultValue:16,step:1,unit:\"px\",displayStepper:true,hidden(props){const layout=props.layoutDisplay===true?\"stack\":\"grid\";return!props.layoutToggle||layout===\"stack\"&&props.flexWrap===false;}},gapY:{type:ControlType.Number,title:\"Gap Y\",defaultValue:16,step:1,unit:\"px\",displayStepper:true,hidden(props){const layout=props.layoutDisplay===true?\"stack\":\"grid\";return!props.layoutToggle||layout===\"stack\"&&props.flexWrap===false;}},debugMode:{type:ControlType.Boolean,title:\"🛠 Debug Mode\",defaultValue:false,description:\"Show debug information including active filters, logic, and query generation\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CMSCollection\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Facet utility functions for CMS Facets component\n// Extracted from CMSFacets.tsx for better modularity\n/**\n * Formats filter values for display in facet chips\n */export const formatFilterValue=(value,operator,fieldType,propertyControls,toggleOnLabel,toggleOffLabel)=>{// Handle null/undefined values\nif(value===null||value===undefined){if(operator===\"is_set\"||operator===\"is_not_set\"){return operator===\"is_set\"?\"Set\":\"Not set\";}return\"Empty\";}// Handle empty string\nif(value===\"\"){return\"Empty\";}// Handle array values (multiple selections)\nif(Array.isArray(value)){if(value.length===0)return\"None\";// For enum fields, map values to titles\nif(fieldType===\"enum\"&&propertyControls){// Find the specific field that matches this enum\nconst fieldEntry=Object.entries(propertyControls).find(([_key,control])=>control.type===\"enum\");if(fieldEntry){const fieldControl=fieldEntry[1];const optionTitles=fieldControl.optionTitles||fieldControl.options||[];const optionValues=fieldControl.options||[];const mappedTitles=value.map(val=>{const index=optionValues.indexOf(val);return index>=0&&optionTitles[index]?optionTitles[index]:val;});return mappedTitles.join(\", \");}}return value.join(\", \");}// Handle single enum values (Multiple: No)\nif(typeof value===\"string\"&&fieldType===\"enum\"&&propertyControls){// Find the specific field that matches this enum\nconst fieldEntry=Object.entries(propertyControls).find(([_key,control])=>control.type===\"enum\");if(fieldEntry){const fieldControl=fieldEntry[1];const optionTitles=fieldControl.optionTitles||fieldControl.options||[];const optionValues=fieldControl.options||[];const index=optionValues.indexOf(value);return index>=0&&optionTitles[index]?optionTitles[index]:value;}}// Handle object values (range filters)\nif(typeof value===\"object\"&&value!==null){if(value.min!==undefined&&value.max!==undefined){return`${value.min} - ${value.max}`;}else if(value.min!==undefined){return`≥ ${value.min}`;}else if(value.max!==undefined){return`≤ ${value.max}`;}return JSON.stringify(value);}// Handle boolean values (toggle filters)\nif(typeof value===\"boolean\"){// Use custom labels if provided, otherwise fallback to \"Yes\"/\"No\"\nif(value){return toggleOnLabel||\"Yes\";}else{return toggleOffLabel||\"No\";}}// Handle number values\nif(typeof value===\"number\"){return value.toString();}// Handle string values\nif(typeof value===\"string\"){return value;}return String(value);};/**\n * Helper to format values with overflow\n */export const formatValuesWithOverflow=(values,maxVisible,overflowText)=>{if(maxVisible<=0||values.length<=maxVisible){return values.join(\", \");}const visibleValues=values.slice(0,maxVisible);const hiddenCount=values.length-maxVisible;const overflowTextFormatted=overflowText.replace(\"{count}\",hiddenCount.toString());return`${visibleValues.join(\", \")}, (${overflowTextFormatted})`;};/**\n * Helper to get search display text (just the search term, no field info)\n */export const getSearchDisplayText=(searchTerm,searchFields)=>{return searchTerm;};/**\n * Helper to format post count display\n */export const formatPostCount=(count,template)=>{return template.replace(\"{count}\",count.toString());};\nexport const __FramerMetadata__ = {\"exports\":{\"formatPostCount\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"formatValuesWithOverflow\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"formatFilterValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getSearchDisplayText\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./facet_utils.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useMemo,cloneElement,Children}from\"react\";import{addPropertyControls,ControlType}from\"framer\";// Import utilities from shared modules\nimport{getCollectionStore,getCollectionStoreKey,getCollectionInfo,evGetRandomString}from\"https://framerusercontent.com/modules/2VZikWBxCagm4nJReNjX/z54ASxxAIXcD5lI71IM4/store_management.js\";import{formatFilterValue,formatValuesWithOverflow,getSearchDisplayText}from\"https://framerusercontent.com/modules/5xjNwrxeofFepEm0pgV0/cqhcTlOl619QaoqSkXzd/facet_utils.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n *\n * @framerDisableUnlink\n */export default function CMSFacets(props){const{collection,storeKey,filterChip,searchChip,overflowChip,chipTemplate=\"{label}: {value}\",searchChipTemplate=\"{label}: {value}\",overflowChipTemplate=\"{label}\",chipStyles,searchChipStyles,overflowChipStyles,chipRemoveStyles,containerStyles,layoutStyles,overflowSettings,showSearchChip,searchLabel=\"Search\",id}=props;// Destructure grouped styles for easier access\nconst{style:chipStyle,color:chipColor,textColor:chipTextColor,font:chipFont,fontSize:chipFontSize,padding:chipPadding,borderRadius:chipBorderRadius,gap:chipGap,border:chipBorder,shadow:chipShadow,hoverOpacity:chipHoverOpacity,hoverTransform:chipHoverTransform,hoverTextColor:chipHoverTextColor,hoverBgColor:chipHoverBgColor,hoverBorderColor:chipHoverBorderColor,selectedTextColor:chipSelectedTextColor}=chipStyles||{};const{color:searchChipColor,textColor:searchChipTextColor,hoverTextColor:searchChipHoverTextColor,border:searchChipBorder,hoverBgColor:searchChipHoverBgColor,hoverBorderColor:searchChipHoverBorderColor}=searchChipStyles||{};const{color:overflowChipColor,textColor:overflowChipTextColor}=overflowChipStyles||{};const{backgroundColor:containerBackgroundColor,padding:containerPadding,borderRadius:containerBorderRadius,border:containerBorder,shadow:containerShadow,containerGap}=containerStyles||{};const{maxVisibleChips,overflowText,maxVisibleValues,valueOverflowText}=overflowSettings||{};const{font:chipRemoveFont,scale:chipRemoveFontSize,color:chipRemoveColor,backgroundColor:chipRemoveBackgroundColor,border:chipRemoveBorder,padding:chipRemovePadding,borderRadius:chipRemoveBorderRadius,hoverTextColor:chipRemoveHoverColor,hoverBgColor:chipRemoveHoverBackgroundColor,hoverBorderColor:chipRemoveHoverBorderColor,size:chipRemoveSize}=chipRemoveStyles||{};// Stable unique className\nconst newId=id?id:evGetRandomString();const uniqueClassName=`cms-facets-${newId}`;// Get store key for this collection\nconst actualStoreKey=getCollectionStoreKey(collection,storeKey);// Initialize store immediately if we have a store key (fixes race condition)\nif(actualStoreKey){getCollectionStore(actualStoreKey);}// Extract collection info from slot connection\nconst collectionInfo=useMemo(()=>getCollectionInfo(collection),[collection]);// Check if we're in editor mode (no CMS data available)\nconst isEditorMode=!collectionInfo;// Get store for this collection\nconst useStore=actualStoreKey?getCollectionStore(actualStoreKey):null;const[state,setState]=useStore?useStore():[null,null];// Handle chip removal\nconst removeFilter=filterId=>{if(!state||!setState)return;// Remove the specific filter by its exact ID\nconst updatedFilters=state.filters.filter(f=>f.id!==filterId);setState({...state,filters:updatedFilters});};// Handle search removal\nconst removeSearch=()=>{if(!state||!setState)return;setState({...state,searchTerm:\"\",searchFields:[]});};// ========================================================================\n// COMPONENT PROPERTY AUTO-DETECTION\n// ========================================================================\n/**\n     * Auto-detect text and variant properties from a component\n     */const detectComponentProperties=component=>{if(!component){return{textProp:null,variantProp:null,allTextProps:[]};}// Extract the actual component from slot structure\nconst actualComponent=component?.props?.children?.props?.children||component;const propertyControls=actualComponent?.type?.propertyControls;if(!propertyControls){return{textProp:null,variantProp:null,allTextProps:[]};}const textProps=[];let variantProp=null;// Scan all property controls\nObject.entries(propertyControls).forEach(([propName,control])=>{// Look for text properties (string, richtext, or anything with text/label in name)\nif(control.type===\"string\"||control.type===\"richtext\"||control.type===\"text\"||control.title?.toLowerCase().includes(\"text\")||control.title?.toLowerCase().includes(\"label\")||propName.toLowerCase().includes(\"text\")||propName.toLowerCase().includes(\"label\")){textProps.push(propName);}// Look for variant/state properties\nif(control.type===\"enum\"&&(propName.toLowerCase().includes(\"variant\")||propName.toLowerCase().includes(\"state\")||control.title?.toLowerCase().includes(\"variant\")||control.title?.toLowerCase().includes(\"state\"))){variantProp=propName;}});return{textProp:textProps[0]||null,variantProp,allTextProps:textProps};};/**\n     * Apply template to text by replacing variables\n     */const applyTemplate=(template,variables)=>{let result=template;Object.entries(variables).forEach(([key,value])=>{result=result.replace(new RegExp(`\\\\{${key}\\\\}`,\"g\"),value||\"\");});return result;};// ========================================================================\n// SLOT COMPONENT RENDERING\n// ========================================================================\n/**\n     * Render a slot component with template-based text rendering\n     * Preserves all existing props including EventHandlers\n     */const renderSlotChip=(slotComponent,labelText,valueText,onRemove,template,overflowCount)=>{if(!slotComponent)return null;// Extract the actual component from slot structure\nconst actualComponent=slotComponent?.props?.children?.props?.children||slotComponent;// Auto-detect component properties\nconst componentInfo=detectComponentProperties(slotComponent);// Prepare template variables\nconst templateVariables={label:labelText,value:valueText,count:overflowCount?.toString()||\"\"};// Apply template to generate final text\nconst finalText=applyTemplate(template,templateVariables);// Build modified props\nconst modifiedProps={...actualComponent.props,onClick:()=>{onRemove()// Our removal logic FIRST\n;// Component's internal onClick will handle calling any EventHandlers\n}};// Set ALL text properties with appropriate values\nif(componentInfo.allTextProps.length>0){// If we have multiple text props, try to set them individually\nif(componentInfo.allTextProps.length>=2){// First text prop gets the label\nmodifiedProps[componentInfo.allTextProps[0]]=labelText;// Second text prop gets the value\nmodifiedProps[componentInfo.allTextProps[1]]=valueText;}else if(componentInfo.allTextProps.length===1){// Single text prop gets the templated text\nmodifiedProps[componentInfo.allTextProps[0]]=finalText;}}// Clone the component with modified props\nconst modifiedComponent=/*#__PURE__*/cloneElement(actualComponent,modifiedProps);// Handle nested slot structure (wrapper → container → component)\nif(slotComponent?.props?.children?.props?.children&&slotComponent?.props?.children?.props?.children!==actualComponent){const onlyChild=Children.only(slotComponent.props.children);const newChild=/*#__PURE__*/cloneElement(onlyChild,{...onlyChild.props,children:modifiedComponent});return /*#__PURE__*/cloneElement(slotComponent,{...slotComponent.props,children:newChild});}return modifiedComponent;};// Check if there are active filters or search\nconst hasActiveFilters=state&&(state.searchTerm||state.filters&&state.filters.length>0);// Group filters by builder if enabled (currently unused but kept for future use)\n// const groupedFilters = useMemo(() => {\n//     if (!state?.filters || !showGrouping) return null\n//     return groupFiltersByBuilder(state.filters)\n// }, [state?.filters, showGrouping])\n// Get all chips for overflow handling\nconst allChips=useMemo(()=>{const chips=[];// Add search chip if enabled and present\nif(showSearchChip&&state?.searchTerm){// Use searchDisplayTitle from store (set by CMSSearch), fallback to local searchLabel\nconst searchFieldLabel=state.searchDisplayTitle||searchLabel||\"Search\";chips.push({type:\"search\",id:\"search\",displayText:getSearchDisplayText(state.searchTerm,state.searchFields),fieldLabel:searchFieldLabel,onRemove:removeSearch});}// Group filters by field name to combine multiple values\nif(state?.filters){const groupedFilters=state.filters.reduce((groups,filter)=>{const fieldName=filter.field;if(!groups[fieldName]){groups[fieldName]=[];}groups[fieldName].push(filter);return groups;},{});// Create chips for each field group\nObject.entries(groupedFilters).forEach(([fieldName,filters])=>{const filterArray=filters;if(filterArray.length===1){// Single filter - show as is, but apply value overflow if needed\nconst filter=filterArray[0];const fieldControl=Object.entries(collectionInfo?.propertyControls||{}).find(([_key,control])=>control.title?.toLowerCase()===filter.field.toLowerCase())?.[1];// Use displayTitle from filter config (set by CMSFilters)\nconst filterLabel=filter.displayTitle||filter.field;let displayValue=\"\";if(fieldControl?.type===\"enum\"&&Array.isArray(filter.value)){const optionTitles=fieldControl.optionTitles||fieldControl.options||[];const optionValues=fieldControl.options||[];const mappedValues=filter.value.map(val=>{const index=optionValues.indexOf(val);return index>=0&&optionTitles[index]?optionTitles[index]:val;});displayValue=formatValuesWithOverflow(mappedValues,maxVisibleValues,valueOverflowText);}else if(fieldControl?.type===\"enum\"&&!Array.isArray(filter.value)){const optionTitles=fieldControl.optionTitles||fieldControl.options||[];const optionValues=fieldControl.options||[];const index=optionValues.indexOf(filter.value);displayValue=index>=0&&optionTitles[index]?optionTitles[index]:filter.value;}else{displayValue=formatFilterValue(filter.value,filter.operator,fieldControl?.type||filter.type,collectionInfo?.propertyControls||{},filter.toggleOnLabel,filter.toggleOffLabel);}// Use filter's display title (set by CMSFilters)\nconst fieldLabel=filterLabel;chips.push({type:\"filter\",id:filter.id,displayText:displayValue,fieldLabel:fieldLabel,onRemove:()=>removeFilter(filter.id)});}else{// Multiple filters for same field - combine values\nconst firstFilter=filterArray[0];const fieldControl=Object.entries(collectionInfo?.propertyControls||{}).find(([_key,control])=>control.title?.toLowerCase()===firstFilter.field.toLowerCase())?.[1];// Use displayTitle from filter config (set by CMSFilters)\nconst filterLabel=firstFilter.displayTitle||firstFilter.field;const allValues=filterArray.map(filter=>{if(fieldControl?.type===\"enum\"&&Array.isArray(filter.value)){const optionTitles=fieldControl.optionTitles||fieldControl.options||[];const optionValues=fieldControl.options||[];return filter.value.map(val=>{const index=optionValues.indexOf(val);return index>=0&&optionTitles[index]?optionTitles[index]:val;});}else if(fieldControl?.type===\"enum\"&&!Array.isArray(filter.value)){const optionTitles=fieldControl.optionTitles||fieldControl.options||[];const optionValues=fieldControl.options||[];const index=optionValues.indexOf(filter.value);return[index>=0&&optionTitles[index]?optionTitles[index]:filter.value];}else{return[formatFilterValue(filter.value,filter.operator,fieldControl?.type||filter.type,collectionInfo?.propertyControls||{},filter.toggleOnLabel,filter.toggleOffLabel)];}}).flat();// Remove duplicates and apply value overflow\nconst uniqueValues=Array.from(new Set(allValues));const combinedValues=formatValuesWithOverflow(uniqueValues,maxVisibleValues,valueOverflowText);// Use filter's display title (set by CMSFilters)\nconst fieldLabel=filterLabel;chips.push({type:\"filter\",id:`grouped-${fieldName}`,displayText:combinedValues,fieldLabel:fieldLabel,onRemove:()=>{// Remove all filters for this field\nfilterArray.forEach(filter=>removeFilter(filter.id));}});}});}return chips;},[state?.searchTerm,state?.filters,showSearchChip,collectionInfo]);// Handle overflow\nconst visibleChips=useMemo(()=>{if(maxVisibleChips<=0||allChips.length<=maxVisibleChips){return{visible:allChips,hidden:0};}// If we have overflow, show maxVisibleChips - 1 chips + 1 overflow chip\nconst visible=allChips.slice(0,maxVisibleChips);const hidden=allChips.length-maxVisibleChips;return{visible,hidden};},[allChips,maxVisibleChips]);// Render overflow chip\nconst renderOverflowChip=()=>{if(visibleChips.hidden<=0){return null;}const overflowTextFormatted=overflowText.replace(\"{count}\",visibleChips.hidden.toString());// Check if slot component is available\nif(overflowChip&&Array.isArray(overflowChip)&&overflowChip.length>0&&overflowChip[0]){return /*#__PURE__*/_jsx(\"div\",{children:renderSlotChip(overflowChip[0],overflowTextFormatted,\"\",()=>{},overflowChipTemplate,visibleChips.hidden// overflow count\n)},\"overflow-chip\");}// Fallback to CSS rendering\nreturn /*#__PURE__*/_jsx(\"div\",{className:`${uniqueClassName}-chip ${uniqueClassName}-chip-${chipStyle} ${uniqueClassName}-chip-overflow`,children:/*#__PURE__*/_jsx(\"span\",{className:`${uniqueClassName}-chip-text`,children:overflowTextFormatted})});};// Render unified chip (for search and filters)\nconst renderUnifiedChip=chip=>{// Determine which slot component to use\nlet slotToUse=null;if(chip.type===\"search\"){// Use searchChip if available, otherwise fall back to filterChip\nif(searchChip&&Array.isArray(searchChip)&&searchChip.length>0&&searchChip[0]){slotToUse=searchChip[0];}else if(filterChip&&Array.isArray(filterChip)&&filterChip.length>0&&filterChip[0]){slotToUse=filterChip[0];}}else{// Use filterChip for regular filters\nif(filterChip&&Array.isArray(filterChip)&&filterChip.length>0&&filterChip[0]){slotToUse=filterChip[0];}}// If slot component is available, use it\nif(slotToUse){// Determine which template to use\nconst template=chip.type===\"search\"?searchChipTemplate:chipTemplate;// Calculate label and value texts\nconst labelText=chip.fieldLabel||\"\";const valueText=chip.displayText;return /*#__PURE__*/_jsx(\"div\",{children:renderSlotChip(slotToUse,labelText,valueText,chip.onRemove,template)},chip.id);}// Fallback to CSS rendering\nreturn /*#__PURE__*/_jsxs(\"div\",{className:`${uniqueClassName}-chip ${uniqueClassName}-chip-${chipStyle} ${chip.type===\"search\"?`${uniqueClassName}-chip-search`:\"\"}`,onClick:chip.onRemove,role:\"button\",tabIndex:0,\"aria-label\":`Remove ${chip.type}: ${chip.displayText}`,onKeyDown:e=>{if(e.key===\"Enter\"||e.key===\" \"){e.preventDefault();chip.onRemove();}},children:[/*#__PURE__*/_jsx(\"span\",{className:`${uniqueClassName}-chip-text`,children:chip.displayText}),/*#__PURE__*/_jsx(\"span\",{className:`${uniqueClassName}-chip-remove`,style:{...chipRemoveSize!==0&&{width:chipRemoveSize,height:chipRemoveSize,placeContent:\"center\",textAlign:\"center\",padding:\"0\"}},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"svg\",{width:chipRemoveFontSize!=13?chipRemoveFontSize:\"12px\",height:chipRemoveFontSize!=13?chipRemoveFontSize:\"12px\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M18 6L6 18M6 6L18 18\",stroke:\"currentColor\",\"stroke-width\":\"2\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"})})})]},chip.id);};return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`            \n                .${uniqueClassName}:empty {\n                    display: none;\n                }\n                .${uniqueClassName} {\n                    display: flex;\n                    flex-direction: column;\n                    align-items: flex-start;\n                    width: 100%;\n                    padding: ${containerPadding};\n                    background-color: ${containerBackgroundColor};\n                    border-radius: ${containerBorderRadius};\n                    ${(()=>{if(typeof containerStyles?.border===\"string\"){return`border: ${containerStyles.border};`;}else if(containerStyles?.border){const border=containerStyles.border;return`\n        ${border.borderWidth!==undefined?`border-width: ${border.borderWidth}px;`:\"\"}\n        ${border.borderTopWidth!==undefined?`border-top-width: ${border.borderTopWidth}px;`:\"\"}\n        ${border.borderBottomWidth!==undefined?`border-bottom-width: ${border.borderBottomWidth}px;`:\"\"}\n        ${border.borderLeftWidth!==undefined?`border-left-width: ${border.borderLeftWidth}px;`:\"\"}\n        ${border.borderRightWidth!==undefined?`border-right-width: ${border.borderRightWidth}px;`:\"\"}\n        ${border.borderStyle?`border-style: ${border.borderStyle};`:\"border-style: solid;\"}\n        ${border.borderColor?`border-color: ${border.borderColor};`:\"border-color: #dee2e6;\"}\n      `;}else{return\"border: none;\";}})()}\n                    box-shadow: ${containerShadow};\n                }\n\n                .${uniqueClassName}-chips-container {\n                    display: flex;\n                    flex-wrap: wrap;\n                    gap: ${containerGap}px;\n                    align-items: center;\n                }\n\n                .${uniqueClassName}-chip {\n                    display: inline-flex;\n                    align-items: center;\n                    gap: ${chipGap}px;\n                    padding: ${chipPadding};\n                    background-color: ${chipColor};\n                    color: ${chipTextColor};\n                    ${(()=>{if(typeof chipStyles?.border===\"string\"){return`border: ${chipStyles.border};`;}else if(chipStyles?.border){const border=chipStyles.border;return`\n        ${border.borderWidth!==undefined?`border-width: ${border.borderWidth}px;`:\"\"}\n        ${border.borderTopWidth!==undefined?`border-top-width: ${border.borderTopWidth}px;`:\"\"}\n        ${border.borderBottomWidth!==undefined?`border-bottom-width: ${border.borderBottomWidth}px;`:\"\"}\n        ${border.borderLeftWidth!==undefined?`border-left-width: ${border.borderLeftWidth}px;`:\"\"}\n        ${border.borderRightWidth!==undefined?`border-right-width: ${border.borderRightWidth}px;`:\"\"}\n        ${border.borderStyle?`border-style: ${border.borderStyle};`:\"border-style: solid;\"}\n        ${border.borderColor?`border-color: ${border.borderColor};`:\"border-color: #dee2e6;\"}\n      `;}else{return\"border: none;\";}})()}\n                    border-radius: ${chipBorderRadius};\n                    cursor: pointer;\n                    transition: all 0.2s ease;\n                    box-shadow: ${chipShadow};\n                    position: relative;\n                }\n\n                .${uniqueClassName}-chip-text {\n                    font-family: ${chipStyles?.font?.fontFamily||\"inherit\"};\n                    font-weight: ${chipStyles?.font?.fontWeight||\"inherit\"};\n                    font-style: ${chipStyles?.font?.fontStyle||\"inherit\"};\n                    font-size: ${chipFontSize}px;\n                }\n\n                .${uniqueClassName}-chip:hover {\n                    opacity: ${chipHoverOpacity};\n                    transform: ${chipHoverTransform};                    \n                    background-color: ${chipHoverBgColor};\n                    color: ${chipHoverTextColor};\n                    border-color: ${chipHoverBorderColor};\n                    box-shadow: ${chipShadow.replace(/0 1px 3px/,\"0 2px 6px\").replace(/rgba\\(0, 0, 0, 0\\.1\\)/,\"rgba(0, 0, 0, 0.15)\")};\n                }\n\n                .${uniqueClassName}-chip:active {\n                    color: ${chipSelectedTextColor};\n                }\n\n                .${uniqueClassName}-chip:focus {\n                    outline: 2px solid ${chipColor};\n                    outline-offset: 2px;\n                }\n\n                .${uniqueClassName}-chip-search {\n                    background-color: ${searchChipColor};\n                    color: ${searchChipTextColor};\n                    ${(()=>{if(typeof searchChipStyles?.border===\"string\"){return`border: ${searchChipStyles.border};`;}else if(searchChipStyles?.border){const border=searchChipStyles.border;return`\n        ${border.borderWidth!==undefined?`border-width: ${border.borderWidth}px;`:\"\"}\n        ${border.borderTopWidth!==undefined?`border-top-width: ${border.borderTopWidth}px;`:\"\"}\n        ${border.borderBottomWidth!==undefined?`border-bottom-width: ${border.borderBottomWidth}px;`:\"\"}\n        ${border.borderLeftWidth!==undefined?`border-left-width: ${border.borderLeftWidth}px;`:\"\"}\n        ${border.borderRightWidth!==undefined?`border-right-width: ${border.borderRightWidth}px;`:\"\"}\n        ${border.borderStyle?`border-style: ${border.borderStyle};`:\"border-style: solid;\"}\n        ${border.borderColor?`border-color: ${border.borderColor};`:\"border-color: #dee2e6;\"}\n      `;}else{return\"border: none;\";}})()}\n                }\n\n                .${uniqueClassName}-chip-search:hover {\n                    color: ${searchChipHoverTextColor};\n                    background-color: ${searchChipHoverBgColor};\n                    border-color: ${searchChipHoverBorderColor};\n                }\n\n                .${uniqueClassName}-chip-overflow {\n                    background-color: ${overflowChipColor};\n                    color: ${overflowChipTextColor};\n                    cursor: default;\n                }\n\n                .${uniqueClassName}-chip-overflow:hover {\n                    background-color: ${overflowChipColor};\n                    color: ${overflowChipTextColor};\n                    border-color: ${chipBorder.borderColor};\n                    cursor: default;\n                }\n\n                .${uniqueClassName}-chip-overflow:hover {\n                    transform: none;\n                    opacity: 1;\n                }\n\n                .${uniqueClassName}-chip-text {\n                    flex: 1;\n                }\n\n                .${uniqueClassName}-chip-remove {\n                    font-family: ${chipRemoveStyles?.font?.fontFamily||\"inherit\"};\n                    font-weight: ${chipRemoveStyles?.font?.fontWeight||\"inherit\"};\n                    font-style: ${chipRemoveStyles?.font?.fontStyle||\"inherit\"};\n                    font-size: ${chipRemoveFontSize}px;\n                    background-color: ${chipRemoveBackgroundColor};\n                    color: ${chipRemoveColor};\n                    ${(()=>{if(typeof chipRemoveStyles?.border===\"string\"){return`border: ${chipRemoveStyles.border};`;}else if(chipRemoveStyles?.border){const border=chipRemoveStyles.border;return`\n        ${border.borderWidth!==undefined?`border-width: ${border.borderWidth}px;`:\"\"}\n        ${border.borderTopWidth!==undefined?`border-top-width: ${border.borderTopWidth}px;`:\"\"}\n        ${border.borderBottomWidth!==undefined?`border-bottom-width: ${border.borderBottomWidth}px;`:\"\"}\n        ${border.borderLeftWidth!==undefined?`border-left-width: ${border.borderLeftWidth}px;`:\"\"}\n        ${border.borderRightWidth!==undefined?`border-right-width: ${border.borderRightWidth}px;`:\"\"}\n        ${border.borderStyle?`border-style: ${border.borderStyle};`:\"border-style: solid;\"}\n        ${border.borderColor?`border-color: ${border.borderColor};`:\"border-color: #dee2e6;\"}\n      `;}else{return\"border: none;\";}})()}\n                    padding: ${chipRemovePadding};\n                    border-radius: ${chipRemoveBorderRadius}px;\n                    line-height: 0;\n                }\n\n                .${uniqueClassName}-chip-remove:hover {\n                    color: ${chipRemoveHoverColor};\n                    background-color: ${chipRemoveHoverBackgroundColor};\n                    border-color: ${chipRemoveHoverBorderColor};\n                }\n\n                .${uniqueClassName}-placeholder {\n                    padding: 32px;\n                    text-align: center;\n                    background-color: #f8f9fa;\n                    border: 2px dashed #dee2e6;\n                    border-radius: 12px;\n                    color: #6c757d;\n                }\n\n                .${uniqueClassName}-placeholder-title {\n                    font-size: 18px;\n                    font-weight: 600;\n                    margin-bottom: 8px;\n                    color: #495057;\n                }\n\n                .${uniqueClassName}-placeholder-text {\n                    font-size: 14px;\n                }\n            `}),/*#__PURE__*/_jsx(\"div\",{className:uniqueClassName,children:!collection||!Array.isArray(collection)||!collection.length?// Editor mode: Clean connection prompt\n/*#__PURE__*/_jsxs(\"div\",{className:`${uniqueClassName}-placeholder`,children:[/*#__PURE__*/_jsx(\"div\",{className:`${uniqueClassName}-placeholder-title`,children:\"Connect CMS Collection\"}),/*#__PURE__*/_jsx(\"div\",{className:`${uniqueClassName}-placeholder-text`,children:'Use the \"Collection\" slot to connect your CMS Collection List'})]}):hasActiveFilters?// Preview/Live mode: Show filter chips only when there are active filters\n/*#__PURE__*/_jsxs(\"div\",{className:`${uniqueClassName}-chips-container`,children:[visibleChips.visible.map(renderUnifiedChip),renderOverflowChip()]}):isEditorMode?// Editor mode: Show dummy facets with chosen styling or slot components\n/*#__PURE__*/_jsxs(\"div\",{className:`${uniqueClassName}-chips-container`,children:[showSearchChip&&(searchChip&&Array.isArray(searchChip)&&searchChip.length>0&&searchChip[0]?renderSlotChip(searchChip[0],searchLabel,\"example\",()=>{},searchChipTemplate):filterChip&&Array.isArray(filterChip)&&filterChip.length>0&&filterChip[0]?renderSlotChip(filterChip[0],searchLabel,\"example\",()=>{},searchChipTemplate):/*#__PURE__*/_jsxs(\"div\",{className:`${uniqueClassName}-chip ${uniqueClassName}-chip-${chipStyle} ${uniqueClassName}-chip-search`,children:[/*#__PURE__*/_jsx(\"span\",{className:`${uniqueClassName}-chip-text`,children:\"example\"}),/*#__PURE__*/_jsx(\"span\",{className:`${uniqueClassName}-chip-remove`,style:{...chipRemoveSize!==0&&{width:chipRemoveSize,height:chipRemoveSize,placeContent:\"center\",textAlign:\"center\",padding:\"0\"}},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"svg\",{width:chipRemoveFontSize!=13?chipRemoveFontSize:\"12px\",height:chipRemoveFontSize!=13?chipRemoveFontSize:\"12px\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M18 6L6 18M6 6L18 18\",stroke:\"currentColor\",\"stroke-width\":\"2\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"})})})]})),filterChip&&Array.isArray(filterChip)&&filterChip.length>0&&filterChip[0]?/*#__PURE__*/_jsxs(_Fragment,{children:[renderSlotChip(filterChip[0],\"Category\",\"Technology\",()=>{},chipTemplate),renderSlotChip(filterChip[0],\"Status\",\"Published\",()=>{},chipTemplate)]}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{className:`${uniqueClassName}-chip ${uniqueClassName}-chip-${chipStyle}`,children:[/*#__PURE__*/_jsx(\"span\",{className:`${uniqueClassName}-chip-text`,children:\"Category: Technology\"}),/*#__PURE__*/_jsx(\"span\",{className:`${uniqueClassName}-chip-remove`,style:{...chipRemoveSize!==0&&{width:chipRemoveSize,height:chipRemoveSize,placeContent:\"center\",textAlign:\"center\",padding:\"0\"}},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"svg\",{width:chipRemoveFontSize!=13?chipRemoveFontSize:\"12px\",height:chipRemoveFontSize!=13?chipRemoveFontSize:\"12px\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M18 6L6 18M6 6L18 18\",stroke:\"currentColor\",\"stroke-width\":\"2\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"})})})]}),/*#__PURE__*/_jsxs(\"div\",{className:`${uniqueClassName}-chip ${uniqueClassName}-chip-${chipStyle}`,children:[/*#__PURE__*/_jsx(\"span\",{className:`${uniqueClassName}-chip-text`,children:\"Status: Published\"}),/*#__PURE__*/_jsx(\"span\",{className:`${uniqueClassName}-chip-remove`,style:{...chipRemoveSize!==0&&{width:chipRemoveSize,height:chipRemoveSize,placeContent:\"center\",textAlign:\"center\",padding:\"0\"}},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"svg\",{width:chipRemoveFontSize!=13?chipRemoveFontSize:\"12px\",height:chipRemoveFontSize!=13?chipRemoveFontSize:\"12px\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M18 6L6 18M6 6L18 18\",stroke:\"currentColor\",\"stroke-width\":\"2\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"})})})]})]})]}):null})]});}// Property Controls\naddPropertyControls(CMSFacets,{collection:{type:ControlType.Slot,title:\"Collection\",description:\"Connect your CMS Collection List component here\",maxCount:1},storeKey:{type:ControlType.String,title:\"Filter Group\",description:\"Components with same group share filters. Leave empty or 'auto' to use collection name.\",defaultValue:\"auto\",placeholder:\"auto (uses collection name)\"},// === SLOT COMPONENTS ===\nfilterChip:{type:ControlType.Slot,title:\"Filter Chip\",description:\"Custom component for filter chips\",maxCount:1},searchChip:{type:ControlType.Slot,title:\"Search Chip\",description:\"Custom component for search chip (falls back to Filter)\",maxCount:1},overflowChip:{type:ControlType.Slot,title:\"Overflow Chip\",description:\"Custom component for '+N more' chip\",maxCount:1},// === TEMPLATE STRINGS ===\nchipTemplate:{type:ControlType.String,title:\"Filter Chip Text\",description:\"Template for filter chips. Use {label} for field name, {value} for filter value\",defaultValue:\"{label}: {value}\",placeholder:\"e.g., '{value}', '{label} - {value}', '{label}: {value}'\"},searchChipTemplate:{type:ControlType.String,title:\"Search Chip Text\",description:\"Template for search chips. Use {label} for 'Search', {value} for search term\",defaultValue:\"{label}: {value}\",placeholder:\"e.g., '{value}', '{label}: {value}', 'Search: {value}'\"},overflowChipTemplate:{type:ControlType.String,title:\"Overflow Chip Text\",description:\"Template for overflow chips. Use {label} for overflow text, {count} for hidden count\",defaultValue:\"{label}\",placeholder:\"e.g., '{label}', '+{count} more', '{count} hidden'\"},// === FEATURES ===\nshowSearchChip:{type:ControlType.Boolean,title:\"Show Search Chip\",enabledTitle:\"Yes\",disabledTitle:\"No\",defaultValue:true},searchLabel:{type:ControlType.String,title:\"Search Label\",description:\"Fallback label for search chips. Uses CMSSearch Display Title if available.\",defaultValue:\"Search\"},containerStyles:{type:ControlType.Object,title:\"Container Styles\",controls:{backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#ffffff\"},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"0px\"},borderRadius:{type:ControlType.BorderRadius,title:\"Border Radius\",defaultValue:\"0px\"},border:{type:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:0,borderStyle:\"solid\",borderColor:\"rgba(0, 0, 0, 0.1)\"}},shadow:{type:ControlType.BoxShadow,title:\"Shadow\",defaultValue:\"none\"},containerGap:{type:ControlType.Number,title:\"Chips Gap (px)\",defaultValue:8,min:0,max:100,step:1,displayStepper:true,description:\"Space between chips\"}},defaultValue:{backgroundColor:\"#ffffff\",padding:\"0px\",borderRadius:\"0px\",border:{borderWidth:0,borderStyle:\"solid\",borderColor:\"rgba(0, 0, 0, 0.1)\"},shadow:\"none\",containerGap:8}},// === GROUPED STYLING ===\nchipStyles:{type:ControlType.Object,title:\"Chip Styles\",controls:{font:{type:ControlType.Font,title:\"Font Family\"},fontSize:{type:ControlType.Number,title:\"Font Size (px)\",defaultValue:14,min:8,max:24,step:1,displayStepper:true},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"8px 16px 8px 16px\"},gap:{type:ControlType.Number,title:\"Internal Gap (px)\",defaultValue:8,min:0,max:100,step:1,displayStepper:true,description:\"Space between text and remove button\"},color:{type:ControlType.Color,title:\"Background\",defaultValue:\"#ffffff\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#333333\"},border:{type:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},borderRadius:{type:ControlType.BorderRadius,title:\"Border Radius\",defaultValue:\"6px\"},shadow:{type:ControlType.BoxShadow,title:\"Shadow\",defaultValue:\"0px 1px 3px 0px rgba(0,0,0,0.1)\"},hoverOpacity:{type:ControlType.Number,title:\"Hover Opacity\",defaultValue:.85,min:.1,max:1,step:.05,displayStepper:true},hoverTransform:{type:ControlType.String,title:\"Hover Transform\",defaultValue:\"translateY(-1px)\",placeholder:\"e.g., 'translateY(-2px)', 'scale(1.05)'\"},hoverTextColor:{type:ControlType.Color,title:\"Hover Text Color\",defaultValue:\"#333333\"},hoverBgColor:{type:ControlType.Color,title:\"Hover Background Color\",defaultValue:\"#ffffff\"},hoverBorderColor:{type:ControlType.Color,title:\"Hover Border Color\",defaultValue:\"#007AFF\"},selectedTextColor:{type:ControlType.Color,title:\"Selected Text Color\",defaultValue:\"#ffffff\"}},defaultValue:{style:\"default\",size:\"medium\",color:\"#ffffff\",textColor:\"#333333\",fontSize:14,padding:\"8px\",gap:8,border:{borderWidth:1,borderStyle:\"solid\",borderColor:\"#dee2e6\"},shadow:\"0px 1px 3px 0px rgba(0,0,0,0.1)\",hoverOpacity:.85,hoverTransform:\"translateY(-1px)\",hoverTextColor:\"#333333\",hoverBgColor:\"#ffffff\",hoverBorderColor:\"#007AFF\",selectedTextColor:\"#ffffff\"}},searchChipStyles:{type:ControlType.Object,title:\"Search Chip Styles\",controls:{color:{type:ControlType.Color,title:\"Background\",defaultValue:\"#ffffff\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#333333\"},border:{type:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},hoverTextColor:{type:ControlType.Color,title:\"Hover Text Color\",defaultValue:\"#333333\"},hoverBgColor:{type:ControlType.Color,title:\"Hover Background Color\",defaultValue:\"#ffffff\"},hoverBorderColor:{type:ControlType.Color,title:\"Hover Border Color\",defaultValue:\"#007AFF\"}},defaultValue:{color:\"#6c757d\",textColor:\"#ffffff\",hoverTextColor:\"#ffffff\"}},overflowChipStyles:{type:ControlType.Object,title:\"Overflow Chip Styles\",controls:{color:{type:ControlType.Color,title:\"Background\",defaultValue:\"#e9ecef\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#495057\"}},defaultValue:{color:\"#e9ecef\",textColor:\"#495057\"}},layoutStyles:{type:ControlType.Object,title:\"Layout Styles\",controls:{},defaultValue:{}},overflowSettings:{type:ControlType.Object,title:\"Overflow Settings\",controls:{maxVisibleChips:{type:ControlType.Number,title:\"Max Visible Chips\",defaultValue:5,min:0,max:20,step:1,displayStepper:true,description:\"0 = show all\"},overflowText:{type:ControlType.String,title:\"Overflow Text\",defaultValue:\"+{count} more\",placeholder:\"Use {count} placeholder\"},maxVisibleValues:{type:ControlType.Number,title:\"Max Visible Values\",defaultValue:0,min:0,max:10,step:1,displayStepper:true,description:\"Max values shown per chip. 0 = show all\"},valueOverflowText:{type:ControlType.String,title:\"Value Overflow Text\",defaultValue:\"+{count}\",placeholder:\"Use {count} placeholder\"}},defaultValue:{maxVisibleChips:5,overflowText:\"+{count} more\",maxVisibleValues:0,valueOverflowText:\"+{count}\"}},chipRemoveStyles:{type:ControlType.Object,title:\"Close Styles\",controls:{font:{type:ControlType.Font,title:\"Font Family\"},scale:{type:ControlType.Number,title:\"Font Size\",defaultValue:13,min:10,max:100,step:1},color:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#666666\"},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"transparent\"},border:{type:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:0,borderStyle:\"solid\",borderColor:\"rgba(0, 0, 0, 0.15)\"}},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"0px\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:0,min:0,max:100,step:1,displayStepper:true,description:\"Border radius in pixels\"},size:{type:ControlType.Number,title:\"Size\",description:\"Width and Height of Count\",defaultValue:0,min:0,max:100,step:1},hoverTextColor:{type:ControlType.Color,title:\"Hover Text Color\",defaultValue:\"#007AFF\"},hoverBgColor:{type:ControlType.Color,title:\"Hover Background Color\",defaultValue:\"transparent\"},hoverBorderColor:{type:ControlType.Color,title:\"Hover Border Color\",defaultValue:\"transparent\"}},defaultValue:{}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CMSFacets\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useEffect,useMemo}from\"react\";import{addPropertyControls,ControlType,useQueryData}from\"framer\";// Import utilities and types from shared modules\nimport{getCollectionStore,getCollectionStoreKey,globalInitStore,getCollectionInfo,evGetRandomString}from\"https://framerusercontent.com/modules/2VZikWBxCagm4nJReNjX/z54ASxxAIXcD5lI71IM4/store_management.js\";// Helper to get available searchable fields from CMS\nconst getAvailableSearchFields=propertyControls=>{if(!propertyControls)return[];return Object.entries(propertyControls).filter(([,control])=>{// Only include searchable field types\nconst searchableTypes=[\"string\",\"richtext\"];return searchableTypes.includes(control.type);}).map(([key,control])=>({key,title:control.title||key,type:control.type}));};// Debounce hook\nfunction useDebounce(value,delay){const[debounced,setDebounced]=useState(value);useEffect(()=>{const handler=setTimeout(()=>setDebounced(value),delay);return()=>clearTimeout(handler);},[value,delay]);return debounced;}/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export default function CMSSearch(props){const{collection,searchFields,searchDisplayTitle=\"Search\",placeholder,debounceDelay,storeKey,urlPrefix,style,containerStyles,labelStyles,inputStyles,iconStyles,debugMode,id}=props;const newId=id?id:evGetRandomString();const uniqueClassName=`cms-collection-${newId}`;// Get store key for this collection using new logic\nconst actualStoreKey=getCollectionStoreKey(collection,storeKey);// Initialize store immediately if we have a store key (fixes race condition)\nif(actualStoreKey){getCollectionStore(actualStoreKey);}// Watch for store initialization (for debugging/monitoring only)\nconst[initState]=globalInitStore();const isStoreInitialized=actualStoreKey&&initState.storeInitialized.includes(actualStoreKey);// Extract collection info from slot connection - memoized\nconst collectionInfo=useMemo(()=>getCollectionInfo(collection),[collection]);// Get store for this collection\nconst useStore=actualStoreKey?getCollectionStore(actualStoreKey):null;const[state,setState]=useStore?useStore():[null,null];// Local input value for immediate UI updates\nconst[inputValue,setInputValue]=useState(\"\");// Debounced search term\nconst debouncedSearchTerm=useDebounce(inputValue,debounceDelay);// Clear search function\nconst handleClearSearch=()=>{setInputValue(\"\");};// Memoized dynamic placeholder with count support - prevents render loops\nconst dynamicPlaceholder=useMemo(()=>{if(!placeholder.includes(\"{count}\")){return placeholder;}// Check if we have active filters\nconst hasActiveFilters=state&&(state.searchTerm&&state.searchTerm.trim()!==\"\"||state.filters&&state.filters.length>0||state.sort&&state.sort.length>0);let count=0;if(hasActiveFilters&&state?.count!==undefined){// Use filtered count when filters are active\ncount=state.count;}else if(collectionInfo){// Use total collection count when no filters are active\nconst originalQuery=collection?.[0]?.props?.children?.props?.children?.props?.query;if(originalQuery){try{const unfiltered=useQueryData(originalQuery);count=unfiltered?.length||0;}catch(error){console.warn(\"Error getting collection count:\",error);count=0;}}}return placeholder.replace(/{count}/g,String(count));},[placeholder,state?.count,state?.searchTerm,state?.filters,state?.sort,collectionInfo,collection]);// Update store when debounced search term changes - SIMPLIFIED\nuseEffect(()=>{if(setState&&state){setState({...state,searchTerm:debouncedSearchTerm,searchFields:searchFields,searchDisplayTitle:searchDisplayTitle});}},[debouncedSearchTerm,searchFields,searchDisplayTitle,setState]);// Initialize from URL parameters on component mount\n// useEffect(() => {\n//     if (isStoreInitialized && setState && state && !hasInitializedFromURL) {\n//         const urlParams = new URLSearchParams(window.location.search)\n//         const searchParam = urlPrefix ? `${urlPrefix}_search` : \"search\"\n//         const urlSearchTerm = urlParams.get(searchParam)\n//         if (urlSearchTerm) {\n//             setInputValue(urlSearchTerm)\n//             setState({\n//                 ...state,\n//                 searchTerm: urlSearchTerm,\n//                 searchFields: searchFields,\n//             })\n//         }\n//         setHasInitializedFromURL(true)\n//     }\n// }, [\n//     isStoreInitialized,\n//     setState,\n//     state,\n//     hasInitializedFromURL,\n//     urlPrefix,\n//     searchFields,\n// ])\n// const urlParams = new URLSearchParams(window.location.search)\n// const searchParam = urlPrefix ? `${urlPrefix}_search` : \"search\"\n// const urlSearchTerm = urlParams.get(searchParam)\nuseEffect(()=>{},[]);// Sync input value with store on change (including clears from other components)\nuseEffect(()=>{if(state&&state.searchTerm!==inputValue){setInputValue(state.searchTerm||\"\");}},[state?.searchTerm]);// Get available fields for validation/debugging (only in preview/live) - memoized\nconst availableFields=useMemo(()=>collectionInfo?getAvailableSearchFields(collectionInfo.propertyControls):[],[collectionInfo?.propertyControls]);const validFields=useMemo(()=>availableFields&&availableFields.length>0?searchFields.filter(fieldTitle=>availableFields.some(field=>field.title.toLowerCase()===fieldTitle.toLowerCase())):searchFields,[availableFields,searchFields]);const invalidFields=useMemo(()=>availableFields&&availableFields.length>0?searchFields.filter(fieldTitle=>!availableFields.some(field=>field.title.toLowerCase()===fieldTitle.toLowerCase())):[],[availableFields,searchFields]);let paddingLeft=0;const defaultPadding=\"8px 16px 8px 16px\";let curAppliedPadding=0;if(defaultPadding==inputStyles?.padding){curAppliedPadding=16;}else{const paddingArr=inputStyles?.padding.split(\" \");if(paddingArr.length>3){curAppliedPadding=parseInt(paddingArr[3].replace(\"px\",\"\"));}else{curAppliedPadding=parseInt(paddingArr[0].replace(\"px\",\"\"));}}if(iconStyles?.showSearchIcon){paddingLeft=(iconStyles?.iconSize||16)+curAppliedPadding;}else{paddingLeft=curAppliedPadding;}let paddingRight=0;if(defaultPadding==inputStyles?.padding){curAppliedPadding=16;}else{const paddingArr=inputStyles?.padding.split(\" \");if(paddingArr.length>1){curAppliedPadding=parseInt(paddingArr[1].replace(\"px\",\"\"));}else{curAppliedPadding=parseInt(paddingArr[0].replace(\"px\",\"\"));}}if(iconStyles?.showClearButton){paddingRight=(iconStyles?.clearIconSize||16)+curAppliedPadding;}else{paddingRight=curAppliedPadding;}return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .${uniqueClassName} {\n                    display: flex;\n                    flex-direction: column;\n                    gap: 8px;\n                    overflow: hidden;\n                }\n\n                .${uniqueClassName}-debug-info {\n                    padding: 8px;\n                    background-color: #e8f5e8;\n                    border-radius: 4px;\n                    font-size: 12px;\n                    color: #2d5a2d;\n                    border: 1px solid #c3e6c3;\n                }\n\n                .${uniqueClassName}-validation-warning {\n                    padding: 12px;\n                    background-color: #f8d7da;\n                    border: 1px solid #f5c6cb;\n                    border-radius: 6px;\n                    color: #721c24;\n                    font-size: 13px;\n                }\n\n                .${uniqueClassName}-validation-title {\n                    font-weight: 500;\n                    margin-bottom: 4px;\n                }\n\n                .${uniqueClassName}-validation-note {\n                    font-size: 12px;\n                    margin-top: 4px;\n                    opacity: 0.8;\n                }\n\n                .${uniqueClassName}-search-container {\n                    display: flex;\n                    flex-direction: column;\n                    gap: 4px;\n                }\n\n                .${uniqueClassName}-label {\n                    font-size: 14px;\n                    font-weight: 500;\n                    display: flex;\n                    align-items: center;\n                    gap: 8px;\n                }\n\n                .${uniqueClassName}-field-badge {\n                    font-size: 11px;\n                    color: #666;\n                    font-weight: 400;\n                    background-color: #f8f9fa;\n                    padding: 2px 6px;\n                    border-radius: 3px;\n                }\n\n                .${uniqueClassName}-input-wrapper {\n                    position: relative;\n                    display: flex;\n                    align-items: center;\n                }\n\n                .${uniqueClassName}-search-icon {\n                    position: absolute;\n                    left: ${iconStyles?.iconPosition||12}px;\n                    z-index: 1;\n                    pointer-events: none;\n                    display: flex;\n                    align-items: center;\n                    height: 100%;\n                }\n\n                .${uniqueClassName}-input {\n                    outline: none;\n                    transition: border-color 0.2s ease, box-shadow 0.2s ease;\n                    width: 100%;\n                    color: ${inputStyles?.textColor||\"#333\"};\n                }\n\n                .${uniqueClassName}-input::placeholder {\n                    color: ${inputStyles?.placeholderColor||\"#999\"};\n                }\n\n                .${uniqueClassName}-input:hover:not(:focus) {\n                    border-color: ${inputStyles?.hoverBorderColor||inputStyles?.selectedBorderColor||\"#007AFF\"} !important;\n                    background-color: ${inputStyles?.hoverBackgroundColor||\"#f8f9fa\"} !important;\n                    color: ${inputStyles?.hoverTextColor||inputStyles?.textColor||\"#333\"} !important;\n                }\n\n                .${uniqueClassName}-input:focus {\n                    border-color: ${inputStyles?.selectedBorderColor||\"#007AFF\"} !important;\n                    background-color: ${inputStyles?.selectedBackgroundColor||\"#fff\"} !important;\n                    color: ${inputStyles?.selectedTextColor||inputStyles?.textColor||\"#333\"} !important;\n                }\n\n                .${uniqueClassName}-clear-button {\n                    position: absolute;\n                    right: ${iconStyles?.clearIconPosition||8}px;\n                    background: none;\n                    border: none;\n                    cursor: pointer;\n                    padding: 4px;\n                    display: flex;\n                    align-items: center;\n                    justify-content: center;\n                    border-radius: 50%;\n                    background-color: ${iconStyles?.clearIconBgColor||\"transparent\"};\n                    transition: background-color 0.2s ease;\n\n                }\n\n                .${uniqueClassName}-clear-button:hover {\n                    background-color: ${iconStyles?.clearIconHoverBgColor||\"#f3f4f6\"};\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{className:uniqueClassName,style:{...containerStyles,...containerStyles?.border,...style},children:[debugMode&&collectionInfo&&state&&state.debug&&/*#__PURE__*/_jsxs(\"div\",{className:`${uniqueClassName}-debug-info`,children:[/*#__PURE__*/_jsx(\"div\",{children:/*#__PURE__*/_jsx(\"strong\",{children:\"CMS MultiFilter Search - SIMPLIFIED\"})}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Collection: \",collectionInfo.collectionName,\" (\",collectionInfo.collectionId,\")\"]}),/*#__PURE__*/_jsx(\"div\",{children:\"Store Initialized: ✅\"}),/*#__PURE__*/_jsx(\"div\",{children:\"Store Connected: ✅\"}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Property Controls Found:\",\" \",Object.keys(collectionInfo&&collectionInfo.propertyControls||{}).length]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Available Fields:\",\" \",availableFields.map(f=>f.title).join(\", \")||\"None\"]}),validFields.length>0&&/*#__PURE__*/_jsxs(\"div\",{children:[\"✅ Valid Search Fields: \",validFields.join(\", \")]}),invalidFields.length>0&&/*#__PURE__*/_jsxs(\"div\",{children:[\"⚠ Invalid Search Fields:\",\" \",invalidFields.join(\", \")]}),state.searchTerm&&/*#__PURE__*/_jsxs(\"div\",{children:['Active Search: \"',state.searchTerm,'\" (Always OR across fields)']})]}),collection&&collectionInfo&&invalidFields.length>0&&/*#__PURE__*/_jsxs(\"div\",{className:`${uniqueClassName}-validation-warning`,children:[/*#__PURE__*/_jsx(\"div\",{className:`${uniqueClassName}-validation-title`,children:\"Invalid Search Fields:\"}),/*#__PURE__*/_jsx(\"div\",{children:invalidFields.join(\", \")}),/*#__PURE__*/_jsxs(\"div\",{className:`${uniqueClassName}-validation-note`,children:[\"Available:\",\" \",availableFields.map(f=>f.title).join(\", \")||\"None found\"]})]}),/*#__PURE__*/_jsxs(\"div\",{className:`${uniqueClassName}-search-container`,children:[labelStyles?.labelToggle&&/*#__PURE__*/_jsxs(\"label\",{className:`${uniqueClassName}-label`,style:{...labelStyles,...labelStyles?.fontFamily,fontSize:labelStyles?.fontFamily?.fontSize||\"14px\"},children:[searchDisplayTitle,searchFields.length>0&&debugMode&&/*#__PURE__*/_jsxs(\"span\",{className:`${uniqueClassName}-field-badge`,children:[searchFields.length,\" field\",searchFields.length!==1?\"s\":\"\",\" • OR\"]})]}),/*#__PURE__*/_jsxs(\"div\",{className:`${uniqueClassName}-input-wrapper`,children:[iconStyles?.showSearchIcon&&/*#__PURE__*/_jsx(\"div\",{className:`${uniqueClassName}-search-icon`,children:/*#__PURE__*/_jsx(\"svg\",{width:iconStyles?.iconSize||16,height:iconStyles?.iconSize||16,viewBox:\"0 0 24 24\",fill:\"none\",style:{color:iconStyles?.iconColor||\"#6B7280\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M21 21L16.514 16.506M19 10.5C19 15.194 15.194 19 10.5 19S2 15.194 2 10.5 5.806 2 10.5 2 19 5.806 19 10.5Z\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(\"input\",{type:\"text\",placeholder:dynamicPlaceholder,value:inputValue,onChange:e=>setInputValue(e.target.value),className:`${uniqueClassName}-input`,style:{...inputStyles,...inputStyles?.border,paddingLeft,paddingRight,...inputStyles?.fontFamily,fontSize:inputStyles?.fontFamily?.fontSize||\"14px\"}}),iconStyles?.showClearButton&&inputValue&&/*#__PURE__*/_jsx(\"button\",{onClick:handleClearSearch,className:`${uniqueClassName}-clear-button`,children:/*#__PURE__*/_jsx(\"svg\",{width:iconStyles?.clearIconSize||16,height:iconStyles?.clearIconSize||16,viewBox:\"0 0 24 24\",fill:\"none\",style:{color:iconStyles?.clearIconColor||\"#6B7280\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M18 6L6 18M6 6L18 18\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})})]})]})]})]});}// Property Controls - SIMPLIFIED\naddPropertyControls(CMSSearch,{collection:{type:ControlType.Slot,title:\"Collection\",description:\"Connect your CMS Collection List component here\",maxCount:1},searchFields:{type:ControlType.Array,title:\"Search Fields\",description:\"CMS field names to search through (uses OR logic across fields)\",control:{type:ControlType.String,placeholder:\"Field title (e.g., Title, Content, Description)\"},defaultValue:[\"Title\"]},searchDisplayTitle:{type:ControlType.String,title:\"Display Title\",description:\"Label shown in facet chips (e.g., 'Search', 'Find', 'Query')\",defaultValue:\"Search\",placeholder:\"Search\"},placeholder:{type:ControlType.String,title:\"Search Placeholder\",defaultValue:\"Search...\",description:\"Use {count} to show current result count\"},debounceDelay:{type:ControlType.Number,title:\"Debounce Delay (ms)\",description:\"Wait time before triggering search (prevents too many requests)\",min:0,max:1e3,step:50,defaultValue:300},containerStyles:{type:ControlType.Object,title:\"Container Styles\",description:\"Styling for outer container (background, padding, borders)\",controls:{backgroundColor:{type:ControlType.Color,title:\"Background Color\",description:\"Background color for search container\",defaultValue:\"transparent\",optional:true},padding:{type:ControlType.Padding,title:\"Padding\",description:\"Inner spacing for search container\",defaultValue:\"0px\"},border:{type:ControlType.Border,title:\"Border\",description:\"Border for search container\",defaultValue:{borderWidth:0,borderStyle:\"solid\",borderColor:\"rgba(0, 0, 0, 0)\"}},borderRadius:{type:ControlType.BorderRadius,title:\"Border Radius\",description:\"Corner rounding for search container\",defaultValue:\"0px\"}},defaultValue:[{backgroundColor:\"transparent\"}]},labelStyles:{type:ControlType.Object,title:\"Label Styles\",description:\"Styling for search label text (e.g., 'Search')\",controls:{labelToggle:{type:ControlType.Boolean,title:\"Toggle\",description:\"Show or hide the search label\",enabledTitle:\"Show\",disabledTitle:\"Hide\"},fontFamily:{type:ControlType.Font,title:\"Font\",description:\"Typography settings for label text\",controls:\"extended\",defaultValue:{fontSize:\"14px\"},hidden:props=>!props.labelToggle},padding:{type:ControlType.Padding,title:\"Padding\",description:\"Spacing around label text\",defaultValue:\"0px 0px 8px 0px\",hidden:props=>!props.labelToggle},color:{type:ControlType.Color,title:\"Color\",description:\"Label text color\",defaultValue:\"#333\",optional:true,hidden:props=>!props.labelToggle}},defaultValue:[{padding:\"8px 0 0 8px\",color:\"#333\"}]},inputStyles:{type:ControlType.Object,title:\"Input Styles\",description:\"Styling for the search input field\",controls:{fontFamily:{type:ControlType.Font,title:\"Font\",description:\"Typography settings for input text\",controls:\"extended\",defaultValue:{fontSize:\"14px\"}},padding:{type:ControlType.Padding,title:\"Padding\",description:\"Inner spacing within input field\",defaultValue:\"8px 16px 8px 16px\"},placeholderColor:{type:ControlType.Color,title:\"Placeholder Color\",description:\"Color of placeholder text\",defaultValue:\"#999\",optional:true},textColor:{type:ControlType.Color,title:\"Text Color\",description:\"Default input text color\",defaultValue:\"#ccc\",optional:true},backgroundColor:{type:ControlType.Color,title:\"Background Color\",description:\"Default input background color\",defaultValue:\"white\",optional:true},border:{type:ControlType.Border,title:\"Border\",description:\"Input field border styling\",defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},borderRadius:{type:ControlType.BorderRadius,title:\"Border Radius\",description:\"Corner rounding for input field\",defaultValue:\"6px\"},selectedTextColor:{type:ControlType.Color,title:\"Focus Text Color\",description:\"Text color when input is focused\",defaultValue:\"#333\",optional:true},selectedBackgroundColor:{type:ControlType.Color,title:\"Focus Background\",description:\"Background color when focused\",defaultValue:\"white\",optional:true},selectedBorderColor:{type:ControlType.Color,title:\"Focus Border Color\",description:\"Border color when focused\",defaultValue:\"#000\"},hoverTextColor:{type:ControlType.Color,title:\"Hover Text Color\",description:\"Text color on hover\",defaultValue:\"#333\",optional:true},hoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background\",description:\"Background color on hover\",defaultValue:\"#f8f9fa\",optional:true},hoverBorderColor:{type:ControlType.Color,title:\"Hover Border Color\",description:\"Border color on hover\",defaultValue:\"#007AFF\",optional:true}},defaultValue:[{backgroundColor:\"#fff\",borderRadius:\"6px\",selectedBorderColor:\"#000\"}]},iconStyles:{type:ControlType.Object,title:\"Icon Styles\",description:\"Styling for search and clear icons\",controls:{showSearchIcon:{type:ControlType.Boolean,title:\"Show Search Icon\",description:\"Display search icon in input field\",defaultValue:true},iconSize:{type:ControlType.Number,title:\"Search Icon Size\",description:\"Size of search icon\",defaultValue:16,min:12,max:50,step:1,unit:\"px\",hidden:props=>props.showSearchIcon===false},iconPosition:{type:ControlType.Number,title:\"Search Icon Position\",description:\"Distance from left edge\",defaultValue:12,min:0,max:100,step:1,unit:\"px\",hidden:props=>props.showSearchIcon===false},iconColor:{type:ControlType.Color,title:\"Search Icon Color\",description:\"Color of search icon\",defaultValue:\"#6B7280\",hidden:props=>props.showSearchIcon===false},showClearButton:{type:ControlType.Boolean,title:\"Show Clear Button\",description:\"Display X button to clear search\",defaultValue:true,hidden:props=>props.showSearchIcon===false},clearIconSize:{type:ControlType.Number,title:\"Clear Icon Size\",description:\"Size of clear (X) icon\",defaultValue:16,min:12,max:50,step:1,unit:\"px\",hidden:props=>props.showSearchIcon===false||props.showClearButton===false},clearIconPosition:{type:ControlType.Number,title:\"Clear Icon Position\",description:\"Distance from right edge\",defaultValue:8,min:0,max:100,step:1,unit:\"px\",hidden:props=>props.showSearchIcon===false||props.showClearButton===false},clearIconColor:{type:ControlType.Color,title:\"Clear Icon Color\",description:\"Color of clear icon\",defaultValue:\"#6B7280\",hidden:props=>props.showSearchIcon===false||props.showClearButton===false},clearIconBgColor:{type:ControlType.Color,title:\"Clear Icon Background\",description:\"Background color for clear button\",defaultValue:\"transparent\",hidden:props=>props.showSearchIcon===false||props.showClearButton===false},clearIconHoverColor:{type:ControlType.Color,title:\"Clear Icon Hover Color\",description:\"Icon color on hover\",defaultValue:\"#374151\",hidden:props=>props.showSearchIcon===false||props.showClearButton===false},clearIconHoverBgColor:{type:ControlType.Color,title:\"Clear Icon Hover Background Color\",defaultValue:\"#f3f4f6\",hidden:props=>props.showSearchIcon===false||props.showClearButton===false}},defaultValue:{showSearchIcon:true,showClearButton:true,iconSize:16,iconColor:\"#6B7280\"}},storeKey:{type:ControlType.String,title:\"Filter Group\",description:\"Components with same group share filters. Leave empty or 'auto' to use collection name.\",defaultValue:\"auto\",placeholder:\"auto (uses collection name)\"},urlPrefix:{type:ControlType.String,title:\"URL Prefix\",description:\"Prefix for URL parameter. If set, uses '{prefix}_search' instead of 'search'\",placeholder:\"e.g., 'product' creates '?product_search=...'\",optional:true},debugMode:{type:ControlType.Boolean,title:\"🛠 Debug Mode\",defaultValue:false}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CMSSearch\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CMSSearch.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{getCollectionStore,getCollectionStoreKey,getCollectionInfo,evGetRandomString}from\"https://framerusercontent.com/modules/2VZikWBxCagm4nJReNjX/z54ASxxAIXcD5lI71IM4/store_management.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export default function CMSClearAll({collection,text=\"Clear All\",showOnlyWhenFiltered=true,clearSearch=true,storeKey,style,buttonStyles={},id,...rest}){const[isHovered,setIsHovered]=useState(false);const newId=id?id:evGetRandomString();const uniqueClassName=`cms-clear-${newId}`;// Get store key for this collection using new logic\nconst actualStoreKey=getCollectionStoreKey(collection,storeKey);// Initialize store immediately if we have a store key (fixes race condition)\nif(actualStoreKey){getCollectionStore(actualStoreKey);}// Extract collection info from slot connection\nconst collectionInfo=getCollectionInfo(collection);// Get store and subscribe to changes\nconst store=actualStoreKey?getCollectionStore(actualStoreKey):null;const[state,setState]=store?store():[null,null];// Check if there are any active filters, search, or sorts\nconst hasActiveFilters=state?.filters?.length>0;const hasActiveSearch=state?.searchTerm&&state.searchTerm.trim()!==\"\";const hasActiveSort=state?.sort?.length>0;const hasAnyActive=hasActiveFilters||clearSearch&&hasActiveSearch||hasActiveSort;const isPreview=RenderTarget.current()===RenderTarget.preview;// Don't show if showOnlyWhenFiltered is true and no filters are active\nif(showOnlyWhenFiltered&&!hasAnyActive&&isPreview){return null;}const handleClearAll=()=>{if(!setState||!state)return;const clearedState={...state};// Clear filters\nif(hasActiveFilters){clearedState.filters=[];}// Clear search if enabled\nif(clearSearch&&hasActiveSearch){clearedState.searchTerm=\"\";clearedState.searchFields=[];}// Clear sort state\nif(state.sort&&state.sort.length>0){clearedState.sort=[];}setState(clearedState);};// Default button styles\nconst defaultButtonStyles={...buttonStyles};return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .${uniqueClassName} {\n                    cursor: pointer;\n                    transition: all 0.2s ease;\n                    outline: none;\n                    display: inline-flex;\n                    align-items: center;\n                    justify-content: center;\n                    text-align: center;\n                    user-select: none;\n                    background-color: ${defaultButtonStyles.backgroundColor};\n                    ${(()=>{if(typeof defaultButtonStyles?.border===\"string\"){return`border: ${defaultButtonStyles.border};`;}else if(defaultButtonStyles?.border){const border=defaultButtonStyles.border;return`\n        ${border.borderWidth!==undefined?`border-width: ${border.borderWidth}px;`:\"\"}\n        ${border.borderTopWidth!==undefined?`border-top-width: ${border.borderTopWidth}px;`:\"\"}\n        ${border.borderBottomWidth!==undefined?`border-bottom-width: ${border.borderBottomWidth}px;`:\"\"}\n        ${border.borderLeftWidth!==undefined?`border-left-width: ${border.borderLeftWidth}px;`:\"\"}\n        ${border.borderRightWidth!==undefined?`border-right-width: ${border.borderRightWidth}px;`:\"\"}\n        ${border.borderStyle?`border-style: ${border.borderStyle};`:\"border-style: solid;\"}\n        ${border.borderColor?`border-color: ${border.borderColor};`:\"border-color: #dee2e6;\"}\n      `;}else{return\"border: none;\";}})()}\n                    border-radius: ${defaultButtonStyles.borderRadius}px;\n                    color: ${defaultButtonStyles.color};\n                    padding: ${defaultButtonStyles.padding};\n                    font-family: ${defaultButtonStyles?.font?.fontFamily||\"inherit\"};\n                    font-weight: ${defaultButtonStyles?.font?.fontWeight||\"inherit\"};\n                    font-style: ${defaultButtonStyles?.font?.fontStyle||\"inherit\"};\n                    font-size: ${defaultButtonStyles?.fontSize}px;\n                }\n\n                .${uniqueClassName}:hover:not(:disabled) {\n                    background-color: ${defaultButtonStyles.hoverBackgroundColor};\n                    color: ${defaultButtonStyles.hoverColor};\n                }\n\n                .${uniqueClassName}:disabled {\n                    opacity: 0.6;\n                    cursor: not-allowed;\n                }\n\n                .${uniqueClassName} .cms-clear-icon {\n                    display: inline-flex;\n                    width: ${defaultButtonStyles.iconSize}px;\n                    height: ${defaultButtonStyles.iconSize}px;\n                    margin-right: ${defaultButtonStyles.iconSpacing}px;\n                    line-height: 0;\n                }\n                .${uniqueClassName} .cms-clear-icon svg {\n                    width: 100%;\n                    height: 100%;\n                    stroke: currentColor;\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{...rest,className:uniqueClassName,style:style,onClick:handleClearAll,disabled:!hasAnyActive,children:[/*#__PURE__*/_jsx(\"span\",{className:\"cms-clear-icon\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"line\",{x1:\"18\",y1:\"6\",x2:\"6\",y2:\"18\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"6\",y1:\"6\",x2:\"18\",y2:\"18\"})]})}),/*#__PURE__*/_jsx(\"span\",{children:text})]})]});}addPropertyControls(CMSClearAll,{collection:{type:ControlType.Slot,title:\"Collection\",description:\"Connect your CMS Collection List component here\",maxCount:1},text:{type:ControlType.String,title:\"Button Text\",description:\"Text displayed on the clear button\",placeholder:\"e.g., Clear All, Reset Filters, Show All\",defaultValue:\"Clear All\"},showOnlyWhenFiltered:{type:ControlType.Boolean,title:\"Show Only When Filtered\",defaultValue:true,description:\"Hide button when no filters are active\"},clearSearch:{type:ControlType.Boolean,title:\"Clear Search\",defaultValue:true,description:\"Also clear search terms when clearing filters\"},storeKey:{type:ControlType.String,title:\"Filter Group\",description:\"Components with same group share filters. Leave empty or 'auto' to use collection name.\",defaultValue:\"auto\",placeholder:\"auto (uses collection name)\"},buttonStyles:{type:ControlType.Object,title:\"Button Styles\",description:\"Customize the appearance of the clear button\",controls:{font:{type:ControlType.Font,title:\"Font Family\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:14,min:8,max:100,step:1,unit:\"px\"},color:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#333\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"transparent\"},border:{type:ControlType.Border,defaultValue:{borderWidth:0,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:6,min:0,max:20,step:1},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"0px\"},hoverColor:{type:ControlType.Color,title:\"Hover Text Color\",defaultValue:\"#666666\"},hoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background\",defaultValue:\"transparent\"},hoverBorderColor:{type:ControlType.Color,title:\"Hover Border Color\",defaultValue:\"#666666\"},iconSize:{type:ControlType.Number,title:\"Icon Size\",defaultValue:16,min:8,max:48,step:1,unit:\"px\"},iconSpacing:{type:ControlType.Number,title:\"Icon Spacing\",defaultValue:6,min:0,max:32,step:1,unit:\"px\"}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CMSClearAll\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Shared utility functions for CMS Filter components\n// Extracted from CMSFilters.tsx for better modularity and DRY principles\n// @ts-ignore-next-line\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useQueryData}from\"framer\";// Helper to get option values and titles from config\nexport const getOptionData=config=>{if(!config.options||config.options.length===0){return{values:[],titles:[],optionMap:new Map};}// Handle both old format (string[]) and new format (object[])\nconst values=[];const titles=[];const optionMap=new Map// value -> title mapping\n;config.options.forEach(option=>{if(typeof option===\"string\"){// Backward compatibility: old format\nvalues.push(option);titles.push(option);optionMap.set(option,option);}else if(option&&typeof option===\"object\"&&option.value&&option.title){// New format: {value, title}\nvalues.push(option.value);titles.push(option.title);optionMap.set(option.value,option.title);}});return{values,titles,optionMap};};// Operator definitions by field type - renamed to Match\nexport const getMatchOptions=(fieldType,filterType)=>{switch(filterType){case\"text\":return{options:[\"contains\",\"not_contains\",\"starts_with\",\"ends_with\",\"equals\",\"not_equals\",\"is_set\",\"is_not_set\"],titles:[\"Contains\",\"Doesn't contain\",\"Starts with\",\"Ends with\",\"Equals\",\"Doesn't equal\",\"Is set\",\"Is not set\"],default:\"contains\"};case\"dropdown\":return{options:[\"contains\",\"not_contains\",\"starts_with\",\"ends_with\",\"equals\",\"not_equals\",\"greater_than\",\"less_than\",\"greater_than_or_equal\",\"less_than_or_equal\",\"is_set\",\"is_not_set\"],titles:[\"Contains\",\"Doesn't contain\",\"Starts with\",\"Ends with\",\"Equals\",\"Doesn't equal\",\"Greater than\",\"Less than\",\"Greater than or equal\",\"Less than or equal\",\"Is set\",\"Is not set\"],default:\"equals\"};case\"number\":return{options:[\"equals\",\"not_equals\",\"greater_than\",\"less_than\",\"greater_than_or_equal\",\"less_than_or_equal\",\"is_set\",\"is_not_set\"],titles:[\"Equals\",\"Doesn't equal\",\"Greater than\",\"Less than\",\"Greater than or equal\",\"Less than or equal\",\"Is set\",\"Is not set\"],default:\"equals\"};case\"toggle\":return{options:[// Boolean operators (for boolean fields)\n\"is_enabled\",\"is_disabled\",// Value operators (works for all field types)\n\"has_value\",\"is_empty\",\"is_set\",\"is_not_set\"],titles:[// Boolean\n\"Enabled (true)\",\"Disabled (false)\",// Value\n\"Has Value\",\"Is Empty\",\"Is Set (not null)\",\"Is Not Set (null)\"],default:\"is_enabled\"};case\"cms-enum\":return{options:[\"equals\",\"not_equals\",\"is_set\",\"is_not_set\"],titles:[\"Equals\",\"Doesn't equal\",\"Is set\",\"Is not set\"],default:\"equals\"};case\"range\":return{options:[\"between\"],titles:[\"Between\"],default:\"between\"};default:return{options:[\"equals\"],titles:[\"Equals\"],default:\"equals\"};}};// Helper to get the appropriate match value based on filter type\nexport const getActiveMatch=config=>{// Defensive check for missing filterType\nif(!config.filterType){console.warn(\"getActiveMatch: config.filterType is undefined, defaulting to 'dropdown'\",config);return config.matchText||\"equals\";}switch(config.filterType){case\"text\":return config.matchText||\"contains\";case\"dropdown\":return config.matchText||\"equals\"// Use matchText for dropdown too\n;case\"number\":return config.matchNumber||\"equals\";case\"toggle\":return config.matchToggle||\"is_enabled\";case\"range\":return\"between\"// Always between for range\n;case\"cms-enum\":return config.matchEnum||\"equals\"// Use matchEnum for CMS enum\n;default:return config.match||\"equals\";}};// Helper to auto-detect filter type based on CMS field type\nexport const getRecommendedFilterType=cmsFieldType=>{switch(cmsFieldType){case\"string\":case\"richtext\":return\"text\"// or \"toggle\" for simple on/off filtering\n;case\"number\":return\"range\"// or \"number\" or \"toggle\" for threshold filtering\n;case\"enum\":return\"cms-enum\";case\"boolean\":return\"toggle\";default:return\"text\";}};// Helper to get count for each CMS dropdown option\nexport const getOptionCounts=(collectionId,fieldKey,enumValues,originalQuery)=>{const counts={};// For each enum value, create a query to count items with that value\nenumValues.forEach(enumValue=>{try{const countQuery={...originalQuery,where:originalQuery.where?{left:originalQuery.where,operator:\"and\",right:{left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:\"==\",right:{type:\"LiteralValue\",value:enumValue},type:\"BinaryOperation\"},type:\"BinaryOperation\"}:{left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:\"==\",right:{type:\"LiteralValue\",value:enumValue},type:\"BinaryOperation\"},select:[]};// Use the same count hook as the main collection\nconst countData=useQueryData(countQuery);counts[enumValue]=countData.length;}catch(error){// If count query fails, default to 0\ncounts[enumValue]=0;}});return counts;};// Helper to format count display using template\nexport const formatCountDisplay=(option,count,template=\"[{count}]\",countStyle)=>{if(!template||!template.includes(\"{count}\")){return{text:option};}const countText=template.replace(\"{count}\",count.toString());// If template has styling, create a styled element\nif(countStyle&&Object.keys(countStyle).length>0){const styledCount=/*#__PURE__*/_jsx(\"span\",{style:{fontSize:countStyle.fontSize,color:countStyle.color,backgroundColor:countStyle.backgroundColor,padding:countStyle.padding,borderRadius:countStyle.borderRadius,margin:countStyle.margin,fontFamily:countStyle?.font?.fontFamily||undefined,fontWeight:countStyle?.font?.fontWeight??undefined,fontStyle:countStyle?.font?.fontStyle??undefined,...countStyle.size!==0&&{width:countStyle.size,height:countStyle.size,placeContent:\"center\",textAlign:\"center\",display:\"inline-block\"}},children:countText});return{text:option,countElement:styledCount};}// Simple text replacement\nreturn{text:`${option} ${countText}`};};// Helper to validate toggle operator against field type\nexport const getValidToggleOperators=fieldType=>{switch(fieldType){case\"boolean\":return[\"is_enabled\",\"is_disabled\",\"is_set\",\"is_not_set\",\"has_value\",\"is_empty\"];case\"number\":return[\"has_value\",\"is_empty\",\"is_set\",\"is_not_set\",\"equals\",\"not_equals\",\"greater_than\",\"less_than\",\"greater_than_or_equal\",\"less_than_or_equal\"];case\"string\":case\"richtext\":return[\"is_set\",\"is_not_set\",\"has_value\",\"is_empty\",\"contains\",\"not_contains\",\"starts_with\",\"ends_with\",\"equals\",\"not_equals\"];default:return[\"is_set\",\"is_not_set\",\"has_value\",\"is_empty\"];}};// Better value validation for different filter types including range and toggle\nexport const hasValidValue=(config,value)=>{const activeMatch=getActiveMatch(config);// 1. FIELD NAME VALIDATION - must have field name\nif(!config.fieldName||!config.fieldName.trim()){return false;}// 2. Operators that don't need values\nif([\"is_set\",\"is_not_set\"].includes(activeMatch)){return true;}// 3. TOGGLE SPECIAL LOGIC - only apply filter when user explicitly enables it\nif(config.filterType===\"toggle\"){// Tri-state support: null/undefined = ANY (no filter), true = ON, false = OFF\nif(config.toggleTriState){// Apply filter when value is explicitly true or false (not null/undefined)\nreturn value===true||value===false;}// Binary toggle: Only apply filter when toggle is ON (value === true)\n// This prevents filter from applying on page load\nreturn value===true;}// 4. Handle range filters\nif(config.filterType===\"range\"){if(!value||typeof value!==\"object\"){return false;}return value.min!==undefined&&!isNaN(value.min)||value.max!==undefined&&!isNaN(value.max);}// Handle dropdown with multiple selection\nif(config.filterType===\"dropdown\"&&config.allowMultiple){if(!Array.isArray(value)){return false;}return value.length>0;}// 5. Handle CMS enum with multiple selection\nif(config.filterType===\"cms-enum\"&&config.allowMultiple){if(!Array.isArray(value)){return false;}return value.length>0;}// 6. Handle null/undefined\nif(value===null||value===undefined){return false;}// 7. Handle string values\nif(typeof value===\"string\"){return value.trim()!==\"\";}// 8. Handle number values\nif(typeof value===\"number\"){return!isNaN(value);}// 9. Handle boolean values\nif(typeof value===\"boolean\"){return true// Booleans are always valid\n;}// 10. Default: value exists\nreturn true;};\nexport const __FramerMetadata__ = {\"exports\":{\"getActiveMatch\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getMatchOptions\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getOptionData\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"formatCountDisplay\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getValidToggleOperators\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getOptionCounts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getRecommendedFilterType\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"hasValidValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./filter_utils.map","// TextFilter component for CMS Filter system\n// Extracted from CMSFilters.tsx for better modularity\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{getActiveMatch}from\"https://framerusercontent.com/modules/gpP9NQZkGM08zua7fzDA/qCIZ0MmU0r7JnBfK0IXC/filter_utils.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export function TextFilter({config,value,onChange,debugLevel,filterInputStyles,uniqueClassName}){const activeMatch=getActiveMatch(config);// No input needed for is_set/is_not_set operators\nif(activeMatch===\"is_set\"||activeMatch===\"is_not_set\"){return /*#__PURE__*/_jsx(\"div\",{style:{padding:8,fontSize:12,color:\"#666\",fontStyle:\"italic\"},children:\"No input needed - checks if field has value\"});}return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n              .cms-filter-input.${uniqueClassName} {                  \n  ${(()=>{if(typeof filterInputStyles?.border===\"string\"){return`border: ${filterInputStyles.border};`;}else if(filterInputStyles?.border){const border=filterInputStyles.border;return`\n        ${border.borderWidth!==undefined?`border-width: ${border.borderWidth}px;`:\"\"}\n        ${border.borderTopWidth!==undefined?`border-top-width: ${border.borderTopWidth}px;`:\"\"}\n        ${border.borderBottomWidth!==undefined?`border-bottom-width: ${border.borderBottomWidth}px;`:\"\"}\n        ${border.borderLeftWidth!==undefined?`border-left-width: ${border.borderLeftWidth}px;`:\"\"}\n        ${border.borderRightWidth!==undefined?`border-right-width: ${border.borderRightWidth}px;`:\"\"}\n        ${border.borderStyle?`border-style: ${border.borderStyle};`:\"border-style: solid;\"}\n        ${border.borderColor?`border-color: ${border.borderColor};`:\"border-color: #dee2e6;\"}\n      `;}else{return\"border: none;\";}})()}\n                  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;\n              }\n              .cms-filter-input.${uniqueClassName}:hover:not(:focus) {\n                  border-color: ${filterInputStyles?.hoverBorderColor||filterInputStyles?.selectedBorderColor||\"#007AFF\"} !important;\n                  background-color: ${filterInputStyles?.hoverBackgroundColor||\"#f8f9fa\"} !important;\n                  color: ${filterInputStyles?.hoverTextColor||filterInputStyles?.color||\"#333\"} !important;\n              }\n              .cms-filter-input.${uniqueClassName}:focus {\n                  border-color: ${filterInputStyles?.selectedBorderColor||\"#007AFF\"} !important;\n                  background-color: ${filterInputStyles?.selectedBackgroundColor||\"#fff\"} !important;\n                  color: ${filterInputStyles?.selectedTextColor||\"#333\"} !important;\n              }\n          `}),/*#__PURE__*/_jsx(\"input\",{className:`${uniqueClassName} cms-filter-input`,type:\"text\",placeholder:`Filter by ${config.title}...`,value:value||\"\",onChange:e=>onChange(e.target.value),style:{padding:\"8px 12px\",borderRadius:4,fontSize:13,outline:\"none\",width:\"100%\",lineHeight:1.2,...filterInputStyles,fontFamily:filterInputStyles?.font?.fontFamily||undefined,fontWeight:filterInputStyles?.font?.fontWeight??undefined,fontStyle:filterInputStyles?.font?.fontStyle??undefined}})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"TextFilter\":{\"type\":\"reactComponent\",\"name\":\"TextFilter\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// NumberFilter component for CMS Filter system\n// Extracted from CMSFilters.tsx for better modularity\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{getActiveMatch}from\"https://framerusercontent.com/modules/gpP9NQZkGM08zua7fzDA/qCIZ0MmU0r7JnBfK0IXC/filter_utils.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export function NumberFilter({config,value,onChange,debugLevel,filterInputStyles,uniqueClassName}){const activeMatch=getActiveMatch(config);// No input needed for is_set/is_not_set operators\nif(activeMatch===\"is_set\"||activeMatch===\"is_not_set\"){return /*#__PURE__*/_jsx(\"div\",{style:{padding:8,fontSize:12,color:\"#666\",fontStyle:\"italic\"},children:\"No input needed - checks if field has value\"});}return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .cms-filter-input.${uniqueClassName} {               \n  ${(()=>{if(typeof filterInputStyles?.border===\"string\"){return`border: ${filterInputStyles.border};`;}else if(filterInputStyles?.border){const border=filterInputStyles.border;return`\n        ${border.borderWidth!==undefined?`border-width: ${border.borderWidth}px;`:\"\"}\n        ${border.borderTopWidth!==undefined?`border-top-width: ${border.borderTopWidth}px;`:\"\"}\n        ${border.borderBottomWidth!==undefined?`border-bottom-width: ${border.borderBottomWidth}px;`:\"\"}\n        ${border.borderLeftWidth!==undefined?`border-left-width: ${border.borderLeftWidth}px;`:\"\"}\n        ${border.borderRightWidth!==undefined?`border-right-width: ${border.borderRightWidth}px;`:\"\"}\n        ${border.borderStyle?`border-style: ${border.borderStyle};`:\"border-style: solid;\"}\n        ${border.borderColor?`border-color: ${border.borderColor};`:\"border-color: #dee2e6;\"}\n      `;}else{return\"border: none;\";}})()}\n                    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;\n                }\n                .cms-filter-input.${uniqueClassName}:hover:not(:focus) {\n                    border-color: ${filterInputStyles?.hoverBorderColor||filterInputStyles?.selectedBorderColor||\"#007AFF\"} !important;\n                    background-color: ${filterInputStyles?.hoverBackgroundColor||\"#f8f9fa\"} !important;\n                    color: ${filterInputStyles?.hoverTextColor||filterInputStyles?.color||\"#333\"} !important;\n                }\n                .cms-filter-input.${uniqueClassName}:focus {\n                    border-color: ${filterInputStyles?.selectedBorderColor||\"#007AFF\"} !important;\n                    background-color: ${filterInputStyles?.selectedBackgroundColor||\"#fff\"} !important;\n                    color: ${filterInputStyles?.selectedTextColor||\"#333\"} !important;\n                }\n            `}),/*#__PURE__*/_jsx(\"input\",{className:`${uniqueClassName} cms-filter-input`,type:\"number\",placeholder:`Enter ${config.title.toLowerCase()}...`,value:value||\"\",onChange:e=>{const stringValue=e.target.value.trim();if(stringValue===\"\"){onChange(\"\");}else{const numValue=parseFloat(stringValue);onChange(isNaN(numValue)?\"\":numValue);}},style:{padding:\"8px 12px\",borderRadius:4,fontSize:14,outline:\"none\",width:\"100%\",lineHeight:1.2,...filterInputStyles,fontFamily:filterInputStyles?.font?.fontFamily||undefined,fontWeight:filterInputStyles?.font?.fontWeight??undefined,fontStyle:filterInputStyles?.font?.fontStyle??undefined}})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"NumberFilter\":{\"type\":\"reactComponent\",\"name\":\"NumberFilter\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// SelectFilter component for div-based custom dropdowns\n// Extracted from DropdownFilter.tsx for better maintainability\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{getActiveMatch,getOptionData}from\"https://framerusercontent.com/modules/gpP9NQZkGM08zua7fzDA/qCIZ0MmU0r7JnBfK0IXC/filter_utils.js\";import{useState,useRef,useEffect}from\"react\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export function SelectFilter({config,value,onChange,debugLevel,filterSelectStyles,uniqueClassName}){const[isOpen,setIsOpen]=useState(false);const dropdownRef=useRef(null);const activeMatch=getActiveMatch(config);// Close dropdown when clicking outside\nuseEffect(()=>{const handleClickOutside=event=>{if(dropdownRef.current&&!dropdownRef.current.contains(event.target)){setIsOpen(false);}};if(isOpen){document.addEventListener(\"mousedown\",handleClickOutside);}return()=>{document.removeEventListener(\"mousedown\",handleClickOutside);};},[isOpen]);// No input needed for is_set/is_not_set operators\nif(activeMatch===\"is_set\"||activeMatch===\"is_not_set\"){return /*#__PURE__*/_jsx(\"div\",{style:{padding:8,fontSize:12,color:\"#666\",fontStyle:\"italic\"},children:\"No input needed - checks if field has value\"});}const{values,titles}=getOptionData(config);if(values.length===0){return /*#__PURE__*/_jsx(\"div\",{style:{padding:8,fontSize:12,color:\"#dc3545\",fontStyle:\"italic\",backgroundColor:\"#f8d7da\",borderRadius:4},children:\"No options configured. Please add options to the filter configuration.\"});}if(config.allowMultiple){const selectedValues=Array.isArray(value)?value:[];const toggleOption=optionValue=>{const newSelected=selectedValues.includes(optionValue)?selectedValues.filter(v=>v!==optionValue):[...selectedValues,optionValue];onChange(newSelected);};const getDisplayText=()=>{if(selectedValues.length===0)return`Select ${config.title}...`;if(selectedValues.length===1){const idx=values.indexOf(selectedValues[0]);return titles[idx]||selectedValues[0];}return`${selectedValues.length} selected`;};const selectControls=filterSelectStyles?.selectControls||{};const optionControls=filterSelectStyles?.optionControls||{};return /*#__PURE__*/_jsxs(\"div\",{ref:dropdownRef,style:{position:\"relative\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                    .dropdown-trigger.${uniqueClassName} {\n                        padding: ${selectControls?.padding||\"8px 12px\"};\n                        border-radius: ${selectControls?.borderRadius||\"4\"};\n                        font-size: ${selectControls?.fontSize||\"13\"}px;\n                        background-color: ${selectControls?.backgroundColor||\"#fff\"};\n                        color: ${selectControls?.color||\"#333\"};\n                    ${(()=>{if(typeof selectControls?.border===\"string\"){return`border: ${selectControls.border};`;}else if(selectControls?.border){const border=selectControls.border;return`\n        ${border.borderWidth!==undefined?`border-width: ${border.borderWidth}px;`:\"\"}\n        ${border.borderTopWidth!==undefined?`border-top-width: ${border.borderTopWidth}px;`:\"\"}\n        ${border.borderBottomWidth!==undefined?`border-bottom-width: ${border.borderBottomWidth}px;`:\"\"}\n        ${border.borderLeftWidth!==undefined?`border-left-width: ${border.borderLeftWidth}px;`:\"\"}\n        ${border.borderRightWidth!==undefined?`border-right-width: ${border.borderRightWidth}px;`:\"\"}\n        ${border.borderStyle?`border-style: ${border.borderStyle};`:\"border-style: solid;\"}\n        ${border.borderColor?`border-color: ${border.borderColor};`:\"border-color: #dee2e6;\"}\n      `;}else{return\"border: none;\";}})()}\n                        transition: border-color 0.2s ease, background-color 0.2s ease;\n                        cursor: pointer;\n                    }\n                    .dropdown-trigger.${uniqueClassName}:hover {\n                        border-color: ${selectControls?.hoverBorderColor||\"#007AFF\"};\n                        background-color: ${selectControls?.hoverBackgroundColor||\"#f8f9fa\"};\n                        color: ${selectControls?.hoverTextColor||\"#007AFF\"};\n                    }\n                    .dropdown-trigger.${uniqueClassName}.open {\n                        border-color: ${selectControls?.selectedBorderColor||\"#007AFF\"};\n                        background-color: ${selectControls?.selectedBackgroundColor||\"#007AFF\"};\n                        color: ${selectControls?.selectedTextColor||\"#fff\"};\n                    }\n                    .dropdown-options.${uniqueClassName} {\n                        margin-top: ${selectControls?.marginTop||\"4\"}px;\n                        padding: ${optionControls?.dropdownPadding||\"0px\"};\n                        background-color: ${optionControls?.dropdownBackgroundColor||\"#fff\"};\n                        ${(()=>{if(typeof optionControls?.dropdownBorder===\"string\"){return`border: ${optionControls.dropdownBorder};`;}else if(optionControls?.dropdownBorder){const border=optionControls.dropdownBorder;return`\n            ${border.borderWidth!==undefined?`border-width: ${border.borderWidth}px;`:\"\"}\n            ${border.borderTopWidth!==undefined?`border-top-width: ${border.borderTopWidth}px;`:\"\"}\n            ${border.borderBottomWidth!==undefined?`border-bottom-width: ${border.borderBottomWidth}px;`:\"\"}\n            ${border.borderLeftWidth!==undefined?`border-left-width: ${border.borderLeftWidth}px;`:\"\"}\n            ${border.borderRightWidth!==undefined?`border-right-width: ${border.borderRightWidth}px;`:\"\"}\n            ${border.borderStyle?`border-style: ${border.borderStyle};`:\"border-style: solid;\"}\n            ${border.borderColor?`border-color: ${border.borderColor};`:\"border-color: #dee2e6;\"}\n        `;}else{return\"border: none;\";}})()}\n                        border-radius: ${optionControls?.dropdownBorderRadius||\"0px\"};\n                        max-height: ${optionControls?.maxHeight||\"200\"}px;\n                        overflow-y: auto;\n                        z-index: 1000;\n                        box-shadow: 0 2px 8px rgba(0,0,0,0.15);\n                    }\n                    .dropdown-option.${uniqueClassName} {\n                        font-family: ${optionControls?.optionFont?.fontFamily||\"\"};\n                        font-weight: ${optionControls?.optionFont?.fontWeight||\"normal\"};\n                        font-style: ${optionControls?.optionFont?.fontStyle||\"normal\"};\n                        font-size: ${optionControls?.optionFontSize||\"14px\"};\n                        padding: ${optionControls?.optionPadding||\"8px 12px\"};\n                        margin: ${optionControls?.optionMargin||\"0\"};\n                        background-color: ${optionControls?.optionBackgroundColor||\"#fff\"};\n                        color: ${optionControls?.optionColor||\"#333\"};\n                    ${(()=>{if(typeof optionControls?.optionBorder===\"string\"){return`border: ${optionControls.optionBorder};`;}else if(optionControls?.optionBorder){const border=optionControls.optionBorder;return`\n        ${border.borderWidth!==undefined?`border-width: ${border.borderWidth}px;`:\"\"}\n        ${border.borderTopWidth!==undefined?`border-top-width: ${border.borderTopWidth}px;`:\"\"}\n        ${border.borderBottomWidth!==undefined?`border-bottom-width: ${border.borderBottomWidth}px;`:\"\"}\n        ${border.borderLeftWidth!==undefined?`border-left-width: ${border.borderLeftWidth}px;`:\"\"}\n        ${border.borderRightWidth!==undefined?`border-right-width: ${border.borderRightWidth}px;`:\"\"}\n        ${border.borderStyle?`border-style: ${border.borderStyle};`:\"border-style: solid;\"}\n        ${border.borderColor?`border-color: ${border.borderColor};`:\"border-color: #dee2e6;\"}\n      `;}else{return\"border: none;\";}})()}\n                        border-radius: ${optionControls?.optionBorderRadius||\"3\"}px;\n                        transition: background-color 0.15s ease;\n                        cursor: pointer;\n                    }\n                    .dropdown-option.${uniqueClassName}:hover {\n                        background-color: ${optionControls?.optionHoverBackgroundColor||\"#f8f9fa\"};\n                        color: ${optionControls?.optionHoverTextColor||\"#333\"};\n                        border-color: ${optionControls?.optionHoverBorderColor||\"#dee2e6\"};\n                    }\n                    .dropdown-option.${uniqueClassName}.selected {\n                        background-color: ${optionControls?.optionSelectedBackgroundColor||\"#007AFF\"};\n                        border-color: ${optionControls?.optionSelectedBorderColor||\"#007AFF\"};\n                        color: ${optionControls?.optionSelectedTextColor||\"#fff\"};\n                    }\n                `}),/*#__PURE__*/_jsxs(\"div\",{className:`dropdown-trigger ${uniqueClassName} ${isOpen?\"open\":\"\"}`,onClick:()=>setIsOpen(!isOpen),style:{width:\"100%\",fontFamily:selectControls?.font?.fontFamily||undefined,fontWeight:selectControls?.font?.fontWeight??undefined,fontStyle:selectControls?.font?.fontStyle??undefined},children:[/*#__PURE__*/_jsx(\"span\",{style:{color:selectedValues.length===0?\"#999\":\"inherit\"},children:getDisplayText()}),/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:selectControls?.arrowSize??16,height:selectControls?.arrowSize??16,viewBox:\"0 0 24 24\",fill:\"none\",style:{position:\"absolute\",right:selectControls?.arrowPosition??8,top:\"50%\",transform:`translateY(-50%) rotate(${isOpen?\"180deg\":\"0deg\"})`,transition:\"transform 0.2s ease\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M7 10l5 5 5-5\",fill:\"none\",stroke:selectControls?.arrowColor||\"currentColor\",strokeWidth:\"2\"})})]}),isOpen&&/*#__PURE__*/_jsx(\"div\",{className:`dropdown-options ${uniqueClassName}`,children:values.map((optionValue,idx)=>/*#__PURE__*/_jsxs(\"div\",{className:`dropdown-option ${uniqueClassName} ${selectedValues.includes(optionValue)?\"selected\":\"\"}`,onClick:()=>toggleOption(optionValue),children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",checked:selectedValues.includes(optionValue),onChange:()=>{},style:{margin:0,cursor:\"pointer\"}}),/*#__PURE__*/_jsx(\"span\",{children:titles[idx]})]},idx))})]});}else{// Single selection\nconst selectedIdx=values.indexOf(value);const displayText=selectedIdx>=0?titles[selectedIdx]:`Select ${config.title}...`;const selectControls=filterSelectStyles?.selectControls||{};const optionControls=filterSelectStyles?.optionControls||{};return /*#__PURE__*/_jsxs(\"div\",{ref:dropdownRef,style:{position:\"relative\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                    .dropdown-trigger-single.${uniqueClassName} {\n                        padding: ${selectControls?.padding||\"8px 12px\"};\n                        border-radius: ${selectControls?.borderRadius||\"4\"};\n                        font-size: ${selectControls?.fontSize||\"13\"}px;\n                        background-color: ${selectControls?.backgroundColor||\"#fff\"};\n                        color: ${selectControls?.color||\"#333\"};\n                    ${(()=>{if(typeof selectControls?.border===\"string\"){return`border: ${selectControls.border};`;}else if(selectControls?.border){const border=selectControls.border;return`\n        ${border.borderWidth!==undefined?`border-width: ${border.borderWidth}px;`:\"\"}\n        ${border.borderTopWidth!==undefined?`border-top-width: ${border.borderTopWidth}px;`:\"\"}\n        ${border.borderBottomWidth!==undefined?`border-bottom-width: ${border.borderBottomWidth}px;`:\"\"}\n        ${border.borderLeftWidth!==undefined?`border-left-width: ${border.borderLeftWidth}px;`:\"\"}\n        ${border.borderRightWidth!==undefined?`border-right-width: ${border.borderRightWidth}px;`:\"\"}\n        ${border.borderStyle?`border-style: ${border.borderStyle};`:\"border-style: solid;\"}\n        ${border.borderColor?`border-color: ${border.borderColor};`:\"border-color: #dee2e6;\"}\n      `;}else{return\"border: none;\";}})()}\n                        transition: border-color 0.2s ease, background-color 0.2s ease;\n                        cursor: pointer;\n                    }\n                    .dropdown-trigger-single.${uniqueClassName}:hover {\n                        border-color: ${selectControls?.hoverBorderColor||\"#007AFF\"};\n                        background-color: ${selectControls?.hoverBackgroundColor||\"#f8f9fa\"};\n                        color: ${selectControls?.hoverTextColor||\"#007AFF\"};\n                    }\n                    .dropdown-trigger-single.${uniqueClassName}.open {\n                        border-color: ${selectControls?.selectedBorderColor||\"#007AFF\"};\n                        background-color: ${selectControls?.selectedBackgroundColor||\"#007AFF\"};\n                        color: ${selectControls?.selectedTextColor||\"#fff\"};\n                    }\n                    .dropdown-options.${uniqueClassName} {\n                        margin-top: ${selectControls?.marginTop||\"4\"}px;\n                        padding: ${optionControls?.dropdownPadding||\"0px\"};\n                        background-color: ${optionControls?.dropdownBackgroundColor||\"#fff\"};\n                        ${(()=>{if(typeof optionControls?.dropdownBorder===\"string\"){return`border: ${optionControls.dropdownBorder};`;}else if(optionControls?.dropdownBorder){const border=optionControls.dropdownBorder;return`\n            ${border.borderWidth!==undefined?`border-width: ${border.borderWidth}px;`:\"\"}\n            ${border.borderTopWidth!==undefined?`border-top-width: ${border.borderTopWidth}px;`:\"\"}\n            ${border.borderBottomWidth!==undefined?`border-bottom-width: ${border.borderBottomWidth}px;`:\"\"}\n            ${border.borderLeftWidth!==undefined?`border-left-width: ${border.borderLeftWidth}px;`:\"\"}\n            ${border.borderRightWidth!==undefined?`border-right-width: ${border.borderRightWidth}px;`:\"\"}\n            ${border.borderStyle?`border-style: ${border.borderStyle};`:\"border-style: solid;\"}\n            ${border.borderColor?`border-color: ${border.borderColor};`:\"border-color: #dee2e6;\"}\n        `;}else{return\"border: none;\";}})()}\n                        border-radius: ${optionControls?.dropdownBorderRadius||\"0px\"};\n                        max-height: ${optionControls?.maxHeight||\"200\"}px;\n                        overflow-y: auto;\n                        z-index: 1000;\n                        box-shadow: 0 2px 8px rgba(0,0,0,0.15);\n                    }\n                    .dropdown-option-single.${uniqueClassName} {\n                        font-family: ${optionControls?.optionFont?.fontFamily||\"\"};\n                        font-weight: ${optionControls?.optionFont?.fontWeight||\"normal\"};\n                        font-style: ${optionControls?.optionFont?.fontStyle||\"normal\"};\n                        font-size: ${optionControls?.optionFontSize||\"14\"}px;\n                        padding: ${optionControls?.optionPadding||\"8px 12px\"};\n                        margin: ${optionControls?.optionMargin||\"0\"};\n                        background-color: ${optionControls?.backgroundColor||\"#fff\"};\n                        color: ${optionControls?.color||\"#333\"};\n                        ${(()=>{if(typeof optionControls?.optionBorder===\"string\"){return`border: ${optionControls.optionBorder};`;}else if(optionControls?.optionBorder){const border=optionControls.optionBorder;return`\n        ${border.borderWidth!==undefined?`border-width: ${border.borderWidth}px;`:\"\"}\n        ${border.borderTopWidth!==undefined?`border-top-width: ${border.borderTopWidth}px;`:\"\"}\n        ${border.borderBottomWidth!==undefined?`border-bottom-width: ${border.borderBottomWidth}px;`:\"\"}\n        ${border.borderLeftWidth!==undefined?`border-left-width: ${border.borderLeftWidth}px;`:\"\"}\n        ${border.borderRightWidth!==undefined?`border-right-width: ${border.borderRightWidth}px;`:\"\"}\n        ${border.borderStyle?`border-style: ${border.borderStyle};`:\"border-style: solid;\"}\n        ${border.borderColor?`border-color: ${border.borderColor};`:\"border-color: #dee2e6;\"}\n      `;}else{return\"border: none;\";}})()}\n                        border-radius: ${optionControls?.optionBorderRadius||\"3\"};\n                        transition: background-color 0.15s ease;\n                        cursor: pointer;\n                    }\n                    .dropdown-option-single.${uniqueClassName}:hover {\n                        background-color: ${optionControls?.optionHoverBackgroundColor||\"#f8f9fa\"};\n                        color: ${optionControls?.optionHoverTextColor||\"#333\"};\n                        border-color: ${optionControls?.optionHoverBorderColor||\"#007AFF\"};\n                    }\n                    .dropdown-option-single.${uniqueClassName}.selected {\n                        background-color: ${optionControls?.optionSelectedBackgroundColor||\"#007AFF\"};\n                        border-color: ${optionControls?.optionSelectedBorderColor||\"#007AFF\"};\n                        color: ${optionControls?.optionSelectedTextColor||\"#fff\"};\n                    }\n                `}),/*#__PURE__*/_jsxs(\"div\",{className:`dropdown-trigger-single ${uniqueClassName} ${isOpen?\"open\":\"\"}`,onClick:()=>setIsOpen(!isOpen),style:{width:\"100%\",fontFamily:selectControls?.font?.fontFamily||undefined,fontWeight:selectControls?.font?.fontWeight??undefined,fontStyle:selectControls?.font?.fontStyle??undefined},children:[/*#__PURE__*/_jsx(\"span\",{children:displayText}),/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:selectControls?.arrowSize??16,height:selectControls?.arrowSize??16,viewBox:\"0 0 24 24\",fill:\"none\",style:{position:\"absolute\",right:selectControls?.arrowPosition??8,top:\"50%\",transform:`translateY(-50%) rotate(${isOpen?\"180deg\":\"0deg\"})`,transition:\"transform 0.2s ease\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M7 10l5 5 5-5\",fill:\"none\",stroke:selectControls?.arrowColor||\"currentColor\",strokeWidth:\"2\"})})]}),isOpen&&/*#__PURE__*/_jsxs(\"div\",{className:`dropdown-options ${uniqueClassName}`,children:[/*#__PURE__*/_jsxs(\"div\",{className:`dropdown-option-single ${uniqueClassName} ${!value?\"selected\":\"\"}`,onClick:()=>{onChange(\"\");setIsOpen(false);},children:[\"Select \",config.title,\"...\"]}),values.map((optionValue,idx)=>/*#__PURE__*/_jsx(\"div\",{className:`dropdown-option-single ${uniqueClassName} ${value===optionValue?\"selected\":\"\"}`,onClick:()=>{onChange(optionValue);setIsOpen(false);},children:titles[idx]},idx))]})]});}}\nexport const __FramerMetadata__ = {\"exports\":{\"SelectFilter\":{\"type\":\"reactComponent\",\"name\":\"SelectFilter\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SelectFilter.map","// TagFilter component for tag-style selection\n// Extracted from DropdownFilter.tsx for better maintainability\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{getActiveMatch,getOptionData}from\"https://framerusercontent.com/modules/gpP9NQZkGM08zua7fzDA/qCIZ0MmU0r7JnBfK0IXC/filter_utils.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export function TagFilter({config,value,onChange,debugLevel,filterPillStyles,uniqueClassName}){const activeMatch=getActiveMatch(config);// No input needed for is_set/is_not_set operators\nif(activeMatch===\"is_set\"||activeMatch===\"is_not_set\"){return /*#__PURE__*/_jsx(\"div\",{style:{padding:8,fontSize:12,color:\"#666\",fontStyle:\"italic\"},children:\"No input needed - checks if field has value\"});}const{values,titles,optionMap}=getOptionData(config);if(values.length===0){return /*#__PURE__*/_jsx(\"div\",{style:{padding:8,fontSize:12,color:\"#dc3545\",fontStyle:\"italic\",backgroundColor:\"#f8d7da\",borderRadius:4},children:\"No options configured. Please add options to the filter configuration.\"});}const selectedValues=Array.isArray(value)?value:value?[value]:[];const isAllSelected=config.allowMultiple?selectedValues.length===0:!value;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .tag-filter.${uniqueClassName} {\n                    padding: 6px 12px;\n                    border-radius: 4px;\n                    font-size: 14px;\n                    cursor: pointer;\n                    transition: all 0.2s ease;\n                    background-color: ${filterPillStyles?.backgroundColor||\"#fff\"};\n                    color: ${filterPillStyles?.color||\"#333\"};\n  ${(()=>{if(typeof filterPillStyles?.border===\"string\"){return`border: ${filterPillStyles.border};`;}else if(filterPillStyles?.border){const border=filterPillStyles.border;return`\n        ${border.borderWidth!==undefined?`border-width: ${border.borderWidth}px;`:\"\"}\n        ${border.borderTopWidth!==undefined?`border-top-width: ${border.borderTopWidth}px;`:\"\"}\n        ${border.borderBottomWidth!==undefined?`border-bottom-width: ${border.borderBottomWidth}px;`:\"\"}\n        ${border.borderLeftWidth!==undefined?`border-left-width: ${border.borderLeftWidth}px;`:\"\"}\n        ${border.borderRightWidth!==undefined?`border-right-width: ${border.borderRightWidth}px;`:\"\"}\n        ${border.borderStyle?`border-style: ${border.borderStyle};`:\"border-style: solid;\"}\n        ${border.borderColor?`border-color: ${border.borderColor};`:\"border-color: #dee2e6;\"}\n      `;}else{return\"border: none;\";}})()}\n                }\n                .tag-filter.${uniqueClassName}:hover {\n                    color: ${filterPillStyles?.hoverTextColor||\"#fff\"} !important;\n                    border-color: ${filterPillStyles?.hoverBorderColor||\"#007AFF\"} !important;\n                    background-color: ${filterPillStyles?.hoverBackgroundColor||\"#f8f9fa\"} !important;\n                }\n                .tag-filter.${uniqueClassName}.selected {\n                    background-color: ${filterPillStyles?.selectedBackgroundColor||\"#007AFF\"} !important;\n                    color: ${filterPillStyles?.selectedTextColor||\"#fff\"} !important;\n                    border-color: ${filterPillStyles?.selectedBorderColor||\"#007AFF\"} !important;\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap:filterPillStyles?.gap||8},children:[config.showAllOption&&/*#__PURE__*/_jsx(\"div\",{className:`tag-filter ${uniqueClassName} ${isAllSelected?\"selected\":\"\"}`,style:{...filterPillStyles},onClick:()=>{// \"All\" should not be deselectable - only select it if not already selected\nif(!isAllSelected){onChange(config.allowMultiple?[]:\"\");}},children:config.allOptionLabel||`All ${config.title}`}),values.map((optionValue,idx)=>{const optionTitle=titles[idx];const isSelected=selectedValues.includes(optionValue);return /*#__PURE__*/_jsx(\"div\",{className:`tag-filter ${uniqueClassName} ${isSelected?\"selected\":\"\"}`,style:{...filterPillStyles},onClick:()=>{if(config.allowMultiple){if(isSelected){onChange(selectedValues.filter(v=>v!==optionValue));}else{onChange([...selectedValues,optionValue]);}}else{// Single select - respect allowDeselect setting\nonChange(isSelected&&(config.allowDeselect??true)?\"\":optionValue);}},children:optionTitle},idx);})]}),(debugLevel===\"ui_helpers\"||debugLevel===\"full_debug\")&&selectedValues.length>0&&/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:11,color:\"#007AFF\",padding:\"6px 10px\",backgroundColor:\"#f0f8ff\",borderRadius:4,border:\"1px solid #b3d9ff\"},children:[/*#__PURE__*/_jsx(\"strong\",{children:selectedValues.length}),\" selected:\",\" \",selectedValues.map(val=>optionMap.get(val)||val).join(\", \")]})]})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"TagFilter\":{\"type\":\"reactComponent\",\"name\":\"TagFilter\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TagFilter.map","// CheckboxFilter component - Checkbox style for manual dropdown options\n// Based on CMSEnumFilter checkbox implementation\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export function CheckboxFilter({config,value,onChange,debugLevel,filterCheckboxStyles,uniqueClassName}){const selected=config.allowMultiple?value||[]:value||\"\";const options=config.options||[];return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n            .cms-checkbox-filter {\n                background-color: ${filterCheckboxStyles.backgroundColor};\n                ${(()=>{if(typeof filterCheckboxStyles?.border===\"string\"){return`border: ${filterCheckboxStyles.border};`;}else if(filterCheckboxStyles?.border){const border=filterCheckboxStyles.border;return`\n    ${border.borderWidth!==undefined?`border-width: ${border.borderWidth}px;`:\"\"}\n    ${border.borderTopWidth!==undefined?`border-top-width: ${border.borderTopWidth}px;`:\"\"}\n    ${border.borderBottomWidth!==undefined?`border-bottom-width: ${border.borderBottomWidth}px;`:\"\"}\n    ${border.borderLeftWidth!==undefined?`border-left-width: ${border.borderLeftWidth}px;`:\"\"}\n    ${border.borderRightWidth!==undefined?`border-right-width: ${border.borderRightWidth}px;`:\"\"}\n    ${border.borderStyle?`border-style: ${border.borderStyle};`:\"border-style: solid;\"}\n    ${border.borderColor?`border-color: ${border.borderColor};`:\"border-color: #dee2e6;\"}\n  `;}else{return\"border: none;\";}})()}\n                padding: ${filterCheckboxStyles.padding||\"8px 0px 8px 0px\"};\n                border-radius: ${filterCheckboxStyles.borderRadius};\n            }\n            .cms-checkbox-filter:hover {\n                background-color: ${filterCheckboxStyles.hoverBackgroundColor};\n                border-color: ${filterCheckboxStyles.hoverBorderColor};\n            }\n            .cms-checkbox-filter.cms-checkbox-filter-selected {\n                background-color: ${filterCheckboxStyles.activeBackgroundColor};\n                border-color: ${filterCheckboxStyles.activeBorderColor};\n            }\n        `}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:filterCheckboxStyles.gap||6},children:[config.showAllOption&&(()=>{// \"All\" should not be deselectable - only select it if not already selected\nconst isAllSelected=config.allowMultiple?Array.isArray(selected)&&selected.length===0:selected===\"\";return /*#__PURE__*/_jsxs(\"div\",{onClick:()=>{if(!isAllSelected){onChange(config.allowMultiple?[]:\"\");}},className:isAllSelected?\"cms-checkbox-filter cms-checkbox-filter-selected\":\"cms-checkbox-filter\",style:{display:\"flex\",alignItems:\"center\",gap:filterCheckboxStyles.checkboxGap||10,cursor:\"pointer\",transition:\"all 0.2s ease\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",...filterCheckboxStyles.checkboxBorder,borderColor:isAllSelected?filterCheckboxStyles.selectedBorderColor:filterCheckboxStyles.checkboxBorder.borderColor,borderRadius:filterCheckboxStyles.checkboxBorderRadius,backgroundColor:isAllSelected?filterCheckboxStyles.selectedBackgroundColor:filterCheckboxStyles.checkboxBackgroundColor,color:isAllSelected?filterCheckboxStyles.selectedTextColor:filterCheckboxStyles.color,transition:\"all 0.2s ease\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,width:filterCheckboxStyles.scale||18,height:filterCheckboxStyles.scale||18},children:isAllSelected&&/*#__PURE__*/_jsx(\"svg\",{width:(filterCheckboxStyles.scale||18)!=18?\"70%\":\"12px\",height:(filterCheckboxStyles.scale||18)!=18?\"70%\":\"12px\",viewBox:\"0 0 24 24\",fill:\"none\",style:{color:filterCheckboxStyles.selectedSvgColor},children:/*#__PURE__*/_jsx(\"path\",{d:\"M20 6L9 17L4 12\",stroke:\"currentColor\",strokeWidth:\"2.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:filterCheckboxStyles?.font?.fontFamily||undefined,fontWeight:filterCheckboxStyles?.font?.fontWeight??undefined,fontStyle:filterCheckboxStyles?.font?.fontStyle??undefined,fontSize:filterCheckboxStyles.fontSize,transition:\"color 0.2s ease\",color:isAllSelected?filterCheckboxStyles.selectedTextColor:filterCheckboxStyles.color},children:config.allOptionLabel||`All ${config.title}`})]});})(),options.map((option,idx)=>{const optionValue=option.value||option.title;const optionTitle=option.title||option.value;const isSelected=config.allowMultiple?Array.isArray(selected)&&selected.includes(optionValue):selected===optionValue;return /*#__PURE__*/_jsxs(\"div\",{onClick:()=>{if(config.allowMultiple){const current=Array.isArray(selected)?[...selected]:[];if(isSelected){onChange(current.filter(v=>v!==optionValue));}else{current.push(optionValue);onChange(current);}}else{onChange(isSelected&&(config.allowDeselect??true)?\"\":optionValue);}},className:isSelected?\"cms-checkbox-filter cms-checkbox-filter-selected\":\"cms-checkbox-filter\",style:{display:\"flex\",alignItems:\"center\",gap:filterCheckboxStyles.checkboxGap||10,cursor:\"pointer\",transition:\"all 0.2s ease\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",...filterCheckboxStyles.checkboxBorder,borderColor:isSelected?filterCheckboxStyles.selectedBorderColor:filterCheckboxStyles.checkboxBorder.borderColor,borderRadius:filterCheckboxStyles.checkboxBorderRadius,backgroundColor:isSelected?filterCheckboxStyles.selectedBackgroundColor:filterCheckboxStyles.checkboxBackgroundColor,color:isSelected?filterCheckboxStyles.selectedTextColor:filterCheckboxStyles.color,transition:\"all 0.2s ease\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,width:filterCheckboxStyles.scale||18,height:filterCheckboxStyles.scale||18},children:isSelected&&/*#__PURE__*/_jsx(\"svg\",{width:(filterCheckboxStyles.scale||18)!=18?\"70%\":\"12px\",height:(filterCheckboxStyles.scale||18)!=18?\"70%\":\"12px\",viewBox:\"0 0 24 24\",fill:\"none\",style:{color:isSelected?filterCheckboxStyles.selectedSvgColor:\"\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M20 6L9 17L4 12\",stroke:\"currentColor\",strokeWidth:\"2.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:filterCheckboxStyles?.font?.fontFamily||undefined,fontWeight:filterCheckboxStyles?.font?.fontWeight??undefined,fontStyle:filterCheckboxStyles?.font?.fontStyle??undefined,fontSize:filterCheckboxStyles.fontSize,transition:\"color 0.2s ease\",color:isSelected?filterCheckboxStyles.selectedTextColor:filterCheckboxStyles.color},children:optionTitle})]},idx);}),(debugLevel===\"ui_helpers\"||debugLevel===\"full_debug\")&&/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:11,color:\"#666\",marginTop:4},children:[\"Selected:\",\" \",Array.isArray(selected)?selected.join(\", \"):selected]})]})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"CheckboxFilter\":{\"type\":\"reactComponent\",\"name\":\"CheckboxFilter\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CheckboxFilter.map","// DropdownFilter component - Clean router for different dropdown styles\n// Separated into specialized components for better maintainability\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{SelectFilter}from\"https://framerusercontent.com/modules/rhjV7CBikISubRqt2bpe/0dxann4JTQBj1vu4TpoJ/SelectFilter.js\";import{TagFilter}from\"https://framerusercontent.com/modules/yoPENdwUHgW0xBoBrcKB/fK5gNnXfExdiXEU2TFLG/TagFilter.js\";import{CheckboxFilter}from\"https://framerusercontent.com/modules/ktAWutRRdcvtUBylxWdw/1Anb1bXksLega5vBpgYT/CheckboxFilter.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export function DropdownFilter({config,value,onChange,debugLevel,filterSelectStyles,filterPillStyles,filterCheckboxStyles,uniqueClassName}){// Route to appropriate component based on multiStyle\n// Handle different styles (works for both single and multiple selection)\nif(config.multiStyle===\"checkboxes\"){return /*#__PURE__*/_jsx(CheckboxFilter,{config:config,value:value,onChange:onChange,debugLevel:debugLevel,filterCheckboxStyles:filterCheckboxStyles,uniqueClassName:uniqueClassName});}if(config.multiStyle===\"tags\"){return /*#__PURE__*/_jsx(TagFilter,{config:config,value:value,onChange:onChange,debugLevel:debugLevel,filterPillStyles:filterPillStyles,uniqueClassName:uniqueClassName});}if(config.multiStyle===\"select\"){return /*#__PURE__*/_jsx(SelectFilter,{config:config,value:value,onChange:onChange,debugLevel:debugLevel,filterSelectStyles:filterSelectStyles,uniqueClassName:uniqueClassName});}}\nexport const __FramerMetadata__ = {\"exports\":{\"DropdownFilter\":{\"type\":\"reactComponent\",\"name\":\"DropdownFilter\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// DoubleRangeSlider component for CMS Filter system\n// Extracted from CMSFilters.tsx for better modularity\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useEffect,useRef}from\"react\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export function DoubleRangeSlider({config,minRangeValueGap=1,trackColor=\"#dddddd\",rangeColor=\"#007AFF\",thumbColor=\"#fff\",thumbBorderColor=\"#007AFF\",bubbleColor=\"#007AFF\",bubbleTextColor=\"#ffffff\",padding=0,borderRadius=20,backgroundColor=\"#ffffff\",// New font controls for bubble labels\nfont,fontSize,value,onRangeChange}){const min=config?.min||0;const max=config?.max||100;const step=config?.step||1;const unit=config?.unit||\"\";// Don't provide defaults when value is null/undefined - let it stay cleared\nconst initialMin=value!==null&&value!==undefined?value.min??min:min;const initialMax=value!==null&&value!==undefined?value.max??max:max;const[minRange,setMinRange]=useState(initialMin);const[maxRange,setMaxRange]=useState(initialMax);const isSyncingRef=useRef(false);const lastEmittedRef=useRef({min:initialMin,max:initialMax});const rangeTrackRef=useRef(null);const minInputRef=useRef(null);const maxInputRef=useRef(null);// Sync internal state from external value only when changed\nuseEffect(()=>{// When filter is cleared (value is null/undefined), reset to config defaults\nif(value===null||value===undefined){const changed=minRange!==min||maxRange!==max;if(changed){isSyncingRef.current=true;setMinRange(min);setMaxRange(max);// Update lastEmittedRef so the second useEffect doesn't re-emit\nlastEmittedRef.current={min,max};}return;}// Otherwise sync with provided value\nconst nextMin=value.min??min;const nextMax=value.max??max;const changed=nextMin!==minRange||nextMax!==maxRange;if(changed){isSyncingRef.current=true;setMinRange(nextMin);setMaxRange(nextMax);// Update lastEmittedRef to prevent re-emission\nlastEmittedRef.current={min:nextMin,max:nextMax};}// eslint-disable-next-line react-hooks/exhaustive-deps\n},[value,min,max]);// Update range track and bubble positions when values change\nuseEffect(()=>{if(rangeTrackRef.current){const minPercentage=(minRange-min)/(max-min)*100;const maxPercentage=(maxRange-min)/(max-min)*100;rangeTrackRef.current.style.left=`${minPercentage}%`;rangeTrackRef.current.style.width=`${maxPercentage-minPercentage}%`;rangeTrackRef.current.style.right=\"auto\";}// Prevent feedback loops: skip emit when we are syncing from props\nif(isSyncingRef.current){isSyncingRef.current=false;return;}// Only emit when actually changed from last emitted values\nif(lastEmittedRef.current.min!==minRange||lastEmittedRef.current.max!==maxRange){lastEmittedRef.current={min:minRange,max:maxRange};onRangeChange?.(minRange,maxRange);}},[minRange,maxRange,min,max,onRangeChange]);const handleMinInput=e=>{const value=parseInt(e.target.value);const newValue=Math.min(value,maxRange-minRangeValueGap);setMinRange(newValue);};const handleMaxInput=e=>{const value=parseInt(e.target.value);const newValue=Math.max(value,minRange+minRangeValueGap);setMaxRange(newValue);};const handleTrackClick=e=>{const track=e.currentTarget;const rect=track.getBoundingClientRect();const clickX=e.clientX-rect.left;const clickPercentage=clickX/rect.width*100;// Calculate the value at click position\nconst clickValue=Math.round(min+clickPercentage/100*(max-min));// Determine which thumb to move based on which half was clicked\nif(clickPercentage<50){if(clickPercentage<50&&maxRange<50){return;}// Left half - move min slider\nconst newMin=Math.min(clickValue,maxRange-minRangeValueGap);const steppedMin=Math.round(newMin/step)*step;setMinRange(Math.max(min,steppedMin));}else{if(clickPercentage>50&&minRange>50){return;}// Right half - move max slider\nconst newMax=Math.max(clickValue,minRange+minRangeValueGap);const steppedMax=Math.round(newMax/step)*step;setMaxRange(Math.min(max,steppedMax));}};const minPercentage=(minRange-min)/(max-min)*100;const maxPercentage=(maxRange-min)/(max-min)*100;return /*#__PURE__*/_jsxs(\"div\",{className:\"double_range_slider_box\",style:{width:\"100%\",height:\"auto\",backgroundColor,borderRadius:`${borderRadius}px`,padding:`${padding}`},children:[/*#__PURE__*/_jsxs(\"div\",{className:\"double_range_slider\",onClick:handleTrackClick,children:[/*#__PURE__*/_jsx(\"span\",{className:\"range_track\",ref:rangeTrackRef,style:{backgroundColor:rangeColor}}),/*#__PURE__*/_jsx(\"input\",{ref:minInputRef,type:\"range\",className:\"min\",min:min,max:max,value:minRange,step:step,onChange:handleMinInput}),/*#__PURE__*/_jsx(\"input\",{ref:maxInputRef,type:\"range\",className:\"max\",min:min,max:max,value:maxRange,step:step,onChange:handleMaxInput}),/*#__PURE__*/_jsx(\"div\",{className:\"minvalue\",style:{backgroundColor:bubbleColor,color:bubbleTextColor,left:`${minPercentage}%`,transform:`translate(-${minPercentage}%, -150%)`,fontSize:fontSize,fontFamily:font?.fontFamily||undefined,fontWeight:font?.fontWeight??undefined,fontStyle:font?.fontStyle??undefined},children:minRange}),/*#__PURE__*/_jsx(\"div\",{className:\"maxvalue\",style:{backgroundColor:bubbleColor,color:bubbleTextColor,right:`${100-maxPercentage}%`,transform:`translate(${100-maxPercentage}%, -150%)`,fontSize:fontSize,fontFamily:font?.fontFamily||undefined,fontWeight:font?.fontWeight??undefined,fontStyle:font?.fontStyle??undefined},children:maxRange})]}),/*#__PURE__*/_jsx(\"style\",{children:`\n                .double_range_slider_box {\n                    position: relative;\n                    display: flex;\n                    justify-content: center;\n                    align-items: center;\n                }\n\n                .double_range_slider {\n                    width: 100%;\n                    height: 5px;\n                    position: relative;\n                    background-color: ${trackColor};\n                    border-radius: 20px;\n                    margin-top: 42px;\n                    cursor: pointer;\n                }\n\n                .double_range_slider .range_track {\n                    height: 100%;\n                    position: absolute;\n                    border-radius: 20px;\n                }\n\n                .double_range_slider input {\n                    position: absolute;\n                    width: 100%;\n                    height: 5px;\n                    background: none;\n                    pointer-events: none;\n                    -webkit-appearance: none;\n                    -moz-appearance: none;\n                    top: 50%;\n                    transform: translateY(-50%);\n                    outline: none;\n                    margin: 0;\n                }\n\n                .double_range_slider input::-webkit-slider-thumb {\n                    height: 20px;\n                    width: 20px;\n                    border-radius: 50%;\n                    border: 3px solid ${thumbBorderColor};\n                    background-color: ${thumbColor};\n                    pointer-events: auto;\n                    -webkit-appearance: none;\n                    cursor: pointer;\n                    margin-bottom: 1px;\n                }\n\n                .double_range_slider input::-moz-range-thumb {\n                    height: 18px;\n                    width: 18px;\n                    border-radius: 50%;\n                    border: 3px solid ${thumbBorderColor};\n                    background-color: ${thumbColor};\n                    pointer-events: auto;\n                    -moz-appearance: none;\n                    cursor: pointer;\n                    margin-top: 30%;\n                }\n\n                .double_range_slider .minvalue {\n                    position: absolute;\n                    padding: 6px 12px;\n                    border-radius: 1rem;\n                    top: 0;\n                    transform: translate(0%, -150%);\n                    white-space: nowrap;\n                    will-change: left, transform;\n                }\n\n                .double_range_slider .maxvalue {\n                    position: absolute;\n                    padding: 6px 12px;\n                    border-radius: 1rem;\n                    top: 0;\n                    transform: translate(0%, -150%);\n                    white-space: nowrap;\n                    will-change: right, transform;\n                }\n            `})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"DoubleRangeSlider\":{\"type\":\"reactComponent\",\"name\":\"DoubleRangeSlider\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DoubleRangeSlider.map","// RangeFilter component for CMS Filter system\n// Extracted from CMSFilters.tsx for better modularity\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{DoubleRangeSlider}from\"https://framerusercontent.com/modules/BNKPJXocDPceT63H0PHv/smWc6MXOXaOoUz1hNybU/DoubleRangeSlider.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export function RangeFilter({config,value,onChange,filterInputStyles,filterRangeStyles,uniqueClassName}){const min=config.min||0;const max=config.max||100;const step=config.step||1;const currentValue=value||{min:min,max:max};const unit=config.unit||\"\";// Use range slider if specified\nif(config.rangeStyle===\"range-slider\"){return /*#__PURE__*/_jsx(DoubleRangeSlider,{...filterRangeStyles,config:config,value:value,onRangeChange:(min,max)=>onChange({min,max})});}// Dual input style (default)\nreturn /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .cms-filter-input.${uniqueClassName} {\n                    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;\n                }\n                .cms-filter-input.${uniqueClassName}:hover:not(:focus) {\n                    border-color: ${filterInputStyles?.hoverBorderColor||filterInputStyles?.selectedBorderColor||\"#007AFF\"} !important;\n                    background-color: ${filterInputStyles?.hoverBackgroundColor||\"#f8f9fa\"} !important;\n                    color: ${filterInputStyles?.hoverTextColor||filterInputStyles?.color||\"#333\"} !important;\n                }\n                .cms-filter-input.${uniqueClassName}:focus {\n                    border-color: ${filterInputStyles?.selectedBorderColor||\"#007AFF\"} !important;\n                    background-color: ${filterInputStyles?.selectedBackgroundColor||\"#fff\"} !important;\n                    color: ${filterInputStyles?.selectedTextColor||\"#333\"} !important;\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:config.rangeInputOptions===\"left-right\"?\"row\":\"column\",justifyContent:config.rangeInputOptions===\"left-right\"?\"space-between\":\"space-around\",flexWrap:\"wrap\",gap:8},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:config.rangeInputOptions===\"left-right\"?\"flex-start\":\"center\",flexDirection:config.rangeInputOptions===\"left-right\"?\"column\":\"row\",gap:8},children:[/*#__PURE__*/_jsx(\"label\",{style:{fontSize:12,color:\"#666\",minWidth:30,fontFamily:filterInputStyles?.font?.fontFamily||undefined},children:\"Min:\"}),/*#__PURE__*/_jsx(\"input\",{className:`${uniqueClassName} cms-filter-input`,type:\"number\",value:currentValue.min!==undefined?currentValue.min:min,onChange:e=>{const newMin=e.target.value?parseFloat(e.target.value):min;onChange({min:newMin,max:currentValue.max!==undefined?currentValue.max:max});},min:min,max:currentValue.max!==undefined?currentValue.max:max,step:step,style:{padding:\"6px 8px\",border:\"1px solid #dee2e6\",borderRadius:4,fontSize:12,lineHeight:1.2,outline:\"none\",flex:1,...filterInputStyles,fontFamily:filterInputStyles?.font?.fontFamily||undefined,fontWeight:filterInputStyles?.font?.fontWeight??undefined,fontStyle:filterInputStyles?.font?.fontStyle??undefined}}),unit&&/*#__PURE__*/_jsx(\"span\",{style:{fontSize:12,color:\"#666\",minWidth:\"auto\"},children:unit})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:config.rangeInputOptions===\"left-right\"?\"flex-start\":\"center\",flexDirection:config.rangeInputOptions===\"left-right\"?\"column\":\"row\",gap:8},children:[/*#__PURE__*/_jsx(\"label\",{style:{fontSize:12,color:\"#666\",minWidth:30,fontFamily:filterInputStyles?.font?.fontFamily||undefined},children:\"Max:\"}),/*#__PURE__*/_jsx(\"input\",{className:`${uniqueClassName} cms-filter-input`,type:\"number\",value:currentValue.max!==undefined?currentValue.max:max,onChange:e=>{const newMax=e.target.value?parseFloat(e.target.value):max;onChange({min:currentValue.min!==undefined?currentValue.min:min,max:newMax});},min:currentValue.min!==undefined?currentValue.min:min,max:max,step:step,style:{padding:\"6px 8px\",border:\"1px solid #dee2e6\",borderRadius:4,fontSize:12,lineHeight:1.2,outline:\"none\",flex:1,...filterInputStyles,fontFamily:filterInputStyles?.font?.fontFamily||undefined,fontWeight:filterInputStyles?.font?.fontWeight??undefined,fontStyle:filterInputStyles?.font?.fontStyle??undefined}}),unit&&/*#__PURE__*/_jsx(\"span\",{style:{fontSize:12,color:\"#666\",minWidth:\"auto\"},children:unit})]})]}),config.rangeBottomLabel&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",fontSize:11,color:\"#999\",marginTop:4},children:[/*#__PURE__*/_jsxs(\"span\",{children:[\"Min: \",min,unit]}),/*#__PURE__*/_jsxs(\"span\",{children:[\"Max: \",max,unit]})]})]})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"RangeFilter\":{\"type\":\"reactComponent\",\"name\":\"RangeFilter\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./RangeFilter.map","// ToggleFilter component for CMS Filter system\n// Enhanced with tri-state support, custom labels, and multiple UI styles\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{getActiveMatch}from\"https://framerusercontent.com/modules/gpP9NQZkGM08zua7fzDA/qCIZ0MmU0r7JnBfK0IXC/filter_utils.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export function ToggleFilter({config,value,onChange,debugLevel,filterToggleStyles,uniqueClassName}){const activeMatch=getActiveMatch(config);// No input needed for is_set/is_not_set operators\nif(activeMatch===\"is_set\"||activeMatch===\"is_not_set\"){return /*#__PURE__*/_jsx(\"div\",{style:{padding:8,fontSize:12,color:\"#666\",fontStyle:\"italic\"},children:\"No input needed - checks if field has value\"});}// Get toggle style and tri-state setting\nconst toggleStyle=config.toggleStyle||\"switch\";const isTriState=config.toggleTriState||false;const showLabels=config.toggleShowLabels!==false// Default true\n;const isInverse=config.toggleInverse||false;// Get labels with smart defaults based on operator and inverse mode\nconst getDefaultLabels=()=>{// If inverse mode, flip ON/OFF meanings\nconst base=(()=>{switch(activeMatch){// Boolean operators (for boolean fields)\ncase\"is_enabled\":return isInverse?{on:\"Disabled\",off:\"Enabled\",any:\"Any\"}:{on:\"Enabled\",off:\"Disabled\",any:\"Any\"};case\"is_disabled\":return isInverse?{on:\"Enabled\",off:\"Disabled\",any:\"Any\"}:{on:\"Disabled\",off:\"Enabled\",any:\"Any\"};// Value operators (works for all field types)\ncase\"has_value\":return isInverse?{on:\"Hide With Value\",off:\"Show With Value\",any:\"Any\"}:{on:\"Has Value\",off:\"Empty\",any:\"Any\"};case\"is_empty\":return isInverse?{on:\"Hide Empty\",off:\"Show Empty\",any:\"Any\"}:{on:\"Empty\",off:\"Has Value\",any:\"Any\"};default:return isInverse?{on:\"Exclude\",off:\"Include\",any:\"Any\"}:{on:\"On\",off:\"Off\",any:\"Any\"};}})();return base;};const defaultLabels=getDefaultLabels();const onLabel=config.toggleOnLabel||defaultLabels.on;const offLabel=config.toggleOffLabel||defaultLabels.off;const anyLabel=config.toggleAnyLabel||defaultLabels.any;// Determine if toggle is \"active\" (ON state)\n// For boolean: true = ON, false = OFF\n// For other types: any truthy value = ON, null/undefined = OFF\nconst isValueActive=()=>{if(value===null||value===undefined)return false;if(typeof value===\"boolean\")return value;// For strings and numbers, check if they exist (not empty)\nif(typeof value===\"string\")return value.trim()!==\"\";if(typeof value===\"number\")return true;return!!value;};// Determine current state for tri-state or binary\nconst getCurrentState=()=>{if(isTriState){if(value===null||value===undefined)return\"any\";return isValueActive()?\"on\":\"off\";}else{return isValueActive()?\"on\":\"off\";}};const currentState=getCurrentState();// Handle click based on tri-state or binary mode\nconst handleClick=()=>{if(isTriState){// Cycle: ANY -> ON -> OFF -> ANY\nif(value===null||value===undefined){onChange(true)// Set to ON (true for any field type)\n;}else if(isValueActive()){onChange(false)// Set to OFF (false for any field type)\n;}else{onChange(null)// Set to ANY (null)\n;}}else{// Toggle: OFF -> ON -> OFF\n// For boolean: toggle true/false\n// For other types: toggle between value and null\nonChange(isValueActive()?false:true);}};// Render based on toggle style\nswitch(toggleStyle){case\"switch\":return renderSwitch();case\"pill\":return renderPill();default:return renderSwitch();}// Switch Style (CSS-based)\nfunction renderSwitch(){const switchWidth=filterToggleStyles?.switchWidth??52;const switchHeight=filterToggleStyles?.switchHeight??24;const knobSize=filterToggleStyles?.knobSize??18;const gap=filterToggleStyles?.gap??12;// Convert border object to CSS string\nconst getBorderString=()=>{const border=filterToggleStyles?.border;if(typeof border===\"string\"){return border;}else if(border&&typeof border===\"object\"){const{borderWidth=1,borderStyle=\"solid\",borderColor=\"#dee2e6\"}=border;return`${borderWidth}px ${borderStyle} ${borderColor}`;}return`1px solid ${filterToggleStyles?.borderColor||\"#dee2e6\"}`;};const borderString=getBorderString();// Calculate knob positions for different states\nconst knobPositionOff=gap;const knobPositionAny=(switchWidth-knobSize)/2;const knobPositionOn=switchWidth-knobSize-gap;// State classes\nconst stateClass=currentState===\"on\"?\"is-on\":currentState===\"any\"?\"is-any\":\"is-off\";return /*#__PURE__*/_jsxs(\"div\",{className:\"cms-toggle-wrapper\",children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                    /* Switch Container */\n                    .cms-toggle-switch.${uniqueClassName} {\n                        position: relative;\n                        width: ${switchWidth}px;\n                        height: ${switchHeight}px;\n                        border-radius: ${switchHeight/2}px;\n                        cursor: pointer;\n                        transition: all 0.2s ease;\n                        place-content: center;\n                        border: ${borderString};\n                    }\n\n                    /* Default/Off State\n                    .cms-toggle-switch.${uniqueClassName}.is-off {\n                        background-color: ${filterToggleStyles?.backgroundColor||\"#ccc\"};\n                        border-color: ${filterToggleStyles?.borderColor||\"#dee2e6\"};\n                    } */\n\n                    /* Any State (Tri-state) \n                    .cms-toggle-switch.${uniqueClassName}.is-any {\n                        background-color: ${filterToggleStyles?.anyBackgroundColor||\"#6c757d\"};\n                        border-color: ${filterToggleStyles?.anyBorderColor||\"#6c757d\"};\n                    }*/\n\n                    /* On/Selected State\n                    .cms-toggle-switch.${uniqueClassName}.is-on {\n                        background-color: ${filterToggleStyles?.selectedBackgroundColor||\"#007AFF\"};\n                        border-color: ${filterToggleStyles?.selectedBorderColor||\"#007AFF\"};\n                    } */\n\n                    /* Hover States */\n                    .cms-toggle-switch.${uniqueClassName}:hover {\n                        box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);\n                    }\n\n                    .cms-toggle-switch.${uniqueClassName}.is-on:hover {\n                        background-color: ${filterToggleStyles?.hoverBackgroundColor||\"#0056b3\"};\n                    }\n\n                    /* Switch Knob */\n                    .cms-toggle-knob.${uniqueClassName} {\n                        position: relative;\n                        width: ${knobSize}px;\n                        height: ${knobSize}px;\n                        border-radius: ${filterToggleStyles?.borderRadius||knobSize/2}px;\n                        background-color: ${filterToggleStyles?.innerBackgroundColor||\"#fff\"};\n                        transition: all 0.2s ease;\n                        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n                    }\n\n                    /* Knob Positions */\n                    .cms-toggle-switch.${uniqueClassName}.is-off .cms-toggle-knob.${uniqueClassName} {\n                        left: ${knobPositionOff}px;\n                    }\n\n                    .cms-toggle-switch.${uniqueClassName}.is-any .cms-toggle-knob.${uniqueClassName} {\n                        left: ${knobPositionAny}px;\n                    }\n\n                    .cms-toggle-switch.${uniqueClassName}.is-on .cms-toggle-knob.${uniqueClassName} {\n                        left: ${knobPositionOn}px;\n                    }\n\n                    /* Label Styles */\n                    .cms-toggle-label.${uniqueClassName} {\n                        font-size: ${filterToggleStyles?.fontSize||14}px;\n                        font-family: ${filterToggleStyles?.font?.fontFamily||\"inherit\"};\n                        font-weight: ${filterToggleStyles?.font?.fontWeight||\"inherit\"};\n                        font-style: ${filterToggleStyles?.font?.fontStyle||\"inherit\"};\n                        transition: color 0.2s ease;\n                    }\n\n\n                    /*.cms-toggle-label.${uniqueClassName}.is-off  {\n                        color: ${filterToggleStyles?.labelColor||\"#666\"};\n                    }\n\n                    .cms-toggle-label.${uniqueClassName}.is-any {\n                        color: ${filterToggleStyles?.anyTextColor||\"#6c757d\"};\n                    }\n\n                    .cms-toggle-label.${uniqueClassName}.is-on {\n                        color: ${filterToggleStyles?.selectedTextColor||\"#007AFF\"};\n                    }*/\n\n                    /* Wrapper */\n                    .cms-toggle-wrapper {\n                        display: flex;\n                        align-items: center;\n                        gap: 12px;\n                        padding-left: 2px;\n                    }\n                `}),/*#__PURE__*/_jsx(\"div\",{className:`cms-toggle-switch ${uniqueClassName} ${stateClass}`,onClick:handleClick,children:/*#__PURE__*/_jsx(\"div\",{className:`cms-toggle-knob ${uniqueClassName}`})}),showLabels&&/*#__PURE__*/_jsx(\"span\",{className:`cms-toggle-label ${uniqueClassName} ${stateClass}`,children:currentState===\"on\"?onLabel:currentState===\"any\"?anyLabel:offLabel}),debugLevel===\"full_debug\"&&/*#__PURE__*/_jsxs(\"span\",{style:{fontSize:11,color:\"#888\",marginLeft:8},children:[isTriState?`Tri-state: ${currentState}`:`Binary: ${currentState}`,isInverse&&\" (Inverted)\"]})]});}// Pill Style (Segmented Control)\nfunction renderPill(){const borderRadius=filterToggleStyles?.borderRadius??20;const pillGap=filterToggleStyles?.pillGap??0;const padding=filterToggleStyles?.padding??8;// Convert border object to CSS string\nconst getBorderString=()=>{const border=filterToggleStyles?.border;if(typeof border===\"string\"){return border;}else if(border&&typeof border===\"object\"){const{borderWidth=1,borderStyle=\"solid\",borderColor=\"#dee2e6\"}=border;return`${borderWidth}px ${borderStyle} ${borderColor}`;}return`1px solid ${filterToggleStyles?.borderColor||\"#dee2e6\"}`;};const borderString=getBorderString();const pillOptions=isTriState?[{value:\"any\",label:anyLabel},{value:\"on\",label:onLabel},{value:\"off\",label:offLabel}]:[{value:\"on\",label:onLabel},{value:\"off\",label:offLabel}];// Calculate sliding pill position and width\nconst activeIndex=pillOptions.findIndex(opt=>opt.value===currentState);const totalOptions=pillOptions.length;// Total gap space between all pills\nconst totalGaps=(totalOptions-1)*pillGap;// Width of each pill = (100% - container padding - all gaps) / number of pills\nconst pillWidthFormula=`(100% - 4px - ${totalGaps}px) / ${totalOptions}`;// Position = container padding + (active index × (pill width + gap between pills))\n// For activeIndex = 0: 2px\n// For activeIndex = 1: 2px + 1 * (pillWidth + gap)\n// For activeIndex = 2: 2px + 2 * (pillWidth + gap)\nconst leftPosition=activeIndex===0?\"2px\":`calc(2px + ${activeIndex} * ((${pillWidthFormula}) + ${pillGap}px))`;const sliderWidth=`calc(${pillWidthFormula})`;const pillBackgroundColor=filterToggleStyles?.selectedBackgroundColor||\"#007AFF\";return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                    /* Pill Container */\n                    .cms-pill-container.${uniqueClassName} {\n                        position: relative;\n                        display: flex;\n                        gap: ${pillGap}px;\n                        padding: 2px;\n                        background-color: ${filterToggleStyles?.backgroundColor||\"#f0f0f0\"};\n                        border-radius: ${borderRadius}px;\n                        border: ${borderString};\n                    }\n\n                    /* Sliding Background Pill */\n                    .cms-pill-slider.${uniqueClassName} {\n                        position: absolute;\n                        top: 2px;\n                        left: ${leftPosition};\n                        width: ${sliderWidth};\n                        height: calc(100% - 4px);\n                        background-color: ${pillBackgroundColor};\n                        border-radius: ${borderRadius-2}px;\n                        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n                        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n                        z-index: 1;\n                    }\n\n                    /* Pill Option Base */\n                    .cms-pill-option.${uniqueClassName} {\n                        position: relative;\n                        flex: 1 1 0;\n                        min-width: 0;\n                        padding: ${filterToggleStyles?.padding||\"0px\"};\n                        border-radius: ${borderRadius-2}px;\n                        font-size: ${filterToggleStyles?.fontSize||14}px;\n                        font-family: ${filterToggleStyles?.font?.fontFamily||\"inherit\"};\n                        font-weight: ${filterToggleStyles?.font?.fontWeight||\"inherit\"};\n                        font-style: ${filterToggleStyles?.font?.fontStyle||\"inherit\"};\n                        text-align: center;\n                        cursor: pointer;\n                        transition: color 0.2s ease;\n                        user-select: none;\n                        display: flex;\n                        align-items: center;\n                        justify-content: center;\n                        white-space: nowrap;\n                        overflow: hidden;\n                        text-overflow: ellipsis;\n                        z-index: 2;\n                    }\n\n                    /* Inactive State */\n                    .cms-pill-option.${uniqueClassName}.is-inactive {\n                        color: ${filterToggleStyles?.color||\"#666\"};\n                        font-weight: 400;\n                    }\n\n                    /* Active State */\n                    .cms-pill-option.${uniqueClassName}.is-active {\n                        color: ${filterToggleStyles?.selectedTextColor||\"#fff\"};\n                    }\n\n                    /* Hover States */\n                    .cms-pill-option.${uniqueClassName}:hover {\n                        opacity: 0.9;\n                    }\n                `}),/*#__PURE__*/_jsxs(\"div\",{className:`cms-pill-container ${uniqueClassName}`,children:[/*#__PURE__*/_jsx(\"div\",{className:`cms-pill-slider ${uniqueClassName}`}),pillOptions.map(option=>{const isActive=currentState===option.value;return /*#__PURE__*/_jsx(\"div\",{className:`cms-pill-option ${uniqueClassName} ${isActive?\"is-active\":\"is-inactive\"}`,style:{fontFamily:filterToggleStyles?.font?.fontFamily||undefined,fontWeight:filterToggleStyles?.font?.fontWeight??undefined,fontStyle:filterToggleStyles?.font?.fontStyle??undefined},onClick:()=>{if(isTriState){onChange(option.value===\"on\"?true:option.value===\"off\"?false:null);}else{onChange(option.value===\"on\"?true:false);}},children:option.label},option.value);})]})]});}}\nexport const __FramerMetadata__ = {\"exports\":{\"ToggleFilter\":{\"type\":\"reactComponent\",\"name\":\"ToggleFilter\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// CMSEnumFilter component for CMS Filter system\n// Extracted from CMSFilters.tsx for better modularity\n// @ts-ignore-next-line\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{getActiveMatch,getOptionCounts,formatCountDisplay}from\"https://framerusercontent.com/modules/gpP9NQZkGM08zua7fzDA/qCIZ0MmU0r7JnBfK0IXC/filter_utils.js\";import{SelectFilter}from\"https://framerusercontent.com/modules/rhjV7CBikISubRqt2bpe/0dxann4JTQBj1vu4TpoJ/SelectFilter.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export function CMSEnumFilter({config,value,onChange,debugLevel,filterPillStyles,filterSelectStyles,filterCheckboxStyles,uniqueClassName,availableFields,collectionInfo}){const activeMatch=getActiveMatch(config);// No input needed for is_set/is_not_set operators\nif(activeMatch===\"is_set\"||activeMatch===\"is_not_set\"){return /*#__PURE__*/_jsx(\"div\",{style:{padding:8,fontSize:12,color:\"#666\",fontStyle:\"italic\"},children:\"No input needed - checks if field has value\"});}const enumFieldInfo=availableFields.find(f=>f.title.toLowerCase()===config.fieldName.toLowerCase()&&f.type===\"enum\");// Determine enum options and values\nlet enumOptions;let enumValues;let optionCounts={};if(availableFields.length===0){// Editor mode: show placeholder options\nenumOptions=[\"Option 1\",\"Option 2\",\"Option 3\",\"Option 4\"];enumValues=[\"option1\",\"option2\",\"option3\",\"option4\"];}else if(!enumFieldInfo||!enumFieldInfo.optionTitles){// Preview mode: show error for invalid field\nreturn /*#__PURE__*/_jsxs(\"div\",{style:{padding:8,color:\"#dc3545\",fontSize:12,fontStyle:\"italic\",backgroundColor:\"#f8d7da\",borderRadius:4},children:['CMS enum field \"',config.fieldName,'\" not found or has no options. Make sure the field exists and is an enum type.']});}else{// Preview mode: use actual CMS data\nenumOptions=enumFieldInfo.optionTitles;enumValues=enumFieldInfo.options||enumFieldInfo.optionTitles;// Get counts for each option if enabled\nif(config.showPostCount&&collectionInfo){const fieldKey=Object.keys(collectionInfo.propertyControls).find(key=>collectionInfo.propertyControls[key]?.title?.toLowerCase()===config.fieldName.toLowerCase());if(fieldKey){const originalQuery=collectionInfo.query;optionCounts=getOptionCounts(collectionInfo.collectionId,fieldKey,enumValues,originalQuery);}}}// Dropdown style - uses SelectFilter component (supports both single and multi-select)\nif(config.enumStyle===\"dropdown\"){// Build config with enum options including counts\n// getOptionData expects config.options in {value, title} format\nconst configWithOptions={...config,options:enumValues.map((optionValue,idx)=>{const optionTitle=enumOptions[idx];const count=optionCounts[optionValue];const displayTitle=config.showPostCount&&count!==undefined?formatCountDisplay(optionTitle,count,config.countTemplate).text:optionTitle;return{value:optionValue,title:displayTitle};})};return /*#__PURE__*/_jsx(SelectFilter,{config:configWithOptions,value:value,onChange:onChange,debugLevel:debugLevel,filterSelectStyles:filterSelectStyles,uniqueClassName:uniqueClassName});}// Checkboxes style (from archive implementation)\nif(config.enumStyle===\"checkboxes\"){const selected=config.allowMultiple?value||[]:value||\"\";return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n            .cms-checkbox-filter {\n                background-color: ${filterCheckboxStyles.backgroundColor};\n                ${(()=>{if(typeof filterCheckboxStyles?.border===\"string\"){return`border: ${filterCheckboxStyles.border};`;}else if(filterCheckboxStyles?.border){const border=filterCheckboxStyles.border;return`\n    ${border.borderWidth!==undefined?`border-width: ${border.borderWidth}px;`:\"\"}\n    ${border.borderTopWidth!==undefined?`border-top-width: ${border.borderTopWidth}px;`:\"\"}\n    ${border.borderBottomWidth!==undefined?`border-bottom-width: ${border.borderBottomWidth}px;`:\"\"}\n    ${border.borderLeftWidth!==undefined?`border-left-width: ${border.borderLeftWidth}px;`:\"\"}\n    ${border.borderRightWidth!==undefined?`border-right-width: ${border.borderRightWidth}px;`:\"\"}\n    ${border.borderStyle?`border-style: ${border.borderStyle};`:\"border-style: solid;\"}\n    ${border.borderColor?`border-color: ${border.borderColor};`:\"border-color: #dee2e6;\"}\n  `;}else{return\"border: none;\";}})()}\n                padding: ${filterCheckboxStyles.padding||\"8px 0px 8px 0px\"};\n                border-radius: ${filterCheckboxStyles.borderRadius};\n            }\n            .cms-checkbox-filter:hover {\n                background-color: ${filterCheckboxStyles.hoverBackgroundColor};\n                border-color: ${filterCheckboxStyles.hoverBorderColor};\n            }\n            .cms-checkbox-filter.cms-checkbox-filter-selected {\n                background-color: ${filterCheckboxStyles.activeBackgroundColor};\n                border-color: ${filterCheckboxStyles.activeBorderColor};\n            }\n        `}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:filterCheckboxStyles.gap||6},children:[config.showAllOption&&(()=>{// \"All\" should not be deselectable - only select it if not already selected\nconst isAllSelected=config.allowMultiple?Array.isArray(selected)&&selected.length===0:selected===\"\";return /*#__PURE__*/_jsxs(\"div\",{onClick:()=>{if(!isAllSelected){onChange(config.allowMultiple?[]:\"\");}},className:isAllSelected?\"cms-checkbox-filter cms-checkbox-filter-selected\":\"cms-checkbox-filter\",style:{display:\"flex\",alignItems:\"center\",gap:filterCheckboxStyles.checkboxGap||10,cursor:\"pointer\",transition:\"all 0.2s ease\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",...filterCheckboxStyles.checkboxBorder,borderColor:isAllSelected?filterCheckboxStyles.selectedBorderColor:filterCheckboxStyles.checkboxBorder.borderColor,borderRadius:filterCheckboxStyles.checkboxBorderRadius,backgroundColor:isAllSelected?filterCheckboxStyles.selectedBackgroundColor:filterCheckboxStyles.checkboxBackgroundColor,color:isAllSelected?filterCheckboxStyles.selectedTextColor:filterCheckboxStyles.color,transition:\"all 0.2s ease\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,width:filterCheckboxStyles.scale||18,height:filterCheckboxStyles.scale||18},children:isAllSelected&&/*#__PURE__*/_jsx(\"svg\",{width:(filterCheckboxStyles.scale||18)!=18?\"70%\":\"12px\",height:(filterCheckboxStyles.scale||18)!=18?\"70%\":\"12px\",viewBox:\"0 0 24 24\",fill:\"none\",style:{color:filterCheckboxStyles.selectedSvgColor},children:/*#__PURE__*/_jsx(\"path\",{d:\"M20 6L9 17L4 12\",stroke:\"currentColor\",strokeWidth:\"2.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:filterCheckboxStyles?.font?.fontFamily||undefined,fontWeight:filterCheckboxStyles?.font?.fontWeight??undefined,fontStyle:filterCheckboxStyles?.font?.fontStyle??undefined,fontSize:filterCheckboxStyles.fontSize,transition:\"color 0.2s ease\",color:isAllSelected?filterCheckboxStyles.selectedTextColor:filterCheckboxStyles.color},children:config.allOptionLabel||`All ${config.title}`})]});})(),enumOptions.map((option,idx)=>{const optionValue=enumValues[idx];const isSelected=config.allowMultiple?Array.isArray(selected)&&selected.includes(optionValue):selected===optionValue;const count=optionCounts[optionValue];const{text:displayText,countElement}=config.showPostCount&&count!==undefined?formatCountDisplay(option,count,config.countTemplate,config.countStyle):{text:option,countElement:null};return /*#__PURE__*/_jsxs(\"div\",{onClick:()=>{if(config.allowMultiple){const current=Array.isArray(selected)?[...selected]:[];if(isSelected){onChange(current.filter(v=>v!==optionValue));}else{current.push(optionValue);onChange(current);}}else{onChange(isSelected&&(config.allowDeselect??true)?\"\":optionValue);}},className:isSelected?\"cms-checkbox-filter cms-checkbox-filter-selected\":\"cms-checkbox-filter\",style:{display:\"flex\",alignItems:\"center\",gap:filterCheckboxStyles.checkboxGap||10,cursor:\"pointer\",transition:\"all 0.2s ease\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",...filterCheckboxStyles.checkboxBorder,borderColor:isSelected?filterCheckboxStyles.selectedBorderColor:filterCheckboxStyles.checkboxBorder.borderColor,borderRadius:filterCheckboxStyles.checkboxBorderRadius,backgroundColor:isSelected?filterCheckboxStyles.selectedBackgroundColor:filterCheckboxStyles.checkboxBackgroundColor,color:isSelected?filterCheckboxStyles.selectedTextColor:filterCheckboxStyles.color,transition:\"all 0.2s ease\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,width:filterCheckboxStyles.scale||18,height:filterCheckboxStyles.scale||18},children:isSelected&&/*#__PURE__*/_jsx(\"svg\",{width:(filterCheckboxStyles.scale||18)!=18?\"70%\":\"12px\",height:(filterCheckboxStyles.scale||18)!=18?\"70%\":\"12px\",viewBox:\"0 0 24 24\",fill:\"none\",style:{color:isSelected?filterCheckboxStyles.selectedSvgColor:\"\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M20 6L9 17L4 12\",stroke:\"currentColor\",strokeWidth:\"2.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsxs(\"span\",{style:{fontFamily:filterCheckboxStyles?.font?.fontFamily||undefined,fontWeight:filterCheckboxStyles?.font?.fontWeight??undefined,fontStyle:filterCheckboxStyles?.font?.fontStyle??undefined,fontSize:filterCheckboxStyles.fontSize,transition:\"color 0.2s ease\",color:isSelected?filterCheckboxStyles.selectedTextColor:filterCheckboxStyles.color},children:[displayText,countElement&&/*#__PURE__*/_jsxs(_Fragment,{children:[\" \",countElement]})]})]},idx);}),(debugLevel===\"ui_helpers\"||debugLevel===\"full_debug\")&&/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:11,color:\"#666\",marginTop:4},children:[\"Selected:\",\" \",Array.isArray(selected)?selected.join(\", \"):selected]})]})]});}// Tags style (default for CMS enums)\nconst selectedValues=Array.isArray(value)?value:value?[value]:[];return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .cms-enum-tag.${uniqueClassName} {\n                    padding: 6px 12px;\n                    border: 1px solid #dee2e6;\n                    border-radius: 4px;\n                    font-size: 14px;\n                    cursor: pointer;\n                    transition: all 0.2s ease;\n                    background-color: ${filterPillStyles?.backgroundColor||\"#fff\"};\n                    color: ${filterPillStyles?.color||\"#333\"};\n  ${(()=>{if(typeof filterPillStyles?.border===\"string\"){return`border: ${filterPillStyles.border};`;}else if(filterPillStyles?.border){const border=filterPillStyles.border;return`\n        ${border.borderWidth!==undefined?`border-width: ${border.borderWidth}px;`:\"\"}\n        ${border.borderTopWidth!==undefined?`border-top-width: ${border.borderTopWidth}px;`:\"\"}\n        ${border.borderBottomWidth!==undefined?`border-bottom-width: ${border.borderBottomWidth}px;`:\"\"}\n        ${border.borderLeftWidth!==undefined?`border-left-width: ${border.borderLeftWidth}px;`:\"\"}\n        ${border.borderRightWidth!==undefined?`border-right-width: ${border.borderRightWidth}px;`:\"\"}\n        ${border.borderStyle?`border-style: ${border.borderStyle};`:\"border-style: solid;\"}\n        ${border.borderColor?`border-color: ${border.borderColor};`:\"border-color: #dee2e6;\"}\n      `;}else{return\"border: none;\";}})()}\n                    user-select: none;\n                }\n                .cms-enum-tag.${uniqueClassName}:hover {\n                    color: ${filterPillStyles?.hoverTextColor||\"#fff\"} !important;\n                    border-color: ${filterPillStyles?.hoverBorderColor||\"#007AFF\"} !important;\n                    background-color: ${filterPillStyles?.hoverBackgroundColor||\"#f8f9fa\"} !important;\n                }\n                .cms-enum-tag.${uniqueClassName}.selected {\n                    background-color: ${filterPillStyles?.selectedBackgroundColor||\"#007AFF\"} !important;\n                    color: ${filterPillStyles?.selectedTextColor||\"#fff\"} !important;\n                    border-color: ${filterPillStyles?.selectedBorderColor||\"#007AFF\"} !important;\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap:filterPillStyles?.gap||8},children:[config.showAllOption&&/*#__PURE__*/_jsx(\"div\",{className:`cms-enum-tag ${uniqueClassName} ${selectedValues.length===0?\"selected\":\"\"}`,onClick:()=>{// \"All\" should not be deselectable - only select it if not already selected\nconst isAllSelected=config.allowMultiple?selectedValues.length===0:value===\"\";if(!isAllSelected){onChange(config.allowMultiple?[]:\"\");}},style:{...filterPillStyles,fontFamily:filterPillStyles?.font?.fontFamily||undefined,fontWeight:filterPillStyles?.font?.fontWeight??undefined,fontStyle:filterPillStyles?.font?.fontStyle??undefined},children:config.allOptionLabel||`All ${config.title}`}),enumValues.map((optionValue,idx)=>{const optionTitle=enumOptions[idx];const isSelected=selectedValues.includes(optionValue);const count=optionCounts[optionValue];const{text:displayText,countElement}=config.showPostCount&&count!==undefined?formatCountDisplay(optionTitle,count,config.countTemplate,config.countStyle):{text:optionTitle,countElement:null};return /*#__PURE__*/_jsxs(\"div\",{className:`cms-enum-tag ${uniqueClassName} ${isSelected?\"selected\":\"\"}`,onClick:()=>{if(config.allowMultiple){if(isSelected){const newValues=selectedValues.filter(v=>v!==optionValue);onChange(newValues);}else{// When selecting any item, ensure \"All\" is not selected\nonChange([...selectedValues,optionValue]);}}else{// Single select - respect allowDeselect setting\nonChange(isSelected&&(config.allowDeselect??true)?\"\":optionValue);}},style:{...filterPillStyles,fontFamily:filterPillStyles?.font?.fontFamily||undefined,fontWeight:filterPillStyles?.font?.fontWeight??undefined,fontStyle:filterPillStyles?.font?.fontStyle??undefined},children:[displayText,countElement&&/*#__PURE__*/_jsxs(_Fragment,{children:[\" \",countElement]})]},idx);})]}),(debugLevel===\"ui_helpers\"||debugLevel===\"full_debug\")&&selectedValues.length>0&&/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:11,color:\"#007AFF\",padding:\"6px 10px\",backgroundColor:\"#f0f8ff\",borderRadius:4,border:\"1px solid #b3d9ff\"},children:[/*#__PURE__*/_jsx(\"strong\",{children:selectedValues.length}),\" selected:\",\" \",selectedValues.map(val=>enumOptions[enumValues.indexOf(val)]||val).join(\", \")]})]})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"CMSEnumFilter\":{\"type\":\"reactComponent\",\"name\":\"CMSEnumFilter\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// FilterControl wrapper component - routes to appropriate filter type\n// Extracted from CMSFilters.tsx for better modularity\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{getActiveMatch,hasValidValue,getRecommendedFilterType}from\"https://framerusercontent.com/modules/gpP9NQZkGM08zua7fzDA/qCIZ0MmU0r7JnBfK0IXC/filter_utils.js\";import{TextFilter}from\"https://framerusercontent.com/modules/6NPURxBM0dOECdL7VbnS/w02WwMdiEG8mYyjoqdP9/TextFilter.js\";import{NumberFilter}from\"https://framerusercontent.com/modules/UqIxQlR9i7N7s5eURJXt/d1QPj9tIG1u3J2inILMo/NumberFilter.js\";import{DropdownFilter}from\"https://framerusercontent.com/modules/bf8X1kauFnevisLXUtaB/SfMkOghFNOIP8DUUp5Le/DropdownFilter.js\";import{RangeFilter}from\"https://framerusercontent.com/modules/f4De0XAwI4Kf8M6qHjz8/NAi0G82n4Gwv4ifblSm3/RangeFilter.js\";import{ToggleFilter}from\"https://framerusercontent.com/modules/CI7Pin8tWGfRHLuGR8tI/F3Cx0dF3wh75RqduRn6l/ToggleFilter.js\";import{CMSEnumFilter}from\"https://framerusercontent.com/modules/YJVHOw7sdl2iLFF7oTta/8WTPV81y2z9UOfqKD5Aa/CMSEnumFilter.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export function FilterControl({config,value,onChange,availableFields,debugLevel,filterContainerStyles,filterLabelStyles,filterInputStyles,filterPillStyles,filterRangeStyles,filterToggleStyles,filterCheckboxStyles,filterSelectStyles,uniqueClassName,collectionInfo}){const fieldInfo=availableFields.length>0?availableFields.find(f=>f.title.toLowerCase()===config.fieldName.toLowerCase()):null;// Check if toggle filter is used with non-boolean field (only in preview mode)\nconst isToggleInvalid=availableFields.length>0&&config.filterType===\"toggle\"&&fieldInfo&&fieldInfo.type!==\"boolean\";const hasValue=hasValidValue(config,value);const activeMatch=getActiveMatch(config);// Label setup\nconst showLabel=filterLabelStyles?.labelToggle!==false;const labelText=config.title;// don't remove this line\n// const labelText = `${config.title}${hasValue ? \" ✓\" : \"\"}`\n// Filter validation\nconst fieldExists=availableFields.length===0||fieldInfo;const isValidField=fieldExists&&!isToggleInvalid;return /*#__PURE__*/_jsx(_Fragment,{children:/*#__PURE__*/_jsxs(\"div\",{className:`cms-filter-container ${uniqueClassName}`,style:{...filterContainerStyles,...filterContainerStyles.border},children:[showLabel&&/*#__PURE__*/_jsx(\"label\",{style:{display:\"block\",...filterLabelStyles,fontFamily:filterLabelStyles?.font?.fontFamily||undefined,fontWeight:filterLabelStyles?.font?.fontWeight??500,fontStyle:filterLabelStyles?.font?.fontStyle??undefined},children:labelText}),availableFields.length>0&&!fieldExists&&/*#__PURE__*/_jsxs(\"div\",{style:{color:\"#e74c3c\",fontSize:12,marginBottom:8,fontStyle:\"italic\"},children:['⚠️ Field \"',config.fieldName,'\" not found. Available:',\" \",availableFields.map(f=>f.title).join(\", \")]}),isToggleInvalid&&/*#__PURE__*/_jsxs(\"div\",{style:{color:\"#e74c3c\",fontSize:12,marginBottom:8,fontStyle:\"italic\"},children:['⚠️ Toggle filter requires boolean field. \"',fieldInfo?.title,'\" is ',fieldInfo?.type,\". Recommended:\",\" \",getRecommendedFilterType(fieldInfo?.type||\"\")]}),isValidField&&/*#__PURE__*/_jsxs(_Fragment,{children:[config.filterType===\"text\"&&/*#__PURE__*/_jsx(TextFilter,{config:config,value:value,onChange:onChange,debugLevel:debugLevel,filterInputStyles:filterInputStyles,uniqueClassName:uniqueClassName}),config.filterType===\"number\"&&/*#__PURE__*/_jsx(NumberFilter,{config:config,value:value,onChange:onChange,debugLevel:debugLevel,filterInputStyles:filterInputStyles,uniqueClassName:uniqueClassName}),config.filterType===\"dropdown\"&&/*#__PURE__*/_jsx(DropdownFilter,{config:config,value:value,onChange:onChange,debugLevel:debugLevel,filterSelectStyles:filterSelectStyles,filterPillStyles:filterPillStyles,filterCheckboxStyles:filterCheckboxStyles,uniqueClassName:uniqueClassName}),config.filterType===\"range\"&&/*#__PURE__*/_jsx(RangeFilter,{config:config,value:value,onChange:onChange,debugLevel:debugLevel,filterInputStyles:filterInputStyles,filterRangeStyles:filterRangeStyles,uniqueClassName:uniqueClassName}),config.filterType===\"toggle\"&&/*#__PURE__*/_jsx(ToggleFilter,{config:config,value:value,onChange:onChange,debugLevel:debugLevel,filterToggleStyles:filterToggleStyles,uniqueClassName:uniqueClassName}),config.filterType===\"cms-enum\"&&/*#__PURE__*/_jsx(CMSEnumFilter,{config:config,value:value,onChange:onChange,debugLevel:debugLevel,filterInputStyles:filterInputStyles,filterPillStyles:filterPillStyles,filterSelectStyles:filterSelectStyles,filterCheckboxStyles:filterCheckboxStyles,uniqueClassName:uniqueClassName,availableFields:availableFields,collectionInfo:collectionInfo})]}),debugLevel===\"ui_helpers\"&&/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:8,fontSize:11,color:\"#666\"},children:[/*#__PURE__*/_jsxs(\"div\",{children:[\"Field: \",config.fieldName,\" | Filter:\",\" \",config.filterType,\" | Match: \",activeMatch]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Valid: \",hasValue?\"✅\":\"❌\",\" | Logic:\",\" \",config.logic||\"Any\"]})]}),debugLevel===\"full_debug\"&&/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:8,fontSize:10,color:\"#888\",fontFamily:\"monospace\"},children:[/*#__PURE__*/_jsxs(\"div\",{children:[\"Config: \",JSON.stringify(config,null,2)]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Value:\",\" \",typeof value===\"object\"?JSON.stringify(value):String(value||\"undefined\")]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Valid: \",hasValue?\"✅\":\"❌\"]})]})]})});}\nexport const __FramerMetadata__ = {\"exports\":{\"FilterControl\":{\"type\":\"reactComponent\",\"name\":\"FilterControl\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FilterControl.map","// Refactored CMSFilters component using modular architecture\n// This is the main component that orchestrates all filter functionality\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useEffect,useRef}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{hasValidValue,getActiveMatch}from\"https://framerusercontent.com/modules/gpP9NQZkGM08zua7fzDA/qCIZ0MmU0r7JnBfK0IXC/filter_utils.js\";import{FilterControl}from\"https://framerusercontent.com/modules/3I5E2iQ0TFDjlfTzBR90/wGJSedCYZzkZislXCtqc/FilterControl.js\";// Import utilities from shared modules\nimport{getCollectionStore,getCollectionStoreKey,globalInitStore,getCollectionInfo,getAvailableFilterFields,evGetRandomString,isCanvas}from\"https://framerusercontent.com/modules/2VZikWBxCagm4nJReNjX/z54ASxxAIXcD5lI71IM4/store_management.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export default function CMSFilters(props){const{collection,filters,builderLogic,storeKey,style,debugLevel:debug,filterContainerStyles,filterLabelStyles,filterInputStyles,filterPillStyles,filterRangeStyles,filterToggleStyles,filterCheckboxStyles,filterSelectStyles,id}=props;const debugLevel=isCanvas?false:debug;// Get store key for this collection using new logic\nconst actualStoreKey=getCollectionStoreKey(collection,storeKey);const newId=id?id:evGetRandomString();const uniqueClassName=`cms-filter-${newId}`;// Initialize store immediately if we have a store key (fixes race condition)\nif(actualStoreKey){getCollectionStore(actualStoreKey);}// Watch for store initialization (for debugging/monitoring only)\nconst[initState]=globalInitStore();const isStoreInitialized=actualStoreKey&&initState.storeInitialized.includes(actualStoreKey);// Extract collection info from slot connection\nconst collectionInfo=getCollectionInfo(collection);// Get store for this collection\nconst useStore=actualStoreKey?getCollectionStore(actualStoreKey):null;const[state,setState]=useStore?useStore():[null,null];// Local filter values state\nconst[filterValues,setFilterValues]=useState({});const[isInitialized,setIsInitialized]=useState(false);// Get available fields for validation\nconst availableFields=collectionInfo?getAvailableFilterFields(collectionInfo.propertyControls):[];// Initialize component - restore UI state from store ONCE\nuseEffect(()=>{if(!setState||!state||isInitialized)return;// Check if store has filters from this component\nconst thisComponentFilters=state.filters?.filter(f=>f.componentId===id)||[];if(thisComponentFilters.length>0){// Restore UI state from store\nconst restoredValues={};thisComponentFilters.forEach(filter=>{// Extract original index from filter ID (format: \"{componentId}-{originalIndex}\")\n// Use lastIndexOf to handle component IDs that might contain dashes\nconst lastDashIndex=filter.id.lastIndexOf(\"-\");const originalIndex=filter.id.substring(lastDashIndex+1);const filterId=`filter-${originalIndex}`;restoredValues[filterId]=filter.value;});setFilterValues(restoredValues);if(debugLevel===\"full_debug\"){console.log(\"🔄 Restored UI state from store:\",{componentId:id,restoredFilters:thisComponentFilters.length,restoredValues});}}setIsInitialized(true);},[setState,state,id,isInitialized,debugLevel]);// Sync local filterValues with external store changes (e.g., from CMSClearAll, Facets removal, or other CMSFilters components)\n// CRITICAL: This effect only responds to EXTERNAL store changes, never to filterValues changes\n// This breaks the circular dependency: filterValues ⟷ state?.filters\nconst lastKnownStoreStateRef=useRef(\"\");useEffect(()=>{if(!isInitialized)return;// Get ALL filters for the same fields across ALL components\nconst allStoreFilters=state?.filters||[];// Create stable serialization of store state to detect actual changes\n// CRITICAL: Sort by ID to ensure consistent comparison regardless of order\nconst storeStateKey=JSON.stringify(allStoreFilters.map(f=>({id:f.id,field:f.field,value:f.value,operator:f.operator,componentId:f.componentId})).sort((a,b)=>a.id.localeCompare(b.id)));// ANTI-LOOP: Only proceed if store actually changed from last time\nif(storeStateKey===lastKnownStoreStateRef.current){return;}lastKnownStoreStateRef.current=storeStateKey;if(debugLevel===\"full_debug\"){console.log(\"🔄 STORE CHANGED, syncing to filterValues:\",{componentId:id,storeFilters:allStoreFilters.filter(f=>f.componentId===id)});}// Build new filter values by syncing with store\n// Use callback pattern to avoid needing filterValues in dependencies\nsetFilterValues(currentFilterValues=>{const newFilterValues={};let hasChanges=false;filters.forEach((config,index)=>{const filterId=`filter-${index}`;const fieldName=config.fieldName;if(!fieldName||!fieldName.trim()){return;}const normalizedFieldName=fieldName.trim().toLowerCase();// Find ANY filter in the store that matches this field (from any component)\nconst matchingStoreFilter=allStoreFilters.find(f=>{const fieldsMatch=(f.field||\"\").trim().toLowerCase()===normalizedFieldName;return fieldsMatch&&f.type===config.filterType&&f.operator===getActiveMatch(config);});if(matchingStoreFilter){// Always use store value as source of truth\nnewFilterValues[filterId]=matchingStoreFilter.value;// Deep comparison for arrays/objects\nconst currentValue=currentFilterValues[filterId];const storeValue=matchingStoreFilter.value;const isEqual=JSON.stringify(currentValue)===JSON.stringify(storeValue);if(!isEqual){hasChanges=true;}}else{// No matching filter in store - this filter should be cleared\nif(currentFilterValues[filterId]!==undefined){hasChanges=true;}// Leave undefined to clear\n}});// CRITICAL: Deep comparison to prevent unnecessary updates\n// Even if hasChanges=true, the actual VALUES might be identical\nconst currentKey=JSON.stringify(currentFilterValues);const newKey=JSON.stringify(newFilterValues);if(currentKey!==newKey){if(debugLevel===\"full_debug\"){console.log(\"✅ SYNCED from store (ACTUAL CHANGES):\",{componentId:id,currentFilterValues,newFilterValues,currentKey,newKey});}return newFilterValues;}// No actual changes, return current state unchanged\nif(debugLevel===\"full_debug\"){console.log(\"⏭️ SKIPPED sync (values identical):\",{componentId:id});}return currentFilterValues;});},[state?.filters,id,isInitialized,filters,debugLevel]);// NOTE: filterValues is INTENTIONALLY NOT in deps - this prevents circular updates\n// Update store when filter values change\nuseEffect(()=>{// CRITICAL FIX: Don't update store until component finishes initialization\n// This prevents clearing filters when component mounts as overlay\nif(!isInitialized)return;if(setState&&filters.length>0){if(debugLevel===\"full_debug\"){console.log(\"⚙️ Update effect running:\",{componentId:id,filterValues});}// Convert filter configs + values to filter rules\nconst activeFilters=filters.filter((config,index)=>{const filterId=`filter-${index}`;const value=filterValues[filterId];// Validate field name and value\nif(!config.fieldName||!config.fieldName.trim()){return false;}return hasValidValue(config,value);}).map(config=>{// CRITICAL FIX: Use original index from full filters array, not filtered index\nconst originalIndex=filters.findIndex(c=>c===config);const filterId=`filter-${originalIndex}`;const value=filterValues[filterId];const activeMatch=getActiveMatch(config);return{id:`${id}-${originalIndex}`,field:config.fieldName?.trim()||\"\",displayTitle:config.title,type:config.filterType,operator:activeMatch,value:value,logic:config.logic||\"Any\",builderLogic:builderLogic,componentId:id,config:config,// Toggle-specific labels for facet display\ntoggleOnLabel:config.toggleOnLabel,toggleOffLabel:config.toggleOffLabel};});// CRITICAL FIX: Use setState callback to avoid needing 'state' in dependencies\n// This prevents Update effect from running when OTHER components update the store\nsetState(prevState=>{// Update store with new filters\n// BUGFIX: Merge filters intelligently - if another component has the same field, update it instead of duplicating\nconst currentFilters=prevState?.filters||[];const normalizeFieldName=field=>(field||\"\").trim().toLowerCase();const normalizeOperator=operator=>(operator||\"\").trim().toLowerCase();const normalizeType=type=>(type||\"\").trim().toLowerCase();const buildFilterKey=(field,type,operator)=>`${normalizeFieldName(field)}::${normalizeType(type)}::${normalizeOperator(operator)}`;// Track which field/type/operator combos this component is explicitly clearing\nconst previousComponentFilters=currentFilters.filter(f=>f.componentId===id);const clearedFields=new Set;const clearedFieldNames=new Set;const activeFieldKeys=new Set(activeFilters.map(filter=>normalizeFieldName(filter.field)));previousComponentFilters.forEach(prevFilter=>{const stillActive=activeFilters.some(newFilter=>normalizeFieldName(newFilter.field)===normalizeFieldName(prevFilter.field)&&newFilter.type===prevFilter.type&&newFilter.operator===prevFilter.operator);if(!stillActive){clearedFields.add(buildFilterKey(prevFilter.field,prevFilter.type,prevFilter.operator));clearedFieldNames.add(normalizeFieldName(prevFilter.field));}});// Also detect cleared fields based on current filter values (e.g., selecting \"All\")\nfilters.forEach((config,index)=>{if(!config.fieldName||!config.fieldName.trim()){return;}const filterId=`filter-${index}`;if(!Object.prototype.hasOwnProperty.call(filterValues,filterId)){return;}const value=filterValues[filterId];if(hasValidValue(config,value)){return;}const normalizedField=normalizeFieldName(config.fieldName);const operator=getActiveMatch(config);clearedFields.add(buildFilterKey(config.fieldName,config.filterType,operator));if(!activeFieldKeys.has(normalizedField)){clearedFieldNames.add(normalizedField);}});// Get filters from other components, removing any that match cleared fields\nconst otherComponentFilters=currentFilters.filter(f=>{if(f.componentId===id){return false;}const key=buildFilterKey(f.field,f.type,f.operator);const normalizedField=normalizeFieldName(f.field);const shouldClearByKey=clearedFields.has(key);const shouldClearByField=clearedFieldNames.has(normalizedField)&&!activeFieldKeys.has(normalizedField);if(shouldClearByKey||shouldClearByField){if(debugLevel===\"full_debug\"){console.log(\"[CMSFilters] Removing cross-component filter due to 'All' selection\",{componentId:id,clearedKey:key,clearedByFilter:f,clearedByField:normalizedField,clearedMode:shouldClearByKey?\"key\":\"field\"});}return false;}return true;});// For each active filter, check if there's an existing filter for the same field from another component\nconst mergedFilters=[...otherComponentFilters];activeFilters.forEach(newFilter=>{// Find if any other component already has a filter for this field with same type and operator\nconst existingIndex=mergedFilters.findIndex(f=>normalizeFieldName(f.field)===normalizeFieldName(newFilter.field)&&f.type===newFilter.type&&f.operator===newFilter.operator);if(existingIndex>=0){// Update existing filter value instead of adding duplicate\nmergedFilters[existingIndex]={...mergedFilters[existingIndex],value:newFilter.value,displayTitle:newFilter.displayTitle,logic:newFilter.logic,builderLogic:newFilter.builderLogic,config:newFilter.config,toggleOnLabel:newFilter.toggleOnLabel,toggleOffLabel:newFilter.toggleOffLabel};}else{// Add new filter\nmergedFilters.push(newFilter);}});// ANTI-LOOP: Only update store if filters actually changed\n// CRITICAL: Sort by ID to ensure consistent comparison regardless of order\nconst currentFiltersKey=JSON.stringify(currentFilters.map(f=>({id:f.id,field:f.field,value:f.value,operator:f.operator})).sort((a,b)=>a.id.localeCompare(b.id)));const mergedFiltersKey=JSON.stringify(mergedFilters.map(f=>({id:f.id,field:f.field,value:f.value,operator:f.operator})).sort((a,b)=>a.id.localeCompare(b.id)));if(currentFiltersKey!==mergedFiltersKey){if(debugLevel===\"full_debug\"){console.log(\"✍️ WRITING to store (DIFFERENCE DETECTED):\",{componentId:id,currentFiltersKey,mergedFiltersKey,currentFilters:currentFilters.filter(f=>f.componentId===id),mergedFilters:mergedFilters.filter(f=>f.componentId===id)});}// Return new state with updated filters\nreturn{...prevState,filters:mergedFilters};}if(debugLevel===\"full_debug\"){console.log(\"⏭️ SKIPPED store write (no change):\",{componentId:id});}// Return same state reference - prevents triggering other effects\nreturn prevState;});}},[isInitialized,filterValues,filters,setState,// NOTE: 'state' is INTENTIONALLY NOT in deps\n// We use setState callback to access fresh state without depending on it\n// This prevents Update effect from running when OTHER components update the store\nid,builderLogic,debugLevel]);// Handle individual filter value changes\nconst handleFilterChange=(index,value)=>{const filterId=`filter-${index}`;if(debugLevel===\"full_debug\"){console.log(\"👆 USER CLICKED filter:\",{componentId:id,filterId,newValue:value,previousValue:filterValues[filterId]});}setFilterValues(prev=>({...prev,[filterId]:value}));};// Render individual filters\nconst renderFilters=()=>{return filters.map((config,index)=>{const filterId=`filter-${index}`;const value=filterValues[filterId];return /*#__PURE__*/_jsx(FilterControl,{config:config,value:value,onChange:newValue=>handleFilterChange(index,newValue),availableFields:availableFields,debugLevel:debugLevel,filterContainerStyles:filterContainerStyles||{},filterLabelStyles:filterLabelStyles||{},filterInputStyles:filterInputStyles||{},filterPillStyles:filterPillStyles||{},filterRangeStyles:filterRangeStyles||{},filterToggleStyles:filterToggleStyles||{},filterCheckboxStyles:filterCheckboxStyles||{},filterSelectStyles:filterSelectStyles||{},uniqueClassName:uniqueClassName,collectionInfo:collectionInfo},filterId);});};// Loading state - only check for collection connection\nif(!collection||!Array.isArray(collection)||!collection.length){return /*#__PURE__*/_jsxs(\"div\",{style:{padding:16,textAlign:\"center\",color:\"#666\"},children:[/*#__PURE__*/_jsx(\"div\",{children:\"🔄 Connecting to CMS collection...\"}),debugLevel!==\"hide\"&&/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:11,marginTop:4},children:[\"Store key: \",actualStoreKey]})]});}// Main render\nreturn /*#__PURE__*/_jsxs(\"div\",{className:`cms-filters ${uniqueClassName}`,style:{// display: \"flex\",\n// flexDirection: \"column\",\n// gap: 12,\n...style,display:\"grid\",gridTemplateColumns:`repeat(${filterContainerStyles.column}, 1fr)`,gap:filterContainerStyles.gap},children:[debugLevel===\"ui_helpers\"&&/*#__PURE__*/_jsxs(\"div\",{style:{padding:8,backgroundColor:\"#f0f9ff\",border:\"1px solid #0ea5e9\",borderRadius:4,fontSize:11,color:\"#0369a1\"},children:[/*#__PURE__*/_jsxs(\"div\",{children:[\"🔧 CMS Filters: \",filters.length,\" configured,\",\" \",Object.keys(filterValues).length,\" with values\"]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Logic: \",builderLogic,\" | Store: \",actualStoreKey]})]}),debugLevel===\"full_debug\"&&/*#__PURE__*/_jsxs(\"div\",{style:{padding:8,backgroundColor:\"#fef3c7\",border:\"1px solid #f59e0b\",borderRadius:4,fontSize:10,color:\"#92400e\",fontFamily:\"monospace\"},children:[/*#__PURE__*/_jsxs(\"div\",{children:[\"Component ID: \",id]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Store Key: \",actualStoreKey]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Initialized: \",isInitialized?\"✅\":\"❌\"]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Available Fields: \",availableFields.length]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Filter Values: \",JSON.stringify(filterValues)]})]}),filters.length>0?renderFilters():/*#__PURE__*/_jsx(\"div\",{style:{padding:16,textAlign:\"center\",color:\"#666\",fontStyle:\"italic\"},children:\"No filters configured. Add filter configurations to start filtering.\"})]});}// Property Controls - Complete implementation restored from original\naddPropertyControls(CMSFilters,{collection:{type:ControlType.Slot,title:\"Collection\",description:\"Connect your CMS Collection List component here\",maxCount:1},filters:{type:ControlType.Array,title:\"Filters\",description:\"Configure individual filter controls for your CMS fields\",control:{type:ControlType.Object,controls:{title:{type:ControlType.String,title:\"Display Title\",description:\"Label shown to users above the filter control\",placeholder:\"e.g., Price Range, Category, Status\",defaultValue:\"Filter\"},fieldName:{type:ControlType.String,title:\"CMS Field Name\",description:\"Exact name of the CMS field to filter (case-sensitive)\",placeholder:\"e.g., Title, Price, Category\",defaultValue:\"\"},filterType:{type:ControlType.Enum,title:\"Filter Type\",description:\"Choose the type of filter UI based on your field data\",options:[\"text\",\"number\",\"dropdown\",\"range\",\"toggle\",\"cms-enum\"],optionTitles:[\"Text Input\",\"Number Input\",\"Dropdown\",\"Range Slider\",\"Toggle\",\"CMS Dropdown\"],defaultValue:\"text\"},// UPDATE matchText to work with dropdown too:\nmatchText:{type:ControlType.Enum,title:\"Match\",description:\"How to match the user input against field values\",options:[\"contains\",\"not_contains\",\"starts_with\",\"ends_with\",\"equals\",\"not_equals\",\"greater_than\",\"less_than\",\"greater_than_or_equal\",\"less_than_or_equal\",\"is_set\",\"is_not_set\"],optionTitles:[\"Contains\",\"Doesn't contain\",\"Starts with\",\"Ends with\",\"Equals\",\"Doesn't equal\",\"Greater than\",\"Less than\",\"Greater than or equal\",\"Less than or equal\",\"Is set\",\"Is not set\"],defaultValue:\"contains\",hidden:props=>![\"text\",\"dropdown\"].includes(props.filterType)},matchNumber:{type:ControlType.Enum,title:\"Match\",description:\"How to compare numbers in this field\",options:[\"equals\",\"not_equals\",\"greater_than\",\"less_than\",\"greater_than_or_equal\",\"less_than_or_equal\",\"is_set\",\"is_not_set\"],optionTitles:[\"Equals\",\"Doesn't equal\",\"Greater than\",\"Less than\",\"Greater than or equal\",\"Less than or equal\",\"Is set\",\"Is not set\"],defaultValue:\"equals\",hidden:props=>props.filterType!==\"number\"},matchToggle:{type:ControlType.Enum,title:\"Match\",description:\"How to match boolean/toggle field values\",options:[\"is_enabled\",\"is_disabled\",\"is_set\",\"is_not_set\"],optionTitles:[\"Is Enabled\",\"Is Disabled\",\"Is set\",\"Is not set\"],defaultValue:\"is_enabled\",hidden:props=>props.filterType!==\"toggle\"},matchEnum:{type:ControlType.Enum,title:\"Match\",description:\"How to match CMS enum field values\",options:[\"equals\",\"not_equals\",\"is_set\",\"is_not_set\"],optionTitles:[\"Equals\",\"Doesn't equal\",\"Is set\",\"Is not set\"],defaultValue:\"equals\",hidden:props=>props.filterType!==\"cms-enum\"},// Hide the generic match control\nmatch:{type:ControlType.Enum,title:\"Match (Hidden)\",options:[\"hidden\"],optionTitles:[\"Hidden\"],defaultValue:\"hidden\",hidden:()=>true},// Range-specific options\nmin:{type:ControlType.Number,title:\"Min Value (Range)\",description:\"Minimum possible value for this range filter\",defaultValue:0,hidden:props=>props.filterType!==\"range\"},max:{type:ControlType.Number,title:\"Max Value (Range)\",description:\"Maximum possible value for this range filter\",defaultValue:100,hidden:props=>props.filterType!==\"range\"},step:{type:ControlType.Number,title:\"Step (Range)\",description:\"Increment step size for the range slider\",defaultValue:1,hidden:props=>props.filterType!==\"range\"},rangeStyle:{type:ControlType.Enum,title:\"Range Style\",description:\"Choose between input fields or a visual slider\",options:[\"dual-input\",\"range-slider\"],optionTitles:[\"Dual Input\",\"Range Slider\"],defaultValue:\"dual-input\",hidden:props=>props.filterType!==\"range\"},rangeInputOptions:{type:ControlType.Enum,title:\"Dual Input Options\",description:\"Select range input options (left and right) or full range\",options:[\"left-right\",\"full-width\"],optionTitles:[\"Left and Right\",\"Full Width\"],defaultValue:\"full-width\",hidden:props=>props.filterType!==\"range\"||props.rangeStyle!==\"dual-input\"},rangeBottomLabel:{type:ControlType.Boolean,title:\"Range Bottom Label\",description:\"Show label below the range input fields\",enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:true,hidden:props=>props.filterType!==\"range\"||props.rangeStyle!==\"dual-input\"},unit:{type:ControlType.String,title:\"Unit\",description:\"Unit symbol displayed with values (optional)\",placeholder:\"e.g., $, %, units, px, km\",defaultValue:\"\",hidden:props=>props.filterType!==\"range\"||props.rangeStyle!==\"dual-input\"},// Toggle-specific options\ntoggleStyle:{type:ControlType.Enum,title:\"Toggle Style\",description:\"Choose the UI style for the toggle control\",options:[\"switch\",\"pill\"],optionTitles:[\"Switch\",\"Pill (Segmented)\"],defaultValue:\"switch\",hidden:props=>props.filterType!==\"toggle\"},toggleTriState:{type:ControlType.Boolean,title:\"Tri-State Mode\",description:\"Enable 3-state toggle: ON / OFF / ANY (no filter)\",enabledTitle:\"Enabled\",disabledTitle:\"Disabled\",defaultValue:false,hidden:props=>props.filterType!==\"toggle\"},toggleAnyLabel:{type:ControlType.String,title:\"ANY Label\",description:\"Custom label for ANY state (tri-state only)\",placeholder:\"e.g., All, Any, No Filter\",defaultValue:\"Any\",hidden:props=>props.filterType!==\"toggle\"||!props.toggleTriState},toggleInverse:{type:ControlType.Boolean,title:\"Inverse Logic\",description:\"Invert filter logic (ON = exclude, OFF = include)\",enabledTitle:\"Inverted\",disabledTitle:\"Normal\",defaultValue:false,hidden:props=>props.filterType!==\"toggle\"},toggleShowLabels:{type:ControlType.Boolean,title:\"Show Labels\",description:\"Display state labels next to toggle control\",enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:true,hidden:props=>props.filterType!==\"toggle\"||props.toggleStyle!==\"switch\"},toggleOnLabel:{type:ControlType.String,title:\"ON Label\",description:\"Custom label for ON state (optional)\",placeholder:\"e.g., Enabled, Active, Include\",defaultValue:\"\",hidden:props=>props.filterType!==\"toggle\"},toggleOffLabel:{type:ControlType.String,title:\"OFF Label\",description:\"Custom label for OFF state (optional)\",placeholder:\"e.g., Disabled, Inactive, Exclude\",defaultValue:\"\",hidden:props=>props.filterType!==\"toggle\"},// Dropdown/Multi-select options\noptions:{type:ControlType.Array,title:\"Options\",description:\"Define the list of options for dropdown filtering\",control:{type:ControlType.Object,controls:{value:{type:ControlType.String,title:\"Value (for filtering)\",description:\"Value to match against field data\",placeholder:\"e.g., premium, basic, enterprise\",defaultValue:\"\"},title:{type:ControlType.String,title:\"Display Title\",description:\"Text shown to users in the dropdown\",placeholder:\"e.g., Premium Plan, Basic Plan\",defaultValue:\"\"}}},defaultValue:[{value:\"option1\",title:\"Option 1\"},{value:\"option2\",title:\"Option 2\"}],hidden:props=>props.filterType!==\"dropdown\"},multiStyle:{type:ControlType.Enum,title:\"Selection Style\",description:\"How to display the dropdown options\",options:[\"checkboxes\",\"tags\",\"select\"],optionTitles:[\"Checkboxes\",\"Tag Buttons\",\"Select\"],defaultValue:\"checkboxes\",hidden:props=>props.filterType!==\"dropdown\"},enumStyle:{type:ControlType.Enum,title:\"CMS Selection Style\",description:\"How to display the CMS dropdown options\",options:[\"tags\",\"checkboxes\",\"dropdown\"],optionTitles:[\"Tag Buttons\",\"Checkboxes\",\"Select\"],defaultValue:\"tags\",hidden:props=>props.filterType!==\"cms-enum\"},// ADD new allowMultiple control:\nallowMultiple:{type:ControlType.Boolean,title:\"Allow Multiple Selection\",description:\"Let users select multiple options at once\",defaultValue:false,hidden:props=>!(props.filterType===\"dropdown\"||props.filterType===\"cms-enum\")},logic:{type:ControlType.Enum,title:\"Logic\",description:\"When multiple options are selected, how should they be combined?\",options:[\"All\",\"Any\"],optionTitles:[\"All (AND)\",\"Any (OR)\"],defaultValue:\"Any\",hidden:props=>{// Show logic only for dropdown with multiple selection\n// CMS Enum doesn't need logic (Framer enums are single-value only)\nreturn!(props.filterType===\"dropdown\"&&props.allowMultiple);}},showPostCount:{type:ControlType.Boolean,title:\"Show Post Count\",description:\"Display the number of posts for each option\",defaultValue:false,hidden:props=>props.filterType!==\"cms-enum\"},countTemplate:{type:ControlType.String,title:\"Count Template\",description:\"Template for displaying count. Use {count} as placeholder. Examples: [{count}], ({count}), •{count}\",defaultValue:\"[{count}]\",placeholder:\"[{count}]\",hidden:props=>props.filterType!==\"cms-enum\"||!props.showPostCount},countStyle:{type:ControlType.Object,title:\"Count Styling\",description:\"CSS styling for the count display\",controls:{font:{type:ControlType.Font,title:\"Font Family\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:12,min:8,max:100,step:1,unit:\"px\"},color:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#666666\"},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"#f0f0f0\"},padding:{type:ControlType.Padding,title:\"Padding\",description:\"CSS padding value (e.g., '2px 4px', '4px')\",defaultValue:\"2px 4px 2px 4px\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:3,step:1,unit:\"px\"},margin:{type:ControlType.Padding,title:\"Margin\",description:\"CSS margin value (e.g., '0 4px', '4px 0')\",defaultValue:\"0px 0px 0px 4px\"},size:{type:ControlType.Number,title:\"Size\",description:\"Width and Height of Count\",defaultValue:0,min:0,max:100,step:1}},hidden:props=>props.filterType!==\"cms-enum\"||!props.showPostCount},showAllOption:{type:ControlType.Boolean,title:\"Show 'All' option\",description:\"Add an 'All' option to reset this filter\",defaultValue:true,hidden:props=>!(props.filterType===\"dropdown\"||props.filterType===\"cms-enum\")},allOptionLabel:{type:ControlType.String,title:\"All Label\",description:\"Custom text for the 'All' reset option\",placeholder:\"e.g., All Posts, All Categories, Show All\",defaultValue:\"All\",hidden:props=>!(props.filterType===\"dropdown\"||props.filterType===\"cms-enum\")||!props.showAllOption},allowDeselect:{type:ControlType.Boolean,title:\"Allow Deselect\",description:\"Allow users to click selected option to deselect it (single selection only)\",defaultValue:true,hidden:props=>!(props.filterType===\"dropdown\"||props.filterType===\"cms-enum\")||props.allowMultiple}}},defaultValue:[]},builderLogic:{type:ControlType.Enum,title:\"Builder Logic\",description:\"How to combine filters within this builder\",displaySegmentedControl:true,segmentedControlDirection:\"vertical\",options:[\"All\",\"Any\"],optionTitles:[\"All (AND)\",\"Any (OR)\"],defaultValue:\"All\"},filterContainerStyles:{type:ControlType.Object,title:\"Container Styles\",description:\"Styling for the overall filter container layout\",controls:{column:{type:ControlType.Number,title:\"Column\",description:\"Number of columns for filter layout\",defaultValue:1,min:1,max:10,step:1,displayStepper:true},gap:{type:ControlType.Number,title:\"Column Gap\",description:\"Spacing between filter columns\",defaultValue:12,min:0,max:100,step:1},backgroundColor:{type:ControlType.Color,defaultValue:\"transparent\",optional:true},padding:{type:ControlType.Padding,defaultValue:\"0px\"},border:{type:ControlType.Border,defaultValue:{borderWidth:0,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:0,min:0,max:50,step:1}},defaultValue:{backgroundColor:\"transparent\"}},filterLabelStyles:{type:ControlType.Object,title:\"Label Styles\",description:\"Styling for filter titles/labels\",controls:{labelToggle:{type:ControlType.Boolean,title:\"Toggle\",description:\"Show or hide filter labels\",enabledTitle:\"Show\",disabledTitle:\"Hide\"},font:{type:ControlType.Font,title:\"Font Family\",hidden:props=>!props.labelToggle},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:14,min:8,max:100,step:1,hidden:props=>!props.labelToggle},padding:{type:ControlType.Padding,defaultValue:\"0px 0px 16px 0px\",hidden:props=>!props.labelToggle},color:{type:ControlType.Color,defaultValue:\"#333\",optional:true,hidden:props=>!props.labelToggle}},defaultValue:{fontSize:14,padding:\"0px 0px 16px 0px\",color:\"#333\"}},filterInputStyles:{type:ControlType.Object,title:\"Input Styles\",description:\"Styling for input fields and interactive elements\",controls:{font:{type:ControlType.Font,title:\"Font Family\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:14,min:8,max:100,step:1},padding:{type:ControlType.Padding,defaultValue:\"8px 16px 8px 16px\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#333\"},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"white\"},border:{type:ControlType.Border,defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:6,min:0,max:100,step:1},selectedTextColor:{type:ControlType.Color,title:\"Selected Background Color\",defaultValue:\"#333\",optional:true},selectedBackgroundColor:{type:ControlType.Color,title:\"Selected Inner Background Color\",defaultValue:\"white\",optional:true},selectedBorderColor:{type:ControlType.Color,title:\"Selected Border Color\",defaultValue:\"#000\"},hoverTextColor:{type:ControlType.Color,title:\"Hover Color\",defaultValue:\"#333\",optional:true},hoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background Color\",defaultValue:\"#f8f9fa\",optional:true},hoverBorderColor:{type:ControlType.Color,title:\"Hover Border Color\",defaultValue:\"#007AFF\",optional:true}},defaultValue:{fontSize:14,backgroundColor:\"#fff\",borderRadius:6}},filterPillStyles:{type:ControlType.Object,title:\"Pill Styles\",description:\"Styling for pill button fields and interactive elements\",controls:{font:{type:ControlType.Font,title:\"Font Family\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:14,min:8,max:100,step:1},gap:{type:ControlType.Number,title:\"Gap\",description:\"Spacing between filter tag\",defaultValue:6,step:1},padding:{type:ControlType.Padding,defaultValue:\"8px 16px 8px 16px\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#333\"},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"white\"},border:{type:ControlType.Border,defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:6,min:0,max:100,step:1},selectedTextColor:{type:ControlType.Color,title:\"Selected Text Color\",defaultValue:\"white\",optional:true},selectedBackgroundColor:{type:ControlType.Color,title:\"Selected Background Color\",defaultValue:\"#007AFF\",optional:true},selectedBorderColor:{type:ControlType.Color,title:\"Selected Border Color\",defaultValue:\"#007AFF\"},hoverTextColor:{type:ControlType.Color,title:\"Hover Color\",defaultValue:\"#333\",optional:true},hoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background Color\",defaultValue:\"#fff\",optional:true},hoverBorderColor:{type:ControlType.Color,title:\"Hover Border Color\",defaultValue:\"#007AFF\",optional:true}},defaultValue:{fontSize:14,backgroundColor:\"#fff\",borderRadius:6}},filterToggleStyles:{type:ControlType.Object,title:\"Toggle Styles\",controls:{// Switch-specific controls\nswitchWidth:{type:ControlType.Number,title:\"Switch Width\",defaultValue:52,min:24,max:200,step:1,displayStepper:true},switchHeight:{type:ControlType.Number,title:\"Switch Height\",defaultValue:24,min:12,max:100,step:1,displayStepper:true},knobSize:{type:ControlType.Number,title:\"Switch Knob Size\",defaultValue:18,min:8,max:100,step:1,displayStepper:true},gap:{type:ControlType.Number,title:\"Switch Gap\",defaultValue:2,min:0,max:100,step:1,displayStepper:true},// Pill specific controls\npadding:{type:ControlType.Padding,title:\"Pill Padding\",defaultValue:\"8px 12px 8px 12px\"},pillGap:{type:ControlType.Number,title:\"Pill Gap\",defaultValue:0,min:0,max:20,step:1,displayStepper:true},// Color controls\nbackgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#e0e0e0\"},innerBackgroundColor:{type:ControlType.Color,title:\"Inner Background\",defaultValue:\"white\"},border:{type:ControlType.Border,defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:50,min:0,max:100,step:1},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#333\"},// Selected state colors\nselectedBackgroundColor:{type:ControlType.Color,title:\"Selected Background\",defaultValue:\"#007AFF\",optional:true},selectedTextColor:{type:ControlType.Color,title:\"Selected Text Color\",defaultValue:\"#fff\",optional:true},selectedBorderColor:{type:ControlType.Color,title:\"Selected Border\",defaultValue:\"#007AFF\",optional:true},// Hover state colors\nhoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background\",defaultValue:\"#0056b3\",optional:true},hoverTextColor:{type:ControlType.Color,title:\"Hover Text Color\",defaultValue:\"#fff\",optional:true},hoverBorderColor:{type:ControlType.Color,title:\"Hover Border\",defaultValue:\"#004085\",optional:true},// Label styling\nfont:{type:ControlType.Font,title:\"Font Family\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:14,min:8,max:32,step:1,displayStepper:true},labelColor:{type:ControlType.Color,title:\"Label Color\",defaultValue:\"#666\",optional:true}},defaultValue:{backgroundColor:\"#e0e0e0\",borderRadius:50,selectedBackgroundColor:\"#007AFF\"}},filterRangeStyles:{type:ControlType.Object,title:\"Range Styles\",controls:{font:{type:ControlType.Font,title:\"Font Family\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:14,step:1},minRangeValueGap:{type:ControlType.Number,title:\"Min Range Gap\",defaultValue:1,min:1,step:1},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"0px\"},trackColor:{type:ControlType.Color,title:\"Track Color\",defaultValue:\"#dddddd\"},rangeColor:{type:ControlType.Color,title:\"Range Color\",defaultValue:\"#007AFF\"},thumbColor:{type:ControlType.Color,title:\"Thumb Color\",defaultValue:\"#ffffff\"},thumbBorderColor:{type:ControlType.Color,title:\"Thumb Border Color\",defaultValue:\"#007AFF\"},bubbleColor:{type:ControlType.Color,title:\"Bubble Color\",defaultValue:\"#007AFF\"},bubbleTextColor:{type:ControlType.Color,title:\"Bubble Text Color\",defaultValue:\"#ffffff\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:20,min:0,max:50,step:1},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"transparent\"}},defaultValue:{}},filterCheckboxStyles:{type:ControlType.Object,title:\"Checkboxes Styles\",controls:{font:{type:ControlType.Font,title:\"Font Family\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:14,min:8,max:100,step:1},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:6,step:1},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"white\"},border:{type:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:0,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},borderRadius:{type:ControlType.BorderRadius,title:\"Border Radius\",defaultValue:\"3px\"},hoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background Color\",defaultValue:\"#f8f9fa\"},hoverBorderColor:{type:ControlType.Color,title:\"Hover Border Color\",defaultValue:\"#dee2e6\"},activeBackgroundColor:{type:ControlType.Color,title:\"Active Background Color\",defaultValue:\"#007AFF\"},activeBorderColor:{type:ControlType.Color,title:\"Active Border Color\",defaultValue:\"#007AFF\"},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"8px 0px 8px 0px\"},checkboxGap:{type:ControlType.Number,title:\"Checkbox Gap\",defaultValue:10,step:1},scale:{type:ControlType.Number,title:\"Size\",defaultValue:18,min:10,max:100,step:1},color:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#333\"},checkboxBackgroundColor:{type:ControlType.Color,title:\"Checkbox Background Color\",defaultValue:\"white\"},checkboxBorder:{type:ControlType.Border,title:\"Checkbox Border\",defaultValue:{borderWidth:2,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},checkboxBorderRadius:{type:ControlType.Number,title:\"Checkbox Border Radius\",defaultValue:3,min:0,max:100,step:1},selectedTextColor:{type:ControlType.Color,title:\"Selected Text Color\",defaultValue:\"#000\",optional:true},selectedBackgroundColor:{type:ControlType.Color,title:\"Checkbox Selected Background Color\",defaultValue:\"#007AFF\",optional:true},selectedBorderColor:{type:ControlType.Color,title:\"Checkbox Selected Border Color\",defaultValue:\"#007AFF\"},selectedSvgColor:{type:ControlType.Color,title:\"Checkbox Selected Check Color\",defaultValue:\"#fff\"}},defaultValue:{}},filterSelectStyles:{type:ControlType.Object,title:\"Select Styles\",controls:{selectControls:{type:ControlType.Object,title:\"Select Control Styles\",controls:{font:{type:ControlType.Font,title:\"Font Family\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:14,min:8,max:100,step:1},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"8px 12px 8px 12px\"},marginTop:{type:ControlType.Number,title:\"Gap\",defaultValue:4,min:0,max:100,step:1},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#333\"},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"white\"},border:{type:ControlType.Border,defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},borderRadius:{type:ControlType.BorderRadius,title:\"Border Radius\",defaultValue:\"3px\"},hoverTextColor:{type:ControlType.Color,title:\"Hover Text Color\",defaultValue:\"#333\"},hoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background Color\",defaultValue:\"#f8f9fa\"},hoverBorderColor:{type:ControlType.Color,title:\"Hover Border Color\",defaultValue:\"#007AFF\"},selectedTextColor:{type:ControlType.Color,title:\"Selected Text Color\",defaultValue:\"#fff\"},selectedBackgroundColor:{type:ControlType.Color,title:\"Selected Background Color\",defaultValue:\"#007AFF\"},selectedBorderColor:{type:ControlType.Color,title:\"Selected Border Color\",defaultValue:\"#007AFF\"},arrowSize:{type:ControlType.Number,title:\"Arrow Size\",defaultValue:16,step:1},arrowPosition:{type:ControlType.Number,title:\"Arrow Position\",defaultValue:8,step:1},arrowColor:{type:ControlType.Color,title:\"Arrow Color\",defaultValue:\"\"}}},optionControls:{type:ControlType.Object,title:\"Option Styles\",controls:{maxHeight:{type:ControlType.Number,title:\"Max Height\",defaultValue:200,min:100,max:500,step:1,unit:\"px\"},optionFont:{type:ControlType.Font,title:\"Font Family\"},optionFontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:14,min:8,max:100,step:1},dropdownPadding:{type:ControlType.Padding,title:\"Dropdown Padding\",defaultValue:\"0px\"},dropdownBackgroundColor:{type:ControlType.Color,title:\"Dropdown Background Color\",defaultValue:\"white\"},dropdownBorder:{type:ControlType.Border,title:\"Dropdown Border\",defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},dropdownBorderRadius:{type:ControlType.BorderRadius,title:\"Dropdown Border Radius\",defaultValue:\"3px\"},optionPadding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"8px 16px 8px 16px\"},optionMargin:{type:ControlType.Padding,title:\"Margin\",defaultValue:\"0\"},optionColor:{type:ControlType.Color,title:\"Color\",defaultValue:\"#333\"},optionBackgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"white\"},optionBorder:{type:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},optionBorderRadius:{type:ControlType.BorderRadius,title:\"Border Radius\",defaultValue:\"3px\"},optionHoverTextColor:{type:ControlType.Color,title:\"Hover Text Color\",defaultValue:\"#333\"},optionHoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background Color\",defaultValue:\"#f8f9fa\"},optionHoverBorderColor:{type:ControlType.Color,title:\"Hover Border Color\",defaultValue:\"#dee2e6\"},optionSelectedTextColor:{type:ControlType.Color,title:\"Selected Text Color\",defaultValue:\"#fff\"},optionSelectedBackgroundColor:{type:ControlType.Color,title:\"Selected Background Color\",defaultValue:\"#007AFF\"},optionSelectedBorderColor:{type:ControlType.Color,title:\"Selected Border Color\",defaultValue:\"#007AFF\"}}}},defaultValue:{}},storeKey:{type:ControlType.String,title:\"Filter Group\",description:\"Components with same group share filters. Leave empty or 'auto' to use collection name.\",defaultValue:\"auto\",placeholder:\"auto (uses collection name)\"},debugLevel:{type:ControlType.Enum,title:\"🐛 Debug Level\",description:\"Development tool to show UI helpers and debug info\",options:[\"hide\",\"ui_helpers\",\"full_debug\"],optionTitles:[\"Hide (Production)\",\"UI Helpers (Development)\",\"Full Debug (Deep Development)\"],defaultValue:\"hide\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CMSFilters\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CMSFilters.map"],"mappings":"kQAA8E,SAAgB,EAAY,EAAO,CACjH,IAAM,EAAU,EAAK,CAAC,MAAM,OAAO,OAAO,CAAC,GAAG,EAAO,CAAC,CAAC,CAAC,CAClD,EAAa,GAAU,CAC1B,OAAO,GAAW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