{"version":3,"file":"Masonry.CzGPtsk7.mjs","names":["useRef","useState","useMemo","Children","useRef","useMemo","_collectionList_props","_collectionList_props_children","_collectionList_props1","_collectionList_props2","query","queryData","propertyControlsByName","select","useState","_randomizationState_superfieldsId","value","i","state","children","_Fragment","j"],"sources":["https:/framerusercontent.com/modules/7RLAxImhgZwPZUlPfW6J/i7PcLxofJFwATKSGUKe0/SuperfieldShared.js","https:/framerusercontent.com/modules/JfW6EfEeJnrqM1YQCYmc/3By4VvLRRlsqmHmoICUC/Masonry.js","https:/framer.com/m/Masonry-u5eW.js@3By4VvLRRlsqmHmoICUC","https:/framerusercontent.com/modules/GVitktfdInO4QYmGrhUF/ITNs4DRRNxOcaoFtKz3S/Masonry.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{ControlType}from\"framer\";import{motion}from\"framer-motion\";import{createContext,cloneElement}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";// State stores\nexport const usePaginationState=createStore({});export const useFilterState=createStore({});export const useFavouriteState=createStore({});export const useSearchState=createStore({});export const useRandomizationState=createStore({});// Context and ID\nexport const SuperfieldsContext=/*#__PURE__*/createContext({active:false});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}});// Button property controls\nexport 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\"}});// Button component\nexport function Button({props={},onClick,onMouseEnter=null}){const{appearance=\"default\",customLayer,style={},font,fontColor,paddingIsMixed,paddingTop,paddingRight,paddingBottom,paddingLeft,padding=12,radiusIsMixed,radiusTopLeft,radiusTopRight,radiusBottomRight,radiusBottomLeft,radius=8,fill,shadows,border,text=\"\",sizing}=props;// Handle 'custom' appearance\nif(appearance===\"custom\"){let layer=customLayer===null||customLayer===void 0?void 0:customLayer[0];const{width,height}=style;if(layer&&(width||height)){layer=/*#__PURE__*/cloneElement(layer,{style:{...layer.props.style,...width&&{width},...height&&{height}}});}return /*#__PURE__*/_jsx(\"div\",{style:{display:\"contents\"},onClick:onClick,children:layer});}// Handle default appearance\nreturn /*#__PURE__*/_jsxs(\"div\",{onClick:onClick,style:{position:\"relative\",display:\"flex\",justifyContent:(font===null||font===void 0?void 0:font.textAlign)||\"center\",alignItems:\"center\",...createBackground(fill),color:fontColor||\"#FFF\",padding:paddingIsMixed?`${paddingTop}px ${paddingRight}px ${paddingBottom}px ${paddingLeft}px`:`${padding}px`,borderRadius:radiusIsMixed?`${radiusTopLeft}px ${radiusTopRight}px ${radiusBottomRight}px ${radiusBottomLeft}px`:`${radius}px`,userSelect:\"none\",cursor:\"pointer\",flex:sizing===\"fill\"?\"1 0 0\":undefined,textWrap:style.width===\"100%\"?undefined:\"nowrap\",boxShadow:shadows,...font,...style},children:[text,/*#__PURE__*/_jsx(Border,{...border})]});}// Border property control\nexport 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});// Border element\nexport 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});}// Message component\nexport 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})]});}// Utility functions\nexport const 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;}}return fill.type===\"color\"?{backgroundColor:color,backgroundImage:\"none\"}:{backgroundImage:`linear-gradient(${fill.gradientAngle}deg, ${colorB}, ${colorA})`};}return{};};// fillProp function\nexport function fillProp({color=\"#FFF\",gradientColorA=\"#FFF\",gradientColorB=\"#BDBDBD\",noDefault=false,...props}){return{type:ControlType.Object,optional:true,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};}\nexport const __FramerMetadata__ = {\"exports\":{\"fillProp\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buttonPropertyControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"superfieldsId\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useFavouriteState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useRandomizationState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SuperfieldsContext\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"createBackground\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useFilterState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useSearchState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Border\":{\"type\":\"reactComponent\",\"name\":\"Border\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"usePaginationState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Button\":{\"type\":\"reactComponent\",\"name\":\"Button\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Message\":{\"type\":\"reactComponent\",\"name\":\"Message\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"borderPropertyControl\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SuperfieldShared.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","/*\n * Masonry\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/JfW6EfEeJnrqM1YQCYmc/3By4VvLRRlsqmHmoICUC/Masonry.js\"\nexport { default } from \"https://framerusercontent.com/modules/JfW6EfEeJnrqM1YQCYmc/3By4VvLRRlsqmHmoICUC/Masonry.js\"\n","function _define_property(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget,useQueryData}from\"framer\";import{cloneElement,useEffect,useState,useRef,useMemo}from\"react\";import{Message,usePaginationState,useFilterState,useFavouriteState,useSearchState,useRandomizationState}from\"https://framerusercontent.com/modules/7RLAxImhgZwPZUlPfW6J/i7PcLxofJFwATKSGUKe0/SuperfieldShared.js\";import Masonry from\"https://framer.com/m/Masonry-u5eW.js@3By4VvLRRlsqmHmoICUC\";const FAVOURITES_FILTER_ID=\"[{(FAVOURITES)}]\";const DELIMITER=\"_&%#|_\";export default function Superfields(props){var _props_collectionList,_props_emptyState,_randomizationState_superfieldsId,_filters_FAVOURITES_FILTER_ID,_searchState_superfieldsId,_paginationState_superfieldsId,_randomizationState_superfieldsId1;const{superfieldsId,layout,componentConfig,favouriting,randomize,cmsCollectionName,slugFieldName,favouritesOnly}=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 scrollUpRef=useRef(null);const[paginationState,setPaginationState]=usePaginationState();const[filterState,setFilterState]=useFilterState();const[favouriteState,setFavouriteState]=useFavouriteState();const[searchState,setSearchState]=useSearchState();const[randomizationState,setRandomizationState]=useRandomizationState();const filters=filterState[superfieldsId];const{query,queryData,propertyControlsByName,slugFieldId}=useMemo(()=>{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,_query_from,_propertyControlsByName_slugFieldName;const query=(collectionList===null||collectionList===void 0?void 0:(_collectionList_props=collectionList.props)===null||_collectionList_props===void 0?void 0:_collectionList_props.query)||(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)||(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);const queryData=query===null||query===void 0?void 0:(_query_from=query.from)===null||_query_from===void 0?void 0:_query_from.data;const propertyControlsByName={};const propertyControlsById=(queryData===null||queryData===void 0?void 0:queryData.propertyControls)||{};for(const id in propertyControlsById){const control=propertyControlsById[id];propertyControlsByName[control.title]={id,...control};}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:\"\";return{query,queryData,propertyControlsByName,slugFieldId};},[collectionList]);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)&&(filters||props.search)){let usedFieldNames=[];if(filters){for(const fieldName of Object.keys(filters)){const filter=filters[fieldName];if(filter.fieldType==\"multipleOptions\"){usedFieldNames.push(...fieldName.split(DELIMITER));}else{usedFieldNames.push(fieldName);}}}for(const fieldName of props.searchFields){usedFieldNames.push(fieldName);}usedFieldNames=usedFieldNames.map(value=>{var _propertyControlsByName_value;return((_propertyControlsByName_value=propertyControlsByName[value])===null||_propertyControlsByName_value===void 0?void 0:_propertyControlsByName_value.id)||null;}).filter(value=>value!==null);for(const value of select){usedFieldNames.push(value.name);}select=Array.from(new Set(usedFieldNames)).map(name=>({name,type:\"Identifier\"}));}return select;},[query,filters,props.search,props.searchFields]);const originalData=query?useQueryData({...query,select}):[];let paginationLength=0;let paginationType=props.paginationType;if(collectionList&&query&&!isCanvas){var _collectionList_props_children,_collectionList_props;const QueryData=(_collectionList_props=collectionList.props)===null||_collectionList_props===void 0?void 0:(_collectionList_props_children=_collectionList_props.children)===null||_collectionList_props_children===void 0?void 0:_collectionList_props_children.type;if(QueryData){const a=QueryData({query:{...query,select:[{name:\"id\",type:\"Identifier\"}]},children:collection=>{if(collection&&collection.length!==originalData.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;let data=originalData;const originalDataMap={};if(!isCanvas){if(Array.isArray(queryData)){for(const item of queryData){originalDataMap[item.id]=item;}}else if(Array.isArray(data)){for(const item of data){originalDataMap[item.id]=item;}}}const[dataOrder,setDataOrder]=useState(null);const updatePaginationState=()=>{if(Array.isArray(data)){const totalPages=Math.ceil(data.length/itemsPerPage);setPaginationState({[superfieldsId]:{page:0,totalPages,itemsPerPage,totalItems:data.length,paginationType,active:pagination,onPaginationChange}});}};useEffect(()=>{updatePaginationState();setFilterState({});setRandomizationState({[superfieldsId]:{seed:props.randomize&&!isCanvas?Math.random():null}});},[]);useEffect(()=>{var _randomizationState_superfieldsId;var _randomizationState_superfieldsId_seed;const seed=(_randomizationState_superfieldsId_seed=(_randomizationState_superfieldsId=randomizationState[superfieldsId])===null||_randomizationState_superfieldsId===void 0?void 0:_randomizationState_superfieldsId.seed)!==null&&_randomizationState_superfieldsId_seed!==void 0?_randomizationState_superfieldsId_seed:null;if(seed&&!isCanvas&&Array.isArray(originalData)){const newDataOrder=Array.from({length:originalData.length},(_,i)=>i);shuffle(newDataOrder,seed);setDataOrder(newDataOrder);}},[randomize,(_randomizationState_superfieldsId=randomizationState[superfieldsId])===null||_randomizationState_superfieldsId===void 0?void 0:_randomizationState_superfieldsId.seed,originalData]);function onPaginationChange(){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:\"smooth\"});}}}// Filtering logic\nif(!isCanvas&&filters){let newData=[...data];for(const fieldName in filters){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 cmsItem of newData){let foundMatch=false;const originalDataItem=originalDataMap[cmsItem.id];for(const field of fields){const dataFieldValue=originalDataItem[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\":for(const v of values){var _field_optionTitles,_field_options;if(dataFieldValue==((_field_options=field.options)===null||_field_options===void 0?void 0:_field_options[(_field_optionTitles=field.optionTitles)===null||_field_optionTitles===void 0?void 0:_field_optionTitles.indexOf(v)])){foundMatch=true;}}break;}}else{switch(field.type){case\"boolean\":if(dataFieldValue==value){foundMatch=true;}break;case\"string\":if(conditionContains){var _originalDataItem_field_id;if((_originalDataItem_field_id=originalDataItem[field.id])===null||_originalDataItem_field_id===void 0?void 0:_originalDataItem_field_id.includes(value)){foundMatch=true;}}else{if(dataFieldValue==value){foundMatch=true;}}break;case\"enum\":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(value)]))foundMatch=true;break;}}if(foundMatch){filteredData.push(cmsItem);break;}}}newData=filteredData;}}data=newData;}// Favourites filter\nconst favouriteFilterValue=filters===null||filters===void 0?void 0:(_filters_FAVOURITES_FILTER_ID=filters[FAVOURITES_FILTER_ID])===null||_filters_FAVOURITES_FILTER_ID===void 0?void 0:_filters_FAVOURITES_FILTER_ID.value;if(!isCanvas&&slugFieldId&&data&&(favouritesOnly||typeof favouriteFilterValue===\"boolean\")){const favourites=favouriteState[cmsCollectionName];if(Array.isArray(favourites)){if(favouriteFilterValue===true||favouritesOnly){data=data.filter(item=>favourites.includes(item[slugFieldId]));}else{data=data.filter(item=>!favourites.includes(item[slugFieldId]));}}else if(favouritesOnly){data=[];}}// Search\nlet missingSearchFieldError=\"\";var _searchState_superfieldsId_trim_toLowerCase;const searchText=(_searchState_superfieldsId_trim_toLowerCase=(_searchState_superfieldsId=searchState[superfieldsId])===null||_searchState_superfieldsId===void 0?void 0:_searchState_superfieldsId.trim().toLowerCase())!==null&&_searchState_superfieldsId_trim_toLowerCase!==void 0?_searchState_superfieldsId_trim_toLowerCase:\"\";if(searchText.length&&Array.isArray(data)){const otherData=[];const levels=[[...data],[],[],[],[]];const itemLevels=new Array(data.length).fill(0);for(let i=0;i<props.searchFields.length;i++){const fieldName=props.searchFields[i];const property=propertyControlsByName[fieldName];if(!property){missingSearchFieldError=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 _originalDataMap_cmsItem_id;const cmsItem=data[ii];const value=(_originalDataMap_cmsItem_id=originalDataMap[cmsItem.id])===null||_originalDataMap_cmsItem_id===void 0?void 0:_originalDataMap_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;}}const oldLevel=itemLevels[ii];if(level>oldLevel){const oldLevelItems=[];for(const item of levels[oldLevel]){if(item!=cmsItem){oldLevelItems.push(item);}}levels[oldLevel]=oldLevelItems;levels[level].push(cmsItem);itemLevels[ii]=level;}}}if(!missingSearchFieldError.length){data=[...levels[4],...levels[3],...levels[2],...levels[1],...otherData];}}if((data===null||data===void 0?void 0:data.length)!=((_paginationState_superfieldsId=paginationState[superfieldsId])===null||_paginationState_superfieldsId===void 0?void 0:_paginationState_superfieldsId.totalItems)){updatePaginationState();}let childrenStartOffset=0;let items=data;// Randomization\nif(!isCanvas&&!searchText&&((_randomizationState_superfieldsId1=randomizationState[superfieldsId])===null||_randomizationState_superfieldsId1===void 0?void 0:_randomizationState_superfieldsId1.seed)){let orderedItems=originalData;if(dataOrder){orderedItems=new Array(originalData.length);for(let i=0;i<dataOrder.length;i++){orderedItems[dataOrder[i]]=originalData[i];}}items=orderedItems.filter(item=>items.includes(item));}// Pagination\nif(!isCanvas&&pagination){const state=paginationState[superfieldsId];if(state){switch(paginationType){case\"prevNextButtons\":items=items.slice(state.page*itemsPerPage,state.page*itemsPerPage+itemsPerPage);childrenStartOffset=state.page*itemsPerPage;break;case\"loadMoreButton\":case\"framerPagination\":items=items.slice(0,(state.page+1)*itemsPerPage);break;}}}let showNotComponentChildError=false;let children=null;let className=\"\";if(!isCanvas&&collectionList&&query){var _collectionList_props1,_clpc_props,_clpc_props_children_props,_clpc_props_children,_clpc_props1;const{offset,limit,...otherQuery}=query;let childrenFunction=null;const clpc=(_collectionList_props1=collectionList.props)===null||_collectionList_props1===void 0?void 0:_collectionList_props1.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\"){var _clpc_props2;childrenFunction=clpc===null||clpc===void 0?void 0:(_clpc_props2=clpc.props)===null||_clpc_props2===void 0?void 0:_clpc_props2.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;}if(childrenFunction){var _clChildren_props,_collectionList_props2;const state=paginationState[superfieldsId];const paginationInfo={currentPage:state?state.page+1:1,totalPages:state?state.totalPages:1,isLoading:false};const loadMore=()=>{const state=paginationState[superfieldsId];if(pagination&&state){const newPage=state.page+1;if(newPage>=0&&newPage<state.totalPages){setPaginationState(prev=>({[superfieldsId]:{...prev[superfieldsId],page:newPage}}));onPaginationChange();}}};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++){const child=elements[i];const component=/*#__PURE__*/_jsx(ComponentVariantSwitch,{child:child,componentConfig:componentConfig});if(component===child){isComponentWithVariants=false;break;}else{newChildren.push(component);}}if(isComponentWithVariants){return newChildren;}}return elements;};if(Array.isArray(clChildren)){children=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){children=modifyChildren(childrenArray);}else{let newChildren=[];for(const child of childrenArray){if(Array.isArray(child)){newChildren=newChildren.concat(modifyChildren(child));}else{newChildren.push(child);}}children=newChildren;}}className=((_collectionList_props2=collectionList.props)===null||_collectionList_props2===void 0?void 0:_collectionList_props2.className)||\"\";}}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.\"});}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.\"});}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.'});}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.'});}if(showNotComponentChildError){return /*#__PURE__*/_jsx(Message,{title:\"Collection List item is not a component with variants.\",subtitle:\"To use variant overrides, make sure the only item in the Collection List is a component with variants. Otherwise, remove the component variant override.\"});}if(missingSearchFieldError.length){return /*#__PURE__*/_jsx(Message,{title:`\"${missingSearchFieldError}\" field does not exist in your CMS collection`,subtitle:`The field \"${missingSearchFieldError}\" 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.`});}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\":let gridTemplateColumns=\"\";if(layout.columns==\"auto\"){if(layout.gridWidthType==\"min\"){gridTemplateColumns=`repeat(auto-fill, minmax(${layout.gridWidth}px, 1fr))`;}else{gridTemplateColumns=`repeat(auto-fill, ${layout.gridWidth}px)`;}}else{if(layout.gridWidthType==\"min\"){gridTemplateColumns=`repeat(${layout.columnCount}, minmax(${layout.gridWidth}px, 1fr))`;}else{gridTemplateColumns=`repeat(${layout.columnCount}, ${layout.gridWidth}px)`;}}let 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\";if(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.log(\"Failed to calculate Superfields pagination preview offset.\");}}if(isMasonry){var _collectionList_props___node_cache,_collectionList_props___node,_collectionList_props3;const htmlElement=(_collectionList_props3=collectionList.props)===null||_collectionList_props3===void 0?void 0:(_collectionList_props___node=_collectionList_props3.__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_children__props,_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children_props_children__props_children_,_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children_props_children__props_children,_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,_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;}}let 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_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[1])===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=_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children_props_children__props.children)===null||_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children_props_children__props_children===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children_props_children__props_children_=_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children_props_children__props_children[0])===null||_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children_props_children__props_children_===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children_props_children__props_children__props=_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children_props_children__props_children_.props)===null||_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children_props_children__props_children__props===void 0?void 0:_htmlElement_reactFiberKey_memoizedProps_children__props_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(Masonry,{columns:layout.masonryColumns,gap:`${layout.gapV}px ${layout.gapH}px`,alignment:layout.masonryItemWidth===\"fit\"?layout.masonryAlign:\"stretch\",autoArrange:true,reverse:false,children:children});}}}else{var _collectionList_props4;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:{...(_collectionList_props4=collectionList.props)===null||_collectionList_props4===void 0?void 0:_collectionList_props4.style,...props.style,...layoutStyle}}),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}});}}if(!(items===null||items===void 0?void 0:items.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:{...collectionList===null||collectionList===void 0?void 0:collectionList.props.style,...props.style,position:\"relative\",overflow:pagination&&paginationType==\"infiniteScroll\"?\"hidden auto\":undefined,...layoutStyle},className:isMasonry?\"\":className,children:[isMasonry?/*#__PURE__*/_jsx(Masonry,{columns:layout.masonryColumns,gap:`${layout.gapV}px ${layout.gapH}px`,alignment:layout.masonryItemWidth===\"fit\"?layout.masonryAlign:\"stretch\",autoArrange:true,reverse:false,children:children}):children,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.\"}}},pagination:{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:{offset:0},controls:{offset:{type:ControlType.Number,defaultValue:-32,step:1,description:\"When the page is changed, scroll up to the top of the Superfields component with an offset in px.\"}},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},slugFieldName:{type:ControlType.String,defaultValue:\"Slug\",placeholder:\"Slug Field 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}});function ComponentVariantSwitch({child,componentConfig}){var _child_props_children_props_children,_child_props_children_props,_child_props_children,_child_props,_component_type,_component_props_children__props_children_props,_component_props_children__props_children,_component_props_children__props,_component_props_children_,_component_props_children,_component_props,_component_props1;const componentProps=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=_child_props_children_props.children)===null||_child_props_children_props_children===void 0?void 0:_child_props_children_props_children.props;let componentType=\"default\";let component=componentProps===null||componentProps===void 0?void 0:componentProps.children;if(typeof component==\"function\"&&(componentProps===null||componentProps===void 0?void 0:componentProps.links)){componentType=\"links\";component=ResolveLinks.render({links:componentProps.links,children:componentProps.children});}else if(!(component===null||component===void 0?void 0:(_component_type=component.type)===null||_component_type===void 0?void 0:_component_type.propertyControls)){componentType=\"child\";}const cData=componentType==\"links\"?component===null||component===void 0?void 0:(_component_props=component.props)===null||_component_props===void 0?void 0:(_component_props_children=_component_props.children)===null||_component_props_children===void 0?void 0:(_component_props_children_=_component_props_children[0])===null||_component_props_children_===void 0?void 0:(_component_props_children__props=_component_props_children_.props)===null||_component_props_children__props===void 0?void 0:(_component_props_children__props_children=_component_props_children__props.children)===null||_component_props_children__props_children===void 0?void 0:(_component_props_children__props_children_props=_component_props_children__props_children.props)===null||_component_props_children__props_children_props===void 0?void 0:_component_props_children__props_children_props.children:componentType==\"child\"?component===null||component===void 0?void 0:(_component_props1=component.props)===null||_component_props1===void 0?void 0:_component_props1.children:component;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){if(componentType==\"links\"){return /*#__PURE__*/cloneElement(component,{children:{...component.props.children[0],props:{...component.props.children[0].props,children:{...component.props.children[0].props.children,props:{...component.props.children[0].props.children.props,children:{...cData,props:{...cData.props,variant:componentConfig.variant}}}}}}});}else if(componentType==\"child\"){return /*#__PURE__*/cloneElement(component,{children:{...cData,props:{...cData.props,variant:componentConfig.variant}}});}else{return /*#__PURE__*/cloneElement(component,{variant:componentConfig.variant});}}}return child;}class SeededRNG{next(){this.seed=(this.a*this.seed+this.c)%this.m;return this.seed/(this.m-1);}constructor(seed){_define_property(this,\"seed\",void 0);_define_property(this,\"m\",void 0);_define_property(this,\"a\",void 0);_define_property(this,\"c\",void 0);this.seed=seed;this.m=2147483648// 2**31\n;this.a=1103515245;this.c=12345;}}function shuffle(array,seed){const rng=new SeededRNG(seed);for(let i=array.length-1;i>0;i--){const j=Math.floor(rng.next()*(i+1));[array[i],array[j]]=[array[j],array[i]]// Swap elements\n;}}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Superfields\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Masonry.map"],"mappings":"yWASA,SAAgB,EAAQ,CAAC,QAAM,YAAU,CAAC,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,MAAM,OAAO,OAAO,OAAO,aAAa,SAAS,WAAW,SAAS,cAAc,SAAS,IAAI,GAAG,gBAA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