PageSourceSearch

https://dynamis.nl/dist/scripts/modal.js?id=e804845119b1ed79e0b9bac0a7dfa60a

js dynamis.nl collected 2026-10-08 15:12:11 UTC 77,525 bytes, 2 lines download raw bytes

vendor: 4,721 bytes, lines 1-2
1/*! For license information please see modal.js.LICENSE.txt */
2"use strict";(self.dynamisWebpackJsonp=self.dynamisWebpackJsonp||[]).push([[4962,7736,7765],{8020:(t,e,r)=>{function n(t){return new Promise((function(e){var r={};t instanceof HTMLFormElement?new FormData(t).forEach((function(t,e){r[e]?r[e]=[].concat(r[e],t):r[e]=t})):r=Object.assign({},t);window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"formSubmission",formData:r}),setTimeout((function(){e()}),300)}))}r.d(e,{G:()=>n})},5444:(t,e,r)=>{r.d(e,{H:()=>c});var n=r(1635),o=r(8020);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function a(){a=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",s=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function d(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:q(t,r,c)}),a}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=d;var p="suspendedStart",v="suspendedYield",m="executing",g="completed",y={};function b(){}function w(){}function L(){}var k={};f(k,u,(function(){return this}));var S=Object.getPrototypeOf,_=S&&S(S(N([])));_&&_!==r&&n.call(_,u)&&(k=_);var x=L.prototype=b.prototype=Object.create(k);function E(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){function r(o,a,c,u){var s=h(t[o],t,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==i(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){l.value=t,c(l)}),(function(t){return r("throw",t,c,u)}))}u(s.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function q(e,r,n){var o=p;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=m;var s=h(e,r,n);if("normal"===s.type){if(o=n.done?g:v,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=g,n.method="throw",n.arg=s.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=h(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(i(e)+" is not iterable")}return w.prototype=L,o(x,"constructor",{value:L,configurable:!0}),o(L,"constructor",{value:w,configurable:!0}),w.displayName=f(L,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,L):(t.__proto__=L,f(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},E(T.prototype),f(T.prototype,s,(function(){return this})),e.AsyncIterator=T,e.async=function(t,r,n,o,i){void 0===i&&(i=Prom
2ise);var a=new T(d(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(x),f(x,l,"Generator"),f(x,u,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=N,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}var c=function(t,e){var r,i=0,c=function(t,e){t(e),setTimeout((function(){return r.showErrors(e)}),0)};Formio.createForm(t,e.fields,{language:"en",i18n:{en:{submitError:e.invalidForm,cancel:"Cancel",previous:"Vorige stap",next:"Volgende stap",submit:"Versturen","File Name":"Bestand",Size:"Formaat","Drop files to attach,":"Zet hier bestanden neer om te uploaden",or:"of",browse:"kies bestand",error:"Er zijn validatie errors"}},hooks:{attachComponent:function(n,o){return u(t,"formComponentAttached",{form:r,settings:e,element:n,instance:o}),n},beforeSubmit:function(s,l){i||(i=Date.now()),t.classList.add("smart-form-builder--processing");var f=[];if(r.checkValidity(null,!0,null,!1)){var d=s.data;if(d.form_id=e.id,e.recaptcha.enabled&&"v2"===e.recaptcha.type){if(""===grecaptcha.getResponse())return t.classList.remove("smart-form-builder--processing"),f.push({message:e.recaptcha.message}),void c(l,f);d["g-recaptcha-response"]=grecaptcha.getResponse()}var h={"Content-Type":"application/json",Accept:"application/json"},p=document.querySelector('meta[name="csrfToken"]');if(p){var v=p.getAttribute("content");v&&(h["X-CSRF-Token"]=v)}fetch(e.submitUrl,{method:"POST",body:JSON.stringify(d),headers:h}).then((function(t){return t.json()})).then((function(i){return(0,n.sH)(void 0,void 0,void 0,a().mark((function n(){var s,h;return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r.loading=!1,t.classList.remove("smart-form-builder--processing"),t.classList.add("smart-form-builder--submitting"),"success"!==i.status){n.next=23;break}return n.next=6,(0,o.G)(d);case 6:if(!i.redirect){n.next=13;break}if(!(s=u(t,"formRedirect",{form:r,settings:e},{cancelable:!0}))){n.next=13;break}return h=i.redirect,"string"==typeof s&&(h=s),window.location=h,n.abrupt("return");case 13:r.resetValue(),r.redraw(),e.recaptcha.enabled&&"v2"===e.recaptcha.type&&grecaptcha.reset(),r.setSubmission({data:e.fill}),setTimeout((function(){r.setAlert("success",i.message)}),500),u(t,"formSubmitted",{form:r,settings:e,submission:d,response:i}
2),t.classList.remove("smart-form-builder--submitting"),t.scrollIntoView({behavior:"smooth"}),n.next=25;break;case 23:f.push({message:i.message}),c(l,f);case 25:case"end":return n.stop()}}),n)})))}),(function(t){var n;console.error("Form submit failed:",t),r.loading=!1,f.push({message:null!==(n=e.submitError)&&void 0!==n?n:e.invalidForm}),c(l,f)}))}else r.loading=!1,f.push({message:e.invalidForm}),l(f)}}}).then((function(n){n.submission={data:e.fill},t.classList.add("smart-form-builder--loaded");var o=function(){var e=Date.now()-i,r=Math.max(0,500-e);setTimeout((function(){i=0,t.classList.remove("smart-form-builder--processing"),t.classList.remove("smart-form-builder--submitting"),setTimeout((function(){t.scrollIntoView({behavior:"smooth"})}),100)}),r)};n.on("submitError",(function(){n.loading=!1,o()})),n.on("error",(function(){n.loading=!1,o()})),t.addEventListener("click",(function(e){var r,n=e.target.closest("[data-component-key]");if(n){var o=n.dataset.componentKey,i=t.querySelector('[name="data['.concat(o,']"]'));if(i){var a=null===(r=i.parentElement)||void 0===r?void 0:r.querySelector(".select-selected");a&&(e.preventDefault(),a.scrollIntoView({behavior:"smooth",block:"center"}),setTimeout((function(){return a.click()}),100))}}})),n.on("nextPage",(function(){t.classList.remove("smart-form-builder--processing")})),t.addEventListener("click",(function(e){e.target.closest('[type="submit"], .btn-wizard-nav-next, .btn-wizard-nav-submit')&&(i=Date.now(),t.classList.add("smart-form-builder--processing"))}),!0),u(t,"formLoaded",{form:n,settings:e}),r=n}))};function u(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return n.detail=r,n.bubbles=!0,t.dispatchEvent(new CustomEvent(e,n))}},6324:(t,e,r)=>{var n=r(1635),o=r(97);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function a(){a=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",s=c.asyncIterator||"@@asyncIterator",l=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function d(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:q(t,r,c)}),a}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=d;var p="suspendedStart",v="suspendedYield",m="executing",g="completed",y={};function b(){}function w(){}function L(){}var k={};f(k,u,(function(){return this}));var S=Object.getPrototypeOf,_=S&&S(S(N([])));_&&_!==r&&n.call(_,u)&&(k=_);var x=L.prototype=b.prototype=Object.create(k);function E(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){function r(o,a,c,u){var s=h(t[o],t,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==i(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){l.value=t,c(l)}),(function(t){return r("throw",t,c,u)}))}u(s.arg)}var a;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function q(e,r,n){var o=p;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=m;var s=h(e,r,n);if("normal"===s.type){if(o=n.done?g:v,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=g,n.method="throw",n.arg=s.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&
vendor: 4,378 bytes, line 2
2(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=h(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(i(e)+" is not iterable")}return w.prototype=L,o(x,"constructor",{value:L,configurable:!0}),o(L,"constructor",{value:w,configurable:!0}),w.displayName=f(L,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,L):(t.__proto__=L,f(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},E(T.prototype),f(T.prototype,s,(function(){return this})),e.AsyncIterator=T,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new T(d(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(x),f(x,l,"Generator"),f(x,u,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=N,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}const c=function(){var t=document.querySelectorAll('[rel="iframeModal"]'),e=document.querySelector(".modal--iframe .modal
2-body .iframe-wrapper");return!(0===t.length||!e)&&(t.forEach((function(t){t.addEventListener("click",(function(r){return(0,n.sH)(void 0,void 0,void 0,a().mark((function n(){var i;return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r.preventDefault(),i=t.getAttribute("href")||t.dataset.href){n.next=5;break}return console.error("Iframe source not found."),n.abrupt("return");case 5:if(e.dataset.src!==i){n.next=8;break}return(0,o.to)("iframe"),n.abrupt("return");case 8:e.innerHTML="",e.appendChild((a=i,c=void 0,(c=document.createElement("iframe")).src=a,c.width="100%",c.height="100%",c.style.border="none",c.frameBorder="0",c.marginHeight="0",c.marginWidth="0",c)),e.dataset.src=i,(0,o.to)("iframe");case 12:case"end":return n.stop()}var a,c}),n)})))}))})),!0)};var u=r(5444),s=r(9003);function l(t){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function f(){f=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function d(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:q(t,r,c)}),a}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=d;var p="suspendedStart",v="suspendedYield",m="executing",g="completed",y={};function b(){}function w(){}function L(){}var k={};s(k,a,(function(){return this}));var S=Object.getPrototypeOf,_=S&&S(S(N([])));_&&_!==r&&n.call(_,a)&&(k=_);var x=L.prototype=b.prototype=Object.create(k);function E(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){function r(o,i,a,c){var u=h(t[o],t,i);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==l(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function q(e,r,n){var o=p;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=m;var s=h(e,r,n);if("normal"===s.type){if(o=n.done?g:v,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=g,n.method="throw",n.arg=s.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=h(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);
vendor: 4,247 bytes, line 2
2if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(l(e)+" is not iterable")}return w.prototype=L,o(x,"constructor",{value:L,configurable:!0}),o(L,"constructor",{value:w,configurable:!0}),w.displayName=s(L,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,L):(t.__proto__=L,s(t,u,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},E(T.prototype),s(T.prototype,c,(function(){return this})),e.AsyncIterator=T,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new T(d(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(x),s(x,u,"Generator"),s(x,a,(function(){return this})),s(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=N,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function d(t){return(0,n.sH)(this,void 0,void 0,f().mark((function e(){var r,n;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw new Error("No URL provided");case 2:return t="/api/form/"+(t=t.replace(/^https?:\/\//,"")),e.prev=4,e.next=7,fetch(t);case 7:if((r=e.sent).ok){e.next=10;break}throw new Error("Response status: ".concat(r.status));case 10:return e.next=12,r.json();case 12:return n=e.sent,e.abrupt("return",n);case 16:throw e.prev=16,e.t0=e.catch(4),console.error("Error loading form data:",e.t0.message),e.t0;case 20:case"end":return e.stop()}}),e,null,[[4,16]])})))}function h(t){return Array.from(document.scripts).some((function(e){return e.src.includes(t)}))}const p=function(){var t=document.querySelectorAll('[rel="formModal"]'),e=document.querySelector(".modal--form .modal
2-body");return!(0===t.length||!e)&&(t.forEach((function(t){t.addEventListener("click",(function(r){return(0,n.sH)(void 0,void 0,void 0,f().mark((function n(){var i,a,c,l,p,v,m,g,y;return f().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r.preventDefault(),v=t.getAttribute("href")||t.dataset.href){n.next=5;break}return console.error("Form ID not found."),n.abrupt("return");case 5:return n.prev=5,(0,o.to)("form"),n.next=9,d(v);case 9:m=n.sent,e.innerHTML=null!==(a=null===(i=null==m?void 0:m.form)||void 0===i?void 0:i.form_html)&&void 0!==a?a:null===(c=null==m?void 0:m.form)||void 0===c?void 0:c.form,(g=e.querySelector(".smart-form-builder"))&&(null===(l=null==m?void 0:m.form)||void 0===l?void 0:l.form_html)?(y=(null===(p=null==g?void 0:g.dataset)||void 0===p?void 0:p.settings)?JSON.parse(null==g?void 0:g.dataset.settings):{},h("formio-create.js")&&(0,u.H)(g,y)):(0,s.Ay)(),n.next=19;break;case 15:n.prev=15,n.t0=n.catch(5),(0,o.Oo)(),console.error("Failed to load form data:",n.t0);case 19:case"end":return n.stop()}}),n,null,[[5,15]])})))}))})),!0)};var v=r(2637);function m(t,e){var r;return function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];clearTimeout(r),r=setTimeout((function(){t.apply(o)}),e)}}function g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}function y(){y=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:q(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var d="suspendedStart",h="suspendedYield",p="executing",v="completed",m={};function b(){}function w(){}function L(){}var k={};s(k,a,(function(){return this}));var S=Object.getPrototypeOf,_=S&&S(S(N([])));_&&_!==r&&n.call(_,a)&&(k=_);var x=L.prototype=b.prototype=Object.create(k);function E(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==g(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function q(e,r,n){var o=d;return function(i,a){if(o===p)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===m)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?v:h,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);
vendor: 5,081 bytes, line 2
2if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(g(e)+" is not iterable")}return w.prototype=L,o(x,"constructor",{value:L,configurable:!0}),o(L,"constructor",{value:w,configurable:!0}),w.displayName=s(L,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,L):(t.__proto__=L,s(t,u,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},E(T.prototype),s(T.prototype,c,(function(){return this})),e.AsyncIterator=T,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new T(l(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(x),s(x,u,"Generator"),s(x,a,(function(){return this})),s(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=N,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function b(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(t,e)||w(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(t,e){if(t){if("string"==typeof t)return L(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L(t,e):void 0}}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function k(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function S(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,x(n.key),n)}}function _(t,e,r){return e&&S(t.prototype,e),r&&S(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function x(t){var e=function(t,e){if("object"!=g(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=g(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
2(t,"string");return"symbol"==g(e)?e:e+""}var E=function(){return _((function t(){k(this,t)}),null,[{key:"getDevice",value:function(){var t=navigator.userAgent;return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(t)?"mobile":"desktop"}},{key:"getTrafficSource",value:function(){if(!document.referrer)return null;try{return new URL(document.referrer).hostname}catch(t){return null}}},{key:"getOperatingSystem",value:function(){var t,e=navigator.userAgent.toLowerCase(),r=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=w(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}(new Map([[/windows/i,"windows"],[/macintosh|mac os x/i,"macos"],[/linux/i,"linux"],[/cros/i,"chromium"],[/android/i,"android"],[/iphone|ipad|ipod/i,"ios"]]));try{for(r.s();!(t=r.n()).done;){var n=b(t.value,2),o=n[0],i=n[1];if(o.test(e))return console.log("Operating system detected:",i),i}}catch(t){r.e(t)}finally{r.f()}return"unknown"}},{key:"getLanguages",value:function(){var t=Array.from(navigator.languages);return console.log("User languages:",t),t}},{key:"getGeoLocation",value:function(){return(0,n.sH)(this,arguments,void 0,(function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e4;return y().mark((function r(){var o;return y().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={geo_targeting_country:null,geo_targeting_region:null,geo_targeting_city:null},r.abrupt("return",new Promise((function(r){if(!navigator.geolocation)return console.log("Geolocation API not supported by this browser"),r(o);var i=setTimeout((function(){console.log("Geolocation request timed out - permissions may be blocked"),r(o)}),e),a={timeout:e,maximumAge:0,enableHighAccuracy:!1};navigator.geolocation.getCurrentPosition((function(e){return(0,n.sH)(t,void 0,void 0,y().mark((function t(){var n,a,c,u,s,l,f,d,h,p,v,m,g;return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return clearTimeout(i),t.prev=1,c=e.coords,u=c.latitude,s=c.longitude,t.next=5,fetch("https://nominatim.openstreetmap.org/reverse.php?lat=".concat(u,"&lon=").concat(s,"&format=jsonv2"));case 5:if((l=t.sent).ok){t.next=8;break}throw new Error("API error: ".concat(l.status));case 8:return t.next=10,l.json();case 10:(null==(f=t.sent)?void 0:f.address)?(d=f.address,h=d.town,p=d.city,v=d.village,m=d.state,g=d.country,r({geo_targeting_country:null!=g?g:null,geo_targeting_region:null!=m?m:null,geo_targeting_city:null!==(a=null!==(n=null!=h?h:p)&&void 0!==n?n:v)&&void 0!==a?a:null})):r(o),t.next=18;break;case 14:t.prev=14,t.t0=t.catch(1),console.error("Geolocation reverse lookup failed:",t.t0),r(o);case 18:case"end":return t.stop()}}),t,null,[[1,14]])})))}),(function(t){clearTimeout(i);console.log({1:"User denied geolocation permission",2:"Location unavailable (possibly disabled)",3:"Geolocation request timed out"}[t.code]||"Unknown error: ".concat(t.message)),r(o)}),a)})));case 2:case"end":return r.stop()}}),r)}))()}))}}])}(),T=function(){return _((function t(){k(this,t)}),null,[{key:"init",value:function(t){var e=this;this.checkExitIntent=function(r){e.isTriggered||r.clientY>0||t()},this.eventTypes.forEach((function(t){window.addEventListener(t,e.checkExitIntent,{passive:!0})}))}},{key:"removeEventListeners",value:function(){var t=this;this.checkExitIntent&&(this.eventTypes.forEach((function(e){window.removeEventListener(e,t.checkExitIntent)})),this.checkExitIntent=null)}}])}();T.isTriggered=!1,T.checkExitIntent=null,T.eventTypes=["mouseout"];var q=function(){return _((function t(){k(this,t)}),null,[{key:"init",value:function(t,e){var r=this;setTimeout((function(){r.isTriggered||(r.isTriggered=!0,e())}),t)}},{key:"removeEventListeners",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.isTriggered=!0)}}])}();q.isTriggered=!1;var O=function(){return _((function t(){k(this,t)}),null,[{key:"init",value:function(t,e){var r=this;this.resetTimer=m((function(){clearTimeout(r.inactivityTimer),r.inactivityTimer=setTimeout((function(){r.isTriggered||(r.isTriggered=!0,e())}),t)}
2),100),this.eventTypes.forEach((function(t){window.addEventListener(t,r.resetTimer,{passive:!0})})),this.resetTimer()}},{key:"removeEventListeners",value:function(){var t=this;this.resetTimer&&(this.eventTypes.forEach((function(e){window.removeEventListener(e,t.resetTimer)})),this.resetTimer=null)}},{key:"reset",value:function(){this.isTriggered=!1,this.inactivityTimer&&clearTimeout(this.inactivityTimer)}}])}();O.isTriggered=!1,O.eventTypes=["mousemove","keydown","scroll","touchstart"],O.resetTimer=null;var A=function(){return _((function t(){k(this,t)}),null,[{key:"init",value:function(t,e){var r=this;this.scrollHandler=m((function(){var n=document.documentElement.scrollHeight,o=document.documentElement.clientHeight;window.scrollY/(n-o)*100>=t&&!r.isTriggered&&(r.isTriggered=!0,e())}),100),this.eventTypes.forEach((function(t){window.addEventListener(t,r.scrollHandler,{passive:!0})}))}},{key:"removeEventListeners",value:function(){var t=this;this.eventTypes.forEach((function(e){window.removeEventListener(e,t.scrollHandler)}))}}])}();A.isTriggered=!1,A.eventTypes=["scroll"],A.scrollHandler=null;var j=function(){return _((function t(){k(this,t)}),null,[{key:"init",value:function(t,e){var r=this,n=document.querySelectorAll(t);console.log("Click targets found:",n.length),0===n.length&&console.warn("No click targets found with selector:",t),this.clickListener=function(){r.isTriggered||(r.isTriggered=!0,e())}
2,n.forEach((function(t){r.eventTypes.forEach((function(e){t.addEventListener(e,r.clickListener)}))}))}},{key:"removeEventListeners",value:function(t){var e=this;document.querySelectorAll(t).forEach((function(t){e.eventTypes.forEach((function(r){t.removeEventListener(r,e.clickListener)}))})),this.isTriggered=!1}}])}();j.isTriggered=!1,j.eventTypes=["click"];var P=function(){return _((function t(){k(this,t)}),null,[{key:"validateDevice",value:function(t,e){return e.includes(t)}},{key:"validateTrafficSource",value:function(t,e){return t===e}},{key:"validateLanguage",value:function(t,e){var r=t.map((function(t){return t.toLowerCase().split("-")[0]}));return e.some((function(t){return r.includes(t.toLowerCase().split("-")[0])}))}},{key:"validateOS",value:function(t,e){return e.includes(t)}},{key:"validateHTMLTarget",value:function(t){var e=null!==document.querySelector(t.html_target_css_selector);return"matches"===t.html_target_matching?e:!e}},{key:"validateCookieTarget",value:function(t){var e,r,n=(0,v.R)(t.cookie_target_key).toString(),o=n.length>0,i={"is-equal":function(){return n===t.cookie_target_value},"is-not-equal":function(){return n!==t.cookie_target_value},contains:function(){return n.includes(t.cookie_target_value)},"does-not-contain":function(){return!n.includes(t.cookie_target_value)},"is-set":function(){return o},"is-not-set":function(){return!o}};return null!==(r=null===(e=i[t.cookie_target_matching])||void 0===e?void 0:e.call(i))&&void 0!==r&&r}},{key:"validateDateTime",value:function(t,e){var r=new Date,n=!0,o=!0;t&&(new Date(t)>r&&(n=!1));e&&(new Date(e)<r&&(o=!1));var i=n&&o;return console.log("Date time validation:",i?"matched":"not matched",{datetime_start:t,datetime_end:e,currentDate:r}),i}},{key:"validateGeoTargeting",value:function(t,e){return Object.keys(e).every((function(r){return!e[r]||!!t[r]&&e[r]===t[r]}))}},{key:"validateFrequencySetting",value:function(t,e){var r=!0;if(console.log(t.frequency_disable),"after-form-submit"===t.frequency_disable){var n=Number(localStorage.getItem("modalPopupFormSubmitCount".concat(e))||0),o=t.frequency_disable_after_amount||1;return console.log("submitCount",n),console.log("maxSubmitCount",o),r=!(n>=o)}if("after-closing"===t.frequency_disable){var i=Number(localStorage.getItem("modalPopupClosed".concat(e))||0);return console.log("closeCount",i),r=!(i>=(t.frequency_disable_after_amount||1))}var a=sessionStorage.getItem("modalPopup".concat(e));if("session"===t.frequency&&(r=!a),"once-every"===t.frequency){var c=new Date,u=t.frequency_amount,s=t.frequency_amount_type.toLowerCase();if(a){var l=new Date(a),f=(c.getTime()-l.getTime())/6e4;"minutes"===s?(console.log("frequencyValid check for minutes"),r=!(f<u)):"hours"===s?r=!(f<60*u):"days"===s?r=!(f<60*u*24):"weeks"===s?r=!(f<60*u*24*7):"months"===s&&(r=!(f<60*u*24*30))}else r=!0}return r}},{key:"compareSettings",value:function(t,e,r){return(0,n.sH)(this,void 0,void 0,y().mark((function n(){var o,i,a,c,u,s,l,f,d,h,p,m,g,b,w,L,k,S,_;return y().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(o=e.audience_targeting,i=!0,a=[],e){n.next=5;break}return n.abrupt("return",{showModal:!0,reasons:[{check:"modalSettings",passed:!0,reason:"No modal settings provided, defaulting to true"}]});case 5:if(c=[],o.is_visible_on_desktop&&c.push("desktop"),o.is_visible_on_mobile&&c.push("mobile"),!(c.length>0)){n.next=13;break}if(u=this.validateDevice(t.device,c),i||u){n.next=12;break}return n.abrupt("return",{showModal:!1});case 12:a.push({check:"Device",passed:u,reason:u?"Device ".concat(t.device," matches target devices ").concat(c.join(", ")):"Device ".concat(t.device," does not match target devices ").concat(c.join(", "))});case 13:if(!o.traffic_source){n.next=21;break}if(s=this.validateTrafficSource(t.trafficSource,o.traffic_source),!i){n.next=19;break}a.push({check:"Traffic Source",passed:s,reason:s?"Traffic source ".concat(t.trafficSource," matches target ").concat(o.traffic_source):"Traffic source ".concat(t.trafficSource," does not match target ").concat(o.traffic_source)}),n.next=21;break;case 19:if(s){n.next=21;break}return n.abrupt("return",{showModal:!1});case 21:if(!Array.isArray(null==o?void 0:o.user_language)||!o.user_language.some((function(t){return""!==t.trim()}))){n.next=26;break}if(l=this.validateLanguage(t.userLanguage,o.user_language),i||l){n.next=25;break}return n.abrupt("return",{showModal:!1});case 25:a.push({check:"Language",passed:l,reason:l?"User languages [".concat(t.userLanguage.join(", "),"] match one of target languages [").concat(o.user_language.join(", "),"]"):"User languages [".concat(t.userLanguage.join(", "),"] don't match any target languages [").concat(o.user_language.join(", "),"]")});case 26:if(!o.returning_visitor){n.next=38;break}if((f="true"===localStorage.getItem("hasVisitedBefore"))||localStorage.setItem("hasVisitedBefore","true"),localStorage.getItem("hasVisitedBefore")||localStorage.setItem("hasVisitedBefore","true"),d=o.returning_visitor,h=Array.isArray(d)&&(d.includes("new")&&!f||d.includes("returning")&&f),!i){n.next=36;break}a.push({check:"Returning Visitor",passed:h,reason:h?"Visitor type matches target: ".concat(o.returning_visitor):"Visitor type does not match target: ".concat(o.returning_visitor)}),n.next=38;break;case 36:if(h){n.next=38;break}return n.abrupt("return",{showModal:!1});case 38:if(!Array.isArray(null==o?void 0:o.operating_system)||!o.operating_system.some((function(t){return""!==t.trim()}))){n.next=43;break}if(p=this.validateOS(t.operatingSystem,o.operating_system),i||p){n.next=42;break}return n.abrupt("return",{showModal:!1});case 42:a.push({check:"Operating System",passed:p,reason:p?"OS ".concat(t.operatingSystem," matches target OS list [").concat(o.operating_system.join(", "),"]"):"OS ".concat(t.operatingSystem," not in target OS list [").concat(o.operating_system.join(", "),"]")});case 43:if(!o.html_target){n.next=49;break}if(m=this.validateHTMLTarget(o.html_target),g=null!==document.querySelector(o.html_target.html_target_css_selector),i||m){n.next=48;break}return n.abrupt("return",{showModal:!1});case 48:a.push({check:"HTML Target",passed:m,reason:"Element ".concat(o.html_target.html_target_css_selector," ").concat(g?"exists":"does not exist",", ")+"matching rule '".concat(o.html_target.html_target_matching,"' ").concat(m?"passed":"failed")});case 49:if(!o.cookie_target){n.next=55;break}if(b=this.validateCookieTarget(o.cookie_target),w=(0,v.R)(o.cookie_target.cookie_target_key).toString(),i||b){n.next=54;break}return n.abrupt("return",{showModal:!1});case 54:a.push({check:"Cookie Target",passed:b,reason:"Cookie '".concat(o.cookie_target.cookie_target_key,"' with value '").concat(w,"' ")+"".concat(b?"matches":"does not match"," rule '").concat(o.cookie_target.cookie_target_matching,"' ")+"with target value '".concat(o.cookie_target.cookie_target_value,"'")});case 55:if(!(o.datetime_start&&""!==o.datetime_start||o.datetime_end&&""!==o.datetime_end)){n.next=60;break}if(L=this.validateDateTime(o.datetime_start,o.datetime_end),i||L){n.next=59;break}return n.abrupt("return",{showModal:!1});case 59:a.push({check:"Date Time",passed:L,reason:"Date time validation ".concat(L?"passed":"failed")});case 60:if(!o.geo_targeting){n.next=72;break}if(o.geo_targeting.geo_targeting_country||o.geo_targeting.geo_targeting_region||o.geo_targeting.geo_targeting_city){n.next=65;break}a.push({check:"Geo-Targeting",passed:!0,reason:"No geo-targeting settings provided, defaulting to true"}),n.next=72;break;case 65:return n.next=67,E.getGeoLocation();case 67:if(t.userGeoLocation=n.sent,k=this.validateGeoTargeting(t.userGeoLocation,o.geo_targeting),i||k){
2n.next=71;break}return n.abrupt("return",{showModal:!1});case 71:a.push({check:"Geo-Targeting",passed:k,reason:k?"Geo-location matches target: ".concat(JSON.stringify(t.userGeoLocation)):"Geo-location does not match target: ".concat(JSON.stringify(t.userGeoLocation))});case 72:if(!e.frequency_setting){n.next=77;break}if(S=this.validateFrequencySetting(e.frequency_setting,r),i||S){n.next=76;break}return n.abrupt("return",{showModal:!1});case 76:a.push({check:"Frequency Setting",passed:S,reason:S?"Frequency setting validation passed: ".concat(JSON.stringify(e.frequency_setting)):"Frequency setting validation failed: ".concat(JSON.stringify(e.frequency_setting))});case 77:return _=a.every((function(t){return t.passed})),i&&console.log("Validation Results:",{showModal:_,failedChecks:a.filter((function(t){return!t.passed})),allChecks:a}),n.abrupt("return",{showModal:_,reasons:a});case 80:case"end":return n.stop()}}),n,this)})))}}])}(),N=function(){function t(e){k(this,t),(null==e?void 0:e.selector)?(this.popupModals=Array.from(document.querySelectorAll(e.selector)),0!==this.popupModals.length&&(this.userSettings=this.initUserSettings(),this.initPopups())):console.warn("No selector provided for ModalPopup")}return _(t,[{key:"initUserSettings",value:function(){return{device:E.getDevice(),trafficSource:E.getTrafficSource(),operatingSystem:E.getOperatingSystem(),userLanguage:E.getLanguages(),userGeoLocation:null}}},{key:"initModalCloseListener",value:function(t,e){var r,n=JSON.parse(t.dataset.settings||"{}"),o=null==n?void 0:n.settings;"after-closing"===(null===(r=null==o?void 0:o.frequency_setting)||void 0===r?void 0:r.frequency_disable)&&t.addEventListener("modalClosed",(function(){var t=Number(localStorage.getItem("modalPopupClosed".concat(e))||0);localStorage.setItem("modalPopupClosed".concat(e),(t+1).toString())}))}},{key:"initModalFormSubmit",value:function(t,e){var r=t.querySelector(".smart-form-builder");r&&["formSubmitted","formRedirect"].forEach((function(t){r.addEventListener(t,(function(){var t=Number(localStorage.getItem("modalPopupFormSubmitCount".concat(e))||0);localStorage.setItem("modalPopupFormSubmitCount".concat(e),(t+1).toString());var r=new Date;localStorage.setItem("modalPopupFormSubmitDate".concat(e),r.toString())}))}))}},{key:"initShowModal",value:function(e,r){var n,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(t.isShowingPopup)console.warn("An other popup modal is already showing");else{var a=e.dataset.id;if(a){i&&(0,o.to)("popup",a),t.isShowingPopup=!0;var c=new Date;sessionStorage.setItem("modalPopup".concat(a),c.toString()),this.initModalCloseListener(e,a),this.initModalFormSubmit(e,a),r.includes("delay")&&q.removeEventListeners(),r.includes("delay_inactivity")&&O.removeEventListeners(),r.includes("page_exit")&&T.removeEventListeners(),r.includes("scroll_percentage")&&A.removeEventListeners(),r.includes("click_targeting")&&(null===(n=null==e?void 0:e.dataset)||void 0===n?void 0:n.clickTargeting)&&j.removeEventListeners(e.dataset.clickTargeting),(0,o.to)("popup",a)}else console.warn("No modal ID found on modal element",e)}}},{key:"initPopups",value:function(){return(0,n.sH)(this,void 0,void 0,y().mark((function t(){var e=this;return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.popupModals.forEach((function(t,r){return(0,n.sH)(e,void 0,void 0,y().mark((function e(){var n,o,i,a,c,u,s,l,f,d,h=this;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,console.log("\nProcessing modal ".concat(r+1)),c=JSON.parse(t.dataset.settings||"{}"),!(null===(n=null==c?void 0:c.settings)||void 0===n?void 0:n.preview)||!0!==(null===(o=null==c?void 0:c.settings)||void 0===o?void 0:o.preview)){e.next=7;break}return console.log("show modal preview"),this.initShowModal(t,[],!0),e.abrupt("return");case 7:return e.next=9,P.compareSettings(this.userSettings,c.settings,null!==(a=null===(i=null==t?void 0:t.dataset)||void 0===i?void 0:i.id)&&void 0!==a?a:null);case 9:u=e.sent,s=u.showModal,l=u.reasons,console.log("\nModal ".concat(r+1," validation results:")),console.group("Reasons:"),l.forEach((function(t){var e=t.check,r=t.passed,n=t.reason;console.log("".concat(e,": ").concat(r?"✓":"✗"," - ").concat(n))})),console.groupEnd(),console.log("\nFinal decision: Modal ".concat(r+1," will ").concat(s?"":"not ","be shown")),s&&(f=c.settings.user_behavior,d=Array(),console.log(f),f.delay&&d.push("delay"),f.scroll_percentage&&d.push("scroll_percentage"),f.delay_inactivity&&d.push("delay_inactivity"),f.page_exit&&d.push("page_exit"),f.click_targeting&&d.push("click_targeting"),f.delay&&q.init(1e3*f.delay,(function(){console.log("Show modal after delay"),h.initShowModal(t,d)})),f.delay_inactivity&&O.init(1e3*f.delay_inactivity,(function(){console.log("Show modal after inactivity"),h.initShowModal(t,d)})),f.page_exit&&T.init((function(){console.log("Show modal after exit intent"),h.initShowModal(t,d)}
2)),f.scroll_percentage&&A.init(f.scroll_percentage,(function(){console.log("Show modal after scroll percentage"),h.initShowModal(t,d)})),f.click_targeting&&j.init(f.click_targeting,(function(){console.log("Show modal after click targeting"),h.initShowModal(t,d)}))),e.next=23;break;case 20:e.prev=20,e.t0=e.catch(0),console.error("Error initializing popup ".concat(r+1,":"),e.t0);case 23:case"end":return e.stop()}}),e,this,[[0,20]])})))}));case 1:case"end":return t.stop()}}),t,this)})))}}])}();N.isShowingPopup=!1;const I=N;c(),p(),new I({selector:".modal--popup"})},6912:(t,e,r)=>{function n(t,e){for(;t;t=t.parentElement)if(t.matches(e))return t;return null}r.d(e,{A:()=>n})},48:(t,e,r)=>{r.d(e,{Ay:()=>a,WU:()=>o});var n=r(6912),o=function(t){if(!t.classList.contains("show")){var e=function(t){t.style.display="block";var e="".concat(t.scrollHeight,"px");return t.style.display="",e}(t);t.classList.remove("collapse"),t.classList.add("collapsing"),t.style.height=0;setTimeout((function(){t.classList.remove("collapsing"),t.classList.add("collapse"),t.classList.add("show"),t.removeAttribute("style")}),350),setTimeout((function(){t.style.height=e}),1)}},i=function(t){if(t.classList.contains("show")){t.style.height="".concat(t.offsetHeight,"px"),t.classList.add("collapsing"),t.classList.remove("collapse"),t.classList.remove("show"),setTimeout((function(){t.style.height=0}),1);setTimeout((function(){t.classList.remove("collapsing"),t.classList.add("collapse"),t.removeAttribute("style")}),350)}},a=function(){!document.querySelectorAll(".accordion-holder").length>0||Array.from(document.querySelectorAll(".accordion__term")).forEac
2h((function(t){t.addEventListener("click",(function(){var t=(0,n.A)(this,".accordion-item"),e=this.nextElementSibling;e.classList.contains("show")?i(e):(o(e),function(t){var e,r,n=document.getElementsByClassName("accordion-item"),o=[];for(e=0;e<n.length;e+=1)o.push(n[e]),n[e]===t.parentNode&&o.splice(e,1);for(r=0;r<o.length;r+=1){var a=o[r].querySelector(".accordion__term"),c=o[r].querySelector(".accordion__body");o[r].classList.remove("open"),a.classList.remove("open"),i(c)}}(this)),t.classList.toggle("open"),this.classList.toggle("open")}))}))};a()},2637:(t,e,r)=>{r.d(e,{R:()=>o});var n=r(48),o=function(t){for(var e="".concat(t,"="),r=decodeURIComponent(document.cookie).split(";"),n=0;n<r.length;n+=1){for(var o=r[n];" "===o.charAt(0);)o=o.substring(1);if(0===o.indexOf(e))return o.substring(e.length,o.length)}return""},i=function(){var t=JSON.parse(o("dynamis_consent"));t.length&&[].forEach.call(t,(function(t){"statistics"!==t&&"marketing"!==t||(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"cookiewall_".concat(t)}))}))};!function(){var t=document.querySelector(".notification--cookies"),e=d
2ocument.querySelector(".notification--cookies__btn-accept"),r=document.querySelector(".notification--cookies__btn-options");if(t)if(t||!(o("dynamis_consent").length>0)||e||r){!o("dynamis_consent").length>0&&t.classList.add("notification--cookies--unaccepted");var a=function(){t.classList.remove("notification--cookies--unaccepted"),e.removeEventListener("click",a);var r=document.querySelectorAll(".notification--cookies input:checked"),n=[];[].forEach.call(r,(function(t){n.push(t.value)})),function(t,e,r){var n=new Date;n.setTime(n.getTime()+24*r*60*60*1e3);var o="expires=".concat(n.toUTCString());document.cookie="".concat(t,"=").concat(e,";").concat(o)}("dynamis_consent",JSON.stringify(n),30),i(),setTimeout((function(){t.parentNode.removeChild(t)}),300)};e.addEventListener("click",a),r.addEventListener("click",(function(){var t=document.querySelector(".cookies__list");if(!t)return!1;(0,n.WU)(t),r.classList.add("active-options"),e.classList.add("active-options");var o=document.getElementById("statistics"),i=document.getElementById("marketing");o&&(o.checked=!1),i&&(i.checked=!1)}))}else i()}()},9003:(t,e,r)=>{r.d(e,{Ay:()=>y,ZI:()=>g,pP:()=>d});var n=r(6912);function o(t){var e=t.getAttribute("data-open"),r=t.getAttribute("data-withdata");if(e){if(r){var n=new FormData(t),o=new URLSearchParams(n),i="?";-1!==e.indexOf("?")&&(i="&"),e+=i+o.toString()}window.open(e,"_blank")}}function i(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function c(t,e){for(var r=0;r<t.length;r+=1){var n;if(Array.isArray(e))(n=t[r].classList).remove.apply(n,i(e));else t[r].classList.remove(e)}}function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function s(){s=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function d(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:q(t,r,c)}),a}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=d;var p="suspendedStart",v="suspendedYield",m="executing",g="completed",y={};function b(){}function w(){}function L(){}var k={};f(k,a,(function(){return this}));var S=Object.getPrototypeOf,_=S&&S(S(N([])));_&&_!==r&&n.call(_,a)&&(k=_);var x=L.prototype=b.prototype=Object.create(k);function E(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){function r(o,i,a,c){var s=h(t[o],t,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==u(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,c)}))}c(s.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function q(e,r,n){var o=p;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}
vendor: 4,457 bytes, line 2
2for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=m;var s=h(e,r,n);if("normal"===s.type){if(o=n.done?g:v,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=g,n.method="throw",n.arg=s.arg)}}}function O(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,O(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=h(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(u(e)+" is not iterable")}return w.prototype=L,o(x,"constructor",{value:L,configurable:!0}),o(L,"constructor",{value:w,configurable:!0}),w.displayName=f(L,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,L):(t.__proto__=L,f(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},E(T.prototype),f(T.prototype,c,(function(){return this})),e.AsyncIterator=T,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new T(d(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(x),f(x,l,"Generator"),f(x,a,(function(){return this})),f(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=N,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(j),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),y}}
2,catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function l(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var f=!1,d=function(t){t=t.value.trim();var e=!0;return/^[1-9][0-9]{3} ?(?!sa|sd|ss)[a-z]{2}$/i.test(t)||(e=!1),e},h=function(t){var e=!0;return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t.value)||(e=!1),e},p=function(t){var e=!0;return/^(0[1-9]|1[0-9]|2[0-9]|3[01]).(0[1-9]|1[012]).[0-9]{4}$/.test(t.value)||(e=!1),e},v=function(t){return void 0===t.getIntlPhoneInput||t.getIntlPhoneInput().isValidNumber()},m=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=(0,n.A)(t,".form-group");if(!o)return!1;if(o.classList.add("form-group--error"),o.classList.remove("form-group--success"),e&&!t.dataset.errorItem){var i,a,c,u,s,l,f=e.querySelector("ul");f||(f=document.createElement("ul"),e.appendChild(f));var d=function(t){var e;return null==t||null===(e=t.replace(/.*\[(.+)\].*/,"$1"))||void 0===e?void 0:e.replace(/[-_]/g," ")},h=(null===(i=o.querySelector("label:not(.custom-control):not(.custom-file)"))||void 0===i||null===(i=i.textContent)||void 0===i?void 0:i.trim())||(null===(a=t.placeholder)||void 0===a?void 0:a.replace(/\s*\*$/,"").trim())||d(null===(c=o.querySelector("select"))||void 0===c?void 0:c.name)||(null===(u=o.querySelector("select option[disabled]"))||void 0===u||null===(u=u.textContent)||void 0===u?void 0:u.trim())||(null===(s=o.querySelector(".custom-control__input"))||void 0===s||null===(s=s.placeholder)||void 0===s?void 0:s.replace(/\s*\*$/,"").trim())||d(null===(l=o.querySelector("input[type=radio], input[type=checkbox]"))||void 0===l?void 0:l.name)||null,p=h?h.charAt(0).toUpperCase()+h.slice(1):null,v=r||(p?"".concat(p," is verplicht."):"".concat(errorRequired,".")),m=document.createElement("li"),g=document.createElement("button");g.type="button",g.textContent=v,g.addEventListener("click",(function(){var t=o.querySelector(".select-selected"),e=o.querySelector("input:not([type=hidden]), textarea");t?(t.scrollIntoView({behavior:"smooth",block:"center"}),setTimeout((function(){return t.click()}),100)):e&&(e.scrollIntoView({behavior:"smooth",block:"center"}),e.focus({preventScroll:!0}))})),m.appendChild(g),f.appendChild(m),t.dataset.errorItem="true",t._errorLi=m}},g=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=[],o=new Set;return Array.from(t.querySelectorAll("[required], .checkbox-required-group")).forEach((function(i){if(i.classList.contains("checkbox-required-group")){if(o.has(i))return;return o.add(i),void(0===i.querySelectorAll("input[type=checkbox]:checked").length&&(m(i,e),r.push(!1)))}if("radio"===i.type){if(o.has(i.name))return;return o.add(i.name),void(t.querySelector('input[type=radio][name="'.concat(i.name,'"]:checked'))||(m(i,e),r.push(!1)))}if(!(0,n.A)(i,".checkbox-required-group")&&!i.disabled){var a,c,u;if((""===i.value||"checkbox"===i.type&&!i.checked)&&(m(i,e),r.push(!1),f=!0),"email"===i.type&&""!==i.value)if(!h(i))m(i,e,"".concat((null===(a=i.placeholder)||void 0===a?void 0:a.replace(/\s*\*$/,"").trim())||"E-mailadres"," is geen geldig e-mailadres.")),r.push(!1);if("text"===i.type&&i.name.includes("day")&&""!==i.value)if(!p(i))m(i,e,"".concat((null===(c=i.placeholder)||void 0===c?void 0:c.replace(/\s*\*$/,"").trim())||"Datum"," is geen geldige datum.")),r.push(!1);if("tel"===i.type&&""!==i.value)if(!v(i))m(i,e,"".concat((null===(u=i.placeholder)||void 0===u?void 0:u.replace(/\s*\*$/,"").trim())||"Telefoonnummer"," is geen geldig telefoonnummer.")),r.push(!1)}})),!r.includes(!1)},y=function(){var t=document.querySelectorAll("form");0!==t.length&&Array.from(t).forEach((function(t){var e=t.querySelector('[type="submit"]');if(function(t){if(!t.classList.contains("form-stepper"))return!1;var e=t.querySelectorAll('button[type="button"]');if(e){var r=t.querySelectorAll(".step__item"),n=t.querySelectorAll(".form-step"),o="active",i="completed",a=0;e.forEach((function(e){e.addEventListener("click",(function(u){u.preventDefault();var s=g(t.querySelector(".form-step.active")),l=e.classList.contains("step-next");e.dataset.index?a=+e.dataset.index:l?s&&a++:0!==a&&a--,c(r,[o,i]),c(n,o);for(var f=0;f<n.length&&!(f>a);f+=1)f===a?(r[f].classList.add(o),n[f].classList.add(o)):r[f].classList.add(i)}))}))}}(t),e){var r=function(t){var e=t.querySelector(".form-errors");if(e)return e;(e=document.createElement("div")).className="form-errors alert";var r=document.createElement("p");r.textContent="Er zijn validatie errors",e.appendChild(r);var n=t.firstElementChild;return n?t.insertBefore(e,n):t.appendChild(e),e}(t);!function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=e.querySelectorAll("[required]"),i=e.querySelectorAll(".checkbox-required-group input[type=checkbox], [data-original-validation=checkbox-required-group] input[type=checkbox]"),a=function(t,e,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(t){if(n.classList.remove("form-group--error"),n.classList.add("form-group--success"),e._errorLi){e._errorLi.remove(),delete e._errorLi,delete e.dataset.errorItem;var i=r&&r.querySelector("ul");i&&!i.children.length&&r.classList.remove("active")}}else m(e,r,o)};
2Array.from(o).forEach((function(t){"SELECT"===t.tagName?(t.addEventListener("change",(function(){var e=(0,n.A)(t,".form-group"),r=!0;""===t.value&&(r=!1),a(r,t,e)})),t.nextElementSibling&&t.nextElementSibling.addEventListener("click",(function(){if(f){var e=(0,n.A)(t,".form-group"),r=!0;""===t.value&&(r=!1),a(r,t,e)}}))):t.addEventListener("input",(function(){var e=(0,n.A)(t,".form-group");if(e){var r=!0;(""===t.value||"checkbox"===t.type&&!t.checked)&&(r=!1);var o,i,c,u=null;"email"===t.type&&(h(t)||(r=!1,u="".concat((null===(o=t.placeholder)||void 0===o?void 0:o.replace(/\s*\*$/,"").trim())||"E-mailadres"," is geen geldig e-mailadres."))),"text"===t.type&&t.name.includes("day")&&(p(t)||(r=!1,u="".concat((null===(i=t.placeholder)||void 0===i?void 0:i.replace(/\s*\*$/,"").trim())||"Datum"," is geen geldige datum."))),"tel"===t.type&&(v(t)||(r=!1,u="".concat((null===(c=t.placeholder)||void 0===c?void 0:c.replace(/\s*\*$/,"").trim())||"Telefoonnummer"," is geen geldig telefoonnummer."))),a(r,t,e,u)}}))})),Array.from(i).forEach((function(t){t.addEventListener("change",(function(){var e=(0,n.A)(t,".checkbox-required-group"),r=!0;!e.querySelectorAll("input[type=checkbox]:checked").length>0&&(r=!1),a(r,e,e)}))}
2))}(e,t,r),e.addEventListener("click",function(){var e,n=(e=s().mark((function e(n){var i;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),t.classList.add("form-is-submitting"),e.next=4,new Promise((function(t){return setTimeout(t,1e3)}));case 4:if(t.classList.remove("form-is-submitting"),r&&(r.classList.remove("active"),(i=r.querySelector("ul"))&&i.remove(),t.querySelectorAll("[data-error-item]").forEach((function(t){delete t._errorLi,delete t.dataset.errorItem}))),g(t,r)){e.next=11;break}return r&&(a=r)&&a.classList.add("active"),t.scrollIntoView({behavior:"smooth"}),e.abrupt("return");case 11:o(t),t.submit();case 13:case"end":return e.stop()}var a}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(t){l(i,n,o,a,c,"next",t)}function c(t){l(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return n.apply(this,arguments)}}())}}))}},97:(t,e,r)=>{var n;r.d(e,{Oo:()=>l,UG:()=>s,to:()=>f});var o=!1,i=!1,a=document.getElementsByTagName("HTML")[0],c=document.body,u=document.createElement("div");u.className="modal-backdrop fade";var s=function(){var t=document.querySelectorAll(".video"),e=document.querySelectorAll(".video video");Array.from(e).forEach((function(t){t.pause()})),Array.from(t).forEach((function(t){t.classList.remove("video--playing")}))},l=function(){var t=document.querySelectorAll(".modal"),e=document.querySelectorAll(".modal.show");if(!(!e.length>0)){var r=document.querySelectorAll(".modal--media--thumbs-active"),n=document.querySelectorAll("[data-default-modal-title]");u.classList.remove("show"),u.classList.remove("modal-backdrop--black"),r.length>0&&r.forEach((function(t){t.classList.remove("modal--media--thumbs-active")})),n.length>0&&n.forEach((function(t){t.innerHTML=t.dataset.defaultModalTitle})),a.classList.remove("modal-open"),s(),e.forEach((function(t){t.classList.remove("show"),t.dispatchEvent(new CustomEvent("modalClosed"))})),setTimeout((function(){var e=document.querySelector(".modal-backdrop");a.classList.remove("modal-open"),c.classList.remove("modal-open"),e.parentNode.removeChild(e),t.forEach((function(t){t.removeAttribute("style")})),o=!1}),150)}},f=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;switch(t){case"office":n=document.querySelector(".modal--office");break;case"media":n=document.querySelector(".modal--media"),u.classList.add("modal-backdrop--black");break;case"media-floormaps":n=document.querySelector(".modal--floormaps"),u.classList.add("modal-backdrop--black");break;case"downloadBrochure":n=document.querySelector(".modal--download-brochure"),u.classList.remove("modal-backdrop--black");break;case"contact":n=document.querySelector(".modal--contact");break;case"object-contact":n=document.querySelector(".modal--object-contact");break;case"magazine":n=document.querySelector(".modal--magazine");break;case"media-anecdotes":n=document.querySelector(".modal--media-anecdotes"),u.classList.add("modal-backdrop--black");break;case"pdf":n=document.querySelector(".modal--pdf");break;case"share":n=document.querySelector(".modal--share");break;case"office-header":n=document.querySelector(".modal--office-header");break;case"ewidget":n=document.querySelector(".modal--ewidget");break;case"form":n=document.querySelector(".modal--form");break;case"iframe":n=document.querySelector(".modal--iframe");break;case"content":n=null!==e?document.querySelector('.modal--content[data-id="'.concat(e,'"]')):document.querySelector(".modal--content");break;case"popup":n=null!==e?document.querySelector('.modal--popup[data-id="'.concat(e,'"]')):document.querySelector(".modal--popup");break;default:n=document.querySelector(".modal")}return c.classList.add("modal-open"),c.appendChild(u),n.style.display="block",setTimeout((function(){u.classList.add("show"),n.classList.add("show"),o=!0,!1===i&&(i=!0,function(){if(o){document.addEventListener("keyup",(function(t){27===t.which&&l()}));var t=document.querySelectorAll(".modal-close");if(!t.length>0)return;[].forEach.call(t,(function(t){t.addEventListener("click",(function(t){t.preventDefault(),l()}))}))}}())}),150),n}},1635:(t,e,r)=>{r.d(e,{sH:()=>n});function n(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{u(n.next(t))}catch(t){i(t)}}function c(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,c)}u((n=n.apply(t,e||[])).next())}))}Object.create;Object.create;"function"==typeof SuppressedError&&SuppressedError}},t=>{var e;e=6324,t(t.s=e)}]);

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.