File: //var/www/tana/frontend/node_modules/locutus/php/json/json_last_error.js.map
{"version":3,"sources":["../../../src/php/json/json_last_error.js"],"names":["module","exports","json_last_error","$global","window","global","$locutus","php","last_error_json"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,eAAT,GAA4B;AAAE;AAC7C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,UAAW,OAAOC,MAAP,KAAkB,WAAlB,GAAgCA,MAAhC,GAAyCC,MAAxD;AACAF,UAAQG,QAAR,GAAmBH,QAAQG,QAAR,IAAoB,EAAvC;AACA,MAAIA,WAAWH,QAAQG,QAAvB;AACAA,WAASC,GAAT,GAAeD,SAASC,GAAT,IAAgB,EAA/B;;AAEA,SAAOD,SAASC,GAAT,IAAgBD,SAASC,GAAT,CAAaC,eAA7B,GAA+CF,SAASC,GAAT,CAAaC,eAA5D,GAA8E,CAArF;AACD,CAtBD","file":"json_last_error.js","sourcesContent":["module.exports = function json_last_error () { // eslint-disable-line camelcase\n // discuss at: http://phpjs.org/functions/json_last_error/\n // original by: Brett Zamir (http://brett-zamir.me)\n // example 1: json_last_error()\n // returns 1: 0\n\n // JSON_ERROR_NONE = 0\n // max depth limit to be removed per PHP comments in json.c (not possible in JS?):\n // JSON_ERROR_DEPTH = 1\n // internal use? also not documented:\n // JSON_ERROR_STATE_MISMATCH = 2\n // [\\u0000-\\u0008\\u000B-\\u000C\\u000E-\\u001F] if used directly within json_decode():\n // JSON_ERROR_CTRL_CHAR = 3\n // but JSON functions auto-escape these, so error not possible in JavaScript\n // JSON_ERROR_SYNTAX = 4\n\n var $global = (typeof window !== 'undefined' ? window : global)\n $global.$locutus = $global.$locutus || {}\n var $locutus = $global.$locutus\n $locutus.php = $locutus.php || {}\n\n return $locutus.php && $locutus.php.last_error_json ? $locutus.php.last_error_json : 0\n}\n"]}