Server IP : 150.95.80.236 / Your IP : 18.190.156.13 Web Server : Apache System : Linux host-150-95-80-236 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : social-telecare ( 10000) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/pcu.in.th/uat.pcu.in.th/assets/plugins/formvalidation/dist/amd/validators/ |
Upload File : |
define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function ein() { var CAMPUS = { ANDOVER: ['10', '12'], ATLANTA: ['60', '67'], AUSTIN: ['50', '53'], BROOKHAVEN: [ '01', '02', '03', '04', '05', '06', '11', '13', '14', '16', '21', '22', '23', '25', '34', '51', '52', '54', '55', '56', '57', '58', '59', '65', ], CINCINNATI: ['30', '32', '35', '36', '37', '38', '61'], FRESNO: ['15', '24'], INTERNET: ['20', '26', '27', '45', '46', '47'], KANSAS_CITY: ['40', '44'], MEMPHIS: ['94', '95'], OGDEN: ['80', '90'], PHILADELPHIA: [ '33', '39', '41', '42', '43', '48', '62', '63', '64', '66', '68', '71', '72', '73', '74', '75', '76', '77', '81', '82', '83', '84', '85', '86', '87', '88', '91', '92', '93', '98', '99', ], SMALL_BUSINESS_ADMINISTRATION: ['31'], }; return { validate: function (input) { if (input.value === '') { return { meta: null, valid: true, }; } if (!/^[0-9]{2}-?[0-9]{7}$/.test(input.value)) { return { meta: null, valid: false, }; } var campus = "" + input.value.substr(0, 2); for (var key in CAMPUS) { if (CAMPUS[key].indexOf(campus) !== -1) { return { meta: { campus: key, }, valid: true, }; } } return { meta: null, valid: false, }; }, }; } exports.default = ein; });