{"version":3,"file":"CMS_Card_Sort_on_Override.D5fUXWLU.mjs","names":["getLocale","t","translations","useState","FILTER_EVENT","SEARCH_EVENT","RESET_EVENT","getLocale","t","translations","FILTER_EVENT","ChevronIcon","useState","useRef","RESET_EVENT","useState","useRef","FILTER_EVENT","SEARCH_EVENT","SORT_EVENT","RESET_EVENT","getLocale","t","translations","SEARCH_EVENT","useState","useRef","SORT_EVENT","useState","useRef","getCardElement","useRef","_Fragment","useRef","_Fragment"],"sources":["https:/framerusercontent.com/modules/lTet88yxhF3kF50LOd2H/aUI9X5LNyBPiDwoJsc5G/Active_Filters.js","https:/framerusercontent.com/modules/wupFzu6qOCLECdL9GAe5/GwYkfgDt6dYanH501Ib0/Industries_Filter_Dropdowd.js","https:/framerusercontent.com/modules/AxMwlOAp4tlb8lqZBS8d/hRhfqapRzW5z3wuclDqO/Pagination_V2.js","https:/framerusercontent.com/modules/Wxkne57re1KBE2eEbikj/5QnXCuppRGlISD7uJF8y/Search_bar_FIlter.js","https:/framerusercontent.com/modules/Aaij5ccR0lXwqHg4Y9qs/54tZBycYgW5pXGTHxKK5/Sort_Filter_Dropdown.js","https:/framerusercontent.com/modules/sx2ee2ZhzUxug1CP8iEg/D0F04FJkjiV1vHEIdOtj/CMS_Card_Search_Override.js","https:/framerusercontent.com/modules/7XxJMq7sxRzr8dwbie1l/hVoeHK11DLy3qPMARUFs/CMS_Card_Sort_on_Override.js"],"sourcesContent":["/**\n * ActiveFilters — Framer Code Component\n * ─────────────────────────────────────────────────────────────\n * Shows a pill for each active filter (industry + search).\n * Clicking a pill removes that filter. Automatically appears\n * and disappears based on what's active.\n *\n * HOW TO USE:\n * 1. Drop this component onto your canvas below your filter bar\n * 2. No props needed — it reads directly from the shared filter\n *    state set by IndustryFilter and SearchBar\n * ─────────────────────────────────────────────────────────────\n */import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";const FILTER_EVENT=\"cms-filter-change\";const SEARCH_EVENT=\"cms-search-change\";const RESET_EVENT=\"cms-filter-reset\";function RemoveIcon(){return /*#__PURE__*/_jsx(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M11.9997 10.5859L14.9495 7.63611L16.3637 9.05032L13.4139 12.0001L16.3637 14.9498L14.9495 16.364L11.9997 13.4143L9.04996 16.364L7.63574 14.9498L10.5855 12.0001L7.63574 9.05032L9.04996 7.63611L11.9997 10.5859Z\",fill:\"#160D27\"})});}const translations={nl:{clearAllFilters:\"Alle filters wissen\"},en:{clearAllFilters:\"Clear all filters\"}};function getLocale(){if(typeof window===\"undefined\")return\"nl\";const path=window.location.pathname;if(/^\\/en(\\/|$)/.test(path))return\"en\";return\"nl\";}function t(key){const code=getLocale();return(translations[code]??translations[\"nl\"])[key]??key;}export default function ActiveFilters({width}){const[tags,setTags]=useState([]);const collectTags=()=>{const result=[];// Industry (and any other filter groups)\nconst filters=window.__cmsActiveFilters??{};for(const group of Object.keys(filters)){const activeSet=filters[group];if(!activeSet||activeSet.has(\"__all__\"))continue;for(const value of activeSet){result.push({id:`${group}:${value}`,label:value,group,value});}}// Search\nconst query=window.__cmsSearchQuery??\"\";if(query.trim()!==\"\"){result.push({id:\"search:\"+query,label:query,group:\"search\",value:query});}setTags(result);};useEffect(()=>{window.addEventListener(FILTER_EVENT,collectTags);window.addEventListener(SEARCH_EVENT,collectTags);collectTags();return()=>{window.removeEventListener(FILTER_EVENT,collectTags);window.removeEventListener(SEARCH_EVENT,collectTags);};},[]);const removeTag=tag=>{if(tag.group===\"search\"){window.__cmsSearchQuery=\"\";window.__cmsDispatchSearch?.();}else{const activeSet=window.__cmsActiveFilters?.[tag.group];if(activeSet){activeSet.delete(tag.value);if(activeSet.size===0)activeSet.add(\"__all__\");window.__cmsDispatchFilter?.(tag.group);}}collectTags();};const clearAll=()=>{// Reset all filter groups to \"all\"\nconst filters=window.__cmsActiveFilters??{};for(const group of Object.keys(filters)){filters[group]=new Set([\"__all__\"]);window.__cmsDispatchFilter?.(group);}// Reset search\nwindow.__cmsSearchQuery=\"\";window.__cmsDispatchSearch?.();// Tell all dropdowns to reset their internal state\nwindow.dispatchEvent(new CustomEvent(RESET_EVENT));setTags([]);};if(tags.length===0)return null;return /*#__PURE__*/_jsxs(\"div\",{style:{fontFamily:'\"Plus Jakarta Sans\", \"Plus Jakarta Sans Placeholder\", sans-serif',width:width||\"100%\",display:\"flex\",flexWrap:\"wrap\",gap:8,alignItems:\"center\",justifyContent:\"space-between\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap:8,alignItems:\"center\"},children:tags.map(tag=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:4,paddingLeft:12,paddingRight:8,paddingTop:6,paddingBottom:6,background:\"#EDF1FA\",borderRadius:24,cursor:\"default\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:12,fontWeight:500,letterSpacing:\"0.11em\",lineHeight:\"100%\",textTransform:\"uppercase\",color:\"rgb(22, 13, 39)\",whiteSpace:\"nowrap\"},children:tag.label}),/*#__PURE__*/_jsx(\"div\",{onClick:()=>removeTag(tag),style:{cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:24,height:24,flexShrink:0},children:/*#__PURE__*/_jsx(RemoveIcon,{})})]},tag.id))}),/*#__PURE__*/_jsx(\"div\",{onClick:clearAll,style:{cursor:\"pointer\",flexShrink:0},children:/*#__PURE__*/_jsx(\"span\",{style:{fontSize:12,fontWeight:500,letterSpacing:\"0.11em\",lineHeight:\"100%\",textTransform:\"uppercase\",color:\"rgb(22, 13, 39)\",whiteSpace:\"nowrap\"},children:t(\"clearAllFilters\")})})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ActiveFilters\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Active_Filters.map","/**\n * IndustryFilter — Framer Code Component\n * ─────────────────────────────────────────────────────────────\n * A dropdown filter that connects to the CMS grid via the\n * FilterTarget override on your CMS card text fields.\n *\n * HOW TO USE IN FRAMER:\n * 1. Drop this component onto your canvas\n * 2. In the properties panel, set \"Items\" to your industries\n *    e.g. \"Fintech, Design, Healthcare, SaaS, Retail\"\n * 3. Set \"Label\" to whatever the field is called, e.g. \"Industry\"\n * 4. Apply the FilterTarget override to the matching text field\n *    inside your CMS card\n *\n * The filter dispatches to window.__cmsActiveFilters which\n * FilterTarget listens to. They work as a pair.\n * ─────────────────────────────────────────────────────────────\n */import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect,useRef}from\"react\";// ─── SHARED FILTER STATE (same as FilterTarget override) ──────\nconst FILTER_EVENT=\"cms-filter-change\";const RESET_EVENT=\"cms-filter-reset\";// ─── TRANSLATIONS ─────────────────────────────────────────────\nconst translations={nl:{all:\"Alle\",selected:\"geselecteerd\"},en:{all:\"All\",selected:\"selected\"}};function getLocale(){if(typeof window===\"undefined\")return\"nl\";const path=window.location.pathname;// Match /en/ or starts with /en\nif(/^\\/en(\\/|$)/.test(path))return\"en\";return\"nl\";}function t(key){const code=getLocale();return(translations[code]??translations[\"nl\"])[key]??key;}function initSharedState(group){if(!window.__cmsActiveFilters){window.__cmsActiveFilters={};}if(!window.__cmsActiveFilters[group]){window.__cmsActiveFilters[group]=new Set([\"__all__\"]);}if(!window.__cmsDispatchFilter){window.__cmsDispatchFilter=g=>{window.dispatchEvent(new CustomEvent(FILTER_EVENT,{detail:{group:g}}));};}}// ─── CHECKBOX ICON ────────────────────────────────────────────\nfunction CheckboxIcon({checked}){return /*#__PURE__*/_jsx(\"div\",{style:{width:18,height:18,borderRadius:4,border:checked?\"none\":\"1.5px solid rgb(200, 196, 208)\",background:checked?\"rgb(22, 13, 39)\":\"transparent\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,transition:\"all 0.15s ease\"},children:checked&&/*#__PURE__*/_jsx(\"svg\",{width:\"10\",height:\"8\",viewBox:\"0 0 10 8\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M1 4L3.5 6.5L9 1\",stroke:\"white\",strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})});}// ─── CHEVRON ICON ─────────────────────────────────────────────\nfunction ChevronIcon({open}){return /*#__PURE__*/_jsx(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",style:{transform:open?\"rotate(180deg)\":\"rotate(0deg)\",transition:\"transform 0.2s ease\",flexShrink:0},children:/*#__PURE__*/_jsx(\"path\",{d:\"M11.9998 15.2428L6.92871 10.1718L8.34292 8.75757L11.9998 12.4144L15.6566 8.75757L17.0708 10.1718L11.9998 15.2428Z\",fill:\"#160D27\"})});}// ─── MAIN COMPONENT ───────────────────────────────────────────\nexport default function IndustryFilter({label,items,filterGroup,width}){const[open,setOpen]=useState(false);const[selected,setSelected]=useState(new Set([\"__all__\"]));const containerRef=useRef(null);// Extract label strings from the array of objects\nconst parsedItems=(items??[]).map(i=>i.label).filter(Boolean);// Label shown in the trigger button\nconst triggerLabel=(()=>{if(selected.has(\"__all__\")||selected.size===0)return t(\"all\");if(selected.size===1)return[...selected][0];return`${selected.size} ${t(\"selected\")}`;})();useEffect(()=>{initSharedState(filterGroup);},[filterGroup]);// Listen for global reset from \"Clear all filters\"\nuseEffect(()=>{const onReset=()=>{setSelected(new Set([\"__all__\"]));};window.addEventListener(RESET_EVENT,onReset);return()=>window.removeEventListener(RESET_EVENT,onReset);},[]);// Listen for external filter changes (e.g. removing a pill from ActiveFilters)\n// and sync our local selected state with the shared window state\nuseEffect(()=>{const onFilterChange=()=>{const current=window.__cmsActiveFilters?.[filterGroup];if(!current)return;// Clone the set so React sees a new reference and re-renders\nsetSelected(new Set(current));};window.addEventListener(FILTER_EVENT,onFilterChange);return()=>window.removeEventListener(FILTER_EVENT,onFilterChange);},[filterGroup]);// Close on outside click\nuseEffect(()=>{const handleOutside=e=>{if(containerRef.current&&!containerRef.current.contains(e.target)){setOpen(false);}};document.addEventListener(\"mousedown\",handleOutside);return()=>document.removeEventListener(\"mousedown\",handleOutside);},[]);const toggleItem=item=>{setSelected(prev=>{const next=new Set(prev);if(item===\"__all__\"){// Selecting \"All\" clears everything else\nconst result=new Set([\"__all__\"]);window.__cmsActiveFilters[filterGroup]=result;window.__cmsDispatchFilter(filterGroup);return result;}// Remove \"all\" when selecting a specific item\nnext.delete(\"__all__\");if(next.has(item)){next.delete(item);// If nothing left, revert to \"all\"\nif(next.size===0){next.add(\"__all__\");}}else{next.add(item);}window.__cmsActiveFilters[filterGroup]=next;window.__cmsDispatchFilter(filterGroup);return next;});};return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:{fontFamily:'\"Plus Jakarta Sans\", \"Plus Jakarta Sans Placeholder\", sans-serif',width:width||200,position:\"relative\",userSelect:\"none\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:2,marginBottom:6},children:/*#__PURE__*/_jsx(\"span\",{style:{fontSize:10,fontWeight:500,letterSpacing:\"0.11em\",textTransform:\"uppercase\",color:\"rgb(22, 13, 39)\",lineHeight:1},children:label})}),/*#__PURE__*/_jsxs(\"div\",{onClick:()=>setOpen(v=>!v),onMouseEnter:e=>e.currentTarget.style.borderColor=\"rgba(22, 13, 39, 0.4)\",onMouseLeave:e=>e.currentTarget.style.borderColor=\"rgba(22, 13, 39, 0.2)\",style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",padding:\"10px 14px\",border:\"1px solid rgba(22, 13, 39, 0.2)\",borderRadius:open?\"16px 16px 0 0\":16,background:\"white\",cursor:\"pointer\",transition:\"border-color 0.15s ease, border-radius 0.15s ease\",gap:8},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:14,lineHeight:\"150%\",color:\"rgba(22, 13, 39, 0.7)\",fontWeight:400,overflow:\"hidden\",textOverflow:\"ellipsis\",whiteSpace:\"nowrap\"},children:triggerLabel}),/*#__PURE__*/_jsx(ChevronIcon,{open:open})]}),open&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",top:\"100%\",left:0,right:0,background:\"white\",border:\"1px solid rgba(22, 13, 39, 0.2)\",borderTop:\"none\",borderRadius:\"0 0 16px 16px\",zIndex:1e3,overflow:\"hidden\",boxShadow:\"0 8px 24px rgba(22, 13, 39, 0.08)\"},children:[/*#__PURE__*/_jsxs(\"div\",{onClick:()=>toggleItem(\"__all__\"),style:{display:\"flex\",alignItems:\"center\",gap:10,padding:\"10px 14px\",cursor:\"pointer\",background:selected.has(\"__all__\")?\"rgb(246, 244, 250)\":\"white\",transition:\"background 0.1s ease\"},onMouseEnter:e=>{if(!selected.has(\"__all__\"))e.currentTarget.style.background=\"rgb(250, 249, 252)\";},onMouseLeave:e=>{e.currentTarget.style.background=selected.has(\"__all__\")?\"rgb(246, 244, 250)\":\"white\";},children:[/*#__PURE__*/_jsx(CheckboxIcon,{checked:selected.has(\"__all__\")}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:14,lineHeight:\"150%\",color:\"rgb(22, 13, 39)\",fontWeight:selected.has(\"__all__\")?500:400},children:\"All\"})]}),/*#__PURE__*/_jsx(\"div\",{style:{height:1,background:\"rgb(240, 237, 245)\",margin:\"0 14px\"}}),parsedItems.map(item=>{const isChecked=selected.has(item);return /*#__PURE__*/_jsxs(\"div\",{onClick:()=>toggleItem(item),style:{display:\"flex\",alignItems:\"center\",gap:10,padding:\"10px 14px\",cursor:\"pointer\",background:isChecked?\"rgb(246, 244, 250)\":\"white\",transition:\"background 0.1s ease\"},onMouseEnter:e=>{if(!isChecked)e.currentTarget.style.background=\"rgb(250, 249, 252)\";},onMouseLeave:e=>{e.currentTarget.style.background=isChecked?\"rgb(246, 244, 250)\":\"white\";},children:[/*#__PURE__*/_jsx(CheckboxIcon,{checked:isChecked}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:14,lineHeight:\"150%\",color:\"rgb(22, 13, 39)\",fontWeight:isChecked?500:400},children:item})]},item);})]})]});}// ─── FRAMER PROPERTY CONTROLS ─────────────────────────────────\naddPropertyControls(IndustryFilter,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Industry\",placeholder:\"Industry\"},items:{type:ControlType.Array,title:\"Items\",defaultValue:[{label:\"Fintech\"},{label:\"Design\"}],control:{type:ControlType.Object,controls:{label:{type:ControlType.String,title:\"Item\",placeholder:\"e.g. Fintech\"}}}},filterGroup:{type:ControlType.String,title:\"Filter Group\",defaultValue:\"industry\",description:'Unique ID for this filter. Must match the \"Filter Group\" on your FilterTarget override.'}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"IndustryFilter\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Industries_Filter_Dropdowd.map","/**\n * CMSController — Framer Code Component\n * ─────────────────────────────────────────────────────────────\n * ONE component that handles filtering, search AND pagination.\n * Drop this on your canvas. No overrides needed except\n * FilterTarget (still needed to read the industry text).\n *\n * HOW TO USE:\n * 1. Keep FilterTarget_v4 on your Industry Tag text field\n *    (it now only reads text + sets data-industry, doesn't hide)\n * 2. Keep SearchTarget on your title field\n *    (same — only reads text + sets data-title, doesn't hide)\n * 3. Drop this CMSController on your canvas\n * 4. Remove PaginationBar from canvas — this replaces it\n * 5. Set Items Per Page in properties\n * ─────────────────────────────────────────────────────────────\n */import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect,useRef}from\"react\";const FILTER_EVENT=\"cms-filter-change\";const SEARCH_EVENT=\"cms-search-change\";const SORT_EVENT=\"cms-sort-change\";const RESET_EVENT=\"cms-filter-reset\";function ArrowIcon({direction}){return /*#__PURE__*/_jsx(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",style:{transform:direction===\"right\"?\"rotate(180deg)\":\"none\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M8.46409 12.0001L14.1209 17.657L15.5352 16.2428L11.2925 12.0001L15.5352 7.75748L14.1209 6.34326L8.46409 12.0001Z\",fill:\"#160D27\"})});}// Find the CMS grid container — parent with most <a> children\nfunction findCMSGrid(){const allAs=Array.from(document.querySelectorAll(\"a\"));const groups=new Map;for(const a of allAs){const parent=a.parentElement;if(!parent)continue;if(!groups.has(parent))groups.set(parent,[]);groups.get(parent).push(a);}let bestParent=null;let bestCount=0;for(const[parent,children]of groups){if(children.length>bestCount){bestCount=children.length;bestParent=parent;}}if(!bestParent||bestCount<2)return null;return{container:bestParent,cards:Array.from(bestParent.children)};}// Read the industry text from inside a card\nfunction getCardIndustry(card){// Look for the element with data-industry attribute (set by FilterTarget)\n// or fall back to reading all text and finding the industry tag\nif(card.dataset.industry)return card.dataset.industry.toLowerCase();// Find the industry tag — it's a short text element (not the title)\n// We look for spans/p with short text that appears twice (hidden clone + real)\nconst textEls=Array.from(card.querySelectorAll(\"p, span\"));for(const el of textEls){const text=el.innerText?.trim();if(text&&text.length<60&&text.length>2){// Check if this looks like an industry (not a title — titles are longer)\nconst parent=el.closest(\"a\");if(parent===card){return text.toLowerCase();}}}return\"\";}// Read the title text from inside a card\nfunction getCardTitle(card){if(card.dataset.title)return card.dataset.title.toLowerCase();// Title is usually in an h-tag or the longest text element\nconst headings=Array.from(card.querySelectorAll(\"h1,h2,h3,h4,h5,h6\"));if(headings.length>0)return headings[0].innerText?.trim().toLowerCase()||\"\";return\"\";}export default function CMSController({itemsPerPage,width}){const[currentPage,setCurrentPage]=useState(1);const[totalPages,setTotalPages]=useState(1);const allCardsRef=useRef([]);const currentPageRef=useRef(1);const itemsPerPageRef=useRef(itemsPerPage);itemsPerPageRef.current=itemsPerPage;const applyAll=page=>{// Re-discover cards every time (sort can reorder DOM)\nconst grid=findCMSGrid();if(!grid)return;allCardsRef.current=grid.cards;const allCards=allCardsRef.current;const perPage=itemsPerPageRef.current;const query=window.__cmsSearchQuery?.trim().toLowerCase()??\"\";const filters=window.__cmsActiveFilters??{};// Step 1: determine which cards pass filter + search\nconst passingCards=allCards.filter(card=>{// Search check — match against all text in the card\nif(query){const cardText=card.innerText?.toLowerCase()??\"\";if(!cardText.includes(query))return false;}// Filter check — for each active filter group\nfor(const group of Object.keys(filters)){const activeSet=filters[group];if(!activeSet||activeSet.has(\"__all__\")||activeSet.size===0)continue;// Read the industry value from the card\n// It's stored as data-[group] attribute by FilterTarget\nconst cardValue=(card.dataset[group]??getCardIndustry(card)).toLowerCase();const matches=[...activeSet].some(f=>f.toLowerCase()===cardValue);if(!matches)return false;}return true;});// Step 2: paginate the passing cards\nconst total=Math.max(1,Math.ceil(passingCards.length/perPage));const clampedPage=Math.min(Math.max(1,page),total);currentPageRef.current=clampedPage;window.__cmsCurrentPage=clampedPage;window.__cmsTotalPages=total;const startIndex=(clampedPage-1)*perPage;const endIndex=startIndex+perPage;// Step 3: show/hide all cards\nallCards.forEach(card=>{const passes=passingCards.includes(card);const indexInPassing=passingCards.indexOf(card);const onPage=indexInPassing>=startIndex&&indexInPassing<endIndex;if(passes&&onPage){card.style.display=\"\";card.style.opacity=\"1\";card.style.pointerEvents=\"\";}else{card.style.display=\"none\";card.style.opacity=\"0\";}});setCurrentPage(clampedPage);setTotalPages(total);};useEffect(()=>{window.__cmsCurrentPage=1;window.__cmsItemsPerPage=itemsPerPage;const init=setTimeout(()=>applyAll(1),500);const resetAndApply=()=>setTimeout(()=>applyAll(1),100);const sortAndApply=()=>setTimeout(()=>applyAll(1),300);window.addEventListener(FILTER_EVENT,resetAndApply);window.addEventListener(SEARCH_EVENT,resetAndApply);window.addEventListener(SORT_EVENT,sortAndApply);window.addEventListener(RESET_EVENT,resetAndApply);return()=>{clearTimeout(init);window.removeEventListener(FILTER_EVENT,resetAndApply);window.removeEventListener(SEARCH_EVENT,resetAndApply);window.removeEventListener(SORT_EVENT,sortAndApply);window.removeEventListener(RESET_EVENT,resetAndApply);};},[itemsPerPage]);const goToPage=page=>{applyAll(page);window.scrollTo({top:0,behavior:\"smooth\"});};if(totalPages<=1)return null;const getPageNumbers=()=>{if(totalPages<=7)return Array.from({length:totalPages},(_,i)=>i+1);const pages=[1];if(currentPage>3)pages.push(\"...\");for(let i=Math.max(2,currentPage-1);i<=Math.min(totalPages-1,currentPage+1);i++){pages.push(i);}if(currentPage<totalPages-2)pages.push(\"...\");pages.push(totalPages);return pages;};const btnBase={width:44,height:44,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",borderRadius:\"50%\",cursor:\"pointer\",fontFamily:'\"Plus Jakarta Sans\", \"Plus Jakarta Sans Placeholder\", sans-serif',fontSize:12,fontWeight:500,transition:\"all 0.15s ease\",userSelect:\"none\",flexShrink:0};return /*#__PURE__*/_jsxs(\"div\",{style:{width:width||\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:4,fontFamily:'\"Plus Jakarta Sans\", \"Plus Jakarta Sans Placeholder\", sans-serif'},children:[/*#__PURE__*/_jsx(\"div\",{onClick:()=>currentPage>1&&goToPage(currentPage-1),style:{...btnBase,opacity:currentPage===1?.3:1,cursor:currentPage===1?\"default\":\"pointer\",background:\"#EDF1FA\",border:\"none\"},children:/*#__PURE__*/_jsx(ArrowIcon,{direction:\"left\"})}),getPageNumbers().map((page,index)=>page===\"...\"?/*#__PURE__*/_jsx(\"div\",{style:{...btnBase,cursor:\"default\",color:\"rgba(22, 13, 39, 0.4)\"},children:\"\\xb7\\xb7\\xb7\"},`e-${index}`):/*#__PURE__*/_jsx(\"div\",{onClick:()=>goToPage(page),style:{...btnBase,...currentPage===page?{background:\"linear-gradient(to right, #5623B3, #FF47D8, #5AF2FF)\",boxShadow:\"inset 0 0 0 1000px rgba(255, 71, 216, 0.75)\",border:\"none\",color:\"white\"}:{background:\"white\",color:\"rgb(22, 13, 39)\",border:\"1px solid rgba(22, 13, 39, 0.2)\"}},children:page},page)),/*#__PURE__*/_jsx(\"div\",{onClick:()=>currentPage<totalPages&&goToPage(currentPage+1),style:{...btnBase,opacity:currentPage===totalPages?.3:1,cursor:currentPage===totalPages?\"default\":\"pointer\",background:\"#EDF1FA\",border:\"none\"},children:/*#__PURE__*/_jsx(ArrowIcon,{direction:\"right\"})})]});}addPropertyControls(CMSController,{itemsPerPage:{type:ControlType.Number,title:\"Items Per Page\",defaultValue:9,min:1,max:100,step:1,displayStepper:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CMSController\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Pagination_V2.map","/**\n * SearchBar v11 — Framer Code Component\n * Adds useLocaleInfo() for NL/EN translation support.\n * ─────────────────────────────────────────────────────────────\n */import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls}from\"framer\";import{useState,useEffect,useRef}from\"react\";const SEARCH_EVENT=\"cms-search-change\";const RESET_EVENT=\"cms-filter-reset\";const translations={nl:{search:\"Zoeken\"},en:{search:\"Search\"}};function getLocale(){if(typeof window===\"undefined\")return\"nl\";const path=window.location.pathname;// Match /en/ or starts with /en\nif(/^\\/en(\\/|$)/.test(path))return\"en\";return\"nl\";}function t(key){const code=getLocale();return(translations[code]??translations[\"nl\"])[key]??key;}function initSearchState(){if(window.__cmsSearchQuery===undefined)window.__cmsSearchQuery=\"\";if(!window.__cmsDispatchSearch){window.__cmsDispatchSearch=()=>{window.dispatchEvent(new CustomEvent(SEARCH_EVENT));};}}export default function SearchBar({width}){const placeholder=t(\"search\");const[value,setValue]=useState(\"\");const inputRef=useRef(null);useEffect(()=>{initSearchState();},[]);// Block Framer from intercepting keyboard events (spacebar fix)\nuseEffect(()=>{const input=inputRef.current;if(!input)return;const stop=e=>e.stopPropagation();input.addEventListener(\"keydown\",stop,true);input.addEventListener(\"keypress\",stop,true);input.addEventListener(\"keyup\",stop,true);return()=>{input.removeEventListener(\"keydown\",stop,true);input.removeEventListener(\"keypress\",stop,true);input.removeEventListener(\"keyup\",stop,true);};},[]);useEffect(()=>{const onReset=()=>{setValue(\"\");window.__cmsSearchQuery=\"\";window.__cmsDispatchSearch?.();};window.addEventListener(RESET_EVENT,onReset);return()=>window.removeEventListener(RESET_EVENT,onReset);},[]);useEffect(()=>{const onSearchChange=()=>{setValue(window.__cmsSearchQuery??\"\");};window.addEventListener(SEARCH_EVENT,onSearchChange);return()=>window.removeEventListener(SEARCH_EVENT,onSearchChange);},[]);const handleChange=e=>{const query=e.target.value;setValue(query);window.__cmsSearchQuery=query.toLowerCase();window.__cmsDispatchSearch();};const handleInput=e=>{const query=e.target.value;setValue(query);window.__cmsSearchQuery=query.toLowerCase();window.__cmsDispatchSearch();};return /*#__PURE__*/_jsx(\"div\",{style:{fontFamily:'\"Plus Jakarta Sans\", \"Plus Jakarta Sans Placeholder\", sans-serif',width:width||280,position:\"relative\"},children:/*#__PURE__*/_jsxs(\"div\",{onClick:()=>inputRef.current?.focus(),style:{display:\"flex\",alignItems:\"center\",gap:8,padding:\"10px 14px\",border:\"1px solid rgba(22, 13, 39, 0.2)\",borderRadius:16,background:\"white\",cursor:\"text\",transition:\"border-color 0.15s ease\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",style:{flexShrink:0},children:/*#__PURE__*/_jsx(\"path\",{fillRule:\"evenodd\",clipRule:\"evenodd\",d:\"M10 3C13.866 3 17 6.13401 17 10C17 11.5723 16.4807 13.0228 15.6055 14.1914L21 19.5859L19.5859 21L14.1914 15.6055C13.0228 16.4807 11.5723 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3ZM10 5C7.23858 5 5 7.23858 5 10C5 12.7614 7.23858 15 10 15C12.7614 15 15 12.7614 15 10C15 7.23858 12.7614 5 10 5Z\",fill:\"#160D27\",fillOpacity:\"0.7\"})}),/*#__PURE__*/_jsx(\"input\",{ref:inputRef,type:\"text\",value:value,onChange:handleChange,onInput:handleInput,onKeyDown:e=>e.stopPropagation(),onKeyPress:e=>e.stopPropagation(),onKeyUp:e=>e.stopPropagation(),onFocus:e=>{const wrapper=e.currentTarget.closest(\"div\");if(wrapper)wrapper.style.borderColor=\"rgba(22, 13, 39, 0.4)\";},onBlur:e=>{const wrapper=e.currentTarget.closest(\"div\");if(wrapper)wrapper.style.borderColor=\"rgba(22, 13, 39, 0.2)\";},placeholder:placeholder,style:{flex:1,border:\"none\",outline:\"none\",background:\"transparent\",fontSize:14,lineHeight:\"150%\",color:\"rgba(22, 13, 39, 0.7)\",fontFamily:'\"Plus Jakarta Sans\", \"Plus Jakarta Sans Placeholder\", sans-serif',padding:0,margin:0}}),value&&/*#__PURE__*/_jsx(\"div\",{onClick:e=>{e.stopPropagation();setValue(\"\");window.__cmsSearchQuery=\"\";window.__cmsDispatchSearch();inputRef.current?.focus();},style:{cursor:\"pointer\",flexShrink:0,userSelect:\"none\",width:24,height:24,display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M11.9997 10.5859L14.9495 7.63611L16.3637 9.05032L13.4139 12.0001L16.3637 14.9498L14.9495 16.364L11.9997 13.4143L9.04996 16.364L7.63574 14.9498L10.5855 12.0001L7.63574 9.05032L9.04996 7.63611L11.9997 10.5859Z\",fill:\"#160D27\",fillOpacity:\"0.4\"})})})]})});}addPropertyControls(SearchBar,{});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SearchBar\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Search_bar_FIlter.map","/**\n * SortDropdown — Framer Code Component\n * ─────────────────────────────────────────────────────────────\n * A sort dropdown with \"Newest to oldest\" and \"Oldest to newest\"\n * options. Works by reading a date attribute from your CMS cards\n * and physically reordering them in the DOM.\n *\n * HOW TO USE:\n * 1. Drop this component onto your canvas near your CMS grid\n * 2. Apply the SortTarget override to the date text field inside\n *    your CMS card (the field that holds the publication date)\n * 3. Default sort is \"Newest to oldest\"\n *\n * HOW SORTING WORKS:\n * This component dispatches a sort event. The SortTarget override\n * on your date field reads its own text, stores it as a data\n * attribute on the card, then the sort logic reorders the cards\n * in the DOM by comparing those date values.\n * ─────────────────────────────────────────────────────────────\n */import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect,useRef}from\"react\";const SORT_EVENT=\"cms-sort-change\";// ─── TRANSLATIONS ─────────────────────────────────────────────\nconst translations={nl:{newestToOldest:\"Nieuwste eerst\",oldestToNewest:\"Oudste eerst\"},en:{newestToOldest:\"Newest to oldest\",oldestToNewest:\"Oldest to newest\"}};function getLocale(){if(typeof window===\"undefined\")return\"nl\";const path=window.location.pathname;// Match /en/ or starts with /en\nif(/^\\/en(\\/|$)/.test(path))return\"en\";return\"nl\";}function t(key){const code=getLocale();return(translations[code]??translations[\"nl\"])[key]??key;}function initSortState(){if(!window.__cmsSortOrder){window.__cmsSortOrder=\"newest\";}if(!window.__cmsDispatchSort){window.__cmsDispatchSort=()=>{window.dispatchEvent(new CustomEvent(SORT_EVENT));};}}// ─── CHEVRON ICON ─────────────────────────────────────────────\nfunction ChevronIcon({open}){return /*#__PURE__*/_jsx(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",style:{transform:open?\"rotate(180deg)\":\"rotate(0deg)\",transition:\"transform 0.2s ease\",flexShrink:0},children:/*#__PURE__*/_jsx(\"path\",{d:\"M11.9998 15.2428L6.92871 10.1718L8.34292 8.75757L11.9998 12.4144L15.6566 8.75757L17.0708 10.1718L11.9998 15.2428Z\",fill:\"#160D27\"})});}// ─── RADIO DOT ────────────────────────────────────────────────\nfunction RadioIcon({checked}){return /*#__PURE__*/_jsx(\"div\",{style:{width:18,height:18,borderRadius:\"50%\",border:checked?\"none\":\"1.5px solid rgb(200, 196, 208)\",background:checked?\"rgb(22, 13, 39)\":\"transparent\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,transition:\"all 0.15s ease\"},children:checked&&/*#__PURE__*/_jsx(\"div\",{style:{width:7,height:7,borderRadius:\"50%\",background:\"white\"}})});}// ─── MAIN COMPONENT ───────────────────────────────────────────\nexport default function SortDropdown({label,width}){const OPTIONS=[{value:\"newest\",label:t(\"newestToOldest\")},{value:\"oldest\",label:t(\"oldestToNewest\")}];const[open,setOpen]=useState(false);const[selected,setSelected]=useState(\"newest\");const containerRef=useRef(null);useEffect(()=>{initSortState();},[]);// Close on outside click\nuseEffect(()=>{const handleOutside=e=>{if(containerRef.current&&!containerRef.current.contains(e.target)){setOpen(false);}};document.addEventListener(\"mousedown\",handleOutside);return()=>document.removeEventListener(\"mousedown\",handleOutside);},[]);const selectOption=value=>{setSelected(value);setOpen(false);window.__cmsSortOrder=value;window.__cmsDispatchSort();};const triggerLabel=OPTIONS.find(o=>o.value===selected)?.label??\"Newest to oldest\";return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:{fontFamily:'\"Plus Jakarta Sans\", \"Plus Jakarta Sans Placeholder\", sans-serif',width:width||220,position:\"relative\",userSelect:\"none\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:2,marginBottom:6},children:/*#__PURE__*/_jsx(\"span\",{style:{fontSize:10,fontWeight:500,letterSpacing:\"0.11em\",textTransform:\"uppercase\",color:\"rgb(22, 13, 39)\",lineHeight:1},children:label})}),/*#__PURE__*/_jsxs(\"div\",{onClick:()=>setOpen(v=>!v),onMouseEnter:e=>e.currentTarget.style.borderColor=\"rgba(22, 13, 39, 0.4)\",onMouseLeave:e=>e.currentTarget.style.borderColor=\"rgba(22, 13, 39, 0.2)\",style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",padding:\"10px 14px\",border:\"1px solid rgba(22, 13, 39, 0.2)\",borderRadius:open?\"16px 16px 0 0\":16,background:\"white\",cursor:\"pointer\",transition:\"border-color 0.15s ease, border-radius 0.15s ease\",gap:8},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:14,lineHeight:\"150%\",color:\"rgba(22, 13, 39, 0.7)\",fontWeight:400,overflow:\"hidden\",textOverflow:\"ellipsis\",whiteSpace:\"nowrap\"},children:triggerLabel}),/*#__PURE__*/_jsx(ChevronIcon,{open:open})]}),open&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"100%\",left:0,right:0,background:\"white\",border:\"1px solid rgba(22, 13, 39, 0.2)\",borderTop:\"none\",borderRadius:\"0 0 16px 16px\",zIndex:1e3,overflow:\"hidden\",boxShadow:\"0 8px 24px rgba(22, 13, 39, 0.08)\"},children:OPTIONS.map((option,index)=>{const isChecked=selected===option.value;return /*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsxs(\"div\",{onClick:()=>selectOption(option.value),style:{display:\"flex\",alignItems:\"center\",gap:10,padding:\"10px 14px\",cursor:\"pointer\",background:isChecked?\"rgb(246, 244, 250)\":\"white\",transition:\"background 0.1s ease\"},onMouseEnter:e=>{if(!isChecked)e.currentTarget.style.background=\"rgb(250, 249, 252)\";},onMouseLeave:e=>{e.currentTarget.style.background=isChecked?\"rgb(246, 244, 250)\":\"white\";},children:[/*#__PURE__*/_jsx(RadioIcon,{checked:isChecked}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:14,lineHeight:\"150%\",color:\"rgb(22, 13, 39)\",fontWeight:isChecked?500:400},children:option.label})]}),index<OPTIONS.length-1&&/*#__PURE__*/_jsx(\"div\",{style:{height:1,background:\"rgb(240, 237, 245)\",margin:\"0 14px\"}})]},option.value);})})]});}addPropertyControls(SortDropdown,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Sort on\",placeholder:\"Sort on\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SortDropdown\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Sort_Filter_Dropdown.map","/**\n * SearchTarget — Framer Code Override\n * ─────────────────────────────────────────────────────────────\n * Apply to the TITLE text field inside your CMS card.\n * Hides/shows the card based on whether the title matches\n * the current search query. Works alongside FilterTarget —\n * a card must match BOTH the active filter AND the search.\n * ─────────────────────────────────────────────────────────────\n */import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";const SEARCH_EVENT=\"cms-search-change\";const FILTER_EVENT=\"cms-filter-change\";// Walk up to find the <a> card element\nfunction getCardElement(el){let node=el;for(let i=0;i<20;i++){if(!node)break;if(node.tagName===\"A\")return node;node=node.parentElement;}return null;}export function SearchTarget(Component){return function SearchTargetWrapper(props){const hiddenRef=useRef(null);const cardRef=useRef(null);useEffect(()=>{if(window.__cmsSearchQuery===undefined){window.__cmsSearchQuery=\"\";}const timeout=setTimeout(()=>{const el=hiddenRef.current;if(!el)return;cardRef.current=getCardElement(el);applyVisibility();},100);const applyVisibility=()=>{const el=hiddenRef.current;const card=cardRef.current;if(!el||!card)return;const titleText=el.innerText?.trim().toLowerCase()||\"\";const query=window.__cmsSearchQuery??\"\";// Search match: title must contain the query\nconst searchMatch=query===\"\"||titleText.includes(query);// Also respect active industry filters so both work together\n// We check if the card is already hidden by FilterTarget —\n// if so we don't override that. We only additionally hide\n// cards that don't match the search.\nif(!searchMatch){card.style.transition=\"opacity 0.15s ease\";card.style.opacity=\"0\";card.style.pointerEvents=\"none\";setTimeout(()=>{if(card.style.opacity===\"0\"){card.style.display=\"none\";}},150);}else{// Only show if it was hidden by search (not by filter)\n// We use a data attribute to track who hid the card\nif(card.dataset.hiddenBySearch===\"true\"){card.style.transition=\"opacity 0.15s ease\";card.style.display=\"\";requestAnimationFrame(()=>{card.style.opacity=\"1\";card.style.pointerEvents=\"\";});}card.dataset.hiddenBySearch=\"false\";return;}card.dataset.hiddenBySearch=\"true\";};// Also re-run when filter changes, to handle show/hide correctly\nwindow.addEventListener(SEARCH_EVENT,applyVisibility);window.addEventListener(FILTER_EVENT,applyVisibility);return()=>{clearTimeout(timeout);window.removeEventListener(SEARCH_EVENT,applyVisibility);window.removeEventListener(FILTER_EVENT,applyVisibility);};},[]);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"span\",{ref:hiddenRef,style:{position:\"absolute\",width:0,height:0,overflow:\"hidden\",opacity:0,pointerEvents:\"none\",userSelect:\"none\",zIndex:-9999},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(Component,{...props})}),/*#__PURE__*/_jsx(Component,{...props})]});};}\nexport const __FramerMetadata__ = {\"exports\":{\"SearchTarget\":{\"type\":\"reactHoc\",\"name\":\"SearchTarget\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CMS_Card_Search_Override.map","/**\n * SortTarget — Framer Code Override\n * ─────────────────────────────────────────────────────────────\n * Apply this override to the DATE text field inside your CMS\n * card. It reads the date, stamps it on the card element, and\n * reorders all cards in the DOM when the sort changes.\n *\n * HOW TO USE:\n * 1. Select the date/published text field inside your CMS card\n * 2. Right panel → Code Overrides → SortTarget\n * 3. Set \"Date Format\" to match how your date is written in CMS\n *    e.g. \"DD MMM YYYY\" for \"14 Jan 2025\"\n *    or   \"MMM DD, YYYY\" for \"Jan 14, 2025\"\n *    or   \"YYYY-MM-DD\"   for \"2025-01-14\" (ISO — most reliable)\n *\n * The override reads the text, parses it to a timestamp, stores\n * it as a data-sort-date attribute on the card, then on sort\n * change it reads all sibling cards and reorders them in the DOM.\n * ─────────────────────────────────────────────────────────────\n */import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";const SORT_EVENT=\"cms-sort-change\";// Walk up to find the <a> card element (same strategy as FilterTarget v4)\nfunction getCardElement(el){let node=el;for(let i=0;i<20;i++){if(!node)break;if(node.tagName===\"A\")return node;node=node.parentElement;}return null;}// Parse a date string to a timestamp\n// Handles common formats Framer CMS might output\nfunction parseDate(text){if(!text)return 0;// Try native Date parse first (works for ISO, US formats)\nconst native=Date.parse(text);if(!isNaN(native))return native;// Try \"14 Jan 2025\" or \"14 January 2025\"\nconst dmy=text.match(/(\\d{1,2})\\s+([A-Za-z]+)\\s+(\\d{4})/);if(dmy){return Date.parse(`${dmy[2]} ${dmy[1]}, ${dmy[3]}`);}// Try \"Jan 14, 2025\" or \"January 14, 2025\"\nconst mdy=text.match(/([A-Za-z]+)\\s+(\\d{1,2}),?\\s+(\\d{4})/);if(mdy){return Date.parse(`${mdy[1]} ${mdy[2]}, ${mdy[3]}`);}return 0;}export function SortTarget(Component){return function SortTargetWrapper(props){const hiddenRef=useRef(null);const cardRef=useRef(null);useEffect(()=>{if(!window.__cmsSortOrder)window.__cmsSortOrder=\"newest\";const timeout=setTimeout(()=>{const el=hiddenRef.current;if(!el)return;// Find and cache the card\nconst card=getCardElement(el);if(!card)return;cardRef.current=card;// Parse date from text and stamp it on the card\nconst dateText=el.innerText?.trim()||\"\";const timestamp=parseDate(dateText);card.dataset.sortDate=String(timestamp);// Run initial sort\napplySort();},100);const applySort=()=>{const card=cardRef.current;if(!card)return;const container=card.parentElement;if(!container)return;const order=window.__cmsSortOrder??\"newest\";// Get all sibling cards that have a sort date\nconst cards=Array.from(container.querySelectorAll(\"[data-sort-date]\"));if(cards.length<2)return;// Sort by timestamp\ncards.sort((a,b)=>{const dateA=Number(a.dataset.sortDate)||0;const dateB=Number(b.dataset.sortDate)||0;return order===\"newest\"?dateB-dateA:dateA-dateB;});// Re-append in sorted order (moves DOM nodes, doesn't clone)\ncards.forEach(c=>container.appendChild(c));};window.addEventListener(SORT_EVENT,applySort);return()=>{clearTimeout(timeout);window.removeEventListener(SORT_EVENT,applySort);};},[]);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"span\",{ref:hiddenRef,style:{position:\"absolute\",width:0,height:0,overflow:\"hidden\",opacity:0,pointerEvents:\"none\",userSelect:\"none\",zIndex:-9999},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(Component,{...props})}),/*#__PURE__*/_jsx(Component,{...props})]});};}\nexport const __FramerMetadata__ = {\"exports\":{\"SortTarget\":{\"type\":\"reactHoc\",\"name\":\"SortTarget\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CMS_Card_Sort_on_Override.map"],"mappings":"oNAYqN,SAAS,GAAY,CAAC,OAAoB,EAAK,MAAM,CAAC,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,SAAsB,EAAK,OAAO,CAAC,EAAE,kNAAkN,KAAK,UAAU,CAAC,CAAC,CAAC,CAA2G,SAASA,GAAW,CAAC,GAAU,IAAS,OAAY,MAAM,KAAK,IAAM,EAAK,EAAO,SAAS,SAAgD,MAApC,cAAc,KAAK,EAAK,CAAO,KAAW,KAAM,SAASC,EAAE,EAAI,CAAwB,OAAOC,EAAnBF,GAAW,GAA4BE,EAAa,IAAO,IAAM,EAAK,SAAwB,EAAc,CAAC,SAAO,CAAC,GAAK,CAAC,EAAK,GAASC,EAAS,EAAE,CAAC,CAAO,MAAgB,CAAC,IAAM,EAAO,EAAE,CAC7hC,EAAQ,EAAO,oBAAoB,EAAE,CAAC,IAAI,IAAM,KAAS,OAAO,KAAK,EAAQ,CAAC,CAAC,IAAM,EAAU,EAAQ,GAAU,MAAC,GAAW,EAAU,IAAI,UAAU,EAAU,IAAI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