{"version":3,"file":"Custom_Code_Reset.DGM1TJHi.mjs","names":["useRef","useMemo","React.useCallback","__esmMin","ne","init_ssg_sandbox_shims","j","init_npm_react_18_3_1","window","pe","z","K","c","p","de","addPropertyControls","RenderTarget","init_framer_D1IzEvwH","ControlType","init_store_management","evGetRandomString","getCollectionStoreKey","useCollectionStoreBinding","removeSavedServicesFilters","path","storage","keys","i","key","SERVICES_FILTER_MEMORY_PREFIX","encodedPath","decoded","error","normalizeGroup","value","result","resolveCollectionStore","source","hasMeaningfulValue","filterIsActive","filter","storeHasActiveFilters","state","clearStoreState","previous","resetPage","fillSlot","next","node","child","index","CMSClearAllFilters","FALLBACK_PRIMARY","FALLBACK_SECONDARY","props","isCanvas","componentId","id","explicitGroup","filterGroup","derivedPrimary","primaryCollection","derivedSecondary","secondaryCollection","primaryStoreKey","primaryStore","secondaryStoreKey","secondaryStore","primaryBinding","secondaryBinding","canonicalProviderBinding","canonicalServicesBinding","derivedPrimaryKey","derivedSecondaryKey","derivedPrimaryBinding","derivedSecondaryBinding","allStoreBindings","allStoreKeys","item","primaryState","secondaryState","primaryActive","secondaryActive","runtimeActive","visibleActive","canvasState","shouldShow","visibility","clearAll","blockLink","event","target","changed","visited","debugMode","renderedButton","fillButton","button","style","init_Custom_Code_Reset","init_jsx_runtime"],"sources":["https:/framerusercontent.com/modules/kgrlOYFiFktELwwW32t0/f3RizNuLSUZ3dAkwCHB0/Custom_Code_Reset.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{useMemo,useRef}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useCollectionStoreBinding,getCollectionStoreKey,evGetRandomString}from\"https://framerusercontent.com/modules/2VZikWBxCagm4nJReNjX/PfyILngDXp5cnNZmDCPc/store_management.js\";/**\n * CMS Clear All Filters — custom Framer design\n *\n * Designed for the current dual-store setup:\n * Primary   = Service Providers\n * Secondary = Services\n *\n * @framerIntrinsicWidth 140\n * @framerIntrinsicHeight 44\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerDisableUnlink\n */const FALLBACK_PRIMARY=\"Service Providers\";const FALLBACK_SECONDARY=\"Services\";// Shared Filters persists selections under this prefix. Clear must remove them\n// too, otherwise a locale switch / browser Back can restore cleared filters.\nconst SERVICES_FILTER_MEMORY_PREFIX=\"zettla:services:filters:v1:\";function removeSavedServicesFilters(){if(typeof window===\"undefined\")return;try{const path=window.location.pathname.toLowerCase().replace(/\\/+$/,\"\");// Only touch Services; this Clear component can be reused elsewhere.\nif(!/(?:^|\\/)(?:services|servicios)$/.test(path))return;const storage=window.sessionStorage;const keys=[];for(let i=0;i<storage.length;i++){const key=storage.key(i);if(key?.startsWith(SERVICES_FILTER_MEMORY_PREFIX)){const suffix=key.slice(SERVICES_FILTER_MEMORY_PREFIX.length);// The stored path is encodedURIComponent('/services') or the\n// historical locale-specific '/es/services' path.\nconst encodedPath=suffix.split(\":\",1)[0];let decoded=\"\";try{decoded=decodeURIComponent(encodedPath);}catch{}if(/(?:^|\\/)(?:services|servicios)\\/?$/i.test(decoded)){keys.push(key);}}}keys.forEach(key=>storage.removeItem(key));}catch(error){console.warn(\"[CMSClearAllFilters] Could not clear saved Services filters\",error);}}function normalizeGroup(value){if(typeof value!==\"string\")return\"\";const result=value.trim();if(!result||result.toLowerCase()===\"auto\")return\"\";return result;}function resolveCollectionStore(source){if(!source)return\"\";try{return getCollectionStoreKey(source,\"auto\")||\"\";}catch{return\"\";}}function hasMeaningfulValue(value){if(Array.isArray(value))return value.length>0;if(value===null||value===undefined)return false;if(typeof value===\"string\")return value.trim()!==\"\";if(typeof value===\"object\")return Object.keys(value).length>0;return true;}function filterIsActive(filter){if(!filter)return false;const candidates=[filter.value,filter.values,filter.alternateValues,filter.selectedValue,filter.selectedMin,filter.selectedMax,filter.from,filter.to];return candidates.some(hasMeaningfulValue);}function storeHasActiveFilters(state){const filters=Array.isArray(state?.filters)?state.filters:[];return filters.some(filterIsActive);}function clearStoreState(previous,resetPage){// Search uses both CMS text filters and legacy searchRules; reset BOTH.\n// Epoch prevents search/local UI from re-seeding old text after the click.\nreturn{...previous||{},filters:[],searchRules:[],searchTerm:\"\",searchFields:[],searchDisplayTitle:\"\",zettlaFacetSearch:null,zettlaResetEpoch:Number(previous?.zettlaResetEpoch||0)+1,...resetPage?{pagination:{...previous?.pagination||{},page:1}}:{}};}function fillSlot(node){const children=React.Children.toArray(node);const next=children.map((child,index)=>{if(!/*#__PURE__*/React.isValidElement(child))return child;return /*#__PURE__*/React.cloneElement(child,{key:child.key??`cms-clear-slot-${index}`,style:{...child.props?.style||{},width:\"100%\",maxWidth:\"none\",minWidth:0,alignSelf:\"stretch\"}});});if(Array.isArray(node))return next;return next[0]??node;}export default function CMSClearAllFilters(props){const{button,primaryCollection,secondaryCollection,filterGroup=\"auto\",primaryStore=FALLBACK_PRIMARY,secondaryStore=FALLBACK_SECONDARY,visibility=\"activeOnly\",canvasState=\"active\",resetPage=true,blockLink=true,fillButton=true,debugMode=false,style,id}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const componentIdRef=useRef(id||evGetRandomString());const componentId=componentIdRef.current;const explicitGroup=normalizeGroup(filterGroup);const derivedPrimary=useMemo(()=>resolveCollectionStore(primaryCollection),[primaryCollection]);const derivedSecondary=useMemo(()=>resolveCollectionStore(secondaryCollection),[secondaryCollection]);// Exact store names win in auto mode. This avoids the old issue where a\n// wrapped CMS slot sometimes resolved to a different key and the Reset\n// component never saw the active filters.\nconst primaryStoreKey=explicitGroup||String(primaryStore||\"\").trim()||derivedPrimary||FALLBACK_PRIMARY;const secondaryStoreKey=explicitGroup||String(secondaryStore||\"\").trim()||derivedSecondary||FALLBACK_SECONDARY;const primaryBinding=useCollectionStoreBinding(primaryStoreKey,`${componentId}-clear-primary`);const secondaryBinding=useCollectionStoreBinding(secondaryStoreKey,`${componentId}-clear-secondary`);// The latest carousel checks both canonical stores and the collection-derived\n// store. Reset every distinct store it can read, even when the connected\n// Framer CMS slot resolves to an unexpected locale-specific key.\nconst canonicalProviderBinding=useCollectionStoreBinding(FALLBACK_PRIMARY,`${componentId}-clear-canonical-provider`);const canonicalServicesBinding=useCollectionStoreBinding(FALLBACK_SECONDARY,`${componentId}-clear-canonical-services`);const derivedPrimaryKey=derivedPrimary||primaryStoreKey;const derivedSecondaryKey=derivedSecondary||secondaryStoreKey;const derivedPrimaryBinding=useCollectionStoreBinding(derivedPrimaryKey,`${componentId}-clear-derived-primary`);const derivedSecondaryBinding=useCollectionStoreBinding(derivedSecondaryKey,`${componentId}-clear-derived-secondary`);const allStoreBindings=[{key:primaryStoreKey,binding:primaryBinding},{key:secondaryStoreKey,binding:secondaryBinding},{key:FALLBACK_PRIMARY,binding:canonicalProviderBinding},{key:FALLBACK_SECONDARY,binding:canonicalServicesBinding},{key:derivedPrimaryKey,binding:derivedPrimaryBinding},{key:derivedSecondaryKey,binding:derivedSecondaryBinding}];const allStoreKeys=Array.from(new Set(allStoreBindings.map(item=>item.key).filter(Boolean)));const primaryState=primaryBinding?.state;const secondaryState=secondaryBinding?.state;const primaryActive=storeHasActiveFilters(primaryState);const secondaryActive=secondaryStoreKey!==primaryStoreKey&&storeHasActiveFilters(secondaryState);const runtimeActive=primaryActive||secondaryActive||allStoreBindings.some(item=>item.binding?.state?.zettlaFacetSearch?.term||storeHasActiveFilters(item.binding?.state)||Boolean(item.binding?.state?.searchTerm)||Array.isArray(item.binding?.state?.searchRules)&&item.binding.state.searchRules.length>0);const visibleActive=isCanvas?canvasState===\"active\":runtimeActive;const shouldShow=visibility===\"always\"||visibleActive;const clearAll=React.useCallback(event=>{if(blockLink&&event){event.preventDefault();event.stopPropagation();}// Prevent persisted Services filters from being re-injected on\n// Refresh, Back or locale change after Reset.\nremoveSavedServicesFilters();// City URL Sync can otherwise re-apply a previously selected\n// location immediately after Clear or on the next browser Back.\nif(typeof window!==\"undefined\"){try{const path=window.location.pathname.toLowerCase().replace(/\\/+$/,\"\");if(/(?:^|\\/)(?:services|servicios)$/.test(path)){const target=new URL(window.location.href);let changed=false;for(const key of Array.from(target.searchParams.keys())){if(/^(?:auto|neighborhood|service-providers|services)-city$/i.test(key)){target.searchParams.delete(key);changed=true;}}if(changed)window.history.replaceState(window.history.state,\"\",`${target.pathname}${target.search}${target.hash}`);}}catch(error){console.warn(\"[CMSClearAllFilters] Could not clear City URL Sync\",error);}}// Signal ALL connected filter/search controls before shared-store\n// writes. This clears local draft selection and restoration guards.\nif(typeof window!==\"undefined\"){window.dispatchEvent(new CustomEvent(\"zettla:cms-reset\",{detail:{storeKeys:allStoreKeys}}));}// A Framer CMS slot may yield its own store key. Clear each distinct\n// key in this same click, including the two canonical provider keys.\n// setState is idempotent per store; duplicate bindings are skipped.\nconst visited=new Set;for(const item of allStoreBindings){if(!item.key||visited.has(item.key))continue;visited.add(item.key);item.binding?.setState?.(previous=>clearStoreState(previous,resetPage));}if(debugMode){console.log(\"🧹 CMS Clear All\",{primaryStoreKey,secondaryStoreKey,primaryFilters:primaryState?.filters?.length||0,secondaryFilters:secondaryState?.filters?.length||0});}},[blockLink,resetPage,allStoreBindings,allStoreKeys,primaryStoreKey,secondaryStoreKey,primaryState?.filters,secondaryState?.filters,debugMode]);const renderedButton=fillButton?fillSlot(button):button;return /*#__PURE__*/_jsxs(\"div\",{\"data-cms-clear-active\":visibleActive?\"true\":\"false\",style:{width:\"100%\",maxWidth:\"none\",minWidth:0,alignSelf:\"stretch\",boxSizing:\"border-box\",display:shouldShow?\"block\":\"none\",...style},children:[renderedButton?/*#__PURE__*/_jsx(\"div\",{role:\"button\",\"aria-label\":\"Clear all filters\",tabIndex:shouldShow?0:-1,onClickCapture:clearAll,onKeyDown:event=>{if(event.key===\"Enter\"||event.key===\" \"){event.preventDefault();clearAll(event);}},style:{width:\"100%\",maxWidth:\"none\",minWidth:0,cursor:\"pointer\"},children:renderedButton}):/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",minHeight:40,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",border:\"1px dashed rgba(0,0,0,.2)\",borderRadius:8,fontSize:12,fontFamily:\"Inter, system-ui, sans-serif\",color:\"rgba(0,0,0,.55)\"},children:\"Connect your Reset button design\"}),debugMode&&/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:8,padding:8,border:\"1px solid rgba(0,0,0,.12)\",borderRadius:6,fontFamily:\"ui-monospace, SFMono-Regular, Menlo, monospace\",fontSize:10,lineHeight:\"14px\"},children:[/*#__PURE__*/_jsxs(\"div\",{children:[\"Primary Store: \",primaryStoreKey]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Secondary Store: \",secondaryStoreKey]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Primary Active: \",primaryActive?\"Yes\":\"No\"]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Secondary Active: \",secondaryActive?\"Yes\":\"No\"]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Visible: \",shouldShow?\"Yes\":\"No\"]})]})]});}addPropertyControls(CMSClearAllFilters,{button:{type:ControlType.Slot,title:\"Button\",description:\"Connect your own Framer Reset / Clear All design.\",maxCount:1},filterGroup:{type:ControlType.String,title:\"Filter Group\",description:\"Keep auto for the current dual-store setup. If CMSFilters uses one explicit shared group, enter it here.\",defaultValue:\"auto\",placeholder:\"auto\"},primaryStore:{type:ControlType.String,title:\"Primary Store\",description:\"Exact Primary Store shown by CMSFilters debug.\",defaultValue:\"Service Providers\",hidden:p=>normalizeGroup(p.filterGroup)!==\"\"},secondaryStore:{type:ControlType.String,title:\"Secondary Store\",description:\"Exact Secondary Store shown by CMSFilters debug.\",defaultValue:\"Services\",hidden:p=>normalizeGroup(p.filterGroup)!==\"\"},primaryCollection:{type:ControlType.Slot,title:\"Primary CMS\",description:\"Optional. Store names above are more reliable for this setup.\",maxCount:1,hidden:p=>normalizeGroup(p.filterGroup)!==\"\"},secondaryCollection:{type:ControlType.Slot,title:\"Secondary CMS\",description:\"Optional. Store names above are more reliable for this setup.\",maxCount:1,hidden:p=>normalizeGroup(p.filterGroup)!==\"\"},visibility:{type:ControlType.Enum,title:\"Visibility\",options:[\"activeOnly\",\"always\"],optionTitles:[\"Filters Active\",\"Always\"],defaultValue:\"activeOnly\",displaySegmentedControl:true},canvasState:{type:ControlType.Enum,title:\"Canvas State\",description:\"Preview the active/hidden state while designing in Framer.\",options:[\"active\",\"inactive\"],optionTitles:[\"Active\",\"Inactive\"],defaultValue:\"active\",displaySegmentedControl:true,hidden:p=>p.visibility===\"always\"},resetPage:{type:ControlType.Boolean,title:\"Reset Page\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\"},blockLink:{type:ControlType.Boolean,title:\"Block Link\",description:\"Prevents a connected link-style button from navigating.\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\"},fillButton:{type:ControlType.Boolean,title:\"Button Width\",description:\"Forces your connected Reset design to fill this component.\",defaultValue:true,enabledTitle:\"Fill\",disabledTitle:\"Original\"},debugMode:{type:ControlType.Boolean,title:\"Debug\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CMSClearAllFilters\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Custom_Code_Reset.map"],"mappings":"A,+SAckE,SAASuB,IAA4B,CAAC,GAAUf,IAAS,OAAmB,GAAG,CAAC,IAAMgB,EAAKhB,EAAO,SAAS,SAAS,YAAY,CAAC,CAAC,QAAQ,OAAO,EAAE,EACrN,GAAG,CAAC,kCAAkC,KAAKgB,CAAI,EAAE,OAAO,IAAMC,EAAQjB,EAAO,eAAqBkB,EAAK,CAAC,EAAE,IAAI,IAAIC,EAAE,EAAEA,EAAEF,EAAQ,OAAO,IAAI,CAAC,IAAMG,EAAIH,EAAQ,IAAIE,CAAC,EAAE,GAAGC,GAAK,WAAWC,CAA6B,EAAE,CA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