{"version":3,"file":"CMSCollection.DpACIVMu.mjs","names":["useRef","useMemo","useState","collection","props","_Fragment"],"sources":["https:/framerusercontent.com/modules/jM8jD1GlrCxD96rrTGLC/lnBmNUJvueLDitg0ldVT/query_builders.js","https:/framerusercontent.com/modules/0ZtPI0zMKW1Pn08h8oa0/5XWhkGyDrlgVREAckeNg/variant_utils.js","https:/framerusercontent.com/modules/Bd2ZGjxd3wA16PORsZcM/EfL0hu08hDJCvOSVfoZt/masonry_utils.js","https:/framerusercontent.com/modules/btKadHcwepCes5ME1dWi/1oPmQbILL9BfunIfeUb3/url_sync.js","https:/framerusercontent.com/modules/4kubTvEfQH0kypVlANcr/x3H2t9TNfKG0LlQXaFvG/CMSCollection.js"],"sourcesContent":["// 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;};export const hasValidSearchRule=searchRule=>{return!!searchRule?.searchTerm?.trim()&&Array.isArray(searchRule?.searchFields)&&searchRule.searchFields.length>0;};export const buildCombinedSearchWhereClause=(searchRules,collectionId,propertyControls)=>{const validSearchRules=(searchRules||[]).filter(hasValidSearchRule);if(validSearchRules.length===0){return null;}const conditions=validSearchRules.map(searchRule=>buildSearchWhereClause(searchRule.searchTerm,searchRule.searchFields,collectionId,propertyControls)).filter(Boolean);if(conditions.length===0){return null;}if(conditions.length===1){return conditions[0];}let combinedWhere={left:conditions[0],operator:\"and\",right:conditions[1],type:\"BinaryOperation\"};for(let i=2;i<conditions.length;i++){combinedWhere={left:combinedWhere,operator:\"and\",right:conditions[i],type:\"BinaryOperation\"};}return combinedWhere;};// ============================================================================\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)\n// Multi-reference filter - uses FLAT_ARRAY pattern with improved query structure\nif(filter.type===\"multi-ref\"){const refFieldKey=filter.refFieldName||filter.field;const refCollectionAlias=filter.refCollectionId// This now contains the actual alias\n;if(!refCollectionAlias||!filter.refCollectionData){console.error(\"Multi-reference filter missing refCollectionId or refCollectionData:\",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(filter=>!filter?.config?.isVisualOnly&&hasValidFilterValue(filter));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===\"multi-ref\"){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\":{\"BinaryOperation\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildFilterWhereClause\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildOrderByClause\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"hasValidFilterValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FunctionCall\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Identifier\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LiteralValue\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildSearchWhereClause\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildCombinedSearchWhereClause\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"hasValidSearchRule\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SearchRule\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FilterRule\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"UnaryOperation\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"combineWhereClauses\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildFiltersWhereClause\":{\"type\":\"variable\",\"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\":{\"getComponentName\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"wrapWithVariantOverrides\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"VariantOverride\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"processVariantOverrides\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./variant_utils.map","// Masonry override utilities for CMS Collection\n// Allows overriding trackCount and rowGap props on Framer's masonry layout\nimport{cloneElement}from\"react\";/**\n * Check if a component is likely the masonry layout component\n * Framer uses withColumnMasonryLayout HOC which adds specific props\n */const isMasonryComponent=element=>{if(!element?.props)return false;// Check for masonry-specific props that only exist on MotionDivWithColumnMasonryLayout\nreturn\"columnMasonryLayoutEnabled\"in element.props||\"trackCount\"in element.props&&\"rowGap\"in element.props&&\"parentIsDataRepeater\"in element.props;};/**\n * Recursively process React tree and apply masonry overrides\n * @param element - React element to process\n * @param overrides - Masonry override configuration\n * @param depth - Current recursion depth (for debugging)\n * @returns Processed React element with masonry overrides applied\n */export const processMasonryOverrides=(element,overrides,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=>processMasonryOverrides(child,overrides,depth));}// Process React elements\nif(element.type&&element.props){let newProps={...element.props};// Check if this is the masonry component and apply overrides\nif(isMasonryComponent(element)){if(overrides.disableMasonry){// Standard mode: disable masonry entirely\nnewProps.columnMasonryLayoutEnabled=false;}else{// Masonry mode: override trackCount and rowGap\nif(overrides.trackCount!==undefined&&overrides.trackCount>0){newProps.trackCount=overrides.trackCount;}if(overrides.rowGap!==undefined&&overrides.rowGap>=0){newProps.rowGap=overrides.rowGap;}}}// Always process children recursively\nif(newProps.children){if(Array.isArray(newProps.children)){newProps.children=newProps.children.map(child=>processMasonryOverrides(child,overrides,depth+1));}else if(typeof newProps.children===\"function\"){// Wrap function children (like QueryData's children callback)\nconst originalFn=newProps.children;newProps.children=(...args)=>{const result=originalFn(...args);return processMasonryOverrides(result,overrides,depth+1);};}else{newProps.children=processMasonryOverrides(newProps.children,overrides,depth+1);}}return /*#__PURE__*/cloneElement(element,newProps);}return element;};/**\n * Wrap QueryData children function with masonry override logic\n * @param originalChildrenFn - Original children render function from QueryData\n * @param overrides - Masonry override configuration\n * @returns Wrapped function that applies masonry overrides\n */export const wrapWithMasonryOverrides=(originalChildrenFn,overrides)=>{return(collection,paginationInfo,loadMore)=>{// Call original function to get JSX\nconst originalJSX=originalChildrenFn(collection,paginationInfo,loadMore);// Process the JSX tree and apply masonry overrides\nreturn processMasonryOverrides(originalJSX,overrides);};};\nexport const __FramerMetadata__ = {\"exports\":{\"MasonryOverrides\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"processMasonryOverrides\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"wrapWithMasonryOverrides\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./masonry_utils.map","const SEARCH_PARAM_BASE=\"search\";const SORT_PARAM_BASE=\"sort\";export function slugifyParamSegment(value){return(value||\"\").trim().toLowerCase().replace(/[^a-z0-9]+/g,\"-\").replace(/^-+|-+$/g,\"\");}export function buildURLParamKey(name,prefix=\"\"){const slug=slugifyParamSegment(name);const normalizedPrefix=slugifyParamSegment(prefix);if(!slug)return normalizedPrefix;if(!normalizedPrefix)return slug;return`${normalizedPrefix}-${slug}`;}export function getSearchParamKey(prefix=\"\"){return buildURLParamKey(SEARCH_PARAM_BASE,prefix);}export function getScopedSearchParamKey(searchFields=[],displayTitle=\"\",prefix=\"\"){const fieldKey=slugifyParamSegment(searchFields[0]||\"\");const titleKey=slugifyParamSegment(displayTitle||\"\");const scopedName=fieldKey||titleKey||SEARCH_PARAM_BASE;return buildURLParamKey(scopedName,prefix);}export function getSortParamKey(prefix=\"\"){return buildURLParamKey(SORT_PARAM_BASE,prefix);}export function getCurrentURLParams(){if(typeof window===\"undefined\")return new URLSearchParams;return new URLSearchParams(window.location.search);}export function readURLParam(paramKey,searchParams=getCurrentURLParams()){if(!paramKey)return null;return searchParams.get(paramKey);}export function readURLParamValues(paramKey,searchParams=getCurrentURLParams()){const rawValue=readURLParam(paramKey,searchParams);if(!rawValue)return[];const uniqueValues=new Set;rawValue.split(\",\").map(value=>decodeURIComponent(value).trim()).filter(Boolean).forEach(value=>uniqueValues.add(value));return Array.from(uniqueValues);}export function hasRelevantURLParams(prefix=\"\"){if(typeof window===\"undefined\")return false;const params=new URLSearchParams(window.location.search);const normalizedPrefix=slugifyParamSegment(prefix);const prefixedStart=normalizedPrefix?`${normalizedPrefix}-`:\"\";let isRelevant=false;params.forEach((_,key)=>{if(key===getSearchParamKey(prefix)||key===getSortParamKey(prefix)){isRelevant=true;return;}if(normalizedPrefix){if(key.startsWith(prefixedStart)){isRelevant=true;}return;}if(key!==\"cmsFilterDebug\"){isRelevant=true;}});return isRelevant;}function dedupeAndSortValues(values){return Array.from(new Set(values.map(value=>String(value).trim()).filter(Boolean))).sort((a,b)=>a.localeCompare(b));}function getSerializableFilterValues(filter){const rawValues=Array.isArray(filter.value)?filter.value:[filter.value];const valueTitles=filter.valueTitles||{};return rawValues.map(value=>{if(value===null||value===undefined)return\"\";const rawKey=String(value);const displayValue=valueTitles[rawKey];return(displayValue??rawKey).trim();}).filter(Boolean);}export function canSerializeFilterToURL(filter){const{type,operator,value}=filter;const supportedOperators=new Set([\"equals\",\"includes\"]);const supportedTypes=new Set([\"dropdown\",\"enum\",\"cms-enum\",\"single-ref\",\"multi-ref\"]);if(!type||!supportedTypes.has(type))return false;if(!operator||!supportedOperators.has(operator))return false;if(Array.isArray(value)){return value.every(entry=>typeof entry===\"string\"||typeof entry===\"number\");}return typeof value===\"string\"||typeof value===\"number\";}export function serializeStoreToURLState(state,prefix=\"\"){const params=new Map;const managedKeys=new Set;const filterBuckets=new Map;for(const filter of state?.filters||[]){const paramName=filter.urlParamName||filter.field||filter.displayTitle||\"\";const paramKey=buildURLParamKey(paramName,prefix);if(!paramKey)continue;managedKeys.add(paramKey);if(!canSerializeFilterToURL(filter)){continue;}const signature=JSON.stringify({type:filter.type,operator:filter.operator});const existingBucket=filterBuckets.get(paramKey)||{values:[],signatures:new Set};existingBucket.signatures.add(signature);existingBucket.values.push(...getSerializableFilterValues(filter));filterBuckets.set(paramKey,existingBucket);}filterBuckets.forEach((bucket,paramKey)=>{if(bucket.signatures.size>1){return;}const values=dedupeAndSortValues(bucket.values);if(values.length===0)return;params.set(paramKey,values.join(\",\"));});managedKeys.add(getSearchParamKey(prefix));const activeSearchRules=(state?.searchRules||[]).filter(searchRule=>!!searchRule?.searchTerm?.trim());if(activeSearchRules.length===0){const legacySearchValue=state?.searchTerm||\"\";if(legacySearchValue.trim()){params.set(getSearchParamKey(prefix),legacySearchValue.trim());}}else{activeSearchRules.forEach(searchRule=>{const searchParamKey=getScopedSearchParamKey(searchRule.searchFields||[],searchRule.displayTitle||\"\",prefix);managedKeys.add(searchParamKey);params.set(searchParamKey,searchRule.searchTerm.trim());});}const sortParamKey=getSortParamKey(prefix);managedKeys.add(sortParamKey);const primarySort=state?.sort?.[0];if(primarySort?.field&&primarySort?.direction){params.set(sortParamKey,`${slugifyParamSegment(primarySort.field)}:${primarySort.direction}`);}return{params,managedKeys:Array.from(managedKeys)};}export function buildUpdatedURLSearchParams(currentParams,urlState,previousManagedKeys=[]){const nextParams=new URLSearchParams(currentParams.toString());const keysToClear=new Set([...previousManagedKeys,...urlState.managedKeys]);keysToClear.forEach(key=>{if(key)nextParams.delete(key);});urlState.params.forEach((value,key)=>{nextParams.set(key,value);});return nextParams;}export function updateBrowserURL(params){if(typeof window===\"undefined\")return;const url=new URL(window.location.href);const nextSearch=params.toString();const currentSearch=url.search.startsWith(\"?\")?url.search.slice(1):url.search;if(currentSearch===nextSearch)return;url.search=nextSearch;window.history.replaceState({},\"\",url.toString());}export function generateURLParams(state,prefix=\"\"){const serializedState=serializeStoreToURLState(state,prefix);const params=new URLSearchParams;serializedState.params.forEach((value,key)=>{params.set(key,value);});return params;}export function parseURLParams(searchParams,prefix=\"\",availableFields=new Map){const parsedState={searchTerm:\"\",filters:[],sort:undefined};const searchTerm=searchParams.get(getSearchParamKey(prefix))||\"\";if(searchTerm.trim()){parsedState.searchTerm=searchTerm.trim();}const sortValue=searchParams.get(getSortParamKey(prefix))||\"\";if(sortValue.includes(\":\")){const[field,direction]=sortValue.split(\":\");if(field&&(direction===\"asc\"||direction===\"desc\")){parsedState.sort=[{id:\"url-sort\",componentId:\"url-sort\",field,direction}];}}const filters=[];searchParams.forEach((value,key)=>{if(key===getSearchParamKey(prefix)||key===getSortParamKey(prefix)){return;}const normalizedPrefix=slugifyParamSegment(prefix);if(normalizedPrefix&&!key.startsWith(`${normalizedPrefix}-`)){return;}const rawField=normalizedPrefix?key.slice(`${normalizedPrefix}-`.length):key;const availableFieldEntry=Array.from(availableFields.entries()).find(([fieldName])=>slugifyParamSegment(fieldName)===rawField);const fieldName=availableFieldEntry?.[0]||rawField;const fieldType=availableFieldEntry?.[1]?.type||\"dropdown\";const values=value.split(\",\").map(entry=>entry.trim()).filter(Boolean);if(values.length===0)return;filters.push({id:`url-${fieldName}`,field:fieldName,displayTitle:fieldName,type:fieldType,operator:fieldType===\"multi-ref\"?\"includes\":\"equals\",value:values.length===1?values[0]:values,logic:\"Any\",builderLogic:\"Any\",componentId:\"url-sync\"});});parsedState.filters=filters;return parsedState;}export function buildAvailableFieldsMap(propertyControls){const fieldsMap=new Map;if(!propertyControls||typeof propertyControls!==\"object\"){return fieldsMap;}Object.entries(propertyControls).forEach(([key,control])=>{fieldsMap.set(control.title||key,{type:control.type||\"dropdown\",options:control.options});});return fieldsMap;}export function createDebouncedURLUpdate(delay=250){let timeoutId=null;return function(params){if(timeoutId){clearTimeout(timeoutId);}timeoutId=setTimeout(()=>{updateBrowserURL(params);timeoutId=null;},delay);};}export function hasURLParams(prefix=\"\"){return hasRelevantURLParams(prefix);}\nexport const __FramerMetadata__ = {\"exports\":{\"readURLParamValues\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"hasURLParams\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"updateBrowserURL\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getSearchParamKey\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"serializeStoreToURLState\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildURLParamKey\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"slugifyParamSegment\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"canSerializeFilterToURL\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"readURLParam\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getScopedSearchParamKey\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"parseURLParams\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildUpdatedURLSearchParams\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"generateURLParams\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildAvailableFieldsMap\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCurrentURLParams\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"hasRelevantURLParams\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getSortParamKey\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"createDebouncedURLUpdate\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./url_sync.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useRef,useMemo,useState,cloneElement}from\"react\";import{addPropertyControls,ControlType,RenderTarget,// @ts-ignore-next-line\nuseQueryData}from\"framer\";import{useCollectionStoreBinding,getCollectionStoreKey,getCollectionInfo,getCmsQueryFromSlot,evGetRandomString,debugCMSFilter,setCollectionRuntimeSnapshot,getActiveSearchRules}from\"https://framerusercontent.com/modules/2VZikWBxCagm4nJReNjX/PfyILngDXp5cnNZmDCPc/store_management.js\";import{buildCombinedSearchWhereClause,buildFiltersWhereClause,combineWhereClauses,buildOrderByClause}from\"https://framerusercontent.com/modules/jM8jD1GlrCxD96rrTGLC/lnBmNUJvueLDitg0ldVT/query_builders.js\";import{wrapWithVariantOverrides,processVariantOverrides}from\"https://framerusercontent.com/modules/0ZtPI0zMKW1Pn08h8oa0/5XWhkGyDrlgVREAckeNg/variant_utils.js\";import{processMasonryOverrides}from\"https://framerusercontent.com/modules/Bd2ZGjxd3wA16PORsZcM/EfL0hu08hDJCvOSVfoZt/masonry_utils.js\";import{buildUpdatedURLSearchParams,getCurrentURLParams,hasRelevantURLParams,serializeStoreToURLState,updateBrowserURL}from\"https://framerusercontent.com/modules/btKadHcwepCes5ME1dWi/1oPmQbILL9BfunIfeUb3/url_sync.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;}function resolveFieldKey(fieldName,propertyControls){const normalizedFieldName=fieldName?.trim().toLowerCase();if(!normalizedFieldName)return null;const matchedField=Object.entries(propertyControls||{}).find(([key,control])=>key?.toLowerCase().trim()===normalizedFieldName||control.title?.toLowerCase().trim()===normalizedFieldName)?.[0]||null;if(matchedField)return matchedField;const systemFieldAliases={created:\"createdAt\",\"created date\":\"createdAt\",edited:\"updatedAt\",\"edited date\":\"updatedAt\",updated:\"updatedAt\",\"updated date\":\"updatedAt\",modified:\"updatedAt\",\"modified date\":\"updatedAt\"};return systemFieldAliases[normalizedFieldName]||fieldName;}function getTodayUTCDateString(){const now=new Date;const todayUTC=new Date(Date.UTC(now.getUTCFullYear(),now.getUTCMonth(),now.getUTCDate()));return todayUTC.toISOString().slice(0,10);}function getStartOfDayISOString(dateInput){const normalized=dateInput?.trim();if(!normalized)return\"\";// If a full timestamp is already provided, keep it.\nif(normalized.includes(\"T\")){return normalized;}return`${normalized}T00:00:00.000Z`;}/**\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,responsiveMasonry=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,masonryColumns=0,masonryGap=16,debugMode=false,style,enableCustomPagination=false,customPaginationPageSize=9,showOnlyAfterToday=false,postDateField=\"Created\",useCustomCutoffDate=false,cutoffDate=\"\",fallback={text:\"No items found\",font:{fontSize:16,lineHeight:\"1.5em\"},backgroundColor:\"transparent\",padding:40,borderRadius:\"0px\"},id}=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??\"0px\";// Detect render mode\nconst current=RenderTarget.current();const isCanvas=current===RenderTarget.canvas;// Keep the generated class stable for the lifetime of the component.\n// Re-generating it on every page change adds extra DOM/style churn on top\n// of the query update that Framer already has to process.\nconst generatedIdRef=useRef(id||evGetRandomString());const uniqueClassName=`cms-collection-${generatedIdRef.current}`;// Get store key for this collection\nconst actualStoreKey=getCollectionStoreKey(collection,storeKey);// Extract collection info from slot connection\nconst collectionInfo=useMemo(()=>getCollectionInfo(collection),[collection]);// Always subscribe to a store so slot connection changes don't alter hook order.\nconst{state,setState}=useCollectionStoreBinding(actualStoreKey,generatedIdRef.current);const activeSearchRules=useMemo(()=>getActiveSearchRules(state),[state]);const previousManagedURLKeysRef=useRef([]);const previousURLSignatureRef=useRef(\"\");const registrationTimeoutRef=useRef(null);const[urlGateState,setURLGateState]=useState(urlSync?\"checking\":\"ready\");useEffect(()=>{if(!setState)return;const relevantParams=!isCanvas&&urlSync&&hasRelevantURLParams(urlPrefix);setState(prevState=>({...prevState,urlSync:{configInitialized:true,enabled:urlSync,prefix:urlPrefix,hasRelevantParams:relevantParams,registrationClosed:!relevantParams,knownParamKeys:prevState?.urlSync?.knownParamKeys||[],pendingComponentIds:relevantParams?prevState?.urlSync?.pendingComponentIds||[]:[],readyComponentIds:relevantParams?prevState?.urlSync?.readyComponentIds||[]:[]}}));setURLGateState(urlSync?\"checking\":\"ready\");if(registrationTimeoutRef.current){clearTimeout(registrationTimeoutRef.current);registrationTimeoutRef.current=null;}if(relevantParams){registrationTimeoutRef.current=setTimeout(()=>{setState(prevState=>({...prevState,urlSync:{configInitialized:true,enabled:true,prefix:urlPrefix,hasRelevantParams:true,registrationClosed:true,knownParamKeys:prevState?.urlSync?.knownParamKeys||[],pendingComponentIds:prevState?.urlSync?.pendingComponentIds||[],readyComponentIds:prevState?.urlSync?.readyComponentIds||[]}}));},0);}else{setURLGateState(\"ready\");}return()=>{if(registrationTimeoutRef.current){clearTimeout(registrationTimeoutRef.current);registrationTimeoutRef.current=null;}};},[isCanvas,setState,urlPrefix,urlSync]);useEffect(()=>{if(!urlSync||isCanvas){setURLGateState(\"ready\");return;}if(!state?.urlSync?.hasRelevantParams){setURLGateState(\"ready\");return;}if(!state.urlSync.registrationClosed){setURLGateState(\"checking\");return;}const pendingIds=state.urlSync.pendingComponentIds||[];const readyIds=new Set(state.urlSync.readyComponentIds||[]);const allReady=pendingIds.length===0||pendingIds.every(componentId=>readyIds.has(componentId));setURLGateState(allReady?\"ready\":\"checking\");},[isCanvas,state?.urlSync,urlSync]);useEffect(()=>{if(!urlSync||isCanvas||!state||urlGateState!==\"ready\"){return;}const serializedState=serializeStoreToURLState(state,urlPrefix);const nextParams=buildUpdatedURLSearchParams(getCurrentURLParams(),serializedState,previousManagedURLKeysRef.current);const nextSignature=nextParams.toString();console.log(\"[URL Sync][CMSCollection] preparing browser URL update\",{urlPrefix,urlGateState,managedKeys:serializedState.managedKeys,serializedParams:Array.from(serializedState.params.entries()),filters:state?.filters?.map(filter=>({id:filter.id,field:filter.field,urlParamName:filter.urlParamName,displayTitle:filter.displayTitle,type:filter.type,operator:filter.operator,value:filter.value,valueTitles:filter.valueTitles,componentId:filter.componentId})),nextSignature});if(nextSignature===previousURLSignatureRef.current){console.log(\"[URL Sync][CMSCollection] skipped browser URL update\",{reason:\"unchanged-signature\",nextSignature});previousManagedURLKeysRef.current=serializedState.managedKeys;return;}previousManagedURLKeysRef.current=serializedState.managedKeys;previousURLSignatureRef.current=nextSignature;console.log(\"[URL Sync][CMSCollection] applying browser URL update\",{nextSignature,href:typeof window!==\"undefined\"?`${window.location.pathname}${nextSignature?`?${nextSignature}`:\"\"}`:\"\"});updateBrowserURL(nextParams);},[isCanvas,state,state?.filters,state?.searchRules,state?.searchTerm,state?.sort,urlGateState,urlPrefix,urlSync]);// Get original query\nconst originalQuery=collectionInfo?.query;const postDateFieldKey=useMemo(()=>resolveFieldKey(postDateField,collectionInfo?.propertyControls||{}),[postDateField,collectionInfo?.propertyControls]);const dateFilterSignature=useMemo(()=>JSON.stringify({enabled:showOnlyAfterToday,field:postDateFieldKey||\"\",mode:useCustomCutoffDate?\"custom\":\"today\",cutoffDate:useCustomCutoffDate?cutoffDate?.trim()||\"\":\"\"}),[showOnlyAfterToday,postDateFieldKey,useCustomCutoffDate,cutoffDate]);const resolvedCutoffDate=useMemo(()=>getStartOfDayISOString(useCustomCutoffDate?cutoffDate?.trim()||getTodayUTCDateString():getTodayUTCDateString()),[cutoffDate,useCustomCutoffDate]);useEffect(()=>{debugCMSFilter(\"CMSCollection runtime\",{renderTarget:current,hasCollection:!!collection?.length,actualStoreKey,hasCollectionInfo:!!collectionInfo,hasOriginalQuery:!!originalQuery,originalQueryShape:originalQuery?{hasFrom:!!originalQuery.from,hasWhere:!!originalQuery.where,hasLimit:!!originalQuery.limit,hasOffset:!!originalQuery.offset}:null,state:state?{searchTerm:state.searchTerm,searchRules:activeSearchRules,filtersCount:state.filters?.length||0,sortCount:state.sort?.length||0,pagination:state.pagination,count:state.count}:null});},[current,collection,actualStoreKey,collectionInfo,originalQuery,state,activeSearchRules]);// Build search where clause - memoized\nconst searchWhere=useMemo(()=>{const result=buildCombinedSearchWhereClause(activeSearchRules,collectionInfo?.collectionId||\"\",collectionInfo?.propertyControls||{});return result;},[activeSearchRules,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]);const hasManagedDateFilterForPostField=useMemo(()=>{if(!postDateFieldKey)return false;return(state?.filters||[]).some(filter=>{if(!filter?.config?.dateModeType)return false;const filterFieldKey=resolveFieldKey(filter.field,collectionInfo?.propertyControls||{});return filterFieldKey===postDateFieldKey;});},[state?.filters,postDateFieldKey,collectionInfo?.propertyControls]);const afterTodayWhere=useMemo(()=>{if(!showOnlyAfterToday||hasManagedDateFilterForPostField||!postDateFieldKey||!collectionInfo?.collectionId){return null;}return{type:\"BinaryOperation\",left:{collection:collectionInfo.collectionId,name:postDateFieldKey,type:\"Identifier\"},operator:\">=\",right:{type:\"LiteralValue\",value:resolvedCutoffDate}};},[showOnlyAfterToday,hasManagedDateFilterForPostField,postDateFieldKey,collectionInfo?.collectionId,resolvedCutoffDate]);// Combine search and filters - memoized\nconst combinedWhere=useMemo(()=>combineWhereClauses(combineWhereClauses(searchWhere,filtersWhere,\"and\"),afterTodayWhere,\"and\"),[searchWhere,filtersWhere,afterTodayWhere]);// 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]);const queryLimitValue=typeof originalQuery?.limit?.value===\"number\"&&originalQuery.limit.value>0?originalQuery.limit.value:null;const customPageSizeValue=enableCustomPagination&&customPaginationPageSize>0?Math.max(1,customPaginationPageSize):null;const effectivePageSize=typeof customPageSizeValue===\"number\"?customPageSizeValue:typeof queryLimitValue===\"number\"?Math.max(1,queryLimitValue):null;const paginationState=state?.pagination||{page:1,pageSize:effectivePageSize};const currentPage=Math.max(1,paginationState.page||1);const querySignature=useMemo(()=>JSON.stringify({searchTerm:state?.searchTerm||\"\",searchFields:state?.searchFields||[],searchRules:activeSearchRules,filters:state?.filters||[],sort:state?.sort||[],filterLogic,dateFilterSignature}),[activeSearchRules,state?.searchTerm,state?.searchFields,state?.filters,state?.sort,filterLogic,dateFilterSignature]);const lastQuerySignatureRef=useRef(querySignature);useEffect(()=>{if(!setState||!state)return;if((state.pagination?.pageSize||null)!==effectivePageSize){setState(prevState=>({...prevState,pagination:{page:prevState?.pagination?.page||1,pageSize:effectivePageSize}}));return;}if(lastQuerySignatureRef.current===querySignature)return;lastQuerySignatureRef.current=querySignature;if((state.pagination?.page||1)!==1){setState(prevState=>({...prevState,pagination:{page:1,pageSize:effectivePageSize}}));}},[querySignature,effectivePageSize,setState,state]);// Build the filtered query WITHOUT pagination - used for total counts\nconst filteredBaseQuery=useMemo(()=>{if(!originalQuery||!collectionInfo){return getCmsQueryFromSlot(collection);}const{limit:_ignoredLimit,offset:_ignoredOffset,...queryWithoutPagination}=originalQuery;const originalSelect=Array.isArray(queryWithoutPagination.select)?queryWithoutPagination.select:[];let enhancedSelect=originalSelect;if(showOnlyAfterToday&&postDateFieldKey&&collectionInfo.collectionId&&!originalSelect.some(field=>field?.name===postDateFieldKey)){enhancedSelect=[...originalSelect,{collection:collectionInfo.collectionId,name:postDateFieldKey,type:\"Identifier\"}];}const newQuery={...queryWithoutPagination,select:enhancedSelect,where:finalWhere,...orderBy.length>0&&{orderBy}};return newQuery;},[originalQuery,finalWhere,orderBy,collection,collectionInfo,showOnlyAfterToday,postDateFieldKey]);// Build the paginated query used for rendering\nconst filteredQuery=useMemo(()=>{if(!filteredBaseQuery)return filteredBaseQuery;if(typeof effectivePageSize!==\"number\"){return filteredBaseQuery;}return{...filteredBaseQuery,limit:{type:\"LiteralValue\",value:effectivePageSize},offset:{type:\"LiteralValue\",value:(currentPage-1)*effectivePageSize}};},[filteredBaseQuery,effectivePageSize,currentPage]);// Update count in store when query changes\nconst currentCount=useQueryCount(filteredBaseQuery||{},debugMode);if(actualStoreKey){setCollectionRuntimeSnapshot(actualStoreKey,{pageSize:effectivePageSize,count:currentCount});}useEffect(()=>{if(setState&&currentCount!==state?.count){setState(prevState=>({...prevState,count:currentCount}));}},[currentCount,setState,state]);useEffect(()=>{debugCMSFilter(\"CMSCollection query output\",{actualStoreKey,currentPage,pageSize:effectivePageSize,count:currentCount,filteredBaseQueryShape:filteredBaseQuery?{hasFrom:!!filteredBaseQuery.from,hasWhere:!!filteredBaseQuery.where,hasLimit:!!filteredBaseQuery.limit,hasOffset:!!filteredBaseQuery.offset}:null,filteredQueryShape:filteredQuery?{hasFrom:!!filteredQuery.from,hasWhere:!!filteredQuery.where,limit:filteredQuery.limit,offset:filteredQuery.offset}:null});},[actualStoreKey,currentPage,effectivePageSize,currentCount,filteredBaseQuery,filteredQuery]);// Clone collection with filtered query\nconst clonedCollection=useMemo(()=>{if(!collection?.[0]||!filteredQuery)return{elements:collection,masonryCss:\"\",isMasonry:false};const originalElement=collection[0];const firstChild=originalElement.props?.children;if(!firstChild)return{elements:collection,masonryCss:\"\",isMasonry:false};// --- Masonry structure ---\n// When Masonry is enabled, the query lives on the immediate child:\n//   container.props.children.props.query\n// In this case, `firstChild` is the query element (QueryData), so we only\n// need to clone that element with the new query and keep its children\n// function intact.\nif(firstChild?.props?.query){if(debugMode){console.log(\"🏗️ MASONRY DETECTED:\",{originalElementStyle:originalElement.props?.style,containerStyles,masonryColumns,masonryGap,uniqueClassName,firstChildType:firstChild?.type?.name||firstChild?.type,firstChildProps:Object.keys(firstChild?.props||{})});}const newQueryElement=/*#__PURE__*/cloneElement(firstChild,{key:`${uniqueClassName}-masonry-query-${dateFilterSignature}`,query:filteredQuery});// Note: Masonry column/gap overrides are now applied via prop overrides\n// in processedCollection, not CSS injection\nconst newContainerElement=/*#__PURE__*/cloneElement(originalElement,{children:newQueryElement,style:{...originalElement.props?.style,width:\"100%\",overflow:overflow?\"visible\":\"hidden\"}});return{elements:[newContainerElement],masonryCss:\"\",isMasonry:true};}// --- Standard (non-Masonry) structure ---\n// container -> listElement -> queryElement (with .props.query)\nconst originalListElement=firstChild;const originalQueryElement=originalListElement?.props?.children;if(!originalQueryElement)return{elements:collection,masonryCss:\"\",isMasonry:false};// Clone the query element with new query\nconst newQueryElement=/*#__PURE__*/cloneElement(originalQueryElement,{key:`${uniqueClassName}-query-${dateFilterSignature}`,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{elements:[newContainerElement],masonryCss:\"\",isMasonry:false};},[collection,filteredQuery,containerStyles,overflow,uniqueClassName,dateFilterSignature,masonryColumns,masonryGap,debugMode]);// Build masonry overrides config\nconst masonryOverrides=useMemo(()=>{if(!layoutToggle){// Responsive Layout disabled - no overrides\nreturn{trackCount:undefined,rowGap:undefined,disableMasonry:false};}if(responsiveMasonry){// Masonry mode: override trackCount and rowGap\nreturn{trackCount:masonryColumns>0?masonryColumns:undefined,rowGap:masonryGap>=0?masonryGap:undefined,disableMasonry:false};}else{// Standard mode: disable masonry, use grid/stack layout\nreturn{trackCount:undefined,rowGap:undefined,disableMasonry:true};}},[layoutToggle,responsiveMasonry,masonryColumns,masonryGap]);// Apply variant and masonry overrides\nconst processedCollection=useMemo(()=>{const{elements,isMasonry}=clonedCollection;if(!elements){return elements;}const hasVariantOverrides=variantOverrides&&variantOverrides.length>0;const hasMasonryOverrides=masonryOverrides.trackCount!==undefined||masonryOverrides.rowGap!==undefined||masonryOverrides.disableMasonry===true;// If no overrides needed, return as-is\nif(!hasVariantOverrides&&!hasMasonryOverrides){return elements;}// Process each container element\nreturn elements.map(containerElement=>{if(isMasonry){// --- MASONRY STRUCTURE ---\n// container -> QueryData (with children function)\n// The QueryData's children function returns the masonry component\nconst queryElement=containerElement.props?.children;if(!queryElement)return containerElement;const originalChildrenFn=queryElement.props?.children;if(typeof originalChildrenFn!==\"function\")return containerElement;// Wrap children function to apply overrides to the rendered result\nconst wrappedChildren=(collection,paginationInfo,loadMore)=>{let result=originalChildrenFn(collection,paginationInfo,loadMore);// Apply masonry overrides (trackCount, rowGap)\nif(hasMasonryOverrides){result=processMasonryOverrides(result,masonryOverrides);}// Apply variant overrides\nif(hasVariantOverrides){result=processVariantOverrides(result,variantOverrides);}return result;};// Clone QueryData with wrapped children\nconst newQueryElement=/*#__PURE__*/cloneElement(queryElement,{...queryElement.props,children:wrappedChildren});// Clone container with new QueryData\nreturn /*#__PURE__*/cloneElement(containerElement,{children:newQueryElement,style:containerElement.props?.style});}else{// --- STANDARD (NON-MASONRY) STRUCTURE ---\n// container -> listElement -> cmsItem (QueryData with children function)\nconst listElement=containerElement.props?.children;if(!listElement)return containerElement;const cmsItem=listElement.props?.children;if(!cmsItem)return containerElement;const 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,style:containerElement.props?.style});}});},[clonedCollection,variantOverrides,masonryOverrides]);// Build wrapper CSS to override Framer's inline styles (width only)\n// Note: Masonry column/gap overrides are now applied via prop overrides in processedCollection\nconst wrapperCss=useMemo(()=>{return`\n            .${uniqueClassName} > div {\n                width: 100% !important;\n            }\n        `;},[uniqueClassName]);// Determine if we're in editor mode (no CMS data available)\nconst isEditorMode=!collectionInfo;const shouldHideForURLSync=!isEditorMode&&urlSync&&urlGateState!==\"ready\";// 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;const element=collection[0];const props=element.props||{};// Check if masonry is enabled on this element\nconst isMasonryElement=props?.columnMasonryLayoutEnabled===true;// Build new props with masonry overrides if applicable\nconst newProps={style:{...props.style,...containerStyles,width:\"100%\",overflow:overflow?\"visible\":\"hidden\"}};// Handle masonry overrides based on layout settings\nif(isMasonryElement&&layoutToggle){if(responsiveMasonry){// Masonry mode: override trackCount and rowGap\nif(masonryColumns>0){newProps.trackCount=masonryColumns;}if(masonryGap>=0){newProps.rowGap=masonryGap;}}else{// Standard mode: disable masonry entirely\nnewProps.columnMasonryLayoutEnabled=false;}}return[/*#__PURE__*/cloneElement(element,newProps)];},[collection,containerStyles,overflow,layoutToggle,responsiveMasonry,masonryColumns,masonryGap]);return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",width:\"100%\",...style},children:[wrapperCss&&/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:wrapperCss}}),collection&&Array.isArray(collection)&&collection.length>0?/*#__PURE__*/_jsx(\"div\",{className:uniqueClassName,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:[wrapperCss&&/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:wrapperCss}}),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\",{className:uniqueClassName,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.\"})]}):shouldHideForURLSync?null: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}`,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\",{className:uniqueClassName,style:{width:collectionWidth,marginLeft:\"auto\",marginRight:\"auto\"},children:processedCollection}):modifiedEmptyState?modifiedEmptyState:/*#__PURE__*/_jsx(\"div\",{style:{textAlign:\"center\",padding:`${fallbackPadding}px`,backgroundColor:fallbackBackgroundColor,borderRadius:`${fallbackBorderRadius}`,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\",description:\"Message shown when no results found\",defaultValue:\"No items found\"},font:{type:ControlType.Font,title:\"Font\",description:\"Typography settings for empty state text\",controls:\"extended\",defaultValue:{fontSize:16,lineHeight:\"1.5em\"}},color:{type:ControlType.Color,title:\"Color\",description:\"Text color for empty state text\",defaultValue:\"#666\"},backgroundColor:{type:ControlType.Color,title:\"Background\",description:\"Background color for empty state area\",defaultValue:\"rgba(0,0,0,0)\"},border:{type:ControlType.Border,title:\"Border\",description:\"Empty state border styling\",defaultValue:{borderWidth:0,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},borderRadius:{type:ControlType.BorderRadius,title:\"Border Radius\",description:\"Corner rounding for empty state container\",defaultValue:\"0px\"},padding:{type:ControlType.Number,title:\"Padding\",description:\"Inner spacing around empty state text\",defaultValue:40,min:0,max:200,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)\"},showOnlyAfterToday:{type:ControlType.Boolean,title:\"Show From Today\",description:\"Only show non-draft CMS items from today onward.\",enabledTitle:\"On\",disabledTitle:\"Off\",defaultValue:false},enableCustomPagination:{type:ControlType.Boolean,title:\"Custom Pagination\",description:\"Enable plugin-driven pagination for CMSPagination or CMSPrevNext. Leave off when using Framer's built-in load more or infinite scroll.\",enabledTitle:\"On\",disabledTitle:\"Off\",defaultValue:false},customPaginationPageSize:{type:ControlType.Number,title:\"Items Per Page\",description:\"How many items CMSPagination or CMSPrevNext should show per page.\",defaultValue:9,min:1,step:1,displayStepper:true,hidden:props=>!props.enableCustomPagination},postDateField:{type:ControlType.String,title:\"CMS Date Field\",description:\"Exact CMS field name to compare against today's date. Use Created for live posts.\",placeholder:\"e.g., Created\",defaultValue:\"Created\",hidden:props=>!props.showOnlyAfterToday},useCustomCutoffDate:{type:ControlType.Boolean,title:\"Custom Date\",description:\"Use a custom cutoff date instead of today for the date filter.\",enabledTitle:\"Yes\",disabledTitle:\"No\",defaultValue:false,hidden:props=>!props.showOnlyAfterToday},cutoffDate:{type:ControlType.Date,title:\"Date & Time\",defaultValue:new Date().toISOString(),displayTime:true,hidden:props=>!props.showOnlyAfterToday||!props.useCustomCutoffDate},urlSync:{type:ControlType.Boolean,title:\"URL Sync\",description:\"Sync filters, search, and sort to shareable URL params\",defaultValue:false,enabledTitle:\"Enabled\",disabledTitle:\"Disabled\"},urlPrefix:{type:ControlType.String,title:\"URL Prefix\",description:\"Optional prefix for URL params. Example: blog + category => ?blog-category=value\",defaultValue:\"\",placeholder:\"e.g., blog\",hidden:props=>!props.urlSync},/*\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:\"Enter component name and variant name, you want to change in CMS Item. Note: Variant Overrides doen't show in canvas, check preview/published page.\",control:{type:ControlType.Object,controls:{componentName:{type:ControlType.String,title:\"Component Name\",description:\"Exact component name as it appears in CMS item (case-sensitive)\"},variantName:{type:ControlType.String,title:\"Variant Name\",description:\"Exact variant name to apply (case-sensitive)\"}}}},layoutToggle:{type:ControlType.Boolean,title:\"Layout Override\",description:\"Override layout settings per breakpoint. To mix masonry and grid layouts, enable Masonry on your CMS List in Framer first.\",enabledTitle:\"Enable\",disabledTitle:\"Disable\",defaultValue:false},responsiveMasonry:{type:ControlType.Boolean,title:\"Layout Type\",description:\"Masonry: Override masonry columns/gap (requires Masonry enabled on CMS List). Standard: Use grid/stack layout (disables masonry if enabled).\",enabledTitle:\"Masonry\",disabledTitle:\"Standard\",defaultValue:false,hidden:props=>!props.layoutToggle},layoutDisplay:{type:ControlType.Boolean,title:\"Display\",enabledTitle:\"Stack\",disabledTitle:\"Grid\",defaultValue:true,hidden:props=>!props.layoutToggle||props.responsiveMasonry===true},flexDirection:{type:ControlType.Enum,title:\"Direction\",options:[\"horizontal\",\"vertical\"],optionTitles:[\"horizontal\",\"vertical\"],displaySegmentedControl:true,hidden(props){return!props.layoutToggle||props.responsiveMasonry===true||!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.responsiveMasonry===true||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||props.responsiveMasonry===true||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||props.responsiveMasonry===true||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||props.responsiveMasonry===true||layout===\"stack\";}},gridRows:{type:ControlType.Number,title:\"Rows\",defaultValue:0,min:0,max:10,step:1,displayStepper:true,description:\"0 = auto-size rows, 1+ = fixed row count\",hidden(props){const layout=props.layoutDisplay===true?\"stack\":\"grid\";return!props.layoutToggle||props.responsiveMasonry===true||layout===\"stack\";}},gridAutoRows:{type:ControlType.String,title:\"Auto Rows\",defaultValue:\"minmax(200px, auto)\",description:\"CSS grid-auto-rows value for row height. Examples: 'minmax(200px, auto)', '200px', 'auto'\",hidden(props){const layout=props.layoutDisplay===true?\"stack\":\"grid\";return!props.layoutToggle||props.responsiveMasonry===true||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||props.responsiveMasonry===true||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||props.responsiveMasonry===true||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||props.responsiveMasonry===true||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||props.responsiveMasonry===true||layout===\"stack\"&&props.flexWrap===false;}},masonryColumns:{type:ControlType.Number,title:\"Columns\",description:\"Override Framer's masonry column count for this breakpoint.\",defaultValue:0,min:0,max:10,step:1,displayStepper:true,hidden(props){return!props.layoutToggle||props.responsiveMasonry!==true;}},masonryGap:{type:ControlType.Number,title:\"Gap\",description:\"Gap between masonry items\",defaultValue:16,min:0,step:1,unit:\"px\",displayStepper:true,hidden(props){return!props.layoutToggle||props.responsiveMasonry!==true;}},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\"}}}"],"mappings":"qWAuBG,SAAS,EAAwB,EAAU,EAAa,EAAmB,EAAkB,EAAM,CAAC,MAAM,CAAC,KAAK,kBAAkB,KAAK,CAAC,KAAK,eAAe,MAAM,EAAM,CAAC,SAAS,KAAK,MAAM,CAAC,KAAK,eAAe,aAAa,aAAa,UAAU,CAAC,CAAC,KAAK,SAAS,KAAK,CAAC,MAAM,EAAmB,KAAK,EAAkB,KAAK,aAAa,CAAC,OAAO,CAAC,CAAC,WAAW,EAAmB,KAAK,KAAK,KAAK,aAAa,CAAC,CAAC,MAAM,CAAC,KAAK,kBAAkB,KAAK,CAAC,WAAW,EAAmB,KAAK,KAAK,KAAK,aAAa,CAAC,SAAS,KAAK,MAAM,CAAC,WAAW,EAAU,KAAK,EAAa,KAAK,aAAa,CAAC,CAAC,QAAQ,CAAC,CAAC,KAAK,eAAe,aAAa,WAAW,UAAU,CAAC,CAAC,WAAW,EAAU,KAAK,EAAa,KAAK,aAAa,CAAC,CAAC,WAAW,EAAmB,KAAK,KAAK,KAAK,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAEjwB,SAAS,EAAmC,EAAO,EAAU,EAAa,EAAmB,EAAkB,CAAC,IAAM,EAAO,MAAM,QAAQ,EAAO,MAAM,CAAC,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