PageSourceSearch

https://www.prysm.com/validation.js

js prysm.com collected 2026-10-02 11:18:21 UTC 1,359 bytes, 48 lines download raw bytes

1// -------------------- EMAIL VALIDATION --------------------
2function validateEmail(email) {
3    const re = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$/;
4    return re.test(String(email).toLowerCase());
5}
6
7// -------------------- SHOW ERROR MESSAGE --------------------
8function showError(msg) {
9    $("#msg").html(`
10        <div style="
11            padding:14px 18px;
12            background:#fdecec;
13            border-left:5px solid #d93025;
14            border-radius:8px;
15            color:#a12722;
16            font-size:16px;
17            font-weight:600;
18            margin:10px 0;
19            animation: fadeIn 0.3s ease;
20        ">
21            ⚠️ ${msg}
22        </div>
23    `);
24}
25
26// -------------------- SHOW SUCCESS MESSAGE --------------------
27function showSuccess(msg) {
28    $("#msg").html(`
29        <div style="
30            display:flex;
31            align-items:center;
32            gap:10px;
33            padding:15px 20px;
34            background:#e9f8ee;
35            border-left:5px solid #28a745;
36            border-radius:8px;
37            color:#1f7a36;
38            font-size:16px;
39            font-weight:600;
40            margin:10px 0;
41            animation: fadeIn 0.4s ease;
42        ">
43            <span style="font-size:22px;">✔</span>
44            ${msg}
45        </div>
46    `);
47}
48

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.