// Copyright 2012 Google Inc. All rights reserved.
(function () {
var data = {
resource: {
version: "1",
macros: [{ function: "__e" }, { function: "__c", vtp_value: "google.com.vn" }, { function: "__c", vtp_value: 0 }, { vtp_signal: 0, function: "__c", vtp_value: 0 }],
tags: [
{ function: "__gct", vtp_trackingId: "G-8JN5Z5SPNZ", vtp_sessionDuration: 0, tag_id: 1 },
{ function: "__ccd_em_outbound_click", priority: 0, original_activity_id: 2, vtp_includeParams: true, tag_id: 4 },
{ function: "__ccd_em_download", original_activity_id: 3, vtp_includeParams: true, tag_id: 5 },
{ function: "__ccd_em_video", original_activity_id: 4, vtp_includeParams: true, tag_id: 6 },
{ function: "__ccd_em_site_search", original_activity_id: 5, vtp_searchQueryParams: "q,s,search,query,keyword", vtp_includeParams: true, tag_id: 7 },
{ function: "__ccd_em_scroll", original_activity_id: 6, vtp_includeParams: true, tag_id: 8 },
{ function: "__ccd_em_page_view", original_activity_id: 7, vtp_historyEvents: true, vtp_includeParams: true, tag_id: 9 },
{
function: "__ccd_conversion_marking",
original_activity_id: 8,
vtp_conversionRules: ["list", ["map", "matchingRules", '{"type":5,"args":[{"stringValue":"purchase"},{"contextValue":{"namespaceType":1,"keyParts":["eventName"]}}]}']],
tag_id: 10,
},
{ function: "__set_product_settings", original_activity_id: 9, vtp_foreignTldMacroResult: ["macro", 1], vtp_isChinaVipRegionMacroResult: ["macro", 2], tag_id: 11 },
{ function: "__ogt_google_signals", original_activity_id: 10, vtp_googleSignals: "DISABLED", vtp_serverMacroResult: ["macro", 3], tag_id: 12 },
],
predicates: [
{ function: "_eq", arg0: ["macro", 0], arg1: "gtm.js" },
{ function: "_eq", arg0: ["macro", 0], arg1: "gtm.init" },
],
rules: [
[
["if", 0],
["add", 0],
],
[
["if", 1],
["add", 1, 2, 3, 4, 5, 6, 7, 8, 9],
],
],
},
runtime: [
[
50,
"__ccd_em_video",
[46, "a"],
[52, "b", ["require", "internal.addDataLayerEventListener"]],
[52, "c", ["require", "internal.enableAutoEventOnYouTubeActivity"]],
[52, "d", ["require", "getContainerVersion"]],
[52, "e", ["require", "internal.getProductSettingsParameter"]],
[52, "f", ["require", "internal.sendGtagEvent"]],
[52, "g", [30, [17, [15, "a"], "instanceDestinationId"], [17, ["d"], "containerId"]]],
[22, ["e", [15, "g"], "ae_block_video"], [46, [2, [15, "a"], "gtmOnSuccess", [7]], [36]]],
[52, "h", ["c", [8, "captureComplete", true, "captureStart", true, "progressThresholdsPercent", [7, 10, 25, 50, 75]]]],
[22, [28, [15, "h"]], [46, [2, [15, "a"], "gtmOnFailure", [7]], [36]]],
[
"b",
"gtm.video",
[
51,
"",
[7, "i", "j"],
["j"],
[52, "k", [16, [15, "i"], "gtm.videoStatus"]],
[41, "l"],
[22, [20, [15, "k"], "start"], [46, [3, "l", "video_start"]], [46, [22, [20, [15, "k"], "progress"], [46, [3, "l", "video_progress"]], [46, [22, [20, [15, "k"], "complete"], [46, [3, "l", "video_complete"]]]]]]],
[
52,
"m",
[
39,
[28, [28, [17, [15, "a"], "includeParams"]]],
[
8,
"video_current_time",
[16, [15, "i"], "gtm.videoCurrentTime"],
"video_duration",
[16, [15, "i"], "gtm.videoDuration"],
"video_percent",
[16, [15, "i"], "gtm.videoPercent"],
"video_provider",
[16, [15, "i"], "gtm.videoProvider"],
"video_title",
[16, [15, "i"], "gtm.videoTitle"],
"video_url",
[16, [15, "i"], "gtm.videoUrl"],
"visible",
[16, [15, "i"], "gtm.videoVisible"],
],
[8],
],
],
[22, [21, [15, "l"], [44]], [46, ["f", [15, "g"], [15, "l"], [15, "m"]]]],
],
[15, "h"],
],
[2, [15, "a"], "gtmOnSuccess", [7]],
],
[
50,
"__ccd_em_page_view",
[46, "a"],
[22, [28, [17, [15, "a"], "historyEvents"]], [46, [2, [15, "a"], "gtmOnSuccess", [7]], [36]]],
[52, "b", ["require", "internal.addDataLayerEventListener"]],
[52, "c", ["require", "internal.enableAutoEventOnHistoryChange"]],
[52, "d", ["require", "getContainerVersion"]],
[52, "e", ["require", "internal.getProductSettingsParameter"]],
[52, "f", ["require", "internal.sendGtagEvent"]],
[52, "g", ["require", "internal.setRemoteConfigParameter"]],
[52, "h", [30, [17, [15, "a"], "instanceDestinationId"], [17, ["d"], "containerId"]]],
[22, ["e", [15, "h"], "ae_block_history"], [46, [2, [15, "a"], "gtmOnSuccess", [7]], [36]]],
[52, "i", ["c", [8, "interval", 1000]]],
[22, [28, [15, "i"]], [46, [2, [15, "a"], "gtmOnFailure", [7]], [36]]],
[
"b",
"gtm.historyChange-v2",
[
51,
"",
[7, "j", "k"],
["k"],
[52, "l", [16, [15, "j"], "gtm.oldUrl"]],
[22, [20, [16, [15, "j"], "gtm.newUrl"], [15, "l"]], [46, [36]]],
[52, "m", [16, [15, "j"], "gtm.historyChangeSource"]],
[22, [1, [1, [21, [15, "m"], "pushState"], [21, [15, "m"], "popstate"]], [21, [15, "m"], "replaceState"]], [46, [36]]],
[52, "n", [39, [28, [28, [17, [15, "a"], "includeParams"]]], [8, "page_location", [16, [15, "j"], "gtm.newUrl"], "page_referrer", [15, "l"]], [8]]],
["f", [15, "h"], "page_view", [15, "n"]],
["g", [15, "h"], "page_referrer", [15, "l"]],
],
[15, "i"],
],
[2, [15, "a"], "gtmOnSuccess", [7]],
],
[
50,
"__ccd_em_download",
[46, "a"],
[50, "i", [46, "o"], [36, [1, [15, "o"], [21, [2, [2, [15, "o"], "toLowerCase", [7]], "match", [7, [15, "h"]]], [45]]]]],
[
50,
"j",
[46, "o"],
[52, "p", [2, [17, [15, "o"], "pathname"], "split", [7, "."]]],
[52, "q", [39, [18, [17, [15, "p"], "length"], 1], [16, [15, "p"], [37, [17, [15, "p"], "length"], 1]], ""]],
[36, [16, [2, [15, "q"], "split", [7, "/"]], 0]],
],
[50, "k", [46, "o"], [36, [39, [12, [2, [17, [15, "o"], "pathname"], "substring", [7, 0, 1]], "/"], [17, [15, "o"], "pathname"], [0, "/", [17, [15, "o"], "pathname"]]]]],
[
50,
"l",
[46, "o"],
[41, "p"],
[3, "p", ""],
[
22,
[1, [15, "o"], [17, [15, "o"], "href"]],
[46, [53, [41, "q"], [3, "q", [2, [17, [15, "o"], "href"], "indexOf", [7, "#"]]], [3, "p", [39, [23, [15, "q"], 0], [17, [15, "o"], "href"], [2, [17, [15, "o"], "href"], "substring", [7, 0, [15, "q"]]]]]]],
],
[36, [15, "p"]],
],
[52, "b", ["require", "internal.addDataLayerEventListener"]],
[52, "c", ["require", "internal.enableAutoEventOnLinkClick"]],
[52, "d", ["require", "getContainerVersion"]],
[52, "e", ["require", "internal.getProductSettingsParameter"]],
[52, "f", ["require", "parseUrl"]],
[52, "g", ["require", "internal.sendGtagEvent"]],
[52, "h", [0, "pdf|xlsx?|docx?|txt|rtf|csv|exe|key|pp(s|t|tx)|7z|pkg|rar|gz|zip|avi|", "mov|mp4|mpe?g|wmv|midi?|mp3|wav|wma"]],
[52, "m", [30, [17, [15, "a"], "instanceDestinationId"], [17, ["d"], "containerId"]]],
[22, ["e", [15, "m"], "ae_block_downloads"], [46, [2, [15, "a"], "gtmOnSuccess", [7]], [36]]],
[52, "n", ["c", [8, "checkValidation", true]]],
[22, [28, [15, "n"]], [46, [2, [15, "a"], "gtmOnFailure", [7]], [36]]],
[
"b",
"gtm.linkClick",
[
51,
"",
[7, "o", "p"],
["p"],
[52, "q", [16, [15, "o"], "gtm.elementUrl"]],
[52, "r", ["f", [15, "q"]]],
[22, [28, [15, "r"]], [46, [36]]],
[52, "s", ["j", [15, "r"]]],
[
22,
["i", [15, "s"]],
[
46,
[
53,
[
52,
"t",
[
39,
[28, [28, [17, [15, "a"], "includeParams"]]],
[8, "link_id", [16, [15, "o"], "gtm.elementId"], "link_url", ["l", [15, "r"]], "link_text", [16, [15, "o"], "gtm.elementText"], "file_name", ["k", [15, "r"]], "file_extension", [15, "s"]],
[8],
],
],
["g", [15, "m"], "file_download", [15, "t"]],
],
],
],
],
[15, "n"],
],
[2, [15, "a"], "gtmOnSuccess", [7]],
],
[
50,
"__set_product_settings",
[46, "a"],
[52, "b", ["require", "internal.setProductSettingsParameter"]],
[52, "c", ["require", "getContainerVersion"]],
[52, "d", [30, [17, [15, "a"], "instanceDestinationId"], [17, ["c"], "containerId"]]],
["b", [15, "d"], "google_tld", [17, [15, "a"], "foreignTldMacroResult"]],
["b", [15, "d"], "ga_restrict_domain", [20, [17, [15, "a"], "isChinaVipRegionMacroResult"], 1]],
[2, [15, "a"], "gtmOnSuccess", [7]],
],
[
50,
"__ccd_em_outbound_click",
[46, "a"],
[
50,
"j",
[46, "p"],
[22, [28, [15, "p"]], [46, [36, [44]]]],
[41, "q"],
[3, "q", ""],
[
22,
[1, [15, "p"], [17, [15, "p"], "href"]],
[46, [53, [41, "r"], [3, "r", [2, [17, [15, "p"], "href"], "indexOf", [7, "#"]]], [3, "q", [39, [23, [15, "r"], 0], [17, [15, "p"], "href"], [2, [17, [15, "p"], "href"], "substring", [7, 0, [15, "r"]]]]]]],
],
[36, [15, "q"]],
],
[
50,
"k",
[46, "p"],
[22, [28, [15, "p"]], [46, [36, [44]]]],
[41, "q"],
[3, "q", [17, [15, "p"], "hostname"]],
[52, "r", [2, [15, "q"], "match", [7, "^www\\d*\\."]]],
[22, [1, [15, "r"], [16, [15, "r"], 0]], [46, [3, "q", [2, [15, "q"], "substring", [7, [17, [16, [15, "r"], 0], "length"]]]]]],
[36, [15, "q"]],
],
[
50,
"l",
[46, "p"],
[22, [28, [15, "p"]], [46, [36, false]]],
[52, "q", [2, [17, [15, "p"], "hostname"], "toLowerCase", [7]]],
[41, "r"],
[3, "r", [2, ["k", ["h", ["g"]]], "toLowerCase", [7]]],
[41, "s"],
[3, "s", [37, [17, [15, "q"], "length"], [17, [15, "r"], "length"]]],
[22, [1, [18, [15, "s"], 0], [29, [2, [15, "r"], "charAt", [7, 0]], "."]], [46, [32, [15, "s"], [3, "s", [37, [15, "s"], 1]]], [3, "r", [0, ".", [15, "r"]]]]],
[22, [1, [19, [15, "s"], 0], [12, [2, [15, "q"], "indexOf", [7, [15, "r"], [15, "s"]]], [15, "s"]]], [46, [36, false]]],
[36, true],
],
[52, "b", ["require", "internal.addDataLayerEventListener"]],
[52, "c", ["require", "internal.enableAutoEventOnLinkClick"]],
[52, "d", ["require", "getContainerVersion"]],
[52, "e", ["require", "internal.getProductSettingsParameter"]],
[52, "f", ["require", "internal.getRemoteConfigParameter"]],
[52, "g", ["require", "getUrl"]],
[52, "h", ["require", "parseUrl"]],
[52, "i", ["require", "internal.sendGtagEvent"]],
[52, "m", [30, [17, [15, "a"], "instanceDestinationId"], [17, ["d"], "containerId"]]],
[52, "n", ["f", [15, "m"], "cross_domain_conditions"]],
[22, ["e", [15, "m"], "ae_block_outbound_click"], [46, [2, [15, "a"], "gtmOnSuccess", [7]], [36]]],
[52, "o", ["c", [8, "affiliateDomains", [15, "n"], "checkValidation", true, "waitForTags", false]]],
[22, [28, [15, "o"]], [46, [2, [15, "a"], "gtmOnFailure", [7]], [36]]],
[
"b",
"gtm.linkClick",
[
51,
"",
[7, "p", "q"],
[52, "r", ["h", [16, [15, "p"], "gtm.elementUrl"]]],
[
22,
["l", [15, "r"]],
[
46,
[
53,
[
52,
"s",
[
39,
[28, [28, [17, [15, "a"], "includeParams"]]],
[8, "link_id", [16, [15, "p"], "gtm.elementId"], "link_classes", [16, [15, "p"], "gtm.elementClasses"], "link_url", ["j", [15, "r"]], "link_domain", ["k", [15, "r"]], "outbound", true],
[8],
],
],
[43, [15, "s"], "event_callback", [15, "q"]],
["i", [15, "m"], "click", [15, "s"]],
],
],
[46, ["q"]],
],
],
[15, "o"],
],
[2, [15, "a"], "gtmOnSuccess", [7]],
],
[
50,
"__ccd_conversion_marking",
[46, "a"],
[
50,
"h",
[46, "i"],
[52, "j", [2, [15, "e"], "parse", [7, [15, "i"]]]],
[22, [30, [30, [28, [15, "j"]], [28, [16, [15, "j"], "args"]]], [21, [17, [16, [15, "j"], "args"], "length"], 2]], [46, [36]]],
[52, "k", [16, [16, [16, [15, "j"], "args"], 1], "contextValue"]],
[22, [30, [30, [30, [28, [15, "k"]], [21, [16, [15, "k"], "namespaceType"], 1]], [21, [17, [16, [15, "k"], "keyParts"], "length"], 1]], [21, [16, [16, [15, "k"], "keyParts"], 0], "eventName"]], [46, [36, [44]]]],
[52, "l", [16, [16, [15, "j"], "args"], 0]],
[36, [1, [15, "l"], [16, [15, "l"], "stringValue"]]],
],
[22, [30, [28, [17, [15, "a"], "conversionRules"]], [20, [17, [17, [15, "a"], "conversionRules"], "length"], 0]], [46, [2, [15, "a"], "gtmOnSuccess", [7]]]],
[52, "b", ["require", "internal.setProductSettingsParameter"]],
[52, "c", ["require", "internal.getProductSettingsParameter"]],
[52, "d", ["require", "getContainerVersion"]],
[52, "e", ["require", "JSON"]],
[52, "f", [30, [17, [15, "a"], "instanceDestinationId"], [17, ["d"], "containerId"]]],
[52, "g", [30, ["c", [15, "f"], "event_settings"], [8]]],
[
53,
[41, "i"],
[3, "i", 0],
[
63,
[7, "i"],
[23, [15, "i"], [17, [17, [15, "a"], "conversionRules"], "length"]],
[33, [15, "i"], [3, "i", [0, [15, "i"], 1]]],
[
46,
[
53,
[52, "j", ["h", [16, [16, [17, [15, "a"], "conversionRules"], [15, "i"]], "matchingRules"]]],
[22, [28, [15, "j"]], [46, [6]]],
[41, "k"],
[3, "k", [16, [15, "g"], [15, "j"]]],
[22, [28, [15, "k"]], [46, [3, "k", [8]], [43, [15, "g"], [15, "j"], [15, "k"]]]],
[43, [15, "k"], "conversion", true],
],
],
],
],
["b", [15, "f"], "event_settings", [15, "g"]],
[2, [15, "a"], "gtmOnSuccess", [7]],
],
[
50,
"__ccd_em_site_search",
[46, "a"],
[
50,
"e",
[46, "i"],
[52, "j", [2, [30, [15, "i"], ""], "split", [7, ","]]],
[
53,
[41, "k"],
[3, "k", 0],
[
63,
[7, "k"],
[23, [15, "k"], [17, [15, "j"], "length"]],
[33, [15, "k"], [3, "k", [0, [15, "k"], 1]]],
[46, [53, [52, "l", ["b", [2, [16, [15, "j"], [15, "k"]], "trim", [7]]]], [22, [21, [15, "l"], [44]], [46, [36, [15, "l"]]]]]],
],
],
],
[
50,
"f",
[46, "i", "j"],
[52, "k", [8, "search_term", [15, "i"]]],
[52, "l", [2, [30, [15, "j"], ""], "split", [7, ","]]],
[
53,
[41, "m"],
[3, "m", 0],
[
63,
[7, "m"],
[23, [15, "m"], [17, [15, "l"], "length"]],
[33, [15, "m"], [3, "m", [0, [15, "m"], 1]]],
[46, [53, [52, "n", [2, [16, [15, "l"], [15, "m"]], "trim", [7]]], [52, "o", ["b", [15, "n"]]], [22, [21, [15, "o"], [44]], [46, [43, [15, "k"], [0, "q_", [15, "n"]], [15, "o"]]]]]],
],
],
[36, [15, "k"]],
],
[52, "b", ["require", "getQueryParameters"]],
[52, "c", ["require", "internal.sendGtagEvent"]],
[52, "d", ["require", "getContainerVersion"]],
[52, "g", ["e", [17, [15, "a"], "searchQueryParams"]]],
[52, "h", [30, [17, [15, "a"], "instanceDestinationId"], [17, ["d"], "containerId"]]],
[
22,
[15, "g"],
[46, [53, [52, "i", [39, [28, [28, [17, [15, "a"], "includeParams"]]], ["f", [15, "g"], [17, [15, "a"], "additionalQueryParams"]], [8]]], ["c", [15, "h"], "view_search_results", [15, "i"], [8, "deferrable", true]]]],
],
[2, [15, "a"], "gtmOnSuccess", [7]],
],
[
50,
"__ogt_google_signals",
[46, "a"],
[52, "b", ["require", "internal.setProductSettingsParameter"]],
[52, "c", ["require", "getContainerVersion"]],
[52, "d", [13, [41, "$0"], [3, "$0", ["require", "internal.getFlags"]], ["$0"]]],
[52, "e", [30, [17, [15, "a"], "instanceDestinationId"], [17, ["c"], "containerId"]]],
["b", [15, "e"], "google_signals", [20, [17, [15, "a"], "serverMacroResult"], 1]],
[22, [17, [15, "d"], "enableGa4OnoRemarketing"], [46, ["b", [15, "e"], "google_ono", [20, [17, [15, "a"], "serverMacroResult"], 2]]]],
[2, [15, "a"], "gtmOnSuccess", [7]],
],
[
50,
"__ccd_em_scroll",
[46, "a"],
[52, "b", ["require", "internal.addDataLayerEventListener"]],
[52, "c", ["require", "internal.enableAutoEventOnScroll"]],
[52, "d", ["require", "getContainerVersion"]],
[52, "e", ["require", "internal.getProductSettingsParameter"]],
[52, "f", ["require", "internal.sendGtagEvent"]],
[52, "g", [30, [17, [15, "a"], "instanceDestinationId"], [17, ["d"], "containerId"]]],
[22, ["e", [15, "g"], "ae_block_scroll"], [46, [2, [15, "a"], "gtmOnSuccess", [7]], [36]]],
[52, "h", ["c", [8, "verticalThresholdUnits", "PERCENT", "verticalThresholds", 90]]],
[22, [28, [15, "h"]], [46, [2, [15, "a"], "gtmOnFailure", [7]], [36]]],
[
"b",
"gtm.scrollDepth",
[51, "", [7, "i", "j"], ["j"], [52, "k", [39, [28, [28, [17, [15, "a"], "includeParams"]]], [8, "percent_scrolled", [16, [15, "i"], "gtm.scrollThreshold"]], [8]]], ["f", [15, "g"], "scroll", [15, "k"]]],
[15, "h"],
],
[2, [15, "a"], "gtmOnSuccess", [7]],
],
],
permissions: {
__ccd_em_video: {
listen_data_layer: { accessType: "specific", allowedEvents: ["gtm.video"] },
process_dom_events: {
targets: [
{ targetType: "element", eventName: "onStateChange" },
{ targetType: "element", eventName: "onPlaybackRateChange" },
],
},
read_container_data: {},
},
__ccd_em_page_view: {
listen_data_layer: { accessType: "specific", allowedEvents: ["gtm.historyChange-v2"] },
process_dom_events: {
targets: [
{ targetType: "window", eventName: "pushstate" },
{ targetType: "window", eventName: "popstate" },
],
},
read_container_data: {},
},
__ccd_em_download: {
listen_data_layer: { accessType: "specific", allowedEvents: ["gtm.linkClick"] },
process_dom_events: {
targets: [
{ targetType: "document", eventName: "click" },
{ targetType: "document", eventName: "auxclick" },
],
},
read_container_data: {},
},
__set_product_settings: { read_container_data: {} },
__ccd_em_outbound_click: {
get_url: { urlParts: "any", queriesAllowed: "any" },
listen_data_layer: { accessType: "specific", allowedEvents: ["gtm.linkClick"] },
process_dom_events: {
targets: [
{ targetType: "document", eventName: "click" },
{ targetType: "document", eventName: "auxclick" },
],
},
read_container_data: {},
},
__ccd_conversion_marking: { read_container_data: {} },
__ccd_em_site_search: { get_url: { urlParts: "any", queriesAllowed: "any" }, read_container_data: {} },
__ogt_google_signals: { read_container_data: {} },
__ccd_em_scroll: {
listen_data_layer: { accessType: "specific", allowedEvents: ["gtm.scrollDepth"] },
process_dom_events: {
targets: [
{ targetType: "window", eventName: "resize" },
{ targetType: "window", eventName: "scroll" },
],
},
read_container_data: {},
},
},
security_groups: {
google: ["__ccd_em_video", "__ccd_em_page_view", "__ccd_em_download", "__set_product_settings", "__ccd_em_outbound_click", "__ccd_conversion_marking", "__ccd_em_site_search", "__ogt_google_signals", "__ccd_em_scroll"],
},
};
/*
Copyright The Closure Library Authors.
SPDX-License-Identifier: Apache-2.0
*/
var l,
aa = function (a) {
var b = 0;
return function () {
return b < a.length ? { done: !1, value: a[b++] } : { done: !0 };
};
},
ba = function (a) {
return (a.raw = a);
},
da =
"function" == typeof Object.create
? Object.create
: function (a) {
var b = function () {};
b.prototype = a;
return new b();
},
ea;
if ("function" == typeof Object.setPrototypeOf) ea = Object.setPrototypeOf;
else {
var fa;
a: {
var ha = { a: !0 },
ia = {};
try {
ia.__proto__ = ha;
fa = ia.a;
break a;
} catch (a) {}
fa = !1;
}
ea = fa
? function (a, b) {
a.__proto__ = b;
if (a.__proto__ !== b) throw new TypeError(a + " is not extensible");
return a;
}
: null;
}
var ja = ea,
ka = function (a, b) {
a.prototype = da(b.prototype);
a.prototype.constructor = a;
if (ja) ja(a, b);
else
for (var c in b)
if ("prototype" != c)
if (Object.defineProperties) {
var d = Object.getOwnPropertyDescriptor(b, c);
d && Object.defineProperty(a, c, d);
} else a[c] = b[c];
a.il = b.prototype;
},
la = this || self,
ma = function (a) {
return a;
};
var na = function (a, b) {
this.g = a;
this.o = b;
};
var oa = function (a) {
return ("number" === typeof a && 0 <= a && isFinite(a) && 0 === a % 1) || ("string" === typeof a && "-" !== a[0] && a === "" + parseInt(a, 10));
},
pa = function () {
this.C = {};
this.B = !1;
this.I = {};
},
qa = function (a, b) {
var c = [],
d;
for (d in a.C)
if (a.C.hasOwnProperty(d))
switch (((d = d.substr(5)), b)) {
case 1:
c.push(d);
break;
case 2:
c.push(a.get(d));
break;
case 3:
c.push([d, a.get(d)]);
}
return c;
};
pa.prototype.get = function (a) {
return this.C["dust." + a];
};
pa.prototype.set = function (a, b) {
this.B || ((a = "dust." + a), this.I.hasOwnProperty(a) || (this.C[a] = b));
};
pa.prototype.has = function (a) {
return this.C.hasOwnProperty("dust." + a);
};
var ra = function (a, b) {
b = "dust." + b;
a.B || a.I.hasOwnProperty(b) || delete a.C[b];
};
pa.prototype.Lb = function () {
this.B = !0;
};
var sa = function (a) {
this.o = new pa();
this.g = [];
this.B = !1;
a = a || [];
for (var b in a) a.hasOwnProperty(b) && (oa(b) ? (this.g[Number(b)] = a[Number(b)]) : this.o.set(b, a[b]));
};
l = sa.prototype;
l.toString = function (a) {
if (a && 0 <= a.indexOf(this)) return "";
for (var b = [], c = 0; c < this.g.length; c++) {
var d = this.g[c];
null === d || void 0 === d ? b.push("") : d instanceof sa ? ((a = a || []), a.push(this), b.push(d.toString(a)), a.pop()) : b.push(d.toString());
}
return b.join(",");
};
l.set = function (a, b) {
if (!this.B)
if ("length" === a) {
if (!oa(b)) throw Error("RangeError: Length property must be a valid integer.");
this.g.length = Number(b);
} else oa(a) ? (this.g[Number(a)] = b) : this.o.set(a, b);
};
l.get = function (a) {
return "length" === a ? this.length() : oa(a) ? this.g[Number(a)] : this.o.get(a);
};
l.length = function () {
return this.g.length;
};
l.Kb = function () {
for (var a = qa(this.o, 1), b = 0; b < this.g.length; b++) a.push(b + "");
return new sa(a);
};
var ua = function (a, b) {
oa(b) ? delete a.g[Number(b)] : ra(a.o, b);
};
l = sa.prototype;
l.pop = function () {
return this.g.pop();
};
l.push = function (a) {
return this.g.push.apply(this.g, Array.prototype.slice.call(arguments));
};
l.shift = function () {
return this.g.shift();
};
l.splice = function (a, b, c) {
return new sa(this.g.splice.apply(this.g, arguments));
};
l.unshift = function (a) {
return this.g.unshift.apply(this.g, Array.prototype.slice.call(arguments));
};
l.has = function (a) {
return (oa(a) && this.g.hasOwnProperty(a)) || this.o.has(a);
};
l.Lb = function () {
this.B = !0;
Object.freeze(this.g);
this.o.Lb();
};
var wa = function () {
function a(f, g) {
if (b[f]) {
if (b[f].ne + g > b[f].max) throw Error("Quota exceeded");
b[f].ne += g;
}
}
var b = {},
c = void 0,
d = void 0,
e = {
Zj: function (f) {
c = f;
},
ph: function () {
c && a(c, 1);
},
ck: function (f) {
d = f;
},
Ob: function (f) {
d && a(d, f);
},
Ck: function (f, g) {
b[f] = b[f] || { ne: 0 };
b[f].max = g;
},
zj: function (f) {
return (b[f] && b[f].ne) || 0;
},
reset: function () {
b = {};
},
lj: a,
};
e.onFnConsume = e.Zj;
e.consumeFn = e.ph;
e.onStorageConsume = e.ck;
e.consumeStorage = e.Ob;
e.setMax = e.Ck;
e.getConsumed = e.zj;
e.reset = e.reset;
e.consume = e.lj;
return e;
};
var ya = function (a, b) {
this.B = a;
this.U = function (c, d, e) {
return c.apply(d, e);
};
this.C = b;
this.o = new pa();
this.g = this.I = void 0;
};
ya.prototype.add = function (a, b) {
za(this, a, b, !1);
};
var za = function (a, b, c, d) {
if (!a.o.B)
if ((a.B.Ob(("string" === typeof b ? b.length : 1) + ("string" === typeof c ? c.length : 1)), d)) {
var e = a.o;
e.set(b, c);
e.I["dust." + b] = !0;
} else a.o.set(b, c);
};
ya.prototype.set = function (a, b) {
this.o.B || (!this.o.has(a) && this.C && this.C.has(a) ? this.C.set(a, b) : (this.B.Ob(("string" === typeof a ? a.length : 1) + ("string" === typeof b ? b.length : 1)), this.o.set(a, b)));
};
ya.prototype.get = function (a) {
return this.o.has(a) ? this.o.get(a) : this.C ? this.C.get(a) : void 0;
};
ya.prototype.has = function (a) {
return !!this.o.has(a) || !(!this.C || !this.C.has(a));
};
var Aa = function (a) {
var b = new ya(a.B, a);
a.I && (b.I = a.I);
b.U = a.U;
b.g = a.g;
return b;
};
var Ba = function () {},
Ca = function (a) {
return "function" === typeof a;
},
m = function (a) {
return "string" === typeof a;
},
Da = function (a) {
return "number" === typeof a && !isNaN(a);
},
Ea = Array.isArray,
Fa = function (a, b) {
if (a && Ea(a)) for (var c = 0; c < a.length; c++) if (a[c] && b(a[c])) return a[c];
},
Ga = function (a, b) {
if (!Da(a) || !Da(b) || a > b) (a = 0), (b = 2147483647);
return Math.floor(Math.random() * (b - a + 1) + a);
},
Ja = function (a, b) {
for (var c = new Ha(), 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;
},
Ka = function (a, b) {
for (var c in a) Object.prototype.hasOwnProperty.call(a, c) && b(c, a[c]);
},
La = function (a) {
return !!a && ("[object Arguments]" === Object.prototype.toString.call(a) || Object.prototype.hasOwnProperty.call(a, "callee"));
},
Ma = function (a) {
return Math.round(Number(a)) || 0;
},
Na = function (a) {
return "false" === String(a).toLowerCase() ? !1 : !!a;
},
Oa = function (a) {
var b = [];
if (Ea(a)) for (var c = 0; c < a.length; c++) b.push(String(a[c]));
return b;
},
Pa = function (a) {
return a ? a.replace(/^\s+|\s+$/g, "") : "";
},
Qa = function () {
return new Date(Date.now());
},
Ra = function () {
return Qa().getTime();
},
Ha = function () {
this.prefix = "gtm.";
this.values = {};
};
Ha.prototype.set = function (a, b) {
this.values[this.prefix + a] = b;
};
Ha.prototype.get = function (a) {
return this.values[this.prefix + a];
};
var Sa = function (a, b, c) {
return a && a.hasOwnProperty(b) ? a[b] : c;
},
Ta = function (a) {
var b = a;
return function () {
if (b) {
var c = b;
b = void 0;
try {
c();
} catch (d) {}
}
};
},
Ua = function (a, b) {
for (var c in b) b.hasOwnProperty(c) && (a[c] = b[c]);
},
Wa = function (a) {
for (var b in a) if (a.hasOwnProperty(b)) return !0;
return !1;
},
Xa = function (a, b) {
for (var c = [], d = 0; d < a.length; d++) c.push(a[d]), c.push.apply(c, b[a[d]] || []);
return c;
},
Ya = function (a, b) {
var c = z;
b = b || [];
for (var d = c, e = 0; e < a.length - 1; e++) {
if (!d.hasOwnProperty(a[e])) return;
d = d[a[e]];
if (0 <= b.indexOf(d)) return;
}
return d;
},
Za = function (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;
},
$a = /^\w{1,9}$/,
ab = function (a, b) {
a = a || {};
b = b || ",";
var c = [];
Ka(a, function (d, e) {
$a.test(d) && e && c.push(d);
});
return c.join(b);
},
bb = function (a, b) {
function c() {
++d === b && (e(), (e = null), (c.done = !0));
}
var d = 0,
e = a;
c.done = !1;
return c;
};
var cb = function (a, b) {
pa.call(this);
this.U = a;
this.Pa = b;
};
ka(cb, pa);
cb.prototype.toString = function () {
return this.U;
};
cb.prototype.Kb = function () {
return new sa(qa(this, 1));
};
cb.prototype.g = function (a, b) {
a.B.ph();
return this.Pa.apply(new db(this, a), Array.prototype.slice.call(arguments, 1));
};
cb.prototype.o = function (a, b) {
try {
return this.g.apply(this, Array.prototype.slice.call(arguments, 0));
} catch (c) {}
};
var fb = function (a, b) {
for (var c, d = 0; d < b.length && !((c = eb(a, b[d])), c instanceof na); d++);
return c;
},
eb = function (a, b) {
try {
var c = a.get(String(b[0]));
if (!(c && c instanceof cb)) throw Error("Attempting to execute non-function " + b[0] + ".");
return c.g.apply(c, [a].concat(b.slice(1)));
} catch (e) {
var d = a.I;
d && d(e, b.context ? { id: b[0], line: b.context.line } : null);
throw e;
}
},
db = function (a, b) {
this.o = a;
this.g = b;
},
G = function (a, b) {
return Ea(b) ? eb(a.g, b) : b;
},
H = function (a) {
return a.o.U;
};
var gb = function () {
pa.call(this);
};
ka(gb, pa);
gb.prototype.Kb = function () {
return new sa(qa(this, 1));
};
var hb = {
control: function (a, b) {
return new na(a, G(this, b));
},
fn: function (a, b, c) {
var d = this.g,
e = G(this, b);
if (!(e instanceof sa)) throw Error("Error: non-List value given for Fn argument names.");
var f = Array.prototype.slice.call(arguments, 2);
this.g.B.Ob(a.length + f.length);
return new cb(
a,
(function () {
return function (g) {
var h = Aa(d);
void 0 === h.g && (h.g = this.g.g);
for (var k = Array.prototype.slice.call(arguments, 0), n = 0; n < k.length; n++) if (((k[n] = G(this, k[n])), k[n] instanceof na)) return k[n];
for (var p = e.get("length"), q = 0; q < p; q++) q < k.length ? h.add(e.get(q), k[q]) : h.add(e.get(q), void 0);
h.add("arguments", new sa(k));
var r = fb(h, f);
if (r instanceof na) return "return" === r.g ? r.o : r;
};
})()
);
},
list: function (a) {
var b = this.g.B;
b.Ob(arguments.length);
for (var c = new sa(), d = 0; d < arguments.length; d++) {
var e = G(this, arguments[d]);
"string" === typeof e && b.Ob(e.length ? e.length - 1 : 0);
c.push(e);
}
return c;
},
map: function (a) {
for (var b = this.g.B, c = new gb(), d = 0; d < arguments.length - 1; d += 2) {
var e = G(this, arguments[d]) + "",
f = G(this, arguments[d + 1]),
g = e.length;
g += "string" === typeof f ? f.length : 1;
b.Ob(g);
c.set(e, f);
}
return c;
},
undefined: function () {},
};
var ib = function () {
this.B = wa();
this.g = new ya(this.B);
},
jb = function (a, b, c) {
var d = new cb(b, c);
d.Lb();
a.g.set(b, d);
},
kb = function (a, b, c) {
hb.hasOwnProperty(b) && jb(a, c || b, hb[b]);
};
ib.prototype.execute = function (a, b) {
var c = Array.prototype.slice.call(arguments, 0);
return this.o(c);
};
ib.prototype.o = function (a) {
for (var b, c = 0; c < arguments.length; c++) b = eb(this.g, arguments[c]);
return b;
};
ib.prototype.C = function (a, b) {
var c = Aa(this.g);
c.g = a;
for (var d, e = 1; e < arguments.length; e++) d = d = eb(c, arguments[e]);
return d;
}; /*
SPDX-License-Identifier: Apache-2.0
*/
var lb = {};
var mb = function () {},
nb = function (a) {
this.g = a;
};
ka(nb, mb);
nb.prototype.toString = function () {
return this.g;
};
var ob,
pb = function () {
if (void 0 === ob) {
var a = null,
b = la.trustedTypes;
if (b && b.createPolicy) {
try {
a = b.createPolicy("goog#html", { createHTML: ma, createScript: ma, createScriptURL: ma });
} catch (c) {
la.console && la.console.error(c.message);
}
ob = a;
} else ob = a;
}
return ob;
};
var rb = function (a, b) {
this.g = b === qb ? a : "";
};
rb.prototype.toString = function () {
return this.g + "";
};
var sb = function (a) {
return a instanceof rb && a.constructor === rb ? a.g : "type_error:TrustedResourceUrl";
},
qb = {},
tb = function (a) {
var b = a,
c = pb(),
d = c ? c.createScriptURL(b) : b;
return new rb(d, qb);
};
var ub = /^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;
function vb() {
var a = la.navigator;
if (a) {
var b = a.userAgent;
if (b) return b;
}
return "";
}
function wb(a) {
return -1 != vb().indexOf(a);
}
var xb = {},
yb = function (a, b) {
this.g = b === xb ? a : "";
};
yb.prototype.toString = function () {
return this.g.toString();
};
var zb = function (a) {
return a instanceof yb && a.constructor === yb ? a.g : "type_error:SafeHtml";
},
Ab = function (a) {
var b = a,
c = pb(),
d = c ? c.createHTML(b) : b;
return new yb(d, xb);
};
function Bb(a, b) {
var c = [new nb(Cb[0].toLowerCase(), lb)];
if (0 === c.length) throw Error("No prefixes are provided");
var d = c.map(function (f) {
var g;
if (f instanceof nb) g = f.g;
else throw Error("");
return g;
}),
e = b.toLowerCase();
if (
d.every(function (f) {
return 0 !== e.indexOf(f);
})
)
throw Error('Attribute "' + b + '" does not match any of the allowed prefixes.');
a.setAttribute(b, "true");
}
function Db(a) {
if ("script" === a.tagName.toLowerCase()) throw Error("Use setTextContent with a SafeScript.");
if ("style" === a.tagName.toLowerCase()) throw Error("Use setTextContent with a SafeStyleSheet.");
}
var z = window,
I = document,
Eb = navigator,
Fb = I.currentScript && I.currentScript.src,
Gb = function (a, b) {
var c = z[a];
z[a] = void 0 === c ? b : c;
return z[a];
},
Hb = function (a, b) {
b &&
(a.addEventListener
? (a.onload = b)
: (a.onreadystatechange = function () {
a.readyState in { loaded: 1, complete: 1 } && ((a.onreadystatechange = null), b());
}));
},
Ib = { async: 1, nonce: 1, onerror: 1, onload: 1, src: 1, type: 1 },
Jb = { onload: 1, src: 1, width: 1, height: 1, style: 1 };
function Kb(a, b, c) {
b &&
Ka(b, function (d, e) {
d = d.toLowerCase();
c.hasOwnProperty(d) || a.setAttribute(d, e);
});
}
var Lb = function (a, b, c, d) {
var e = I.createElement("script");
Kb(e, d, Ib);
e.type = "text/javascript";
e.async = !0;
var f = tb(a);
e.src = sb(f);
var g,
h,
k,
n = null == (k = (h = ((e.ownerDocument && e.ownerDocument.defaultView) || window).document).querySelector) ? void 0 : k.call(h, "script[nonce]");
(g = n ? n.nonce || n.getAttribute("nonce") || "" : "") && e.setAttribute("nonce", g);
Hb(e, b);
c && (e.onerror = c);
var p = I.getElementsByTagName("script")[0] || I.body || I.head;
p.parentNode.insertBefore(e, p);
return e;
},
Mb = function () {
if (Fb) {
var a = Fb.toLowerCase();
if (0 === a.indexOf("https://")) return 2;
if (0 === a.indexOf("http://")) return 3;
}
return 1;
},
Ob = function (a, b, c, d, e) {
var f = e,
g = !1;
f || ((f = I.createElement("iframe")), (g = !0));
Kb(f, c, Jb);
d &&
Ka(d, function (k, n) {
f.dataset[k] = n;
});
f.height = "0";
f.width = "0";
f.style.display = "none";
f.style.visibility = "hidden";
if (g) {
var h = (I.body && I.body.lastChild) || I.body || I.head;
h.parentNode.insertBefore(f, h);
}
Hb(f, b);
void 0 !== a && (f.src = a);
return f;
},
Pb = function (a, b, c) {
var d = new Image(1, 1);
d.onload = function () {
d.onload = null;
b && b();
};
d.onerror = function () {
d.onerror = null;
c && c();
};
d.src = a;
return d;
},
Qb = function (a, b, c, d) {
a.addEventListener ? a.addEventListener(b, c, !!d) : a.attachEvent && a.attachEvent("on" + b, c);
},
Rb = function (a, b, c) {
a.removeEventListener ? a.removeEventListener(b, c, !1) : a.detachEvent && a.detachEvent("on" + b, c);
},
K = function (a) {
z.setTimeout(a, 0);
},
Sb = function (a, b) {
return a && b && a.attributes && a.attributes[b] ? a.attributes[b].value : null;
},
Tb = function (a) {
var b = a.innerText || a.textContent || "";
b && " " != b && (b = b.replace(/^[\s\xa0]+|[\s\xa0]+$/g, ""));
b && (b = b.replace(/(\xa0+|\s{2,}|\n|\r\t)/g, " "));
return b;
},
Ub = function (a) {
var b = I.createElement("div"),
c = b,
d = Ab("A
" + a + "
");
void 0 !== c.tagName && Db(c);
c.innerHTML = zb(d);
b = b.lastChild;
for (var e = []; b.firstChild; ) e.push(b.removeChild(b.firstChild));
return e;
},
Vb = function (a, b, c) {
c = c || 100;
for (var d = {}, e = 0; e < b.length; e++) d[b[e]] = !0;
for (var f = a, g = 0; f && g <= c; g++) {
if (d[String(f.tagName).toLowerCase()]) return f;
f = f.parentElement;
}
return null;
},
Wb = function (a) {
var b;
try {
b = Eb.sendBeacon && Eb.sendBeacon(a);
} catch (c) {}
b || Pb(a);
},
Xb = function (a, b) {
var c = a[b];
c && "string" === typeof c.animVal && (c = c.animVal);
return c;
},
Yb = function (a) {
var b = { headers: { "Attribution-Reporting-Eligible": "trigger" }, keepalive: !0 };
try {
z.fetch(a, b);
} catch (c) {}
};
var Zb = function (a, b) {
return G(this, a) && G(this, b);
},
$b = function (a, b) {
return G(this, a) === G(this, b);
},
ac = function (a, b) {
return G(this, a) || G(this, b);
},
bc = function (a, b) {
a = G(this, a);
b = G(this, b);
return -1 < String(a).indexOf(String(b));
},
cc = function (a, b) {
a = String(G(this, a));
b = String(G(this, b));
return a.substring(0, b.length) === b;
},
dc = function (a, b) {
a = G(this, a);
b = G(this, b);
switch (a) {
case "pageLocation":
var c = z.location.href;
b instanceof gb && b.get("stripProtocol") && (c = c.replace(/^https?:\/\//, ""));
return c;
}
};
var fc = function () {
this.g = new ib();
ec(this);
};
fc.prototype.execute = function (a) {
return this.g.o(a);
};
var ec = function (a) {
kb(a.g, "map");
var b = function (c, d) {
jb(a.g, c, d);
};
b("and", Zb);
b("contains", bc);
b("equals", $b);
b("or", ac);
b("startsWith", cc);
b("variable", dc);
};
var gc = function (a) {
if (a instanceof gc) return a;
this.kb = a;
};
gc.prototype.toString = function () {
return String(this.kb);
};
var ic = function (a) {
pa.call(this);
this.g = a;
this.set("then", hc(this));
this.set("catch", hc(this, !0));
this.set("finally", hc(this, !1, !0));
};
ka(ic, gb);
var hc = function (a, b, c) {
b = void 0 === b ? !1 : b;
c = void 0 === c ? !1 : c;
return new cb("", function (d, e) {
b && ((e = d), (d = void 0));
c && (e = d);
d instanceof cb || (d = void 0);
e instanceof cb || (e = void 0);
var f = Aa(this.g),
g = function (k) {
return function (n) {
return c ? (k.g(f), a.g) : k.g(f, n);
};
},
h = a.g.then(d && g(d), e && g(e));
return new ic(h);
});
}; /*
jQuery (c) 2005, 2012 jQuery Foundation, Inc. jquery.org/license. */
var jc = /\[object (Boolean|Number|String|Function|Array|Date|RegExp)\]/,
kc = function (a) {
if (null == a) return String(a);
var b = jc.exec(Object.prototype.toString.call(Object(a)));
return b ? b[1].toLowerCase() : "object";
},
lc = function (a, b) {
return Object.prototype.hasOwnProperty.call(Object(a), b);
},
mc = function (a) {
if (!a || "object" != kc(a) || a.nodeType || a == a.window) return !1;
try {
if (a.constructor && !lc(a, "constructor") && !lc(a.constructor.prototype, "isPrototypeOf")) return !1;
} catch (c) {
return !1;
}
for (var b in a);
return void 0 === b || lc(a, b);
},
nc = function (a, b) {
var c = b || ("array" == kc(a) ? [] : {}),
d;
for (d in a)
if (lc(a, d)) {
var e = a[d];
"array" == kc(e) ? ("array" != kc(c[d]) && (c[d] = []), (c[d] = nc(e, c[d]))) : mc(e) ? (mc(c[d]) || (c[d] = {}), (c[d] = nc(e, c[d]))) : (c[d] = e);
}
return c;
};
var pc = function (a, b, c) {
var d = [],
e = [],
f = function (h, k) {
for (var n = qa(h, 1), p = 0; p < n.length; p++) k[n[p]] = g(h.get(n[p]));
},
g = function (h) {
var k = d.indexOf(h);
if (-1 < k) return e[k];
if (h instanceof sa) {
var n = [];
d.push(h);
e.push(n);
for (var p = h.Kb(), q = 0; q < p.length(); q++) n[p.get(q)] = g(h.get(p.get(q)));
return n;
}
if (h instanceof ic) return h.g;
if (h instanceof gb) {
var r = {};
d.push(h);
e.push(r);
f(h, r);
return r;
}
if (h instanceof cb) {
var t = function () {
for (var v = Array.prototype.slice.call(arguments, 0), x = 0; x < v.length; x++) v[x] = oc(v[x], b, c);
var y = b ? b.B : wa(),
w = new ya(y);
b && (w.g = b.g);
return g(h.g.apply(h, [w].concat(v)));
};
d.push(h);
e.push(t);
f(h, t);
return t;
}
var u = !1;
switch (c) {
case 1:
u = !0;
break;
case 2:
u = !1;
break;
case 3:
u = !1;
break;
default:
}
if (h instanceof gc && u) return h.kb;
switch (typeof h) {
case "boolean":
case "number":
case "string":
case "undefined":
return h;
case "object":
if (null === h) return null;
}
};
return g(a);
},
oc = function (a, b, c) {
var d = [],
e = [],
f = function (h, k) {
for (var n in h) h.hasOwnProperty(n) && k.set(n, g(h[n]));
},
g = function (h) {
var k = d.indexOf(h);
if (-1 < k) return e[k];
if (Ea(h) || La(h)) {
var n = new sa([]);
d.push(h);
e.push(n);
for (var p in h) h.hasOwnProperty(p) && n.set(p, g(h[p]));
return n;
}
if (mc(h)) {
var q = new gb();
d.push(h);
e.push(q);
f(h, q);
return q;
}
if ("function" === typeof h) {
var r = new cb("", function (w) {
for (var A = Array.prototype.slice.call(arguments, 0), B = 0; B < A.length; B++) A[B] = pc(G(this, A[B]), b, c);
return g((0, this.g.U)(h, h, A));
});
d.push(h);
e.push(r);
f(h, r);
return r;
}
var x = typeof h;
if (null === h || "string" === x || "number" === x || "boolean" === x) return h;
var y = !1;
switch (c) {
case 1:
y = !0;
break;
case 2:
y = !1;
break;
default:
}
if (void 0 !== h && y) return new gc(h);
};
return g(a);
};
var qc = function (a) {
for (var b = [], c = 0; c < a.length(); c++) a.has(c) && (b[c] = a.get(c));
return b;
},
sc = function (a) {
if (void 0 === a || Ea(a) || mc(a)) return !0;
switch (typeof a) {
case "boolean":
case "number":
case "string":
case "function":
return !0;
}
return !1;
};
var tc = {
supportedMethods: "concat every filter forEach hasOwnProperty indexOf join lastIndexOf map pop push reduce reduceRight reverse shift slice some sort splice unshift toString".split(" "),
concat: function (a, b) {
for (var c = [], d = 0; d < this.length(); d++) c.push(this.get(d));
for (var e = 1; e < arguments.length; e++)
if (arguments[e] instanceof sa) for (var f = arguments[e], g = 0; g < f.length(); g++) c.push(f.get(g));
else c.push(arguments[e]);
return new sa(c);
},
every: function (a, b) {
for (var c = this.length(), d = 0; d < this.length() && d < c; d++) if (this.has(d) && !b.g(a, this.get(d), d, this)) return !1;
return !0;
},
filter: function (a, b) {
for (var c = this.length(), d = [], e = 0; e < this.length() && e < c; e++) this.has(e) && b.g(a, this.get(e), e, this) && d.push(this.get(e));
return new sa(d);
},
forEach: function (a, b) {
for (var c = this.length(), d = 0; d < this.length() && d < c; d++) this.has(d) && b.g(a, this.get(d), d, this);
},
hasOwnProperty: function (a, b) {
return this.has(b);
},
indexOf: function (a, b, c) {
var d = this.length(),
e = void 0 === c ? 0 : Number(c);
0 > e && (e = Math.max(d + e, 0));
for (var f = e; f < d; f++) if (this.has(f) && this.get(f) === b) return f;
return -1;
},
join: function (a, b) {
for (var c = [], d = 0; d < this.length(); d++) c.push(this.get(d));
return c.join(b);
},
lastIndexOf: function (a, b, c) {
var d = this.length(),
e = d - 1;
void 0 !== c && (e = 0 > c ? d + c : Math.min(c, e));
for (var f = e; 0 <= f; f--) if (this.has(f) && this.get(f) === b) return f;
return -1;
},
map: function (a, b) {
for (var c = this.length(), d = [], e = 0; e < this.length() && e < c; e++) this.has(e) && (d[e] = b.g(a, this.get(e), e, this));
return new sa(d);
},
pop: function () {
return this.pop();
},
push: function (a, b) {
return this.push.apply(this, Array.prototype.slice.call(arguments, 1));
},
reduce: function (a, b, c) {
var d = this.length(),
e,
f = 0;
if (void 0 !== c) e = c;
else {
if (0 === d) throw Error("TypeError: Reduce on List with no elements.");
for (var g = 0; g < d; g++)
if (this.has(g)) {
e = this.get(g);
f = g + 1;
break;
}
if (g === d) throw Error("TypeError: Reduce on List with no elements.");
}
for (var h = f; h < d; h++) this.has(h) && (e = b.g(a, e, this.get(h), h, this));
return e;
},
reduceRight: function (a, b, c) {
var d = this.length(),
e,
f = d - 1;
if (void 0 !== c) e = c;
else {
if (0 === d) throw Error("TypeError: ReduceRight on List with no elements.");
for (var g = 1; g <= d; g++)
if (this.has(d - g)) {
e = this.get(d - g);
f = d - (g + 1);
break;
}
if (g > d) throw Error("TypeError: ReduceRight on List with no elements.");
}
for (var h = f; 0 <= h; h--) this.has(h) && (e = b.g(a, e, this.get(h), h, this));
return e;
},
reverse: function () {
for (var a = qc(this), b = a.length - 1, c = 0; 0 <= b; b--, c++) a.hasOwnProperty(b) ? this.set(c, a[b]) : ua(this, c);
return this;
},
shift: function () {
return this.shift();
},
slice: function (a, b, c) {
var d = this.length();
void 0 === b && (b = 0);
b = 0 > b ? Math.max(d + b, 0) : Math.min(b, d);
c = void 0 === c ? d : 0 > c ? Math.max(d + c, 0) : Math.min(c, d);
c = Math.max(b, c);
for (var e = [], f = b; f < c; f++) e.push(this.get(f));
return new sa(e);
},
some: function (a, b) {
for (var c = this.length(), d = 0; d < this.length() && d < c; d++) if (this.has(d) && b.g(a, this.get(d), d, this)) return !0;
return !1;
},
sort: function (a, b) {
var c = qc(this);
void 0 === b
? c.sort()
: c.sort(function (e, f) {
return Number(b.g(a, e, f));
});
for (var d = 0; d < c.length; d++) c.hasOwnProperty(d) ? this.set(d, c[d]) : ua(this, d);
return this;
},
splice: function (a, b, c, d) {
return this.splice.apply(this, Array.prototype.splice.call(arguments, 1, arguments.length - 1));
},
toString: function () {
return this.toString();
},
unshift: function (a, b) {
return this.unshift.apply(this, Array.prototype.slice.call(arguments, 1));
},
};
var uc = "charAt concat indexOf lastIndexOf match replace search slice split substring toLowerCase toLocaleLowerCase toString toUpperCase toLocaleUpperCase trim".split(" "),
vc = new na("break"),
wc = new na("continue"),
xc = function (a, b) {
return G(this, a) + G(this, b);
},
yc = function (a, b) {
return G(this, a) && G(this, b);
},
zc = function (a, b, c) {
a = G(this, a);
b = G(this, b);
c = G(this, c);
if (!(c instanceof sa)) throw Error("Error: Non-List argument given to Apply instruction.");
if (null === a || void 0 === a) throw Error("TypeError: Can't read property " + b + " of " + a + ".");
var d = "number" === typeof a;
if ("boolean" === typeof a || d) {
if ("toString" === b) {
if (d && c.length()) {
var e = pc(c.get(0));
try {
return a.toString(e);
} catch (q) {}
}
return a.toString();
}
throw Error("TypeError: " + a + "." + b + " is not a function.");
}
if ("string" === typeof a) {
if (0 <= uc.indexOf(b)) {
var f = pc(c);
return oc(a[b].apply(a, f), this.g);
}
throw Error("TypeError: " + b + " is not a function");
}
if (a instanceof sa) {
if (a.has(b)) {
var g = a.get(b);
if (g instanceof cb) {
var h = qc(c);
h.unshift(this.g);
return g.g.apply(g, h);
}
throw Error("TypeError: " + b + " is not a function");
}
if (0 <= tc.supportedMethods.indexOf(b)) {
var k = qc(c);
k.unshift(this.g);
return tc[b].apply(a, k);
}
}
if (a instanceof cb || a instanceof gb) {
if (a.has(b)) {
var n = a.get(b);
if (n instanceof cb) {
var p = qc(c);
p.unshift(this.g);
return n.g.apply(n, p);
}
throw Error("TypeError: " + b + " is not a function");
}
if ("toString" === b) return a instanceof cb ? a.U : a.toString();
if ("hasOwnProperty" === b) return a.has.apply(a, qc(c));
}
if (a instanceof gc && "toString" === b) return a.toString();
throw Error("TypeError: Object has no '" + b + "' property.");
},
Ac = function (a, b) {
a = G(this, a);
if ("string" !== typeof a) throw Error("Invalid key name given for assignment.");
var c = this.g;
if (!c.has(a)) throw Error("Attempting to assign to undefined value " + b);
var d = G(this, b);
c.set(a, d);
return d;
},
Bc = function (a) {
var b = Aa(this.g),
c = fb(b, Array.prototype.slice.apply(arguments));
if (c instanceof na) return c;
},
Cc = function () {
return vc;
},
Dc = function (a) {
for (var b = G(this, a), c = 0; c < b.length; c++) {
var d = G(this, b[c]);
if (d instanceof na) return d;
}
},
Ec = function (a) {
for (var b = this.g, c = 0; c < arguments.length - 1; c += 2) {
var d = arguments[c];
if ("string" === typeof d) {
var e = G(this, arguments[c + 1]);
za(b, d, e, !0);
}
}
},
Fc = function () {
return wc;
},
Hc = function (a, b, c) {
var d = new sa();
b = G(this, b);
for (var e = 0; e < b.length; e++) d.push(b[e]);
var f = [51, a, d].concat(Array.prototype.splice.call(arguments, 2, arguments.length - 2));
this.g.add(a, G(this, f));
},
Ic = function (a, b) {
return G(this, a) / G(this, b);
},
Jc = function (a, b) {
a = G(this, a);
b = G(this, b);
var c = a instanceof gc,
d = b instanceof gc;
return c || d ? (c && d ? a.kb == b.kb : !1) : a == b;
},
Kc = function (a) {
for (var b, c = 0; c < arguments.length; c++) b = G(this, arguments[c]);
return b;
};
function Lc(a, b, c, d) {
for (var e = 0; e < b(); e++) {
var f = a(c(e)),
g = fb(f, d);
if (g instanceof na) {
if ("break" === g.g) break;
if ("return" === g.g) return g;
}
}
}
function Mc(a, b, c) {
if ("string" === typeof b)
return Lc(
a,
function () {
return b.length;
},
function (f) {
return f;
},
c
);
if (b instanceof gb || b instanceof sa || b instanceof cb) {
var d = b.Kb(),
e = d.length();
return Lc(
a,
function () {
return e;
},
function (f) {
return d.get(f);
},
c
);
}
}
var Nc = function (a, b, c) {
a = G(this, a);
b = G(this, b);
c = G(this, c);
var d = this.g;
return Mc(
function (e) {
d.set(a, e);
return d;
},
b,
c
);
},
Oc = function (a, b, c) {
a = G(this, a);
b = G(this, b);
c = G(this, c);
var d = this.g;
return Mc(
function (e) {
var f = Aa(d);
za(f, a, e, !0);
return f;
},
b,
c
);
},
Pc = function (a, b, c) {
a = G(this, a);
b = G(this, b);
c = G(this, c);
var d = this.g;
return Mc(
function (e) {
var f = Aa(d);
f.add(a, e);
return f;
},
b,
c
);
},
Rc = function (a, b, c) {
a = G(this, a);
b = G(this, b);
c = G(this, c);
var d = this.g;
return Qc(
function (e) {
d.set(a, e);
return d;
},
b,
c
);
},
Sc = function (a, b, c) {
a = G(this, a);
b = G(this, b);
c = G(this, c);
var d = this.g;
return Qc(
function (e) {
var f = Aa(d);
za(f, a, e, !0);
return f;
},
b,
c
);
},
Tc = function (a, b, c) {
a = G(this, a);
b = G(this, b);
c = G(this, c);
var d = this.g;
return Qc(
function (e) {
var f = Aa(d);
f.add(a, e);
return f;
},
b,
c
);
};
function Qc(a, b, c) {
if ("string" === typeof b)
return Lc(
a,
function () {
return b.length;
},
function (d) {
return b[d];
},
c
);
if (b instanceof sa)
return Lc(
a,
function () {
return b.length();
},
function (d) {
return b.get(d);
},
c
);
throw new TypeError("The value is not iterable.");
}
var Uc = function (a, b, c, d) {
function e(p, q) {
for (var r = 0; r < f.length(); r++) {
var t = f.get(r);
q.add(t, p.get(t));
}
}
var f = G(this, a);
if (!(f instanceof sa)) throw Error("TypeError: Non-List argument given to ForLet instruction.");
var g = this.g;
d = G(this, d);
var h = Aa(g);
for (e(g, h); eb(h, b); ) {
var k = fb(h, d);
if (k instanceof na) {
if ("break" === k.g) break;
if ("return" === k.g) return k;
}
var n = Aa(g);
e(h, n);
eb(n, c);
h = n;
}
},
Vc = function (a) {
a = G(this, a);
var b = this.g,
c = !1;
if (c && !b.has(a)) throw new ReferenceError(a + " is not defined.");
return b.get(a);
},
Wc = function (a, b) {
var c;
a = G(this, a);
b = G(this, b);
if (void 0 === a || null === a) throw Error("TypeError: cannot access property of " + a + ".");
if (a instanceof gb || a instanceof sa || a instanceof cb) c = a.get(b);
else if ("string" === typeof a) "length" === b ? (c = a.length) : oa(b) && (c = a[b]);
else if (a instanceof gc) return;
return c;
},
Xc = function (a, b) {
return G(this, a) > G(this, b);
},
Yc = function (a, b) {
return G(this, a) >= G(this, b);
},
Zc = function (a, b) {
a = G(this, a);
b = G(this, b);
a instanceof gc && (a = a.kb);
b instanceof gc && (b = b.kb);
return a === b;
},
$c = function (a, b) {
return !Zc.call(this, a, b);
},
ad = function (a, b, c) {
var d = [];
G(this, a) ? (d = G(this, b)) : c && (d = G(this, c));
var e = fb(this.g, d);
if (e instanceof na) return e;
},
bd = function (a, b) {
return G(this, a) < G(this, b);
},
cd = function (a, b) {
return G(this, a) <= G(this, b);
},
dd = function (a, b) {
return G(this, a) % G(this, b);
},
ed = function (a, b) {
return G(this, a) * G(this, b);
},
id = function (a) {
return -G(this, a);
},
jd = function (a) {
return !G(this, a);
},
kd = function (a, b) {
return !Jc.call(this, a, b);
},
ld = function () {
return null;
},
md = function (a, b) {
return G(this, a) || G(this, b);
},
nd = function (a, b) {
var c = G(this, a);
G(this, b);
return c;
},
od = function (a) {
return G(this, a);
},
pd = function (a) {
return Array.prototype.slice.apply(arguments);
},
qd = function (a) {
return new na("return", G(this, a));
},
rd = function (a, b, c) {
a = G(this, a);
b = G(this, b);
c = G(this, c);
if (null === a || void 0 === a) throw Error("TypeError: Can't set property " + b + " of " + a + ".");
(a instanceof cb || a instanceof sa || a instanceof gb) && a.set(b, c);
return c;
},
sd = function (a, b) {
return G(this, a) - G(this, b);
},
td = function (a, b, c) {
a = G(this, a);
var d = G(this, b),
e = G(this, c);
if (!Ea(d) || !Ea(e)) throw Error("Error: Malformed switch instruction.");
for (var f, g = !1, h = 0; h < d.length; h++)
if (g || a === G(this, d[h]))
if (((f = G(this, e[h])), f instanceof na)) {
var k = f.g;
if ("break" === k) return;
if ("return" === k || "continue" === k) return f;
} else g = !0;
if (e.length === d.length + 1 && ((f = G(this, e[e.length - 1])), f instanceof na && ("return" === f.g || "continue" === f.g))) return f;
},
ud = function (a, b, c) {
return G(this, a) ? G(this, b) : G(this, c);
},
vd = function (a) {
a = G(this, a);
return a instanceof cb ? "function" : typeof a;
},
wd = function (a) {
for (var b = this.g, c = 0; c < arguments.length; c++) {
var d = arguments[c];
"string" !== typeof d || b.add(d, void 0);
}
},
xd = function (a, b, c, d) {
var e = G(this, d);
if (G(this, c)) {
var f = fb(this.g, e);
if (f instanceof na) {
if ("break" === f.g) return;
if ("return" === f.g) return f;
}
}
for (; G(this, a); ) {
var g = fb(this.g, e);
if (g instanceof na) {
if ("break" === g.g) break;
if ("return" === g.g) return g;
}
G(this, b);
}
},
yd = function (a) {
return ~Number(G(this, a));
},
zd = function (a, b) {
return Number(G(this, a)) << Number(G(this, b));
},
Ad = function (a, b) {
return Number(G(this, a)) >> Number(G(this, b));
},
Bd = function (a, b) {
return Number(G(this, a)) >>> Number(G(this, b));
},
Cd = function (a, b) {
return Number(G(this, a)) & Number(G(this, b));
},
Dd = function (a, b) {
return Number(G(this, a)) ^ Number(G(this, b));
},
Ed = function (a, b) {
return Number(G(this, a)) | Number(G(this, b));
};
var Hd = function () {
this.g = new ib();
Gd(this);
};
Hd.prototype.execute = function (a) {
return Id(this.g.o(a));
};
var Jd = function (a, b, c) {
return Id(a.g.C(b, c));
},
Gd = function (a) {
var b = function (d, e) {
kb(a.g, d, String(e));
};
b("control", 49);
b("fn", 51);
b("list", 7);
b("map", 8);
b("undefined", 44);
var c = function (d, e) {
jb(a.g, String(d), e);
};
c(0, xc);
c(1, yc);
c(2, zc);
c(3, Ac);
c(53, Bc);
c(4, Cc);
c(5, Dc);
c(52, Ec);
c(6, Fc);
c(9, Dc);
c(50, Hc);
c(10, Ic);
c(12, Jc);
c(13, Kc);
c(47, Nc);
c(54, Oc);
c(55, Pc);
c(63, Uc);
c(64, Rc);
c(65, Sc);
c(66, Tc);
c(15, Vc);
c(16, Wc);
c(17, Wc);
c(18, Xc);
c(19, Yc);
c(20, Zc);
c(21, $c);
c(22, ad);
c(23, bd);
c(24, cd);
c(25, dd);
c(26, ed);
c(27, id);
c(28, jd);
c(29, kd);
c(45, ld);
c(30, md);
c(32, nd);
c(33, nd);
c(34, od);
c(35, od);
c(46, pd);
c(36, qd);
c(43, rd);
c(37, sd);
c(38, td);
c(39, ud);
c(40, vd);
c(41, wd);
c(42, xd);
c(58, yd);
c(57, zd);
c(60, Ad);
c(61, Bd);
c(56, Cd);
c(62, Dd);
c(59, Ed);
};
function Id(a) {
if (a instanceof na || a instanceof cb || a instanceof sa || a instanceof gb || a instanceof gc || null === a || void 0 === a || "string" === typeof a || "number" === typeof a || "boolean" === typeof a) return a;
}
var Kd = (function () {
var a = function (b) {
return {
toString: function () {
return b;
},
};
};
return {
fi: a("consent"),
Ee: a("consent_always_fire"),
jg: a("convert_case_to"),
kg: a("convert_false_to"),
lg: a("convert_null_to"),
mg: a("convert_true_to"),
ng: a("convert_undefined_to"),
Mk: a("debug_mode_metadata"),
Jb: a("function"),
pf: a("instance_name"),
Si: a("live_only"),
Ti: a("malware_disabled"),
Ui: a("metadata"),
Zi: a("original_activity_id"),
Wk: a("original_vendor_template_id"),
Vk: a("once_on_load"),
Yi: a("once_per_event"),
Wg: a("once_per_load"),
Xk: a("priority_override"),
Yk: a("respected_consent_types"),
dh: a("setup_tags"),
fh: a("tag_id"),
gh: a("teardown_tags"),
};
})();
var fe;
var ge = [],
he = [],
ie = [],
je = [],
ke = [],
le = {},
me,
ne,
oe,
pe = function (a, b) {
var c = {};
c["function"] = "__" + a;
for (var d in b) b.hasOwnProperty(d) && (c["vtp_" + d] = b[d]);
return c;
},
qe = function (a, b) {
var c = a["function"],
d = b && b.event;
if (!c) throw Error("Error: No function name given for function call.");
var e = le[c],
f = {},
g;
for (g in a)
if (a.hasOwnProperty(g))
if (0 === g.indexOf("vtp_")) e && d && d.oh && d.oh(a[g]), (f[void 0 !== e ? g : g.substr(4)] = a[g]);
else if (g === Kd.Ee.toString() && a[g]) {
}
e && d && d.nh && (f.vtp_gtmCachedValues = d.nh);
if (b) {
if (null == b.name) {
var h;
a: {
var k = b.index;
if (null == k) h = "";
else {
var n;
switch (b.type) {
case 2:
n = ge[k];
break;
case 1:
n = je[k];
break;
default:
h = "";
break a;
}
var p = n && n[Kd.pf];
h = p ? String(p) : "";
}
}
b.name = h;
}
e && ((f.vtp_gtmEntityIndex = b.index), (f.vtp_gtmEntityName = b.name));
}
return void 0 !== e ? e(f) : fe(c, f, b);
},
se = function (a, b, c) {
c = c || [];
var d = {},
e;
for (e in a) a.hasOwnProperty(e) && (d[e] = re(a[e], b, c));
return d;
},
re = function (a, b, c) {
if (Ea(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(re(a[e], b, c));
return d;
case "macro":
var f = a[1];
if (c[f]) return;
var g = ge[f];
if (!g || b.Kf(g)) return;
c[f] = !0;
var h = String(g[Kd.pf]);
try {
var k = se(g, b, c);
k.vtp_gtmEventId = b.id;
b.priorityId && (k.vtp_gtmPriorityId = b.priorityId);
d = qe(k, { event: b, index: f, type: 2, name: h });
oe && (d = oe.mj(d, k));
} catch (w) {
b.Gh && b.Gh(w, Number(f), h), (d = !1);
}
c[f] = !1;
return d;
case "map":
d = {};
for (var n = 1; n < a.length; n += 2) d[re(a[n], b, c)] = re(a[n + 1], b, c);
return d;
case "template":
d = [];
for (var p = !1, q = 1; q < a.length; q++) {
var r = re(a[q], b, c);
ne && (p = p || r === ne.Yd);
d.push(r);
}
return ne && p ? ne.pj(d) : d.join("");
case "escape":
d = re(a[1], b, c);
if (ne && Ea(a[1]) && "macro" === a[1][0] && ne.Lj(a)) return ne.ik(d);
d = String(d);
for (var t = 2; t < a.length; t++) Ld[a[t]] && (d = Ld[a[t]](d));
return d;
case "tag":
var u = a[1];
if (!je[u]) throw Error("Unable to resolve tag reference " + u + ".");
return (d = { wh: a[2], index: u });
case "zb":
var v = { arg0: a[2], arg1: a[3], ignore_case: a[5] };
v["function"] = a[1];
var x = te(v, b, c),
y = !!a[4];
return y || 2 !== x ? y !== (1 === x) : null;
default:
throw Error("Attempting to expand unknown Value type: " + a[0] + ".");
}
}
return a;
},
te = function (a, b, c) {
try {
return me(se(a, b, c));
} catch (d) {
JSON.stringify(a);
}
return 2;
};
var ve = function (a, b, c) {
var d;
d = Error.call(this);
this.message = d.message;
"stack" in d && (this.stack = d.stack);
this.o = a;
this.g = c;
};
ka(ve, Error);
function we(a, b) {
if (Ea(a)) {
Object.defineProperty(a, "context", { value: { line: b[0] } });
for (var c = 1; c < a.length; c++) we(a[c], b[c]);
}
}
var xe = function (a, b) {
var c;
c = Error.call(this);
this.message = c.message;
"stack" in c && (this.stack = c.stack);
this.dk = a;
this.o = b;
this.g = [];
};
ka(xe, Error);
var ze = function () {
return function (a, b) {
a instanceof xe || (a = new xe(a, ye));
b && a.g.push(b);
throw a;
};
};
function ye(a) {
if (!a.length) return a;
a.push({ id: "main", line: 0 });
for (var b = a.length - 1; 0 < b; b--) Da(a[b].id) && a.splice(b++, 1);
for (var c = a.length - 1; 0 < c; c--) a[c].line = a[c - 1].line;
a.splice(0, 1);
return a;
}
var Ce = function (a) {
function b(r) {
for (var t = 0; t < r.length; t++) d[r[t]] = !0;
}
for (var c = [], d = [], e = Ae(a), f = 0; f < he.length; f++) {
var g = he[f],
h = Be(g, e);
if (h) {
for (var k = g.add || [], n = 0; n < k.length; n++) c[k[n]] = !0;
b(g.block || []);
} else null === h && b(g.block || []);
}
for (var p = [], q = 0; q < je.length; q++) c[q] && !d[q] && (p[q] = !0);
return p;
},
Be = function (a, b) {
for (var c = a["if"] || [], d = 0; d < c.length; d++) {
var e = b(c[d]);
if (0 === e) return !1;
if (2 === e) return null;
}
for (var f = a.unless || [], g = 0; g < f.length; g++) {
var h = b(f[g]);
if (2 === h) return null;
if (1 === h) return !1;
}
return !0;
},
Ae = function (a) {
var b = [];
return function (c) {
void 0 === b[c] && (b[c] = te(ie[c], a));
return b[c];
};
};
var De = {
mj: function (a, b) {
b[Kd.jg] && "string" === typeof a && (a = 1 == b[Kd.jg] ? a.toLowerCase() : a.toUpperCase());
b.hasOwnProperty(Kd.lg) && null === a && (a = b[Kd.lg]);
b.hasOwnProperty(Kd.ng) && void 0 === a && (a = b[Kd.ng]);
b.hasOwnProperty(Kd.mg) && !0 === a && (a = b[Kd.mg]);
b.hasOwnProperty(Kd.kg) && !1 === a && (a = b[Kd.kg]);
return a;
},
};
var Ee = function () {
this.g = {};
};
function Fe(a, b, c, d) {
if (a)
for (var e = 0; e < a.length; e++) {
var f = void 0,
g = "A policy function denied the permission request";
try {
(f = a[e].call(void 0, b, c, d)), (g += ".");
} catch (h) {
g = "string" === typeof h ? g + (": " + h) : h instanceof Error ? g + (": " + h.message) : g + ".";
}
if (!f) throw new ve(c, d, g);
}
}
function Ge(a, b, c) {
return function () {
var d = arguments[0];
if (d) {
var e = a.g[d],
f = a.g.all;
if (e || f) {
var g = c.apply(void 0, Array.prototype.slice.call(arguments, 0));
Fe(e, b, d, g);
Fe(f, b, d, g);
}
}
};
}
var Ke = function () {
var a = data.permissions || {},
b = He.J,
c = this;
this.o = new Ee();
this.g = {};
var d = {},
e = Ge(this.o, b, function () {
var f = arguments[0];
return f && d[f] ? d[f].apply(void 0, Array.prototype.slice.call(arguments, 0)) : {};
});
Ka(a, function (f, g) {
var h = {};
Ka(g, function (k, n) {
var p = Ie(k, n);
h[k] = p.assert;
d[k] || (d[k] = p.X);
});
c.g[f] = function (k, n) {
var p = h[k];
if (!p) throw Je(k, {}, "The requested permission " + k + " is not configured.");
var q = Array.prototype.slice.call(arguments, 0);
p.apply(void 0, q);
e.apply(void 0, q);
};
});
},
Me = function (a) {
return Le.g[a] || function () {};
};
function Ie(a, b) {
var c = pe(a, b);
c.vtp_permissionName = a;
c.vtp_createPermissionError = Je;
try {
return qe(c);
} catch (d) {
return {
assert: function (e) {
throw new ve(e, {}, "Permission " + e + " is unknown.");
},
X: function () {
for (var e = {}, f = 0; f < arguments.length; ++f) e["arg" + (f + 1)] = arguments[f];
return e;
},
};
}
}
function Je(a, b, c) {
return new ve(a, b, c);
}
var Ne = !1;
var Oe = {};
Oe.Lk = Na("");
Oe.sj = Na("");
var Pe = Ne,
Qe = Oe.sj,
Re = Oe.Lk;
var Se = function (a, b) {
var c = String(a);
return c;
};
var Xe = function (a) {
var b = {},
c = 0;
Ka(a, function (e, f) {
if (void 0 !== f)
if (((f = Se(f, 100)), Te.hasOwnProperty(e))) b[Te[e]] = Ue(f);
else if (Ve.hasOwnProperty(e)) {
var g = Ve[e],
h = Ue(f);
b.hasOwnProperty(g) || (b[g] = h);
} else if ("category" === e)
for (var k = Ue(f).split("/", 5), n = 0; n < k.length; n++) {
var p = We[n],
q = k[n];
b.hasOwnProperty(p) || (b[p] = q);
}
else 10 > c && ((b["k" + c] = Ue(Se(e, 40))), (b["v" + c] = Ue(f)), c++);
});
var d = [];
Ka(b, function (e, f) {
d.push("" + e + f);
});
return d.join("~");
},
Ue = function (a) {
return ("" + a).replace(/~/g, function () {
return "~~";
});
},
Te = {
item_id: "id",
item_name: "nm",
item_brand: "br",
item_category: "ca",
item_category2: "c2",
item_category3: "c3",
item_category4: "c4",
item_category5: "c5",
item_variant: "va",
price: "pr",
quantity: "qt",
coupon: "cp",
item_list_name: "ln",
index: "lp",
item_list_id: "li",
discount: "ds",
affiliation: "af",
promotion_id: "pi",
promotion_name: "pn",
creative_name: "cn",
creative_slot: "cs",
location_id: "lo",
},
Ve = { id: "id", name: "nm", brand: "br", variant: "va", list_name: "ln", list_position: "lp", list: "ln", position: "lp", creative: "cn" },
We = ["ca", "c2", "c3", "c4", "c5"];
var Ye = function (a) {
var b = [];
Ka(a, function (c, d) {
null != d && b.push(encodeURIComponent(c) + "=" + encodeURIComponent(String(d)));
});
return b.join("&");
},
Ze = function (a, b, c, d) {
this.Fa = a.Fa;
this.Wb = a.Wb;
this.aa = a.aa;
this.g = b;
this.C = c;
this.B = Ye(a.Fa);
this.o = Ye(a.aa);
this.I = this.o.length;
if (d && 16384 < this.I) throw Error("EVENT_TOO_LARGE");
};
var $e = function () {
this.events = [];
this.g = this.Fa = "";
this.B = 0;
this.o = !1;
};
$e.prototype.add = function (a) {
return this.C(a) ? (this.events.push(a), (this.Fa = a.B), (this.g = a.g), (this.B += a.I), (this.o = a.C), !0) : !1;
};
$e.prototype.C = function (a) {
var b = 20 > this.events.length && 16384 > a.I + this.B,
c = this.Fa === a.B && this.g === a.g && this.o === a.C;
return 0 == this.events.length || (b && c);
};
var af = function (a, b) {
Ka(a, function (c, d) {
null != d && b.push(encodeURIComponent(c) + "=" + encodeURIComponent(d));
});
},
bf = function (a, b) {
var c = [];
a.B && c.push(a.B);
b && c.push("_s=" + b);
af(a.Wb, c);
var d = !1;
a.o && (c.push(a.o), (d = !0));
var e = c.join("&"),
f = "",
g = e.length + a.g.length + 1;
d && 2048 < g && ((f = c.pop()), (e = c.join("&")));
return { Vf: e, body: f };
},
cf = function (a, b) {
var c = a.events;
if (1 == c.length) return bf(c[0], b);
var d = [];
a.Fa && d.push(a.Fa);
for (var e = {}, f = 0; f < c.length; f++)
Ka(c[f].Wb, function (t, u) {
null != u && ((e[t] = e[t] || {}), (e[t][String(u)] = e[t][String(u)] + 1 || 1));
});
var g = {};
Ka(e, function (t, u) {
var v,
x = -1,
y = 0;
Ka(u, function (w, A) {
y += A;
var B = (w.length + t.length + 2) * (A - 1);
B > x && ((v = w), (x = B));
});
y == c.length && (g[t] = v);
});
af(g, d);
b && d.push("_s=" + b);
for (var h = d.join("&"), k = [], n = {}, p = 0; p < c.length; n = { Cd: n.Cd }, p++) {
var q = [];
n.Cd = {};
Ka(
c[p].Wb,
(function (t) {
return function (u, v) {
g[u] != "" + v && (t.Cd[u] = v);
};
})(n)
);
c[p].o && q.push(c[p].o);
af(n.Cd, q);
k.push(q.join("&"));
}
var r = k.join("\r\n");
return { Vf: h, body: r };
};
var nf = /^([a-z][a-z0-9]*):(!|\?)(\*|string|boolean|number|Fn|DustMap|List|OpaqueValue)$/i,
of = { Fn: "function", DustMap: "Object", List: "Array" },
N = function (a, b, c) {
for (var d = 0; d < b.length; d++) {
var e = nf.exec(b[d]);
if (!e) throw Error("Internal Error in " + a);
var f = e[1],
g = "!" === e[2],
h = e[3],
k = c[d];
if (null == k) {
if (g) throw Error("Error in " + a + ". Required argument " + f + " not supplied.");
} else if ("*" !== h) {
var n = typeof k;
k instanceof cb ? (n = "Fn") : k instanceof sa ? (n = "List") : k instanceof gb ? (n = "DustMap") : k instanceof gc && (n = "OpaqueValue");
if (n != h) throw Error("Error in " + a + ". Argument " + f + " has type " + (of[n] || n) + ", which does not match required type " + (of[h] || h) + ".");
}
}
};
function pf(a) {
return "" + a;
}
function qf(a, b) {
var c = [];
return c;
}
var rf = function (a, b) {
var c = new cb(a, function () {
for (var d = Array.prototype.slice.call(arguments, 0), e = 0; e < d.length; e++) d[e] = G(this, d[e]);
return b.apply(this, d);
});
c.Lb();
return c;
},
sf = function (a, b) {
var c = new gb(),
d;
for (d in b)
if (b.hasOwnProperty(d)) {
var e = b[d];
Ca(e) ? c.set(d, rf(a + "_" + d, e)) : (Da(e) || m(e) || "boolean" === typeof e) && c.set(d, e);
}
c.Lb();
return c;
};
var tf = function (a, b) {
N(H(this), ["apiName:!string", "message:?string"], arguments);
var c = {},
d = new gb();
return (d = sf("AssertApiSubject", c));
};
var uf = function (a, b) {
N(H(this), ["actual:?*", "message:?string"], arguments);
if (a instanceof ic) throw Error("Argument actual cannot have type Promise. Assertions on asynchronous code aren't supported.");
var c = {},
d = new gb();
return (d = sf("AssertThatSubject", c));
};
function vf(a) {
return function () {
for (var b = [], c = this.g, d = 0; d < arguments.length; ++d) b.push(pc(arguments[d], c));
return oc(a.apply(null, b));
};
}
var xf = function () {
for (var a = Math, b = wf, c = {}, d = 0; d < b.length; d++) {
var e = b[d];
a.hasOwnProperty(e) && (c[e] = vf(a[e].bind(a)));
}
return c;
};
var yf = function (a) {
var b;
return b;
};
var zf = function (a) {
var b;
return b;
};
var Af = function (a) {
return encodeURI(a);
};
var Bf = function (a) {
return encodeURIComponent(a);
};
var Cf = function (a) {
N(H(this), ["message:?string"], arguments);
};
var Hf = function (a, b) {
N(H(this), ["min:!number", "max:!number"], arguments);
return Ga(a, b);
};
var O = function (a, b, c) {
var d = a.g.g;
if (!d) throw Error("Missing program state.");
d.gj.apply(null, Array.prototype.slice.call(arguments, 1));
};
var If = function () {
O(this, "read_container_data");
var a = new gb();
a.set("containerId", "G-8JN5Z5SPNZ");
a.set("version", "1");
a.set("environmentName", "");
a.set("debugMode", Pe);
a.set("previewMode", Re);
a.set("environmentMode", Qe);
a.Lb();
return a;
};
var Jf = {};
Jf.enable1pScripts = !0;
Jf.enableGlobalEventDeveloperIds = !1;
Jf.enableGlobalEventDeveloperIds = !0;
Jf.enableGa4OnoRemarketing = !1;
Jf.omitAuidIfWbraidPresent = !1;
Jf.reconcileCampaignFields = !1;
Jf.reconcileCampaignFields = !0;
Jf.enableEmFormCcd = !1;
Jf.enableEmFormCcd = !0;
Jf.enableEmFormCcdPart2 = !1;
Jf.enableLandingPageDeduplication = !0;
Jf.enableFloodlightPrerenderingBypass = !1;
Jf.analyticsPrivateParamsExcluded = !1;
Jf.ipOverrideExperiment = !1;
Jf.ipOverrideExperiment = !0;
Jf.enableAdsConsentedConversionsOnly = !1;
Jf.enableAdsConsentedConversionsOnly = !0;
Jf.enableFlConsentedConversionsOnly = !1;
Jf.enableFlConsentedConversionsOnly = !0;
Jf.enableAdsHistoryChangeEvents = !1;
Jf.enableAdsHistoryChangeEvents = !0;
Jf.enableEValue = !1;
Jf.requireGtagUserDataTos = !0;
Jf.sendBeaconEnableExperimentPercentage = Number("0") || 0;
function Kf() {
return oc(Jf);
}
var Lf = function () {
return new Date().getTime();
};
var Mf = function (a) {
if (null === a) return "null";
if (a instanceof sa) return "array";
if (a instanceof cb) return "function";
if (a instanceof gc) {
a = a.kb;
if (void 0 === a.constructor || void 0 === a.constructor.name) {
var b = String(a);
return b.substring(8, b.length - 1);
}
return String(a.constructor.name);
}
return typeof a;
};
var Nf = function (a) {
function b(c) {
return function (d) {
try {
return c(d);
} catch (e) {
(Pe || Re) && a.call(this, e.message);
}
};
}
return {
parse: b(function (c) {
return oc(JSON.parse(c));
}),
stringify: b(function (c) {
return JSON.stringify(pc(c));
}),
};
};
var Of = function (a) {
return Ma(pc(a, this.g));
};
var Pf = function (a) {
return Number(pc(a, this.g));
};
var Qf = function (a) {
return null === a ? "null" : void 0 === a ? "undefined" : a.toString();
};
var Rf = function (a, b, c) {
var d = null,
e = !1;
return e ? d : null;
};
var wf = "floor ceil round max min abs pow sqrt".split(" ");
var Sf = function () {
var a = {};
return {
Bj: function (b) {
return a.hasOwnProperty(b) ? a[b] : void 0;
},
Dk: function (b, c) {
a[b] = c;
},
reset: function () {
a = {};
},
};
},
Tf = function (a, b) {
return function () {
var c = Array.prototype.slice.call(arguments, 0);
c.unshift(b);
return cb.prototype.g.apply(a, c);
};
},
Uf = function (a, b) {
N(H(this), ["apiName:!string", "mock:?*"], arguments);
};
var Vf = {};
Vf.keys = function (a) {
return new sa();
};
Vf.values = function (a) {
return new sa();
};
Vf.entries = function (a) {
return new sa();
};
Vf.freeze = function (a) {
return a;
};
Vf.delete = function (a, b) {
return !1;
};
var Xf = function () {
this.g = {};
this.o = {};
};
Xf.prototype.get = function (a, b) {
var c = this.g.hasOwnProperty(a) ? this.g[a] : void 0;
return c;
};
Xf.prototype.add = function (a, b, c) {
if (this.g.hasOwnProperty(a)) throw "Attempting to add a function which already exists: " + a + ".";
if (this.o.hasOwnProperty(a)) throw "Attempting to add an API with an existing private API name: " + a + ".";
this.g[a] = c ? void 0 : Ca(b) ? rf(a, b) : sf(a, b);
};
var Zf = function (a, b, c) {
if (a.o.hasOwnProperty(b)) throw "Attempting to add a private function which already exists: " + b + ".";
if (a.g.hasOwnProperty(b)) throw "Attempting to add a private function with an existing API name: " + b + ".";
a.o[b] = Ca(c) ? rf(b, c) : sf(b, c);
};
function Yf(a, b) {
var c = void 0;
return c;
}
function $f() {
var a = {};
return a;
}
var bg = function (a) {
return ag ? I.querySelectorAll(a) : null;
},
cg = function (a, b) {
if (!ag) 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 (!I.documentElement.contains(d)) return null;
do {
try {
if (c.call(d, b)) return d;
} catch (e) {
break;
}
d = d.parentElement || d.parentNode;
} while (null !== d && 1 === d.nodeType);
return null;
},
dg = !1;
if (I.querySelectorAll)
try {
var eg = I.querySelectorAll(":root");
eg && 1 == eg.length && eg[0] == I.documentElement && (dg = !0);
} catch (a) {}
var ag = dg;
var fg = {},
gg = function (a, b) {
fg[a] = fg[a] || [];
fg[a][b] = !0;
},
hg = function (a) {
for (var b = [], c = fg[a] || [], d = 0; d < c.length; d++) c[d] && (b[Math.floor(d / 6)] ^= 1 << d % 6);
for (var e = 0; e < b.length; e++) b[e] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(b[e] || 0);
return b.join("");
},
ig = function () {
for (var a = [], b = fg.GA4_EVENT || [], c = 0; c < b.length; c++) b[c] && a.push(c);
return 0 < a.length ? a : void 0;
};
var jg = function (a) {
gg("GTM", a);
};
var kg = function (a) {
return null == a ? "" : m(a) ? Pa(String(a)) : "e0";
},
mg = function (a) {
return a.replace(lg, "");
},
og = function (a) {
return ng(a.replace(/\s/g, ""));
},
ng = function (a) {
return Pa(a.replace(pg, "").toLowerCase());
},
rg = function (a) {
a = a.replace(/[\s-()/.]/g, "");
"+" !== a.charAt(0) && (a = "+" + a);
return qg.test(a) ? a : "e0";
},
tg = function (a) {
var b = a.toLowerCase().split("@");
if (2 == b.length) {
var c = b[0];
/^(gmail|googlemail)\./.test(b[1]) && (c = c.replace(/\./g, ""));
c = c + "@" + b[1];
if (sg.test(c)) return c;
}
return "e0";
},
wg = function (a, b) {
window.Promise || b([]);
Promise.all(
a.map(function (c) {
return c.value && -1 !== ug.indexOf(c.name)
? vg(c.value).then(function (d) {
c.value = d;
})
: Promise.resolve();
})
)
.then(function () {
b(a);
})
.catch(function () {
b([]);
});
},
vg = function (a) {
if ("" === a || "e0" === a) return Promise.resolve(a);
if (z.crypto && z.crypto.subtle)
try {
var b = xg(a);
return z.crypto.subtle
.digest("SHA-256", b)
.then(function (c) {
var d = Array.from(new Uint8Array(c))
.map(function (e) {
return String.fromCharCode(e);
})
.join("");
return z.btoa(d).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
})
.catch(function () {
return "e2";
});
} catch (c) {
return Promise.resolve("e2");
}
else return Promise.resolve("e1");
},
xg = function (a) {
var b;
if (z.TextEncoder) b = new z.TextEncoder("utf-8").encode(a);
else {
for (var c = [], d = 0; d < a.length; d++) {
var e = a.charCodeAt(d);
128 > e
? c.push(e)
: 2048 > e
? c.push(192 | (e >> 6), 128 | (e & 63))
: 55296 > e || 57344 <= e
? c.push(224 | (e >> 12), 128 | ((e >> 6) & 63), 128 | (e & 63))
: ((e = 65536 + (((e & 1023) << 10) | (a.charCodeAt(++d) & 1023))), c.push(240 | (e >> 18), 128 | ((e >> 12) & 63), 128 | ((e >> 6) & 63), 128 | (e & 63)));
}
b = new Uint8Array(c);
}
return b;
},
pg = /[0-9`~!@#$%^&*()_\-+=:;<>,.?|/\\[\]]/g,
sg = /^\S+@\S+\.\S+$/,
qg = /^\+\d{10,15}$/,
lg = /[.~]/g,
yg = {},
zg = ((yg.email = "em"), (yg.phone_number = "pn"), (yg.first_name = "fn"), (yg.last_name = "ln"), (yg.street = "sa"), (yg.city = "ct"), (yg.region = "rg"), (yg.country = "co"), (yg.postal_code = "pc"), (yg.error_code = "ec"), yg),
Ag = function (a, b) {
function c(n, p, q) {
var r = n[p];
Ea(r) || (r = [r]);
for (var t = 0; t < r.length; ++t) {
var u = kg(r[t]);
"" !== u && f.push({ name: p, value: q(u), index: void 0 });
}
}
function d(n, p, q, r) {
var t = kg(n[p]);
"" !== t && f.push({ name: p, value: q(t), index: r });
}
function e(n) {
return function (p) {
jg(64);
return n(p);
};
}
var f = [];
if ("https:" === z.location.protocol) {
c(a, "email", tg);
c(a, "phone_number", rg);
c(a, "first_name", e(og));
c(a, "last_name", e(og));
var g = a.home_address || {};
c(g, "street", e(ng));
c(g, "city", e(ng));
c(g, "postal_code", e(mg));
c(g, "region", e(ng));
c(g, "country", e(mg));
var h = a.address || {};
Ea(h) || (h = [h]);
for (var k = 0; k < h.length; k++)
d(h[k], "first_name", og, k), d(h[k], "last_name", og, k), d(h[k], "street", ng, k), d(h[k], "city", ng, k), d(h[k], "postal_code", mg, k), d(h[k], "region", ng, k), d(h[k], "country", mg, k);
wg(f, b);
} else f.push({ name: "error_code", value: "e3", index: void 0 }), b(f);
},
Bg = function (a, b) {
Ag(a, function (c) {
for (var d = ["tv.1"], e = 0, f = 0; f < c.length; ++f) {
var g = c[f].name,
h = c[f].value,
k = c[f].index,
n = zg[g];
n && h && (-1 === ug.indexOf(g) || /^e\d+$/.test(h) || /^[0-9A-Za-z_-]{43}$/.test(h)) && (void 0 !== k && (n += k), d.push(n + "." + h), e++);
}
1 === c.length && "error_code" === c[0].name && (e = 0);
b(encodeURIComponent(d.join("~")), e);
});
},
Cg = function (a) {
if (z.Promise)
try {
return new Promise(function (b) {
Bg(a, function (c, d) {
b({ Ac: c, fl: d });
});
});
} catch (b) {}
},
ug = Object.freeze(["email", "phone_number", "first_name", "last_name", "street"]);
var Q = {
qc: "_ee",
Rg: "_is_passthrough_cid",
Qg: "_is_linker_valid",
kc: "event_callback",
Od: "event_timeout",
Ja: "gtag.config",
Qa: "gtag.get",
Ha: "purchase",
fc: "refund",
Db: "begin_checkout",
ac: "add_to_cart",
bc: "remove_from_cart",
oi: "view_cart",
pg: "add_to_wishlist",
Ia: "view_item",
cc: "view_promotion",
Je: "select_promotion",
Ie: "select_item",
Eb: "view_item_list",
og: "add_payment_info",
ni: "add_shipping_info",
Sa: "value_key",
fb: "value_callback",
ba: "allow_ad_personalization_signals",
Rc: "restricted_data_processing",
Lc: "allow_google_signals",
za: "cookie_expires",
Gb: "cookie_update",
Sc: "session_duration",
Vd: "session_engaged_time",
Md: "engagement_time_msec",
Ua: "user_properties",
ca: "transport_url",
ia: "ads_data_redaction",
va: "user_data",
Oc: "first_party_collection",
H: "ad_storage",
T: "analytics_storage",
Fe: "region",
ig: "wait_for_update",
qa: "conversion_linker",
Ka: "conversion_cookie_prefix",
na: "value",
Aa: "currency",
Lg: "trip_type",
da: "items",
Dg: "passengers",
Ed: "allow_custom_scripts",
vb: "session_id",
bf: "quantity",
ib: "transaction_id",
hb: "language",
ic: "country",
Fd: "allow_enhanced_conversions",
Pe: "aw_merchant_id",
Ne: "aw_feed_country",
Oe: "aw_feed_language",
Me: "discount",
Z: "developer_id",
Ag: "global_developer_id_string",
yg: "event_developer_id_string",
Wd: "delivery_postal_code",
Ve: "estimated_delivery_date",
Te: "shipping",
Ze: "new_customer",
Qe: "customer_lifetime_value",
Ue: "enhanced_conversions",
Jc: "page_view",
sa: "linker",
V: "domains",
nc: "decorate_forms",
xg: "enhanced_conversions_automatic_settings",
yi: "auto_detection_enabled",
Xe: "ga_temp_client_id",
Kc: "user_engagement",
ii: "app_remove",
ji: "app_store_refund",
ki: "app_store_subscription_cancel",
li: "app_store_subscription_convert",
mi: "app_store_subscription_renew",
ri: "first_open",
si: "first_visit",
ui: "in_app_purchase",
vi: "session_start",
wi: "allow_display_features",
Mc: "campaign",
Gd: "campaign_content",
Hd: "campaign_id",
Id: "campaign_medium",
Jd: "campaign_name",
Kd: "campaign_source",
Ld: "campaign_term",
ya: "client_id",
ra: "cookie_domain",
hc: "cookie_name",
qb: "cookie_path",
Ra: "cookie_flags",
jc: "custom_map",
Rd: "groups",
Cg: "non_interaction",
tb: "page_location",
af: "page_path",
ub: "page_referrer",
Td: "page_title",
Ma: "send_page_view",
Ib: "send_to",
Tc: "session_engaged",
Nc: "euid_logged_in_state",
Uc: "session_number",
Mi: "tracking_id",
jb: "url_passthrough",
mc: "accept_incoming",
Qc: "url_position",
Gg: "phone_conversion_number",
Eg: "phone_conversion_callback",
Fg: "phone_conversion_css_class",
Hg: "phone_conversion_options",
Hi: "phone_conversion_ids",
Gi: "phone_conversion_country_code",
Fb: "aw_remarketing",
Le: "aw_remarketing_only",
Ke: "gclid",
xi: "auid",
Bi: "affiliation",
wg: "tax",
Se: "list_name",
vg: "checkout_step",
ug: "checkout_option",
Ci: "coupon",
Di: "promotions",
Ta: "user_id",
Ki: "retoken",
La: "cookie_prefix",
qg: "disable_merchant_reported_purchases",
sg: "dc_natural_search",
rg: "dc_custom_params",
Bg: "method",
Li: "search_term",
Ai: "content_type",
Fi: "optimize_id",
Ei: "experiments",
sb: "google_signals",
};
Q.Qd = "google_tld";
Q.Xd = "update";
Q.We = "firebase_id";
Q.Pc = "ga_restrict_domain";
Q.Nd = "event_settings";
Q.Re = "dynamic_event_settings";
Q.oc = "user_data_settings";
Q.Jg = "screen_name";
Q.df = "screen_resolution";
Q.Hb = "_x_19";
Q.rb = "enhanced_client_id";
Q.Pd = "_x_20";
Q.Ye = "internal_traffic_results";
Q.ef = "traffic_type";
Q.Ud = "referral_exclusion_definition";
Q.Sd = "ignore_referrer";
Q.zi = "content_group";
Q.xa = "allow_interest_groups";
Q.Pk = "debug_mode";
(Q.cf = "redact_device_info"), (Q.zg = "geo_granularity");
var Dg = {};
Q.Ng = Object.freeze(
((Dg[Q.ba] = 1),
(Dg[Q.Fd] = 1),
(Dg[Q.Lc] = 1),
(Dg[Q.da] = 1),
(Dg[Q.ra] = 1),
(Dg[Q.za] = 1),
(Dg[Q.Ra] = 1),
(Dg[Q.hc] = 1),
(Dg[Q.qb] = 1),
(Dg[Q.La] = 1),
(Dg[Q.Gb] = 1),
(Dg[Q.jc] = 1),
(Dg[Q.Z] = 1),
(Dg[Q.Re] = 1),
(Dg[Q.kc] = 1),
(Dg[Q.Nd] = 1),
(Dg[Q.Od] = 1),
(Dg[Q.Oc] = 1),
(Dg[Q.Pc] = 1),
(Dg[Q.sb] = 1),
(Dg[Q.Qd] = 1),
(Dg[Q.Rd] = 1),
(Dg[Q.Ye] = 1),
(Dg[Q.sa] = 1),
(Dg[Q.Ud] = 1),
(Dg[Q.Rc] = 1),
(Dg[Q.Ma] = 1),
(Dg[Q.Ib] = 1),
(Dg[Q.Sc] = 1),
(Dg[Q.Vd] = 1),
(Dg[Q.Wd] = 1),
(Dg[Q.ca] = 1),
(Dg[Q.Xd] = 1),
(Dg[Q.oc] = 1),
(Dg[Q.Ua] = 1),
Dg)
);
Q.Mg = Object.freeze([Q.tb, Q.ub, Q.Td, Q.hb, Q.Jg, Q.Ta, Q.We, Q.zi]);
var Eg = {};
Q.Oi = Object.freeze(((Eg[Q.ii] = 1), (Eg[Q.ji] = 1), (Eg[Q.ki] = 1), (Eg[Q.li] = 1), (Eg[Q.mi] = 1), (Eg[Q.ri] = 1), (Eg[Q.si] = 1), (Eg[Q.ui] = 1), (Eg[Q.vi] = 1), (Eg[Q.Kc] = 1), Eg));
var Fg = {};
Q.Og = Object.freeze(
((Fg[Q.og] = 1), (Fg[Q.ni] = 1), (Fg[Q.ac] = 1), (Fg[Q.bc] = 1), (Fg[Q.oi] = 1), (Fg[Q.Db] = 1), (Fg[Q.Ie] = 1), (Fg[Q.Eb] = 1), (Fg[Q.Je] = 1), (Fg[Q.cc] = 1), (Fg[Q.Ha] = 1), (Fg[Q.fc] = 1), (Fg[Q.Ia] = 1), (Fg[Q.pg] = 1), Fg)
);
Q.hf = Object.freeze([Q.ba, Q.Lc, Q.Gb]);
Q.Wi = Object.freeze([].concat(Q.hf));
Q.jf = Object.freeze([Q.za, Q.Od, Q.Sc, Q.Vd, Q.Md]);
Q.Xi = Object.freeze([].concat(Q.jf));
var Gg = {};
Q.Ge = ((Gg[Q.H] = "1"), (Gg[Q.T] = "2"), Gg);
var Ig = {},
S = (z.google_tag_manager = z.google_tag_manager || {}),
Jg = Math.random();
Ig.ce = "6f0";
Ig.fa = "dataLayer";
Ig.hi = "ChEI8LXAlQYQxpmWrtntsviVARIlAEvKDqdNAhfQ/Cf0NYRY6jDbTFyTK8+3tepJHBdljQ2c08fq/RoC4d4\x3d";
var Kg = { __cl: !0, __ecl: !0, __ehl: !0, __evl: !0, __fal: !0, __fil: !0, __fsl: !0, __hl: !0, __jel: !0, __lcl: !0, __sdl: !0, __tl: !0, __ytl: !0 },
Lg = { __paused: !0, __tg: !0 },
Mg;
for (Mg in Kg) Kg.hasOwnProperty(Mg) && (Lg[Mg] = !0);
Ig.Ic = "www.googletagmanager.com";
var Ng,
Og = Ig.Ic + "/gtm.js";
Og = Ig.Ic + "/gtag/js";
Ng = Og;
var Pg = Na(""),
Qg = Na(""),
Rg = null,
Sg = null,
Tg = {},
Ug = {},
Vg = function () {
var a = S.sequence || 1;
S.sequence = a + 1;
return a;
};
Ig.gi = "";
var Wg = "";
Ig.de = Wg;
var Xg = new Ha(),
Yg = {},
Zg = {},
bh = {
name: Ig.fa,
set: function (a, b) {
nc(Za(a, b), Yg);
$g();
},
get: function (a) {
return ah(a, 2);
},
reset: function () {
Xg = new Ha();
Yg = {};
$g();
},
},
ah = function (a, b) {
return 2 != b ? Xg.get(a) : ch(a);
},
ch = function (a, b) {
var c = a.split(".");
b = b || [];
for (var d = Yg, e = 0; e < c.length; e++) {
if (null === d) return !1;
if (void 0 === d) break;
d = d[c[e]];
if (-1 !== b.indexOf(d)) return;
}
return d;
},
dh = function (a, b) {
Zg.hasOwnProperty(a) || (Xg.set(a, b), nc(Za(a, b), Yg), $g());
},
eh = function () {
for (var a = ["gtm.allowlist", "gtm.blocklist", "gtm.whitelist", "gtm.blacklist", "tagTypeBlacklist"], b = 0; b < a.length; b++) {
var c = a[b],
d = ah(c, 1);
if (Ea(d) || mc(d)) d = nc(d);
Zg[c] = d;
}
},
$g = function (a) {
Ka(Zg, function (b, c) {
Xg.set(b, c);
nc(Za(b), Yg);
nc(Za(b, c), Yg);
a && delete Zg[b];
});
},
fh = function (a, b) {
var c,
d = 1 !== (void 0 === b ? 2 : b) ? ch(a) : Xg.get(a);
"array" === kc(d) || "object" === kc(d) ? (c = nc(d)) : (c = d);
return c;
};
var gh,
hh = !1;
function ih() {
hh = !0;
gh = gh || {};
}
var jh = function (a) {
hh || ih();
return gh[a];
};
var kh = function (a) {
if (I.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 ("hidden" === c.visibility) return !0;
for (var d = a, e = c; d; ) {
if ("none" === e.display) return !0;
var f = e.opacity,
g = e.filter;
if (g) {
var h = g.indexOf("opacity(");
0 <= h && ((g = g.substring(h + 8, g.indexOf(")", h))), "%" == g.charAt(g.length - 1) && (g = g.substring(0, g.length - 1)), (f = Math.min(g, f)));
}
if (void 0 !== f && 0 >= f) return !0;
(d = d.parentElement) && (e = z.getComputedStyle(d, null));
}
return !1;
};
var lh = function () {
var a = I.body,
b = I.documentElement || (a && a.parentElement),
c,
d;
if (I.compatMode && "BackCompat" !== I.compatMode) (c = b ? b.clientHeight : 0), (d = b ? b.clientWidth : 0);
else {
var e = function (f, g) {
return f && g ? Math.min(f, g) : Math.max(f, g);
};
jg(7);
c = e(b ? b.clientHeight : 0, a ? a.clientHeight : 0);
d = e(b ? b.clientWidth : 0, a ? a.clientWidth : 0);
}
return { width: d, height: c };
},
mh = function (a) {
var b = lh(),
c = b.height,
d = b.width,
e = a.getBoundingClientRect(),
f = e.bottom - e.top,
g = e.right - e.left;
return f && g ? (1 - Math.min((Math.max(0 - e.left, 0) + Math.max(e.right - d, 0)) / g, 1)) * (1 - Math.min((Math.max(0 - e.top, 0) + Math.max(e.bottom - c, 0)) / f, 1)) : 0;
};
var nh = [],
oh = !(!z.IntersectionObserver || !z.IntersectionObserverEntry),
ph = function (a, b, c) {
for (var d = new z.IntersectionObserver(a, { threshold: c }), e = 0; e < b.length; e++) d.observe(b[e]);
for (var f = 0; f < nh.length; f++) if (!nh[f]) return (nh[f] = d), f;
return nh.push(d) - 1;
},
qh = function (a, b, c) {
function d(h, k) {
var n = { top: 0, bottom: 0, right: 0, left: 0, width: 0, height: 0 },
p = { boundingClientRect: h.getBoundingClientRect(), intersectionRatio: k, intersectionRect: n, isIntersecting: 0 < k, rootBounds: n, target: h, time: Ra() };
K(function () {
return a(p);
});
}
for (var e = [], f = [], g = 0; g < b.length; g++) e.push(0), f.push(-1);
c.sort(function (h, k) {
return h - k;
});
return function () {
for (var h = 0; h < b.length; h++) {
var k = mh(b[h]);
if (k > e[h]) for (; f[h] < c.length - 1 && k >= c[f[h] + 1]; ) d(b[h], k), f[h]++;
else if (k < e[h]) for (; 0 <= f[h] && k <= c[f[h]]; ) d(b[h], k), f[h]--;
e[h] = k;
}
};
},
rh = function (a, b, c) {
for (var d = 0; d < c.length; d++) 1 < c[d] ? (c[d] = 1) : 0 > c[d] && (c[d] = 0);
if (oh) {
var e = !1;
K(function () {
e || qh(a, b, c)();
});
return ph(
function (f) {
e = !0;
for (var g = { Cc: 0 }; g.Cc < f.length; g = { Cc: g.Cc }, g.Cc++)
K(
(function (h) {
return function () {
return a(f[h.Cc]);
};
})(g)
);
},
b,
c
);
}
return z.setInterval(qh(a, b, c), 1e3);
},
sh = function (a) {
oh ? 0 <= a && a < nh.length && nh[a] && (nh[a].disconnect(), (nh[a] = void 0)) : z.clearInterval(a);
};
var th = /:[0-9]+$/,
uh = function (a, b, c, d) {
for (var e = [], f = a.split("&"), g = 0; g < f.length; g++) {
var h = f[g].split("=");
if (decodeURIComponent(h[0]).replace(/\+/g, " ") === b) {
var k = h.slice(1).join("=");
if (!c) return d ? k : decodeURIComponent(k).replace(/\+/g, " ");
e.push(d ? k : decodeURIComponent(k).replace(/\+/g, " "));
}
}
return c ? e : void 0;
},
xh = function (a, b, c, d, e) {
b && (b = String(b).toLowerCase());
if ("protocol" === b || "port" === b) a.protocol = vh(a.protocol) || vh(z.location.protocol);
"port" === b
? (a.port = String(Number(a.hostname ? a.port : z.location.port) || ("http" === a.protocol ? 80 : "https" === a.protocol ? 443 : "")))
: "host" === b && (a.hostname = (a.hostname || z.location.hostname).replace(th, "").toLowerCase());
return wh(a, b, c, d, e);
},
wh = function (a, b, c, d, e) {
var f,
g = vh(a.protocol);
b && (b = String(b).toLowerCase());
switch (b) {
case "url_no_fragment":
f = yh(a);
break;
case "protocol":
f = g;
break;
case "host":
f = a.hostname.replace(th, "").toLowerCase();
if (c) {
var h = /^www\d*\./.exec(f);
h && h[0] && (f = f.substr(h[0].length));
}
break;
case "port":
f = String(Number(a.port) || ("http" === g ? 80 : "https" === g ? 443 : ""));
break;
case "path":
a.pathname || a.hostname || gg("TAGGING", 1);
f = "/" === a.pathname.substr(0, 1) ? a.pathname : "/" + a.pathname;
var k = f.split("/");
0 <= (d || []).indexOf(k[k.length - 1]) && (k[k.length - 1] = "");
f = k.join("/");
break;
case "query":
f = a.search.replace("?", "");
e && (f = uh(f, e, !1));
break;
case "extension":
var n = a.pathname.split(".");
f = 1 < n.length ? n[n.length - 1] : "";
f = f.split("/")[0];
break;
case "fragment":
f = a.hash.replace("#", "");
break;
default:
f = a && a.href;
}
return f;
},
vh = function (a) {
return a ? a.replace(":", "").toLowerCase() : "";
},
yh = function (a) {
var b = "";
if (a && a.href) {
var c = a.href.indexOf("#");
b = 0 > c ? a.href : a.href.substr(0, c);
}
return b;
},
zh = function (a) {
var b = I.createElement("a");
a && (b.href = a);
var c = b.pathname;
"/" !== c[0] && (a || gg("TAGGING", 1), (c = "/" + c));
var d = b.hostname.replace(th, "");
return { href: b.href, protocol: b.protocol, host: b.host, hostname: d, pathname: c, search: b.search, hash: b.hash, port: b.port };
},
Ah = function (a) {
function b(n) {
var p = n.split("=")[0];
return 0 > d.indexOf(p) ? n : p + "=0";
}
function c(n) {
return n
.split("&")
.map(b)
.filter(function (p) {
return void 0 !== p;
})
.join("&");
}
var d = "gclid dclid gbraid wbraid gclaw gcldc gclha gclgf gclgb _gl".split(" "),
e = zh(a),
f = a.split(/[?#]/)[0],
g = e.search,
h = e.hash;
"?" === g[0] && (g = g.substring(1));
"#" === h[0] && (h = h.substring(1));
g = c(g);
h = c(h);
"" !== g && (g = "?" + g);
"" !== h && (h = "#" + h);
var k = "" + f + g + h;
"/" === k[k.length - 1] && (k = k.substring(0, k.length - 1));
return k;
};
var Bh = {};
var Dh = function (a, b, c) {
if (a) {
var d = a.element,
e = { cb: a.cb, tagName: d.tagName, type: 1 };
b && (e.querySelector = Ch(d));
c && (e.isVisible = !kh(d));
return e;
}
},
Gh = function (a) {
if (0 != a.length) {
var b;
b = Eh(a, function (c) {
return !Fh.test(c.cb);
});
b = Eh(b, function (c) {
return "INPUT" === c.element.tagName.toUpperCase();
});
b = Eh(b, function (c) {
return !kh(c.element);
});
return b[0];
}
},
Eh = function (a, b) {
if (1 >= a.length) return a;
var c = a.filter(b);
return 0 == c.length ? a : c;
},
Ch = function (a) {
var b;
if (a === I.body) b = "body";
else {
var c;
if (a.id) c = "#" + a.id;
else {
var d;
if (a.parentElement) {
var e;
a: {
var f = a.parentElement;
if (f) {
for (var g = 0; g < f.childElementCount; g++)
if (f.children[g] === a) {
e = g + 1;
break a;
}
e = -1;
} else e = 1;
}
d = Ch(a.parentElement) + ">:nth-child(" + e + ")";
} else d = "";
c = d;
}
b = c;
}
return b;
},
Hh = !0,
Ih = !1;
Bh.di = "true";
var Sh = new RegExp(/[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}/i),
Th = new RegExp(/@(gmail|googlemail)\./i),
Fh = new RegExp(/support|noreply/i),
Uh = "SCRIPT STYLE IMG SVG PATH BR NOSCRIPT".split(" "),
Vh = ["BR"],
Wh = {},
Xh = function (a) {
a = a || { yc: !0, zc: !0 };
a.zb = a.zb || { email: !0, phone: !0, kh: !0 };
var b,
c = a,
d = !!c.yc + "." + !!c.zc;
c && c.cd && c.cd.length && (d += "." + c.cd.join("."));
c && c.zb && (d += "." + c.zb.email + "." + c.zb.phone + "." + c.zb.kh);
b = d;
var e = Wh[b];
if (e && 200 > Ra() - e.timestamp) return e.result;
var f;
var g = [],
h = I.body;
if (h) {
for (var k = h.querySelectorAll("*"), n = 0; n < k.length && 1e4 > n; n++) {
var p = k[n];
if (!(0 <= Uh.indexOf(p.tagName.toUpperCase())) && p.children instanceof HTMLCollection) {
for (var q = !1, r = 0; r < p.childElementCount && 1e4 > r; r++)
if (!(0 <= Vh.indexOf(p.children[r].tagName.toUpperCase()))) {
q = !0;
break;
}
q || g.push(p);
}
}
f = { elements: g, status: 1e4 < k.length ? "2" : "1" };
} else f = { elements: g, status: "4" };
var t = f,
u = t.status,
v = [],
x;
if (a.zb && a.zb.email) {
for (var y = t.elements, w = [], A = 0; A < y.length; A++) {
var B = y[A],
C = B.textContent;
"INPUT" === B.tagName.toUpperCase() && B.value && (C = B.value);
if (C) {
var E = C.match(Sh);
if (E) {
var F = E[0],
D;
if (z.location) {
var L = wh(z.location, "host", !0);
D = 0 <= F.toLowerCase().indexOf(L);
} else D = !1;
D || w.push({ element: B, cb: F });
}
}
}
var J = a && a.cd;
if (J && 0 !== J.length) {
for (var P = [], T = 0; T < w.length; T++) {
for (var R = !0, M = 0; M < J.length; M++) {
var Z = J[M];
if (Z && cg(w[T].element, Z)) {
R = !1;
break;
}
}
R && P.push(w[T]);
}
v = P;
} else v = w;
x = Gh(v);
10 < w.length && (u = "3");
}
var ca = [];
!a.wk && x && (v = [x]);
for (var V = 0; V < v.length; V++) ca.push(Dh(v[V], a.yc, a.zc));
var ta = { elements: ca.slice(0, 10), hk: Dh(x, a.yc, a.zc), status: u };
Wh[b] = { timestamp: Ra(), result: ta };
return ta;
},
Yh = function (a) {
return a.tagName + ":" + a.isVisible + ":" + a.cb.length + ":" + Th.test(a.cb);
};
var Zh = function (a, b, c) {
if (c) {
var d = c.selector_type,
e = String(c.value),
f;
if ("js_variable" === d) {
e = e.replace(/\["?'?/g, ".").replace(/"?'?\]/g, "");
for (var g = e.split(","), h = 0; h < g.length; h++) {
var k = g[h].trim();
if (k) {
if (0 === k.indexOf("dataLayer.")) f = ah(k.substring(10));
else {
var n = k.split(".");
f = z[n.shift()];
for (var p = 0; p < n.length; p++) f = f && f[n[p]];
}
if (void 0 !== f) break;
}
}
} else if ("css_selector" === d && ag) {
var q = bg(e);
if (q && 0 < q.length) {
f = [];
for (var r = 0; r < q.length && r < ("email" === b || "phone_number" === b ? 5 : 1); r++) f.push(Tb(q[r]) || Pa(q[r].value));
f = 1 === f.length ? f[0] : f;
}
}
f && (a[b] = f);
}
},
$h = function (a) {
if (a) {
var b = {};
Zh(b, "email", a.email);
Zh(b, "phone_number", a.phone);
b.address = [];
for (var c = a.name_and_address || [], d = 0; d < c.length; d++) {
var e = {};
Zh(e, "first_name", c[d].first_name);
Zh(e, "last_name", c[d].last_name);
Zh(e, "street", c[d].street);
Zh(e, "city", c[d].city);
Zh(e, "region", c[d].region);
Zh(e, "country", c[d].country);
Zh(e, "postal_code", c[d].postal_code);
b.address.push(e);
}
return b;
}
},
ai = function (a) {
if (a)
switch (a.mode) {
case "selectors":
return $h(a.selectors);
case "auto_detect":
var b;
var c = a.auto_detect;
if (c) {
var d = Xh({ yc: !1, zc: !1, cd: c.exclude_element_selectors, zb: { email: !!c.email, phone: !!c.phone, kh: !!c.address } }).elements,
e = {};
if (0 < d.length)
for (var f = 0; f < d.length; f++) {
var g = d[f];
if (1 === g.type) {
e.email = g.cb;
break;
}
}
b = e;
} else b = void 0;
return b;
}
},
bi = function (a, b) {
switch (a.enhanced_conversions_mode) {
case "manual":
if (b && mc(b)) return b;
var c = a.enhanced_conversions_manual_var;
return void 0 !== c ? c : z.enhanced_conversion_data;
case "automatic":
return $h(a[Q.xg]);
}
};
var hi = {},
ii = function (a, b) {
if (z._gtmexpgrp && z._gtmexpgrp.hasOwnProperty(a)) return z._gtmexpgrp[a];
void 0 === hi[a] && (hi[a] = Math.floor(Math.random() * b));
return hi[a];
};
var ki = [];
ki[6] = !0;
ki[5] = !0;
ki[9] = !0;
ki[10] = !0;
ki[12] = !0;
ki[14] = !0;
ki[16] = !0;
var li = /[A-Z]+/,
mi = /\s/,
ni = function (a) {
if (m(a)) {
a = Pa(a);
var b = a.indexOf("-");
if (!(0 > b)) {
var c = a.substring(0, b);
if (li.test(c)) {
for (var d = a.substring(b + 1).split("/"), e = 0; e < d.length; e++) if (!d[e] || (mi.test(d[e]) && ("AW" !== c || 1 !== e))) return;
return { id: a, prefix: c, containerId: c + "-" + d[0], P: d };
}
}
}
},
pi = function (a) {
for (var b = {}, c = 0; c < a.length; ++c) {
var d = ni(a[c]);
d && (b[d.id] = d);
}
oi(b);
var e = [];
Ka(b, function (f, g) {
e.push(g);
});
return e;
};
function oi(a) {
var b = [],
c;
for (c in a)
if (a.hasOwnProperty(c)) {
var d = a[c];
"AW" === d.prefix && d.P[1] && b.push(d.containerId);
}
for (var e = 0; e < b.length; ++e) delete a[b[e]];
}
var qi = 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;
},
ri = function (a) {
var b = a;
return function () {
if (b) {
var c = b;
b = null;
c();
}
};
};
var si = function (a, b) {
a.addEventListener && a.addEventListener.call(a, "message", b, !1);
};
function ti() {
return wb("iPhone") && !wb("iPod") && !wb("iPad");
}
wb("Opera");
wb("Trident") || wb("MSIE");
wb("Edge");
!wb("Gecko") || (-1 != vb().toLowerCase().indexOf("webkit") && !wb("Edge")) || wb("Trident") || wb("MSIE") || wb("Edge");
-1 != vb().toLowerCase().indexOf("webkit") && !wb("Edge") && wb("Mobile");
wb("Macintosh");
wb("Windows");
wb("Linux") || wb("CrOS");
var ui = la.navigator || null;
ui && (ui.appVersion || "").indexOf("X11");
wb("Android");
ti();
wb("iPad");
wb("iPod");
ti() || wb("iPad") || wb("iPod");
vb().toLowerCase().indexOf("kaios");
var vi = function (a) {
if (!a || !I.head) return null;
var b, c;
c = void 0 === c ? document : c;
b = c.createElement("meta");
I.head.appendChild(b);
b.httpEquiv = "origin-trial";
b.content = a;
return b;
};
var wi = { zf: "VN", Oh: "VN-HN" };
var xi = new (function (a, b) {
this.g = a;
this.defaultValue = void 0 === b ? !1 : b;
})(1933);
var zi = function () {
var a = yi,
b = "If";
if (a.If && a.hasOwnProperty(b)) return a.If;
var c = new a();
a.If = c;
a.hasOwnProperty(b);
return c;
};
var yi = function () {
var a = {};
this.g = function () {
var b = xi.g,
c = xi.defaultValue;
return null != a[b] ? a[b] : c;
};
this.o = function () {
a[xi.g] = !0;
};
};
var Ai = [];
function Bi() {
var a = Gb("google_tag_data", {});
a.ics || (a.ics = { entries: {}, set: Ci, update: Di, addListener: Ei, notifyListeners: Fi, active: !1, usedDefault: !1, usedUpdate: !1, accessedDefault: !1, accessedAny: !1, wasSetLate: !1 });
return a.ics;
}
function Ci(a, b, c, d, e, f) {
var g = Bi();
g.usedDefault || (!g.accessedDefault && !g.accessedAny) || (g.wasSetLate = !0);
g.active = !0;
g.usedDefault = !0;
if (void 0 != b) {
var h = g.entries,
k = h[a] || {},
n = k.region,
p = c && m(c) ? c.toUpperCase() : void 0;
d = d.toUpperCase();
e = e.toUpperCase();
if ("" === d || p === e || (p === d ? n !== e : !p && !n)) {
var q = !!(f && 0 < f && void 0 === k.update),
r = { region: p, initial: "granted" === b, update: k.update, quiet: q };
if ("" !== d || !1 !== k.initial) h[a] = r;
q &&
z.setTimeout(function () {
h[a] === r && r.quiet && ((r.quiet = !1), Gi(a), Fi(), gg("TAGGING", 2));
}, f);
}
}
}
function Di(a, b) {
var c = Bi();
c.usedDefault || c.usedUpdate || !c.accessedAny || (c.wasSetLate = !0);
c.active = !0;
c.usedUpdate = !0;
if (void 0 != b) {
var d = Hi(c, a),
e = c.entries,
f = (e[a] = e[a] || {});
f.update = "granted" === b;
var g = Hi(c, a);
f.quiet ? ((f.quiet = !1), Gi(a)) : g !== d && Gi(a);
}
}
function Ei(a, b) {
Ai.push({ yf: a, wj: b });
}
function Gi(a) {
for (var b = 0; b < Ai.length; ++b) {
var c = Ai[b];
Ea(c.yf) && -1 !== c.yf.indexOf(a) && (c.Kh = !0);
}
}
function Fi(a, b) {
for (var c = 0; c < Ai.length; ++c) {
var d = Ai[c];
if (d.Kh) {
d.Kh = !1;
try {
d.wj({ consentEventId: a, consentPriorityId: b });
} catch (e) {}
}
}
}
function Hi(a, b) {
var c = a.entries[b] || {};
return void 0 !== c.update ? c.update : c.initial;
}
var Ii = function (a) {
var b = Bi();
b.accessedAny = !0;
return Hi(b, a);
},
Ji = function (a) {
var b = Bi();
b.accessedDefault = !0;
return (b.entries[a] || {}).initial;
},
Ki = function (a) {
var b = Bi();
b.accessedAny = !0;
return !(b.entries[a] || {}).quiet;
},
Li = function () {
if (!zi().g()) return !1;
var a = Bi();
a.accessedAny = !0;
return a.active;
},
Mi = function () {
var a = Bi();
a.accessedDefault = !0;
return a.usedDefault;
},
Ni = function (a, b) {
Bi().addListener(a, b);
},
Oi = function (a, b) {
Bi().notifyListeners(a, b);
},
Pi = function (a, b) {
function c() {
for (var e = 0; e < b.length; e++) if (!Ki(b[e])) return !0;
return !1;
}
if (c()) {
var d = !1;
Ni(b, function (e) {
d || c() || ((d = !0), a(e));
});
} else a({});
},
Qi = function (a, b) {
function c() {
for (var f = [], g = 0; g < d.length; g++) {
var h = d[g];
!1 === Ii(h) || e[h] || (f.push(h), (e[h] = !0));
}
return f;
}
var d = m(b) ? [b] : b,
e = {};
c().length !== d.length &&
Ni(d, function (f) {
var g = c();
0 < g.length && ((f.yf = g), a(f));
});
};
function Ri() {}
function Si() {}
function Ti(a) {
for (var b = [], c = 0; c < Ui.length; c++) {
var d = a(Ui[c]);
b[c] = !0 === d ? "1" : !1 === d ? "0" : "-";
}
return b.join("");
}
var Ui = [Q.H, Q.T],
Vi = function (a) {
var b = a[Q.Fe];
b && jg(40);
var c = a[Q.ig];
c && jg(41);
for (var d = Ea(b) ? b : [b], e = { Dc: 0 }; e.Dc < d.length; e = { Dc: e.Dc }, ++e.Dc)
Ka(
a,
(function (f) {
return function (g, h) {
if (g !== Q.Fe && g !== Q.ig) {
var k = d[f.Dc],
n = wi.zf,
p = wi.Oh;
Bi().set(g, h, k, n, p, c);
}
};
})(e)
);
},
Wi = 0,
Xi = function (a, b) {
Ka(a, function (e, f) {
Bi().update(e, f);
});
Oi(b.eventId, b.priorityId);
var c = Ra(),
d = c - Wi;
Wi && 0 <= d && 1e3 > d && jg(66);
Wi = c;
},
Yi = function (a) {
var b = Ii(a);
return void 0 != b ? b : !0;
},
Zi = function () {
return "G1" + Ti(Ii);
},
$i = function (a, b) {
Ni(a, b);
},
aj = function (a, b) {
Qi(a, b);
},
bj = function (a, b) {
Pi(a, b);
};
var cj = function (a) {
var b = 1,
c,
d,
e;
if (a) for (b = 0, d = a.length - 1; 0 <= d; d--) (e = a.charCodeAt(d)), (b = ((b << 6) & 268435455) + e + (e << 14)), (c = b & 266338304), (b = 0 !== c ? b ^ (c >> 21) : b);
return b;
};
var dj = function (a, b, c) {
for (var d = [], e = b.split(";"), f = 0; f < e.length; f++) {
var g = e[f].split("="),
h = g[0].replace(/^\s*|\s*$/g, "");
if (h && h == a) {
var k = g
.slice(1)
.join("=")
.replace(/^\s*|\s*$/g, "");
k && c && (k = decodeURIComponent(k));
d.push(k);
}
}
return d;
};
function ej(a) {
return "null" !== a.origin;
}
var hj = function (a, b, c, d) {
return fj(d) ? dj(a, String(b || gj()), c) : [];
},
kj = function (a, b, c, d, e) {
if (fj(e)) {
var f = ij(a, d, e);
if (1 === f.length) return f[0].id;
if (0 !== f.length) {
f = jj(
f,
function (g) {
return g.pe;
},
b
);
if (1 === f.length) return f[0].id;
f = jj(
f,
function (g) {
return g.nd;
},
c
);
return f[0] ? f[0].id : void 0;
}
}
};
function lj(a, b, c, d) {
var e = gj(),
f = window;
ej(f) && (f.document.cookie = a);
var g = gj();
return e != g || (void 0 != c && 0 <= hj(b, g, !1, d).indexOf(c));
}
var pj = function (a, b, c, d) {
function e(x, y, w) {
if (null == w) return delete h[y], x;
h[y] = w;
return x + "; " + y + "=" + w;
}
function f(x, y) {
if (null == y) return delete h[y], x;
h[y] = !0;
return x + "; " + y;
}
if (!fj(c.nb)) return 2;
var g;
void 0 == b ? (g = a + "=deleted; expires=" + new Date(0).toUTCString()) : (c.encode && (b = encodeURIComponent(b)), (b = mj(b)), (g = a + "=" + b));
var h = {};
g = e(g, "path", c.path);
var k;
c.expires instanceof Date ? (k = c.expires.toUTCString()) : null != c.expires && (k = "" + c.expires);
g = e(g, "expires", k);
g = e(g, "max-age", c.Wj);
g = e(g, "samesite", c.tk);
c.vk && (g = f(g, "secure"));
var n = c.domain;
if (n && "auto" === n.toLowerCase()) {
for (var p = nj(), q = void 0, r = !1, t = 0; t < p.length; ++t) {
var u = "none" !== p[t] ? p[t] : void 0,
v = e(g, "domain", u);
v = f(v, c.flags);
try {
d && d(a, h);
} catch (x) {
q = x;
continue;
}
r = !0;
if (!oj(u, c.path) && lj(v, a, b, c.nb)) return 0;
}
if (q && !r) throw q;
return 1;
}
n && "none" !== n.toLowerCase() && (g = e(g, "domain", n));
g = f(g, c.flags);
d && d(a, h);
return oj(n, c.path) ? 1 : lj(g, a, b, c.nb) ? 0 : 1;
},
qj = function (a, b, c) {
null == c.path && (c.path = "/");
c.domain || (c.domain = "auto");
return pj(a, b, c);
};
function jj(a, b, c) {
for (var d = [], e = [], f, g = 0; g < a.length; g++) {
var h = a[g],
k = b(h);
k === c ? d.push(h) : void 0 === f || k < f ? ((e = [h]), (f = k)) : k === f && e.push(h);
}
return 0 < d.length ? d : e;
}
function ij(a, b, c) {
for (var d = [], e = hj(a, void 0, void 0, c), f = 0; f < e.length; f++) {
var g = e[f].split("."),
h = g.shift();
if (!b || -1 !== b.indexOf(h)) {
var k = g.shift();
k && ((k = k.split("-")), d.push({ id: g.join("."), pe: 1 * k[0] || 1, nd: 1 * k[1] || 1 }));
}
}
return d;
}
var mj = function (a) {
a && 1200 < a.length && (a = a.substring(0, 1200));
return a;
},
rj = /^(www\.)?google(\.com?)?(\.[a-z]{2})?$/,
sj = /(^|\.)doubleclick\.net$/i,
oj = function (a, b) {
return sj.test(window.document.location.hostname) || ("/" === b && rj.test(a));
},
gj = function () {
return ej(window) ? window.document.cookie : "";
},
nj = function () {
var a = [],
b = window.document.location.hostname.split(".");
if (4 === b.length) {
var c = b[b.length - 1];
if (parseInt(c, 10).toString() === c) return ["none"];
}
for (var d = b.length - 2; 0 <= d; d--) a.push(b.slice(d).join("."));
var e = window.document.location.hostname;
sj.test(e) || rj.test(e) || a.push("none");
return a;
},
fj = function (a) {
if (!zi().g() || !a || !Li()) return !0;
if (!Ki(a)) return !1;
var b = Ii(a);
return null == b ? !0 : !!b;
};
var tj = function (a) {
var b = Math.round(2147483647 * Math.random());
return a ? String(b ^ (cj(a) & 2147483647)) : String(b);
},
uj = function (a) {
return [tj(a), Math.round(Ra() / 1e3)].join(".");
},
xj = function (a, b, c, d, e) {
var f = vj(b);
return kj(a, f, wj(c), d, e);
},
yj = function (a, b, c, d) {
var e = "" + vj(c),
f = wj(d);
1 < f && (e += "-" + f);
return [b, e, a].join(".");
},
vj = function (a) {
if (!a) return 1;
a = 0 === a.indexOf(".") ? a.substr(1) : a;
return a.split(".").length;
},
wj = function (a) {
if (!a || "/" === a) return 1;
"/" !== a[0] && (a = "/" + a);
"/" !== a[a.length - 1] && (a += "/");
return a.split("/").length - 1;
};
function zj(a, b, c) {
var d,
e = Number(null != a.Ab ? a.Ab : void 0);
0 !== e && (d = new Date((b || Ra()) + 1e3 * (e || 7776e3)));
return { path: a.path, domain: a.domain, flags: a.flags, encode: !!c, expires: d };
}
var Aj = ["1"],
Bj = {},
Cj = {},
Ej = function (a) {
return Bj[Dj(a)];
},
Hj = function (a, b) {
b = void 0 === b ? !0 : b;
var c = Dj(a.prefix);
if (!Bj[c] && !Fj(c, a.path, a.domain) && b) {
var d = Dj(a.prefix),
e = uj();
if (0 === Gj(d, e, a)) {
var f = Gb("google_tag_data", {});
f._gcl_au ? gg("GTM", 57) : (f._gcl_au = e);
}
Fj(c, a.path, a.domain);
}
};
function Gj(a, b, c, d) {
var e = yj(b, "1", c.domain, c.path),
f = zj(c, d);
f.nb = "ad_storage";
return qj(a, e, f);
}
function Fj(a, b, c) {
var d = xj(a, b, c, Aj, "ad_storage");
if (!d) return !1;
var e = d.split(".");
5 === e.length ? ((Bj[a] = e.slice(0, 2).join(".")), (Cj[a] = { id: e.slice(2, 4).join("."), Fh: Number(e[4]) || 0 })) : 3 === e.length ? (Cj[a] = { id: e.slice(0, 2).join("."), Fh: Number(e[2]) || 0 }) : (Bj[a] = d);
return !0;
}
function Dj(a) {
return (a || "_gcl") + "_au";
}
var Ij = function (a) {
for (var b = [], c = I.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 (g, h) {
return h.timestamp - g.timestamp;
});
return b;
};
function Jj(a, b) {
var c = Ij(a),
d = {};
if (!c || !c.length) return d;
for (var e = 0; e < c.length; e++) {
var f = c[e].value.split(".");
if (!("1" !== f[0] || (b && 3 > f.length) || (!b && 3 !== f.length)) && Number(f[1])) {
d[c[e].eg] || (d[c[e].eg] = []);
var g = { version: f[0], timestamp: 1e3 * Number(f[1]), Na: f[2] };
b && 3 < f.length && (g.labels = f.slice(3));
d[c[e].eg].push(g);
}
}
return d;
}
function Kj() {
for (var a = Lj, b = {}, c = 0; c < a.length; ++c) b[a[c]] = c;
return b;
}
function Mj() {
var a = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
a += a.toLowerCase() + "0123456789-_";
return a + ".";
}
var Lj, Nj;
function Oj(a) {
function b(k) {
for (; d < a.length; ) {
var n = a.charAt(d++),
p = Nj[n];
if (null != p) return p;
if (!/^[\s\xa0]*$/.test(n)) throw Error("Unknown base64 encoding at char: " + n);
}
return k;
}
Lj = Lj || Mj();
Nj = Nj || Kj();
for (var c = "", d = 0; ; ) {
var e = b(-1),
f = b(0),
g = b(64),
h = b(64);
if (64 === h && -1 === e) return c;
c += String.fromCharCode((e << 2) | (f >> 4));
64 != g && ((c += String.fromCharCode(((f << 4) & 240) | (g >> 2))), 64 != h && (c += String.fromCharCode(((g << 6) & 192) | h)));
}
}
var Pj;
var Tj = function () {
var a = Qj,
b = Rj,
c = Sj(),
d = function (g) {
a(g.target || g.srcElement || {});
},
e = function (g) {
b(g.target || g.srcElement || {});
};
if (!c.init) {
Qb(I, "mousedown", d);
Qb(I, "keyup", d);
Qb(I, "submit", e);
var f = HTMLFormElement.prototype.submit;
HTMLFormElement.prototype.submit = function () {
b(this);
f.call(this);
};
c.init = !0;
}
},
Uj = function (a, b, c, d, e) {
var f = { callback: a, domains: b, fragment: 2 === c, placement: c, forms: d, sameHost: e };
Sj().decorators.push(f);
},
Vj = function (a, b, c) {
for (var d = Sj().decorators, e = {}, f = 0; f < d.length; ++f) {
var g = d[f],
h;
if ((h = !c || g.forms))
a: {
var k = g.domains,
n = a,
p = !!g.sameHost;
if (k && (p || n !== I.location.hostname))
for (var q = 0; q < k.length; q++)
if (k[q] instanceof RegExp) {
if (k[q].test(n)) {
h = !0;
break a;
}
} else if (0 <= n.indexOf(k[q]) || (p && 0 <= k[q].indexOf(n))) {
h = !0;
break a;
}
h = !1;
}
if (h) {
var r = g.placement;
void 0 == r && (r = g.fragment ? 2 : 1);
r === b && Ua(e, g.callback());
}
}
return e;
};
function Sj() {
var a = Gb("google_tag_data", {}),
b = a.gl;
(b && b.decorators) || ((b = { decorators: [] }), (a.gl = b));
return b;
}
var Wj = /(.*?)\*(.*?)\*(.*)/,
Xj = /^https?:\/\/([^\/]*?)\.?cdn\.ampproject\.org\/?(.*)/,
Yj = /^(?:www\.|m\.|amp\.)+/,
Zj = /([^?#]+)(\?[^#]*)?(#.*)?/;
function ak(a) {
return new RegExp("(.*?)(^|&)" + a + "=([^&]*)&?(.*)");
}
var ck = function (a) {
var b = [],
c;
for (c in a)
if (a.hasOwnProperty(c)) {
var d = a[c];
if (void 0 !== d && d === d && null !== d && "[object Object]" !== d.toString()) {
b.push(c);
var e = b,
f = e.push,
g,
h = String(d);
Lj = Lj || Mj();
Nj = Nj || Kj();
for (var k = [], n = 0; n < h.length; n += 3) {
var p = n + 1 < h.length,
q = n + 2 < h.length,
r = h.charCodeAt(n),
t = p ? h.charCodeAt(n + 1) : 0,
u = q ? h.charCodeAt(n + 2) : 0,
v = r >> 2,
x = ((r & 3) << 4) | (t >> 4),
y = ((t & 15) << 2) | (u >> 6),
w = u & 63;
q || ((w = 64), p || (y = 64));
k.push(Lj[v], Lj[x], Lj[y], Lj[w]);
}
g = k.join("");
f.call(e, g);
}
}
var A = b.join("*");
return ["1", bk(A), A].join("*");
};
function bk(a, b) {
var c = [z.navigator.userAgent, new Date().getTimezoneOffset(), Eb.userLanguage || Eb.language, Math.floor(Ra() / 60 / 1e3) - (void 0 === b ? 0 : b), a].join("*"),
d;
if (!(d = Pj)) {
for (var e = Array(256), f = 0; 256 > f; f++) {
for (var g = f, h = 0; 8 > h; h++) g = g & 1 ? (g >>> 1) ^ 3988292384 : g >>> 1;
e[f] = g;
}
d = e;
}
Pj = d;
for (var k = 4294967295, n = 0; n < c.length; n++) k = (k >>> 8) ^ Pj[(k ^ c.charCodeAt(n)) & 255];
return ((k ^ -1) >>> 0).toString(36);
}
function dk() {
return function (a) {
var b = zh(z.location.href),
c = b.search.replace("?", ""),
d = uh(c, "_gl", !1, !0) || "";
a.query = ek(d) || {};
var e = xh(b, "fragment").match(ak("_gl"));
a.fragment = ek((e && e[3]) || "") || {};
};
}
function fk(a, b) {
var c = ak(a).exec(b),
d = b;
if (c) {
var e = c[2],
f = c[4];
d = c[1];
f && (d = d + e + f);
}
return d;
}
var gk = function (a, b) {
b || (b = "_gl");
var c = Zj.exec(a);
if (!c) return "";
var d = c[1],
e = fk(b, (c[2] || "").slice(1)),
f = fk(b, (c[3] || "").slice(1));
e.length && (e = "?" + e);
f.length && (f = "#" + f);
return "" + d + e + f;
},
hk = function (a) {
var b = dk(),
c = Sj();
c.data || ((c.data = { query: {}, fragment: {} }), b(c.data));
var d = {},
e = c.data;
e && (Ua(d, e.query), a && Ua(d, e.fragment));
return d;
},
ek = function (a) {
try {
var b = ik(a, 3);
if (void 0 !== b) {
for (var c = {}, d = b ? b.split("*") : [], e = 0; e + 1 < d.length; e += 2) {
var f = d[e],
g = Oj(d[e + 1]);
c[f] = g;
}
gg("TAGGING", 6);
return c;
}
} catch (h) {
gg("TAGGING", 8);
}
};
function ik(a, b) {
if (a) {
var c;
a: {
for (var d = a, e = 0; 3 > e; ++e) {
var f = Wj.exec(d);
if (f) {
c = f;
break a;
}
d = decodeURIComponent(d);
}
c = void 0;
}
var g = c;
if (g && "1" === g[1]) {
var h = g[3],
k;
a: {
for (var n = g[2], p = 0; p < b; ++p)
if (n === bk(h, p)) {
k = !0;
break a;
}
k = !1;
}
if (k) return h;
gg("TAGGING", 7);
}
}
}
function jk(a, b, c, d) {
function e(p) {
p = fk(a, p);
var q = p.charAt(p.length - 1);
p && "&" !== q && (p += "&");
return p + n;
}
d = void 0 === d ? !1 : d;
var f = Zj.exec(c);
if (!f) return "";
var g = f[1],
h = f[2] || "",
k = f[3] || "",
n = a + "=" + b;
d ? (k = "#" + e(k.substring(1))) : (h = "?" + e(h.substring(1)));
return "" + g + h + k;
}
function kk(a, b) {
var c = "FORM" === (a.tagName || "").toUpperCase(),
d = Vj(b, 1, c),
e = Vj(b, 2, c),
f = Vj(b, 3, c);
if (Wa(d)) {
var g = ck(d);
c ? lk("_gl", g, a) : mk("_gl", g, a, !1);
}
if (!c && Wa(e)) {
var h = ck(e);
mk("_gl", h, a, !0);
}
for (var k in f)
if (f.hasOwnProperty(k))
a: {
var n = k,
p = f[k],
q = a;
if (q.tagName) {
if ("a" === q.tagName.toLowerCase()) {
mk(n, p, q);
break a;
}
if ("form" === q.tagName.toLowerCase()) {
lk(n, p, q);
break a;
}
}
"string" == typeof q && jk(n, p, q);
}
}
function mk(a, b, c, d) {
if (c.href) {
var e = jk(a, b, c.href, void 0 === d ? !1 : d);
ub.test(e) && (c.href = e);
}
}
function lk(a, b, c) {
if (c && c.action) {
var d = (c.method || "").toLowerCase();
if ("get" === d) {
for (var e = c.childNodes || [], f = !1, g = 0; g < e.length; g++) {
var h = e[g];
if (h.name === a) {
h.setAttribute("value", b);
f = !0;
break;
}
}
if (!f) {
var k = I.createElement("input");
k.setAttribute("type", "hidden");
k.setAttribute("name", a);
k.setAttribute("value", b);
c.appendChild(k);
}
} else if ("post" === d) {
var n = jk(a, b, c.action);
ub.test(n) && (c.action = n);
}
}
}
function Qj(a) {
try {
var b;
a: {
for (var c = a, d = 100; c && 0 < d; ) {
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;
("http:" !== f && "https:" !== f) || kk(e, e.hostname);
}
} catch (g) {}
}
function Rj(a) {
try {
if (a.action) {
var b = xh(zh(a.action), "host");
kk(a, b);
}
} catch (c) {}
}
var nk = function (a, b, c, d) {
Tj();
Uj(a, b, "fragment" === c ? 2 : 1, !!d, !1);
},
ok = function (a, b) {
Tj();
Uj(a, [wh(z.location, "host", !0)], b, !0, !0);
},
pk = function () {
var a = I.location.hostname,
b = Xj.exec(I.referrer);
if (!b) return !1;
var c = b[2],
d = b[1],
e = "";
if (c) {
var f = c.split("/"),
g = f[1];
e = "s" === g ? decodeURIComponent(f[2]) : decodeURIComponent(g);
} else if (d) {
if (0 === d.indexOf("xn--")) return !1;
e = d.replace(/-/g, ".").replace(/\.\./g, "-");
}
var h = a.replace(Yj, ""),
k = e.replace(Yj, ""),
n;
if (!(n = h === k)) {
var p = "." + k;
n = h.substring(h.length - p.length, h.length) === p;
}
return n;
},
qk = function (a, b) {
return !1 === a ? !1 : a || b || pk();
};
var rk = {};
var sk = /^\w+$/,
tk = /^[\w-]+$/,
uk = { aw: "_aw", dc: "_dc", gf: "_gf", ha: "_ha", gp: "_gp", gb: "_gb" },
vk = function () {
if (!zi().g() || !Li()) return !0;
var a = Ii("ad_storage");
return null == a ? !0 : !!a;
},
wk = function (a, b) {
Ki("ad_storage")
? vk()
? a()
: Qi(a, "ad_storage")
: b
? gg("TAGGING", 3)
: Pi(
function () {
wk(a, !0);
},
["ad_storage"]
);
},
yk = function (a) {
return xk(a).map(function (b) {
return b.Na;
});
},
xk = function (a) {
var b = [];
if (!ej(z) || !I.cookie) return b;
var c = hj(a, I.cookie, void 0, "ad_storage");
if (!c || 0 == c.length) return b;
for (var d = {}, e = 0; e < c.length; d = { Ad: d.Ad }, e++) {
var f = zk(c[e]);
if (null != f) {
var g = f,
h = g.version;
d.Ad = g.Na;
var k = g.timestamp,
n = g.labels,
p = Fa(
b,
(function (q) {
return function (r) {
return r.Na === q.Ad;
};
})(d)
);
p ? ((p.timestamp = Math.max(p.timestamp, k)), (p.labels = Ak(p.labels, n || []))) : b.push({ version: h, Na: d.Ad, timestamp: k, labels: n });
}
}
b.sort(function (q, r) {
return r.timestamp - q.timestamp;
});
return Bk(b);
};
function Ak(a, b) {
for (var c = {}, d = [], e = 0; e < a.length; e++) (c[a[e]] = !0), d.push(a[e]);
for (var f = 0; f < b.length; f++) c[b[f]] || d.push(b[f]);
return d;
}
function Ck(a) {
return a && "string" == typeof a && a.match(sk) ? a : "_gcl";
}
var Ek = function () {
var a = zh(z.location.href),
b = xh(a, "query", !1, void 0, "gclid"),
c = xh(a, "query", !1, void 0, "gclsrc"),
d = xh(a, "query", !1, void 0, "wbraid"),
e = xh(a, "query", !1, void 0, "dclid");
if (!b || !c || !d) {
var f = a.hash.replace("#", "");
b = b || uh(f, "gclid", !1);
c = c || uh(f, "gclsrc", !1);
d = d || uh(f, "wbraid", !1);
}
return Dk(b, c, e, d);
},
Dk = function (a, b, c, d) {
var e = {},
f = function (g, h) {
e[h] || (e[h] = []);
e[h].push(g);
};
e.gclid = a;
e.gclsrc = b;
e.dclid = c;
void 0 !== d && tk.test(d) && ((e.gbraid = d), f(d, "gb"));
if (void 0 !== a && a.match(tk))
switch (b) {
case void 0:
f(a, "aw");
break;
case "aw.ds":
f(a, "aw");
f(a, "dc");
break;
case "ds":
f(a, "dc");
break;
case "3p.ds":
f(a, "dc");
break;
case "gf":
f(a, "gf");
break;
case "ha":
f(a, "ha");
}
c && f(c, "dc");
return e;
},
Gk = function (a) {
var b = Ek();
wk(function () {
Fk(b, !1, a);
});
};
function Fk(a, b, c, d, e) {
function f(x, y) {
var w = Hk(x, g);
w && (qj(w, y, h), (k = !0));
}
c = c || {};
e = e || [];
var g = Ck(c.prefix);
d = d || Ra();
var h = zj(c, d, !0);
h.nb = "ad_storage";
var k = !1,
n = Math.round(d / 1e3),
p = function (x) {
var y = ["GCL", n, x];
0 < e.length && y.push(e.join("."));
return y.join(".");
};
a.aw && f("aw", p(a.aw[0]));
a.dc && f("dc", p(a.dc[0]));
a.gf && f("gf", p(a.gf[0]));
a.ha && f("ha", p(a.ha[0]));
a.gp && f("gp", p(a.gp[0]));
if ((void 0 == rk.enable_gbraid_cookie_write ? 0 : rk.enable_gbraid_cookie_write) && !k && a.gb) {
var q = a.gb[0],
r = Hk("gb", g),
t = !1;
if (!b) for (var u = xk(r), v = 0; v < u.length; v++) u[v].Na === q && u[v].labels && 0 < u[v].labels.length && (t = !0);
t || f("gb", p(q));
}
}
var Jk = function (a, b) {
var c = hk(!0);
wk(function () {
for (var d = Ck(b.prefix), e = 0; e < a.length; ++e) {
var f = a[e];
if (void 0 !== uk[f]) {
var g = Hk(f, d),
h = c[g];
if (h) {
var k = Math.min(Ik(h), Ra()),
n;
b: {
var p = k;
if (ej(z))
for (var q = hj(g, I.cookie, void 0, "ad_storage"), r = 0; r < q.length; ++r)
if (Ik(q[r]) > p) {
n = !0;
break b;
}
n = !1;
}
if (!n) {
var t = zj(b, k, !0);
t.nb = "ad_storage";
qj(g, h, t);
}
}
}
}
Fk(Dk(c.gclid, c.gclsrc), !1, b);
});
},
Hk = function (a, b) {
var c = uk[a];
if (void 0 !== c) return b + c;
},
Ik = function (a) {
return 0 !== Kk(a.split(".")).length ? 1e3 * (Number(a.split(".")[1]) || 0) : 0;
};
function zk(a) {
var b = Kk(a.split("."));
return 0 === b.length ? null : { version: b[0], Na: b[2], timestamp: 1e3 * (Number(b[1]) || 0), labels: b.slice(3) };
}
function Kk(a) {
return 3 > a.length || ("GCL" !== a[0] && "1" !== a[0]) || !/^\d+$/.test(a[1]) || !tk.test(a[2]) ? [] : a;
}
var Lk = function (a, b, c, d, e) {
if (Ea(b) && ej(z)) {
var f = Ck(e),
g = function () {
for (var h = {}, k = 0; k < a.length; ++k) {
var n = Hk(a[k], f);
if (n) {
var p = hj(n, I.cookie, void 0, "ad_storage");
p.length && (h[n] = p.sort()[p.length - 1]);
}
}
return h;
};
wk(function () {
nk(g, b, c, d);
});
}
},
Bk = function (a) {
return a.filter(function (b) {
return tk.test(b.Na);
});
},
Mk = function (a, b) {
if (ej(z)) {
for (var c = Ck(b.prefix), d = {}, e = 0; e < a.length; e++) uk[a[e]] && (d[a[e]] = uk[a[e]]);
wk(function () {
Ka(d, function (f, g) {
var h = hj(c + g, I.cookie, void 0, "ad_storage");
h.sort(function (t, u) {
return Ik(u) - Ik(t);
});
if (h.length) {
var k = h[0],
n = Ik(k),
p = 0 !== Kk(k.split(".")).length ? k.split(".").slice(3) : [],
q = {},
r;
r = 0 !== Kk(k.split(".")).length ? k.split(".")[2] : void 0;
q[f] = [r];
Fk(q, !0, b, n, p);
}
});
});
}
};
function Nk(a, b) {
for (var c = 0; c < b.length; ++c) if (a[b[c]]) return !0;
return !1;
}
var Ok = function (a) {
function b(e, f, g) {
g && (e[f] = g);
}
if (Li()) {
var c = Ek();
if (Nk(c, a)) {
var d = {};
b(d, "gclid", c.gclid);
b(d, "dclid", c.dclid);
b(d, "gclsrc", c.gclsrc);
b(d, "wbraid", c.gbraid);
ok(function () {
return d;
}, 3);
ok(function () {
var e = {};
return (e._up = "1"), e;
}, 1);
}
}
};
function Pk(a, b) {
var c = Ck(b),
d = Hk(a, c);
if (!d) return 0;
for (var e = xk(d), f = 0, g = 0; g < e.length; g++) f = Math.max(f, e[g].timestamp);
return f;
}
function Qk(a) {
var b = 0,
c;
for (c in a) for (var d = a[c], e = 0; e < d.length; e++) b = Math.max(b, Number(d[e].timestamp));
return b;
}
var el = function () {
var a = !1;
return a;
};
var He = { J: "G-8JN5Z5SPNZ", Hc: "" },
fl = { Ih: "G-8JN5Z5SPNZ", Jh: "G-8JN5Z5SPNZ" },
gl = function () {
var a = [He.J];
return a;
},
hl = function () {
var a = [He.J];
return a;
},
il = function () {
this.container = {};
this.destination = {};
this.canonical = {};
},
kl = function (a) {
return jl().container.hasOwnProperty(a);
};
function jl() {
var a = S.tidr;
a || ((a = new il()), (S.tidr = a));
return a;
}
var ll;
if (3 === Ig.ce.length) ll = "g";
else {
var ml = "G";
ml = "g";
ll = ml;
}
var nl = { "": "n", UA: "u", AW: "a", DC: "d", G: "e", GF: "f", HA: "h", GTM: ll, OPT: "o" },
ol = function (a) {
var b = He.J.split("-"),
c = b[0].toUpperCase(),
d = nl[c] || "i",
e = a && "GTM" === c ? b[1] : "OPT" === c ? b[1] : "",
f;
if (3 === Ig.ce.length) {
var g = "w";
g = el() ? "s" : "o";
f = "2" + g;
} else f = "";
return f + d + Ig.ce + e;
};
var pl = !1;
var ql = function () {
this.g = {};
},
rl = function (a, b, c) {
null != c && (a.g[b] = c);
},
sl = function (a) {
return Object.keys(a.g)
.map(function (b) {
return encodeURIComponent(b) + "=" + encodeURIComponent(a.g[b]);
})
.join("&");
},
ul = function (a, b, c, d, e) {};
var wl = new RegExp(/^(.*\.)?(google|youtube|blogger|withgoogle)(\.com?)?(\.[a-z]{2})?\.?$/),
xl = {
cl: ["ecl"],
customPixels: ["nonGooglePixels"],
ecl: ["cl"],
ehl: ["hl"],
hl: ["ehl"],
html: ["customScripts", "customPixels", "nonGooglePixels", "nonGoogleScripts", "nonGoogleIframes"],
customScripts: ["html", "customPixels", "nonGooglePixels", "nonGoogleScripts", "nonGoogleIframes"],
nonGooglePixels: [],
nonGoogleScripts: ["nonGooglePixels"],
nonGoogleIframes: ["nonGooglePixels"],
},
yl = {
cl: ["ecl"],
customPixels: ["customScripts", "html"],
ecl: ["cl"],
ehl: ["hl"],
hl: ["ehl"],
html: ["customScripts"],
customScripts: ["html"],
nonGooglePixels: ["customPixels", "customScripts", "html", "nonGoogleScripts", "nonGoogleIframes"],
nonGoogleScripts: ["customScripts", "html"],
nonGoogleIframes: ["customScripts", "html", "nonGoogleScripts"],
},
zl = "google customPixels customScripts html nonGooglePixels nonGoogleScripts nonGoogleIframes".split(" ");
var Ql = function () {
var a = !1;
a = !0;
return a;
},
Sl = function (a) {
var b = ah("gtm.allowlist") || ah("gtm.whitelist");
b && jg(9);
Ql() && (b = ["google", "gtagfl", "lcl", "zone"]);
var c = b && Xa(Oa(b), xl),
d = ah("gtm.blocklist") || ah("gtm.blacklist");
d || ((d = ah("tagTypeBlacklist")) && jg(3));
d ? jg(8) : (d = []);
Rl() && ((d = Oa(d)), d.push("nonGooglePixels", "nonGoogleScripts", "sandboxedScripts"));
0 <= Oa(d).indexOf("google") && jg(2);
var e = d && Xa(Oa(d), yl),
f = {};
return function (g) {
var h = g && g[Kd.Jb];
if (!h || "string" != typeof h) return !0;
h = h.replace(/^_*/, "");
if (void 0 !== f[h]) return f[h];
var k = Ug[h] || [],
n = a(h, k);
if (b) {
var p;
if ((p = n))
a: {
if (0 > c.indexOf(h))
if (k && 0 < k.length)
for (var q = 0; q < k.length; q++) {
if (0 > c.indexOf(k[q])) {
jg(11);
p = !1;
break a;
}
}
else {
p = !1;
break a;
}
p = !0;
}
n = p;
}
var r = !1;
if (d) {
var t = 0 <= e.indexOf(h);
if (t) r = t;
else {
var u = Ja(e, k || []);
u && jg(10);
r = u;
}
}
var v = !n || r;
v || !(0 <= k.indexOf("sandboxedScripts")) || (c && -1 !== c.indexOf("sandboxedScripts")) || (v = Ja(e, zl));
return (f[h] = v);
};
},
Rl = function () {
return wl.test(z.location && z.location.hostname);
};
var Vl = function (a) {},
Zl = function (a) {},
$l = function () {
return (
"&tc=" +
je.filter(function (a) {
return a;
}).length
);
},
cm = function () {
2022 <= am().length && bm();
},
dm = function (a) {
return a.match(/^(gtm|gtag)\./) ? encodeURIComponent(a) : "*";
},
fm = function () {
em || (em = z.setTimeout(bm, 500));
},
bm = function () {
em && (z.clearTimeout(em), (em = void 0));
if (void 0 !== gm && (!hm[gm] || im || jm))
if (km[gm] || lm.Nj() || 0 >= mm--) jg(1), (km[gm] = !0);
else {
lm.nk();
var a = am(!0);
Pb(a);
if (nm || (om && 0 < pm.length)) {
var b = a.replace("/a?", "/td?");
Pb(b);
}
hm[gm] = !0;
om = nm = qm = rm = sm = jm = im = "";
pm = [];
}
},
am = function (a) {
var b = gm;
if (void 0 === b) return "";
var c = hg("GTM"),
d = hg("TAGGING");
return [tm, hm[b] ? "" : "&es=1", um[b], Vl(b), c ? "&u=" + c : "", d ? "&ut=" + d : "", $l(), im, jm, sm, rm, Zl(a), qm, nm, om ? "&dl=" + encodeURIComponent(om) : "", 0 < pm.length ? "&tdp=" + pm.join(".") : "", "&z=0"].join(
""
);
},
wm = function () {
tm = vm();
},
vm = function () {
return [xm, "&v=3&t=t", "&pid=" + Ga(), "&rv=" + Ig.ce].join("");
},
Yl = ["L", "S", "Y"],
Ul = ["S", "E"],
ym = { sampleRate: "0.005000", ai: "", Zh: Number("5") },
zm = 0 <= I.location.search.indexOf("?gtm_latency=") || 0 <= I.location.search.indexOf(">m_latency="),
Am;
if (!(Am = zm)) {
var Bm = Math.random(),
Cm = ym.sampleRate;
Am = Bm < Cm;
}
var Dm = Am,
xm = "https://www.googletagmanager.com/a?id=" + He.J + "&cv=1",
Em = { label: He.J + " Container", children: [{ label: "Initialization", children: [] }] },
tm = vm(),
hm = {},
im = "",
jm = "",
qm = "",
rm = "",
nm = "",
pm = [],
om = "",
Xl = {},
Wl = !1,
Tl = {},
Fm = {},
sm = "",
gm = void 0,
um = {},
km = {},
em = void 0,
Gm = 5;
0 < ym.Zh && (Gm = ym.Zh);
var lm = (function (a, b) {
for (var c = 0, d = [], e = 0; e < a; ++e) d.push(0);
return {
Nj: function () {
return c < a ? !1 : Ra() - d[c % a] < b;
},
nk: function () {
var f = c++ % a;
d[f] = Ra();
},
};
})(Gm, 1e3),
mm = 1e3,
Im = function (a, b) {
if (Dm && void 0 !== a && !km[a] && gm !== a) {
bm();
gm = a;
qm = im = "";
um[a] = "&e=" + dm(b) + "&eid=" + a;
fm();
}
},
Jm = function (a, b, c, d) {
if (Dm && b) {
var e,
f = String(b[Kd.Jb] || "").replace(/_/g, "");
0 === f.indexOf("cvt") && (f = "cvt");
e = f;
var g = c + e;
if (!km[a]) {
a !== gm && (bm(), (gm = a));
im = im ? im + "." + g : "&tr=" + g;
var h = b["function"];
if (!h) throw Error("Error: No function name given for function call.");
var k = (le[h] ? "1" : "2") + e;
qm = qm ? qm + "." + k : "&ti=" + k;
fm();
cm();
}
}
};
var Qm = function (a, b, c) {
if (Dm && void 0 !== a && !km[a]) {
a !== gm && (bm(), (gm = a));
var d = c + b;
jm = jm ? jm + "." + d : "&epr=" + d;
fm();
cm();
}
},
Rm = function (a, b, c) {};
var Sm = { initialized: 11, complete: 12, interactive: 13 },
Tm = {},
Um = Object.freeze(((Tm[Q.qc] = !0), Tm)),
Vm = {},
Wm = Object.freeze(((Vm[Q.Ma] = !0), Vm)),
Xm = 0 <= I.location.search.indexOf("?gtm_diagnostics=") || 0 <= I.location.search.indexOf(">m_diagnostics="),
Zm = function (a, b, c) {
if ("config" !== a) return;
var d,
e = Gb("google_tag_data", {});
e.td || (e.td = {});
d = e.td;
var f = nc(c.globalConfig);
nc(c.eventModel, f);
var g = [],
h;
for (h in d) {
var k = Ym(d[h], f);
k.length && (Xm && console.log(k), g.push(h));
}
if (g.length) {
if (g.length) {
var n = b + "*" + g.join(".");
nm = nm ? nm + "!" + n : "&tdc=" + n;
}
gg("TAGGING", Sm[I.readyState] || 14);
}
d[b] = f;
};
function $m(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 Ym(a, b, c, d) {
c = void 0 === c ? {} : c;
d = void 0 === d ? "" : d;
if (a === b) return [];
var e = function (q, r) {
var t = r[q];
return void 0 === t ? Wm[q] : t;
},
f;
for (f in $m(a, b))
if (!Um[f]) {
var g = (d ? d + "." : "") + f,
h = e(f, a),
k = e(f, b),
n = "object" === kc(h) || "array" === kc(h),
p = "object" === kc(k) || "array" === kc(k);
if (n && p) Ym(h, k, c, g);
else if (n || p || h !== k) c[g] = !0;
}
return Object.keys(c);
}
var an = !1,
bn = 0,
cn = [];
function dn(a) {
if (!an) {
var b = I.createEventObject,
c = "complete" == I.readyState,
d = "interactive" == I.readyState;
if (!a || "readystatechange" != a.type || c || (!b && d)) {
an = !0;
for (var e = 0; e < cn.length; e++) K(cn[e]);
}
cn.push = function () {
for (var f = 0; f < arguments.length; f++) K(arguments[f]);
return 0;
};
}
}
function en() {
if (!an && 140 > bn) {
bn++;
try {
I.documentElement.doScroll("left"), dn();
} catch (a) {
z.setTimeout(en, 50);
}
}
}
var fn = function (a) {
an ? a() : cn.push(a);
};
var gn = function () {
this.I = 0;
this.g = {};
};
gn.prototype.o = function (a, b, c) {
var d = ++this.I;
this.g[a] = this.g[a] || {};
this.g[a][String(d)] = { listener: b, ab: c };
return d;
};
gn.prototype.B = function (a, b) {
var c = this.g[a],
d = String(b);
if (!c || !c[d]) return !1;
delete c[d];
return !0;
};
gn.prototype.C = function (a, b) {
var c = [];
Ka(this.g[a], function (d, e) {
0 > c.indexOf(e.listener) && (void 0 === e.ab || 0 <= b.indexOf(e.ab)) && c.push(e.listener);
});
return c;
};
var hn = function (a, b, c) {
return { entityType: a, indexInOriginContainer: b, nameInOriginContainer: c, originContainerId: He.J };
};
var kn = function (a, b) {
this.g = !1;
this.C = [];
this.I = { tags: [] };
this.U = !1;
this.o = this.B = 0;
jn(this, a, b);
},
ln = function (a, b, c, d) {
if (Lg.hasOwnProperty(b) || "__zone" === b) return -1;
var e = {};
mc(d) && (e = nc(d, e));
e.id = c;
e.status = "timeout";
return a.I.tags.push(e) - 1;
},
mn = function (a, b, c, d) {
var e = a.I.tags[b];
e && ((e.status = c), (e.executionTime = d));
},
nn = function (a) {
if (!a.g) {
for (var b = a.C, c = 0; c < b.length; c++) b[c]();
a.g = !0;
a.C.length = 0;
}
},
jn = function (a, b, c) {
void 0 !== b && a.he(b);
c &&
z.setTimeout(function () {
return nn(a);
}, Number(c));
};
kn.prototype.he = function (a) {
var b = this,
c = Ta(function () {
return K(function () {
a(He.J, b.I);
});
});
this.g ? c() : this.C.push(c);
};
var on = function (a) {
a.B++;
return Ta(function () {
a.o++;
a.U && a.o >= a.B && nn(a);
});
},
pn = function (a) {
a.U = !0;
a.o >= a.B && nn(a);
};
var qn = function () {
function a(d) {
return !Da(d) || 0 > d ? 0 : d;
}
if (!S._li && z.performance && z.performance.timing) {
var b = z.performance.timing.navigationStart,
c = Da(bh.get("gtm.start")) ? bh.get("gtm.start") : 0;
S._li = { cst: a(c - b), cbt: a(Sg - b) };
}
},
rn = function (a) {
z.performance && z.performance.mark(He.J + "_" + a + "_start");
},
sn = function (a) {
if (z.performance) {
var b = He.J + "_" + a + "_start",
c = He.J + "_" + a + "_duration";
z.performance.measure(c, b);
var d = z.performance.getEntriesByName(c)[0];
z.performance.clearMarks(b);
z.performance.clearMeasures(c);
var e = S._p || {};
void 0 === e[a] && ((e[a] = d.duration), (S._p = e));
return d.duration;
}
},
tn = function () {
if (z.performance && z.performance.now) {
var a = S._p || {};
a.PAGEVIEW = z.performance.now();
S._p = a;
}
};
var un = {},
vn = function () {
return z.GoogleAnalyticsObject && z[z.GoogleAnalyticsObject];
},
wn = !1;
function zn() {
return z.GoogleAnalyticsObject || "ga";
}
var An = function (a) {},
Bn = function (a, b) {
return function () {
var c = vn(),
d = c && c.getByName && c.getByName(a);
if (d) {
var e = d.get("sendHitTask");
d.set("sendHitTask", function (f) {
var g = f.get("hitPayload"),
h = f.get("hitCallback"),
k = 0 > g.indexOf("&tid=" + b);
k && (f.set("hitPayload", g.replace(/&tid=UA-[0-9]+-[0-9]+/, "&tid=" + b), !0), f.set("hitCallback", void 0, !0));
e(f);
k && (f.set("hitPayload", g, !0), f.set("hitCallback", h, !0), f.set("_x_19", void 0, !0), e(f));
});
}
};
};
function Gn(a, b, c, d) {
var e = je[a],
f = Hn(a, b, c, d);
if (!f) return null;
var g = re(e[Kd.dh], c, []);
if (g && g.length) {
var h = g[0];
f = Gn(h.index, { onSuccess: f, onFailure: 1 === h.wh ? b.terminate : f, terminate: b.terminate }, c, d);
}
return f;
}
function Hn(a, b, c, d) {
function e() {
if (f[Kd.Ti]) h();
else {
var x = se(f, c, []);
var y = x[Kd.fi];
if (null != y)
for (var w = 0; w < y.length; w++)
if (!Yi(y[w])) {
h();
return;
}
var A = ln(c.xb, String(f[Kd.Jb]), Number(f[Kd.fh]), x[Kd.Ui]),
B = !1;
x.vtp_gtmOnSuccess = function () {
if (!B) {
B = !0;
var F = Ra() - E;
Jm(c.id, je[a], "5", F);
mn(c.xb, A, "success", F);
g();
}
};
x.vtp_gtmOnFailure = function () {
if (!B) {
B = !0;
var F = Ra() - E;
Jm(c.id, je[a], "6", F);
mn(c.xb, A, "failure", F);
h();
}
};
x.vtp_gtmTagId = f.tag_id;
x.vtp_gtmEventId = c.id;
c.priorityId && (x.vtp_gtmPriorityId = c.priorityId);
Jm(c.id, f, "1");
var C = function () {
var F = Ra() - E;
Jm(c.id, f, "7", F);
mn(c.xb, A, "exception", F);
B || ((B = !0), h());
};
var E = Ra();
try {
qe(x, { event: c, index: a, type: 1 });
} catch (F) {
C(F);
}
}
}
var f = je[a],
g = b.onSuccess,
h = b.onFailure,
k = b.terminate;
if (c.Kf(f)) return null;
var n = re(f[Kd.gh], c, []);
if (n && n.length) {
var p = n[0],
q = Gn(p.index, { onSuccess: g, onFailure: h, terminate: k }, c, d);
if (!q) return null;
g = q;
h = 2 === p.wh ? k : q;
}
if (f[Kd.Wg] || f[Kd.Yi]) {
var r = f[Kd.Wg] ? ke : c.Ek,
t = g,
u = h;
if (!r[a]) {
e = Ta(e);
var v = In(a, r, e);
g = v.onSuccess;
h = v.onFailure;
}
return function () {
r[a](t, u);
};
}
return e;
}
function In(a, b, c) {
var d = [],
e = [];
b[a] = Jn(d, e, c);
return {
onSuccess: function () {
b[a] = Kn;
for (var f = 0; f < d.length; f++) d[f]();
},
onFailure: function () {
b[a] = Ln;
for (var f = 0; f < e.length; f++) e[f]();
},
};
}
function Jn(a, b, c) {
return function (d, e) {
a.push(d);
b.push(e);
c();
};
}
function Kn(a) {
a();
}
function Ln(a, b) {
b();
}
function Mn(a, b) {
if (a) {
var c = "" + a;
0 !== c.indexOf("http://") && 0 !== c.indexOf("https://") && (c = "https://" + c);
"/" === c[c.length - 1] && (c = c.substring(0, c.length - 1));
return zh("" + c + b).href;
}
}
function Nn(a, b) {
return On() ? Mn(a, b) : void 0;
}
function On() {
var a = !1;
return a;
}
function Pn() {
return !!Ig.de && "SGTM_TOKEN" !== Ig.de.split("@@").join("");
}
var Rn = function (a, b, c, d) {
return (2 === Qn() || d || "http:" != z.location.protocol ? a : b) + c;
},
Qn = function () {
var a = Mb(),
b;
if (1 === a)
a: {
var c = Ng;
c = c.toLowerCase();
for (var d = "https://" + c, e = "http://" + c, f = 1, g = I.getElementsByTagName("script"), h = 0; h < g.length && 100 > h; h++) {
var k = g[h].src;
if (k) {
k = k.toLowerCase();
if (0 === k.indexOf(e)) {
b = 3;
break a;
}
1 === f && 0 === k.indexOf(d) && (f = 2);
}
}
b = f;
}
else b = a;
return b;
};
var Sn = !1;
var Un = function (a, b, c) {
if (!Tn() && !kl(a)) {
var d = c ? "/gtag/js" : "/gtm.js",
e = "?id=" + encodeURIComponent(a) + "&l=" + Ig.fa,
f = 0 === a.indexOf("GTM-");
f || (e += "&cx=c");
var g = Pn();
g && (e += "&sign=" + Ig.de);
var h = Nn(b, d + e);
if (!h) {
var k = Ig.Ic + d;
g && Fb && f && (k = Fb.replace(/^(?:https?:\/\/)?/i, "").split(/[?#]/)[0]);
h = Rn("https://", "http://", k + e);
}
jl().container[a] = !0;
Lb(h);
}
},
Vn = function (a, b) {
if (Sn) {
var c;
if ((c = !Tn())) c = !jl().destination.hasOwnProperty(a);
if (c) {
var d = "/gtag/destination?id=" + encodeURIComponent(a) + "&l=" + Ig.fa + "&cx=c";
Pn() && (d += "&sign=" + Ig.de);
var e = Nn(b, d);
e || (e = Rn("https://", "http://", Ig.Ic + d));
jl().destination[a] = !0;
Lb(e);
}
} else Un(a, b, !0);
};
function Tn() {
if (el()) {
return !0;
}
return !1;
}
var Xn = function (a, b) {
return 1 === arguments.length ? Wn("set", a) : Wn("set", a, b);
},
Yn = function (a, b) {
return 1 === arguments.length ? Wn("config", a) : Wn("config", a, b);
},
Zn = function (a, b, c) {
c = c || {};
c[Q.Ib] = a;
if ("G" === a.split("-")[0]) for (var d in c) "_" === d[0] && delete c[d];
return Wn("event", b, c);
};
function Wn(a) {
return arguments;
}
var $n = function () {
this.g = [];
this.o = [];
};
$n.prototype.enqueue = function (a, b, c) {
var d = this.g.length + 1;
a["gtm.uniqueEventId"] = b;
a["gtm.priorityId"] = d;
c.eventId = b;
c.fromContainerExecution = !0;
c.fromMessageBus = !0;
c.priorityId = d;
var e = { message: a, notBeforeEventId: b, priorityId: d, messageContext: c };
this.g.push(e);
for (var f = 0; f < this.o.length; f++)
try {
this.o[f](e);
} catch (g) {}
};
$n.prototype.listen = function (a) {
this.o.push(a);
};
$n.prototype.get = function () {
for (var a = {}, b = 0; b < this.g.length; b++) {
var c = this.g[b],
d = a[c.notBeforeEventId];
d || ((d = []), (a[c.notBeforeEventId] = d));
d.push(c);
}
return a;
};
var bo = function (a, b, c) {
ao().enqueue(a, b, c);
},
eo = function () {
var a = co;
ao().listen(a);
};
function ao() {
var a = S.mb;
a || ((a = new $n()), (S.mb = a));
return a;
}
var mo = function (a) {
var b = S.zones;
return b
? b.getIsAllowedFn(gl(), a)
: function () {
return !0;
};
},
no = function (a) {
var b = S.zones;
return b ? b.isActive(gl(), a) : !0;
};
var qo = function (a, b) {
for (var c = [], d = 0; d < je.length; d++)
if (a[d]) {
var e = je[d];
var f = on(b.xb);
try {
var g = Gn(d, { onSuccess: f, onFailure: f, terminate: f }, b, d);
if (g) {
var h = c,
k = h.push,
n = d,
p = e["function"];
if (!p) throw "Error: No function name given for function call.";
var q = le[p];
k.call(h, { Uh: n, Lh: q ? q.priorityOverride || 0 : 0, execute: g });
} else oo(d, b), f();
} catch (t) {
f();
}
}
c.sort(po);
for (var r = 0; r < c.length; r++) c[r].execute();
return 0 < c.length;
};
var so = function (a, b) {
if (!ro) return !1;
var c = a["gtm.triggers"] && String(a["gtm.triggers"]),
d = ro.C(a.event, c ? String(c).split(",") : []);
if (!d.length) return !1;
for (var e = 0; e < d.length; ++e) {
var f = on(b);
try {
d[e](a, f);
} catch (g) {
f();
}
}
return !0;
};
function po(a, b) {
var c,
d = b.Lh,
e = a.Lh;
c = d > e ? 1 : d < e ? -1 : 0;
var f;
if (0 !== c) f = c;
else {
var g = a.Uh,
h = b.Uh;
f = g > h ? 1 : g < h ? -1 : 0;
}
return f;
}
function oo(a, b) {
if (!Dm) return;
var c = function (d) {
var e = b.Kf(je[d]) ? "3" : "4",
f = re(je[d][Kd.dh], b, []);
f && f.length && c(f[0].index);
Jm(b.id, je[d], e);
var g = re(je[d][Kd.gh], b, []);
g && g.length && c(g[0].index);
};
c(a);
}
var to = !1,
ro;
var uo = function () {
ro || (ro = new gn());
return ro;
};
var zo = function (a) {
var b = Ra(),
c = a["gtm.uniqueEventId"],
d = a["gtm.priorityId"],
e = a.event;
if ("gtm.js" === e) {
if (to) return !1;
to = !0;
}
var h,
k = !1;
if (no(c)) h = mo(c);
else {
if ("gtm.js" !== e && "gtm.init" !== e && "gtm.init_consent" !== e) return !1;
k = !0;
h = mo(Number.MAX_SAFE_INTEGER);
}
Im(c, e);
var n = a.eventCallback,
p = a.eventTimeout,
q = n;
var r = {
id: c,
priorityId: d,
name: e,
Kf: Sl(h),
Ek: [],
Gh: function () {
jg(6);
},
nh: vo(),
oh: wo(c),
xb: new kn(q, p),
},
t = Ce(r);
k && (t = xo(t));
var u = qo(t, r),
v = !1;
v = so(a, r.xb);
pn(r.xb);
("gtm.js" !== e && "gtm.sync" !== e) || An(He.J);
return yo(t, u) || v;
};
function wo(a) {
return function (b) {
Dm && (sc(b) || Rm(a, "input", b));
};
}
function vo() {
var a = {};
a.event = fh("event", 1);
a.ecommerce = fh("ecommerce", 1);
a.gtm = fh("gtm");
a.eventModel = fh("eventModel");
return a;
}
function xo(a) {
for (var b = [], c = 0; c < a.length; c++) a[c] && (Kg[String(je[c][Kd.Jb])] && (b[c] = !0), void 0 !== je[c][Kd.Zi] && (b[c] = !0));
return b;
}
function yo(a, b) {
if (!b) return b;
for (var c = 0; c < a.length; c++) if (a[c] && je[c] && !Lg[String(je[c][Kd.Jb])]) return !0;
return !1;
}
var Ao = function (a, b) {
this.eventId = a;
this.priorityId = b;
this.eventModel = {};
this.targetConfig = {};
this.containerConfig = {};
this.globalConfig = {};
this.dataLayerConfig = {};
this.remoteConfig = {};
this.eventMetadata = {};
this.onSuccess = function () {};
this.onFailure = function () {};
this.setContainerTypeLoaded = function () {};
this.getContainerTypeLoaded = function () {};
this.isGtmEvent = !1;
},
Bo = function (a, b) {
a.eventModel = b;
return a;
},
Co = function (a, b) {
a.targetConfig = b;
return a;
},
Do = function (a, b) {
a.containerConfig = b;
return a;
},
Eo = function (a, b) {
a.globalConfig = b;
return a;
},
Fo = function (a, b) {
a.dataLayerConfig = b;
return a;
},
Go = function (a, b) {
a.remoteConfig = b;
return a;
},
Ho = function (a, b) {
a.eventMetadata = b || {};
return a;
},
Io = function (a, b) {
a.onSuccess = b;
return a;
},
Jo = function (a, b) {
a.setContainerTypeLoaded = b;
return a;
},
Ko = function (a, b) {
a.getContainerTypeLoaded = b;
return a;
},
Lo = function (a, b) {
a.onFailure = b;
return a;
};
Ao.prototype.getWithConfig = function (a) {
if (void 0 !== this.eventModel[a]) return this.eventModel[a];
if (void 0 !== this.targetConfig[a]) return this.targetConfig[a];
if (void 0 !== this.containerConfig[a]) return this.containerConfig[a];
Mo(this, this.globalConfig[a], this.dataLayerConfig[a]) && (jg(71), jg(79));
if (void 0 !== this.globalConfig[a]) return this.globalConfig[a];
if (void 0 !== this.remoteConfig[a]) return this.remoteConfig[a];
};
Ao.prototype.getTopLevelKeys = function () {
function a(f) {
for (var g = Object.keys(f), h = 0; h < g.length; ++h) b[g[h]] = 1;
}
var b = {};
a(this.eventModel);
a(this.targetConfig);
a(this.containerConfig);
a(this.globalConfig);
for (var c = Object.keys(this.dataLayerConfig), d = 0; d < c.length; d++) {
var e = c[d];
if ("event" !== e && "gtm" !== e && "tagTypeBlacklist" !== e && !b.hasOwnProperty(e)) {
jg(71);
jg(80);
break;
}
}
return Object.keys(b);
};
Ao.prototype.getMergedValues = function (a, b) {
function c(h) {
mc(h) &&
Ka(h, function (k, n) {
e = !0;
d[k] = n;
});
}
var d = {},
e = !1;
(b && 1 !== b) || (c(this.remoteConfig[a]), c(this.globalConfig[a]), c(this.containerConfig[a]), c(this.targetConfig[a]));
(b && 2 !== b) || c(this.eventModel[a]);
var f = e,
g = d;
d = {};
e = !1;
(b && 1 !== b) || (c(this.remoteConfig[a]), c(this.dataLayerConfig[a]), c(this.containerConfig[a]), c(this.targetConfig[a]));
(b && 2 !== b) || c(this.eventModel[a]);
if (e !== f || Mo(this, d, g)) jg(71), jg(81);
e = f;
d = g;
return e ? d : void 0;
};
Ao.prototype.getKeysFromFirstOfAnyScope = function (a) {
var b = {},
c = !1,
d = function (g) {
for (var h = 0; h < a.length; h++) void 0 !== g[a[h]] && ((b[a[h]] = g[a[h]]), (c = !0));
return c;
};
if (d(this.eventModel) || d(this.targetConfig) || d(this.containerConfig)) return b;
d(this.globalConfig);
var e = b,
f = c;
b = {};
c = !1;
d(this.dataLayerConfig);
Mo(this, b, e) && (jg(71), jg(82));
b = e;
c = f;
if (c) return b;
d(this.remoteConfig);
return b;
};
var Mo = function (a, b, c) {
try {
if (b === c) return !1;
var d = kc(b);
if (d !== kc(c) || !((mc(b) && mc(c)) || "array" === d)) return !0;
if ("array" === d) {
if (b.length !== c.length) return !0;
for (var e = 0; e < b.length; e++) if (Mo(a, b[e], c[e])) return !0;
} else {
for (var f in c) if (!b.hasOwnProperty(f)) return !0;
for (var g in b) if (!c.hasOwnProperty(g) || Mo(a, b[g], c[g])) return !0;
}
} catch (h) {
jg(72);
}
return !1;
};
var No = function () {
S.dedupe_gclid || (S.dedupe_gclid = "" + uj());
return S.dedupe_gclid;
};
function Oo(a, b) {
if ("" === a) return b;
var c = Number(a);
return isNaN(c) ? b : c;
}
var Po = function () {};
var Qo = function (a) {
void 0 !== a.addtlConsent && "string" !== typeof a.addtlConsent && (a.addtlConsent = void 0);
void 0 !== a.gdprApplies && "boolean" !== typeof a.gdprApplies && (a.gdprApplies = void 0);
return (void 0 !== a.tcString && "string" !== typeof a.tcString) || (void 0 !== a.listenerId && "number" !== typeof a.listenerId) ? 2 : a.cmpStatus && "error" !== a.cmpStatus ? 0 : 3;
},
Ro = function (a, b, c) {
this.o = a;
this.g = null;
this.I = {};
this.Pa = 0;
this.U = void 0 === b ? 500 : b;
this.C = void 0 === c ? !1 : c;
this.B = null;
};
ka(Ro, Po);
Ro.prototype.addEventListener = function (a) {
var b = this,
c = { internalBlockOnErrors: this.C },
d = ri(function () {
return a(c);
}),
e = 0;
-1 !== this.U &&
(e = setTimeout(function () {
c.tcString = "tcunavailable";
c.internalErrorState = 1;
d();
}, this.U));
var f = function (g, h) {
clearTimeout(e);
g
? ((c = g), (c.internalErrorState = Qo(c)), (c.internalBlockOnErrors = b.C), (h && 0 === c.internalErrorState) || ((c.tcString = "tcunavailable"), h || (c.internalErrorState = 3)))
: ((c.tcString = "tcunavailable"), (c.internalErrorState = 3));
a(c);
};
try {
So(this, "addEventListener", f);
} catch (g) {
(c.tcString = "tcunavailable"), (c.internalErrorState = 3), e && (clearTimeout(e), (e = 0)), d();
}
};
Ro.prototype.removeEventListener = function (a) {
a && a.listenerId && So(this, "removeEventListener", null, a.listenerId);
};
var Uo = function (a, b, c) {
var d;
d = void 0 === d ? "755" : d;
var e;
a: {
if (a.publisher && a.publisher.restrictions) {
var f = a.publisher.restrictions[b];
if (void 0 !== f) {
e = f[void 0 === d ? "755" : d];
break a;
}
}
e = void 0;
}
var g = e;
if (0 === g) return !1;
var h = c;
2 === c ? ((h = 0), 2 === g && (h = 1)) : 3 === c && ((h = 1), 1 === g && (h = 0));
var k;
if (0 === h)
if (a.purpose && a.vendor) {
var n = To(a.vendor.consents, void 0 === d ? "755" : d);
k = n && "1" === b && a.purposeOneTreatment && "CH" === a.publisherCC ? !0 : n && To(a.purpose.consents, b);
} else k = !0;
else k = 1 === h ? (a.purpose && a.vendor ? To(a.purpose.legitimateInterests, b) && To(a.vendor.legitimateInterests, void 0 === d ? "755" : d) : !0) : !0;
return k;
},
To = function (a, b) {
return !(!a || !a[b]);
},
So = function (a, b, c, d) {
c || (c = function () {});
if ("function" === typeof a.o.__tcfapi) {
var e = a.o.__tcfapi;
e(b, 2, c, d);
} else if (Vo(a)) {
Wo(a);
var f = ++a.Pa;
a.I[f] = c;
if (a.g) {
var g = {};
a.g.postMessage(((g.__tcfapiCall = { command: b, version: 2, callId: f, parameter: d }), g), "*");
}
} else c({}, !1);
},
Vo = function (a) {
if (a.g) return a.g;
var b;
a: {
for (var c = a.o, d = 0; 50 > d; ++d) {
var e;
try {
e = !(!c.frames || !c.frames.__tcfapiLocator);
} catch (h) {
e = !1;
}
if (e) {
b = c;
break a;
}
var f;
b: {
try {
var g = c.parent;
if (g && g != c) {
f = g;
break b;
}
} catch (h) {}
f = null;
}
if (!(c = f)) break;
}
b = null;
}
a.g = b;
return a.g;
},
Wo = function (a) {
a.B ||
((a.B = function (b) {
try {
var c;
c = ("string" === typeof b.data ? JSON.parse(b.data) : b.data).__tcfapiReturn;
a.I[c.callId](c.returnValue, c.success);
} catch (d) {}
}),
si(a.o, a.B));
};
var Xo = !0;
Xo = !1;
var Yo = { 1: 0, 3: 0, 4: 0, 7: 3, 9: 3, 10: 3 },
Zo = Oo("", 550),
$o = Oo("", 500);
function ap() {
var a = S.tcf || {};
return (S.tcf = a);
}
var fp = function () {
var a = ap(),
b = new Ro(z, Xo ? 3e3 : -1);
if (!0 === z.gtag_enable_tcf_support && !a.active && ("function" === typeof z.__tcfapi || "function" === typeof b.o.__tcfapi || null != Vo(b))) {
a.active = !0;
a.rd = {};
bp();
var c = null;
Xo
? (c = z.setTimeout(function () {
cp(a);
dp(a);
c = null;
}, $o))
: (a.tcString = "tcunavailable");
try {
b.addEventListener(function (d) {
c && (clearTimeout(c), (c = null));
if (0 !== d.internalErrorState) cp(a), dp(a);
else {
var e;
a.gdprApplies = d.gdprApplies;
if (!1 === d.gdprApplies) (e = ep()), b.removeEventListener(d);
else if ("tcloaded" === d.eventStatus || "useractioncomplete" === d.eventStatus || "cmpuishown" === d.eventStatus) {
var f = {},
g;
for (g in Yo)
if (Yo.hasOwnProperty(g))
if ("1" === g) {
var h = d,
k = !0;
k = void 0 === k ? !1 : k;
var n;
var p = h;
!1 === p.gdprApplies
? (n = !0)
: (void 0 === p.internalErrorState && (p.internalErrorState = Qo(p)),
(n =
"error" === p.cmpStatus || 0 !== p.internalErrorState
? !p.internalBlockOnErrors
: "loaded" !== p.cmpStatus || ("tcloaded" !== p.eventStatus && "useractioncomplete" !== p.eventStatus)
? !1
: !0));
f["1"] = n ? (!1 === h.gdprApplies || "tcunavailable" === h.tcString || (void 0 === h.gdprApplies && !k) || "string" !== typeof h.tcString || !h.tcString.length ? !0 : Uo(h, "1", 0)) : !1;
} else f[g] = Uo(d, g, Yo[g]);
e = f;
}
e && ((a.tcString = d.tcString || "tcempty"), (a.rd = e), dp(a));
}
});
} catch (d) {
c && (clearTimeout(c), (c = null)), cp(a), dp(a);
}
}
};
function cp(a) {
a.type = "e";
a.tcString = "tcunavailable";
Xo && (a.rd = ep());
}
function bp() {
var a = {},
b = ((a.ad_storage = "denied"), (a.wait_for_update = Zo), a);
Vi(b);
}
function ep() {
var a = {},
b;
for (b in Yo) Yo.hasOwnProperty(b) && (a[b] = !0);
return a;
}
function dp(a) {
var b = {},
c = ((b.ad_storage = a.rd["1"] ? "granted" : "denied"), b);
Xi(c, { eventId: 0 }, { gdprApplies: a ? a.gdprApplies : void 0, tcString: gp() });
}
var gp = function () {
var a = ap();
return a.active ? a.tcString || "" : "";
},
hp = function () {
var a = ap();
return a.active && void 0 !== a.gdprApplies ? (a.gdprApplies ? "1" : "0") : "";
},
ip = function (a) {
if (!Yo.hasOwnProperty(String(a))) return !0;
var b = ap();
return b.active && b.rd ? !!b.rd[String(a)] : !0;
};
function Gp() {
return "attribution-reporting";
}
function Hp(a) {
var b;
b = void 0 === b ? document : b;
var c;
return !(null == (c = b.featurePolicy) || !c.allowedFeatures().includes(a));
}
var Ip = !1;
function Jp() {
if (Hp("join-ad-interest-group") && Ca(Eb.joinAdInterestGroup)) return !0;
Ip ||
(vi(
"A9wkrvp9y21k30U9lU7MJMjBj4USjLrGwV+Z8zO3J3ZBH139DOnCv3XLK2Ii40S94HG1SZ/Zeg2GSHOD3wlWngYAAAB7eyJvcmlnaW4iOiJodHRwczovL3d3dy5nb29nbGV0YWdtYW5hZ2VyLmNvbTo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjYxMjk5MTk5LCJpc1RoaXJkUGFydHkiOnRydWV9"
),
(Ip = !0));
return Hp("join-ad-interest-group") && Ca(Eb.joinAdInterestGroup);
}
function Kp(a, b) {
var c = void 0;
try {
c = I.querySelector('iframe[data-tagging-id="' + b + '"]');
} catch (e) {}
if (c) {
var d = Number(c.dataset.loadTime);
if (d && 6e4 > Ra() - d) {
gg("TAGGING", 9);
return;
}
} else
try {
if (50 <= I.querySelectorAll('iframe[allow="join-ad-interest-group"][data-tagging-id*="-"]').length) {
gg("TAGGING", 10);
return;
}
} catch (e) {}
Ob(a, void 0, { allow: "join-ad-interest-group" }, { taggingId: b, loadTime: Ra() }, c);
}
var gq = function (a, b, c) {
this.Da = a;
this.eventName = b;
this.s = c;
this.F = {};
this.metadata = nc(c.eventMetadata || {});
this.la = !1;
},
hq = function (a, b, c) {
var d = a.s.getWithConfig(b);
void 0 !== d ? (a.F[b] = d) : void 0 !== c && (a.F[b] = c);
},
iq = function (a, b, c) {
var d = jh(a.Da);
return d && d.hasOwnProperty(b) ? d[b] : c;
};
function jq(a) {
return {
getDestinationId: function () {
return a.Da;
},
getEventName: function () {
return a.eventName;
},
setEventName: function (b) {
return void (a.eventName = b);
},
getHitData: function (b) {
return a.F[b];
},
setHitData: function (b, c) {
return void (a.F[b] = c);
},
setHitDataIfNotDefined: function (b, c) {
void 0 === a.F[b] && (a.F[b] = c);
},
copyToHitData: function (b, c) {
hq(a, b, c);
},
getMetadata: function (b) {
return a.metadata[b];
},
setMetadata: function (b, c) {
return void (a.metadata[b] = c);
},
abort: function () {
return void (a.la = !0);
},
getProcessedEvent: function () {
return a;
},
};
}
var lq = function (a) {
var b = kq[a.Da];
if (!a.la && b)
for (var c = jq(a), d = 0; d < b.length; ++d) {
try {
b[d](c);
} catch (e) {
a.la = !0;
}
if (a.la) break;
}
},
mq = function (a, b) {
var c = kq[a];
c || (c = kq[a] = []);
c.push(b);
},
kq = {};
var Xq = function () {
var a = !0;
(ip(7) && ip(9) && ip(10)) || (a = !1);
return a;
},
Yq = function () {
var a = !0;
(ip(3) && ip(4)) || (a = !1);
return a;
};
var Rr = null,
Sr = !1;
function Tr(a) {
return Sr && !a ? (Rr = Rr || new Ur()) : (S.gcq = S.gcq || new Ur());
}
var Vr = function (a, b, c) {
Tr().register(a, b, c);
},
Wr = function (a, b, c, d) {
Tr().push("event", [b, a], c, d);
},
Xr = function (a, b, c, d) {
Tr().insert("event", [b, a], c, d);
},
Yr = function (a, b, c) {
Tr().push("config", [a], b, c);
},
Zr = function (a, b, c, d) {
Tr().push("get", [a, b], c, d);
},
$r = function (a) {
return Tr().getRemoteConfig(a);
},
as = function () {
var a = Q.ca;
return Tr().getGlobalConfigValue && Tr().getGlobalConfigValue(a);
},
bs = {},
cs = function () {
this.status = 1;
this.containerConfig = {};
this.targetConfig = {};
this.remoteConfig = {};
this.o = {};
this.B = null;
this.claimed = this.g = !1;
},
ds = function (a, b, c, d, e) {
this.type = a;
this.o = b;
this.R = c || "";
this.g = d;
this.messageContext = e;
},
Ur = function () {
this.o = {};
this.B = {};
this.g = [];
this.C = { AW: !1, UA: !1 };
},
es = function (a, b) {
var c = ni(b);
return (a.o[c.containerId] = a.o[c.containerId] || new cs());
},
fs = function (a, b, c, d) {
if (b) {
var e = ni(b);
if (e && 1 === es(a, b).status) {
es(a, b).status = 2;
var f = {};
Dm &&
(f.timeoutId = z.setTimeout(function () {
jg(38);
fm();
}, 3e3));
a.push("require", [f], e.containerId, {});
bs[e.containerId] = Ra();
if (el()) {
} else 2 === d ? Vn(e.containerId, c) : Un(e.containerId, c, !0);
}
}
},
gs = function (a, b, c, d) {
if (d.R) {
var e = es(a, d.R),
f = e.B;
if (f) {
var g = nc(c),
h = nc(e.targetConfig[d.R]),
k = nc(e.containerConfig),
n = nc(e.remoteConfig),
p = nc(a.B),
q = {};
try {
q = nc(Yg);
} catch (v) {
jg(72);
}
var r = ni(d.R).prefix,
t = function (v) {
Qm(d.messageContext.eventId, r, v);
var x = g[Q.kc];
x && K(x);
},
u = Ko(
Jo(
Lo(
Io(Ho(Fo(Eo(Go(Do(Co(Bo(new Ao(d.messageContext.eventId, d.messageContext.priorityId), g), h), k), n), p), q), d.messageContext.eventMetadata), function () {
if (t) {
var v = t;
t = void 0;
v("2");
}
}),
function () {
if (t) {
var v = t;
t = void 0;
v("3");
}
}
),
function (v, x) {
a.C[v] = x;
}
),
function (v) {
return a.C[v];
}
);
try {
Qm(d.messageContext.eventId, r, "1"), Zm(d.type, d.R, u);
f(d.R, b, d.o, u);
} catch (v) {
Qm(d.messageContext.eventId, r, "4");
}
}
}
};
l = Ur.prototype;
l.register = function (a, b, c) {
var d = es(this, a);
if (3 !== d.status) {
d.B = b;
d.status = 3;
c && (nc(d.remoteConfig, c), (d.remoteConfig = c));
var e = ni(a),
f = bs[e.containerId];
if (void 0 !== f) {
var g = S[e.containerId].bootstrap,
h = e.prefix.toUpperCase();
S[e.containerId]._spx && (h = h.toLowerCase());
var k = ah("gtm.uniqueEventId"),
n = h,
p = Ra() - g;
if (Dm && !km[k]) {
k !== gm && (bm(), (gm = k));
var q = n + "." + Math.floor(g - f) + "." + Math.floor(p);
rm = rm ? rm + "," + q : "&cl=" + q;
}
delete bs[e.containerId];
}
this.flush();
}
};
l.notifyContainerLoaded = function (a, b) {
var c = this,
d = function (f) {
if (ni(f)) {
var g = es(c, f);
g.status = 3;
g.claimed = !0;
}
};
d(a);
for (var e = 0; e < b.length; e++) d(b[e]);
this.flush();
};
l.push = function (a, b, c, d) {
null == d ? (d = {}) : "boolean" === typeof d && (d = { deferrable: d });
if (void 0 !== c) {
if (!ni(c)) return;
fs(this, c, b[0][Q.ca] || this.B[Q.ca], "event" === a ? 2 : 1);
es(this, c).g && (d.deferrable = !1);
}
this.g.push(new ds(a, Math.floor(Ra() / 1e3), c, b, d));
d.deferrable || this.flush();
};
l.insert = function (a, b, c, d) {
null == d && (d = {});
var e = Math.floor(Ra() / 1e3);
0 < this.g.length ? this.g.splice(1, 0, new ds(a, e, c, b, d)) : this.g.push(new ds(a, e, c, b, d));
};
l.flush = function (a) {
for (var b = this, c = [], d = !1, e = {}; this.g.length; ) {
var f = this.g[0];
if (f.messageContext.deferrable) !f.R || es(this, f.R).g ? ((f.messageContext.deferrable = !1), this.g.push(f)) : c.push(f), this.g.shift();
else {
var g = void 0;
switch (f.type) {
case "require":
g = es(this, f.R);
if (3 !== g.status && !a) {
this.g.push.apply(this.g, c);
return;
}
Dm && z.clearTimeout(f.g[0].timeoutId);
break;
case "set":
Ka(f.g[0], function (r, t) {
nc(Za(r, t), b.B);
});
break;
case "config":
g = es(this, f.R);
if (g.claimed) break;
e.eb = {};
Ka(
f.g[0],
(function (r) {
return function (t, u) {
nc(Za(t, u), r.eb);
};
})(e)
);
var h = !!e.eb[Q.Xd];
delete e.eb[Q.Xd];
var k = ni(f.R),
n = k.containerId === k.id;
h || (n ? (g.containerConfig = {}) : (g.targetConfig[f.R] = {}));
(g.g && h) || gs(this, Q.Ja, e.eb, f);
g.g = !0;
delete e.eb[Q.qc];
n ? nc(e.eb, g.containerConfig) : (nc(e.eb, g.targetConfig[f.R]), jg(70));
d = !0;
break;
case "event":
g = es(this, f.R);
if (g.claimed) break;
e.zd = {};
Ka(
f.g[0],
(function (r) {
return function (t, u) {
nc(Za(t, u), r.zd);
};
})(e)
);
gs(this, f.g[1], e.zd, f);
break;
case "get":
if (((g = es(this, f.R)), !g.claimed)) {
var p = {},
q = ((p[Q.Sa] = f.g[0]), (p[Q.fb] = f.g[1]), p);
gs(this, Q.Qa, q, f);
}
}
this.g.shift();
hs(this, f);
}
e = { eb: e.eb, zd: e.zd };
}
this.g.push.apply(this.g, c);
d && this.flush();
};
var hs = function (a, b) {
if ("require" !== b.type)
if (b.R) for (var c = a.getCommandListeners(b.R)[b.type] || [], d = 0; d < c.length; d++) c[d]();
else
for (var e in a.o)
if (a.o.hasOwnProperty(e)) {
var f = a.o[e];
if (f && f.o) for (var g = f.o[b.type] || [], h = 0; h < g.length; h++) g[h]();
}
};
Ur.prototype.getRemoteConfig = function (a) {
return es(this, a).remoteConfig;
};
Ur.prototype.getCommandListeners = function (a) {
return es(this, a).o;
};
Ur.prototype.getGlobalConfigValue = function (a) {
return this.B[a];
};
var Le;
var is = !1;
var js = !1;
var ks = {},
ls = {},
ms = {},
ns = function (a, b) {
var c = ls[b] || [];
c.push(a);
ls[b] = c;
},
ps = function () {
S.addTargetToGroup = function (e) {
os(e, "default");
};
S.addDestinationToContainer = function (e, f) {
ns(e, f);
};
var a = S.pendingDefaultTargets;
delete S.pendingDefaultTargets;
if (Array.isArray(a)) for (var b = 0; b < a.length; ++b) os(a[b], "default");
var c = S.pendingDestinationIds;
delete S.pendingDestinationIds;
if (Array.isArray(c)) for (var d = 0; d < c.length; ++d) ns(c[d][0], c[d][1]);
},
os = function (a, b) {
b = b.toString().split(",");
for (var c = 0; c < b.length; c++) {
var d = ks[b[c]] || [];
ks[b[c]] = d;
0 > d.indexOf(a) && d.push(a);
}
},
qs = function (a, b) {
b = String(b).split(",");
for (var c = 0; c < b.length; c++) {
var d = ms[b[c]] || [];
ms[b[c]] = d;
0 > d.indexOf(a) && d.push(a);
}
},
rs = function (a) {
for (var b = [], c = [], d = {}, e = 0; e < a.length; d = { Gc: d.Gc, Bd: d.Bd }, e++) {
var f = a[e];
if (0 <= f.indexOf("-"))
if (js) {
if (((d.Gc = ni(f)), d.Gc))
if (is) {
var g = hl();
Fa(
g,
(function (u) {
return function (v) {
return u.Gc.containerId === v;
};
})(d)
)
? b.push(f)
: c.push(f);
} else d.Gc.containerId === He.J || el() ? b.push(f) : c.push(f);
} else b.push(f);
else {
var h = ks[f] || [];
if (js)
if (is) {
d.Bd = {};
h.forEach(
(function (u) {
return function (v) {
return (u.Bd[v] = !0);
};
})(d)
);
for (var k = gl(), n = 0; n < k.length; n++)
if (d.Bd[k[n]]) {
var p = hl();
p && p.length && (b = b.concat(p));
break;
}
var q = ms[f] || [];
q.length && (b = b.concat(q));
} else
for (var r = 0; r < h.length; r++) {
var t = ni(h[r]);
((t && t.containerId === He.J) || el()) && b.push(t.id);
}
else h && h.length && (b = b.concat(h));
}
}
return { Vj: b, Yj: c };
},
ss = function (a) {
Ka(ks, function (b, c) {
var d = c.indexOf(a);
0 <= d && c.splice(d, 1);
});
},
ts = function (a) {
Ka(ms, function (b, c) {
var d = c.indexOf(a);
0 <= d && c.splice(d, 1);
});
};
var us = !1;
var vs = "HA GF G UA AW DC".split(" "),
ws = !1,
xs = !1,
ys = !1;
function zs(a, b) {
a.hasOwnProperty("gtm.uniqueEventId") || Object.defineProperty(a, "gtm.uniqueEventId", { value: Vg() });
b.eventId = a["gtm.uniqueEventId"];
b.priorityId = a["gtm.priorityId"];
return { eventId: b.eventId, priorityId: b.priorityId };
}
function As() {
if (Sr) return !1;
ws || S.gtagRegistered || ((ws = S.gtagRegistered = !0), ps());
return ws;
}
var Bs = {
config: function (a, b) {
var c = zs(a, b);
if (2 > a.length || !m(a[1])) return;
var d = {};
if (2 < a.length) {
if ((void 0 != a[2] && !mc(a[2])) || 3 < a.length) return;
d = a[2];
}
var e = ni(a[1]);
if (!e) return;
Im(c.eventId, "gtag.config");
var f = e.id !== e.containerId,
g = !1,
h = -1 !== gl().indexOf(e.containerId);
h && ((g = ys), (ys = !0));
if (ki[12] && Qg && !f && g) return;
if (Sr) {
var k = d[Q.ca] || as();
if (us && f) {
if (
!Fa(hl(), function (x) {
return x === e.containerId;
})
) {
Vn(e.containerId, k);
return;
}
} else if (!h && !el()) {
Un(e.containerId, k, !0);
return;
}
}
var n = As() || Sr;
b.noTargetGroup || (us && f ? (ts(e.id), qs(e.id, d[Q.Rd] || "default")) : (ss(e.id), os(e.id, d[Q.Rd] || "default")));
delete d[Q.Rd];
xs || jg(43);
if (n) {
var p = [e.id];
us && !f && (p = hl());
for (var q = !1, r = 0; r < p.length; r++) {
var t = ni(p[r]),
u = nc(b);
if (t && -1 !== vs.indexOf(t.prefix)) {
"G" === t.prefix && (d[Q.qc] = !0);
var v = u.eventMetadata || {};
v.hasOwnProperty("is_external_event") || (v.is_external_event = !u.fromContainerExecution);
u.eventMetadata = v;
delete d[Q.kc];
Yr(d, t.id, u);
q = !0;
}
}
if (q) return;
}
dh("gtag.targets." + e.id);
dh("gtag.targets." + e.id, nc(d));
},
consent: function (a, b) {
if (3 === a.length) {
jg(39);
var c = zs(a, b),
d = a[1];
"default" === d ? Vi(a[2]) : "update" === d && Xi(a[2], c);
}
},
event: function (a, b) {
var c = a[1];
if (!(2 > a.length) && m(c)) {
var d;
if (2 < a.length) {
if ((!mc(a[2]) && void 0 != a[2]) || 3 < a.length) return;
d = a[2];
}
var e = d,
f = {},
g = ((f.event = c), f);
e && ((g.eventModel = nc(e)), e[Q.kc] && (g.eventCallback = e[Q.kc]), e[Q.Od] && (g.eventTimeout = e[Q.Od]));
var h = zs(a, b),
k = h.eventId,
n = h.priorityId;
g["gtm.uniqueEventId"] = k;
n && (g["gtm.priorityId"] = n);
if ("optimize.callback" === c) return (g.eventModel = g.eventModel || {}), g;
var p;
var q = d,
r = q && q[Q.Ib];
void 0 === r && ((r = ah(Q.Ib, 2)), void 0 === r && (r = "default"));
if (m(r) || Ea(r)) {
var t = r.toString().replace(/\s+/g, "").split(","),
u = rs(t),
v = u.Vj,
x = u.Yj;
if (x.length)
for (var y = (q && q[Q.ca]) || as(), w = 0; w < x.length; w++) {
var A = ni(x[w]);
A && (us ? Vn(A.containerId, y) : Un(A.containerId, y, !0));
}
p = pi(v);
} else p = void 0;
var B = p;
if (!B) return;
Im(k, c);
for (var C = As() || Sr, E = [], F = 0; C && F < B.length; F++) {
var D = B[F],
L = nc(b);
if (-1 !== vs.indexOf(D.prefix)) {
var J = nc(d);
"G" !== D.prefix || L.fromMessageBus || (J[Q.qc] = !0);
var P = L.eventMetadata || {};
P.hasOwnProperty("is_external_event") || (P.is_external_event = !L.fromContainerExecution);
L.eventMetadata = P;
delete J[Q.kc];
Wr(c, J, D.id, L);
}
E.push(D.id);
}
g.eventModel = g.eventModel || {};
0 < B.length ? (g.eventModel[Q.Ib] = E.join()) : delete g.eventModel[Q.Ib];
xs || jg(43);
return b.noGtmEvent ? void 0 : g;
}
},
get: function (a, b) {
jg(53);
if (4 !== a.length || !m(a[1]) || !m(a[2]) || !Ca(a[3])) return;
var c = ni(a[1]),
d = String(a[2]),
e = a[3];
if (!c) return;
xs || jg(43);
if (Sr) {
var f = as();
if (us) {
if (
!Fa(hl(), function (h) {
return c.containerId === h;
})
) {
Vn(c.containerId, f);
return;
}
} else if (c.containerId !== He.J && !el()) {
Un(c.containerId, f, !0);
return;
}
} else if (!As()) return;
if (-1 === vs.indexOf(c.prefix)) return;
zs(a, b);
var g = {};
Ri(nc(((g[Q.Sa] = d), (g[Q.fb] = e), g)));
Zr(
d,
function (h) {
K(function () {
return e(h);
});
},
c.id,
b
);
},
js: function (a, b) {
if (2 == a.length && a[1].getTime) {
xs = !0;
As();
var c = zs(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 (a) {
if (3 === a.length && m(a[1]) && Ca(a[2])) {
var b = a[1],
c = a[2],
d = Le.o;
d.g[b] ? d.g[b].push(c) : (d.g[b] = [c]);
if ((jg(74), "all" === a[1])) {
jg(75);
var e = !1;
try {
e = a[2](He.J, "unknown", {});
} catch (f) {}
e || jg(76);
}
} else {
jg(73);
}
},
set: function (a, b) {
var c;
2 == a.length && mc(a[1]) ? (c = nc(a[1])) : 3 == a.length && m(a[1]) && ((c = {}), mc(a[2]) || Ea(a[2]) ? (c[a[1]] = nc(a[2])) : (c[a[1]] = a[2]));
if (c) {
var d = zs(a, b),
e = d.eventId,
f = d.priorityId;
nc(c);
if (As() || Sr) {
var g = nc(c);
Tr().push("set", [g], void 0, b);
}
c["gtm.uniqueEventId"] = e;
f && (c["gtm.priorityId"] = f);
b.overwriteModelFields = !0;
return c;
}
},
},
Cs = { policy: !0 };
var Ds = function (a) {
var b = z[Ig.fa].hide;
if (b && void 0 !== b[a] && b.end) {
b[a] = !1;
var c = !0,
d;
for (d in b)
if (b.hasOwnProperty(d) && !0 === b[d]) {
c = !1;
break;
}
c && (b.end(), (b.end = null));
}
},
Es = function (a) {
var b = z[Ig.fa],
c = b && b.hide;
c && c.end && (c[a] = !0);
};
var Fs = !1,
Gs = [];
function Hs() {
if (!Fs) {
Fs = !0;
for (var a = 0; a < Gs.length; a++) K(Gs[a]);
}
}
var Is = function (a) {
Fs ? K(a) : Gs.push(a);
};
var Zs = function (a) {
if (Ys(a)) return a;
this.g = a;
};
Zs.prototype.getUntrustedMessageValue = function () {
return this.g;
};
var Ys = function (a) {
return !a || "object" !== kc(a) || mc(a) ? !1 : "getUntrustedMessageValue" in a;
};
Zs.prototype.getUntrustedMessageValue = Zs.prototype.getUntrustedMessageValue;
var $s = 0,
at = {},
bt = [],
ct = [],
dt = !1,
et = !1;
function ft(a, b) {
return a.messageContext.eventId - b.messageContext.eventId || a.messageContext.priorityId - b.messageContext.priorityId;
}
var It = function (a) {
return z[Ig.fa].push(a);
},
Jt = function (a, b, c) {
a.eventCallback = b;
c && (a.eventTimeout = c);
return It(a);
},
Kt = function (a, b) {
var c = S[Ig.fa],
d = c ? c.subscribers : 1,
e = 0,
f = !1,
g = void 0;
b &&
(g = z.setTimeout(function () {
f || ((f = !0), a());
g = void 0;
}, b));
return function () {
++e === d && (g && (z.clearTimeout(g), (g = void 0)), f || (a(), (f = !0)));
};
};
function Lt(a, b) {
var c = (!!ki[10] && a._clear) || b.overwriteModelFields;
Ka(a, function (e, f) {
"_clear" !== e && (c && dh(e), dh(e, f));
});
Rg || (Rg = a["gtm.start"]);
var d = a["gtm.uniqueEventId"];
if (!a.event) return !1;
"number" !== typeof d && ((d = Vg()), (a["gtm.uniqueEventId"] = d), dh("gtm.uniqueEventId", d));
return zo(a);
}
function Mt(a) {
if (null == a || "object" !== typeof a) return !1;
if (a.event) return !0;
if (La(a)) {
var b = a[0];
if ("config" === b || "event" === b || "js" === b || "get" === b) return !0;
}
return !1;
}
function Nt() {
var a;
if (ct.length) a = ct.shift();
else if (bt.length) a = bt.shift();
else return;
var b;
var c = a;
if (dt || !Mt(c.message)) b = c;
else {
dt = !0;
var d = c.message["gtm.uniqueEventId"];
"number" !== typeof d && (d = c.message["gtm.uniqueEventId"] = Vg());
var e = {},
f = { message: ((e.event = "gtm.init_consent"), (e["gtm.uniqueEventId"] = d - 2), e), messageContext: { eventId: d - 2 } },
g = {},
h = { message: ((g.event = "gtm.init"), (g["gtm.uniqueEventId"] = d - 1), g), messageContext: { eventId: d - 1 } };
bt.unshift(h, c);
b = f;
}
return b;
}
function Ot() {
for (var a = !1, b; !et && (b = Nt()); ) {
et = !0;
delete Yg.eventModel;
$g();
var c = b,
d = c.message,
e = c.messageContext;
if (null == d) et = !1;
else {
e.fromContainerExecution && eh();
try {
if (Ca(d))
try {
d.call(bh);
} catch (v) {}
else if (Ea(d)) {
var f = d;
if (m(f[0])) {
var g = f[0].split("."),
h = g.pop(),
k = f.slice(1),
n = ah(g.join("."), 2);
if (null != n)
try {
n[h].apply(n, k);
} catch (v) {}
}
} else {
var p = void 0;
if (La(d))
a: {
if (d.length && m(d[0])) {
var q = Bs[d[0]];
if (q && (!e.fromContainerExecution || !Cs[d[0]])) {
p = q(d, e);
break a;
}
}
p = void 0;
}
else p = d;
p && (a = Lt(p, e) || a);
}
} finally {
e.fromContainerExecution && $g(!0);
var r = d["gtm.uniqueEventId"];
if ("number" === typeof r) {
for (var t = at[String(r)] || [], u = 0; u < t.length; u++) ct.push(Pt(t[u]));
t.length && ct.sort(ft);
delete at[String(r)];
$s = r;
}
et = !1;
}
}
}
return !a;
}
function Qt() {
var b = Ot();
try {
Ds(He.J);
} catch (c) {}
return b;
}
function co(a) {
if ($s < a.notBeforeEventId) {
var b = String(a.notBeforeEventId);
at[b] = at[b] || [];
at[b].push(a);
} else
ct.push(Pt(a)),
ct.sort(ft),
K(function () {
et || Ot();
});
}
function Pt(a) {
return { message: a.message, messageContext: a.messageContext };
}
var St = function () {
function a(f) {
var g = {};
if (Ys(f)) {
var h = f;
f = Ys(h) ? h.getUntrustedMessageValue() : void 0;
g.fromContainerExecution = !0;
}
return { message: f, messageContext: g };
}
var b = Gb(Ig.fa, []),
c = (S[Ig.fa] = S[Ig.fa] || {});
!0 === c.pruned && jg(83);
at = ao().get();
eo();
fn(function () {
if (!c.gtmDom) {
c.gtmDom = !0;
var f = {};
b.push(((f.event = "gtm.dom"), f));
}
});
Is(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 () {
function f(r) {
if (ki[18] && La(r) && "set" === r[0]) {
var t;
if (2 == r.length && mc(r[1])) t = r[1];
else if (3 == r.length && m(r[1])) {
var u = {};
t = ((u[r[1]] = r[2]), u);
} else return;
c.pageConfig = c.pageConfig || {};
Ka(t, function (v, x) {
nc(Za(v, x), c.pageConfig);
});
}
}
var g;
if (0 < S.SANDBOXED_JS_SEMAPHORE) {
g = [];
for (var h = 0; h < arguments.length; h++) g[h] = new Zs(arguments[h]);
} else g = [].slice.call(arguments, 0);
var k = g.map(function (r) {
return a(r);
});
bt.push.apply(bt, k);
var n = d.apply(b, g),
p = 300;
ki[16] && (p = Math.max(100, Number("1000") || p));
if (this.length > p) for (jg(4), c.pruned = !0; this.length > p; ) f(this.shift());
var q = "boolean" !== typeof n || n;
return Ot() && q;
};
var e = b.slice(0).map(function (f) {
return a(f);
});
ki[18] && c.pageConfig && e.unshift({ message: Xn(nc(c.pageConfig)), messageContext: {} });
bt.push.apply(bt, e);
if (Rt()) {
K(Qt);
}
},
Rt = function () {
var a = !0;
return a;
};
function Tt(a) {
if (null == a || 0 === a.length) return !1;
var b = Number(a),
c = Ra();
return b < c + 3e5 && b > c - 9e5;
}
var Ut = {};
Ut.Yd = new String("undefined");
var Xt = function (a, b, c) {
var d = { event: b, "gtm.element": a, "gtm.elementClasses": Xb(a, "className"), "gtm.elementId": a["for"] || Sb(a, "id") || "", "gtm.elementTarget": a.formTarget || Xb(a, "target") || "" };
c && (d["gtm.triggers"] = c.join(","));
d["gtm.elementUrl"] = (a.attributes && a.attributes.formaction ? a.formAction : "") || a.action || Xb(a, "href") || a.src || a.code || a.codebase || "";
return d;
},
Yt = function (a) {
S.hasOwnProperty("autoEventsSettings") || (S.autoEventsSettings = {});
var b = S.autoEventsSettings;
b.hasOwnProperty(a) || (b[a] = {});
return b[a];
},
Zt = function (a, b, c) {
Yt(a)[b] = c;
},
$t = function (a, b, c, d) {
var e = Yt(a),
f = Sa(e, b, d);
e[b] = c(f);
},
au = function (a, b, c) {
var d = Yt(a);
return Sa(d, b, c);
},
bu = function (a) {
return "string" === typeof a ? a : String(Vg());
};
var hu = !!z.MutationObserver,
iu = void 0,
ju = function (a) {
if (!iu) {
var b = function () {
var c = I.body;
if (c)
if (hu)
new MutationObserver(function () {
for (var e = 0; e < iu.length; e++) K(iu[e]);
}).observe(c, { childList: !0, subtree: !0 });
else {
var d = !1;
Qb(c, "DOMNodeInserted", function () {
d ||
((d = !0),
K(function () {
d = !1;
for (var e = 0; e < iu.length; e++) K(iu[e]);
}));
});
}
};
iu = [];
I.body ? b() : K(b);
}
iu.push(a);
};
var uu = function (a, b, c) {
function d() {
var g = a();
f += e ? ((Ra() - e) * g.playbackRate) / 1e3 : 0;
e = Ra();
}
var e = 0,
f = 0;
return {
createEvent: function (g, h, k) {
var n = a(),
p = n.Df,
q = void 0 !== k ? Math.round(k) : void 0 !== h ? Math.round(n.Df * h) : Math.round(n.th),
r = void 0 !== h ? Math.round(100 * h) : 0 >= p ? 0 : Math.round((q / p) * 100),
t = I.hidden ? !1 : 0.5 <= mh(c);
d();
var u = void 0;
void 0 !== b && (u = [b]);
var v = Xt(c, "gtm.video", u);
v["gtm.videoProvider"] = "youtube";
v["gtm.videoStatus"] = g;
v["gtm.videoUrl"] = n.url;
v["gtm.videoTitle"] = n.title;
v["gtm.videoDuration"] = Math.round(p);
v["gtm.videoCurrentTime"] = Math.round(q);
v["gtm.videoElapsedTime"] = Math.round(f);
v["gtm.videoPercent"] = r;
v["gtm.videoVisible"] = t;
return v;
},
Rh: function () {
e = Ra();
},
vc: function () {
d();
},
};
};
var vu = z.clearTimeout,
wu = z.setTimeout,
U = function (a, b, c, d) {
if (el()) {
b && K(b);
} else return Lb(a, b, c, d);
},
xu = function () {
return new Date();
},
yu = function () {
return z.location.href;
},
zu = function (a) {
return xh(zh(a), "fragment");
},
Au = function (a) {
return yh(zh(a));
},
Bu = function (a, b) {
return ah(a, b || 2);
},
Cu = function (a, b, c) {
return b ? Jt(a, b, c) : It(a);
},
Du = function (a, b) {
z[a] = b;
},
W = function (a, b, c) {
b && (void 0 === z[a] || (c && !z[a])) && (z[a] = b);
return z[a];
},
Eu = function (a, b, c) {
return hj(a, b, void 0 === c ? !0 : !!c);
},
Fu = function (a, b, c) {
return 0 === qj(a, b, c);
},
Gu = function (a, b) {
if (el()) {
b && K(b);
} else Ob(a, b);
},
Hu = function (a) {
return !!au(a, "init", !1);
},
Iu = function (a) {
Zt(a, "init", !0);
},
Ju = function (a, b, c) {
Dm && (sc(a) || Rm(c, b, a));
};
var gv = ["matches", "webkitMatchesSelector", "mozMatchesSelector", "msMatchesSelector", "oMatchesSelector"];
function hv(a, b) {
a = String(a);
b = String(b);
var c = a.length - b.length;
return 0 <= c && a.indexOf(b, c) === c;
}
var iv = new Ha();
function jv(a, b, c) {
var d = c ? "i" : void 0;
try {
var e = String(b) + d,
f = iv.get(e);
f || ((f = new RegExp(b, d)), iv.set(e, f));
return f.test(a);
} catch (g) {
return !1;
}
}
function kv(a, b) {
function c(g) {
var h = zh(g),
k = xh(h, "protocol"),
n = xh(h, "host", !0),
p = xh(h, "port"),
q = xh(h, "path").toLowerCase().replace(/\/$/, "");
if (void 0 === k || ("http" === k && "80" === p) || ("https" === k && "443" === p)) (k = "web"), (p = "default");
return [k, 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 lv(a) {
return mv(a) ? 1 : 0;
}
function mv(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 = nc(a, {});
nc({ arg1: c[d], any_of: void 0 }, e);
if (lv(e)) return !0;
}
return !1;
}
switch (a["function"]) {
case "_cn":
return 0 <= String(b).indexOf(String(c));
case "_css":
var f;
a: {
if (b)
try {
for (var g = 0; g < gv.length; g++) {
var h = gv[g];
if (b[h]) {
f = b[h](c);
break a;
}
}
} catch (k) {}
f = !1;
}
return f;
case "_ew":
return hv(b, c);
case "_eq":
return String(b) === String(c);
case "_ge":
return Number(b) >= Number(c);
case "_gt":
return Number(b) > Number(c);
case "_lc":
return 0 <= String(b).split(",").indexOf(String(c));
case "_le":
return Number(b) <= Number(c);
case "_lt":
return Number(b) < Number(c);
case "_re":
return jv(b, c, a.ignore_case);
case "_sw":
return 0 === String(b).indexOf(String(c));
case "_um":
return kv(b, c);
}
return !1;
}
function nv(a, b) {
var c = this;
}
nv.M = "addConsentListener";
var ov;
var pv = function (a) {
for (var b = 0; b < a.length; ++b)
if (ov)
try {
a[b]();
} catch (c) {
jg(77);
}
else a[b]();
};
function qv(a, b, c) {
var d = this,
e;
N(H(this), ["eventName:!string", "callback:!Fn", "triggerId:?string"], arguments),
pv([
function () {
return O(d, "listen_data_layer", a);
},
]),
(e = uo().o(a, pc(b), c));
return e;
}
qv.N = "internal.addDataLayerEventListener";
function rv(a, b, c) {}
rv.M = "addDocumentEventListener";
function sv(a, b, c, d) {}
sv.M = "addElementEventListener";
function tv(a) {}
tv.M = "addEventCallback";
function xv(a) {}
xv.N = "internal.addFormAbandonmentListener";
var yv = {},
zv = [],
Av = {},
Bv = 0,
Cv = 0;
function Jv(a, b) {}
Jv.N = "internal.addFormInteractionListener";
function Qv(a, b) {}
Qv.N = "internal.addFormSubmitListener";
function Vv(a) {}
Vv.N = "internal.addGaSendListener";
var Wv = {},
Xv = [];
var dw = function (a, b) {};
dw.N = "internal.addHistoryChangeListener";
function ew(a, b, c) {}
ew.M = "addWindowEventListener";
function fw(a, b) {
return !0;
}
fw.M = "aliasInWindow";
function gw(a, b, c) {}
gw.N = "internal.appendRemoteConfigParameter";
function hw() {
var a = 2;
return a;
}
function iw(a, b) {
var c;
return c;
}
iw.M = "callInWindow";
function jw(a) {}
jw.M = "callLater";
function kw(a) {}
kw.N = "callOnDomReady";
function lw(a) {
N(H(this), ["listener:!Fn"], arguments);
O(this, "process_dom_events", "window", "load");
Is(pc(a));
}
lw.N = "callOnWindowLoad";
function mw(a) {
var b;
return b;
}
mw.N = "internal.computeGtmParameter";
function nw(a, b) {
var c;
var d = oc(c, this.g, hw());
void 0 === d && void 0 !== c && jg(45);
return d;
}
nw.M = "copyFromDataLayer";
function ow(a) {
var b;
return b;
}
ow.M = "copyFromWindow";
function pw(a, b) {
var c;
return c;
}
pw.N = "internal.copyPreHit";
function qw(a, b) {
var c = null,
d = hw();
return oc(c, this.g, d);
}
qw.M = "createArgumentsQueue";
function rw(a) {
var b;
return oc(b, this.g, hw());
}
rw.M = "createQueue";
var sw = {},
tw = [],
uw = {},
vw = 0,
ww = 0;
function Cw(a, b) {
var c = this;
return b;
}
Cw.N = "internal.enableAutoEventOnFormInteraction";
function Hw(a, b) {
var c = this;
return b;
}
Hw.N = "internal.enableAutoEventOnFormSubmit";
function Mw() {
var a = this;
}
Mw.N = "internal.enableAutoEventOnGaSend";
var Nw = {},
Ow = [];
var Qw = function (a, b) {
var c = "" + b;
if (Nw[c]) Nw[c].push(a);
else {
var d = [a];
Nw[c] = d;
var e = Pw(),
f = -1;
Ow.push(function (g) {
0 <= f && z.clearTimeout(f);
b
? (f = z.setTimeout(function () {
e(g, d);
f = -1;
}, b))
: e(g, d);
});
}
},
Pw = function () {
var a = z.location.href,
b = { source: null, state: z.history.state || null, url: yh(zh(a)), O: xh(zh(a), "fragment") };
return function (c, d) {
var e = b,
f = {};
f[e.source] = !0;
f[c.source] = !0;
if (!f.popstate || !f.hashchange || e.O != c.O) {
var g = {},
h =
((g.event = "gtm.historyChange-v2"),
(g["gtm.historyChangeSource"] = c.source),
(g["gtm.oldUrlFragment"] = b.O),
(g["gtm.newUrlFragment"] = c.O),
(g["gtm.oldHistoryState"] = b.state),
(g["gtm.newHistoryState"] = c.state),
(g["gtm.oldUrl"] = b.url),
(g["gtm.newUrl"] = c.url),
(g["gtm.triggers"] = d.join(",")),
g);
b = c;
It(h);
}
};
},
Rw = function (a, b) {
var c = z.history,
d = c[a];
if (Ca(d))
try {
c[a] = function (e, f, g) {
d.apply(c, [].slice.call(arguments, 0));
var h = z.location.href;
b({ source: a, state: e, url: yh(zh(h)), O: xh(zh(h), "fragment") });
};
} catch (e) {}
},
Tw = function (a) {
z.addEventListener("popstate", function (b) {
var c = Sw(b);
a({ source: "popstate", state: b.state, url: yh(zh(c)), O: xh(zh(c), "fragment") });
});
},
Uw = function (a) {
z.addEventListener("hashchange", function (b) {
var c = Sw(b);
a({ source: "hashchange", state: null, url: yh(zh(c)), O: xh(zh(c), "fragment") });
});
},
Sw = function (a) {
return a.target && a.target.location && a.target.location.href ? a.target.location.href : z.location.href;
};
function Vw(a, b) {
var c = this;
N(H(this), ["options:?DustMap", "triggerId:?*"], arguments);
pv([
function () {
return O(c, "process_dom_events", "window", "popstate");
},
function () {
return O(c, "process_dom_events", "window", "pushstate");
},
]);
b = bu(b);
var d = Number(a && a.get("interval"));
(0 < d && isFinite(d)) || (d = 0);
if (au("ehl", "init", !1)) {
var e = au("ehl", "reg");
e && e(b, d);
} else {
var f = function (g) {
for (var h = 0; h < Ow.length; h++) Ow[h](g);
};
Uw(f);
Tw(f);
Rw("pushState", f);
Rw("replaceState", f);
Qw(b, d);
Zt("ehl", "reg", Qw);
Zt("ehl", "init", !0);
}
return b;
}
Vw.N = "internal.enableAutoEventOnHistoryChange";
var Ww = function (a, b) {
if (2 === a.which || a.ctrlKey || a.shiftKey || a.altKey || a.metaKey) return !1;
var c = Xb(b, "href"),
d = c.indexOf("#"),
e = Xb(b, "target");
if ((e && "_self" !== e && "_parent" !== e && "_top" !== e) || 0 === d) return !1;
if (0 < d) {
var f = yh(zh(c)),
g = yh(zh(z.location.href));
return f !== g;
}
return !0;
},
Xw = function (a, b) {
for (var c = xh(zh((b.attributes && b.attributes.formaction ? b.formAction : "") || b.action || Xb(b, "href") || b.src || b.code || b.codebase || ""), "host"), d = 0; d < a.length; d++)
try {
if (new RegExp(a[d]).test(c)) return !1;
} catch (e) {}
return !0;
},
Yw = function () {
var a = 0,
b = function (c) {
var d = c.target;
if (d && 3 !== c.which && !(c.Lf || (c.timeStamp && c.timeStamp === a))) {
a = c.timeStamp;
d = Vb(d, ["a", "area"], 100);
if (!d) return c.returnValue;
var e = c.defaultPrevented || !1 === c.returnValue,
f = au("aelc", e ? "nv.mwt" : "mwt", 0),
g;
g = e ? au("aelc", "nv.ids", []) : au("aelc", "ids", []);
for (var h = [], k = 0; k < g.length; k++) {
var n = g[k],
p = au("aelc", "aff.map", {})[n];
(p && !Xw(p, d)) || h.push(n);
}
if (h.length) {
var q = Ww(c, d),
r = Xt(d, "gtm.linkClick", h);
r["gtm.elementText"] = Tb(d);
r["gtm.willOpenInNewWindow"] = !q;
if (q && !e && f && d.href) {
var t = !!Fa(String(Xb(d, "rel") || "").split(" "), function (y) {
return "noreferrer" === y.toLowerCase();
});
t && jg(36);
var u = z[(Xb(d, "target") || "_self").substring(1)],
v = !0,
x = Kt(function () {
var y;
if ((y = v && u)) {
var w;
a: if (t) {
var A;
try {
A = new MouseEvent(c.type, { bubbles: !0 });
} catch (B) {
if (!I.createEvent) {
w = !1;
break a;
}
A = I.createEvent("MouseEvents");
A.initEvent(c.type, !0, !0);
}
A.Lf = !0;
c.target.dispatchEvent(A);
w = !0;
} else w = !1;
y = !w;
}
y && (u.location.href = Xb(d, "href"));
}, f);
if (Jt(r, x, f)) v = !1;
else return c.preventDefault && c.preventDefault(), (c.returnValue = !1);
} else Jt(r, function () {}, f || 2e3);
return !0;
}
}
};
Qb(I, "click", b, !1);
Qb(I, "auxclick", b, !1);
};
function Zw(a, b) {
var c = this;
N(H(this), ["dustOptions:?DustMap", "triggerId:?*"], arguments);
pv([
function () {
return O(c, "process_dom_events", "document", "click");
},
function () {
return O(c, "process_dom_events", "document", "auxclick");
},
]);
var d = pc(a),
e = d && !!d.waitForTags,
f = d && !!d.checkValidation,
g = d ? d.affiliateDomains : void 0;
b = bu(b);
if (e) {
var h = Number(d.waitForTagsTimeout);
(0 < h && isFinite(h)) || (h = 2e3);
var k = function (p) {
return Math.max(h, p);
};
$t("aelc", "mwt", k, 0);
f || $t("aelc", "nv.mwt", k, 0);
}
var n = function (p) {
p.push(b);
return p;
};
$t("aelc", "ids", n, []);
f || $t("aelc", "nv.ids", n, []);
g &&
$t(
"aelc",
"aff.map",
function (p) {
p[b] = g;
return p;
},
{}
);
au("aelc", "init", !1) || (Yw(), Zt("aelc", "init", !0));
return b;
}
Zw.N = "internal.enableAutoEventOnLinkClick";
var $w, ax;
var bx = function (a) {
return au("sdl", a, {});
},
cx = function (a, b, c) {
b &&
(Array.isArray(a) || (a = [a]),
$t(
"sdl",
c,
function (d) {
for (var e = 0; e < a.length; e++) {
var f = String(a[e]);
d.hasOwnProperty(f) || (d[f] = []);
d[f].push(b);
}
return d;
},
{}
));
},
fx = function () {
var a = 250,
b = !1;
I.scrollingElement && I.documentElement && z.addEventListener && ((a = 50), (b = !0));
var c = 0,
d = !1,
e = function () {
d ? (c = z.setTimeout(e, a)) : ((c = 0), dx(), au("sdl", "init", !1) && !ex() && (Rb(z, "scroll", f), Rb(z, "resize", f), Zt("sdl", "init", !1)));
d = !1;
},
f = function () {
b && $w();
c ? (d = !0) : ((c = z.setTimeout(e, a)), Zt("sdl", "pending", !0));
};
return f;
},
dx = function () {
var a = $w(),
b = a.Bf,
c = a.Cf,
d = (b / ax.scrollWidth) * 100,
e = (c / ax.scrollHeight) * 100;
gx(b, "horiz.pix", "PIXELS", "horizontal");
gx(d, "horiz.pct", "PERCENT", "horizontal");
gx(c, "vert.pix", "PIXELS", "vertical");
gx(e, "vert.pct", "PERCENT", "vertical");
Zt("sdl", "pending", !1);
},
gx = function (a, b, c, d) {
var e = bx(b),
f = {},
g;
for (g in e) {
f.Yb = g;
if (e.hasOwnProperty(f.Yb)) {
var h = Number(f.Yb);
if (!(a < h)) {
var k = {};
It(((k.event = "gtm.scrollDepth"), (k["gtm.scrollThreshold"] = h), (k["gtm.scrollUnits"] = c.toLowerCase()), (k["gtm.scrollDirection"] = d), (k["gtm.triggers"] = e[f.Yb].join(",")), k));
$t(
"sdl",
b,
(function (n) {
return function (p) {
delete p[n.Yb];
return p;
};
})(f),
{}
);
}
}
f = { Yb: f.Yb };
}
},
ix = function () {
$t(
"sdl",
"scr",
function (a) {
a || (a = I.scrollingElement || (I.body && I.body.parentNode));
return (ax = a);
},
!1
);
$t(
"sdl",
"depth",
function (a) {
a || (a = hx());
return ($w = a);
},
!1
);
},
hx = function () {
var a = 0,
b = 0;
return function () {
var c = lh(),
d = c.height;
a = Math.max(ax.scrollLeft + c.width, a);
b = Math.max(ax.scrollTop + d, b);
return { Bf: a, Cf: b };
};
},
ex = function () {
return !!(Object.keys(bx("horiz.pix")).length || Object.keys(bx("horiz.pct")).length || Object.keys(bx("vert.pix")).length || Object.keys(bx("vert.pct")).length);
};
function jx(a, b) {
var c = this;
N(H(this), ["options:!DustMap", "triggerId:?*"], arguments);
pv([
function () {
return O(c, "process_dom_events", "window", "resize");
},
function () {
return O(c, "process_dom_events", "window", "scroll");
},
]);
ix();
if (!ax) return;
b = bu(b);
var d = pc(a);
switch (d.horizontalThresholdUnits) {
case "PIXELS":
cx(d.horizontalThresholds, b, "horiz.pix");
break;
case "PERCENT":
cx(d.horizontalThresholds, b, "horiz.pct");
}
switch (d.verticalThresholdUnits) {
case "PIXELS":
cx(d.verticalThresholds, b, "vert.pix");
break;
case "PERCENT":
cx(d.verticalThresholds, b, "vert.pct");
}
au("sdl", "init", !1)
? au("sdl", "pending", !1) ||
K(function () {
return dx();
})
: (Zt("sdl", "init", !0),
Zt("sdl", "pending", !0),
K(function () {
dx();
if (ex()) {
var e = fx();
Qb(z, "scroll", e);
Qb(z, "resize", e);
} else Zt("sdl", "init", !1);
}));
return b;
}
jx.N = "internal.enableAutoEventOnScroll";
var Cb = ba(["data-gtm-yt-inspected-"]),
kx = ["www.youtube.com", "www.youtube-nocookie.com"],
lx,
mx = !1;
var nx = function (a, b, c) {
var d = a.map(function (g) {
return { oa: g, sd: g, od: void 0 };
});
if (!b.length) return d;
var e = b.map(function (g) {
return { oa: g * c, sd: void 0, od: g };
});
if (!d.length) return e;
var f = d.concat(e);
f.sort(function (g, h) {
return g.oa - h.oa;
});
return f;
},
ox = function (a) {
a = void 0 === a ? [] : a;
for (var b = [], c = 0; c < a.length; c++) 0 > a[c] || b.push(a[c]);
b.sort(function (d, e) {
return d - e;
});
return b;
},
px = function (a) {
a = void 0 === a ? [] : a;
for (var b = [], c = 0; c < a.length; c++) 100 < a[c] || 0 > a[c] || (b[c] = a[c] / 100);
b.sort(function (d, e) {
return d - e;
});
return b;
},
qx = function (a, b) {
var c, d;
function e() {
t = uu(
function () {
return { url: x, title: y, Df: v, th: a.getCurrentTime(), playbackRate: w };
},
b.ab,
a.getIframe()
);
v = 0;
y = x = "";
w = 1;
return f;
}
function f(E) {
switch (E) {
case 1:
v = Math.round(a.getDuration());
x = a.getVideoUrl();
if (a.getVideoData) {
var F = a.getVideoData();
y = F ? F.title : "";
}
w = a.getPlaybackRate();
b.xf ? It(t.createEvent("start")) : t.vc();
u = nx(b.Yf, b.Xf, a.getDuration());
return g(E);
default:
return f;
}
}
function g() {
A = a.getCurrentTime();
B = Qa().getTime();
t.Rh();
r();
return h;
}
function h(E) {
var F;
switch (E) {
case 0:
return n(E);
case 2:
F = "pause";
case 3:
var D = a.getCurrentTime() - A;
F = 1 < Math.abs(((Qa().getTime() - B) / 1e3) * w - D) ? "seek" : F || "buffering";
a.getCurrentTime() && (b.wf ? It(t.createEvent(F)) : t.vc());
q();
return k;
case -1:
return e(E);
default:
return h;
}
}
function k(E) {
switch (E) {
case 0:
return n(E);
case 1:
return g(E);
case -1:
return e(E);
default:
return k;
}
}
function n() {
for (; d; ) {
var E = c;
z.clearTimeout(d);
E();
}
b.vf && It(t.createEvent("complete", 1));
return e(-1);
}
function p() {}
function q() {
d && (z.clearTimeout(d), (d = 0), (c = p));
}
function r() {
if (u.length && 0 !== w) {
var E = -1,
F;
do {
F = u[0];
if (F.oa > a.getDuration()) return;
E = (F.oa - a.getCurrentTime()) / w;
if (0 > E && (u.shift(), 0 === u.length)) return;
} while (0 > E);
c = function () {
d = 0;
c = p;
0 < u.length && u[0].oa === F.oa && (u.shift(), It(t.createEvent("progress", F.od, F.sd)));
r();
};
d = z.setTimeout(c, 1e3 * E);
}
}
var t,
u = [],
v,
x,
y,
w,
A,
B,
C = e(-1);
d = 0;
c = p;
return {
onStateChange: function (E) {
C = C(E);
},
onPlaybackRateChange: function (E) {
A = a.getCurrentTime();
B = Qa().getTime();
t.vc();
w = E;
q();
r();
},
};
},
sx = function (a) {
K(function () {
function b() {
for (var d = c.getElementsByTagName("iframe"), e = d.length, f = 0; f < e; f++) rx(d[f], a);
}
var c = I;
b();
ju(b);
});
},
rx = function (a, b) {
if (!a.getAttribute("data-gtm-yt-inspected-" + b.ab) && (Bb(a, "data-gtm-yt-inspected-" + b.ab), tx(a, b.fd))) {
a.id || (a.id = ux());
var c = z.YT,
d = c.get(a.id);
d || (d = new c.Player(a.id));
var e = qx(d, b),
f = {},
g;
for (g in e)
(f.Ec = g),
e.hasOwnProperty(f.Ec) &&
d.addEventListener(
f.Ec,
(function (h) {
return function (k) {
return e[h.Ec](k.data);
};
})(f)
),
(f = { Ec: f.Ec });
}
},
tx = function (a, b) {
var c = a.getAttribute("src");
if (vx(c, "embed/")) {
if (0 < c.indexOf("enablejsapi=1")) return !0;
if (b) {
var d;
var e = -1 !== c.indexOf("?") ? "&" : "?";
-1 < c.indexOf("origin=")
? (d = c + e + "enablejsapi=1")
: (lx || ((lx = I.location.protocol + "//" + I.location.hostname), I.location.port && (lx += ":" + I.location.port)), (d = c + e + "enablejsapi=1&origin=" + encodeURIComponent(lx)));
var f;
f = tb(d);
a.src = sb(f).toString();
return !0;
}
}
return !1;
},
vx = function (a, b) {
if (!a) return !1;
for (var c = 0; c < kx.length; c++) if (0 <= a.indexOf("//" + kx[c] + "/" + b)) return !0;
return !1;
},
ux = function () {
var a = Math.round(1e9 * Math.random()) + "";
return I.getElementById(a) ? ux() : a;
};
function wx(a, b) {
var c = this;
N(H(this), ["dustOptions:!DustMap", "triggerId:?*"], arguments);
pv([
function () {
return O(c, "process_dom_events", "element", "onStateChange");
},
function () {
return O(c, "process_dom_events", "element", "onPlaybackRateChange");
},
]);
b = bu(b);
var d = !!a.get("captureStart"),
e = !!a.get("captureComplete"),
f = !!a.get("capturePause"),
g = px(pc(a.get("progressThresholdsPercent"))),
h = ox(pc(a.get("progressThresholdsTimeInSeconds"))),
k = !!a.get("fixMissingApi");
if (!(d || e || f || g.length || h.length)) return;
var n = { xf: d, vf: e, wf: f, Xf: g, Yf: h, fd: k, ab: b },
p = z.YT,
q = function () {
sx(n);
};
if (p) return p.ready && p.ready(q), b;
var r = z.onYouTubeIframeAPIReady;
z.onYouTubeIframeAPIReady = function () {
r && r();
q();
};
K(function () {
for (var t = I.getElementsByTagName("script"), u = t.length, v = 0; v < u; v++) {
var x = t[v].getAttribute("src");
if (vx(x, "iframe_api") || vx(x, "player_api")) return b;
}
for (var y = I.getElementsByTagName("iframe"), w = y.length, A = 0; A < w; A++) if (!mx && tx(y[A], n.fd)) return Lb("https://www.youtube.com/iframe_api"), (mx = !0), b;
});
return b;
}
wx.N = "internal.enableAutoEventOnYouTubeActivity";
function xx(a) {
return !1;
}
xx.N = "internal.evaluateFilteringRules";
var yx;
function zx(a) {
var b = !1;
return b;
}
zx.N = "internal.evaluateMatchingRules";
var Bx = function (a, b, c) {
if (c)
switch (c.type) {
case "event_name":
return a;
case "const":
return c.const_value;
case "event_param":
var d = c.event_param.param_name;
return b[d];
}
},
Ex = function (a, b, c, d) {
if (c && !Cx(a, b, c)) return !1;
if (!d || 0 === d.length) return !0;
for (var e = 0; e < d.length; e++) if (Dx(a, b, d[e].predicates || [])) return !0;
return !1;
},
Dx = function (a, b, c) {
for (var d = 0; d < c.length; d++) if (!Cx(a, b, c[d])) return !1;
return !0;
},
Cx = function (a, b, c) {
var d = c.values || [],
e = Bx(a, b, d[0]),
f = Bx(a, b, d[1]),
g = c.type;
if ("eqi" === g || "swi" === g || "ewi" === g || "cni" === g) m(e) && (e = e.toLowerCase()), m(f) && (f = f.toLowerCase());
var h = !1;
switch (g) {
case "eq":
case "eqi":
h = String(e) === String(f);
break;
case "sw":
case "swi":
h = 0 === String(e).indexOf(String(f));
break;
case "ew":
case "ewi":
h = hv(e, f);
break;
case "cn":
case "cni":
h = 0 <= String(e).indexOf(String(f));
break;
case "lt":
h = Number(e) < Number(f);
break;
case "le":
h = Number(e) <= Number(f);
break;
case "gt":
h = Number(e) > Number(f);
break;
case "ge":
h = Number(e) >= Number(f);
break;
case "re":
case "rei":
h = jv(e, f, "rei" === g);
}
return !!c.negate !== h;
};
function Fx(a, b) {
var c = !1;
return c;
}
Fx.N = "internal.evaluatePredicates";
var Gx = function (a) {
var b;
return b;
};
function Hx(a, b) {
b = void 0 === b ? !0 : b;
var c;
return c;
}
Hx.M = "getCookieValues";
function Ix() {
return wi.zf;
}
Ix.N = "internal.getCountryCode";
function Jx() {
var a = [];
return oc(a);
}
Jx.N = "internal.getDestinationIds";
function Kx(a) {
var b = null;
return b;
}
Kx.M = "getElementById";
function Lx(a, b) {
var c;
N(H(this), ["targetId:!string", "name:!string"], arguments);
var d = jh(a) || {};
c = oc(d[b], this.g);
return c;
}
Lx.N = "internal.getProductSettingsParameter";
function Mx(a, b) {
var c;
N(H(this), ["queryKey:!string", "retrieveAll:?boolean"], arguments);
O(this, "get_url", "query", a);
var d = xh(zh(z.location.href), "query"),
e = uh(d, a, b);
c = oc(e, this.g);
return c;
}
Mx.M = "getQueryParameters";
function Nx(a, b) {
var c;
return c;
}
Nx.M = "getReferrerQueryParameters";
function Ox(a) {
var b = "";
return b;
}
Ox.M = "getReferrerUrl";
function Px() {
return wi.Oh;
}
Px.N = "internal.getRegionCode";
function Qx(a, b) {
var c;
N(H(this), ["targetId:!string", "name:!string"], arguments);
var d = $r(a);
c = oc(d[b], this.g);
return c;
}
Qx.N = "internal.getRemoteConfigParameter";
function Rx(a) {
var b = "";
N(H(this), ["component:?string"], arguments), O(this, "get_url", a), (b = xh(zh(z.location.href), a));
return b;
}
Rx.M = "getUrl";
function Sx() {
O(this, "get_user_agent");
return z.navigator.userAgent;
}
Sx.M = "getUserAgent";
function Tx(a) {
if (!a) return {};
var b = a.vj;
return hn(b.type, b.index, b.name);
}
function Ux(a) {
return a ? { originatingEntity: Tx(a) } : {};
}
function Wx(a, b) {}
Wx.M = "gtagSet";
function Xx(a, b) {}
Xx.M = "injectHiddenIframe";
var Yx = {};
function $x(a, b, c, d) {}
var ay = Object.freeze({ dl: 1, id: 1 }),
by = {};
function cy(a, b, c, d) {}
$x.M = "injectScript";
cy.N = "internal.injectScript";
function dy(a) {
var b = !0;
return b;
}
dy.M = "isConsentGranted";
var ey = function () {
var a = Nf(function (b) {
this.g.g.log("error", b);
});
a.M = "JSON";
return a;
};
var fy = function () {
return !1;
},
gy = {
getItem: function (a) {
var b = null;
return b;
},
setItem: function (a, b) {
return !1;
},
removeItem: function (a) {},
};
var hy = ["textContent", "value", "tagName", "children", "childElementCount"];
function iy(a) {
var b;
return b;
}
iy.N = "internal.locateUserData";
function jy() {}
jy.M = "logToConsole";
function ky(a) {
var b = void 0;
if ("function" === typeof URL) {
var c;
a: {
var d;
try {
d = new URL(a);
} catch (x) {
c = void 0;
break a;
}
for (var e = {}, f = Array.from(d.searchParams), g = 0; g < f.length; g++) {
var h = f[g][0],
k = f[g][1];
e.hasOwnProperty(h) ? ("string" === typeof e[h] ? (e[h] = [e[h], k]) : e[h].push(k)) : (e[h] = k);
}
c = oc({
href: d.href,
origin: d.origin,
protocol: d.protocol,
username: d.username,
password: d.password,
host: d.host,
hostname: d.hostname,
port: d.port,
pathname: d.pathname,
search: d.search,
searchParams: e,
hash: d.hash,
});
}
return c;
}
var n;
try {
n = zh(a);
} catch (x) {
return;
}
if (!n.protocol || !n.host) return;
var p = {};
if (n.search)
for (var q = n.search.replace("?", "").split("&"), r = 0; r < q.length; r++) {
var t = q[r].split("="),
u = t[0],
v = decodeURIComponent(t.splice(1).join("="));
p.hasOwnProperty(u) ? ("string" === typeof p[u] ? (p[u] = [p[u], v]) : p[u].push(v)) : (p[u] = v);
}
n.searchParams = p;
n.origin = n.protocol + "//" + n.host;
n.username = "";
n.password = "";
b = oc(n);
return b;
}
ky.M = "parseUrl";
function ly(a) {}
ly.N = "internal.processAsNewEvent";
function my(a, b) {
var c = !1;
return c;
}
my.M = "queryPermission";
function ny() {
var a = "";
return a;
}
ny.M = "readCharacterSet";
function oy() {
var a = "";
return a;
}
oy.M = "readTitle";
function py(a, b) {
var c = this;
}
py.N = "internal.registerCcdCallback";
var qy = Object.freeze(["config", "event", "get", "set"]);
function ry(a, b, c) {}
ry.N = "internal.registerGtagCommandListener";
function sy(a, b) {
var c = !1;
return c;
}
sy.N = "internal.removeDataLayerEventListener";
function ty() {}
ty.M = "resetDataLayer";
function vy(a, b, c, d) {
N(H(this), ["target:!*", "eventName:!*", "eventParameters:?DustMap", "messageContext:?DustMap"], arguments);
var e = c ? pc(c) : {},
f = pc(a);
Array.isArray(f) || (f = [f]);
b = String(b);
var g = d ? pc(d) : {},
h = this.g.g;
for (var k = 0; k < f.length; k++) {
var n = f[k];
if ("string" === typeof n) {
var p = ni(n);
if (p) {
Vn(p.containerId, as());
var q = nc(e),
r = nc(g);
r.originatingEntity = Tx(h);
var t = Zn(n, b, q);
bo(t, h.eventId, r);
}
}
}
}
vy.N = "internal.sendGtagEvent";
function wy(a, b, c) {}
wy.M = "sendPixel";
function xy(a, b, c, d) {
var e = this;
d = void 0 === d ? !0 : d;
var f = !1;
return f;
}
xy.M = "setCookie";
var yy = !1;
yy = !0;
function zy(a) {
N(H(this), ["consentSettings:!DustMap"], arguments);
for (var b = a.Kb(), c = b.length(), d = 0; d < c; d++) {
var e = b.get(d);
e !== Q.Fe && O(this, "access_consent", e, "write");
}
var f = this.g.g,
g = f.eventId,
h = Ux(f);
if (yy) {
var k = Wn("consent", "default", pc(a));
bo(k, g, h);
} else Vi(pc(a));
}
zy.M = "setDefaultConsentState";
function Ay(a, b, c) {
return !1;
}
Ay.M = "setInWindow";
function By(a, b, c) {
N(H(this), ["targetId:!string", "name:!string", "value:!*"], arguments);
var d = jh(a) || {};
d[b] = pc(c, this.g);
var e = a;
hh || ih();
gh[e] = d;
}
By.N = "internal.setProductSettingsParameter";
function Cy(a, b, c) {
N(H(this), ["targetId:!string", "name:!string", "value:!*"], arguments);
for (var d = b.split("."), e = $r(a), f = 0; f < d.length - 1; f++) {
if (void 0 === e[d[f]]) e[d[f]] = {};
else if (!mc(e[d[f]])) throw Error("setRemoteConfigParameter failed, path contains a non-object type: " + d[f]);
e = e[d[f]];
}
e[d[f]] = pc(c, this.g);
}
Cy.N = "internal.setRemoteConfigParameter";
var Dy = function (a) {
for (var b = [], c = 0, d = 0; d < a.length; d++) {
var e = a.charCodeAt(d);
128 > e
? (b[c++] = e)
: (2048 > e
? (b[c++] = (e >> 6) | 192)
: (55296 == (e & 64512) && d + 1 < a.length && 56320 == (a.charCodeAt(d + 1) & 64512)
? ((e = 65536 + ((e & 1023) << 10) + (a.charCodeAt(++d) & 1023)), (b[c++] = (e >> 18) | 240), (b[c++] = ((e >> 12) & 63) | 128))
: (b[c++] = (e >> 12) | 224),
(b[c++] = ((e >> 6) & 63) | 128)),
(b[c++] = (e & 63) | 128));
}
return b;
};
function Ey(a, b, c, d) {
var e = this;
}
Ey.M = "sha256";
function Fy(a, b, c) {}
Fy.N = "internal.sortRemoteConfigParameters";
var Gy = {},
Hy = {};
Gy.M = "templateStorage";
Gy.getItem = function (a) {
var b = null;
return b;
};
Gy.setItem = function (a, b) {};
Gy.removeItem = function (a) {};
Gy.clear = function () {};
var Iy = function (a) {
var b;
return b;
};
var Jy = !1;
Jy = !0;
function Ky(a) {
N(H(this), ["consentSettings:!DustMap"], arguments);
var b = pc(a),
c;
for (c in b) b.hasOwnProperty(c) && O(this, "access_consent", c, "write");
var d = this.g.g,
e = d.eventId,
f = Ux(d);
Jy ? bo(Wn("consent", "update", b), e, f) : Xi(b, { eventId: e });
}
Ky.M = "updateConsentState";
var Ly = function () {
var a = new Xf(),
b = function (d) {
return Zf(a, d.N, d);
},
c = function (d) {
return a.add(d.M, d);
};
c(nv);
c(tv);
c(fw);
c(iw);
c(jw);
c(nw);
c(ow);
c(qw);
c(ey());
c(rw);
c(Hx);
c(Mx);
c(Nx);
c(Ox);
c(Rx);
c(Xx);
c($x);
c(dy);
c(jy);
c(ky);
c(my);
c(ny);
c(oy);
c(wy);
c(xy);
c(zy);
c(Ay);
c(Ey);
c(Gy);
c(Ky);
a.add("Math", xf());
a.add("Object", Vf);
a.add("TestHelper", $f());
a.add("assertApi", tf);
a.add("assertThat", uf);
a.add("decodeUri", yf);
a.add("decodeUriComponent", zf);
a.add("encodeUri", Af);
a.add("encodeUriComponent", Bf);
a.add("fail", Cf);
a.add("generateRandom", Hf);
a.add("getContainerVersion", If);
a.add("getTimestamp", Lf);
a.add("getTimestampMillis", Lf);
a.add("getType", Mf);
a.add("makeInteger", Of);
a.add("makeNumber", Pf);
a.add("makeString", Qf);
a.add("makeTableMap", Rf);
a.add("mock", Uf);
a.add("fromBase64", Gx, !("atob" in z));
a.add("localStorage", gy, !fy());
a.add("toBase64", Iy, !("btoa" in z));
b(Jv);
b(Qv);
b(Vv);
b(dw);
b(lw);
b(xx);
b(zx);
b(Jx);
b(cy);
b(iy);
b(ry);
b(vy);
Zf(a, "internal.getFlags", Kf);
c(Wx);
b(gw), b(Qx), b(Cy), b(Fy), b(Lx), b(By);
b(qv);
b(Cw);
b(Hw);
b(Mw);
b(Vw);
b(Zw);
b(jx);
b(wx);
b(sy);
b(Ix);
b(Px);
return function (d) {
var e;
if (a.g.hasOwnProperty(d)) e = a.get(d, this);
else {
var f;
if ((f = a.o.hasOwnProperty(d))) {
var g = !1,
h = this.g.g;
if (h) {
var k = h.gd();
if (k) {
0 !== k.indexOf("__cvt_") && (g = !0);
}
}
f = g;
}
if (f) {
var n = a.o.hasOwnProperty(d) ? a.o[d] : void 0;
e = n;
} else throw Error(d + " is not a valid API name.");
}
return e;
};
};
var My = function () {
return !1;
},
Ny = function () {
var a = {};
return function (b, c, d) {};
};
var Oy;
function Py() {
var a = Oy;
return function (b, c, d) {
var e = d && d.event;
Qy(c);
var f = new gb();
Ka(c, function (q, r) {
var t = oc(r);
void 0 === t && void 0 !== r && jg(44);
f.set(q, t);
});
a.g.g.I = ze();
var g = {
gj: Me(b),
eventId: void 0 !== e ? e.id : void 0,
priorityId: void 0 !== e ? e.priorityId : void 0,
he:
void 0 !== e
? function (q) {
return e.xb.he(q);
}
: void 0,
gd: function () {
return b;
},
log: function () {},
vj: { index: d && d.index, type: d && d.type, name: d && d.name },
};
if (My()) {
var h = Ny(),
k = void 0,
n = void 0;
g.Xa = {
dg: [],
Yc: {},
Ya: function (q, r, t) {
1 === r && (k = q);
7 === r && (n = t);
h(q, r, t);
},
Qf: Sf(),
};
g.log = function (q, r) {
if (k) {
var t = Array.prototype.slice.call(arguments, 1);
h(k, 4, { level: q, source: n, message: t });
}
};
}
var p = Jd(a, g, [b, f]);
a.g.g.I = void 0;
p instanceof na && "return" === p.g && (p = p.o);
return pc(p);
};
}
function Qy(a) {
var b = a.gtmOnSuccess,
c = a.gtmOnFailure;
Ca(b) &&
(a.gtmOnSuccess = function () {
K(b);
});
Ca(c) &&
(a.gtmOnFailure = function () {
K(c);
});
}
function Ry() {
Oy.g.g.U = function (a, b, c) {
S.SANDBOXED_JS_SEMAPHORE = S.SANDBOXED_JS_SEMAPHORE || 0;
S.SANDBOXED_JS_SEMAPHORE++;
try {
return a.apply(b, c);
} finally {
S.SANDBOXED_JS_SEMAPHORE--;
}
};
}
function Sy(a) {
void 0 !== a &&
Ka(a, function (b, c) {
for (var d = 0; d < c.length; d++) {
var e = c[d].replace(/^_*/, "");
Ug[e] = Ug[e] || [];
Ug[e].push(b);
}
});
}
var Ty = encodeURI,
X = encodeURIComponent,
Uy = Pb;
var Vy = function (a, b) {
if (!a) return !1;
var c = xh(zh(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;
0 < f && "." != e.charAt(0) && (f--, (e = "." + e));
if (0 <= f && c.indexOf(e, f) == f) return !0;
}
}
return !1;
},
Wy = function (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 fA = !1;
fA = !0;
var gA = !1;
gA = !0;
var hA = !1;
hA = !0;
var iA = {};
iA[Q.hc] = "";
iA[Q.La] = "";
iA[Q.Ra] = "";
iA[Q.ra] = "auto";
iA[Q.qb] = "/";
iA[Q.za] = 63072e3;
iA[Q.Sc] = 30;
iA[Q.Vd] = 1e4;
iA[Q.Ma] = !0;
var jA = function (a, b, c, d, e) {
gq.call(this, a, b, d);
this.o = c;
this.aa = d.eventModel;
this.Sg = d.containerConfig;
fA || ((this.I = d.getWithConfig(Q.ya) ? 1 : 8), (this.Vg = this.sc = !1));
fA || (this.lf = d.getWithConfig(Q.rb) ? 1 : 8);
this.C = e;
this.U = this.kf = this.hh = this.B = this.Xg = !1;
this.Tb = 0;
this.Cb = !1;
this.Pa = 0;
this.eh = this.g = this.qf = void 0;
hA || (this.Zg = !1);
gA || (this.Tg = this.Ug = void 0);
};
ka(jA, gq);
l = jA.prototype;
l.ie = function (a, b) {
void 0 === this.D(a) && (this.aa[a] = b);
};
l.D = function (a) {
return void 0 !== this.aa[a] ? this.aa[a] : void 0 !== this.s.getWithConfig(a) ? this.s.getWithConfig(a) : void 0 !== this.C[a] ? this.C[a] : iA[a];
};
l.getRemoteConfig = function (a) {
return void 0 !== this.s.remoteConfig[a] ? this.s.remoteConfig[a] : this.C[a];
};
l.Rb = function (a) {
var b = iq(this, Q.Nd, this.C[Q.Nd]);
if (b && void 0 !== b[a || this.eventName]) return b[a || this.eventName];
};
l.Ah = function () {
var a;
a = fA ? this.metadata.user_data : this.D(Q.va);
if ("object" === typeof a) return a;
};
l.Ch = function () {
return !!this.Ah();
};
l.abort = function () {
throw "ABORT";
};
l.Ea = function () {
return !((!0 !== this.D(Q.Oc) && "true" !== this.D(Q.Oc)) || !this.D(Q.ca));
};
var kA = !1,
lA = function (a) {
var b = a.eventName === Q.Jc && Li() && a.Ea(),
c = a.metadata.is_conversion || a.Cb,
d = a.metadata.is_session_start || a.B,
e = a.metadata.create_dc_join || a.kf,
f = a.metadata.create_google_join || a.U,
g = (a.g || a.metadata.euid_mode_enabled) && a.Ch();
return !(!Eb.sendBeacon || c || g || d || e || f || b || kA);
};
var mA = function (a) {
gg("GA4_EVENT", a);
};
var oA = function (a) {
return !a || nA.test(a) || Q.Oi.hasOwnProperty(a);
},
pA = function (a, b, c) {
for (var d = c.event_param_ops || [], e = 0; e < d.length; e++) {
var f = d[e];
if (f.edit_param) {
var g = f.edit_param.param_name,
h = Bx(a, b, f.edit_param.param_value),
k;
if (h) {
var n = Number(h);
k = isNaN(n) ? h : n;
} else k = h;
b[g] = k;
} else f.delete_param && delete b[f.delete_param.param_name];
}
},
nA = /^(_|ga_|google_|gtag\.|firebase_).*$/;
var qA = function (a) {
var b = 0,
c = 0;
return {
start: function () {
b = Ra();
},
stop: function () {
c = this.get();
},
get: function () {
var d = 0;
a.Mf() && (d = Ra() - b);
return d + c;
},
};
},
rA = !1;
rA = !0;
var sA = function () {
this.g = void 0;
this.o = 0;
this.isActive = this.isVisible = this.B = !1;
this.I = this.C = void 0;
};
l = sA.prototype;
l.Qi = function (a) {
var b = this;
if (!this.g) {
this.B = I.hasFocus();
this.isVisible = !I.hidden;
this.isActive = !0;
var c = function (d, e, f) {
Qb(d, e, function (g) {
b.g.stop();
f(g);
b.Mf() && b.g.start();
});
};
c(z, "focus", function () {
b.B = !0;
});
c(z, "blur", function () {
b.B = !1;
});
c(z, "pageshow", function (d) {
b.isActive = !0;
d.persisted && jg(56);
b.I && b.I();
});
c(z, "pagehide", function () {
b.isActive = !1;
b.C && b.C();
});
c(I, "visibilitychange", function () {
b.isVisible = !I.hidden;
});
a.Ea() &&
-1 === (Eb.userAgent || "").indexOf("Firefox") &&
-1 === (Eb.userAgent || "").indexOf("FxiOS") &&
c(z, "beforeunload", function () {
kA = !0;
});
this.ag();
this.o = 0;
}
};
l.ag = function () {
this.o += this.ve();
this.g = qA(this);
this.Mf() && this.g.start();
};
l.Hk = function (a) {
var b = this.ve();
if (rA && 0 < b) {
a.F[Q.Md] = b;
return;
}
a.Pa = b;
};
l.Hj = function (a) {
rA ? (a.F[Q.Md] = void 0) : (a.Pa = 0);
this.ag();
this.o = 0;
};
l.Mf = function () {
return this.B && this.isVisible && this.isActive;
};
l.Ej = function () {
return this.o + this.ve();
};
l.ve = function () {
return (this.g && this.g.get()) || 0;
};
l.qk = function (a) {
this.C = a;
};
l.Ph = function (a) {
this.I = a;
};
function tA() {
var a = z;
return (a.gaGlobal = a.gaGlobal || {});
}
var uA = function () {
var a = tA();
a.hid = a.hid || Ga();
return a.hid;
},
vA = function (a, b) {
var c = tA();
if (void 0 == c.vid || (b && !c.from_cookie)) (c.vid = a), (c.from_cookie = b);
};
var xA = function (a, b, c) {
if (wA) {
var d = a.metadata.client_id_source;
if (void 0 === d || c <= d) (a.F[Q.ya] = b), (a.aa[Q.ya] = void 0), (a.metadata.client_id_source = c);
} else c <= a.I && ((a.aa[Q.ya] = b), (a.I = c));
},
BA = function (a, b) {
var c;
var d = yA(b),
e = String(b.D(Q.ra)),
f = String(b.D(Q.qb)),
g = Number(b.D(Q.za)),
h = b.D(Q.Gb),
k = { nb: Q.T, domain: e, path: f, expires: g ? new Date(Ra() + 1e3 * g) : void 0, flags: "" + b.D(Q.Ra) };
if (!1 === h && zA(b) === a) c = !0;
else {
var n = yj(a, AA[0], e, f);
c = 1 !== qj(d, n, k);
}
return c;
},
zA = function (a) {
var b = yA(a),
c = "" + a.D(Q.ra),
d = "" + a.D(Q.qb),
e = xj(b, c, d, AA, Q.T);
if (!e) {
var f = String(a.D(Q.hc));
f && f != b && (e = xj(f, c, d, AA, Q.T));
}
return e;
},
yA = function (a) {
return String(a.D(Q.La)) + "_ga";
},
wA = !1;
wA = !0;
var AA = ["GA1"];
var EA = function (a, b) {
var c = CA(b),
d = String(b.D(Q.ra)),
e = String(b.D(Q.qb)),
f = Number(b.D(Q.za)),
g = yj(a, DA[0], d, e),
h = { nb: Q.T, domain: d, path: e, expires: f ? new Date(Ra() + 1e3 * f) : void 0, flags: String(b.D(Q.Ra)) };
return 1 !== qj(c, g, h);
},
FA = function (a) {
var b = CA(a),
c = String(a.D(Q.ra)),
d = String(a.D(Q.qb));
return xj(b, c, d, DA, Q.T);
},
GA = function (a, b, c, d, e, f, g) {
if (a && b) {
var h = [a, b, Ma(c), d, e];
return h.join(".");
}
},
HA = !1;
HA = !0;
var DA = ["GS1"],
CA = function (a) {
return String(a.D(Q.La)) + "_ga_" + a.Da.substr(2);
},
IA = function (a) {
return HA ? GA(a.F[Q.vb], a.F[Q.Uc], a.F[Q.Tc], a.o, a.metadata.join_timer_sec || 0, !!a.metadata[Q.Nc], a.F[Q.rb]) : GA(a.aa[Q.vb], a.aa[Q.Uc], a.aa[Q.Tc], a.o, a.Tb, !!a.aa[Q.Nc], a.aa[Q.rb]);
};
var JA = function (a) {
var b = a.D(Q.sa),
c = a.getRemoteConfig(Q.sa);
if (c === b) return c;
var d = nc(b);
c && c[Q.V] && (d[Q.V] = (d[Q.V] || []).concat(c[Q.V]));
return d;
},
KA = function (a, b) {
var c = hk(!0);
return "1" !== c._up ? {} : { clientId: c[a], Sh: c[b] };
},
LA = function (a, b, c) {
var d = hk(!0),
e = d[b];
e && (xA(a, e, 2), BA(e, a));
var f = d[c];
f && EA(f, a);
return !(!e || !f);
},
MA = !1;
MA = !0;
var NA = !1;
NA = !0;
var OA = !1,
PA = function (a) {
var b = JA(a) || {},
c = yA(a),
d = CA(a);
qk(b[Q.mc], !!b[Q.V]) && LA(a, c, d) && (OA = !0);
b[Q.V] &&
nk(
function () {
var e = {},
f = zA(a);
f && (e[c] = f);
var g = FA(a);
g && (e[d] = g);
var h = hj("FPLC", void 0, void 0, Q.T);
h.length && (e._fplc = h[0]);
return e;
},
b[Q.V],
b[Q.Qc],
!!b[Q.nc]
);
},
RA = function (a) {
if (!a.D(Q.jb)) return {};
var b = yA(a),
c = CA(a);
ok(function () {
var d;
if (Yi("analytics_storage")) d = {};
else {
var e = {};
d = ((e._up = "1"), (e[b] = MA ? a.F[Q.ya] : a.aa[Q.ya]), (e[c] = IA(a)), e);
}
return d;
}, 1);
return !Yi("analytics_storage") && QA() ? KA(b, c) : {};
},
QA = function () {
var a = wh(z.location, "host"),
b = wh(zh(I.referrer), "host");
return a && b ? (a === b || 0 <= a.indexOf("." + b) || 0 <= b.indexOf("." + a) ? !0 : !1) : !1;
},
SA = function (a) {
if (!a) return a;
var b = String(a);
b = gk(b);
return (b = gk(b, "_ga"));
};
var TA = function (a) {
var b = !1;
return b;
};
var UA = function () {
var a = Ra(),
b = a + 864e5,
c = 20,
d = 5e3;
return function () {
var e = Ra();
e >= b && ((b = e + 864e5), (d = 5e3));
if (1 > d) return !1;
c = Math.min(c + ((e - a) / 1e3) * 5, 20);
a = e;
if (1 > c) return !1;
d--;
c--;
return !0;
};
};
var VA = function (a) {
return xh(zh(a.F[Q.ub]), "host", !0);
},
WA = !1;
WA = !0;
var XA = "" + Ga(),
YA = !1,
ZA = void 0;
var $A = function () {
if (Ca(z.__uspapi)) {
var a = "";
try {
z.__uspapi("getUSPData", 1, function (b, c) {
if (c && b) {
var d = b.uspString;
d && RegExp("^[\\da-zA-Z-]{1,20}$").test(d) && (a = d);
}
});
} catch (b) {}
return a;
}
};
var aB = function (a, b) {
if (b.Ea()) {
var c = $A();
c && (a.us_privacy = c);
var d = hp();
d && (a.gdpr = d);
var e = gp();
e && (a.gdpr_consent = e);
}
},
cB = function (a, b) {
if (Li()) {
a.gcs = Zi();
var c = bB ? b.metadata.is_consent_update : b.Ug;
c && (a.gcu = "1");
if (b.Ea()) {
Mi() && (a.gcd = "G1" + Ti(Ji));
var d = b.D(Q.ia);
a.adr = void 0 !== d && !1 !== d ? "1" : "0";
if (c) {
var e;
bB ? (e = b.metadata.consent_update_type) : (e = b.Tg);
a.gcut = Q.Ge[e || ""];
}
}
}
},
dB = function (a, b, c) {
void 0 === c && (c = {});
if ("object" === typeof b) for (var d in b) dB(a + "." + d, b[d], c);
else c[a] = b;
return c;
},
gB = function (a) {
var b = Mn(a.D(Q.ca), "/g/collect");
if (b) return b;
var c = iq(a, Q.sb, a.D(Q.sb));
return c && !iq(a, Q.Pc, !1) && !1 !== a.D(Q.Lc) && Xq() && Yi(Q.H) && Yi(Q.T) ? eB() : fB();
},
hB = !1;
hB = !0;
var bB = !1;
bB = !0;
var iB = !1;
iB = !0;
var jB = "",
kB = !1;
kB = !0;
var lB = {};
lB[Q.Mi] = "tid";
lB[Q.ya] = "cid";
lB[Q.hb] = "ul";
lB[Q.We] = "_fid";
lB[Q.ef] = "tt";
lB[Q.Sd] = "ir";
lB[Q.df] = "sr";
lB[Q.Ag] = "gdid";
(lB[Q.cf] = "_rdi"), (lB[Q.zg] = "_geo");
lB[Q.Rg] = "gtm_up";
lB[Q.Qg] = "_glv";
var mB = {};
mB[Q.vb] = "sid";
mB[Q.Uc] = "sct";
mB[Q.Tc] = "seg";
mB[Q.tb] = "dl";
mB[Q.ub] = "dr";
mB[Q.Td] = "dt";
mB[Q.Aa] = "cu";
mB[Q.Ta] = "uid";
mB[Q.Gd] = "cc";
mB[Q.Hd] = "ci";
mB[Q.Id] = "cm";
mB[Q.Jd] = "cn";
mB[Q.Kd] = "cs";
mB[Q.Ld] = "ck";
var nB = {};
nB[Q.Md] = "_et";
nB[Q.yg] = "edid";
var oB = {};
oB[Q.Gd] = "cc";
oB[Q.Hd] = "ci";
oB[Q.Id] = "cm";
oB[Q.Jd] = "cn";
oB[Q.Kd] = "cs";
oB[Q.Ld] = "ck";
var fB = function () {
var a = "www";
kB && jB && (a = jB);
return "https://" + a + ".google-analytics.com/g/collect";
},
eB = function () {
var a;
kB && jB && (a = jB);
return "https://" + (a ? a + "." : "") + "analytics.google.com/g/collect";
},
pB = function (a, b, c) {
function d(A, B) {
if (void 0 !== B && !Q.Ng.hasOwnProperty(A)) {
null === B && (B = "");
var E = B;
!0 === B && (E = "1");
!1 === B && (E = "0");
var F;
if (lB[A]) (F = lB[A]), (e[F] = Se(E, 420));
else if (mB[A]) (F = mB[A]), (g[F] = Se(E, 420));
else if (nB[A]) (F = nB[A]), (f[F] = Se(E, 420));
else if ("_" === A.charAt(0)) e[A] = Se(E, 420);
else {
var D;
(D = u(A, B)) || (oB[A] ? (D = !0) : A !== Q.Mc ? (D = !1) : ("object" !== typeof B && t(A, B), (D = !0)));
D || t(A, B);
}
}
}
var e = {},
f = {},
g = {};
e.v = "2";
e.tid = a.Da;
e.gtm = ol();
e._p = uA();
a.qf && (e._z = a.qf);
c && (e.em = c);
if (hB ? a.metadata.create_google_join : a.U) e._gaz = 1;
cB(e, a);
aB(e, a);
a.eh && !hB && (e.gtm_up = "1");
a.Ea() && a.Zg && !iB && (e._glv = "1");
var h = a.F[Q.Uk];
h && (e.gdid = h);
f.en = Se(a.eventName, 40);
var k = hB ? a.metadata.is_first_visit_conversion : a.Xg;
hB ? a.metadata.is_first_visit && (f._fv = k ? 2 : 1) : a.sc && (f._fv = k ? 2 : 1);
hB ? a.metadata.is_new_to_site && (f._nsi = 1) : a.Vg && (f._nsi = 1);
var n = hB ? a.metadata.is_session_start_conversion : a.hh;
hB ? a.metadata.is_session_start && (f._ss = n ? 2 : 1) : a.B && (f._ss = n ? 2 : 1);
hB ? a.metadata.is_conversion && (f._c = 1) : a.Cb && (f._c = 1);
a.metadata.is_external_event && (f._ee = 1);
0 < a.Pa && !hB && (f._et = a.Pa);
if (a.metadata.is_ecommerce) {
var p = a.F[Q.da] || a.D(Q.da);
if (Ea(p)) for (var q = 0; q < p.length && 200 > q; q++) f["pr" + (q + 1)] = Xe(p[q]);
}
var r = a.F[Q.Tk];
r && (f.edid = r);
for (
var t = function (A, B) {
A = Se(A, 40);
var C = "ep." + A,
E = "epn." + A;
A = Da(B) ? E : C;
var F = Da(B) ? C : E;
f.hasOwnProperty(F) && delete f[F];
f[A] = Se(B, 100);
},
u = function (A, B) {
var C = A.split(".");
if (A === Q.va && "object" !== typeof B) return t(A, B), !0;
if (C[0] === Q.va) {
if ((1 < C.length || "object" === typeof B) && a.Ea()) {
var E = dB(A, B);
Ka(E, function (F, D) {
return void t(F, D);
});
}
return !0;
}
return !1;
},
v = 0;
v < Q.Mg.length;
++v
) {
var x = Q.Mg[v];
d(x, a.D(x));
}
Ka(a.Sg, d);
Ka(a.aa, d);
Ka(a.F, d);
a.metadata.user_data && u("user_data", a.metadata.user_data);
var y = a.F[Q.Ua] || a.D(Q.Ua) || {};
(!1 !== a.D(Q.ba) && Yq()) || (y._npa = "1");
Ka(y, function (A, B) {
if (void 0 !== B)
if ((null === B && (B = ""), A === Q.Ta && !g.uid)) g.uid = Se(B, 36);
else if (b[A] !== B) {
var C = (Da(B) ? "upn." : "up.") + Se(A, 24);
f[C] = Se(B, 36);
b[A] = B;
}
});
ki[17] && a.Ea() && d("_uc", wi.zf);
var w = !1;
return Ze.call(this, { Fa: e, Wb: g, aa: f }, gB(a), a.Ea(), w) || this;
};
ka(pB, Ze);
var qB = function (a, b) {
return a.replace(/\$\{([^\}]+)\}/g, function (c, d) {
return b[d] || c;
});
},
rB = function (a) {
var b = a.search;
return a.protocol + "//" + a.hostname + a.pathname + (b ? b + "&richsstsse" : "?richsstsse");
},
sB = function (a) {
var b = {},
c = "",
d = a.pathname.indexOf("/g/collect");
0 <= d && (c = a.pathname.substring(0, d));
b.transport_url = a.protocol + "//" + a.hostname + c;
return b;
},
tB = function (a, b) {
var c = new z.XMLHttpRequest();
c.withCredentials = !0;
var d = b ? "POST" : "GET",
e = "",
f = 0,
g = zh(a),
h = sB(g),
k = rB(g);
c.onprogress = function (n) {
if (200 === c.status) {
e += c.responseText.substring(f);
f = n.loaded;
for (var p = qB(e, h), q = p.indexOf("\n\n"); -1 !== q; ) {
var r;
a: {
var t,
u = p.substring(0, q).split("\n"),
v = "undefined" != typeof Symbol && Symbol.iterator && u[Symbol.iterator];
t = v ? v.call(u) : { next: aa(u) };
var x = t.next().value,
y = t.next().value;
if (x.startsWith("event: message") && y.startsWith("data: "))
try {
r = JSON.parse(y.substring(y.indexOf(":") + 1));
break a;
} catch (M) {}
r = void 0;
}
var w = r;
if (w) {
var A = w.send_pixel || [];
if (Array.isArray(A))
for (var B = 0; B < A.length; B++) {
var C = A[B],
E = Oo("", 0);
if (1 === E) {
var F = Math.floor(2 * Math.random()) + 1,
D,
L = C,
J = F,
P = 0 < L.indexOf("?") ? "&" : "?";
D = "" + L + P + "gtmexpsb=" + J;
2 === F ? Wb(D) : Pb(D);
} else 2 === E ? Wb(C) : Pb(C);
}
var T = w.send_beacon || [];
if (Array.isArray(T)) for (var R = 0; R < T.length; R++) Wb(T[R]);
}
p = p.substring(q + 2);
q = p.indexOf("\n\n");
}
e = p;
}
};
c.open(d, k);
c.send(b);
};
var wB = function (a, b, c, d) {
var e = a + "?" + b;
uB && (d = !(0 === e.indexOf(fB()) || 0 === e.indexOf(eB())));
d && !kA ? tB(e, c) : vB(a, b, c);
},
xB = function (a) {},
uB = !1;
var yB = !1;
yB = !0;
var zB = function () {
this.C = 1;
this.I = {};
this.g = new $e();
this.o = -1;
};
zB.prototype.B = function (a, b) {
var c = this,
d;
try {
d = new pB(a, this.I, b);
} catch (v) {
a.abort();
}
var e = lA(a);
(e && this.g.C(d)) || this.flush();
if (e && this.g.add(d)) {
if (0 > this.o) {
var f = z,
g = f.setTimeout,
h;
a.Ea() ? (AB ? ((AB = !1), (h = BB)) : (h = CB)) : (h = 5e3);
this.o = g.call(
f,
function () {
return c.flush();
},
h
);
}
} else {
var k = bf(d, this.C++);
wB(d.g, k.Vf, k.body, d.C);
var n = a.metadata.create_dc_join || a.kf,
p = a.metadata.create_google_join || a.U,
q = !1 !== a.D(Q.xa),
r = !1 !== a.D(Q.ba),
t = { eventId: a.s.eventId, priorityId: a.s.priorityId },
u = { yk: n, zk: p, Gj: String(iq(a, Q.Qd, a.D(Q.Qd))), tf: q, dj: r, Kj: iq(a, Q.Pc, !1), bl: t };
DB(d, u);
}
};
zB.prototype.add = function (a) {
(yB ? a.metadata.euid_mode_enabled : a.g) && !kA ? this.U(a) : this.B(a);
};
zB.prototype.flush = function () {
if (this.g.events.length) {
var a = cf(this.g, this.C++);
wB(this.g.g, a.Vf, a.body, this.g.o);
this.g = new $e();
0 <= this.o && (z.clearTimeout(this.o), (this.o = -1));
}
};
zB.prototype.U = function (a) {
var b = this,
c = a.Ah();
c
? Bg(c, function (d) {
b.B(a, 1 === d.split("~").length ? void 0 : d);
})
: this.B(a);
};
var DB = function (a, b) {
function c(r) {
p.push(r + "=" + encodeURIComponent("" + a.Fa[r]));
}
var d = b.yk,
e = b.zk,
f = b.Gj,
g = b.tf,
h = b.dj,
k = b.Kj,
n = b.Ak;
if (d || e || n) {
var p = [];
c("tid");
c("cid");
c("gtm");
p.push("aip=1");
a.Wb.uid && p.push("uid=" + encodeURIComponent("" + a.Wb.uid));
d && (vB("https://stats.g.doubleclick.net/g/collect", "v=2&" + p.join("&")), Si("https://stats.g.doubleclick.net/g/collect?v=2&" + p.join("&")));
if (e) {
p.push("z=" + Ga());
if (!k) {
var q = f && 0 === f.indexOf("google.") && "google.com" != f ? "https://www.%/ads/ga-audiences?v=1&t=sr&slf_rd=1&_r=4&".replace("%", f) : void 0;
q && Pb(q + p.join("&"));
}
}
n && xB(a);
}
},
vB = function (a, b, c) {
var d = a + "?" + b;
c ? Eb.sendBeacon && Eb.sendBeacon(d, c) : Wb(d);
},
BB = Oo("", 500),
CB = Oo("", 5e3),
AB = !0;
var EB = window,
FB = document,
GB = function (a) {
var b = EB._gaUserPrefs;
if ((b && b.ioo && b.ioo()) || (a && !0 === EB["ga-disable-" + a])) return !0;
try {
var c = EB.external;
if (c && c._gaUserPrefs && "oo" == c._gaUserPrefs) return !0;
} catch (f) {}
for (var d = dj("AMP_TOKEN", String(FB.cookie), !0), e = 0; e < d.length; e++) if ("$OPT_OUT" == d[e]) return !0;
return FB.getElementById("__gaOptOutExtension") ? !0 : !1;
};
var HB = {};
var IB = function (a, b, c) {
c || (c = function () {});
var d = function (e) {
void 0 !== e[b] && (e[b] = c(e[b]));
};
d(a.F);
d(a.aa);
d(a.Sg);
d(a.s.globalConfig);
},
KB = function (a, b) {
var c = Q.H;
Yi(c) ||
aj(function () {
JB[11] ? ((b.metadata.is_consent_update = !0), (b.metadata.consent_update_type = c)) : ((b.Ug = !0), (b.Tg = c));
a.jh(b);
}, c);
},
JB = { 0: !0, 9: !0, 6: !0, 5: !0, 10: !0, 3: !0, 2: !0 };
JB[1] = !0;
JB[8] = !0;
JB[11] = !0;
JB[12] = !0;
var LB = !1;
HB.Ni = "";
var MB = {},
NB = ((MB[Q.Gd] = !0), (MB[Q.Hd] = !0), (MB[Q.Id] = !0), (MB[Q.Jd] = !0), (MB[Q.Kd] = !0), (MB[Q.Ld] = !0), MB),
OB = function (a, b) {
this.I = a;
this.sc = b;
this.Pa = new zB();
this.g = void 0;
this.C = new sA();
this.o = this.B = void 0;
this.U = !1;
this.Cb = void 0;
};
l = OB.prototype;
l.jk = function (a, b, c) {
var d = this,
e = c.eventModel[Q.qc] || c.eventMetadata.is_external_event;
if (!e || "_" !== a.charAt(0)) {
if (ki[14] || e) a !== Q.Ja && a !== Q.Qa && oA(a) && jg(58), PB(c);
var f = new jA(this.I, a, b, c, this.sc),
g = [Q.T],
h = !1;
h = f.Ea();
(iq(f, Q.sb, f.D(Q.sb)) || h) && g.push(Q.H);
bj(function () {
d.kk(f);
}, g);
}
};
l.kk = function (a) {
var b, c;
this.o = a;
try {
GB(a.Da) && (jg(28), a.abort());
0 <= HB.Ni.replace(/\s+/g, "").split(",").indexOf(a.eventName) && (jg(33), a.abort());
var d = a.Rb();
d && d.blacklisted && (jg(34), a.abort());
var e = I.location.protocol;
"http:" != e && "https:" != e && (jg(29), a.abort());
Eb && "preview" == Eb.loadPurpose && (jg(30), a.abort());
var f = S.grl;
f || ((f = UA()), (S.grl = f));
f() || (jg(35), a.abort());
QB(a);
this.Ri(a);
this.C.Hk(a);
var k = this.Nh,
n;
!a.D(Q.jb) || Yi(Q.T) || (MA ? a.s.getWithConfig(Q.ya) : 1 === a.I) || (MA ? (a.F[Q.Rg] = !0) : (a.eh = !0));
var p;
var q;
q = void 0 === q ? 3 : q;
var r = z.location.href;
if (r) {
var t = zh(r).search.replace("?", ""),
u = uh(t, "_gl", !1, !0) || "";
p = u ? void 0 !== ik(u, q) : !1;
} else p = !1;
var v = p;
NA ? v && a.Ea() && (a.F[Q.Qg] = !0) : (a.Zg = v);
a.eventName === Q.Ja ? (a.D(Q.jb) && Ok(["aw", "dc"]), PA(a), (n = RA(a))) : (n = {});
k.call(this, n);
a.eventName == Q.Ja && (a.D(Q.Ma) || a.abort(), a.s.eventModel[Q.Z] && ((a.s.containerConfig[Q.Z] = a.s.eventModel[Q.Z]), (a.s.eventModel[Q.Z] = void 0), JB[8] && (a.F[Q.Z] = void 0)), (a.eventName = Q.Jc));
var x = ab(a.s.getMergedValues(Q.Z, 1), ".");
x && (a.F[Q.Ag] = x);
var y = ab(a.s.getMergedValues(Q.Z, 2), ".");
y && (a.F[Q.yg] = y);
var w = this.g,
A = this.B,
B = this.C,
C = FA(a);
C || (C = A);
var E = Ma(a.D(Q.Sc)),
F;
F = Ma(a.D(Q.Vd));
var D;
a: {
if (C) {
var L = C.split(".");
if (!(5 > L.length || 7 < L.length)) {
D = { sessionId: L[0], ze: Number(L[1]), ud: !!Number(L[2]), Nf: Number(L[3]), Tb: Number(L[4] || 0), Ub: "1" === L[5], se: "0" !== L[6] ? L[6] : void 0 };
break a;
}
}
D = void 0;
}
HA && ((a.metadata.is_first_visit = !1), (a.metadata.is_session_start = !1), (a.metadata.join_timer_sec = 0));
if (D && D.Tb) {
var J = Math.max(0, D.Tb - Math.max(0, a.o - D.Nf));
HA ? (a.metadata.join_timer_sec = J) : (a.Tb = J);
}
var P = !1;
D || (HA ? (a.metadata.is_first_visit = !0) : (a.sc = !0), (P = !0), (D = { sessionId: String(a.o), ze: 1, ud: !1, Nf: a.o, Ub: !1, se: void 0 }));
a.o > D.Nf + 60 * E && ((P = !0), (D.sessionId = String(a.o)), D.ze++, (D.ud = !1), (D.se = void 0));
if (P) HA ? (a.metadata.is_session_start = !0) : (a.B = !0), B.Hj(a);
else if (B.Ej() > F || a.eventName == Q.Jc) D.ud = !0;
if (HA) {
hq(a, Q.vb, D.sessionId);
hq(a, Q.Uc, D.ze);
hq(a, Q.Tc, D.ud ? 1 : 0);
} else {
a.ie(Q.vb, D.sessionId);
a.ie(Q.Uc, D.ze);
a.ie(Q.Tc, D.ud ? 1 : 0);
}
var xa = a.D(Q.ya),
va;
wA ? ((a.metadata.is_new_to_site = !1), (va = xa ? 1 : 8)) : (va = a.I);
xa || ((xa = zA(a)), (va = 3));
xa || ((xa = w), (va = 5));
if (!xa) {
var Ia = Yi(Q.T),
Va = tA();
xa = !Va.from_cookie || Ia ? Va.vid : void 0;
va = 6;
}
xa ? (xa = "" + xa) : ((xa = uj()), (va = 7), wA ? (a.metadata.is_first_visit = a.metadata.is_new_to_site = !0) : (a.sc = a.Vg = !0));
xA(a, xa, va);
SB(a);
var rc = "",
Nb = I.location;
if (Nb) {
var fd = Nb.pathname || "";
"/" != fd.charAt(0) && (fd = "/" + fd);
rc = Nb.protocol + "//" + Nb.hostname + fd + Nb.search;
}
hq(a, Q.tb, rc);
var XB = Q.ub,
Jh;
a: {
var gt = hj("_opt_expid", void 0, void 0, Q.T)[0];
if (gt) {
var ht = decodeURIComponent(gt).split("$");
if (3 === ht.length) {
Jh = ht[2];
break a;
}
}
if (void 0 !== S.ga4_referrer_override) Jh = S.ga4_referrer_override;
else {
var it = ah("gtm.gtagReferrer." + a.Da);
Jh = it ? "" + it : I.referrer;
}
}
hq(a, XB, Jh || void 0);
hq(a, Q.Td, I.title);
hq(a, Q.hb, (Eb.language || "").toLowerCase());
var Kh = z.screen;
b = Kh ? Kh.width : 0;
c = Kh ? Kh.height : 0;
hq(a, Q.df, b + "x" + c);
JB[1] && ((a.metadata.create_dc_join = !1), (a.metadata.create_google_join = !1));
if (!1 !== a.D(Q.Lc) && Xq() && Yi(Q.H)) {
var Df = iq(a, Q.sb, a.D(Q.sb));
if ((JB[1] ? a.metadata.is_session_start : a.B) || a.D(Q.Xe)) {
JB[1] ? (a.metadata.create_dc_join = !!Df) : (a.kf = !!Df);
}
var Al;
JB[1] ? (Al = a.metadata.join_timer_sec) : (Al = a.Tb);
var YB = Al;
Df && 0 === (YB || 0) && (JB[1] ? ((a.metadata.join_timer_sec = 60), (a.metadata.create_google_join = !0)) : ((a.Tb = 60), (a.U = !0)));
}
TB(a);
Q.Og.hasOwnProperty(a.eventName) && ((a.metadata.is_ecommerce = !0), hq(a, Q.da), hq(a, Q.Aa));
hq(a, Q.ef);
for (var jt = a.D(Q.Ye) || [], Bl = 0; Bl < jt.length; Bl++) {
var kt = jt[Bl];
if (kt.rule_result) {
hq(a, Q.ef, kt.traffic_type);
mA(3);
break;
}
}
if (a.D(Q.ca)) {
var lt = JA(a) || {},
$B = (qk(lt[Q.mc], !!lt[Q.V]) ? hk(!0)._fplc : void 0) || (0 < hj("FPLC", void 0, void 0, Q.T).length ? void 0 : "0");
a.F._fplc = $B;
}
if (void 0 !== a.D(Q.Sd)) hq(a, Q.Sd);
else {
var mt = a.D(Q.Ud),
Cl,
Lh;
a: {
if (OA) {
var Dl = JA(a) || {};
if (Dl && Dl[Q.V])
for (var nt = VA(a), Mh = Dl[Q.V], Ef = 0; Ef < Mh.length; Ef++)
if (Mh[Ef] instanceof RegExp) {
if (Mh[Ef].test(nt)) {
Lh = !0;
break a;
}
} else if (0 <= nt.indexOf(Mh[Ef])) {
Lh = !0;
break a;
}
}
Lh = !1;
}
var Nh;
if (!(Nh = Lh))
if (WA) Nh = !1;
else {
var aC = VA(a),
Oh;
var El = String(a.D(Q.ra));
if ("none" !== El)
if ("auto" !== El) Oh = El;
else {
if (!YA) {
for (var ot = String(a.D(Q.qb)), Ff = nj(), ue = 0; ue < Ff.length; ue++)
if ("none" !== Ff[ue]) {
var pt = String(a.D(Q.La)) + "_ga_autodomain";
if (0 === qj(pt, XA, { nb: Q.T, domain: Ff[ue], path: ot })) {
qj(pt, void 0, { nb: Q.T, domain: Ff[ue], path: ot });
ZA = Ff[ue];
break;
}
}
YA = !0;
}
Oh = ZA;
}
else Oh = void 0;
var qt = Oh;
Nh = qt ? 0 <= aC.indexOf(qt) : !1;
}
if (!(Cl = Nh)) {
var Ph;
if ((Ph = mt))
a: {
for (var rt = mt.include_conditions || [], bC = VA(a), Fl = 0; Fl < rt.length; Fl++)
if (rt[Fl].test(bC)) {
Ph = !0;
break a;
}
Ph = !1;
}
Cl = Ph;
}
Cl && ((a.F[Q.Sd] = "1"), mA(4));
}
if (a.Ea() && Li()) {
a.F._rnd = No();
}
if (a.eventName == Q.Qa) {
var st = a.D(Q.Sa),
cC = a.D(Q.fb),
tt = void 0;
tt = a.F[st];
cC(tt || a.D(st));
a.abort();
}
if (!a.s.eventMetadata.syn_or_mod) {
var Gl = a.D(Q.Re);
if (Gl) {
var gd = nc(a.aa);
nc(a.F, gd);
for (var ut = Gl.edit_rules || [], vt = !1, Hl = 0; Hl < ut.length; Hl++) {
var Qh;
a: {
var hd = a,
Fd = ut[Hl];
if (Ex(hd.eventName, gd, Fd.event_name_predicate, Fd.conditions || [])) {
if (Fd.new_event_name) {
var wt = m(Fd.new_event_name) ? String(Fd.new_event_name) : Bx(hd.eventName, gd, Fd.new_event_name);
if (oA(wt)) {
Qh = !1;
break a;
}
hd.eventName = String(wt);
}
pA(hd.eventName, gd, Fd);
var xt = !0;
xt = !1;
mA(2);
if (xt) {
var Il = {},
yt = { eventMetadata: ((Il.syn_or_mod = !0), (Il.is_external_event = !!hd.s.eventMetadata.is_external_event), Il) },
zt = ig();
zt && (yt.eventMetadata.event_usage = zt);
Xr(hd.eventName, gd, hd.Da, yt);
hd.abort();
}
Qh = !0;
} else Qh = !1;
}
Qh && (vt = !0);
}
for (var At = Gl.synthesis_rules || [], Jl = 0; Jl < At.length; Jl++) {
var Bt = a,
Gf = At[Jl];
if (Ex(Bt.eventName, gd, Gf.event_name_predicate, Gf.conditions || [])) {
var Kl = Gf.new_event_name;
if (!oA(Kl)) {
var Ct = Gf.merge_source_event_params ? nc(gd) : {};
pA(Kl, Ct, Gf);
var Dt = {},
dC = { eventMetadata: ((Dt.syn_or_mod = !0), Dt) };
Xr(Kl, Ct, Bt.Da, dC);
mA(1);
}
}
}
if (vt) {
var Ll = {},
Et = { eventMetadata: ((Ll.syn_or_mod = !0), (Ll.is_external_event = !!a.s.eventMetadata.is_external_event), Ll) },
Ft = ig();
Ft && (Et.eventMetadata.event_usage = Ft);
Xr(a.eventName, gd, a.Da, Et);
a.abort();
}
}
}
lq(a);
var Ml = a.metadata.event_usage;
if (Ea(Ml)) for (var Nl = 0; Nl < Ml.length; Nl++) mA(Ml[Nl]);
var Gt = hg("GA4_EVENT");
Gt && (a.F._eu = Gt);
UB(a);
var fC = this.Nh,
Ht = this.g,
Ol;
var Pl = IA(a);
Pl ? (EA(Pl, a) || (jg(25), a.abort()), (Ol = Pl)) : (Ol = void 0);
var gC = Ol,
Rh;
var Gc;
Gc = wA ? a.F[Q.ya] : a.aa[Q.ya];
Ht && Gc === Ht ? (Rh = Gc) : Gc ? ((Gc = "" + Gc), BA(Gc, a) || (jg(31), a.abort()), vA(Gc, Yi(Q.T)), (Rh = Gc)) : (jg(32), a.abort(), (Rh = ""));
fC.call(this, { clientId: Rh, Sh: gC });
this.Fk(a);
if (a.Ea()) {
var hC = JB[1] ? a.metadata.is_conversion : a.Cb;
("page_view" === a.eventName || hC) && KB(this, a);
}
this.C.ag();
this.Cb = VB(a, this.Cb);
a.D(Q.cf) && ((a.F[Q.cf] = !0), IB(a, Q.df)), hq(a, Q.zg);
this.jh(a);
a.s.onSuccess();
} catch (nC) {
a.s.onFailure();
}
delete fg.GA4_EVENT;
};
l.jh = function (a) {
this.Pa.add(a);
};
l.Nh = function (a) {
var b = a.clientId,
c = a.Sh;
b && c && ((this.g = b), (this.B = c));
};
l.flush = function () {
this.Pa.flush();
};
l.Fk = function (a) {
var b = this;
if (!this.U) {
var c = Yi(Q.T);
$i([Q.T], function () {
var d = Yi(Q.T);
if (c ^ d && b.o && b.B && b.g) {
var e = b.g;
if (d) {
var f = !0;
f = !1;
var g = zA(b.o);
if (g) {
b.g = g;
var h = FA(b.o);
f || h ? (b.B = h) : EA(b.B, b.o);
} else BA(b.g, b.o), vA(b.g, !0), EA(b.B, b.o);
var k = {};
k[Q.Xe] = e;
if (ki[13]) {
var n = Zn(b.I, Q.Kc, k);
bo(n, a.s.eventId, {});
} else Wr(Q.Kc, k, b.I, { fromContainerExecution: !0 });
} else {
b.B = void 0;
b.g = void 0;
z.gaGlobal = {};
}
c = d;
}
});
this.U = !0;
}
};
l.Ri = function (a) {
a.eventName !== Q.Qa && this.C.Qi(a);
};
var RB = function (a) {
if (a.D(Q.Ig)) (a.g = !1), (a.metadata.euid_mode_enabled = !1);
else {
var b = function (c) {
return !!c && ("auto_detect" === c.mode || "selectors" === c.mode || "code" === c.mode);
};
JB[1] ? (a.metadata.euid_mode_enabled = b(a.getRemoteConfig(Q.oc))) : (a.g = b(a.getRemoteConfig(Q.oc)));
}
},
QB = function (a) {
if (JB[8]) {
var b = function (c, d) {
Q.Ng[c] || (a.F[c] = d);
};
Ka(a.s.containerConfig, b);
Ka(a.s.eventModel, b);
}
},
SB = function (a) {
var b = a.s.getKeysFromFirstOfAnyScope([Q.Mc, Q.Gd, Q.Hd, Q.Id, Q.Jd, Q.Kd, Q.Ld]),
c = function (d, e) {
NB[d] && (a.F[d] = e);
};
mc(b[Q.Mc])
? Ka(b[Q.Mc], function (d, e) {
c((Q.Mc + "_" + d).toLowerCase(), e);
})
: Ka(b, c);
},
TB = function (a) {
var b = function (c) {
return !!c && c.conversion;
};
JB[1] ? (a.metadata.is_conversion = b(a.Rb())) : (a.Cb = b(a.Rb()));
if (JB[1] ? a.metadata.is_first_visit : a.sc) JB[1] ? (a.metadata.is_first_visit_conversion = b(a.Rb("first_visit"))) : (a.Xg = b(a.Rb("first_visit")));
if (JB[1] ? a.metadata.is_session_start : a.B) JB[1] ? (a.metadata.is_session_start_conversion = b(a.Rb("session_start"))) : (a.hh = b(a.Rb("session_start")));
},
UB = function (a) {
var b = Object.keys(JB);
if (b.length) {
b.forEach(function (d) {
JB[d] && gg("CCD", Number(d));
});
var c = hg("CCD");
c && (a.qf = "ccd." + c);
}
},
VB = function (a, b) {
var c = void 0;
return c;
};
function PB(a) {
delete a.eventModel[Q.qc];
WB(a.eventModel);
}
var WB = function (a) {
Ka(a, function (c) {
"_" === c.charAt(0) && delete a[c];
});
var b = a[Q.Ua] || {};
Ka(b, function (c) {
"_" === c.charAt(0) && delete b[c];
});
};
var ZB = function (a) {
if ("prerender" == I.visibilityState) return !1;
a();
return !0;
},
eC = function (a) {
if (!ZB(a)) {
var b = !1,
c = function () {
!b && ZB(a) && ((b = !0), Rb(I, "visibilitychange", c), jg(55));
};
Qb(I, "visibilitychange", c);
jg(54);
}
};
var iC = function (a, b, c, d, e) {
if (ki[13]) {
var f = Zn(a, b, d);
e = e || {};
bo(f, c, e);
} else (e = e || {}), (e.fromContainerExecution = !0), Wr(b, d, a, e);
},
jC = function (a, b, c, d, e) {
if (ki[13]) {
var f = Zn(a, b, d);
e = e || {};
e.deferrable = !0;
bo(f, c, e);
} else (e = e || {}), (e.deferrable = !0), (e.fromContainerExecution = !0), Wr(b, d, a, e);
},
lC = function (a, b, c) {
var d = new OB(a, b);
eC(function () {
kC(a, d, c);
});
};
function kC(a, b, c) {
var d = b.C,
e = { eventId: c };
Vr(a, function (f, g, h, k) {
b.jk(g, h, k);
});
d.qk(function () {
Tr().flush();
1e3 <= d.ve() && Eb.sendBeacon && (ki[13] ? Wr(Q.Kc, {}, a, e) : iC(a, Q.Kc, c, {}));
kA = !0;
b.flush();
d.Ph(function () {
kA = !1;
d.Ph();
});
});
}
var Y = { h: {} };
(Y.h.read_container_data = ["google"]),
(function () {
(function (a) {
Y.__read_container_data = a;
Y.__read_container_data.m = "read_container_data";
Y.__read_container_data.isVendorTemplate = !0;
Y.__read_container_data.priorityOverride = 0;
})(function () {
return {
assert: function () {},
X: function () {
return {};
},
};
});
})();
(Y.h.c = ["google"]),
(function () {
(function (a) {
Y.__c = a;
Y.__c.m = "c";
Y.__c.isVendorTemplate = !0;
Y.__c.priorityOverride = 0;
})(function (a) {
Ju(a.vtp_value, "c", a.vtp_gtmEventId);
return a.vtp_value;
});
})();
(Y.h.e = ["google"]),
(function () {
(function (a) {
Y.__e = a;
Y.__e.m = "e";
Y.__e.isVendorTemplate = !0;
Y.__e.priorityOverride = 0;
})(function (a) {
return String(a.vtp_gtmCachedValues.event);
});
})();
(Y.h.listen_data_layer = ["google"]),
(function () {
function a(b, c) {
return { eventName: c };
}
(function (b) {
Y.__listen_data_layer = b;
Y.__listen_data_layer.m = "listen_data_layer";
Y.__listen_data_layer.isVendorTemplate = !0;
Y.__listen_data_layer.priorityOverride = 0;
})(function (b) {
var c = b.vtp_accessType,
d = b.vtp_allowedEvents || [],
e = b.vtp_createPermissionError;
return {
assert: function (f, g) {
if (!m(g)) throw e(f, { eventName: g }, "Event name must be a string.");
if (!("any" === c || ("specific" === c && 0 <= d.indexOf(g)))) throw e(f, { eventName: g }, "Prohibited listen on data layer event.");
},
X: a,
};
});
})();
(Y.h.v = ["google"]),
(function () {
(function (a) {
Y.__v = a;
Y.__v.m = "v";
Y.__v.isVendorTemplate = !0;
Y.__v.priorityOverride = 0;
})(function (a) {
var b = a.vtp_name;
if (!b || !b.replace) return !1;
var c = Bu(b.replace(/\\\./g, "."), a.vtp_dataLayerVersion || 1),
d = void 0 !== c ? c : a.vtp_defaultValue;
Ju(d, "v", a.vtp_gtmEventId);
return d;
});
})();
(Y.h.get_url = ["google"]),
(function () {
function a(b, c, d) {
return { component: c, queryKey: d };
}
(function (b) {
Y.__get_url = b;
Y.__get_url.m = "get_url";
Y.__get_url.isVendorTemplate = !0;
Y.__get_url.priorityOverride = 0;
})(function (b) {
var c = "any" === b.vtp_urlParts ? null : [];
c &&
(b.vtp_protocol && c.push("protocol"),
b.vtp_host && c.push("host"),
b.vtp_port && c.push("port"),
b.vtp_path && c.push("path"),
b.vtp_extension && c.push("extension"),
b.vtp_query && c.push("query"),
b.vtp_fragment && c.push("fragment"));
var d = c && "any" !== b.vtp_queriesAllowed ? b.vtp_queryKeys || [] : null,
e = b.vtp_createPermissionError;
return {
assert: function (f, g, h) {
if (g) {
if (!m(g)) throw e(f, {}, "URL component must be a string.");
if (c && 0 > c.indexOf(g)) throw e(f, {}, "Prohibited URL component: " + g);
if ("query" === g && d) {
if (!h) throw e(f, {}, "Prohibited from getting entire URL query when query keys are specified.");
if (!m(h)) throw e(f, {}, "Query key must be a string.");
if (0 > d.indexOf(h)) throw e(f, {}, "Prohibited query key: " + h);
}
} else if (c) throw e(f, {}, "Prohibited from getting entire URL when components are specified.");
},
X: a,
};
});
})();
(Y.h.process_dom_events = ["google"]),
(function () {
function a(b, c, d) {
return { targetType: c, eventName: d };
}
(function (b) {
Y.__process_dom_events = b;
Y.__process_dom_events.m = "process_dom_events";
Y.__process_dom_events.isVendorTemplate = !0;
Y.__process_dom_events.priorityOverride = 0;
})(function (b) {
for (var c = b.vtp_targets || [], d = b.vtp_createPermissionError, e = {}, f = 0; f < c.length; f++) {
var g = c[f];
e[g.targetType] = e[g.targetType] || [];
e[g.targetType].push(g.eventName);
}
return {
assert: function (h, k, n) {
if (!e[k]) throw d(h, {}, "Prohibited event target " + k + ".");
if (-1 === e[k].indexOf(n)) throw d(h, {}, "Prohibited listener registration for DOM event " + n + ".");
},
X: a,
};
});
})();
(Y.h.gct = ["google"]),
(function () {
function a(e) {
for (var f = [], g = 0; g < e.length; g++)
try {
f.push(new RegExp(e[g]));
} catch (h) {}
return f;
}
function b(e) {
return e.replace(/[.*+\-?^${}()|[\]\\]/g, "\\$&");
}
function c(e) {
for (var f = [], g = 0; g < e.length; g++) {
var h = e[g].matchValue,
k;
switch (e[g].matchType) {
case "BEGINS_WITH":
k = "^" + b(h);
break;
case "ENDS_WITH":
k = b(h) + "$";
break;
case "EQUALS":
k = "^" + b(h) + "$";
break;
case "REGEX":
k = h;
break;
default:
k = b(h);
}
f.push(k);
}
return f;
}
var d = !1;
(function (e) {
Y.__gct = e;
Y.__gct.m = "gct";
Y.__gct.isVendorTemplate = !0;
Y.__gct.priorityOverride = 0;
})(function (e) {
var f = {},
g = e.vtp_sessionDuration;
0 < g && (f[Q.Sc] = g);
f[Q.Nd] = e.vtp_eventSettings;
f[Q.Re] = e.vtp_dynamicEventSettings;
f[Q.sb] = 1 === e.vtp_googleSignals;
f[Q.Qd] = e.vtp_foreignTld;
f[Q.Pc] = 1 === e.vtp_restrictDomain;
f[Q.Ye] = e.vtp_internalTrafficResults;
var h = Q.sa,
k = e.vtp_linker;
k && k[Q.V] && (k[Q.V] = a(k[Q.V]));
f[h] = k;
var n = Q.Ud,
p = e.vtp_referralExclusionDefinition;
p && p.include_conditions && (p.include_conditions = a(p.include_conditions));
f[n] = p;
var q = e.vtp_trackingId,
r = $r(q),
t = r.referral_exclusion_conditions;
t && (t.length && "object" === typeof t[0] && (t = c(t)), (f[Q.Ud] = { include_conditions: a(t) }));
var u = r.cross_domain_conditions;
if (u) {
u.length && "object" === typeof u[0] && (u = c(u));
var v = {};
f[Q.sa] = ((v[Q.V] = a(u)), (v[Q.nc] = !0), (v[Q.mc] = !0), (v[Q.Qc] = "query"), v);
}
lC(q, f, e.vtp_gtmEventId);
if (d) {
var x = hl();
Tr(!0).notifyContainerLoaded(q, x);
}
K(e.vtp_gtmOnSuccess);
});
})();
(Y.h.get = ["google"]),
(function () {
(function (a) {
Y.__get = a;
Y.__get.m = "get";
Y.__get.isVendorTemplate = !0;
Y.__get.priorityOverride = 0;
})(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 ? jC : iC)(String(b.streamId), d, e.eventId, c, e);
a.vtp_gtmOnSuccess();
});
})();
var mC = {};
mC.dataLayer = bh;
mC.callback = function (a) {
Tg.hasOwnProperty(a) && Ca(Tg[a]) && Tg[a]();
delete Tg[a];
};
mC.bootstrap = 0;
mC._spx = !1;
(function (a) {
if (!z["__TAGGY_INSTALLED"]) {
var b = !1;
if (I.referrer) {
var c = zh(I.referrer);
b = "cct.google" === wh(c, "host");
}
if (!b) {
var d = hj("googTaggyReferrer");
b = d.length && d[0].length;
}
b && ((z["__TAGGY_INSTALLED"] = !0), Lb("https://cct.google/taggy/agent.js"));
}
var f = function (q) {
var r = "GTM",
t = "GTM";
(r = "OGT"), (t = "GTAG");
var u = z["google.tagmanager.debugui2.queue"];
u || ((u = []), (z["google.tagmanager.debugui2.queue"] = u), Lb("https://" + Ig.Ic + "/debug/bootstrap?id=" + He.J + "&src=" + t + "&cond=" + q + ">m=" + ol()));
var v = { messageType: "CONTAINER_STARTING", data: { scriptSource: Fb, containerProduct: r, debug: !1, id: He.J } };
v.data.resume = function () {
a();
};
Ig.gi && (v.data.initialPublish = !0);
u.push(v);
},
g = void 0,
h = xh(z.location, "query", !1, void 0, "gtm_debug");
Tt(h) && (g = 2);
if (!g && I.referrer) {
var k = zh(I.referrer);
"tagassistant.google.com" === wh(k, "host") && (g = 3);
}
if (!g) {
var n = hj("__TAG_ASSISTANT");
n.length && n[0].length && (g = 4);
}
if (!g) {
var p = I.documentElement.getAttribute("data-tag-assistant-present");
Tt(p) && (g = 5);
}
g && Fb ? f(g) : a();
})(function () {
var a = !1;
a && rn("INIT");
zi().o();
fp();
rk.enable_gbraid_cookie_write = !0;
var b = !!S[He.J];
!b && He.Hc && (b = !!S["ctid_" + He.Hc]);
if (b) {
var c = S.zones;
c && c.unregisterChild(gl());
} else {
for (var d = hl(), e = 0; e < d.length; e++) {
var f = d[e],
g = He.J;
S.addDestinationToContainer ? S.addDestinationToContainer(f, g) : ((S.pendingDestinationIds = S.pendingDestinationIds || []), S.pendingDestinationIds.push([f, g]));
}
for (var h = data.resource || {}, k = h.macros || [], n = 0; n < k.length; n++) ge.push(k[n]);
for (var p = h.tags || [], q = 0; q < p.length; q++) je.push(p[q]);
for (var r = h.predicates || [], t = 0; t < r.length; t++) ie.push(r[t]);
for (var u = h.rules || [], v = 0; v < u.length; v++) {
for (var x = u[v], y = {}, w = 0; w < x.length; w++) y[x[w][0]] = Array.prototype.slice.call(x[w], 1);
he.push(y);
}
le = Y;
me = lv;
Le = new Ke();
var A = data.sandboxed_scripts,
B = data.security_groups,
C = data.runtime || [],
E = data.runtime_lines;
Oy = new Hd();
Ry();
fe = Py();
var F = Oy,
D = Ly();
jb(F.g, "require", D);
for (var L = 0; L < C.length; L++) {
var J = C[L];
if (!Ea(J) || 3 > J.length) {
if (0 === J.length) continue;
break;
}
E && E[L] && E[L].length && we(J, E[L]);
Oy.execute(J);
}
if (void 0 !== A)
for (var P = ["sandboxedScripts"], T = 0; T < A.length; T++) {
var R = A[T].replace(/^_*/, "");
Ug[R] = P;
}
Sy(B);
S[He.J] = mC;
He.Hc && (S["ctid_" + He.Hc] = mC);
for (var M = jl(), Z = gl(), ca = 0; ca < Z.length; ca++) M.container[Z[ca]] = !0;
for (var V = hl(), ta = 0; ta < V.length; ta++) M.destination[V[ta]] = !0;
M.canonical[He.Hc] = !0;
Ua(Ug, Y.h);
oe = De;
St();
an = !1;
bn = 0;
if (("interactive" == I.readyState && !I.createEventObject) || "complete" == I.readyState) dn();
else {
Qb(I, "DOMContentLoaded", dn);
Qb(I, "readystatechange", dn);
if (I.createEventObject && I.documentElement.doScroll) {
var xa = !0;
try {
xa = !z.frameElement;
} catch (Nb) {}
xa && en();
}
Qb(z, "load", dn);
}
Fs = !1;
"complete" === I.readyState ? Hs() : Qb(z, "load", Hs);
Dm && z.setInterval(wm, 864e5);
Sg = Ra();
mC.bootstrap = Sg;
if (a) {
var rc = sn("INIT");
}
}
});
})();