Server IP : 103.53.40.154 / Your IP : 18.191.162.73 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home2/ppcad7no/holyevents.in/../lizatilessolution.com/assets/js/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
!function(n){var r={};function i(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=n,i.c=r,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=0)}([function(e,t,n){n(1),n(2),n(3),n(4),n(5),n(6),n(7),n(8),n(9),e.exports=n(10)},function(e,t){function O(t){if("performance"in window&&window.performance&&"function"==typeof window.performance.mark&&!window.BOOMR_no_mark&&window.performance.mark("boomr:check_doc_domain"),window){if(!t){if(window.parent===window||!document.getElementById("boomr-if-as"))return;if(window.BOOMR&&BOOMR.boomerang_frame&&BOOMR.window)try{BOOMR.boomerang_frame.document.domain!==BOOMR.window.document.domain&&(BOOMR.boomerang_frame.document.domain=BOOMR.window.document.domain)}catch(e){BOOMR.isCrossOriginError(e)||BOOMR.addError(e,"BOOMR_check_doc_domain.domainFix")}t=document.domain}if(t&&-1!==t.indexOf(".")&&window.parent){try{return void window.parent.document}catch(e){try{document.domain=t}catch(e){return}}try{return void window.parent.document}catch(e){t=t.replace(/^[\w\-]+\./,"")}O(t)}}}"performance"in window&&window.performance&&"function"==typeof window.performance.mark&&!window.BOOMR_no_mark&&window.performance.mark("boomr:startup"),BOOMR_start=(new Date).getTime(),O(),function(d){var u,t,l,o,a,e,i,n=d;if(d.parent!==d&&document.getElementById("boomr-if-as")&&"script"===document.getElementById("boomr-if-as").nodeName.toLowerCase()&&(d=d.parent),l=d.document,d.BOOMR||(d.BOOMR={}),BOOMR=d.BOOMR,!BOOMR.version){if(BOOMR.version="1.0.0",BOOMR.window=d,BOOMR.boomerang_frame=n,BOOMR.plugins||(BOOMR.plugins={}),function(){try{void 0!==new d.CustomEvent("CustomEvent")&&(o=function(e,t){return new d.CustomEvent(e,t)})}catch(e){}try{!o&&l.createEvent&&l.createEvent("CustomEvent")&&(o=function(e,t){var n=l.createEvent("CustomEvent");return t=t||{cancelable:!1,bubbles:!1},n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n})}catch(e){}!o&&l.createEventObject&&(o=function(e,t){var n=l.createEventObject();return n.type=n.propertyName=e,n.detail=t.detail,n}),o=o||function(){}}(),a=function(t,e,n){var r=o(t,{detail:e});function i(){try{l.dispatchEvent?l.dispatchEvent(r):l.fireEvent&&l.fireEvent("onpropertychange",r)}catch(e){BOOMR.debug("Error when dispatching "+t)}}r&&(n?BOOMR.setImmediate(i):i())},void 0!==l.hidden?(e="visibilityState",i="visibilitychange"):void 0!==l.mozHidden?(e="mozVisibilityState",i="mozvisibilitychange"):void 0!==l.msHidden?(e="msVisibilityState",i="msvisibilitychange"):void 0!==l.webkitHidden&&(e="webkitVisibilityState",i="webkitvisibilitychange"),u={beacon_url:"",beacon_url_force_https:!0,beacon_urls_allowed:[],beacon_type:"AUTO",beacon_auth_key:"Authorization",beacon_auth_token:void 0,beacon_with_credentials:!1,beacon_disable_sendbeacon:!1,site_domain:d.location.hostname.replace(/.*?([^.]+\.[^.]+)\.?$/,"$1").toLowerCase(),user_ip:"",autorun:!0,hasSentPageLoadBeacon:!1,r:void 0,events:{page_ready:[],page_unload:[],before_unload:[],dom_loaded:[],visibility_changed:[],prerender_to_visible:[],before_beacon:[],beacon:[],page_load_beacon:[],xhr_load:[],click:[],form_submit:[],config:[],xhr_init:[],spa_init:[],spa_navigation:[],spa_cancel:[],xhr_send:[],xhr_error:[],error:[],netinfo:[],rage_click:[],before_early_beacon:[]},public_events:{before_beacon:"onBeforeBoomerangBeacon",beacon:"onBoomerangBeacon",onboomerangloaded:"onBoomerangLoaded"},translate_events:{onbeacon:"beacon",onconfig:"config",onerror:"error",onxhrerror:"xhr_error"},unloadEventsCount:0,unloadEventCalled:0,listenerCallbacks:{},vars:{},singleBeaconVars:{},varPriority:{"-1":{},1:{}},errors:{},disabled_plugins:{},localStorageSupported:!1,LOCAL_STORAGE_PREFIX:"_boomr_",nativeOverwrites:[],xb_handler:function(n){return function(e){var t;(e=e||d.event).target?t=e.target:e.srcElement&&(t=e.srcElement),3===t.nodeType&&(t=t.parentNode),t&&t.nodeName&&"OBJECT"===t.nodeName.toUpperCase()&&"application/x-shockwave-flash"===t.type||u.fireEvent(n,t)}},clearEvents:function(){var e;for(e in this.events)this.events.hasOwnProperty(e)&&(this.events[e]=[])},clearListeners:function(){var e;for(e in u.listenerCallbacks)if(u.listenerCallbacks.hasOwnProperty(e))for(;u.listenerCallbacks[e].length;)BOOMR.utils.removeListener(u.listenerCallbacks[e][0].el,e,u.listenerCallbacks[e][0].fn);u.listenerCallbacks={}},fireEvent:function(t,e){var n,r,i,o;if(t=t.toLowerCase(),BOOMR.utils.mark("fire_event"),BOOMR.utils.mark("fire_event:"+t+":start"),this.translate_events[t]&&(t=this.translate_events[t]),this.events.hasOwnProperty(t)){for(this.public_events.hasOwnProperty(t)&&a(this.public_events[t],e),i=this.events[t],"before_beacon"!==t&&"beacon"!==t&&"before_early_beacon"!==t&&BOOMR.real_sendBeacon(),o=i.length,n=0;n<o;n++)try{(r=i[n]).fn.call(r.scope,e,r.cb_data)}catch(e){BOOMR.addError(e,"fireEvent."+t+"<"+n+">")}for(n=0;n<o;n++)i[n].once&&(i.splice(n,1),o--,n--);BOOMR.utils.mark("fire_event:"+t+":end"),BOOMR.utils.measure("fire_event:"+t,"fire_event:"+t+":start","fire_event:"+t+":end")}},spaNavigation:function(){u.onloadfired=!0},beaconUrlAllowed:function(e){if(!u.beacon_urls_allowed||0===u.beacon_urls_allowed.length)return!0;for(var t=0;t<u.beacon_urls_allowed.length;t++){if(new RegExp(u.beacon_urls_allowed[t]).exec(e))return!0}return!1},checkLocalStorageSupport:function(){var e=u.LOCAL_STORAGE_PREFIX+"clss";u.localStorageSupported=!1;try{if(!d.JSON||!d.localStorage)return;d.localStorage.setItem(e,e),u.localStorageSupported=d.localStorage.getItem(e)===e,d.localStorage.removeItem(e)}catch(e){u.localStorageSupported=!1}},onFrameUnloaded:function(){var e,t;for(BOOMR.isUnloaded=!0,e=0;e<u.nativeOverwrites.length;e++)(t=u.nativeOverwrites[e]).obj[t.functionName]=t.origFn;u.nativeOverwrites=[]}},t={t_start:BOOMR_start,t_end:void 0,url:"",config_url:null,loadedLate:!1,beaconsSent:0,isUnloaded:!1,beaconInQueue:!1,cookies:{},testedCookies:!1,constants:{BEACON_TYPE_SPAS:["spa","spa_hard"],MAX_GET_LENGTH:2e3},session:{domain:u.site_domain,ID:void 0,start:void 0,length:0,enabled:!0},utils:{hasPostMessageSupport:function(){return!(!d.postMessage||"function"!=typeof d.postMessage&&"object"!=typeof d.postMessage)},objectToString:function(e,t,n){var r,i=[];if(!e||"object"!=typeof e)return e;if(void 0===t&&(t="\n\t"),n=n||0,BOOMR.utils.isArray(e)){for(r=0;r<e.length;r++)0<n&&null!==e[r]&&"object"==typeof e[r]?i.push(this.objectToString(e[r],t+("\n\t"===t?"\t":""),n-1)):"&"===t?i.push(encodeURIComponent(e[r])):i.push(e[r]);t=","}else for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&(0<n&&null!==e[r]&&"object"==typeof e[r]?i.push(encodeURIComponent(r)+"="+this.objectToString(e[r],t+("\n\t"===t?"\t":""),n-1)):"&"===t?i.push(encodeURIComponent(r)+"="+encodeURIComponent(e[r])):i.push(r+"="+e[r]));return i.join(t)},getCookie:function(e){var t;return e?(BOOMR.utils.mark("get_cookie"),void 0!==BOOMR.cookies[e]?!1===BOOMR.cookies[e]?void 0:BOOMR.cookies[e]:void 0!==(t=this.getRawCookie(e))?(BOOMR.cookies[e]=t,BOOMR.cookies[e]):void(BOOMR.cookies[e]=!1)):null},getRawCookie:function(e){return e?(BOOMR.utils.mark("get_raw_cookie"),e=" "+e+"=",0<=(t=(n=" "+l.cookie+";").indexOf(e))?(t+=e.length,n.substring(t,n.indexOf(";",t)).replace(/^"/,"").replace(/"$/,"")):void 0):null;var t,n},setCookie:function(e,t,n){return BOOMR.addVar("nocookie",1),!1},getSubCookies:function(e){var t,n,r,i,o=!1,a={};if(!e)return null;if("string"!=typeof e)return BOOMR.debug("TypeError: cookie is not a string: "+typeof e),null;for(n=0,r=(t=e.split("&")).length;n<r;n++)(i=t[n].split("="))[0]&&(i.push(""),a[decodeURIComponent(i[0])]=decodeURIComponent(i[1]),o=!0);return o?a:null},removeCookie:function(e){return this.setCookie(e,{},-86400)},getLocalStorage:function(e){var t,n;if(!e||!u.localStorageSupported)return null;BOOMR.utils.mark("get_local_storage");try{if(null===(t=d.localStorage.getItem(u.LOCAL_STORAGE_PREFIX+e)))return;n=d.JSON.parse(t)}catch(e){return BOOMR.warn(e),null}return n&&"object"==typeof n.items?"number"==typeof n.expires&&BOOMR.now()>=n.expires?void this.removeLocalStorage(e):n.items:(this.removeLocalStorage(e),null)},setLocalStorage:function(e,t,n){var r,i,o;if(!e||!u.localStorageSupported||"object"!=typeof t)return!1;if(BOOMR.utils.mark("set_local_storage"),r={items:t},"number"==typeof n&&(r.expires=BOOMR.now()+1e3*n),(i=d.JSON.stringify(r)).length<5e4){try{if(d.localStorage.setItem(u.LOCAL_STORAGE_PREFIX+e,i),i===(o=d.localStorage.getItem(u.LOCAL_STORAGE_PREFIX+e)))return!0}catch(e){}BOOMR.warn("Saved storage value doesn't match what we tried to set:\n"+i+"\n"+o)}else BOOMR.warn("Storage items too large: "+i.length+" "+i);return!1},removeLocalStorage:function(e){if(!e||!u.localStorageSupported)return!1;try{return d.localStorage.removeItem(u.LOCAL_STORAGE_PREFIX+e),!0}catch(e){}return!1},cleanupURL:function(e,t){if(!e||BOOMR.utils.isArray(e))return"";if(u.strip_query_string&&(e=e.replace(/\?.*/,"?qs-redacted")),void 0!==t&&e&&e.length>t){var n=e.indexOf("?");e=-1!==n&&n<t?e.substr(0,n)+"?...":e.substr(0,t-3)+"..."}return e},hashQueryString:function(e,t){return e?e.match?(e.match(/^\/\//)&&(e=location.protocol+e),e.match(/^(https?|file):/)?(t&&(e=e.replace(/#.*/,"")),e.replace(/\?([^#]*)/,function(e,t){return"?"+(10<t.length?BOOMR.utils.hashString(t):t)})):(BOOMR.error("Passed in URL is invalid: "+e),"")):(BOOMR.addError("TypeError: Not a string","hashQueryString",typeof e),""):e},pluginConfig:function(e,t,n,r){var i,o=0;if(!t||!t[n])return!1;for(i=0;i<r.length;i++)void 0!==t[n][r[i]]&&(e[r[i]]=t[n][r[i]],o++);return 0<o},arrayFilter:function(e,t){var n=[];if(!(this.isArray(e)||e&&"number"==typeof e.length)||"function"!=typeof t)return n;if("function"==typeof e.filter)n=e.filter(t);else for(var r,i=-1,o=e.length;++i<o;)t(r=e[i],i,e)&&(n[n.length]=r);return n},arrayFind:function(e,t){if((this.isArray(e)||e&&"number"==typeof e.length)&&"function"==typeof t){if("function"==typeof e.find)return e.find(t);for(var n,r=-1,i=e.length;++r<i;)if(t(n=e[r],r,e))return n}},isMutationObserverSupported:function(){return!(d&&d.navigator&&d.navigator.userAgent&&d.navigator.userAgent.match(/Trident.*rv[ :]*11\./))&&d&&d.MutationObserver&&"function"==typeof d.MutationObserver},addObserver:function(e,t,n,r,i,o){var a,s,c={observer:null,timer:null};if(BOOMR.utils.mark("add_observer"),!this.isMutationObserverSupported()||!r||!e)return null;function u(e){var t=!1;BOOMR.utils.mark("mutation_observer_callback"),c.timer&&(clearTimeout(c.timer),c.timer=null),r&&((t=r.call(o,e,i))||(r=null)),!t&&c.observer&&(c.observer.disconnect(),c.observer=null),"number"==typeof t&&0<t&&(c.timer=setTimeout(u,t))}return a=d.MutationObserver,d.Zone&&"function"==typeof d.Zone.__symbol__&&(s=d.Zone.__symbol__("MutationObserver"))&&"string"==typeof s&&d.hasOwnProperty(s)&&"function"==typeof d[s]&&(BOOMR.debug("Detected Zone.js, using native MutationObserver"),a=d[s]),c.observer=new a(u),n&&(c.timer=setTimeout(u,c.timeout)),c.observer.observe(e,t),c},addListener:function(e,t,n,r){var i=!1;BOOMR.utils.mark("add_listener"),e.addEventListener?(r&&BOOMR.browser.supportsPassive()&&(i={capture:!1,passive:!0}),e.addEventListener(t,n,i)):e.attachEvent&&e.attachEvent("on"+t,n),u.listenerCallbacks[t]=u.listenerCallbacks[t]||[],u.listenerCallbacks[t].push({el:e,fn:n})},removeListener:function(e,t,n){if(BOOMR.utils.mark("remove_listener"),e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent&&e.detachEvent("on"+t,n),u.listenerCallbacks.hasOwnProperty(t))for(var r=0;r<u.listenerCallbacks[t].length;r++)if(n===u.listenerCallbacks[t][r].fn&&e===u.listenerCallbacks[t][r].el)return void u.listenerCallbacks[t].splice(r,1)},isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},inArray:function(e,t){var n;if(void 0===e||void 0===t||!t.length)return!1;for(n=0;n<t.length;n++)if(t[n]===e)return!0;return!1},getQueryParamValue:function(e,t){var n,r,i,o;if(!e)return null;for("string"==typeof t?(n=BOOMR.window.document.createElement("a")).href=t:n="object"==typeof t&&"string"==typeof t.search?t:BOOMR.window.location,r=n.search.slice(1).split(/&/),i=0;i<r.length;i++)if(r[i]&&(o=r[i].split("=")).length&&o[0]===e)return 1<o.length?decodeURIComponent(o.splice(1).join("=").replace(/\+/g," ")):"";return null},generateUUID:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})},generateId:function(e){return"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx".substr(0,e||40).replace(/x/g,function(e){return"0"===(e=(Math.random()||.01).toString(36))?"0":e.substr(2,1)})},serializeForUrl:function(e){return BOOMR.utils.Compression&&BOOMR.utils.Compression.jsUrl?BOOMR.utils.Compression.jsUrl(e):window.JSON?JSON.stringify(e):(BOOMR.debug("JSON is not supported"),"")},getMyURL:function(){var t,e=document.currentScript||document.getElementById("boomr-if-as")||document.getElementById("boomr-scr-as");if(e)return e.src;var n,r=document.getElementsByTagName("script");for(n=r.length;n--;)if("interactive"===r[n].readyState)return r[n].src;try{throw new Error}catch(e){if("stack"in e&&(t=this.arrayFilter(e.stack.split(/\n/),function(e){return e.match(/https?:\/\//)}))&&t.length)return t[0].replace(/.*(https?:\/\/.+?)(:\d+)+\D*$/m,"$1")}return""},scroll:function(){var e=void 0!==d.pageXOffset,t="CSS1Compat"===(d.document.compatMode||""),n={x:0,y:0};return e?"function"==typeof d.pageXOffset?(n.x=d.pageXOffset(),n.y=d.pageYOffset()):(n.x=d.pageXOffset,n.y=d.pageYOffset):t?(n.x=d.document.documentElement.scrollLeft,n.y=d.document.documentElement.scrollTop):(n.x=d.document.body.scrollLeft,n.y=d.document.body.scrollTop),"number"==typeof n.sx&&(n.sx=Math.round(n.sx)),"number"==typeof n.sy&&(n.sy=Math.round(n.sy)),n},windowHeight:function(){return d.innerHeight||d.document.documentElement.clientHeight||d.document.body.clientHeight},windowWidth:function(){return d.innerWidth||d.document.documentElement.clientWidth||d.document.body.clientWidth},isNative:function(e){return!!e&&e.toString&&!e.hasOwnProperty("toString")&&/\[native code\]/.test(String(e))},overwriteNative:function(e,t,n){e&&n&&(BOOMR.boomerang_frame!==BOOMR.window&&u.nativeOverwrites.push({obj:e,functionName:t,origFn:e[t]}),e[t]=n)},isInteger:function(e){return(Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e})(e)},isObjectEmpty:function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},hashString:function(e){e=encodeURIComponent(e);for(var t=2166136261,n=0;n<e.length;n++)t^=e.charCodeAt(n),t+=(t<<1)+(t<<4)+(t<<7)+(t<<8)+(t<<24);var r=(t>>>0).toString()+e.length;return parseInt(r).toString(36)},forEach:function(e,t,n){if(BOOMR.utils.isArray(e)&&"function"==typeof t)for(var r=e.length,i=0;i<r;i++)e.hasOwnProperty(i)&&t.call(n,e[i],i,e)},mark:function(e){var t=BOOMR.getPerformance();t&&"function"==typeof t.mark&&!BOOMR.window.BOOMR_no_mark&&t.mark("boomr:"+e)},measure:function(e,t,n){var r=BOOMR.getPerformance();r&&"function"==typeof r.measure&&!BOOMR.window.BOOMR_no_mark&&r.measure("boomr:"+e,t?"boomr:"+t:void 0,n?"boomr:"+n:void 0)}},browser:{results:{},supportsPassive:function(){if(void 0===BOOMR.browser.results.supportsPassive){if(BOOMR.browser.results.supportsPassive=!1,!Object.defineProperty)return!1;try{var e=Object.defineProperty({},"passive",{get:function(){BOOMR.browser.results.supportsPassive=!0}});window.addEventListener("test",null,e)}catch(e){}}return BOOMR.browser.results.supportsPassive}},init:function(e){var t,n,r=["autorun","beacon_auth_key","beacon_auth_token","beacon_with_credentials","beacon_disable_sendbeacon","beacon_url","beacon_url_force_https","beacon_type","site_domain","strip_query_string","user_ip"];if(BOOMR.utils.mark("init:start"),O(),void 0!==(e=e||{}).log&&(this.log=e.log),this.log||(this.log=function(){}),this.pageId||(this.pageId=BOOMR.utils.generateId(8),BOOMR.debug("Generated PageID: "+this.pageId)),e.primary&&u.handlers_attached)return this;for(n in void 0!==e.site_domain&&(/:/.test(e.site_domain)&&(e.site_domain=d.location.hostname.toLowerCase()),this.session.domain=e.site_domain),BOOMR.session.enabled&&void 0===BOOMR.session.ID&&(BOOMR.session.ID=BOOMR.utils.generateUUID()),void 0!==e.autorun&&(u.autorun=e.autorun),BOOMR.utils.mark("init:plugins:start"),this.plugins)if(this.plugins.hasOwnProperty(n)){if(e[n]&&e[n].hasOwnProperty("enabled")&&!1===e[n].enabled){u.disabled_plugins[n]=1,"function"==typeof this.plugins[n].disable&&this.plugins[n].disable();continue}if(u.disabled_plugins[n]){if(!e[n]||!e[n].hasOwnProperty("enabled")||!0!==e[n].enabled)continue;"function"==typeof this.plugins[n].enable&&this.plugins[n].enable(),delete u.disabled_plugins[n]}if("function"==typeof this.plugins[n].init)try{BOOMR.utils.mark("init:plugins:"+n+":start"),this.plugins[n].init(e),BOOMR.utils.mark("init:plugins:"+n+":end"),BOOMR.utils.measure("init:plugins:"+n,"init:plugins:"+n+":start","init:plugins:"+n+":end")}catch(e){BOOMR.addError(e,n+".init")}}for(BOOMR.utils.mark("init:plugins:end"),BOOMR.utils.measure("init:plugins","init:plugins:start","init:plugins:end"),t=0;t<r.length;t++)void 0!==e[r[t]]&&(u[r[t]]=e[r[t]]);return(!u.handlers_attached&&!e.wait||u.handlers_attached&&u.waiting_for_config)&&(u.onloadfired||void 0!==u.autorun&&!1===u.autorun||(BOOMR.hasBrowserOnloadFired()&&(BOOMR.loadedLate=!0),BOOMR.attach_page_ready(BOOMR.page_ready_autorun)),u.waiting_for_config=!1),u.handlers_attached||(e.wait&&(u.waiting_for_config=!0),BOOMR.attach_page_ready(function(){BOOMR.t_onload||(BOOMR.t_onload=BOOMR.now())}),BOOMR.utils.addListener(d,"DOMContentLoaded",function(){u.fireEvent("dom_loaded")}),BOOMR.fireEvent("config",e),BOOMR.subscribe("config",function(e){e.beacon_url&&(u.beacon_url=e.beacon_url)}),BOOMR.subscribe("spa_navigation",u.spaNavigation,null,u),function(){var e,t;for(void 0!==i&&(BOOMR.utils.addListener(l,i,function(){u.fireEvent("visibility_changed")}),u.lastVisibilityState=BOOMR.visibilityState(),BOOMR.subscribe("visibility_changed",function(){var e=BOOMR.visibilityState();BOOMR.lastVisibilityEvent[e]=BOOMR.now(),BOOMR.debug("Visibility changed from "+u.lastVisibilityState+" to "+e),"prerender"===u.lastVisibilityState&&"prerender"!==e&&(BOOMR.addVar("prerender_to_visible","1"),u.fireEvent("prerender_to_visible")),u.lastVisibilityState=e})),BOOMR.utils.addListener(l,"mouseup",u.xb_handler("click")),e=l.getElementsByTagName("form"),t=0;t<e.length;t++)BOOMR.utils.addListener(e[t],"submit",u.xb_handler("form_submit"));d.onpagehide||null===d.onpagehide||BOOMR.utils.addListener(d,"unload",function(){BOOMR.window=d=null}),BOOMR.boomerang_frame!==BOOMR.window&&BOOMR.utils.addListener(BOOMR.boomerang_frame,"unload",u.onFrameUnloaded)}(),u.handlers_attached=!0),BOOMR.utils.mark("init:end"),BOOMR.utils.measure("init","init:start","init:end"),this},attach_page_ready:function(e){BOOMR.hasBrowserOnloadFired()?this.setImmediate(e,null,null,BOOMR):d.onpagehide||null===d.onpagehide?BOOMR.utils.addListener(d,"pageshow",e):BOOMR.utils.addListener(d,"load",e)},page_ready_autorun:function(e){u.autorun&&BOOMR.page_ready(e,!0)},page_ready:function(e,t){var n;return t||"number"!=typeof e||(n=e,e=null),e=(e=e||d.event)||{name:"load"},t?"number"==typeof d.BOOMR_page_ready&&(e.timing=e.timing||{},e.timing.loadEventEnd=d.BOOMR_page_ready,BOOMR.addVar("pr",1,!0)):(e.timing=e.timing||{},n?e.timing.loadEventEnd=n:"number"==typeof d.BOOMR_page_ready?e.timing.loadEventEnd=d.BOOMR_page_ready:e.timing.loadEventEnd=BOOMR.now(),BOOMR.addVar("pr",1,!0)),u.onloadfired||(u.fireEvent("page_ready",e),u.onloadfired=!0),this},hasBrowserOnloadFired:function(){var e=BOOMR.getPerformance();return l.readyState&&"complete"===l.readyState||e&&e.timing&&0<e.timing.loadEventStart||0<d.BOOMR_onload},onloadFired:function(){return u.onloadfired},setImmediate:function(e,t,n,r){var i,o;"undefined"!=typeof Error&&(o=(o=new Error).stack?o.stack.replace(/^Error/,"Called"):void 0),i=function(){e.call(r||null,t,n||{},o),i=null},d.requestIdleCallback?d.requestIdleCallback(i,{timeout:1e3}):d.setImmediate?d.setImmediate(i):setTimeout(i,10)},now:Date.now||function(){return(new Date).getTime()},getPerformance:function(){try{if(BOOMR.window)return"performance"in BOOMR.window&&BOOMR.window.performance?BOOMR.window.performance:BOOMR.window.msPerformance||BOOMR.window.webkitPerformance||BOOMR.window.mozPerformance}catch(e){}},hrNow:function(){var e,t=BOOMR.getPerformance();return t&&t.now?t.now():(e=BOOMR.plugins.RT&&BOOMR.plugins.RT.navigationStart&&BOOMR.plugins.RT.navigationStart()||BOOMR.t_lstart||BOOMR.t_start,BOOMR.now()-e)},visibilityState:void 0===e?function(){return"visible"}:function(){return l[e]},lastVisibilityEvent:{},registerEvent:function(e){return u.events.hasOwnProperty(e)||(u.events[e]=[]),this},disable:function(){u.clearEvents(),u.clearListeners()},fireEvent:function(e,t){return u.fireEvent(e,t)},subscribe:function(t,n,r,i,e){var o,a,s;for(t=t.toLowerCase(),BOOMR.utils.mark("subscribe"),BOOMR.utils.mark("subscribe:"+t),u.translate_events[t]&&(t=u.translate_events[t]),u.events.hasOwnProperty(t)||(u.events[t]=[]),s=u.events[t],o=0;o<s.length;o++)if((a=s[o])&&a.fn===n&&a.cb_data===r&&a.scope===i)return this;return s.push({fn:n,cb_data:r||{},scope:i||null,once:e||!1}),"page_ready"===t&&u.onloadfired&&u.autorun&&this.setImmediate(n,null,r,i),"page_unload"!==t&&"before_unload"!==t||(u.unloadEventsCount++,function(){var e;s.length;e=function(e){n&&n.call(i,e||d.event,r),++u.unloadEventCalled===u.unloadEventsCount&&BOOMR.real_sendBeacon()},"page_unload"===t&&(d.onpagehide||null===d.onpagehide?BOOMR.utils.addListener(d,"pagehide",e):BOOMR.utils.addListener(d,"unload",e)),BOOMR.utils.addListener(d,"beforeunload",e)}()),this},addError:function(e,t,n){var r,i=BOOMR.plugins.Errors;BOOMR.utils.mark("add_error"),BOOMR.error("Boomerang caught error: "+e+", src: "+t+", extra: "+n),i&&i.is_supported()?"string"==typeof e?i.send({message:e,extra:n,functionName:t,noStack:!0},i.VIA_APP,i.SOURCE_BOOMERANG):("string"==typeof t&&(e.functionName=t),void 0!==n&&(e.extra=n),i.send(e,i.VIA_APP,i.SOURCE_BOOMERANG)):("string"!=typeof e&&((r=String(e)).match(/^\[object/)&&(r=e.name+": "+(e.description||e.message).replace(/\r\n$/,"")),e=r),void 0!==t&&(e="["+t+":"+BOOMR.now()+"] "+e),n&&(e+=":: "+n),u.errors[e]?u.errors[e]++:u.errors[e]=1)},isCrossOriginError:function(e){return"SecurityError"===e.name||"TypeError"===e.name&&"Permission denied"===e.message||"Error"===e.name&&e.message&&e.message.match(/^(Permission|Access is) denied/)||-2146828218===e.number},addVar:function(e,t,n){if(BOOMR.utils.mark("add_var"),"string"==typeof e)u.vars[e]=t,n&&(u.singleBeaconVars[e]=1);else if("object"==typeof e){var r,i=e;for(r in i)i.hasOwnProperty(r)&&(u.vars[r]=i[r],n&&(u.singleBeaconVars[r]=1))}return this},appendVar:function(e,t){var n=BOOMR.getVar(e)||"";return n&&(n+=","),BOOMR.addVar(e,n+t),this},removeVar:function(e){var t,n;if(!arguments.length)return this;for(n=1===arguments.length&&BOOMR.utils.isArray(e)?e:arguments,t=0;t<n.length;t++)u.vars.hasOwnProperty(n[t])&&delete u.vars[n[t]];return this},hasVar:function(e){return u.vars.hasOwnProperty(e)},getVar:function(e){return u.vars[e]},setVarPriority:function(e,t){return"number"!=typeof t||1!==Math.abs(t)||(u.varPriority[t][e]=1),this},setReferrer:function(e){u.r=e},requestStart:function(t){var n=BOOMR.now();return BOOMR.plugins.RT.startTimer("xhr_"+t,n),{loaded:function(e){BOOMR.responseEnd(t,n,e)}}},readyToSend:function(){var e;for(e in this.plugins)if(this.plugins.hasOwnProperty(e)){if(u.disabled_plugins[e])continue;if("function"==typeof this.plugins[e].readyToSend&&!1===this.plugins[e].readyToSend())return BOOMR.debug("Plugin "+e+" is not ready to send"),!1}return!0},responseEnd:function(e,t,n,r){if(t="number"==typeof t?t:BOOMR.now(),r="number"==typeof r?r:BOOMR.now(),!BOOMR.readyToSend())return BOOMR.debug("Attempted to call responseEnd before all plugins were Ready to Send, trying again..."),void setTimeout(function(){BOOMR.responseEnd(e,t,n,r)},1e3);if(BOOMR.hasSentPageLoadBeacon()||BOOMR.utils.inArray(e.initiator,BOOMR.constants.BEACON_TYPE_SPAS))if(u.beaconInQueue)BOOMR.subscribe("beacon",function(){BOOMR.responseEnd(e,t,n,r)},null,BOOMR,!0);else if(u.beaconInQueue=!0,"object"==typeof e){if(!e.url)return void BOOMR.debug("BOOMR.responseEnd: First argument must have a url property if it's an object");u.fireEvent("xhr_load",e)}else BOOMR.real_sendBeacon(),BOOMR.addVar("xhr.pg",e,!0),BOOMR.plugins.RT.startTimer("xhr_"+e,t),u.fireEvent("xhr_load",{name:"xhr_"+e,data:n,timing:{loadEventEnd:r}});else BOOMR.subscribe("page_load_beacon",function(){BOOMR.responseEnd(e,t,n,r)},null,BOOMR,!0)},uninstrumentXHR:function(){},instrumentXHR:function(){},uninstrumentFetch:function(){},instrumentFetch:function(){},sendBeacon:function(e){return e&&(u.beacon_url_override=e),u.beaconQueued||(u.beaconQueued=!0,BOOMR.setImmediate(BOOMR.real_sendBeacon,null,null,BOOMR)),!0},sendBeaconWhenReady:function(e,t,n){if(u.beaconInQueue)BOOMR.subscribe("beacon",function(){BOOMR.sendBeaconWhenReady(e,t,n)},null,BOOMR,!0);else{for(var r in u.beaconInQueue=!0,e)e.hasOwnProperty(r)&&BOOMR.addVar(r,e[r],!0);"function"==typeof t&&void 0!==n&&t.apply(n),BOOMR.sendBeacon()}},real_sendBeacon:function(){var e,t=[],n={};if(!u.beaconQueued)return!1;for(e in BOOMR.utils.mark("send_beacon:start"),u.beaconQueued=!1,BOOMR.debug("Checking if we can send beacon"),this.plugins)if(this.plugins.hasOwnProperty(e)){if(u.disabled_plugins[e])continue;if(!this.plugins[e].is_complete(u.vars))return BOOMR.debug("Plugin "+e+" is not complete, deferring beacon send"),!1}if(!(window&&window.Image&&window.navigator&&BOOMR.window))return BOOMR.debug("DOM not fully available, not sending a beacon"),!1;var r=BOOMR.utils.inArray(u.vars.http_initiator,BOOMR.constants.BEACON_TYPE_SPAS),i=void 0===u.vars.http_initiator||r;for(e in u.vars.pgu||(u.vars.pgu=r?l.URL:l.URL.replace(/#.*/,"")),u.vars.pgu=BOOMR.utils.cleanupURL(u.vars.pgu),u.vars.url&&!r||(u.vars.url=u.vars.pgu),u.vars.pgu===u.vars.url&&delete u.vars.pgu,u.r?u.vars.referrer=BOOMR.utils.cleanupURL(u.r):delete u.vars.referrer,u.vars.boomerang_version=BOOMR.version,BOOMR.snippetVersion&&(u.vars.sv=BOOMR.snippetVersion),u.vars.sm=BOOMR.snippetMethod||"i",BOOMR.session.enabled?(u.vars.session_id=BOOMR.session.ID+"-"+Math.round(BOOMR.session.start/1e3).toString(36),u.vars.session_start=BOOMR.session.start,u.vars.session_length=BOOMR.session.length):BOOMR.removeVar("session_id","session_start","session_length"),BOOMR.visibilityState()&&(u.vars["vis.st"]=BOOMR.visibilityState(),BOOMR.lastVisibilityEvent.visible&&(u.vars["vis.lv"]=BOOMR.now()-BOOMR.lastVisibilityEvent.visible),BOOMR.lastVisibilityEvent.hidden&&(u.vars["vis.lh"]=BOOMR.now()-BOOMR.lastVisibilityEvent.hidden)),u.vars["ua.plt"]=navigator.platform,u.vars["ua.vnd"]=navigator.vendor,this.pageId&&(u.vars.page_id=this.pageId),u.vars.beacons_sent=++this.beaconsSent,d!==window&&("if",u.vars.if=""),u.errors)u.errors.hasOwnProperty(e)&&t.push(e+(1<u.errors[e]?" (*"+u.errors[e]+")":""));for(e in 0<t.length&&(u.vars.boomerang_errors=t.join("\n")),u.errors={},u.fireEvent("before_beacon",u.vars),u.vars)u.vars.hasOwnProperty(e)&&(n[e]=u.vars[e]);if(BOOMR.removeVar(["qt","pgu"]),void 0===u.vars.early){for(var o in u.singleBeaconVars)u.singleBeaconVars.hasOwnProperty(o)&&BOOMR.removeVar(o);u.singleBeaconVars={},!u.hasSentPageLoadBeacon&&i&&(u.hasSentPageLoadBeacon=!0,BOOMR.setImmediate(function(){u.fireEvent("page_load_beacon",n)}))}return BOOMR.session.rate_limited?(BOOMR.debug("Skipping because we're rate limited"),!1):(u.beaconInQueue=!1,BOOMR.sendBeaconData(n),BOOMR.utils.mark("send_beacon:end"),BOOMR.utils.measure("send_beacon","send_beacon:start","send_beacon:end"),!0)},hasSentPageLoadBeacon:function(){return u.hasSentPageLoadBeacon},sendBeaconData:function(e){var t,n,r,i,o,a=[],s=!0;if(BOOMR.debug("Ready to send beacon: "+BOOMR.utils.objectToString(e)),u.beacon_url=u.beacon_url_override||u.beacon_url,!u.beacon_url)return BOOMR.debug("No beacon URL, so skipping."),!1;if(!u.beaconUrlAllowed(u.beacon_url))return BOOMR.debug("Beacon URL not allowed: "+u.beacon_url),!1;if(BOOMR.utils.isObjectEmpty(e))return!1;if(u.fireEvent("beacon",e),a=this.getVarsOfPriority(e,-1),t=this.getVarsOfPriority(e,1),n=a.concat(this.getVarsOfPriority(e,0),t).join("&"),u.beacon_url_force_https&&u.beacon_url.match(/^\/\//)&&(u.beacon_url="https:"+u.beacon_url),r=u.beacon_url+(-1<u.beacon_url.indexOf("?")?"&":"?")+n,"GET"===u.beacon_type?(s=!0,r.length>BOOMR.constants.MAX_GET_LENGTH&&(window.console&&(console.warn||console.log)||function(){})("Boomerang: Warning: Beacon may not be sent via GET due to payload size > 2000 bytes")):("POST"===u.beacon_type||r.length>BOOMR.constants.MAX_GET_LENGTH)&&(s=!1),d&&d.navigator&&"function"==typeof d.navigator.sendBeacon&&BOOMR.utils.isNative(d.navigator.sendBeacon)&&"function"==typeof d.Blob&&"GET"!==u.beacon_type&&void 0===u.beacon_auth_token&&!u.beacon_disable_sendbeacon){var c=new d.Blob([n+"&sb=1"],{type:"application/x-www-form-urlencoded"});if(d.navigator.sendBeacon(u.beacon_url,c))return!0}if(BOOMR.orig_XMLHttpRequest||d&&d.XMLHttpRequest||(s=!0),s){try{i=new Image}catch(e){return BOOMR.debug("Image is not a constructor, not sending a beacon"),!1}i.src=r}else{o=new(BOOMR.window.orig_XMLHttpRequest||BOOMR.orig_XMLHttpRequest||BOOMR.window.XMLHttpRequest);try{this.sendXhrPostBeacon(o,n)}catch(e){o=new BOOMR.boomerang_frame.XMLHttpRequest,this.sendXhrPostBeacon(o,n)}}return!0},hasSentPageLoadBeacon:function(){return u.hasSentPageLoadBeacon},sendXhrPostBeacon:function(e,t){e.open("POST",u.beacon_url),e.setRequestHeader("Content-type","application/x-www-form-urlencoded"),void 0!==u.beacon_auth_token&&(void 0===u.beacon_auth_key&&(u.beacon_auth_key="Authorization"),e.setRequestHeader(u.beacon_auth_key,u.beacon_auth_token)),u.beacon_with_credentials&&(e.withCredentials=!0),e.send(t)},getVarsOfPriority:function(e,t){var n,r=[],i=0!==t?u.varPriority[t]:e;for(n in i)i.hasOwnProperty(n)&&e.hasOwnProperty(n)&&(r.push(this.getUriEncodedVar(n,void 0===e[n]?"":e[n])),0!==t&&delete e[n]);return r},getUriEncodedVar:function(e,t){return null==t&&(t=""),"object"==typeof t&&(t=BOOMR.utils.serializeForUrl(t)),encodeURIComponent(e)+"="+encodeURIComponent(t)},getResourceTiming:function(e,t,n){var r,i=BOOMR.getPerformance();try{if(i&&"function"==typeof i.getEntriesByName){if(!(r=i.getEntriesByName(e))||!r.length)return;if(!("function"!=typeof n||(r=BOOMR.utils.arrayFilter(r,n))&&r.length))return;return 1<r.length&&"function"==typeof t&&r.sort(t),r[r.length-1]}}catch(e){BOOMR.warn("getResourceTiming:"+e)}},setBeaconUrlsAllowed:function(e){u.beacon_urls_allowed=e}},BOOMR.url){var r=BOOMR.window.document.createElement("a");r.href=BOOMR.url,t.url=r.href}else t.url=t.utils.getMyURL();var s;delete BOOMR_start,"number"==typeof BOOMR_lstart?(t.t_lstart=BOOMR_lstart,delete BOOMR_lstart):"number"==typeof BOOMR.window.BOOMR_lstart&&(t.t_lstart=BOOMR.window.BOOMR_lstart),"number"==typeof BOOMR.window.BOOMR_onload&&(t.t_onload=BOOMR.window.BOOMR_onload),"object"==typeof console&&void 0!==console.log?t.log=function(e,t,n){}:t.log=function(){},s=function(n){return function(e,t){return this.log(e,n,"boomerang"+(t?"."+t:"")),this}},t.debug=s("debug"),t.info=s("info"),t.warn=s("warn"),t.error=s("error");try{var c=t.getPerformance();c&&"function"==typeof c.now&&/\[native code\]/.test(String(c.now))&&c.timing&&c.timing.navigationStart&&(t.now=function(){return Math.round(c.now()+c.timing.navigationStart)})}catch(e){}u.checkLocalStorageSupport(),function(){var e;for(e in t)t.hasOwnProperty(e)&&(BOOMR[e]=t[e]);BOOMR.xhr_excludes||(BOOMR.xhr_excludes={})}(),function(){if(BOOMR.checkWindowOverrides=function(r){if(!Object.getOwnPropertyNames)return[];var e,t,n,i=[];function o(e){!function(e){var t=e.split("."),n=r;for(;n&&t.length;)try{n=n[t.shift()]}catch(e){return!1}return"function"==typeof n&&!function(e,t){if("console.assert"===t||"Function.prototype"===t||0<=t.indexOf("onload")||0<=t.indexOf("onbeforeunload")||0<=t.indexOf("onerror")||0<=t.indexOf("onload")||0<=t.indexOf("NodeFilter"))return!0;return e.toString&&!e.hasOwnProperty("toString")&&/\[native code\]/.test(String(e))}(n,e)}(e)||i.push(e)}(n=l.createElement("iframe")).style.display="none",n.src="javascript:false",l.getElementsByTagName("script")[0].parentNode.appendChild(n),e=n.contentWindow,t=Object.getOwnPropertyNames(e);for(var a=0;a<t.length;a++){var s=t[a];if("window"!==s&&"self"!==s&&"top"!==s&&"parent"!==s&&"frames"!==s&&(e[s]&&("object"==typeof e[s]||"function"==typeof e[s]))){o(s);var c=[];try{c=Object.getOwnPropertyNames(e[s])}catch(e){}for(var u=0;u<c.length;u++)o([s,c[u]].join("."));if(e[s].prototype){c=Object.getOwnPropertyNames(e[s].prototype);for(u=0;u<c.length;u++)o([s,"prototype",c[u]].join("."))}}}return i},BOOMR.checkDocumentOverrides=function(t){return BOOMR.utils.arrayFilter(["readyState","domain","hidden","URL","cookie"],function(e){return t.hasOwnProperty(e)})},"true"===BOOMR.utils.getQueryParamValue("overridden")&&d&&d.Object&&Object.getOwnPropertyNames){var e=[].concat(BOOMR.checkWindowOverrides(d)).concat(BOOMR.checkDocumentOverrides(l));0<e.length&&BOOMR.warn("overridden: "+e.sort())}}(),a("onBoomerangLoaded",{BOOMR:BOOMR},!0)}}(window)},function(e,t){!function(){var v;if(BOOMR=window.BOOMR||{},BOOMR.plugins=BOOMR.plugins||{},!BOOMR.plugins.Continuity){function t(u){var d={},o={},i=[],a=0,s=0,r=0;function c(){return Math.floor((BOOMR.now()-u)/_)}function l(){var e=0;if(v.ttiWaitForFrameworkReady){if(!v.frameworkReady)return;e=v.frameworkReady}if(BOOMR.plugins.PaintTiming&&BOOMR.plugins.PaintTiming.is_supported()&&g&&g.timeOrigin){var t=BOOMR.plugins.PaintTiming.getTimingFor("first-contentful-paint");(t=t||BOOMR.plugins.PaintTiming.getTimingFor("first-paint"))&&(e=Math.max(e,Math.round(t+g.timeOrigin)))}else if(g&&g.timing&&g.timing.msFirstPaint)e=Math.max(e,g.timing.msFirstPaint);else if(BOOMR.window&&BOOMR.window.chrome&&"function"==typeof BOOMR.window.chrome.loadTimes){var n=BOOMR.window.chrome.loadTimes();n&&n.firstPaintTime&&(e=Math.max(e,1e3*n.firstPaintTime))}return g&&g.timing&&g.timing.domContentLoadedEventEnd&&(e=Math.max(e,g.timing.domContentLoadedEventEnd)),v.ttiWaitForHeroImages&&(r=function(e){var t,n,r,i,o,a,s=0;if(!BOOMR.window||!BOOMR.window.document||"function"!=typeof BOOMR.window.document.querySelectorAll)return 0;if(!g||"function"!=typeof g.getEntriesByType)return 0;if(t=e+", "+e+" * img, "+e+" * image",(n=BOOMR.window.document.querySelectorAll(t))&&n.length)for(r=0;r<n.length;r++){if(!(o=n[r].currentSrc||n[r].src||"function"==typeof n[r].getAttribute&&n[r].getAttribute("xlink:href"))&&"function"==typeof BOOMR.window.getComputedStyle){var c=BOOMR.window.getComputedStyle(n[r])&&BOOMR.window.getComputedStyle(n[r]).getPropertyValue("background");if(c){var u=c.match(/url\(["']?([^"']*)["']?\)/);u&&0<u.length&&(o=u[1])}}if(o&&(a=g.getEntriesByName(o))&&a.length)for(i=0;i<a.length;i++)s=Math.max(s,a[i].responseEnd)}return s?Math.floor(s+b):0}(v.ttiWaitForHeroImages))&&(e=Math.max(e,r)),e}return BOOMR.fpsLog&&BOOMR.fpsLog.length&&(u=BOOMR.fpsLog[0]+b),M.timeToInteractive=function(){if(a)return a-b},M.timeToVisuallyReady=function(){if(s)return s-b},M.timeToHeroImagesReady=function(){if(v.ttiWaitForHeroImages&&r)return r-b},M.timeToFrameworkReady=function(){if(v.ttiWaitForFrameworkReady&&v.frameworkReady)return v.frameworkReady-b},M.log=function(){return i},{register:function(e,t,n){d[e]||(d[e]=[]),o[e]={compressMode:t||R,backfillLast:n}},set:function(e,t,n){void 0===n&&(n=c()),d[e]&&(d[e][n]=t)},log:function(e,t,n){void 0===t&&(t=c()),i.push({type:e,time:t,val:n}),i.length>v.logMaxEntries&&Array.prototype.splice.call(i,0,i.length-v.logMaxEntries)},increment:function(e,t,n){void 0===n&&(n=c()),void 0===t&&(t=1),d[e]&&(d[e][n]||(d[e][n]=0),d[e][n]+=t)},getTimeBucket:c,getStats:function(e,t){var n,r=0,i=0,o=1/0,a=0,s=Math.floor((t-u)/_);if(!d[e])return 0;for(var c in d[e])s<=(c=parseInt(c,10))&&d[e].hasOwnProperty(c)&&(r++,i+=n=d[e][c],o=Math.min(o,n),a=Math.max(a,n));return{total:i,count:r,min:o,max:a}},analyze:function(e){var t=c(),n=0,r=0;if(v.sendLog&&void 0!==e&&function(){for(var e="",t=0;t<i.length;t++){var n=i[t];for(var r in 0!==t&&(e+="|"),e+=n.type,e+=Math.round(n.time-b).toString(36),n.val)n.val.hasOwnProperty(r)&&(e+=","+r,"number"==typeof n.val[r]?e+=n.val[r].toString(36):e+=n.val[r])}""!==e&&v.addToBeacon("continuity_log",e)}(),v.sendTimeline&&void 0!==e&&function(e){var t,n,r,i;for(t in d)d.hasOwnProperty(t)&&(i=e,""!==(n=h(o[r=t].compressMode,o[r].backfillLast,d[r],0!==i?Math.floor((i-u)/_):0,c()))&&v.addToBeacon(t,n))}(e),!a&&(s=s||l())&&(v.addToBeacon("visually_ready",M.timeToVisuallyReady()),v.addToBeacon("framework_ready",M.timeToFrameworkReady()),v.addToBeacon("hero_images_ready",M.timeToHeroImagesReady()),d.long_task_timeline||d.frame_rate_timeline||d.page_busy_timeline)){for(n=Math.floor((s-u)/_);n<=t;n++)if(d.long_task_timeline&&d.long_task_timeline[n])r=0;else if(d.frame_rate_timeline&&(!d.frame_rate_timeline[n]||d.frame_rate_timeline[n]<2))r=0;else if(d.page_busy_timeline&&50<d.page_busy_timeline[n])r=0;else if(d.delayed_interaction_timeline&&d.delayed_interaction_timeline[n])r=0;else if(5<=++r){a=u+(n-5)*_,a=Math.max(a,s);break}0<a&&v.addToBeacon("time_to_interactive",M.timeToInteractive())}},stop:function(){d={},i=[]},onBeacon:function(){for(var e in d)d.hasOwnProperty(e)&&(d[e]=[]);i=[]}}}function n(e,r){if(e.PerformanceObserver&&e.PerformanceLongTaskTiming){var l={unknown:0,self:1,"same-origin-ancestor":2,"same-origin-descendant":3,"same-origin":4,"cross-origin-ancestor":5,"cross-origin-descendant":6,"cross-origin-unreachable":7,"multiple-contexts":8},O={unknown:0,script:1,layout:2},f={unknown:0,iframe:1,embed:2,object:3},t=new e.PerformanceObserver(function(e){var t,n;if(!i)return;for(t=e.getEntries(),Array.prototype.push.apply(m,t),n=0;n<t.length;n++)o+=t[n].duration;r.increment("long_task_timeline",t.length)});try{t.observe({entryTypes:["longtask"]})}catch(e){return}r.register("long_task_timeline",R);var m=[],i=!0,o=0;return M.longTasksTime=function(){return o},M.longTasksCount=function(){return m.length},{getTasks:function(){return m},clearTasks:n,analyze:function(e){var t,n,r,i,o,a=[],s=[];if(0!==m.length){for(t=0;t<m.length;t++){for(r=m[t],i={s:Math.round(r.startTime).toString(36),d:Math.ceil(r.duration).toString(36),n:l[r.name]?l[r.name]:0},s=[],n=0;n<r.attribution.length;n++)if("script"!==(o=r.attribution[n]).name||"iframe"!==o.containerType||o.containerName||o.containerId||o.containerSrc){var c=o.containerName?o.containerName:void 0,u=o.containerId?o.containerId:void 0;c===u&&(c=void 0);var d=void 0===u?o.containerSrc:void 0;s.push({a:O[o.name]?O[o.name]:0,t:f[o.containerType]?f[o.containerType]:0,n:c,i:u,s:d})}0<s.length&&(i.a=s),a.push(i)}v.addToBeacon("number_long_tasks",M.longTasksCount(),!0),v.addToBeacon("total_duration_long_tasks",M.longTasksTime()),v.addToBeacon(long_tasks_data,function(e){var t=window.UserTimingCompression||BOOMR.window.UserTimingCompression;return t?t.jsUrl(e):window.JSON?JSON.stringify(e):""}(a))}},stop:function(){i=!1,t.disconnect(),n()},onBeacon:function(){n()}}}function n(){m=[],o=0}}function r(e,r){r.register("page_busy_timeline",B);var i=Math.floor(3.125),o=BOOMR.now(),a=0,s=0,c=0,u=0,t=!1,n=!1;return M.pageBusy=function(){return 0===c?0:Math.ceil(u/c*100)},t=setInterval(function(){var e=BOOMR.now(),t=e-o;if(o=e,68<t){var n=Math.floor((t-32)/32);a+=n,s+=n,t-=32*n}a++,36<t&&s++},32),n=setInterval(function(){var e=r.getTimeBucket(),t=e,n=0;if(0!==a){for(;i+1<a&&n<=100;)r.set("page_busy_timeline",100,--t),a-=i,s=Math.max(s-i,0),c+=i,u+=i,n++;c+=a,u+=s,r.set("page_busy_timeline",Math.ceil(s/a*100),e),s=a=0}},100),{analyze:function(e){v.addToBeacon("page_busy_percentage",M.pageBusy())},stop:function(){!1,t&&(clearInterval(t),t=!1),n&&(clearInterval(n),n=!1)},onBeacon:function(){u=c=0}}}function i(n,r){r.register("frame_rate_timeline",R);var t,i,o=50,a=0,s=0,c=!0;if(BOOMR.fpsLog&&BOOMR.fpsLog.length){i=t=BOOMR.fpsLog[0]+b;for(var e=0;e<BOOMR.fpsLog.length;e++){var u=b+BOOMR.fpsLog[e];r.increment("frame_rate_timeline",1,Math.floor((u-t)/_)),o<=u-i&&s++,i=u}a=BOOMR.fpsLog.length,delete BOOMR.fpsLog}else t=BOOMR.now();return n.requestAnimationFrame(function e(t){c&&(o<=t-i&&s++,i=t,a++,r.increment("frame_rate_timeline"),n.requestAnimationFrame(e))}),M.fps=function(){var e=M.fpsDuration();if(e)return Math.floor(a/(e/1e3))},M.fpsDuration=function(){if(t)return BOOMR.now()-t},M.fpsMinimum=function(){if(M.fpsDuration()){var e=r.getStats("frame_rate_timeline",t).min;return e!==1/0?e:void 0}},M.fpsLongFrames=function(){return s},M.fpsStart=function(){return t?t.toString(36):0},{analyze:function(e){v.addToBeacon("average_frame_rate",M.fps()),v.addToBeacon("frame_rate_duration",M.fpsDuration()),v.addToBeacon("minimum_frame_rate",M.fpsMinimum()),v.addToBeacon("number_long_frames",M.fpsLongFrames()),v.addToBeacon("frame_rate_start",M.fpsStart())},stop:function(){c=!1,t=0},onBeacon:function(){c&&(t=BOOMR.now()),s=a=0}}}function o(e,i,o){if(e&&e.document&&e.document.body&&e.document.documentElement){var a=2e3,s=20,c=0,u=0,d=0,l=0,O=0,f=0,m=0,p=0,t=!1,n=e.document.body,r=e.document.documentElement;i.register("scroll_timeline",R),i.register("scroll_percentage_full_page",B);var g=Math.max(n.scrollHeight,n.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight)-BOOMR.utils.windowHeight();return M.scrollPct=function(){return l},M.scrollCount=function(){return O},M.scrollDistinct=function(){return m},M.scrollPixels=function(){return f},BOOMR.utils.addListener(e,"scroll",h,!0),t=setInterval(function(){var e=Math.min(d,100);0!==e&&i.set("scroll_percentage_full_page",e),d=0},_),{analyze:function(e){v.addToBeacon(scroll_count,M.scrollCount()),v.addToBeacon("scroll_percentage",M.scrollPct()),v.addToBeacon("scroll_y",M.scrollPixels()),v.addToBeacon("distinct_scrolls",M.scrollDistinct())},stop:function(){t&&(clearInterval(t),t=!1),BOOMR.utils.removeListener(e,"scroll",h)},onBeacon:function(){m=f=O=l=0}}}function h(e){var t=BOOMR.now();O++,a<t-p&&m++,p=t;var n=BOOMR.utils.scroll().y,r=Math.abs(c-n);f+=r,i.increment("scroll_timeline",r),(0===u||Math.abs(u-n)>s)&&(i.log(0,t,{y:n}),u=n),o.interact("scroll",t,e),d+=Math.round(r/g*100),l+=Math.round(r/g*100),c=n}}function a(e,o,a){o.register("click_timeline",R);var s=10,c=3,u=0,d=0,l=0,O=0,f=0,m=null;function t(e){var t=BOOMR.now(),n=e.clientX,r=e.clientY;u++;var i=Math.round(Math.sqrt(Math.pow(f-r,2)+Math.pow(O-n,2)));m===e.target||i<=s?c<=++d+1&&(l++,BOOMR.fireEvent("rage_click",e)):d=0,O=n,f=r,m=e.target,o.increment("click_timeline"),o.log(1,t,{x:n,y:r}),a.interact("click",t,e)}return M.clicksCount=function(){return u},M.clicksRage=function(){return l},BOOMR.utils.addListener(e.document,"click",t,!0),{analyze:function(e){v.addToBeacon("click_count",M.clicksCount()),v.addToBeacon("rage_click_count",M.clicksRage())},stop:function(){BOOMR.utils.removeListener(e.document,"click",t)},onBeacon:function(){l=d=u=0}}}function s(e,n,r){n.register("keyboard_press_timeline",R);var i=0,o=0;function t(e){var t=BOOMR.now();i++,27===e.keyCode&&o++,n.increment("keyboard_press_timeline"),n.log(3,t),r.interact("key",t,e)}return M.keyCount=function(){return i},M.keyEscapes=function(){return o},BOOMR.utils.addListener(e.document,"keydown",t,!0),{analyze:function(e){v.addToBeacon(keyboard_event_count,M.keyCount()),v.addToBeacon("keyboard_esc_count",M.keyEscapes())},stop:function(){BOOMR.utils.removeListener(e.document,"keydown",t)},onBeacon:function(){o=i=0}}}function c(e,o,t){o.register("mouse_movements_timeline",R),o.register("mouse_movement_percentage_timeline",B);var a=0,s=0,n=0,r=0,c=0,u=0,d=0,i=!1,l=!1,O=Math.round(Math.sqrt(Math.pow(BOOMR.utils.windowHeight(),2)+Math.pow(BOOMR.utils.windowWidth(),2)));function f(e){var t=e.clientX,n=e.clientY,r=Math.round(Math.sqrt(Math.pow(s-n,2)+Math.pow(a-t,2))),i=Math.round(r/O*100);c+=i,u+=i,d+=r,a=t,s=n,o.increment("mouse_movements_timeline",r)}return M.mousePct=function(){return u},M.mousePixels=function(){return d},i=setInterval(function(){var e=Math.min(c,100);0!==e&&o.set("mouse_movement_percentage_timeline",e),c=0},_),l=setInterval(function(){n===a&&r===s||10<=Math.round(Math.sqrt(Math.pow(r-s,2)+Math.pow(n-a,2)))&&(o.log(2,BOOMR.now(),{x:a,y:s}),n=a,r=s)},250),BOOMR.utils.addListener(e.document,"mousemove",f,!0),{analyze:function(e){v.addToBeacon("mouse_movement_percentage",M.mousePct()),v.addToBeacon("mouse_movement_pixels",M.mousePixels())},stop:function(){i&&(clearInterval(i),i=!1),l&&(clearInterval(l),l=!1),BOOMR.utils.removeListener(e.document,"mousemove",f)},onBeacon:function(){d=u=0}}}function u(i,o,e){o.register("interaction_timeline",R),o.register("delayed_interaction_timeline",R);var a=e,s=0,c=null,u=0,d=0,l=0,O=0,f=!0,m=0,p=0,g=!1,h=!1,_=!1;function t(){g&&(clearTimeout(g),g=!1),h&&(clearTimeout(h),h=!1)}function B(){y("Sending interaction beacon"),BOOMR.sendBeaconWhenReady({"rt.start":"manual","http.initiator":"interaction","rt.tstart":m,"rt.end":p},function(){t(),BOOMR.fireEvent("interaction")},v)}return M.interactionDelayed=function(){return l},M.interactionDelayedTime=function(){return Math.ceil(O)},M.interactionAvgDelay=function(){if(0<u)return Math.ceil(d/u)},M.timeToFirstInteraction=function(){if(s)return s-b},M.firstInputDelay=function(){if(null!==c)return c},BOOMR.subscribe("spa_init",function(){_=!0,t()},null,v),{interact:function(e,t,n){var r=0;t=t||BOOMR.now(),f&&(u++,s=s||t,!n||!n.timeStamp||v.isSafari&&i!==window||(r=14e11<n.timeStamp?t-n.timeStamp:t-b-n.timeStamp,d+=r,null===c&&(c=Math.ceil(r)),50<r&&(o.increment("delayed_interaction_timeline"),l++,O+=r)),o.increment("interaction_timeline"),!_&&v.afterOnloadMonitoring&&(p=BOOMR.now(),m||(y("Interaction detected, sending a beacon after "+a+" ms"),m=p,h=setTimeout(B,3e4)),g&&(y("Clearing previous interaction timeout"),clearTimeout(g),g=!1),g=setTimeout(B,a)))},analyze:function(e){v.addToBeacon("time_to_first_interaction",M.timeToFirstInteraction()),v.addToBeacon("delayed_interaction_count",M.interactionDelayed()),v.addToBeacon("delayed_interaction_time",M.interactionDelayedTime()),v.addToBeacon("average_interaction_delay",M.interactionAvgDelay()),null!==c&&v.addToBeacon("first_input_delay",M.firstInputDelay(),!0)},stop:function(){f=!1},onBeacon:function(){p=m=d=u=l=O=0,_=!1,t()}}}function d(e,n,r){n.register("visibility",R);var i={visible:0,hidden:1,prerender:2,unloaded:3},o=!0;return BOOMR.subscribe("visibility_changed",function(e){var t=BOOMR.now();o&&(n.increment("visibility"),n.log(4,t,{s:i[BOOMR.visibilityState()]}),r.interact("vis",t,e))}),{stop:function(){o=!1}}}function l(e,i,o){i.register("orientation",R);var a=!0;function t(e){var t=BOOMR.now(),n=window.orientation;if(a){i.increment("orientation");var r=window.screen&&(screen.orientation||screen.msOrientation||screen.mozOrientation||{});r&&"number"==typeof r.angle&&(n=screen.orientation.angle),"number"==typeof n&&i.log(5,t,{a:n}),o.interact("orn",t,e)}}return BOOMR.utils.addListener(e,"orientationchange",t,!0),{stop:function(){a=!1,BOOMR.utils.removeListener(e,"orientationchange",t)}}}function O(e,n){n.register("memory_usage_timeline",f,!0),n.register("battery_level",B,!0),n.register("click_dom_size",f,!0),n.register("click_dom_timeline",f,!0),n.register("dom_mutation_timeline",R);var t,r=e.document,i=!0,o=!1,a=null,s=0,c=0,u=r.getElementsByTagName("*");function d(){i&&a&&n.set("battery_level",a.level)}return o=setInterval(function(){var e=g&&g.memory&&g.memory.usedJSHeapSize;if(e&&n.set("memory_usage_timeline",e),c=u.length,n.set("click_dom_size",r.documentElement.innerHTML.length),n.set("click_dom_timeline",c),0<s){var t=Math.min(Math.round(s/c*100),100);n.set("dom_mutation_timeline",t),s=0}},1e3),e.navigator&&"function"==typeof e.navigator.getBattery&&e.navigator.getBattery().then(function(e){(a=e).onlevelchange&&(a.onlevelchange=d)}),BOOMR.utils.isMutationObserverSupported()&&(t=BOOMR.utils.addObserver(r,{childList:!0,subtree:!0},null,function(e){return e.forEach(function(e){if("childList"!==e.type)return!0;for(var t=0;t<e.addedNodes.length;t++){var n=e.addedNodes[t];s++,s+=n.getElementsByTagName?n.getElementsByTagName("*").length:0}}),!0},null,this)),{stop:function(){i=!1,o&&(clearInterval(o),o=!1),t&&t.observer&&(t.observer.disconnect(),t=null),a&&a.onlevelchange&&(a.onlevelchange=null),u=null}}}var _=100,R=0,f=1,B=2,m="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_",p=".",g=BOOMR.getPerformance(),M={},b=g&&g.timing&&g.timing.navigationStart?g.timing.navigationStart:BOOMR.now();v={monitorLongTasks:!1,monitorPageBusy:!1,monitorFrameRate:!1,monitorInteractions:!1,monitorStats:!1,afterOnload:!1,afterOnloadMaxLength:6e4,afterOnloadMinWait:5e3,waitAfterOnload:!1,ttiWaitForFrameworkReady:!1,ttiWaitForHeroImages:!1,sendLog:!0,sendTimeline:!0,logMaxEntries:100,initialized:!1,complete:!1,isSpa:!1,firedPageReady:!1,afterOnloadMonitoring:!1,frameworkReady:null,timeline:null,ttiMethod:null,longTaskMonitor:null,pageBusyMonitor:null,frameRateMonitor:null,interactionMonitor:null,scrollMonitor:null,clickMonitor:null,keyMonitor:null,mouseMonitor:null,visibilityMonitor:null,orientationMonitor:null,statsMonitor:null,monitors:["timeline","longTaskMonitor","pageBusyMonitor","frameRateMonitor","scrollMonitor","keyMonitor","clickMonitor","mouseMonitor","interactionMonitor","visibilityMonitor","orientationMonitor","statsMonitor"],timeOfLastBeacon:0,hasAddedDataToBeacon:!1,isSafari:window&&window.navigator&&window.navigator.vendor&&-1!==window.navigator.vendor.indexOf("Apple"),onBeforeBeacon:function(){v.runAllAnalyzers()},runAllAnalyzers:function(){var e,t;if(!v.hasAddedDataToBeacon){for(e=0;e<v.monitors.length;e++)(t=v[v.monitors[e]])&&"function"==typeof t.analyze&&t.analyze(v.timeOfLastBeacon);v.addToBeacon("last_beacon_timestamp",v.timeOfLastBeacon?v.timeOfLastBeacon.toString(36):0),v.timeOfLastBeacon=BOOMR.now(),v.hasAddedDataToBeacon=!0}},onBeacon:function(e){var t;if(!e||!(void 0!==e.early||e["http.initiator"]&&0===e["http.initiator"].indexOf("api_custom_"))){for(t=0;t<v.monitors.length;t++){var n=v[v.monitors[t]];n&&(v.afterOnload||"function"==typeof n.stop&&n.stop(),"function"==typeof n.onBeacon&&n.onBeacon())}v.hasAddedDataToBeacon=!1}},onXhrLoad:function(e){e&&BOOMR.utils.inArray(e.initiator,BOOMR.constants.BEACON_TYPE_SPAS)&&(v.isSpa=!0),e&&"spa_hard"===e.initiator&&v.onPageReady()},onPageReady:function(){if(v.firedPageReady=!0,v.afterOnload&&v.monitorInteractions&&(v.afterOnloadMonitoring=!0,v.isSpa||"number"!=typeof v.afterOnloadMaxLength||setTimeout(function(){v.afterOnloadMonitoring=!1},v.afterOnloadMaxLength)),v.waitAfterOnload){var t=BOOMR.now();setTimeout(function e(){BOOMR.now()-t>v.waitAfterOnload?(v.complete=!0,BOOMR.sendBeacon()):(v.timeline.analyze(),M.timeToInteractive()?(v.complete=!0,BOOMR.sendBeacon()):setTimeout(e,500))},500)}else v.complete=!0},addToBeacon:function(e,t,n){0!==t&&void 0!==t||n?BOOMR.addVar(e,t,!0):BOOMR.removeVar(e)}},BOOMR.plugins.Continuity={init:function(e){return BOOMR.utils.pluginConfig(v,e,"Continuity",["monitorLongTasks","monitorPageBusy","monitorFrameRate","monitorInteractions","monitorStats","afterOnload","afterOnloadMaxLength","afterOnloadMinWait","waitAfterOnload","ttiWaitForFrameworkReady","ttiWaitForHeroImages","sendLog","logMaxEntries","sendTimeline"]),v.initialized||(v.initialized=!0,v.timeline=new t(BOOMR.now()),BOOMR.window&&(v.monitorLongTasks&&BOOMR.window.PerformanceObserver&&BOOMR.window.PerformanceLongTaskTiming&&(v.longTaskMonitor=new n(BOOMR.window,v.timeline),v.ttiMethod="lt"),v.monitorFrameRate&&"function"==typeof BOOMR.window.requestAnimationFrame&&(v.frameRateMonitor=new i(BOOMR.window,v.timeline),v.ttiMethod||(v.ttiMethod="raf")),!v.monitorPageBusy||BOOMR.window.PerformanceObserver&&BOOMR.window.PerformanceLongTaskTiming&&v.monitorLongTasks||(v.pageBusyMonitor=new r(BOOMR.window,v.timeline),v.ttiMethod||(v.ttiMethod="b")),v.monitorInteractions&&(v.interactionMonitor=new u(BOOMR.window,v.timeline,v.afterOnloadMinWait),v.scrollMonitor=new o(BOOMR.window,v.timeline,v.interactionMonitor),v.keyMonitor=new s(BOOMR.window,v.timeline,v.interactionMonitor),v.clickMonitor=new a(BOOMR.window,v.timeline,v.interactionMonitor),v.mouseMonitor=new c(BOOMR.window,v.timeline,v.interactionMonitor),v.visibilityMonitor=new d(BOOMR.window,v.timeline,v.interactionMonitor),v.orientationMonitor=new l(BOOMR.window,v.timeline,v.interactionMonitor)),v.monitorStats&&(v.statsMonitor=new O(BOOMR.window,v.timeline,v.interactionMonitor))),BOOMR.addVar("continuity_epoch",b.toString(36)),BOOMR.addVar("time_to_interactive_method",v.ttiMethod),BOOMR.subscribe("before_beacon",v.onBeforeBeacon,null,v),BOOMR.subscribe("beacon",v.onBeacon,null,v),BOOMR.subscribe("page_ready",v.onPageReady,null,v),BOOMR.subscribe("xhr_load",v.onXhrLoad,null,v)),this},is_complete:function(e){return v.complete||e&&("error"===e["http.initiator"]||void 0!==e.early)},frameworkReady:function(){v.frameworkReady=BOOMR.now()},metrics:M,compressBucketLog:h,decompressBucketLog:function(e,t){var n,r,i,o,a,s,c=[],u=t||0;if(!e||0===e.length)return[];for(s=parseInt(e.charAt(0),10),e=e.substring(1),o=1,n=0;n<e.length;n++)if("*"!==e.charAt(n)){for(e.charAt(n)===p?(n++,i=e.indexOf(p,n),a=parseInt(e.substring(n,i),36),n=i):s===R?a=w(e.charAt(n)):s===f?n=-1!==(i=e.indexOf(",",n))?(a=parseInt(e.substring(n,i),36),i):(a=parseInt(e.substring(n),36),e.length):s===B&&(a="__"===e.substr(n,2)?100:parseInt(e.substr(n,2),10),n++),c[u]=a,r=1;r<o;r++)c[++u]=a;u++,o=1}else n++,i=e.indexOf("*",n),o=parseInt(e.substring(n,i),36),n=i;return c},decompressBucketLogNumber:w,decompressLog:function(e){var t,n,r,i,o,a=[];for(i=e.split("|"),t=0;t<i.length;t++){for(r=i[t].split(","),o={type:parseInt(r[0].charAt(0),10),time:parseInt(r[0].substring(1),36)},n=1;n<r.length;n++)o[r[n].charAt(0)]=r[n].substring(1);a.push(o)}return a}}}function y(e){BOOMR.debug(e,"Continuity")}function h(e,t,n,r,i){var o,a,s,c,u,d="",l=0;if(!n||!BOOMR.utils.Compression)return"";if(0===n.length)return"";if(t)for(void 0===n[r]&&(n[r]=0),o=r+1;o<=i;o++)void 0===n[o]&&(n[o]=n[o-1]);for(o=r;o<=i;o++){if(l="number"!=typeof n[o]||isNaN(n[o])?0:n[o],e===R?s=l<=63?m.charAt(l):p+l.toString(36)+p:e===f?s=l.toString(36):e===B&&(s=l<99?l<=9?"0"+Math.max(l,0):l:"__"),o+3<=i&&(n[o+1]===l||0===l&&void 0===n[o+1])&&(n[o+2]===l||0===l&&void 0===n[o+2])&&(n[o+3]===l||0===l&&void 0===n[o+3])){for(a=1;o<i&&(n[o+1]===l||0===l&&void 0===n[o+1]);)a++,o++;c="*"+a.toString(36)+"*"+s}else c=s;0===l&&o===i||(e===f&&u&&(d+=","),u=!0,d+=c)}return u?e.toString()+d:""}function w(e){if(!e||!e.charCodeAt)return 0;var t=e.charCodeAt(0);return 48<=t&&t<=57?t-48:97<=t&&t<=122?t-97+10:65<=t&&t<=90?t-65+36:95===t?62:45===t?63:0}}()},function(e,t){!function(){if(BOOMR=window.BOOMR||{},BOOMR.plugins=BOOMR.plugins||{},!BOOMR.plugins.PaintTiming){var o={"first-paint":"first_paint","first-contentful-paint":"first_contentful_paint"},a={initialized:!1,complete:!1,supported:null,timingCache:{},done:function(e,t){var n,r,i;if(this.complete)return this;if("load"!==t&&(!e||"spa_hard"!==e.initiator))return this.complete=!0,this;if((n=BOOMR.getPerformance())&&"function"==typeof n.getEntriesByType){if((r=n.getEntriesByType("paint"))&&r.length){for(BOOMR.info("This user agent supports PaintTiming","pt"),i=0;i<r.length;i++)a.timingCache[r[i].name]=r[i].startTime,o[r[i].name]&&BOOMR.addVar(o[r[i].name],Math.floor(r[i].startTime),!0);this.complete=!0,BOOMR.sendBeacon()}}else this.complete=!0}};BOOMR.plugins.PaintTiming={init:function(){return this.is_supported()||(a.complete=!0,a.initialized=!0),a.complete||"hidden"!==BOOMR.visibilityState()||(BOOMR.addVar("paint_timing_hidden",1,!0),a.complete=!0),a.initialized||(BOOMR.subscribe("page_ready",a.done,"load",a),BOOMR.subscribe("xhr_load",a.done,"xhr",a),BOOMR.subscribe("before_unload",a.done,null,a),a.initialized=!0),this},is_complete:function(){return!0},is_enabled:function(){return a.initialized&&this.is_supported()},is_supported:function(){if(null!==a.supported)return a.supported;var e=BOOMR.getPerformance();return a.supported=e&&void 0!==window.PerformancePaintTiming&&"function"==typeof e.getEntriesByType,a.supported},getTimingFor:function(e){var t,n,r;if(a.timingCache[e])return a.timingCache[e];if(this.is_supported()&&((r=BOOMR.getPerformance())&&"function"==typeof r.getEntriesByType&&(t=r.getEntriesByType("paint"))&&t.length))for(n=0;n<t.length;n++)if(t[n].name===e)return a.timingCache[e]=t[n].startTime,a.timingCache[e]}}}}()},function(e,t){!function(){if(BOOMR=window.BOOMR||{},BOOMR.plugins=BOOMR.plugins||{},!BOOMR.plugins.NavigationTiming){var d={complete:!1,fullySent:!1,sendBeacon:function(){this.complete=!0,BOOMR.sendBeacon()},xhr_done:function(e){var t;if(e&&"spa_hard"===e.initiator)d.done(e);else if(e&&"spa"===e.initiator)d.sendBeacon();else{BOOMR.window;var n,r,i={};if(e){if(e.data&&(e=e.data),(t=BOOMR.getPerformance())&&e.restiming)for(r in i={redirect_start:e.restiming.redirectStart,redirect_end:e.restiming.redirectEnd,fetch_start:e.restiming.fetchStart,domain_lookup_start:e.restiming.domainLookupStart,domain_lookup_end:e.restiming.domainLookupEnd,connect_start:e.restiming.connectStart,connect_end:e.restiming.connectEnd,request_start:e.restiming.requestStart,response_start:e.restiming.responseStart,response_end:e.restiming.responseEnd},e.restiming.secureConnectionStart&&(i.secure_connection_start=e.restiming.secureConnectionStart),i)i.hasOwnProperty(r)&&i[r]&&(i[r]+=t.timing.navigationStart,i[r]=Math.floor(i[r]));for(r in e.timing&&(n=e.timing,i.request_start||(i.request_start=n.requestStart),i.response_start||(i.response_start=n.responseStart),i.response_end||(i.response_end=n.responseEnd),i.dom_interactive=n.domInteractive,i.dom_complete=n.domComplete,i.load_event_start=n.loadEventEnd,i.load_event_end=n.loadEventEnd),i)i.hasOwnProperty(r)&&!i[r]&&delete i[r];BOOMR.addVar(i,void 0,!0),d.sendBeacon()}}},done:function(){var e,t,n,r,i,o,a=BOOMR.window,s={},c=0,u=!1;if(this.complete)return this;if(e=BOOMR.getPerformance()){for(o in"function"==typeof e.getEntriesByType&&((r=e.getEntriesByType("navigation"))&&r.length?(BOOMR.info("This user agent supports NavigationTiming2","nt"),r=r[0],c=e.timing?e.timing.navigationStart:0):r=void 0),!r&&e.timing&&(BOOMR.info("This user agent supports NavigationTiming","nt"),r=e.timing),r&&(!(s={navigation_start:e.timing?e.timing.navigationStart:0,redirect_start:l(c,r.redirectStart),redirect_end:l(c,r.redirectEnd),fetch_start:l(c,r.fetchStart),domain_lookup_start:l(c,r.domainLookupStart),domain_lookup_end:l(c,r.domainLookupEnd),connect_start:l(c,r.connectStart),connect_end:l(c,r.connectEnd),request_start:l(c,r.requestStart),response_start:l(c,r.responseStart),response_end:l(c,r.responseEnd),dom_loading:l(c,r.domLoading),dom_interactive:l(c,r.domInteractive),dom_content_loaded_event_start:l(c,r.domContentLoadedEventStart),dom_content_loaded_event_end:l(c,r.domContentLoadedEventEnd),dom_complete:l(c,r.domComplete),load_event_start:l(c,r.loadEventStart),load_event_end:l(c,r.loadEventEnd),unload_event_start:l(c,r.unloadEventStart),unload_event_end:l(c,r.unloadEventEnd)}).dom_loading&&e&&e.timing&&e.timing.domLoading&&(s.dom_loading=e.timing.domLoading),r.secureConnectionStart&&(s.secure_connection_start=l(c,r.secureConnectionStart)),e.timing&&e.timing.msFirstPaint&&(s.first_paint_timestamp=e.timing.msFirstPaint),r.workerStart&&(s.worker_start=l(c,r.workerStart)),(r.decodedBodySize||r.transferSize)&&(s.encoded_body_size=r.encodedBodySize,s.decoded_body_size=r.decodedBodySize,s.transfer_size=r.transferSize),r.nextHopProtocol&&(s.next_hop_protocol=r.nextHopProtocol)),!s.first_paint_timestamp&&BOOMR.plugins.PaintTiming&&(u=BOOMR.plugins.PaintTiming.is_supported(),(i=BOOMR.plugins.PaintTiming.getTimingFor("first-paint"))&&(s.first_paint_timestamp=l(c,i))),s.next_hop_protocol&&s.first_paint_timestamp||r&&""===r.nextHopProtocol||u||!a.chrome||"function"!=typeof a.chrome.loadTimes||(n=a.chrome.loadTimes())&&(s.loaded_over_spdy=n.wasFetchedViaSpdy?1:0,s.load_times=n.connectionInfo,"number"==typeof n.firstPaintTime&&0!==n.firstPaintTime&&(s.first_paint_timestamp=Math.round(1e3*n.firstPaintTime))),e.navigation&&(t=e.navigation,s.redirect_count=t.redirectCount,s.navigation_type=t.type),s)s.hasOwnProperty(o)&&void 0===s[o]&&delete s[o];BOOMR.addVar(s,void 0,!0),r&&(r.requestStart&&r.navigationStart&&r.requestStart<r.navigationStart||r.responseStart&&r.navigationStart&&r.responseStart<r.navigationStart||r.responseStart&&r.fetchStart&&r.responseStart<r.fetchStart||r.navigationStart&&r.fetchStart<r.navigationStart||r.responseEnd&&r.responseEnd>BOOMR.now()+864e5)&&BOOMR.addVar("navigation_bad",1,!0),0<s.load_event_end&&(this.fullySent=!0)}d.sendBeacon()},clear:function(e){this.complete=!(e&&e.early)&&this.fullySent},prerenderToVisible:function(){this.complete=!1,this.done()},onBeforeEarlyBeacon:function(e){e&&void 0!==e.initiator&&"spa_hard"!==e.initiator||this.done()}};BOOMR.plugins.NavigationTiming={init:function(){return d.initialized||(BOOMR.subscribe("page_ready",d.done,null,d),BOOMR.subscribe("prerender_to_visible",d.prerenderToVisible,null,d),BOOMR.subscribe("before_early_beacon",d.onBeforeEarlyBeacon,null,d),BOOMR.subscribe("xhr_load",d.xhr_done,null,d),BOOMR.subscribe("before_unload",d.done,null,d),BOOMR.subscribe("beacon",d.clear,null,d),d.initialized=!0),this},is_complete:function(){return!0}}}function l(e,t){if("number"==typeof t&&0!==t)return Math.floor((e||0)+t)}}()},function(e,t){function n(){var e;for(e in i)void 0!==r[e]&&(BOOMR.removeVar(i[e]),r[e]&&BOOMR.addVar(i[e],r[e]))}var r,i;i={type:"connection_type",bandwidth:"mobile_bandwidth",metered:"connection_metered",effectiveType:"effective_type",downlinkMax:"downlink_max",downlink:"downlink",rtt:"round_trip_time",saveData:"save_data"},BOOMR=window.BOOMR||{},"function"==typeof BOOMR.addVar&&("object"==typeof navigator&&(r=navigator.connection||navigator.mozConnection||navigator.webkitConnection||navigator.msConnection),r&&(r.addEventListener&&r.addEventListener("change",function(){n(),BOOMR.fireEvent("netinfo",r)}),n()))},function(e,t){!function(){if(BOOMR=window.BOOMR||{},BOOMR.utils=BOOMR.utils||{},!BOOMR.utils||!BOOMR.utils.Compression){var a=BOOMR.utils.Compression={},d={true:!0,false:!(a.jsUrl=function(e){function t(e){return/[^\w-.]/.test(e)?e=e.replace(/[^\w-.]/g,function(e){return"$"===e?"!":(e=e.charCodeAt(0))<256?"*"+("00"+e.toString(16)).slice(-2):"**"+("0000"+e.toString(16)).slice(-4)}):e}var n=[];switch(typeof e){case"number":return isFinite(e)?"~"+e:"~null";case"string":return"~'"+t(e);case"boolean":return"~"+e;case"object":if(!e)return"~null";if(BOOMR.utils.isArray(e)){for(var r=0;r<e.length;r++)r in e&&(n[r]=a.jsUrl(e[r])||"~null");return"~("+(n.join("")||"~")+")"}for(var i in e)if(e.hasOwnProperty(i)){var o=a.jsUrl(e[i]);o&&n.push(t(i)+o)}return"~("+n.sort().join("~")+")";default:return}}),null:null};a.jsUrlDecompress=function(o){if("string"!=typeof o)return o;var a=0,s=o.length;function c(e){if(o.charAt(a)!==e)throw new Error("bad JSURL syntax: expected "+e+", got "+(o&&o.charAt(a))+" from:"+o+" length:"+o.length.toString()+" char at:"+o.charAt(a));a++}function u(){for(var e,t=a,n="";a<s&&"~"!==(e=o.charAt(a))&&")"!==e;)switch(e){case"*":t<a&&(n+=o.substring(t,a)),t="*"===o.charAt(a+1)?(n+=String.fromCharCode(parseInt(o.substring(a+2,a+6),16)),a+=6):(n+=String.fromCharCode(parseInt(o.substring(a+1,a+3),16)),a+=3);break;case"!":t<a&&(n+=o.substring(t,a)),n+="$",t=++a;break;default:a++}return n+o.substring(t,a)}return function e(){var t,n,r;switch(c("~"),n=o.charAt(a)){case"(":if(a++,"~"===o.charAt(a))if(t=[],")"===o.charAt(a+1))a++;else for(;t.push(e()),"~"===o.charAt(a););else if(t={},")"!==o.charAt(a))do{t[u()]=e()}while("~"===o.charAt(a)&&++a);c(")");break;case"'":a++,t=u();break;default:for(r=a++;a<s&&/[^)~]/.test(o.charAt(a));)a++;var i=o.substring(r,a);if(/[\d\-]/.test(n))t=parseFloat(i);else if(void 0===(t=d[i]))throw new Error("bad value keyword: "+i)}return t}()}}}()},function(e,t){var n,r,a;n=window,BOOMR=window.BOOMR||{},BOOMR.plugins=BOOMR.plugins||{},BOOMR.plugins.RT||(a={onloadfired:!1,unloadfired:!1,visiblefired:!1,initialized:!1,complete:!1,autorun:!0,timers:{},cookie:"RT",cookie_exp:604800,session_exp:1800,strict_referrer:!0,navigationType:0,navigationStart:void 0,responseStart:void 0,loadTime:0,oboError:0,t_start:void 0,cached_t_start:void 0,cached_xhr_start:void 0,t_fb_approx:void 0,r:void 0,beacon_url:void 0,next_beacon_url:void 0,basic_timers:{perceived_load_time:1,t_resp:1,t_page:1},crossdomain_sending:!1,navigationStartSource:"",updateCookie:function(e,t){var n,r,i,o;if(!this.cookie)return!1;for(o in i=BOOMR.utils.getSubCookies(BOOMR.utils.getCookie(this.cookie))||{})i.hasOwnProperty(o)&&(isNaN(parseInt(o,10))||delete i[o]);if("object"==typeof e)for(o in e)e.hasOwnProperty(o)&&(void 0===e[o]?i.hasOwnProperty(o)&&delete i[o]:i[o]=e[o]);return i.z=1,i.dm=BOOMR.session.domain,i.si=BOOMR.session.ID,i.ss=BOOMR.session.start.toString(36),i.sl=BOOMR.session.length.toString(36),1800!==a.session_exp&&(i.se=a.session_exp.toString(36)),BOOMR.session.rate_limited&&(i.rl=1),i.tt=this.loadTime.toString(36),0<this.oboError?i.obo=this.oboError.toString(36):delete i.obo,r=BOOMR.now(),t&&(i[t]=(r-BOOMR.session.start).toString(36),a.lastActionTime=r),this.beacon_url&&(i.bcn=this.beacon_url),BOOMR.debug("Setting cookie (timer="+t+")\n"+BOOMR.utils.objectToString(i),"rt"),BOOMR.utils.setCookie(this.cookie,i,this.cookie_exp)?(50<(n=BOOMR.now())-r&&(BOOMR.utils.removeCookie(this.cookie),BOOMR.error("took more than 50ms to set cookie... aborting: "+r+" -> "+n,"rt")),!0):(BOOMR.error("cannot set start cookie","rt"),!1)},refreshSession:function(e){(e=e||BOOMR.plugins.RT.getCookie())&&(e.ss?BOOMR.session.start=e.ss:BOOMR.session.start=BOOMR.plugins.RT.navigationStart()||BOOMR.t_lstart||BOOMR.t_start,e.si&&e.si.match(/-/)&&(BOOMR.session.ID=e.si),e.sl&&(BOOMR.session.length=e.sl),e.tt&&(this.loadTime=e.tt),e.obo&&(this.oboError=e.obo),e.dm&&!BOOMR.session.domain&&(BOOMR.session.domain=e.dm),e.se&&(a.session_exp=e.se),e.bcn&&(this.beacon_url=e.bcn),e.rl&&"1"===e.rl&&(BOOMR.session.rate_limited=!0))},maybeResetSession:function(e,t){BOOMR.debug("Current session meta:\n"+BOOMR.utils.objectToString(BOOMR.session),"rt"),BOOMR.debug("Timers: t_start="+t+", sessionLoad="+a.loadTime+", sessionError="+a.oboError+", lastAction="+a.lastActionTime,"rt");var n=0;BOOMR.session.start&&BOOMR.session.length&&(n=(BOOMR.now()-BOOMR.session.start)/BOOMR.session.length);var r=1e3*a.session_exp;(!BOOMR.session.start||t&&BOOMR.session.start>t||e-(a.lastActionTime||BOOMR.t_start)>r||r<n)&&(BOOMR.session.start=t||BOOMR.plugins.RT.navigationStart()||BOOMR.t_lstart||BOOMR.t_start,BOOMR.session.length=0,BOOMR.session.rate_limited=!1,a.loadTime=0,a.oboError=0,a.beacon_url=a.next_beacon_url,a.lastActionTime=e,a.updateCookie({rl:void 0,sl:BOOMR.session.length,ss:BOOMR.session.start,tt:a.loadTime,obo:void 0,bcn:a.beacon_url})),BOOMR.debug("New session meta:\n"+BOOMR.utils.objectToString(BOOMR.session),"rt"),BOOMR.debug("Timers: t_start="+t+", sessionLoad="+a.loadTime+", sessionError="+a.oboError,"rt")},initFromCookie:function(){var e,t,n;n=BOOMR.plugins.RT.getCookie(),this.cookie||(BOOMR.session.enabled=!1),n&&(n.s=Math.max(+n.ld||0,Math.max(+n.ul||0,+n.cl||0)),BOOMR.debug("Read from cookie "+BOOMR.utils.objectToString(n),"rt"),n.s&&(n.r||n.nu)&&(this.r=n.r,e=BOOMR.utils.hashString(r.URL),t=BOOMR.utils.hashString(r&&r.referrer||""),BOOMR.debug("referrer check: "+this.r+" =?= "+t,"rt"),n.cl&&BOOMR.debug(n.s+" <? "+(+n.cl+15),"rt"),n.nu&&BOOMR.debug(n.nu+" =?= "+e,"rt"),!this.strict_referrer||n.cl&&n.nu&&n.nu===e&&n.s<+n.cl+15||n.s===+n.ul&&this.r===t?(this.t_start=n.s,+n.hd>n.s&&(this.t_fb_approx=n.hd)):this.t_start=this.t_fb_approx=void 0),n.s&&(this.lastActionTime=n.s),this.refreshSession(n),this.updateCookie({s:void 0,ul:void 0,cl:void 0,hd:void 0,ld:void 0,rl:void 0,r:void 0,nu:void 0,sh:void 0}),this.maybeResetSession(BOOMR.now()))},incrementSessionDetails:function(){BOOMR.debug("Incrementing Session Details... ","RT"),BOOMR.session.length++,!a.timers.perceived_load_time||isNaN(a.timers.perceived_load_time.delta)?a.oboError++:a.loadTime+=a.timers.perceived_load_time.delta},getBoomerangTimings:function(){var e,t,n,r,i;function o(e,t){var n=Math.round(e||0),r=Math.round(t||0);return(n=0===n?0:n-r)||""}BOOMR.t_start&&(BOOMR.plugins.RT.startTimer("boomerang",BOOMR.t_start),BOOMR.plugins.RT.endTimer("boomerang",BOOMR.t_end),BOOMR.plugins.RT.endTimer("boomr_fb",BOOMR.t_start),BOOMR.t_lstart&&(BOOMR.plugins.RT.endTimer("boomr_ld",BOOMR.t_lstart),BOOMR.plugins.RT.setTimer("boomr_lat",BOOMR.t_start-BOOMR.t_lstart)));try{if(window&&"performance"in window&&window.performance&&"function"==typeof window.performance.getEntriesByName)for(n in t={boomerand_time_to_load:BOOMR.url},BOOMR.config_url&&(t.boomerang_config_time_to_load=BOOMR.config_url),t)if(t.hasOwnProperty(n)&&t[n]){if(!(e=window.performance.getEntriesByName(t[n]))||0===e.length||!e[0])continue;i=[r=o((e=e[0]).startTime,0),o(e.responseEnd,r),o(e.responseStart,r),o(e.requestStart,r),o(e.connectEnd,r),o(e.secureConnectionStart,r),o(e.connectStart,r),o(e.domainLookupEnd,r),o(e.domainLookupStart,r),o(e.redirectEnd,r),o(e.redirectStart,r)].join(",").replace(/,+$/,""),BOOMR.addVar(n,i,!0)}}catch(e){e&&e.name&&e.name.hasOwnProperty("length")&&-1===e.name.indexOf("NS_ERROR_FAILURE")&&BOOMR.addError(e,"rt.getBoomerangTimings")}},checkPreRender:function(){return"prerender"===BOOMR.visibilityState()&&(BOOMR.plugins.RT.startTimer("t_load",this.navigationStart),BOOMR.plugins.RT.endTimer("t_load"),BOOMR.plugins.RT.startTimer("t_prerender",this.navigationStart),BOOMR.plugins.RT.startTimer("t_postrender"),!0)},initFromNavTiming:function(){var e,t;this.navigationStart||((t=BOOMR.getPerformance())&&t.navigation&&(this.navigationType=t.navigation.type),t&&t.timing?(e=t.timing,this.navigationStartSource="navigation"):n.chrome&&n.chrome.csi&&n.chrome.csi().startE?(e={navigationStart:n.chrome.csi().startE},this.navigationStartSource="csi"):n.gtbExternal&&n.gtbExternal.startE()&&(e={navigationStart:n.gtbExternal.startE()},this.navigationStartSource="gtb"),e?(this.navigationStart=e.navigationStart||e.fetchStart||void 0,this.fetchStart=e.fetchStart||void 0,this.responseStart=e.responseStart||void 0,navigator.userAgent.match(/Firefox\/[78]\./)&&(this.navigationStart=e.unloadEventStart||e.fetchStart||void 0)):BOOMR.warn("This browser doesn't support the WebTiming API","rt"))},validateLoadTimestamp:function(e,t,n){var r;return t&&t.timing&&t.timing.loadEventEnd?t.timing.loadEventEnd:"xhr"!==n||t&&BOOMR.utils.inArray(t.initiator,BOOMR.constants.BEACON_TYPE_SPAS)?(r=BOOMR.getPerformance())&&r.timing?r.timing.loadEventEnd?r.timing.loadEventEnd:e:BOOMR.t_onload||BOOMR.t_lstart||BOOMR.t_start||e:e},setPageLoadTimers:function(e,t,n){var r,i;if(!("xhr"===e||"early"===e&&n&&BOOMR.utils.inArray(n.initiator,BOOMR.constants.BEACON_TYPE_SPAS))&&(a.initFromCookie(),a.initFromNavTiming(),BOOMR.addVar("start_time_from",this.navigationStartSource),a.checkPreRender()))return!1;if("xhr"===e)if(n.timers)for(var o in n.timers)n.timers.hasOwnProperty(o)&&BOOMR.plugins.RT.setTimer(o,n.timers[o]);else n&&n.timing&&(void 0===(i=n.timing.fetchStart)||n.timing.responseEnd>=i)&&(r=n.timing.responseEnd);else a.responseStart?a.responseStart>=a.navigationStart&&a.responseStart>=a.fetchStart&&(r=a.responseStart):a.timers.hasOwnProperty("t_page")?BOOMR.plugins.RT.endTimer("t_page"):a.t_fb_approx&&(r=a.t_fb_approx);return r&&"early"!==e&&(i?BOOMR.plugins.RT.setTimer("t_resp",i,r):BOOMR.plugins.RT.endTimer("t_resp",r),"load"===e&&a.timers.t_load?BOOMR.plugins.RT.setTimer("t_page",a.timers.t_load.end-r):t<r?BOOMR.addVar("t_page_error",1,!0):BOOMR.plugins.RT.setTimer("t_page",t-r)),"load"===e&&a.timers.hasOwnProperty("t_postrender")&&(BOOMR.plugins.RT.endTimer("t_postrender"),BOOMR.plugins.RT.endTimer("t_prerender")),!0},setSupportingTimestamps:function(e,t){e&&BOOMR.addVar("start_time_timestamp",e,!0),"number"==typeof a.navigationStart&&a.navigationStart!==e&&BOOMR.addVar("navigation_start_timestamp",a.navigationStart,!0),"number"==typeof a.t_start&&a.t_start!==e&&BOOMR.addVar("start_time_cookie",a.t_start,!0),BOOMR.addVar("boomerang_start_timestamp",BOOMR.t_start,!0),BOOMR.t_lstart&&BOOMR.addVar("boomerang_added_timestamp",BOOMR.t_lstart,!0),"early"===t?BOOMR.addVar("t_done_end_time",e||BOOMR.now(),!0):a.timers.perceived_load_time&&BOOMR.addVar("t_done_end_time",a.timers.perceived_load_time.end,!0)},determineTStart:function(e,t){var n;return"xhr"===e||"early"===e&&t&&"spa"===t.initiator?(t&&t.name&&a.timers[t.name]?n=a.timers[t.name].start:t&&t.timing&&t.timing.requestStart&&(n=t.timing.requestStart),void 0===n&&t&&BOOMR.utils.inArray(t.initiator,BOOMR.constants.BEACON_TYPE_SPAS)?BOOMR.addVar("start_time_from","none"):BOOMR.addVar("start_time_from","manual"),a.cached_xhr_start=n):(a.navigationStart?n=a.navigationStart:a.t_start&&2!==a.navigationType?(n=a.t_start,BOOMR.addVar("start_time_from","cookie")):n=a.cached_t_start?a.cached_t_start:void BOOMR.addVar("start_time_from","none"),a.cached_t_start=n),BOOMR.debug("Got start time: "+n,"rt"),n},page_ready:function(){this.onloadfired=!0},check_visibility:function(){"visible"===BOOMR.visibilityState()&&(a.visiblefired=!0)},prerenderToVisible:function(){a.onloadfired&&a.autorun&&(BOOMR.debug("Transitioned from prerender to "+BOOMR.visibilityState(),"rt"),BOOMR.addVar("prerender_to_visible","1",!0),BOOMR.plugins.RT.done(null,"visible"))},page_unload:function(e){BOOMR.debug("Unload called when unloadfired = "+this.unloadfired,"rt"),this.unloadfired||BOOMR.plugins.RT.done(e,"unload"),this.updateCookie(!a.navigationStart&&a.strict_referrer?{r:BOOMR.utils.hashString(r.URL)}:null,"beforeunload"===e.type?"ul":"hd"),this.unloadfired=!0},_iterable_click:function(e,t,n,r){var i;if(n){for(BOOMR.debug(e+" called with "+n.nodeName,"rt");n&&n.nodeName&&n.nodeName.toUpperCase()!==t;)n=n.parentNode;n&&n.nodeName&&n.nodeName.toUpperCase()===t&&(BOOMR.debug("passing through","rt"),this.refreshSession(),this.maybeResetSession(BOOMR.now()),i=r(n),this.updateCookie({next_page_url:BOOMR.utils.hashString(i)},"cl"),BOOMR.addVar("next_page_url",BOOMR.utils.cleanupURL(i),!0))}},onclick:function(e){a._iterable_click("Click","A",e,function(e){return e.href})},markComplete:function(){this.onloadfired&&(a.complete=!0)},onsubmit:function(e){a._iterable_click("Submit","FORM",e,function(e){var t="function"==typeof e.getAttribute&&e.getAttribute("action")||r.URL||"";return t.match(/\?/)?t:t+"?"})},onconfig:function(e){e.beacon_url&&(a.beacon_url=e.beacon_url),e.RT&&(e.RT.oboError&&!isNaN(e.RT.oboError)&&e.RT.oboError>a.oboError&&(a.oboError=e.RT.oboError),e.RT.loadTime&&!isNaN(e.RT.loadTime)&&e.RT.loadTime>a.loadTime&&(a.loadTime=e.RT.loadTime,a.timers.perceived_load_time&&!isNaN(a.timers.perceived_load_time.delta)&&(a.loadTime+=a.timers.perceived_load_time.delta)))},domloaded:function(){BOOMR.plugins.RT&&BOOMR.plugins.RT.endTimer("t_domloaded")},clear:function(e){e&&void 0!==e.early||BOOMR.removeVar("start_time_from")},spaNavigation:function(){a.onloadfired=!0}},BOOMR.plugins.RT={init:function(e){if(BOOMR.debug("init RT","rt"),n!==BOOMR.window&&(n=BOOMR.window),e&&e.CrossDomain&&e.CrossDomain.sending&&(a.crossdomain_sending=!0),n&&n.document)return r=n.document,BOOMR.utils.pluginConfig(a,e,"RT",["cookie","cookie_exp","session_exp","strict_referrer"]),e&&void 0!==e.autorun&&(a.autorun=e.autorun),e&&e.beacon_url&&(a.beacon_url&&!e.force_beacon_url||(a.beacon_url=e.beacon_url),a.next_beacon_url=e.beacon_url),void 0!==r&&(a.r=BOOMR.utils.hashQueryString(r.referrer,!0)),a.initFromCookie(),a.initialized||(a.complete=!1,a.timers={},a.check_visibility(),BOOMR.subscribe("page_ready",a.page_ready,null,a),BOOMR.subscribe("visibility_changed",a.check_visibility,null,a),BOOMR.subscribe("prerender_to_visible",a.prerenderToVisible,null,a),BOOMR.subscribe("page_ready",this.done,"load",this),BOOMR.subscribe("xhr_load",this.done,"xhr",this),BOOMR.subscribe("before_early_beacon",this.done,"early",this),BOOMR.subscribe("dom_loaded",a.domloaded,null,a),BOOMR.subscribe("page_unload",a.page_unload,null,a),BOOMR.subscribe("click",a.onclick,null,a),BOOMR.subscribe("form_submit",a.onsubmit,null,a),BOOMR.subscribe("before_beacon",this.addTimersToBeacon,"beacon",this),BOOMR.subscribe("beacon",a.clear,null,a),BOOMR.subscribe("error",a.markComplete,null,a),BOOMR.subscribe("config",a.onconfig,null,a),BOOMR.subscribe("spa_navigation",a.spaNavigation,null,a),BOOMR.subscribe("interaction",a.markComplete,null,a),BOOMR.getBeaconURL=function(){return a.beacon_url},a.initialized=!0),this},startTimer:function(e,t){return e&&("t_page"===e&&this.endTimer("t_resp",t),a.timers[e]={start:"number"==typeof t?t:BOOMR.now()}),this},endTimer:function(e,t){return e&&(a.timers[e]=a.timers[e]||{},void 0===a.timers[e].end&&(a.timers[e].end="number"==typeof t?t:BOOMR.now())),this},clearTimer:function(e){return e&&delete a.timers[e],this},setTimer:function(e,t,n){return e&&(a.timers[e]=void 0!==n?{start:t,end:n,delta:n-t}:{delta:t}),this},addTimersToBeacon:function(e,t){var n,r,i=[];for(n in a.timers)if(a.timers.hasOwnProperty(n)){if("number"!=typeof(r=a.timers[n]).delta&&("number"!=typeof r.start&&(r.start="xhr"===t?a.cached_xhr_start:a.cached_t_start),r.delta=r.end-r.start),isNaN(r.delta))continue;a.basic_timers.hasOwnProperty(n)?BOOMR.addVar(n,r.delta,!0):i.push(n+"|"+r.delta)}i.length&&BOOMR.addVar("additional_timers",i.join(","),!0),"beacon"!==t||e&&void 0!==e.early||(a.timers={},a.complete=!1)},done:function(e,t){if(BOOMR.debug("Called done: "+t,"rt"),BOOMR.plugins.RT){var n,r,i=BOOMR.now(),o=!1;return a.complete=!1,r=a.validateLoadTimestamp(i,e,t),("load"!==t&&"visible"!==t&&"xhr"!==t&&"early"!==t||a.setPageLoadTimers(t,r,e))&&(("load"===t||"visible"===t||"early"===t&&(!e||void 0===e.initiator||"spa_hard"===e.initiator)||"xhr"===t&&e&&"spa_hard"===e.initiator)&&a.getBoomerangTimings(),n=a.determineTStart(t,e),a.refreshSession(),a.maybeResetSession(r,n),"early"!==t&&this.endTimer("perceived_load_time",r),e&&"xhr"===e.initiator&&this.setTimer("perceived_load_time",e.timing.requestStart,e.timing.loadEventEnd),a.setSupportingTimestamps(n,t),this.addTimersToBeacon(null,t),BOOMR.setReferrer(a.r),"xhr"===t&&e&&e&&e.data&&(e=e.data),"xhr"===t&&e&&(o=e.subresource,e.url&&BOOMR.addVar("url",BOOMR.utils.cleanupURL(e.url.replace(/#.*/,"")),!0),e.status&&(e.status<-1||400<=e.status)&&BOOMR.addVar("http_error_number",e.status,!0),e.method&&"GET"!==e.method&&BOOMR.addVar("http_method",e.method,!0),e.type&&"xhr"!==e.type&&BOOMR.addVar("http_type",e.type[0],!0),e.headers&&BOOMR.addVar("http_header",e.headers,!0),e.synchronous&&BOOMR.addVar("xhr_sync",1,!0),e.initiator&&BOOMR.addVar("http_initiator",e.initiator,!0),e.responseBodyNotUsed&&BOOMR.addVar("fetch_body",1,!0)),o&&"passive"!==o&&BOOMR.addVar("rt.subres",1,!0),("load"===t||"visible"===t||"xhr"===t&&!o||"unload"===t&&!a.onloadfired&&a.autorun&&!a.crossdomain_sending)&&(a.incrementSessionDetails(),a.updateCookie(null,"ld")),BOOMR.addVar({load_time_session:a.loadTime,"rt.obo":a.oboError},void 0,!0),a.updateCookie(),"unload"===t&&(BOOMR.addVar("rt.quit","",!0),a.onloadfired||BOOMR.addVar("rt.abld","",!0),a.visiblefired||BOOMR.addVar("rt.ntvu","",!0)),"early"!==t&&(a.complete=!0),BOOMR.sendBeacon(a.beacon_url)),this}},is_complete:function(e){return a.complete||e&&"error"===e.http_initiator||e&&void 0!==e.early},updateCookie:function(){a.updateCookie()},getCookie:function(){var e,t,n;return!!a.cookie&&((e=BOOMR.utils.getSubCookies(BOOMR.utils.getCookie(a.cookie))||{})&&(n=1&e.z?(t=36,parseInt(e.ss||0,36)):(t=10,0),e.ss=parseInt(e.ss||0,t),e.tt=parseInt(e.tt||0,t),e.obo=parseInt(e.obo||0,t),e.sl=parseInt(e.sl||0,t),e.se&&(e.se=parseInt(e.se,t)||1800),e.ld&&(e.ld=n+parseInt(e.ld,t)),e.ul&&(e.ul=n+parseInt(e.ul,t)),e.cl&&(e.cl=n+parseInt(e.cl,t)),e.hd&&(e.hd=n+parseInt(e.hd,t))),e)},incrementSessionDetails:function(){a.incrementSessionDetails()},navigationStart:function(){return a.navigationStart||a.initFromNavTiming(),a.navigationStart},resetTimings:function(){a.navigationStart=void 0,a.responseStart=void 0,a.loadTime=0,a.cached_t_start=void 0}})},function(e,t){!function(){var w;if(BOOMR=window.BOOMR||{},BOOMR.plugins=BOOMR.plugins||{},!BOOMR.plugins.ResourceTiming){var p={other:0,img:1,link:2,script:3,css:4,xmlhttprequest:5,html:6,image:7,beacon:8,fetch:9,iframe:"a",subdocument:"a",body:"b",input:"c",frame:"a",object:"d",video:"e",audio:"f",source:"g",track:"h",embed:"i",eventsource:"j",navigation:6},S={prefetch:1,preload:2,prerender:3,stylesheet:4},T=["startTime","redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","secureConnectionStart","connectEnd","requestStart","responseStart","responseEnd","workerStart"],O="\n",g="*",h="0",_="1",B="2",E=1,k=2,x=4,v="3",R="4",M="5";w={complete:!1,sentNavBeacon:!1,initialized:!1,supported:null,xhr_load:function(){this.complete||(this.complete=!0,BOOMR.sendBeacon())},xssBreakWords:[/(h)(ref)/gi,/(s)(rc)/gi,/(a)(ction)/gi],urlLimit:500,clearOnBeacon:!1,trimUrls:[],serverTiming:!0,monitorClearResourceTimings:!1,splitAtPath:!1,getSrcsetDimensions:!1,trackedResourceTypes:"*",done:function(){this.sentNavBeacon||(e(),this.complete=!0,this.sentNavBeacon=!0,BOOMR.sendBeacon())},onBeacon:function(e){var t=BOOMR.getPerformance();if(w.clearOnBeacon&&t){var n=t.clearResourceTimings||t.webkitClearResourceTimings;n&&"function"==typeof n&&n.call(t)}},prerenderToVisible:function(){this.sentNavBeacon=!1,this.done()}},BOOMR.plugins.ResourceTiming={init:function(e){if(BOOMR.utils.pluginConfig(w,e,"ResourceTiming",["xssBreakWords","clearOnBeacon","urlLimit","trimUrls","trackedResourceTypes","serverTiming","monitorClearResourceTimings","splitAtPath","getSrcsetDimensions"]),w.initialized)return this;if(this.is_supported()){if(BOOMR.subscribe("page_ready",w.done,null,w),BOOMR.subscribe("prerender_to_visible",w.prerenderToVisible,null,w),BOOMR.subscribe("xhr_load",w.xhr_load,null,w),BOOMR.subscribe("beacon",w.onBeacon,null,w),BOOMR.subscribe("before_unload",w.done,null,w),w.monitorClearResourceTimings){var t=this;BOOMR.window.performance.clearResourceTimings=(n=BOOMR.window.performance.clearResourceTimings,function(){t.addResources(BOOMR.window.performance.getEntriesByType("resource")),n.apply(BOOMR.window.performance,arguments)})}}else w.complete=!0;var n;return w.initialized=!0,this},is_complete:function(){return!0},is_enabled:function(){return w.initialized&&this.is_supported()},is_supported:function(){if(null!==w.supported)return w.supported;var e=BOOMR.getPerformance();return w.supported=e&&"function"==typeof e.getEntriesByType&&void 0!==window.PerformanceResourceTiming,w.supported},addResources:function(e,t){if(this.is_supported()&&BOOMR.utils.isArray(e)){if(w.collectedEntries=w.collectedEntries||[],"number"==typeof t){var r=t-(BOOMR.window.performance.timeOrigin||BOOMR.window.performance.timing.navigationStart);e=BOOMR.utils.arrayFilter(e,function(e){for(var t=0;t<T.length;t++){var n=T[t];e.hasOwnProperty(n)&&(e[n]+=r)}return!0})}Array.prototype.push.apply(w.collectedEntries,e)}},getCompressedResourceTiming:r,getFilteredResourceTiming:z,calculateResourceTimingUnion:function(e){var t;if(!e||!e.length)return 0;e.sort(function(e,t){return e.fetchStart!==t.fetchStart?e.fetchStart-t.fetchStart:(e.responseStart||e.responseEnd)-(t.responseStart||t.responseEnd)});var n=c(e),r=[],i=0;for(t=0;t<n.length;t++){var o=n[t];o.fetchStart<i&&(o.fetchStart=i),o.fetchStart<o.responseEnd&&(r.push(o),i=o.responseEnd)}var a=c(r),s=0;for(t=0;t<a.length;t++)s+=a[t].responseEnd-a[t].fetchStart;return s},addResourceTimingToBeacon:e,addToBeacon:i,trimTiming:P,convertToTrie:b,optimizeTrie:y,findPerformanceEntriesForFrame:A,toBase36:N,getVisibleEntries:V,reduceFetchStarts:c,compressSize:F,decompressSize:function(e,t){var n,r;for(void 0===t&&(t={}),n=e.split(","),r=0;r<n.length;r++)"_"===n[r]?n[r]=0:(""===n[r]&&(n[r]=0),n[r]=parseInt(n[r],36),0<r&&(n[r]+=n[0]));return 1===n.length&&n.push(n[0]),2===n.length&&n.push(n[0]),t.encodedBodySize=n[0],t.transferSize=n[1],t.decodedBodySize=n[2],t},trimUrl:j,getResourceLatestTime:U,mergePixels:f,countPixels:m,getOptimizedTimepoints:function(e){var t,n,r,i,o,a,s,c,u,d,l={},O=[];for(n=Object.keys(e),t=0;t<n.length;t++)void 0===l[o=Math.round(Number(n[t]))]&&(l[o]=[]),Array.prototype.push.apply(l[o],e[n[t]]);if(0===(n=Object.keys(l).map(Number).sort(function(e,t){return e-t})).length)return{};for(t=0;t<n.length;t++)s=m(r=f(r,l[o=n[t]],o)),n[t]=[o,s];for(t=c=a=i=0;t<n.length;t++)o=n[t][0],s=n[t][1],u=m(r,0,o),(a<s||c<u)&&(d=(d=(o===1/0?"":N(Math.round(o-i)))+"~"+N(s-a)+"~"+N(s-u)).replace(/~~/,"-").replace(/~$/,""),O.push(d),i=o,a=s,c=u);return O.join("!").replace(/!+$/,"")},decompressTimePoints:function(e){var t,n,r,i={},o=[0,0,0];for(t=e.split("!"),n=0;n<t.length;n++)i[(r=t[n].replace(/^~/,"Infinity~").replace("-","~0~").split("~").map(function(e,t){return e="Infinity"===e?1/0:parseInt(e,36),2===t?e=o[1]-e:e+=o[t],o[t]=e}))[0]]=[r[1],r[2]||r[1]];return i},accumulateServerTimingEntries:d,compressServerTiming:l,indexServerTiming:D,identifyServerTimingEntry:q,decompressServerTiming:function(e,t){var n=t.split(":"),r=Number(n[0]),i=0,o=0;if(1<n.length){var a=n[1].split(".");""!==a[0]&&(i=Number(a[0])),1<a.length&&(o=Number(a[1]))}var s,c="";return Array.isArray(e[i])?(s=e[i][0],c=e[i][1+o]||""):s=e[i],{name:s,duration:r,description:c}},SPECIAL_DATA_PREFIX:g,SPECIAL_DATA_DIMENSION_TYPE:h,SPECIAL_DATA_SIZE_TYPE:_,SPECIAL_DATA_SCRIPT_ATTR_TYPE:B,SPECIAL_DATA_LINK_ATTR_TYPE:R,ASYNC_ATTR:E,DEFER_ATTR:k,LOCAT_ATTR:x,INITIATOR_TYPES:p,REL_TYPES:S}}function b(e,t){var n,r,i,o,a,s,c,u,d={};function l(o){return function(e,t,n){var r,i;if(-1!==t.indexOf(O)){for(r=t.split(O),i=0;i<r.length-1;i++)e.push(r[i]),e.push(O);t=r.slice(-1)}return"number"==typeof o&&n<o&&(t+="/"),e.concat(t)}}for(n in e){for(r=n,i=0;i<w.xssBreakWords.length;i++)r=r.replace(w.xssBreakWords[i],"$1"+O+"$2");if(e.hasOwnProperty(n))for(o=e[n],a=t?[(a=r.split("/"))[0]+"//",a[2]+(3<a.length?"/":"")].concat(a.slice(3).reduce(l(a.length-4),[])):r.split(""),c=d,i=0;i<a.length;i++)void 0===(u=c[s=a[i]])?c=c[s]=i===a.length-1?o:{}:"string"==typeof u?c=c[s]={"|":u}:i===a.length-1?c[s]["|"]=o:c=c[s]}return d}function y(e,t){var n,r,i,o=0,a=[];for(n in e)e.hasOwnProperty(n)&&a.push(n);for(var s=0;s<a.length;s++)"object"==typeof e[n=a[s]]&&(r=y(e[n],!1))&&(delete e[n],n===O?(n=r.name,o++):n+=r.name,e[n]=r.value),o++;return 1===o?t?((i={})[n]=e[n],i):{name:n,value:e[n]}:!!t&&e}function P(e,t){"number"!=typeof e&&(e=0),"number"!=typeof t&&(t=0);var n=Math.round(e||0),r=Math.round(t||0);return 0===n?0:n-r}function C(e){try{if(e.location&&e.location.href,e.document,"performance"in e&&e.performance)return!0}catch(e){}return!1}function L(e){var t=0;return C(e)&&e.performance.timing&&e.performance.timing.navigationStart&&(t=e.performance.timing.navigationStart),t}function A(e,t,n,r,i){var o,a,s,c,u,d,l,O,f,m,p,g=[],h={},_={};if(void 0===t&&(t=!0),void 0===n&&(n=0),void 0===r&&(r=0),10<r)return g;try{if(!C(e))return g;if(s=L(e),m=V(e,i),I(p=e.document.createElement("a"),h,"script"),I(p,_,"link"),(d=e.document.getElementsByTagName("iframe"))&&d.length)for(o=0;o<d.length;o++)c=L(d[o].contentWindow),u=0,s<c&&(u=n+(c-s)),p.href=d[o].src,g=g.concat(A(d[o].contentWindow,!1,u,r+1,m[p.href]));if("function"!=typeof e.performance.getEntriesByType)return g;function B(e){return w.serverTiming&&e.serverTiming||[]}t&&((a=e.performance.getEntriesByType("navigation"))&&1===a.length?(l=a[0],g.push({name:e.location.href,startTime:0,initiatorType:"html",redirectStart:l.redirectStart,redirectEnd:l.redirectEnd,fetchStart:l.fetchStart,domainLookupStart:l.domainLookupStart,domainLookupEnd:l.domainLookupEnd,connectStart:l.connectStart,secureConnectionStart:l.secureConnectionStart,connectEnd:l.connectEnd,requestStart:l.requestStart,responseStart:l.responseStart,responseEnd:l.responseEnd,workerStart:l.workerStart,encodedBodySize:l.encodedBodySize,decodedBodySize:l.decodedBodySize,transferSize:l.transferSize,serverTiming:B(l)})):e.performance.timing&&0!==(O=e.performance.timing).navigationStart&&O.responseEnd<=O.navigationStart+36e5&&g.push({name:e.location.href,startTime:0,initiatorType:"html",redirectStart:O.redirectStart?O.redirectStart-O.navigationStart:0,redirectEnd:O.redirectEnd?O.redirectEnd-O.navigationStart:0,fetchStart:O.fetchStart?O.fetchStart-O.navigationStart:0,domainLookupStart:O.domainLookupStart?O.domainLookupStart-O.navigationStart:0,domainLookupEnd:O.domainLookupEnd?O.domainLookupEnd-O.navigationStart:0,connectStart:O.connectStart?O.connectStart-O.navigationStart:0,secureConnectionStart:O.secureConnectionStart?O.secureConnectionStart-O.navigationStart:0,connectEnd:O.connectEnd?O.connectEnd-O.navigationStart:0,requestStart:O.requestStart?O.requestStart-O.navigationStart:0,responseStart:O.responseStart?O.responseStart-O.navigationStart:0,responseEnd:O.responseEnd?O.responseEnd-O.navigationStart:0}));var v=e.performance.getEntriesByType("resource"),R=[];for(e===BOOMR.window&&w.collectedEntries&&(Array.prototype.push.apply(v,w.collectedEntries),w.collectedEntries=[]),o=0;v&&o<v.length;o++){O=v[o],f={name:O.name,initiatorType:O.initiatorType,encodedBodySize:O.encodedBodySize,decodedBodySize:O.decodedBodySize,transferSize:O.transferSize,serverTiming:B(O),visibleDimensions:m[O.name],latestTime:U(O)};for(var M=0;M<T.length;M++){var b=T[M];f[b]="startTime"===b||O[b]?O[b]+n:0}if(O.hasOwnProperty("_data")&&(f._data=O._data),("script"===O.initiatorType||"link"===O.initiatorType)&&h[O.name]){var y=h[O.name];for(f.scriptAttrs=(y.async?E:0)|(y.defer?k:0);1===y.nodeType&&"BODY"!==y.nodeName;)y=y.parentNode;f.scriptAttrs|="BODY"===y.nodeName?x:0}"link"===O.initiatorType&&_[O.name]&&BOOMR.utils.arrayFind(_[O.name].rel.split(/[\u0009\u000A\u000C\u000D\u0020]+/),function(e){if(e=e.toLowerCase(),S[e])return f.linkAttrs=S[e],!0}),R.push(f)}g=g.concat(R)}catch(e){return g}return g}function I(t,n,e){Array.prototype.forEach.call(t.ownerDocument.getElementsByTagName(e),function(e){t.href=e.currentSrc||e.src||"function"==typeof e.getAttribute&&e.getAttribute("xlink:href")||e.href,t.href.match(/^https?:\/\//)&&(n[t.href]=e)})}function N(e){return"number"==typeof e&&0!==e?e.toString(36):"string"==typeof e?e:""}function V(e,t){var u,d,l={},O=e.document,f=O.createElement("A");return u=(t=t||[0,0,0,0])[3]+(void 0!==e.pageXOffset)?e.pageXOffset:(O.documentElement||O.body.parentNode||O.body).scrollLeft,d=t[2]+(void 0!==e.pageYOffset)?e.pageYOffset:(O.documentElement||O.body.parentNode||O.body).scrollTop,["img","iframe","image"].forEach(function(e){var t,n,r,i,o,a,s,c=O.getElementsByTagName(e);for(n=0;n<c.length;n++)if((t=c[n])&&(i=t.currentSrc||t.src||"function"==typeof t.getAttribute&&t.getAttribute("src")||t.getAttribute("xlink:href"),f.href=i,(i=f.href)&&!l[i]&&((r=t.getBoundingClientRect()).height||t.offsetHeight)&&(r.width||t.offsetWidth))){if(l[i]=[r.height||t.offsetHeight,r.width||t.offsetWidth,Math.round(r.top+d),Math.round(r.left+u)],!t.naturalHeight&&!t.naturalWidth)continue;w.getSrcsetDimensions&&t.currentSrc&&(t.srcset||t.parentNode&&t.parentNode.nodeName&&"PICTURE"===t.parentNode.nodeName.toUpperCase())?(o=t.isConnected?t.ownerDocument.createElement("IMG"):new BOOMR.window.Image).src=i:o=t,a=o.naturalHeight||t.naturalHeight,s=o.naturalWidth||t.naturalWidth,!a&&!s||l[i][0]===a&&l[i][1]===s||l[i].push(a,s)}}),l}function z(e,t,n){var r,i,o=A(BOOMR.window,!0,0,0),a=L(BOOMR.window),s={};if(!o||!o.length)return{entries:[]};o.sort(function(e,t){return e.startTime-t.startTime});var c=[];for(r=0;r<o.length;r++)if((0===(i=o[r]).name.indexOf("http:")||0===i.name.indexOf("https:"))&&!(-1<i.name.indexOf(BOOMR.url)||-1<i.name.indexOf(BOOMR.config_url)||"function"==typeof BOOMR.getBeaconURL&&BOOMR.getBeaconURL()&&-1<i.name.indexOf(BOOMR.getBeaconURL())||e&&a+i.startTime<e)){if(t&&a+i.startTime>t)break;(void 0===n||"*"===n||!n.length||i.initiatorType&&BOOMR.utils.inArray(i.initiatorType,n))&&(d(s,i.serverTiming),c.push(i))}var u=l(s);return{entries:c,serverTiming:{lookup:u,indexed:D(u)}}}function F(e){var t,n,r;return e.encodedBodySize||e.decodedBodySize||e.transferSize?(t=e.transferSize,[n=e.encodedBodySize,t?t-n:"_",(r=e.decodedBodySize)?r-n:0].map(N).join(",").replace(/,+$/,"")):""}function j(e,t){var n,r,i;if(e&&t)for(n=0;n<t.length;n++)if("string"==typeof(i=t[n])){if(-1!==(r=e.indexOf(i))){e=e.substr(0,r+i.length)+"...";break}}else i instanceof RegExp&&i.test(e)&&(e=e.replace(i,"$1")+"...");return BOOMR.utils.cleanupURL(e,w.urlLimit)}function U(e){return e.responseEnd?e.responseEnd:e.responseStart&&e.startTime?e.responseStart+.2*(e.responseStart-e.startTime):1/0}function f(e,t,c){var n=BOOMR.window.screen,u=n.height,d=n.width;return t.reduce(function(e,t){var n,r,i,o,a,s;if(n=Math.max(0,t[3]),i=Math.max(0,t[2]),r=Math.min(t[3]+t[1],d),o=Math.min(t[2]+t[0],u),r<=n||o<=i)return e;for(s=i;s<o;s++)for(e[s]||(e[s]=[]),a=n;a<r;a++)e[s][a]=c;return e},e||[])}function m(e,n,r){return n=n||0,r=r||1/0,e.reduce(function(e,t){return e+t.filter(function(e){return n<=e&&e<=r}).length},0)}function r(e,t){var n,r,i,o,a,s={},c={},u=z(e,t,w.trackedResourceTypes),d=u.entries,l=u.serverTiming;if(!d||!d.length)return{resource_timing:{},server_timing:[]};for(n=0;n<d.length;n++){r=d[n],void 0===(i=p[r.initiatorType])&&(i=0),a=i+[P(r.startTime,0),P(r.responseEnd,r.startTime),P(r.responseStart,r.startTime),P(r.requestStart,r.startTime),P(r.connectEnd,r.startTime),P(r.secureConnectionStart,r.startTime),P(r.connectStart,r.startTime),P(r.domainLookupEnd,r.startTime),P(r.domainLookupStart,r.startTime),P(r.redirectEnd,r.startTime),P(r.redirectStart,r.startTime)].map(N).join(",").replace(/,+$/,"");var O=F(r);if(""!==O&&(a+=g+_+O),r.hasOwnProperty("scriptAttrs")&&(a+=g+B+r.scriptAttrs),r.serverTiming&&r.serverTiming.length&&(a+=g+v+r.serverTiming.reduce(function(e,t,n){var r=String(void 0!==t.duration?t.duration:t.value);"0."===r.substring(0,2)&&(r=r.substring(1));var i=t.name||t.metric;return e+=(0<n?",":"")+r+q(l.indexed[i].index,l.indexed[i].descriptions[t.description])},"")),r.hasOwnProperty("linkAttrs")&&(a+=g+R+r.linkAttrs),o=j(r.name,w.trimUrls),r.hasOwnProperty("_data")){var f="";for(var m in r._data)r._data.hasOwnProperty(m)&&(f+=g+M+m+":"+r._data[m]);void 0===s[o]?s[o]=a+f:s[o]+=f}else void 0!==s[o]?s[o]+="|"+a:r.visibleDimensions?s[o]=g+h+r.visibleDimensions.map(Math.round).map(N).join(",").replace(/,+$/,"")+"|"+a:s[o]=a;r.visibleDimensions&&(c[r.latestTime]||(c[r.latestTime]=[]),c[r.latestTime].push(r.visibleDimensions))}return{resource_timing:y(b(s,w.splitAtPath),!0),server_timing:l.lookup}}function c(e){var t=[];if(!e||!e.length)return t;for(var n=0;n<e.length;n++){var r=e[n];n!==e.length-1&&r.fetchStart===e[n+1].fetchStart||t.push({fetchStart:r.fetchStart,responseEnd:r.responseStart||r.responseEnd})}return t}function e(e,t){var n;"undefined"!=typeof JSON&&(BOOMR.utils.mark("resource_timing:build:start"),n=r(e,t),BOOMR.utils.mark("resource_timing:build:end"),BOOMR.utils.measure("resource_timing:build","resource_timing:build:start","resource_timing:build:end"),n&&(BOOMR.info("Client supports Resource Timing API","resource_timing"),i(n)))}function d(r,e){(e||[]).forEach(function(e){var t=e.name||e.metric;void 0===r[t]&&(r[t]={count:0,counts:{}});var n=r[t];n.counts[e.description]=n.counts[e.description]||0,n.counts[e.description]++,n.count++})}function l(r){return Object.keys(r).sort(function(e,t){return r[t].count-r[e].count}).reduce(function(e,n){var t=Object.keys(r[n].counts).sort(function(e,t){return r[n].counts[t]-r[n].counts[e]});return e.push(1===t.length&&""===t[0]?n:[n].concat(t)),e},[])}function D(e){return e.reduce(function(e,t,n){var r,i;return i=Array.isArray(t)?(r=t[0],t.slice(1).reduce(function(e,t,n){return e[t]=n,e},{})):(r=t,{"":0}),e[r]={index:n,descriptions:i},e},{})}function q(e,t){var n="";return e&&(n+=e),t&&(n+="."+t),n.length&&(n=":"+n),n}function i(e){BOOMR.addVar("resource_timing",JSON.stringify(e.resource_timing),!0),e.server_timing.length&&BOOMR.addVar("server_timing",BOOMR.utils.serializeForUrl(e.server_timing),!0)}}()},function(e,t){function r(e,t){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(t);return null===n?"":decodeURIComponent(n[1].replace(/\+/g," "))}BOOMR=window.BOOMR||{},"function"==typeof BOOMR.addVar&&function(){if(BOOMR.themeId&&BOOMR.shopId)BOOMR.addVar("theme_id",BOOMR.themeId.toString()),BOOMR.addVar("shop_id",BOOMR.shopId.toString()),BOOMR.application&&BOOMR.addVar("application",BOOMR.application.toString());else{var e={shopId:"shop_id",themeId:"theme_id",application:"application"},t=BOOMR.url;for(var n in e)BOOMR.addVar(e[n],r(n,t))}}()},function(e,t){var a=(new Date).getTime();!function(){if(BOOMR=window.BOOMR||{},BOOMR.plugins=BOOMR.plugins||{},!BOOMR.plugins.MonorailProducer){var o={initialized:!1,onBeacon:function(e){var t=BOOMR.window||window,n=o.producer_url||"https://monorail-edge.shopifysvc.com/v1/produce",r={schema_id:"boomerang_real_user_measurement_audit/5.0",payload:e,metadata:{event_created_at_ms:a,event_sent_at_ms:(new Date).getTime()}};if(t&&t.navigator&&"function"==typeof t.navigator.sendBeacon&&BOOMR.utils.isNative(t.navigator.sendBeacon)&&"function"==typeof t.Blob&&-1===window.navigator.userAgent.lastIndexOf("iPhone; CPU iPhone OS 12_")&&-1===window.navigator.userAgent.lastIndexOf("iPad; CPU OS 12_")){var i=new t.Blob([JSON.stringify(r)],{type:"text/plain"});if(t.navigator.sendBeacon(n,i))return!0}xhr=new(t.orig_XMLHttpRequest||BOOMR.orig_XMLHttpRequest||t.XMLHttpRequest);try{o.sendXhrPostBeacon(xhr,r)}catch(e){xhr=new BOOMR.boomerang_frame.XMLHttpRequest,o.sendXhrPostBeacon(xhr,r)}},sendXhrPostBeacon:function(e,t){e.open("POST",producer_url),e.setRequestHeader("Content-type","text/plain"),e.send(JSON.stringify(t))}};BOOMR.plugins.MonorailProducer={init:function(){return o.initialized||(BOOMR.subscribe("before_beacon",o.onBeacon,null,o),BOOMR.subscribe("config",function(e){e.producer_url&&(o.producer_url=e.producer_url)}),o.initialized=!0),this},is_complete:function(){return!0}}}}()}]);