{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/JfW6EfEeJnrqM1YQCYmc/3By4VvLRRlsqmHmoICUC/Masonry.js", "ssg:https://framerusercontent.com/modules/c1jaZMVo1HBulMCJfZHW/iKEgwCv7dmbKuDZ42rdk/FavouriteStore.js", "ssg:https://framerusercontent.com/modules/1o5Bk6b6qvbR58A6b2Ej/jsBPH7soY6fsUec2PQBo/Superfields.js"],
  "sourcesContent": ["// 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 create from\"zustand\";import Cookies from\"js-cookie\";const useBaseStore=create((set,get)=>({collections:{},getFavourites:cmsCollectionName=>{const state=get().collections[cmsCollectionName];return state||[];},setFavourites:(cmsCollectionName,favourites)=>{set(state=>({collections:{...state.collections,[cmsCollectionName]:favourites}}));Cookies.set(`superfieldsFavourites_${cmsCollectionName}`,favourites);},addFavourite:(cmsCollectionName,favourite)=>{const currentFavourites=get().getFavourites(cmsCollectionName);get().setFavourites(cmsCollectionName,[...currentFavourites,favourite]);},removeFavourite:(cmsCollectionName,favouriteToRemove)=>{const currentFavourites=get().getFavourites(cmsCollectionName);get().setFavourites(cmsCollectionName,currentFavourites.filter(fav=>fav!==favouriteToRemove));}}));const useFavouriteStore=(cmsCollectionName,selector)=>{return useBaseStore(state=>{let newState={favourites:state.getFavourites(cmsCollectionName)};if(!Array.isArray(state.collections[cmsCollectionName])){// Load favourites from cookies\ntry{const savedState=Cookies.get(`superfieldsFavourites_${cmsCollectionName}`);if(savedState){const savedFavourites=savedState.split(\",\");state.setFavourites(cmsCollectionName,savedFavourites);newState.favourites=savedFavourites;}}catch(error){console.error(\"Failed to load or parse favourites cookie:\",error);}}for(const key in state){const value=state[key];if(typeof value===\"function\"){newState[key]=(...args)=>value(cmsCollectionName,...args);}else{newState[key]=value;}}return selector(newState);});};export default useFavouriteStore;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FavouriteStore.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,useRef,useMemo,memo}from\"react\";import{Message,sortingControls,FAVOURITES_FILTER_ID,DELIMITER}from\"https://framerusercontent.com/modules/FZjYlw33eNo8pxLbSFLX/iVCdy5TNWtnCai5Qvhjj/SuperfieldsShared.js\";import{getCollectionData,addFieldsToSelect}from\"https://framer.com/m/CMSLibrary-09eo.js\";import Masonry from\"https://framerusercontent.com/modules/JfW6EfEeJnrqM1YQCYmc/3By4VvLRRlsqmHmoICUC/Masonry.js\";import useSuperfieldsStore from\"https://framerusercontent.com/modules/OoGHZMzWDzm2mNN7bmeR/quqdohq6i4dLZg5wuqIc/Store.js\";import useFavouriteStore from\"https://framerusercontent.com/modules/c1jaZMVo1HBulMCJfZHW/iKEgwCv7dmbKuDZ42rdk/FavouriteStore.js\";var Order;(function(Order){Order[\"Ascending\"]=\"ascending\";Order[\"Descending\"]=\"descending\";})(Order||(Order={}));var FieldType;(function(FieldType){FieldType[\"String\"]=\"string\";FieldType[\"Number\"]=\"number\";FieldType[\"Boolean\"]=\"boolean\";FieldType[\"Enum\"]=\"enum\";FieldType[\"Date\"]=\"date\";})(FieldType||(FieldType={}));var PaginationType;(function(PaginationType){PaginationType[\"PrevNextButtons\"]=\"prevNextButtons\";PaginationType[\"LoadMoreButton\"]=\"loadMoreButton\";PaginationType[\"FramerPagination\"]=\"framerPagination\";})(PaginationType||(PaginationType={}));var LayoutType;(function(LayoutType){LayoutType[\"Stack\"]=\"stack\";LayoutType[\"Grid\"]=\"grid\";LayoutType[\"Masonry\"]=\"masonry\";})(LayoutType||(LayoutType={}));/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 600\n * @framerDisableUnlink\n */export default function Superfields(props){var _props_collectionList,_props_emptyState,_queryParent_props,_propertyControlsByName_slugFieldName,_filters_FAVOURITES_FILTER_ID,_collectionList_props,_collectionList_props1;const{superfieldsId,layout,componentConfig,favouriting,cmsCollectionName,slugFieldName,favouritesOnly,searchFields,sortingField,urlParameters}=props;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 isOptimizing=typeof window===\"undefined\";const scrollUpRef=useRef(null);const itemCountRef=useRef(0);const isFirstRender=useRef(true);const{query,queryParent,propertyControlsByName,childrenFunction}=useMemo(()=>getCollectionData(collectionList),[collectionList]);const framerPaginationSize=isCanvas?0:(queryParent===null||queryParent===void 0?void 0:(_queryParent_props=queryParent.props)===null||_queryParent_props===void 0?void 0:_queryParent_props.pageSize)||0;const framerPagination=framerPaginationSize>0;const[filters,randomizationSeed,search,sortOption,defaultSortOption,sortingUrlParameter,paginationActive,paginationType,itemsPerPage,page,setPage,setTotalItems]=useSuperfieldsStore(superfieldsId,state=>[state.filters,state.randomizationSeed,state.search,state.sortOption,state.defaultSortOption,state.sortingUrlParameter,state.paginationActive,state.paginationType,state.itemsPerPage,state.page,state.setPage,state.setTotalItems],state=>{state.itemsPerPage=framerPagination?framerPaginationSize:props.pagination?props.itemsPerPage:0;state.paginationType=framerPagination?\"framerPagination\":props.pagination?props.paginationType:null;state.paginationActive=framerPagination||props.pagination;if(!isOptimizing&&!isCanvas){if(props.randomize){state.randomizationSeed=Math.floor(Math.random()*1e8);}const urlParams=new URLSearchParams(window.location.search);if((urlParameters===null||urlParameters===void 0?void 0:urlParameters.search)&&urlParameters.searchName){const searchParam=urlParams.get(urlParameters.searchName);if(searchParam){state.search=searchParam;}}if((urlParameters===null||urlParameters===void 0?void 0:urlParameters.pagination)&&urlParameters.paginationName){const pageParam=urlParams.get(urlParameters.paginationName);if(pageParam){const parsedPage=parseInt(pageParam,10);const maxPages=Math.ceil(data.length/state.itemsPerPage);if(!isNaN(parsedPage)&&parsedPage>=1&&parsedPage<=maxPages){state.page=parsedPage-1// Convert to 0-based index\n;}}}}});const favourites=useFavouriteStore(cmsCollectionName,state=>state.favourites);const randomize=props.randomize||(randomizationSeed?true:false);const sort=sortOption||sortingField;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 filterNames=Object.keys(filters);const select=useMemo(()=>{const hasFilters=filterNames.length;if((query===null||query===void 0?void 0:query.select)&&(hasFilters||props.search||(sort===null||sort===void 0?void 0:sort.sortBy)===\"field\")){const usedFieldNames=new Set;if(hasFilters){for(const fieldName of filterNames){const filter=filters[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);}return addFieldsToSelect(usedFieldNames,query,propertyControlsByName);}return query===null||query===void 0?void 0:query.select;},[query,filters,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}):[];const dataIds=data.map(item=>item.id);const dataItemsById={};if(!isCanvas&&Array.isArray(data)){for(const item of data){dataItemsById[item.id]=item;}}useEffect(()=>{if(isFirstRender.current){isFirstRender.current=false;return;}if(paginationActive&&props.scrollUp&&scrollUpRef.current&&paginationType==\"prevNextButtons\"&&!isOptimizing){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(paginationActive&&(urlParameters===null||urlParameters===void 0?void 0:urlParameters.pagination)&&urlParameters.paginationName&&!isOptimizing){const url=new URL(window.location.href);const pageNumber=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);}},[page,paginationActive,paginationType,urlParameters]);useEffect(()=>{if(!(urlParameters===null||urlParameters===void 0?void 0:urlParameters.search)||!urlParameters.searchName||isCanvas||isOptimizing){return;}const url=new URL(window.location.href);if(search){url.searchParams.set(urlParameters.searchName,search);}else{url.searchParams.delete(urlParameters.searchName);}window.history.replaceState({path:url.href},\"\",url.href);},[search,urlParameters]);useEffect(()=>{if(isCanvas||isOptimizing){return;}const url=new URL(window.location.href);let hasUrlParameterFilter=false;for(const fieldName of filterNames){const filter=filters[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);}},[filters,urlParameters]);useEffect(()=>{if(isCanvas||isOptimizing||!sortingUrlParameter){return;}const url=new URL(window.location.href);if(sortOption&&sortOption.title!==(defaultSortOption===null||defaultSortOption===void 0?void 0:defaultSortOption.title)){url.searchParams.set(sortingUrlParameter,sortOption.title);}else{url.searchParams.delete(sortingUrlParameter);}window.history.replaceState({path:url.href},\"\",url.href);},[sortOption,defaultSortOption,sortingUrlParameter]);// Filtering\nconst filteredData=useMemo(()=>{if(isCanvas||!filterNames.length){return dataIds;}let itemIds=dataIds;for(const fieldName of filterNames){if(fieldName==FAVOURITES_FILTER_ID){continue;}const filter=filters[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;},[filters,data]);// Favourites filter\nconst favouriteFilterValue=(_filters_FAVOURITES_FILTER_ID=filters[FAVOURITES_FILTER_ID])===null||_filters_FAVOURITES_FILTER_ID===void 0?void 0:_filters_FAVOURITES_FILTER_ID.value;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 _search_trim_toLowerCase;// Search\nconst searchText=(_search_trim_toLowerCase=search===null||search===void 0?void 0:search.trim().toLowerCase())!==null&&_search_trim_toLowerCase!==void 0?_search_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){setTotalItems(itemCount);}itemCountRef.current=itemCount;// Randomization\nconst dataOrder=useMemo(()=>{if(randomizationSeed&&!isCanvas&&Array.isArray(data)){const newDataOrder=Array.from({length:data.length},(_,i)=>i);return shuffle(newDataOrder,randomizationSeed);}return null;},[randomizationSeed,isCanvas,data]);if(!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(fieldType===\"enum\"&&(sort.enumSort===\"ascending\"||sort.enumSort===\"descending\")){const aTitle=property.optionTitles[aValue];const bTitle=property.optionTitles[bValue];comparison=aTitle.localeCompare(bTitle);}else if(fieldType===\"string\"){comparison=aValue.localeCompare(bValue);}else{comparison=aValue<bValue?-1:aValue>bValue?1:0;}return isAscending?comparison:-comparison;});itemIds=sortedItemIds;}else{missingSortField=fieldName;}}// Pagination\nif(!isCanvas&&paginationActive){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:page+1,totalPages:pageCount,isLoading:false};const loadMore=()=>{if(paginationActive){const newPage=page+1;if(newPage>=0&&newPage<pageCount){setPage(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,page,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){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};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};break;}}const isMasonry=(layout===null||layout===void 0?void 0:layout.type)===\"masonry\";const collectionListStyle={...isMasonry?{}:(_collectionList_props=collectionList.props)===null||_collectionList_props===void 0?void 0:_collectionList_props.style,...props.style,...layoutStyle,position:\"relative\",padding:layout?layout.paddingIsMixed?`${layout.paddingTop}px ${layout.paddingRight}px ${layout.paddingBottom}px ${layout.paddingLeft}px`:`${layout.padding}px`:undefined};// Canvas view\nif(isCanvas){if(collectionList){let paginationPreviewOffset=0;let paginationItemsAfter=0;if(paginationActive&&paginationType!==\"framerPagination\"){try{// const children = collectionList.type.type(collectionList.props).props.children.props\n// \t.children;\n// if (children.length > 1) {\n// \tfor (let i = 0; i < children.length; i++) {\n// \t\tif (children[i].key == \"repeated\") {\n// \t\t\tpaginationPreviewOffset = i;\n// \t\t\tpaginationItemsAfter = children.length - i - 1;\n// \t\t\tbreak;\n// \t\t}\n// \t}\n// }\n}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(\"div\",{\"data-superfields\":true,style:collectionListStyle,children:/*#__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}),paginationActive&&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},\"data-superfields\":true});}else{return /*#__PURE__*/_jsx(\"div\",{\"data-superfields\":true});}}return /*#__PURE__*/_jsxs(\"div\",{...collectionList.props,style:collectionListStyle,className:isMasonry?\"\":((_collectionList_props1=collectionList.props)===null||_collectionList_props1===void 0?void 0:_collectionList_props1.className)||\"\",\"data-superfields\":true,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,paginationActive&&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\",preventLocalization:true,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\",preventLocalization:true,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\",preventLocalization:true},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\",preventLocalization:true,hidden:props=>!props.favouriting&&!props.sorting}});function ComponentVariantSwitch({child,componentConfig}){var _child_props_children_props,_child_props_children,_child_props,_componentChild_props,_componentChild_props1,_clonedComponent_props;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;}const clonedComponent=cloneComponent(componentChild,variant);if(clonedComponent){return clonedComponent;}if(componentProps&&typeof componentProps===\"object\"&&((_componentChild_props=componentChild.props)===null||_componentChild_props===void 0?void 0:_componentChild_props.hasOwnProperty(\"href\"))){var _componentProps_children_props,_componentProps_children;const clonedChild=cloneComponent((_componentProps_children=componentProps.children)===null||_componentProps_children===void 0?void 0:(_componentProps_children_props=_componentProps_children.props)===null||_componentProps_children_props===void 0?void 0:_componentProps_children_props.children,variant);if(clonedChild){var _componentChild_props2,_componentChild_props_children,_componentChild_props3;return /*#__PURE__*/cloneElement(componentChild,{children:{...(_componentChild_props2=componentChild.props)===null||_componentChild_props2===void 0?void 0:_componentChild_props2.children,props:{...(_componentChild_props3=componentChild.props)===null||_componentChild_props3===void 0?void 0:(_componentChild_props_children=_componentChild_props3.children)===null||_componentChild_props_children===void 0?void 0:_componentChild_props_children.props,children:clonedChild}}});}}const clonedChild=cloneComponent(componentChild===null||componentChild===void 0?void 0:(_componentChild_props1=componentChild.props)===null||_componentChild_props1===void 0?void 0:_componentChild_props1.children,variant);if(clonedChild){return /*#__PURE__*/cloneElement(componentChild,{children:clonedChild});}if(clonedComponent===null||clonedComponent===void 0?void 0:(_clonedComponent_props=clonedComponent.props)===null||_clonedComponent_props===void 0?void 0:_clonedComponent_props.hasOwnProperty(\"variant\")){return /*#__PURE__*/cloneElement(component,{variant});}return child;}const MemoizedComponentVariantSwitch=/*#__PURE__*/memo(ComponentVariantSwitch);const MemoizedMasonry=/*#__PURE__*/memo(Masonry);function cloneComponent(componentChild,variant){var _component_type;const componentProps=componentChild===null||componentChild===void 0?void 0:componentChild.props;const component=componentProps===null||componentProps===void 0?void 0:componentProps.children;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===null||component===void 0?void 0:(_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 null;}function shuffle(array,seed){// Create a copy of the original array to avoid modifying it directly\nconst shuffled=array.slice();// Create a seeded random number generator\nlet currentSeed=seed;const random=()=>{const x=Math.sin(currentSeed++)*1e4;return x-Math.floor(x);};// Fisher-Yates shuffle algorithm\nfor(let i=shuffled.length-1;i>0;i--){const j=Math.floor(random()*(i+1));[shuffled[i],shuffled[j]]=[shuffled[j],shuffled[i]];}return shuffled;}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Superfields\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"600\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Superfields.map"],
  "mappings": "gYAS8H,IAAMA,GAAgB,EAAQC,GAAY,EAAiB,SAARC,GAAyB,CAAC,YAAAC,EAAY,QAAAC,EAAQJ,GAAgB,IAAAK,EAAIJ,GAAY,QAAAK,EAAQ,GAAM,YAAAC,EAAY,GAAM,UAAAC,EAAU,SAAS,SAAAC,EAAS,MAAAC,EAAM,GAAGC,CAAU,EAAEC,EAAa,CAAC,IAAMC,EAASC,GAAO,CAAC,CAAC,EAAO,CAACC,EAAQC,CAAU,EAAEC,GAAS,EAAK,EAChaC,GAAgB,KAAQX,GAAa,CAACQ,GAAQC,EAAW,EAAI,EAAQ,IAAI,CAAIT,GAAaQ,GAAQC,EAAW,EAAK,CAAE,EAAG,EAAE,IAAMG,EAAOC,E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IAAI,CAAC,IAAMC,EAAE,KAAK,IAAIF,GAAa,EAAE,IAAI,OAAOE,EAAE,KAAK,MAAMA,CAAC,CAAE,EAClG,QAAQhI,EAAE6H,EAAS,OAAO,EAAE7H,EAAE,EAAEA,IAAI,CAAC,IAAMiI,EAAE,KAAK,MAAMF,EAAO,GAAG/H,EAAE,EAAE,EAAE,CAAC6H,EAAS7H,CAAC,EAAE6H,EAASI,CAAC,CAAC,EAAE,CAACJ,EAASI,CAAC,EAAEJ,EAAS7H,CAAC,CAAC,CAAE,CAAC,OAAO6H,CAAS",
  "names": ["DEFAULT_COLUMNS", "DEFAULT_GAP", "Masonry", "breakpoints", "columns", "gap", "reverse", "autoArrange", "alignment", "children", "style", "otherProps", "forwardedRef", "elements", "pe", "arrange", "setArrange", "ye", "fe", "layout", "se", "arrayOfChildren", "j", "newLayout", "columnHeights", "getcolumnIndex", "index", "columnIndex", "item", "element", "elementHeight", "child", "J", "temporaryElements", "addElement", "p", "column", "itemIndex", "useBaseStore", "create", "set", "get", "cmsCollectionName", "favourites", "state", "t", "favourite", "currentFavourites", "favouriteToRemove", "fav", "useFavouriteStore", "selector", "newState", "savedState", "savedFavourites", "error", "key", "value", "args", "FavouriteStore_default", "Order", "FieldType", "PaginationType", "LayoutType", "Superfields", "props", "_props_collectionList", "_props_emptyState", "_queryParent_props", "_propertyControlsByName_slugFieldName", "_filters_FAVOURITES_FILTER_ID", "_collectionList_props", "_collectionList_props1", "superfieldsId", "layout", "componentConfig", "favouriting", "cmsCollectionName", "slugFieldName", "favouritesOnly", "searchFields", "sortingField", "urlParameters", "collectionList", "emptyState", "isCanvas", "RenderTarget", "isOptimizing", "window", "scrollUpRef", "pe", "itemCountRef", "isFirstRender", "query", "queryParent", "propertyControlsByName", "childrenFunction", "se", "getCollectionData", "framerPaginationSize", "framerPagination", "filters", "randomizationSeed", "search", "sortOption", "defaultSortOption", "sortingUrlParameter", "paginationActive", "paginationType", "itemsPerPage", "page", "setPage", "setTotalItems", "Store_default", "state", "urlParams", "searchParam", "pageParam", "parsedPage", "maxPages", "data", "favourites", "FavouriteStore_default", "randomize", "sort", "_propertyControlsByName_slugFieldName_id", "slugFieldId", "filterNames", "select", "hasFilters", "usedFieldNames", "fieldName", "name", "DELIMITER", "addFieldsToSelect", "useQueryData", "dataIds", "item", "dataItemsById", "ue", "rect", "url", "pageNumber", "hasUrlParameterFilter", "filter", "value", "filteredData", "itemIds", "FAVOURITES_FILTER_ID", "conditionContains", "fields", "n", "field", "id", "foundMatch", "dataItem", "dataFieldValue", "values", "_field_options", "_field_optionTitles", "dataValueTitle", "v", "_field_optionTitles1", "_field_options1", "_dataItem_field_id", "_field_options2", "_field_optionTitles2", "_field_optionTitles3", "_field_options3", "favouriteFilterValue", "favouriteFilteredData", "shouldFilterFavorites", "_search_trim_toLowerCase", "searchText", "searchData", "missingSearchField", "missingFieldName", "levels", "itemLevels", "i", "property", "propertyID", "propertyType", "optionMap", "propIsString", "propIsEnum", "propIsNumber", "ii", "_dataItemsById_cmsItem_id", "cmsItem", "text", "level", "oldLevel", "oldLevelItems", "itemId", "itemCount", "pageCount", "dataOrder", "newDataOrder", "_", "shuffle", "orderedItemIds", "missingSortField", "fieldType", "sortBy", "_property_id", "fieldID", "isAscending", "getSortValue", "_dataItemsById_id", "_dataItemsById_id1", "slug", "a", "b", "aValue", "bValue", "comparison", "aTitle", "bTitle", "memoizedChildren", "_clChildren_props", "offset", "limit", "paginationInfo", "loadMore", "newPage", "items", "clChildren", "modifyChildren", "elements", "newChildren", "isComponentWithVariants", "_child_props", "child", "component", "p", "MemoizedComponentVariantSwitch", "childrenArray", "Message", "layoutStyle", "isVertical", "gridTemplateColumns", "gridAutoRows", "isMasonry", "collectionListStyle", "paginationPreviewOffset", "paginationItemsAfter", "_collectionList_props___node_cache", "_collectionList_props___node", "_collectionList_props2", "htmlElement", "_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", "reactFiberKey", "key", "cmsChildren", "children", "MemoizedMasonry", "_props_id", "u", "l", "q", "addPropertyControls", "ControlType", "sortingControls", "ComponentVariantSwitch", "_child_props_children_props", "_child_props_children", "_componentChild_props", "_componentChild_props1", "_clonedComponent_props", "componentChild", "componentProps", "variant", "clonedComponent", "cloneComponent", "_componentProps_children_props", "_componentProps_children", "clonedChild", "_componentChild_props2", "_componentChild_props_children", "_componentChild_props3", "X", "Masonry", "_component_type", "ResolveLinks", "element", "_component_props", "cData", "_cData_type_propertyControls", "_cData_type", "array", "seed", "shuffled", "currentSeed", "random", "x", "j"]
}
