{"version":3,"file":"CMSFilters.CD3o9mZ9.mjs","names":["useState","useRef","useMemo","cloneElement","_Fragment","_jsx","_Fragment","_Fragment","useState","useRef","_Fragment","_Fragment","useState","useRef","_Fragment","_Fragment","_Fragment","_Fragment","useState","useRef","__esmMin","init_ssg_sandbox_shims","init_npm_react_18_3_1","window","pe","z","ce","init_jsx_runtime","c","_e","de","useQueryData","RenderTarget","init_framer_BkYB2Gqq","Data","addPropertyControls","ControlType","useObserveData","createStore","dataStore","state1","setDataStore","newState","storeState","storeSetters","setStoreState","setter","useStore","state","setState","init_createStore","init_store_js__1","evGetRandomString","result","i","length","globalInitStore","stores","getCollectionStore","getCollectionStoreKey","getCollectionInfo","getAvailableFilterFields","isCanvas","init_store_management","collectionId","newStore","initState","setInitState","manualStoreKey","cmsQuery","collection","alias","data","propertyControls","key","control","field","buildFlatArrayCondition","tagId","refCollectionAlias","refCollectionData","mainAlias","refFieldName","buildMultiReferenceQueryFromFilter","values","filter","query","hasValidFilterValue","buildSearchWhereClause","buildFilterWhereClause","buildFiltersWhereClause","buildMultiValueFilterClause","combineWhereClauses","buildOrderByClause","init_query_builders","operator","value","searchTerm","searchFields","searchFieldKeys","title","conditions","fieldKey","whereClause","refFieldKey","shouldInvert","isTriStateOff","baseQuery","mappedOperator","validFilters","filters","filtersByComponent","componentConditions","componentFilters","componentId","builderLogic","filterConditions","builderOperator","componentCombined","globalOperator","globalLogic","globalCombined","debugMode","baseIdentifier","val","filterOperator","combined","existing","additional","sortState","sort","getComponentName","processVariantOverrides","wrapWithVariantOverrides","init_variant_utils","element","child","variantOverrides","depth","componentName","override","vo","newProps","originalJSX","originalChildrenFn","paginationInfo","loadMore","useQueryCount","countQuery","CMSCollection","props","fallbackText","fallback","fallbackFont","fallbackBackgroundColor","fallbackPadding","fallbackBorderRadius","actualStoreKey","storeKey","isInitialized","isStoreInitialized","collectionInfo","originalQuery","searchWhere","filtersWhere","filterLogic","combinedWhere","finalWhere","orderBy","containerStyles","layoutToggle","layoutDisplay","flexDirection","alignRow","alignColumn","flexWrap","gapY","gapX","gapRow","gridColumns","gridRows","justifyContent","gridAutoRows","filteredQuery","currentCount","clonedCollection","originalElement","originalListElement","originalQueryElement","overflow","processedCollection","listElement","containerElement","cmsItem","wrappedChildren","newCmsItem","isEditorMode","showEmptyState","canvasCollection","style","collectionWidth","modifiedEmptyState","emptyState","emptyStateWidth","urlSync","l","urlPrefix","init_CMSCollection","layout","getOptionData","getActiveMatch","getRecommendedFilterType","getOptionCounts","formatCountDisplay","hasValidValue","init_filter_utils","config","titles","optionMap","option","cmsFieldType","counts","enumValues","enumValue","countData","template","countText","count","countStyle","activeMatch","TextFilter","uniqueClassName","filterInputStyles","border","onChange","init_TextFilter","NumberFilter","stringValue","numValue","init_NumberFilter","SelectFilter","isOpen","setIsOpen","dropdownRef","handleClickOutside","event","selectedValues","toggleOption","optionValue","v","getDisplayText","idx","selectControls","filterSelectStyles","optionControls","selectedIdx","displayText","init_SelectFilter","TagFilter","isAllSelected","filterPillStyles","optionTitle","isSelected","debugLevel","init_TagFilter","CheckboxFilter","selected","options","filterCheckboxStyles","current","init_CheckboxFilter","DropdownFilter","init_DropdownFilter","DoubleRangeSlider","min","max","step","initialMin","initialMax","minRange","setMinRange","maxRange","setMaxRange","isSyncingRef","lastEmittedRef","rangeTrackRef","minInputRef","maxInputRef","nextMin","nextMax","minPercentage","maxPercentage","onRangeChange","handleMinInput","newValue","minRangeValueGap","handleMaxInput","handleTrackClick","rect","clickPercentage","clickValue","newMin","steppedMin","newMax","steppedMax","borderRadius","padding","rangeColor","bubbleColor","bubbleTextColor","font","trackColor","thumbBorderColor","thumbColor","init_DoubleRangeSlider","RangeFilter","currentValue","unit","filterRangeStyles","init_RangeFilter","ToggleFilter","toggleStyle","isTriState","showLabels","isInverse","defaultLabels","onLabel","offLabel","anyLabel","isValueActive","currentState","handleClick","renderSwitch","renderPill","switchWidth","filterToggleStyles","switchHeight","knobSize","gap","borderString","borderWidth","borderStyle","borderColor","knobPositionOff","knobPositionAny","knobPositionOn","stateClass","pillGap","pillOptions","activeIndex","opt","totalOptions","pillWidthFormula","leftPosition","sliderWidth","pillBackgroundColor","isActive","init_ToggleFilter","CMSEnumFilter","enumFieldInfo","availableFields","f","enumOptions","optionCounts","configWithOptions","countElement","init_CMSEnumFilter","FilterControl","fieldInfo","isToggleInvalid","hasValue","showLabel","filterLabelStyles","labelText","fieldExists","isValidField","filterContainerStyles","init_FilterControl","CMSFilters","debug","id","filterValues","setFilterValues","setIsInitialized","thisComponentFilters","restoredValues","lastDashIndex","filterId","lastKnownStoreStateRef","allStoreFilters","storeStateKey","a","b","newFilterValues","index","fieldName","normalizedFieldName","matchingStoreFilter","currentFilterValues","storeValue","currentKey","newKey","activeFilters","originalIndex","currentFilters","prevState","normalizeFieldName","normalizeOperator","normalizeType","type","buildFilterKey","previousComponentFilters","clearedFields","clearedFieldNames","activeFieldKeys","newFilter","prevFilter","normalizedField","mergedFilters","shouldClearByKey","shouldClearByField","existingIndex","currentFiltersKey","mergedFiltersKey","handleFilterChange","prev","renderFilters","init_CMSFilters"],"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/G85Ut1BzLM78YJYmkLSD/query_builders.js","https:/framerusercontent.com/modules/0ZtPI0zMKW1Pn08h8oa0/NlyoXwUY3bIihn89XH3O/variant_utils.js","https:/framerusercontent.com/modules/4kubTvEfQH0kypVlANcr/O6bnUpUpTTo9aD5KdUwS/CMSCollection.js","https:/framerusercontent.com/modules/gpP9NQZkGM08zua7fzDA/C9ejtMYecEseNmv8zAZb/filter_utils.js","https:/framerusercontent.com/modules/6NPURxBM0dOECdL7VbnS/lLdC8KcWq1TWwGqZSMn2/TextFilter.js","https:/framerusercontent.com/modules/UqIxQlR9i7N7s5eURJXt/SXSzAdAjus2yYuRcy4zN/NumberFilter.js","https:/framerusercontent.com/modules/rhjV7CBikISubRqt2bpe/WVe7GDiOdzWkWOTK3qiu/SelectFilter.js","https:/framerusercontent.com/modules/yoPENdwUHgW0xBoBrcKB/zW4957OvaCLNrGEd0kmu/TagFilter.js","https:/framerusercontent.com/modules/ktAWutRRdcvtUBylxWdw/r6eO0LGLEIToCcOvh02c/CheckboxFilter.js","https:/framerusercontent.com/modules/bf8X1kauFnevisLXUtaB/1ZnXCwBgv64c9evqLe15/DropdownFilter.js","https:/framerusercontent.com/modules/BNKPJXocDPceT63H0PHv/smWc6MXOXaOoUz1hNybU/DoubleRangeSlider.js","https:/framerusercontent.com/modules/f4De0XAwI4Kf8M6qHjz8/XktvnFfSmBQuwTGQbKew/RangeFilter.js","https:/framerusercontent.com/modules/CI7Pin8tWGfRHLuGR8tI/LvkMjISvS8dX9cpvDAyg/ToggleFilter.js","https:/framerusercontent.com/modules/YJVHOw7sdl2iLFF7oTta/I44WeVAm2hFv4AYN41Bu/CMSEnumFilter.js","https:/framerusercontent.com/modules/3I5E2iQ0TFDjlfTzBR90/8nWYzaKPGlXOHGwep3Ih/FilterControl.js","https:/framerusercontent.com/modules/nVvoo0B7jcHs47MzljvK/7fyAniaOLyGMLUVi2OeV/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;};// ============================================================================\n// MULTI-REFERENCE FILTER SUPPORT (FLAT_ARRAY Pattern)\n// ============================================================================\n/**\n * Builds a FLAT_ARRAY condition for multi-reference filtering\n * Pattern: tagId IN FLAT_ARRAY(SELECT id FROM Tags WHERE id IN Template.tags)\n */function buildFlatArrayCondition(mainAlias,refFieldName,refCollectionAlias,refCollectionData,tagId){return{type:\"BinaryOperation\",left:{type:\"LiteralValue\",value:tagId},operator:\"in\",right:{type:\"FunctionCall\",functionName:\"FLAT_ARRAY\",arguments:[{type:\"Select\",from:{alias:refCollectionAlias,data:refCollectionData,type:\"Collection\"},select:[{collection:refCollectionAlias,name:\"id\",type:\"Identifier\"}],where:{type:\"BinaryOperation\",left:{collection:refCollectionAlias,name:\"id\",type:\"Identifier\"},operator:\"in\",right:{collection:mainAlias,name:refFieldName,type:\"Identifier\"}},orderBy:[{type:\"FunctionCall\",functionName:\"INDEX_OF\",arguments:[{collection:mainAlias,name:refFieldName,type:\"Identifier\"},{collection:refCollectionAlias,name:\"id\",type:\"Identifier\"}]}]}]}};}/**\n * Builds multi-reference query from filter rule\n */function buildMultiReferenceQueryFromFilter(filter,mainAlias,refFieldName,refCollectionAlias,refCollectionData){const values=Array.isArray(filter.value)?filter.value:[filter.value];if(values.length===0)return null;// Build FLAT_ARRAY pattern for first tag\nlet query=buildFlatArrayCondition(mainAlias,refFieldName,refCollectionAlias,refCollectionData,values[0]);// Combine additional tags with AND or OR\nfor(let i=1;i<values.length;i++){query={type:\"BinaryOperation\",left:query,operator:filter.logic===\"All\"?\"and\":\"or\",right:buildFlatArrayCondition(mainAlias,refFieldName,refCollectionAlias,refCollectionData,values[i])};}return query;}// Helper to build filter where clause for a single filter\nexport const buildFilterWhereClause=(filter,collectionId,propertyControls)=>{if(!hasValidFilterValue(filter)){return null;}// Handle multi-reference filters (FLAT_ARRAY pattern)\nif(filter.type===\"multicollectionreference\"){const refFieldKey=filter.refFieldName||filter.field;const refCollectionAlias=filter.refCollectionId// This now contains the actual alias\n;if(!refCollectionAlias){console.error(\"Multi-reference filter missing refCollectionId (alias):\",filter);return null;}return buildMultiReferenceQueryFromFilter(filter,collectionId,refFieldKey,refCollectionAlias,filter.refCollectionData// Pass the stored collection data\n);}// 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\"};}// NOTE: Array values (multi-select) are handled by buildMultiValueFilterClause()\n// which is called from buildFiltersWhereClause(). This ensures all operators\n// (contains, equals, starts_with, etc.) are properly respected for arrays.\n// The early array handler that was here (lines 424-459) was removed because it\n// hardcoded operator \"==\" and ignored the actual operator parameter.\n// 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=>{// IMPORTANT: Multi-reference filters MUST use buildFilterWhereClause\n// even when they have multiple values (array), because they need FLAT_ARRAY pattern\nif(filter.type===\"multicollectionreference\"){return buildFilterWhereClause(filter,collectionId,propertyControls);}// For other multi-value filters (arrays), respect individual filter logic\n// BUGFIX: Changed from length > 1 to length > 0 to handle single-value arrays\n// This ensures that dropdown filters with \"Allow Multiple: Yes\" properly\n// use buildMultiValueFilterClause which respects the operator (contains, etc.)\n// instead of the broken early array handler that hardcoded \"==\"\nif(Array.isArray(filter.value)&&filter.value.length>0){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\"};});return orderBy;};\nexport const __FramerMetadata__ = {\"exports\":{\"Identifier\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildFilterWhereClause\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"hasValidFilterValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FilterRule\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"combineWhereClauses\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildOrderByClause\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildFiltersWhereClause\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LiteralValue\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FunctionCall\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"UnaryOperation\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildSearchWhereClause\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"BinaryOperation\":{\"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/G85Ut1BzLM78YJYmkLSD/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%\",overflow=false,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,filters:state?.filters,whereClause:result});}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(()=>{const result=combineWhereClauses(originalQuery?.where,combinedWhere,\"and\");if(debugMode&&result){console.log(\"🎯 Final where clause:\",JSON.stringify(result,null,2));}return result;},[originalQuery?.where,combinedWhere,debugMode]);// 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:overflow?\"visible\":\"hidden\"}});return[newContainerElement];},[collection,filteredQuery,containerStyles,overflow]);// 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:overflow?\"visible\":\"hidden\"}})];},[collection,containerStyles,overflow]);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%\"},overflow:{type:ControlType.Boolean,title:\"Overflow\",description:\"How to handle overflow content\",enabledTitle:\"Visible\",disabledTitle:\"Hidden\",defaultValue:false},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\"}}}","// 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:{color:countStyle.color,backgroundColor:countStyle.backgroundColor,padding:countStyle.padding,borderRadius:countStyle.borderRadius,margin:countStyle.margin,...countStyle.font,fontSize:countStyle?.font?.fontSize,...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\":{\"getOptionData\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getMatchOptions\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getRecommendedFilterType\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getValidToggleOperators\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"hasValidValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getActiveMatch\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"formatCountDisplay\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getOptionCounts\":{\"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/C9ejtMYecEseNmv8zAZb/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:config.placeholderTextInput?config.placeholderTextInput:`Enter ${config.title.toLowerCase()}...`,value:value||\"\",onChange:e=>onChange(e.target.value),style:{padding:\"8px 12px\",borderRadius:4,outline:\"none\",width:\"100%\",lineHeight:1.2,...filterInputStyles,...filterInputStyles.font,fontSize:filterInputStyles?.font?.fontSize||\"13px\"}})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"TextFilter\":{\"type\":\"reactComponent\",\"name\":\"TextFilter\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TextFilter.map","// 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/C9ejtMYecEseNmv8zAZb/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:config.placeholderNumberInput?config.placeholderNumberInput:`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,outline:\"none\",width:\"100%\",lineHeight:1.2,...filterInputStyles,...filterInputStyles?.font,fontSize:filterInputStyles?.font?.fontSize||\"14px\"}})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"NumberFilter\":{\"type\":\"reactComponent\",\"name\":\"NumberFilter\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./NumberFilter.map","// 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/C9ejtMYecEseNmv8zAZb/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 config.placeholderCmsEnumInput?config.placeholderCmsEnumInput:`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                        position: relative;\n                        padding: ${selectControls?.padding||\"8px 32px 8px 12px\"};\n                        border-radius: ${selectControls?.borderRadius||\"4\"};\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||\"3px\"};\n                        max-height: ${optionControls?.maxHeight||\"200\"}px;\n                        position: absolute;\n                        width: 100%;\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||\"0px\"};\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%\",...selectControls?.font,fontSize:selectControls?.font?.fontSize||\"13px\"},children:[/*#__PURE__*/_jsx(\"span\",{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__*/_jsx(\"div\",{className:`dropdown-option ${uniqueClassName} ${selectedValues.includes(optionValue)?\"selected\":\"\"}`,style:{...optionControls?.optionFont,fontSize:optionControls?.optionFont?.fontSize||\"14px\"},onClick:()=>toggleOption(optionValue),children:/*#__PURE__*/_jsx(\"span\",{children:titles[idx]})},idx))})]});}else{// Single selection\nconst selectedIdx=values.indexOf(value);const displayText=selectedIdx>=0?titles[selectedIdx]:config.placeholderDropdownInput?config.placeholderDropdownInput:`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                        position: relative;\n                        padding: ${selectControls?.padding||\"8px 32px 8px 12px\"};\n                        border-radius: ${selectControls?.borderRadius||\"4\"};\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||\"3px\"};\n                        max-height: ${optionControls?.maxHeight||\"200\"}px;\n                        position: absolute;\n                        width: 100%;\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                        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||\"0px\"};\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%\",...selectControls?.font,fontSize:selectControls?.font?.fontSize||\"13px\"},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__*/_jsx(\"div\",{className:`dropdown-option-single ${uniqueClassName} ${!value?\"selected\":\"\"}`,style:{...optionControls?.optionFont,fontSize:optionControls?.optionFont?.fontSize||\"14px\"},onClick:()=>{onChange(\"\");setIsOpen(false);},children:config.placeholderDropdownInput?config.placeholderDropdownInput:`Select ${config.title}`}),values.map((optionValue,idx)=>/*#__PURE__*/_jsx(\"div\",{className:`dropdown-option-single ${uniqueClassName} ${value===optionValue?\"selected\":\"\"}`,style:{...optionControls?.optionFont,fontSize:optionControls?.optionFont?.fontSize||\"14px\"},onClick:()=>{onChange(optionValue);setIsOpen(false);},children:titles[idx]},idx))]})]});}}\nexport const __FramerMetadata__ = {\"exports\":{\"SelectFilter\":{\"type\":\"reactComponent\",\"name\":\"SelectFilter\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"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/C9ejtMYecEseNmv8zAZb/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                    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,...filterPillStyles?.font,fontSize:filterPillStyles?.font?.fontSize||\"14px\"},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,...filterPillStyles?.font,fontSize:filterPillStyles?.font?.fontSize||\"14px\"},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\":\"\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// 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:{...filterCheckboxStyles.font,fontSize:filterCheckboxStyles?.font?.fontSize||\"14px\",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:{...filterCheckboxStyles.font,fontSize:filterCheckboxStyles?.font?.fontSize||\"14px\",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\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"any\"}},\"__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/WVe7GDiOdzWkWOTK3qiu/SelectFilter.js\";import{TagFilter}from\"https://framerusercontent.com/modules/yoPENdwUHgW0xBoBrcKB/zW4957OvaCLNrGEd0kmu/TagFilter.js\";import{CheckboxFilter}from\"https://framerusercontent.com/modules/ktAWutRRdcvtUBylxWdw/r6eO0LGLEIToCcOvh02c/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\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\"}},\"__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,...filterRangeStyles.font,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,...filterInputStyles.font,fontSize:filterInputStyles?.font?.fontSize||\"12px\"},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,lineHeight:1.2,outline:\"none\",flex:1,...filterInputStyles,...filterInputStyles.font,fontSize:filterInputStyles?.font?.fontSize||\"12px\"}}),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,...filterInputStyles.font,fontSize:filterInputStyles?.font?.fontSize||\"12px\"},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,lineHeight:1.2,outline:\"none\",flex:1,...filterInputStyles,...filterInputStyles.font,fontSize:filterInputStyles?.font?.fontSize||\"12px\"}}),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\":{\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"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/C9ejtMYecEseNmv8zAZb/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                    /* 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                    /* 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                    /* 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                        border-color: ${filterToggleStyles?.hoverBorderColor||\"#dee2e6\"};\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                    /* 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?.font?.fontSize||\"14px\"};\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                    .cms-toggle-label.${uniqueClassName}.is-off  {\n                        color: ${filterToggleStyles?.color||\"#666\"};\n                    }\n\n                    .cms-toggle-label.${uniqueClassName}.is-on {\n                        color: ${filterToggleStyles?.selectedTextColor||\"#666\"};\n                    }\n\n                    /*.cms-toggle-label.${uniqueClassName}.is-any {\n                        color: ${filterToggleStyles?.anyTextColor||\"#6c757d\"};\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}`,style:{...filterToggleStyles?.font,fontSize:filterToggleStyles?.font?.fontSize||\"14px\"},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||\"14px\"};\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:{...filterToggleStyles?.font,fontSize:filterToggleStyles?.font?.fontSize||\"14px\"},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\":{\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\"}},\"__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/C9ejtMYecEseNmv8zAZb/filter_utils.js\";import{SelectFilter}from\"https://framerusercontent.com/modules/rhjV7CBikISubRqt2bpe/WVe7GDiOdzWkWOTK3qiu/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:{...filterCheckboxStyles.font,fontSize:filterCheckboxStyles?.font?.fontSize||\"14px\",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:{...filterCheckboxStyles.font,fontSize:filterCheckboxStyles?.font?.fontSize||\"14px\",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                    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,...filterPillStyles?.font,fontSize:filterPillStyles?.font?.fontSize||\"14px\"},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,...filterPillStyles?.font,fontSize:filterPillStyles?.font?.fontSize||\"14px\"},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\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"any\",\"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/C9ejtMYecEseNmv8zAZb/filter_utils.js\";import{TextFilter}from\"https://framerusercontent.com/modules/6NPURxBM0dOECdL7VbnS/lLdC8KcWq1TWwGqZSMn2/TextFilter.js\";import{NumberFilter}from\"https://framerusercontent.com/modules/UqIxQlR9i7N7s5eURJXt/SXSzAdAjus2yYuRcy4zN/NumberFilter.js\";import{DropdownFilter}from\"https://framerusercontent.com/modules/bf8X1kauFnevisLXUtaB/1ZnXCwBgv64c9evqLe15/DropdownFilter.js\";import{RangeFilter}from\"https://framerusercontent.com/modules/f4De0XAwI4Kf8M6qHjz8/XktvnFfSmBQuwTGQbKew/RangeFilter.js\";import{ToggleFilter}from\"https://framerusercontent.com/modules/CI7Pin8tWGfRHLuGR8tI/LvkMjISvS8dX9cpvDAyg/ToggleFilter.js\";import{CMSEnumFilter}from\"https://framerusercontent.com/modules/YJVHOw7sdl2iLFF7oTta/I44WeVAm2hFv4AYN41Bu/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,...filterLabelStyles.font,fontSize:filterLabelStyles?.font?.fontSize||\"14px\"},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\":{\"framerSupportedLayoutWidth\":\"any\",\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// 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/C9ejtMYecEseNmv8zAZb/filter_utils.js\";import{FilterControl}from\"https://framerusercontent.com/modules/3I5E2iQ0TFDjlfTzBR90/8nWYzaKPGlXOHGwep3Ih/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\"},placeholderTextInput:{type:ControlType.String,title:\"Placeholder Text\",description:\"Placeholder text shown in the filter text control\",defaultValue:\"\",placeholder:\"e.g., Enter text...\",hidden:props=>props.filterType!==\"text\"},placeholderNumberInput:{type:ControlType.String,title:\"Placeholder Text\",description:\"Placeholder text shown in the filter number control\",defaultValue:\"\",placeholder:\"e.g., Enter number...\",hidden:props=>props.filterType!==\"number\"},placeholderDropdownInput:{type:ControlType.String,title:\"Placeholder Text\",description:\"Placeholder text shown in the filter dropdown control\",defaultValue:\"\",placeholder:\"e.g., Select option...\",hidden:props=>props.filterType!==\"dropdown\"||props.multiStyle!==\"select\"},placeholderCmsEnumInput:{type:ControlType.String,title:\"Placeholder Text\",description:\"Placeholder text shown in the filter select control\",defaultValue:\"\",placeholder:\"e.g., Select option...\",hidden:props=>props.filterType!==\"cms-enum\"||props.enumStyle!==\"dropdown\"},// 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\",controls:\"extended\",defaultValue:{fontSize:\"12px\"}},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\",controls:\"extended\",defaultValue:{fontSize:\"14px\"},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:{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\",controls:\"extended\",defaultValue:{fontSize:\"14px\"}},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:{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\",controls:\"extended\",defaultValue:{fontSize:\"14px\"}},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:{backgroundColor:\"#fff\",borderRadius:6}},filterToggleStyles:{type:ControlType.Object,title:\"Toggle Styles\",controls:{// Label styling\nfont:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultValue:{fontSize:\"14px\"}},// 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}},defaultValue:{backgroundColor:\"#e0e0e0\",borderRadius:50,selectedBackgroundColor:\"#007AFF\"}},filterRangeStyles:{type:ControlType.Object,title:\"Range Styles\",controls:{font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultValue:{fontSize:\"14px\"}},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\",controls:\"extended\",defaultValue:{fontSize:\"14px\"}},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:\"transparent\"},hoverBorderColor:{type:ControlType.Color,title:\"Hover Border Color\",defaultValue:\"transparent\"},activeBackgroundColor:{type:ControlType.Color,title:\"Active Background Color\",defaultValue:\"transparent\"},activeBorderColor:{type:ControlType.Color,title:\"Active Border Color\",defaultValue:\"transparent\"},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\",controls:\"extended\",defaultValue:{fontSize:\"14px\"}},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"8px 32px 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\",controls:\"extended\",defaultValue:{fontSize:\"14px\"}},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:0,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},optionBorderRadius:{type:ControlType.BorderRadius,title:\"Border Radius\",defaultValue:\"0px\"},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\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,4PAA8E,SAAgBsC,EAAY,EAAO,CACjH,IAAMC,EAAUL,EAAK,CAAC,MAAM,OAAO,OAAO,CAAC,GAAGM,CAAM,CAAC,CAAC,CAAC,EACjDC,EAAa,GAAU,CAC1B,OAAOC,GAAW,aAAY,EAASA,EAASH,EAAU,KAAK,GAAG,EAAU,MAAM,OAAO,OAAO,CAAC,GAAGA,EAAU,MAAM,GAAGG,CAAQ,CAAC,CAAE,EACjIC,EAAW,OAAOH,GAAS,SAAS,OAAO,OAAO,CAAC,GAAGA,CAAM,CAAC,EAAEA,EAC7DI,kBAAa,IAAI,IACjBC,EAAc,GAAU,CAC3B,OAAOH,GAAW,aAAY,EAASA,EAASC,CAAU,GAAG,EAAW,OAAOD,GAAW,SAAS,OAAO,OAAO,CAAC,GAAG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