CINXE.COM
Visa and Emirates ID | The Official Portal of the UAE Government
<!DOCTYPE html> <html lang="en" version="2.19.0.0"> <head><script type='text/javascript'> //<![CDATA[ window['adrum-start-time'] = new Date().getTime(); ;(function(config){ config.appKey = 'EUM-AAB-AUF'; config.beaconUrlHttp = 'http://eum.services.tra.gov.ae'; config.beaconUrlHttps = 'https://eum-int.services.tra.gov.ae'; config.adrumExtUrlHttp = 'http://cdn.appdynamics.com'; config.adrumExtUrlHttps = 'https://cdn.appdynamics.com'; config.xd = {enable : false}; })(window['adrum-config'] || (window['adrum-config'] = {}));;/* Copyright (c) 2010-2021 Google LLC. http://angular.io/license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* Version 8ad16b8375327e66a32816a8ad7be617 v:24.4.0.4454, c:60c7a5beaa793e7d662bbc98b0baeea814901fdf, b:24.4.0.4454 */(function(){new function(){if(!window.ADRUM&&!0!==window["adrum-disable"]){var m=window.ADRUM={},B=window.console,C=B&&"function"==typeof B.log?B:{log:function(){}};window["adrum-start-time"]=window["adrum-start-time"]||(new Date).getTime();var v=this&&this.ld||function(){var a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,k){a.__proto__=k}||function(a,k){for(var e in k)k.hasOwnProperty(e)&&(a[e]=k[e])};return function(b,k){function e(){this.constructor=b}a(b,k);b.prototype=null===k?Object.create(k): (e.prototype=k.prototype,new e)}}(),c=this&&this.Fp||Object.assign||function(a){for(var b,k=1,e=arguments.length;k<e;k++){b=arguments[k];for(var d in b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d])}return a};(function(a){(function(a){a.setUpMonitors=function(){for(var a=[],b=0;b<arguments.length;b++)a[b]=arguments[b];for(b=0;b<a.length;b++){var d=a[b];d&&d.setUp()}}})(a.monitor||(a.monitor={}))})(m||(m={}));window.Error.stackTraceLimit=Infinity;(function(a){(function(b){function k(a){return b.refs.slice.apply(a, b.refs.slice.call(arguments,1))}function e(a,g){return d(b.refs.setTimeout.apply)?b.refs.setTimeout.apply(window,arguments):b.refs.setTimeout(a,g)}function d(a){return"undefined"!==typeof a&&null!==a}function g(a){return"object"==typeof a&&!b.isArray(a)&&null!==a}function l(a){return"function"==typeof a||!1}function n(a){return"string"==typeof a}function h(a){return"number"==typeof a}function r(a){return""===a}function t(a,d){for(var l in d){var n=d[l];if(u(d,l)){var h=a[l];g(n)&&g(h)?t(h,n):b.isArray(h)&& b.isArray(n)?a[l]=h.concat(n):a[l]=n}}return a}function u(a,b){return Object.prototype.hasOwnProperty.call(a,b)&&d(a[b])}function s(a){return n(a)?a.replace(/^\s*/,"").replace(/\s*$/,""):a}function x(){return b.refs.ua&&l(b.refs.ua.now)}function m(){return x()?b.refs.round(b.refs.ua.now()+w()):(new Date).getTime()}function w(){var a=b.refs.ua,a=a&&a.timing&&h(a.timing.navigationStart)?a.timing.navigationStart:window["adrum-start-time"];d(a)||(a=m());return a}function q(a,b){var d=Array.prototype[a]; return d?z(d):A(a,b)}function z(a){return function(d){return a.apply(d,b.refs.slice.call(arguments,1))}}function A(a,b){return function(g,n){if(!d(g))throw new TypeError(a+" called on null or undefined");if(!l(n))throw new TypeError(n+" is not a function");return b.apply(null,arguments)}}function F(a,b,d){var g=Object(a),l=g.length>>>0,n=0;if(3>arguments.length){for(;n<l&&!(n in g);)n++;if(n>=l)throw new TypeError("Reduce of empty array with no initial value");d=g[n++]}for(;n<l;n++)n in g&&(d=b(d, g[n],n,g));return d}function D(a,d,g){return b.reduce(a,function(a,b,l,n){a[l]=d.call(g,b,l,n);return a},Array(a.length>>>0))}function G(a,d,g){return b.reduce(a,function(a,b,l,n){d.call(g,b,l,n)&&a.push(b);return a},[])}function H(a,b,d){a=Object(a);for(var g=a.length>>>0,l=0;l<g;l++)if(l in a&&b.call(d,a[l],l,a))return!0;return!1}function I(a,d,l){return!b.some(a,function(a){return!d.call(l,a)})}function J(a,d,l){b.reduce(a,function(a,b,g,n){d.call(l,b,g,n)},void 0)}function v(a){a=new b.refs.Error("Async Function:"+ (a?" "+a:""));a.stack&&-1==a.stack.toString().indexOf(a.message)&&(a.stack=a.message+"\n"+a.stack);return a}function E(a){return v(a).stack}function K(a){try{throw v(a);}catch(b){return b.stack}}b.refs={isArray:Array.isArray,toString:Object.prototype.toString,slice:Array.prototype.slice,setTimeout:window.setTimeout,setInterval:window.setInterval,ua:window.performance||window.mozPerformance||window.msPerformance||window.webkitPerformance,assign:Object.assign,round:Math.round,Error:window.Error,Rj:Text}; b.La=k;b.oSTO=e;b.isCORSSupported=function(){var a=window.JSON&&l(JSON.stringify);return d(window.XMLHttpRequest)&&"withCredentials"in new XMLHttpRequest&&a};b.isDefined=d;b.Hm=function(a){return"number"===typeof a&&!window.isNaN(a)};b.isArray=l(b.refs.isArray)&&l(b.refs.isArray.bind)?b.refs.isArray.bind(Array):function(a){return b.refs.toString.call(a)===b.refs.toString.call([])};b.isObject=g;b.isFunction=l;b.isString=n;b.isNumber=h;b.isBoolean=function(a){return"boolean"==typeof a};b.Dm=function(a){if(!g(a))return!1; var b=Object.prototype.toString.call(a);return("[object Error]"===b||"[object DOMException]"===b)&&"name"in a&&"message"in a};b.max=function(a,b){return Math.max(isNaN(a)?Number.NEGATIVE_INFINITY:a,isNaN(b)?Number.NEGATIVE_INFINITY:b)};b.Am=r;b.Nh=e;b.Bq=function(a,b){e(a,b||1E4)};b.addEventListener=function(b,d,l,g){function n(){try{return l.apply(this,k(arguments))}catch(g){a.exception(g,"M1",d,b,g)}}void 0===g&&(g=!1);a.logInfo("M0",d,b);n.L=!0;b.addEventListener?b.addEventListener(d,n,g):b.attachEvent&& b.attachEvent("on"+d,n)};b.loadScriptAsync=function(b){var g=document.createElement("script"),l=a.conf.elementIdWithNonce;g.type="text/javascript";g.async=!0;g.src=b;l&&d(s(l))&&(l=document.getElementById(l))&&(l=l.nonce,l=s(l),d(l)&&!r(l)&&g.setAttribute("nonce",l));(l=document.getElementsByTagName("script")[0])?(l.parentNode.insertBefore(g,l),a.logInfo("M2",b)):a.logInfo("M3",b)};b.mergeJSON=t;b.hasOwnPropertyDefined=u;b.lg=function(a,d){if(b.isFunction(Object.getPrototypeOf))for(;b.isDefined(a)&& !u(a,d);)a=Object.getPrototypeOf(a);return a};b.jp=function(a){return d(a)?b.isArray(a)?a:[a]:[]};b.Fq=function(a,b){return null!=a&&a.slice(0,b.length)==b};b.generateGUID=function(a){return d(a)&&l(a.getRandomValues)&&function(){function b(a){a=a.toString(16);return"0000".substr(a.length)+a}var d=new Uint16Array(8);a.getRandomValues(d);return b(d[0])+b(d[1])+"_"+b(d[2])+"_"+b(d[3])+"_"+b(d[4])+"_"+b(d[5])+b(d[6])+b(d[7])}}(window.crypto||window.msCrypto)||function(){return"xxxxxxxx_xxxx_4xxx_yxxx_xxxxxxxxxxxx".replace(/[xy]/g, function(a){var b=16*Math.random()|0;return("x"==a?b:b&3|8).toString(16)})};b.tryExtractingErrorStack=function(a){return a?(a=a.stack)&&"string"===typeof a?a:null:null};b.trim=s;b.Cn=function(a){var b={},d,l;if(!a)return b;var g=a.split("\n");for(l=0;l<g.length;l++){var n=g[l];d=n.indexOf(":");a=s(n.substr(0,d)).toLowerCase();d=s(n.substr(d+1));a&&(b[a]=b[a]?b[a]+(", "+d):d)}return b};b.tryPeriodically=function(a,b,d,l){function g(){if(b())d&&d();else{var h=a(++n);0<h?e(g,h):l&&l()}}var n=0;g()}; b.Mf=function(a){return a.charAt(0).toUpperCase()+a.slice(1)};b.oh=function(a){for(var b=[],d=1;d<arguments.length;d++)b[d-1]=arguments[d];return function(){for(var d=[],l=0;l<arguments.length;l++)d[l]=arguments[l];return a.apply(this,b.concat(d))}};b.dq=x;b.now=m;b.fb=w;b.Np=F;b.reduce=q("reduce",F);b.Mp=D;b.map=q("map",D);b.Kp=G;b.filter=q("filter",G);b.Op=H;b.some=q("some",H);b.Jp=I;b.every=q("every",I);b.Lp=J;b.forEach=q("forEach",J);b.Yk=function(a){return b.filter(a,d)};b.Sp=function(a){return[].concat.apply([], a)};b.Yj=d(window.Reflect)&&d(window.Reflect.construct)?function(b,d,l,g){try{return null!==d?window.Reflect.construct(d,l,g):b}catch(n){return a.monitor.ErrorMonitor.B(n),b}}:function(b,d,l){try{return null!==d&&d.apply(b,l)||b}catch(g){return a.monitor.ErrorMonitor.B(g),b}};b.ld=function(){var a=Object.setPrototypeOf||function(a,b){var d=Object.getOwnPropertyNames(b),l;for(l in d)a[l]=b[l]};return function(b,d){function l(){this.constructor=b}a(b,d);b.prototype=null===d?Object.create(d):(l.prototype= d.prototype,new l)}}();b.gl=function(a){if(!b.isString(a))return a;var d={"&":"&","<":"<",">":">","'":"'",'"':""","/":"/"};return a.replace(/[&<>'"/]/g,function(a){return d[a]})};b.Jq=function(a){if(!b.isString(a))return a;var d={"&":"&","&":"&","&":"&","<":"<","<":"<","<":"<",">":">",">":">",">":">","'":"'","'":"'","'":"'",""":'"',""":'"',""":'"',"/":"/","/":"/","/":"/"};return a.replace(/&(?:amp|#0*38|#x0*26|lt|#0*60|#x0*3c|gt|#0*62|#x0*3e|apos|#0*39|#x0*27|quot|#0*34|#x0*22|sol|#0*47|#x0*2f);/g, function(a){a=a.replace(/0+\B/g,"");return d[a]})};b.Tk=function(a){var b;return function(){var d=this;b&&clearTimeout(b);b=e(function(){a.apply(d,arguments)},300)}};b.Ll=function(a){var d=a.length;if(d)for(d-=1;0<=d;d--)if(b.isObject(a[d])&&a[d].adrumArgs)return d;return-1};b.Od=function(a,d){var l=a.length,g;g=null;if(l)for(l-=1;0<=l;l--)if(b.isObject(a[l])&&a[l].adrumArgs){g=a[l].adrumArgs;g=g[d];break}return g};b.ce=function(){return a.conf.noConflictPromiseMode||d(window.__zone_symbol__Promise)|| d(window.__zone_symbol__ZoneAwarePromise)};var p=E(""),L=K("");b.Sa=p?E:L?K:E})(a.utils||(a.utils={}))})(m||(m={}));(function(a){var b=a.conf||(a.conf={});b.userConf=window["adrum-config"]||{};b.useHTTPSAlways=!0===b.userConf.useHTTPSAlways;b.modernBrowserFeaturesAvailable=a.utils.isDefined(window.addEventListener)&&a.utils.isCORSSupported()&&a.utils.isDefined(Array.prototype.forEach);b.spa2=b.userConf.spa&&b.userConf.spa.spa2&&(!0===b.userConf.spa.spa2||a.utils.isObject(b.userConf.spa.spa2));b.clearResTiming= b.userConf.spa&&a.utils.isObject(b.userConf.spa.spa2)&&a.utils.isDefined(b.userConf.spa.spa2.clearResTiming)?b.userConf.spa.spa2.clearResTiming:!0;b.disableTextForTesting=!0===b.userConf.disableTextForTesting;b.enablePrimaryMetrics=(!a.utils.isDefined(b.userConf.enablePrimaryMetrics)||!0===b.userConf.enablePrimaryMetrics)&&b.modernBrowserFeaturesAvailable;b.N=!1;b.considerCarouselForVCT=a.utils.isDefined(b.userConf.Hk)?b.userConf.Hk:!0;b.devMode=!0===b.userConf.devMode;b.noConflictPromiseMode=!0=== b.userConf.noConflictPromiseMode;b.isZonePromise=!0===b.userConf.isZonePromise||!0===b.userConf.angular||!0===b.userConf.noConflictPromiseMode;b.fetch=!a.utils.isDefined(b.userConf.fetch)||!0==b.userConf.fetch;b.backTimeGap=Math.abs(b.userConf.backTimeGap)||0;b.neverSendImageBeacon=!a.utils.isDefined(b.userConf.beacon)||!a.utils.isDefined(b.userConf.beacon.neverSendImageBeacon)||!0==b.userConf.beacon.neverSendImageBeacon;b.beaconUrlHttp=a.utils.isDefined(b.userConf.beaconUrlHttp)?b.userConf.beaconUrlHttp: "http://col.eum-appdynamics.com";b.beaconUrlHttps=a.utils.isDefined(b.userConf.beaconUrlHttps)?b.userConf.beaconUrlHttps:"https://col.eum-appdynamics.com";b.corsEndpointPath="/eumcollector/beacons/browser"+(b.spa2?"/v2":"/v1");b.imageEndpointPath="/eumcollector/adrum.gif?";b.appKey=b.userConf.appKey||window["adrum-app-key"]||"APP_KEY_NOT_SET";a=b.useHTTPSAlways||"https:"===document.location.protocol;var k=b.userConf.adrumExtUrlHttp||"http://cdn.appdynamics.com",e=b.userConf.adrumExtUrlHttps||"https://cdn.appdynamics.com"; b.adrumExtUrl=(a?e:k)+"/adrum-ext.8ad16b8375327e66a32816a8ad7be617.js";b.adrumXdUrl=e+"/adrum-xd.8ad16b8375327e66a32816a8ad7be617.html";b.agentVer="24.4.0.4454";b.sendImageBeacon=b.userConf.beacon&&b.userConf.beacon.sendImageBeacon||window["adrum-send-image-beacon"];window["adrum-geo-resolver-url"]?(k=window["adrum-geo-resolver-url"],e=k.indexOf("://"),-1!=e&&(k=k.substring(e+3)),k=(a?"https://":"http://")+k):(k=b.userConf.geoResolverUrlHttps||"",e=b.userConf.geoResolverUrlHttp||"",k=a?k:e);b.geoResolverUrl= k;b.useStrictDomainCookies=!0===window["adrum-use-strict-domain-cookies"];b.pj=10;b.jj=10;b.sendBeaconOnUnload=b.userConf.beacon&&!1===b.userConf.beacon.sendOnUnload?!1:!0;b.isReportingPaused=b.userConf.pauseReporting||!1;b.ka=!1===b.userConf.longStackTrace?!1:!0;b.isAbapApp=b.userConf.isAbapApp||!1;b.elementIdWithNonce=b.userConf.elementIdWithNonce||void 0;b.releaseId=b.userConf.releaseId||void 0;b.disableWrappingEventListeners=b.userConf.disableWrappingEventListeners||!1;b.disableUsingCauseStart= b.userConf.disableUsingCauseStart||!1;b.getAjaxResponseHeaders=b.userConf.getAjaxResponseHeaders||void 0;b.enableCoreWebVitals=!0===b.userConf.enableCoreWebVitals;b.traceparentHeaderEnabled=!0===b.userConf.traceparentHeaderEnabled;b.enableSpeedIndex=!0===b.userConf.enableSpeedIndex;b.disableAdrumHeader=b.userConf.disableAdrumHeader||!1})(m||(m={}));(function(a){function b(b,d,l,g){b=a.conf.beaconUrlHttps+"/eumcollector/error.gif?version=1&appKey="+l+"&msg="+encodeURIComponent(b.substring(0,500)); g&&(b+="&stack=",b+=encodeURIComponent(g.substring(0,1500-b.length)));return b}function k(d,l){2<=z||(document.createElement("img").src=b(d,0,a.conf.appKey,l),z++)}function e(a){return 0<=a.location.search.indexOf("ADRUM_debug=true")||0<=a.cookie.search(/(^|;)\s*ADRUM_debug=true/)}function d(b,d){void 0===d&&(d=x.INFO);a.isDebug&&w.push(""+d+b)}function g(a){d(t(arguments).join(" | "),x.ERROR)}function l(a){d(t(arguments).join(" | "),x.INFO)}function n(a){q.push(t(arguments).join(" | "))}function h(a){var b= t(arguments).join(" | ");g(b);k(b,null)}function r(a){void 0===a&&(a=x.INFO);return u(w,function(b,d){var l=parseInt(d.charAt(0));l>=a&&(b+="["+x[l]+"] "+d.slice(1).replace(/\<br\/\>/g,"\n\t")+"\n");return b},"")}var t=a.utils.La,u=a.utils.reduce,s=a.utils.isDefined;a.iDR=e;var x;(function(a){a[a.DEBUG=0]="DEBUG";a[a.INFO=1]="INFO";a[a.ERROR=2]="ERROR"})(x=a.LOG_LVL||(a.LOG_LVL={}));var m;(function(a){a[a.API_ERROR=0]="API_ERROR";a[a.API_ERROR_INVALID_PARAMS=1]="API_ERROR_INVALID_PARAMS";a[a.API_ERROR_INVALID_CONFIG= 2]="API_ERROR_INVALID_CONFIG";a[a.API_WARNING=3]="API_WARNING";a[a.API_WARNING_INEFFECTIVE_CONFIG=4]="API_WARNING_INEFFECTIVE_CONFIG"})(m=a.Z||(a.Z={}));a.$b=["JS Agent API Error:","JS Agent API Error Invalid Parameters: ","JS Agent API Error Invalid Configs: ","JS Agent API Warning:","JS Agent API Warning Ineffective Config:"];a.ub=" a constructor is called as a function. Don't forget keyword new.";a.isDebug=e(document);a.apiMessageConsoleOut=s(a.conf.userConf)&&s(a.conf.userConf.log)&&!0===a.conf.userConf.log.apiMessageConsoleOut? !0:!1;var w=[],q=[];a.logMessages=w;a.apiMessages=q;a.logError=g;a.logInfo=l;a.logDebug=function(a){d(t(arguments).join(" | "),x.DEBUG)};a.rq=n;a.error=h;a.reportAPIMessage=function(b,d,l,g){var h=a.Jn.apply(this,arguments);n(h);a.apiMessageConsoleOut&&C.log(h);return h};a.exception=function(){if(!(1>arguments.length)){var b=t(arguments),d=a.utils.tryExtractingErrorStack(b[0]),b=b.slice(1);a.utils.isArray(b)&&(b=b.slice(0,20));b=b.join(" | ");a.logError(b);k(b,d)}};a.assert=function(a){for(var b= 1;b<arguments.length;b++);var d=t(arguments);a||(b=d[1],(d=d.slice(2))&&0<d.length?h("M4",b,d):h("M5",b))};a.Zp=r;a.dumpLog=a.isDebug?function(a){void 0===a&&(a=x.INFO);C.log(r(a))}:function(){};a.bg=0;a.cg=0;a.U=a.isDebug&&a.utils.refs.ua?function(){a.bg=a.utils.refs.ua.now()}:function(){};a.V=a.isDebug&&a.utils.refs.ua?function(){a.cg+=a.utils.refs.ua.now()-a.bg}:function(){};a.Jn=function(b,d,l,g){var n="",n="",h=(new window.Error).stack,e,h=a.utils.isString(h)?h.substring(5):h+"";s(e)||(e=a.utils.map(g, function(a){return null===a?"null":void 0==a?"undefined":""===a?"''":a}));switch(b){case m.xa:case m.sp:n=a.$b[b];n=s(l)?""+n+d+"\n in "+l+"("+e.join(", ")+")\n"+h:""+n+d+"\n"+h;break;case m.Se:n=a.$b[b];n=""+n+d+"\nin "+l+"("+e.join(", ")+")\n"+h;break;case m.rp:case m.Ci:n=a.$b[b];n=""+n+d+", but "+l+"="+e.join(", ")+"\n"+h;break;default:n=a.$b[m.xa],n=""+n+d+"\nin "+l+"("+e.join(", ")+")\n"+h}return n};a.cIEBU=b;var z=0;l("M6")})(m||(m={}));(function(a){var b=function(){function a(b){this.max= b;this.zd=0}a.prototype.gm=function(){this.Ac()||this.zd++};a.prototype.Ac=function(){return this.zd>=this.max};a.prototype.reset=function(){this.zd=0};return a}(),k=function(){function e(){this.kc=[];this.Ae=new b(e.Aj);this.ge=new b(e.tj)}e.prototype.submit=function(b){this.push(b)&&a.initEXTDone&&this.processQ()};e.prototype.processQ=function(){for(var b=this.al(),g=0;g<b.length;g++){var l=b[g];"function"===typeof a.commands[l[0]]?(a.isDebug&&a.logInfo("M7",l[0],l.slice(1).join(", ")),a.commands[l[0]].apply(a, l.slice(1))):a.error("M8",l[0])}};e.prototype.Qm=function(a){return"reportXhr"===a||"reportPageError"===a};e.prototype.push=function(b){var g=b[0],l=this.Qm(g),n=l?this.Ae:this.ge;if(n.Ac())return a.logInfo("M9",l?"spontaneous":"non spontaneous",g),!1;this.kc.push(b);n.gm();return!0};e.prototype.al=function(){var a=this.kc;this.reset();return a};e.prototype.size=function(){return this.kc.length};e.prototype.reset=function(){this.kc=[];this.Ae.reset();this.ge.reset()};e.prototype.isSpontaneousQueueDead= function(){return this.Ae.Ac()};e.prototype.isNonSpontaneousQueueDead=function(){return this.ge.Ac()};return e}();k.Aj=100;k.tj=100;a.CommandExecutor=k})(m||(m={}));(function(a){a.q=new a.CommandExecutor;a.command=function(b){for(var k=1;k<arguments.length;k++);a.isDebug&&a.logInfo("M10",b,Array.prototype.slice.call(arguments).slice(1).join(", "));a.q.submit(Array.prototype.slice.call(arguments))}})(m||(m={}));(function(a){(function(a){var k=function(){function a(){this.status={}}a.prototype.setUp= function(){};a.prototype.set=function(a,b){this.status[a]=b};return a}();a.gd=k})(a.monitor||(a.monitor={}))})(m||(m={}));(function(a){var b=a.utils.gl,k=function(){function e(a,b,l,n,h,e,k,u){this.action=a||"";this.Yi=b||"";this.className=l||"";this.tagName=n||"";this.name=h||"";this.text=e||"";this.src=k;this.item=u}e.en=function(d){var g=b(d.id)||"",l=b(d.className)||"",n="",h=new e;d instanceof HTMLHtmlElement?(n="html",h.text="#html"):d===document?(n="document",h.text="#document"):d===window? (n="window",h.text="#window"):d instanceof XMLHttpRequest?(n="xhr",h.src=a.utils.isObject(d._adrumAjaxT)?encodeURI(d._adrumAjaxT.url()):""):d instanceof WebSocket?(n="websocket",h.src=encodeURI(d.url)):d instanceof HTMLScriptElement?(n="script",h.src=encodeURI(d.src)):d instanceof HTMLAnchorElement?(n="a",h.text=b(d.text)||""):d instanceof HTMLButtonElement?(n="button",h.name=b(d.name)):d instanceof HTMLDivElement?n="div":d instanceof HTMLImageElement?(n="img",h.src=encodeURI(d.src),h.text=b(d.title)|| ""):d instanceof HTMLLIElement?(n="li",h.item=d.value):d instanceof HTMLUListElement?n="ul":d instanceof HTMLFormElement?n="form":d instanceof HTMLFrameElement?(n="frame",h.src=encodeURI(d.src)):d instanceof HTMLInputElement?(n=b(d.type)||"input",h.text=b(d.value),h.name=b(d.name)):d instanceof HTMLTableElement?n="table":d instanceof HTMLTableCaptionElement?n="tcap":d instanceof HTMLTableCellElement?n="td":d instanceof HTMLTableRowElement?n="tr":(n=a.utils.isDefined(d.tagName)?b(d.tagName):"",a.logInfo("M11", n));h.Yi=g;h.className=l;h.tagName=n;a.utils.isString(h.text)&&(h.text=a.utils.isDefined(String.prototype.trim)?h.text.trim():h.text,h.text=h.text.substring(0,30));return h};return e}();a.Ka=k})(m||(m={}));var f=m.utils.La,p=m.utils.isFunction;(function(a){var b=a.utils.generateGUID,k;(function(a){a[a.USER=0]="USER";a[a.TIMER=1]="TIMER";a[a.XHR=2]="XHR";a[a.RESOURCE=3]="RESOURCE";a[a.PROMISE=4]="PROMISE";a[a.FETCH=5]="FETCH";a[a.BASE_PAGE_LOAD=6]="BASE_PAGE_LOAD";a[a.OTHER=7]="OTHER"})(k=a.CauseType|| (a.CauseType={}));a.fh=50;var e=function(){return function(d,l,n){this.start=a.utils.now();this.parent=d;this.Yc=l;this.guid=b();this.type=n}}();a.bc=e;var d=function(){function b(){}b.og=function(){return b.events};b.Lg=function(b){return a.utils.isDefined(b)&&a.utils.isFunction(b.handleEvent)};b.zk=function(b){b=this.xl(b);var d=b.il;b.count<a.fh||(d.parent=null)};b.xl=function(b){var d=b;b=b.parent;for(var g=1;b&&g<a.fh;)g++,d=b,b=b.parent;return{count:g,il:d}};b.lo=function(){this.fe=!0};b.yk= function(a){this.fe&&(a.parent=null,this.fe=!1)};b.xh=function(d,n,h,e){var k,u=n.guid;b.va(n);try{b.Lg(d)?k=d.handleEvent.apply(d,e):p(d)&&(k=d.apply(h,e))}catch(s){throw a.conf.ka&&(d=a.b.og(),n=d.length,s.stack&&d&&0<n&&(s.stack+=b.ci(d[n-1]))),s;}finally{b.Q(u)}return k};b.dd=function(d,n,h,e){if(!a.utils.isDefined(n)||n.L)return n;e=e||!1;var k,u=a.conf.ka?a.utils.Sa(d):"";e||(k=b.sa());return function(e){var r=b.Qa(d,e,k,h);a.conf.ka&&(r.pa=u);return b.xh(n,r,this,arguments)}};b.Qa=function(d, n,h,r){h?a.logInfo("M12",d,h.Yc.action):a.logInfo("M13",d);a.utils.isDefined(n)?(n=a.Ka.en(n.target||n.srcElement),n.action=d):n=new a.Ka(d);d=new e(h,n,r);b.yk(d);b.zk(d);return d};b.np=function(d,n,h){if(!a.utils.isDefined(n)||n.L)return n;var e=b.Qa(d,void 0,b.sa(),h),k=a.conf.ka?a.utils.Sa(d):"";return function(){new a.Ka(d);a.conf.ka&&(e.pa=k);return b.xh(n,e,this,arguments)}};b.Mq=function(a,d){return function(){var h=d.apply(this,arguments);b.td(a);return h}};b.sa=function(){return 0<b.events.length? b.events[b.events.length-1]:null};b.va=function(a){b.events.push(a)};b.Q=function(a){var d=b.events,h=d.length,e=null;if(a)for(h-=1;0<=h;h--)if(a===d[h].guid)return e=b.events.splice(h,1),e[0];return b.events.pop()};b.ud=function(b,d){var g=b,e=1,k="";if(!a.utils.isDefined(g))return null;for(;a.utils.isDefined(g.parent);)k=" -> "+g.Yc.action+k,g=g.parent,e+=1;var u=a.utils.now();a.utils.isDefined(g.Yc)&&(k=g.Yc.action+k+" -> "+d);a.logInfo("M14",k);a.logInfo("M15",g.start,e);a.logInfo("M16",u-g.start); return g};b.td=function(a){return b.ud(b.sa(),a)};b.ci=function(b){var d="";if(a.utils.isDefined(b)){for(;a.utils.isDefined(b.parent);)b.pa&&(d=d+"\n"+b.pa),b=b.parent;d+=b.pa?"\n"+b.pa:""}return d};b.Wl=function(){var d=b.td(void 0);if(a.utils.isDefined(d)&&a.utils.isDefined(d.type))return[k.TIMER,k.USER].some(function(a){return d.type==a})?d:void 0};b.vm=function(a){if(p(a))return a;var b=""+a;return function(){eval.call(window,b)}};b.setUp=function(){b.events=[];var d=a.utils.refs;[{nh:d.setTimeout, ig:"setTimeout"},{nh:d.setInterval,ig:"setInterval"}].forEach(function(a){var d=a.nh,l=a.ig;window[l]=function(a){var n=f(arguments);if(a){if(a.usedByAgent)return d.apply(window,n);var e=b.Tm(l,arguments[1])?k.OTHER:k.TIMER,e=b.np(l,b.vm(a),e);n[0]=e;return d.apply(window,n)}d.apply(window,n)}});a.conf.ka&&(d=b.Qa("pageLoadInit",null,null,k.BASE_PAGE_LOAD),b.va(d),b.Na=d.guid)};b.Tm=function(b,d){return"setTimeout"==b&&(a.utils.isDefined(d)&&0==d||!a.utils.isDefined(d))};return b}();d.events=[];d.Na= "";d.fe=!1;a.b=d})(m||(m={}));(function(a){(function(b){var k=a.utils.La,e=a.utils.isDefined;window.ADRUM.aop=b;b.support=function(a){return!a||"apply"in a};b.around=function(d,g,l,n,h){a.assert(b.support(d),"M17");d=d||function(){};return function(){if(a.isDebug)try{a.logInfo("M18",n,k(arguments).join(", "))}catch(b){a.logError("M19",e(b.stack)||b.toString())}var t=k(arguments),u,s=null;try{if(g&&(u=g.apply(this,t))){var x=a.utils.Ll(u),s=u[x];-1!==x&&u.splice(x,1)}}catch(m){a.exception(m,"M20", n,m)}a.assert(!u||a.utils.isArray(u));x=void 0;try{x=d.apply(this,u||t)}catch(w){throw a.logInfo(w,"M21",n,w),a.conf.ka&&a.b&&(t=a.b.og(),u=t.length,w.stack&&0<u&&(w.stack+=a.b.ci(t[u-1]))),h&&h(w),w;}finally{try{l&&(s?(s.adrumArgs.origFuncResult=x,t.push(s)):e(x)&&(s={adrumArgs:{origFuncResult:x}},t.push(s)),l.apply(this,t))}catch(q){a.exception(q,"M22",n,q)}}return x}};b.before=function(a,g,l){return b.around(a,g,null,l)};b.after=function(a,g,l){return b.around(a,null,g,l)};b.forceWrap=function(b){var g= b.customDescriptorConfig||{},l=null,n=b.parentObject,h=b.property,r=b.setUpFunc,k=b.wrapNewFunctionAgain||!1,u=b.propertyWrappedFunctionName;if(n&&h){l=Object.getOwnPropertyDescriptor(n,h);if(!l||l.configurable){l?(delete l.writable,delete l.value):l={configurable:!0,enumerable:!0};var s=l.set,x=l.get;l.set=g.set||function(l){!0!==l.usedByAgent&&(e(s)&&s(arguments),e(b.bb)&&!k||!a.utils.isFunction(r)||r(l))};l.get=g.get||function(){var l=x?x():a.utils.refs[u];e(b.bb)&&(l=b.bb);return l}}else a.logInfo("M23", u);Object.defineProperty(n,h,l)}else a.error("M24")}})(a.aop||(a.aop={}))})(m||(m={}));(function(a){a=a.EventType||(a.EventType={});a[a.PageView=0]="PageView";a[a.Ajax=2]="Ajax";a[a.VPageView=3]="VPageView";a[a.Error=4]="Error";a[a.WebVital=5]="WebVital";a[a.IFRAME=1]="IFRAME";a[a.ABSTRACT=100]="ABSTRACT";a[a.ADRUM_XHR=101]="ADRUM_XHR";a[a.NG_VIRTUAL_PAGE=102]="NG_VIRTUAL_PAGE"})(m||(m={}));(function(a){var b=a.events||(a.events={});b.K={};b.K[a.EventType.ABSTRACT]={guid:"string",url:"string",parentGUID:"string", parentUrl:"string",parentType:"number",parentPageName:"string",timestamp:"number"};b.K[a.EventType.VPageView]={resTiming:"object"};b.K[a.EventType.NG_VIRTUAL_PAGE]={digestCount:"number"};b.K[a.EventType.Ajax]={method:"string",parentPhase:"string",parentPhaseId:"number",error:"object",parameter:"object",xhrStatus:"number",dataObject:"object",traceParent:"string"};b.K[a.EventType.ADRUM_XHR]={allResponseHeaders:"string"};b.K[a.EventType.Error]={msg:"string",line:"number",stack:"string"};b.K[a.EventType.WebVital]= {coreWebVitalsMetrics:"object"}})(m||(m={}));(function(a){var b=function(){function a(){this.entries={}}a.prototype.mark=function(a,b){k.mark.apply(this,arguments)};a.prototype.getTiming=function(a){return(a=this.getEntryByName(a))&&a.startTime};a.prototype.measure=function(a,b,l){k.measure.apply(this,arguments)};a.prototype.getEntryByName=function(a){return k.getEntryByName.call(this,a)};return a}();b.yd=function(a){return k.yd(a)};a.PerformanceTracker=b;var k;(function(b){var d=a.utils.hasOwnPropertyDefined, g=a.utils.fb(),l=a.utils.now;b.mark=function(b,d){this.entries[b]={name:b,entryType:"mark",startTime:a.utils.isDefined(d)?d:l(),duration:0}};b.measure=function(b,h,e){d(this.entries,h)&&d(this.entries,e)?this.entries[b]={name:b,entryType:"measure",startTime:h?this.entries[h].startTime:g,duration:(e?this.entries[e].startTime:l())-(h?this.entries[h].startTime:g)}:a.error("M25",d(this.entries,h)?e:h)};b.getEntryByName=function(a){return this.entries[a]||null};b.yd=function(a){return a+g}})(k||(k={}))})(m|| (m={}));(function(a){(function(b){function k(b,d){b=b||{};for(var n in b)d[n]=function(){var d=n,l=b[n];return function(b){var g="_"+d,n=this[g];if(a.utils.isDefined(b))if(typeof b===l)this[g]=b;else throw g="wrong type of "+d+" value, "+typeof b+" passed in but should be a "+l+".",a.reportAPIMessage(a.Z.Se,g,"ADRUM.report",Array.prototype.slice.call(arguments)),TypeError(g);return n}}()}function e(a){var b={},d;for(d in a){var h=a[d];b[h.start]=!0;b[h.end]=!0}return b}var d=function(){function b(d){this.perf= new a.PerformanceTracker;"Object"===this.constructor.name&&a.reportAPIMessage(a.Z.xa,a.ub);this.timestamp(a.utils.now());this.guid(a.utils.generateGUID());this.url(document.URL);this.Tc(d)}b.prototype.type=function(){return a.EventType.ABSTRACT};b.prototype.Tc=function(b){if(a.utils.isObject(b))for(var d in b){var g=this[d]||this["mark"+a.utils.Mf(d)];g&&a.utils.isFunction(g)&&g.call(this,b[d])}};b.qd=function(a,b,d){return{guid:function(){return a},url:function(){return b},type:function(){return d}}}; b.prototype.Ol=function(){return b.qd(this.parentGUID(),this.parentUrl(),this.parentType())};b.prototype.parent=function(b){var d=this.Ol();a.utils.isDefined(b)&&(a.utils.isFunction(b.guid)&&a.utils.isFunction(b.url)&&a.utils.isFunction(b.type)?(this.parentGUID(b.guid()),this.parentUrl(b.url()),this.parentType(b.type())):a.reportAPIMessage(a.Z.xa,"object is not a valid EventIdentifier","EventTracker.parent",Array.prototype.slice.call(arguments)));return d};return b}();b.EventTracker=d;b.Ma=k;b.Ff= function(b,d){b=b||{};var n=e(b),h;for(h in n)n=a.utils.Mf(h),d["mark"+n]=a.utils.oh(function(a,b){this.perf.mark(a,b)},h),d["get"+n]=a.utils.oh(function(a){return this.perf.getTiming(a)},h)};k(b.K[a.EventType.ABSTRACT],d.prototype)})(a.events||(a.events={}))})(m||(m={}));(function(a){(function(b){var k=function(b){function d(g){g=b.call(this,g)||this;g.constructor!=d&&a.reportAPIMessage(a.Z.xa,a.ub,"ADRUM.events.Error",[]);return g}v(d,b);d.prototype.type=function(){return a.EventType.Error};return d}(b.EventTracker); b.Error=k;b.Ma(b.K[a.EventType.Error],k.prototype)})(a.events||(a.events={}))})(m||(m={}));(function(a){(function(b){var k=function(){function b(){}b.setUp=function(){b.perf=a.utils.refs.ua;a.utils.isObject(b.perf)&&a.utils.isObject(b.perf.timing)||(b.perf=void 0)};return b}();k.perf=null;b.PerformanceWrapper=k})(a.monitor||(a.monitor={}))})(m||(m={}));(function(a){(function(b){var k=function(){function e(){this.navTiming=null}e.prototype.Tf=function(){var d=b.PerformanceWrapper.perf;if(d=d&&d.timing)if(d.navigationStart&& d.navigationStart<=d.loadEventEnd){var g={},l;for(l in d){var n=d[l];"number"===typeof n&&(g[l]=n)}this.navTiming=g}else a.logInfo("M27");else a.logInfo("M26")};e.prototype.setUp=function(){b.PerformanceWrapper.setUp()};return e}();b.NavTimingMonitor=k;b.navMonitor=new b.NavTimingMonitor})(a.monitor||(a.monitor={}))})(m||(m={}));(function(a){(function(b){var k=function(){function e(){this.ne=null;b.PerformanceWrapper.setUp();this.resourceBuffer=[];this.basePageResourceBuffer=[];this.nf=500;this.kd= 150;this.Jj=3E3;this.setResourceTimingBufferSize();this.mo()}e.prototype.setUp=function(){b.PerformanceWrapper.setUp();a.utils.isDefined(b.PerformanceWrapper.perf)&&a.utils.isFunction(b.PerformanceWrapper.perf.getEntriesByType)?a.utils.isFunction(b.PerformanceWrapper.perf.addEventListener)?b.PerformanceWrapper.perf.addEventListener("resourcetimingbufferfull",this.Db.bind(this)):"onresourcetimingbufferfull"in b.PerformanceWrapper.perf?a.utils.isFunction(b.PerformanceWrapper.perf.me)?b.PerformanceWrapper.perf.me= a.aop.around(b.PerformanceWrapper.perf.me,this.Db.bind(this)):b.PerformanceWrapper.perf.me=this.Db.bind(this):a.utils.refs.setInterval.call(window,this.Xn.bind(this),this.Jj):a.logInfo("M28");this.ro();this.Yn()};e.prototype.ro=function(){var d=a.conf.userConf&&a.conf.userConf.resTiming&&a.conf.userConf.resTiming.bufSize;a.utils.isDefined(b.PerformanceWrapper.perf)&&a.utils.isFunction(b.PerformanceWrapper.perf.setResourceTimingBufferSize)&&a.utils.isNumber(d)&&0<d&&(this.kd=d)};e.prototype.Yn=function(){var d= b.PerformanceWrapper.perf;a.utils.isDefined(d)&&(a.utils.isFunction(d.setResourceTimingBufferSize)&&(d.setResourceTimingBufferSize=a.aop.around(d.setResourceTimingBufferSize,function(){a.utils.isDefined(arguments)&&a.utils.isDefined(arguments[0])&&(this.kd=arguments[0])}.bind(this))),a.utils.isFunction(d.clearResourceTimings)&&(d.clearResourceTimings=a.aop.around(d.clearResourceTimings,function(){this.Db()}.bind(this))))};e.prototype.Sf=function(){this.basePageResourceBuffer=this.kg()};e.prototype.Db= function(){this.resourceBuffer=this.kg()};e.prototype.Xn=function(){this.Jb().length>=this.kd&&this.Db()};e.prototype.Jb=function(){var d=b.PerformanceWrapper.perf,g=[];d&&d.getEntriesByType&&(d=d.getEntriesByType("resource"))&&d.length&&0<d.length&&d.unshift&&(g=d);0==g.length&&a.logInfo("M29");return g};e.prototype.Sl=function(b,g){return a.utils.filter(this.resourceBuffer,function(a){return b+a.startTime>=g})};e.prototype.Tl=function(a,b){this.resourceBuffer=this.resourceBuffer.concat(this.Jb()); var l=this.Sl(a,b);this.clearResourceTimings();this.resourceBuffer=[];return l};e.prototype.mo=function(){var d=b.PerformanceWrapper.perf;a.utils.isDefined(d)&&a.utils.isFunction(d.clearResourceTimings)&&(this.ne=d.clearResourceTimings.bind(d))};e.prototype.setResourceTimingBufferSize=function(){var d=b.PerformanceWrapper.perf,g=a.conf.userConf&&a.conf.userConf.resTiming&&a.conf.userConf.resTiming.bufSize;!a.utils.isNumber(g)||0>=g?a.logInfo("M30"):d&&a.utils.isFunction(d.setResourceTimingBufferSize)? d.setResourceTimingBufferSize(g):a.logInfo("M31")};e.prototype.kg=function(){var b=this.Jb();if(this.resourceBuffer.length+b.length>this.nf)return a.logInfo("M32"),this.resourceBuffer.concat(b.slice(0,this.nf-this.resourceBuffer.length));this.clearResourceTimings();return this.resourceBuffer.concat(b)};e.prototype.clearResourceTimings=function(){a.conf.clearResTiming&&a.utils.isFunction(this.ne)&&this.ne()};return e}();b.ResourceMonitor=k;b.resourceMonitor=new b.ResourceMonitor})(a.monitor||(a.monitor= {}))})(m||(m={}));(function(a){(function(a){function k(a){return a.nodeName.toLowerCase()}function e(a){return"video"==k(a)}function d(a){return"image"==k(a)}function g(a){return"svg"==k(a)}function l(a){return"use"==k(a)}function n(a){return a?0===a.lastIndexOf("video/",0)||0===a.lastIndexOf("image/",0)||0===a.lastIndexOf("font/",0)||0===a.lastIndexOf("model/",0)||0===a.lastIndexOf("text/",0):!1}function h(a){return"embed"==k(a)&&(a.type?n(a.type):n(a.getAttribute("type")))}function r(a){return"object"== k(a)&&(a.type?n(a.type):n(a.getAttribute("type")))}function t(a){return"img"==k(a)}function u(a){return"script"==k(a)}function s(a){return"link"==k(a)}function x(d,l){if(!s(d))return!1;var g=d.attributes.getNamedItem("rel");return a.isDefined(g)?g.value==l:!1}function m(a){return x(a,"stylesheet")}function w(d){d=a.isDefined(d.attributes)?d.attributes.getNamedItem("src")||d.attributes.getNamedItem("href"):void 0;return a.isDefined(d)?d.value:void 0}function q(a){return u(a)||m(a)}a.Kl=k;a.Sg=e;a.lq= d;a.kq=g;a.Og=l;a.Jg=function(a){return"canvas"==k(a)};a.Qg=function(d){return d instanceof a.refs.Rj};a.iq=n;a.mg=function(a){return(a.right-a.left)*(a.bottom-a.top)};a.hq=h;a.jq=r;a.Fm=t;a.Om=u;a.eq=s;a.fq=x;a.Sm=m;a.Lm=function(a){return x(a,"preload")};a.ib=function(a){return t(a)||r(a)||h(a)||e(a)||d(a)||g(a)||l(a)};a.Nb=function(a,b){var d=b||window.getComputedStyle(a);return"none"!==d.getPropertyValue("display")&&"hidden"!==d.getPropertyValue("visibility")};a.Sd=function(a){var b="";a instanceof HTMLImageElement?b=a.currentSrc||a.src:a instanceof HTMLEmbedElement?b=a.src:a instanceof HTMLObjectElement?b=a.data:"undefined"!=typeof HTMLVideoElement&&a instanceof HTMLVideoElement?b=a.currentSrc||a.src:a instanceof SVGImageElement?b=a.href.baseVal:a instanceof SVGUseElement&&(b=a.href.baseVal);return b};a.$p=function(a){var b="";a instanceof HTMLImageElement?b="img":a instanceof HTMLEmbedElement?b="embed":a instanceof HTMLObjectElement?b="object":"undefined"!=typeof HTMLVideoElement&&a instanceof HTMLVideoElement?b="video":a instanceof SVGImageElement?b="image":a instanceof SVGUseElement&&(b="use");return b};a.gb=w;a.vc=function(d){var l=w(d);return l&&0!=l.length?q(d)?(a.isDefined(d.adrumNodeGUID)||(d.adrumNodeGUID=a.generateGUID()),d.adrumNodeGUID):l:null};a.gq=q})(a.utils||(a.utils={}))})(m||(m={}));(function(a){var b=function(){function b(){this.wm=0.2;this.rb=0;this.Lb=!1;this.Pa=a.conf.spa2;this.qb=this.A=this.c=this.Aa=0;this.fa=[];this.Oc=[];this.Fc=this.j=this.la=0;this.eb=null;this.sc= 0;this.Bc=!1;this.Ad=3;this.uc=null;this.ad=this.bd=0;this.viewport={top:0,left:0,bottom:this.ad,right:this.bd};this.Va=1}b.prototype.setUp=function(){this.P={};this.Pb={};this.Va=1;this.la=a.utils.now();this.j=0;this.Ob=[];this.Bb=[];this.Gb=[];this.A=this.c=this.Fc=0;var b=window.MutationObserver;this.Bc=a.utils.isDefined(a.conf.considerCarouselForVCT)?a.conf.considerCarouselForVCT:!0;this.Rf();a.utils.addEventListener(window,"resize",a.utils.Tk(this.Rf).bind(this));a.utils.isDefined(b)&&(a.utils.isDefined(window.Zone)&& a.utils.isDefined(window.Zone.__symbol__)&&a.utils.isDefined(window.Zone.__symbol__("MutationObserver"))?this.Ic=new (window[window.Zone.__symbol__("MutationObserver")])(this.kh.bind(this)):this.Ic=new b(this.kh.bind(this)),this.Ic.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["src","href"]}),a.logInfo("M33"))};b.prototype.kh=function(b){var d=this;a.U();b.forEach(function(a){switch(a.type){case "childList":[].slice.call(a.addedNodes).forEach(function(a){d.If(a)}); break;case "attributes":d.If(a.target)}});a.V()};b.prototype.Rf=function(){this.bd=a.utils.isDefined(window.innerWidth)&&a.utils.isDefined(document.documentElement.clientWidth)?Math.min(window.innerWidth,document.documentElement.clientWidth):window.innerWidth||document.documentElement.clientWidth||document.getElementsByTagName("body")[0].clientWidth;this.ad=a.utils.isDefined(window.innerHeight)&&a.utils.isDefined(document.documentElement.clientHeight)?Math.min(window.innerHeight,document.documentElement.clientHeight): window.innerHeight||document.documentElement.clientHeight||document.getElementsByTagName("body")[0].clientHeight;a.logInfo("M34",this.bd,this.ad);this.viewport={top:0,left:0,bottom:this.ad,right:this.bd}};b.prototype.start=function(){a.U();this.setUp();a.V();a.logInfo("M35")};b.prototype.reset=function(){this.P={};this.j=this.rb=0;this.Pb={};this.Va=1;this.Fc=0;this.Ob=[];this.uc=null;this.Ad=3;this.A=this.qb=this.c=0;this.Bb=[];this.Gb=[];this.Bc=a.utils.isDefined(a.conf.considerCarouselForVCT)? a.conf.considerCarouselForVCT:!0;this.fa=[];this.Oc=[];a.logInfo("M36")};b.prototype.If=function(b){a.U();var d=a.utils.now();if(a.utils.Og(b)||!a.utils.ib(b)||b.isAdrumTrackedNode)a.utils.Jg(b)&&!b.adrumNodeId?(a.logInfo("M41"),this.Ab(b,d)):a.utils.Qg(b)&&(this.rb=Math.max(this.rb,d));else{this.Lb||(this.O=this.O.bind(this),this.B=this.B.bind(this),this.O.L=!0,this.Lb=this.B.L=!0);this.j++;a.logInfo("M37",this.j);var g=a.utils.gb(b);a.logInfo("M38",g,d);a.utils.Sg(b)?(b.addEventListener("loadeddata", this.O),a.logInfo("M39",g)):(b.addEventListener("load",this.O),a.logInfo("M40",g));b.addEventListener("error",this.B);b.isAdrumTrackedNode=!0}a.V()};b.prototype.O=function(b){a.U();var d=a.utils.now();this.sc||(this.sc=d);this.la=d;b=b.target;var g=a.utils.Sd(b);this.Fc++;this.Bc&&this.ao();a.utils.isDefined(g)&&0<g.length?"data:"!=g.substring(0,5)||b.adrumNodeId?this.dk(g,d,b):(a.logInfo("M42"),this.Ab(b,d)):b instanceof SVGElement&&!b.adrumNodeId&&(a.logInfo("M43"),this.Ab(b,d));b&&b.isAdrumTrackedNode&& (this.Sb(b),this.j--,a.logInfo("M44",this.j));a.V()};b.prototype.B=function(b){var d=b.target;d&&d.isAdrumTrackedNode&&(this.Sb(d),this.j--,b=a.utils.Sd(b.target),a.logInfo("M45",b))};b.prototype.Sb=function(a){a.removeEventListener("load",this.O);a.removeEventListener("error",this.B)};b.prototype.yc=function(b){return this.T(b)&&a.utils.Nb(b)};b.prototype.dk=function(b,d,g){a.utils.isDefined(this.P[b])?this.yc(g)&&(this.P[b]={ea:d,element:g},a.logInfo("M46",b,d)):(this.P[b]={ea:d,element:g},a.logInfo("M47", b,d))};b.prototype.Ab=function(b,d){a.logInfo("M48",this.Va,d,b.outerHTML);b.adrumNodeId=this.Va;this.Pb[this.Va]={ea:d,element:b};this.Va+=1};b.prototype.on=function(){var a=2,b=3;return function(){var g=b+a;a=b;return b=g}};b.prototype.Bm=function(){this.uc=this.uc||this.on();return this.Fc>=this.Ad?(this.Ad=this.uc(),!0):!1};b.prototype.ao=function(){var b=this;this.Bm()?(this.gc(this.P),this.gc(this.Pb),clearTimeout(this.eb),this.eb=null):b.eb||(b.eb=a.utils.refs.setTimeout.call(window,function(){b.gc(b.P); b.gc(b.Pb);clearTimeout(b.eb);b.eb=null},2E3))};b.prototype.gc=function(a){for(var b=Object.keys(a),g=b.length,l=0;l<g;l++){var n=a[b[l]],h=this.Pd(n.element),r=h.top+"-"+h.right+"-"+h.bottom+"-"+h.left;n.Id?30>=n.pc.length&&(n.pc.push(h),n.Fb=n.Fb+"|"+r):(n.Id=window.getComputedStyle(n.element),n.pc=[h],n.Fb=r,n.T=this.T(n.element))}};b.prototype.Kg=function(b,d){if(!a.conf.considerCarouselForVCT)return!1;var g=!1,l=d.Fb;if(l){var l=l.split("|"),n=l.length;if(n){var h=0,r=null,k=this.Pd(b);2==n&& (r=k.top+"-"+k.right+"-"+k.bottom+"-"+k.left,l.push(r),n++);for(var u=0;u<n-1&&!(l[u]!==l[u+1]&&(h++,2<=h));u++);2<=h&&(this.Ob.push(d),g=!0,r&&(d.Fb=d.Fb+"|"+r,d.pc.push(k)))}}return g};b.prototype.Pk=function(a){for(var b=a.length,g=[],l=[],n=[],h=[],r=0;r<b;r++){var k=a[r],u=k.pc,s=u[0],u=u[u.length-1];s&&u&&(50<Math.abs(s.left-u.left)?50<Math.abs(s.right-u.right)?l.push(k):h.push(k):50<Math.abs(s.top-u.top)?50<Math.abs(s.bottom-u.bottom)?n.push(k):h.push(k):h.push(k))}h.length&&(this.Gb=h);this.Uf(l, g);this.Uf(n,g);g.length&&(this.Bb=g)};b.prototype.zl=function(a,b){for(var g=[],l=0;l<a.length;l++){for(var n=!0,h=a[l].element.classList,r=0;r<b.length;r++)if(!h.contains(b[l])){n=!1;break}n&&(g.push(a[l]),a.splice(l,1),l--)}return g};b.prototype.Uf=function(a,b){for(var g=0;g<a.length;g++)b.push(this.zl(a,a[0].element.classList))};b.prototype.$o=function(b,d,g,l){b.adrumConsiderForVCT&&(this.c=Math.max(this.c,g-l),this.Ha(this.fa,{element:b,X:g-l}),a.logInfo("M49",d,this.c));delete b.adrumConsiderForVCT}; b.prototype.Wo=function(b,d,g,l){var n=this.ug(d);a.utils.isDefined(n)&&(g=n.startTime-(g-this.Aa),l=n.duration*l+g,a.logInfo("M50",d,l),a.logInfo("M51",n.duration,g),this.Pa&&(this.A=Math.max(this.A,l),a.logInfo("M52",d,this.A)),(0>=this.sc||l<this.sc)&&this.T(b)&&(this.c=Math.max(this.c,l),a.logInfo("M53",d,a.c)),this.T(b)&&this.Ha(this.fa,{element:b,X:l}))};b.prototype.Xo=function(b,d){var g=this.Pb[b.adrumNodeId];if(a.utils.isDefined(g)){var l=g.ea;a.utils.Nb(b,g.Id)&&(this.Pa&&(this.A=Math.max(this.A, l-d),a.logInfo("M54",b.adrumNodeId,l)),!this.Kg(b,g)&&this.T(b)&&(a.utils.isDefined(b.adrumConsiderForVCT)?(b.adrumConsiderForVCT&&(this.c=Math.max(this.c,l-d),this.Ha(this.fa,{element:b,X:l-d}),a.logInfo("Element without src and from DOMObserver - VCT ",this.c)),delete b.adrumConsiderForVCT):(this.c=Math.max(this.c,l-d),this.Ha(this.fa,{element:b,X:l-d}),a.logInfo("Element without src and from Mutation Observer - VCT",this.c)),a.logInfo("M55",b.adrumNodeId,l)))}delete b.adrumNodeId};b.prototype.Jl= function(a,b){for(var g=a.length,l,n,h=0,r=0;r<g;r++)if(n=a[r],l=n.element,b.push(n.ea),n.T||this.T(l))h++,this.Ha(this.Oc,{element:l,ea:n.ea});return h};b.prototype.Gl=function(a){var b=[],g=0;if(a=this.Jl(a,b))b.sort(),g=b[a-1];return g};b.prototype.Yo=function(a){for(var b=this.Bb.length,g=0;g<b;g++){var l=this.Gl(this.Bb[g]);l&&(this.c=Math.max(this.c,l-a))}};b.prototype.Uo=function(b,d){var g=this;this.ul().forEach(function(l){var n=l.url,h=l.yc,r=g.ug(n);a.utils.isDefined(r)&&(r=r.duration* d+(r.startTime-(b-g.Aa)),g.Pa&&(a.logInfo("M56",n,r),g.A=Math.max(g.A,r)),h&&(a.logInfo("M57",n,r),g.c=Math.max(g.c,r),g.Ha(g.fa,{element:l.element,X:r})))})};b.prototype.Vo=function(b){b=this.rb-b;this.Pa&&0==this.A&&(a.logInfo("M58"),this.A=Math.max(this.A,b));0==this.c&&(a.logInfo("M59"),b=Math.max(this.c,b),this.c=0<this.A?Math.min(this.A,b):b)};b.prototype.Zo=function(a){for(var b=this.Gb.length,g=0;g<b;g++){var l=this.Gb[g],n=l.element,h=l.ea;if(l.T||this.T(n))this.c=Math.max(this.c,h-a),this.Ha(this.fa, {element:n,X:h-a})}};b.prototype.Ha=function(b,d){a.conf.enableSpeedIndex&&b.push(d)};b.prototype.Mn=function(a,b){return a.map(function(a){return c({},a,{X:a.ea-b})})};b.prototype.Dk=function(b){if(!b.length)return 0;b=b.filter(function(b){return a.utils.isDefined(b.element)&&a.utils.isDefined(b.element.adrumConsiderForVCT)?b.element.adrumConsiderForVCT:!0}).map(function(a){a.pd=0;a.X=Math.floor(a.X||0);if(a.element instanceof Element){var b=a.element.getBoundingClientRect();return c({},a,{pd:b.width* b.height||0})}return a});var d=b.reduce(function(a,b){return a+(b.pd||0)},0);b.sort(function(a,b){return a.X-b.X});var g=0,l=b[b.length-1].X;if(!a.utils.isDefined(l)||0>=l)return 0;for(var l=100*Math.ceil(l/100),n=0,h=0,r=100;r<=l;r+=100){for(var k=h;k<b.length;k++){var u=b[k].pd;if(b[k].X<=r)n+=u||0,h=k+1;else break}k=0;0!==n&&(k=n/d);g+=100*(1-k)}return g|0};b.prototype.vd=function(b){var d=this;this.Bc=!1;a.l.cc.Wa&&(this.Aa=b);a.logInfo("M60",b,this.Aa);var g=this.Ql(this.Aa);a.logInfo("M61", g);[].slice.call(document.getElementsByTagName("*")).forEach(function(l){var h=a.utils.Sd(l);delete l.isAdrumTrackedNode;if(a.utils.isDefined(l.adrumNodeId))d.Xo(l,b);else if(a.utils.isDefined(h)&&0<h.length){a.logInfo("M62",h);var r=d.P[h];if(a.utils.isDefined(r)){var k=r.ea;a.logInfo("M63",h,k);a.utils.Nb(l,r.Id)&&(d.Pa&&(a.logInfo("M64",d.A,k,b),d.A=Math.max(d.A,k-b),a.logInfo("M65",h,d.A)),d.Kg(l,r)||!r.T&&!d.T(l)||(a.logInfo("M66",a.c,k,b),a.utils.isDefined(l.adrumConsiderForVCT)?d.$o(l,h,k, b):(d.c=Math.max(d.c,k-b),d.Ha(d.fa,{element:l,X:k-b}),a.logInfo("M67",h,a.c))))}else a.utils.ib(l)&&a.utils.Nb(l)&&d.Wo(l,h,b,g)}});a.conf.considerCarouselForVCT&&this.Ob&&this.Ob.length&&(this.Pk(this.Ob),this.Bb&&this.Yo(b),this.Gb&&this.Zo(b));a.logInfo("M68",this.c,this.A);this.Uo(b,g);a.conf.disableTextForTesting||this.Vo(b);this.c|=0;this.A|=0;if(a.conf.enableSpeedIndex){if(0!==this.Oc.length){var l=this.Mn(this.Oc,b);this.fa=this.fa.concat(l)}this.qb=this.Dk(this.fa);0==this.qb&&(this.qb= this.c)}a.logInfo("M69",b,this.Aa);a.logInfo("M70",window.location.href);a.logInfo("M71",this.c,this.A,this.qb);return{vct:this.c,pct:this.A,spi:this.qb}};b.prototype.Pd=function(a){try{var b=a.getBoundingClientRect(),g=document.documentElement||document.body,l=b.top+(window.pageYOffset||g.scrollTop)-(g.clientTop||0),n=b.left+(window.pageXOffset||g.scrollLeft)-(g.clientLeft||0);return{top:Math.round(l),left:Math.round(n),bottom:Math.round(l)+b.height,right:Math.round(n)+b.width}}catch(h){return{top:0, left:0,bottom:0,right:0}}};b.prototype.T=function(b){b=this.Pd(b);if(this.zm(b))return a.logInfo("M72"),!1;var d={top:Math.max(this.viewport.top,b.top),left:Math.max(this.viewport.left,b.left),bottom:Math.min(this.viewport.bottom,b.bottom),right:Math.min(this.viewport.right,b.right)},d=a.utils.mg(d);b=a.utils.mg(b);if(0!=b&&d/b>=this.wm)return!0;a.logInfo("M73");return!1};b.prototype.zm=function(a){return a.top>this.viewport.bottom||a.bottom<this.viewport.top||a.right<this.viewport.left||a.left>this.viewport.right? !0:!1};b.prototype.Zk=function(){a.utils.isDefined(this.Ic)&&this.Ic.disconnect();a.logInfo("M74")};b.prototype.Ql=function(b){var d=this,g=0,l=0,n=this.wg(),n=n.filter(function(a){return!(0===a.transferSize&&0<a.decodedBodySize)});n.forEach(function(n){var r=n.name;if(a.utils.isDefined(d.P[r])){var k=d.P[r].ea-b-n.startTime,u=n.duration;a.logInfo("M75",r,b,n.startTime,d.P[r].ea,u);u&&0<k&&(g+=k/u,l++)}});return 0<l?g/l:1};b.prototype.ul=function(){var b=this,d=[];[].slice.call(document.getElementsByTagName("*")).forEach(function(g){if(a.utils.Nb(g)){var l= b.tl(g);l&&(b.T(g)?d.push({url:l,yc:!0,element:g}):b.Pa&&d.push({url:l,yc:!1,element:g}))}});return d};b.prototype.tl=function(b){if(b&&b.style){var d=window.getComputedStyle(b).getPropertyValue("background-image");d||(d=(b.currentStyle||b.style).backgroundImage);b=this.Vl(d);return a.utils.isDefined(b)&&a.utils.isDefined(b.substr)&&"undefined"===b.substr(b.lastIndexOf("/")+1)?void 0:b}};b.prototype.Vl=function(a){if(a&&a.match("url"))return a.replace('url("',"").replace('")',"")};b.prototype.ug= function(b){for(var d=0,g=this.wg();d<g.length;d++){var l=g[d];if(a.utils.isDefined(l.name)&&0<=l.name.indexOf(b))return l}};b.prototype.wg=function(){return a.l.cc.Wa?a.monitor.resourceMonitor.basePageResourceBuffer:a.monitor.resourceMonitor.resourceBuffer.concat(a.monitor.resourceMonitor.Jb())};return b}();a.Ep=b;a.c=new b})(m||(m={}));(function(a){(function(b){var k=function(){function k(){this.Lb=!1;this.Cd=a.conf.spa2?5E3:1E3;this.lb=a.conf.userConf&&a.conf.userConf.navComplete&&a.conf.userConf.navComplete.maxResourceQuietTime? a.conf.userConf.navComplete.maxResourceQuietTime:this.Cd;this.Wk=3E3;this.kn=Math.min(this.Wk,this.lb)}k.prototype.Wh=function(){a.U();this.Kb(Element.prototype,"innerHTML",this.uh.bind(this));this.Kb(HTMLElement.prototype,"innerHTML",this.uh.bind(this));this.Kb(HTMLImageElement.prototype,"src",this.Qb.bind(this));this.Kb(HTMLScriptElement.prototype,"src",this.Qb.bind(this));this.Kb(HTMLLinkElement.prototype,"href",this.Qb.bind(this));this.nm();this.Xd("append");this.Xd("appendChild");this.Xd("insertBefore"); a.V()};k.prototype.setUp=function(b){a.U();this.Dd=this.he=this.j=0;this.la=b;this.Dc=null;this.Zd=this.ta=this.k=!1;this.ob={};this.P={};this.je={};a.V()};k.prototype.start=function(b){this.setUp(b);this.ta=!0;a.logInfo("M76")};k.prototype.reset=function(){this.k=!1;this.Dd=this.j=0;this.Dc=null;this.Zd=this.ta=!1;this.P={};this.je={};a.logInfo("M77")};k.prototype.Kb=function(a,b,l){this.An(a,b,Object.getOwnPropertyDescriptor(a,b),l)};k.prototype.An=function(b,g,l,n){if(a.utils.isDefined(l)&&l.configurable&& a.utils.isDefined(l.set)&&!a.utils.isDefined(l.L)){var h=this;Object.defineProperty(b,g,{set:function(a){var b;try{b=l.set.apply(this,arguments)}catch(d){throw d;}finally{n.call(h,this)}return b}})}};k.prototype.Qb=function(b){a.U();this.Ie(b);a.V()};k.prototype.nm=function(){var b=Element.prototype,g=this;a.utils.isDefined(b.setAttribute)&&(b.setAttribute=a.aop.around(b.setAttribute,null,function(){var a=f(arguments);"src"!=a[0]&&"href"!=a[0]||g.Qb.call(g,this)}))};k.prototype.Xd=function(b){var g= Element.prototype,l=this;a.utils.isDefined(g[b])&&(g[b]=a.aop.around(g[b],null,function(){0<arguments.length&&l.Qb.call(l,arguments[0])}))};k.prototype.uh=function(b){a.U();this.ta&&a.utils.isDefined(b)&&a.utils.isDefined(b.childNodes)&&(this.Ie(b),this.hi(b.childNodes));a.V()};k.prototype.hi=function(b){for(var g=0;g<b.length;g++){var l=b[g];"script"!=a.utils.Kl(l)&&this.Ie(l);this.hi(l.childNodes)}};k.prototype.Ie=function(d){a.monitor.AnySpaMonitor.xc()||(this.xm(d)?this.qk(d):a.conf.N&&this.rk(d), this.Dd++,1!=this.Dd||this.k||(b.w.Vc(),this.k=!0))};k.prototype.qk=function(b){var g=a.utils.gb(b),l=a.utils.vc(b);a.utils.isDefined(l)&&!a.utils.isDefined(this.ob[l])&&(this.j++,this.ob[l]=!0,a.logInfo("M78",l,g,this.j),this.Jf(b))};k.prototype.rk=function(b){var g=a.utils.now();if(a.utils.Og(b))b.adrumNodeId||a.c.Ab(b,g);else if(a.utils.ib(b)&&!b.isAdrumTrackedNode){var g=a.utils.gb(b),l=a.utils.vc(b);a.utils.isDefined(l)&&!a.utils.isDefined(this.ob[l])&&(this.j++,this.ob[l]=!0,this.Jf(b),a.logInfo("M79", l,g,this.j))}else a.utils.Jg(b)&&!b.adrumNodeId?(a.logInfo("M80",g),a.c.Ab(b,g)):a.utils.Qg(b)&&(a.c.rb=Math.max(a.c.rb,g))};k.prototype.Jf=function(b){var g=a.utils.now();this.Lb||(this.O=this.O.bind(this),this.B=this.B.bind(this),this.O.L=!0,this.Lb=this.B.L=!0);var l=a.utils.gb(b);a.utils.ib(b)&&(a.lifecycle.getPhaseName()===a.PageLifecycleTracker.od?this.Zd?b.adrumConsiderForVCT=!1:this.Dc&&g-this.Dc>this.kn?(this.Zd=!0,b.adrumConsiderForVCT=!1):(b.adrumConsiderForVCT=!0,this.Dc=g):b.adrumConsiderForVCT= !0);a.utils.Sg(b)?(b.addEventListener("loadeddata",this.O),a.logInfo("M81",l)):(b.addEventListener("load",this.O),a.logInfo("M82",l,b.nodeName));b.addEventListener("error",this.B)};k.prototype.xm=function(b){return a.utils.Om(b)||a.utils.Fm(b)||a.utils.Lm(b)||a.utils.Sm(b)};k.prototype.O=function(d){a.U();var g=d.target,l=a.utils.gb(g),n=a.utils.vc(g);a.utils.isDefined(this.ob[n])&&!a.utils.isDefined(this.P[n])&&(this.j--,this.P[n]=!0,0>this.j&&a.logError("M83",this.j),a.logInfo("M84",l,this.j)); this.la=a.utils.now();this.he+=1;1!=this.he||this.k||(b.w.Vc(),this.k=!0);this.Sb(d.target);a.conf.N&&a.utils.ib(g)&&!g.isAdrumTrackedNode&&(a.logInfo("M85"),a.c.O(d));a.V()};k.prototype.B=function(b){a.U();var g=b.target,l=a.utils.gb(g),n=a.utils.vc(g);a.utils.isDefined(this.ob[n])&&!a.utils.isDefined(this.je[n])&&(this.j--,this.je[n]=!0,0>this.j&&a.logError("M86",this.j),a.logInfo("M87",l,this.j));a.conf.N&&a.utils.ib(g)&&!g.isAdrumTrackedNode&&(a.logInfo("M88"),a.c.B(b));this.Sb(b.target);a.V()}; k.prototype.nk=function(){return 0<this.j&&this.k};k.prototype.Vd=function(b){var g=this.j,l=0;a.conf.N&&(g+=a.c.j,l=a.c.la);a.logInfo("M89",g);return 0>=g&&this.k&&(a.logInfo("M90"),g=Math.max(this.la,l),b-g>=this.lb)?(this.reset(),g):-1};k.prototype.Sb=function(a){a.removeEventListener("load",this.O);a.removeEventListener("error",this.B)};return k}();b.Pi=k})(a.l||(a.l={}))})(m||(m={}));(function(a){(function(b){var k=function(){function k(){this.Cd=a.conf.spa2?3E3:1E3;this.lb=a.conf.userConf&& a.conf.userConf.navComplete&&a.conf.userConf.navComplete.maxXhrQuietTime?a.conf.userConf.navComplete.maxXhrQuietTime:this.Cd}k.prototype.setUp=function(a){this.nb=this.j=0;this.Ca=a;this.ta=this.k=!1;this.na={}};k.prototype.start=function(a){this.setUp(a);this.ta=!0};k.prototype.zf=function(b){a.monitor.AnySpaMonitor.xc()||!this.ta||a.utils.isDefined(this.na[b.guid()])||this.na[b.guid()]||(this.na[b.guid()]=!0,this.j+=1,a.logInfo("M91",b.guid(),b.url(),this.j))};k.prototype.hk=function(d){!a.monitor.AnySpaMonitor.xc()&& this.ta&&a.utils.isDefined(this.na[d.guid()])&&this.na[d.guid()]&&(delete this.na[d.guid()],this.Ca=a.utils.now(),this.j-=1,a.logInfo("M92",d.guid(),d.url(),this.j),this.nb+=1,1==this.nb&&(b.w.Vc(),this.k=!0))};k.prototype.gk=function(d){!a.monitor.AnySpaMonitor.xc()&&this.ta&&a.utils.isDefined(this.na[d.guid()])&&this.na[d.guid()]&&(delete this.na[d.guid()],this.Ca=a.utils.now(),this.j-=1,a.logInfo("M93",d.guid(),d.url(),this.j),this.nb+=1,1==this.nb&&(b.w.Vc(),this.k=!0))};k.prototype.Vd=function(a){return 0== this.j&&this.k&&a-this.Ca>=this.lb?(this.reset(),this.Ca):-1};k.prototype.ok=function(){return 0<this.j&&this.k};k.prototype.reset=function(){this.na={};this.k=!1;this.j=0;this.ta=!1};return k}();b.Fi=k})(a.l||(a.l={}))})(m||(m={}));(function(a){(function(b){var k=function(){function k(){this.M=new b.Pi;this.I=new b.Fi;this.ln=a.conf.spa2?3E3:1E3;this.maxInactiveTime=a.conf.userConf&&a.conf.userConf.navComplete&&a.conf.userConf.navComplete.maxInactiveTime?a.conf.userConf.navComplete.maxInactiveTime: Math.max(this.M.lb,this.I.lb)+this.ln;this.sh=1E3}k.prototype.setUp=function(a){this.currentTime=this.startTime=a;this.k=this.jb=!1;this.M.setUp(a);this.I.setUp(a)};k.prototype.start=function(a){this.setUp(a);this.k=!0;this.M.start(a);this.I.start(a);this.Nf();this.Bo()};k.prototype.Bo=function(){this.gi=a.utils.refs.setInterval.call(window,function(){a.U();this.currentTime=a.utils.now();var b=a.utils.max(this.M.la,this.I.Ca);if(this.currentTime-b>=this.maxInactiveTime){if(a.conf.N&&k.Wa&&!a.utils.isDefined(a.monitor.DOMEventsMonitor.currentBasePage)){a.logInfo("M94"); k.cb=k.cb||this.jb?this.currentTime:b;return}this.currentTime=k.cb||this.currentTime;a.logInfo("M95");this.navComplete(this.jb?this.currentTime:b);this.reset()}a.V()}.bind(this),this.sh)};k.prototype.Vc=function(){this.jb||(this.zo(),this.jb=!0)};k.prototype.Nf=function(){a.utils.isDefined(this.zh)&&clearInterval(this.zh);a.utils.isDefined(this.gi)&&clearInterval(this.gi)};k.prototype.reset=function(){this.Nf();this.k=this.jb=!1;this.M.reset();this.I.reset()};k.prototype.navComplete=function(b){a.U(); var g=a.utils.isDefined(a.monitor.AnySpaMonitor.vp&&a.monitor.AnySpaMonitor.vp.startTime)?a.monitor.AnySpaMonitor.vp.startTime:this.startTime;a.logInfo("M96",b-g);a.conf.N?k.Wa?(a.monitor.PerformanceWrapper.perf&&(a.monitor.navMonitor.Tf(),a.monitor.resourceMonitor.Sf()),a.logInfo("M97"),b=a.c.vd(a.utils.fb()),a.monitor.DOMEventsMonitor.currentBasePage.vct=b.vct,a.monitor.DOMEventsMonitor.currentBasePage.spi=b.spi,a.conf.spa2&&(a.monitor.DOMEventsMonitor.currentBasePage.pct=b.pct),a.b.Na&&(a.logInfo("M98", a.utils.now()),a.b.Q(a.b.Na),a.b.Na=null),a.command("reportOnload",a.monitor.DOMEventsMonitor.currentBasePage),a.c.reset(),a.c.Pa=!1,k.Wa=!1):a.monitor.AnySpaMonitor.ee(g,b):(a.monitor.resourceMonitor.basePageResourceBuffer=[],a.monitor.AnySpaMonitor.ee(g,b));a.monitor.AnySpaMonitor.Ta||(a.monitor.AnySpaMonitor.Zg(g),a.monitor.AnySpaMonitor.report());a.b.lo();a.V()};k.prototype.zo=function(){this.zh=a.utils.refs.setInterval.call(window,function(){a.U();this.currentTime=a.utils.now();var b=this.M.Vd(this.currentTime); 0<=b&&a.logInfo("M99",b-this.startTime);b=this.I.Vd(this.currentTime);0<=b&&a.logInfo("M100",b-this.startTime);if(!this.I.k&&!this.M.k){b=a.utils.max(this.I.Ca,this.M.la);if(a.conf.N&&k.Wa&&!a.utils.isDefined(a.monitor.DOMEventsMonitor.currentBasePage)){a.logInfo("M101");k.cb=k.cb||b;return}b=k.cb||b;a.logInfo("M102");this.navComplete(b);this.reset()}a.V()}.bind(this),this.sh)};return k}();k.Wa=!0;k.cb=0;b.cc=k;b.w=new b.cc})(a.l||(a.l={}))})(m||(m={}));(function(a){var b=function(){function b(){this.Xc= [];this.Lc(b.nd,0)}b.prototype.rn=function(a){this.Lc(b.Af,a)};b.prototype.tn=function(a){this.Lc(b.Hf,a)};b.prototype.sn=function(a){this.Lc(b.od,a)};b.prototype.Lc=function(a,b){this.Xc.push({qn:(new Date).getTime(),pn:b,ph:a});this.Sk=a};b.prototype.getPhaseName=function(){return this.Sk};b.prototype.getPhaseID=function(a){for(var d=0;d<b.Ef.length;d++)if(b.Ef[d]===a)return d;return null};b.prototype.getPhaseCallbackTime=function(a){for(var b=this.Xc,g=0;g<b.length;g++)if(b[g].ph===a)return b[g].qn; return null};b.prototype.findPhaseAtNominalTime=function(e){a.assert(0<=e);for(var d=this.Xc,g=d.length-1;0<=g;g--)if(e>=d[g].pn)return d[g].ph;a.error("M103",e,a.utils.dumpObject(d));return b.nd};return b}();b.nd="AFTER_FIRST_BYTE";b.Af="AFTER_DOM_INTERACTIVE";b.Hf="AT_ONLOAD";b.od="AFTER_ONLOAD";b.Ef=[b.nd,b.Af,b.Hf,b.od];a.PageLifecycleTracker=b;a.lifecycle=new b;a.lifecycle=a.lifecycle})(m||(m={}));(function(a){(function(b){var k=function(b){function d(d){d=b.call(this,d)||this;d.isBeaconSent= !1;d.backTimeGap=a.conf.backTimeGap;return d}v(d,b);d.prototype.type=function(){return a.EventType.PageView};return d}(b.EventTracker);b.PageView=k})(a.events||(a.events={}))})(m||(m={}));(function(a){a=a.events||(a.events={});a=a.g||(a.g={});a.navigationStart="navigationStart";a.domainLookupStart="domainLookupStart";a.domainLookupEnd="domainLookupEnd";a.connectStart="connectStart";a.secureConnectionStart="secureConnectionStart";a.connectEnd="connectEnd";a.requestStart="requestStart";a.responseStart= "responseStart";a.responseEnd="responseEnd";a.domContentLoadedEventStart="domContentLoadedEventStart";a.loadEventEnd="loadEventEnd";a.Qh="sendTime";a.gg="firstByteTime";a.Jh="respAvailTime";a.Kh="respProcTime";a.Oe="viewChangeStart";a.oi="viewChangeEnd";a.Pe="viewDOMLoaded";a.xi="xhrRequestsCompleted";a.Kq="viewFragmentsLoaded";a.Lq="viewResourcesLoaded";a.Qe="virtualPageStart";a.ep="virtualPageEnd"})(m||(m={}));(function(a){var b=a.events||(a.events={});b.metricSpec={};b.metricSpec[a.EventType.PageView]= {fl:{start:b.g.navigationStart,end:b.g.loadEventEnd,name:"PLT"},ol:{start:b.g.navigationStart,end:b.g.responseStart,name:"FBT"},Dq:{start:b.g.navigationStart,end:b.g.requestStart,name:"SCT"},Eq:{start:b.g.secureConnectionStart,end:b.g.connectEnd,name:"SHT"},Wp:{start:b.g.domainLookupStart,end:b.g.domainLookupEnd,name:"DLT"},Hq:{start:b.g.connectStart,end:b.g.connectEnd,name:"TCP"},Aq:{start:b.g.requestStart,end:b.g.responseStart,name:"RAT"},Yp:{start:b.g.responseStart,end:b.g.loadEventEnd,name:"FET"}, bq:{start:b.g.responseStart,end:b.g.domContentLoadedEventStart,name:"DRT"},aq:{start:b.g.responseStart,end:b.g.responseEnd,name:"DDT"},Up:{start:b.g.responseEnd,end:b.g.domContentLoadedEventStart,name:"DPT"},zq:{start:b.g.domContentLoadedEventStart,end:b.g.loadEventEnd,name:"PRT"},Vp:{start:b.g.navigationStart,end:b.g.domContentLoadedEventStart,name:"DOM"}};b.metricSpec[a.EventType.Ajax]={ol:{start:b.g.Qh,end:b.g.gg,name:"FBT"},Ip:{start:b.g.gg,end:b.g.Jh,name:"DDT"},Hp:{start:b.g.Jh,end:b.g.Kh,name:"DPT"}, fl:{start:b.g.Qh,end:b.g.Kh,name:"PLT"}};b.metricSpec[a.EventType.VPageView]={qq:{start:b.g.Qe,end:b.g.ep,name:"PLT"},Qp:{start:b.g.Oe,end:b.g.oi,name:"DDT"},nq:{start:b.g.Oe,end:b.g.Pe,name:"DRT"},xp:{start:b.g.oi,end:b.g.Pe,name:"DPT"},yp:{start:b.g.Oe,end:b.g.Pe,name:"DOM"},yq:{start:"viewChangeEnd",end:"xhrRequestsCompleted",name:null},oq:{start:"viewChangeEnd",end:"viewPartialsLoaded",name:null},mq:{start:"viewPartialsLoaded",end:"viewFragmentsLoaded",name:null},pq:{start:"viewPartialsLoaded", end:"viewResourcesLoaded",name:null}};b.metricSpec[a.EventType.NG_VIRTUAL_PAGE]=b.metricSpec[a.EventType.VPageView]})(m||(m={}));(function(a){(function(b){var k=function(k){function d(g){g=k.call(this,g)||this;g.constructor!=d&&g.constructor!=b.AdrumAjax&&a.reportAPIMessage(a.Z.xa,a.ub,"ADRUM.events.Ajax",[]);return g}v(d,k);d.prototype.type=function(){return a.EventType.Ajax};return d}(b.EventTracker);b.Ajax=k;b.Ma(b.K[a.EventType.Ajax],k.prototype);b.Ff(b.metricSpec[a.EventType.Ajax],k.prototype)})(a.events|| (a.events={}))})(m||(m={}));(function(a){(function(b){var k=function(b){function d(a){return b.call(this,a)||this}v(d,b);d.prototype.type=function(){return a.EventType.Ajax};return d}(b.Ajax);b.AdrumAjax=k;b.Ma(b.K[a.EventType.ADRUM_XHR],k.prototype)})(a.events||(a.events={}))})(m||(m={}));(function(a){(function(b){var k=a.utils.isDefined,e=function(){function d(){}d.Pc=function(b,l){a.conf.spa2?d.Mk(b,l):d.Oh(b,l)};d.Mk=function(g,l){if(k(g.status)&&0==g.status||!k(g.status)&&!k(l.response))a.l.w.I.gk(l), delete g._adrumAjaxT;else{var n=a.b.ud(g.h);if(k(a.monitor.AnySpaMonitor.vp)&&!a.monitor.AnySpaMonitor.Ta&&a.monitor.AnySpaMonitor.vp.Cb==n){l.parent(a.monitor.AnySpaMonitor.vp);if(++a.monitor.AnySpaMonitor.vp.Gf>b.Ja.maxPerPageView)return;d.Oh(g,l)}else k(a.monitor.AnySpaMonitor.vp)&&!a.monitor.AnySpaMonitor.Ta&&l.parent(a.monitor.AnySpaMonitor.vp),d.qe(l,g),b.oSTO(d.re,d.Fj);delete g._adrumAjaxT;a.l.w.I.hk(l)}};d.Oh=function(g,l){delete g._adrumAjaxT;var n={};if(g instanceof XMLHttpRequest)try{if(n= {status:g.status,getAllResponseHeaders:g.getAllResponseHeaders()},400<=g.status)if(b.isString(g.statusText))n.statusText=g.statusText;else try{n.responseText=g.responseText}catch(h){n.responseType=g.responseType}}catch(r){a.error("M104",r)}k((l.response||g).status)&&d.reportXhr(n,l)};d.reportXhr=function(b,l){d.ki(b,l);a.command("reportXhr",l)};d.qe=function(b,l){if(k(l.h)){var n=a.b.ud(l.h).guid;d.ki(l,b);k(d.ra[n])||(d.ra[n]=[]);-1==d.ra[n].indexOf(b)&&d.ra[n].push(b)}else a.logInfo("M105")};d.ki= function(a,d){var n=d.response||a,h=n.status,k;b.isNumber(h)&&d.xhrStatus(h);if(n.getAllResponseHeaders){var t=b.isFunction(n.getAllResponseHeaders)?n.getAllResponseHeaders():n.getAllResponseHeaders;d.allResponseHeaders(t)}if(400<=h){if(b.isString(n.statusText))k=n.statusText;else try{b.isString(n.responseText)&&(k=n.responseText)}catch(e){b.isString(n.responseType)&&(k=n.responseType)}d.error({status:h,msg:k})}};d.Ro=function(a,d){var n="";b.isDefined(Response)&&a instanceof Response&&a.headers.forEach(function(a, b){n+=b+": "+a+"\r\n"});d.allResponseHeaders(n)};d.Ch=function(a){d.ra[a]=[];delete d.ra[a]};d.gn=function(b,l){var n=d.ra[l];k(n)&&(n.forEach(function(d){d.parent(b);a.command("reportXhr",d)}),d.Ch(l))};d.re=function(g){for(var l in d.ra){for(var n=0,h=d.ra[l];n<h.length;n++){var r=h[n];!k(a.monitor.AnySpaMonitor.vp)&&++d.sk<=b.Ja.maxPerPageView?a.command("reportXhr",r,g):k(a.monitor.AnySpaMonitor.vp)&&++a.monitor.AnySpaMonitor.vp.Gf<=b.Ja.maxPerPageView&&a.command("reportXhr",r)}d.Ch(l)}};return d}(); e.Fj=2E3;e.ra={};e.sk=0;b.ac=e})(a.utils||(a.utils={}))})(m||(m={}));(function(a){(function(b){var k=a.utils.now,e=a.utils.ac,d=function(){function d(){}d.prototype.setUp=function(){var b=document.readyState;if("loading"===b)a.logInfo("M106"),d.po(),d.Xh();else{var n={timeStamp:k()};d.vb(n);"interactive"===b?(a.logInfo("M107"),d.Xh()):(a.logInfo("M108"),d.Rb(n),d.mh(n))}};d.Xh=function(){a.utils.addEventListener(window,"load",d.Rb);a.utils.addEventListener(window,"load",d.mh)};d.prototype.setUpOnBeforeUnload= function(){a.conf.sendBeaconOnUnload&&a.utils.addEventListener(window,"beforeunload",d.yn)};d.yn=function(){var l=b.$.Ya;if(l)for(var n in l){var h=l[n],k=h.ajaxT;!k.getRespProcTime()&&k.tempRespAvailAndProcTime&&k.markRespProcTime(k.tempRespAvailAndProcTime);!k.getRespAvailTime()&&k.tempRespAvailAndProcTime&&k.markRespAvailTime(k.tempRespAvailAndProcTime);e.Pc(h.requestObj,h.ajaxT)}d.currentBasePage&&!d.currentBasePage.isBeaconSent?(a.conf.N&&(l=a.c.vd(a.utils.fb()),d.currentBasePage.vct=l.vct,d.currentBasePage.spi= l.spi,a.conf.spa2&&(d.currentBasePage.pct=l.pct)),a.command("quickReportOnLoad",d.currentBasePage),e.re(!0)):a.channel&&a.channel.sendBeacon&&(e.re(!0),a.l.w.navComplete(a.utils.now()),a.channel.sendBeacon(!0))};d.mh=function(l){d.currentBasePage=new a.events.PageView;a.lifecycle.tn(l&&l.timeStamp);a.utils.Nh(function(){var l=k();a.lifecycle.sn(l);a.command("mark","onload",l);d.Hc=!0;a.conf.N?a.c.Zk():(b.PerformanceWrapper.perf&&(b.navMonitor.Tf(),b.resourceMonitor.Sf()),a.b.Na&&(a.b.Q(a.b.Na),a.b.Na= null),a.command("reportOnload",d.currentBasePage));!a.conf.N&&a.conf.spa2&&a.conf.modernBrowserFeaturesAvailable&&a.l.w.M.Wh();a.utils.loadScriptAsync(a.conf.adrumExtUrl)});a.logInfo("M109")};d.po=function(){if(a.utils.isFunction(document.addEventListener))document.addEventListener("DOMContentLoaded",d.vb,!1);else if(a.utils.isObject(document.attachEvent)){document.attachEvent("onreadystatechange",d.vb);var b=null;try{b=null===window.frameElement?document.documentElement:null}catch(n){}null!=b&&b.doScroll&& function r(){if(!d.isReady){try{b.doScroll("left")}catch(n){a.utils.oSTO(r,10);return}d.Rb()}}()}else a.error("M110");a.logInfo("M111")};d.Rb=function(b){d.dh||(a.lifecycle.rn(b&&b.timeStamp),a.command("mark","onready",k()),d.dh=!0)};d.vb=function(a){document.addEventListener?(document.removeEventListener("DOMContentLoaded",d.vb,!1),d.Rb(a)):"complete"===document.readyState&&(document.detachEvent("onreadystatechange",d.vb),d.Rb(a))};return d}();d.isReady=!1;d.dh=!1;d.Hc=!1;b.DOMEventsMonitor=d;d.prototype.setUpOnBeforeUnload= d.prototype.setUpOnBeforeUnload;b.domEventsMonitor=new b.DOMEventsMonitor})(a.monitor||(a.monitor={}))})(m||(m={}));(function(a){(function(b){var k=a.utils.map,e=a.utils.jp,d=a.utils.isDefined,g=a.utils.isString,l=a.utils.Yk,n=a.utils.isFunction;b.eh=function(a,b){for(var d=!1,l=0;l<b.length;l++){var n=b[l];if(n&&n.test(a)){d=!0;break}}return d};b.Mb=function(a,l,n){var g=!1;if(l&&n)for(var k=0;k<n.length;k++){var e=n[k];if(!(d(e.method)&&a!==e.method||d(e.urls)&&!b.eh(l,e.urls))){g=!0;break}}return g}; b.sb=function(a,b){return l(k(e(b),a))};b.Yb=function(a){var d=b.El(a);a=b.pg(a);return d||a};b.El=function(b){var l=b.method;if(d(l)){if(g(l))return b;a.error("M112")}};b.bp=function(a){var d=b.pg(a);return b.Ln(a)&&d};b.Ln=function(b){if(n(b.getFromBody))return b;a.error("M113")};b.Rk=function(b){for(var d=[],l=0;l<b.length;l++){var n=b[l].pattern;if(g(n))try{d.push(new RegExp(n))}catch(k){a.exception(k,"M114")}else a.error("M115")}return d};b.pg=function(a){var d=a.urls;if(d&&0<d.length&&(a.urls= b.Rk(d),0<a.urls.length))return a}})(a.utils||(a.utils={}))})(m||(m={}));(function(a){(function(b){var k=a.utils.isDefined,e=function(){function d(){}d.setUp=function(){d.exclude=[{urls:[new RegExp(a.conf.beaconUrlHttp+a.conf.corsEndpointPath),new RegExp(a.conf.beaconUrlHttps+a.conf.corsEndpointPath)]}];d.include=[];d.maxPerPageView=d.Kn(a.conf.userConf&&a.conf.userConf.xhr);d.payloadParams=[];d.parameter={};d.th(a.conf.userConf&&a.conf.userConf.xhr)};d.th=function(a){k(a)&&(d.exclude=d.exclude.concat(b.sb(b.Yb, a.exclude)),d.include=d.include.concat(b.sb(b.Yb,a.include)),d.payloadParams=d.payloadParams.concat(b.sb(b.Yb,a.payloadParams)),d.parameter=b.sb(b.bp,a.parameter))};d.Kn=function(g){if(k(g)){g=g.maxPerPageView;if(b.isNumber(g)&&0<g)return g;if("UNLIMITED"===g)return Infinity;a.reportAPIMessage(a.Z.Ci,"Invalid maxPerPageView value: "+g,"xhr.maxPerPageView",[g])}return a.conf.spa2?d.Li:d.Ki};d.Uc=function(a,l){var n=d.include,h=d.exclude;return k(n)&&0<n.length&&!b.Mb(l,a,n)||k(h)&&0<h.length&&b.Mb(l, a,h)};d.ze=function(a,l){var n=d.payloadParams;b.Mb(a.method(),a.url(),n)&&a.dataObject({data:l})};return d}();e.Ki=50;e.Li=250;b.Ja=e})(a.utils||(a.utils={}))})(m||(m={}));(function(a){(function(b){b.parseURI=function(a){var b=String(a).replace(/^\s+|\s+$/g,"").match(/^([^:\/?#]+:)?(?:\/\/(?:([^:@\/?#]*)(?::([^:@\/?#]*))?@)?(([^:\/?#]*)(?::(\d*))?))?([^?#]*)(\?[^#]*)?(#[\s\S]*)?/);a=b&&null!=a.match(b[1]+"//");return b&&{href:b[0]||"",protocol:b[1]||"",slash:a?"//":"",username:b[2]||"",password:b[3]|| "",host:b[4]||"",hostname:b[5]||"",port:b[6]||"",pathname:b[7]||"",search:b[8]||"",hash:b[9]||""}};b.absolutizeURI=function(a,e){function d(a){var b=[];a.replace(/^(\.\.?(\/|$))+/,"").replace(/\/(\.(\/|$))+/g,"/").replace(/\/\.\.$/,"/../").replace(/\/?[^\/]*/g,function(a){"/.."===a?b.pop():b.push(a)});return b.join("").replace(/^\//,"/"===a.charAt(0)?"/":"")}var g,l,n,h,r,t,u,s;s=e?b.parseURI(e):{};u=a?b.parseURI(a):{};s.protocol?(g=s.protocol,l=s.slash,n=s.username,h=s.password,r=s.host,t=d(s.pathname), u=s.search):s.host?(g=u.protocol,l=u.slash,n=s.username,h=s.password,r=s.host,t=d(s.pathname),u=s.search):(g=u.protocol,l=u.slash,n=u.username,h=u.password,r=u.host,s.pathname?("/"===s.pathname.charAt(0)?t=d(s.pathname):(t=u.pathname?u.pathname.slice(0,u.pathname.lastIndexOf("/")+1)+s.pathname:l?"/"+s.pathname:s.pathname,t=d(t)),u=s.search):(t=d(u.pathname),u=s.search||u.search));return g+l+(n?n+(h?":"+h:"")+"@":"")+r+t+u+(s.hash?s.hash:"")};b.getFullyQualifiedUrl=function(k){try{var e,d=document.location.href, g;a:{for(var l=document.getElementsByTagName("base"),n=0;n<l.length;n++){var h=l[n].href;if(h){g=h;break a}}g=void 0}e=g?b.absolutizeURI(d,g):d;return b.absolutizeURI(e,k)}catch(r){return a.exception(r,"M116",k,e),k}}})(a.utils||(a.utils={}))})(m||(m={}));(function(a){(function(b){var k=a.utils.isString,e=function(d){function g(){var a=d.call(this)||this;a.oa=0;a.oa=0;return a}v(g,d);g.prototype.Qc=function(){this.oa=0};g.B=function(b){var d=b.message||b.description,g=b.fileName||b.filename,r=b.lineNumber, t=b.columnNumber;k(b.description)&&0<=b.description.indexOf("Access is denied.")&&(d+=": maybe you have CORS XHR error in IE");a.monitor.ja.wa(d,g,r,t,b)};g.Pg=function(a){var d=document.createElement("a");d.href=a;a=document.location;var h=a.protocol;return d.protocol===h&&d.hostname===a.hostname&&g.En(b.XHRMonitor.Xk[h],d.port,a.port)};g.Nk=function(){var d=[];if(!a.utils.isBoolean(a.conf.disableAdrumHeader)&&a.utils.isDefined(a.conf.disableAdrumHeader))try{d=a.utils.sb(a.utils.Yb,a.conf.disableAdrumHeader)}catch(n){a.exception(n, "Failure in setting up ADRUM header exclude list")}b.$e.md=d;b.XHRMonitor.md=d};g.Lf=function(b,d,g){if(a.utils.isBoolean(a.conf.disableAdrumHeader))return!a.conf.disableAdrumHeader;try{return a.utils.isDefined(g)&&0<g.length&&!a.utils.Mb(d,b,g)}catch(k){return a.exception(k,"failure on canAddAdrumHeader function"),!0}};g.En=function(a,b,d){return(b||a)===(d||a)};return g}(b.gd);e.Ya={};e.Xk={"http:":"80","https:":"443"};b.$=e})(a.monitor||(a.monitor={}))})(m||(m={}));(function(a){(function(b){function k(b){var d= a.utils.isDefined(window.crypto)&&a.utils.isFunction(window.crypto.getRandomValues)?window.crypto:a.utils.isDefined(window.msCrypto)&&a.utils.isFunction(window.msCrypto.getRandomValues)&&window.msCrypto;if(d)return b=new Uint8Array(b/2),d.getRandomValues(b),[].slice.call(b).map(function(a){a=a.toString(16);return 1===a.length?"0"+a:a}).join("");for(d="";d.length<b;)d+="0123456789abcdef".charAt(Math.floor(16*Math.random()));return d}function e(a){for(var b=0;b<a.length;b++)if("0"!=a[b])return!0;return!1} function d(a){for(var b=k(a);!e(b);)b=k(a);return b}b.createTraceparentHeaderValue=function(){var a;a="00-"+d(32);a=a+"-"+d(16);return a+="-01"}})(a.TraceParentGenerator||(a.TraceParentGenerator={}))})(m||(m={}));(function(a){(function(b){var k=a.utils.Ja,e=a.utils.ac,d=a.utils.mergeJSON,g=a.events.AdrumAjax,l=a.utils.isString,n=a.utils.isDefined,h=a.utils.isNumber,r=a.utils.getFullyQualifiedUrl,t=a.conf.spa2,u=a.conf.ka;b.ab=null;b.ti=window.fetch;var s=a.conf.isZonePromise,m=null,y=function(y){function q(){return null!== y&&y.apply(this,arguments)||this}v(q,y);q.prototype.om=function(){var d=this,l=Object.getOwnPropertyDescriptor(window,"fetch");if(!l||l.configurable){l&&delete l.writable;l&&delete l.value;l||(l={configurable:!0,enumerable:!0});var g=l.set,h=l.get;l.set=function(a){!0!==a.isAgentFetch&&(n(g)&&g.apply(this,arguments),n(b.ab)||d.setUp(a))};l.get=function(){var a=b.ti;n(h)&&(a=h.apply(this,arguments));n(b.ab)&&(a=b.ab);return a}}Object.defineProperty(window,"fetch",l);s&&a.utils.ce()&&(window.fetch= window.fetch)};q.prototype.setUp=function(l){var h=this;l=l||window.fetch||b.ti;a.logInfo("M117");if(n(l)&&!l.isAgentFetch){var r=function(d){return function(l,g){var k={$c:arguments,Ge:null};if(h._adrumAjaxT){a.logInfo("M118",h._adrumAjaxT.url(),h._adrumAjaxT.method());var r=a.utils.now();b.$.Pg(h._adrumAjaxT.url())&&b.$.Lf(h._adrumAjaxT.url(),h._adrumAjaxT.method(),q.md)&&(k.$c=q.Zj(k,arguments));q.fo(h._adrumAjaxT,k.$c);var t=d.apply(this,k.$c),u=new window.Promise(function(b,d){t.then(function(d){a.logInfo("M119", h._adrumAjaxT.url());a.logInfo("M120",r,h._adrumAjaxT.url());e.Ro(d,u._adrumAjaxT);u._adrumAjaxT.markFirstByteTime(u._adrumAjaxT.getFirstByteTime()||a.utils.now());u._adrumAjaxT.response=d;u._adrumAjaxT.traceParent(k.Ge);p(d.clone)?(a.logInfo("M121",h._adrumAjaxT.url()),d.clone().text().then(function(a){q.Yl(a,u)})["catch"](function(a){q.eg(u,a)})):(a.logInfo("M122",h._adrumAjaxT.url()),q.uo(u,d));b(d)})["catch"](function(b){a.logInfo("M123",h._adrumAjaxT.url());u._adrumAjaxT.markFirstByteTime(u._adrumAjaxT.getFirstByteTime()|| a.utils.now());q.eg(u);d(b)})});u._adrumAjaxT=h._adrumAjaxT;u.L=!0;u._adrumAjaxT.timestamp(r);u._adrumAjaxT.markSendTime(r);u._adrumAjaxT.parentPhase(a.lifecycle.getPhaseName());a.conf.spa2&&n(b.AnySpaMonitor.vp)&&n(b.AnySpaMonitor.vp.userPageName)&&u._adrumAjaxT.parentPageName(b.AnySpaMonitor.vp.userPageName);q.jo(u._adrumAjaxT,arguments);a.logInfo("M124",r,h._adrumAjaxT.url());u.h=new a.bc(a.b.sa(),new a.Ka("window.fetch"),a.CauseType.FETCH);return u}return d.apply(this,k.$c)}};r.isAgentFetch=!0; b.ab=a.aop.around(r(l),function(){var l=q.Rl(arguments),n=Array.prototype.slice.call(arguments);if(!t&&++h.oa+b.xhrMonitor.oa>k.maxPerPageView||k.Uc(l.url,l.method))a.logInfo("M125",l.url),delete h._adrumAjaxT;else return h._adrumAjaxT=new g(d(l,h.status)),h.h=a.b.Qa("window.fetch.send",void 0,a.b.sa(),a.CauseType.FETCH),u&&(l=a.utils.Sa("window.fetch.send")||"",h.h.pa=l),n[n.length]={adrumArgs:{cEventId:h.h.guid}},a.b.va(h.h),n},function(){if(h._adrumAjaxT)if(!t&&h.oa+b.xhrMonitor.oa>k.maxPerPageView)a.logInfo("M126", h._adrumAjaxT.url());else if(k.Uc(h._adrumAjaxT.url(),h._adrumAjaxT.method()))a.logInfo("M127",h._adrumAjaxT.url());else{var d=a.utils.Od(arguments,"cEventId");a.l.w.I.zf(h._adrumAjaxT);a.b.Q(d)}},"fetch",b.$.B);b.ab.isAgentFetch=!0;window.fetch=b.ab}};q.rg=function(){m||(m=new q);return m};q.Yl=function(b,d){var l=a.utils.now();if(q.da(d)){d._adrumAjaxT.response.responseText=b;q.$g(d._adrumAjaxT,l);var g=d._adrumAjaxT.getRespProcTime();n(g)||n(d._adrumAjaxT.C)&&0!==d._adrumAjaxT.C||(a.logInfo("M128", l,d._adrumAjaxT.url()),d._adrumAjaxT.markRespProcTime(l),q.pb(d))}};q.eg=function(b,d){if((!d||d.code!==d.ABORT_ERR)&&b&&b._adrumAjaxT){a.logInfo("M129",b._adrumAjaxT.url());var l=a.utils.now();q.da(b)&&(q.$g(b._adrumAjaxT,l),q.ah(b._adrumAjaxT,l),q.pb(b))}};q.$g=function(b,d){var l=b.getRespAvailTime();n(l)||(a.logInfo("M130",d,b.url()),b.markRespAvailTime(d))};q.ah=function(b,d){var l=b.getRespProcTime();if(n(l))return!1;a.logInfo("M131",d,b.url());b.markRespProcTime(d);return!0};q.uo=function(a, b){b.pk=q.Zb(a,b.pk);b.xk=q.Zb(a,b.xk);b.ql=q.Zb(a,b.ql);b.an=q.Zb(a,b.an);b.text=q.Zb(a,b.text)};q.Zb=function(b,d){return a.aop.around(d,function(){q.da(b)&&b._adrumAjaxT.markRespAvailTime(a.utils.now())},function(){q.da(b)&&(b._adrumAjaxT.markRespProcTime(a.utils.now()),q.pb(b))},"wrapResponseReader",a.monitor.ErrorMonitor.B)};q.Zj=function(a,b){1==b.length?l(b[0])?([].push.call(b,{}),q.rd(a,b[1])):q.rd(a,b[0]):2==b.length&&q.rd(a,b[1]);return b};q.rd=function(b,d){if(n(d)&&(n(d.headers)||(d.headers= new Headers,a.logInfo("M132")),d.headers instanceof Headers?d.headers.has("ADRUM")?d.headers.set("ADRUM","isAjax:true"):d.headers.append("ADRUM","isAjax:true"):d.headers.ADRUM="isAjax:true",a.conf.traceparentHeaderEnabled)){var l=a.TraceParentGenerator.createTraceparentHeaderValue(),g=l.split("-")[1];d.headers instanceof Headers?(d.headers.append("traceparent",l),d.headers.append("trace-id",g)):(d.headers.Ge=l,d.headers["trace-id"]=g);b.Ge=l}};q.fo=function(b,d){1==d.length&&!a.utils.isString(d[0])&& d[0]instanceof Request&&(b.Fh=d[0].clone())};q.jo=function(b,d){2<=d.length&&a.utils.isObject(d[1])&&n(d[1].body)&&k.ze(b,d[1].body)};q.ko=function(b){return a.utils.isDefined(b.Fh)?b.Fh.text().then(function(a){k.ze(b,a)}):window.Promise.resolve()};q.Rl=function(b){var d={url:"",method:""};a.utils.isObject(b[0])?(d.url=b[0].url||(a.utils.isDefined(b[0].toString)?b[0].toString():void 0),d.method=b[0].method||"GET"):l(b[0])&&(d.url=b[0],d.method=b[1]&&b[1].method||"GET");d.url=n(d.url)?d.url:"";d.url= r(d.url);d.method=d.method;return d};q.im=function(b){var d;n(d)||(a.logInfo("M133",b._adrumAjaxT.url()),d=1);n(b._adrumAjaxT.C)&&h(b._adrumAjaxT.C)&&(b._adrumAjaxT.C+=d,a.logInfo("M134",b._adrumAjaxT.C,b._adrumAjaxT.url()))};q.nc=function(b){var d;n(d)||(a.logInfo("M135",b._adrumAjaxT.url()),d=1);n(b._adrumAjaxT.C)&&h(b._adrumAjaxT.C)&&(b._adrumAjaxT.C-=d,a.logInfo("M136",b._adrumAjaxT.C,b._adrumAjaxT.url()))};q.da=function(a){return n(a._adrumAjaxT)};q.wc=function(a){return n(a._adrumAjaxT)&&n(a._adrumAjaxT.C)}; q.To=function(b,d){b._adrumAjaxT=d._adrumAjaxT;b._adrumAjaxT.C+=b.G;a.logInfo("M137",b._adrumAjaxT.C,d._adrumAjaxT.url());b.G=0};q.cp=function(a){var b=!1;q.da(a)&&n(a._adrumAjaxT.C)&&(q.im(a),b=!0);return b};q.pb=function(b){q.ko(b._adrumAjaxT)["catch"](function(d){a.logInfo("M138",b._adrumAjaxT.url(),d)})["finally"](function(){e.Pc(b,b._adrumAjaxT)})};q.Ne=function(b){var d=a.utils.now();return 0===b._adrumAjaxT.C&&n(b._adrumAjaxT)?q.ah(b._adrumAjaxT,d):!1};q.Me=function(b){var d=!1,l=a.utils.now(), g=b._adrumAjaxT.getRespAvailTime();n(g)||(b._adrumAjaxT.markRespAvailTime(l),d=!0);return d};q.km=function(b){a.logInfo("M139",b._adrumAjaxT.url());b._adrumAjaxT.C=0};return q}(b.$);b.$e=y;b.Hb=y.rg()})(a.monitor||(a.monitor={}))})(m||(m={}));(function(a){(function(b){var k=a.utils.isObject,e=a.utils.map,d=a.utils.reduce,g=a.utils.filter,l=a.utils.isDefined,n=a.utils.isString,h=a.utils.mergeJSON,r=a.utils.La,t=a.utils.Ja,u=a.utils.ac,s=a.conf.spa2,m=a.conf.ka,y=function(y){function q(){var b=y.call(this)|| this;b.Ee=!1;if(!0===window["adrum-xhr-disable"])return a.logInfo("M140"),b;if(!window.XMLHttpRequest)return a.logInfo("M141"),b;b.H=window.XMLHttpRequest.prototype;if(!b.H)return a.logInfo("M142"),b;if(!("open"in b.H&&"send"in b.H))return a.logInfo("M143"),b;b.Ee=a.aop.support(b.H.open)&&a.aop.support(b.H.send);b.Ee||a.logInfo("M144");return b}v(q,y);q.prototype.setUp=function(){if(this.Ee){a.logInfo("M145");a.xhrConstructor=window.XMLHttpRequest;a.xhrOpen=this.xhrOpen=this.H.open;a.xhrSend=this.xhrSend= this.H.send;t.setUp();b.$.Nk();var d=this;this.H.open=a.aop.around(this.H.open,function(){q.Nm(this)&&(4===this.readyState?(a.logInfo("M146"),q.hl(this._adrumAjaxT),delete this.Gp,u.reportXhr(this,this._adrumAjaxT)):a.logInfo("M147",this._adrumAjaxT.url()));var n=1<=arguments.length?String(arguments[0]):"",g=2<=arguments.length?String(arguments[1]):"",g=a.utils.getFullyQualifiedUrl(g);!s&&d.oa+b.Hb.oa>t.maxPerPageView||t.Uc(g,n)||(this._adrumAjaxT=new a.events.AdrumAjax(h({method:n,url:g},d.status)), a.conf.spa2&&l(b.AnySpaMonitor.vp)&&l(b.AnySpaMonitor.vp.userPageName)&&this._adrumAjaxT.parentPageName(b.AnySpaMonitor.vp.userPageName))},null,"XHR.open",b.$.B);this.H.send=a.aop.around(this.H.send,function(l){var g=this,h=this._adrumAjaxT,k=!1;if(!(!h||!s&&++d.oa+b.Hb.oa>t.maxPerPageView)){var r=a.utils.now(),u=h.getSendTime();a.assert(null===u,"M148");h.timestamp(r);h.markSendTime(u||r);h.parentPhase(a.lifecycle.getPhaseName());g.h=a.b.Qa("XHR.send",void 0,a.b.sa(),a.CauseType.XHR);m&&(r=a.utils.Sa("XHR.send")|| "",g.h.pa=r);b.$.Pg(h.url())&&b.$.Lf(h.url(),h.method(),q.md)?(g.setRequestHeader("ADRUM","isAjax:true"),a.conf.traceparentHeaderEnabled&&(r=a.TraceParentGenerator.createTraceparentHeaderValue(),g.setRequestHeader("traceparent",r),g.setRequestHeader("trace-id",r.split("-")[1]),h.traceParent(r))):a.logInfo("M149",document.location.href,h.url());t.ze(h,l);l=q.Nl(h.url(),t.parameter,l);h.parameter(l);var e=0,y=function(){if(4==g.readyState)k?a.logInfo("M150"):(a.logInfo("M151"),d.cd(g));else{var b=null; try{a.conf.isAbapApp||(b=g.onreadystatechange)}catch(l){if(k){a.logInfo("M152",l);return}a.logInfo("M153",l);d.cd(g);return}e++;b?a.aop.support(b)?(g.onreadystatechange=q.Wf(b,"XHR.onReadyStateChange"),n&&d.wi.call(g,"readystatechange",q.Yf),a.logInfo("M154",e)):n||(a.logInfo("M155"),d.cd(g)):e<q.Vj?setTimeout(y,0):k?a.logInfo("M156"):(a.logInfo("M157"),d.cd(g))}};if(n){a.logInfo("M158");try{d.pp.call(g,"readystatechange",q.Yf),k=!0}catch(w){a.error("M159",w)}}y.usedByAgent=!0;y()}},function(){if(s){var b= this._adrumAjaxT;b&&a.l.w.I.zf(b)}},"XHR.send",b.$.B);var n="addEventListener"in this.H&&"removeEventListener"in this.H&&a.aop.support(this.H.addEventListener)&&a.aop.support(this.H.removeEventListener);if(n){var g=a.utils.lg(this.H,"addEventListener");this.pp=g.addEventListener;g.addEventListener=a.aop.around(g.addEventListener,function(b,d,g){if(l(d)&&(d.L=!0,this instanceof XMLHttpRequest&&/^(load|error|readystatechange)$/.test(b)&&d)){var n=q.No(d);if(n){var h=r(arguments);h[1]=n;a.logInfo("M160"); return h}a.logInfo("M161",b,d)}},null,"XHR.addEventListener");g=a.utils.lg(this.H,"removeEventListener");this.wi=g.removeEventListener;g.removeEventListener=a.aop.around(g.removeEventListener,function(b,l,g){if(this instanceof XMLHttpRequest&&this._adrumAjaxT){var n=r(arguments);l.__adrumInterceptor?(n[1]=l.__adrumInterceptor,a.logInfo("M162"),d.wi.apply(this,n)):a.logInfo("M163")}},null,"XHR.removeEventListener")}else a.logInfo("M164");a.logInfo("M165")}};q.Nl=function(b,l,n){if(l&&(l=g(e(g(l,function(d){return a.utils.eh(b, d.urls)}),function(a){return a.getFromBody(n)}),k),0<l.length))return d(l,h,{})};q.Ud=function(b){var d=b._adrumAjaxT;if(d){var l=a.utils.now();2==b.readyState?d.markFirstByteTime(d.getFirstByteTime()||l):4==b.readyState&&(d.markRespAvailTime(d.getRespAvailTime()||l),d.markFirstByteTime(d.getFirstByteTime()||l),d.markRespProcTime(d.getRespProcTime()||l),this.Ya[d.guid()]={requestObj:b,ajaxT:b._adrumAjaxT},l=b.h=a.b.Qa("XHR.load",void 0,b.h,a.CauseType.XHR),m&&(b=a.utils.Sa("XHR.onreadystatechange."+ b.readyState)||"",l.pa=b),a.b.va(l),d.yh=l.guid)}};q.yg=function(b){var d=b._adrumAjaxT;if(d&&4==b.readyState){delete this.Ya[d.guid()];var l=a.utils.now(),n=d.getRespProcTime();d.markRespAvailTime(d.getRespAvailTime()||l);l>n&&d.markRespProcTime(l);u.Pc(b,d);a.b.Q(d.yh)}};q.Wf=function(a,b){return q.qp(a,function(){q.Ud(this)},function(){q.yg(this)},b)};q.Yf=function(){q.Ud(this);q.yg(this)};q.Nm=function(a){return l(a._adrumAjaxT)&&n(a._adrumAjaxT._url)};q.hl=function(b){var d=a.utils.now();b.markRespAvailTime(b.getRespAvailTime()|| d);b.markFirstByteTime(b.getFirstByteTime()||d);b.markRespProcTime(b.getRespProcTime()||d)};q.prototype.cd=function(b){if(b._adrumAjaxT){var d=a.utils.now()+3E4,l=function(){q.Ud(b);var n=b._adrumAjaxT;if(n){var g=a.utils.now();4==b.readyState?(a.assert(null===n.getRespProcTime(),"M166"),n.markRespProcTime(n.getRespProcTime()||g),a.logInfo("M167"),u.Pc(b,n),a.b.Q(n.yh)):g<d?a.utils.oSTO(l,q.Ye):(delete b._adrumAjaxT,a.logInfo("M168"))}};l()}};q.qp=function(b,d,l,n){var g=b;b&&"object"===typeof b&& "toString"in b&&"[xpconnect wrapped nsIDOMEventListener]"===b.toString()&&"handleEvent"in b&&(g=function(){b.handleEvent.apply(this,r(arguments))});return a.aop.around(g,d,l,n)};q.No=function(b){if(b.__adrumInterceptor)return b.__adrumInterceptor;if(a.aop.support(b)){var d=q.Wf(b,"XHR.invokeEventListener");return b.__adrumInterceptor=d}};return q}(b.$);y.Vj=5;y.Ye=50;b.XHRMonitor=y;b.xhrMonitor=new b.XHRMonitor})(a.monitor||(a.monitor={}))})(m||(m={}));(function(a){(function(b){var k=a.utils.ac,e= function(d){function g(b){b=d.call(this,b)||this;b.perf=new a.PerformanceTracker;b.mc=!1;b.Gf=0;return b}v(g,d);g.prototype.type=function(){return a.EventType.VPageView};g.prototype.Nd=function(){return b.EventTracker.qd(this.guid(),this.url(),this.type())};g.prototype.Be=function(){var b=this.Nd();a.monitor.ja.set("parent",b);a.logInfo("M169",b.guid(),b.url())};g.prototype.startCorrelatingXhrs=function(){a.logInfo("M170");a.utils.isDefined(this.Cb)&&!a.monitor.AnySpaMonitor.Ta&&k.gn(this,this.Cb.guid)}; g.prototype.start=function(){this.startCorrelatingXhrs();this.Be()};return g}(b.EventTracker);b.AnySpaVPageView=e;b.Ma(b.K[a.EventType.VPageView],e.prototype)})(a.events||(a.events={}))})(m||(m={}));(function(a){a.report=function(b){a.utils.isObject(b)&&a.utils.isFunction(b.type)?-1==[a.EventType.PageView,a.EventType.Ajax,a.EventType.VPageView,a.EventType.Error].indexOf(b.type())?a.reportAPIMessage(a.Z.xa,b.type()+"is not a valid external event type","ADRUM.report",Array.prototype.slice.call(arguments)): a.conf.spa2&&a.EventType.VPageView==b.type()?a.logInfo("M171"):a.utils.Nh(function(){a.command("reportEvent",b)}):a.reportAPIMessage(a.Z.Se,"","ADRUM.report",Array.prototype.slice.call(arguments))};a.setVirtualPageName=function(b){a.utils.isString(b)&&0<a.utils.trim(b).length&&a.conf.spa2&&a.monitor.AnySpaMonitor.vp&&a.monitor.AnySpaMonitor.Sh(b)};a.markVirtualPageBegin=function(b,k){a.conf.spa2&&(this.hb=a.utils.isDefined(k)?k:!0,a.logInfo("M172",document.URL),a.monitor.AnySpaMonitor.ye(document.URL, b,!0),a.monitor.AnySpaMonitor.Uh())};a.markVirtualPageEnd=function(){a.conf.spa2&&this.hb&&(a.logInfo("M173",a.monitor.AnySpaMonitor.ma),a.monitor.AnySpaMonitor.bh(a.monitor.AnySpaMonitor.vp.startTime,a.utils.now()),this.hb=!1)};a.pauseReporting=function(b){a.conf.isReportingPaused=b;a.logInfo("M174",b)};a.setAppReleaseId=function(b){a.conf.releaseId=a.conf.releaseId||b}})(m||(m={}));(function(a){(function(b){var k=a.utils.isDefined,e=a.aop.after,d=a.aop.before,g=a.utils.getFullyQualifiedUrl,l=a.conf.disableUsingCauseStart, n=function(){function n(){}n.prototype.setUp=function(){var b=!1;n.Aa=a.utils.fb();n.oo();a.l.w.setUp(a.utils.now());n.ma=document.URL;n.Kd=[];a.utils.isDefined(window.history)&&a.utils.isFunction(window.history.pushState)&&(b=!0,n.yf("push"));a.utils.isDefined(window.history)&&a.utils.isFunction(window.history.replaceState)&&(b=!0,n.yf("replace"));n.Kd=n.Kd.concat(a.utils.sb(a.utils.Yb,a.conf.userConf&&a.conf.userConf.spa&&a.conf.userConf.spa.spa2&&a.utils.isObject(a.conf.userConf.spa.spa2)&&a.conf.userConf.spa.spa2.vp&& a.conf.userConf.spa.spa2.vp.exclude));if(a.utils.isDefined(window.addEventListener)){var b=!0,d=function(){n.ma==document.URL||n.be||n.Vh()};d.L=!0;window.addEventListener("popstate",d)}b||a.logInfo("M175")};n.yf=function(a){switch(a){case "push":window.history.pushState=n.Yh(window.history.pushState,a);break;case "replace":window.history.replaceState=n.Yh(window.history.replaceState,a)}};n.Yh=function(d,l){var g=l[0].toUpperCase()+l.slice(1);return a.aop.around(d,function(d,g,k){(n.vp&&n.vp.mc|| n.zg(k))&&b.DOMEventsMonitor.Hc&&!a.hb&&(a.logInfo("M176",l),n.ye(document.URL))},function(d,g,k){if(n.vp&&n.vp.mc||n.zg(k))b.DOMEventsMonitor.Hc&&(a.hb?(a.logInfo("M177",l),n.vp.url(document.URL)):(a.logInfo("M178",l),n.Uh())),n.ma=document.URL},"history"+g+"State")};n.zg=function(a){return a&&n.ma!==g(a)};n.Vh=function(){n.be=!0;var d=document.URL;a.logInfo("M179",n.ma,d);b.DOMEventsMonitor.Hc&&(a.hb?(a.logInfo("M180"),n.vp.url(document.URL)):(n.ye(n.ma),n.Ce(d)));n.ma=d;n.be=!1};n.oo=function(){var b; a.b.va=e(a.b.va,function(){b=location.hash});a.b.Q=d(a.b.Q,function(){b==location.hash||n.ma==document.URL||n.be||n.Vh()})};n.ye=function(a,b,d){n.co();n.Ta=!1;n.Vf(a,b,d)};n.Uh=function(){var a=document.URL;n.Ce(a);n.ma=a};n.Tp=function(){n.Ta=!0;n.Vf(n.ma);n.Ce()};n.co=function(){var d=a.l.w;a.conf.N&&a.l.cc.Wa&&a.utils.isDefined(b.DOMEventsMonitor.currentBasePage)&&(a.logInfo("M181"),d.I.k||d.M.k?d.navComplete(a.utils.now()):d.navComplete(a.utils.max(d.I.Ca,d.M.la)),d.reset());n.Ta||!a.utils.isDefined(n.vp)|| n.vp.Eh||(a.logInfo("M182"),d=n.Bl(a.l.w.k),n.bh(n.vp.startTime,d))};n.Bl=function(b){var d=a.utils.now();b?(d=n.Cl(a.l.w.jb),a.l.w.reset()):d=n.vp.endTime;return d};n.xo=function(b,d){return n.vp.mc?!1:k(d)&&0<d.length&&a.utils.Mb(void 0,b,d)};n.Cl=function(b){var d=a.utils.now();b?a.l.w.M.nk()||a.l.w.I.ok()||(d=a.utils.max(a.l.w.M.la,a.l.w.I.Ca)):d=a.l.w.startTime;return d};n.bh=function(a,b){n.ee(a,b);n.Zg(a);n.report()};n.Sh=function(b){a.utils.isDefined(b)&&(n.vp.userPageName=b)};n.Vf=function(b, d,g){n.reset();n.vp=new a.events.AnySpaVPageView;n.vp.startUrl=b;n.Sh(d);a.utils.isBoolean(g)&&(n.vp.mc=g);b=a.b.td();n.Ta?n.vp.startTime=a.utils.fb():(d=a.utils.now(),g=b?b.start:d,l||(d=g),n.vp.startTime=d);n.vp.endTime=n.vp.startTime;n.vp.timestamp(n.vp.startTime);n.vp.Cb=b};n.Ce=function(b){a.utils.isDefined(b)&&n.vp.url(b);n.vp.start();a.hb||a.l.w.start(a.utils.now())};n.ee=function(b,d){a.utils.isDefined(n.vp)&&(a.conf.N&&n.Ek(b),a.utils.isDefined(d)?n.vp.endTime=a.conf.N?d-b>n.vp.vct?d:n.vp.vct+ b:d:n.vp.endTime=b)};n.Ek=function(b){a.logInfo("M183");b=a.c.vd(b);n.vp.vct=b.vct;n.vp.spi=b.spi;a.c.reset()};n.Zg=function(d){a.utils.isDefined(n.vp)&&n.vp.resTiming(b.resourceMonitor.Tl(n.Aa,d))};n.xc=function(){var b=a.b.Wl();return a.utils.isDefined(b)&&a.utils.isDefined(n.vp)&&(!a.utils.isDefined(n.vp.Cb)||n.vp.Cb!=b)};n.report=function(){if(a.utils.isDefined(n.vp))if(n.xo(n.vp.url(),n.Kd))a.logInfo("M185",n.vp.url());else{a.logInfo("M186");var d=n.vp;if(d.Eh)a.logInfo("M187");else{var l=a.utils.isDefined(b.DOMEventsMonitor.currentBasePage)? b.DOMEventsMonitor.currentBasePage.url():document.URL;d.parentUrl(l);a.command("call",function(){a.reporter.reportEvent(d)});d.Eh=!0}}else a.logInfo("M184")};n.reset=function(){n.vp=null};return n}();b.AnySpaMonitor=n;b.mk=new b.AnySpaMonitor})(a.monitor||(a.monitor={}))})(m||(m={}));(function(a){(function(b){var k=a.utils.isDefined,e=function(d){function g(){var b=null!==d&&d.apply(this,arguments)||this;b.bn=function(d){var h=d.message,k=d.filename,e=d.lineno,u=d.colno;d=d.error;a.logInfo("M188"); if(a.utils.isDefined(d)||g.Ec)a.logInfo("M189"),g.Ec=!0,b.wa(h,k,e,u,d)};b.cn=function(d){var g=d.blockedURI,k=d.columnNumber,e=d.lineNumber,u=d.effectiveDirective,s=d.violatedDirective;d=d.sourceFile;a.logInfo("M190");g=a.utils.isDefined(g)?g:"";u=a.utils.isDefined(u)?u:"";s=a.utils.isDefined(s)?s:"";d=a.utils.isDefined(d)?d:"";b.wa("SecurityPolicyViolation: blockedURI = "+g+" & effectiveDirective = "+u+" & violatedDirective = "+s+" & sourceFile = "+d,void 0,e,k,void 0)};return b}v(g,d);g.B=function(b){a.monitor.ja.wa(b.message|| b.description,b.fileName||b.filename,b.lineNumber,b.columnNumber,b)};g.up=function(b){var d=a.utils.isDefined(b.blockedURI)?b.blockedURI:"",g=a.utils.isDefined(b.documentURI)?b.documentURI:"";b=a.utils.isDefined(b.effectiveDirective)?b.effectiveDirective:"";a.monitor.ja.wa("blockedURI = "+d+"& documentURI = "+g+"? effectiveDirective = "+b,void 0,void 0,void 0,void 0)};g.prototype.setUp=function(){var b=this;d.prototype.setUp.call(this);a.utils.addEventListener(window,"error",this.bn,!0);a.utils.addEventListener(window, "securitypolicyviolation",this.cn,!0);a.listenForErrors=function(){b.Wg()};this.Wg()};g.prototype.Un=function(){g.Jd=0};g.prototype.Wm=function(b){return b?a.utils.isString(b)?0<b.length:a.utils.isObject(b)?!0:!1:!1};g.prototype.wa=function(d,n,h,e,t){this.Wm(d)?g.Jd>=a.conf.pj?a.logInfo("M192"):(t=a.utils.tryExtractingErrorStack(t),d=new a.events.Error(a.utils.mergeJSON({msg:d+"",url:a.utils.isString(n)?n:void 0,line:a.utils.isNumber(h)?h:void 0,col:a.utils.isNumber(e)?e:void 0,stack:t},this.status)), a.conf.spa2&&k(b.AnySpaMonitor.vp)&&k(b.AnySpaMonitor.vp.userPageName)&&d.parentPageName(b.AnySpaMonitor.vp.userPageName),a.command("reportPageError",d),g.Jd++,g.hadErrors=!0):a.logInfo("M191")};g.prototype.Wg=function(){var b=this;g.Ec=!1;a.aop.support(window.onerror)?(window.onerror=a.aop.around(window.onerror,function(d,h,k,e,u){g.Ec?a.logInfo("M193"):g.$d?a.logInfo("M195"):(a.logInfo("M194"),b.wa(d,h,k,e,u),g.$d=!0)},function(){a.logInfo("M196");g.$d=!1},"onerror"),a.logInfo("M197")):a.logInfo("M198")}; return g}(b.gd);e.$d=!1;e.Jd=0;e.hadErrors=!1;e.Ec=!1;b.ErrorMonitor=e;b.ja=new b.ErrorMonitor})(a.monitor||(a.monitor={}))})(m||(m={}));(function(a){(function(b){var k=a.logInfo,e=a.aop.after,d=function(d){function l(){return null!==d&&d.apply(this,arguments)||this}v(l,d);l.prototype.setUp=function(){a.utils.map(["error","exception"],function(b){var d=C[b];a.utils.isFunction(d)&&a.aop.support(d)?(k("M199",b),C[b]=e(d,function(a){k("M200",b,a);l.ak(a)})):k("M201",b)});b.ja.wa=e(b.ja.wa,function(){0< l.Ba.length?(k("M202"),l.Ba=[]):k("M203")})};l.ak=function(b){l.Ba.length>=a.conf.jj?k("M204"):a.utils.isString(b)?(k("M205",b),l.Ba.push(b),a.utils.oSTO(l.Dh)):a.utils.isObject(b)?(b=a.utils.toJSONString(b),null!==b?(k("M206",b),l.Ba.push(b),a.utils.oSTO(l.Dh)):a.error("M207")):k("M208",typeof b)};l.Dh=function(){0<l.Ba.length?(k("M209"),l.Ba.forEach(function(a){b.ja.wa(a)}),l.Ba=[]):k("M210")};return l}(b.gd);d.Ba=[];b.wp=d;b.Kk=new d})(a.monitor||(a.monitor={}))})(m||(m={}));(function(a){(function(b){var k= function(b){function d(a){return b.call(this,a)||this}v(d,b);d.prototype.type=function(){return a.EventType.WebVital};return d}(b.EventTracker);b.WebVitalView=k;b.Ma(b.K[a.EventType.WebVital],k.prototype)})(a.events||(a.events={}))})(m||(m={}));(function(a){(function(b){var k=function(){function b(a){this.Fe=null;this.k=!1;this.promise=null;this.mn=a}b.prototype.start=function(){var b=this;this.k||(this.promise=new window.Promise(function(a){b.Fe=setTimeout(function(){b.k=!1;a()},b.mn);b.k=!0})); if(this.promise)return this.promise;throw new a.Error("Timeout not started");};b.prototype.cancel=function(){this.k&&this.Fe&&(clearTimeout(this.Fe),this.k=!1,this.promise=null)};return b}();b.Sj=k})(a.utils||(a.utils={}))})(m||(m={}));(function(a){var b=function(){function b(){}b.bk=function(e){try{b.mb.push(e),b.vo()&&(b.tc(),b.timeout.cancel())}catch(d){a.logInfo("CWV - CoreWebVitalsQueue -- Error in addMetric")}};b.so=function(){try{a.logInfo("CWV - CoreWebVitalsQueue -- setup"),addEventListener("visibilitychange", function(){"hidden"===document.visibilityState&&b.tc()}),addEventListener("pagehide",b.tc),b.timeout=new a.utils.Sj(b.Bj),b.$h()}catch(e){a.logInfo("CWV - CoreWebVitalsQueue -- Error in setup")}};b.io=function(){b.tk=document.URL};b.vo=function(){try{for(var e=[],d=0;d<b.mb.length;d++){var g=b.mb[d];e.push(g.name&&g.name.toLocaleLowerCase())}return b.Lk.every(function(a){return-1!==e.indexOf(a)})}catch(l){return a.logInfo("CWV - CoreWebVitalsQueue -- Error in shouldFlushQueue"),!1}};b.tc=function(){try{if(0< b.mb.length){a.logInfo("CWV - CoreWebVitalsQueue -- Flushing Queue");var e=[];b.mb.forEach(function(a){var d=a.name&&a.name.toLowerCase();e.push({webVitalValue:a.value&&parseFloat(a.value.toFixed(3)),webVitalRating:a.rating,webVitalName:d});b.ek(d)});var d=new a.events.WebVitalView({coreWebVitalsMetrics:e});d.url(b.tk);a.command("reportWebVital",d);b.reset()}b.Ik()}catch(g){a.logInfo("CWV - CoreWebVitalsQueue -- Error in flushQueue")}};b.$h=function(){try{b.timeout.cancel(),b.timeout.start().then(function(){b.tc()})}catch(e){a.logInfo("CWV - CoreWebVitalsQueue -- Error in startTimer")}}; b.reset=function(){b.mb=[]};b.ek=function(a){-1!==b.we.indexOf(a)&&b.we.push(a)};b.Ik=function(){try{["cls","lcp"].every(function(a){return-1!==b.we.indexOf(a)})?(a.logInfo("CWV - CoreWebVitalsQueue -- All events collected"),b.timeout.cancel()):b.$h()}catch(e){a.logInfo("CWV - CoreWebVitalsQueue -- Error in checkForCompletion")}};return b}();b.mb=[];b.Bj=12E4;b.Lk=["cls","lcp","fid"];b.we=[];a.fd=b})(m||(m={}));(function(a){(function(b){var k=a.utils.isDefined,e=function(){function b(){}b.prototype.setUp= function(){function g(){if(n>=l)a.logInfo("CWV - Failed to load cwv script after "+l+" attempts.");else{var h=document.createElement("script"),e=a.conf.elementIdWithNonce;h.type="text/javascript";h.async=!0;h.src="https://cdn.appdynamics.com/adrum/web-vitals/web-vitals.iife.3.3.2.js";e&&k(a.utils.trim(e))&&(e=document.getElementById(e))&&(e=e.nonce,e=a.utils.trim(e),k(e)&&!a.utils.Am(e)&&h.setAttribute("nonce",e));h.onload=function(){b.webVitalsGlobal=window.webVitals;b.qo()};h.onerror=function(){a.logInfo("CWV - Failed to load cwv script, retrying..."); n++;g()};document.head.appendChild(h)}}var l=3,n=0;g()};b.qo=function(){if(k(b.webVitalsGlobal)){var g={reportAllChanges:!1};b.webVitalsGlobal.onFID(b.ke,g);b.webVitalsGlobal.onCLS(b.ke,g);b.webVitalsGlobal.onLCP(b.ke,g);a.fd.so();a.fd.io()}else a.logInfo("CWV - webVitalsGlobal is not defined")};b.ke=function(b){a.logInfo("CWV - Metric reported "+b.name+" -- "+b.value+" -- "+b.rating);a.fd.bk(b)};return b}();b.WebVitalsMonitor=e;b.hp=new b.WebVitalsMonitor})(a.monitor||(a.monitor={}))})(m||(m={})); (function(a){var b=a.utils.isDefined,k=a.utils.Dm,e=a.utils.isNumber,d=a.monitor.$e,g=a.conf.ka;a.si=window.Promise;a.jc=null;a.Iq=null;a.rf=Object.defineProperty;var l=a.conf.spa2&&a.conf.modernBrowserFeaturesAvailable,n=a.conf.isZonePromise,h=a.conf.fetch,r=function(){function h(){}h.qm=function(){Object.defineProperty=a.aop.around(a.rf,function(a,d,n){"Promise"===d&&b(n)&&h.Hg(n)});if(n&&a.utils.ce()){a.logInfo("M211");var d=Object.getOwnPropertyDescriptor(window,"Promise");h.Hg(d);a.rf(window, "Promise",d);window.Promise=window.Promise}};h.Hg=function(d){b(window.Zone)&&b(window.Zone.assertZonePatched)&&(window.Zone.assertZonePatched=function(){});d=d||Object.getOwnPropertyDescriptor(window,"Promise");var n=d.set,l=d.get;p(n)&&(d.set=function(d){!0===d.agentPromise?a.logInfo("M212"):(n.apply(this,arguments),b(a.jc)?n.apply(this,arguments):(a.logInfo("M213"),h.setUp()))});p(l)&&(d.get=function(){var d=l.apply(this,arguments);b(a.jc)&&(a.logInfo("M214"),d=a.jc);return d})};h.setUp=function(){if(b(a.si)){h.tm(); h.sm();var d=function(d){function n(g){var k=this.constructor,e=g;this.ba=a.utils.generateGUID();b(g)&&(e=h.rm(g,this));g=a.utils.Yj(this,d,[e],k);l&&(b(this.h)&&(g.h=this.h),b(this.Xa)?g.h=this.Xa.h:g.h=a.b.sa());g.ba=this.ba;this.Xa=g;a.logInfo("M215",g.ba);l&&b(g.h)&&a.logInfo("M216",g.h.guid);return g}a.utils.ld(n,d);return n}(window.Promise);d.agentPromise=!0;a.jc=d;window.Promise=d;b(window.addEventListener)?window.addEventListener("unhandledrejection",this.ji):window.tq=this.ji}};h.Oa=function(d, n){return function(){if(l){var k,e=void 0;k=void 0;a.logInfo("M217",d);switch(d){case h.J.hf:case h.J.gf:case h.J.We:case h.J.Ve:a.utils.isDefined(n)&&a.utils.isDefined(n.Xa)&&(e=n.Xa.h);k=a.b.sa()||e;k=new a.bc(k,new a.Ka(d),a.CauseType.PROMISE);break;case h.J.ef:case h.J.ff:case h.J.cf:k=n.h,k=new a.bc(k,new a.Ka(d),a.CauseType.PROMISE),a.b.va(k)}g&&(e=a.utils.Sa(d)||"",k.pa=e);b(n)&&(b(n.Xa)?(n.Xa.h=k,a.logInfo("M218",n.Xa.ba)):(a.logInfo("M219",n.ba),n.h=k))}}};h.rm=function(d,n){l&&(d=a.aop.around(d, function(){n.h=new a.bc(a.b.sa(),new a.Ka(h.J.df),a.CauseType.PROMISE);if(g){var d=a.utils.Sa(h.J.df)||"";n.h.pa=d}a.b.va(n.h);a.logInfo("M220",n.h.guid,n.ba);b(arguments[0])&&(a.logInfo("M221"),d=a.aop.around(arguments[0],h.Oa(h.J.hf,n)),arguments[0]=d);b(arguments[1])&&(a.logInfo("M222"),d=a.aop.around(arguments[1],h.Oa(h.J.gf,n)),arguments[1]=d);return a.utils.La(arguments)},function(){a.logInfo("M223");a.b.Q(n.h?n.h.guid:null)},"interceptPromiseExecutor",h.Mc));return d};h.sm=function(){a.utils.refs.promiseThen= window.Promise.prototype.then;var b=h.wh(),d={parentObject:window.Promise.prototype,property:"then",propertyWrappedFunctionName:"promiseThen",wrapNewFunctionAgain:!0};d.setUpFunc=function(b){return function(d){a.utils.ce()||h.Rn(d,b)}}.call(this,d);d.bb=b;a.aop.forceWrap(d);a.utils.refs.promiseFinally=window.Promise.prototype["finally"];b=h.vh();d={parentObject:window.Promise.prototype,property:"finally",propertyWrappedFunctionName:"promiseFinally",wrapNewFunctionAgain:!0};d.setUpFunc=function(a){return function(b){h.Qn(b, a)}}.call(this,d);d.bb=b;a.aop.forceWrap(d)};h.Rn=function(a,b){b.bb=h.wh(a)};h.Qn=function(a,b){b.bb=h.vh(a)};h.tm=function(){h.On();h.Nn()};h.Mm=function(b){return b instanceof h||b instanceof a.si};h.hm=function(d){var n;b(n)||(a.logInfo("M224"),n=1);b(d.G)&&e(d.G)&&(d.G+=n,a.logInfo("M225",d.G))};h.Vk=function(a){var d;b(d)||(d=1);b(a.G)&&e(a.G)&&(a.G-=d)};h.jm=function(d){b(d.G)&&a.utils.Hm(d.G)?(a.logInfo("M226"),h.hm(d)):d.G=1};h.So=function(b){d.cp(b)||(a.logInfo("M227"),h.jm(b))};h.Vn=function(a){a.G= 0};h.ae=function(a){return b(a.L)};h.wh=function(n){var g=null;n=n||window.Promise.prototype.then;n=a.aop.around(n,function(){var n=this;g=n;a.logInfo("M228",n.ba);if(b(arguments[0])&&a.utils.isFunction(arguments[0])){h.So(n);a.logInfo("M229",n.ba);var k=a.aop.around(arguments[0],function(){h.Oa(h.J.ef,n)();n&&!n.G&&d.da(n)&&!h.ae(n)&&(n._adrumAjaxT.tempRespAvailAndProcTime=a.utils.now(),d.Ya[n._adrumAjaxT.guid()]={requestObj:n,ajaxT:n._adrumAjaxT})},function(){var g=a.utils.Od(arguments,"origFuncResult"); b(g)&&b(g.G)&&h.Mm(g)&&d.da(n)?(d.To(g,n),h.Vn(g)):(d.da(n)&&!h.ae(n)&&d.wc(n)&&(d.Me(n),d.nc(n),!0===d.Ne(n)&&(a.logInfo("M230"),a.logInfo("M231"),delete d.Ya[n._adrumAjaxT.guid()],d.pb(n))),l&&(a.logInfo("M232"),a.b.Q(n.h?n.h.guid:null)))},"interceptPromiseThenFulfil",function(){d.da(n)&&d.wc(n)&&(d.Me(n)&&d.nc(n),!0===d.Ne(n)&&(a.logInfo("M233"),a.logInfo("M234"),delete d.Ya[n._adrumAjaxT.guid()],d.pb(n)))});arguments[0]=k}b(arguments[1])&&a.utils.isFunction(arguments[1])&&(a.logInfo("M235",n.ba), k=a.aop.around(arguments[1],h.Oa(h.J.ff,n),function(){l&&(a.logInfo("M236"),a.b.Q(n.h?n.h.guid:null))},null,h.Mc),arguments[1]=k);return a.utils.La(arguments)},function(){var n=a.utils.Od(arguments,"origFuncResult");!b(n)||b(arguments[0])&&!a.utils.isFunction(arguments[0])||(l&&(n.h=this.h),h.ae(this)&&d.da(this)&&(n._adrumAjaxT=this._adrumAjaxT,d.wc(this)||d.km(n)))},"interceptPromiseThenInterceptor",function(){var b=g;d.da(b)&&d.wc(b)&&(d.Me(b)&&d.nc(b),!0===d.Ne(b)&&(a.logInfo("M237"),a.logInfo("M238"), delete d.Ya[b._adrumAjaxT.guid()],d.pb(b)))});n.usedByAgent=!0;return window.Promise.prototype.then=n};h.vh=function(n){if(b(window.Promise.prototype["finally"]))return n=n||window.Promise.prototype["finally"],n=a.aop.around(n,function(){var n=this;b(n._adrumAjaxT)&&b(n._adrumAjaxT.C)?d.nc(n):b(n.G)&&h.Vk(n);if(b(arguments[0])){a.logInfo("M239",n.ba);var g=a.aop.around(arguments[0],h.Oa(h.J.cf,n),function(){l&&(a.logInfo("M240"),a.b.Q(n.h?n.h.guid:null))});arguments[0]=g;return a.utils.La(arguments)}}, function(){a.logInfo("M241");a.b.Q(this.h?this.h.guid:null)},"interceptPromiseFinally"),n.usedByAgent=!0,window.Promise.prototype["finally"]=n};h.On=function(){window.Promise.resolve=a.aop.around(window.Promise.resolve,h.Oa(h.J.We,null),null,"interceptPromiseResolve",h.Mc)};h.Nn=function(){window.Promise.reject=a.aop.around(window.Promise.reject,h.Oa(h.J.Ve,null),null,"interceptPromiseReject",h.Mc)};h.ji=function(b){var d=b.detail?b.detail.reason:b.reason;if(b.promise&&!b.promise.ba)b.preventDefault(); else{if(!k(d))try{d=new window.Error(d)}catch(n){d=n}a.monitor.ErrorMonitor.B(d)}};return h}();r.J={df:"PromiseInstance.init",hf:"PromiseInstance.resolve",gf:"PromiseInstance.reject",ef:"PromiseInstance.onFulfilled",ff:"PromiseInstance.onRejected",cf:"PromiseInstance.finally",We:"PromiseConstructor.resolve",Ve:"PromiseConstructor.reject"};r.Mc=function(){};a.Ij=r;n&&h&&(r.qm(),d.rg().om())})(m||(m={}));(function(a){(function(b){function k(a,b){var d=[],k=/^\s*(ADRUM_BT\w*)=(.*)\s*$/i.exec(a);if(k){var e= k[1],k=k[2].replace(/^"|"$/g,""),k=decodeURIComponent(k).split("|"),u=k[0].split(":");if("R"===u[0]&&Number(u[1])===b)for(g(e),e=1;e<k.length;e++)d.push(k[e])}return d}function e(a,b){var d=/^\s*(ADRUM_(\d+)_(\d+)_(\d+))=(.*)\s*$/i.exec(a);if(d){var k=d[1],e=d[4],u=d[5];if(Number(d[3])===b)return g(k),{index:Number(e),value:u}}return null}function d(b){var d=/^\s*ADRUM=s~([\d]+)&r~(.*)\s*/.exec(b);if(d){a.logInfo("M244",b);if(3===d.length){g("ADRUM","samesite=lax");try{d[2]=atob(d[2])}catch(h){return null}return{startTime:Number(d[1]), startPage:d[2]}}a.error("M245",b);return null}}function g(b,d){a.logInfo("M243",b);var g=new Date;g.setTime(g.getTime()-1E3);document.cookie=b+"=;Expires="+g.toUTCString()+";"+(d||"")}b.startTimeCookie=null;b.cookieMetadataChunks=null;b.Zf=function(l,n){a.logInfo("M242");for(var g=n?n.length:0,r=[],m=l.split(";"),u=0;u<m.length;u++){var s=m[u],x=e(s,g);x?r.push(x):(s=d(s),null!=s&&(b.startTimeCookie=s))}Array.prototype.sort.call(r,function(a,b){return a.index-b.index});s=[];for(u=0;u<r.length;u++)s.push(r[u].value); for(u=0;u<m.length;u++)(r=k(m[u],g))&&0<r.length&&(s=s.concat(r));b.cookieMetadataChunks=s};a.correlation.eck=b.Zf})(a.correlation||(a.correlation={}))})(m||(m={}));(function(a){var b=window.addEventListener,k=a.utils.isDefined(window.EventTarget)?window.EventTarget.prototype.addEventListener:function(){},e=a.utils.isDefined(window.EventTarget)?window.EventTarget.prototype.removeEventListener:function(){},d=function(){function d(){}d.setUp=function(){Array.prototype.push.apply(d.Ed,[]);d.kp();a.utils.isDefined(window.EventTarget)? (d.lp(),d.mp()):d.fk();d.Ig("onload");d.Ig("onerror")};d.xq=function(){return[]};d.Al=function(b,n){var h="";if(a.utils.isDefined(b))if("string"===typeof b.textContent)h=a.utils.isDefined(String.prototype.trim)?b.textContent.trim():b.textContent,h=a.utils.isDefined(n)?h.substring(0,n):h;else for(b=b.firstChild;a.utils.isDefined(b)&&!(h+=d.Al(b,n),a.utils.isDefined(n)&&h.length>=n);b=b.nextSibling);return h};d.kp=function(){a.utils.forEach(d.Ed,function(d){b(d,function(b){b=b.target||b.srcElement; (b===document||b===window||b instanceof XMLHttpRequest||b instanceof HTMLElement)&&null!=b&&b["on"+d]&&(b["on"+d]=a.b.dd(d,b["on"+d],a.CauseType.USER,!0),b["on"+d].L=!0)},!0)})};d.fk=function(){a.utils.forEach(d.Ed,function(d){b(d,function(b){b=a.b.Qa(d,b,null,a.CauseType.USER);a.b.va(b)},!0);b(d,function(){a.b.Q()},!1)})};d.mi=function(b){var d=!1;a.utils.isBoolean(b)?d=b:a.utils.isObject(b)&&a.utils.isDefined(b.capture)&&(d=!!b.capture);return d};d.Ph=function(b,d,g,k){if(!a.utils.isDefined(b.eventListenerMap)|| !a.utils.isDefined(b.eventListenerMap[d])||!a.utils.isDefined(g))return-1;b=b.eventListenerMap[d];for(d=0;d<b.length;d++)if(b[d][0]==g&&b[d][1]==k)return d;return-1};d.Gg=function(b,d,g,k,e){a.utils.isDefined(b)&&a.utils.isDefined(e)&&(a.utils.isDefined(b.eventListenerMap)||(b.eventListenerMap={}),a.utils.isDefined(b.eventListenerMap[d])||(b.eventListenerMap[d]=[]),b.eventListenerMap[d].push([g,k,e]))};d.Sn=function(a,b,d){if(-1<d){var g=a.eventListenerMap[b];delete g[d];g.splice(d,1);0==g.length&& delete a.eventListenerMap[b]}};d.lp=function(){EventTarget.prototype.addEventListener=function(b,n,h){if(a.utils.isDefined(n)&&n.L||!a.b.Lg(n)&&!p(n))return k.call(this,b,n,h);var e=d.mi(h),m=a.utils.isDefined(this)?this:window;if(!(-1<d.Ph(m,b,n,e))){var u=n;switch(b){case "click":case "dblclick":case "auxclick":case "mousedown":case "mouseup":case "drop":case "keyup":case "keydown":case "keypress":case "contextmenu":case "pageChanged":case "close":u=a.b.dd(b,n,a.CauseType.USER,!0);d.Gg(m,b,n,e, u);break;case "load":case "error":u=a.b.dd(b,n,a.CauseType.USER,!1),d.Gg(m,b,n,e,u)}k.call(m,b,u,h)}}};d.mp=function(){EventTarget.prototype.removeEventListener=function(b,n,h){if(a.utils.isDefined(n)&&n.L)return e.call(this,b,n,h);var k=d.mi(h),m=a.utils.isDefined(this)?this:window,k=d.Ph(m,b,n,k);0<=k?(e.call(m,b,this.eventListenerMap[b][k][2],h),d.Sn(m,b,k)):e.call(m,b,n,h)}};d.Ig=function(b){var d=HTMLElement.prototype,g=Object.getOwnPropertyDescriptor(d,b);a.utils.isDefined(g)&&a.utils.isDefined(g.set)&& Object.defineProperty(d,b,{set:function(d){var n=d;a.utils.isDefined(d)&&(n=a.b.dd(b,d,a.CauseType.RESOURCE,!1));var k;try{k=g.set.call(this,n)}catch(e){throw e;}return k}})};return d}();d.Ed="click dblclick mousedown mouseup change select submit keydown keypress keyup load unload".split(" ");a.Si=d})(m||(m={}));(function(a){"APP_KEY_NOT_SET"!==a.conf.appKey||a.utils.isDefined(window.ADEUM_js_handler)||a.utils.isDefined(window.webkit)||C.log("AppDynamics EUM cloud application key missing. Please specify window['adrum-app-key']"); a.correlation.Zf(document.cookie,document.referrer);a.b.setUp();a.command("mark","firstbyte",window["adrum-start-time"]);a.monitor.setUpMonitors(a.monitor.ja,a.monitor.Kk,a.monitor.domEventsMonitor,a.monitor.navMonitor,a.monitor.xhrMonitor,a.monitor.resourceMonitor);a.conf.disableWrappingEventListeners||a.Si.setUp();a.conf.fetch&&!a.conf.isZonePromise&&(a.Ij.setUp(),a.monitor.setUpMonitors(a.monitor.Hb));a.conf.spa2&&a.conf.modernBrowserFeaturesAvailable&&a.monitor.setUpMonitors(a.monitor.mk);a.conf.enablePrimaryMetrics&& a.utils.isDefined(window.MutationObserver)&&(a.conf.N=!0,a.l.w.M.Wh(),a.l.w.start(a.utils.fb()),a.c.start());a.conf.enableCoreWebVitals&&a.monitor.setUpMonitors(a.monitor.hp)})(m||(m={}));(function(a){a=a.ng||(a.ng={});a=a.n||(a.n={});a.Xg="locationChangeStart";a.dn="locationChangeSuccess";a.Lh="routeChangeStart";a.Mh="routeChangeSuccess";a.ai="stateChangeStart";a.bi="stateChangeSuccess";a.pi="viewContentLoaded";a.dm="includeContentRequested";a.cm="includeContentLoaded";a.Xf="digest";a.uq="outstandingRequestsComplete"; a.Kf="beforeNgXhrRequested";a.Bf="afterNgXhrRequested";a.sq="ngXhrLoaded";a.Pf="$$completeOutstandingRequest"})(m||(m={}));(function(a){(function(b){function k(a,d,n,h,k,e){if(d)try{return d.apply(a,[n,h,k].concat(e))}catch(m){return a.error(n,h,k,e,b.Error.aj,"M246",m)}}function e(a,d){return function(){var n=this.current,h=d[n]||d[b.ec]||n,e=Array.prototype.slice.call(arguments);if(this.Gk(a))return this.error(a,n,h,e,b.Error.bj,"event "+a+"M247"+this.current);if(!1===k(this,this["onbefore"+a], a,n,h,e))return b.dc.Ue;h===b.ec&&(h=n);if(n===h)return k(this,this["onafter"+a]||this["on"+a],a,n,h,e),b.dc.Cj;var m=this;this.transition=function(){m.transition=null;m.current=h;k(m,m["onenter"+h]||m["on"+h],a,n,h,e);k(m,m["onafter"+a]||m["on"+a],a,n,h,e);return b.dc.Nj};if(!1===k(this,this["onleave"+n],a,n,h,e))return this.transition=null,b.dc.Ue;if(this.transition)return this.transition()}}var d=a.utils.hasOwnPropertyDefined;b.VERSION="2.3.5";b.dc={Nj:1,Cj:2,Ue:3,Ap:4};b.Error={bj:100,Bp:200, aj:300};b.ec="*";b.create=function(a,l){function n(a){var d=a.from instanceof Array?a.from:a.from?[a.from]:[b.ec];s[a.name]=s[a.name]||{};for(var n=0;n<d.length;n++)x[d[n]]=x[d[n]]||[],x[d[n]].push(a.name),s[a.name][d[n]]=a.to||d[n]}var h="string"==typeof a.initial?{state:a.initial}:a.initial,k=l||a.target||{},m=a.events||[],u=a.callbacks||{},s={},x={};h&&(h.event=h.event||"startup",n({name:h.event,from:"none",to:h.state}));for(var y=0;y<m.length;y++)n(m[y]);for(var w in s)d(s,w)&&(k[w]=e(w,s[w])); for(w in u)d(u,w)&&(k[w]=u[w]);k.current="none";k.cq=function(a){return a instanceof Array?0<=a.indexOf(this.current):this.current===a};k.Fk=function(a){return!this.transition&&(d(s[a],this.current)||d(s[a],b.ec))};k.Gk=function(a){return!this.Fk(a)};k.Xc=function(){return x[this.current]};k.error=a.error||function(a,b,d,n,g,l,h){throw h||l;};if(h&&!h.defer)k[h.event]();return k}})(a.uf||(a.uf={}))})(m||(m={}));(function(a){(function(b){var k=function(k){function d(b){b=k.call(this,b)||this;a.utils.isDefined(a.ng)&& b.constructor!=a.ng.NgVPageView&&b.constructor!=d&&a.reportAPIMessage(a.Z.xa,a.ub,"ADRUM.events.VPageView",[]);if(a.conf.spa2)return b;b.perf=new a.PerformanceTracker;b.start();a.monitor.xhrMonitor.Qc();a.monitor.Hb.Qc();a.monitor.ja.Un();return b}v(d,k);d.prototype.type=function(){return a.EventType.VPageView};d.prototype.Nd=function(){return b.EventTracker.qd(this.guid(),this.url(),this.type())};d.prototype.Zh=function(b){var d=this.Nd();b.set("parent",d);a.logInfo("M248",d.guid(),d.url())};d.prototype.startCorrelatingXhrs= function(){a.conf.spa2||(a.logInfo("M249"),this.Zh(a.monitor.xhrMonitor))};d.prototype.stopCorrelatingXhrs=function(){a.conf.spa2||(a.monitor.xhrMonitor.set("parent",null),a.logInfo("M250"))};d.prototype.Be=function(){a.conf.spa2||(a.logInfo("M251"),this.Zh(a.monitor.ja))};d.prototype.start=function(){a.conf.spa2||(this.markVirtualPageStart(),this.startCorrelatingXhrs())};d.prototype.end=function(){a.conf.spa2||(this.markVirtualPageEnd(),this.stopCorrelatingXhrs())};return d}(b.EventTracker);b.VPageView= k;b.Ma(b.K[a.EventType.VPageView],k.prototype);b.Ff(b.metricSpec[a.EventType.VPageView],k.prototype)})(a.events||(a.events={}))})(m||(m={}));(function(a){var b=a.ng||(a.ng={}),b=b.conf||(b.conf={});b.disabled=a.conf.userConf&&a.conf.userConf.spa&&a.conf.userConf.spa.angular&&a.conf.userConf.spa.angular.disable;b.distinguishVPwithItsTemplateUrl=a.conf.userConf&&a.conf.userConf.spa&&a.conf.userConf.spa.angular&&!0===a.conf.userConf.spa.angular.distinguishVPwithItsTemplateUrl?!0:!1;b.xhr={};b.metrics= {includeResTimingInEndUserResponseTiming:!0};a.conf.userConf&&a.conf.userConf.spa&&a.conf.userConf.spa.angular&&a.conf.userConf.spa.angular.vp&&(a.conf.userConf.spa.angular.vp.xhr&&a.utils.Ja.th(a.conf.userConf.spa.angular.vp.xhr),a.conf.userConf.spa.angular.vp.metrics&&a.utils.mergeJSON(b.metrics,a.conf.userConf.spa.angular.vp.metrics))})(m||(m={}));(function(a){(function(b){var k=a.utils.map,e=a.utils.reduce,d=a.utils.filter,g=function(g){function n(b){b=g.call(this,b)||this;b.Ng=!0;b.Tb={};b.tb= 0;b.Nq=[];b.digestCount(0);if(b.constructor!=n)return a.reportAPIMessage(a.Z.xa,a.ub,"ADRUM.events.Ajax",[]),b;b.stopCorrelatingXhrs();return b}v(n,g);n.prototype.type=function(){return a.EventType.VPageView};n.prototype.Qe=function(){this.markViewChangeStart();this.markVirtualPageStart(this.getViewChangeStart());this.timestamp(this.getViewChangeStart())};n.prototype.em=function(){this.digestCount(this.digestCount()+1)};n.prototype.fm=function(){this.tb++;a.logInfo("M252",this.tb)};n.prototype.Uk= function(){this.tb--;a.logInfo("M253",this.tb)};n.prototype.Zl=function(){var b=this.perf.getEntryByName(a.events.g.xi);a.logInfo("M254",this.tb,b);return 0<this.tb};n.prototype.Ak=function(){var a={Wc:0},b=document.querySelectorAll("ng-view, [ng-view], .ng-view, [ui-view]"),b=k(b,angular.element),d;for(d in n.Ih){var g=n.Ih[d];k(b,function(b){b=b.find(d);k(b,function(b){if(b=b[g])b=decodeURIComponent(b),a[b]||(a[b]=d,a.Wc++)})})}this.Tb=a};n.prototype.wk=function(a){return!!this.Tb[decodeURIComponent(a.name)]}; n.prototype.Bk=function(){var b=[],d=this;0<this.Tb.Wc&&(b=a.monitor.resourceMonitor.Jb().filter(function(a){return d.wk(a)}));this.resTiming(b)};n.ll=function(b){return d(b,function(b){return(b.eventType===a.EventType.Ajax||b.eventType===a.EventType.ADRUM_XHR)&&!a.utils.Ja.Uc(b.eventUrl,b.method)})};n.Hl=function(a){return e(a,function(a,b){return Math.max(a,b.timestamp+b.metrics.PLT)},-1)};n.prototype.jk=function(){if(b.conf.xhr){var d=n.ll(a.channel.getEventsWithParentGUID(this.guid())),d=n.Hl(d); if(0<d){var g=this.perf.getEntryByName(a.events.g.xi);this.markXhrRequestsCompleted(Math.min(g&&g.startTime||Number.MAX_VALUE,d))}}};n.prototype.adjustTimings=function(){this.jk();var d=this.getViewDOMLoaded(),n=this.getXhrRequestsCompleted(),d=Math.max(d,n);b.conf.metrics.includeResTimingInEndUserResponseTiming&&(this.ik(),n=this.getViewResourcesLoaded(),n=Math.max(d,n),a.logInfo("M255",d,n),d=n);this.markVirtualPageEnd(d)};n.prototype.ik=function(){if(0<this.Tb.Wc){this.Bk();var b=this.resTiming(); b&&b.length>=this.Tb.Wc&&(b=e(b,function(a,b){return Math.max(a,b.responseEnd)},0),this.markViewResourcesLoaded(a.PerformanceTracker.yd(b)))}};n.prototype.identifier=function(b){var d=this.ri;a.utils.isDefined(b)&&(this.ri=n.jl(b),this.url(this.ri.url));return d};n.jl=function(b){var d={};b&&b.R?(d.R={oe:""},a.utils.mergeJSON(d.R,{oe:b.R.originalPath,Ub:b.R.template,Vb:b.R.templateUrl})):b&&b.state&&(d.state={url:""},a.utils.mergeJSON(d.state,{url:b.state.url,name:b.state.name,Ub:b.state.template, Vb:b.state.templateUrl}));return d};return n}(a.events.VPageView);g.Ih={img:"src",script:"src",link:"href"};b.NgVPageView=g;a.events.Ma(a.events.K[a.EventType.NG_VIRTUAL_PAGE],g.prototype)})(a.ng||(a.ng={}))})(m||(m={}));(function(a){(function(b){var k=function(){function k(){this.F=new b.NgVPageView}k.prototype.bo=function(){var d=this,g=this.F;b.conf.metrics.includeResTimingInEndUserResponseTiming?(a.logInfo("M256"),a.utils.oSTO(function(){d.se(g)},k.Pj)):a.utils.oSTO(function(){d.se(g)},k.Qj)}; k.prototype.se=function(b){a.logInfo("M257");b.parent(a.monitor.DOMEventsMonitor.currentBasePage);a.command("call",function(){b.adjustTimings();a.reporter.reportEvent(b)})};k.prototype.no=function(a){this.F=a};return k}();k.Pj=5E3;k.Qj=2*a.monitor.XHRMonitor.Ye;b.VirtualPageStateMachine=k;a.uf.create({events:[{name:"start",from:"none",to:"ChangeView"},{name:"viewLoaded",from:"ChangeView",to:"XhrPending"},{name:"xhrCompleted",from:"XhrPending",to:"End"},{name:"abort",from:"*",to:"none"},{name:"init", from:"*",to:"none"},{name:"locChange",from:"*",to:"*"},{name:"beforeXhrReq",from:"*",to:"*"},{name:"afterXhrReq",from:"*",to:"*"}],error:function(b){a.logError("M258",b)},callbacks:{onChangeView:function(){this.F.Qe();this.F.Be()},onviewLoaded:function(){this.F.markViewDOMLoaded()},onXhrPending:function(){this.F.Ng&&this.xhrCompleted()},onleaveXhrPending:function(a,b,g){if("abort"===a)return this.se(),!0;if("xhrCompleted"===a&&"End"===g){if(this.F.Zl())return!1;this.F.markXhrRequestsCompleted();return!0}}, onEnd:function(){this.F.Ak();this.bo()},oninit:function(b,d,g,l){this.no(l);a.monitor.xhrMonitor.Qc();a.monitor.Hb.Qc()},onlocChange:function(a,b,g,l){this.F.identifier.url=l;this.F.Tc({url:l})},onbeforeXhrReq:function(b,d,g,l){var n=this.F;n.Ng=!1;a.logInfo("M259",l&&l[1]||"",n.guid());n.fm();n.startCorrelatingXhrs();l[3]&&(l[3]=a.aop.before(l[3],function(b,d,g){a.logInfo("M260");n.Uk();g&&(b=a.utils.Cn(g)["content-type"])&&0<=b.indexOf("text/html")&&n.markViewFragmentsLoaded()}));return l},onafterXhrReq:function(){this.F.stopCorrelatingXhrs()}}}, k.prototype)})(a.ng||(a.ng={}))})(m||(m={}));(function(a){(function(b){var k=function(){function k(){this.S=new b.VirtualPageStateMachine;this.distinguishVPwithItsTemplateUrl=a.ng.conf.distinguishVPwithItsTemplateUrl}k.prototype.W=function(d,g){a.logInfo("M261",d);switch(d){case b.n.Lh:case b.n.ai:this.S.start();var l=g.next.url||document.URL,n=new b.NgVPageView({url:l,identifier:g.next});this.distinguishVPwithItsTemplateUrl&&k.Cm(this.S.F,n)?this.S.F.Tc({url:l,identifier:g.next}):this.Fo(n);break; case b.n.Mh:case b.n.bi:this.S.F.markViewChangeEnd();break;case b.n.pi:this.S.viewLoaded();break;case b.n.Kf:this.S.beforeXhrReq(g);break;case b.n.Bf:this.S.afterXhrReq();break;case b.n.Pf:this.S.xhrCompleted();break;case b.n.Xg:this.S.F.Tc({url:g.next.url});this.S.locChange(g.next.url);break;case b.n.Xf:this.S.F.em()}};k.prototype.Fo=function(a){this.S.abort();this.S.init(a);this.S.start()};k.Cm=function(b,g){var l=b.identifier(),n=g.identifier(),k=!1;return k=!a.utils.isDefined(l)&&!a.utils.isDefined(n)|| l===n?!0:a.utils.isDefined(l)&&a.utils.isDefined(n)?l.state||n.state?a.utils.isDefined(l.state)&&a.utils.isDefined(n.state)?l.state.name===n.state.name&&l.state.Ub===n.state.Ub&&l.state.Vb===n.state.Vb&&l.state.url===n.state.url:!1:l.R&&n.R?l.R.oe===n.R.oe&&l.R.Ub===n.R.Ub&&l.R.Vb===n.R.Vb:l.url===n.url:!1};return k}();b.Tj=k})(a.ng||(a.ng={}))})(m||(m={}));(function(a){(function(b){var k=a.utils.addEventListener,e=function(){function d(){this.Y=new b.Tj;this.Fg=!1}d.prototype.setUp=function(){function b(n){return function(){a.logInfo(n); d.init()}}var d=this;b("M262")();k(document,"DOMContentLoaded",b("M263"));k(window,"load",b("M264"))};d.prototype.init=function(){if("loading"===document.readyState)a.logInfo("M265");else if("undefined"!=typeof angular&&!this.Fg){this.Fg=!0;a.logInfo("M266");var b=this,d=angular.module("ng");d.config(["$provide",function(a){b.um(a);b.pm(a)}]);d.run(["$browser",function(a){b.mm(a)}]);a.logInfo("M267")}};d.prototype.pm=function(d){var l=a.aop,n=this;d.decorator("$httpBackend",["$delegate",function(a){return a= l.around(a,function(){var a=Array.prototype.slice.call(arguments);n.Y.W(b.n.Kf,a);return a},function(){n.Y.W(b.n.Bf)},"ng.httpBackend")}])};d.prototype.um=function(d){var l=a.aop,n=this;d.decorator("$rootScope",["$delegate",function(a){a.$digest=l.after(a.$digest,function(){n.Y.W(b.n.Xf)},"ngevents.digest");a.$on("$locationChangeStart",function(a,d){var g={url:d},l=a&&a.Eb&&a.Eb.$state&&a.Eb.$state.current;l&&(g.state=l);n.Y.W(b.n.Xg,{next:g})});a.$on("$locationChangeSuccess",function(){n.Y.W(b.n.dn)}); a.$on("$routeChangeStart",function(a,d){var g={url:location.href},l=d&&d.$$route;l&&(g.R=l);n.Y.W(b.n.Lh,{next:g})});a.$on("$routeChangeSuccess",function(){n.Y.W(b.n.Mh)});a.$on("$stateChangeStart",function(a,d){n.Y.W(b.n.ai,{next:{state:d}})});a.$on("$stateChangeSuccess",function(){n.Y.W(b.n.bi)});a.$on("$viewContentLoaded",function(a){var d={url:location.href};if(a=a&&a.Eb&&a.Eb.$state&&a.Eb.$state.current)d.state=a;n.Y.W(b.n.pi,{next:d})});a.$on("$includeContentRequested",function(){n.Y.W(b.n.dm)}); a.$on("$includeContentLoaded",function(){n.Y.W(b.n.cm)});return a}])};d.prototype.mm=function(d){var l=this;d.$$completeOutstandingRequest=a.aop.before(d.$$completeOutstandingRequest,function(){l.Y.W(b.n.Pf)})};return d}();b.tp=e;b.ngMonitor=new e})(a.ng||(a.ng={}))})(m||(m={}));(function(a){var b=a.ng||(a.ng={});b.conf.disabled||a.conf.spa2||a.monitor.setUpMonitors(b.ngMonitor)})(m||(m={}))}};})(); //]]> </script> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <meta name="description" content="The UAE issues visit visa, tourist visa, employment visa and transit visa subject to fulfilment of certain criteria. Emirates ID is mandatory for all UAE citizens and residents. Find information about how to apply for a visa and Emirates ID."> <meta name="keywords" content="visit visa, tourist visa, employment visa, transit visa, Emirates ID, online visa, eVisa"> <link rel="stylesheet" href="/assets/css/bootstrap-core.css"> <link rel="stylesheet" href="/assets/css/bootstrap.css"> <link rel="stylesheet" href="/assets/plugins/font-awesome/css/font-awesome.min.css"> <link rel="stylesheet" href="/assets/css/custom.css"> <link rel="icon" type="image/png" href="/assets/images/favicon.ico"> <title>Visa and Emirates ID | The Official Portal of the UAE Government</title> <script src="/assets/scripts/jquery.min.js"></script> <script src="//f1-as.readspeaker.com/script/7268/ReadSpeaker.js?pids=embhl" type="text/javascript"></script> <style> @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .form-control-select > select.form-control { background-color: white !important; } } </style> <!--[if IE 9]> <style> .form-control-select > select.form-control{ background-color: white !important; } </style> <![endif]--> <style> /*Social Media when there is long hashtag*/ .social-card a { word-wrap: break-word; } /*Map remove Israil*/ .gmnoprint a, .gmnoprint span, .gm-style-cc { display: none; } /*Fix datepicker months order in arabic*/ body.ar .datepicker.datepicker-rtl table tr td span { float: right !important; direction: rtl !important; } body.ar .datepicker table tr td, body.ar .datepicker table tr th { width: 90px !important; } /*Fix Mobile number in arabic view in my account settings*/ body.ar .toggle.mobile .label-value { float: right; direction: ltr; } /*Style loading spinner background*/ .blockUI.blockOverlay { background-color: rgb(170, 148, 148) !Important; } .blockUI.blockMsg { border: none !important; background-color: transparent !important; } .dynamic-placeholder .container { padding: 0px; width: auto; } /*Share Social Media*/ .share-social { width: 36px; height: 36px; line-height: 32px; text-align: center; vertical-align: middle; display: inline-block; border: 1px solid #fff; border-radius: 36px; font-size: 22px; color: #4f5a65; border: 1px solid #4f5a65; text-align: center; } body.zoom-in-x1 { zoom: 1.1; } body.zoom-in-x2 { zoom: 1.2; } body.zoom-out-x1 { zoom: 0.9; } body.zoom-out-x2 { zoom: 0.8; } body.inverted { filter: invert(100%); } body.inverted img:not(.video-mask-img) { filter: invert(100%) grayscale(100%); } .alert-default { position: relative; background: #26741f; border-radius: 0; color: #fff; margin-bottom: 0; } .alert-default a { color: #fff; margin-left: 10px; margin-right: 10px; } </style> <!--UAE Pass--> <style> #login-btn { cursor: pointer; } .main-header-links > li { position: relative; } .login-dropdown { padding: 30px 24px; text-align: center; display: none; background: #fff; min-width: 330px; position: absolute; top: 70px; left: 0; z-index: 1000; box-shadow: 0 0 9px 1px rgba(0,0,0,0.1); } .login-dropdown a { display: block; } .login-dropdown:lang(en) { left: initial; right: 0; } </style> <style> .youtube-player { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; background: #000; margin: 5px; } .youtube-player iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 100; background: transparent; } .youtube-player img { object-fit: cover; display: block; left: 0; bottom: 0; margin: auto; max-width: 100%; width: 100%; position: absolute; right: 0; top: 0; border: none; height: auto; cursor: pointer; -webkit-transition: 0.4s all; -moz-transition: 0.4s all; transition: 0.4s all; } .youtube-player img:hover { -webkit-filter: brightness(75%); } .youtube-player .play { height: 48px; width: 68px; left: 50%; top: 50%; margin-left: -34px; margin-top: -24px; position: absolute; background: url('https://i.ibb.co/j3jcJKv/yt.png') no-repeat; cursor: pointer; } </style> </head> <body id="mainBody" class="en" data-spy="scroll" data-target=".navbar-nav" data-offset="50" > <div id="readspeaker_button1" class="rs_skip rsbtn rs_preserve hidden"> <a rel="nofollow" class="rsbtn_play" accesskey="L" title="ReadSpeaker إستمع إلى هذه الصفحةِ مستخدماً" href="//app-as.readspeaker.com/cgi-bin/rsent?customerid=7268&lang=en_uk&readid=mainBody&url=https://u.ae/en/information-and-services/visa-and-emirates-id"> <span class="rsbtn_left rsimg rspart"><span class="rsbtn_text"><span>استمع</span></span></span> <span class="rsbtn_right rsimg rsplay rspart"></span> </a> </div> <input type="hidden" id="selectedLang" value="en" /> <div class=""> <div class="main-header hidden-sm hidden-xs"> <div class="container"> <div class="row"> <div class="col-md-12"> <a class="main-header-logo" href="/"> <img src="/assets/images/government-ae-logo-english.png" alt="UAE Logo"> </a> <ul class="list-unstyled list-inline main-header-links no-margin main-header-links"> <li> <a href="https://u.ae/ar-ae/information-and-services/visa-and-emirates-id"> <span>العربية</span> </a> </li> <li> <a href="#" data-js-change-lang="" class=""> <span>Other languages</span> </a> </li> <li class="padding-left-sm"> <a href="/en/footer/accessibility"> <span>Accessibility</span> </a> </li> <li class="padding-left-sm"> <a href="/en/help"> <span>Help</span> </a> </li> <li class="padding-left-sm"> <a href="https://id.uaepass.ae/idshub/authorize?redirect_uri=https://u.ae/Authentication/uae-pass-authentication&client_id=tra_gov_web_prod&response_type=code&state=en&scope=urn:uae:digitalid:profile:general&acr_values=urn:safelayer:tws:policies:authentication:level:low&ui_locales=en"> <img src="/assets/images/UAEPASS_Sign_in_Btn_Outline_Pill_Active.png" alt="UAE PASS" class="login-image-size"/> </a> </li> </ul> </div> </div> </div> <div data-js-change-lang-wrapper="" class="bg-trout main-header-lang" style="display: none;"> <div class="container"> <div class="padding-top padding-bottom"> <div class="padding-top padding-bottom"> <div class="row"> <div class="col-md-1"><span style="font-size:43px" class="icon icon--info"></span></div> <div class="col-md-7"> <div>Disclaimer: You are using Google Translate. The UAE mGovernment is not responsible for the accuracy of information in the translated language.</div> <div><small>Powered by Google</small></div> </div> <div class="col-md-4"> <div id="google_translate_element"></div> <script type="text/javascript"> function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, autoDisplay: false }, 'google_translate_element'); } </script> <script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit" async></script> </div> </div> </div> </div> </div> </div> </div> <div class="main-header-mobile hidden-md hidden-lg"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="pull-right"> <button data-js-open-search class="search"><span class="icon icon--search" title="Search"></span></button> </div> <div class="pull-left"> <button data-js-open-side-nav="data-js-open-side-nav" class="menu"><span class="icon icon--menu"></span></button> <button data-js-close-side-nav="data-js-close-side-nav" style="display:none" class="menu"><span class="icon icon--delete"></span></button> </div> <a href="/" class="logo"> <img src="/assets/images/government-ae-logo-english.png" alt="UAE Logo"> </a> </div> </div> </div> </div> <div class="main-navigation hidden-sm hidden-xs"> <div class="container"> <ul class="nav nav-pills"> <li role="presentation" class=""> <a href="/en/"><span>Home</span></a> </li> <li role="presentation" class="active"> <a href="/en/information-and-services"><span>Information and services</span></a> </li> <li role="presentation" class=""> <a href="/en/about-the-uae"><span>About the UAE</span></a> </li> <li role="presentation" class=""> <a href="/en/participate"><span>Your voice</span></a> </li> <li role="presentation" class=""> <a href="/en/media"><span>Media</span></a> </li> <li role="presentation"> <a href="https://ask.u.ae/en" style=" display: inline; " target="_blank"> <span>UAsk</span> </a> <span class="badge" style="background-color: #744e2e;margin-bottom: 3px;font-size: 10px;font-weight: 100;"> Beta </span> </li> <li role="presentation" class="pull-right"><a data-js-open-search="" href="#" class="search-btn"><span class="icon icon--search" title="Search"></span></a></li> </ul> </div> </div> </div> <div class=" padding-bottom-60"> <div class="jumbotron"> <div class="bg" style="background-image: url(/-/media/Services/Visa-and-Emirates-ID-Header.JPG);"></div> <div class="container"> <h2 class="text-white margin-bottom-21 margin-top-88">Visa and Emirates ID</h2> <p class="text-white h5">Visit visas, work permits, entry permits, residency visas and Emirates IDs</p> </div> </div><div class="container body-content"> <ol class="breadcrumb breadcrumb-new-style"> <li class=""><a href="/en/information-and-services" class="bold">Information and services</a></li> <li class="active">Visa and Emirates ID</li> </ol> </div> <div class="container"> <div class="row"> <div class="col-md-3"> <a href="/en/information-and-services/visa-and-emirates-id/do-you-need-an-entry-permit-or-a-visa-to-enter-the-uae" class="h4 link--side"> Check if you need a visa to enter the UAE </a> </div> <div class="col-md-3"> <a href="/en/information-and-services/visa-and-emirates-id/where-to-apply-for-entry-permits-or-visas" class="h4 link--side"> Check where to apply for a visa </a> </div> <div class="col-md-3"> <a href="/en/information-and-services/visa-and-emirates-id/residence-visas" class="h4 link--side"> Residence visas </a> </div> <div class="col-md-3"> <a href="/en/information-and-services/visa-and-emirates-id/visit-visas" class="h4 link--side"> Visit visas </a> </div> <div class="col-md-12 hidden-xs hidden-sm margin-bottom-88"> </div> <div class="col-md-3"> <a href="/en/information-and-services/visa-and-emirates-id/tourist-visa" class="h4 link--side"> Tourist visa </a> </div> <div class="col-md-3"> <a href="/en/information-and-services/visa-and-emirates-id/transit-visa" class="h4 link--side"> Transit visa </a> </div> <div class="col-md-3"> <a href="/en/information-and-services/visa-and-emirates-id/visa-fees" class="h4 link--side"> Visa charges </a> </div> <div class="col-md-3"> <a href="/en/information-and-services/visa-and-emirates-id/track-visa-application-and-validity" class="h4 link--side"> Track visa application and validity </a> </div> <div class="col-md-12 hidden-xs hidden-sm margin-bottom-88"> </div> <div class="col-md-3"> <a href="/en/information-and-services/visa-and-emirates-id/emirates-id" class="h4 link--side"> Emirates ID </a> </div> <div class="col-md-3"> <a href="/en/information-and-services/visa-and-emirates-id/lost-your-passport-with-uae-residence-visa-on-it" class="h4 link--side"> Lost your passport with UAE residence visa on it? </a> </div> <div class="col-md-3"> <a href="/en/information-and-services/visa-and-emirates-id/tips-to-avoid-labour-and-visa-fraud" class="h4 link--side"> Tips to stay safe from labour and visa fraud </a> </div> <div class="col-md-3"> <a href="/en/information-and-services/visa-and-emirates-id/faqs-about-visa-and-emirates-id" class="h4 link--side"> FAQs about visa and Emirates ID </a> </div> <div class="col-md-12 hidden-xs hidden-sm margin-top-88 margin-bottom-88"> <hr class="no-margin"> </div> </div> </div> <div class="container"> <div class="row"> <div class="col-md-5"> <h2 class="text-black line-1 padding-bottom-44">Emergency contacts</h2> <div class="row"> <div class="col-xs-6"> <p class="h4 no-margin text-black">Police</p> <p class="h1 no-margin text-dusty-grey light">999</p> </div> <div class="col-xs-6"> <p class="h4 no-margin text-black">Ambulance</p> <p class="h1 no-margin text-dusty-grey light">998</p> </div> <div class="col-sm-12"><p> </p></div> <div class="col-xs-6"> <p class="h4 no-margin text-black">Civil defence</p> <p class="h1 no-margin text-dusty-grey light">997</p> </div> <div class="col-xs-6"> <p class="h4 no-margin text-black">Electricity authority</p> <p class="h1 no-margin text-dusty-grey light">991</p> </div> <div class="col-sm-12"><p> </p></div> <div class="col-md-8"> <a href="/en/information-and-services/justice-safety-and-the-law/handling-emergencies" class="btn btn-primary btn-inverse btn-block" > Handling emergencies </a> </div> <div class="margin-bottom-88 hidden-md hidden-lg"></div> </div> </div> <div class="col-md-5 col-md-offset-2"> <h2 class="text-black">Need help?</h2> <p class="padding-bottom-21 padding-top-21">If you need help, kindly contact:</p> <ul class="list-unstyled"> <li class="padding-bottom-sm"> <a class="h4 text-cameron" href="/en/help/contact-us/this-portal" target=""> Portal team </a> </li> <li class="padding-bottom-sm"> <a class="h4 text-cameron" href="/en/help/contact-us/the-government" target=""> Government entities </a> </li> <li class="padding-bottom-sm"> <a class="h4 text-cameron" href="/en/more/contact-officials" target=""> Government officials </a> </li> <li class="padding-bottom-sm"> <a class="h4 text-cameron" href="https://171.ae/en/?lang=en" target="_blank"> 171 Tawasul <span class="icon icon--out"></span> </a> </li> <li class="padding-bottom-sm"> <a class="h4 text-cameron" href="/en/resources/faqs" target=""> FAQs </a> </li> </ul> </div> </div> </div> </div> <footer class="footer"> <div class="footer-top bg-trout"> <div class="container"> <div class="row"> <div class="col-md-8"> <ul class="list-unstyled row"> <li class="col-md-4 padding-bottom"> <a href="/en/resources" target=""> Resources </a> </li> <li class="col-md-4 padding-bottom"> <a href="/en/footer/map" target=""> Map </a> </li> <li class="col-md-4 padding-bottom"> <a href="https://bayanat.ae/en" target="_blank"> Government data </a> </li> <li class="col-md-4 padding-bottom"> <a href="/en/footer/about-this-portal" target=""> About this portal </a> </li> <li class="col-md-4 padding-bottom"> <a href="/en/footer/newsletter" target=""> eNewsletter </a> </li> <li class="col-md-4 padding-bottom"> <a href="https://u.ae/uaepasstoken?url=https://sharik.ae" target="_blank"> Participation </a> </li> <li class="col-md-4 padding-bottom"> <a href="/en/footer/disclaimer" target=""> Disclaimer </a> </li> <li class="col-md-4 padding-bottom"> <a href="/en/footer/citizen-charter" target=""> Citizen Charter </a> </li> <li class="col-md-4 padding-bottom"> <a href="/en/footer/digital-participation-policy" target=""> Digital participation policy </a> </li> <li class="col-md-4 padding-bottom"> <a href="/en/footer/accessibility" target=""> Accessibility </a> </li> <li class="col-md-4 padding-bottom"> <a href="/en/footer/sitemap" target=""> Site map </a> </li> <li class="col-md-4 padding-bottom"> <a href="/en/statistics" target=""> Website statistics </a> </li> <li class="col-md-4 padding-bottom"> <a href="/en/help/contact-us/this-portal" target=""> Portal team </a> </li> <li class="col-md-4 padding-bottom"> <a href="/en/resources/faqs" target=""> FAQs </a> </li> <li class="col-md-4 padding-bottom"> <a href="https://171.ae/en/?lang=en" target="_blank"> 171 Tawasul </a> </li> <li class="col-md-4 padding-bottom"> <a href="https://dgov.tdra.gov.ae/" target="_blank"> Digital Government </a> </li> </ul> </div> <div class="col-md-4 col-xs-12 pull-right margin-bottom"> <ul class="list-unstyled list-inline footer-social-link"> <li><a target="_blank" href="https://www.facebook.com/uaedgov/" title="Facebook"><i class="fa fa-facebook" aria-hidden="true"></i></a></li> <li><a target="_blank" href="https://www.instagram.com/uaemgov/" title="Instagram"><i class="fa fa-instagram" aria-hidden="true"></i></a></li> <li><a target="_blank" href="https://x.com/uaedgov" title="Twitter"> <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" width="15" height="15" x="0" y="0" viewBox="0 0 1226.37 1226.37" style="enable-background:new 0 0 512 512" xml:space="preserve" class=""><g><path d="M727.348 519.284 1174.075 0h-105.86L680.322 450.887 370.513 0H13.185l468.492 681.821L13.185 1226.37h105.866l409.625-476.152 327.181 476.152h357.328L727.322 519.284zM582.35 687.828l-47.468-67.894-377.686-540.24H319.8l304.797 435.991 47.468 67.894 396.2 566.721H905.661L582.35 687.854z" fill="#ffffff" opacity="1" data-original="#000000" class=""></path></g></svg> </a></li> <li><a target="_blank" href="https://www.youtube.com/emiratesegovernment" title="Youtube"> <i class="fa fa-youtube-play" aria-hidden="true"></i> </a></li> </ul> </div> <div class="col-md-4 col-xs-12 pull-right"> <div data-js-wather-widget="" class="weather-widget"> <div class="row"> <div class="col-xs-3"> <div data-js-wather-widget-icon=""></div> </div> <div class="col-xs-9"> <div>Wednesday, 27 Nov 2024</div> <div>11:51 AM (GMT +4)</div> </div> </div> </div> </div> <div class="col-md-4 col-xs-12 pull-right"> <div class="row"> <div class="col-xs-12 padding-top accessibility-controls"> <ul> <li> <a href="#" class="font-increase"> <i class="icon icon--font-large" title="Increase Font"></i> </a> </li> <li> <a href="#" class="font-decrease padding-left padding-right"> <i class="icon icon--font-small" title="Decrease Font."></i> </a> </li> <li> <a href="#" class="invert-colors"> <i class="icon icon--invert-colors-button" title="Black and white"></i> </a> </li> </ul> </div> </div> </div> </div> </div> </div> <div class="footer-bottom bg-mako"> <div class="container"> <div class="row d-flex align-items-center padding-bottom-44 padding-top-44"> <div class="col-lg-4 col-sm-12"> <div><p>Powered by</p></div> <a href="https://www.tdra.gov.ae/en/home.aspx" target="_blank"><img alt="TDRA Logo" src="/assets/images/TDRALogo.png" class="margin-bottom-20 w-100"></a> </div> <div class="col-lg-8 col-md-8 d-sm-none"> <div> <div class="rotated-square"></div> <div class="line"></div> </div> </div> </div> <div class="row"> <div class="col-md-8"> <ul class="list-unstyled list-inline no-margin"> <li><a class="text-white" href="/en/footer/privacy-policy">Privacy Policy</a></li> <li><a class="text-white" href="/en/footer/copyright">Copyright</a></li> <li><a class="text-white" href="/en/footer/terms-and-conditions">Terms and conditions</a></li> <li><a class="text-white" target="_blank" href="https://www.w3.org/WAI/standards-guidelines/wcag/">WCAG 2.0 AAA standard</a></li> </ul> </div> <div class="col-md-4"> <span style="margin-right:5px;margin-left:5px;"> 2024 U.ae </span><span>All rights reserved</span> </div> </div> </div> </div> </footer> <div class="search-modal"> <button data-js-close-search class="search-modal-close text-camarone"><span class="icon icon--Icon---3"></span></button> <div class="container"> <div class="row padding-bottom-88"> <div class="col-md-12 margin-top-88"> <div class="form-group"> <div class="input-icon input-icon-append"> <input id="txtSearch" name="searchQuery" type="text" aria-describedby="inputGroupSuccess3Status" autocomplete="off" class="form-control text-black v-required" dir="ltr" placeholder="Type or select a popular search tag below..."> <a onclick="$('#redirectToSearch').click();" class="icon icon--Icon---2 no-underline"> </a> </div> <span aria-hidden="true" class="glyphicon glyphicon-ok form-control-feedback"></span> <span id="inputGroupSuccess3Status" class="sr-only">(success)</span> </div> <a style="display:none;" id="redirectToSearch" onclick="redirectToSearch();"></a> </div> </div> <div id="popularSearchesDiv"> <p class="margin-bottom-21">Popular searches</p> <ul class="list-unstyled list-inline hidden-sm hidden-xs fix-tags-search"> <li class="padding-bottom-sm"><a href="/en/information-and-services/top-government-services" class="btn btn-sm btn-primary btn-inverse ">Government services around the clock</a></li> <li class="padding-bottom-sm"><a href="/en/information-and-services/jobs" class="btn btn-sm btn-primary btn-inverse ">Jobs</a></li> <li class="padding-bottom-sm"><a href="/en/information-and-services/visa-and-emirates-id" class="btn btn-sm btn-primary btn-inverse ">Visa and Emirates ID</a></li> <li class="padding-bottom-sm"><a href="/en/information-and-services/education" class="btn btn-sm btn-primary btn-inverse ">Education</a></li> <li class="padding-bottom-sm"><a href="/en/information-and-services/moving-to-the-uae" class="btn btn-sm btn-primary btn-inverse ">Moving to the UAE</a></li> <li class="padding-bottom-sm"><a href="/en/information-and-services/business" class="btn btn-sm btn-primary btn-inverse ">Business</a></li> </ul> <ul class="list-unstyled hidden-md hidden-lg fix-tags-search"> <li class="padding-bottom-21"><a href="/en/information-and-services/top-government-services" class="text-camarone no-underline"><span class="icon icon--star text-black padding-right-xs"></span>Government services around the clock</a></li> <li class="padding-bottom-21"><a href="/en/information-and-services/jobs" class="text-camarone no-underline"><span class="icon icon--star text-black padding-right-xs"></span>Jobs</a></li> <li class="padding-bottom-21"><a href="/en/information-and-services/visa-and-emirates-id" class="text-camarone no-underline"><span class="icon icon--star text-black padding-right-xs"></span>Visa and Emirates ID</a></li> <li class="padding-bottom-21"><a href="/en/information-and-services/education" class="text-camarone no-underline"><span class="icon icon--star text-black padding-right-xs"></span>Education</a></li> <li class="padding-bottom-21"><a href="/en/information-and-services/moving-to-the-uae" class="text-camarone no-underline"><span class="icon icon--star text-black padding-right-xs"></span>Moving to the UAE</a></li> <li class="padding-bottom-21"><a href="/en/information-and-services/business" class="text-camarone no-underline"><span class="icon icon--star text-black padding-right-xs"></span>Business</a></li> </ul> </div> </div> </div> <script> function redirectToSearch() { var searchInput = $('#txtSearch'); if (searchInput.val().length == 0) { // var parentDiv = searchInput.parents('.form-group'); if (!parentDiv.hasClass('has-error')) { searchInput.after('<span for="Title" class="help-block help-block-error">This field is required</span>'); parentDiv.addClass('has-error'); } return; } var searchUrl = '/en/search-result?q='; window.location.href = searchUrl + searchInput.val(); } $(document).keypress(function (e) { if (e.which == 13) { if ($('.search-modal.open').length != 0) redirectToSearch(); } }); $(document).ready(function () { $('#txtSearch').typeahead({ hint: false, highlight: true, minLength: 2 }, { source: function (query, syncResults, asyncResults) { var requestData = { "context": { "locale": { "language": "en", "country": "us" } }, "widget": { "items": [ { "entity": "content", "rfk_id": "rfkid_7", "search": { "limit": 7, "suggestion": [ { "max": 5, "name": "name_suggestions" } ], "content": { "fields":[ "name" ] }, "facet": { "all": true }, "sort": { "choices": true }, "query": { "keyphrase": query } }, "sources": ["843193"] } ] } }; var jsData = JSON.stringify(requestData); var result = []; $.ajax({ type: "POST", url: 'https://discover-euc1.sitecorecloud.io/discover/v2/136620469', headers: { 'authorization': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhcGlLZXkvYTVhZmYwMzYiLCJzY29wZSI6eyIxMzY2MjA0NjkiOlsibzd0NXJyYmprMCJdfSwic3RhZ2UiOiJwcm9kIiwicmVnaW9uIjoiZXUtY2VudHJhbC0xIiwianRpIjoiNjk4MmMwYTAtMTE2NS00NzE5LWE3M2QtNmUxNjkxMGFkNDUxIiwiaWF0IjoxNzMyNjc3NDgxLCJleHAiOjE3MzI3NjQ0ODF9.nlfG4TkZvjeqD0lXEdKf8LrVtTD3xe6xrYOYI1eGzWU' }, data: jsData, dataType: "json", contentType: 'application/json; charset=utf-8', success: function (data) { var resultList = data.widgets[0].content; $.each(resultList, function (index, value) { result.push(value.name); }); asyncResults(JSON.parse(JSON.stringify(result))); }, error: function (xhr, ajaxOptions, thrownError) { console.log(thrownError); } }); }, limit: 100 }); $('#txtSearch').bind('typeahead:select', function (ev, suggestion) { $('#txtSearch').val(suggestion) $('#redirectToSearch').click(); }); $('[data-js-close-search]').click(function () { $('#txtSearch').val('').typeahead('close'); }); }); </script> <div data-js-side-nav-wrapper="data-js-side-nav-wrapper" class="mobile-side-nav-wrapper"> <div class="container"> <ul class="list-unstyled"> <li class="padding-top"> <a href="/en/">Home</a> </li> <li class="padding-top"> <a href="/en/information-and-services">Information and services</a> </li> <li class="padding-top"> <a href="/en/about-the-uae">About the UAE</a> </li> <li class="padding-top"> <a href="/en/participate">Your voice</a> </li> <li class="padding-top"> <a href="/en/media">Media</a> </li> <li class="padding-top"> <a href="https://ask.u.ae/en"> UAsk <span class="badge" style="background-color: #744e2e;margin-bottom: 3px;font-size: 10px;font-weight: 100;"> Beta </span> </a> </li> <li class="padding-top"> <a href="https://u.ae/ar-ae/information-and-services/visa-and-emirates-id" style="float: right;"> العربية </a> <a href="#" data-js-change-lang="" class=""> <span>Other languages</span> </a> </li> <li class="padding-top text-center"> <a href="https://id.uaepass.ae/idshub/authorize?redirect_uri=https://u.ae/Authentication/uae-pass-authentication&client_id=tra_gov_web_prod&response_type=code&state=en&scope=urn:uae:digitalid:profile:general&acr_values=urn:safelayer:tws:policies:authentication:level:low&ui_locales=en"> <img src="/assets/images/UAEPASS_Sign_in_Btn_Outline_Pill_Active.png" alt="UAE PASS" class="login-image-size" /> </a> </li> </ul> </div> </div> <span class="scroll-to-top icon icon--Icon---7" title="Scroll to top"></span> <div id="userwayWidget" tabindex="0"> <img src="/assets/images/accessibility.svg" /> </div> <script src="/assets/scripts/bootstrap.min.js"></script> <script src="/assets/scripts/jquery.nanoscroller.min.js"></script> <script src="/assets/scripts/mainscript.js"></script> <script src="/assets/scripts/jquery.simpleWeather.min.js"></script> <script src="/assets/plugins/blockui/jquery.blockUI.js"></script> <script src="/assets/plugins/jquery-validate/jquery.validate.min.js"></script> <script src="/assets/plugins/jquery-validate/additional-methods.min.js" )"></script> <script src="/assets/plugins/typeahead/typeahead.bundle.min.js" )"></script> <script> function blockUI(elementSelector) { var elem = $(elementSelector); if (elem.length != 0) elem.block({ message: '<div class="loader"></div>', baseZ: 11100 }); else $.blockUI({ message: '<div class="loader"></div>', baseZ: 11100 }); } function unblockUI(elementSelector) { var elem = $(elementSelector); if (elem.length != 0) elem.unblock(); else $.unblockUI(); } function clearControls(divID) { var elements = $('#' + divID).children(); // Clear Stuff $(elements).find('.input-icon').each(function () { $(this).children('i').removeClass('fa-warning').removeClass('fa-check'); }); elements.find('.has-error,.has-success').removeClass('has-error').removeClass('has-success'); elements.find('.help-block-error').remove(); elements.find('.alert-danger').css("display", ""); elements.find('.toggle-lang').each(function () { $(this).popover('destroy'); }); elements.find('input.form-control, textarea.form-control').each(function () { $(this).val('').removeClass('edited'); }); elements.find('input[type=file]').each(function () { if (/MSIE/.test(navigator.userAgent)) { $(this).replaceWith($(this).clone(true)); } else { $(this).val(''); } var parentdiv = $(this).parents('.fileinput'); parentdiv.find('img').attr('src', '/Assets/no-img.png'); }); elements.find('select.form-control').each(function () { $(this).prop('selectedIndex', 0).removeClass('edited'); }); // Telerik Async FileUpload elements.find('.RadAsyncUpload.RadUpload').each(function () { var control = $find($(this).attr('id')); if (control._uploadedFiles != undefined && control._uploadedFiles.length > 0) { Array.removeAt(control._uploadedFiles, 0); control.deleteFileInputAt(0); control.updateClientState(); } }); elements.find('input.tags-input').each(function () { $(this).tagsinput('removeAll'); }); elements.find('.bootstrap-tagsinput input.tt-input').val(''); if (!$().datepicker || !$().selectpicker) { return; } elements.find('select.bs-select').each(function () { $(this).find('option').removeAttr('selected'); $(this).find('option:first-child').attr("selected", "selected"); $(this).selectpicker('refresh'); }); } $(document).ready(function () { $("a.h4[href*='javascript']").each(function () { href = $(this).attr('href'); $(this).attr('href', ''); href = href.replace('javascript:', ''); $(this).attr('onclick', 'return ' + href + ';'); }); $('.filter-down .filter-down-btn a.filter-item').on('click', function () { var text = $(this).text(); var value = $(this).data('value'); var parent = $(this).parents('.filter-control').parent(); parent.find('.selected-filter').text(text); parent.find('select').val(value).change(); if (value != '') { parent.find('.filter-down-title').not(".hidden").addClass('hidden'); } else { parent.find('.filter-down-title.hidden').removeClass('hidden'); } event.preventDefault(); }); $(".submit-link").click(function () { $(this).closest("form").submit(); return false; }); $(".accessibility-controls .invert-colors").click(function () { $('body').toggleClass('inverted'); return false; }); $(".accessibility-controls .font-decrease").click(function () { if ($("body").hasClass("zoom-in-x1")) { $("body").removeClass("zoom-in-x1"); } else if ($("body").hasClass("zoom-in-x2")) { $("body").removeClass("zoom-in-x2"); $("body").addClass("zoom-in-x1"); $("html, body").animate({ scrollTop: $(document).height() }, 0); } else if (!$("body").hasClass("zoom-in-x1") && !$("body").hasClass("zoom-in-x2") && !$("body").hasClass("zoom-out-x1") && !$("body").hasClass("zoom-out-x2")) { $("body").addClass("zoom-out-x1"); } else if ($("body").hasClass("zoom-out-x1")) { $("body").removeClass("zoom-out-x1"); $("body").addClass("zoom-out-x2"); $("html, body").animate({ scrollTop: $(document).height() }, 0); } return false; }); $(".accessibility-controls .font-increase").click(function () { if ($("body").hasClass("zoom-in-x1")) { $("body").removeClass("zoom-in-x1"); $("body").addClass("zoom-in-x2"); $("html, body").animate({ scrollTop: $(document).height() }, 0); } else if (!$("body").hasClass("zoom-in-x1") && !$("body").hasClass("zoom-in-x2") && !$("body").hasClass("zoom-out-x1") && !$("body").hasClass("zoom-out-x2")) { $("body").addClass("zoom-in-x1"); $("html, body").animate({ scrollTop: $(document).height() }, 0); } else if ($("body").hasClass("zoom-out-x1")) { $("body").removeClass("zoom-out-x1"); $("html, body").animate({ scrollTop: $(document).height() }, 0); } else if ($("body").hasClass("zoom-out-x2")) { $("body").removeClass("zoom-out-x2"); $("body").addClass("zoom-out-x1"); $("html, body").animate({ scrollTop: $(document).height() }, 0); } return false; }); }); </script> <script> $(document).ready(function () { ValidateAllForms(); }); function ValidateAllForms() { $('form').each(function () { ValidateDiv($(this)); }); } function ValidateDiv(form) { var error = form.find('.alert-danger:first-child'); var success = form.find('.alert-success:first-child'); form.validate({ errorElement: 'span', //default input error message container errorClass: 'help-block help-block-error', // default input error message class focusInvalid: false, // do not focus the last invalid input ignore: "", // validate all fields including form hidden input invalidHandler: function (event, validator) { //display error alert on form submit success.hide(); error.show(); }, errorPlacement: function (error, element) { // render error placement for each input type if (error.text().length != 0) { var cont = $(element); if (cont) { // for handling file upload placment if (cont.hasClass('customFileUploadPlacment') || cont.hasClass('summernote') || cont.hasClass('password-complexity') || cont.hasClass('select')) { cont.parent().after(error); } else { cont.after(error); } } else { element.after(error); } } }, highlight: function (element) { // hightlight error inputs $(element).closest('.form-group').removeClass("has-success").addClass('has-error'); // set error class to the control group }, unhighlight: function (element) { // revert the change done by hightlight $(element).closest('.form-group').removeClass('has-error'); }, success: function (label) { label.closest('.form-group').removeClass('has-error'); // set success class to the control group }, submitHandler: function (form) { if ($(form).attr('data-formSubmit') === "1") { form.submit(); } success.show(); error.hide(); //$('.modal').modal('hide'); var beginFunction = $(form).attr('data-ajax-begin'); var completeFunction = $(form).attr('data-ajax-complete'); var successFunction = $(form).attr('data-ajax-success'); var errorFunction = $(form).attr('data-ajax-failure'); var clientSideForm = $(form).attr('data-client-side'); if (clientSideForm === "1") { if (successFunction) { var listClientSide = []; if (successFunction.indexOf('(') > -1) { var firstIndex = successFunction.indexOf('(') + 1; var parameters = successFunction.substr(firstIndex, successFunction.length - 1 - firstIndex); var paramList = parameters.split(','); for (var i = 0; i < paramList.length; i++) { listClientSide.push(paramList[i].replace(/['"]+/g, '')); } successFunction = successFunction.substr(0, successFunction.indexOf('(')); } window[successFunction].apply(window, listClientSide); ClearUnsavedChanges(form); } return false; } if (beginFunction && window[beginFunction]) window[beginFunction](); $.ajax({ type: "POST", url: $(form).attr('action'), //mimeType: "multipart/form-data", contentType: false, cache: false, processData: false, data: (new FormData(form)), success: function (e) { if (successFunction) { var list = []; if (successFunction.indexOf('(') > -1) { var firstIndex = successFunction.indexOf('(') + 1; var parameters = successFunction.substr(firstIndex, successFunction.length - 1 - firstIndex); var paramList = parameters.split(','); for (var i = 0; i < paramList.length; i++) { list.push(paramList[i].replace(/['"]+/g, '')); } successFunction = successFunction.substr(0, successFunction.indexOf('(')); } list.push(e); window[successFunction].apply(window, list); } }, error: function (e) { if (errorFunction) { var list = []; if (errorFunction.indexOf('(') > -1) { var firstIndex = errorFunction.indexOf('(') + 1; var parameters = errorFunction.substr(firstIndex, errorFunction.length - 1 - firstIndex); var paramList = parameters.split(','); for (var i = 0; i < paramList.length; i++) { list.push(paramList[i].replace(/['"]+/g, '')); } errorFunction = errorFunction.substr(0, errorFunction.indexOf('(')); } window[errorFunction].apply(window, list); } } }).done(function () { if (completeFunction && window[completeFunction]) window[completeFunction](); }); return false; } }); AddValidationRulesToDiv(form); } function AddValidationRulesToDiv(elem) { elem.find('input.v-required, select.v-required, textarea.v-required').each(function () { $(this).rules('add', { required: true, messages: { required: 'This field is required' } }); }); elem.find('input.v-email').each(function () { $(this).rules('add', { email: true, messages: { email: 'Please enter a valid email address' } }); }); elem.find('input.v-phone').each(function () { $(this).rules('add', { number: true, messages: { number: 'Please enter a valid phone number' } }); }); var passwordConfirm = elem.find('input.v-password-confirmation'); if (passwordConfirm.length != 0) { $.validator.addMethod("passwordConfirm", function (input, element) { try { var pass = $('.v-password'); var newPass = $('.v-password-confirmation'); if (pass.val() === newPass.val()) { return true; } else { return false; } } catch (ex) { return false; } }, 'The password does not match'); passwordConfirm.each(function () { $(this).rules('add', { passwordConfirm: true }); }); } var passwordComplexity = elem.find('input.v-password-complexity'); if (passwordComplexity.length != 0) { $.validator.addMethod("checkPasswordComplexity", function (input, element) { if (input.length > 6) return true; else return false; }, 'Password must be at least 6 characters'); passwordComplexity.each(function () { $(this).rules('add', { checkPasswordComplexity: true }); }); } var emailAvailable = elem.find('input.v-emailAvailable'); if (emailAvailable.length != 0) { $.validator.addMethod("IsEmailAvailable", function (email, element) { var response = $.ajax({ type: "POST", url: "/api/sitecore/UserAuthentication/IsEmailAvailable", data: "{email: '" + email + "' }", contentType: "application/json", dataType: "json", async: false }).responseText; return JSON.parse(response); }, 'This email is used before'); emailAvailable.each(function () { $(this).rules('add', { IsEmailAvailable: true }); }); } var emailAvailableNewsletter = elem.find('input.v-emailAvailableNewsletter'); if (emailAvailableNewsletter.length != 0) { $.validator.addMethod("IsEmailAvailableNewsletter", function (email, element) { var response = $.ajax({ type: "POST", url: "/api/sitecore/UserAuthentication/IsEmailAvailableNewsletter", data: "{email: '" + email + "' }", contentType: "application/json", dataType: "json", async: false }).responseText; return JSON.parse(response); }, 'This email is used before'); emailAvailableNewsletter.each(function () { $(this).rules('add', { IsEmailAvailableNewsletter: true }); }); } } </script> <script> function labnolIframe(div) { var iframe = document.createElement('iframe'); iframe.setAttribute('src', 'https://www.youtube.com/embed/' + div.dataset.id + '?autoplay=1'); iframe.setAttribute('frameborder', '0'); iframe.setAttribute('allowfullscreen', '1'); iframe.setAttribute('allow', 'accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture'); div.parentNode.replaceChild(iframe, div); } function initYouTubeVideos() { var playerElements = document.querySelectorAll('.youtube-player'); for (var n = 0; n < playerElements.length; n++) { playerElements[n].innerHTML = ''; var url = playerElements[n].dataset.id; var regExp = /^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/; var match = url.match(regExp); var videoId = (match && match[7].length == 11) ? match[7] : ""; playerElements[n].dataset.id = videoId; var div = document.createElement('div'); div.setAttribute('data-id', videoId); var thumbNode = document.createElement('img'); thumbNode.src = '//i.ytimg.com/vi/ID/hqdefault.jpg'.replace('ID', videoId); div.appendChild(thumbNode); var playButton = document.createElement('div'); playButton.setAttribute('class', 'play'); div.appendChild(playButton); div.onclick = function () { labnolIframe(this); }; playerElements[n].appendChild(div); } } document.addEventListener('DOMContentLoaded', initYouTubeVideos); </script> <script> $(document).ready(function () { $(".lang-change").on("click", function () { var langKey = $("#selectedLang").val(); if (langKey == 'ar-ae') { setCookie("googtrans", "", 0, "/", ".u.ae"); setCookie("googtrans", "", 0, "/"); } else { setCookie("googtrans", "/es/en", 0, "/", ".u.ae"); setCookie("googtrans", "/es/en", 0, "/"); } }); }); </script> <!--Google Analytics--> <script async src="https://www.googletagmanager.com/gtag/js?id=G-WSGF8J46SL"></script> <script> window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'G-WSGF8J46SL'); </script> <!-- UAE Pass--> <script> $('#login-btn').click(function (e) { e.stopPropagation(); e.preventDefault(); $('.login-dropdown').show(); }) $(document).click(function (event) { var $target = $(event.target); if (!$target.closest('.login-dropdown').length && $('.login-dropdown').is(":visible")) { $('.login-dropdown').hide(); } }); </script> <input id="govmn" name="govmn" type="hidden" value="Unknown" /> <div class="chat--start-btn"> <a href="https://ask.u.ae/en" target="_blank"> <img src="/assets/images/U-1.svg" alt="Start chat button"> </a> </div> <script src="https://cdn.userway.org/widget.js?account=UaEgaTpRV4"></script> <script src="https://cdn.userconsent.org/user_consent.js" data-user-consent-account="UaEgaTpRV4"></script> </body> </html>