PageSourceSearch

https://www.detectordeburla.pt/assets/phone-CUFxoG4r.js

js detectordeburla.pt collected 2026-10-06 07:19:43 UTC 1,336 bytes, 1 lines download raw bytes

1function h(t){if(!t)return null;let n=t.trim();if(!n)return null;/^https?:\/\//i.test(n)||(n="http://"+n);try{const e=new URL(n);if(!/^https?:$/.test(e.protocol))return null;const r=e.hostname.toLowerCase();if(!r||r.length>253)return null;let l=e.pathname||"/";l.length>1&&l.endsWith("/")&&(l=l.slice(0,-1));const s=e.search||"";return`${e.protocol}//${r}${l}${s}`}catch{return null}}function f(t){try{const n=new URL(t);return`${n.protocol}//${n.hostname}/…`}catch{return t}}const i=["SMS","WhatsApp","Telegram","Messenger","Ligação telefónica"];function p(t){return t?i.includes(t):!1}function u(t){if(!t)return null;let n=t.trim();if(!n)return null;n.startsWith("00")&&(n="+"+n.slice(2));const e=n.startsWith("+"),r=n.replace(/\D/g,"");return r.length<6||r.length>15?null:e||r.startsWith("351")&&r.length===12?"+"+r:r.length===9?"+351"+r:null}function m(t){return u(t)!==null}function g(t){if(!t)return"";const n=t.startsWith("+")?"+":"",e=t.replace(/\D/g,"");return e.length<=4?n+e:`${n}${e.slice(0,3)} ••• ••• ${e.slice(-2)}`}const o=/^[^\s@<>,;]+@[^\s@<>,;]+\.[^\s@<>,;]{2,}$/;function c(t){if(!t)return null;const n=t.trim().toLowerCase();return!n||n.length>254||!o.test(n)?null:n}function $(t){return c(t)!==null}function E(t){return t==="Email"}export{g as a,m as b,p as c,E as d,c as e,$ as i,f as m,h as n};

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.