{"version":3,"file":"ResetFiltersButton.BCpXJSg_.mjs","names":["useRef","useMemo","useState","props","useMemo","useRef","useState","useMemo","Children","useRef","superfieldsId","useMemo","select","useState","itemIds","filteredData","value","i","_child_props","_Fragment","j","superfieldsId"],"sources":["https:/framerusercontent.com/modules/OoGHZMzWDzm2mNN7bmeR/jtHAWpmyoWq2VcgPQnDq/Store.js","https:/framerusercontent.com/modules/FZjYlw33eNo8pxLbSFLX/hr9W59a18SVKjtKmiuL6/SuperfieldsShared.js","https:/framer.com/m/CMSLibrary-09eo.js","https:/framerusercontent.com/modules/JfW6EfEeJnrqM1YQCYmc/3By4VvLRRlsqmHmoICUC/Masonry.js","https:/framerusercontent.com/modules/1o5Bk6b6qvbR58A6b2Ej/Bkv9HdHeOo1CBzVw0pcg/Superfields.js","https:/framerusercontent.com/modules/kf2LBfm1QDK0TMFrHROs/LCLLCMKQ9wiQCFWOW8rf/ResetFiltersButton.js"],"sourcesContent":["import{useState,useEffect,useRef,useMemo}from\"react\";export function createStore(id){return(index,instanceId,initialModifier=null,updateSelf=true)=>{const storeId=`${id}-${index}`;const valueRef=useRef(null);const setValueRef=useRef(null);const initialValue=useMemo(()=>{var _window_storeId__ref,_window_storeId_;if(typeof window==\"undefined\"){return{};}if(!Array.isArray(window[storeId])){window[storeId]=[];}window[storeId].push({instanceId,update:newValue=>{if(updateSelf&&setValueRef.current){setValueRef.current(newValue);}valueRef.current=newValue;},ref:valueRef});const existingValue=((_window_storeId_=window[storeId][0])===null||_window_storeId_===void 0?void 0:(_window_storeId__ref=_window_storeId_.ref)===null||_window_storeId__ref===void 0?void 0:_window_storeId__ref.current)||{};const finalValue=initialModifier?initialModifier(existingValue||{}):existingValue;// Update other instances if there's an initial value\nif(finalValue!==null){for(const item of window[storeId]){if(item.instanceId!==instanceId){item.update(finalValue);}}}valueRef.current=finalValue;return finalValue;},[]);const[value,setValue]=useState(initialValue);setValueRef.current=setValue;const update=newValue=>{const fullValue=valueRef.current?{...valueRef.current,...newValue}:newValue;if(updateSelf){setValue(fullValue);}valueRef.current=fullValue;if(typeof window!==\"undefined\"&&Array.isArray(window[storeId])){for(const item of window[storeId]){if(item.update&&item.instanceId!==instanceId){item.update(fullValue);}}}};useEffect(()=>{return()=>{window[storeId]=window[storeId].filter(item=>item.instanceId!==instanceId);};},[]);return[value,update];};}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Store.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{ControlType}from\"framer\";import{motion}from\"framer-motion\";import{createContext,cloneElement,useMemo}from\"react\";import{createStore}from\"https://framerusercontent.com/modules/OoGHZMzWDzm2mNN7bmeR/jtHAWpmyoWq2VcgPQnDq/Store.js\";export const useItemsState=createStore(\"superfields-items\");export const usePaginationState=createStore(\"superfields-pagination\");export const useFilterState=createStore(\"superfields-filter\");export const useFavouriteState=createStore(\"superfields-favourite\");export const useSearchState=createStore(\"superfields-search\");export const useRandomizationState=createStore(\"superfields-randomization\");export const useSortingState=createStore(\"superfields-sorting\");export const SuperfieldsContext=/*#__PURE__*/createContext({active:false});export const generateInstanceId=()=>{const id=useMemo(()=>Math.random().toString(36).substring(2,15),[]);return id;};export const FAVOURITES_FILTER_ID=\"[{(FAVOURITES)}]\";export const DELIMITER=\"_&%#|_\"// Used for multi-select items and multiple options field names\n;export const superfieldsId=({hidden=undefined}={})=>({superfieldsId:{type:ControlType.Number,defaultValue:0,min:0,step:1,displayStepper:true,title:\"CMS ID\",description:\"Match with ID on Superfields component\",hidden}});export const buttonPropertyControls=({text=\"\"})=>({appearance:{type:ControlType.Enum,defaultValue:\"default\",options:[\"default\",\"custom\"],optionTitles:[\"Default\",\"Custom\"],displaySegmentedControl:true},customLayer:{type:ControlType.ComponentInstance,title:\"Layer\",description:\"Connect a custom layer from outside the breakpoint\",hidden:props=>props.appearance!==\"custom\"},text:{type:ControlType.String,defaultValue:text,hidden:props=>props.appearance!==\"default\"},fill:fillProp({color:\"#000\",gradientColorA:\"#8C8C8C\",gradientColorB:\"#000\",hidden:props=>props.appearance!==\"default\"}),fontColor:{type:ControlType.Color,defaultValue:\"#FFF\",hidden:props=>props.appearance!==\"default\"},font:{type:\"font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:14,lineHeight:1.4},hidden:props=>props.appearance!==\"default\"},padding:{type:ControlType.FusedNumber,defaultValue:12,toggleKey:\"paddingIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"paddingTop\",\"paddingRight\",\"paddingBottom\",\"paddingLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0,hidden:props=>props.appearance!==\"default\"},radius:{type:ControlType.FusedNumber,defaultValue:8,toggleKey:\"radiusIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"radiusTopLeft\",\"radiusTopRight\",\"radiusBottomRight\",\"radiusBottomLeft\"],valueLabels:[\"TL\",\"TR\",\"BR\",\"BL\"],min:0,hidden:props=>props.appearance!==\"default\"},border:borderPropertyControl({hidden:props=>props.appearance!==\"default\"}),shadows:{type:ControlType.BoxShadow,hidden:props=>props.appearance!==\"default\"}});export function Button({props,onClick,onMouseEnter=null}){var _props_font,_props_style;if(props.appearance==\"custom\"){var _props_customLayer,_props_style1,_props_style2;let layer=(_props_customLayer=props.customLayer)===null||_props_customLayer===void 0?void 0:_props_customLayer[0];const width=(_props_style1=props.style)===null||_props_style1===void 0?void 0:_props_style1.width;const height=(_props_style2=props.style)===null||_props_style2===void 0?void 0:_props_style2.height;if(layer&&props.style&&(width||height)){layer=/*#__PURE__*/cloneElement(layer,{style:{...layer.props.style,...width&&{width:width},...height&&{height:height}}});}return /*#__PURE__*/_jsx(\"div\",{style:{display:\"contents\"},onClick:onClick,children:layer});}return /*#__PURE__*/_jsxs(\"div\",{onClick:onClick,style:{position:\"relative\",display:\"flex\",justifyContent:((_props_font=props.font)===null||_props_font===void 0?void 0:_props_font.textAlign)||\"center\",alignItems:\"center\",...createBackground(props.fill),color:props.fontColor,padding:props.paddingIsMixed?`${props.paddingTop}px ${props.paddingRight}px ${props.paddingBottom}px ${props.paddingLeft}px`:`${props.padding}px`,borderRadius:props.radiusIsMixed?`${props.radiusTopLeft}px ${props.radiusTopRight}px ${props.radiusBottomRight}px ${props.radiusBottomLeft}px`:`${props.radius}px`,userSelect:\"none\",cursor:\"pointer\",flex:props.sizing==\"fill\"?\"1 0 0\":undefined,textWrap:((_props_style=props.style)===null||_props_style===void 0?void 0:_props_style.width)==\"100%\"?undefined:\"nowrap\",boxShadow:props.shadows,...props.font,...props.style},children:[props.text,/*#__PURE__*/_jsx(Border,{...props.border})]});}Button.displayName=\"Superfields/Button\";export const borderPropertyControl=(props={})=>({type:ControlType.Object,optional:true,controls:{color:{type:ControlType.Color,defaultValue:\"#222\"},width:{type:ControlType.FusedNumber,defaultValue:1,toggleKey:\"widthIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"widthTop\",\"widthRight\",\"widthBottom\",\"widthLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0},style:{type:ControlType.Enum,defaultValue:\"solid\",options:[\"solid\",\"dashed\",\"dotted\",\"double\"],optionTitles:[\"Solid\",\"Dashed\",\"Dotted\",\"Double\"]}},...props});export function Border({width,widthIsMixed,widthTop,widthRight,widthBottom,widthLeft,style,color,transition,animate,radius=\"inherit\"}){return /*#__PURE__*/_jsx(motion.div,{animate:{borderColor:color,...animate},style:{position:\"absolute\",inset:0,borderWidth:widthIsMixed?`${widthTop}px ${widthRight}px ${widthBottom}px ${widthLeft}px`:`${width}px`,borderStyle:style,borderRadius:radius,pointerEvents:\"none\"},initial:false,transition:transition});}Border.displayName=\"Superfields/Border\";export function Message({title,subtitle}){return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",width:\"100%\",height:\"100%\",placeContent:\"center\",placeItems:\"center\",flexDirection:\"column\",gap:16,backgroundColor:\"rgba(136, 85, 255, 0.1)\",borderRadius:6,border:\"1px dashed rgb(136, 85, 255)\",color:\"rgb(136, 85, 255)\",fontSize:16,padding:20,minHeight:200,textWrap:\"balance\"},children:[/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontWeight:600,textAlign:\"center\"},children:title}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,opacity:.7,lineHeight:1.5,textAlign:\"center\"},children:subtitle})]});}Message.displayName=\"Superfields/Message\";export const EmptyState=Message;export function createBackground(fill,on=null){if(fill){let{color,colorA,colorB}=fill;if(typeof on==\"boolean\"){if(on){color=fill.colorOn;colorA=fill.colorAOn;colorB=fill.colorBOn;}else{color=fill.colorOff;colorA=fill.colorAOff;colorB=fill.colorBOff;}}if(fill.type==\"color\"){return{backgroundColor:color,backgroundImage:\"none\"};}else{return{backgroundColor:\"none\",backgroundImage:`linear-gradient(${fill.gradientAngle}deg, ${colorB}, ${colorA})`};}}return{};}export function fillProp({color=\"#FFF\",gradientColorA=\"#FFF\",gradientColorB=\"#BDBDBD\",noDefault=false,...props}){return{type:ControlType.Object,optional:true,icon:\"color\",defaultValue:noDefault?undefined:{type:\"color\",color,colorA:gradientColorA,colorB:gradientColorB,gradientAngle:0},controls:{type:{type:ControlType.Enum,defaultValue:\"color\",options:[\"color\",\"gradient\"],optionTitles:[\"Color\",\"Gradient\"],displaySegmentedControl:true},color:{type:ControlType.Color,defaultValue:color,hidden:props=>props.type!=\"color\"},colorA:{type:ControlType.Color,defaultValue:gradientColorA,title:\"Colors\",hidden:props=>props.type!=\"gradient\"},colorB:{type:ControlType.Color,defaultValue:gradientColorB,title:\" \",hidden:props=>props.type!=\"gradient\"},gradientAngle:{type:ControlType.Number,defaultValue:0,title:\"Angle\",step:1,min:0,max:360,unit:\"\\xb0\",hidden:props=>props.type!=\"gradient\"}},...props};}export function fillPropOnOff({colorOn=\"#FFF\",colorAOn=\"#FFF\",colorBOn=\"#000\",colorOff=\"#FFF\",colorAOff=\"#FFF\",colorBOff=\"#000\",noDefault=false,...props}){return{type:ControlType.Object,optional:true,icon:\"color\",defaultValue:noDefault?undefined:{type:\"color\",colorOn,colorAOn,colorBOn,colorOff,colorAOff,colorBOff,gradientAngle:0},controls:{type:{type:ControlType.Enum,defaultValue:\"color\",options:[\"color\",\"gradient\"],optionTitles:[\"Color\",\"Gradient\"],displaySegmentedControl:true},colorOn:{type:ControlType.Color,defaultValue:colorOn,hidden:props=>props.type!=\"color\"},colorAOn:{type:ControlType.Color,defaultValue:colorAOn,title:\"Colors On\",hidden:props=>props.type!=\"gradient\"},colorBOn:{type:ControlType.Color,defaultValue:colorBOn,title:\" \",hidden:props=>props.type!=\"gradient\"},colorOff:{type:ControlType.Color,defaultValue:colorOff,hidden:props=>props.type!=\"color\"},colorAOff:{type:ControlType.Color,defaultValue:colorAOff,title:\"Colors Off\",hidden:props=>props.type!=\"gradient\"},colorBOff:{type:ControlType.Color,defaultValue:colorBOff,title:\" \",hidden:props=>props.type!=\"gradient\"},gradientAngle:{type:ControlType.Number,defaultValue:0,title:\"Angle\",step:1,min:0,max:360,unit:\"\\xb0\",hidden:props=>props.type!=\"gradient\"}},...props};}export function parsePadding(padding){if(typeof padding!==\"string\"){return[0,0,0,0];}const values=padding.split(\" \");const parsedValues=values.map(value=>parseInt(value.replace(\"px\",\"\"),10));switch(parsedValues.length){case 1:const p=parsedValues[0];return[p,p,p,p];case 4:return parsedValues;}return[0,0,0,0];}export function sortingControls({defaultSorting=false,hidden=null}={}){return{sortBy:{type:ControlType.Enum,defaultValue:\"field\",options:[\"field\",\"favourites\",...defaultSorting?[\"defaultSorting\"]:[]],optionTitles:[\"CMS Field\",\"Favourites\",...defaultSorting?[\"Default Sorting\"]:[]],displaySegmentedControl:true,segmentedControlDirection:\"vertical\",hidden},fieldName:{type:ControlType.String,defaultValue:\"\",placeholder:\"CMS Field Name\",hidden:props=>props.sortBy!==\"field\"||(hidden===null||hidden===void 0?void 0:hidden(props))},fieldType:{type:ControlType.Enum,defaultValue:\"string\",options:[\"string\",\"number\",\"date\",\"boolean\",\"enum\"],optionTitles:[\"Text\",\"Number\",\"Date\",\"Toggle\",\"Option\"],hidden:props=>props.sortBy!==\"field\"||(hidden===null||hidden===void 0?void 0:hidden(props))},stringSort:{type:ControlType.Enum,defaultValue:\"ascending\",options:[\"ascending\",\"descending\"],optionTitles:[\"A → Z\",\"Z → A\"],displaySegmentedControl:true,title:\"Sort\",hidden:props=>props.fieldType!==\"string\"||props.sortBy!==\"field\"||(hidden===null||hidden===void 0?void 0:hidden(props))},numberSort:{type:ControlType.Enum,defaultValue:\"ascending\",options:[\"ascending\",\"descending\"],optionTitles:[\"Ascending ↑\",\"Descending ↓\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\",title:\"Sort\",hidden:props=>props.fieldType!==\"number\"||props.sortBy!==\"field\"||(hidden===null||hidden===void 0?void 0:hidden(props))},dateSort:{type:ControlType.Enum,defaultValue:\"ascending\",options:[\"ascending\",\"descending\"],optionTitles:[\"Ascending ↑\",\"Descending ↓\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\",title:\"Sort\",hidden:props=>props.fieldType!==\"date\"||props.sortBy!==\"field\"||(hidden===null||hidden===void 0?void 0:hidden(props))},booleanSort:{type:ControlType.Enum,defaultValue:\"ascending\",options:[\"yesNo\",\"noYes\"],optionTitles:[\"Yes, No\",\"No, Yes\"],displaySegmentedControl:true,title:\"Sort\",hidden:props=>props.fieldType!==\"boolean\"||props.sortBy!==\"field\"||(hidden===null||hidden===void 0?void 0:hidden(props))},enumSort:{type:ControlType.Enum,defaultValue:\"ascending\",options:[\"optionOrder\",\"reverseOptionOrder\",\"ascending\",\"descending\"],optionTitles:[\"Option Order\",\"Reverse Order\",\"A → Z\",\"Z → A\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\",title:\"Sort\",hidden:props=>props.fieldType!==\"enum\"||props.sortBy!==\"field\"||(hidden===null||hidden===void 0?void 0:hidden(props))},favouritesSort:{type:ControlType.Enum,defaultValue:\"favouritesFirst\",options:[\"favouritesFirst\",\"favouritesLast\"],optionTitles:[\"Favourites First\",\"Favourites Last\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\",title:\"Sort\",hidden:props=>props.sortBy!==\"favourites\"||(hidden===null||hidden===void 0?void 0:hidden(props))}};}\nexport const __FramerMetadata__ = {\"exports\":{\"SuperfieldsContext\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"createBackground\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useRandomizationState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fillPropOnOff\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"generateInstanceId\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Border\":{\"type\":\"reactComponent\",\"name\":\"Border\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Button\":{\"type\":\"reactComponent\",\"name\":\"Button\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"useSearchState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"borderPropertyControl\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fillProp\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"sortingControls\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useItemsState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useFilterState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DELIMITER\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useFavouriteState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"EmptyState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"superfieldsId\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Message\":{\"type\":\"reactComponent\",\"name\":\"Message\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"usePaginationState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"parsePadding\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FAVOURITES_FILTER_ID\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useSortingState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buttonPropertyControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","export function getCollectionData(collectionList){var _collectionList_props,_collectionList_props_children_props,_collectionList_props_children,_collectionList_props1,_collectionList_props_children_props_children_props,_collectionList_props_children_props_children,_collectionList_props_children_props1,_collectionList_props_children1,_collectionList_props2,_queryParent_props;let queryParent=null;if(collectionList===null||collectionList===void 0?void 0:(_collectionList_props=collectionList.props)===null||_collectionList_props===void 0?void 0:_collectionList_props.query){queryParent=collectionList;}else if(collectionList===null||collectionList===void 0?void 0:(_collectionList_props1=collectionList.props)===null||_collectionList_props1===void 0?void 0:(_collectionList_props_children=_collectionList_props1.children)===null||_collectionList_props_children===void 0?void 0:(_collectionList_props_children_props=_collectionList_props_children.props)===null||_collectionList_props_children_props===void 0?void 0:_collectionList_props_children_props.query){queryParent=collectionList.props.children;}else if(collectionList===null||collectionList===void 0?void 0:(_collectionList_props2=collectionList.props)===null||_collectionList_props2===void 0?void 0:(_collectionList_props_children1=_collectionList_props2.children)===null||_collectionList_props_children1===void 0?void 0:(_collectionList_props_children_props1=_collectionList_props_children1.props)===null||_collectionList_props_children_props1===void 0?void 0:(_collectionList_props_children_props_children=_collectionList_props_children_props1.children)===null||_collectionList_props_children_props_children===void 0?void 0:(_collectionList_props_children_props_children_props=_collectionList_props_children_props_children.props)===null||_collectionList_props_children_props_children_props===void 0?void 0:_collectionList_props_children_props_children_props.query){queryParent=collectionList.props.children.props.children;}const query=queryParent===null||queryParent===void 0?void 0:(_queryParent_props=queryParent.props)===null||_queryParent_props===void 0?void 0:_queryParent_props.query;let queryData=null;if(query===null||query===void 0?void 0:query.from){if(query.from.data){queryData=query.from.data;}else if(query.from.left){let left=query.from.left;for(let i=0;i<100;i++){if(left.type==\"Collection\"){queryData=left.data;break;}else if(left.left){left=left.left;}else{break;}}}}// Get property controls\nconst propertyControlsById=(queryData===null||queryData===void 0?void 0:queryData.propertyControls)||{};const propertyControlsByName={};for(const id in propertyControlsById){const control=propertyControlsById[id];propertyControlsByName[control.title]={id,...control};}// Get children function\nlet childrenFunction=null;if(collectionList){var _collectionList_props3,_clpc_props,_clpc_props_children_props,_clpc_props_children,_clpc_props1;const clpc=(_collectionList_props3=collectionList.props)===null||_collectionList_props3===void 0?void 0:_collectionList_props3.children;if(typeof clpc==\"function\"){childrenFunction=clpc;}else if(typeof(clpc===null||clpc===void 0?void 0:(_clpc_props=clpc.props)===null||_clpc_props===void 0?void 0:_clpc_props.children)==\"function\"){childrenFunction=clpc.props.children;}else if(typeof(clpc===null||clpc===void 0?void 0:(_clpc_props1=clpc.props)===null||_clpc_props1===void 0?void 0:(_clpc_props_children=_clpc_props1.children)===null||_clpc_props_children===void 0?void 0:(_clpc_props_children_props=_clpc_props_children.props)===null||_clpc_props_children_props===void 0?void 0:_clpc_props_children_props.children)==\"function\"){childrenFunction=clpc.props.children.props.children;}}return{query,queryParent,queryData,propertyControlsById,propertyControlsByName,childrenFunction};}export function addFieldsToSelect(fields,query,propertyControlsByName){const alias=query.alias;const select=Array.isArray(query===null||query===void 0?void 0:query.select)?[...query.select]:[];for(const fieldName of fields){var _propertyControlsByName_fieldName;const fieldId=(_propertyControlsByName_fieldName=propertyControlsByName[fieldName])===null||_propertyControlsByName_fieldName===void 0?void 0:_propertyControlsByName_fieldName.id;if(!fieldId){continue;}let matchFound=false;for(const item of select){if(item.name===fieldId&&item.type===\"Identifier\"&&item.collection===alias){matchFound=true;continue;}}if(matchFound){continue;}select.push({collection:alias,name:fieldId,type:\"Identifier\"});}return select;}\nexport const __FramerMetadata__ = {\"exports\":{\"getCollectionData\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addFieldsToSelect\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CMSLibrary.map","// Code from Nikolay Goncharuk on GitHub:\n// https://github.com/GoncharukBro/react-smart-masonry/blob/master/src/Masonry.tsx\n// https://github.com/GoncharukBro/react-smart-masonry/blob/master/src/useResize.ts\n//\n// Modified by Isaac Roberts\n// https://framestack.co/components/masonry-layout\n//\n// Copyright (c) 2021 Nikolay Goncharuk\n// MIT License\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useLayoutEffect,useMemo,useRef,Children,isValidElement}from\"react\";const DEFAULT_COLUMNS=1;const DEFAULT_GAP=0;export default function Masonry({breakpoints,columns=DEFAULT_COLUMNS,gap=DEFAULT_GAP,reverse=false,autoArrange=false,alignment=\"center\",children,style,...otherProps},forwardedRef){const elements=useRef([]);const[arrange,setArrange]=useState(false);// eslint-disable-next-line react-hooks/exhaustive-deps\nuseLayoutEffect(()=>{if(autoArrange&&!arrange)setArrange(true);return()=>{if(autoArrange&&arrange)setArrange(false);};});const layout=useMemo(()=>{if(columns<1)return[];const arrayOfChildren=Children.toArray(children);if(reverse)arrayOfChildren.reverse();const newLayout=Array.from({length:columns},()=>{return[];});const columnHeights=newLayout.map(()=>0);const getcolumnIndex=index=>{if(autoArrange&&arrange&&elements.current.length>0){const columnIndex=columnHeights.findIndex(item=>{return item===Math.min(...columnHeights);});const element=elements.current.find(item=>item.index===index);const elementHeight=element===null||element===void 0?void 0:element.element.getBoundingClientRect().height;columnHeights[columnIndex]+=elementHeight||0;return columnIndex;}return index%columns;};arrayOfChildren.forEach((child,index)=>{if(child&&/*#__PURE__*/isValidElement(child)){newLayout[getcolumnIndex(index)].push({element:child,index});}});return newLayout;},[arrange,autoArrange,children,columns,reverse]);const temporaryElements=[];const addElement=index=>element=>{if(element!==null){temporaryElements.push({element,index});elements.current=temporaryElements;}};return /*#__PURE__*/_jsx(\"div\",{ref:forwardedRef,style:{display:\"flex\",gap,...style},...otherProps,children:layout.map((column,columnIndex)=>/*#__PURE__*/_jsx(\"div\",{style:{flex:1,display:\"flex\",flexDirection:\"column\",alignItems:alignment,gap},children:column.map((item,itemIndex)=>/*#__PURE__*/_jsx(\"div\",{ref:addElement(item.index),children:item.element},itemIndex))},columnIndex))});}Masonry.displayName=\"Superfields/Masonry\";\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Masonry\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"MasonryProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Masonry.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget,// @ts-ignore\nResolveLinks,// @ts-ignore\nuseQueryData}from\"framer\";import{cloneElement,useEffect,useState,useRef,useMemo,memo}from\"react\";import{Message,useItemsState,usePaginationState,useFilterState,useFavouriteState,useSearchState,useRandomizationState,useSortingState,generateInstanceId,sortingControls,FAVOURITES_FILTER_ID,DELIMITER}from\"https://framerusercontent.com/modules/FZjYlw33eNo8pxLbSFLX/hr9W59a18SVKjtKmiuL6/SuperfieldsShared.js\";import{getCollectionData}from\"https://framer.com/m/CMSLibrary-09eo.js\";import Masonry from\"https://framerusercontent.com/modules/JfW6EfEeJnrqM1YQCYmc/3By4VvLRRlsqmHmoICUC/Masonry.js\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 600\n * @framerDisableUnlink\n */export default function Superfields(props){var _props_collectionList,_props_emptyState,_propertyControlsByName_slugFieldName,_filterState_FAVOURITES_FILTER_ID,_searchState_text,_collectionList_props,_collectionList_props1;const{superfieldsId,layout,componentConfig,favouriting,cmsCollectionName,slugFieldName,favouritesOnly,searchFields,sortingField,urlParameters}=props;const instanceId=generateInstanceId();const collectionList=(_props_collectionList=props.collectionList)===null||_props_collectionList===void 0?void 0:_props_collectionList[0];const emptyState=(_props_emptyState=props.emptyState)===null||_props_emptyState===void 0?void 0:_props_emptyState[0];const isCanvas=RenderTarget.current()===RenderTarget.canvas;const scrollUpRef=useRef(null);const itemCountRef=useRef(0);const isFirstRender=useRef(true);const[_,setItemsState]=useItemsState(superfieldsId,instanceId,null,false);const[filterState]=useFilterState(superfieldsId,instanceId);const[favouriteState]=useFavouriteState(cmsCollectionName,instanceId);const[searchState]=useSearchState(superfieldsId,instanceId,()=>{if((urlParameters===null||urlParameters===void 0?void 0:urlParameters.search)&&urlParameters.searchName&&!isCanvas){const urlParams=new URLSearchParams(window.location.search);const searchParam=urlParams.get(urlParameters.searchName);if(searchParam){return{text:searchParam};}}return{text:\"\"};});const[randomizationState]=useRandomizationState(superfieldsId,instanceId,()=>({seed:props.randomize&&!isCanvas?Math.random():null}));const[sortingState]=useSortingState(superfieldsId,instanceId);const randomize=props.randomize||((randomizationState===null||randomizationState===void 0?void 0:randomizationState.seed)?true:false);const sort=(sortingState===null||sortingState===void 0?void 0:sortingState.sort)||sortingField;const{query,queryParent,propertyControlsByName,childrenFunction}=useMemo(()=>getCollectionData(collectionList),[collectionList]);var _propertyControlsByName_slugFieldName_id;const slugFieldId=(_propertyControlsByName_slugFieldName_id=(_propertyControlsByName_slugFieldName=propertyControlsByName[slugFieldName])===null||_propertyControlsByName_slugFieldName===void 0?void 0:_propertyControlsByName_slugFieldName.id)!==null&&_propertyControlsByName_slugFieldName_id!==void 0?_propertyControlsByName_slugFieldName_id:\"\";const select=useMemo(()=>{let select=Array.isArray(query===null||query===void 0?void 0:query.select)?[...query.select]:[];if((query===null||query===void 0?void 0:query.select)&&(filterState||props.search||(sort===null||sort===void 0?void 0:sort.sortBy)===\"field\")){const alias=query.alias;const usedFieldNames=new Set;if(filterState){for(const fieldName of Object.keys(filterState)){const filter=filterState[fieldName];if(filter.fieldType==\"multipleOptions\"){for(const name of fieldName.split(DELIMITER)){usedFieldNames.add(name);}}else{usedFieldNames.add(fieldName);}}}for(const fieldName of searchFields){usedFieldNames.add(fieldName);}if(sort&&sort.sortBy===\"field\"){usedFieldNames.add(sort.fieldName);}for(const value of select){usedFieldNames.add(value.name);}for(const fieldName of usedFieldNames){var _propertyControlsByName_fieldName;const fieldId=(_propertyControlsByName_fieldName=propertyControlsByName[fieldName])===null||_propertyControlsByName_fieldName===void 0?void 0:_propertyControlsByName_fieldName.id;if(!fieldId||select.some(item=>item.name==fieldId&&item.type==\"Identifier\"&&item.collection==alias)){continue;}select.push({collection:alias,name:fieldId,type:\"Identifier\"});}}return select;},[query,filterState,props.search,searchFields,sort===null||sort===void 0?void 0:sort.sortBy,sort===null||sort===void 0?void 0:sort.fieldName]);const data=query?useQueryData({...query,select}):[];let paginationLength=0;let paginationType=props.paginationType;if(collectionList&&query&&!isCanvas){const QueryData=queryParent===null||queryParent===void 0?void 0:queryParent.type;const pageSize=queryParent.props.pageSize;if(QueryData&&pageSize){const a=QueryData({query:{...query,select:[{name:\"id\",type:\"Identifier\"}]},pageSize,children:collection=>{if(collection&&collection.length!==data.length){paginationLength=(collection===null||collection===void 0?void 0:collection.length)||0;paginationType=\"framerPagination\";}return null;}});}}const pagination=props.pagination||paginationLength!==0;const itemsPerPage=paginationLength!==0?paginationLength:props.pagination?props.itemsPerPage:0;const dataIds=data.map(item=>item.id);const dataItemsById={};if(!isCanvas&&Array.isArray(data)){for(const item of data){dataItemsById[item.id]=item;}}const[dataOrder,setDataOrder]=useState(null);const[paginationState,setPaginationState]=usePaginationState(superfieldsId,instanceId,()=>{let initialPage=0;if((urlParameters===null||urlParameters===void 0?void 0:urlParameters.pagination)&&urlParameters.paginationName){const urlParams=new URLSearchParams(window.location.search);const pageParam=urlParams.get(urlParameters.paginationName);if(pageParam){const parsedPage=parseInt(pageParam,10);const maxPages=Math.ceil(data.length/itemsPerPage);if(!isNaN(parsedPage)&&parsedPage>=1&&parsedPage<=maxPages){initialPage=parsedPage-1// Convert to 0-based index\n;}}}return{page:initialPage,itemsPerPage,paginationType,active:pagination};});useEffect(()=>{const seed=randomizationState===null||randomizationState===void 0?void 0:randomizationState.seed;if(seed&&!isCanvas&&Array.isArray(data)){const newDataOrder=Array.from({length:data.length},(_,i)=>i);shuffle(newDataOrder,seed);setDataOrder(newDataOrder);}},[props.randomize,randomizationState===null||randomizationState===void 0?void 0:randomizationState.seed,data]);useEffect(()=>{if(isFirstRender.current){isFirstRender.current=false;return;}if(props.scrollUp&&scrollUpRef.current&&paginationType==\"prevNextButtons\"){const rect=scrollUpRef.current.getBoundingClientRect();const topIsInView=rect.top>=0&&rect.top<=window.innerHeight;if(!topIsInView){scrollUpRef.current.scrollIntoView({behavior:props.scrollUp.scrollStyle});}}// Update URL parameter\nif((urlParameters===null||urlParameters===void 0?void 0:urlParameters.pagination)&&urlParameters.paginationName){const url=new URL(window.location.href);const pageNumber=paginationState.page+1// Convert to 1-based\n;if(pageNumber>1){url.searchParams.set(urlParameters.paginationName,pageNumber.toString());}else{url.searchParams.delete(urlParameters.paginationName);}window.history.replaceState({path:url.href},\"\",url.href);}},[paginationState.page]);useEffect(()=>{if((urlParameters===null||urlParameters===void 0?void 0:urlParameters.search)&&urlParameters.searchName&&!isCanvas){const url=new URL(window.location.href);if(searchState.text){url.searchParams.set(urlParameters.searchName,searchState.text);}else{url.searchParams.delete(urlParameters.searchName);}window.history.replaceState({path:url.href},\"\",url.href);}},[searchState.text,urlParameters]);useEffect(()=>{if(isCanvas){return;}const url=new URL(window.location.href);let hasUrlParameterFilter=false;for(const fieldName in filterState){const filter=filterState[fieldName];if(filter&&filter.urlParameter){hasUrlParameterFilter=true;const value=filter.value;if(value!=null&&value!==undefined&&value!==\"\"){url.searchParams.set(filter.urlParameter,value.toString());}else{url.searchParams.delete(filter.urlParameter);}}}if(hasUrlParameterFilter){window.history.replaceState({path:url.href},\"\",url.href);}},[filterState,urlParameters]);useEffect(()=>{var _sortingState_defaultSort;if(isCanvas||!(sortingState===null||sortingState===void 0?void 0:sortingState.urlParameter)){return;}const url=new URL(window.location.href);if(sortingState.sort&&sortingState.sort.title!==((_sortingState_defaultSort=sortingState.defaultSort)===null||_sortingState_defaultSort===void 0?void 0:_sortingState_defaultSort.title)){url.searchParams.set(sortingState.urlParameter,sortingState.sort.title);}else{url.searchParams.delete(sortingState.urlParameter);}window.history.replaceState({path:url.href},\"\",url.href);},[sortingState]);// Filtering\nconst filteredData=useMemo(()=>{if(isCanvas||!filterState){return dataIds;}let itemIds=dataIds;for(const fieldName in filterState){if(fieldName==FAVOURITES_FILTER_ID){continue;}const filter=filterState[fieldName];const value=filter===null||filter===void 0?void 0:filter.value;const conditionContains=(filter===null||filter===void 0?void 0:filter.condition)===\"contains\";const fields=[];if(filter.fieldType===\"multipleOptions\"){for(const n of fieldName.split(DELIMITER)){const field=propertyControlsByName[n.trim()];if(field){fields.push(field);}}}else{const field=propertyControlsByName[fieldName];if(field){fields.push(field);}}if(filter&&fields.length&&value!=null&&value!=undefined){const filteredData=[];for(const id of itemIds){let foundMatch=false;const dataItem=dataItemsById[id];for(const field of fields){const dataFieldValue=dataItem[field.id];if(typeof value==\"string\"&&filter.multiSelect){const values=value.split(DELIMITER);switch(field.type){case\"string\":if(conditionContains){for(const value of values){if(dataFieldValue.includes(value)){foundMatch=true;break;}}}else{if(values.includes(dataFieldValue)){foundMatch=true;}}break;case\"enum\":var _field_options,_field_optionTitles;const dataValueTitle=conditionContains?(_field_optionTitles=field.optionTitles)===null||_field_optionTitles===void 0?void 0:_field_optionTitles[(_field_options=field.options)===null||_field_options===void 0?void 0:_field_options.indexOf(dataFieldValue)]:null;for(const v of values){if(conditionContains){if(dataValueTitle===null||dataValueTitle===void 0?void 0:dataValueTitle.includes(v)){foundMatch=true;}}else{var _field_optionTitles1,_field_options1;if(dataFieldValue==((_field_options1=field.options)===null||_field_options1===void 0?void 0:_field_options1[(_field_optionTitles1=field.optionTitles)===null||_field_optionTitles1===void 0?void 0:_field_optionTitles1.indexOf(v)])){foundMatch=true;}}}break;}}else{switch(field.type){case\"boolean\":if(dataFieldValue==value){foundMatch=true;}break;case\"string\":if(conditionContains){var _dataItem_field_id;if((_dataItem_field_id=dataItem[field.id])===null||_dataItem_field_id===void 0?void 0:_dataItem_field_id.includes(value)){foundMatch=true;}}else{if(dataFieldValue==value){foundMatch=true;}}break;case\"enum\":if(conditionContains){var _field_options2,_field_optionTitles2;const dataValueTitle=(_field_optionTitles2=field.optionTitles)===null||_field_optionTitles2===void 0?void 0:_field_optionTitles2[(_field_options2=field.options)===null||_field_options2===void 0?void 0:_field_options2.indexOf(dataFieldValue)];if(dataValueTitle&&dataValueTitle.includes(value)){foundMatch=true;}}else{var _field_optionTitles3,_field_options3;if(dataFieldValue==((_field_options3=field.options)===null||_field_options3===void 0?void 0:_field_options3[(_field_optionTitles3=field.optionTitles)===null||_field_optionTitles3===void 0?void 0:_field_optionTitles3.indexOf(value)])){foundMatch=true;}}break;}}if(foundMatch){filteredData.push(id);break;}}}itemIds=filteredData;}}return itemIds;},[filterState,data]);// Favourites filter\nconst favouriteFilterValue=filterState===null||filterState===void 0?void 0:(_filterState_FAVOURITES_FILTER_ID=filterState[FAVOURITES_FILTER_ID])===null||_filterState_FAVOURITES_FILTER_ID===void 0?void 0:_filterState_FAVOURITES_FILTER_ID.value;const favourites=favouriteState===null||favouriteState===void 0?void 0:favouriteState.favourites;const favouriteFilteredData=useMemo(()=>{if(isCanvas||!slugFieldId||!favouritesOnly&&typeof favouriteFilterValue!==\"boolean\"){return dataIds;}const shouldFilterFavorites=favouriteFilterValue===true||favouritesOnly;if(!Array.isArray(favourites)||favourites.length===0){if(shouldFilterFavorites){return[];}}else{return dataIds.filter(id=>favourites.includes(dataItemsById[id][slugFieldId])===shouldFilterFavorites);}return dataIds;},[favouriteFilterValue,favouritesOnly,favourites,data]);var _searchState_text_trim_toLowerCase;// Search\nconst searchText=(_searchState_text_trim_toLowerCase=searchState===null||searchState===void 0?void 0:(_searchState_text=searchState.text)===null||_searchState_text===void 0?void 0:_searchState_text.trim().toLowerCase())!==null&&_searchState_text_trim_toLowerCase!==void 0?_searchState_text_trim_toLowerCase:\"\";const[searchData,missingSearchField]=useMemo(()=>{if(isCanvas||!searchText.length||!Array.isArray(data)){return[dataIds,null];}let missingFieldName=null;// 0: Hidden\n// 1: Includes text\n// 2: Includes full word\n// 3: Starts with\n// 4: Exact match\nconst levels=[[...dataIds],[],[],[],[]];const itemLevels=new Array(data.length).fill(0);for(let i=0;i<searchFields.length;i++){const fieldName=searchFields[i];const property=propertyControlsByName[fieldName];if(!property){missingFieldName=fieldName;break;}const propertyID=property.id;const propertyType=property.type;const optionMap={};const propIsString=propertyType==\"string\";const propIsEnum=propertyType==\"enum\";const propIsNumber=propertyType==\"number\";if(propertyType==\"enum\"&&property.options&&property.optionTitles){for(let i=0;i<property.options.length;i++){optionMap[property.options[i]]=property.optionTitles[i].toLowerCase();}}for(const ii in data){var _dataItemsById_cmsItem_id;const cmsItem=data[ii];const value=(_dataItemsById_cmsItem_id=dataItemsById[cmsItem.id])===null||_dataItemsById_cmsItem_id===void 0?void 0:_dataItemsById_cmsItem_id[propertyID];if(value==undefined||value==null){continue;}let text=propIsString?value.toLowerCase():propIsEnum?optionMap[value]:propIsNumber?String(value):\"\";let level=0;if(text==searchText){level=4;}else if(text.includes(searchText)){if(text.startsWith(searchText)){level=3;}else if((\" \"+text+\" \").includes(\" \"+searchText+\" \")){level=2;}else{level=1;}}// Move item to new level if it's a higher level\nconst oldLevel=itemLevels[ii];if(level>oldLevel){// Remove from old level\nconst oldLevelItems=[];for(const item of levels[oldLevel]){if(item!=cmsItem.id){oldLevelItems.push(item);}}levels[oldLevel]=oldLevelItems;// Add to new level\nlevels[level].push(cmsItem.id);itemLevels[ii]=level;}}}return[missingFieldName?dataIds:[...levels[4],...levels[3],...levels[2],...levels[1]],missingFieldName];},[searchText,data,searchFields]);// Pagination, randomization and sorting are applied after filtering and search\nlet itemIds=dataIds.filter(itemId=>filteredData.includes(itemId)&&favouriteFilteredData.includes(itemId)&&searchData.includes(itemId));const itemCount=itemIds.length;const pageCount=itemsPerPage&&itemCount?Math.ceil(itemCount/itemsPerPage):1;if(itemCount!==itemCountRef.current){setItemsState({totalPages:pageCount,totalItems:itemCount});}itemCountRef.current=itemCount;// Randomization\nif(!isCanvas&&!searchText&&randomize){let orderedItemIds=dataIds;if(dataOrder){orderedItemIds=new Array(dataIds.length);for(let i=0;i<dataOrder.length;i++){orderedItemIds[dataOrder[i]]=dataIds[i];}}itemIds=orderedItemIds.filter(itemId=>itemIds.includes(itemId));}let missingSortField=\"\";if(!isCanvas&&!randomize&&sort&&sort.sortBy!==\"defaultSorting\"){const{fieldName,fieldType,sortBy}=sort;const property=propertyControlsByName[fieldName];var _property_id;const fieldID=(_property_id=property===null||property===void 0?void 0:property.id)!==null&&_property_id!==void 0?_property_id:\"\";if(sortBy===\"field\"&&fieldID||sortBy===\"favourites\"&&slugFieldId){const isAscending=sortBy===\"favourites\"?sort.favouritesSort===\"favouritesLast\":fieldType===\"string\"&&sort.stringSort===\"ascending\"||fieldType===\"number\"&&sort.numberSort===\"ascending\"||fieldType===\"date\"&&sort.dateSort===\"ascending\"||fieldType===\"boolean\"&&sort.booleanSort===\"yesNo\"||fieldType===\"enum\"&&(sort.enumSort===\"optionOrder\"||sort.enumSort===\"ascending\");const getSortValue=id=>{var _dataItemsById_id;if(sortBy===\"favourites\"){var _dataItemsById_id1;const slug=(_dataItemsById_id1=dataItemsById[id])===null||_dataItemsById_id1===void 0?void 0:_dataItemsById_id1[slugFieldId];return Array.isArray(favourites)&&favourites.includes(slug)?1:0;}const value=(_dataItemsById_id=dataItemsById[id])===null||_dataItemsById_id===void 0?void 0:_dataItemsById_id[fieldID];if(value==null){return null;}switch(fieldType){case\"number\":return Number(value);case\"date\":return new Date(value).getTime();case\"boolean\":return value?1:0;case\"enum\":return property.options?property.options.indexOf(value):-1;default:return String(value);}};const sortedItemIds=[...itemIds].sort((a,b)=>{const aValue=getSortValue(a);const bValue=getSortValue(b);if(aValue===null&&bValue===null)return 0;if(aValue===null)return 1;if(bValue===null)return-1;let comparison;if(sortBy===\"favourites\"){comparison=aValue<bValue?-1:aValue>bValue?1:0;}else if(fieldType===\"enum\"&&(sort.enumSort===\"ascending\"||sort.enumSort===\"descending\")){const aTitle=property.optionTitles[aValue];const bTitle=property.optionTitles[bValue];comparison=aTitle.localeCompare(bTitle);}else{comparison=aValue<bValue?-1:aValue>bValue?1:0;}return isAscending?comparison:-comparison;});itemIds=sortedItemIds;}else{missingSortField=fieldName;}}// Pagination\nif(!isCanvas&&pagination){let page=(paginationState===null||paginationState===void 0?void 0:paginationState.page)||0;switch(paginationType){case\"prevNextButtons\":itemIds=itemIds.slice(page*itemsPerPage,(page+1)*itemsPerPage);break;case\"loadMoreButton\":case\"framerPagination\":itemIds=itemIds.slice(0,(page+1)*itemsPerPage);break;}}const memoizedChildren=useMemo(()=>{var _clChildren_props;if(isCanvas||!collectionList||!query||!childrenFunction){return null;}const{offset,limit}=query;const paginationInfo={currentPage:paginationState?paginationState.page+1:1,totalPages:pageCount,isLoading:false};const loadMore=()=>{if(pagination&&paginationState){const newPage=paginationState.page+1;if(newPage>=0&&newPage<pageCount){setPaginationState({page:newPage});}}};const items=itemIds.map(itemId=>dataItemsById[itemId]);let clChildren=childrenFunction(items,paginationInfo,loadMore);const modifyChildren=elements=>{if(componentConfig&&componentConfig.variant.length>0&&(elements===null||elements===void 0?void 0:elements.length)){const newChildren=[];let isComponentWithVariants=true;for(let i=0;i<elements.length;i++){var _child_props;const child=elements[i];const component=/*#__PURE__*/_jsx(MemoizedComponentVariantSwitch,{child:child,componentConfig:componentConfig},(_child_props=child.props)===null||_child_props===void 0?void 0:_child_props.id);if(component===child){isComponentWithVariants=false;break;}else{newChildren.push(component);}}if(isComponentWithVariants){return newChildren;}}return elements;};if(Array.isArray(clChildren)){return modifyChildren(clChildren);}else if(Array.isArray(clChildren===null||clChildren===void 0?void 0:(_clChildren_props=clChildren.props)===null||_clChildren_props===void 0?void 0:_clChildren_props.children)){const childrenArray=clChildren.props.children;let arrayIndex=childrenArray.findIndex(child=>Array.isArray(child));if(arrayIndex==-1){return modifyChildren(childrenArray);}else{let newChildren=[];for(const child of childrenArray){if(Array.isArray(child)){newChildren=newChildren.concat(modifyChildren(child));}else{newChildren.push(child);}}return newChildren;}}return null;},[isCanvas,collectionList,query,itemIds,paginationState,componentConfig]);if(!collectionList){return /*#__PURE__*/_jsx(Message,{title:\"Connect a CMS Collection List\",subtitle:\"Drag the handle on the right side to a Collection List or select from the dropdown list. The Collection List must be outside of a page to be connected.\"});}else if(!isCanvas&&!query){return /*#__PURE__*/_jsx(Message,{title:\"Connect a CMS Collection List\",subtitle:\"The layer that's connected isn't a Collection List. Make sure the Collection List isn't inside of any other layers or components when connecting it.\"});}else if(favouriting&&cmsCollectionName==\"\"){return /*#__PURE__*/_jsx(Message,{title:\"Enter a CMS Collection Name\",subtitle:'Write the name of the CMS collection in the \"CMS Collection Name\" property. The name is used for saving favourites as a cookie and for matching with favourite buttons.'});}else if(favouriting&&slugFieldName==\"\"){return /*#__PURE__*/_jsx(Message,{title:\"Enter a Slug Field Name\",subtitle:'Write the name of the field in the \"Slug Field Name\" property. \"Slug\" is the default value unless you renamed it.'});}else if(missingSearchField){return /*#__PURE__*/_jsx(Message,{title:`\"${missingSearchField}\" field does not exist in your CMS collection`,subtitle:`The field \"${missingSearchField}\" is in the search fields list, but there are no fields in your CMS collection with that name. Edit the field name in the search fields list or add a new CMS field with that name.`});}else if(missingSortField){return /*#__PURE__*/_jsx(Message,{title:`\"${missingSortField}\" field does not exist in your CMS collection`,subtitle:`The field \"${missingSortField}\" is in the search fields list, but there are no fields in your CMS collection with that name. Edit the field name in the sorting condiguration or add a new CMS field with that name.`});}let layoutStyle={};if(layout){const padding=layout.paddingIsMixed?`${layout.paddingTop}px ${layout.paddingRight}px ${layout.paddingBottom}px ${layout.paddingLeft}px`:`${layout.padding}px`;switch(layout.type){case\"stack\":const isVertical=layout.direction==\"vertical\";layoutStyle={display:\"flex\",flexDirection:isVertical?\"column\":\"row\",flexWrap:layout.wrap?\"wrap\":\"nowrap\",alignItems:isVertical?layout.alignV:layout.alignH,justifyContent:layout.distribute,gap:layout.gap,padding};break;case\"grid\":// Columns\nlet gridTemplateColumns=\"\";if(layout.columns==\"auto\"){if(layout.gridWidthType==\"min\"){gridTemplateColumns=`repeat(auto-fill, minmax(${layout.gridWidth}px, 1fr))`;}else{// \"fixed\"\ngridTemplateColumns=`repeat(auto-fill, ${layout.gridWidth}px)`;}}else{if(layout.gridWidthType==\"min\"){gridTemplateColumns=`repeat(${layout.columnCount}, minmax(${layout.gridWidth}px, 1fr))`;}else{// \"fixed\"\ngridTemplateColumns=`repeat(${layout.columnCount}, ${layout.gridWidth}px)`;}}// Rows\nlet gridAutoRows=\"\";switch(layout.gridHeightType){case\"fixed\":gridAutoRows=`${layout.gridHeight}px`;break;case\"fit\":gridAutoRows=\"min-content\";break;}layoutStyle={display:\"grid\",gridTemplateColumns,gridAutoRows,justifyContent:layout.gridAlign,alignItems:layout.gridAlignV,columnGap:layout.gapH,rowGap:layout.gapV,padding,placeContent:\"start end\"};break;}}const isMasonry=(layout===null||layout===void 0?void 0:layout.type)==\"masonry\";const collectionListStyle={...(_collectionList_props=collectionList.props)===null||_collectionList_props===void 0?void 0:_collectionList_props.style,...props.style,position:\"relative\",...layoutStyle};// Canvas view\nif(isCanvas){if(collectionList){let paginationPreviewOffset=0;let paginationItemsAfter=0;if(pagination&&paginationType!==\"framerPagination\"){try{const children=collectionList.type.type(collectionList.props).props.children.props.children;if(children.length>1){for(let i=0;i<children.length;i++){if(children[i].key==\"repeated\"){paginationPreviewOffset=i;paginationItemsAfter=children.length-i-1;break;}}}}catch{console.warn(\"Failed to calculate Superfields pagination preview offset.\");}}if(isMasonry){var _collectionList_props___node_cache,_collectionList_props___node,_collectionList_props2;const htmlElement=(_collectionList_props2=collectionList.props)===null||_collectionList_props2===void 0?void 0:(_collectionList_props___node=_collectionList_props2.__node)===null||_collectionList_props___node===void 0?void 0:(_collectionList_props___node_cache=_collectionList_props___node.cache)===null||_collectionList_props___node_cache===void 0?void 0:_collectionList_props___node_cache.htmlElement;if(htmlElement){var _htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children__props,_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children_,_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children,_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props,_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children_,_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children,_htmlElement_reactFiberKey_memoizedProps_children__props_children_props,_htmlElement_reactFiberKey_memoizedProps_children__props_children,_htmlElement_reactFiberKey_memoizedProps_children__props,_htmlElement_reactFiberKey_memoizedProps_children_,_htmlElement_reactFiberKey_memoizedProps_children,_htmlElement_reactFiberKey_memoizedProps,_htmlElement_reactFiberKey;let reactFiberKey=\"\";for(const key of Object.keys(htmlElement)){if(key.startsWith(\"__reactFiber\")){reactFiberKey=key;}}// Solution for getting React children from CMS collection on canvas by Fehmi Ozuseven\nlet cmsChildren=(_htmlElement_reactFiberKey=htmlElement[reactFiberKey])===null||_htmlElement_reactFiberKey===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps=_htmlElement_reactFiberKey.memoizedProps)===null||_htmlElement_reactFiberKey_memoizedProps===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children=_htmlElement_reactFiberKey_memoizedProps.children)===null||_htmlElement_reactFiberKey_memoizedProps_children===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children_=_htmlElement_reactFiberKey_memoizedProps_children[0])===null||_htmlElement_reactFiberKey_memoizedProps_children_===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children__props=_htmlElement_reactFiberKey_memoizedProps_children_.props)===null||_htmlElement_reactFiberKey_memoizedProps_children__props===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children__props_children=_htmlElement_reactFiberKey_memoizedProps_children__props.children)===null||_htmlElement_reactFiberKey_memoizedProps_children__props_children===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children__props_children_props=_htmlElement_reactFiberKey_memoizedProps_children__props_children.props)===null||_htmlElement_reactFiberKey_memoizedProps_children__props_children_props===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children=_htmlElement_reactFiberKey_memoizedProps_children__props_children_props.children)===null||_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children_=_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children[1])===null||_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children_===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props=_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children_.props)===null||_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children=_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props.children)===null||_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children_=_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children[0])===null||_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children_===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children__props=_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children_.props)===null||_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children__props===void 0?void 0:_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children__props.children;if(Array.isArray(cmsChildren)){let children=[];for(const child of cmsChildren){var _child_props;if(child.key==\"repeated\"&&Array.isArray((_child_props=child.props)===null||_child_props===void 0?void 0:_child_props.children)){children=children.concat(child.props.children);}else{children.push(child);}}return /*#__PURE__*/_jsx(MemoizedMasonry,{columns:layout.masonryColumns,gap:`${layout.gapV}px ${layout.gapH}px`,alignment:layout.masonryItemWidth===\"fit\"?layout.masonryAlign:\"stretch\",children:children});}}}else{var _props_id;const id=(_props_id=props.id)!==null&&_props_id!==void 0?_props_id:\"a\"+String(Math.floor(Math.random()*999999999));return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/cloneElement(collectionList,{id,style:collectionListStyle}),pagination&&paginationType!==\"framerPagination\"&&/*#__PURE__*/_jsx(\"style\",{children:`#${id} > *:nth-child(n+${itemsPerPage+1+paginationPreviewOffset})${paginationItemsAfter?`:not(:nth-last-child(-n+${paginationItemsAfter}))`:\"\"} { display: none !important; }`})]});}}else{return /*#__PURE__*/_jsx(\"div\",{style:{height:100}});}}// Empty state\nif(!(itemIds===null||itemIds===void 0?void 0:itemIds.length)){if(emptyState){return /*#__PURE__*/cloneElement(emptyState,{style:{...emptyState.props.style,...props.style}});}else{return /*#__PURE__*/_jsx(\"div\",{});}}return /*#__PURE__*/_jsxs(\"div\",{...collectionList.props,style:collectionListStyle,className:isMasonry?\"\":((_collectionList_props1=collectionList.props)===null||_collectionList_props1===void 0?void 0:_collectionList_props1.className)||\"\",children:[isMasonry?/*#__PURE__*/_jsx(MemoizedMasonry,{columns:layout.masonryColumns,gap:`${layout.gapV}px ${layout.gapH}px`,alignment:layout.masonryItemWidth===\"fit\"?layout.masonryAlign:\"stretch\",autoArrange:true,reverse:false,children:memoizedChildren}):memoizedChildren,props.scrollUp&&/*#__PURE__*/_jsx(\"div\",{ref:scrollUpRef,style:{position:\"absolute\",top:props.scrollUp.offset,pointerEvents:\"none\"}})]});}addPropertyControls(Superfields,{superfieldsId:{type:ControlType.Number,defaultValue:0,step:1,min:0,displayStepper:true,title:\"ID\"},collectionList:{type:ControlType.ComponentInstance},emptyState:{type:ControlType.ComponentInstance},layout:{type:ControlType.Object,optional:true,controls:{type:{type:ControlType.Enum,defaultValue:\"stack\",options:[\"stack\",\"grid\",\"masonry\"],optionTitles:[\"Stack\",\"Grid\",\"Masonry\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\"},direction:{type:ControlType.Enum,defaultValue:\"vertical\",options:[\"horizontal\",\"vertical\"],optionTitles:[\"Horizontal\",\"Vertical\"],optionIcons:[\"direction-horizontal\",\"direction-vertical\"],displaySegmentedControl:true,hidden:props=>props.type!=\"stack\"},distribute:{type:ControlType.Enum,defaultValue:\"start\",options:[\"start\",\"center\",\"end\",\"space-between\",\"space-around\",\"space-evenly\"],optionTitles:[\"Start\",\"Center\",\"End\",\"Space Between\",\"Space Around\",\"Space Evenly\"],hidden:props=>props.type!=\"stack\"},alignH:{type:ControlType.Enum,defaultValue:\"start\",options:[\"start\",\"center\",\"end\"],optionTitles:[\"Top\",\"Center\",\"Bottom\"],optionIcons:[\"align-top\",\"align-middle\",\"align-bottom\"],displaySegmentedControl:true,title:\"Align\",hidden:props=>props.type!=\"stack\"||props.direction!=\"horizontal\"},alignV:{type:ControlType.Enum,defaultValue:\"start\",options:[\"start\",\"center\",\"end\"],optionTitles:[\"Left\",\"Center\",\"Right\"],optionIcons:[\"align-left\",\"align-center\",\"align-right\"],displaySegmentedControl:true,title:\"Align\",hidden:props=>props.type!=\"stack\"||props.direction!=\"vertical\"},wrap:{type:ControlType.Boolean,defaultValue:false,hidden:props=>props.type!=\"stack\"},columns:{type:ControlType.Enum,defaultValue:\"fixed\",options:[\"auto\",\"fixed\"],optionTitles:[\"Auto\",\"Fixed\"],displaySegmentedControl:true,hidden:props=>props.type!=\"grid\"},columnCount:{type:ControlType.Number,defaultValue:2,min:1,step:1,displayStepper:true,title:\" \",hidden:props=>props.type!=\"grid\"||props.columns==\"auto\"},gridWidthType:{type:ControlType.Enum,defaultValue:\"min\",options:[\"min\",\"fixed\"],optionTitles:[\"Min\",\"Fixed\"],displaySegmentedControl:true,title:\"Width\",hidden:props=>props.type!=\"grid\"},gridWidth:{type:ControlType.Number,defaultValue:200,min:1,step:1,title:\" \",hidden:props=>props.type!=\"grid\"},gridHeightType:{type:ControlType.Enum,defaultValue:\"fit\",options:[\"fit\",\"fixed\"],optionTitles:[\"Fit\",\"Fixed\"],displaySegmentedControl:true,title:\"Height\",hidden:props=>props.type!=\"grid\"},gridHeight:{type:ControlType.Number,defaultValue:200,min:1,step:1,title:\" \",hidden:props=>props.type!=\"grid\"||props.gridHeightType!=\"fixed\"},gridAlign:{type:ControlType.Enum,defaultValue:\"center\",options:[\"start\",\"center\",\"end\"],optionTitles:[\"Left\",\"Center\",\"Right\"],displaySegmentedControl:true,title:\"Align\",hidden:props=>props.type!=\"grid\"},gridAlignV:{type:ControlType.Enum,defaultValue:\"start\",options:[\"start\",\"center\",\"end\"],optionTitles:[\"Top\",\"Center\",\"Bottom\"],optionIcons:[\"align-top\",\"align-middle\",\"align-bottom\"],displaySegmentedControl:true,title:\" \",hidden:props=>props.type!=\"grid\"||props.gridHeightType!==\"fit\"},masonryColumns:{type:ControlType.Number,defaultValue:3,min:1,step:1,displayStepper:true,title:\"Columns\",hidden:props=>props.type!==\"masonry\"},masonryItemWidth:{type:ControlType.Enum,defaultValue:\"fill\",options:[\"fit\",\"fill\"],optionTitles:[\"Fit\",\"Fill\"],displaySegmentedControl:true,title:\"Item Width\",hidden:props=>props.type!==\"masonry\"},masonryAlign:{type:ControlType.Enum,defaultValue:\"center\",options:[\"start\",\"center\",\"end\"],optionTitles:[\"Left\",\"Center\",\"Right\"],displaySegmentedControl:true,title:\"Align\",hidden:props=>props.type!==\"masonry\"||props.masonryItemWidth!==\"fit\"},gap:{type:ControlType.Number,defaultValue:10,min:0,step:1,hidden:props=>props.type!==\"stack\"},gapH:{type:ControlType.Number,defaultValue:10,min:0,step:1,hidden:props=>props.type!==\"grid\"&&(props.type!==\"masonry\"||props.masonryColumns===1)},gapV:{type:ControlType.Number,defaultValue:10,min:0,step:1,hidden:props=>props.type!==\"grid\"&&props.type!==\"masonry\"},padding:{type:ControlType.FusedNumber,defaultValue:0,toggleKey:\"paddingIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"paddingTop\",\"paddingRight\",\"paddingBottom\",\"paddingLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0}}},componentConfig:{type:ControlType.Object,optional:true,title:\"Component\",description:\" \",controls:{variant:{type:ControlType.String,defaultValue:\"\",placeholder:\"Variant Name\",description:\"Override the component's variant for responsive design.\\n\\n*Note:* The component must be the only layer inside the Collection List to use this.\\n\\n*Note:* Variant does not appear while editing. Preview your project to see the variant.\"}}},// urlParameters: {\n//     type: ControlType.Object,\n//     title: \"URL Parameters\",\n//     description: \" \",\n//     controls: {\n//         pagination: {\n//             type: ControlType.Boolean,\n//             defaultValue: false,\n//         },\n//         paginationName: {\n//             type: ControlType.String,\n//             defaultValue: \"page\",\n//             placeholder: \"URL Parameter\",\n//             title: \"Name\",\n//             description: \"Current page\",\n//             hidden: (props) => !props.pagination,\n//         },\n//         search: {\n//             type: ControlType.Boolean,\n//             defaultValue: false,\n//         },\n//         searchName: {\n//             type: ControlType.String,\n//             defaultValue: \"search\",\n//             placeholder: \"URL Parameter\",\n//             title: \"Name\",\n//             description: \"Search input text\",\n//             // \"Search input text\\n\\n*Note:* URL parameters for filters and sorting can be added on the Filter and Sorting Selector components.\",\n//             hidden: (props) => !props.search,\n//         },\n//     },\n// },\npagination:{type:ControlType.Boolean,defaultValue:false},paginationType:{type:ControlType.Enum,defaultValue:\"pagination\",options:[\"prevNextButtons\",\"loadMoreButton\"],optionTitles:[\"Prev/Next Buttons\",\"Load More Button\"],title:\"Type\",displaySegmentedControl:true,segmentedControlDirection:\"vertical\",hidden:props=>!props.pagination},itemsPerPage:{type:ControlType.Number,defaultValue:4,min:1,step:1,displayStepper:true,hidden:props=>!props.pagination},scrollUp:{type:ControlType.Object,optional:true,defaultValue:{scrollStyle:\"smooth\",offset:0},title:\"Scroll to Top\",controls:{scrollStyle:{type:ControlType.Enum,defaultValue:\"smooth\",options:[\"smooth\",\"instant\"],optionTitles:[\"Smooth\",\"Instant\"],displaySegmentedControl:true,title:\"Scroll\"},offset:{type:ControlType.Number,defaultValue:-32,step:1,description:\"When the page changes, scroll to the top of the Superfields component with offset\"}},hidden:props=>!props.pagination||props.paginationType!=\"prevNextButtons\"},filtering:{type:ControlType.Boolean,defaultValue:false},favouriting:{type:ControlType.Boolean,defaultValue:false},cmsCollectionName:{type:ControlType.String,defaultValue:\"\",placeholder:\"CMS Collection Name\",title:\"CMS Collection Name\",hidden:props=>!props.favouriting},favouritesOnly:{type:ControlType.Boolean,defaultValue:false,hidden:props=>!props.favouriting},search:{type:ControlType.Boolean,defaultValue:false},searchFields:{type:ControlType.Array,defaultValue:[\"Title\"],title:\"Fields\",control:{type:ControlType.String,placeholder:\"CMS Field Name\"},description:\"CMS fields to search\",hidden:props=>!props.search},randomize:{type:ControlType.Boolean,defaultValue:false},sorting:{type:ControlType.Boolean,defaultValue:false,hidden:props=>props.randomize},sortingField:{type:ControlType.Object,optional:true,hidden:props=>props.randomize||!props.sorting,controls:sortingControls()},slugFieldName:{type:ControlType.String,defaultValue:\"Slug\",placeholder:\"Slug Field Name\",hidden:props=>!props.favouriting&&!props.sorting}});function ComponentVariantSwitch({child,componentConfig}){var _child_props_children_props,_child_props_children,_child_props,_component_type;const componentChild=child===null||child===void 0?void 0:(_child_props=child.props)===null||_child_props===void 0?void 0:(_child_props_children=_child_props.children)===null||_child_props_children===void 0?void 0:(_child_props_children_props=_child_props_children.props)===null||_child_props_children_props===void 0?void 0:_child_props_children_props.children;const componentProps=componentChild===null||componentChild===void 0?void 0:componentChild.props;const component=componentProps===null||componentProps===void 0?void 0:componentProps.children;const variant=componentConfig.variant;if(!component){return child;}if((componentChild===null||componentChild===void 0?void 0:componentChild.type)==ResolveLinks){return /*#__PURE__*/_jsx(ResolveLinks,{...componentProps,children:(...values)=>{const element=component(...values);return /*#__PURE__*/cloneElement(element,{children:{...element.props.children,props:{...element.props.children.props,children:{...element.props.children.props.children,props:{...element.props.children.props.children.props,variant}}}}});}});}else if(!((_component_type=component.type)===null||_component_type===void 0?void 0:_component_type.propertyControls)){var _component_props;const cData=component===null||component===void 0?void 0:(_component_props=component.props)===null||_component_props===void 0?void 0:_component_props.children;if(component&&cData){var _cData_type_propertyControls,_cData_type;const variantProp=(_cData_type=cData.type)===null||_cData_type===void 0?void 0:(_cData_type_propertyControls=_cData_type.propertyControls)===null||_cData_type_propertyControls===void 0?void 0:_cData_type_propertyControls.variant;if(variantProp){return /*#__PURE__*/cloneElement(component,{children:{...cData,props:{...cData.props,variant}}});}}}return /*#__PURE__*/cloneElement(component,{variant});}const MemoizedComponentVariantSwitch=/*#__PURE__*/memo(ComponentVariantSwitch);const MemoizedMasonry=/*#__PURE__*/memo(Masonry);function shuffle(array,seed){let m=2147483648// 2**31\n;let a=1103515245;let c=12345;for(let i=array.length-1;i>0;i--){seed=(a*seed+c)%m;const randomValue=seed/(m-1);const j=Math.floor(randomValue*(i+1));[array[i],array[j]]=[array[j],array[i]]// Swap elements\n;}}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Superfields\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"\",\"framerIntrinsicWidth\":\"600\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useFilterState,useSearchState,buttonPropertyControls,Button,superfieldsId,generateInstanceId}from\"https://framerusercontent.com/modules/FZjYlw33eNo8pxLbSFLX/hr9W59a18SVKjtKmiuL6/SuperfieldsShared.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export default function ResetFiltersButton(props){const{superfieldsId,border}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const instanceId=generateInstanceId();const[filterState,setFilterState]=useFilterState(superfieldsId,instanceId);const[searchState,setSearchState]=useSearchState(superfieldsId,instanceId);function onButtonClick(){var _props_click;if(props.resetFilters&&filterState){const newState={};for(const fieldName in filterState){var _filterState_fieldName;newState[fieldName]={...filterState[fieldName],value:(_filterState_fieldName=filterState[fieldName])===null||_filterState_fieldName===void 0?void 0:_filterState_fieldName.defaultValue};}setFilterState(newState);}if(props.resetSearch){setSearchState({text:\"\"});}(_props_click=props.click)===null||_props_click===void 0?void 0:_props_click.call(props);}let areFiltersActive=false;if(props.resetFilters&&filterState){for(const fieldName in filterState){const filter=filterState[fieldName];if(!filter){continue;}if(filter.value!==filter.defaultValue){areFiltersActive=true;break;}}}if(props.resetSearch&&(searchState===null||searchState===void 0?void 0:searchState.text)){areFiltersActive=true;}if(props.autoHide&&!areFiltersActive&&!isCanvas){return /*#__PURE__*/_jsx(\"style\",{id:instanceId,children:`\n                div:has(> #${instanceId}) {\n                    display: none;\n                }\n            `});}return /*#__PURE__*/_jsx(Button,{props:props,onClick:onButtonClick,onMouseEnter:props.hover});}ResetFiltersButton.displayName=\"Reset Filters Button\";addPropertyControls(ResetFiltersButton,{...superfieldsId(),resetFilters:{type:ControlType.Boolean,defaultValue:true},resetSearch:{type:ControlType.Boolean,defaultValue:true,description:\" \"},...buttonPropertyControls({text:\"Reset Filters\"}),autoHide:{type:ControlType.Boolean,defaultValue:false,description:\"Hide button when no filters/search are active\",title:\"Auto-Hide\"},click:{type:ControlType.EventHandler},hover:{type:ControlType.EventHandler}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ResetFilters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