{"version":3,"sources":["webpack:///./node_modules/@segment/analytics-next/dist/pkg/vendor/tsub/tsub.js","webpack:///./node_modules/@segment/analytics-next/dist/pkg/plugins/routing-middleware/index.js"],"names":["r","_typeof","obj","Symbol","iterator","constructor","prototype","self","t","e","n","this","__importDefault","__esModule","default","Object","defineProperty","value","Store","matches","transform","o","enumerable","get","s","i","Array","isArray","f","p","l","length","u","JSON","stringify","Error","concat","find","indexOf","a","star","chunk","pattern","c","ok","err","slice","v","toLowerCase","NaN","char","newChunk","type","parse","ir","rules","getRulesByDestinationName","destinationName","push","drop","forEach","allow","keys","includes","entries","map","hasOwnProperty","split","pop","join","copy","dset","move","unset","set","to_string","sample","percent","path","y","splice","parseInt","Math","random","config","shift","Float64Array","exports","Uint16Array","Uint32Array","Uint8Array","call","toStringTag","uint16","uint8","buffer","NEGATIVE_INFINITY","Number","POSITIVE_INFINITY","abs","assign","d","h","x","b","HIGH","LOW","configurable","writable","toString","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__","TypeError","__proto__","sin","PI","unescape","encodeURI","charCodeAt","module","tsubMiddleware","_a","payload","integration","next","rule","matchers","transformers"],"mappings":";6FAAA,sBAUcA,EAFd,SAASC,EAAQC,GAAmV,OAAtOD,EAArD,oBAAXE,QAAoD,kBAApBA,OAAOC,SAAmC,SAAiBF,GAAO,cAAcA,CAAK,EAAsB,SAAiBA,GAAO,OAAOA,GAAyB,oBAAXC,QAAyBD,EAAIG,cAAgBF,QAAUD,IAAQC,OAAOG,UAAY,gBAAkBJ,CAAK,EAAYD,EAAQC,EAAM,CAQvXK,KANYP,EAMN,WACN,OAAO,WACL,IAAIQ,EAAI,CACN,KAAM,SAAWA,EAAGR,EAAGS,GAGrB,IAAIC,EAAIC,MAAQA,KAAKC,iBAAmB,SAAUJ,GAChD,OAAOA,GAAKA,EAAEK,WAAaL,EAAI,CAC7BM,QAASN,EAEb,EAEAO,OAAOC,eAAehB,EAAG,aAAc,CACrCiB,OAAO,IACLjB,EAAEkB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ACF,C","file":"js/vendors~tsub-middleware-18f6769d21d4e9db1ede.chunk.js","sourcesContent":["\"use strict\"; // @ts-nocheck\n// prettier-ignore\n\n/* eslint-disable */\n// @segment/tsub 2.0.0 - GENERATED DO NOT MODIFY\n\n/*! For license information please see tsub.js.LICENSE.txt */\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n!function (t, r) {\n if (\"object\" == (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) && \"object\" == (typeof module === \"undefined\" ? \"undefined\" : _typeof(module))) module.exports = r();else if (\"function\" == typeof define && define.amd) define([], r);else {\n var e = r();\n\n for (var n in e) (\"object\" == (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) ? exports : t)[n] = e[n];\n }\n}(self, function () {\n return function () {\n var t = {\n 2870: function _(t, r, e) {\n \"use strict\";\n\n var n = this && this.__importDefault || function (t) {\n return t && t.__esModule ? t : {\n default: t\n };\n };\n\n Object.defineProperty(r, \"__esModule\", {\n value: !0\n }), r.Store = r.matches = r.transform = void 0;\n var o = e(4303);\n Object.defineProperty(r, \"transform\", {\n enumerable: !0,\n get: function get() {\n return n(o).default;\n }\n });\n var s = e(2370);\n Object.defineProperty(r, \"matches\", {\n enumerable: !0,\n get: function get() {\n return n(s).default;\n }\n });\n var i = e(1444);\n Object.defineProperty(r, \"Store\", {\n enumerable: !0,\n get: function get() {\n return n(i).default;\n }\n });\n },\n 2370: function _(t, r, e) {\n \"use strict\";\n\n var n = this && this.__importDefault || function (t) {\n return t && t.__esModule ? t : {\n default: t\n };\n };\n\n Object.defineProperty(r, \"__esModule\", {\n value: !0\n });\n var o = n(e(7843));\n\n function s(t, r) {\n if (!Array.isArray(t)) return !0 === i(t, r);\n var e,\n n,\n o,\n f,\n p = t[0];\n\n switch (p) {\n case \"!\":\n return !s(t[1], r);\n\n case \"or\":\n for (var l = 1; l < t.length; l++) if (s(t[l], r)) return !0;\n\n return !1;\n\n case \"and\":\n for (l = 1; l < t.length; l++) if (!s(t[l], r)) return !1;\n\n return !0;\n\n case \"=\":\n case \"!=\":\n return function (t, r, e, n) {\n switch (u(t) && (t = s(t, n)), u(r) && (r = s(r, n)), \"object\" == _typeof(t) && \"object\" == _typeof(r) && (t = JSON.stringify(t), r = JSON.stringify(r)), e) {\n case \"=\":\n return t === r;\n\n case \"!=\":\n return t !== r;\n\n default:\n throw new Error(\"Invalid operator in compareItems: \".concat(e));\n }\n }(i(t[1], r), i(t[2], r), p, r);\n\n case \"<=\":\n case \"<\":\n case \">\":\n case \">=\":\n return function (t, r, e, n) {\n if (u(t) && (t = s(t, n)), u(r) && (r = s(r, n)), \"number\" != typeof t || \"number\" != typeof r) return !1;\n\n switch (e) {\n case \"<=\":\n return t <= r;\n\n case \">=\":\n return t >= r;\n\n case \"<\":\n return t < r;\n\n case \">\":\n return t > r;\n\n default:\n throw new Error(\"Invalid operator in compareNumbers: \".concat(e));\n }\n }(i(t[1], r), i(t[2], r), p, r);\n\n case \"in\":\n return function (t, r, e) {\n return void 0 !== r.find(function (r) {\n return i(r, e) === t;\n });\n }(i(t[1], r), i(t[2], r), r);\n\n case \"contains\":\n return o = i(t[1], r), f = i(t[2], r), \"string\" == typeof o && \"string\" == typeof f && -1 !== o.indexOf(f);\n\n case \"match\":\n return e = i(t[1], r), n = i(t[2], r), \"string\" == typeof e && \"string\" == typeof n && function (t, r) {\n var e, n;\n\n t: for (; t.length > 0;) {\n var o, s;\n if (o = (e = a(t)).star, s = e.chunk, t = e.pattern, o && \"\" === s) return !0;\n var i = c(s, r),\n u = i.t,\n f = i.ok,\n p = i.err;\n if (p) return !1;\n\n if (!f || !(0 === u.length || t.length > 0)) {\n if (o) for (var l = 0; l < r.length; l++) {\n if (u = (n = c(s, r.slice(l + 1))).t, f = n.ok, p = n.err, f) {\n if (0 === t.length && u.length > 0) continue;\n r = u;\n continue t;\n }\n\n if (p) return !1;\n }\n return !1;\n }\n\n r = u;\n }\n\n return 0 === r.length;\n }(n, e);\n\n case \"lowercase\":\n var v = i(t[1], r);\n return \"string\" != typeof v ? null : v.toLowerCase();\n\n case \"typeof\":\n return _typeof(i(t[1], r));\n\n case \"length\":\n return function (t) {\n return null === t ? 0 : Array.isArray(t) || \"string\" == typeof t ? t.length : NaN;\n }(i(t[1], r));\n\n default:\n throw new Error(\"FQL IR could not evaluate for token: \".concat(p));\n }\n }\n\n function i(t, r) {\n return Array.isArray(t) ? t : \"object\" == _typeof(t) ? t.value : (0, o.default)(r, t);\n }\n\n function u(t) {\n return !!Array.isArray(t) && ((\"lowercase\" === t[0] || \"length\" === t[0] || \"typeof\" === t[0]) && 2 === t.length || (\"contains\" === t[0] || \"match\" === t[0]) && 3 === t.length);\n }\n\n function a(t) {\n for (var r = {\n star: !1,\n chunk: \"\",\n pattern: \"\"\n }; t.length > 0 && \"*\" === t[0];) t = t.slice(1), r.star = !0;\n\n var e,\n n = !1;\n\n t: for (e = 0; e < t.length; e++) switch (t[e]) {\n case \"\\\\\":\n e + 1 < t.length && e++;\n break;\n\n case \"[\":\n n = !0;\n break;\n\n case \"]\":\n n = !1;\n break;\n\n case \"*\":\n if (!n) break t;\n }\n\n return r.chunk = t.slice(0, e), r.pattern = t.slice(e), r;\n }\n\n function c(t, r) {\n for (var e, n, o = {\n t: \"\",\n ok: !1,\n err: !1\n }; t.length > 0;) {\n if (0 === r.length) return o;\n\n switch (t[0]) {\n case \"[\":\n var s = r[0];\n r = r.slice(1);\n var i = !0;\n (t = t.slice(1)).length > 0 && \"^\" === t[0] && (i = !1, t = t.slice(1));\n\n for (var u = !1, a = 0;;) {\n if (t.length > 0 && \"]\" === t[0] && a > 0) {\n t = t.slice(1);\n break;\n }\n\n var c,\n p = \"\";\n if (c = (e = f(t)).char, t = e.newChunk, e.err) return o;\n if (p = c, \"-\" === t[0] && (p = (n = f(t.slice(1))).char, t = n.newChunk, n.err)) return o;\n c <= s && s <= p && (u = !0), a++;\n }\n\n if (u !== i) return o;\n break;\n\n case \"?\":\n r = r.slice(1), t = t.slice(1);\n break;\n\n case \"\\\\\":\n if (0 === (t = t.slice(1)).length) return o.err = !0, o;\n\n default:\n if (t[0] !== r[0]) return o;\n r = r.slice(1), t = t.slice(1);\n }\n }\n\n return o.t = r, o.ok = !0, o.err = !1, o;\n }\n\n function f(t) {\n var r = {\n char: \"\",\n newChunk: \"\",\n err: !1\n };\n return 0 === t.length || \"-\" === t[0] || \"]\" === t[0] || \"\\\\\" === t[0] && 0 === (t = t.slice(1)).length ? (r.err = !0, r) : (r.char = t[0], r.newChunk = t.slice(1), 0 === r.newChunk.length && (r.err = !0), r);\n }\n\n r.default = function (t, r) {\n if (!r) throw new Error(\"No matcher supplied!\");\n\n switch (r.type) {\n case \"all\":\n return !0;\n\n case \"fql\":\n return function (t, r) {\n if (!t) return !1;\n\n try {\n t = JSON.parse(t);\n } catch (r) {\n throw new Error('Failed to JSON.parse FQL intermediate representation \"'.concat(t, '\": ').concat(r));\n }\n\n var e = s(t, r);\n return \"boolean\" == typeof e && e;\n }(r.ir, t);\n\n default:\n throw new Error(\"Matcher of type \".concat(r.type, \" unsupported.\"));\n }\n };\n },\n 1444: function _(t, r) {\n \"use strict\";\n\n Object.defineProperty(r, \"__esModule\", {\n value: !0\n });\n\n var e = function () {\n function t(t) {\n this.rules = [], this.rules = t || [];\n }\n\n return t.prototype.getRulesByDestinationName = function (t) {\n for (var r = [], e = 0, n = this.rules; e < n.length; e++) {\n var o = n[e];\n o.destinationName !== t && void 0 !== o.destinationName || r.push(o);\n }\n\n return r;\n }, t;\n }();\n\n r.default = e;\n },\n 4303: function _(t, r, e) {\n \"use strict\";\n\n var n = this && this.__importDefault || function (t) {\n return t && t.__esModule ? t : {\n default: t\n };\n };\n\n Object.defineProperty(r, \"__esModule\", {\n value: !0\n });\n var o = n(e(374)),\n s = n(e(7843)),\n i = n(e(5500)),\n u = e(9014),\n a = e(4966);\n\n function c(t, r) {\n p(t, r.drop, function (t, r) {\n r.forEach(function (r) {\n return delete t[r];\n });\n });\n }\n\n function f(t, r) {\n p(t, r.allow, function (t, r) {\n Object.keys(t).forEach(function (e) {\n r.includes(e) || delete t[e];\n });\n });\n }\n\n function p(t, r, e) {\n Object.entries(r).forEach(function (r) {\n var n = r[0],\n o = r[1],\n i = function i(t) {\n \"object\" == _typeof(t) && null !== t && e(t, o);\n },\n u = \"\" === n ? t : (0, s.default)(t, n);\n\n Array.isArray(u) ? u.forEach(i) : i(u);\n });\n }\n\n function l(t, r) {\n var e = JSON.parse(JSON.stringify(t));\n\n for (var n in r.map) if (r.map.hasOwnProperty(n)) {\n var o = r.map[n],\n i = n.split(\".\"),\n c = void 0;\n\n if (i.length > 1 ? (i.pop(), c = (0, s.default)(e, i.join(\".\"))) : c = t, \"object\" == _typeof(c)) {\n if (o.copy) {\n var f = (0, s.default)(e, o.copy);\n void 0 !== f && (0, u.dset)(t, n, f);\n } else if (o.move) {\n var p = (0, s.default)(e, o.move);\n void 0 !== p && (0, u.dset)(t, n, p), (0, a.unset)(t, o.move);\n } else o.hasOwnProperty(\"set\") && (0, u.dset)(t, n, o.set);\n\n if (o.to_string) {\n var l = (0, s.default)(t, n);\n if (\"string\" == typeof l || \"object\" == _typeof(l) && null !== l) continue;\n void 0 !== l ? (0, u.dset)(t, n, JSON.stringify(l)) : (0, u.dset)(t, n, \"undefined\");\n }\n }\n }\n }\n\n function v(t, r) {\n return !(r.sample.percent <= 0) && (r.sample.percent >= 1 || (r.sample.path ? function (t, r) {\n var e = (0, s.default)(t, r.sample.path),\n n = (0, o.default)(JSON.stringify(e)),\n u = -64,\n a = [];\n y(n.slice(0, 8), a);\n\n for (var c = 0, f = 0; f < 64 && 1 !== a[f]; f++) c++;\n\n if (0 !== c) {\n var p = [];\n y(n.slice(9, 16), p), u -= c, a.splice(0, c), p.splice(64 - c), a = a.concat(p);\n }\n\n return a[63] = 0 === a[63] ? 1 : 0, (0, i.default)(parseInt(a.join(\"\"), 2), u) < r.sample.percent;\n }(t, r) : (e = r.sample.percent, Math.random() <= e)));\n var e;\n }\n\n function y(t, r) {\n for (var e = 0; e < 8; e++) for (var n = t[e], o = 128; o >= 1; o /= 2) n - o >= 0 ? (n -= o, r.push(1)) : r.push(0);\n }\n\n r.default = function (t, r) {\n for (var e = t, n = 0, o = r; n < o.length; n++) {\n var s = o[n];\n\n switch (s.type) {\n case \"drop\":\n return null;\n\n case \"drop_properties\":\n c(e, s.config);\n break;\n\n case \"allow_properties\":\n f(e, s.config);\n break;\n\n case \"sample_event\":\n if (v(e, s.config)) break;\n return null;\n\n case \"map_properties\":\n l(e, s.config);\n break;\n\n case \"hash_properties\":\n break;\n\n default:\n throw new Error('Transformer of type \"'.concat(s.type, '\" is unsupported.'));\n }\n }\n\n return e;\n };\n },\n 4966: function _(t, r, e) {\n \"use strict\";\n\n var n = this && this.__importDefault || function (t) {\n return t && t.__esModule ? t : {\n default: t\n };\n };\n\n Object.defineProperty(r, \"__esModule\", {\n value: !0\n }), r.unset = void 0;\n var o = n(e(7843));\n\n r.unset = function (t, r) {\n if ((0, o.default)(t, r)) {\n for (var e = r.split(\".\"), n = e.pop(); e.length && \"\\\\\" === e[e.length - 1].slice(-1);) n = e.pop().slice(0, -1) + \".\" + n;\n\n for (; e.length;) t = t[r = e.shift()];\n\n return delete t[n];\n }\n\n return !0;\n };\n },\n 9014: function _(t, r) {\n r.dset = function (t, r, e) {\n r.split && (r = r.split(\".\"));\n\n for (var n, o, s = 0, i = r.length, u = t; s < i && \"__proto__\" !== (o = r[s++]) && \"constructor\" !== o && \"prototype\" !== o;) u = u[o] = s === i ? e : _typeof(n = u[o]) == _typeof(r) ? n : 0 * r[s] != 0 || ~(\"\" + r[s]).indexOf(\".\") ? {} : [];\n };\n },\n 3304: function _(t) {\n \"use strict\";\n\n var r = \"function\" == typeof Float64Array ? Float64Array : void 0;\n t.exports = r;\n },\n 7382: function _(t, r, e) {\n \"use strict\";\n\n var n,\n o = e(5569),\n s = e(3304),\n i = e(8482);\n n = o() ? s : i, t.exports = n;\n },\n 8482: function _(t) {\n \"use strict\";\n\n t.exports = function () {\n throw new Error(\"not implemented\");\n };\n },\n 6322: function _(t, r, e) {\n \"use strict\";\n\n var n,\n o = e(2508),\n s = e(5679),\n i = e(882);\n n = o() ? s : i, t.exports = n;\n },\n 882: function _(t) {\n \"use strict\";\n\n t.exports = function () {\n throw new Error(\"not implemented\");\n };\n },\n 5679: function _(t) {\n \"use strict\";\n\n var r = \"function\" == typeof Uint16Array ? Uint16Array : void 0;\n t.exports = r;\n },\n 4773: function _(t, r, e) {\n \"use strict\";\n\n var n,\n o = e(9773),\n s = e(3004),\n i = e(3078);\n n = o() ? s : i, t.exports = n;\n },\n 3078: function _(t) {\n \"use strict\";\n\n t.exports = function () {\n throw new Error(\"not implemented\");\n };\n },\n 3004: function _(t) {\n \"use strict\";\n\n var r = \"function\" == typeof Uint32Array ? Uint32Array : void 0;\n t.exports = r;\n },\n 7980: function _(t, r, e) {\n \"use strict\";\n\n var n,\n o = e(8114),\n s = e(6737),\n i = e(3357);\n n = o() ? s : i, t.exports = n;\n },\n 3357: function _(t) {\n \"use strict\";\n\n t.exports = function () {\n throw new Error(\"not implemented\");\n };\n },\n 6737: function _(t) {\n \"use strict\";\n\n var r = \"function\" == typeof Uint8Array ? Uint8Array : void 0;\n t.exports = r;\n },\n 2684: function _(t) {\n \"use strict\";\n\n var r = \"function\" == typeof Float64Array ? Float64Array : null;\n t.exports = r;\n },\n 5569: function _(t, r, e) {\n \"use strict\";\n\n var n = e(3876);\n t.exports = n;\n },\n 3876: function _(t, r, e) {\n \"use strict\";\n\n var n = e(1448),\n o = e(2684);\n\n t.exports = function () {\n var t, r;\n if (\"function\" != typeof o) return !1;\n\n try {\n r = new o([1, 3.14, -3.14, NaN]), t = n(r) && 1 === r[0] && 3.14 === r[1] && -3.14 === r[2] && r[3] != r[3];\n } catch (r) {\n t = !1;\n }\n\n return t;\n };\n },\n 9048: function _(t, r, e) {\n \"use strict\";\n\n var n = e(3763);\n t.exports = n;\n },\n 3763: function _(t) {\n \"use strict\";\n\n var r = Object.prototype.hasOwnProperty;\n\n t.exports = function (t, e) {\n return null != t && r.call(t, e);\n };\n },\n 7009: function _(t, r, e) {\n \"use strict\";\n\n var n = e(6784);\n t.exports = n;\n },\n 6784: function _(t) {\n \"use strict\";\n\n t.exports = function () {\n return \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol(\"foo\"));\n };\n },\n 3123: function _(t, r, e) {\n \"use strict\";\n\n var n = e(8481);\n t.exports = n;\n },\n 8481: function _(t, r, e) {\n \"use strict\";\n\n var n = e(7009)();\n\n t.exports = function () {\n return n && \"symbol\" == _typeof(Symbol.toStringTag);\n };\n },\n 2508: function _(t, r, e) {\n \"use strict\";\n\n var n = e(3403);\n t.exports = n;\n },\n 3403: function _(t, r, e) {\n \"use strict\";\n\n var n = e(768),\n o = e(9668),\n s = e(187);\n\n t.exports = function () {\n var t, r;\n if (\"function\" != typeof s) return !1;\n\n try {\n r = new s(r = [1, 3.14, -3.14, o + 1, o + 2]), t = n(r) && 1 === r[0] && 3 === r[1] && r[2] === o - 2 && 0 === r[3] && 1 === r[4];\n } catch (r) {\n t = !1;\n }\n\n return t;\n };\n },\n 187: function _(t) {\n \"use strict\";\n\n var r = \"function\" == typeof Uint16Array ? Uint16Array : null;\n t.exports = r;\n },\n 9773: function _(t, r, e) {\n \"use strict\";\n\n var n = e(2822);\n t.exports = n;\n },\n 2822: function _(t, r, e) {\n \"use strict\";\n\n var n = e(2744),\n o = e(3899),\n s = e(746);\n\n t.exports = function () {\n var t, r;\n if (\"function\" != typeof s) return !1;\n\n try {\n r = new s(r = [1, 3.14, -3.14, o + 1, o + 2]), t = n(r) && 1 === r[0] && 3 === r[1] && r[2] === o - 2 && 0 === r[3] && 1 === r[4];\n } catch (r) {\n t = !1;\n }\n\n return t;\n };\n },\n 746: function _(t) {\n \"use strict\";\n\n var r = \"function\" == typeof Uint32Array ? Uint32Array : null;\n t.exports = r;\n },\n 8114: function _(t, r, e) {\n \"use strict\";\n\n var n = e(8066);\n t.exports = n;\n },\n 8066: function _(t, r, e) {\n \"use strict\";\n\n var n = e(8279),\n o = e(3443),\n s = e(2731);\n\n t.exports = function () {\n var t, r;\n if (\"function\" != typeof s) return !1;\n\n try {\n r = new s(r = [1, 3.14, -3.14, o + 1, o + 2]), t = n(r) && 1 === r[0] && 3 === r[1] && r[2] === o - 2 && 0 === r[3] && 1 === r[4];\n } catch (r) {\n t = !1;\n }\n\n return t;\n };\n },\n 2731: function _(t) {\n \"use strict\";\n\n var r = \"function\" == typeof Uint8Array ? Uint8Array : null;\n t.exports = r;\n },\n 1448: function _(t, r, e) {\n \"use strict\";\n\n var n = e(1453);\n t.exports = n;\n },\n 1453: function _(t, r, e) {\n \"use strict\";\n\n var n = e(6208),\n o = \"function\" == typeof Float64Array;\n\n t.exports = function (t) {\n return o && t instanceof Float64Array || \"[object Float64Array]\" === n(t);\n };\n },\n 9331: function _(t, r, e) {\n \"use strict\";\n\n var n = e(7980),\n o = {\n uint16: e(6322),\n uint8: n\n };\n t.exports = o;\n },\n 5902: function _(t, r, e) {\n \"use strict\";\n\n var n = e(4106);\n t.exports = n;\n },\n 4106: function _(t, r, e) {\n \"use strict\";\n\n var n,\n o,\n s = e(9331);\n (o = new s.uint16(1))[0] = 4660, n = 52 === new s.uint8(o.buffer)[0], t.exports = n;\n },\n 768: function _(t, r, e) {\n \"use strict\";\n\n var n = e(3823);\n t.exports = n;\n },\n 3823: function _(t, r, e) {\n \"use strict\";\n\n var n = e(6208),\n o = \"function\" == typeof Uint16Array;\n\n t.exports = function (t) {\n return o && t instanceof Uint16Array || \"[object Uint16Array]\" === n(t);\n };\n },\n 2744: function _(t, r, e) {\n \"use strict\";\n\n var n = e(2326);\n t.exports = n;\n },\n 2326: function _(t, r, e) {\n \"use strict\";\n\n var n = e(6208),\n o = \"function\" == typeof Uint32Array;\n\n t.exports = function (t) {\n return o && t instanceof Uint32Array || \"[object Uint32Array]\" === n(t);\n };\n },\n 8279: function _(t, r, e) {\n \"use strict\";\n\n var n = e(208);\n t.exports = n;\n },\n 208: function _(t, r, e) {\n \"use strict\";\n\n var n = e(6208),\n o = \"function\" == typeof Uint8Array;\n\n t.exports = function (t) {\n return o && t instanceof Uint8Array || \"[object Uint8Array]\" === n(t);\n };\n },\n 6315: function _(t) {\n \"use strict\";\n\n t.exports = 1023;\n },\n 1686: function _(t) {\n \"use strict\";\n\n t.exports = 2147483647;\n },\n 3105: function _(t) {\n \"use strict\";\n\n t.exports = 2146435072;\n },\n 3449: function _(t) {\n \"use strict\";\n\n t.exports = 2147483648;\n },\n 6988: function _(t) {\n \"use strict\";\n\n t.exports = -1023;\n },\n 9777: function _(t) {\n \"use strict\";\n\n t.exports = 1023;\n },\n 3690: function _(t) {\n \"use strict\";\n\n t.exports = -1074;\n },\n 2918: function _(t, r, e) {\n \"use strict\";\n\n var n = e(4772).NEGATIVE_INFINITY;\n t.exports = n;\n },\n 4165: function _(t) {\n \"use strict\";\n\n var r = Number.POSITIVE_INFINITY;\n t.exports = r;\n },\n 6488: function _(t) {\n \"use strict\";\n\n t.exports = 22250738585072014e-324;\n },\n 9668: function _(t) {\n \"use strict\";\n\n t.exports = 65535;\n },\n 3899: function _(t) {\n \"use strict\";\n\n t.exports = 4294967295;\n },\n 3443: function _(t) {\n \"use strict\";\n\n t.exports = 255;\n },\n 7011: function _(t, r, e) {\n \"use strict\";\n\n var n = e(812);\n t.exports = n;\n },\n 812: function _(t, r, e) {\n \"use strict\";\n\n var n = e(4165),\n o = e(2918);\n\n t.exports = function (t) {\n return t === n || t === o;\n };\n },\n 1883: function _(t, r, e) {\n \"use strict\";\n\n var n = e(1797);\n t.exports = n;\n },\n 1797: function _(t) {\n \"use strict\";\n\n t.exports = function (t) {\n return t != t;\n };\n },\n 513: function _(t, r, e) {\n \"use strict\";\n\n var n = e(5760);\n t.exports = n;\n },\n 5760: function _(t) {\n \"use strict\";\n\n t.exports = function (t) {\n return Math.abs(t);\n };\n },\n 5848: function _(t, r, e) {\n \"use strict\";\n\n var n = e(677);\n t.exports = n;\n },\n 677: function _(t, r, e) {\n \"use strict\";\n\n var n = e(3449),\n o = e(1686),\n s = e(7838),\n i = e(1921),\n u = e(2490),\n a = [0, 0];\n\n t.exports = function (t, r) {\n var e, c;\n return s.assign(t, a, 1, 0), e = a[0], e &= o, c = i(r), u(e |= c &= n, a[1]);\n };\n },\n 5500: function _(t, r, e) {\n \"use strict\";\n\n var n = e(8397);\n t.exports = n;\n },\n 8397: function _(t, r, e) {\n \"use strict\";\n\n var n = e(4165),\n o = e(2918),\n s = e(6315),\n i = e(9777),\n u = e(6988),\n a = e(3690),\n c = e(1883),\n f = e(7011),\n p = e(5848),\n l = e(4948),\n v = e(8478),\n y = e(7838),\n d = e(2490),\n h = [0, 0],\n x = [0, 0];\n\n t.exports = function (t, r) {\n var e, b;\n return 0 === t || c(t) || f(t) ? t : (l(h, t), r += h[1], (r += v(t = h[0])) < a ? p(0, t) : r > i ? t < 0 ? o : n : (r <= u ? (r += 52, b = 2220446049250313e-31) : b = 1, y(x, t), e = x[0], e &= 2148532223, b * d(e |= r + s << 20, x[1])));\n };\n },\n 4772: function _(t, r, e) {\n \"use strict\";\n\n var n = e(7548);\n t.exports = n;\n },\n 7548: function _(t) {\n \"use strict\";\n\n t.exports = Number;\n },\n 8478: function _(t, r, e) {\n \"use strict\";\n\n var n = e(4500);\n t.exports = n;\n },\n 4500: function _(t, r, e) {\n \"use strict\";\n\n var n = e(1921),\n o = e(3105),\n s = e(6315);\n\n t.exports = function (t) {\n var r = n(t);\n return (r = (r & o) >>> 20) - s | 0;\n };\n },\n 2490: function _(t, r, e) {\n \"use strict\";\n\n var n = e(9639);\n t.exports = n;\n },\n 4445: function _(t, r, e) {\n \"use strict\";\n\n var n, o, s;\n !0 === e(5902) ? (o = 1, s = 0) : (o = 0, s = 1), n = {\n HIGH: o,\n LOW: s\n }, t.exports = n;\n },\n 9639: function _(t, r, e) {\n \"use strict\";\n\n var n = e(4773),\n o = e(7382),\n s = e(4445),\n i = new o(1),\n u = new n(i.buffer),\n a = s.HIGH,\n c = s.LOW;\n\n t.exports = function (t, r) {\n return u[a] = t, u[c] = r, i[0];\n };\n },\n 5646: function _(t, r, e) {\n \"use strict\";\n\n var n;\n n = !0 === e(5902) ? 1 : 0, t.exports = n;\n },\n 1921: function _(t, r, e) {\n \"use strict\";\n\n var n = e(6285);\n t.exports = n;\n },\n 6285: function _(t, r, e) {\n \"use strict\";\n\n var n = e(4773),\n o = e(7382),\n s = e(5646),\n i = new o(1),\n u = new n(i.buffer);\n\n t.exports = function (t) {\n return i[0] = t, u[s];\n };\n },\n 9024: function _(t, r, e) {\n \"use strict\";\n\n var n = e(6488),\n o = e(7011),\n s = e(1883),\n i = e(513);\n\n t.exports = function (t, r, e, u) {\n return s(t) || o(t) ? (r[u] = t, r[u + e] = 0, r) : 0 !== t && i(t) < n ? (r[u] = 4503599627370496 * t, r[u + e] = -52, r) : (r[u] = t, r[u + e] = 0, r);\n };\n },\n 4948: function _(t, r, e) {\n \"use strict\";\n\n var n = e(7576),\n o = e(9422);\n n(o, \"assign\", e(9024)), t.exports = o;\n },\n 9422: function _(t, r, e) {\n \"use strict\";\n\n var n = e(9024);\n\n t.exports = function (t) {\n return n(t, [0, 0], 1, 0);\n };\n },\n 5239: function _(t, r, e) {\n \"use strict\";\n\n var n = e(4773),\n o = e(7382),\n s = e(5782),\n i = new o(1),\n u = new n(i.buffer),\n a = s.HIGH,\n c = s.LOW;\n\n t.exports = function (t, r, e, n) {\n return i[0] = t, r[n] = u[a], r[n + e] = u[c], r;\n };\n },\n 7838: function _(t, r, e) {\n \"use strict\";\n\n var n = e(7576),\n o = e(4010);\n n(o, \"assign\", e(5239)), t.exports = o;\n },\n 5782: function _(t, r, e) {\n \"use strict\";\n\n var n, o, s;\n !0 === e(5902) ? (o = 1, s = 0) : (o = 0, s = 1), n = {\n HIGH: o,\n LOW: s\n }, t.exports = n;\n },\n 4010: function _(t, r, e) {\n \"use strict\";\n\n var n = e(5239);\n\n t.exports = function (t) {\n return n(t, [0, 0], 1, 0);\n };\n },\n 7576: function _(t, r, e) {\n \"use strict\";\n\n var n = e(7063);\n t.exports = n;\n },\n 7063: function _(t, r, e) {\n \"use strict\";\n\n var n = e(6691);\n\n t.exports = function (t, r, e) {\n n(t, r, {\n configurable: !1,\n enumerable: !1,\n writable: !1,\n value: e\n });\n };\n },\n 2073: function _(t) {\n \"use strict\";\n\n var r = Object.defineProperty;\n t.exports = r;\n },\n 1680: function _(t) {\n \"use strict\";\n\n var r = \"function\" == typeof Object.defineProperty ? Object.defineProperty : null;\n t.exports = r;\n },\n 1471: function _(t, r, e) {\n \"use strict\";\n\n var n = e(1680);\n\n t.exports = function () {\n try {\n return n({}, \"x\", {}), !0;\n } catch (t) {\n return !1;\n }\n };\n },\n 6691: function _(t, r, e) {\n \"use strict\";\n\n var n,\n o = e(1471),\n s = e(2073),\n i = e(1309);\n n = o() ? s : i, t.exports = n;\n },\n 1309: function _(t) {\n \"use strict\";\n\n var r = Object.prototype,\n e = r.toString,\n n = r.__defineGetter__,\n o = r.__defineSetter__,\n s = r.__lookupGetter__,\n i = r.__lookupSetter__;\n\n t.exports = function (t, u, a) {\n var c, f, p, l;\n if (\"object\" != _typeof(t) || null === t || \"[object Array]\" === e.call(t)) throw new TypeError(\"invalid argument. First argument must be an object. Value: `\" + t + \"`.\");\n if (\"object\" != _typeof(a) || null === a || \"[object Array]\" === e.call(a)) throw new TypeError(\"invalid argument. Property descriptor must be an object. Value: `\" + a + \"`.\");\n if ((f = \"value\" in a) && (s.call(t, u) || i.call(t, u) ? (c = t.__proto__, t.__proto__ = r, delete t[u], t[u] = a.value, t.__proto__ = c) : t[u] = a.value), p = \"get\" in a, l = \"set\" in a, f && (p || l)) throw new Error(\"invalid argument. Cannot specify one or more accessors and a value or writable attribute in the property descriptor.\");\n return p && n && n.call(t, u, a.get), l && o && o.call(t, u, a.set), t;\n };\n },\n 6208: function _(t, r, e) {\n \"use strict\";\n\n var n,\n o = e(3123),\n s = e(7407),\n i = e(4210);\n n = o() ? i : s, t.exports = n;\n },\n 7407: function _(t, r, e) {\n \"use strict\";\n\n var n = e(173);\n\n t.exports = function (t) {\n return n.call(t);\n };\n },\n 4210: function _(t, r, e) {\n \"use strict\";\n\n var n = e(9048),\n o = e(1403),\n s = e(173);\n\n t.exports = function (t) {\n var r, e, i;\n if (null == t) return s.call(t);\n e = t[o], r = n(t, o);\n\n try {\n t[o] = void 0;\n } catch (r) {\n return s.call(t);\n }\n\n return i = s.call(t), r ? t[o] = e : delete t[o], i;\n };\n },\n 173: function _(t) {\n \"use strict\";\n\n var r = Object.prototype.toString;\n t.exports = r;\n },\n 1403: function _(t) {\n \"use strict\";\n\n var r = \"function\" == typeof Symbol ? Symbol.toStringTag : \"\";\n t.exports = r;\n },\n 7843: function _(t) {\n t.exports = function (t, r, e, n, o) {\n for (r = r.split ? r.split(\".\") : r, n = 0; n < r.length; n++) t = t ? t[r[n]] : o;\n\n return t === o ? e : t;\n };\n },\n 374: function _(t, r, e) {\n \"use strict\";\n\n e.r(r), e.d(r, {\n default: function _default() {\n return s;\n }\n });\n\n for (var n = [], o = 0; o < 64;) n[o] = 0 | 4294967296 * Math.sin(++o % Math.PI);\n\n function s(t) {\n var r,\n e,\n s,\n i = [r = 1732584193, e = 4023233417, ~r, ~e],\n u = [],\n a = unescape(encodeURI(t)) + \"€\",\n c = a.length;\n\n for (t = --c / 4 + 2 | 15, u[--t] = 8 * c; ~c;) u[c >> 2] |= a.charCodeAt(c) << 8 * c--;\n\n for (o = a = 0; o < t; o += 16) {\n for (c = i; a < 64; c = [s = c[3], r + ((s = c[0] + [r & e | ~r & s, s & r | ~s & e, r ^ e ^ s, e ^ (r | ~s)][c = a >> 4] + n[a] + ~~u[o | 15 & [a, 5 * a + 1, 3 * a + 5, 7 * a][c]]) << (c = [7, 12, 17, 22, 5, 9, 14, 20, 4, 11, 16, 23, 6, 10, 15, 21][4 * c + a++ % 4]) | s >>> -c), r, e]) r = 0 | c[1], e = c[2];\n\n for (a = 4; a;) i[--a] += c[a];\n }\n\n for (t = \"\"; a < 32;) t += (i[a >> 3] >> 4 * (1 ^ a++) & 15).toString(16);\n\n return t;\n }\n }\n },\n r = {};\n\n function e(n) {\n var o = r[n];\n if (void 0 !== o) return o.exports;\n var s = r[n] = {\n exports: {}\n };\n return t[n].call(s.exports, s, s.exports, e), s.exports;\n }\n\n return e.d = function (t, r) {\n for (var n in r) e.o(r, n) && !e.o(t, n) && Object.defineProperty(t, n, {\n enumerable: !0,\n get: r[n]\n });\n }, e.o = function (t, r) {\n return Object.prototype.hasOwnProperty.call(t, r);\n }, e.r = function (t) {\n \"undefined\" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {\n value: \"Module\"\n }), Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n }, e(2870);\n }();\n});","// @ts-ignore\nimport * as tsub from '../../vendor/tsub/tsub';\nexport var tsubMiddleware = function tsubMiddleware(rules) {\n return function (_a) {\n var payload = _a.payload,\n integration = _a.integration,\n next = _a.next;\n var store = new tsub.Store(rules);\n var rulesToApply = store.getRulesByDestinationName(integration);\n rulesToApply.forEach(function (rule) {\n var matchers = rule.matchers,\n transformers = rule.transformers;\n\n for (var i = 0; i < matchers.length; i++) {\n if (tsub.matches(payload.obj, matchers[i])) {\n payload.obj = tsub.transform(payload.obj, transformers[i]);\n\n if (payload.obj === null) {\n return next(null);\n }\n }\n }\n });\n next(payload);\n };\n};"],"sourceRoot":""}