PageSourceSearch

https://www.lokersefeesten.be/assets/website/643.16c0ee50.js

js lokersefeesten.be collected 2026-10-02 10:26:15 UTC 2,953 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunk_inventis_front_end_boilerplate=globalThis.webpackChunk_inventis_front_end_boilerplate||[]).push([[643],{1643:(t,e,i)=>{i.r(e),i.d(e,{default:()=>s});class r{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.form=t,this.validationFields=this.getValidationFields(),this.firstInvalidFieldFound=null,this.errorStates={customError:!1,patternMismatch:"title",rangeOverflow:"max",rangeUnderflow:"min",stepMismatch:"step",tooShort:"minlength",tooLong:"maxlength",typeMismatch:!1,valueMissing:!1};this.options={customErrorMessages:null,...e},this.attachListeners(),this.form.setAttribute("novalidate",!0)}getValidationFields(){let t=[];return Object.entries(this.form.elements).forEach((e=>{let[i,r]=e;parseInt(i)!=i&&!Object.prototype.isPrototypeOf.call(NodeList.prototype,r)&&!(r.name in t)&&["INPUT","SELECT","TEXTAREA"].indexOf(r.tagName)>-1&&"hidden"!==r.type&&(t[r.name]=r)})),Object.values(t)}attachListeners(){this.form.addEventListener("submit",(t=>this.formSubmitHandler(t))),this.validationFields.forEach((t=>{t.addEventListener("invalid",(t=>this.fieldInvalidHandler(t)),!1),t.addEventListener("blur",(t=>this.fieldBlurHandler(t))),t.hasAttribute("aria-invalid")&&t.addEventListener("input",(t=>this.fieldInputHandler(t)))})),this.form.querySelectorAll("input[type=file][required]").forEach((t=>{t.disableBlurValidation=!0,t.addEventListener("change",(()=>{t.disableBlurValidation=!1}))}))}formSubmitHandler(t){this.firstInvalidFieldFound=!1,this.form.checkValidity()||t.preventDefault()}fieldInvalidHandler(t){let e=t.target;e.setAttribute("aria-invalid",!0);let i=this.getCustomValidationMessage(e);i||(i=e.validationMessage,e.validity.patternMismatch&&e.title&&(i+="\r\n"+e.title)),r.showFieldErrorMessage(e,i),!1===this.firstInvalidFieldFound&&(this.firstInvalidFieldFound=!0,e.focus()),e.addEventListener("input",(t=>this.fieldInputHandler(t)))}fieldBlurHandler(t){let e=t.target;e.disableBlurValidation||e.checkValidity()}fieldInputHandler(t){let e=t.target;e.removeEventListener("input",this.fieldInputHandler),e.removeAttribute("aria-invalid"),e.setCustomValidity(""),r.showFieldErrorMessage(e,"")}static getFieldErrorElement(t){const e=t.getAttribute("aria-errormessage");return e?document.getElementById(e):null}static showFieldErrorMessage(t,e){const i=r.getFieldErrorElement(t);i&&(i.textContent=e)}getCustomValidationMessage(t){if(!this.options.customErrorMessages)return"";for(let e of Object.keys(this.errorStates)){const i=this.getCustomValidationMessageForState(t,e);if(null!==i)return i}return""}getCustomValidationMessageForState(t,e){if(!1===t.validity[e])return null;if(!this.options.customErrorMessages[e])return"";let i;i="typeMismatch"===e?this.options.customErrorMessages[e][t.type]:this.options.customErrorMessages[e];const r=this.errorStates[e];return null!==r&&t.hasAttribute(r)&&(i=i.replace("{"+r+"}",t.getAttribute(r))),i}}const s=t=>new r(t)}}]);

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.