{"version":3,"sources":["webpack:///axios.standalone.min.js","webpack:///webpack/bootstrap a74cd3a4253eefc0a6c3","webpack:///./index.js","webpack:///./lib/axios.js","webpack:///external \"undefined\"","webpack:///./lib/defaults.js","webpack:///./lib/utils.js","webpack:///./lib/adapters/xhr.js","webpack:///./lib/helpers/spread.js","webpack:///(webpack)/~/node-libs-browser/~/process/browser.js","webpack:///./lib/helpers/buildUrl.js","webpack:///./lib/helpers/cookies.js","webpack:///./lib/helpers/parseHeaders.js","webpack:///./lib/helpers/transformData.js","webpack:///./lib/helpers/urlIsSameOrigin.js"],"names":["axios","modules","__webpack_require__","moduleId","installedModules","exports","module","id","loaded","call","m","c","p","process","createShortMethods","utils","forEach","arguments","method","url","config","merge","createShortMethodsWithData","data","Promise","defaults","deprecatedMethod","instead","docs","console","warn","e","headers","transformRequest","transformResponse","withCredentials","promise","resolve","reject","window","success","fn","then","response","status","error","all","promises","spread","undefined","JSON_START","JSON_END","PROTECTION_PREFIX","DEFAULT_CONTENT_TYPE","Content-Type","isArrayBuffer","isArrayBufferView","buffer","isObject","isFile","isBlob","isUndefined","JSON","stringify","replace","test","parse","common","Accept","patch","post","put","xsrfCookieName","xsrfHeaderName","isArray","val","toString","ArrayBuffer","isView","isString","isNumber","isDate","trim","str","obj","constructor","Array","callee","i","l","length","key","hasOwnProperty","result","Object","prototype","buildUrl","cookies","parseHeaders","transformData","urlIsSameOrigin","request","XMLHttpRequest","ActiveXObject","open","params","onreadystatechange","readyState","getAllResponseHeaders","responseText","xsrfValue","read","toLowerCase","setRequestHeader","responseType","DataView","send","callback","arr","apply","noop","nextTick","canSetImmediate","setImmediate","canPost","postMessage","addEventListener","f","queue","ev","source","stopPropagation","shift","push","setTimeout","title","browser","env","argv","on","addListener","once","off","removeListener","removeAllListeners","emit","binding","Error","cwd","chdir","encode","encodeURIComponent","parts","v","toISOString","indexOf","join","write","name","value","expires","path","domain","secure","cookie","Date","toGMTString","document","match","RegExp","decodeURIComponent","remove","this","now","parsed","split","line","substr","fns","urlResolve","href","msie","urlParsingNode","setAttribute","protocol","host","search","hash","hostname","port","pathname","charAt","navigator","userAgent","createElement","originUrl","location","requestUrl"],"mappings":"AAAA,GAAIA,OACK,SAAUC,GCGnB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAE,WACAE,GAAAJ,EACAK,QAAA,EAUA,OANAP,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,QAAA,EAGAF,EAAAD,QAvBA,GAAAD,KAqCA,OATAF,GAAAQ,EAAAT,EAGAC,EAAAS,EAAAP,EAGAF,EAAAU,EAAA,GAGAV,EAAA,KDOM,SAASI,EAAQD,EAASH,GE7ChCI,EAAAD,QAAAH,EAAA,IFmDM,SAASI,EAAQD,EAASH,IGnDhC,SAAAW,GA+EA,QAAAC,KACAC,EAAAC,QAAAC,UAAA,SAAAC,GACAlB,EAAAkB,GAAA,SAAAC,EAAAC,GACA,MAAApB,GAAAe,EAAAM,MAAAD,OACAF,SACAC,YAMA,QAAAG,KACAP,EAAAC,QAAAC,UAAA,SAAAC,GACAlB,EAAAkB,GAAA,SAAAC,EAAAI,EAAAH,GACA,MAAApB,GAAAe,EAAAM,MAAAD,OACAF,SACAC,MACAI,aAhGA,GAAAC,GAAAtB,EAAA,GAAAsB,QACAC,EAAAvB,EAAA,GACAa,EAAAb,EAAA,GAEAF,EAAAM,EAAAD,QAAA,SAAAe,GA0BA,QAAAM,GAAAR,EAAAS,EAAAC,GACA,IACAC,QAAAC,KACA,sBAAAZ,EAAA,MACAS,EAAA,SAAAA,EAAA,iBACA,qDAEAC,GACAC,QAAAC,KAAA,wCAAAF,GAEK,MAAAG,KAnCLX,EAAAL,EAAAM,OACAH,OAAA,MACAc,WACAC,iBAAAR,EAAAQ,iBACAC,kBAAAT,EAAAS,mBACGd,GAGHA,EAAAe,gBAAAf,EAAAe,iBAAAV,EAAA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AAAhB,EAAA5I,OAAA6J,SAAAhB,KAwCA9K,GAAAD,QAAA,SAAAgM,GACA,GAAAvB,GAAA/J,EAAAgE,SAAAsH,GAAAlB,EAAAkB,IACA,OAAAvB,GAAAU,WAAAW,EAAAX,UACAV,EAAAW,OAAAU,EAAAV","file":"axios.standalone.min.js","sourcesContent":["var axios =\n/******/ (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, __webpack_require__) {\n\n\tmodule.exports = __webpack_require__(1);\n\n/***/ },\n/* 1 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {var Promise = __webpack_require__(2).Promise;\n\tvar defaults = __webpack_require__(3);\n\tvar utils = __webpack_require__(4);\n\t\n\tvar axios = module.exports = function axios(config) {\n\t config = utils.merge({\n\t method: 'get',\n\t headers: {},\n\t transformRequest: defaults.transformRequest,\n\t transformResponse: defaults.transformResponse\n\t }, config);\n\t\n\t // Don't allow overriding defaults.withCredentials\n\t config.withCredentials = config.withCredentials || defaults.withCredentials;\n\t\n\t var promise = new Promise(function (resolve, reject) {\n\t try {\n\t // For browsers use XHR adapter\n\t if (typeof window !== 'undefined') {\n\t __webpack_require__(5)(resolve, reject, config);\n\t }\n\t // For node use HTTP adapter\n\t else if (typeof process !== 'undefined') {\n\t __webpack_require__(2)(resolve, reject, config);\n\t }\n\t } catch (e) {\n\t reject(e);\n\t }\n\t });\n\t\n\t function deprecatedMethod(method, instead, docs) {\n\t try {\n\t console.warn(\n\t 'DEPRECATED method `' + method + '`.' +\n\t (instead ? ' Use `' + instead + '` instead.' : '') +\n\t ' This method will be removed in a future release.');\n\t\n\t if (docs) {\n\t console.warn('For more information about usage see ' + docs);\n\t }\n\t } catch (e) {}\n\t }\n\t\n\t // Provide alias for success\n\t promise.success = function success(fn) {\n\t deprecatedMethod('success', 'then', 'https://github.com/mzabriskie/axios/blob/master/README.md#response-api');\n\t\n\t promise.then(function(response) {\n\t fn(response.data, response.status, response.headers, response.config);\n\t });\n\t return promise;\n\t };\n\t\n\t // Provide alias for error\n\t promise.error = function error(fn) {\n\t deprecatedMethod('error', 'catch', 'https://github.com/mzabriskie/axios/blob/master/README.md#response-api');\n\t\n\t promise.then(null, function(response) {\n\t fn(response.data, response.status, response.headers, response.config);\n\t });\n\t return promise;\n\t };\n\t\n\t return promise;\n\t};\n\t\n\t// Expose defaults\n\taxios.defaults = defaults;\n\t\n\t// Expose all/spread\n\taxios.all = function (promises) {\n\t return Promise.all(promises);\n\t};\n\taxios.spread = __webpack_require__(6);\n\t\n\t// Provide aliases for supported request methods\n\tcreateShortMethods('delete', 'get', 'head');\n\tcreateShortMethodsWithData('post', 'put', 'patch');\n\t\n\tfunction createShortMethods() {\n\t utils.forEach(arguments, function (method) {\n\t axios[method] = function (url, config) {\n\t return axios(utils.merge(config || {}, {\n\t method: method,\n\t url: url\n\t }));\n\t };\n\t });\n\t}\n\t\n\tfunction createShortMethodsWithData() {\n\t utils.forEach(arguments, function (method) {\n\t axios[method] = function (url, data, config) {\n\t return axios(utils.merge(config || {}, {\n\t method: method,\n\t url: url,\n\t data: data\n\t }));\n\t };\n\t });\n\t}\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(7)))\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = undefined;\n\n/***/ },\n/* 3 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar utils = __webpack_require__(4);\n\t\n\tvar JSON_START = /^\\s*(\\[|\\{[^\\{])/;\n\tvar JSON_END = /[\\}\\]]\\s*$/;\n\tvar PROTECTION_PREFIX = /^\\)\\]\\}',?\\n/;\n\tvar DEFAULT_CONTENT_TYPE = {\n\t 'Content-Type': 'application/x-www-form-urlencoded'\n\t};\n\t\n\tmodule.exports = {\n\t transformRequest: [function (data, headers) {\n\t if (utils.isArrayBuffer(data)) {\n\t return data;\n\t }\n\t if (utils.isArrayBufferView(data)) {\n\t return data.buffer;\n\t }\n\t if (utils.isObject(data) && !utils.isFile(data) && !utils.isBlob(data)) {\n\t // Set application/json if no Content-Type has been specified\n\t if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n\t headers['Content-Type'] = 'application/json;charset=utf-8';\n\t }\n\t return JSON.stringify(data);\n\t }\n\t return data;\n\t }],\n\t\n\t transformResponse: [function (data) {\n\t if (typeof data === 'string') {\n\t data = data.replace(PROTECTION_PREFIX, '');\n\t if (JSON_START.test(data) && JSON_END.test(data)) {\n\t data = JSON.parse(data);\n\t }\n\t }\n\t return data;\n\t }],\n\t\n\t headers: {\n\t common: {\n\t 'Accept': 'application/json, text/plain, */*'\n\t },\n\t patch: utils.merge(DEFAULT_CONTENT_TYPE),\n\t post: utils.merge(DEFAULT_CONTENT_TYPE),\n\t put: utils.merge(DEFAULT_CONTENT_TYPE)\n\t },\n\t\n\t xsrfCookieName: 'XSRF-TOKEN',\n\t xsrfHeaderName: 'X-XSRF-TOKEN'\n\t};\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// utils is a library of generic helper functions non-specific to axios\n\t\n\tvar toString = Object.prototype.toString;\n\t\n\t/**\n\t * Determine if a value is an Array\n\t *\n\t * @param {Object} val The value to test\n\t * @returns {boolean} True if value is an Array, otherwise false\n\t */\n\tfunction isArray(val) {\n\t return toString.call(val) === '[object Array]';\n\t}\n\t\n\t/**\n\t * Determine if a value is an ArrayBuffer\n\t *\n\t * @param {Object} val The value to test\n\t * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n\t */\n\tfunction isArrayBuffer(val) {\n\t return toString.call(val) === '[object ArrayBuffer]';\n\t}\n\t\n\t/**\n\t * Determine if a value is a view on an ArrayBuffer\n\t *\n\t * @param {Object} val The value to test\n\t * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n\t */\n\tfunction isArrayBufferView(val) {\n\t if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n\t return ArrayBuffer.isView(val);\n\t } else {\n\t return (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);\n\t }\n\t}\n\t\n\t/**\n\t * Determine if a value is a String\n\t *\n\t * @param {Object} val The value to test\n\t * @returns {boolean} True if value is a String, otherwise false\n\t */\n\tfunction isString(val) {\n\t return typeof val === 'string';\n\t}\n\t\n\t/**\n\t * Determine if a value is a Number\n\t *\n\t * @param {Object} val The value to test\n\t * @returns {boolean} True if value is a Number, otherwise false\n\t */\n\tfunction isNumber(val) {\n\t return typeof val === 'number';\n\t}\n\t\n\t/**\n\t * Determine if a value is undefined\n\t *\n\t * @param {Object} val The value to test\n\t * @returns {boolean} True if the value is undefined, otherwise false\n\t */\n\tfunction isUndefined(val) {\n\t return typeof val === 'undefined';\n\t}\n\t\n\t/**\n\t * Determine if a value is an Object\n\t *\n\t * @param {Object} val The value to test\n\t * @returns {boolean} True if value is an Object, otherwise false\n\t */\n\tfunction isObject(val) {\n\t return val !== null && typeof val === 'object';\n\t}\n\t\n\t/**\n\t * Determine if a value is a Date\n\t *\n\t * @param {Object} val The value to test\n\t * @returns {boolean} True if value is a Date, otherwise false\n\t */\n\tfunction isDate(val) {\n\t return toString.call(val) === '[object Date]';\n\t}\n\t\n\t/**\n\t * Determine if a value is a File\n\t *\n\t * @param {Object} val The value to test\n\t * @returns {boolean} True if value is a File, otherwise false\n\t */\n\tfunction isFile(val) {\n\t return toString.call(val) === '[object File]';\n\t}\n\t\n\t/**\n\t * Determine if a value is a Blob\n\t *\n\t * @param {Object} val The value to test\n\t * @returns {boolean} True if value is a Blob, otherwise false\n\t */\n\tfunction isBlob(val) {\n\t return toString.call(val) === '[object Blob]';\n\t}\n\t\n\t/**\n\t * Trim excess whitespace off the beginning and end of a string\n\t *\n\t * @param {String} str The String to trim\n\t * @returns {String} The String freed of excess whitespace\n\t */\n\tfunction trim(str) {\n\t return str.replace(/^\\s*/, '').replace(/\\s*$/, '');\n\t}\n\t\n\t/**\n\t * Iterate over an Array or an Object invoking a function for each item.\n\t *\n\t * If `obj` is an Array or arguments callback will be called passing\n\t * the value, index, and complete array for each item.\n\t *\n\t * If 'obj' is an Object callback will be called passing\n\t * the value, key, and complete object for each property.\n\t *\n\t * @param {Object|Array} obj The object to iterate\n\t * @param {Function} fn The callback to invoke for each item\n\t */\n\tfunction forEach(obj, fn) {\n\t // Don't bother if no value provided\n\t if (obj === null || typeof obj === 'undefined') {\n\t return;\n\t }\n\t\n\t // Check if obj is array-like\n\t var isArray = obj.constructor === Array || typeof obj.callee === 'function';\n\t\n\t // Force an array if not already something iterable\n\t if (typeof obj !== 'object' && !isArray) {\n\t obj = [obj];\n\t }\n\t\n\t // Iterate over array values\n\t if (isArray) {\n\t for (var i=0, l=obj.length; i<l; i++) {\n\t fn.call(null, obj[i], i, obj);\n\t }\n\t }\n\t // Iterate over object keys\n\t else {\n\t for (var key in obj) {\n\t if (obj.hasOwnProperty(key)) {\n\t fn.call(null, obj[key], key, obj);\n\t }\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * Accepts varargs expecting each argument to be an object, then\n\t * immutably merges the properties of each object and returns result.\n\t *\n\t * When multiple objects contain the same key the later object in\n\t * the arguments list will take precedence.\n\t *\n\t * Example:\n\t *\n\t * ```js\n\t * var result = merge({foo: 123}, {foo: 456});\n\t * console.log(result.foo); // outputs 456\n\t * ```\n\t *\n\t * @param {Object} obj1 Object to merge\n\t * @returns {Object} Result of all merge properties\n\t */\n\tfunction merge(obj1/*, obj2, obj3, ...*/) {\n\t var result = {};\n\t forEach(arguments, function (obj) {\n\t forEach(obj, function (val, key) {\n\t result[key] = val;\n\t });\n\t });\n\t return result;\n\t}\n\t\n\tmodule.exports = {\n\t isArray: isArray,\n\t isArrayBuffer: isArrayBuffer,\n\t isArrayBufferView: isArrayBufferView,\n\t isString: isString,\n\t isNumber: isNumber,\n\t isObject: isObject,\n\t isUndefined: isUndefined,\n\t isDate: isDate,\n\t isFile: isFile,\n\t isBlob: isBlob,\n\t forEach: forEach,\n\t merge: merge,\n\t trim: trim\n\t};\n\n/***/ },\n/* 5 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar defaults = __webpack_require__(3);\n\tvar utils = __webpack_require__(4);\n\tvar buildUrl = __webpack_require__(8);\n\tvar cookies = __webpack_require__(9);\n\tvar parseHeaders = __webpack_require__(10);\n\tvar transformData = __webpack_require__(11);\n\tvar urlIsSameOrigin = __webpack_require__(12);\n\t\n\tmodule.exports = function xhrAdapter(resolve, reject, config) {\n\t // Transform request data\n\t var data = transformData(\n\t config.data,\n\t config.headers,\n\t config.transformRequest\n\t );\n\t\n\t // Merge headers\n\t var headers = utils.merge(\n\t defaults.headers.common,\n\t defaults.headers[config.method] || {},\n\t config.headers || {}\n\t );\n\t\n\t // Create the request\n\t var request = new(XMLHttpRequest || ActiveXObject)('Microsoft.XMLHTTP');\n\t request.open(config.method, buildUrl(config.url, config.params), true);\n\t\n\t // Listen for ready state\n\t request.onreadystatechange = function () {\n\t if (request && request.readyState === 4) {\n\t // Prepare the response\n\t var headers = parseHeaders(request.getAllResponseHeaders());\n\t var response = {\n\t data: transformData(\n\t request.responseText,\n\t headers,\n\t config.transformResponse\n\t ),\n\t status: request.status,\n\t headers: headers,\n\t config: config\n\t };\n\t\n\t // Resolve or reject the Promise based on the status\n\t (request.status >= 200 && request.status < 300\n\t ? resolve\n\t : reject)(response);\n\t\n\t // Clean up request\n\t request = null;\n\t }\n\t };\n\t\n\t // Add xsrf header\n\t var xsrfValue = urlIsSameOrigin(config.url)\n\t ? cookies.read(config.xsrfCookieName || defaults.xsrfCookieName)\n\t : undefined;\n\t if (xsrfValue) {\n\t headers[config.xsrfHeaderName || defaults.xsrfHeaderName] = xsrfValue;\n\t }\n\t\n\t // Add headers to the request\n\t utils.forEach(headers, function (val, key) {\n\t // Remove Content-Type if data is undefined\n\t if (!data && key.toLowerCase() === 'content-type') {\n\t delete headers[key];\n\t }\n\t // Otherwise add header to the request\n\t else {\n\t request.setRequestHeader(key, val);\n\t }\n\t });\n\t\n\t // Add withCredentials to request if needed\n\t if (config.withCredentials) {\n\t request.withCredentials = true;\n\t }\n\t\n\t // Add responseType to request if needed\n\t if (config.responseType) {\n\t try {\n\t request.responseType = config.responseType;\n\t } catch (e) {\n\t if (request.responseType !== 'json') {\n\t throw e;\n\t }\n\t }\n\t }\n\t\n\t if (utils.isArrayBuffer(data)) {\n\t data = new DataView(data);\n\t }\n\t\n\t // Send the request\n\t request.send(data);\n\t};\n\n/***/ },\n/* 6 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Syntactic sugar for invoking a function and expanding an array for arguments.\n\t *\n\t * Common use case would be to use `Function.prototype.apply`.\n\t *\n\t * ```js\n\t * function f(x, y, z) {}\n\t * var args = [1, 2, 3];\n\t * f.apply(null, args);\n\t * ```\n\t *\n\t * With `spread` this example can be re-written.\n\t *\n\t * ```js\n\t * spread(function(x, y, z) {})([1, 2, 3]);\n\t * ```\n\t *\n\t * @param {Function} callback\n\t * @returns {Function}\n\t */\n\tmodule.exports = function spread(callback) {\n\t return function (arr) {\n\t callback.apply(null, arr);\n\t };\n\t};\n\n/***/ },\n/* 7 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// shim for using process in browser\n\t\n\tvar process = module.exports = {};\n\t\n\tprocess.nextTick = (function () {\n\t var canSetImmediate = typeof window !== 'undefined'\n\t && window.setImmediate;\n\t var canPost = typeof window !== 'undefined'\n\t && window.postMessage && window.addEventListener\n\t ;\n\t\n\t if (canSetImmediate) {\n\t return function (f) { return window.setImmediate(f) };\n\t }\n\t\n\t if (canPost) {\n\t var queue = [];\n\t window.addEventListener('message', function (ev) {\n\t var source = ev.source;\n\t if ((source === window || source === null) && ev.data === 'process-tick') {\n\t ev.stopPropagation();\n\t if (queue.length > 0) {\n\t var fn = queue.shift();\n\t fn();\n\t }\n\t }\n\t }, true);\n\t\n\t return function nextTick(fn) {\n\t queue.push(fn);\n\t window.postMessage('process-tick', '*');\n\t };\n\t }\n\t\n\t return function nextTick(fn) {\n\t setTimeout(fn, 0);\n\t };\n\t})();\n\t\n\tprocess.title = 'browser';\n\tprocess.browser = true;\n\tprocess.env = {};\n\tprocess.argv = [];\n\t\n\tfunction noop() {}\n\t\n\tprocess.on = noop;\n\tprocess.addListener = noop;\n\tprocess.once = noop;\n\tprocess.off = noop;\n\tprocess.removeListener = noop;\n\tprocess.removeAllListeners = noop;\n\tprocess.emit = noop;\n\t\n\tprocess.binding = function (name) {\n\t throw new Error('process.binding is not supported');\n\t}\n\t\n\t// TODO(shtylman)\n\tprocess.cwd = function () { return '/' };\n\tprocess.chdir = function (dir) {\n\t throw new Error('process.chdir is not supported');\n\t};\n\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar utils = __webpack_require__(4);\n\t\n\tfunction encode(val) {\n\t return encodeURIComponent(val).\n\t replace(/%40/gi, '@').\n\t replace(/%3A/gi, ':').\n\t replace(/%24/g, '$').\n\t replace(/%2C/gi, ',').\n\t replace(/%20/g, '+');\n\t}\n\t\n\tmodule.exports = function buildUrl(url, params) {\n\t if (!params) {\n\t return url;\n\t }\n\t\n\t var parts = [];\n\t\n\t utils.forEach(params, function (val, key) {\n\t if (val === null || typeof val === 'undefined') {\n\t return;\n\t }\n\t if (!utils.isArray(val)) {\n\t val = [val];\n\t }\n\t\n\t utils.forEach(val, function (v) {\n\t if (utils.isDate(v)) {\n\t v = v.toISOString();\n\t }\n\t else if (utils.isObject(v)) {\n\t v = JSON.stringify(v);\n\t }\n\t parts.push(encode(key) + '=' + encode(v));\n\t });\n\t });\n\t\n\t if (parts.length > 0) {\n\t url += (url.indexOf('?') === -1 ? '?' : '&') + parts.join('&');\n\t }\n\t\n\t return url;\n\t};\n\n/***/ },\n/* 9 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar utils = __webpack_require__(4);\n\t\n\tmodule.exports = {\n\t write: function write(name, value, expires, path, domain, secure) {\n\t var cookie = [];\n\t cookie.push(name + '=' + encodeURIComponent(value));\n\t\n\t if (utils.isNumber(expires)) {\n\t cookie.push('expires=' + new Date(expires).toGMTString());\n\t }\n\t\n\t if (utils.isString(path)) {\n\t cookie.push('path=' + path);\n\t }\n\t\n\t if (utils.isString(domain)) {\n\t cookie.push('domain=' + domain);\n\t }\n\t\n\t if (secure === true) {\n\t cookie.push('secure');\n\t }\n\t\n\t document.cookie = cookie.join('; ');\n\t },\n\t\n\t read: function read(name) {\n\t var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n\t return (match ? decodeURIComponent(match[3]) : null);\n\t },\n\t\n\t remove: function remove(name) {\n\t this.write(name, '', Date.now() - 86400000);\n\t }\n\t};\n\n/***/ },\n/* 10 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar utils = __webpack_require__(4);\n\t\n\t/**\n\t * Parse headers into an object\n\t *\n\t * ```\n\t * Date: Wed, 27 Aug 2014 08:58:49 GMT\n\t * Content-Type: application/json\n\t * Connection: keep-alive\n\t * Transfer-Encoding: chunked\n\t * ```\n\t *\n\t * @param {String} headers Headers needing to be parsed\n\t * @returns {Object} Headers parsed into an object\n\t */\n\tmodule.exports = function parseHeaders(headers) {\n\t var parsed = {}, key, val, i;\n\t\n\t if (!headers) return parsed;\n\t\n\t utils.forEach(headers.split('\\n'), function(line) {\n\t i = line.indexOf(':');\n\t key = utils.trim(line.substr(0, i)).toLowerCase();\n\t val = utils.trim(line.substr(i + 1));\n\t\n\t if (key) {\n\t parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n\t }\n\t });\n\t\n\t return parsed;\n\t};\n\n/***/ },\n/* 11 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar utils = __webpack_require__(4);\n\t\n\t/**\n\t * Transform the data for a request or a response\n\t *\n\t * @param {Object|String} data The data to be transformed\n\t * @param {Array} headers The headers for the request or response\n\t * @param {Array|Function} fns A single function or Array of functions\n\t * @returns {*} The resulting transformed data\n\t */\n\tmodule.exports = function transformData(data, headers, fns) {\n\t utils.forEach(fns, function (fn) {\n\t data = fn(data, headers);\n\t });\n\t\n\t return data;\n\t};\n\n/***/ },\n/* 12 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar msie = /(msie|trident)/i.test(navigator.userAgent);\n\tvar utils = __webpack_require__(4);\n\tvar urlParsingNode = document.createElement('a');\n\tvar originUrl = urlResolve(window.location.href);\n\t\n\t/**\n\t * Parse a URL to discover it's components\n\t *\n\t * @param {String} url The URL to be parsed\n\t * @returns {Object}\n\t */\n\tfunction urlResolve(url) {\n\t var href = url;\n\t\n\t if (msie) {\n\t // IE needs attribute set twice to normalize properties\n\t urlParsingNode.setAttribute('href', href);\n\t href = urlParsingNode.href;\n\t }\n\t\n\t urlParsingNode.setAttribute('href', href);\n\t\n\t // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n\t return {\n\t href: urlParsingNode.href,\n\t protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n\t host: urlParsingNode.host,\n\t search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n\t hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n\t hostname: urlParsingNode.hostname,\n\t port: urlParsingNode.port,\n\t pathname: (urlParsingNode.pathname.charAt(0) === '/')\n\t ? urlParsingNode.pathname\n\t : '/' + urlParsingNode.pathname\n\t };\n\t}\n\t\n\t/**\n\t * Determine if a URL shares the same origin as the current location\n\t *\n\t * @param {String} requestUrl The URL to test\n\t * @returns {boolean} True if URL shares the same origin, otherwise false\n\t */\n\tmodule.exports = function urlIsSameOrigin(requestUrl) {\n\t var parsed = (utils.isString(requestUrl)) ? urlResolve(requestUrl) : requestUrl;\n\t return (parsed.protocol === originUrl.protocol &&\n\t parsed.host === originUrl.host);\n\t};\n\n/***/ }\n/******/ ])\n\n\n/** WEBPACK FOOTER **\n ** axios.standalone.min.js\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/** WEBPACK FOOTER **\n ** webpack/bootstrap a74cd3a4253eefc0a6c3\n **/","module.exports = require('./lib/axios');\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./index.js\n ** module id = 0\n ** module chunks = 0\n **/","var Promise = require('es6-promise').Promise;\nvar defaults = require('./defaults');\nvar utils = require('./utils');\n\nvar axios = module.exports = function axios(config) {\n config = utils.merge({\n method: 'get',\n headers: {},\n transformRequest: defaults.transformRequest,\n transformResponse: defaults.transformResponse\n }, config);\n\n // Don't allow overriding defaults.withCredentials\n config.withCredentials = config.withCredentials || defaults.withCredentials;\n\n var promise = new Promise(function (resolve, reject) {\n try {\n // For browsers use XHR adapter\n if (typeof window !== 'undefined') {\n require('./adapters/xhr')(resolve, reject, config);\n }\n // For node use HTTP adapter\n else if (typeof process !== 'undefined') {\n require('./adapters/http')(resolve, reject, config);\n }\n } catch (e) {\n reject(e);\n }\n });\n\n function deprecatedMethod(method, instead, docs) {\n try {\n console.warn(\n 'DEPRECATED method `' + method + '`.' +\n (instead ? ' Use `' + instead + '` instead.' : '') +\n ' This method will be removed in a future release.');\n\n if (docs) {\n console.warn('For more information about usage see ' + docs);\n }\n } catch (e) {}\n }\n\n // Provide alias for success\n promise.success = function success(fn) {\n deprecatedMethod('success', 'then', 'https://github.com/mzabriskie/axios/blob/master/README.md#response-api');\n\n promise.then(function(response) {\n fn(response.data, response.status, response.headers, response.config);\n });\n return promise;\n };\n\n // Provide alias for error\n promise.error = function error(fn) {\n deprecatedMethod('error', 'catch', 'https://github.com/mzabriskie/axios/blob/master/README.md#response-api');\n\n promise.then(null, function(response) {\n fn(response.data, response.status, response.headers, response.config);\n });\n return promise;\n };\n\n return promise;\n};\n\n// Expose defaults\naxios.defaults = defaults;\n\n// Expose all/spread\naxios.all = function (promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Provide aliases for supported request methods\ncreateShortMethods('delete', 'get', 'head');\ncreateShortMethodsWithData('post', 'put', 'patch');\n\nfunction createShortMethods() {\n utils.forEach(arguments, function (method) {\n axios[method] = function (url, config) {\n return axios(utils.merge(config || {}, {\n method: method,\n url: url\n }));\n };\n });\n}\n\nfunction createShortMethodsWithData() {\n utils.forEach(arguments, function (method) {\n axios[method] = function (url, data, config) {\n return axios(utils.merge(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n });\n}\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./lib/axios.js\n ** module id = 1\n ** module chunks = 0\n **/","module.exports = undefined;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external \"undefined\"\n ** module id = 2\n ** module chunks = 0\n **/","'use strict';\n\nvar utils = require('./utils');\n\nvar JSON_START = /^\\s*(\\[|\\{[^\\{])/;\nvar JSON_END = /[\\}\\]]\\s*$/;\nvar PROTECTION_PREFIX = /^\\)\\]\\}',?\\n/;\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nmodule.exports = {\n transformRequest: [function (data, headers) {\n if (utils.isArrayBuffer(data)) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isObject(data) && !utils.isFile(data) && !utils.isBlob(data)) {\n // Set application/json if no Content-Type has been specified\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = 'application/json;charset=utf-8';\n }\n return JSON.stringify(data);\n }\n return data;\n }],\n\n transformResponse: [function (data) {\n if (typeof data === 'string') {\n data = data.replace(PROTECTION_PREFIX, '');\n if (JSON_START.test(data) && JSON_END.test(data)) {\n data = JSON.parse(data);\n }\n }\n return data;\n }],\n\n headers: {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n },\n patch: utils.merge(DEFAULT_CONTENT_TYPE),\n post: utils.merge(DEFAULT_CONTENT_TYPE),\n put: utils.merge(DEFAULT_CONTENT_TYPE)\n },\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN'\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./lib/defaults.js\n ** module id = 3\n ** module chunks = 0\n **/","// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return toString.call(val) === '[object Array]';\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n return ArrayBuffer.isView(val);\n } else {\n return (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);\n }\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.replace(/^\\s*/, '').replace(/\\s*$/, '');\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array or arguments callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Check if obj is array-like\n var isArray = obj.constructor === Array || typeof obj.callee === 'function';\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object' && !isArray) {\n obj = [obj];\n }\n\n // Iterate over array values\n if (isArray) {\n for (var i=0, l=obj.length; i<l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n }\n // Iterate over object keys\n else {\n for (var key in obj) {\n if (obj.hasOwnProperty(key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(obj1/*, obj2, obj3, ...*/) {\n var result = {};\n forEach(arguments, function (obj) {\n forEach(obj, function (val, key) {\n result[key] = val;\n });\n });\n return result;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n forEach: forEach,\n merge: merge,\n trim: trim\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./lib/utils.js\n ** module id = 4\n ** module chunks = 0\n **/","var defaults = require('./../defaults');\nvar utils = require('./../utils');\nvar buildUrl = require('./../helpers/buildUrl');\nvar cookies = require('./../helpers/cookies');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar transformData = require('./../helpers/transformData');\nvar urlIsSameOrigin = require('./../helpers/urlIsSameOrigin');\n\nmodule.exports = function xhrAdapter(resolve, reject, config) {\n // Transform request data\n var data = transformData(\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Merge headers\n var headers = utils.merge(\n defaults.headers.common,\n defaults.headers[config.method] || {},\n config.headers || {}\n );\n\n // Create the request\n var request = new(XMLHttpRequest || ActiveXObject)('Microsoft.XMLHTTP');\n request.open(config.method, buildUrl(config.url, config.params), true);\n\n // Listen for ready state\n request.onreadystatechange = function () {\n if (request && request.readyState === 4) {\n // Prepare the response\n var headers = parseHeaders(request.getAllResponseHeaders());\n var response = {\n data: transformData(\n request.responseText,\n headers,\n config.transformResponse\n ),\n status: request.status,\n headers: headers,\n config: config\n };\n\n // Resolve or reject the Promise based on the status\n (request.status >= 200 && request.status < 300\n ? resolve\n : reject)(response);\n\n // Clean up request\n request = null;\n }\n };\n\n // Add xsrf header\n var xsrfValue = urlIsSameOrigin(config.url)\n ? cookies.read(config.xsrfCookieName || defaults.xsrfCookieName)\n : undefined;\n if (xsrfValue) {\n headers[config.xsrfHeaderName || defaults.xsrfHeaderName] = xsrfValue;\n }\n\n // Add headers to the request\n utils.forEach(headers, function (val, key) {\n // Remove Content-Type if data is undefined\n if (!data && key.toLowerCase() === 'content-type') {\n delete headers[key];\n }\n // Otherwise add header to the request\n else {\n request.setRequestHeader(key, val);\n }\n });\n\n // Add withCredentials to request if needed\n if (config.withCredentials) {\n request.withCredentials = true;\n }\n\n // Add responseType to request if needed\n if (config.responseType) {\n try {\n request.responseType = config.responseType;\n } catch (e) {\n if (request.responseType !== 'json') {\n throw e;\n }\n }\n }\n\n if (utils.isArrayBuffer(data)) {\n data = new DataView(data);\n }\n\n // Send the request\n request.send(data);\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./lib/adapters/xhr.js\n ** module id = 5\n ** module chunks = 0\n **/","/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function (arr) {\n callback.apply(null, arr);\n };\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./lib/helpers/spread.js\n ** module id = 6\n ** module chunks = 0\n **/","// shim for using process in browser\n\nvar process = module.exports = {};\n\nprocess.nextTick = (function () {\n var canSetImmediate = typeof window !== 'undefined'\n && window.setImmediate;\n var canPost = typeof window !== 'undefined'\n && window.postMessage && window.addEventListener\n ;\n\n if (canSetImmediate) {\n return function (f) { return window.setImmediate(f) };\n }\n\n if (canPost) {\n var queue = [];\n window.addEventListener('message', function (ev) {\n var source = ev.source;\n if ((source === window || source === null) && ev.data === 'process-tick') {\n ev.stopPropagation();\n if (queue.length > 0) {\n var fn = queue.shift();\n fn();\n }\n }\n }, true);\n\n return function nextTick(fn) {\n queue.push(fn);\n window.postMessage('process-tick', '*');\n };\n }\n\n return function nextTick(fn) {\n setTimeout(fn, 0);\n };\n})();\n\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n}\n\n// TODO(shtylman)\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** (webpack)/~/node-libs-browser/~/process/browser.js\n ** module id = 7\n ** module chunks = 0\n **/","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%40/gi, '@').\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+');\n}\n\nmodule.exports = function buildUrl(url, params) {\n if (!params) {\n return url;\n }\n\n var parts = [];\n\n utils.forEach(params, function (val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n if (!utils.isArray(val)) {\n val = [val];\n }\n\n utils.forEach(val, function (v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n }\n else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n if (parts.length > 0) {\n url += (url.indexOf('?') === -1 ? '?' : '&') + parts.join('&');\n }\n\n return url;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./lib/helpers/buildUrl.js\n ** module id = 8\n ** module chunks = 0\n **/","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./lib/helpers/cookies.js\n ** module id = 9\n ** module chunks = 0\n **/","'use strict';\n\nvar utils = require('./../utils');\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {}, key, val, i;\n\n if (!headers) return parsed;\n\n utils.forEach(headers.split('\\n'), function(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n });\n\n return parsed;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./lib/helpers/parseHeaders.js\n ** module id = 10\n ** module chunks = 0\n **/","'use strict';\n\nvar utils = require('./../utils');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n utils.forEach(fns, function (fn) {\n data = fn(data, headers);\n });\n\n return data;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./lib/helpers/transformData.js\n ** module id = 11\n ** module chunks = 0\n **/","'use strict';\n\nvar msie = /(msie|trident)/i.test(navigator.userAgent);\nvar utils = require('./../utils');\nvar urlParsingNode = document.createElement('a');\nvar originUrl = urlResolve(window.location.href);\n\n/**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\nfunction urlResolve(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/')\n ? urlParsingNode.pathname\n : '/' + urlParsingNode.pathname\n };\n}\n\n/**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestUrl The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\nmodule.exports = function urlIsSameOrigin(requestUrl) {\n var parsed = (utils.isString(requestUrl)) ? urlResolve(requestUrl) : requestUrl;\n return (parsed.protocol === originUrl.protocol &&\n parsed.host === originUrl.host);\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./lib/helpers/urlIsSameOrigin.js\n ** module id = 12\n ** module chunks = 0\n **/"],"sourceRoot":""}