(()=>{if(!window.__vkGroupScrollableInit){let t=!(window.__vkGroupScrollableInit=!0),o=null,l=new WeakSet,r=new WeakSet,a=new MutationObserver(e=>{if(!t&&e.some(e=>"childList"===e.type&&(0<e.addedNodes.length||0<e.removedNodes.length))){let o=new Set,l=new Set;e.forEach(e=>{let t=e.target;for(;t&&(!t.classList||!t.classList.contains("wp-block-group")||!t.classList.contains("is-style-vk-group-scrollable"));)t=t.parentElement;t&&("true"===t.getAttribute("data-table-mode")&&c(t)?o:l).add(t)}),o.forEach(e=>{requestAnimationFrame(()=>{p(e)})}),l.forEach(e=>{requestAnimationFrame(()=>{d(e)})})}}),s=new WeakSet,i=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&!s.has(e.target)&&((c(e.target)?p:d)(e.target),s.add(e.target),i.unobserve(e.target))})},{rootMargin:"10%"}),e=new MutationObserver(e=>{e.forEach(e=>{"childList"===e.type&&0<e.addedNodes.length&&e.addedNodes.forEach(e=>{(e=e).nodeType===Node.ELEMENT_NODE&&e.classList&&e.classList.contains("wp-block-group")&&e.classList.contains("is-style-vk-group-scrollable")&&"true"===e.getAttribute("data-table-mode")&&(r.has(e)||(i.observe(e),r.add(e))),e.nodeType===Node.ELEMENT_NODE&&e.classList&&e.classList.contains("wp-block-group")&&e.classList.contains("is-style-vk-group-scrollable")&&b(e),e.nodeType===Node.ELEMENT_NODE&&(e.querySelectorAll(".wp-block-group.is-style-vk-group-scrollable").forEach(e=>{b(e)}),e.querySelectorAll('.wp-block-group.is-style-vk-group-scrollable[data-table-mode="true"]').forEach(e=>{r.has(e)||(i.observe(e),r.add(e))}))})})});"loading"===document.readyState?document.addEventListener("DOMContentLoaded",g):g();let n;function c(e){var t,e=e.getAttribute("data-scroll-breakpoint");if(e)return t=window.innerWidth,"group-scrollable-pc"===e||("group-scrollable-tablet"===e?t<=991.98:"group-scrollable-mobile"===e&&t<=575.98)}function u(){var e=document.querySelectorAll('.wp-block-group.is-style-vk-group-scrollable[data-table-mode="true"]');e.forEach(e=>{e=e,l.has(e)||(a.observe(e,{childList:!0,subtree:!0,attributes:!1}),l.add(e))}),e.forEach(e=>{(c(e)?p:d)(e)})}function d(e){let t=e.querySelectorAll('.wp-block-columns .wp-block-column[style*="min-width"]');0<t.length&&requestAnimationFrame(()=>{t.forEach(e=>{e.style.minWidth=""})})}function p(e){t=!0;var r=Array.from(e.querySelectorAll(".wp-block-columns"));if(0!==r.length){o||((o=document.createElement("div")).style.cssText="position: absolute; visibility: hidden; top: -9999px; left: -9999px;",document.body.appendChild(o));var a=o;let t=0,l=(r.forEach(e=>{e=e.querySelectorAll(".wp-block-column").length;e>t&&(t=e)}),[]);for(let o=0;o<t;o++){let t=[];r.forEach(e=>{e=Array.from(e.querySelectorAll(".wp-block-column"));e[o]&&t.push(e[o])}),l[o]=((e,l)=>{let r=[],t=0;return e.forEach(e=>{if(e)try{var t=e.cloneNode(!0),o=window.getComputedStyle(e);t.style.cssText=`
position: absolute;
visibility: hidden;
top: -9999px;
left: -9999px;
width: auto;
max-width: none;
min-width: auto;
padding: ${o.padding};
margin: ${o.margin};
border: ${o.border};
box-sizing: ${o.boxSizing};
font-size: ${o.fontSize};
font-family: ${o.fontFamily};
`,l.appendChild(t),r.push(t)}catch(e){}}),r.forEach(e=>{e=e.scrollWidth||e.offsetWidth;e>t&&(t=e)}),r.forEach(e=>{try{l.removeChild(e)}catch(e){}}),t})(t,a)}r.forEach(e=>{Array.from(e.querySelectorAll(".wp-block-column")).forEach((e,t)=>{0<l[t]&&(e.style.minWidth=l[t]+"px")})})}t=!1}function m(e,t){e.classList.contains("is-layout-grid")&&((e=>{var t;return e&&(t=window.innerWidth,"group-scrollable-pc"===e||("group-scrollable-tablet"===e?t<=991.98:"group-scrollable-mobile"===e&&t<=575.98))})(t)&&(t=(e=>{let t=null,o=null;var l,r,a=Array.from(e.classList).find(e=>e.includes("wp-container-core-group-is-layout-"));if(a?(t=e,o=a):(t=e.querySelector('[class*="wp-container-core-group-is-layout-"]'))&&(a=Array.from(t.classList),o=a.find(e=>e.includes("wp-container-core-group-is-layout-"))),o)for(let e=0;e<document.styleSheets.length;e++)try{var s=document.styleSheets[e],i=s.cssRules||s.rules;if(i)for(let e=0;e<i.length;e++){var n=i[e];if(n.selectorText&&n.selectorText.includes(o)){var c=n.style.gridTemplateColumns,u=(r=void 0,(l=c)?(r=l.match(/repeat\(\s*(\d+)\s*,\s*minmax\(\s*0(?:px)?\s*,\s*1fr\s*\)\s*\)/i))&&r[1]?{kind:"repeat-fr",value:r[1].trim()}:(r=l.match(/repeat\(\s*(\d+)\s*,\s*1fr\s*\)/i))&&r[1]?{kind:"repeat-fr",value:r[1].trim()}:(r=l.match(/min\(([^,]+),\s*100%\)/i))&&r[1]?{kind:"min",value:r[1].trim()}:(r=l.match(/minmax\(\s*([^,]+)\s*,\s*([^)]+)\)/i))&&r[1]&&r[2]?{kind:"minmax",value:`minmax(${r[1].trim()}, ${r[2].trim()})`}:null:null);if(u)return u}}}catch(e){}return{kind:"min",value:"12rem"}})(e))?(e.style.gridTemplateColumns="none","repeat-fr"===t.kind?e.style.gridAutoColumns=`calc(100% / ${t.value})`:"minmax"===t.kind?e.style.gridAutoColumns=t.value:e.style.gridAutoColumns=`minmax(min(${t.value}, 100%), max-content)`):(e.style.gridTemplateColumns="",e.style.gridAutoColumns=""))}function b(e){if(e.classList.contains("wp-block-group")&&e.classList.contains("is-style-vk-group-scrollable")){let t=e.getAttribute("data-scroll-breakpoint");t&&Array.from(e.children).forEach(e=>{e.classList&&e.classList.contains("wp-block-group")&&e.classList.contains("is-layout-grid")&&m(e,t)})}}function g(){document.querySelectorAll(".wp-block-group.is-style-vk-group-scrollable").forEach(e=>{b(e)}),document.querySelectorAll('.wp-block-group.is-style-vk-group-scrollable[data-table-mode="true"]').forEach(e=>{r.has(e)||(i.observe(e),r.add(e))}),document.querySelectorAll('.wp-block-group.is-style-vk-group-scrollable:not([data-table-mode="true"])').forEach(e=>{d(e)}),e.observe(document.body,{childList:!0,subtree:!0})}function h(e){e=e.getBoundingClientRect();return e.top<window.innerHeight&&0<e.bottom&&e.left<window.innerWidth&&0<e.right}window.addEventListener("resize",()=>{clearTimeout(n),n=setTimeout(()=>{document.querySelectorAll(".wp-block-group.is-style-vk-group-scrollable").forEach(e=>{h(e)&&b(e)}),document.querySelectorAll('.wp-block-group.is-style-vk-group-scrollable[data-table-mode="true"]').forEach(e=>{h(e)&&requestAnimationFrame(()=>{(c(e)?p:d)(e)})}),document.querySelectorAll('.wp-block-group.is-style-vk-group-scrollable:not([data-table-mode="true"])').forEach(e=>{h(e)&&d(e)})},250)}),window.addEventListener("vk-blocks-group-scrollable-update",()=>{u()})}})();