{"version":3,"file":"shared-lib.BGfUpU9X.mjs","names":["fonts","css","className","useStore","useState","_Fragment","getProps","useState","name","useMemo","getProps","useRef","collectionID","cmsFieldName","condition","value","_Fragment","Clear","useRef","className","css","useState"],"sources":["https:/framerusercontent.com/modules/LcZElNgGQzxA7lVyTLJi/OwM8HPZlmGS0T0eiJHiO/OGkjbsmeZ.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framerusercontent.com/modules/oaAH7umUjUOTeKmykfom/4GSr51yWhuxjuWu6QpOf/Stores.js","https:/framerusercontent.com/modules/Hxho9sUnioBkMjGbLBed/csoxszrftuhmv2NyuE1c/collectionID.js","https:/framerusercontent.com/modules/NktNXvnf4m4T7jKQcOHx/ld1Thy4iHs6v3180zPrJ/Utilities.js","https:/framerusercontent.com/modules/uaC9hWf3ec7HqMv3sXMc/fThGQnEUZeWwDLSQMzea/Hooks.js","https:/framerusercontent.com/modules/b9Ahpqbe406WaEtVhaF0/XCBQ4QWWxYvqLLSTRUiO/Clear_Plus.js","https:/framerusercontent.com/modules/hoxTkgkv7eakelc1HA1y/ViiBgJFan3qMbYXheG8l/SRwxuhUDn.js","https:/framerusercontent.com/modules/wY1lUkgDoBolK85qgRnI/LMIOI5S66kwGh5s8H5d4/KeyboardShortcuts.js","https:/framerusercontent.com/modules/xxnvs2hQp35un8I6OcTF/QmxIYp3jfP3mtpRSsDtc/CKGtEPdsH.js"],"sourcesContent":["// Generated by Framer (612a550)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"__SystemDefault-400-normal__\"]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=['.framer-QCyxK .framer-styles-preset-1ejobqh:not(.rich-text-wrapper), .framer-QCyxK .framer-styles-preset-1ejobqh.rich-text-wrapper p { --framer-font-family: \"system-ui\", \"-apple-system\", \"BlinkMacSystemFont\", \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif, \"System Default\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 15px; --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-letter-spacing: 0px; --framer-line-height: 22px; --framer-paragraph-spacing: 20px; --framer-text-alignment: left; --framer-text-color: var(--token-3d86ccd8-6a73-4429-b5d0-60d83e738129, #717680); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }'];export const className=\"framer-QCyxK\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","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","import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";export const useStore=createStore({});export const useDevStore=createStore({isDebugging:null});\nexport const __FramerMetadata__ = {\"exports\":{\"useStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useDevStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Stores.map","import{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n *\n * @framerDisableUnlink\n */export default function CollectionIDControl(props){return /*#__PURE__*/_jsx(_Fragment,{});}addPropertyControls(CollectionIDControl,{collectionID:{type:ControlType.Number,title:\"Collection+ ID\",defaultValue:0,min:0,displayStepper:true,step:1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CollectionIDControl\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./collectionID.map","/**\n * Accepts a string, and returns true/false if the string is in ISO 8601 format with the option of adding \"Z\" at the end.\n * @param {string} str - A string representing a date in ISO 8601 format.\n * @returns {boolean} - Returns true if str is in ISO 8601 format, otherwise returns false.\n */export function isISO8601(str){const isoDateRegex=/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(Z|([+-]\\d{2}:\\d{2}))?$/;return isoDateRegex.test(str);}/**\n * Accepts a text, checks to see if it's in ISO 8601 format, if yes, resets the time and returns ISO 8601 string, otherwise return empty string.\n * @param {string} text - Date as a string in ISO 8601 format.\n * @returns {string} - Returns the same string value with the time cleared or an empty string.\n */export function resetTimeOfISODateString(text){return isISO8601(text)?`${text.substring(0,10)}T00:00:00.000Z`:\"\";}export function getProps({object,target,returnParent=false}){if(!object||!target.name||!target.type)return undefined;const propMatch=object[target.name];const typeMatch=target.type.toLowerCase()===\"array\"?Array.isArray(propMatch):typeof propMatch===target.type.toLowerCase();if(propMatch&&typeMatch){// return the target or the target's parent (which will contain the target)\nreturn returnParent?object:propMatch;}for(let nestedProp in object){const value=object[nestedProp];// don't go down another level if the value is not of type object/array\nif(typeof value!==\"object\")continue;const result=getProps({returnParent,target,object:value});if(result!==undefined)return result;}}export function getAllCollections({queryFrom,referencedCollections={}}){if(!queryFrom)return false;const{constraint,left,right,type}=queryFrom;if(type===\"Collection\"){referencedCollections[queryFrom.alias]={...queryFrom};}getAllCollections({queryFrom:queryFrom.left,referencedCollections});getAllCollections({queryFrom:queryFrom.right,referencedCollections});return referencedCollections;}// the most basic of nodes, mostly used for literal value comparisons\nexport function createBinaryOperationNode({left,right,operator}){return{left,right,operator,type:\"BinaryOperation\"};}// used for enum/option CMS field types\nexport function createCaseNode({controlId,optionIds}){const createCondition=optionId=>{return{then:{type:\"LiteralValue\",value:true},type:\"Condition\",when:{type:\"LiteralValue\",value:optionId}};};return{type:\"Case\",conditions:optionIds.map(createCondition),else:{type:\"LiteralValue\",value:false},value:{name:controlId,type:\"Identifier\"}};}// used for string fields where the condition includes 'starts_with', 'ends_with', or 'contains'\nexport function createFunctionCallNode({binaryNode,functionName}){return{functionName,arguments:[binaryNode.left,binaryNode.right],type:\"FunctionCall\"};}// wraps a node to negate its value\nexport function createUnaryOperationNode({value}){return{operator:\"not\",type:\"UnaryOperation\",value};}export function handleCondition_IsIncludedIn({collection,condition,name,type,value}){// check if the filter condition is for the negated value\nconst negateValue=condition.charAt(0)===\"!\";const node=createBinaryOperationNode({left:{collection,name,type},right:{value,type:\"LiteralValue\"},operator:\"in\"});// if the value needs to be negated, wrap the node in a unary operation\nreturn negateValue?createUnaryOperationNode({value:node}):node;}/**\n * Handles filters with conditions as \"IS_SET\" or \"!IS_SET\".\n * @param {object} controlIdentifier - An object representing the control, composed of\n *   {collection, name, type} properties.\n * @param {string} condition - The string defining the type of filtering condition.\n * @returns {object} - Returns a binary operation node or unary operation node if the value is negated.\n */export function handleCondition_IsSet({collection,name,type,condition}){// check if the filter condition is for the negated value\nconst negateValue=condition.charAt(0)===\"!\";const left=createBinaryOperationNode({operator:\"!=\",left:{collection,name,type},right:{value:null,type:\"LiteralValue\"}});const right=createBinaryOperationNode({operator:\"!=\",left:{collection,name,type},right:{value:\"\",type:\"LiteralValue\"}});const node=createBinaryOperationNode({left,right,operator:\"and\"});// if the value needs to be negated, wrap the node in a unary operation\nreturn negateValue?createUnaryOperationNode({value:node}):node;}/**\n * Handles filters with conditions as \"STARTS_WITH\", \"!STARTS_WITH\", \"ENDS_WITH\", \"!ENDS_WITH\", \"CONTAINS\", \"!CONTAINS\".\n * @param {object} controlIdentifier - An object representing the control, composed of\n *   {collection, name, type} properties.\n * @param {string} condition - The string defining the type of filtering condition.\n * @returns {object} - Returns a binary operation node or unary operation node if the value is negated.\n */export function handleCondition_StartsWith_EndsWith_Contains({controlIdentifier,condition,value}){// check if the filter condition is for the negated value\nconst negateValue=condition.charAt(0)===\"!\";// Framer uses filter functions in their query tree for \"STARTS_WITH\", \"ENDS_WITH\", or \"CONTAINS\"\nconst functionName=negateValue?condition.substring(1):condition;const node=createFunctionCallNode({binaryNode:createBinaryOperationNode({left:controlIdentifier,right:{value,type:\"LiteralValue\"},operator:\"==\"}),functionName});// if the value needs to be negated, wrap the node in a unary operation\nreturn negateValue?createUnaryOperationNode({value:node}):node;}/**\n * Parses a string representing a range\n * @param {string} rangeString - String formatted to represent a range.\n * @returns {object} - Returns an object with the start and end values, and if they're inclusive or exclusive.\n */export function parseRangeCondition({rangeString}){// inclusive:\n// greater than or equal: [\n// lesser than or equal: ]\n//exclusive:\n// greater than: (\n// lesser than: )\n// check the first character to determine if the condition is \"greater than\", or \"greater than or equal\"\nconst startOperator=rangeString.charAt(0)===\"[\"?\">=\":\">\";// check the last character to determine if the condition is \"lesser than\", or \"lesser than or equal\"\nconst endOperator=rangeString.charAt(rangeString.length-1)===\"]\"?\"<=\":\"<\";// ommit the first and last charaters to split the values\nconst ranges=rangeString.substring(1,rangeString.length-1).split(\",\");return{start:{operator:startOperator,value:ranges[0]},end:{operator:endOperator,value:ranges[1]}};}/**\n * Handles filters with conditions that contains the substring \"IS_BETWEEN\".\n * @param {object} controlIdentifier - An object with properties of the control.\n * @param {object} start - The starting value and operator of the range.\n * @param {object} end - The ending value and operator of the range.\n * @returns {object} - Returns a binary operation node.\n */export function handleCondition_IsBetween({controlIdentifier,start,end}){const left=createBinaryOperationNode({left:controlIdentifier,right:{value:start.value,type:\"LiteralValue\"},operator:start.operator});// the results will be less than or equal to this end\nconst right=createBinaryOperationNode({left:controlIdentifier,right:{value:end.value,type:\"LiteralValue\"},operator:end.operator});return createBinaryOperationNode({left,right,operator:\"and\"});}// returns the tree structure used by Framer to apply filters to collection list\nexport function createFramerFilterTree({nodes=[],operator=\"and\"}){let tree={};nodes.forEach((node,index)=>{if(index===0){tree=node;}else{tree={operator,left:tree,right:node,type:\"BinaryOperation\"};}});return tree;}\nexport const __FramerMetadata__ = {\"exports\":{\"handleCondition_IsBetween\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"resetTimeOfISODateString\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getProps\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"handleCondition_StartsWith_EndsWith_Contains\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isISO8601\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"createCaseNode\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"createBinaryOperationNode\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"createUnaryOperationNode\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"createFramerFilterTree\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getAllCollections\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"createFunctionCallNode\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"parseRangeCondition\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"handleCondition_IsIncludedIn\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"handleCondition_IsSet\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Utilities.map","// @ts-ignore\nimport{useQueryData,useIsOnFramerCanvas}from\"framer\";import{useState,useEffect,useRef,useMemo}from\"react\";import{useStore,useDevStore}from\"https://framerusercontent.com/modules/oaAH7umUjUOTeKmykfom/4GSr51yWhuxjuWu6QpOf/Stores.js\";import{getProps,getAllCollections,createFramerFilterTree,createBinaryOperationNode,createCaseNode,createFunctionCallNode,createUnaryOperationNode,handleCondition_IsBetween,handleCondition_IsIncludedIn,handleCondition_IsSet,handleCondition_StartsWith_EndsWith_Contains,parseRangeCondition}from\"https://framerusercontent.com/modules/NktNXvnf4m4T7jKQcOHx/ld1Thy4iHs6v3180zPrJ/Utilities.js\";/**\n * Hook that prints to the console when debugging CMS Plus.\n * @param {boolean} debug - Is debugging CMS Plus or not.\n *\n * @returns {object} - An object with the following properties:\n * @param {function} consoleLogWhenDebuggingCMSPlus - Function that acts just like console.log, but only when debugging CMS Plus.\n */export const useConsoleLogWhenDebuggingCMSPlus=()=>{const[store]=useDevStore();const consoleLogWhenDebuggingCMSPlus=(...args)=>{if(store.isDebugging)console.log(...args);};return{consoleLogWhenDebuggingCMSPlus};};export const useGetFramerCMSItems=query=>{const[items,setItem]=useState([]);useEffect(()=>{if(!!query){const extractedItems=useQueryData(query);setItem(extractedItems);}},[query]);return items;};/**\n * Hook to debounce a value.\n * @param {number} delay - The delay in milliseconds before the debounced value is returned. Default is 2000.\n * @param {any} value - The value to debounce; the hook will return this value only after the specified delay without changes.\n * @returns {any} - Returns the debounced value after the delay.\n */export const useDebouncer=({delay,value})=>{const[debouncedValue,setDebouncedValue]=useState(value);useEffect(()=>{const ID=setTimeout(()=>{setDebouncedValue(value);},delay);return()=>clearTimeout(ID);},[value]);return debouncedValue;};/**\n * Hook to manage error alerts with a customizable delay.\n * @param {object} options - Configuration options for the hook.\n * @param {number} [options.delay=2000] - Optional delay in milliseconds before showing the alert. Defaults to 2000 if not provided.\n * @returns {object} - An object with the following properties:\n * @property {string[]} addMessage - An array of text messages representing the current error messages.\n * @property {boolean} hasMessages - A boolean indicating if there are any error messages.\n */export const useAlert=({delay=2e3}={})=>{const isOnFramerCanvas=useIsOnFramerCanvas();const[messages,setMessages]=useState([]);const debouncedMessages=useDebouncer({delay,value:messages});const addMessage=message=>{if(!isOnFramerCanvas)setMessages(prev=>[...prev,message]);};const clearMessages=()=>{if(!isOnFramerCanvas)setMessages([]);};useEffect(()=>{if(debouncedMessages.length>0)alert(`\nError!\n\n${debouncedMessages.join(\"\\n\")}`);},[debouncedMessages]);return{addMessage,clearMessages,hasMessages:messages.length>0};};/**\n * Custom hook that uses the cmsPlus collection's active filters to construct Framer's collection query where object.\n * @param {string} collectionID - The id of the collection stored in cmsPlus store.\n * @returns {function} Returns the where object structures as Framer's filtering tree to be used within the colleciton list query.\n */export const useConstructFramerCollectionQueryWhere=({collectionID})=>{const{consoleLogWhenDebuggingCMSPlus}=useConsoleLogWhenDebuggingCMSPlus();const[store]=useStore();const collection=store[collectionID];// get the current collection's props\nconst alias=collection?.alias||\"\";const fields=collection?.fields||{};const realTimeSearch=collection?.realTimeSearch||null;const collectionReferences=collection?.collectionReferences||null;// every element stores Framer's query filter structure made up of all the filters for that CMS field,\n// 'branches' will looped throught and formatted into the same Framer query filter structure\nconst branches=[];// if there is a search text, loop through the selected CMS fields and create a Framer query tree joined with \"or\" logic.\n// this is the only time were different CMS field are joined as \"match any\" logic\nif(!!realTimeSearch&&realTimeSearch.text!==\"\"){const nodes=[];// gather all the fields to search in and remove any duplicates\nconst realTimeSearchFields=Array.from(new Set(realTimeSearch.fields));realTimeSearchFields.forEach(fieldName=>{// if the field does not exist in the CMS, skip\nif(!fields.hasOwnProperty(fieldName))return;const control=fields[fieldName];const{type}=control;const controlIdentifier={collection:alias,name:control.id,type:\"Identifier\"};if(type===\"string\"){nodes.push(createFunctionCallNode({binaryNode:createBinaryOperationNode({left:controlIdentifier,right:{value:realTimeSearch.text,type:\"LiteralValue\"},operator:\"==\"}),functionName:\"CONTAINS\"}));}});if(nodes.length>0)branches.push(createFramerFilterTree({nodes,operator:\"or\"}));}// loop through each CMS field, for each active filter create a node, store in 'nodes', then format the 'nodes' into Framer's query filter structure with 'or' logic\nfor(const[name,props]of Object.entries(fields)){// @ts-ignore\nconst{id,type,options,optionTitles,filters}=props;// required for building the Framer query where object\n// collection alias is what collection this field is derived from\n// id is the Framer identification for this field control\nconst controlIdentifier={collection:alias,name:id,type:\"Identifier\"};const nodes=[];filters?.forEach((activeFilter,currentFilterIndex,theseFilters)=>{const{condition,value,isActive}=activeFilter;// handle the active filter based on CMS field type\nswitch(type){case\"enum\":// enum/option CMS field type is different. it does not need to loop through each active filter.\n// all possible options are gathered, and if theres one active filter, then a binary operation node is pushed into nodes, otherwise, more than 1 active filter uses a case note instead.\nif(currentFilterIndex>0)return;// cross reference the filter values to their corresponding Framer control IDs\nconst activeFilterOptionIds=theseFilters.filter(thisFilter=>thisFilter.isActive).map(thisFilter=>{const index=optionTitles.indexOf(thisFilter.value);return options[index];});if(activeFilterOptionIds.length<1)return;// use a binary operation node for 1 active filter, otherwise, for more active filters, use a case node\nnodes.push(theseFilters.length===1?createBinaryOperationNode({left:controlIdentifier,right:{value:activeFilterOptionIds[0],type:\"LiteralValue\"},operator:activeFilter.condition}):createCaseNode({controlId:id,optionIds:activeFilterOptionIds}));break;case\"slug\":case\"string\":// skip if the filter is inactive\nif(!isActive)return;// handles when the condition is \"Equals\" or \"Doesn't Equal\"\nif(condition==\"==\"||condition==\"!=\"){nodes.push(createBinaryOperationNode({left:controlIdentifier,right:{value,type:\"LiteralValue\"},operator:condition}));// handles when the condition is \"IS_SET\" or \"!IS_SET\"\n}else if(condition.includes(\"IS_SET\")){nodes.push(handleCondition_IsSet({...controlIdentifier,condition}));// handles filters with conditions as \"STARTS_WITH\", \"!STARTS_WITH\", \"ENDS_WITH\", \"!ENDS_WITH\", \"CONTAINS\", or \"!CONTAINS\"\n}else if(condition.includes(\"STARTS_WITH\")||condition.includes(\"ENDS_WITH\")||condition.includes(\"CONTAINS\")){nodes.push(handleCondition_StartsWith_EndsWith_Contains({controlIdentifier,condition,value}));}break;case\"number\":// skip if the filter is inactive\nif(!isActive)return;if(condition===\"IS_BETWEEN_NUMBERS\"){const range=parseRangeCondition({rangeString:value});const start={value:Number(range.start.value),operator:range.start.operator};const end={value:Number(range.end.value),operator:range.end.operator};nodes.push(handleCondition_IsBetween({controlIdentifier,start,end}));}else{// handles single values\nnodes.push(createBinaryOperationNode({left:controlIdentifier,right:{value,type:\"LiteralValue\"},operator:condition}));}break;case\"date\":// skip if the filter is inactive\nif(!isActive)return;if(condition===\"IS_BETWEEN_DATES\"){const range=parseRangeCondition({rangeString:value});const start={value:range.start.value,operator:range.start.operator};const end={value:range.end.value,operator:range.end.operator};nodes.push(handleCondition_IsBetween({controlIdentifier,start,end}));}else{// handles single dates\nnodes.push(createBinaryOperationNode({left:controlIdentifier,right:{value,type:\"LiteralValue\"},operator:condition}));}break;case\"file\":case\"richtext\":case\"responsiveimage\":case\"link\":// skip if the filter is inactive\nif(!isActive)return;nodes.push(handleCondition_IsSet({...controlIdentifier,condition}));break;case\"boolean\":// skip if the filter is inactive\nif(!isActive)return;nodes.push(activeFilter.value?controlIdentifier:createUnaryOperationNode({value:controlIdentifier}));break;case\"collectionreference\":// skip if the filter is inactive\nif(!isActive)return;// for references, the referenced collection alias is used as this field control's id, and the name is replaced with 'id'\nconst collectionIdentifier={...controlIdentifier,collection:id,name:\"id\"};if(condition.includes(\"IS_SET\")){nodes.push(handleCondition_IsSet({...collectionIdentifier,condition}));}if(condition==\"==\"||condition==\"!=\"){nodes.push(createBinaryOperationNode({left:collectionIdentifier,right:{value,type:\"LiteralValue\"},operator:condition}));}if(condition.includes(\"IS_INCLUDED\")){nodes.push(handleCondition_IsIncludedIn({...collectionIdentifier,condition,value}));}break;case\"multicollectionreference\":// skip of the filter is inactive\nif(!isActive)return;// get the multi referenced collection\nconst argument=collectionReferences[value];if(condition.includes(\"CONTAINS\")){// check if the filter condition is for the negated value\nconst negateValue=condition.charAt(0)===\"!\";const node=createBinaryOperationNode({left:{value,type:\"LiteralValue\"},right:{arguments:[argument],functionName:\"FLAT_ARRAY\",type:\"FunctionCall\"},operator:\"in\"});nodes.push(negateValue?createUnaryOperationNode({value:node}):node);}break;// do nothing if the control is not supported\ndefault:consoleLogWhenDebuggingCMSPlus(\"🆇:\",`CMS field ${type} type is not supported.`);break;}});// every node will be used to construct Framer's query tree joined with \"or\" logic.\n// this will allow filters from the same CMS fields applied as \"match any\" logic.\nif(nodes.length>0)branches.push(createFramerFilterTree({nodes,operator:\"or\"}));}// every branch will be used to construct Framer's query tree joined with \"and\" logic.\n// this will allow filters from different CMS fields applied as \"match all\" logic.\nconst where=createFramerFilterTree({nodes:branches,operator:\"and\"});return()=>Object.keys(where).length>0?where:null;};export const useFramerCollectionList=({collectionPlusID,framerCollectionList,isDebugging=false})=>{// stores\nconst[store,setStore]=useStore();const[devStore,setDevStore]=useDevStore();// states\n// key for updating the collection list on the page, a change will trigger a render\nconst[key,setKey]=useState(0);const[noSearchResults,setNoSearchResults]=useState(false);const[collection,setCollection]=useState({alias:null,id:null,name:null,query:null});// local variables\nconst collectionInitializedInStore=!!store[collection.id];const sortDirection=store[collection.id]?.sort;const debounced_delay=250;// hooks\nconst isOnFramerCanvas=useIsOnFramerCanvas();const constructFramerCollectionQueryWhere=useConstructFramerCollectionQueryWhere({collectionID:collection.id});// any dependencies that can trigger the render key should be debounced to prevent collection list flicker\nconst fields_debounced=useDebouncer({delay:debounced_delay,value:store[collection.id]?.fields});const searchText_debounced=useDebouncer({delay:debounced_delay,value:store[collection.id]?.realTimeSearch.text});const framerCollectionList_debounced=useDebouncer({delay:debounced_delay,value:framerCollectionList});// in order to extract cms query data, the cmsPlus filters will need to be formatted into Framer's query where tree structure and applied to query\nconst searchResults=useMemo(()=>{if(!!fields_debounced&&!!collection.query){const where=constructFramerCollectionQueryWhere();const orderBy=collection.query?.orderBy||null;// by default, sort is ascending when orberBy is undefined, and is not neede\nif(!!orderBy&&!!sortDirection){if(isDebugging){console.log(\"↕️:\",`Setting ${sortDirection} order.`);}collection.query.orderBy[0]={...collection.query.orderBy[0],direction:sortDirection};}if(!!where){if(isDebugging)console.log(\"🈸:\",where);collection.query.where=where;}else{delete collection.query.where;}if(isDebugging){console.log(\"🟠:\",\"Query:\",Object.assign({},collection.query));}return useQueryData(collection.query);}return null;},[fields_debounced,sortDirection,!!collection.query,searchText_debounced,framerCollectionList]);// updates the collection store with cms items, updates the render key for the collection list, and updates if the noSearchResults frame shoule be shown\nuseEffect(()=>{/**\n         * at this point:\n         * 1. framerCollectionList has been validated\n         * 2. the collection has been stored\n         * 3. its query has been altered by applying CMS+ filters\n         * 4. the cms items (query data) has been extracted using the altered query\n         * 5. finally the collection list on the page needs to be updated by changing the render key\n         */if(!!searchResults){if(isDebugging){console.log(\"🟢:\",`Updating CMS Items: id# ${collection.id} || name ${collection.name} || item count ${searchResults.length}`);}const noResults=searchResults.length<1;// key = 0 signifies the collection list is updating on Collection+\n// this avoids a split-second double render when switching from no results --> results until the collection list is updated with the latest filters\nconst updatedKey=noResults?0:Math.floor(Math.random()*1e5);setNoSearchResults(noResults);setKey(updatedKey);setStore(prev=>({...prev,[collection.id]:{...prev[collection.id],searchResults}}));}},[collectionInitializedInStore,sortDirection,fields_debounced,searchText_debounced,framerCollectionList_debounced]);// when on Preview/Live view only\n// if collection is not set in store, initialize a valid Framer collection list in store\n// otherwise, if it's the same list, sync the stored collection to Collection+\nuseEffect(()=>{if(!isOnFramerCanvas){if(isDebugging){console.log(\"🛠️:\",\"CMS Plus debugging enabled...\");console.log(\"\");}// get the query object from the Framer collection list\n// if a query object does not exist, then the linked frame is not a valid Framer collection list instance\nconst query=getProps({object:framerCollectionList,target:{name:\"query\",type:\"object\"}});// for Framer collection lists not using any references, this will return query.from\n// otherwise, list using references, it will return query.from.left\nconst props=getProps({object:query,target:{name:\"alias\",type:\"string\"},returnParent:true});// get the name of the collection\n// for collections that include references, multiple collections will be in the query object, but the first one is the target\nconst name=getProps({object:props,target:{name:\"displayName\",type:\"string\"}});// initialize in store\nif(!!name&&!!query){const storedCollection=store[collectionPlusID];if(!storedCollection){if(isDebugging){console.log(\"✅:\",`Initializing Collection+: \"${name}\" with id# ${collectionPlusID} in store.`);console.log(\"🟠:\",\"Query:\",Object.assign({},query));}// these are any native Framer filters applied on the list via the canvas\nconst defaultFilters=getProps({object:query,target:{name:\"where\",type:\"object\"}});// make the cms fields easier to manage by having the object props by readable titles, rather than its Framer ID\nconst cmsFieldsByID=getProps({object:props,target:{name:\"propertyControls\",type:\"object\"}});const cmsFieldsByName={};for(const[controlID,field]of Object.entries(cmsFieldsByID)){// @ts-ignore\nconst{title,...otherProps}=field;cmsFieldsByName[title]={...otherProps,id:controlID};}const from=getProps({object:query,target:{name:\"from\",type:\"object\"}});// if this collection list includes reference CMS fields, then gather all collections and remove the current one to be left the referenced collections only\nconst allCollections=getAllCollections({queryFrom:from});delete allCollections[props?.alias];const collectionReferences=Object.keys(allCollections).length>0?allCollections:null;if(isDebugging&&collectionReferences){console.log(\"🟠:\",\"References:\",collectionReferences);}// initiate the collection in store if valid\nsetStore(prev=>({...prev,[collectionPlusID]:{...defaultFilters&&{defaultFilters},...collectionReferences&&{collectionReferences},name,alias:props?.alias,fields:cmsFieldsByName,realTimeSearch:{fields:[],text:\"\"},searchResults:[]}}));}else{if(isDebugging){console.log(\"🟩:\",`Syncing Collection+ from store: id#${storedCollection.id} \"${storedCollection.name}\"`);}if(name===storedCollection.name){if(collection.query?.where){query.where=collection.query.where;}}}}// store query from a valid Framer collection list\nsetCollection({name,alias:props?.alias,id:collectionPlusID,...!!query&&{query}});// always start off with a 0 key, this notifies Collection+ the list is not ready and do not show\nsetKey(0);// cmsPlus collection+ must have props._cmsPlusDebugging = true via an override\nsetDevStore(prev=>({...prev,isDebugging}));}},[isOnFramerCanvas,framerCollectionList]);if(isDebugging)console.log(\"📀:\",Object.assign({},store));return{key,noSearchResults};};/**\n * Accesses a collection from the store using its ID.\n *\n * @param {string} collectionID - The collection's unique ID.\n * @returns {Object} -\n *   - `isCollectionReady`: True if the collection exists and the view is not on Framer Canvas.\n *   - `collectionFromStore`: The collection data or null if not found.\n */export const useCollectionFromStore=collectionID=>{const[store,setStore]=useStore();const collection=store[collectionID]||null;const isOnFramerCanvas=useIsOnFramerCanvas();return{isCollectionReady:!isOnFramerCanvas&&!!collection,collectionFromStore:collection};};/**\n * Validates the Filter+ component for CMS Plus.\n * Ensures the collection, field, and value are valid based on the given conditions.\n *\n * @param {string} collectionID - The ID of the CMS collection to validate.\n * @param {string} controlType - The expected control type of the field (e.g., 'string', 'number').\n * @param {string} cmsFieldName - The name of the CMS field to validate.\n * @param {*} value - The value being checked; must not be undefined if required.\n * @param {boolean} valueIsRequired - Whether a value is required (true) or not (false).\n *\n * @returns {boolean} - Returns true if the filter is valid; otherwise, false.\n */export const useIsFilter_Valid=({collectionID,controlType,cmsFieldName,value,valueIsRequired})=>{const{consoleLogWhenDebuggingCMSPlus}=useConsoleLogWhenDebuggingCMSPlus();const[isFilter_Valid,setIsFilter_Valid]=useState(false);const{isCollectionReady,collectionFromStore}=useCollectionFromStore(collectionID);const supportedControlTypes=[\"boolean\",\"collectionreference\",\"date\",\"enum\",\"file\",\"link\",\"multicollectionreference\",\"number\",\"responsiveimage\",\"richtext\",\"string\"];// Validate the filter when collection or related dependencies change\nuseEffect(()=>{setIsFilter_Valid(false)// Reset filter validity on dependency changes\n;if(isCollectionReady){const field=collectionFromStore.fields[cmsFieldName];const isSupportedType=supportedControlTypes.includes(field?.type);const usingMatchingFilterType=field?.type===controlType;const value_isValid=valueIsRequired?value!==undefined// Value must not be undefined if required\n:value===null// For optional values, null is acceptable\n;if(!!field&&isSupportedType&&usingMatchingFilterType&&value_isValid){setIsFilter_Valid(true)// Mark filter as valid\n;}else{const errors=[`❗️ Invalid Filter+ for ${cmsFieldName}:`];if(!field)errors.push(`${cmsFieldName} does not exist.`);if(!isSupportedType)errors.push(`${!!field?field.type:`Field`} type is not supported.`);if(!usingMatchingFilterType)errors.push(\"Using the wrong type of Filter+ for CMS field.\");if(value===undefined)errors.push(\"Value is required.\");consoleLogWhenDebuggingCMSPlus(errors.join(\"\\n\"));}}},[isCollectionReady,cmsFieldName,value,valueIsRequired]);return isFilter_Valid// Returns whether the filter is valid\n;};/**\n * Hook to initialize a filter in the collection store.\n *\n * Ensures that the specified filter is added to the store when valid and handles\n * clean-up or reset logic for non-preserved filters.\n *\n * Arguments:\n * @param {string} cmsFieldName - The CMS field to apply the filter to.\n * @param {string} collectionID - The ID of the collection this filter belongs to.\n * @param {string} condition - The filter's condition (e.g., \"equals\").\n * @param {string} controlType - The type of control (e.g., toggle, dropdown).\n * @param {boolean} isFilterActive - Whether the filter is currently active.\n * @param {boolean} isFilter_Valid - Indicates if the filter is valid for initialization.\n * @param {boolean} isPreserving - Whether the filter should be preserved on page reload.\n * @param {*} value - The value the filter applies.\n *\n * Returns:\n * - `isFilter_Initialized`: True if the filter is already initialized.\n * - `isFilter_CurrentlyActive`: The active status of the filter or null if uninitialized.\n */export const useInitializeFilter=({cmsFieldName,collectionID,condition,controlType,isFilterActive,isFilter_Valid,isPreserving,value})=>{const{consoleLogWhenDebuggingCMSPlus}=useConsoleLogWhenDebuggingCMSPlus();const setStore=useStore()[1];// Store default values for the filter to detect overrides.\nconst defaultValues_Ref=useRef({cmsFieldName,collectionID,condition,isPreserving,value});const{collectionFromStore}=useCollectionFromStore(collectionID);// Check if the filter is already initialized in the collection store.\nconst initializedFilter=collectionFromStore?.fields?.[cmsFieldName]?.filters?.find(f=>f.condition===condition&&(f.value===value||JSON.stringify(f.value)===JSON.stringify(value)))??null;const isFilterActive_defaultRef=useRef(isFilterActive);const isFilterActive_Ref=useRef(isFilterActive);const isFilter_Initialized_Ref=useRef(!!initializedFilter);// Keep track of filter active state.\nuseEffect(()=>{isFilterActive_Ref.current=isFilterActive;},[isFilterActive]);// Initialize the filter in the collection store if it is valid and not already initialized.\nuseEffect(()=>{if(isFilter_Valid&&!initializedFilter){consoleLogWhenDebuggingCMSPlus(`✅ Initializing Filter+: id# ${collectionID} | field ${cmsFieldName} | type ${controlType} | condition ${condition} | value ${value} | active? ${isFilterActive}`);isFilter_Initialized_Ref.current=true;setStore(prev=>{const prevFilters=prev[collectionID]?.fields[cmsFieldName]?.filters??[];return{...prev,[collectionID]:{...prev[collectionID],fields:{...prev[collectionID]?.fields,[cmsFieldName]:{...prev[collectionID]?.fields[cmsFieldName],filters:[...prevFilters,{condition,value,isActive:isFilterActive}]}}}};});}// Clean up: handle overrides if default values have changed.\nreturn()=>{const currentValues={cmsFieldName,collectionID,condition,isPreserving,value};const hasOverrides=Object.keys(currentValues).some(key=>{const currentValue=currentValues[key];const defaultValue=defaultValues_Ref.current[key];consoleLogWhenDebuggingCMSPlus(`Hooks > ${defaultValues_Ref.current.cmsFieldName}:`);consoleLogWhenDebuggingCMSPlus(`Hooks > Current Value:`,currentValue);consoleLogWhenDebuggingCMSPlus(`Hooks > Default Value:`,defaultValue);if(typeof defaultValue===\"object\"){return JSON.stringify(currentValue)!==JSON.stringify(defaultValue);}return currentValue!==defaultValue;});if(isFilter_Valid&&hasOverrides){const{cmsFieldName:prevCMSFieldName,collectionID:prevCollectionID,condition:prevCondition,value:prevValue}=defaultValues_Ref.current;consoleLogWhenDebuggingCMSPlus(`🆑 Clean Up Filter+: id# ${prevCollectionID} | field ${prevCMSFieldName} | type ${controlType} | condition ${prevCondition} | value ${prevValue}`);setStore(prev=>{const prevFilters=prev[prevCollectionID]?.fields[prevCMSFieldName]?.filters??[];return{...prev,[prevCollectionID]:{...prev[prevCollectionID],fields:{...prev[prevCollectionID]?.fields,[prevCMSFieldName]:{...prev[prevCollectionID]?.fields[prevCMSFieldName],filters:prevFilters.filter(f=>f.condition!==prevCondition||f.value!==prevValue)}}}};});}Object.assign(defaultValues_Ref.current,currentValues);};},[isFilter_Valid,cmsFieldName,collectionID,condition,isPreserving,value]);// Reset filters that are not preserved to their default state.\nuseEffect(()=>{return()=>{if(isFilter_Initialized_Ref.current&&!defaultValues_Ref.current.isPreserving){if(isFilterActive_Ref.current!==isFilterActive_defaultRef.current){const{cmsFieldName,collectionID,condition,value}=defaultValues_Ref.current;consoleLogWhenDebuggingCMSPlus(`🟨 Resetting Filter+: id# ${collectionID} | field ${cmsFieldName} | type ${controlType} | condition ${condition} | value ${value}`);setStore(prev=>{const prevFilters=prev[collectionID]?.fields[cmsFieldName]?.filters??[];return{...prev,[collectionID]:{...prev[collectionID],fields:{...prev[collectionID]?.fields,[cmsFieldName]:{...prev[collectionID]?.fields[cmsFieldName],filters:prevFilters.map(f=>f.condition===condition&&f.value===value?{...f,isActive:isFilterActive_defaultRef.current}:f)}}}};});}}};},[]);return{isFilter_Initialized:!!initializedFilter,isFilter_CurrentlyActive:initializedFilter?.isActive??null};};/**\n * Custom hook to sync a component's variant with its stored state.\n *\n * Arguments:\n * @param {boolean} component_isReady - Indicates if the component is ready for synchronization.\n * @param {function} debuggingLog - Logs debug information during synchronization.\n * @param {boolean} desynchronized - True if the component state differs from the stored state.\n * @param {boolean} isPreserving - Enables synchronization when state preservation is active.\n * @param {*} remoteValue - The value representing changes from an external source.\n * @param {function} transitionToVariant - Triggers a transition to the correct variant.\n *\n * Returns:\n * @returns {object} - `{ checkVariantSync }`, a flag indicating if the synchronization check is in progress.\n */export const useVariantSync=({component_isReady,debuggingLog,desynchronized,isPreserving,remoteValue,transitionToVariant})=>{const[checkVariantSync,setCheckVariantSync]=useState(isPreserving);// Sync to the correct variant when the component is ready and preserving state.\nuseEffect(()=>{if(component_isReady){if(isPreserving&&desynchronized){debuggingLog();transitionToVariant?.();}// Mark the synchronization check as completed.\nsetCheckVariantSync(false);}},[component_isReady]);// Handle changes from an external source.\nuseEffect(()=>{if(desynchronized&&!checkVariantSync){debuggingLog();transitionToVariant?.();}},[remoteValue]);return{checkVariantSync};};export const useFilter=({cmsPlusComponentName,collectionID,condition,value,cmsFieldName,isPreserving,isFilterActive,interactionActiveFilter,interactionInactiveFilter,controlType,valueIsRequired})=>{const{consoleLogWhenDebuggingCMSPlus}=useConsoleLogWhenDebuggingCMSPlus();const setStore=useStore()[1];const isFilterActive_defaultRef=useRef(isFilterActive);// Step 1: Validate the filter configuration.\nconst isFilter_Valid=useIsFilter_Valid({collectionID,controlType,cmsFieldName,valueIsRequired,value});// Step 2: Initialize the filter with its default state if not already done.\nconst{isFilter_Initialized,isFilter_CurrentlyActive}=useInitializeFilter({cmsFieldName,collectionID,condition,controlType,isFilterActive,isFilter_Valid,isPreserving,value});// compares the current active status with what is in the collection store\nconst desynchronized=isFilterActive!==isFilter_CurrentlyActive;// wait for the component to be ready, then check if the variant needs to be synced\nconst{checkVariantSync}=useVariantSync({desynchronized,isPreserving,component_isReady:isFilter_Initialized,remoteValue:isFilter_CurrentlyActive,debuggingLog:()=>consoleLogWhenDebuggingCMSPlus(`🔄 Syncing Filter+ to ${isFilter_CurrentlyActive?\"active\":\"inactive\"} variant: id# ${collectionID} | field ${cmsFieldName} | type ${controlType} | condition ${condition} | value ${value}`),transitionToVariant:isFilter_CurrentlyActive?interactionActiveFilter:interactionInactiveFilter});const isFilterActive_Debounced=useDebouncer({delay:200,value:isFilterActive});useEffect(()=>{if(isFilter_Initialized&&desynchronized&&!checkVariantSync){setStore(prev=>({...prev,[collectionID]:{...prev[collectionID],fields:{...prev[collectionID]?.fields,[cmsFieldName]:{...prev[collectionID]?.fields?.[cmsFieldName],filters:prev[collectionID]?.fields?.[cmsFieldName]?.filters?.map(f=>{if(f.condition===condition&&(f.value===value||JSON.stringify(f.value)===JSON.stringify(value))){return{...f,isActive:isFilterActive};}return f;})}}}}));consoleLogWhenDebuggingCMSPlus(`🟨 ${isFilterActive?\"Activating\":\"Deactivating\"} Filter+`,cmsFieldName,condition,value,`for id# ${collectionID}.`);}},[isFilter_Initialized,isFilterActive_Debounced,checkVariantSync]);};export const useReferencedCMSIds=()=>{const[store]=useStore();console.log(\"reference cms ids >\",store);};\nexport const __FramerMetadata__ = {\"exports\":{\"useConstructFramerCollectionQueryWhere\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useDebouncer\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useCollectionFromStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useGetFramerCMSItems\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useAlert\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useFilter\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useConsoleLogWhenDebuggingCMSPlus\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useIsFilter_Valid\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useFramerCollectionList\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useInitializeFilter\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useVariantSync\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useReferencedCMSIds\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,// @ts-ignore\ngetPropertyControls,ControlType,useIsOnFramerCanvas}from\"framer\";import{useEffect}from\"react\";import{useConsoleLogWhenDebuggingCMSPlus}from\"https://framerusercontent.com/modules/uaC9hWf3ec7HqMv3sXMc/fThGQnEUZeWwDLSQMzea/Hooks.js\";import{useStore}from\"https://framerusercontent.com/modules/oaAH7umUjUOTeKmykfom/4GSr51yWhuxjuWu6QpOf/Stores.js\";import CollectionIDControl from\"https://framerusercontent.com/modules/Hxho9sUnioBkMjGbLBed/csoxszrftuhmv2NyuE1c/collectionID.js\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n *\n * @framerDisableUnlink\n */export default function Clear_Plus(props){const cmsPlusComponentName=\"Clear+\";const{selectedFilters,selectedRealTimeSearches,clearNow}=props;const[store,setStore]=useStore();const isOnFramerCanvas=useIsOnFramerCanvas();const{consoleLogWhenDebuggingCMSPlus}=useConsoleLogWhenDebuggingCMSPlus();const hasSelectedFilters=selectedFilters.length>0;const hasSelectedRealTimeSearches=selectedRealTimeSearches.length>0;const hasSelections=hasSelectedFilters||hasSelectedRealTimeSearches;// handles clearing filters/searches\nuseEffect(()=>{if(!isOnFramerCanvas&&clearNow&&hasSelections){consoleLogWhenDebuggingCMSPlus(\"🆑:\",\"Clear+:\",`${hasSelectedFilters?\"filter\":\"\"}${hasSelectedFilters&&hasSelectedRealTimeSearches?\" / \":\"\"}${hasSelectedRealTimeSearches?\"search\":\"\"}`);consoleLogWhenDebuggingCMSPlus(selectedFilters,selectedRealTimeSearches);setStore(prev=>{const newStore={...prev};// loop through the user inputs selected collection ID(s) to clear search text(s)\nfor(let index=0;index<selectedRealTimeSearches.length;index++){const collectionID=selectedRealTimeSearches[index];const collection=newStore[collectionID];//  skip if collection is undefined\nif(!collection)continue;// if the user also listed to clear any real time searches, check if this collecition in included and null the text\nif(selectedRealTimeSearches.includes(collectionID)){newStore[collectionID].realTimeSearch={...newStore[collectionID].realTimeSearch,text:\"\",fields:[]};}}// this loop handles the selected filters to clear\nfor(let index=0;index<selectedFilters.length;index++){const{collectionID,clearAllActiveFilters,cmsFieldNames}=selectedFilters[index];const collection=newStore[collectionID];//  skip if collection is undefined\nif(!collection)continue;if(clearAllActiveFilters){for(const[name1,{filters}]of Object.entries(collection.fields)){if(!filters)continue;// deactivate all active filters\nconsoleLogWhenDebuggingCMSPlus(\"🆑:\",\"Clear+:\",`All filters for id#${collectionID} \"${name1}\".`);newStore[collectionID].fields={...newStore[collectionID].fields,[name1]:{...newStore[collectionID].fields[name1],filters:filters.map(f=>{if(f.isActive){return{...f,isActive:false};}return f;})}};}}else{cmsFieldNames.forEach(cmsFieldName=>{const field=newStore[collectionID].fields[cmsFieldName];// abort if field does not exist\nif(!field){consoleLogWhenDebuggingCMSPlus(\"❌:\",\"Clear+:\",`Field ${cmsFieldName} not found on id# ${collectionID} \"${name}\".`);return;}// abort if this doesn't have any filters to clear\nif(!field.filters||field.filters.length===0){consoleLogWhenDebuggingCMSPlus(\"❌:\",\"Clear+:\",`Field ${cmsFieldName} from id# ${collectionID} has no filters.`);return;}// deactivate all active filters\nnewStore[collectionID].fields={...newStore[collectionID].fields,[cmsFieldName]:{...newStore[collectionID].fields[cmsFieldName],filters:field.filters.map(f=>{if(f.isActive){return{...f,isActive:false};}return f;})}};});}}return newStore;});}},[isOnFramerCanvas,clearNow]);return /*#__PURE__*/_jsx(_Fragment,{});}Clear_Plus.displayName=\"Clear+\";addPropertyControls(Clear_Plus,{clearNow:{type:ControlType.Boolean,defaultValue:false,description:`Triggers clearing function. [Learn more](https://framercms.plus/documentation/pure-functionality).\nExplore its [documentation](https://framercms.plus/documentation/component-clear-plus).`,title:\"Clear\"},selectedFilters:{type:ControlType.Array,title:\"Active Filters\",defaultValue:[],control:{type:ControlType.Object,title:\"Collections & Filters\",controls:{...getPropertyControls(CollectionIDControl),clearAllActiveFilters:{type:ControlType.Boolean,title:\"All Filters\",defaultValue:true},cmsFieldNames:{type:ControlType.Array,title:\"Fields\",description:\"Must match exactly as the field is named in its collection.\",control:{type:ControlType.String,title:\"Field\",defaultValue:\"\"},hidden:props=>props.clearAllActiveFilters}}}},selectedRealTimeSearches:{type:ControlType.Array,title:\"Real Time Searches\",description:\"Clear the search text for the listed Collection+ IDs.\",defaultValue:[],control:{title:\"ID\",type:ControlType.Number,defaultValue:0,min:0,displayStepper:true,step:1}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Clear_Plus\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (befeeaf)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,Link,RichText,SmartComponentScopedContainer,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import Clear from\"https://framerusercontent.com/modules/b9Ahpqbe406WaEtVhaF0/XCBQ4QWWxYvqLLSTRUiO/Clear_Plus.js\";const ClearFonts=getFonts(Clear);const enabledGestures={aEpyd5h4v:{hover:true,pressed:true},KOCfcssPE:{hover:true},Z0bInZJBC:{pressed:true}};const cycleOrder=[\"KOCfcssPE\",\"aEpyd5h4v\",\"Z0bInZJBC\",\"alJF7zNhn\"];const serializationHash=\"framer-lgucO\";const variantClassNames={aEpyd5h4v:\"framer-v-1ei447d\",alJF7zNhn:\"framer-v-gevg44\",KOCfcssPE:\"framer-v-r5ypmg\",Z0bInZJBC:\"framer-v-nn9g1n\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={\"Reset filters_mobile\":\"Z0bInZJBC\",\"Reset filters\":\"aEpyd5h4v\",\"Variant 4\":\"alJF7zNhn\",Primary:\"KOCfcssPE\"};const getProps=({editLabel,height,id,link,newTab,tap,width,...props})=>{return{...props,hlbpWqqLR:tap??props.hlbpWqqLR,pHa52Nf7Z:newTab??props.pHa52Nf7Z,R2OTK9tZa:editLabel??props.R2OTK9tZa??\"Button label\",RpoeGDtc9:link??props.RpoeGDtc9,variant:humanReadableVariantMap[props.variant]??props.variant??\"KOCfcssPE\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,R2OTK9tZa,RpoeGDtc9,hlbpWqqLR,pHa52Nf7Z,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"KOCfcssPE\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap12w4i28=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(hlbpWqqLR){const res=await hlbpWqqLR(...args);if(res===false)return false;}});const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if([\"aEpyd5h4v-hover\",\"aEpyd5h4v-pressed\",\"Z0bInZJBC-pressed\"].includes(gestureVariant))return true;if([\"aEpyd5h4v\",\"Z0bInZJBC\"].includes(baseVariant))return true;return false;};return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(Link,{clickTrackingId:\"\",href:RpoeGDtc9,motionChild:true,nodeId:\"KOCfcssPE\",openInNewTab:pHa52Nf7Z,scopeId:\"SRwxuhUDn\",smoothScroll:true,children:/*#__PURE__*/_jsxs(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-r5ypmg\",className,classNames)} framer-18s3u5e`,\"data-border\":true,\"data-framer-name\":\"Primary\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"KOCfcssPE\",onTap:onTap12w4i28,ref:refBinding,style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"var(--token-efdf2239-1c90-4b21-8ff6-868be2b2cc1b, rgb(20, 20, 20))\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",backgroundColor:\"rgba(0, 0, 0, 0)\",borderBottomLeftRadius:4,borderBottomRightRadius:4,borderTopLeftRadius:4,borderTopRightRadius:4,...style},variants:{\"aEpyd5h4v-hover\":{backgroundColor:\"rgba(0, 0, 0, 0)\"},\"aEpyd5h4v-pressed\":{backgroundColor:\"rgba(0, 0, 0, 0)\"},\"KOCfcssPE-hover\":{backgroundColor:\"rgba(0, 0, 0, 0)\"},\"Z0bInZJBC-pressed\":{backgroundColor:\"rgba(0, 0, 0, 0)\"},aEpyd5h4v:{\"--border-bottom-width\":\"0px\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-top-width\":\"0px\"},alJF7zNhn:{\"--border-color\":\"var(--token-86114773-b917-4df6-b7fd-0cbf666a9e49, rgb(213, 215, 218))\",backgroundColor:\"var(--token-da39dbc8-acba-4415-81ac-751a9fa565b2, rgb(245, 245, 245))\"},Z0bInZJBC:{\"--border-bottom-width\":\"0px\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-top-width\":\"0px\"}},...addPropertyOverrides({\"aEpyd5h4v-hover\":{\"data-framer-name\":undefined},\"aEpyd5h4v-pressed\":{\"data-framer-name\":undefined},\"KOCfcssPE-hover\":{\"data-framer-name\":undefined},\"Z0bInZJBC-pressed\":{\"data-framer-name\":undefined},aEpyd5h4v:{\"data-framer-name\":\"Reset filters\"},alJF7zNhn:{\"data-framer-name\":\"Variant 4\"},Z0bInZJBC:{\"data-framer-name\":\"Reset filters_mobile\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-1bsx2k7\",layoutDependency:layoutDependency,layoutId:\"Svjr74mac\",style:{backgroundColor:\"var(--token-dfb2dbae-6d73-401f-a227-ea0f2674a086, rgb(20, 20, 20))\",borderBottomLeftRadius:4,borderBottomRightRadius:4,borderTopLeftRadius:4,borderTopRightRadius:4,opacity:1},variants:{\"aEpyd5h4v-hover\":{backgroundColor:\"var(--token-da39dbc8-acba-4415-81ac-751a9fa565b2, rgb(245, 245, 245))\"},\"KOCfcssPE-hover\":{opacity:.9},\"Z0bInZJBC-pressed\":{opacity:1},aEpyd5h4v:{backgroundColor:\"var(--token-f441d571-ac20-4e27-8646-a7c076b0e5d8, rgb(255, 255, 255))\"},alJF7zNhn:{backgroundColor:\"rgba(255, 255, 255, 0.1)\"},Z0bInZJBC:{backgroundColor:\"var(--token-f441d571-ac20-4e27-8646-a7c076b0e5d8, rgb(255, 255, 255))\"}}}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"X19TeXN0ZW1EZWZhdWx0LTYwMC1ub3JtYWxfXw==\",\"--framer-font-family\":'\"system-ui\", \"-apple-system\", \"BlinkMacSystemFont\", \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif, \"System Default\", sans-serif',\"--framer-font-size\":\"15px\",\"--framer-font-weight\":\"600\",\"--framer-letter-spacing\":\"0px\",\"--framer-line-height\":\"22px\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-9ff8923b-2eed-45d5-a7e4-e4f49ad0032d, rgb(20, 20, 20)))\"},children:\"Button label\"})}),className:\"framer-1ym2fuq\",\"data-framer-name\":\"label\",fonts:[\"__SystemDefault-600-normal__\"],layoutDependency:layoutDependency,layoutId:\"I17:191;4049:305\",style:{\"--extracted-r6o4lv\":\"var(--token-9ff8923b-2eed-45d5-a7e4-e4f49ad0032d, rgb(20, 20, 20))\",\"--framer-paragraph-spacing\":\"0px\"},text:R2OTK9tZa,variants:{\"aEpyd5h4v-hover\":{\"--extracted-r6o4lv\":\"var(--token-28c9c3cc-40f2-4a6c-af23-fd713333b3d9, rgb(20, 20, 20))\"},\"aEpyd5h4v-pressed\":{\"--extracted-r6o4lv\":\"var(--token-28c9c3cc-40f2-4a6c-af23-fd713333b3d9, rgb(20, 20, 20))\"},\"Z0bInZJBC-pressed\":{\"--extracted-r6o4lv\":\"var(--token-28c9c3cc-40f2-4a6c-af23-fd713333b3d9, rgb(20, 20, 20))\"},aEpyd5h4v:{\"--extracted-r6o4lv\":\"var(--token-3d86ccd8-6a73-4429-b5d0-60d83e738129, rgb(113, 118, 128))\"},alJF7zNhn:{\"--extracted-r6o4lv\":\"var(--token-28c9c3cc-40f2-4a6c-af23-fd713333b3d9, rgb(20, 20, 20))\"},Z0bInZJBC:{\"--extracted-r6o4lv\":\"var(--token-3d86ccd8-6a73-4429-b5d0-60d83e738129, rgb(113, 118, 128))\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({\"aEpyd5h4v-hover\":{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"X19TeXN0ZW1EZWZhdWx0LTYwMC1ub3JtYWxfXw==\",\"--framer-font-family\":'\"system-ui\", \"-apple-system\", \"BlinkMacSystemFont\", \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif, \"System Default\", sans-serif',\"--framer-font-size\":\"15px\",\"--framer-font-weight\":\"600\",\"--framer-letter-spacing\":\"0px\",\"--framer-line-height\":\"22px\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-28c9c3cc-40f2-4a6c-af23-fd713333b3d9, rgb(20, 20, 20)))\"},children:\"Button label\"})})},\"aEpyd5h4v-pressed\":{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"X19TeXN0ZW1EZWZhdWx0LTYwMC1ub3JtYWxfXw==\",\"--framer-font-family\":'\"system-ui\", \"-apple-system\", \"BlinkMacSystemFont\", \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif, \"System Default\", sans-serif',\"--framer-font-size\":\"15px\",\"--framer-font-weight\":\"600\",\"--framer-letter-spacing\":\"0px\",\"--framer-line-height\":\"22px\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-28c9c3cc-40f2-4a6c-af23-fd713333b3d9, rgb(20, 20, 20)))\"},children:\"Button label\"})})},\"Z0bInZJBC-pressed\":{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"X19TeXN0ZW1EZWZhdWx0LTYwMC1ub3JtYWxfXw==\",\"--framer-font-family\":'\"system-ui\", \"-apple-system\", \"BlinkMacSystemFont\", \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif, \"System Default\", sans-serif',\"--framer-font-size\":\"15px\",\"--framer-font-weight\":\"600\",\"--framer-letter-spacing\":\"0px\",\"--framer-line-height\":\"22px\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-28c9c3cc-40f2-4a6c-af23-fd713333b3d9, rgb(20, 20, 20)))\",\"--framer-text-decoration-color\":\"var(--token-28c9c3cc-40f2-4a6c-af23-fd713333b3d9, rgb(20, 20, 20))\",\"--framer-text-decoration-offset\":\"3px\",\"--framer-text-decoration\":\"underline\"},children:\"Button label\"})})},aEpyd5h4v:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"X19TeXN0ZW1EZWZhdWx0LTYwMC1ub3JtYWxfXw==\",\"--framer-font-family\":'\"system-ui\", \"-apple-system\", \"BlinkMacSystemFont\", \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif, \"System Default\", sans-serif',\"--framer-font-size\":\"15px\",\"--framer-font-weight\":\"600\",\"--framer-letter-spacing\":\"0px\",\"--framer-line-height\":\"22px\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-3d86ccd8-6a73-4429-b5d0-60d83e738129, rgb(113, 118, 128)))\"},children:\"Button label\"})})},alJF7zNhn:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"X19TeXN0ZW1EZWZhdWx0LTYwMC1ub3JtYWxfXw==\",\"--framer-font-family\":'\"system-ui\", \"-apple-system\", \"BlinkMacSystemFont\", \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif, \"System Default\", sans-serif',\"--framer-font-size\":\"15px\",\"--framer-font-weight\":\"600\",\"--framer-letter-spacing\":\"0px\",\"--framer-line-height\":\"22px\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-28c9c3cc-40f2-4a6c-af23-fd713333b3d9, rgb(20, 20, 20)))\"},children:\"Button label\"})})},Z0bInZJBC:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"X19TeXN0ZW1EZWZhdWx0LTYwMC1ub3JtYWxfXw==\",\"--framer-font-family\":'\"system-ui\", \"-apple-system\", \"BlinkMacSystemFont\", \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif, \"System Default\", sans-serif',\"--framer-font-size\":\"15px\",\"--framer-font-weight\":\"600\",\"--framer-letter-spacing\":\"0px\",\"--framer-line-height\":\"22px\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-3d86ccd8-6a73-4429-b5d0-60d83e738129, rgb(113, 118, 128)))\",\"--framer-text-decoration-color\":\"var(--token-3d86ccd8-6a73-4429-b5d0-60d83e738129, rgb(113, 118, 128))\",\"--framer-text-decoration-offset\":\"3px\",\"--framer-text-decoration\":\"underline\"},children:\"Button label\"})})}},baseVariant,gestureVariant)}),isDisplayed()&&/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-tjqt2l-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"ikCGEdijK-container\",nodeId:\"ikCGEdijK\",rendersWithMotion:true,scopeId:\"SRwxuhUDn\",children:/*#__PURE__*/_jsx(Clear,{clearNow:false,height:\"100%\",id:\"ikCGEdijK\",layoutId:\"ikCGEdijK\",selectedFilters:[{clearAllActiveFilters:true,cmsFieldNames:[\"\"],collectionID:0}],selectedRealTimeSearches:[0],width:\"100%\",...addPropertyOverrides({\"aEpyd5h4v-pressed\":{clearNow:true},\"Z0bInZJBC-pressed\":{clearNow:true}},baseVariant,gestureVariant)})})})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-lgucO.framer-18s3u5e, .framer-lgucO .framer-18s3u5e { display: block; }\",\".framer-lgucO.framer-r5ypmg { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 4px; height: 40px; justify-content: center; overflow: visible; padding: 0px 14px 0px 14px; position: relative; text-decoration: none; width: min-content; }\",\".framer-lgucO .framer-1bsx2k7 { bottom: 0px; flex: none; left: 0px; overflow: visible; position: absolute; right: 0px; top: 0px; z-index: 0; }\",\".framer-lgucO .framer-1ym2fuq { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre; width: auto; }\",\".framer-lgucO .framer-tjqt2l-container { flex: none; height: auto; left: 0px; position: absolute; top: 0px; width: auto; z-index: 1; }\",'.framer-lgucO[data-border=\"true\"]::after, .framer-lgucO [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 40\n * @framerIntrinsicWidth 111\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"fixed\"]},\"aEpyd5h4v\":{\"layout\":[\"auto\",\"fixed\"]},\"Z0bInZJBC\":{\"layout\":[\"auto\",\"fixed\"]},\"alJF7zNhn\":{\"layout\":[\"auto\",\"fixed\"]},\"MrRuPx9Pi\":{\"layout\":[\"auto\",\"fixed\"]},\"B0BYMZVKp\":{\"layout\":[\"auto\",\"fixed\"]},\"Q9TspKCuU\":{\"layout\":[\"auto\",\"fixed\"]},\"tNLZ1Wpu0\":{\"layout\":[\"auto\",\"fixed\"]}}}\n * @framerVariables {\"R2OTK9tZa\":\"editLabel\",\"RpoeGDtc9\":\"link\",\"hlbpWqqLR\":\"tap\",\"pHa52Nf7Z\":\"newTab\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerSRwxuhUDn=withCSS(Component,css,\"framer-lgucO\");export default FramerSRwxuhUDn;FramerSRwxuhUDn.displayName=\"button\";FramerSRwxuhUDn.defaultProps={height:40,width:111};addPropertyControls(FramerSRwxuhUDn,{variant:{options:[\"KOCfcssPE\",\"aEpyd5h4v\",\"Z0bInZJBC\",\"alJF7zNhn\"],optionTitles:[\"Primary\",\"Reset filters\",\"Reset filters_mobile\",\"Variant 4\"],title:\"Variant\",type:ControlType.Enum},R2OTK9tZa:{defaultValue:\"Button label\",displayTextArea:false,title:\"Edit label\",type:ControlType.String},RpoeGDtc9:{title:\"Link\",type:ControlType.Link},hlbpWqqLR:{title:\"Tap\",type:ControlType.EventHandler},pHa52Nf7Z:{defaultValue:false,title:\"New Tab\",type:ControlType.Boolean}});addFonts(FramerSRwxuhUDn,[{explicitInter:true,fonts:[]},...ClearFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerSRwxuhUDn\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"40\",\"framerAutoSizeImages\":\"true\",\"framerColorSyntax\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"aEpyd5h4v\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"Z0bInZJBC\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"alJF7zNhn\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"MrRuPx9Pi\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"B0BYMZVKp\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"Q9TspKCuU\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"tNLZ1Wpu0\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]}}}\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicWidth\":\"111\",\"framerVariables\":\"{\\\"R2OTK9tZa\\\":\\\"editLabel\\\",\\\"RpoeGDtc9\\\":\\\"link\\\",\\\"hlbpWqqLR\\\":\\\"tap\\\",\\\"pHa52Nf7Z\\\":\\\"newTab\\\"}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SRwxuhUDn.map","// Keyboard shortcut component for website navigation\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useState,startTransition}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/**\n * Keyboard Shortcuts Navigation\n * @framerDisableUnlink\n * @framerIntrinsicWidth 200\n * @framerIntrinsicHeight 120\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function KeyboardShortcuts(props){const{shortcuts=[{key:\"h\",url:\"/\",openInNewTab:false},{key:\"a\",url:\"/about\",openInNewTab:false},{key:\"c\",url:\"/contact\",openInNewTab:false}]}=props;const[pressedKeys,setPressedKeys]=useState(new Set);useEffect(()=>{if(typeof window===\"undefined\"||RenderTarget.current()===RenderTarget.thumbnail)return;const handleKeyDown=event=>{// Ignore if user is typing in an input field\nif(event.target instanceof HTMLInputElement||event.target instanceof HTMLTextAreaElement||event.target instanceof HTMLSelectElement){return;}const key=event.key.toLowerCase();// Track pressed keys\nstartTransition(()=>{setPressedKeys(prev=>new Set([...prev,key]));});// Check for shortcut matches\nfor(const shortcut of shortcuts){const shortcutKey=shortcut.key.toLowerCase();// Check if shortcut contains modifier keys\nif(shortcutKey.includes(\"ctrl+\")||shortcutKey.includes(\"cmd+\")||shortcutKey.includes(\"alt+\")||shortcutKey.includes(\"shift+\")){// Parse modifier combination\nconst parts=shortcutKey.split(\"+\");const modifiers=parts.slice(0,-1);const mainKey=parts[parts.length-1];// Check if all required modifiers are pressed and main key matches\nconst ctrlPressed=modifiers.includes(\"ctrl\")&&(event.ctrlKey||event.metaKey);const altPressed=modifiers.includes(\"alt\")&&event.altKey;const shiftPressed=modifiers.includes(\"shift\")&&event.shiftKey;const cmdPressed=modifiers.includes(\"cmd\")&&event.metaKey;const allModifiersMatch=(!modifiers.includes(\"ctrl\")||ctrlPressed)&&(!modifiers.includes(\"cmd\")||cmdPressed)&&(!modifiers.includes(\"alt\")||altPressed)&&(!modifiers.includes(\"shift\")||shiftPressed)&&(modifiers.includes(\"ctrl\")?event.ctrlKey||event.metaKey:true)&&(modifiers.includes(\"cmd\")?event.metaKey:true)&&(modifiers.includes(\"alt\")?event.altKey:true)&&(modifiers.includes(\"shift\")?event.shiftKey:true);if(allModifiersMatch&&mainKey===key){event.preventDefault();if(shortcut.openInNewTab){window.open(shortcut.url,\"_blank\");}else{window.location.href=shortcut.url;}return;}}else{// Simple key match (single key) - only if no modifiers are pressed\nif(shortcutKey===key&&!event.ctrlKey&&!event.metaKey&&!event.altKey&&!event.shiftKey){event.preventDefault();if(shortcut.openInNewTab){window.open(shortcut.url,\"_blank\");}else{window.location.href=shortcut.url;}return;}}}};const handleKeyUp=()=>{startTransition(()=>setPressedKeys(new Set));};const handleBlur=()=>{startTransition(()=>setPressedKeys(new Set));};window.addEventListener(\"keydown\",handleKeyDown);window.addEventListener(\"keyup\",handleKeyUp);window.addEventListener(\"blur\",handleBlur);return()=>{window.removeEventListener(\"keydown\",handleKeyDown);window.removeEventListener(\"keyup\",handleKeyUp);window.removeEventListener(\"blur\",handleBlur);};},[shortcuts,pressedKeys]);if(RenderTarget.current()===RenderTarget.thumbnail){return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",backgroundColor:\"#F5F5F5\",borderRadius:\"8px\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\",opacity:.7},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:\"24px\",marginBottom:\"8px\"},children:\"⌨️\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:\"14px\"},children:\"Keyboard Shortcuts\"})]})});}return null;}addPropertyControls(KeyboardShortcuts,{shortcuts:{type:ControlType.Array,title:\"Shortcuts\",control:{type:ControlType.Object,controls:{key:{type:ControlType.String,title:\"Key\",defaultValue:\"h\",placeholder:\"e.g. h, k, n\"},url:{type:ControlType.String,title:\"URL\",defaultValue:\"/\",placeholder:\"/page or https://example.com\"},openInNewTab:{type:ControlType.Boolean,title:\"Open in New Tab\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\"}}},defaultValue:[{key:\"h\",url:\"/\",openInNewTab:false},{key:\"a\",url:\"/about\",openInNewTab:false},{key:\"c\",url:\"/contact\",openInNewTab:false}],maxCount:10}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"KeyboardShortcuts\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"120\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerDisableUnlink\":\"* @framerIntrinsicWidth 200\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./KeyboardShortcuts.map","// Generated by Framer (ba156f5)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"__SystemDefault-700-normal__\"]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=['.framer-RvDNI .framer-styles-preset-6masdk:not(.rich-text-wrapper), .framer-RvDNI .framer-styles-preset-6masdk.rich-text-wrapper h1 { --framer-font-family: \"system-ui\", \"-apple-system\", \"BlinkMacSystemFont\", \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif, \"System Default\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 48px; --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 700; --framer-letter-spacing: -0.04em; --framer-line-height: 56px; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-28c9c3cc-40f2-4a6c-af23-fd713333b3d9, #141414); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }','@media (max-width: 1199px) and (min-width: 810px) { .framer-RvDNI .framer-styles-preset-6masdk:not(.rich-text-wrapper), .framer-RvDNI .framer-styles-preset-6masdk.rich-text-wrapper h1 { --framer-font-family: \"system-ui\", \"-apple-system\", \"BlinkMacSystemFont\", \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif, \"System Default\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 42px; --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 700; --framer-letter-spacing: -0.04em; --framer-line-height: 48px; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-28c9c3cc-40f2-4a6c-af23-fd713333b3d9, #141414); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }','@media (max-width: 809px) and (min-width: 0px) { .framer-RvDNI .framer-styles-preset-6masdk:not(.rich-text-wrapper), .framer-RvDNI .framer-styles-preset-6masdk.rich-text-wrapper h1 { --framer-font-family: \"system-ui\", \"-apple-system\", \"BlinkMacSystemFont\", \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif, \"System Default\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 36px; --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 700; --framer-letter-spacing: -0.04em; --framer-line-height: 42px; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-28c9c3cc-40f2-4a6c-af23-fd713333b3d9, #141414); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-RvDNI\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"g4BAC8B,EAAU,UAAU,CAAC,+BAA+B,EAAeA,GAAM,CAAC,CAAC,cAAc,GAAK,MAAM,EAAE,CAAC,CAAC,CAAcoB,EAAI,CAAC,01BAA01B,CAAcD,EAAU,kBCD77B,SAAgB,EAAY,EAAO,CACjH,IAAM,EAAU,EAAK,CAAC,MAAM,OAAO,OAAO,CAAC,GA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