https://winthervin.dk/wp-content/plugins/verify-id-plugin/assets/js/allpagesVerification.js?ver=1.17
1function generateUUID() { 2 return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function (c) { 3 var r = (Math.random() * 16) | 0, 4 v = c === "x" ? r : (r & 0x3) | 0x8; 5 return v.toString(16); 6 }); 7} 8 9document.addEventListener("DOMContentLoaded", function () { 10 const urlParams = new URLSearchParams(window.location.search); 11 const token = urlParams.get("token_age_verified"); 12 13 if (token) { 14 localStorage.setItem("x_token_age_verified", token); 15 document.cookie = `x_token_age_verified=${token}; path=/; expires=Wed, 24 Oct 2025 02:02:02 GMT`; 16 17 const url = new URL(window.location.href); 18 const params = new URLSearchParams(url.search); 19 20 if (params.get("token_age_verified") === "abc") { 21 params.delete("token_age_verified"); // Remove the query parameter 22 url.search = params.toString(); // Update the URL with the new query parameters 23 window.history.replaceState({}, "", url); // Update the browser's URL without reloading 24 window.location.reload(); // Refresh the page 25 } 26 } 27}); 28 29jQuery(document).ready(function ($) { 30 let deviceID = localStorage.getItem("device_id"); 31 if (!deviceID) { 32 deviceID = generateUUID(); 33 localStorage.setItem("device_id", deviceID); 34 document.cookie = `device_id=${deviceID}; path=/; expires=Wed, 24 Oct 2025 02:02:02 GMT`; 35 } 36 37 // CSS for loader animation 38 $("<style>") 39 .prop("type", "text/css") 40 .html( 41 "@keyframes spin_loader_verfiy_id { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }" 42 ) 43 .appendTo("head"); 44 45 if ( 46 ageVerificationDataPage.verify_on_all_pages === "yes" && 47 ageVerificationDataPage.plugin_key !== "" && 48 ageVerificationDataPage.is_checkout == "" && 49 ageVerificationDataPage.plugin_enabled === "yes" 50 ) { 51 var modal = $( 52 '<div id="verify-id-modal" style="display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(255, 255, 255, 0.9); z-index: 99999;">' + 53 `<div style="font-family: 'Geist Sans';width:370px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:10px;text-align:center;padding: 0 2px !important;"> 54 <div style="border-top-width:4px !important;max-width:370px;background-color:#fff;border-radius:.5rem;padding:0;overflow:hidden;border:1px solid #000;box-shadow:0 0 15px rgba(0,0,0,.1)"> 55 <div style=border-color:#000> 56 <div style=padding:1.5rem;display:flex;flex-direction:column> 57 <div style=display:flex;justify-content:center;align-items:center> 58 <svg width=120 height=26 viewBox="0 0 3274 700" fill=none xmlns=http://www.w3.org/2000/svg data-id=6 bis_size='{"x":136,"y":29,"w":128,"h":26,"abs_x":136,"abs_y":166}'> 59 <path d="M349.929 699.963C344.216 699.963 338.503 698.249 333.647 694.964C123.262 553.421 1.71561 341.894 0.00167629 114.512C-0.141151 101.229 8.85699 89.5172 21.7115 86.0894L342.502 0.964087C347.359 -0.321362 352.5 -0.321362 357.499 0.964087L678.29 86.0894C691.145 89.5172 700 101.229 700 114.512C698.429 341.751 576.74 553.421 366.355 694.964C361.356 698.249 355.643 699.963 349.929 699.963ZM305.5 372.5C128.251 246.954 297.029 366.5 305.5 372.5C482.749 246.954 348.644 736.389 357.499 543L305.5 372.5Z" fill=#0584F6 data-id=7 bis_size='{"x":139,"y":29,"w":26,"h":25,"abs_x":139,"abs_y":166}'></path> 60 <path d="M341.896 313.104C377.271 313.104 405.948 284.427 405.948 249.052C405.948 213.677 377.271 185 341.896 185C306.521 185 277.844 213.677 277.844 249.052C277.844 284.427 306.521 313.104 341.896 313.104Z" fill=#0584F6 stroke=white stroke-width=30 data-id=8 bis_size='{"x":149,"y":35,"w":4,"h":4,"abs_x":149,"abs_y":172}'></path> 61 <path d="M405.948 441.209H255.625C240.214 441.209 228.29 427.702 230.202 412.41L235.204 372.39C237.608 353.158 253.957 338.726 273.339 338.726H277.843" fill=#0584F6 stroke=white stroke-width=30 stroke-linecap=round stroke-linejoin=round data-id=9 bis_size='{"x":147,"y":41,"w":6,"h":3,"abs_x":147,"abs_y":178}'></path> 62 <path d="M393.137 364.346L421.961 389.967L470 338.726" fill=black stroke=white stroke-width=30 stroke-linecap=round stroke-linejoin=round data-id=10 bis_size='{"x":153,"y":41,"w":2,"h":1,"abs_x":153,"abs_y":178}'></path> 63 <path d="M1097.6 550H1015.4L854 100H944L1055 420.4H1057.4L1169 100H1257.8L1097.6 550ZM1624.89 376C1624.89 382.8 1624.49 389.4 1623.69 395.8C1622.89 401.8 1621.69 408.2 1620.09 415H1342.29C1349.89 434.2 1362.09 450 1378.89 462.4C1395.69 474.4 1415.09 480.4 1437.09 480.4C1452.69 480.4 1467.09 477.4 1480.29 471.4C1493.49 465 1505.09 456.4 1515.09 445.6H1607.49C1601.49 463.2 1592.69 479.2 1581.10 493.6C1569.89 507.6 1556.89 519.6 1542.09 529.6C1527.29 539.2 1510.89 546.6 1492.89 551.8C1474.89 557.4 1456.29 560.2 1437.09 560.2C1412.69 560.2 1389.09 555.4 1366.29 545.8C1343.49 536.2 1323.29 523.2 1305.69 506.8C1288.49 490 1274.69 470.4 1264.29 448C1253.89 425.
636 1248.69 401.6 1248.69 376C1248.69 349.6 1253.69 325.2 1263.69 302.8C1273.69 280.4 1287.29 261 1304.49 244.6C1321.69 228.2 1341.69 215.4 1364.49 206.2C1387.69 197 1412.29 192.4 1438.29 192.4C1463.89 192.4 1487.89 197.2 1510.29 206.8C1533.09 216.4 1552.89 229.4 1569.69 245.8C1586.89 262.2 1600.29 281.6 1609.89 304C1619.89 326.4 1624.89 350.4 1624.89 376ZM1533.69 341.2C1526.49 320 1514.29 303.2 1497.09 290.8C1479.89 278.4 1460.29 272.2 1438.29 272.2C1416.69 272.2 1397.29 278.4 1380.09 290.8C1362.89 303.2 1350.69 320 1343.49 341.2H1533.69ZM1684.91 202.6H1760.51V250.6H1761.71C1766.11 243 1771.31 235.8 1777.31 229C1783.31 221.8 1790.11 215.6 1797.71 210.4C1805.71 204.8 1814.51 200.4 1824.11 197.2C1833.71 194 1844.51 192.4 1856.51 192.4H1863.71V281.8C1860.51 281 1857.31 280.4 1854.11 280C1850.91 279.2 1847.51 278.8 1843.91 278.8C1833.51 278.8 1823.91 280.8 1815.11 284.8C1806.31 288.4 1798.31 293.4 1791.11 299.8C1784.31 306.2 1778.71 313.8 1774.31 322.6C1770.31 331.4 1767.91 340.8 1767.11 350.8V550H1684.91V202.6ZM2002.7 202.6V550H1918.7V202.6H2002.7ZM1913.3 134.8C1913.3 121.6 1917.9 110.4 1927.1 101.2C1936.3 92 1947.5 87.4 1960.7 87.4C1973.9 87.4 1985.1 92 1994.3 101.2C2003.5 110.4 2008.1 121.6 2008.1 134.8C2008.1 148 2003.5 159.2 1994.3 168.4C1985.1 177.6 1973.9 182.2 1960.7 182.2C1947.5 182.2 1936.3 177.6 1927.1 168.4C1917.9 159.2 1913.3 148 1913.3 134.8ZM2220.35 202.6V277H2168.75V550H2087.75V277H2056.55V202.6H2087.75V196.6C2087.75 183.4 2090.35 171 2095.55 159.4C2100.75 147.4 2107.95 137 2117.15 128.2C2126.35 119.4 2137.15 112.6 2149.55 107.8C2161.95 102.6 2175.35 100 2189.75 100H2220.35V175.6H2189.75C2184.15 175.6 2179.15 177.8 2174.75 182.2C2170.75 186.2 2168.75 191 2168.75 196.6V202.6H2220.35ZM2429.05 652.6H2341.45L2384.05 542.2L2252.05 202.6H2340.25L2427.25 428.8H2428.45L2515.45 202.6H2603.05L2429.05 652.6ZM2708.19 100H2793.39V550H2708.19V100ZM3021.82 100C3054.22 100 3084.42 105.6 3112.42 116.8C3140.82 128 3165.42 143.6 3186.22 163.6C3207.02 183.6 3223.22 207.4 3234.82 235C3246.82 262.6 3252.82 292.6 3252.82 325C3252.82 357.4 3246.82 387.4 3234.82 415C3223.22 442.6 3207.02 466.4 3186.22 486.4C3165.42 506.4 3140.82 522 3112.42 533.2C3084.42 544.4 3054.22 550 3021.82 550H2865.22V100H3021.82ZM3164.62 325C3164.62 305.4 3160.82 287 3153.22 269.8C3145.62 252.2 3135.42 237 3122.62 224.2C3109.82 211.4 3094.62 201.2 3077.02 193.6C3059.82 186 3041.42 182.2 3021.82 182.2H2950.42V468.4H3021.82C3041.42 468.4 3059.82 464.6 3077.02 457C3094.62 449.4 3109.82 439.2 3122.62 426.4C3135.42 413.6 3145.62 398.6 3153.22 381.4C3160.82 363.8 3164.62 345 3164.62 325Z" fill=black data-id=11 bis_size='{"x":170,"y":32,"w":89,"h":20,"abs_x":170,"abs_y":169}'></path> 64 </svg> 65 </div> 66 <h2 style='font-size:1.5rem;font-weight:600;text-align:center;color:#1f2937; margin:14px 0 !important;font-family:"Geist Sans";'> 67 ${ageVerificationDataPage?.text_data?.verifying_popup_title}</h2> 68 <p style='font-size:.875rem;text-align:center;color:#4b5563;margin-top:0;font-family:"Geist Sans";line-height: 1.4;'> 69 ${ageVerificationDataPage?.text_data?.verifying_popup_description} 70 </p> 71 </div> 72 </div> 73 </div> 74 </div>` + 75 "</div>" 76 ); 77 $("body").append(modal); 78 79 // 2. Check if x_token_age_verified is in localStorage 80 var token = localStorage.getItem("x_token_age_verified"); 81 if (!token) { 82 modal.show(); 83 $("#content").remove(); 84 showVerifyModal(); 85 return; 86 } 87 88 // 3. If token exists, make an API request to get the user's age 89 $.ajax({ 90 url: `https://app.verifyid.dk/api/auth_check/${token}/${deviceID}`, // Replace with your actual API endpoint 91 method: "POST", 92 success: function (response) { 93 // Assume response contains { age: 20 } 94 var userAge = response.age; 95 96 if (userAge < Number(ageVerificationDataPage.minimum_age)) { 97 modal.html(`<div style="font-family: 'Geist Sans';width:370px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:10px;text-align:center;padding: 0 2px !important;"> 98 <div style="border-top-width:4px !important;max-width:370px;background-color:#fff;border-radius:.5rem;padding:0;overflow:hidden;border:1px solid #000;box-shadow:0 0 15px rgba(0,0,0,.1)"> 99 <div style=border-color:#000> 100 <div style=padding:1.5rem;display:flex;flex-direction:column> 101 <div style=display:flex;justify-content:center;align-items:center> 102 <svg width=120 height=26 viewBox="0 0 3274 700" fill=none xmlns=http://www.w3.org/2000/svg data-id=6 bis_size='{"x":136,"y":29,"w":128,"h":26,"abs_x":136,"abs_y":166}'> 103 <path d="M349.929 699.963C344.216 699.963 338.503 698.249 333.647 694.964C123.262 553.421 1.71561 341.894 0.00167629 114.512C-0.141151 101.229 8.85699 89.5172 21.7115 86.0894L342.502 0.964087C347.359 -0.321362 352.5 -0.321362 357.499 0.964087L678.29 86.0894C691.145 89.5172 700 101.229 700 114.512C698.429 341.751 576.74 553.421 366.355 694.964C361.356 698.249 355.643 699.963 349.929 699.963ZM305.5 372.5C128.251 246.954 297.
103029 366.5 305.5 372.5C482.749 246.954 348.644 736.389 357.499 543L305.5 372.5Z" fill=#0584F6 data-id=7 bis_size='{"x":139,"y":29,"w":26,"h":25,"abs_x":139,"abs_y":166}'></path> 104 <path d="M341.896 313.104C377.271 313.104 405.948 284.427 405.948 249.052C405.948 213.677 377.271 185 341.896 185C306.521 185 277.844 213.677 277.844 249.052C277.844 284.427 306.521 313.104 341.896 313.104Z" fill=#0584F6 stroke=white stroke-width=30 data-id=8 bis_size='{"x":149,"y":35,"w":4,"h":4,"abs_x":149,"abs_y":172}'></path> 105 <path d="M405.948 441.209H255.625C240.214 441.209 228.29 427.702 230.202 412.41L235.204 372.39C237.608 353.158 253.957 338.726 273.339 338.726H277.843" fill=#0584F6 stroke=white stroke-width=30 stroke-linecap=round stroke-linejoin=round data-id=9 bis_size='{"x":147,"y":41,"w":6,"h":3,"abs_x":147,"abs_y":178}'></path> 106 <path d="M393.137 364.346L421.961 389.967L470 338.726" fill=black stroke=white stroke-width=30 stroke-linecap=round stroke-linejoin=round data-id=10 bis_size='{"x":153,"y":41,"w":2,"h":1,"abs_x":153,"abs_y":178}'></path> 107 <path d="M1097.6 550H1015.4L854 100H944L1055 420.4H1057.4L1169 100H1257.8L1097.6 550ZM1624.89 376C1624.89 382.8 1624.49 389.4 1623.69 395.8C1622.89 401.8 1621.69 408.2 1620.09 415H1342.29C1349.89 434.2 1362.09 450 1378.89 462.4C1395.69 474.4 1415.09 480.4 1437.09 480.4C1452.69 480.4 1467.09 477.4 1480.29 471.4C1493.49 465 1505.09 456.4 1515.09 445.6H1607.49C1601.49 463.2 1592.69 479.2 1581.10 493.6C1569.89 507.6 1556.89 519.6 1542.09 529.6C1527.29 539.2 1510.89 546.6 1492.89 551.8C1474.89 557.4 1456.29 560.2 1437.09 560.2C1412.69 560.2 1389.09 555.4 1366.29 545.8C1343.49 536.2 1323.29 523.2 1305.69 506.8C1288.49 490 1274.69 470.4 1264.29 448C1253.89 425.6 1248.69 401.6 1248.69 376C1248.69 349.6 1253.69 325.2 1263.69 302.8C1273.69 280.4 1287.29 261 1304.49 244.6C1321.69 228.2 1341.69 215.4 1364.49 206.2C1387.69 197 1412.29 192.4 1438.29 192.4C1463.89 192.4 1487.89 197.2 1510.29 206.8C1533.09 216.4 1552.89 229.4 1569.69 245.8C1586.89 262.2 1600.29 281.6 1609.89 304C1619.89 326.4 1624.89 350.4 1624.89 376ZM1533.69 341.2C1526.49 320 1514.29 303.2 1497.09 290.8C1479.89 278.4 1460.29 272.2 1438.29 272.2C1416.69 272.2 1397.29 278.4 1380.09 290.8C1362.89 303.2 1350.69 320 1343.49 341.2H1533.69ZM1684.91 202.6H1760.51V250.6H1761.71C1766.11 243 1771.31 235.8 1777.31 229C1783.31 221.8 1790.11 215.6 1797.71 210.4C1805.71 204.8 1814.51 200.4 1824.11 197.2C1833.71 194 1844.51 192.4 1856.51 192.4H1863.71V281.8C1860.51 281 1857.31 280.4 1854.11 280C1850.91 279.2 1847.51 278.8 1843.91 278.8C1833.51 278.8 1823.91 280.8 1815.11 284.8C1806.31 288.4 1798.31 293.4 1791.11 299.8C1784.31 306.2 1778.71 313.8 1774.31 322.6C1770.31 331.4 1767.91 340.8 1767.11 350.8V550H1684.91V202.6ZM2002.7 202.6V550H1918.7V202.6H2002.7ZM1913.3 134.8C1913.3 121.6 1917.9 110.4 1927.1 101.2C1936.3 92 1947.5 87.4 1960.7 87.4C1973.9 87.4 1985.1 92 1994.3 101.2C2003.5 110.4 2008.1 121.6 2008.1 134.8C2008.1 148 2003.5 159.2 1994.3 168.4C1985.1 177.6 1973.9 182.2 1960.7 182.2C1947.5 182.2 1936.3 177.6 1927.1 168.4C1917.9 159.2 1913.3 148 1913.3 134.8ZM2220.35 202.6V277H2168.75V550H2087.75V277H2056.55V202.6H2087.75V196.6C2087.75 183.4 2090.35 171 2095.55 159.4C2100.75 147.4 2107.95 137 2117.15 128.2C2126.35 119.4 2137.15 112.6 2149.55 107.8C2161.95 102.6 2175.35 100 2189.75 100H2220.35V175.6H2189.75C2184.15 175.6 2179.15 177.8 2174.75 182.2C2170.75 186.2 2168.75 191 2168.75 196.6V202.6H2220.35ZM2429.05 652.6H2341.45L2384.05 542.2L2252.05 202.6H2340.25L2427.25 428.8H2428.45L2515.45 202.6H2603.05L2429.05 652.6ZM2708.19 100H2793.39V550H2708.19V100ZM3021.82 100C3054.22 100 3084.42 105.6 3112.42 116.8C3140.82 128 3165.42 143.6 3186.22 163.6C3207.02 183.6 3223.22 207.4 3234.82 235C3246.82 262.6 3252.82 292.6 3252.82 325C3252.82 357.4 3246.82 387.4 3234.82 415C3223.22 442.6 3207.02 466.4 3186.22 486.4C3165.42 506.4 3140.82 522 3112.42 533.2C3084.42 544.4 3054.22 550 3021.82 550H2865.22V100H3021.82ZM3164.62 325C3164.62 305.4 3160.82 287 3153.22 269.8C3145.62 252.2 3135.42 237 3122.62 224.2C3109.82 211.4 3094.62 201.2 3077.02 193.6C3059.82 186 3041.42 182.2 302
1071.82 182.2H2950.42V468.4H3021.82C3041.42 468.4 3059.82 464.6 3077.02 457C3094.62 449.4 3109.82 439.2 3122.62 426.4C3135.42 413.6 3145.62 398.6 3153.22 381.4C3160.82 363.8 3164.62 345 3164.62 325Z" fill=black data-id=11 bis_size='{"x":170,"y":32,"w":89,"h":20,"abs_x":170,"abs_y":169}'></path> 108 </svg> 109 </div> 110 <h2 style='font-size:1.5rem;font-weight:600;text-align:center;color:#1f2937; margin:14px 0 !important;font-family:"Geist Sans";'> 111 ${ageVerificationDataPage?.text_data?.rejected_popup_title}</h2> 112 <p style='font-size:.875rem;text-align:center;color:#4b5563;margin-top:0;font-family:"Geist Sans";line-height: 1.4;'> 113 ${ageVerificationDataPage?.text_data?.rejected_popup_description}</p> 114 <button id=verify-mitid style="width:100%;background-color:#0060e6;color:#fff;padding:.625rem;font-size:1rem;font-weight:500;display:flex;justify-content:center;align-items:center;border-radius:.375rem;box-shadow:0 4px 6px rgba(0,0,0,.1);transition:background-color .2s ease,box-shadow .2s ease;border:0;margin:15px 0 22px 0;font-family:'Geist Sans';height: 42px;"> 115 <span style="letter-spacing: normal !important; ">${ageVerificationDataPage?.text_data?.rejected_popup_button_2}</span> 116 <svg width=60 height=12 viewBox="0 0 1280 334" fill=none xmlns=http://www.w3.org/2000/svg> 117 <path d="M568.656 39.8691V102.82H619.016V153.181H568.656V253.902C568.656 272.787 579.147 279.082 595.934 279.082C606.426 279.082 616.918 276.984 623.213 270.689V327.345C614.82 331.541 598.033 333.64 581.246 333.64C535.082 333.64 505.705 310.558 505.705 260.197V153.181H470.033V102.82H505.705V39.8691H568.656Z" fill=white /> 118 <path d="M1089.05 4.19727C1223.34 4.19727 1280 77.6399 1280 167.869C1280 258.099 1223.34 331.542 1089.05 331.542H1034.49V4.19727H1089.05Z" fill=white /> 119 <path d="M847.738 0C803.673 0 768 35.6728 768 79.7383C768 123.804 803.673 159.475 847.738 159.475C891.804 159.475 927.475 123.804 927.475 79.7383C927.475 35.6728 891.804 0 847.738 0ZM847.738 188.852C774.296 188.852 713.442 230.82 705.049 331.541H992.525C984.132 230.82 923.279 188.852 847.738 188.852Z" fill=white /> 120 <path d="M60.8525 16.7871L157.377 165.771L251.803 16.7871H312.656V331.541H247.607V128L158.426 262.295H156.328L65.0492 128V331.541H0V16.7871H60.8525Z" fill=white /> 121 <path d="M402.885 0C381.901 0 365.115 16.7859 365.115 37.7695C365.115 58.7531 381.901 75.541 402.885 75.541C423.868 75.541 440.656 58.7531 440.656 37.7695C440.656 16.7859 423.868 0 402.885 0ZM371.41 102.82V331.541H434.361V102.82H371.41Z" fill=white /> 122 </svg> 123 </button> 124 </div> 125 </div> 126 </div> 127 </div>`); 128 129 $("#verify-mitid").on("click", function () { 130 var $button = $(this); 131 132 // Disable the button to prevent multiple clicks 133 $button.prop("disabled", true); 134 135 // Change button text to show a loader 136 $button.html( 137 '<span class="loader" style="border: 2px solid #f3f3f3; border-radius: 50%; border-top: 2px solid #007cba; width: 16px; height: 16px; animation: spin 1s linear infinite; display: inline-block;"></span>' 138 ); 139 140 // Redirect to the MITID verification page 141 window.location.href = `https://app.verifyid.dk/api/connect-s/${pluginKey}/${deviceID}/${ageVerificationDataPage.minimum_age}?domain=${currentDomain}`; 142 }); 143 144 modal.show(); 145 $("#main").remove(); 146 $("#content").remove(); 147 } 148 }, 149 error: function () { 150 modal.show(); 151 $("#main").remove(); 152 $("#content").remove(); 153 showVerifyModal(); 154 }, 155 }); 156 157 // Function to show verification modal 158 function showVerifyModal() { 159 var pluginKey = ageVerificationDataPage.plugin_key; 160 var plugin_enabled = ageVerificationDataPage.plugin_enabled; 161 var currentDomain = window.location.href; 162 163 modal.html(` <div style="font-family: 'Geist Sans';width:370px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:10px;text-align:center;padding: 0 2px !important;"> 164<div style="border-top-width:4px !important;max-width:370px;background-color:#fff;border-radius:.5rem;padding:0;overflow:hidden;border:1px solid #000;box-shadow:0 0 15px rgba(0,0,0,.1)"> 165<div style=border-color:#000> 166<div style=padding:1.5rem;display:flex;flex-direction:column> 167<div style=display:flex;justify-content:center;align-items:center> 168<svg width=120 height=26 viewBox="0 0 3274 700" fill=none xmlns=http://www.w3.org/2000/svg data-id=6 bis_size='{"x":136,"y":29,"w":128,"h":26,"abs_x":136,"abs_y":166}'> 169<path d="M349.929 699.963C344.216 699.963 338.503 698.249 333.647 694.964C123.262 553.421 1.71561 341.894 0.00167629 114.512C-0.141151 101.229 8.85699 89.5172 21.7115 86.0894L342.502 0.964087C347.359 -0.321362 352.5 -0.321362 357.499 0.964087L678.29 86.0894C691.145 89.5172 700 101.229 700 114.512C698.429 341.751 576.74 553.421 366.355 694.964C361.356 698.249 355.643 699.963 349.929 699.963ZM305.5 372.5C128.251 246.954 297.
169029 366.5 305.5 372.5C482.749 246.954 348.644 736.389 357.499 543L305.5 372.5Z" fill=#0584F6 data-id=7 bis_size='{"x":139,"y":29,"w":26,"h":25,"abs_x":139,"abs_y":166}'></path> 170<path d="M341.896 313.104C377.271 313.104 405.948 284.427 405.948 249.052C405.948 213.677 377.271 185 341.896 185C306.521 185 277.844 213.677 277.844 249.052C277.844 284.427 306.521 313.104 341.896 313.104Z" fill=#0584F6 stroke=white stroke-width=30 data-id=8 bis_size='{"x":149,"y":35,"w":4,"h":4,"abs_x":149,"abs_y":172}'></path> 171<path d="M405.948 441.209H255.625C240.214 441.209 228.29 427.702 230.202 412.41L235.204 372.39C237.608 353.158 253.957 338.726 273.339 338.726H277.843" fill=#0584F6 stroke=white stroke-width=30 stroke-linecap=round stroke-linejoin=round data-id=9 bis_size='{"x":147,"y":41,"w":6,"h":3,"abs_x":147,"abs_y":178}'></path> 172<path d="M393.137 364.346L421.961 389.967L470 338.726" fill=black stroke=white stroke-width=30 stroke-linecap=round stroke-linejoin=round data-id=10 bis_size='{"x":153,"y":41,"w":2,"h":1,"abs_x":153,"abs_y":178}'></path> 173<path d="M1097.6 550H1015.4L854 100H944L1055 420.4H1057.4L1169 100H1257.8L1097.6 550ZM1624.89 376C1624.89 382.8 1624.49 389.4 1623.69 395.8C1622.89 401.8 1621.69 408.2 1620.09 415H1342.29C1349.89 434.2 1362.09 450 1378.89 462.4C1395.69 474.4 1415.09 480.4 1437.09 480.4C1452.69 480.4 1467.09 477.4 1480.29 471.4C1493.49 465 1505.09 456.4 1515.09 445.6H1607.49C1601.49 463.2 1592.69 479.2 1581.10 493.6C1569.89 507.6 1556.89 519.6 1542.09 529.6C1527.29 539.2 1510.89 546.6 1492.89 551.8C1474.89 557.4 1456.29 560.2 1437.09 560.2C1412.69 560.2 1389.09 555.4 1366.29 545.8C1343.49 536.2 1323.29 523.2 1305.69 506.8C1288.49 490 1274.69 470.4 1264.29 448C1253.89 425.6 1248.69 401.6 1248.69 376C1248.69 349.6 1253.69 325.2 1263.69 302.8C1273.69 280.4 1287.29 261 1304.49 244.6C1321.69 228.2 1341.69 215.4 1364.49 206.2C1387.69 197 1412.29 192.4 1438.29 192.4C1463.89 192.4 1487.89 197.2 1510.29 206.8C1533.09 216.4 1552.89 229.4 1569.69 245.8C1586.89 262.2 1600.29 281.6 1609.89 304C1619.89 326.4 1624.89 350.4 1624.89 376ZM1533.69 341.2C1526.49 320 1514.29 303.2 1497.09 290.8C1479.89 278.4 1460.29 272.2 1438.29 272.2C1416.69 272.2 1397.29 278.4 1380.09 290.8C1362.89 303.2 1350.69 320 1343.49 341.2H1533.69ZM1684.91 202.6H1760.51V250.6H1761.71C1766.11 243 1771.31 235.8 1777.31 229C1783.31 221.8 1790.11 215.6 1797.71 210.4C1805.71 204.8 1814.51 200.4 1824.11 197.2C1833.71 194 1844.51 192.4 1856.51 192.4H1863.71V281.8C1860.51 281 1857.31 280.4 1854.11 280C1850.91 279.2 1847.51 278.8 1843.91 278.8C1833.51 278.8 1823.91 280.8 1815.11 284.8C1806.31 288.4 1798.31 293.4 1791.11 299.8C1784.31 306.2 1778.71 313.8 1774.31 322.6C1770.31 331.4 1767.91 340.8 1767.11 350.8V550H1684.91V202.6ZM2002.7 202.6V550H1918.7V202.6H2002.7ZM1913.3 134.8C1913.3 121.6 1917.9 110.4 1927.1 101.2C1936.3 92 1947.5 87.4 1960.7 87.4C1973.9 87.4 1985.1 92 1994.3 101.2C2003.5 110.4 2008.1 121.6 2008.1 134.8C2008.1 148 2003.5 159.2 1994.3 168.4C1985.1 177.6 1973.9 182.2 1960.7 182.2C1947.5 182.2 1936.3 177.6 1927.1 168.4C1917.9 159.2 1913.3 148 1913.3 134.8ZM2220.35 202.6V277H2168.75V550H2087.75V277H2056.55V202.6H2087.75V196.6C2087.75 183.4 2090.35 171 2095.55 159.4C2100.75 147.4 2107.95 137 2117.15 128.2C2126.35 119.4 2137.15 112.6 2149.55 107.8C2161.95 102.6 2175.35 100 2189.75 100H2220.35V175.6H2189.75C2184.15 175.6 2179.15 177.8 2174.75 182.2C2170.75 186.2 2168.75 191 2168.75 196.6V202.6H2220.35ZM2429.05 652.6H2341.45L2384.05 542.2L2252.05 202.6H2340.25L2427.25 428.8H2428.45L2515.45 202.6H2603.05L2429.05 652.6ZM2708.19 100H2793.39V550H2708.19V100ZM3021.82 100C3054.22 100 3084.42 105.6 3112.42 116.8C3140.82 128 3165.42 143.6 3186.22 163.6C3207.02 183.6 3223.22 207.4 3234.82 235C3246.82 262.6 3252.82 292.6 3252.82 325C3252.82 357.4 3246.82 387.4 3234.82 415C3223.22 442.6 3207.02 466.4 3186.22 486.4C3165.42 506.4 3140.82 522 3112.42 533.2C3084.42 544.4 3054.22 550 3021.82 550H2865.22V100H3021.82ZM3164.62 325C3164.62 305.4 3160.82 287 3153.22 269.8C3145.62 252.2 3135.42 237 3122.62 224.2C3109.82 211.4 3094.62 201.2 3077.02 193.6C3059.82 186 3041.42 182.2 302
1731.82 182.2H2950.42V468.4H3021.82C3041.42 468.4 3059.82 464.6 3077.02 457C3094.62 449.4 3109.82 439.2 3122.62 426.4C3135.42 413.6 3145.62 398.6 3153.22 381.4C3160.82 363.8 3164.62 345 3164.62 325Z" fill=black data-id=11 bis_size='{"x":170,"y":32,"w":89,"h":20,"abs_x":170,"abs_y":169}'></path> 174</svg> 175</div> 176<h2 style='font-size:1.5rem;font-weight:600;text-align:center;color:#1f2937; margin:14px 0 !important;font-family:"Geist Sans";'> 177${ageVerificationDataPage?.text_data?.verify_popup_title} 178</h2> 179<p style='font-size:.875rem;text-align:center;color:#4b5563;margin-top:0;font-family:"Geist Sans";line-height: 1.4;'> 180${ageVerificationDataPage?.text_data?.verify_popup_description} 181</p> 182<ol style='font-size:.875rem; margin: 14px 0; list-style-type:decimal;padding-left:1rem;background-color:#f9fafb;padding:1rem;border-radius:.375rem;display:flex;flex-direction:column;text-align:left;color:#4b5563;padding-left:25px!important;font-family:"Geist Sans";'> 183<li>${ageVerificationDataPage?.text_data?.verify_popup_process_1}</li> 184<li>${ageVerificationDataPage?.text_data?.verify_popup_process_2}</li> 185</ol> 186<button id=verify-mitid style="width:100%;background-color:#0060e6;color:#fff;padding:.625rem;font-size:1rem;font-weight:500;display:flex;justify-content:center;align-items:center;border-radius:.375rem;box-shadow:0 4px 6px rgba(0,0,0,.1);transition:background-color .2s ease,box-shadow .2s ease;border:0;margin:15px 0 22px 0;font-family:'Geist Sans';height: 42px;"> 187<span style="letter-spacing: normal !important; ">${ageVerificationDataPage?.text_data?.verify_popup_button}</span> 188<svg width=60 height=12 viewBox="0 0 1280 334" fill=none xmlns=http://www.w3.org/2000/svg> 189<path d="M568.656 39.8691V102.82H619.016V153.181H568.656V253.902C568.656 272.787 579.147 279.082 595.934 279.082C606.426 279.082 616.918 276.984 623.213 270.689V327.345C614.82 331.541 598.033 333.64 581.246 333.64C535.082 333.64 505.705 310.558 505.705 260.197V153.181H470.033V102.82H505.705V39.8691H568.656Z" fill=white /> 190<path d="M1089.05 4.19727C1223.34 4.19727 1280 77.6399 1280 167.869C1280 258.099 1223.34 331.542 1089.05 331.542H1034.49V4.19727H1089.05Z" fill=white /> 191<path d="M847.738 0C803.673 0 768 35.6728 768 79.7383C768 123.804 803.673 159.475 847.738 159.475C891.804 159.475 927.475 123.804 927.475 79.7383C927.475 35.6728 891.804 0 847.738 0ZM847.738 188.852C774.296 188.852 713.442 230.82 705.049 331.541H992.525C984.132 230.82 923.279 188.852 847.738 188.852Z" fill=white /> 192<path d="M60.8525 16.7871L157.377 165.771L251.803 16.7871H312.656V331.541H247.607V128L158.426 262.295H156.328L65.0492 128V331.541H0V16.7871H60.8525Z" fill=white /> 193<path d="M402.885 0C381.901 0 365.115 16.7859 365.115 37.7695C365.115 58.7531 381.901 75.541 402.885 75.541C423.868 75.541 440.656 58.7531 440.656 37.7695C440.656 16.7859 423.868 0 402.885 0ZM371.41 102.82V331.541H434.361V102.82H371.41Z" fill=white /> 194</svg> 195</button> 196<div style=font-size:.875rem;text-align:center;color:#6b7280> 197<a id=not-from-denmark href=# style="color:#4b5563;text-decoration:underline dotted;text-underline-offset:0.125rem;transition:color .2s ease;font-family: 'Geist Sans';"> 198${ageVerificationDataPage?.text_data?.verify_popup_link}</a> 199</div> 200</div> 201</div> 202</div> 203</div>`); 204 205 $("#verify-mitid").on("click", function () { 206 var $button = $(this); 207 208 // Disable the button to prevent multiple clicks 209 $button.prop("disabled", true); 210 211 // Change button text to show a loader 212 $button.html( 213 '<span class="loader" style="border: 2px solid #f3f3f3; border-radius: 50%; border-top: 2px solid #007cba; width: 16px; height: 16px; animation: spin 1s linear infinite; display: inline-block;"></span>' 214 ); 215 216 // Redirect to the MITID verification page 217 window.location.href = `https://app.verifyid.dk/api/connect-s/${pluginKey}/${deviceID}/${ageVerificationDataPage.minimum_age}?domain=${currentDomain}`; 218 }); 219 220 modal.show(); // Ensure the modal is visible 221 $("#main").remove(); 222 $("#content").remove(); 223 } 224 } 225});
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.