{"version":3,"sources":["webpack:///./node_modules/js-cookie/dist/js.cookie.js"],"names":["global","factory","module","exports","this","assign","target","i","arguments","length","source","key","defaultConverter","read","value","slice","replace","decodeURIComponent","write","encodeURIComponent","init","converter","defaultAttributes","set","attributes","document","expires","Date","now","toUTCString","escape","stringifiedAttributes","attributeName","split","cookie","get","cookies","jar","parts","join","foundKey","e","Object","create","remove","withAttributes","withConverter","freeze","api","path"],"mappings":"qGAEC,SAAUA,EAAQC,GAC8CC,EAAOC,QAAUF,KADlF,CAQEG,GAAM,WAAe,aAGrB,SAASC,EAAQC,GACf,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CACzC,IAAIG,EAASF,UAAUD,GACvB,IAAK,IAAII,KAAOD,EACdJ,EAAOK,GAAOD,EAAOC,GAGzB,OAAOL,EAKT,IAAIM,EAAmB,CACrBC,KAAM,SAAUC,GAId,MAHiB,MAAbA,EAAM,KACRA,EAAQA,EAAMC,MAAM,GAAI,IAEnBD,EAAME,QAAQ,mBAAoBC,qBAE3CC,MAAO,SAAUJ,GACf,OAAOK,mBAAmBL,GAAOE,QAC/B,2CACAC,sBAQN,SAASG,EAAMC,EAAWC,GACxB,SAASC,EAAKZ,EAAKG,EAAOU,GACxB,GAAwB,qBAAbC,SAAX,CAIAD,EAAanB,EAAO,GAAIiB,EAAmBE,GAET,kBAAvBA,EAAWE,UACpBF,EAAWE,QAAU,IAAIC,KAAKA,KAAKC,MAA6B,MAArBJ,EAAWE,UAEpDF,EAAWE,UACbF,EAAWE,QAAUF,EAAWE,QAAQG,eAG1ClB,EAAMQ,mBAAmBR,GACtBK,QAAQ,uBAAwBC,oBAChCD,QAAQ,QAASc,QAEpB,IAAIC,EAAwB,GAC5B,IAAK,IAAIC,KAAiBR,EACnBA,EAAWQ,KAIhBD,GAAyB,KAAOC,GAEE,IAA9BR,EAAWQ,KAWfD,GAAyB,IAAMP,EAAWQ,GAAeC,MAAM,KAAK,KAGtE,OAAQR,SAASS,OACfvB,EAAM,IAAMU,EAAUH,MAAMJ,EAAOH,GAAOoB,GAG9C,SAASI,EAAKxB,GACZ,GAAwB,qBAAbc,YAA6BjB,UAAUC,QAAWE,GAA7D,CAQA,IAFA,IAAIyB,EAAUX,SAASS,OAAST,SAASS,OAAOD,MAAM,MAAQ,GAC1DI,EAAM,GACD9B,EAAI,EAAGA,EAAI6B,EAAQ3B,OAAQF,IAAK,CACvC,IAAI+B,EAAQF,EAAQ7B,GAAG0B,MAAM,KACzBnB,EAAQwB,EAAMvB,MAAM,GAAGwB,KAAK,KAEhC,IACE,IAAIC,EAAWvB,mBAAmBqB,EAAM,IAGxC,GAFAD,EAAIG,GAAYnB,EAAUR,KAAKC,EAAO0B,GAElC7B,IAAQ6B,EACV,MAEF,MAAOC,KAGX,OAAO9B,EAAM0B,EAAI1B,GAAO0B,GAG1B,OAAOK,OAAOC,OACZ,CACEpB,IAAKA,EACLY,IAAKA,EACLS,OAAQ,SAAUjC,EAAKa,GACrBD,EACEZ,EACA,GACAN,EAAO,GAAImB,EAAY,CACrBE,SAAU,MAIhBmB,eAAgB,SAAUrB,GACxB,OAAOJ,EAAKhB,KAAKiB,UAAWhB,EAAO,GAAID,KAAKoB,WAAYA,KAE1DsB,cAAe,SAAUzB,GACvB,OAAOD,EAAKf,EAAO,GAAID,KAAKiB,UAAWA,GAAYjB,KAAKoB,cAG5D,CACEA,WAAY,CAAEV,MAAO4B,OAAOK,OAAOzB,IACnCD,UAAW,CAAEP,MAAO4B,OAAOK,OAAO1B,MAKxC,IAAI2B,EAAM5B,EAAKR,EAAkB,CAAEqC,KAAM,MAGzC,OAAOD","file":"js/npm.js-cookie.3ac55701.js","sourcesContent":["/*! js-cookie v3.0.1 | MIT */\n;\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (global = global || self, (function () {\n var current = global.Cookies;\n var exports = global.Cookies = factory();\n exports.noConflict = function () { global.Cookies = current; return exports; };\n }()));\n}(this, (function () { 'use strict';\n\n /* eslint-disable no-var */\n function assign (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n target[key] = source[key];\n }\n }\n return target\n }\n /* eslint-enable no-var */\n\n /* eslint-disable no-var */\n var defaultConverter = {\n read: function (value) {\n if (value[0] === '\"') {\n value = value.slice(1, -1);\n }\n return value.replace(/(%[\\dA-F]{2})+/gi, decodeURIComponent)\n },\n write: function (value) {\n return encodeURIComponent(value).replace(\n /%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,\n decodeURIComponent\n )\n }\n };\n /* eslint-enable no-var */\n\n /* eslint-disable no-var */\n\n function init (converter, defaultAttributes) {\n function set (key, value, attributes) {\n if (typeof document === 'undefined') {\n return\n }\n\n attributes = assign({}, defaultAttributes, attributes);\n\n if (typeof attributes.expires === 'number') {\n attributes.expires = new Date(Date.now() + attributes.expires * 864e5);\n }\n if (attributes.expires) {\n attributes.expires = attributes.expires.toUTCString();\n }\n\n key = encodeURIComponent(key)\n .replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent)\n .replace(/[()]/g, escape);\n\n var stringifiedAttributes = '';\n for (var attributeName in attributes) {\n if (!attributes[attributeName]) {\n continue\n }\n\n stringifiedAttributes += '; ' + attributeName;\n\n if (attributes[attributeName] === true) {\n continue\n }\n\n // Considers RFC 6265 section 5.2:\n // ...\n // 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n // character:\n // Consume the characters of the unparsed-attributes up to,\n // not including, the first %x3B (\";\") character.\n // ...\n stringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n }\n\n return (document.cookie =\n key + '=' + converter.write(value, key) + stringifiedAttributes)\n }\n\n function get (key) {\n if (typeof document === 'undefined' || (arguments.length && !key)) {\n return\n }\n\n // To prevent the for loop in the first place assign an empty array\n // in case there are no cookies at all.\n var cookies = document.cookie ? document.cookie.split('; ') : [];\n var jar = {};\n for (var i = 0; i < cookies.length; i++) {\n var parts = cookies[i].split('=');\n var value = parts.slice(1).join('=');\n\n try {\n var foundKey = decodeURIComponent(parts[0]);\n jar[foundKey] = converter.read(value, foundKey);\n\n if (key === foundKey) {\n break\n }\n } catch (e) {}\n }\n\n return key ? jar[key] : jar\n }\n\n return Object.create(\n {\n set: set,\n get: get,\n remove: function (key, attributes) {\n set(\n key,\n '',\n assign({}, attributes, {\n expires: -1\n })\n );\n },\n withAttributes: function (attributes) {\n return init(this.converter, assign({}, this.attributes, attributes))\n },\n withConverter: function (converter) {\n return init(assign({}, this.converter, converter), this.attributes)\n }\n },\n {\n attributes: { value: Object.freeze(defaultAttributes) },\n converter: { value: Object.freeze(converter) }\n }\n )\n }\n\n var api = init(defaultConverter, { path: '/' });\n /* eslint-enable no-var */\n\n return api;\n\n})));\n"],"sourceRoot":""}