https://www.bonaireparadise.nl/_content/Bookaparadise.Blazor.Common/js/intlTelInput/E164Phone.min.js
1function initializeE164Phone(n,t){var i=document.querySelector(`#${n}`),r=document.querySelector(`#${t}`),u;r&&i&&(u=window.intlTelInput(i,{initialCountry:"NL",preferredCountries:["NL","ES","BQ"],autoPlaceholder:"off",utilsScript:"https://cdn.jsdelivr.net/npm/[email protected]/build/js/utils.js",formatOnDisplay:!0}),i.addEventListener("keyup",t=>{const i=t.key;switch(i){case"ArrowLeft":case"ArrowRight":return}formatIntlTelInput(n)}),i.addEventListener("change",()=>formatIntlTelInput(n)),i.addEventListener("change",()=>reset(n,t)),i.addEventListener("keyup",()=>reset(n,t)),i.addEventListener("blur",()=>{if(reset(n,t),i.value.trim())if(u.isValidNumber())formatIntlTelInput(n);else if(i.classList.add("invalid-e164"),r){var f=u.getValidationError();let n=errorMap[f];n||(n=defaultError);r.innerHTML=n;r.classList.add("invalid-msg");r.classList.remove("hide")}}),u.promise.then(()=>formatIntlTelInput(n)))}function formatIntlTelInput(n){var i=document.querySelector(`#${n}`),r,t;i.value&&(r=window.intlTelInputGlobals.getInstance(i),typeof intlTelInputUtils!="undefined"&&(t=r.getNumber(intlTelInputUtils.numberFormat.E164),typeof t=="string"&&(r.setNumber(t),i.value=t)))}function isValidE164Phone(n){var t=document.querySelector(`#${n}`),i=window.intlTelInputGlobals.getInstance(t);return i.isValidNumber()}function reset(n,t){var r=document.querySelector(`#${n}`),i=document.querySelector(`#${t}`);r.classList.remove("invalid-e164");i.innerHTML="";i.classList.add("hide");i.classList.remove("invalid-msg")}const errorMap=["Invalid number","Invalid country code","Too short","Too long","Invalid number"],defaultError="Invalid number";
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.