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,OADAL,EAAW,EACJG,EAAS3F,OAAO,QAAS,IAElC,KAAK,GAEH,OADAwF,EAAW,EACJG,EAAS3F,OAAO,QAAS,IAElC,KAAK,GAEH,OADAwF,EAAW,EACJG,EAAS3F,OAAO,QAAS,IAElC,KAAK,GAEH,OADA2F,EAAS1M,KAAO,GACTyE,EAAO9H,QAAQI,IAAI,GAAGgE,OAAOuL,EAAgB,kBAAkBvL,OAAOwL,EAAU,aAAaxL,OAAOqC,IAE7G,KAAK,GAGH,OAFAoJ,EAAWE,EAAS9F,KACpB6F,EAAOD,EAASC,KACTC,EAAS3F,OAAO,SAAU0F,GAEnC,KAAK,GACL,IAAK,MACH,OAAOC,EAAS3B,UAGrBqB,MAxDiC,WAAc,IAAI1G,EAAO6B,KAAMsF,EAAOC,UAAW,OAAO,IAAIxC,SAAQ,SAAUpC,EAASC,GAAU,IAAI4D,EAAM5E,EAAG4F,MAAMrH,EAAMmH,GAAO,SAASb,EAAMzP,GAASuP,EAAmBC,EAAK7D,EAASC,EAAQ6D,EAAOC,EAAQ,OAAQ1P,GAAU,SAAS0P,EAAOrM,GAAOkM,EAAmBC,EAAK7D,EAASC,EAAQ6D,EAAOC,EAAQ,QAASrM,GAAQoM,OAAMrD,QA2D/W,OAAO,SAAaqE,GAClB,OAAOb,EAAMY,MAAMxF,KAAMuF,YA1DN,GA8DnBxM,EAAW4L,EACf5P,EAAAA,QAAkBgE","sources":["../node_modules/@micado-digital/react-tracking/ReactTracking/index.js","../node_modules/@micado-digital/react-tracking/utils/executeCode.js","../node_modules/@micado-digital/react-tracking/utils/getCodesByID.js","../node_modules/@micado-digital/react-tracking/utils/removeCode.js","../node_modules/@micado-digital/react-ui/utils/log.js"],"sourcesContent":["\"use strict\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireWildcard(require(\"react\"));\n\nvar _reactRouterDom = require(\"react-router-dom\");\n\nvar _cookie2 = require(\"@micado-digital/react-ui/utils/cookie\");\n\nvar _log = _interopRequireDefault(require(\"@micado-digital/react-ui/utils/log\"));\n\nvar _executeCode = _interopRequireDefault(require(\"../utils/executeCode\"));\n\nvar _getCodesByID = _interopRequireDefault(require(\"../utils/getCodesByID\"));\n\nvar _removeCode = _interopRequireDefault(require(\"../utils/removeCode\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\n\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nvar ReactTracking = function ReactTracking(_ref) {\n var _ref$codes = _ref.codes,\n codes = _ref$codes === void 0 ? [] : _ref$codes;\n\n var _useLocation = (0, _reactRouterDom.useLocation)(),\n pathname = _useLocation.pathname,\n search = _useLocation.search;\n\n var url = \"\".concat(pathname).concat(search);\n var blackList = [\"google-analytics\", \"google-analytics-v3\", \"google-analytics-v4\", \"google-tag-manager\", \"google-tag-manager-body\"];\n (0, _react.useEffect)(function () {\n sessionStorage.removeItem(\"mw-tracking-codes\");\n sessionStorage.setItem(\"mw-tracking-blacklist\", blackList);\n sessionStorage.setItem(\"mw-tracking-mode\", \"react\"); // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n (0, _react.useEffect)(function () {\n var _trackingCodes2, _trackingCodes2$split;\n\n // Check if consent is accepted\n var cookie = (0, _cookie2.getCookie)(\"mw-cookie-settings\");\n if (!cookie) return; // Get loaded tracking codes from session storage\n\n var _trackingCodes = sessionStorage.getItem(\"mw-tracking-codes\");\n\n _trackingCodes = _trackingCodes ? (_trackingCodes2 = _trackingCodes) === null || _trackingCodes2 === void 0 ? void 0 : (_trackingCodes2$split = _trackingCodes2.split(\",\")) === null || _trackingCodes2$split === void 0 ? void 0 : _trackingCodes2$split.map(function (item) {\n return parseInt(item);\n }) : []; // Parse consent cookie and execute or remove code\n\n var _ref2 = JSON.parse(cookie) || {},\n _ref2$list = _ref2.list,\n cookieList = _ref2$list === void 0 ? [] : _ref2$list;\n\n var _iterator = _createForOfIteratorHelper(cookieList),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var _cookie = _step.value;\n\n var _ref3 = _cookie || {},\n _ref3$accepted = _ref3.accepted,\n accepted = _ref3$accepted === void 0 ? false : _ref3$accepted,\n groupid = _ref3.groupid,\n id = _ref3.id;\n\n var _codes = (0, _getCodesByID.default)(id, codes) || {};\n\n var _iterator2 = _createForOfIteratorHelper(_codes),\n _step2;\n\n try {\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var _code = _step2.value;\n\n var _ref4 = _code || {},\n area = _ref4.area,\n code = _ref4.code,\n codeID = _ref4.id,\n identifier = _ref4.identifier;\n\n if (accepted) {\n if (groupid !== 0 && groupid !== 4 && _trackingCodes.indexOf(codeID) === -1) {\n if (!code) continue; // Check if identifier is black listed, if it is execute code only on page load\n\n var isInBlackList = blackList.includes(identifier);\n\n if (!isInBlackList && code.indexOf(\"GTM-\") > -1) {\n (0, _log.default)({\n message: \"Error in tracking: identifier \".concat(identifier, \" not found in blacklist - \").concat(blackList.join(\", \"))\n });\n }\n\n if (isInBlackList) {\n (0, _executeCode.default)({\n id: codeID,\n code: code,\n area: area,\n wrapper: false\n });\n\n _trackingCodes.push(codeID);\n } else {\n (0, _executeCode.default)({\n id: codeID,\n code: code,\n area: area\n });\n }\n }\n } else {\n (0, _removeCode.default)(codeID);\n }\n }\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n sessionStorage.setItem(\"mw-tracking-codes\", _trackingCodes); // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [url]);\n return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null);\n};\n\nvar _default = ReactTracking;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar executeCode = function executeCode(_ref) {\n var area = _ref.area,\n code = _ref.code,\n id = _ref.id,\n _ref$wrapper = _ref.wrapper,\n wrapper = _ref$wrapper === void 0 ? true : _ref$wrapper;\n if (!id || !code) return;\n var scriptString = code;\n\n if (wrapper) {\n scriptString = \"
\").concat(code, \"
\");\n }\n\n var range = document.createRange();\n var appendElement = null;\n\n if (area === \"body\" || area === \"footer\") {\n appendElement = document.getElementsByTagName(\"BODY\")[0];\n } else {\n appendElement = document.getElementsByTagName(\"HEAD\")[0];\n }\n\n range.selectNode(appendElement);\n appendElement.appendChild(range.createContextualFragment(scriptString));\n};\n\nvar _default = executeCode;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nvar getCodesByID = function getCodesByID(id, codes) {\n var _codes = [];\n\n var _iterator = _createForOfIteratorHelper(codes),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var code = _step.value;\n\n if (code.id === id || code.parentID === id) {\n _codes.push(code);\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n return _codes;\n};\n\nvar _default = getCodesByID;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar removeCode = function removeCode(id) {\n if (!id) return;\n var element = document.getElementById(\"mco-tracking--\".concat(id));\n if (!element) return;\n element.remove();\n};\n\nvar _default = removeCode;\nexports.default = _default;","\"use strict\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _axios = _interopRequireDefault(require(\"axios\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _regeneratorRuntime() { \"use strict\"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = \"function\" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || \"@@iterator\", asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\", toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, \"\"); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = \"suspendedStart\"; return function (method, arg) { if (\"executing\" === state) throw new Error(\"Generator is already running\"); if (\"completed\" === state) { if (\"throw\" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if (\"next\" === context.method) context.sent = context._sent = context.arg;else if (\"throw\" === context.method) { if (\"suspendedStart\" === state) throw state = \"completed\", context.arg; context.dispatchException(context.arg); } else \"return\" === context.method && context.abrupt(\"return\", context.arg); state = \"executing\"; var record = tryCatch(innerFn, self, context); if (\"normal\" === record.type) { if (state = context.done ? \"completed\" : \"suspendedYield\", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } \"throw\" === record.type && (state = \"completed\", context.method = \"throw\", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: \"normal\", arg: fn.call(obj, arg) }; } catch (err) { return { type: \"throw\", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { [\"next\", \"throw\", \"return\"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if (\"throw\" !== record.type) { var result = record.arg, value = result.value; return value && \"object\" == _typeof(value) && hasOwn.call(value, \"__await\") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke(\"next\", value, resolve, reject); }, function (err) { invoke(\"throw\", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke(\"throw\", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, \"throw\" === context.method) { if (delegate.iterator.return && (context.method = \"return\", context.arg = undefined, maybeInvokeDelegate(delegate, context), \"throw\" === context.method)) return ContinueSentinel; context.method = \"throw\", context.arg = new TypeError(\"The iterator does not provide a 'throw' method\"); } return ContinueSentinel; } var record = tryCatch(method, delegate.iterator, context.arg); if (\"throw\" === record.type) return context.method = \"throw\", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, \"return\" !== context.method && (context.method = \"next\", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = \"throw\", context.arg = new TypeError(\"iterator result is not an object\"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = \"normal\", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: \"root\" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if (\"function\" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, \"constructor\", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, \"GeneratorFunction\"), exports.isGeneratorFunction = function (genFun) { var ctor = \"function\" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || \"GeneratorFunction\" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, \"GeneratorFunction\")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, \"Generator\"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, \"toString\", function () { return \"[object Generator]\"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = \"next\", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { \"t\" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if (\"throw\" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = \"throw\", record.arg = exception, context.next = loc, caught && (context.method = \"next\", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if (\"root\" === entry.tryLoc) return handle(\"end\"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, \"catchLoc\"), hasFinally = hasOwn.call(entry, \"finallyLoc\"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error(\"try statement without catch or finally\"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, \"finallyLoc\") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && (\"break\" === type || \"continue\" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = \"next\", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if (\"throw\" === record.type) throw record.arg; return \"break\" === record.type || \"continue\" === record.type ? this.next = record.arg : \"return\" === record.type ? (this.rval = this.arg = record.arg, this.method = \"return\", this.next = \"end\") : \"normal\" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if (\"throw\" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error(\"illegal catch attempt\"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, \"next\" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }\n\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }\n\nfunction _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err); } _next(undefined); }); }; }\n\nvar log = /*#__PURE__*/function () {\n var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) {\n var message, _ref$type, type, REACT_APP_PATH, typeEnum, response, data;\n\n return _regeneratorRuntime().wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n message = _ref.message, _ref$type = _ref.type, type = _ref$type === void 0 ? \"error\" : _ref$type;\n REACT_APP_PATH = process.env.REACT_APP_PATH;\n\n if (type === \"warning\") {\n type = \"warn\";\n }\n\n if (message) {\n _context.next = 5;\n break;\n }\n\n return _context.abrupt(\"return\", \"message missing\");\n\n case 5:\n typeEnum = null;\n _context.t0 = type;\n _context.next = _context.t0 === \"info\" ? 9 : _context.t0 === \"warning\" ? 11 : _context.t0 === \"warn\" ? 11 : _context.t0 === \"error\" ? 13 : 13;\n break;\n\n case 9:\n typeEnum = 1;\n return _context.abrupt(\"break\", 15);\n\n case 11:\n typeEnum = 2;\n return _context.abrupt(\"break\", 15);\n\n case 13:\n typeEnum = 3;\n return _context.abrupt(\"break\", 15);\n\n case 15:\n _context.next = 17;\n return _axios.default.get(\"\".concat(REACT_APP_PATH, \"/log.api?type=\").concat(typeEnum, \"&message=\").concat(message));\n\n case 17:\n response = _context.sent;\n data = response.data;\n return _context.abrupt(\"return\", data);\n\n case 20:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n\n return function log(_x) {\n return _ref2.apply(this, arguments);\n };\n}();\n\nvar _default = log;\nexports.default = _default;"],"names":["_typeof","obj","Symbol","iterator","constructor","prototype","Object","defineProperty","exports","value","_react","nodeInterop","__esModule","default","cache","_getRequireWildcardCache","has","get","newObj","hasPropertyDescriptor","getOwnPropertyDescriptor","key","hasOwnProperty","call","desc","set","_interopRequireWildcard","require","_reactRouterDom","_cookie2","_log","_interopRequireDefault","_executeCode","_getCodesByID","_removeCode","WeakMap","cacheBabelInterop","cacheNodeInterop","_createForOfIteratorHelper","o","allowArrayLike","it","Array","isArray","minLen","_arrayLikeToArray","n","toString","slice","name","from","test","_unsupportedIterableToArray","length","i","F","s","done","e","_e","f","TypeError","err","normalCompletion","didErr","step","next","_e2","return","arr","len","arr2","_default","_ref","_ref$codes","codes","_useLocation","useLocation","pathname","search","url","concat","blackList","useEffect","sessionStorage","removeItem","setItem","_trackingCodes2","_trackingCodes2$split","cookie","getCookie","_trackingCodes","getItem","split","map","item","parseInt","_step","_ref2$list","JSON","parse","list","_iterator","_step2","_ref3","_ref3$accepted","accepted","groupid","id","_iterator2","_ref4","area","code","codeID","identifier","indexOf","isInBlackList","includes","message","join","wrapper","push","createElement","Fragment","_ref$wrapper","scriptString","range","document","createRange","appendElement","getElementsByTagName","selectNode","appendChild","createContextualFragment","_codes","parentID","element","getElementById","remove","_axios","_regeneratorRuntime","Op","hasOwn","$Symbol","iteratorSymbol","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","enumerable","configurable","writable","wrap","innerFn","outerFn","self","tryLocsList","protoGenerator","Generator","generator","create","context","Context","_invoke","state","method","arg","Error","doneResult","delegate","delegateResult","maybeInvokeDelegate","ContinueSentinel","sent","_sent","dispatchException","abrupt","record","tryCatch","type","fn","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","this","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","AsyncIterator","PromiseImpl","invoke","resolve","reject","result","__await","then","unwrapped","error","previousPromise","callInvokeWithMethodAndArg","undefined","info","resultName","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","displayName","isGeneratorFunction","genFun","ctor","mark","setPrototypeOf","__proto__","awrap","async","Promise","iter","keys","object","reverse","pop","skipTempReset","prev","charAt","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","catch","thrown","delegateYield","asyncGeneratorStep","gen","_next","_throw","log","_ref2","_callee","_ref$type","REACT_APP_PATH","typeEnum","response","data","_context","process","t0","args","arguments","apply","_x"],"sourceRoot":""}