// All code and conventions are protected by copyright !function(e,t,n){function i(){T.addEventHandler(e,"orientationchange",i.orientationChange)}function a(t){t=t||T.rules,this.rules=T.filter(t,function(e){return"inview"===e.event}),this.elements=[],this.eventHandler=T.bind(this.track,this),T.addEventHandler(e,"scroll",this.eventHandler),T.addEventHandler(e,"load",this.eventHandler)}function r(){this.rules=T.filter(T.rules,function(e){return"videoplayed"===e.event.substring(0,11)}),this.eventHandler=T.bind(this.onUpdateTime,this)}function s(){T.getToolsByType("nielsen").length>0&&T.domReady(T.bind(this.initialize,this))}function o(e){this.delay=250,this.FB=e,T.domReady(T.bind(function(){T.poll(T.bind(this.initialize,this),this.delay,8)},this))}function c(){this.defineEvents(),this.visibilityApiHasPriority=!0,t.addEventListener?this.setVisibilityApiPriority(!1):this.attachDetachOlderEventListeners(!0,t,"focusout");T.bindEvent("aftertoolinit",function(){T.fireEvent(T.visibility.isHidden()?"tabblur":"tabfocus")})}function l(){this.lastURL=T.URL(),this._fireIfURIChanged=T.bind(this.fireIfURIChanged,this),this._onPopState=T.bind(this.onPopState,this),this._onHashChange=T.bind(this.onHashChange,this),this._pushState=T.bind(this.pushState,this),this._replaceState=T.bind(this.replaceState,this),this.initialize()}function u(){var e=T.filter(T.rules,function(e){return 0===e.event.indexOf("dataelementchange")});this.dataElementsNames=T.map(e,function(e){var t=e.event.match(/dataelementchange\((.*)\)/i);return t[1]},this),this.initPolling()}function d(){this.rules=T.filter(T.rules,function(e){return"elementexists"===e.event})}function h(){var e=this.eventRegex=/^hover\(([0-9]+)\)$/,t=this.rules=[];T.each(T.rules,function(n){var i=n.event.match(e);i&&t.push([Number(n.event.match(e)[1]),n.selector])})}function f(t){T.domReady(T.bind(function(){this.twttr=t||e.twttr,this.initialize()},this))}function g(e){T.BaseTool.call(this,e),this.styleElements={},this.targetPageParamsStore={}}function p(e){T.BaseTool.call(this,e),this.defineListeners(),this.beaconMethod="plainBeacon",this.adapt=new p.DataAdapters,this.dataProvider=new p.DataProvider.Aggregate}function m(e){T.BaseTool.call(this,e),this.varBindings={},this.events=[],this.products=[],this.customSetupFuns=[]}function v(){T.BaseTool.call(this),this.asyncScriptCallbackQueue=[],this.argsForBlockingScripts=[]}function b(e){T.BaseTool.call(this,e),this.name=e.name||"Basic"}function y(e){T.BaseTool.call(this,e),this.name=e.name||"VisitorID",this.initialize()}function k(e){T.BaseTool.call(this,e)}function S(e){T.BaseTool.call(this,e)}var E=Object.prototype.toString,P=e._satellite&&e._satellite.override,T={initialized:!1,$data:function(e,t,i){if(e){var a="__satellite__",r=T.dataCache,s=e[a];s||(s=e[a]=T.uuid++);var o=r[s];return o||(o=r[s]={}),i===n?o[t]:void(o[t]=i)}},uuid:1,dataCache:{},keys:function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t},values:function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t},isArray:Array.isArray||function(e){return"[object Array]"===E.apply(e)},isObject:function(e){return null!=e&&!T.isArray(e)&&"object"==typeof e},isString:function(e){return"string"==typeof e},isNumber:function(e){return"[object Number]"===E.apply(e)&&!T.isNaN(e)},isNaN:function(e){return e!==e},isRegex:function(e){return e instanceof RegExp},isLinkTag:function(e){return!(!e||!e.nodeName||"a"!==e.nodeName.toLowerCase())},each:function(e,t,n){for(var i=0,a=e.length;a>i;i++)t.call(n,e[i],i,e)},map:function(e,t,n){for(var i=[],a=0,r=e.length;r>a;a++)i.push(t.call(n,e[a],a,e));return i},filter:function(e,t,n){for(var i=[],a=0,r=e.length;r>a;a++){var s=e[a];t.call(n,s,a,e)&&i.push(s)}return i},any:function(e,t,n){for(var i=0,a=e.length;a>i;i++){var r=e[i];if(t.call(n,r,i,e))return!0}return!1},every:function(e,t,n){for(var i=!0,a=0,r=e.length;r>a;a++){var s=e[a];i=i&&t.call(n,s,a,e)}return i},contains:function(e,t){return-1!==T.indexOf(e,t)},indexOf:function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=e.length;n--;)if(t===e[n])return n;return-1},find:function(e,t,n){if(!e)return null;for(var i=0,a=e.length;a>i;i++){var r=e[i];if(t.call(n,r,i,e))return r}return null},textMatch:function(e,t){if(null==t)throw new Error("Illegal Argument: Pattern is not present");return null==e?!1:"string"==typeof t?e===t:t instanceof RegExp?t.test(e):!1},stringify:function(e,t){if(t=t||[],T.isObject(e)){if(T.contains(t,e))return"<Cycle>";t.push(e)}if(T.isArray(e))return"["+T.map(e,function(e){return T.stringify(e,t)}).join(",")+"]";if(T.isString(e))return'"'+String(e)+'"';if(T.isObject(e)){var n=[];for(var i in e)e.hasOwnProperty(i)&&n.push(i+": "+T.stringify(e[i],t));return"{"+n.join(", ")+"}"}return String(e)},trim:function(e){return null==e?null:e.trim?e.trim():e.replace(/^ */,"").replace(/ *$/,"")},bind:function(e,t){return function(){return e.apply(t,arguments)}},throttle:function(e,t){var n=null;return function(){var i=this,a=arguments;clearTimeout(n),n=setTimeout(function(){e.apply(i,a)},t)}},domReady:function(e){function n(e){for(h=1;e=a.shift();)e()}var i,a=[],r=!1,s=t,o=s.documentElement,c=o.doScroll,l="DOMContentLoaded",u="addEventListener",d="onreadystatechange",h=/^loade|^c/.test(s.readyState);return s[u]&&s[u](l,i=function(){s.removeEventListener(l,i,r),n()},r),c&&s.attachEvent(d,i=function(){/^c/.test(s.readyState)&&(s.detachEvent(d,i),n())}),e=c?function(t){self!=top?h?t():a.push(t):function(){try{o.doScroll("left")}catch(n){return setTimeout(function(){e(t)},50)}t()}()}:function(e){h?e():a.push(e)}}(),loadScript:function(e,n){var i=t.createElement("script");T.scriptOnLoad(e,i,n),i.src=e,t.getElementsByTagName("head")[0].appendChild(i)},scriptOnLoad:function(e,t,n){function i(e){e&&T.logError(e),n&&n(e)}"onload"in t?(t.onload=function(){i()},t.onerror=function(){i(new Error("Failed to load script "+e))}):"readyState"in t&&(t.onreadystatechange=function(){var e=t.readyState;("loaded"===e||"complete"===e)&&(t.onreadystatechange=null,i())})},loadScriptOnce:function(e,t){T.loadedScriptRegistry[e]||T.loadScript(e,function(n){n||(T.loadedScriptRegistry[e]=!0),t&&t(n)})},loadedScriptRegistry:{},loadScriptSync:function(e){return t.write?T.domReadyFired?void T.notify('Cannot load sync the "'+e+'" script after DOM Ready.',1):(e.indexOf('"')>-1&&(e=encodeURI(e)),void t.write('<script src="'+e+'"></script>')):void T.notify('Cannot load sync the "'+e+'" script because "document.write" is not available',1)},pushAsyncScript:function(e){T.tools["default"].pushAsyncScript(e)},pushBlockingScript:function(e){T.tools["default"].pushBlockingScript(e)},addEventHandler:e.addEventListener?function(e,t,n){e.addEventListener(t,n,!1)}:function(e,t,n){e.attachEvent("on"+t,n)},removeEventHandler:e.removeEventListener?function(e,t,n){e.removeEventListener(t,n,!1)}:function(e,t,n){e.detachEvent("on"+t,n)},preventDefault:e.addEventListener?function(e){e.preventDefault()}:function(e){e.returnValue=!1},stopPropagation:function(e){e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()},containsElement:function(e,t){return e.contains?e.contains(t):!!(16&e.compareDocumentPosition(t))},matchesCss:function(n){function i(e,t){var n=t.tagName;return n?e.toLowerCase()===n.toLowerCase():!1}var a=n.matchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||n.oMatchesSelector||n.msMatchesSelector;return a?function(n,i){if(i===t||i===e)return!1;try{return a.call(i,n)}catch(r){return!1}}:n.querySelectorAll?function(e,t){var n=t.parentNode;if(!n)return!1;if(e.match(/^[a-z]+$/i))return i(e,t);try{for(var a=t.parentNode.querySelectorAll(e),r=a.length;r--;)if(a[r]===t)return!0}catch(s){}return!1}:function(e,t){if(e.match(/^[a-z]+$/i))return i(e,t);try{return T.Sizzle.matches(e,[t]).length>0}catch(n){return!1}}}(t.documentElement),cssQuery:function(e){return e.querySelectorAll?function(t,n){var i;try{i=e.querySelectorAll(t)}catch(a){i=[]}n(i)}:function(e,t){if(T.Sizzle){var n;try{n=T.Sizzle(e)}catch(i){n=[]}t(n)}else T.sizzleQueue.push([e,t])}}(t),hasAttr:function(e,t){return e.hasAttribute?e.hasAttribute(t):e[t]!==n},inherit:function(e,t){var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},extend:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},toArray:function(){try{var e=Array.prototype.slice;return e.call(t.documentElement.childNodes,0)[0].nodeType,function(t){return e.call(t,0)}}catch(n){return function(e){for(var t=[],n=0,i=e.length;i>n;n++)t.push(e[n]);return t}}}(),equalsIgnoreCase:function(e,t){return null==e?null==t:null==t?!1:String(e).toLowerCase()===String(t).toLowerCase()},poll:function(e,t,n){function i(){T.isNumber(n)&&a++>=n||e()||setTimeout(i,t)}var a=0;t=t||1e3,i()},escapeForHtml:function(e){return e?String(e).replace(/\&/g,"&").replace(/\</g,"<").replace(/\>/g,">").replace(/\"/g,""").replace(/\'/g,"'").replace(/\//g,"/"):e}};T.availableTools={},T.availableEventEmitters=[],T.fireOnceEvents=["condition","elementexists"],T.initEventEmitters=function(){T.eventEmitters=T.map(T.availableEventEmitters,function(e){return new e})},T.eventEmitterBackgroundTasks=function(){T.each(T.eventEmitters,function(e){"backgroundTasks"in e&&e.backgroundTasks()})},T.initTools=function(e){var t={"default":new v},n=T.settings.euCookieName||"sat_track";for(var i in e)if(e.hasOwnProperty(i)){var a,r,s;if(a=e[i],a.euCookie){var o="true"!==T.readCookie(n);if(o)continue}if(r=T.availableTools[a.engine],!r){var c=[];for(var l in T.availableTools)T.availableTools.hasOwnProperty(l)&&c.push(l);throw new Error("No tool engine named "+a.engine+", available: "+c.join(",")+".")}s=new r(a),s.id=i,t[i]=s}return t},T.preprocessArguments=function(e,t,n,i,a){function r(e){return i&&T.isString(e)?e.toLowerCase():e}function s(e){var c={};for(var l in e)if(e.hasOwnProperty(l)){var u=e[l];T.isObject(u)?c[l]=s(u):T.isArray(u)?c[l]=o(u,i):c[l]=r(T.replace(u,t,n,a))}return c}function o(e,i){for(var a=[],o=0,c=e.length;c>o;o++){var l=e[o];T.isString(l)?l=r(T.replace(l,t,n)):l&&l.constructor===Object&&(l=s(l)),a.push(l)}return a}return e?o(e,i):e},T.execute=function(e,t,n,i){function a(a){var r=i[a||"default"];if(r)try{r.triggerCommand(e,t,n)}catch(s){T.logError(s)}}if(!_satellite.settings.hideActivity)if(i=i||T.tools,e.engine){var r=e.engine;for(var s in i)if(i.hasOwnProperty(s)){var o=i[s];o.settings&&o.settings.engine===r&&a(s)}}else e.tool instanceof Array?T.each(e.tool,function(e){a(e)}):a(e.tool)},T.Logger={outputEnabled:!1,messages:[],keepLimit:100,flushed:!1,LEVELS:[null,null,"log","info","warn","error"],message:function(e,t){var n=this.LEVELS[t]||"log";this.messages.push([n,e]),this.messages.length>this.keepLimit&&this.messages.shift(),this.outputEnabled&&this.echo(n,e)},getHistory:function(){return this.messages},clearHistory:function(){this.messages=[]},setOutputState:function(e){this.outputEnabled!=e&&(this.outputEnabled=e,e?this.flush():this.flushed=!1)},echo:function(t,n){e.console&&e.console[t]("SATELLITE: "+n)},flush:function(){this.flushed||(T.each(this.messages,function(e){e[2]!==!0&&(this.echo(e[0],e[1]),e[2]=!0)},this),this.flushed=!0)}},T.notify=T.bind(T.Logger.message,T.Logger),T.cleanText=function(e){return null==e?null:T.trim(e).replace(/\s+/g," ")},T.cleanText.legacy=function(e){return null==e?null:T.trim(e).replace(/\s{2,}/g," ").replace(/[^\000-\177]*/g,"")},T.text=function(e){return e.textContent||e.innerText},T.specialProperties={text:T.text,cleanText:function(e){return T.cleanText(T.text(e))}},T.getObjectProperty=function(e,t,i){for(var a,r=t.split("."),s=e,o=T.specialProperties,c=0,l=r.length;l>c;c++){if(null==s)return n;var u=r[c];if(i&&"@"===u.charAt(0)){var d=u.slice(1);s=o[d](s)}else if(s.getAttribute&&(a=u.match(/^getAttribute\((.+)\)$/))){var h=a[1];s=s.getAttribute(h)}else s=s[u]}return s},T.getToolsByType=function(e){if(!e)throw new Error("Tool type is missing");var t=[];for(var n in T.tools)if(T.tools.hasOwnProperty(n)){var i=T.tools[n];i.settings&&i.settings.engine===e&&t.push(i)}return t},T.setVar=function(){var e=T.data.customVars;if(null==e&&(T.data.customVars={},e=T.data.customVars),"string"==typeof arguments[0]){var t=arguments[0];e[t]=arguments[1]}else if(arguments[0]){var n=arguments[0];for(var i in n)n.hasOwnProperty(i)&&(e[i]=n[i])}},T.dataElementSafe=function(e,t){if(arguments.length>2){var n=arguments[2];"pageview"===t?T.dataElementSafe.pageviewCache[e]=n:"session"===t?T.setCookie("_sdsat_"+e,n):"visitor"===t&&T.setCookie("_sdsat_"+e,n,730)}else{if("pageview"===t)return T.dataElementSafe.pageviewCache[e];if("session"===t||"visitor"===t)return T.readCookie("_sdsat_"+e)}},T.dataElementSafe.pageviewCache={},T.realGetDataElement=function(t){var n;return t.selector?T.hasSelector&&T.cssQuery(t.selector,function(e){if(e.length>0){var i=e[0];"text"===t.property?n=i.innerText||i.textContent:t.property in i?n=i[t.property]:T.hasAttr(i,t.property)&&(n=i.getAttribute(t.property))}}):t.queryParam?n=t.ignoreCase?T.getQueryParamCaseInsensitive(t.queryParam):T.getQueryParam(t.queryParam):t.cookie?n=T.readCookie(t.cookie):t.jsVariable?n=T.getObjectProperty(e,t.jsVariable):t.customJS?n=t.customJS():t.contextHub&&(n=t.contextHub()),T.isString(n)&&t.cleanText&&(n=T.cleanText(n)),n},T.getDataElement=function(e,t,i){if(i=i||T.dataElements[e],null==i)return T.settings.undefinedVarsReturnEmpty?"":null;var a=T.realGetDataElement(i);return a===n&&i.storeLength?a=T.dataElementSafe(e,i.storeLength):a!==n&&i.storeLength&&T.dataElementSafe(e,i.storeLength,a),a||t||(a=i["default"]||""),T.isString(a)&&i.forceLowerCase&&(a=a.toLowerCase()),a},T.getVar=function(i,a,r){var s,o,c=T.data.customVars,l=r?r.target||r.srcElement:null,u={uri:T.URI(),protocol:t.location.protocol,hostname:t.location.hostname};if(T.dataElements&&i in T.dataElements)return T.getDataElement(i);if(o=u[i.toLowerCase()],o===n)if("this."===i.substring(0,5))i=i.slice(5),o=T.getObjectProperty(a,i,!0);else if("event."===i.substring(0,6))i=i.slice(6),o=T.getObjectProperty(r,i);else if("target."===i.substring(0,7))i=i.slice(7),o=T.getObjectProperty(l,i);else if("window."===i.substring(0,7))i=i.slice(7),o=T.getObjectProperty(e,i);else if("param."===i.substring(0,6))i=i.slice(6),o=T.getQueryParam(i);else if(s=i.match(/^rand([0-9]+)$/)){var d=Number(s[1]),h=(Math.random()*(Math.pow(10,d)-1)).toFixed(0);o=Array(d-h.length+1).join("0")+h}else o=T.getObjectProperty(c,i);return o},T.getVars=function(e,t,n){var i={};return T.each(e,function(e){i[e]=T.getVar(e,t,n)}),i},T.replace=function(e,t,n,i){return"string"!=typeof e?e:e.replace(/%(.*?)%/g,function(e,a){var r=T.getVar(a,t,n);return null==r?T.settings.undefinedVarsReturnEmpty?"":e:i?T.escapeForHtml(r):r})},T.escapeHtmlParams=function(e){return e.escapeHtml=!0,e},T.searchVariables=function(e,t,n){if(!e||0===e.length)return"";for(var i=[],a=0,r=e.length;r>a;a++){var s=e[a],o=T.getVar(s,t,n);i.push(s+"="+escape(o))}return"?"+i.join("&")},T.fireRule=function(e,t,n){var i=e.trigger;if(i){for(var a=0,r=i.length;r>a;a++){var s=i[a];T.execute(s,t,n)}T.contains(T.fireOnceEvents,e.event)&&(e.expired=!0)}},T.isLinked=function(e){for(var t=e;t;t=t.parentNode)if(T.isLinkTag(t))return!0;return!1},T.firePageLoadEvent=function(e){for(var n=t.location,i={type:e,target:n},a=T.pageLoadRules,r=T.evtHandlers[i.type],s=a.length;s--;){var o=a[s];T.ruleMatches(o,i,n)&&(T.notify('Rule "'+o.name+'" fired.',1),T.fireRule(o,n,i))}for(var c in T.tools)if(T.tools.hasOwnProperty(c)){var l=T.tools[c];l.endPLPhase&&l.endPLPhase(e)}r&&T.each(r,function(e){e(i)})},T.track=function(e){e=e.replace(/^\s*/,"").replace(/\s*$/,"");for(var t=0;t<T.directCallRules.length;t++){var n=T.directCallRules[t];if(n.name===e)return T.notify('Direct call Rule "'+e+'" fired.',1),void T.fireRule(n,location,{type:e})}T.notify('Direct call Rule "'+e+'" not found.',1)},T.basePath=function(){return T.data.host?("https:"===t.location.protocol?"https://"+T.data.host.https:"http://"+T.data.host.http)+"/":this.settings.basePath},T.setLocation=function(t){e.location=t},T.parseQueryParams=function(e){var t=function(e){var t=e;try{t=decodeURIComponent(e)}catch(n){}return t};if(""===e||T.isString(e)===!1)return{};0===e.indexOf("?")&&(e=e.substring(1));var n={},i=e.split("&");return T.each(i,function(e){e=e.split("="),e[1]&&(n[t(e[0])]=t(e[1]))}),n},T.getCaseSensitivityQueryParamsMap=function(e){var t=T.parseQueryParams(e),n={};for(var i in t)t.hasOwnProperty(i)&&(n[i.toLowerCase()]=t[i]);return{normal:t,caseInsensitive:n}},T.updateQueryParams=function(){T.QueryParams=T.getCaseSensitivityQueryParamsMap(e.location.search)},T.updateQueryParams(),T.getQueryParam=function(e){return T.QueryParams.normal[e]},T.getQueryParamCaseInsensitive=function(e){return T.QueryParams.caseInsensitive[e.toLowerCase()]},T.encodeObjectToURI=function(e){if(T.isObject(e)===!1)return"";var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")},T.readCookie=function(e){for(var i=e+"=",a=t.cookie.split(";"),r=0;r<a.length;r++){for(var s=a[r];" "==s.charAt(0);)s=s.substring(1,s.length);if(0===s.indexOf(i))return s.substring(i.length,s.length)}return n},T.setCookie=function(e,n,i){var a;if(i){var r=new Date;r.setTime(r.getTime()+24*i*60*60*1e3),a="; expires="+r.toGMTString()}else a="";t.cookie=e+"="+n+a+"; path=/"},T.removeCookie=function(e){T.setCookie(e,"",-1)},T.getElementProperty=function(e,t){if("@"===t.charAt(0)){var i=T.specialProperties[t.substring(1)];if(i)return i(e)}return"innerText"===t?T.text(e):t in e?e[t]:e.getAttribute?e.getAttribute(t):n},T.propertiesMatch=function(e,t){if(e)for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],a=T.getElementProperty(t,n);if("string"==typeof i&&i!==a)return!1;if(i instanceof RegExp&&!i.test(a))return!1}return!0},T.isRightClick=function(e){var t;return e.which?t=3==e.which:e.button&&(t=2==e.button),t},T.ruleMatches=function(e,t,n,i){var a=e.condition,r=e.conditions,s=e.property,o=t.type,c=e.value,l=t.target||t.srcElement,u=n===l;if(e.event!==o&&("custom"!==e.event||e.customEvent!==o))return!1;if(!T.ruleInScope(e))return!1;if("click"===e.event&&T.isRightClick(t))return!1;if(e.isDefault&&i>0)return!1;if(e.expired)return!1;if("inview"===o&&t.inviewDelay!==e.inviewDelay)return!1;if(!u&&(e.bubbleFireIfParent===!1||0!==i&&e.bubbleFireIfChildFired===!1))return!1;if(e.selector&&!T.matchesCss(e.selector,n))return!1;if(!T.propertiesMatch(s,n))return!1;if(null!=c)if("string"==typeof c){if(c!==n.value)return!1}else if(!c.test(n.value))return!1;if(a)try{if(!a.call(n,t,l))return T.notify('Condition for rule "'+e.name+'" not met.',1),!1}catch(d){return T.notify('Condition for rule "'+e.name+'" not met. Error: '+d.message,1),!1}if(r){var h=T.find(r,function(i){try{return!i.call(n,t,l)}catch(a){return T.notify('Condition for rule "'+e.name+'" not met. Error: '+a.message,1),!0}});if(h)return T.notify("Condition "+h.toString()+' for rule "'+e.name+'" not met.',1),!1}return!0},T.evtHandlers={},T.bindEvent=function(e,t){var n=T.evtHandlers;n[e]||(n[e]=[]),n[e].push(t)},T.whenEvent=T.bindEvent,T.unbindEvent=function(e,t){var n=T.evtHandlers;if(n[e]){var i=T.indexOf(n[e],t);n[e].splice(i,1)}},T.bindEventOnce=function(e,t){var n=function(){T.unbindEvent(e,n),t.apply(null,arguments)};T.bindEvent(e,n)},T.isVMLPoisoned=function(e){if(!e)return!1;try{e.nodeName}catch(t){if("Attribute only valid on v:image"===t.message)return!0}return!1},T.handleEvent=function(e){if(!T.$data(e,"eventProcessed")){var t=e.type.toLowerCase(),n=e.target||e.srcElement,i=0,a=T.rules,r=(T.tools,T.evtHandlers[e.type]);if(T.isVMLPoisoned(n))return void T.notify("detected "+t+" on poisoned VML element, skipping.",1);r&&T.each(r,function(t){t(e)});var s=n&&n.nodeName;s?T.notify("detected "+t+" on "+n.nodeName,1):T.notify("detected "+t,1);for(var o=n;o;o=o.parentNode){var c=!1;if(T.each(a,function(t){T.ruleMatches(t,e,o,i)&&(T.notify('Rule "'+t.name+'" fired.',1),T.fireRule(t,o,e),i++,t.bubbleStop&&(c=!0))}),c)break}T.$data(e,"eventProcessed",!0)}},T.onEvent=t.querySelectorAll?function(e){T.handleEvent(e)}:function(){var e=[],t=function(t){t.selector?e.push(t):T.handleEvent(t)};return t.pendingEvents=e,t}(),T.fireEvent=function(e,t){T.onEvent({type:e,target:t})},T.registerEvents=function(e,t){for(var n=t.length-1;n>=0;n--){var i=t[n];T.$data(e,i+".tracked")||(T.addEventHandler(e,i,T.onEvent),T.$data(e,i+".tracked",!0))}},T.registerEventsForTags=function(e,n){for(var i=e.length-1;i>=0;i--)for(var a=e[i],r=t.getElementsByTagName(a),s=r.length-1;s>=0;s--)T.registerEvents(r[s],n)},T.setListeners=function(){var e=["click","submit"];T.each(T.rules,function(t){"custom"===t.event&&t.hasOwnProperty("customEvent")&&!T.contains(e,t.customEvent)&&e.push(t.customEvent)}),T.registerEvents(t,e)},T.getUniqueRuleEvents=function(){return T._uniqueRuleEvents||(T._uniqueRuleEvents=[],T.each(T.rules,function(e){-1===T.indexOf(T._uniqueRuleEvents,e.event)&&T._uniqueRuleEvents.push(e.event)})),T._uniqueRuleEvents},T.setFormListeners=function(){if(!T._relevantFormEvents){var e=["change","focus","blur","keypress"];T._relevantFormEvents=T.filter(T.getUniqueRuleEvents(),function(t){return-1!==T.indexOf(e,t)})}T._relevantFormEvents.length&&T.registerEventsForTags(["input","select","textarea","button"],T._relevantFormEvents)},T.setVideoListeners=function(){if(!T._relevantVideoEvents){var e=["play","pause","ended","volumechange","stalled","loadeddata"];T._relevantVideoEvents=T.filter(T.getUniqueRuleEvents(),function(t){return-1!==T.indexOf(e,t)})}T._relevantVideoEvents.length&&T.registerEventsForTags(["video"],T._relevantVideoEvents)},T.readStoredSetting=function(t){try{return t="sdsat_"+t,e.localStorage.getItem(t)}catch(n){return T.notify("Cannot read stored setting from localStorage: "+n.message,2),null}},T.loadStoredSettings=function(){var e=T.readStoredSetting("debug"),t=T.readStoredSetting("hide_activity");e&&(T.settings.notifications="true"===e),t&&(T.settings.hideActivity="true"===t)},T.isRuleActive=function(e,t){function n(e,t){return t=a(t,{hour:e[f](),minute:e[g]()}),Math.floor(Math.abs((e.getTime()-t.getTime())/864e5))}function i(e,t){function n(e){return 12*e[d]()+e[h]()}return Math.abs(n(e)-n(t))}function a(e,t){var n=new Date(e.getTime());for(var i in t)if(t.hasOwnProperty(i)){var a=t[i];switch(i){case"hour":n[p](a);break;case"minute":n[m](a);break;case"date":n[v](a)}}return n}function r(e,t){var n=e[f](),i=e[g](),a=t[f](),r=t[g]();return 60*n+i>60*a+r}function s(e,t){var n=e[f](),i=e[g](),a=t[f](),r=t[g]();return 60*a+r>60*n+i}var o=e.schedule;if(!o)return!0;var c=o.utc,l=c?"getUTCDate":"getDate",u=c?"getUTCDay":"getDay",d=c?"getUTCFullYear":"getFullYear",h=c?"getUTCMonth":"getMonth",f=c?"getUTCHours":"getHours",g=c?"getUTCMinutes":"getMinutes",p=c?"setUTCHours":"setHours",m=c?"setUTCMinutes":"setMinutes",v=c?"setUTCDate":"setDate";if(t=t||new Date,o.repeat){if(r(o.start,t))return!1;if(s(o.end,t))return!1;if(t<o.start)return!1;if(o.endRepeat&&t>=o.endRepeat)return!1;if("daily"===o.repeat){if(o.repeatEvery){var b=n(o.start,t);if(b%o.repeatEvery!==0)return!1}}else if("weekly"===o.repeat){if(o.days){if(!T.contains(o.days,t[u]()))return!1}else if(o.start[u]()!==t[u]())return!1;if(o.repeatEvery){var y=n(o.start,t);if(y%(7*o.repeatEvery)!==0)return!1}}else if("monthly"===o.repeat){if(o.repeatEvery){var k=i(o.start,t);if(k%o.repeatEvery!==0)return!1}if(o.nthWeek&&o.mthDay){if(o.mthDay!==t[u]())return!1;var S=Math.floor((t[l]()-t[u]()+1)/7);if(o.nthWeek!==S)return!1}else if(o.start[l]()!==t[l]())return!1}else if("yearly"===o.repeat){if(o.start[h]()!==t[h]())return!1;if(o.start[l]()!==t[l]())return!1;if(o.repeatEvery){var y=Math.abs(o.start[d]()-t[d]());if(y%o.repeatEvery!==0)return!1}}}else{if(o.start>t)return!1;if(o.end<t)return!1}return!0},T.isOutboundLink=function(e){if(!e.getAttribute("href"))return!1;var t=e.hostname,n=(e.href,e.protocol);if("http:"!==n&&"https:"!==n)return!1;var i=T.any(T.settings.domainList,function(e){return T.isSubdomainOf(t,e)});return i?!1:t!==location.hostname},T.isLinkerLink=function(e){return e.getAttribute&&e.getAttribute("href")?T.hasMultipleDomains()&&e.hostname!=location.hostname&&!e.href.match(/^javascript/i)&&!T.isOutboundLink(e):!1},T.isSubdomainOf=function(e,t){if(e===t)return!0;var n=e.length-t.length;return n>0?T.equalsIgnoreCase(e.substring(n),t):!1},T.getVisitorId=function(){var e=T.getToolsByType("visitor_id");return 0===e.length?null:e[0].getInstance()},T.URI=function(){var e=t.location.pathname+t.location.search;return T.settings.forceLowerCase&&(e=e.toLowerCase()),e},T.URL=function(){var e=t.location.href;return T.settings.forceLowerCase&&(e=e.toLowerCase()),e},T.filterRules=function(){function e(e){return T.isRuleActive(e)?!0:!1}T.rules=T.filter(T.rules,e),T.pageLoadRules=T.filter(T.pageLoadRules,e)},T.ruleInScope=function(e,n){function i(e,t){function n(e){return t.match(e)}var i=e.include,r=e.exclude;if(i&&a(i,t))return!0;if(r){if(T.isString(r)&&r===t)return!0;if(T.isArray(r)&&T.any(r,n))return!0;if(T.isRegex(r)&&n(r))return!0}return!1}function a(e,t){function n(e){return t.match(e)}return T.isString(e)&&e!==t?!0:T.isArray(e)&&!T.any(e,n)?!0:T.isRegex(e)&&!n(e)?!0:!1}n=n||t.location;var r=e.scope;if(!r)return!0;var s=r.URI,o=r.subdomains,c=r.domains,l=r.protocols,u=r.hashes;return s&&i(s,n.pathname+n.search)?!1:o&&i(o,n.hostname)?!1:c&&a(c,n.hostname)?!1:l&&a(l,n.protocol)?!1:u&&i(u,n.hash)?!1:!0},T.backgroundTasks=function(){+new Date;T.setFormListeners(),T.setVideoListeners(),T.loadStoredSettings(),T.registerNewElementsForDynamicRules(),T.eventEmitterBackgroundTasks();+new Date},T.registerNewElementsForDynamicRules=function(){function e(t,n){var i=e.cache[t];return i?n(i):void T.cssQuery(t,function(i){e.cache[t]=i,n(i)})}e.cache={},T.each(T.dynamicRules,function(t){e(t.selector,function(e){T.each(e,function(e){var n="custom"===t.event?t.customEvent:t.event;T.$data(e,"dynamicRules.seen."+n)||(T.$data(e,"dynamicRules.seen."+n,!0),T.propertiesMatch(t.property,e)&&T.registerEvents(e,[n]))})})})},T.ensureCSSSelector=function(){return t.querySelectorAll?void(T.hasSelector=!0):(T.loadingSizzle=!0,T.sizzleQueue=[],void T.loadScript(T.basePath()+"selector.js",function(){if(!T.Sizzle)return void T.logError(new Error("Failed to load selector.js"));var e=T.onEvent.pendingEvents;T.each(e,function(e){T.handleEvent(e)},this),T.onEvent=T.handleEvent,T.hasSelector=!0,delete T.loadingSizzle,T.each(T.sizzleQueue,function(e){T.cssQuery(e[0],e[1])}),delete T.sizzleQueue}))},T.errors=[],T.logError=function(e){T.errors.push(e),T.notify(e.name+" - "+e.message,5)},T.pageBottom=function(){T.initialized&&(T.pageBottomFired=!0,T.firePageLoadEvent("pagebottom"))},T.stagingLibraryOverride=function(){var e="true"===T.readStoredSetting("stagingLibrary");if(e){for(var n,i,a,r=t.getElementsByTagName("script"),s=/^(.*)satelliteLib-([a-f0-9]{40})\.js$/,o=/^(.*)satelliteLib-([a-f0-9]{40})-staging\.js$/,c=0,l=r.length;l>c&&(a=r[c].getAttribute("src"),!a||(n||(n=a.match(s)),i||(i=a.match(o)),!i));c++);if(n&&!i){var u=n[1]+"satelliteLib-"+n[2]+"-staging.js";if(t.write)t.write('<script src="'+u+'"></script>');else{var d=t.createElement("script");d.src=u,t.head.appendChild(d)}return!0}}return!1},T.checkAsyncInclude=function(){e.satellite_asyncLoad&&T.notify('You may be using the async installation of Satellite. In-page HTML and the "pagebottom" event will not work. Please update your Satellite installation for these features.',5)},T.hasMultipleDomains=function(){return!!T.settings.domainList&&T.settings.domainList.length>1},T.handleOverrides=function(){if(P)for(var e in P)P.hasOwnProperty(e)&&(T.data[e]=P[e])},T.privacyManagerParams=function(){var e={};T.extend(e,T.settings.privacyManagement);var t=[];for(var n in T.tools)if(T.tools.hasOwnProperty(n)){var i=T.tools[n],a=i.settings;if(!a)continue;"sc"===a.engine&&t.push(i)}var r=T.filter(T.map(t,function(e){return e.getTrackingServer()}),function(e){return null!=e});e.adobeAnalyticsTrackingServers=r;for(var s=["bannerText","headline","introductoryText","customCSS"],o=0;o<s.length;o++){var c=s[o],l=e[c];if(l)if("text"===l.type)e[c]=l.value;else{if("data"!==l.type)throw new Error("Invalid type: "+l.type);e[c]=T.getVar(l.value)}}return e},T.prepareLoadPrivacyManager=function(){function t(e){function t(){r++,r===a.length&&(n(),clearTimeout(s),e())}function n(){T.each(a,function(e){T.unbindEvent(e.id+".load",t)})}function i(){n(),e()}var a=T.filter(T.values(T.tools),function(e){return e.settings&&"sc"===e.settings.engine});if(0===a.length)return e();var r=0;T.each(a,function(e){T.bindEvent(e.id+".load",t)});var s=setTimeout(i,5e3)}T.addEventHandler(e,"load",function(){t(T.loadPrivacyManager)})},T.loadPrivacyManager=function(){var e=T.basePath()+"privacy_manager.js";T.loadScript(e,function(){var e=T.privacyManager;e.configure(T.privacyManagerParams()),e.openIfRequired()})},T.init=function(t){if(!T.stagingLibraryOverride()){T.configurationSettings=t;var i=t.tools;delete t.tools;for(var a in t)t.hasOwnProperty(a)&&(T[a]=t[a]);T.data.customVars===n&&(T.data.customVars={}),T.data.queryParams=T.QueryParams.normal,T.handleOverrides(),T.detectBrowserInfo(),T.trackVisitorInfo&&T.trackVisitorInfo(),T.loadStoredSettings(),T.Logger.setOutputState(T.settings.notifications),T.checkAsyncInclude(),T.ensureCSSSelector(),T.filterRules(),T.dynamicRules=T.filter(T.rules,function(e){return e.eventHandlerOnElement}),T.tools=T.initTools(i),T.initEventEmitters(),T.firePageLoadEvent("aftertoolinit"),T.settings.privacyManagement&&T.prepareLoadPrivacyManager(),T.hasSelector&&T.domReady(T.eventEmitterBackgroundTasks),T.setListeners(),T.domReady(function(){T.poll(function(){T.backgroundTasks()},T.settings.recheckEvery||3e3)}),T.domReady(function(){T.domReadyFired=!0,T.pageBottomFired||T.pageBottom(),T.firePageLoadEvent("domready")}),T.addEventHandler(e,"load",function(){T.firePageLoadEvent("windowload")}),T.firePageLoadEvent("pagetop"),T.initialized=!0}},T.pageLoadPhases=["aftertoolinit","pagetop","pagebottom","domready","windowload"],T.loadEventBefore=function(e,t){return T.indexOf(T.pageLoadPhases,e)<=T.indexOf(T.pageLoadPhases,t)},T.flushPendingCalls=function(e){e.pending&&(T.each(e.pending,function(t){var n=t[0],i=t[1],a=t[2],r=t[3];n in e?e[n].apply(e,[i,a].concat(r)):e.emit?e.emit(n,i,a,r):T.notify("Failed to trigger "+n+" for tool "+e.id,1)}),delete e.pending)},T.setDebug=function(t){try{e.localStorage.setItem("sdsat_debug",t)}catch(n){T.notify("Cannot set debug mode: "+n.message,2)}},T.getUserAgent=function(){return navigator.userAgent},T.detectBrowserInfo=function(){function e(e){return function(t){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],a=i.test(t);if(a)return n}return"Unknown"}}var t=e({"IE Edge Mobile":/Windows Phone.*Edge/,"IE Edge":/Edge/,OmniWeb:/OmniWeb/,"Opera Mini":/Opera Mini/,"Opera Mobile":/Opera Mobi/,Opera:/Opera/,Chrome:/Chrome|CriOS|CrMo/,Firefox:/Firefox|FxiOS/,"IE Mobile":/IEMobile/,IE:/MSIE|Trident/,"Mobile Safari":/Mobile(\/[0-9A-z]+)? Safari/,Safari:/Safari/}),n=e({Blackberry:/BlackBerry|BB10/,"Symbian OS":/Symbian|SymbOS/,Maemo:/Maemo/,Android:/Android/,Linux:/ Linux /,Unix:/FreeBSD|OpenBSD|CrOS/,Windows:/[\( ]Windows /,iOS:/iPhone|iPad|iPod/,MacOS:/Macintosh;/}),i=e({Nokia:/Symbian|SymbOS|Maemo/,"Windows Phone":/Windows Phone/,Blackberry:/BlackBerry|BB10/,Android:/Android/,iPad:/iPad/,iPod:/iPod/,iPhone:/iPhone/,Desktop:/.*/}),a=T.getUserAgent();T.browserInfo={browser:t(a),os:n(a),deviceType:i(a)}},T.isHttps=function(){return"https:"==t.location.protocol},T.BaseTool=function(e){this.settings=e||{},this.forceLowerCase=T.settings.forceLowerCase,"forceLowerCase"in this.settings&&(this.forceLowerCase=this.settings.forceLowerCase)},T.BaseTool.prototype={triggerCommand:function(e,t,n){var i=this.settings||{};if(this.initialize&&this.isQueueAvailable()&&this.isQueueable(e)&&n&&T.loadEventBefore(n.type,i.loadOn))return void this.queueCommand(e,t,n);var a=e.command,r=this["$"+a],s=r?r.escapeHtml:!1,o=T.preprocessArguments(e.arguments,t,n,this.forceLowerCase,s);r?r.apply(this,[t,n].concat(o)):this.$missing$?this.$missing$(a,t,n,o):T.notify("Failed to trigger "+a+" for tool "+this.id,1)},endPLPhase:function(e){},isQueueable:function(e){return"cancelToolInit"!==e.command},isQueueAvailable:function(){return!this.initialized&&!this.initializing},flushQueue:function(){this.pending&&(T.each(this.pending,function(e){this.triggerCommand.apply(this,e)},this),this.pending=[])},queueCommand:function(e,t,n){this.pending||(this.pending=[]),this.pending.push([e,t,n])},$cancelToolInit:function(){this._cancelToolInit=!0}},e._satellite=T,T.visibility={isHidden:function(){var e=this.getHiddenProperty();return e?t[e]:!1},isVisible:function(){return!this.isHidden()},getHiddenProperty:function(){var e=["webkit","moz","ms","o"];if("hidden"in t)return"hidden";for(var n=0;n<e.length;n++)if(e[n]+"Hidden"in t)return e[n]+"Hidden"; return null},getVisibilityEvent:function(){var e=this.getHiddenProperty();return e?e.replace(/[H|h]idden/,"")+"visibilitychange":null}},T.ecommerce={addItem:function(){var e=[].slice.call(arguments);T.onEvent({type:"ecommerce.additem",target:e})},addTrans:function(){var e=[].slice.call(arguments);T.data.saleData.sale={orderId:e[0],revenue:e[2]},T.onEvent({type:"ecommerce.addtrans",target:e})},trackTrans:function(){T.onEvent({type:"ecommerce.tracktrans",target:[]})}},i.orientationChange=function(t){var n=0===e.orientation?"portrait":"landscape";t.orientation=n,T.onEvent(t)},T.availableEventEmitters.push(i),a.offset=function(n){var i=null,a=null;try{var r=n.getBoundingClientRect(),s=t,o=s.documentElement,c=s.body,l=e,u=o.clientTop||c.clientTop||0,d=o.clientLeft||c.clientLeft||0,h=l.pageYOffset||o.scrollTop||c.scrollTop,f=l.pageXOffset||o.scrollLeft||c.scrollLeft;i=r.top+h-u,a=r.left+f-d}catch(g){}return{top:i,left:a}},a.getViewportHeight=function(){var n=e.innerHeight,i=t.compatMode;return i&&(n="CSS1Compat"==i?t.documentElement.clientHeight:t.body.clientHeight),n},a.getScrollTop=function(){return t.documentElement.scrollTop?t.documentElement.scrollTop:t.body.scrollTop},a.isElementInDocument=function(e){return t.body.contains(e)},a.isElementInView=function(e){if(!a.isElementInDocument(e))return!1;var t=a.getViewportHeight(),n=a.getScrollTop(),i=a.offset(e).top,r=e.offsetHeight;return null!==i?!(n>i+r||i>n+t):!1},a.prototype={backgroundTasks:function(){var e=this.elements;T.each(this.rules,function(t){T.cssQuery(t.selector,function(n){var i=0;T.each(n,function(t){T.contains(e,t)||(e.push(t),i++)}),i&&T.notify(t.selector+" added "+i+" elements.",1)})}),this.track()},checkInView:function(e,t,n){var i=T.$data(e,"inview");if(a.isElementInView(e)){i||T.$data(e,"inview",!0);var r=this;this.processRules(e,function(n,i,a){if(t||!n.inviewDelay)T.$data(e,i,!0),T.onEvent({type:"inview",target:e,inviewDelay:n.inviewDelay});else if(n.inviewDelay){var s=T.$data(e,a);s||(s=setTimeout(function(){r.checkInView(e,!0,n.inviewDelay)},n.inviewDelay),T.$data(e,a,s))}},n)}else{if(!a.isElementInDocument(e)){var s=T.indexOf(this.elements,e);this.elements.splice(s,1)}i&&T.$data(e,"inview",!1),this.processRules(e,function(t,n,i){var a=T.$data(e,i);a&&clearTimeout(a)},n)}},track:function(){for(var e=this.elements.length-1;e>=0;e--)this.checkInView(this.elements[e])},processRules:function(e,t,n){var i=this.rules;n&&(i=T.filter(this.rules,function(e){return e.inviewDelay==n})),T.each(i,function(n,i){var a=n.inviewDelay?"viewed_"+n.inviewDelay:"viewed",r="inview_timeout_id_"+i;T.$data(e,a)||T.matchesCss(n.selector,e)&&t(n,a,r)})}},T.availableEventEmitters.push(a),r.prototype={backgroundTasks:function(){var e=this.eventHandler;T.each(this.rules,function(t){T.cssQuery(t.selector||"video",function(t){T.each(t,function(t){T.$data(t,"videoplayed.tracked")||(T.addEventHandler(t,"timeupdate",T.throttle(e,100)),T.$data(t,"videoplayed.tracked",!0))})})})},evalRule:function(e,t){var n=t.event,i=e.seekable,a=i.start(0),r=i.end(0),s=e.currentTime,o=t.event.match(/^videoplayed\(([0-9]+)([s%])\)$/);if(o){var c=o[2],l=Number(o[1]),u="%"===c?function(){return 100*(s-a)/(r-a)>=l}:function(){return s-a>=l};!T.$data(e,n)&&u()&&(T.$data(e,n,!0),T.onEvent({type:n,target:e}))}},onUpdateTime:function(e){var t=this.rules,n=e.target;if(n.seekable&&0!==n.seekable.length)for(var i=0,a=t.length;a>i;i++)this.evalRule(n,t[i])}},T.availableEventEmitters.push(r),s.prototype={obue:!1,initialize:function(){this.attachCloseListeners()},obuePrevUnload:function(){},obuePrevBeforeUnload:function(){},newObueListener:function(){this.obue||(this.obue=!0,this.triggerBeacons())},attachCloseListeners:function(){this.prevUnload=e.onunload,this.prevBeforeUnload=e.onbeforeunload,e.onunload=T.bind(function(t){this.prevUnload&&setTimeout(T.bind(function(){this.prevUnload.call(e,t)},this),1),this.newObueListener()},this),e.onbeforeunload=T.bind(function(t){this.prevBeforeUnload&&setTimeout(T.bind(function(){this.prevBeforeUnload.call(e,t)},this),1),this.newObueListener()},this)},triggerBeacons:function(){T.fireEvent("leave",t)}},T.availableEventEmitters.push(s),o.prototype={initialize:function(){return this.FB=this.FB||e.FB,this.FB&&this.FB.Event&&this.FB.Event.subscribe?(this.bind(),!0):void 0},bind:function(){this.FB.Event.subscribe("edge.create",function(){T.notify("tracking a facebook like",1),T.onEvent({type:"facebook.like",target:t})}),this.FB.Event.subscribe("edge.remove",function(){T.notify("tracking a facebook unlike",1),T.onEvent({type:"facebook.unlike",target:t})}),this.FB.Event.subscribe("message.send",function(){T.notify("tracking a facebook share",1),T.onEvent({type:"facebook.send",target:t})})}},T.availableEventEmitters.push(o),c.prototype={defineEvents:function(){this.oldBlurClosure=function(){T.fireEvent("tabblur",t)},this.oldFocusClosure=T.bind(function(){this.visibilityApiHasPriority?T.fireEvent("tabfocus",t):null!=T.visibility.getHiddenProperty()?T.visibility.isHidden()||T.fireEvent("tabfocus",t):T.fireEvent("tabfocus",t)},this)},attachDetachModernEventListeners:function(e){var n=0==e?"removeEventHandler":"addEventHandler";T[n](t,T.visibility.getVisibilityEvent(),this.handleVisibilityChange)},attachDetachOlderEventListeners:function(t,n,i){var a=0==t?"removeEventHandler":"addEventHandler";T[a](n,i,this.oldBlurClosure),T[a](e,"focus",this.oldFocusClosure)},handleVisibilityChange:function(){T.visibility.isHidden()?T.fireEvent("tabblur",t):T.fireEvent("tabfocus",t)},setVisibilityApiPriority:function(t){this.visibilityApiHasPriority=t,this.attachDetachOlderEventListeners(!1,e,"blur"),this.attachDetachModernEventListeners(!1),t?null!=T.visibility.getHiddenProperty()?this.attachDetachModernEventListeners(!0):this.attachDetachOlderEventListeners(!0,e,"blur"):(this.attachDetachOlderEventListeners(!0,e,"blur"),null!=T.visibility.getHiddenProperty()&&this.attachDetachModernEventListeners(!0))},oldBlurClosure:null,oldFocusClosure:null,visibilityApiHasPriority:!0},T.availableEventEmitters.push(c),l.prototype={initialize:function(){this.setupHistoryAPI(),this.setupHashChange()},fireIfURIChanged:function(){var e=T.URL();this.lastURL!==e&&(this.fireEvent(),this.lastURL=e)},fireEvent:function(){T.updateQueryParams(),T.onEvent({type:"locationchange",target:t})},setupSPASupport:function(){this.setupHistoryAPI(),this.setupHashChange()},setupHistoryAPI:function(){var t=e.history;t&&(t.pushState&&(this.originalPushState=t.pushState,t.pushState=this._pushState),t.replaceState&&(this.originalReplaceState=t.replaceState,t.replaceState=this._replaceState)),T.addEventHandler(e,"popstate",this._onPopState)},pushState:function(){var e=this.originalPushState.apply(history,arguments);return this.onPushState(),e},replaceState:function(){var e=this.originalReplaceState.apply(history,arguments);return this.onReplaceState(),e},setupHashChange:function(){T.addEventHandler(e,"hashchange",this._onHashChange)},onReplaceState:function(){setTimeout(this._fireIfURIChanged,0)},onPushState:function(){setTimeout(this._fireIfURIChanged,0)},onPopState:function(){setTimeout(this._fireIfURIChanged,0)},onHashChange:function(){setTimeout(this._fireIfURIChanged,0)},uninitialize:function(){this.cleanUpHistoryAPI(),this.cleanUpHashChange()},cleanUpHistoryAPI:function(){history.pushState===this._pushState&&(history.pushState=this.originalPushState),history.replaceState===this._replaceState&&(history.replaceState=this.originalReplaceState),T.removeEventHandler(e,"popstate",this._onPopState)},cleanUpHashChange:function(){T.removeEventHandler(e,"hashchange",this._onHashChange)}},T.availableEventEmitters.push(l),u.prototype.getStringifiedValue=e.JSON&&e.JSON.stringify||T.stringify,u.prototype.initPolling=function(){0!==this.dataElementsNames.length&&(this.dataElementsStore=this.getDataElementsValues(),T.poll(T.bind(this.checkDataElementValues,this),1e3))},u.prototype.getDataElementsValues=function(){var e={};return T.each(this.dataElementsNames,function(t){var n=T.getVar(t);e[t]=this.getStringifiedValue(n)},this),e},u.prototype.checkDataElementValues=function(){T.each(this.dataElementsNames,T.bind(function(e){var n=this.getStringifiedValue(T.getVar(e)),i=this.dataElementsStore[e];n!==i&&(this.dataElementsStore[e]=n,T.onEvent({type:"dataelementchange("+e+")",target:t}))},this))},T.availableEventEmitters.push(u),d.prototype.backgroundTasks=function(){T.each(this.rules,function(e){T.cssQuery(e.selector,function(e){if(e.length>0){var t=e[0];if(T.$data(t,"elementexists.seen"))return;T.$data(t,"elementexists.seen",!0),T.onEvent({type:"elementexists",target:t})}})})},T.availableEventEmitters.push(d),h.prototype={backgroundTasks:function(){var e=this;T.each(this.rules,function(t){var n=t[1],i=t[0];T.cssQuery(n,function(t){T.each(t,function(t){e.trackElement(t,i)})})},this)},trackElement:function(e,t){var n=this,i=T.$data(e,"hover.delays");i?T.contains(i,t)||i.push(t):(T.addEventHandler(e,"mouseover",function(t){n.onMouseOver(t,e)}),T.addEventHandler(e,"mouseout",function(t){n.onMouseOut(t,e)}),T.$data(e,"hover.delays",[t]))},onMouseOver:function(e,t){var n=e.target||e.srcElement,i=e.relatedTarget||e.fromElement,a=(t===n||T.containsElement(t,n))&&!T.containsElement(t,i);a&&this.onMouseEnter(t)},onMouseEnter:function(e){var t=T.$data(e,"hover.delays"),n=T.map(t,function(t){return setTimeout(function(){T.onEvent({type:"hover("+t+")",target:e})},t)});T.$data(e,"hover.delayTimers",n)},onMouseOut:function(e,t){var n=e.target||e.srcElement,i=e.relatedTarget||e.toElement,a=(t===n||T.containsElement(t,n))&&!T.containsElement(t,i);a&&this.onMouseLeave(t)},onMouseLeave:function(e){var t=T.$data(e,"hover.delayTimers");t&&T.each(t,function(e){clearTimeout(e)})}},T.availableEventEmitters.push(h),f.prototype={initialize:function(){var e=this.twttr;e&&"function"==typeof e.ready&&e.ready(T.bind(this.bind,this))},bind:function(){this.twttr.events.bind("tweet",function(e){e&&(T.notify("tracking a tweet button",1),T.onEvent({type:"twitter.tweet",target:t}))})}},T.availableEventEmitters.push(f),T.inherit(g,T.BaseTool),T.extend(g.prototype,{name:"tnt",endPLPhase:function(e){"aftertoolinit"===e&&this.initialize()},initialize:function(){T.notify("Test & Target: Initializing",1),this.initializeTargetPageParams(),this.load()},initializeTargetPageParams:function(){e.targetPageParams&&this.updateTargetPageParams(this.parseTargetPageParamsResult(e.targetPageParams())),this.updateTargetPageParams(this.settings.pageParams),this.setTargetPageParamsFunction()},load:function(){var e=this.getMboxURL(this.settings.mboxURL);this.settings.initTool!==!1?this.settings.loadSync?(T.loadScriptSync(e),this.onScriptLoaded()):(T.loadScript(e,T.bind(this.onScriptLoaded,this)),this.initializing=!0):this.initialized=!0},getMboxURL:function(t){var n=t;return T.isObject(t)&&(n="https:"===e.location.protocol?t.https:t.http),n.match(/^https?:/)?n:T.basePath()+n},onScriptLoaded:function(){T.notify("Test & Target: loaded.",1),this.flushQueue(),this.initialized=!0,this.initializing=!1},$addMbox:function(e,t,n){var i=n.mboxGoesAround,a=i+"{visibility: hidden;}",r=this.appendStyle(a);i in this.styleElements||(this.styleElements[i]=r),this.initialized?this.$addMBoxStep2(null,null,n):this.initializing&&this.queueCommand({command:"addMBoxStep2",arguments:[n]},e,t)},$addMBoxStep2:function(n,i,a){var r=this.generateID(),s=this;T.addEventHandler(e,"load",T.bind(function(){T.cssQuery(a.mboxGoesAround,function(n){var i=n[0];if(i){var o=t.createElement("div");o.id=r,i.parentNode.replaceChild(o,i),o.appendChild(i),e.mboxDefine(r,a.mboxName);var c=[a.mboxName];a.arguments&&(c=c.concat(a.arguments)),e.mboxUpdate.apply(null,c),s.reappearWhenCallComesBack(i,r,a.timeout,a)}})},this)),this.lastMboxID=r},$addTargetPageParams:function(e,t,n){this.updateTargetPageParams(n)},generateID:function(){var e="_sdsat_mbox_"+String(Math.random()).substring(2)+"_";return e},appendStyle:function(e){var n=t.getElementsByTagName("head")[0],i=t.createElement("style");return i.type="text/css",i.styleSheet?i.styleSheet.cssText=e:i.appendChild(t.createTextNode(e)),n.appendChild(i),i},reappearWhenCallComesBack:function(e,t,n,i){function a(){var e=r.styleElements[i.mboxGoesAround];e&&(e.parentNode.removeChild(e),delete r.styleElements[i.mboxGoesAround])}var r=this;T.cssQuery('script[src*="omtrdc.net"]',function(e){var t=e[0];if(t){T.scriptOnLoad(t.src,t,function(){T.notify("Test & Target: request complete",1),a(),clearTimeout(i)});var i=setTimeout(function(){T.notify("Test & Target: bailing after "+n+"ms",1),a()},n)}else T.notify("Test & Target: failed to find T&T ajax call, bailing",1),a()})},updateTargetPageParams:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[T.replace(n)]=T.replace(e[n]));T.extend(this.targetPageParamsStore,t)},getTargetPageParams:function(){return this.targetPageParamsStore},setTargetPageParamsFunction:function(){e.targetPageParams=T.bind(this.getTargetPageParams,this)},parseTargetPageParamsResult:function(e){var t=e;return T.isArray(e)&&(e=e.join("&")),T.isString(e)&&(t=T.parseQueryParams(e)),t}}),T.availableTools.tnt=g,T.inherit(p,T.BaseTool),T.extend(p.prototype,{name:"Nielsen",endPLPhase:function(e){switch(e){case"pagetop":this.initialize();break;case"pagebottom":this.enableTracking&&(this.queueCommand({command:"sendFirstBeacon",arguments:[]}),this.flushQueueWhenReady())}},defineListeners:function(){this.onTabFocus=T.bind(function(){this.notify("Tab visible, sending view beacon when ready",1),this.tabEverVisible=!0,this.flushQueueWhenReady()},this),this.onPageLeave=T.bind(function(){this.notify("isHuman? : "+this.isHuman(),1),this.isHuman()&&this.sendDurationBeacon()},this),this.onHumanDetectionChange=T.bind(function(e){this==e.target.target&&(this.human=e.target.isHuman)},this)},initialize:function(){this.initializeTracking(),this.initializeDataProviders(),this.initializeNonHumanDetection(),this.tabEverVisible=T.visibility.isVisible(),this.tabEverVisible?this.notify("Tab visible, sending view beacon when ready",1):T.bindEventOnce("tabfocus",this.onTabFocus),this.initialized=!0},initializeTracking:function(){this.initialized||(this.notify("Initializing tracking",1),this.addRemovePageLeaveEvent(this.enableTracking),this.addRemoveHumanDetectionChangeEvent(this.enableTracking),this.initialized=!0)},initializeDataProviders:function(){var e,t=this.getAnalyticsTool();this.dataProvider.register(new p.DataProvider.VisitorID(T.getVisitorId())),t?(e=new p.DataProvider.Generic("rsid",function(){return t.settings.account}),this.dataProvider.register(e)):this.notify("Missing integration with Analytics: rsid will not be sent.")},initializeNonHumanDetection:function(){T.nonhumandetection?(T.nonhumandetection.init(),this.setEnableNonHumanDetection(0==this.settings.enableNonHumanDetection?!1:!0),this.settings.nonHumanDetectionDelay>0&&this.setNonHumanDetectionDelay(1e3*parseInt(this.settings.nonHumanDetectionDelay))):this.notify("NHDM is not available.")},getAnalyticsTool:function(){return this.settings.integratesWith?T.tools[this.settings.integratesWith]:void 0},flushQueueWhenReady:function(){this.enableTracking&&this.tabEverVisible&&T.poll(T.bind(function(){return this.isReadyToTrack()?(this.flushQueue(),!0):void 0},this),100,20)},isReadyToTrack:function(){return this.tabEverVisible&&this.dataProvider.isReady()},$setVars:function(e,t,n){for(var i in n){var a=n[i];"function"==typeof a&&(a=a()),this.settings[i]=a}this.notify("Set variables done",2),this.prepareContextData()},$setEnableTracking:function(e,t,n){this.notify("Will"+(n?"":" not")+" track time on page",1),this.enableTracking!=n&&(this.addRemovePageLeaveEvent(n),this.addRemoveHumanDetectionChangeEvent(n),this.enableTracking=n)},$sendFirstBeacon:function(e,t,n){this.sendViewBeacon()},setEnableNonHumanDetection:function(e){e?T.nonhumandetection.register(this):T.nonhumandetection.unregister(this)},setNonHumanDetectionDelay:function(e){T.nonhumandetection.register(this,e)},addRemovePageLeaveEvent:function(e){this.notify((e?"Attach onto":"Detach from")+" page leave event",1);var t=0==e?"unbindEvent":"bindEvent";T[t]("leave",this.onPageLeave)},addRemoveHumanDetectionChangeEvent:function(e){this.notify((e?"Attach onto":"Detach from")+" human detection change event",1);var t=0==e?"unbindEvent":"bindEvent";T[t]("humandetection.change",this.onHumanDetectionChange)},sendViewBeacon:function(){this.notify("Tracked page view.",1),this.sendBeaconWith()},sendDurationBeacon:function(){if(!T.timetracking||"function"!=typeof T.timetracking.timeOnPage||null==T.timetracking.timeOnPage())return void this.notify("Could not track close due missing time on page",5);this.notify("Tracked close",1),this.sendBeaconWith({timeOnPage:Math.round(T.timetracking.timeOnPage()/1e3),duration:"D",timer:"timer"});var e,t="";for(e=0;e<this.magicConst;e++)t+="0"},sendBeaconWith:function(e){this.enableTracking&&this[this.beaconMethod].call(this,this.prepareUrl(e))},plainBeacon:function(e){var t=new Image;t.src=e,t.width=1,t.height=1,t.alt=""},navigatorSendBeacon:function(e){navigator.sendBeacon(e)},prepareUrl:function(e){var t=this.settings;return T.extend(t,this.dataProvider.provide()),T.extend(t,e),this.preparePrefix(this.settings.collectionServer)+this.adapt.convertToURI(this.adapt.toNielsen(this.substituteVariables(t)))},preparePrefix:function(e){return"//"+encodeURIComponent(e)+".imrworldwide.com/cgi-bin/gn?"},substituteVariables:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=T.replace(e[n]));return t},prepareContextData:function(){if(!this.getAnalyticsTool())return void this.notify("Adobe Analytics missing.");var e=this.settings;e.sdkVersion=_satellite.publishDate,this.getAnalyticsTool().$setVars(null,null,{contextData:this.adapt.toAnalytics(this.substituteVariables(e))})},isHuman:function(){return this.human},onTabFocus:function(){},onPageLeave:function(){},onHumanDetectionChange:function(){},notify:function(e,t){T.notify(this.logPrefix+e,t)},beaconMethod:"plainBeacon",adapt:null,enableTracking:!1,logPrefix:"Nielsen: ",tabEverVisible:!1,human:!0,magicConst:2e6}),p.DataProvider={},p.DataProvider.Generic=function(e,t){this.key=e,this.valueFn=t},T.extend(p.DataProvider.Generic.prototype,{isReady:function(){return!0},getValue:function(){return this.valueFn()},provide:function(){this.isReady()||p.prototype.notify("Not yet ready to provide value for: "+this.key,5);var e={};return e[this.key]=this.getValue(),e}}),p.DataProvider.VisitorID=function(e,t,n){this.key=t||"uuid",this.visitorInstance=e,this.visitorInstance&&(this.visitorId=e.getMarketingCloudVisitorID([this,this._visitorIdCallback])),this.fallbackProvider=n||new p.UUID},T.inherit(p.DataProvider.VisitorID,p.DataProvider.Generic),T.extend(p.DataProvider.VisitorID.prototype,{isReady:function(){return null===this.visitorInstance?!0:!!this.visitorId},getValue:function(){return this.visitorId||this.fallbackProvider.get()},_visitorIdCallback:function(e){this.visitorId=e}}),p.DataProvider.Aggregate=function(){this.providers=[];for(var e=0;e<arguments.length;e++)this.register(arguments[e])},T.extend(p.DataProvider.Aggregate.prototype,{register:function(e){this.providers.push(e)},isReady:function(){return T.every(this.providers,function(e){return e.isReady()})},provide:function(){var e={};return T.each(this.providers,function(t){T.extend(e,t.provide())}),e}}),p.UUID=function(){},T.extend(p.UUID.prototype,{generate:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0,n="x"==e?t:3&t|8;return n.toString(16)})},get:function(){var e=T.readCookie(this.key("uuid"));return e?e:(e=this.generate(),T.setCookie(this.key("uuid"),e),e)},key:function(e){return"_dtm_nielsen_"+e}}),p.DataAdapters=function(){},T.extend(p.DataAdapters.prototype,{toNielsen:function(e){var t=(new Date).getTime(),i={c6:"vc,",c13:"asid,",c15:"apn,",c27:"cln,",c32:"segA,",c33:"segB,",c34:"segC,",c35:"adrsid,",c29:"plid,",c30:"bldv,",c40:"adbid,"},a={ci:e.clientId,c6:e.vcid,c13:e.appId,c15:e.appName,prv:1,forward:0,ad:0,cr:e.duration||"V",rt:"text",st:"dcr",prd:"dcr",r:t,at:e.timer||"view",c16:e.sdkVersion,c27:e.timeOnPage||0,c40:e.uuid,c35:e.rsid,ti:t,sup:0,c32:e.segmentA,c33:e.segmentB,c34:e.segmentC,asn:e.assetName,c29:e.playerID,c30:e.buildVersion};for(key in a)if(a[key]!==n&&null!=a[key]&&a[key]!==n&&null!=a&&""!=a){var r=encodeURIComponent(a[key]);i.hasOwnProperty(key)&&r&&(r=i[key]+r),a[key]=r}return this.filterObject(a)},toAnalytics:function(e){return this.filterObject({"a.nielsen.clientid":e.clientId,"a.nielsen.vcid":e.vcid,"a.nielsen.appid":e.appId,"a.nielsen.appname":e.appName,"a.nielsen.accmethod":"0","a.nielsen.ctype":"text","a.nielsen.sega":e.segmentA,"a.nielsen.segb":e.segmentB,"a.nielsen.segc":e.segmentC,"a.nielsen.asset":e.assetName})},convertToURI:function(e){if(T.isObject(e)===!1)return"";var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n+"="+e[n]);return t.join("&")},filterObject:function(e){for(var t in e)!e.hasOwnProperty(t)||null!=e[t]&&e[t]!==n||delete e[t];return e}}),T.availableTools.nielsen=p,T.inherit(m,T.BaseTool),T.extend(m.prototype,{name:"SC",endPLPhase:function(e){var t=this.settings.loadOn;e===t&&this.initialize(e)},initialize:function(t){if(!this._cancelToolInit)if(this.settings.initVars=this.substituteVariables(this.settings.initVars,{type:t}),this.settings.initTool!==!1){var n=this.settings.sCodeURL||T.basePath()+"s_code.js";"object"==typeof n&&(n="https:"===e.location.protocol?n.https:n.http),n.match(/^https?:/)||(n=T.basePath()+n),this.settings.initVars&&this.$setVars(null,null,this.settings.initVars),T.loadScript(n,T.bind(this.onSCodeLoaded,this)),this.initializing=!0}else this.initializing=!0,this.pollForSC()},getS:function(t,n){var i=n&&n.hostname||e.location.hostname,a=this.concatWithToolVarBindings(n&&n.setVars||this.varBindings),r=n&&n.addEvent||this.events,s=this.getAccount(i),o=e.s_gi;if(!o)return null;if(this.isValidSCInstance(t)||(t=null),!s&&!t)return T.notify("Adobe Analytics: tracker not initialized because account was not found",1),null;var t=t||o(s),c="D"+T.appVersion;"undefined"!=typeof t.tagContainerMarker?t.tagContainerMarker=c:"string"==typeof t.version&&t.version.substring(t.version.length-5)!=="-"+c&&(t.version+="-"+c),t.sa&&this.settings.skipSetAccount!==!0&&this.settings.initTool!==!1&&t.sa(this.settings.account),this.applyVarBindingsOnTracker(t,a),r.length>0&&(t.events=r.join(","));var l=T.getVisitorId();return l&&(t.visitor=T.getVisitorId()),t},onSCodeLoaded:function(e){this.initialized=!0,this.initializing=!1;var t=["Adobe Analytics: loaded",e?" (manual)":"","."];T.notify(t.join(""),1),T.fireEvent(this.id+".load",this.getS()),e||(this.flushQueueExceptTrackLink(),this.sendBeacon()),this.flushQueue()},getAccount:function(t){return e.s_account?e.s_account:t&&this.settings.accountByHost?this.settings.accountByHost[t]||this.settings.account:this.settings.account},getTrackingServer:function(){var t=this,n=t.getS();if(n){if(n.ssl&&n.trackingServerSecure)return n.trackingServerSecure;if(n.trackingServer)return n.trackingServer}var i=t.getAccount(e.location.hostname);if(!i)return null;var a,r,s,o="",c=n&&n.dc;return a=i,r=a.indexOf(","),r>=0&&(a=a.gb(0,r)),a=a.replace(/[^A-Za-z0-9]/g,""),o||(o="2o7.net"),c=c?(""+c).toLowerCase():"d1","2o7.net"==o&&("d1"==c?c="112":"d2"==c&&(c="122"),s=""),r=a+"."+c+"."+s+o},sendBeacon:function(){var t=this.getS(e[this.settings.renameS||"s"]);return t?this.settings.customInit&&this.settings.customInit(t)===!1?void T.notify("Adobe Analytics: custom init suppressed beacon",1):(this.settings.executeCustomPageCodeFirst&&this.applyVarBindingsOnTracker(t,this.varBindings),this.executeCustomSetupFuns(t),t.t(),this.clearVarBindings(),this.clearCustomSetup(),void T.notify("Adobe Analytics: tracked page view",1)):void T.notify("Adobe Analytics: page code not loaded",1)},pollForSC:function(){T.poll(T.bind(function(){return"function"==typeof e.s_gi?(this.onSCodeLoaded(!0),!0):void 0},this))},flushQueueExceptTrackLink:function(){if(this.pending){for(var e=[],t=0;t<this.pending.length;t++){var n=this.pending[t],i=n[0];"trackLink"===i.command?e.push(n):this.triggerCommand.apply(this,n)}this.pending=e}},isQueueAvailable:function(){return!this.initialized},substituteVariables:function(e,t){var n={};for(var i in e)if(e.hasOwnProperty(i)){var a=e[i];n[i]=T.replace(a,location,t)}return n},$setVars:function(e,t,n){for(var i in n)if(n.hasOwnProperty(i)){var a=n[i];"function"==typeof a&&(a=a()),this.varBindings[i]=a}T.notify("Adobe Analytics: set variables.",2)},$customSetup:function(e,t,n){this.customSetupFuns.push(function(i){n.call(e,t,i)})},isValidSCInstance:function(e){return!!e&&"function"==typeof e.t&&"function"==typeof e.tl},concatWithToolVarBindings:function(e){var t=this.settings.initVars||{};return T.map(["trackingServer","trackingServerSecure"],function(n){t[n]&&!e[n]&&(e[n]=t[n])}),e},applyVarBindingsOnTracker:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},clearVarBindings:function(){this.varBindings={}},clearCustomSetup:function(){this.customSetupFuns=[]},executeCustomSetupFuns:function(t){T.each(this.customSetupFuns,function(n){n.call(e,t)})},$trackLink:function(e,t,n){n=n||{};var i=n.type,a=n.linkName;!a&&e&&e.nodeName&&"a"===e.nodeName.toLowerCase()&&(a=e.innerHTML),a||(a="link clicked");var r=n&&n.setVars,s=n&&n.addEvent||[],o=this.getS(null,{setVars:r,addEvent:s});if(!o)return void T.notify("Adobe Analytics: page code not loaded",1);var c=o.linkTrackVars,l=o.linkTrackEvents,u=this.definedVarNames(r);n&&n.customSetup&&n.customSetup.call(e,t,o),s.length>0&&u.push("events"),o.products&&u.push("products"),u=this.mergeTrackLinkVars(o.linkTrackVars,u),s=this.mergeTrackLinkVars(o.linkTrackEvents,s),o.linkTrackVars=this.getCustomLinkVarsList(u);var d=T.map(s,function(e){return e.split(":")[0]});o.linkTrackEvents=this.getCustomLinkVarsList(d),o.tl(!0,i||"o",a),T.notify(["Adobe Analytics: tracked link ","using: linkTrackVars=",T.stringify(o.linkTrackVars),"; linkTrackEvents=",T.stringify(o.linkTrackEvents)].join(""),1),o.linkTrackVars=c,o.linkTrackEvents=l},mergeTrackLinkVars:function(e,t){return e&&(t=e.split(",").concat(t)),t},getCustomLinkVarsList:function(e){var t=T.indexOf(e,"None");return t>-1&&e.length>1&&e.splice(t,1),e.join(",")},definedVarNames:function(e){e=e||this.varBindings;var t=[];for(var n in e)e.hasOwnProperty(n)&&/^(eVar[0-9]+)|(prop[0-9]+)|(hier[0-9]+)|campaign|purchaseID|channel|server|state|zip|pageType$/.test(n)&&t.push(n);return t},$trackPageView:function(e,t,n){var i=n&&n.setVars,a=n&&n.addEvent||[],r=this.getS(null,{setVars:i,addEvent:a});return r?(r.linkTrackVars="",r.linkTrackEvents="",this.executeCustomSetupFuns(r),n&&n.customSetup&&n.customSetup.call(e,t,r),r.t(),this.clearVarBindings(),this.clearCustomSetup(),void T.notify("Adobe Analytics: tracked page view",1)):void T.notify("Adobe Analytics: page code not loaded",1)},$postTransaction:function(t,n,i){var a=T.data.transaction=e[i],r=this.varBindings,s=this.settings.fieldVarMapping;if(T.each(a.items,function(e){this.products.push(e)},this),r.products=T.map(this.products,function(e){var t=[];if(s&&s.item)for(var n in s.item)if(s.item.hasOwnProperty(n)){var i=s.item[n];t.push(i+"="+e[n]),"event"===i.substring(0,5)&&this.events.push(i)}var a=["",e.product,e.quantity,e.unitPrice*e.quantity];return t.length>0&&a.push(t.join("|")),a.join(";")},this).join(","),s&&s.transaction){var o=[];for(var c in s.transaction)if(s.transaction.hasOwnProperty(c)){var i=s.transaction[c];o.push(i+"="+a[c]),"event"===i.substring(0,5)&&this.events.push(i)}r.products.length>0&&(r.products+=","),r.products+=";;;;"+o.join("|")}},$addEvent:function(e,t){for(var n=2,i=arguments.length;i>n;n++)this.events.push(arguments[n])},$addProduct:function(e,t){for(var n=2,i=arguments.length;i>n;n++)this.products.push(arguments[n])}}),T.availableTools.sc=m,T.inherit(v,T.BaseTool),T.extend(v.prototype,{name:"Default",$loadIframe:function(t,n,i){var a=i.pages,r=i.loadOn,s=T.bind(function(){T.each(a,function(e){this.loadIframe(t,n,e)},this)},this);r||s(),"domready"===r&&T.domReady(s),"load"===r&&T.addEventHandler(e,"load",s)},loadIframe:function(e,n,i){var a=t.createElement("iframe");a.style.display="none";var r=T.data.host,s=i.data,o=this.scriptURL(i.src),c=T.searchVariables(s,e,n);r&&(o=T.basePath()+o),o+=c,a.src=o;var l=t.getElementsByTagName("body")[0];l?l.appendChild(a):T.domReady(function(){t.getElementsByTagName("body")[0].appendChild(a)})},scriptURL:function(e){var t=T.settings.scriptDir||"";return t+e},$loadScript:function(t,n,i){var a=i.scripts,r=i.sequential,s=i.loadOn,o=T.bind(function(){r?this.loadScripts(t,n,a):T.each(a,function(e){this.loadScripts(t,n,[e])},this)},this);s?"domready"===s?T.domReady(o):"load"===s&&T.addEventHandler(e,"load",o):o()},loadScripts:function(e,t,n){function i(){if(r.length>0&&a){var c=r.shift();c.call(e,t,s)}var l=n.shift();if(l){var u=T.data.host,d=o.scriptURL(l.src);u&&(d=T.basePath()+d),a=l,T.loadScript(d,i)}}try{var a,n=n.slice(0),r=this.asyncScriptCallbackQueue,s=t.target||t.srcElement,o=this}catch(c){console.error("scripts is",T.stringify(n))}i()},$loadBlockingScript:function(e,t,n){var i=n.scripts,a=(n.loadOn,T.bind(function(){T.each(i,function(n){this.loadBlockingScript(e,t,n)},this)},this));a()},loadBlockingScript:function(e,t,n){var i=this.scriptURL(n.src),a=T.data.host,r=t.target||t.srcElement;a&&(i=T.basePath()+i),this.argsForBlockingScripts.push([e,t,r]),T.loadScriptSync(i)},pushAsyncScript:function(e){this.asyncScriptCallbackQueue.push(e)},pushBlockingScript:function(e){var t=this.argsForBlockingScripts.shift(),n=t[0];e.apply(n,t.slice(1))},$writeHTML:T.escapeHtmlParams(function(e,n){if(T.domReadyFired||!t.write)return void T.notify("Command writeHTML failed. You should try appending HTML using the async option.",1);if("pagebottom"!==n.type&&"pagetop"!==n.type)return void T.notify("You can only use writeHTML on the `pagetop` and `pagebottom` events.",1);for(var i=2,a=arguments.length;a>i;i++){var r=arguments[i].html;r=T.replace(r,e,n),t.write(r)}}),linkNeedsDelayActivate:function(t,n){n=n||e;var i=t.tagName,a=t.getAttribute("target"),r=t.getAttribute("href");return i&&"a"!==i.toLowerCase()?!1:r?a?"_blank"===a?!1:"_top"===a?n.top===n:"_parent"===a?!1:"_self"===a?!0:n.name?a===n.name:!0:!0:!1},$delayActivateLink:function(e,t){if(this.linkNeedsDelayActivate(e)){T.preventDefault(t);var n=T.settings.linkDelay||100;setTimeout(function(){T.setLocation(e.href)},n)}},isQueueable:function(e){return"writeHTML"!==e.command}}),T.availableTools["default"]=v,T.inherit(b,T.BaseTool),T.extend(b.prototype,{initialize:function(){var e=this.settings;if(this.settings.initTool!==!1){var t=e.url;t="string"==typeof t?T.basePath()+t:T.isHttps()?t.https:t.http,T.loadScript(t,T.bind(this.onLoad,this)),this.initializing=!0}else this.initialized=!0},isQueueAvailable:function(){return!this.initialized},onLoad:function(){this.initialized=!0,this.initializing=!1,this.settings.initialBeacon&&this.settings.initialBeacon(),this.flushQueue()},endPLPhase:function(e){var t=this.settings.loadOn;e===t&&(T.notify(this.name+": Initializing at "+e,1),this.initialize())},$fire:function(e,t,n){return this.initializing?void this.queueCommand({command:"fire",arguments:[n]},e,t):void n.call(this.settings,e,t)}}),T.availableTools.am=b,T.availableTools.adlens=b,T.availableTools.aem=b,T.availableTools.__basic=b,T.extend(y.prototype,{getInstance:function(){return this.instance},initialize:function(){var e,t=this.settings;T.notify("Visitor ID: Initializing tool",1),e=this.createInstance(t.mcOrgId,t.initVars),null!==e&&(t.customerIDs&&this.applyCustomerIDs(e,t.customerIDs),t.autoRequest&&e.getMarketingCloudVisitorID(),this.instance=e)},createInstance:function(e,t){if(!T.isString(e))return T.notify('Visitor ID: Cannot create instance using mcOrgId: "'+e+'"',4),null;e=T.replace(e),T.notify('Visitor ID: Create instance using mcOrgId: "'+e+'"',1),t=this.parseValues(t);var n=Visitor.getInstance(e,t);return T.notify("Visitor ID: Set variables: "+T.stringify(t),1),n},applyCustomerIDs:function(e,t){var n=this.parseIds(t);e.setCustomerIDs(n),T.notify("Visitor ID: Set Customer IDs: "+T.stringify(n),1)},parseValues:function(e){if(T.isObject(e)===!1)return{};var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=T.replace(e[n]));return t},parseIds:function(e){var t={};if(T.isObject(e)===!1)return{};for(var n in e)if(e.hasOwnProperty(n)){var i=T.replace(e[n].id);i!==e[n].id&&i&&(t[n]={},t[n].id=i,t[n].authState=Visitor.AuthState[e[n].authState])}return t}}),T.availableTools.visitor_id=y;var w={allowLinker:function(){return T.hasMultipleDomains()},cookieDomain:function(){var t=T.settings.domainList,n=T.find(t,function(t){var n=e.location.hostname;return T.equalsIgnoreCase(n.slice(n.length-t.length),t)}),i=n?"."+n:"auto";return i; }};T.inherit(k,T.BaseTool),T.extend(k.prototype,{name:"GAUniversal",endPLPhase:function(e){var t=this.settings,n=t.loadOn;e===n&&(T.notify("GAU: Initializing at "+e,1),this.initialize(),this.flushQueue(),this.trackInitialPageView())},getTrackerName:function(){return this.settings.trackerSettings.name||""},isPageCodeLoadSuppressed:function(){return this.settings.initTool===!1||this._cancelToolInit===!0},initialize:function(){if(this.isPageCodeLoadSuppressed())return this.initialized=!0,void T.notify("GAU: Page code not loaded (suppressed).",1);var t="ga";e[t]=e[t]||this.createGAObject(),e.GoogleAnalyticsObject=t,T.notify("GAU: Page code loaded.",1),T.loadScriptOnce(this.getToolUrl());var n=this.settings;if(w.allowLinker()&&n.allowLinker!==!1?this.createAccountForLinker():this.createAccount(),this.executeInitCommands(),n.customInit){var i=n.customInit,a=i(e[t],this.getTrackerName());a===!1&&(this.suppressInitialPageView=!0)}this.initialized=!0},createGAObject:function(){var e=function(){e.q.push(arguments)};return e.q=[],e.l=1*new Date,e},createAccount:function(){this.create()},createAccountForLinker:function(){var e={};w.allowLinker()&&(e.allowLinker=!0),this.create(e),this.call("require","linker"),this.call("linker:autoLink",this.autoLinkDomains(),!1,!0)},create:function(e){var t=this.settings.trackerSettings;t=T.preprocessArguments([t],location,null,this.forceLowerCase)[0],t.trackingId=T.replace(this.settings.trackerSettings.trackingId,location),t.cookieDomain||(t.cookieDomain=w.cookieDomain()),T.extend(t,e||{}),this.call("create",t)},autoLinkDomains:function(){var e=location.hostname;return T.filter(T.settings.domainList,function(t){return t!==e})},executeInitCommands:function(){var e=this.settings;e.initCommands&&T.each(e.initCommands,function(e){var t=e.splice(2,e.length-2);e=e.concat(T.preprocessArguments(t,location,null,this.forceLowerCase)),this.call.apply(this,e)},this)},trackInitialPageView:function(){this.suppressInitialPageView||this.isPageCodeLoadSuppressed()||this.call("send","pageview")},call:function(){return"function"!=typeof ga?void T.notify("GA Universal function not found!",4):void(this.isCallSuppressed()||(arguments[0]=this.cmd(arguments[0]),this.log(T.toArray(arguments)),ga.apply(e,arguments)))},isCallSuppressed:function(){return this._cancelToolInit===!0},$missing$:function(e,t,n,i){i=i||[],i=[e].concat(i),this.call.apply(this,i)},getToolUrl:function(){var e=this.settings,t=T.isHttps();return e.url?t?e.url.https:e.url.http:(t?"https://ssl":"http://www")+".google-analytics.com/analytics.js"},cmd:function(e){var t=["send","set","get"],n=this.getTrackerName();return n&&-1!==T.indexOf(t,e)?n+"."+e:e},log:function(e){var t=e[0],n=this.getTrackerName()||"default",i="GA Universal: sent command "+t+" to tracker "+n;if(e.length>1){T.stringify(e.slice(1));i+=" with parameters "+T.stringify(e.slice(1))}i+=".",T.notify(i,1)}}),T.availableTools.ga_universal=k,T.inherit(S,T.BaseTool),T.extend(S.prototype,{name:"GA",initialize:function(){var t=this.settings,n=e._gaq,i=t.initCommands||[],a=t.customInit;if(n||(_gaq=[]),this.isSuppressed())T.notify("GA: page code not loaded(suppressed).",1);else{if(!n&&!S.scriptLoaded){var r=T.isHttps(),s=(r?"https://ssl":"http://www")+".google-analytics.com/ga.js";t.url&&(s=r?t.url.https:t.url.http),T.loadScript(s),S.scriptLoaded=!0,T.notify("GA: page code loaded.",1)}var o=(t.domain,t.trackerName),c=w.allowLinker(),l=T.replace(t.account,location);T.settings.domainList||[];_gaq.push([this.cmd("setAccount"),l]),c&&_gaq.push([this.cmd("setAllowLinker"),c]),_gaq.push([this.cmd("setDomainName"),w.cookieDomain()]),T.each(i,function(e){var t=[this.cmd(e[0])].concat(T.preprocessArguments(e.slice(1),location,null,this.forceLowerCase));_gaq.push(t)},this),a&&(this.suppressInitialPageView=!1===a(_gaq,o)),t.pageName&&this.$overrideInitialPageView(null,null,t.pageName)}this.initialized=!0,T.fireEvent(this.id+".configure",_gaq,o)},isSuppressed:function(){return this._cancelToolInit||this.settings.initTool===!1},tracker:function(){return this.settings.trackerName},cmd:function(e){var t=this.tracker();return t?t+"._"+e:"_"+e},$overrideInitialPageView:function(e,t,n){this.urlOverride=n},trackInitialPageView:function(){if(!this.isSuppressed()&&!this.suppressInitialPageView)if(this.urlOverride){var e=T.preprocessArguments([this.urlOverride],location,null,this.forceLowerCase);this.$missing$("trackPageview",null,null,e)}else this.$missing$("trackPageview")},endPLPhase:function(e){var t=this.settings.loadOn;e===t&&(T.notify("GA: Initializing at "+e,1),this.initialize(),this.flushQueue(),this.trackInitialPageView())},call:function(e,t,n,i){if(!this._cancelToolInit){var a=(this.settings,this.tracker()),r=this.cmd(e),i=i?[r].concat(i):[r];_gaq.push(i),a?T.notify("GA: sent command "+e+" to tracker "+a+(i.length>1?" with parameters ["+i.slice(1).join(", ")+"]":"")+".",1):T.notify("GA: sent command "+e+(i.length>1?" with parameters ["+i.slice(1).join(", ")+"]":"")+".",1)}},$missing$:function(e,t,n,i){this.call(e,t,n,i)},$postTransaction:function(t,n,i){var a=T.data.customVars.transaction=e[i];this.call("addTrans",t,n,[a.orderID,a.affiliation,a.total,a.tax,a.shipping,a.city,a.state,a.country]),T.each(a.items,function(e){this.call("addItem",t,n,[e.orderID,e.sku,e.product,e.category,e.unitPrice,e.quantity])},this),this.call("trackTrans",t,n)},delayLink:function(e,t){var n=this;if(w.allowLinker()&&e.hostname.match(this.settings.linkerDomains)&&!T.isSubdomainOf(e.hostname,location.hostname)){T.preventDefault(t);var i=T.settings.linkDelay||100;setTimeout(function(){n.call("link",e,t,[e.href])},i)}},popupLink:function(t,n){if(e._gat){T.preventDefault(n);var i=this.settings.account,a=e._gat._createTracker(i),r=a._getLinkerUrl(t.href);e.open(r)}},$link:function(e,t){"_blank"===e.getAttribute("target")?this.popupLink(e,t):this.delayLink(e,t)},$trackEvent:function(e,t){var n=Array.prototype.slice.call(arguments,2);if(n.length>=4&&null!=n[3]){var i=parseInt(n[3],10);T.isNaN(i)&&(i=1),n[3]=i}this.call("trackEvent",e,t,n)}}),T.availableTools.ga=S,_satellite.init({tools:{"0c32406eef8478cbc5c75ce2b71ccaf4":{engine:"sc",loadOn:"pagebottom",account:"bmofinancialgroupusbankingprod",euCookie:!1,sCodeURL:"e9f82624cf1d9ed9b3f9882ceaf5e5c5cee1c21f/s-code-contents-24f597e63d94bdcaaa0c98db87e90859c7b676ad.js",renameS:"s",initVars:{charSet:"UTF-8",currencyCode:"USD",visitorNamespace:"bmofinancialgroup",trackingServer:"metrics.bmo.com",trackingServerSecure:"smetrics.bmo.com",campaign:T.getQueryParam("ecid"),pageName:"%page name%",channel:"%siteSection1%",trackInlineStats:!0,trackDownloadLinks:!0,linkDownloadFileTypes:"avi,css,csv,doc,docx,eps,exe,jpg,js,m4v,mov,mp3,pdf,png,ppt,pptx,rar,svg,tab,txt,vsd,vxd,wav,wma,wmv,xls,xlsx,xml,zip",trackExternalLinks:!0,linkInternalFilters:"javascript:,mailto:,tel:",linkLeaveQueryString:!1,dynamicVariablePrefix:"D=",eVar1:"D=c1",eVar2:"D=c2",eVar3:"%intCampID%",eVar7:"%page name%",eVar9:"%previousPage%",eVar10:"%OCIF%",eVar66:"D=c3",prop1:"%siteSection1%",prop2:"%siteSection2%",prop3:"%siteSection3%",prop4:"%siteSection4%",prop5:"%siteSection5%",prop13:"%page domain%%URI%",prop14:"%language%",prop28:"%page title%",prop75:"DTM - BMOHarris Locator",hier1:"%page name%"},customInit:function(n){DTM.setLTVarsFromCookie(),$("a").on("click",function(n){var i=$(this).attr("href"),a=$(this).attr("target");i&&-1==i.indexOf("#")&&(console.log("href working"),n.preventDefault(),setTimeout(function(){return"#"===i||"javascript:;"==i||""==i?!1:-1!=i.indexOf("tel:")&&Math.max(t.documentElement.clientWidth,e.innerWidth||0)>767?!1:void("_blank"==a?e.open(i):location.href=i)},1e3))})}}},pageLoadRules:[{name:"Clicktale ",trigger:[{command:"loadScript",arguments:[{sequential:!1,scripts:[{src:"satellite-588a220264746d623a0023e5.js"}]}]}],conditions:[function(){return-1!==["Desktop"].indexOf(_satellite.browserInfo.deviceType)}],event:"domready"},{name:"Cookie reader",trigger:[{engine:"sc",command:"customSetup",arguments:[function(e,n){function i(e){for(var n=e+"=",i=t.cookie.split(";"),a=0;a<i.length;a++){for(var r=i[a];" "==r.charAt(0);)r=r.substring(1);if(0==r.indexOf(n))return r.substring(n.length,r.length)}return""}x=i("s_vi"),""==x&&(x=i("s_fid")),n.eVar27=x,n.prop27=x}]}],event:"pagebottom"},{name:"DTM publish date",trigger:[{engine:"sc",command:"customSetup",arguments:[function(e,t){t.prop19=_satellite.publishDate}]}],event:"pagebottom"},{name:"Email details",trigger:[{engine:"sc",command:"setVars",arguments:[{eVar35:"Locator Email Details",prop4:"BMO:locator:email:details",pageName:"BMO:locator:email:details",hier1:"BMO:locator:email:details"}]},{engine:"sc",command:"addEvent",arguments:["event24"]}],conditions:[function(){return _satellite.textMatch(_satellite.getQueryParam("template"),"emaillocatorstart")}],event:"pagebottom"},{name:"Email mortgage broker",trigger:[{engine:"sc",command:"setVars",arguments:[{eVar35:"Mortgage broker locator contact",prop4:"BMOH:locator:mortgage specialist:email",prop5:"BMOH:locator:mortgage specialist:email:mortagebroker",pageName:"BMOH:locator:mortgage specialist:email:mortagebroker",hier1:"BMOH:locator:mortgage specialist:email:mortagebroker"}]},{engine:"sc",command:"addEvent",arguments:["event24"]}],conditions:[function(){return _satellite.textMatch(_satellite.getQueryParam("template"),"c2bcstart")}],event:"pagebottom"},{name:"Error pageType",trigger:[{engine:"sc",command:"customSetup",arguments:[function(e,t){t.pageType="errorPage"}]}],conditions:[function(e,n){return"Error/Erreur"==t.title?!0:!1}],event:"pagebottom"},{name:"Global DTM Object",trigger:[{engine:"sc",command:"addEvent",arguments:["event29"]},{command:"loadBlockingScript",arguments:[{sequential:!0,scripts:[{src:"satellite-588a220264746d623a00237d.js"}]}]}],event:"pagetop"},{name:"PageMap (branches.bmoharris.com)",trigger:[{command:"loadBlockingScript",arguments:[{sequential:!0,scripts:[{src:"satellite-58efb02364746d32e0005b58.js"}]}]}],scope:{subdomains:{include:["branchlocator.bmoharris.com","branches.bmoharris.com"]}},event:"pagetop"},{name:"PageMap (financiallocator.bmoharris.com)",trigger:[{command:"loadBlockingScript",arguments:[{sequential:!0,scripts:[{src:"satellite-58efc5fc64746d2d7e005316.js"}]}]}],scope:{subdomains:{include:["financiallocator.bmoharris.com","financialadvisor.bmoharris.com"]}},event:"pagetop"},{name:"PageMap (mortgagelocator.bmoharris.com)",trigger:[{command:"loadBlockingScript",arguments:[{sequential:!0,scripts:[{src:"satellite-588a220264746d623a0024a7.js"}]}]}],scope:{subdomains:{include:["mortgagelocator.bmoharris.com"]}},event:"pagetop"},{name:"SMS details",trigger:[{engine:"sc",command:"setVars",arguments:[{eVar35:"Locator SMS Details",prop4:"BMOH:locator:SMS:details",pageName:"BMOH:locator:SMS:details",hier1:"BMOH:locator:SMS:details"}]},{engine:"sc",command:"addEvent",arguments:["event24"]}],conditions:[function(){return _satellite.textMatch(_satellite.getQueryParam("template"),"smslocatorstart")}],event:"pagebottom"},{name:"Search rules",trigger:[{command:"loadScript",arguments:[{sequential:!1,scripts:[{src:"satellite-588a220264746d623a002393.js"}]}]}],scope:{URI:{include:["https://www.bmo-ge-leasing-source.com"]}},event:"pagebottom"},{name:"Version Platform Rule",trigger:[{engine:"sc",command:"customSetup",arguments:[function(e,t){function n(){var e,t,n="?";if(a())n=i(/Android (\d+(?:\.\d+){1,2})/),e="Android",t=screen.width+"x"+screen.height;else if(s())n=i(/OS ((\d+_?){2,3})\s/),e="iOS",t=screen.width+"x"+screen.height;else if(r())n=i(/Version\/(.*) Mobile/),e="Blackberry 10",t=screen.width+"x"+screen.height;else{var c=o();e=c.name,n=c.version,t=screen.width+"x"+screen.height}return null===n&&(n="unknown"),{version:n,platform:e,screenSize:t}}function i(e){try{return navigator.userAgent.match(e)[1]}catch(t){return"?"}}function a(){return/Android/i.test(navigator.userAgent)}function r(){return/BlackBerry/i.test(navigator.userAgent)}function s(){return/iPhone|iPad|iPod/i.test(navigator.userAgent)}function o(){var e,t=navigator.userAgent,n=t.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];return/trident/i.test(n[1])?(e=/\brv[ :]+(\d+)/g.exec(t)||[],{name:"IE",version:e[1]||""}):"Chrome"===n[1]&&(e=t.match(/\bOPR\/(\d+)/),null!=e)?{name:"Opera",version:e[1]}:(n=n[2]?[n[1],n[2]]:[navigator.appName,navigator.appVersion,"-?"],null!=(e=t.match(/version\/(\d+)/i))&&n.splice(1,1,e[1]),{name:n[0],version:n[1]})}var c={type:n()};t.eVar45=c.type.platform+"|"+c.type.version+"|"+c.type.screenSize}]}],event:"pagebottom"},{name:"jQuery library",trigger:[{command:"loadBlockingScript",arguments:[{sequential:!0,scripts:[{src:"satellite-588a220264746d623a00243b.js"}]}]}],scope:{URI:{include:["/lite"]}},event:"pagetop"}],rules:[{name:"ATM Tab ",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"ATM Tab",setVars:{prop41:"ATM",prop42:"Search Form"},customSetup:function(e,t){t.linkTrackVars="prop43",t.prop43=t.pageName}}]}],selector:"#ATMTab",eventHandlerOnElement:!0,event:"click",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0,bubbleStop:!1},{name:"Advanced search Toggle",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"Advanced search Toggle",setVars:{prop41:"Advanced search toggle",prop42:"Search Form"},customSetup:function(e,t){t.linkTrackVars="prop43",t.prop43=t.pageName}}]}],selector:"#toggleIMG",eventHandlerOnElement:!0,event:"click",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0,bubbleStop:!1},{name:"Appointment button",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"Appointment button",setVars:{prop41:"Book an appointment",prop42:"Meet an expert",prop43:"%page name%"}}]}],selector:"button",property:{className:"appointment_btn"},eventHandlerOnElement:!0,event:"click",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0,bubbleStop:!1},{name:"Branch Tab",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"Branch Tab",setVars:{prop41:"Branch",prop42:"Search Form"},customSetup:function(e,t){t.linkTrackVars="prop43",t.prop43=t.pageName}}]}],selector:"#BranchTab",eventHandlerOnElement:!0,event:"click",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0,bubbleStop:!1},{name:"Bubble Links",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"Bubble Button",customSetup:function(e,t){t.linkTrackVars="prop41,prop42,prop43",self=$(this);$("canvas a").first().html();console.log(self),t.prop41="Bubble icon",t.prop42="Map",t.prop43=t.pageName}}]}],selector:"canvas",event:"click",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0,bubbleStop:!1},{name:"Call Specialist Button",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"Profile Details Button",customSetup:function(e,t){t.linkTrackVars="prop41,prop42,prop43",self=$(this),linkInfo=self.attr("title")||self.attr("id")||self.attr("name")||self.text()||href||"not found";var n=self.closest(".poi-item").find(".poi_address").find(".mobileName a").text();t.prop41=linkInfo+" - "+n+" - Mobile Button",t.prop42="poi",t.prop43=t.pageName}}]}],selector:".phone a",event:"click",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0,bubbleStop:!0},{name:"Email submit",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"form submit",addEvent:["event25"]}]}],scope:{URI:{include:["/lite"]}},selector:"form",event:"submit",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0,bubbleStop:!1},{name:"Form Tracking - (input, text area)",trigger:[{command:"loadScript",arguments:[{sequential:!1,scripts:[{src:"satellite-588a21f264746d623700241b.js"}]}]}],selector:"input, textarea, canvas",eventHandlerOnElement:!0,event:"focus",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0,bubbleStop:!1},{name:"Form Tracking - (select)",trigger:[{command:"loadScript",arguments:[{sequential:!1,scripts:[{src:"satellite-588a21f264746d6237002431.js"}]}]}],scope:{URI:{exclude:["/onlinebanking/cgi-bin/netbnx/NBmain","/onlinebanking/MasterCard/MCmain/"]}},selector:"SELECT",event:"change",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0,bubbleStop:!1},{name:"Get Directions Button",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"Profile Details Button",customSetup:function(e,t){t.linkTrackVars="prop41,prop42,prop43",self=$(this),linkInfo=self.attr("title")||self.attr("id")||self.attr("name")||self.text()||href||"not found";var n=self.closest(".poi-item").find(".poi_address .mobileName a").text();t.prop41=linkInfo+" - "+n+" - Mobile Button",t.prop42="poi",t.prop43=t.pageName}}]}],selector:".getdirections",event:"click",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0,bubbleStop:!0},{name:"Link Tracking ",trigger:[{command:"loadScript",arguments:[{sequential:!1,scripts:[{src:"satellite-588a21f264746d6237002409.js"}]}]}],selector:"A",eventHandlerOnElement:!0,event:"click",bubbleFireIfParent:!0,bubbleFireIfChildFired:!1,bubbleStop:!0},{name:"Profile Details Button",trigger:[{engine:"sc",command:"trackLink",arguments:[{type:"o",linkName:"Profile Details Button",customSetup:function(e,t){t.linkTrackVars="prop41,prop42,prop43",self=$(this),linkInfo=self.attr("title")||self.attr("id")||self.attr("name")||self.text()||href||"not found";var n=self.parent().find(".viewBubble a").text();t.prop41=linkInfo+" - "+self.parent().find(".bubble-address-box").text()+n,t.prop42="poi",t.prop43=t.pageName}}]}],selector:".detailsbtn1, .detailsbtn",event:"click",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0,bubbleStop:!1},{name:"search input",trigger:[{command:"loadScript",arguments:[{sequential:!1,scripts:[{src:"satellite-588a21f264746d6237002495.js"}]}]}],selector:"form#locator_search",event:"submit",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0,bubbleStop:!1}],directCallRules:[],settings:{trackInternalLinks:!0,libraryName:"satelliteLib-e5a9a19fce4378400056eb36ec2328315f1a95ed",isStaging:!1,allowGATTcalls:!1,downloadExtensions:/\.(?:doc|docx|eps|jpg|png|svg|xls|ppt|pptx|pdf|xlsx|tab|csv|zip|txt|vsd|vxd|xml|js|css|rar|exe|wma|mov|avi|wmv|mp3|wav|m4v)($|\&|\?)/i,notifications:!1,utilVisible:!1,domainList:["bmoharris.com","where2getit.com"],scriptDir:"e9f82624cf1d9ed9b3f9882ceaf5e5c5cee1c21f/scripts/",tagTimeout:3e3},data:{URI:t.location.pathname+t.location.search,browser:{},cartItems:[],revenue:"",host:{http:e.location.hostname+"/js",https:e.location.hostname+"/js"}},dataElements:{intCampID:{queryParam:"icid",storeLength:"pageview",ignoreCase:0},language:{jsVariable:"window.LOCINFO.language",storeLength:"pageview",cleanText:!0},"link ID":{jsVariable:"linkObj.id","default":"unknown",storeLength:"pageview",cleanText:!0},"link pageName":{jsVariable:"linkObj.pageName","default":"unknown",storeLength:"pageview",cleanText:!0},"link Position":{customJS:function(){getParents(this)?getParents(this):"not available"},"default":"unknown",storeLength:"pageview",cleanText:!0},OCIF:{cookie:"s_ev10",storeLength:"visitor"},"page domain":{jsVariable:"document.domain",storeLength:"pageview"},"page name":{jsVariable:"DTM.pageName","default":"unknown",storeLength:"pageview"},"page title":{jsVariable:"document.title",storeLength:"pageview"},previousPage:{jsVariable:"window.userObj.previousPage",storeLength:"pageview"},"Search Hash":{customJS:function(){return location.hash},storeLength:"pageview",forceLowerCase:!0},siteSection1:{customJS:function(){return DTM.siteSections[1]},storeLength:"pageview"},siteSection2:{customJS:function(){return DTM.siteSections[2]},storeLength:"pageview"},siteSection3:{customJS:function(){return DTM.siteSections[3]},storeLength:"pageview"},siteSection4:{customJS:function(){return DTM.siteSections[4]},storeLength:"pageview"},siteSection5:{customJS:function(){return DTM.siteSections[5]},storeLength:"pageview"},"template contentType":{jsVariable:"window.BMOINFO.contentType","default":"unknown",storeLength:"pageview"},"template country":{jsVariable:"window.BMOINFO.country","default":"unknown",storeLength:"pageview"},"template name":{jsVariable:"window.BMOINFO.template","default":"unknown",storeLength:"pageview"},"template Site":{jsVariable:"window.BMOINFO.site","default":"unknown",storeLength:"pageview"},"template topic":{jsVariable:"window.BMOINFO.topic","default":"nothing",storeLength:"pageview"}},appVersion:"7QN",buildDate:"2017-04-24 15:36:42 UTC",publishDate:"2017-04-24 15:36:41 UTC"})}(window,document);