{"version":3,"file":"PaginationButtons.6mh5dCVC.mjs","names":["props","parsePadding","p","useId","useRef","useState","useMemo","Children","elementHeight","e","t","r","n","u","l","p","useBaseStore","useRef","useTransition","useMemo","t","e","Cookies","useRef","useMemo","useSuperfieldsStore","superfieldsId","useFavouriteStore","itemIds","filteredData","_child_props","_Fragment","clonedChild","j","item","useSuperfieldsStore","superfieldsId","useRef","useState","useSuperfieldsStore","superfieldsId","useSuperfieldsStore","superfieldsId"],"sources":["https:/framerusercontent.com/modules/FZjYlw33eNo8pxLbSFLX/ICC3kQB0rIHwdyJxFwc3/SuperfieldsShared.js","https:/framerusercontent.com/modules/PNm0aYRdp2Urx1MCseUn/hIJKk8W2vTfMTpPmM6YJ/CMSLibrary.js","https:/framerusercontent.com/modules/JfW6EfEeJnrqM1YQCYmc/GJijJu4WrREqn6Sg1VOH/Masonry.js","https:/framerusercontent.com/modules/XPZpWLgM1p9otlAim6ab/2EM1XAFs06y2ux1V0qay/zustand.js","https:/framerusercontent.com/modules/OoGHZMzWDzm2mNN7bmeR/CVdUSqwHRYYoh8nXLjx5/Store.js","https:/ga.jspm.io/npm:js-cookie@3.0.5/dist/js.cookie.mjs","https:/framerusercontent.com/modules/c1jaZMVo1HBulMCJfZHW/4SCjOKih77grfiVkVrTg/FavouriteStore.js","https:/framerusercontent.com/modules/1o5Bk6b6qvbR58A6b2Ej/0pQTfUARQx5sQl0x4j9H/Superfields.js","https:/framerusercontent.com/modules/kf2LBfm1QDK0TMFrHROs/KzsMz3l9BmhUAFC2Pf5I/ResetFiltersButton.js","https:/framerusercontent.com/modules/SCy7FLdHzkNZj7inEGxN/HrtAuHkfnqvFF419orNe/SearchBar.js","https:/framerusercontent.com/modules/SjmdPPDPZAXy5pCDgKCg/cH5hcf3DOobQVz3agCwf/PaginationButtons.js"],"sourcesContent":["// @ts-ignore\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{ControlType,useRouter,PathVariablesContext}from\"framer\";import{motion}from\"framer-motion\";import{cloneElement,useContext,useId}from\"react\";export const DEFAULT_SORTING_ID=\"[{(DEFAULT_SORTING)}]\";export const FAVOURITES_FILTER_ID=\"[{(FAVOURITES)}]\";export const DELIMITER=\"_&%#|_\"// Used for multi-select items and multiple options field names\n;export var FieldType;(function(FieldType){FieldType[\"String\"]=\"string\";FieldType[\"Number\"]=\"number\";FieldType[\"Boolean\"]=\"boolean\";FieldType[\"Enum\"]=\"enum\";FieldType[\"Date\"]=\"date\";})(FieldType||(FieldType={}));export var FilterFieldType;(function(FilterFieldType){FilterFieldType[\"Option\"]=\"option\";FilterFieldType[\"Toggle\"]=\"toggle\";FilterFieldType[\"Text\"]=\"text\";FilterFieldType[\"Reference\"]=\"reference\";FilterFieldType[\"MultiReference\"]=\"multiReference\";FilterFieldType[\"MultipleOptions\"]=\"multipleOptions\";})(FilterFieldType||(FilterFieldType={}));export var FilterTextCondition;(function(FilterTextCondition){FilterTextCondition[\"Equals\"]=\"equals\";FilterTextCondition[\"Contains\"]=\"contains\";})(FilterTextCondition||(FilterTextCondition={}));export function useSlug(){const{currentPathVariables}=useRouter();const pathVariables=useContext(PathVariablesContext);let slug=null;let slugFieldId=null;if(pathVariables){slugFieldId=Object.keys(pathVariables)[0];slug=pathVariables[slugFieldId];}if(currentPathVariables&&!slug&&!slugFieldId){slugFieldId=Object.keys(currentPathVariables)[0];slug=currentPathVariables[slugFieldId];}return{slug,slugFieldId};}export const calculateTotalPages=(totalItems,itemsPerPage)=>{if(itemsPerPage<=0){return 0;}return Math.ceil(totalItems/itemsPerPage);};export const useInstanceId=()=>{const id=useId();const cleanId=id.replace(/:/g,\"\");const instanceId=`superfields-${cleanId}`;return instanceId;};export const superfieldsId=({hidden=undefined}={})=>({superfieldsId:{type:ControlType.Number,defaultValue:0,min:0,step:1,displayStepper:true,title:\"CMS ID\",description:\"Match with ID on Superfields component\",hidden}});export const buttonPropertyControls=({text=\"\"})=>({appearance:{type:ControlType.Enum,defaultValue:\"default\",options:[\"default\",\"custom\"],optionTitles:[\"Default\",\"Custom\"],displaySegmentedControl:true},customLayer:{type:ControlType.ComponentInstance,title:\"Layer\",description:\"Connect a custom layer from outside the breakpoint\",hidden:props=>props.appearance!==\"custom\"},text:{type:ControlType.String,defaultValue:text,hidden:props=>props.appearance!==\"default\"},fill:fillProp({color:\"#000\",gradientColorA:\"#8C8C8C\",gradientColorB:\"#000\",hidden:props=>props.appearance!==\"default\"}),fontColor:{type:ControlType.Color,defaultValue:\"#FFF\",hidden:props=>props.appearance!==\"default\"},font:{type:\"font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:14,lineHeight:1.4},hidden:props=>props.appearance!==\"default\"},padding:{type:ControlType.FusedNumber,defaultValue:12,toggleKey:\"paddingIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"paddingTop\",\"paddingRight\",\"paddingBottom\",\"paddingLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0,hidden:props=>props.appearance!==\"default\"},radius:{type:ControlType.FusedNumber,defaultValue:8,toggleKey:\"radiusIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"radiusTopLeft\",\"radiusTopRight\",\"radiusBottomRight\",\"radiusBottomLeft\"],valueLabels:[\"TL\",\"TR\",\"BR\",\"BL\"],min:0,hidden:props=>props.appearance!==\"default\"},border:borderPropertyControl({hidden:props=>props.appearance!==\"default\"}),shadows:{type:ControlType.BoxShadow,hidden:props=>props.appearance!==\"default\"}});export function Button({props,onClick,onMouseEnter=null}){var _props_font,_props_style;if(props.appearance==\"custom\"){var _props_customLayer,_props_style1,_props_style2;let layer=(_props_customLayer=props.customLayer)===null||_props_customLayer===void 0?void 0:_props_customLayer[0];const width=(_props_style1=props.style)===null||_props_style1===void 0?void 0:_props_style1.width;const height=(_props_style2=props.style)===null||_props_style2===void 0?void 0:_props_style2.height;if(layer&&props.style&&(width||height)){layer=/*#__PURE__*/cloneElement(layer,{style:{...layer.props.style,...width&&{width:width},...height&&{height:height}}});}return /*#__PURE__*/_jsx(\"div\",{\"data-superfields\":true,style:{display:\"contents\"},onClick:onClick,children:layer});}return /*#__PURE__*/_jsxs(\"div\",{\"data-superfields\":true,onClick:onClick,style:{position:\"relative\",display:\"flex\",justifyContent:((_props_font=props.font)===null||_props_font===void 0?void 0:_props_font.textAlign)||\"center\",alignItems:\"center\",...createBackground(props.fill),color:props.fontColor,padding:props.paddingIsMixed?`${props.paddingTop}px ${props.paddingRight}px ${props.paddingBottom}px ${props.paddingLeft}px`:`${props.padding}px`,borderRadius:props.radiusIsMixed?`${props.radiusTopLeft}px ${props.radiusTopRight}px ${props.radiusBottomRight}px ${props.radiusBottomLeft}px`:`${props.radius}px`,userSelect:\"none\",cursor:\"pointer\",flex:props.sizing==\"fill\"?\"1 0 0\":undefined,textWrap:((_props_style=props.style)===null||_props_style===void 0?void 0:_props_style.width)==\"100%\"?undefined:\"nowrap\",boxShadow:props.shadows,...props.font,...props.style},children:[props.text,/*#__PURE__*/_jsx(Border,{...props.border})]});}Button.displayName=\"Superfields/Button\";export const borderPropertyControl=(props={})=>({type:ControlType.Object,optional:true,controls:{color:{type:ControlType.Color,defaultValue:\"#222\"},width:{type:ControlType.FusedNumber,defaultValue:1,toggleKey:\"widthIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"widthTop\",\"widthRight\",\"widthBottom\",\"widthLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0},style:{type:ControlType.Enum,defaultValue:\"solid\",options:[\"solid\",\"dashed\",\"dotted\",\"double\"],optionTitles:[\"Solid\",\"Dashed\",\"Dotted\",\"Double\"]}},...props});export function Border({width,widthIsMixed,widthTop,widthRight,widthBottom,widthLeft,style,color,transition,animate,radius=\"inherit\"}){return /*#__PURE__*/_jsx(motion.div,{animate:{borderColor:color,...animate},style:{position:\"absolute\",inset:0,borderWidth:widthIsMixed?`${widthTop}px ${widthRight}px ${widthBottom}px ${widthLeft}px`:`${width}px`,borderStyle:style,borderRadius:radius,pointerEvents:\"none\"},initial:false,transition:transition});}Border.displayName=\"Superfields/Border\";export function Message({title,subtitle}){return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",width:\"100%\",height:\"100%\",placeContent:\"center\",placeItems:\"center\",flexDirection:\"column\",gap:16,backgroundColor:\"rgba(136, 85, 255, 0.1)\",borderRadius:6,border:\"1px dashed rgb(136, 85, 255)\",color:\"rgb(136, 85, 255)\",fontSize:16,padding:20,minHeight:200,textWrap:\"balance\"},children:[/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontWeight:600,textAlign:\"center\"},children:title}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,opacity:.7,lineHeight:1.5,textAlign:\"center\"},children:subtitle})]});}Message.displayName=\"Superfields/Message\";export const EmptyState=Message;export function createBackground(fill,on=null){if(fill){let{color,colorA,colorB}=fill;if(typeof on==\"boolean\"){if(on){color=fill.colorOn;colorA=fill.colorAOn;colorB=fill.colorBOn;}else{color=fill.colorOff;colorA=fill.colorAOff;colorB=fill.colorBOff;}}if(fill.type==\"color\"){return{backgroundColor:color,backgroundImage:\"none\"};}else{return{backgroundColor:\"none\",backgroundImage:`linear-gradient(${fill.gradientAngle}deg, ${colorB}, ${colorA})`};}}return{};}export function fillProp({color=\"#FFF\",gradientColorA=\"#FFF\",gradientColorB=\"#BDBDBD\",noDefault=false,...props}){return{type:ControlType.Object,optional:true,defaultValue:noDefault?undefined:{type:\"color\",color,colorA:gradientColorA,colorB:gradientColorB,gradientAngle:0},controls:{type:{type:ControlType.Enum,defaultValue:\"color\",options:[\"color\",\"gradient\"],optionTitles:[\"Color\",\"Gradient\"],displaySegmentedControl:true},color:{type:ControlType.Color,defaultValue:color,hidden:props=>props.type!=\"color\"},colorA:{type:ControlType.Color,defaultValue:gradientColorA,title:\"Colors\",hidden:props=>props.type!=\"gradient\"},colorB:{type:ControlType.Color,defaultValue:gradientColorB,title:\" \",hidden:props=>props.type!=\"gradient\"},gradientAngle:{type:ControlType.Number,defaultValue:0,title:\"Angle\",step:1,min:0,max:360,unit:\"\\xb0\",hidden:props=>props.type!=\"gradient\"}},...props};}export function fillPropOnOff({colorOn=\"#FFF\",colorAOn=\"#FFF\",colorBOn=\"#000\",colorOff=\"#FFF\",colorAOff=\"#FFF\",colorBOff=\"#000\",noDefault=false,...props}){return{type:ControlType.Object,optional:true,defaultValue:noDefault?undefined:{type:\"color\",colorOn,colorAOn,colorBOn,colorOff,colorAOff,colorBOff,gradientAngle:0},controls:{type:{type:ControlType.Enum,defaultValue:\"color\",options:[\"color\",\"gradient\"],optionTitles:[\"Color\",\"Gradient\"],displaySegmentedControl:true},colorOn:{type:ControlType.Color,defaultValue:colorOn,hidden:props=>props.type!=\"color\"},colorAOn:{type:ControlType.Color,defaultValue:colorAOn,title:\"Colors On\",hidden:props=>props.type!=\"gradient\"},colorBOn:{type:ControlType.Color,defaultValue:colorBOn,title:\" \",hidden:props=>props.type!=\"gradient\"},colorOff:{type:ControlType.Color,defaultValue:colorOff,hidden:props=>props.type!=\"color\"},colorAOff:{type:ControlType.Color,defaultValue:colorAOff,title:\"Colors Off\",hidden:props=>props.type!=\"gradient\"},colorBOff:{type:ControlType.Color,defaultValue:colorBOff,title:\" \",hidden:props=>props.type!=\"gradient\"},gradientAngle:{type:ControlType.Number,defaultValue:0,title:\"Angle\",step:1,min:0,max:360,unit:\"\\xb0\",hidden:props=>props.type!=\"gradient\"}},...props};}export function parsePadding(padding){if(typeof padding!==\"string\"){return[0,0,0,0];}const values=padding.split(\" \");const parsedValues=values.map(value=>parseInt(value.replace(\"px\",\"\"),10));switch(parsedValues.length){case 1:const p=parsedValues[0];return[p,p,p,p];case 4:return parsedValues;}return[0,0,0,0];}export function sortingControls({defaultSorting=false,hidden=null}={}){return{sortBy:{type:ControlType.Enum,defaultValue:\"field\",options:[\"field\",\"favourites\",...defaultSorting?[\"defaultSorting\"]:[]],optionTitles:[\"CMS Field\",\"Favourites\",...defaultSorting?[\"Default Sorting\"]:[]],displaySegmentedControl:true,segmentedControlDirection:\"vertical\",hidden},fieldName:{type:ControlType.String,defaultValue:\"\",placeholder:\"CMS Field Name\",hidden:props=>props.sortBy!==\"field\"||(hidden===null||hidden===void 0?void 0:hidden(props))},fieldType:{type:ControlType.Enum,defaultValue:\"string\",options:[\"string\",\"number\",\"date\",\"boolean\",\"enum\",\"reference\"],optionTitles:[\"Text\",\"Number\",\"Date\",\"Toggle\",\"Option\",\"Reference\"],hidden:props=>props.sortBy!==\"field\"||(hidden===null||hidden===void 0?void 0:hidden(props))},referenceFieldName:{type:ControlType.String,defaultValue:\"Title\",placeholder:\"Reference Field Name\",hidden:props=>props.sortBy!==\"field\"||props.fieldType!==\"reference\"||(hidden===null||hidden===void 0?void 0:hidden(props))},referenceFieldType:{type:ControlType.Enum,defaultValue:\"string\",options:[\"string\",\"number\",\"date\",\"boolean\",\"enum\"],optionTitles:[\"Text\",\"Number\",\"Date\",\"Toggle\",\"Option\"],hidden:props=>props.sortBy!==\"field\"||props.fieldType!==\"reference\"||(hidden===null||hidden===void 0?void 0:hidden(props))},stringSort:{type:ControlType.Enum,defaultValue:\"ascending\",options:[\"ascending\",\"descending\"],optionTitles:[\"A → Z\",\"Z → A\"],displaySegmentedControl:true,title:\"Sort\",hidden:props=>sortFieldType(props)!==\"string\"||(hidden===null||hidden===void 0?void 0:hidden(props))},numberSort:{type:ControlType.Enum,defaultValue:\"ascending\",options:[\"ascending\",\"descending\"],optionTitles:[\"Ascending ↑\",\"Descending ↓\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\",title:\"Sort\",hidden:props=>sortFieldType(props)!==\"number\"||(hidden===null||hidden===void 0?void 0:hidden(props))},dateSort:{type:ControlType.Enum,defaultValue:\"ascending\",options:[\"ascending\",\"descending\"],optionTitles:[\"Ascending ↑\",\"Descending ↓\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\",title:\"Sort\",hidden:props=>sortFieldType(props)!==\"date\"||(hidden===null||hidden===void 0?void 0:hidden(props))},booleanSort:{type:ControlType.Enum,defaultValue:\"ascending\",options:[\"yesNo\",\"noYes\"],optionTitles:[\"Yes, No\",\"No, Yes\"],displaySegmentedControl:true,title:\"Sort\",hidden:props=>sortFieldType(props)!==\"boolean\"||(hidden===null||hidden===void 0?void 0:hidden(props))},enumSort:{type:ControlType.Enum,defaultValue:\"ascending\",options:[\"optionOrder\",\"reverseOptionOrder\",\"ascending\",\"descending\"],optionTitles:[\"Option Order\",\"Reverse Order\",\"A → Z\",\"Z → A\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\",title:\"Sort\",hidden:props=>sortFieldType(props)!==\"enum\"||(hidden===null||hidden===void 0?void 0:hidden(props))},favouritesSort:{type:ControlType.Enum,defaultValue:\"favouritesFirst\",options:[\"favouritesFirst\",\"favouritesLast\"],optionTitles:[\"Favourites First\",\"Favourites Last\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\",title:\"Sort\",hidden:props=>props.sortBy!==\"favourites\"||(hidden===null||hidden===void 0?void 0:hidden(props))}};}const sortFieldType=props=>{return props.sortBy===\"field\"?props.fieldType===\"reference\"?props.referenceFieldType:props.fieldType:false;};\nexport const __FramerMetadata__ = {\"exports\":{\"superfieldsId\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"EmptyState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"borderPropertyControl\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FieldType\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DELIMITER\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Border\":{\"type\":\"reactComponent\",\"name\":\"Border\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"useSlug\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FAVOURITES_FILTER_ID\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Message\":{\"type\":\"reactComponent\",\"name\":\"Message\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"calculateTotalPages\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Button\":{\"type\":\"reactComponent\",\"name\":\"Button\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"sortingControls\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FilterFieldType\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buttonPropertyControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fillPropOnOff\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"parsePadding\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fillProp\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FilterTextCondition\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DEFAULT_SORTING_ID\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useInstanceId\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"createBackground\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SuperfieldsShared.map","// @ts-ignore\nexport function getCollectionData(collectionList){var _collectionList_props,_collectionList_props_children_props,_collectionList_props_children,_collectionList_props1,_collectionList_props_children_props_children_props,_collectionList_props_children_props_children,_collectionList_props_children_props1,_collectionList_props_children1,_collectionList_props2,_queryParent_props,_collections_;let queryParent=null;if(collectionList===null||collectionList===void 0?void 0:(_collectionList_props=collectionList.props)===null||_collectionList_props===void 0?void 0:_collectionList_props.query){queryParent=collectionList;}else if(collectionList===null||collectionList===void 0?void 0:(_collectionList_props1=collectionList.props)===null||_collectionList_props1===void 0?void 0:(_collectionList_props_children=_collectionList_props1.children)===null||_collectionList_props_children===void 0?void 0:(_collectionList_props_children_props=_collectionList_props_children.props)===null||_collectionList_props_children_props===void 0?void 0:_collectionList_props_children_props.query){queryParent=collectionList.props.children;}else if(collectionList===null||collectionList===void 0?void 0:(_collectionList_props2=collectionList.props)===null||_collectionList_props2===void 0?void 0:(_collectionList_props_children1=_collectionList_props2.children)===null||_collectionList_props_children1===void 0?void 0:(_collectionList_props_children_props1=_collectionList_props_children1.props)===null||_collectionList_props_children_props1===void 0?void 0:(_collectionList_props_children_props_children=_collectionList_props_children_props1.children)===null||_collectionList_props_children_props_children===void 0?void 0:(_collectionList_props_children_props_children_props=_collectionList_props_children_props_children.props)===null||_collectionList_props_children_props_children_props===void 0?void 0:_collectionList_props_children_props_children_props.query){queryParent=collectionList.props.children.props.children;}const query=queryParent===null||queryParent===void 0?void 0:(_queryParent_props=queryParent.props)===null||_queryParent_props===void 0?void 0:_queryParent_props.query;const from=query===null||query===void 0?void 0:query.from;let collections=[];if(from){if(from.type===\"Collection\"){collections.push(from);}else if(from.type===\"LeftJoin\"){processJoin(from.left,collections);processJoin(from.right,collections);}}const select=query===null||query===void 0?void 0:query.select;if(collections.length>1&&Array.isArray(select)){for(const field of select){if(field.type==\"Identifier\"&&field.name==\"id\"&&!field.alias){const mainCollection=collections.find(c=>c.alias==field.collection);if(mainCollection){collections=[mainCollection,...collections.filter(c=>c!==mainCollection)];}break;}}}const multiReferenceQueries={};const multiReferenceIdMap={};// Get collections from multi-reference fields\nif(Array.isArray(select)){for(const field of select){if(field.type===\"FunctionCall\"&&(field.functionName===\"ARRAY\"||field.functionName===\"FLAT_ARRAY\")&&Array.isArray(field.arguments)){for(const argument of field.arguments){var _argument_from;if(((_argument_from=argument.from)===null||_argument_from===void 0?void 0:_argument_from.type)===\"Collection\"){var _argument_where;const alias=argument.from.alias;let fieldId=alias;const right=(_argument_where=argument.where)===null||_argument_where===void 0?void 0:_argument_where.right;if(right&&right.type===\"Identifier\"&&right.name){fieldId=right.name;}collections.push({...argument.from,fieldId});multiReferenceIdMap[fieldId]=alias;multiReferenceIdMap[alias]=alias;multiReferenceQueries[alias]=argument;}}}}}let queryData=(_collections_=collections[0])===null||_collections_===void 0?void 0:_collections_.data;const propertyControlsById={};const propertyControlsByTitle={};for(const collection of collections){var _collection_data;const byId={};const byName={};propertyControlsById[collection.alias]=byId;propertyControlsByTitle[collection.alias]=byName;const propertyControls=(_collection_data=collection.data)===null||_collection_data===void 0?void 0:_collection_data.propertyControls;for(const id of Object.keys(propertyControls)){const control={id,...propertyControls[id]};byId[id]=control;byName[control.title]=control;}}// Get children function\nlet childrenFunction=null;if(collectionList){var _collectionList_props3,_clpc_props,_clpc_props_children_props,_clpc_props_children,_clpc_props1;const clpc=(_collectionList_props3=collectionList.props)===null||_collectionList_props3===void 0?void 0:_collectionList_props3.children;if(typeof clpc==\"function\"){childrenFunction=clpc;}else if(typeof(clpc===null||clpc===void 0?void 0:(_clpc_props=clpc.props)===null||_clpc_props===void 0?void 0:_clpc_props.children)==\"function\"){childrenFunction=clpc.props.children;}else if(typeof(clpc===null||clpc===void 0?void 0:(_clpc_props1=clpc.props)===null||_clpc_props1===void 0?void 0:(_clpc_props_children=_clpc_props1.children)===null||_clpc_props_children===void 0?void 0:(_clpc_props_children_props=_clpc_props_children.props)===null||_clpc_props_children_props===void 0?void 0:_clpc_props_children_props.children)==\"function\"){childrenFunction=clpc.props.children.props.children;}}return{query,queryParent,queryData,collections,propertyControlsById,propertyControlsByTitle,childrenFunction,multiReferenceQueries,multiReferenceIdMap};}function processJoin(join,collections){if(join&&typeof join===\"object\"){if(join.type===\"Collection\"){collections.push(join);}else if(join.type===\"LeftJoin\"){processJoin(join.left,collections);processJoin(join.right,collections);}}}// field: { name: string, referenceFieldName: string }\nexport function addFieldsToSelect(fields,query,propertyControlsByTitle,collections){const select=Array.isArray(query===null||query===void 0?void 0:query.select)?[...query.select]:[];for(const field of fields){const selectItem=getSelectItemForField(field.name,field.referenceFieldName,query,propertyControlsByTitle,collections,select);if(selectItem){select.push(selectItem);}}return select;}export function getSelectItemForField(name,referenceFieldName,query,propertyControlsByTitle,collections,select=null// When there is a select, check for a matching existing select item\n){var _collections_,_propertyControlsByTitle_mainAlias,_propertyControlsByTitle_fieldId;// const mainAlias = query?.from?.alias || \"\"\nconst mainAlias=((_collections_=collections[0])===null||_collections_===void 0?void 0:_collections_.alias)||\"\";const propertyControl=(_propertyControlsByTitle_mainAlias=propertyControlsByTitle[mainAlias])===null||_propertyControlsByTitle_mainAlias===void 0?void 0:_propertyControlsByTitle_mainAlias[name];if(!propertyControl){return null;}const fieldId=propertyControl===null||propertyControl===void 0?void 0:propertyControl.id;const alias=referenceFieldName?fieldId:mainAlias;const referencedField=referenceFieldName?(_propertyControlsByTitle_fieldId=propertyControlsByTitle[fieldId])===null||_propertyControlsByTitle_fieldId===void 0?void 0:_propertyControlsByTitle_fieldId[referenceFieldName]:null;if(select){let matchFound=false;for(const item of select){if(item.type===\"Identifier\"){if(referenceFieldName){if(referencedField&&item.alias===`${fieldId}.${referencedField.id}`&&item.collection===fieldId&&item.name===referencedField.id){matchFound=true;break;}}else{if(item.name===fieldId&&item.collection===alias){matchFound=true;break;}}}else if(item.type===\"FunctionCall\"){if(item.alias===fieldId){matchFound=true;break;}}}if(matchFound){return null;}}if(referenceFieldName){if(referencedField){return{alias:`${fieldId}.${referencedField.id}`,collection:fieldId,name:referencedField.id,type:\"Identifier\"};}}else{return{collection:alias,name:fieldId,type:\"Identifier\"};}}\nexport const __FramerMetadata__ = {\"exports\":{\"getCollectionData\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addFieldsToSelect\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getSelectItemForField\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CMSLibrary.map","// Code from Nikolay Goncharuk on GitHub:\n// https://github.com/GoncharukBro/react-smart-masonry/blob/master/src/Masonry.tsx\n// https://github.com/GoncharukBro/react-smart-masonry/blob/master/src/useResize.ts\n//\n// Modified by Isaac Roberts for Superfields\n// https://superfields.io\n//\n// Copyright (c) 2021 Nikolay Goncharuk\n// MIT License\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useLayoutEffect,useEffect,useMemo,useRef,Children,isValidElement}from\"react\";const DEFAULT_COLUMNS=1;const DEFAULT_GAP=0;export default function Masonry({breakpoints,columns=DEFAULT_COLUMNS,gapH=DEFAULT_GAP,gapV=DEFAULT_GAP,reverse=false,autoArrange=false,alignment=\"center\",children,style,...otherProps},forwardedRef){const elements=useRef([]);const previousLayout=useRef([]);const[arrange,setArrange]=useState(false);const[layoutVersion,setLayoutVersion]=useState(0);const resizeObservers=useRef(new Map);const updateTimeoutRef=useRef(null);const earliestChangedIndex=useRef(null);// Replace image load handler with resize observer handler\nconst handleElementResize=element=>{if(!resizeObservers.current.has(element)){let lastUpdatedHeight=element.offsetHeight;const observer=new ResizeObserver(entries=>{const entry=entries[0];const newHeight=entry.target.offsetHeight;if(newHeight!==lastUpdatedHeight&&Math.abs(newHeight-lastUpdatedHeight)>2){lastUpdatedHeight=newHeight;// Find the index of the changed element\nconst changedIndex=elements.current.findIndex(el=>el.element===element);// Update earliest changed index\nif(earliestChangedIndex.current===null){earliestChangedIndex.current=changedIndex;}else{earliestChangedIndex.current=Math.min(earliestChangedIndex.current,changedIndex);}// Only set timeout if one isn't already running\nif(!updateTimeoutRef.current){const delay=layoutVersion===0?10:200// 10ms for first update, 200ms for subsequent\n;updateTimeoutRef.current=setTimeout(()=>{setLayoutVersion(v=>v+1);updateTimeoutRef.current=null;},delay);}}});observer.observe(element);resizeObservers.current.set(element,observer);}};const addElement=index=>element=>{if(element!==null){temporaryElements.push({element,index});elements.current=temporaryElements;handleElementResize(element);}};// Cleanup resize observers when component unmounts\nuseEffect(()=>{return()=>{resizeObservers.current.forEach(observer=>observer.disconnect());resizeObservers.current.clear();};},[]);// Clean up timeout on unmount\nuseEffect(()=>{return()=>{if(updateTimeoutRef.current){clearTimeout(updateTimeoutRef.current);}};},[]);useLayoutEffect(()=>{if(autoArrange&&!arrange)setArrange(true);if(autoArrange&&arrange)setLayoutVersion(v=>v+1);return()=>{if(autoArrange&&arrange)setArrange(false);};},[autoArrange]);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);var _earliestChangedIndex_current;// Use the ref directly instead of parsing from layoutVersion\nconst changedIndex=(_earliestChangedIndex_current=earliestChangedIndex.current)!==null&&_earliestChangedIndex_current!==void 0?_earliestChangedIndex_current:-1;const getColumnIndex=index=>{if(autoArrange&&arrange&&elements.current.length>0){// If we're after the changed element, find the shortest column\nif(changedIndex===-1||index>changedIndex){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)+gapV;return columnIndex;}else{// For elements before or at the changed index, use their current column\nconst element=elements.current.find(item=>item.index===index);if(element){const currentColumn=previousLayout.current.findIndex(col=>col.some(item=>item.index===index));if(currentColumn!==-1){const elementHeight=element.element.getBoundingClientRect().height;columnHeights[currentColumn]+=(elementHeight||0)+gapV;return currentColumn;}}// Fallback to default behavior if element not found\nconst columnIndex=columnHeights.findIndex(item=>{return item===Math.min(...columnHeights);});const elementHeight=element===null||element===void 0?void 0:element.element.getBoundingClientRect().height;columnHeights[columnIndex]+=(elementHeight||0)+gapV;return columnIndex;}}return index%columns;};arrayOfChildren.forEach((child,index)=>{if(child&&/*#__PURE__*/isValidElement(child)){newLayout[getColumnIndex(index)].push({element:child,index});}});// Store the new layout for next render\npreviousLayout.current=newLayout;return newLayout;},[layoutVersion,arrange,children,columns,reverse,autoArrange]);const temporaryElements=[];return /*#__PURE__*/_jsx(\"div\",{ref:forwardedRef,style:{display:\"flex\",gap:gapH,...style},...otherProps,children:layout.map((column,columnIndex)=>/*#__PURE__*/_jsx(\"div\",{style:{flex:1,display:\"flex\",flexDirection:\"column\",alignItems:alignment,gap:gapV},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","// https://ga.jspm.io/npm:zustand@3.7.0/esm/index.js\n// The only changes are changing default exports to regular export\n// to export multiple functions in one file.\nimport{useEffect as t,useLayoutEffect as e,useReducer as n,useRef as r,useDebugValue as c}from\"react\";function createStore(t){let e;const n=new Set;const setState=(t,r)=>{const c=\"function\"===typeof t?t(e):t;if(c!==e){const t=e;e=r?c:Object.assign({},e,c);n.forEach(n=>n(e,t));}};const getState=()=>e;const subscribeWithSelector=(t,r=getState,c=Object.is)=>{console.warn(\"[DEPRECATED] Please use `subscribeWithSelector` middleware\");let o=r(e);function listenerToAdd(){const n=r(e);if(!c(o,n)){const e=o;t(o=n,e);}}n.add(listenerToAdd);return()=>n.delete(listenerToAdd);};const subscribe=(t,e,r)=>{if(e||r)return subscribeWithSelector(t,e,r);n.add(t);return()=>n.delete(t);};const destroy=()=>n.clear();const r={setState:setState,getState:getState,subscribe:subscribe,destroy:destroy};e=t(setState,getState,r);return r;}const o=\"undefined\"===typeof window||!window.navigator||/ServerSideRendering|^Deno\\//.test(window.navigator.userAgent);const s=o?t:e;export function create(t){const e=\"function\"===typeof t?createStore(t):t;const useStore=(t=e.getState,o=Object.is)=>{const[,u]=n(t=>t+1,0);const i=e.getState();const a=r(i);const d=r(t);const l=r(o);const f=r(false);const S=r();void 0===S.current&&(S.current=t(i));let b;let g=false;if(a.current!==i||d.current!==t||l.current!==o||f.current){b=t(i);g=!o(S.current,b);}s(()=>{g&&(S.current=b);a.current=i;d.current=t;l.current=o;f.current=false;});const w=r(i);s(()=>{const listener=()=>{try{const t=e.getState();const n=d.current(t);if(!l.current(S.current,n)){a.current=t;S.current=n;u();}}catch(t){f.current=true;u();}};const t=e.subscribe(listener);e.getState()!==w.current&&listener();return t;},[]);const p=g?b:S.current;c(p);return p;};Object.assign(useStore,e);useStore[Symbol.iterator]=function(){console.warn(\"[useStore, api] = create() is deprecated and will be removed in v4\");const t=[useStore,e];return{next(){const e=t.length<=0;return{value:t.shift(),done:e};}};};return useStore;}// https://ga.jspm.io/npm:zustand@3.7.0/esm/shallow.js\nexport function shallow(e,t){if(Object.is(e,t))return true;if(\"object\"!==typeof e||null===e||\"object\"!==typeof t||null===t)return false;const l=Object.keys(e);if(l.length!==Object.keys(t).length)return false;for(let r=0;r<l.length;r++)if(!Object.prototype.hasOwnProperty.call(t,l[r])||!Object.is(e[l[r]],t[l[r]]))return false;return true;}\nexport const __FramerMetadata__ = {\"exports\":{\"create\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"shallow\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./zustand.map","import{create,shallow}from\"https://framerusercontent.com/modules/XPZpWLgM1p9otlAim6ab/2EM1XAFs06y2ux1V0qay/zustand.js\";import{useRef,useTransition,useMemo,useEffect}from\"react\";// Create a function to generate the initial state\nconst createInitialState=()=>({totalItems:0,filters:{},randomizationSeed:null,search:\"\",sortOption:null,defaultSortOption:null,sortingUrlParameter:null,page:0,itemsPerPage:0,paginationType:null,paginationActive:false});const useBaseStore=create((set,get)=>({instances:{},getState:id=>{var _get_instances_path;const path=getCurrentPath();const state=(_get_instances_path=get().instances[path])===null||_get_instances_path===void 0?void 0:_get_instances_path[id];return state||createInitialState();},setState:(id,updates)=>{const path=getCurrentPath();set(state=>({instances:{...state.instances,[path]:{...state.instances[path],[id]:{...state.getState(id),...updates}}}}));},// Example of how to update a specific state property\n    setTotalItems:(id,totalItems)=>{get().setState(id,{totalItems});},setFilterValue:(id,fieldName,value)=>{const currentFilters=get().getState(id).filters;get().setState(id,{filters:{...currentFilters,[fieldName]:{...currentFilters[fieldName],value}}});},setRandomizationSeed:(id,randomizationSeed)=>{get().setState(id,{randomizationSeed});},setSearch:(id,search)=>{get().setState(id,{search});},setSortOption:(id,sortOption)=>{get().setState(id,{sortOption});},setPage:(id,page)=>{get().setState(id,{page});}}));const useSuperfieldsStore=(id,selector,initialize=null)=>{const initializedRef=useRef(false);const[_,startTransition]=useTransition();// Memoize the function wrappers\nconst memoizedFunctions=useMemo(()=>{const functions={};const state=useBaseStore.getState();for(const key in state){const value=state[key];if(typeof value===\"function\"){if(key.startsWith(\"set\")){functions[key]=(...args)=>{if(typeof window!==\"undefined\"){startTransition(()=>value(id,...args));}else{value(id,...args);}};}else{functions[key]=(...args)=>value(id,...args);}}}return functions;},[id]);useEffect(()=>{if(initialize&&!initializedRef.current){const state=useBaseStore.getState();const currentState=state.getState(id);const initializedState={...currentState};initialize(initializedState);state.setState(id,initializedState);initializedRef.current=true;}},[]);return useBaseStore(state=>{var _state_instances_path;const path=getCurrentPath();if(!((_state_instances_path=state.instances[path])===null||_state_instances_path===void 0?void 0:_state_instances_path[id])){const initialState=createInitialState();state.setState(id,initialState);}let newState={...state.getState(id),...memoizedFunctions};return selector(newState);},shallow);};export default useSuperfieldsStore;const getCurrentPath=()=>{if(typeof window===\"undefined\"){return\"/\";}return window.location.pathname;};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","function assign(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var e={read:function(e){'\"'===e[0]&&(e=e.slice(1,-1));return e.replace(/(%[\\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function init(e,t){function set(n,r,i){if(\"undefined\"!==typeof document){i=assign({},t,i);\"number\"===typeof i.expires&&(i.expires=new Date(Date.now()+864e5*i.expires));i.expires&&(i.expires=i.expires.toUTCString());n=encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o=\"\";for(var c in i)if(i[c]){o+=\"; \"+c;true!==i[c]&&(o+=\"=\"+i[c].split(\";\")[0])}return document.cookie=n+\"=\"+e.write(r,n)+o}}function get(t){if(\"undefined\"!==typeof document&&(!arguments.length||t)){var n=document.cookie?document.cookie.split(\"; \"):[];var r={};for(var i=0;i<n.length;i++){var o=n[i].split(\"=\");var c=o.slice(1).join(\"=\");try{var a=decodeURIComponent(o[0]);r[a]=e.read(c,a);if(t===a)break}catch(e){}}return t?r[t]:r}}return Object.create({set:set,get:get,remove:function(e,t){set(e,\"\",assign({},t,{expires:-1}))},withAttributes:function(e){return init(this.converter,assign({},this.attributes,e))},withConverter:function(e){return init(assign({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var t=init(e,{path:\"/\"});export{t as default};\n\n//# sourceMappingURL=js.cookie.mjs.map","import{create}from\"https://framerusercontent.com/modules/XPZpWLgM1p9otlAim6ab/2EM1XAFs06y2ux1V0qay/zustand.js\";import Cookies from\"js-cookie\";const useBaseStore=create((set,get)=>({collections:{},getFavourites:slugFieldId=>{const state=get().collections[slugFieldId];return state||[];},setFavourites:(slugFieldId,favourites)=>{set(state=>({collections:{...state.collections,[slugFieldId]:favourites}}));Cookies.set(`superfieldsFavourites_${slugFieldId}`,favourites);},addFavourite:(slugFieldId,favourite)=>{const currentFavourites=get().getFavourites(slugFieldId);get().setFavourites(slugFieldId,[...currentFavourites,favourite]);},removeFavourite:(slugFieldId,favouriteToRemove)=>{const currentFavourites=get().getFavourites(slugFieldId);get().setFavourites(slugFieldId,currentFavourites.filter(fav=>fav!==favouriteToRemove));}}));const useFavouriteStore=(slugFieldId,selector,cmsCollectionName=null)=>{return useBaseStore(state=>{let newState={favourites:state.getFavourites(slugFieldId)};if(!Array.isArray(state.collections[slugFieldId])){// Load favourites from cookies\ntry{const cookieId=`superfieldsFavourites_${slugFieldId}`;let savedState=Cookies.get(cookieId);if(!savedState&&cmsCollectionName){const cmsNameCookieId=`superfieldsFavourites_${cmsCollectionName}`;savedState=Cookies.get(cmsNameCookieId);if(savedState){Cookies.set(cookieId,savedState);Cookies.remove(cmsNameCookieId);}}if(savedState){const savedFavourites=savedState.split(\",\");state.setFavourites(slugFieldId,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(slugFieldId,...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,// @ts-ignore\nPathVariablesContext}from\"framer\";import{cloneElement,useEffect,useRef,useMemo,memo}from\"react\";import{Message,sortingControls,FAVOURITES_FILTER_ID,DELIMITER,FieldType,FilterFieldType,FilterTextCondition,DEFAULT_SORTING_ID}from\"https://framerusercontent.com/modules/FZjYlw33eNo8pxLbSFLX/ICC3kQB0rIHwdyJxFwc3/SuperfieldsShared.js\";import{getCollectionData,addFieldsToSelect}from\"https://framerusercontent.com/modules/PNm0aYRdp2Urx1MCseUn/hIJKk8W2vTfMTpPmM6YJ/CMSLibrary.js\";import Masonry from\"https://framerusercontent.com/modules/JfW6EfEeJnrqM1YQCYmc/GJijJu4WrREqn6Sg1VOH/Masonry.js\";import useSuperfieldsStore from\"https://framerusercontent.com/modules/OoGHZMzWDzm2mNN7bmeR/CVdUSqwHRYYoh8nXLjx5/Store.js\";import useFavouriteStore from\"https://framerusercontent.com/modules/c1jaZMVo1HBulMCJfZHW/4SCjOKih77grfiVkVrTg/FavouriteStore.js\";const fieldTypeNames={[FieldType.String]:\"Text\",[FieldType.Number]:\"Number\",[FieldType.Date]:\"Date\",[FieldType.Boolean]:\"Toggle\",[FieldType.Enum]:\"Option\"};var Order;(function(Order){Order[\"Ascending\"]=\"ascending\";Order[\"Descending\"]=\"descending\";})(Order||(Order={}));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={}));var SearchFieldType;(function(SearchFieldType){SearchFieldType[\"Default\"]=\"default\";SearchFieldType[\"Reference\"]=\"reference\";})(SearchFieldType||(SearchFieldType={}));/**\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,_mainPropertyControlsByTitle_,_filters_FAVOURITES_FILTER_ID,_collectionList_props,_collectionList_props1;const{superfieldsId,layout,componentConfig,cmsCollectionName,favouritesOnly,searchFields,sortingField,urlParameters,slugFieldName,scrollUp,customOverrideFilter=null,customOverrideSort=null}=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(-1);const isFirstRender=useRef(true);const{query,queryParent,propertyControlsById,propertyControlsByTitle,childrenFunction,collections,multiReferenceQueries,multiReferenceIdMap}=useMemo(()=>getCollectionData(collectionList),[collectionList]);const mainCollection=collections[0];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 randomize=props.randomize||(randomizationSeed?true:false);const mainAlias=mainCollection===null||mainCollection===void 0?void 0:mainCollection.alias;const mainPropertyControlsByTitle=propertyControlsByTitle[mainAlias]||{};const mainPropertyControlsById=propertyControlsById[mainAlias]||{};const slugFieldId=(_mainPropertyControlsByTitle_=mainPropertyControlsByTitle[slugFieldName||\"Slug\"])===null||_mainPropertyControlsByTitle_===void 0?void 0:_mainPropertyControlsByTitle_.id;const filterIds=Object.keys(filters);let sort=props.sorting?sortingField:null;if(sortOption&&sortOption.id!==DEFAULT_SORTING_ID){sort=sortOption;}const favourites=useFavouriteStore(slugFieldId,state=>state.favourites,cmsCollectionName);const select=useMemo(()=>{return modifySelect(query,filters,props.search,searchFields,sort,propertyControlsByTitle,collections);},[query,filters,props.search,searchFields,sort===null||sort===void 0?void 0:sort.sortBy,sort===null||sort===void 0?void 0:sort.fieldName]);const multiReferenceSelects=useMemo(()=>{const selects={};for(const alias of Object.keys(multiReferenceQueries)){// const cmsFieldsForCollection = []\n// for (const fieldId of Object.keys(mainPropertyControlsById)) {\n//     const field = mainPropertyControlsById[fieldId]\n//     // if (field?.title)\n// }\nlet cmsField=mainPropertyControlsById[alias];if(!cmsField){for(const key of Object.keys(multiReferenceIdMap)){if(multiReferenceIdMap[key]===alias){cmsField=mainPropertyControlsById[key];break;}}}if(cmsField){const fieldTitle=cmsField.title;const referenceSearchFields=[];for(const searchField of searchFields){if(searchField.fieldType===\"reference\"&&searchField.fieldName===fieldTitle){referenceSearchFields.push({fieldName:searchField.referenceFieldName,fieldType:\"default\"});}}const referenceFilters={};for(const filterId of Object.keys(filters)){const filter=filters[filterId];if(filter.fieldType===FilterFieldType.MultiReference&&filter.fieldName===fieldTitle){referenceFilters[filterId]={...filter,fieldName:filter.referenceFieldName,fieldType:filter.referenceFieldType,referenceFieldName:undefined,referenceFieldType:undefined};}}selects[alias]=modifySelect(multiReferenceQueries[alias],referenceFilters,props.search,referenceSearchFields,null,propertyControlsByTitle,collections);}else{const rQuery=multiReferenceQueries[alias];if(rQuery){selects[alias]=rQuery.select;}}}return selects;},[multiReferenceQueries,filters,props.search,searchFields]);const originalData=query?useQueryData({...query,select}):[];const multiReferenceItemsById={};for(const fieldId of Object.keys(multiReferenceQueries)){const refSelect=multiReferenceSelects[fieldId];const refQuery=multiReferenceQueries[fieldId];const refDataItemsById={};if(select&&query){const refData=useQueryData({...refQuery,select:refSelect,where:undefined,orderBy:undefined});for(const item of refData){refDataItemsById[item.id]=item;}}multiReferenceItemsById[fieldId]=refDataItemsById;}const data=mapCollectionDataValues(originalData,propertyControlsById[mainAlias],multiReferenceItemsById,multiReferenceIdMap);const dataIds=originalData.map(item=>item.id);const dataItemsById={};if(!isCanvas&&Array.isArray(data)){for(const item of data){dataItemsById[item.id]=item;}}const scrollToTop=()=>{if(scrollUp&&scrollUpRef.current&&!isOptimizing&&!isCanvas){const rect=scrollUpRef.current.getBoundingClientRect();const topIsInView=rect.top>=0&&rect.top<=window.innerHeight;if(!topIsInView){scrollUpRef.current.scrollIntoView({behavior:scrollUp.scrollStyle});}}};useEffect(()=>{if(isFirstRender.current){return;}if(scrollUp&&(scrollUp.filteringEnabled&&filterIds.length>0||scrollUp.sortingEnabled&&(sort===null||sort===void 0?void 0:sort.sortBy)!==\"defaultSorting\")){scrollToTop();}},[filters,sort===null||sort===void 0?void 0:sort.sortBy]);useEffect(()=>{if(isFirstRender.current){isFirstRender.current=false;return;}if(paginationActive&&scrollUp&&scrollUp.paginationEnabled&&paginationType==\"prevNextButtons\"){scrollToTop();}// 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 filterId of filterIds){const filter=filters[filterId];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||!filterIds.length){return dataIds;}let itemIds=dataIds;for(const filterId of filterIds){if(filterId==FAVOURITES_FILTER_ID){continue;}const filter=filters[filterId];const{fieldName,fieldType}=filter;const filterValue=filter.value;const conditionContains=(filter===null||filter===void 0?void 0:filter.condition)===FilterTextCondition.Contains;const fields=[];if(fieldType===FilterFieldType.MultipleOptions){for(const n of fieldName.split(DELIMITER)){const field=mainPropertyControlsByTitle[n.trim()];if(field){fields.push(field);}}}else if(fieldType===FilterFieldType.Reference||fieldType===FilterFieldType.MultiReference){const{referenceFieldName}=filter;const field=mainPropertyControlsByTitle[fieldName];const isMultiRef=(field===null||field===void 0?void 0:field.type)===\"multicollectionreference\";if(field&&(field.type===\"collectionreference\"||isMultiRef)){var _collection_data;const collection=collections.find(c=>c.alias===field.id||isMultiRef&&c.alias===multiReferenceIdMap[field.id]);const collectionPropControls=collection===null||collection===void 0?void 0:(_collection_data=collection.data)===null||_collection_data===void 0?void 0:_collection_data.propertyControls;if(collectionPropControls){let propertyControlId=null;let propertyControl=null;for(const propertyId of Object.keys(collectionPropControls)){const control=collectionPropControls[propertyId];if(control.title===referenceFieldName){propertyControlId=propertyId;propertyControl=control;break;}}if(propertyControl&&propertyControlId){if(isMultiRef){fields.push({...field,referenceAlias:multiReferenceIdMap[field.id],referenceId:propertyControlId,referenceType:propertyControl.type});}else{fields.push({id:`${field.id}.${propertyControlId}`,type:propertyControl.type});}}}}}else{const field=mainPropertyControlsByTitle[fieldName];if(field){fields.push(field);}}const isMultipleFields=fields.length>1;if(filter&&fields.length&&filterValue!=null&&filterValue!=undefined){const filteredData=[];for(const id of itemIds){let foundMatch=false;const dataItem=dataItemsById[id];if(isMultipleFields){for(const field of fields){if(processField(field,dataItem[field.id],filterValue,filter.multiSelect,conditionContains,multiReferenceItemsById)){foundMatch=true;break;}}}else{const field=fields[0];foundMatch=processField(field,dataItem[field.id],filterValue,filter.multiSelect,conditionContains,multiReferenceItemsById);}if(foundMatch){filteredData.push(id);}}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!==FieldType.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]);const customFilteredData=useMemo(()=>{if(!customOverrideFilter){return dataIds;}const value=customOverrideFilter({dataIds,dataItemsById,collections,propertyControlsById,propertyControlsByTitle});if(Array.isArray(value)){return value;}return dataIds;},[customOverrideFilter,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,hasSearch,missingSearchField]=useMemo(()=>{if(isCanvas||!searchText.length||!Array.isArray(data)){return[dataIds,false,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{fieldType,fieldName,referenceFieldName}=searchFields[i];const{property}=getPropertyControl(fieldName,fieldType,referenceFieldName,null,propertyControlsByTitle,mainAlias,\"Title\");if(!property){missingFieldName=fieldName;break;}const propertyID=property.id;const propertyType=property.type;const propIsString=propertyType==FieldType.String||propertyType==FieldType.Enum;const propIsNumber=propertyType==FieldType.Number;const propIsMultiReference=propertyType==\"multicollectionreference\";for(const ii in data){const cmsItem=data[ii];let level=0;if(propIsMultiReference){var _dataItemsById_cmsItem_id;const items=(_dataItemsById_cmsItem_id=dataItemsById[cmsItem.id])===null||_dataItemsById_cmsItem_id===void 0?void 0:_dataItemsById_cmsItem_id[propertyID];const alias=multiReferenceIdMap[property.id];const propertyControls=propertyControlsByTitle[alias];if(propertyControls&&typeof propertyControls===\"object\"&&Array.isArray(items)){const rPropertyControl=propertyControls[referenceFieldName||\"Title\"];const propId=rPropertyControl===null||rPropertyControl===void 0?void 0:rPropertyControl.id;if(propId){for(const rItem of items){if(rItem){const rValue=rItem[propId];level=Math.max(level,getSearchLevelForValue(rValue,searchText));}}}}}else{var _dataItemsById_cmsItem_id1;const value=(_dataItemsById_cmsItem_id1=dataItemsById[cmsItem.id])===null||_dataItemsById_cmsItem_id1===void 0?void 0:_dataItemsById_cmsItem_id1[propertyID];level=getSearchLevelForValue(value,searchText);}// 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;}}}if(missingFieldName){return[dataIds,false,missingFieldName];}return[[...levels[4],...levels[3],...levels[2],...levels[1]],true,missingFieldName];},[searchText,data,searchFields]);// Pagination, randomization and sorting are applied after filtering and search\nlet itemIds=searchData.filter(itemId=>filteredData.includes(itemId)&&favouriteFilteredData.includes(itemId)&&customFilteredData.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&&!hasSearch&&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));}const canSort=!isCanvas&&!randomize&&!hasSearch;let missingSortField=\"\";let mismatchedSortFieldName=\"\";let mismatchedSortFieldType=\"\";if(canSort&&sort&&sort.sortBy!==\"defaultSorting\"){const{sortBy}=sort;const isReference=sort.fieldType===\"reference\";const fieldType=isReference?sort.referenceFieldType:sort.fieldType;const{property,mismatchedFieldName,mismatchedFieldType}=getPropertyControl(sort.fieldName,sort.fieldType,sort.referenceFieldName,sort.referenceFieldType,propertyControlsByTitle,mainAlias);if(mismatchedFieldName){mismatchedSortFieldName=mismatchedFieldName;mismatchedSortFieldType=mismatchedFieldType;}else{const fieldId=property===null||property===void 0?void 0:property.id;if(sortBy===\"field\"&&fieldId||sortBy===\"favourites\"&&slugFieldId){const isAscending=sortBy===\"favourites\"?sort.favouritesSort===\"favouritesLast\":fieldType===FieldType.String&&sort.stringSort===\"ascending\"||fieldType===FieldType.Number&&sort.numberSort===\"ascending\"||fieldType===FieldType.Date&&sort.dateSort===\"ascending\"||fieldType===FieldType.Boolean&&sort.booleanSort===\"noYes\"||fieldType===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 FieldType.Number:return Number(value);case FieldType.Date:return new Date(value).getTime();case FieldType.Boolean:return value?1:0;case FieldType.Enum:return sort.enumSort===\"optionOrder\"||sort.enumSort===\"reverseOptionOrder\"?property.optionTitles?property.optionTitles.indexOf(value):-1:String(value);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===FieldType.String||fieldType===FieldType.Enum&&(sort.enumSort===\"ascending\"||sort.enumSort===\"descending\")){comparison=aValue.localeCompare(bValue);}else{comparison=aValue<bValue?-1:aValue>bValue?1:0;}return isAscending?comparison:-comparison;});itemIds=sortedItemIds;}else{missingSortField=sort.fieldName;}}}if(canSort&&customOverrideSort){const value=customOverrideSort({itemIds,dataItemsById,collections,propertyControlsById,propertyControlsByTitle});if(Array.isArray(value)){itemIds=value;}}// 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 originalDataItemsById={};for(const item of originalData){originalDataItemsById[item.id]=item;}const items=itemIds.map(itemId=>originalDataItemsById[itemId]).filter(Boolean);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;};let children=null;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;}}const childrenSlugs=[];if(Array.isArray(children)){for(const child of children){var _child_props_child,_child_props;let slug=null;const id=(_child_props=child.props)===null||_child_props===void 0?void 0:(_child_props_child=_child_props.child)===null||_child_props_child===void 0?void 0:_child_props_child.key;if(id){var _dataItemsById_id;slug=(_dataItemsById_id=dataItemsById[id])===null||_dataItemsById_id===void 0?void 0:_dataItemsById_id[slugFieldId];}childrenSlugs.push(slug);}}return children.map((child,index)=>/*#__PURE__*/_jsx(PathVariablesContext.Provider,{value:{[slugFieldId]:childrenSlugs[index]||null},children:child}));},[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(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.`});}else if(mismatchedSortFieldName){return /*#__PURE__*/_jsx(Message,{title:`\"${mismatchedSortFieldName}\" is not a ${fieldTypeNames[mismatchedSortFieldType]||mismatchedSortFieldType} field.`,subtitle:\"Please update the Superfields sorting mode to match the field type on the CMS collection\"});}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&&scrollUp&&/*#__PURE__*/_jsx(\"div\",{ref:scrollUpRef,style:{position:\"absolute\",top: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\",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.\"}}},scrollUp:{type:ControlType.Object,optional:true,defaultValue:{scrollStyle:\"smooth\",offset:0},title:\"Scroll to Top\",description:\" \",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},paginationEnabled:{type:ControlType.Boolean,defaultValue:true,title:\"Pagination\"},filteringEnabled:{type:ControlType.Boolean,defaultValue:false,title:\"Filters\"},sortingEnabled:{type:ControlType.Boolean,defaultValue:false,title:\"Sorting\",description:\"Scroll to the top of the Superfields component when page, filter, or sorting is changed.\"}}},// 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},filtering:{type:ControlType.Boolean,defaultValue:false},favouriting:{type:ControlType.Boolean,defaultValue:false},favouritesOnly:{type:ControlType.Boolean,defaultValue:false,hidden:props=>!props.favouriting},search:{type:ControlType.Boolean,defaultValue:false},searchFields:{type:ControlType.Array,defaultValue:[{fieldType:\"default\",fieldName:\"Title\"}],title:\"Fields\",control:{type:ControlType.Object,controls:{fieldType:{type:ControlType.Enum,defaultValue:\"default\",options:[\"reference\",\"default\"],optionTitles:[\"Yes\",\"No\"],displaySegmentedControl:true,title:\"Reference\"},fieldName:{type:ControlType.String,defaultValue:\"Title\",placeholder:\"CMS Field Name\",preventLocalization:true},referenceFieldName:{type:ControlType.String,defaultValue:\"\",placeholder:\"CMS Field Name\",preventLocalization:true,hidden:props=>props.fieldType!==\"reference\"}}},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},cmsCollectionName:{type:ControlType.String,defaultValue:\"\",preventLocalization:true,hidden:props=>true}});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;}function getPropertyControl(fieldName,fieldType,referenceFieldName,referenceFieldType,propertyControlsByTitle,mainAlias,defaultReferencePropertyTitle=\"\"){var _propertyControlsByTitle_mainAlias;let property=((_propertyControlsByTitle_mainAlias=propertyControlsByTitle[mainAlias])===null||_propertyControlsByTitle_mainAlias===void 0?void 0:_propertyControlsByTitle_mainAlias[fieldName])||null;let mismatchedFieldName=\"\";let mismatchedFieldType=\"\";if(property){if(property.type===\"collectionreference\"){const alias=property.id;const propertyControls=propertyControlsByTitle[alias];if(propertyControls){const name=fieldType===\"reference\"?referenceFieldName:defaultReferencePropertyTitle;const control=propertyControls[name];if(control){if(referenceFieldType&&referenceFieldType!==control.type){mismatchedFieldName=fieldName;mismatchedFieldType=control.type;}else{property={...control,id:`${alias}.${control.id}`};}}}}else if(property.type!==fieldType){mismatchedFieldName=fieldName;mismatchedFieldType=fieldType;}}return{property,mismatchedFieldName,mismatchedFieldType};}function processField(field,fieldValue,filterValue,multiSelect,conditionContains,multiReferenceItemsById){if(field.type===\"multicollectionreference\"&&Array.isArray(fieldValue)){const rItems=multiReferenceItemsById[field.referenceAlias];for(const item of fieldValue){if(!item){continue;}const itemValue=item[field.referenceId];if(itemValue===null||itemValue===undefined){continue;}if(filterData(itemValue,filterValue,field.referenceType,multiSelect,conditionContains)){return true;}}}else{if(fieldValue===null||fieldValue===undefined){return false;}return filterData(fieldValue,filterValue,field.type,multiSelect,conditionContains);}return false;}function filterData(fieldValue,filterValue,fieldType,multiSelect,conditionContains){if(typeof filterValue==\"string\"&&multiSelect){const values=filterValue.split(DELIMITER);switch(fieldType){case FieldType.String:case FieldType.Enum:if(conditionContains){for(const v of values){if(fieldValue.includes(v)){return true;}}}else{if(values.includes(fieldValue)){return true;}}break;}}else{switch(fieldType){case FieldType.Boolean:if(fieldValue==filterValue){return true;}break;case FieldType.String:case FieldType.Enum:if(conditionContains){if(fieldValue===null||fieldValue===void 0?void 0:fieldValue.includes(filterValue)){return true;}}else{if(fieldValue==filterValue){return true;}}break;}}return false;}function modifySelect(query,filters,search,searchFields,sort,propertyControlsByTitle,collections){const filterIds=Object.keys(filters);const hasFilters=filterIds.length;if((query===null||query===void 0?void 0:query.select)&&(hasFilters||search||(sort===null||sort===void 0?void 0:sort.sortBy)===\"field\")){const fields=[];if(hasFilters){for(const filterId of filterIds){const filter=filters[filterId];if(filter.fieldType===FilterFieldType.MultipleOptions){for(const name of filter.fieldName.split(DELIMITER)){fields.push({name:name});}}else if(filter.fieldType===FilterFieldType.Reference){fields.push({name:filter.fieldName,referenceFieldName:filter.referenceFieldName});}else{fields.push({name:filter.fieldName});}}}for(const field of searchFields){if(field.fieldType===\"reference\"){fields.push({name:field.fieldName,referenceFieldName:field.referenceFieldName});}else{fields.push({name:field.fieldName});}}if(sort&&sort.sortBy===\"field\"){fields.push({name:sort.fieldName});}// Deduplicate fields\nconst uniqueFields=[];for(const field of fields){if(!uniqueFields.some(f=>f.name===field.name&&f.referenceFieldName===field.referenceFieldName)){uniqueFields.push(field);}}return addFieldsToSelect(uniqueFields,query,propertyControlsByTitle,collections);}return query===null||query===void 0?void 0:query.select;}function mapCollectionDataValues(items,propertyControlsById,multiReferenceItemsById,multiReferenceIdMap){if(!Array.isArray(items)||typeof propertyControlsById!==\"object\"||typeof multiReferenceItemsById!==\"object\"){return items// Return the original array if inputs are invalid\n;}// Create a shallow copy of the items array\nconst copiedItems=items.map(item=>({...item}));for(const propertyId of Object.keys(propertyControlsById)){const property=propertyControlsById[propertyId];if(property.type===\"enum\"){const optionMap={};if(property.options&&property.optionTitles){for(let i=0;i<property.options.length;i++){optionMap[property.options[i]]=property.optionTitles[i];}}for(const item of copiedItems){if(item[propertyId]){item[propertyId]=optionMap[item[propertyId]]||\"\";}}}else if(property.type===\"multicollectionreference\"){const alias=multiReferenceIdMap[propertyId];const referenceItemsById=multiReferenceItemsById[alias];if(referenceItemsById){for(const item of copiedItems){const referenceItems=item[alias];const newItemValues=[];if(Array.isArray(referenceItems)){for(const item of referenceItems){if(typeof item===\"string\"){newItemValues.push(referenceItemsById[item]);}else{newItemValues.push(item);}}}item[propertyId]=newItemValues;}}}}return copiedItems;}function getSearchLevelForValue(value,searchText){if(value==undefined||value==null){return 0;}const text=String(value).toLowerCase();if(text==searchText){return 4;}else if(text.includes(searchText)){if(text.startsWith(searchText)){return 3;}else if((\" \"+text+\" \").includes(\" \"+searchText+\" \")){return 2;}else{return 1;}}return 0;}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Superfields\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"600\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Superfields.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{buttonPropertyControls,Button,superfieldsId,useInstanceId}from\"https://framerusercontent.com/modules/FZjYlw33eNo8pxLbSFLX/ICC3kQB0rIHwdyJxFwc3/SuperfieldsShared.js\";import useSuperfieldsStore from\"https://framerusercontent.com/modules/OoGHZMzWDzm2mNN7bmeR/CVdUSqwHRYYoh8nXLjx5/Store.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export default function ResetFiltersButton(props){const{superfieldsId,border}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const id=useInstanceId();const[filters,search,setFilterValue,setSearch]=useSuperfieldsStore(superfieldsId,state=>[state.filters,state.search,state.setFilterValue,state.setSearch]);function onButtonClick(){var _props_click;if(props.resetFilters&&filters){for(const fieldName of Object.keys(filters)){var _filters_fieldName;setFilterValue(fieldName,(_filters_fieldName=filters[fieldName])===null||_filters_fieldName===void 0?void 0:_filters_fieldName.defaultValue);}}if(props.resetSearch&&search){setSearch(\"\");}(_props_click=props.click)===null||_props_click===void 0?void 0:_props_click.call(props);}let areFiltersActive=false;if(props.resetFilters&&filters){for(const fieldName of Object.keys(filters)){const filter=filters[fieldName];if(!filter){continue;}if(filter.value!==filter.defaultValue){areFiltersActive=true;break;}}}if(props.resetSearch&&search){areFiltersActive=true;}if(props.autoHide&&!areFiltersActive&&!isCanvas){return /*#__PURE__*/_jsx(\"style\",{id:id,dangerouslySetInnerHTML:{__html:`div:has(> #${id}) { display: none; }`}});}return /*#__PURE__*/_jsx(Button,{props:props,onClick:onButtonClick,onMouseEnter:props.hover});}ResetFiltersButton.displayName=\"Reset Filters Button\";addPropertyControls(ResetFiltersButton,{...superfieldsId(),resetFilters:{type:ControlType.Boolean,defaultValue:true},resetSearch:{type:ControlType.Boolean,defaultValue:true,description:\" \"},...buttonPropertyControls({text:\"Reset Filters\"}),autoHide:{type:ControlType.Boolean,defaultValue:false,description:\"Hide button when no filters/search are active\",title:\"Auto-Hide\"},click:{type:ControlType.EventHandler},hover:{type:ControlType.EventHandler}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ResetFiltersButton\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useRef,useEffect}from\"react\";import{Border,borderPropertyControl,fillProp,createBackground,superfieldsId,useInstanceId}from\"https://framerusercontent.com/modules/FZjYlw33eNo8pxLbSFLX/ICC3kQB0rIHwdyJxFwc3/SuperfieldsShared.js\";import useSuperfieldsStore from\"https://framerusercontent.com/modules/OoGHZMzWDzm2mNN7bmeR/CVdUSqwHRYYoh8nXLjx5/Store.js\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 500\n * @framerDisableUnlink\n */export default function SearchBar(props){const{superfieldsId,placeholderColor,searchIcon,xButton}=props;const id=useInstanceId();const inputRef=useRef(null);const[focused,setFocused]=useState(false);const[initialized,setInitialized]=useState(false);const[search,totalItems,setSearch]=useSuperfieldsStore(superfieldsId,state=>[state.search,state.totalItems,state.setSearch]);useEffect(()=>{setInitialized(true);},[]);function onXClick(){setSearch(\"\");}// Top, right, bottom, left\nconst paddingValues=parsePadding(props.padding);return /*#__PURE__*/_jsxs(\"div\",{\"data-superfields\":true,id:id,style:{position:\"relative\",...createBackground(props.fill),color:props.fontColor,borderRadius:props.radius,boxShadow:props.shadows,display:\"flex\",flexDirection:\"row\",alignItems:\"center\",padding:props.padding,gap:props.gap,cursor:\"text\",overflow:\"hidden\",...props.font,...props.style},onClick:()=>{var _inputRef_current;(_inputRef_current=inputRef.current)===null||_inputRef_current===void 0?void 0:_inputRef_current.focus();},children:[searchIcon&&/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:searchIcon.size,height:searchIcon.size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:searchIcon.color,\"stroke-width\":searchIcon.lineWidth,\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",style:{opacity:searchIcon.opacity,display:\"block\",pointerEvents:\"none\"},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M21 21l-6 -6\"})]}),/*#__PURE__*/_jsx(\"input\",{ref:inputRef,type:\"text\",style:{border:\"none\",color:props.fontColor,background:\"none\",...props.font,...props.style},placeholder:props.placeholderText.replace(\"[items]\",String(!initialized||!totalItems?0:totalItems)),autoFocus:props.autoFocus,value:search!==null&&search!==void 0?search:\"\",onChange:event=>{setSearch(event.target.value);},onFocus:()=>setFocused(true),onBlur:()=>setFocused(false)}),search&&initialized&&xButton&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:xButton.size,display:\"flex\",alignItems:\"center\",alignSelf:\"stretch\"},children:[/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:xButton.size,height:xButton.size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:xButton.color,\"stroke-width\":xButton.lineWidth,\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",style:{display:\"block\",opacity:xButton.opacity},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M18 6l-12 12\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M6 6l12 12\"})]}),/*#__PURE__*/_jsx(\"button\",{style:{position:\"absolute\",left:-props.gap,top:-paddingValues[0],right:-paddingValues[1],bottom:-paddingValues[2],cursor:\"pointer\",background:\"none\",border:\"none\"},onClick:onXClick,onFocus:()=>setFocused(true),onBlur:()=>setFocused(false)})]}),/*#__PURE__*/_jsx(Border,{...props.border}),/*#__PURE__*/_jsx(Border,{...props.focus,animate:{opacity:focused?1:0}}),/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`\n                        #${id} input::placeholder { color: ${placeholderColor}; user-select: none; }\n                        #${id} input::-webkit-input-placeholder { color: ${placeholderColor}; user-select: none; }\n                        #${id} input::-moz-placeholder { color: ${placeholderColor}; user-select: none; }\n                        #${id} input:-ms-input-placeholder { color: ${placeholderColor}; user-select: none; }\n                        #${id} input:-moz-placeholder { color: ${placeholderColor}; user-select: none; }\n                        #${id} input:focus { outline: none; }`}})]});}SearchBar.displayName=\"Search Bar\";addPropertyControls(SearchBar,{...superfieldsId(),placeholderText:{type:ControlType.String,defaultValue:\"Search [items] items...\",title:\"Placeholder\",description:\"*[items]*: number of CMS items\"},autoFocus:{type:ControlType.Boolean,defaultValue:false,title:\"Auto-Focus\"},fill:fillProp({color:\"#EFEFEF\"}),fontColor:{type:ControlType.Color,defaultValue:\"#000\"},placeholderColor:{type:ControlType.Color,defaultValue:\"rgba(0, 0, 0, 0.5)\"},font:{type:ControlType.Font,controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:14,lineHeight:1.4}},searchIcon:{type:ControlType.Object,optional:true,defaultValue:{color:\"$000\",size:16,lineWidth:2.5,opacity:.5},controls:{color:{type:ControlType.Color,defaultValue:\"$000\"},size:{type:ControlType.Number,defaultValue:16,min:1,step:1},lineWidth:{type:ControlType.Number,defaultValue:2.5,min:.1,max:5,step:.1},opacity:{type:ControlType.Number,defaultValue:1,min:0,max:1,step:.01}}},xButton:{type:ControlType.Object,optional:true,defaultValue:{color:\"#000\",size:14,lineWidth:2.5,opacity:.5},controls:{color:{type:ControlType.Color,defaultValue:\"#000\"},size:{type:ControlType.Number,defaultValue:14,min:1,step:1},lineWidth:{type:ControlType.Number,defaultValue:2.5,min:.1,max:5,step:.1},opacity:{type:ControlType.Number,defaultValue:.5,min:0,max:1,step:.01}}},gap:{type:ControlType.Number,defaultValue:8,min:0,step:1},padding:{type:ControlType.Padding,defaultValue:\"8px 12px 8px 12px\"},radius:{type:ControlType.BorderRadius,defaultValue:\"8px\"},border:borderPropertyControl(),shadows:{type:ControlType.BoxShadow},focus:{type:ControlType.Object,optional:true,defaultValue:{color:\"#0075FF\",width:2,style:\"solid\"},buttonTitle:\"Border\",controls:{color:{type:ControlType.Color,defaultValue:\"#0075FF\",title:\"Color\"},width:{type:ControlType.FusedNumber,defaultValue:2,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\"]},transition:{type:ControlType.Transition,defaultValue:{type:\"spring\",duration:.2,bounce:0}}}}});function parsePadding(padding){// Split the input string by spaces and convert each to an integer\nconst values=padding.trim().split(/\\s+/).map(val=>parseInt(val,10));// If only one value is provided, replicate it four times\nif(values.length===1){return[values[0],values[0],values[0],values[0]];}else if(values.length===4){return values;}else{throw new Error(\"Invalid padding input. Provide either one or four padding values.\");}}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SearchBar\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"500\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{motion}from\"framer-motion\";import{borderPropertyControl,Border,fillProp,createBackground,superfieldsId,useInstanceId,calculateTotalPages}from\"https://framerusercontent.com/modules/FZjYlw33eNo8pxLbSFLX/ICC3kQB0rIHwdyJxFwc3/SuperfieldsShared.js\";import useSuperfieldsStore from\"https://framerusercontent.com/modules/OoGHZMzWDzm2mNN7bmeR/CVdUSqwHRYYoh8nXLjx5/Store.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export default function PaginationButtons(props){var _props_font;const{superfieldsId,type,border,disabled,hover,transition}=props;const id=useInstanceId();const isCanvas=RenderTarget.current()===RenderTarget.canvas;const[totalItems,page,itemsPerPage,setPage,paginationActive]=useSuperfieldsStore(superfieldsId,state=>[state.totalItems,state.page,state.itemsPerPage,state.setPage,state.paginationActive]);const totalPages=calculateTotalPages(totalItems,itemsPerPage);const borderRadius=props.radiusIsMixed?`${props.radiusTopLeft}px ${props.radiusTopRight}px ${props.radiusBottomRight}px ${props.radiusBottomLeft}px`:`${props.radius}px`;const baseAnimate={...createBackground(props.fill),color:props.fontColor,opacity:1};const buttonStyle={position:\"relative\",display:\"flex\",justifyContent:((_props_font=props.font)===null||_props_font===void 0?void 0:_props_font.textAlign)||\"center\",alignItems:\"center\",padding:props.paddingIsMixed?`${props.paddingTop}px ${props.paddingRight}px ${props.paddingBottom}px ${props.paddingLeft}px`:`${props.padding}px`,borderRadius,userSelect:\"none\",flex:props.sizing==\"fill\"?\"1 0 0\":undefined,boxShadow:props.shadows,cursor:\"pointer\",...props.font,...props.style};const disabledStyle={cursor:\"default\"};let disabledAnimate=baseAnimate;if(disabled.mode==\"show\"){var _disabled_fontColor;disabledAnimate={opacity:disabled.opacity,...createBackground(disabled.fill),color:(_disabled_fontColor=disabled.fontColor)!==null&&_disabled_fontColor!==void 0?_disabled_fontColor:baseAnimate.color};}else{if(disabled.preserveSpace){disabledStyle.visibility=\"hidden\";}else{disabledStyle.display=\"none\";}}let hoverStyle=hover?{...createBackground(hover.fill),scale:hover.scale,opacity:hover.opacity,rotate:hover.rotate,color:hover.fontColor}:{};const borderElement=border&&/*#__PURE__*/_jsx(Border,{...border,borderRadius:borderRadius});function onPrevNextButtonClick(isNext){if(paginationActive){const newPage=isNext?page+1:page-1;if(newPage>=0&&newPage<totalPages){setPage(newPage);}}}function onLoadMoreButtonClick(){if(paginationActive&&page+1<totalPages){setPage(page+1);}}function onLoadAllButtonClick(){if(paginationActive&&page+1<totalPages){setPage(totalPages-1);}}const buttons=[];switch(type){case\"prevNext\":const showPrev=isCanvas||!paginationActive||page>0;const showNext=isCanvas||!paginationActive||page<totalPages-1;buttons.push(/*#__PURE__*/_jsxs(motion.div,{whileHover:showPrev?hoverStyle:disabledAnimate,animate:showPrev?baseAnimate:{...baseAnimate,...disabledAnimate},style:{...buttonStyle,...!showPrev&&disabledStyle},onClick:()=>onPrevNextButtonClick(false),initial:false,transition:transition,children:[props.buttonContent==\"text\"?props.prevButtonText:arrowIcon(props.arrowIcons,false),borderElement]}));buttons.push(/*#__PURE__*/_jsxs(motion.div,{whileHover:showNext?hoverStyle:disabledAnimate,animate:showNext?baseAnimate:{...baseAnimate,...disabledAnimate},style:{...buttonStyle,...!showNext&&disabledStyle},onClick:()=>onPrevNextButtonClick(true),initial:false,transition:transition,children:[props.buttonContent==\"text\"?props.nextButtonText:arrowIcon(props.arrowIcons,true),borderElement]}));break;case\"loadMore\":case\"loadAll\":const showLoadMore=isCanvas||!paginationActive||page<totalPages-1;buttons.push(/*#__PURE__*/_jsxs(motion.div,{whileHover:showLoadMore?hoverStyle:disabledAnimate,animate:showLoadMore?baseAnimate:{...baseAnimate,...disabledAnimate},style:{...buttonStyle,...!showLoadMore&&disabledStyle},onClick:type==\"loadMore\"?onLoadMoreButtonClick:onLoadAllButtonClick,initial:false,transition:transition,children:[(type==\"loadMore\"?props.loadMoreButtonText:props.loadAllButtonText).replace(/\\[items\\]/g,Math.min((page+1)*itemsPerPage,totalItems)).replace(/\\[totalItems\\]/g,totalItems),borderElement,disabledStyle.display==\"none\"&&!showLoadMore&&/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`div:has(> #${id}) { display: none; }`}})]}));break;}return /*#__PURE__*/_jsx(\"div\",{\"data-superfields\":true,id:id,style:{display:\"flex\",flexDirection:\"row\",gap:props.gap,...props.style},children:buttons});}PaginationButtons.displayName=\"Pagination Buttons\";addPropertyControls(PaginationButtons,{...superfieldsId(),type:{type:ControlType.Enum,defaultValue:\"pagination\",options:[\"prevNext\",\"loadMore\",\"loadAll\"],optionTitles:[\"Prev/Next Buttons\",\"Load More Button\",\"Load All Button\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\"},buttonContent:{type:ControlType.Enum,defaultValue:\"text\",options:[\"text\",\"arrows\"],optionTitles:[\"Text\",\"Arrows\"],displaySegmentedControl:true,title:\"Content\",hidden:props=>props.type!=\"prevNext\"},prevButtonText:{type:ControlType.String,defaultValue:\"Previous\",title:\"Previous Text\",hidden:props=>props.buttonContent!=\"text\"||props.type!=\"prevNext\"},nextButtonText:{type:ControlType.String,defaultValue:\"Next\",title:\"Next Text\",hidden:props=>props.buttonContent!=\"text\"||props.type!=\"prevNext\"},loadMoreButtonText:{type:ControlType.String,defaultValue:\"Load More ([items] / [totalItems])\",displayTextArea:true,title:\"Button Text\",description:\"*[items]*: number of visible items\\n*[totalItems]*: total number of items\",hidden:props=>props.type!=\"loadMore\"},loadAllButtonText:{type:ControlType.String,defaultValue:\"Load All ([items] / [totalItems])\",displayTextArea:true,title:\"Button Text\",description:\"*[items]*: number of visible items\\n*[totalItems]*: total number of items\",hidden:props=>props.type!=\"loadAll\"},arrowIcons:{type:ControlType.Object,buttonTitle:\"Options\",controls:{color:{type:ControlType.Color,defaultValue:\"#FFF\"},size:{type:ControlType.Number,defaultValue:24,min:1,step:1},stroke:{type:ControlType.Number,defaultValue:2,min:.01,step:.01}},hidden:props=>props.type!=\"prevNext\"||props.buttonContent!=\"arrows\"},fill:fillProp({color:\"#000\",gradientColorA:\"#8C8C8C\",gradientColorB:\"#000\"}),fontColor:{type:ControlType.Color,defaultValue:\"#FFF\",hidden:props=>props.type==\"prevNext\"&&props.buttonContent==\"arrows\"},font:{type:\"font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:14,lineHeight:1.4},hidden:props=>props.type==\"prevNext\"&&props.buttonContent==\"arrows\"},padding:{type:ControlType.FusedNumber,defaultValue:12,toggleKey:\"paddingIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"paddingTop\",\"paddingRight\",\"paddingBottom\",\"paddingLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0},radius:{type:ControlType.FusedNumber,defaultValue:8,toggleKey:\"radiusIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"radiusTopLeft\",\"radiusTopRight\",\"radiusBottomRight\",\"radiusBottomLeft\"],valueLabels:[\"TL\",\"TR\",\"BR\",\"BL\"],min:0},gap:{type:ControlType.Number,defaultValue:10,min:0,hidden:props=>props.type!=\"prevNext\"},border:borderPropertyControl(),shadows:{type:ControlType.BoxShadow},hover:{type:ControlType.Object,buttonTitle:\"Style\",optional:true,icon:\"effect\",controls:{fill:fillProp({noDefault:true}),fontColor:{type:ControlType.Color,optional:true},opacity:{type:ControlType.Number,defaultValue:1,min:0,max:1,step:.01},scale:{type:ControlType.Number,defaultValue:1,min:.1,step:.01},rotate:{type:ControlType.Number,defaultValue:0,min:-360,max:360,step:1}}},disabled:{type:ControlType.Object,controls:{mode:{type:ControlType.Enum,defaultValue:\"hide\",options:[\"hide\",\"show\"],optionTitles:[\"Hide\",\"Show\"],displaySegmentedControl:true},preserveSpace:{type:ControlType.Boolean,defaultValue:false,description:\"Preserve the space where a disabled button would be while hidden.\",hidden:props=>props.mode!==\"hide\"},fill:fillProp({noDefault:true,hidden:props=>props.mode!==\"show\"}),fontColor:{type:ControlType.Color,optional:true,hidden:props=>props.mode!==\"show\"},opacity:{type:ControlType.Number,defaultValue:.5,min:0,max:1,step:.01,hidden:props=>props.mode!==\"show\"}}},transition:{type:ControlType.Transition,defaultValue:{type:\"spring\",duration:.2,bounce:0}}});function arrowIcon(props,right){return /*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:props.size,height:props.size,viewBox:\"0 0 24 24\",\"stroke-width\":props.stroke,stroke:props.color,fill:\"none\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",style:{display:\"block\",rotate:right?\"180deg\":undefined},children:/*#__PURE__*/_jsx(\"path\",{d:\"M15 6l-6 6l6 6\"})});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PaginationButtons\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"yWAEunG,SAAgB,GAAO,CAAC,QAAM,UAAQ,eAAa,MAAM,CAA8B,GAAG,EAAM,YAAY,SAAS,CAAoD,IAAI,EAA0B,EAAM,cAA2E,GAAS,EAAqB,EAAM,OAA2D,MAAY,EAAsB,EAAM,OAA2D,OAAyK,OAA/J,GAAO,EAAM,QAAQ,GAAO,KAAS,EAAmB,EAAa,EAAM,CAAC,MAAM,CAAC,GAAG,EAAM,MAAM,MAAM,GAAG,GAAO,CAAO,QAAM,CAAC,GAAG,GAAQ,CAAQ,SAAO,CAAC,CAAC,CAAC,EAAsB,EAAK,MAAM,CAAC,mBAAmB,GAAK,MAAM,CAAC,QAAQ,WAAW,CAAS,UAAQ,SAAS,EAAM,CAAC,CAAE,OAAoB,EAAM,MAAM,CAAC,mBAAmB,GAAa,UAAQ,MAAM,CAAC,SAAS,WAAW,QAAQ,OAAO,eAA6B,EAAM,MAAsD,WAAY,SAAS,WAAW,SAAS,GAAG,GAAiB,EAAM,K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