PageSourceSearch

https://www.meppel.nl/app/themes/sage/public/build/assets/frontend-CXYKeZRg.js

js meppel.nl collected 2026-10-02 09:54:07 UTC 127,364 bytes, 52 lines download raw bytes

1import{a as e,t}from"./rolldown-runtime-CNC7AqOf.js";function n(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)r!==`__proto__`&&(e[r]=n[r])}return e}var r={read:function(e){return e[0]===`"`&&(e=e.slice(1,-1)),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 i(e,t){function r(r,i,a){if(!(typeof document>`u`)){a=n({},t,a),typeof a.expires==`number`&&(a.expires=new Date(Date.now()+a.expires*864e5)),a.expires&&=a.expires.toUTCString(),r=encodeURIComponent(r).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o=``;for(var s in a)a[s]&&(o+=`; `+s,a[s]!==!0&&(o+=`=`+a[s].split(`;`)[0]));return document.cookie=r+`=`+e.write(i,r)+o}}function a(t){if(!(typeof document>`u`||arguments.length&&!t)){for(var n=document.cookie?document.cookie.split(`; `):[],r={},i=0;i<n.length;i++){var a=n[i].split(`=`),o=a.slice(1).join(`=`);try{var s=decodeURIComponent(a[0]);if(s in r||(r[s]=e.read(o,s)),t===s)break}catch{}}return t?r[t]:r}}return Object.create({set:r,get:a,remove:function(e,t){r(e,``,n({},t,{expires:-1}))},withAttributes:function(e){return i(this.converter,n({},this.attributes,e))},withConverter:function(e){return i(n({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var a=i(r,{path:`/`}),o={CONTRAST:`a11y-toolbar-contrast`,TEXT_SIZE:`a11y-toolbar-text-size`,OPEN_DYSLEXIC:`a11y-toolbar-open-dyslexic`},s=(e,t,n,r)=>{let i=document.createElement(`button`);if(i.id=`js-a11y-toolbar-`+e,i.classList.add(`a11y-toolbar__button`),i.classList.add(`a11y-toolbar__button--${e}`),i.setAttribute(`aria-label`,t),i.setAttribute(`title`,t),n!==void 0&&n!==``){let e=c(n);i.appendChild(e)}if(r!==void 0&&r!==``){let e=d(r);i.appendChild(e)}else i.setAttribute(`aria-label`,t);return i},c=e=>e.startsWith(`<svg`)?u(e):l(e),l=e=>{let t=document.createElement(`i`);return t.classList.add(`a11y-toolbar__icon`),t.classList.add(...e.split(` `)),t.setAttribute(`aria-hidden`,`true`),t},u=e=>{let t=document.createElement(`span`);return t.classList.add(`a11y-toolbar__icon`),t.classList.add(`a11y-toolbar__icon--svg`),t.innerHTML=e,t.setAttribute(`aria-hidden`,`true`),t},d=e=>{let t=document.createElement(`span`);return t.textContent=e,t.classList.add(`a11y-toolbar__button-text-after`),t},f=(e,t)=>{let n=`a11y-toolbar--contrast`,r,i,c,l,u=()=>{if(!t||!t.showContrastButton)return;r=t.iconOptions?.contrastIcon||``,i=t.textAfterOptions?.contrastTextAfter||``,c=t.labelOptions?.contrastIncreaseLabel||``,l=t.labelOptions?.contrastDecreaseLabel||``;let n=s(`contrast`,c,r,i);e.appendChild(n),d(),f(n),p(n)},d=()=>{m()&&!document.body.classList.contains(n)&&document.body.classList.toggle(n)},f=e=>{let t=m();h(e,t)},p=e=>{e.addEventListener(`click`,()=>{let t=!m();a.set(o.CONTRAST,t.toString(),{expires:90}),h(e,t),document.body.classList.toggle(n)})},m=()=>a.get(o.CONTRAST)===`true`,h=(e,t)=>{e.setAttribute(`aria-pressed`,t.toString()),e.setAttribute(`aria-label`,t?l:c),e.setAttribute(`title`,t?l:c)};u()},p=(e,t)=>{(()=>{if(!t)return;let n=typeof t.customButton==`function`?t.customButton():null;n&&e.appendChild(n)})()},m=[`input:not([inert]):not([inert] *)`,`select:not([inert]):not([inert] *)`,`textarea:not([inert]):not([inert] *)`,`a[href]:not([inert]):not([inert] *)`,`area[href]:not([inert]):not([inert] *)`,`button:not([inert]):not([inert] *)`,`[tabindex]:not(slot):not([inert]):not([inert] *)`,`audio[controls]:not([inert]):not([inert] *)`,`video[controls]:not([inert]):not([inert] *)`,`[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)`,`details>summary:first-of-type:not([inert]):not([inert] *)`,`details:not([inert]):not([inert] *)`],h=m.join(`,`),g=typeof Element>`u`,_=g?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,v=!g&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)==null?void 0:t.call(e)}:function(e){return e?.ownerDocument},y=function(e,t){var n;t===void 0&&(t=!0);var r=e==null||(n=e.getAttribute)==null?void 0:n.call(e,`inert`);return r===``||r===`true`||t&&e&&(typeof e.closest==`function`?e.closest(`[inert]`):y(e.parentNode))},b=function(e){var t,n=e==null||(t=e.getAttribute)==null?void 0:t.call(e,`contenteditable`);return n===``||n===`true`},x=function(e,t,n){if(y(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(h));return t&&_.call(e,h)&&r.unshift(e),r=r.filter(n),r},S=function(e,t,n){for(var r=[],i=Array.from(e);i.length;){var a=i.shift();if(!y(a,!1))if(a.tagName===`SLOT`){var o=a.assignedElements(),s=S(o.length?o:a.children,!0,n);
vendor: 4,582 bytes, line 1
1n.flatten?r.push.apply(r,s):r.push({scopeParent:a,candidates:s})}else{_.call(a,h)&&n.filter(a)&&(t||!e.includes(a))&&r.push(a);var c=a.shadowRoot||typeof n.getShadowRoot==`function`&&n.getShadowRoot(a),l=!y(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(a));if(c&&l){var u=S(c===!0?a.children:c.children,!0,n);n.flatten?r.push.apply(r,u):r.push({scopeParent:a,candidates:u})}else i.unshift.apply(i,a.children)}}return r},C=function(e){return!isNaN(parseInt(e.getAttribute(`tabindex`),10))},w=function(e){if(!e)throw Error(`No node provided`);return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||b(e))&&!C(e)?0:e.tabIndex},T=function(e,t){var n=w(e);return n<0&&t&&!C(e)?0:n},E=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},D=function(e){return e.tagName===`INPUT`},ee=function(e){return D(e)&&e.type===`hidden`},te=function(e){return e.tagName===`DETAILS`&&Array.prototype.slice.apply(e.children).some(function(e){return e.tagName===`SUMMARY`})},ne=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},re=function(e){if(!e.name)return!0;var t=e.form||v(e),n=function(e){return t.querySelectorAll(`input[type="radio"][name="`+e+`"]`)},r;if(typeof window<`u`&&typeof window.CSS<`u`&&typeof window.CSS.escape==`function`)r=n(window.CSS.escape(e.name));else try{r=n(e.name)}catch(e){return console.error(`Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s`,e.message),!1}var i=ne(r,e.form);return!i||i===e},ie=function(e){return D(e)&&e.type===`radio`},ae=function(e){return ie(e)&&!re(e)},oe=function(e){var t=e&&v(e),n=t?.host,r=!1;if(t&&t!==e){var i,a,o;for(r=!!((i=n)!=null&&(a=i.ownerDocument)!=null&&a.contains(n)||e!=null&&(o=e.ownerDocument)!=null&&o.contains(e));!r&&n;){var s,c;t=v(n),n=t?.host,r=!!((s=n)!=null&&(c=s.ownerDocument)!=null&&c.contains(n))}}return r},se=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return n===0&&r===0},ce=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if(n===`full-native`&&`checkVisibility`in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});var i=getComputedStyle(e).visibility;if(i===`hidden`||i===`collapse`)return!0;var a=_.call(e,`details>summary:first-of-type`)?e.parentElement:e;if(_.call(a,`details:not([open]) *`))return!0;if(!n||n===`full`||n===`full-native`||n===`legacy-full`){if(typeof r==`function`){for(var o=e;e;){var s=e.parentElement,c=v(e);if(s&&!s.shadowRoot&&r(s)===!0)return se(e);e=e.assignedSlot?e.assignedSlot:!s&&c!==e.ownerDocument?c.host:s}e=o}if(oe(e))return!e.getClientRects().length;if(n!==`legacy-full`)return!0}else if(n===`non-zero-area`)return se(e);return!1},le=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName===`FIELDSET`&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if(r.tagName===`LEGEND`)return _.call(t,`fieldset[disabled] *`)?!0:!r.contains(e)}return!0}t=t.parentElement}return!1},O=function(e,t){return!(t.disabled||ee(t)||ce(t,e)||te(t)||le(t))},ue=function(e,t){return!(ae(t)||w(t)<0||!O(e,t))},de=function(e){var t=parseInt(e.getAttribute(`tabindex`),10);return!!(isNaN(t)||t>=0)},fe=function(e){var t=[],n=[];return e.forEach(function(e,r){var i=!!e.scopeParent,a=i?e.scopeParent:e,o=T(a,i),s=i?fe(e.candidates):a;o===0?i?t.push.apply(t,s):t.push(a):n.push({documentOrder:r,tabIndex:o,item:e,isScope:i,content:s})}),n.sort(E).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},pe=function(e,t){t||={};var n;return n=t.getShadowRoot?S([e],t.includeContainer,{filter:ue.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:de}):x(e,t.includeContainer,ue.bind(null,t)),fe(n)},me=function(e,t){t||={};var n;return n=t.getShadowRoot?S([e],t.includeContainer,{filter:O.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):x(e,t.includeContainer,O.bind(null,t)),n},k=function(e,t){if(t||={},!e)throw Error(`No node provided`);return _.call(e,h)!==!1&&ue(t,e)},he=m.concat(`iframe:not([inert]):not([inert] *)`).join(`,`),ge=function(e,t){if(t||={},!e)throw Error(`No node provided`);return _.call(e,he)!==!1&&O(t,e)};function _e(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ve(e){if(Array.isArray(e))return _e(e)}function ye(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];
vendor: 10,356 bytes, lines 1-3
1if(!n){if(Array.isArray(e)||(n=Oe(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||n.return==null||n.return()}finally{if(s)throw a}}}}function be(e,t,n){return(t=De(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xe(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function Se(){throw TypeError(`Invalid attempt to spread non-iterable instance.
3In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function we(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Ce(Object(n),!0).forEach(function(t){be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ce(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Te(e){return ve(e)||xe(e)||Oe(e)||Se()}function Ee(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function De(e){var t=Ee(e,`string`);return typeof t==`symbol`?t:t+``}function Oe(e,t){if(e){if(typeof e==`string`)return _e(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_e(e,t):void 0}}var A={getActiveTrap:function(e){return e?.length>0?e[e.length-1]:null},activateTrap:function(e,t){t!==A.getActiveTrap(e)&&A.pauseTrap(e);var n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1),A.unpauseTrap(e)},pauseTrap:function(e){A.getActiveTrap(e)?._setPausedState(!0)},unpauseTrap:function(e){var t=A.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},ke=function(e){return e.tagName&&e.tagName.toLowerCase()===`input`&&typeof e.select==`function`},Ae=function(e){return e?.key===`Escape`||e?.key===`Esc`||e?.keyCode===27},j=function(e){return e?.key===`Tab`||e?.keyCode===9},je=function(e){return j(e)&&!e.shiftKey},Me=function(e){return j(e)&&e.shiftKey},Ne=function(e){return setTimeout(e,0)},M=function(e){var t=[...arguments].slice(1);return typeof e==`function`?e.apply(void 0,t):e},Pe=function(e){return e.target.shadowRoot&&typeof e.composedPath==`function`?e.composedPath()[0]:e.target},Fe=[],Ie=function(e,t){var n=t?.document||document,r=t?.trapStack||Fe,i=we({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isolateSubtrees:!1,isKeyForward:je,isKeyBackward:Me},t),a={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},o,s=function(e,t,n){return e&&e[t]!==void 0?e[t]:i[n||t]},c=function(e,t){var n=typeof t?.composedPath==`function`?t.composedPath():void 0;return a.containerGroups.findIndex(function(t){var r=t.container,i=t.tabbableNodes;return r.contains(e)||n?.includes(r)||i.find(function(t){return t===e})})},l=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.hasFallback,a=r!==void 0&&r,o=t.params,s=o===void 0?[]:o,c=i[e];if(typeof c==`function`&&(c=c.apply(void 0,Te(s))),c===!0&&(c=void 0),!c){if(c===void 0||c===!1)return c;throw Error(`\`${e}\` was specified but was not a node, or did not return a node`)}var l=c;if(typeof c==`string`){try{l=n.querySelector(c)}catch(t){throw Error(`\`${e}\` appears to be an invalid selector; error="${t.message}"`)}if(!l&&!a)throw Error(`\`${e}\` as selector refers to no known node`)}return l},u=function(){var e=l(`initialFocus`,{hasFallback:!0});if(e===!1)return!1;if(e===void 0||e&&!ge(e,i.tabbableOptions))if(c(n.activeElement)>=0)e=n.activeElement;else{var t=a.tabbableGroups[0];e=t&&t.firstTabbableNode||l(`fallbackFocus`)}else e===null&&(e=l(`fallbackFocus`));if(!e)throw Error(`Your focus-trap needs to have at least one focusable element`);return e},d=function(){if(a.containerGroups=a.containers.map(function(e){var t=pe(e,i.tabbableOptions),n=me(e,i.tabbableOptions),r=t.length>0?t[0]:void 0,a=t.length>0?t[t.length-1]:void 0,o=n.find(function(e){return k(e)}),s=n.slice().reverse().find(function(e){return k(e)});return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:!!t.find(function(e){return w(e)>0}),firstTabbableNode:r,lastTabbableNode:a,firstDomTabbableNode:o,lastDomTabbableNode:s,nextTabbableNode:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,i=t.indexOf(e);return i<0?r?n.slice(n.indexOf(e)+1).find(function(e){return k(e)}):n.slice(0,n.indexOf(e)).reverse().find(function(e){return k(e)}):t[i+(r?1:-1)]}}}),a.tabbableGroups=a.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),a.tabbableGroups.length<=0&&!l(`fallbackFocus`))throw Error(`Your focus-trap must have at least one container with at least one tabbable node in it at all times`);if(a.containerGroups.find(function(e){return e.posTabIndexesFound})&&a.containerGroups.length>1)throw Error(`At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.`)},f=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&t.shadowRoot.activeElement!==null?f(t.shadowRoot):t},p=function(e){if(e!==!1&&e!==f(document)){if(!e||!e.focus){p(u());return}e.focus({preventScroll:!!i.preventScroll}),a.mostRecentlyFocusedNode=e,ke(e)&&e.select()}},m=function(e){var t=l(`setReturnFocus`,{params:[e]});return t||t!==!1&&e},h=function(e){var t=e.target,n=e.event,r=e.isBackward,o=r!==void 0&&r;t||=Pe(n),d();var s=null;if(a.tabbableGroups.length>0){var u=c(t,n),f=u>=0?a.containerGroups[u]:void 0;if(u<0)s=o?a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode:a.tabbableGroups[0].firstTabbableNode;else if(o){var p=a.tabbableGroups.findIndex(function(e){var n=e.firstTabbableNode;return t===n});if(p<0&&(f.container===t||ge(t,i.tabbableOptions)&&!k(t,i.tabbableOptions)&&!f.nextTabbableNode(t,!1))&&(p=u),p>=0){var m=p===0?a.tabbableGroups.length-1:p-1,h=a.tabbableGroups[m];s=w(t)>=0?h.lastTabbableNode:h.lastDomTabbableNode}else j(n)||(s=f.nextTabbableNode(t,!1))}else{var g=a.tabbableGroups.findIndex(function(e){var n=e.lastTabbableNode;return t===n});if(g<0&&(f.container===t||ge(t,i.tabbableOptions)&&!k(t,i.tabbableOptions)&&!f.nextTabbableNode(t))&&(g=u),g>=0){var _=g===a.tabbableGroups.length-1?0:g+1,v=a.tabbableGroups[_];s=w(t)>=0?v.firstTabbableNode:v.firstDomTabbableNode}else j(n)||(s=f.nextTabbableNode(t))}}else s=l(`fallbackFocus`);return s},g=function(e){if(!(c(Pe(e),e)>=0)){if(M(i.clickOutsideDeactivates,e)){o.deactivate({returnFocus:i.returnFocusOnDeactivate});return}M(i.allowOutsideClick,e)||e.preventDefault()}},_=function(e){var t=Pe(e),n=c(t,e)>=0;if(n||t instanceof Document)n&&(a.mostRecentlyFocusedNode=t);else{e.stopImmediatePropagation();var r,o=!0;if(a.mostRecentlyFocusedNode)if(w(a.mostRecentlyFocusedNode)>0){var s=c(a.mostRecentlyFocusedNode),l=a.containerGroups[s].tabbableNodes;if(l.length>0){var d=l.findIndex(function(e){return e===a.mostRecentlyFocusedNode});d>=0&&(i.isKeyForward(a.recentNavEvent)?d+1<l.length&&(r=l[d+1],o=!1):d-1>=0&&(r=l[d-1],o=!1))}}else a.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return w(e)>0})})||(o=!1);else o=!1;o&&(r=h({target:a.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(a.recentNavEvent)})),p(r||a.mostRecentlyFocusedNode||u())}a.recentNavEvent=void 0},v=function(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1];a.recentNavEvent=e;var n=h({event:e,isBackward:t});n&&(j(e)&&e.preventDefault(),p(n))},y=function(e){(i.isKeyForward(e)||i.isKeyBackward(e))&&v(e,i.isKeyBackward(e))},b=function(e){Ae(e)&&M(i.escapeDeactivates,e)!==!1&&(e.preventDefault(),o.deactivate())},x=function(e){c(Pe(e),e)>=0||M(i.clickOutsideDeactivates,e)||M(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},S=function(){if(a.active)return A.activateTrap(r,o),a.delayInitialFocusTimer=i.delayInitialFocus?Ne(function(){p(u())}):p(u()),n.addEventListener(`focusin`,_,!0),n.addEventListener(`mousedown`,g,{capture:!0,passive:!1}),n.addEventListener(`touchstart`,g,{capture:!0,passive:!1}),n.addEventListener(`click`,x,{capture:!0,passive:!1}),n.addEventListener(`keydown`,y,{capture:!0,passive:!1}),n.addEventListener(`keydown`,b),o},C=function(e){a.active&&!a.paused&&o._setSubtreeIsolation(!1),a.adjacentElements.clear(),a.alreadySilent.clear();var t=new Set,n=new Set,r=ye(e),i;try{for(r.s();!(i=r.n()).done;){var s=i.value;t.add(s);for(var c=typeof ShadowRoot<`u`&&s.getRootNode()instanceof ShadowRoot,l=s;l;){t.add(l);var u=l.parentElement,d=[];u?d=u.children:!u&&c&&(d=l.getRootNode().children,u=l.getRootNode().host,c=typeof ShadowRoot<`u`&&u.getRootNode()instanceof ShadowRoot);var f=ye(d),p;try{for(f.s();!(p=f.n()).done;){var m=p.value;n.add(m)}}catch(e){f.e(e)}finally{f.f()}l=u}}}catch(e){r.e(e)}finally{r.f()}t.forEach(function(e){n.delete(e)}),a.adjacentElements=n},T=function(){if(a.active)return n.removeEventListener(`focusin`,_,!0),n.removeEventListener(`mousedown`,g,!0),n.removeEventListener(`touchstart`,g,!0),n.removeEventListener(`click`,x,!0),n.removeEventListener(`keydown`,y,!0),n.removeEventListener(`keydown`,b),o},E=typeof window<`u`&&`MutationObserver`in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===a.mostRecentlyFocusedNode})})&&p(u())}
3):void 0,D=function(){E&&(E.disconnect(),a.active&&!a.paused&&a.containers.map(function(e){E.observe(e,{subtree:!0,childList:!0})}))};return o={get active(){return a.active},get paused(){return a.paused},activate:function(e){if(a.active)return this;var t=s(e,`onActivate`),c=s(e,`onPostActivate`),l=s(e,`checkCanFocusTrap`),u=A.getActiveTrap(r),p=!1;if(u&&!u.paused){var m;(m=u._setSubtreeIsolation)==null||m.call(u,!1),p=!0}try{l||d(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=f(n),t?.();var h=function(){l&&d(),S(),D(),i.isolateSubtrees&&o._setSubtreeIsolation(!0),c?.()};if(l)return l(a.containers.concat()).then(h,h),this;h()}catch(e){if(u===A.getActiveTrap(r)&&p){var g;(g=u._setSubtreeIsolation)==null||g.call(u,!0)}throw e}return this},deactivate:function(e){if(!a.active)return this;var t=we({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e);clearTimeout(a.delayInitialFocusTimer),a.delayInitialFocusTimer=void 0,a.paused||o._setSubtreeIsolation(!1),a.alreadySilent.clear(),T(),a.active=!1,a.paused=!1,D(),A.deactivateTrap(r,o);var n=s(t,`onDeactivate`),c=s(t,`onPostDeactivate`),l=s(t,`checkCanReturnFocus`),u=s(t,`returnFocus`,`returnFocusOnDeactivate`);n?.();var d=function(){Ne(function(){u&&p(m(a.nodeFocusedBeforeActivation)),c?.()})};return u&&l?(l(m(a.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(e){return a.active?(a.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return a.active?(a.manuallyPaused=!1,r[r.length-1]===this?this._setPausedState(!1,e):this):this},updateContainerElements:function(e){return a.containers=[].concat(e).filter(
3Boolean).map(function(e){return typeof e==`string`?n.querySelector(e):e}),i.isolateSubtrees&&C(a.containers),a.active&&(d(),i.isolateSubtrees&&!a.paused&&o._setSubtreeIsolation(!0)),D(),this}},Object.defineProperties(o,{_isManuallyPaused:{value:function(){return a.manuallyPaused}},_setPausedState:{value:function(e,t){if(a.paused===e)return this;if(a.paused=e,e){var n=s(t,`onPause`),r=s(t,`onPostPause`);n?.(),T(),D(),o._setSubtreeIsolation(!1),r?.()}else{var i=s(t,`onUnpause`),c=s(t,`onPostUnpause`);i?.(),o._setSubtreeIsolation(!0),d(),S(),D(),c?.()}return this}},_setSubtreeIsolation:{value:function(e){i.isolateSubtrees&&a.adjacentElements.forEach(function(t){e?i.isolateSubtrees===`aria-hidden`?((t.ariaHidden===`true`||t.getAttribute(`aria-hidden`)?.toLowerCase()===`true`)&&a.alreadySilent.add(t),t.setAttribute(`aria-hidden`,`true`)):((t.inert||t.hasAttribute(`inert`))&&a.alreadySilent.add(t),t.setAttribute(`inert`,!0)):a.alreadySilent.has(t)||(i.isolateSubtrees===`aria-hidden`?t.removeAttribute(`aria-hidden`):t.removeAttribute(`inert`))})}}}),o.updateContainerElements(e),o},Le=e=>{let t=e.map(e=>new Promise(t=>{let n=setInterval(()=>{getComputedStyle(e).visibility!==`hidden`&&(t(),clearInterval(n))},5)}));return Promise.all(t)},Re=(e,t)=>{let n=`a11y-toolbar--translate-is-open`,r={allowOutsideClick:!0,clickOutsideDeactivates:!0,checkCanFocusTrap:Le,onActivate:()=>{document.body.classList.add(n)},onDeactivate:()=>{document.body.classList.remove(n)}},i,a,o,c,l,d=new Map,f=()=>{if(!t||!t.showDeepLButton)return;a=t.iconOptions?.languageIcon||``,o=t.textAfterOptions?.languageTextAfter||``,c=t.labelOptions?.languageLabel||``,l=t.disclaimerOptions?.languageDisclaimer||`Use DeepL to translate this website. We take no responsibility for the accuracy of the translation.`;let n=s(`language-button`,c,a,o);e.appendChild(n);let r=_();e.appendChild(r),n.addEventListener(`click`,()=>m()),p();let i=window.sessionStorage.getItem(`DeepLSelectedLanguage`)??``;i!==`NL`&&i&&x(i)},p=()=>{d.size>0||document.querySelectorAll(`div, p, span, h1, h2, h3, h4, h5, h6, li, button, blockquote, a, label, details, summary, strong, em, figcaption, code, pre, th, td, textarea, time, input[type="button"], input[type="submit"], input[type="reset"]`).forEach(e=>{e instanceof HTMLElement&&Array.from(e.childNodes).forEach(e=>{if(e.nodeType!==Node.TEXT_NODE)return;let t=e,n=(t.textContent??``).trim().replace(/\s\s+/g,` `);if(!n||n.length<=2)return;let r={node:t,originalText:t.textContent??``},i=d.get(n);i?i.push(r):d.set(n,[r])})})},m=()=>{document.body.classList.contains(n)?h():g()},h=()=>{document.body.classList.contains(n)&&i.deactivate()},g=()=>{i=Ie(`.a11y-toolbar__translate-dropdown`,r),i.activate()},_=()=>{let e=document.createElement(`div`);e.classList.add(`a11y-toolbar__translate-dropdown`),e.setAttribute(`lang`,`en`);let t=document.createElement(`h3`);t.textContent=`Translate`;let n=document.createElement(`button`);n.classList.add(`a11y-toolbar__translate-close-button`),n.setAttribute(`aria-label`,`Close translate modal`),n.addEventListener(`click`,()=>h());let r=document.createElement(`i`);r.classList.add(`fal`,`fa-times`),n.appendChild(r),e.appendChild(t),e.appendChild(n);let i=document.createElement(`p`);i.classList.add(`a11y-toolbar__translate-description-deepl`),i.innerHTML=l,e.appendChild(i);let a=v();return e.appendChild(a),e},v=()=>{if(!window.ydpl||!window.ydpl.ydpl_supported_languages){let e=document.createElement(`p`);if(e.style.color=`red`,e.textContent=`The DeepL API is not available. Check the console for more information.`,!window.ydpl)throw Error(`window.ydpl global is not available or there is no window.ydpl.ydpl_supported_languages. Make sure the Yard DeepL plugin is configured properly.`);return e}let e=document.createElement(`label`);e.classList.add(`a11y-toolbar__translate-label`),e.textContent=`Select language:`,e.setAttribute(`for`,`a11y-toolbar__translate-select`);let t=document.createElement(`select`);t.id=`a11y-toolbar__translate-select`,t.classList.add(`a11y-toolbar__translate-select`),t.addEventListener(`change`,()=>y(t));let n=document.createElement(`option`);n.value=`NL`,n.textContent=`Nederlands (standaard)`,t.appendChild(n);let r=[...window.ydpl.ydpl_supported_languages.filter(e=>e.iso_alpha2!==`NL`)].sort((e,t)=>
3e.name.localeCompare(t.name)),i=window.sessionStorage.getItem(`DeepLSelectedLanguage`)||`NL`;r.forEach(e=>{let n=document.createElement(`option`);n.value=e.iso_alpha2,n.textContent=e.name,n.value===i&&(n.selected=!0),t.appendChild(n)});let a=document.createElement(`div`);return a.classList.add(`a11y-toolbar__translate-select-container`),a.appendChild(e),a.appendChild(t),a},y=e=>{let t=e.value;window.sessionStorage.setItem(`DeepLSelectedLanguage`,t),t===`NL`?b():x(t)},b=()=>{d.forEach(e=>{e.forEach(({node:e,originalText:t})=>{e.textContent=t})}),E(!1),S(`NL`)},x=async e=>{let t=Array.from(new Set(d.keys()));await C(t,e),S(e)},S=e=>{document.documentElement.lang=e},C=async(e,t)=>{let n=window.ydpl.ydpl_rest_translate_url,r={"Content-Type":`application/json`,"X-WP-Nonce":window.ydpl.ydpl_api_request_nonce},i={text:e,target_lang:t,object_id:window.ydpl.ydpl_translate_post_id},a=await fetch(n,{method:`POST`,headers:r,credentials:`include`,body:JSON.stringify(i)});if(!a.ok)throw w(),Error(`Request failed with status: ${a.status}, ${a.status}`);let o=await a.json();T(o)},w=()=>{let e=document.createElement(`p`);e.classList.add(`a11y-toolbar__translate-error`),e.style.color=`red`,e.style.lineHeight=`1.4`,e.textContent=`Something went wrong. Please try again later.`,document.querySelector(`.a11y-toolbar__translate-dropdown`)?.appendChild(e)},T=e=>{e.forEach(e=>{let t=d.get(e.text);t&&t.forEach(({node:t})=>{t.textContent=D(t,t.textContent??``,e.translation)})}),E(!0)},E=e=>{let t=document.querySelector(`.a11y-toolbar__button--language-button .a11y-toolbar__icon`),n=u(a),r=u(`<svg xmlns="http://www.w3.org/2000/svg" width="25.17" height="17.975" viewBox="0 0 25.17 17.975"><path id="check-sharp-light" d="M25.17,97.247l-.623.646L9.751,113.3l-.646.674-.646-.674L.623,105.145,0,104.493l1.3-1.247.623.646,7.184,7.488L23.255,96.646,23.873,96Z" transform="translate(0 -96)"/></svg>`);r.style.width=`25px`,e?t?.replaceWith(r):t?.replaceWith(n)},D=(e,t,n)=>{let r=t.match(/^\s*/)?.[0]||``,i=t.match(/\s*$/)?.[0]||``,a=`${r}${n}${i}`,o=e.nextSibling instanceof HTMLElement?e.nextSibling:null;return!i&&o?.tagName===`A`&&!/\s$/.test(a)&&(a=`${a} `),a};f()},ze=e=>{let t=performance.getEntriesByType(`resource`).filter(e=>e.initiatorType===`script`);for(let n of t)if(n.name.includes(e)&&n.duration>0)return!0;return!1},Be=(e,t)=>{let n=`a11y-toolbar--translate-is-open`,r=`a11y-toolbar__translate-label`,i={allowOutsideClick:!0,clickOutsideDeactivates:!0,checkCanFocusTrap:Le,onActivate:()=>{document.body.classList.add(n)},onDeactivate:()=>{document.body.classList.remove(n)}},a,o,c,l,u,d=()=>{if(!t||!t.showLanguageButton)return;o=t.iconOptions?.languageIcon||``,c=t.textAfterOptions?.languageTextAfter||``,l=t.labelOptions?.languageLabel||``,u=t.translateIncludedLanguages||``,f(u);let n=s(`language-button`,l,o,c);e.appendChild(n);let r=g();e.appendChild(r),n.addEventListener(`click`,()=>p())},f=e=>{let t=`https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit`;if(ze(t))return;let n=document.createElement(`script`);n.type=`text/javascript`,n.src=t;let r=document.createElement(`script`);r.type=`text/javascript`,r.innerHTML=`
4			function googleTranslateElementInit() {
5				new google.translate.TranslateElement({
6					pageLanguage: 'nl',
7					includedLanguages: '${e}',
8				}, 'google_translate_element');
9			}
10		`,document.head.appendChild(n),document.head.appendChild(r)},p=()=>{_(),document.body.classList.contains(n)?m():h()},m=()=>{document.body.classList.contains(n)&&a.deactivate()},h=()=>{a=Ie(`.a11y-toolbar__translate-dropdown`,i),a.activate()},g=()=>{let e=document.createElement(`div`);e.classList.add(`a11y-toolbar__translate-dropdown`),e.setAttribute(`lang`,`en`);let t=document.createElement(`h3`);t.textContent=`Translate`;let n=document.createElement(`button`);n.classList.add(`a11y-toolbar__translate-close-button`),n.setAttribute(`aria-label`,`Close translate modal`),n.addEventListener(`click`,()=>m());let r=document.createElement(`i`);r.classList.add(`fal`,`fa-times`),n.appendChild(r),e.appendChild(t),e.appendChild(n);let i=document.createElement(`p`);i.classList.add(`a11y-toolbar__translate-description`),i.textContent=`Use Google to translate this website. We take no responsibility for the accuracy of the translation.`,e.appendChild(i);let a=document.createElement(`div`);
10a.id=`google_translate_element`,a.setAttribute(`lang`,`nl`),e.appendChild(a);let o=document.createElement(`div`);return o.classList.add(`a11y-toolbar__translate-error`),o.textContent=`Unable to load Google Translate. Accept cookies and refresh the page, or try again later.`,e.appendChild(o),e},_=()=>{let e=document.querySelector(`.goog-te-combo`),t=document.querySelector(`.${r}`);if(!e||t)return;e.setAttribute(`id`,`google-translate-select`),e.removeAttribute(`aria-label`);let n=document.createElement(`label`);n.classList.add(r),n.htmlFor=`google-translate-select`,n.textContent=`Selecteer een taal:`;let i=document.querySelector(`#google_translate_element`);i?.parentElement?.insertBefore(n,i)};d()},Ve=(e,t)=>{let n=`a11y-toolbar--open-dyslexic`,r,i,c,l,u=()=>{if(!t||!t.showOpenDyslexicButton)return;r=t.iconOptions?.openDyslexicIcon||``,i=t.textAfterOptions?.openDyslexicTextAfter||``,c=t.labelOptions?.openDyslexicActivateLabel||``,l=t.labelOptions?.openDyslexicDeactivateLabel||``;let n=s(`openDyslexic`,c,r,i);e.appendChild(n),d(),f(n),p(n),h()&&m()},d=()=>{h()&&!document.body.classList.contains(n)&&document.body.classList.add(n)},f=e=>{let t=h();g(e,t)},p=e=>{e.addEventListener(`click`,()=>{let t=!h();a.set(o.OPEN_DYSLEXIC,t.toString(),{expires:90}),g(e,t),t?(m(),document.body.classList.add(n)):document.body.classList.remove(n)})},m=()=>{if(document.getElementById(`open-dyslexic-font`))return;let e=document.createElement(`style`);e.textContent=`
11		@font-face {
12			font-family: 'OpenDyslexic';
13			src: url('https://cdn.jsdelivr.net/gh/antijingoist/open-dyslexic@master/woff/OpenDyslexic-Regular.woff') format('woff2');
14			font-weight: 300;
15			font-style: normal;
16		}
17		@font-face {
18			font-family: 'OpenDyslexic';
19			src: url('https://cdn.jsdelivr.net/gh/antijingoist/open-dyslexic@master/woff/OpenDyslexic-Regular.woff') format('woff2');
20			font-weight: 400;
21			font-style: normal;
22		}
23		@font-face {
24			font-family: 'OpenDyslexic';
25			src: url('https://cdn.jsdelivr.net/gh/antijingoist/open-dyslexic@master/woff/OpenDyslexic-Bold.woff') format('woff2');
26			font-weight: 500;
27			font-style: normal;
28		}
29		@font-face {
30			font-family: 'OpenDyslexic';
31			src: url('https://cdn.jsdelivr.net/gh/antijingoist/open-dyslexic@master/woff/OpenDyslexic-Bold.woff') format('woff2');
32			font-weight: 600;
33			font-style: normal;
34		}
35		@font-face {
36			font-family: 'OpenDyslexic';
37			src: url('https://cdn.jsdelivr.net/gh/antijingoist/open-dyslexic@master/woff/OpenDyslexic-Bold.woff') format('woff2');
38			font-weight: 700;
39			font-style: normal;
40		}`,document.head.appendChild(e);let t=document.createElement(`style`);t.id=`open-dyslexic-font`,t.textContent=`
41		body.${n} {
42			font-family: 'OpenDyslexic', sans-serif !important;
43			font-size: 1rem;
44		}
45		body.${n} *:not(i) {
46			font-family: 'OpenDyslexic', sans-serif !important;
47		}
48	`,document.head.appendChild(t)},h=()=>a.get(o.OPEN_DYSLEXIC)===`true`,g=(e,t)=>{e.setAttribute(`aria-pressed`,t.toString()),e.setAttribute(`aria-label`,t?l:c),e.setAttribute(`title`,t?l:c)};u()},He=(e,t)=>{let n,r,i;(()=>{if(!t||!t.showPrintButton)return;n=t.iconOptions?.printIcon||``,r=t.textAfterOptions?.printTextAfter||``,i=t.labelOptions?.printLabel||``;let a=s(`print`,i,n,r);e.appendChild(a),a.addEventListener(`click`,()=>{window.print()})})()},Ue=(e,t)=>{let n,r,i,a,o,s,l=()=>{if(!t||!t.showReadSpeakerButton||!t.readSpeakerCustomerID||!t.readSpeakerContentID)return;window.rsConf={general:{usePost:!0}},n=t.readSpeakerCustomerID||``,r=t.readSpeakerContentID||``,i=t.readSpeakerDisable||``,a=t.iconOptions?.readSpeakerIcon||``,o=t.textAfterOptions?.readSpeakerTextAfter||``,s=t.labelOptions?.readSpeakerLabel||``,u(n,i);let c=f(n,r,a,o,s);e.appendChild(c)},u=(e,t)=>{let n=document.createElement(`script`);n.type=`text/javascript`,n.crossOrigin=`anonymous`,n.id=`rs_req_Init`,n.src=`https://cdn-eu.readspeaker.com/script/${e}/webReader/webReader.js?pids=wr&&disable=${t}`,document.head.appendChild(n)},f=(e,t,n,r,i)=>{let a=document.createElement(`div`);a.id=`readspeaker_button1`,a.classList.add(`rs_skip`,`rsbtn`,`rs_preserve`);let o=document.createElement(`a`);if(o.setAttribute(`role`,`button`),o.classList.add(`rsbtn_play`,`a11y-toolbar__button`,`a11y-toolbar__button--readspeaker`),o.setAttribute(`accesskey`,`L`),o.setAttribute(`aria-label`,i),o.setAttribute(`title`,i),o.href=`//app-eu.readspeaker.com/cgi-bin/rsent?customerid=${e}&lang=nl_nl&readid=${t}&url=${window.location.href}`,n!==void 0&&n!==``){let e=c(n);o.appendChild(e)}if(r!==void 0&&r!==``){let e=d(r);o.appendChild(e)}return o.addEventListener(`click`,()=>{setTimeout(()=>{document.querySelector(`.rs-controlpanel-playpause`)?.focus()},200)}),a.appendChild(o),a};l()},We=(e,t)=>
48{let n=`a11y-toolbar--text-size`,r,i,c,l,u=()=>{if(!t||!t.showTextSizeButton)return;r=t.iconOptions?.textSizeIcon||``,i=t.textAfterOptions?.textSizeTextAfter||``,c=t.labelOptions?.textSizeIncreaseLabel||``,l=t.labelOptions?.textSizeDecreaseLabel||``;let n=s(`text-size`,c,r,i);e.appendChild(n),d(),f(n),p(n)},d=()=>{m()&&!document.body.classList.contains(n)&&document.body.classList.toggle(n)},f=e=>{let t=m();h(e,t)},p=e=>{e.addEventListener(`click`,()=>{let t=!m();a.set(o.TEXT_SIZE,t.toString(),{expires:90}),h(e,t),document.body.classList.toggle(n)})},m=()=>a.get(o.TEXT_SIZE)===`true`,h=(e,t)=>{e.setAttribute(`aria-pressed`,t.toString()),e.setAttribute(`aria-label`,t?l:c),e.setAttribute(`title`,t?l:c)};u()},Ge=(e,t)=>{let n,r,i=()=>{if(!t||!t.showTolkieTranslateButton)return;n=t.iconOptions?.tolkieTranslateIcon||`flag`,r=t.textAfterOptions?.tolkieTranslateTextAfter||`Vertalen`;let i=a();e.appendChild(i)},a=()=>{let e=document.createElement(`button`);if(e.classList.add(`tolkie-translate-button`,`a11y-toolbar__button`,`a11y-toolbar__button--tolkie-translate`),e.setAttribute(`type`,`button`),e.setAttribute(`aria-label`,r),e.setAttribute(`title`,r),n===`flag`){let t=document.createElement(`div`);t.classList.add(`tolkie-translate-button-flag`),e.appendChild(t)}else{let t=l(n);e.appendChild(t)}if(r){let t=d(r);t.classList.add(`tolkie-translate-button-text`),e.appendChild(t)}return e};i()},Ke={showReadSpeakerButton:!0,showTextSizeButton:!0,showContrastButton:!0,showPrintButton:!0,showLanguageButton:!0,showDeepLButton:!1,showTolkieTranslateButton:!1,customButton:null,translateIncludedLanguages:`en`,readSpeakerCustomerID:`9999`,readSpeakerContentID:`readspeakers`,readSpeakerDisable:`settings,clicklisten,voicesettings,readhover,enlarge,textmode,pagemask,download,help,dictionary,translation`,disclaimerOptions:{languageDisclaimer:``},iconOptions:{toggleIcon:`fa-regular fa-universal-access`,readSpeakerIcon:`fa-light fa-volume`,textSizeIcon:`fa-light fa-text-height`,contrastIcon:`fa-light fa-adjust`,printIcon:`fa-light fa-print`,languageIcon:`<svg xmlns="http://www.w3.org/2000/svg" fill="none" aria-hidden="true" class="a11y-toolbar__flag" viewBox="0 0 20 15"> <mask id="mask0" width="20" height="15" x="0" y="0" mask-type="alpha" maskUnits="userSpaceOnUse"> <path fill="#fff" d="M0 0h20v15H0z"/> </mask> <g mask="url(#mask0)"> <path fill="#F7FCFF" fill-rule="evenodd" d="M0 0v15h20V0H0Z" clip-rule="evenodd"/> <mask id="mask1" width="20" height="15" x="0" y="0" mask-type="alpha" maskUnits="userSpaceOnUse"> <path fill="#fff" fill-rule="evenodd" d="M0 0v15h20V0H0Z" clip-rule="evenodd"/> </mask> <g fill-rule="evenodd" clip-rule="evenodd" mask="url(#mask1)"> <path fill="#E31D1C" d="M0 0v5h20V0H0Z"/> <path fill="#3D58DB" d="M0 10v5h20v-5H0Z"/> </g> </g> </svg>`,openDyslexicIcon:`fa-light fa-book-font`,tolkieTranslateIcon:`flag`},textAfterOptions:{readSpeakerTextAfter:``,textSizeTextAfter:``,contrastTextAfter:``,printTextAfter:``,languageTextAfter:`Translate`,openDyslexicTextAfter:`Dyslexie`,tolkieTranslateTextAfter:`Vertalen`},labelOptions:{readSpeakerLabel:`Laat de tekst voorlezen met ReadSpeaker webReader`,textSizeIncreaseLabel:`Vergroot schermtekst`,textSizeDecreaseLabel:`Verklein schermtekst`,contrastIncreaseLabel:`Vergroot schermcontrast`,contrastDecreaseLabel:`Verklein schermcontrast`,printLabel:`Print pagina`,languageLabel:`Translate`,openDyslexicActivateLabel:`Activeer OpenDyslexic lettertype`,openDyslexicDeactivateLabel:`Deactiveer OpenDyslexic lettertype`}},qe=e=>e===Object(e)&&!Array.isArray(e)&&typeof e!=`function`,Je=(e,...t)=>{if(!t.length)return e;let n=e;if(qe(n)){let e=t.length;for(let r=0;r<e;r+=1){let e=t[r];if(qe(e))for(let t in e)e.hasOwnProperty(t)&&(qe(e[t])?((!n[t]||!qe(n[t]))&&(n[t]={}),Je(n[t],e[t])):Array.isArray(n[t])&&Array.isArray(e[t])?n[t]=Array.from(new Set(n[t].concat(e[t]))):n[t]=e[t])}}return n},Ye=`a11y-toolbar--is-open`,Xe=class{options;selector;toolbar=null;constructor(e,t){this.selector=e,this.options=Je(Ke,t||{})}init(){this.toolbar=this.createToolbar();let e=this.createToggleButton();Ue(this.toolbar,this.options),We(this.toolbar,this.options),f(this.toolbar,this.options),He(this.toolbar,this.options),Ve(this.toolbar,this.options),Be(this.toolbar,this.options),Re(this.toolbar,this.options),Ge(this.toolbar,this.options),p(this.toolbar,this.options);let t=document.querySelector(this.selector);return t?.appendChild(this.toolbar),t?.insertBefore(e,this.toolbar),this}createToolbar(){let e=document.createElement(`div`);return e.id=`js-a11y-toolbar`,e.classList.add(`a11y-toolbar`),e}createToggleButton(){let e=document.createElement(`button`);e.classList.add(`a11y-toolbar__toggle-button`),e.setAttribute(`aria-expanded`,`false`),e.setAttribute(`aria-controls`,`a11y-toolbar`),e.setAttribute(`aria-label`,`Open toegankelijkheid toolbar`);let t=document.createElement(`i`),n=this.options.iconOptions?.toggleIcon||``;return t.classList.add(...n.split(` `)),e.appendChild(t),e.addEventListener(`click`,()=>this.toggleToolbar(e)),e}toggleToolbar(e){let t=document.body.classList.toggle(Ye);
48e.setAttribute(`aria-expanded`,t.toString()),t?(document.addEventListener(`click`,this.handleOutsideClick),document.addEventListener(`keydown`,this.handleEscapeKey),this.toolbar?.addEventListener(`focusout`,this.handleFocusOut.bind(this))):(document.removeEventListener(`click`,this.handleOutsideClick),document.removeEventListener(`keydown`,this.handleEscapeKey),this.toolbar?.removeEventListener(`focusout`,this.handleFocusOut.bind(this)))}handleOutsideClick=e=>{let t=e.target;this.toolbar&&!this.toolbar.contains(t)&&!t.closest(`.a11y-toolbar__toggle-button`)&&this.closeToolbar()};handleEscapeKey=e=>{if(e.key!==`Escape`)return;let t=e.target;this.toolbar&&this.toolbar.contains(t)&&!t.closest(`.a11y-toolbar__translate-dropdown`)&&this.closeToolbar(!0)};handleFocusOut(e){let t=e.relatedTarget;!this.toolbar?.contains(t)&&!t.closest(`.a11y-toolbar__toggle-button`)&&this.closeToolbar()}closeToolbar(e=!1){document.body.classList.remove(Ye),document.removeEventListener(`click`,this.handleOutsideClick),document.removeEventListener(`keydown`,this.handleEscapeKey),this.toolbar?.removeEventListener(`focusout`,this.handleFocusOut.bind(this));let t=document.querySelector(`.a11y-toolbar__toggle-button`);t&&t.setAttribute(`aria-expanded`,`false`),t&&e&&t.focus()}},Ze=(e,t)=>{if(!e)return null;let n=document.createElement(t);n.innerHTML=e.innerHTML;for(let t=0;t<e.attributes.length;t++){let r=e.attributes[t];r&&n.setAttribute(r.name,r.value)}return e.parentNode&&e.parentNode.replaceChild(n,e),n},Qe=(e,t=5e3)=>new Promise(n=>{let r=Date.now(),i=setInterval(()=>{let a=document.querySelectorAll(e),o=a.length>0,s=a.length===1;o?(clearInterval(i),n(s?a[0]??null:a)):Date.now()-r>=t&&(clearInterval(i),n(null))},100)}),$e=e=>{let t=e.map(e=>new Promise(t=>{let n=setInterval(()=>{let r=window.getComputedStyle(e);r.visibility!==`hidden`&&r.display!==`none`&&r.height!==`0px`&&r.width!==`0px`&&(t(),clearInterval(n))},5)}));return Promise.all(t)},N=(...e)=>{window.dataLayer.push(e)},et=e=>e.split(`; `).reduce((e,t)=>{let[n,r]=t.split(`=`);return n&&(e[n]=r??``),e},{}),tt=e=>e.split(`,`).reduce((e,t)=>{let[n,r]=t.split(`:`).map(e=>e.trim());return n&&(e[n]=r??``),e},{}),nt=(e,t)=>{let n=[];return new Set([...Object.keys(e),...Object.keys(t)]).forEach(r=>{let i=e[r],a=t[r];i!==a&&n.push({category:r,oldValue:i,newValue:a})}),n},rt=()=>{let e=document.cookie,t=`_cookie`,n=Object.getOwnPropertyDescriptor(Document.prototype,`cookie`);Object.defineProperty(Document.prototype,t,n||{}),Object.defineProperty(Document.prototype,"cookie",{enumerable:!0,configurable:!0,get(){return this[t]},set(n){this[t]=n;let i=this[t];if(i!==e)try{let t={oldValue:e,newValue:i};this.dispatchEvent(new CustomEvent(`cookiechange`,{detail:t})),r.postMessage(t)}finally{e=i}}});let r=new BroadcastChannel(`cookie-channel`);r.onmessage=t=>{e=t.data.newValue,document.dispatchEvent(new CustomEvent(`cookiechange`,{detail:t.data}))}},it=class{consentMapping={ad_storage:`advertisement`,ad_user_data:`advertisement`,ad_personalization:`advertisement`,analytics_storage:`analytics`,functionality_storage:`functional`,personalization_storage:`functional`,security_storage:`necessary`};constructor(){rt(),this.setupDefaultGtagConsent(),this.initialPageLoad(),this.laterCookieChange()}setupDefaultGtagConsent(){window.dataLayer=window.dataLayer||[],N(`consent`,`default`,{ad_storage:`denied`,ad_user_data:`denied`,ad_personalization:`denied`,analytics_storage:`denied`,functionality_storage:`denied`,personalization_storage:`denied`,security_storage:`granted`}),N(`set`,`ads_data_redaction`,!0),N(`set`,`url_passthrough`,!0)}dataLayerWrapper(e){window.dataLayer||(window.dataLayer=window.dataLayer||[]),window.dataLayer.push(e)}updateConsentAndPush(e,t){Object.entries(e).forEach(([e,t])=>{window[`${e}_yard`]=t});let n={...e,event:`gtm_consent_update_yard`};t===!1&&(N(`set`,`ads_data_redaction`,!1),n={...n,ads_data_redaction:!1}),N(`consent`,`update`,e),this.dataLayerWrapper(n)}initialPageLoad(){let e=et(document.cookie)[`cookieyes-consent`];if(!e)return;let t=tt(e);if(!t.action)return;let n=this.matchCookieYesConsentToGtag(t),r=t.advertisement!==`yes`;this.updateConsentAndPush(n,r)}laterCookieChange(){document.addEventListener(`cookiechange`,e=>{let{oldValue:t,newValue:n}=e.detail,r=et(t)[`cookieyes-consent`],i=et(n)[`cookieyes-consent`];if(!r||!i)return;let a=nt(tt(r),tt(i));a.length>
480&&(a[0]?.category.match(/^(action|consent)$/)||this.updateSpecificGtagConsent(a))})}updateSpecificGtagConsent(e){e.forEach(e=>{let t=this.matchCookieYesConsentToGtag({[e.category]:e.newValue??``}),n=!(e.category===`advertisement`&&e.newValue===`yes`);this.updateConsentAndPush(t,n)})}matchCookieYesConsentToGtag(e){let t={};return Object.entries(e).forEach(([e,n])=>{Object.keys(this.consentMapping).filter(t=>this.consentMapping[t]===e).forEach(e=>{t[e]=n===`yes`?`granted`:`denied`})}),t}},at=[`input:not([inert]):not([inert] *)`,`select:not([inert]):not([inert] *)`,`textarea:not([inert]):not([inert] *)`,`a[href]:not([inert]):not([inert] *)`,`button:not([inert]):not([inert] *)`,`[tabindex]:not(slot):not([inert]):not([inert] *)`,`audio[controls]:not([inert]):not([inert] *)`,`video[controls]:not([inert]):not([inert] *)`,`[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)`,`details>summary:first-of-type:not([inert]):not([inert] *)`,`details:not([inert]):not([inert] *)`],ot=at.join(`,`),st=typeof Element>`u`,P=st?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,F=!st&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)==null?void 0:t.call(e)}:function(e){return e?.ownerDocument},I=function(e,t){var n;t===void 0&&(t=!0);var r=e==null||(n=e.getAttribute)==null?void 0:n.call(e,`inert`);return r===``||r===`true`||t&&e&&(typeof e.closest==`function`?e.closest(`[inert]`):I(e.parentNode))},ct=function(e){var t,n=e==null||(t=e.getAttribute)==null?void 0:t.call(e,`contenteditable`);return n===``||n===`true`},lt=function(e,t,n){if(I(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(ot));return t&&P.call(e,ot)&&r.unshift(e),r=r.filter(n),r},ut=function(e,t,n){for(var r=[],i=Array.from(e);i.length;){var a=i.shift();if(!I(a,!1))if(a.tagName===`SLOT`){var o=a.assignedElements(),s=ut(o.length?o:a.children,!0,n);
vendor: 14,933 bytes, lines 48-50
48n.flatten?r.push.apply(r,s):r.push({scopeParent:a,candidates:s})}else{P.call(a,ot)&&n.filter(a)&&(t||!e.includes(a))&&r.push(a);var c=a.shadowRoot||typeof n.getShadowRoot==`function`&&n.getShadowRoot(a),l=!I(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(a));if(c&&l){var u=ut(c===!0?a.children:c.children,!0,n);n.flatten?r.push.apply(r,u):r.push({scopeParent:a,candidates:u})}else i.unshift.apply(i,a.children)}}return r},dt=function(e){return!isNaN(parseInt(e.getAttribute(`tabindex`),10))},L=function(e){if(!e)throw Error(`No node provided`);return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||ct(e))&&!dt(e)?0:e.tabIndex},ft=function(e,t){var n=L(e);return n<0&&t&&!dt(e)?0:n},pt=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},mt=function(e){return e.tagName===`INPUT`},ht=function(e){return mt(e)&&e.type===`hidden`},gt=function(e){return e.tagName===`DETAILS`&&Array.prototype.slice.apply(e.children).some(function(e){return e.tagName===`SUMMARY`})},_t=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},vt=function(e){if(!e.name)return!0;var t=e.form||F(e),n=function(e){return t.querySelectorAll(`input[type="radio"][name="`+e+`"]`)},r;if(typeof window<`u`&&typeof window.CSS<`u`&&typeof window.CSS.escape==`function`)r=n(window.CSS.escape(e.name));else try{r=n(e.name)}catch(e){return console.error(`Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s`,e.message),!1}var i=_t(r,e.form);return!i||i===e},yt=function(e){return mt(e)&&e.type===`radio`},bt=function(e){return yt(e)&&!vt(e)},xt=function(e){var t=e&&F(e),n=t?.host,r=!1;if(t&&t!==e){var i,a,o;for(r=!!((i=n)!=null&&(a=i.ownerDocument)!=null&&a.contains(n)||e!=null&&(o=e.ownerDocument)!=null&&o.contains(e));!r&&n;){var s,c;t=F(n),n=t?.host,r=!!((s=n)!=null&&(c=s.ownerDocument)!=null&&c.contains(n))}}return r},St=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return n===0&&r===0},Ct=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if(n===`full-native`&&`checkVisibility`in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if(getComputedStyle(e).visibility===`hidden`)return!0;var i=P.call(e,`details>summary:first-of-type`)?e.parentElement:e;if(P.call(i,`details:not([open]) *`))return!0;if(!n||n===`full`||n===`full-native`||n===`legacy-full`){if(typeof r==`function`){for(var a=e;e;){var o=e.parentElement,s=F(e);if(o&&!o.shadowRoot&&r(o)===!0)return St(e);e=e.assignedSlot?e.assignedSlot:!o&&s!==e.ownerDocument?s.host:o}e=a}if(xt(e))return!e.getClientRects().length;if(n!==`legacy-full`)return!0}else if(n===`non-zero-area`)return St(e);return!1},wt=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName===`FIELDSET`&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if(r.tagName===`LEGEND`)return P.call(t,`fieldset[disabled] *`)?!0:!r.contains(e)}return!0}t=t.parentElement}return!1},Tt=function(e,t){return!(t.disabled||ht(t)||Ct(t,e)||gt(t)||wt(t))},Et=function(e,t){return!(bt(t)||L(t)<0||!Tt(e,t))},Dt=function(e){var t=parseInt(e.getAttribute(`tabindex`),10);return!!(isNaN(t)||t>=0)},Ot=function(e){var t=[],n=[];return e.forEach(function(e,r){var i=!!e.scopeParent,a=i?e.scopeParent:e,o=ft(a,i),s=i?Ot(e.candidates):a;o===0?i?t.push.apply(t,s):t.push(a):n.push({documentOrder:r,tabIndex:o,item:e,isScope:i,content:s})}),n.sort(pt).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},kt=function(e,t){t||={};var n;return n=t.getShadowRoot?ut([e],t.includeContainer,{filter:Et.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Dt}):lt(e,t.includeContainer,Et.bind(null,t)),Ot(n)},At=function(e,t){t||={};var n;return n=t.getShadowRoot?ut([e],t.includeContainer,{filter:Tt.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):lt(e,t.includeContainer,Tt.bind(null,t)),n},R=function(e,t){if(t||={},!e)throw Error(`No node provided`);return P.call(e,ot)!==!1&&Et(t,e)},jt=at.concat(`iframe:not([inert]):not([inert] *)`).join(`,`),Mt=function(e,t){if(t||={},!e)throw Error(`No node provided`);return P.call(e,jt)!==!1&&Tt(t,e)};function Nt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Pt(e){if(Array.isArray(e))return Nt(e)}function Ft(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(!n){if(Array.isArray(e)||(n=Wt(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
49In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||n.return==null||n.return()}finally{if(s)throw a}}}}function It(e,t,n){return(t=Ut(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lt(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function Rt(){throw TypeError(`Invalid attempt to spread non-iterable instance.
50In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Bt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?zt(Object(n),!0).forEach(function(t){It(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Vt(e){return Pt(e)||Lt(e)||Wt(e)||Rt()}function Ht(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Ut(e){var t=Ht(e,`string`);return typeof t==`symbol`?t:t+``}function Wt(e,t){if(e){if(typeof e==`string`)return Nt(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Nt(e,t):void 0}}var z={getActiveTrap:function(e){return e?.length>0?e[e.length-1]:null},activateTrap:function(e,t){t!==z.getActiveTrap(e)&&z.pauseTrap(e);var n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1),z.unpauseTrap(e)},pauseTrap:function(e){z.getActiveTrap(e)?._setPausedState(!0)},unpauseTrap:function(e){var t=z.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},Gt=function(e){return e.tagName&&e.tagName.toLowerCase()===`input`&&typeof e.select==`function`},Kt=function(e){return e?.key===`Escape`||e?.key===`Esc`||e?.keyCode===27},B=function(e){return e?.key===`Tab`||e?.keyCode===9},qt=function(e){return B(e)&&!e.shiftKey},Jt=function(e){return B(e)&&e.shiftKey},Yt=function(e){return setTimeout(e,0)},V=function(e){var t=[...arguments].slice(1);return typeof e==`function`?e.apply(void 0,t):e},H=function(e){return e.target.shadowRoot&&typeof e.composedPath==`function`?e.composedPath()[0]:e.target},Xt=[],Zt=function(e,t){var n=t?.document||document,r=t?.trapStack||Xt,i=Bt({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isolateSubtrees:!1,isKeyForward:qt,isKeyBackward:Jt},t),a={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},o,s=function(e,t,n){return e&&e[t]!==void 0?e[t]:i[n||t]},c=function(e,t){var n=typeof t?.composedPath==`function`?t.composedPath():void 0;return a.containerGroups.findIndex(function(t){var r=t.container,i=t.tabbableNodes;return r.contains(e)||n?.includes(r)||i.find(function(t){return t===e})})},l=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.hasFallback,a=r!==void 0&&r,o=t.params,s=o===void 0?[]:o,c=i[e];if(typeof c==`function`&&(c=c.apply(void 0,Vt(s))),c===!0&&(c=void 0),!c){if(c===void 0||c===!1)return c;throw Error(`\`${e}\` was specified but was not a node, or did not return a node`)}var l=c;if(typeof c==`string`){try{l=n.querySelector(c)}catch(t){throw Error(`\`${e}\` appears to be an invalid selector; error="${t.message}"`)}if(!l&&!a)throw Error(`\`${e}\` as selector refers to no known node`)}return l},u=function(){var e=l(`initialFocus`,{hasFallback:!0});if(e===!1)return!1;if(e===void 0||e&&!Mt(e,i.tabbableOptions))if(c(n.activeElement)>=0)e=n.activeElement;else{var t=a.tabbableGroups[0];e=t&&t.firstTabbableNode||l(`fallbackFocus`)}else e===null&&(e=l(`fallbackFocus`));if(!e)throw Error(`Your focus-trap needs to have at least one focusable element`);return e},d=function(){if(a.containerGroups=a.containers.map(function(e){var t=kt(e,i.tabbableOptions),n=At(e,i.tabbableOptions),r=t.length>0?t[0]:void 0,a=t.length>0?t[t.length-1]:void 0,o=n.find(function(e){return R(e)}),s=n.slice().reverse().find(function(e){return R(e)});return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:!!t.find(function(e){return L(e)>0}),firstTabbableNode:r,lastTabbableNode:a,firstDomTabbableNode:o,lastDomTabbableNode:s,nextTabbableNode:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,i=t.indexOf(e);return i<0?r?n.slice(n.indexOf(e)+1).find(function(e){return R(e)}):n.slice(0,n.indexOf(e)).reverse().find(function(e){return R(e)}):t[i+(r?1:-1)]}}}),a.tabbableGroups=a.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),a.tabbableGroups.length<=0&&!l(`fallbackFocus`))throw Error(`Your focus-trap must have at least one container with at least one tabbable node in it at all times`);if(a.containerGroups.find(function(e){return e.posTabIndexesFound})&&a.containerGroups.length>1)throw Error(`At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.`)},f=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&t.shadowRoot.activeElement!==null?f(t.shadowRoot):t},p=function(e){if(e!==!1&&e!==f(document)){if(!e||!e.focus){p(u());return}e.focus({preventScroll:!!i.preventScroll}),a.mostRecentlyFocusedNode=e,Gt(e)&&e.select()}},m=function(e){var t=l(`setReturnFocus`,{params:[e]});return t||t!==!1&&e},h=function(e){var t=e.target,n=e.event,r=e.isBackward,o=r!==void 0&&r;t||=H(n),d();var s=null;if(a.tabbableGroups.length>0){var u=c(t,n),f=u>=0?a.containerGroups[u]:void 0;if(u<0)s=o?a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode:a.tabbableGroups[0].firstTabbableNode;else if(o){var p=a.tabbableGroups.findIndex(function(e){var n=e.firstTabbableNode;return t===n});if(p<0&&(f.container===t||Mt(t,i.tabbableOptions)&&!R(t,i.tabbableOptions)&&!f.nextTabbableNode(t,!1))&&(p=u),p>=0){var m=p===0?a.tabbableGroups.length-1:p-1,h=a.tabbableGroups[m];s=L(t)>=0?h.lastTabbableNode:h.lastDomTabbableNode}else B(n)||(s=f.nextTabbableNode(t,!1))}else{var g=a.tabbableGroups.findIndex(function(e){var n=e.lastTabbableNode;return t===n});if(g<0&&(f.container===t||Mt(t,i.tabbableOptions)&&!R(t,i.tabbableOptions)&&!f.nextTabbableNode(t))&&(g=u),g>=0){var _=g===a.tabbableGroups.length-1?0:g+1,v=a.tabbableGroups[_];s=L(t)>=0?v.firstTabbableNode:v.firstDomTabbableNode}else B(n)||(s=f.nextTabbableNode(t))}}else s=l(`fallbackFocus`);return s},g=function(e){if(!(c(H(e),e)>=0)){if(V(i.clickOutsideDeactivates,e)){o.deactivate({returnFocus:i.returnFocusOnDeactivate});return}V(i.allowOutsideClick,e)||e.preventDefault()}},_=function(e){var t=H(e),n=c(t,e)>=0;if(n||t instanceof Document)n&&(a.mostRecentlyFocusedNode=t);else{e.stopImmediatePropagation();var r,o=!0;if(a.mostRecentlyFocusedNode)if(L(a.mostRecentlyFocusedNode)>0){var s=c(a.mostRecentlyFocusedNode),l=a.containerGroups[s].tabbableNodes;if(l.length>0){var d=l.findIndex(function(e){return e===a.mostRecentlyFocusedNode});d>=0&&(i.isKeyForward(a.recentNavEvent)?d+1<l.length&&(r=l[d+1],o=!1):d-1>=0&&(r=l[d-1],o=!1))}}else a.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return L(e)>0})})||(o=!1);else o=!1;o&&(r=h({target:a.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(a.recentNavEvent)})),p(r||a.mostRecentlyFocusedNode||u())}a.recentNavEvent=void 0},v=function(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1];a.recentNavEvent=e;var n=h({event:e,isBackward:t});n&&(B(e)&&e.preventDefault(),p(n))},y=function(e){(i.isKeyForward(e)||i.isKeyBackward(e))&&v(e,i.isKeyBackward(e))},b=function(e){Kt(e)&&V(i.escapeDeactivates,e)!==!1&&(e.preventDefault(),o.deactivate())},x=function(e){c(H(e),e)>=0||V(i.clickOutsideDeactivates,e)||V(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},S=function(){if(a.active)return z.activateTrap(r,o),a.delayInitialFocusTimer=i.delayInitialFocus?Yt(function(){p(u())}):p(u()),n.addEventListener(`focusin`,_,!0),n.addEventListener(`mousedown`,g,{capture:!0,passive:!1}),n.addEventListener(`touchstart`,g,{capture:!0,passive:!1}),n.addEventListener(`click`,x,{capture:!0,passive:!1}),n.addEventListener(`keydown`,y,{capture:!0,passive:!1}),n.addEventListener(`keydown`,b),o},C=function(e){a.active&&!a.paused&&o._setSubtreeIsolation(!1),a.adjacentElements.clear(),a.alreadySilent.clear();var t=new Set,n=new Set,r=Ft(e),i;try{for(r.s();!(i=r.n()).done;){var s=i.value;t.add(s);for(var c=typeof ShadowRoot<`u`&&s.getRootNode()instanceof ShadowRoot,l=s;l;){t.add(l);var u=l.parentElement,d=[];u?d=u.children:!u&&c&&(d=l.getRootNode().children,u=l.getRootNode().host,c=typeof ShadowRoot<`u`&&u.getRootNode()instanceof ShadowRoot);var f=Ft(d),p;try{for(f.s();!(p=f.n()).done;){var m=p.value;n.add(m)}}catch(e){f.e(e)}finally{f.f()}l=u}}}catch(e){r.e(e)}finally{r.f()}t.forEach(function(e){n.delete(e)}),a.adjacentElements=n},w=function(){if(a.active)return n.removeEventListener(`focusin`,_,!0),n.removeEventListener(`mousedown`,g,!0),n.removeEventListener(`touchstart`,g,!0),n.removeEventListener(`click`,x,!0),n.removeEventListener(`keydown`,y,!0),n.removeEventListener(`keydown`,b),o},T=typeof window<`u`&&`MutationObserver`in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===a.mostRecentlyFocusedNode})})&&p(u())}
50):void 0,E=function(){T&&(T.disconnect(),a.active&&!a.paused&&a.containers.map(function(e){T.observe(e,{subtree:!0,childList:!0})}))};return o={get active(){return a.active},get paused(){return a.paused},activate:function(e){if(a.active)return this;var t=s(e,`onActivate`),c=s(e,`onPostActivate`),l=s(e,`checkCanFocusTrap`),u=z.getActiveTrap(r),p=!1;if(u&&!u.paused){var m;(m=u._setSubtreeIsolation)==null||m.call(u,!1),p=!0}try{l||d(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=f(n),t?.();var h=function(){l&&d(),S(),E(),i.isolateSubtrees&&o._setSubtreeIsolation(!0),c?.()};if(l)return l(a.containers.concat()).then(h,h),this;h()}catch(e){if(u===z.getActiveTrap(r)&&p){var g;(g=u._setSubtreeIsolation)==null||g.call(u,!0)}throw e}return this},deactivate:function(e){if(!a.active)return this;var t=Bt({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e);clearTimeout(a.delayInitialFocusTimer),a.delayInitialFocusTimer=void 0,a.paused||o._setSubtreeIsolation(!1),a.alreadySilent.clear(),w(),a.active=!1,a.paused=!1,E(),z.deactivateTrap(r,o);var n=s(t,`onDeactivate`),c=s(t,`onPostDeactivate`),l=s(t,`checkCanReturnFocus`),u=s(t,`returnFocus`,`returnFocusOnDeactivate`);n?.();var d=function(){Yt(function(){u&&p(m(a.nodeFocusedBeforeActivation)),c?.()})};return u&&l?(l(m(a.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(e){return a.active?(a.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return a.active?(a.manuallyPaused=!1,r[r.length-1]===this?this._setPausedState(!1,e):this):this},updateContainerElements:function(e){return a.containers=[].concat(e).filter(
50Boolean).map(function(e){return typeof e==`string`?n.querySelector(e):e}),i.isolateSubtrees&&C(a.containers),a.active&&(d(),i.isolateSubtrees&&!a.paused&&o._setSubtreeIsolation(!0)),E(),this}},Object.defineProperties(o,{_isManuallyPaused:{value:function(){return a.manuallyPaused}},_setPausedState:{value:function(e,t){if(a.paused===e)return this;if(a.paused=e,e){var n=s(t,`onPause`),r=s(t,`onPostPause`);n?.(),w(),E(),o._setSubtreeIsolation(!1),r?.()}else{var i=s(t,`onUnpause`),c=s(t,`onPostUnpause`);i?.(),o._setSubtreeIsolation(!0),d(),S(),E(),c?.()}return this}},_setSubtreeIsolation:{value:function(e){i.isolateSubtrees&&a.adjacentElements.forEach(function(t){e?i.isolateSubtrees===`aria-hidden`?((t.ariaHidden===`true`||t.getAttribute(`aria-hidden`)?.toLowerCase()===`true`)&&a.alreadySilent.add(t),t.setAttribute(`aria-hidden`,`true`)):((t.inert||t.hasAttribute(`inert`))&&a.alreadySilent.add(t),t.setAttribute(`inert`,!0)):a.alreadySilent.has(t)||(i.isolateSubtrees===`aria-hidden`?t.removeAttribute(`aria-hidden`):t.removeAttribute(`inert`))})}}}),o.updateContainerElements(e),o},Qt=class e{static instance=new e;options={googleConsentMode:!1};REVISIT_BTN_WRAPPER_CSS=`.cky-btn-revisit-wrapper`;EMBED_BLOCKER_NEW_CLASS_CSS=`.cky-banner-element`;EMBED_BLOCKER_BUTTON_CSS=`[data-cky-tag="placeholder-title"]`;COOKIE_YES_HIDDEN_CSS=`.cky-hide`;BANNER_TITLE_ID=`yard-cky-title`;BANNER_TITLE_CSS=`.cky-title`;BANNER_BTN_CLOSE_CSS=`.cky-banner-btn-close`;MODAL_OPEN_CSS=`.cky-modal-open`;MODAL_BTN_CLOSE_CSS=`.cky-modal .cky-btn-close`;MODAL_BTN_CLOSE_ARIA_LABEL=`Sluit`;MODAL_CONTENT_WRAPPER_CLASS=`.cky-preference-content-wrapper`;MODAL_CONTENT_ID=`a11y-cookie-yes-description-content`;MODAL_CONTENT_TOGGLE_BUTTON_CLASSES=`.cky-show-desc-btn, .cky-hide-desc-btn`;MODAL_TITLE_ID=`yard-cky-modal-title`;MODAL_TITLE_CSS=`.cky-preference-title`;MODAL_ACCORDION_CSS=`.cky-accordion`;MODAL_ACCORDION_BTN_CSS=`.cky-accordion-btn`;MODAL_ACCORDION_OPEN_CSS=`.cky-accordion-active`;MODAL_CHECKBOXES_CSS=`.cky-switch input[type="checkbox"]`;COOKIE_BANNER_CSS=`.cky-consent-container`;COOKIE_MODAL_CSS=`.cky-modal`;cookieModal;cookieBanner;focusTrapBanner;focusTrapModal;focusTrapBannerOptions;focusTrapModalOptions;focusTrapOptions={allowOutsideClick:!0,clickOutsideDeactivates:!0,checkCanFocusTrap:$e};constructor(t){return e.instance?e.instance.options={...e.instance.options,...t}:(e.instance=this,this.options={...this.options,...t},this.init()),e.instance}static getInstance(){return e.instance||new e}async init(){return this.cookieBanner=await Qe(this.COOKIE_BANNER_CSS),this.cookieModal=await Qe(this.COOKIE_MODAL_CSS),this.options.googleConsentMode===!0&&new it,!this.cookieBanner||!this.cookieModal?!1:(this.initFocusTrapOptions(),this.focusTrapBanner=Zt(this.cookieBanner,this.focusTrapBannerOptions),this.focusTrapModal=Zt(this.cookieModal,this.focusTrapModalOptions),this.moveRevisitButtonToFooter(),this.emptyRevisitButtonAltText(),this.observeBanner(),this.changeBanner(),this.changeBannerTitleToH2(),this.closeBannerOnEscapeKey(),this.observeModal(),this.changeModal(),this.observeShowMoreLessDescription(),this.observeAccordions(),this.changeModalTitleToH2(),this.changeModalCloseBtnAriaLabel(),this.changeModelButtonsToH3(),this.addCheckboxRoleSwitch(),this.changeCheckboxAriaLabel(),this.changeEmbedText(),this)}closeCookieYes=e=>{let t=document.querySelector(e);!t||t.closest(this.COOKIE_YES_HIDDEN_CSS)||t.click()};initFocusTrapOptions(){this.focusTrapBannerOptions={...this.focusTrapOptions,onDeactivate:()=>this.closeCookieYes(this.BANNER_BTN_CLOSE_CSS)},this.focusTrapModalOptions={...this.focusTrapOptions,onDeactivate:()=>this.closeCookieYes(this.MODAL_BTN_CLOSE_CSS)}}moveRevisitButtonToFooter(){let e=document.querySelector(this.REVISIT_BTN_WRAPPER_CSS),t=document.querySelector(`footer`);e&&t&&t.appendChild(e)}emptyRevisitButtonAltText(){let e=document.querySelector(this.REVISIT_BTN_WRAPPER_CSS)?.querySelector(`img`);e&&e.setAttribute(`alt`,``)}observeBanner(){if(this.cookieBanner?.classList.contains(this.COOKIE_YES_HIDDEN_CSS.substring(1))){this.focusTrapBanner?.deactivate();return}this.focusTrapBanner?.activate(),new MutationObserver(e=>
50{e.forEach(e=>{let t=e.target.classList.contains(this.COOKIE_YES_HIDDEN_CSS.substring(1));e.attributeName===`class`&&t?this.focusTrapBanner?.deactivate():this.focusTrapBanner?.activate()})}).observe(this.cookieBanner,{attributes:!0})}changeBanner(){this.cookieBanner?.setAttribute(`role`,`dialog`),this.cookieBanner?.setAttribute(`aria-labelledby`,this.BANNER_TITLE_ID)}changeBannerTitleToH2(){let e=document.querySelector(this.BANNER_TITLE_CSS);if(!e)return;let t=Ze(e,`h2`);t.hasAttribute(`role`)&&t.removeAttribute(`role`),t.hasAttribute(`aria-level`)&&t.removeAttribute(`aria-level`),t.id=this.BANNER_TITLE_ID}closeBannerOnEscapeKey(){this.cookieBanner&&this.cookieBanner.addEventListener(`keydown`,e=>{if(e.key===`Escape`||e.key===`Esc`){if(!this.cookieBanner)return;this.cookieBanner.classList.add(this.COOKIE_YES_HIDDEN_CSS.substring(1)),this.focusTrapBanner?.deactivate(),this.closeCookieYes(this.BANNER_BTN_CLOSE_CSS)}})}observeModal(){this.cookieModal&&new MutationObserver(e=>{e.forEach(e=>{let t=e.target;e.attributeName===`class`&&(e.attributeName===`class`&&t.classList.contains(this.MODAL_OPEN_CSS.substring(1))&&setTimeout(()=>{this.focusTrapModal.activate()},200),e.attributeName===`class`&&!t.classList.contains(this.MODAL_OPEN_CSS.substring(1))&&this.focusTrapModal?.deactivate())})}).observe(this.cookieModal,{attributes:!0})}changeModal(){this.cookieModal?.setAttribute(`role`,`dialog`),this.cookieModal?.setAttribute(`aria-labelledby`,this.MODAL_TITLE_ID)}observeShowMoreLessDescription(){let e=document.querySelector(this.MODAL_CONTENT_WRAPPER_CLASS);if(!e)return;e.id||=this.MODAL_CONTENT_ID;let t=()=>{let t=e.querySelector(this.MODAL_CONTENT_TOGGLE_BUTTON_CLASSES);t&&t.setAttribute(`aria-controls`,e.id)};t(),new MutationObserver(t).observe(e,{childList:!0,subtree:!0})}observeAccordions(){document.querySelectorAll(this.MODAL_ACCORDION_CSS)?.forEach(e=>{let t=e.querySelector(this.MODAL_ACCORDION_BTN_CSS);t?.setAttribute(`aria-expanded`,`false`),new MutationObserver(n=>{n.forEach(n=>{let r=e?.classList.contains(this.MODAL_ACCORDION_OPEN_CSS.substring(1)).toString();n.type===`attributes`&&t?.setAttribute(`aria-expanded`,r)})}).observe(e,{attributes:!0})})}changeModalTitleToH2(){let e=document.querySelector(this.MODAL_TITLE_CSS);if(!e)return;let t=Ze(e,`h2`);t.hasAttribute(`role`)&&t.removeAttribute(`role`),t.hasAttribute(`aria-level`)&&t.removeAttribute(`aria-level`),t.id=this.MODAL_TITLE_ID}changeModalCloseBtnAriaLabel(){let e=document.querySelector(this.MODAL_BTN_CLOSE_CSS);e&&e.setAttribute(`aria-label`,this.MODAL_BTN_CLOSE_ARIA_LABEL)}changeModelButtonsToH3(){document.querySelectorAll(this.MODAL_ACCORDION_BTN_CSS)?.forEach(e=>{if(!e.parentElement)return;let t=document.createElement(`h3`);t.classList.add(`cky-preference-title`),e.parentElement.insertBefore(t,e),t.appendChild(e)})}addCheckboxRoleSwitch(){document.querySelectorAll(this.MODAL_CHECKBOXES_CSS)?.forEach(e=>{e.hasAttribute(`role`)&&e.removeAttribute(`role`),e.setAttribute(`role`,`switch`)})}changeCheckboxAriaLabel(){document.querySelectorAll(this.MODAL_ACCORDION_CSS)?.forEach(e=>{let t=e.querySelector(this.MODAL_ACCORDION_BTN_CSS),n=e.querySelector(this.MODAL_CHECKBOXES_CSS);!t||!n||(this.syncAriaLabel(t,n),n.addEventListener(`change`,()=>{this.syncAriaLabel(t,n)}))})}syncAriaLabel(e,t){let n=e.getAttribute(`aria-label`)||e.textContent?.trim()||`Categorie`,r=t.checked?`${n} ingeschakeld, zet ${n.toLowerCase()} uit`:`${n} uitgeschakeld, zet ${n.toLowerCase()} aan`;t.setAttribute(`aria-label`,r)}changeEmbedText(){document.querySelectorAll(this.EMBED_BLOCKER_BUTTON_CSS)?.forEach(e=>{let t=Ze(e,`button`);t&&t.classList.add(this.EMBED_BLOCKER_NEW_CLASS_CSS.substring(1))})}};if(typeof window<`u`){var $t={get passive(){}};window.addEventListener(`testPassive`,null,$t),window.removeEventListener(`testPassive`,null,$t)}typeof window<`u`&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform===`MacIntel`&&window.navigator.maxTouchPoints);var en=typeof Element>`u`;en||Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,!en&&Element.prototype.getRootNode;var tn={exports:{}},nn;function rn(){return nn||(nn=1,(function(e){(function(t){let n=0,r=function(e,t){let i=`js-enabled`,a=this,o=!1;if(Array.isArray(e))return!!e.length&&e.map((e=>new r(e,t)));let s={init(){this.options=Object.assign({duration:500,ariaEnabled:!0,collapse:!0,showMultiple:!1,onlyChildNodes:!0,openOnInit:[],elementClass:`ac`,triggerClass:`ac-trigger`,panelClass:`ac-panel`,activeClass:`is-active`,beforeOpen:()=>{},onOpen:()=>{},beforeClose:()=>{},onClose:()=>{}},t);let n=typeof e==`string`;this.container=n?document.querySelector(e):e,this.createDefinitions(),a.attachEvents()},createDefinitions(){let{elementClass:e,openOnInit:t,onlyChildNodes:r}=this.options,a=r?this.container.childNodes:this.container.querySelectorAll(c(e));this.elements=Array.from(a).filter((t=>t.classList&&t.classList.contains(e))),this.firstElement=this.elements[0],this.lastElement=this.elements[this.elements.length-1],this.elements.filter((e=>
50!e.classList.contains(i))).forEach((e=>{e.classList.add(i),this.generateIDs(e),this.setARIA(e),this.setTransition(e);let r=this.elements.indexOf(e);n++,t.includes(r)?this.showElement(e,!1):this.closeElement(e,!1)}))},setTransition(e){let t=arguments.length>1&&arguments[1]!==void 0&&arguments[1],{duration:n,panelClass:r}=this.options;e.querySelector(c(r)).style.transitionDuration=t?null:`${n}ms`},generateIDs(e){let{triggerClass:t,panelClass:r}=this.options,i=e.querySelector(c(t)),a=e.querySelector(c(r));e.setAttribute(`id`,e.id||`ac-${n}`),i.setAttribute(`id`,i.id||`ac-trigger-${n}`),a.setAttribute(`id`,a.id||`ac-panel-${n}`)},removeIDs(e){let{triggerClass:t,panelClass:n}=this.options,r=e.querySelector(c(t)),i=e.querySelector(c(n));e.id.startsWith(`ac-`)&&e.removeAttribute(`id`),r.id.startsWith(`ac-`)&&r.removeAttribute(`id`),i.id.startsWith(`ac-`)&&i.removeAttribute(`id`)},setARIA(e){let{ariaEnabled:t,triggerClass:n,panelClass:r}=this.options;if(!t)return;let i=e.querySelector(c(n)),a=e.querySelector(c(r));i.setAttribute(`role`,`button`),i.setAttribute(`aria-controls`,a.id),i.setAttribute(`aria-disabled`,!1),i.setAttribute(`aria-expanded`,!1),a.setAttribute(`role`,`region`),a.setAttribute(`aria-labelledby`,i.id)},updateARIA(e,t){let{ariaExpanded:n,ariaDisabled:r}=t,{ariaEnabled:i,triggerClass:a}=this.options;if(!i)return;let o=e.querySelector(c(a));o.setAttribute(`aria-expanded`,n),o.setAttribute(`aria-disabled`,r)},removeARIA(e){let{ariaEnabled:t,triggerClass:n,panelClass:r}=this.options;if(!t)return;let i=e.querySelector(c(n)),a=e.querySelector(c(r));i.removeAttribute(`role`),i.removeAttribute(`aria-controls`),i.removeAttribute(`aria-disabled`),i.removeAttribute(`aria-expanded`),a.removeAttribute(`role`),a.removeAttribute(`aria-labelledby`)},focus(e,t){e.preventDefault();let{triggerClass:n}=this.options;t.querySelector(c(n)).focus()},focusFirstElement(e){this.focus(e,this.firstElement),this.currFocusedIdx=0},focusLastElement(e){this.focus(e,this.lastElement),this.currFocusedIdx=this.elements.length-1},focusNextElement(e){let t=this.currFocusedIdx+1;if(t>this.elements.length-1)return this.focusFirstElement(e);this.focus(e,this.elements[t]),this.currFocusedIdx=t},focusPrevElement(e){let t=this.currFocusedIdx-1;if(t<0)return this.focusLastElement(e);this.focus(e,this.elements[t]),this.currFocusedIdx=t},showElement(e){let t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],{panelClass:n,activeClass:r,collapse:i,beforeOpen:a}=this.options;t&&a(e);let o=e.querySelector(c(n)),s=o.scrollHeight;e.classList.add(r),requestAnimationFrame((()=>{requestAnimationFrame((()=>{o.style.height=t?`${s}px`:`auto`}))})),this.updateARIA(e,{ariaExpanded:!0,ariaDisabled:!i})},closeElement(e){let t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],{panelClass:n,activeClass:r,beforeClose:i}=this.options,a=e.querySelector(c(n)),o=a.scrollHeight;e.classList.remove(r),t?(i(e),requestAnimationFrame((()=>{a.style.height=`${o}px`,requestAnimationFrame((()=>{a.style.height=0}))}))):a.style.height=0,this.updateARIA(e,{ariaExpanded:!1,ariaDisabled:!1})},toggleElement(e){let{activeClass:t,collapse:n}=this.options,r=e.classList.contains(t);if(!r||n)return r?this.closeElement(e):this.showElement(e)},closeElements(){let{activeClass:e,showMultiple:t}=this.options;t||this.elements.forEach(((t,n)=>{t.classList.contains(e)&&n!==this.currFocusedIdx&&this.closeElement(t)}))},handleClick(e){let t=e.currentTarget;this.elements.forEach(((n,r)=>{n.contains(t)&&e.target.nodeName!==`A`&&(this.currFocusedIdx=r,this.closeElements(),this.focus(e,n),this.toggleElement(n))}))},handleKeydown(e){switch(e.key){case`ArrowUp`:return this.focusPrevElement(e);case`ArrowDown`:return this.focusNextElement(e);case`Home`:return this.focusFirstElement(e);case`End`:return this.focusLastElement(e);default:return null}},handleFocus(e){let t=e.currentTarget,n=this.elements.find((e=>e.contains(t)));this.currFocusedIdx=this.elements.indexOf(n)},handleTransitionEnd(e){if(e.stopPropagation(),e.propertyName!==`height`)return;let{onOpen:t,onClose:n}
50=this.options,r=e.currentTarget,i=parseInt(r.style.height),a=this.elements.find((e=>e.contains(r)));i>0?(r.style.height=`auto`,t(a)):n(a)}};this.attachEvents=()=>{if(o)return;let{triggerClass:e,panelClass:t}=s.options;s.handleClick=s.handleClick.bind(s),s.handleKeydown=s.handleKeydown.bind(s),s.handleFocus=s.handleFocus.bind(s),s.handleTransitionEnd=s.handleTransitionEnd.bind(s),s.elements.forEach((n=>{let r=n.querySelector(c(e)),i=n.querySelector(c(t));r.addEventListener(`click`,s.handleClick),r.addEventListener(`keydown`,s.handleKeydown),r.addEventListener(`focus`,s.handleFocus),i.addEventListener(`transitionend`,s.handleTransitionEnd)})),o=!0},this.detachEvents=()=>{if(!o)return;let{triggerClass:e,panelClass:t}=s.options;s.elements.forEach((n=>{let r=n.querySelector(c(e)),i=n.querySelector(c(t));r.removeEventListener(`click`,s.handleClick),r.removeEventListener(`keydown`,s.handleKeydown),r.removeEventListener(`focus`,s.handleFocus),i.removeEventListener(`transitionend`,s.handleTransitionEnd)})),o=!1},this.toggle=e=>{let t=s.elements[e];t&&s.toggleElement(t)},this.open=e=>{let t=s.elements[e];t&&s.showElement(t)},this.openAll=()=>{let{activeClass:e,onOpen:t}=s.options;s.elements.forEach((n=>{n.classList.contains(e)||(s.showElement(n,!1),t(n))}))},this.close=e=>{let t=s.elements[e];t&&s.closeElement(t)},this.closeAll=()=>{let{activeClass:e,onClose:t}=s.options;s.elements.forEach((n=>{n.classList.contains(e)&&(s.closeElement(n,!1),t(n))}))},this.destroy=()=>{this.detachEvents(),this.openAll(),s.elements.forEach((e=>{s.removeIDs(e),s.removeARIA(e),s.setTransition(e,!0),e.classList.remove(i)})),o=!0},this.update=()=>{s.createDefinitions(),this.detachEvents(),this.attachEvents()};let c=e=>`.${CSS.escape(e)}`;s.init()};e.exports===void 0?t.Accordion=r:e.exports=r})(window)})(tn)),tn.exports}rn();var an=class{selector;excludedClasses;excludedUrlKeywords;icon;insertIconBeforeText;constructor(e={}){this.selector=e.selector||``,this.excludedClasses=e.excludedClasses||[],this.excludedUrlKeywords=e.excludedUrlKeywords||[],this.icon=e.icon||null,this.insertIconBeforeText=e.insertIconBeforeText||!1}shouldIgnore(e,t){return!t||t===`#`||this.isRelativePath(t)?!0:this.excludedClasses.some(t=>e.classList.contains(t))||this.excludedUrlKeywords.some(e=>t.includes(e))}insertIcon(e){if(this.icon){if(typeof this.icon==`string`){let t=document.createElement(`span`);t.innerHTML=this.icon;let n=t.firstElementChild;n&&(this.insertIconBeforeText?e.prepend(n):e.append(n))}typeof this.icon!=`string`&&(this.insertIconBeforeText?e.prepend(this.icon.cloneNode(!0)):e.append(this.icon.cloneNode(!0)))}}isRelativePath(e){return!e.includes(`://`)}},on=class extends an{constructor(e={}){super(e),this.init()}init(){document.querySelectorAll(this.selector).forEach(e=>{let t=e.getAttribute(`href`);if(!(!t||this.shouldIgnore(e,t)))try{new URL(t).hostname!==window.location.hostname&&(this.insertIcon(e),this.insertSrOnlyText(e,` (externe link)`))}catch{}})}insertSrOnlyText(e,t){let n=document.createElement(`span`);n.classList.add(`sr-only`),n.textContent=t,this.insertIconBeforeText?e.prepend(n):e.append(n)}},sn=e=>{let t=[`B`,`KB`,`MB`,`GB`,`TB`,`PB`],n=0;for(;e>=1024&&n<t.length-1;)e/=1024,n++;return`${e.toFixed(0)} ${t[n]}`},cn=class extends an{showFileSize;fileSizeClass;createFileSizeElementFn;constructor(e={}){super(e),this.showFileSize=e.showFileSize??!0,this.fileSizeClass=e.fileSizeClass||`js-enhance-pdf-link-file-size`,this.createFileSizeElementFn=e.createFileSizeElement,this.init()}init(){document.querySelectorAll(this.selector).forEach(e=>{let t=e.getAttribute(`href`);!t||!t.endsWith(`.pdf`)||this.shouldIgnore(e,t)||!this.checkIfSameDomain(t)||(this.showFileSize?this.appendPdfFileSize(e):this.insertIcon(e))})}checkIfSameDomain(e){try{return new URL(e,window.location.href).hostname===window.location.hostname}catch{return!1}}appendPdfFileSize(e){let t=new XMLHttpRequest;t.open(`HEAD`,e.href,!0),t.onreadystatechange=()=>{if(t.readyState!==4||t.status!==200||t.getResponseHeader(`Content-Type`)!==`application/pdf`)return;let n=t.getResponseHeader(`Content-Length`);if(!n)return;let r=this.createFileSizeElement(parseInt(n,10));e.appendChild(r),this.insertIcon(e)},t.send()}createFileSizeElement(e){if(this.createFileSizeElementFn)return this.createFileSizeElementFn(e);let t=document.createElement(`span`);return t.classList.add(...this.fileSizeClass.split(` `)),t.innerHTML=` (pdf, ${sn(e)})`,t}},ln=class{bodyClass;isUsingKeyboard;constructor(e={}){this.bodyClass=e.bodyClass||`js-user-is-tabbing`,this.isUsingKeyboard=!1,this.init()}init(){this.bindEvents()}
50bindEvents(){document.addEventListener(`keydown`,this.handleKeyDown),document.addEventListener(`mousedown`,this.handleMouseDown)}handleKeyDown=e=>{e.key!==`Tab`||this.isUsingKeyboard||(this.isUsingKeyboard=!0,document.body.classList.add(this.bodyClass))};handleMouseDown=()=>{this.isUsingKeyboard&&(this.isUsingKeyboard=!1,document.body.classList.remove(this.bodyClass))}},un={exports:{}},dn=un.exports,fn;function pn(){return fn||(fn=1,(function(e,t){(function(t,n){e.exports=n()})(dn,function(){function e(){return typeof window<`u`}function t(){var e=!1;try{var t={get passive(){e=!0}};window.addEventListener(`test`,t,t),window.removeEventListener(`test`,t,t)}catch{e=!1}return e}function n(){return!!(e()&&function(){}.bind&&`classList`in document.documentElement&&Object.assign&&Object.keys&&requestAnimationFrame)}function r(e){return e.nodeType===9}function i(e){return e&&e.document&&r(e.document)}function a(e){var t=e.document,n=t.body,r=t.documentElement;return{scrollHeight:function(){return Math.max(n.scrollHeight,r.scrollHeight,n.offsetHeight,r.offsetHeight,n.clientHeight,r.clientHeight)},height:function(){return e.innerHeight||r.clientHeight||n.clientHeight},scrollY:function(){return e.pageYOffset===void 0?(r||n.parentNode||n).scrollTop:e.pageYOffset}}}function o(e){return{scrollHeight:function(){return Math.max(e.scrollHeight,e.offsetHeight,e.clientHeight)},height:function(){return Math.max(e.offsetHeight,e.clientHeight)},scrollY:function(){return e.scrollTop}}}function s(e){return i(e)?a(e):o(e)}function c(e,n,r){var i=t(),a,o=!1,c=s(e),l=c.scrollY(),u={};function d(){var e=Math.round(c.scrollY()),t=c.height(),i=c.scrollHeight();u.scrollY=e,u.lastScrollY=l,u.direction=e>l?`down`:`up`,u.distance=Math.abs(e-l),u.isOutOfBounds=e<0||e+t>i,u.top=e<=n.offset[u.direction],u.bottom=e+t>=i,u.toleranceExceeded=u.distance>n.tolerance[u.direction],r(u),l=e,o=!1}function f(){o||(o=!0,a=requestAnimationFrame(d))}var p=i?{passive:!0,capture:!1}:!1;return e.addEventListener(`scroll`,f,p),d(),{destroy:function(){cancelAnimationFrame(a),e.removeEventListener(`scroll`,f,p)}}}function l(e){return e===Object(e)?e:{down:e,up:e}}function u(e,t){t||={},Object.assign(this,u.options,t),this.classes=Object.assign({},u.options.classes,t.classes),this.elem=e,this.tolerance=l(this.tolerance),this.offset=l(this.offset),this.initialised=!1,this.frozen=!1}return u.prototype={constructor:u,init:function(){return u.cutsTheMustard&&!this.initialised&&(this.addClass(`initial`),this.initialised=!0,setTimeout(function(e){e.scrollTracker=c(e.scroller,{offset:e.offset,tolerance:e.tolerance},e.update.bind(e))},100,this)),this},destroy:function(){this.initialised=!1,Object.keys(this.classes).forEach(this.removeClass,this),this.scrollTracker.destroy()},unpin:function(){(this.hasClass(`pinned`)||!this.hasClass(`unpinned`))&&(this.addClass(`unpinned`),this.removeClass(`pinned`),this.onUnpin&&this.onUnpin.call(this))},pin:function(){this.hasClass(`unpinned`)&&(this.addClass(`pinned`),this.removeClass(`unpinned`),this.onPin&&this.onPin.call(this))},freeze:function(){this.frozen=!0,this.addClass(`frozen`)},unfreeze:function(){this.frozen=!1,this.removeClass(`frozen`)},top:function(){this.hasClass(`top`)||(this.addClass(`top`),this.removeClass(`notTop`),this.onTop&&this.onTop.call(this))},notTop:function(){this.hasClass(`notTop`)||(this.addClass(`notTop`),this.removeClass(`top`),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){this.hasClass(`bottom`)||(this.addClass(`bottom`),this.removeClass(`notBottom`),this.onBottom&&this.onBottom.call(this))},notBottom:function(){this.hasClass(`notBottom`)||(this.addClass(`notBottom`),this.removeClass(`bottom`),this.onNotBottom&&this.onNotBottom.call(this))},shouldUnpin:function(e){return e.direction===`down`&&!e.top&&e.toleranceExceeded},shouldPin:function(e){return e.direction===`up`&&e.toleranceExceeded||e.top},addClass:function(e){this.elem.classList.add.apply(this.elem.classList,this.classes[e].split(` `))},removeClass:function(e){this.elem.classList.remove.apply(this.elem.classList,this.classes[e].split(` `))},hasClass:function(e){return this.classes[e].split(` `).every(function(e){return this.classList.contains(e)},this.elem)},update:function(e){e.isOutOfBounds||this.frozen!==!0&&(e.top?this.top():this.notTop(),e.bottom?this.bottom():this.notBottom(),this.shouldUnpin(e)?this.unpin():this.shouldPin(e)&&this.pin())}},u.options={tolerance:{up:0,down:0},offset:0,scroller:e()?window:null,classes:{frozen:`headroom--frozen`,pinned:`headroom--pinned`,unpinned:`headroom--unpinned`,top:`headroom--top`,notTop:`headroom--not-top`,bottom:`headroom--bottom`,notBottom:`headroom--not-bottom`,initial:`headroom`}},u.cutsTheMustard=n(),u})})(un)),un.exports}pn();var mn=()=>{let e=document.querySelectorAll(`.wp-block-group-is-layout-grid > .wp-block-group.has-background`),t=()=>{n()},n=()=>{e.length!==0&&e.forEach(r)},r=e=>{let t=e.querySelectorAll(`a`);t.length===0||t.length>1||t.forEach(t=>{t.getAttribute(`href`)&&t.classList.contains(`wp-block-button__link`)&&i(t,e)})},i=(e,t)=>{let n=t.querySelector(`.wp-block-heading`);
50if(!n||n.querySelector(`a`))return;let r=document.createElement(`a`);r.href=e.href,e.target&&(r.target=e.target),e.rel&&(r.rel=e.rel),r.innerHTML=n.innerHTML,n.innerHTML=``,n.appendChild(r),a(e)},a=e=>{e.setAttribute(`aria-hidden`,`true`),e.setAttribute(`tabindex`,`-1`)};t()},hn=e(t(((e,t)=>{(function(e){let n=0,r=function(e,t){let i=`js-enabled`,a=this,o=!1;if(Array.isArray(e))return!!e.length&&e.map((e=>new r(e,t)));let s={init(){this.options=Object.assign({duration:500,ariaEnabled:!0,collapse:!0,showMultiple:!1,onlyChildNodes:!0,openOnInit:[],elementClass:`ac`,triggerClass:`ac-trigger`,panelClass:`ac-panel`,activeClass:`is-active`,beforeOpen:()=>{},onOpen:()=>{},beforeClose:()=>{},onClose:()=>{}},t);let n=typeof e==`string`;this.container=n?document.querySelector(e):e,this.createDefinitions(),a.attachEvents()},createDefinitions(){let{elementClass:e,openOnInit:t,onlyChildNodes:r}=this.options,a=r?this.container.childNodes:this.container.querySelectorAll(c(e));this.elements=Array.from(a).filter((t=>t.classList&&t.classList.contains(e))),this.firstElement=this.elements[0],this.lastElement=this.elements[this.elements.length-1],this.elements.filter((e=>!e.classList.contains(i))).forEach((e=>{e.classList.add(i),this.generateIDs(e),this.setARIA(e),this.setTransition(e);let r=this.elements.indexOf(e);n++,t.includes(r)?this.showElement(e,!1):this.closeElement(e,!1)}))},setTransition(e){let t=arguments.length>1&&arguments[1]!==void 0&&arguments[1],{duration:n,panelClass:r}=this.options;e.querySelector(c(r)).style.transitionDuration=t?null:`${n}ms`},generateIDs(e){let{triggerClass:t,panelClass:r}=this.options,i=e.querySelector(c(t)),a=e.querySelector(c(r));e.setAttribute(`id`,e.id||`ac-${n}`),i.setAttribute(`id`,i.id||`ac-trigger-${n}`),a.setAttribute(`id`,a.id||`ac-panel-${n}`)},removeIDs(e){let{triggerClass:t,panelClass:n}=this.options,r=e.querySelector(c(t)),i=e.querySelector(c(n));e.id.startsWith(`ac-`)&&e.removeAttribute(`id`),r.id.startsWith(`ac-`)&&r.removeAttribute(`id`),i.id.startsWith(`ac-`)&&i.removeAttribute(`id`)},setARIA(e){let{ariaEnabled:t,triggerClass:n,panelClass:r}=this.options;if(!t)return;let i=e.querySelector(c(n)),a=e.querySelector(c(r));i.setAttribute(`role`,`button`),i.setAttribute(`aria-controls`,a.id),i.setAttribute(`aria-disabled`,!1),i.setAttribute(`aria-expanded`,!1),a.setAttribute(`role`,`region`),a.setAttribute(`aria-labelledby`,i.id)},updateARIA(e,t){let{ariaExpanded:n,ariaDisabled:r}=t,{ariaEnabled:i,triggerClass:a}=this.options;if(!i)return;let o=e.querySelector(c(a));o.setAttribute(`aria-expanded`,n),o.setAttribute(`aria-disabled`,r)},removeARIA(e){let{ariaEnabled:t,triggerClass:n,panelClass:r}=this.options;if(!t)return;let i=e.querySelector(c(n)),a=e.querySelector(c(r));i.removeAttribute(`role`),i.removeAttribute(`aria-controls`),i.removeAttribute(`aria-disabled`),i.removeAttribute(`aria-expanded`),a.removeAttribute(`role`),a.removeAttribute(`aria-labelledby`)},focus(e,t){e.preventDefault();let{triggerClass:n}=this.options;t.querySelector(c(n)).focus()},focusFirstElement(e){this.focus(e,this.firstElement),this.currFocusedIdx=0},focusLastElement(e){this.focus(e,this.lastElement),this.currFocusedIdx=this.elements.length-1},focusNextElement(e){let t=this.currFocusedIdx+1;if(t>this.elements.length-1)return this.focusFirstElement(e);this.focus(e,this.elements[t]),this.currFocusedIdx=t},focusPrevElement(e){let t=this.currFocusedIdx-1;if(t<0)return this.focusLastElement(e);this.focus(e,this.elements[t]),this.currFocusedIdx=t},showElement(e){let t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],{panelClass:n,activeClass:r,collapse:i,beforeOpen:a}=this.options;t&&a(e);let o=e.querySelector(c(n)),s=o.scrollHeight;e.classList.add(r),requestAnimationFrame((()=>{requestAnimationFrame((()=>{o.style.height=t?`${s}px`:`auto`}))})),this.updateARIA(e,{ariaExpanded:!0,ariaDisabled:!i})},closeElement(e){let t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],{panelClass:n,activeClass:r,beforeClose:i}=this.options,a=e.querySelector(c(n)),o=a.scrollHeight;e.classList.remove(r),t?(i(e),requestAnimationFrame((()=>{a.style.height=`${o}px`,requestAnimationFrame((()=>{a.style.height=0}))}))):a.style.height=0,this.updateARIA(e,{ariaExpanded:!1,ariaDisabled:!1})},toggleElement(e){let{activeClass:t,collapse:n}=this.options,r=e.classList.contains(t);if(!r||n)return r?this.closeElement(e):this.showElement(e)},closeElements(){let{activeClass:e,showMultiple:t}=this.options;
50t||this.elements.forEach(((t,n)=>{t.classList.contains(e)&&n!==this.currFocusedIdx&&this.closeElement(t)}))},handleClick(e){let t=e.currentTarget;this.elements.forEach(((n,r)=>{n.contains(t)&&e.target.nodeName!==`A`&&(this.currFocusedIdx=r,this.closeElements(),this.focus(e,n),this.toggleElement(n))}))},handleKeydown(e){switch(e.key){case`ArrowUp`:return this.focusPrevElement(e);case`ArrowDown`:return this.focusNextElement(e);case`Home`:return this.focusFirstElement(e);case`End`:return this.focusLastElement(e);default:return null}},handleFocus(e){let t=e.currentTarget,n=this.elements.find((e=>e.contains(t)));this.currFocusedIdx=this.elements.indexOf(n)},handleTransitionEnd(e){if(e.stopPropagation(),e.propertyName!==`height`)return;let{onOpen:t,onClose:n}=this.options,r=e.currentTarget,i=parseInt(r.style.height),a=this.elements.find((e=>e.contains(r)));i>0?(r.style.height=`auto`,t(a)):n(a)}};this.attachEvents=()=>{if(o)return;let{triggerClass:e,panelClass:t}=s.options;s.handleClick=s.handleClick.bind(s),s.handleKeydown=s.handleKeydown.bind(s),s.handleFocus=s.handleFocus.bind(s),s.handleTransitionEnd=s.handleTransitionEnd.bind(s),s.elements.forEach((n=>{let r=n.querySelector(c(e)),i=n.querySelector(c(t));r.addEventListener(`click`,s.handleClick),r.addEventListener(`keydown`,s.handleKeydown),r.addEventListener(`focus`,s.handleFocus),i.addEventListener(`transitionend`,s.handleTransitionEnd)})),o=!0},this.detachEvents=()=>{if(!o)return;let{triggerClass:e,panelClass:t}=s.options;s.elements.forEach((n=>{let r=n.querySelector(c(e)),i=n.querySelector(c(t));r.removeEventListener(`click`,s.handleClick),r.removeEventListener(`keydown`,s.handleKeydown),r.removeEventListener(`focus`,s.handleFocus),i.removeEventListener(`transitionend`,s.handleTransitionEnd)})),o=!1},this.toggle=e=>{let t=s.elements[e];t&&s.toggleElement(t)},this.open=e=>{let t=s.elements[e];t&&s.showElement(t)},this.openAll=()=>{let{activeClass:e,onOpen:t}=s.options;s.elements.forEach((n=>{n.classList.contains(e)||(s.showElement(n,!1),t(n))}))},this.close=e=>{let t=s.elements[e];t&&s.closeElement(t)},this.closeAll=()=>{let{activeClass:e,onClose:t}=s.options;s.elements.forEach((n=>{n.classList.contains(e)&&(s.closeElement(n,!1),t(n))}))},this.destroy=()=>{this.detachEvents(),this.openAll(),s.elements.forEach((e=>{s.removeIDs(e),s.removeARIA(e),s.setTransition(e,!0),e.classList.remove(i)})),o=!0},this.update=()=>{s.createDefinitions(),this.detachEvents(),this.attachEvents()};let c=e=>`.${CSS.escape(e)}`;s.init()};t!==void 0&&t.exports!==void 0?t.exports=r:e.Accordion=r})(window)}))()),gn=()=>{let e=()=>{let e=Array.from(document.querySelectorAll(`.accordion-container:has(.ac-panel)`));e.length!==0&&t(e)},t=e=>{new hn.default(e,{openOnInit:e.reduce((e,t,n)=>(t.classList.contains(`is-open`)&&e.push(n),e),[]),ariaEnabled:!0,duration:400,beforeOpen:e=>{e.querySelector(`.ac-panel`)?.classList.remove(`hidden`)},onClose:e=>{e.querySelector(`.ac-panel`)?.classList.add(`hidden`)}})};e()};function _n(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}else return Array.from(e)}var vn=!1;if(typeof window<`u`){var yn={get passive(){vn=!0}};window.addEventListener(`testPassive`,null,yn),window.removeEventListener(`testPassive`,null,yn)}var bn=typeof window<`u`&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform===`MacIntel`&&window.navigator.maxTouchPoints>1),U=[],xn=!1,Sn=-1,W=void 0,G=void 0,K=void 0,Cn=function(e){return U.some(function(t){return!!(t.options.allowTouchMove&&t.options.allowTouchMove(e))})},wn=function(e){var t=e||window.event;return Cn(t.target)||t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)},Tn=function(e){if(K===void 0){var t=!!e&&e.reserveScrollBarGap===!0,n=window.innerWidth-document.documentElement.clientWidth;if(t&&n>0){var r=parseInt(window.getComputedStyle(document.body).getPropertyValue(`padding-right`),10);K=document.body.style.paddingRight,document.body.style.paddingRight=r+n+`px`}}W===void 0&&(W=document.body.style.overflow,document.body.style.overflow=`hidden`)},En=function(){K!==void 0&&(document.body.style.paddingRight=K,K=void 0),W!==void 0&&(document.body.style.overflow=W,W=void 0)},Dn=function(){return window.requestAnimationFrame(function(){if(G===void 0){G={position:document.body.style.position,top:document.body.style.top,left
50:document.body.style.left};var e=window,t=e.scrollY,n=e.scrollX,r=e.innerHeight;document.body.style.position=`fixed`,document.body.style.top=-t,document.body.style.left=-n,setTimeout(function(){return window.requestAnimationFrame(function(){var e=r-window.innerHeight;e&&t>=r&&(document.body.style.top=-(t+e))})},300)}})},On=function(){if(G!==void 0){var e=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10);document.body.style.position=G.position,document.body.style.top=G.top,document.body.style.left=G.left,window.scrollTo(t,e),G=void 0}},kn=function(e){return e?e.scrollHeight-e.scrollTop<=e.clientHeight:!1},An=function(e,t){var n=e.targetTouches[0].clientY-Sn;return Cn(e.target)?!1:t&&t.scrollTop===0&&n>0||kn(t)&&n<0?wn(e):(e.stopPropagation(),!0)},jn=function(e,t){if(!e){console.error(`disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.`);return}if(!U.some(function(t){return t.targetElement===e})){var n={targetElement:e,options:t||{}};U=[].concat(_n(U),[n]),bn?Dn():Tn(t),bn&&(e.ontouchstart=function(e){e.targetTouches.length===1&&(Sn=e.targetTouches[0].clientY)},e.ontouchmove=function(t){t.targetTouches.length===1&&An(t,e)},xn||=(document.addEventListener(`touchmove`,wn,vn?{passive:!1}:void 0),!0))}},Mn=function(e){if(!e){console.error(`enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.`);return}U=U.filter(function(t){return t.targetElement!==e}),bn&&(e.ontouchstart=null,e.ontouchmove=null,xn&&U.length===0&&(document.removeEventListener(`touchmove`,wn,vn?{passive:!1}:void 0),xn=!1)),bn?On():En()},Nn=[`input:not([inert]):not([inert] *)`,`select:not([inert]):not([inert] *)`,`textarea:not([inert]):not([inert] *)`,`a[href]:not([inert]):not([inert] *)`,`area[href]:not([inert]):not([inert] *)`,`button:not([inert]):not([inert] *)`,`[tabindex]:not(slot):not([inert]):not([inert] *)`,`audio[controls]:not([inert]):not([inert] *)`,`video[controls]:not([inert]):not([inert] *)`,`[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)`,`details>summary:first-of-type:not([inert]):not([inert] *)`,`details:not([inert]):not([inert] *)`],Pn=Nn.join(`,`),Fn=typeof Element>`u`,q=Fn?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,In=!Fn&&Element.prototype.getRootNode?function(e){return e?.getRootNode?.call(e)}:function(e){return e?.ownerDocument},Ln=function(e,t){t===void 0&&(t=!0);var n=e?.getAttribute?.call(e,`inert`);return n===``||n===`true`||t&&e&&(typeof e.closest==`function`?e.closest(`[inert]`):Ln(e.parentNode))},Rn=function(e){var t=e?.getAttribute?.call(e,`contenteditable`);return t===``||t===`true`},zn=function(e,t,n){if(Ln(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(Pn));return t&&q.call(e,Pn)&&r.unshift(e),r=r.filter(n),r},Bn=function(e,t,n){for(var r=[],i=Array.from(e);i.length;){var a=i.shift();if(!Ln(a,!1))if(a.tagName===`SLOT`){var o=a.assignedElements(),s=Bn(o.length?o:a.children,!0,n);
vendor: 4,589 bytes, line 50
50n.flatten?r.push.apply(r,s):r.push({scopeParent:a,candidates:s})}else{q.call(a,Pn)&&n.filter(a)&&(t||!e.includes(a))&&r.push(a);var c=a.shadowRoot||typeof n.getShadowRoot==`function`&&n.getShadowRoot(a),l=!Ln(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(a));if(c&&l){var u=Bn(c===!0?a.children:c.children,!0,n);n.flatten?r.push.apply(r,u):r.push({scopeParent:a,candidates:u})}else i.unshift.apply(i,a.children)}}return r},Vn=function(e){return!isNaN(parseInt(e.getAttribute(`tabindex`),10))},J=function(e){if(!e)throw Error(`No node provided`);return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Rn(e))&&!Vn(e)?0:e.tabIndex},Hn=function(e,t){var n=J(e);return n<0&&t&&!Vn(e)?0:n},Un=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Wn=function(e){return e.tagName===`INPUT`},Gn=function(e){return Wn(e)&&e.type===`hidden`},Kn=function(e){return e.tagName===`DETAILS`&&Array.prototype.slice.apply(e.children).some(function(e){return e.tagName===`SUMMARY`})},qn=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},Jn=function(e){if(!e.name)return!0;var t=e.form||In(e),n=function(e){return t.querySelectorAll(`input[type="radio"][name="`+e+`"]`)},r;if(typeof window<`u`&&window.CSS!==void 0&&typeof window.CSS.escape==`function`)r=n(window.CSS.escape(e.name));else try{r=n(e.name)}catch(e){return console.error(`Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s`,e.message),!1}var i=qn(r,e.form);return!i||i===e},Yn=function(e){return Wn(e)&&e.type===`radio`},Xn=function(e){return Yn(e)&&!Jn(e)},Zn=function(e){var t=e&&In(e),n=t?.host,r=!1;if(t&&t!==e){var i,a,o;for(r=!!((i=n)!=null&&(a=i.ownerDocument)!=null&&a.contains(n)||e!=null&&(o=e.ownerDocument)!=null&&o.contains(e));!r&&n;){var s,c;t=In(n),n=t?.host,r=!!((s=n)!=null&&(c=s.ownerDocument)!=null&&c.contains(n))}}return r},Qn=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return n===0&&r===0},$n=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if(n===`full-native`&&`checkVisibility`in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});var i=getComputedStyle(e).visibility;if(i===`hidden`||i===`collapse`)return!0;var a=q.call(e,`details>summary:first-of-type`)?e.parentElement:e;if(q.call(a,`details:not([open]) *`))return!0;if(!n||n===`full`||n===`full-native`||n===`legacy-full`){if(typeof r==`function`){for(var o=e;e;){var s=e.parentElement,c=In(e);if(s&&!s.shadowRoot&&r(s)===!0)return Qn(e);e=e.assignedSlot?e.assignedSlot:!s&&c!==e.ownerDocument?c.host:s}e=o}if(Zn(e))return!e.getClientRects().length;if(n!==`legacy-full`)return!0}else if(n===`non-zero-area`)return Qn(e);return!1},er=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName===`FIELDSET`&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if(r.tagName===`LEGEND`)return q.call(t,`fieldset[disabled] *`)?!0:!r.contains(e)}return!0}t=t.parentElement}return!1},tr=function(e,t){return!(t.disabled||Gn(t)||$n(t,e)||Kn(t)||er(t))},nr=function(e,t){return!(Xn(t)||J(t)<0||!tr(e,t))},rr=function(e){var t=parseInt(e.getAttribute(`tabindex`),10);return!!(isNaN(t)||t>=0)},ir=function(e){var t=[],n=[];return e.forEach(function(e,r){var i=!!e.scopeParent,a=i?e.scopeParent:e,o=Hn(a,i),s=i?ir(e.candidates):a;o===0?i?t.push.apply(t,s):t.push(a):n.push({documentOrder:r,tabIndex:o,item:e,isScope:i,content:s})}),n.sort(Un).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},ar=function(e,t){return t||={},ir(t.getShadowRoot?Bn([e],t.includeContainer,{filter:nr.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:rr}):zn(e,t.includeContainer,nr.bind(null,t)))},or=function(e,t){return t||={},t.getShadowRoot?Bn([e],t.includeContainer,{filter:tr.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):zn(e,t.includeContainer,tr.bind(null,t))},Y=function(e,t){if(t||={},!e)throw Error(`No node provided`);return q.call(e,Pn)!==!1&&nr(t,e)},sr=Nn.concat(`iframe:not([inert]):not([inert] *)`).join(`,`),cr=function(e,t){if(t||={},!e)throw Error(`No node provided`);return q.call(e,sr)!==!1&&tr(t,e)};function lr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ur(e){if(Array.isArray(e))return lr(e)}function dr(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];
vendor: 12,028 bytes, lines 50-52
50if(!n){if(Array.isArray(e)||(n=br(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
51In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||n.return==null||n.return()}finally{if(s)throw a}}}}function fr(e,t,n){return(t=yr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pr(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function mr(){throw TypeError(`Invalid attempt to spread non-iterable instance.
52In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function hr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function gr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?hr(Object(n),!0).forEach(function(t){fr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _r(e){return ur(e)||pr(e)||br(e)||mr()}function vr(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function yr(e){var t=vr(e,`string`);return typeof t==`symbol`?t:t+``}function br(e,t){if(e){if(typeof e==`string`)return lr(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?lr(e,t):void 0}}var X={getActiveTrap:function(e){return e?.length>0?e[e.length-1]:null},activateTrap:function(e,t){t!==X.getActiveTrap(e)&&X.pauseTrap(e);var n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1),X.unpauseTrap(e)},pauseTrap:function(e){X.getActiveTrap(e)?._setPausedState(!0)},unpauseTrap:function(e){var t=X.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},xr=function(e){return e.tagName&&e.tagName.toLowerCase()===`input`&&typeof e.select==`function`},Sr=function(e){return e?.key===`Escape`||e?.key===`Esc`||e?.keyCode===27},Z=function(e){return e?.key===`Tab`||e?.keyCode===9},Cr=function(e){return Z(e)&&!e.shiftKey},wr=function(e){return Z(e)&&e.shiftKey},Tr=function(e){return setTimeout(e,0)},Q=function(e){var t=[...arguments].slice(1);return typeof e==`function`?e.apply(void 0,t):e},$=function(e){return e.target.shadowRoot&&typeof e.composedPath==`function`?e.composedPath()[0]:e.target},Er=[],Dr=function(e,t){var n=t?.document||document,r=t?.trapStack||Er,i=gr({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isolateSubtrees:!1,isKeyForward:Cr,isKeyBackward:wr},t),a={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},o,s=function(e,t,n){return e&&e[t]!==void 0?e[t]:i[n||t]},c=function(e,t){var n=typeof t?.composedPath==`function`?t.composedPath():void 0;return a.containerGroups.findIndex(function(t){var r=t.container,i=t.tabbableNodes;return r.contains(e)||n?.includes(r)||i.find(function(t){return t===e})})},l=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.hasFallback,a=r!==void 0&&r,o=t.params,s=o===void 0?[]:o,c=i[e];if(typeof c==`function`&&(c=c.apply(void 0,_r(s))),c===!0&&(c=void 0),!c){if(c===void 0||c===!1)return c;throw Error(`\`${e}\` was specified but was not a node, or did not return a node`)}var l=c;if(typeof c==`string`){try{l=n.querySelector(c)}catch(t){throw Error(`\`${e}\` appears to be an invalid selector; error="${t.message}"`)}if(!l&&!a)throw Error(`\`${e}\` as selector refers to no known node`)}return l},u=function(){var e=l(`initialFocus`,{hasFallback:!0});if(e===!1)return!1;if(e===void 0||e&&!cr(e,i.tabbableOptions))if(c(n.activeElement)>=0)e=n.activeElement;else{var t=a.tabbableGroups[0];e=t&&t.firstTabbableNode||l(`fallbackFocus`)}else e===null&&(e=l(`fallbackFocus`));if(!e)throw Error(`Your focus-trap needs to have at least one focusable element`);return e},d=function(){if(a.containerGroups=a.containers.map(function(e){var t=ar(e,i.tabbableOptions),n=or(e,i.tabbableOptions),r=t.length>0?t[0]:void 0,a=t.length>0?t[t.length-1]:void 0,o=n.find(function(e){return Y(e)}),s=n.slice().reverse().find(function(e){return Y(e)});return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:!!t.find(function(e){return J(e)>0}),firstTabbableNode:r,lastTabbableNode:a,firstDomTabbableNode:o,lastDomTabbableNode:s,nextTabbableNode:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,i=t.indexOf(e);return i<0?r?n.slice(n.indexOf(e)+1).find(function(e){return Y(e)}):n.slice(0,n.indexOf(e)).reverse().find(function(e){return Y(e)}):t[i+(r?1:-1)]}}}),a.tabbableGroups=a.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),a.tabbableGroups.length<=0&&!l(`fallbackFocus`))throw Error(`Your focus-trap must have at least one container with at least one tabbable node in it at all times`);if(a.containerGroups.find(function(e){return e.posTabIndexesFound})&&a.containerGroups.length>1)throw Error(`At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.`)},f=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&t.shadowRoot.activeElement!==null?f(t.shadowRoot):t},p=function(e){if(e!==!1&&e!==f(document)){if(!e||!e.focus){p(u());return}e.focus({preventScroll:!!i.preventScroll}),a.mostRecentlyFocusedNode=e,xr(e)&&e.select()}},m=function(e){var t=l(`setReturnFocus`,{params:[e]});return t||t!==!1&&e},h=function(e){var t=e.target,n=e.event,r=e.isBackward,o=r!==void 0&&r;t||=$(n),d();var s=null;if(a.tabbableGroups.length>0){var u=c(t,n),f=u>=0?a.containerGroups[u]:void 0;if(u<0)s=o?a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode:a.tabbableGroups[0].firstTabbableNode;else if(o){var p=a.tabbableGroups.findIndex(function(e){var n=e.firstTabbableNode;return t===n});if(p<0&&(f.container===t||cr(t,i.tabbableOptions)&&!Y(t,i.tabbableOptions)&&!f.nextTabbableNode(t,!1))&&(p=u),p>=0){var m=p===0?a.tabbableGroups.length-1:p-1,h=a.tabbableGroups[m];s=J(t)>=0?h.lastTabbableNode:h.lastDomTabbableNode}else Z(n)||(s=f.nextTabbableNode(t,!1))}else{var g=a.tabbableGroups.findIndex(function(e){var n=e.lastTabbableNode;return t===n});if(g<0&&(f.container===t||cr(t,i.tabbableOptions)&&!Y(t,i.tabbableOptions)&&!f.nextTabbableNode(t))&&(g=u),g>=0){var _=g===a.tabbableGroups.length-1?0:g+1,v=a.tabbableGroups[_];s=J(t)>=0?v.firstTabbableNode:v.firstDomTabbableNode}else Z(n)||(s=f.nextTabbableNode(t))}}else s=l(`fallbackFocus`);return s},g=function(e){if(!(c($(e),e)>=0)){if(Q(i.clickOutsideDeactivates,e)){o.deactivate({returnFocus:i.returnFocusOnDeactivate});return}Q(i.allowOutsideClick,e)||e.preventDefault()}},_=function(e){var t=$(e),n=c(t,e)>=0;if(n||t instanceof Document)n&&(a.mostRecentlyFocusedNode=t);else{e.stopImmediatePropagation();var r,o=!0;if(a.mostRecentlyFocusedNode)if(J(a.mostRecentlyFocusedNode)>0){var s=c(a.mostRecentlyFocusedNode),l=a.containerGroups[s].tabbableNodes;if(l.length>0){var d=l.findIndex(function(e){return e===a.mostRecentlyFocusedNode});d>=0&&(i.isKeyForward(a.recentNavEvent)?d+1<l.length&&(r=l[d+1],o=!1):d-1>=0&&(r=l[d-1],o=!1))}}else a.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return J(e)>0})})||(o=!1);else o=!1;o&&(r=h({target:a.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(a.recentNavEvent)})),p(r||a.mostRecentlyFocusedNode||u())}a.recentNavEvent=void 0},v=function(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1];a.recentNavEvent=e;var n=h({event:e,isBackward:t});n&&(Z(e)&&e.preventDefault(),p(n))},y=function(e){(i.isKeyForward(e)||i.isKeyBackward(e))&&v(e,i.isKeyBackward(e))},b=function(e){Sr(e)&&Q(i.escapeDeactivates,e)!==!1&&(e.preventDefault(),o.deactivate())},x=function(e){c($(e),e)>=0||Q(i.clickOutsideDeactivates,e)||Q(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},S=function(){if(a.active)return X.activateTrap(r,o),a.delayInitialFocusTimer=i.delayInitialFocus?Tr(function(){p(u())}):p(u()),n.addEventListener(`focusin`,_,!0),n.addEventListener(`mousedown`,g,{capture:!0,passive:!1}),n.addEventListener(`touchstart`,g,{capture:!0,passive:!1}),n.addEventListener(`click`,x,{capture:!0,passive:!1}),n.addEventListener(`keydown`,y,{capture:!0,passive:!1}),n.addEventListener(`keydown`,b),o},C=function(e){a.active&&!a.paused&&o._setSubtreeIsolation(!1),a.adjacentElements.clear(),a.alreadySilent.clear();var t=new Set,n=new Set,r=dr(e),i;try{for(r.s();!(i=r.n()).done;){var s=i.value;t.add(s);for(var c=typeof ShadowRoot<`u`&&s.getRootNode()instanceof ShadowRoot,l=s;l;){t.add(l);var u=l.parentElement,d=[];u?d=u.children:!u&&c&&(d=l.getRootNode().children,u=l.getRootNode().host,c=typeof ShadowRoot<`u`&&u.getRootNode()instanceof ShadowRoot);var f=dr(d),p;try{for(f.s();!(p=f.n()).done;){var m=p.value;n.add(m)}}catch(e){f.e(e)}finally{f.f()}l=u}}}catch(e){r.e(e)}finally{r.f()}t.forEach(function(e){n.delete(e)}),a.adjacentElements=n},w=function(){if(a.active)return n.removeEventListener(`focusin`,_,!0),n.removeEventListener(`mousedown`,g,!0),n.removeEventListener(`touchstart`,g,!0),n.removeEventListener(`click`,x,!0),n.removeEventListener(`keydown`,y,!0),n.removeEventListener(`keydown`,b),o},T=typeof window<`u`&&`MutationObserver`in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===a.mostRecentlyFocusedNode})})&&p(u())}):void 0,E=function(){T&&(T.disconnect(),a.active&&!a.paused&&a.containers.map(function(e){T.observe(e,{subtree:!0,childList:!0})}))};return o={get active(){return a.active},get paused(){return a.paused},activate:function(e){if(a.active)return this;var t=s(e,`onActivate`),c=s(e,`onPostActivate`),l=s(e,`checkCanFocusTrap`),u=X.getActiveTrap(r),p=!1;if(u&&!u.paused){var m;(m=u._setSubtreeIsolation)==null||m.call(u,!1),p=!0}try{l||d(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=f(n),t?.();var h=function(){l&&d(),S(),E(),i.isolateSubtrees&&o._setSubtreeIsolation(!0),c?.()};if(l)return l(a.containers.concat()).then(h,h),this;h()}catch(e){if(u===X.getActiveTrap(r)&&p){var g;(g=u._setSubtreeIsolation)==null||g.call(u,!0)}throw e}return this},deactivate:function(e){if(!a.active)return this;var t=gr({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e);clearTimeout(a.delayInitialFocusTimer),a.delayInitialFocusTimer=void 0,a.paused||o._setSubtreeIsolation(!1),a.alreadySilent.clear(),w(),a.active=!1,a.paused=!1,E(),X.deactivateTrap(r,o);var n=s(t,`onDeactivate`),c=s(t,`onPostDeactivate`),l=s(t,`checkCanReturnFocus`),u=s(t,`returnFocus`,`returnFocusOnDeactivate`);n?.();var d=function(){Tr(function(){u&&p(m(a.nodeFocusedBeforeActivation)),c?.()})};return u&&l?(l(m(a.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(e){return a.active?(a.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return!a.active||(a.manuallyPaused=!1,r[r.length-1]!==this)?this:this._setPausedState(!1,e)},updateContainerElements:function(e){return a.containers=[].concat(e).filter(
52Boolean).map(function(e){return typeof e==`string`?n.querySelector(e):e}),i.isolateSubtrees&&C(a.containers),a.active&&(d(),i.isolateSubtrees&&!a.paused&&o._setSubtreeIsolation(!0)),E(),this}},Object.defineProperties(o,{_isManuallyPaused:{value:function(){return a.manuallyPaused}},_setPausedState:{value:function(e,t){if(a.paused===e)return this;if(a.paused=e,e){var n=s(t,`onPause`),r=s(t,`onPostPause`);n?.(),w(),E(),o._setSubtreeIsolation(!1),r?.()}else{var i=s(t,`onUnpause`),c=s(t,`onPostUnpause`);i?.(),o._setSubtreeIsolation(!0),d(),S(),E(),c?.()}return this}},_setSubtreeIsolation:{value:function(e){i.isolateSubtrees&&a.adjacentElements.forEach(function(t){if(e)switch(i.isolateSubtrees){case`aria-hidden`:(t.ariaHidden===`true`||t.getAttribute(`aria-hidden`)?.toLowerCase()===`true`)&&a.alreadySilent.add(t),t.setAttribute(`aria-hidden`,`true`);break;default:(t.inert||t.hasAttribute(`inert`))&&a.alreadySilent.add(t),t.setAttribute(`inert`,!0);break}else if(!a.alreadySilent.has(t))switch(i.isolateSubtrees){case`aria-hidden`:t.removeAttribute(`aria-hidden`);break;default:t.removeAttribute(`inert`);break}})}}}),o.updateContainerElements(e),o},Or=e=>{let t=e.map(e=>new Promise(t=>{let n=setInterval(()=>{getComputedStyle(e).visibility!==`hidden`&&(t(),clearInterval(n))},5)}));return Promise.all(t)},kr=()=>{let e=()=>{let e=document.querySelectorAll(`button[data-dialog-id]`);e.length&&e.forEach(e=>{let n=e.getAttribute(`data-dialog-id`),r=document.getElementById(n);r&&t(r,e)})},t=(e,t)=>{let n=Dr(e,{clickOutsideDeactivates:!0,checkCanFocusTrap:Or,onActivate:()=>{e.showModal(),jn(e)},onDeactivate:()=>{e.close(),Mn(e)}});t.addEventListener(`click`,n.activate),e.querySelectorAll(`.js-dialog-close-button`)?.forEach(e=>{e.addEventListener(`click`,n.deactivate)})};e()},Ar=e=>{let t=e.querySelectorAll(`button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])`);return Array.from(t).filter(e=>!e.hasAttribute(`disabled`)&&!e.getAttribute(`aria-hidden`)&&e.style.display!==`none`)},jr=e=>{let t=Ar(e);return t.length?t[0]:null},Mr=()=>{let e=()=>{document.addEventListener(`facetwp-refresh`,()=>t()),document.addEventListener(`facetwp-loaded`,e=>n(e))},t=()=>{let e=document.getElementById(`js-facetwp-template-view`);e&&e.classList.add(`loading`)},n=e=>{let t=document.getElementById(`js-facetwp-template-view`);t&&(t.classList.remove(`loading`),r(e,t),i(),s(),l(),setTimeout(()=>{a(),o()},1))},r=(e,t)=>{e.preventDefault();let n=t.getBoundingClientRect().top+window.scrollY-150;if(window.FWP.loaded){if(window.scrollY<n+300)return;window.scrollTo({top:n,behavior:`smooth`})}},i=()=>{let e=document.querySelector(`.facetwp-search`);if(!e)return;let t=e.getAttribute(`placeholder`);t&&(t||t!==``?e.setAttribute(`aria-label`,t):e.setAttribute(`aria-label`,`Zoek op trefwoord`))},a=()=>{let e=document.querySelector(`.facetwp-page.active`);e&&e.setAttribute(`aria-current`,`page`)},o=()=>{let e=document.querySelectorAll(`.facetwp-selection-value`);e.length!==0&&e.forEach(e=>{let t=e.getAttribute(`aria-label`);e.setAttribute(`aria-label`,t+`, verwijder deze selectie`)})},s=()=>{let e=document.querySelectorAll(`.facetwp-page`);e.length!==0&&e.forEach(e=>{e.addEventListener(`keyup`,e=>{e.key===`Enter`&&c()})})},c=()=>{setTimeout(()=>{jr(document.getElementById(`js-facetwp-template-view`))?.focus()},500)},l=()=>{let e=document.querySelectorAll(`.js-facetwp-filter-label, .js-facetwp-btn-reset`);if(e.length===0)return;let t=window.FWP.buildQueryString(),n=t&&!/^_paged=\d+$|s=[^&]*&_paged=\d+$|s=[^&]*$/.test(t);e.forEach(e=>{e.classList.toggle(`hidden`,!n)})};e()},Nr=()=>{let e,t=document.querySelector(`#js-mobile-menu-close-btn`),n=document.querySelector(`#js-hamburger`),r=document.querySelector(`#js-mobile-menu`),i=document.querySelectorAll(`.mobile-menu .menu-item-has-children`),a={allowOutsideClick:!0,checkCanFocusTrap:Or,onActivate:()=>s(),onDeactivate:()=>c()},o=()=>{!t||!n||!r||(e=Dr(r,a),t.addEventListener(`click`,e.deactivate),n.addEventListener(`click`,()=>{e.active?e.deactivate():e.activate()}),l())},s=()=>{jn(r),n.setAttribute(`aria-expanded`,`true`),n.setAttribute(`aria-label`,`Sluit menu`),r.setAttribute(`aria-hidden`,`false`),r.animate([{transform:`translateX(100%)`,opacity:`0`,visibility:`hidden`},{transform:`translateX(0)`,opacity:`1`,visibility:`visible`}],{duration:500,easing:`cubic-bezier(0.22,1,0.36,1)`,fill:`both`})},c=()=>{Mn(r),d(),n.setAttribute(`aria-expanded`,`false`),n.setAttribute(`aria-label`,`Open menu`),r.setAttribute(`aria-hidden`,`true`),r.animate([{transform:`translateX(0)`,opacity:`1`,visibility:`visible`},{transform:`translateX(100%)`,opacity:`0`,visibility:`hidden`}],{duration:500,easing:`ease-out`,fill:`both`})},l=()=>
52{i.forEach(e=>{let t=e.querySelector(`a`);t.setAttribute(`aria-haspopup`,`true`),t.setAttribute(`aria-expanded`,`false`),t.addEventListener(`click`,n=>u(n,e,t))})},u=(e,t,n)=>{e.preventDefault();let r=n.getAttribute(`aria-expanded`)===`true`;n.setAttribute(`aria-expanded`,String(!r)),t.classList.toggle(`show-sub-menu`)},d=()=>{i.forEach(e=>{e.querySelector(`a`).setAttribute(`aria-expanded`,`false`),e.classList.remove(`show-sub-menu`)})};o()},Pr=e(t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n||=self,n.Headroom=r())})(e,function(){function e(){return typeof window<`u`}function t(){var e=!1;try{var t={get passive(){e=!0}};window.addEventListener(`test`,t,t),window.removeEventListener(`test`,t,t)}catch{e=!1}return e}function n(){return!!(e()&&function(){}.bind&&`classList`in document.documentElement&&Object.assign&&Object.keys&&requestAnimationFrame)}function r(e){return e.nodeType===9}function i(e){return e&&e.document&&r(e.document)}function a(e){var t=e.document,n=t.body,r=t.documentElement;return{scrollHeight:function(){return Math.max(n.scrollHeight,r.scrollHeight,n.offsetHeight,r.offsetHeight,n.clientHeight,r.clientHeight)},height:function(){return e.innerHeight||r.clientHeight||n.clientHeight},scrollY:function(){return e.pageYOffset===void 0?(r||n.parentNode||n).scrollTop:e.pageYOffset}}}function o(e){return{scrollHeight:function(){return Math.max(e.scrollHeight,e.offsetHeight,e.clientHeight)},height:function(){return Math.max(e.offsetHeight,e.clientHeight)},scrollY:function(){return e.scrollTop}}}function s(e){return i(e)?a(e):o(e)}function c(e,n,r){var i=t(),a,o=!1,c=s(e),l=c.scrollY(),u={};function d(){var e=Math.round(c.scrollY()),t=c.height(),i=c.scrollHeight();u.scrollY=e,u.lastScrollY=l,u.direction=e>l?`down`:`up`,u.distance=Math.abs(e-l),u.isOutOfBounds=e<0||e+t>i,u.top=e<=n.offset[u.direction],u.bottom=e+t>=i,u.toleranceExceeded=u.distance>n.tolerance[u.direction],r(u),l=e,o=!1}function f(){o||(o=!0,a=requestAnimationFrame(d))}var p=i?{passive:!0,capture:!1}:!1;return e.addEventListener(`scroll`,f,p),d(),{destroy:function(){cancelAnimationFrame(a),e.removeEventListener(`scroll`,f,p)}}}function l(e){return e===Object(e)?e:{down:e,up:e}}function u(e,t){t||={},Object.assign(this,u.options,t),this.classes=Object.assign({},u.options.classes,t.classes),this.elem=e,this.tolerance=l(this.tolerance),this.offset=l(this.offset),this.initialised=!1,this.frozen=!1}return u.prototype={constructor:u,init:function(){return u.cutsTheMustard&&!this.initialised&&(this.addClass(`initial`),this.initialised=!0,setTimeout(function(e){e.scrollTracker=c(e.scroller,{offset:e.offset,tolerance:e.tolerance},e.update.bind(e))},100,this)),this},destroy:function(){this.initialised=!1,Object.keys(this.classes).forEach(this.removeClass,this),this.scrollTracker.destroy()},unpin:function(){(this.hasClass(`pinned`)||!this.hasClass(`unpinned`))&&(this.addClass(`unpinned`),this.removeClass(`pinned`),this.onUnpin&&this.onUnpin.call(this))},pin:function(){this.hasClass(`unpinned`)&&(this.addClass(`pinned`),this.removeClass(`unpinned`),this.onPin&&this.onPin.call(this))},freeze:function(){this.frozen=!0,this.addClass(`frozen`)},unfreeze:function(){this.frozen=!1,this.removeClass(`frozen`)},top:function(){this.hasClass(`top`)||(this.addClass(`top`),this.removeClass(`notTop`),this.onTop&&this.onTop.call(this))},notTop:function(){this.hasClass(`notTop`)||(this.addClass(`notTop`),this.removeClass(`top`),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){this.hasClass(`bottom`)||(this.addClass(`bottom`),this.removeClass(`notBottom`),this.onBottom&&this.onBottom.call(this))},notBottom:function(){this.hasClass(`notBottom`)||(this.addClass(`notBottom`),this.removeClass(`bottom`),this.onNotBottom&&this.onNotBottom.call(this))},shouldUnpin:function(e){return e.direction===`down`&&!e.top&&e.toleranceExceeded},shouldPin:function(e){return e.direction===`up`&&e.toleranceExceeded||e.top},addClass:function(e){this.elem.classList.add.apply(this.elem.classList,this.classes[e].split(` `))},removeClass:function(e){this.elem.classList.remove.apply(this.elem.classList,this.classes[e].split(` `))},hasClass:function(e){return this.classes[e].split(` `).every(function(e){return this.classList.contains(e)},this.elem)},update:function(e){e.isOutOfBounds||this.frozen!==!0&&(e.top?this.top():this.notTop(),e.bottom?this.bottom():this.notBottom(),this.shouldUnpin(e)?this.unpin():this.shouldPin(e)&&this.pin())}},u.options={tolerance:{up:0,down:0},offset:0,scroller:e()?window:null,classes:{frozen:`headroom--frozen`,pinned:`headroom--pinned`,unpinned:`headroom--unpinned`,top:`headroom--top`,notTop:`headroom--not-top`,bottom:`headroom--bottom`,notBottom:`headroom--not-bottom`,initial:`headroom`}},u.cutsTheMustard=n(),u})}))()),Fr=()=>{let e=document.querySelector(`#js-header`),t=document.querySelectorAll(`.nav > .menu-item`),n=document.querySelectorAll(`.nav > .menu-item-has-children`),r={tolerance:{up:10,down:30}},i=new Set,a=`js-show-sub-menu`,o=()=>{e&&(new Pr.default(e,r).init(),t&&(document.addEventListener(`ke
52yup`,s),document.addEventListener(`click`,c),document.addEventListener(`focusin`,l),u()))},s=e=>{if(e.key!==`Escape`)return;m();let t=e.target.closest(`.menu-item-has-children`);t&&t.querySelector(`a`)?.focus()},c=e=>{Array.from(t).every(t=>!t.contains(e.target))&&m()},l=e=>{e.target.closest(`.sub-menu`)||m()},u=()=>{n.forEach(e=>{let t=e.querySelector(`a`);t.setAttribute(`aria-haspopup`,`true`),t.setAttribute(`aria-expanded`,`false`),t.addEventListener(`click`,n=>d(n,e,t)),e.addEventListener(`mouseenter`,()=>f(e,t)),e.addEventListener(`mouseleave`,()=>{i.has(e)||p(e,t)})})},d=(e,t,n)=>{e.preventDefault(),e.stopPropagation(),n.getAttribute(`aria-expanded`)===`true`?(i.delete(t),p(t,n)):(i.add(t),f(t,n))},f=(e,t)=>{t.setAttribute(`aria-expanded`,`true`),e.classList.add(a)},p=(e,t)=>{t.setAttribute(`aria-expanded`,`false`),e.classList.remove(a)},m=()=>{i.clear(),n.forEach(e=>{let t=e.querySelector(`a`);t&&p(e,t)})};o()},Ir=()=>{let e=document.querySelectorAll(`ul.is-style-file a[href$=".pdf"]`);e.length&&e.forEach(e=>e.setAttribute(`download`,``))},Lr=()=>{let e,t=`js-search-bar-is-open`,n=document.querySelector(`#js-search-bar-close-btn`),r=document.querySelector(`#js-search-bar-input`),i=document.querySelector(`#js-search-bar-open-btn`),a=document.querySelector(`#js-search-bar`);!n||!i||!a||(e=Dr(a,{allowOutsideClick:!0,checkCanFocusTrap:Or,clickOutsideDeactivates:!0,onActivate:()=>{document.body.classList.add(t)},onDeactivate:()=>{document.body.classList.remove(t),r.value=``}}),n.addEventListener(`click`,()=>e?.deactivate()),i.addEventListener(`click`,()=>e?.activate()))},Rr=()=>{let e=document.querySelector(`#js-social-share-web-share-api-button`),t=document.querySelector(`#js-social-share-wrapper`),n=document.querySelector(`#js-social-share-toggle`),r=()=>{!e||!t||!n||(navigator.share?i():a())},i=()=>{e.style.display=`inline-block`,e.addEventListener(`click`,()=>navigator.share({title:document.title,text:document.title,url:window.location.href}))},a=()=>{t.style.display=`flex`,n.addEventListener(`click`,()=>{let e=n.getAttribute(`aria-expanded`)===`true`;n.setAttribute(`aria-expanded`,!e),o(!e)})},o=e=>{let t=document.querySelectorAll(`#js-social-share-content > .social-icon`);t.length&&t.forEach((t,n)=>{let r=e?100+n*100:500-n*100;t.animate([{transform:e?`scale(0)`:`scale(1)`,visibility:e?`hidden`:`visible`},{transform:e?`scale(1)`:`scale(0)`,visibility:e?`visible`:`hidden`}],{duration:300,fill:`forwards`,delay:r})})};r()};window.addEventListener(`DOMContentLoaded`,()=>{mn(),gn(),kr(),Mr(),Nr(),Fr(),Ir(),Lr(),Rr(),Qt.getInstance(),new Xe(`.js-a11y-toolbar`,{showReadSpeakerButton:!1,showPrintButton:!1,showLanguageButton:!1,showTolkieTranslateButton:!0}).init(),new ln,new on({selector:`.main a`,icon:`<i class="js-enhance-external-link-icon fa-light fa-arrow-up-right-from-square pr-1 pl-2 align-text-top text-xs sm:text-sm"></i>`}),new cn({selector:`.main a`,icon:`<i class="js-enhance-pdf-link-icon fa-light fa-file-pdf pr-1 pl-2"></i>`,fileSizeClass:`js-enhance-pdf-link-file-size text-xs sm:text-sm`})}),import.meta.webpackHot?.accept(console.error);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.