function _gv(e) { for (var t = window.location.search.substring(1), n = t.split("&"), r = 0; r < n.length; r++) { var i = n[r].split("="); if (i[0] == e) return i[1] } return !1 } function retel_p(e) { var t = String(e).replace(/\D/g, ""); switch (t = ({ 7: 1, 10: 1 }[t.length] ? t.match(/\d{1,3}/g) : 0) || [], t.length) { case 3: return t[0] + "-" + t[1] + t[2]; case 4: return "(" + t[0] + ") " + t[1] + "-" + t[2] + t[3]; default: return e } return e } function retel_d(e) { var t = String(e).replace(/\D/g, ""); switch (t = ({ 7: 1, 10: 1 }[t.length] ? t.match(/\d{1,3}/g) : 0) || [], t.length) { case 3: return t[0] + "-" + t[1] + t[2]; case 4: return "" + t[0] + "-" + t[1] + "-" + t[2] + t[3]; default: return e } return e } function retel_o(e) { var t = String(e).replace(/\D/g, ""); switch (t = ({ 7: 1, 10: 1 }[t.length] ? t.match(/\d{1,3}/g) : 0) || [], t.length) { case 3: return t[0] + "." + t[1] + t[2]; case 4: return "" + t[0] + "." + t[1] + "." + t[2] + t[3]; default: return e } return e } function __gv(e) { for (var t = window.location.search.substring(1), n = t.split("&"), r = 0; r < n.length; r++) { var i = n[r].split("="); if (i[0] == e) { if (-1 != i[1].indexOf("%20")) { console.log(i[1].indexOf("%20")); var o = i[1].split("%20"); return console.log(o), o[0] + " " + o[1] } return i[1] } } return !1 } function endsWith(e, t) { return -1 !== e.indexOf(t, e.length - t.length) } function URLToArray(e) { for (var t = {}, n = [], r = e.substring(e.indexOf("?") + 1).split("&"), i = 0; i < r.length; i++) { var o = r[i].split("="); if (endsWith(decodeURIComponent(o[0]), "[]")) { var a = decodeURIComponent(o[0]).substring(0, decodeURIComponent(o[0]).length - 2); a in n || (n.push(a), n[a] = []), n[a].push(decodeURIComponent(o[1])), t[a] = n[a] } else t[decodeURIComponent(o[0])] = decodeURIComponent(o[1]) } return t } function _muu() { var e = (new Date).getTime(), t = "Rxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(t) { var n = (e + 16 * Math.random()) % 16 | 0; return e = Math.floor(e / 16), ("x" == t ? n : 3 & n | 8).toString(16) }); return t } function _hr(e, t, n) { n || (n = document.body); for (var r = n.childNodes, i = 0; i < r.length; i++) if (r[i].nodeType == Node.TEXT_NODE) { var o = new RegExp(e, "gim"); r[i].textContent = r[i].textContent.replace(o, t) } else _hr(e, t, r[i]) } function _getUtcTime() { var e = (new Date).getTime(); return e } function escapeRegExp(e) { return String(e).replace(/([.*+?^=!:${}()|[\]\/\\])/g, "\\$1") } function _frlinks() { var e = document.getElementsByTagName("a"), t = _dc.gi("__JT"); if(t) { if (t.length > 9) { // len must be 10 or 11. for (i = 0; i < e.length; i++) -1 !== e[i].href.indexOf("tel:") && (e[i].href = "tel://" + t) } } } var _dmo, ns1 = document.createElement("script"); ns1.type = "text/javascript", ns1.src = "//20201201-dot-call-tracking-usa.appspot.com/fp", document.getElementsByTagName("head")[0].appendChild(ns1), ! function(e, t) { "object" == typeof module && module.exports ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : e.frDT = t() }(this, function() { function e(e) { return String(e).replace(/([.*+?^=!:${}()|[\]\/\\])/g, "\\$1") } function t() { return n.apply(null, arguments) || r.apply(null, arguments) } function n(e, n, i, o, a) { if (n && !n.nodeType && arguments.length <= 2) return !1; var d = "function" == typeof i; d && (i = function(e) { return function(t, n) { return e(t.text, n.startIndex) } }(i)); var s = r(n, { find: e, wrap: d ? null : i, replace: d ? i : "$" + (o || "&"), prepMatch: function(e, t) { if (!e[0]) throw "frDT cannot handle zero-length matches"; if (o > 0) { var n = e[o]; e.index += e[0].indexOf(n), e[0] = n } return e.endIndex = e.index + e[0].length, e.startIndex = e.index, e.index = t, e }, filterElements: a }); return t.revert = function() { return s.revert() }, !0 } function r(e, t) { return new i(e, t) } function i(e, n) { var r = n.preset && t.PRESETS[n.preset]; if (n.portionMode = n.portionMode || o, r) for (var i in r) s.call(r, i) && !s.call(n, i) && (n[i] = r[i]); this.node = e, this.options = n, this.prepMatch = n.prepMatch || this.prepMatch, this.reverts = [], this.matches = this.search(), this.matches.length && this.processMatches() } var o = "retain", a = "first", d = document, s = ({}.toString, {}.hasOwnProperty); return t.NON_PROSE_ELEMENTS = { br: 1, hr: 1, script: 1, style: 1, img: 1, video: 1, audio: 1, canvas: 1, svg: 1, map: 1, object: 1, input: 1, textarea: 1, select: 1, option: 1, optgroup: 1, button: 1 }, t.NON_CONTIGUOUS_PROSE_ELEMENTS = { address: 1, article: 1, aside: 1, blockquote: 1, dd: 1, div: 1, dl: 1, fieldset: 1, figcaption: 1, figure: 1, footer: 1, form: 1, h1: 1, h2: 1, h3: 1, h4: 1, h5: 1, h6: 1, header: 1, hgroup: 1, hr: 1, main: 1, nav: 1, noscript: 1, ol: 1, output: 1, p: 1, pre: 1, section: 1, ul: 1, br: 1, li: 1, summary: 1, dt: 1, details: 1, rp: 1, rt: 1, rtc: 1, script: 1, style: 1, img: 1, video: 1, audio: 1, canvas: 1, svg: 1, map: 1, object: 1, input: 1, textarea: 1, select: 1, option: 1, optgroup: 1, button: 1, table: 1, tbody: 1, thead: 1, th: 1, tr: 1, td: 1, caption: 1, col: 1, tfoot: 1, colgroup: 1 }, t.NON_INLINE_PROSE = function(e) { return s.call(t.NON_CONTIGUOUS_PROSE_ELEMENTS, e.nodeName.toLowerCase()) }, t.PRESETS = { prose: { forceContext: t.NON_INLINE_PROSE, filterElements: function(e) { return !s.call(t.NON_PROSE_ELEMENTS, e.nodeName.toLowerCase()) } } }, t.Finder = i, i.prototype = { search: function() { function t(e) { for (var a = 0, c = e.length; c > a; ++a) { var u = e[a]; if ("string" == typeof u) { if (o.global) for (; n = o.exec(u);) d.push(s.prepMatch(n, r++, i)); else(n = u.match(o)) && d.push(s.prepMatch(n, 0, i)); i += u.length } else t(u) } } var n, r = 0, i = 0, o = this.options.find, a = this.getAggregateText(), d = [], s = this; return o = "string" == typeof o ? RegExp(e(o), "g") : o, t(a), d }, prepMatch: function(e, t, n) { if (!e[0]) throw new Error("frDT cannot handle zero-length matches"); return e.endIndex = n + e.index + e[0].length, e.startIndex = n + e.index, e.index = t, e }, getAggregateText: function() { function e(r, i) { if (3 === r.nodeType) return [r.data]; if (t && !t(r)) return []; var i = [""], o = 0; if (r = r.firstChild) do if (3 !== r.nodeType) { var a = e(r); n && 1 === r.nodeType && (n === !0 || n(r)) ? (i[++o] = a, i[++o] = "") : ("string" == typeof a[0] && (i[o] += a.shift()), a.length && (i[++o] = a, i[++o] = "")) } else i[o] += r.data; while (r = r.nextSibling); return i } var t = this.options.filterElements, n = this.options.forceContext; return e(this.node) }, processMatches: function() { var e, t, n, r = this.matches, i = this.node, o = this.options.filterElements, a = [], d = i, s = r.shift(), c = 0, u = 0, p = 0, l = [i]; e: for (;;) { if (3 === d.nodeType && (!t && d.length + c >= s.endIndex ? t = { node: d, index: p++, text: d.data.substring(s.startIndex - c, s.endIndex - c), indexInMatch: c - s.startIndex, indexInNode: s.startIndex - c, endIndexInNode: s.endIndex - c, isEnd: !0 } : e && a.push({ node: d, index: p++, text: d.data, indexInMatch: c - s.startIndex, indexInNode: 0 }), !e && d.length + c > s.startIndex && (e = { node: d, index: p++, indexInMatch: 0, indexInNode: s.startIndex - c, endIndexInNode: s.endIndex - c, text: d.data.substring(s.startIndex - c, s.endIndex - c) }), c += d.data.length), n = 1 === d.nodeType && o && !o(d), e && t) { if (d = this.replaceMatch(s, e, a, t), c -= t.node.data.length - t.endIndexInNode, e = null, t = null, a = [], s = r.shift(), p = 0, u++, !s) break } else if (!n && (d.firstChild || d.nextSibling)) { d.firstChild ? (l.push(d), d = d.firstChild) : d = d.nextSibling; continue } for (;;) { if (d.nextSibling) { d = d.nextSibling; break } if (d = l.pop(), d === i) break e } } }, revert: function() { for (var e = this.reverts.length; e--;) this.reverts[e](); this.reverts = [] }, prepareReplacementString: function(e, t, n) { var r = this.options.portionMode; return r === a && t.indexInMatch > 0 ? "" : (e = e.replace(/\$(\d+|&|`|')/g, function(e, t) { var r; switch (t) { case "&": r = n[0]; break; case "`": r = n.input.substring(0, n.startIndex); break; case "'": r = n.input.substring(n.endIndex); break; default: r = n[+t] } return r }), r === a ? e : t.isEnd ? e.substring(t.indexInMatch) : e.substring(t.indexInMatch, t.indexInMatch + t.text.length)) }, getPortionReplacementNode: function(e, t, n) { var r = this.options.replace || "$&", i = this.options.wrap; if (i && i.nodeType) { var o = d.createElement("div"); o.innerHTML = i.outerHTML || (new XMLSerializer).serializeToString(i), i = o.firstChild } if ("function" == typeof r) return r = r(e, t, n), r && r.nodeType ? r : d.createTextNode(String(r)); var a = "string" == typeof i ? d.createElement(i) : i; return r = d.createTextNode(this.prepareReplacementString(r, e, t, n)), r.data && a ? (a.appendChild(r), a) : r }, replaceMatch: function(e, t, n, r) { var i, o, a = t.node, s = r.node; if (a === s) { var c = a; t.indexInNode > 0 && (i = d.createTextNode(c.data.substring(0, t.indexInNode)), c.parentNode.insertBefore(i, c)); var u = this.getPortionReplacementNode(r, e); return c.parentNode.insertBefore(u, c), r.endIndexInNode < c.length && (o = d.createTextNode(c.data.substring(r.endIndexInNode)), c.parentNode.insertBefore(o, c)), c.parentNode.removeChild(c), this.reverts.push(function() { i === u.previousSibling && i.parentNode.removeChild(i), o === u.nextSibling && o.parentNode.removeChild(o), u.parentNode.replaceChild(c, u) }), u } i = d.createTextNode(a.data.substring(0, t.indexInNode)), o = d.createTextNode(s.data.substring(r.endIndexInNode)); for (var p = this.getPortionReplacementNode(t, e), l = [], h = 0, g = n.length; g > h; ++h) { var f = n[h], _ = this.getPortionReplacementNode(f, e); f.node.parentNode.replaceChild(_, f.node), this.reverts.push(function(e, t) { return function() { t.parentNode.replaceChild(e.node, t) } }(f, _)), l.push(_) } var x = this.getPortionReplacementNode(r, e); return a.parentNode.insertBefore(i, a), a.parentNode.insertBefore(p, a), a.parentNode.removeChild(a), s.parentNode.insertBefore(x, s), s.parentNode.insertBefore(o, s), s.parentNode.removeChild(s), this.reverts.push(function() { i.parentNode.removeChild(i), p.parentNode.replaceChild(a, p), o.parentNode.removeChild(o), x.parentNode.replaceChild(s, x) }), x } }, t }), _dc = { gi: function(e) { return e && this.hasItem(e) ? unescape(document.cookie.replace(new RegExp("(?:^|.*;\\s*)" + escape(e).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*"), "$1")) : null }, si: function(e, t, n, r, i, o) { if (e && !/^(?:expires|max\-age|path|domain|secure)$/.test(e)) { var a = ""; if (n) switch (typeof n) { case "number": a = "; max-age=" + n; break; case "string": a = "; expires=" + n; break; case "object": n.hasOwnProperty("toGMTString") && (a = "; expires=" + n.toGMTString()) } // document.cookie = escape(e) + "=" + escape(t) + a + (i ? "; domain=" + i : "") + (o ? "; secure" : "") + document.cookie = escape(e) + "=" + escape(t) + a + (i ? "; domain=" + i : "") + (r ? "; path=" + r : "") + (o ? "; secure" : "") } }, ri: function(e) { if (e && this.hasItem(e)) { var t = new Date; t.setDate(t.getDate() - 1), document.cookie = escape(e) + "=; expires=" + t.toGMTString() + "; path=/" } }, hasItem: function(e) { return new RegExp("(?:^|;\\s*)" + escape(e).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=").test(document.cookie) } }; var _uu, euu = _dc.gi("__JU"); if(typeof _cl !== 'undefined') { /* _cl was declared */ var _ct = (_cl * 86400); } else { var _ct = 2629746; } "undefined" != typeof _MF ? _dc.gi("__JU") ? (_uu = _dc.gi("__JU"), euu = _dc.gi("__JU")) : (new _MF).get(function(e) { _dc.si("__JU", e, _ct), _uu = e, euu = e }) : (_uu = _muu(), euu = _uu, _dc.si("__JU", _uu, _ct)), null == euu && (new _MF).get(function(e) { _uu = e, euu = e, _dc.si("__JU", e, _ct) }), "undefined" != typeof _MF && (_dc.gi("__JU") || (new _MF).get(function(e) { _dc.si("__JU", e, _ct), _uu = e, euu = e })); var inTel, gtg; if (_dc.gi("__JT") ? (inTel = _dc.gi("__JT"), gtg = !0) : (inTel = 0, gtg = !1), (__gv("c").length > 5 || inTel.length > 6) && (_dc.gi("__JX") || _dc.si("__JX", __gv("c")), _dc.si("__JC", __gv("campaign")), gtg = !0), _dc.gi("__JT")) { if (window.location.search.length > 5) var _apend = "&uu=" + euu; if (window.location.search.length < 5) var _apend = "?uu=" + euu; var __JT; 1 === _dd && (__JT = retel_o(_dc.gi("__JT"))), 2 === _dd && (__JT = retel_d(_dc.gi("__JT"))), 3 === _dd && (__JT = retel_p(_dc.gi("__JT"))); for (var _i = 0; _i < _ns.length; _i++) frDT(document, { find: _ns[_i], replace: __JT }) } else { if (window.location.search.length > 5) var _apend = "&init=1&uu=" + euu; if (window.location.search.length < 5) var _apend = "?init=1&uu=" + euu } var _ntd = retel_d(_dc.gi("__JT")); var _ntp = retel_p(_dc.gi("__JT")); var _nto = retel_o(_dc.gi("__JT")); var appendage, winUrl = window.location.search; appendage = winUrl.length > 1 ? winUrl : ""; var ns = document.createElement("script"); ns.type = "text/javascript", ns.src = "//20201201-dot-call-tracking-usa.appspot.com/track" + appendage + _apend, document.getElementsByTagName("head")[0].appendChild(ns);