{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///angular-load.min.js","webpack:///webpack/bootstrap 7cec6a1a79a74a7e7a56","webpack:///./angular-load.js","webpack:///./index.js"],"names":["root","factory","exports","module","define","amd","this","modules","__webpack_require__","moduleId","installedModules","i","l","call","m","c","value","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","angular","service","$document","$q","$timeout","loader","createElement","url","promises","deferred","defer","element","onload","onreadystatechange","e","readyState","resolve","onerror","reject","promise","document","loadScript","src","script","body","appendChild","loadCSS","href","style","rel","type","head","unloadCSS","docHead","targetCss","querySelector","remove","default"],"mappings":"CAAA,SAAAA,EAAAC,GACA,gBAAAC,UAAA,gBAAAC,QACAA,OAAAD,QAAAD,IACA,kBAAAG,gBAAAC,IACAD,UAAAH,GACA,gBAAAC,SACAA,QAAA,YAAAD,IAEAD,EAAA,YAAAC,KACCK,KAAA,WACD,MCAgB,UAAUC,GCN1B,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAP,OAGA,IAAAC,GAAAO,EAAAD,IACAE,EAAAF,EACAG,GAAA,EACAV,WAUA,OANAK,GAAAE,GAAAI,KAAAV,EAAAD,QAAAC,IAAAD,QAAAM,GAGAL,EAAAS,GAAA,EAGAT,EAAAD,QAvBA,GAAAQ,KA+DA,OAnCAF,GAAAM,EAAAP,EAGAC,EAAAO,EAAAL,EAGAF,EAAAG,EAAA,SAAAK,GAA2C,MAAAA,IAG3CR,EAAAS,EAAA,SAAAf,EAAAgB,EAAAC,GACAX,EAAAY,EAAAlB,EAAAgB,IACAG,OAAAC,eAAApB,EAAAgB,GACAK,cAAA,EACAC,YAAA,EACAC,IAAAN,KAMAX,EAAAkB,EAAA,SAAAvB,GACA,GAAAgB,GAAAhB,KAAAwB,WACA,WAA2B,MAAAxB,GAAA,SAC3B,WAAiC,MAAAA,GAEjC,OADAK,GAAAS,EAAAE,EAAA,IAAAA,GAC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,cAC7Bc,OAAO,IGhLTR,EAAA,GHqLAN,EAAQqE,QGpLO","file":"angular-load.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[\"angularLoad\"] = factory();\n\telse\n\t\troot[\"angularLoad\"] = factory();\n})(this, function() {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition","(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[\"angularLoad\"] = factory();\n\telse\n\t\troot[\"angularLoad\"] = 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/******/ \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// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\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// 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/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 1);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\n/* angular-load.js / v0.4.2 / (c) 2014, 2015, 2016 Uri Shaked / MIT Licence */\n\nangular.module('angularLoad', []).service('angularLoad', ['$document', '$q', '$timeout', function ($document, $q, $timeout) {\n\tvar document = $document[0];\n\tvar promises = {};\n\n\tfunction loader(createElement) {\n\t\treturn function (url) {\n\t\t\tif (typeof promises[url] === 'undefined') {\n\t\t\t\tvar deferred = $q.defer();\n\t\t\t\tvar element = createElement(url);\n\n\t\t\t\telement.onload = element.onreadystatechange = function (e) {\n\t\t\t\t\tif (element.readyState && element.readyState !== 'complete' && element.readyState !== 'loaded') {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\t$timeout(function () {\n\t\t\t\t\t\tdeferred.resolve(e);\n\t\t\t\t\t});\n\t\t\t\t};\n\t\t\t\telement.onerror = function (e) {\n\t\t\t\t\t$timeout(function () {\n\t\t\t\t\t\tdeferred.reject(e);\n\t\t\t\t\t});\n\t\t\t\t};\n\n\t\t\t\tpromises[url] = deferred.promise;\n\t\t\t}\n\n\t\t\treturn promises[url];\n\t\t};\n\t}\n\n\t/**\n * Dynamically loads the given script\n * @param src The url of the script to load dynamically\n * @returns {*} Promise that will be resolved once the script has been loaded.\n */\n\tthis.loadScript = loader(function (src) {\n\t\tvar script = document.createElement('script');\n\n\t\tscript.src = src;\n\n\t\tdocument.body.appendChild(script);\n\t\treturn script;\n\t});\n\n\t/**\n * Dynamically loads the given CSS file\n * @param href The url of the CSS to load dynamically\n * @returns {*} Promise that will be resolved once the CSS file has been loaded.\n */\n\tthis.loadCSS = loader(function (href) {\n\t\tvar style = document.createElement('link');\n\n\t\tstyle.rel = 'stylesheet';\n\t\tstyle.type = 'text/css';\n\t\tstyle.href = href;\n\n\t\tdocument.head.appendChild(style);\n\t\treturn style;\n\t});\n\n\t/**\n * Dynamically unloads the given CSS file\n * @param href The url of the CSS to unload dynamically\n * @returns boolean that will be true once the CSS file has been unloaded successfully or otherwise false.\n */\n\tthis.unloadCSS = function (href) {\n\t\tdelete promises[href];\n\t\tvar docHead = document.head;\n\t\tif (docHead) {\n\t\t\tvar targetCss = docHead.querySelector('[href=\"' + href + '\"]');\n\t\t\tif (targetCss) {\n\t\t\t\ttargetCss.remove();\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t};\n}]);\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\n__webpack_require__(0);\n\nexports.default = 'angularLoad';\n\n/***/ })\n/******/ ]);\n});\n\n\n// WEBPACK FOOTER //\n// angular-load.min.js"," \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// identity function for calling harmony imports with the correct context\n \t__webpack_require__.i = function(value) { return value; };\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// 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 \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 1);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 7cec6a1a79a74a7e7a56","/* angular-load.js / v0.4.2 / (c) 2014, 2015, 2016 Uri Shaked / MIT Licence */\n\nangular.module('angularLoad', [])\n\t.service('angularLoad', ['$document', '$q', '$timeout', function ($document, $q, $timeout) {\n\t\tvar document = $document[0];\n\t\tvar promises = {};\n\n\t\tfunction loader(createElement) {\n\t\t\treturn function(url) {\n\t\t\t\tif (typeof promises[url] === 'undefined') {\n\t\t\t\t\tvar deferred = $q.defer();\n\t\t\t\t\tvar element = createElement(url);\n\n\t\t\t\t\telement.onload = element.onreadystatechange = function (e) {\n\t\t\t\t\t\tif (element.readyState && element.readyState !== 'complete' && element.readyState !== 'loaded') {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t$timeout(function () {\n\t\t\t\t\t\t\tdeferred.resolve(e);\n\t\t\t\t\t\t});\n\t\t\t\t\t};\n\t\t\t\t\telement.onerror = function (e) {\n\t\t\t\t\t\t$timeout(function () {\n\t\t\t\t\t\t\tdeferred.reject(e);\n\t\t\t\t\t\t});\n\t\t\t\t\t};\n\n\t\t\t\t\tpromises[url] = deferred.promise;\n\t\t\t\t}\n\n\t\t\t\treturn promises[url];\n\t\t\t};\n\t\t}\n\n\t\t/**\n\t\t * Dynamically loads the given script\n\t\t * @param src The url of the script to load dynamically\n\t\t * @returns {*} Promise that will be resolved once the script has been loaded.\n\t\t */\n\t\tthis.loadScript = loader(function (src) {\n\t\t\tvar script = document.createElement('script');\n\n\t\t\tscript.src = src;\n\n\t\t\tdocument.body.appendChild(script);\n\t\t\treturn script;\n\t\t});\n\n\t\t/**\n\t\t * Dynamically loads the given CSS file\n\t\t * @param href The url of the CSS to load dynamically\n\t\t * @returns {*} Promise that will be resolved once the CSS file has been loaded.\n\t\t */\n\t\tthis.loadCSS = loader(function (href) {\n\t\t\tvar style = document.createElement('link');\n\n\t\t\tstyle.rel = 'stylesheet';\n\t\t\tstyle.type = 'text/css';\n\t\t\tstyle.href = href;\n\n\t\t\tdocument.head.appendChild(style);\n\t\t\treturn style;\n\t\t});\n\n\t\t/**\n\t\t * Dynamically unloads the given CSS file\n\t\t * @param href The url of the CSS to unload dynamically\n\t\t * @returns boolean that will be true once the CSS file has been unloaded successfully or otherwise false.\n\t\t */\n\t\tthis.unloadCSS = function (href) {\n\t\t\tdelete promises[href];\n\t\t\tvar docHead = document.head;\n\t\t\tif(docHead) {\n\t\t\t\tvar targetCss = docHead.querySelector('[href=\"' + href + '\"]');\n\t\t\t\tif(targetCss) {\n\t\t\t\t\ttargetCss.remove();\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\n\t}]);\n\n\n\n\n// WEBPACK FOOTER //\n// ./angular-load.js","import './angular-load';\nexport default 'angularLoad';\n\n\n\n// WEBPACK FOOTER //\n// ./index.js"],"sourceRoot":""}