res-1.cdn.office.net
Open in
urlscan Pro
2a02:26f0:480:25::1726:6206
Public Scan
URL:
https://res-1.cdn.office.net/shellux/suiteux.shell.mast.72e6f2c061a514ef5d7b.js
Submission: On September 30 via api from TR — Scanned from DE
Submission: On September 30 via api from TR — Scanned from DE
Form analysis
0 forms found in the DOMText Content
var shellPerformance=window.performance,HighResolutionTimingSupported=!!shellPerformance&&"function"==typeof shellPerformance.mark;HighResolutionTimingSupported&&shellPerformance.mark("shell_mast_start"),(self["suiteux_shell_webpackJsonp_suiteux-main"]=self["suiteux_shell_webpackJsonp_suiteux-main"]||[]).push([["mast"],{53413:function(n,t,e){e.d(t,{Z:function(){return U}});var r=e(44772),i=e(95898),o=e(95531),u=e(67745),a=e(31834),c=e(11312),s=e(29851),l=e(11254),f=e(58878),d=e(25052),p=e(31328),v=500,g="Channel has invalid priority - ";function m(n,t,e){t&&(0,a.kJ)(t)&&t[s.R5]>0&&(t=t.sort((function(n,t){return n[f.yi]-t[f.yi]})),(0,a.tO)(t,(function(n){n[f.yi]<v&&(0,a._y)(g+n[s.pZ])})),n[s.MW]({queue:(0,a.FL)(t),chain:(0,d.jV)(t,e[s.TC],e)}))}var y=e(52563),h=e(21275),S=e(34185),C=function(n){function t(){var e,r,u=n.call(this)||this;function l(){e=0,r=[]}return u.identifier="TelemetryInitializerPlugin",u.priority=199,l(),(0,i.Z)(t,u,(function(n,t){n.addTelemetryInitializer=function(n){var t={id:e++,fn:n};return r[s.MW](t),{remove:function(){(0,a.tO)(r,(function(n,e){if(n.id===t.id)return r[s.cb](e,1),-1}))}}},n[f.hL]=function(t,e){for(var i=!1,u=r[s.R5],l=0;l<u;++l){var f=r[l];if(f)try{if(!1===f.fn[s.ZV](null,[t])){i=!0;break}}catch(n){(0,o.kP)(e[s.mc](),1,64,"One of telemetry initializers failed, telemetry item will not be sent: "+(0,a.jj)(n),{exception:(0,c.eU)(n)},!0)}}i||n[s.uL](t,e)},n[s.F3]=function(){l()}})),u}return(0,r.ne)(t,n),t.__ieDyn=1,t}(e(25860).i),T=e(23830),w="Plugins must provide initialize method",b="_notificationManager",P="SDK is still unloading...",A={loggingLevelConsole:1};function _(n,t){return new u.Jk(t)}function k(n,t){var e=!1;return(0,a.tO)(t,(function(t){if(t===n)return e=!0,-1})),e}var I=function(){function n(){var t,e,c,g,I,E,O,L,F,M,N,U,D,x,R,K,V,B,q,j,z=0,J=!1;(0,i.Z)(n,this,(function(n){function i(e){if(!z&&!J&&(e||n[s.eZ]&&n[s.eZ].queue[s.R5]>0)){var r=(0,a.v4)(t.diagnosticLogInterval);r&&r>0||(r=1e4),z=setInterval((function(){clearInterval(z),z=0,$()}),r)}return z}function W(){e=!1,t=(0,a.mm)(!0,{},A),n[s.TC]=t,n[s.eZ]=new o.AQ(t),n[s.iC]=[],R=new C,c=[],g=null,I=null,E=null,O=null,L=null,M=null,F=[],N=null,U=null,D=null,x=!1,K=null,V=(0,h.J)("AIBaseCore",!0),B=(0,T.Y)(),j=null}function H(){var e=(0,d.CD)(Q(),t,n);return e[s.Fc](i),e}function Z(e){var r=function(n,t,e){var r,i=[],u={};return(0,a.tO)(e,(function(e){((0,a.le)(e)||(0,a.le)(e[s.VL]))&&(0,a._y)(w);var r=e[f.yi],c=e[s.pZ];e&&r&&((0,a.le)(u[r])?u[r]=c:(0,o.jV)(n,"Two extensions have same priority #"+r+" - "+u[r]+", "+c)),(!r||r<t)&&i[s.MW](e)})),(r={all:e})[f.oV]=i,r}(n[s.eZ],v,F);M=r[f.oV],L=null;var u=r.all;if(D=(0,a.FL)(function(n,t,e){var r=[];if(n&&(0,a.tO)(n,(function(n){return m(r,n,e)})),t){var i=[];(0,a.tO)(t,(function(n){n[f.yi]>v&&i[s.MW](n)})),m(r,i,e)}return r}(U,u,n)),N){var c=(0,a.UA)(u,N);-1!==c&&u[s.cb](c,1),-1!==(c=(0,a.UA)(M,N))&&M[s.cb](c,1),N._setQueue(D)}else N=function(n,t){function e(){return(0,d.CD)(null,t[s.TC],t,null)}function r(n,t,e,r){var i=n?n[s.R5]+1:1;function o(){0==--i&&(r&&r(),r=null)}i>0&&(0,a.tO)(n,(function(n){if(n&&n.queue[s.R5]>0){var r=n.chain,u=t[s.zV](r);u[s.Fc](o),e(u)}else i--})),o()}var i=!1,o={identifier:"ChannelControllerPlugin",priority:v,initialize:function(t,e,r,o){i=!0,(0,a.tO)(n,(function(n){n&&n.queue[s.R5]>0&&(0,p.bP)((0,d.CD)(n.chain,t,e),r)}))},isInitialized:function(){return i},processTelemetry:function(t,i){r(n,i||e(),(function(n){n[s.uL](t)}),(function(){i[s.uL](t)}))},update:function(t,e){var i=e||{reason:0};return r(n,t,(function(n){n[s.uL](i)}),(function(){t[s.uL](i)})),!0},pause:function(){r(n,e(),(function(n){n.iterate((function(n){n.pause&&n.pause()}))}),null)},resume:function(){r(n,e(),(function(n){n.iterate((function(n){n.resume&&n.resume()}))}),null)},teardown:function(t,e){var o=e||{reason:0,isAsync:!1};return r(n,t,(function(n){n[s.uL](o)}),(function(){t[s.uL](o),i=!1})),!0},getChannel:function(t){var e=null;return n&&n[s.R5]>0&&(0,a.tO)(n,(function(n){if(n&&n.queue[s.R5]>0&&((0,a.tO)(n.queue,(function(n){if(n[s.pZ]===t)return e=n,-1})),e))return-1})),e},flush:function(t,i,o,u){var a=1,c=!1,l=null;function f(){a--,c&&0===a&&(l&&(clearTimeout(l),l=null),i&&i(c),i=null)}return u=u||5e3,r(n,e(),(function(n){n.iterate((function(n){if(n[s.kL]){a++;var e=!1;n[s.kL](t,(function(){e=!0,f()}),o)||e||(t&&null==l?l=setTimeout((function(){l=null,f()}),u):f())}}))}),(function(){c=!0,f()})),!0},_setQueue:function(t){n=t}};return o}(D,n);u[s.MW](N),M[s.MW](N),n[s.iC]=(0,p.AA)(u),N[s.VL](t,n,u);var l=H();(0,p.bP)(l,u),n[s.iC]=(0,a.FL)((0,p.AA)(M||[])).slice(),e&&function(t){var e=(0,d.xy)(Q(),n);e[s.Fc](i),n._updateHook&&!0===n._updateHook(e,t)||e[s.uL](t)}(e)}function G(t){var e,r=null,i=null;return(0,a.tO)(n[s.iC],(function(n){if(n[s.pZ]===t&&n!==N&&n!==R)return i=n,-1})),!i&&N&&(i=N.getChannel(t)),i&&((e={plugin:i})[s.$h]=function(n){(0,p.OY)(i)[f.mE]=!n},e.isEnabled=function(){var n=(0,p.OY)(i);return!n[s.fi]&&!n[f.mE]},e.remove=function(n,t){var e;void 0===n&&(n=!0);var r=[i],o=((e={reason:1})[s.d]=n,e);Y(r,o,(function(n){n&&Z({reason:32,removed:r}),t&&t(n)}))},r=e),r}function Q(){if(!L){var e=(M||[]).slice();-1===(0,a.UA)(e,R)&&e[s.MW](R),L=(0,d.jV)((0,p.AA)(e),t,n)}return L}function Y(e,r,o){if(e&&e[s.R5]>0){var u=(0,d.jV)(e,t,n),c=(0,d.Bt)(u,n);c[s.Fc]((function(){var n=!1,t=[];(0,a.tO)(F,(function(r,i){k(r,e)?n=!0:t[s.MW](r)})),F=t;var r=[];U&&((0,a.tO)(U,(function(t,i){var o=[];(0,a.tO)(t,(function(t){k(t,e)?n=!0:o[s.MW](t)})),r[s.MW](o)})),U=r),o&&o(n),i()})),c[s.uL](r)}else o(!1)}function $(){if(n[s.eZ]&&n[s.eZ].queue){var e=n[s.eZ].queue.slice(0);n[s.eZ].queue[s.R5]=0,(0,a.tO)(e,(function(e){var r,i=((r={})[s.I]=K||"InternalMessageId: "+e[s.Gc],r.iKey=(0,a.v4)(t[s.p$]),r.time=(0,a.Y6)(new Date),r.baseType=o.lQ.dataType,r.baseData={message:e[s.gU]},r);n.track(i)}))}}function X(n,t,e,r){return N?N[s.kL](n,t,e||6,r):(t&&t(!1),!0)}function nn(t){var e=n[s.eZ];e?((0,o.kP)(e,2,73,t),i()):(0,a._y)(t)}W(),n[s.yl]=function(){return e},n[s.VL]=function(i,o,u,c){x&&(0,a._y)(P),n[s.yl]()&&(0,a._y)("Core should not be initialized more than once"),t=i||{},n[s.TC]=t,(0,a.le)(i[s.p$])&&(0,a._y)("Please provide instrumentation key"),g=c,n[b]=c,function(){var n=(0,a.v4)(t.disableDbgExt);!0===n&&q&&(g[s.n7](q),q=null);g&&!q&&!0!==n&&(q=(0,S.p)(t),g[s.g](q))}(),function(){var n=(0,a.v4)(t.enablePerfMgr);!n&&E&&(E=null);n&&(0,a.qK)(t,f.DN,_)}(),(0,a.qK)(t,f.Zh,{}).NotificationManager=g,u&&(n[s.eZ]=u);var l=(0,a.qK)(t,f.js,[]);(F=[])[s.MW].apply(F,(0,r.$h)((0,r.$h)([],o,!1),l,!1)),U=(0,a.qK)(t,f.Z,[]),Z(null),D&&0!==D[s.R5]||(0,a._y)("No "+f.Z+" available"),e=!0,n.releaseQueue()},n.getTransmissionControls=function(){var n=[];return D&&(0,a.tO)(D,(function(t){n[s.MW](t.queue)})),(0,a.FL)(n)},n.track=function(e){e.iKey=e.iKey||t[s.p$],e[s.Z_]=e[s.Z_]||(0,a.Y6)(new Date),e.ver=e.ver||"4.0",!x&&n[s.yl]()?H()[s.uL](e):c[s.MW](e)},n[s.SD]=H,n[s.tb]=function(){var t;return g||(g=(0,l.pu)(((t={})[s.g]=function(n){},t[s.n7]=function(n){},t[f.uC]=function(n){},t[f.$F]=function(n,t){},t[f.f_]=function(n,t){},t)),n[b]=g),g},n[s.g]=function(n){g&&g[s.g](n)},n[s.n7]=function(n){g&&g[s.n7](n)},n.getCookieMgr=function(){return O||(O=(0,y.Nz)(t,n[s.eZ])),O},n.setCookieMgr=function(n){O=n},n[f.kl]=function(){if(!I&&!E&&(0,a.v4)(t.enablePerfMgr)){var e=(0,a.v4)(t[f.DN]);(0,a.mf)(e)&&(E=e(n,n[s.tb]()))}return I||E||(0,u.j5)()},n.setPerfMgr=function(n){I=n},n.eventCnt=function(){return c[s.R5]},n.releaseQueue=function(){if(e&&c[s.R5]>0){var n=c;c=[],(0,a.tO)(n,(function(n){H()[s.uL](n)}))}},n.pollInternalLogs=function(n){return K=n||null,J=!1,z&&(clearInterval(z),z=null),i(!0)},n[s.LS]=function(){J=!0,z&&(clearInterval(z),z=0,$())},(0,a.Vb)(n,(function(){return R}),["addTelemetryInitializer"]),n.unload=function(t,r,i){var o;void 0===t&&(t=!0),e||(0,a._y)("SDK is not initialized"),x&&(0,a._y)(P);var u=((o={reason:50})[s.d]=t,o.flushComplete=!1,o),c=(0,d.Bt)(Q(),n);function l(t){u.flushComplete=t,x=!0,B.run(c,u),n[s.LS](),c[s.uL](u)}c[s.Fc]((function(){W(),r&&r(u)}),n),$(),X(t,l,6,i)||l(!1)},n[s.TO]=G,n.addPlugin=function(n,t,e,r){if(!n)return r&&r(!1),void nn(w);var i=G(n[s.pZ]);if(i&&!t)return r&&r(!1),void nn("Plugin ["+n[s.pZ]+"] is already loaded!");var o={reason:16};function u(t){F[s.MW](n),o.added=[n],Z(o),r&&r(!0)}if(i){var a=[i.plugin];Y(a,{reason:2,isAsync:!!e},(function(n){n?(o.removed=a,o.reason|=32,u()):r&&r(!1)}))}else u()},n.evtNamespace=function(){return V},n[s.kL]=X,n.getTraceCtx=function(n){return j||(j=(0,p.Yn)()),j},n.setTraceCtx=function(n){j=n||null},(0,a.Oi)(n,"addUnloadCb",(function(){return B}),"add")}))}return n.__ieDyn=1,n}(); /* * Application Insights JavaScript SDK - Core, 2.8.14 * Copyright (c) Microsoft and contributors. All rights reserved. */ function E(n,t,e,r){(0,a.tO)(n,(function(n){if(n&&n[t])if(e)setTimeout((function(){return r(n)}),0);else try{r(n)}catch(n){}}))}var O=function(){function n(t){this.listeners=[];var e=!!(t||{}).perfEvtsSendAll;(0,i.Z)(n,this,(function(n){n[s.g]=function(t){n.listeners[s.MW](t)},n[s.n7]=function(t){for(var e=(0,a.UA)(n[s.dE],t);e>-1;)n.listeners[s.cb](e,1),e=(0,a.UA)(n[s.dE],t)},n[f.uC]=function(t){E(n[s.dE],f.uC,!0,(function(n){n[f.uC](t)}))},n[f.$F]=function(t,e){E(n[s.dE],f.$F,!0,(function(n){n[f.$F](t,e)}))},n[f.f_]=function(t,e){E(n[s.dE],f.f_,e,(function(n){n[f.f_](t,e)}))},n[f.C$]=function(t){t&&(!e&&t[s.PL]()||E(n[s.dE],f.C$,!1,(function(n){t[s.d]?setTimeout((function(){return n[f.C$](t)}),0):n[f.C$](t)})))}}))}return n.__ieDyn=1,n}(),L=function(n){function t(){var e=n.call(this)||this;return(0,i.Z)(t,e,(function(n,t){function e(t){var e=n[s.tb]();e&&e[f.$F]([t],2)}n[s.VL]=function(n,e,r,i){t[s.VL](n,e,r||new o.AQ(n),i||new O(n))},n.track=function(r){(0,u.Lm)(n[f.kl](),(function(){return"AppInsightsCore:track"}),(function(){null===r&&(e(r),(0,a._y)("Invalid telemetry item")),function(n){(0,a.le)(n[s.I])&&(e(n),(0,a._y)("telemetry name required"))}(r),t.track(r)}),(function(){return{item:r}}),!r.sync)}})),e}return(0,r.ne)(t,n),t.__ieDyn=1,t}(I),F=e(36602),M=e(64428),N=function(n){function t(){var e=n.call(this)||this;return e.pluginVersionStringArr=[],(0,i.Z)(t,e,(function(n,t){n.logger&&n.logger.queue||(n.logger=new o.AQ({loggingLevelConsole:1})),n.initialize=function(e,r,i,s){(0,u.Lm)(n,(function(){return"AppInsightsCore.initialize"}),(function(){var u=n.pluginVersionStringArr;if(e){e.endpointUrl||(e.endpointUrl=F.YT);var l=e.propertyStorageOverride;!l||l.getProperty&&l.setProperty||(0,a._y)("Invalid property storage override passed."),e.channels&&(0,a.tO)(e.channels,(function(n){n&&(0,a.tO)(n,(function(n){if(n.identifier&&n.version){var t=n.identifier+"="+n.version;u.push(t)}}))}))}n.getWParam=function(){return"undefined"!=typeof document||e.enableWParam?0:-1},r&&(0,a.tO)(r,(function(n){if(n&&n.identifier&&n.version){var t=n.identifier+"="+n.version;u.push(t)}})),n.pluginVersionString=u.join(";"),n.pluginVersionStringArr=u;try{t.initialize(e,r,i,s),n.pollInternalLogs("InternalLog")}catch(t){var f=n.logger,d=(0,c.eU)(t);-1!==d.indexOf("channels")&&(d+="\n - Channels must be provided through config.channels only!"),(0,o.kP)(f,1,514,"SDK Initialization Failed - no telemetry will be sent: "+d)}}),(function(){return{config:e,extensions:r,logger:i,notificationManager:s}}))},n.track=function(e){(0,u.Lm)(n,(function(){return"AppInsightsCore.track"}),(function(){var r=e;if(r){r.timings=r.timings||{},r.timings.trackStart=(0,M.hK)(),(0,M.r7)(r.latency)||(r.latency=1);var i=r.ext=r.ext||{};i.sdk=i.sdk||{},i.sdk.ver=M.vs;var o=r.baseData=r.baseData||{};o[F.o6]=o[F.o6]||{};var u=o[F.o6];u[F.p8]=u[F.p8]||n.pluginVersionString||F.qS}t.track(r)}),(function(){return{item:e}}),!e.sync)}})),e}return(0,r.ne)(t,n),t.__ieDyn=1,t}(L),U=N},79693:function(n,t,e){e.d(t,{vi:function(){return b}});var r,i=e(44772),o=e(21385),u=e(31834),a="Failed",c=a+"MonitorAjax",s="Track",l="Start",f="Stop",d="Event",p="AuthContext",v="Exception",g="Local",m="Session",y="Storage",h="Browser",S="Cannot",C="Buffer",T="InstrumentationKey",w=((0,o.By)({CRITICAL:1,WARNING:2}),(0,o.By)(((r={})[h+"DoesNotSupport"+g+y]=0,r[h+S+"Read"+g+y]=1,r[h+S+"Read"+m+y]=2,r[h+S+"Write"+g+y]=3,r[h+S+"Write"+m+y]=4,r[h+a+"RemovalFrom"+g+y]=5,r[h+a+"RemovalFrom"+m+y]=6,r[S+"SendEmptyTelemetry"]=7,r.ClientPerformanceMathError=8,r["ErrorParsingAI"+m+"Cookie"]=9,r.ErrorPVCalc=10,r[v+"WhileLoggingError"]=11,r[a+"AddingTelemetryTo"+C]=12,r[c+"Abort"]=13,r[c+"Dur"]=14,r[c+"Open"]=15,r[c+"RSC"]=16,r[c+"Send"]=17,r[c+"GetCorrelationHeader"]=18,r[a+"ToAddHandlerForOnBeforeUnload"]=19,r[a+"ToSendQueuedTelemetry"]=20,r[a+"ToReportDataLoss"]=21,r["Flush"+a]=22,r.MessageLimitPerPVExceeded=23,r.MissingRequiredFieldSpecification=24,r.NavigationTimingNotSupported=25,r.OnError=26,r[m+"RenewalDateIsZero"]=27,r.SenderNotInitialized=28,r[l+s+d+a]=29,r[f+s+d+a]=30,r[l+s+a]=31,r[f+s+a]=32,r.TelemetrySampledAndNotSent=33,r[s+d+a]=34,r[s+v+a]=35,r[s+"Metric"+a]=36,r[s+"PV"+a]=37,r[s+"PV"+a+"Calc"]=38,r[s+"Trace"+a]=39,r["Transmission"+a]=40,r[a+"ToSet"+y+C]=41,r[a+"ToRestore"+y+C]=42,r.InvalidBackendResponse=43,r[a+"ToFixDepricatedValues"]=44,r.InvalidDurationValue=45,r.TelemetryEnvelopeInvalid=46,r.CreateEnvelopeError=47,r[S+"SerializeObject"]=48,r[S+"SerializeObjectNonSerializable"]=49,r.CircularReferenceDetected=50,r["Clear"+p+a]=51,r[v+"Truncated"]=52,r.IllegalCharsInName=53,r.ItemNotInArray=54,r.MaxAjaxPerPVExceeded=55,r.MessageTruncated=56,r.NameTooLong=57,r.SampleRateOutOfRange=58,r["Set"+p+a]=59,r["Set"+p+a+"AccountName"]=60,r.StringValueTooLong=61,r.StartCalledMoreThanOnce=62,r.StopCalledWithoutStart=63,r["TelemetryInitializer"+a]=64,r.TrackArgumentsNotSpecified=65,r.UrlTooLong=66,r[m+y+C+"Full"]=67,r[S+"AccessCookie"]=68,r.IdTooLong=69,r.InvalidEvent=70,r[c+"SetRequestHeader"]=71,r["Send"+h+"InfoOnUserInit"]=72,r["Plugin"+v]=73,r["Notification"+v]=74,r.SnippetScriptLoadFailure=99,r["Invalid"+T]=100,r[S+"ParseAiBlobValue"]=101,r.InvalidContentBlob=102,r[s+"PageAction"+d+a]=103,r[a+"AddingCustomDefinedRequestContext"]=104,r["InMemory"+y+C+"Full"]=105,r[T+"Deprecation"]=106,r))),b=((0,o.By)({NotSet:0,Pii_DistinguishedName:1,Pii_GenericData:2,Pii_IPV4Address:3,Pii_IPv6Address:4,Pii_MailSubject:5,Pii_PhoneNumber:6,Pii_QueryString:7,Pii_SipAddress:8,Pii_SmtpAddress:9,Pii_Identity:10,Pii_Uri:11,Pii_Fqdn:12,Pii_IPV4AddressLegacy:13,CustomerContent_GenericContent:32}),(0,o.By)({Normal:1,CostDeferred:2,RealTime:3,Immediate:4}),(0,o.By)({Unspecified:0,String:1,Int32:2,UInt32:3,Int64:4,UInt64:5,Double:6,Bool:7,Guid:8,DateTime:9}));(0,o.By)({Normal:1,Critical:2}),(0,o.By)({NONE:0,ERROR:1,WARNING:2,INFORMATION:3}),(0,u.FL)((0,i.uc)((0,i.uc)({},w),(0,o.By)({AuthHandShakeError:501,AuthRedirectFail:502,BrowserCannotReadLocalStorage:503,BrowserCannotWriteLocalStorage:504,BrowserDoesNotSupportLocalStorage:505,CannotParseBiBlobValue:506,CannotParseDataAttribute:507,CVPluginNotAvailable:508,DroppedEvent:509,ErrorParsingAISessionCookie:510,ErrorProvidedChannels:511,FailedToGetCookies:512,FailedToInitializeCorrelationVector:513,FailedToInitializeSDK:514,InvalidContentBlob:515,InvalidCorrelationValue:516,SessionRenewalDateIsZero:517,SendPostOnCompleteFailure:518,PostResponseHandler:519,SDKNotInitialized:520})))},36602:function(n,t,e){e.d(t,{YT:function(){return i},o6:function(){return u},p8:function(){return o},qS:function(){return r}}); /* * 1DS JS SDK Core, 3.2.12 * Copyright (c) Microsoft and contributors. All rights reserved. * (Microsoft Internal Only) */ // Licensed under the MIT License. var r="",i="https://browser.events.data.microsoft.com/OneCollector/1.0/",o="version",u="properties"},64428:function(n,t,e){e.d(t,{Do:function(){return P},Sn:function(){return S},Vv:function(){return b},cm:function(){return A},hK:function(){return k},if:function(){return O},jM:function(){return C},l7:function(){return _},mJ:function(){return F},ot:function(){return M},r7:function(){return T},vs:function(){return v},yj:function(){return w}});var r,i=e(11312),o=e(31834),u=e(52563),a=e(20088),c=e(61419),s=e(15816),l=e(1416),f=e(11254),d=e(36602),p="3.2.12",v="1DS-Web-JS-"+p,g="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",m="withCredentials",y="timeout",h=((r={})[0]=0,r[2]=6,r[1]=1,r[3]=7,r[4098]=6,r[4097]=1,r[4099]=7,r);Boolean((0,i.Me)()),Boolean((0,i.Jj)());function S(n){return!(n===d.qS||(0,o.le)(n))}function C(n){if(n){var t=n.indexOf("-");if(t>-1)return n.substring(0,t)}return d.qS}function T(n){return!!(n&&(0,o.hj)(n)&&n>=1&&n<=4)}function w(n,t,e){if(!t&&!S(t)||"string"!=typeof n)return null;var r=typeof t;if("string"===r||"number"===r||"boolean"===r||(0,o.kJ)(t))t={value:t};else if("object"!==r||c.CY.call(t,"value")){if((0,o.le)(t.value)||t.value===d.qS||!(0,o.HD)(t.value)&&!(0,o.hj)(t.value)&&!(0,o.jn)(t.value)&&!(0,o.kJ)(t.value))return null}else t={value:e?JSON.stringify(t):t};if((0,o.kJ)(t.value)&&!E(t.value))return null;if(!(0,o.le)(t.kind)){if((0,o.kJ)(t.value)||!I(t.kind))return null;t.value=t.value.toString()}return t}function b(n,t,e){var r=-1;if(!(0,o.o8)(n))if(t>0&&(32===t?r=8192:t<=13&&(r=t<<5)),function(n){if(n>=0&&n<=9)return!0;return!1}(e))-1===r&&(r=0),r|=e;else{var i=h[L(n)]||-1;-1!==r&&-1!==i?r|=i:6===i&&(r=i)}return r}function P(n,t,e){var r;return void 0===e&&(e=!0),n&&(r=n.get(t),e&&r&&decodeURIComponent&&(r=decodeURIComponent(r))),r||d.qS}function A(n){void 0===n&&(n="D");var t=(0,a.GW)();return"B"===n?t="{"+t+"}":"P"===n?t="("+t+")":"N"===n&&(t=t.replace(/-/g,d.qS)),t}function _(n,t,e,r,i){var u={},a=!1,s=0,l=arguments.length,f=arguments;for("[object Boolean]"===Object[c.hB].toString.call(f[0])&&(a=f[0],s++);s<l;s++){n=f[s];(0,o.rW)(n,(function(n,t){a&&t&&(0,o.Kn)(t)?(0,o.kJ)(t)?(u[n]=u[n]||[],(0,o.tO)(t,(function(t,e){t&&(0,o.Kn)(t)?u[n][e]=_(!0,u[n][e],t):u[n][e]=t}))):u[n]=_(!0,u[n],t):u[n]=t}))}return u}var k=a.Jj;function I(n){return 0===n||n>0&&n<=13||32===n}function E(n){return n.length>0}function O(n,t){var e=n;e.timings=e.timings||{},e.timings.processTelemetryStart=e.timings.processTelemetryStart||{},e.timings.processTelemetryStart[t]=k()}function L(n){var t=0;if(null!=n){var e=typeof n;"string"===e?t=1:"number"===e?t=2:"boolean"===e?t=3:e===c.fK&&(t=4,(0,o.kJ)(n)?(t=4096,n.length>0&&(t|=L(n[0]))):c.CY.call(n,"value")&&(t=8192|L(n.value)))}return t}c.jA,c.fK,c.jA,o.tO,o.UA,o.Mr,o.Xz,o.FY,o.Y6,i.b$,o.HD,o.hj,o.jn,o.mf,o.kJ,o.Kn,o.nd,i.MF,o.Y6,i.cp,u.p7,u.UY,o.l_,s.c9,s.Ib,o.Id,o.rW,o.Ym,o.o8,o.le,o.nr,o.mf,o.Kn,o.J_,o.kJ,o.VZ,o.HD,o.hj,o.jn,o.Y6,o.tO,o.UA,o.Mr,o.Xz,o.nd,f.pu,o.FY,o.l_,s.Ib,o.m6,i.w1,a.GW,a.Jj,l.pZ,l.az,l._l,l.CN,l.F6,a.DO;function F(){return!!(0,i.a8)("chrome")}function M(n,t,e,r,i,o){function u(n,t,e){try{n[t]=e}catch(n){}}void 0===r&&(r=!1),void 0===i&&(i=!1);var a=new XMLHttpRequest;return r&&u(a,g,r),e&&u(a,m,e),a.open(n,t,!i),e&&u(a,m,e),!i&&o&&u(a,y,o),a}},88992:function(n,t,e){e.d(t,{Z:function(){return hn}});var r=e(44772),i=e(95898),o=e(67745),u=e(15816),a=e(21275),c=e(64428),s=e(31834),l=e(11312),f=(0,e(21385).By)({Unknown:0,NonRetryableStatus:1,InvalidEvent:2,SizeLimitExceeded:3,KillSwitch:4,QueueFull:5}),d=e(95531),p=e(25860),v="REAL_TIME",g="",m="POST",y="drop",h="send",S="requeue",C="rspFail",T="application/x-json-stream",w="cache-control",b="content-type",P="kill-tokens",A="kill-duration",_="time-delta-millis",k="client-version",I="client-id",E="time-delta-to-apply-millis",O="upload-time",L="apikey",F="AuthMsaDeviceTicket",M="AuthXToken",N="msfpc",U="trace",D="user"; /* * 1DS JS SDK POST plugin, 3.2.12 * Copyright (c) Microsoft and contributors. All rights reserved. * (Microsoft Internal Only) */ /** * EventBatch.ts * @author Nev Wylie (newylie) * @copyright Microsoft 2020 */ function x(n){var t=(n.ext||{}).intweb;return t&&(0,c.Sn)(t[N])?t[N]:null}function R(n){for(var t=null,e=0;null===t&&e<n.length;e++)t=x(n[e]);return t}var K=function(){function n(t,e){var r=e?[].concat(e):[],i=this,o=R(r);i.iKey=function(){return t},i.Msfpc=function(){return o||g},i.count=function(){return r.length},i.events=function(){return r},i.addEvent=function(n){return!!n&&(r.push(n),o||(o=x(n)),!0)},i.split=function(e,i){var u;if(e<r.length){var a=r.length-e;(0,s.le)(i)||(a=i<a?i:a),u=r.splice(e,a),o=R(r)}return new n(t,u)}}return n.create=function(t,e){return new n(t,e)},n}(),V=function(){function n(){var t=!0,e=!0,r=!0,o="use-collector-delta",u=!1;(0,i.Z)(n,this,(function(n){n.allowRequestSending=function(){return t},n.firstRequestSent=function(){r&&(r=!1,u||(t=!1))},n.shouldAddClockSkewHeaders=function(){return e},n.getClockSkewHeaderValue=function(){return o},n.setClockSkew=function(n){u||(n?(o=n,e=!0,u=!0):e=!1,t=!0)}}))}return n.__ieDyn=1,n}(),B=function(){function n(){var t={};(0,i.Z)(n,this,(function(n){n.setKillSwitchTenants=function(n,e){if(n&&e)try{var r=(u=n.split(","),a=[],u&&(0,s.tO)(u,(function(n){a.push((0,s.nd)(n))})),a);if("this-request-only"===e)return r;for(var i=1e3*parseInt(e,10),o=0;o<r.length;++o)t[r[o]]=(0,s.m6)()+i}catch(n){return[]}var u,a;return[]},n.isTenantKilled=function(n){var e=t,r=(0,s.nd)(n);return void 0!==e[r]&&e[r]>(0,s.m6)()||(delete e[r],!1)}}))}return n.__ieDyn=1,n}(),q=e(61419);function j(n){var t,e=Math.floor(1200*Math.random())+2400;return t=Math.pow(2,n)*e,Math.min(t,6e5)} /* * 1DS JS SDK POST plugin, 3.2.12 * Copyright (c) Microsoft and contributors. All rights reserved. * (Microsoft Internal Only) */ /** * Serializer.ts * @author Abhilash Panwar (abpanwar); Hector Hernandez (hectorh); Nev Wylie (newylie) * @copyright Microsoft 2018-2020 */ var z,J=2e6,W=Math.min(J,65e3),H="metadata",Z="f",G=/\./,Q=function(){function n(t,e,r,u){var a="data",l="baseData",f=!!u,d=e,p={};(0,i.Z)(n,this,(function(n){function e(n,t,i,o,u,a,l){(0,s.rW)(n,(function(n,v){var g=null;if(v||(0,c.Sn)(v)){var m=i,y=n,h=u,S=t;if(f&&!o&&G.test(n)){var C=n.split("."),T=C.length;if(T>1){h&&(h=h.slice());for(var w=0;w<T-1;w++){var b=C[w];S=S[b]=S[b]||{},m+="."+b,h&&h.push(b)}y=C[T-1]}}var P=o&&function(n,t){var e=p[n];return void 0===e&&(n.length>=7&&(e=(0,s.xe)(n,"ext.metadata")||(0,s.xe)(n,"ext.web")),p[n]=e),e}(m);if(g=!P&&d&&d.handleField(m,y)?d.value(m,y,v,r):(0,c.yj)(y,v,r)){var A=g.value;if(S[y]=A,a&&a(h,y,g),l&&"object"==typeof A&&!(0,s.kJ)(A)){var _=h;_&&(_=_.slice()).push(y),e(v,A,m+"."+y,o,_,a,l)}}}}))}n.createPayload=function(n,t,e,r,i,o){return{apiKeys:[],payloadBlob:g,overflow:null,sizeExceed:[],failedEvts:[],batches:[],numEvents:0,retryCnt:n,isTeardown:t,isSync:e,isBeacon:r,sendType:o,sendReason:i}},n.appendPayload=function(e,r,i){var u=e&&r&&!e.overflow;return u&&(0,o.Lm)(t,(function(){return"Serializer:appendPayload"}),(function(){for(var t=r.events(),o=e.payloadBlob,u=e.numEvents,a=!1,c=[],l=[],f=e.isBeacon,d=f?65e3:3984588,p=f?W:J,v=0,g=0;v<t.length;){var m=t[v];if(m){if(u>=i){e.overflow=r.split(v);break}var y=n.getEventBlob(m);if(y&&y.length<=p){var h=y.length;if(o.length+h>d){e.overflow=r.split(v);break}o&&(o+="\n"),o+=y,++g>20&&(o.substr(0,1),g=0),a=!0,u++}else y?c.push(m):l.push(m),t.splice(v,1),v--}v++}if(c&&c.length>0&&e.sizeExceed.push(K.create(r.iKey(),c)),l&&l.length>0&&e.failedEvts.push(K.create(r.iKey(),l)),a){e.batches.push(r),e.payloadBlob=o,e.numEvents=u;var S=r.iKey();-1===(0,s.UA)(e.apiKeys,S)&&e.apiKeys.push(S)}}),(function(){return{payload:e,theBatch:{iKey:r.iKey(),evts:r.events()},max:i}})),u},n.getEventBlob=function(n){try{return(0,o.Lm)(t,(function(){return"Serializer.getEventBlob"}),(function(){var t={};t.name=n.name,t.time=n.time,t.ver=n.ver,t.iKey="o:"+(0,c.jM)(n.iKey);var r={},i=n.ext;i&&(t.ext=r,(0,s.rW)(i,(function(n,t){e(t,r[n]={},"ext."+n,!0,null,null,!0)})));var o=t[a]={};o.baseType=n.baseType;var u=o[l]={};return e(n.baseData,u,l,!1,[l],(function(n,t,e){Y(r,n,t,e)}),true),e(n.data,o,a,!1,[],(function(n,t,e){Y(r,n,t,e)}),true),JSON.stringify(t)}),(function(){return{item:n}}))}catch(n){return null}}}))}return n.__ieDyn=1,n}();function Y(n,t,e,r){if(r&&n){var i=(0,c.Vv)(r.value,r.kind,r.propertyType);if(i>-1){var o=n[H];o||(o=n[H]={f:{}});var u=o[Z];if(u||(u=o[Z]={}),t)for(var a=0;a<t.length;a++){var l=t[a];u[l]||(u[l]={f:{}});var f=u[l][Z];f||(f=u[l][Z]={}),u=f}u=u[e]={},(0,s.kJ)(r.value)?u.a={t:i}:u.t=i}}} /** * HttpManager.ts * @author Abhilash Panwar (abpanwar); Hector Hernandez (hectorh); Nev Wylie (newylie) * @copyright Microsoft 2018-2020 */ var $="sendAttempt",X="&NoResponseBody=true",nn=((z={})[1]=S,z[100]=S,z[200]="sent",z[8004]=y,z[8003]=y,z),tn={},en={};function rn(n,t,e){tn[n]=t,!1!==e&&(en[t]=n)}function on(n){try{return n.responseText}catch(n){}return g}function un(n,t){var e=!1;if(n&&t){var r=(0,s.FY)(n);if(r&&r.length>0)for(var i=t.toLowerCase(),o=0;o<r.length;o++){var u=r[o];if(u&&(0,s.nr)(t,u)&&u.toLowerCase()===i){e=!0;break}}}return e}function an(n,t,e,r){t&&e&&e.length>0&&(r&&tn[t]?(n.hdrs[tn[t]]=e,n.useHdrs=!0):n.url+="&"+t+"="+e)}function cn(n,t){return t&&((0,s.hj)(t)?n=[t].concat(n):(0,s.kJ)(t)&&(n=t.concat(n))),n}rn(F,F,!1),rn(k,k),rn(I,"Client-Id"),rn(L,L),rn(E,E),rn(O,O),rn(M,M);var sn=function(){function n(t,e,r,u,a){this._responseHandlers=[];var f,p,v,S,F,M,U,D,x,R,K="?cors=true&"+b.toLowerCase()+"="+T,z=new B,J=!1,W=new V,H=!1,Z=0,G=!0,Y=[],tn={},rn=[],sn=null,ln=!1,fn=!1,dn=!1;(0,i.Z)(n,this,(function(n){var i=!0;function V(n,t){for(var e=0,r=null,i=0;null==r&&i<n.length;)1===(e=n[i])?(0,l.cp)()?r=B:(0,l.Z3)()&&(r=vn):2===e&&(0,l.JO)(t)&&(!t||t&&!D)?r=pn:H&&3===e&&(0,l.MF)()&&(r=mn),i++;return r?{_transport:e,_isSync:t,sendPOST:r}:null}function B(n,t,e){var r=new XDomainRequest;r.open(m,n.urlString),n.timeout&&(r.timeout=n.timeout),r.onload=function(){var n=on(r);gn(t,200,{},n),In(n)},r.onerror=function(){gn(t,400,{})},r.ontimeout=function(){gn(t,500,{})},r.onprogress=function(){},e?r.send(n.data):a.set((function(){r.send(n.data)}),0)}function pn(n,t,e){var r,o=n.urlString,u=!1,c=!1,l=((r={body:n.data,method:m}).Microsoft_ApplicationInsights_BypassAjaxInstrumentation=!0,r);e&&(l.keepalive=!0,2===n._sendReason&&(u=!0,R&&(o+=X))),i&&(l.credentials="include"),n.headers&&(0,s.FY)(n.headers).length>0&&(l.headers=n.headers),fetch(o,l).then((function(n){var e={},r=g,i=n.headers;i&&i.forEach((function(n,t){e[t]=n})),n.body&&n.text().then((function(n){r=n})),c||(c=!0,gn(t,n.status,e,r),In(r))})).catch((function(n){c||(c=!0,gn(t,0,{}))})),u&&!c&&(c=!0,gn(t,200,{})),!c&&n.timeout>0&&a.set((function(){c||(c=!0,gn(t,500,{}))}),n.timeout)}function vn(n,t,e){var r=n.urlString;function o(n,t,e){if(!n[e]&&t&&t.getResponseHeader){var r=t.getResponseHeader(e);r&&(n[e]=(0,s.nd)(r))}return n}function u(n){var t={};return n.getAllResponseHeaders?t=function(n){var t={};if((0,s.HD)(n)){var e=(0,s.nd)(n).split(/[\r\n]+/);(0,s.tO)(e,(function(n){if(n){var e=n.indexOf(": ");if(-1!==e){var r=(0,s.nd)(n.substring(0,e)).toLowerCase(),i=(0,s.nd)(n.substring(e+1));t[r]=i}else t[(0,s.nd)(n)]=1}}))}return t}(n.getAllResponseHeaders()):(t=o(t,n,_),t=o(t,n,A),t=o(t,n,"kill-duration-seconds")),t}function a(n,e){gn(t,n.status,u(n),e)}e&&n.disableXhrSync&&(e=!1);var l=(0,c.ot)(m,r,i,!0,e,n.timeout);(0,s.rW)(n.headers,(function(n,t){l.setRequestHeader(n,t)})),l.onload=function(){var n=on(l);a(l,n),In(n)},l.onerror=function(){a(l)},l.ontimeout=function(){a(l)},l.send(n.data)}function gn(n,t,e,r){try{n(t,e,r)}catch(n){(0,d.kP)(p,2,518,(0,l.eU)(n))}}function mn(n,t,e){var r=200,i=n._thePayload,o=n.urlString+(R?X:g);try{var u=(0,l.jW)();if(!u.sendBeacon(o,n.data))if(i){var a=[];(0,s.tO)(i.batches,(function(n){if(a&&n&&n.count()>0){for(var t=n.events(),e=0;e<t.length;e++)if(!u.sendBeacon(o,sn.getEventBlob(t[e]))){a.push(n.split(e));break}}else a.push(n.split(0))})),En(a,8003,i.sendType,!0)}else r=0}catch(n){(0,d.jV)(p,"Failed to send telemetry using sendBeacon API. Ex:"+(0,l.eU)(n)),r=0}finally{gn(t,r,{},g)}}function yn(n){return 2===n||3===n}function hn(n){return fn&&yn(n)&&(n=2),n}function Sn(){return!J&&Z<e}function Cn(){var n=rn;return rn=[],n}function Tn(n,t,e){var r=!1;return n&&n.length>0&&!J&&v[t]&&sn&&(r=0!==t||Sn()&&(e>0||W.allowRequestSending())),r}function wn(n){var t={};return n&&(0,s.tO)(n,(function(n,e){t[e]={iKey:n.iKey(),evts:n.events()}})),t}function bn(n,e,r,i,u){if(n&&0!==n.length)if(J)En(n,1,i);else{i=hn(i);try{var a=n,s=0!==i;(0,o.Lm)(S,(function(){return"HttpManager:_sendBatches"}),(function(o){o&&(n=n.slice(0));for(var a=[],l=null,f=(0,c.hK)(),d=v[i]||(s?v[1]:v[0]),p=d&&d._transport,g=x&&(fn||yn(i)||3===p||d._isSync&&2===p);Tn(n,i,e);){var m=n.shift();m&&m.count()>0&&(z.isTenantKilled(m.iKey())?a.push(m):(l=l||sn.createPayload(e,r,s,g,u,i),sn.appendPayload(l,m,t)?null!==l.overflow&&(n=[l.overflow].concat(n),l.overflow=null,_n(l,f,(0,c.hK)(),u),f=(0,c.hK)(),l=null):(_n(l,f,(0,c.hK)(),u),f=(0,c.hK)(),n=[m].concat(n),l=null)))}l&&_n(l,f,(0,c.hK)(),u),n.length>0&&(rn=n.concat(rn)),En(a,8004,i)}),(function(){return{batches:wn(a),retryCount:e,isTeardown:r,isSynchronous:s,sendReason:u,useSendBeacon:yn(i),sendType:i}}),!s)}catch(n){(0,d.kP)(p,2,48,"Unexpected Exception sending batch: "+(0,l.eU)(n))}}}function Pn(n,t){var e={url:K,hdrs:{},useHdrs:!1};t?(e.hdrs=(0,c.l7)(e.hdrs,tn),e.useHdrs=(0,s.FY)(e.hdrs).length>0):(0,s.rW)(tn,(function(n,t){en[n]?an(e,en[n],t,!1):(e.hdrs[n]=t,e.useHdrs=!0)})),an(e,I,"NO_AUTH",t),an(e,k,c.vs,t);var r=g;(0,s.tO)(n.apiKeys,(function(n){r.length>0&&(r+=","),r+=n})),an(e,L,r,t),an(e,O,(0,s.m6)().toString(),t);var i=function(n){for(var t=0;t<n.batches.length;t++){var e=n.batches[t].Msfpc();if(e)return encodeURIComponent(e)}return g}(n);if((0,c.Sn)(i)&&(e.url+="&ext.intweb.msfpc="+i),W.shouldAddClockSkewHeaders()&&an(e,E,W.getClockSkewHeaderValue(),t),S.getWParam){var o=S.getWParam();o>=0&&(e.url+="&w="+o)}for(var u=0;u<Y.length;u++)e.url+="&"+Y[u].name+"="+Y[u].value;return e}function An(n,t,e){n[t]=n[t]||{},n[t][f.identifier]=e}function _n(t,e,i,u){if(t&&t.payloadBlob&&t.payloadBlob.length>0){var a=!!n.sendHook,g=v[t.sendType];!yn(t.sendType)&&t.isBeacon&&2===t.sendReason&&(g=v[2]||v[3]||g);var m=dn;(t.isBeacon||3===g._transport)&&(m=!1);var y=Pn(t,m);m=m||y.useHdrs;var h=(0,c.hK)();(0,o.Lm)(S,(function(){return"HttpManager:_doPayloadSend"}),(function(){for(var v=0;v<t.batches.length;v++)for(var C=t.batches[v].events(),k=0;k<C.length;k++){var I=C[k];if(ln){var E=I.timings=I.timings||{};An(E,"sendEventStart",h),An(E,"serializationStart",e),An(E,"serializationCompleted",i)}I[$]>0?I[$]++:I[$]=1}En(t.batches,1e3+(u||0),t.sendType,!0);var O={data:t.payloadBlob,urlString:y.url,headers:y.hdrs,_thePayload:t,_sendReason:u,timeout:M,disableXhrSync:U,disableFetchKeepAlive:D};m&&(un(O.headers,w)||(O.headers[w]="no-cache, no-store"),un(O.headers,b)||(O.headers[b]=T));var L=null;g&&(L=function(e){W.firstRequestSent();var i=function(e,i){!function(t,e,i,o){var u=9e3,a=null,l=!1,d=!1;try{var p=!0;if(typeof t!==q.jA){if(e){W.setClockSkew(e[_]);var v=e[A]||e["kill-duration-seconds"];(0,s.tO)(z.setKillSwitchTenants(e[P],v),(function(n){(0,s.tO)(i.batches,(function(t){if(t.iKey()===n){a=a||[];var e=t.split(0);i.numEvents-=e.count(),a.push(e)}}))}))}if(200==t||204==t)return void(u=200);((m=t)>=300&&m<500&&408!=m&&429!=m||501==m||505==m||i.numEvents<=0)&&(p=!1),u=9e3+t%1e3}if(p){u=100;var g=i.retryCnt;0===i.sendType&&(g<r?(l=!0,kn((function(){0===i.sendType&&Z--,bn(i.batches,g+1,i.isTeardown,fn?2:i.sendType,5)}),fn,j(g))):(d=!0,fn&&(u=8001)))}}finally{l||(W.setClockSkew(),function(t,e,r,i){try{i&&f._backOffTransmission(),200===e&&(i||t.isSync||f._clearBackOff(),function(n){if(ln){var t=(0,c.hK)();(0,s.tO)(n,(function(n){n&&n.count()>0&&function(n,t){ln&&(0,s.tO)(n,(function(n){An(n.timings=n.timings||{},"sendEventCompleted",t)}))}(n.events(),t)}))}}(t.batches)),En(t.batches,e,t.sendType,!0)}finally{0===t.sendType&&(Z--,5!==r&&n.sendQueuedRequests(t.sendType,r))}}(i,u,o,d)),En(a,8004,i.sendType)}var m}(e,i,t,u)},o=t.isTeardown||t.isSync;try{g.sendPOST(e,i,o),n.sendListener&&n.sendListener(O,e,o,t.isBeacon)}catch(n){(0,d.jV)(p,"Unexpected exception sending payload. Ex:"+(0,l.eU)(n)),gn(i,0,{})}}),(0,o.Lm)(S,(function(){return"HttpManager:_doPayloadSend.sender"}),(function(){if(L)if(0===t.sendType&&Z++,a&&!t.isBeacon&&3!==g._transport){var e={data:O.data,urlString:O.urlString,headers:(0,c.l7)({},O.headers),timeout:O.timeout,disableXhrSync:O.disableXhrSync,disableFetchKeepAlive:O.disableFetchKeepAlive},r=!1;(0,o.Lm)(S,(function(){return"HttpManager:_doPayloadSend.sendHook"}),(function(){try{n.sendHook(e,(function(n){r=!0,G||n._thePayload||(n._thePayload=n._thePayload||O._thePayload,n._sendReason=n._sendReason||O._sendReason),L(n)}),t.isSync||t.isTeardown)}catch(n){r||L(O)}}))}else L(O)}))}),(function(){return{thePayload:t,serializationStart:e,serializationCompleted:i,sendReason:u}}),t.isSync)}t.sizeExceed&&t.sizeExceed.length>0&&En(t.sizeExceed,8003,t.sendType),t.failedEvts&&t.failedEvts.length>0&&En(t.failedEvts,8002,t.sendType)}function kn(n,t,e){t?n():a.set(n,e)}function In(t){var e=n._responseHandlers;try{for(var r=0;r<e.length;r++)try{e[r](t)}catch(n){(0,d.kP)(p,1,519,"Response handler failed: "+n)}if(t){var i=JSON.parse(t);(0,c.Sn)(i.webResult)&&(0,c.Sn)(i.webResult[N])&&F.set("MSFPC",i.webResult[N],31536e3)}}catch(n){}}function En(n,t,e,r){if(n&&n.length>0&&u){var i=u[function(n){var t=nn[n];(0,c.Sn)(t)||(t="oth",n>=9e3&&n<=9999?t=C:n>=8e3&&n<=8999?t=y:n>=1e3&&n<=1999&&(t=h));return t}(t)];if(i){var a=0!==e;(0,o.Lm)(S,(function(){return"HttpManager:_sendBatchesNotification"}),(function(){kn((function(){try{i.call(u,n,t,a,e)}catch(n){(0,d.kP)(p,1,74,"send request notification failed: "+n)}}),r||a,0)}),(function(){return{batches:wn(n),reason:t,isSync:a,sendSync:r,sendType:e}}),!a)}}}n.initialize=function(n,t,e,r,o){var u;o||(o={}),K=n+K,dn=!!(0,s.o8)(o.avoidOptions)||!o.avoidOptions,S=t,F=t.getCookieMgr(),ln=!S.config.disableEventTimings;var a=!!S.config.enableCompoundKey;p=(f=e).diagLog();var c=o.valueSanitizer,g=o.stringifyObjects;(0,s.o8)(o.enableCompoundKey)||(a=!!o.enableCompoundKey),M=o.xhrTimeout,U=!!o.disableXhrSync,D=!!o.disableFetchKeepAlive,R=!1!==o.addNoResponse,H=!(0,l.b$)(),sn=new Q(S,c,g,a),(0,s.le)(o.useSendBeacon)||(H=!!o.useSendBeacon);var m=r,y=o.alwaysUseXhrOverride?r:null,h=o.alwaysUseXhrOverride?r:null,C=[3,2];if(!r){G=!1;var T=(0,l.k$)();T&&T.protocol&&"file:"===T.protocol.toLowerCase()&&(i=!1);var w=[];(0,l.b$)()?(w=[2,1],C=[2,1,3]):w=[1,2,3],(r=V(w=cn(w,o.transports),!1))||(0,d.jV)(p,"No available transport to send events"),m=V(w,!0)}y||(y=V(C=cn(C,o.unloadTransports),!0)),x=!G&&(H&&(0,l.MF)()||!D&&(0,l.JO)(!0)),(u={})[0]=r,u[1]=m||V([1,2,3],!0),u[2]=y||m||V([1],!0),u[3]=h||V([2,3],!0)||m||V([1],!0),v=u},n._getDbgPlgTargets=function(){return[v[0],z,sn,v]},n.addQueryStringParameter=function(n,t){for(var e=0;e<Y.length;e++)if(Y[e].name===n)return void(Y[e].value=t);Y.push({name:n,value:t})},n.addHeader=function(n,t){tn[n]=t},n.canSendRequest=function(){return Sn()&&W.allowRequestSending()},n.sendQueuedRequests=function(n,t){(0,s.o8)(n)&&(n=0),fn&&(n=hn(n),t=2),Tn(rn,n,0)&&bn(Cn(),0,!1,n,t||0)},n.isCompletelyIdle=function(){return!J&&0===Z&&0===rn.length},n.setUnloading=function(n){fn=n},n.addBatch=function(n){if(n&&n.count()>0){if(z.isTenantKilled(n.iKey()))return!1;rn.push(n)}return!0},n.teardown=function(){rn.length>0&&bn(Cn(),0,!0,2,2)},n.pause=function(){J=!0},n.resume=function(){J=!1,n.sendQueuedRequests(0,4)},n.sendSynchronousBatch=function(n,t,e){n&&n.count()>0&&((0,s.le)(t)&&(t=1),fn&&(t=hn(t),e=2),bn([n],0,!1,t,e||0))}}))}return n.__ieDyn=1,n}(); /* * 1DS JS SDK POST plugin, 3.2.12 * Copyright (c) Microsoft and contributors. All rights reserved. * (Microsoft Internal Only) */ /** * TimeoutOverrideWrapper.ts * @author Nev Wylie (newylie) * @copyright Microsoft 2022 * Simple internal timeout wrapper */ function ln(n,t){for(var e=[],r=2;r<arguments.length;r++)e[r-2]=arguments[r];return setTimeout(n,t,e)}function fn(n){clearTimeout(n)}function dn(n,t){return{set:n||ln,clear:t||fn}} /* * 1DS JS SDK POST plugin, 3.2.12 * Copyright (c) Microsoft and contributors. All rights reserved. * (Microsoft Internal Only) */ /** * PostManager.ts * @author Abhilash Panwar (abpanwar); Hector Hernandez (hectorh); Nev Wylie (newylie) * @copyright Microsoft 2018-2020 */ var pn="eventsDiscarded",vn="overrideInstrumentationKey",gn="maxEventRetryAttempts",mn="maxUnloadEventRetryAttempts",yn=function(n){function t(){var e,r=n.call(this)||this;r.identifier="PostChannel",r.priority=1011,r.version="3.2.12";var p,g,m,y,h,S,C,T=!1,w=[],b=null,P=!1,A=0,_=500,k=0,I=1e4,E={},O=v,L=null,M=null,N=0,x=0,R={},V=-1,B=!0,q=!1,z=6,J=2;return(0,i.Z)(t,r,(function(n,t){function r(n){"beforeunload"!==(n||(0,l.Jj)().event).type&&(q=!0,g.setUnloading(q)),X(2,2)}function i(n){q=!1,g.setUnloading(q)}function W(n,t){if(n.sendAttempt||(n.sendAttempt=0),n.latency||(n.latency=1),n.ext&&n.ext[U]&&delete n.ext[U],n.ext&&n.ext[D]&&n.ext[D].id&&delete n.ext[D].id,B&&(c.if,n.ext=(0,s.Ax)(n.ext),n.baseData&&(n.baseData=(0,s.Ax)(n.baseData)),n.data&&(n.data=(0,s.Ax)(n.data))),n.sync)if(N||P)n.latency=3,n.sync=!1;else if(g)return B&&(n=(0,s.Ax)(n)),void g.sendSynchronousBatch(K.create(n.iKey,[n]),!0===n.sync?1:n.sync,3);var e=n.latency,r=k,i=I;4===e&&(r=A,i=_);var o=!1;if(r<i)o=!en(n,t);else{var u=1,a=20;4===e&&(u=4,a=1),o=!0,function(n,t,e,r){for(;e<=t;){var i=nn(n,t,!0);if(i&&i.count()>0){var o=i.split(0,r),u=o.count();if(u>0)return 4===e?A-=u:k-=u,hn(pn,[o],f.QueueFull),!0}e++}return rn(),!1}(n.iKey,n.latency,u,a)&&(o=!en(n,t))}o&&yn(pn,[n],f.QueueFull)}function H(n,t,e){var r=on(n,t,e);return g.sendQueuedRequests(t,e),r}function Z(){return k>0}function G(){if(V>=0&&on(V,0,h)&&g.sendQueuedRequests(0,h),A>0&&!M&&!P){var n=E[O][2];n>=0&&(M=Y((function(){M=null,H(4,0,1),G()}),n))}var t=E[O][1];!L&&!b&&t>=0&&!P&&(Z()?L=Y((function(){L=null,H(0===x?3:1,0,1),x++,x%=2,G()}),t):x=0)}function Q(){e=null,T=!1,w=[],b=null,P=!1,A=0,_=500,k=0,I=1e4,E={},O=v,L=null,M=null,N=0,x=0,p=null,R={},m=void 0,y=0,V=-1,h=null,B=!0,q=!1,z=6,J=2,S=null,C=dn(),g=new sn(500,2,1,{requeue:ln,send:Sn,sent:Cn,drop:Tn,rspFail:wn,oth:bn},C),cn(),R[4]={batches:[],iKeyMap:{}},R[3]={batches:[],iKeyMap:{}},R[2]={batches:[],iKeyMap:{}},R[1]={batches:[],iKeyMap:{}},Pn()}function Y(n,t){0===t&&N&&(t=1);var e=1e3;return N&&(e=j(N-1)),C.set(n,t*e)}function $(){return null!==L&&(C.clear(L),L=null,x=0,!0)}function X(n,t){$(),b&&(C.clear(b),b=null),P||H(1,n,t)}function nn(n,t,e){var r=R[t];r||(r=R[t=1]);var i=r.iKeyMap[n];return!i&&e&&(i=K.create(n),r.batches.push(i),r.iKeyMap[n]=i),i}function tn(t,e){g.canSendRequest()&&!N&&(m>0&&k>m&&(e=!0),e&&null==b&&n.flush(t,null,20))}function en(n,t){B&&(n=(0,s.Ax)(n));var e=n.latency,r=nn(n.iKey,e,!0);return!!r.addEvent(n)&&(4!==e?(k++,t&&0===n.sendAttempt&&tn(!n.sync,y>0&&r.count()>=y)):A++,!0)}function rn(){for(var n=0,t=0,e=function(e){var r=R[e];r&&r.batches&&(0,s.tO)(r.batches,(function(r){4===e?n+=r.count():t+=r.count()}))},r=1;r<=4;r++)e(r);k=t,A=n}function on(t,e,r){var i=!1,u=0===e;return!u||g.canSendRequest()?(0,o.Lm)(n.core,(function(){return"PostChannel._queueBatches"}),(function(){for(var n=[],e=4;e>=t;){var r=R[e];r&&r.batches&&r.batches.length>0&&((0,s.tO)(r.batches,(function(t){g.addBatch(t)?i=i||t&&t.count()>0:n=n.concat(t.events()),4===e?A-=t.count():k-=t.count()})),r.batches=[],r.iKeyMap={}),e--}n.length>0&&yn(pn,n,f.KillSwitch),i&&V>=t&&(V=-1,h=0)}),(function(){return{latency:t,sendType:e,sendReason:r}}),!u):(V=V>=0?Math.min(V,t):t,h=Math.max(h,r)),i}function un(n,t){H(1,0,t),rn(),an((function(){n&&n(),w.length>0?b=Y((function(){b=null,un(w.shift(),t)}),0):(b=null,G())}))}function an(n){g.isCompletelyIdle()?n():b=Y((function(){b=null,an(n)}),.25)}function cn(){(E={})[v]=[2,1,0],E.NEAR_REAL_TIME=[6,3,0],E.BEST_EFFORT=[18,9,0]}function ln(t,e){var r=[],i=z;q&&(i=J),(0,s.tO)(t,(function(t){t&&t.count()>0&&(0,s.tO)(t.events(),(function(t){t&&(t.sync&&(t.latency=4,t.sync=!1),t.sendAttempt<i?((0,c.if)(t,n.identifier),W(t,!1)):r.push(t))}))})),r.length>0&&yn(pn,r,f.NonRetryableStatus),q&&X(2,2)}function fn(t,e){var r=n._notificationManager||{},i=r[t];if(i)try{i.apply(r,e)}catch(e){(0,d.kP)(n.diagLog(),1,74,t+" notification failed: "+e)}}function yn(n,t){for(var e=[],r=2;r<arguments.length;r++)e[r-2]=arguments[r];t&&t.length>0&&fn(n,[t].concat(e))}function hn(n,t){for(var e=[],r=2;r<arguments.length;r++)e[r-2]=arguments[r];t&&t.length>0&&(0,s.tO)(t,(function(t){t&&t.count()>0&&fn(n,[t.events()].concat(e))}))}function Sn(n,t,e){n&&n.length>0&&fn("eventsSendRequest",[t>=1e3&&t<=1999?t-1e3:0,!0!==e])}function Cn(n,t){hn("eventsSent",n,t),G()}function Tn(n,t){hn(pn,n,t>=8e3&&t<=8999?t-8e3:f.Unknown)}function wn(n){hn(pn,n,f.NonRetryableStatus),G()}function bn(n,t){hn(pn,n,f.Unknown),G()}function Pn(){y=e&&e.disableAutoBatchFlushLimit?0:Math.max(1500,I/6)}Q(),n._getDbgPlgTargets=function(){return[g]},n.initialize=function(l,f,d){(0,o.Lm)(f,(function(){return"PostChannel:initialize"}),(function(){var o=f;t.initialize(l,f,d);try{f.addUnloadCb;S=(0,u.jU)((0,a.J)(n.identifier),f.evtNamespace&&f.evtNamespace());var v=n._getTelCtx();l.extensionConfig[n.identifier]=l.extensionConfig[n.identifier]||{},e=v.getExtCfg(n.identifier),C=dn(e.setTimeoutOverride,e.clearTimeoutOverride),B=!e.disableOptimizeObj&&(0,c.mJ)(),function(n){var t=n.getWParam;n.getWParam=function(){var n=0;return e.ignoreMc1Ms0CookieProcessing&&(n|=2),n|t()}}(o),e.eventsLimitInMem>0&&(I=e.eventsLimitInMem),e.immediateEventLimit>0&&(_=e.immediateEventLimit),e.autoFlushEventsLimit>0&&(m=e.autoFlushEventsLimit),(0,s.hj)(e[gn])&&(z=e[gn]),(0,s.hj)(e[mn])&&(J=e[mn]),Pn(),e.httpXHROverride&&e.httpXHROverride.sendPOST&&(p=e.httpXHROverride),(0,c.Sn)(l.anonCookieName)&&g.addQueryStringParameter("anoncknm",l.anonCookieName),g.sendHook=e.payloadPreprocessor,g.sendListener=e.payloadListener;var y=e.overrideEndpointUrl?e.overrideEndpointUrl:l.endpointUrl;n._notificationManager=f.getNotifyMgr(),g.initialize(y,n.core,n,p,e);var h=l.disablePageUnloadEvents||[];(0,u.c9)(r,h,S),(0,u.TJ)(r,h,S),(0,u.nD)(i,l.disablePageShowEvents,S)}catch(t){throw n.setInitialized(!1),t}}),(function(){return{coreConfig:l,core:f,extensions:d}}))},n.processTelemetry=function(t,r){(0,c.if)(t,n.identifier);var i=(r=n._getTelCtx(r)).getExtCfg(n.identifier),o=!!e.disableTelemetry;i&&(o=o||!!i.disableTelemetry);var u=t;o||T||(e[vn]&&(u.iKey=e[vn]),i&&i[vn]&&(u.iKey=i[vn]),W(u,!0),q?X(2,2):G()),n.processNext(u,r)},n._doTeardown=function(n,t){X(2,2),T=!0,g.teardown(),(0,u.JA)(null,S),(0,u.C9)(null,S),(0,u.Yl)(null,S),Q()},n.setEventQueueLimits=function(n,t){I=n>0?n:1e4,m=t>0?t:0,Pn();var e=k>n;if(!e&&y>0)for(var r=1;!e&&r<=3;r++){var i=R[r];i&&i.batches&&(0,s.tO)(i.batches,(function(n){n&&n.count()>=y&&(e=!0)}))}tn(!0,e)},n.pause=function(){$(),P=!0,g.pause()},n.resume=function(){P=!1,g.resume(),G()},n.addResponseHandler=function(n){g._responseHandlers.push(n)},n._loadTransmitProfiles=function(n){$(),cn(),O=v,G(),(0,s.rW)(n,(function(n,t){var e=t.length;if(e>=2){var r=e>2?t[2]:0;if(t.splice(0,e-2),t[1]<0&&(t[0]=-1),t[1]>0&&t[0]>0){var i=t[0]/t[1];t[0]=Math.ceil(i)*t[1]}r>=0&&t[1]>=0&&r>t[1]&&(r=t[1]),t.push(r),E[n]=t}}))},n.flush=function(n,t,e){if(void 0===n&&(n=!0),!P)if(e=e||1,n)null==b?($(),on(1,0,e),b=Y((function(){b=null,un(t,e)}),0)):w.push(t);else{var r=$();H(1,1,e),null!=t&&t(),r&&G()}},n.setMsaAuthTicket=function(n){g.addHeader(F,n)},n.hasEvents=Z,n._setTransmitProfile=function(n){O!==n&&void 0!==E[n]&&($(),O=n,G())},n._backOffTransmission=function(){N<4&&(N++,$(),G())},n._clearBackOff=function(){N&&(N=0,$(),G())},(0,s.l_)(n,"_setTimeoutOverride",(function(){return C.set}),(function(n){C=dn(n,C.clear)})),(0,s.l_)(n,"_clearTimeoutOverride",(function(){return C.clear}),(function(n){C=dn(C.set,n)}))})),r}return(0,r.ne)(t,n),t.__ieDyn=1,t}(p.i),hn=yn},21385:function(n,t,e){e.d(t,{By:function(){return i},cc:function(){return o}});var r=e(31834); /* * Application Insights JavaScript SDK - Core, 2.8.14 * Copyright (c) Microsoft and contributors. All rights reserved. */function i(n){var t={};return(0,r.rW)(n,(function(n,e){t[n]=e,t[e]=n})),(0,r._A)(t)}function o(n){var t={};return(0,r.rW)(n,(function(n,e){t[n]=e[1],t[e[0]]=e[1]})),(0,r._A)(t)}},25860:function(n,t,e){e.d(t,{i:function(){return l}});var r=e(95898),i=e(29851),o=e(31834),u=e(58878),a=e(25052),c=e(23830),s="getPlugin",l=function(){function n(){var t,e,l,f,d,p=this;function v(n){void 0===n&&(n=null);var t=n;if(!t){var r=e||(0,a.CD)(null,{},p[u.oV]);t=l&&l[s]?r[i.zV](null,l[s]):r[i.zV](null,l)}return t}function g(n,t,r){n&&(0,o.sO)(n,u.Zh,[],null,o.le),!r&&t&&(r=t[i.SD]()[i.W2]());var c=l;l&&l[s]&&(c=l[s]()),p[u.oV]=t,e=(0,a.CD)(r,n,t,c)}function m(){t=!1,p[u.oV]=null,e=null,l=null,d=[],f=(0,c.Y)()}m(),(0,r.Z)(n,p,(function(n){n[i.VL]=function(n,e,r,i){g(n,e,i),t=!0},n[i.fi]=function(t,e){var r,c=n[u.oV];if(c&&(!t||c===t[u.oV]())){var p,v=!1,g=t||(0,a.Bt)(null,c,l&&l[s]?l[s]():l),y=e||((r={reason:0})[i.d]=!1,r);return n[i.F3]&&!0===n[i.F3](g,y,h)?p=!0:h(),p}function h(){if(!v){v=!0,f.run(g,e);var n=d;d=[],(0,o.tO)(n,(function(n){n.rm()})),!0===p&&g[i.uL](y),m()}}},n[i.Tu]=function(t,e){var r=n[u.oV];if(r&&(!t||r===t[u.oV]())){var o,c=!1,f=t||(0,a.xy)(null,r,l&&l[s]?l[s]():l),d=e||{reason:0};return n._doUpdate&&!0===n._doUpdate(f,d,p)?o=!0:p(),o}function p(){c||(c=!0,g(f.getCfg(),f.core(),f[i.W2]()))}},n._addHook=function(n){n&&((0,o.kJ)(n)?d=d.concat(n):d[i.MW](n))},(0,o.Oi)(n,"_addUnloadCb",(function(){return f}),"add")})),p[i.mc]=function(n){return v(n)[i.mc]()},p[i.yl]=function(){return t},p.setInitialized=function(n){t=n},p[i.Jd]=function(n){l=n},p[i.uL]=function(n,t){t?t[i.uL](n):l&&(0,o.mf)(l[u.hL])&&l[u.hL](n,null)},p._getTelCtx=v}return n.__ieDyn=1,n}()},52563:function(n,t,e){e.d(t,{JP:function(){return A},Nz:function(){return _},UY:function(){return M},kj:function(){return w},p7:function(){return k}});var r=e(29851),i=e(95531),o=e(11312),u=e(31834),a=e(58878),c="toGMTString",s="toUTCString",l="cookie",f="expires",d="enabled",p="isCookieUseDisabled",v="disableCookiesUsage",g="_ckMgr",m=null,y=null,h=null,S=(0,o.Me)(),C={},T={};function w(n,t){var e=_[g]||T[g];return e||(e=_[g]=_(n,t),T[g]=e),e}function b(n){return!n||n.isEnabled()}function P(n,t){return!!(t&&n&&(0,u.kJ)(n.ignoreCookies))&&-1!==n.ignoreCookies[r.ou](t)}function A(n,t){var e;if(n)e=n.getCookieMgr();else if(t){var i=t[r.Lk];e=i[g]?i[g]:_(t)}return e||(e=w(t,(n||{})[r.eZ])),e}function _(n,t){var e,i=function(n){var t=n[r.Lk]=n[r.Lk]||{};if((0,u.sO)(t,"domain",n.cookieDomain,u.BX,u.le),(0,u.sO)(t,"path",n.cookiePath||"/",null,u.le),(0,u.le)(t[d])){var e=void 0;(0,u.o8)(n[p])||(e=!n[p]),(0,u.o8)(n[v])||(e=!n[v]),t[d]=e}return t}(n||T),l=i.path||"/",m=i.domain,h=!1!==i[d],S=((e={isEnabled:function(){var n=h&&k(t),e=T[g];return n&&e&&S!==e&&(n=b(e)),n}})[r.$h]=function(n){h=!1!==n},e.set=function(n,t,e,d,p){var v=!1;if(b(S)&&!function(n,t){return!!(t&&n&&(0,u.kJ)(n.blockedCookies)&&-1!==n.blockedCookies[r.ou](t))||P(n,t)}(i,n)){var g={},h=(0,u.nd)(t||a.qS),C=h[r.ou](";");if(-1!==C&&(h=(0,u.nd)(t[r.zc](0,C)),g=I(t[r.zc](C+1))),(0,u.sO)(g,"domain",d||m,u.fQ,u.o8),!(0,u.le)(e)){var T=(0,o.w1)();if((0,u.o8)(g[f])){var w=(0,u.m6)()+1e3*e;if(w>0){var A=new Date;A.setTime(w),(0,u.sO)(g,f,E(A,T?c:s)||E(A,T?c:s)||a.qS,u.fQ)}}T||(0,u.sO)(g,"max-age",a.qS+e,null,u.o8)}var _=(0,o.k$)();_&&"https:"===_.protocol&&((0,u.sO)(g,"secure",null,null,u.o8),null===y&&(y=!M(((0,o.jW)()||{})[r.qV])),y&&(0,u.sO)(g,"SameSite","None",null,u.o8)),(0,u.sO)(g,"path",p||l,null,u.o8),(i.setCookie||F)(n,O(h,g)),v=!0}return v},e.get=function(n){var t=a.qS;return b(S)&&!P(i,n)&&(t=(i.getCookie||L)(n)),t},e.del=function(n,t){var e=!1;return b(S)&&(e=S.purge(n,t)),e},e.purge=function(n,e){var r,u=!1;if(k(t)){var c=((r={}).path=e||"/",r[f]="Thu, 01 Jan 1970 00:00:01 GMT",r);(0,o.w1)()||(c["max-age"]="0"),(i.delCookie||F)(n,O(a.qS,c)),u=!0}return u},e);return S[g]=S,S}function k(n){if(null===m){m=!1;try{m=void 0!==(S||{})[l]}catch(t){(0,i.kP)(n,2,68,"Cannot access document.cookie - "+(0,u.jj)(t),{exception:(0,o.eU)(t)})}}return m}function I(n){var t={};if(n&&n[r.R5]){var e=(0,u.nd)(n)[r.w6](";");(0,u.tO)(e,(function(n){if(n=(0,u.nd)(n||a.qS)){var e=n[r.ou]("=");-1===e?t[n]=null:t[(0,u.nd)(n[r.zc](0,e))]=(0,u.nd)(n[r.zc](e+1))}}))}return t}function E(n,t){return(0,u.mf)(n[t])?n[t]():null}function O(n,t){var e=n||a.qS;return(0,u.rW)(t,(function(n,t){e+="; "+n+((0,u.le)(t)?a.qS:"="+t)})),e}function L(n){var t=a.qS;if(S){var e=S[l]||a.qS;h!==e&&(C=I(e),h=e),t=(0,u.nd)(C[n]||a.qS)}return t}function F(n,t){S&&(S[l]=n+"="+t)}function M(n){return!!(0,u.HD)(n)&&(!(!(0,u._Q)(n,"CPU iPhone OS 12")&&!(0,u._Q)(n,"iPad; CPU OS 12"))||(!!((0,u._Q)(n,"Macintosh; Intel Mac OS X 10_14")&&(0,u._Q)(n,"Version/")&&(0,u._Q)(n,"Safari"))||(!(!(0,u._Q)(n,"Macintosh; Intel Mac OS X 10_14")||!(0,u.Id)(n,"AppleWebKit/605.1.15 (KHTML, like Gecko)"))||(!(!(0,u._Q)(n,"Chrome/5")&&!(0,u._Q)(n,"Chrome/6"))||(!(!(0,u._Q)(n,"UnrealEngine")||(0,u._Q)(n,"Chrome"))||!(!(0,u._Q)(n,"UCBrowser/12")&&!(0,u._Q)(n,"UCBrowser/11")))))))}},20088:function(n,t,e){e.d(t,{DO:function(){return g},GW:function(){return p},Jj:function(){return v}});var r,i=e(11254),o=e(29851),u=e(52563),a=e(11312),c=e(15816),s=e(31834),l=e(58878),f=e(1416),d=null;function p(){var n=g();return n[o.zc](0,8)+"-"+n[o.zc](8,12)+"-"+n[o.zc](12,16)+"-"+n[o.zc](16,20)+"-"+n[o.zc](20)}function v(){var n=(0,a.r)();return n&&n.now?n.now():(0,s.m6)()}function g(){for(var n,t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],e=l.qS,r=0;r<4;r++)e+=t[15&(n=(0,f._l)())]+t[n>>4&15]+t[n>>8&15]+t[n>>12&15]+t[n>>16&15]+t[n>>20&15]+t[n>>24&15]+t[n>>28&15];var i=t[8+(3&(0,f._l)())|0];return e[o.Jn](0,8)+e[o.Jn](9,4)+"4"+e[o.Jn](13,3)+i+e[o.Jn](16,3)+e[o.Jn](19,12)}var m={_canUseCookies:void 0,isTypeof:s.Ym,isUndefined:s.o8,isNullOrUndefined:s.le,hasOwnProperty:s.nr,isFunction:s.mf,isObject:s.Kn,isDate:s.J_,isArray:s.kJ,isError:s.VZ,isString:s.HD,isNumber:s.hj,isBoolean:s.jn,toISOString:s.Y6,arrForEach:s.tO,arrIndexOf:s.UA,arrMap:s.Mr,arrReduce:s.Xz,strTrim:s.nd,objCreate:i.pu,objKeys:s.FY,objDefineAccessors:s.l_,addEventHandler:c.Ib,dateNow:s.m6,isIE:a.w1,disableCookies:function(){y()[o.$h](!1)},newGuid:p,perfNow:v,newId:f.pZ,randomValue:f.az,random32:f._l,mwcRandomSeed:f.CN,mwcRandom32:f.F6,generateW3CId:g};c.pZ,c.pZ,c.pD,c.pD;function y(n,t){var e=(0,u.kj)(n,t),i=m._canUseCookies;return null===d&&(d=[],r=i,(0,s.l_)(m,"_canUseCookies",(function(){return r}),(function(n){r=n,(0,s.tO)(d,(function(t){t[o.$h](n)}))}))),-1===(0,s.UA)(d,e)&&d[o.MW](e),(0,s.jn)(i)&&e[o.$h](i),(0,s.jn)(r)&&e[o.$h](r),e}},21275:function(n,t,e){e.d(t,{J:function(){return v},K:function(){return g}});var r=e(61419),i=e(29851),o=e(31834),u=e(58878),a=e(1416),c=r.RJ,s="2.8.14",l="."+(0,a.pZ)(6),f=0;function d(n){return 1===n[i.xv]||9===n[i.xv]||!+n[i.xv]}function p(n,t){var e=t[n.id];if(!e){e={};try{d(t)&&(function(n,t,e){if(c)try{return c(n,t,{value:e,enumerable:!1,configurable:!0}),!0}catch(n){}return!1}(t,n.id,e)||(t[n.id]=e))}catch(n){}}return e}function v(n,t){return void 0===t&&(t=!1),(0,o.Gf)(n+f+++(t?"."+s:u.qS)+l)}function g(n){var t={id:v("_aiData-"+(n||u.qS)+"."+s),accept:function(n){return d(n)},get:function(n,e,r,i){var u=n[t.id];return u?u[(0,o.Gf)(e)]:(i&&((u=p(t,n))[(0,o.Gf)(e)]=r),r)},kill:function(n,t){if(n&&n[t])try{delete n[t]}catch(n){}}};return t}},34185:function(n,t,e){e.d(t,{j:function(){return s},p:function(){return l}});var r,i=e(29851),o=e(11312),u=["eventsSent","eventsDiscarded","eventsSendRequest","perfEvent"],a=null;function c(n,t){return function(){var e=arguments,r=s(t);if(r){var o=r.listener;o&&o[n]&&o[n][i.ZV](o,e)}}}function s(n){var t,e=a;return e||!0===n.disableDbgExt||(e=a||((t=(0,o.a8)("Microsoft"))&&(a=t.ApplicationInsights),a)),e?e.ChromeDbgExt:null}function l(n){if(!r){r={};for(var t=0;t<u[i.R5];t++)r[u[t]]=c(u[t],n)}return r}},95531:function(n,t,e){e.d(t,{AQ:function(){return p},jV:function(){return m},kP:function(){return g},lQ:function(){return f},vH:function(){return d}});var r=e(95898),i=e(29851),o=e(34185),u=e(11312),a=e(31834),c=e(58878);function s(n){return n?'"'+n[i.i7](/\"/g,c.qS)+'"':c.qS}function l(n,t){var e=(0,u.dr)();if(e){var r="log";e[n]&&(r=n),(0,a.mf)(e[r])&&e[r](t)}}var f=function(){function n(n,t,e,r){void 0===e&&(e=!1);var o=this;o[i.Gc]=n,o[i.gU]=(e?"AI: ":"AI (Internal): ")+n;var a=c.qS;(0,u.nS)()&&(a=(0,u.xA)().stringify(r));var l=(t?" message:"+s(t):c.qS)+(r?" props:"+s(a):c.qS);o[i.gU]+=l}return n.dataType="MessageData",n}();function d(n,t){return(n||{})[i.eZ]||new p(t)}var p=function(){function n(t){this.identifier="DiagnosticLogger",this.queue=[];var e,s,d,p,v=0,g={};(0,r.Z)(n,this,(function(n){function r(t,e){if(!(v>=d)){var r=!0,o="AITR_"+e[i.Gc];if(g[o]?r=!1:g[o]=!0,r&&(t<=s&&(n.queue[i.MW](e),v++,m(1===t?"error":"warn",e)),v===d)){var u="Internal events throttle limit per PageView reached for this app.",a=new f(23,u,!1);n.queue[i.MW](a),1===t?n[c.ys](u):n[c.cL](u)}}}function m(n,e){var r=(0,o.j)(t||{});r&&r[i.mc]&&r[i.mc](n,e)}!function(n){e=(0,a.v4)(n.loggingLevelConsole,0),s=(0,a.v4)(n.loggingLevelTelemetry,1),d=(0,a.v4)(n.maxMessageLimit,25),p=(0,a.v4)(n.enableDebug,(0,a.v4)(n[i.Fr],!1))}(t||{}),n.consoleLoggingLevel=function(){return e},n.telemetryLoggingLevel=function(){return s},n.maxInternalMessageLimit=function(){return d},n[i.Fr]=function(){return p},n.throwInternal=function(t,o,s,l,d){void 0===d&&(d=!1);var v=new f(o,s,d,l);if(p)throw(0,u.eU)(v);var y=1===t?c.ys:c.cL;if((0,a.o8)(v[i.gU]))m("throw"+(1===t?"Critical":"Warning"),v);else{if(d){var h=+v[i.Gc];!g[h]&&e>=t&&(n[y](v[i.gU]),g[h]=!0)}else e>=t&&n[y](v[i.gU]);r(t,v)}},n[c.cL]=function(n){l("warn",n),m("warning",n)},n[c.ys]=function(n){l("error",n),m("error",n)},n.resetInternalMessageCount=function(){v=0,g={}},n[i.jk]=r}))}return n.__ieDyn=1,n}();function v(n){return n||new p}function g(n,t,e,r,i,o){void 0===o&&(o=!1),v(n).throwInternal(t,e,r,i,o)}function m(n,t){v(n)[c.cL](t)}},11312:function(n,t,e){e.d(t,{JO:function(){return J},Jj:function(){return E},MF:function(){return z},MX:function(){return K},Me:function(){return L},Nv:function(){return O},Z3:function(){return H},a8:function(){return k},b$:function(){return B},cp:function(){return W},dr:function(){return U},eU:function(){return j},gz:function(){return V},jW:function(){return M},k$:function(){return N},nS:function(){return x},r:function(){return D},w1:function(){return q},xA:function(){return R}});var r=e(61419),i=e(11254),o=e(29851),u=e(31834),a=e(58878),c="window",s="document",l="navigator",f="location",d="console",p="performance",v="JSON",g="crypto",m="msCrypto",y="ReactNative",h="msie",S="trident/",C="XMLHttpRequest",T=null,w=null,b=!1,P=null,A=null;function _(n,t){var e=!1;if(n){try{if(!(e=t in n)){var i=n[r.hB];i&&(e=t in i)}}catch(n){}if(!e)try{var o=new n;e=!(0,u.o8)(o[t])}catch(n){}}return e}function k(n){var t=(0,i.Rd)();return t&&t[n]?t[n]:n===c&&I()?window:null}function I(){return Boolean(typeof window===r.fK&&window)}function E(){return I()?window:k(c)}function O(){return Boolean(typeof document===r.fK&&document)}function L(){return O()?document:k(s)}function F(){return Boolean(typeof navigator===r.fK&&navigator)}function M(){return F()?navigator:k(l)}function N(n){if(n&&b){var t=k("__mockLocation");if(t)return t}return typeof location===r.fK&&location?location:k(f)}function U(){return typeof console!==r.jA?console:k(d)}function D(){return k(p)}function x(){return Boolean(typeof JSON===r.fK&&JSON||null!==k(v))}function R(){return x()?JSON||k(v):null}function K(){return k(g)}function V(){return k(m)}function B(){var n=M();return!(!n||!n.product)&&n.product===y}function q(){var n=M();if(n&&(n[o.qV]!==w||null===T)){var t=((w=n[o.qV])||a.qS)[o.T1]();T=(0,u._Q)(t,h)||(0,u._Q)(t,S)}return T}function j(n){var t=Object[r.hB].toString[o._S](n),e=a.qS;return"[object Error]"===t?e="{ stack: '"+n.stack+"', message: '"+n.message+"', name: '"+n[o.I]+"'":x()&&(e=R().stringify(n)),t+e}function z(){return null===A&&(A=F()&&Boolean(M().sendBeacon)),A}function J(n){var t=!1;try{t=!!k("fetch");var e=k("Request");t&&n&&e&&(t=_(e,"keepalive"))}catch(n){}return t}function W(){return null===P&&(P=typeof XDomainRequest!==r.jA)&&H()&&(P=P&&!_(k(C),"withCredentials")),P}function H(){var n=!1;try{n=!!k(C)}catch(n){}return n}},15816:function(n,t,e){e.d(t,{C9:function(){return q},Ib:function(){return D},JA:function(){return V},TJ:function(){return B},Yl:function(){return z},c9:function(){return K},jU:function(){return L},nD:function(){return j},pD:function(){return U},pZ:function(){return N}});var r=e(29851),i=e(21275),o=e(11312),u=e(31834),a=e(58878),c="on",s="attachEvent",l="addEventListener",f="detachEvent",d="removeEventListener",p="events",v="visibilitychange",g="pagehide",m="pageshow",y="unload",h="beforeunload",S=(0,i.J)("aiEvtPageHide"),C=(0,i.J)("aiEvtPageShow"),T=/\.[\.]+/g,w=/[\.]+$/,b=1,P=(0,i.K)("events"),A=/^([^.]*)(?:\.(.+)|)/;function _(n){return n&&n[r.i7]?n[r.i7](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,a.qS):n}function k(n,t){var e;if(t){var i=a.qS;(0,u.kJ)(t)?(i=a.qS,(0,u.tO)(t,(function(n){(n=_(n))&&("."!==n[0]&&(n="."+n),i+=n)}))):i=_(t),i&&("."!==i[0]&&(i="."+i),n=(n||a.qS)+i)}var o=A.exec(n||a.qS)||[];return(e={})[r.P6]=o[1],e.ns=(o[2]||a.qS).replace(T,".").replace(w,a.qS)[r.w6](".").sort().join("."),e}function I(n,t,e){void 0===e&&(e=!0);var r=P.get(n,p,{},e),i=r[t];return i||(i=r[t]=[]),i}function E(n,t,e,i){n&&t&&t[r.P6]&&(n[d]?n[d](t[r.P6],e,i):n[f]&&n[f](c+t[r.P6],e))}function O(n,t,e,i){for(var o=t[r.R5];o--;){var u=t[o];u&&(e.ns&&e.ns!==u.evtName.ns||i&&!i(u)||(E(n,u.evtName,u[r.Kn],u.capture),t[r.cb](o,1)))}}function L(n,t){return t?k("xx",(0,u.kJ)(t)?[n].concat(t):[n,t]).ns[r.w6]("."):n}function F(n,t,e,i,o){var u;void 0===o&&(o=!1);var a=!1;if(n)try{var f=k(t,i);if(a=function(n,t,e,i){var o=!1;return n&&t&&t[r.P6]&&e&&(n[l]?(n[l](t[r.P6],e,i),o=!0):n[s]&&(n[s](c+t[r.P6],e),o=!0)),o}(n,f,e,o),a&&P.accept(n)){var d=((u={guid:b++,evtName:f})[r.Kn]=e,u.capture=o,u);I(n,f.type)[r.MW](d)}}catch(n){}return a}function M(n,t,e,i,o){if(void 0===o&&(o=!1),n)try{var a=k(t,i),c=!1;!function(n,t,e){if(t[r.P6])O(n,I(n,t[r.P6]),t,e);else{var i=P.get(n,p,{});(0,u.rW)(i,(function(r,i){O(n,i,t,e)})),0===(0,u.FY)(i)[r.R5]&&P.kill(n,p)}}(n,a,(function(n){return!((!a.ns||e)&&n[r.Kn]!==e)&&(c=!0,!0)})),c||E(n,a,e,o)}catch(n){}}function N(n,t,e,r){return void 0===r&&(r=!1),F(n,t,e,null,r)}function U(n,t,e,r){void 0===r&&(r=!1),M(n,t,e,null,r)}function D(n,t,e){var r=!1,i=(0,o.Jj)();i&&(r=F(i,n,t,e),r=F(i.body,n,t,e)||r);var u=(0,o.Me)();return u&&(r=F(u,n,t,e)||r),r}function x(n,t,e,i){var o=!1;return t&&n&&n[r.R5]>0&&(0,u.tO)(n,(function(n){n&&(e&&-1!==(0,u.UA)(e,n)||(o=D(n,t,i)||o))})),o}function R(n,t,e){n&&(0,u.kJ)(n)&&(0,u.tO)(n,(function(n){n&&function(n,t,e){var r=(0,o.Jj)();r&&(M(r,n,t,e),M(r.body,n,t,e));var i=(0,o.Me)();i&&M(i,n,t,e)}(n,t,e)}))}function K(n,t,e){return function(n,t,e,i){var o=!1;return t&&n&&(0,u.kJ)(n)&&!(o=x(n,t,e,i))&&e&&e[r.R5]>0&&(o=x(n,t,null,i)),o}([h,y,g],n,t,e)}function V(n,t){R([h,y,g],n,t)}function B(n,t,e){var r=L(S,e),i=x([g],n,t,r);return t&&-1!==(0,u.UA)(t,v)||(i=x([v],(function(t){var e=(0,o.Me)();n&&e&&"hidden"===e.visibilityState&&n(t)}),t,r)||i),!i&&t&&(i=B(n,null,e)),i}function q(n,t){var e=L(S,t);R([g],n,e),R([v],null,e)}function j(n,t,e){var r=L(C,e),i=x([m],n,t,r);return!(i=x([v],(function(t){var e=(0,o.Me)();n&&e&&"visible"===e.visibilityState&&n(t)}),t,r)||i)&&t&&(i=j(n,null,e)),i}function z(n,t){var e=L(C,t);R([m],n,e),R([v],null,e)}},31834:function(n,t,e){e.d(t,{Ax:function(){return wn},BX:function(){return D},FL:function(){return fn},FY:function(){return an},Gf:function(){return V},HD:function(){return Z},Id:function(){return q},J_:function(){return J},Kn:function(){return R},Mr:function(){return tn},Oi:function(){return Cn},UA:function(){return nn},VZ:function(){return H},Vb:function(){return Tn},Xz:function(){return en},Y6:function(){return $},Ym:function(){return M},_A:function(){return ln},_Q:function(){return z},_y:function(){return hn},fQ:function(){return yn},hj:function(){return G},jj:function(){return pn},jn:function(){return Q},kJ:function(){return W},l_:function(){return cn},le:function(){return U},m6:function(){return dn},mf:function(){return K},mm:function(){return bn},nd:function(){return rn},nr:function(){return x},o8:function(){return N},qK:function(){return gn},rW:function(){return B},sO:function(){return vn},tO:function(){return X},v4:function(){return mn},xe:function(){return j}});var r=e(61419),i=e(11254),o=e(29851),u=e(58878),a="toISOString",c="endsWith",s="startsWith",l="indexOf",f="map",d="reduce",p="trim",v="toString",g="__proto__",m="constructor",y=r.RJ,h=r.Pw.freeze,S=(r.Pw.seal,r.Pw.keys),C=String[r.hB],T=C[p],w=C[c],b=C[s],P=Date[r.hB][a],A=Array.isArray,_=r.V4[v],k=r.CY[v],I=k[o._S](r.Pw),E=/-([a-z])/g,O=/([^\w\d_$])/g,L=/^(\d+[\w\d_$])/,F=Object.getPrototypeOf;function M(n,t){return typeof n===t}function N(n){return void 0===n||typeof n===r.jA}function U(n){return null===n||N(n)}function D(n){return!U(n)}function x(n,t){return!(!n||!r.CY[o._S](n,t))}function R(n){return!(!n||typeof n!==r.fK)}function K(n){return!(!n||typeof n!==r.cb)}function V(n){var t=n;return t&&Z(t)&&(t=(t=(t=t[o.i7](E,(function(n,t){return t.toUpperCase()})))[o.i7](O,"_"))[o.i7](L,(function(n,t){return"_"+t}))),t}function B(n,t){if(n)for(var e in n)r.CY[o._S](n,e)&&t[o._S](n,e,n[e])}function q(n,t){var e=!1;return n&&t&&!(e=n===t)&&(e=w?n[c](t):function(n,t){var e=!1,r=t?t[o.R5]:0,i=n?n[o.R5]:0;if(r&&i&&i>=r&&!(e=n===t)){for(var u=i-1,a=r-1;a>=0;a--){if(n[u]!=t[a])return!1;u--}e=!0}return e}(n,t)),e}function j(n,t){var e=!1;return n&&t&&!(e=n===t)&&(e=b?n[s](t):function(n,t){var e=!1,r=t?t[o.R5]:0;if(n&&r&&n[o.R5]>=r&&!(e=n===t)){for(var i=0;i<r;i++)if(n[i]!==t[i])return!1;e=!0}return e}(n,t)),e}function z(n,t){return!(!n||!t)&&-1!==n[o.ou](t)}function J(n){return!(!n||"[object Date]"!==_[o._S](n))}var W=A||function(n){return!(!n||"[object Array]"!==_[o._S](n))};function H(n){return!(!n||"[object Error]"!==_[o._S](n))}function Z(n){return"string"==typeof n}function G(n){return"number"==typeof n}function Q(n){return"boolean"==typeof n}function Y(n){var t=!1;if(n&&"object"==typeof n){var e=F?F(n):function(n){if(n){if(F)return F(n);var t=n[g]||n[r.hB]||n[m];if(t)return t}return null}(n);e?(e[m]&&r.CY[o._S](e,m)&&(e=e[m]),t=typeof e===r.cb&&k[o._S](e)===I):t=!0}return t}function $(n){if(n)return P?n[a]():function(n){if(n&&n.getUTCFullYear){var t=function(n){var t=String(n);return 1===t[o.R5]&&(t="0"+t),t};return n.getUTCFullYear()+"-"+t(n.getUTCMonth()+1)+"-"+t(n.getUTCDate())+"T"+t(n.getUTCHours())+":"+t(n.getUTCMinutes())+":"+t(n.getUTCSeconds())+"."+String((n.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"}}(n)}function X(n,t,e){var r=n[o.R5];try{for(var i=0;i<r&&(!(i in n)||-1!==t[o._S](e||n,n[i],i,n));i++);}catch(n){}}function nn(n,t,e){if(n){if(n[l])return n[l](t,e);var r=n[o.R5],i=e||0;try{for(var u=Math.max(i>=0?i:r-Math.abs(i),0);u<r;u++)if(u in n&&n[u]===t)return u}catch(n){}}return-1}function tn(n,t,e){var r;if(n){if(n[f])return n[f](t,e);var i=n[o.R5],u=e||n;r=new Array(i);try{for(var a=0;a<i;a++)a in n&&(r[a]=t[o._S](u,n[a],n))}catch(n){}}return r}function en(n,t,e){var r;if(n){if(n[d])return n[d](t,e);var i=n[o.R5],u=0;if(arguments[o.R5]>=3)r=arguments[2];else{for(;u<i&&!(u in n);)u++;r=n[u++]}for(;u<i;)u in n&&(r=t(r,n[u],u,n)),u++}return r}function rn(n){return n&&(n=T&&n[p]?n[p]():n[o.i7]?n[o.i7](/^\s+|(?=\s)\s+$/g,u.qS):n),n}var on=!{toString:null}.propertyIsEnumerable("toString"),un=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function an(n){var t=typeof n;if(t===r.cb||t===r.fK&&null!==n||(0,i.ZU)("objKeys called on non-object"),!on&&S)return S(n);var e=[];for(var u in n)n&&r.CY[o._S](n,u)&&e[o.MW](u);if(on)for(var a=un[o.R5],c=0;c<a;c++)n&&r.CY[o._S](n,un[c])&&e[o.MW](un[c]);return e}function cn(n,t,e,r){if(y)try{var i={enumerable:!0,configurable:!0};return e&&(i.get=e),r&&(i.set=r),y(n,t,i),!0}catch(n){}return!1}function sn(n){return n}function ln(n){return h&&B(n,(function(n,t){(W(t)||R(t))&&h(t)})),fn(n)}var fn=h||sn;function dn(){var n=Date;return n.now?n.now():(new n).getTime()}function pn(n){return H(n)?n[o.I]:u.qS}function vn(n,t,e,r,i){var o=e;return n&&((o=n[t])===e||i&&!i(o)||r&&!r(e)||(o=e,n[t]=o)),o}function gn(n,t,e){var r;return n?!(r=n[t])&&U(r)&&(r=N(e)?{}:e,n[t]=r):r=N(e)?{}:e,r}function mn(n,t){return U(n)?t:n}function yn(n){return!!n}function hn(n){throw new Error(n)}function Sn(n,t){var e=null,r=null;return K(n)?e=n:r=n,function(){var n=arguments;if(e&&(r=e()),r)return r[t][o.ZV](r,n)}}function Cn(n,t,e,r,i){n&&t&&e&&(!1!==i||N(n[t]))&&(n[t]=Sn(e,r))}function Tn(n,t,e,r){return n&&t&&R(n)&&W(e)&&X(e,(function(e){Z(e)&&Cn(n,e,t,e,r)})),n}function wn(n){return n&&r.rl&&(n=(0,r.Pw)((0,r.rl)({},n))),n}function bn(n,t,e,i,u,a){var c=arguments,s=c[0]||{},l=c[o.R5],f=!1,d=1;for(l>0&&Q(s)&&(f=s,s=c[d]||{},d++),R(s)||(s={});d<l;d++){var p=c[d],v=W(p),g=R(p);for(var m in p){if(v&&m in p||g&&r.CY[o._S](p,m)){var y=p[m],h=void 0;if(f&&y&&((h=W(y))||Y(y))){var S=s[m];h?W(S)||(S=[]):Y(S)||(S={}),y=bn(f,S,y)}void 0!==y&&(s[m]=y)}}}return s}},58878:function(n,t,e){e.d(t,{$F:function(){return p},C$:function(){return g},DN:function(){return u},Z:function(){return i},Zh:function(){return c},cL:function(){return y},f_:function(){return v},hL:function(){return l},js:function(){return s},kl:function(){return h},mE:function(){return a},oV:function(){return o},qS:function(){return r},uC:function(){return d},yi:function(){return f},ys:function(){return m}}); /* * Application Insights JavaScript SDK - Core, 2.8.14 * Copyright (c) Microsoft and contributors. All rights reserved. */ var r="",i="channels",o="core",u="createPerfMgr",a="disabled",c="extensionConfig",s="extensions",l="processTelemetry",f="priority",d="eventsSent",p="eventsDiscarded",v="eventsSendRequest",g="perfEvent",m="errorToConsole",y="warnToConsole",h="getPerfMgr"},67745:function(n,t,e){e.d(t,{Jk:function(){return d},Lm:function(){return v},j5:function(){return g}});var r=e(95898),i=e(29851),o=e(31834),u=e(58878),a="ctx",c="ParentContextKey",s="ChildrenContextKey",l=null,f=function(){function n(t,e,r){var u,l=this,f=!1;(l.start=(0,o.m6)(),l[i.I]=t,l[i.d]=r,l[i.PL]=function(){return!1},(0,o.mf)(e))&&(f=(0,o.l_)(l,"payload",(function(){return!u&&(0,o.mf)(e)&&(u=e(),e=null),u})));l[i.T]=function(t){return t?t===n[c]||t===n[s]?l[t]:(l[a]||{})[t]:null},l[i.wu]=function(t,e){if(t)if(t===n[c])l[t]||(l[i.PL]=function(){return!0}),l[t]=e;else if(t===n[s])l[t]=e;else{(l[a]=l[a]||{})[t]=e}},l[i.Km]=function(){var t=0,r=l[i.T](n[s]);if((0,o.kJ)(r))for(var u=0;u<r[i.R5];u++){var a=r[u];a&&(t+=a[i.Z_])}l[i.Z_]=(0,o.m6)()-l.start,l.exTime=l[i.Z_]-t,l[i.Km]=function(){},!f&&(0,o.mf)(e)&&(l.payload=e())}}return n.ParentContextKey="parent",n.ChildrenContextKey="childEvts",n}(),d=function(){function n(t){this.ctx={},(0,r.Z)(n,this,(function(n){n.create=function(n,t,e){return new f(n,t,e)},n.fire=function(n){n&&(n[i.Km](),t&&(0,o.mf)(t[u.C$])&&t[u.C$](n))},n[i.wu]=function(t,e){t&&((n[a]=n[a]||{})[t]=e)},n[i.T]=function(t){return(n[a]||{})[t]}}))}return n.__ieDyn=1,n}(),p="CoreUtils.doPerf";function v(n,t,e,r,o){if(n){var a=n;if(a[u.kl]&&(a=a[u.kl]()),a){var l=void 0,d=a[i.T](p);try{if(l=a.create(t(),r,o)){if(d&&l[i.wu]&&(l[i.wu](f[c],d),d[i.T]&&d[i.wu])){var v=d[i.T](f[s]);v||(v=[],d[i.wu](f[s],v)),v[i.MW](l)}return a[i.wu](p,l),e(l)}}catch(n){l&&l[i.wu]&&l[i.wu]("exception",n)}finally{l&&a.fire(l),a[i.wu](p,d)}}}return e()}function g(){return l}},25052:function(n,t,e){e.d(t,{Bt:function(){return m},CD:function(){return g},jV:function(){return h},xy:function(){return y}});var r=e(29851),i=e(95531),o=e(11312),u=e(31834),a=e(58878),c=e(67745),s=e(31328),l="TelemetryPluginChain",f="_hasRun",d="_getTelCtx",p=0;function v(n,t,e,c){var s=null,l=[];null!==c&&(s=c?function(n,t,e){for(;n;){if(n[r.TO]()===e)return n;n=n[r.W2]()}return h([e],t[r.TC]||{},t)}(n,e,c):n);var f={_next:function(){var n=s;if(s=n?n[r.W2]():null,!n){var t=l;t&&t[r.R5]>0&&((0,u.tO)(t,(function(n){try{n.func[r._S](n.self,n.args)}catch(n){(0,i.kP)(e[r.eZ],2,73,"Unexpected Exception during onComplete - "+(0,o.eU)(n))}})),l=[])}return n},ctx:{core:function(){return e},diagLog:function(){return(0,i.vH)(e,t)},getCfg:function(){return t},getExtCfg:d,getConfig:function(n,e,r){void 0===r&&(r=!1);var i,o=d(n,null);o&&!(0,u.le)(o[e])?i=o[e]:t&&!(0,u.le)(t[e])&&(i=t[e]);return(0,u.le)(i)?r:i},hasNext:function(){return!!s},getNext:function(){return s},setNext:function(n){s=n},iterate:function(n){var t;for(;t=f._next();){var e=t[r.TO]();e&&n(e)}},onComplete:function(n,t){for(var e=[],i=2;i<arguments.length;i++)e[i-2]=arguments[i];n&&l[r.MW]({func:n,self:(0,u.o8)(t)?f.ctx:t,args:e})}}};function d(n,e,r){var i;if(void 0===e&&(e={}),void 0===r&&(r=0),t){var o=t[a.Zh];o&&n&&(i=o[n])}if(i){if((0,u.Kn)(e)&&0!==r){var c=(0,u.mm)(!0,e,i);t&&2===r&&(0,u.rW)(e,(function(n){if((0,u.le)(c[n])){var e=t[n];(0,u.le)(e)||(c[n]=e)}})),i=c}}else i=e;return i}return f}function g(n,t,e,i){var o=v(n,t,e,i),c=o.ctx;return c[r.uL]=function(n){var t=o._next();return t&&t[a.hL](n,c),!t},c[r.zV]=function(n,i){return void 0===n&&(n=null),(0,u.kJ)(n)&&(n=h(n,t,e,i)),g(n||c[r.W2](),t,e,i)},c}function m(n,t,e){var i=t[r.TC]||{},o=v(n,i,t,e),a=o.ctx;return a[r.uL]=function(n){var t=o._next();return t&&t.unload(a,n),!t},a[r.zV]=function(n,e){return void 0===n&&(n=null),(0,u.kJ)(n)&&(n=h(n,i,t,e)),m(n||a[r.W2](),t,e)},a}function y(n,t,e){var i=t[r.TC]||{},o=v(n,i,t,e).ctx;return o[r.uL]=function(n){return o.iterate((function(t){(0,u.mf)(t[r.Tu])&&t[r.Tu](o,n)}))},o[r.zV]=function(n,e){return void 0===n&&(n=null),(0,u.kJ)(n)&&(n=h(n,i,t,e)),y(n||o[r.W2](),t,e)},o}function h(n,t,e,v){var m=null,y=!v;if((0,u.kJ)(n)&&n[r.R5]>0){var S=null;(0,u.tO)(n,(function(n){if(y||v!==n||(y=!0),y&&n&&(0,u.mf)(n[a.hL])){var h=function(n,t,e){var v,m=null,y=(0,u.mf)(n[a.hL]),h=(0,u.mf)(n[r.Jd]);v=n?n[r.pZ]+"-"+n[a.yi]+"-"+p++:"Unknown-0-"+p++;var S={getPlugin:function(){return n},getNext:function(){return m},processTelemetry:w,unload:b,update:P,_id:v,_setNext:function(n){m=n}};function C(){var r;return n&&(0,u.mf)(n[d])&&(r=n[d]()),r||(r=g(S,t,e)),r}function T(t,e,u,s,d){var p=!1,g=n?n[r.pZ]:l,y=t[f];return y||(y=t[f]={}),t.setNext(m),n&&(0,c.Lm)(t[a.oV](),(function(){return g+":"+u}),(function(){y[v]=!0;try{var n=m?m._id:a.qS;n&&(y[n]=!1),p=e(t)}catch(n){var c=!m||y[m._id];c&&(p=!0),m&&c||(0,i.kP)(t[r.mc](),1,73,"Plugin ["+g+"] failed during "+u+" - "+(0,o.eU)(n)+", run flags: "+(0,o.eU)(y))}}),s,d),p}function w(t,e){function i(e){if(!n||!y)return!1;var i=(0,s.OY)(n);return!i[r.fi]&&!i[a.mE]&&(h&&n[r.Jd](m),n[a.hL](t,e),!0)}T(e=e||C(),i,"processTelemetry",(function(){return{item:t}}),!t.sync)||e[r.uL](t)}function b(t,e){function i(){var i=!1;if(n){var o=(0,s.OY)(n),u=n[a.oV]||o[a.oV];!n||u&&u!==t.core()||o[r.fi]||(o[a.oV]=null,o[r.fi]=!0,o[r.yl]=!1,n[r.fi]&&!0===n[r.fi](t,e)&&(i=!0))}return i}T(t,i,"unload",(function(){}),e[r.d])||t[r.uL](e)}function P(t,e){function i(){var i=!1;if(n){var o=(0,s.OY)(n),u=n[a.oV]||o[a.oV];!n||u&&u!==t.core()||o[r.fi]||n[r.Tu]&&!0===n[r.Tu](t,e)&&(i=!0)}return i}T(t,i,"update",(function(){}),!1)||t[r.uL](e)}return(0,u.FL)(S)}(n,t,e);m||(m=h),S&&S._setNext(h),S=h}}))}return v&&!m?h([v],t,e):m}},1416:function(n,t,e){e.d(t,{CN:function(){return m},F6:function(){return y},_l:function(){return g},az:function(){return v},pZ:function(){return h}});var r=e(29851),i=e(11312),o=e(31834),u=e(58878),a=4294967296,c=4294967295,s=!1,l=123456789,f=987654321;function d(n){n<0&&(n>>>=0),l=123456789+n&c,f=987654321-n&c,s=!0}function p(){try{var n=2147483647&(0,o.m6)();d((Math.random()*a^n)+n)}catch(n){}}function v(n){return n>0?Math.floor(g()/c*(n+1))>>>0:0}function g(n){var t=0,e=(0,i.MX)()||(0,i.gz)();return e&&e.getRandomValues&&(t=e.getRandomValues(new Uint32Array(1))[0]&c),0===t&&(0,i.w1)()&&(s||p(),t=y()&c),0===t&&(t=Math.floor(a*Math.random()|0)),n||(t>>>=0),t}function m(n){n?d(n):p()}function y(n){var t=((f=36969*(65535&f)+(f>>16)&c)<<16)+(65535&(l=18e3*(65535&l)+(l>>16)&c))>>>0&c|0;return n||(t>>>=0),t}function h(n){void 0===n&&(n=22);for(var t=g()>>>0,e=0,i=u.qS;i[r.R5]<n;)e++,i+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(63&t),t>>>=6,5===e&&(t=(g()<<2&4294967295|3&t)>>>0,e=0);return i}},31328:function(n,t,e){e.d(t,{AA:function(){return f},OY:function(){return s},Yn:function(){return d},bP:function(){return l}});var r=e(29851),i=e(21275),o=e(31834),u=e(58878),a=e(65254),c=(0,i.K)("plugin");function s(n){return c.get(n,"state",{},!0)}function l(n,t){for(var e,i=[],a=null,c=n[r.W2]();c;){var l=c[r.TO]();if(l){a&&(0,o.mf)(a[r.Jd])&&(0,o.mf)(l[u.hL])&&a[r.Jd](l);((0,o.mf)(l[r.yl])?l[r.yl]():(e=s(l))[r.yl])||i[r.MW](l),a=l,c=c[r.W2]()}}(0,o.tO)(i,(function(i){var o=n[u.oV]();i[r.VL](n.getCfg(),o,t,n[r.W2]()),e=s(i),i[u.oV]||e[u.oV]||(e[u.oV]=o),e[r.yl]=!0,delete e[r.fi]}))}function f(n){return n.sort((function(n,t){var e=0;if(t){var r=(0,o.mf)(t[u.hL]);(0,o.mf)(n[u.hL])?e=r?n[u.yi]-t[u.yi]:1:r&&(e=-1)}else e=n?1:-1;return e}))}function d(n){var t={};return{getName:function(){return t[r.I]},setName:function(e){n&&n.setName(e),t[r.I]=e},getTraceId:function(){return t[r.nY]},setTraceId:function(e){n&&n.setTraceId(e),(0,a.jN)(e)&&(t[r.nY]=e)},getSpanId:function(){return t[r._d]},setSpanId:function(e){n&&n.setSpanId(e),(0,a.Lc)(e)&&(t[r._d]=e)},getTraceFlags:function(){return t[r.T0]},setTraceFlags:function(e){n&&n.setTraceFlags(e),t[r.T0]=e}}}},23830:function(n,t,e){e.d(t,{Y:function(){return a}});var r=e(29851),i=e(95531),o=e(11312),u=e(31834); /* * Application Insights JavaScript SDK - Core, 2.8.14 * Copyright (c) Microsoft and contributors. All rights reserved. */ function a(){var n=[];return{add:function(t){t&&n[r.MW](t)},run:function(t,e){(0,u.tO)(n,(function(n){try{n(t,e)}catch(n){(0,i.kP)(t[r.mc](),2,73,"Unexpected error calling unload handler - "+(0,o.eU)(n))}})),n=[]}}}},65254:function(n,t,e){e.d(t,{Lc:function(){return c},jN:function(){return a}});var r=e(29851),i="00000000000000000000000000000000",o="0000000000000000"; /* * Application Insights JavaScript SDK - Core, 2.8.14 * Copyright (c) Microsoft and contributors. All rights reserved. */function u(n,t,e){return!(!n||n[r.R5]!==t||n===e)&&!!n.match(/^[\da-f]*$/)}function a(n){return u(n,32,i)}function c(n){return u(n,16,o)}},29851:function(n,t,e){e.d(t,{$h:function(){return K},F3:function(){return I},Fc:function(){return S},Fr:function(){return z},Gc:function(){return A},I:function(){return i},Jd:function(){return F},Jn:function(){return V},Km:function(){return nn},Kn:function(){return G},LS:function(){return h},Lk:function(){return N},MW:function(){return a},P6:function(){return Z},PL:function(){return Y},R5:function(){return d},SD:function(){return g},T:function(){return $},T0:function(){return rn},T1:function(){return W},TC:function(){return s},TO:function(){return C},Tu:function(){return E},VL:function(){return r},W2:function(){return O},ZV:function(){return q},Z_:function(){return p},_S:function(){return H},_d:function(){return en},cb:function(){return b},d:function(){return k},dE:function(){return Q},eZ:function(){return f},fi:function(){return P},g:function(){return m},gU:function(){return _},i7:function(){return j},iC:function(){return w},jk:function(){return J},kL:function(){return T},mc:function(){return L},n7:function(){return y},nY:function(){return tn},ou:function(){return U},p$:function(){return l},pZ:function(){return u},qV:function(){return x},tb:function(){return o},uL:function(){return v},w6:function(){return R},wu:function(){return X},xv:function(){return B},yl:function(){return c},zV:function(){return M},zc:function(){return D}}); /* * Application Insights JavaScript SDK - Core, 2.8.14 * Copyright (c) Microsoft and contributors. All rights reserved. */ var r="initialize",i="name",o="getNotifyMgr",u="identifier",a="push",c="isInitialized",s="config",l="instrumentationKey",f="logger",d="length",p="time",v="processNext",g="getProcessTelContext",m="addNotificationListener",y="removeNotificationListener",h="stopPollingInternalLogs",S="onComplete",C="getPlugin",T="flush",w="_extensions",b="splice",P="teardown",A="messageId",_="message",k="isAsync",I="_doTeardown",E="update",O="getNext",L="diagLog",F="setNextPlugin",M="createNew",N="cookieCfg",U="indexOf",D="substring",x="userAgent",R="split",K="setEnabled",V="substr",B="nodeType",q="apply",j="replace",z="enableDebugExceptions",J="logInternalMessage",W="toLowerCase",H="call",Z="type",G="handler",Q="listeners",Y="isChildEvt",$="getCtx",X="setCtx",nn="complete",tn="traceId",en="spanId",rn="traceFlags"},61419:function(n,t,e){e.d(t,{CY:function(){return p},Pw:function(){return c},RJ:function(){return d},V4:function(){return s},bO:function(){return a},cb:function(){return r},fK:function(){return i},hB:function(){return u},jA:function(){return o},rl:function(){return l},yu:function(){return f}}); // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. var r="function",i="object",o="undefined",u="prototype",a="hasOwnProperty",c=Object,s=c[u],l=c.assign,f=c.create,d=c.defineProperty,p=s[a]},11254:function(n,t,e){e.d(t,{Rd:function(){return o},ZU:function(){return u},pu:function(){return a}});var r=e(61419),i=null; // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. function o(n){void 0===n&&(n=!0);var t=!1===n?null:i;return t||(typeof globalThis!==r.jA&&(t=globalThis),t||typeof self===r.jA||(t=self),t||typeof window===r.jA||(t=window),t||typeof e.g===r.jA||(t=e.g),i=t),t}function u(n){throw new TypeError(n)}function a(n){var t=r.yu;if(t)return t(n);if(null==n)return{};var e=typeof n;function i(){}return e!==r.fK&&e!==r.cb&&u("Object prototype may only be an Object:"+n),i[r.hB]=n,new i}},44772:function(n,t,e){e.d(t,{$h:function(){return c},ne:function(){return a},uc:function(){return o}});var r=e(61419),i=e(11254),o=(((0,i.Rd)()||{}).Symbol,((0,i.Rd)()||{}).Reflect,r.rl||function(n){for(var t,e=1,i=arguments.length;e<i;e++)for(var o in t=arguments[e])r.V4[r.bO].call(t,o)&&(n[o]=t[o]);return n}),u=function(n,t){return u=r.Pw.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)t[r.bO](e)&&(n[e]=t[e])},u(n,t)};function a(n,t){function e(){this.constructor=n}typeof t!==r.cb&&null!==t&&(0,i.ZU)("Class extends value "+String(t)+" is not a constructor or null"),u(n,t),n[r.hB]=null===t?(0,i.pu)(t):(e[r.hB]=t[r.hB],new e)}function c(n,t){for(var e=0,r=t.length,i=n.length;e<r;e++,i++)n[i]=t[e];return n}},95898:function(n,t,e){ /*! * Microsoft Dynamic Proto Utility, 1.1.9 * Copyright (c) Microsoft and contributors. All rights reserved. */ var r;e.d(t,{Z:function(){return R}});var i="undefined",o="constructor",u="prototype",a="function",c="_dynInstFuncs",s="_isDynProxy",l="_dynClass",f="_dynCls$",d="_dynInstChk",p=d,v="_dfOpts",g="_unknown_",m="__proto__",y="_dyn"+m,h="__dynProto$Gbl",S="_dynInstProto",C="useBaseInst",T="setInstFuncs",w=Object,b=w.getPrototypeOf,P=w.getOwnPropertyNames;var A,_=(typeof globalThis!==i&&(A=globalThis),A||typeof self===i||(A=self),A||typeof window===i||(A=window),A||typeof e.g===i||(A=e.g),A||{}),k=_[h]||(_[h]={o:(r={},r[T]=!0,r[C]=!0,r),n:1e3});function I(n,t){return n&&w[u].hasOwnProperty.call(n,t)}function E(n){return n&&(n===w[u]||n===Array[u])}function O(n){return E(n)||n===Function[u]}function L(n){var t;if(n){if(b)return b(n);var e=n[m]||n[u]||(n[o]?n[o][u]:null);t=n[y]||e,I(n,y)||(delete n[S],t=n[y]=n[S]||n[y],n[S]=e)}return t}function F(n,t){var e=[];if(P)e=P(n);else for(var r in n)"string"==typeof r&&I(n,r)&&e.push(r);if(e&&e.length>0)for(var i=0;i<e.length;i++)t(e[i])}function M(n,t,e){return t!==o&&typeof n[t]===a&&(e||I(n,t))}function N(n){throw new TypeError("DynamicProto: "+n)}function U(n,t){for(var e=n.length-1;e>=0;e--)if(n[e]===t)return!0;return!1}function D(n,t,e,r,i){function o(n,t){var e=function(){var r=function(n,t,e,r){var i=null;if(n&&I(e,l)){var o=n[c]||{};if((i=(o[e[l]]||{})[t])||N("Missing ["+t+"] "+a),!i[d]&&!1!==o[p]){for(var u=!I(n,t),s=L(n),f=[];u&&s&&!O(s)&&!U(f,s);){var v=s[t];if(v){u=v===r;break}f.push(s),s=L(s)}try{u&&(n[t]=i),i[d]=1}catch(n){o[p]=!1}}}return i}(this,t,n,e)||function(n,t,e){var r=t[n];return r===e&&(r=L(t)[n]),typeof r!==a&&N("["+n+"] is not a "+a),r}(t,n,e);return r.apply(this,arguments)};return e[s]=1,e}if(!E(n)){var u=e[c]=e[c]||{},f=u[t]=u[t]||{};!1!==u[p]&&(u[p]=!!i),F(e,(function(t){M(e,t,!1)&&e[t]!==r[t]&&(f[t]=e[t],delete e[t],(!I(n,t)||n[t]&&!n[t][s])&&(n[t]=o(n,t)))}))}}function x(n,t){return I(n,u)?n.name||t||g:((n||{})[o]||{}).name||t||g}function R(n,t,e,r){I(n,u)||N("theClass is an invalid class definition.");var i=n[u];(function(n,t){if(b){for(var e=[],r=L(t);r&&!O(r)&&!U(e,r);){if(r===n)return!0;e.push(r),r=L(r)}return!1}return!0})(i,t)||N("["+x(n)+"] not in hierarchy of ["+x(t)+"]");var o=null;I(i,l)?o=i[l]:(o=f+x(n,"_")+"$"+k.n,k.n++,i[l]=o);var a=R[v],d=!!a[C];d&&r&&void 0!==r[C]&&(d=!!r[C]);var g=function(n){var t={};return F(n,(function(e){!t[e]&&M(n,e,!1)&&(t[e]=n[e])})),t}(t),m=function(n,t,e,r){function i(n,t,e){var i=t[e];if(i[s]&&r){var o=n[c]||{};!1!==o[p]&&(i=(o[t[l]]||{})[e]||i)}return function(){return i.apply(n,arguments)}}var o={};F(e,(function(n){o[n]=i(t,e,n)}));for(var u=L(n),a=[];u&&!O(u)&&!U(a,u);)F(u,(function(n){!o[n]&&M(u,n,!b)&&(o[n]=i(t,u,n))})),a.push(u),u=L(u);return o}(i,t,g,d);e(t,m);var y=!!b&&!!a[T];y&&r&&(y=!!r[T]),D(i,o,t,g,!1!==y)}R[v]=k.o},59542:function(n,t,e){var r;e.r(t),e.d(t,{CustomerContentHandler:function(){return W},DNMHandler:function(){return J},EventThrottler:function(){return T},OneDSEndpoint:function(){return r},OneDSHelper:function(){return k},OneDSSink:function(){return R},OsPlugin:function(){return j},Sampler:function(){return V},getCorrespondingCCCOEndpoint:function(){return _}}),function(n){n.USGOV_DOD="https://pf.events.data.microsoft.com/OneCollector/1.0/",n.USGOV_DOJ="https://tb.events.data.microsoft.com/OneCollector/1.0/",n.PUBLIC="https://browser.events.data.microsoft.com/OneCollector/1.0/",n.CUSTOMER_CONTENT="",n.EUDB="https://eu-office.events.data.microsoft.com/OneCollector/1.0/"}(r||(r={}));var i=e(26615),o=e(36269),u="Data.",a="f998cc5ba4d448d6a1e8e913ff18be94-dd122e0a-fcf8-4dc5-9dbb-6afac5325183-7405",c="b22a201c3f1d41d28ccc399ba6cc9ca2-1972c77f-1f79-4283-a0f9-b4ddc4646f55-7121",s=void 0;function l(n,t,e,r){var i=!0;if(t)for(var a=function(t){var a=t.classification,c=t.dataType,s=t.name;if(a&&!(4===a||1===a||2===r&&32===a||3===r&&2048===a))return i=!1,"break";if(3===r&&e&&3!==c&&1!==c&&2!==c&&"OTelJS.Version"!==s&&"OTelJS.Sink"!==s)return(0,o.uf)(0,1,(function(){return"DNM: Invalid field type "+s})),i=!1,"break";var l=void 0;l=e?"zC."===s.substr(0,3)?"zC."+u+s.substr(3):u+s:s;var f=void 0;switch(c){case 3:f=6;break;case 2:f=4;break;case 4:f=8;break;case 0:return n[l]="string"==typeof t.value?t.value.substr(0,25e3):t.value,"continue";default:return n[l]=t.value,"continue"}var d={value:t.value,propertyType:f};n[l]=d},c=0,s=t;c<s.length;c++){if("break"===a(s[c]))break}return i}function f(n,t){try{return n()}catch(n){return(0,o.H)(1,"1DS Sink",n),t}}function d(n){return n.timestamp?new Date(n.timestamp):new Date}function p(n,t){for(var e=function(e){var r=t[e];if(!r.processEvent(n))return(0,o.uf)(2,1,(function(){return"".concat(n.eventName," suppressed by ").concat(r.name)})),{value:!1}},r=0;r<t.length;r++){var i=e(r);if("object"==typeof i)return i.value}return!0}var v="App.Version",g="User.TenantId",m="Session.Id";function y(n){(0,o.uf)(0,1,(function(){return"Invalid "+n}))}var h=/^((0|[1-9]\d*)\.){0,3}(0|[1-9]\d*)([-+][-+0-9a-zA-Z\.]+)?$/;var S="Office.Telemetry.OTelJS.EventThrottled";function C(n){return"number"==typeof n}var T=function(){function n(n,t){this._sinkName=n,this._telemetrySink=t,this.name="EventThrottler",this._totalEventsInLastInterval=0,this._singleEventInLastInterval={},this._eventThrottleReported={},this._lastIntervalStart=Date.now(),this._maxNamedEventsPerSecond={}}return n.prototype.setSingleEventThrottle=function(n){this._maxSingleEventPerSecond=n},n.prototype.setTotalEventThrottle=function(n){this._maxTotalEventsPerSecond=n},n.prototype.setNamedEventThrottle=function(n,t){this._maxNamedEventsPerSecond[n]=t},n.prototype.processEvent=function(n){var t=n.eventName;if(t===S)return!0;var e=!0;return Date.now()-this._lastIntervalStart>1e3&&(this._lastIntervalStart=Date.now(),this._totalEventsInLastInterval=0,this._singleEventInLastInterval={}),this._singleEventInLastInterval[t]=this._singleEventInLastInterval[t]+1||1,t in this._maxNamedEventsPerSecond?e=this.applyThrottle(this._singleEventInLastInterval[t],this._maxNamedEventsPerSecond[t],"MaxNamedEventsPerSecond",t):C(this._maxSingleEventPerSecond)&&(e=this.applyThrottle(this._singleEventInLastInterval[t],this._maxSingleEventPerSecond,"MaxSingleEventsPerSecond",t)),C(this._maxTotalEventsPerSecond)&&(this._totalEventsInLastInterval++,e&&(e=this.applyThrottle(this._totalEventsInLastInterval,this._maxTotalEventsPerSecond,"MaxTotalEventsPerSecond",t))),e},n.prototype.applyThrottle=function(n,t,e,r){return!(n>t)||(n===t+1&&this._telemetrySink&&!this._eventThrottleReported[r]&&(this._eventThrottleReported[r]=!0,this._telemetrySink.sendTelemetryEvent({eventName:S,telemetryProperties:{ariaTenantToken:a,nexusTenantToken:1723},eventFlags:{diagnosticLevel:110},dataFields:[(0,i.dt)("SinkName",this._sinkName||""),(0,i.dt)("ThrottledEvent.Name",r),(0,i.Kq)(e,t)]})),(0,o.uf)(2,1,(function(){return"1DS Sink Event Throttle: Exceeded ".concat(t," ").concat(e,": ").concat(r)})),!1)},n}(),w=e(99159),b=e(50814),P=e(20088),A=e(79693);function _(n){switch(n){case r.PUBLIC:return"https://office-c.events.data.microsoft.com/OneCollector/1.0/";case r.EUDB:return"https://eu-office-c.events.data.microsoft.com/OneCollector/1.0/";default:return}}var k=function(n,t){var e=this;this.eventsProcessed=0,this.eventsSent=0,this.eventsDiscarded=0;var r=[],i=!1,u=!0,a={name:"DiagnosticLevel",processEvent:function(n){var t=n.eventFlags.diagnosticLevel;return i||10===t||110===t||120===t}},s={},f=(0,P.GW)();this.init=function(){return u=u&&function(n){function t(t){return"string"==typeof n[t]||(y(t),!1)}var e=t("App.Name")&&t(v)&&t("App.Platform")&&t(m),r=n["User.IsAnonymous"];if(!1!==r&&void 0!==r||(e=e&&t("User.PrimaryIdentityHash")&&t("User.PrimaryIdentitySpace")),!e)return e;var i=n[v];h.test(i)||(y(v),e=!1);var o=/^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$/,u=n[g];return!u||t(g)&&o.test(u)||(y(g),e=!1),o.test(n[m])||(y(m),e=!1),e}(s)},this.getOneDSTelemetryEvent=function(n){return S(n,{eventType:1})},this.getOneDSCustomerContent=function(n){var t=n.telemetryProperties.customerContentVersion;if(t&&Math.floor(t)<=2&&1===n.telemetryProperties.customerContentType)return S(n,{eventType:2})};var S=function(n,t){var i=(0,w.vE)(n);if(p(i,r)){var u=d(i).toISOString(),a={"Event.Name":i.eventName,"Event.Source":"OTelJS","Event.Time":{value:u,propertyType:A.vi.DateTime}};for(var v in e.eventsProcessed++,a["Event.Sequence"]={value:e.eventsProcessed,propertyType:A.vi.Int64},a["Event.Id"]=f+"."+e.eventsProcessed,s)a[v]=s[v];if(!l(a,i.dataFields,!0,t.eventType))return void(0,o.uf)(0,1,(function(){return"Dropping Event: "+i.eventName}));var g="custom";i.eventContract&&(i.eventContract.name&&(a["Event.Contract"]=i.eventContract.name,g+="."+i.eventContract.name.toLowerCase().replace(/\./g,"_")),l(a,i.eventContract.dataFields,!1,t.eventType));var m=function(n,t){return 2===t?c:n.telemetryProperties&&(1!==t||n.telemetryProperties.ariaTenantToken)?1===t?n.telemetryProperties.ariaTenantToken:void 0:void(0,o.uf)(0,1,(function(){return"Missing Aria Token"}))}(i,t.eventType);if(!m)return;return{iKey:m,name:i.eventName,data:a,time:u,baseType:g,ext:{sdk:{seq:e.eventsProcessed}}}}};this.addPreprocessor=function(n){r.push(n)},this.getOneDSPersistentDataFields=function(){return s},this.getPreprocessors=function(){return r};var C=function(n){l(s,n,!1,1)};this.addPersistentDataFields=C,this.setOptionalEventsEnabled=function(n){i=n},this.setFullEventsEnabled=this.setOptionalEventsEnabled,t.enableOptionalEvents&&(i=!0),C(n);var T=t.coreFields;if(T){C(b.gV.getFields(T.app)),C(b.n5.getFields(T.user)),C(b.z_.getFields(T.session));var _=T.release;_&&C(b.cl.getFields(_))}this.addPreprocessor(a)},I=e(77224),E=e(53413),O=e(88992),L="HttpManager:_sendBatches",F="PrivacyGuard:_processTelemetry",M=function(){function n(n,t,e){this.start=Date.now(),this.name=n,this.isAsync=!0===e,this.payload=t}return n.prototype.isChildEvt=function(){return!1},n.prototype.complete=function(){this.time=Date.now()-this.start,this.exTime=this.time},n}(),N=function(){function n(n){this._callbacks=n}return n.prototype.create=function(n,t,e){return n===L||n===F?new M(n,t,e):null},n.prototype.fire=function(n){if(n&&n.complete(),this._callbacks)switch(n.name){case L:this.handleSendBatches(n);break;case F:this.handlePrivacyGuardNotification(n)}},n.prototype.setCtx=function(n,t){},n.prototype.getCtx=function(n){},n.prototype.handleSendBatches=function(n){if(this._callbacks.requestProcessingStats){var t=0;if(n.payload){var e=n.payload();if(e.batches)for(var r in e.batches)t+=e.batches[r].evts.length}this._callbacks.requestProcessingStats(n.time||0,t)}},n.prototype.handlePrivacyGuardNotification=function(n){this._callbacks.privacyGuardStats&&n.time&&n.time>0&&this._callbacks.privacyGuardStats(n.time)},n}();function U(n,t){var e={instrumentationKey:t,endpointUrl:n.endpointUrl,channelConfiguration:{eventsLimitInMem:n.eventsLimitInMem,httpXHROverride:n.httpXHROverride,setTimeoutOverride:n.setTimeoutOverride,clearTimeoutOverride:n.clearTimeoutOverride,ignoreMc1Ms0CookieProcessing:!0,disableOptimizeObj:!0},disableCookiesUsage:!0,extensionConfig:(0,I.__assign)({},n.extensionConfig)};n.stats&&n.stats.networkStats&&e.channelConfiguration&&(e.channelConfiguration.payloadListener=function(t,e){var r,i=e||t;i.data&&(null===(r=n.stats)||void 0===r||r.networkStats(i.data.length))});var r=new x;return r.initialize(e,n.plugins),r.setUploadFrequency(n.uploadFrequency),n.notificationListener&&r.addNotificationListener(n.notificationListener),n.stats&&r.setPerfMgr(new N(n.stats)),r}var D=function(n,t){t&&t.addNotificationListener({eventsSent:function(t){(0,o.uf)(2,2,(function(){return"Successfully sent ".concat(t.length," event(s)")})),(0,o.uf)(3,2,(function(){return"Sent event(s) details : ".concat(JSON.stringify(t,null,2))})),n.eventsSent+=t.length},eventsDiscarded:function(t,e){(0,o.uf)(0,2,(function(){return"Discarded ".concat(t.length," event(s) because ").concat(e)})),(0,o.uf)(3,2,(function(){return"Discarded event(s) details : ".concat(JSON.stringify(t,null,2))})),n.eventsDiscarded+=t.length}})},x=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return(0,I.__extends)(t,n),t.prototype.initialize=function(t,e){this._postChannel=new O.Z;var r=null!=e?e:[];t.channels=[[this._postChannel]],t.extensionConfig=t.extensionConfig||[],t.extensionConfig[this._postChannel.identifier]=(0,I.__assign)((0,I.__assign)({},t.channelConfiguration),t.extensionConfig[this._postChannel.identifier]);try{n.prototype.initialize.call(this,t,r)}catch(n){this.logger.warnToConsole("Failed to initialize SDK."+n)}},t.prototype.setUploadFrequency=function(n){if(this._postChannel&&n){var t=n/1e3,e=t/2,r={};r.OTelCustomTransmissionProfile=[t,e],this._postChannel._loadTransmitProfiles(r),this._postChannel._setTransmitProfile("OTelCustomTransmissionProfile")}},t.prototype.flush=function(n){this._postChannel&&this._postChannel.flush(n)},t.prototype.shutdown=function(){this._postChannel&&this._postChannel.teardown()},t}(E.Z),R=function(n){function t(t,e){var r,i=n.call(this,t,e)||this;i.sendTelemetryEvent=function(n){return f((function(){var t=i.getOneDSTelemetryEvent(n);t&&r&&r.track(t)}),s)},i.sendCustomerContent=function(n){},i.sendNonStandardEvent=function(n,t){var e=!1;u.forEach((function(r){r.canHandle(t)&&(r.processEvent(n),e=!0)})),e||(0,o.uf)(0,1,(function(){return"Missing Handler for "+t+"to process"+n.eventName}))},i.flush=function(n){null==r||r.flush(n),u.forEach((function(t){t.flush(n)}))},i.shutdown=function(){try{null==r||r.shutdown(),u.forEach((function(n){n.shutdown()}))}catch(n){(0,o.uf)(0,2,(function(){return"An error occurred on shutdown"}))}};var u=e.nonStandardEventHandlers||[];if(r=U(e,a),u.forEach((function(n){n.initialize(i,e)})),!e.endpointUrl)throw new Error("Missing Endpoint Url");return e.disableStatsTracking||D(i,r),i}return(0,I.__extends)(t,n),t}(k),K=1e3;var V=function(){function n(){this.name="Sampler",this.sampleRate=.02}return n.prototype.enableWithIdentifier=function(n,t){return!("string"!=typeof t||t.length<4)&&(this.samplingValue=function(n){return function(n){for(var t=5381,e=0;e<n.length;e++)t=(t<<5)+t+n.charCodeAt(e);return t>>>0}(n)%K/K}(t),this.samplingKey=n,!0)},n.prototype.enableWithSamplingValue=function(n,t){return!(isNaN(t)||t<0||t>=1)&&(this.samplingValue=t,this.samplingKey=n,!0)},n.prototype.enableWithRandomValue=function(){var n=new Uint32Array(1);return!("object"!=typeof window||!window.crypto)&&(window.crypto.getRandomValues(n),this.samplingValue=n[0]%K/K,this.samplingKey="Random",!0)},n.prototype.setSampleRate=function(n){return n>=0&&n<=1&&(this.sampleRate=n,!0)},n.prototype.getSamplingValue=function(){return this.samplingValue},n.prototype.isMeasuresEnabled=function(){return void 0===this.samplingValue||this.samplingValue<this.sampleRate},n.prototype.processEvent=function(n){var t=n.eventFlags.samplingPolicy;return void 0===this.samplingValue||void 0===t||(1===t?!!this.isMeasuresEnabled()&&(this.addSampleRateField(n,this.sampleRate,this.samplingValue),!0):2!==t&&(this.addSampleRateField(n,1,this.samplingValue),!0))},n.prototype.addSampleRateField=function(n,t,e){n.eventContract||(n.eventContract={name:"",dataFields:[]});var r=n.eventContract.dataFields;r.push((0,i.b_)("Event.SampleRate",t)),r.push((0,i.b_)("Session.SamplingValue",e)),this.samplingKey&&r.push((0,i.dt)("Session.SamplingKey",this.samplingKey)),r.push((0,i.UL)("Session.MeasuresEnabled",this.isMeasuresEnabled()))},n}();function B(){var n;return(0,I.__awaiter)(this,void 0,void 0,(function(){return(0,I.__generator)(this,(function(t){switch(t.label){case 0:return navigator.userAgent&&navigator.userAgent.indexOf("Windows")>0&&(null===(n=navigator.userAgentData)||void 0===n?void 0:n.getHighEntropyValues)?[4,navigator.userAgentData.getHighEntropyValues(["platformVersion"]).then((function(n){return parseInt(n.platformVersion.split(".")[0],10)>=13})).catch((function(n){return!1}))]:[3,2];case 1:return[2,t.sent()];case 2:return[2,!1]}}))}))}var q,j=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.identifier="Windows11",t.priority=449,t._isWindows11=!1,t}return(0,I.__extends)(t,n),t.prototype.processTelemetry=function(n,t){this._isWindows11&&(n.ext=n.ext||{},n.ext.os=n.ext.os||{},n.ext.os.name="Windows 11");var e=this._getTelCtx(t);this.processNext(n,e)},t.prototype.detectOs=function(){return(0,I.__awaiter)(this,void 0,void 0,(function(){var n;return(0,I.__generator)(this,(function(t){switch(t.label){case 0:return n=this,[4,B()];case 1:return n._isWindows11=t.sent(),[2]}}))}))},t}(e(25860).i),z=((q={})[3]="App.Name",q[4]="App.Platform",q[5]="App.Version",q[2]="WAC.Ring",q[1]="Release.AudienceGroup",q),J=function(n){var t,e,r=this;this.eventsProcessed=0;var i=function(n){var t,r=(0,w.vE)(n),i=[];if(e.getPreprocessors().forEach((function(n){"EventThrottler"===n.name&&i.push(n)})),p(r,i)){var u=d(r);u.setMilliseconds(0),u.setSeconds(0),u.setMinutes(0),2===r.telemetryProperties.dnmInterval&&u.setHours(0);var a={"Event.Name":r.eventName,"Event.Source":"OTelJS","Event.Time":{value:u.toISOString(),propertyType:A.vi.DateTime}},c=function(n,t){var e={};return t&&t.forEach((function(t){var r=z[t];e[r]=n[r]})),e}(e.getOneDSPersistentDataFields(),null===(t=null==n?void 0:n.telemetryProperties)||void 0===t?void 0:t.dnmAllowedPartA);for(var s in c)a[s]=c[s];if(!l(a,r.dataFields,!0,3))return void(0,o.uf)(0,1,(function(){return"Dropping Event: "+r.eventName}));var f=function(n){if(n.telemetryProperties&&n.telemetryProperties.dnmToken)return n.telemetryProperties.dnmToken;(0,o.uf)(0,1,(function(){return"Missing DNM Token"}))}(r);if(!f)return;return{iKey:f,name:r.eventName,data:a,time:u.toISOString(),baseType:"custom",ext:{sdk:{seq:0},utc:{eventFlags:2097152}}}}};this.initialize=function(r,i){var o=(0,I.__assign)((0,I.__assign)({},i),{endpointUrl:n.endpointUrl,extensionConfig:(0,I.__assign)((0,I.__assign)({},i.extensionConfig),{PrivacyGuardPlugin:{}}),plugins:[],nonStandardEventHandlers:[]});t=U(o,"67074e509c164bcaaf85b53c0ad0cde2-13c1c869-7901-4e72-b536-9e754e3b7413-6518"),o.disableStatsTracking||D(r,t),e=r},this.shutdown=function(){null==t||t.shutdown()},this.flush=function(n){null==t||t.flush(n)},this.canHandle=function(n){return 3===n},this.processEvent=function(n){return r.eventsProcessed++,f((function(){var e=i(n);e&&t&&(null==t||t.track(e))}),s)}},W=function(){var n,t,e=this;this.eventsProcessed=0,this.initialize=function(e,r){var i=_(r.endpointUrl);if(i){var u=(0,I.__assign)((0,I.__assign)({},r),{endpointUrl:i,extensionConfig:(0,I.__assign)((0,I.__assign)({},r.extensionConfig),{PrivacyGuardPlugin:{}}),nonStandardEventHandlers:[],plugins:[]});n=U(u,c),r.disableStatsTracking||D(e,n),t=e}else(0,o.uf)(0,1,(function(){return"Missing 1DS CCCO Endpoint"}))},this.shutdown=function(){null==n||n.shutdown()},this.flush=function(t){null==n||n.flush(t)},this.canHandle=function(n){return t&&2===n},this.processEvent=function(r){return e.eventsProcessed++,f((function(){var e=t.getOneDSCustomerContent(r);e&&n&&(null==n||n.track(e))}),s)}}},50814:function(n,t,e){e.d(t,{Vw:function(){return p},cS:function(){return l},cl:function(){return C},dy:function(){return h},fU:function(){return v},gV:function(){return g},iH:function(){return y},n5:function(){return f},oe:function(){return d},ps:function(){return S},t4:function(){return c},x4:function(){return s},z_:function(){return m}});var r=e(26615);function i(n,t){return n?n+"."+t:t}function o(n,t,e,o,u){void 0===u&&(u=4),o&&n.push((0,r.dt)("".concat(i(t,e)),o,u))}function u(n,t,e,o){"boolean"==typeof o&&n.push((0,r.UL)("".concat(i(t,e)),o))}function a(n,t,e,o){"number"==typeof o&&n.push((0,r.Kq)("".concat(i(t,e)),o))}var c,s={getFields:function(n){var t="Activity.Result",e=[];return a(e,t,"Code",n.code),o(e,t,"Type",n.type),a(e,t,"Tag",n.tag),u(e,t,"IsExpected",n.isExpected),e.push((0,r.dt)("zC.Activity.Result","Office.System.Result")),e}},l={contractName:"Office.System.Activity",getFields:function(n){var t="Activity",e=[];return o(e,t,"CV",n.cV),a(e,t,"Duration",n.duration),a(e,t,"Count",n.count),a(e,t,"AggMode",n.aggMode),u(e,t,"Success",n.success),n.result&&e.push.apply(e,s.getFields(n.result)),e.push((0,r.dt)("zC.Activity",this.contractName)),e}},f={getFields:function(n){var t="User",e=[];return o(e,t,"PrimaryIdentityHash",n.primaryIdentityHash),o(e,t,"PrimaryIdentitySpace",n.primaryIdentitySpace),o(e,t,"TenantId",n.tenantId,1),o(e,t,"TenantGroup",n.tenantGroup,1),u(e,t,"IsAnonymous",n.isAnonymous),u(e,t,"IsSignedIn",n.isSignedIn),e}},d={getFields:function(n,t){var e=[];return o(e,n,"Name",t.name),o(e,n,"State",t.state),e}},p={getFields:function(n){var t="UserAction",e=[];return a(e,t,"Id",n.id),o(e,t,"Name",n.name),o(e,t,"CommandSurface",n.commandSurface),o(e,t,"ParentName",n.parentName),o(e,t,"TriggerMethod",n.triggerMethod),a(e,t,"TimeOffsetMs",n.timeOffsetMs),e}};!function(n){n.Web="Web",n.Desktop="Desktop",n.Universal="Universal",n.Mobile="Mobile",n.Win32="Win32",n.iOS="iOS",n.Android="Android"}(c||(c={}));var v,g={getFields:function(n){var t="App",e=[];return o(e,t,"Name",n.name,1),o(e,t,"Platform",n.platform,1),o(e,t,"Version",n.version,1),e}},m={getFields:function(n){var t="Session",e=[];return o(e,t,"Id",n.id,1),o(e,t,"EcsETag",n.ecsETag,1),e}},y={getFields:function(n){var t=[];return t.push((0,r.dt)("Pillar",n.pillar)),t.push((0,r.dt)("Veto",n.veto)),t.push((0,r.UL)("IsIntentional",n.isIntentional)),t.push((0,r.UL)("IsInternal",n.isInternal)),t.push((0,r.UL)("AlertOnPillar",n.alertOnPillar)),t.push((0,r.UL)("IsSessionEndingError",n.isSessionEndingError)),u(t,void 0,"InStaging",n.inStaging),t}};!function(n){n.Automation="Automation",n.Dogfood="Dogfood",n.Microsoft="Microsoft",n.Insiders="Insiders",n.Production="Production"}(v||(v={}));var h,S,C={getFields:function(n){var t=[];return o(t,"Release","AudienceGroup",n.audienceGroup,1),t}};!function(n){var t="Copilot";!function(n){n.IsEnabled="IsEnabled",n.IsSeen="IsSeen",n.IsTried="IsTried",n.IsKept="IsKept",n.IsRejected="IsRejected"}(n.FeatureActionType||(n.FeatureActionType={})),function(n){n.ContentGeneration="Content Generation",n.Commanding="Commanding",n.QAandSummaries="QA and Summaries",n.Collaboration="Collaboration",n.Suggestions="Suggestions"}(n.Capability||(n.Capability={})),function(n){n.Chat="Chat",n.Canvas="Canvas"}(n.EntryPoint||(n.EntryPoint={})),n.getFields=function(n){var e=[];return o(e,t,"FeatureActionType",n.featureActionType),u(e,t,"IsUserInitiated",n.isUserInitiated),o(e,t,"FeatureName",n.featureName),o(e,t,"SubFeatureName",n.subFeatureName),o(e,t,"Capability",n.capability),u(e,t,"IsThumbsUp",n.isThumbsUp),o(e,t,"EntryPoint",n.entryPoint),e.push((0,r.dt)("zC.".concat(t),"Office.System.Copilot")),e}}(h||(h={})),function(n){var t="Asha";!function(n){n.Pillar="Pillar",n.Error="Error"}(n.EventType||(n.EventType={})),n.getFields=function(n){var e=[];return o(e,t,"EventType",n.eventType),o(e,t,"Pillar",n.pillar),o(e,t,"Scenario",n.scenario),o(e,t,"Veto",n.veto),o(e,t,"Error",n.error),u(e,t,"InStaging",n.inStaging),u(e,t,"IsSessionEndingError",n.isSessionEndingError),u(e,t,"IsIntentional",n.isIntentional),u(e,t,"IsInternal",n.isInternal),e.push((0,r.dt)("zC.".concat(t),"Office.System.Asha")),e}}(S||(S={}))},78376:function(n,t,e){var r;e.d(t,{CV:function(){return i},d:function(){return o}});var i=function(){function n(n){this.value=n,this.nextChild=0}return n.prototype.getNext=function(){return new n("".concat(this.value,".").concat(++this.nextChild))},n}();function o(){if(!r){for(var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=[],e=0;e<22;e++)t.push(n.charAt(Math.floor(64*Math.random())));r=new i(t.join(""))}return r}},26615:function(n,t,e){function r(n,t,e){return c(n,1,t,e)}function i(n,t,e){return c(n,2,t,e)}function o(n,t,e){return c(n,3,t,e)}function u(n,t,e){return c(n,0,t,e)}function a(n,t,e){return c(n,4,t,e)}function c(n,t,e,r){return{name:n,dataType:t,value:e,classification:r||4}}e.d(t,{Kq:function(){return i},UL:function(){return r},b_:function(){return o},dt:function(){return u},xq:function(){return a}})},36269:function(n,t,e){e.d(t,{H:function(){return a},kr:function(){return o},uf:function(){return u}});var r,i=(r=[],{fireEvent:function(n){r.forEach((function(t){return t(n)}))},addListener:function(n){n&&r.push(n)}});function o(){return i}function u(n,t,e){i.fireEvent({level:n,category:t,message:e})}function a(n,t,e){u(0,n,(function(){var n=e instanceof Error?e.message:"";return"".concat(t,": ").concat(n)}))}},99159:function(n,t,e){e.d(t,{Dw:function(){return S},Vp:function(){return y},vE:function(){return h}});var r=e(77224),i=e(36269),o={};function u(n,t){"Office."===n.substring(0,7)&&"."!==n[n.length-1]?o[n]?(t.ariaTenantToken&&(o[n].ariaTenantToken=t.ariaTenantToken),t.dnmToken&&(o[n].dnmToken=t.dnmToken)):o[n]=t:(0,i.uf)(0,0,(function(){return"Namespace: ".concat(n)}))}function a(n,t){for(var e=n.length;e>0;){var r=n.substr(0,e);if(o[r]){var i=o[r];return t.ariaTenantToken=i.ariaTenantToken,t.dnmToken=i.dnmToken,!0}e=n.lastIndexOf(".",e-1)}return!1}var c=9007199254740991,s=-c,l=98,f=/^Office(\.[A-Z][a-zA-Z0-9]*){2,}$/,d=/^[a-zA-Z0-9_\.]{1,95}$/;function p(n){if(!function(n){if(!n||n.length>l)return!1;return f.test(n)}(n.eventName))throw new Error("Invalid eventName");var t=n.eventContract;if(t){if(t.name&&!v(t.name))throw new Error("Invalid eventContract");g(t.dataFields)}g(n.dataFields)}function v(n){return d.test(n)}function g(n){n&&n.forEach((function(n){if("string"!=typeof n.name||!v(n.name))throw new Error("Invalid dataField name");2===n.dataType&&function(n){if("number"!=typeof n||!isFinite(n)||Math.floor(n)!==n||n<s||n>c)throw new Error("Invalid integer ".concat(JSON.stringify(n)))}(n.value)}))}var m=e(26615),y=-1;function h(n){var t={eventName:n.eventName,eventFlags:n.eventFlags||{},telemetryProperties:n.telemetryProperties?(0,r.__assign)({},n.telemetryProperties):{},dataFields:n.dataFields?n.dataFields.slice():[],timestamp:n.timestamp||(new Date).getTime()};return n.eventContract&&(t.eventContract={name:n.eventContract.name,dataFields:n.eventContract.dataFields.slice()}),t}var S=function(){function n(n,t,e){var i,o,u;this.telemetrySinks=[],this.persistentDataFields=[],this.partAFields=[],this.eventQueue=[],this.config=e||{},n&&(this.telemetrySinks=n.telemetrySinks,(i=this.persistentDataFields).push.apply(i,n.persistentDataFields),this.config=(0,r.__assign)((0,r.__assign)({},n.getConfig()),this.config),(o=this.partAFields).push.apply(o,n.partAFields)),t&&(u=this.persistentDataFields).push.apply(u,t)}return n.prototype.addEventContentType=function(n,t){n.push((0,m.Kq)("EventContent.Type",t))},n.prototype.sendTelemetryEvent=function(n){var t=h(n),e=t.telemetryProperties;e.nexusTenantToken=y;var r=e.ariaTenantToken;if(!r&&(!a(t.eventName,e)&&!r))return void(0,i.uf)(0,0,(function(){return"No tenant token: "+n.eventName}));this.sendTelemetryEventInternal(t,1)},n.prototype.sendCustomerContent=function(n){var t=h(n),e=t.telemetryProperties,r=e.customerContentVersion;return(!r||r>2)&&(e.customerContentVersion=2),e.ariaTenantToken=void 0,e.nexusTenantToken=void 0,e.dnmToken=void 0,this.addEventContentType(t.dataFields,2),this.sendTelemetryEventInternal(t,2)},n.prototype.sendDirectNumericEvent=function(n){var t=h(n),e=t.telemetryProperties;if(!e.dnmToken&&(!a(t.eventName,e)&&!e.dnmToken))return void(0,i.uf)(0,0,(function(){return"No dnm token: "+t.eventName}));this.addEventContentType(t.dataFields,1),this.sendTelemetryEventInternal(t,3)},n.prototype.sendTelemetryEventInternal=function(n,t){if(2===t||!n.telemetryProperties.customerContentVersion&&!n.telemetryProperties.customerContentType){try{if(0===this.telemetrySinks.length)return void(this.config.enableQueue&&this.eventQueue.length<1e3?this.eventQueue.push([n,t]):(0,i.uf)(1,0,(function(){return"No telemetry sinks are attached."})));this.processTelemetryEvent(n,t)}catch(n){return void(0,i.H)(0,"SendTelemetryEvent",n)}this.telemetrySinks.forEach((function(e){try{3===t||2===t?e.sendNonStandardEvent&&e.sendNonStandardEvent(n,t):e.sendTelemetryEvent(n)}catch(n){}}))}else(0,i.uf)(0,0,(function(){return"Customer content"}))},n.prototype.processTelemetryEvent=function(n,t){var e,r,i;if(n.dataFields&&(null===(i=n.dataFields)||void 0===i||i.unshift((0,m.dt)("OTelJS.Version","4.17.2")),3!==t&&this.persistentDataFields&&(e=n.dataFields).unshift.apply(e,this.persistentDataFields)),this.partAFields.length>0){var o=n.eventContract||{name:"",dataFields:[]};(r=o.dataFields).push.apply(r,this.partAFields),n.eventContract=o}this.config.disableValidation||p(n)},n.prototype.addSink=function(n){this.telemetrySinks.push(n),this.flushQueue()},n.prototype.flushQueue=function(){var n=this.eventQueue;if(this.eventQueue=[],this.telemetrySinks.length>0)for(var t=0,e=n;t<e.length;t++){var r=e[t],i=r[0],o=r[1];this.sendTelemetryEventInternal(i,o)}},n.prototype.setTenantToken=function(n,t,e){u(n,{ariaTenantToken:t,nexusTenantToken:e})},n.prototype.setDNMToken=function(n,t){u(n,{dnmToken:t})},n.prototype.cloneEvent=function(n){return h(n)},n.prototype.getConfig=function(){return this.config},n}()},4874:function(n,t,e){e.d(t,{h:function(){return d}});var r=e(77224),i=e(99159),o=e(50814),u=e(36269),a=function(){return 1e3*Date.now()};"object"==typeof window&&"object"==typeof window.performance&&"now"in window.performance&&(a=function(){return 1e3*Math.floor(window.performance.now())});var c=function(n){var t,e=a(),r=(0,i.vE)(n.telemetryEvent);return{cv:n.parentCv.getNext(),eventName:n.telemetryEvent.eventName,dataFields:r.dataFields,eventFlags:r.eventFlags,telemetryProperties:r.telemetryProperties,createChildActivity:function(t){return c({telemetryEvent:t,sendTelemetryEvent:n.sendTelemetryEvent,parentCv:this.cv})},setResult:function(n,t,e){this.result={code:n,type:t,tag:e}},endNow:function(){if(!t){void 0===this.success&&void 0===this.result&&(0,u.uf)(1,0,(function(){return"Activity does not have success or result set"}));var r=a();t=!0;var i={duration:r-e,count:1,aggMode:0,cV:this.cv.value,success:this.success,result:this.result},c=this.eventContract&&this.eventContract.dataFields?this.eventContract.dataFields:[];return c.push.apply(c,o.cS.getFields(i)),this.eventContract={name:o.cS.contractName,dataFields:c},n.sendTelemetryEvent(this)}(0,u.uf)(0,0,(function(){return"Already ended"}))}}},s=e(26615),l=function(n){var t="Error",e=[];return e.push((0,s.dt)("".concat(t,".ErrorGroup"),n.errorGroup)),e.push((0,s.Kq)("".concat(t,".Tag"),n.tag)),void 0!==n.code&&e.push((0,s.Kq)("".concat(t,".Code"),n.code)),void 0!==n.id&&e.push((0,s.Kq)("".concat(t,".Id"),n.id)),void 0!==n.count&&e.push((0,s.Kq)("".concat(t,".Count"),n.count)),e},f=e(78376),d=function(n){function t(t,e,r){var i=n.call(this,t,e,r)||this;return i.baseCv=(0,f.d)(),i}return(0,r.__extends)(t,n),t.prototype.createActivity=function(n){return c({sendTelemetryEvent:this.sendTelemetryEvent.bind(this),telemetryEvent:n,parentCv:this.baseCv})},t.prototype.sendActivity=function(n,t,e,r){return this.sendTelemetryEvent({eventName:n,eventContract:{name:o.cS.contractName,dataFields:o.cS.getFields(t)},dataFields:e,eventFlags:r})},t.prototype.sendError=function(n){var t=l(n.error);return null!=n.dataFields&&t.push.apply(t,n.dataFields),this.sendTelemetryEvent({eventName:n.eventName,dataFields:t,eventFlags:n.eventFlags})},t.prototype.createCustomerContentActivity=function(n){return c({sendTelemetryEvent:this.sendCustomerContent.bind(this),telemetryEvent:n,parentCv:this.baseCv})},t}(i.Dw)},8754:function(n,t,e){e.r(t),e.d(t,{Activity:function(){return S.cS},App:function(){return S.gV},Asha:function(){return S.ps},AudienceGroup:function(){return S.fU},CV:function(){return C.CV},Contracts:function(){return f},Copilot:function(){return S.dy},EnumObjects:function(){return b},Funnel:function(){return S.oe},HealthQosError:function(){return S.iH},Platform:function(){return S.t4},Release:function(){return S.cl},Result:function(){return S.x4},Session:function(){return S.z_},SimpleTelemetryLogger:function(){return P.Dw},SuppressNexus:function(){return P.Vp},TelemetryLogger:function(){return A.h},User:function(){return S.n5},UserAction:function(){return S.Vw},cloneEvent:function(){return P.vE},getEffectiveEventFlags:function(){return w},logError:function(){return T.H},logNotification:function(){return T.uf},makeBooleanDataField:function(){return l.UL},makeDoubleDataField:function(){return l.b_},makeGuidDataField:function(){return l.xq},makeInt64DataField:function(){return l.Kq},makeStringDataField:function(){return l.dt},onNotification:function(){return T.kr},sendHealthQosError:function(){return k}});var r,i,o,u,a,c,s,l=e(26615);!function(n){n.getFields=function(n,t){var e=[];return e.push((0,l.Kq)("".concat(n,".Code"),t.code)),void 0!==t.type&&e.push((0,l.dt)("".concat(n,".Type"),t.type)),void 0!==t.tag&&e.push((0,l.Kq)("".concat(n,".Tag"),t.tag)),void 0!==t.isExpected&&e.push((0,l.UL)("".concat(n,".IsExpected"),t.isExpected)),e.push((0,l.dt)("zC.Activity.Result","Office.System.Result")),e}}(r||(r={})),function(n){n.contractName="Office.System.Activity",n.getFields=function(t){var e="Activity",i=[];return void 0!==t.cV&&i.push((0,l.dt)("".concat(e,".CV"),t.cV)),i.push((0,l.Kq)("".concat(e,".Duration"),t.duration)),i.push((0,l.Kq)("".concat(e,".Count"),t.count)),i.push((0,l.Kq)("".concat(e,".AggMode"),t.aggMode)),void 0!==t.success&&i.push((0,l.UL)("".concat(e,".Success"),t.success)),void 0!==t.result&&i.push.apply(i,r.getFields("".concat(e,".Result"),t.result)),i.push((0,l.dt)("zC.Activity",n.contractName)),i}}(i||(i={})),function(n){n.getFields=function(n,t){var e=[];return void 0!==t.id&&e.push((0,l.dt)("".concat(n,".Id"),t.id)),void 0!==t.version&&e.push((0,l.dt)("".concat(n,".Version"),t.version)),void 0!==t.sessionId&&e.push((0,l.dt)("".concat(n,".SessionId"),t.sessionId)),e}}(o||(o={})),function(n){n.getFields=function(n,t){var e=[];return void 0!==t.alias&&e.push((0,l.dt)("".concat(n,".Alias"),t.alias)),void 0!==t.primaryIdentityHash&&e.push((0,l.dt)("".concat(n,".PrimaryIdentityHash"),t.primaryIdentityHash)),void 0!==t.primaryIdentitySpace&&e.push((0,l.dt)("".concat(n,".PrimaryIdentitySpace"),t.primaryIdentitySpace)),void 0!==t.tenantId&&e.push((0,l.dt)("".concat(n,".TenantId"),t.tenantId)),void 0!==t.tenantGroup&&e.push((0,l.dt)("".concat(n,".TenantGroup"),t.tenantGroup)),void 0!==t.isAnonymous&&e.push((0,l.UL)("".concat(n,".IsAnonymous"),t.isAnonymous)),e}}(u||(u={})),function(n){n.getFields=function(n,t){var e=[];return void 0!==t.name&&e.push((0,l.dt)("".concat(n,".Name"),t.name)),void 0!==t.state&&e.push((0,l.dt)("".concat(n,".State"),t.state)),e}}(a||(a={})),function(n){n.getFields=function(n,t){var e=[];return void 0!==t.id&&e.push((0,l.Kq)("".concat(n,".Id"),t.id)),void 0!==t.name&&e.push((0,l.dt)("".concat(n,".Name"),t.name)),void 0!==t.commandSurface&&e.push((0,l.dt)("".concat(n,".CommandSurface"),t.commandSurface)),void 0!==t.parentName&&e.push((0,l.dt)("".concat(n,".ParentName"),t.parentName)),void 0!==t.triggerMethod&&e.push((0,l.dt)("".concat(n,".TriggerMethod"),t.triggerMethod)),void 0!==t.timeOffsetMs&&e.push((0,l.Kq)("".concat(n,".TimeOffsetMs"),t.timeOffsetMs)),e}}(c||(c={})),function(n){n.getFields=function(n,t){var e=[];return e.push((0,l.dt)("".concat(n,".ErrorGroup"),t.errorGroup)),e.push((0,l.Kq)("".concat(n,".Tag"),t.tag)),void 0!==t.code&&e.push((0,l.Kq)("".concat(n,".Code"),t.code)),void 0!==t.id&&e.push((0,l.Kq)("".concat(n,".Id"),t.id)),void 0!==t.count&&e.push((0,l.Kq)("".concat(n,".Count"),t.count)),e}}(s||(s={}));var f,d=i,p=r,v=s,g=a,m=o,y=c,h=u;!function(n){!function(n){!function(n){n.Activity=d,n.Result=p,n.Error=v,n.Funnel=g,n.Host=m,n.User=h,n.UserAction=y}(n.System||(n.System={}))}(n.Office||(n.Office={}))}(f||(f={}));var S=e(50814),C=e(78376),T=e(36269);function w(n){var t={costPriority:1,samplingPolicy:1,persistencePriority:1,dataCategories:0,diagnosticLevel:100};return n.eventFlags&&n.eventFlags.dataCategories||(0,T.uf)(0,0,(function(){return"DataCategories"})),n.eventFlags?(n.eventFlags.costPriority&&(t.costPriority=n.eventFlags.costPriority),n.eventFlags.samplingPolicy&&(t.samplingPolicy=n.eventFlags.samplingPolicy),n.eventFlags.persistencePriority&&(t.persistencePriority=n.eventFlags.persistencePriority),n.eventFlags.dataCategories&&(t.dataCategories=n.eventFlags.dataCategories),n.eventFlags.diagnosticLevel&&(t.diagnosticLevel=n.eventFlags.diagnosticLevel),t):t}var b,P=e(99159),A=e(4874);!function(n){n.DataClassification={EssentialServiceMetadata:1,AccountData:2,SystemMetadata:4,OrganizationIdentifiableInformation:8,EndUserIdentifiableInformation:16,CustomerContent:32,AccessControl:64,PublicNonPersonalData:128,EndUserPseudonymousInformation:256,PublicPersonalData:512,SupportData:1024,DirectMeasurementData:2048,Everything:65535},n.DataFieldType={String:0,Boolean:1,Int64:2,Double:3,Guid:4},n.SamplingPolicy={NotSet:0,Measure:1,Diagnostics:2,CriticalBusinessImpact:191,CriticalCensus:192,CriticalExperimentation:193,CriticalUsage:194},n.PersistencePriority={NotSet:0,Normal:1,High:2},n.CostPriority={NotSet:0,Normal:1,High:2},n.DataCategories={NotSet:0,SoftwareSetup:1,ProductServiceUsage:2,ProductServicePerformance:4,DeviceConfiguration:8,InkingTypingSpeech:16},n.DiagnosticLevel={ReservedDoNotUse:0,Required:10,BasicEvent:10,Optional:100,FullEvent:100,RequiredServiceData:110,NecessaryServiceDataEvent:110,RequiredServiceDataForEssentialServices:120,AlwaysOnNecessaryServiceDataEvent:120},n.DnmInterval={Hourly:1,Daily:2},n.AllowedPartA={ReleaseAudienceGroup:1,WacRing:2,AppName:3,AppPlatform:4,AppVersion:5},n.CustomerContentType={None:0,MocaAddIn:1},n.LogLevel={Error:0,Warning:1,Info:2,Verbose:3},n.Category={Core:0,Sink:1,Transport:2},n.PrimaryIdentitySpace={UserObjectId:"UserObjectId",MSACID:"MSACID",OrgIdPuid:"OrgIdPuid",OrgIdPUID:"OrgIdPUID",OrgIdCID:"OrgIdCID",MsaPuid:"MsaPuid",MSAPUID:"MSAPUID",WopiAuth:"WopiAuth",ThirdParty:"ThirdParty",Other:"Other"},n.AudienceGroup={Automation:"Automation",Dogfood:"Dogfood",Microsoft:"Microsoft",Insiders:"Insiders",Production:"Production"}}(b||(b={}));var _=e(77224);function k(n,t,e,r,i,o,u,a,c,s,l){r.forEach((function(r){n.sendTelemetryEvent({eventName:t.name+".Qos.Error."+e,eventFlags:{diagnosticLevel:110},dataFields:(0,_.__spreadArray)((0,_.__spreadArray)([],S.iH.getFields({veto:r,pillar:i,isIntentional:o,isInternal:u,alertOnPillar:a,isSessionEndingError:c,inStaging:s}),!0),l||[],!0),telemetryProperties:{ariaTenantToken:t.token,nexusTenantToken:P.Vp}})}))}},19234:function(n,t){Object.defineProperty(t,"__esModule",{value:!0}),t.SignedInAccount=void 0;var e=function(n,t){this.sessionTrackingKey=n,this.lastActiveTime=t};t.SignedInAccount=e},26076:function(n,t,e){Object.defineProperty(t,"__esModule",{value:!0}),t.MultiAccountSessionTracker=void 0;var r=e(17652),i=e(75449),o=e(19992),u=e(79246),a=e(46956),c=e(16176),s=function(){function n(t,e){void 0===e&&(e=null),window.addEventListener("storage",(function(){n.prototype.enableAutomaticPopup&&n.prototype.showPrompt("Unspecified")})),n.prototype.appendLoginHint=!1,n.prototype.enableConsoleLog=!1,a.MultiAccountSessionTrackerState.prototype.enableConsoleLog=n.prototype.enableConsoleLog,n.prototype.enablePageRedirect=!1,n.prototype.enableAutomaticPopup=!0,n.prototype.appFriendlyName=u.Constants.removeWWW(window.location.hostname),n.prototype.updateConfiguration(t),null==t.mastPromptLocalizedStrings&&r.LoggingUtils.error("MAST component initialization failed because there is no valid localized strings provided.",n.prototype.enableConsoleLog),null!=e&&n.prototype.setCallbacks(e),o.TelemetryUtils.setUpTelemetryLogger(),o.TelemetryUtils.logTelemetryEventForLoad(n.prototype.appFriendlyName),r.LoggingUtils.log("Successfully initialized MAST component with provided configurations.",n.prototype.enableConsoleLog)}return n.prototype.updateConfiguration=function(t){if(null==t)return!1;null!=t.appendLoginHint&&(n.prototype.appendLoginHint=t.appendLoginHint),null!=t.enablePageRedirect&&(n.prototype.enablePageRedirect=t.enablePageRedirect),null!=t.enableAutomaticPopup&&(n.prototype.enableAutomaticPopup=t.enableAutomaticPopup),null!=t.enableConsoleLogging&&(n.prototype.enableConsoleLog=t.enableConsoleLogging,a.MultiAccountSessionTrackerState.prototype.enableConsoleLog=n.prototype.enableConsoleLog),null!=t.mastPromptLocalizedStrings&&(n.prototype.mastPromptLocalizedStrings=t.mastPromptLocalizedStrings),i.StringUtils.isEmpty(t.appFriendlyName)||(n.prototype.appFriendlyName=t.appFriendlyName),i.StringUtils.isEmpty(t.postAccountSwitchRedirectUri)||(n.prototype.postAccountSwitchRedirectUri=t.postAccountSwitchRedirectUri),i.StringUtils.isEmpty(t.postLogoutRedirectUri)||(n.prototype.postLogoutRedirectUri=t.postLogoutRedirectUri),r.LoggingUtils.log("Successfully updated MAST component with provided configurations.",n.prototype.enableConsoleLog)},n.prototype.setCallbacks=function(t){null!=t?n.prototype.customCallbacks=t:r.LoggingUtils.error("Failed to set custom callback functions because provided callback object is null.",n.prototype.enableConsoleLog)},n.prototype.getSwitchAccountPromptDescription=function(t){return i.StringUtils.isEmpty(t)?i.StringUtils.formatString(n.prototype.mastPromptLocalizedStrings.switchAccountDescriptionWithoutUpn,n.prototype.mastPromptLocalizedStrings.appFriendlyName):i.StringUtils.formatString(n.prototype.mastPromptLocalizedStrings.switchAccountDescriptionWithUpn,t,n.prototype.mastPromptLocalizedStrings.appFriendlyName)},n.prototype.getSignOutPromptDescription=function(t){return i.StringUtils.isEmpty(t)?i.StringUtils.formatString(n.prototype.mastPromptLocalizedStrings.signOutDescriptionWithoutUpn,n.prototype.mastPromptLocalizedStrings.appFriendlyName):i.StringUtils.formatString(n.prototype.mastPromptLocalizedStrings.signOutDescriptionWithUpn,t,n.prototype.mastPromptLocalizedStrings.appFriendlyName)},n.prototype.onRefreshButtonClick=function(t,e){void 0===e&&(e=n.prototype.customCallbacks),null!=e&&null!=e.afterSwitchAccountButtonClickCallbackFunction&&e.afterSwitchAccountButtonClickCallbackFunction();var r=window.sessionStorage.getItem(u.Constants.PersistentCacheKeys.ActiveAccountIdentifierKey)||"";o.TelemetryUtils.logTelemetryEventForPrompt(r,n.prototype.appFriendlyName,o.TelemetryUtils.SwitchAccount,!0),n.prototype.enablePageRedirect&&location.assign(t)},n.prototype.getSwitchAccountRedirectUri=function(t,e,r){void 0===r&&(r=n.prototype.customCallbacks);var o=i.StringUtils.isEmpty(n.prototype.postAccountSwitchRedirectUri)?window.location.href:n.prototype.postAccountSwitchRedirectUri;if(null!=r&&null!=r.modifySwitchAccountRedirectUriFunction&&(o=r.modifySwitchAccountRedirectUriFunction(t,e,o)),n.prototype.appendLoginHint&&!i.StringUtils.isEmpty(e.upn)&&-1===o.indexOf(u.Constants.Web.LoginHintQueryString)){var a=-1===o.indexOf("?")?"?":"&";o=o+"\n\t\t\t\t"+a+"\n\t\t\t\t"+u.Constants.Web.LoginHintQueryString+"\n\t\t\t\t"+e.upn}return o},n.prototype.onSignoutButtonClick=function(t,e){void 0===e&&(e=n.prototype.customCallbacks),null!=e&&null!=e.afterSignOutButtonClickCallbackFunction&&e.afterSignOutButtonClickCallbackFunction();var r=window.sessionStorage.getItem(u.Constants.PersistentCacheKeys.ActiveAccountIdentifierKey)||"";o.TelemetryUtils.logTelemetryEventForPrompt(r,n.prototype.appFriendlyName,o.TelemetryUtils.SignOut,!0),n.prototype.enablePageRedirect&&location.assign(t)},n.prototype.getSignoutRedirectUri=function(t,e){void 0===e&&(e=n.prototype.customCallbacks);var r=i.StringUtils.isEmpty(n.prototype.postLogoutRedirectUri)?window.location.href:n.prototype.postLogoutRedirectUri;return null!=e&&null!=e.modifySignoutRedirectUriFunction&&(r=e.modifySignoutRedirectUriFunction(t,r)),r},n.prototype.showPrompt=function(t){var e=window.sessionStorage.getItem(u.Constants.PersistentCacheKeys.ActiveAccountIdentifierKey)||"",r=a.MultiAccountSessionTrackerState.prototype.getMostRecentActiveAccount();switch(t){case"Unspecified":if(i.StringUtils.isEmpty(e))return;if(i.StringUtils.isEmpty(r))return void n.prototype.renderSignOutPrompt();r!==window.sessionStorage.getItem(u.Constants.PersistentCacheKeys.ActiveAccountIdentifierKey)&&n.prototype.renderSwitchAccountPrompt(r);break;case"SignOut":n.prototype.renderSignOutPrompt();break;case"SwitchAccount":n.prototype.renderSwitchAccountPrompt(r)}},n.prototype.renderSwitchAccountPrompt=function(t,e){void 0===e&&(e=n.prototype.customCallbacks),null!=e&&null!=e.beforeSwitchAccountPromptCallbackFunction&&e.beforeSwitchAccountPromptCallbackFunction();var c=JSON.parse(window.localStorage.getItem(t)||"[]"),s=window.sessionStorage.getItem(u.Constants.PersistentCacheKeys.ActiveAccountIdentifierKey)||"",l=JSON.parse(window.localStorage.getItem(s)||"[]"),f=n.prototype.getSwitchAccountRedirectUri(l,c,e),d={title:n.prototype.mastPromptLocalizedStrings.switchAccountTitle,description:n.prototype.getSwitchAccountPromptDescription(i.StringUtils.isEmpty(c.upn)?"":c.upn),subDescription:n.prototype.mastPromptLocalizedStrings.switchAccountSubDescription,buttonText:n.prototype.mastPromptLocalizedStrings.switchAccountButtonText,divName:u.Constants.BlockingPromptStrings.DivName,buttonClickFunction:function(){return n.prototype.onRefreshButtonClick(f,e)}};n.prototype.renderPrompt(d),a.MultiAccountSessionTrackerState.prototype.refreshPage(f),null!=e&&null!=e.afterSwitchAccountPromptCallbackFunction&&e.afterSwitchAccountPromptCallbackFunction(),o.TelemetryUtils.logTelemetryEventForPrompt(s,n.prototype.appFriendlyName,o.TelemetryUtils.SwitchAccount),r.LoggingUtils.log("Successfully shown switch account prompt.",n.prototype.enableConsoleLog)},n.prototype.renderSignOutPrompt=function(t){void 0===t&&(t=n.prototype.customCallbacks),null!=t&&null!=t.beforeSignOutPromptCallbackFunction&&t.beforeSignOutPromptCallbackFunction();var e=c.MultiAccountSessionTrackerLogout.prototype.getSignedOutAccountData(),s=c.MultiAccountSessionTrackerLogout.prototype.getMostRecentSignedOutAccount(),l=n.prototype.getSignoutRedirectUri(e,t),f={title:n.prototype.mastPromptLocalizedStrings.signOutTitle,description:n.prototype.getSignOutPromptDescription(i.StringUtils.isEmpty(e.upn)?"":e.upn),subDescription:n.prototype.mastPromptLocalizedStrings.signOutSubDescription,buttonText:n.prototype.mastPromptLocalizedStrings.signOutButtonText,divName:u.Constants.BlockingPromptStrings.DivName,buttonClickFunction:function(){return n.prototype.onSignoutButtonClick(l,t)}};n.prototype.renderPrompt(f),a.MultiAccountSessionTrackerState.prototype.signOutPage(l,e.sessionId),null!=t&&null!=t.afterSignOutPromptCallbackFunction&&t.afterSignOutPromptCallbackFunction(),o.TelemetryUtils.logTelemetryEventForPrompt(s,n.prototype.appFriendlyName,o.TelemetryUtils.SignOut),r.LoggingUtils.log("Successfully shown sign out prompt.",n.prototype.enableConsoleLog)},n.prototype.renderPrompt=function(t){if(null!=window.MastUI)window.MastUI.MultiAccountSessionTrackerRenderPrompt(t);else{if(null==window.LoadMastPromptJs)return void r.LoggingUtils.error("Can't find the declaration of the prompt. Not showing prompt.",n.prototype.enableConsoleLog);window.LoadMastPromptJs.Download((function(){return window.MastUI.MultiAccountSessionTrackerRenderPrompt(t)}))}},n}();t.MultiAccountSessionTracker=s,window.MastInteraction={UpdateConfiguration:s.prototype.updateConfiguration,SetCallbacks:s.prototype.setCallbacks,ClearAccountState:a.MultiAccountSessionTrackerState.prototype.clearAccountState,GetMostRecentActiveAccount:a.MultiAccountSessionTrackerState.prototype.getMostRecentActiveAccount,SetActiveAccount:a.MultiAccountSessionTrackerState.prototype.setActiveAccount,UpdateAccount:a.MultiAccountSessionTrackerState.prototype.updateAccount,RefreshPage:a.MultiAccountSessionTrackerState.prototype.refreshPage,SignOutPage:a.MultiAccountSessionTrackerState.prototype.signOutPage,ShowPrompt:s.prototype.showPrompt}},16176:function(n,t,e){Object.defineProperty(t,"__esModule",{value:!0}),t.MultiAccountSessionTrackerLogout=void 0;var r=e(79246),i=e(17652),o=e(75449),u=function(){function n(){}return n.prototype.signOutAccount=function(n,t,e){var u,a;void 0===t&&(t=!0),void 0===e&&(e=!1);var c=JSON.parse(window.localStorage.getItem(r.Constants.PersistentCacheKeys.SignedInAccountListKey)||"[]");if(o.StringUtils.isEmpty(n)){var s=window.sessionStorage.getItem(r.Constants.PersistentCacheKeys.ActiveAccountIdentifierKey)||"";if(!o.StringUtils.isEmpty(s)){u=JSON.parse(window.localStorage.getItem(s)||"[]");for(var l=c.length-1;l>=0;l--){if(s===(f=c[l].sessionTrackingKey)){a=l;break}}}}else for(l=c.length-1;l>=0;l--){var f=c[l].sessionTrackingKey,d=JSON.parse(window.localStorage.getItem(f)||"[]");if(d&&!o.StringUtils.isEmpty(d.sessionId)&&d.sessionId.toLowerCase()===n.toLowerCase()){u=d,a=l;break}}return u?(t?(window.localStorage.removeItem(f),c.splice(a,1),i.LoggingUtils.log("Cleared the account state in local storage.",e)):u&&(u.lastActiveTime=(new Date).getTime(),u.authenticatedState=3,c[a].lastActiveTime=0,window.localStorage.setItem(f,JSON.stringify(u)),i.LoggingUtils.log("Updated account's authenticated state to NotSignedIn in local storage.",e)),window.localStorage.setItem(r.Constants.PersistentCacheKeys.SignedInAccountListKey,JSON.stringify(c)),window.sessionStorage.removeItem(r.Constants.PersistentCacheKeys.ActiveAccountIdentifierKey),!0):(i.LoggingUtils.error("Cannot sign out accounts when session Id is empty and no active account signed in.",e),!1)},n.prototype.getSignedOutAccountData=function(){var n=window.sessionStorage.getItem(r.Constants.PersistentCacheKeys.ActiveAccountIdentifierKey)||"";return o.StringUtils.isEmpty(n)&&(n=this.getMostRecentSignedOutAccount()),o.StringUtils.isEmpty(n)?"[]":JSON.parse(window.localStorage.getItem(n)||"[]")},n.prototype.getMostRecentSignedOutAccount=function(){var n=JSON.parse(window.localStorage.getItem(r.Constants.PersistentCacheKeys.SignedInAccountListKey)||"[]"),t="",e=0;return n.forEach((function(n){if(0===n.lastActiveTime){var r=JSON.parse(window.localStorage.getItem(n.sessionTrackingKey)||"[]");3===r.authenticatedState&&r.lastActiveTime&&r.lastActiveTime>e&&(e=r.lastActiveTime,t=n.sessionTrackingKey)}})),t},n}();t.MultiAccountSessionTrackerLogout=u},46956:function(n,t,e){Object.defineProperty(t,"__esModule",{value:!0}),t.MultiAccountSessionTrackerState=void 0;var r=e(19234),i=e(17652),o=e(75449),u=e(79246),a=e(16176),c=function(){function n(){}return n.prototype.clearAccountState=function(n){for(var t=JSON.parse(window.localStorage.getItem(u.Constants.PersistentCacheKeys.SignedInAccountListKey)||"[]"),e=t.length-1;e>=0;e--)t[e].lastActiveTime<n&&(window.localStorage.removeItem(t[e].sessionTrackingKey),t.splice(e,1));window.localStorage.setItem(u.Constants.PersistentCacheKeys.SignedInAccountListKey,JSON.stringify(t))},n.prototype.getMostRecentActiveAccount=function(){var n=JSON.parse(window.localStorage.getItem(u.Constants.PersistentCacheKeys.SignedInAccountListKey)||"[]"),t="",e=0;return n.forEach((function(n){n.lastActiveTime&&n.lastActiveTime>e&&(3!==JSON.parse(window.localStorage.getItem(n.sessionTrackingKey)||"[]").authenticatedState&&(e=n.lastActiveTime,t=n.sessionTrackingKey))})),t},n.prototype.setActiveAccount=function(t){var e=n.prototype.generateKey(t),r=JSON.parse(window.localStorage.getItem(e)||"[]");return o.StringUtils.isEmpty(r)?(i.LoggingUtils.error("Cannot update the account to active because the account does not exist in the storage.",n.prototype.enableConsoleLog),!1):(window.sessionStorage.setItem(u.Constants.PersistentCacheKeys.ActiveAccountIdentifierKey,e),n.prototype.updateSignedInAccountListAndAccountData(e,(new Date).getTime(),r),!0)},n.prototype.updateAccount=function(t,e,r){if(o.StringUtils.isEmpty(t))return i.LoggingUtils.error("Cannot update account information with null or empty account identifier.",n.prototype.enableConsoleLog),!1;var a=n.prototype.generateKey(t);return r&&window.sessionStorage.setItem(u.Constants.PersistentCacheKeys.ActiveAccountIdentifierKey,a),n.prototype.updateSignedInAccountListAndAccountData(a,r?(new Date).getTime():0,e),!0},n.prototype.signOutPage=function(n,t,e){void 0===e&&(e=!0),a.MultiAccountSessionTrackerLogout.prototype.signOutAccount(t,e),window.postMessage({request:u.Constants.PostMessageType.SignOutBackToLanding,url:n},window.location.href)},n.prototype.refreshPage=function(t){var e=n.prototype.getMostRecentActiveAccount();window.sessionStorage.setItem(u.Constants.PersistentCacheKeys.ActiveAccountIdentifierKey,e),window.postMessage({request:u.Constants.PostMessageType.SwitchAccountRedirect,url:t},window.location.href)},n.prototype.updateSignedInAccountListAndAccountData=function(n,t,e){for(var i=JSON.parse(window.localStorage.getItem(u.Constants.PersistentCacheKeys.SignedInAccountListKey)||"[]"),o=i.length-1;o>=0;o--)if(i[o].sessionTrackingKey.toLowerCase()===n.toLowerCase()){i.splice(o,1);break}0===t?i.unshift(new r.SignedInAccount(n,t)):i.push(new r.SignedInAccount(n,t)),e.lastActiveTime=t,window.localStorage.setItem(n,JSON.stringify(e)),window.localStorage.setItem(u.Constants.PersistentCacheKeys.SignedInAccountListKey,JSON.stringify(i))},n.prototype.generateKey=function(n){return""+u.Constants.PersistentCacheKeys.SessionTrackingPrefix+n},n}();t.MultiAccountSessionTrackerState=c},81866:function(n,t){Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserType=t.BrowserUtils=void 0;var e,r=function(){function n(){}return n.GetBrowser=function(){var n=[{keyword:"PhantomJS",browserType:e.PhantomJS},{keyword:"Edge",browserType:e.Edge},{keyword:"MSIE",browserType:e.IE},{keyword:"Teams",browserType:e.Teams},{keyword:"Chrome",browserType:e.Chrome},{keyword:"CriOS",browserType:e.Chrome},{keyword:"Firefox",browserType:e.Firefox},{keyword:"Safari",browserType:e.Safari}],t=window.navigator.userAgent.toLowerCase(),r={keyword:"Other",browserType:e.Other};return n.some((function(n){return-1!==t.indexOf(n.keyword.toLowerCase())&&(r=n,!0)})),r.keyword.toString()},n}();t.BrowserUtils=r,function(n){n[n.IE=0]="IE",n[n.Edge=1]="Edge",n[n.Teams=2]="Teams",n[n.Chrome=3]="Chrome",n[n.Firefox=4]="Firefox",n[n.Safari=5]="Safari",n[n.PhantomJS=6]="PhantomJS",n[n.Other=7]="Other"}(e=t.BrowserType||(t.BrowserType={}))},79246:function(n,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Constants=void 0,function(n){var t=function(){function n(){}return n.DivName="mast",n}();n.BlockingPromptStrings=t;var e=function(){function n(){}return n.SessionTrackingPrefix="sessionTracking_",n.ActiveAccountIdentifierKey=n.SessionTrackingPrefix+"ActiveAccountIdentifier",n.SignedInAccountListKey=n.SessionTrackingPrefix+"SignedInAccountList",n}();n.PersistentCacheKeys=e;var r=function(){function n(){}return n.SwitchAccountRedirect="SwitchAccountRedirect",n.SignOutBackToLanding="SignOutBackToLanding",n}();n.PostMessageType=r;var i=function(){function n(){}return n.LoginHintQueryString="login_hint=",n.WwwDot="www.",n}();n.Web=i,n.removeWWW=function(n){var t=n.indexOf(i.WwwDot),e=i.WwwDot.length;return t<0&&n.length>e?n:n.substring(e)}}(t.Constants||(t.Constants={}))},17652:function(n,t){Object.defineProperty(t,"__esModule",{value:!0}),t.LoggingUtils=void 0;var e=function(){function n(){}return n.shouldProceed=function(n){return!(null!=n&&void 0!==n&&!n)},n.log=function(t,e){n.shouldProceed(e)},n.warn=function(t,e){n.shouldProceed(e)},n.error=function(t,e){n.shouldProceed(e)},n}();t.LoggingUtils=e},75449:function(n,t){Object.defineProperty(t,"__esModule",{value:!0}),t.StringUtils=void 0;var e=function(){function n(){}return n.isEmpty=function(n){return!n||void 0===n||0===n.length},n.formatString=function(n){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return n?n.replace(/\{(\d+)\}/g,(function(n,e){return void 0===t[e]?n:t[e]})):""},n}();t.StringUtils=e},19992:function(n,t,e){Object.defineProperty(t,"__esModule",{value:!0}),t.TelemetryUtils=void 0;var r=e(81866),i=e(8754),o=e(59542),u=function(){function n(){}return n.setUpTelemetryLogger=function(){var t=n.DefaultLoggingNamespace,e=i.SuppressNexus;this.telemetryLogger.setTenantToken(t,"5c65bbc4edbf480d9637ace04d62bd98-12844893-8ab9-4dde-b850-5612cb12e0f2-7822",e);var r=new o.OneDSSink([],{endpointUrl:o.OneDSEndpoint.PUBLIC});r.setFullEventsEnabled(!0),this.telemetryLogger.addSink(r)},n.logTelemetryEventForLoad=function(t){this.telemetryLogger.sendTelemetryEvent({eventName:n.DefaultLoggingNamespace+n.LoadEventName,eventFlags:{dataCategories:2,diagnosticLevel:10},dataFields:[i.makeStringDataField(n.AppName,t),i.makeStringDataField(n.BrowserName,r.BrowserUtils.GetBrowser())]})},n.logTelemetryEventForPrompt=function(t,e,o,u){void 0===u&&(u=!1),this.telemetryLogger.sendTelemetryEvent({eventName:n.DefaultLoggingNamespace+n.LoadEventName,eventFlags:{dataCategories:2,diagnosticLevel:10},dataFields:[i.makeStringDataField(n.Puid,t),i.makeStringDataField(n.AppName,e),i.makeStringDataField(n.BrowserName,r.BrowserUtils.GetBrowser()),i.makeStringDataField(n.PromptType,o),i.makeBooleanDataField(n.ButtonClicked,u)]})},n.DefaultLoggingNamespace="Office.Identity.WebAuthMast.",n.LoadEventName="Load",n.PromptEventName="Prompt",n.AppName="AppName",n.BrowserName="BrowserName",n.ButtonClicked="ButtonClicked",n.PromptType="PromptType",n.Puid="Puid",n.SignOut="Sign Out",n.SwitchAccount="Switch Account",n.telemetryLogger=new i.TelemetryLogger,n}();t.TelemetryUtils=u}}]),HighResolutionTimingSupported&&(shellPerformance.mark("shell_mast_end"),shellPerformance.measure("shell_mast","shell_mast_start","shell_mast_end"));