{"version":3,"file":"cmsCollectionLayout.Ddw_9B9k.mjs","names":["useRef","useCallback","__esmMin","window","le","ne","init_ssg_sandbox_shims","de","init_npm_react_18_3_1","init_useInViewport","init_colors","isFramerEditorEnvironment","getSpacing","init_useInheritedSectionBreakpoint","SECTION_BREAKPOINT_ATTR","uppercaseLetterRatio","letters","text","isDisplayableReviewQuote","normalized","quote","pattern","BLOCKED_QUOTE_PATTERNS","upper","snippet","BLOCKED_QUOTE_SNIPPETS","hideNonDisplayableTestimonialItems","host","article","collectionItem","target","init_reviewModeration","isCmsCollectionPlaceholder","element","CMS_COLLECTION_PLACEHOLDER_ATTR","buildCmsCollectionGridCriticalCss","CMS_COLLECTION_GRID_ATTR","gridId","slotRules","gridRules","columns","gap","slot","pagination","spinner","cmsChromeHideCss","CMS_PAGINATION_CHILD_HAS","isTestimonialColumnWrapper","TESTIMONIAL_COLUMN_ATTR","isCmsLayoutChromeElement","CMS_LAYOUT_CHROME_TAGS","layoutElementChildren","parent","child","hostSelector","isCmsCollectionPaginationControl","framerName","layerName","ariaLabel","CMS_COLLECTION_FIELD_LAYER_SELECTOR","controls","node","label","LOAD_MORE_LABEL_PATTERN","control","SPINNER_OR_LOADING_LABEL_PATTERN","isCmsCollectionInfiniteScrollSpinner","isCmsCollectionLoadMoreBusy","isCmsCollectionLoadMoreExhausted","button","isCmsCollectionSearchActive","CMS_COLLECTION_SEARCHING_ATTR","getCmsCollectionPaginationStyles","CMS_COLLECTION_INFINITE_SCROLL_SENTINEL_STYLES","CMS_COLLECTION_PAGINATION_BUTTON_STYLES","CMS_COLLECTION_PAGINATION_STYLES","applyCmsCollectionPaginationStyles","styles","CMS_COLLECTION_PAGINATION_HIDDEN_ATTR","applyInlineStyles","cssPropertyName","property","letter","value","important","getCollectionRoots","nested","getCollectionGridRoot","directChildren","root","wrapper","getCmsCollectionLayoutRoots","roots","layoutRoots","getCmsCollectionItemElements","gridRoot","isCmsCollectionItemChild","isTestimonialClone","TESTIMONIAL_CLONE_ATTR","syncCmsCollectionListItemRoles","isList","listRoot","CMS_COLLECTION_LIST_ITEM_ATTR","isGridLayout","hasCmsCollectionPaginationChild","applyCmsCollectionLayoutToHost","sectionBreakpoint","firstScrollRoot","collectionRootStyles","item","collectionItemStyles","scrollRootRef","useCmsCollectionLayout","canvasObserverRef","applyStyles","hostRef","enabled","observer","SECTION_GRID_CARDS_CMS_GRID_ID","init_cmsCollectionLayout"],"sources":["https:/framerusercontent.com/modules/WHFsOD0VNJLAyKL5PGaC/1xfd3odYu2J92N7dZW8l/reviewModeration.js","https:/framerusercontent.com/modules/eOSwza2JTdvRVICEipdz/u0IJJgH2fTYm4PD7RUQx/cmsCollectionLayout.js"],"sourcesContent":["const BLOCKED_QUOTE_PATTERNS=[/\\*{3,}/,/\\bHIV\\s+KOMMT\\b/i,/\\bBEOBACHTET\\s+FACEBOOK!?/i,/\\bABSOLUT\\s+0\\s+STERNE\\b/i,/\\bVORMUNDSCHAFT\\b.*\\b0\\s+STERNE\\b/i,/@BUNQ,,KREDIT/i,/\\bID\\.AUSWEI[Sẞ]/i,/\\bEINSCKENUNG\\b/i,/\\bEINBINDETT\\.KUNFT\\b/i];const BLOCKED_QUOTE_SNIPPETS=[\"TJA ABER DIE HABEN VORMUNDSCHAFT\",\"ICH ERWARTE DADURCH NACH EINSCKENUNG DES ID.AUSWEI\"];function uppercaseLetterRatio(text){const letters=text.replace(/[^a-zA-ZäöüÄÖÜß]/g,\"\");if(letters.length===0){return 0;}const uppercaseCount=letters.match(/[A-ZÄÖÜ]/g)?.length??0;return uppercaseCount/letters.length;}export function isDisplayableReviewQuote(quote){const normalized=quote?.trim();if(!normalized){return false;}for(const pattern of BLOCKED_QUOTE_PATTERNS){if(pattern.test(normalized)){return false;}}const upper=normalized.toUpperCase();for(const snippet of BLOCKED_QUOTE_SNIPPETS){if(upper.includes(snippet)){return false;}}if(normalized.length>=60&&uppercaseLetterRatio(normalized)>=.85){return false;}return true;}export function hideNonDisplayableTestimonialItems(host){const articles=host.querySelectorAll('article[itemtype=\"https://schema.org/Review\"]');articles.forEach(article=>{const quote=article.querySelector('[itemprop=\"reviewBody\"]')?.textContent?.trim()??\"\";const collectionItem=article.closest(\"[data-framer-name], li, div\")??article.parentElement;const target=collectionItem instanceof HTMLElement?collectionItem:article;if(isDisplayableReviewQuote(quote)){if(target.style.display===\"none\"){target.style.removeProperty(\"display\");}return;}target.style.display=\"none\";});}// recompile: 1792505897503\n\nexport const __FramerMetadata__ = {\"exports\":{\"isDisplayableReviewQuote\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"hideNonDisplayableTestimonialItems\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./reviewModeration.map","import{useCallback,useEffect,useLayoutEffect,useRef}from\"react\";import{getSpacing}from\"https://framerusercontent.com/modules/yBm4xQRQEBvJankYjkxZ/c6EjO8jGXzs7IawsBiU1/colors.js\";import{SECTION_BREAKPOINT_ATTR}from\"https://framerusercontent.com/modules/GXLXiYd3hoMReGGx4l0f/b4UbE0ZuqfXx81EZYOtE/useInheritedSectionBreakpoint.js\";import{getTestimonialCarouselBackgroundVariant,TESTIMONIAL_CMS_BG_VARIANT_ATTR}from\"https://framerusercontent.com/modules/95JIcxpoxTc4BWZhfuBf/JIu5v2DoYVW5zl3SXmYy/testimonialCarouselBackgrounds.js\";import{hideNonDisplayableTestimonialItems}from\"https://framerusercontent.com/modules/WHFsOD0VNJLAyKL5PGaC/1xfd3odYu2J92N7dZW8l/reviewModeration.js\";import{isFramerEditorEnvironment,setElementInert}from\"https://framerusercontent.com/modules/ftX3Jc41Y7LVySIwERQ6/Cl9pDI0KnsePkqBWjIGL/useInViewport.js\";const TESTIMONIAL_COLUMN_ATTR=\"data-bunq-testimonial-column\";const TESTIMONIAL_CLONE_ATTR=\"data-bunq-testimonial-clone\";const CMS_COLLECTION_FIELD_LAYER_SELECTOR=['[data-framer-name=\"Title\"]','[data-framer-name=\"Description\"]','[data-framer-name=\"Category\"]','[data-framer-name=\"Year\"]',\"[data-collection-category]\",\"article\"].join(\", \");const LOAD_MORE_LABEL_PATTERN=/load more|show more|meer laden|afficher plus|cargar más|carica di più/i;const SPINNER_OR_LOADING_LABEL_PATTERN=/^(loading|loading\\.\\.\\.|spinner)$/i;export const CMS_COLLECTION_PAGINATION_STYLES={justifyContent:\"center\",alignItems:\"center\",width:\"auto\",maxWidth:\"100%\",flex:\"0 0 auto\",alignSelf:\"center\",boxSizing:\"border-box\",marginTop:getSpacing(24),gridColumn:\"1 / -1\",justifySelf:\"center\"};const CMS_COLLECTION_PAGINATION_BUTTON_STYLES={alignSelf:\"center\",flex:\"0 0 auto\",width:\"auto\",maxWidth:\"100%\",boxSizing:\"border-box\",marginTop:getSpacing(24),gridColumn:\"1 / -1\",justifySelf:\"center\"};const CMS_COLLECTION_INFINITE_SCROLL_SENTINEL_STYLES={...CMS_COLLECTION_PAGINATION_STYLES,width:\"100%\",height:\"1px\",minHeight:0,overflow:\"hidden\",opacity:0,marginTop:0,pointerEvents:\"none\"};const CMS_PAGINATION_CHILD_HAS=':has(> [data-framer-name*=\"Load more\" i], > [data-framer-name*=\"Pagination\" i], > [data-framer-name*=\"Spinner\" i])';export const CMS_COLLECTION_GRID_ATTR=\"data-bunq-cms-grid\";export const CMS_COLLECTION_SEARCHING_ATTR=\"data-bunq-collection-searching\";export const CMS_COLLECTION_PLACEHOLDER_ATTR=\"data-bunq-cms-placeholder\";export function isCmsCollectionPlaceholder(element){return element.hasAttribute(CMS_COLLECTION_PLACEHOLDER_ATTR);}export const SECTION_GRID_CARDS_CMS_GRID_ID=\"section-grid-cards\";export function buildCmsCollectionGridCriticalCss(gridId,columns,gap){const host=`[${CMS_COLLECTION_GRID_ATTR}=\"${gridId}\"]`;const slotRules=[\"width:100% !important\",\"max-width:100% !important\",\"min-width:100% !important\",\"flex:1 1 100% !important\",\"align-self:stretch !important\",\"box-sizing:border-box !important\"].join(\";\");const gridRules=[\"display:grid !important\",`grid-template-columns:${columns} !important`,`gap:${gap} !important`,\"width:100% !important\",\"max-width:100% !important\",\"min-width:100% !important\",\"box-sizing:border-box !important\"].join(\";\");const slot=`${host} > :not(style):not(script):not(link):not(template)`;const pagination=[`${host} [data-framer-name*=\"Load More\" i]`,`${host} [data-framer-name*=\"Load more\" i]`,`${host} [data-framer-name*=\"Pagination\" i]`].join(\",\");const spinner=`${host} [data-framer-name*=\"Spinner\" i],${host} [data-framer-name=\"Loading\"]`;return[cmsChromeHideCss(host),`${host}{display:block;width:100%;min-width:0}`,`${slot}{${slotRules}}`,`${slot}:has(> :nth-child(2)),${slot} > *:has(> :nth-child(2)){${gridRules}}`,`${slot}:has(> :nth-child(2))${CMS_PAGINATION_CHILD_HAS},${slot} > *:has(> :nth-child(2))${CMS_PAGINATION_CHILD_HAS}{grid-auto-rows:auto!important}`,`${pagination}{grid-column:1/-1!important;width:auto!important;max-width:100%!important;justify-self:center!important}`,`${spinner}{grid-column:1/-1!important;width:100%!important;justify-self:center!important}`,`${spinner}{height:1px!important;min-height:0!important;overflow:hidden!important;opacity:0!important;margin:0!important;pointer-events:none!important}`].join(\"\");}export const CMS_COLLECTION_LAYOUT_ATTR=\"data-bunq-cms-layout\";const UNITLESS_CSS_PROPERTIES=new Set([\"opacity\",\"zIndex\",\"flex\",\"flexGrow\",\"flexShrink\",\"order\",\"lineHeight\",\"fontWeight\",\"gridRow\",\"gridColumn\",\"gridRowStart\",\"gridRowEnd\",\"gridColumnStart\",\"gridColumnEnd\",\"aspectRatio\",\"scale\"]);function formatCssValue(property,value){if(value===undefined||value===null||value===false||value===\"\")return undefined;if(typeof value===\"number\"){return UNITLESS_CSS_PROPERTIES.has(property)||value===0?String(value):`${value}px`;}return String(value).replace(/[{};<>]/g,\"\");}export function cssDeclarationsFromStyles(styles,important=true){const suffix=important?\"!important\":\"\";return Object.entries(styles).map(([property,value])=>{const formatted=formatCssValue(property,value);return formatted===undefined?\"\":`${cssPropertyName(property)}:${formatted}${suffix}`;}).filter(declaration=>declaration!==\"\").join(\";\");}export function getCmsCollectionLayoutId(breakpoint,reactId){return`${breakpoint}-${reactId.replace(/[^a-zA-Z0-9_-]/g,\"\")}`;}export function getCmsCollectionLayoutSelectors(layoutId){const host=`[${CMS_COLLECTION_LAYOUT_ATTR}=\"${layoutId.replace(/[^a-zA-Z0-9_-]/g,\"\")}\"]`;const layoutChild=\":not(style):not(script):not(link):not(template)\";const slot=`${host} > ${layoutChild}`;const gridRootSelectors=[`${slot}:has(> :nth-child(2))`,`${slot} > :only-child:has(> :nth-child(2))`];const notPagination=':not([data-framer-name*=\"Load more\" i]):not([data-framer-name*=\"Pagination\" i]):not([data-framer-name*=\"Spinner\" i])';const itemFilter=`${layoutChild}${notPagination}`;return{host,slot,gridRoots:gridRootSelectors.join(\",\"),itemFilter,items:gridRootSelectors.map(root=>`${root} > ${itemFilter}`).join(\",\")};}const CMS_SLOT_SIZE_RULES=\"width:100%!important;max-width:100%!important;min-width:100%!important;box-sizing:border-box!important\";const CMS_SLOT_POSITION_RESET_RULES=\"position:relative!important;inset:auto!important;transform:none!important\";export function buildCmsCollectionLayoutCriticalCss(layoutId,collectionRootStyles,collectionItemStyles={},options={}){const selectors=getCmsCollectionLayoutSelectors(layoutId);const rootDeclarations=cssDeclarationsFromStyles(collectionRootStyles);const itemDeclarations=cssDeclarationsFromStyles(collectionItemStyles,false);const gridRootsWithPagination=selectors.gridRoots.split(\",\").map(root=>`${root}${CMS_PAGINATION_CHILD_HAS}`).join(\",\");const slotRules=options.resetSlotPosition?`${CMS_SLOT_SIZE_RULES};${CMS_SLOT_POSITION_RESET_RULES}`:CMS_SLOT_SIZE_RULES;return[cmsChromeHideCss(selectors.host),`${selectors.slot}{${slotRules}}`,rootDeclarations===\"\"?\"\":`${selectors.gridRoots}{${rootDeclarations}}`,isGridLayout(collectionRootStyles)?`${gridRootsWithPagination}{grid-auto-rows:auto!important}`:\"\",itemDeclarations===\"\"?\"\":`${selectors.items}{${itemDeclarations}}`].join(\"\");}export const CMS_COLLECTION_CAP_READY_ATTR=\"data-bunq-cms-cap-ready\";export function buildCmsCollectionItemCapCriticalCss(layoutId,maxVisibleItems){if(!Number.isFinite(maxVisibleItems)||maxVisibleItems<1)return\"\";const firstHidden=Math.floor(maxVisibleItems)+1;const selectors=getCmsCollectionLayoutSelectors(layoutId);const pendingHost=`${selectors.host}:not([${CMS_COLLECTION_CAP_READY_ATTR}])`;const cappedItems=selectors.items.split(\",\").map(item=>`${pendingHost}${item.slice(selectors.host.length)}:nth-child(n+${firstHidden})`).join(\",\");return`${cappedItems}{display:none}`;}export function buildCmsCollectionFlexWrapCriticalCss(hostSelector,maxWidth,gap){const slotRules=[\"width:100% !important\",\"max-width:100% !important\",\"min-width:100% !important\",\"flex:1 1 100% !important\",\"align-self:stretch !important\",\"box-sizing:border-box !important\"].join(\";\");const wrapRules=[\"display:flex !important\",\"flex-direction:row !important\",\"flex-wrap:wrap !important\",\"justify-content:center !important\",\"align-items:center !important\",`gap:${gap} !important`,\"width:100% !important\",\"max-width:100% !important\",\"height:auto !important\",\"box-sizing:border-box !important\"].join(\";\");const itemRules=[\"width:auto !important\",\"max-width:100% !important\",\"flex:0 0 auto !important\",\"align-self:center !important\",\"box-sizing:border-box !important\"].join(\";\");const slot=`${hostSelector} > :not(style):not(script):not(link):not(template)`;const wrapTargets=[`${slot}:has(> :nth-child(2))`,`${slot} > *:has(> *)`,`${slot} > * > *:has(> *)`].join(\",\");return[cmsChromeHideCss(hostSelector),`${hostSelector}{display:block;width:100%;max-width:${maxWidth};margin-left:auto;margin-right:auto;box-sizing:border-box}`,`${slot}{${slotRules}}`,`${wrapTargets}{${wrapRules}}`,`${wrapTargets} > *{${itemRules}}`].join(\"\");}export const CMS_COLLECTION_ROWS_ATTR=\"data-bunq-cms-rows\";export const SECTION_SEARCH_RESULTS_CMS_ROWS_ID=\"section-search-results\";export function buildCmsCollectionRowsCriticalCss(rowsId){const host=`[${CMS_COLLECTION_ROWS_ATTR}=\"${rowsId}\"]`;const stretch=[\"width:100% !important\",\"max-width:100% !important\",\"min-width:0 !important\",\"box-sizing:border-box\"].join(\";\");const slot=`${host} > :not(style):not(script):not(link):not(template)`;return[cmsChromeHideCss(host),`${slot},${slot} > *{${stretch}}`,`${host} div[class*=\"-container\"]{${stretch};flex:1 0 auto !important}`].join(\"\");}function isTestimonialColumnWrapper(element){return element instanceof HTMLElement&&element.hasAttribute(TESTIMONIAL_COLUMN_ATTR);}const CMS_LAYOUT_CHROME_TAGS=new Set([\"STYLE\",\"SCRIPT\",\"LINK\",\"TEMPLATE\"]);export function isCmsLayoutChromeElement(element){return CMS_LAYOUT_CHROME_TAGS.has(element.tagName);}function layoutElementChildren(parent){return Array.from(parent.children).filter(child=>child instanceof HTMLElement&&!isCmsLayoutChromeElement(child)&&!isTestimonialColumnWrapper(child));}function cmsChromeHideCss(hostSelector){return`${hostSelector} > style,${hostSelector} > script,${hostSelector} > link,${hostSelector} > template{display:none!important}`;}export function isCmsCollectionPaginationControl(element){if(isTestimonialColumnWrapper(element)){return false;}const framerName=element.getAttribute(\"data-framer-name\")?.toLowerCase()??\"\";const layerName=element.getAttribute(\"name\")?.toLowerCase()??\"\";if(framerName.includes(\"pagination\")||framerName.includes(\"load more\")||framerName.includes(\"loadmore\")||framerName.includes(\"spinner\")||framerName===\"loading\"||framerName.includes(\"loading\")||layerName.includes(\"pagination\")||layerName.includes(\"load more\")||layerName.includes(\"loadmore\")||layerName.includes(\"spinner\")||layerName===\"loading\"){return true;}const ariaLabel=element.getAttribute(\"aria-label\")?.toLowerCase()??\"\";if(ariaLabel.includes(\"pagination\")||ariaLabel.includes(\"loading\")||ariaLabel.includes(\"spinner\")){return true;}if(element.getAttribute(\"aria-busy\")===\"true\"&&!element.querySelector(CMS_COLLECTION_FIELD_LAYER_SELECTOR)){return true;}if(element.tagName===\"NAV\"&&element.querySelector('[aria-current=\"page\"]')){return true;}if(element.querySelector(CMS_COLLECTION_FIELD_LAYER_SELECTOR)){return false;}const controls=(element.matches(\"button, a, [role='button']\")?[element]:Array.from(element.querySelectorAll(\"button, a, [role='button']\"))).filter(node=>node instanceof HTMLElement);if(controls.length===1){const label=(controls[0].textContent??\"\").trim();if(label.length>0&&LOAD_MORE_LABEL_PATTERN.test(label)){return true;}}if(controls.length>=2){const hasPageNumber=controls.some(control=>/^\\d+$/.test((control.textContent??\"\").trim()));if(hasPageNumber){return true;}}if(controls.length===0){const text=(element.textContent??\"\").trim();if(text.length>0&&text.length<48){if(LOAD_MORE_LABEL_PATTERN.test(text)||SPINNER_OR_LOADING_LABEL_PATTERN.test(text)){return true;}}}return false;}function isCmsCollectionInfiniteScrollSpinner(element){const framerName=element.getAttribute(\"data-framer-name\")?.toLowerCase()??\"\";const layerName=element.getAttribute(\"name\")?.toLowerCase()??\"\";const ariaLabel=element.getAttribute(\"aria-label\")?.toLowerCase()??\"\";return framerName.includes(\"spinner\")||framerName===\"loading\"||layerName.includes(\"spinner\")||ariaLabel.includes(\"loading\")||ariaLabel.includes(\"spinner\");}export function isCmsCollectionLoadMoreBusy(element){return element.getAttribute(\"aria-busy\")===\"true\"||element.querySelector('[aria-busy=\"true\"]')!==null;}export function isCmsCollectionLoadMoreExhausted(element){if(isCmsCollectionLoadMoreBusy(element)){return false;}if(element.getAttribute(\"aria-disabled\")===\"true\"||element.hasAttribute(\"disabled\")){return true;}const button=element.matches(\"button\")?element:element.querySelector(\"button\");return Boolean(button&&(button.getAttribute(\"aria-disabled\")===\"true\"||button.hasAttribute(\"disabled\")));}export function isCmsCollectionLoadMoreControl(element){const framerName=element.getAttribute(\"data-framer-name\")?.toLowerCase()??\"\";const layerName=element.getAttribute(\"name\")?.toLowerCase()??\"\";const names=[framerName,layerName];if(names.some(name=>name.includes(\"load more\")||name.includes(\"loadmore\"))){return true;}const buttons=element.matches(\"button\")?[element]:Array.from(element.querySelectorAll(\"button\"));return buttons.length===1&&LOAD_MORE_LABEL_PATTERN.test((buttons[0].textContent??\"\").trim());}function isCmsCollectionSearchActive(element){return element.closest(`[${CMS_COLLECTION_SEARCHING_ATTR}=\"true\"]`)!==null;}function getCmsCollectionPaginationStyles(element){if(isCmsCollectionSearchActive(element)){return{display:\"none\"};}if(isCmsCollectionInfiniteScrollSpinner(element)){return CMS_COLLECTION_INFINITE_SCROLL_SENTINEL_STYLES;}if(isCmsCollectionLoadMoreExhausted(element)){return{display:\"none\"};}if(element.matches(\"button\")){return CMS_COLLECTION_PAGINATION_BUTTON_STYLES;}return CMS_COLLECTION_PAGINATION_STYLES;}const CMS_COLLECTION_PAGINATION_HIDDEN_ATTR=\"data-bunq-cms-pagination-hidden\";function applyCmsCollectionPaginationStyles(element){const styles=getCmsCollectionPaginationStyles(element);if(styles.display===\"none\"){if(!element.hasAttribute(CMS_COLLECTION_PAGINATION_HIDDEN_ATTR)){element.setAttribute(CMS_COLLECTION_PAGINATION_HIDDEN_ATTR,\"true\");}}else if(element.hasAttribute(CMS_COLLECTION_PAGINATION_HIDDEN_ATTR)){element.removeAttribute(CMS_COLLECTION_PAGINATION_HIDDEN_ATTR);element.style.removeProperty(\"display\");}applyInlineStyles(element,styles,true);}function getLooseCollectionItems(root){const direct=layoutElementChildren(root);if(direct.length===1){const wrapper=direct[0];const nested=layoutElementChildren(wrapper);if(nested.length>1){return nested;}}return direct;}function cssPropertyName(property){return property.replace(/[A-Z]/g,letter=>`-${letter.toLowerCase()}`);}function applyInlineStyles(element,styles,important=false){Object.entries(styles).forEach(([property,value])=>{if(value==null)return;if(important){element.style.setProperty(cssPropertyName(property),String(value),\"important\");return;}element.style[property]=String(value);});}export function getCollectionRoots(host){return Array.from(host.children).flatMap(child=>{if(!(child instanceof HTMLElement)||isCmsLayoutChromeElement(child))return[];if(child.style.display===\"contents\"&&child.childElementCount>0){return Array.from(child.children).filter(nested=>nested instanceof HTMLElement&&!isCmsLayoutChromeElement(nested));}return[child];});}export function getCollectionGridRoot(root){const directChildren=layoutElementChildren(root);if(directChildren.length===1){const wrapper=directChildren[0];const nestedChildren=layoutElementChildren(wrapper);if(nestedChildren.length>1){return wrapper;}}return root;}export function getCmsCollectionLayoutRoots(host){const roots=getCollectionRoots(host);const candidates=roots.length>0?roots:[host];const layoutRoots=candidates.map(root=>getCollectionGridRoot(root));return[...new Set(layoutRoots)];}export function getCmsCollectionItemElements(host){return getCmsCollectionLayoutRoots(host).flatMap(gridRoot=>Array.from(gridRoot.children).filter(child=>child instanceof HTMLElement&&!isCmsLayoutChromeElement(child)&&!isTestimonialColumnWrapper(child)&&!isCmsCollectionPlaceholder(child)&&!isCmsCollectionPaginationControl(child)));}export function isCmsCollectionCardElement(element){return element.matches(CMS_COLLECTION_FIELD_LAYER_SELECTOR)||element.querySelector(CMS_COLLECTION_FIELD_LAYER_SELECTOR)!==null;}export function getCmsCollectionCardElements(items){const cards=items.filter(isCmsCollectionCardElement);return cards.length>0?cards:items;}export function countVisibleCmsCollectionCards(items){return getCmsCollectionCardElements(items).filter(item=>item.style.display!==\"none\").length;}function isCmsCollectionItemChild(child){return child instanceof HTMLElement&&!isCmsLayoutChromeElement(child)&&!isTestimonialColumnWrapper(child)&&!isCmsCollectionPlaceholder(child)&&!isCmsCollectionPaginationControl(child);}const CMS_COLLECTION_LIST_ITEM_ATTR=\"data-bunq-cms-listitem\";function isTestimonialClone(element){return element.hasAttribute(TESTIMONIAL_CLONE_ATTR);}export function syncCmsCollectionListItemRoles(listRoot){const isList=listRoot.getAttribute(\"role\")===\"list\";Array.from(listRoot.children).forEach(child=>{if(!(child instanceof HTMLElement))return;const isListItem=isList&&isCmsCollectionItemChild(child)&&!isTestimonialClone(child);if(isListItem){if(child.getAttribute(\"role\")!==\"listitem\"){child.setAttribute(\"role\",\"listitem\");child.setAttribute(CMS_COLLECTION_LIST_ITEM_ATTR,\"true\");}return;}if(child.hasAttribute(CMS_COLLECTION_LIST_ITEM_ATTR)){child.removeAttribute(\"role\");child.removeAttribute(CMS_COLLECTION_LIST_ITEM_ATTR);}});}function getCmsCollectionSearchRoots(host){const hostRoot=getCollectionGridRoot(host);const hostItems=Array.from(hostRoot.children).filter(isCmsCollectionItemChild);const layoutRoots=getCmsCollectionLayoutRoots(host);const layoutItems=layoutRoots.flatMap(root=>Array.from(root.children).filter(isCmsCollectionItemChild));if(hostItems.length>=layoutItems.length&&hostItems.length>0){return[hostRoot];}return layoutRoots.length>0?layoutRoots:[hostRoot];}function getCmsCollectionSearchItems(host){return getCmsCollectionSearchRoots(host).flatMap(root=>Array.from(root.children).filter(isCmsCollectionItemChild));}export function setCmsCollectionSearchActive(host,active){if(active){host.setAttribute(CMS_COLLECTION_SEARCHING_ATTR,\"true\");return;}host.removeAttribute(CMS_COLLECTION_SEARCHING_ATTR);}export function getCmsCollectionPaginationControls(host){const found=new Set;const addFrom=parent=>{if(!parent){return;}Array.from(parent.children).forEach(child=>{if(child instanceof HTMLElement&&isCmsCollectionPaginationControl(child)){found.add(child);}});};getCmsCollectionSearchRoots(host).forEach(gridRoot=>{addFrom(gridRoot);addFrom(gridRoot.parentElement);});addFrom(host);const named=host.querySelectorAll('[data-framer-name=\"Button Load More\"]');named.forEach(element=>found.add(element));const scope=host.closest(\"[data-bunq-collection-scope]\");if(scope instanceof HTMLElement){addFrom(scope);scope.querySelectorAll('[data-framer-name=\"Button Load More\"]').forEach(element=>{found.add(element);});}if(found.size>0){return[...found];}return Array.from(host.querySelectorAll('[data-framer-name*=\"Load More\" i], [data-framer-name*=\"Load more\" i], [data-framer-name*=\"Pagination\" i]')).filter(element=>isCmsCollectionPaginationControl(element));}function clickCmsCollectionLoadMore(host){const controls=getCmsCollectionPaginationControls(host);for(const control of controls){if(isCmsCollectionLoadMoreExhausted(control)){continue;}if(isCmsCollectionInfiniteScrollSpinner(control)){control.scrollIntoView({block:\"end\",inline:\"nearest\"});return true;}const clickable=control.matches(\"button, a, [role='button']\")?control:control.querySelector(\"button, a, [role='button']\");const target=clickable??control;if(isCmsCollectionLoadMoreExhausted(target)){continue;}target.click();return true;}return false;}function waitForCollectionItemIncrease(host,previousCount,timeoutMs,signal){return new Promise(resolve=>{let settled=false;let timeoutId=0;let observer=null;const finish=grew=>{if(settled){return;}settled=true;window.clearTimeout(timeoutId);observer?.disconnect();signal?.removeEventListener(\"abort\",onAbort);resolve(grew);};const onAbort=()=>finish(false);if(getCmsCollectionSearchItems(host).length>previousCount){finish(true);return;}if(signal?.aborted){finish(false);return;}timeoutId=window.setTimeout(()=>finish(false),timeoutMs);if(typeof MutationObserver!==\"undefined\"){observer=new MutationObserver(()=>{if(getCmsCollectionSearchItems(host).length>previousCount){finish(true);}});observer.observe(host,{childList:true,subtree:true});}signal?.addEventListener(\"abort\",onAbort);});}export async function expandCmsCollectionPagination(host,options={}){const maxClicks=options.maxClicks??50;const timeoutMs=options.timeoutMs??2e3;for(let click=0;click<maxClicks;click+=1){if(options.signal?.aborted){break;}const previousCount=getCmsCollectionSearchItems(host).length;if(!clickCmsCollectionLoadMore(host)){break;}const grew=await waitForCollectionItemIncrease(host,previousCount,timeoutMs,options.signal);if(!grew){break;}}return getCmsCollectionSearchItems(host).length;}function applyTestimonialBackgroundVariant(element,visualIndex){const variant=getTestimonialCarouselBackgroundVariant(visualIndex);element.setAttribute(TESTIMONIAL_CMS_BG_VARIANT_ATTR,variant);element.querySelectorAll(\"article\").forEach(article=>{article.setAttribute(TESTIMONIAL_CMS_BG_VARIANT_ATTR,variant);});}export function remapElementIdTree(root,oldId,newId){if(!oldId||!newId||oldId===newId)return;const rewrite=element=>{if(!element.id)return;if(element.id===oldId){element.id=newId;return;}if(element.id.startsWith(`${oldId}-`)){element.id=`${newId}${element.id.slice(oldId.length)}`;}};rewrite(root);root.querySelectorAll(\"[id]\").forEach(rewrite);}export function dedupeTestimonialArticleIds(host){const articles=[...host.querySelectorAll(\"article[id]\")];const seen=new Set;articles.forEach((article,index)=>{const current=article.id;const isFramerInternalId=/^[A-Za-z][A-Za-z0-9]{7,11}$/.test(current)&&!current.includes(\"-\");if(!current||seen.has(current)||isFramerInternalId){const nextId=`cms-testimonial-card-${index+1}`;if(!current){article.id=nextId;}else{remapElementIdTree(article,current,nextId);}seen.add(nextId);return;}seen.add(current);});}function removeTestimonialClones(root){root.querySelectorAll(`[${TESTIMONIAL_CLONE_ATTR}]`).forEach(clone=>clone.remove());}function getOriginalColumnItems(column){return Array.from(column.children).filter(child=>child instanceof HTMLElement&&!child.hasAttribute(TESTIMONIAL_CLONE_ATTR));}function fillTestimonialColumn(column,minimumItems,visualIndexOffset,itemStyles){const originals=getOriginalColumnItems(column);originals.forEach((item,index)=>applyTestimonialBackgroundVariant(item,visualIndexOffset+index));if(minimumItems<=originals.length||originals.length===0)return;for(let index=originals.length;index<minimumItems;index+=1){const clone=originals[index%originals.length].cloneNode(true);clone.setAttribute(TESTIMONIAL_CLONE_ATTR,\"true\");clone.setAttribute(\"aria-hidden\",\"true\");setElementInert(clone,true);applyInlineStyles(clone,itemStyles);applyTestimonialBackgroundVariant(clone,visualIndexOffset+index);column.appendChild(clone);}}function isGridLayout(styles){return styles.display===\"grid\"||styles.display===\"inline-grid\";}function hasCmsCollectionPaginationChild(gridRoot){return Array.from(gridRoot.children).some(child=>child instanceof HTMLElement&&!isCmsLayoutChromeElement(child)&&!isTestimonialColumnWrapper(child)&&isCmsCollectionPaginationControl(child));}export function applyCmsCollectionLayoutToHost(host,collectionRootStyles,collectionItemStyles={},sectionBreakpoint,scrollRootRef){if(sectionBreakpoint&&host.getAttribute(SECTION_BREAKPOINT_ATTR)!==sectionBreakpoint){host.setAttribute(SECTION_BREAKPOINT_ATTR,sectionBreakpoint);}let firstScrollRoot=null;getCollectionRoots(host).forEach(root=>{const gridRoot=getCollectionGridRoot(root);applyInlineStyles(root,{width:\"100%\",maxWidth:\"100%\",minWidth:\"100%\",boxSizing:\"border-box\"},true);if(gridRoot!==root){applyInlineStyles(root,{display:\"block\"},true);Array.from(root.children).forEach(child=>{if(!(child instanceof HTMLElement)||child===gridRoot||isCmsLayoutChromeElement(child))return;if(isCmsCollectionPaginationControl(child)){applyCmsCollectionPaginationStyles(child);}});}applyInlineStyles(gridRoot,collectionRootStyles,true);if(isGridLayout(collectionRootStyles)&&hasCmsCollectionPaginationChild(gridRoot)){applyInlineStyles(gridRoot,{gridAutoRows:\"auto\"},true);}Array.from(gridRoot.children).forEach(item=>{if(!(item instanceof HTMLElement)||isTestimonialColumnWrapper(item)||isCmsLayoutChromeElement(item)){return;}if(isCmsCollectionPaginationControl(item)){applyCmsCollectionPaginationStyles(item);return;}applyInlineStyles(item,collectionItemStyles);});syncCmsCollectionListItemRoles(gridRoot);if(!firstScrollRoot){firstScrollRoot=gridRoot;}});if(scrollRootRef){scrollRootRef.current=firstScrollRoot;}if(!isFramerEditorEnvironment()){hideNonDisplayableTestimonialItems(host);}}export function useCmsCollectionLayout(hostRef,enabled,collectionRootStyles,collectionItemStyles={},sectionBreakpoint,scrollRootRef){const canvasObserverRef=useRef(null);const applyStyles=useCallback(()=>{const host=hostRef.current;if(!host)return;applyCmsCollectionLayoutToHost(host,collectionRootStyles,collectionItemStyles,sectionBreakpoint,scrollRootRef);},[hostRef,collectionRootStyles,collectionItemStyles,sectionBreakpoint,scrollRootRef]);if(enabled&&typeof window!==\"undefined\"){queueMicrotask(()=>{applyStyles();const host=hostRef.current;if(!host||canvasObserverRef.current||typeof MutationObserver===\"undefined\")return;const observer=new MutationObserver(applyStyles);observer.observe(host,{childList:true,subtree:true});canvasObserverRef.current=observer;});}useLayoutEffect(()=>{if(!enabled){canvasObserverRef.current?.disconnect();canvasObserverRef.current=null;if(scrollRootRef){scrollRootRef.current=null;}return undefined;}const host=hostRef.current;if(!host)return undefined;applyStyles();if(typeof MutationObserver===\"undefined\"){return()=>{if(scrollRootRef){scrollRootRef.current=null;}if(sectionBreakpoint){host.removeAttribute(SECTION_BREAKPOINT_ATTR);}};}const observer=new MutationObserver(applyStyles);observer.observe(host,{childList:true,subtree:true});return()=>{observer.disconnect();canvasObserverRef.current?.disconnect();canvasObserverRef.current=null;if(scrollRootRef){scrollRootRef.current=null;}if(sectionBreakpoint){host.removeAttribute(SECTION_BREAKPOINT_ATTR);}};},[hostRef,enabled,applyStyles,sectionBreakpoint,scrollRootRef]);}export function useCmsTestimonialCarouselColumns(hostRef,enabled,isPhone,trackStyles,columnStyles,itemStyles,phoneListStyles,minimumItemsPerColumn,applyParallax,leftParallaxY,rightParallaxY){useEffect(()=>{if(!enabled)return undefined;const host=hostRef.current;if(!host)return undefined;let isApplyingLayout=false;const ensureColumn=(root,side)=>{const existing=root.querySelector(`[${TESTIMONIAL_COLUMN_ATTR}=\"${side}\"]`);if(existing){applyInlineStyles(existing,columnStyles);return existing;}const columnEl=document.createElement(\"div\");columnEl.setAttribute(TESTIMONIAL_COLUMN_ATTR,side);applyInlineStyles(columnEl,columnStyles);root.appendChild(columnEl);return columnEl;};const flattenColumns=root=>{root.querySelectorAll(`[${TESTIMONIAL_COLUMN_ATTR}]`).forEach(column=>{while(column.firstChild){root.appendChild(column.firstChild);}column.remove();});};const applyLayout=()=>{if(isApplyingLayout)return;isApplyingLayout=true;try{Array.from(host.children).forEach(collectionRoot=>{const root=collectionRoot;removeTestimonialClones(root);const looseItems=getLooseCollectionItems(root);if(isPhone){flattenColumns(root);applyInlineStyles(root,phoneListStyles);looseItems.forEach((item,index)=>{applyTestimonialBackgroundVariant(item,index);applyInlineStyles(item,itemStyles);});return;}applyInlineStyles(root,trackStyles);const leftColumn=ensureColumn(root,\"left\");const rightColumn=ensureColumn(root,\"right\");looseItems.forEach((item,index)=>{applyInlineStyles(item,itemStyles);const target=index%2===0?leftColumn:rightColumn;if(item.parentElement!==target){target.appendChild(item);}});const leftItems=getOriginalColumnItems(leftColumn);const filledLeftCount=Math.max(minimumItemsPerColumn,leftItems.length);fillTestimonialColumn(leftColumn,minimumItemsPerColumn,0,itemStyles);fillTestimonialColumn(rightColumn,minimumItemsPerColumn,filledLeftCount,itemStyles);Array.from(root.children).forEach(child=>{if(isTestimonialColumnWrapper(child))return;if(child instanceof HTMLElement&&child.childElementCount===0){child.remove();}});});}finally{setTimeout(()=>{isApplyingLayout=false;},0);}dedupeTestimonialArticleIds(host);};let cancelled=false;let rafA=0;let rafB=0;rafA=requestAnimationFrame(()=>{rafB=requestAnimationFrame(()=>{if(!cancelled)applyLayout();});});let observer;if(typeof MutationObserver!==\"undefined\"){observer=new MutationObserver(()=>{if(!isApplyingLayout)applyLayout();});observer.observe(host,{childList:true,subtree:true});}return()=>{cancelled=true;cancelAnimationFrame(rafA);cancelAnimationFrame(rafB);observer?.disconnect();};},[hostRef,enabled,isPhone,trackStyles,columnStyles,itemStyles,phoneListStyles,minimumItemsPerColumn]);useLayoutEffect(()=>{if(!enabled||isPhone||!applyParallax||!leftParallaxY||!rightParallaxY)return undefined;const host=hostRef.current;if(!host)return undefined;const applyTransforms=()=>{host.querySelectorAll(`[${TESTIMONIAL_COLUMN_ATTR}=\"left\"]`).forEach(column=>{column.style.transform=`translateY(${leftParallaxY.get()})`;});host.querySelectorAll(`[${TESTIMONIAL_COLUMN_ATTR}=\"right\"]`).forEach(column=>{column.style.transform=`translateY(${rightParallaxY.get()})`;});};applyTransforms();const unsubscribeLeft=leftParallaxY.on(\"change\",applyTransforms);const unsubscribeRight=rightParallaxY.on(\"change\",applyTransforms);return()=>{unsubscribeLeft();unsubscribeRight();};},[hostRef,enabled,isPhone,applyParallax,leftParallaxY,rightParallaxY]);}// recompile: 1792505897503\n\nexport const __FramerMetadata__ = {\"exports\":{\"isCmsLayoutChromeElement\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCmsCollectionPaginationControls\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCmsCollectionItemElements\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"expandCmsCollectionPagination\":{\"type\":\"function\",\"isAsync\":true,\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCmsCollectionLoadMoreControl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCmsCollectionLayoutId\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"remapElementIdTree\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SECTION_GRID_CARDS_CMS_GRID_ID\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CMS_COLLECTION_LAYOUT_ATTR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useCmsTestimonialCarouselColumns\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildCmsCollectionRowsCriticalCss\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"countVisibleCmsCollectionCards\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CMS_COLLECTION_SEARCHING_ATTR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildCmsCollectionGridCriticalCss\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CMS_COLLECTION_CAP_READY_ATTR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CmsCollectionLayoutCriticalCssOptions\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildCmsCollectionFlexWrapCriticalCss\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CMS_COLLECTION_GRID_ATTR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CmsCollectionLayoutSelectors\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"dedupeTestimonialArticleIds\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCmsCollectionPlaceholder\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCollectionRoots\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCmsCollectionLoadMoreBusy\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"syncCmsCollectionListItemRoles\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCmsCollectionPaginationControl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildCmsCollectionLayoutCriticalCss\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setCmsCollectionSearchActive\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CMS_COLLECTION_PAGINATION_STYLES\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CMS_COLLECTION_PLACEHOLDER_ATTR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCmsCollectionCardElements\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"applyCmsCollectionLayoutToHost\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCmsCollectionCardElement\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCmsCollectionLayoutSelectors\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildCmsCollectionItemCapCriticalCss\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SECTION_SEARCH_RESULTS_CMS_ROWS_ID\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCmsCollectionLayoutRoots\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useCmsCollectionLayout\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCmsCollectionLoadMoreExhausted\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CMS_COLLECTION_ROWS_ATTR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"cssDeclarationsFromStyles\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCollectionGridRoot\":{\"type\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