PageSourceSearch

https://www.visueleverbinders.nl/_next/static/chunks/3641.fbc4bd4076363bc7.js

js visueleverbinders.nl collected 2026-10-08 06:23:59 UTC 18,446 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3641],{87757:function(e,t,r){e.exports=r(35666)},87559:function(e,t,r){var n;!function(o){"use strict";function i(e){var t=e&&e.Promise||o.Promise,r=e&&e.XMLHttpRequest||o.XMLHttpRequest,n=o;return function(){var e=Object.create(n,{fetch:{value:void 0,writable:!0}});return function(e){if(!e.fetch){var n="URLSearchParams"in e,o="Symbol"in e&&"iterator"in Symbol,i="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),s="FormData"in e,a="ArrayBuffer"in e;if(a)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=function(e){return e&&DataView.prototype.isPrototypeOf(e)},f=ArrayBuffer.isView||function(e){return e&&u.indexOf(Object.prototype.toString.call(e))>-1};m.prototype.append=function(e,t){e=h(e),t=p(t);var r=this.map[e];this.map[e]=r?r+","+t:t},m.prototype.delete=function(e){delete this.map[h(e)]},m.prototype.get=function(e){return e=h(e),this.has(e)?this.map[e]:null},m.prototype.has=function(e){return this.map.hasOwnProperty(h(e))},m.prototype.set=function(e,t){this.map[h(e)]=p(t)},m.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},m.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),y(e)},m.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),y(e)},m.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),y(e)},o&&(m.prototype[Symbol.iterator]=m.prototype.entries);var l=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];_.prototype.clone=function(){return new _(this,{body:this._bodyInit})},g.call(_.prototype),g.call(E.prototype),E.prototype.clone=function(){return new E(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},E.error=function(){var e=new E(null,{status:0,statusText:""});return e.type="error",e};var d=[301,302,303,307,308];E.redirect=function(e,t){if(-1===d.indexOf(t))throw new RangeError("Invalid status code");return new E(null,{status:t,headers:{location:e}})},e.Headers=m,e.Request=_,e.Response=E,e.fetch=function(e,n){return new t((function(t,o){var s=new _(e,n),a=new r;a.onload=function(){var e={status:a.status,statusText:a.statusText,headers:A(a.getAllResponseHeaders()||"")};e.url="responseURL"in a?a.responseURL:e.headers.get("X-Request-URL");var r="response"in a?a.response:a.responseText;t(new E(r,e))},a.onerror=function(){o(new TypeError("Network request failed"))},a.ontimeout=function(){o(new TypeError("Network request failed"))},a.open(s.method,s.url,!0),"include"===s.credentials?a.withCredentials=!0:"omit"===s.credentials&&(a.withCredentials=!1),"responseType"in a&&i&&(a.responseType="blob"),s.headers.forEach((function(e,t){a.setRequestHeader(t,e)})),a.send("undefined"===typeof s._bodyInit?null:s._bodyInit)}))},e.fetch.polyfill=!0}function h(e){if("string"!==typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function p(e){return"string"!==typeof e&&(e=String(e)),e}function y(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return o&&(t[Symbol.iterator]=function(){return t}),t}function m(e){this.map={},e instanceof m?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function v(e){if(e.bodyUsed)return t.reject(new TypeError("Already read"));e.bodyUsed=!0}function b(e){return new t((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function w(e){var t=new FileReader,r=b(t);return t.readAsArrayBuffer(e),r}function x(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"===typeof e)this._bodyText=e;else if(i&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(s&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(n&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(a&&i&&c(e))this._bodyArrayBuffer=x(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!a||!ArrayBuffer.prototype.isPrototypeOf(e)&&!f(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=x(e)}else this._bodyText="";this.headers.get("content-type")||("string"===typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var e=v(this);if(e)return e;if(this._bodyBlob)return t.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return t.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return t.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?v(this)||t.resolve(this._bodyArrayBuffer):this.blob().then(w)}),this.text=function(){var e=v(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,r=b(t);return t.readAsText(e),r}(this._bodyBlob);if(this._bodyArrayBuffer)return t.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return t.resolve(this._bodyText)},s&&(this.formData=function(){return this.text().then(j)}),this.json=function(){return this.text().then(JSON.parse)},this}function _(e,t){var r=(t=t||{}).body;if(e instanceof _){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new m(e.headers)),this.method=e.method,this.mode=e.mode,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new m(t.headers)),this.method=function(e){var t=e.toUpperCase();return l.indexOf(t)>-1?t:e}(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function j(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}})),t}function A(e){var t=new m;
1return e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();t.append(n,o)}})),t}function E(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new m(t.headers),this.url=t.url||"",this._initBody(e)}}("undefined"!==typeof e?e:this),{fetch:e.fetch,Headers:e.Headers,Request:e.Request,Response:e.Response}}()}void 0===(n=function(){return i}.call(t,r,t,e))||(e.exports=n)}("undefined"!==typeof self?self:"undefined"!==typeof r.g?r.g:this)},3641:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return Y}});var n=r(70603),o=r(85893),i=r(67294),s=r(86854);var a=function(e){var t=this.constructor;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){return t.reject(r)}))}))};var u=function(e){return new this((function(t,r){if(!e||"undefined"===typeof e.length)return r(new TypeError(typeof e+" "+e+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var n=Array.prototype.slice.call(e);if(0===n.length)return t([]);var o=n.length;function i(e,r){if(r&&("object"===typeof r||"function"===typeof r)){var s=r.then;if("function"===typeof s)return void s.call(r,(function(t){i(e,t)}),(function(r){n[e]={status:"rejected",reason:r},0===--o&&t(n)}))}n[e]={status:"fulfilled",value:r},0===--o&&t(n)}for(var s=0;s<n.length;s++)i(s,n[s])}))},c=setTimeout;function f(e){return Boolean(e&&"undefined"!==typeof e.length)}function l(){}function d(e){if(!(this instanceof d))throw new TypeError("Promises must be constructed via new");if("function"!==typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],b(e,this)}function h(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,d._immediateFn((function(){var r=1===e._state?t.onFulfilled:t.onRejected;if(null!==r){var n;try{n=r(e._value)}catch(o){return void y(t.promise,o)}p(t.promise,n)}else(1===e._state?p:y)(t.promise,e._value)}))):e._deferreds.push(t)}function p(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===typeof t||"function"===typeof t)){var r=t.then;if(t instanceof d)return e._state=3,e._value=t,void m(e);if("function"===typeof r)return void b((n=r,o=t,function(){n.apply(o,arguments)}),e)}e._state=1,e._value=t,m(e)}catch(i){y(e,i)}var n,o}function y(e,t){e._state=2,e._value=t,m(e)}function m(e){2===e._state&&0===e._deferreds.length&&d._immediateFn((function(){e._handled||d._unhandledRejectionFn(e._value)}));for(var t=0,r=e._deferreds.length;t<r;t++)h(e,e._deferreds[t]);e._deferreds=null}function v(e,t,r){this.onFulfilled="function"===typeof e?e:null,this.onRejected="function"===typeof t?t:null,this.promise=r}function b(e,t){var r=!1;try{e((function(e){r||(r=!0,p(t,e))}),(function(e){r||(r=!0,y(t,e))}))}catch(n){if(r)return;r=!0,y(t,n)}}d.prototype.catch=function(e){return this.then(null,e)},d.prototype.then=function(e,t){var r=new this.constructor(l);return h(this,new v(e,t,r)),r},d.prototype.finally=a,d.all=function(e){return new d((function(t,r){if(!f(e))return r(new TypeError("Promise.all accepts an array"));var n=Array.prototype.slice.call(e);if(0===n.length)return t([]);var o=n.length;function i(e,s){try{if(s&&("object"===typeof s||"function"===typeof s)){var a=s.then;if("function"===typeof a)return void a.call(s,(function(t){i(e,t)}),r)}n[e]=s,0===--o&&t(n)}catch(u){r(u)}}for(var s=0;s<n.length;s++)i(s,n[s])}))},d.allSettled=u,d.resolve=function(e){return e&&"object"===typeof e&&e.constructor===d?e:new d((function(t){t(e)}))},d.reject=function(e){return new d((function(t,r){r(e)}))},d.race=function(e){return new d((function(t,r){if(!f(e))return r(new TypeError("Promise.race accepts an array"));for(var n=0,o=e.length;n<o;n++)d.resolve(e[n]).then(t,r)}))},d._immediateFn="function"===typeof setImmediate&&function(e){setImmediate(e)}||function(e){c(e,0)},d._unhandledRejectionFn=function(e){"undefined"!==typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var w=d,x=r(87559),g=r.n(x);function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A(e,t,r){return t&&j(e.prototype,t),r&&j(e,r),e}var E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/=",T=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/;var F,B=function(e){return function(e){for(var t,r,n,o,i="",s=0,a=(e=String(e)).length%3;s<e.length;){if((r=e.charCodeAt(s++))>255||(n=e.charCodeAt(s++))>255||(o=e.charCodeAt(s++))>255)throw new TypeError("Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.");i+=E.charAt((t=r<<16|n<<8|o)>>18&63)+E.charAt(t>>12&63)+E.charAt(t>>6&63)+E.charAt(63&t)}return a?i.slice(0,a-3)+"===".substring(a):i}(JSON.stringify(e))},S=function(e){var t="@formspree/core@".concat("2.6.4");return e?"".concat(e," ").concat(t):t},O=function(){return navigator.webdriver||!!document.documentElement.getAttribute(function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!T.test(e))throw new TypeError("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");e+="==".slice(2-(3&e.length));for(var t,r,n,o="",i=0;i<e.length;)t=E.indexOf(e.charAt(i++))<<18|E.indexOf(e.charAt(i++))<<12|(r=E.indexOf(e.charAt(i++)))<<6|(n=E.indexOf(e.charAt(i++))),o+=64===r?String.fromCharCode(t>>16&255):64===n?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return o}("d2ViZHJpdmVy"))||!!window.callPhantom||!!window._phantom},P=function(){function e(){_(this,e),this.loadedAt=1*new Date,this.webdriver=O()}return A(e,[{key:"teardown",value:function(){}},{key:"data",value:function(){return{loadedAt:this.loadedAt,webdriver:this.webdriver}}}]),e}(),R=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_(this,e),this.project=t.project,"undefined"!==typeof window&&this.startBrowserSession()}return A(e,[{key:"startBrowserSession",value:function(){this.session||(this.session=new P)}},{key:"teardown",value:function(){this.session&&this.session.teardown()}},{key:"submitForm",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.endpoint||"https://formspree.io",o=r.fetchImpl||g()({Promise:w}).fetch,i=this.project?"".concat(n,"/p/").concat(this.project,"/f/").concat(e):"".concat(n,"/f/").concat(e),s=function(e){return e instanceof FormData?e:JSON.stringify(e)},a={Accept:"application/json","Formspree-Client":S(r.clientName)};this.session&&(a["Formspree-Session-Data"]=B(this.session.data())),t instanceof FormData||(a["Content-Type"]="application/json");var u={method:"POST",mode:"cors",body:s(t),headers:a};return o(i,u).then((function(e){return e.json().then((function(t){return{body:t,response:e}}))}))}}]),e}(),U=function(){var e;return F||(F=new R(e)),F},k=r(87757),C=r.n(k),Z=r(71002),D=r(4942);function I(e,t,r,n,o,i,s){try{var a=e[i](s),u=a.value}catch(c){return void r(c)}a.done?t(u):Promise.resolve(u).then(n,o)}function N(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function s(e){I(i,n,o,s,a,"next",e)}function a(e){I(i,n,o,s,a,"throw",e)}s(void 0)}))}}var q=r(45987),L=i.createContext({client:void 0});L.displayName="Formspree";function H(){return(0,i.useContext)(L).client||U()}var V="2.2.5";function W(e){return void 0!==e.preventDefault}var z=function(e){var t=e.prefix,r=e.field,n=e.errors,o=(0,q.Z)(e,["prefix","field","errors"]),s=(n||[]).find((function(e){return e.field==r}));return s?i.createElement("div",o,t," ",s.message):null},G=r(22318),J=r(282),M=r(41749),X=r(28392);var Y=function(e){var t=e.blok,r=(0,n.Z)(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(0,i.useState)(!1),n=(0,s.Z)(r,2),o=n[0],a=n[1],u=(0,i.useState)(!1),c=(0,s.Z)(u,2),f=c[0],l=c[1],d=(0,i.useState)([]),h=(0,s.Z)(d,2),p=h[0],y=h[1],m=H(),v=t.client||m;if(!v)throw new Error("You must provide a Formspree client");if(!e)throw new Error('You must provide a form key or hashid (e.g. useForm("myForm") or useForm("123xyz")');var b=!!t.debug,w=t.data,x=function(){a(!1),l(!1),y([])},g=function(){var r=N(C().mark((function r(n){var o,i,s,u,c;return C().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(o=function(e){e.preventDefault();var t=e.target;if("FORM"!=t.tagName)throw new Error("submit was triggered for a non-form element");return new FormData(t)},i=W(n)?o(n):n,s=function(e,t){i instanceof FormData?i.append(e,t):i=Object.assign(i,(0,D.Z)({},e,t))},"object"!==(0,Z.Z)(w)){r.next=19;break}r.t0=C().keys(w);case 5:if((r.t1=r.t0()).done){r.next=19;break}if(u=r.t1.value,"function"!==typeof w[u]){r.next=16;break}if(!((c=w[u].call(null))instanceof Promise)){r.next=13;break}return r.next=12,c;case 12:c=r.sent;case 13:void 0!==c&&s(u,c),r.next=17;break;case 16:s(u,w[u]);case 17:r.next=5;break;case 19:return a(!0),r.abrupt("return",v.submitForm(e,i,{endpoint:t.endpoint,clientName:"@formspree/react@".concat(V)}).then((function(e){var t,r=e.response.status;
1return 200===r?(b&&console.log("Form submitted",e),l(!0),y([])):r>=400&&r<500?((t=e.body).errors&&y(t.errors),b&&console.log("Validation error",e),l(!1)):(b&&console.log("Unexpected error",e),l(!1)),e})).catch((function(e){throw b&&console.log("Unexpected error",e),l(!1),e})).finally((function(){a(!1)})));case 21:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}();return[{submitting:o,succeeded:f,errors:p},g,x]}("meqnngrj"),2),a=r[0],u=r[1],c=t.language;if(a.succeeded)return(0,o.jsx)(G.Z,{variant:"h4",color:"textSecondary",children:"Dank voor je bericht!"});var f="Naam",l="Email",d="Telefoonnummer",h="Waar gaat het over?",p="Wat wil je weten/delen?",y="Verstuur";if("en"===c){f="Name";l="Email",d="Phonenumber",h="What is it about?",p="What would you like to share?",y="Send"}return(0,o.jsx)("form",{onSubmit:u,children:(0,o.jsxs)(M.Z,{container:!0,children:[(0,o.jsxs)(M.Z,{item:!0,xs:12,children:[(0,o.jsx)(X.Z,{label:f,variant:"filled",id:"name",type:"text",name:"name",required:!0}),(0,o.jsx)(z,{prefix:"Naam",field:"name",errors:a.errors})]}),(0,o.jsxs)(M.Z,{item:!0,xs:12,children:[(0,o.jsx)(X.Z,{label:l,variant:"filled",id:"email",type:"email",name:"email",required:!0}),(0,o.jsx)(z,{prefix:"Email",field:"email",errors:a.errors})]}),(0,o.jsxs)(M.Z,{item:!0,xs:12,children:[(0,o.jsx)(X.Z,{label:d,variant:"filled",id:"phone",type:"phone",name:"phone"}),(0,o.jsx)(z,{prefix:"Telefoonnummer",field:"phone",errors:a.errors})]}),(0,o.jsxs)(M.Z,{item:!0,xs:12,children:[(0,o.jsx)(X.Z,{label:h,variant:"filled",id:"subject",type:"text",name:"subject"}),(0,o.jsx)(z,{prefix:"Onderwerp",field:"subject",errors:a.errors})]}),(0,o.jsxs)(M.Z,{item:!0,xs:12,children:[(0,o.jsx)(X.Z,{multiline:!0,rows:4,label:p,variant:"filled",id:"message",type:"message",name:"message",required:!0}),(0,o.jsx)(z,{prefix:"Bericht",field:"message",errors:a.errors})]}),(0,o.jsx)(z,{errors:a.errors}),(0,o.jsx)(J.Z,{type:"submit",disabled:a.submitting,variant:"contained",color:"primary",children:y})]})})}}}]);

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.