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+1D,sBAAuB1zD,KAAKC,UAAU,CAAEqzD,gBAAiBt1D,IAAM2vD,mBAAoB1sD,KAAK0sD,mBAAoBgG,cAAe70D,KAAQmC,KAAKqqD,aAAc7xB,GAAGlB,GAAGO,WAAY73B,KAAKqqD,WAAWlsD,YAAa8hC,GAAGoC,8BAA8BriC,KAAK8pD,qBAAsB9pD,KAAKysD,OAASzsD,KAAKysD,OAAOzoD,MAAMhH,EAAE5C,QAAS4F,KAAK8pD,oBAAoBvpB,SAAWvgC,KAAK8pD,oBAAoBvpB,SAASv8B,MAAM3G,EAAEjD,QAAS4F,KAAK8pD,oBAAoBxpB,OAAStgC,KAAK8pD,oBAAoBxpB,OAAOt8B,MAAM9G,EAAE9C,QAAS+sD,GAAGtpD,EACx9B,GACF,CACA,gBAAAgzB,GACEtE,GAAGsE,mBAAoB7wB,KAAKqpD,yBAA2B,EAAGrpD,KAAKgtD,mBAAoB,IAAqBv9C,MAAQyB,SAClH,EAEF/W,EAAGw4D,mBAAqB1yB,GAAI9lC,EAAGy4D,iBAAmBxL,GAAIjtD,EAAG04D,UAAY7J,GAAI7uD,EAAG24D,iBAAmBjK,GAAI1uD,EAAG44D,eAAiBt8B,GAAIt8B,EAAG64D,uBAAyB/5B,GAAIv+B,OAAOE,eAAeT,EAAIa,OAAOC,YAAa,CAAEC,MAAO,UACpN,CA7+JEb,CAAEH,GAg/JN,MAAM+4D,EAAqBj5D,EAAG,CAC5By/C,UAAW,MACV,CAHMt+C,EAAGC,S","sources":["webpack://app/./node_modules/highlight.run/dist/index-D9pynCqZ.js"],"sourcesContent":["import { c as dn } from \"./index-DZf_NV3o.js\";\nfunction ia(wt, Lt) {\n for (var We = 0; We < Lt.length; We++) {\n const $ = Lt[We];\n if (typeof $ != \"string\" && !Array.isArray($)) {\n for (const de in $)\n if (de !== \"default\" && !(de in wt)) {\n const dt = Object.getOwnPropertyDescriptor($, de);\n dt && Object.defineProperty(wt, de, dt.get ? dt : {\n enumerable: !0,\n get: () => $[de]\n });\n }\n }\n }\n return Object.freeze(Object.defineProperty(wt, Symbol.toStringTag, { value: \"Module\" }));\n}\nvar un = { exports: {} };\n(function(wt, Lt) {\n (function(We, $) {\n $(Lt);\n })(dn, function(We) {\n var $, de, dt = Object.defineProperty, Co = Object.defineProperties, Ro = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, pn = Object.prototype.hasOwnProperty, hn = Object.prototype.propertyIsEnumerable, mi = (t, e, i) => e in t ? dt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, z = (t, e) => {\n for (var i in e || (e = {}))\n pn.call(e, i) && mi(t, i, e[i]);\n if (xt)\n for (var i of xt(e))\n hn.call(e, i) && mi(t, i, e[i]);\n return t;\n }, Te = (t, e) => Co(t, Ro(e)), Fe = (t, e) => {\n var i = {};\n for (var n in t)\n pn.call(t, n) && e.indexOf(n) < 0 && (i[n] = t[n]);\n if (t != null && xt)\n for (var n of xt(t))\n e.indexOf(n) < 0 && hn.call(t, n) && (i[n] = t[n]);\n return i;\n }, T = (t, e, i) => (mi(t, typeof e != \"symbol\" ? e + \"\" : e, i), i), ue = (t, e, i) => new Promise((n, s) => {\n var o = (r) => {\n try {\n a(i.next(r));\n } catch (c) {\n s(c);\n }\n }, l = (r) => {\n try {\n a(i.throw(r));\n } catch (c) {\n s(c);\n }\n }, a = (r) => r.done ? n(r.value) : Promise.resolve(r.value).then(o, l);\n a((i = i.apply(t, e)).next());\n });\n function vo(t, e) {\n for (var i = 0; i < e.length; i++) {\n const n = e[i];\n if (typeof n != \"string\" && !Array.isArray(n)) {\n for (const s in n)\n if (s !== \"default\" && !(s in t)) {\n const o = Object.getOwnPropertyDescriptor(n, s);\n o && Object.defineProperty(t, s, o.get ? o : { enumerable: !0, get: () => n[s] });\n }\n }\n }\n return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: \"Module\" }));\n }\n function Jt(t, e, i, n) {\n return new (i || (i = Promise))(function(s, o) {\n function l(c) {\n try {\n r(n.next(c));\n } catch (d) {\n o(d);\n }\n }\n function a(c) {\n try {\n r(n.throw(c));\n } catch (d) {\n o(d);\n }\n }\n function r(c) {\n var d;\n c.done ? s(c.value) : (d = c.value, d instanceof i ? d : new i(function(u) {\n u(d);\n })).then(l, a);\n }\n r((n = n.apply(t, e || [])).next());\n });\n }\n function ut(t) {\n const e = t == null ? void 0 : t.host;\n return (e == null ? void 0 : e.shadowRoot) === t;\n }\n function pt(t) {\n return Object.prototype.toString.call(t) === \"[object ShadowRoot]\";\n }\n function Kt(t) {\n try {\n const i = t.rules || t.cssRules;\n return i ? ((e = Array.from(i, mn).join(\"\")).includes(\" background-clip: text;\") && !e.includes(\" -webkit-background-clip: text;\") && (e = e.replace(\" background-clip: text;\", \" -webkit-background-clip: text; background-clip: text;\")), e) : null;\n } catch (i) {\n return null;\n }\n var e;\n }\n function mn(t) {\n let e;\n if (function(i) {\n return \"styleSheet\" in i;\n }(t))\n try {\n e = Kt(t.styleSheet) || function(i) {\n const { cssText: n } = i;\n if (n.split('\"').length < 3)\n return n;\n const s = [\"@import\", `url(${JSON.stringify(i.href)})`];\n return i.layerName === \"\" ? s.push(\"layer\") : i.layerName && s.push(`layer(${i.layerName})`), i.supportsText && s.push(`supports(${i.supportsText})`), i.media.length && s.push(i.media.mediaText), s.join(\" \") + \";\";\n }(t);\n } catch (i) {\n }\n else if (function(i) {\n return \"selectorText\" in i;\n }(t) && t.selectorText.includes(\":\"))\n return function(i) {\n const n = /(\\[(?:[\\w-]+)[^\\\\])(:(?:[\\w-]+)\\])/gm;\n return i.replace(n, \"$1\\\\$2\");\n }(t.cssText);\n return e || t.cssText;\n }\n (de = $ || ($ = {}))[de.Document = 0] = \"Document\", de[de.DocumentType = 1] = \"DocumentType\", de[de.Element = 2] = \"Element\", de[de.Text = 3] = \"Text\", de[de.CDATA = 4] = \"CDATA\", de[de.Comment = 5] = \"Comment\";\n class bn {\n constructor() {\n this.idNodeMap = /* @__PURE__ */ new Map(), this.nodeMetaMap = /* @__PURE__ */ new WeakMap();\n }\n getId(e) {\n var i;\n if (!e)\n return -1;\n const n = (i = this.getMeta(e)) === null || i === void 0 ? void 0 : i.id;\n return n != null ? n : -1;\n }\n getNode(e) {\n return this.idNodeMap.get(e) || null;\n }\n getIds() {\n return Array.from(this.idNodeMap.keys());\n }\n getMeta(e) {\n return this.nodeMetaMap.get(e) || null;\n }\n removeNodeFromMap(e) {\n const i = this.getId(e);\n this.idNodeMap.delete(i), e.childNodes && e.childNodes.forEach((n) => this.removeNodeFromMap(n));\n }\n has(e) {\n return this.idNodeMap.has(e);\n }\n hasNode(e) {\n return this.nodeMetaMap.has(e);\n }\n add(e, i) {\n const n = i.id;\n this.idNodeMap.set(n, e), this.nodeMetaMap.set(e, i);\n }\n replace(e, i) {\n const n = this.getNode(e);\n if (n) {\n const s = this.nodeMetaMap.get(n);\n s && this.nodeMetaMap.set(i, s);\n }\n this.idNodeMap.set(e, i);\n }\n reset() {\n this.idNodeMap = /* @__PURE__ */ new Map(), this.nodeMetaMap = /* @__PURE__ */ new WeakMap();\n }\n }\n function _e(t) {\n return t.toLowerCase();\n }\n const Zn = \"__rrweb_original__\";\n function bi(t) {\n const e = t.type;\n return t.hasAttribute(\"data-rr-is-password\") ? \"password\" : e ? _e(e) : null;\n }\n function yn(t, e) {\n var i;\n let n;\n try {\n n = new URL(t, e != null ? e : window.location.href);\n } catch (o) {\n return null;\n }\n const s = n.pathname.match(/\\.([0-9a-z]+)(?:$)/i);\n return (i = s == null ? void 0 : s[1]) !== null && i !== void 0 ? i : null;\n }\n function Zi(t) {\n return t = ((t = t.replace(/[^ -~]+/g, \"\")) == null ? void 0 : t.split(\" \").map((e) => Math.random().toString(20).substr(2, e.length)).join(\" \")) || \"\";\n }\n function yi(t) {\n return t === \"img\" || t === \"video\" || t === \"audio\" || t === \"source\";\n }\n const ko = [new RegExp(\"[a-zA-Z0-9.!#$%&'*+=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:.[a-zA-Z0-9-]+)*\"), new RegExp(\"[0-9]{9,16}\"), new RegExp(\"[0-9]{3}-?[0-9]{2}-?[0-9]{4}\"), new RegExp(\"[+]?[(]?[0-9]{3}[)]?[-s.]?[0-9]{3}[-s.]?[0-9]{4,6}\"), new RegExp(\"[0-9]{4}-?[0-9]{4}-?[0-9]{4}-?[0-9]{4}\"), new RegExp(\"[0-9]{1,5}.?[0-9]{0,3}s[a-zA-Z]{2,30}s[a-zA-Z]{2,15}\"), new RegExp(\"(?:[0-9]{1,3}.){3}[0-9]{1,3}\")];\n function gn(t) {\n return !!t && ko.some((e) => e.test(t));\n }\n const In = ({ maskInputOptions: t, tagName: e, type: i, overwriteRecord: n }) => {\n const s = i && i.toLowerCase();\n return !(n === \"true\" || !t[e.toLowerCase()] && (!s || !t[s]));\n };\n function gi({ element: t, maskInputOptions: e, tagName: i, type: n, value: s, overwriteRecord: o, maskInputFn: l }) {\n let a = s || \"\";\n return In({ maskInputOptions: e, tagName: i, type: n, overwriteRecord: o }) && (a = l ? l(a, t) : \"*\".repeat(a.length)), a;\n }\n let To = 1;\n const No = new RegExp(\"[^a-z0-9-_:]\"), ht = -2;\n function Sn() {\n return To++;\n }\n let qe, Vn;\n const wo = /url\\((?:(')([^']*)'|(\")(.*?)\"|([^)]*))\\)/gm, Lo = /^(?:[a-z+]+:)?\\/\\//i, xo = /^www\\..*/i, Jo = /^(data:)([^,]*),(.*)/i;\n function Yt(t, e) {\n return (t || \"\").replace(wo, (i, n, s, o, l, a) => {\n const r = s || l || a, c = n || o || \"\";\n if (!r)\n return i;\n if (Lo.test(r) || xo.test(r))\n return `url(${c}${r}${c})`;\n if (Jo.test(r))\n return `url(${c}${r}${c})`;\n if (r[0] === \"/\")\n return `url(${c}${function(p) {\n let m = \"\";\n return m = p.indexOf(\"//\") > -1 ? p.split(\"/\").slice(0, 3).join(\"/\") : p.split(\"/\")[0], m = m.split(\"?\")[0], m;\n }(e) + r}${c})`;\n const d = e.split(\"/\"), u = r.split(\"/\");\n d.pop();\n for (const p of u)\n p !== \".\" && (p === \"..\" ? d.pop() : d.push(p));\n return `url(${c}${d.join(\"/\")}${c})`;\n });\n }\n const Ko = /^[^ \\t\\n\\r\\u000c]+/, Yo = /^[, \\t\\n\\r\\u000c]+/;\n function mt(t, e) {\n if (!e || e.trim() === \"\")\n return e;\n const i = t.createElement(\"a\");\n return i.href = e, i.href;\n }\n function Uo(t) {\n return !!(t.tagName === \"svg\" || t.ownerSVGElement);\n }\n function Ii() {\n const t = document.createElement(\"a\");\n return t.href = \"\", t.href;\n }\n function Xn(t, e, i, n) {\n return n && (i === \"src\" || i === \"href\" && (e !== \"use\" || n[0] !== \"#\") || i === \"xlink:href\" && n[0] !== \"#\" ? mt(t, n) : i !== \"background\" || e !== \"table\" && e !== \"td\" && e !== \"th\" ? i === \"srcset\" ? function(s, o) {\n if (o.trim() === \"\")\n return o;\n let l = 0;\n function a(c) {\n let d;\n const u = c.exec(o.substring(l));\n return u ? (d = u[0], l += d.length, d) : \"\";\n }\n const r = [];\n for (; a(Yo), !(l >= o.length); ) {\n let c = a(Ko);\n if (c.slice(-1) === \",\")\n c = mt(s, c.substring(0, c.length - 1)), r.push(c);\n else {\n let d = \"\";\n c = mt(s, c);\n let u = !1;\n for (; ; ) {\n const p = o.charAt(l);\n if (p === \"\") {\n r.push((c + d).trim());\n break;\n }\n if (u)\n p === \")\" && (u = !1);\n else {\n if (p === \",\") {\n l += 1, r.push((c + d).trim());\n break;\n }\n p === \"(\" && (u = !0);\n }\n d += p, l += 1;\n }\n }\n }\n return r.join(\", \");\n }(t, n) : i === \"style\" ? Yt(n, Ii()) : e === \"object\" && i === \"data\" ? mt(t, n) : n : mt(t, n));\n }\n function Gn(t, e, i) {\n return (t === \"video\" || t === \"audio\") && e === \"autoplay\";\n }\n function Wn(t, e, i) {\n try {\n if (typeof e == \"string\") {\n if (t.classList.contains(e))\n return !0;\n } else\n for (let n = t.classList.length; n--; ) {\n const s = t.classList[n];\n if (e.test(s))\n return !0;\n }\n if (i)\n return t.matches(i);\n } catch (n) {\n }\n return !1;\n }\n function Ut(t, e, i) {\n if (!t)\n return !1;\n if (t.nodeType !== t.ELEMENT_NODE)\n return !!i && Ut(t.parentNode, e, i);\n for (let n = t.classList.length; n--; ) {\n const s = t.classList[n];\n if (e.test(s))\n return !0;\n }\n return !!i && Ut(t.parentNode, e, i);\n }\n function fn(t, e, i, n) {\n try {\n const s = t.nodeType === t.ELEMENT_NODE ? t : t.parentElement;\n if (s === null)\n return !1;\n if (typeof e == \"string\") {\n if (n) {\n if (s.closest(`.${e}`))\n return !0;\n } else if (s.classList.contains(e))\n return !0;\n } else if (Ut(s, e, n))\n return !0;\n if (i) {\n if (n) {\n if (s.closest(i))\n return !0;\n } else if (s.matches(i))\n return !0;\n }\n } catch (s) {\n }\n return !1;\n }\n function Fo(t, e) {\n const { doc: i, mirror: n, blockClass: s, blockSelector: o, needsMask: l, inlineStylesheet: a, maskInputOptions: r = {}, maskTextClass: c, maskTextFn: d, maskInputFn: u, dataURLOptions: p = {}, inlineImages: m, recordCanvas: I, keepIframeSrcFn: y, newlyAddedElement: W = !1, privacySetting: Z } = e, g = function(b, S) {\n if (!S.hasNode(b))\n return;\n const f = S.getId(b);\n return f === 1 ? void 0 : f;\n }(i, n);\n switch (t.nodeType) {\n case t.DOCUMENT_NODE:\n return t.compatMode !== \"CSS1Compat\" ? { type: $.Document, childNodes: [], compatMode: t.compatMode } : { type: $.Document, childNodes: [] };\n case t.DOCUMENT_TYPE_NODE:\n return { type: $.DocumentType, name: t.name, publicId: t.publicId, systemId: t.systemId, rootId: g };\n case t.ELEMENT_NODE:\n return function(b, S) {\n const { doc: f, blockClass: w, blockSelector: K, inlineStylesheet: Y, maskInputOptions: L = {}, maskInputFn: N, maskTextClass: x, dataURLOptions: k = {}, inlineImages: h, recordCanvas: V, keepIframeSrcFn: v, newlyAddedElement: C = !1, privacySetting: G, rootId: R } = S;\n let U = Wn(b, w, K);\n const q = Wn(b, x, null), ee = G === \"strict\";\n let P = function(F) {\n if (F instanceof HTMLFormElement)\n return \"form\";\n const B = _e(F.tagName);\n return No.test(B) ? \"div\" : B;\n }(b), M = {};\n const Se = b.attributes.length;\n for (let F = 0; F < Se; F++) {\n const B = b.attributes[F];\n Gn(P, B.name) || (M[B.name] = Xn(f, P, _e(B.name), B.value));\n }\n if (P === \"link\" && Y) {\n const F = Array.from(f.styleSheets).find((ce) => ce.href === b.href);\n let B = null;\n F && (B = Kt(F)), B && (delete M.rel, delete M.href, M._cssText = Yt(B, F.href));\n }\n if (P === \"style\" && b.sheet && !(b.innerText || b.textContent || \"\").trim().length) {\n const F = Kt(b.sheet);\n F && (M._cssText = Yt(F, Ii()));\n }\n if (P === \"input\" || P === \"textarea\" || P === \"select\") {\n const F = b.value, B = b.checked;\n M.type !== \"radio\" && M.type !== \"checkbox\" && M.type !== \"submit\" && M.type !== \"button\" && F ? M.value = gi({ element: b, type: bi(b), tagName: P, value: F, overwriteRecord: b.getAttribute(\"data-hl-record\"), maskInputOptions: L, maskInputFn: N }) : B && (M.checked = B);\n }\n if (P === \"option\" && (b.selected && !L.select ? M.selected = !0 : delete M.selected), P === \"canvas\" && V) {\n if (b.__context === \"2d\")\n (function(F) {\n const B = F.getContext(\"2d\");\n if (!B)\n return !0;\n for (let ce = 0; ce < F.width; ce += 50)\n for (let xe = 0; xe < F.height; xe += 50) {\n const ct = B.getImageData, Tt = Zn in ct ? ct[Zn] : ct;\n if (new Uint32Array(Tt.call(B, ce, xe, Math.min(50, F.width - ce), Math.min(50, F.height - xe)).data.buffer).some((di) => di !== 0))\n return !1;\n }\n return !0;\n })(b) || (M.rr_dataURL = b.toDataURL(k.type, k.quality));\n else if (!(\"__context\" in b)) {\n const F = b.toDataURL(k.type, k.quality), B = document.createElement(\"canvas\");\n B.width = b.width, B.height = b.height, F !== B.toDataURL(k.type, k.quality) && (M.rr_dataURL = F);\n }\n }\n if (P === \"img\" && h && !U && !q && !ee) {\n qe || (qe = f.createElement(\"canvas\"), Vn = qe.getContext(\"2d\"));\n const F = b, B = F.crossOrigin;\n F.crossOrigin = \"anonymous\";\n const ce = () => {\n F.removeEventListener(\"load\", ce);\n try {\n qe.width = F.naturalWidth, qe.height = F.naturalHeight, Vn.drawImage(F, 0, 0), M.rr_dataURL = qe.toDataURL(k.type, k.quality);\n } catch (xe) {\n console.warn(`Cannot inline img src=${F.currentSrc}! Error: ${xe}`);\n }\n B ? M.crossOrigin = B : F.removeAttribute(\"crossorigin\");\n };\n F.complete && F.naturalWidth !== 0 ? ce() : F.addEventListener(\"load\", ce);\n }\n if (P !== \"audio\" && P !== \"video\" || (M.rr_mediaState = b.paused ? \"paused\" : \"played\", M.rr_mediaCurrentTime = b.currentTime), C || (b.scrollLeft && (M.rr_scrollLeft = b.scrollLeft), b.scrollTop && (M.rr_scrollTop = b.scrollTop)), U || q || ee && yi(P)) {\n const { width: F, height: B } = b.getBoundingClientRect();\n M = { class: M.class, rr_width: `${F}px`, rr_height: `${B}px` };\n }\n ee && yi(P) && (U = !0), P !== \"iframe\" || v(M.src) || (b.contentDocument || (M.rr_src = M.src), delete M.src);\n let Ge;\n try {\n customElements.get(P) && (Ge = !0);\n } catch (F) {\n }\n if (h && P === \"video\") {\n const F = b;\n if (F.src === \"\" || F.src.indexOf(\"blob:\") !== -1) {\n const { width: B, height: ce } = b.getBoundingClientRect();\n M = { rr_width: `${B}px`, rr_height: `${ce}px`, rr_inlined_video: !0 }, P = \"canvas\";\n }\n }\n return { type: $.Element, tagName: P, attributes: M, childNodes: [], isSVG: Uo(b) || void 0, needBlock: U, needMask: q, rootId: R, isCustom: Ge };\n }(t, { doc: i, blockClass: s, blockSelector: o, inlineStylesheet: a, maskInputOptions: r, maskInputFn: u, maskTextClass: c, dataURLOptions: p, inlineImages: m, recordCanvas: I, keepIframeSrcFn: y, newlyAddedElement: W, privacySetting: Z, rootId: g });\n case t.TEXT_NODE:\n return function(b, S) {\n var f, w;\n const { needsMask: K, maskTextFn: Y, privacySetting: L, rootId: N } = S, x = b.parentNode && b.parentNode.tagName;\n let k = b.textContent;\n const h = x === \"STYLE\" || void 0, V = x === \"SCRIPT\" || void 0;\n let v = !1;\n if (h && k) {\n try {\n b.nextSibling || b.previousSibling || !((f = b.parentNode.sheet) === null || f === void 0) && f.cssRules && (k = Kt(b.parentNode.sheet));\n } catch (U) {\n console.warn(`Cannot get CSS styles from text's parentNode. Error: ${U}`, b);\n }\n k = Yt(k, Ii()), v = !0;\n }\n V ? (k = \"SCRIPT_PLACEHOLDER\", v = !0) : x === \"NOSCRIPT\" && (k = \"\", v = !0), !h && !V && k && K && (k = Y ? Y(k, b.parentElement) : k.replace(/[\\S]/g, \"*\"));\n const C = L === \"strict\", G = (w = b.parentElement) === null || w === void 0 ? void 0 : w.getAttribute(\"data-hl-record\"), R = L === \"default\" && gn(k);\n return (C || R) && !G && !v && x && !(/* @__PURE__ */ new Set([\"HEAD\", \"TITLE\", \"STYLE\", \"SCRIPT\", \"HTML\", \"BODY\", \"NOSCRIPT\"])).has(x) && k && (k = Zi(k)), { type: $.Text, textContent: k || \"\", isStyle: h, rootId: N };\n }(t, { needsMask: l, maskTextFn: d, privacySetting: Z, rootId: g });\n case t.CDATA_SECTION_NODE:\n return { type: $.CDATA, textContent: \"\", rootId: g };\n case t.COMMENT_NODE:\n return { type: $.Comment, textContent: t.textContent || \"\", rootId: g };\n default:\n return !1;\n }\n }\n function ie(t) {\n return t == null ? \"\" : t.toLowerCase();\n }\n function $e(t, e) {\n const { doc: i, mirror: n, blockClass: s, blockSelector: o, maskTextClass: l, maskTextSelector: a, skipChild: r = !1, inlineStylesheet: c = !0, maskInputOptions: d = {}, maskTextFn: u, maskInputFn: p, slimDOMOptions: m, dataURLOptions: I = {}, inlineImages: y = !1, recordCanvas: W = !1, onSerialize: Z, onIframeLoad: g, iframeLoadTimeout: b = 5e3, onStylesheetLoad: S, stylesheetLoadTimeout: f = 5e3, keepIframeSrcFn: w = () => !1, newlyAddedElement: K = !1, privacySetting: Y } = e;\n let { needsMask: L } = e, { preserveWhiteSpace: N = !0 } = e;\n !L && t.childNodes && (L = fn(t, l, a, L === void 0));\n const x = Fo(t, { doc: i, mirror: n, blockClass: s, blockSelector: o, needsMask: L, inlineStylesheet: c, maskInputOptions: d, maskTextClass: l, maskTextFn: u, maskInputFn: p, dataURLOptions: I, inlineImages: y, recordCanvas: W, keepIframeSrcFn: w, newlyAddedElement: K, privacySetting: Y });\n if (!x)\n return console.warn(t, \"not serialized\"), null;\n let k;\n k = n.hasNode(t) ? n.getId(t) : !function(G, R) {\n return !!(R.comment && G.type === $.Comment || G.type === $.Element && (R.script && (G.tagName === \"script\" || G.tagName === \"link\" && (G.attributes.rel === \"preload\" || G.attributes.rel === \"modulepreload\") && G.attributes.as === \"script\" || G.tagName === \"link\" && G.attributes.rel === \"prefetch\" && typeof G.attributes.href == \"string\" && yn(G.attributes.href) === \"js\") || R.headFavicon && (G.tagName === \"link\" && G.attributes.rel === \"shortcut icon\" || G.tagName === \"meta\" && (ie(G.attributes.name).match(/^msapplication-tile(image|color)$/) || ie(G.attributes.name) === \"application-name\" || ie(G.attributes.rel) === \"icon\" || ie(G.attributes.rel) === \"apple-touch-icon\" || ie(G.attributes.rel) === \"shortcut icon\")) || G.tagName === \"meta\" && (R.headMetaDescKeywords && ie(G.attributes.name).match(/^description|keywords$/) || R.headMetaSocial && (ie(G.attributes.property).match(/^(og|twitter|fb):/) || ie(G.attributes.name).match(/^(og|twitter):/) || ie(G.attributes.name) === \"pinterest\") || R.headMetaRobots && (ie(G.attributes.name) === \"robots\" || ie(G.attributes.name) === \"googlebot\" || ie(G.attributes.name) === \"bingbot\") || R.headMetaHttpEquiv && G.attributes[\"http-equiv\"] !== void 0 || R.headMetaAuthorship && (ie(G.attributes.name) === \"author\" || ie(G.attributes.name) === \"generator\" || ie(G.attributes.name) === \"framework\" || ie(G.attributes.name) === \"publisher\" || ie(G.attributes.name) === \"progid\" || ie(G.attributes.property).match(/^article:/) || ie(G.attributes.property).match(/^product:/)) || R.headMetaVerification && (ie(G.attributes.name) === \"google-site-verification\" || ie(G.attributes.name) === \"yandex-verification\" || ie(G.attributes.name) === \"csrf-token\" || ie(G.attributes.name) === \"p:domain_verify\" || ie(G.attributes.name) === \"verify-v1\" || ie(G.attributes.name) === \"verification\" || ie(G.attributes.name) === \"shopify-checkout-api-token\"))));\n }(x, m) && (N || x.type !== $.Text || x.isStyle || x.textContent.replace(/^\\s+|\\s+$/gm, \"\").length) ? Sn() : ht;\n const h = Object.assign(x, { id: k });\n if (n.add(t, h), k === ht)\n return null;\n Z && Z(t);\n let V = !r, v = Y, C = Y === \"strict\";\n if (h.type === $.Element) {\n if (V = V && !h.needBlock, C || (C = !!h.needBlock || !!h.needMask), v = C ? \"strict\" : v, C && yi(h.tagName)) {\n const R = t.cloneNode();\n R.src = \"\", n.add(R, h);\n }\n delete h.needBlock, delete h.needMask;\n const G = t.shadowRoot;\n G && pt(G) && (h.isShadowHost = !0);\n }\n if ((h.type === $.Document || h.type === $.Element) && V) {\n m.headWhitespace && h.type === $.Element && h.tagName === \"head\" && (N = !1);\n const G = { doc: i, mirror: n, blockClass: s, blockSelector: o, needsMask: L, maskTextClass: l, maskTextSelector: a, skipChild: r, inlineStylesheet: c, maskInputOptions: d, maskTextFn: u, maskInputFn: p, slimDOMOptions: m, dataURLOptions: I, inlineImages: y, recordCanvas: W, preserveWhiteSpace: N, onSerialize: Z, onIframeLoad: g, iframeLoadTimeout: b, onStylesheetLoad: S, stylesheetLoadTimeout: f, keepIframeSrcFn: w, privacySetting: v };\n if (!(h.type === $.Element && h.tagName === \"textarea\" && h.attributes.value !== void 0))\n for (const R of Array.from(t.childNodes)) {\n const U = $e(R, G);\n U && h.childNodes.push(U);\n }\n if (function(R) {\n return R.nodeType === R.ELEMENT_NODE;\n }(t) && t.shadowRoot)\n for (const R of Array.from(t.shadowRoot.childNodes)) {\n const U = $e(R, G);\n U && (pt(t.shadowRoot) && (U.isShadow = !0), h.childNodes.push(U));\n }\n }\n return t.parentNode && ut(t.parentNode) && pt(t.parentNode) && (h.isShadow = !0), h.type === $.Element && h.tagName === \"iframe\" && function(G, R, U) {\n const q = G.contentWindow;\n if (!q)\n return;\n let ee, P = !1;\n try {\n ee = q.document.readyState;\n } catch (Se) {\n return;\n }\n if (ee !== \"complete\") {\n const Se = setTimeout(() => {\n P || (R(), P = !0);\n }, U);\n return void G.addEventListener(\"load\", () => {\n clearTimeout(Se), P = !0, R();\n });\n }\n const M = \"about:blank\";\n if (q.location.href !== M || G.src === M || G.src === \"\")\n return setTimeout(R, 0), G.addEventListener(\"load\", R);\n G.addEventListener(\"load\", R);\n }(t, () => {\n const G = t.contentDocument;\n if (G && g) {\n const R = $e(G, { doc: G, mirror: n, blockClass: s, blockSelector: o, needsMask: L, maskTextClass: l, maskTextSelector: a, skipChild: !1, inlineStylesheet: c, maskInputOptions: d, maskTextFn: u, maskInputFn: p, slimDOMOptions: m, dataURLOptions: I, inlineImages: y, recordCanvas: W, preserveWhiteSpace: N, onSerialize: Z, onIframeLoad: g, iframeLoadTimeout: b, onStylesheetLoad: S, stylesheetLoadTimeout: f, keepIframeSrcFn: w, privacySetting: Y });\n R && g(t, R);\n }\n }, b), h.type === $.Element && h.tagName === \"link\" && typeof h.attributes.rel == \"string\" && (h.attributes.rel === \"stylesheet\" || h.attributes.rel === \"preload\" && typeof h.attributes.href == \"string\" && yn(h.attributes.href) === \"css\") && function(G, R, U) {\n let q, ee = !1;\n try {\n q = G.sheet;\n } catch (M) {\n return;\n }\n if (q)\n return;\n const P = setTimeout(() => {\n ee || (R(), ee = !0);\n }, U);\n G.addEventListener(\"load\", () => {\n clearTimeout(P), ee = !0, R();\n });\n }(t, () => {\n if (S) {\n const G = $e(t, { doc: i, mirror: n, blockClass: s, blockSelector: o, needsMask: L, maskTextClass: l, maskTextSelector: a, skipChild: !1, inlineStylesheet: c, maskInputOptions: d, maskTextFn: u, maskInputFn: p, slimDOMOptions: m, dataURLOptions: I, inlineImages: y, recordCanvas: W, preserveWhiteSpace: N, onSerialize: Z, onIframeLoad: g, iframeLoadTimeout: b, onStylesheetLoad: S, stylesheetLoadTimeout: f, keepIframeSrcFn: w, privacySetting: Y });\n G && S(t, G);\n }\n }, f), h;\n }\n function be(t, e, i = document) {\n const n = { capture: !0 };\n return i.addEventListener(t, e, n), () => i.removeEventListener(t, e, n);\n }\n const et = `Please stop import mirror directly. Instead of that,\\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\\r\nor you can use record.mirror to access the mirror instance during recording.`;\n let Cn = { map: {}, getId: () => (console.error(et), -1), getNode: () => (console.error(et), null), removeNodeFromMap() {\n console.error(et);\n }, has: () => (console.error(et), !1), reset() {\n console.error(et);\n } };\n function bt(t, e, i = {}) {\n let n = null, s = 0;\n return function(...o) {\n const l = Date.now();\n s || i.leading !== !1 || (s = l);\n const a = e - (l - s), r = this;\n a <= 0 || a > e ? (n && (clearTimeout(n), n = null), s = l, t.apply(r, o)) : n || i.trailing === !1 || (n = setTimeout(() => {\n s = i.leading === !1 ? 0 : Date.now(), n = null, t.apply(r, o);\n }, a));\n };\n }\n function Ft(t, e, i, n, s = window) {\n const o = s.Object.getOwnPropertyDescriptor(t, e);\n return s.Object.defineProperty(t, e, n ? i : { set(l) {\n setTimeout(() => {\n i.set.call(this, l);\n }, 0), o && o.set && o.set.call(this, l);\n } }), () => Ft(t, e, o || {}, !0);\n }\n function tt(t, e, i) {\n try {\n if (!(e in t))\n return () => {\n };\n const n = t[e], s = i(n);\n return typeof s == \"function\" && (s.prototype = s.prototype || {}, Object.defineProperties(s, { __rrweb_original__: { enumerable: !1, value: n } })), t[e] = s, () => {\n t[e] = n;\n };\n } catch (n) {\n return () => {\n };\n }\n }\n typeof window != \"undefined\" && window.Proxy && window.Reflect && (Cn = new Proxy(Cn, { get: (t, e, i) => (e === \"map\" && console.error(et), Reflect.get(t, e, i)) }));\n let Ht = Date.now;\n function Rn(t) {\n var e, i, n, s, o, l;\n const a = t.document;\n return { left: a.scrollingElement ? a.scrollingElement.scrollLeft : t.pageXOffset !== void 0 ? t.pageXOffset : (a == null ? void 0 : a.documentElement.scrollLeft) || ((i = (e = a == null ? void 0 : a.body) === null || e === void 0 ? void 0 : e.parentElement) === null || i === void 0 ? void 0 : i.scrollLeft) || ((n = a == null ? void 0 : a.body) === null || n === void 0 ? void 0 : n.scrollLeft) || 0, top: a.scrollingElement ? a.scrollingElement.scrollTop : t.pageYOffset !== void 0 ? t.pageYOffset : (a == null ? void 0 : a.documentElement.scrollTop) || ((o = (s = a == null ? void 0 : a.body) === null || s === void 0 ? void 0 : s.parentElement) === null || o === void 0 ? void 0 : o.scrollTop) || ((l = a == null ? void 0 : a.body) === null || l === void 0 ? void 0 : l.scrollTop) || 0 };\n }\n function vn() {\n return window.innerHeight || document.documentElement && document.documentElement.clientHeight || document.body && document.body.clientHeight;\n }\n function kn() {\n return window.innerWidth || document.documentElement && document.documentElement.clientWidth || document.body && document.body.clientWidth;\n }\n function Tn(t) {\n return t ? t.nodeType === t.ELEMENT_NODE ? t : t.parentElement : null;\n }\n /[1-9][0-9]{12}/.test(Date.now().toString()) || (Ht = () => (/* @__PURE__ */ new Date()).getTime());\n const Ho = (t) => {\n try {\n if (t instanceof HTMLElement)\n return t.tagName === \"CANVAS\";\n } catch (e) {\n return !1;\n }\n return !1;\n };\n function me(t, e, i, n) {\n if (!t)\n return !1;\n const s = Tn(t);\n if (!s)\n return !1;\n try {\n if (typeof e == \"string\") {\n if (s.classList.contains(e) || n && s.closest(\".\" + e) !== null)\n return !0;\n } else if (Ut(s, e, n))\n return !0;\n } catch (o) {\n }\n return !!(i && (s.matches(i) || n && s.closest(i) !== null));\n }\n function Si(t, e) {\n return e.getId(t) === ht;\n }\n function Nn(t, e) {\n if (ut(t))\n return !1;\n const i = e.getId(t);\n return !e.has(i) || (!t.parentNode || t.parentNode.nodeType !== t.DOCUMENT_NODE) && (!t.parentNode || Nn(t.parentNode, e));\n }\n function Vi(t) {\n return !!t.changedTouches;\n }\n function wn(t, e) {\n return !!(t.nodeName === \"IFRAME\" && e.getMeta(t));\n }\n function Ln(t, e) {\n return !!(t.nodeName === \"LINK\" && t.nodeType === t.ELEMENT_NODE && t.getAttribute && t.getAttribute(\"rel\") === \"stylesheet\" && e.getMeta(t));\n }\n function Xi(t) {\n return !!(t != null && t.shadowRoot);\n }\n class Eo {\n constructor() {\n this.id = 1, this.styleIDMap = /* @__PURE__ */ new WeakMap(), this.idStyleMap = /* @__PURE__ */ new Map();\n }\n getId(e) {\n var i;\n return (i = this.styleIDMap.get(e)) !== null && i !== void 0 ? i : -1;\n }\n has(e) {\n return this.styleIDMap.has(e);\n }\n add(e, i) {\n if (this.has(e))\n return this.getId(e);\n let n;\n return n = i === void 0 ? this.id++ : i, this.styleIDMap.set(e, n), this.idStyleMap.set(n, e), n;\n }\n getStyle(e) {\n return this.idStyleMap.get(e) || null;\n }\n reset() {\n this.styleIDMap = /* @__PURE__ */ new WeakMap(), this.idStyleMap = /* @__PURE__ */ new Map(), this.id = 1;\n }\n generateId() {\n return this.id++;\n }\n }\n function xn(t) {\n var e, i;\n let n = null;\n return ((i = (e = t.getRootNode) === null || e === void 0 ? void 0 : e.call(t)) === null || i === void 0 ? void 0 : i.nodeType) === Node.DOCUMENT_FRAGMENT_NODE && t.getRootNode().host && (n = t.getRootNode().host), n;\n }\n function Mo(t) {\n const e = t.ownerDocument;\n if (!e)\n return !1;\n const i = function(n) {\n let s, o = n;\n for (; s = xn(o); )\n o = s;\n return o;\n }(t);\n return e.contains(i);\n }\n function Jn(t) {\n const e = t.ownerDocument;\n return !!e && (e.contains(t) || Mo(t));\n }\n var j = ((t) => (t[t.DomContentLoaded = 0] = \"DomContentLoaded\", t[t.Load = 1] = \"Load\", t[t.FullSnapshot = 2] = \"FullSnapshot\", t[t.IncrementalSnapshot = 3] = \"IncrementalSnapshot\", t[t.Meta = 4] = \"Meta\", t[t.Custom = 5] = \"Custom\", t[t.Plugin = 6] = \"Plugin\", t))(j || {}), D = ((t) => (t[t.Mutation = 0] = \"Mutation\", t[t.MouseMove = 1] = \"MouseMove\", t[t.MouseInteraction = 2] = \"MouseInteraction\", t[t.Scroll = 3] = \"Scroll\", t[t.ViewportResize = 4] = \"ViewportResize\", t[t.Input = 5] = \"Input\", t[t.TouchMove = 6] = \"TouchMove\", t[t.MediaInteraction = 7] = \"MediaInteraction\", t[t.StyleSheetRule = 8] = \"StyleSheetRule\", t[t.CanvasMutation = 9] = \"CanvasMutation\", t[t.Font = 10] = \"Font\", t[t.Log = 11] = \"Log\", t[t.Drag = 12] = \"Drag\", t[t.StyleDeclaration = 13] = \"StyleDeclaration\", t[t.Selection = 14] = \"Selection\", t[t.AdoptedStyleSheet = 15] = \"AdoptedStyleSheet\", t[t.CustomElement = 16] = \"CustomElement\", t))(D || {}), ge = ((t) => (t[t.MouseUp = 0] = \"MouseUp\", t[t.MouseDown = 1] = \"MouseDown\", t[t.Click = 2] = \"Click\", t[t.ContextMenu = 3] = \"ContextMenu\", t[t.DblClick = 4] = \"DblClick\", t[t.Focus = 5] = \"Focus\", t[t.Blur = 6] = \"Blur\", t[t.TouchStart = 7] = \"TouchStart\", t[t.TouchMove_Departed = 8] = \"TouchMove_Departed\", t[t.TouchEnd = 9] = \"TouchEnd\", t[t.TouchCancel = 10] = \"TouchCancel\", t))(ge || {}), He = ((t) => (t[t.Mouse = 0] = \"Mouse\", t[t.Pen = 1] = \"Pen\", t[t.Touch = 2] = \"Touch\", t))(He || {}), it = ((t) => (t[t[\"2D\"] = 0] = \"2D\", t[t.WebGL = 1] = \"WebGL\", t[t.WebGL2 = 2] = \"WebGL2\", t))(it || {});\n function Kn(t) {\n return \"__ln\" in t;\n }\n class Oo {\n constructor() {\n this.length = 0, this.head = null, this.tail = null;\n }\n get(e) {\n if (e >= this.length)\n throw new Error(\"Position outside of list range\");\n let i = this.head;\n for (let n = 0; n < e; n++)\n i = (i == null ? void 0 : i.next) || null;\n return i;\n }\n addNode(e) {\n const i = { value: e, previous: null, next: null };\n if (e.__ln = i, e.previousSibling && Kn(e.previousSibling)) {\n const n = e.previousSibling.__ln.next;\n i.next = n, i.previous = e.previousSibling.__ln, e.previousSibling.__ln.next = i, n && (n.previous = i);\n } else if (e.nextSibling && Kn(e.nextSibling) && e.nextSibling.__ln.previous) {\n const n = e.nextSibling.__ln.previous;\n i.previous = n, i.next = e.nextSibling.__ln, e.nextSibling.__ln.previous = i, n && (n.next = i);\n } else\n this.head && (this.head.previous = i), i.next = this.head, this.head = i;\n i.next === null && (this.tail = i), this.length++;\n }\n removeNode(e) {\n const i = e.__ln;\n this.head && (i.previous ? (i.previous.next = i.next, i.next ? i.next.previous = i.previous : this.tail = i.previous) : (this.head = i.next, this.head ? this.head.previous = null : this.tail = null), e.__ln && delete e.__ln, this.length--);\n }\n }\n const Yn = (t, e) => `${t}@${e}`;\n class zo {\n constructor() {\n this.frozen = !1, this.locked = !1, this.texts = [], this.attributes = [], this.attributeMap = /* @__PURE__ */ new WeakMap(), this.removes = [], this.mapRemoves = [], this.movedMap = {}, this.addedSet = /* @__PURE__ */ new Set(), this.movedSet = /* @__PURE__ */ new Set(), this.droppedSet = /* @__PURE__ */ new Set(), this.processMutations = (e) => {\n e.forEach(this.processMutation), this.emit();\n }, this.emit = () => {\n if (this.frozen || this.locked)\n return;\n const e = [], i = /* @__PURE__ */ new Set(), n = new Oo(), s = (r) => {\n let c = r, d = ht;\n for (; d === ht; )\n c = c && c.nextSibling, d = c && this.mirror.getId(c);\n return d;\n }, o = (r) => {\n if (!r.parentNode || !Jn(r) || r.parentNode.tagName === \"TEXTAREA\")\n return;\n const c = ut(r.parentNode) ? this.mirror.getId(xn(r)) : this.mirror.getId(r.parentNode), d = s(r);\n if (c === -1 || d === -1)\n return n.addNode(r);\n const u = $e(r, { doc: this.doc, mirror: this.mirror, blockClass: this.blockClass, blockSelector: this.blockSelector, maskTextClass: this.maskTextClass, maskTextSelector: this.maskTextSelector, skipChild: !0, newlyAddedElement: !0, inlineStylesheet: this.inlineStylesheet, maskInputOptions: this.maskInputOptions, maskTextFn: this.maskTextFn, maskInputFn: this.maskInputFn, slimDOMOptions: this.slimDOMOptions, dataURLOptions: this.dataURLOptions, recordCanvas: this.recordCanvas, inlineImages: this.inlineImages, privacySetting: this.privacySetting, onSerialize: (p) => {\n wn(p, this.mirror) && this.iframeManager.addIframe(p), Ln(p, this.mirror) && this.stylesheetManager.trackLinkElement(p), Xi(r) && this.shadowDomManager.addShadowRoot(r.shadowRoot, this.doc);\n }, onIframeLoad: (p, m) => {\n this.iframeManager.attachIframe(p, m), this.shadowDomManager.observeAttachShadow(p);\n }, onStylesheetLoad: (p, m) => {\n this.stylesheetManager.attachLinkElement(p, m);\n } });\n u && (e.push({ parentId: c, nextId: d, node: u }), i.add(u.id));\n };\n for (; this.mapRemoves.length; )\n this.mirror.removeNodeFromMap(this.mapRemoves.shift());\n for (const r of this.movedSet)\n Un(this.removes, r, this.mirror) && !this.movedSet.has(r.parentNode) || o(r);\n for (const r of this.addedSet)\n Hn(this.droppedSet, r) || Un(this.removes, r, this.mirror) ? Hn(this.movedSet, r) ? o(r) : this.droppedSet.add(r) : o(r);\n let l = null;\n for (; n.length; ) {\n let r = null;\n if (l) {\n const c = this.mirror.getId(l.value.parentNode), d = s(l.value);\n c !== -1 && d !== -1 && (r = l);\n }\n if (!r) {\n let c = n.tail;\n for (; c; ) {\n const d = c;\n if (c = c.previous, d) {\n const u = this.mirror.getId(d.value.parentNode);\n if (s(d.value) === -1)\n continue;\n if (u !== -1) {\n r = d;\n break;\n }\n {\n const p = d.value;\n if (p.parentNode && p.parentNode.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {\n const m = p.parentNode.host;\n if (this.mirror.getId(m) !== -1) {\n r = d;\n break;\n }\n }\n }\n }\n }\n }\n if (!r) {\n for (; n.head; )\n n.removeNode(n.head.value);\n break;\n }\n l = r.previous, n.removeNode(r.value), o(r.value);\n }\n const a = { texts: this.texts.map((r) => {\n var c, d;\n const u = r.node;\n u.parentNode && u.parentNode.tagName === \"TEXTAREA\" && this.genTextAreaValueMutation(u.parentNode);\n let p = r.value;\n const m = this.privacySetting === \"strict\", I = this.privacySetting === \"default\" && gn(p), y = (d = (c = r.node) === null || c === void 0 ? void 0 : c.parentElement) === null || d === void 0 ? void 0 : d.getAttribute(\"data-hl-record\");\n return (m || I) && !y && p && (p = Zi(p)), { id: this.mirror.getId(u), value: p };\n }).filter((r) => !i.has(r.id)).filter((r) => this.mirror.has(r.id)), attributes: this.attributes.map((r) => {\n const { attributes: c } = r;\n if (typeof c.style == \"string\") {\n const d = JSON.stringify(r.styleDiff), u = JSON.stringify(r._unchangedStyles);\n d.length < c.style.length && (d + u).split(\"var(\").length === c.style.split(\"var(\").length && (c.style = r.styleDiff);\n }\n return { id: this.mirror.getId(r.node), attributes: c };\n }).filter((r) => !i.has(r.id)).filter((r) => this.mirror.has(r.id)), removes: this.removes, adds: e };\n (a.texts.length || a.attributes.length || a.removes.length || a.adds.length) && (this.texts = [], this.attributes = [], this.attributeMap = /* @__PURE__ */ new WeakMap(), this.removes = [], this.addedSet = /* @__PURE__ */ new Set(), this.movedSet = /* @__PURE__ */ new Set(), this.droppedSet = /* @__PURE__ */ new Set(), this.movedMap = {}, this.mutationCb(a));\n }, this.genTextAreaValueMutation = (e) => {\n let i = this.attributeMap.get(e);\n i || (i = { node: e, attributes: {}, styleDiff: {}, _unchangedStyles: {} }, this.attributes.push(i), this.attributeMap.set(e, i)), i.attributes.value = Array.from(e.childNodes, (n) => n.textContent || \"\").join(\"\");\n }, this.processMutation = (e) => {\n if (!Si(e.target, this.mirror))\n switch (e.type) {\n case \"characterData\": {\n const i = e.target.textContent;\n me(e.target, this.blockClass, this.blockSelector, !1) || i === e.oldValue || this.texts.push({ value: fn(e.target, this.maskTextClass, this.maskTextSelector, !0) && i ? this.maskTextFn ? this.maskTextFn(i, Tn(e.target)) : i.replace(/[\\S]/g, \"*\") : i, node: e.target });\n break;\n }\n case \"attributes\": {\n const i = e.target;\n let n = e.attributeName, s = e.target.getAttribute(n);\n if (n === \"value\") {\n const l = bi(i);\n s = gi({ element: i, maskInputOptions: this.maskInputOptions, tagName: i.tagName, type: l, value: s, overwriteRecord: i.getAttribute(\"data-hl-record\"), maskInputFn: this.maskInputFn });\n }\n if (me(e.target, this.blockClass, this.blockSelector, !1) || s === e.oldValue)\n return;\n let o = this.attributeMap.get(e.target);\n if (i.tagName === \"IFRAME\" && n === \"src\" && !this.keepIframeSrcFn(s)) {\n if (i.contentDocument)\n return;\n n = \"rr_src\";\n }\n if (o || (o = { node: e.target, attributes: {}, styleDiff: {}, _unchangedStyles: {} }, this.attributes.push(o), this.attributeMap.set(e.target, o)), n === \"type\" && i.tagName === \"INPUT\" && (e.oldValue || \"\").toLowerCase() === \"password\" && i.setAttribute(\"data-rr-is-password\", \"true\"), !Gn(i.tagName, n)) {\n if (e.target.tagName === \"INPUT\") {\n const l = e.target;\n if (l.type === \"password\") {\n o.attributes.value = \"*\".repeat(l.value.length);\n break;\n }\n }\n if (o.attributes[n] = Xn(this.doc, _e(i.tagName), _e(n), s), n === \"style\") {\n if (!this.unattachedDoc)\n try {\n this.unattachedDoc = document.implementation.createHTMLDocument();\n } catch (a) {\n this.unattachedDoc = this.doc;\n }\n const l = this.unattachedDoc.createElement(\"span\");\n e.oldValue && l.setAttribute(\"style\", e.oldValue);\n for (const a of Array.from(i.style)) {\n const r = i.style.getPropertyValue(a), c = i.style.getPropertyPriority(a);\n r !== l.style.getPropertyValue(a) || c !== l.style.getPropertyPriority(a) ? o.styleDiff[a] = c === \"\" ? r : [r, c] : o._unchangedStyles[a] = [r, c];\n }\n for (const a of Array.from(l.style))\n i.style.getPropertyValue(a) === \"\" && (o.styleDiff[a] = !1);\n }\n }\n break;\n }\n case \"childList\":\n if (me(e.target, this.blockClass, this.blockSelector, !0))\n return;\n if (e.target.tagName === \"TEXTAREA\")\n return void this.genTextAreaValueMutation(e.target);\n e.addedNodes.forEach((i) => this.genAdds(i, e.target)), e.removedNodes.forEach((i) => {\n const n = this.mirror.getId(i), s = ut(e.target) ? this.mirror.getId(e.target.host) : this.mirror.getId(e.target);\n me(e.target, this.blockClass, this.blockSelector, !1) || Si(i, this.mirror) || !function(o, l) {\n return l.getId(o) !== -1;\n }(i, this.mirror) || (this.addedSet.has(i) ? (Gi(this.addedSet, i), this.droppedSet.add(i)) : this.addedSet.has(e.target) && n === -1 || Nn(e.target, this.mirror) || (this.movedSet.has(i) && this.movedMap[Yn(n, s)] ? Gi(this.movedSet, i) : this.removes.push({ parentId: s, id: n, isShadow: !(!ut(e.target) || !pt(e.target)) || void 0 })), this.mapRemoves.push(i));\n });\n }\n }, this.genAdds = (e, i) => {\n if (!this.processedNodeManager.inOtherBuffer(e, this) && !this.addedSet.has(e) && !this.movedSet.has(e)) {\n if (this.mirror.hasNode(e)) {\n if (Si(e, this.mirror))\n return;\n this.movedSet.add(e);\n let n = null;\n i && this.mirror.hasNode(i) && (n = this.mirror.getId(i)), n && n !== -1 && (this.movedMap[Yn(this.mirror.getId(e), n)] = !0);\n } else\n this.addedSet.add(e), this.droppedSet.delete(e);\n me(e, this.blockClass, this.blockSelector, !1) || (e.childNodes.forEach((n) => this.genAdds(n)), Xi(e) && e.shadowRoot.childNodes.forEach((n) => {\n this.processedNodeManager.add(n, this), this.genAdds(n, e);\n }));\n }\n };\n }\n init(e) {\n [\"mutationCb\", \"blockClass\", \"blockSelector\", \"maskTextClass\", \"maskTextSelector\", \"inlineStylesheet\", \"maskInputOptions\", \"maskTextFn\", \"maskInputFn\", \"keepIframeSrcFn\", \"recordCanvas\", \"inlineImages\", \"privacySetting\", \"slimDOMOptions\", \"dataURLOptions\", \"doc\", \"mirror\", \"iframeManager\", \"stylesheetManager\", \"shadowDomManager\", \"canvasManager\", \"processedNodeManager\"].forEach((i) => {\n this[i] = e[i];\n });\n }\n freeze() {\n this.frozen = !0, this.canvasManager.freeze();\n }\n unfreeze() {\n this.frozen = !1, this.canvasManager.unfreeze(), this.emit();\n }\n isFrozen() {\n return this.frozen;\n }\n lock() {\n this.locked = !0, this.canvasManager.lock();\n }\n unlock() {\n this.locked = !1, this.canvasManager.unlock(), this.emit();\n }\n reset() {\n this.shadowDomManager.reset(), this.canvasManager.reset();\n }\n }\n function Gi(t, e) {\n t.delete(e), e.childNodes.forEach((i) => Gi(t, i));\n }\n function Un(t, e, i) {\n return t.length !== 0 && Fn(t, e, i);\n }\n function Fn(t, e, i) {\n const { parentNode: n } = e;\n if (!n)\n return !1;\n const s = i.getId(n);\n return !!t.some((o) => o.id === s) || Fn(t, n, i);\n }\n function Hn(t, e) {\n return t.size !== 0 && En(t, e);\n }\n function En(t, e) {\n const { parentNode: i } = e;\n return !!i && (!!t.has(i) || En(t, i));\n }\n let Zt;\n const Q = (t) => Zt ? (...e) => {\n try {\n return t(...e);\n } catch (i) {\n if (Zt && Zt(i) === !0)\n return;\n throw i;\n }\n } : t, Oe = [];\n function yt(t) {\n try {\n if (\"composedPath\" in t) {\n const e = t.composedPath();\n if (e.length)\n return e[0];\n } else if (\"path\" in t && t.path.length)\n return t.path[0];\n } catch (e) {\n }\n return t && t.target;\n }\n function Mn(t, e) {\n var i, n;\n const s = new zo();\n Oe.push(s), s.init(t);\n let o = window.MutationObserver || window.__rrMutationObserver;\n const l = (n = (i = window == null ? void 0 : window.Zone) === null || i === void 0 ? void 0 : i.__symbol__) === null || n === void 0 ? void 0 : n.call(i, \"MutationObserver\");\n l && window[l] && (o = window[l]);\n const a = new o(Q(s.processMutations.bind(s)));\n return a.observe(e, { attributes: !0, attributeOldValue: !0, characterData: !0, characterDataOldValue: !0, childList: !0, subtree: !0 }), a;\n }\n function Bo({ mouseInteractionCb: t, doc: e, mirror: i, blockClass: n, blockSelector: s, sampling: o }) {\n if (o.mouseInteraction === !1)\n return () => {\n };\n const l = o.mouseInteraction === !0 || o.mouseInteraction === void 0 ? {} : o.mouseInteraction, a = [];\n let r = null;\n return Object.keys(ge).filter((c) => Number.isNaN(Number(c)) && !c.endsWith(\"_Departed\") && l[c] !== !1).forEach((c) => {\n let d = _e(c);\n const u = /* @__PURE__ */ ((p) => (m) => {\n const I = yt(m);\n if (me(I, n, s, !0) || Ho(I))\n return;\n let y = null, W = p;\n if (\"pointerType\" in m) {\n switch (m.pointerType) {\n case \"mouse\":\n y = He.Mouse;\n break;\n case \"touch\":\n y = He.Touch;\n break;\n case \"pen\":\n y = He.Pen;\n }\n y === He.Touch && (ge[p] === ge.MouseDown ? W = \"TouchStart\" : ge[p] === ge.MouseUp && (W = \"TouchEnd\"));\n } else\n Vi(m) && (y = He.Touch);\n y !== null ? (r = y, (W.startsWith(\"Touch\") && y === He.Touch || W.startsWith(\"Mouse\") && y === He.Mouse) && (y = null)) : ge[p] === ge.Click && (y = r, r = null);\n const Z = Vi(m) ? m.changedTouches[0] : m;\n if (!Z)\n return;\n const g = i.getId(I), { clientX: b, clientY: S } = Z;\n Q(t)(Object.assign({ type: ge[W], id: g, x: b, y: S }, y !== null && { pointerType: y }));\n })(c);\n if (window.PointerEvent)\n switch (ge[c]) {\n case ge.MouseDown:\n case ge.MouseUp:\n d = d.replace(\"mouse\", \"pointer\");\n break;\n case ge.TouchStart:\n case ge.TouchEnd:\n return;\n }\n a.push(be(d, u, e));\n }), Q(() => {\n a.forEach((c) => c());\n });\n }\n function On({ scrollCb: t, doc: e, mirror: i, blockClass: n, blockSelector: s, sampling: o }) {\n return be(\"scroll\", Q(bt(Q((l) => {\n const a = yt(l);\n if (!a || me(a, n, s, !0))\n return;\n const r = i.getId(a);\n if (a === e && e.defaultView) {\n const c = Rn(e.defaultView);\n t({ id: r, x: c.left, y: c.top });\n } else\n t({ id: r, x: a.scrollLeft, y: a.scrollTop });\n }), o.scroll || 100)), e);\n }\n const Po = [\"INPUT\", \"TEXTAREA\", \"SELECT\"], zn = /* @__PURE__ */ new WeakMap();\n function Et(t) {\n return function(e, i) {\n if (Mt(\"CSSGroupingRule\") && e.parentRule instanceof CSSGroupingRule || Mt(\"CSSMediaRule\") && e.parentRule instanceof CSSMediaRule || Mt(\"CSSSupportsRule\") && e.parentRule instanceof CSSSupportsRule || Mt(\"CSSConditionRule\") && e.parentRule instanceof CSSConditionRule) {\n const n = Array.from(e.parentRule.cssRules).indexOf(e);\n i.unshift(n);\n } else if (e.parentStyleSheet) {\n const n = Array.from(e.parentStyleSheet.cssRules).indexOf(e);\n i.unshift(n);\n }\n return i;\n }(t, []);\n }\n function Ee(t, e, i) {\n let n, s;\n return t ? (t.ownerNode ? n = e.getId(t.ownerNode) : s = i.getId(t), { styleId: s, id: n }) : {};\n }\n function Bn({ mirror: t, stylesheetManager: e }, i) {\n var n, s, o;\n let l = null;\n l = i.nodeName === \"#document\" ? t.getId(i) : t.getId(i.host);\n const a = i.nodeName === \"#document\" ? (n = i.defaultView) === null || n === void 0 ? void 0 : n.Document : (o = (s = i.ownerDocument) === null || s === void 0 ? void 0 : s.defaultView) === null || o === void 0 ? void 0 : o.ShadowRoot, r = a != null && a.prototype ? Object.getOwnPropertyDescriptor(a == null ? void 0 : a.prototype, \"adoptedStyleSheets\") : void 0;\n return l !== null && l !== -1 && a && r ? (Object.defineProperty(i, \"adoptedStyleSheets\", { configurable: r.configurable, enumerable: r.enumerable, get() {\n var c;\n return (c = r.get) === null || c === void 0 ? void 0 : c.call(this);\n }, set(c) {\n var d;\n const u = (d = r.set) === null || d === void 0 ? void 0 : d.call(this, c);\n if (l !== null && l !== -1)\n try {\n e.adoptStyleSheets(c, l);\n } catch (p) {\n }\n return u;\n } }), Q(() => {\n Object.defineProperty(i, \"adoptedStyleSheets\", { configurable: r.configurable, enumerable: r.enumerable, get: r.get, set: r.set });\n })) : () => {\n };\n }\n function Ao(t, e = {}) {\n const i = t.doc.defaultView;\n if (!i)\n return () => {\n };\n let n;\n (function(Z, g) {\n const { mutationCb: b, mousemoveCb: S, mouseInteractionCb: f, scrollCb: w, viewportResizeCb: K, inputCb: Y, mediaInteractionCb: L, styleSheetRuleCb: N, styleDeclarationCb: x, canvasMutationCb: k, fontCb: h, selectionCb: V, customElementCb: v } = Z;\n Z.mutationCb = (...C) => {\n g.mutation && g.mutation(...C), b(...C);\n }, Z.mousemoveCb = (...C) => {\n g.mousemove && g.mousemove(...C), S(...C);\n }, Z.mouseInteractionCb = (...C) => {\n g.mouseInteraction && g.mouseInteraction(...C), f(...C);\n }, Z.scrollCb = (...C) => {\n g.scroll && g.scroll(...C), w(...C);\n }, Z.viewportResizeCb = (...C) => {\n g.viewportResize && g.viewportResize(...C), K(...C);\n }, Z.inputCb = (...C) => {\n g.input && g.input(...C), Y(...C);\n }, Z.mediaInteractionCb = (...C) => {\n g.mediaInteaction && g.mediaInteaction(...C), L(...C);\n }, Z.styleSheetRuleCb = (...C) => {\n g.styleSheetRule && g.styleSheetRule(...C), N(...C);\n }, Z.styleDeclarationCb = (...C) => {\n g.styleDeclaration && g.styleDeclaration(...C), x(...C);\n }, Z.canvasMutationCb = (...C) => {\n g.canvasMutation && g.canvasMutation(...C), k(...C);\n }, Z.fontCb = (...C) => {\n g.font && g.font(...C), h(...C);\n }, Z.selectionCb = (...C) => {\n g.selection && g.selection(...C), V(...C);\n }, Z.customElementCb = (...C) => {\n g.customElement && g.customElement(...C), v(...C);\n };\n })(t, e), t.recordDOM && (n = Mn(t, t.doc));\n const s = function({ mousemoveCb: Z, sampling: g, doc: b, mirror: S }) {\n if (g.mousemove === !1)\n return () => {\n };\n const f = typeof g.mousemove == \"number\" ? g.mousemove : 50, w = typeof g.mousemoveCallback == \"number\" ? g.mousemoveCallback : 500;\n let K, Y = [];\n const L = bt(Q((k) => {\n const h = Date.now() - K;\n Z(Y.map((V) => (V.timeOffset -= h, V)), k), Y = [], K = null;\n }), w), N = Q(bt(Q((k) => {\n const h = yt(k), { clientX: V, clientY: v } = Vi(k) ? k.changedTouches[0] : k;\n K || (K = Ht()), Y.push({ x: V, y: v, id: S.getId(h), timeOffset: Ht() - K }), L(typeof DragEvent != \"undefined\" && k instanceof DragEvent ? D.Drag : k instanceof MouseEvent ? D.MouseMove : D.TouchMove);\n }), f, { trailing: !1 })), x = [be(\"mousemove\", N, b), be(\"touchmove\", N, b), be(\"drag\", N, b)];\n return Q(() => {\n x.forEach((k) => k());\n });\n }(t), o = Bo(t), l = On(t), a = function({ viewportResizeCb: Z }, { win: g }) {\n let b = -1, S = -1;\n return be(\"resize\", Q(bt(Q(() => {\n const f = vn(), w = kn();\n b === f && S === w || (Z({ width: Number(w), height: Number(f) }), b = f, S = w);\n }), 200)), g);\n }(t, { win: i }), r = function({ inputCb: Z, doc: g, mirror: b, blockClass: S, blockSelector: f, ignoreClass: w, ignoreSelector: K, maskInputOptions: Y, maskInputFn: L, sampling: N, userTriggeredOnInput: x }) {\n function k(R) {\n let U = yt(R);\n const q = R.isTrusted, ee = U && U.tagName;\n if (U && ee === \"OPTION\" && (U = U.parentElement), !U || !ee || Po.indexOf(ee) < 0 || me(U, S, f, !0) || U.classList.contains(w) || K && U.matches(K))\n return;\n let P = U.value, M = !1;\n const Se = bi(U) || \"\", Ge = U.getAttribute(\"data-hl-record\");\n Se === \"radio\" || Se === \"checkbox\" ? M = U.checked : In({ maskInputOptions: Y, type: Se, tagName: ee, overwriteRecord: Ge }) && (P = gi({ element: U, maskInputOptions: Y, tagName: ee, type: Se, value: P, overwriteRecord: Ge, maskInputFn: L })), h(U, x ? { text: P, isChecked: M, userTriggered: q } : { text: P, isChecked: M });\n const F = U.name;\n Se === \"radio\" && F && M && g.querySelectorAll(`input[type=\"radio\"][name=\"${F}\"]`).forEach((B) => {\n if (B !== U) {\n const ce = B.value;\n h(B, x ? { text: ce, isChecked: !M, userTriggered: !1 } : { text: ce, isChecked: !M });\n }\n });\n }\n function h(R, U) {\n const q = zn.get(R);\n if (!q || q.text !== U.text || q.isChecked !== U.isChecked) {\n zn.set(R, U);\n const ee = b.getId(R);\n Q(Z)(Object.assign(Object.assign({}, U), { id: ee }));\n }\n }\n const V = (N.input === \"last\" ? [\"change\"] : [\"input\", \"change\"]).map((R) => be(R, Q(k), g)), v = g.defaultView;\n if (!v)\n return () => {\n V.forEach((R) => R());\n };\n const C = v.Object.getOwnPropertyDescriptor(v.HTMLInputElement.prototype, \"value\"), G = [[v.HTMLInputElement.prototype, \"value\"], [v.HTMLInputElement.prototype, \"checked\"], [v.HTMLSelectElement.prototype, \"value\"], [v.HTMLTextAreaElement.prototype, \"value\"], [v.HTMLSelectElement.prototype, \"selectedIndex\"], [v.HTMLOptionElement.prototype, \"selected\"]];\n return C && C.set && V.push(...G.map((R) => Ft(R[0], R[1], { set() {\n Q(k)({ target: this, isTrusted: !1 });\n } }, !1, v))), Q(() => {\n V.forEach((R) => R());\n });\n }(t), c = function({ mediaInteractionCb: Z, blockClass: g, blockSelector: b, mirror: S, sampling: f, doc: w }) {\n const K = Q((L) => bt(Q((N) => {\n const x = yt(N);\n if (!x || me(x, g, b, !0))\n return;\n const { currentTime: k, volume: h, muted: V, playbackRate: v } = x;\n Z({ type: L, id: S.getId(x), currentTime: k, volume: h, muted: V, playbackRate: v });\n }), f.media || 500)), Y = [be(\"play\", K(0), w), be(\"pause\", K(1), w), be(\"seeked\", K(2), w), be(\"volumechange\", K(3), w), be(\"ratechange\", K(4), w)];\n return Q(() => {\n Y.forEach((L) => L());\n });\n }(t);\n let d = () => {\n }, u = () => {\n }, p = () => {\n }, m = () => {\n };\n t.recordDOM && (d = function({ styleSheetRuleCb: Z, mirror: g, stylesheetManager: b }, { win: S }) {\n if (!S.CSSStyleSheet || !S.CSSStyleSheet.prototype)\n return () => {\n };\n const f = S.CSSStyleSheet.prototype.insertRule;\n S.CSSStyleSheet.prototype.insertRule = new Proxy(f, { apply: Q((x, k, h) => {\n const [V, v] = h, { id: C, styleId: G } = Ee(k, g, b.styleMirror);\n return (C && C !== -1 || G && G !== -1) && Z({ id: C, styleId: G, adds: [{ rule: V, index: v }] }), x.apply(k, h);\n }) });\n const w = S.CSSStyleSheet.prototype.deleteRule;\n let K, Y;\n S.CSSStyleSheet.prototype.deleteRule = new Proxy(w, { apply: Q((x, k, h) => {\n const [V] = h, { id: v, styleId: C } = Ee(k, g, b.styleMirror);\n return (v && v !== -1 || C && C !== -1) && Z({ id: v, styleId: C, removes: [{ index: V }] }), x.apply(k, h);\n }) }), S.CSSStyleSheet.prototype.replace && (K = S.CSSStyleSheet.prototype.replace, S.CSSStyleSheet.prototype.replace = new Proxy(K, { apply: Q((x, k, h) => {\n const [V] = h, { id: v, styleId: C } = Ee(k, g, b.styleMirror);\n return (v && v !== -1 || C && C !== -1) && Z({ id: v, styleId: C, replace: V }), x.apply(k, h);\n }) })), S.CSSStyleSheet.prototype.replaceSync && (Y = S.CSSStyleSheet.prototype.replaceSync, S.CSSStyleSheet.prototype.replaceSync = new Proxy(Y, { apply: Q((x, k, h) => {\n const [V] = h, { id: v, styleId: C } = Ee(k, g, b.styleMirror);\n return (v && v !== -1 || C && C !== -1) && Z({ id: v, styleId: C, replaceSync: V }), x.apply(k, h);\n }) }));\n const L = {};\n Ot(\"CSSGroupingRule\") ? L.CSSGroupingRule = S.CSSGroupingRule : (Ot(\"CSSMediaRule\") && (L.CSSMediaRule = S.CSSMediaRule), Ot(\"CSSConditionRule\") && (L.CSSConditionRule = S.CSSConditionRule), Ot(\"CSSSupportsRule\") && (L.CSSSupportsRule = S.CSSSupportsRule));\n const N = {};\n return Object.entries(L).forEach(([x, k]) => {\n N[x] = { insertRule: k.prototype.insertRule, deleteRule: k.prototype.deleteRule }, k.prototype.insertRule = new Proxy(N[x].insertRule, { apply: Q((h, V, v) => {\n const [C, G] = v, { id: R, styleId: U } = Ee(V.parentStyleSheet, g, b.styleMirror);\n return (R && R !== -1 || U && U !== -1) && Z({ id: R, styleId: U, adds: [{ rule: C, index: [...Et(V), G || 0] }] }), h.apply(V, v);\n }) }), k.prototype.deleteRule = new Proxy(N[x].deleteRule, { apply: Q((h, V, v) => {\n const [C] = v, { id: G, styleId: R } = Ee(V.parentStyleSheet, g, b.styleMirror);\n return (G && G !== -1 || R && R !== -1) && Z({ id: G, styleId: R, removes: [{ index: [...Et(V), C] }] }), h.apply(V, v);\n }) });\n }), Q(() => {\n S.CSSStyleSheet.prototype.insertRule = f, S.CSSStyleSheet.prototype.deleteRule = w, K && (S.CSSStyleSheet.prototype.replace = K), Y && (S.CSSStyleSheet.prototype.replaceSync = Y), Object.entries(L).forEach(([x, k]) => {\n k.prototype.insertRule = N[x].insertRule, k.prototype.deleteRule = N[x].deleteRule;\n });\n });\n }(t, { win: i }), u = Bn(t, t.doc), p = function({ styleDeclarationCb: Z, mirror: g, ignoreCSSAttributes: b, stylesheetManager: S }, { win: f }) {\n const w = f.CSSStyleDeclaration.prototype.setProperty;\n f.CSSStyleDeclaration.prototype.setProperty = new Proxy(w, { apply: Q((Y, L, N) => {\n var x;\n const [k, h, V] = N;\n if (b.has(k))\n return w.apply(L, [k, h, V]);\n const { id: v, styleId: C } = Ee((x = L.parentRule) === null || x === void 0 ? void 0 : x.parentStyleSheet, g, S.styleMirror);\n return (v && v !== -1 || C && C !== -1) && Z({ id: v, styleId: C, set: { property: k, value: h, priority: V }, index: Et(L.parentRule) }), Y.apply(L, N);\n }) });\n const K = f.CSSStyleDeclaration.prototype.removeProperty;\n return f.CSSStyleDeclaration.prototype.removeProperty = new Proxy(K, { apply: Q((Y, L, N) => {\n var x;\n const [k] = N;\n if (b.has(k))\n return K.apply(L, [k]);\n const { id: h, styleId: V } = Ee((x = L.parentRule) === null || x === void 0 ? void 0 : x.parentStyleSheet, g, S.styleMirror);\n return (h && h !== -1 || V && V !== -1) && Z({ id: h, styleId: V, remove: { property: k }, index: Et(L.parentRule) }), Y.apply(L, N);\n }) }), Q(() => {\n f.CSSStyleDeclaration.prototype.setProperty = w, f.CSSStyleDeclaration.prototype.removeProperty = K;\n });\n }(t, { win: i }), t.collectFonts && (m = function({ fontCb: Z, doc: g }) {\n const b = g.defaultView;\n if (!b)\n return () => {\n };\n const S = [], f = /* @__PURE__ */ new WeakMap(), w = b.FontFace;\n b.FontFace = function(Y, L, N) {\n const x = new w(Y, L, N);\n return f.set(x, { family: Y, buffer: typeof L != \"string\", descriptors: N, fontSource: typeof L == \"string\" ? L : JSON.stringify(Array.from(new Uint8Array(L))) }), x;\n };\n const K = tt(g.fonts, \"add\", function(Y) {\n return function(L) {\n return setTimeout(Q(() => {\n const N = f.get(L);\n N && (Z(N), f.delete(L));\n }), 0), Y.apply(this, [L]);\n };\n });\n return S.push(() => {\n b.FontFace = w;\n }), S.push(K), Q(() => {\n S.forEach((Y) => Y());\n });\n }(t)));\n const I = function(Z) {\n const { doc: g, mirror: b, blockClass: S, blockSelector: f, selectionCb: w } = Z;\n let K = !0;\n const Y = Q(() => {\n const L = g.getSelection();\n if (!L || K && (L != null && L.isCollapsed))\n return;\n K = L.isCollapsed || !1;\n const N = [], x = L.rangeCount || 0;\n for (let k = 0; k < x; k++) {\n const h = L.getRangeAt(k), { startContainer: V, startOffset: v, endContainer: C, endOffset: G } = h;\n me(V, S, f, !0) || me(C, S, f, !0) || N.push({ start: b.getId(V), startOffset: v, end: b.getId(C), endOffset: G });\n }\n w({ ranges: N });\n });\n return Y(), be(\"selectionchange\", Y);\n }(t), y = function({ doc: Z, customElementCb: g }) {\n const b = Z.defaultView;\n return b && b.customElements ? tt(b.customElements, \"define\", function(S) {\n return function(f, w, K) {\n try {\n g({ define: { name: f } });\n } catch (Y) {\n console.warn(`Custom element callback failed for ${f}`);\n }\n return S.apply(this, [f, w, K]);\n };\n }) : () => {\n };\n }(t), W = [];\n for (const Z of t.plugins)\n W.push(Z.observer(Z.callback, i, Z.options));\n return Q(() => {\n Oe.forEach((Z) => Z.reset()), n == null || n.disconnect(), s(), o(), l(), a(), r(), c(), d(), u(), p(), m(), I(), y(), W.forEach((Z) => Z());\n });\n }\n function Mt(t) {\n return window[t] !== void 0;\n }\n function Ot(t) {\n return !!(window[t] !== void 0 && window[t].prototype && \"insertRule\" in window[t].prototype && \"deleteRule\" in window[t].prototype);\n }\n class Pn {\n constructor(e) {\n this.generateIdFn = e, this.iframeIdToRemoteIdMap = /* @__PURE__ */ new WeakMap(), this.iframeRemoteIdToIdMap = /* @__PURE__ */ new WeakMap();\n }\n getId(e, i, n, s) {\n const o = n || this.getIdToRemoteIdMap(e), l = s || this.getRemoteIdToIdMap(e);\n let a = o.get(i);\n return a || (a = this.generateIdFn(), o.set(i, a), l.set(a, i)), a;\n }\n getIds(e, i) {\n const n = this.getIdToRemoteIdMap(e), s = this.getRemoteIdToIdMap(e);\n return i.map((o) => this.getId(e, o, n, s));\n }\n getRemoteId(e, i, n) {\n const s = n || this.getRemoteIdToIdMap(e);\n return typeof i != \"number\" ? i : s.get(i) || -1;\n }\n getRemoteIds(e, i) {\n const n = this.getRemoteIdToIdMap(e);\n return i.map((s) => this.getRemoteId(e, s, n));\n }\n reset(e) {\n if (!e)\n return this.iframeIdToRemoteIdMap = /* @__PURE__ */ new WeakMap(), void (this.iframeRemoteIdToIdMap = /* @__PURE__ */ new WeakMap());\n this.iframeIdToRemoteIdMap.delete(e), this.iframeRemoteIdToIdMap.delete(e);\n }\n getIdToRemoteIdMap(e) {\n let i = this.iframeIdToRemoteIdMap.get(e);\n return i || (i = /* @__PURE__ */ new Map(), this.iframeIdToRemoteIdMap.set(e, i)), i;\n }\n getRemoteIdToIdMap(e) {\n let i = this.iframeRemoteIdToIdMap.get(e);\n return i || (i = /* @__PURE__ */ new Map(), this.iframeRemoteIdToIdMap.set(e, i)), i;\n }\n }\n class Do {\n constructor(e) {\n this.iframes = /* @__PURE__ */ new WeakMap(), this.crossOriginIframeMap = /* @__PURE__ */ new WeakMap(), this.crossOriginIframeMirror = new Pn(Sn), this.crossOriginIframeRootIdMap = /* @__PURE__ */ new WeakMap(), this.mutationCb = e.mutationCb, this.wrappedEmit = e.wrappedEmit, this.stylesheetManager = e.stylesheetManager, this.recordCrossOriginIframes = e.recordCrossOriginIframes, this.crossOriginIframeStyleMirror = new Pn(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)), this.mirror = e.mirror, this.recordCrossOriginIframes && window.addEventListener(\"message\", this.handleMessage.bind(this));\n }\n addIframe(e) {\n this.iframes.set(e, !0), e.contentWindow && this.crossOriginIframeMap.set(e.contentWindow, e);\n }\n addLoadListener(e) {\n this.loadListener = e;\n }\n attachIframe(e, i) {\n var n;\n this.mutationCb({ adds: [{ parentId: this.mirror.getId(e), nextId: null, node: i }], removes: [], texts: [], attributes: [], isAttachIframe: !0 }), (n = this.loadListener) === null || n === void 0 || n.call(this, e), e.contentDocument && e.contentDocument.adoptedStyleSheets && e.contentDocument.adoptedStyleSheets.length > 0 && this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets, this.mirror.getId(e.contentDocument));\n }\n handleMessage(e) {\n const i = e;\n if (i.data.type !== \"rrweb\" || i.origin !== i.data.origin)\n return;\n const n = e.source;\n if (!n)\n return;\n const s = this.crossOriginIframeMap.get(n);\n if (!s)\n return;\n const o = this.transformCrossOriginEvent(s, i.data.event);\n o && this.wrappedEmit(o, i.data.isCheckout);\n }\n transformCrossOriginEvent(e, i) {\n var n;\n switch (i.type) {\n case j.FullSnapshot: {\n this.crossOriginIframeMirror.reset(e), this.crossOriginIframeStyleMirror.reset(e), this.replaceIdOnNode(i.data.node, e);\n const s = i.data.node.id;\n return this.crossOriginIframeRootIdMap.set(e, s), this.patchRootIdOnNode(i.data.node, s), { timestamp: i.timestamp, type: j.IncrementalSnapshot, data: { source: D.Mutation, adds: [{ parentId: this.mirror.getId(e), nextId: null, node: i.data.node }], removes: [], texts: [], attributes: [], isAttachIframe: !0 } };\n }\n case j.Meta:\n case j.Load:\n case j.DomContentLoaded:\n return !1;\n case j.Plugin:\n return i;\n case j.Custom:\n return this.replaceIds(i.data.payload, e, [\"id\", \"parentId\", \"previousId\", \"nextId\"]), i;\n case j.IncrementalSnapshot:\n switch (i.data.source) {\n case D.Mutation:\n return i.data.adds.forEach((s) => {\n this.replaceIds(s, e, [\"parentId\", \"nextId\", \"previousId\"]), this.replaceIdOnNode(s.node, e);\n const o = this.crossOriginIframeRootIdMap.get(e);\n o && this.patchRootIdOnNode(s.node, o);\n }), i.data.removes.forEach((s) => {\n this.replaceIds(s, e, [\"parentId\", \"id\"]);\n }), i.data.attributes.forEach((s) => {\n this.replaceIds(s, e, [\"id\"]);\n }), i.data.texts.forEach((s) => {\n this.replaceIds(s, e, [\"id\"]);\n }), i;\n case D.Drag:\n case D.TouchMove:\n case D.MouseMove:\n return i.data.positions.forEach((s) => {\n this.replaceIds(s, e, [\"id\"]);\n }), i;\n case D.ViewportResize:\n return !1;\n case D.MediaInteraction:\n case D.MouseInteraction:\n case D.Scroll:\n case D.CanvasMutation:\n case D.Input:\n return this.replaceIds(i.data, e, [\"id\"]), i;\n case D.StyleSheetRule:\n case D.StyleDeclaration:\n return this.replaceIds(i.data, e, [\"id\"]), this.replaceStyleIds(i.data, e, [\"styleId\"]), i;\n case D.Font:\n return i;\n case D.Selection:\n return i.data.ranges.forEach((s) => {\n this.replaceIds(s, e, [\"start\", \"end\"]);\n }), i;\n case D.AdoptedStyleSheet:\n return this.replaceIds(i.data, e, [\"id\"]), this.replaceStyleIds(i.data, e, [\"styleIds\"]), (n = i.data.styles) === null || n === void 0 || n.forEach((s) => {\n this.replaceStyleIds(s, e, [\"styleId\"]);\n }), i;\n }\n }\n return !1;\n }\n replace(e, i, n, s) {\n for (const o of s)\n (Array.isArray(i[o]) || typeof i[o] == \"number\") && (Array.isArray(i[o]) ? i[o] = e.getIds(n, i[o]) : i[o] = e.getId(n, i[o]));\n return i;\n }\n replaceIds(e, i, n) {\n return this.replace(this.crossOriginIframeMirror, e, i, n);\n }\n replaceStyleIds(e, i, n) {\n return this.replace(this.crossOriginIframeStyleMirror, e, i, n);\n }\n replaceIdOnNode(e, i) {\n this.replaceIds(e, i, [\"id\", \"rootId\"]), \"childNodes\" in e && e.childNodes.forEach((n) => {\n this.replaceIdOnNode(n, i);\n });\n }\n patchRootIdOnNode(e, i) {\n e.type === $.Document || e.rootId || (e.rootId = i), \"childNodes\" in e && e.childNodes.forEach((n) => {\n this.patchRootIdOnNode(n, i);\n });\n }\n }\n class Qo {\n constructor(e) {\n this.shadowDoms = /* @__PURE__ */ new WeakSet(), this.restoreHandlers = [], this.mutationCb = e.mutationCb, this.scrollCb = e.scrollCb, this.bypassOptions = e.bypassOptions, this.mirror = e.mirror, this.init();\n }\n init() {\n this.reset(), this.patchAttachShadow(Element, document);\n }\n addShadowRoot(e, i) {\n if (!pt(e) || this.shadowDoms.has(e))\n return;\n this.shadowDoms.add(e);\n const n = Mn(Object.assign(Object.assign({}, this.bypassOptions), { doc: i, mutationCb: this.mutationCb, mirror: this.mirror, shadowDomManager: this }), e);\n this.restoreHandlers.push(() => n.disconnect()), this.restoreHandlers.push(On(Object.assign(Object.assign({}, this.bypassOptions), { scrollCb: this.scrollCb, doc: e, mirror: this.mirror }))), setTimeout(() => {\n e.adoptedStyleSheets && e.adoptedStyleSheets.length > 0 && this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets, this.mirror.getId(e.host)), this.restoreHandlers.push(Bn({ mirror: this.mirror, stylesheetManager: this.bypassOptions.stylesheetManager }, e));\n }, 0);\n }\n observeAttachShadow(e) {\n e.contentWindow && e.contentDocument && this.patchAttachShadow(e.contentWindow.Element, e.contentDocument);\n }\n patchAttachShadow(e, i) {\n const n = this;\n this.restoreHandlers.push(tt(e.prototype, \"attachShadow\", function(s) {\n return function(o) {\n const l = s.call(this, o);\n return this.shadowRoot && Jn(this) && n.addShadowRoot(this.shadowRoot, i), l;\n };\n }));\n }\n reset() {\n this.restoreHandlers.forEach((e) => {\n try {\n e();\n } catch (i) {\n }\n }), this.restoreHandlers = [], this.shadowDoms = /* @__PURE__ */ new WeakSet();\n }\n }\n for (var gt = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\", jo = typeof Uint8Array == \"undefined\" ? [] : new Uint8Array(256), zt = 0; zt < 64; zt++)\n jo[gt.charCodeAt(zt)] = zt;\n const An = /* @__PURE__ */ new Map(), Dn = (t, e, i) => {\n if (!t || !jn(t, e) && typeof t != \"object\")\n return;\n const n = function(o, l) {\n let a = An.get(o);\n return a || (a = /* @__PURE__ */ new Map(), An.set(o, a)), a.has(l) || a.set(l, []), a.get(l);\n }(i, t.constructor.name);\n let s = n.indexOf(t);\n return s === -1 && (s = n.length, n.push(t)), s;\n };\n function Bt(t, e, i) {\n if (t instanceof Array)\n return t.map((n) => Bt(n, e, i));\n if (t === null)\n return t;\n if (t instanceof Float32Array || t instanceof Float64Array || t instanceof Int32Array || t instanceof Uint32Array || t instanceof Uint8Array || t instanceof Uint16Array || t instanceof Int16Array || t instanceof Int8Array || t instanceof Uint8ClampedArray)\n return { rr_type: t.constructor.name, args: [Object.values(t)] };\n if (t instanceof ArrayBuffer)\n return { rr_type: t.constructor.name, base64: function(n) {\n var s, o = new Uint8Array(n), l = o.length, a = \"\";\n for (s = 0; s < l; s += 3)\n a += gt[o[s] >> 2], a += gt[(3 & o[s]) << 4 | o[s + 1] >> 4], a += gt[(15 & o[s + 1]) << 2 | o[s + 2] >> 6], a += gt[63 & o[s + 2]];\n return l % 3 == 2 ? a = a.substring(0, a.length - 1) + \"=\" : l % 3 == 1 && (a = a.substring(0, a.length - 2) + \"==\"), a;\n }(t) };\n if (t instanceof DataView)\n return { rr_type: t.constructor.name, args: [Bt(t.buffer, e, i), t.byteOffset, t.byteLength] };\n if (t instanceof HTMLImageElement) {\n const n = t.constructor.name, { src: s } = t;\n return { rr_type: n, src: s };\n }\n return t instanceof HTMLCanvasElement ? { rr_type: \"HTMLImageElement\", src: t.toDataURL() } : t instanceof ImageData ? { rr_type: t.constructor.name, args: [Bt(t.data, e, i), t.width, t.height] } : jn(t, e) || typeof t == \"object\" ? { rr_type: t.constructor.name, index: Dn(t, e, i) } : t;\n }\n const Qn = (t, e, i) => t.map((n) => Bt(n, e, i)), jn = (t, e) => !![\"WebGLActiveInfo\", \"WebGLBuffer\", \"WebGLFramebuffer\", \"WebGLProgram\", \"WebGLRenderbuffer\", \"WebGLShader\", \"WebGLShaderPrecisionFormat\", \"WebGLTexture\", \"WebGLUniformLocation\", \"WebGLVertexArrayObject\", \"WebGLVertexArrayObjectOES\"].filter((n) => typeof e[n] == \"function\").find((n) => t instanceof e[n]);\n function _n(t, e, i, n) {\n const s = [];\n try {\n const o = tt(t.HTMLCanvasElement.prototype, \"getContext\", function(l) {\n return function(a, ...r) {\n if (!me(this, e, i, !0)) {\n const c = /* @__PURE__ */ function(d) {\n return d === \"experimental-webgl\" ? \"webgl\" : d;\n }(a);\n if (\"__context\" in this || (this.__context = c), n && [\"webgl\", \"webgl2\"].includes(c))\n if (r[0] && typeof r[0] == \"object\") {\n const d = r[0];\n d.preserveDrawingBuffer || (d.preserveDrawingBuffer = !0);\n } else\n r.splice(0, 1, { preserveDrawingBuffer: !0 });\n }\n return l.apply(this, [a, ...r]);\n };\n });\n s.push(o);\n } catch (o) {\n console.error(\"failed to patch HTMLCanvasElement.prototype.getContext\");\n }\n return () => {\n s.forEach((o) => o());\n };\n }\n function qn(t, e, i, n, s, o, l) {\n const a = [], r = Object.getOwnPropertyNames(t);\n for (const c of r)\n if (![\"isContextLost\", \"canvas\", \"drawingBufferWidth\", \"drawingBufferHeight\"].includes(c))\n try {\n if (typeof t[c] != \"function\")\n continue;\n const d = tt(t, c, function(u) {\n return function(...p) {\n const m = u.apply(this, p);\n if (Dn(m, l, this), \"tagName\" in this.canvas && !me(this.canvas, n, s, !0)) {\n const I = Qn(p, l, this), y = { type: e, property: c, args: I };\n i(this.canvas, y);\n }\n return m;\n };\n });\n a.push(d);\n } catch (d) {\n const u = Ft(t, c, { set(p) {\n i(this.canvas, { type: e, property: c, args: [p], setter: !0 });\n } });\n a.push(u);\n }\n return a;\n }\n function _o(t, e, i) {\n var n = e === void 0 ? null : e, s = function(r, c) {\n var d = atob(r);\n if (c) {\n for (var u = new Uint8Array(d.length), p = 0, m = d.length; p < m; ++p)\n u[p] = d.charCodeAt(p);\n return String.fromCharCode.apply(null, new Uint16Array(u.buffer));\n }\n return d;\n }(t, i !== void 0 && i), o = s.indexOf(`\n`, 10) + 1, l = s.substring(o) + (n ? \"//# sourceMappingURL=\" + n : \"\"), a = new Blob([l], { type: \"application/javascript\" });\n return URL.createObjectURL(a);\n }\n var $n, es, ts, Wi, qo = ($n = \"Lyogcm9sbHVwLXBsdWdpbi13ZWItd29ya2VyLWxvYWRlciAqLwooZnVuY3Rpb24gKCkgewogICAgJ3VzZSBzdHJpY3QnOwoKICAgIC8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioNCiAgICBDb3B5cmlnaHQgKGMpIE1pY3Jvc29mdCBDb3Jwb3JhdGlvbi4NCg0KICAgIFBlcm1pc3Npb24gdG8gdXNlLCBjb3B5LCBtb2RpZnksIGFuZC9vciBkaXN0cmlidXRlIHRoaXMgc29mdHdhcmUgZm9yIGFueQ0KICAgIHB1cnBvc2Ugd2l0aCBvciB3aXRob3V0IGZlZSBpcyBoZXJlYnkgZ3JhbnRlZC4NCg0KICAgIFRIRSBTT0ZUV0FSRSBJUyBQUk9WSURFRCAiQVMgSVMiIEFORCBUSEUgQVVUSE9SIERJU0NMQUlNUyBBTEwgV0FSUkFOVElFUyBXSVRIDQogICAgUkVHQVJEIFRPIFRISVMgU09GVFdBUkUgSU5DTFVESU5HIEFMTCBJTVBMSUVEIFdBUlJBTlRJRVMgT0YgTUVSQ0hBTlRBQklMSVRZDQogICAgQU5EIEZJVE5FU1MuIElOIE5PIEVWRU5UIFNIQUxMIFRIRSBBVVRIT1IgQkUgTElBQkxFIEZPUiBBTlkgU1BFQ0lBTCwgRElSRUNULA0KICAgIElORElSRUNULCBPUiBDT05TRVFVRU5USUFMIERBTUFHRVMgT1IgQU5ZIERBTUFHRVMgV0hBVFNPRVZFUiBSRVNVTFRJTkcgRlJPTQ0KICAgIExPU1MgT0YgVVNFLCBEQVRBIE9SIFBST0ZJVFMsIFdIRVRIRVIgSU4gQU4gQUNUSU9OIE9GIENPTlRSQUNULCBORUdMSUd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AgICAgICAgICAgICAgICAgICAgICAgIGJhc2U2NCwNCiAgICAgICAgICAgICAgICAgICAgfSk7DQogICAgICAgICAgICAgICAgICAgIGxhc3RCbG9iTWFwLnNldChpZCwgYmFzZTY0KTsNCiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHdvcmtlci5wb3N0TWVzc2FnZSh7IGlkLCBzdGF0dXM6ICd0cmFuc3BhcmVudCcgfSk7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIGlmIChsYXN0QmxvYk1hcC5nZXQoaWQpID09PSBiYXNlNjQpIHsNCiAgICAgICAgICAgICAgICAgICAgZGVidWcoJ1toaWdobGlnaHQtd29ya2VyXSBjYW52YXMgYml0bWFwIGlzIHVuY2hhbmdlZCcsIHsNCiAgICAgICAgICAgICAgICAgICAgICAgIGlkLA0KICAgICAgICAgICAgICAgICAgICAgICAgYmFzZTY0LA0KICAgICAgICAgICAgICAgICAgICB9KTsNCiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHdvcmtlci5wb3N0TWVzc2FnZSh7IGlkLCBzdGF0dXM6ICd1bmNoYW5nZWQnIH0pOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgICAgICBkZWJ1ZygnW2hpZ2hsaWdodC13b3JrZXJdIGNhbnZhcyBiaXRtYXAgcHJvY2Vzc2VkJywgew0KICAgICAgICAgICAgICAgICAgICBpZCwNCiAgICAgICAgICAgICAgICAgICAgYmFzZTY0LA0KICAgICAgICAgICAgICAgIH0pOw0KICAgICAgICAgICAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7DQogICAgICAgICAgICAgICAgICAgIGlkLA0KICAgICAgICAgICAgICAgICAgICB0eXBlLA0KICAgICAgICAgICAgICAgICAgICBiYXNlNjQsDQogICAgICAgICAgICAgICAgICAgIHdpZHRoLA0KICAgICAgICAgICAgICAgICAgICBoZWlnaHQsDQogICAgICAgICAgICAgICAgICAgIGR4LA0KICAgICAgICAgICAgICAgICAgICBkeSwNCiAgICAgICAgICAgICAgICAgICAgZHcsDQogICAgICAgICAgICAgICAgICAgIGRoLA0KICAgICAgICAgICAgICAgIH0pOw0KICAgICAgICAgICAgICAgIGxhc3RCbG9iTWFwLnNldChpZCwgYmFzZTY0KTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIGVsc2Ugew0KICAgICAgICAgICAgICAgIGRlYnVnKCdbaGlnaGxpZ2h0LXdvcmtlcl0gbm8gb2Zmc2NyZWVuY2FudmFzIHN1cHBvcnQnLCB7DQogICAgICAgICAgICAgICAgICAgIGlkOiBlLmRhdGEuaWQsDQogICAgICAgICAgICAgICAgfSk7DQogICAgICAgICAgICAgICAgcmV0dXJuIHdvcmtlci5wb3N0TWVzc2FnZSh7IGlkOiBlLmRhdGEuaWQsIHN0YXR1czogJ3Vuc3VwcG9ydGVkJyB9KTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgfSk7DQogICAgfTsKCn0pKCk7Cgo=\", es = null, ts = !1, function(t) {\n return Wi = Wi || _o($n, es, ts), new Worker(Wi, t);\n });\n class $o {\n reset() {\n this.pendingCanvasMutations.clear(), this.resetObservers && this.resetObservers();\n }\n freeze() {\n this.frozen = !0;\n }\n unfreeze() {\n this.frozen = !1;\n }\n lock() {\n this.locked = !0;\n }\n unlock() {\n this.locked = !1;\n }\n constructor(e) {\n this.pendingCanvasMutations = /* @__PURE__ */ new Map(), this.rafStamps = { latestId: 0, invokeId: null }, this.snapshotInProgressMap = /* @__PURE__ */ new Map(), this.lastSnapshotTime = /* @__PURE__ */ new Map(), this.frozen = !1, this.locked = !1, this.processMutation = (d, u) => {\n !(this.rafStamps.invokeId && this.rafStamps.latestId !== this.rafStamps.invokeId) && this.rafStamps.invokeId || (this.rafStamps.invokeId = this.rafStamps.latestId), this.pendingCanvasMutations.has(d) || this.pendingCanvasMutations.set(d, []), this.pendingCanvasMutations.get(d).push(u);\n };\n const { sampling: i, win: n, blockClass: s, blockSelector: o, recordCanvas: l, recordVideos: a, initialSnapshotDelay: r, dataURLOptions: c } = e;\n this.mutationCb = e.mutationCb, this.mirror = e.mirror, this.logger = e.logger, this.worker = new qo(), this.worker.onmessage = (d) => {\n const { id: u } = d.data;\n if (this.snapshotInProgressMap.set(u, !1), !(\"base64\" in d.data))\n return void this.debug(null, \"canvas worker received empty message\", { data: d.data, status: d.data.status });\n const { base64: p, type: m, dx: I, dy: y, dw: W, dh: Z } = d.data;\n this.mutationCb({ id: u, type: it[\"2D\"], commands: [{ property: \"clearRect\", args: [I, y, W, Z] }, { property: \"drawImage\", args: [{ rr_type: \"ImageBitmap\", args: [{ rr_type: \"Blob\", data: [{ rr_type: \"ArrayBuffer\", base64: p }], type: m }] }, I, y, W, Z] }] });\n }, this.options = e, l && i === \"all\" ? (this.debug(null, \"initializing canvas mutation observer\", { sampling: i }), this.initCanvasMutationObserver(n, s, o)) : l && typeof i == \"number\" && (this.debug(null, \"initializing canvas fps observer\", { sampling: i }), this.initCanvasFPSObserver(a, i, n, s, o, { initialSnapshotDelay: r, dataURLOptions: c }, e.resizeFactor, e.maxSnapshotDimension));\n }\n debug(e, ...i) {\n if (!this.logger)\n return;\n const n = this.mirror.getId(e);\n let s = \"[highlight-canvas-manager]\";\n e && (s = `[highlight-canvas] [id:${n}]`, e.tagName.toLowerCase() === \"canvas\" && (s += ` [ctx:${e.__context}]`)), this.logger.debug(s, e, ...i);\n }\n snapshot(e) {\n var i;\n return Jt(this, void 0, void 0, function* () {\n this.debug(e, \"starting snapshotting\");\n const n = this.mirror.getId(e);\n if (this.snapshotInProgressMap.get(n))\n this.debug(e, \"snapshotting already in progress for\", n);\n else if (e.width !== 0 && e.height !== 0) {\n this.snapshotInProgressMap.set(n, !0);\n try {\n if (this.options.clearWebGLBuffer !== !1 && [\"webgl\", \"webgl2\"].includes(e.__context)) {\n const r = e.getContext(e.__context);\n ((i = r == null ? void 0 : r.getContextAttributes()) === null || i === void 0 ? void 0 : i.preserveDrawingBuffer) === !1 && (r.clear(r.COLOR_BUFFER_BIT), this.debug(e, \"cleared webgl canvas to load it into memory\", { attributes: r == null ? void 0 : r.getContextAttributes() }));\n }\n if (e.width === 0 || e.height === 0)\n return void this.debug(e, \"not yet ready\", { width: e.width, height: e.height });\n let s = this.options.resizeFactor || 1;\n if (this.options.maxSnapshotDimension) {\n const r = Math.max(e.width, e.height);\n s = Math.min(s, this.options.maxSnapshotDimension / r);\n }\n const o = e.width * s, l = e.height * s, a = yield createImageBitmap(e, { resizeWidth: o, resizeHeight: l });\n this.debug(e, \"created image bitmap\", { width: a.width, height: a.height }), this.worker.postMessage({ id: n, bitmap: a, width: o, height: l, dx: 0, dy: 0, dw: e.width, dh: e.height, dataURLOptions: this.options.dataURLOptions, logDebug: !!this.logger }, [a]), this.debug(e, \"sent message\");\n } catch (s) {\n this.debug(e, \"failed to snapshot\", s);\n } finally {\n this.snapshotInProgressMap.set(n, !1);\n }\n } else\n this.debug(e, \"not yet ready\", { width: e.width, height: e.height });\n });\n }\n initCanvasFPSObserver(e, i, n, s, o, l, a, r) {\n const c = _n(n, s, o, !0), d = 1e3 / i;\n let u, p = 0;\n const m = /* @__PURE__ */ new Map(), I = (Z) => {\n const g = [];\n return n.document.querySelectorAll(\"canvas\").forEach((b) => {\n if (!me(b, s, o, !0)) {\n this.debug(b, \"discovered canvas\"), g.push(b);\n const S = this.mirror.getId(b);\n m.has(S) || m.set(S, Z);\n }\n }), g;\n }, y = (Z) => {\n const g = [];\n return e && n.document.querySelectorAll(\"video\").forEach((b) => {\n if ((b.src === \"\" || b.src.indexOf(\"blob:\") !== -1) && !me(b, s, o, !0)) {\n g.push(b);\n const S = this.mirror.getId(b);\n m.has(S) || m.set(S, Z);\n }\n }), g;\n }, W = (Z) => Jt(this, void 0, void 0, function* () {\n if (p && Z - p < d)\n return void (u = requestAnimationFrame(W));\n p = Z;\n const g = (S) => {\n const f = this.mirror.getId(S), w = m.get(f), K = !l.initialSnapshotDelay || Z - w > l.initialSnapshotDelay;\n return this.debug(S, { delay: l.initialSnapshotDelay, delta: Z - w, hadLoadingTime: K }), K;\n }, b = [];\n b.push(...I(Z).filter(g).map((S) => this.snapshot(S))), b.push(...y(Z).filter(g).map((S) => Jt(this, void 0, void 0, function* () {\n this.debug(S, \"starting video snapshotting\");\n const f = this.mirror.getId(S);\n if (this.snapshotInProgressMap.get(f))\n this.debug(S, \"video snapshotting already in progress for\", f);\n else {\n this.snapshotInProgressMap.set(f, !0);\n try {\n const { width: w, height: K } = S.getBoundingClientRect(), { actualWidth: Y, actualHeight: L } = { actualWidth: S.videoWidth, actualHeight: S.videoHeight }, N = Math.max(Y, L);\n let x = a || 1;\n r && (x = Math.min(x, r / N));\n const k = Y * x, h = L * x, V = yield createImageBitmap(S, { resizeWidth: k, resizeHeight: h }), v = Math.max(w, K) / N, C = Y * v, G = L * v, R = (w - C) / 2, U = (K - G) / 2;\n this.debug(S, \"created image bitmap\", { actualWidth: Y, actualHeight: L, boxWidth: w, boxHeight: K, outputWidth: C, outputHeight: G, resizeWidth: k, resizeHeight: h, scale: x, outputScale: v, offsetX: R, offsetY: U }), this.worker.postMessage({ id: f, bitmap: V, width: k, height: h, dx: R, dy: U, dw: C, dh: G, dataURLOptions: l.dataURLOptions, logDebug: !!this.logger }, [V]), this.debug(S, \"send message\");\n } catch (w) {\n this.debug(S, \"failed to snapshot\", w);\n } finally {\n this.snapshotInProgressMap.set(f, !1);\n }\n }\n }))), yield Promise.all(b).catch(console.error), u = requestAnimationFrame(W);\n });\n u = requestAnimationFrame(W), this.resetObservers = () => {\n c(), u && cancelAnimationFrame(u);\n };\n }\n initCanvasMutationObserver(e, i, n) {\n this.startRAFTimestamping(), this.startPendingCanvasMutationFlusher();\n const s = _n(e, i, n, !1), o = function(a, r, c, d) {\n const u = [], p = Object.getOwnPropertyNames(r.CanvasRenderingContext2D.prototype);\n for (const m of p)\n try {\n if (typeof r.CanvasRenderingContext2D.prototype[m] != \"function\")\n continue;\n const I = tt(r.CanvasRenderingContext2D.prototype, m, function(y) {\n return function(...W) {\n return me(this.canvas, c, d, !0) || setTimeout(() => {\n const Z = Qn(W, r, this);\n a(this.canvas, { type: it[\"2D\"], property: m, args: Z });\n }, 0), y.apply(this, W);\n };\n });\n u.push(I);\n } catch (I) {\n const y = Ft(r.CanvasRenderingContext2D.prototype, m, { set(W) {\n a(this.canvas, { type: it[\"2D\"], property: m, args: [W], setter: !0 });\n } });\n u.push(y);\n }\n return () => {\n u.forEach((m) => m());\n };\n }(this.processMutation.bind(this), e, i, n), l = function(a, r, c, d, u) {\n const p = [];\n return p.push(...qn(r.WebGLRenderingContext.prototype, it.WebGL, a, c, d, 0, r)), r.WebGL2RenderingContext !== void 0 && p.push(...qn(r.WebGL2RenderingContext.prototype, it.WebGL2, a, c, d, 0, r)), () => {\n p.forEach((m) => m());\n };\n }(this.processMutation.bind(this), e, i, n);\n this.resetObservers = () => {\n s(), o(), l();\n };\n }\n startPendingCanvasMutationFlusher() {\n requestAnimationFrame(() => this.flushPendingCanvasMutations());\n }\n startRAFTimestamping() {\n const e = (i) => {\n this.rafStamps.latestId = i, requestAnimationFrame(e);\n };\n requestAnimationFrame(e);\n }\n flushPendingCanvasMutations() {\n this.pendingCanvasMutations.forEach((e, i) => {\n const n = this.mirror.getId(i);\n this.flushPendingCanvasMutationFor(i, n);\n }), requestAnimationFrame(() => this.flushPendingCanvasMutations());\n }\n flushPendingCanvasMutationFor(e, i) {\n if (this.frozen || this.locked)\n return;\n const n = this.pendingCanvasMutations.get(e);\n if (!n || i === -1)\n return;\n const s = n.map((l) => function(a, r) {\n var c = {};\n for (var d in a)\n Object.prototype.hasOwnProperty.call(a, d) && r.indexOf(d) < 0 && (c[d] = a[d]);\n if (a != null && typeof Object.getOwnPropertySymbols == \"function\") {\n var u = 0;\n for (d = Object.getOwnPropertySymbols(a); u < d.length; u++)\n r.indexOf(d[u]) < 0 && Object.prototype.propertyIsEnumerable.call(a, d[u]) && (c[d[u]] = a[d[u]]);\n }\n return c;\n }(l, [\"type\"])), { type: o } = n[0];\n this.mutationCb({ id: i, type: o, commands: s }), this.pendingCanvasMutations.delete(e);\n }\n }\n class el {\n constructor(e) {\n this.trackedLinkElements = /* @__PURE__ */ new WeakSet(), this.styleMirror = new Eo(), this.mutationCb = e.mutationCb, this.adoptedStyleSheetCb = e.adoptedStyleSheetCb;\n }\n attachLinkElement(e, i) {\n \"_cssText\" in i.attributes && this.mutationCb({ adds: [], removes: [], texts: [], attributes: [{ id: i.id, attributes: i.attributes }] }), this.trackLinkElement(e);\n }\n trackLinkElement(e) {\n this.trackedLinkElements.has(e) || (this.trackedLinkElements.add(e), this.trackStylesheetInLinkElement(e));\n }\n adoptStyleSheets(e, i) {\n if (e.length === 0)\n return;\n const n = { id: i, styleIds: [] }, s = [];\n for (const o of e) {\n let l;\n this.styleMirror.has(o) ? l = this.styleMirror.getId(o) : (l = this.styleMirror.add(o), s.push({ styleId: l, rules: Array.from(o.rules || CSSRule, (a, r) => ({ rule: mn(a), index: r })) })), n.styleIds.push(l);\n }\n s.length > 0 && (n.styles = s), this.adoptedStyleSheetCb(n);\n }\n reset() {\n this.styleMirror.reset(), this.trackedLinkElements = /* @__PURE__ */ new WeakSet();\n }\n trackStylesheetInLinkElement(e) {\n }\n }\n class tl {\n constructor() {\n this.nodeMap = /* @__PURE__ */ new WeakMap(), this.loop = !0, this.periodicallyClear();\n }\n periodicallyClear() {\n requestAnimationFrame(() => {\n this.clear(), this.loop && this.periodicallyClear();\n });\n }\n inOtherBuffer(e, i) {\n const n = this.nodeMap.get(e);\n return n && Array.from(n).some((s) => s !== i);\n }\n add(e, i) {\n this.nodeMap.set(e, (this.nodeMap.get(e) || /* @__PURE__ */ new Set()).add(i));\n }\n clear() {\n this.nodeMap = /* @__PURE__ */ new WeakMap();\n }\n destroy() {\n this.loop = !1;\n }\n }\n function oe(t) {\n return Object.assign(Object.assign({}, t), { timestamp: Ht() });\n }\n let ne, Pt, It, At = !1;\n const Re = new bn();\n function Je(t = {}) {\n var e, i, n, s, o, l, a, r;\n const { emit: c, checkoutEveryNms: d, checkoutEveryNth: u, blockClass: p = \"highlight-block\", blockSelector: m = null, ignoreClass: I = \"highlight-ignore\", ignoreSelector: y = null, maskTextClass: W = \"highlight-mask\", maskTextSelector: Z = null, inlineStylesheet: g = !0, maskAllInputs: b, maskInputOptions: S, slimDOMOptions: f, maskInputFn: w, maskTextFn: K = Zi, hooks: Y, packFn: L, sampling: N = {}, mousemoveWait: x, recordDOM: k = !0, recordCanvas: h = !1, recordCrossOriginIframes: V = !1, recordAfter: v = t.recordAfter === \"DOMContentLoaded\" ? t.recordAfter : \"load\", userTriggeredOnInput: C = !1, collectFonts: G = !1, inlineImages: R = !1, plugins: U, keepIframeSrcFn: q = () => !1, privacySetting: ee = \"default\", ignoreCSSAttributes: P = /* @__PURE__ */ new Set([]), errorHandler: M, logger: Se } = t, Ge = Object.assign(Object.assign({}, t.dataURLOptions), (i = (e = t.sampling) === null || e === void 0 ? void 0 : e.canvas) === null || i === void 0 ? void 0 : i.dataURLOptions);\n Zt = M;\n const F = !V || window.parent === window;\n let B = !1;\n if (!F)\n try {\n window.parent.document && (B = !1);\n } catch (E) {\n B = !0;\n }\n if (F && !c)\n throw new Error(\"emit function is required\");\n x !== void 0 && N.mousemove === void 0 && (N.mousemove = x), Re.reset();\n const ce = b === !0 ? { color: !0, date: !0, \"datetime-local\": !0, email: !0, month: !0, number: !0, range: !0, search: !0, tel: !0, text: !0, time: !0, url: !0, week: !0, textarea: !0, select: !0, password: !0 } : S !== void 0 ? S : { password: !0 }, xe = f === !0 || f === \"all\" ? { script: !0, comment: !0, headFavicon: !0, headWhitespace: !0, headMetaSocial: !0, headMetaRobots: !0, headMetaHttpEquiv: !0, headMetaVerification: !0, headMetaAuthorship: f === \"all\", headMetaDescKeywords: f === \"all\" } : f || {};\n let ct;\n (function(E = window) {\n \"NodeList\" in E && !E.NodeList.prototype.forEach && (E.NodeList.prototype.forEach = Array.prototype.forEach), \"DOMTokenList\" in E && !E.DOMTokenList.prototype.forEach && (E.DOMTokenList.prototype.forEach = Array.prototype.forEach), Node.prototype.contains || (Node.prototype.contains = (...Ve) => {\n let _ = Ve[0];\n if (!(0 in Ve))\n throw new TypeError(\"1 argument is required\");\n do\n if (this === _)\n return !0;\n while (_ = _ && _.parentNode);\n return !1;\n });\n })();\n let Tt = 0;\n const di = (E) => {\n for (const Ve of U || [])\n Ve.eventProcessor && (E = Ve.eventProcessor(E));\n return L && !B && (E = L(E)), E;\n };\n ne = (E, Ve) => {\n var _;\n if (!(!((_ = Oe[0]) === null || _ === void 0) && _.isFrozen()) || E.type === j.FullSnapshot || E.type === j.IncrementalSnapshot && E.data.source === D.Mutation || Oe.forEach((he) => he.unfreeze()), F)\n c == null || c(di(E), Ve);\n else if (B) {\n const he = { type: \"rrweb\", event: di(E), origin: window.location.origin, isCheckout: Ve };\n window.parent.postMessage(he, \"*\");\n }\n if (E.type === j.FullSnapshot)\n ct = E, Tt = 0;\n else if (E.type === j.IncrementalSnapshot) {\n if (E.data.source === D.Mutation && E.data.isAttachIframe)\n return;\n Tt++;\n const he = u && Tt >= u, Ue = d && E.timestamp - ct.timestamp > d;\n (he || Ue) && Pt(!0);\n }\n };\n const ui = (E) => {\n ne(oe({ type: j.IncrementalSnapshot, data: Object.assign({ source: D.Mutation }, E) }));\n }, Wo = (E) => ne(oe({ type: j.IncrementalSnapshot, data: Object.assign({ source: D.Scroll }, E) })), fo = (E) => ne(oe({ type: j.IncrementalSnapshot, data: Object.assign({ source: D.CanvasMutation }, E) })), Qe = new el({ mutationCb: ui, adoptedStyleSheetCb: (E) => ne(oe({ type: j.IncrementalSnapshot, data: Object.assign({ source: D.AdoptedStyleSheet }, E) })) }), je = new Do({ mirror: Re, mutationCb: ui, stylesheetManager: Qe, recordCrossOriginIframes: V, wrappedEmit: ne });\n for (const E of U || [])\n E.getMirror && E.getMirror({ nodeMirror: Re, crossOriginIframeMirror: je.crossOriginIframeMirror, crossOriginIframeStyleMirror: je.crossOriginIframeStyleMirror });\n const an = new tl();\n It = new $o({ recordCanvas: h, recordVideos: R, mutationCb: fo, win: window, blockClass: p, blockSelector: m, mirror: Re, sampling: (n = N == null ? void 0 : N.canvas) === null || n === void 0 ? void 0 : n.fps, samplingManual: (s = N == null ? void 0 : N.canvas) === null || s === void 0 ? void 0 : s.fpsManual, clearWebGLBuffer: (o = N == null ? void 0 : N.canvas) === null || o === void 0 ? void 0 : o.clearWebGLBuffer, initialSnapshotDelay: (l = N == null ? void 0 : N.canvas) === null || l === void 0 ? void 0 : l.initialSnapshotDelay, dataURLOptions: Ge, resizeFactor: (a = N == null ? void 0 : N.canvas) === null || a === void 0 ? void 0 : a.resizeFactor, maxSnapshotDimension: (r = N == null ? void 0 : N.canvas) === null || r === void 0 ? void 0 : r.maxSnapshotDimension, logger: Se });\n const pi = new Qo({ mutationCb: ui, scrollCb: Wo, bypassOptions: { blockClass: p, blockSelector: m, maskTextClass: W, maskTextSelector: Z, inlineStylesheet: g, maskInputOptions: ce, dataURLOptions: Ge, maskTextFn: K, maskInputFn: w, recordCanvas: h, inlineImages: R, privacySetting: ee, sampling: N, slimDOMOptions: xe, iframeManager: je, stylesheetManager: Qe, canvasManager: It, keepIframeSrcFn: q, processedNodeManager: an }, mirror: Re });\n Pt = (E = !1) => {\n if (!k)\n return;\n ne(oe({ type: j.Meta, data: { href: window.location.href, width: kn(), height: vn() } }), E), Qe.reset(), pi.init(), Oe.forEach((_) => _.lock());\n const Ve = function(_, he) {\n const { mirror: Ue = new bn(), blockClass: te = \"highlight-block\", blockSelector: Nt = null, maskTextClass: Hr = \"highlight-mask\", maskTextSelector: Er = null, inlineStylesheet: Mr = !0, inlineImages: Or = !1, recordCanvas: zr = !1, maskAllInputs: cn = !1, maskTextFn: Br, maskInputFn: Pr, slimDOM: hi = !1, dataURLOptions: Ar, preserveWhiteSpace: Dr, onSerialize: Qr, onIframeLoad: jr, iframeLoadTimeout: _r, onStylesheetLoad: qr, stylesheetLoadTimeout: $r, keepIframeSrcFn: ea = () => !1, privacySetting: ta = \"default\" } = he || {};\n return $e(_, { doc: _, mirror: Ue, blockClass: te, blockSelector: Nt, maskTextClass: Hr, maskTextSelector: Er, skipChild: !1, inlineStylesheet: Mr, maskInputOptions: cn === !0 ? { color: !0, date: !0, \"datetime-local\": !0, email: !0, month: !0, number: !0, range: !0, search: !0, tel: !0, text: !0, time: !0, url: !0, week: !0, textarea: !0, select: !0, password: !0 } : cn === !1 ? { password: !0 } : cn, maskTextFn: Br, maskInputFn: Pr, slimDOMOptions: hi || hi === \"all\" ? { script: !0, comment: !0, headFavicon: !0, headWhitespace: !0, headMetaDescKeywords: hi === \"all\", headMetaSocial: !0, headMetaRobots: !0, headMetaHttpEquiv: !0, headMetaAuthorship: !0, headMetaVerification: !0 } : hi || {}, dataURLOptions: Ar, inlineImages: Or, recordCanvas: zr, preserveWhiteSpace: Dr, onSerialize: Qr, onIframeLoad: jr, iframeLoadTimeout: _r, onStylesheetLoad: qr, stylesheetLoadTimeout: $r, keepIframeSrcFn: ea, newlyAddedElement: !1, privacySetting: ta });\n }(document, { mirror: Re, blockClass: p, blockSelector: m, maskTextClass: W, maskTextSelector: Z, inlineStylesheet: g, maskAllInputs: ce, maskTextFn: K, slimDOM: xe, dataURLOptions: Ge, recordCanvas: h, inlineImages: R, privacySetting: ee, onSerialize: (_) => {\n wn(_, Re) && je.addIframe(_), Ln(_, Re) && Qe.trackLinkElement(_), Xi(_) && pi.addShadowRoot(_.shadowRoot, document);\n }, onIframeLoad: (_, he) => {\n je.attachIframe(_, he), pi.observeAttachShadow(_);\n }, onStylesheetLoad: (_, he) => {\n Qe.attachLinkElement(_, he);\n }, keepIframeSrcFn: q });\n if (!Ve)\n return console.warn(\"Failed to snapshot the document\");\n ne(oe({ type: j.FullSnapshot, data: { node: Ve, initialOffset: Rn(window) } }), E), Oe.forEach((_) => _.unlock()), document.adoptedStyleSheets && document.adoptedStyleSheets.length > 0 && Qe.adoptStyleSheets(document.adoptedStyleSheets, Re.getId(document));\n };\n try {\n const E = [], Ve = (he) => {\n var Ue;\n return Q(Ao)({ mutationCb: ui, mousemoveCb: (te, Nt) => ne(oe({ type: j.IncrementalSnapshot, data: { source: Nt, positions: te } })), mouseInteractionCb: (te) => ne(oe({ type: j.IncrementalSnapshot, data: Object.assign({ source: D.MouseInteraction }, te) })), scrollCb: Wo, viewportResizeCb: (te) => ne(oe({ type: j.IncrementalSnapshot, data: Object.assign({ source: D.ViewportResize }, te) })), inputCb: (te) => ne(oe({ type: j.IncrementalSnapshot, data: Object.assign({ source: D.Input }, te) })), mediaInteractionCb: (te) => ne(oe({ type: j.IncrementalSnapshot, data: Object.assign({ source: D.MediaInteraction }, te) })), styleSheetRuleCb: (te) => ne(oe({ type: j.IncrementalSnapshot, data: Object.assign({ source: D.StyleSheetRule }, te) })), styleDeclarationCb: (te) => ne(oe({ type: j.IncrementalSnapshot, data: Object.assign({ source: D.StyleDeclaration }, te) })), canvasMutationCb: fo, fontCb: (te) => ne(oe({ type: j.IncrementalSnapshot, data: Object.assign({ source: D.Font }, te) })), selectionCb: (te) => {\n ne(oe({ type: j.IncrementalSnapshot, data: Object.assign({ source: D.Selection }, te) }));\n }, customElementCb: (te) => {\n ne(oe({ type: j.IncrementalSnapshot, data: Object.assign({ source: D.CustomElement }, te) }));\n }, blockClass: p, ignoreClass: I, ignoreSelector: y, maskTextClass: W, maskTextSelector: Z, maskInputOptions: ce, inlineStylesheet: g, sampling: N, recordDOM: k, recordCanvas: h, inlineImages: R, userTriggeredOnInput: C, collectFonts: G, doc: he, maskInputFn: w, maskTextFn: K, keepIframeSrcFn: q, blockSelector: m, slimDOMOptions: xe, dataURLOptions: Ge, mirror: Re, iframeManager: je, stylesheetManager: Qe, shadowDomManager: pi, processedNodeManager: an, canvasManager: It, ignoreCSSAttributes: P, privacySetting: ee, plugins: ((Ue = U == null ? void 0 : U.filter((te) => te.observer)) === null || Ue === void 0 ? void 0 : Ue.map((te) => ({ observer: te.observer, options: te.options, callback: (Nt) => ne(oe({ type: j.Plugin, data: { plugin: te.name, payload: Nt } })) }))) || [] }, Y);\n };\n je.addLoadListener((he) => {\n try {\n E.push(Ve(he.contentDocument));\n } catch (Ue) {\n console.warn(Ue);\n }\n });\n const _ = () => {\n Pt(), E.push(Ve(document)), At = !0;\n };\n return document.readyState === \"interactive\" || document.readyState === \"complete\" ? _() : (E.push(be(\"DOMContentLoaded\", () => {\n ne(oe({ type: j.DomContentLoaded, data: {} })), v === \"DOMContentLoaded\" && _();\n })), E.push(be(\"load\", () => {\n ne(oe({ type: j.Load, data: {} })), v === \"load\" && _();\n }, window))), () => {\n E.forEach((he) => he()), an.destroy(), At = !1, Zt = void 0;\n };\n } catch (E) {\n console.warn(E);\n }\n }\n Je.addCustomEvent = (t, e) => {\n At && ne(oe({ type: j.Custom, data: { tag: t, payload: e } }));\n }, Je.freezePage = () => {\n Oe.forEach((t) => t.freeze());\n }, Je.takeFullSnapshot = (t) => {\n if (!At)\n throw new Error(\"please take full snapshot after start recording\");\n Pt(t);\n }, Je.snapshotCanvas = (t) => Jt(void 0, void 0, void 0, function* () {\n if (!It)\n throw new Error(\"canvas manager is not initialized\");\n yield It.snapshot(t);\n }), Je.mirror = Re;\n const { addCustomEvent: is } = Je, ns = { key: \"_sid\" }, il = (t) => {\n const e = t ? Object.assign({}, ns, t) : ns;\n let i = 0;\n return { name: \"rrweb/sequential-id@1\", eventProcessor: (n) => (Object.assign(n, { [e.key]: ++i }), n), options: e };\n };\n function nl(t) {\n if (!t || !t.outerHTML)\n return \"\";\n let e = \"\";\n for (; t.parentElement; ) {\n let i = t.localName;\n if (!i)\n break;\n i = i.toLowerCase();\n let n = t.parentElement, s = [];\n if (n.children && n.children.length > 0)\n for (let o = 0; o < n.children.length; o++) {\n let l = n.children[o];\n l.localName && l.localName.toLowerCase && l.localName.toLowerCase() === i && s.push(l);\n }\n s.length > 1 && (i += \":eq(\" + s.indexOf(t) + \")\"), e = i + (e ? \">\" + e : \"\"), t = n;\n }\n return e;\n }\n function fi(t) {\n return Object.prototype.toString.call(t) === \"[object Object]\";\n }\n function ss(t, e) {\n if (e === 0)\n return !0;\n const i = Object.keys(t);\n for (const n of i)\n if (fi(t[n]) && ss(t[n], e - 1))\n return !0;\n return !1;\n }\n function Ci(t, e) {\n const i = { numOfKeysLimit: 50, depthOfLimit: 4 };\n Object.assign(i, e);\n const n = [], s = [];\n return JSON.stringify(t, function(o, l) {\n if (n.length > 0) {\n const a = n.indexOf(this);\n ~a ? n.splice(a + 1) : n.push(this), ~a ? s.splice(a, 1 / 0, o) : s.push(o), ~n.indexOf(l) && (l = n[0] === l ? \"[Circular ~]\" : \"[Circular ~.\" + s.slice(0, n.indexOf(l)).join(\".\") + \"]\");\n } else\n n.push(l);\n if (l == null)\n return l;\n if (function(a) {\n return fi(a) && Object.keys(a).length > i.numOfKeysLimit || typeof a == \"function\" ? !0 : a instanceof Event && a.isTrusted === !1 ? Object.keys(a).length === 1 : !!(fi(a) && ss(a, i.depthOfLimit));\n }(l))\n return function(a) {\n let r = a.toString();\n return i.stringLengthLimit && r.length > i.stringLengthLimit && (r = `${r.slice(0, i.stringLengthLimit)}...`), r;\n }(l);\n if (l instanceof Event) {\n const a = {};\n for (const r in l) {\n const c = l[r];\n Array.isArray(c) ? a[r] = nl(c.length ? c[0] : null) : a[r] = c;\n }\n return a;\n }\n return l instanceof Node ? l instanceof HTMLElement ? l ? l.outerHTML : \"\" : l.nodeName : l instanceof Error ? l.name + \": \" + l.message : l;\n });\n }\n var sl = typeof globalThis != \"undefined\" ? globalThis : typeof window != \"undefined\" ? window : typeof dn != \"undefined\" ? dn : typeof self != \"undefined\" ? self : {};\n function Ri(t) {\n return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, \"default\") ? t.default : t;\n }\n var os, ze, ls, vi, rs, as = { exports: {} }, cs = { exports: {} };\n function ol() {\n return os || (os = 1, cs.exports = function() {\n function t(m) {\n return !isNaN(parseFloat(m)) && isFinite(m);\n }\n function e(m) {\n return m.charAt(0).toUpperCase() + m.substring(1);\n }\n function i(m) {\n return function() {\n return this[m];\n };\n }\n var n = [\"isConstructor\", \"isEval\", \"isNative\", \"isToplevel\"], s = [\"columnNumber\", \"lineNumber\"], o = [\"fileName\", \"functionName\", \"source\"], l = [\"args\"], a = [\"evalOrigin\"], r = n.concat(s, o, l, a);\n function c(m) {\n if (m)\n for (var I = 0; I < r.length; I++)\n m[r[I]] !== void 0 && this[\"set\" + e(r[I])](m[r[I]]);\n }\n c.prototype = { getArgs: function() {\n return this.args;\n }, setArgs: function(m) {\n if (Object.prototype.toString.call(m) !== \"[object Array]\")\n throw new TypeError(\"Args must be an Array\");\n this.args = m;\n }, getEvalOrigin: function() {\n return this.evalOrigin;\n }, setEvalOrigin: function(m) {\n if (m instanceof c)\n this.evalOrigin = m;\n else {\n if (!(m instanceof Object))\n throw new TypeError(\"Eval Origin must be an Object or StackFrame\");\n this.evalOrigin = new c(m);\n }\n }, toString: function() {\n var m = this.getFileName() || \"\", I = this.getLineNumber() || \"\", y = this.getColumnNumber() || \"\", W = this.getFunctionName() || \"\";\n return this.getIsEval() ? m ? \"[eval] (\" + m + \":\" + I + \":\" + y + \")\" : \"[eval]:\" + I + \":\" + y : W ? W + \" (\" + m + \":\" + I + \":\" + y + \")\" : m + \":\" + I + \":\" + y;\n } }, c.fromString = function(m) {\n var I = m.indexOf(\"(\"), y = m.lastIndexOf(\")\"), W = m.substring(0, I), Z = m.substring(I + 1, y).split(\",\"), g = m.substring(y + 1);\n if (g.indexOf(\"@\") === 0)\n var b = /@(.+?)(?::(\\d+))?(?::(\\d+))?$/.exec(g, \"\"), S = b[1], f = b[2], w = b[3];\n return new c({ functionName: W, args: Z || void 0, fileName: S, lineNumber: f || void 0, columnNumber: w || void 0 });\n };\n for (var d = 0; d < n.length; d++)\n c.prototype[\"get\" + e(n[d])] = i(n[d]), c.prototype[\"set\" + e(n[d])] = /* @__PURE__ */ function(m) {\n return function(I) {\n this[m] = !!I;\n };\n }(n[d]);\n for (var u = 0; u < s.length; u++)\n c.prototype[\"get\" + e(s[u])] = i(s[u]), c.prototype[\"set\" + e(s[u])] = /* @__PURE__ */ function(m) {\n return function(I) {\n if (!t(I))\n throw new TypeError(m + \" must be a Number\");\n this[m] = Number(I);\n };\n }(s[u]);\n for (var p = 0; p < o.length; p++)\n c.prototype[\"get\" + e(o[p])] = i(o[p]), c.prototype[\"set\" + e(o[p])] = /* @__PURE__ */ function(m) {\n return function(I) {\n this[m] = String(I);\n };\n }(o[p]);\n return c;\n }()), cs.exports;\n }\n as.exports = (ze = ol(), ls = /(^|@)\\S+:\\d+/, vi = /^\\s*at .*(\\S+:\\d+|\\(native\\))/m, rs = /^(eval@)?(\\[native code])?$/, { parse: function(t) {\n if (t.stacktrace !== void 0 || t[\"opera#sourceloc\"] !== void 0)\n return this.parseOpera(t);\n if (t.stack && t.stack.match(vi))\n return this.parseV8OrIE(t);\n if (t.stack)\n return this.parseFFOrSafari(t);\n throw new Error(\"Cannot parse given Error object\");\n }, extractLocation: function(t) {\n if (t.indexOf(\":\") === -1)\n return [t];\n var e = /(.+?)(?::(\\d+))?(?::(\\d+))?$/.exec(t.replace(/[()]/g, \"\"));\n return [e[1], e[2] || void 0, e[3] || void 0];\n }, parseV8OrIE: function(t) {\n return t.stack.split(`\n`).filter(function(e) {\n return !!e.match(vi);\n }, this).map(function(e) {\n e.indexOf(\"(eval \") > -1 && (e = e.replace(/eval code/g, \"eval\").replace(/(\\(eval at [^()]*)|(\\),.*$)/g, \"\"));\n var i = e.replace(/^\\s+/, \"\").replace(/\\(eval code/g, \"(\"), n = i.match(/ (\\((.+):(\\d+):(\\d+)\\)$)/), s = (i = n ? i.replace(n[0], \"\") : i).split(/\\s+/).slice(1), o = this.extractLocation(n ? n[1] : s.pop()), l = s.join(\" \") || void 0, a = [\"eval\", \"\"].indexOf(o[0]) > -1 ? void 0 : o[0];\n return new ze({ functionName: l, fileName: a, lineNumber: o[1], columnNumber: o[2], source: e });\n }, this);\n }, parseFFOrSafari: function(t) {\n return t.stack.split(`\n`).filter(function(e) {\n return !e.match(rs);\n }, this).map(function(e) {\n if (e.indexOf(\" > eval\") > -1 && (e = e.replace(/ line (\\d+)(?: > eval line \\d+)* > eval:\\d+:\\d+/g, \":$1\")), e.indexOf(\"@\") === -1 && e.indexOf(\":\") === -1)\n return new ze({ functionName: e });\n var i = /((.*\".+\"[^@]*)?[^@]*)(?:@)/, n = e.match(i), s = n && n[1] ? n[1] : void 0, o = this.extractLocation(e.replace(i, \"\"));\n return new ze({ functionName: s, fileName: o[0], lineNumber: o[1], columnNumber: o[2], source: e });\n }, this);\n }, parseOpera: function(t) {\n return !t.stacktrace || t.message.indexOf(`\n`) > -1 && t.message.split(`\n`).length > t.stacktrace.split(`\n`).length ? this.parseOpera9(t) : t.stack ? this.parseOpera11(t) : this.parseOpera10(t);\n }, parseOpera9: function(t) {\n for (var e = /Line (\\d+).*script (?:in )?(\\S+)/i, i = t.message.split(`\n`), n = [], s = 2, o = i.length; s < o; s += 2) {\n var l = e.exec(i[s]);\n l && n.push(new ze({ fileName: l[2], lineNumber: l[1], source: i[s] }));\n }\n return n;\n }, parseOpera10: function(t) {\n for (var e = /Line (\\d+).*script (?:in )?(\\S+)(?:: In function (\\S+))?$/i, i = t.stacktrace.split(`\n`), n = [], s = 0, o = i.length; s < o; s += 2) {\n var l = e.exec(i[s]);\n l && n.push(new ze({ functionName: l[3] || void 0, fileName: l[2], lineNumber: l[1], source: i[s] }));\n }\n return n;\n }, parseOpera11: function(t) {\n return t.stack.split(`\n`).filter(function(e) {\n return !!e.match(ls) && !e.match(/^Error created at/);\n }, this).map(function(e) {\n var i, n = e.split(\"@\"), s = this.extractLocation(n.pop()), o = n.shift() || \"\", l = o.replace(//, \"$2\").replace(/\\([^)]*\\)/g, \"\") || void 0;\n o.match(/\\(([^)]*)\\)/) && (i = o.replace(/^[^(]+\\(([^)]*)\\)$/, \"$1\"));\n var a = i === void 0 || i === \"[arguments not available]\" ? void 0 : i.split(\",\");\n return new ze({ functionName: l, args: a, fileName: s[0], lineNumber: s[1], columnNumber: s[2], source: e });\n }, this);\n } });\n const St = Ri(as.exports);\n function ll(t, e) {\n const i = e.logger;\n if (!i)\n return () => {\n };\n let n;\n n = typeof i == \"string\" ? window[i] : i;\n const s = [];\n if (e.level.includes(\"error\") && window) {\n const l = (a) => {\n const { message: r, error: c } = a;\n let d = [];\n c && (d = St.parse(c));\n const u = [Ci(r, e.stringifyOptions)];\n t({ type: \"Error\", trace: d, time: Date.now(), value: u });\n };\n window.addEventListener(\"error\", l), s.push(() => {\n window && window.removeEventListener(\"error\", l);\n });\n }\n for (const l of e.level)\n s.push(o(n, l));\n return () => {\n s.forEach((l) => l());\n };\n function o(l, a) {\n return l[a] ? function(r, c, d) {\n try {\n if (!(c in r))\n return () => {\n };\n const u = r[c], p = d(u);\n return typeof p == \"function\" && (p.prototype = p.prototype || {}, Object.defineProperties(p, { __rrweb_original__: { enumerable: !1, value: u } })), r[c] = p, () => {\n r[c] = u;\n };\n } catch (u) {\n return () => {\n };\n }\n }(l, a, (r) => (...c) => {\n r.apply(this, c);\n try {\n const d = St.parse(new Error()), u = e.serializeConsoleAttributes ? c.map((p) => typeof p == \"object\" ? Ci(p, e.stringifyOptions) : p) : c.filter((p) => typeof p != \"object\").map((p) => `${p}`);\n t({ type: a, trace: d.slice(1), value: u, attributes: Ci(c.filter((p) => typeof p == \"object\").reduce((p, m) => z(z({}, p), m), {}), e.stringifyOptions), time: Date.now() });\n } catch (d) {\n r(\"highlight logger error:\", d, ...c);\n }\n }) : () => {\n };\n }\n }\n var ds = { exports: {} };\n (function(t, e) {\n function i(n, s) {\n var o = [], l = [];\n return s == null && (s = function(a, r) {\n return o[0] === r ? \"[Circular ~]\" : \"[Circular ~.\" + l.slice(0, o.indexOf(r)).join(\".\") + \"]\";\n }), function(a, r) {\n if (o.length > 0) {\n var c = o.indexOf(this);\n ~c ? o.splice(c + 1) : o.push(this), ~c ? l.splice(c, 1 / 0, a) : l.push(a), ~o.indexOf(r) && (r = s.call(this, a, r));\n } else\n o.push(r);\n return n == null ? r : n.call(this, a, r);\n };\n }\n (t.exports = function(n, s, o, l) {\n return JSON.stringify(n, i(s, l), o);\n }).getSerialize = i;\n })(ds);\n const Be = Ri(ds.exports);\n function ki(t, e, i, n) {\n var s, o, l, a;\n let r = [];\n try {\n r = St.parse(n != null ? n : e);\n } catch (u) {\n r = St.parse(new Error());\n }\n let c = {};\n e instanceof Error && (e = e.message).cause && (c = { \"exception.cause\": e.cause });\n const d = al(r);\n t({ event: Be(e), type: \"window.onerror\", url: window.location.href, source: i != null ? i : \"\", lineNumber: (s = d[0]) != null && s.lineNumber ? (o = d[0]) == null ? void 0 : o.lineNumber : 0, columnNumber: (l = d[0]) != null && l.columnNumber ? (a = d[0]) == null ? void 0 : a.columnNumber : 0, stackTrace: d, timestamp: (/* @__PURE__ */ new Date()).toISOString(), payload: c ? Be(c) : void 0 });\n }\n const rl = (t, { enablePromisePatch: e }) => {\n if (typeof window == \"undefined\")\n return () => {\n };\n const i = window.onerror = (l, a, r, c, d) => {\n ki(t, l, a, d);\n }, n = window.onunhandledrejection = (l) => {\n if (l.reason) {\n const a = l.promise;\n a.getStack ? ki(t, l.reason, l.type, a.getStack()) : ki(t, l.reason, l.type);\n }\n }, s = window.Promise, o = class extends s {\n constructor(l) {\n super(l), T(this, \"promiseCreationError\"), this.promiseCreationError = new Error();\n }\n getStack() {\n return this.promiseCreationError;\n }\n static shouldPatch() {\n const l = window.Zone === void 0;\n return e && l;\n }\n };\n return o.shouldPatch() && (window.Promise = o), () => {\n window.Promise = s, window.onunhandledrejection = n, window.onerror = i;\n };\n }, al = (t) => {\n var e, i;\n if (t.length === 0)\n return t;\n const n = t[0];\n return (e = n.fileName) != null && e.includes(\"highlight.run\") || (i = n.fileName) != null && i.includes(\"highlight.io\") || n.functionName === \"new highlightPromise\" ? t.slice(1) : t;\n }, cl = [\"assert\", \"count\", \"countReset\", \"debug\", \"dir\", \"dirxml\", \"error\", \"group\", \"groupCollapsed\", \"groupEnd\", \"info\", \"log\", \"table\", \"time\", \"timeEnd\", \"timeLog\", \"trace\", \"warn\"];\n var Vt = ((t) => (t.DeviceMemory = \"DeviceMemory\", t.ViewportHeight = \"ViewportHeight\", t.ViewportWidth = \"ViewportWidth\", t.ViewportArea = \"ViewportArea\", t))(Vt || {}), Ne = ((t) => (t.Device = \"Device\", t.WebVital = \"WebVital\", t.Performance = \"Performance\", t.Frontend = \"Frontend\", t.Backend = \"Backend\", t))(Ne || {});\n const us = ['[\"\\\\\"Script error.\\\\\"\"]', '\"Script error.\"', '[\"\\\\\"Load failed.\\\\\"\"]', '\"Load failed.\"', '[\"\\\\\"Network request failed.\\\\\"\"]', '\"Network request failed.\"', '[\"\\\\\"Document is not focused.\\\\\"\"]', '\"Document is not focused.\"', '[\"\\\\\"Failed to fetch\\\\\"\"]', '\"Failed to fetch\"', '[{\"isTrusted\":true}]', '{\"isTrusted\":true}', '[\"{}\"]', '\"{}\"', '[\"\"]', '\"\"', '[\"\\\\\"\\\\\"\"]', '\"\"'], ps = [\"websocket error\", '\\\\\"ResizeObserver loop'], hs = (t, e, i) => {\n const n = dl(e, t.headers, i);\n return Te(z({}, t), { headers: n });\n }, dl = (t, e, i) => {\n var n, s;\n const o = z({}, e);\n return i ? ((n = Object.keys(o)) == null || n.forEach((l) => {\n [...i].includes(l == null ? void 0 : l.toLowerCase()) || (o[l] = \"[REDACTED]\");\n }), o) : ((s = Object.keys(o)) == null || s.forEach((l) => {\n [...ul, ...t].includes(l == null ? void 0 : l.toLowerCase()) && (o[l] = \"[REDACTED]\");\n }), o);\n }, ul = [\"authorization\", \"cookie\", \"proxy-authorization\", \"token\"], pl = [\"https://www.googleapis.com/identitytoolkit\", \"https://securetoken.googleapis.com\"];\n var re = ((t) => (t.RECORDING_START_TIME = \"highlightRecordingStartTime\", t.SEGMENT_LAST_SENT_HASH_KEY = \"HIGHLIGHT_SEGMENT_LAST_SENT_HASH_KEY\", t.SESSION_DATA = \"sessionData\", t.SESSION_SECURE_ID = \"sessionSecureID\", t.USER_IDENTIFIER = \"highlightIdentifier\", t.USER_OBJECT = \"highlightUserObject\", t.PAYLOAD_ID = \"payloadId\", t))(re || {});\n let Ti = \"localStorage\", hl = new class {\n constructor() {\n T(this, \"storage\", {});\n }\n getItem(t) {\n var e;\n return (e = this.storage[t]) != null ? e : \"\";\n }\n setItem(t, e) {\n this.storage[t] = e;\n }\n removeItem(t) {\n delete this.storage[t];\n }\n }();\n const Ni = () => {\n try {\n switch (Ti) {\n case \"localStorage\":\n return window.localStorage;\n case \"sessionStorage\":\n return window.sessionStorage;\n }\n } catch (t) {\n return hl;\n }\n }, Ie = (t) => Ni().getItem(t), ve = (t, e) => Ni().setItem(t, e), wi = (t) => Ni().removeItem(t), ml = (t) => {\n if (Ti === \"sessionStorage\")\n return void console.warn(\"highlight.io cannot use local storage; segment integration will not work\");\n const e = window.localStorage.setItem;\n window.localStorage.setItem = function() {\n const [i, n] = arguments;\n t({ keyName: i, keyValue: n }), e.apply(this, [i, n]);\n };\n }, ms = { normal: { bytes: 1e7, time: 24e4 }, canvas: { bytes: 16e6, time: 5e3 } }, bs = () => {\n let t = JSON.parse(Ie(re.SESSION_DATA) || \"{}\");\n if (t && t.lastPushTime && Date.now() - t.lastPushTime < 9e5)\n return t;\n }, Li = function(t) {\n t !== null ? (ve(re.SESSION_DATA, JSON.stringify(t)), Zs(t.sessionSecureID)) : wi(re.SESSION_DATA);\n }, Zs = function(t) {\n return ve(re.SESSION_SECURE_ID, t);\n };\n var bl = { REACT_APP_COMMIT_SHA: \"805580fda0fa3af7d28982f12865e6b5a1e1a9e4\", BASE_URL: \"/\", MODE: \"production\", DEV: !1, PROD: !0, SSR: !1 };\n const ys = \"X-Highlight-Request\", gs = (t) => {\n let e = t;\n return t.startsWith(\"https://\") || t.startsWith(\"http://\") || (e = `${window.location.origin}${e}`), e.replace(/\\/+$/, \"\");\n }, Is = (t, e, i, n) => {\n t.sort((a, r) => a.responseEnd - r.responseEnd);\n const s = t.reduce((a, r) => {\n const c = gs(r.name);\n return r.initiatorType === i ? a[i][c] = [...a[i][c] || [], r] : a.others[c] = [...a.others[c] || [], r], a;\n }, { xmlhttprequest: {}, others: {}, fetch: {} });\n let o = {};\n o = e.reduce((a, r) => {\n const c = gs(r.request.url);\n return a[c] = [...a[c] || [], r], a;\n }, o);\n for (let a in s[i]) {\n const r = s[i][a], c = o[a];\n if (!c)\n continue;\n const d = Math.max(r.length - c.length, 0);\n for (let u = d; u < r.length; u++)\n r[u] && (r[u].requestResponsePair = c[u - d]);\n }\n let l = [];\n for (let a in s)\n for (let r in s[a])\n l = l.concat(s[a][r]);\n return l.sort((a, r) => a.fetchStart - r.fetchStart).reduce((a, r) => {\n let c = r.requestResponsePair;\n return c && (c = ((d, { headersToRedact: u, headersToRecord: p, requestResponseSanitizer: m }) => {\n var I, y;\n let W = d;\n if (m) {\n let f = !0;\n try {\n W.request.body = JSON.parse(W.request.body);\n } catch (K) {\n f = !1;\n }\n let w = !0;\n try {\n W.response.body = JSON.parse(W.response.body);\n } catch (K) {\n w = !1;\n }\n try {\n W = m(W);\n } catch (K) {\n } finally {\n f = f && !!((I = W == null ? void 0 : W.request) != null && I.body), w = w && !!((y = W == null ? void 0 : W.response) != null && y.body), f && (W.request.body = JSON.stringify(W.request.body)), w && (W.response.body = JSON.stringify(W.response.body));\n }\n if (!W)\n return null;\n }\n const Z = W, { request: g, response: b } = Z, S = Fe(Z, [\"request\", \"response\"]);\n return z({ request: hs(g, u, p), response: hs(b, u, p) }, S);\n })(r.requestResponsePair, n), !c) || (r.toJSON = function() {\n const d = window.performance.timeOrigin;\n return { initiatorType: this.initiatorType, startTimeAbs: d + this.startTime, connectStartAbs: d + this.connectStart, connectEndAbs: d + this.connectEnd, domainLookupStartAbs: d + this.domainLookupStart, domainLookupEndAbs: d + this.domainLookupEnd, fetchStartAbs: d + this.fetchStart, redirectStartAbs: d + this.redirectStart, redirectEndAbs: d + this.redirectEnd, requestStartAbs: d + this.requestStart, responseStartAbs: d + this.responseStart, responseEndAbs: d + this.responseEnd, secureConnectionStartAbs: d + this.secureConnectionStart, workerStartAbs: d + this.workerStart, name: this.name, transferSize: this.transferSize, encodedBodySize: this.encodedBodySize, decodedBodySize: this.decodedBodySize, nextHopProtocol: this.nextHopProtocol, requestResponsePairs: c };\n }, a.push(r)), a;\n }, []);\n }, xi = (t, e, i) => {\n return s = e, !((n = t).toLocaleLowerCase().includes((o = bl.REACT_APP_PUBLIC_GRAPH_URI) != null ? o : \"highlight.io\") || n.toLocaleLowerCase().includes(\"highlight.io\") || n.toLocaleLowerCase().includes(s)) || Ji(t, i);\n var n, s, o;\n }, Ji = (t, e) => {\n var i;\n let n = [];\n e === !0 ? (n = [\"localhost\", /^\\//], (i = window == null ? void 0 : window.location) != null && i.host && n.push(window.location.host)) : e instanceof Array && (n = e);\n let s = !1;\n return n.forEach((o) => {\n t.match(o) && (s = !0);\n }), s;\n };\n function Zl(t) {\n for (var e = \"\", i = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\", n = 0; n < t; n++)\n e += i.charAt(Math.floor(62 * Math.random()));\n return e;\n }\n const Ss = () => {\n return [(t = Ie(re.SESSION_SECURE_ID)) != null ? t : \"\", Zl(10)];\n var t;\n }, Vs = (t, e) => t + \"/\" + e, yl = (t, e, i, n, s, o) => {\n const l = XMLHttpRequest.prototype, a = l.open, r = l.send, c = l.setRequestHeader;\n return l.open = function(d, u) {\n return this._url = typeof u == \"string\" ? u : u.toString(), this._method = d, this._requestHeaders = {}, this._shouldRecordHeaderAndBody = !n.some((p) => this._url.toLowerCase().includes(p)), a.apply(this, arguments);\n }, l.setRequestHeader = function(d, u) {\n return this._requestHeaders[d] = u, c.apply(this, arguments);\n }, l.send = function(d) {\n if (!xi(this._url, e, i))\n return r.apply(this, arguments);\n const [u, p] = Ss();\n Ji(this._url, i) && this.setRequestHeader(ys, Vs(u, p));\n const m = this._shouldRecordHeaderAndBody, I = { sessionSecureID: u, id: p, url: this._url, verb: this._method, headers: m ? this._requestHeaders : {}, body: void 0 };\n if (m && d) {\n const y = Xs(d, I.url);\n y && (I.body = Pe(y, s, o, I.headers));\n }\n return this.addEventListener(\"load\", function() {\n return ue(this, null, function* () {\n const y = { status: this.status, headers: {}, body: void 0 };\n if (m) {\n const W = this.getAllResponseHeaders().trim().split(/[\\r\\n]+/), Z = {};\n if (W.forEach(function(g) {\n const b = g.split(\": \"), S = b.shift();\n Z[S] = b.join(\": \");\n }), y.headers = Z, d) {\n const g = Xs(d, I.url);\n g && (I.body = Pe(g, s, o, y.headers));\n }\n if (this.responseType === \"\" || this.responseType === \"text\")\n y.body = Pe(this.responseText, s, o, y.headers), y.size = 8 * this.responseText.length;\n else if (this.responseType === \"blob\") {\n if (this.response instanceof Blob)\n try {\n const g = yield this.response.text();\n y.body = Pe(g, s, o, y.headers), y.size = this.response.size;\n } catch (g) {\n }\n } else\n try {\n y.body = Pe(this.response, s, o, y.headers);\n } catch (g) {\n }\n }\n t({ request: I, response: y, urlBlocked: !m });\n });\n }), this.addEventListener(\"error\", function() {\n return ue(this, null, function* () {\n const y = { status: this.status, headers: void 0, body: void 0 };\n t({ request: I, response: y, urlBlocked: !1 });\n });\n }), r.apply(this, arguments);\n }, () => {\n l.open = a, l.send = r, l.setRequestHeader = c;\n };\n }, Xs = (t, e) => {\n if (typeof t == \"string\") {\n if (!(e != null && e.includes(\"localhost\")) && !(e != null && e.includes(\"highlight.run\")) || !t.includes(\"pushPayload\"))\n return t;\n } else if (typeof t == \"object\" || typeof t == \"number\" || typeof t == \"boolean\")\n return Be(t);\n return null;\n }, gl = { \"application/json\": 67108864, \"text/plain\": 67108864 }, Pe = (t, e, i, n) => {\n var s, o, l;\n let a = 65536;\n if (n) {\n let r = \"\";\n r = typeof n.get == \"function\" ? (s = n.get(\"content-type\")) != null ? s : \"\" : (o = n[\"content-type\"]) != null ? o : \"\";\n try {\n r = r.split(\";\")[0];\n } catch (c) {\n }\n a = (l = gl[r]) != null ? l : 65536;\n }\n if (t) {\n if (e)\n try {\n const r = JSON.parse(t);\n Array.isArray(r) ? r.forEach((c) => {\n Object.keys(c).forEach((d) => {\n e.includes(d.toLocaleLowerCase()) && (c[d] = \"[REDACTED]\");\n });\n }) : Object.keys(r).forEach((c) => {\n e.includes(c.toLocaleLowerCase()) && (r[c] = \"[REDACTED]\");\n }), t = JSON.stringify(r);\n } catch (r) {\n }\n if (i)\n try {\n const r = JSON.parse(t);\n Object.keys(r).forEach((c) => {\n i.includes(c.toLocaleLowerCase()) || (r[c] = \"[REDACTED]\");\n }), t = JSON.stringify(r);\n } catch (r) {\n }\n }\n try {\n t = t.slice(0, a);\n } catch (r) {\n }\n return t;\n }, Il = (t, e, i, n, s, o) => {\n const l = window._fetchProxy;\n return window._fetchProxy = function(a, r) {\n const { method: c, url: d } = Sl(a, r);\n if (!xi(d, e, i))\n return l.call(this, a, r);\n const [u, p] = Ss();\n if (Ji(d, i)) {\n r = r || {};\n let W = new Headers(r.headers);\n a instanceof Request && [...a.headers].forEach(([Z, g]) => W.set(Z, g)), W.set(ys, Vs(u, p)), r.headers = Object.fromEntries(W.entries());\n }\n const m = { sessionSecureID: u, id: p, headers: {}, body: void 0, url: d, verb: c }, I = !n.some((W) => d.toLowerCase().includes(W));\n I && (m.headers = Object.fromEntries(new Headers(r == null ? void 0 : r.headers).entries()), m.body = Pe(r == null ? void 0 : r.body, s, o, r == null ? void 0 : r.headers));\n let y = l.call(this, a, r);\n return Vl(y, m, t, I, s, o), y;\n }, () => {\n window._fetchProxy = l;\n };\n }, Sl = (t, e) => {\n const i = e && e.method || typeof t == \"object\" && \"method\" in t && t.method || \"GET\";\n let n;\n return n = typeof t == \"object\" ? \"url\" in t && t.url ? t.url : t.toString() : t, { method: i, url: n };\n }, Vl = (t, e, i, n, s, o) => {\n t.then((l) => ue(this, null, function* () {\n let a = { body: void 0, headers: void 0, status: 0, size: 0 }, r = !1, c = !n;\n if (\"stack\" in l || l instanceof Error)\n a = Te(z({}, a), { body: l.message, status: 0, size: void 0 }), r = !0;\n else if (\"status\" in l) {\n if (a = Te(z({}, a), { status: l.status }), n) {\n let d;\n try {\n const u = l.clone().body;\n if (u) {\n let p, m = u.getReader(), I = new TextDecoder(), y = \"\";\n for (; !(p = yield m.read()).done; ) {\n let W = p.value;\n y += I.decode(W);\n }\n d = y, d = Pe(d, s, o, l.headers);\n } else\n d = \"\";\n } catch (u) {\n d = `Unable to clone response: ${u}`;\n }\n a.body = d, a.headers = Object.fromEntries(l.headers.entries()), a.size = 8 * d.length;\n }\n l.type !== \"opaque\" && l.type !== \"opaqueredirect\" || (c = !0, a = Te(z({}, a), { body: \"CORS blocked request\" })), r = !0;\n }\n r && i({ request: e, response: a, urlBlocked: c });\n })).catch(() => {\n });\n }, Xl = ({ xhrCallback: t, fetchCallback: e, webSocketRequestCallback: i, webSocketEventCallback: n, disableWebSocketRecording: s, bodyKeysToRedact: o, backendUrl: l, tracingOrigins: a, urlBlocklist: r, sessionSecureID: c, bodyKeysToRecord: d }) => {\n const u = yl(t, l, a, r, o, d), p = Il(e, l, a, r, o, d), m = s ? () => {\n } : ((I, y, W) => {\n const Z = window._highlightWebSocketRequestCallback;\n window._highlightWebSocketRequestCallback = I;\n const g = window._highlightWebSocketEventCallback;\n return window._highlightWebSocketEventCallback = (b) => {\n const S = b, f = Fe(S, [\"message\", \"size\"]), w = W.some((K) => b.name.toLowerCase().includes(K));\n y(w ? f : b);\n }, () => {\n window._highlightWebSocketRequestCallback = Z, window._highlightWebSocketEventCallback = g;\n };\n })(i, n, r);\n return () => {\n u(), p(), m();\n };\n };\n var Gl = { REACT_APP_COMMIT_SHA: \"805580fda0fa3af7d28982f12865e6b5a1e1a9e4\", BASE_URL: \"/\", MODE: \"production\", DEV: !1, PROD: !0, SSR: !1 };\n class Ke {\n constructor(e) {\n var i, n;\n T(this, \"disableConsoleRecording\"), T(this, \"reportConsoleErrors\"), T(this, \"enablePromisePatch\"), T(this, \"consoleMethodsToRecord\"), T(this, \"listeners\"), T(this, \"errors\"), T(this, \"messages\"), T(this, \"options\"), T(this, \"hasNetworkRecording\", !0), T(this, \"_backendUrl\"), T(this, \"disableNetworkRecording\"), T(this, \"enableRecordingNetworkContents\"), T(this, \"xhrNetworkContents\"), T(this, \"fetchNetworkContents\"), T(this, \"disableRecordingWebSocketContents\"), T(this, \"webSocketNetworkContents\"), T(this, \"webSocketEventContents\"), T(this, \"tracingOrigins\"), T(this, \"networkHeadersToRedact\"), T(this, \"networkBodyKeysToRedact\"), T(this, \"networkBodyKeysToRecord\"), T(this, \"networkHeaderKeysToRecord\"), T(this, \"lastNetworkRequestTimestamp\"), T(this, \"urlBlocklist\"), T(this, \"requestResponseSanitizer\"), this.options = e, this.disableConsoleRecording = !!e.disableConsoleRecording, this.reportConsoleErrors = (i = e.reportConsoleErrors) != null && i, this.enablePromisePatch = (n = e.enablePromisePatch) == null || n, this.consoleMethodsToRecord = e.consoleMethodsToRecord || [...cl], this.listeners = [], this.errors = [], this.messages = [], this.lastNetworkRequestTimestamp = 0;\n }\n isListening() {\n return this.listeners.length > 0;\n }\n startListening() {\n if (this.isListening())\n return;\n const e = this;\n this.disableConsoleRecording || this.listeners.push(ll((i) => {\n var n, s, o;\n if (this.reportConsoleErrors && (i.type === \"Error\" || i.type === \"error\") && i.value && i.trace) {\n const l = Be(i.value);\n if (us.includes(l) || ps.some((a) => l.includes(a)))\n return;\n e.errors.push({ event: l, type: \"console.error\", url: window.location.href, source: (n = i.trace[0]) != null && n.fileName ? i.trace[0].fileName : \"\", lineNumber: (s = i.trace[0]) != null && s.lineNumber ? i.trace[0].lineNumber : 0, columnNumber: (o = i.trace[0]) != null && o.columnNumber ? i.trace[0].columnNumber : 0, stackTrace: i.trace, timestamp: (/* @__PURE__ */ new Date()).toISOString() });\n }\n e.messages.push(i);\n }, { level: this.consoleMethodsToRecord, logger: \"console\", stringifyOptions: { depthOfLimit: 10, numOfKeysLimit: 100, stringLengthLimit: 1e3 } })), this.listeners.push(rl((i) => {\n us.includes(i.event) || ps.some((n) => i.event.includes(n)) || e.errors.push(i);\n }, { enablePromisePatch: this.enablePromisePatch })), Ke.setupNetworkListener(this, this.options);\n }\n stopListening() {\n this.listeners.forEach((e) => e()), this.listeners = [];\n }\n static setupNetworkListener(e, i) {\n var n, s, o, l, a, r, c, d, u, p, m, I;\n e._backendUrl = (i == null ? void 0 : i.backendUrl) || Gl.REACT_APP_PUBLIC_GRAPH_URI || \"https://pub.highlight.run\", e.xhrNetworkContents = [], e.fetchNetworkContents = [], e.webSocketNetworkContents = [], e.webSocketEventContents = [], e.networkHeadersToRedact = [], e.urlBlocklist = [], e.tracingOrigins = i.tracingOrigins || [], (i == null ? void 0 : i.disableNetworkRecording) !== void 0 ? (e.disableNetworkRecording = i == null ? void 0 : i.disableNetworkRecording, e.enableRecordingNetworkContents = !1, e.disableRecordingWebSocketContents = !0, e.networkHeadersToRedact = [], e.networkBodyKeysToRedact = [], e.urlBlocklist = [], e.networkBodyKeysToRecord = [], e.networkBodyKeysToRecord = []) : typeof (i == null ? void 0 : i.networkRecording) == \"boolean\" ? (e.disableNetworkRecording = !i.networkRecording, e.enableRecordingNetworkContents = !1, e.disableRecordingWebSocketContents = !0, e.networkHeadersToRedact = [], e.networkBodyKeysToRedact = [], e.urlBlocklist = []) : (((n = i.networkRecording) == null ? void 0 : n.enabled) !== void 0 ? e.disableNetworkRecording = !i.networkRecording.enabled : e.disableNetworkRecording = !1, e.enableRecordingNetworkContents = ((s = i.networkRecording) == null ? void 0 : s.recordHeadersAndBody) || !1, e.disableRecordingWebSocketContents = ((o = i.networkRecording) == null ? void 0 : o.disableWebSocketEventRecordings) || !1, e.networkHeadersToRedact = ((a = (l = i.networkRecording) == null ? void 0 : l.networkHeadersToRedact) == null ? void 0 : a.map((y) => y.toLowerCase())) || [], e.networkBodyKeysToRedact = ((c = (r = i.networkRecording) == null ? void 0 : r.networkBodyKeysToRedact) == null ? void 0 : c.map((y) => y.toLowerCase())) || [], e.urlBlocklist = ((u = (d = i.networkRecording) == null ? void 0 : d.urlBlocklist) == null ? void 0 : u.map((y) => y.toLowerCase())) || [], e.urlBlocklist = [...e.urlBlocklist, ...pl], e.requestResponseSanitizer = (p = i.networkRecording) == null ? void 0 : p.requestResponseSanitizer, e.networkHeaderKeysToRecord = (m = i.networkRecording) == null ? void 0 : m.headerKeysToRecord, e.networkHeaderKeysToRecord && (e.networkHeadersToRedact = [], e.networkHeaderKeysToRecord = e.networkHeaderKeysToRecord.map((y) => y.toLocaleLowerCase())), e.networkBodyKeysToRecord = (I = i.networkRecording) == null ? void 0 : I.bodyKeysToRecord, e.networkBodyKeysToRecord && (e.networkBodyKeysToRedact = [], e.networkBodyKeysToRecord = e.networkBodyKeysToRecord.map((y) => y.toLocaleLowerCase()))), !e.disableNetworkRecording && e.enableRecordingNetworkContents && e.listeners.push(Xl({ xhrCallback: (y) => {\n e.xhrNetworkContents.push(y);\n }, fetchCallback: (y) => {\n e.fetchNetworkContents.push(y);\n }, webSocketRequestCallback: (y) => {\n e.webSocketNetworkContents && e.webSocketNetworkContents.push(y);\n }, webSocketEventCallback: (y) => {\n e.webSocketEventContents.push(y);\n }, disableWebSocketRecording: e.disableRecordingWebSocketContents, bodyKeysToRedact: e.networkBodyKeysToRedact, backendUrl: e._backendUrl, tracingOrigins: e.tracingOrigins, urlBlocklist: e.urlBlocklist, sessionSecureID: i.sessionSecureID, bodyKeysToRecord: e.networkBodyKeysToRecord }));\n }\n static getRecordedNetworkResources(e, i) {\n var n, s;\n let o = [], l = [];\n if (!e.disableNetworkRecording) {\n const a = ((n = window == null ? void 0 : window.performance) == null ? void 0 : n.timeOrigin) || 0;\n o = performance.getEntriesByType(\"resource\");\n const r = 2 * (i - a);\n if (o = o.filter((c) => !(c.responseEnd < e.lastNetworkRequestTimestamp) && xi(c.name, e._backendUrl, e.tracingOrigins)).map((c) => Te(z({}, c.toJSON()), { offsetStartTime: c.startTime - r, offsetResponseEnd: c.responseEnd - r, offsetFetchStart: c.fetchStart - r })), e.lastNetworkRequestTimestamp = ((s = o.at(-1)) == null ? void 0 : s.responseEnd) || e.lastNetworkRequestTimestamp, e.enableRecordingNetworkContents) {\n const c = { headersToRedact: e.networkHeadersToRedact, headersToRecord: e.networkHeaderKeysToRecord, requestResponseSanitizer: e.requestResponseSanitizer };\n o = Is(o, e.xhrNetworkContents, \"xmlhttprequest\", c), o = Is(o, e.fetchNetworkContents, \"fetch\", c);\n }\n }\n return e.disableRecordingWebSocketContents || (l = e.webSocketNetworkContents || []), [...o, ...l];\n }\n static getRecordedWebSocketEvents(e) {\n let i = [];\n return e.disableNetworkRecording || e.disableRecordingWebSocketContents || (i = e.webSocketEventContents), i;\n }\n static clearRecordedNetworkResources(e) {\n e.disableNetworkRecording || (e.xhrNetworkContents = [], e.fetchNetworkContents = [], e.webSocketNetworkContents = [], e.webSocketEventContents = [], performance.clearResourceTimings());\n }\n }\n const Wl = (t) => {\n t(window.location.href);\n const e = history.pushState;\n history.pushState = /* @__PURE__ */ ((o) => function() {\n var l = o.apply(this, arguments);\n return window.dispatchEvent(new Event(\"pushstate\")), window.dispatchEvent(new Event(\"locationchange\")), l;\n })(history.pushState);\n const i = history.replaceState;\n history.replaceState = /* @__PURE__ */ ((o) => function() {\n var l = o.apply(this, arguments);\n return window.dispatchEvent(new Event(\"replacestate\")), window.dispatchEvent(new Event(\"locationchange\")), l;\n })(history.replaceState);\n const n = () => {\n window.dispatchEvent(new Event(\"locationchange\"));\n };\n window.addEventListener(\"popstate\", n);\n const s = function() {\n t(window.location.href);\n };\n return window.addEventListener(\"locationchange\", s), () => {\n window.removeEventListener(\"popstate\", n), window.removeEventListener(\"locationchange\", s), history.pushState = e, history.replaceState = i;\n };\n }, Ki = JSON;\n function Dt(t, e) {\n if (!t)\n throw new Error(e);\n }\n function fl(t, e) {\n if (!t)\n throw new Error(e != null ? e : \"Unexpected invariant triggered.\");\n }\n const Cl = /\\r\\n|[\\n\\r]/g;\n function Yi(t, e) {\n let i = 0, n = 1;\n for (const s of t.body.matchAll(Cl)) {\n if (typeof s.index == \"number\" || fl(!1), s.index >= e)\n break;\n i = s.index + s[0].length, n += 1;\n }\n return { line: n, column: e + 1 - i };\n }\n function Gs(t, e) {\n const i = t.locationOffset.column - 1, n = \"\".padStart(i) + t.body, s = e.line - 1, o = t.locationOffset.line - 1, l = e.line + o, a = e.line === 1 ? i : 0, r = e.column + a, c = `${t.name}:${l}:${r}\n`, d = n.split(/\\r\\n|[\\n\\r]/g), u = d[s];\n if (u.length > 120) {\n const p = Math.floor(r / 80), m = r % 80, I = [];\n for (let y = 0; y < u.length; y += 80)\n I.push(u.slice(y, y + 80));\n return c + Ws([[`${l} |`, I[0]], ...I.slice(1, p + 1).map((y) => [\"|\", y]), [\"|\", \"^\".padStart(m)], [\"|\", I[p + 1]]]);\n }\n return c + Ws([[l - 1 + \" |\", d[s - 1]], [`${l} |`, u], [\"|\", \"^\".padStart(r)], [`${l + 1} |`, d[s + 1]]]);\n }\n function Ws(t) {\n const e = t.filter(([n, s]) => s !== void 0), i = Math.max(...e.map(([n]) => n.length));\n return e.map(([n, s]) => n.padStart(i) + (s ? \" \" + s : \"\")).join(`\n`);\n }\n class Ui extends Error {\n constructor(e, ...i) {\n var n, s, o;\n const { nodes: l, source: a, positions: r, path: c, originalError: d, extensions: u } = function(y) {\n const W = y[0];\n return W == null || \"kind\" in W || \"length\" in W ? { nodes: W, source: y[1], positions: y[2], path: y[3], originalError: y[4], extensions: y[5] } : W;\n }(i);\n super(e), this.name = \"GraphQLError\", this.path = c != null ? c : void 0, this.originalError = d != null ? d : void 0, this.nodes = fs(Array.isArray(l) ? l : l ? [l] : void 0);\n const p = fs((n = this.nodes) === null || n === void 0 ? void 0 : n.map((y) => y.loc).filter((y) => y != null));\n this.source = a != null ? a : p == null || (s = p[0]) === null || s === void 0 ? void 0 : s.source, this.positions = r != null ? r : p == null ? void 0 : p.map((y) => y.start), this.locations = r && a ? r.map((y) => Yi(a, y)) : p == null ? void 0 : p.map((y) => Yi(y.source, y.start));\n const m = typeof (I = d == null ? void 0 : d.extensions) == \"object\" && I !== null ? d == null ? void 0 : d.extensions : void 0;\n var I;\n this.extensions = (o = u != null ? u : m) !== null && o !== void 0 ? o : /* @__PURE__ */ Object.create(null), Object.defineProperties(this, { message: { writable: !0, enumerable: !0 }, name: { enumerable: !1 }, nodes: { enumerable: !1 }, source: { enumerable: !1 }, positions: { enumerable: !1 }, originalError: { enumerable: !1 } }), d != null && d.stack ? Object.defineProperty(this, \"stack\", { value: d.stack, writable: !0, configurable: !0 }) : Error.captureStackTrace ? Error.captureStackTrace(this, Ui) : Object.defineProperty(this, \"stack\", { value: Error().stack, writable: !0, configurable: !0 });\n }\n get [Symbol.toStringTag]() {\n return \"GraphQLError\";\n }\n toString() {\n let e = this.message;\n if (this.nodes)\n for (const n of this.nodes)\n n.loc && (e += `\n\n` + Gs((i = n.loc).source, Yi(i.source, i.start)));\n else if (this.source && this.locations)\n for (const n of this.locations)\n e += `\n\n` + Gs(this.source, n);\n var i;\n return e;\n }\n toJSON() {\n const e = { message: this.message };\n return this.locations != null && (e.locations = this.locations), this.path != null && (e.path = this.path), this.extensions != null && Object.keys(this.extensions).length > 0 && (e.extensions = this.extensions), e;\n }\n }\n function fs(t) {\n return t === void 0 || t.length === 0 ? void 0 : t;\n }\n function pe(t, e, i) {\n return new Ui(`Syntax Error: ${i}`, { source: t, positions: [e] });\n }\n class Rl {\n constructor(e, i, n) {\n this.start = e.start, this.end = i.end, this.startToken = e, this.endToken = i, this.source = n;\n }\n get [Symbol.toStringTag]() {\n return \"Location\";\n }\n toJSON() {\n return { start: this.start, end: this.end };\n }\n }\n class Cs {\n constructor(e, i, n, s, o, l) {\n this.kind = e, this.start = i, this.end = n, this.line = s, this.column = o, this.value = l, this.prev = null, this.next = null;\n }\n get [Symbol.toStringTag]() {\n return \"Token\";\n }\n toJSON() {\n return { kind: this.kind, value: this.value, line: this.line, column: this.column };\n }\n }\n const Rs = { Name: [], Document: [\"definitions\"], OperationDefinition: [\"name\", \"variableDefinitions\", \"directives\", \"selectionSet\"], VariableDefinition: [\"variable\", \"type\", \"defaultValue\", \"directives\"], Variable: [\"name\"], SelectionSet: [\"selections\"], Field: [\"alias\", \"name\", \"arguments\", \"directives\", \"selectionSet\"], Argument: [\"name\", \"value\"], FragmentSpread: [\"name\", \"directives\"], InlineFragment: [\"typeCondition\", \"directives\", \"selectionSet\"], FragmentDefinition: [\"name\", \"variableDefinitions\", \"typeCondition\", \"directives\", \"selectionSet\"], IntValue: [], FloatValue: [], StringValue: [], BooleanValue: [], NullValue: [], EnumValue: [], ListValue: [\"values\"], ObjectValue: [\"fields\"], ObjectField: [\"name\", \"value\"], Directive: [\"name\", \"arguments\"], NamedType: [\"name\"], ListType: [\"type\"], NonNullType: [\"type\"], SchemaDefinition: [\"description\", \"directives\", \"operationTypes\"], OperationTypeDefinition: [\"type\"], ScalarTypeDefinition: [\"description\", \"name\", \"directives\"], ObjectTypeDefinition: [\"description\", \"name\", \"interfaces\", \"directives\", \"fields\"], FieldDefinition: [\"description\", \"name\", \"arguments\", \"type\", \"directives\"], InputValueDefinition: [\"description\", \"name\", \"type\", \"defaultValue\", \"directives\"], InterfaceTypeDefinition: [\"description\", \"name\", \"interfaces\", \"directives\", \"fields\"], UnionTypeDefinition: [\"description\", \"name\", \"directives\", \"types\"], EnumTypeDefinition: [\"description\", \"name\", \"directives\", \"values\"], EnumValueDefinition: [\"description\", \"name\", \"directives\"], InputObjectTypeDefinition: [\"description\", \"name\", \"directives\", \"fields\"], DirectiveDefinition: [\"description\", \"name\", \"arguments\", \"locations\"], SchemaExtension: [\"directives\", \"operationTypes\"], ScalarTypeExtension: [\"name\", \"directives\"], ObjectTypeExtension: [\"name\", \"interfaces\", \"directives\", \"fields\"], InterfaceTypeExtension: [\"name\", \"interfaces\", \"directives\", \"fields\"], UnionTypeExtension: [\"name\", \"directives\", \"types\"], EnumTypeExtension: [\"name\", \"directives\", \"values\"], InputObjectTypeExtension: [\"name\", \"directives\", \"fields\"] }, vl = new Set(Object.keys(Rs));\n function vs(t) {\n const e = t == null ? void 0 : t.kind;\n return typeof e == \"string\" && vl.has(e);\n }\n var nt, Fi, Hi, ae, H, O, X, se;\n function Ei(t) {\n return t === 9 || t === 32;\n }\n function Xt(t) {\n return t >= 48 && t <= 57;\n }\n function ks(t) {\n return t >= 97 && t <= 122 || t >= 65 && t <= 90;\n }\n function Ts(t) {\n return ks(t) || t === 95;\n }\n function kl(t) {\n return ks(t) || Xt(t) || t === 95;\n }\n function Tl(t) {\n var e;\n let i = Number.MAX_SAFE_INTEGER, n = null, s = -1;\n for (let l = 0; l < t.length; ++l) {\n var o;\n const a = t[l], r = Nl(a);\n r !== a.length && (n = (o = n) !== null && o !== void 0 ? o : l, s = l, l !== 0 && r < i && (i = r));\n }\n return t.map((l, a) => a === 0 ? l : l.slice(i)).slice((e = n) !== null && e !== void 0 ? e : 0, s + 1);\n }\n function Nl(t) {\n let e = 0;\n for (; e < t.length && Ei(t.charCodeAt(e)); )\n ++e;\n return e;\n }\n (Fi = nt || (nt = {})).QUERY = \"query\", Fi.MUTATION = \"mutation\", Fi.SUBSCRIPTION = \"subscription\", (ae = Hi || (Hi = {})).QUERY = \"QUERY\", ae.MUTATION = \"MUTATION\", ae.SUBSCRIPTION = \"SUBSCRIPTION\", ae.FIELD = \"FIELD\", ae.FRAGMENT_DEFINITION = \"FRAGMENT_DEFINITION\", ae.FRAGMENT_SPREAD = \"FRAGMENT_SPREAD\", ae.INLINE_FRAGMENT = \"INLINE_FRAGMENT\", ae.VARIABLE_DEFINITION = \"VARIABLE_DEFINITION\", ae.SCHEMA = \"SCHEMA\", ae.SCALAR = \"SCALAR\", ae.OBJECT = \"OBJECT\", ae.FIELD_DEFINITION = \"FIELD_DEFINITION\", ae.ARGUMENT_DEFINITION = \"ARGUMENT_DEFINITION\", ae.INTERFACE = \"INTERFACE\", ae.UNION = \"UNION\", ae.ENUM = \"ENUM\", ae.ENUM_VALUE = \"ENUM_VALUE\", ae.INPUT_OBJECT = \"INPUT_OBJECT\", ae.INPUT_FIELD_DEFINITION = \"INPUT_FIELD_DEFINITION\", (O = H || (H = {})).NAME = \"Name\", O.DOCUMENT = \"Document\", O.OPERATION_DEFINITION = \"OperationDefinition\", O.VARIABLE_DEFINITION = \"VariableDefinition\", O.SELECTION_SET = \"SelectionSet\", O.FIELD = \"Field\", O.ARGUMENT = \"Argument\", O.FRAGMENT_SPREAD = \"FragmentSpread\", O.INLINE_FRAGMENT = \"InlineFragment\", O.FRAGMENT_DEFINITION = \"FragmentDefinition\", O.VARIABLE = \"Variable\", O.INT = \"IntValue\", O.FLOAT = \"FloatValue\", O.STRING = \"StringValue\", O.BOOLEAN = \"BooleanValue\", O.NULL = \"NullValue\", O.ENUM = \"EnumValue\", O.LIST = \"ListValue\", O.OBJECT = \"ObjectValue\", O.OBJECT_FIELD = \"ObjectField\", O.DIRECTIVE = \"Directive\", O.NAMED_TYPE = \"NamedType\", O.LIST_TYPE = \"ListType\", O.NON_NULL_TYPE = \"NonNullType\", O.SCHEMA_DEFINITION = \"SchemaDefinition\", O.OPERATION_TYPE_DEFINITION = \"OperationTypeDefinition\", O.SCALAR_TYPE_DEFINITION = \"ScalarTypeDefinition\", O.OBJECT_TYPE_DEFINITION = \"ObjectTypeDefinition\", O.FIELD_DEFINITION = \"FieldDefinition\", O.INPUT_VALUE_DEFINITION = \"InputValueDefinition\", O.INTERFACE_TYPE_DEFINITION = \"InterfaceTypeDefinition\", O.UNION_TYPE_DEFINITION = \"UnionTypeDefinition\", O.ENUM_TYPE_DEFINITION = \"EnumTypeDefinition\", O.ENUM_VALUE_DEFINITION = \"EnumValueDefinition\", O.INPUT_OBJECT_TYPE_DEFINITION = \"InputObjectTypeDefinition\", O.DIRECTIVE_DEFINITION = \"DirectiveDefinition\", O.SCHEMA_EXTENSION = \"SchemaExtension\", O.SCALAR_TYPE_EXTENSION = \"ScalarTypeExtension\", O.OBJECT_TYPE_EXTENSION = \"ObjectTypeExtension\", O.INTERFACE_TYPE_EXTENSION = \"InterfaceTypeExtension\", O.UNION_TYPE_EXTENSION = \"UnionTypeExtension\", O.ENUM_TYPE_EXTENSION = \"EnumTypeExtension\", O.INPUT_OBJECT_TYPE_EXTENSION = \"InputObjectTypeExtension\", (se = X || (X = {})).SOF = \"\", se.EOF = \"\", se.BANG = \"!\", se.DOLLAR = \"$\", se.AMP = \"&\", se.PAREN_L = \"(\", se.PAREN_R = \")\", se.SPREAD = \"...\", se.COLON = \":\", se.EQUALS = \"=\", se.AT = \"@\", se.BRACKET_L = \"[\", se.BRACKET_R = \"]\", se.BRACE_L = \"{\", se.PIPE = \"|\", se.BRACE_R = \"}\", se.NAME = \"Name\", se.INT = \"Int\", se.FLOAT = \"Float\", se.STRING = \"String\", se.BLOCK_STRING = \"BlockString\", se.COMMENT = \"Comment\";\n class wl {\n constructor(e) {\n const i = new Cs(X.SOF, 0, 0, 0, 0);\n this.source = e, this.lastToken = i, this.token = i, this.line = 1, this.lineStart = 0;\n }\n get [Symbol.toStringTag]() {\n return \"Lexer\";\n }\n advance() {\n return this.lastToken = this.token, this.token = this.lookahead();\n }\n lookahead() {\n let e = this.token;\n if (e.kind !== X.EOF)\n do\n if (e.next)\n e = e.next;\n else {\n const i = Ll(this, e.end);\n e.next = i, i.prev = e, e = i;\n }\n while (e.kind === X.COMMENT);\n return e;\n }\n }\n function st(t) {\n return t >= 0 && t <= 55295 || t >= 57344 && t <= 1114111;\n }\n function Qt(t, e) {\n return Ns(t.charCodeAt(e)) && ws(t.charCodeAt(e + 1));\n }\n function Ns(t) {\n return t >= 55296 && t <= 56319;\n }\n function ws(t) {\n return t >= 56320 && t <= 57343;\n }\n function Ae(t, e) {\n const i = t.source.body.codePointAt(e);\n if (i === void 0)\n return X.EOF;\n if (i >= 32 && i <= 126) {\n const n = String.fromCodePoint(i);\n return n === '\"' ? `'\"'` : `\"${n}\"`;\n }\n return \"U+\" + i.toString(16).toUpperCase().padStart(4, \"0\");\n }\n function le(t, e, i, n, s) {\n const o = t.line, l = 1 + i - t.lineStart;\n return new Cs(e, i, n, o, l, s);\n }\n function Ll(t, e) {\n const i = t.source.body, n = i.length;\n let s = e;\n for (; s < n; ) {\n const o = i.charCodeAt(s);\n switch (o) {\n case 65279:\n case 9:\n case 32:\n case 44:\n ++s;\n continue;\n case 10:\n ++s, ++t.line, t.lineStart = s;\n continue;\n case 13:\n i.charCodeAt(s + 1) === 10 ? s += 2 : ++s, ++t.line, t.lineStart = s;\n continue;\n case 35:\n return xl(t, s);\n case 33:\n return le(t, X.BANG, s, s + 1);\n case 36:\n return le(t, X.DOLLAR, s, s + 1);\n case 38:\n return le(t, X.AMP, s, s + 1);\n case 40:\n return le(t, X.PAREN_L, s, s + 1);\n case 41:\n return le(t, X.PAREN_R, s, s + 1);\n case 46:\n if (i.charCodeAt(s + 1) === 46 && i.charCodeAt(s + 2) === 46)\n return le(t, X.SPREAD, s, s + 3);\n break;\n case 58:\n return le(t, X.COLON, s, s + 1);\n case 61:\n return le(t, X.EQUALS, s, s + 1);\n case 64:\n return le(t, X.AT, s, s + 1);\n case 91:\n return le(t, X.BRACKET_L, s, s + 1);\n case 93:\n return le(t, X.BRACKET_R, s, s + 1);\n case 123:\n return le(t, X.BRACE_L, s, s + 1);\n case 124:\n return le(t, X.PIPE, s, s + 1);\n case 125:\n return le(t, X.BRACE_R, s, s + 1);\n case 34:\n return i.charCodeAt(s + 1) === 34 && i.charCodeAt(s + 2) === 34 ? Hl(t, s) : Kl(t, s);\n }\n if (Xt(o) || o === 45)\n return Jl(t, s, o);\n if (Ts(o))\n return El(t, s);\n throw pe(t.source, s, o === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (\")?` : st(o) || Qt(i, s) ? `Unexpected character: ${Ae(t, s)}.` : `Invalid character: ${Ae(t, s)}.`);\n }\n return le(t, X.EOF, n, n);\n }\n function xl(t, e) {\n const i = t.source.body, n = i.length;\n let s = e + 1;\n for (; s < n; ) {\n const o = i.charCodeAt(s);\n if (o === 10 || o === 13)\n break;\n if (st(o))\n ++s;\n else {\n if (!Qt(i, s))\n break;\n s += 2;\n }\n }\n return le(t, X.COMMENT, e, s, i.slice(e + 1, s));\n }\n function Jl(t, e, i) {\n const n = t.source.body;\n let s = e, o = i, l = !1;\n if (o === 45 && (o = n.charCodeAt(++s)), o === 48) {\n if (o = n.charCodeAt(++s), Xt(o))\n throw pe(t.source, s, `Invalid number, unexpected digit after 0: ${Ae(t, s)}.`);\n } else\n s = Mi(t, s, o), o = n.charCodeAt(s);\n if (o === 46 && (l = !0, o = n.charCodeAt(++s), s = Mi(t, s, o), o = n.charCodeAt(s)), o !== 69 && o !== 101 || (l = !0, o = n.charCodeAt(++s), o !== 43 && o !== 45 || (o = n.charCodeAt(++s)), s = Mi(t, s, o), o = n.charCodeAt(s)), o === 46 || Ts(o))\n throw pe(t.source, s, `Invalid number, expected digit but got: ${Ae(t, s)}.`);\n return le(t, l ? X.FLOAT : X.INT, e, s, n.slice(e, s));\n }\n function Mi(t, e, i) {\n if (!Xt(i))\n throw pe(t.source, e, `Invalid number, expected digit but got: ${Ae(t, e)}.`);\n const n = t.source.body;\n let s = e + 1;\n for (; Xt(n.charCodeAt(s)); )\n ++s;\n return s;\n }\n function Kl(t, e) {\n const i = t.source.body, n = i.length;\n let s = e + 1, o = s, l = \"\";\n for (; s < n; ) {\n const a = i.charCodeAt(s);\n if (a === 34)\n return l += i.slice(o, s), le(t, X.STRING, e, s + 1, l);\n if (a !== 92) {\n if (a === 10 || a === 13)\n break;\n if (st(a))\n ++s;\n else {\n if (!Qt(i, s))\n throw pe(t.source, s, `Invalid character within String: ${Ae(t, s)}.`);\n s += 2;\n }\n } else {\n l += i.slice(o, s);\n const r = i.charCodeAt(s + 1) === 117 ? i.charCodeAt(s + 2) === 123 ? Yl(t, s) : Ul(t, s) : Fl(t, s);\n l += r.value, s += r.size, o = s;\n }\n }\n throw pe(t.source, s, \"Unterminated string.\");\n }\n function Yl(t, e) {\n const i = t.source.body;\n let n = 0, s = 3;\n for (; s < 12; ) {\n const o = i.charCodeAt(e + s++);\n if (o === 125) {\n if (s < 5 || !st(n))\n break;\n return { value: String.fromCodePoint(n), size: s };\n }\n if (n = n << 4 | Gt(o), n < 0)\n break;\n }\n throw pe(t.source, e, `Invalid Unicode escape sequence: \"${i.slice(e, e + s)}\".`);\n }\n function Ul(t, e) {\n const i = t.source.body, n = Ls(i, e + 2);\n if (st(n))\n return { value: String.fromCodePoint(n), size: 6 };\n if (Ns(n) && i.charCodeAt(e + 6) === 92 && i.charCodeAt(e + 7) === 117) {\n const s = Ls(i, e + 8);\n if (ws(s))\n return { value: String.fromCodePoint(n, s), size: 12 };\n }\n throw pe(t.source, e, `Invalid Unicode escape sequence: \"${i.slice(e, e + 6)}\".`);\n }\n function Ls(t, e) {\n return Gt(t.charCodeAt(e)) << 12 | Gt(t.charCodeAt(e + 1)) << 8 | Gt(t.charCodeAt(e + 2)) << 4 | Gt(t.charCodeAt(e + 3));\n }\n function Gt(t) {\n return t >= 48 && t <= 57 ? t - 48 : t >= 65 && t <= 70 ? t - 55 : t >= 97 && t <= 102 ? t - 87 : -1;\n }\n function Fl(t, e) {\n const i = t.source.body;\n switch (i.charCodeAt(e + 1)) {\n case 34:\n return { value: '\"', size: 2 };\n case 92:\n return { value: \"\\\\\", size: 2 };\n case 47:\n return { value: \"/\", size: 2 };\n case 98:\n return { value: \"\\b\", size: 2 };\n case 102:\n return { value: \"\\f\", size: 2 };\n case 110:\n return { value: `\n`, size: 2 };\n case 114:\n return { value: \"\\r\", size: 2 };\n case 116:\n return { value: \"\t\", size: 2 };\n }\n throw pe(t.source, e, `Invalid character escape sequence: \"${i.slice(e, e + 2)}\".`);\n }\n function Hl(t, e) {\n const i = t.source.body, n = i.length;\n let s = t.lineStart, o = e + 3, l = o, a = \"\";\n const r = [];\n for (; o < n; ) {\n const c = i.charCodeAt(o);\n if (c === 34 && i.charCodeAt(o + 1) === 34 && i.charCodeAt(o + 2) === 34) {\n a += i.slice(l, o), r.push(a);\n const d = le(t, X.BLOCK_STRING, e, o + 3, Tl(r).join(`\n`));\n return t.line += r.length - 1, t.lineStart = s, d;\n }\n if (c !== 92 || i.charCodeAt(o + 1) !== 34 || i.charCodeAt(o + 2) !== 34 || i.charCodeAt(o + 3) !== 34)\n if (c !== 10 && c !== 13)\n if (st(c))\n ++o;\n else {\n if (!Qt(i, o))\n throw pe(t.source, o, `Invalid character within String: ${Ae(t, o)}.`);\n o += 2;\n }\n else\n a += i.slice(l, o), r.push(a), c === 13 && i.charCodeAt(o + 1) === 10 ? o += 2 : ++o, a = \"\", l = o, s = o;\n else\n a += i.slice(l, o), l = o + 1, o += 4;\n }\n throw pe(t.source, o, \"Unterminated string.\");\n }\n function El(t, e) {\n const i = t.source.body, n = i.length;\n let s = e + 1;\n for (; s < n && kl(i.charCodeAt(s)); )\n ++s;\n return le(t, X.NAME, e, s, i.slice(e, s));\n }\n const Ml = 10, xs = 2;\n function Oi(t) {\n return jt(t, []);\n }\n function jt(t, e) {\n switch (typeof t) {\n case \"string\":\n return JSON.stringify(t);\n case \"function\":\n return t.name ? `[function ${t.name}]` : \"[function]\";\n case \"object\":\n return function(i, n) {\n if (i === null)\n return \"null\";\n if (n.includes(i))\n return \"[Circular]\";\n const s = [...n, i];\n if (function(o) {\n return typeof o.toJSON == \"function\";\n }(i)) {\n const o = i.toJSON();\n if (o !== i)\n return typeof o == \"string\" ? o : jt(o, s);\n } else if (Array.isArray(i))\n return function(o, l) {\n if (o.length === 0)\n return \"[]\";\n if (l.length > xs)\n return \"[Array]\";\n const a = Math.min(Ml, o.length), r = o.length - a, c = [];\n for (let d = 0; d < a; ++d)\n c.push(jt(o[d], l));\n return r === 1 ? c.push(\"... 1 more item\") : r > 1 && c.push(`... ${r} more items`), \"[\" + c.join(\", \") + \"]\";\n }(i, s);\n return function(o, l) {\n const a = Object.entries(o);\n return a.length === 0 ? \"{}\" : l.length > xs ? \"[\" + function(c) {\n const d = Object.prototype.toString.call(c).replace(/^\\[object /, \"\").replace(/]$/, \"\");\n if (d === \"Object\" && typeof c.constructor == \"function\") {\n const u = c.constructor.name;\n if (typeof u == \"string\" && u !== \"\")\n return u;\n }\n return d;\n }(o) + \"]\" : \"{ \" + a.map(([c, d]) => c + \": \" + jt(d, l)).join(\", \") + \" }\";\n }(i, s);\n }(t, e);\n default:\n return String(t);\n }\n }\n const Ol = globalThis.process && globalThis.process.env.NODE_ENV === \"production\" ? function(t, e) {\n return t instanceof e;\n } : function(t, e) {\n if (t instanceof e)\n return !0;\n if (typeof t == \"object\" && t !== null) {\n var i;\n const n = e.prototype[Symbol.toStringTag];\n if (n === (Symbol.toStringTag in t ? t[Symbol.toStringTag] : (i = t.constructor) === null || i === void 0 ? void 0 : i.name)) {\n const s = Oi(t);\n throw new Error(`Cannot use ${n} \"${s}\" from another module or realm.\n\nEnsure that there is only one instance of \"graphql\" in the node_modules\ndirectory. If different versions of \"graphql\" are the dependencies of other\nrelied on modules, use \"resolutions\" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate \"graphql\" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`);\n }\n }\n return !1;\n };\n class Js {\n constructor(e, i = \"GraphQL request\", n = { line: 1, column: 1 }) {\n typeof e == \"string\" || Dt(!1, `Body must be a string. Received: ${Oi(e)}.`), this.body = e, this.name = i, this.locationOffset = n, this.locationOffset.line > 0 || Dt(!1, \"line in locationOffset is 1-indexed and must be positive.\"), this.locationOffset.column > 0 || Dt(!1, \"column in locationOffset is 1-indexed and must be positive.\");\n }\n get [Symbol.toStringTag]() {\n return \"Source\";\n }\n }\n function Ks(t, e) {\n return new zl(t, e).parseDocument();\n }\n class zl {\n constructor(e, i = {}) {\n const n = function(s) {\n return Ol(s, Js);\n }(e) ? e : new Js(e);\n this._lexer = new wl(n), this._options = i, this._tokenCounter = 0;\n }\n parseName() {\n const e = this.expectToken(X.NAME);\n return this.node(e, { kind: H.NAME, value: e.value });\n }\n parseDocument() {\n return this.node(this._lexer.token, { kind: H.DOCUMENT, definitions: this.many(X.SOF, this.parseDefinition, X.EOF) });\n }\n parseDefinition() {\n if (this.peek(X.BRACE_L))\n return this.parseOperationDefinition();\n const e = this.peekDescription(), i = e ? this._lexer.lookahead() : this._lexer.token;\n if (i.kind === X.NAME) {\n switch (i.value) {\n case \"schema\":\n return this.parseSchemaDefinition();\n case \"scalar\":\n return this.parseScalarTypeDefinition();\n case \"type\":\n return this.parseObjectTypeDefinition();\n case \"interface\":\n return this.parseInterfaceTypeDefinition();\n case \"union\":\n return this.parseUnionTypeDefinition();\n case \"enum\":\n return this.parseEnumTypeDefinition();\n case \"input\":\n return this.parseInputObjectTypeDefinition();\n case \"directive\":\n return this.parseDirectiveDefinition();\n }\n if (e)\n throw pe(this._lexer.source, this._lexer.token.start, \"Unexpected description, descriptions are supported only on type definitions.\");\n switch (i.value) {\n case \"query\":\n case \"mutation\":\n case \"subscription\":\n return this.parseOperationDefinition();\n case \"fragment\":\n return this.parseFragmentDefinition();\n case \"extend\":\n return this.parseTypeSystemExtension();\n }\n }\n throw this.unexpected(i);\n }\n parseOperationDefinition() {\n const e = this._lexer.token;\n if (this.peek(X.BRACE_L))\n return this.node(e, { kind: H.OPERATION_DEFINITION, operation: nt.QUERY, name: void 0, variableDefinitions: [], directives: [], selectionSet: this.parseSelectionSet() });\n const i = this.parseOperationType();\n let n;\n return this.peek(X.NAME) && (n = this.parseName()), this.node(e, { kind: H.OPERATION_DEFINITION, operation: i, name: n, variableDefinitions: this.parseVariableDefinitions(), directives: this.parseDirectives(!1), selectionSet: this.parseSelectionSet() });\n }\n parseOperationType() {\n const e = this.expectToken(X.NAME);\n switch (e.value) {\n case \"query\":\n return nt.QUERY;\n case \"mutation\":\n return nt.MUTATION;\n case \"subscription\":\n return nt.SUBSCRIPTION;\n }\n throw this.unexpected(e);\n }\n parseVariableDefinitions() {\n return this.optionalMany(X.PAREN_L, this.parseVariableDefinition, X.PAREN_R);\n }\n parseVariableDefinition() {\n return this.node(this._lexer.token, { kind: H.VARIABLE_DEFINITION, variable: this.parseVariable(), type: (this.expectToken(X.COLON), this.parseTypeReference()), defaultValue: this.expectOptionalToken(X.EQUALS) ? this.parseConstValueLiteral() : void 0, directives: this.parseConstDirectives() });\n }\n parseVariable() {\n const e = this._lexer.token;\n return this.expectToken(X.DOLLAR), this.node(e, { kind: H.VARIABLE, name: this.parseName() });\n }\n parseSelectionSet() {\n return this.node(this._lexer.token, { kind: H.SELECTION_SET, selections: this.many(X.BRACE_L, this.parseSelection, X.BRACE_R) });\n }\n parseSelection() {\n return this.peek(X.SPREAD) ? this.parseFragment() : this.parseField();\n }\n parseField() {\n const e = this._lexer.token, i = this.parseName();\n let n, s;\n return this.expectOptionalToken(X.COLON) ? (n = i, s = this.parseName()) : s = i, this.node(e, { kind: H.FIELD, alias: n, name: s, arguments: this.parseArguments(!1), directives: this.parseDirectives(!1), selectionSet: this.peek(X.BRACE_L) ? this.parseSelectionSet() : void 0 });\n }\n parseArguments(e) {\n const i = e ? this.parseConstArgument : this.parseArgument;\n return this.optionalMany(X.PAREN_L, i, X.PAREN_R);\n }\n parseArgument(e = !1) {\n const i = this._lexer.token, n = this.parseName();\n return this.expectToken(X.COLON), this.node(i, { kind: H.ARGUMENT, name: n, value: this.parseValueLiteral(e) });\n }\n parseConstArgument() {\n return this.parseArgument(!0);\n }\n parseFragment() {\n const e = this._lexer.token;\n this.expectToken(X.SPREAD);\n const i = this.expectOptionalKeyword(\"on\");\n return !i && this.peek(X.NAME) ? this.node(e, { kind: H.FRAGMENT_SPREAD, name: this.parseFragmentName(), directives: this.parseDirectives(!1) }) : this.node(e, { kind: H.INLINE_FRAGMENT, typeCondition: i ? this.parseNamedType() : void 0, directives: this.parseDirectives(!1), selectionSet: this.parseSelectionSet() });\n }\n parseFragmentDefinition() {\n const e = this._lexer.token;\n return this.expectKeyword(\"fragment\"), this._options.allowLegacyFragmentVariables === !0 ? this.node(e, { kind: H.FRAGMENT_DEFINITION, name: this.parseFragmentName(), variableDefinitions: this.parseVariableDefinitions(), typeCondition: (this.expectKeyword(\"on\"), this.parseNamedType()), directives: this.parseDirectives(!1), selectionSet: this.parseSelectionSet() }) : this.node(e, { kind: H.FRAGMENT_DEFINITION, name: this.parseFragmentName(), typeCondition: (this.expectKeyword(\"on\"), this.parseNamedType()), directives: this.parseDirectives(!1), selectionSet: this.parseSelectionSet() });\n }\n parseFragmentName() {\n if (this._lexer.token.value === \"on\")\n throw this.unexpected();\n return this.parseName();\n }\n parseValueLiteral(e) {\n const i = this._lexer.token;\n switch (i.kind) {\n case X.BRACKET_L:\n return this.parseList(e);\n case X.BRACE_L:\n return this.parseObject(e);\n case X.INT:\n return this.advanceLexer(), this.node(i, { kind: H.INT, value: i.value });\n case X.FLOAT:\n return this.advanceLexer(), this.node(i, { kind: H.FLOAT, value: i.value });\n case X.STRING:\n case X.BLOCK_STRING:\n return this.parseStringLiteral();\n case X.NAME:\n switch (this.advanceLexer(), i.value) {\n case \"true\":\n return this.node(i, { kind: H.BOOLEAN, value: !0 });\n case \"false\":\n return this.node(i, { kind: H.BOOLEAN, value: !1 });\n case \"null\":\n return this.node(i, { kind: H.NULL });\n default:\n return this.node(i, { kind: H.ENUM, value: i.value });\n }\n case X.DOLLAR:\n if (e) {\n if (this.expectToken(X.DOLLAR), this._lexer.token.kind === X.NAME) {\n const n = this._lexer.token.value;\n throw pe(this._lexer.source, i.start, `Unexpected variable \"$${n}\" in constant value.`);\n }\n throw this.unexpected(i);\n }\n return this.parseVariable();\n default:\n throw this.unexpected();\n }\n }\n parseConstValueLiteral() {\n return this.parseValueLiteral(!0);\n }\n parseStringLiteral() {\n const e = this._lexer.token;\n return this.advanceLexer(), this.node(e, { kind: H.STRING, value: e.value, block: e.kind === X.BLOCK_STRING });\n }\n parseList(e) {\n return this.node(this._lexer.token, { kind: H.LIST, values: this.any(X.BRACKET_L, () => this.parseValueLiteral(e), X.BRACKET_R) });\n }\n parseObject(e) {\n return this.node(this._lexer.token, { kind: H.OBJECT, fields: this.any(X.BRACE_L, () => this.parseObjectField(e), X.BRACE_R) });\n }\n parseObjectField(e) {\n const i = this._lexer.token, n = this.parseName();\n return this.expectToken(X.COLON), this.node(i, { kind: H.OBJECT_FIELD, name: n, value: this.parseValueLiteral(e) });\n }\n parseDirectives(e) {\n const i = [];\n for (; this.peek(X.AT); )\n i.push(this.parseDirective(e));\n return i;\n }\n parseConstDirectives() {\n return this.parseDirectives(!0);\n }\n parseDirective(e) {\n const i = this._lexer.token;\n return this.expectToken(X.AT), this.node(i, { kind: H.DIRECTIVE, name: this.parseName(), arguments: this.parseArguments(e) });\n }\n parseTypeReference() {\n const e = this._lexer.token;\n let i;\n if (this.expectOptionalToken(X.BRACKET_L)) {\n const n = this.parseTypeReference();\n this.expectToken(X.BRACKET_R), i = this.node(e, { kind: H.LIST_TYPE, type: n });\n } else\n i = this.parseNamedType();\n return this.expectOptionalToken(X.BANG) ? this.node(e, { kind: H.NON_NULL_TYPE, type: i }) : i;\n }\n parseNamedType() {\n return this.node(this._lexer.token, { kind: H.NAMED_TYPE, name: this.parseName() });\n }\n peekDescription() {\n return this.peek(X.STRING) || this.peek(X.BLOCK_STRING);\n }\n parseDescription() {\n if (this.peekDescription())\n return this.parseStringLiteral();\n }\n parseSchemaDefinition() {\n const e = this._lexer.token, i = this.parseDescription();\n this.expectKeyword(\"schema\");\n const n = this.parseConstDirectives(), s = this.many(X.BRACE_L, this.parseOperationTypeDefinition, X.BRACE_R);\n return this.node(e, { kind: H.SCHEMA_DEFINITION, description: i, directives: n, operationTypes: s });\n }\n parseOperationTypeDefinition() {\n const e = this._lexer.token, i = this.parseOperationType();\n this.expectToken(X.COLON);\n const n = this.parseNamedType();\n return this.node(e, { kind: H.OPERATION_TYPE_DEFINITION, operation: i, type: n });\n }\n parseScalarTypeDefinition() {\n const e = this._lexer.token, i = this.parseDescription();\n this.expectKeyword(\"scalar\");\n const n = this.parseName(), s = this.parseConstDirectives();\n return this.node(e, { kind: H.SCALAR_TYPE_DEFINITION, description: i, name: n, directives: s });\n }\n parseObjectTypeDefinition() {\n const e = this._lexer.token, i = this.parseDescription();\n this.expectKeyword(\"type\");\n const n = this.parseName(), s = this.parseImplementsInterfaces(), o = this.parseConstDirectives(), l = this.parseFieldsDefinition();\n return this.node(e, { kind: H.OBJECT_TYPE_DEFINITION, description: i, name: n, interfaces: s, directives: o, fields: l });\n }\n parseImplementsInterfaces() {\n return this.expectOptionalKeyword(\"implements\") ? this.delimitedMany(X.AMP, this.parseNamedType) : [];\n }\n parseFieldsDefinition() {\n return this.optionalMany(X.BRACE_L, this.parseFieldDefinition, X.BRACE_R);\n }\n parseFieldDefinition() {\n const e = this._lexer.token, i = this.parseDescription(), n = this.parseName(), s = this.parseArgumentDefs();\n this.expectToken(X.COLON);\n const o = this.parseTypeReference(), l = this.parseConstDirectives();\n return this.node(e, { kind: H.FIELD_DEFINITION, description: i, name: n, arguments: s, type: o, directives: l });\n }\n parseArgumentDefs() {\n return this.optionalMany(X.PAREN_L, this.parseInputValueDef, X.PAREN_R);\n }\n parseInputValueDef() {\n const e = this._lexer.token, i = this.parseDescription(), n = this.parseName();\n this.expectToken(X.COLON);\n const s = this.parseTypeReference();\n let o;\n this.expectOptionalToken(X.EQUALS) && (o = this.parseConstValueLiteral());\n const l = this.parseConstDirectives();\n return this.node(e, { kind: H.INPUT_VALUE_DEFINITION, description: i, name: n, type: s, defaultValue: o, directives: l });\n }\n parseInterfaceTypeDefinition() {\n const e = this._lexer.token, i = this.parseDescription();\n this.expectKeyword(\"interface\");\n const n = this.parseName(), s = this.parseImplementsInterfaces(), o = this.parseConstDirectives(), l = this.parseFieldsDefinition();\n return this.node(e, { kind: H.INTERFACE_TYPE_DEFINITION, description: i, name: n, interfaces: s, directives: o, fields: l });\n }\n parseUnionTypeDefinition() {\n const e = this._lexer.token, i = this.parseDescription();\n this.expectKeyword(\"union\");\n const n = this.parseName(), s = this.parseConstDirectives(), o = this.parseUnionMemberTypes();\n return this.node(e, { kind: H.UNION_TYPE_DEFINITION, description: i, name: n, directives: s, types: o });\n }\n parseUnionMemberTypes() {\n return this.expectOptionalToken(X.EQUALS) ? this.delimitedMany(X.PIPE, this.parseNamedType) : [];\n }\n parseEnumTypeDefinition() {\n const e = this._lexer.token, i = this.parseDescription();\n this.expectKeyword(\"enum\");\n const n = this.parseName(), s = this.parseConstDirectives(), o = this.parseEnumValuesDefinition();\n return this.node(e, { kind: H.ENUM_TYPE_DEFINITION, description: i, name: n, directives: s, values: o });\n }\n parseEnumValuesDefinition() {\n return this.optionalMany(X.BRACE_L, this.parseEnumValueDefinition, X.BRACE_R);\n }\n parseEnumValueDefinition() {\n const e = this._lexer.token, i = this.parseDescription(), n = this.parseEnumValueName(), s = this.parseConstDirectives();\n return this.node(e, { kind: H.ENUM_VALUE_DEFINITION, description: i, name: n, directives: s });\n }\n parseEnumValueName() {\n if (this._lexer.token.value === \"true\" || this._lexer.token.value === \"false\" || this._lexer.token.value === \"null\")\n throw pe(this._lexer.source, this._lexer.token.start, `${_t(this._lexer.token)} is reserved and cannot be used for an enum value.`);\n return this.parseName();\n }\n parseInputObjectTypeDefinition() {\n const e = this._lexer.token, i = this.parseDescription();\n this.expectKeyword(\"input\");\n const n = this.parseName(), s = this.parseConstDirectives(), o = this.parseInputFieldsDefinition();\n return this.node(e, { kind: H.INPUT_OBJECT_TYPE_DEFINITION, description: i, name: n, directives: s, fields: o });\n }\n parseInputFieldsDefinition() {\n return this.optionalMany(X.BRACE_L, this.parseInputValueDef, X.BRACE_R);\n }\n parseTypeSystemExtension() {\n const e = this._lexer.lookahead();\n if (e.kind === X.NAME)\n switch (e.value) {\n case \"schema\":\n return this.parseSchemaExtension();\n case \"scalar\":\n return this.parseScalarTypeExtension();\n case \"type\":\n return this.parseObjectTypeExtension();\n case \"interface\":\n return this.parseInterfaceTypeExtension();\n case \"union\":\n return this.parseUnionTypeExtension();\n case \"enum\":\n return this.parseEnumTypeExtension();\n case \"input\":\n return this.parseInputObjectTypeExtension();\n }\n throw this.unexpected(e);\n }\n parseSchemaExtension() {\n const e = this._lexer.token;\n this.expectKeyword(\"extend\"), this.expectKeyword(\"schema\");\n const i = this.parseConstDirectives(), n = this.optionalMany(X.BRACE_L, this.parseOperationTypeDefinition, X.BRACE_R);\n if (i.length === 0 && n.length === 0)\n throw this.unexpected();\n return this.node(e, { kind: H.SCHEMA_EXTENSION, directives: i, operationTypes: n });\n }\n parseScalarTypeExtension() {\n const e = this._lexer.token;\n this.expectKeyword(\"extend\"), this.expectKeyword(\"scalar\");\n const i = this.parseName(), n = this.parseConstDirectives();\n if (n.length === 0)\n throw this.unexpected();\n return this.node(e, { kind: H.SCALAR_TYPE_EXTENSION, name: i, directives: n });\n }\n parseObjectTypeExtension() {\n const e = this._lexer.token;\n this.expectKeyword(\"extend\"), this.expectKeyword(\"type\");\n const i = this.parseName(), n = this.parseImplementsInterfaces(), s = this.parseConstDirectives(), o = this.parseFieldsDefinition();\n if (n.length === 0 && s.length === 0 && o.length === 0)\n throw this.unexpected();\n return this.node(e, { kind: H.OBJECT_TYPE_EXTENSION, name: i, interfaces: n, directives: s, fields: o });\n }\n parseInterfaceTypeExtension() {\n const e = this._lexer.token;\n this.expectKeyword(\"extend\"), this.expectKeyword(\"interface\");\n const i = this.parseName(), n = this.parseImplementsInterfaces(), s = this.parseConstDirectives(), o = this.parseFieldsDefinition();\n if (n.length === 0 && s.length === 0 && o.length === 0)\n throw this.unexpected();\n return this.node(e, { kind: H.INTERFACE_TYPE_EXTENSION, name: i, interfaces: n, directives: s, fields: o });\n }\n parseUnionTypeExtension() {\n const e = this._lexer.token;\n this.expectKeyword(\"extend\"), this.expectKeyword(\"union\");\n const i = this.parseName(), n = this.parseConstDirectives(), s = this.parseUnionMemberTypes();\n if (n.length === 0 && s.length === 0)\n throw this.unexpected();\n return this.node(e, { kind: H.UNION_TYPE_EXTENSION, name: i, directives: n, types: s });\n }\n parseEnumTypeExtension() {\n const e = this._lexer.token;\n this.expectKeyword(\"extend\"), this.expectKeyword(\"enum\");\n const i = this.parseName(), n = this.parseConstDirectives(), s = this.parseEnumValuesDefinition();\n if (n.length === 0 && s.length === 0)\n throw this.unexpected();\n return this.node(e, { kind: H.ENUM_TYPE_EXTENSION, name: i, directives: n, values: s });\n }\n parseInputObjectTypeExtension() {\n const e = this._lexer.token;\n this.expectKeyword(\"extend\"), this.expectKeyword(\"input\");\n const i = this.parseName(), n = this.parseConstDirectives(), s = this.parseInputFieldsDefinition();\n if (n.length === 0 && s.length === 0)\n throw this.unexpected();\n return this.node(e, { kind: H.INPUT_OBJECT_TYPE_EXTENSION, name: i, directives: n, fields: s });\n }\n parseDirectiveDefinition() {\n const e = this._lexer.token, i = this.parseDescription();\n this.expectKeyword(\"directive\"), this.expectToken(X.AT);\n const n = this.parseName(), s = this.parseArgumentDefs(), o = this.expectOptionalKeyword(\"repeatable\");\n this.expectKeyword(\"on\");\n const l = this.parseDirectiveLocations();\n return this.node(e, { kind: H.DIRECTIVE_DEFINITION, description: i, name: n, arguments: s, repeatable: o, locations: l });\n }\n parseDirectiveLocations() {\n return this.delimitedMany(X.PIPE, this.parseDirectiveLocation);\n }\n parseDirectiveLocation() {\n const e = this._lexer.token, i = this.parseName();\n if (Object.prototype.hasOwnProperty.call(Hi, i.value))\n return i;\n throw this.unexpected(e);\n }\n node(e, i) {\n return this._options.noLocation !== !0 && (i.loc = new Rl(e, this._lexer.lastToken, this._lexer.source)), i;\n }\n peek(e) {\n return this._lexer.token.kind === e;\n }\n expectToken(e) {\n const i = this._lexer.token;\n if (i.kind === e)\n return this.advanceLexer(), i;\n throw pe(this._lexer.source, i.start, `Expected ${Ys(e)}, found ${_t(i)}.`);\n }\n expectOptionalToken(e) {\n return this._lexer.token.kind === e && (this.advanceLexer(), !0);\n }\n expectKeyword(e) {\n const i = this._lexer.token;\n if (i.kind !== X.NAME || i.value !== e)\n throw pe(this._lexer.source, i.start, `Expected \"${e}\", found ${_t(i)}.`);\n this.advanceLexer();\n }\n expectOptionalKeyword(e) {\n const i = this._lexer.token;\n return i.kind === X.NAME && i.value === e && (this.advanceLexer(), !0);\n }\n unexpected(e) {\n const i = e != null ? e : this._lexer.token;\n return pe(this._lexer.source, i.start, `Unexpected ${_t(i)}.`);\n }\n any(e, i, n) {\n this.expectToken(e);\n const s = [];\n for (; !this.expectOptionalToken(n); )\n s.push(i.call(this));\n return s;\n }\n optionalMany(e, i, n) {\n if (this.expectOptionalToken(e)) {\n const s = [];\n do\n s.push(i.call(this));\n while (!this.expectOptionalToken(n));\n return s;\n }\n return [];\n }\n many(e, i, n) {\n this.expectToken(e);\n const s = [];\n do\n s.push(i.call(this));\n while (!this.expectOptionalToken(n));\n return s;\n }\n delimitedMany(e, i) {\n this.expectOptionalToken(e);\n const n = [];\n do\n n.push(i.call(this));\n while (this.expectOptionalToken(e));\n return n;\n }\n advanceLexer() {\n const { maxTokens: e } = this._options, i = this._lexer.advance();\n if (e !== void 0 && i.kind !== X.EOF && (++this._tokenCounter, this._tokenCounter > e))\n throw pe(this._lexer.source, i.start, `Document contains more that ${e} tokens. Parsing aborted.`);\n }\n }\n function _t(t) {\n const e = t.value;\n return Ys(t.kind) + (e != null ? ` \"${e}\"` : \"\");\n }\n function Ys(t) {\n return function(e) {\n return e === X.BANG || e === X.DOLLAR || e === X.AMP || e === X.PAREN_L || e === X.PAREN_R || e === X.SPREAD || e === X.COLON || e === X.EQUALS || e === X.AT || e === X.BRACKET_L || e === X.BRACKET_R || e === X.BRACE_L || e === X.PIPE || e === X.BRACE_R;\n }(t) ? `\"${t}\"` : t;\n }\n const Bl = /[\\x00-\\x1f\\x22\\x5c\\x7f-\\x9f]/g;\n function Pl(t) {\n return Al[t.charCodeAt(0)];\n }\n const Al = [\"\\\\u0000\", \"\\\\u0001\", \"\\\\u0002\", \"\\\\u0003\", \"\\\\u0004\", \"\\\\u0005\", \"\\\\u0006\", \"\\\\u0007\", \"\\\\b\", \"\\\\t\", \"\\\\n\", \"\\\\u000B\", \"\\\\f\", \"\\\\r\", \"\\\\u000E\", \"\\\\u000F\", \"\\\\u0010\", \"\\\\u0011\", \"\\\\u0012\", \"\\\\u0013\", \"\\\\u0014\", \"\\\\u0015\", \"\\\\u0016\", \"\\\\u0017\", \"\\\\u0018\", \"\\\\u0019\", \"\\\\u001A\", \"\\\\u001B\", \"\\\\u001C\", \"\\\\u001D\", \"\\\\u001E\", \"\\\\u001F\", \"\", \"\", '\\\\\"', \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\\\\\\\\\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\\\\u007F\", \"\\\\u0080\", \"\\\\u0081\", \"\\\\u0082\", \"\\\\u0083\", \"\\\\u0084\", \"\\\\u0085\", \"\\\\u0086\", \"\\\\u0087\", \"\\\\u0088\", \"\\\\u0089\", \"\\\\u008A\", \"\\\\u008B\", \"\\\\u008C\", \"\\\\u008D\", \"\\\\u008E\", \"\\\\u008F\", \"\\\\u0090\", \"\\\\u0091\", \"\\\\u0092\", \"\\\\u0093\", \"\\\\u0094\", \"\\\\u0095\", \"\\\\u0096\", \"\\\\u0097\", \"\\\\u0098\", \"\\\\u0099\", \"\\\\u009A\", \"\\\\u009B\", \"\\\\u009C\", \"\\\\u009D\", \"\\\\u009E\", \"\\\\u009F\"], Dl = Object.freeze({});\n function Ql(t, e) {\n const i = t[e];\n return typeof i == \"object\" ? i : typeof i == \"function\" ? { enter: i, leave: void 0 } : { enter: t.enter, leave: t.leave };\n }\n function Us(t) {\n return function(e, i, n = Rs) {\n const s = /* @__PURE__ */ new Map();\n for (const g of Object.values(H))\n s.set(g, Ql(i, g));\n let o, l, a, r = Array.isArray(e), c = [e], d = -1, u = [], p = e;\n const m = [], I = [];\n do {\n d++;\n const g = d === c.length, b = g && u.length !== 0;\n if (g) {\n if (l = I.length === 0 ? void 0 : m[m.length - 1], p = a, a = I.pop(), b)\n if (r) {\n p = p.slice();\n let f = 0;\n for (const [w, K] of u) {\n const Y = w - f;\n K === null ? (p.splice(Y, 1), f++) : p[Y] = K;\n }\n } else {\n p = Object.defineProperties({}, Object.getOwnPropertyDescriptors(p));\n for (const [f, w] of u)\n p[f] = w;\n }\n d = o.index, c = o.keys, u = o.edits, r = o.inArray, o = o.prev;\n } else if (a) {\n if (l = r ? d : c[d], p = a[l], p == null)\n continue;\n m.push(l);\n }\n let S;\n if (!Array.isArray(p)) {\n var y, W;\n vs(p) || Dt(!1, `Invalid AST Node: ${Oi(p)}.`);\n const f = g ? (y = s.get(p.kind)) === null || y === void 0 ? void 0 : y.leave : (W = s.get(p.kind)) === null || W === void 0 ? void 0 : W.enter;\n if (S = f == null ? void 0 : f.call(i, p, l, a, m, I), S === Dl)\n break;\n if (S === !1) {\n if (!g) {\n m.pop();\n continue;\n }\n } else if (S !== void 0 && (u.push([l, S]), !g)) {\n if (!vs(S)) {\n m.pop();\n continue;\n }\n p = S;\n }\n }\n var Z;\n S === void 0 && b && u.push([l, p]), g ? m.pop() : (o = { inArray: r, index: d, keys: c, edits: u, prev: o }, r = Array.isArray(p), c = r ? p : (Z = n[p.kind]) !== null && Z !== void 0 ? Z : [], d = -1, u = [], a && I.push(a), a = p);\n } while (o !== void 0);\n return u.length !== 0 ? u[u.length - 1][1] : e;\n }(t, jl);\n }\n const jl = { Name: { leave: (t) => t.value }, Variable: { leave: (t) => \"$\" + t.name }, Document: { leave: (t) => J(t.definitions, `\n\n`) }, OperationDefinition: { leave(t) {\n const e = A(\"(\", J(t.variableDefinitions, \", \"), \")\"), i = J([t.operation, J([t.name, e]), J(t.directives, \" \")], \" \");\n return (i === \"query\" ? \"\" : i + \" \") + t.selectionSet;\n } }, VariableDefinition: { leave: ({ variable: t, type: e, defaultValue: i, directives: n }) => t + \": \" + e + A(\" = \", i) + A(\" \", J(n, \" \")) }, SelectionSet: { leave: ({ selections: t }) => ke(t) }, Field: { leave({ alias: t, name: e, arguments: i, directives: n, selectionSet: s }) {\n const o = A(\"\", t, \": \") + e;\n let l = o + A(\"(\", J(i, \", \"), \")\");\n return l.length > 80 && (l = o + A(`(\n`, qt(J(i, `\n`)), `\n)`)), J([l, J(n, \" \"), s], \" \");\n } }, Argument: { leave: ({ name: t, value: e }) => t + \": \" + e }, FragmentSpread: { leave: ({ name: t, directives: e }) => \"...\" + t + A(\" \", J(e, \" \")) }, InlineFragment: { leave: ({ typeCondition: t, directives: e, selectionSet: i }) => J([\"...\", A(\"on \", t), J(e, \" \"), i], \" \") }, FragmentDefinition: { leave: ({ name: t, typeCondition: e, variableDefinitions: i, directives: n, selectionSet: s }) => `fragment ${t}${A(\"(\", J(i, \", \"), \")\")} on ${e} ${A(\"\", J(n, \" \"), \" \")}` + s }, IntValue: { leave: ({ value: t }) => t }, FloatValue: { leave: ({ value: t }) => t }, StringValue: { leave: ({ value: t, block: e }) => e ? function(i, n) {\n const s = i.replace(/\"\"\"/g, '\\\\\"\"\"'), o = s.split(/\\r\\n|[\\n\\r]/g), l = o.length === 1, a = o.length > 1 && o.slice(1).every((y) => y.length === 0 || Ei(y.charCodeAt(0))), r = s.endsWith('\\\\\"\"\"'), c = i.endsWith('\"') && !r, d = i.endsWith(\"\\\\\"), u = c || d, p = !(n != null && n.minimize) && (!l || i.length > 70 || u || a || r);\n let m = \"\";\n const I = l && Ei(i.charCodeAt(0));\n return (p && !I || a) && (m += `\n`), m += s, (p || u) && (m += `\n`), '\"\"\"' + m + '\"\"\"';\n }(t) : `\"${t.replace(Bl, Pl)}\"` }, BooleanValue: { leave: ({ value: t }) => t ? \"true\" : \"false\" }, NullValue: { leave: () => \"null\" }, EnumValue: { leave: ({ value: t }) => t }, ListValue: { leave: ({ values: t }) => \"[\" + J(t, \", \") + \"]\" }, ObjectValue: { leave: ({ fields: t }) => \"{\" + J(t, \", \") + \"}\" }, ObjectField: { leave: ({ name: t, value: e }) => t + \": \" + e }, Directive: { leave: ({ name: t, arguments: e }) => \"@\" + t + A(\"(\", J(e, \", \"), \")\") }, NamedType: { leave: ({ name: t }) => t }, ListType: { leave: ({ type: t }) => \"[\" + t + \"]\" }, NonNullType: { leave: ({ type: t }) => t + \"!\" }, SchemaDefinition: { leave: ({ description: t, directives: e, operationTypes: i }) => A(\"\", t, `\n`) + J([\"schema\", J(e, \" \"), ke(i)], \" \") }, OperationTypeDefinition: { leave: ({ operation: t, type: e }) => t + \": \" + e }, ScalarTypeDefinition: { leave: ({ description: t, name: e, directives: i }) => A(\"\", t, `\n`) + J([\"scalar\", e, J(i, \" \")], \" \") }, ObjectTypeDefinition: { leave: ({ description: t, name: e, interfaces: i, directives: n, fields: s }) => A(\"\", t, `\n`) + J([\"type\", e, A(\"implements \", J(i, \" & \")), J(n, \" \"), ke(s)], \" \") }, FieldDefinition: { leave: ({ description: t, name: e, arguments: i, type: n, directives: s }) => A(\"\", t, `\n`) + e + (Fs(i) ? A(`(\n`, qt(J(i, `\n`)), `\n)`) : A(\"(\", J(i, \", \"), \")\")) + \": \" + n + A(\" \", J(s, \" \")) }, InputValueDefinition: { leave: ({ description: t, name: e, type: i, defaultValue: n, directives: s }) => A(\"\", t, `\n`) + J([e + \": \" + i, A(\"= \", n), J(s, \" \")], \" \") }, InterfaceTypeDefinition: { leave: ({ description: t, name: e, interfaces: i, directives: n, fields: s }) => A(\"\", t, `\n`) + J([\"interface\", e, A(\"implements \", J(i, \" & \")), J(n, \" \"), ke(s)], \" \") }, UnionTypeDefinition: { leave: ({ description: t, name: e, directives: i, types: n }) => A(\"\", t, `\n`) + J([\"union\", e, J(i, \" \"), A(\"= \", J(n, \" | \"))], \" \") }, EnumTypeDefinition: { leave: ({ description: t, name: e, directives: i, values: n }) => A(\"\", t, `\n`) + J([\"enum\", e, J(i, \" \"), ke(n)], \" \") }, EnumValueDefinition: { leave: ({ description: t, name: e, directives: i }) => A(\"\", t, `\n`) + J([e, J(i, \" \")], \" \") }, InputObjectTypeDefinition: { leave: ({ description: t, name: e, directives: i, fields: n }) => A(\"\", t, `\n`) + J([\"input\", e, J(i, \" \"), ke(n)], \" \") }, DirectiveDefinition: { leave: ({ description: t, name: e, arguments: i, repeatable: n, locations: s }) => A(\"\", t, `\n`) + \"directive @\" + e + (Fs(i) ? A(`(\n`, qt(J(i, `\n`)), `\n)`) : A(\"(\", J(i, \", \"), \")\")) + (n ? \" repeatable\" : \"\") + \" on \" + J(s, \" | \") }, SchemaExtension: { leave: ({ directives: t, operationTypes: e }) => J([\"extend schema\", J(t, \" \"), ke(e)], \" \") }, ScalarTypeExtension: { leave: ({ name: t, directives: e }) => J([\"extend scalar\", t, J(e, \" \")], \" \") }, ObjectTypeExtension: { leave: ({ name: t, interfaces: e, directives: i, fields: n }) => J([\"extend type\", t, A(\"implements \", J(e, \" & \")), J(i, \" \"), ke(n)], \" \") }, InterfaceTypeExtension: { leave: ({ name: t, interfaces: e, directives: i, fields: n }) => J([\"extend interface\", t, A(\"implements \", J(e, \" & \")), J(i, \" \"), ke(n)], \" \") }, UnionTypeExtension: { leave: ({ name: t, directives: e, types: i }) => J([\"extend union\", t, J(e, \" \"), A(\"= \", J(i, \" | \"))], \" \") }, EnumTypeExtension: { leave: ({ name: t, directives: e, values: i }) => J([\"extend enum\", t, J(e, \" \"), ke(i)], \" \") }, InputObjectTypeExtension: { leave: ({ name: t, directives: e, fields: i }) => J([\"extend input\", t, J(e, \" \"), ke(i)], \" \") } };\n function J(t, e = \"\") {\n var i;\n return (i = t == null ? void 0 : t.filter((n) => n).join(e)) !== null && i !== void 0 ? i : \"\";\n }\n function ke(t) {\n return A(`{\n`, qt(J(t, `\n`)), `\n}`);\n }\n function A(t, e, i = \"\") {\n return e != null && e !== \"\" ? t + e + i : \"\";\n }\n function qt(t) {\n return A(\" \", t.replace(/\\n/g, `\n `));\n }\n function Fs(t) {\n var e;\n return (e = t == null ? void 0 : t.some((i) => i.includes(`\n`))) !== null && e !== void 0 && e;\n }\n const Hs = (t) => {\n var e, i;\n let n;\n const s = t.definitions.filter((o) => o.kind === \"OperationDefinition\");\n return s.length === 1 && (n = (i = (e = s[0]) == null ? void 0 : e.name) == null ? void 0 : i.value), n;\n }, zi = (t) => {\n if (typeof t == \"string\") {\n let i;\n try {\n const n = Ks(t);\n i = Hs(n);\n } catch (n) {\n }\n return { query: t, operationName: i };\n }\n const e = Hs(t);\n return { query: Us(t), operationName: e };\n };\n class ot extends Error {\n constructor(e, i) {\n super(`${ot.extractMessage(e)}: ${JSON.stringify({ response: e, request: i })}`), Object.setPrototypeOf(this, ot.prototype), this.response = e, this.request = i, typeof Error.captureStackTrace == \"function\" && Error.captureStackTrace(this, ot);\n }\n static extractMessage(e) {\n var i, n, s;\n return (s = (n = (i = e.errors) == null ? void 0 : i[0]) == null ? void 0 : n.message) != null ? s : `GraphQL Error (Code: ${e.status})`;\n }\n }\n var Bi = { exports: {} };\n (function(t, e) {\n var i, n = typeof self != \"undefined\" ? self : sl, s = function() {\n function l() {\n this.fetch = !1, this.DOMException = n.DOMException;\n }\n return l.prototype = n, new l();\n }();\n i = s, function(l) {\n var a = \"URLSearchParams\" in i, r = \"Symbol\" in i && \"iterator\" in Symbol, c = \"FileReader\" in i && \"Blob\" in i && function() {\n try {\n return new Blob(), !0;\n } catch (h) {\n return !1;\n }\n }(), d = \"FormData\" in i, u = \"ArrayBuffer\" in i;\n if (u)\n var p = [\"[object Int8Array]\", \"[object Uint8Array]\", \"[object Uint8ClampedArray]\", \"[object Int16Array]\", \"[object Uint16Array]\", \"[object Int32Array]\", \"[object Uint32Array]\", \"[object Float32Array]\", \"[object Float64Array]\"], m = ArrayBuffer.isView || function(h) {\n return h && p.indexOf(Object.prototype.toString.call(h)) > -1;\n };\n function I(h) {\n if (typeof h != \"string\" && (h = String(h)), /[^a-z0-9\\-#$%&'*+.^_`|~]/i.test(h))\n throw new TypeError(\"Invalid character in header field name\");\n return h.toLowerCase();\n }\n function y(h) {\n return typeof h != \"string\" && (h = String(h)), h;\n }\n function W(h) {\n var V = { next: function() {\n var v = h.shift();\n return { done: v === void 0, value: v };\n } };\n return r && (V[Symbol.iterator] = function() {\n return V;\n }), V;\n }\n function Z(h) {\n this.map = {}, h instanceof Z ? h.forEach(function(V, v) {\n this.append(v, V);\n }, this) : Array.isArray(h) ? h.forEach(function(V) {\n this.append(V[0], V[1]);\n }, this) : h && Object.getOwnPropertyNames(h).forEach(function(V) {\n this.append(V, h[V]);\n }, this);\n }\n function g(h) {\n if (h.bodyUsed)\n return Promise.reject(new TypeError(\"Already read\"));\n h.bodyUsed = !0;\n }\n function b(h) {\n return new Promise(function(V, v) {\n h.onload = function() {\n V(h.result);\n }, h.onerror = function() {\n v(h.error);\n };\n });\n }\n function S(h) {\n var V = new FileReader(), v = b(V);\n return V.readAsArrayBuffer(h), v;\n }\n function f(h) {\n if (h.slice)\n return h.slice(0);\n var V = new Uint8Array(h.byteLength);\n return V.set(new Uint8Array(h)), V.buffer;\n }\n function w() {\n return this.bodyUsed = !1, this._initBody = function(h) {\n var V;\n this._bodyInit = h, h ? typeof h == \"string\" ? this._bodyText = h : c && Blob.prototype.isPrototypeOf(h) ? this._bodyBlob = h : d && FormData.prototype.isPrototypeOf(h) ? this._bodyFormData = h : a && URLSearchParams.prototype.isPrototypeOf(h) ? this._bodyText = h.toString() : u && c && (V = h) && DataView.prototype.isPrototypeOf(V) ? (this._bodyArrayBuffer = f(h.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : u && (ArrayBuffer.prototype.isPrototypeOf(h) || m(h)) ? this._bodyArrayBuffer = f(h) : this._bodyText = h = Object.prototype.toString.call(h) : this._bodyText = \"\", this.headers.get(\"content-type\") || (typeof h == \"string\" ? this.headers.set(\"content-type\", \"text/plain;charset=UTF-8\") : this._bodyBlob && this._bodyBlob.type ? this.headers.set(\"content-type\", this._bodyBlob.type) : a && URLSearchParams.prototype.isPrototypeOf(h) && this.headers.set(\"content-type\", \"application/x-www-form-urlencoded;charset=UTF-8\"));\n }, c && (this.blob = function() {\n var h = g(this);\n if (h)\n return h;\n if (this._bodyBlob)\n return Promise.resolve(this._bodyBlob);\n if (this._bodyArrayBuffer)\n return Promise.resolve(new Blob([this._bodyArrayBuffer]));\n if (this._bodyFormData)\n throw new Error(\"could not read FormData body as blob\");\n return Promise.resolve(new Blob([this._bodyText]));\n }, this.arrayBuffer = function() {\n return this._bodyArrayBuffer ? g(this) || Promise.resolve(this._bodyArrayBuffer) : this.blob().then(S);\n }), this.text = function() {\n var h, V, v, C = g(this);\n if (C)\n return C;\n if (this._bodyBlob)\n return h = this._bodyBlob, V = new FileReader(), v = b(V), V.readAsText(h), v;\n if (this._bodyArrayBuffer)\n return Promise.resolve(function(G) {\n for (var R = new Uint8Array(G), U = new Array(R.length), q = 0; q < R.length; q++)\n U[q] = String.fromCharCode(R[q]);\n return U.join(\"\");\n }(this._bodyArrayBuffer));\n if (this._bodyFormData)\n throw new Error(\"could not read FormData body as text\");\n return Promise.resolve(this._bodyText);\n }, d && (this.formData = function() {\n return this.text().then(L);\n }), this.json = function() {\n return this.text().then(JSON.parse);\n }, this;\n }\n Z.prototype.append = function(h, V) {\n h = I(h), V = y(V);\n var v = this.map[h];\n this.map[h] = v ? v + \", \" + V : V;\n }, Z.prototype.delete = function(h) {\n delete this.map[I(h)];\n }, Z.prototype.get = function(h) {\n return h = I(h), this.has(h) ? this.map[h] : null;\n }, Z.prototype.has = function(h) {\n return this.map.hasOwnProperty(I(h));\n }, Z.prototype.set = function(h, V) {\n this.map[I(h)] = y(V);\n }, Z.prototype.forEach = function(h, V) {\n for (var v in this.map)\n this.map.hasOwnProperty(v) && h.call(V, this.map[v], v, this);\n }, Z.prototype.keys = function() {\n var h = [];\n return this.forEach(function(V, v) {\n h.push(v);\n }), W(h);\n }, Z.prototype.values = function() {\n var h = [];\n return this.forEach(function(V) {\n h.push(V);\n }), W(h);\n }, Z.prototype.entries = function() {\n var h = [];\n return this.forEach(function(V, v) {\n h.push([v, V]);\n }), W(h);\n }, r && (Z.prototype[Symbol.iterator] = Z.prototype.entries);\n var K = [\"DELETE\", \"GET\", \"HEAD\", \"OPTIONS\", \"POST\", \"PUT\"];\n function Y(h, V) {\n var v, C, G = (V = V || {}).body;\n if (h instanceof Y) {\n if (h.bodyUsed)\n throw new TypeError(\"Already read\");\n this.url = h.url, this.credentials = h.credentials, V.headers || (this.headers = new Z(h.headers)), this.method = h.method, this.mode = h.mode, this.signal = h.signal, G || h._bodyInit == null || (G = h._bodyInit, h.bodyUsed = !0);\n } else\n this.url = String(h);\n if (this.credentials = V.credentials || this.credentials || \"same-origin\", !V.headers && this.headers || (this.headers = new Z(V.headers)), this.method = (v = V.method || this.method || \"GET\", C = v.toUpperCase(), K.indexOf(C) > -1 ? C : v), this.mode = V.mode || this.mode || null, this.signal = V.signal || this.signal, this.referrer = null, (this.method === \"GET\" || this.method === \"HEAD\") && G)\n throw new TypeError(\"Body not allowed for GET or HEAD requests\");\n this._initBody(G);\n }\n function L(h) {\n var V = new FormData();\n return h.trim().split(\"&\").forEach(function(v) {\n if (v) {\n var C = v.split(\"=\"), G = C.shift().replace(/\\+/g, \" \"), R = C.join(\"=\").replace(/\\+/g, \" \");\n V.append(decodeURIComponent(G), decodeURIComponent(R));\n }\n }), V;\n }\n function N(h, V) {\n V || (V = {}), this.type = \"default\", this.status = V.status === void 0 ? 200 : V.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = \"statusText\" in V ? V.statusText : \"OK\", this.headers = new Z(V.headers), this.url = V.url || \"\", this._initBody(h);\n }\n Y.prototype.clone = function() {\n return new Y(this, { body: this._bodyInit });\n }, w.call(Y.prototype), w.call(N.prototype), N.prototype.clone = function() {\n return new N(this._bodyInit, { status: this.status, statusText: this.statusText, headers: new Z(this.headers), url: this.url });\n }, N.error = function() {\n var h = new N(null, { status: 0, statusText: \"\" });\n return h.type = \"error\", h;\n };\n var x = [301, 302, 303, 307, 308];\n N.redirect = function(h, V) {\n if (x.indexOf(V) === -1)\n throw new RangeError(\"Invalid status code\");\n return new N(null, { status: V, headers: { location: h } });\n }, l.DOMException = i.DOMException;\n try {\n new l.DOMException();\n } catch (h) {\n l.DOMException = function(V, v) {\n this.message = V, this.name = v;\n var C = Error(V);\n this.stack = C.stack;\n }, l.DOMException.prototype = Object.create(Error.prototype), l.DOMException.prototype.constructor = l.DOMException;\n }\n function k(h, V) {\n return new Promise(function(v, C) {\n var G = new Y(h, V);\n if (G.signal && G.signal.aborted)\n return C(new l.DOMException(\"Aborted\", \"AbortError\"));\n var R = new XMLHttpRequest();\n function U() {\n R.abort();\n }\n R.onload = function() {\n var q, ee, P = { status: R.status, statusText: R.statusText, headers: (q = R.getAllResponseHeaders() || \"\", ee = new Z(), q.replace(/\\r?\\n[\\t ]+/g, \" \").split(/\\r?\\n/).forEach(function(Se) {\n var Ge = Se.split(\":\"), F = Ge.shift().trim();\n if (F) {\n var B = Ge.join(\":\").trim();\n ee.append(F, B);\n }\n }), ee) };\n P.url = \"responseURL\" in R ? R.responseURL : P.headers.get(\"X-Request-URL\");\n var M = \"response\" in R ? R.response : R.responseText;\n v(new N(M, P));\n }, R.onerror = function() {\n C(new TypeError(\"Network request failed\"));\n }, R.ontimeout = function() {\n C(new TypeError(\"Network request failed\"));\n }, R.onabort = function() {\n C(new l.DOMException(\"Aborted\", \"AbortError\"));\n }, R.open(G.method, G.url, !0), G.credentials === \"include\" ? R.withCredentials = !0 : G.credentials === \"omit\" && (R.withCredentials = !1), \"responseType\" in R && c && (R.responseType = \"blob\"), G.headers.forEach(function(q, ee) {\n R.setRequestHeader(ee, q);\n }), G.signal && (G.signal.addEventListener(\"abort\", U), R.onreadystatechange = function() {\n R.readyState === 4 && G.signal.removeEventListener(\"abort\", U);\n }), R.send(G._bodyInit === void 0 ? null : G._bodyInit);\n });\n }\n k.polyfill = !0, i.fetch || (i.fetch = k, i.Headers = Z, i.Request = Y, i.Response = N), l.Headers = Z, l.Request = Y, l.Response = N, l.fetch = k, Object.defineProperty(l, \"__esModule\", { value: !0 });\n }({}), s.fetch.ponyfill = !0, delete s.fetch.polyfill;\n var o = s;\n (e = o.fetch).default = o.fetch, e.fetch = o.fetch, e.Headers = o.Headers, e.Request = o.Request, e.Response = o.Response, t.exports = e;\n })(Bi, Bi.exports);\n var $t = Bi.exports;\n const ei = Ri($t), _l = vo({ __proto__: null, default: ei }, [$t]), lt = (t) => {\n let e = {};\n return t && (typeof Headers != \"undefined\" && t instanceof Headers || _l && $t.Headers && t instanceof $t.Headers ? e = ((i) => {\n const n = {};\n return i.forEach((s, o) => {\n n[o] = s;\n }), n;\n })(t) : Array.isArray(t) ? t.forEach(([i, n]) => {\n i && n !== void 0 && (e[i] = n);\n }) : e = t), e;\n }, Es = (t) => t.replace(/([\\s,]|#[^\\n\\r]+)+/g, \" \").trim(), ql = (t) => (e) => ue(this, null, function* () {\n var i;\n const { url: n, query: s, variables: o, operationName: l, fetch: a, fetchOptions: r, middleware: c } = e, d = z({}, e.headers);\n let u, p = \"\";\n t === \"POST\" ? (u = er(s, o, l, r.jsonSerializer), typeof u == \"string\" && (d[\"Content-Type\"] = \"application/json\")) : p = ((W) => {\n if (!Array.isArray(W.query)) {\n const b = W, S = [`query=${encodeURIComponent(Es(b.query))}`];\n return W.variables && S.push(`variables=${encodeURIComponent(b.jsonSerializer.stringify(b.variables))}`), b.operationName && S.push(`operationName=${encodeURIComponent(b.operationName)}`), S.join(\"&\");\n }\n if (W.variables !== void 0 && !Array.isArray(W.variables))\n throw new Error(\"Cannot create query with given variable type, array expected\");\n const Z = W, g = W.query.reduce((b, S, f) => (b.push({ query: Es(S), variables: Z.variables ? Z.jsonSerializer.stringify(Z.variables[f]) : void 0 }), b), []);\n return `query=${encodeURIComponent(Z.jsonSerializer.stringify(g))}`;\n })({ query: s, variables: o, operationName: l, jsonSerializer: (i = r.jsonSerializer) != null ? i : Ki });\n const m = z({ method: t, headers: d, body: u }, r);\n let I = n, y = m;\n if (c) {\n const W = yield Promise.resolve(c(Te(z({}, m), { url: n, operationName: l, variables: o }))), { url: Z } = W;\n I = Z, y = Fe(W, [\"url\"]);\n }\n return p && (I = `${I}?${p}`), yield a(I, y);\n });\n class $l {\n constructor(e, i = {}) {\n this.url = e, this.requestConfig = i, this.rawRequest = (...n) => ue(this, null, function* () {\n const [s, o, l] = n, a = ((Z, g, b) => Z.query ? Z : { query: Z, variables: g, requestHeaders: b, signal: void 0 })(s, o, l), r = this.requestConfig, { headers: c, fetch: d = ei, method: u = \"POST\", requestMiddleware: p, responseMiddleware: m } = r, I = Fe(r, [\"headers\", \"fetch\", \"method\", \"requestMiddleware\", \"responseMiddleware\"]), { url: y } = this;\n a.signal !== void 0 && (I.signal = a.signal);\n const { operationName: W } = zi(a.query);\n return Pi({ url: y, query: a.query, variables: a.variables, headers: z(z({}, lt(Ai(c))), lt(a.requestHeaders)), operationName: W, fetch: d, method: u, fetchOptions: I, middleware: p }).then((Z) => (m && m(Z), Z)).catch((Z) => {\n throw m && m(Z), Z;\n });\n });\n }\n request(e, ...i) {\n return ue(this, null, function* () {\n const [n, s] = i, o = ((W, Z, g) => W.document ? W : { document: W, variables: Z, requestHeaders: g, signal: void 0 })(e, n, s), l = this.requestConfig, { headers: a, fetch: r = ei, method: c = \"POST\", requestMiddleware: d, responseMiddleware: u } = l, p = Fe(l, [\"headers\", \"fetch\", \"method\", \"requestMiddleware\", \"responseMiddleware\"]), { url: m } = this;\n o.signal !== void 0 && (p.signal = o.signal);\n const { query: I, operationName: y } = zi(o.document);\n return Pi({ url: m, query: I, variables: o.variables, headers: z(z({}, lt(Ai(a))), lt(o.requestHeaders)), operationName: y, fetch: r, method: c, fetchOptions: p, middleware: d }).then((W) => (u && u(W), W.data)).catch((W) => {\n throw u && u(W), W;\n });\n });\n }\n batchRequests(e, i) {\n var n;\n const s = ((d, u) => d.documents ? d : { documents: d, requestHeaders: u, signal: void 0 })(e, i), o = this.requestConfig, { headers: l } = o, a = Fe(o, [\"headers\"]);\n s.signal !== void 0 && (a.signal = s.signal);\n const r = s.documents.map(({ document: d }) => zi(d).query), c = s.documents.map(({ variables: d }) => d);\n return Pi({ url: this.url, query: r, variables: c, headers: z(z({}, lt(Ai(l))), lt(s.requestHeaders)), operationName: void 0, fetch: (n = this.requestConfig.fetch) != null ? n : ei, method: this.requestConfig.method || \"POST\", fetchOptions: a, middleware: this.requestConfig.requestMiddleware }).then((d) => (this.requestConfig.responseMiddleware && this.requestConfig.responseMiddleware(d), d.data)).catch((d) => {\n throw this.requestConfig.responseMiddleware && this.requestConfig.responseMiddleware(d), d;\n });\n }\n setHeaders(e) {\n return this.requestConfig.headers = e, this;\n }\n setHeader(e, i) {\n const { headers: n } = this.requestConfig;\n return n ? n[e] = i : this.requestConfig.headers = { [e]: i }, this;\n }\n setEndpoint(e) {\n return this.url = e, this;\n }\n }\n const Pi = (t) => ue(this, null, function* () {\n var e, i;\n const { query: n, variables: s, fetchOptions: o } = t, l = ql(((e = t.method) != null ? e : \"post\").toUpperCase()), a = Array.isArray(t.query), r = yield l(t), c = yield tr(r, (i = o.jsonSerializer) != null ? i : Ki), d = Array.isArray(c) ? !c.some(({ data: p }) => !p) : !!c.data, u = Array.isArray(c) || !c.errors || Array.isArray(c.errors) && !c.errors.length || o.errorPolicy === \"all\" || o.errorPolicy === \"ignore\";\n if (r.ok && u && d) {\n const p = c, m = Fe(p, [\"errors\"]), I = o.errorPolicy === \"ignore\" ? m : c;\n return Te(z({}, a ? { data: I } : I), { headers: r.headers, status: r.status });\n }\n throw new ot(Te(z({}, typeof c == \"string\" ? { error: c } : c), { status: r.status, headers: r.headers }), { query: n, variables: s });\n }), er = (t, e, i, n) => {\n const s = n != null ? n : Ki;\n if (!Array.isArray(t))\n return s.stringify({ query: t, variables: e, operationName: i });\n if (e !== void 0 && !Array.isArray(e))\n throw new Error(\"Cannot create request body with given variable type, array expected\");\n const o = t.reduce((l, a, r) => (l.push({ query: a, variables: e ? e[r] : void 0 }), l), []);\n return s.stringify(o);\n }, tr = (t, e) => ue(this, null, function* () {\n let i;\n return t.headers.forEach((n, s) => {\n s.toLowerCase() === \"content-type\" && (i = n);\n }), i && (i.toLowerCase().startsWith(\"application/json\") || i.toLowerCase().startsWith(\"application/graphql+json\") || i.toLowerCase().startsWith(\"application/graphql-response+json\")) ? e.parse(yield t.text()) : t.text();\n }), Ai = (t) => typeof t == \"function\" ? t() : t;\n var ti = function() {\n return ti = Object.assign || function(t) {\n for (var e, i = 1, n = arguments.length; i < n; i++)\n for (var s in e = arguments[i])\n Object.prototype.hasOwnProperty.call(e, s) && (t[s] = e[s]);\n return t;\n }, ti.apply(this, arguments);\n }, ii = /* @__PURE__ */ new Map(), Di = /* @__PURE__ */ new Map(), Ms = !0, ni = !1;\n function Os(t) {\n return t.replace(/[\\s,]+/g, \" \").trim();\n }\n function ir(t) {\n var e = /* @__PURE__ */ new Set(), i = [];\n return t.definitions.forEach(function(n) {\n if (n.kind === \"FragmentDefinition\") {\n var s = n.name.value, o = Os((a = n.loc).source.body.substring(a.start, a.end)), l = Di.get(s);\n l && !l.has(o) ? Ms && console.warn(\"Warning: fragment with name \" + s + ` already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`) : l || Di.set(s, l = /* @__PURE__ */ new Set()), l.add(o), e.has(o) || (e.add(o), i.push(n));\n } else\n i.push(n);\n var a;\n }), ti(ti({}, t), { definitions: i });\n }\n function nr(t) {\n var e = Os(t);\n if (!ii.has(e)) {\n var i = Ks(t, { experimentalFragmentVariables: ni, allowLegacyFragmentVariables: ni });\n if (!i || i.kind !== \"Document\")\n throw new Error(\"Not a valid GraphQL document.\");\n ii.set(e, function(n) {\n var s = new Set(n.definitions);\n s.forEach(function(l) {\n l.loc && delete l.loc, Object.keys(l).forEach(function(a) {\n var r = l[a];\n r && typeof r == \"object\" && s.add(r);\n });\n });\n var o = n.loc;\n return o && (delete o.startToken, delete o.endToken), n;\n }(ir(i)));\n }\n return ii.get(e);\n }\n function Xe(t) {\n for (var e = [], i = 1; i < arguments.length; i++)\n e[i - 1] = arguments[i];\n typeof t == \"string\" && (t = [t]);\n var n = t[0];\n return e.forEach(function(s, o) {\n s && s.kind === \"Document\" ? n += s.loc.source.body : n += s, n += t[o + 1];\n }), nr(n);\n }\n var Wt, sr = Xe, or = function() {\n ii.clear(), Di.clear();\n }, lr = function() {\n Ms = !1;\n }, rr = function() {\n ni = !0;\n }, ar = function() {\n ni = !1;\n };\n (Wt = Xe || (Xe = {})).gql = sr, Wt.resetCaches = or, Wt.disableFragmentWarnings = lr, Wt.enableExperimentalFragmentVariables = rr, Wt.disableExperimentalFragmentVariables = ar, Xe.default = Xe;\n const zs = Xe`\n\tmutation PushPayload(\n\t\t$session_secure_id: String!\n\t\t$payload_id: ID!\n\t\t$events: ReplayEventsInput!\n\t\t$messages: String!\n\t\t$resources: String!\n\t\t$web_socket_events: String!\n\t\t$errors: [ErrorObjectInput]!\n\t\t$is_beacon: Boolean\n\t\t$has_session_unloaded: Boolean\n\t\t$highlight_logs: String\n\t) {\n\t\tpushPayload(\n\t\t\tsession_secure_id: $session_secure_id\n\t\t\tpayload_id: $payload_id\n\t\t\tevents: $events\n\t\t\tmessages: $messages\n\t\t\tresources: $resources\n\t\t\tweb_socket_events: $web_socket_events\n\t\t\terrors: $errors\n\t\t\tis_beacon: $is_beacon\n\t\t\thas_session_unloaded: $has_session_unloaded\n\t\t\thighlight_logs: $highlight_logs\n\t\t)\n\t}\n`, cr = Xe`\n\tmutation PushPayloadCompressed(\n\t\t$session_secure_id: String!\n\t\t$payload_id: ID!\n\t\t$data: String!\n\t) {\n\t\tpushPayloadCompressed(\n\t\t\tsession_secure_id: $session_secure_id\n\t\t\tpayload_id: $payload_id\n\t\t\tdata: $data\n\t\t)\n\t}\n`, dr = Xe`\n\tmutation identifySession(\n\t\t$session_secure_id: String!\n\t\t$user_identifier: String!\n\t\t$user_object: Any\n\t) {\n\t\tidentifySession(\n\t\t\tsession_secure_id: $session_secure_id\n\t\t\tuser_identifier: $user_identifier\n\t\t\tuser_object: $user_object\n\t\t)\n\t}\n`, ur = Xe`\n\tmutation addSessionProperties(\n\t\t$session_secure_id: String!\n\t\t$properties_object: Any\n\t) {\n\t\taddSessionProperties(\n\t\t\tsession_secure_id: $session_secure_id\n\t\t\tproperties_object: $properties_object\n\t\t)\n\t}\n`, pr = Xe`\n\tmutation pushMetrics($metrics: [MetricInput]!) {\n\t\tpushMetrics(metrics: $metrics)\n\t}\n`, hr = Xe`\n\tmutation addSessionFeedback(\n\t\t$session_secure_id: String!\n\t\t$user_name: String\n\t\t$user_email: String\n\t\t$verbatim: String!\n\t\t$timestamp: Timestamp!\n\t) {\n\t\taddSessionFeedback(\n\t\t\tsession_secure_id: $session_secure_id\n\t\t\tuser_name: $user_name\n\t\t\tuser_email: $user_email\n\t\t\tverbatim: $verbatim\n\t\t\ttimestamp: $timestamp\n\t\t)\n\t}\n`, mr = Xe`\n\tmutation initializeSession(\n\t\t$session_secure_id: String!\n\t\t$organization_verbose_id: String!\n\t\t$enable_strict_privacy: Boolean!\n\t\t$privacy_setting: String!\n\t\t$enable_recording_network_contents: Boolean!\n\t\t$clientVersion: String!\n\t\t$firstloadVersion: String!\n\t\t$clientConfig: String!\n\t\t$environment: String!\n\t\t$id: String!\n\t\t$appVersion: String\n\t\t$serviceName: String!\n\t\t$client_id: String!\n\t\t$network_recording_domains: [String!]\n\t\t$disable_session_recording: Boolean\n\t) {\n\t\tinitializeSession(\n\t\t\tsession_secure_id: $session_secure_id\n\t\t\torganization_verbose_id: $organization_verbose_id\n\t\t\tenable_strict_privacy: $enable_strict_privacy\n\t\t\tenable_recording_network_contents: $enable_recording_network_contents\n\t\t\tclientVersion: $clientVersion\n\t\t\tfirstloadVersion: $firstloadVersion\n\t\t\tclientConfig: $clientConfig\n\t\t\tenvironment: $environment\n\t\t\tappVersion: $appVersion\n\t\t\tserviceName: $serviceName\n\t\t\tfingerprint: $id\n\t\t\tclient_id: $client_id\n\t\t\tnetwork_recording_domains: $network_recording_domains\n\t\t\tdisable_session_recording: $disable_session_recording\n\t\t\tprivacy_setting: $privacy_setting\n\t\t) {\n\t\t\tsecure_id\n\t\t\tproject_id\n\t\t}\n\t}\n`, br = Xe`\n\tquery Ignore($id: ID!) {\n\t\tignore(id: $id)\n\t}\n`, Zr = (t, e, i, n) => t(), yr = (t) => {\n t(window.location.href);\n var e = XMLHttpRequest.prototype.send;\n XMLHttpRequest.prototype.send = function(o) {\n setTimeout(() => {\n var l, a;\n try {\n a = JSON.parse((l = o == null ? void 0 : o.toString()) != null ? l : \"\");\n } catch (r) {\n return;\n }\n a.type !== \"track\" && a.type !== \"identify\" || Qi(a) && t(a);\n }, 100), e.call(this, o);\n };\n const i = (o) => {\n if (o.key === \"ajs_user_id\" || o.key === \"ajs_anonymous_id\" || o.key === \"ajs_user_traits\") {\n const { userId: l, userTraits: a } = Bs();\n if (l) {\n let r = {};\n a && (r = JSON.parse(a));\n const c = { type: \"identify\", userId: l.toString(), traits: r };\n Qi(c) && t(c);\n }\n }\n }, { userId: n, userTraits: s } = Bs();\n if (n) {\n let o = {};\n s && (o = JSON.parse(s));\n const l = { type: \"identify\", userId: n.toString(), traits: o };\n Qi(l) && t(l);\n }\n return window.addEventListener(\"storage\", i), ml(({ keyName: o }) => {\n i({ key: o });\n }), () => {\n window.removeEventListener(\"storage\", i), XMLHttpRequest.prototype.send = e;\n };\n }, Bs = () => ({ userId: Ie(\"ajs_user_id\"), userTraits: Ie(\"ajs_user_traits\"), anonymousId: Ie(\"ajs_anonymous_id\") }), Qi = (t) => {\n if (!t)\n return !1;\n let e = \"\";\n try {\n e = JSON.stringify(t);\n } catch (s) {\n return !1;\n }\n const i = gr(e), n = Ie(re.SEGMENT_LAST_SENT_HASH_KEY);\n return (n === void 0 || i !== n) && (ve(re.SEGMENT_LAST_SENT_HASH_KEY, i), !0);\n }, gr = (t) => {\n var e = 0, i = t.length, n = 0;\n if (i > 0)\n for (; n < i; )\n e = (e << 5) - e + t.charCodeAt(n++) | 0;\n return e.toString();\n };\n function Ps(t, e) {\n return Ir(t);\n }\n function As(t) {\n if (t.id.length)\n return `#${t.id}`;\n if (t.classList.length) {\n let e = [];\n for (const i of t.classList)\n e.push(`.${i}`);\n return `${t.nodeName.toLowerCase()}${e.join(\",\")}`;\n }\n return t.nodeName.toLowerCase();\n }\n const Ir = (t) => {\n let e = \"\";\n const i = t.getAttribute(\"class\"), n = t.getAttribute(\"id\");\n return n && (e = e.concat(Ds(n, \"#\"))), i && (e = e.concat(Ds(i, \".\"))), e === \"\" && (e = e.concat(t.tagName.toLowerCase())), e;\n }, Ds = (t, e) => `${e}${t.trim().split(\" \").join(e)}`, Sr = (t, e) => {\n const i = function(a) {\n typeof a != \"string\" && (a = \"\");\n const r = (a = a.replace(/\\s/g, \"\")).split(\",\");\n let c = r.lastIndexOf(\"\");\n for (; c >= 0; )\n r[c - 1] += \",\", r.splice(c, 1), c = r.lastIndexOf(\"\");\n return r;\n }(t);\n let n = [];\n for (let a = 0; a < i.length; a++) {\n let r = i[a].split(\"+\");\n n = [], r.length > 1 && (n = Gr(js, r)), r = r[r.length - 1], r = r === \"*\" ? \"*\" : Xr(r), r in we || (we[r] = []), we[r].push({ mods: n, shortcut: i[a], key: i[a], method: e, keyup: !1, keydown: !0, scope: \"all\", splitKey: \"+\" });\n }\n var s, o, l;\n s = document, o = \"keydown\", l = (a) => {\n (function(r) {\n const c = we[\"*\"];\n let d = r.keyCode || r.which || r.charCode;\n if (d !== 93 && d !== 224 || (d = 91), Ze.indexOf(d) === -1 && d !== 229 && Ze.push(d), [\"ctrlKey\", \"altKey\", \"shiftKey\", \"metaKey\"].forEach((u) => {\n const p = Qs[u];\n r[u] && Ze.indexOf(p) === -1 ? Ze.push(p) : !r[u] && Ze.indexOf(p) > -1 ? Ze.splice(Ze.indexOf(p), 1) : u === \"metaKey\" && r[u] && Ze.length === 3 && (r.ctrlKey || r.shiftKey || r.altKey || (Ze = Ze.slice(Ze.indexOf(p))));\n }), !(d in ye) || (ye[d] = !0, c)) {\n for (const u in ye)\n Object.prototype.hasOwnProperty.call(ye, u) && (ye[u] = r[Qs[u]]);\n if (r.getModifierState && (!r.altKey || r.ctrlKey) && r.getModifierState(\"AltGraph\") && (Ze.indexOf(17) === -1 && Ze.push(17), Ze.indexOf(18) === -1 && Ze.push(18), ye[17] = !0, ye[18] = !0), d in we) {\n for (let u = 0; u < we[d].length; u++)\n if ((r.type === \"keydown\" && we[d][u].keydown || r.type === \"keyup\" && we[d][u].keyup) && we[d][u].key) {\n const p = we[d][u];\n Wr(r, p, \"all\");\n }\n }\n }\n })(a);\n }, s.addEventListener ? s.addEventListener(o, l, !1) : s.attachEvent && s.attachEvent(`on${o}`, () => {\n l(window.event);\n });\n };\n let Ze = [];\n const we = {}, ji = typeof navigator != \"undefined\" && navigator.userAgent.toLowerCase().indexOf(\"firefox\") > 0, Vr = { backspace: 8, tab: 9, clear: 12, enter: 13, return: 13, esc: 27, escape: 27, space: 32, left: 37, up: 38, right: 39, down: 40, del: 46, delete: 46, ins: 45, insert: 45, home: 36, end: 35, pageup: 33, pagedown: 34, capslock: 20, num_0: 96, num_1: 97, num_2: 98, num_3: 99, num_4: 100, num_5: 101, num_6: 102, num_7: 103, num_8: 104, num_9: 105, num_multiply: 106, num_add: 107, num_enter: 108, num_subtract: 109, num_decimal: 110, num_divide: 111, \"⇪\": 20, \",\": 188, \".\": 190, \"/\": 191, \"`\": 192, \"-\": ji ? 173 : 189, \"=\": ji ? 61 : 187, \";\": ji ? 59 : 186, \"'\": 222, \"[\": 219, \"]\": 221, \"\\\\\": 220 }, Qs = { 16: \"shiftKey\", 18: \"altKey\", 17: \"ctrlKey\", 91: \"metaKey\", shiftKey: 16, ctrlKey: 17, altKey: 18, metaKey: 91 }, ye = { 16: !1, 18: !1, 17: !1, 91: !1 }, js = { \"⇧\": 16, shift: 16, \"⌥\": 18, alt: 18, option: 18, \"⌃\": 17, ctrl: 17, control: 17, \"⌘\": 91, cmd: 91, command: 91 }, Xr = (t) => Vr[t.toLowerCase()] || js[t.toLowerCase()] || t.toUpperCase().charCodeAt(0);\n function Gr(t, e) {\n const i = e.slice(0, e.length - 1);\n for (let n = 0; n < i.length; n++)\n i[n] = t[i[n].toLowerCase()];\n return i;\n }\n function Wr(t, e, i) {\n let n;\n if (e.scope === i || e.scope === \"all\") {\n n = e.mods.length > 0;\n for (const s in ye)\n Object.prototype.hasOwnProperty.call(ye, s) && (!ye[s] && e.mods.indexOf(+s) > -1 || ye[s] && e.mods.indexOf(+s) === -1) && (n = !1);\n (e.mods.length !== 0 || ye[16] || ye[18] || ye[17] || ye[91]) && !n && e.shortcut !== \"*\" || e.method(t, e) === !1 && (t.preventDefault ? t.preventDefault() : t.returnValue = !1, t.stopPropagation && t.stopPropagation(), t.cancelBubble && (t.cancelBubble = !0));\n }\n }\n var Me, ft, _s, si, _i, qs = -1, De = function(t) {\n addEventListener(\"pageshow\", function(e) {\n e.persisted && (qs = e.timeStamp, t(e));\n }, !0);\n }, qi = function() {\n return window.performance && performance.getEntriesByType && performance.getEntriesByType(\"navigation\")[0];\n }, oi = function() {\n var t = qi();\n return t && t.activationStart || 0;\n }, fe = function(t, e) {\n var i = qi(), n = \"navigate\";\n return qs >= 0 ? n = \"back-forward-cache\" : i && (document.prerendering || oi() > 0 ? n = \"prerender\" : document.wasDiscarded ? n = \"restore\" : i.type && (n = i.type.replace(/_/g, \"-\"))), { name: t, value: e === void 0 ? -1 : e, rating: \"good\", delta: 0, entries: [], id: \"v3-\".concat(Date.now(), \"-\").concat(Math.floor(8999999999999 * Math.random()) + 1e12), navigationType: n };\n }, rt = function(t, e, i) {\n try {\n if (PerformanceObserver.supportedEntryTypes.includes(t)) {\n var n = new PerformanceObserver(function(s) {\n Promise.resolve().then(function() {\n e(s.getEntries());\n });\n });\n return n.observe(Object.assign({ type: t, buffered: !0 }, i || {})), n;\n }\n } catch (s) {\n }\n }, Ce = function(t, e, i, n) {\n var s, o;\n return function(l) {\n var a, r;\n e.value >= 0 && (l || n) && ((o = e.value - (s || 0)) || s === void 0) && (s = e.value, e.delta = o, e.rating = (a = e.value) > (r = i)[1] ? \"poor\" : a > r[0] ? \"needs-improvement\" : \"good\", t(e));\n };\n }, $i = function(t) {\n requestAnimationFrame(function() {\n return requestAnimationFrame(function() {\n return t();\n });\n });\n }, li = function(t) {\n var e = function(i) {\n i.type !== \"pagehide\" && document.visibilityState !== \"hidden\" || t(i);\n };\n addEventListener(\"visibilitychange\", e, !0), addEventListener(\"pagehide\", e, !0);\n }, en = function(t) {\n var e = !1;\n return function(i) {\n e || (t(i), e = !0);\n };\n }, at = -1, $s = function() {\n return document.visibilityState !== \"hidden\" || document.prerendering ? 1 / 0 : 0;\n }, ri = function(t) {\n document.visibilityState === \"hidden\" && at > -1 && (at = t.type === \"visibilitychange\" ? t.timeStamp : 0, fr());\n }, eo = function() {\n addEventListener(\"visibilitychange\", ri, !0), addEventListener(\"prerenderingchange\", ri, !0);\n }, fr = function() {\n removeEventListener(\"visibilitychange\", ri, !0), removeEventListener(\"prerenderingchange\", ri, !0);\n }, tn = function() {\n return at < 0 && (at = $s(), eo(), De(function() {\n setTimeout(function() {\n at = $s(), eo();\n }, 0);\n })), { get firstHiddenTime() {\n return at;\n } };\n }, Ct = function(t) {\n document.prerendering ? addEventListener(\"prerenderingchange\", function() {\n return t();\n }, !0) : t();\n }, to = [1800, 3e3], io = function(t, e) {\n e = e || {}, Ct(function() {\n var i, n = tn(), s = fe(\"FCP\"), o = rt(\"paint\", function(l) {\n l.forEach(function(a) {\n a.name === \"first-contentful-paint\" && (o.disconnect(), a.startTime < n.firstHiddenTime && (s.value = Math.max(a.startTime - oi(), 0), s.entries.push(a), i(!0)));\n });\n });\n o && (i = Ce(t, s, to, e.reportAllChanges), De(function(l) {\n s = fe(\"FCP\"), i = Ce(t, s, to, e.reportAllChanges), $i(function() {\n s.value = performance.now() - l.timeStamp, i(!0);\n });\n }));\n });\n }, no = [0.1, 0.25], Rt = { passive: !0, capture: !0 }, Cr = /* @__PURE__ */ new Date(), so = function(t, e) {\n Me || (Me = e, ft = t, _s = /* @__PURE__ */ new Date(), lo(removeEventListener), oo());\n }, oo = function() {\n if (ft >= 0 && ft < _s - Cr) {\n var t = { entryType: \"first-input\", name: Me.type, target: Me.target, cancelable: Me.cancelable, startTime: Me.timeStamp, processingStart: Me.timeStamp + ft };\n si.forEach(function(e) {\n e(t);\n }), si = [];\n }\n }, Rr = function(t) {\n if (t.cancelable) {\n var e = (t.timeStamp > 1e12 ? /* @__PURE__ */ new Date() : performance.now()) - t.timeStamp;\n t.type == \"pointerdown\" ? (i = e, n = t, s = function() {\n so(i, n), l();\n }, o = function() {\n l();\n }, l = function() {\n removeEventListener(\"pointerup\", s, Rt), removeEventListener(\"pointercancel\", o, Rt);\n }, addEventListener(\"pointerup\", s, Rt), addEventListener(\"pointercancel\", o, Rt)) : so(e, t);\n }\n var i, n, s, o, l;\n }, lo = function(t) {\n [\"mousedown\", \"keydown\", \"touchstart\", \"pointerdown\"].forEach(function(e) {\n return t(e, Rr, Rt);\n });\n }, ro = [100, 300], ao = 0, nn = 1 / 0, ai = 0, vr = function(t) {\n t.forEach(function(e) {\n e.interactionId && (nn = Math.min(nn, e.interactionId), ai = Math.max(ai, e.interactionId), ao = ai ? (ai - nn) / 7 + 1 : 0);\n });\n }, co = function() {\n return _i ? ao : performance.interactionCount || 0;\n }, uo = [200, 500], po = 0, ho = function() {\n return co() - po;\n }, Le = [], sn = {}, mo = function(t) {\n var e = Le[Le.length - 1], i = sn[t.interactionId];\n if (i || Le.length < 10 || t.duration > e.latency) {\n if (i)\n i.entries.push(t), i.latency = Math.max(i.latency, t.duration);\n else {\n var n = { id: t.interactionId, latency: t.duration, entries: [t] };\n sn[n.id] = n, Le.push(n);\n }\n Le.sort(function(s, o) {\n return o.latency - s.latency;\n }), Le.splice(10).forEach(function(s) {\n delete sn[s.id];\n });\n }\n }, kr = function(t, e) {\n e = e || {}, Ct(function() {\n var i;\n \"interactionCount\" in performance || _i || (_i = rt(\"event\", vr, { type: \"event\", buffered: !0, durationThreshold: 0 }));\n var n, s = fe(\"INP\"), o = function(a) {\n a.forEach(function(d) {\n d.interactionId && mo(d), d.entryType === \"first-input\" && !Le.some(function(u) {\n return u.entries.some(function(p) {\n return d.duration === p.duration && d.startTime === p.startTime;\n });\n }) && mo(d);\n });\n var r, c = (r = Math.min(Le.length - 1, Math.floor(ho() / 50)), Le[r]);\n c && c.latency !== s.value && (s.value = c.latency, s.entries = c.entries, n());\n }, l = rt(\"event\", o, { durationThreshold: (i = e.durationThreshold) !== null && i !== void 0 ? i : 40 });\n n = Ce(t, s, uo, e.reportAllChanges), l && (\"interactionId\" in PerformanceEventTiming.prototype && l.observe({ type: \"first-input\", buffered: !0 }), li(function() {\n o(l.takeRecords()), s.value < 0 && ho() > 0 && (s.value = 0, s.entries = []), n(!0);\n }), De(function() {\n Le = [], po = co(), s = fe(\"INP\"), n = Ce(t, s, uo, e.reportAllChanges);\n }));\n });\n }, bo = [2500, 4e3], on = {}, Zo = [800, 1800], Tr = function t(e) {\n document.prerendering ? Ct(function() {\n return t(e);\n }) : document.readyState !== \"complete\" ? addEventListener(\"load\", function() {\n return t(e);\n }, !0) : setTimeout(e, 0);\n }, Nr = function(t, e) {\n e = e || {};\n var i = fe(\"TTFB\"), n = Ce(t, i, Zo, e.reportAllChanges);\n Tr(function() {\n var s = qi();\n if (s) {\n var o = s.responseStart;\n if (o <= 0 || o > performance.now())\n return;\n i.value = Math.max(o - oi(), 0), i.entries = [s], n(!0), De(function() {\n i = fe(\"TTFB\", 0), (n = Ce(t, i, Zo, e.reportAllChanges))(!0);\n });\n }\n });\n };\n const wr = (t) => {\n var e, i, n, s;\n return e = t, i = i || {}, io(en(function() {\n var o, l = fe(\"CLS\", 0), a = 0, r = [], c = function(u) {\n u.forEach(function(p) {\n if (!p.hadRecentInput) {\n var m = r[0], I = r[r.length - 1];\n a && p.startTime - I.startTime < 1e3 && p.startTime - m.startTime < 5e3 ? (a += p.value, r.push(p)) : (a = p.value, r = [p]);\n }\n }), a > l.value && (l.value = a, l.entries = r, o());\n }, d = rt(\"layout-shift\", c);\n d && (o = Ce(e, l, no, i.reportAllChanges), li(function() {\n c(d.takeRecords()), o(!0);\n }), De(function() {\n a = 0, l = fe(\"CLS\", 0), o = Ce(e, l, no, i.reportAllChanges), $i(function() {\n return o();\n });\n }), setTimeout(o, 0));\n })), io(t), n = t, s = s || {}, Ct(function() {\n var o, l = tn(), a = fe(\"FID\"), r = function(u) {\n u.startTime < l.firstHiddenTime && (a.value = u.processingStart - u.startTime, a.entries.push(u), o(!0));\n }, c = function(u) {\n u.forEach(r);\n }, d = rt(\"first-input\", c);\n o = Ce(n, a, ro, s.reportAllChanges), d && li(en(function() {\n c(d.takeRecords()), d.disconnect();\n })), d && De(function() {\n var u;\n a = fe(\"FID\"), o = Ce(n, a, ro, s.reportAllChanges), si = [], ft = -1, Me = null, lo(addEventListener), u = r, si.push(u), oo();\n });\n }), function(o, l) {\n l = l || {}, Ct(function() {\n var a, r = tn(), c = fe(\"LCP\"), d = function(m) {\n var I = m[m.length - 1];\n I && I.startTime < r.firstHiddenTime && (c.value = Math.max(I.startTime - oi(), 0), c.entries = [I], a());\n }, u = rt(\"largest-contentful-paint\", d);\n if (u) {\n a = Ce(o, c, bo, l.reportAllChanges);\n var p = en(function() {\n on[c.id] || (d(u.takeRecords()), u.disconnect(), on[c.id] = !0, a(!0));\n });\n [\"keydown\", \"click\"].forEach(function(m) {\n addEventListener(m, function() {\n return setTimeout(p, 0);\n }, !0);\n }), li(p), De(function(m) {\n c = fe(\"LCP\"), a = Ce(o, c, bo, l.reportAllChanges), $i(function() {\n c.value = performance.now() - m.timeStamp, on[c.id] = !0, a(!0);\n });\n });\n }\n });\n }(t), Nr(t), kr(t), () => {\n };\n }, ln = (t) => t / Math.pow(1e3, 2), Lr = (t) => 1024 * t, yo = typeof window != \"undefined\" && \"performance\" in window && \"memory\" in performance ? performance : { memory: {} }, vt = \"highlightLogs\", xr = (t) => {\n if (!t)\n return;\n let e = Ie(vt) || \"\";\n e && (e.startsWith(t) ? (e = e.slice(t.length), ve(vt, e)) : ((i) => {\n let n = Ie(vt) || \"\";\n n = n + \"[\" + (/* @__PURE__ */ new Date()).getTime() + \"] \" + i + `\n`, ve(vt, n);\n })(\"Unable to clear logs \" + t.replace(`\n`, \" \") + \" from \" + e.replace(`\n`, \" \")));\n }, ci = () => {\n var t;\n const e = \"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\";\n var i = \"\";\n const n = typeof window != \"undefined\" && ((t = window.crypto) == null ? void 0 : t.getRandomValues), s = new Uint32Array(28);\n n && window.crypto.getRandomValues(s);\n for (let o = 0; o < 28; o++)\n i += e.charAt(n ? s[o] % 62 : Math.floor(62 * Math.random()));\n return i;\n }, go = \"dmFyIF9fZGVmUHJvcD1PYmplY3QuZGVmaW5lUHJvcGVydHksX19kZWZQcm9wcz1PYmplY3QuZGVmaW5lUHJvcGVydGllcyxfX2dldE93blByb3BEZXNjcz1PYmplY3QuZ2V0T3duUHJvcGVydHlEZXNjcmlwdG9ycyxfX2dldE93blByb3BTeW1ib2xzPU9iamVjdC5nZXRPd25Qcm9wZXJ0eVN5bWJvbHMsX19oYXNPd25Qcm9wPU9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHksX19wcm9wSXNFbnVtPU9iamVjdC5wcm90b3R5cGUucHJvcGVydHlJc0VudW1lcmFibGUsX19kZWZOb3JtYWxQcm9wPShlLHQsbik9PnQgaW4gZT9fX2RlZlByb3AoZSx0LHtlbnVtZXJhYmxlOiEwLGNvbmZpZ3VyYWJsZTohMCx3cml0YWJsZTohMCx2YWx1Z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l6ZVNlc3Npb24iLCJtdXRhdGlvbiIsbiksSWdub3JlOihuLHIpPT50KCh0PT5lLnJlcXVlc3QoS2UsbixfX3NwcmVhZFZhbHVlcyhfX3NwcmVhZFZhbHVlcyh7fSxyKSx0KSkpLCJJZ25vcmUiLCJxdWVyeSIsbil9fShuZXcgcnQobix7aGVhZGVyczp7fX0pLHV0KHIpKSk7aWYodSgpKXRyeXtzLmRhdGEubWVzc2FnZS50eXBlPT09dC5Bc3luY0V2ZW50cz95aWVsZCBwKHMuZGF0YS5tZXNzYWdlKTpzLmRhdGEubWVzc2FnZS50eXBlPT09dC5JZGVudGlmeT95aWVsZCBoKHMuZGF0YS5tZXNzYWdlKTpzLmRhdGEubWVzc2FnZS50eXBlPT09dC5Qcm9wZXJ0aWVzP3lpZWxkIGYocy5kYXRhLm1lc3NhZ2UpOnMuZGF0YS5tZXNzYWdlLnR5cGU9PT10Lk1ldHJpY3M/eWllbGQgeShzLmRhdGEubWVzc2FnZSk6cy5kYXRhLm1lc3NhZ2UudHlwZT09PXQuRmVlZGJhY2smJih5aWVsZCBtKHMuZGF0YS5tZXNzYWdlKSksaT0wfWNhdGNoKGwpe28mJmNvbnNvbGUuZXJyb3IobCksaSs9MX19KSl9fX0oKTsK\", Io = typeof window != \"undefined\" && window.Blob && new Blob([((t) => Uint8Array.from(atob(t), (e) => e.charCodeAt(0)))(go)], { type: \"text/javascript;charset=utf-8\" });\n function Jr(t) {\n let e;\n try {\n if (e = Io && (window.URL || window.webkitURL).createObjectURL(Io), !e)\n throw \"\";\n const i = new Worker(e, { name: t == null ? void 0 : t.name });\n return i.addEventListener(\"error\", () => {\n (window.URL || window.webkitURL).revokeObjectURL(e);\n }), i;\n } catch (i) {\n return new Worker(\"data:text/javascript;base64,\" + go, { name: t == null ? void 0 : t.name });\n } finally {\n e && (window.URL || window.webkitURL).revokeObjectURL(e);\n }\n }\n var So = ((t) => (t.BillingQuotaExceeded = \"BillingQuotaExceeded\", t))(So || {});\n const Kr = [So.BillingQuotaExceeded.toString()], Yr = (t) => {\n const e = (i, n, s, o, l = 0) => ue(this, null, function* () {\n try {\n return yield i();\n } catch (a) {\n if (a instanceof ot && !((r) => {\n var c;\n return ((c = r.response.errors) == null ? void 0 : c.find((d) => Kr.includes(d.message))) === void 0;\n })(a))\n throw a;\n if (l < 10)\n return yield new Promise((r) => setTimeout(r, 1e3 + 500 * Math.pow(2, l))), yield e(i, n, s, o, l + 1);\n throw console.error(`highlight.io: [${t || t}] data request failed after ${l} retries`), a;\n }\n });\n return e;\n };\n var Ye = ((t) => (t[t.Initialize = 0] = \"Initialize\", t[t.AsyncEvents = 1] = \"AsyncEvents\", t[t.Identify = 2] = \"Identify\", t[t.Properties = 3] = \"Properties\", t[t.Metrics = 4] = \"Metrics\", t[t.Feedback = 5] = \"Feedback\", t[t.CustomEvent = 6] = \"CustomEvent\", t))(Ye || {});\n class Ur {\n constructor(e, i) {\n T(this, \"debug\"), T(this, \"name\"), this.debug = e, this.name = i;\n }\n log(...e) {\n if (this.debug) {\n let i = `[${Date.now()}]`;\n this.name && (i += ` - ${this.name}`), console.log.apply(console, [i, ...e]);\n }\n }\n }\n const Fr = () => ue(this, null, function* () {\n const t = [];\n for (let e = 0; e < 30; e++)\n t.push(yield new Promise((i) => requestAnimationFrame((n) => requestAnimationFrame((s) => i(s - n)))));\n return t.reduce((e, i) => e + i, 0) / t.length;\n }), Vo = \"iframe parent ready\", Xo = \"iframe ok\", kt = (t, e) => {\n console.warn(`Highlight Warning: (${t}): `, { output: e });\n }, Go = \"app.highlight.run\";\n class rn {\n constructor(e, i) {\n var n, s, o, l, a, r;\n T(this, \"options\"), T(this, \"isRunningOnHighlight\"), T(this, \"organizationID\"), T(this, \"graphqlSDK\"), T(this, \"events\"), T(this, \"sessionData\"), T(this, \"ready\"), T(this, \"manualStopped\"), T(this, \"state\"), T(this, \"logger\"), T(this, \"enableSegmentIntegration\"), T(this, \"privacySetting\"), T(this, \"enableCanvasRecording\"), T(this, \"enablePerformanceRecording\"), T(this, \"samplingStrategy\"), T(this, \"inlineImages\"), T(this, \"inlineStylesheet\"), T(this, \"debugOptions\"), T(this, \"listeners\"), T(this, \"firstloadVersion\"), T(this, \"environment\"), T(this, \"sessionShortcut\"), T(this, \"appVersion\"), T(this, \"serviceName\"), T(this, \"_worker\"), T(this, \"_optionsInternal\"), T(this, \"_backendUrl\"), T(this, \"_recordingStartTime\"), T(this, \"_isOnLocalHost\"), T(this, \"_onToggleFeedbackFormVisibility\"), T(this, \"_firstLoadListeners\"), T(this, \"_isCrossOriginIframe\"), T(this, \"_eventBytesSinceSnapshot\"), T(this, \"_lastSnapshotTime\"), T(this, \"_lastVisibilityChangeTime\"), T(this, \"pushPayloadTimerId\"), T(this, \"hasSessionUnloaded\"), T(this, \"hasPushedData\"), T(this, \"reloaded\"), T(this, \"_hasPreviouslyInitialized\"), T(this, \"_payloadId\"), T(this, \"_recordStop\"), e.sessionSecureID || (e.sessionSecureID = ci()), this.options = e, typeof ((n = this.options) == null ? void 0 : n.debug) == \"boolean\" ? this.debugOptions = this.options.debug ? { clientInteractions: !0 } : {} : this.debugOptions = (o = (s = this.options) == null ? void 0 : s.debug) != null ? o : {}, this.logger = new Ur(this.debugOptions.clientInteractions), e.storageMode && (this.logger.log(`initializing in ${e.storageMode} session mode`), r = e.storageMode, Ti = r), this._worker = new Jr(), this._worker.onmessage = (d) => {\n var u, p;\n ((u = d.data.response) == null ? void 0 : u.type) === Ye.AsyncEvents ? (this._eventBytesSinceSnapshot += d.data.response.eventsSize, this.logger.log(`Web worker sent payloadID ${d.data.response.id} size ${d.data.response.eventsSize} bytes, compression ratio ${d.data.response.eventsSize / d.data.response.compressedSize}.\n Total since snapshot: ${(this._eventBytesSinceSnapshot / 1e6).toFixed(1)}MB`)) : ((p = d.data.response) == null ? void 0 : p.type) === Ye.CustomEvent && this.addCustomEvent(d.data.response.tag, d.data.response.payload);\n };\n let c = bs();\n if (this.reloaded = !1, !((l = this.sessionData) != null && l.sessionSecureID) && (c == null ? void 0 : c.sessionSecureID))\n this.sessionData = c, this.options.sessionSecureID = c.sessionSecureID, this.reloaded = !0, this.logger.log(`Tab reloaded, continuing previous session: ${this.sessionData.sessionSecureID}`);\n else {\n for (const d of Object.values(re))\n wi(d);\n this.sessionData = { sessionSecureID: this.options.sessionSecureID, projectID: 0, sessionStartTime: Date.now() };\n }\n this._hasPreviouslyInitialized = !1, this._firstLoadListeners = i || new Ke(this.options);\n try {\n window.parent.document && (this._isCrossOriginIframe = !1);\n } catch (d) {\n this._isCrossOriginIframe = (a = this.options.recordCrossOriginIframe) == null || a;\n }\n this._initMembers(this.options);\n }\n static create(e) {\n return new rn(e);\n }\n _reset(e) {\n return ue(this, arguments, function* ({ forceNew: i }) {\n let n, s;\n if (this.pushPayloadTimerId && (clearTimeout(this.pushPayloadTimerId), this.pushPayloadTimerId = void 0), !i)\n try {\n n = Ie(re.USER_IDENTIFIER);\n const o = Ie(re.USER_OBJECT);\n o && (s = JSON.parse(o));\n } catch (o) {\n }\n for (const o of Object.values(re))\n wi(o);\n this.sessionData.sessionSecureID = ci(), this.sessionData.sessionStartTime = Date.now(), this.options.sessionSecureID = this.sessionData.sessionSecureID, this._payloadId = 0, this.stopRecording(), this._firstLoadListeners = new Ke(this.options), yield this.initialize(), n && s && this.identify(n, s);\n });\n }\n _initMembers(e) {\n var i, n, s, o, l, a, r, c, d, u, p, m;\n this.sessionShortcut = !1, this._recordingStartTime = 0, this._isOnLocalHost = window.location.hostname === \"localhost\" || window.location.hostname === \"127.0.0.1\" || window.location.hostname === \"\", this.ready = !1, this.state = \"NotRecording\", this.manualStopped = !1, this.enableSegmentIntegration = !!e.enableSegmentIntegration, this.privacySetting = (i = e.privacySetting) != null ? i : \"default\", this.enableCanvasRecording = (n = e.enableCanvasRecording) != null && n, this.enablePerformanceRecording = (s = e.enablePerformanceRecording) == null || s, this.inlineImages = (o = e.inlineImages) != null ? o : this._isOnLocalHost, this.inlineStylesheet = (l = e.inlineStylesheet) == null || l, this.samplingStrategy = z({ canvasFactor: 0.5, canvasMaxSnapshotDimension: 360, canvasClearWebGLBuffer: !0 }, (a = e.samplingStrategy) != null ? a : { canvas: 2 }), this._backendUrl = (r = e == null ? void 0 : e.backendUrl) != null ? r : \"https://pub.highlight.io\", this._backendUrl[0] === \"/\" && (this._backendUrl = new URL(this._backendUrl, document.baseURI).href);\n const I = new $l(`${this._backendUrl}`, { headers: {} });\n this.graphqlSDK = /* @__PURE__ */ function(Z, g = Zr) {\n return { PushPayload: (b, S) => g((f) => Z.request(zs, b, z(z({}, S), f)), \"PushPayload\", \"mutation\", b), PushPayloadCompressed: (b, S) => g((f) => Z.request(cr, b, z(z({}, S), f)), \"PushPayloadCompressed\", \"mutation\", b), identifySession: (b, S) => g((f) => Z.request(dr, b, z(z({}, S), f)), \"identifySession\", \"mutation\", b), addSessionProperties: (b, S) => g((f) => Z.request(ur, b, z(z({}, S), f)), \"addSessionProperties\", \"mutation\", b), pushMetrics: (b, S) => g((f) => Z.request(pr, b, z(z({}, S), f)), \"pushMetrics\", \"mutation\", b), addSessionFeedback: (b, S) => g((f) => Z.request(hr, b, z(z({}, S), f)), \"addSessionFeedback\", \"mutation\", b), initializeSession: (b, S) => g((f) => Z.request(mr, b, z(z({}, S), f)), \"initializeSession\", \"mutation\", b), Ignore: (b, S) => g((f) => Z.request(br, b, z(z({}, S), f)), \"Ignore\", \"query\", b) };\n }(I, Yr(((c = this.sessionData) == null ? void 0 : c.sessionSecureID) || ((d = this.options) == null ? void 0 : d.sessionSecureID))), this.environment = (u = e.environment) != null ? u : \"production\", this.appVersion = e.appVersion, this.serviceName = (p = e.serviceName) != null ? p : \"\", typeof e.organizationID == \"string\" ? this.organizationID = e.organizationID : this.organizationID = e.organizationID.toString(), this.isRunningOnHighlight = this.organizationID === \"1\" || this.organizationID === \"1jdkoe52\", this.firstloadVersion = e.firstloadVersion || \"unknown\", this.sessionShortcut = e.sessionShortcut || !1, this._onToggleFeedbackFormVisibility = () => {\n };\n const y = e, W = Fe(y, [\"firstloadVersion\"]);\n this._optionsInternal = W, this.listeners = [], this.events = [], this.hasSessionUnloaded = !1, this.hasPushedData = !1, window.Intercom && window.Intercom(\"onShow\", () => {\n window.Intercom(\"update\", { highlightSessionURL: this.getCurrentSessionURLWithTimestamp() }), this.addProperties({ event: \"Intercom onShow\" });\n }), this._eventBytesSinceSnapshot = 0, this._lastSnapshotTime = (/* @__PURE__ */ new Date()).getTime(), this._lastVisibilityChangeTime = (/* @__PURE__ */ new Date()).getTime(), this._payloadId = (m = Number(Ie(re.PAYLOAD_ID))) != null ? m : 1, ve(re.PAYLOAD_ID, this._payloadId.toString());\n }\n identify(e, i = {}, n) {\n e && e !== \"\" ? (this.sessionData.userIdentifier = e.toString(), this.sessionData.userObject = i, ve(re.USER_IDENTIFIER, e.toString()), ve(re.USER_OBJECT, JSON.stringify(i)), this._worker.postMessage({ message: { type: Ye.Identify, userIdentifier: e, userObject: i, source: n } })) : console.warn(\"Highlight's identify() call was passed an empty identifier.\", { user_identifier: e, user_object: i });\n }\n pushCustomError(e, i) {\n return this.consumeCustomError(new Error(e), void 0, i);\n }\n consumeCustomError(e, i, n) {\n let s = {};\n if (n)\n try {\n s = z(z({}, JSON.parse(n)), s);\n } catch (o) {\n }\n return this.consumeError(e, { message: i, payload: s });\n }\n consumeError(e, { message: i, payload: n, source: s, type: o }) {\n var l, a, r, c;\n e.cause && (n = Te(z({}, n), { \"exception.cause\": e.cause }));\n let d = i ? i + \":\" + e.message : e.message;\n o === \"React.ErrorBoundary\" && (d = \"ErrorBoundary: \" + d);\n const u = St.parse(e);\n this._firstLoadListeners.errors.push({ event: d, type: o != null ? o : \"custom\", url: window.location.href, source: s != null ? s : \"\", lineNumber: (l = u[0]) != null && l.lineNumber ? (a = u[0]) == null ? void 0 : a.lineNumber : 0, columnNumber: (r = u[0]) != null && r.columnNumber ? (c = u[0]) == null ? void 0 : c.columnNumber : 0, stackTrace: u, timestamp: (/* @__PURE__ */ new Date()).toISOString(), payload: JSON.stringify(n) });\n }\n addProperties(e = {}, i) {\n const n = z({}, e);\n Object.entries(n).forEach(([s, o]) => {\n try {\n structuredClone(o);\n } catch (l) {\n delete n[s];\n }\n }), this._worker.postMessage({ message: { type: Ye.Properties, propertiesObject: n, propertyType: i } });\n }\n initialize(e) {\n return ue(this, null, function* () {\n var i, n, s, o, l, a;\n if (this.logger.log(\"Initializing...\", e, this.sessionData, this.options), (navigator == null ? void 0 : navigator.webdriver) && !window.Cypress || ((i = navigator == null ? void 0 : navigator.userAgent) == null ? void 0 : i.includes(\"Googlebot\")) || ((n = navigator == null ? void 0 : navigator.userAgent) == null ? void 0 : n.includes(\"AdsBot\")))\n (s = this._firstLoadListeners) == null || s.stopListening();\n else\n try {\n if (e != null && e.forceNew)\n return void (yield this._reset(e));\n const r = Ie(re.RECORDING_START_TIME);\n r ? this._recordingStartTime = parseInt(r, 10) : (this._recordingStartTime = (/* @__PURE__ */ new Date()).getTime(), ve(re.RECORDING_START_TIME, this._recordingStartTime.toString()));\n let c, d = Ie(\"highlightClientID\");\n d || (d = ci(), ve(\"highlightClientID\", d)), Li(null), c = !this.options.disableSessionRecording && this.options.disableNetworkRecording === void 0 && typeof this.options.networkRecording != \"boolean\" && (((o = this.options.networkRecording) == null ? void 0 : o.recordHeadersAndBody) || !1);\n let u = [];\n if (typeof this.options.networkRecording == \"object\" && ((l = this.options.networkRecording.destinationDomains) != null && l.length) && (u = this.options.networkRecording.destinationDomains), this._isCrossOriginIframe)\n yield this._setupCrossOriginIframe();\n else {\n const Z = yield this.graphqlSDK.initializeSession({ organization_verbose_id: this.organizationID, enable_strict_privacy: this.privacySetting === \"strict\", privacy_setting: this.privacySetting, enable_recording_network_contents: c, clientVersion: this.firstloadVersion, firstloadVersion: this.firstloadVersion, clientConfig: JSON.stringify(this._optionsInternal), environment: this.environment, id: d, appVersion: this.appVersion, serviceName: this.serviceName, session_secure_id: this.sessionData.sessionSecureID, client_id: d, network_recording_domains: u, disable_session_recording: this.options.disableSessionRecording });\n if (Z.initializeSession.secure_id !== this.sessionData.sessionSecureID && this.logger.log(`Unexpected secure id returned by initializeSession: ${Z.initializeSession.secure_id}, expected ${this.sessionData.sessionSecureID}`), this.sessionData.sessionSecureID = Z.initializeSession.secure_id, this.sessionData.projectID = parseInt(((a = Z == null ? void 0 : Z.initializeSession) == null ? void 0 : a.project_id) || \"0\"), !this.sessionData.projectID || !this.sessionData.sessionSecureID)\n return void console.error(\"Failed to initialize Highlight; an error occurred on our end.\", this.sessionData);\n }\n if (this.logger.log(`Loaded Highlight\nRemote: ${this._backendUrl}\nProject ID: ${this.sessionData.projectID}\nSessionSecureID: ${this.sessionData.sessionSecureID}`), this.options.sessionSecureID = this.sessionData.sessionSecureID, this._worker.postMessage({ message: { type: Ye.Initialize, sessionSecureID: this.sessionData.sessionSecureID, backend: this._backendUrl, debug: !!this.debugOptions.clientInteractions, recordingStartTime: this._recordingStartTime } }), Zs(this.sessionData.sessionSecureID), this.sessionData.userIdentifier && this.identify(this.sessionData.userIdentifier, this.sessionData.userObject), this._firstLoadListeners.isListening() ? this._firstLoadListeners.hasNetworkRecording || Ke.setupNetworkListener(this._firstLoadListeners, this.options) : this._firstLoadListeners.startListening(), this.pushPayloadTimerId && (clearTimeout(this.pushPayloadTimerId), this.pushPayloadTimerId = void 0), this._isCrossOriginIframe || (this.pushPayloadTimerId = setTimeout(() => {\n this._save();\n }, 1e3)), this.options.disableSessionRecording)\n return this.logger.log(\"Highlight is NOT RECORDING a session replay per H.init setting.\"), this.ready = !0, this.state = \"Recording\", void (this.manualStopped = !1);\n const { getDeviceDetails: p } = (() => {\n if (!(\"performance\" in window) || !(\"memory\" in performance))\n return { getDeviceDetails: void 0, getCurrentDeviceDetails: void 0 };\n const Z = window.performance;\n return { getDeviceDetails: () => ({ deviceMemory: Lr(navigator.deviceMemory || 0) }), getCurrentDeviceDetails: () => ({ jsHeapSizeLimit: ln(Z.memory.jsHeapSizeLimit), totalJSHeapSize: ln(Z.memory.totalJSHeapSize), usedJSHeapSize: ln(Z.memory.usedJSHeapSize) }) };\n })();\n p && this.recordMetric([{ name: Vt.DeviceMemory, value: p().deviceMemory, category: Ne.Device, group: window.location.href }]);\n const m = (Z) => {\n this.events.push(Z);\n };\n m.bind(this), this._recordStop && (this._recordStop(), this._recordStop = void 0);\n const [I, y] = ((Z) => {\n switch (Z) {\n case \"strict\":\n case \"default\":\n return [!0, void 0];\n case \"none\":\n return [!1, { password: !0 }];\n }\n })(this.privacySetting);\n this._recordStop = Je({ ignoreClass: \"highlight-ignore\", blockClass: \"highlight-block\", emit: m, recordCrossOriginIframes: this.options.recordCrossOriginIframe, privacySetting: this.privacySetting, maskAllInputs: I, maskInputOptions: y, recordCanvas: this.enableCanvasRecording, sampling: { canvas: { fps: this.samplingStrategy.canvas, fpsManual: this.samplingStrategy.canvasManualSnapshot, resizeFactor: this.samplingStrategy.canvasFactor, clearWebGLBuffer: this.samplingStrategy.canvasClearWebGLBuffer, initialSnapshotDelay: this.samplingStrategy.canvasInitialSnapshotDelay, dataURLOptions: { type: \"image/webp\", quality: 0.9 }, maxSnapshotDimension: this.samplingStrategy.canvasMaxSnapshotDimension } }, keepIframeSrcFn: (Z) => !this.options.recordCrossOriginIframe, inlineImages: this.inlineImages, inlineStylesheet: this.inlineStylesheet, plugins: [il()], logger: typeof this.options.debug == \"boolean\" && this.options.debug || typeof this.options.debug == \"object\" && this.options.debug.domRecording ? { debug: this.logger.log, warn: kt } : void 0 });\n const W = { height: window.innerHeight, width: window.innerWidth };\n this.addCustomEvent(\"Viewport\", W), this.submitViewportMetrics(W), this._recordStop || this.options.recordCrossOriginIframe && this._setupCrossOriginIframeParent(), document.referrer && (window && document.referrer.includes(window.location.origin) || (this.addCustomEvent(\"Referrer\", document.referrer), this.addProperties({ referrer: document.referrer }, { type: \"session\" }))), this._setupWindowListeners(), this.ready = !0, this.state = \"Recording\", this.manualStopped = !1;\n } catch (r) {\n this._isOnLocalHost && (console.error(r), kt(\"initializeSession\", r));\n }\n });\n }\n _visibilityHandler(e) {\n return ue(this, null, function* () {\n this.manualStopped ? this.logger.log(\"Ignoring visibility event due to manual stop.\") : (/* @__PURE__ */ new Date()).getTime() - this._lastVisibilityChangeTime < 100 || (this._lastVisibilityChangeTime = (/* @__PURE__ */ new Date()).getTime(), this.logger.log(`Detected window ${e ? \"hidden\" : \"visible\"}.`), e ? (this.addCustomEvent(\"TabHidden\", !0), this.options.disableBackgroundRecording && this.stopRecording()) : (this.options.disableBackgroundRecording && (yield this.initialize()), this.addCustomEvent(\"TabHidden\", !1)));\n });\n }\n _setupCrossOriginIframe() {\n return ue(this, null, function* () {\n this.logger.log(\"highlight in cross-origin iframe is waiting \"), yield new Promise((e) => {\n const i = (n) => {\n if (n.data.highlight === Vo) {\n const s = n.data;\n this.logger.log(\"highlight got window message \", s), this.sessionData.projectID = s.projectID, this.sessionData.sessionSecureID = s.sessionSecureID, window.parent.postMessage({ highlight: Xo }, \"*\"), window.removeEventListener(\"message\", i), e();\n }\n };\n window.addEventListener(\"message\", i);\n });\n });\n }\n _setupCrossOriginIframeParent() {\n this.logger.log(\"highlight setting up cross origin iframe parent notification\"), setInterval(() => {\n window.document.querySelectorAll(\"iframe\").forEach((e) => {\n var i;\n (i = e.contentWindow) == null || i.postMessage({ highlight: Vo, projectID: this.sessionData.projectID, sessionSecureID: this.sessionData.sessionSecureID }, \"*\");\n });\n }, 1e3), window.addEventListener(\"message\", (e) => {\n e.data.highlight === Xo && this.logger.log(\"highlight got response from initialized iframe\");\n });\n }\n _setupWindowListeners() {\n var e;\n try {\n const n = this;\n this.enableSegmentIntegration && this.listeners.push(yr((o) => {\n if (o.type === \"track\") {\n const l = {};\n l[\"segment-event\"] = o.event, n.addProperties(l, { type: \"track\", source: \"segment\" });\n } else if (o.type === \"identify\") {\n const l = o.userId.replace(/^\"(.*)\"$/, \"$1\");\n n.identify(l, o.traits, \"segment\");\n }\n })), this.listeners.push(Wl((o) => {\n this.reloaded ? (this.addCustomEvent(\"Reload\", o), this.reloaded = !1, n.addProperties({ reload: !0 }, { type: \"session\" })) : this.addCustomEvent(\"Navigate\", o), n.addProperties({ \"visited-url\": o }, { type: \"session\" });\n })), this.listeners.push(((o) => {\n let l;\n const a = () => {\n clearTimeout(l), l = setTimeout(() => {\n o({ height: window.innerHeight, width: window.innerWidth });\n }, 500);\n };\n return window.addEventListener(\"resize\", a), () => window.removeEventListener(\"resize\", a);\n })((o) => {\n this.addCustomEvent(\"Viewport\", o), this.submitViewportMetrics(o);\n })), this.listeners.push(((o) => {\n const l = (a) => {\n if (a.target) {\n const r = Ps(a.target);\n o(r, a);\n }\n };\n return window.addEventListener(\"click\", l), () => window.removeEventListener(\"click\", l);\n })((o, l) => {\n o && this.addCustomEvent(\"Click\", o);\n let a = null, r = null;\n if (l && l.target) {\n const c = l.target;\n a = As(c), r = c.textContent, r && r.length > 2e3 && (r = r.substring(0, 2e3));\n }\n n.addProperties({ clickTextContent: r, clickSelector: a }, { type: \"session\" });\n })), this.listeners.push(((o) => {\n const l = (a) => {\n if (a.target) {\n const r = Ps(a.target);\n o(r);\n }\n };\n return window.addEventListener(\"focusin\", l), () => window.removeEventListener(\"focusin\", l);\n })((o) => {\n o && this.addCustomEvent(\"Focus\", o);\n })), this.listeners.push(wr((o) => {\n const { name: l, value: a } = o;\n this.recordMetric([{ name: l, value: a, group: window.location.href, category: Ne.WebVital }]);\n })), this.sessionShortcut && Sr(this.sessionShortcut, () => {\n window.open(this.getCurrentSessionURLWithTimestamp(), \"_blank\");\n }), this.enablePerformanceRecording && (this.listeners.push(((o, l) => {\n let a = 0, r = 0;\n const c = () => {\n const I = ((/* @__PURE__ */ new Date()).getTime() - l) / 1e3, y = yo.memory.jsHeapSizeLimit || 0, W = yo.memory.usedJSHeapSize || 0;\n o({ jsHeapSizeLimit: y, usedJSHeapSize: W, relativeTimestamp: I, fps: a });\n };\n let d;\n c(), d = setInterval(() => {\n c();\n }, 5e3);\n let u = 0, p = Date.now();\n const m = function() {\n var I = Date.now();\n u++, I > 1e3 + p && (a = Math.round(1e3 * u / (I - p)), u = 0, p = I), r = requestAnimationFrame(m);\n };\n return m(), () => {\n clearInterval(d), cancelAnimationFrame(r);\n };\n })((o) => {\n this.addCustomEvent(\"Performance\", Be(o)), this.recordMetric(Object.entries(o).map(([l, a]) => a ? { name: l, value: a, category: Ne.Performance, group: window.location.href } : void 0).filter((l) => l));\n }, this._recordingStartTime)), this.listeners.push(((o, l) => {\n let a = {}, r = 16.666666666666668;\n Fr().then((m) => r = m);\n const c = (m) => {\n var I;\n a != null && a.event || (a = { event: m, location: window.location.href, timerStart: (I = window.performance) == null ? void 0 : I.now() }, window.requestAnimationFrame(d));\n }, d = () => {\n if (!(a != null && a.timerStart))\n return;\n const m = window.performance.now() - a.timerStart - r;\n u(m), a = {};\n }, u = (m) => {\n const I = ((/* @__PURE__ */ new Date()).getTime() - l) / 1e3;\n o({ relativeTimestamp: I, jankAmount: m, querySelector: p(), newLocation: window.location.href != a.location ? window.location.href : void 0 });\n }, p = () => {\n var m;\n return (m = a == null ? void 0 : a.event) != null && m.target ? As(a.event.target) : \"\";\n };\n return window.addEventListener(\"click\", c, !0), window.addEventListener(\"keydown\", c, !0), () => {\n window.removeEventListener(\"keydown\", c, !0), window.removeEventListener(\"click\", c, !0);\n };\n })((o) => {\n this.addCustomEvent(\"Jank\", Be(o)), this.recordMetric([{ name: \"Jank\", value: o.jankAmount, category: Ne.WebVital, group: o.querySelector }]);\n }, this._recordingStartTime))), this._hasPreviouslyInitialized || ((e = window.electron) != null && e.ipcRenderer ? (window.electron.ipcRenderer.on(\"highlight.run\", ({ visible: o }) => {\n this._visibilityHandler(!o);\n }), this.logger.log(\"Set up Electron highlight.run events.\")) : (((o) => {\n let l, a;\n if (document.hidden !== void 0 ? (l = \"hidden\", a = \"visibilitychange\") : document.msHidden !== void 0 ? (l = \"msHidden\", a = \"msvisibilitychange\") : document.webkitHidden !== void 0 && (l = \"webkitHidden\", a = \"webkitvisibilitychange\"), a === void 0)\n return () => {\n };\n if (l === void 0)\n return () => {\n };\n const r = l, c = () => {\n const d = document[r];\n o(!!d);\n };\n document.addEventListener(a, c);\n })((o) => this._visibilityHandler(o)), this.logger.log(\"Set up document visibility listener.\")), this._hasPreviouslyInitialized = !0);\n const s = () => {\n this.hasSessionUnloaded = !0, this.pushPayloadTimerId && (clearTimeout(this.pushPayloadTimerId), this.pushPayloadTimerId = void 0);\n };\n window.addEventListener(\"beforeunload\", s), this.listeners.push(() => window.removeEventListener(\"beforeunload\", s));\n } catch (n) {\n this._isOnLocalHost && (console.error(n), kt(\"initializeSession _setupWindowListeners\", n));\n }\n const i = () => {\n this.addCustomEvent(\"Page Unload\", \"\"), Li(this.sessionData);\n };\n if (window.addEventListener(\"beforeunload\", i), this.listeners.push(() => window.removeEventListener(\"beforeunload\", i)), navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPhone/i)) {\n const n = () => {\n this.addCustomEvent(\"Page Unload\", \"\"), Li(this.sessionData);\n };\n window.addEventListener(\"pagehide\", n), this.listeners.push(() => window.removeEventListener(\"beforeunload\", n));\n }\n }\n submitViewportMetrics({ height: e, width: i }) {\n this.recordMetric([{ name: Vt.ViewportHeight, value: e, category: Ne.Device, group: window.location.href }, { name: Vt.ViewportWidth, value: i, category: Ne.Device, group: window.location.href }, { name: Vt.ViewportArea, value: e * i, category: Ne.Device, group: window.location.href }]);\n }\n recordMetric(e) {\n this._worker.postMessage({ message: { type: Ye.Metrics, metrics: e.map((i) => Te(z({}, i), { tags: i.tags || [], group: i.group || window.location.href, category: i.category || Ne.Frontend, timestamp: /* @__PURE__ */ new Date() })) } });\n }\n stopRecording(e) {\n this.manualStopped = !!e, this.manualStopped && this.addCustomEvent(\"Stop\", \"H.stop() was called which stops Highlight from recording.\"), this.state = \"NotRecording\", e && this._recordStop && (this._recordStop(), this._recordStop = void 0), this.listeners.forEach((i) => i()), this.listeners = [];\n }\n getCurrentSessionTimestamp() {\n return this._recordingStartTime;\n }\n getCurrentSessionURLWithTimestamp() {\n const e = (/* @__PURE__ */ new Date()).getTime(), { projectID: i, sessionSecureID: n } = this.sessionData, s = (e - this._recordingStartTime) / 1e3;\n return `https://${Go}/${i}/sessions/${n}?ts=${s}`;\n }\n getCurrentSessionURL() {\n const e = this.sessionData.projectID, i = this.sessionData.sessionSecureID;\n return e && i ? `https://${Go}/${e}/sessions/${i}` : null;\n }\n snapshot(e) {\n return ue(this, null, function* () {\n yield Je.snapshotCanvas(e);\n });\n }\n addSessionFeedback({ timestamp: e, verbatim: i, user_email: n, user_name: s }) {\n var o;\n this._worker.postMessage({ message: { type: Ye.Feedback, verbatim: i, timestamp: e, userName: s || this.sessionData.userIdentifier, userEmail: n || ((o = this.sessionData.userObject) == null ? void 0 : o.name) } });\n }\n _save() {\n return ue(this, null, function* () {\n var e;\n try {\n let i;\n this.state === \"Recording\" && this.listeners && this.sessionData.sessionStartTime && Date.now() - this.sessionData.sessionStartTime > 144e5 && (this.logger.log(\"Resetting session\", { start: this.sessionData.sessionStartTime }), yield this._reset({})), ((e = this.options) == null ? void 0 : e.sendMode) === \"local\" && (i = (n) => ue(this, null, function* () {\n let s = new Blob([JSON.stringify({ query: Us(zs), variables: n })], { type: \"application/json\" });\n return yield window.fetch(`${this._backendUrl}`, { method: \"POST\", body: s }), 0;\n })), yield this._sendPayload({ sendFn: i }), this.hasPushedData = !0, this.sessionData.lastPushTime = Date.now();\n } catch (i) {\n this._isOnLocalHost && (console.error(i), kt(\"_save\", i));\n }\n this.state === \"Recording\" && (this.pushPayloadTimerId && (clearTimeout(this.pushPayloadTimerId), this.pushPayloadTimerId = void 0), this.pushPayloadTimerId = setTimeout(() => {\n this._save();\n }, 2e3));\n });\n }\n addCustomEvent(e, i) {\n if (this.state === \"NotRecording\") {\n let n;\n const s = () => {\n clearInterval(n), this.state === \"Recording\" && this.events.length > 0 ? is(e, i) : n = setTimeout(s, 500);\n };\n n = setTimeout(s, 500);\n } else\n this.state === \"Recording\" && (this.events.length > 0 || this.hasPushedData) && is(e, i);\n }\n _sendPayload(e) {\n return ue(this, arguments, function* ({ sendFn: i }) {\n const n = Ke.getRecordedNetworkResources(this._firstLoadListeners, this._recordingStartTime), s = Ke.getRecordedWebSocketEvents(this._firstLoadListeners), o = [...this.events], l = [...this._firstLoadListeners.messages], a = [...this._firstLoadListeners.errors], { bytes: r, time: c } = this.enableCanvasRecording ? ms.canvas : ms.normal;\n this._eventBytesSinceSnapshot >= r && (/* @__PURE__ */ new Date()).getTime() - this._lastSnapshotTime >= c && this.takeFullSnapshot(), this.logger.log(`Sending: ${o.length} events, ${l.length} messages, ${n.length} network resources, ${a.length} errors \nTo: ${this._backendUrl}\nOrg: ${this.organizationID}\nSessionSecureID: ${this.sessionData.sessionSecureID}`);\n const d = Ie(vt) || \"\";\n i ? yield i({ session_secure_id: this.sessionData.sessionSecureID, payload_id: this._payloadId.toString(), events: { events: o }, messages: Be({ messages: l }), resources: JSON.stringify({ resources: n }), web_socket_events: JSON.stringify({ webSocketEvents: s }), errors: a, is_beacon: !1, has_session_unloaded: this.hasSessionUnloaded }) : this._worker.postMessage({ message: { type: Ye.AsyncEvents, id: this._payloadId, events: o, messages: l, errors: a, resourcesString: JSON.stringify({ resources: n }), webSocketEventsString: JSON.stringify({ webSocketEvents: s }), hasSessionUnloaded: this.hasSessionUnloaded, highlightLogs: d } }), this._payloadId++, ve(re.PAYLOAD_ID, this._payloadId.toString()), Ke.clearRecordedNetworkResources(this._firstLoadListeners), this.events = this.events.slice(o.length), this._firstLoadListeners.messages = this._firstLoadListeners.messages.slice(l.length), this._firstLoadListeners.errors = this._firstLoadListeners.errors.slice(a.length), xr(d);\n });\n }\n takeFullSnapshot() {\n Je.takeFullSnapshot(), this._eventBytesSinceSnapshot = 0, this._lastSnapshotTime = (/* @__PURE__ */ new Date()).getTime();\n }\n }\n We.FirstLoadListeners = Ke, We.GenerateSecureID = ci, We.Highlight = rn, We.HighlightWarning = kt, We.MetricCategory = Ne, We.getPreviousSessionData = bs, Object.defineProperty(We, Symbol.toStringTag, { value: \"Module\" });\n });\n})(un, un.exports);\nvar na = un.exports;\nconst oa = /* @__PURE__ */ ia({\n __proto__: null\n}, [na]);\nexport {\n oa as i\n};\n//# sourceMappingURL=index-D9pynCqZ.js.map\n"],"names":["ia","wt","Lt","We","length","$","Array","isArray","de","dt","Object","getOwnPropertyDescriptor","defineProperty","get","enumerable","freeze","Symbol","toStringTag","value","un","exports","Co","defineProperties","Ro","getOwnPropertyDescriptors","xt","getOwnPropertySymbols","pn","prototype","hasOwnProperty","hn","propertyIsEnumerable","mi","t","e","i","configurable","writable","z","call","Te","Fe","n","indexOf","T","ue","Promise","s","o","r","a","next","c","l","throw","done","resolve","then","apply","vo","Jt","d","u","ut","host","shadowRoot","pt","toString","Kt","rules","cssRules","from","mn","join","includes","replace","styleSheet","cssText","split","JSON","stringify","href","layerName","push","supportsText","media","mediaText","selectorText","Document","DocumentType","Element","Text","CDATA","Comment","bn","constructor","this","idNodeMap","Map","nodeMetaMap","WeakMap","getId","getMeta","id","getNode","getIds","keys","removeNodeFromMap","delete","childNodes","forEach","has","hasNode","add","set","reset","_e","toLowerCase","Zn","bi","type","hasAttribute","yn","URL","window","location","pathname","match","Zi","map","Math","random","substr","yi","ko","RegExp","gn","some","test","In","maskInputOptions","tagName","overwriteRecord","gi","element","maskInputFn","repeat","To","No","ht","Sn","qe","Vn","wo","Lo","xo","Jo","Yt","p","m","slice","pop","Ko","Yo","mt","trim","createElement","Uo","ownerSVGElement","Ii","document","Xn","exec","substring","charAt","Gn","Wn","classList","contains","matches","Ut","nodeType","ELEMENT_NODE","parentNode","fn","parentElement","closest","Fo","doc","mirror","blockClass","blockSelector","needsMask","inlineStylesheet","maskTextClass","maskTextFn","dataURLOptions","inlineImages","recordCanvas","I","keepIframeSrcFn","y","newlyAddedElement","W","privacySetting","Z","g","b","S","f","DOCUMENT_NODE","compatMode","DOCUMENT_TYPE_NODE","name","publicId","systemId","rootId","w","K","Y","L","N","x","k","h","V","v","C","G","R","U","q","ee","P","F","HTMLFormElement","B","M","Se","attributes","styleSheets","find","ce","rel","_cssText","sheet","innerText","textContent","checked","getAttribute","selected","select","__context","getContext","width","xe","height","ct","getImageData","Tt","Uint32Array","min","data","buffer","di","rr_dataURL","toDataURL","quality","crossOrigin","removeEventListener","naturalWidth","naturalHeight","drawImage","console","warn","currentSrc","removeAttribute","complete","addEventListener","rr_mediaState","paused","rr_mediaCurrentTime","currentTime","scrollLeft","rr_scrollLeft","scrollTop","rr_scrollTop","getBoundingClientRect","class","rr_width","rr_height","Ge","src","contentDocument","rr_src","customElements","rr_inlined_video","isSVG","needBlock","needMask","isCustom","TEXT_NODE","nextSibling","previousSibling","Set","isStyle","CDATA_SECTION_NODE","COMMENT_NODE","ie","$e","maskTextSelector","skipChild","slimDOMOptions","onSerialize","onIframeLoad","iframeLoadTimeout","onStylesheetLoad","stylesheetLoadTimeout","preserveWhiteSpace","comment","script","as","headFavicon","headMetaDescKeywords","headMetaSocial","property","headMetaRobots","headMetaHttpEquiv","headMetaAuthorship","headMetaVerification","assign","cloneNode","isShadowHost","headWhitespace","isShadow","contentWindow","readyState","setTimeout","clearTimeout","be","capture","et","Cn","error","bt","Date","now","leading","trailing","Ft","tt","__rrweb_original__","Proxy","Reflect","Ht","Rn","left","scrollingElement","pageXOffset","documentElement","body","top","pageYOffset","vn","innerHeight","clientHeight","kn","innerWidth","clientWidth","Tn","getTime","Ho","HTMLElement","me","Si","Nn","Vi","changedTouches","wn","nodeName","Ln","Xi","Eo","styleIDMap","idStyleMap","getStyle","generateId","xn","getRootNode","Node","DOCUMENT_FRAGMENT_NODE","Mo","ownerDocument","Jn","j","DomContentLoaded","Load","FullSnapshot","IncrementalSnapshot","Meta","Custom","Plugin","D","Mutation","MouseMove","MouseInteraction","Scroll","ViewportResize","Input","TouchMove","MediaInteraction","StyleSheetRule","CanvasMutation","Font","Log","Drag","StyleDeclaration","Selection","AdoptedStyleSheet","CustomElement","ge","MouseUp","MouseDown","Click","ContextMenu","DblClick","Focus","Blur","TouchStart","TouchMove_Departed","TouchEnd","TouchCancel","He","Mouse","Pen","Touch","it","WebGL","WebGL2","Kn","Oo","head","tail","Error","addNode","previous","__ln","removeNode","Yn","zo","frozen","locked","texts","attributeMap","removes","mapRemoves","movedMap","addedSet","movedSet","droppedSet","processMutations","processMutation","emit","iframeManager","addIframe","stylesheetManager","trackLinkElement","shadowDomManager","addShadowRoot","attachIframe","observeAttachShadow","attachLinkElement","parentId","nextId","node","shift","Un","Hn","genTextAreaValueMutation","filter","style","styleDiff","_unchangedStyles","adds","mutationCb","target","oldValue","attributeName","setAttribute","unattachedDoc","implementation","createHTMLDocument","getPropertyValue","getPropertyPriority","addedNodes","genAdds","removedNodes","Gi","processedNodeManager","inOtherBuffer","init","canvasManager","unfreeze","isFrozen","lock","unlock","Fn","size","En","Zt","Q","Oe","yt","composedPath","path","Mn","MutationObserver","__rrMutationObserver","Zone","__symbol__","bind","observe","attributeOldValue","characterData","characterDataOldValue","childList","subtree","Bo","mouseInteractionCb","sampling","mouseInteraction","Number","isNaN","endsWith","pointerType","startsWith","clientX","clientY","PointerEvent","On","scrollCb","defaultView","scroll","Po","zn","Et","Mt","parentRule","CSSGroupingRule","CSSMediaRule","CSSSupportsRule","CSSConditionRule","unshift","parentStyleSheet","Ee","ownerNode","styleId","Bn","ShadowRoot","adoptStyleSheets","Ao","mousemoveCb","viewportResizeCb","inputCb","mediaInteractionCb","styleSheetRuleCb","styleDeclarationCb","canvasMutationCb","fontCb","selectionCb","customElementCb","mutation","mousemove","viewportResize","input","mediaInteaction","styleSheetRule","styleDeclaration","canvasMutation","font","selection","customElement","recordDOM","mousemoveCallback","timeOffset","DragEvent","MouseEvent","win","ignoreClass","ignoreSelector","userTriggeredOnInput","isTrusted","text","isChecked","userTriggered","querySelectorAll","HTMLInputElement","HTMLSelectElement","HTMLTextAreaElement","HTMLOptionElement","volume","muted","playbackRate","CSSStyleSheet","insertRule","styleMirror","rule","index","deleteRule","replaceSync","Ot","entries","ignoreCSSAttributes","CSSStyleDeclaration","setProperty","priority","removeProperty","remove","collectFonts","FontFace","family","descriptors","fontSource","Uint8Array","fonts","getSelection","isCollapsed","rangeCount","getRangeAt","startContainer","startOffset","endContainer","endOffset","start","end","ranges","define","plugins","observer","callback","options","disconnect","Pn","generateIdFn","iframeIdToRemoteIdMap","iframeRemoteIdToIdMap","getIdToRemoteIdMap","getRemoteIdToIdMap","getRemoteId","getRemoteIds","Do","iframes","crossOriginIframeMap","crossOriginIframeMirror","crossOriginIframeRootIdMap","wrappedEmit","recordCrossOriginIframes","crossOriginIframeStyleMirror","handleMessage","addLoadListener","loadListener","isAttachIframe","adoptedStyleSheets","origin","source","transformCrossOriginEvent","event","isCheckout","replaceIdOnNode","patchRootIdOnNode","timestamp","replaceIds","payload","positions","replaceStyleIds","styles","Qo","shadowDoms","WeakSet","restoreHandlers","bypassOptions","patchAttachShadow","gt","jo","zt","charCodeAt","An","Dn","jn","Bt","Float32Array","Float64Array","Int32Array","Uint16Array","Int16Array","Int8Array","Uint8ClampedArray","rr_type","args","values","ArrayBuffer","base64","DataView","byteOffset","byteLength","HTMLImageElement","HTMLCanvasElement","ImageData","Qn","_n","preserveDrawingBuffer","splice","qn","getOwnPropertyNames","canvas","setter","_o","atob","String","fromCharCode","Blob","createObjectURL","$n","es","ts","Wi","qo","Worker","$o","pendingCanvasMutations","clear","resetObservers","rafStamps","latestId","invokeId","snapshotInProgressMap","lastSnapshotTime","recordVideos","initialSnapshotDelay","logger","worker","onmessage","debug","status","dx","dy","dw","dh","commands","initCanvasMutationObserver","initCanvasFPSObserver","resizeFactor","maxSnapshotDimension","snapshot","clearWebGLBuffer","getContextAttributes","COLOR_BUFFER_BIT","max","createImageBitmap","resizeWidth","resizeHeight","postMessage","bitmap","logDebug","requestAnimationFrame","delay","delta","hadLoadingTime","actualWidth","actualHeight","videoWidth","videoHeight","boxWidth","boxHeight","outputWidth","outputHeight","scale","outputScale","offsetX","offsetY","all","catch","cancelAnimationFrame","startRAFTimestamping","startPendingCanvasMutationFlusher","CanvasRenderingContext2D","WebGLRenderingContext","WebGL2RenderingContext","flushPendingCanvasMutations","flushPendingCanvasMutationFor","el","trackedLinkElements","adoptedStyleSheetCb","trackStylesheetInLinkElement","styleIds","CSSRule","tl","nodeMap","loop","periodicallyClear","destroy","oe","ne","Pt","It","At","Re","Je","checkoutEveryNms","checkoutEveryNth","maskAllInputs","hooks","packFn","mousemoveWait","recordAfter","errorHandler","parent","E","color","date","email","month","number","range","search","tel","time","url","week","textarea","password","NodeList","DOMTokenList","Ve","_","TypeError","eventProcessor","he","Ue","ui","Wo","fo","Qe","je","getMirror","nodeMirror","an","fps","samplingManual","fpsManual","pi","te","Nt","Hr","Er","Mr","Or","zr","cn","Br","Pr","slimDOM","hi","Ar","Dr","Qr","jr","_r","qr","$r","ea","ta","initialOffset","plugin","addCustomEvent","tag","freezePage","takeFullSnapshot","snapshotCanvas","is","ns","key","il","nl","outerHTML","localName","children","fi","ss","Ci","numOfKeysLimit","depthOfLimit","Event","stringLengthLimit","message","sl","globalThis","self","Ri","__esModule","default","os","ze","ls","vi","rs","cs","ol","parseFloat","isFinite","toUpperCase","concat","getArgs","setArgs","getEvalOrigin","evalOrigin","setEvalOrigin","getFileName","getLineNumber","getColumnNumber","getFunctionName","getIsEval","fromString","lastIndexOf","functionName","fileName","lineNumber","columnNumber","parse","stacktrace","parseOpera","stack","parseV8OrIE","parseFFOrSafari","extractLocation","parseOpera9","parseOpera11","parseOpera10","St","ll","level","stringifyOptions","trace","serializeConsoleAttributes","reduce","ds","getSerialize","Be","ki","cause","al","stackTrace","toISOString","rl","enablePromisePatch","onerror","onunhandledrejection","reason","promise","getStack","super","promiseCreationError","shouldPatch","cl","Vt","DeviceMemory","ViewportHeight","ViewportWidth","ViewportArea","Ne","Device","WebVital","Performance","Frontend","Backend","us","ps","hs","dl","headers","ul","pl","re","RECORDING_START_TIME","SEGMENT_LAST_SENT_HASH_KEY","SESSION_DATA","SESSION_SECURE_ID","USER_IDENTIFIER","USER_OBJECT","PAYLOAD_ID","Ti","hl","getItem","storage","setItem","removeItem","Ni","localStorage","sessionStorage","Ie","ve","wi","ml","arguments","keyName","keyValue","ms","normal","bytes","bs","lastPushTime","Li","Zs","sessionSecureID","bl","REACT_APP_COMMIT_SHA","BASE_URL","MODE","DEV","PROD","SSR","ys","gs","Is","sort","responseEnd","initiatorType","others","xmlhttprequest","fetch","request","requestResponsePair","fetchStart","headersToRedact","headersToRecord","requestResponseSanitizer","response","toJSON","performance","timeOrigin","startTimeAbs","startTime","connectStartAbs","connectStart","connectEndAbs","connectEnd","domainLookupStartAbs","domainLookupStart","domainLookupEndAbs","domainLookupEnd","fetchStartAbs","redirectStartAbs","redirectStart","redirectEndAbs","redirectEnd","requestStartAbs","requestStart","responseStartAbs","responseStart","responseEndAbs","secureConnectionStartAbs","secureConnectionStart","workerStartAbs","workerStart","transferSize","encodedBodySize","decodedBodySize","nextHopProtocol","requestResponsePairs","xi","toLocaleLowerCase","REACT_APP_PUBLIC_GRAPH_URI","Ji","Zl","floor","Ss","Vs","yl","XMLHttpRequest","open","send","setRequestHeader","_url","_method","_requestHeaders","_shouldRecordHeaderAndBody","verb","Xs","Pe","getAllResponseHeaders","responseType","responseText","urlBlocked","gl","Il","_fetchProxy","method","Sl","Headers","Request","fromEntries","Vl","clone","getReader","TextDecoder","read","decode","Xl","xhrCallback","fetchCallback","webSocketRequestCallback","webSocketEventCallback","disableWebSocketRecording","bodyKeysToRedact","backendUrl","tracingOrigins","urlBlocklist","bodyKeysToRecord","_highlightWebSocketRequestCallback","_highlightWebSocketEventCallback","Gl","Ke","disableConsoleRecording","reportConsoleErrors","consoleMethodsToRecord","listeners","errors","messages","lastNetworkRequestTimestamp","isListening","startListening","setupNetworkListener","stopListening","_backendUrl","xhrNetworkContents","fetchNetworkContents","webSocketNetworkContents","webSocketEventContents","networkHeadersToRedact","disableNetworkRecording","enableRecordingNetworkContents","disableRecordingWebSocketContents","networkBodyKeysToRedact","networkBodyKeysToRecord","networkRecording","enabled","recordHeadersAndBody","disableWebSocketEventRecordings","networkHeaderKeysToRecord","headerKeysToRecord","getRecordedNetworkResources","getEntriesByType","offsetStartTime","offsetResponseEnd","offsetFetchStart","at","getRecordedWebSocketEvents","clearRecordedNetworkResources","clearResourceTimings","Wl","history","pushState","dispatchEvent","replaceState","Ki","Dt","fl","Cl","Yi","matchAll","line","column","Gs","locationOffset","padStart","Ws","Ui","nodes","originalError","extensions","fs","loc","locations","create","captureStackTrace","pe","Rl","startToken","endToken","Cs","kind","prev","Rs","Name","OperationDefinition","VariableDefinition","Variable","SelectionSet","Field","Argument","FragmentSpread","InlineFragment","FragmentDefinition","IntValue","FloatValue","StringValue","BooleanValue","NullValue","EnumValue","ListValue","ObjectValue","ObjectField","Directive","NamedType","ListType","NonNullType","SchemaDefinition","OperationTypeDefinition","ScalarTypeDefinition","ObjectTypeDefinition","FieldDefinition","InputValueDefinition","InterfaceTypeDefinition","UnionTypeDefinition","EnumTypeDefinition","EnumValueDefinition","InputObjectTypeDefinition","DirectiveDefinition","SchemaExtension","ScalarTypeExtension","ObjectTypeExtension","InterfaceTypeExtension","UnionTypeExtension","EnumTypeExtension","InputObjectTypeExtension","vl","vs","nt","Fi","Hi","ae","H","O","X","se","Ei","Xt","ks","Ts","kl","Tl","MAX_SAFE_INTEGER","Nl","QUERY","MUTATION","SUBSCRIPTION","FIELD","FRAGMENT_DEFINITION","FRAGMENT_SPREAD","INLINE_FRAGMENT","VARIABLE_DEFINITION","SCHEMA","SCALAR","OBJECT","FIELD_DEFINITION","ARGUMENT_DEFINITION","INTERFACE","UNION","ENUM","ENUM_VALUE","INPUT_OBJECT","INPUT_FIELD_DEFINITION","NAME","DOCUMENT","OPERATION_DEFINITION","SELECTION_SET","ARGUMENT","VARIABLE","INT","FLOAT","STRING","BOOLEAN","NULL","LIST","OBJECT_FIELD","DIRECTIVE","NAMED_TYPE","LIST_TYPE","NON_NULL_TYPE","SCHEMA_DEFINITION","OPERATION_TYPE_DEFINITION","SCALAR_TYPE_DEFINITION","OBJECT_TYPE_DEFINITION","INPUT_VALUE_DEFINITION","INTERFACE_TYPE_DEFINITION","UNION_TYPE_DEFINITION","ENUM_TYPE_DEFINITION","ENUM_VALUE_DEFINITION","INPUT_OBJECT_TYPE_DEFINITION","DIRECTIVE_DEFINITION","SCHEMA_EXTENSION","SCALAR_TYPE_EXTENSION","OBJECT_TYPE_EXTENSION","INTERFACE_TYPE_EXTENSION","UNION_TYPE_EXTENSION","ENUM_TYPE_EXTENSION","INPUT_OBJECT_TYPE_EXTENSION","SOF","EOF","BANG","DOLLAR","AMP","PAREN_L","PAREN_R","SPREAD","COLON","EQUALS","AT","BRACKET_L","BRACKET_R","BRACE_L","PIPE","BRACE_R","BLOCK_STRING","COMMENT","wl","lastToken","token","lineStart","advance","lookahead","Ll","st","Qt","Ns","ws","Ae","codePointAt","fromCodePoint","le","xl","Hl","Kl","Jl","El","Mi","Yl","Ul","Fl","Gt","Ls","Ml","xs","Oi","jt","Ol","process","env","NODE_ENV","Js","Ks","zl","parseDocument","_lexer","_options","_tokenCounter","parseName","expectToken","definitions","many","parseDefinition","peek","parseOperationDefinition","peekDescription","parseSchemaDefinition","parseScalarTypeDefinition","parseObjectTypeDefinition","parseInterfaceTypeDefinition","parseUnionTypeDefinition","parseEnumTypeDefinition","parseInputObjectTypeDefinition","parseDirectiveDefinition","parseFragmentDefinition","parseTypeSystemExtension","unexpected","operation","variableDefinitions","directives","selectionSet","parseSelectionSet","parseOperationType","parseVariableDefinitions","parseDirectives","optionalMany","parseVariableDefinition","variable","parseVariable","parseTypeReference","defaultValue","expectOptionalToken","parseConstValueLiteral","parseConstDirectives","selections","parseSelection","parseFragment","parseField","alias","parseArguments","parseConstArgument","parseArgument","parseValueLiteral","expectOptionalKeyword","parseFragmentName","typeCondition","parseNamedType","expectKeyword","allowLegacyFragmentVariables","parseList","parseObject","advanceLexer","parseStringLiteral","block","any","fields","parseObjectField","parseDirective","parseDescription","parseOperationTypeDefinition","description","operationTypes","parseImplementsInterfaces","parseFieldsDefinition","interfaces","delimitedMany","parseFieldDefinition","parseArgumentDefs","parseInputValueDef","parseUnionMemberTypes","types","parseEnumValuesDefinition","parseEnumValueDefinition","parseEnumValueName","_t","parseInputFieldsDefinition","parseSchemaExtension","parseScalarTypeExtension","parseObjectTypeExtension","parseInterfaceTypeExtension","parseUnionTypeExtension","parseEnumTypeExtension","parseInputObjectTypeExtension","parseDirectiveLocations","repeatable","parseDirectiveLocation","noLocation","Ys","maxTokens","Bl","Pl","Al","Dl","Ql","enter","leave","Us","edits","inArray","jl","J","A","ke","qt","every","minimize","Fs","Hs","zi","query","operationName","ot","extractMessage","setPrototypeOf","Bi","DOMException","isView","iterator","append","bodyUsed","reject","onload","result","FileReader","readAsArrayBuffer","_initBody","_bodyInit","_bodyText","isPrototypeOf","_bodyBlob","FormData","_bodyFormData","URLSearchParams","_bodyArrayBuffer","blob","arrayBuffer","readAsText","formData","json","credentials","mode","signal","referrer","decodeURIComponent","ok","statusText","redirect","RangeError","aborted","abort","responseURL","ontimeout","onabort","withCredentials","onreadystatechange","polyfill","Response","ponyfill","$t","ei","_l","__proto__","lt","Es","ql","variables","fetchOptions","middleware","er","jsonSerializer","encodeURIComponent","$l","requestConfig","rawRequest","requestHeaders","requestMiddleware","responseMiddleware","Pi","Ai","batchRequests","documents","setHeaders","setHeader","setEndpoint","tr","errorPolicy","ti","ii","Di","Ms","ni","Os","ir","nr","experimentalFragmentVariables","Xe","Wt","sr","or","lr","rr","ar","gql","resetCaches","disableFragmentWarnings","enableExperimentalFragmentVariables","disableExperimentalFragmentVariables","zs","cr","dr","ur","pr","hr","mr","br","Zr","yr","Qi","userId","userTraits","Bs","traits","anonymousId","gr","Ps","Ir","As","Ds","Sr","Gr","js","Xr","we","mods","shortcut","keyup","keydown","scope","splitKey","keyCode","which","charCode","Ze","Qs","ctrlKey","shiftKey","altKey","ye","getModifierState","Wr","attachEvent","ji","navigator","userAgent","Vr","backspace","tab","return","esc","escape","space","up","right","down","del","ins","insert","home","pageup","pagedown","capslock","num_0","num_1","num_2","num_3","num_4","num_5","num_6","num_7","num_8","num_9","num_multiply","num_add","num_enter","num_subtract","num_decimal","num_divide","metaKey","alt","option","ctrl","control","cmd","command","preventDefault","returnValue","stopPropagation","cancelBubble","Me","ft","_s","si","_i","qs","De","persisted","timeStamp","qi","oi","activationStart","fe","prerendering","wasDiscarded","rating","navigationType","rt","PerformanceObserver","supportedEntryTypes","getEntries","buffered","Ce","$i","li","visibilityState","en","$s","ri","fr","eo","tn","firstHiddenTime","Ct","to","io","reportAllChanges","no","Rt","passive","Cr","so","lo","oo","entryType","cancelable","processingStart","Rr","ro","ao","nn","ai","vr","interactionId","co","interactionCount","uo","po","ho","Le","sn","mo","duration","latency","kr","durationThreshold","PerformanceEventTiming","takeRecords","bo","on","Zo","Tr","Nr","wr","hadRecentInput","ln","pow","Lr","yo","memory","vt","xr","ci","crypto","getRandomValues","go","Io","Jr","webkitURL","revokeObjectURL","So","BillingQuotaExceeded","Kr","Yr","Ye","Initialize","AsyncEvents","Identify","Properties","Metrics","Feedback","CustomEvent","Ur","log","Fr","Vo","Xo","kt","output","Go","rn","debugOptions","clientInteractions","storageMode","_worker","_eventBytesSinceSnapshot","eventsSize","compressedSize","toFixed","reloaded","sessionData","projectID","sessionStartTime","_hasPreviouslyInitialized","_firstLoadListeners","_isCrossOriginIframe","recordCrossOriginIframe","_initMembers","_reset","forceNew","pushPayloadTimerId","_payloadId","stopRecording","initialize","identify","sessionShortcut","_recordingStartTime","_isOnLocalHost","hostname","ready","state","manualStopped","enableSegmentIntegration","enableCanvasRecording","enablePerformanceRecording","samplingStrategy","canvasFactor","canvasMaxSnapshotDimension","canvasClearWebGLBuffer","baseURI","graphqlSDK","PushPayload","PushPayloadCompressed","identifySession","addSessionProperties","pushMetrics","addSessionFeedback","initializeSession","Ignore","environment","appVersion","serviceName","organizationID","isRunningOnHighlight","firstloadVersion","_onToggleFeedbackFormVisibility","_optionsInternal","events","hasSessionUnloaded","hasPushedData","Intercom","highlightSessionURL","getCurrentSessionURLWithTimestamp","addProperties","_lastSnapshotTime","_lastVisibilityChangeTime","userIdentifier","userObject","user_identifier","user_object","pushCustomError","consumeCustomError","consumeError","structuredClone","propertiesObject","propertyType","webdriver","Cypress","parseInt","disableSessionRecording","destinationDomains","_setupCrossOriginIframe","organization_verbose_id","enable_strict_privacy","privacy_setting","enable_recording_network_contents","clientVersion","clientConfig","session_secure_id","client_id","network_recording_domains","disable_session_recording","secure_id","project_id","backend","recordingStartTime","hasNetworkRecording","_save","getDeviceDetails","getCurrentDeviceDetails","deviceMemory","jsHeapSizeLimit","totalJSHeapSize","usedJSHeapSize","recordMetric","category","group","_recordStop","canvasManualSnapshot","canvasInitialSnapshotDelay","domRecording","submitViewportMetrics","_setupCrossOriginIframeParent","_setupWindowListeners","_visibilityHandler","disableBackgroundRecording","highlight","setInterval","reload","clickTextContent","clickSelector","relativeTimestamp","round","clearInterval","timerStart","jankAmount","querySelector","newLocation","electron","ipcRenderer","visible","hidden","msHidden","webkitHidden","metrics","tags","getCurrentSessionTimestamp","getCurrentSessionURL","verbatim","user_email","user_name","userName","userEmail","sendMode","_sendPayload","sendFn","payload_id","resources","web_socket_events","webSocketEvents","is_beacon","has_session_unloaded","resourcesString","webSocketEventsString","highlightLogs","FirstLoadListeners","GenerateSecureID","Highlight","HighlightWarning","MetricCategory","getPreviousSessionData","oa"],"sourceRoot":""}