You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

0 lines
8.1 KiB

4 years ago
  1. {"version":3,"sources":["stackframe.js"],"names":["root","factory","define","amd","exports","module","StackFrame","this","_capitalize","str","charAt","toUpperCase","substring","_getter","p","booleanProps","numericProps","stringProps","props","concat","obj","Object","i","length","hasOwnProperty","undefined","prototype","getArgs","args","setArgs","v","toString","call","TypeError","getEvalOrigin","evalOrigin","setEvalOrigin","fileName","getFileName","lineNumber","getLineNumber","columnNumber","getColumnNumber","functionName","getFunctionName","getIsEval","fromString","argsStartIndex","indexOf","argsEndIndex","lastIndexOf","split","locationString","parts","exec","Boolean","j","n","isNaN","parseFloat","isFinite","Number","k","String"],"mappings":"CAAC,SAASA,EAAMC,GACZ,aAIsB,mBAAXC,QAAyBA,OAAOC,IACvCD,OAAO,aAAc,GAAID,GACC,iBAAZG,QACdC,OAAOD,QAAUH,IAEjBD,EAAKM,WAAaL,IAV1B,CAYEM,KAAM,WACJ,aAKA,SAASC,EAAYC,GACjB,OAAOA,EAAIC,OAAO,GAAGC,cAAgBF,EAAIG,UAAU,GAGvD,SAASC,EAAQC,GACb,OAAO,WACH,OAAOP,KAAKO,IAIpB,IAAIC,EAAe,CAAC,gBAAiB,SAAU,WAAY,cACvDC,EAAe,CAAC,eAAgB,cAChCC,EAAc,CAAC,WAAY,eAAgB,UAG3CC,EAAQH,EAAaI,OAAOH,EAAcC,EAF7B,CAAC,SAIlB,SAASX,EAAWc,GAChB,GAAIA,aAAeC,OACf,IAAK,IAAIC,EAAI,EAAGA,EAAIJ,EAAMK,OAAQD,IAC1BF,EAAII,eAAeN,EAAMI,UAAyBG,IAAlBL,EAAIF,EAAMI,KAC1Cf,KAAK,MAAQC,EAAYU,EAAMI,KAAKF,EAAIF,EAAMI,KAM9DhB,EAAWoB,UAAY,CACnBC,QAAS,WACL,OAAOpB,KAAKqB,MAEhBC,QAAS,SAASC,GACd,GAA0C,mBAAtCT,OAAOK,UAAUK,SAASC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B,UAAU,MAAQlB,EAAYO,EAAaO,KAAO,SAAUR,GACnE,OAAO,SAASgB,GACZvB,KAAKO,GAAKyC,QAAQzB,IAFmC,CAI1Df,EAAaO,IAGpB,IAAK,IAAIkC,EAAI,EAAGA,EAAIxC,EAAaO,OAAQiC,IACrClD,EAAWoB,UAAU,MAAQlB,EAAYQ,EAAawC,KAAO3C,EAAQG,EAAawC,IAClFlD,EAAWoB,UAAU,MAAQlB,EAAYQ,EAAawC,KAAO,SAAU1C,GACnE,OAAO,SAASgB,GACZ,GA9GO2B,EA8GQ3B,EA7Gf4B,MAAMC,WAAWF,MAAOG,SAASH,GA8G7B,MAAM,IAAIxB,UAAUnB,EAAI,qBA/GxC,IAAmB2C,EAiHPlD,KAAKO,GAAK+C,OAAO/B,IALoC,CAO1Dd,EAAawC,IAGpB,IAAK,IAAIM,EAAI,EAAGA,EAAI7C,EAAYM,OAAQuC,IACpCxD,EAAWoB,UAAU,MAAQlB,EAAYS,EAAY6C,KAAOjD,EAAQI,EAAY6C,IAChFxD,EAAWoB,UAAU,MAAQlB,EAAYS,EAAY6C,KAAO,SAAUhD,GAClE,OAAO,SAASgB,GACZvB,KAAKO,GAAKiD,OAAOjC,IAFmC,CAIzDb,EAAY6C,IAGnB,OAAOxD","file":"stackframe.min.js","sourcesContent":["(function(root, factory) {\n 'use strict';\n // Universal Module Definition (UMD) to support AMD, CommonJS/Node.js, Rhino, and browsers.\n\n /* istanbul ignore next */\n if (typeof define === 'function' && define.amd) {\n define('stackframe', [], factory);\n } else if (typeof exports === 'object') {\n module.exports = factory();\n } else {\n root.StackFrame = factory();\n }\n}(this, function() {\n 'use strict';\n function _isNumber(n) {\n return !isNaN(parseFloat(n)) && isFinite(n);\n }\n\n function _capitalize(str) {\n return str.charAt(0).toUpperCase() + str.substring(1);\n }\n\n function _getter(p) {\n return function() {\n return this[p];\n };\n }\n\n var booleanProps = ['isConstructor', 'isEval', 'isNative', 'isToplevel'];\n var numericProps = ['columnNumber', 'lineNumber'];\n