// Copyright 2012 Google Inc. All rights reserved. (function () { var data = { "resource": { "version": "1", "macros": [], "tags": [], "predicates": [], "rules": [] }, "runtime": [] , "blob": { "1": "1" } }; var aa, ba = function (a) { var b = 0; return function () { return b < a.length ? { done: !1, value: a[b++] } : { done: !0 } } }, ca = typeof Object.defineProperties == "function" ? Object.defineProperty : function (a, b, c) { if (a == Array.prototype || a == Object.prototype) return a; a[b] = c.value; return a }, ea = function (a) { for (var b = ["object" == typeof globalThis && globalThis, a, "object" == typeof window && window, "object" == typeof self && self, "object" == typeof global && global], c = 0; c < b.length; ++c) { var d = b[c]; if (d && d.Math == Math) return d } throw Error("Cannot find global object"); }, fa = ea(this), ha = function (a, b) { if (b) a: { for (var c = fa, d = a.split("."), e = 0; e < d.length - 1; e++) { var f = d[e]; if (!(f in c)) break a; c = c[f] } var h = d[d.length - 1], l = c[h], m = b(l);m != l && m != null && ca(c, h, { configurable: !0, writable: !0, value: m }) } }; ha("Symbol", function (a) { if (a) return a; var b = function (f, h) { this.j = f; ca(this, "description", { configurable: !0, writable: !0, value: h }) }; b.prototype.toString = function () { return this.j }; var c = "jscomp_symbol_" + (Math.random() * 1E9 >>> 0) + "_", d = 0, e = function (f) { if (this instanceof e) throw new TypeError("Symbol is not a constructor"); return new b(c + (f || "") + "_" + d++, f) }; return e }); var g = function (a) { var b = typeof Symbol != "undefined" && Symbol.iterator && a[Symbol.iterator]; if (b) return b.call(a); if (typeof a.length == "number") return { next: ba(a) }; throw Error(String(a) + " is not an iterable or ArrayLike"); }, ia = function (a) { for (var b, c = []; !(b = a.next()).done;) c.push(b.value); return c }, ja = function (a) { return a instanceof Array ? a : ia(g(a)) }, ka = typeof Object.assign == "function" ? Object.assign : function (a, b) { for (var c = 1; c < arguments.length; c++) { var d = arguments[c]; if (d) for (var e in d) Object.prototype.hasOwnProperty.call(d, e) && (a[e] = d[e]) } return a }; ha("Object.assign", function (a) { return a || ka }); var la = typeof Object.create == "function" ? Object.create : function (a) { var b = function () {}; b.prototype = a; return new b }, ma; if (typeof Object.setPrototypeOf == "function") ma = Object.setPrototypeOf; else { var oa; a: { var pa = { a: !0 }, qa = {}; try { qa.__proto__ = pa; oa = qa.a; break a } catch (a) {} oa = !1 } ma = oa ? function (a, b) { a.__proto__ = b; if (a.__proto__ !== b) throw new TypeError(a + " is not extensible"); return a } : null } var sa = ma, ta = function (a, b) { a.prototype = la(b.prototype); a.prototype.constructor = a; if (sa) sa(a, b); else for (var c in b) if (c != "prototype") if (Object.defineProperties) { var d = Object.getOwnPropertyDescriptor(b, c); d && Object.defineProperty(a, c, d) } else a[c] = b[c]; a.pn = b.prototype }, ua = function () { for (var a = Number(this), b = [], c = a; c < arguments.length; c++) b[c - a] = arguments[c]; return b }; /* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var va = this || self; function wa() { for (var a = xa, b = {}, c = 0; c < a.length; ++c) b[a[c]] = c; return b } function ya() { var a = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; a += a.toLowerCase() + "0123456789-_"; return a + "." } var xa, za; function Aa(a) { xa = xa || ya(); za = za || wa(); for (var b = [], c = 0; c < a.length; c += 3) { var d = c + 1 < a.length, e = c + 2 < a.length, f = a.charCodeAt(c), h = d ? a.charCodeAt(c + 1) : 0, l = e ? a.charCodeAt(c + 2) : 0, m = f >> 2, n = (f & 3) << 4 | h >> 4, p = (h & 15) << 2 | l >> 6, q = l & 63; e || (q = 64, d || (p = 64)); b.push(xa[m], xa[n], xa[p], xa[q]) } return b.join("") } function Ca(a) { function b(m) { for (; d < a.length;) { var n = a.charAt(d++), p = za[n]; if (p != null) return p; if (!/^[\s\xa0]*$/.test(n)) throw Error("Unknown base64 encoding at char: " + n); } return m } xa = xa || ya(); za = za || wa(); for (var c = "", d = 0;;) { var e = b(-1), f = b(0), h = b(64), l = b(64); if (l === 64 && e === -1) return c; c += String.fromCharCode(e << 2 | f >> 4); h !== 64 && (c += String.fromCharCode(f << 4 & 240 | h >> 2), l !== 64 && (c += String.fromCharCode(h << 6 & 192 | l))) } }; var Ea = {}; function Fa(a, b) { Ea[a] = Ea[a] || []; Ea[a][b] = !0 } function Ga(a) { var b = Ea[a]; if (!b || b.length === 0) return ""; for (var c = [], d = 0, e = 0; e < b.length; e++) e % 8 === 0 && e > 0 && (c.push(String.fromCharCode(d)), d = 0), b[e] && (d |= 1 << e % 8); d > 0 && c.push(String.fromCharCode(d)); return Aa(c.join("")).replace(/\.+$/, "") } function Ha() { for (var a = [], b = Ea.fdr || [], c = 0; c < b.length; c++) b[c] && a.push(c); return a.length > 0 ? a : void 0 }; var Ia = [], Ja = {}; function Ka(a) { return Ia[a] === void 0 ? !1 : Ia[a] }; function La() {} function Na(a) { return typeof a === "function" } function k(a) { return typeof a === "string" } function Oa(a) { return typeof a === "number" && !isNaN(a) } function Pa(a) { return Array.isArray(a) ? a : [a] } function Qa(a, b) { if (a && Array.isArray(a)) for (var c = 0; c < a.length; c++) if (a[c] && b(a[c])) return a[c] } function Ra(a, b) { if (!Oa(a) || !Oa(b) || a > b) a = 0, b = 2147483647; return Math.floor(Math.random() * (b - a + 1) + a) } function Sa(a, b) { for (var c = new Ta, d = 0; d < a.length; d++) c.set(a[d], !0); for (var e = 0; e < b.length; e++) if (c.get(b[e])) return !0; return !1 } function Ua(a, b) { for (var c in a) Object.prototype.hasOwnProperty.call(a, c) && b(c, a[c]) } function Va(a) { return !!a && (Object.prototype.toString.call(a) === "[object Arguments]" || Object.prototype.hasOwnProperty.call(a, "callee")) } function Wa(a) { return Math.round(Number(a)) || 0 } function Xa(a) { return "false" === String(a).toLowerCase() ? !1 : !!a } function Ya(a) { var b = []; if (Array.isArray(a)) for (var c = 0; c < a.length; c++) b.push(String(a[c])); return b } function Za(a) { return a ? a.replace(/^\s+|\s+$/g, "") : "" } function $a() { return new Date(Date.now()) } function ab() { return $a().getTime() } var Ta = function () { this.prefix = "gtm."; this.values = {} }; Ta.prototype.set = function (a, b) { this.values[this.prefix + a] = b }; Ta.prototype.get = function (a) { return this.values[this.prefix + a] }; Ta.prototype.contains = function (a) { return this.get(a) !== void 0 }; function bb(a, b) { return a && a.hasOwnProperty("currencyCode") ? a.currencyCode : b } function cb(a) { var b = a; return function () { if (b) { var c = b; b = void 0; try { c() } catch (d) {} } } } function eb(a, b) { for (var c in b) b.hasOwnProperty(c) && (a[c] = b[c]) } function fb(a, b) { for (var c = [], d = 0; d < a.length; d++) c.push(a[d]), c.push.apply(c, b[a[d]] || []); return c } function gb(a, b) { return a.length >= b.length && a.substring(0, b.length) === b } function hb(a, b) { return a.length >= b.length && a.substring(a.length - b.length, a.length) === b } function ib(a, b) { for (var c = {}, d = c, e = a.split("."), f = 0; f < e.length - 1; f++) d = d[e[f]] = {}; d[e[e.length - 1]] = b; return c } var jb = /^\w{1,9}$/; function kb(a, b) { a = a || {}; b = b || ","; var c = []; Ua(a, function (d, e) { jb.test(d) && e && c.push(d) }); return c.join(b) } function lb(a, b) { function c() { e && ++d === b && (e(), e = null, c.done = !0) } var d = 0, e = a; c.done = !1; return c } function mb(a) { if (!a) return a; var b = a; if (Ka(3)) try { b = decodeURIComponent(a) } catch (d) {} var c = b.split(","); return c.length === 2 && c[0] === c[1] ? c[0] : a } function nb(a) { function b(m) { var n = m.split("=")[0]; return d.indexOf(n) < 0 ? m : n + "=0" } function c(m) { return m.split("&").map(b).filter(function (n) { return n !== void 0 }).join("&") } var d = "gclid dclid gbraid wbraid gclaw gcldc gclha gclgf gclgb _gl".split(" "), e = a.href.split(/[?#]/)[0], f = a.search, h = a.hash; f[0] === "?" && (f = f.substring(1)); h[0] === "#" && (h = h.substring(1)); f = c(f); h = c(h); f !== "" && (f = "?" + f); h !== "" && (h = "#" + h); var l = "" + e + f + h; l[l.length - 1] === "/" && (l = l.substring(0, l.length - 1)); return l }; /* Copyright Google LLC SPDX-License-Identifier: Apache-2.0 */ var ob = globalThis.trustedTypes, pb; function qb() { var a = null; if (!ob) return a; try { var b = function (c) { return c }; a = ob.createPolicy("goog#html", { createHTML: b, createScript: b, createScriptURL: b }) } catch (c) {} return a } function rb() { pb === void 0 && (pb = qb()); return pb }; var sb = function (a) { this.j = a }; sb.prototype.toString = function () { return this.j + "" }; var tb = /^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i; var ub = function (a) { this.j = a }; ub.prototype.toString = function () { return this.j + "" }; var vb = Array.prototype.indexOf ? function (a, b) { return Array.prototype.indexOf.call(a, b, void 0) } : function (a, b) { if (typeof a === "string") return typeof b !== "string" || b.length != 1 ? -1 : a.indexOf(b, 0); for (var c = 0; c < a.length; c++) if (c in a && a[c] === b) return c; return -1 }; function wb(a) { return a === null ? "null" : a === void 0 ? "undefined" : a }; var z = window, C = document, xb = navigator; function yb() { var a; try { a = xb.serviceWorker } catch (b) { return } return a } var zb = C.currentScript, Ab = zb && zb.src; function Bb(a, b) { var c = z[a]; z[a] = c === void 0 ? b : c; return z[a] } function Cb(a) { return (xb.userAgent || "").indexOf(a) !== -1 } var Db = { async: 1, nonce: 1, onerror: 1, onload: 1, src: 1, type: 1 }, Eb = { onload: 1, src: 1, width: 1, height: 1, style: 1 }; function Fb(a, b, c) { b && Ua(b, function (d, e) { d = d.toLowerCase(); c.hasOwnProperty(d) || a.setAttribute(d, e) }) } function Gb(a, b, c, d, e) { var f = C.createElement("script"); Fb(f, d, Db); f.type = "text/javascript"; f.async = d && d.async === !1 ? !1 : !0; var h, l = wb(a), m = rb(); h = new sb(m ? m.createScriptURL(l) : l); var n; if (h instanceof sb) n = h.j; else throw Error(""); f.src = n; var p, q = f.ownerDocument && f.ownerDocument.defaultView || window; q = q === void 0 ? document : q; var r, u, v = (u = (r = "document" in q ? q.document : q).querySelector) == null ? void 0 : u.call(r, "script[nonce]"); (p = v == null ? "" : v.nonce || v.getAttribute("nonce") || "") && f.setAttribute("nonce", p); b && (f.onload = b); c && (f.onerror = c); if (e) e.appendChild(f); else { var t = C.getElementsByTagName("script")[0] || C.body || C.head; t.parentNode.insertBefore(f, t) } return f } function Hb() { if (Ab) { var a = Ab.toLowerCase(); if (a.indexOf("https://") === 0) return 2; if (a.indexOf("http://") === 0) return 3 } return 1 } function Ib(a, b, c, d, e) { var f; f = f === void 0 ? !0 : f; var h = e, l = !1; h || (h = C.createElement("iframe"), l = !0); Fb(h, c, Eb); d && Ua(d, function (n, p) { h.dataset[n] = p }); f && (h.height = "0", h.width = "0", h.style.display = "none", h.style.visibility = "hidden"); a !== void 0 && (h.src = a); if (l) { var m = C.body && C.body.lastChild || C.body || C.head; m.parentNode.insertBefore(h, m) } b && (h.onload = b); return h } var Jb = function (a, b, c, d) { var e = new Image(1, 1); Fb(e, d, {}); e.onload = function () { e.onload = null; b && b() }; e.onerror = function () { e.onerror = null; c && c() }; e.src = a; return e }; function Kb(a, b, c, d) { a.addEventListener ? a.addEventListener(b, c, !!d) : a.attachEvent && a.attachEvent("on" + b, c) } function Lb(a, b) { C.removeEventListener ? C.removeEventListener(a, b, !1) : C.detachEvent && C.detachEvent("on" + a, b) } function D(a) { z.setTimeout(a, 0) } function Mb(a, b) { return a && b && a.attributes && a.attributes[b] ? a.attributes[b].value : null } function Nb(a) { var b = a.innerText || a.textContent || ""; b && b !== " " && (b = b.replace(/^[\s\xa0]+/g, ""), b = b.replace(/[\s\xa0]+$/g, "")); b && (b = b.replace(/(\xa0+|\s{2,}|\n|\r\t)/g, " ")); return b } function Ob(a) { var b = C.createElement("div"), c = b, d, e = wb("A
" + a + "
"), f = rb(); d = new ub(f ? f.createHTML(e) : e); if (c.nodeType === 1 && /^(script|style)$/i.test(c.tagName)) throw Error(""); var h; if (d instanceof ub) h = d.j; else throw Error(""); c.innerHTML = h; b = b.lastChild; for (var l = []; b && b.firstChild;) l.push(b.removeChild(b.firstChild)); return l } function Pb(a) { var b; try { b = xb.sendBeacon && xb.sendBeacon(a) } catch (c) { Fa("TAGGING", 15) } b || Jb(a) } function Qb(a, b) { try { return xb.sendBeacon(a, b) } catch (c) { Fa("TAGGING", 15) } return !1 } var Rb = { cache: "no-store", credentials: "include", keepalive: !0, method: "POST", mode: "no-cors", redirect: "follow" }; function Sb(a, b, c) { if (Tb()) { var d = Object.assign({}, Rb); b && (d.body = b); c && (c.attributionReporting && (d.attributionReporting = c.attributionReporting), c.browsingTopics && (d.browsingTopics = c.browsingTopics)); try { var e = z.fetch(a, d); e && e.catch(La); return !0 } catch (f) {} } if (c && c.noFallback) return !1; if (b) return Qb(a, b); Pb(a); return !0 } function Tb() { return typeof z.fetch === "function" } function Ub(a, b) { var c = a[b]; c && typeof c.animVal === "string" && (c = c.animVal); return c } function Vb() { var a = z.performance; if (a && Na(a.now)) return a.now() } function Wb() { var a, b = z.performance; if (b && b.getEntriesByType) try { var c = b.getEntriesByType("navigation"); c && c.length > 0 && (a = c[0].type) } catch (d) { return "e" } if (!a) return "u"; switch (a) { case "navigate": return "n"; case "back_forward": return "h"; case "reload": return "r"; case "prerender": return "p"; default: return "x" } } function Xb() { return z.performance || void 0 } function Yb() { var a = z.webPixelsManager; return a ? a.createShopifyExtend !== void 0 : !1 }; /* jQuery (c) 2005, 2012 jQuery Foundation, Inc. jquery.org/license. */ var Zb = /\[object (Boolean|Number|String|Function|Array|Date|RegExp)\]/, $b = function (a) { if (a == null) return String(a); var b = Zb.exec(Object.prototype.toString.call(Object(a))); return b ? b[1].toLowerCase() : "object" }, ac = function (a, b) { return Object.prototype.hasOwnProperty.call(Object(a), b) }, bc = function (a) { if (!a || $b(a) != "object" || a.nodeType || a == a.window) return !1; try { if (a.constructor && !ac(a, "constructor") && !ac(a.constructor.prototype, "isPrototypeOf")) return !1 } catch (c) { return !1 } for (var b in a); return b === void 0 || ac(a, b) }, cc = function (a, b) { var c = b || ($b(a) == "array" ? [] : {}), d; for (d in a) if (ac(a, d)) { var e = a[d]; $b(e) == "array" ? ($b(c[d]) != "array" && (c[d] = []), c[d] = cc(e, c[d])) : bc(e) ? (bc(c[d]) || (c[d] = {}), c[d] = cc(e, c[d])) : c[d] = e } return c }; var dc = function (a) { this.message = a }; function ec(a) { var b = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_" [a]; return b === void 0 ? new dc("Value " + a + " can not be encoded in web-safe base64 dictionary.") : b }; function fc(a) { switch (a) { case 1: return "1"; case 2: case 4: return "0"; default: return "-" } }; var gc = /^[1-9a-zA-Z_-][1-9a-c][1-9a-v]\d$/; function hc(a, b) { for (var c = "", d = !0; a > 7;) { var e = a & 31; a >>= 5; d ? d = !1 : e |= 32; c = "" + ec(e) + c } a <<= 2; d || (a |= 32); return c = "" + ec(a | b) + c }; var ic = function () { function a(b) { return { toString: function () { return b } } } return { oj: a("consent"), Mg: a("convert_case_to"), Ng: a("convert_false_to"), Og: a("convert_null_to"), Pg: a("convert_true_to"), Qg: a("convert_undefined_to"), xm: a("debug_mode_metadata"), ja: a("function"), Pf: a("instance_name"), lk: a("live_only"), mk: a("malware_disabled"), METADATA: a("metadata"), qk: a("original_activity_id"), Hm: a("original_vendor_template_id"), Gm: a("once_on_load"), pk: a("once_per_event"), mi: a("once_per_load"), Jm: a("priority_override"), Km: a("respected_consent_types"), yi: a("setup_tags"), zd: a("tag_id"), Fi: a("teardown_tags") } }(); var Ec; var Fc = [], Gc = [], Hc = [], Ic = [], Jc = [], Kc = {}, Mc, Nc; function Oc(a) { Nc = Nc || a } function Pc(a) {} var Qc, Rc = [], Sc = []; function Tc(a, b, c) { try { return Mc(Uc(a, b, c)) } catch (d) { JSON.stringify(a) } return 2 } function Vc(a) { var b = a[ic.ja]; if (!b) throw Error("Error: No function name given for function call."); return !!Kc[b] } var Uc = function (a, b, c) { c = c || []; var d = {}, e; for (e in a) a.hasOwnProperty(e) && (d[e] = Wc(a[e], b, c)); return d }, Wc = function (a, b, c) { if (Array.isArray(a)) { var d; switch (a[0]) { case "function_id": return a[1]; case "list": d = []; for (var e = 1; e < a.length; e++) d.push(Wc(a[e], b, c)); return d; case "macro": var f = a[1]; if (c[f]) return; var h = Fc[f]; if (!h || b.isBlocked(h)) return; c[f] = !0; var l = String(h[ic.Pf]); try { var m = Uc(h, b, c); m.vtp_gtmEventId = b.id; b.priorityId && (m.vtp_gtmPriorityId = b.priorityId); d = Xc(m, { event: b, index: f, type: 2, name: l }); Qc && (d = Qc.Ik(d, m)) } catch (y) { b.logMacroError && b.logMacroError(y, Number(f), l), d = !1 } c[f] = !1; return d; case "map": d = {}; for (var n = 1; n < a.length; n += 2) d[Wc(a[n], b, c)] = Wc(a[n + 1], b, c); return d; case "template": d = []; for (var p = !1, q = 1; q < a.length; q++) { var r = Wc(a[q], b, c); Nc && (p = p || Nc.yl(r)); d.push(r) } return Nc && p ? Nc.Lk(d) : d.join(""); case "escape": d = Wc(a[1], b, c); if (Nc && Array.isArray(a[1]) && a[1][0] === "macro" && Nc.zl(a)) return Nc.Ql(d); d = String(d); for (var u = 2; u < a.length; u++) pc[a[u]] && (d = pc[a[u]](d)); return d; case "tag": var v = a[1]; if (!Ic[v]) throw Error("Unable to resolve tag reference " + v + "."); return { Ki: a[2], index: v }; case "zb": var t = { arg0: a[2], arg1: a[3], ignore_case: a[5] }; t[ic.ja] = a[1]; var w = Tc(t, b, c), x = !!a[4]; return x || w !== 2 ? x !== (w === 1) : null; default: throw Error("Attempting to expand unknown Value type: " + a[0] + "."); } } return a }, Xc = function (a, b) { var c = a[ic.ja], d = b && b.event; if (!c) throw Error("Error: No function name given for function call."); var e = Kc[c], f = b && b.type === 2 && (d == null ? void 0 : d.reportMacroDiscrepancy) && e && Rc.indexOf(c) !== -1, h = {}, l; for (l in a) a.hasOwnProperty(l) && gb(l, "vtp_") && e && (h[l] = a[l]); e && d && d.cachedModelValues && (h.vtp_gtmCachedValues = d.cachedModelValues); if (b) { if (b.name == null) { var m; a: { var n = b.type, p = b.index; if (p == null) m = ""; else { var q; switch (n) { case 2: q = Fc[p]; break; case 1: q = Ic[p]; break; default: m = ""; break a } var r = q && q[ic.Pf]; m = r ? String(r) : "" } } b.name = m } e && (h.vtp_gtmEntityIndex = b.index, h.vtp_gtmEntityName = b.name) } var u, v, t; if (f && Sc.indexOf(c) === -1) { Sc.push(c); var w = ab(); u = e(h); var x = ab() - w, y = ab(); v = Ec(c, b); t = x - (ab() - y) } else if (e && (u = e(h)), !e || f) v = Ec(c, b); if (f && d) { d.reportMacroDiscrepancy(d.id, c, void 0, !0); var B; a: { var A = u; if (A == void 0 || Array.isArray(A) || bc(A)) B = !0; else { switch (typeof A) { case "boolean": case "number": case "string": case "function": B = !0; break a } B = !1 } } B ? (Array.isArray(u) ? Array.isArray(v) : bc(u) ? bc(v) : typeof u === "function" ? typeof v === "function" : u === v) || d.reportMacroDiscrepancy(d.id, c) : u !== v && d.reportMacroDiscrepancy(d.id, c); t !== void 0 && d.reportMacroDiscrepancy(d.id, c, t) } return e ? u : v }; var Yc = function (a, b, c) { var d; d = Error.call(this, c); this.message = d.message; "stack" in d && (this.stack = d.stack); this.permissionId = a; this.parameters = b; this.name = "PermissionError" }; ta(Yc, Error); Yc.prototype.getMessage = function () { return this.message }; function Zc(a) { function b(r) { for (var u = 0; u < r.length; u++) d[r[u]] = !0 } for (var c = [], d = [], e = $c(a), f = 0; f < Gc.length; f++) { var h = Gc[f], l = ad(h, e); if (l) { for (var m = h.add || [], n = 0; n < m.length; n++) c[m[n]] = !0; b(h.block || []) } else l === null && b(h.block || []); } for (var p = [], q = 0; q < Ic.length; q++) c[q] && !d[q] && (p[q] = !0); return p } function ad(a, b) { for (var c = a["if"] || [], d = 0; d < c.length; d++) { var e = b(c[d]); if (e === 0) return !1; if (e === 2) return null } for (var f = a.unless || [], h = 0; h < f.length; h++) { var l = b(f[h]); if (l === 2) return null; if (l === 1) return !1 } return !0 } function $c(a) { var b = []; return function (c) { b[c] === void 0 && (b[c] = Tc(Hc[c], a)); return b[c] } }; var bd = { Ik: function (a, b) { b[ic.Mg] && typeof a === "string" && (a = b[ic.Mg] === 1 ? a.toLowerCase() : a.toUpperCase()); b.hasOwnProperty(ic.Og) && a === null && (a = b[ic.Og]); b.hasOwnProperty(ic.Qg) && a === void 0 && (a = b[ic.Qg]); b.hasOwnProperty(ic.Pg) && a === !0 && (a = b[ic.Pg]); b.hasOwnProperty(ic.Ng) && a === !1 && (a = b[ic.Ng]); return a } }; function cd(a, b, c) { if (a) for (var d = 0; d < a.length; d++) { var e = void 0, f = "A policy function denied the permission request"; try { e = a[d]("", b, c), f += "." } catch (h) { f = typeof h === "string" ? f + (": " + h) : h instanceof Error ? f + (": " + h.message) : f + "." } if (!e) throw new Yc(b, c, f); } } function dd(a) { var b = (void 0).Ym(); return function () { var c = arguments[0]; if (c) { var d = b.j(c), e = b.j("all"); if (d || e) { var f = a.apply(void 0, Array.prototype.slice.call(arguments, 0)); cd(d, c, f); cd(e, c, f) } } } }; var jd = {}, kd = (jd.uaa = !0, jd.uab = !0, jd.uafvl = !0, jd.uamb = !0, jd.uam = !0, jd.uap = !0, jd.uapv = !0, jd.uaw = !0, jd); var td = ["matches", "webkitMatchesSelector", "mozMatchesSelector", "msMatchesSelector", "oMatchesSelector"], ud = new Ta; var G = { g: { la: "ad_personalization", M: "ad_storage", K: "ad_user_data", P: "analytics_storage", Zd: "region", Ib: "consent_updated", Hg: "wait_for_update", rj: "app_remove", sj: "app_store_refund", tj: "app_store_subscription_cancel", uj: "app_store_subscription_convert", vj: "app_store_subscription_renew", wj: "consent_update", Tg: "add_payment_info", Ug: "add_shipping_info", ic: "add_to_cart", jc: "remove_from_cart", Vg: "view_cart", Jb: "begin_checkout", kc: "select_item", ab: "view_item_list", vb: "select_promotion", cb: "view_promotion", Ea: "purchase", mc: "refund", Ka: "view_item", Wg: "add_to_wishlist", xj: "exception", yj: "first_open", zj: "first_visit", W: "gtag.config", Oa: "gtag.get", Aj: "in_app_purchase", Kb: "page_view", Bj: "screen_view", Cj: "session_start", Dj: "timing_complete", Ej: "track_social", Pc: "user_engagement", Fj: "user_id_update", Qc: "gclid_link_decoration_source", Rc: "gclid_storage_source", eb: "gclgb", Pa: "gclid", be: "gclgs", ce: "gcllp", de: "gclst", aa: "ads_data_redaction", Xg: "gad_source", Yg: "gad_source_src", Zg: "ndclid", ah: "ngad_source", bh: "ngbraid", eh: "ngclid", fh: "ngclsrc", Sc: "gclid_url", gh: "gclsrc", pf: "gbraid", ee: "wbraid", da: "allow_ad_personalization_signals", qf: "allow_custom_scripts", Tc: "allow_direct_google_requests", rf: "allow_display_features", fe: "allow_enhanced_conversions", fb: "allow_google_signals", Aa: "allow_interest_groups", Gj: "app_id", Hj: "app_installer_id", Ij: "app_name", Jj: "app_version", wb: "auid", Kj: "auto_detection_enabled", Lb: "aw_remarketing", tf: "aw_remarketing_only", he: "discount", ie: "aw_feed_country", je: "aw_feed_language", X: "items", ke: "aw_merchant_id", hh: "aw_basket_type", Uc: "campaign_content", Vc: "campaign_id", Wc: "campaign_medium", Xc: "campaign_name", Yc: "campaign", Zc: "campaign_source", bd: "campaign_term", hb: "client_id", ih: "rnd", uf: "consent_update_type", Lj: "content_group", Mj: "content_type", Ta: "conversion_cookie_prefix", dd: "conversion_id", ma: "conversion_linker", jh: "conversion_linker_disabled", Mb: "conversion_api", me: "cookie_deprecation", La: "cookie_domain", Ma: "cookie_expires", Qa: "cookie_flags", nc: "cookie_name", jb: "cookie_path", Fa: "cookie_prefix", Nb: "cookie_update", oc: "country", sa: "currency", vf: "customer_buyer_stage", ne: "customer_lifetime_value", wf: "customer_loyalty", xf: "customer_ltv_bucket", ed: "custom_map", yf: "gcldc", fd: "dclid", Nj: "debug_mode", ba: "developer_id", Oj: "disable_merchant_reported_purchases", gd: "dc_custom_params", Pj: "dc_natural_search", kh: "dynamic_event_settings", lh: "affiliation", oe: "checkout_option", zf: "checkout_step", mh: "coupon", hd: "item_list_name", Af: "list_name", Qj: "promotions", jd: "shipping", Bf: "tax", pe: "engagement_time_msec", qe: "enhanced_client_id", se: "enhanced_conversions", nh: "enhanced_conversions_automatic_settings", te: "estimated_delivery_date", Cf: "euid_logged_in_state", kd: "event_callback", Rj: "event_category", kb: "event_developer_id_string", Sj: "event_label", qc: "event", ue: "event_settings", ve: "event_timeout", Tj: "description", Uj: "fatal", Vj: "experiments", Df: "firebase_id", rc: "first_party_collection", we: "_x_20", lb: "_x_19", oh: "fledge_drop_reason", ph: "fledge", qh: "flight_error_code", rh: "flight_error_message", sh: "fl_activity_category", th: "fl_activity_group", Ef: "fl_advertiser_id", uh: "fl_ar_dedupe", Ff: "match_id", vh: "fl_random_number", wh: "tran", xh: "u", xe: "gac_gclid", sc: "gac_wbraid", yh: "gac_wbraid_multiple_conversions", zh: "ga_restrict_domain", Ah: "ga_temp_client_id", Wj: "ga_temp_ecid", uc: "gdpr_applies", Bh: "geo_granularity", xb: "value_callback", nb: "value_key", vc: "_google_ng", wc: "google_signals", Ch: "google_tld", ye: "groups", Dh: "gsa_experiment_id", Eh: "gtm_up", yb: "iframe_state", ld: "ignore_referrer", Gf: "internal_traffic_results", zb: "is_legacy_converted", Ab: "is_legacy_loaded", ze: "is_passthrough", xc: "_lps", Na: "language", Ae: "legacy_developer_id_string", na: "linker", yc: "accept_incoming", pb: "decorate_forms", R: "domains", Bb: "url_position", Be: "merchant_feed_label", Ce: "merchant_feed_language", De: "merchant_id", Fh: "method", Xj: "name", md: "new_customer", Gh: "non_interaction", Yj: "optimize_id", Hh: "page_hostname", nd: "page_path", Ba: "page_referrer", Ua: "page_title", Ih: "passengers", Jh: "phone_conversion_callback", Zj: "phone_conversion_country_code", Kh: "phone_conversion_css_class", bk: "phone_conversion_ids", Lh: "phone_conversion_number", Mh: "phone_conversion_options", Hf: "_protected_audience_enabled", od: "quantity", Ee: "redact_device_info", If: "referral_exclusion_definition", Cb: "restricted_data_processing", dk: "retoken", ek: "sample_rate", Jf: "screen_name", Db: "screen_resolution", Nh: "_script_source", fk: "search_term", Ga: "send_page_view", Ob: "send_to", zc: "server_container_url", pd: "session_duration", Fe: "session_engaged", Kf: "session_engaged_time", qb: "session_id", Ge: "session_number", He: "_shared_user_id", qd: "delivery_postal_code", zm: "temporary_client_id", Lf: "topmost_url", gk: "tracking_id", Mf: "traffic_type", wa: "transaction_id", Eb: "transport_url", Oh: "trip_type", Pb: "update", Ra: "url_passthrough", Ph: "uptgs", Ie: "_user_agent_architecture", Je: "_user_agent_bitness", Ke: "_user_agent_full_version_list", Le: "_user_agent_mobile", Me: "_user_agent_model", Ne: "_user_agent_platform", Oe: "_user_agent_platform_version", Pe: "_user_agent_wow64", Ca: "user_data", Qh: "user_data_auto_latency", Rh: "user_data_auto_meta", Sh: "user_data_auto_multi", Th: "user_data_auto_selectors", Uh: "user_data_auto_status", rd: "user_data_mode", Qe: "user_data_settings", xa: "user_id", Va: "user_properties", Vh: "_user_region", Re: "us_privacy_string", fa: "value", Wh: "wbraid_multiple_conversions", Bc: "_fpm_parameters", ei: "_host_name", fi: "_in_page_command", gi: "_ip_override", hi: "_is_passthrough_cid", rb: "non_personalized_ads", yd: "_sst_parameters", ib: "conversion_label", oa: "page_location", ob: "global_developer_id_string", Ac: "tc_privacy_string" } }, Bd = {}, Cd = Object.freeze((Bd[G.g.da] = 1, Bd[G.g.rf] = 1, Bd[G.g.fe] = 1, Bd[G.g.fb] = 1, Bd[G.g.X] = 1, Bd[G.g.La] = 1, Bd[G.g.Ma] = 1, Bd[G.g.Qa] = 1, Bd[G.g.nc] = 1, Bd[G.g.jb] = 1, Bd[G.g.Fa] = 1, Bd[G.g.Nb] = 1, Bd[G.g.ed] = 1, Bd[G.g.ba] = 1, Bd[G.g.kh] = 1, Bd[G.g.kd] = 1, Bd[G.g.ue] = 1, Bd[G.g.ve] = 1, Bd[G.g.rc] = 1, Bd[G.g.zh] = 1, Bd[G.g.wc] = 1, Bd[G.g.Ch] = 1, Bd[G.g.ye] = 1, Bd[G.g.Gf] = 1, Bd[G.g.zb] = 1, Bd[G.g.Ab] = 1, Bd[G.g.na] = 1, Bd[G.g.If] = 1, Bd[G.g.Cb] = 1, Bd[G.g.Ga] = 1, Bd[G.g.Ob] = 1, Bd[G.g.zc] = 1, Bd[G.g.pd] = 1, Bd[G.g.Kf] = 1, Bd[G.g.qd] = 1, Bd[G.g.Eb] = 1, Bd[G.g.Pb] = 1, Bd[G.g.Qe] = 1, Bd[G.g.Va] = 1, Bd[G.g.yd] = 1, Bd)); Object.freeze([G.g.oa, G.g.Ba, G.g.Ua, G.g.Na, G.g.Jf, G.g.xa, G.g.Df, G.g.Lj]); var Dd = {}, Ed = Object.freeze((Dd[G.g.rj] = 1, Dd[G.g.sj] = 1, Dd[G.g.tj] = 1, Dd[G.g.uj] = 1, Dd[G.g.vj] = 1, Dd[G.g.yj] = 1, Dd[G.g.zj] = 1, Dd[G.g.Aj] = 1, Dd[G.g.Cj] = 1, Dd[G.g.Pc] = 1, Dd)), Fd = {}, Gd = Object.freeze((Fd[G.g.Tg] = 1, Fd[G.g.Ug] = 1, Fd[G.g.ic] = 1, Fd[G.g.jc] = 1, Fd[G.g.Vg] = 1, Fd[G.g.Jb] = 1, Fd[G.g.kc] = 1, Fd[G.g.ab] = 1, Fd[G.g.vb] = 1, Fd[G.g.cb] = 1, Fd[G.g.Ea] = 1, Fd[G.g.mc] = 1, Fd[G.g.Ka] = 1, Fd[G.g.Wg] = 1, Fd)), Hd = Object.freeze([G.g.da, G.g.Tc, G.g.fb, G.g.Nb, G.g.rc, G.g.ld, G.g.Ga, G.g.Pb]), Id = Object.freeze([].concat(ja(Hd))), Jd = Object.freeze([G.g.Ma, G.g.ve, G.g.pd, G.g.Kf, G.g.pe ]), Kd = Object.freeze([].concat(ja(Jd))), Ld = {}, Md = (Ld[G.g.M] = "1", Ld[G.g.P] = "2", Ld[G.g.K] = "3", Ld[G.g.la] = "4", Ld), Nd = {}, Od = Object.freeze((Nd[G.g.Qc] = 1, Nd[G.g.Rc] = 1, Nd[G.g.da] = 1, Nd[G.g.Tc] = 1, Nd[G.g.fe] = 1, Nd[G.g.Aa] = 1, Nd[G.g.Lb] = 1, Nd[G.g.tf] = 1, Nd[G.g.he] = 1, Nd[G.g.ie] = 1, Nd[G.g.je] = 1, Nd[G.g.X] = 1, Nd[G.g.ke] = 1, Nd[G.g.Ta] = 1, Nd[G.g.ma] = 1, Nd[G.g.La] = 1, Nd[G.g.Ma] = 1, Nd[G.g.Qa] = 1, Nd[G.g.Fa] = 1, Nd[G.g.sa] = 1, Nd[G.g.vf] = 1, Nd[G.g.ne] = 1, Nd[G.g.wf] = 1, Nd[G.g.xf] = 1, Nd[G.g.ba] = 1, Nd[G.g.Oj] = 1, Nd[G.g.se] = 1, Nd[G.g.te] = 1, Nd[G.g.Df] = 1, Nd[G.g.rc] = 1, Nd[G.g.zb] = 1, Nd[G.g.Ab] = 1, Nd[G.g.Na] = 1, Nd[G.g.Be] = 1, Nd[G.g.Ce] = 1, Nd[G.g.De] = 1, Nd[G.g.md] = 1, Nd[G.g.oa] = 1, Nd[G.g.Ba] = 1, Nd[G.g.Jh] = 1, Nd[G.g.Kh] = 1, Nd[G.g.Lh] = 1, Nd[G.g.Mh] = 1, Nd[G.g.Cb] = 1, Nd[G.g.Ga] = 1, Nd[G.g.Ob] = 1, Nd[G.g.zc] = 1, Nd[G.g.qd] = 1, Nd[G.g.wa] = 1, Nd[G.g.Eb] = 1, Nd[G.g.Pb] = 1, Nd[G.g.Ra] = 1, Nd[G.g.Ca] = 1, Nd[G.g.xa] = 1, Nd[G.g.fa] = 1, Nd)), Pd = {}, Qd = Object.freeze((Pd.search = "s", Pd.youtube = "y", Pd.playstore = "p", Pd.shopping = "h", Pd.ads = "a", Pd.maps = "m", Pd)); Object.freeze(G.g); var H = {}, Rd = (H[G.g.Ib] = "gcu", H[G.g.eb] = "gclgb", H[G.g.Pa] = "gclaw", H[G.g.be] = "gclgs", H[G.g.ce] = "gcllp", H[G.g.de] = "gclst", H[G.g.Zg] = "ndclid", H[G.g.ah] = "ngad_source", H[G.g.bh] = "ngbraid", H[G.g.eh] = "ngclid", H[G.g.fh] = "ngclsrc", H[G.g.wb] = "auid", H[G.g.he] = "dscnt", H[G.g.ie] = "fcntr", H[G.g.je] = "flng", H[G.g.ke] = "mid", H[G.g.hh] = "bttype", H[G.g.ib] = "label", H[G.g.Mb] = "capi", H[G.g.me] = "pscdl", H[G.g.sa] = "currency_code", H[G.g.vf] = "clobs", H[G.g.ne] = "vdltv", H[G.g.wf] = "clolo", H[G.g.xf] = "clolb", H[G.g.Nj] = "_dbg", H[G.g.te] = "oedeld", H[G.g.kb] = "edid", H[G.g.oh] = "fdr", H[G.g.ph] = "fledge", H[G.g.xe] = "gac", H[G.g.sc] = "gacgb", H[G.g.yh] = "gacmcov", H[G.g.uc] = "gdpr", H[G.g.ob] = "gdid", H[G.g.vc] = "_ng", H[G.g.Dh] = "gsaexp", H[G.g.yb] = "frm", H[G.g.ze] = "gtm_up", H[G.g.xc] = "lps", H[G.g.Ae] = "did", H[G.g.Be] = "fcntr", H[G.g.Ce] = "flng", H[G.g.De] = "mid", H[G.g.md] = void 0, H[G.g.Ua] = "tiba", H[G.g.Cb] = "rdp", H[G.g.qb] = "ecsid", H[G.g.He] = "ga_uid", H[G.g.qd] = "delopc", H[G.g.Ac] = "gdpr_consent", H[G.g.wa] = "oid", H[G.g.Ph] = "uptgs", H[G.g.Ie] = "uaa", H[G.g.Je] = "uab", H[G.g.Ke] = "uafvl", H[G.g.Le] = "uamb", H[G.g.Me] = "uam", H[G.g.Ne] = "uap", H[G.g.Oe] = "uapv", H[G.g.Pe] = "uaw", H[G.g.Qh] = "ec_lat", H[G.g.Rh] = "ec_meta", H[G.g.Sh] = "ec_m", H[G.g.Th] = "ec_sel", H[G.g.Uh] = "ec_s", H[G.g.rd] = "ec_mode", H[G.g.xa] = "userId", H[G.g.Re] = "us_privacy", H[G.g.fa] = "value", H[G.g.Wh] = "mcov", H[G.g.ei] = "hn", H[G.g.fi] = "gtm_ee", H[G.g.rb] = "npa", H[G.g.dd] = null, H[G.g.Db] = null, H[G.g.Na] = null, H[G.g.X] = null, H[G.g.oa] = null, H[G.g.Ba] = null, H[G.g.Lf] = null, H[G.g.Bc] = null, H[G.g.Qc] = null, H[G.g.Rc] = null, H); function Sd(a, b) { if (a) { var c = a.split("x"); c.length === 2 && (Td(b, "u_w", c[0]), Td(b, "u_h", c[1])) } } function Ud(a, b) { a && (a.length === 2 ? Td(b, "hl", a) : a.length === 5 && (Td(b, "hl", a.substring(0, 2)), Td(b, "gl", a.substring(3, 5)))) } function Vd(a) { var b = Wd; b = b === void 0 ? Xd : b; var c; var d = b; if (a && a.length) { for (var e = [], f = 0; f < a.length; ++f) { var h = a[f]; h && e.push({ item_id: d(h), quantity: h.quantity, value: h.price, start_date: h.start_date, end_date: h.end_date }) } c = e } else c = []; var l; var m = c; if (m) { for (var n = [], p = 0; p < m.length; p++) { var q = m[p], r = []; q && (r.push(Yd(q.value)), r.push(Yd(q.quantity)), r.push(Yd(q.item_id)), r.push(Yd(q.start_date)), r.push(Yd(q.end_date)), n.push("(" + r.join("*") + ")")) } l = n.length > 0 ? n.join("") : "" } else l = ""; return l } function Xd(a) { return Zd(a.item_id, a.id, a.item_name) } function Zd() { for (var a = g(ua.apply(0, arguments)), b = a.next(); !b.done; b = a.next()) { var c = b.value; if (c !== null && c !== void 0) return c } } function $d(a) { if (a && a.length) { for (var b = [], c = 0; c < a.length; ++c) { var d = a[c]; d && d.estimated_delivery_date ? b.push("" + d.estimated_delivery_date) : b.push("") } return b.join(",") } } function Td(a, b, c) { c === void 0 || c === null || c === "" && !kd[b] || (a[b] = c) } function Yd(a) { return typeof a !== "number" && typeof a !== "string" ? "" : a.toString() }; function ae(a) { return be ? C.querySelectorAll(a) : null } function ce(a, b) { if (!be) return null; if (Element.prototype.closest) try { return a.closest(b) } catch (e) { return null } var c = Element.prototype.matches || Element.prototype.webkitMatchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.msMatchesSelector || Element.prototype.oMatchesSelector, d = a; if (!C.documentElement.contains(d)) return null; do { try { if (c.call(d, b)) return d } catch (e) { break } d = d.parentElement || d.parentNode } while (d !== null && d.nodeType === 1); return null } var de = !1; if (C.querySelectorAll) try { var ee = C.querySelectorAll(":root"); ee && ee.length == 1 && ee[0] == C.documentElement && (de = !0) } catch (a) {} var be = de; function fe(a) { switch (a) { case 0: break; case 9: return "e4"; case 6: return "e5"; case 14: return "e6"; default: return "e7" } }; var ge = /^[0-9A-Fa-f]{64}$/; function he(a) { try { return (new TextEncoder).encode(a) } catch (e) { for (var b = [], c = 0; c < a.length; c++) { var d = a.charCodeAt(c); d < 128 ? b.push(d) : d < 2048 ? b.push(192 | d >> 6, 128 | d & 63) : d < 55296 || d >= 57344 ? b.push(224 | d >> 12, 128 | d >> 6 & 63, 128 | d & 63) : (d = 65536 + ((d & 1023) << 10 | a.charCodeAt(++c) & 1023), b.push(240 | d >> 18, 128 | d >> 12 & 63, 128 | d >> 6 & 63, 128 | d & 63)) } return new Uint8Array(b) } } function ie(a) { if (a === "" || a === "e0") return Promise.resolve(a); var b; if ((b = z.crypto) == null ? 0 : b.subtle) { if (ge.test(a)) return Promise.resolve(a); try { var c = he(a); return z.crypto.subtle.digest("SHA-256", c).then(function (d) { var e = Array.from(new Uint8Array(d)).map(function (f) { return String.fromCharCode(f) }).join(""); return z.btoa(e).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "") }).catch(function () { return "e2" }) } catch (d) { return Promise.resolve("e2") } } else return Promise.resolve("e1") }; function je(a, b) { if (a === "") return b; var c = Number(a); return isNaN(c) ? b : c }; var ke = []; function le(a) { switch (a) { case 0: return 0; case 44: return 1; case 45: return 2; case 46: return 9; case 51: return 3; case 66: return 4; case 89: return 5; case 91: return 6; case 109: return 7; case 110: return 11; case 111: return 8 } } function me(a, b) { ke[a] = b; var c = le(a); c !== void 0 && (Ia[c] = b) } function M(a) { me(a, !0) } M(33); M(29); M(30); M(31); M(32); M(47); M(81); M(16); M(118); M(15); M(124); M(117); M(67); M(92); M(6); M(48); M(4); M(79); M(85); M(113); M(77); M(72); M(90); M(129); M(104); M(105); M(125); M(91); M(5); me(19, !1), M(20); M(109); Ja[1] = je('1', 6E4); Ja[3] = je('10', 1); Ja[2] = je('', 50); M(25); M(13); M(71); M(114); var oe = !1; M(8); M(96); M(60); M(128); M(50); M(111); M(99); M(23); M(51); M(63); M(110); M(74); M(76); M(87); M(54); M(52); M(100); M(108); function O(a) { return !!ke[a] } function ne(a, b) { for (var c = !1, d = !1, e = 0; c === d;) if (c = ((Math.random() * 4294967296 | 0) & 1) === 0, d = ((Math.random() * 4294967296 | 0) & 1) === 0, e++, e > 30) return; c ? M(b) : M(a) } function P(a) { Fa("GTM", a) }; var Ue = {}, Ve = z.google_tag_manager = z.google_tag_manager || {}; Ue.Qf = "4b70"; Ue.xd = Number("0") || 0; Ue.ub = "dataLayer"; Ue.wm = "ChEIgLnRuQYQuMul2f7nutb+ARIZAPJl6gOBvK1S8pAmqlx75wMAIzYKR3apJhoC1o0\x3d"; var We = { __cl: 1, __ecl: 1, __ehl: 1, __evl: 1, __fal: 1, __fil: 1, __fsl: 1, __hl: 1, __jel: 1, __lcl: 1, __sdl: 1, __tl: 1, __ytl: 1 }, Xe = { __paused: 1, __tg: 1 }, Ye; for (Ye in We) We.hasOwnProperty(Ye) && (Xe[Ye] = 1); var Ze = Xa(""), $e, af = !1; af = !0; $e = af; var bf, cf = !1; bf = cf; var df, ef = !1; df = ef; Ue.ae = "www.googletagmanager.com"; var ff = "" + Ue.ae + ($e ? "/gtag/js" : "/gtm.js"), gf = null, hf = null, jf = {}, kf = {}; function lf() { var a = Ve.sequence || 1; Ve.sequence = a + 1; return a } Ue.pj = ""; var mf = ""; Ue.Rf = mf; var nf = new function () { this.j = ""; this.D = !1; this.C = 0; this.N = this.T = this.Ha = this.H = "" }; function of () { var a = nf.H.length; return nf.H[a - 1] === "/" ? nf.H.substring(0, a - 1) : nf.H } function pf() { return nf.D && nf.C !== 1 } function qf(a) { for (var b = {}, c = g(a.split("|")), d = c.next(); !d.done; d = c.next()) b[d.value] = !0; return b } var rf = new Ta, sf = {}, tf = {}, wf = { name: Ue.ub, set: function (a, b) { cc(ib(a, b), sf); uf() }, get: function (a) { return vf(a, 2) }, reset: function () { rf = new Ta; sf = {}; uf() } }; function vf(a, b) { return b != 2 ? rf.get(a) : xf(a) } function xf(a) { var b, c = a.split("."); b = b || []; for (var d = sf, e = 0; e < c.length; e++) { if (d === null) return !1; if (d === void 0) break; d = d[c[e]]; if (b.indexOf(d) !== -1) return } return d } function yf(a, b) { tf.hasOwnProperty(a) || (rf.set(a, b), cc(ib(a, b), sf), uf()) } function uf(a) { Ua(tf, function (b, c) { rf.set(b, c); cc(ib(b), sf); cc(ib(b, c), sf); a && delete tf[b] }) } function zf(a, b) { var c, d = (b === void 0 ? 2 : b) !== 1 ? xf(a) : rf.get(a); $b(d) === "array" || $b(d) === "object" ? c = cc(d, null) : c = d; return c }; var Ef = /:[0-9]+$/, Ff = /^\d+\.fls\.doubleclick\.net$/; function Gf(a, b, c) { for (var d = g(a.split("&")), e = d.next(); !e.done; e = d.next()) { var f = g(e.value.split("=")), h = f.next().value, l = ia(f); if (decodeURIComponent(h.replace(/\+/g, " ")) === b) { var m = l.join("="); return c ? m : decodeURIComponent(m.replace(/\+/g, " ")) } } } function Hf(a, b, c, d, e) { b && (b = String(b).toLowerCase()); if (b === "protocol" || b === "port") a.protocol = If(a.protocol) || If(z.location.protocol); b === "port" ? a.port = String(Number(a.hostname ? a.port : z.location.port) || (a.protocol === "http" ? 80 : a.protocol === "https" ? 443 : "")) : b === "host" && (a.hostname = (a.hostname || z.location.hostname).replace(Ef, "").toLowerCase()); return Jf(a, b, c, d, e) } function Jf(a, b, c, d, e) { var f, h = If(a.protocol); b && (b = String(b).toLowerCase()); switch (b) { case "url_no_fragment": f = Kf(a); break; case "protocol": f = h; break; case "host": f = a.hostname.replace(Ef, "").toLowerCase(); if (c) { var l = /^www\d*\./.exec(f); l && l[0] && (f = f.substring(l[0].length)) } break; case "port": f = String(Number(a.port) || (h === "http" ? 80 : h === "https" ? 443 : "")); break; case "path": a.pathname || a.hostname || Fa("TAGGING", 1); f = a.pathname.substring(0, 1) === "/" ? a.pathname : "/" + a.pathname; var m = f.split("/"); (d || []).indexOf(m[m.length - 1]) >= 0 && (m[m.length - 1] = ""); f = m.join("/"); break; case "query": f = a.search.replace("?", ""); e && (f = Gf(f, e)); break; case "extension": var n = a.pathname.split("."); f = n.length > 1 ? n[n.length - 1] : ""; f = f.split("/")[0]; break; case "fragment": f = a.hash.replace("#", ""); break; default: f = a && a.href } return f } function If(a) { return a ? a.replace(":", "").toLowerCase() : "" } function Kf(a) { var b = ""; if (a && a.href) { var c = a.href.indexOf("#"); b = c < 0 ? a.href : a.href.substring(0, c) } return b } var Lf = {}, Mf = 0; function Nf(a) { var b = Lf[a]; if (!b) { var c = C.createElement("a"); a && (c.href = a); var d = c.pathname; d[0] !== "/" && (a || Fa("TAGGING", 1), d = "/" + d); var e = c.hostname.replace(Ef, ""); b = { href: c.href, protocol: c.protocol, host: c.host, hostname: e, pathname: d, search: c.search, hash: c.hash, port: c.port }; Mf < 5 && (Lf[a] = b, Mf++) } return b } function Of(a) { var b = Nf(a); return nb(b) } function Pf(a) { var b = Nf(z.location.href), c = Hf(b, "host", !1); if (c && c.match(Ff)) { var d = Hf(b, "path"); if (d) { var e = d.split(a + "="); if (e.length > 1) return e[1].split(";")[0].split("?")[0] } } } function Qf(a) { for (var b = 0; b < 3; ++b) try { var c = decodeURIComponent(a).replace(/\+/g, " "); if (c === a) break; a = c } catch (d) { return "" } return a }; var Rf = { "https://www.google.com": "/g", "https://www.googleadservices.com": "/as", "https://pagead2.googlesyndication.com": "/gs" }; function Sf(a, b) { if (a) { var c = "" + a; c.indexOf("http://") !== 0 && c.indexOf("https://") !== 0 && (c = "https://" + c); c[c.length - 1] === "/" && (c = c.substring(0, c.length - 1)); return Nf("" + c + b).href } } function Tf(a, b) { if (pf() || bf) return Sf(a, b) } function Uf() { return !!Ue.Rf && Ue.Rf.split("@@").join("") !== "SGTM_TOKEN" } function Vf(a) { for (var b = g([G.g.zc, G.g.Eb]), c = b.next(); !c.done; c = b.next()) { var d = R(a, c.value); if (d) return d } } function Wf(a, b) { return pf() ? "" + of () + (b ? Rf[a] || "" : "") : a }; function Xf(a) { var b = String(a[ic.ja] || "").replace(/_/g, ""); return gb(b, "cvt") ? "cvt" : b } var Yf = z.location.search.indexOf("?gtm_latency=") >= 0 || z.location.search.indexOf(">m_latency=") >= 0; var Zf = { sampleRate: "0.005000", lj: "", tm: "0.01" }, $f = Math.random(), ag; if (!(ag = Yf)) { var bg = Zf.sampleRate; ag = $f < Number(bg) } var cg = ag, dg = (Ab == null ? void 0 : Ab.includes("gtm_debug=d")) || Yf || $f >= 1 - Number(Zf.tm); var eg = /gtag[.\/]js/, fg = /gtm[.\/]js/, gg = !1; function hg(a) { if (gg) return "1"; var b, c = (b = a.scriptElement) == null ? void 0 : b.src; if (c) { if (eg.test(c)) return "3"; if (fg.test(c)) return "2" } return "0" } function ig(a) { var b = jg(); b.pending || (b.pending = []); Qa(b.pending, function (c) { return c.target.ctid === a.ctid && c.target.isDestination === a.isDestination }) || b.pending.push({ target: a, onLoad: void 0 }) } function kg() { var a = z.google_tags_first_party; Array.isArray(a) || (a = []); for (var b = {}, c = g(a), d = c.next(); !d.done; d = c.next()) b[d.value] = !0; return Object.freeze(b) } var lg = function () { this.container = {}; this.destination = {}; this.canonical = {}; this.pending = []; this.siloed = []; this.injectedFirstPartyContainers = {}; this.injectedFirstPartyContainers = kg() }; function jg() { var a = Bb("google_tag_data", {}), b = a.tidr; b && typeof b === "object" || (b = new lg, a.tidr = b); var c = b; c.container || (c.container = {}); c.destination || (c.destination = {}); c.canonical || (c.canonical = {}); c.pending || (c.pending = []); c.siloed || (c.siloed = []); c.injectedFirstPartyContainers || (c.injectedFirstPartyContainers = kg()); return c }; var mg = {}, ng = !1, og = { ctid: "", canonicalContainerId: "", Ti: "", Ui: "" }; mg.vd = Xa(""); function pg() { return mg.vd && qg().some(function (a) { return a === og.ctid }) } function rg() { var a = sg(); return ng ? a.map(tg) : a } function ug() { var a = qg(); return ng ? a.map(tg) : a } function vg() { return wg(og.ctid) } function xg() { return wg(og.canonicalContainerId || "_" + og.ctid) } function sg() { return og.Ti ? og.Ti.split("|") : [og.ctid] } function qg() { return og.Ui ? og.Ui.split("|") : [] } function yg() { var a = zg(Ag()), b = a && a.parent; if (b) return zg(b) } function zg(a) { var b = jg(); return a.isDestination ? b.destination[a.ctid] : b.container[a.ctid] } function wg(a) { return ng ? tg(a) : a } function tg(a) { return "siloed_" + a } function Bg(a) { return ng ? Cg(a) : a } function Cg(a) { a = String(a); return gb(a, "siloed_") ? a.substring(7) : a } function Dg() { var a = !1; if (a) { var b = jg(); if (b.siloed) { for (var c = [], d = sg().map(tg), e = qg().map(tg), f = {}, h = 0; h < b.siloed.length; f = { Ze: void 0 }, h++) f.Ze = b.siloed[h], !ng && Qa(f.Ze.isDestination ? e : d, function (l) { return function (m) { return m === l.Ze.ctid } }(f)) ? ng = !0 : c.push(f.Ze); b.siloed = c } } } function Eg() { var a = jg(); if (a.pending) { for (var b, c = [], d = !1, e = rg(), f = ug(), h = {}, l = 0; l < a.pending.length; h = { Td: void 0 }, l++) h.Td = a.pending[l], Qa(h.Td.target.isDestination ? f : e, function (m) { return function (n) { return n === m.Td.target.ctid } }(h)) ? d || (b = h.Td.onLoad, d = !0) : c.push(h.Td); a.pending = c; if (b) try { b(xg()) } catch (m) {} } } function Fg() { for (var a = og.ctid, b = rg(), c = ug(), d = function (n, p) { var q = { canonicalContainerId: og.canonicalContainerId, scriptContainerId: a, state: 2, containers: b.slice(), destinations: c.slice() }; zb && (q.scriptElement = zb); Ab && (q.scriptSource = Ab); if (yg() === void 0) { var r; a: { if ((q.scriptContainerId || "").indexOf("GTM-") >= 0) { var u; b: { var v, t = (v = q.scriptElement) == null ? void 0 : v.src; if (t) { for (var w = nf.D, x = Nf(t), y = w ? x.pathname : "" + x.hostname + x.pathname, B = C.scripts, A = "", E = 0; E < B.length; ++E) { var J = B[E]; if (!(J.innerHTML.length === 0 || !w && J.innerHTML.indexOf(q.scriptContainerId || "SHOULD_NOT_BE_SET") < 0 || J.innerHTML.indexOf(y) < 0)) { if (J.innerHTML.indexOf("(function(w,d,s,l,i)") >= 0) { u = String(E); break b } A = String(E) } } if (A) { u = A; break b } } u = void 0 } var I = u; if (I) { gg = !0; r = I; break a } } var F = [].slice.call(document.scripts);r = q.scriptElement ? String(F.indexOf(q.scriptElement)) : "-1" } q.htmlLoadOrder = r; q.loadScriptType = hg(q) } var S = p ? e.destination : e.container, K = S[n]; K ? (p && K.state === 0 && P(93), Object.assign(K, q)) : S[n] = q }, e = jg(), f = g(b), h = f.next(); !h.done; h = f.next()) d(h.value, !1); for (var l = g(c), m = l.next(); !m.done; m = l.next()) d(m.value, !0); e.canonical[xg()] = {}; Eg() } function Ag() { return { ctid: vg(), isDestination: mg.vd } } function Gg(a) { var b = jg(); (b.siloed = b.siloed || []).push(a) } function Hg() { var a = jg().container, b; for (b in a) if (a.hasOwnProperty(b) && a[b].state === 1) return !0; return !1 } function Ig() { var a = {}; Ua(jg().destination, function (b, c) { c.state === 0 && (a[Cg(b)] = c) }); return a } function Jg(a) { return !!(a && a.parent && a.context && a.context.source === 1 && a.parent.ctid.indexOf("GTM-") !== 0) } var Kg = "/td?id=" + og.ctid, Lg = ["v", "t", "pid", "dl", "tdp"], Mg = ["mcc"], Ng = {}, Og = {}; function Pg(a, b, c) { Og[a] = b; (c === void 0 || c) && Qg(a) } function Qg(a, b) { if (Ng[a] === void 0 || (b === void 0 ? 0 : b)) Ng[a] = !0 } function Rg(a) { a = a === void 0 ? !1 : a; var b = Object.keys(Ng).filter(function (c) { return Ng[c] === !0 && Og[c] !== void 0 && (a || !Mg.includes(c)) }).map(function (c) { var d = Og[c]; typeof d === "function" && (d = d()); return d ? "&" + c + "=" + d : "" }).join(""); return "" + Wf("https://www.googletagmanager.com") + Kg + ("" + b + "&z=0") } function Sg() { Object.keys(Ng).forEach(function (a) { Lg.indexOf(a) < 0 && (Ng[a] = !1) }) } function Tg(a) { a = a === void 0 ? !1 : a; if (dg && og.ctid) { var b = Rg(a); a ? Sb(b) : Jb(b); Sg() } } function Ug() { Object.keys(Ng).filter(function (a) { return Ng[a] && !Lg.includes(a) }).length > 0 && Tg(!0) } var Vg = Ra(); function Wg() { Vg = Ra() } function Xg() { Pg("v", "3"); Pg("t", "t"); Pg("pid", function () { return String(Vg) }); Kb(z, "pagehide", Ug); z.setInterval(Wg, 864E5) } function Yg() { var a = Bb("google_tag_data", {}); return a.ics = a.ics || new Zg } var Zg = function () { this.entries = {}; this.waitPeriodTimedOut = this.wasSetLate = this.accessedAny = this.accessedDefault = this.usedImplicit = this.usedUpdate = this.usedDefault = this.usedDeclare = this.active = !1; this.j = [] }; Zg.prototype.default = function (a, b, c, d, e, f, h) { this.usedDefault || this.usedDeclare || !this.accessedDefault && !this.accessedAny || (this.wasSetLate = !0); this.usedDefault = this.active = !0; Fa("TAGGING", 19); b == null ? Fa("TAGGING", 18) : $g(this, a, b === "granted", c, d, e, f, h) }; Zg.prototype.waitForUpdate = function (a, b, c) { for (var d = 0; d < a.length; d++) $g(this, a[d], void 0, void 0, "", "", b, c) }; var $g = function (a, b, c, d, e, f, h, l) { var m = a.entries, n = m[b] || {}, p = n.region, q = d && k(d) ? d.toUpperCase() : void 0; e = e.toUpperCase(); f = f.toUpperCase(); if (e === "" || q === f || (q === e ? p !== f : !q && !p)) { var r = !!(h && h > 0 && n.update === void 0), u = { region: q, declare_region: n.declare_region, implicit: n.implicit, default: c !== void 0 ? c : n.default, declare: n.declare, update: n.update, quiet: r }; if (e !== "" || n.default !== !1) m[b] = u; r && z.setTimeout(function () { m[b] === u && u.quiet && (Fa("TAGGING", 2), a.waitPeriodTimedOut = !0, a.clearTimeout(b, void 0, l), a.notifyListeners()) }, h) } }; aa = Zg.prototype; aa.clearTimeout = function (a, b, c) { var d = [a], e = c.delegatedConsentTypes, f; for (f in e) e.hasOwnProperty(f) && e[f] === a && d.push(f); var h = this.entries[a] || {}, l = this.getConsentState(a, c); if (h.quiet) { h.quiet = !1; for (var m = g(d), n = m.next(); !n.done; n = m.next()) ah(this, n.value) } else if (b !== void 0 && l !== b) for (var p = g(d), q = p.next(); !q.done; q = p.next()) ah(this, q.value) }; aa.update = function (a, b, c) { this.usedDefault || this.usedDeclare || this.usedUpdate || !this.accessedAny || (this.wasSetLate = !0); this.usedUpdate = this.active = !0; if (b != null) { var d = this.getConsentState(a, c), e = this.entries; (e[a] = e[a] || {}).update = b === "granted"; this.clearTimeout(a, d, c) } }; aa.declare = function (a, b, c, d, e) { this.usedDeclare = this.active = !0; var f = this.entries, h = f[a] || {}, l = h.declare_region, m = c && k(c) ? c.toUpperCase() : void 0; d = d.toUpperCase(); e = e.toUpperCase(); if (d === "" || m === e || (m === d ? l !== e : !m && !l)) { var n = { region: h.region, declare_region: m, declare: b === "granted", implicit: h.implicit, default: h.default, update: h.update, quiet: h.quiet }; if (d !== "" || h.declare !== !1) f[a] = n } }; aa.implicit = function (a, b) { this.usedImplicit = !0; var c = this.entries, d = c[a] = c[a] || {}; d.implicit !== !1 && (d.implicit = b === "granted") }; aa.getConsentState = function (a, b) { var c = this.entries, d = c[a] || {}, e = d.update; if (e !== void 0) return e ? 1 : 2; if (b.usedContainerScopedDefaults) { var f = b.containerScopedDefaults[a]; if (f === 3) return 1; if (f === 2) return 2 } else if (e = d.default, e !== void 0) return e ? 1 : 2; if (b == null ? 0 : b.delegatedConsentTypes.hasOwnProperty(a)) { var h = b.delegatedConsentTypes[a], l = c[h] || {}; e = l.update; if (e !== void 0) return e ? 1 : 2; if (b.usedContainerScopedDefaults) { var m = b.containerScopedDefaults[h]; if (m === 3) return 1; if (m === 2) return 2 } else if (e = l.default, e !== void 0) return e ? 1 : 2 } e = d.declare; if (e !== void 0) return e ? 1 : 2; e = d.implicit; return e !== void 0 ? e ? 3 : 4 : 0 }; aa.addListener = function (a, b) { this.j.push({ consentTypes: a, Sk: b }) }; var ah = function (a, b) { for (var c = 0; c < a.j.length; ++c) { var d = a.j[c]; Array.isArray(d.consentTypes) && d.consentTypes.indexOf(b) !== -1 && (d.Vi = !0) } }; Zg.prototype.notifyListeners = function (a, b) { for (var c = 0; c < this.j.length; ++c) { var d = this.j[c]; if (d.Vi) { d.Vi = !1; try { d.Sk({ consentEventId: a, consentPriorityId: b }) } catch (e) {} } } }; var bh = !1, ch = !1, dh = {}, eh = { delegatedConsentTypes: {}, corePlatformServices: {}, usedCorePlatformServices: !1, selectedAllCorePlatformServices: !1, containerScopedDefaults: (dh.ad_storage = 1, dh.analytics_storage = 1, dh.ad_user_data = 1, dh.ad_personalization = 1, dh), usedContainerScopedDefaults: !1 }; function fh(a) { var b = Yg(); b.accessedAny = !0; return (k(a) ? [a] : a).every(function (c) { switch (b.getConsentState(c, eh)) { case 1: case 3: return !0; case 2: case 4: return !1; default: return !0 } }) } function gh(a) { var b = Yg(); b.accessedAny = !0; return b.getConsentState(a, eh) } function hh(a) { for (var b = {}, c = g(a), d = c.next(); !d.done; d = c.next()) { var e = d.value; b[e] = eh.corePlatformServices[e] !== !1 } return b } function ih(a) { var b = Yg(); b.accessedAny = !0; return !(b.entries[a] || {}).quiet } function jh() { if (!Ka(10)) return !1; var a = Yg(); a.accessedAny = !0; if (a.active) return !0; if (!eh.usedContainerScopedDefaults) return !1; for (var b = g(Object.keys(eh.containerScopedDefaults)), c = b.next(); !c.done; c = b.next()) if (eh.containerScopedDefaults[c.value] !== 1) return !0; return !1 } function kh(a, b) { Yg().addListener(a, b) } function lh(a, b) { Yg().notifyListeners(a, b) } function mh(a, b) { function c() { for (var e = 0; e < b.length; e++) if (!ih(b[e])) return !0; return !1 } if (c()) { var d = !1; kh(b, function (e) { d || c() || (d = !0, a(e)) }) } else a({}) } function nh(a, b) { function c() { for (var l = [], m = 0; m < e.length; m++) { var n = e[m]; fh(n) && !f[n] && l.push(n) } return l } function d(l) { for (var m = 0; m < l.length; m++) f[l[m]] = !0 } var e = k(b) ? [b] : b, f = {}, h = c(); h.length !== e.length && (d(h), kh(e, function (l) { function m(q) { q.length !== 0 && (d(q), l.consentTypes = q, a(l)) } var n = c(); if (n.length !== 0) { var p = Object.keys(f).length; n.length + p >= e.length ? m(n) : z.setTimeout(function () { m(c()) }, 500) } })) }; var oh = ["ad_storage", "analytics_storage", "ad_user_data", "ad_personalization"], ph = !1, qh = !1; function rh() { !qh && ph && (oh.some(function (a) { return eh.containerScopedDefaults[a] !== 1 }) || sh("mbc")); qh = !0 } function sh(a) { dg && (Pg(a, "1"), Tg()) } function th(a) { Fa("HEALTH", a) }; var uh; try { uh = JSON.parse(Ca("eyIwIjoiQlIiLCIxIjoiQlItU1AiLCIyIjpmYWxzZSwiMyI6Imdvb2dsZS5jb20uYnIiLCI0IjoiIiwiNSI6ZmFsc2UsIjYiOmZhbHNlLCI3IjoiYWRfc3RvcmFnZXxhbmFseXRpY3Nfc3RvcmFnZXxhZF91c2VyX2RhdGF8YWRfcGVyc29uYWxpemF0aW9uIn0")) } catch (a) { P(123), th(2), uh = {} } function vh() { return uh["1"] || "" } function wh() { var a = !1; return a } function xh() { var a = ""; return a } function yh() { var a = !1; return a } function zh() { var a = ""; return a } var Ah = [G.g.M, G.g.P, G.g.K, G.g.la], Bh, Ch; function Dh(a) { for (var b = a[G.g.Zd], c = Array.isArray(b) ? b : [b], d = { Id: 0 }; d.Id < c.length; d = { Id: d.Id }, ++d.Id) Ua(a, function (e) { return function (f, h) { if (f !== G.g.Zd) { var l = c[e.Id], m = uh["0"] || "", n = vh(); ch = !0; bh && Fa("TAGGING", 20); Yg().declare(f, h, l, m, n) } } }(d)) } function Eh(a) { rh(); !Ch && Bh && sh("crc"); Ch = !0; var b = a[G.g.Zd]; b && P(40); var c = a[G.g.Hg]; c && P(41); for (var d = Array.isArray(b) ? b : [b], e = { Jd: 0 }; e.Jd < d.length; e = { Jd: e.Jd }, ++e.Jd) Ua(a, function (f) { return function (h, l) { if (h !== G.g.Zd && h !== G.g.Hg) { var m = d[f.Jd], n = Number(c), p = uh["0"] || "", q = vh(); n = n === void 0 ? 0 : n; bh = !0; ch && Fa("TAGGING", 20); Yg().default(h, l, m, p, q, n, eh) } } }(e)) } function Fh(a, b) { rh(); Bh = !0; Ua(a, function (c, d) { bh = !0; ch && Fa("TAGGING", 20); Yg().update(c, d, eh) }); lh(b.eventId, b.priorityId) } function T(a) { Array.isArray(a) || (a = [a]); return a.every(function (b) { return fh(b) }) } function Gh(a, b) { kh(a, b) } function Hh(a, b) { nh(a, b) } function Ih(a, b) { mh(a, b) } function Jh() { var a = [G.g.M, G.g.la, G.g.K]; Yg().waitForUpdate(a, 500, eh) } function Kh(a) { for (var b = g(a), c = b.next(); !c.done; c = b.next()) { var d = c.value; Yg().clearTimeout(d, void 0, eh) } lh() } var Lh = !1, Mh = []; var Nh = { xi: "service_worker_endpoint", zi: "shared_user_id", Ai: "shared_user_id_requested", Xe: "shared_user_id_source", lf: "cookie_deprecation_label" }, Oh; function Ph(a) { if (!Oh) { Oh = {}; for (var b = g(Object.keys(Nh)), c = b.next(); !c.done; c = b.next()) Oh[Nh[c.value]] = !0 } return !!Oh[a] } function Qh(a, b) { b = b === void 0 ? !1 : b; if (Ph(a)) { var c, d, e = (d = (c = Bb("google_tag_data", {})).xcd) != null ? d : c.xcd = {}; if (e[a]) return e[a]; if (b) { var f = void 0, h = 1, l = {}, m = { set: function (n) { f = n; m.notify() }, get: function () { return f }, subscribe: function (n) { l[String(h)] = n; return h++ }, unsubscribe: function (n) { var p = String(n); return l.hasOwnProperty(p) ? (delete l[p], !0) : !1 }, notify: function () { for (var n = g(Object.keys(l)), p = n.next(); !p.done; p = n.next()) { var q = p.value; try { l[q](a, f) } catch (r) {} } } }; return e[a] = m } } } function Rh(a, b) { var c = Qh(a, !0); c && c.set(b) } function Sh(a) { var b; return (b = Qh(a)) == null ? void 0 : b.get() } function Wh(a) { var b = Nh.Xe; if (typeof a === "function") { var c; return (c = Qh(b, !0)) == null ? void 0 : c.subscribe(a) } } function Xh(a) { var b = Qh(Nh.Xe); b && b.unsubscribe(a) }; function Yh() { if (Ve.pscdl !== void 0) Sh(Nh.lf) === void 0 && Rh(Nh.lf, Ve.pscdl); else { var a = function (c) { Ve.pscdl = c; Rh(Nh.lf, c) }, b = function () { a("error") }; try { xb.cookieDeprecationLabel ? (a("pending"), xb.cookieDeprecationLabel.getValue().then(a).catch(b)) : a("noapi") } catch (c) { b(c) } } }; function Zh(a, b) { b && Ua(b, function (c, d) { typeof d !== "object" && d !== void 0 && (a["1p." + c] = String(d)) }) }; var $h = /[A-Z]+/, ai = /\s/; function bi(a, b) { if (k(a)) { a = Za(a); var c = a.indexOf("-"); if (!(c < 0)) { var d = a.substring(0, c); if ($h.test(d)) { var e = a.substring(c + 1), f; if (b) { var h = function (n) { var p = n.indexOf("/"); return p < 0 ? [n] : [n.substring(0, p), n.substring(p + 1)] }; f = h(e); if (d === "DC" && f.length === 2) { var l = h(f[1]); l.length === 2 && (f[1] = l[0], f.push(l[1])) } } else { f = e.split("/"); for (var m = 0; m < f.length; m++) if (!f[m] || ai.test(f[m]) && (d !== "AW" || m !== 1)) return } return { id: a, prefix: d, destinationId: d + "-" + f[0], ids: f } } } } } function ci(a, b) { for (var c = {}, d = 0; d < a.length; ++d) { var e = bi(a[d], b); e && (c[e.id] = e) } di(c); var f = []; Ua(c, function (h, l) { f.push(l) }); return f } function di(a) { var b = [], c; for (c in a) if (a.hasOwnProperty(c)) { var d = a[c]; d.prefix === "AW" && d.ids[ei[2]] && b.push(d.destinationId) } for (var e = 0; e < b.length; ++e) delete a[b[e]] } var fi = {}, ei = (fi[0] = 0, fi[1] = 0, fi[2] = 1, fi[3] = 0, fi[4] = 1, fi[5] = 2, fi[6] = 0, fi[7] = 0, fi[8] = 0, fi); var gi = Number('') || 500, hi = {}, ii = {}, ji = { initialized: 11, complete: 12, interactive: 13 }, ki = {}, li = Object.freeze((ki[G.g.Ga] = !0, ki)), mi = C.location.search.indexOf("?gtm_diagnostics=") >= 0 || C.location.search.indexOf(">m_diagnostics=") >= 0, ni = void 0; function oi(a, b) { if (b.length && dg) { var c; (c = hi)[a] != null || (c[a] = []); ii[a] != null || (ii[a] = []); var d = b.filter(function (e) { return !ii[a].includes(e) }); hi[a].push.apply(hi[a], ja(d)); ii[a].push.apply(ii[a], ja(d)); !ni && d.length > 0 && (Qg("tdc", !0), ni = z.setTimeout(function () { Tg(); hi = {}; ni = void 0 }, gi)) } } function pi(a, b, c) { if (dg && a === "config") { var d, e = (d = bi(b)) == null ? void 0 : d.ids; if (!(e && e.length > 1)) { var f, h = Bb("google_tag_data", {}); h.td || (h.td = {}); f = h.td; var l = cc(c.H); cc(c.j, l); var m = [], n; for (n in f) if (f.hasOwnProperty(n)) { var p = qi(f[n], l); p.length && (mi && console.log(p), m.push(n)) } m.length && (oi(b, m), Fa("TAGGING", ji[C.readyState] || 14)); f[b] = l } } } function ri(a, b) { var c = {}, d; for (d in b) b.hasOwnProperty(d) && (c[d] = !0); for (var e in a) a.hasOwnProperty(e) && (c[e] = !0); return c } function qi(a, b, c, d) { c = c === void 0 ? {} : c; d = d === void 0 ? "" : d; if (a === b) return []; var e = function (r, u) { var v; $b(u) === "object" ? v = u[r] : $b(u) === "array" && (v = u[r]); return v === void 0 ? li[r] : v }, f = ri(a, b), h; for (h in f) if (f.hasOwnProperty(h)) { var l = (d ? d + "." : "") + h, m = e(h, a), n = e(h, b), p = $b(m) === "object" || $b(m) === "array", q = $b(n) === "object" || $b(n) === "array"; if (p && q) qi(m, n, c, l); else if (p || q || m !== n) c[l] = !0 } return Object.keys(c) } function si() { Pg("tdc", function () { ni && (z.clearTimeout(ni), ni = void 0); var a = [], b; for (b in hi) hi.hasOwnProperty(b) && a.push(b + "*" + hi[b].join(".")); return a.length ? a.join("!") : void 0 }, !1) }; var ti = function (a, b, c, d, e, f, h, l, m, n, p) { this.eventId = a; this.priorityId = b; this.j = c; this.N = d; this.D = e; this.H = f; this.C = h; this.eventMetadata = l; this.onSuccess = m; this.onFailure = n; this.isGtmEvent = p }, ui = function (a, b) { var c = []; switch (b) { case 3: c.push(a.j); c.push(a.N); c.push(a.D); c.push(a.H); c.push(a.C); break; case 2: c.push(a.j); break; case 1: c.push(a.N); c.push(a.D); c.push(a.H); c.push(a.C); break; case 4: c.push(a.j), c.push(a.N), c.push(a.D), c.push(a.H) } return c }, R = function (a, b, c, d) { for (var e = g(ui(a, d === void 0 ? 3 : d)), f = e.next(); !f.done; f = e.next()) { var h = f.value; if (h[b] !== void 0) return h[b] } return c }, vi = function (a) { for (var b = {}, c = ui(a, 4), d = g(c), e = d.next(); !e.done; e = d.next()) for (var f = Object.keys(e.value), h = g(f), l = h.next(); !l.done; l = h.next()) b[l.value] = 1; return Object.keys(b) }, wi = function (a, b, c) { function d(n) { bc(n) && Ua(n, function (p, q) { f = !0; e[p] = q }) } var e = {}, f = !1, h = ui(a, c === void 0 ? 3 : c); h.reverse(); for (var l = g(h), m = l.next(); !m.done; m = l.next()) d(m.value[b]); return f ? e : void 0 }, xi = function (a) { for (var b = [G.g.Yc, G.g.Uc, G.g.Vc, G.g.Wc, G.g.Xc, G.g.Zc, G.g.bd ], c = ui(a, 3), d = g(c), e = d.next(); !e.done; e = d.next()) { for (var f = e.value, h = {}, l = !1, m = g(b), n = m.next(); !n.done; n = m.next()) { var p = n.value; f[p] !== void 0 && (h[p] = f[p], l = !0) } var q = l ? h : void 0; if (q) return q } return {} }, yi = function (a, b) { this.eventId = a; this.priorityId = b; this.C = {}; this.N = {}; this.j = {}; this.D = {}; this.T = {}; this.H = {}; this.eventMetadata = {}; this.isGtmEvent = !1; this.onSuccess = function () {}; this.onFailure = function () {} }, zi = function (a, b) { a.C = b; return a }, Ai = function (a, b) { a.N = b; return a }, Bi = function (a, b) { a.j = b; return a }, Ci = function (a, b) { a.D = b; return a }, Di = function (a, b) { a.T = b; return a }, Ei = function (a, b) { a.H = b; return a }, Fi = function (a, b) { a.eventMetadata = b || {}; return a }, Gi = function (a, b) { a.onSuccess = b; return a }, Hi = function (a, b) { a.onFailure = b; return a }, Ii = function (a, b) { a.isGtmEvent = b; return a }, Ji = function (a) { return new ti(a.eventId, a.priorityId, a.C, a.N, a.j, a.D, a.H, a.eventMetadata, a.onSuccess, a.onFailure, a.isGtmEvent) }; var Ki = { kj: Number("5"), qn: Number("") }, Li = []; function Mi(a) { Li.push(a) } var Ni = "?id=" + og.ctid, Oi = void 0, Pi = {}, Qi = void 0, Ri = new function () { var a = 5; Ki.kj > 0 && (a = Ki.kj); this.C = a; this.j = 0; this.D = [] }, Si = 1E3; function Ti(a, b) { var c = Oi; if (c === void 0) if (b) c = lf(); else return ""; for (var d = [Wf("https://www.googletagmanager.com"), "/a", Ni], e = g(Li), f = e.next(); !f.done; f = e.next()) for (var h = f.value, l = h({ eventId: c, hc: !!a }), m = g(l), n = m.next(); !n.done; n = m.next()) { var p = g(n.value), q = p.next().value, r = p.next().value; d.push("&" + q + "=" + r) } d.push("&z=0"); return d.join("") } function Ui() { Qi && (z.clearTimeout(Qi), Qi = void 0); if (Oi !== void 0 && Vi) { var a; (a = Pi[Oi]) || (a = Ri.j < Ri.C ? !1 : ab() - Ri.D[Ri.j % Ri.C] < 1E3); if (a || Si-- <= 0) P(1), Pi[Oi] = !0; else { var b = Ri.j++ % Ri.C; Ri.D[b] = ab(); var c = Ti(!0); Jb(c); Vi = !1 } } } var Vi = !1; function Wi(a) { Pi[a] || (a !== Oi && (Ui(), Oi = a), Vi = !0, Qi || (Qi = z.setTimeout(Ui, 500)), Ti().length >= 2022 && Ui()) } var Xi = Ra(); function Yi() { Xi = Ra() } function Zi() { return [ ["v", "3"], ["t", "t"], ["pid", String(Xi)] ] } var $i = {}; function aj(a, b, c) { cg && a !== void 0 && ($i[a] = $i[a] || [], $i[a].push(c + b), Wi(a)) } function bj(a) { var b = a.eventId, c = a.hc, d = [], e = $i[b] || []; e.length && d.push(["epr", e.join(".")]); c && delete $i[b]; return d }; function cj(a, b, c, d) { var e = bi(c, d.isGtmEvent); e && dj.push("event", [b, a], e, d) } function ej(a, b, c, d) { var e = bi(c, d.isGtmEvent); e && dj.push("get", [a, b], e, d) } var fj = function () { this.H = {}; this.j = {}; this.N = {}; this.T = null; this.D = {}; this.C = !1; this.status = 1 }, gj = function (a, b, c, d) { this.C = ab(); this.j = b; this.args = c; this.messageContext = d; this.type = a }, hj = function () { this.destinations = {}; this.j = {}; this.commands = [] }, ij = function (a, b) { var c = b.destinationId; return a.destinations[c] = a.destinations[c] || new fj }, jj = function (a, b, c, d) { if (d.j) { var e = ij(a, d.j), f = e.T; if (f) { var h = cc(c, null), l = cc(e.H[d.j.id], null), m = cc(e.D, null), n = cc(e.j, null), p = cc(a.j, null), q = {}; if (cg) try { q = cc(sf, null) } catch (t) { P(72) } var r = d.j.prefix, u = function (t) { aj(d.messageContext.eventId, r, t) }, v = Ji(Ii(Hi(Gi(Fi(Di(Ci(Ei(Bi(Ai(zi(new yi(d.messageContext.eventId, d.messageContext.priorityId), h), l), m), n), p), q), d.messageContext.eventMetadata), function () { if (u) { var t = u; u = void 0; t("2"); if (d.messageContext.onSuccess) d.messageContext.onSuccess() } }), function () { if (u) { var t = u; u = void 0; t("3"); if (d.messageContext.onFailure) d.messageContext.onFailure() } }), !!d.messageContext.isGtmEvent)); try { aj(d.messageContext.eventId, r, "1"), pi(d.type, d.j.id, v), f(d.j.id, b, d.C, v) } catch (t) { aj(d.messageContext.eventId, r, "4") } } } }; hj.prototype.register = function (a, b, c) { var d = ij(this, a); d.status !== 3 && (d.T = b, d.status = 3, c && (cc(d.j, c), d.j = c), this.flush()) }; hj.prototype.push = function (a, b, c, d) { c !== void 0 && (ij(this, c).status === 1 && (ij(this, c).status = 2, this.push("require", [{}], c, {})), ij(this, c).C && (d.deferrable = !1)); this.commands.push(new gj(a, c, b, d)); d.deferrable || this.flush() }; hj.prototype.flush = function (a) { for (var b = this, c = [], d = !1, e = {}; this.commands.length; e = { Sb: void 0, fg: void 0 }) { var f = this.commands[0], h = f.j; if (f.messageContext.deferrable) !h || ij(this, h).C ? (f.messageContext.deferrable = !1, this.commands.push(f)) : c.push(f), this.commands.shift(); else { switch (f.type) { case "require": if (ij(this, h).status !== 3 && !a) { this.commands.push.apply(this.commands, c); return } break; case "set": Ua(f.args[0], function (r, u) { cc(ib(r, u), b.j) }); break; case "config": var l = ij(this, h); e.Sb = {}; Ua(f.args[0], function (r) { return function (u, v) { cc(ib(u, v), r.Sb) } }(e)); var m = !!e.Sb[G.g.Pb]; delete e.Sb[G.g.Pb]; var n = h.destinationId === h.id; m || (n ? l.D = {} : l.H[h.id] = {}); l.C && m || jj(this, G.g.W, e.Sb, f); l.C = !0; n ? cc(e.Sb, l.D) : (cc(e.Sb, l.H[h.id]), P(70)); d = !0; break; case "event": e.fg = {}; Ua(f.args[0], function (r) { return function (u, v) { cc(ib(u, v), r.fg) } }(e)); jj(this, f.args[1], e.fg, f); break; case "get": var p = {}, q = (p[G.g.nb] = f.args[0], p[G.g.xb] = f.args[1], p); jj(this, G.g.Oa, q, f) } this.commands.shift(); kj(this, f) } } this.commands.push.apply(this.commands, c); d && this.flush() }; var kj = function (a, b) { if (b.type !== "require") if (b.j) for (var c = ij(a, b.j).N[b.type] || [], d = 0; d < c.length; d++) c[d](); else for (var e in a.destinations) if (a.destinations.hasOwnProperty(e)) { var f = a.destinations[e]; if (f && f.N) for (var h = f.N[b.type] || [], l = 0; l < h.length; l++) h[l]() } }, lj = function (a, b) { var c = dj, d = cc(b, null); cc(ij(c, a).j, d); ij(c, a).j = d }, dj = new hj; var mj = function (a, b) { var c = function () {}; c.prototype = a.prototype; var d = new c; a.apply(d, Array.prototype.slice.call(arguments, 1)); return d }, nj = function (a) { var b = a; return function () { if (b) { var c = b; b = null; c() } } }; var oj = function (a, b, c) { a.addEventListener && a.addEventListener(b, c, !1) }, pj = function (a, b, c) { a.removeEventListener && a.removeEventListener(b, c, !1) }; var qj, rj; a: { for (var sj = ["CLOSURE_FLAGS"], tj = va, uj = 0; uj < sj.length; uj++) if (tj = tj[sj[uj]], tj == null) { rj = null; break a } rj = tj } var vj = rj && rj[610401301]; qj = vj != null ? vj : !1; var wj, xj = va.navigator; wj = xj ? xj.userAgentData || null : null; function yj(a) { return qj ? wj ? wj.brands.some(function (b) { var c; return (c = b.brand) && c.indexOf(a) != -1 }) : !1 : !1 } function zj(a) { var b; a: { var c = va.navigator; if (c) { var d = c.userAgent; if (d) { b = d; break a } } b = "" } return b.indexOf(a) != -1 }; function Aj() { return qj ? !!wj && wj.brands.length > 0 : !1 } function Bj() { return Aj() ? yj("Chromium") : (zj("Chrome") || zj("CriOS")) && !(Aj() ? 0 : zj("Edge")) || zj("Silk") }; var Cj = function (a) { Cj[" "](a); return a }; Cj[" "] = function () {}; var Dj = function (a, b, c, d) { for (var e = b, f = c.length; (e = a.indexOf(c, e)) >= 0 && e < d;) { var h = a.charCodeAt(e - 1); if (h == 38 || h == 63) { var l = a.charCodeAt(e + f); if (!l || l == 61 || l == 38 || l == 35) return e } e += f + 1 } return -1 }, Ej = /#|$/, Fj = function (a, b) { var c = a.search(Ej), d = Dj(a, 0, b, c); if (d < 0) return null; var e = a.indexOf("&", d); if (e < 0 || e > c) e = c; d += b.length + 1; return decodeURIComponent(a.slice(d, e !== -1 ? e : 0).replace(/\+/g, " ")) }, Gj = /[?&]($|#)/, Hj = function (a, b, c) { for (var d, e = a.search(Ej), f = 0, h, l = []; (h = Dj(a, f, b, e)) >= 0;) l.push(a.substring(f, h)), f = Math.min(a.indexOf("&", h) + 1 || e, e); l.push(a.slice(f)); d = l.join("").replace(Gj, "$1"); var m, n = c != null ? "=" + encodeURIComponent(String(c)) : ""; var p = b + n; if (p) { var q, r = d.indexOf("#"); r < 0 && (r = d.length); var u = d.indexOf("?"), v; u < 0 || u > r ? (u = r, v = "") : v = d.substring(u + 1, r); q = [d.slice(0, u), v, d.slice(r)]; var t = q[1]; q[1] = p ? t ? t + "&" + p : p : t; m = q[0] + (q[1] ? "?" + q[1] : "") + q[2] } else m = d; return m }; var Ij = function (a) { try { var b; if (b = !!a && a.location.href != null) a: { try { Cj(a.foo); b = !0; break a } catch (c) {} b = !1 } return b } catch (c) { return !1 } }, Jj = function (a, b) { if (a) for (var c in a) Object.prototype.hasOwnProperty.call(a, c) && b(a[c], c, a) }, Kj = function (a) { if (z.top == z) return 0; if (a === void 0 ? 0 : a) { var b = z.location.ancestorOrigins; if (b) return b[b.length - 1] == z.location.origin ? 1 : 2 } return Ij(z.top) ? 1 : 2 }, Lj = function (a) { a = a === void 0 ? document : a; return a.createElement("img") }; function Mj(a, b, c, d) { d = d === void 0 ? !1 : d; a.google_image_requests || (a.google_image_requests = []); var e = Lj(a.document); if (c) { var f = function () { if (c) { var h = a.google_image_requests, l = vb(h, e); l >= 0 && Array.prototype.splice.call(h, l, 1) } pj(e, "load", f); pj(e, "error", f) }; oj(e, "load", f); oj(e, "error", f) } d && (e.attributionSrc = ""); e.src = b; a.google_image_requests.push(e) } var Oj = function (a) { var b; b = b === void 0 ? !1 : b; var c = "https://pagead2.googlesyndication.com/pagead/gen_204?id=tcfe"; Jj(a, function (d, e) { if (d || d === 0) c += "&" + e + "=" + encodeURIComponent("" + d) }); Nj(c, b) }, Nj = function (a, b) { var c = window, d; b = b === void 0 ? !1 : b; d = d === void 0 ? !1 : d; if (c.fetch) { var e = { keepalive: !0, credentials: "include", redirect: "follow", method: "get", mode: "no-cors" }; d && (e.mode = "cors", "setAttributionReporting" in XMLHttpRequest.prototype ? e.attributionReporting = { eventSourceEligible: "true", triggerEligible: "false" } : e.headers = { "Attribution-Reporting-Eligible": "event-source" }); c.fetch(a, e) } else Mj(c, a, b === void 0 ? !1 : b, d === void 0 ? !1 : d) }; var Pj = function () { this.N = this.N; this.C = this.C }; Pj.prototype.N = !1; Pj.prototype.dispose = function () { this.N || (this.N = !0, this.Ha()) }; Pj.prototype[Symbol.dispose] = function () { this.dispose() }; Pj.prototype.addOnDisposeCallback = function (a, b) { this.N ? b !== void 0 ? a.call(b) : a() : (this.C || (this.C = []), b && (a = a.bind(b)), this.C.push(a)) }; Pj.prototype.Ha = function () { if (this.C) for (; this.C.length;) this.C.shift()() }; function Qj(a) { a.addtlConsent !== void 0 && typeof a.addtlConsent !== "string" && (a.addtlConsent = void 0); a.gdprApplies !== void 0 && typeof a.gdprApplies !== "boolean" && (a.gdprApplies = void 0); return a.tcString !== void 0 && typeof a.tcString !== "string" || a.listenerId !== void 0 && typeof a.listenerId !== "number" ? 2 : a.cmpStatus && a.cmpStatus !== "error" ? 0 : 3 } var Rj = function (a, b) { b = b === void 0 ? {} : b; Pj.call(this); this.j = null; this.T = {}; this.Te = 0; this.H = null; this.D = a; var c; this.ud = (c = b.mm) != null ? c : 500; var d; this.Qb = (d = b.Sm) != null ? d : !1 }; ta(Rj, Pj); Rj.prototype.Ha = function () { this.T = {}; this.H && (pj(this.D, "message", this.H), delete this.H); delete this.T; delete this.D; delete this.j; Pj.prototype.Ha.call(this) }; var Tj = function (a) { return typeof a.D.__tcfapi === "function" || Sj(a) != null }; Rj.prototype.addEventListener = function (a) { var b = this, c = { internalBlockOnErrors: this.Qb }, d = nj(function () { return a(c) }), e = 0; this.ud !== -1 && (e = setTimeout(function () { c.tcString = "tcunavailable"; c.internalErrorState = 1; d() }, this.ud)); var f = function (h, l) { clearTimeout(e); h ? (c = h, c.internalErrorState = Qj(c), c.internalBlockOnErrors = b.Qb, l && c.internalErrorState === 0 || (c.tcString = "tcunavailable", l || (c.internalErrorState = 3))) : (c.tcString = "tcunavailable", c.internalErrorState = 3); a(c) }; try { Uj(this, "addEventListener", f) } catch (h) { c.tcString = "tcunavailable", c.internalErrorState = 3, e && (clearTimeout(e), e = 0), d() } }; Rj.prototype.removeEventListener = function (a) { a && a.listenerId && Uj(this, "removeEventListener", null, a.listenerId) }; var Wj = function (a, b, c) { var d; d = d === void 0 ? "755" : d; var e; a: { if (a.publisher && a.publisher.restrictions) { var f = a.publisher.restrictions[b]; if (f !== void 0) { e = f[d === void 0 ? "755" : d]; break a } } e = void 0 } var h = e; if (h === 0) return !1; var l = c; c === 2 ? (l = 0, h === 2 && (l = 1)) : c === 3 && (l = 1, h === 1 && (l = 0)); var m; if (l === 0) if (a.purpose && a.vendor) { var n = Vj(a.vendor.consents, d === void 0 ? "755" : d); m = n && b === "1" && a.purposeOneTreatment && a.publisherCC === "CH" ? !0 : n && Vj(a.purpose.consents, b) } else m = !0; else m = l === 1 ? a.purpose && a.vendor ? Vj(a.purpose.legitimateInterests, b) && Vj(a.vendor.legitimateInterests, d === void 0 ? "755" : d) : !0 : !0; return m }, Vj = function (a, b) { return !(!a || !a[b]) }, Uj = function (a, b, c, d) { c || (c = function () {}); var e = a.D; if (typeof e.__tcfapi === "function") { var f = e.__tcfapi; f(b, 2, c, d) } else if (Sj(a)) { Xj(a); var h = ++a.Te; a.T[h] = c; if (a.j) { var l = {}; a.j.postMessage((l.__tcfapiCall = { command: b, version: 2, callId: h, parameter: d }, l), "*") } } else c({}, !1) }, Sj = function (a) { if (a.j) return a.j; var b; a: { for (var c = a.D, d = 0; d < 50; ++d) { var e; try { e = !(!c.frames || !c.frames.__tcfapiLocator) } catch (l) { e = !1 } if (e) { b = c; break a } var f; b: { try { var h = c.parent; if (h && h != c) { f = h; break b } } catch (l) {} f = null } if (!(c = f)) break } b = null } a.j = b; return a.j }, Xj = function (a) { if (!a.H) { var b = function (c) { try { var d; d = (typeof c.data === "string" ? JSON.parse(c.data) : c.data).__tcfapiReturn; a.T[d.callId](d.returnValue, d.success) } catch (e) {} }; a.H = b; oj(a.D, "message", b) } }, Yj = function (a) { if (a.gdprApplies === !1) return !0; a.internalErrorState === void 0 && (a.internalErrorState = Qj(a)); return a.cmpStatus === "error" || a.internalErrorState !== 0 ? a.internalBlockOnErrors ? (Oj({ e: String(a.internalErrorState) }), !1) : !0 : a.cmpStatus !== "loaded" || a.eventStatus !== "tcloaded" && a.eventStatus !== "useractioncomplete" ? !1 : !0 }; var Zj = { 1: 0, 3: 0, 4: 0, 7: 3, 9: 3, 10: 3 }; function ak() { var a = Ve.tcf || {}; return Ve.tcf = a } var bk = function () { return new Rj(z, { mm: -1 }) }; function ck() { var a = ak(), b = bk(); Tj(b) && !dk() && !ek() && P(124); if (!a.active && Tj(b)) { dk() && (a.active = !0, a.Hb = {}, a.cmpId = 0, a.tcfPolicyVersion = 0, Yg().active = !0, a.tcString = "tcunavailable"); Jh(); try { b.addEventListener(function (c) { if (c.internalErrorState !== 0) fk(a), Kh([G.g.M, G.g.la, G.g.K]), Yg().active = !0; else if (a.gdprApplies = c.gdprApplies, a.cmpId = c.cmpId, a.enableAdvertiserConsentMode = c.enableAdvertiserConsentMode, ek() && (a.active = !0), !gk(c) || dk() || ek()) { a.tcfPolicyVersion = c.tcfPolicyVersion; var d; if (c.gdprApplies === !1) { var e = {}, f; for (f in Zj) Zj.hasOwnProperty(f) && (e[f] = !0); d = e; b.removeEventListener(c) } else if (gk(c)) { var h = {}, l; for (l in Zj) if (Zj.hasOwnProperty(l)) if (l === "1") { var m, n = c, p = { Wk: !0 }; p = p === void 0 ? {} : p; m = Yj(n) ? n.gdprApplies === !1 ? !0 : n.tcString === "tcunavailable" ? !p.Pi : (p.Pi || n.gdprApplies !== void 0 || p.Wk) && (p.Pi || typeof n.tcString === "string" && n.tcString.length) ? Wj(n, "1", 0) : !0 : !1; h["1"] = m } else h[l] = Wj(c, l, Zj[l]); d = h } if (d) { a.tcString = c.tcString || "tcempty"; a.Hb = d; var q = {}, r = (q[G.g.M] = a.Hb["1"] ? "granted" : "denied", q); a.gdprApplies !== !0 ? (Kh([G.g.M, G.g.la, G.g.K]), Yg().active = !0) : (r[G.g.la] = a.Hb["3"] && a.Hb["4"] ? "granted" : "denied", typeof a.tcfPolicyVersion === "number" && a.tcfPolicyVersion >= 4 ? r[G.g.K] = a.Hb["1"] && a.Hb["7"] ? "granted" : "denied" : Kh([G.g.K]), Fh(r, { eventId: 0 }, { gdprApplies: a ? a.gdprApplies : void 0, tcString: hk() || "" })) } } else Kh([G.g.M, G.g.la, G.g.K]) }) } catch (c) { fk(a), Kh([G.g.M, G.g.la, G.g.K]), Yg().active = !0 } } } function fk(a) { a.type = "e"; a.tcString = "tcunavailable" } function gk(a) { return a.eventStatus === "tcloaded" || a.eventStatus === "useractioncomplete" || a.eventStatus === "cmpuishown" } function dk() { return z.gtag_enable_tcf_support === !0 } function ek() { return ak().enableAdvertiserConsentMode === !0 } function hk() { var a = ak(); if (a.active) return a.tcString } function ik() { var a = ak(); if (a.active && a.gdprApplies !== void 0) return a.gdprApplies ? "1" : "0" } function jk(a) { if (!Zj.hasOwnProperty(String(a))) return !0; var b = ak(); return b.active && b.Hb ? !!b.Hb[String(a)] : !0 } var kk = [G.g.M, G.g.P, G.g.K, G.g.la], lk = {}, mk = (lk[G.g.M] = 1, lk[G.g.P] = 2, lk); function nk(a) { if (a === void 0) return 0; switch (R(a, G.g.da)) { case void 0: return 1; case !1: return 3; default: return 2 } } function ok(a) { if (vh() === "US-CO" && xb.globalPrivacyControl === !0) return !1; var b = nk(a); if (b === 3) return !1; switch (gh(G.g.la)) { case 1: case 3: return !0; case 2: return !1; case 4: return b === 2; case 0: return !0; default: return !1 } } function pk() { return jh() || !fh(G.g.M) || !fh(G.g.P) } function qk() { var a = {}, b; for (b in mk) mk.hasOwnProperty(b) && (a[mk[b]] = gh(b)); return "G1" + fc(a[1] || 0) + fc(a[2] || 0) } var rk = {}, sk = (rk[G.g.M] = 0, rk[G.g.P] = 1, rk[G.g.K] = 2, rk[G.g.la] = 3, rk); function tk(a) { switch (a) { case void 0: return 1; case !0: return 3; case !1: return 2; default: return 0 } } function uk(a) { for (var b = "1", c = 0; c < kk.length; c++) { var d = b, e, f = kk[c], h = eh.delegatedConsentTypes[f]; e = h === void 0 ? 0 : sk.hasOwnProperty(h) ? 12 | sk[h] : 8; var l = Yg(); l.accessedAny = !0; var m = l.entries[f] || {}; e = e << 2 | tk(m.implicit); b = d + ("" + "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_" [e] + "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_" [tk(m.declare) << 4 | tk(m.default) << 2 | tk(m.update)]) } var n = b, p = (vh() === "US-CO" && xb.globalPrivacyControl === !0 ? 1 : 0) << 3, q = (jh() ? 1 : 0) << 2, r = nk(a); b = n + "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_" [p | q | r]; return b += "" + "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_" [eh.containerScopedDefaults.ad_storage << 4 | eh.containerScopedDefaults.analytics_storage << 2 | eh.containerScopedDefaults.ad_user_data] + "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_" [(eh.usedContainerScopedDefaults ? 1 : 0) << 2 | eh.containerScopedDefaults.ad_personalization] } function vk() { if (!fh(G.g.K)) return "-"; for (var a = Object.keys(Qd), b = hh(a), c = "", d = g(a), e = d.next(); !e.done; e = d.next()) { var f = e.value; b[f] && (c += Qd[f]) }(eh.usedCorePlatformServices ? eh.selectedAllCorePlatformServices : 1) && (c += "o"); return c || "-" } function wk() { return uh["6"] !== !1 || (dk() || ek()) && ik() === "1" ? "1" : "0" } function xk() { return (uh["6"] !== !1 ? !0 : !(!dk() && !ek()) && ik() === "1") || !fh(G.g.K) } function yk() { var a = "0", b = "0", c; var d = ak(); c = d.active ? d.cmpId : void 0; typeof c === "number" && c >= 0 && c <= 4095 && (a = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_" [c >> 6 & 63], b = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_" [c & 63]); var e = "0", f; var h = ak(); f = h.active ? h.tcfPolicyVersion : void 0; typeof f === "number" && f >= 0 && f <= 63 && (e = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_" [f]); var l = 0; uh["6"] !== !1 && (l |= 1); ik() === "1" && (l |= 2); dk() && (l |= 4); var m; var n = ak(); m = n.enableAdvertiserConsentMode !== void 0 ? n.enableAdvertiserConsentMode ? "1" : "0" : void 0; m === "1" && (l |= 8); Yg().waitPeriodTimedOut && (l |= 16); return "1" + a + b + e + "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_" [l] } function zk() { return vh() === "US-CO" }; function Ak() { var a = !1; return a }; var Bk = { UA: 1, AW: 2, DC: 3, G: 4, GF: 5, GT: 12, GTM: 14, HA: 6, MC: 7 }; function Ck(a) { a = a === void 0 ? {} : a; var b = og.ctid.split("-")[0].toUpperCase(), c = { ctid: og.ctid, Xl: Ue.xd, bm: Ue.Qf, Bl: mg.vd ? 2 : 1, im: a.cj, Hi: og.canonicalContainerId }; c.Hi !== a.qa && (c.qa = a.qa); var d = yg(); c.Kl = d ? d.canonicalContainerId : void 0; $e ? (c.ff = Bk[b], c.ff || (c.ff = 0)) : c.ff = df ? 13 : 10; nf.D ? (c.ef = 0, c.Bk = 2) : bf ? c.ef = 1 : Ak() ? c.ef = 2 : c.ef = 3; var e = {}; e[6] = ng; nf.C === 2 ? e[7] = !0 : nf.C === 1 && (e[2] = !0); if (Ab) { var f = Hf(Nf(Ab), "host"); f && (e[8] = f.match(/^(www\.)?googletagmanager\.com$/) === null) } c.Hk = e; var h = a.Uf, l; var m = c.ff, n = c.ef; m === void 0 ? l = "" : (n || (n = 0), l = "" + hc(1, 1) + ec(m << 2 | n)); var p = c.Bk, q = "4" + l + (p ? "" + hc(2, 1) + ec(p) : ""), r, u = c.bm; r = u && gc.test(u) ? "" + hc(3, 2) + u : ""; var v, t = c.Xl; v = t ? "" + hc(4, 1) + ec(t) : ""; var w; var x = c.ctid; if (x && h) { var y = x.split("-"), B = y[0].toUpperCase(); if (B !== "GTM" && B !== "OPT") w = ""; else { var A = y[1]; w = "" + hc(5, 3) + ec(1 + A.length) + (c.Bl || 0) + A } } else w = ""; var E = c.im, J = c.Hi, I = c.qa, F = c.nn, S = q + r + v + w + (E ? "" + hc(6, 1) + ec(E) : "") + (J ? "" + hc(7, 3) + ec(J.length) + J : "") + (I ? "" + hc(8, 3) + ec(I.length) + I : "") + (F ? "" + hc(9, 3) + ec(F.length) + F : ""), K; var U = c.Hk; U = U === void 0 ? {} : U; for (var W = [], Q = g(Object.keys(U)), N = Q.next(); !N.done; N = Q.next()) { var L = N.value; W[Number(L)] = U[L] } if (W.length) { var da = hc(10, 3), Y; if (W.length === 0) Y = ec(0); else { for (var Z = [], na = 0, Da = !1, ra = 0; ra < W.length; ra++) { Da = !0; var Ba = ra % 6; W[ra] && (na |= 1 << Ba); Ba === 5 && (Z.push(ec(na)), na = 0, Da = !1) } Da && Z.push(ec(na)); Y = Z.join("") } var Ma = Y; K = "" + da + ec(Ma.length) + Ma } else K = ""; var db = c.Kl; return S + K + (db ? "" + hc(11, 3) + ec(db.length) + db : "") }; function Dk(a) { var b = 1, c, d, e; if (a) for (b = 0, d = a.length - 1; d >= 0; d--) e = a.charCodeAt(d), b = (b << 6 & 268435455) + e + (e << 14), c = b & 266338304, b = c !== 0 ? b ^ c >> 21 : b; return b }; function Ek(a) { return a.origin !== "null" }; function Fk(a, b, c, d) { var e; if (Gk(d)) { for (var f = [], h = String(b || Hk()).split(";"), l = 0; l < h.length; l++) { var m = h[l].split("="), n = m[0].replace(/^\s*|\s*$/g, ""); if (n && n === a) { var p = m.slice(1).join("=").replace(/^\s*|\s*$/g, ""); p && c && (p = decodeURIComponent(p)); f.push(p) } } e = f } else e = []; return e } function Ik(a, b, c, d, e) { if (Gk(e)) { var f = Jk(a, d, e); if (f.length === 1) return f[0].id; if (f.length !== 0) { f = Kk(f, function (h) { return h.Ok }, b); if (f.length === 1) return f[0].id; f = Kk(f, function (h) { return h.Ml }, c); return f[0] ? f[0].id : void 0 } } } function Lk(a, b, c, d) { var e = Hk(), f = window; Ek(f) && (f.document.cookie = a); var h = Hk(); return e !== h || c !== void 0 && Fk(b, h, !1, d).indexOf(c) >= 0 } function Mk(a, b, c) { function d(u, v, t) { if (t == null) return delete h[v], u; h[v] = t; return u + "; " + v + "=" + t } function e(u, v) { if (v == null) return u; h[v] = !0; return u + "; " + v } if (!Gk(c.Za)) return 2; var f; b == null ? f = a + "=deleted; expires=" + (new Date(0)).toUTCString() : (c.encode && (b = encodeURIComponent(b)), b = Nk(b), f = a + "=" + b); var h = {}; f = d(f, "path", c.path); var l; c.expires instanceof Date ? l = c.expires.toUTCString() : c.expires != null && (l = "" + c.expires); f = d(f, "expires", l); f = d(f, "max-age", c.gn); f = d(f, "samesite", c.mn); c.secure && (f = e(f, "secure")); var m = c.domain; if (m && m.toLowerCase() === "auto") { for (var n = Ok(), p = 0; p < n.length; ++p) { var q = n[p] !== "none" ? n[p] : void 0, r = d(f, "domain", q); r = e(r, c.flags); if (!Pk(q, c.path) && Lk(r, a, b, c.Za)) return 0 } return 1 } m && m.toLowerCase() !== "none" && (f = d(f, "domain", m)); f = e(f, c.flags); return Pk(m, c.path) ? 1 : Lk(f, a, b, c.Za) ? 0 : 1 } function Qk(a, b, c) { c.path == null && (c.path = "/"); c.domain || (c.domain = "auto"); return Mk(a, b, c) } function Kk(a, b, c) { for (var d = [], e = [], f, h = 0; h < a.length; h++) { var l = a[h], m = b(l); m === c ? d.push(l) : f === void 0 || m < f ? (e = [l], f = m) : m === f && e.push(l) } return d.length > 0 ? d : e } function Jk(a, b, c) { for (var d = [], e = Fk(a, void 0, void 0, c), f = 0; f < e.length; f++) { var h = e[f].split("."), l = h.shift(); if (!b || !l || b.indexOf(l) !== -1) { var m = h.shift(); if (m) { var n = m.split("-"); d.push({ id: h.join("."), Ok: Number(n[0]) || 1, Ml: Number(n[1]) || 1 }) } } } return d } function Nk(a) { a && a.length > 1200 && (a = a.substring(0, 1200)); return a } var Rk = /^(www\.)?google(\.com?)?(\.[a-z]{2})?$/, Sk = /(^|\.)doubleclick\.net$/i; function Pk(a, b) { return a !== void 0 && (Sk.test(window.document.location.hostname) || b === "/" && Rk.test(a)) } function Tk(a) { if (!a) return 1; var b = a; Ka(9) && a === "none" && (b = window.document.location.hostname); b = b.indexOf(".") === 0 ? b.substring(1) : b; return b.split(".").length } function Uk(a) { if (!a || a === "/") return 1; a[0] !== "/" && (a = "/" + a); a[a.length - 1] !== "/" && (a += "/"); return a.split("/").length - 1 } function Vk(a, b) { var c = "" + Tk(a), d = Uk(b); d > 1 && (c += "-" + d); return c } var Hk = function () { return Ek(window) ? window.document.cookie : "" }, Gk = function (a) { return a && Ka(10) ? (Array.isArray(a) ? a : [a]).every(function (b) { return ih(b) && fh(b) }) : !0 }, Ok = function () { var a = [], b = window.document.location.hostname.split("."); if (b.length === 4) { var c = b[b.length - 1]; if (Number(c).toString() === c) return ["none"] } for (var d = b.length - 2; d >= 0; d--) a.push(b.slice(d).join(".")); var e = window.document.location.hostname; Sk.test(e) || Rk.test(e) || a.push("none"); return a }; function Wk(a) { var b = Math.round(Math.random() * 2147483647); return a ? String(b ^ Dk(a) & 2147483647) : String(b) } function Xk(a) { return [Wk(a), Math.round(ab() / 1E3)].join(".") }; function Yk(a, b, c, d) { var e, f = Number(a.Xa != null ? a.Xa : void 0); f !== 0 && (e = new Date((b || ab()) + 1E3 * (f || 7776E3))); return { path: a.path, domain: a.domain, flags: a.flags, encode: !!c, expires: e, Za: d } }; var Zk; function $k() { function a(h) { c(h.target || h.srcElement || {}) } function b(h) { d(h.target || h.srcElement || {}) } var c = al, d = bl, e = cl(); if (!e.init) { Kb(C, "mousedown", a); Kb(C, "keyup", a); Kb(C, "submit", b); var f = HTMLFormElement.prototype.submit; HTMLFormElement.prototype.submit = function () { d(this); f.call(this) }; e.init = !0 } } function dl(a, b, c, d, e) { var f = { callback: a, domains: b, fragment: c === 2, placement: c, forms: d, sameHost: e }; cl().decorators.push(f) } function el(a, b, c) { for (var d = cl().decorators, e = {}, f = 0; f < d.length; ++f) { var h = d[f], l; if (l = !c || h.forms) a: { var m = h.domains, n = a, p = !!h.sameHost; if (m && (p || n !== C.location.hostname)) for (var q = 0; q < m.length; q++) if (m[q] instanceof RegExp) { if (m[q].test(n)) { l = !0; break a } } else if (n.indexOf(m[q]) >= 0 || p && m[q].indexOf(n) >= 0) { l = !0; break a } l = !1 } if (l) { var r = h.placement; r === void 0 && (r = h.fragment ? 2 : 1); r === b && eb(e, h.callback()) } } return e } function cl() { var a = Bb("google_tag_data", {}), b = a.gl; b && b.decorators || (b = { decorators: [] }, a.gl = b); return b }; var fl = /(.*?)\*(.*?)\*(.*)/, gl = /^https?:\/\/([^\/]*?)\.?cdn\.ampproject\.org\/?(.*)/, hl = /^(?:www\.|m\.|amp\.)+/, il = /([^?#]+)(\?[^#]*)?(#.*)?/; function jl(a) { var b = il.exec(a); if (b) return { xg: b[1], query: b[2], fragment: b[3] } } function kl(a, b) { var c = [xb.userAgent, (new Date).getTimezoneOffset(), xb.userLanguage || xb.language, Math.floor(ab() / 60 / 1E3) - (b === void 0 ? 0 : b), a].join("*"), d; if (!(d = Zk)) { for (var e = Array(256), f = 0; f < 256; f++) { for (var h = f, l = 0; l < 8; l++) h = h & 1 ? h >>> 1 ^ 3988292384 : h >>> 1; e[f] = h } d = e } Zk = d; for (var m = 4294967295, n = 0; n < c.length; n++) m = m >>> 8 ^ Zk[(m ^ c.charCodeAt(n)) & 255]; return ((m ^ -1) >>> 0).toString(36) } function ll() { return function (a) { var b = Nf(z.location.href), c = b.search.replace("?", ""), d = Gf(c, "_gl", !0) || ""; a.query = ql(d) || {}; var e = Hf(b, "fragment"), f; var h = -1; if (gb(e, "_gl=")) h = 4; else { var l = e.indexOf("&_gl="); l > 0 && (h = l + 3 + 2) } if (h < 0) f = void 0; else { var m = e.indexOf("&", h); f = m < 0 ? e.substring(h) : e.substring(h, m) } a.fragment = ql(f || "") || {} } } function rl(a) { var b = ll(), c = cl(); c.data || (c.data = { query: {}, fragment: {} }, b(c.data)); var d = {}, e = c.data; e && (eb(d, e.query), a && eb(d, e.fragment)); return d } var ql = function (a) { try { var b = sl(a, 3); if (b !== void 0) { for (var c = {}, d = b ? b.split("*") : [], e = 0; e + 1 < d.length; e += 2) { var f = d[e], h = Ca(d[e + 1]); c[f] = h } Fa("TAGGING", 6); return c } } catch (l) { Fa("TAGGING", 8) } }; function sl(a, b) { if (a) { var c; a: { for (var d = a, e = 0; e < 3; ++e) { var f = fl.exec(d); if (f) { c = f; break a } d = decodeURIComponent(d) } c = void 0 } var h = c; if (h && h[1] === "1") { var l = h[3], m; a: { for (var n = h[2], p = 0; p < b; ++p) if (n === kl(l, p)) { m = !0; break a } m = !1 } if (m) return l; Fa("TAGGING", 7) } } } function tl(a, b, c, d, e) { function f(p) { var q = p, r = (new RegExp("(.*?)(^|&)" + a + "=([^&]*)&?(.*)")).exec(q), u = q; if (r) { var v = r[2], t = r[4]; u = r[1]; t && (u = u + v + t) } p = u; var w = p.charAt(p.length - 1); p && w !== "&" && (p += "&"); return p + n } d = d === void 0 ? !1 : d; e = e === void 0 ? !1 : e; var h = jl(c); if (!h) return ""; var l = h.query || "", m = h.fragment || "", n = a + "=" + b; d ? m.substring(1).length !== 0 && e || (m = "#" + f(m.substring(1))) : l = "?" + f(l.substring(1)); return "" + h.xg + l + m } function ul(a, b) { function c(n, p, q) { var r; a: { for (var u in n) if (n.hasOwnProperty(u)) { r = !0; break a } r = !1 } if (r) { var v, t = [], w; for (w in n) if (n.hasOwnProperty(w)) { var x = n[w]; x !== void 0 && x === x && x !== null && x.toString() !== "[object Object]" && (t.push(w), t.push(Aa(String(x)))) } var y = t.join("*"); v = ["1", kl(y), y].join("*"); d ? (Ka(4) || Ka(1) || !p) && vl("_gl", v, a, p, q) : wl("_gl", v, a, p, q) } } var d = (a.tagName || "").toUpperCase() === "FORM", e = el(b, 1, d), f = el(b, 2, d), h = el(b, 4, d), l = el(b, 3, d); c(e, !1, !1); c(f, !0, !1); Ka(1) && c(h, !0, !0); for (var m in l) l.hasOwnProperty(m) && xl(m, l[m], a) } function xl(a, b, c) { c.tagName.toLowerCase() === "a" ? wl(a, b, c) : c.tagName.toLowerCase() === "form" && vl(a, b, c) } function wl(a, b, c, d, e) { d = d === void 0 ? !1 : d; e = e === void 0 ? !1 : e; var f; if (f = c.href) { var h; if (!(h = !Ka(6) || d)) { var l = z.location.href, m = jl(c.href), n = jl(l); h = !(m && n && m.xg === n.xg && m.query === n.query && m.fragment) } f = h } if (f) { var p = tl(a, b, c.href, d, e); tb.test(p) && (c.href = p) } } function vl(a, b, c, d, e) { d = d === void 0 ? !1 : d; e = e === void 0 ? !1 : e; if (c && c.action) { var f = (c.method || "").toLowerCase(); if (f !== "get" || d) { if (f === "get" || f === "post") { var h = tl(a, b, c.action, d, e); tb.test(h) && (c.action = h) } } else { for (var l = c.childNodes || [], m = !1, n = 0; n < l.length; n++) { var p = l[n]; if (p.name === a) { p.setAttribute("value", b); m = !0; break } } if (!m) { var q = C.createElement("input"); q.setAttribute("type", "hidden"); q.setAttribute("name", a); q.setAttribute("value", b); c.appendChild(q) } } } } function al(a) { try { var b; a: { for (var c = a, d = 100; c && d > 0;) { if (c.href && c.nodeName.match(/^a(?:rea)?$/i)) { b = c; break a } c = c.parentNode; d-- } b = null } var e = b; if (e) { var f = e.protocol; f !== "http:" && f !== "https:" || ul(e, e.hostname) } } catch (h) {} } function bl(a) { try { if (a.action) { var b = Hf(Nf(a.action), "host"); ul(a, b) } } catch (c) {} } function yl(a, b, c, d) { $k(); var e = c === "fragment" ? 2 : 1; d = !!d; dl(a, b, e, d, !1); e === 2 && Fa("TAGGING", 23); d && Fa("TAGGING", 24) } function zl(a, b) { $k(); dl(a, [Jf(z.location, "host", !0)], b, !0, !0) } function Al() { var a = C.location.hostname, b = gl.exec(C.referrer); if (!b) return !1; var c = b[2], d = b[1], e = ""; if (c) { var f = c.split("/"), h = f[1]; e = h === "s" ? decodeURIComponent(f[2]) : decodeURIComponent(h) } else if (d) { if (d.indexOf("xn--") === 0) return !1; e = d.replace(/-/g, ".").replace(/\.\./g, "-") } var l = a.replace(hl, ""), m = e.replace(hl, ""); return l === m || hb(l, "." + m) } function Bl(a, b) { return a === !1 ? !1 : a || b || Al() }; var Cl = ["1"], Dl = {}, El = {}; function Fl(a, b) { b = b === void 0 ? !0 : b; var c = Gl(a.prefix); if (!Dl[c]) if (Hl(c, a.path, a.domain)) { var d = El[Gl(a.prefix)]; Il(a, d ? d.id : void 0, d ? d.sg : void 0) } else { var e = Pf("auiddc"); e ? (Fa("TAGGING", 17), Dl[c] = e) : b && (Jl(Gl(a.prefix), Xk(), a), Hl(c, a.path, a.domain)) } } function Il(a, b, c) { var d = Gl(a.prefix), e = Dl[d]; if (e) { var f = e.split("."); if (f.length === 2) { var h = Number(f[1]) || 0; if (h) { var l = e; b && (l = e + "." + b + "." + (c ? c : Math.floor(ab() / 1E3))); Jl(d, l, a, h * 1E3) } } } } function Jl(a, b, c, d) { var e = ["1", Vk(c.domain, c.path), b].join("."), f = Yk(c, d); f.Za = Kl(); Qk(a, e, f) } function Hl(a, b, c) { var d = Ik(a, Tk(b), Uk(c), Cl, Kl()); if (!d) return !1; Ll(a, d); return !0 } function Ll(a, b) { var c = b.split("."); c.length === 5 ? (Dl[a] = c.slice(0, 2).join("."), El[a] = { id: c.slice(2, 4).join("."), sg: Number(c[4]) || 0 }) : c.length === 3 ? El[a] = { id: c.slice(0, 2).join("."), sg: Number(c[2]) || 0 } : Dl[a] = b } function Gl(a) { return (a || "_gcl") + "_au" } function Ml(a) { function b() { fh(c) && a() } var c = Kl(); mh(function () { b(); fh(c) || nh(b, c) }, c) } function Nl(a) { var b = rl(!0), c = Gl(a.prefix); Ml(function () { var d = b[c]; if (d) { Ll(c, d); var e = Number(Dl[c].split(".")[1]) * 1E3; if (e) { Fa("TAGGING", 16); var f = Yk(a, e); f.Za = Kl(); Qk(c, ["1", Vk(a.domain, a.path), d].join("."), f) } } }) } function Ol(a, b, c, d, e) { e = e || {}; var f = function () { var h = {}, l = Ik(a, Tk(e.path), Uk(e.domain), Cl, Kl()); l && (h[a] = l); return h }; Ml(function () { yl(f, b, c, d) }) } function Kl() { return ["ad_storage", "ad_user_data"] }; var Pl = {}, Ql = (Pl.k = { za: /^[\w-]+$/ }, Pl.b = { za: /^[\w-]+$/, Bg: !0 }, Pl.i = { za: /^[1-9]\d*$/ }, Pl.u = { za: /^[1-9]\d*$/ }, Pl); var Rl = {}, Ul = (Rl[5] = { mj: { 2: Sl }, Wf: ["k", "i", "b", "u"] }, Rl[4] = { mj: { 2: Sl, GCL: Tl }, Wf: ["k", "i", "b"] }, Rl); function Vl(a) { var b = Ul[5]; if (b) { var c = a.split(".")[0]; if (c) { var d = b.mj[c]; if (d) return d(a, 5) } } } function Sl(a, b) { var c = a.split("."); if (c.length === 3) { var d = {}, e = Ul[b]; if (e) { for (var f = e.Wf, h = g(c[2].split("$")), l = h.next(); !l.done; l = h.next()) { var m = l.value, n = m[0]; if (f.indexOf(n) !== -1) try { var p = decodeURIComponent(m.substring(1)), q = Ql[n]; q && (q.Bg ? (d[n] = d[n] || [], d[n].push(p)) : d[n] = p) } catch (r) {} } return d } } } function Wl(a, b) { var c = Ul[5]; if (c) { for (var d = [], e = g(c.Wf), f = e.next(); !f.done; f = e.next()) { var h = f.value, l = Ql[h]; if (l) { var m = a[h]; if (m !== void 0) if (l.Bg && Array.isArray(m)) for (var n = g(m), p = n.next(); !p.done; p = n.next()) d.push(encodeURIComponent("" + h + p.value)); else d.push(encodeURIComponent("" + h + m)) } } return ["2", b || "1", d.join("$")].join(".") } } function Tl(a) { var b = a.split("."); b.shift(); var c = b.shift(), d = b.shift(), e = {}; return e.k = d, e.i = c, e.b = b, e }; var Xl = new Map([ [5, "ad_storage"], [4, ["ad_storage", "ad_user_data"]] ]); function Yl(a) { if (Ul[5]) { for (var b = [], c = Fk(a, void 0, void 0, Xl.get(5)), d = g(c), e = d.next(); !e.done; e = d.next()) { var f = Vl(e.value); f && (Zl(f), b.push(f)) } return b } } function $l(a, b, c, d) { c = c || {}; var e = Wl(b, Vk(c.domain, c.path)); if (e) { var f = Yk(c, d, void 0, Xl.get(5)); Qk(a, e, f) } } function am(a, b) { var c = b.za; return typeof c === "function" ? c(a) : c.test(a) } function Zl(a) { for (var b = g(Object.keys(a)), c = b.next(), d = {}; !c.done; d = { Dd: void 0 }, c = b.next()) { var e = c.value, f = a[e]; d.Dd = Ql[e]; d.Dd ? d.Dd.Bg ? a[e] = Array.isArray(f) ? f.filter(function (h) { return function (l) { return am(l, h.Dd) } }(d)) : void 0 : typeof f === "string" && am(f, d.Dd) || (a[e] = void 0) : a[e] = void 0 } }; function bm(a) { for (var b = [], c = C.cookie.split(";"), d = new RegExp("^\\s*" + (a || "_gac") + "_(UA-\\d+-\\d+)=\\s*(.+?)\\s*$"), e = 0; e < c.length; e++) { var f = c[e].match(d); f && b.push({ Eg: f[1], value: f[2], timestamp: Number(f[2].split(".")[1]) || 0 }) } b.sort(function (h, l) { return l.timestamp - h.timestamp }); return b } function cm(a, b) { var c = bm(a), d = {}; if (!c || !c.length) return d; for (var e = 0; e < c.length; e++) { var f = c[e].value.split("."); if (!(f[0] !== "1" || b && f.length < 3 || !b && f.length !== 3) && Number(f[1])) { d[c[e].Eg] || (d[c[e].Eg] = []); var h = { version: f[0], timestamp: Number(f[1]) * 1E3, O: f[2] }; b && f.length > 3 && (h.labels = f.slice(3)); d[c[e].Eg].push(h) } } return d }; var dm = ["ad_storage", "ad_user_data"]; function em() { var a = fm(); if (a.error) return a; if (!a.value) return { error: 2 }; var b; try { b = a.value.gclid } catch (c) { return { error: 11 } } return b ? { value: b } : { value: void 0 } } function fm() { if (!fh(dm)) return { error: 3 }; try { if (!z.localStorage) return { error: 1 } } catch (d) { return { error: 14 } } var a = { schema: "gcl", version: 1 }, b = void 0; try { b = z.localStorage.getItem("_gcl_ls") } catch (d) { return { error: 13 } } try { if (b) { var c = JSON.parse(b); if (c && typeof c === "object") a = c; else return { error: 12 } } } catch (d) { return { error: 8 } } if (a.schema !== "gcl") return { error: 4 }; if (a.version !== 1) return { error: 5 }; try { gm(a) } catch (d) { return { error: 8 } } return { value: a, error: 0 } } function gm(a) { if (a && typeof a === "object") if ("expires" in a && "value" in a) { var b; typeof a.expires === "number" ? b = a.expires : b = typeof a.expires === "string" ? Number(a.expires) : NaN; !isNaN(b) && Date.now() <= b || (a.value = null, a.error = 9) } else for (var c = g(Object.keys(a)), d = c.next(); !d.done; d = c.next()) gm(a[d.value]) }; var hm = /^\w+$/, im = /^[\w-]+$/, jm = {}, km = (jm.aw = "_aw", jm.dc = "_dc", jm.gf = "_gf", jm.gp = "_gp", jm.gs = "_gs", jm.ha = "_ha", jm.ag = "_ag", jm.gb = "_gb", jm); function lm() { return ["ad_storage", "ad_user_data"] } function mm(a) { return !Ka(10) || fh(a) } function nm(a, b) { function c() { var d = mm(b); d && a(); return d } mh(function () { c() || nh(c, b) }, b) } function om(a) { return pm(a).map(function (b) { return b.O }) } function qm(a) { return rm(a).filter(function (b) { return b.O }).map(function (b) { return b.O }) } function rm(a) { var b = sm(a.prefix), c = tm("gb", b), d = tm("ag", b); if (!d || !c) return []; var e = function (l) { return function (m) { m.type = l; return m } }, f = pm(c).map(e("gb")), h = um(d).map(e("ag")); return f.concat(h).sort(function (l, m) { return m.timestamp - l.timestamp }) } function vm(a, b, c, d, e, f) { var h = Qa(a, function (l) { return l.O === c }); h ? (h.timestamp < d && (h.timestamp = d, h.Hc = f), h.labels = wm(h.labels || [], e || [])) : a.push({ version: b, O: c, timestamp: d, labels: e, Hc: f }) } function um(a) { for (var b = Yl(a) || [], c = [], d = g(b), e = d.next(); !e.done; e = d.next()) { var f = e.value, h = f, l = h.k, m = h.b, n = xm(f); if (n) { var p = void 0; Ka(11) && (p = f.u); vm(c, "2", l, n, m || [], p) } } return c.sort(function (q, r) { return r.timestamp - q.timestamp }) } function pm(a) { for (var b = [], c = Fk(a, C.cookie, void 0, lm()), d = g(c), e = d.next(); !e.done; e = d.next()) { var f = ym(e.value); if (f != null) { var h = f; vm(b, h.version, h.O, h.timestamp, h.labels) } } b.sort(function (l, m) { return m.timestamp - l.timestamp }); return zm(b) } function Am(a, b) { for (var c = [], d = g(a), e = d.next(); !e.done; e = d.next()) { var f = e.value; c.includes(f) || c.push(f) } for (var h = g(b), l = h.next(); !l.done; l = h.next()) { var m = l.value; c.includes(m) || c.push(m) } return c } function Bm(a, b) { var c = Qa(a, function (d) { return d.O === b.O }); c ? (c.timestamp < b.timestamp && (c.timestamp = b.timestamp, c.Hc = b.Hc), c.Da = c.Da ? b.Da ? c.timestamp < b.timestamp ? b.Da : c.Da : c.Da || 0 : b.Da || 0, c.labels = Am(c.labels || [], b.labels || []), c.fc = Am(c.fc || [], b.fc || [])) : a.push(b) } function Cm() { var a = em(); if (!a || a.error || !a.value || typeof a.value !== "object") return null; var b = a.value; try { if (!("value" in b && b.value) || typeof b.value !== "object") return null; var c = b.value, d = c.value; return d && d.match(im) ? { version: "", O: d, timestamp: Number(c.creationTimeMs) || 0, labels: [], Da: c.linkDecorationSource || 0, fc: [2] } : null } catch (e) { return null } } function Dm(a) { for (var b = [], c = Fk(a, C.cookie, void 0, lm()), d = g(c), e = d.next(); !e.done; e = d.next()) { var f = ym(e.value); f != null && (f.Hc = void 0, f.Da = 0, f.fc = [1], Bm(b, f)) } var h = Cm(); h && (h.Hc = void 0, h.Da = h.Da || 0, h.fc = h.fc || [2], Bm(b, h)); b.sort(function (l, m) { return m.timestamp - l.timestamp }); return zm(b) } function wm(a, b) { if (!a.length) return b; if (!b.length) return a; var c = {}; return a.concat(b).filter(function (d) { return c.hasOwnProperty(d) ? !1 : c[d] = !0 }) } function sm(a) { return a && typeof a === "string" && a.match(hm) ? a : "_gcl" } function Em(a, b, c) { var d = Nf(a), e = Hf(d, "query", !1, void 0, "gclsrc"), f = { value: Hf(d, "query", !1, void 0, "gclid"), Da: c ? 4 : 2 }; if (b && (!f.value || !e)) { var h = d.hash.replace("#", ""); f.value || (f.value = Gf(h, "gclid"), f.Da = 3); e || (e = Gf(h, "gclsrc")) } return !f.value || e !== void 0 && e !== "aw" && e !== "aw.ds" ? [] : [f] } function Fm(a, b) { var c = Nf(a), d = Hf(c, "query", !1, void 0, "gclid"), e = Hf(c, "query", !1, void 0, "gclsrc"), f = Hf(c, "query", !1, void 0, "wbraid"); f = mb(f); var h = Hf(c, "query", !1, void 0, "gbraid"), l = Hf(c, "query", !1, void 0, "gad_source"), m = Hf(c, "query", !1, void 0, "dclid"); if (b && !(d && e && f && h)) { var n = c.hash.replace("#", ""); d = d || Gf(n, "gclid"); e = e || Gf(n, "gclsrc"); f = f || Gf(n, "wbraid"); h = h || Gf(n, "gbraid"); l = l || Gf(n, "gad_source") } return Gm(d, e, m, f, h, l) } function Hm() { return Fm(z.location.href, !0) } function Gm(a, b, c, d, e, f) { var h = {}, l = function (m, n) { h[n] || (h[n] = []); h[n].push(m) }; h.gclid = a; h.gclsrc = b; h.dclid = c; if (a !== void 0 && a.match(im)) switch (b) { case void 0: l(a, "aw"); break; case "aw.ds": l(a, "aw"); l(a, "dc"); break; case "ds": l(a, "dc"); break; case "3p.ds": l(a, "dc"); break; case "gf": l(a, "gf"); break; case "ha": l(a, "ha") } c && l(c, "dc"); d !== void 0 && im.test(d) && (h.wbraid = d, l(d, "gb")); e !== void 0 && im.test(e) && (h.gbraid = e, l(e, "ag")); f !== void 0 && im.test(f) && (h.gad_source = f, l(f, "gs")); return h } function Im(a) { var b = Hm(); if (Ka(7)) { for (var c = !0, d = g(Object.keys(b)), e = d.next(); !e.done; e = d.next()) if (b[e.value] !== void 0) { c = !1; break } c && (b = Fm(z.document.referrer, !1), b.gad_source = void 0) } Jm(b, !1, a) } function Km(a) { Im(a); var b = Em(z.location.href, !0, !1); Ka(7) && !b.length && (b = Em(z.document.referrer, !1, !0)); if (b.length) { var c = b[0]; a = a || {}; var d = ab(), e = Yk(a, d, !0), f = lm(), h = function () { if (mm(f) && e.expires !== void 0) { var l = { value: { value: c.value, creationTimeMs: d, linkDecorationSource: c.Da }, expires: Number(e.expires) }, m = fm(); if (!m.error && m.value) a: if (m.value.gclid = l, !m.error && m.value) { var n = m.value, p; try { p = JSON.stringify(n) } catch (q) { break a } try { z.localStorage.setItem("_gcl_ls", p) } catch (q) {} } } }; mh(function () { h(); mm(f) || nh(h, f) }, f) } } function Jm(a, b, c, d, e) { c = c || {}; e = e || []; var f = sm(c.prefix), h = d || ab(), l = Math.round(h / 1E3), m = lm(), n = !1, p = !1, q = function () { if (mm(m)) { var r = Yk(c, h, !0); r.Za = m; for (var u = function (F, S) { var K = tm(F, f); K && (Qk(K, S, r), F !== "gb" && (n = !0)) }, v = function (F) { var S = ["GCL", l, F]; e.length > 0 && S.push(e.join(".")); return S.join(".") }, t = g(["aw", "dc", "gf", "ha", "gp"]), w = t.next(); !w.done; w = t.next()) { var x = w.value; a[x] && u(x, v(a[x][0])) } if (!n && a.gb) { var y = a.gb[0], B = tm("gb", f); !b && pm(B).some(function (F) { return F.O === y && F.labels && F.labels.length > 0 }) || u("gb", v(y)) } } if (!p && a.gbraid && mm("ad_storage") && (p = !0, !n)) { var A = a.gbraid, E = tm("ag", f); if (b || !um(E).some(function (F) { return F.O === A && F.labels && F.labels.length > 0 })) { var J = {}, I = (J.k = A, J.i = "" + l, J.b = e, J); $l(E, I, c, h) } } Lm(a, f, h, c) }; mh(function () { q(); mm(m) || nh(q, m) }, m) } function Lm(a, b, c, d) { if (a.gad_source !== void 0 && mm("ad_storage")) { if (Ka(5)) { var e = Wb(); if (e === "r" || e === "h") return } var f = a.gad_source, h = tm("gs", b); if (h) { var l = Math.round((ab() - (Vb() || 0)) / 1E3), m; if (Ka(11)) { var n, p = String, q = z.location.hostname, r = z.location.pathname, u = q = Qf(q); u.split(".").length > 2 && (u = u.replace(/^(www[0-9]*|web|ftp|wap|home|m|w|amp|mobile)\./, "")); q = u; r = Qf(r); var v = r.split(";")[0]; v = v.replace(/\/(ar|slp|web|index)?\/?$/, ""); n = p(Dk(("" + q + v).toLowerCase())); var t = {}; m = (t.k = f, t.i = "" + l, t.u = n, t) } else { var w = {}; m = (w.k = f, w.i = "" + l, w) } $l(h, m, d, c) } } } function Mm(a, b) { var c = rl(!0); nm(function () { for (var d = sm(b.prefix), e = 0; e < a.length; ++e) { var f = a[e]; if (km[f] !== void 0) { var h = tm(f, d), l = c[h]; if (l) { var m = Math.min(Nm(l), ab()), n; b: { for (var p = m, q = Fk(h, C.cookie, void 0, lm()), r = 0; r < q.length; ++r) if (Nm(q[r]) > p) { n = !0; break b } n = !1 } if (!n) { var u = Yk(b, m, !0); u.Za = lm(); Qk(h, l, u) } } } } Jm(Gm(c.gclid, c.gclsrc), !1, b) }, lm()) } function Om(a) { var b = ["ag"], c = rl(!0), d = sm(a.prefix); nm(function () { for (var e = 0; e < b.length; ++e) { var f = tm(b[e], d); if (f) { var h = c[f]; if (h) { var l = Vl(h); if (l) { var m = xm(l); m || (m = ab()); var n; a: { for (var p = m, q = Yl(f), r = 0; r < q.length; ++r) if (xm(q[r]) > p) { n = !0; break a } n = !1 } if (n) break; l.i = "" + Math.round(m / 1E3); $l(f, l, a, m) } } } } }, ["ad_storage"]) } function tm(a, b) { var c = km[a]; if (c !== void 0) return b + c } function Nm(a) { return Pm(a.split(".")).length !== 0 ? (Number(a.split(".")[1]) || 0) * 1E3 : 0 } function xm(a) { return a ? (Number(a.i) || 0) * 1E3 : 0 } function ym(a) { var b = Pm(a.split(".")); return b.length === 0 ? null : { version: b[0], O: b[2], timestamp: (Number(b[1]) || 0) * 1E3, labels: b.slice(3) } } function Pm(a) { return a.length < 3 || a[0] !== "GCL" && a[0] !== "1" || !/^\d+$/.test(a[1]) || !im.test(a[2]) ? [] : a } function Qm(a, b, c, d, e) { if (Array.isArray(b) && Ek(z)) { var f = sm(e), h = function () { for (var l = {}, m = 0; m < a.length; ++m) { var n = tm(a[m], f); if (n) { var p = Fk(n, C.cookie, void 0, lm()); p.length && (l[n] = p.sort()[p.length - 1]) } } return l }; nm(function () { yl(h, b, c, d) }, lm()) } } function Rm(a, b, c, d) { if (Array.isArray(a) && Ek(z)) { var e = ["ag"], f = sm(d), h = function () { for (var l = {}, m = 0; m < e.length; ++m) { var n = tm(e[m], f); if (!n) return {}; var p = Yl(n); if (p.length) { var q = p.sort(function (r, u) { return xm(u) - xm(r) })[0]; l[n] = Wl(q) } } return l }; nm(function () { yl(h, a, b, c) }, ["ad_storage"]) } } function zm(a) { return a.filter(function (b) { return im.test(b.O) }) } function Sm(a, b) { if (Ek(z)) { for (var c = sm(b.prefix), d = {}, e = 0; e < a.length; e++) km[a[e]] && (d[a[e]] = km[a[e]]); nm(function () { Ua(d, function (f, h) { var l = Fk(c + h, C.cookie, void 0, lm()); l.sort(function (u, v) { return Nm(v) - Nm(u) }); if (l.length) { var m = l[0], n = Nm(m), p = Pm(m.split(".")).length !== 0 ? m.split(".").slice(3) : [], q = {}, r; r = Pm(m.split(".")).length !== 0 ? m.split(".")[2] : void 0; q[f] = [r]; Jm(q, !0, b, n, p) } }) }, lm()) } } function Tm(a) { var b = ["ag"], c = ["gbraid"]; nm(function () { for (var d = sm(a.prefix), e = 0; e < b.length; ++e) { var f = tm(b[e], d); if (!f) break; var h = Yl(f); if (h.length) { var l = h.sort(function (q, r) { return xm(r) - xm(q) })[0], m = xm(l), n = l.b, p = {}; p[c[e]] = l.k; Jm(p, !0, a, m, n) } } }, ["ad_storage"]) } function Um(a, b) { for (var c = 0; c < b.length; ++c) if (a[b[c]]) return !0; return !1 } function Vm(a) { function b(l, m, n) { n && (l[m] = n) } if (jh()) { var c = Hm(), d; a.includes("gad_source") && (d = c.gad_source !== void 0 ? c.gad_source : rl(!1)._gs); if (Um(c, a) || d) { var e = {}; b(e, "gclid", c.gclid); b(e, "dclid", c.dclid); b(e, "gclsrc", c.gclsrc); b(e, "wbraid", c.wbraid); b(e, "gbraid", c.gbraid); zl(function () { return e }, 3); var f = {}, h = (f._up = "1", f); b(h, "_gs", d); zl(function () { return h }, 1) } } } function Wm(a) { if (!Ka(1)) return null; var b = rl(!0).gad_source; if (b != null) return z.location.hash = "", b; if (Ka(2)) { var c = Nf(z.location.href); b = Hf(c, "query", !1, void 0, "gad_source"); if (b != null) return b; var d = Hm(); if (Um(d, a)) return "0" } return null } function Xm(a) { var b = Wm(a); b != null && zl(function () { var c = {}; return c.gad_source = b, c }, 4) } function Ym(a, b, c) { var d = []; if (b.length === 0) return d; for (var e = {}, f = 0; f < b.length; f++) { var h = b[f], l = h.type ? h.type : "gcl"; (h.labels || []).indexOf(c) === -1 ? (a.push(0), e[l] || d.push(h)) : a.push(1); e[l] = !0 } return d } function Zm(a, b, c, d) { var e = []; c = c || {}; if (!mm(lm())) return e; var f = pm(a), h = Ym(e, f, b); if (h.length && !d) for (var l = g(h), m = l.next(); !m.done; m = l.next()) { var n = m.value, p = n.timestamp, q = [n.version, Math.round(p / 1E3), n.O].concat(n.labels || [], [b]).join("."), r = Yk(c, p, !0); r.Za = lm(); Qk(a, q, r) } return e } function $m(a, b) { var c = []; b = b || {}; var d = rm(b), e = Ym(c, d, a); if (e.length) for (var f = g(e), h = f.next(); !h.done; h = f.next()) { var l = h.value, m = sm(b.prefix), n = tm(l.type, m); if (!n) break; var p = l, q = p.version, r = p.O, u = p.labels, v = p.timestamp, t = Math.round(v / 1E3); if (l.type === "ag") { var w = {}, x = (w.k = r, w.i = "" + t, w.b = (u || []).concat([a]), w); $l(n, x, b, v) } else if (l.type === "gb") { var y = [q, t, r].concat(u || [], [a]).join("."), B = Yk(b, v, !0); B.Za = lm(); Qk(n, y, B) } } return c } function an(a, b) { var c = sm(b), d = tm(a, c); if (!d) return 0; var e; e = a === "ag" ? um(d) : pm(d); for (var f = 0, h = 0; h < e.length; h++) f = Math.max(f, e[h].timestamp); return f } function bn(a) { for (var b = 0, c = g(Object.keys(a)), d = c.next(); !d.done; d = c.next()) for (var e = a[d.value], f = 0; f < e.length; f++) b = Math.max(b, Number(e[f].timestamp)); return b } function cn(a) { var b = Math.max(an("aw", a), bn(mm(lm()) ? cm() : {})), c = Math.max(an("gb", a), bn(mm(lm()) ? cm("_gac_gb", !0) : {})); c = Math.max(c, an("ag", a)); return c > b }; function sn() { Ve.dedupe_gclid || (Ve.dedupe_gclid = Xk()); return Ve.dedupe_gclid }; var tn = /^(www\.)?google(\.com?)?(\.[a-z]{2}t?)?$/, un = /^www.googleadservices.com$/; function vn(a) { a || (a = wn()); return a.sm ? !1 : a.ml || a.nl || a.ql || a.ol || a.Gd || a.Vk || a.pl || a.Yk ? !0 : !1 } function wn() { var a = {}, b = rl(!0); a.sm = !!b._up; var c = Hm(); a.ml = c.aw !== void 0; a.nl = c.dc !== void 0; a.ql = c.wbraid !== void 0; a.ol = c.gbraid !== void 0; a.pl = c.gclsrc === "aw.ds"; a.Gd = en().Gd; var d = C.referrer ? Hf(Nf(C.referrer), "host") : ""; a.Yk = tn.test(d); a.Vk = un.test(d); return a }; var xn = RegExp("^UA-\\d+-\\d+%3A[\\w-]+(?:%2C[\\w-]+)*(?:%3BUA-\\d+-\\d+%3A[\\w-]+(?:%2C[\\w-]+)*)*$"), yn = /^~?[\w-]+(?:\.~?[\w-]+)*$/, zn = /^\d+\.fls\.doubleclick\.net$/, An = /;gac=([^;?]+)/, Bn = /;gacgb=([^;?]+)/; function Cn(a, b) { if (zn.test(C.location.host)) { var c = C.location.href.match(b); return c && c.length === 2 && c[1].match(xn) ? decodeURIComponent(c[1]) : "" } for (var d = [], e = g(Object.keys(a)), f = e.next(); !f.done; f = e.next()) { for (var h = f.value, l = [], m = a[h], n = 0; n < m.length; n++) l.push(m[n].O); d.push(h + ":" + l.join(",")) } return d.length > 0 ? d.join(";") : "" } function Dn(a, b, c) { for (var d = mm(lm()) ? cm("_gac_gb", !0) : {}, e = [], f = !1, h = g(Object.keys(d)), l = h.next(); !l.done; l = h.next()) { var m = l.value, n = Zm("_gac_gb_" + m, a, b, c); f = f || n.length !== 0 && n.some(function (p) { return p === 1 }); e.push(m + ":" + n.join(",")) } return { Uk: f ? e.join(";") : "", Tk: Cn(d, Bn) } } function En(a) { var b = C.location.href.match(new RegExp(";" + a + "=([^;?]+)")); return b && b.length === 2 && b[1].match(yn) ? b[1] : void 0 } function Fn(a) { var b = Ka(11), c = {}, d, e, f; zn.test(C.location.host) && (d = En("gclgs"), e = En("gclst"), b && (f = En("gcllp"))); if (d && e && (!b || f)) c.hg = d, c.jg = e, c.ig = f; else { var h = ab(), l = um((a || "_gcl") + "_gs"), m = l.map(function (q) { return q.O }), n = l.map(function (q) { return h - q.timestamp }), p = []; b && (p = l.map(function (q) { return q.Hc })); m.length > 0 && n.length > 0 && (!b || p.length > 0) && (c.hg = m.join("."), c.jg = n.join("."), b && p.length > 0 && (c.ig = p.join("."))) } return c } function Gn(a, b, c, d) { d = d === void 0 ? !1 : d; if (zn.test(C.location.host)) { var e = En(c); if (e) return [{ O: e }] } else { if (b === "gclid") { var f = (a || "_gcl") + "_aw"; return d ? Dm(f) : pm(f) } if (b === "wbraid") return pm((a || "_gcl") + "_gb"); if (b === "braids") return rm({ prefix: a }) } return [] } function Hn(a) { return Gn(a, "gclid", "gclaw").map(function (b) { return b.O }).join(".") } function In(a) { var b = Gn(a, "gclid", "gclaw", !0), c = b.map(function (f) { return f.O }).join("."), d = b.map(function (f) { return f.Da || 0 }).join("."), e = b.map(function (f) { for (var h = 0, l = g(f.fc || []), m = l.next(); !m.done; m = l.next()) { var n = m.value; n === 1 && (h |= 1); n === 2 && (h |= 2) } return h.toString() }).join("."); return { O: c, Ni: d, Oi: e } } function Jn(a) { return Gn(a, "braids", "gclgb").map(function (b) { return b.O }).join(".") } function Kn(a) { return zn.test(C.location.host) ? !(En("gclaw") || En("gac")) : cn(a) } function Ln(a, b, c) { var d; d = c ? $m(a, b) : Zm((b && b.prefix || "_gcl") + "_gb", a, b); return d.length === 0 || d.every(function (e) { return e === 0 }) ? "" : d.join(".") }; function Mn() { var a = z.__uspapi; if (Na(a)) { var b = ""; try { a("getUSPData", 1, function (c, d) { if (d && c) { var e = c.uspString; e && RegExp("^[\\da-zA-Z-]{1,20}$").test(e) && (b = e) } }) } catch (c) {} return b } }; function Wn(a) { var b = R(a.m, G.g.Ab), c = R(a.m, G.g.zb); b && !c ? (a.eventName !== G.g.W && a.eventName !== G.g.Pc && P(131), a.isAborted = !0) : !b && c && (P(132), a.isAborted = !0) } function Xn(a) { var b = T(G.g.M) ? Ve.pscdl : "denied"; b != null && (a.j[G.g.me] = b) } function Yn(a) { var b = Kj(!0); a.j[G.g.yb] = b } function Zn(a) { zk() && (a.j[G.g.vc] = 1) } function Pn() { var a = C.title; if (a === void 0 || a === "") return ""; var b = function (d) { try { return decodeURIComponent(d), !0 } catch (e) { return !1 } }; a = encodeURIComponent(a); for (var c = 256; c > 0 && !b(a.substring(0, c));) c--; return decodeURIComponent(a.substring(0, c)) } function $n(a) { ao(a, "ce", R(a.m, G.g.Ma)) } function ao(a, b, c) { a.j[G.g.Bc] || (a.j[G.g.Bc] = {}); a.j[G.g.Bc][b] = c }; function ho(a, b, c, d) { var e = Hb(), f; if (e === 1) a: { var h = ff;h = h.toLowerCase(); for (var l = "https://" + h, m = "http://" + h, n = 1, p = C.getElementsByTagName("script"), q = 0; q < p.length && q < 100; q++) { var r = p[q].src; if (r) { r = r.toLowerCase(); if (r.indexOf(m) === 0) { f = 3; break a } n === 1 && r.indexOf(l) === 0 && (n = 2) } } f = n } else f = e; return (f === 2 || d || "http:" !== z.location.protocol ? a : b) + c }; function to(a) { return { getDestinationId: function () { return a.target.destinationId }, getEventName: function () { return a.eventName }, setEventName: function (b) { a.eventName = b }, getHitData: function (b) { return a.j[b] }, setHitData: function (b, c) { a.j[b] = c }, setHitDataIfNotDefined: function (b, c) { a.j[b] === void 0 && (a.j[b] = c) }, copyToHitData: function (b, c) { a.copyToHitData(b, c) }, getMetadata: function (b) { return a.metadata[b] }, setMetadata: function (b, c) { a.metadata[b] = c }, isAborted: function () { return a.isAborted }, abort: function () { a.isAborted = !0 }, getFromEventContext: function (b) { return R(a.m, b) }, Zm: function () { return a }, getHitKeys: function () { return Object.keys(a.j) } } }; function zo(a) { var b, c = []; try { z.navigation && z.navigation.entries && (c = z.navigation.entries()) } catch (h) {} b = c; for (var d = b.length - 1; d >= 0; d--) { var e = b[d], f = e.url && e.url.match("[?&#]" + a + "=([^&#]+)"); if (f && f.length === 2) return f[1] } }; var Ao, Bo = !1; function Co(a) { if (!Bo) { Bo = !0; Ao = Ao || {} } return Ao[a] } function Do() { var a = z.screen; return { width: a ? a.width : 0, height: a ? a.height : 0 } } function Eo(a) { if (C.hidden) return !0; var b = a.getBoundingClientRect(); if (b.top === b.bottom || b.left === b.right || !z.getComputedStyle) return !0; var c = z.getComputedStyle(a, null); if (c.visibility === "hidden") return !0; for (var d = a, e = c; d;) { if (e.display === "none") return !0; var f = e.opacity, h = e.filter; if (h) { var l = h.indexOf("opacity("); l >= 0 && (h = h.substring(l + 8, h.indexOf(")", l)), h.charAt(h.length - 1) === "%" && (h = h.substring(0, h.length - 1)), f = String(Math.min(Number(h), Number(f)))) } if (f !== void 0 && Number(f) <= 0) return !0; (d = d.parentElement) && (e = z.getComputedStyle(d, null)) } return !1 } var yp = Number('') || 5, zp = Number('') || 50, Ap = Ra(); var Fp = { vk: Number('') || 500, ik: Number('') || 5E3, ji: Number('20') || 10, qj: Number('') || 5E3 }; function Gp(a) { return a.performance && a.performance.now() || Date.now() } var Hp = function (a, b) { var c; return c }; var Ip; function Pp() { var a = dd(function () { return {} }); try { return a("internal_sw_allowed"), !0 } catch (b) { return !1 } } function Qp(a, b, c) { c = c === void 0 ? !1 : c; } var Rp = function (a, b, c, d) {}; function Sp(a, b, c, d, e) {} function Tp(a, b, c, d) {}!zj("Android") || Bj(); Bj(); zj("Safari") && (Bj() || (Aj() ? 0 : zj("Coast")) || (Aj() ? 0 : zj("Opera")) || (Aj() ? 0 : zj("Edge")) || (Aj() ? yj("Microsoft Edge") : zj("Edg/")) || Aj() && yj("Opera")); var Up = {}, Vp = null, Wp = function (a) { for (var b = [], c = 0, d = 0; d < a.length; d++) { var e = a.charCodeAt(d); e > 255 && (b[c++] = e & 255, e >>= 8); b[c++] = e } var f = 4; f === void 0 && (f = 0); if (!Vp) { Vp = {}; for (var h = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""), l = ["+/=", "+/", "-_=", "-_.", "-_"], m = 0; m < 5; m++) { var n = h.concat(l[m].split("")); Up[m] = n; for (var p = 0; p < n.length; p++) { var q = n[p]; Vp[q] === void 0 && (Vp[q] = p) } } } for (var r = Up[f], u = Array(Math.floor(b.length / 3)), v = r[64] || "", t = 0, w = 0; t < b.length - 2; t += 3) { var x = b[t], y = b[t + 1], B = b[t + 2], A = r[x >> 2], E = r[(x & 3) << 4 | y >> 4], J = r[(y & 15) << 2 | B >> 6], I = r[B & 63]; u[w++] = "" + A + E + J + I } var F = 0, S = v; switch (b.length - t) { case 2: F = b[t + 1], S = r[(F & 15) << 2] || v; case 1: var K = b[t]; u[w] = "" + r[K >> 2] + r[(K & 3) << 4 | F >> 4] + S + v } return u.join("") }; var Xp = "platform platformVersion architecture model uaFullVersion bitness fullVersionList wow64".split(" "); function Yp() { var a; return (a = z.google_tag_data) != null ? a : z.google_tag_data = {} } function Zp() { var a = z.google_tag_data, b; if (a != null && a.uach) { var c = a.uach, d = Object.assign({}, c); c.fullVersionList && (d.fullVersionList = c.fullVersionList.slice(0)); b = d } else b = null; return b } function $p() { var a, b; return (b = (a = z.google_tag_data) == null ? void 0 : a.uach_promise) != null ? b : null } function aq() { var a, b; return typeof ((a = z.navigator) == null ? void 0 : (b = a.userAgentData) == null ? void 0 : b.getHighEntropyValues) === "function" } function bq() { if (!aq()) return null; var a = Yp(); if (a.uach_promise) return a.uach_promise; var b = z.navigator.userAgentData.getHighEntropyValues(Xp).then(function (c) { a.uach != null || (a.uach = c); return c }); return a.uach_promise = b }; function iq(a) { var b; b = b === void 0 ? document : b; var c; return !((c = b.featurePolicy) == null || !c.allowedFeatures().includes(a)) }; function jq() { return iq("join-ad-interest-group") && Na(xb.joinAdInterestGroup) } function kq(a, b) { var c = Ja[3] === void 0 ? 1 : Ja[3], d = 'iframe[data-tagging-id="' + b + '"]', e = []; try { if (c === 1) { var f = C.querySelector(d); f && (e = [f]) } else e = Array.from(C.querySelectorAll(d)) } catch (q) {} var h; a: { try { h = C.querySelectorAll('iframe[allow="join-ad-interest-group"][data-tagging-id*="-"]'); break a } catch (q) {} h = void 0 } var l = h, m = ((l == null ? void 0 : l.length) || 0) >= (Ja[2] === void 0 ? 50 : Ja[2]), n; if (n = e.length >= 1) { var p = Number(e[e.length - 1].dataset.loadTime); p !== void 0 && ab() - p < (Ja[1] === void 0 ? 6E4 : Ja[1]) ? (Fa("TAGGING", 9), n = !0) : n = !1 } if (!n) { if (c === 1) if (e.length >= 1) lq(e[0]); else { if (m) { Fa("TAGGING", 10); return } } else e.length >= c ? lq(e[0]) : m && lq(l[0]); Ib(a, void 0, { allow: "join-ad-interest-group" }, { taggingId: b, loadTime: ab() }) } } function lq(a) { try { a.parentNode.removeChild(a) } catch (b) {} } function mq() { return "https://td.doubleclick.net" }; var gr = { F: { Gg: "ads_conversion_hit", Nc: "container_execute_start", Kg: "container_setup_end", jf: "container_setup_start", Ig: "container_blocking_end", Jg: "container_execute_end", Lg: "container_yield_end", kf: "container_yield_start", Yh: "event_execute_end", Xh: "event_evaluation_end", Nf: "event_evaluation_start", Zh: "event_setup_end", sd: "event_setup_start", bi: "ga4_conversion_hit", wd: "page_load", Im: "pageview", Fb: "snippet_load", Bi: "tag_callback_error", Ci: "tag_callback_failure", Di: "tag_callback_success", Ei: "tag_execute_end", Cc: "tag_execute_start" } }; function hr() { function a(c, d) { var e = Ga(d); e && b.push([c, e]) } var b = []; a("u", "GTM"); a("ut", "TAGGING"); a("h", "HEALTH"); return b }; var ir = !1; function Xr(a, b) {} function Yr(a, b) {} function Zr(a, b) {} function $r(a, b) {} function as() { var a = {}; return a } function Pr(a) { a = a === void 0 ? !0 : a; var b = {}; return b } function bs() {} function cs(a, b) {} function ds(a, b, c) {} function es(a, b) { var c, d = z.GooglebQhCsO; d || (d = {}, z.GooglebQhCsO = d); c = d; if (c[a]) return !1; c[a] = []; c[a][0] = b; return !0 }; function fs(a, b, c, d) { var e = Fj(a, "fmt"); if (b) { var f = Fj(a, "random"), h = Fj(a, "label") || ""; if (!f) return !1; var l = Wp(decodeURIComponent(h.replace(/\+/g, " ")) + ":" + decodeURIComponent(f.replace(/\+/g, " "))); if (!es(l, b)) return !1 } e && Number(e) !== 4 && (a = Hj(a, "rfmt", e)); var m = Hj(a, "fmt", 4); Gb(m, function () { z.google_noFurtherRedirects && b && (z.google_noFurtherRedirects = null, b()) }, c, d, C.getElementsByTagName("script")[0].parentElement || void 0); return !0 }; function vs(a, b) { if (data.entities) { var c = data.entities[a]; if (c) return c[b] } }; function ws(a) { var b = xg(), c; c = c === void 0 ? !1 : c; xs().addRestriction(0, b, a, c) } function ys(a) { var b = xg(), c; c = c === void 0 ? !1 : c; xs().addRestriction(1, b, a, c) } function zs() { var a = xg(); return xs().getRestrictions(1, a) } var As = function () { this.container = {}; this.j = {} }, Bs = function (a, b) { var c = a.container[b]; c || (c = { _entity: { internal: [], external: [] }, _event: { internal: [], external: [] } }, a.container[b] = c); return c }; As.prototype.addRestriction = function (a, b, c, d) { d = d === void 0 ? !1 : d; if (!d || !this.j[b]) { var e = Bs(this, b); a === 0 ? d ? e._entity.external.push(c) : e._entity.internal.push(c) : a === 1 && (d ? e._event.external.push(c) : e._event.internal.push(c)) } }; As.prototype.getRestrictions = function (a, b) { var c = Bs(this, b); if (a === 0) { var d, e; return [].concat(ja((c == null ? void 0 : (d = c._entity) == null ? void 0 : d.internal) || []), ja((c == null ? void 0 : (e = c._entity) == null ? void 0 : e.external) || [])) } if (a === 1) { var f, h; return [].concat(ja((c == null ? void 0 : (f = c._event) == null ? void 0 : f.internal) || []), ja((c == null ? void 0 : (h = c._event) == null ? void 0 : h.external) || [])) } return [] }; As.prototype.getExternalRestrictions = function (a, b) { var c = Bs(this, b), d, e; return a === 0 ? (c == null ? void 0 : (d = c._entity) == null ? void 0 : d.external) || [] : (c == null ? void 0 : (e = c._event) == null ? void 0 : e.external) || [] }; As.prototype.removeExternalRestrictions = function (a) { var b = Bs(this, a); b._event && (b._event.external = []); b._entity && (b._entity.external = []); this.j[a] = !0 }; function xs() { var a = Ve.r; a || (a = new As, Ve.r = a); return a }; var Cs = new RegExp(/^(.*\.)?(google|youtube|blogger|withgoogle)(\.com?)?(\.[a-z]{2})?\.?$/), Ds = { cl: ["ecl"], customPixels: ["nonGooglePixels"], ecl: ["cl"], ehl: ["hl"], gaawc: ["googtag"], hl: ["ehl"], html: ["customScripts", "customPixels", "nonGooglePixels", "nonGoogleScripts", "nonGoogleIframes"], customScripts: ["html", "customPixels", "nonGooglePixels", "nonGoogleScripts", "nonGoogleIframes"], nonGooglePixels: [], nonGoogleScripts: ["nonGooglePixels"], nonGoogleIframes: ["nonGooglePixels"] }, Es = { cl: ["ecl"], customPixels: ["customScripts", "html" ], ecl: ["cl"], ehl: ["hl"], gaawc: ["googtag"], hl: ["ehl"], html: ["customScripts"], customScripts: ["html"], nonGooglePixels: ["customPixels", "customScripts", "html", "nonGoogleScripts", "nonGoogleIframes"], nonGoogleScripts: ["customScripts", "html"], nonGoogleIframes: ["customScripts", "html", "nonGoogleScripts"] }, Fs = "google customPixels customScripts html nonGooglePixels nonGoogleScripts nonGoogleIframes".split(" "); function Gs() { var a = vf("gtm.allowlist") || vf("gtm.whitelist"); a && P(9); $e && (a = ["google", "gtagfl", "lcl", "zone"]); Cs.test(z.location && z.location.hostname) && ($e ? P(116) : (P(117), Hs && (a = [], window.console && window.console.log && window.console.log("GTM blocked. See go/13687728.")))); var b = a && fb(Ya(a), Ds), c = vf("gtm.blocklist") || vf("gtm.blacklist"); c || (c = vf("tagTypeBlacklist")) && P(3); c ? P(8) : c = []; Cs.test(z.location && z.location.hostname) && (c = Ya(c), c.push("nonGooglePixels", "nonGoogleScripts", "sandboxedScripts")); Ya(c).indexOf("google") >= 0 && P(2); var d = c && fb(Ya(c), Es), e = {}; return function (f) { var h = f && f[ic.ja]; if (!h || typeof h !== "string") return !0; h = h.replace(/^_*/, ""); if (e[h] !== void 0) return e[h]; var l = kf[h] || [], m = !0; if (a) { var n; if (n = m) a: { if (b.indexOf(h) < 0) if (l && l.length > 0) for (var p = 0; p < l.length; p++) { if (b.indexOf(l[p]) < 0) { P(11); n = !1; break a } } else { n = !1; break a } n = !0 } m = n } var q = !1; if (c) { var r = d.indexOf(h) >= 0; if (r) q = r; else { var u = Sa(d, l || []); u && P(10); q = u } } var v = !m || q; v || !(l.indexOf("sandboxedScripts") >= 0) || b && b.indexOf("sandboxedScripts") !== -1 || (v = Sa(d, Fs)); return e[h] = v } } var Hs = !1; Hs = !0; function Is() { ng && ws(function (a) { var b = {}; b[ic.ja] = "__" + a.entityId; for (var c in void 0)(void 0).hasOwnProperty(c) && (b["vtp_" + c] = (void 0)[c]); var d; if (Vc(b)) { var e = b[ic.ja]; if (!e) throw Error("Error: No function name given for function call."); var f = Kc[e]; d = !!f && !!f.runInSiloedMode } else d = !!vs(b[ic.ja], 4); return d }) } function Js(a, b, c, d) { if (!Ks()) { var e = d.siloed ? tg(a) : a; if (!jg().container[e]) { d.siloed && Gg({ ctid: e, isDestination: !1 }); var f = Ag(); jg().container[e] = { state: 1, context: d, parent: f }; ig({ ctid: e, isDestination: !1 }); var h = Ls(a); if (O(69) && pf()) Gb( of () + "/" + h); else { var l = gb(a, "GTM-"), m = Uf(), n = c ? "/gtag/js" : "/gtm.js", p = Tf(b, n + h); if (!p) { var q = Ue.ae + n; m && Ab && l ? (q = Ab.replace(/^(?:https?:\/\/)?/i, "").split(/[?#]/)[0], p = ho("https://", "http://", q + h)) : p = pf() ? of () + "/" + h : ho("https://", "http://", q + h) } Gb(p) } } } } function Ms(a, b, c) { if (!Ks()) { var d = c.siloed ? tg(a) : a, e = jg().destination[d]; if (!e || !e.state) if (!c.siloed && Hg()) jg().destination[d] = { state: 0, transportUrl: b, context: c, parent: Ag() }, ig({ ctid: d, isDestination: !0 }), P(91); else if (c.siloed && Gg({ ctid: d, isDestination: !0 }), jg().destination[d] = { state: 1, context: c, parent: Ag() }, ig({ ctid: d, isDestination: !0 }), O(69) && pf()) Gb( of () + ("/gtd" + Ls(a, !0))); else { var f = "/gtag/destination" + Ls(a, !0), h = Tf(b, f); h || (pf() ? (f = "/gtd" + Ls(a, !0), h = of () + f) : h = ho("https://", "http://", Ue.ae + f)); Gb(h) } } } function Ls(a, b) { b = b === void 0 ? !1 : b; var c = "?id=" + encodeURIComponent(a) + "&l=" + Ue.ub; if (!gb(a, "GTM-") || b) c += "&cx=c"; O(79) && (c += ">m=" + Ck()); Uf() && (c += "&sign=" + Ue.Rf); var d = nf.C; d === 1 ? c += "&fps=fc" : d === 2 && (c += "&fps=fe"); return c } function Ks() { if (Ak()) { return !0 } return !1 }; var Ns = !1, Os = 0, Ps = []; function Qs(a) { if (!Ns) { var b = C.createEventObject, c = C.readyState === "complete", d = C.readyState === "interactive"; if (!a || a.type !== "readystatechange" || c || !b && d) { Ns = !0; for (var e = 0; e < Ps.length; e++) D(Ps[e]) } Ps.push = function () { for (var f = ua.apply(0, arguments), h = 0; h < f.length; h++) D(f[h]); return 0 } } } function Rs() { if (!Ns && Os < 140) { Os++; try { var a, b; (b = (a = C.documentElement).doScroll) == null || b.call(a, "left"); Qs() } catch (c) { z.setTimeout(Rs, 50) } } } function Ss(a) { Ns ? a() : Ps.push(a) }; function Ts(a, b) { return { entityType: 1, indexInOriginContainer: a, nameInOriginContainer: b, originContainerId: vg() } }; var Vs = function (a, b) { this.j = !1; this.H = []; this.eventData = { tags: [] }; this.N = !1; this.C = this.D = 0; Us(this, a, b) }, Ws = function (a, b, c, d) { if (Xe.hasOwnProperty(b) || b === "__zone") return -1; var e = {}; bc(d) && (e = cc(d, e)); e.id = c; e.status = "timeout"; return a.eventData.tags.push(e) - 1 }, Xs = function (a, b, c, d) { var e = a.eventData.tags[b]; e && (e.status = c, e.executionTime = d) }, Ys = function (a) { if (!a.j) { for (var b = a.H, c = 0; c < b.length; c++) b[c](); a.j = !0; a.H.length = 0 } }, Us = function (a, b, c) { b !== void 0 && Zs(a, b); c && z.setTimeout(function () { Ys(a) }, Number(c)) }, Zs = function (a, b) { var c = cb(function () { D(function () { b(vg(), a.eventData) }) }); a.j ? c() : a.H.push(c) }, $s = function (a) { a.D++; return cb(function () { a.C++; a.N && a.C >= a.D && Ys(a) }) }, at = function (a) { a.N = !0; a.C >= a.D && Ys(a) }; var bt = {}; function ct() { return z[dt()] } function dt() { return z.GoogleAnalyticsObject || "ga" } function gt() { var a = vg(); } function ht(a, b) { return function () { var c = ct(), d = c && c.getByName && c.getByName(a); if (d) { var e = d.get("sendHitTask"); d.set("sendHitTask", function (f) { var h = f.get("hitPayload"), l = f.get("hitCallback"), m = h.indexOf("&tid=" + b) < 0; m && (f.set("hitPayload", h.replace(/&tid=UA-[0-9]+-[0-9]+/, "&tid=" + b), !0), f.set("hitCallback", void 0, !0)); e(f); m && (f.set("hitPayload", h, !0), f.set("hitCallback", l, !0), f.set("_x_19", void 0, !0), e(f)) }) } } } var mt = ["es", "1"], nt = {}, ot = {}; function pt(a, b) { if (cg) { var c; c = b.match(/^(gtm|gtag)\./) ? encodeURIComponent(b) : "*"; nt[a] = [ ["e", c], ["eid", a] ]; Wi(a) } } function qt(a) { var b = a.eventId, c = a.hc; if (!nt[b]) return []; var d = []; ot[b] || d.push(mt); d.push.apply(d, ja(nt[b])); c && (ot[b] = !0); return d }; var rt = {}, st = {}, tt = {}; function ut(a, b, c, d) { cg && O(92) && ((d === void 0 ? 0 : d) ? (tt[b] = tt[b] || 0, ++tt[b]) : c !== void 0 ? (st[a] = st[a] || {}, st[a][b] = Math.round(c)) : (rt[a] = rt[a] || {}, rt[a][b] = (rt[a][b] || 0) + 1)) } function vt(a) { var b = a.eventId, c = a.hc, d = rt[b] || {}, e = [], f; for (f in d) d.hasOwnProperty(f) && e.push("" + f + d[f]); c && delete rt[b]; return e.length ? [ ["md", e.join(".")] ] : [] } function wt(a) { var b = a.eventId, c = a.hc, d = st[b] || {}, e = [], f; for (f in d) d.hasOwnProperty(f) && e.push("" + f + d[f]); c && delete st[b]; return e.length ? [ ["mtd", e.join(".")] ] : [] } function xt() { for (var a = [], b = g(Object.keys(tt)), c = b.next(); !c.done; c = b.next()) { var d = c.value; a.push("" + d + tt[d]) } return a.length ? [ ["mec", a.join(".")] ] : [] }; var zt = {}, At = {}; function Bt(a, b, c) { if (cg && b) { var d = Xf(b); zt[a] = zt[a] || []; zt[a].push(c + d); var e = (Vc(b) ? "1" : "2") + d; At[a] = At[a] || []; At[a].push(e); Wi(a) } } function Ct(a) { var b = a.eventId, c = a.hc, d = [], e = zt[b] || []; e.length && d.push(["tr", e.join(".")]); var f = At[b] || []; f.length && d.push(["ti", f.join(".")]); c && (delete zt[b], delete At[b]); return d }; function Dt(a, b, c, d) { var e = Ic[a], f = Et(a, b, c, d); if (!f) return null; var h = Wc(e[ic.yi], c, []); if (h && h.length) { var l = h[0]; f = Dt(l.index, { onSuccess: f, onFailure: l.Ki === 1 ? b.terminate : f, terminate: b.terminate }, c, d) } return f } function Et(a, b, c, d) { function e() { function w() { th(3); var I = ab() - J; Bt(c.id, f, "7"); Xs(c.Rb, A, "exception", I); O(80) && ds(c, f, gr.F.Bi); E || (E = !0, l()) } if (f[ic.mk]) l(); else { var x = Uc(f, c, []), y = x[ic.oj]; if (y != null) for (var B = 0; B < y.length; B++) if (!T(y[B])) { l(); return } var A = Ws(c.Rb, String(f[ic.ja]), Number(f[ic.zd]), x[ic.METADATA]), E = !1; x.vtp_gtmOnSuccess = function () { if (!E) { E = !0; var I = ab() - J; Bt(c.id, Ic[a], "5"); Xs(c.Rb, A, "success", I); O(80) && ds(c, f, gr.F.Di); h() } }; x.vtp_gtmOnFailure = function () { if (!E) { E = !0; var I = ab() - J; Bt(c.id, Ic[a], "6"); Xs(c.Rb, A, "failure", I); O(80) && ds(c, f, gr.F.Ci); l() } }; x.vtp_gtmTagId = f.tag_id; x.vtp_gtmEventId = c.id; c.priorityId && (x.vtp_gtmPriorityId = c.priorityId); Bt(c.id, f, "1"); O(80) && cs(c, f); var J = ab(); try { Xc(x, { event: c, index: a, type: 1 }) } catch (I) { w(I) } O(80) && ds(c, f, gr.F.Ei) } } var f = Ic[a], h = b.onSuccess, l = b.onFailure, m = b.terminate; if (c.isBlocked(f)) return null; var n = Wc(f[ic.Fi], c, []); if (n && n.length) { var p = n[0], q = Dt(p.index, { onSuccess: h, onFailure: l, terminate: m }, c, d); if (!q) return null; h = q; l = p.Ki === 2 ? m : q } if (f[ic.mi] || f[ic.pk]) { var r = f[ic.mi] ? Jc : c.jm, u = h, v = l; if (!r[a]) { var t = Ft(a, r, cb(e)); h = t.onSuccess; l = t.onFailure } return function () { r[a](u, v) } } return e } function Ft(a, b, c) { var d = [], e = []; b[a] = Gt(d, e, c); return { onSuccess: function () { b[a] = Ht; for (var f = 0; f < d.length; f++) d[f]() }, onFailure: function () { b[a] = It; for (var f = 0; f < e.length; f++) e[f]() } } } function Gt(a, b, c) { return function (d, e) { a.push(d); b.push(e); c() } } function Ht(a) { a() } function It(a, b) { b() }; var Lt = function (a, b) { for (var c = [], d = 0; d < Ic.length; d++) if (a[d]) { var e = Ic[d]; var f = $s(b.Rb); try { var h = Dt(d, { onSuccess: f, onFailure: f, terminate: f }, b, d); if (h) { var l = e[ic.ja]; if (!l) throw Error("Error: No function name given for function call."); var m = Kc[l]; c.push({ dj: d, Wi: (m ? m.priorityOverride || 0 : 0) || vs(e[ic.ja], 1) || 0, execute: h }) } else Jt(d, b), f() } catch (p) { f() } } c.sort(Kt); for (var n = 0; n < c.length; n++) c[n].execute(); return c.length > 0 }; function Kt(a, b) { var c, d = b.Wi, e = a.Wi; c = d > e ? 1 : d < e ? -1 : 0; var f; if (c !== 0) f = c; else { var h = a.dj, l = b.dj; f = h > l ? 1 : h < l ? -1 : 0 } return f } function Jt(a, b) { if (cg) { var c = function (d) { var e = b.isBlocked(Ic[d]) ? "3" : "4", f = Wc(Ic[d][ic.yi], b, []); f && f.length && c(f[0].index); Bt(b.id, Ic[d], e); var h = Wc(Ic[d][ic.Fi], b, []); h && h.length && c(h[0].index) }; c(a) } } var Ot = !1, Mt; function Pt(a) { var b = a["gtm.uniqueEventId"], c = a["gtm.priorityId"], d = a.event; if (O(80)) {} if (d === "gtm.js") { if (Ot) return !1; Ot = !0 } var e = !1, f = zs(), h = cc(a, null); if (!f.every(function (u) { return u({ originalEventData: h }) })) { if (d !== "gtm.js" && d !== "gtm.init" && d !== "gtm.init_consent") return !1; e = !0 } pt(b, d); var l = a.eventCallback, m = a.eventTimeout, n = { id: b, priorityId: c, name: d, isBlocked: Qt(h, e), jm: [], logMacroError: function () { P(6); th(0) }, cachedModelValues: Rt(), Rb: new Vs(function () { if (O(80)) {} l && l.apply(l, Array.prototype.slice.call(arguments, 0)) }, m), originalEventData: h }; O(92) && cg && (n.reportMacroDiscrepancy = ut); O(80) && Zr(n.id, n.name); var p = Zc(n); O(80) && $r(n.id, n.name); e && (p = St(p)); if (O(80)) {} var q = Lt(p, n), r = !1; at(n.Rb); d !== "gtm.js" && d !== "gtm.sync" || gt(); return Tt(p, q) || r } function Rt() { var a = {}; a.event = zf("event", 1); a.ecommerce = zf("ecommerce", 1); a.gtm = zf("gtm"); a.eventModel = zf("eventModel"); return a } function Qt(a, b) { var c = Gs(); return function (d) { if (c(d)) return !0; var e = d && d[ic.ja]; if (!e || typeof e !== "string") return !0; e = e.replace(/^_*/, ""); var f, h = xg(); f = xs().getRestrictions(0, h); var l = a; b && (l = cc(a, null), l["gtm.uniqueEventId"] = Number.MAX_SAFE_INTEGER); for (var m = kf[e] || [], n = g(f), p = n.next(); !p.done; p = n.next()) { var q = p.value; try { if (!q({ entityId: e, securityGroups: m, originalEventData: l })) return !0 } catch (r) { return !0 } } return !1 } } function St(a) { for (var b = [], c = 0; c < a.length; c++) if (a[c]) { var d = String(Ic[c][ic.ja]); if (We[d] || Ic[c][ic.qk] !== void 0 || vs(d, 2)) b[c] = !0 } return b } function Tt(a, b) { if (!b) return b; for (var c = 0; c < a.length; c++) if (a[c] && Ic[c] && !Xe[String(Ic[c][ic.ja])]) return !0; return !1 } var Ut = 0; function Vt(a, b) { return arguments.length === 1 ? Wt("set", a) : Wt("set", a, b) } function Xt(a, b) { return arguments.length === 1 ? Wt("config", a) : Wt("config", a, b) } function Yt(a, b, c) { c = c || {}; c[G.g.Ob] = a; return Wt("event", b, c) } function Wt() { return arguments }; var Zt = function () { this.messages = []; this.j = [] }; Zt.prototype.enqueue = function (a, b, c) { var d = this.messages.length + 1; a["gtm.uniqueEventId"] = b; a["gtm.priorityId"] = d; var e = Object.assign({}, c, { eventId: b, priorityId: d, fromContainerExecution: !0 }), f = { message: a, notBeforeEventId: b, priorityId: d, messageContext: e }; this.messages.push(f); for (var h = 0; h < this.j.length; h++) try { this.j[h](f) } catch (l) {} }; Zt.prototype.listen = function (a) { this.j.push(a) }; Zt.prototype.get = function () { for (var a = {}, b = 0; b < this.messages.length; b++) { var c = this.messages[b], d = a[c.notBeforeEventId]; d || (d = [], a[c.notBeforeEventId] = d); d.push(c) } return a }; Zt.prototype.prune = function (a) { for (var b = [], c = [], d = 0; d < this.messages.length; d++) { var e = this.messages[d]; e.notBeforeEventId === a ? b.push(e) : c.push(e) } this.messages = c; return b }; function $t(a, b, c) { c.eventMetadata = c.eventMetadata || {}; c.eventMetadata.source_canonical_id = og.canonicalContainerId; au().enqueue(a, b, c) } function bu() { var a = cu; au().listen(a) } function au() { var a = Ve.mb; a || (a = new Zt, Ve.mb = a); return a }; var du = {}, eu = {}; function fu(a, b) { for (var c = [], d = [], e = {}, f = 0; f < a.length; e = { zg: void 0, lg: void 0 }, f++) { var h = a[f]; if (h.indexOf("-") >= 0) { if (e.zg = bi(h, b), e.zg) { var l = ug(); Qa(l, function (r) { return function (u) { return r.zg.destinationId === u } }(e)) ? c.push(h) : d.push(h) } } else { var m = du[h] || []; e.lg = {}; m.forEach(function (r) { return function (u) { r.lg[u] = !0 } }(e)); for (var n = rg(), p = 0; p < n.length; p++) if (e.lg[n[p]]) { c = c.concat(ug()); break } var q = eu[h] || []; q.length && (c = c.concat(q)) } } return { Dl: c, Fl: d } } function gu(a) { Ua(du, function (b, c) { var d = c.indexOf(a); d >= 0 && c.splice(d, 1) }) } function hu(a) { Ua(eu, function (b, c) { var d = c.indexOf(a); d >= 0 && c.splice(d, 1) }) } var iu = "HA GF G UA AW DC MC".split(" "), ju = !1, ku = !1, lu = !1, mu = !1; function nu(a, b) { a.hasOwnProperty("gtm.uniqueEventId") || Object.defineProperty(a, "gtm.uniqueEventId", { value: lf() }); b.eventId = a["gtm.uniqueEventId"]; b.priorityId = a["gtm.priorityId"]; return { eventId: b.eventId, priorityId: b.priorityId } } var ou = void 0, pu = void 0; function qu(a, b, c) { var d = cc(a, null); d.eventId = void 0; d.inheritParentConfig = void 0; Object.keys(b).some(function (f) { return b[f] !== void 0 }) && P(136); var e = cc(b, null); cc(c, e); $t(Xt(rg()[0], e), a.eventId, d) } function ru(a) { for (var b = g([G.g.zc, G.g.Eb]), c = b.next(); !c.done; c = b.next()) { var d = c.value, e = a && a[d] || dj.j[d]; if (e) return e } } var su = [G.g.zc, G.g.Eb, G.g.rc, G.g.hb, G.g.qb, G.g.xa, G.g.na, G.g.Fa, G.g.La, G.g.jb], tu = { config: function (a, b) { var c = nu(a, b); if (!(a.length < 2) && k(a[1])) { var d = {}; if (a.length > 2) { if (a[2] !== void 0 && !bc(a[2]) || a.length > 3) return; d = a[2] } var e = bi(a[1], b.isGtmEvent); if (e) { var f, h, l; a: { if (!mg.vd) { var m = zg(Ag()); if (Jg(m)) { var n = m.parent, p = n.isDestination; l = { Ll: zg(n), Cl: p }; break a } } l = void 0 } var q = l; q && (f = q.Ll, h = q.Cl); pt(c.eventId, "gtag.config"); var r = e.destinationId, u = e.id !== r; if (u ? ug().indexOf(r) === -1 : rg().indexOf(r) === -1) { if (!b.inheritParentConfig && !d[G.g.Ab]) { var v = ru(d); if (u) Ms(r, v, { source: 2, fromContainerExecution: b.fromContainerExecution }); else if (f !== void 0 && f.containers.indexOf(r) !== -1) { var t = d; ou ? qu(b, t, ou) : pu || (pu = cc(t, null)) } else Js(r, v, !0, { source: 2, fromContainerExecution: b.fromContainerExecution }) } } else { if (f && (P(128), h && P(130), b.inheritParentConfig)) { var w = d; pu ? qu(b, pu, w) : !w[G.g.Pb] && Ze && ou || (ou = cc(w, null)); return } var x = d; if (!lu && (lu = !0, ku)) for (var y = g(su), B = y.next(); !B.done; B = y.next()) if (x.hasOwnProperty(B.value)) { sh("erc"); break } dg && !ng && (Ut === 1 && (Ng.mcc = !1), Ut = 2); ph = !0; if (Ze && !u && !d[G.g.Pb]) { var A = mu; mu = !0; if (A) return } ju || P(43); if (!b.noTargetGroup) if (u) { hu(e.id); var E = e.id, J = d[G.g.ye] || "default"; J = String(J).split(","); for (var I = 0; I < J.length; I++) { var F = eu[J[I]] || []; eu[J[I]] = F; F.indexOf(E) < 0 && F.push(E) } } else { gu(e.id); var S = e.id, K = d[G.g.ye] || "default"; K = K.toString().split(","); for (var U = 0; U < K.length; U++) { var W = du[K[U]] || []; du[K[U]] = W; W.indexOf(S) < 0 && W.push(S) } } delete d[G.g.ye]; var Q = b.eventMetadata || {}; Q.hasOwnProperty("is_external_event") || (Q.is_external_event = !b.fromContainerExecution); b.eventMetadata = Q; delete d[G.g.kd]; for (var N = u ? [e.id] : ug(), L = 0; L < N.length; L++) { var da = d, Y = N[L], Z = cc(b, null), na = bi(Y, Z.isGtmEvent); na && dj.push("config", [da], na, Z) } } } } }, consent: function (a, b) { if (a.length === 3) { P(39); var c = nu(a, b), d = a[1], e = a[2]; b.fromContainerExecution || (e[G.g.K] && P(139), e[G.g.la] && P(140)); d === "default" ? Eh(e) : d === "update" ? Fh(e, c) : d === "declare" && b.fromContainerExecution && Dh(e) } }, event: function (a, b) { var c = a[1]; if (!(a.length < 2) && k(c)) { var d = void 0; if (a.length > 2) { if (!bc(a[2]) && a[2] !== void 0 || a.length > 3) return; d = a[2] } var e = d, f = {}, h = (f.event = c, f); e && (h.eventModel = cc(e, null), e[G.g.kd] && (h.eventCallback = e[G.g.kd]), e[G.g.ve] && (h.eventTimeout = e[G.g.ve])); var l = nu(a, b), m = l.eventId, n = l.priorityId; h["gtm.uniqueEventId"] = m; n && (h["gtm.priorityId"] = n); if (c === "optimize.callback") return h.eventModel = h.eventModel || {}, h; var p; var q = d, r = q && q[G.g.Ob]; r === void 0 && (r = vf(G.g.Ob, 2), r === void 0 && (r = "default")); if (k(r) || Array.isArray(r)) { var u; u = b.isGtmEvent ? k(r) ? [r] : r : r.toString().replace(/\s+/g, "").split(","); var v = fu(u, b.isGtmEvent), t = v.Dl, w = v.Fl; if (w.length) for (var x = ru(q), y = 0; y < w.length; y++) { var B = bi(w[y], b.isGtmEvent); B && Ms(B.destinationId, x, { source: 3, fromContainerExecution: b.fromContainerExecution }) } p = ci(t, b.isGtmEvent) } else p = void 0; var A = p; if (A) { var E; !A.length || ((E = b.eventMetadata) == null ? 0 : E.em_event) || (ku = !0); pt(m, c); for (var J = [], I = 0; I < A.length; I++) { var F = A[I], S = cc(b, null); if (iu.indexOf(Bg(F.prefix)) !== -1) { var K = cc(d, null), U = S.eventMetadata || {}; U.hasOwnProperty("is_external_event") || (U.is_external_event = !S.fromContainerExecution); S.eventMetadata = U; delete K[G.g.kd]; cj(c, K, F.id, S); dg && !ng && Ut === 0 && (Pg("mcc", "1"), Ut = 1); ph = !0 } J.push(F.id) } h.eventModel = h.eventModel || {}; A.length > 0 ? h.eventModel[G.g.Ob] = J.join() : delete h.eventModel[G.g.Ob]; ju || P(43); b.noGtmEvent === void 0 && b.eventMetadata && b.eventMetadata.syn_or_mod && (b.noGtmEvent = !0); h.eventModel[G.g.zb] && (b.noGtmEvent = !0); return b.noGtmEvent ? void 0 : h } } }, get: function (a, b) { P(53); if (a.length === 4 && k(a[1]) && k(a[2]) && Na(a[3])) { var c = bi(a[1], b.isGtmEvent), d = String(a[2]), e = a[3]; if (c) { ju || P(43); var f = ru(); if (!Qa(ug(), function (l) { return c.destinationId === l })) Ms(c.destinationId, f, { source: 4, fromContainerExecution: b.fromContainerExecution }); else if (iu.indexOf(Bg(c.prefix)) !== -1) { ph = !0; nu(a, b); var h = {}; cc((h[G.g.nb] = d, h[G.g.xb] = e, h), null); ej(d, function (l) { D(function () { e(l) }) }, c.id, b) } } } }, js: function (a, b) { if (a.length === 2 && a[1].getTime) { ju = !0; var c = nu(a, b), d = c.eventId, e = c.priorityId, f = {}; return f.event = "gtm.js", f["gtm.start"] = a[1].getTime(), f["gtm.uniqueEventId"] = d, f["gtm.priorityId"] = e, f } }, policy: function () {}, set: function (a, b) { var c = void 0; a.length === 2 && bc(a[1]) ? c = cc(a[1], null) : a.length === 3 && k(a[1]) && (c = {}, bc(a[2]) || Array.isArray(a[2]) ? c[a[1]] = cc(a[2], null) : c[a[1]] = a[2]); if (c) { var d = nu(a, b), e = d.eventId, f = d.priorityId; cc(c, null); var h = cc(c, null); dj.push("set", [h], void 0, b); c["gtm.uniqueEventId"] = e; f && (c["gtm.priorityId"] = f); delete c.event; b.overwriteModelFields = !0; return c } } }, uu = { policy: !0 }; var wu = function (a) { if (vu(a)) return a; this.value = a }; wu.prototype.getUntrustedMessageValue = function () { return this.value }; var vu = function (a) { return !a || $b(a) !== "object" || bc(a) ? !1 : "getUntrustedMessageValue" in a }; wu.prototype.getUntrustedMessageValue = wu.prototype.getUntrustedMessageValue; var xu = !1, yu = []; function zu() { if (!xu) { xu = !0; for (var a = 0; a < yu.length; a++) D(yu[a]) } } function Au(a) { xu ? D(a) : yu.push(a) }; var Bu = 0, Cu = {}, Du = [], Eu = [], Fu = !1, Gu = !1; function Hu(a, b) { return a.messageContext.eventId - b.messageContext.eventId || a.messageContext.priorityId - b.messageContext.priorityId } function Iu(a, b) { var c = a._clear || b.overwriteModelFields; Ua(a, function (e, f) { e !== "_clear" && (c && yf(e), yf(e, f)) }); gf || (gf = a["gtm.start"]); var d = a["gtm.uniqueEventId"]; if (!a.event) return !1; typeof d !== "number" && (d = lf(), a["gtm.uniqueEventId"] = d, yf("gtm.uniqueEventId", d)); return Pt(a) } function Ju(a) { if (a == null || typeof a !== "object") return !1; if (a.event) return !0; if (Va(a)) { var b = a[0]; if (b === "config" || b === "event" || b === "js" || b === "get") return !0 } return !1 } function Ku() { var a; if (Eu.length) a = Eu.shift(); else if (Du.length) a = Du.shift(); else return; var b; var c = a; if (Fu || !Ju(c.message)) b = c; else { Fu = !0; var d = c.message["gtm.uniqueEventId"]; typeof d !== "number" && (d = c.message["gtm.uniqueEventId"] = lf()); var e = {}, f = { message: (e.event = "gtm.init_consent", e["gtm.uniqueEventId"] = d - 2, e), messageContext: { eventId: d - 2 } }, h = {}, l = { message: (h.event = "gtm.init", h["gtm.uniqueEventId"] = d - 1, h), messageContext: { eventId: d - 1 } }; Du.unshift(l, c); dg && Tg(); b = f } return b } function Lu() { for (var a = !1, b; !Gu && (b = Ku());) { Gu = !0; delete sf.eventModel; uf(); var c = b, d = c.message, e = c.messageContext; if (d == null) Gu = !1; else { if (e.fromContainerExecution) for (var f = ["gtm.allowlist", "gtm.blocklist", "gtm.whitelist", "gtm.blacklist", "tagTypeBlacklist"], h = 0; h < f.length; h++) { var l = f[h], m = vf(l, 1); if (Array.isArray(m) || bc(m)) m = cc(m, null); tf[l] = m } try { if (Na(d)) try { d.call(wf) } catch (y) {} else if (Array.isArray(d)) { if (k(d[0])) { var n = d[0].split("."), p = n.pop(), q = d.slice(1), r = vf(n.join("."), 2); if (r != null) try { r[p].apply(r, q) } catch (y) {} } } else { var u = void 0; if (Va(d)) a: { if (d.length && k(d[0])) { var v = tu[d[0]]; if (v && (!e.fromContainerExecution || !uu[d[0]])) { u = v(d, e); break a } } u = void 0 } else u = d; u && (a = Iu(u, e) || a) } } finally { e.fromContainerExecution && uf(!0); var t = d["gtm.uniqueEventId"]; if (typeof t === "number") { for (var w = Cu[String(t)] || [], x = 0; x < w.length; x++) Eu.push(Mu(w[x])); w.length && Eu.sort(Hu); delete Cu[String(t)]; t > Bu && (Bu = t) } Gu = !1 } } } return !a } function Nu() { if (O(80)) { var a = Ou(); } var b = Lu(); if (O(80)) {} try { var c = vg(), d = z[Ue.ub].hide; if (d && d[c] !== void 0 && d.end) { d[c] = !1; var e = !0, f; for (f in d) if (d.hasOwnProperty(f) && d[f] === !0) { e = !1; break } e && (d.end(), d.end = null) } } catch (h) {} return b } function cu(a) { if (Bu < a.notBeforeEventId) { var b = String(a.notBeforeEventId); Cu[b] = Cu[b] || []; Cu[b].push(a) } else Eu.push(Mu(a)), Eu.sort(Hu), D(function () { Gu || Lu() }) } function Mu(a) { return { message: a.message, messageContext: a.messageContext } } function Pu() { function a(f) { var h = {}; if (vu(f)) { var l = f; f = vu(l) ? l.getUntrustedMessageValue() : void 0; h.fromContainerExecution = !0 } return { message: f, messageContext: h } } var b = Bb(Ue.ub, []), c = Ve[Ue.ub] = Ve[Ue.ub] || {}; c.pruned === !0 && P(83); Cu = au().get(); bu(); Ss(function () { if (!c.gtmDom) { c.gtmDom = !0; var f = {}; b.push((f.event = "gtm.dom", f)) } }); Au(function () { if (!c.gtmLoad) { c.gtmLoad = !0; var f = {}; b.push((f.event = "gtm.load", f)) } }); c.subscribers = (c.subscribers || 0) + 1; var d = b.push; b.push = function () { var f; if (Ve.SANDBOXED_JS_SEMAPHORE > 0) { f = []; for (var h = 0; h < arguments.length; h++) f[h] = new wu(arguments[h]) } else f = [].slice.call(arguments, 0); var l = f.map(function (q) { return a(q) }); Du.push.apply(Du, l); var m = d.apply(b, f), n = Math.max(100, Number("1000") || 300); if (this.length > n) for (P(4), c.pruned = !0; this.length > n;) this.shift(); var p = typeof m !== "boolean" || m; return Lu() && p }; var e = b.slice(0).map(function (f) { return a(f) }); Du.push.apply(Du, e); if (Ou()) { if (O(80)) {} D(Nu) } } var Ou = function () { var a = !0; return a }, Qu = function (a) { z[Ue.ub].push(a) }; function Ru(a) { if (a == null || a.length === 0) return !1; var b = Number(a), c = ab(); return b < c + 3E5 && b > c - 9E5 }; function lv() {}; var mv = function () {}; mv.prototype.toString = function () { return "undefined" }; var nv = new mv; function uv(a, b) { function c(h) { var l = Nf(h), m = Hf(l, "protocol"), n = Hf(l, "host", !0), p = Hf(l, "port"), q = Hf(l, "path").toLowerCase().replace(/\/$/, ""); if (m === void 0 || m === "http" && p === "80" || m === "https" && p === "443") m = "web", p = "default"; return [m, n, p, q] } for (var d = c(String(a)), e = c(String(b)), f = 0; f < d.length; f++) if (d[f] !== e[f]) return !1; return !0 } function vv(a) { return wv(a) ? 1 : 0 } function wv(a) { var b = a.arg0, c = a.arg1; if (a.any_of && Array.isArray(c)) { for (var d = 0; d < c.length; d++) { var e = cc(a, {}); cc({ arg1: c[d], any_of: void 0 }, e); if (vv(e)) return !0 } return !1 } switch (a["function"]) { case "_cn": return String(b).indexOf(String(c)) >= 0; case "_css": var f; a: { if (b) try { for (var h = 0; h < td.length; h++) { var l = td[h]; if (b[l] != null) { f = b[l](c); break a } } } catch (t) {} f = !1 } return f; case "_ew": var m = String(b), n = String(c), p = m.length - n.length; return p >= 0 && m.indexOf(n, p) === p; case "_eq": return String(b) === String(c); case "_ge": return Number(b) >= Number(c); case "_gt": return Number(b) > Number(c); case "_lc": return String(b).split(",").indexOf(String(c)) >= 0; case "_le": return Number(b) <= Number(c); case "_lt": return Number(b) < Number(c); case "_re": var q; a: { var r = a.ignore_case ? "i" : void 0; try { var u = String(c) + String(r), v = ud.get(u); v || (v = new RegExp(c, r), ud.set(u, v)); q = v.test(b); break a } catch (t) { q = !1; break a } } return q; case "_sw": return gb(String(b), String(c)); case "_um": return uv(b, c) } return !1 }; function xv() { var a; a = a === void 0 ? "" : a; var b, c; return ((b = data) == null ? 0 : (c = b.blob) == null ? 0 : c.hasOwnProperty(1)) ? String(data.blob[1]) : a }; function yv() { var a = [ ["cv", O(114) ? xv() : "1"], ["rv", Ue.Qf], ["tc", Ic.filter(function (b) { return b }).length] ]; Ue.xd && a.push(["x", Ue.xd]); nf.j && a.push(["tag_exp", nf.j]); return a }; var zv = {}, Av = {}; function Bv() { var a = 0; return function (b) { switch (b) { case 1: a |= 1; break; case 2: a |= 2; break; case 3: a |= 4 } return a } } function Cv(a, b, c) { if (cg) { var d = String(c) + b; zv[a] = zv[a] || []; zv[a].push(d); Av[a] = Av[a] || []; Av[a].push("j" + b) } } function Dv(a) { var b = a.eventId, c = a.hc, d = [], e = zv[b] || []; e.length && d.push(["hf", e.join(".")]); var f = Av[b] || []; f.length && d.push(["ht", f.join(".")]); c && (delete zv[b], delete Av[b]); return d }; function Nv(a) { var b = Ve.zones; return b ? b.getIsAllowedFn(rg(), a) : function () { return !0 } } function Ov() { ys(function (a) { var b = a.originalEventData["gtm.uniqueEventId"], c = Ve.zones; return c ? c.isActive(rg(), b) : !0 }); ws(function (a) { var b, c; b = a.entityId; c = a.securityGroups; return Nv(Number(a.originalEventData["gtm.uniqueEventId"]))(b, c) }) }; var Pv = function (a, b, c) { this.eventName = b; this.m = c; this.j = {}; this.isAborted = !1; this.target = a; this.metadata = cc(c.eventMetadata || {}, {}) }; Pv.prototype.copyToHitData = function (a, b, c) { var d = R(this.m, a); d === void 0 && (d = b); if (d !== void 0 && c !== void 0 && k(d) && O(72)) try { d = c(d) } catch (e) {} d !== void 0 && (this.j[a] = d) }; var tp = function (a, b, c) { var d = Co(a.target.destinationId); return d && d[b] !== void 0 ? d[b] : c }; function Aw() { return jk(7) && jk(9) && jk(10) }; yh(); function Cx() { return z.gaGlobal = z.gaGlobal || {} } function Dx() { var a = Cx(); a.hid = a.hid || Ra(); return a.hid } function Ex(a, b) { var c = Cx(); if (c.vid === void 0 || b && !c.from_cookie) c.vid = a, c.from_cookie = b }; function $x(a) { if (wp(a) || pf()) a.j[G.g.Vh] = vh() || uh["0"] || ""; !wp(a) && pf() && (a.j[G.g.gi] = "::") } function ay(a) { if (O(68) && pf()) { $n(a); ao(a, "cpf", R(a.m, G.g.Fa)); var b = R(a.m, G.g.Nb); ao(a, "cu", b === !0 ? 1 : b === !1 ? 0 : void 0); ao(a, "cf", R(a.m, G.g.Qa)); ao(a, "cd", Vk(R(a.m, G.g.La), R(a.m, G.g.jb))) } }; var qy = function (a) { this.D = a; this.j = "" }, ry = function (a, b) { a.C = b; return a }, sy = function (a, b) { b = a.j + b; for (var c = b.indexOf("\n\n"); c !== -1;) { var d = a, e; a: { var f = g(b.substring(0, c).split("\n")), h = f.next().value, l = f.next().value; if (h.indexOf("event: message") === 0 && l.indexOf("data: ") === 0) try { e = JSON.parse(l.substring(l.indexOf(":") + 1)); break a } catch (F) {} e = void 0 } var m = d, n = e; if (n) { var p = n.send_pixel, q = n.options, r = m.D; if (p) { var u = p || []; if (Array.isArray(u)) for (var v = bc(q) ? q : {}, t = g(u), w = t.next(); !w.done; w = t.next()) r(w.value, v) } var x = n.create_iframe, y = n.options, B = m.C; if (x && B) { var A = x || []; if (Array.isArray(A)) for (var E = bc(y) ? y : {}, J = g(A), I = J.next(); !I.done; I = J.next()) B(I.value, E) } } b = b.substring(c + 2); c = b.indexOf("\n\n") } a.j = b }; function ty(a) { var b = a.search; return a.protocol + "//" + a.hostname + a.pathname + (b ? b + "&richsstsse" : "?richsstsse") }; var fz = window, gz = document, hz = function (a) { var b = fz._gaUserPrefs; if (b && b.ioo && b.ioo() || gz.documentElement.hasAttribute("data-google-analytics-opt-out") || a && fz["ga-disable-" + a] === !0) return !0; try { var c = fz.external; if (c && c._gaUserPrefs && c._gaUserPrefs == "oo") return !0 } catch (p) {} for (var d = [], e = String(gz.cookie).split(";"), f = 0; f < e.length; f++) { var h = e[f].split("="), l = h[0].replace(/^\s*|\s*$/g, ""); if (l && l == "AMP_TOKEN") { var m = h.slice(1).join("=").replace(/^\s*|\s*$/g, ""); m && (m = decodeURIComponent(m)); d.push(m) } } for (var n = 0; n < d.length; n++) if (d[n] == "$OPT_OUT") return !0; return gz.getElementById("__gaOptOutExtension") ? !0 : !1 }; function sz(a) { Ua(a, function (c) { c.charAt(0) === "_" && delete a[c] }); var b = a[G.g.Va] || {}; Ua(b, function (c) { c.charAt(0) === "_" && delete b[c] }) } function Wz(a, b) {} function Xz(a, b) { var c = function () {}; return c } function Yz(a, b, c) {}; var Zz = Xz; function aA(a) { $t(Vt("developer_id." + a, !0), 0, {}) }; var bA = Array.isArray; function cA(a, b) { return cc(a, b || null) } function V(a) { return window.encodeURIComponent(a) } function dA(a, b, c) { Jb(a, b, c) } function eA(a, b) { if (!a) return !1; var c = Hf(Nf(a), "host"); if (!c) return !1; for (var d = 0; b && d < b.length; d++) { var e = b[d] && b[d].toLowerCase(); if (e) { var f = c.length - e.length; f > 0 && e.charAt(0) !== "." && (f--, e = "." + e); if (f >= 0 && c.indexOf(e, f) === f) return !0 } } return !1 } function fA(a, b, c) { for (var d = {}, e = !1, f = 0; a && f < a.length; f++) a[f] && a[f].hasOwnProperty(b) && a[f].hasOwnProperty(c) && (d[a[f][b]] = a[f][c], e = !0); return e ? d : null } var oA = z.clearTimeout, pA = z.setTimeout; function qA(a, b, c) { if (Ak()) { b && D(b) } else return Gb(a, b, c) } function rA() { return z.location.href } function sA(a, b) { return vf(a, b || 2) } function tA(a, b) { z[a] = b } function uA(a, b, c) { b && (z[a] === void 0 || c && !z[a]) && (z[a] = b); return z[a] } function vA(a, b) { if (Ak()) { b && D(b) } else Ib(a, b) } var wA = {}; var X = { securityGroups: {} }; X.securityGroups.v = ["google"], X.__v = function (a) { var b = a.vtp_name; if (!b || !b.replace) return !1; var c = sA(b.replace(/\\\./g, "."), a.vtp_dataLayerVersion || 1); return c !== void 0 ? c : a.vtp_defaultValue }, X.__v.o = "v", X.__v.isVendorTemplate = !0, X.__v.priorityOverride = 0, X.__v.isInfrastructure = !0, X.__v.runInSiloedMode = !1; X.securityGroups.get = ["google"], X.__get = function (a) { var b = a.vtp_settings, c = b.eventParameters || {}, d = String(a.vtp_eventName), e = {}; e.eventId = a.vtp_gtmEventId; e.priorityId = a.vtp_gtmPriorityId; a.vtp_deferrable && (e.deferrable = !0); var f = Yt(String(b.streamId), d, c); $t(f, e.eventId, e); a.vtp_gtmOnSuccess() }, X.__get.o = "get", X.__get.isVendorTemplate = !0, X.__get.priorityOverride = 0, X.__get.isInfrastructure = !1, X.__get.runInSiloedMode = !1; var xA = { dataLayer: wf, callback: function (a) { jf.hasOwnProperty(a) && Na(jf[a]) && jf[a](); delete jf[a] }, bootstrap: 0, _spx: !1 }; function yA() { Ve[vg()] = Ve[vg()] || xA; Fg(); Hg() || Ua(Ig(), function (d, e) { Ms(d, e.transportUrl, e.context); P(92) }); eb(kf, X.securityGroups); var a = zg(Ag()), b, c = a == null ? void 0 : (b = a.context) == null ? void 0 : b.source; c !== 2 && c !== 4 && c !== 3 || P(142); Qc = bd } var zA = !1; (function (a) { function b() { n = C.documentElement.getAttribute("data-tag-assistant-present"); Ru(n) && (m = l.ai) } function c() { m && Ab ? h(m) : a() } if (!z["__TAGGY_INSTALLED"]) { var d = !1; if (C.referrer) { var e = Nf(C.referrer); d = Jf(e, "host") === "cct.google" } if (!d) { var f = Fk("googTaggyReferrer"); d = !(!f.length || !f[0].length) } d && (z["__TAGGY_INSTALLED"] = !0, Gb("https://cct.google/taggy/agent.js")) } var h = function (v) { var t = "GTM", w = "GTM"; $e && (t = "OGT", w = "GTAG"); var x = z["google.tagmanager.debugui2.queue"]; x || (x = [], z["google.tagmanager.debugui2.queue"] = x, Gb("https://" + Ue.ae + "/debug/bootstrap?id=" + og.ctid + "&src=" + w + "&cond=" + v + ">m=" + Ck())); var y = { messageType: "CONTAINER_STARTING", data: { scriptSource: Ab, containerProduct: t, debug: !1, id: og.ctid, targetRef: { ctid: og.ctid, isDestination: pg() }, aliases: sg(), destinations: qg() } }; y.data.resume = function () { a() }; Ue.pj && (y.data.initialPublish = !0); x.push(y) }, l = { hk: 1, di: 2, vi: 3, Rg: 4, ai: 5 }; l[l.hk] = "GTM_DEBUG_LEGACY_PARAM"; l[l.di] = "GTM_DEBUG_PARAM"; l[l.vi] = "REFERRER"; l[l.Rg] = "COOKIE"; l[l.ai] = "EXTENSION_PARAM"; var m = void 0, n = void 0, p = Hf(z.location, "query", !1, void 0, "gtm_debug"); Ru(p) && (m = l.di); if (!m && C.referrer) { var q = Nf(C.referrer); Jf(q, "host") === "tagassistant.google.com" && (m = l.vi) } if (!m) { var r = Fk("__TAG_ASSISTANT"); r.length && r[0].length && (m = l.Rg) } m || b(); if (!m && n && n.indexOf("pending:") === 0 && Ru(n.substr(8))) { var u = !1; Kb(C, "TADebugSignal", function () { u || (u = !0, b(), c()) }, !1); z.setTimeout(function () { u || (u = !0, b(), c()) }, 200) } else c() })(function () { try { var a; if (!(a = zA)) { var b; a: { for (var c = jg(), d = g(rg()), e = d.next(); !e.done; e = d.next()) if (c.injectedFirstPartyContainers[e.value]) { b = !0; break a } b = !1 } a = !b } if (a) { Dg(); if (O(80)) {} Ia[10] = !0; pg(); if (!Lh) { Lh = !0; for (var f = Mh.length - 1; f >= 0; f--) Mh[f](); Mh = [] } ck(); Yh(); var h = xg(); if (jg().canonical[h]) { var l = Ve.zones; l && l.unregisterChild(rg()); xs().removeExternalRestrictions(xg()); } else { nf.j = "101823848~101925629~102077854"; nf.H = ""; nf.Ha = "ad_storage|analytics_storage|ad_user_data|ad_personalization"; nf.T = "ad_storage|analytics_storage|ad_user_data"; nf.N = "4a90"; nf.N = "4al0"; Is(); for (var m = data.resource || {}, n = m.macros || [], p = 0; p < n.length; p++) Fc.push(n[p]); for (var q = m.tags || [], r = 0; r < q.length; r++) Ic.push(q[r]); for (var u = m.predicates || [], v = 0; v < u.length; v++) Hc.push(u[v]); for (var t = m.rules || [], w = 0; w < t.length; w++) { for (var x = t[w], y = {}, B = 0; B < x.length; B++) { var A = x[B][0]; y[A] = Array.prototype.slice.call(x[B], 1); A !== "if" && A !== "unless" || Pc(y[A]) } Gc.push(y) } Kc = X; Mc = vv; yA(); if (!df) for (var E = uh["6"] !== !1 ? qf(nf.T) : qf(nf.Ha), J = 0; J < Ah.length; J++) { var I = Ah[J], F = I, S = E[I] ? "granted" : "denied"; Yg().implicit(F, S) } Pu(); Ns = !1; Os = 0; if (C.readyState === "interactive" && !C.createEventObject || C.readyState === "complete") Qs(); else { Kb(C, "DOMContentLoaded", Qs); Kb(C, "readystatechange", Qs); if (C.createEventObject && C.documentElement.doScroll) { var K = !0; try { K = !z.frameElement } catch (pr) {} K && Rs() } Kb(z, "load", Qs) } xu = !1; C.readyState === "complete" ? zu() : Kb(z, "load", zu); cg && (Mi(Zi), z.setInterval(Yi, 864E5), Mi(yv), Mi(qt), Mi(hr), Mi(bj), Mi(Dv), Mi(Ct), O(92) && (Mi(vt), Mi(wt), Mi(xt))); if (dg) { Xg(); si(); var W, Q = Nf(z.location.href); (W = Q.hostname + Q.pathname) && Pg("dl", encodeURIComponent(W)); var N; var L = og.ctid; if (L) { var da = mg.vd ? 1 : 0, Y, Z = zg(Ag()); Y = Z && Z.context; N = L + ";" + og.canonicalContainerId + ";" + (Y && Y.fromContainerExecution ? 1 : 0) + ";" + (Y && Y.source || 0) + ";" + da } else N = void 0; var na = N; na && Pg("tdp", na); var Da = Kj(!0); Da !== void 0 && Pg("frm", String(Da)); var ra; var Ba = zg(Ag()); if (Ba) { for (; Ba.parent;) { var Ma = zg(Ba.parent); if (!Ma) break; Ba = Ma } ra = Ba } else ra = void 0; var db = ra; if (!db) P(144); else if (db.canonicalContainerId) { var Lc; a: { var Se, qr = (Se = db.scriptElement) == null ? void 0 : Se.src; if (qr) { var Th; try { var rr; Th = (rr = Xb()) == null ? void 0 : rr.getEntriesByType("resource") } catch (pr) {} if (Th) { for (var ml = {}, Uh = 0; Uh < Th.length; ++Uh) { var sr = Th[Uh], nl = sr.initiatorType; if (nl === "script" && sr.name === qr) { Lc = { Zl: Uh, am: ml }; break a } ml[nl] = 1 + (ml[nl] || 0) } P(146) } else P(145) } Lc = void 0 } var ol = Lc; ol && (Pg("rtg", String(db.canonicalContainerId)), Pg("rlo", String(ol.Zl)), Pg("slo", String(ol.am.script || "0")), Pg("hlo", db.htmlLoadOrder || "-1"), Pg("lst", String(db.loadScriptType || "0"))) } var pl; var Vh = yg(); if (Vh) { var tr; pl = Vh.canonicalContainerId || "_" + (Vh.scriptContainerId || ((tr = Vh.destinations) == null ? void 0 : tr[0])) } else pl = void 0; var ur = pl; ur && Pg("pcid", ur); O(34) && (Pg("bt", String(nf.D ? 2 : bf ? 1 : 0)), Pg("ct", String(nf.D ? 0 : bf ? 1 : Ak() ? 2 : 3))) } lv(); th(1); Ov(); hf = ab(); xA.bootstrap = hf; if (O(80)) {} O(108) && (typeof z.name === "string" && gb(z.name, "web-pixel-sandbox-CUSTOM") && Yb() ? aA("dMDg0Yz") : z.Shopify && Yb() && aA("dNTU0Yz")) } } } catch (pr) { if (th(4), cg) { var AA = Ti(!0, !0); Jb(AA) } } }); })()