{"version":3,"file":"js.cookie.Bzz4RLDA.mjs","names":["useRef","useState","useMemo","Children","elementHeight","e","t","r","n","p","useRef","useTransition","useMemo","t","e"],"sources":["https:/framerusercontent.com/modules/PNm0aYRdp2Urx1MCseUn/ELGxjV92WFMoGKTv2Ojs/CMSLibrary.js","https:/framerusercontent.com/modules/JfW6EfEeJnrqM1YQCYmc/GJijJu4WrREqn6Sg1VOH/Masonry.js","https:/framerusercontent.com/modules/XPZpWLgM1p9otlAim6ab/YZGwyfuvWTDLYoiYQunH/zustand.js","https:/framerusercontent.com/modules/OoGHZMzWDzm2mNN7bmeR/UmOIjvpgKrLZznysVdbK/Store.js","https:/ga.jspm.io/npm:js-cookie@3.0.1/dist/js.cookie.mjs"],"sourcesContent":["export function getCollectionData(collectionList){let queryParent=null;if(collectionList?.props?.query){queryParent=collectionList;}else if(collectionList?.props?.children?.props?.query){queryParent=collectionList.props.children;}else if(collectionList?.props?.children?.props?.children?.props?.query){queryParent=collectionList.props.children.props.children;}const query=queryParent?.props?.query;const from=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?.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){if(argument.from?.type===\"Collection\"){const alias=argument.from.alias;let fieldId=alias;const right=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[0]?.data;const propertyControlsById={};const propertyControlsByTitle={};for(const collection of collections){const byId={};const byName={};propertyControlsById[collection.alias]=byId;propertyControlsByTitle[collection.alias]=byName;const propertyControls=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){const clpc=collectionList.props?.children;if(typeof clpc==\"function\"){childrenFunction=clpc;}else if(typeof clpc?.props?.children==\"function\"){childrenFunction=clpc.props.children;}else if(typeof 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?.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){// const mainAlias = query?.from?.alias || \"\"\nconst mainAlias=collections[0]?.alias||\"\";const propertyControl=propertyControlsByTitle[mainAlias]?.[name];if(!propertyControl){return null;}const fieldId=propertyControl?.id;const alias=referenceFieldName?fieldId:mainAlias;const referencedField=referenceFieldName?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\":{\"getSelectItemForField\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCollectionData\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addFieldsToSelect\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CMSLibrary.map","// Code from Nikolay Goncharuk on GitHub:\n// https://github.com/GoncharukBro/react-smart-masonry/blob/master/src/Masonry.tsx\n// https://github.com/GoncharukBro/react-smart-masonry/blob/master/src/useResize.ts\n//\n// Modified by Isaac Roberts 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/YZGwyfuvWTDLYoiYQunH/zustand.js\";// @ts-ignore\nimport{useRouter}from\"framer\";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,paginationButtonsCount:0,searchFields:null});const useBaseStore=create((set,get)=>({instances:{},getState:id=>{const path=getCurrentPath();const state=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});},setSearchFields:(id,searchFields)=>{get().setState(id,{searchFields});},setPaginationButtonsCount:(id,paginationButtonsCount)=>{get().setState(id,{paginationButtonsCount});},setPaginationType:(id,paginationType)=>{get().setState(id,{paginationType});},deinitializePaginationButton:id=>{get().setState(id,{paginationButtonsCount:get().getState(id).paginationButtonsCount-1});}}));const useSuperfieldsStore=(id,selector,initialize=null)=>{const initializedRef=useRef(false);const[_,startTransition]=useTransition();const{currentRouteId}=useRouter();const previousRouteIdRef=useRef(currentRouteId);// 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]);// Reset the store when the route changes\nuseEffect(()=>{if(previousRouteIdRef.current!==currentRouteId){// Route has changed, reset the initialized state\npreviousRouteIdRef.current=currentRouteId;// If there's an initialize function, call it with a fresh state\nif(initialize){const state=useBaseStore.getState();const freshState=createInitialState();initialize(freshState);state.setState(id,freshState);}initializedRef.current=true;}},[currentRouteId,id,initialize]);// Initial setup effect\nuseEffect(()=>{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=>{const path=getCurrentPath();if(!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\"}}}\n//# sourceMappingURL=./Store.map","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"],"mappings":"qVAAA,SAAgB,EAAkB,EAAe,CAAC,IAAI,EAAY,KAAQ,GAAgB,OAAO,MAAO,EAAY,EAAwB,GAAgB,OAAO,UAAU,OAAO,MAAO,EAAY,EAAe,MAAM,SAAkB,GAAgB,OAAO,UAAU,OAAO,UAAU,OAAO,QAAO,EAAY,EAAe,MAAM,SAAS,MAAM,UAAU,IAAM,EAAM,GAAa,OAAO,MAAY,EAAK,GAAO,KAAS,EAAY,EAAE,CAAI,IAAS,EAAK,OAAO,aAAc,EAAY,KAAK,EAAK,CAAU,EAAK,OAAO,aAAY,EAAY,EAAK,KAAK,EAAY,CAAC,EAAY,EAAK,MAAM,EAAY,GAAG,IAAM,EAAO,GAAO,OAAO,GAAG,EAAY,OAAO,GAAG,MAAM,QAAQ,EAAO,MAAM,IAAM,KAAS,EAAQ,GAAG,EAAM,MAAM,cAAc,EAAM,MAAM,MAAM,CAAC,EAAM,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