{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./js/components/Util/Browser.js","webpack:///./js/components/performance/LoadContent.js","webpack:///./js/components/GoogleAnalytics/BypassPagespeed.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","r","value","n","__esModule","object","property","prototype","hasOwnProperty","p","s","OnReady","cb","document","readyState","bind","this","addEventListener","UserAgent","ua","_classCallCheck","userAgent","fromWindow","window","navigator","isGooglePageSpeed","indexOf","LoadScript","src","someScript","getElementsByTagName","script","createElement","async","parentNode","insertBefore","_Browser","_LoadContent"],"mappings":"aACA,IAAAA,KAGA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAC,QAGA,IAAAC,EAAAJ,EAAAE,IACAG,EAAAH,EACAI,GAAA,EACAH,YAUA,OANAI,EAAAL,GAAAM,KAAAJ,EAAAD,QAAAC,IAAAD,QAAAF,GAGAG,EAAAE,GAAA,EAGAF,EAAAD,QAKAF,EAAAQ,EAAAF,EAGAN,EAAAS,EAAAV,EAGAC,EAAAU,EAAA,SAAAR,EAAAS,EAAAC,GACAZ,EAAAa,EAAAX,EAAAS,IACAG,OAAAC,eAAAb,EAAAS,GACAK,cAAA,EACAC,YAAA,EACAC,IAAAN,KAMAZ,EAAAmB,EAAA,SAAAjB,GACAY,OAAAC,eAAAb,EAAA,cAAiDkB,OAAA,KAIjDpB,EAAAqB,EAAA,SAAAlB,GACA,IAAAS,EAAAT,KAAAmB,WACA,WAA2B,OAAAnB,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAH,EAAAU,EAAAE,EAAA,IAAAA,GACAA,GAIAZ,EAAAa,EAAA,SAAAU,EAAAC,GAAsD,OAAAV,OAAAW,UAAAC,eAAAnB,KAAAgB,EAAAC,IAGtDxB,EAAA2B,EAAA,GAIA3B,IAAA4B,EAAA,0DCnEgBC,QAAT,SAAiBC,GACM,aAAxBC,SAASC,YACmB,WAAxBD,SAASC,YACe,gBAAxBD,SAASC,WACfF,EAAGG,KAAKC,KAARJ,GAEAC,SAASI,iBAAiB,mBAAoBL,EAAGG,KAAKC,UAI7CE,qBAKX,SAAAA,EAAYC,gGAAIC,CAAAJ,KAAAE,GACdF,KAAKK,UAAYF,WALZG,sBACL,OAAO,IAAIN,KAAKO,OAAOC,UAAUH,wBAOnCI,6BACE,OAAOT,KAAKK,UAAUK,QAAQ,+BAAiC,0DChBtDC,aAAa,SAASC,GACjC,IAAMC,EAAahB,SAASiB,qBAAqB,UAAU,GACrDC,EAASlB,SAASmB,cAAc,UACtCD,EAAOE,MAAQ,EACfF,EAAOH,IAAMA,EACbC,EAAWK,WAAWC,aAAaJ,EAAQF,sCCT7C,IAAAO,EAAAtD,EAAA,KACAuD,EAAAvD,EAAA,KAMKoC,YAAUI,aAAaG,sBAC1B,EAAAY,EAAAV,YAAW","file":"GoogleAnalytics/BypassPagespeed.37b559e5.js","sourcesContent":[" \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 \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\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.l = 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// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 598);\n","export function OnReady(cb) {\n if (document.readyState === \"complete\"\n || document.readyState === \"loaded\"\n || document.readyState === \"interactive\") {\n cb.bind(this)();\n } else {\n document.addEventListener('DOMContentLoaded', cb.bind(this));\n }\n}\n\nexport class UserAgent {\n static fromWindow() {\n return new this(window.navigator.userAgent);\n }\n\n constructor(ua) {\n this.userAgent = ua;\n }\n\n isGooglePageSpeed() {\n return this.userAgent.indexOf(\"Google Page Speed Insights\") > -1;\n }\n}\n","/**\n * Insert script element into HTML from provided src url\n */\n\nexport const LoadScript = function(src) {\n const someScript = document.getElementsByTagName('script')[0];\n const script = document.createElement('script');\n script.async = 1;\n script.src = src;\n someScript.parentNode.insertBefore(script, someScript);\n}\n","import { UserAgent } from '../Util/Browser.js';\nimport { LoadScript } from '../performance/LoadContent.js';\n\n/**\n * Don't load Google Analytics if we're being tested by Google PageSpeed Insights\n * because they penalize sites for their own Google Analytics script!\n */\nif (!UserAgent.fromWindow().isGooglePageSpeed()) {\n LoadScript('https://www.google-analytics.com/analytics.js');\n}\n"],"sourceRoot":""}