/
fpscanner.min.js.map
1 lines (1 loc) · 3.99 KB
/
fpscanner.min.js.map
1
{"version":3,"sources":["fpscanner.min.js"],"names":["root","factory","exports","module","define","amd","this","modules","__webpack_require__","moduleId","installedModules","id","loaded","call","m","c","p","fpscanner","UNKNOWN","defaultOptions","all","attributeToFunction","userAgent","navigator","platform","generateFingerprint","fingerprint","forEach","attribute"],"mappings":"CAAA,SAA2CA,EAAMC,GAC1B,gBAAZC,UAA0C,gBAAXC,QACxCA,OAAOD,QAAUD,IACQ,kBAAXG,SAAyBA,OAAOC,IAC9CD,UAAWH,GACe,gBAAZC,SACdA,QAAmB,UAAID,IAEvBD,EAAgB,UAAIC,KACnBK,KAAM,WACT,MAAgB,UAAUC,GAKhB,QAASC,GAAoBC,GAG5B,GAAGC,EAAiBD,GACnB,MAAOC,GAAiBD,GAAUP,OAGnC,IAAIC,GAASO,EAAiBD,IAC7BP,WACAS,GAAIF,EACJG,QAAQ,EAUT,OANAL,GAAQE,GAAUI,KAAKV,EAAOD,QAASC,EAAQA,EAAOD,QAASM,GAG/DL,EAAOS,QAAS,EAGTT,EAAOD,QAvBf,GAAIQ,KAqCJ,OATAF,GAAoBM,EAAIP,EAGxBC,EAAoBO,EAAIL,EAGxBF,EAAoBQ,EAAI,GAGjBR,EAAoB,KAK/B,SAASL,EAAQD,GAEtB,YAEA,IAAIe,GAAY,WACd,GAAIC,GAAU,UAEVC,GACFC,KAAQ,YAAa,aAGnBC,GACFC,UAAa,WACX,MAAOC,WAAUD,WAEnBE,SAAY,WACV,MAAID,WAAUC,SACLD,UAAUC,SAEZN,IAIPO,EAAsB,WACxB,GAAIC,KAIJ,OAHAP,GAAeC,IAAIO,QAAQ,SAAUC,GACnCF,EAAYE,GAAaP,EAAoBO,OAExCF,EAGT,QACED,oBAAqBA,KAIzBtB,GAAOD,QAAUe","file":"fpscanner.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"fpscanner\"] = factory();\n\telse\n\t\troot[\"fpscanner\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tvar fpscanner = function () {\n\t var UNKNOWN = \"unknown\";\n\t\n\t var defaultOptions = {\n\t \"all\": [\"userAgent\", \"platform\"]\n\t };\n\t\n\t var attributeToFunction = {\n\t \"userAgent\": function userAgent() {\n\t return navigator.userAgent;\n\t },\n\t \"platform\": function platform() {\n\t if (navigator.platform) {\n\t return navigator.platform;\n\t }\n\t return UNKNOWN;\n\t }\n\t };\n\t\n\t var generateFingerprint = function generateFingerprint() {\n\t var fingerprint = {};\n\t defaultOptions.all.forEach(function (attribute) {\n\t fingerprint[attribute] = attributeToFunction[attribute]();\n\t });\n\t return fingerprint;\n\t };\n\t\n\t return {\n\t generateFingerprint: generateFingerprint\n\t };\n\t}();\n\t\n\tmodule.exports = fpscanner;\n\t//export default fpscanner;\n\n/***/ }\n/******/ ])\n});\n;\n"],"sourceRoot":"/source/"}