UNPKG

tldts

Version:

Library to work against complex domain names, subdomains and URIs.

1 lines • 124 kB
const a=/[\t\n\r]/g;function e(a,e,o){const i=o-e,n=32|a.charCodeAt(e);if(2===i)return 119===n&&115==(32|a.charCodeAt(e+1))?1:0;if(3===i){const o=32|a.charCodeAt(e+1),i=32|a.charCodeAt(e+2);return 119===n&&115===o&&115===i||102===n&&116===o&&112===i?1:0}if(4===i){const o=32|a.charCodeAt(e+1),i=32|a.charCodeAt(e+2),s=32|a.charCodeAt(e+3);return 104===n&&116===o&&116===i&&112===s?1:102===n&&105===o&&108===i&&101===s?2:0}return 5===i&&104===n&&116==(32|a.charCodeAt(e+1))&&116==(32|a.charCodeAt(e+2))&&112==(32|a.charCodeAt(e+3))&&115==(32|a.charCodeAt(e+4))?1:0}function o(i,n){let s=0,t=i.length,r=!1,u=!1;if(!n){if(i.startsWith("data:"))return null;for(;s<i.length&&i.charCodeAt(s)<=32;)s+=1;for(;t>s+1&&i.charCodeAt(t-1)<=32;)t-=1;if(47===i.charCodeAt(s)&&47===i.charCodeAt(s+1))s+=2;else{const r=i.indexOf(":/",s);if(-1!==r){const t=e(i,s,r);if(1===t)for(u=!0,s=r+2;47===i.charCodeAt(s)||92===i.charCodeAt(s);)s+=1;else if(2===t){u=!0,s=r+1;let a=0;for(;(47===i.charCodeAt(s)||92===i.charCodeAt(s))&&a<2;)s+=1,a+=1;if(a<2)return null}else{for(let e=s;e<r;e+=1){const s=32|i.charCodeAt(e);if(!(s>=97&&s<=122||s>=48&&s<=57||46===s||45===s||43===s)){const s=i.charCodeAt(e);return 9===s||10===s||13===s?o(i.replace(a,""),n):null}}if(47!==i.charCodeAt(r+2))return null;s=r+3}}else if(91!==i.charCodeAt(s)){let r=-1;for(let e=s;e<t;e+=1){const s=i.charCodeAt(e);if(9===s||10===s||13===s)return o(i.replace(a,""),n);if(58===s){r=e;break}if(47===s||92===s||63===s||35===s)break}if(-1!==r){let a=!1;for(let e=r+1;e<t;e+=1){const o=i.charCodeAt(e);if(47===o||92===o||63===o||35===o)break;if(64===o){a=!0;break}}if(!a){let a=!0,o=r+1;for(;o<t;o+=1){const e=i.charCodeAt(o);if(47===e||92===e||63===e||35===e)break;if(e<48||e>57){a=!1;break}}if(o===r+1&&(a=!1),!a){const a=e(i,s,r);if(0===a)return null;if(u=!0,s=r+1,2===a){let a=0;for(;(47===i.charCodeAt(s)||92===i.charCodeAt(s))&&a<2;)s+=1,a+=1;if(a<2)return null}else for(;47===i.charCodeAt(s)||92===i.charCodeAt(s);)s+=1}}}}}let l=-1,m=-1,c=-1,d=!1;for(let a=s;a<t;a+=1){const e=i.charCodeAt(a);if(e<64){if(47===e||35===e||63===e){t=a;break}58===e?c=a:9!==e&&10!==e&&13!==e||(d=!0)}else{if(u&&92===e){t=a;break}64===e?l=a:93===e?m=a:e>=65&&e<=90&&(r=!0)}}if(d)return o(i.replace(a,""),n);if(-1!==l&&l>=s&&l<t&&(s=l+1),91===i.charCodeAt(s))return-1!==m?i.slice(s+1,m).toLowerCase():null;if(-1!==c&&c>s&&c<t&&(t=c),s>=t)return null}for(;t>s+1&&46===i.charCodeAt(t-1);)t-=1;const l=0!==s||t!==i.length?i.slice(s,t):i;return r?l.toLowerCase():l}function i(a){return a>=97&&a<=122||a>=48&&a<=57||a>127}function n(a){if(a.length>255)return!1;if(0===a.length)return!1;if(!i(a.charCodeAt(0))&&46!==a.charCodeAt(0)&&95!==a.charCodeAt(0))return!1;let e=-1,o=-1;const n=a.length;for(let s=0;s<n;s+=1){const n=a.charCodeAt(s);if(46===n){if(s-e>64||46===o||45===o)return!1;e=s}else if(!i(n)&&45!==n&&95!==n)return!1;o=n}return n-e-1<=63&&45!==o}const s=function({allowIcannDomains:a=!0,allowPrivateDomains:e=!1,detectIp:o=!0,extractHostname:i=!0,mixedInputs:n=!0,validHosts:s=null,validateHostname:t=!0}){return{allowIcannDomains:a,allowPrivateDomains:e,detectIp:o,extractHostname:i,mixedInputs:n,validHosts:s,validateHostname:t}}({});function t(a,e,i,t,r){const u=function(a){return void 0===a?s:function({allowIcannDomains:a=!0,allowPrivateDomains:e=!1,detectIp:o=!0,extractHostname:i=!0,mixedInputs:n=!0,validHosts:s=null,validateHostname:t=!0}){return{allowIcannDomains:a,allowPrivateDomains:e,detectIp:o,extractHostname:i,mixedInputs:n,validHosts:s,validateHostname:t}}(a)}(t);if("string"!=typeof a)return r;let l=!1;return u.extractHostname?u.mixedInputs?(l=n(a),r.hostname=o(a,l)):r.hostname=o(a,!1):r.hostname=a,u.detectIp&&null!==r.hostname&&(r.isIp=function(a){if(a.length<3)return!1;let e=a.startsWith("[")?1:0,o=a.length;if("]"===a[o-1]&&(o-=1),o-e>39)return!1;let i=!1;for(;e<o;e+=1){const o=a.charCodeAt(e);if(58===o)i=!0;else if(!(o>=48&&o<=57||o>=97&&o<=102||o>=65&&o<=70))return!1}return i}(m=r.hostname)||function(a){if(a.length<7)return!1;if(a.length>15)return!1;let e=0;for(let o=0;o<a.length;o+=1){const i=a.charCodeAt(o);if(46===i)e+=1;else if(i<48||i>57)return!1}return 3===e&&46!==a.charCodeAt(0)&&46!==a.charCodeAt(a.length-1)}(m),r.isIp)?r:!u.validateHostname||!u.extractHostname||null===r.hostname||l&&r.hostname===a||n(r.hostname)?0===e||null===r.hostname?r:(i(r.hostname,u,r),2===e||null===r.publicSuffix?r:(r.domain=function(a,e,o){if(null!==o.validHosts){const a=o.validHosts;for(const o of a)if(function(a,e){return!!a.endsWith(e)&&(a.length===e.length||"."===a[a.length-e.length-1])}(e,o))return o}let i=0;if(e.startsWith("."))for(;i<e.length&&"."===e[i];)i+=1;return a.length===e.length-i?null:function(a,e){const o=a.length-e.length-2,i=a.lastIndexOf(".",o);return-1===i?a:a.slice(i+1)}(e,a)}(r.publicSuffix,r.hostname,u),3===e||null===r.domain?r:(r.subdomain=function(a,e){return e.length===a.length?"":a.slice(0,-e.length-1)}(r.hostname,r.domain),4===e||(r.domainWithoutSuffix=(c=r.domain,d=r.publicSuffix,c.slice(0,-d.length-1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1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,2,2,1,2,1,1,1,2,1,1,1,1,1,0,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,2,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0]),u=new Uint16Array([0,0,0,9,10,17,105,110,116,123,129,135,144,145,146,147,148,149,150,152,153,154,156,158,225,238,240,241,242,257,264,265,268,269,270,273,275,295,296,298,307,312,313,331,332,335,337,338,340,374,375,377,380,381,385,387,391,394,426,429,442,443,451,453,463,477,478,479,488,525,530,546,566,572,613,614,641,668,669,817,823,826,827,828,833,838,847,869,870,871,872,873,874,875,893,895,896,899,901,902,904,906,921,936,941,942,944,945,946,947,948,950,953,958,959,960,962,963,966,969,970,971,984,986,998,1009,1017,1019,1058,1061,1065,1066,1068,1071,1082,1084,1094,1096,1102,1104,1105,1107,1110,1111,1112,1163,1165,1167,1187,1188,1189,1190,1192,1203,1234,1245,1257,1266,1273,1278,1291,1302,1315,1316,1327,1361,1362,1363,1378,1393,1465,1466,1468,1469,1503,1504,1505,1508,1512,1514,1543,1544,1552,1553,1554,1556,1558,1559,1561,1562,1563,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1590,1591,1592,1594,2050,2053,2054,2056,2063,2070,2078,2082,2093,2094,2095,2107,2108,2110,2112,2113,2120,2121,2123,2124,2126,2127,2128,2129,2130,2198,2200,2221,2222,2223,2225,2251,2252,2303,2304,2306,2313,2319,2329,2339,2392,2393,2394,2404,2418,2419,2422,2429,2430,2438,2439,2440,2441,2442,2452,2453,2454,2456,2457,2458,2460,2470,2482,2488,2520,2524,2526,2527,2529,2530,2537,2538,2540,2548,2555,2561,2566,2567,2573,2576,2582,2589,2590,2597,2605,2606,2607,2645,2651,2666,2667,2672,2690,2721,2738,2740,2743,2751,2753,2760,2808,2832,2833,2834,2835,2836,2837,2838,2839,2846,2847,2848,2849,2850,2851,2853,2854,2858,2942,2955,2956,3391,3395,3409,3461,3489,3511,3569,3591,3606,3669,3720,3758,3794,3819,3961,4007,4058,4077,4111,4126,4146,4176,4207,4230,4261,4291,4323,4350,4425,4447,4485,4495,4529,4548,4574,4616,4666,4692,4761,4762,4764,4787,4810,4846,4877,4894,4951,4964,4988,5017,5019,5053,5069,5097,5402,5411,5420,5427,5444,5448,5454,5493,5495,5502,5509,5518,5525,5526,5536,5539,5554,5555,5564,5565,5574,5583,5589,5591,5592,5593,5628,5629,5631,5639,5646,5659,5663,5665,5666,5672,5679,5693,5703,5708,5716,5724,5730,5731,5735,5737,5738,5750,5751,5752,5753,5755,5756,5759,5761,5764,5768,5769,5775,5776,5777,5779,5781,5783,5784,5785,5788,5790,5793,5794,5796,5993,6e3,6001,6011,6016,6033,6047,6056,6057,6058,6062,6063,6065,6067,6073,6074,6077,6078,6080,6081,6082,6973,6977,6995,7004,7007,7012,7013,7015,7016,7017,7019,7071,7072,7075,7076,7194,7195,7206,7217,7224,7227,7236,7237,7238,7253,7308,7499,7501,7502,7504,7509,7522,7537,7544,7553,7556,7559,7566,7574,7578,7579,7580,7594,7598,7607,7608,7609,7613,7648,7649,7666,7673,7681,7682,7686,7694,7738,7739,7745,7748,7759,7764,7765,7768,7799,7800,7806,7813,7814,7822,7831,7846,7850,7902,7903,7908,7910,7913,7915,7916,7917,7926,7941,7949,7963,7975,7976,7978,7980,8002,8013,8019,8020,8032,8044,8131,8143,8145,8154,8157,8163,8188,8191,8192,8193,8195,8198,8201,8212,8214,8216,8244,8318,8325,8329,8330,8339,8361,8362,8367,8368,8447,8449,8450,8459,8463,8469,8475,8481,8491,8496,8497,8515,8526,8531,8536,8546,8552,8556,8562,8568,10176,10177,10178,10185,10187]),l=new Uint8Array([3,3,3,3,3,3,3,5,8,8,2,2,3,3,3,3,3,8,5,5,5,5,5,3,3,5,5,9,12,19,8,19,8,11,9,9,8,7,7,6,8,9,16,10,7,7,11,8,6,6,9,7,11,7,14,4,4,4,4,4,4,10,7,6,6,6,6,10,10,6,10,10,22,11,9,10,10,10,9,10,8,7,7,7,8,21,13,11,11,9,10,9,13,10,8,8,9,12,9,7,10,7,7,13,7,3,3,3,3,3,2,3,3,3,3,3,3,3,3,3,3,8,6,3,3,3,3,3,3,2,5,3,3,3,7,2,2,2,2,2,2,3,3,3,1,1,7,8,5,2,2,7,2,2,1,4,1,11,9,9,5,5,8,5,5,5,5,5,5,5,3,3,3,3,3,11,9,9,13,7,14,7,6,6,6,7,6,6,6,6,6,10,7,11,9,4,4,4,4,4,4,6,6,6,6,6,8,7,10,9,9,9,8,9,8,10,10,6,9,9,8,10,10,7,8,1,9,10,12,12,12,10,9,9,10,10,9,9,1,1,5,3,3,3,3,3,3,3,3,3,3,3,3,6,6,6,4,3,3,3,7,4,4,4,3,3,6,7,3,4,1,2,2,2,6,1,2,2,2,2,2,12,5,3,3,8,9,13,4,4,4,13,9,9,11,3,12,9,2,2,2,3,3,3,3,3,8,2,2,3,3,3,3,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,4,4,3,7,10,15,7,15,15,20,15,9,10,10,12,14,14,14,12,12,12,12,12,14,14,10,10,10,10,14,9,9,9,10,14,14,14,13,13,9,9,9,9,9,9,7,8,6,8,8,6,8,13,8,8,6,13,8,11,13,8,6,13,8,6,9,10,10,12,14,14,14,12,12,12,12,14,14,10,10,10,10,9,9,9,10,14,14,11,13,13,9,9,9,9,9,9,2,6,9,2,2,3,3,3,3,3,3,3,3,3,4,4,4,2,3,3,3,3,3,3,7,2,3,2,2,5,3,3,3,3,3,3,4,2,2,2,2,2,2,3,3,3,3,3,3,3,4,5,7,2,2,12,8,10,8,10,7,18,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,5,2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,11,12,7,9,10,4,4,7,8,11,6,7,9,8,7,10,8,9,15,8,5,4,7,2,3,3,3,2,14,10,2,14,10,2,14,3,9,13,13,10,14,16,17,11,2,14,2,14,3,9,13,10,14,16,17,11,14,10,14,2,7,3,10,7,14,10,2,14,10,9,9,17,6,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,10,10,10,12,9,10,11,8,8,8,7,9,5,3,3,3,3,3,3,3,3,5,8,4,4,4,4,4,4,6,16,3,3,14,3,14,2,14,9,13,10,10,14,16,17,11,6,9,10,10,12,14,14,14,12,12,12,12,14,14,10,10,10,10,14,9,9,9,10,14,14,14,9,9,9,9,9,9,2,14,9,13,10,10,14,16,17,11,6,2,14,9,17,13,10,10,14,16,17,11,6,2,14,9,13,10,14,16,17,11,2,14,9,13,10,16,11,2,14,10,19,7,2,14,9,13,10,19,10,7,14,16,17,11,6,2,14,9,13,10,19,7,14,16,17,11,2,14,9,13,17,13,10,10,14,16,17,11,6,3,2,14,9,13,10,10,14,16,17,11,6,9,10,12,14,14,14,12,12,12,12,12,14,14,14,10,10,10,14,9,9,9,9,14,14,14,13,13,14,9,9,9,9,9,9,4,11,2,14,9,13,17,13,10,19,10,7,14,16,17,11,6,2,14,9,13,17,13,10,19,10,7,14,16,17,11,6,2,9,10,10,7,17,3,3,12,12,16,15,15,12,14,14,14,20,20,13,12,12,12,12,12,12,20,25,14,14,12,12,10,10,10,10,9,9,9,25,4,9,17,10,7,14,16,21,13,13,14,20,14,13,17,24,9,12,13,25,13,21,20,17,9,9,9,9,9,9,12,17,4,4,9,9,9,10,10,12,14,14,14,12,12,12,12,12,14,14,10,10,10,10,14,9,9,9,10,14,14,14,13,13,9,9,9,9,9,9,1,8,7,11,11,1,3,3,3,4,8,9,10,14,14,12,12,12,12,14,14,10,10,10,10,14,9,9,9,10,14,14,14,13,13,9,9,9,9,9,7,4,4,4,4,4,4,4,4,4,4,9,12,6,14,4,12,7,2,2,1,2,7,6,4,4,4,6,8,8,7,4,5,6,3,3,3,3,4,16,8,3,5,4,3,3,3,5,2,2,8,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,11,12,7,7,13,9,10,12,8,9,7,8,5,12,10,13,14,5,5,5,13,5,5,5,3,3,3,5,16,5,5,5,5,5,7,12,14,8,12,8,10,12,9,11,7,9,7,10,7,13,9,7,12,8,17,7,7,16,10,13,13,8,10,10,14,17,7,16,16,15,8,10,10,12,17,7,17,14,7,10,17,8,7,7,7,8,15,15,7,14,10,10,10,11,11,7,7,13,8,10,7,16,7,8,7,14,17,12,10,11,21,8,9,7,13,9,8,13,6,12,7,6,13,10,10,10,8,18,9,17,13,10,12,6,13,6,11,8,13,10,13,18,13,11,13,8,16,7,10,8,16,12,10,8,8,6,14,11,8,15,8,8,7,7,12,7,8,9,14,15,8,9,10,9,15,7,8,8,12,13,9,10,15,15,13,7,10,10,20,7,6,9,6,6,14,11,14,11,12,9,10,16,16,12,7,11,28,8,11,10,7,21,8,7,9,4,4,4,17,7,8,6,9,6,6,13,6,6,6,6,18,20,14,8,11,12,9,10,13,15,19,8,9,12,7,10,16,12,9,9,9,14,12,11,9,12,11,18,9,9,9,10,7,7,16,8,9,7,13,12,10,18,7,8,11,7,7,8,8,13,7,7,7,11,15,13,11,7,8,15,11,7,8,18,14,13,18,15,10,12,12,9,7,11,11,8,7,10,8,14,12,10,18,7,10,9,7,8,13,10,14,9,10,8,8,23,7,7,11,12,12,17,7,7,11,11,17,16,16,7,8,11,14,14,8,10,7,7,16,16,13,9,11,9,15,15,11,11,7,7,14,7,9,7,7,16,10,13,10,11,14,7,11,10,11,7,11,10,11,15,11,15,10,12,17,10,14,13,11,11,12,13,10,7,13,10,16,12,21,14,9,10,10,7,11,14,17,7,7,8,11,12,8,15,14,14,8,17,12,10,10,7,9,11,7,10,7,11,18,7,11,7,12,11,8,8,14,12,7,8,15,3,7,7,5,2,9,2,2,2,2,2,2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,5,5,5,5,7,5,5,5,5,5,5,5,5,5,5,5,9,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,5,7,16,11,11,7,7,7,7,17,7,8,12,15,9,19,7,19,8,16,21,11,12,19,14,22,7,7,7,7,7,7,7,7,7,7,7,16,16,19,24,12,7,14,7,12,7,8,10,10,13,7,12,12,7,7,10,18,15,12,16,7,14,12,17,10,16,17,12,17,25,7,7,7,13,6,9,6,9,18,6,6,11,20,10,6,6,6,6,6,6,6,17,6,6,6,15,6,6,6,6,6,8,14,11,12,15,13,19,17,21,7,18,8,13,13,8,12,8,6,6,13,6,15,15,16,6,6,16,6,6,6,14,6,18,6,6,6,17,18,9,13,15,8,19,8,15,15,18,14,16,4,4,4,4,4,4,4,4,4,4,4,4,6,11,10,11,6,21,23,12,17,12,11,14,13,22,15,15,11,12,14,12,7,12,8,14,12,18,10,8,16,19,17,12,14,15,8,9,19,17,12,13,13,15,18,13,23,24,23,21,17,24,8,21,8,14,14,16,14,8,8,15,20,8,19,21,9,8,13,12,13,15,11,8,11,9,9,8,11,8,21,14,21,15,15,13,7,19,7,7,7,7,7,16,12,17,18,7,7,11,11,7,9,9,2,2,3,3,2,2,2,3,3,3,3,3,3,3,3,3,3,4,5,5,5,5,5,5,5,5,3,3,10,10,7,9,7,7,7,6,8,6,6,6,6,6,6,6,7,6,8,6,6,9,7,7,7,4,4,4,4,4,4,4,4,8,9,8,7,8,7,8,10,7,5,5,5,5,5,5,3,9,7,7,8,6,6,6,6,6,6,6,6,9,6,6,9,11,13,7,8,9,9,5,5,5,7,8,6,6,6,6,6,6,6,7,8,9,7,10,9,10,7,8,5,5,5,5,5,5,7,7,9,8,7,7,6,6,6,6,6,6,10,6,6,6,6,6,6,6,6,6,6,6,9,10,4,4,4,4,8,7,7,10,10,9,8,8,15,9,8,8,8,8,8,9,10,9,10,7,8,13,5,5,5,5,5,3,3,7,7,8,6,6,6,4,4,11,9,7,8,9,10,7,5,5,5,5,5,3,3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,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,9,9,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,14,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,15,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,5,5,5,5,5,5,5,12,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,9,9,12,9,9,12,12,12,15,7,11,7,11,18,13,8,18,15,18,12,14,12,8,8,8,8,9,9,9,12,7,10,10,8,8,12,12,12,7,12,12,9,7,7,7,7,7,8,15,12,9,10,10,7,10,10,13,11,10,9,22,11,9,8,8,8,8,8,13,18,13,9,15,19,9,7,7,10,7,7,7,11,8,13,17,7,7,10,10,10,7,20,16,7,7,7,7,11,21,12,12,13,11,14,16,8,8,13,11,9,7,7,13,7,7,14,15,15,6,6,6,6,6,6,6,6,6,6,13,10,18,6,6,6,6,6,6,6,6,6,11,8,8,12,12,11,11,8,12,9,9,9,13,13,9,9,9,9,9,9,10,12,6,6,6,6,17,11,7,7,7,7,14,14,12,6,7,7,6,6,15,10,13,10,6,8,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,13,9,9,15,13,6,12,12,6,19,11,10,7,7,16,8,19,17,9,9,9,9,9,6,6,6,10,8,16,8,6,6,9,6,6,6,6,6,6,6,6,8,8,8,6,7,6,6,6,6,6,6,6,6,6,6,6,14,6,6,6,6,20,6,9,6,9,9,9,6,9,8,8,12,9,8,8,8,7,8,12,7,8,8,8,6,8,6,6,6,6,6,6,6,9,8,8,6,6,13,9,12,13,12,14,13,12,11,11,6,8,8,8,6,13,12,11,11,12,6,11,12,11,13,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,15,6,6,6,6,6,6,6,13,6,6,6,6,6,6,6,6,6,6,6,6,6,8,8,8,8,6,18,6,12,13,13,13,9,10,15,9,12,6,6,6,6,6,6,6,6,9,15,10,9,10,13,9,19,8,18,17,10,10,8,8,6,6,6,6,6,6,10,14,8,16,16,9,8,15,8,8,10,12,14,7,7,8,8,7,7,7,7,8,13,13,11,9,9,9,12,10,17,8,11,9,7,7,14,8,14,14,7,7,7,7,7,7,14,7,7,7,7,7,10,10,8,14,7,7,7,7,8,8,8,8,8,17,9,15,7,8,12,7,9,14,7,7,7,9,13,8,14,7,16,18,13,15,14,12,13,10,15,9,7,7,7,10,13,15,15,9,9,9,9,19,11,11,11,13,8,8,8,8,7,12,19,17,9,9,13,7,7,7,9,7,7,7,12,13,15,10,8,8,14,15,12,13,13,8,12,14,7,11,7,14,15,13,12,8,8,8,8,11,13,15,15,8,13,12,8,8,8,13,10,16,14,11,8,8,12,12,9,15,15,12,12,13,8,8,9,12,13,9,8,8,8,8,8,8,8,8,8,8,8,11,12,11,14,7,13,13,13,12,18,16,7,12,11,10,10,15,9,9,9,21,7,7,7,11,16,8,8,11,11,7,7,7,7,7,19,7,7,7,7,7,7,7,7,7,12,8,9,12,14,11,9,9,9,22,12,8,8,15,4,2,2,5,5,3,3,3,3,3,3,6,6,4,4,4,12,7,10,2,3,3,3,3,3,3,3,6,7,3,7,5,14,4,8,10,4,1,3,3,6,2,4,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,4,2,2,5,3,4,2,2,2,2,2,2,11,5,5,5,11,5,5,3,5,5,5,5,11,14,13,9,11,9,12,8,11,11,8,11,16,9,9,7,10,9,12,8,15,6,7,6,6,13,10,8,11,8,6,6,6,12,16,6,11,7,8,9,18,6,6,9,4,4,6,13,6,6,6,6,8,8,9,16,8,7,7,14,7,8,8,8,7,7,7,7,7,7,15,13,7,10,7,7,10,12,16,15,7,9,9,14,11,11,10,9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,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,4,4,11,7,4,4,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,19,17,6,10,11,6,6,6,6,18,6,6,11,4,4,4,5,6,6,6,9,5,6,4,6,6,4,6,6,6,6,10,6,6,4,6,6,10,6,10,6,6,6,6,11,6,6,10,6,6,8,6,6,6,8,6,11,4,11,9,10,9,11,4,8,4,11,12,7,9,8,6,7,7,8,12,12,11,13,10,11,7,7,7,9,7,11,10,7,7,7,16,11,10,11,17,9,9,8,8,7,7,7,9,7,7,7,14,7,13,9,11,10,14,10,10,12,11,10,7,10,5,14,8,8,8,9,7,8,7,7,9,8,7,8,7,7,7,7,7,7,7,11,8,10,8,7,8,14,11,8,9,9,9,8,24,10,10,12,7,7,15,11,8,8,12,11,8,9,9,7,8,9,10,11,10,11,7,12,7,7,11,9,8,14,13,12,8,11,10,8,8,7,7,14,9,10,8,9,11,7,14,8,8,13,8,8,12,7,10,14,14,11,9,10,9,9,7,7,11,11,13,9,13,5,5,5,7,9,5,11,12,14,8,7,7,11,10,9,7,8,8,7,10,11,11,5,5,7,5,5,5,7,7,15,7,7,8,7,15,12,12,10,7,8,7,11,7,7,7,23,11,8,8,11,10,7,8,11,7,19,7,7,6,9,9,9,11,3,4,7,8,6,6,4,10,8,2,2]),m=new Uint16Array([0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,12,1,1,1,1,1,17,1,1,1,12,1,12,1,12,13,1,1,1,1,12,1,12,1,1,1,1,1,14,21,1,1,1,1,1,1,19,12,1,1,1,1,1,1,1,20,1,1,1,16,1,18,1,1,15,1,1,1,1,12,1,1,1,1,1,1,22,1,1,1,12,1,1,1,1,1,1,1,1,1,1,12,12,12,12,12,12,12,12,12,12,12,12,1,24,25,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,12,12,12,12,1,32,0,0,0,1,1,1,1,1,35,34,1,1,1,1,1,1,33,1,1,1,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,38,0,0,0,0,39,40,0,0,0,41,0,12,1,1,12,1,1,1,1,44,45,45,45,44,45,44,44,46,45,44,45,44,44,44,44,44,44,46,44,44,44,44,44,44,45,47,47,45,44,44,44,44,44,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,50,52,50,50,50,52,50,51,50,53,50,51,51,50,50,50,51,53,51,53,50,51,51,12,55,55,54,56,51,53,50,50,48,49,57,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,60,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,66,1,12,1,1,65,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,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1,12,134,1,1,1,1,1,1,1,1,135,136,12,12,133,131,45,45,138,50,50,137,140,139,1,1,0,0,0,0,0,0,0,0,0,0,0,0,143,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,141,0,0,0,0,1,0,142,130,0,1,12,12,1,1,1,1,1,0,0,0,0,0,0,0,1,146,145,20,1,1,12,12,1,20,12,12,1,1,1,1,1,132,1,1,150,1,1,1,1,151,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1,1,134,1,1,150,1,1,1,1,151,1,1,132,1,1,1,150,1,1,1,1,151,1,1,132,1,1,1,1,1,1,1,1,132,1,1,1,1,1,1,1,1,1,1,1,158,1,1,1,150,1,1,1,1,1,151,1,1,158,1,1,1,1,1,1,1,1,1,1,132,1,1,1,1,150,1,1,1,1,151,1,1,1,132,1,1,150,1,1,1,1,162,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1,165,1,1,158,1,1,1,1,1,150,1,1,1,1,1,151,1,1,158,1,1,1,1,1,150,1,1,1,1,1,151,1,152,156,156,12,1,12,164,1,1,1,1,1,156,156,156,152,1,1,1,155,156,159,163,1,1,1,1,155,155,1,1,154,152,152,155,168,154,168,1,1,166,1,154,153,155,1,1,1,1,155,1,157,1,1,1,12,1,160,1,160,1,1,1,160,159,161,167,154,152,1,1,1,1,1,1,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,171,170,171,170,170,170,170,172,172,170,171,170,171,170,170,12,12,12,12,12,1,12,12,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,191,1,1,1,1,12,197,198,199,1,1,1,1,1,1,1,1,1,1,1,1,1,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1,1,1,223,1,1,1,0,224,221,222,1,1,1,1,1,1,229,1,231,1,1,1,1,1,1,1,1,1,1,227,1,1,1,1,1,233,1,1,12,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,232,1,1,12,1,1,1,1,228,1,1,226,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,230,1,1,1,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,239,13,1,1,1,12,12,236,237,1,1,1,1,238,1,1,12,1,1,1,1,1,1,1,240,1,1,12,16,1,1,1,1,1,1,1,241,1,1,1,12,12,1,1,1,1,1,241,12,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,250,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,254,254,1,0,0,0,0,0,1,12,0,0,0,0,0,0,0,0,170,259,260,1,12,1,1,1,1,12,262,1,1,261,1,264,1,1,1,1,1,1,1,1,0,1,1,1,268,269,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,12,1,0,1,0,0,0,0,1,0,1,0,1,1,1,1,1,0,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,0,0,0,0,0,0,0,1,1,12,0,280,0,0,281,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,1,12,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,427,427,1,1,0,0,314,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,439,1,438,1,1,1,1,1,1,1,1,442,1,12,12,1,1,1,1,1,12,1,1,1,1,450,1,1,1,452,1,1,1,1,1,1,1,1,1,1,449,1,444,1,1,1,432,1,1,1,1,1,1,1,1,445,12,1,1,1,1,451,1,1,1,446,441,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,314,1,430,1,1,12,448,1,1,314,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,434,1,1,1,1,1,1,1,1,1,1,1,451,1,1,1,1,314,1,447,1,1,1,436,1,1,1,1,1,437,1,453,440,1,1,1,1,1,435,1,1,1,1,1,1,1,1,1,431,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,443,1,1,1,1,1,1,1,12,1,1,1,1,1,433,1,1,1,1,1,1,1,218,454,1,1,1,1,1,12,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,1,0,0,1,0,1,0,1,1,0,0,0,459,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,12,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,463,0,463,463,463,463,463,463,463,0,463,463,463,463,463,1,463,463,463,0,463,463,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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578,583,578,578,587,578,578,578,578,578,578,578,578,578,578,584,581,578,578,581,578,578,578,578,578,578,578,578,578,578,578,578,578,579,578,578,578,578,578,585,578,578,578,578,578,578,0,0,0,1,586,1,1,1,1,580,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,12,591,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,1,12,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,12,1,1,12,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0