res-1.cdn.office.net Open in urlscan Pro
2a02:26f0:3500:581::1e0f  Public Scan

URL: https://res-1.cdn.office.net/files/odsp-web-prod_2022-09-09.002/wachostwebpack/wachostwebpack.js
Submission: On September 19 via api from DE — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

/*! For license information please see wachostwebpack.js.LICENSE.txt */
define("odsp-next/roots/WacHost",["odsp.aria.lib","odsp.react.lib","plt.resx-plt"],function(){return(function(e){function t(t){for(var r,i,s=t[0],o=t[1],u=t[2],l=0,c=[];l<s.length;l++){i=s[l];Object.prototype.hasOwnProperty.call(a,i)&&a[i]&&c.push(a[i][0]);a[i]=0}for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r]);m&&m(t);for(;c.length;)c.shift()();f.push.apply(f,u||[]);return n()}function n(){for(var e,t=0;t<f.length;t++){for(var n=f[t],r=!0,i=1;i<n.length;i++){var s=n[i];0!==a[s]&&(r=!1)}if(r){f.splice(t--,1);e=l(l.s=n[0])}}return e}var r=window,i=r.require;function s(e){var t=e&&e.indexOf("/",e.indexOf("://")+3)+1;return t?e.slice(0,t):e}var o=document.currentScript,u=(o&&o.src||i&&i.toUrl(""),r.__backupBaseUrl,i&&i.s.contexts._,{}),a={wachostwebpack:0},f=[];function l(t){if(u[t])return u[t].exports;var n=u[t]={i:t,l:!1,exports:{}};e[t].call(n.exports,n,n.exports,l);n.l=!0;return n.exports}var c=[[],["plt.resx-plt"]];l.ee=function(e,t,n){return Promise.all((Array.isArray(e)?e:c[e]).map(function(e){return l.e(e)})).then(n?l.t.bind(0,t,n):l.bind(0,t))};l.e=function(){return Promise.resolve()};l.m=e;l.c=u;l.d=function(e,t,n){l.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})};l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});Object.defineProperty(e,"__esModule",{value:!0})};l.t=function(e,t){1&t&&(e=l(e));if(8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);l.r(n);Object.defineProperty(n,"default",{enumerable:!0,value:e});if(2&t&&"string"!=typeof e)for(var r in e)l.d(n,r,function(t){return e[t]}.bind(null,r));return n};l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};l.d(t,"a",t);return t};l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};l.p="/";l.oe=function(e){console.error(e);throw e};var h=l.p;Object.defineProperty(l,"p",{get:function(){if(window.require&&window.require.toUrl){var e=window.require.toUrl("");h=("/"!==e.slice(-1)?e+"/":e)+"wachostwebpack/"}return h}});var p=window.odspNextWebpackJsonp=window.odspNextWebpackJsonp||[],d=p.push.bind(p);p.push=t;p=p.slice();for(var v=0;v<p.length;v++)t(p[v]);var m=d;f.push([223,"plt.resx-plt","odsp.aria.lib","odsp.react.lib"]);return n()})(Array(0).concat([function(e,t,n){"use strict";n.d(t,"n",function(){return i});n.d(t,"e",function(){return s});n.d(t,"i",function(){return o});n.d(t,"t",function(){return u});n.d(t,"r",function(){return a});n.d(t,"s",function(){return f});var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var s=function(){return(s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)};function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function u(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{a(r.next(e))}catch(e){s(e)}}function u(e){try{a(r.throw(e))}catch(e){s(e)}}function a(e){e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,u);var t}a((r=r.apply(e,t||[])).next())})}function a(e,t){var n,r,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function u(s){return function(u){return(function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;(r=0,i)&&(s=[2&s[0],i.value]);switch(s[0]){case 0:case 1:i=s;break;case 4:o.label++;return{value:s[1],done:!1};case 5:o.label++;r=s[1];s=[0];continue;case 7:s=o.ops.pop();o.trys.pop();continue;default:if(!(i=o.trys,i=i.length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1];i=s;break}if(i&&o.label<i[2]){o.label=i[2];o.ops.push(s);break}i[2]&&o.ops.pop();o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e];r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}})([s,u])}}}Object.create;function f(e,t,n){if(n||2===arguments.length)for(var r,i=0,s=t.length;i<s;i++)if(r||!(i in t)){r||(r=Array.prototype.slice.call(t,0,i));r[i]=t[i]}return e.concat(r||Array.prototype.slice.call(t))}Object.create},function(e,t,n){"use strict";n.d(t,"n",function(){return i});n.d(t,"e",function(){return s});n.d(t,"r",function(){return o});n.d(t,"t",function(){return u});n.d(t,"i",function(){return a});var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t){r(e,t);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var s=function(){return(s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)};function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function u(e,t,n,r){var i,s=arguments.length,o=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(o=(s<3?i(o):s>3?i(t,n,o):i(t,n))||o);return s>3&&o&&Object.defineProperty(t,n,o),o}function a(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var s=arguments[t],o=0,u=s.length;o<u;o++,i++)r[i]=s[o];return r}},function(e,t,n){"use strict";n.d(t,"t",function(){return u});n.d(t,"e",function(){return a});var r={};n.r(r);n.d(r,"requiredDiagnostic",function(){return i});n.d(r,"optionalDiagnostic",function(){return s});n.d(r,"requiredService",function(){return o});var i="requiredDiagnostic",s="optionalDiagnostic",o="requiredService",u=r,a={String:1,Number:2,Boolean:3,Object:4,Array:5,Enum:6}},function(e,t,n){"use strict";n.d(t,"e",function(){return Z});n.d(t,"t",function(){return U});n.d(t,"n",function(){return G});n.d(t,"i",function(){return Y});n.d(t,"d",function(){return fe});n.d(t,"p",function(){return ce});n.d(t,"w",function(){return he});n.d(t,"v",function(){return ve});n.d(t,"b",function(){return $e});n.d(t,"h",function(){return ze});n.d(t,"r",function(){return ee});n.d(t,"a",function(){return te});n.d(t,"u",function(){return ne});n.d(t,"o",function(){return re});n.d(t,"s",function(){return ie});n.d(t,"y",function(){return se});n.d(t,"m",function(){return oe});n.d(t,"f",function(){return ue});n.d(t,"g",function(){return tt});n.d(t,"N",function(){return Ze});n.d(t,"T",function(){return et});n.d(t,"l",function(){return st.e});n.d(t,"c",function(){return ot.e});n.d(t,"E",function(){return u});n.d(t,"S",function(){return ut.t});n.d(t,"x",function(){return r.e});var r=n(226);var i=n(50),s=n(32),o=n(60);function u(e){var t=s.e.getInstance(),n=t.getClassName(),r=[];for(var u in e)e.hasOwnProperty(u)&&r.push(u,"{",Object(o.t)(Object(i.e)(),e[u]),"}");var a=r.join("");t.insertRule("@keyframes "+n+"{"+a+"}",!0);t.cacheClassName(n,a,[],["keyframes",a]);return n}var a="cubic-bezier(.1,.9,.2,1)",f="cubic-bezier(.1,.25,.75,.9)",l=u({from:{opacity:0},to:{opacity:1}}),c=u({from:{opacity:1},to:{opacity:0,visibility:"hidden"}}),h=W(-10),p=W(-20),d=W(-40),v=W(-400),m=W(10),g=W(20),y=W(40),b=W(400),w=X(10),E=X(20),S=X(-10),x=X(-20),T=V(10),N=V(20),C=V(40),k=V(400),L=V(-10),A=V(-20),O=V(-40),M=V(-400),_=$(-10),D=$(-20),P=$(10),H=$(20),B=u({from:{transform:"scale3d(.98,.98,1)"},to:{transform:"scale3d(1,1,1)"}}),j=u({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(.98,.98,1)"}}),F=u({from:{transform:"scale3d(1.03,1.03,1)"},to:{transform:"scale3d(1,1,1)"}}),I=u({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(1.03,1.03,1)"}}),q=u({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(90deg)"}}),R=u({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(-90deg)"}}),U={easeFunction1:a,easeFunction2:f,durationValue1:"0.167s",durationValue2:"0.267s",durationValue3:"0.367s",durationValue4:"0.467s"};function z(e,t,n){return{animationName:e,animationDuration:t,animationTimingFunction:n,animationFillMode:"both"}}function W(e){return u({from:{transform:"translate3d("+e+"px,0,0)",pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function X(e){return u({from:{transform:"translate3d(0,"+e+"px,0)",pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function V(e){return u({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d("+e+"px,0,0)"}})}function $(e){return u({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(0,"+e+"px,0)"}})}var J,K,Q,G,Y,Z=(function(e){var t={},n=function(n){if(e.hasOwnProperty(n)){var i;Object.defineProperty(t,n,{get:function(){void 0===i&&(i=Object(r.e)(e[n]).toString());return i},enumerable:!0,configurable:!0})}};for(var i in e)n(i);return t})({slideRightIn10:z(l+","+h,"0.367s",a),slideRightIn20:z(l+","+p,"0.367s",a),slideRightIn40:z(l+","+d,"0.367s",a),slideRightIn400:z(l+","+v,"0.367s",a),slideLeftIn10:z(l+","+m,"0.367s",a),slideLeftIn20:z(l+","+g,"0.367s",a),slideLeftIn40:z(l+","+y,"0.367s",a),slideLeftIn400:z(l+","+b,"0.367s",a),slideUpIn10:z(l+","+w,"0.367s",a),slideUpIn20:z(l+","+E,"0.367s",a),slideDownIn10:z(l+","+S,"0.367s",a),slideDownIn20:z(l+","+x,"0.367s",a),slideRightOut10:z(c+","+T,"0.367s",a),slideRightOut20:z(c+","+N,"0.367s",a),slideRightOut40:z(c+","+C,"0.367s",a),slideRightOut400:z(c+","+k,"0.367s",a),slideLeftOut10:z(c+","+L,"0.367s",a),slideLeftOut20:z(c+","+A,"0.367s",a),slideLeftOut40:z(c+","+O,"0.367s",a),slideLeftOut400:z(c+","+M,"0.367s",a),slideUpOut10:z(c+","+_,"0.367s",a),slideUpOut20:z(c+","+D,"0.367s",a),slideDownOut10:z(c+","+P,"0.367s",a),slideDownOut20:z(c+","+H,"0.367s",a),scaleUpIn100:z(l+","+B,"0.367s",a),scaleDownIn100:z(l+","+F,"0.367s",a),scaleUpOut103:z(c+","+I,"0.167s",f),scaleDownOut98:z(c+","+j,"0.167s",f),fadeIn100:z(l,"0.167s",f),fadeIn200:z(l,"0.267s",f),fadeIn400:z(l,"0.367s",f),fadeIn500:z(l,"0.467s",f),fadeOut100:z(c,"0.167s",f),fadeOut200:z(c,"0.267s",f),fadeOut400:z(c,"0.367s",f),fadeOut500:z(c,"0.467s",f),rotate90deg:z(q,"0.1s",f),rotateN90deg:z(R,"0.1s",f)});(function(e){e.Arabic="Segoe UI Web (Arabic)";e.Cyrillic="Segoe UI Web (Cyrillic)";e.EastEuropean="Segoe UI Web (East European)";e.Greek="Segoe UI Web (Greek)";e.Hebrew="Segoe UI Web (Hebrew)";e.Thai="Leelawadee UI Web";e.Vietnamese="Segoe UI Web (Vietnamese)";e.WestEuropean="Segoe UI Web (West European)";e.Selawik="Selawik Web";e.Armenian="Segoe UI Web (Armenian)";e.Georgian="Segoe UI Web (Georgian)"})(J||(J={}));(function(e){e.Arabic="'"+J.Arabic+"'";e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun";e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu";e.Cyrillic="'"+J.Cyrillic+"'";e.EastEuropean="'"+J.EastEuropean+"'";e.Greek="'"+J.Greek+"'";e.Hebrew="'"+J.Hebrew+"'";e.Hindi="'Nirmala UI'";e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka";e.Korean="'Malgun Gothic', Gulim";e.Selawik="'"+J.Selawik+"'";e.Thai="'Leelawadee UI Web', 'Kmer UI'";e.Vietnamese="'"+J.Vietnamese+"'";e.WestEuropean="'"+J.WestEuropean+"'";e.Armenian="'"+J.Armenian+"'";e.Georgian="'"+J.Georgian+"'"})(K||(K={}));(function(e){e.size10="10px";e.size12="12px";e.size14="14px";e.size16="16px";e.size18="18px";e.size20="20px";e.size24="24px";e.size28="28px";e.size32="32px";e.size42="42px";e.size68="68px";e.mini="10px";e.xSmall="10px";e.small="12px";e.smallPlus="12px";e.medium="14px";e.mediumPlus="16px";e.icon="16px";e.large="18px";e.xLarge="20px";e.xLargePlus="24px";e.xxLarge="28px";e.xxLargePlus="32px";e.superLarge="42px";e.mega="68px"})(Q||(Q={}));(function(e){e.light=100;e.semilight=300;e.regular=400;e.semibold=600;e.bold=700})(G||(G={}));(function(e){e.xSmall="10px";e.small="12px";e.medium="16px";e.large="20px"})(Y||(Y={}));var ee="@media screen and (-ms-high-contrast: active), screen and (forced-colors: active)",te=320,ne=480,re=ne-1,ie=639;function se(e,t){return"@media only screen"+("number"==typeof e?" and (min-width: "+e+"px)":"")+("number"==typeof t?" and (max-width: "+t+"px)":"")}function oe(){return{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}}var ue,ae=n(83);(function(e){e.Nav=1;e.ScrollablePane=1;e.FocusStyle=1;e.Coachmark=1e3;e.Layer=1e6;e.KeytipLayer=1000001})(ue||(ue={}));function fe(e,t,n,r,i,s,o){return le(e,"number"!=typeof t&&t?t:{inset:t,position:n,highContrastStyle:r,borderColor:i,outlineColor:s,isFocusedOnly:o})}function le(e,t){var n,r;void 0===t&&(t={});var i=t.inset,s=void 0===i?0:i,o=t.width,u=void 0===o?1:o,a=t.position,f=void 0===a?"relative":a,l=t.highContrastStyle,c=t.borderColor,h=void 0===c?e.palette.white:c,p=t.outlineColor,d=void 0===p?e.palette.neutralSecondary:p,v=t.isFocusedOnly,m=void 0===v||v;return{outline:"transparent",position:f,selectors:(n={"::-moz-focus-inner":{border:"0"}},n["."+ae.e+" &"+(m?":focus":"")+":after"]={content:'""',position:"absolute",left:s+1,top:s+1,bottom:s+1,right:s+1,border:u+"px solid "+h,outline:u+"px solid "+d,zIndex:ue.FocusStyle,selectors:(r={},r[ee]=l,r)},n)}}function ce(){return{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}}}var he={position:"absolute",width:1,height:1,margin:-1,padding:0,border:0,overflow:"hidden"},pe=n(33),de=Object(pe.t)(function(e,t){var n=s.e.getInstance();return t?Object.keys(e).reduce(function(t,r){t[r]=n.getClassName(e[r]);return t},{}):e});function ve(e,t,n){return de(e,void 0!==n?n:t.disableGlobalClassNames)}var me,ge=n(1),ye=n(12),be=n(41),we=n(48),Ee={themeDarker:"#004578",themeDark:"#005a9e",themeDarkAlt:"#106ebe",themePrimary:"#0078d4",themeSecondary:"#2b88d8",themeTertiary:"#71afe5",themeLight:"#c7e0f4",themeLighter:"#deecf9",themeLighterAlt:"#eff6fc",black:"#000000",blackTranslucent40:"rgba(0,0,0,.4)",neutralDark:"#201f1e",neutralPrimary:"#323130",neutralPrimaryAlt:"#3b3a39",neutralSecondary:"#605e5c",neutralSecondaryAlt:"#8a8886",neutralTertiary:"#a19f9d",neutralTertiaryAlt:"#c8c6c4",neutralQuaternary:"#d2d0ce",neutralQuaternaryAlt:"#e1dfdd",neutralLight:"#edebe9",neutralLighter:"#f3f2f1",neutralLighterAlt:"#faf9f8",accent:"#0078d4",white:"#ffffff",whiteTranslucent40:"rgba(255,255,255,.4)",yellowDark:"#d29200",yellow:"#ffb900",yellowLight:"#fff100",orange:"#d83b01",orangeLight:"#ea4300",orangeLighter:"#ff8c00",redDark:"#a4262c",red:"#e81123",magentaDark:"#5c005c",magenta:"#b4009e",magentaLight:"#e3008c",purpleDark:"#32145a",purple:"#5c2d91",purpleLight:"#b4a0ff",blueDark:"#002050",blueMid:"#00188f",blue:"#0078d4",blueLight:"#00bcf2",tealDark:"#004b50",teal:"#008272",tealLight:"#00b294",greenDark:"#004b1c",green:"#107c10",greenLight:"#bad80a"};(function(e){e.depth0="0 0 0 0 transparent";e.depth4="0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108)";e.depth8="0 3.2px 7.2px 0 rgba(0, 0, 0, 0.132), 0 0.6px 1.8px 0 rgba(0, 0, 0, 0.108)";e.depth16="0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108)";e.depth64="0 25.6px 57.6px 0 rgba(0, 0, 0, 0.22), 0 4.8px 14.4px 0 rgba(0, 0, 0, 0.18)"})(me||(me={}));var Se={elevation4:me.depth4,elevation8:me.depth8,elevation16:me.depth16,elevation64:me.depth64,roundedCorner2:"2px",roundedCorner4:"4px",roundedCorner6:"6px"};function xe(e){s.e.getInstance().insertRule("@font-face{"+Object(o.t)(Object(i.e)(),e)+"}",!0)}var Te="'Segoe UI', '"+J.WestEuropean+"'",Ne={ar:K.Arabic,bg:K.Cyrillic,cs:K.EastEuropean,el:K.Greek,et:K.EastEuropean,he:K.Hebrew,hi:K.Hindi,hr:K.EastEuropean,hu:K.EastEuropean,ja:K.Japanese,kk:K.EastEuropean,ko:K.Korean,lt:K.EastEuropean,lv:K.EastEuropean,pl:K.EastEuropean,ru:K.Cyrillic,sk:K.EastEuropean,"sr-latn":K.EastEuropean,th:K.Thai,tr:K.EastEuropean,uk:K.Cyrillic,vi:K.Vietnamese,"zh-hans":K.ChineseSimplified,"zh-hant":K.ChineseTraditional,hy:K.Armenian,ka:K.Georgian};function Ce(e,t,n){return{fontFamily:n,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:e,fontWeight:t}}var ke=n(24);var Le,Ae=n(84);var Oe,Me,_e,De,Pe,He=(Oe=(function(e){void 0===e&&(e="localStorage");if(void 0===Le){var t=Object(ke.e)(),n="localStorage"===e?(function(e){var t=null;try{var n=Object(ye.e)();t=n?n.localStorage.getItem(e):null}catch(e){}return t})("language"):"sessionStorage"===e?Ae.e("language"):void 0;n&&(Le=n);void 0===Le&&t&&(Le=t.documentElement.getAttribute("lang"));void 0===Le&&(Le="en")}return Le})("sessionStorage"),Me=(function(e){for(var t in Ne)if(Ne.hasOwnProperty(t)&&e&&0===t.indexOf(e))return Ne[t];return Te})(Oe)+", 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif",{tiny:Ce(Q.mini,G.regular,Me),xSmall:Ce(Q.xSmall,G.regular,Me),small:Ce(Q.small,G.regular,Me),smallPlus:Ce(Q.smallPlus,G.regular,Me),medium:Ce(Q.medium,G.regular,Me),mediumPlus:Ce(Q.mediumPlus,G.regular,Me),large:Ce(Q.large,G.regular,Me),xLarge:Ce(Q.xLarge,G.semibold,Me),xLargePlus:Ce(Q.xLargePlus,G.semibold,Me),xxLarge:Ce(Q.xxLarge,G.semibold,Me),xxLargePlus:Ce(Q.xxLargePlus,G.semibold,Me),superLarge:Ce(Q.superLarge,G.semibold,Me),mega:Ce(Q.mega,G.semibold,Me)});function Be(e,t,n,r){xe({fontFamily:e="'"+e+"'",src:(void 0!==r?"local('"+r+"'),":"")+"url('"+t+".woff2') format('woff2'),url('"+t+".woff') format('woff')",fontWeight:n,fontStyle:"normal",fontDisplay:"swap"})}function je(e,t,n,r,i){void 0===r&&(r="segoeui");var s=e+"/"+n+"/"+r;Be(t,s+"-light",G.light,i&&i+" Light");Be(t,s+"-semilight",G.semilight,i&&i+" SemiLight");Be(t,s+"-regular",G.regular,i);Be(t,s+"-semibold",G.semibold,i&&i+" SemiBold");Be(t,s+"-bold",G.bold,i&&i+" Bold")}(function(e){if(e){var t=e+"/fonts";je(t,J.Thai,"leelawadeeui-thai","leelawadeeui");je(t,J.Arabic,"segoeui-arabic");je(t,J.Cyrillic,"segoeui-cyrillic");je(t,J.EastEuropean,"segoeui-easteuropean");je(t,J.Greek,"segoeui-greek");je(t,J.Hebrew,"segoeui-hebrew");je(t,J.Vietnamese,"segoeui-vietnamese");je(t,J.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI");je(t,K.Selawik,"selawik","selawik");je(t,J.Armenian,"segoeui-armenian");je(t,J.Georgian,"segoeui-georgian");Be("Leelawadee UI Web",t+"/leelawadeeui-thai/leelawadeeui-semilight",G.light);Be("Leelawadee UI Web",t+"/leelawadeeui-thai/leelawadeeui-bold",G.semibold)}})(null!=(Pe=null===(De=null===(_e=Object(ye.e)())||void 0===_e?void 0:_e.FabricConfig)||void 0===De?void 0:De.fontBaseUrl)?Pe:"https://static2.sharepointonline.com/files/fabric/assets");function Fe(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,i=t;r<i.length;r++){var s=i[r];Ie(e||{},s)}return e}function Ie(e,t,n){void 0===n&&(n=[]);n.push(t);for(var r in t)if(t.hasOwnProperty(r)&&"__proto__"!==r&&"constructor"!==r&&"prototype"!==r){var i=t[r];if("object"!=typeof i||null===i||Array.isArray(i))e[r]=i;else{var s=n.indexOf(i)>-1;e[r]=s?i:Ie(e[r]||{},i,n)}}n.pop();return e}function qe(e,t,n,r,i){void 0===i&&(i=!1);return(function(e,t){var n="";!0===t&&(n=" /* @deprecated */");e.listTextColor=e.listText+n;e.menuItemBackgroundChecked+=n;e.warningHighlight+=n;e.warningText=e.messageText+n;e.successText+=n;return e})(Re(e,t,Object(ge.e)({primaryButtonBorder:"transparent",errorText:r?"#F1707B":"#a4262c",messageText:r?"#F3F2F1":"#323130",messageLink:r?"#6CB8F6":"#005A9E",messageLinkHovered:r?"#82C7FF":"#004578",infoIcon:r?"#C8C6C4":"#605e5c",errorIcon:r?"#F1707B":"#A80000",blockingIcon:r?"#442726":"#FDE7E9",warningIcon:r?"#C8C6C4":"#797775",severeWarningIcon:r?"#FCE100":"#D83B01",successIcon:r?"#92C353":"#107C10",infoBackground:r?"#323130":"#f3f2f1",errorBackground:r?"#442726":"#FDE7E9",blockingBackground:r?"#442726":"#FDE7E9",warningBackground:r?"#433519":"#FFF4CE",severeWarningBackground:r?"#4F2A0F":"#FED9CC",successBackground:r?"#393D1B":"#DFF6DD",warningHighlight:r?"#fff100":"#ffb900",successText:r?"#92c353":"#107C10"},n),r),i)}function Re(e,t,n,r,i){void 0===i&&(i=!1);var s,o,u,a={},f=e||{},l=f.white,c=f.black,h=f.themePrimary,p=f.themeDark,d=f.themeDarker,v=f.themeDarkAlt,m=f.themeLighter,g=f.neutralLight,y=f.neutralLighter,b=f.neutralDark,w=f.neutralQuaternary,E=f.neutralQuaternaryAlt,S=f.neutralPrimary,x=f.neutralSecondary,T=f.neutralSecondaryAlt,N=f.neutralTertiary,C=f.neutralTertiaryAlt,k=f.neutralLighterAlt,L=f.accent;if(l){a.bodyBackground=l;a.bodyFrameBackground=l;a.accentButtonText=l;a.buttonBackground=l;a.primaryButtonText=l;a.primaryButtonTextHovered=l;a.primaryButtonTextPressed=l;a.inputBackground=l;a.inputForegroundChecked=l;a.listBackground=l;a.menuBackground=l;a.cardStandoutBackground=l}if(c){a.bodyTextChecked=c;a.buttonTextCheckedHovered=c}if(h){a.link=h;a.primaryButtonBackground=h;a.inputBackgroundChecked=h;a.inputIcon=h;a.inputFocusBorderAlt=h;a.menuIcon=h;a.menuHeader=h;a.accentButtonBackground=h}if(p){a.primaryButtonBackgroundPressed=p;a.inputBackgroundCheckedHovered=p;a.inputIconHovered=p}d&&(a.linkHovered=d);v&&(a.primaryButtonBackgroundHovered=v);m&&(a.inputPlaceholderBackgroundChecked=m);if(g){a.bodyBackgroundChecked=g;a.bodyFrameDivider=g;a.bodyDivider=g;a.variantBorder=g;a.buttonBackgroundCheckedHovered=g;a.buttonBackgroundPressed=g;a.listItemBackgroundChecked=g;a.listHeaderBackgroundPressed=g;a.menuItemBackgroundPressed=g;a.menuItemBackgroundChecked=g}if(y){a.bodyBackgroundHovered=y;a.buttonBackgroundHovered=y;a.buttonBackgroundDisabled=y;a.buttonBorderDisabled=y;a.primaryButtonBackgroundDisabled=y;a.disabledBackground=y;a.listItemBackgroundHovered=y;a.listHeaderBackgroundHovered=y;a.menuItemBackgroundHovered=y}if(w){a.primaryButtonTextDisabled=w;a.disabledSubtext=w}E&&(a.listItemBackgroundCheckedHovered=E);if(N){a.disabledBodyText=N;a.variantBorderHovered=(null===(s=n)||void 0===s?void 0:s.variantBorderHovered)||N;a.buttonTextDisabled=N;a.inputIconDisabled=N;a.disabledText=N}if(S){a.bodyText=S;a.actionLink=S;a.buttonText=S;a.inputBorderHovered=S;a.inputText=S;a.listText=S;a.menuItemText=S}if(k){a.bodyStandoutBackground=k;a.defaultStateBackground=k}if(b){a.actionLinkHovered=b;a.buttonTextHovered=b;a.buttonTextChecked=b;a.buttonTextPressed=b;a.inputTextHovered=b;a.menuItemTextHovered=b}if(x){a.bodySubtext=x;a.focusBorder=x;a.inputBorder=x;a.smallInputBorder=x;a.inputPlaceholderText=x}T&&(a.buttonBorder=T);if(C){a.disabledBodySubtext=C;a.disabledBorder=C;a.buttonBackgroundChecked=C;a.menuDivider=C}L&&(a.accentButtonBackground=L);(null===(o=t)||void 0===o?void 0:o.elevation4)&&(a.cardShadow=t.elevation4);!r&&(null===(u=t)||void 0===u?void 0:u.elevation8)?a.cardShadowHovered=t.elevation8:a.variantBorderHovered&&(a.cardShadowHovered="0 0 1px "+a.variantBorderHovered);return a=Object(ge.e)(Object(ge.e)({},a),n)}var Ue={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"};function ze(e,t){void 0===e&&(e={});void 0===t&&(t=!1);var n=!!e.isInverted;return(function(e,t){void 0===t&&(t={});var n,r,i,s,o=Fe({},e,t,{semanticColors:Re(t.palette,t.effects,t.semanticColors,void 0===t.isInverted?e.isInverted:t.isInverted)});(null===(n=t.palette)||void 0===n?void 0:n.themePrimary)&&!(null===(r=t.palette)||void 0===r?void 0:r.accent)&&(o.palette.accent=t.palette.themePrimary);if(t.defaultFontStyle)for(var u=0,a=Object.keys(o.fonts);u<a.length;u++){var f=a[u];o.fonts[f]=Fe(o.fonts[f],t.defaultFontStyle,null===(s=null===(i=t)||void 0===i?void 0:i.fonts)||void 0===s?void 0:s[f])}t.stylesheets&&(o.stylesheets=(e.stylesheets||[]).concat(t.stylesheets));return o})({palette:Ee,effects:Se,fonts:He,spacing:Ue,isInverted:n,disableGlobalClassNames:!1,semanticColors:qe(Ee,Se,void 0,n,t),rtl:void 0},e)}var We=ze({}),Xe=[];function Ve(){var e,t,n,r,i,s=Object(ye.e)();if(null===(n=null===(t=s)||void 0===t?void 0:t.FabricConfig)||void 0===n?void 0:n.legacyTheme)(function(e,t){var n;void 0===t&&(t=!1);We=ze(e,t);Object(we.t)(Object(ge.e)(Object(ge.e)(Object(ge.e)(Object(ge.e)({},We.palette),We.semanticColors),We.effects),(function(e){for(var t={},n=0,r=Object.keys(e.fonts);n<r.length;n++)for(var i=r[n],s=e.fonts[i],o=0,u=Object.keys(s);o<u.length;o++){var a=u[o],f=i+a.charAt(0).toUpperCase()+a.slice(1),l=s[a];"fontSize"===a&&"number"==typeof l&&(l+="px");t[f]=l}return t})(We)));be.e.applySettings(((n={}).theme=We,n));Xe.forEach(function(e){try{e(We)}catch(e){}})})(s.FabricConfig.legacyTheme);else if(!be.e.getSettings(["theme"]).theme){(null===(i=null===(r=s)||void 0===r?void 0:r.FabricConfig)||void 0===i?void 0:i.theme)&&(We=ze(s.FabricConfig.theme));be.e.applySettings(((e={}).theme=We,e))}}Ve();function $e(e){void 0===e&&(e=!1);!0===e&&(We=ze({},e));return We}var Je=n(182),Ke=n(112),Qe=Je.e.getValue("icons",{__options:{disableWarnings:!1,warnOnMissingIcons:!0},__remapped:{}}),Ge=s.e.getInstance();Ge&&Ge.onReset&&Ge.onReset(function(){for(var e in Qe)Qe.hasOwnProperty(e)&&Qe[e].subset&&(Qe[e].subset.className=void 0)});var Ye=function(e){return e.toLowerCase()};function Ze(e,t){var n=Object(ge.e)(Object(ge.e)({},e),{isRegistered:!1,className:void 0}),r=e.icons;t=t?Object(ge.e)(Object(ge.e)({},Qe.__options),t):Qe.__options;for(var i in r)if(r.hasOwnProperty(i)){var s=r[i],o=Ye(i);Qe[o]?it(i):Qe[o]={code:s,subset:n}}}function et(e,t){Qe.__remapped[Ye(e)]=Ye(t)}function tt(e){var t=void 0,n=Qe.__options;e=e?Ye(e):"";if(e=Qe.__remapped[e]||e)if(t=Qe[e]){var i=t.subset;if(i&&i.fontFace){if(!i.isRegistered){xe(i.fontFace);i.isRegistered=!0}i.className||(i.className=Object(r.e)(i.style,{fontFamily:i.fontFace.fontFamily,fontWeight:i.fontFace.fontWeight||"normal",fontStyle:i.fontFace.fontStyle||"normal"}))}}else!n.disableWarnings&&n.warnOnMissingIcons&&Object(Ke.e)('The icon "'+e+'" was used but not registered. See https://github.com/microsoft/fluentui/wiki/Using-icons for more information.');return t}var nt=[],rt=void 0;function it(e){var t=Qe.__options;if(!t.disableWarnings){nt.push(e);void 0===rt&&(rt=setTimeout(function(){Object(Ke.e)("Some icons were re-registered. Applications should only call registerIcons for any given icon once. Redefining what an icon is may have unintended consequences. Duplicates include: \n"+nt.slice(0,10).join(", ")+(nt.length>10?" (+ "+(nt.length-10)+" more)":""));rt=void 0;nt=[]},2e3))}}var st=n(97),ot=n(278),ut=n(227),at=n(129);Object(at.e)("@uifabric/styling","7.21.3");Ve()},,function(e,t,n){"use strict";n.d(t,"e",function(){return r});n.d(t,"r",function(){return i});n.d(t,"t",function(){return s});n.d(t,"i",function(){return o});n.d(t,"n",function(){return u});function r(e,t){return{name:e,dataType:1,value:t,classification:4}}function i(e,t){return{name:e,dataType:2,value:t,classification:4}}function s(e,t){return{name:e,dataType:3,value:t,classification:4}}function o(e,t){return{name:e,dataType:0,value:t,classification:4}}function u(e,t){return{name:e,dataType:4,value:t,classification:4}}},function(e,t,n){"use strict";n.d(t,"e",function(){return s});n.d(t,"r",function(){return o});n.d(t,"t",function(){return u});n.d(t,"i",function(){return a});n.d(t,"n",function(){return f});var r=n(51),i=n(69);function s(e,t){return{name:e,dataType:r.e.Boolean,value:t,classification:i.e.SystemMetadata}}function o(e,t){return{name:e,dataType:r.e.Int64,value:t,classification:i.e.SystemMetadata}}function u(e,t){return{name:e,dataType:r.e.Double,value:t,classification:i.e.SystemMetadata}}function a(e,t){return{name:e,dataType:r.e.String,value:t,classification:i.e.SystemMetadata}}function f(e,t){return{name:e,dataType:r.e.Guid,value:t,classification:i.e.SystemMetadata}}},function(e,t,n){"use strict";n.d(t,"e",function(){return p});var r=n(27),i=n(19);r.s;function s(e,t){return typeof e===t}function o(e){return s(e,r.s)||void 0===e}function u(e){return o(e)||null===e}function a(e,t){return e&&Object[r.i].hasOwnProperty.call(e,t)}function f(e){return s(e,r.r)}function l(e){return s(e,r.n)}function c(e,t,n,r){void 0===r&&(r=!1);var i=!1;if(!u(e))try{if(u(e.addEventListener)){if(!u(e.attachEvent)){e.attachEvent("on"+t,n);i=!0}}else{e.addEventListener(t,n,r);i=!0}}catch(e){}return i}function h(e,t,n,r){void 0===r&&(r=!1);if(!u(e))try{u(e.removeEventListener)?u(e.detachEvent)||e.detachEvent("on"+t,n):e.removeEventListener(t,n,r)}catch(e){}}var p=(function(){function e(){}e.isDate=function(e){return"[object Date]"===Object[r.i].toString.call(e)};e.isString=function(e){return s(e,"string")};e.isNumber=function(e){return s(e,"number")};e.isBoolean=function(e){return s(e,"boolean")};e.disableCookies=function(){e._canUseCookies=!1};e.newGuid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(d,function(e){var t=0|(function(){var e=Object(i.e)();return e?e.getRandomValues(new Uint8Array(1))[0]%16:16*Math.random()})();return("x"===e?t:3&t|8).toString(16)})};e.toISOString=function(t){if(e.isDate(t)){var n=function(e){var t=String(e);1===t.length&&(t="0"+t);return t};return t.getUTCFullYear()+"-"+n(t.getUTCMonth()+1)+"-"+n(t.getUTCDate())+"T"+n(t.getUTCHours())+":"+n(t.getUTCMinutes())+":"+n(t.getUTCSeconds())+"."+String((t.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"}};e.arrForEach=function(e,t,n){for(var r=e.length,i=0;i<r;++i)i in e&&t.call(n||e,e[i],i,e)};e.arrIndexOf=function(e,t,n){for(var r=e.length,i=n||0,s=Math.max(i>=0?i:r-Math.abs(i),0);s<r;s++)if(s in e&&e[s]===t)return s;return-1};e.arrMap=function(e,t,n){for(var r=e.length,i=n||e,s=new Array(r),o=0;o<r;o++)o in e&&(s[o]=t.call(i,e[o],e));return s};e.arrReduce=function(e,t,n){var r,i=e.length,s=0;if(arguments.length>=3)r=arguments[2];else{for(;s<i&&!(s in e);)s++;r=e[s++]}for(;s<i;){s in e&&(r=t(r,e[s],s,e));s++}return r};e.strTrim=function(t){return e.isString(t)?t.replace(/^\s+|\s+$/g,""):t};e.objKeys=function(e){var t=!{toString:null}.propertyIsEnumerable("toString");if(!(l(e)||f(e)&&null!==e))throw new TypeError("objKeys called on non-object");var n=[];for(var r in e)a(e,r)&&n.push(r);if(t)for(var i=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],s=i.length,o=0;o<s;o++)a(e,i[o])&&n.push(i[o]);return n};e.objDefineAccessors=function(e,t,n,r){var i=Object.defineProperty;if(i)try{var s={enumerable:!0,configurable:!0};n&&(s.get=n);r&&(s.set=r);i(e,t,s);return!0}catch(e){}return!1};e.addEventHandler=function(e,t){var n=!1,r=Object(i.i)();if(r){n=c(r,e,t);n=c(r.body,e,t)||n}var s=Object(i.t)();s&&(n=v.Attach(s,e,t)||n);return n};e.isTypeof=s;e.isUndefined=o;e.isNullOrUndefined=u;e.hasOwnProperty=a;e.isFunction=l;e.isObject=f;e.objCreate=r.t;return e})(),d=/[xy]/g,v=(function(){function e(){}e.Attach=c;e.AttachEvent=c;e.Detach=h;e.DetachEvent=h;return e})()},function(e,t,n){"use strict";n.d(t,"u",function(){return r});n.d(t,"f",function(){return i});n.d(t,"c",function(){return s});n.d(t,"l",function(){return o});n.d(t,"a",function(){return u});n.d(t,"o",function(){return a});n.d(t,"t",function(){return f});n.d(t,"s",function(){return l});n.d(t,"e",function(){return c});n.d(t,"n",function(){return h});n.d(t,"r",function(){return p});n.d(t,"i",function(){return d});var r="function",i="object",s="undefined",o="prototype",u="hasOwnProperty",a="default",f=Object,l=f[o],c=f.assign,h=f.create,p=f.defineProperty,d=l[u]},function(e,t,n){"use strict";n.d(t,"e",function(){return r});var r;(function(e){e.ScriptLoaded="share_scriptsLoaded";e.UIReady="share_uiReady";e.Ready="share_ready";e.Error="share_error";e.Resize="share_resize";e.GrantAccessCompleted="share_grantAccessCompleted";e.Dismiss="share_dismiss";e.ReadyForRecipients="share_readyForRecipients";e.OutlookClicked="share_outlookClicked";e.SendRecipients="atMention_defaultRecipients";e.ManageAccessClicked="share_manageAccessClicked";e.ShareCompleted="share_completed";e.MakeVisible="share_makeVisible";e.Destruct="share_destruct";e.ResetMakeVisible="share_resetMakeVisible";e.InstantLoadReady="share_instantLoadReady";e.ShareContextInformation="share_postContextInformation";e.Started="share_started";e.LinkSettingCompleted="share_linkSettingsCompleted";e.GetToken="share_getToken"})(r||(r={}))},,function(e,t,n){"use strict";n.d(t,"t",function(){return r});n.d(t,"e",function(){return i});n.d(t,"n",function(){return s});var r,i,s;(function(e){e[e.center=0]="center";e[e.contain=1]="contain";e[e.cover=2]="cover";e[e.none=3]="none";e[e.centerCover=4]="centerCover";e[e.centerContain=5]="centerContain"})(r||(r={}));(function(e){e[e.landscape=0]="landscape";e[e.portrait=1]="portrait"})(i||(i={}));(function(e){e[e.notLoaded=0]="notLoaded";e[e.loaded=1]="loaded";e[e.error=2]="error";e[e.errorLoaded=3]="errorLoaded"})(s||(s={}))},function(e,t,n){"use strict";n.d(t,"e",function(){return s});var r=n(122),i=void 0;try{i=window}catch(e){}function s(e){if(!r.e&&void 0!==i){var t=e;return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:i}}},,function(e,t,n){"use strict";n.d(t,"e",function(){return r});var r={topLeftEdge:0,topCenter:1,topRightEdge:2,topAutoEdge:3,bottomLeftEdge:4,bottomCenter:5,bottomRightEdge:6,bottomAutoEdge:7,leftTopEdge:8,leftCenter:9,leftBottomEdge:10,rightTopEdge:11,rightCenter:12,rightBottomEdge:13}},function(e,t,n){"use strict";n.d(t,"e",function(){return r});var r;(function(e){e[e.Success=0]="Success";e[e.Failure=1]="Failure";e[e.ExpectedFailure=2]="ExpectedFailure"})(r||(r={}))},function(e,t,n){"use strict";n.d(t,"e",function(){return u});var r=n(0),i=n(121),s=n(2),o=n(15),u=(function(e){Object(r.n)(t,e);function t(){return null!==e&&e.apply(this,arguments)||this}t.prototype.end=function(t){t&&t.extraData&&this.data.extraData&&(t=Object(r.e)(Object(r.e)({},t),{extraData:Object(r.e)(Object(r.e)({},this.data.extraData),t.extraData)}));return e.prototype.end.call(this,t)};return t})(Object(i.e)({eventName:"Qos,",shortEventName:"Qos"},{name:{isKey:!0,isPrefixingDisabled:!0,type:s.e.String},startTimeOverride:{isPrefixingDisabled:!0,type:s.e.Number},resultCode:{isPrefixingDisabled:!0,type:s.e.String},resultType:{typeRef:o.e,isPrefixingDisabled:!0,type:s.e.Enum},error:{isPrefixingDisabled:!0,type:s.e.String},extraData:s.e.Object,extraMetrics:{isPrefixingDisabled:!0,type:s.e.Object},privacyClassification:{isPrefixingDisabled:!0,type:s.e.String}}).withData({privacyClassification:s.t.requiredService,privacyDataTypes:["productAndServicePerformance"]}))},function(e,t,n){"use strict";n.d(t,"e",function(){return s});var r=n(0),i=function(e){void 0===e&&(e={});var t=new Error(e.message||e.innerError&&e.innerError.message);this.message=t.message;this.innerError=e.innerError;this.stack=t.stack;this.name=t.name;for(var n in this)Object.prototype.hasOwnProperty.call(this,n)&&(t[n]=this[n]);var r=Object.getPrototypeOf(this);Error.captureStackTrace&&Error.captureStackTrace(t,r);if(Object.setPrototypeOf){Object.setPrototypeOf(t,r);return t}};if(Object.setPrototypeOf){i.prototype=Object.create(Error.prototype,{constructor:{value:Error,enumerable:!1,writable:!0,configurable:!0}});Object.setPrototypeOf(i,Error)}var s=(function(e){Object(r.n)(t,e);function t(t){var n=e.call(this,t)||this;n.name="ApiError";var i=t.innerError,s=t.wrapErrorCode,o=i||void 0,u=o?Object(r.e)(Object(r.e)(Object(r.e)(Object(r.e)(Object(r.e)({},"string"==typeof o.correlationId?{correlationId:o.correlationId}:{}),"boolean"==typeof o.isExpected?{isExpected:o.isExpected}:{}),"string"==typeof o.name?{code:o.name}:{}),"string"==typeof o.code?{code:o.code}:{}),"object"==typeof o.extraData?{extraData:o.extraData}:{}):{},a=t.correlationId,f=void 0===a?u.correlationId:a,l=t.isExpected,c=void 0===l?u.isExpected:l,h=t.extraData;n.correlationId=f;n.isExpected=!!c;n.code=s&&u.code&&t.code&&"".concat(t.code," (").concat(u.code,")")||t.code||u.code||"";n.extraData=Object(r.e)(Object(r.e)({},u.extraData||{}),h||{});return n}return t})(i)},function(e,t,n){"use strict";n.d(t,"t",function(){return r});n.d(t,"e",function(){return i});n.d(t,"i",function(){return o});n.d(t,"r",function(){return u});n.d(t,"n",function(){return a});var r,i,s=new(n(124).e);(function(e){e[e.Error=0]="Error";e[e.Warning=1]="Warning";e[e.Info=2]="Info";e[e.Verbose=3]="Verbose"})(r||(r={}));(function(e){e[e.Core=0]="Core";e[e.Sink=1]="Sink";e[e.Transport=2]="Transport"})(i||(i={}));function o(){return s}function u(e,t,n){s.fireEvent({level:e,category:t,message:n})}function a(e,t,n){u(r.Error,e,function(){var e=n instanceof Error?n.message:"";return t+": "+e})}},function(e,t,n){"use strict";n.d(t,"u",function(){return u});n.d(t,"i",function(){return a});n.d(t,"t",function(){return f});n.d(t,"o",function(){return l});n.d(t,"r",function(){return c});n.d(t,"s",function(){return h});n.d(t,"n",function(){return p});n.d(t,"e",function(){return d});var r=n(27),i=(r.s,r.r),s=(r.i,r.n,r.e);function o(e){var t=s();return t&&t[e]?t[e]:"window"===e&&u()?window:null}function u(){return Boolean(typeof window===i&&window)}function a(){return u()?window:o("window")}function f(){return Boolean(typeof document===i&&document)?document:o("document")}function l(){return Boolean(typeof navigator===i&&navigator)}function c(){return l()?navigator:o("navigator")}function h(){return Boolean(typeof JSON===i&&JSON||null!==o("JSON"))}function p(){return h()?JSON||o("JSON"):null}function d(){return o("crypto")}},function(e,t,n){"use strict";n.d(t,"e",function(){return d});n.d(t,"t",function(){return d});var r=n(118),i=n(31),s="".concat("KillSwitchOverrides","_").concat("enableKillSwitches"),o="".concat("KillSwitchOverrides","_").concat("disableKillSwitches");function u(e){try{var t=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return t?t.pop():""}catch(e){return""}}function a(e){var t=[],n=[];for(var r in e)(e[r]?t:n).push(r);try{document.cookie="".concat(s,"=").concat(t.join(","),";path=/;samesite=none;secure;");document.cookie="".concat(o,"=").concat(n.join(","),";path=/;samesite=none;secure;")}catch(e){}}function f(){return(function(e,t,n,r){if(t)for(var s=0,o=t.split(",");s<o.length;s++){var u=o[s];e[i.normalizeUpper(u,!1)]=!0}if(n)for(var a=0,f=n.split(",");a<f.length;a++){u=f[a];e[i.normalizeUpper(u,!1)]=!1}if(r)for(var l=0,c=r.split(",");l<c.length;l++){"!"===(u=c[l])[0]?e[i.normalizeUpper(u.slice(1),!1)]=!1:e[i.normalizeUpper(u,!1)]=!0}return e})({},u(s),u(o),void 0)}var l,c={},h=function(){c=f();var e=(function(){try{return location.search?location.search.substring(1):""}catch(e){return""}})(),t=Object(r.e)(e);t.enableKillSwitches,t.disableKillSwitches,t.debugKillSwitches;0;a(c);try{window.__debugSetKillSwitch=function(e,t){void 0===t&&(t=!0);c[i.normalizeUpper(e,!1)]=!!t;a(c)}}catch(e){}h=function(){}};function p(e){l&&l(e)}var d=(function(){function e(){}e.initKillSwitches=function(t){e._killSwitch=v({killSwitches:t||{}})};e.isActivated=function(t,n,r){var i;h();if(e._killSwitch){e.isActivated=e._killSwitch.isActivated;return e._killSwitch.isActivated(t,n,r)}try{if(window._spPageContextInfo){var s=v(window._spPageContextInfo);(null===(i=window._spPageContextInfo)||void 0===i?void 0:i.killSwitches)&&(e.isActivated=s.isActivated);return s.isActivated(t,n,r)}if(window.Flight){var o=void 0;if(window.Flight.KillSwitches){o={};for(var u=0,a=Object.keys(window.Flight.KillSwitches);u<a.length;u++){var f=a[u];o[window.Flight.KillSwitches[f]]=!0}}var l=v({killSwitches:o});o&&(e.isActivated=l.isActivated);return l.isActivated(t,n,r)}}catch(e){p(t);return!1}p(t);return!1};return e})();function v(e){var t=e&&e.killSwitches;return{isActivated:function(e,n,r){p(e);if(e){var s=i.normalizeUpper(e,!1);if(s in c)return!!c[s];if(t)return!!t[s]}return!1}}}},function(e,t,n){"use strict";n.d(t,"n",function(){return i});n.d(t,"i",function(){return s});n.d(t,"t",function(){return o});n.d(t,"e",function(){return u});n.d(t,"r",function(){return a});var r=/\{(\d+)\}/g;function i(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return e.replace(r,function(e,n){var r=t[Number(n)];return null===r?"":"".concat(r)})}function s(e,t){for(var n=e.toString();n.length<t;)n="0".concat(n);return n}function o(e,t){return e&&t?e.toUpperCase()===t.toUpperCase():e===t}function u(e){return e?e[0].toUpperCase()+e.substr(1):e}function a(e,t,n){n=Number(n);if(void 0===e||void 0===t||void 0===n)return"";for(var r="",i=-1,s=t.split("||"),o=0,u=s.length;o<u;o++){var a=s[o];if(a){for(var f=0,l=a.split(",");f<l.length;f++){var c=l[f];if(c)if(isNaN(Number(c))){if(-1!==c.indexOf("-")){var h=c.split("-");if(2!==h.length)continue;var p=void 0;if(""===h[0])p=0;else{if(isNaN(Number(h[0])))continue;p=parseInt(h[0],10)}if(n>=p){if(""===h[1]){i=o;break}if(isNaN(Number(h[1])))continue;if(n<=parseInt(h[1],10)){i=o;break}}}else if(-1!==c.indexOf("*")){var d=c.trim().replace(/\*/g,"[0-9]*");if(new RegExp("^".concat(d,"$")).test(n.toString())){i=o;break}}}else{if(n===parseInt(c,10)){i=o;break}}}if(-1!==i)break}}if(-1!==i){var v=e.split("||");v[i]&&(r=v[i])}return r}},,function(e,t,n){"use strict";n.d(t,"t",function(){return a});n.d(t,"e",function(){return f});var r=n(0);var i=n(95),s=n(20),o=!s.e.isActivated("115330F7-9AB5-4692-80AB-7401BE3808AA","03/17/2022","Events are stored in a Circular Buffer instead of an array");var u=(function(){function e(){this._handlers=[];this._buffer=o?new i.e(500):new i.t(500);this._validationLoggers=[];this._featureEnablers=[];this._hasBufferOverflown=!1}Object.defineProperty(e.prototype,"startDate",{get:function(){return window.performance&&window.performance.timing&&window.performance.timing.navigationStart?new Date(window.performance.timing.navigationStart):new Date},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"startTime",{get:function(){return this.startDate.getTime()},enumerable:!1,configurable:!0});e.prototype.getTime=function(){return(new Date).getTime()};e.prototype.cleanString=function(e){return e};e.prototype.addLogHandler=function(e){var t=this._handlers,n=this._buffer;t.push(e);return n.getAll()};e.prototype.removeLogHandler=function(e){for(var t=this._handlers,n=0;n<t.length;n++)if(t[n]===e){t.splice(n,1);break}};e.prototype.logEvent=function(e,t){var n,i,s=this._buffer,o=this._handlers,u=Object.freeze({data:(n=e.data,i=[],"object"!=typeof n?n:(function e(t){var n=null;if(t){n=Array.isArray(t)?[]:Object.create(Object.getPrototypeOf(t));Object.keys(t).forEach(function(r){var s=t[r];if("object"==typeof s){if(-1!==i.indexOf(s))throw new Error("Cannot perform DeepCopy() because a circular reference was encountered, object: ".concat(t,", ")+"property: ".concat(r));i.push(s);n[r]=e(s);i.pop()}else n[r]=s})}return n})(n)),context:Object(r.e)({},e.context),id:e.id,enabled:e.enabled,critical:e.critical,endTime:e.endTime,eventName:e.eventName,shortEventName:e.shortEventName,parentId:e.parentId,startTime:e.startTime,eventType:t,metadata:e.metadata,vector:e.vector,validationErrors:e.validationErrors,isEventTypePrefixingDisabled:e.isEventTypePrefixingDisabled}),a=s.isFull;s.push(u);if(!this._hasBufferOverflown&&a){this._hasBufferOverflown=!0;0===o.length&&l(new Error("Logging buffer overflow hit before any logging handler was registered"))}for(var f=0;f<o.length;f++)try{o[f](u)}catch(e){l(e)}};e.prototype.addValidationErrorLogger=function(e){this._validationLoggers.push(e)};e.prototype.removeValidationErrorLogger=function(e){var t=this._validationLoggers,n=t.indexOf(e);n>-1&&t.splice(n,1)};e.prototype.logValidationError=function(e,t){for(var n=0,r=this._validationLoggers;n<r.length;n++){var i=r[n];try{i(e,t)}catch(e){l(e)}}};e.prototype.isFeatureEnabled=function(e){for(var t=0,n=this._featureEnablers;t<n.length;t++){if((0,n[t])(e))return!0}return!1};e.prototype.addFeatureEnabler=function(e){this._featureEnablers.push(e)};e.prototype.removeFeatureEnabler=function(e){var t=this._featureEnablers,n=t.indexOf(e);n>-1&&t.splice(n,1)};e.prototype.getStack=function(){var e;try{var t=window;t.______ExpectedError______&&t.______ExpectedError______()}catch(t){e=t}return e&&e.stack||void 0};return e})();function a(){return new u}var f="undefined"!=typeof window?window.ODSP_TELEMETRY_MANAGER=window.ODSP_TELEMETRY_MANAGER||a():"undefined"!=typeof self?self.ODSP_TELEMETRY_MANAGER=self.ODSP_TELEMETRY_MANAGER||a():a();function l(e){console.error("Telemetry Manager:",e)}},function(e,t,n){"use strict";n.d(t,"e",function(){return i});var r=n(122);function i(e){if(!r.e&&"undefined"!=typeof document){var t=e;return t&&t.ownerDocument?t.ownerDocument:document}}},function(e,t,n){"use strict";n.d(t,"e",function(){return r});var r={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pauseBreak:19,capslock:20,escape:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,del:46,zero:48,one:49,two:50,three:51,four:52,five:53,six:54,seven:55,eight:56,nine:57,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftWindow:91,rightWindow:92,select:93,zero_numpad:96,one_numpad:97,two_numpad:98,three_numpad:99,four_numpad:100,five_numpad:101,six_numpad:102,seven_numpad:103,eight_numpad:104,nine_numpad:105,multiply:106,add:107,subtract:109,decimalPoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrollLock:145,semicolon:186,equalSign:187,comma:188,dash:189,period:190,forwardSlash:191,graveAccent:192,openBracket:219,backSlash:220,closeBracket:221,singleQuote:222}},function(e,t,n){"use strict";n.d(t,"e",function(){return s});n.d(t,"t",function(){return o});var r=n(33),i=n(3),s={msButton:"ms-Button",msButtonHasMenu:"ms-Button--hasMenu",msButtonIcon:"ms-Button-icon",msButtonMenuIcon:"ms-Button-menuIcon",msButtonLabel:"ms-Button-label",msButtonDescription:"ms-Button-description",msButtonScreenReaderText:"ms-Button-screenReaderText",msButtonFlexContainer:"ms-Button-flexContainer",msButtonTextContainer:"ms-Button-textContainer"},o=Object(r.t)(function(e,t,n,r,o,u,a,f,l,c,h){var p,d,v=Object(i.v)(s,e||{}),m=c&&!h;return Object(i.S)({root:[v.msButton,t.root,r,l&&["is-checked",t.rootChecked],m&&["is-expanded",t.rootExpanded,{selectors:(p={},p[":hover ."+v.msButtonIcon]=t.iconExpandedHovered,p[":hover ."+v.msButtonMenuIcon]=t.menuIconExpandedHovered||t.rootExpandedHovered,p[":hover"]=t.rootExpandedHovered,p)}],f&&[s.msButtonHasMenu,t.rootHasMenu],a&&["is-disabled",t.rootDisabled],!a&&!m&&!l&&{selectors:(d={":hover":t.rootHovered},d[":hover ."+v.msButtonLabel]=t.labelHovered,d[":hover ."+v.msButtonIcon]=t.iconHovered,d[":hover ."+v.msButtonDescription]=t.descriptionHovered,d[":hover ."+v.msButtonMenuIcon]=t.menuIconHovered,d[":focus"]=t.rootFocused,d[":active"]=t.rootPressed,d[":active ."+v.msButtonIcon]=t.iconPressed,d[":active ."+v.msButtonDescription]=t.descriptionPressed,d[":active ."+v.msButtonMenuIcon]=t.menuIconPressed,d)},a&&l&&[t.rootCheckedDisabled],!a&&l&&{selectors:{":hover":t.rootCheckedHovered,":active":t.rootCheckedPressed}},n],flexContainer:[v.msButtonFlexContainer,t.flexContainer],textContainer:[v.msButtonTextContainer,t.textContainer],icon:[v.msButtonIcon,o,t.icon,m&&t.iconExpanded,l&&t.iconChecked,a&&t.iconDisabled],label:[v.msButtonLabel,t.label,l&&t.labelChecked,a&&t.labelDisabled],menuIcon:[v.msButtonMenuIcon,u,t.menuIcon,l&&t.menuIconChecked,a&&!h&&t.menuIconDisabled,!a&&!m&&!l&&{selectors:{":hover":t.menuIconHovered,":active":t.menuIconPressed}},m&&["is-expanded",t.menuIconExpanded]],description:[v.msButtonDescription,t.description,l&&t.descriptionChecked,a&&t.descriptionDisabled],screenReaderText:[v.msButtonScreenReaderText,t.screenReaderText]})})},function(e,t,n){"use strict";(function(e){n.d(t,"n",function(){return r});n.d(t,"r",function(){return i});n.d(t,"s",function(){return s});n.d(t,"i",function(){return o});n.d(t,"e",function(){return u});n.d(t,"t",function(){return a});var r="function",i="object",s="undefined",o="prototype";function u(){return typeof globalThis!==s&&globalThis?globalThis:typeof self!==s&&self?self:typeof window!==s&&window?window:typeof e!==s&&e?e:null}function a(e){var t=Object.create;if(t)return t(e);if(null==e)return{};var n=typeof e;if(n!==i&&n!==r)throw new TypeError("Object prototype may only be an Object:"+e);function s(){}s[o]=e;return new s}var f=function(e,t){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};var l=u()||{};(function(e,t,n){e.__assign=e.__assign||Object.assign||t;e.__extends=e.__extends||n})(l,function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object[o].hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},function(e,t){f(e,t);function n(){this.constructor=e}e[o]=null===t?a(t):(n[o]=t[o],new n)});__assign=l.__assign;__extends=l.__extends}).call(this,n(92))},function(e,t,n){"use strict";n.d(t,"e",function(){return a});var r=n(0),i=n(82),s=n(40);function o(e,t){return new this(e,i.e.Single,t)}function u(e){return new this(null,i.e.Single,e)}function a(e,t,n){var i=(function(e){Object(r.n)(n,e);function n(){return null!==e&&e.apply(this,arguments)||this}n.logData=t?o:u;return n})(s.t);Object(s.r)(i.prototype,e,t||{},n);return i}},function(e,t,n){"use strict";n.d(t,"n",function(){return s});n.d(t,"t",function(){return o});n.d(t,"e",function(){return u});var r,i=(r=[],{fireEvent:function(e){r.forEach(function(t){return t(e)})},addListener:function(e){e&&r.push(e)}});function s(){return i}function o(e,t,n){i.fireEvent({level:e,category:t,message:n})}function u(e,t,n){o(0,e,function(){var e=n instanceof Error?n.message:"";return"".concat(t,": ").concat(e)})}},function(e,t,n){"use strict";n.d(t,"e",function(){return i});var r=n(6);function i(e,t,n){e.push(Object(r.i)("zC."+t,n))}},function(e,t,n){"use strict";n.r(t);n.d(t,"Empty",function(){return i});n.d(t,"_guidRegEx",function(){return s});n.d(t,"generate",function(){return o});n.d(t,"normalizeLower",function(){return u});n.d(t,"normalizeUpper",function(){return a});n.d(t,"normalizeDashes",function(){return f});n.d(t,"isValidGuid",function(){return l});function r(e){for(var t="";t.length<e;){var n=16*Math.random();t+=(n|=0).toString(16)}return t}var i="00000000-0000-0000-0000-000000000000",s=/^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$/i;function o(){var e=[];e.push(r(8));e.push(r(4));var t="4"+r(3);e.push(t);var n=r(4),i=parseInt(n[0],16);i&=3;n=(i|=8).toString(16)+n.substr(1);e.push(n);e.push(r(12));return e.join("-")}function u(e,t){void 0===t&&(t=!1);return e?c(e.toLowerCase(),t):""}function a(e,t){void 0===t&&(t=!1);return e?c(e.toUpperCase(),t):""}function f(e,t){void 0===t&&(t=!1);if(e){var n=e.replace(/[^A-Fa-f0-9]/g,"");if(32===n.length)return c("".concat(n.slice(0,8),"-").concat(n.slice(8,12),"-").concat(n.slice(12,16),"-").concat(n.slice(16,20),"-").concat(n.slice(20)),t)}return""}function l(e){return!(!e||!s.test(u(e)))}function c(e,t){var n=e.match(/^\{(.*)\}$/);return n?t?n[0]:n[1]:t?"{"+e+"}":e}},function(e,t,n){"use strict";n.d(t,"e",function(){return l});var r,i=n(1),s=0,o=1,u=2,a="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),f={};try{f=window}catch(e){}var l=(function(){function e(e){this._rules=[];this._preservedRules=[];this._rulesToInsert=[];this._counter=0;this._keyToClassName={};this._onResetCallbacks=[];this._classNameToArgs={};this._config=Object(i.e)({injectionMode:o,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e);this._keyToClassName=this._config.classNameCache||{}}e.getInstance=function(){var t;if(!(r=f.__stylesheet__)||r._lastStyleElement&&r._lastStyleElement.ownerDocument!==document){var n=(null===(t=f)||void 0===t?void 0:t.FabricConfig)||{};r=f.__stylesheet__=new e(n.mergeStyles)}return r};e.prototype.setConfig=function(e){this._config=Object(i.e)(Object(i.e)({},this._config),e)};e.prototype.onReset=function(e){this._onResetCallbacks.push(e)};e.prototype.getClassName=function(e){var t=this._config.namespace;return(t?t+"-":"")+(e||this._config.defaultPrefix)+"-"+this._counter++};e.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[t]=e;this._classNameToArgs[e]={args:n,rules:r}};e.prototype.classNameFromKey=function(e){return this._keyToClassName[e]};e.prototype.getClassNameCache=function(){return this._keyToClassName};e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args};e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules};e.prototype.insertRule=function(e,t){var n=this._config.injectionMode!==s?this._getStyleElement():void 0;t&&this._preservedRules.push(e);if(n)switch(this._config.injectionMode){case o:var r=n.sheet;try{r.insertRule(e,r.cssRules.length)}catch(e){}break;case u:n.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e)};e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")+this._rulesToInsert.join("")};e.prototype.reset=function(){this._rules=[];this._rulesToInsert=[];this._counter=0;this._classNameToArgs={};this._keyToClassName={};this._onResetCallbacks.forEach(function(e){return e()})};e.prototype.resetKeys=function(){this._keyToClassName={}};e.prototype._getStyleElement=function(){var e=this;if(!this._styleElement&&"undefined"!=typeof document){this._styleElement=this._createStyleElement();a||window.requestAnimationFrame(function(){e._styleElement=void 0})}return this._styleElement};e.prototype._createStyleElement=function(){var e=document.head,t=document.createElement("style");t.setAttribute("data-merge-styles","true");var n=this._config.cspSettings;n&&n.nonce&&t.setAttribute("nonce",n.nonce);if(this._lastStyleElement)e.insertBefore(t,this._lastStyleElement.nextElementSibling);else{var r=this._findPlaceholderStyleTag();r?e.insertBefore(t,r.nextElementSibling):e.insertBefore(t,e.childNodes[0])}this._lastStyleElement=t;return t};e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null};return e})()},function(e,t,n){"use strict";n.d(t,"t",function(){return l});n.d(t,"e",function(){return c});var r=n(32),i=!1,s=0,o={empty:!0},u={},a="undefined"==typeof WeakMap?null:WeakMap;function f(){s++}function l(e,t,n){void 0===t&&(t=100);void 0===n&&(n=!1);if(!a)return e;if(!i){var o=r.e.getInstance();o&&o.onReset&&r.e.getInstance().onReset(f);i=!0}var u,l=0,c=s;return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var o=u;if(void 0===u||c!==s||t>0&&l>t){u=p();l=0;c=s}o=u;for(var a=0;a<r.length;a++){var f=h(r[a]);o.map.has(f)||o.map.set(f,p());o=o.map.get(f)}if(!o.hasOwnProperty("value")){o.value=e.apply(void 0,r);l++}!n||null!==o.value&&void 0!==o.value||(o.value=e.apply(void 0,r));return o.value}}function c(e){if(!a)return e;var t=new a;return function(n){if(!n||"function"!=typeof n&&"object"!=typeof n)return e(n);if(t.has(n))return t.get(n);var r=e(n);t.set(n,r);return r}}function h(e){if(!e)return o;if("object"==typeof e||"function"==typeof e)return e;u[e]||(u[e]={val:e});return u[e]}function p(){return{map:a?new a:null}}},function(e,t,n){"use strict";var r=n(31);t.e=r},,function(e,t,n){"use strict";n.d(t,"e",function(){return Vt});var r=n(1),i=n("react-lib"),s=n(283),o=n(33),u=n(86),a=n(125),f=n(152);function l(e,t){var n=Object(a.e)(e,function(e){return t===e||e.hasAttribute(f.e)});return null!==n&&n.hasAttribute(f.e)}var c=n(25),h=n(83),p=n(294),d=n(99),v=n(67),m=n(190),g=n(188),y=n(282),b=n(130),w=n(181),E=n(299),S=n(298);function x(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter(function(e){return e}).join(" ").trim();return""===n?void 0:n}var T=n(295),N=n(189),C=n(128),k=n(53),L=function(e){var t=e.className,n=e.imageProps,s=Object(b.r)(e,b.i),o=e["aria-label"]?{}:{role:"presentation","aria-hidden":!n.alt&&!n["aria-labelledby"]};return i.createElement("div",Object(r.e)({},o,s,{className:Object(u.e)(k.e,k.t.root,k.t.image,t)}),i.createElement(C.e,Object(r.e)({},n)))},A=n(14),O=n(297);var M,_=Object(o.e)(function(e){return Object(o.e)(function(t){var n=Object(o.e)(function(e){return function(n){return t(n,e)}});return function(r,i){return e(r,i?n(i):t)}})});(function(e){e[e.Normal=0]="Normal";e[e.Divider=1]="Divider";e[e.Header=2]="Header";e[e.Section=3]="Section"})(M||(M={}));var D,P=1,H=2;(function(e){e[e.vertical=0]="vertical";e[e.horizontal=1]="horizontal";e[e.bidirectional=2]="bidirectional";e[e.domOrder=3]="domOrder"})(D||(D={}));var B,j=n(226),F=n(3),I=n(229),q=n(127),R=n(185),U=n(12),z=n(228),W=n(284),X=n(24);function V(e,t){var n,r,i,s,o,u,a;"function"==typeof MouseEvent?a=new MouseEvent("click",{ctrlKey:null===(n=t)||void 0===n?void 0:n.ctrlKey,metaKey:null===(r=t)||void 0===r?void 0:r.metaKey,shiftKey:null===(i=t)||void 0===i?void 0:i.shiftKey,altKey:null===(s=t)||void 0===s?void 0:s.altKey,bubbles:null===(o=t)||void 0===o?void 0:o.bubbles,cancelable:null===(u=t)||void 0===u?void 0:u.cancelable}):(a=document.createEvent("MouseEvents")).initMouseEvent("click",!!t&&t.bubbles,!!t&&t.cancelable,window,0,0,0,0,0,!!t&&t.ctrlKey,!!t&&t.altKey,!!t&&t.shiftKey,!!t&&t.metaKey,0,null);e.dispatchEvent(a)}function $(){B||(B=Object(j.e)({selectors:{":focus":{outline:"none"}}},"ms-FocusZone"));return B}var J,K={},Q=new Set,G=["text","number","password","email","tel","url","search"],Y=(function(e){Object(r.n)(t,e);function t(t){var n=e.call(this,t)||this;n._root=i.createRef();n._mergedRef=Object(s.e)();n._onFocus=function(e){if(!n._portalContainsElement(e.target)){var t,r=n.props,i=r.onActiveElementChanged,s=r.doNotAllowFocusEventToPropagate,o=r.stopFocusPropagation,u=r.onFocusNotification,a=r.onFocus,f=r.shouldFocusInnerElementWhenReceivedFocus,l=r.defaultTabbableElement,c=n._isImmediateDescendantOfZone(e.target);if(c)t=e.target;else for(var h=e.target;h&&h!==n._root.current;){if(Object(I.p)(h)&&n._isImmediateDescendantOfZone(h)){t=h;break}h=Object(q.e)(h,!1)}if(f&&e.target===n._root.current){var p=l&&"function"==typeof l&&l(n._root.current);if(p&&Object(I.p)(p)){t=p;p.focus()}else{n.focus(!0);n._activeElement&&(t=null)}}var d=!n._activeElement;if(t&&t!==n._activeElement){(c||d)&&n._setFocusAlignment(t,!0,!0);n._activeElement=t;d&&n._updateTabIndexes()}i&&i(n._activeElement,e);(o||s)&&e.stopPropagation();a?a(e):u&&u()}};n._onBlur=function(){n._setParkedFocus(!1)};n._onMouseDown=function(e){if(!n._portalContainsElement(e.target)){if(!n.props.disabled){for(var t=e.target,r=[];t&&t!==n._root.current;){r.push(t);t=Object(q.e)(t,!1)}for(;r.length;){(t=r.pop())&&Object(I.p)(t)&&n._setActiveElement(t,!0);if(Object(I.h)(t))break}}}};n._onKeyDown=function(e,t){if(!n._portalContainsElement(e.target)){var r=n.props,i=r.direction,s=r.disabled,o=r.isInnerZoneKeystroke,u=r.pagingSupportDisabled,a=r.shouldEnterInnerZone;if(!s){n.props.onKeyDown&&n.props.onKeyDown(e);if(!(e.isDefaultPrevented()||n._getDocument().activeElement===n._root.current&&n._isInnerZone)){if((a&&a(e)||o&&o(e))&&n._isImmediateDescendantOfZone(e.target)){var f=n._getFirstInnerZone();if(f){if(!f.focus(!0))return}else{if(!Object(I.c)(e.target))return;if(!n.focusElement(Object(I.f)(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case c.e.space:if(n._tryInvokeClickForFocusable(e.target,e))break;return;case c.e.left:if(i!==D.vertical){n._preventDefaultWhenHandled(e);if(n._moveFocusLeft(t))break}return;case c.e.right:if(i!==D.vertical){n._preventDefaultWhenHandled(e);if(n._moveFocusRight(t))break}return;case c.e.up:if(i!==D.horizontal){n._preventDefaultWhenHandled(e);if(n._moveFocusUp())break}return;case c.e.down:if(i!==D.horizontal){n._preventDefaultWhenHandled(e);if(n._moveFocusDown())break}return;case c.e.pageDown:if(!u&&n._moveFocusPaging(!0))break;return;case c.e.pageUp:if(!u&&n._moveFocusPaging(!1))break;return;case c.e.tab:if(n.props.allowTabKey||n.props.handleTabKey===P||n.props.handleTabKey===H&&n._isElementInput(e.target)){var l=!1;n._processingTabKey=!0;if(i!==D.vertical&&n._shouldWrapFocus(n._activeElement,"data-no-horizontal-wrap")){l=(Object(R.e)(t)?!e.shiftKey:e.shiftKey)?n._moveFocusLeft(t):n._moveFocusRight(t)}else l=e.shiftKey?n._moveFocusUp():n._moveFocusDown();n._processingTabKey=!1;if(l)break;n.props.shouldResetActiveElementWhenTabFromZone&&(n._activeElement=null)}return;case c.e.home:if(n._isContentEditableElement(e.target)||n._isElementInput(e.target)&&!n._shouldInputLoseFocus(e.target,!1))return!1;var h=n._root.current&&n._root.current.firstChild;if(n._root.current&&h&&n.focusElement(Object(I.f)(n._root.current,h,!0)))break;return;case c.e.end:if(n._isContentEditableElement(e.target)||n._isElementInput(e.target)&&!n._shouldInputLoseFocus(e.target,!0))return!1;var p=n._root.current&&n._root.current.lastChild;if(n._root.current&&n.focusElement(Object(I.l)(n._root.current,p,!0,!0,!0)))break;return;case c.e.enter:if(n._tryInvokeClickForFocusable(e.target,e))break;return;default:return}}e.preventDefault();e.stopPropagation()}}}};n._getHorizontalDistanceFromCenter=function(e,t,r){var i=n._focusAlignment.left||n._focusAlignment.x||0,s=Math.floor(r.top),o=Math.floor(t.bottom),u=Math.floor(r.bottom),a=Math.floor(t.top);return e&&s>o||!e&&u<a?i>=r.left&&i<=r.left+r.width?0:Math.abs(r.left+r.width/2-i):n._shouldWrapFocus(n._activeElement,"data-no-vertical-wrap")?999999999:-999999999};Object(p.e)(n);0;n._id=Object(y.e)("FocusZone");n._focusAlignment={left:0,top:0};n._processingTabKey=!1;return n}t.getOuterZones=function(){return Q.size};t._onKeyDownCapture=function(e){e.which===c.e.tab&&Q.forEach(function(e){return e._updateTabIndexes()})};t.prototype.componentDidMount=function(){var e=this._root.current;K[this._id]=this;if(e){this._windowElement=Object(U.e)(e);for(var n=Object(q.e)(e,!1);n&&n!==this._getDocument().body&&1===n.nodeType;){if(Object(I.h)(n)){this._isInnerZone=!0;break}n=Object(q.e)(n,!1)}if(!this._isInnerZone){Q.add(this);this._windowElement&&1===Q.size&&this._windowElement.addEventListener("keydown",t._onKeyDownCapture,!0)}this._root.current&&this._root.current.addEventListener("blur",this._onBlur,!0);this._updateTabIndexes();this.props.defaultTabbableElement&&"string"==typeof this.props.defaultTabbableElement?this._activeElement=this._getDocument().querySelector(this.props.defaultTabbableElement):this.props.defaultActiveElement&&(this._activeElement=this._getDocument().querySelector(this.props.defaultActiveElement));this.props.shouldFocusOnMount&&this.focus()}};t.prototype.componentDidUpdate=function(){var e=this._root.current,t=this._getDocument();if(t&&this._lastIndexPath&&(t.activeElement===t.body||null===t.activeElement||!this.props.preventFocusRestoration&&t.activeElement===e)){var n=Object(I.o)(e,this._lastIndexPath);if(n){this._setActiveElement(n,!0);n.focus();this._setParkedFocus(!1)}else this._setParkedFocus(!0)}};t.prototype.componentWillUnmount=function(){delete K[this._id];if(!this._isInnerZone){Q.delete(this);this._windowElement&&0===Q.size&&this._windowElement.removeEventListener("keydown",t._onKeyDownCapture,!0)}this._root.current&&this._root.current.removeEventListener("blur",this._onBlur,!0);this._activeElement=null;this._defaultFocusElement=null};t.prototype.render=function(){var e=this,t=this.props,n=t.as,s=t.elementType,o=t.rootProps,a=t.ariaDescribedBy,f=t.ariaLabelledBy,l=t.className,c=Object(b.r)(this.props,b.i),h=n||s||"div";this._evaluateFocusBeforeRender();var p=Object(F.b)();return i.createElement(h,Object(r.e)({"aria-labelledby":f,"aria-describedby":a},c,o,{className:Object(u.e)($(),l),ref:this._mergedRef(this.props.elementRef,this._root),"data-focuszone-id":this._id,onKeyDown:function(t){return e._onKeyDown(t,p)},onFocus:this._onFocus,onMouseDownCapture:this._onMouseDown}),this.props.children)};t.prototype.focus=function(e){void 0===e&&(e=!1);if(this._root.current){if(!e&&"true"===this._root.current.getAttribute("data-is-focusable")&&this._isInnerZone){var t=this._getOwnerZone(this._root.current);if(t!==this._root.current){var n=K[t.getAttribute("data-focuszone-id")];return!!n&&n.focusElement(this._root.current)}return!1}if(!e&&this._activeElement&&Object(z.e)(this._root.current,this._activeElement)&&Object(I.p)(this._activeElement)){this._activeElement.focus();return!0}var r=this._root.current.firstChild;return this.focusElement(Object(I.f)(this._root.current,r,!0))}return!1};t.prototype.focusLast=function(){if(this._root.current){var e=this._root.current&&this._root.current.lastChild;return this.focusElement(Object(I.l)(this._root.current,e,!0,!0,!0))}return!1};t.prototype.focusElement=function(e,t){var n=this.props,r=n.onBeforeFocus,i=n.shouldReceiveFocus;if(i&&!i(e)||r&&!r(e))return!1;if(e){this._setActiveElement(e,t);this._activeElement&&this._activeElement.focus();return!0}return!1};t.prototype.setFocusAlignment=function(e){this._focusAlignment=e};t.prototype._evaluateFocusBeforeRender=function(){var e=this._root.current,t=this._getDocument();if(t){var n=t.activeElement;if(n!==e){var r=Object(z.e)(e,n,!1);this._lastIndexPath=r?Object(I.r)(e,n):void 0}}};t.prototype._setParkedFocus=function(e){var t=this._root.current;if(t&&this._isParked!==e){this._isParked=e;if(e){if(!this.props.allowFocusRoot){this._parkedTabIndex=t.getAttribute("tabindex");t.setAttribute("tabindex","-1")}t.focus()}else if(!this.props.allowFocusRoot)if(this._parkedTabIndex){t.setAttribute("tabindex",this._parkedTabIndex);this._parkedTabIndex=void 0}else t.removeAttribute("tabindex")}};t.prototype._setActiveElement=function(e,t){var n=this._activeElement;this._activeElement=e;if(n){Object(I.h)(n)&&this._updateTabIndexes(n);n.tabIndex=-1}if(this._activeElement){this._focusAlignment&&!t||this._setFocusAlignment(e,!0,!0);this._activeElement.tabIndex=0}};t.prototype._preventDefaultWhenHandled=function(e){this.props.preventDefaultWhenHandled&&e.preventDefault()};t.prototype._tryInvokeClickForFocusable=function(e,t){var n=e;if(n===this._root.current||!this.props.shouldRaiseClicks)return!1;do{if("BUTTON"===n.tagName||"A"===n.tagName||"INPUT"===n.tagName||"TEXTAREA"===n.tagName)return!1;if(this._isImmediateDescendantOfZone(n)&&"true"===n.getAttribute("data-is-focusable")&&"true"!==n.getAttribute("data-disable-click-on-enter")){V(n,t);return!0}n=Object(q.e)(n,!1)}while(n!==this._root.current);return!1};t.prototype._getFirstInnerZone=function(e){if(!(e=e||this._activeElement||this._root.current))return null;if(Object(I.h)(e))return K[e.getAttribute("data-focuszone-id")];for(var t=e.firstElementChild;t;){if(Object(I.h)(t))return K[t.getAttribute("data-focuszone-id")];var n=this._getFirstInnerZone(t);if(n)return n;t=t.nextElementSibling}return null};t.prototype._moveFocus=function(e,t,n,r){void 0===r&&(r=!0);var i=this._activeElement,s=-1,o=void 0,u=!1,a=this.props.direction===D.bidirectional;if(!i||!this._root.current)return!1;if(this._isElementInput(i)&&!this._shouldInputLoseFocus(i,e))return!1;var f=a?i.getBoundingClientRect():null;do{i=e?Object(I.f)(this._root.current,i):Object(I.l)(this._root.current,i);if(!a){o=i;break}if(i){var l=t(f,i.getBoundingClientRect());if(-1===l&&-1===s){o=i;break}if(l>-1&&(-1===s||l<s)){s=l;o=i}if(s>=0&&l<0)break}}while(i);if(o&&o!==this._activeElement){u=!0;this.focusElement(o)}else if(this.props.isCircularNavigation&&r)return e?this.focusElement(Object(I.f)(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(Object(I.l)(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return u};t.prototype._moveFocusDown=function(){var e=this,t=-1,n=this._focusAlignment.left||this._focusAlignment.x||0;if(this._moveFocus(!0,function(r,i){var s=-1,o=Math.floor(i.top),u=Math.floor(r.bottom);if(o<u)return e._shouldWrapFocus(e._activeElement,"data-no-vertical-wrap")?999999999:-999999999;if(-1===t&&o>=u||o===t){t=o;s=n>=i.left&&n<=i.left+i.width?0:Math.abs(i.left+i.width/2-n)}return s})){this._setFocusAlignment(this._activeElement,!1,!0);return!0}return!1};t.prototype._moveFocusUp=function(){var e=this,t=-1,n=this._focusAlignment.left||this._focusAlignment.x||0;if(this._moveFocus(!1,function(r,i){var s=-1,o=Math.floor(i.bottom),u=Math.floor(i.top),a=Math.floor(r.top);if(o>a)return e._shouldWrapFocus(e._activeElement,"data-no-vertical-wrap")?999999999:-999999999;if(-1===t&&o<=a||u===t){t=u;s=n>=i.left&&n<=i.left+i.width?0:Math.abs(i.left+i.width/2-n)}return s})){this._setFocusAlignment(this._activeElement,!1,!0);return!0}return!1};t.prototype._moveFocusLeft=function(e){var t=this,n=this._shouldWrapFocus(this._activeElement,"data-no-horizontal-wrap");if(this._moveFocus(Object(R.e)(e),function(r,i){var s=-1;(Object(R.e)(e)?parseFloat(i.top.toFixed(3))<parseFloat(r.bottom.toFixed(3)):parseFloat(i.bottom.toFixed(3))>parseFloat(r.top.toFixed(3)))&&i.right<=r.right&&t.props.direction!==D.vertical?s=r.right-i.right:n||(s=-999999999);return s},void 0,n)){this._setFocusAlignment(this._activeElement,!0,!1);return!0}return!1};t.prototype._moveFocusRight=function(e){var t=this,n=this._shouldWrapFocus(this._activeElement,"data-no-horizontal-wrap");if(this._moveFocus(!Object(R.e)(e),function(r,i){var s=-1;(Object(R.e)(e)?parseFloat(i.bottom.toFixed(3))>parseFloat(r.top.toFixed(3)):parseFloat(i.top.toFixed(3))<parseFloat(r.bottom.toFixed(3)))&&i.left>=r.left&&t.props.direction!==D.vertical?s=i.left-r.left:n||(s=-999999999);return s},void 0,n)){this._setFocusAlignment(this._activeElement,!0,!1);return!0}return!1};t.prototype._moveFocusPaging=function(e,t){void 0===t&&(t=!0);var n=this._activeElement;if(!n||!this._root.current)return!1;if(this._isElementInput(n)&&!this._shouldInputLoseFocus(n,e))return!1;var r=Object(W.i)(n);if(!r)return!1;var i=-1,s=void 0,o=-1,u=-1,a=r.clientHeight,f=n.getBoundingClientRect();do{if(n=e?Object(I.f)(this._root.current,n):Object(I.l)(this._root.current,n)){var l=n.getBoundingClientRect(),c=Math.floor(l.top),h=Math.floor(f.bottom),p=Math.floor(l.bottom),d=Math.floor(f.top),v=this._getHorizontalDistanceFromCenter(e,f,l);if(e&&c>h+a||!e&&p<d-a)break;if(v>-1)if(e&&c>o){o=c;i=v;s=n}else if(!e&&p<u){u=p;i=v;s=n}else if(-1===i||v<=i){i=v;s=n}}}while(n);var m=!1;if(s&&s!==this._activeElement){m=!0;this.focusElement(s);this._setFocusAlignment(s,!1,!0)}else if(this.props.isCircularNavigation&&t)return e?this.focusElement(Object(I.f)(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(Object(I.l)(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return m};t.prototype._setFocusAlignment=function(e,t,n){if(this.props.direction===D.bidirectional&&(!this._focusAlignment||t||n)){var r=e.getBoundingClientRect(),i=r.left+r.width/2,s=r.top+r.height/2;this._focusAlignment||(this._focusAlignment={left:i,top:s});t&&(this._focusAlignment.left=i);n&&(this._focusAlignment.top=s)}};t.prototype._isImmediateDescendantOfZone=function(e){return this._getOwnerZone(e)===this._root.current};t.prototype._getOwnerZone=function(e){for(var t=Object(q.e)(e,!1);t&&t!==this._root.current&&t!==this._getDocument().body;){if(Object(I.h)(t))return t;t=Object(q.e)(t,!1)}return t};t.prototype._updateTabIndexes=function(e){!this._activeElement&&this.props.defaultTabbableElement&&"function"==typeof this.props.defaultTabbableElement&&(this._activeElement=this.props.defaultTabbableElement(this._root.current));if(!e&&this._root.current){this._defaultFocusElement=null;e=this._root.current;this._activeElement&&!Object(z.e)(e,this._activeElement)&&(this._activeElement=null)}this._activeElement&&!Object(I.p)(this._activeElement)&&(this._activeElement=null);for(var t=e&&e.children,n=0;t&&n<t.length;n++){var r=t[n];if(Object(I.h)(r)){if("true"===r.getAttribute("data-is-focusable"))if(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==r)"-1"!==r.getAttribute("tabindex")&&r.setAttribute("tabindex","-1");else{this._defaultFocusElement=r;"0"!==r.getAttribute("tabindex")&&r.setAttribute("tabindex","0")}}else{r.getAttribute&&"false"===r.getAttribute("data-is-focusable")&&r.setAttribute("tabindex","-1");if(Object(I.p)(r))if(this.props.disabled)r.setAttribute("tabindex","-1");else if(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==r)"-1"!==r.getAttribute("tabindex")&&r.setAttribute("tabindex","-1");else{this._defaultFocusElement=r;"0"!==r.getAttribute("tabindex")&&r.setAttribute("tabindex","0")}else"svg"===r.tagName&&"false"!==r.getAttribute("focusable")&&r.setAttribute("focusable","false")}this._updateTabIndexes(r)}};t.prototype._isContentEditableElement=function(e){return e&&"true"===e.getAttribute("contenteditable")};t.prototype._isElementInput=function(e){return!(!e||!e.tagName||"input"!==e.tagName.toLowerCase()&&"textarea"!==e.tagName.toLowerCase())};t.prototype._shouldInputLoseFocus=function(e,t){if(!this._processingTabKey&&e&&e.type&&G.indexOf(e.type.toLowerCase())>-1){var n=e.selectionStart,r=n!==e.selectionEnd,i=e.value,s=e.readOnly;if(r||n>0&&!t&&!s||n!==i.length&&t&&!s||this.props.handleTabKey&&(!this.props.shouldInputLoseFocusOnArrowKey||!this.props.shouldInputLoseFocusOnArrowKey(e)))return!1}return!0};t.prototype._shouldWrapFocus=function(e,t){return!this.props.checkForNoWrap||Object(I.d)(e,t)};t.prototype._portalContainsElement=function(e){return e&&!!this._root.current&&l(e,this._root.current)};t.prototype._getDocument=function(){return Object(X.e)(this._root.current)};t.defaultProps={isCircularNavigation:!1,direction:D.bidirectional,shouldRaiseClicks:!0};return t})(i.Component),Z=n(281);function ee(e){if(void 0===J||e){var t=Object(U.e)(),n=t&&t.navigator.userAgent;J=!!n&&-1!==n.indexOf("Macintosh")}return!!J}var te=function(){return!!(window&&window.navigator&&window.navigator.userAgent)&&/iPad|iPhone|iPod/i.test(window.navigator.userAgent)};function ne(e){return e.canCheck?!(!e.isChecked&&!e.checked):"boolean"==typeof e.isChecked?e.isChecked:"boolean"==typeof e.checked?e.checked:null}function re(e){return!(!e.subMenuProps&&!e.items)}function ie(e){return!(!e.isDisabled&&!e.disabled)}function se(e){return null!==ne(e)?"menuitemcheckbox":"menuitem"}var oe,ue,ae=n(37),fe=n(153);(function(e){e[e.top=1]="top";e[e.bottom=-1]="bottom";e[e.left=2]="left";e[e.right=-2]="right"})(oe||(oe={}));(function(e){e[e.top=0]="top";e[e.bottom=1]="bottom";e[e.start=2]="start";e[e.end=3]="end"})(ue||(ue={}));var le,ce=(function(){function e(e,t,n,r){void 0===e&&(e=0);void 0===t&&(t=0);void 0===n&&(n=0);void 0===r&&(r=0);this.top=n;this.bottom=r;this.left=e;this.right=t}Object.defineProperty(e.prototype,"width",{get:function(){return this.right-this.left},enumerable:!0,configurable:!0});Object.defineProperty(e.prototype,"height",{get:function(){return this.bottom-this.top},enumerable:!0,configurable:!0});e.prototype.equals=function(e){return parseFloat(this.top.toFixed(4))===parseFloat(e.top.toFixed(4))&&parseFloat(this.bottom.toFixed(4))===parseFloat(e.bottom.toFixed(4))&&parseFloat(this.left.toFixed(4))===parseFloat(e.left.toFixed(4))&&parseFloat(this.right.toFixed(4))===parseFloat(e.right.toFixed(4))};return e})();function he(e,t,n){return{targetEdge:e,alignmentEdge:t,isAuto:n}}var pe=((le={})[A.e.topLeftEdge]=he(oe.top,oe.left),le[A.e.topCenter]=he(oe.top),le[A.e.topRightEdge]=he(oe.top,oe.right),le[A.e.topAutoEdge]=he(oe.top,void 0,!0),le[A.e.bottomLeftEdge]=he(oe.bottom,oe.left),le[A.e.bottomCenter]=he(oe.bottom),le[A.e.bottomRightEdge]=he(oe.bottom,oe.right),le[A.e.bottomAutoEdge]=he(oe.bottom,void 0,!0),le[A.e.leftTopEdge]=he(oe.left,oe.top),le[A.e.leftCenter]=he(oe.left),le[A.e.leftBottomEdge]=he(oe.left,oe.bottom),le[A.e.rightTopEdge]=he(oe.right,oe.top),le[A.e.rightCenter]=he(oe.right),le[A.e.rightBottomEdge]=he(oe.right,oe.bottom),le);function de(e,t){return!(e.top<t.top)&&(!(e.bottom>t.bottom)&&(!(e.left<t.left)&&!(e.right>t.right)))}function ve(e,t){var n=[];e.top<t.top&&n.push(oe.top);e.bottom>t.bottom&&n.push(oe.bottom);e.left<t.left&&n.push(oe.left);e.right>t.right&&n.push(oe.right);return n}function me(e,t){return e[oe[t]]}function ge(e,t,n){e[oe[t]]=n;return e}function ye(e,t){var n=Ae(t);return(me(e,n.positiveEdge)+me(e,n.negativeEdge))/2}function be(e,t){return e>0?t:-1*t}function we(e,t){return be(e,me(t,e))}function Ee(e,t,n){return be(n,me(e,n)-me(t,n))}function Se(e,t,n){var r=me(e,t)-n;e=ge(e,t,n);return e=ge(e,-1*t,me(e,-1*t)-r)}function xe(e,t,n,r){void 0===r&&(r=0);return Se(e,n,me(t,n)+be(n,r))}function Te(e,t,n){return we(n,e)>we(n,t)}function Ne(e,t,n,r,i,s,o){void 0===i&&(i=0);var u=r.alignmentEdge,a=r.alignTargetEdge,f={elementRectangle:e,targetEdge:r.targetEdge,alignmentEdge:u};s||o||(f=(function(e,t,n,r,i){void 0===i&&(i=0);var s=[oe.left,oe.right,oe.bottom,oe.top];if(Object(R.e)()){s[0]*=-1;s[1]*=-1}for(var o=e,u=r.targetEdge,a=r.alignmentEdge,f=0;f<4;f++){if(Te(o,n,u))return{elementRectangle:o,targetEdge:u,alignmentEdge:a};s.splice(s.indexOf(u),1);if(s.length>0){if(s.indexOf(-1*u)>-1)u*=-1;else{a=u;u=s.slice(-1)[0]}o=Le(e,t,{targetEdge:u,alignmentEdge:a},i)}}return{elementRectangle:e,targetEdge:r.targetEdge,alignmentEdge:r.alignmentEdge}})(e,t,n,r,i));var l=ve(e,n);if(a){if(f.alignmentEdge&&l.indexOf(-1*f.alignmentEdge)>-1){var c=(function(e,t,n,r){var i=e.alignmentEdge,s=e.targetEdge,o=-1*i;return{elementRectangle:Le(e.elementRectangle,t,{targetEdge:s,alignmentEdge:o},n,r),targetEdge:s,alignmentEdge:o}})(f,t,i,o);if(de(c.elementRectangle,n))return c;f=Ce(ve(c.elementRectangle,n),f,n)}}else f=Ce(l,f,n);return f}function Ce(e,t,n){for(var r=0,i=e;r<i.length;r++){var s=i[r];t.elementRectangle=xe(t.elementRectangle,n,s)}return t}function ke(e,t,n){var r=Ae(t).positiveEdge;return Se(e,r,n-(ye(e,t)-me(e,r)))}function Le(e,t,n,r,i){void 0===r&&(r=0);var s,o=n.alignmentEdge,u=n.targetEdge,a=i?u:-1*u;s=i?xe(e,t,u,r):(function(e,t,n,r){void 0===r&&(r=0);var i=be(-1*n,r);return Se(e,-1*n,me(t,n)+i)})(e,t,u,r);if(o)s=xe(s,t,o);else{s=ke(s,a,ye(t,u))}return s}function Ae(e){return e===oe.top||e===oe.bottom?{positiveEdge:oe.left,negativeEdge:oe.right}:{positiveEdge:oe.top,negativeEdge:oe.bottom}}function Oe(e,t,n){return n&&Math.abs(Ee(e,n,t))>Math.abs(Ee(e,n,-1*t))?-1*t:t}function Me(e){return Math.sqrt(e*e*2)}function _e(e,t,n){void 0===e&&(e=A.e.bottomAutoEdge);if(n)return{alignmentEdge:n.alignmentEdge,isAuto:n.isAuto,targetEdge:n.targetEdge};var i=Object(r.e)({},pe[e]);if(Object(R.e)()){i.alignmentEdge&&i.alignmentEdge%2==0&&(i.alignmentEdge=-1*i.alignmentEdge);return void 0!==t?pe[t]:i}return i}function De(e,t,n){var r=ye(t,e),i=ye(n,e),s=Ae(e),o=s.positiveEdge,u=s.negativeEdge;return r<=i?o:u}function Pe(e,t,n,r,i,s,o){var u=Le(e,t,r,i,o);return de(u,n)?{elementRectangle:u,targetEdge:r.targetEdge,alignmentEdge:r.alignmentEdge}:Ne(e,t,n,r,i,s,o)}function He(e,t,n){var i=-1*e.targetEdge,s=new ce(0,e.elementRectangle.width,0,e.elementRectangle.height),o={},u=Oe(e.elementRectangle,e.alignmentEdge?e.alignmentEdge:Ae(i).positiveEdge,n);o[oe[i]]=me(t,i);o[oe[u]]=Ee(t,s,u);return{elementPosition:Object(r.e)({},o),closestEdge:De(e.targetEdge,t,s),targetEdge:i}}function Be(e,t){var n=t.targetRectangle,r=Ae(t.targetEdge),i=r.positiveEdge,s=r.negativeEdge,o=ye(n,t.targetEdge),u=new ce(e/2,t.elementRectangle.width-e/2,e/2,t.elementRectangle.height-e/2),a=new ce(0,e,0,e);Te(a=ke(a=Se(a,-1*t.targetEdge,-e/2),-1*t.targetEdge,o-we(i,t.elementRectangle)),u,i)?Te(a,u,s)||(a=xe(a,u,s)):a=xe(a,u,i);return a}function je(e){var t=e.getBoundingClientRect();return new ce(t.left,t.right,t.top,t.bottom)}function Fe(e){return new ce(e.left,e.right,e.top,e.bottom)}function Ie(e,t,n,r,i){var s=0,o=pe[t],u=i?-1*o.targetEdge:o.targetEdge;return(s=u===oe.top?me(e,o.targetEdge)-r.top-n:u===oe.bottom?r.bottom-me(e,o.targetEdge)-n:r.bottom-e.top-n)>0?s:r.height}function qe(e,t,n,i){var s=e.gapSpace?e.gapSpace:0,o=(function(e,t){var n;if(t){if(t.preventDefault){var r=t;n=new ce(r.clientX,r.clientX,r.clientY,r.clientY)}else if(t.getBoundingClientRect)n=je(t);else{var i=t,s=i.left||i.x,o=i.top||i.y,u=i.right||s,a=i.bottom||o;n=new ce(s,u,o,a)}if(!de(n,e))for(var f=0,l=ve(n,e);f<l.length;f++){var c=l[f];n[oe[c]]=e[oe[c]]}}else n=new ce(0,0,0,0);return n})(n,e.target),u=(function(e,t,n,r,i){e.isAuto&&(e.alignmentEdge=De(e.targetEdge,t,n));e.alignTargetEdge=i;return e})(_e(e.directionalHint,e.directionalHintForRTL,i),o,n,e.coverTarget,e.alignTargetEdge),a=Pe(je(t),o,n,u,s,e.directionalHintFixed,e.coverTarget);return Object(r.e)(Object(r.e)({},a),{targetRectangle:o})}function Re(e,t,n,r,i){return{elementPosition:(function(e,t,n,r,i,s,o){var u={},a=je(t),f=s?n:-1*n,l=oe[f],c=i||Ae(n).positiveEdge;o||(c=Oe(e,c,r));u[l]=Ee(e,a,f);u[oe[c]]=Ee(e,a,c);return u})(e.elementRectangle,t,e.targetEdge,n,e.alignmentEdge,r,i),targetEdge:e.targetEdge,alignmentEdge:e.alignmentEdge}}function Ue(e,t,n,i,s){var o=e.isBeakVisible&&e.beakWidth||0,u=Me(o)/2+(e.gapSpace?e.gapSpace:0),a=e;a.gapSpace=u;var f=e.bounds?Fe(e.bounds):new ce(0,window.innerWidth-Object(W.s)(),0,window.innerHeight),l=qe(a,n,f,i),c=He(l,Be(o,l),f);return Object(r.e)(Object(r.e)({},Re(l,t,f,e.coverTarget,s)),{beakPosition:c})}function ze(e,t,n,r){return(function(e,t,n,r){return Ue(e,t,n,r,!0)})(e,t,n,r)}var We,Xe=n(286),Ve=((We={})[oe.top]=F.e.slideUpIn10,We[oe.bottom]=F.e.slideDownIn10,We[oe.left]=F.e.slideLeftIn10,We[oe.right]=F.e.slideRightIn10,We),$e=Object(Z.e)({disableCaching:!0}),Je=0,Ke=0,Qe={opacity:0,filter:"opacity(0)",pointerEvents:"none"},Ge=["role","aria-roledescription"],Ye=(function(e){Object(r.n)(t,e);function t(t){var n=e.call(this,t)||this;n._hostElement=i.createRef();n._calloutElement=i.createRef();n._hasListeners=!1;n._disposables=[];n.dismiss=function(e){var t=n.props.onDismiss;t&&t(e)};n._dismissOnScroll=function(e){var t=n.props,r=t.preventDismissOnEvent,i=t.preventDismissOnScroll;n.state.positions&&(r&&!r(e)||!r&&!i)&&n._dismissOnClickOrScroll(e)};n._dismissOnResize=function(e){var t=n.props,r=t.preventDismissOnEvent,i=t.preventDismissOnResize;(r&&!r(e)||!r&&!i)&&n.dismiss(e)};n._dismissOnLostFocus=function(e){var t=n.props,r=t.preventDismissOnEvent,i=t.preventDismissOnLostFocus;(r&&!r(e)||!r&&!i)&&n._dismissOnClickOrScroll(e)};n._setInitialFocus=function(){if(n.props.setInitialFocus&&!n._didSetInitialFocus&&n.state.positions&&n._calloutElement.current){n._didSetInitialFocus=!0;n._async.requestAnimationFrame(function(){return Object(I.n)(n._calloutElement.current)},n._calloutElement.current)}};n._onComponentDidMount=function(){n._addListeners();n.props.onLayerMounted&&n.props.onLayerMounted();n._updateAsyncPosition();n._setHeightOffsetEveryFrame()};n._dismissOnTargetWindowBlur=function(e){var t=n.props,r=t.preventDismissOnEvent,i=t.preventDismissOnLostFocus;t.shouldDismissOnWindowFocus&&((!r||r(e))&&(r||i)||n._targetWindow.document.hasFocus()||null!==e.relatedTarget||n.dismiss(e))};n._mouseDownOnPopup=function(){n._isMouseDownOnPopup=!0};n._mouseUpOnPopup=function(){n._isMouseDownOnPopup=!1};n._async=new d.e(n);n._didSetInitialFocus=!1;n.state={positions:void 0,slideDirectionalClassName:void 0,calloutElementRect:void 0,heightOffset:0};n._positionAttempts=0;return n}t.prototype.componentDidUpdate=function(){if(this.props.hidden)this._hasListeners&&this._removeListeners();else{this._setInitialFocus();this._hasListeners||this._addListeners();this._updateAsyncPosition()}};t.prototype.shouldComponentUpdate=function(e,t){return!(!e.shouldUpdateWhenHidden&&this.props.hidden&&e.hidden)&&(!Object(w.t)(this.props,e)||!Object(w.t)(this.state,t))};t.prototype.UNSAFE_componentWillMount=function(){this._setTargetWindowAndElement(this._getTarget())};t.prototype.componentWillUnmount=function(){this._async.dispose();this._disposables.forEach(function(e){return e()})};t.prototype.UNSAFE_componentWillUpdate=function(e){var t=this._getTarget(e);if((t!==this._getTarget()||"string"==typeof t||t instanceof String)&&!this._blockResetHeight){this._maxHeight=void 0;this._setTargetWindowAndElement(t)}e.gapSpace===this.props.gapSpace&&this.props.beakWidth===e.beakWidth||(this._maxHeight=void 0);e.finalHeight!==this.props.finalHeight&&this._setHeightOffsetEveryFrame();if(this._didPositionPropsChange(e,this.props)){this._maxHeight=void 0;this._setTargetWindowAndElement(t);this.setState({positions:void 0});this._didSetInitialFocus=!1;this._bounds=void 0}this._blockResetHeight=!1};t.prototype.componentDidMount=function(){this.props.hidden||this._onComponentDidMount()};t.prototype.render=function(){if(!this._targetWindow)return null;var e=this.props.target,t=this.props,n=t.styles,s=t.style,o=t.ariaLabel,a=t.ariaDescribedBy,f=t.ariaLabelledBy,l=t.className,c=t.isBeakVisible,h=t.children,p=t.beakWidth,d=t.calloutWidth,v=t.calloutMaxWidth,m=t.calloutMinWidth,g=t.finalHeight,y=t.hideOverflow,w=void 0===y?!!g:y,E=t.backgroundColor,S=t.calloutMaxHeight,x=t.onScroll,T=t.shouldRestoreFocus,N=void 0===T||T;e=this._getTarget();var C=this.state.positions,k=this._getMaxHeight()?this._getMaxHeight()+this.state.heightOffset:void 0,L=S&&k&&S<k?S:k,A=w,O=c&&!!e;this._classNames=$e(n,{theme:this.props.theme,className:l,overflowYHidden:A,calloutWidth:d,positions:C,beakWidth:p,backgroundColor:E,calloutMinWidth:m,calloutMaxWidth:v});var M=Object(r.e)(Object(r.e)(Object(r.e)({},s),{maxHeight:L}),A&&{overflowY:"hidden"}),_=this.props.hidden?{visibility:"hidden"}:void 0;return i.createElement("div",{ref:this._hostElement,className:this._classNames.container,style:_},i.createElement("div",Object(r.e)({},Object(b.r)(this.props,b.n,Ge),{className:Object(u.e)(this._classNames.root,C&&C.targetEdge&&Ve[C.targetEdge]),style:C?C.elementPosition:Qe,tabIndex:-1,ref:this._calloutElement}),O&&i.createElement("div",{className:this._classNames.beak,style:this._getBeakPosition()}),O&&i.createElement("div",{className:this._classNames.beakCurtain}),i.createElement(Xe.e,Object(r.e)({},Object(b.r)(this.props,Ge),{ariaLabel:o,onRestoreFocus:this.props.onRestoreFocus,ariaDescribedBy:a,ariaLabelledBy:f,className:this._classNames.calloutMain,onDismiss:this.dismiss,onScroll:x,shouldRestoreFocus:N,style:M,onMouseDown:this._mouseDownOnPopup,onMouseUp:this._mouseUpOnPopup}),h)))};t.prototype._dismissOnClickOrScroll=function(e){var t=e.target,n=this._hostElement.current&&!Object(z.e)(this._hostElement.current,t);n&&this._isMouseDownOnPopup?this._isMouseDownOnPopup=!1:(!this._target&&n||e.target!==this._targetWindow&&n&&(this._target.stopPropagation||!this._target||this.props.dismissOnTargetClick||t!==this._target&&!Object(z.e)(this._target,t)))&&this.dismiss(e)};t.prototype._addListeners=function(){var e=this;this._async.setTimeout(function(){e._disposables.push(Object(fe.e)(e._targetWindow,"scroll",e._dismissOnScroll,!0),Object(fe.e)(e._targetWindow,"resize",e._dismissOnResize,!0),Object(fe.e)(e._targetWindow.document.documentElement,"focus",e._dismissOnLostFocus,!0),Object(fe.e)(e._targetWindow.document.documentElement,"click",e._dismissOnLostFocus,!0),Object(fe.e)(e._targetWindow,"blur",e._dismissOnTargetWindowBlur,!0));e._hasListeners=!0},0)};t.prototype._removeListeners=function(){this._disposables.forEach(function(e){return e()});this._disposables=[];this._hasListeners=!1};t.prototype._updateAsyncPosition=function(){var e=this;this._async.requestAnimationFrame(function(){return e._updatePosition()},this._calloutElement.current)};t.prototype._getBeakPosition=function(){var e=this.state.positions,t=Object(r.e)({},e&&e.beakPosition?e.beakPosition.elementPosition:null);if(!(t.top||t.bottom||t.left||t.right)){t.left=Ke;t.top=Je}return t};t.prototype._updatePosition=function(){this._setTargetWindowAndElement(this._getTarget());var e=this.state.positions,t=this._hostElement.current,n=this._calloutElement.current,i=!!this.props.target;if(t&&n&&(!i||this._target)){var s=Object(r.e)({},this.props);s.bounds=this._getBounds();s.target=this._target;var o=this.props.finalHeight?ze(s,t,n,e):(function(e,t,n,r){return Ue(e,t,n,r)})(s,t,n,e);if(!e&&o||e&&o&&!this._arePositionsEqual(e,o)&&this._positionAttempts<5){this._positionAttempts++;this.setState({positions:o})}else if(this._positionAttempts>0){this._positionAttempts=0;this.props.onPositioned&&this.props.onPositioned(this.state.positions)}}};t.prototype._getBounds=function(){if(!this._bounds){var e=this.props.bounds,t="function"==typeof e?e(this.props.target,this._targetWindow):e;t||(t={top:(t=(n=this._target,r=this._targetWindow,(function(e,t){var n=void 0;t.getWindowSegments&&(n=t.getWindowSegments());if(void 0===n||n.length<=1)return{top:0,left:0,right:t.innerWidth,bottom:t.innerHeight,width:t.innerWidth,height:t.innerHeight};var r=0,i=0;if(null!==e&&e.getBoundingClientRect){var s=e.getBoundingClientRect();r=(s.left+s.right)/2;i=(s.top+s.bottom)/2}else if(null!==e){r=e.left||e.x;i=e.top||e.y}for(var o={top:0,left:0,right:0,bottom:0,width:0,height:0},u=0,a=n;u<a.length;u++){var f=a[u];r&&f.left<=r&&f.right>=r&&i&&f.top<=i&&f.bottom>=i&&(o={top:f.top,left:f.left,right:f.right,bottom:f.bottom,width:f.width,height:f.height})}return o})(n,r))).top+this.props.minPagePadding,left:t.left+this.props.minPagePadding,right:t.right-this.props.minPagePadding,bottom:t.bottom-this.props.minPagePadding,width:t.width-2*this.props.minPagePadding,height:t.height-2*this.props.minPagePadding});this._bounds=t}var n,r;return this._bounds};t.prototype._getMaxHeight=function(){var e=this;if(!this._maxHeight)if(this.props.directionalHintFixed&&this._target){var t=this.props.isBeakVisible?this.props.beakWidth:0,n=(this.props.gapSpace?this.props.gapSpace:0)+t;this._async.requestAnimationFrame(function(){if(e._target){e._maxHeight=(function(e,t,n,r,i){void 0===n&&(n=0);var s=e,o=e,u=e,a=r?Fe(r):new ce(0,window.innerWidth-Object(W.s)(),0,window.innerHeight),f=u.left||u.x,l=u.top||u.y,c=u.right||f,h=u.bottom||l;return Ie(s.stopPropagation?new ce(s.clientX,s.clientX,s.clientY,s.clientY):void 0!==f&&void 0!==l?new ce(f,c,l,h):je(o),t,n,a,i)})(e._target,e.props.directionalHint,n,e._getBounds(),e.props.coverTarget);e._blockResetHeight=!0;e.forceUpdate()}},this._target)}else this._maxHeight=this._getBounds().height;return this._maxHeight};t.prototype._arePositionsEqual=function(e,t){return this._comparePositions(e.elementPosition,t.elementPosition)&&this._comparePositions(e.beakPosition.elementPosition,t.beakPosition.elementPosition)};t.prototype._comparePositions=function(e,t){for(var n in t)if(t.hasOwnProperty(n)){var r=e[n],i=t[n];if(void 0===r||void 0===i)return!1;if(r.toFixed(2)!==i.toFixed(2))return!1}return!0};t.prototype._setTargetWindowAndElement=function(e){var t=this._calloutElement.current;if(e)if("string"==typeof e){var n=Object(X.e)(t);this._target=n?n.querySelector(e):null;this._targetWindow=Object(U.e)(t)}else if(e.stopPropagation){this._targetWindow=Object(U.e)(e.target);this._target=e}else if(e.getBoundingClientRect){var r=e;this._targetWindow=Object(U.e)(r);this._target=r}else if(void 0!==e.current){this._target=e.current;this._targetWindow=Object(U.e)(this._target)}else{this._targetWindow=Object(U.e)(t);this._target=e}else this._targetWindow=Object(U.e)(t)};t.prototype._setHeightOffsetEveryFrame=function(){var e=this;this._calloutElement.current&&this.props.finalHeight&&(this._setHeightOffsetTimer=this._async.requestAnimationFrame(function(){var t=e._calloutElement.current&&e._calloutElement.current.lastChild;if(t){var n=t.scrollHeight-t.offsetHeight;e.setState({heightOffset:e.state.heightOffset+n});t.offsetHeight<e.props.finalHeight?e._setHeightOffsetEveryFrame():e._async.cancelAnimationFrame(e._setHeightOffsetTimer,e._calloutElement.current)}},this._calloutElement.current))};t.prototype._didPositionPropsChange=function(e,t){return!e.hidden&&e.hidden!==t.hidden||e.directionalHint!==t.directionalHint||e.target!==t.target};t.prototype._getTarget=function(e){void 0===e&&(e=this.props);return e.target};t.defaultProps={preventDismissOnLostFocus:!1,preventDismissOnScroll:!1,preventDismissOnResize:!1,isBeakVisible:!0,beakWidth:16,gapSpace:0,minPagePadding:8,directionalHint:A.e.bottomAutoEdge};return t})(i.Component);function Ze(e){return{height:e,width:e}}var et,tt={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},nt=Object(O.e)(Ye,function(e){var t,n=e.theme,r=e.className,i=e.overflowYHidden,s=e.calloutWidth,o=e.beakWidth,u=e.backgroundColor,a=e.calloutMaxWidth,f=e.calloutMinWidth,l=Object(F.v)(tt,n),c=n.semanticColors,h=n.effects;return{container:[l.container,{position:"relative"}],root:[l.root,n.fonts.medium,{position:"absolute",boxSizing:"border-box",borderRadius:h.roundedCorner2,boxShadow:h.elevation16,selectors:(t={},t[F.r]={borderWidth:1,borderStyle:"solid",borderColor:"WindowText"},t)},Object(F.p)(),r,!!s&&{width:s},!!a&&{maxWidth:a},!!f&&{minWidth:f}],beak:[l.beak,{position:"absolute",backgroundColor:c.menuBackground,boxShadow:"inherit",border:"inherit",boxSizing:"border-box",transform:"rotate(45deg)"},Ze(o),u&&{backgroundColor:u}],beakCurtain:[l.beakCurtain,{position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:c.menuBackground,borderRadius:h.roundedCorner2}],calloutMain:[l.calloutMain,{backgroundColor:c.menuBackground,overflowX:"hidden",overflowY:"auto",position:"relative",borderRadius:h.roundedCorner2},i&&{overflowY:"hidden"},u&&{backgroundColor:u}]}},void 0,{scope:"CalloutContent"}),rt=n(289),it=(function(e){Object(r.n)(t,e);function t(){return null!==e&&e.apply(this,arguments)||this}t.prototype.render=function(){var e=this.props,t=e.layerProps,n=Object(r.r)(e,["layerProps"]),s=i.createElement(nt,Object(r.e)({},n));return this.props.doNotLayer?s:i.createElement(rt.e,Object(r.e)({},t),s)};return t})(i.Component),st=function(e){var t=e.item,n=e.hasIcons,s=e.classNames,o=t.iconProps;return n?t.onRenderIcon?t.onRenderIcon(e):i.createElement(T.e,Object(r.e)({},o,{className:s.icon})):null},ot=function(e){var t=e.onCheckmarkClick,n=e.item,r=e.classNames,s=ne(n);if(t){return i.createElement(T.e,{iconName:!1!==n.canCheck&&s?"CheckMark":"",className:r.checkmarkIcon,onClick:function(e){return t(n,e)}})}return null},ut=function(e){var t=e.item,n=e.classNames;return t.text||t.name?i.createElement("span",{className:n.label},t.text||t.name):null},at=function(e){var t=e.item,n=e.classNames;return t.secondaryText?i.createElement("span",{className:n.secondaryText},t.secondaryText):null},ft=function(e){var t=e.item,n=e.classNames,s=e.theme;return re(t)?i.createElement(T.e,Object(r.e)({iconName:Object(R.e)(s)?"ChevronLeft":"ChevronRight"},t.submenuIconProps,{className:n.subMenuIcon})):null},lt=(function(e){Object(r.n)(t,e);function t(t){var n=e.call(this,t)||this;n.openSubMenu=function(){var e=n.props,t=e.item,r=e.openSubMenu,i=e.getSubmenuTarget;if(i){var s=i();re(t)&&r&&s&&r(t,s)}};n.dismissSubMenu=function(){var e=n.props,t=e.item,r=e.dismissSubMenu;re(t)&&r&&r()};n.dismissMenu=function(e){var t=n.props.dismissMenu;t&&t(void 0,e)};Object(p.e)(n);return n}t.prototype.render=function(){var e=this.props,t=e.item,n=e.classNames,r=t.onRenderContent||this._renderLayout;return i.createElement("div",{className:t.split?n.linkContentMenu:n.linkContent},r(this.props,{renderCheckMarkIcon:ot,renderItemIcon:st,renderItemName:ut,renderSecondaryText:at,renderSubMenuIcon:ft}))};t.prototype._renderLayout=function(e,t){return i.createElement(i.Fragment,null,t.renderCheckMarkIcon(e),t.renderItemIcon(e),t.renderItemName(e),t.renderSecondaryText(e),t.renderSubMenuIcon(e))};return t})(i.Component),ct=Object(o.t)(function(e){return Object(F.S)({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:e.palette.neutralTertiaryAlt}})}),ht=Object(F.y)(0,F.s),pt=Object(o.t)(function(e){var t,n,i,s,o,u=e.semanticColors,a=e.fonts,f=e.palette,l=u.menuItemBackgroundHovered,c=u.menuItemTextHovered,h=u.menuItemBackgroundPressed,p=u.bodyDivider,d={item:[a.medium,{color:u.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:p,position:"relative"},root:[Object(F.d)(e),a.medium,{color:u.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:36,lineHeight:36,display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:u.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:(t={},t[F.r]=Object(r.e)({color:"GrayText",opacity:1},Object(F.m)()),t)},rootHovered:{backgroundColor:l,color:c,selectors:{".ms-ContextualMenu-icon":{color:f.themeDarkAlt},".ms-ContextualMenu-submenuIcon":{color:f.neutralPrimary}}},rootFocused:{backgroundColor:f.white},rootChecked:{selectors:{".ms-ContextualMenu-checkmarkIcon":{color:f.neutralPrimary}}},rootPressed:{backgroundColor:h,selectors:{".ms-ContextualMenu-icon":{color:f.themeDark},".ms-ContextualMenu-submenuIcon":{color:f.neutralPrimary}}},rootExpanded:{backgroundColor:h,color:u.bodyTextChecked,selectors:(n={".ms-ContextualMenu-submenuIcon":(i={},i[F.r]={color:"inherit"},i)},n[F.r]=Object(r.e)({},Object(F.m)()),n)},linkContent:{whiteSpace:"nowrap",height:"inherit",display:"flex",alignItems:"center",maxWidth:"100%"},anchorLink:{padding:"0px 8px 0 4px",textRendering:"auto",color:"inherit",letterSpacing:"normal",wordSpacing:"normal",textTransform:"none",textIndent:"0px",textShadow:"none",textDecoration:"none",boxSizing:"border-box"},label:{margin:"0 4px",verticalAlign:"middle",display:"inline-block",flexGrow:"1",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},secondaryText:{color:e.palette.neutralSecondary,paddingLeft:"20px",textAlign:"right"},icon:{display:"inline-block",minHeight:"1px",maxHeight:36,fontSize:F.i.medium,width:F.i.medium,margin:"0 4px",verticalAlign:"middle",flexShrink:"0",selectors:(s={},s[ht]={fontSize:F.i.large,width:F.i.large},s)},iconColor:{color:u.menuIcon},iconDisabled:{color:u.disabledBodyText},checkmarkIcon:{color:u.bodySubtext},subMenuIcon:{height:36,lineHeight:36,color:f.neutralSecondary,textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:F.i.small,selectors:(o={":hover":{color:f.neutralPrimary},":active":{color:f.neutralPrimary}},o[ht]={fontSize:F.i.medium},o)},splitButtonFlexContainer:[Object(F.d)(e),{display:"flex",height:36,flexWrap:"nowrap",justifyContent:"center",alignItems:"flex-start"}]};return Object(F.l)(d)}),dt=Object(F.y)(0,F.s),vt=Object(o.t)(function(e){var t;return Object(F.S)(ct(e),{wrapper:{position:"absolute",right:28,selectors:(t={},t[dt]={right:32},t)},divider:{height:16,width:1}})}),mt={item:"ms-ContextualMenu-item",divider:"ms-ContextualMenu-divider",root:"ms-ContextualMenu-link",isChecked:"is-checked",isExpanded:"is-expanded",isDisabled:"is-disabled",linkContent:"ms-ContextualMenu-linkContent",linkContentMenu:"ms-ContextualMenu-linkContent",icon:"ms-ContextualMenu-icon",iconColor:"ms-ContextualMenu-iconColor",checkmarkIcon:"ms-ContextualMenu-checkmarkIcon",subMenuIcon:"ms-ContextualMenu-submenuIcon",label:"ms-ContextualMenu-itemText",secondaryText:"ms-ContextualMenu-secondaryText",splitMenu:"ms-ContextualMenu-splitMenu",screenReaderText:"ms-ContextualMenu-screenReaderText"},gt=Object(o.t)(function(e,t,n,r,i,s,o,u,a,f,l,c){var p,d,v,m,g=pt(e),y=Object(F.v)(mt,e);return Object(F.S)({item:[y.item,g.item,o],divider:[y.divider,g.divider,u],root:[y.root,g.root,r&&[y.isChecked,g.rootChecked],i&&g.anchorLink,n&&[y.isExpanded,g.rootExpanded],t&&[y.isDisabled,g.rootDisabled],!t&&!n&&[{selectors:(p={":hover":g.rootHovered,":active":g.rootPressed},p["."+h.e+" &:focus, ."+h.e+" &:focus:hover"]=g.rootFocused,p["."+h.e+" &:hover"]={background:"inherit;"},p)}],c],splitPrimary:[g.root,{width:"calc(100% - 28px)"},r&&["is-checked",g.rootChecked],(t||l)&&["is-disabled",g.rootDisabled],!(t||l)&&!r&&[{selectors:(d={":hover":g.rootHovered},d[":hover ~ ."+y.splitMenu]=g.rootHovered,d[":active"]=g.rootPressed,d["."+h.e+" &:focus, ."+h.e+" &:focus:hover"]=g.rootFocused,d["."+h.e+" &:hover"]={background:"inherit;"},d)}]],splitMenu:[y.splitMenu,g.root,{flexBasis:"0",padding:"0 8px",minWidth:"28px"},n&&["is-expanded",g.rootExpanded],t&&["is-disabled",g.rootDisabled],!t&&!n&&[{selectors:(v={":hover":g.rootHovered,":active":g.rootPressed},v["."+h.e+" &:focus, ."+h.e+" &:focus:hover"]=g.rootFocused,v["."+h.e+" &:hover"]={background:"inherit;"},v)}]],anchorLink:g.anchorLink,linkContent:[y.linkContent,g.linkContent],linkContentMenu:[y.linkContentMenu,g.linkContent,{justifyContent:"center"}],icon:[y.icon,s&&g.iconColor,g.icon,a,t&&[y.isDisabled,g.iconDisabled]],iconColor:g.iconColor,checkmarkIcon:[y.checkmarkIcon,s&&g.checkmarkIcon,g.icon,a],subMenuIcon:[y.subMenuIcon,g.subMenuIcon,f,n&&{color:e.palette.neutralPrimary},t&&[g.iconDisabled]],label:[y.label,g.label],secondaryText:[y.secondaryText,g.secondaryText],splitContainer:[g.splitButtonFlexContainer,!t&&!r&&[{selectors:(m={},m["."+h.e+" &:focus, ."+h.e+" &:focus:hover"]=g.rootFocused,m)}]],screenReaderText:[y.screenReaderText,g.screenReaderText,F.w,{visibility:"hidden"}]})}),yt=function(e){var t=e.theme,n=e.disabled,r=e.expanded,i=e.checked,s=e.isAnchorLink,o=e.knownIcon,u=e.itemClassName,a=e.dividerClassName,f=e.iconClassName,l=e.subMenuClassName,c=e.primaryDisabled,h=e.className;return gt(t,n,r,i,s,o,u,a,f,l,c,h)},bt=Object(O.e)(lt,yt,void 0,{scope:"ContextualMenuItem"}),wt=(function(e){Object(r.n)(t,e);function t(t){var n=e.call(this,t)||this;n._onItemMouseEnter=function(e){var t=n.props,r=t.item,i=t.onItemMouseEnter;i&&i(r,e,e.currentTarget)};n._onItemClick=function(e){var t=n.props,r=t.item,i=t.onItemClickBase;i&&i(r,e,e.currentTarget)};n._onItemMouseLeave=function(e){var t=n.props,r=t.item,i=t.onItemMouseLeave;i&&i(r,e)};n._onItemKeyDown=function(e){var t=n.props,r=t.item,i=t.onItemKeyDown;i&&i(r,e)};n._onItemMouseMove=function(e){var t=n.props,r=t.item,i=t.onItemMouseMove;i&&i(r,e,e.currentTarget)};n._getSubmenuTarget=function(){};Object(p.e)(n);return n}t.prototype.shouldComponentUpdate=function(e){return!Object(w.t)(e,this.props)};return t})(i.Component);(function(e){e.KEYTIP_ADDED="keytipAdded";e.KEYTIP_REMOVED="keytipRemoved";e.KEYTIP_UPDATED="keytipUpdated";e.PERSISTED_KEYTIP_ADDED="persistedKeytipAdded";e.PERSISTED_KEYTIP_REMOVED="persistedKeytipRemoved";e.PERSISTED_KEYTIP_EXECUTE="persistedKeytipExecute";e.ENTER_KEYTIP_MODE="enterKeytipMode";e.EXIT_KEYTIP_MODE="exitKeytipMode"})(et||(et={}));var Et=(function(){function e(){this.keytips={};this.persistedKeytips={};this.sequenceMapping={};this.inKeytipMode=!1;this.shouldEnterKeytipMode=!0;this.delayUpdatingKeytipChange=!1}e.getInstance=function(){return this._instance};e.prototype.init=function(e){this.delayUpdatingKeytipChange=e};e.prototype.register=function(e,t){void 0===t&&(t=!1);var n=e;if(!t){n=this.addParentOverflow(e);this.sequenceMapping[n.keySequences.toString()]=n}var r=this._getUniqueKtp(n);t?this.persistedKeytips[r.uniqueID]=r:this.keytips[r.uniqueID]=r;if(this.inKeytipMode||!this.delayUpdatingKeytipChange){var i=t?et.PERSISTED_KEYTIP_ADDED:et.KEYTIP_ADDED;v.e.raise(this,i,{keytip:n,uniqueID:r.uniqueID})}return r.uniqueID};e.prototype.update=function(e,t){var n=this.addParentOverflow(e),r=this._getUniqueKtp(n,t),i=this.keytips[t];if(i){r.keytip.visible=i.keytip.visible;this.keytips[t]=r;delete this.sequenceMapping[i.keytip.keySequences.toString()];this.sequenceMapping[r.keytip.keySequences.toString()]=r.keytip;!this.inKeytipMode&&this.delayUpdatingKeytipChange||v.e.raise(this,et.KEYTIP_UPDATED,{keytip:r.keytip,uniqueID:r.uniqueID})}};e.prototype.unregister=function(e,t,n){void 0===n&&(n=!1);n?delete this.persistedKeytips[t]:delete this.keytips[t];!n&&delete this.sequenceMapping[e.keySequences.toString()];var r=n?et.PERSISTED_KEYTIP_REMOVED:et.KEYTIP_REMOVED;!this.inKeytipMode&&this.delayUpdatingKeytipChange||v.e.raise(this,r,{keytip:e,uniqueID:t})};e.prototype.enterKeytipMode=function(){v.e.raise(this,et.ENTER_KEYTIP_MODE)};e.prototype.exitKeytipMode=function(){v.e.raise(this,et.EXIT_KEYTIP_MODE)};e.prototype.getKeytips=function(){var e=this;return Object.keys(this.keytips).map(function(t){return e.keytips[t].keytip})};e.prototype.addParentOverflow=function(e){var t=Object(r.i)(e.keySequences);t.pop();if(0!==t.length){var n=this.sequenceMapping[t.toString()];if(n&&n.overflowSetSequence)return Object(r.e)(Object(r.e)({},e),{overflowSetSequence:n.overflowSetSequence})}return e};e.prototype.menuExecute=function(e,t){v.e.raise(this,et.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})};e.prototype._getUniqueKtp=function(e,t){void 0===t&&(t=Object(y.e)());return{keytip:Object(r.e)({},e),uniqueID:t}};e._instance=new e;return e})(),St=n(187);function xt(e){return e.reduce(function(e,t){return e+"-"+t.split("").join("-")},"ktp")}function Tt(e){var t=i.useRef(),n=e.keytipProps?Object(r.e)({disabled:e.disabled},e.keytipProps):void 0,s=(function(e){var t=i.useRef();void 0===t.current&&(t.current={value:"function"==typeof e?e():e});return t.current.value})(Et.getInstance()),o=(function(e){var t=Object(i.useRef)();Object(i.useEffect)(function(){t.current=e});return t.current})(e);i.useLayoutEffect(function(){var r,i;t.current&&n&&((null===(r=o)||void 0===r?void 0:r.keytipProps)!==e.keytipProps||(null===(i=o)||void 0===i?void 0:i.disabled)!==e.disabled)&&s.update(n,t.current)});i.useLayoutEffect(function(){n&&(t.current=s.register(n));return function(){n&&s.unregister(n,t.current)}},[]);var u={ariaDescribedBy:void 0,keytipId:void 0};n&&(u=(function(e,t,n){var i=e.addParentOverflow(t),s=x(n,(function(e){return e.length?" ktp-layer-id "+xt(e):" ktp-layer-id"})(i.keySequences)),o=Object(r.i)(i.keySequences);i.overflowSetSequence&&(o=(function(e,t){var n=t.length,i=Object(r.i)(t).pop(),s=Object(r.i)(e);return Object(St.e)(s,n-1,i)})(o,i.overflowSetSequence));var u=xt(o);return{ariaDescribedBy:s,keytipId:u}})(s,n,e.ariaDescribedBy));return u}var Nt=function(e){var t,n=e.children,i=Tt(Object(r.r)(e,["children"])),s=i.keytipId,o=i.ariaDescribedBy;return n(((t={})["data-ktp-target"]=s,t["data-ktp-execute-target"]=s,t["aria-describedby"]=o,t))},Ct=(function(e){Object(r.n)(t,e);function t(){var t=null!==e&&e.apply(this,arguments)||this;t._anchor=i.createRef();t._getMemoizedMenuButtonKeytipProps=Object(o.t)(function(e){return Object(r.e)(Object(r.e)({},e),{hasMenu:!0})});t._getSubmenuTarget=function(){return t._anchor.current?t._anchor.current:void 0};t._onItemClick=function(e){var n=t.props,r=n.item,i=n.onItemClick;i&&i(r,e)};t._renderAriaDescription=function(e,n){return e?i.createElement("span",{id:t._ariaDescriptionId,className:n},e):null};return t}t.prototype.render=function(){var e=this,t=this.props,n=t.item,s=t.classNames,o=t.index,u=t.focusableElementIndex,a=t.totalItemCount,f=t.hasCheckmarks,l=t.hasIcons,c=t.contextualMenuItemAs,h=void 0===c?bt:c,p=t.expandedMenuItemKey,d=t.onItemClick,v=t.openSubMenu,m=t.dismissSubMenu,g=t.dismissMenu,w=n.rel;n.target&&"_blank"===n.target.toLowerCase()&&(w=w||"nofollow noopener noreferrer");var E=re(n),S=Object(b.r)(n,b.e),T=ie(n),N=n.itemProps,C=n.ariaDescription,k=n.keytipProps;k&&E&&(k=this._getMemoizedMenuButtonKeytipProps(k));C&&(this._ariaDescriptionId=Object(y.e)());return i.createElement("div",null,i.createElement(Nt,{keytipProps:n.keytipProps,ariaDescribedBy:S["aria-describedby"],disabled:T},function(t){return i.createElement("a",Object(r.e)({},S,t,{ref:e._anchor,href:n.href,target:n.target,rel:w,className:s.root,role:"menuitem","aria-haspopup":E||void 0,"aria-expanded":E?n.key===p:void 0,"aria-posinset":u+1,"aria-setsize":a,"aria-disabled":ie(n),"aria-describedby":x(C?e._ariaDescriptionId:void 0,t?t["aria-describedby"]:void 0),style:n.style,onClick:e._onItemClick,onMouseEnter:e._onItemMouseEnter,onMouseLeave:e._onItemMouseLeave,onMouseMove:e._onItemMouseMove,onKeyDown:E?e._onItemKeyDown:void 0}),i.createElement(h,Object(r.e)({componentRef:n.componentRef,item:n,classNames:s,index:o,onCheckmarkClick:f&&d?d:void 0,hasIcons:l,openSubMenu:v,dismissSubMenu:m,dismissMenu:g,getSubmenuTarget:e._getSubmenuTarget},N)),e._renderAriaDescription(C,s.screenReaderText))}))};return t})(wt),kt=(function(e){Object(r.n)(t,e);function t(){var t=null!==e&&e.apply(this,arguments)||this;t._btn=i.createRef();t._getMemoizedMenuButtonKeytipProps=Object(o.t)(function(e){return Object(r.e)(Object(r.e)({},e),{hasMenu:!0})});t._renderAriaDescription=function(e,n){return e?i.createElement("span",{id:t._ariaDescriptionId,className:n},e):null};t._getSubmenuTarget=function(){return t._btn.current?t._btn.current:void 0};return t}t.prototype.render=function(){var e=this,t=this.props,n=t.item,s=t.classNames,o=t.index,u=t.focusableElementIndex,a=t.totalItemCount,f=t.hasCheckmarks,l=t.hasIcons,c=t.contextualMenuItemAs,h=void 0===c?bt:c,p=t.expandedMenuItemKey,d=t.onItemMouseDown,v=t.onItemClick,m=t.openSubMenu,g=t.dismissSubMenu,w=t.dismissMenu,E=ne(n),S=null!==E,T=se(n),N=re(n),C=n.itemProps,k=n.ariaLabel,L=n.ariaDescription,A=Object(b.r)(n,b.t);delete A.disabled;var O=n.role||T;L&&(this._ariaDescriptionId=Object(y.e)());var M=L?this._ariaDescriptionId:void 0,_={className:s.root,onClick:this._onItemClick,onKeyDown:N?this._onItemKeyDown:void 0,onMouseEnter:this._onItemMouseEnter,onMouseLeave:this._onItemMouseLeave,onMouseDown:function(e){return d?d(n,e):void 0},onMouseMove:this._onItemMouseMove,href:n.href,title:n.title,"aria-label":k,"aria-describedby":M,"aria-haspopup":N||void 0,"aria-expanded":N?n.key===p:void 0,"aria-posinset":u+1,"aria-setsize":a,"aria-disabled":ie(n),"aria-checked":"menuitemcheckbox"!==O&&"menuitemradio"!==O||!S?void 0:!!E,"aria-selected":"menuitem"===O&&S?!!E:void 0,role:O,style:n.style},D=n.keytipProps;D&&N&&(D=this._getMemoizedMenuButtonKeytipProps(D));return i.createElement(Nt,{keytipProps:D,ariaDescribedBy:A["aria-describedby"],disabled:ie(n)},function(t){return i.createElement("button",Object(r.e)({ref:e._btn},A,_,t,{"aria-describedby":x(_["aria-describedby"],t?t["aria-describedby"]:void 0)}),i.createElement(h,Object(r.e)({componentRef:n.componentRef,item:n,classNames:s,index:o,onCheckmarkClick:f&&v?v:void 0,hasIcons:l,openSubMenu:m,dismissSubMenu:g,dismissMenu:w,getSubmenuTarget:e._getSubmenuTarget},C)),e._renderAriaDescription(L,s.screenReaderText))})};return t})(wt),Lt=Object(Z.e)(),At=function(e){var t=e.styles,n=e.theme,r=e.getClassNames,s=e.className,o=Lt(t,{theme:n,getClassNames:r,className:s});return i.createElement("span",{className:o.wrapper},i.createElement("span",{className:o.divider}))};At.displayName="VerticalDividerBase";var Ot=Object(O.e)(At,function(e){var t=e.theme,n=e.getClassNames,r=e.className;if(!t)throw new Error("Theme is undefined or null.");if(n){var i=n(t);return{wrapper:[i.wrapper],divider:[i.divider]}}return{wrapper:[{display:"inline-flex",height:"100%",alignItems:"center"},r],divider:[{width:1,height:"100%",backgroundColor:t.palette.neutralTertiaryAlt}]}},void 0,{scope:"VerticalDivider"}),Mt=(function(e){Object(r.n)(t,e);function t(t){var n=e.call(this,t)||this;n._getMemoizedMenuButtonKeytipProps=Object(o.t)(function(e){return Object(r.e)(Object(r.e)({},e),{hasMenu:!0})});n._renderAriaDescription=function(e,t){return e?i.createElement("span",{id:n._ariaDescriptionId,className:t},e):null};n._onItemKeyDown=function(e){var t=n.props,r=t.item,i=t.onItemKeyDown;if(e.which===c.e.enter){n._executeItemClick(e);e.preventDefault();e.stopPropagation()}else i&&i(r,e)};n._getSubmenuTarget=function(){return n._splitButton};n._onItemMouseEnterPrimary=function(e){var t=n.props,i=t.item,s=t.onItemMouseEnter;s&&s(Object(r.e)(Object(r.e)({},i),{subMenuProps:void 0,items:void 0}),e,n._splitButton)};n._onItemMouseEnterIcon=function(e){var t=n.props,r=t.item,i=t.onItemMouseEnter;i&&i(r,e,n._splitButton)};n._onItemMouseMovePrimary=function(e){var t=n.props,i=t.item,s=t.onItemMouseMove;s&&s(Object(r.e)(Object(r.e)({},i),{subMenuProps:void 0,items:void 0}),e,n._splitButton)};n._onItemMouseMoveIcon=function(e){var t=n.props,r=t.item,i=t.onItemMouseMove;i&&i(r,e,n._splitButton)};n._onIconItemClick=function(e){var t=n.props,r=t.item,i=t.onItemClickBase;i&&i(r,e,n._splitButton?n._splitButton:e.currentTarget)};n._executeItemClick=function(e){var t=n.props,r=t.item,i=t.executeItemClick,s=t.onItemClick;if(!r.disabled&&!r.isDisabled){if(n._processingTouch&&s)return s(r,e);i&&i(r,e)}};n._onTouchStart=function(e){n._splitButton&&!("onpointerdown"in n._splitButton)&&n._handleTouchAndPointerEvent(e)};n._onPointerDown=function(e){if("touch"===e.pointerType){n._handleTouchAndPointerEvent(e);e.preventDefault();e.stopImmediatePropagation()}};n._async=new d.e(n);n._events=new v.e(n);return n}t.prototype.componentDidMount=function(){this._splitButton&&"onpointerdown"in this._splitButton&&this._events.on(this._splitButton,"pointerdown",this._onPointerDown,!0)};t.prototype.componentWillUnmount=function(){this._async.dispose();this._events.dispose()};t.prototype.render=function(){var e=this,t=this.props,n=t.item,s=t.classNames,o=t.index,u=t.focusableElementIndex,a=t.totalItemCount,f=t.hasCheckmarks,l=t.hasIcons,c=t.onItemMouseLeave,h=t.expandedMenuItemKey,p=re(n),d=n.keytipProps;d&&(d=this._getMemoizedMenuButtonKeytipProps(d));var v=n.ariaDescription;v&&(this._ariaDescriptionId=Object(y.e)());return i.createElement(Nt,{keytipProps:d,disabled:ie(n)},function(t){return i.createElement("div",{"data-ktp-target":t["data-ktp-target"],ref:function(t){return e._splitButton=t},role:se(n),"aria-label":n.ariaLabel,className:s.splitContainer,"aria-disabled":ie(n),"aria-expanded":p?n.key===h:void 0,"aria-haspopup":!0,"aria-describedby":x(v?e._ariaDescriptionId:void 0,t["aria-describedby"]),"aria-checked":n.isChecked||n.checked,"aria-posinset":u+1,"aria-setsize":a,onMouseEnter:e._onItemMouseEnterPrimary,onMouseLeave:c?c.bind(e,Object(r.e)(Object(r.e)({},n),{subMenuProps:null,items:null})):void 0,onMouseMove:e._onItemMouseMovePrimary,onKeyDown:e._onItemKeyDown,onClick:e._executeItemClick,onTouchStart:e._onTouchStart,tabIndex:0,"data-is-focusable":!0,"aria-roledescription":n["aria-roledescription"]},e._renderSplitPrimaryButton(n,s,o,f,l),e._renderSplitDivider(n),e._renderSplitIconButton(n,s,o,t),e._renderAriaDescription(v,s.screenReaderText))})};t.prototype._renderSplitPrimaryButton=function(e,t,n,s,o){var u=this.props,a=u.contextualMenuItemAs,f=void 0===a?bt:a,l=u.onItemClick,c={key:e.key,disabled:ie(e)||e.primaryDisabled,name:e.name,text:e.text||e.name,secondaryText:e.secondaryText,className:t.splitPrimary,canCheck:e.canCheck,isChecked:e.isChecked,checked:e.checked,iconProps:e.iconProps,onRenderIcon:e.onRenderIcon,data:e.data,"data-is-focusable":!1},h=e.itemProps;return i.createElement("button",Object(r.e)({},Object(b.r)(c,b.t)),i.createElement(f,Object(r.e)({"data-is-focusable":!1,item:c,classNames:t,index:n,onCheckmarkClick:s&&l?l:void 0,hasIcons:o},h)))};t.prototype._renderSplitDivider=function(e){var t=e.getSplitButtonVerticalDividerClassNames||vt;return i.createElement(Ot,{getClassNames:t})};t.prototype._renderSplitIconButton=function(e,t,n,s){var o=this.props,u=o.contextualMenuItemAs,a=void 0===u?bt:u,f=o.onItemMouseLeave,l=o.onItemMouseDown,c=o.openSubMenu,h=o.dismissSubMenu,p=o.dismissMenu,d={onClick:this._onIconItemClick,disabled:ie(e),className:t.splitMenu,subMenuProps:e.subMenuProps,submenuIconProps:e.submenuIconProps,split:!0,key:e.key},v=Object(r.e)(Object(r.e)({},Object(b.r)(d,b.t)),{onMouseEnter:this._onItemMouseEnterIcon,onMouseLeave:f?f.bind(this,e):void 0,onMouseDown:function(t){return l?l(e,t):void 0},onMouseMove:this._onItemMouseMoveIcon,"data-is-focusable":!1,"data-ktp-execute-target":s["data-ktp-execute-target"],"aria-hidden":!0}),m=e.itemProps;return i.createElement("button",Object(r.e)({},v),i.createElement(a,Object(r.e)({componentRef:e.componentRef,item:d,classNames:t,index:n,hasIcons:!1,openSubMenu:c,dismissSubMenu:h,dismissMenu:p,getSubmenuTarget:this._getSubmenuTarget},m)))};t.prototype._handleTouchAndPointerEvent=function(e){var t=this,n=this.props.onTap;n&&n(e);if(this._lastTouchTimeoutId){this._async.clearTimeout(this._lastTouchTimeoutId);this._lastTouchTimeoutId=void 0}this._processingTouch=!0;this._lastTouchTimeoutId=this._async.setTimeout(function(){t._processingTouch=!1;t._lastTouchTimeoutId=void 0},500)};return t})(wt),_t=Object(Z.e)(),Dt=Object(Z.e)();function Pt(e,t){var n,i=null===(n=t)||void 0===n?void 0:n.target,s=e.subMenuProps?e.subMenuProps.items:e.items;if(s){for(var o=[],u=0,a=s;u<a.length;u++){var f=a[u];if(f.preferMenuTargetAsEventTarget){var l=f.onClick,c=Object(r.r)(f,["onClick"]);o.push(Object(r.e)(Object(r.e)({},c),{onClick:jt(l,i)}))}else o.push(f)}return o}}var Ht=Object(o.t)(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return F.c.apply(void 0,Object(r.i)([t,yt],e))}}),Bt=(function(e){Object(r.n)(t,e);function t(t){var n=e.call(this,t)||this;n._mounted=!1;n.dismiss=function(e,t){var r=n.props.onDismiss;r&&r(e,t)};n._tryFocusPreviousActiveElement=function(e){n.props.onRestoreFocus?n.props.onRestoreFocus(e):e&&e.containsFocus&&n._previousActiveElement&&n._previousActiveElement.focus&&n._previousActiveElement.focus()};n._onRenderMenuList=function(e,t){var r=0,s=e.items,o=e.totalItemCount,u=e.hasCheckmarks,a=e.hasIcons;return i.createElement("ul",{className:n._classNames.list,onKeyDown:n._onKeyDown,onKeyUp:n._onKeyUp,role:"presentation"},s.map(function(e,t){var i=n._renderMenuItem(e,t,r,o,u,a);if(e.itemType!==M.Divider&&e.itemType!==M.Header){var s=e.customOnRenderListLength?e.customOnRenderListLength:1;r+=s}return i}))};n._renderMenuItem=function(e,t,r,s,o,u){var a,f,l=[],c=e.iconProps||{iconName:"None"},h=e.getItemClassNames,p=e.itemProps,d=p?p.styles:void 0,v=e.itemType===M.Divider?e.className:void 0,m=e.submenuIconProps?e.submenuIconProps.className:"";if(h)f=h(n.props.theme,ie(e),n.state.expandedMenuItemKey===e.key,!!ne(e),!!e.href,"None"!==c.iconName,e.className,v,c.className,m,e.primaryDisabled);else{var g={theme:n.props.theme,disabled:ie(e),expanded:n.state.expandedMenuItemKey===e.key,checked:!!ne(e),isAnchorLink:!!e.href,knownIcon:"None"!==c.iconName,itemClassName:e.className,dividerClassName:v,iconClassName:c.className,subMenuClassName:m,primaryDisabled:e.primaryDisabled};f=Dt(Ht(null===(a=n._classNames.subComponentStyles)||void 0===a?void 0:a.menuItem,d),g)}"-"!==e.text&&"-"!==e.name||(e.itemType=M.Divider);switch(e.itemType){case M.Divider:l.push(n._renderSeparator(t,f));break;case M.Header:l.push(n._renderSeparator(t,f));var y=n._renderHeaderMenuItem(e,f,t,o,u);l.push(n._renderListItem(y,e.key||t,f,e.title));break;case M.Section:l.push(n._renderSectionItem(e,f,t,o,u));break;default:var b=n._renderNormalItem(e,f,t,r,s,o,u);l.push(n._renderListItem(b,e.key||t,f,e.title))}return i.createElement(i.Fragment,{key:e.key},l)};n._defaultMenuItemRenderer=function(e){var t=e.index,r=e.focusableElementIndex,i=e.totalItemCount,s=e.hasCheckmarks,o=e.hasIcons;return n._renderMenuItem(e,t,r,i,s,o)};n._onKeyDown=function(e){n._lastKeyDownWasAltOrMeta=n._isAltOrMeta(e);var t=e.which===c.e.escape&&(ee()||te());return n._keyHandler(e,n._shouldHandleKeyDown,t)};n._shouldHandleKeyDown=function(e){return e.which===c.e.escape||n._shouldCloseSubMenu(e)||e.which===c.e.up&&(e.altKey||e.metaKey)};n._onMenuFocusCapture=function(e){n.props.delayUpdateFocusOnHover&&(n._shouldUpdateFocusOnMouseEvent=!0)};n._onKeyUp=function(e){return n._keyHandler(e,n._shouldHandleKeyUp,!0)};n._shouldHandleKeyUp=function(e){var t=n._lastKeyDownWasAltOrMeta&&n._isAltOrMeta(e);n._lastKeyDownWasAltOrMeta=!1;return!!t&&!(te()||ee())};n._keyHandler=function(e,t,r){var i=!1;if(t(e)){n._focusingPreviousElement=!0;n.dismiss(e,r);e.preventDefault();e.stopPropagation();i=!0}return i};n._shouldCloseSubMenu=function(e){var t=Object(R.e)(n.props.theme)?c.e.right:c.e.left;return!(e.which!==t||!n.props.isSubMenu)&&(n._adjustedFocusZoneProps.direction===D.vertical||!!n._adjustedFocusZoneProps.checkForNoWrap&&!Object(I.d)(e.target,"data-no-horizontal-wrap"))};n._onMenuKeyDown=function(e){if(!n._onKeyDown(e)&&n._host){var t=!(!e.altKey&&!e.metaKey),r=e.which===c.e.up,i=e.which===c.e.down;if(!t&&(r||i)){var s=r?Object(I.u)(n._host,n._host.lastChild,!0):Object(I.i)(n._host,n._host.firstChild,!0);if(s){s.focus();e.preventDefault();e.stopPropagation()}}}};n._onScroll=function(){if(n._isScrollIdle||void 0===n._scrollIdleTimeoutId)n._isScrollIdle=!1;else{n._async.clearTimeout(n._scrollIdleTimeoutId);n._scrollIdleTimeoutId=void 0}n._scrollIdleTimeoutId=n._async.setTimeout(function(){n._isScrollIdle=!0},250)};n._onItemMouseEnterBase=function(e,t,r){n._shouldIgnoreMouseEvent()||n._updateFocusOnMouseEvent(e,t,r)};n._onItemMouseMoveBase=function(e,t,r){var i=t.currentTarget;if(n._shouldUpdateFocusOnMouseEvent){n._gotMouseMove=!0;n._isScrollIdle&&void 0===n._enterTimerId&&i!==n._targetWindow.document.activeElement&&n._updateFocusOnMouseEvent(e,t,r)}};n._onMouseItemLeave=function(e,t){if(!n._shouldIgnoreMouseEvent()){if(void 0!==n._enterTimerId){n._async.clearTimeout(n._enterTimerId);n._enterTimerId=void 0}if(void 0===n.state.expandedMenuItemKey)if(n._host.setActive)try{n._host.setActive()}catch(e){}else n._host.focus()}};n._onItemMouseDown=function(e,t){e.onMouseDown&&e.onMouseDown(e,t)};n._onItemClick=function(e,t){n._onItemClickBase(e,t,t.currentTarget)};n._onItemClickBase=function(e,t,r){var i=Pt(e,{target:n.props.target});n._cancelSubMenuTimer();if(re(e)||i&&i.length){if(e.key!==n.state.expandedMenuItemKey){n.setState({expandedByMouseClick:0!==t.nativeEvent.detail||"mouse"===t.nativeEvent.pointerType});n._onItemSubMenuExpand(e,r)}}else n._executeItemClick(e,t);t.stopPropagation();t.preventDefault()};n._onAnchorClick=function(e,t){n._executeItemClick(e,t);t.stopPropagation()};n._executeItemClick=function(e,t){var r=n.props.target;if(!e.disabled&&!e.isDisabled){e.preferMenuTargetAsEventTarget&&Ft(t,r);var i=!1;e.onClick?i=!!e.onClick(t,e):n.props.onItemClick&&(i=!!n.props.onItemClick(t,e));if(i||!t.defaultPrevented){n.dismiss(t,!0);n._focusingPreviousElement=!0}}};n._onItemKeyDown=function(e,t){var r=Object(R.e)(n.props.theme)?c.e.left:c.e.right;if(!e.disabled&&(t.which===r||t.which===c.e.enter||t.which===c.e.down&&(t.altKey||t.metaKey))){n.setState({expandedByMouseClick:!1});n._onItemSubMenuExpand(e,t.currentTarget);t.preventDefault()}};n._cancelSubMenuTimer=function(){if(void 0!==n._enterTimerId){n._async.clearTimeout(n._enterTimerId);n._enterTimerId=void 0}};n._onItemSubMenuExpand=function(e,t){if(n.state.expandedMenuItemKey!==e.key){n.state.expandedMenuItemKey&&n._onSubMenuDismiss();t.focus();n.setState({expandedMenuItemKey:e.key,submenuTarget:t})}};n._onSubMenuDismiss=function(e,t){t?n.dismiss(e,t):n._mounted&&n.setState({dismissedMenuItemKey:n.state.expandedMenuItemKey,expandedMenuItemKey:void 0,submenuTarget:void 0})};n._onPointerAndTouchEvent=function(e){n._cancelSubMenuTimer()};n._async=new d.e(n);n._events=new v.e(n);Object(p.e)(n);Object(g.e)("ContextualMenu",t,{getMenuClassNames:"styles"});n.state={contextualMenuItems:void 0,subMenuId:Object(y.e)("ContextualMenu")};n._id=t.id||Object(y.e)("ContextualMenu");n._focusingPreviousElement=!1;n._isScrollIdle=!0;n._shouldUpdateFocusOnMouseEvent=!n.props.delayUpdateFocusOnHover;n._gotMouseMove=!1;return n}t.prototype.shouldComponentUpdate=function(e,t){return!(!e.shouldUpdateWhenHidden&&this.props.hidden&&e.hidden)&&(!Object(w.t)(this.props,e)||!Object(w.t)(this.state,t))};t.prototype.UNSAFE_componentWillUpdate=function(e){if(e.target!==this.props.target){var t=e.target;this._setTargetWindowAndElement(t)}if(this._isHidden(e)!==this._isHidden(this.props))if(this._isHidden(e))this._onMenuClosed();else{this._onMenuOpened();this._previousActiveElement=this._targetWindow?this._targetWindow.document.activeElement:void 0}if(e.delayUpdateFocusOnHover!==this.props.delayUpdateFocusOnHover){this._shouldUpdateFocusOnMouseEvent=!e.delayUpdateFocusOnHover;this._gotMouseMove=this._shouldUpdateFocusOnMouseEvent&&this._gotMouseMove}};t.prototype.UNSAFE_componentWillMount=function(){var e=this.props.target;this._setTargetWindowAndElement(e);this.props.hidden||(this._previousActiveElement=this._targetWindow?this._targetWindow.document.activeElement:void 0)};t.prototype.componentDidMount=function(){this.props.hidden||this._onMenuOpened();this._mounted=!0};t.prototype.componentWillUnmount=function(){this.props.onMenuDismissed&&this.props.onMenuDismissed(this.props);this._events.dispose();this._async.dispose();this._mounted=!1};t.prototype.render=function(){var e=this,t=this.props.isBeakVisible,n=this.props,s=n.items,o=n.labelElementId,a=n.id,f=n.className,l=n.beakWidth,c=n.directionalHint,h=n.directionalHintForRTL,p=n.alignTargetEdge,d=n.gapSpace,v=n.coverTarget,m=n.ariaLabel,g=n.doNotLayer,y=n.target,b=n.bounds,w=n.useTargetWidth,E=n.useTargetAsMinWidth,S=n.directionalHintFixed,x=n.shouldFocusOnMount,T=n.shouldFocusOnContainer,N=n.title,C=n.styles,k=n.theme,L=n.calloutProps,A=n.onRenderSubMenu,O=void 0===A?this._onRenderSubMenu:A,_=n.onRenderMenuList,D=void 0===_?this._onRenderMenuList:_,H=n.focusZoneProps,B=n.getMenuClassNames;this._classNames=B?B(k,f):_t(C,{theme:k,className:f});var j=(function e(t){for(var n=0,r=t;n<r.length;n++){var i=r[n];if(i.iconProps)return!0;if(i.itemType===M.Section&&i.sectionProps&&e(i.sectionProps.items))return!0}return!1})(s);this._adjustedFocusZoneProps=Object(r.e)(Object(r.e)({},H),{direction:this._getFocusZoneDirection()});var F,I=(function(e){return e.some(function(e){return!!e.canCheck||!(!e.sectionProps||!e.sectionProps.items.some(function(e){return!0===e.canCheck}))})})(s),q=this.state.expandedMenuItemKey&&!0!==this.props.hidden?this._getSubmenuProps():null;t=void 0===t?this.props.responsiveMode<=ae.e.medium:t;var R=this._target;if((w||E)&&R&&R.offsetWidth){var U=R.getBoundingClientRect().width-2;w?F={width:U}:E&&(F={minWidth:U})}if(s&&s.length>0){for(var z=0,W=0,X=s;W<X.length;W++){var V=X[W];if(V.itemType!==M.Divider&&V.itemType!==M.Header){z+=V.customOnRenderListLength?V.customOnRenderListLength:1}}var $=this._classNames.subComponentStyles?this._classNames.subComponentStyles.callout:void 0;return i.createElement(it,Object(r.e)({styles:$,onRestoreFocus:this._tryFocusPreviousActiveElement},L,{target:y,isBeakVisible:t,beakWidth:l,directionalHint:c,directionalHintForRTL:h,gapSpace:d,coverTarget:v,doNotLayer:g,className:Object(u.e)("ms-ContextualMenu-Callout",L&&L.className),setInitialFocus:x,onDismiss:this.props.onDismiss,onScroll:this._onScroll,bounds:b,directionalHintFixed:S,alignTargetEdge:p,hidden:this.props.hidden}),i.createElement("div",{style:F,ref:function(t){return e._host=t},id:a,className:this._classNames.container,tabIndex:T?0:-1,onKeyDown:this._onMenuKeyDown,onKeyUp:this._onKeyUp,onFocusCapture:this._onMenuFocusCapture,"aria-label":m,"aria-labelledby":o,role:"menu"},N&&i.createElement("div",{className:this._classNames.title}," ",N," "),s&&s.length?i.createElement(Y,Object(r.e)({className:this._classNames.root,isCircularNavigation:!0,handleTabKey:P},this._adjustedFocusZoneProps),D({ariaLabel:m,items:s,totalItemCount:z,hasCheckmarks:I,hasIcons:j,defaultMenuItemRenderer:this._defaultMenuItemRenderer,labelElementId:o},this._onRenderMenuList)):null,q&&O(q,this._onRenderSubMenu)))}return null};t.prototype._isHidden=function(e){return!!e.hidden};t.prototype._onMenuOpened=function(){this._events.on(this._targetWindow,"resize",this.dismiss);this._shouldUpdateFocusOnMouseEvent=!this.props.delayUpdateFocusOnHover;this._gotMouseMove=!1;this.props.onMenuOpened&&this.props.onMenuOpened(this.props)};t.prototype._onMenuClosed=function(){this._events.off(this._targetWindow,"resize",this.dismiss);this._tryFocusPreviousActiveElement({containsFocus:this._focusingPreviousElement,documentContainsFocus:this._targetWindow.document.hasFocus(),originalElement:this._previousActiveElement});this._focusingPreviousElement=!1;this.props.onMenuDismissed&&this.props.onMenuDismissed(this.props);this._shouldUpdateFocusOnMouseEvent=!this.props.delayUpdateFocusOnHover;this.setState({expandedByMouseClick:void 0,dismissedMenuItemKey:void 0,expandedMenuItemKey:void 0,submenuTarget:void 0})};t.prototype._getFocusZoneDirection=function(){var e=this.props.focusZoneProps;return e&&void 0!==e.direction?e.direction:D.vertical};t.prototype._onRenderSubMenu=function(e,t){throw Error("ContextualMenuBase: onRenderSubMenu callback is null or undefined. Please ensure to set `onRenderSubMenu` property either manually or with `styled` helper.")};t.prototype._renderSectionItem=function(e,t,n,s,o){var u=this,a=e.sectionProps;if(a){var f,l;if(a.title){var c=void 0,h="";if("string"==typeof a.title){var p=this._id+a.title.replace(/\s/g,"");c={key:"section-"+a.title+"-title",itemType:M.Header,text:a.title,id:p};h=p}else{p=a.title.id||this._id+a.title.key.replace(/\s/g,"");c=Object(r.e)(Object(r.e)({},a.title),{id:p});h=p}if(c){l={role:"group","aria-labelledby":h};f=this._renderHeaderMenuItem(c,t,n,s,o)}}return a.items&&a.items.length>0?i.createElement("li",{role:"presentation",key:a.key||e.key||"section-"+n},i.createElement("div",Object(r.e)({},l),i.createElement("ul",{className:this._classNames.list,role:"presentation"},a.topDivider&&this._renderSeparator(n,t,!0,!0),f&&this._renderListItem(f,e.key||n,t,e.title),a.items.map(function(e,t){return u._renderMenuItem(e,t,t,a.items.length,s,o)}),a.bottomDivider&&this._renderSeparator(n,t,!1,!0)))):void 0}};t.prototype._renderListItem=function(e,t,n,r){return i.createElement("li",{role:"presentation",title:r,key:t,className:n.item},e)};t.prototype._renderSeparator=function(e,t,n,r){return r||e>0?i.createElement("li",{role:"separator",key:"separator-"+e+(void 0===n?"":n?"-top":"-bottom"),className:t.divider,"aria-hidden":"true"}):null};t.prototype._renderNormalItem=function(e,t,n,i,s,o,u){return e.onRender?e.onRender(Object(r.e)({"aria-posinset":i+1,"aria-setsize":s},e),this.dismiss):e.href?this._renderAnchorMenuItem(e,t,n,i,s,o,u):e.split&&re(e)?this._renderSplitButton(e,t,n,i,s,o,u):this._renderButtonItem(e,t,n,i,s,o,u)};t.prototype._renderHeaderMenuItem=function(e,t,n,s,o){var u=this.props.contextualMenuItemAs,a=void 0===u?bt:u,f=e.itemProps,l=e.id,c=f&&Object(b.r)(f,b.n);return i.createElement("div",Object(r.e)({id:l,className:this._classNames.header},c,{style:e.style}),i.createElement(a,Object(r.e)({item:e,classNames:t,index:n,onCheckmarkClick:s?this._onItemClick:void 0,hasIcons:o},f)))};t.prototype._renderAnchorMenuItem=function(e,t,n,r,s,o,u){var a=this.props.contextualMenuItemAs,f=this.state.expandedMenuItemKey;return i.createElement(Ct,{item:e,classNames:t,index:n,focusableElementIndex:r,totalItemCount:s,hasCheckmarks:o,hasIcons:u,contextualMenuItemAs:a,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onAnchorClick,onItemKeyDown:this._onItemKeyDown,expandedMenuItemKey:f,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})};t.prototype._renderButtonItem=function(e,t,n,r,s,o,u){var a=this.props.contextualMenuItemAs,f=this.state.expandedMenuItemKey;return i.createElement(kt,{item:e,classNames:t,index:n,focusableElementIndex:r,totalItemCount:s,hasCheckmarks:o,hasIcons:u,contextualMenuItemAs:a,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,expandedMenuItemKey:f,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})};t.prototype._renderSplitButton=function(e,t,n,r,s,o,u){var a=this.props.contextualMenuItemAs,f=this.state.expandedMenuItemKey;return i.createElement(Mt,{item:e,classNames:t,index:n,focusableElementIndex:r,totalItemCount:s,hasCheckmarks:o,hasIcons:u,contextualMenuItemAs:a,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss,expandedMenuItemKey:f,onTap:this._onPointerAndTouchEvent})};t.prototype._isAltOrMeta=function(e){return e.which===c.e.alt||"Meta"===e.key};t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove};t.prototype._updateFocusOnMouseEvent=function(e,t,n){var r=this,i=n||t.currentTarget,s=this.props.subMenuHoverDelay,o=void 0===s?250:s;if(e.key!==this.state.expandedMenuItemKey){if(void 0!==this._enterTimerId){this._async.clearTimeout(this._enterTimerId);this._enterTimerId=void 0}void 0===this.state.expandedMenuItemKey&&i.focus();if(re(e)){t.stopPropagation();this._enterTimerId=this._async.setTimeout(function(){i.focus();r.setState({expandedByMouseClick:!0});r._onItemSubMenuExpand(e,i);r._enterTimerId=void 0},o)}else this._enterTimerId=this._async.setTimeout(function(){r._onSubMenuDismiss(t);i.focus();r._enterTimerId=void 0},o)}};t.prototype._getSubmenuProps=function(){var e=this.state,t=e.submenuTarget,n=e.expandedMenuItemKey,r=this._findItemByKey(n),i=null,s=this.props.target;if(r){i={items:Pt(r,{target:s}),target:t,onDismiss:this._onSubMenuDismiss,isSubMenu:!0,id:this.state.subMenuId,shouldFocusOnMount:!0,shouldFocusOnContainer:this.state.expandedByMouseClick,directionalHint:Object(R.e)(this.props.theme)?A.e.leftTopEdge:A.e.rightTopEdge,className:this.props.className,gapSpace:0,isBeakVisible:!1};r.subMenuProps&&Object(w.e)(i,r.subMenuProps);if(r.preferMenuTargetAsEventTarget){var o=r.onItemClick;i.onItemClick=jt(o,s)}}return i};t.prototype._findItemByKey=function(e){var t=this.props.items;return this._findItemByKeyFromItems(e,t)};t.prototype._findItemByKeyFromItems=function(e,t){for(var n=0,r=t;n<r.length;n++){var i=r[n];if(i.itemType===M.Section&&i.sectionProps){var s=this._findItemByKeyFromItems(e,i.sectionProps.items);if(s)return s}else if(i.key&&i.key===e)return i}};t.prototype._setTargetWindowAndElement=function(e){var t=this._host;if(e)if("string"==typeof e){var n=Object(X.e)(t);this._target=n?n.querySelector(e):null;this._targetWindow=Object(U.e)(t)}else if(e.stopPropagation){this._targetWindow=Object(U.e)(e.target);this._target=e}else if(void 0===e.left&&void 0===e.x||void 0===e.top&&void 0===e.y)if(void 0!==e.current){this._target=e.current;this._targetWindow=Object(U.e)(this._target)}else{var r=e;this._targetWindow=Object(U.e)(r);this._target=e}else{this._targetWindow=Object(U.e)(t);this._target=e}else this._targetWindow=Object(U.e)(t)};t.defaultProps={items:[],shouldFocusOnMount:!0,gapSpace:0,directionalHint:A.e.bottomAutoEdge,beakWidth:16};return t=Object(r.t)([ae.t],t)})(i.Component);function jt(e,t){return e?function(n,r){Ft(n,t);return e(n,r)}:e}function Ft(e,t){if(e&&t){e.persist();t instanceof Event?e.target=t.target:t instanceof Element&&(e.target=t)}}var It={root:"ms-ContextualMenu",container:"ms-ContextualMenu-container",list:"ms-ContextualMenu-list",header:"ms-ContextualMenu-header",title:"ms-ContextualMenu-title",isopen:"is-open"};function qt(e){return i.createElement(Rt,Object(r.e)({},e))}var Rt=Object(O.e)(Bt,function(e){var t=e.className,n=e.theme,r=Object(F.v)(It,n),i=n.fonts,s=n.semanticColors,o=n.effects;return{root:[n.fonts.medium,r.root,r.isopen,{backgroundColor:s.menuBackground,minWidth:"180px"},t],container:[r.container,{selectors:{":focus":{outline:0}}}],list:[r.list,r.isopen,{listStyleType:"none",margin:"0",padding:"0"}],header:[r.header,i.small,{fontWeight:F.n.semibold,color:s.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:36,lineHeight:36,cursor:"default",padding:"0px 6px",userSelect:"none",textAlign:"left"}],title:[r.title,{fontSize:i.mediumPlus.fontSize,paddingRight:"14px",paddingLeft:"14px",paddingBottom:"5px",paddingTop:"5px",backgroundColor:s.menuItemBackgroundPressed}],subComponentStyles:{callout:{root:{boxShadow:o.elevation8}},menuItem:{}}}},function(e){return{onRenderSubMenu:e.onRenderSubMenu?(t=e.onRenderSubMenu,n=qt,_(t)(n)):qt};var t,n},{scope:"ContextualMenu"}),Ut=Rt,zt=n(26),Wt=n(113);var Xt=Object(o.e)(function(e){var t=e;return Object(o.e)(function(n){if(e===n)throw new Error("Attempted to compose a component with itself.");var s=n,u=Object(o.e)(function(e){return function(t){return i.createElement(s,Object(r.e)({},t,{defaultRender:e}))}});return function(e){var n=e.defaultRender;return i.createElement(t,Object(r.e)({},e,{defaultRender:n?u(n):s}))}})});var Vt=(function(e){Object(r.n)(t,e);function t(t){var n=e.call(this,t)||this;n._buttonElement=i.createRef();n._splitButtonContainer=i.createRef();n._mergedRef=Object(s.e)();n._renderedVisibleMenu=!1;n._getMemoizedMenuButtonKeytipProps=Object(o.t)(function(e){return Object(r.e)(Object(r.e)({},e),{hasMenu:!0})});n._onRenderIcon=function(e,t){var s=n.props.iconProps;if(s&&(void 0!==s.iconName||s.imageProps)){var o=s.className,a=s.imageProps,f=Object(r.r)(s,["className","imageProps"]);if(s.styles)return i.createElement(T.e,Object(r.e)({className:Object(u.e)(n._classNames.icon,o),imageProps:a},f));if(s.iconName)return i.createElement(N.e,Object(r.e)({className:Object(u.e)(n._classNames.icon,o)},f));if(a)return i.createElement(L,Object(r.e)({className:Object(u.e)(n._classNames.icon,o),imageProps:a},f))}return null};n._onRenderTextContents=function(){var e=n.props,t=e.text,r=e.children,s=e.secondaryText,o=void 0===s?n.props.description:s,u=e.onRenderText,a=void 0===u?n._onRenderText:u,f=e.onRenderDescription,l=void 0===f?n._onRenderDescription:f;return t||"string"==typeof r||o?i.createElement("span",{className:n._classNames.textContainer},a(n.props,n._onRenderText),l(n.props,n._onRenderDescription)):[a(n.props,n._onRenderText),l(n.props,n._onRenderDescription)]};n._onRenderText=function(){var e=n.props.text,t=n.props.children;void 0===e&&"string"==typeof t&&(e=t);return n._hasText()?i.createElement("span",{key:n._labelId,className:n._classNames.label,id:n._labelId},e):null};n._onRenderChildren=function(){var e=n.props.children;return"string"==typeof e?null:e};n._onRenderDescription=function(e){var t=e.secondaryText,r=void 0===t?n.props.description:t;return r?i.createElement("span",{key:n._descriptionId,className:n._classNames.description,id:n._descriptionId},r):null};n._onRenderAriaDescription=function(){var e=n.props.ariaDescription;return e?i.createElement("span",{className:n._classNames.screenReaderText,id:n._ariaDescriptionId},e):null};n._onRenderMenuIcon=function(e){var t=n.props.menuIconProps;return i.createElement(N.e,Object(r.e)({iconName:"ChevronDown"},t,{className:n._classNames.menuIcon}))};n._onRenderMenu=function(e){var t,s,o=n.props.menuAs?(t=n.props.menuAs,s=Ut,Xt(t)(s)):Ut;return i.createElement(o,Object(r.e)({},e))};n._onDismissMenu=function(e){var t=n.props.menuProps;t&&t.onDismiss&&t.onDismiss(e);e&&e.defaultPrevented||n._dismissMenu()};n._dismissMenu=function(){n._menuShouldFocusOnMount=void 0;n._menuShouldFocusOnContainer=void 0;n.setState({menuHidden:!0})};n._openMenu=function(e,t){void 0===t&&(t=!0);if(n.props.menuProps){n._menuShouldFocusOnContainer=e;n._menuShouldFocusOnMount=t;n._renderedVisibleMenu=!0;n.setState({menuHidden:!1})}};n._onToggleMenu=function(e){var t=!0;n.props.menuProps&&!1===n.props.menuProps.shouldFocusOnMount&&(t=!1);n.state.menuHidden?n._openMenu(e,t):n._dismissMenu()};n._onSplitContainerFocusCapture=function(e){var t=n._splitButtonContainer.current;!t||e.target&&l(e.target,t)||t.focus()};n._onSplitButtonPrimaryClick=function(e){n.state.menuHidden||n._dismissMenu();!n._processingTouch&&n.props.onClick?n.props.onClick(e):n._processingTouch&&n._onMenuClick(e)};n._onKeyDown=function(e){if(!n.props.disabled||e.which!==c.e.enter&&e.which!==c.e.space)n.props.disabled||(n.props.menuProps?n._onMenuKeyDown(e):void 0!==n.props.onKeyDown&&n.props.onKeyDown(e));else{e.preventDefault();e.stopPropagation()}};n._onKeyUp=function(e){n.props.disabled||void 0===n.props.onKeyUp||n.props.onKeyUp(e)};n._onKeyPress=function(e){n.props.disabled||void 0===n.props.onKeyPress||n.props.onKeyPress(e)};n._onMouseUp=function(e){n.props.disabled||void 0===n.props.onMouseUp||n.props.onMouseUp(e)};n._onMouseDown=function(e){n.props.disabled||void 0===n.props.onMouseDown||n.props.onMouseDown(e)};n._onClick=function(e){n.props.disabled||(n.props.menuProps?n._onMenuClick(e):void 0!==n.props.onClick&&n.props.onClick(e))};n._onSplitButtonContainerKeyDown=function(e){if(e.which===c.e.enter||e.which===c.e.space){if(n._buttonElement.current){n._buttonElement.current.click();e.preventDefault();e.stopPropagation()}}else n._onMenuKeyDown(e)};n._onMenuKeyDown=function(e){if(!n.props.disabled){n.props.onKeyDown&&n.props.onKeyDown(e);var t=e.which===c.e.up,r=e.which===c.e.down;if(!e.defaultPrevented&&n._isValidMenuOpenKey(e)){var i=n.props.onMenuClick;i&&i(e,n.props);n._onToggleMenu(!1);e.preventDefault();e.stopPropagation()}e.which!==c.e.enter&&e.which!==c.e.space||Object(h.t)(!0,e.target);if(!e.altKey&&!e.metaKey&&(t||r)&&!n.state.menuHidden&&n.props.menuProps){if(!(void 0!==n._menuShouldFocusOnMount?n._menuShouldFocusOnMount:n.props.menuProps.shouldFocusOnMount)){e.preventDefault();e.stopPropagation();n._menuShouldFocusOnMount=!0;n.forceUpdate()}}}};n._onTouchStart=function(){n._isSplitButton&&n._splitButtonContainer.current&&!("onpointerdown"in n._splitButtonContainer.current)&&n._handleTouchAndPointerEvent()};n._onMenuClick=function(e){var t=n.props.onMenuClick;t&&t(e,n.props);if(!e.defaultPrevented){var r=0!==e.nativeEvent.detail||"mouse"===e.nativeEvent.pointerType;n._onToggleMenu(r);e.preventDefault();e.stopPropagation()}};Object(p.e)(n);n._async=new d.e(n);n._events=new v.e(n);Object(m.e)("BaseButton",t,["menuProps","onClick"],"split",n.props.split);Object(g.e)("BaseButton",t,{rootProps:void 0,description:"secondaryText",toggled:"checked"});n._labelId=Object(y.e)();n._descriptionId=Object(y.e)();n._ariaDescriptionId=Object(y.e)();n.state={menuHidden:!0};return n}Object.defineProperty(t.prototype,"_isSplitButton",{get:function(){return!!this.props.menuProps&&!!this.props.onClick&&!0===this.props.split},enumerable:!0,configurable:!0});t.prototype.render=function(){var e,t=this.props,n=t.ariaDescription,r=t.ariaLabel,i=t.ariaHidden,s=t.className,o=t.disabled,u=t.allowDisabledFocus,a=t.primaryDisabled,f=t.secondaryText,l=void 0===f?this.props.description:f,c=t.href,h=t.iconProps,p=t.menuIconProps,d=t.styles,v=t.checked,m=t.variantClassName,g=t.theme,y=t.toggle,S=t.getClassNames,x=t.role,T=this.state.menuHidden,N=o||a;this._classNames=S?S(g,s,m,h&&h.className,p&&p.className,N,v,!T,!!this.props.menuProps,this.props.split,!!u):Object(zt.t)(g,d,s,m,h&&h.className,p&&p.className,N,!!this.props.menuProps,v,!T,this.props.split);var C=this._ariaDescriptionId,k=this._labelId,L=this._descriptionId,A=!N&&!!c,O=A?"a":"button",M=Object(b.r)(Object(w.e)(A?{}:{type:"button"},this.props.rootProps,this.props),A?b.e:b.t,["disabled"]),_=r||M["aria-label"],D=void 0;n?D=C:l&&this.props.onRenderDescription!==E.e?D=L:M["aria-describedby"]&&(D=M["aria-describedby"]);var P=void 0;_||(M["aria-labelledby"]?P=M["aria-labelledby"]:D&&(P=this._hasText()?k:void 0));var H=!(!1===this.props["data-is-focusable"]||o&&!u||this._isSplitButton),B="menuitemcheckbox"===x||"checkbox"===x,j=B||!0===y?!!v:void 0,F=Object(w.e)(M,((e={className:this._classNames.root,ref:this._mergedRef(this.props.elementRef,this._buttonElement),disabled:N&&!u,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onClick:this._onClick,"aria-label":_,"aria-labelledby":P,"aria-describedby":D,"aria-disabled":N,"data-is-focusable":H})[B?"aria-checked":"aria-pressed"]=j,e));i&&(F["aria-hidden"]=!0);if(this._isSplitButton)return this._onRenderSplitButtonContent(O,F);this.props.menuProps&&Object(w.e)(F,{"aria-expanded":!T,"aria-owns":T?null:this._labelId+"-menu","aria-haspopup":!0});return this._onRenderContent(O,F)};t.prototype.componentDidMount=function(){if(this._isSplitButton&&this._splitButtonContainer.current){"onpointerdown"in this._splitButtonContainer.current&&this._events.on(this._splitButtonContainer.current,"pointerdown",this._onPointerDown,!0);"onpointerup"in this._splitButtonContainer.current&&this.props.onPointerUp&&this._events.on(this._splitButtonContainer.current,"pointerup",this.props.onPointerUp,!0)}};t.prototype.componentDidUpdate=function(e,t){this.props.onAfterMenuDismiss&&!t.menuHidden&&this.state.menuHidden&&this.props.onAfterMenuDismiss()};t.prototype.componentWillUnmount=function(){this._async.dispose();this._events.dispose()};t.prototype.focus=function(){if(this._isSplitButton&&this._splitButtonContainer.current){Object(h.t)(!0);this._splitButtonContainer.current.focus()}else if(this._buttonElement.current){Object(h.t)(!0);this._buttonElement.current.focus()}};t.prototype.dismissMenu=function(){this._dismissMenu()};t.prototype.openMenu=function(e,t){this._openMenu(e,t)};t.prototype._onRenderContent=function(e,t){var n=this,s=this.props,o=e,u=s.menuIconProps,a=s.menuProps,f=s.onRenderIcon,l=void 0===f?this._onRenderIcon:f,c=s.onRenderAriaDescription,h=void 0===c?this._onRenderAriaDescription:c,p=s.onRenderChildren,d=void 0===p?this._onRenderChildren:p,v=s.onRenderMenu,m=void 0===v?this._onRenderMenu:v,g=s.onRenderMenuIcon,y=void 0===g?this._onRenderMenuIcon:g,b=s.disabled,w=s.keytipProps;w&&a&&(w=this._getMemoizedMenuButtonKeytipProps(w));var E=function(e){return i.createElement(o,Object(r.e)({},t,e),i.createElement("span",{className:n._classNames.flexContainer,"data-automationid":"splitbuttonprimary"},l(s,n._onRenderIcon),n._onRenderTextContents(),h(s,n._onRenderAriaDescription),d(s,n._onRenderChildren),!n._isSplitButton&&(a||u||n.props.onRenderMenuIcon)&&y(n.props,n._onRenderMenuIcon),a&&!a.doNotLayer&&n._shouldRenderMenu()&&m(n._getMenuProps(a),n._onRenderMenu)))},x=w?i.createElement(Nt,{keytipProps:this._isSplitButton?void 0:w,ariaDescribedBy:t["aria-describedby"],disabled:b},function(e){return E(e)}):E();return a&&a.doNotLayer?i.createElement("span",{style:{display:"inline-block"}},x,this._shouldRenderMenu()&&m(this._getMenuProps(a),this._onRenderMenu)):i.createElement(i.Fragment,null,x,i.createElement(S.e,null))};t.prototype._shouldRenderMenu=function(){var e=this.state.menuHidden,t=this.props,n=t.persistMenu,r=t.renderPersistedMenuHiddenOnMount;return!e||!(!n||!this._renderedVisibleMenu&&!r)};t.prototype._hasText=function(){return null!==this.props.text&&(void 0!==this.props.text||"string"==typeof this.props.children)};t.prototype._getMenuProps=function(e){var t=this.props.persistMenu,n=this.state.menuHidden;e.ariaLabel||e.labelElementId||!this._hasText()||(e=Object(r.e)(Object(r.e)({},e),{labelElementId:this._labelId}));return Object(r.e)(Object(r.e)({id:this._labelId+"-menu",directionalHint:A.e.bottomLeftEdge},e),{shouldFocusOnContainer:this._menuShouldFocusOnContainer,shouldFocusOnMount:this._menuShouldFocusOnMount,hidden:t?n:void 0,className:Object(u.e)("ms-BaseButton-menuhost",e.className),target:this._isSplitButton?this._splitButtonContainer.current:this._buttonElement.current,onDismiss:this._onDismissMenu})};t.prototype._onRenderSplitButtonContent=function(e,t){var n=this,s=this.props,o=s.styles,u=void 0===o?{}:o,a=s.disabled,f=s.allowDisabledFocus,l=s.checked,c=s.getSplitButtonClassNames,h=s.primaryDisabled,p=s.menuProps,d=s.toggle,v=s.role,m=s.primaryActionButtonProps,g=this.props.keytipProps,y=this.state.menuHidden,E=c?c(!!a,!y,!!l,!!f):u&&Object(Wt.e)(u,!!a,!y,!!l,!!h);Object(w.e)(t,{onClick:void 0,onPointerDown:void 0,onPointerUp:void 0,tabIndex:-1,"data-is-focusable":!1});g&&p&&(g=this._getMemoizedMenuButtonKeytipProps(g));var S=Object(b.r)(t,[],["disabled"]);m&&Object(w.e)(t,m);var T=function(s){return i.createElement("div",Object(r.e)({},S,{"data-ktp-target":s?s["data-ktp-target"]:void 0,role:v||"button","aria-disabled":a,"aria-haspopup":!0,"aria-expanded":!y,"aria-pressed":d?!!l:void 0,"aria-describedby":x(t["aria-describedby"],s?s["aria-describedby"]:void 0),className:E&&E.splitButtonContainer,onKeyDown:n._onSplitButtonContainerKeyDown,onTouchStart:n._onTouchStart,ref:n._splitButtonContainer,"data-is-focusable":!0,onClick:a||h?void 0:n._onSplitButtonPrimaryClick,tabIndex:!a&&!h||f?0:void 0,"aria-roledescription":t["aria-roledescription"],onFocusCapture:n._onSplitContainerFocusCapture}),i.createElement("span",{style:{display:"flex"}},n._onRenderContent(e,t),n._onRenderSplitButtonMenuButton(E,s),n._onRenderSplitButtonDivider(E)))};return g?i.createElement(Nt,{keytipProps:g,disabled:a},function(e){return T(e)}):T()};t.prototype._onRenderSplitButtonDivider=function(e){if(e&&e.divider){return i.createElement("span",{className:e.divider,"aria-hidden":!0,onClick:function(e){e.stopPropagation()}})}return null};t.prototype._onRenderSplitButtonMenuButton=function(e,n){var s=this.props,o=s.allowDisabledFocus,u=s.checked,a=s.disabled,f=s.splitButtonMenuProps,l=s.splitButtonAriaLabel,c=s.primaryDisabled,h=this.state.menuHidden,p=this.props.menuIconProps;void 0===p&&(p={iconName:"ChevronDown"});var d=Object(r.e)(Object(r.e)({},f),{styles:e,checked:u,disabled:a,allowDisabledFocus:o,onClick:this._onMenuClick,menuProps:void 0,iconProps:Object(r.e)(Object(r.e)({},p),{className:this._classNames.menuIcon}),ariaLabel:l,"aria-haspopup":!0,"aria-expanded":!h,"data-is-focusable":!1});return i.createElement(t,Object(r.e)({},d,{"data-ktp-execute-target":n?n["data-ktp-execute-target"]:n,onMouseDown:this._onMouseDown,tabIndex:c&&!o?0:-1}))};t.prototype._onPointerDown=function(e){var t=this.props.onPointerDown;t&&t(e);if("touch"===e.pointerType){this._handleTouchAndPointerEvent();e.preventDefault();e.stopImmediatePropagation()}};t.prototype._handleTouchAndPointerEvent=function(){var e=this;if(void 0!==this._lastTouchTimeoutId){this._async.clearTimeout(this._lastTouchTimeoutId);this._lastTouchTimeoutId=void 0}this._processingTouch=!0;this._lastTouchTimeoutId=this._async.setTimeout(function(){e._processingTouch=!1;e._lastTouchTimeoutId=void 0;e.focus()},500)};t.prototype._isValidMenuOpenKey=function(e){return this.props.menuTriggerKeyCode?e.which===this.props.menuTriggerKeyCode:!!this.props.menuProps&&(e.which===c.e.down&&(e.altKey||e.metaKey))};t.defaultProps={baseClassName:"ms-Button",styles:{},split:!1};return t})(i.Component)},function(e,t,n){"use strict";n.d(t,"e",function(){return o});n.d(t,"t",function(){return v});var r=n(1),i=n("react-lib"),s=["setState","render","componentWillMount","UNSAFE_componentWillMount","componentDidMount","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","getSnapshotBeforeUpdate","UNSAFE_componentWillUpdate","componentDidUpdate","componentWillUnmount"];var o,u=(function(e){Object(r.n)(t,e);function t(t){var n=e.call(this,t)||this;n._updateComposedComponentRef=n._updateComposedComponentRef.bind(n);return n}t.prototype._updateComposedComponentRef=function(e){this._composedComponentInstance=e;e?this._hoisted=(function(e,t,n){void 0===n&&(n=s);var r=[],i=function(i){if("function"==typeof t[i]&&void 0===e[i]&&(!n||-1===n.indexOf(i))){r.push(i);e[i]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t[i].apply(t,e)}}};for(var o in t)i(o);return r})(this,e):this._hoisted&&(t=this,this._hoisted.forEach(function(e){return delete t[e]}));var t};return t})(i.Component),a=(n(12),n(67)),f=n(186),l=i.createContext({window:"object"==typeof window?window:void 0});(function(e){e[e.small=0]="small";e[e.medium=1]="medium";e[e.large=2]="large";e[e.xLarge=3]="xLarge";e[e.xxLarge=4]="xxLarge";e[e.xxxLarge=5]="xxxLarge";e[e.unknown=999]="unknown"})(o||(o={}));var c,h,p=[479,639,1023,1365,1919,99999999];function d(){var e;return null!=(e=null!=c?c:h)?e:o.large}function v(e){var t,n=((t=(function(t){Object(r.n)(n,t);function n(e){var n=t.call(this,e)||this;n._onResize=function(){var e=g(n.context.window);e!==n.state.responsiveMode&&n.setState({responsiveMode:e})};n._events=new a.e(n);n._updateComposedComponentRef=n._updateComposedComponentRef.bind(n);n.state={responsiveMode:d()};return n}n.prototype.componentDidMount=function(){this._events.on(this.context.window,"resize",this._onResize);this._onResize()};n.prototype.componentWillUnmount=function(){this._events.dispose()};n.prototype.render=function(){var t=this.state.responsiveMode;return t===o.unknown?null:i.createElement(e,Object(r.e)({ref:this._updateComposedComponentRef,responsiveMode:t},this.props))};return n})(u)).contextType=l,t);return Object(f.e)(e,n)}function m(e){try{return e.document.documentElement.clientWidth}catch(t){return e.innerWidth}}function g(e){var t=o.small;if(e){try{for(;m(e)>p[t];)t++}catch(e){t=d()}h=t}else{if(void 0===c)throw new Error("Content was rendered in a server environment without providing a default responsive mode. Call setResponsiveMode to define what the responsive mode is.");t=c}return t}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Global=void 0;var r=n(93),i=n(158),s=n(137),o=n(65);(function(e){e.telemetryLogger=new o.TelemetryLogger;e.envConfigs={};e.envConfigs[r.Environment[r.Environment.WorldWide]]=new i.EnvConfig(s.AbtHost.abtWorldWideSvc,!0,!0);e.envConfigs[r.Environment[r.Environment.Pathfinder]]=new i.EnvConfig(s.AbtHost.abtPathfinderSvc,!1,!0);e.envConfigs[r.Environment[r.Environment.Trailblazer]]=new i.EnvConfig(s.AbtHost.abtTrailblazer,!1,!0)})(t.Global||(t.Global={}))},function(e,t,n){"use strict";n.d(t,"n",function(){return r});n.d(t,"e",function(){return i});n.d(t,"r",function(){return h});n.d(t,"t",function(){return d});var r,i,s=n(0),o=n(23),u=n(2),a=n(31),f=(function(){function e(e,t){if(e){this.root=e.root;this.parent=e.current}else this.root=this.parent=a.Empty;this.current=t||a.generate()}e._getCorrelationVector=function(){var t;"undefined"!=typeof window?t=window.rootVector:"undefined"!=typeof self&&(t=self.rootVector);return t||new e};e.prototype.toString=function(){return"".concat(this.root,"#").concat(this.parent,"#").concat(this.current)};e.RootVector=e._getCorrelationVector();return e})(),l=n(110),c=0;(function(e){e[e.NoParent=1]="NoParent"})(r||(r={}));(function(e){e[e.Consumer=0]="Consumer";e[e.ConsumerAnonymous=1]="ConsumerAnonymous";e[e.Business=2]="Business";e[e.BusinessAnonymous=3]="BusinessAnonymous";e[e.Unknown=4]="Unknown";e[e.ConsumerOnSPO=5]="ConsumerOnSPO"})(i||(i={}));function h(e,t,n,r){Object(l.e)(e,t);var i={};for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)){var a=n[o],f=i[o]="number"==typeof a?{type:a}:a;f.definedInName=t.shortEventName;f.type===u.e.Number&&(f.isMetric=!0)}e.metadata=r?Object(s.e)(Object(s.e)({},r.prototype.metadata),i):i}var p=new WeakMap,d=(function(){function e(e,t,n){this.context={};this.validationErrors=0;this.data={};this.context=Object(s.e)({},this.addContext({}));this.id=c++;this.enabled=this._isEnabled();n?this.parentId=n.id:this.requiresParent&&this._addValidationError(r.NoParent);this.startTime=e&&e.startTimeOverride||o.e.getTime();this.vector=new f(n?n.vector:f.RootVector);e&&this._setData(e);this._logEvent(t)}e.enabled=function(){return this.prototype._isEnabled()};e.isTypeOf=function(e){return e.eventName.indexOf(this.prototype.shortEventName+",")>=0};e.withManager=function(e){if(!e||e===o.e)return this;var t=p.get(e);if(!t){t=new WeakMap;p.set(e,t)}var n=t.get(this);if(n)return n;var r=(function(e){Object(s.n)(t,e);function t(){return null!==e&&e.apply(this,arguments)||this}return t})(this);r.prototype.manager=e;n=r;t.set(this,n);return n};e.withData=function(e){if(!e)return this;var t="function"!=typeof e?function(t){return Object(s.e)(Object(s.e)({},e),t)}:e;return(function(e){Object(s.n)(n,e);function n(){return null!==e&&e.apply(this,arguments)||this}n.prototype.addData=function(n){var r=Object(s.e)(Object(s.e)({},n),t(n));return Object(s.e)(Object(s.e)({},r),e.prototype.addData.call(this,r))};return n})(this)};e.withContext=function(e){if(!e)return this;var t="function"!=typeof e?function(t){return Object(s.e)(Object(s.e)({},e),t)}:e;return(function(e){Object(s.n)(n,e);function n(){return null!==e&&e.apply(this,arguments)||this}n.prototype.addContext=function(n){var r=Object(s.e)(Object(s.e)({},n),t(n));return Object(s.e)(Object(s.e)({},r),e.prototype.addContext.call(this,r))};return n})(this)};e.from=function(e){return e?this.withManager(e.prototype.manager).withContext(function(t){return e.prototype.addContext(t)}).withData(function(t){return e.prototype.addData(t)}):this};e.prototype.addContext=function(e){return m(this.manager,e,{})};e.prototype.addData=function(e){return e};e.prototype._isEnabled=function(){return!this.samplingFeature||o.e.isFeatureEnabled(this.samplingFeature)};e.prototype._setData=function(e){var t=Object(s.e)(Object(s.e)({},this.addData(this.data)),e);(function(e,t,n,r){for(var i=0,s=Object.keys(n);i<s.length;i++){var o=s[i];if(o in t){var u=t[o];v(e,n,r,o,u)}}})(this.manager,this.metadata,t,this.data)};e.prototype._logEvent=function(e){this.manager.logEvent(this,e)};e.prototype._addValidationError=function(e){this.validationErrors=this.validationErrors|e;this.manager.logValidationError(this,e)};return e})();function v(e,t,n,r,i){var s=t[r];switch(typeof s){case"string":var o=e.cleanString(s,r,i);void 0!==o&&(n[r]=o);return;case"undefined":return;case"object":s&&Object.getPrototypeOf(s)===Object.prototype?n[r]=m(e,s,{}):n[r]=s;return;default:n[r]=s;return}}function m(e,t,n){for(var r=0,i=Object.keys(t);r<i.length;r++){v(e,t,n,i[r])}return n}var g=d.prototype;g.eventName="EventBase,";g.shortEventName="EventBase";g.critical=!1;g.requiresParent=!0;g.manager=o.e},function(e,t,n){"use strict";n.d(t,"e",function(){return a});var r=n(1),i=n(182),s={settings:{},scopedSettings:{},inCustomizerContext:!1},o=i.e.getValue("customizations",{settings:{},scopedSettings:{},inCustomizerContext:!1}),u=[],a=(function(){function e(){}e.reset=function(){o.settings={};o.scopedSettings={}};e.applySettings=function(t){o.settings=Object(r.e)(Object(r.e)({},o.settings),t);e._raiseChange()};e.applyScopedSettings=function(t,n){o.scopedSettings[t]=Object(r.e)(Object(r.e)({},o.scopedSettings[t]),n);e._raiseChange()};e.getSettings=function(e,t,n){void 0===n&&(n=s);for(var r={},i=t&&n.scopedSettings[t]||{},u=t&&o.scopedSettings[t]||{},a=0,f=e;a<f.length;a++){var l=f[a];r[l]=i[l]||n.settings[l]||u[l]||o.settings[l]}return r};e.applyBatchedUpdates=function(t,n){e._suppressUpdates=!0;try{t()}catch(e){}e._suppressUpdates=!1;n||e._raiseChange()};e.observe=function(e){u.push(e)};e.unobserve=function(e){u=u.filter(function(t){return t!==e})};e._raiseChange=function(){e._suppressUpdates||u.forEach(function(e){return e()})};return e})()},function(e,t,n){"use strict";n.d(t,"e",function(){return i});n.d(t,"r",function(){return o});n.d(t,"t",function(){return u});n.d(t,"n",function(){return a});var r=n(225),i=(n(115),r.e.isFeatureEnabled({ODB:60149})),s=null;function o(e){i&&!s&&(s=e)}function u(){return i?s:null}function a(){s=null}},function(e,t,n){"use strict";n.d(t,"e",function(){return r});var r;(function(e){e[e.String=0]="String";e[e.Boolean=1]="Boolean";e[e.Int64=2]="Int64";e[e.Double=3]="Double";e[e.Guid=4]="Guid"})(r||(r={}))},,,,function(e,t,n){"use strict";var r=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var s=arguments[t],o=0,u=s.length;o<u;o++,i++)r[i]=s[o];return r};Object.defineProperty(t,"__esModule",{value:!0});t.LoggingUtils=void 0;var i=n(93),s=n(136),o=n(65),u=n(224),a=n(159),f=n(64),l=n(160),c=n(58),h=n(39);(function(e){e.initializeAriaLogging=function(e,t,n,s,a,f,l){if(!l[i.Environment[f]].isAriaEnabled)return!1;var c=o.SuppressNexus;h.Global.telemetryLogger.setTenantToken("Office.WebAuth","bfd38fb74e1b467495106a7dd7b35f27-1110120f-6282-4b11-8fe0-299b50c9309d-7071",c);var p=r(o.User.getFields({primaryIdentityHash:e,primaryIdentitySpace:v(t),tenantGroup:m(t),tenantId:a,isAnonymous:!1}),o.App.getFields({name:n}),o.Session.getFields({id:s})),d=new u.OneDSSink(p,{endpointUrl:u.OneDSEndpoint.PUBLIC});h.Global.telemetryLogger.addSink(d);return!0};function t(e,t,r){if(t)return!1;if(null==e||void 0===e||""===e){n(!0,r)&&console.error("eventName param cannot null, undefined or empty.");return!1}if(void 0===h.Global.gAbtEnableLogging||!1===h.Global.gAbtEnableLogging)return!1;if(!h.Global.gIsAbtAriaLoggingInitialized){n(!0,r)&&console.warn("Aria logging is not initialized");return!1}return!0}function n(e,n){if(n)return!1;if(void 0===h.Global.gAbtEnableLogging||!1===h.Global.gAbtEnableLogging)return!1;if(f.LocalStorageUtils.findItemWithValue(c.AbtStorageId.enableConsoleLogging,c.AbtStorageValue.enableConsoleLogging.toString(),e,!0))return!0;t("LoggingUtils",e,!0)&&p("Console logging is not initialized","LoggingUtils",a.EventLevel.warning,"shouldLogToConsole","",0);return!1}function p(e,t,n,r,i,s){if(null!=n&&void 0!==n&&(n===a.EventLevel.info||n===a.EventLevel.warning||n===a.EventLevel.error)){var u=i&&""!=i?i:d();h.Global.telemetryLogger.sendTelemetryEvent({eventName:l.LogAttributes.defaultLoggingNamespace+t,eventFlags:{dataCategories:2,diagnosticLevel:10},dataFields:[o.makeStringDataField(l.LogAttributes.messageDataField,e),o.makeStringDataField(l.LogAttributes.levelDataField,n),o.makeStringDataField(l.LogAttributes.correlationIdDataField,u),o.makeStringDataField(l.LogAttributes.actionDataField,null!==r||void 0!==r||""!==r?r:"Empty"),o.makeStringDataField(l.LogAttributes.timeoutDataField,s.toString())]})}}e.log=function(e,r,i,s,o,u,f){void 0===i&&(i="");void 0===s&&(s=!1);void 0===o&&(o=!1);void 0===u&&(u="");void 0===f&&(f=0);t(r,s,o)&&p(e,r,a.EventLevel.info,i,u,f);n(s,o)&&console.log(e)};e.warn=function(e,r,i,s,o,u,f){void 0===i&&(i="");void 0===s&&(s=!1);void 0===o&&(o=!1);void 0===u&&(u="");void 0===f&&(f=0);t(r,s,o)&&p(e,r,a.EventLevel.warning,i,u,f);n(s,o)&&console.warn(e)};e.error=function(e,r,i,s,o,u,f){void 0===i&&(i="");void 0===s&&(s=!1);void 0===o&&(o=!1);void 0===u&&(u="");void 0===f&&(f=0);t(r,s,o)&&p(e,r,a.EventLevel.error,i,u,f);n(s,o)&&console.error(e)};function d(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}e.getRandomGuid=d;function v(e){return s.AuthType[e]==s.AuthType[s.AuthType.Aad]?"OrgIdPuid":s.AuthType[e]==s.AuthType[s.AuthType.Msa]?"MsaPuid":void 0}function m(e){return s.AuthType[e]==s.AuthType[s.AuthType.Aad]?"Enterprise":s.AuthType[e]==s.AuthType[s.AuthType.Msa]?"Consumer":void 0}})(t.LoggingUtils||(t.LoggingUtils={}))},function(e,t,n){"use strict";(function(e){n.d(t,"e",function(){return l});n.d(t,"t",function(){return h});var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},i="undefined"==typeof window?e:window,s=i&&i.CSPSettings&&i.CSPSettings.nonce,o=(function(){var e=i.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]};e.runState||(e=r(r({},e),{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}}));e.registeredThemableStyles||(e=r(r({},e),{registeredThemableStyles:[]}));i.__themeState__=e;return e})(),u=/[\'\"]\[theme:\s*(\w+)\s*(?:\,\s*default:\s*([\\"\']?[\.\,\(\)\#\-\s\w]*[\.\,\(\)\#\-\w][\"\']?))?\s*\][\'\"]/g,a=function(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()};function f(e){var t=a();e();var n=a();o.perf.duration+=n-t}function l(e,t){void 0===t&&(t=!1);f(function(){var n=Array.isArray(e)?e:v(e),r=o.runState,i=r.mode,s=r.buffer,u=r.flushTimer;if(t||1===i){s.push(n);u||(o.runState.flushTimer=setTimeout(function(){o.runState.flushTimer=0;f(function(){var e=o.runState.buffer.slice();o.runState.buffer=[];var t=[].concat.apply([],e);t.length>0&&c(t)})},0))}else c(n)})}function c(e,t){o.loadStyles?o.loadStyles(d(e).styleString,e):(function(e){if("undefined"==typeof document)return;var t=document.getElementsByTagName("head")[0],n=document.createElement("style"),r=d(e),i=r.styleString,u=r.themable;n.setAttribute("data-load-themed-styles","true");s&&n.setAttribute("nonce",s);n.appendChild(document.createTextNode(i));o.perf.count++;t.appendChild(n);var a=document.createEvent("HTMLEvents");a.initEvent("styleinsert",!0,!1);a.args={newStyle:n};document.dispatchEvent(a);var f={styleElement:n,themableStyle:e};u?o.registeredThemableStyles.push(f):o.registeredStyles.push(f)})(e)}function h(e){o.theme=e;(function(){if(o.theme){for(var e=[],t=0,n=o.registeredThemableStyles;t<n.length;t++){var r=n[t];e.push(r.themableStyle)}if(e.length>0){(function(e){void 0===e&&(e=3);if(3===e||2===e){p(o.registeredStyles);o.registeredStyles=[]}if(3===e||1===e){p(o.registeredThemableStyles);o.registeredThemableStyles=[]}})(1);c([].concat.apply([],e))}}})()}function p(e){e.forEach(function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)})}function d(e){var t=o.theme,n=!1;return{styleString:(e||[]).map(function(e){var r=e.theme;if(r){n=!0;var i=t?t[r]:void 0,s=e.defaultValue||"inherit";t&&!i&&console,0;return i||s}return e.rawString}).join(""),themable:n}}function v(e){var t=[];if(e){for(var n=0,r=void 0;r=u.exec(e);){var i=r.index;i>n&&t.push({rawString:e.substring(n,i)});t.push({theme:r[1],defaultValue:r[2]});n=u.lastIndex}t.push({rawString:e.substring(n)})}return t}}).call(this,n(92))},function(e,t,n){"use strict";n.d(t,"e",function(){return u});var r=n(33),i=n(3),s={outline:0},o=function(e){return{fontSize:e,margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",flexShrink:0}},u=Object(r.t)(function(e){var t,n,r=e.semanticColors,u=e.effects,a=e.fonts,f=r.buttonBorder,l=r.disabledBackground,c=r.disabledText,h={left:-2,top:-2,bottom:-2,right:-2,outlineColor:"ButtonText"};return{root:[Object(i.d)(e,{inset:1,highContrastStyle:h,borderColor:"transparent"}),e.fonts.medium,{boxSizing:"border-box",border:"1px solid "+f,userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",padding:"0 16px",borderRadius:u.roundedCorner2,selectors:{":active > span":{position:"relative",left:0,top:0}}}],rootDisabled:[Object(i.d)(e,{inset:1,highContrastStyle:h,borderColor:"transparent"}),{backgroundColor:l,borderColor:l,color:c,cursor:"default",selectors:{":hover":s,":focus":s}}],iconDisabled:{color:c,selectors:(t={},t[i.r]={color:"GrayText"},t)},menuIconDisabled:{color:c,selectors:(n={},n[i.r]={color:"GrayText"},n)},flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},description:{display:"block"},textContainer:{flexGrow:1,display:"block"},icon:o(a.mediumPlus.fontSize),menuIcon:o(a.small.fontSize),label:{margin:"0 4px",lineHeight:"100%",display:"block"},screenReaderText:i.w}})},function(e,t,n){"use strict";n.d(t,"t",function(){return r});n.d(t,"e",function(){return o});function r(e){s!==e&&(s=e)}function i(){void 0===s&&(s="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir"));return s}var s;s=i();function o(){return{rtl:i()}}},function(e,t,n){"use strict";n.d(t,"e",function(){return r});var r;(function(e){e[e.String=0]="String";e[e.Boolean=1]="Boolean";e[e.Int64=2]="Int64";e[e.Double=3]="Double";e[e.Guid=4]="Guid"})(r||(r={}))},function(e,t,n){"use strict";n.d(t,"e",function(){return r});function r(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";n.d(t,"t",function(){return i});n.d(t,"e",function(){return s});n.d(t,"n",function(){return o});var r=n(3),i=Object(r.S)({root:{display:"inline-block"},placeholder:["ms-Icon-placeHolder",{width:"1em"}],image:["ms-Icon-imageContainer",{overflow:"hidden"}]}),s="ms-Icon",o=function(e){var t=e.className,n=e.iconClassName,r=e.isPlaceholder,s=e.isImage,o=e.styles;return{root:[r&&i.placeholder,i.root,s&&i.image,n,t,o&&o.root,o&&o.imageContainer]}}},function(e,t,n){"use strict";n.d(t,"e",function(){return i});n.d(t,"t",function(){return s});n.d(t,"n",function(){return o});var r=n(72),i={Normal:1,CostDeferred:2,RealTime:3},s={Unspecified:0,String:1,Int32:2,UInt32:3,Int64:4,UInt64:5,Double:6,Bool:7,Guid:8,DateTime:9},o=__assign({},r.t,{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})},function(e,t,n){"use strict";n.d(t,"e",function(){return r});n.d(t,"t",function(){return i});var r,i;(function(e){e[e.xSmall=0]="xSmall";e[e.small=1]="small";e[e.medium=2]="medium";e[e.large=3]="large"})(r||(r={}));(function(e){e[e.normal=0]="normal";e[e.large=1]="large"})(i||(i={}))},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.AbtStorageValue=t.AbtStorageId=void 0;var r=(function(){function e(){}e.inFlight="AbtInFlight";e.abtActivity="AbtActivity";e.localAvailable="AbtLocalAvailable";e.enableConsoleLogging="AbtEnableConsoleLogging";e.enableAriaLogLogging="AbtEnableAriaLogLogging";e.enableDebug="AbtEnableDebug";return e})();t.AbtStorageId=r;var i=(function(){function e(){}e.inFlight="1";e.enableConsoleLogging="true";e.enableAriaLogLogging="true";e.enableDebug="true";e.localAvailable="AbtLocalAvailable";return e})();t.AbtStorageValue=i},function(e,t,n){"use strict";n.d(t,"e",function(){return o});n.d(t,"t",function(){return a});var r=n(0),i=n(17),s=n(96),o=(function(e){Object(r.n)(t,e);function t(t){void 0===t&&(t={message:"Canceled"});var n=e.call(this,Object(r.e)({code:t.code||"Canceled",isExpected:!0},t))||this;n.name="Canceled";return n}return t})(i.e);var u=function(e){var t,n=e.catch(function(e){t=e;return Promise.reject(e)});this.subscribe=function(e){var t=e;n.then(function(){t=void 0},function(e){if(t){var n=t;t=void 0;n(e)}});return function(){t=void 0}};this.isCanceled=function(){return!!t};this.throwIfCanceled=function(){if(t)throw new o(t)}},a=function(){var e=new s.e,t=e.reject,n=e.resolve,r=e.promise;this.cancel=function(e){return t(e||new o)};this.dispose=function(){return n()};this.token=new u(r)}},function(e,t,n){"use strict";n.d(t,"t",function(){return N});n.d(t,"r",function(){return C});n.d(t,"e",function(){return k});n.d(t,"n",function(){return L});var r,i=n(1),s=n(32),o={};var u={"user-select":1};function a(e,t){var n=(function(){if(!r){var e="undefined"!=typeof document?document:void 0,t="undefined"!=typeof navigator?navigator:void 0,n=t?t.userAgent.toLowerCase():void 0;r=e?{isWebkit:!(!e||!("WebkitAppearance"in e.documentElement.style)),isMoz:!!(n&&n.indexOf("firefox")>-1),isOpera:!!(n&&n.indexOf("opera")>-1),isMs:!(!t||!/rv:11.0/i.test(t.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return r})(),i=e[t];if(u[i]){var s=e[t+1];if(u[i]){n.isWebkit&&e.push("-webkit-"+i,s);n.isMoz&&e.push("-moz-"+i,s);n.isMs&&e.push("-ms-"+i,s);n.isOpera&&e.push("-o-"+i,s)}}}var f,l=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function c(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var i=l.indexOf(n)>-1,s=n.indexOf("--")>-1,o=i||s?"":"px";e[t+1]=""+r+o}}var h="left",p="right",d=((f={})[h]=p,f[p]=h,f),v={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function m(e,t,n){if(e.rtl){var r=t[n];if(!r)return;var i=t[n+1];if("string"==typeof i&&i.indexOf("@noflip")>=0)t[n+1]=i.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(r.indexOf(h)>=0)t[n]=r.replace(h,p);else if(r.indexOf(p)>=0)t[n]=r.replace(p,h);else if(String(i).indexOf(h)>=0)t[n+1]=i.replace(h,p);else if(String(i).indexOf(p)>=0)t[n+1]=i.replace(p,h);else if(d[r])t[n]=d[r];else if(v[i])t[n+1]=v[i];else switch(r){case"margin":case"padding":t[n+1]=(function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return t[0]+" "+t[3]+" "+t[2]+" "+t[1]}return e})(i);break;case"box-shadow":t[n+1]=(function(e,t){var n=e.split(" "),r=parseInt(n[t],10);n[0]=n[0].replace(String(r),String(-1*r));return n.join(" ")})(i,0)}}}function g(e){var t=e&&e["&"];return t?t.displayName:void 0}var y=/\:global\((.+?)\)/g;function b(e,t){return e.indexOf(":global(")>=0?e.replace(y,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function w(e,t,n,r){void 0===t&&(t={__order:[]});0===n.indexOf("@")?E([r],t,n=n+"{"+e):n.indexOf(",")>-1?(function(e){if(!y.test(e))return e;for(var t=[],n=/\:global\((.+?)\)/g,r=null;r=n.exec(e);)r[1].indexOf(",")>-1&&t.push([r.index,r.index+r[0].length,r[1].split(",").map(function(e){return":global("+e.trim()+")"}).join(", ")]);return t.reverse().reduce(function(e,t){var n=t[0],r=t[1],i=t[2];return e.slice(0,n)+i+e.slice(r)},e)})(n).split(",").map(function(e){return e.trim()}).forEach(function(n){return E([r],t,b(n,e))}):E([r],t,b(n,e))}function E(e,t,n){void 0===t&&(t={__order:[]});void 0===n&&(n="&");var r=s.e.getInstance(),i=t[n];if(!i){i={};t[n]=i;t.__order.push(n)}for(var o=0,u=e;o<u.length;o++){var a=u[o];if("string"==typeof a){var f=r.argsFromClassName(a);f&&E(f,t,n)}else if(Array.isArray(a))E(a,t,n);else for(var l in a)if(a.hasOwnProperty(l)){var c=a[l];if("selectors"===l){var h=a.selectors;for(var p in h)h.hasOwnProperty(p)&&w(n,t,p,h[p])}else"object"==typeof c?null!==c&&w(n,t,l,c):void 0!==c&&("margin"===l||"padding"===l?S(i,l,c):i[l]=c)}}return t}function S(e,t,n){var r="string"==typeof n?n.split(" "):[n];e[t+"Top"]=r[0];e[t+"Right"]=r[1]||r[0];e[t+"Bottom"]=r[2]||r[0];e[t+"Left"]=r[3]||r[1]||r[0]}function x(e,t){for(var n=[e.rtl?"rtl":"ltr"],r=!1,i=0,s=t.__order;i<s.length;i++){var o=s[i];n.push(o);var u=t[o];for(var a in u)if(u.hasOwnProperty(a)&&void 0!==u[a]){r=!0;n.push(a,u[a])}}return r?n.join(""):void 0}function T(e,t){return t<=0?"":1===t?e:e+T(e,t-1)}function N(e,t){if(!t)return"";var n,r,i,s=[];for(var u in t)t.hasOwnProperty(u)&&"displayName"!==u&&void 0!==t[u]&&s.push(u,t[u]);for(var f=0;f<s.length;f+=2){i=void 0,"-"!==(i=(n=s)[r=f]).charAt(0)&&(n[r]=o[i]=o[i]||i.replace(/([A-Z])/g,"-$1").toLowerCase());c(s,f);m(e,s,f);a(s,f)}for(f=1;f<s.length;f+=4)s.splice(f,1,":",s[f],";");return s.join("")}function C(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=E(t),i=x(e,r);if(i){var o=s.e.getInstance(),u={className:o.classNameFromKey(i),key:i,args:t};if(!u.className){u.className=o.getClassName(g(r));for(var a=[],f=0,l=r.__order;f<l.length;f++){var c=l[f];a.push(c,N(e,r[c]))}u.rulesToInsert=a}return u}}function k(e,t){void 0===t&&(t=1);var n=s.e.getInstance(),r=e.className,i=e.key,o=e.args,u=e.rulesToInsert;if(u){for(var a=0;a<u.length;a+=2){var f=u[a+1];if(f){var l=u[a],c=(l=l.replace(/&/g,T("."+e.className,t)))+"{"+f+"}"+(0===l.indexOf("@")?"}":"");n.insertRule(c)}}n.cacheClassName(r,i,o,u)}}function L(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=C.apply(void 0,Object(i.i)([e],t));if(r){k(r,e.specificityMultiplier);return r.className}return""}},function(e,t,n){"use strict";n.d(t,"e",function(){return s});var r=n(0),i=n(15);function s(e){var t=e||void 0;return Object(r.e)(Object(r.e)({error:e&&(e.message||e.name),resultCode:t&&o(t)||e&&e.name||"Unknown"},t?Object(r.e)({},"boolean"==typeof t.isExpected?{resultType:t.isExpected?i.e.ExpectedFailure:i.e.Failure}:{resultType:i.e.Failure}):{resultType:i.e.Success}),{extraData:Object(r.e)({stack:e&&e.stack},t?Object(r.e)(Object(r.e)(Object(r.e)({},"object"==typeof t.innerError?{innerError:s(t.innerError)}:{}),"string"==typeof t.correlationId?{correlationId:t.correlationId}:{}),"object"==typeof t.extraData?Object(r.e)({},t.extraData):{}):{})})}function o(e){var t=[];"object"==typeof e.extraData&&e.extraData&&void 0!==e.extraData.status&&t.push("[".concat(e.extraData.status,"]"));"string"==typeof e.code&&t.push("".concat(e.code));return t.join(" ")}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.LocalStorageUtils=void 0;var r=n(47),i=n(58),s=n(39);(function(e){var t="LocalStorageUtils";function n(e,n){void 0===e&&(e=!1);void 0===n&&(n=!1);var o=!!e||s.Global.gAbtSkipAriaLog;r.LoggingUtils.log("Start checking if local storage is available.",t,"isAvailable",o,n);try{localStorage.setItem(i.AbtStorageId.localAvailable,i.AbtStorageValue.localAvailable);localStorage.removeItem(i.AbtStorageId.localAvailable);return!0}catch(i){r.LoggingUtils.error("Local storage not available. Details:  "+i,t,"isAvailable",e,n);return!1}}function o(e,i,o){void 0===i&&(i=!1);void 0===o&&(o=!1);var u="getItemValue",a=!!i||s.Global.gAbtSkipAriaLog;r.LoggingUtils.log("Start getting an item from local storage.",t,u,a,o);if(null==e){r.LoggingUtils.warn("name param should not be null or undefined.",t,u,i,o);return null}if(!n(i,o)){r.LoggingUtils.warn("Local storage is not available. Returning null.",t,u,i,o);return null}r.LoggingUtils.log("Looking for "+e+" storage item.",t,u,a,o);try{var f=localStorage.getItem(e);if(null===f){r.LoggingUtils.warn("Didn't find '"+e+"' item in the storage.",t,u,i,o);return null}return f}catch(n){r.LoggingUtils.error("Error thrown when trying to get '"+e+"' item from the local storage.",t,u,i,o);return null}}e.getItemValue=o;e.findItemWithValue=function(e,i,u,a){void 0===u&&(u=!1);void 0===a&&(a=!1);var f="findItemWithValue",l=!!u||s.Global.gAbtSkipAriaLog;r.LoggingUtils.log("Start finding an item in local storage.",t,f,l,a);if(null==e){r.LoggingUtils.warn("name param should not be null or undefined.",t,f,u,a);return!1}if(null==i){r.LoggingUtils.warn("value param should not be null or undefined.",t,f,u,a);return!1}if(!n(u,a)){r.LoggingUtils.warn("Local storage is not available. Returning false.",t,f,u,a);return!1}var c=o(e,u,a);if(null===c){r.LoggingUtils.warn("Didn't find value associated with '"+e+"' storage item in local storage.",t,f,u,a);return!1}if(c!==i){r.LoggingUtils.error("Value associated with '"+e+"' is different than needed.",t,f,u,a);return!1}return!0};e.tryCreateItem=function(e,i,o,u){void 0===o&&(o=!1);void 0===u&&(u=!1);var a="tryCreateItem",f=!!o||s.Global.gAbtSkipAriaLog;r.LoggingUtils.log("Start creating an item in local storage.",t,a,f,u);if(null==e){r.LoggingUtils.warn("name param should not be null or undefined.",t,a,o,u);return!1}if(null==i){r.LoggingUtils.warn("value param should not be null or undefined.",t,a,o,u);return!1}if(!n(o,u)){r.LoggingUtils.warn("Local storage is not available. Returning false.",t,a,o,u);return!1}try{r.LoggingUtils.log("Creating "+e+" in local storage.",t,a,f,u);localStorage.setItem(e,i);return!0}catch(n){r.LoggingUtils.error("Error was thrown when creating "+e+" item in local storage.",t,a,o,u);return!1}};e.tryDeleteItem=function(e,i,o){void 0===i&&(i=!1);void 0===o&&(o=!1);var u="tryDeleteItem",a=!!i||s.Global.gAbtSkipAriaLog;r.LoggingUtils.log("Start deleting an item in local storage.",t,u,a,o);if(null==e){r.LoggingUtils.warn("name param should not be null or undefined.",t,u,i,o);return!1}if(!n(i,o)){r.LoggingUtils.warn("Local storage is not available. Returning false.",t,u,i,o);return!1}try{r.LoggingUtils.log("Deleting "+e+" from local storage.",t,u,a,o);localStorage.removeItem(e);return!0}catch(n){r.LoggingUtils.error("Error was thrown when deleting "+e+" item from local storage.",t,u,i,o);return!1}};e.convertActivitiesToRecords=function(e,n,i){void 0===n&&(n=!1);void 0===i&&(i=!1);var o,u="convertActivitiesToRecords",a=!!n||s.Global.gAbtSkipAriaLog;r.LoggingUtils.log("Start converting activities from local storage into records.",t,u,a,i);if(null==e||void 0===e||""===e){r.LoggingUtils.warn("Input parameters not in expected format.",t,u,n,i);return null}try{o=JSON.parse(e)}catch(e){r.LoggingUtils.error("Exception occurred while parsing activities data from local storage to IAbtRecords. Returning null. Exception details: "+e.message+".",t,u,n,i);return null}if(void 0===o){r.LoggingUtils.error("Couldn't parse provided activities data. Returning null.",t,u,n,i);return null}return o}})(t.LocalStorageUtils||(t.LocalStorageUtils={}))},function(e,t,n){"use strict";n.r(t);n.d(t,"Contracts",function(){return c});n.d(t,"Result",function(){return T});n.d(t,"Activity",function(){return N});n.d(t,"User",function(){return C});n.d(t,"Funnel",function(){return k});n.d(t,"UserAction",function(){return L});n.d(t,"App",function(){return A});n.d(t,"Session",function(){return O});n.d(t,"HealthQosError",function(){return M});n.d(t,"CV",function(){return _});n.d(t,"makeBooleanDataField",function(){return l.e});n.d(t,"makeInt64DataField",function(){return l.r});n.d(t,"makeDoubleDataField",function(){return l.t});n.d(t,"makeStringDataField",function(){return l.i});n.d(t,"makeGuidDataField",function(){return l.n});n.d(t,"getEffectiveEventFlags",function(){return P});n.d(t,"onNotification",function(){return D.n});n.d(t,"logNotification",function(){return D.t});n.d(t,"logError",function(){return D.e});n.d(t,"SuppressNexus",function(){return H.t});n.d(t,"cloneEvent",function(){return H.n});n.d(t,"SimpleTelemetryLogger",function(){return H.e});n.d(t,"TelemetryLogger",function(){return R});n.d(t,"EnumObjects",function(){return F});n.d(t,"sendHealthQosError",function(){return U});var r,i,s,o,u,a,f,l=n(5);(r||(r={})).getFields=function(e,t){var n=[];n.push(Object(l.r)("".concat(e,".Code"),t.code));void 0!==t.type&&n.push(Object(l.i)("".concat(e,".Type"),t.type));void 0!==t.tag&&n.push(Object(l.r)("".concat(e,".Tag"),t.tag));void 0!==t.isExpected&&n.push(Object(l.e)("".concat(e,".IsExpected"),t.isExpected));n.push(Object(l.i)("zC.Activity.Result","Office.System.Result"));return n};(function(e){e.contractName="Office.System.Activity";e.getFields=function(t){var n=[];void 0!==t.cV&&n.push(Object(l.i)("".concat("Activity",".CV"),t.cV));n.push(Object(l.r)("".concat("Activity",".Duration"),t.duration));n.push(Object(l.r)("".concat("Activity",".Count"),t.count));n.push(Object(l.r)("".concat("Activity",".AggMode"),t.aggMode));void 0!==t.success&&n.push(Object(l.e)("".concat("Activity",".Success"),t.success));void 0!==t.result&&n.push.apply(n,r.getFields("".concat("Activity",".Result"),t.result));n.push(Object(l.i)("zC.Activity",e.contractName));return n}})(i||(i={}));(s||(s={})).getFields=function(e,t){var n=[];void 0!==t.id&&n.push(Object(l.i)("".concat(e,".Id"),t.id));void 0!==t.version&&n.push(Object(l.i)("".concat(e,".Version"),t.version));void 0!==t.sessionId&&n.push(Object(l.i)("".concat(e,".SessionId"),t.sessionId));return n};(o||(o={})).getFields=function(e,t){var n=[];void 0!==t.alias&&n.push(Object(l.i)("".concat(e,".Alias"),t.alias));void 0!==t.primaryIdentityHash&&n.push(Object(l.i)("".concat(e,".PrimaryIdentityHash"),t.primaryIdentityHash));void 0!==t.primaryIdentitySpace&&n.push(Object(l.i)("".concat(e,".PrimaryIdentitySpace"),t.primaryIdentitySpace));void 0!==t.tenantId&&n.push(Object(l.i)("".concat(e,".TenantId"),t.tenantId));void 0!==t.tenantGroup&&n.push(Object(l.i)("".concat(e,".TenantGroup"),t.tenantGroup));void 0!==t.isAnonymous&&n.push(Object(l.e)("".concat(e,".IsAnonymous"),t.isAnonymous));return n};(u||(u={})).getFields=function(e,t){var n=[];void 0!==t.name&&n.push(Object(l.i)("".concat(e,".Name"),t.name));void 0!==t.state&&n.push(Object(l.i)("".concat(e,".State"),t.state));return n};(a||(a={})).getFields=function(e,t){var n=[];void 0!==t.id&&n.push(Object(l.r)("".concat(e,".Id"),t.id));void 0!==t.name&&n.push(Object(l.i)("".concat(e,".Name"),t.name));void 0!==t.commandSurface&&n.push(Object(l.i)("".concat(e,".CommandSurface"),t.commandSurface));void 0!==t.parentName&&n.push(Object(l.i)("".concat(e,".ParentName"),t.parentName));void 0!==t.triggerMethod&&n.push(Object(l.i)("".concat(e,".TriggerMethod"),t.triggerMethod));void 0!==t.timeOffsetMs&&n.push(Object(l.r)("".concat(e,".TimeOffsetMs"),t.timeOffsetMs));return n};(f||(f={})).getFields=function(e,t){var n=[];n.push(Object(l.i)("".concat(e,".ErrorGroup"),t.errorGroup));n.push(Object(l.r)("".concat(e,".Tag"),t.tag));void 0!==t.code&&n.push(Object(l.r)("".concat(e,".Code"),t.code));void 0!==t.id&&n.push(Object(l.r)("".concat(e,".Id"),t.id));void 0!==t.count&&n.push(Object(l.r)("".concat(e,".Count"),t.count));return n};var c,h=i,p=r,d=f,v=u,m=s,g=a,y=o;(function(e){(function(e){(function(e){e.Activity=h;e.Result=p;e.Error=d;e.Funnel=v;e.Host=m;e.User=y;e.UserAction=g})(e.System||(e.System={}))})(e.Office||(e.Office={}))})(c||(c={}));function b(e,t){return e?e+"."+t:t}function w(e,t,n,r){n&&r.push(Object(l.i)("".concat(b(e,t)),n))}function E(e,t,n,r){"boolean"==typeof n&&r.push(Object(l.e)("".concat(b(e,t)),n))}function S(e,t,n,r){"number"==typeof n&&r.push(Object(l.r)("".concat(b(e,t)),n))}var x,T={getFields:function(e){var t=[];S("Activity.Result","Code",e.code,t);w("Activity.Result","Type",e.type,t);S("Activity.Result","Tag",e.tag,t);E("Activity.Result","IsExpected",e.isExpected,t);t.push(Object(l.i)("zC.Activity.Result","Office.System.Result"));return t}},N={contractName:"Office.System.Activity",getFields:function(e){var t=[];w("Activity","CV",e.cV,t);S("Activity","Duration",e.duration,t);S("Activity","Count",e.count,t);S("Activity","AggMode",e.aggMode,t);E("Activity","Success",e.success,t);e.result&&t.push.apply(t,T.getFields(e.result));t.push(Object(l.i)("zC.Activity",this.contractName));return t}},C={getFields:function(e){var t=[];w("User","PrimaryIdentityHash",e.primaryIdentityHash,t);w("User","PrimaryIdentitySpace",e.primaryIdentitySpace,t);w("User","TenantId",e.tenantId,t);w("User","TenantGroup",e.tenantGroup,t);E("User","IsAnonymous",e.isAnonymous,t);return t}},k={getFields:function(e,t){var n=[];w(e,"Name",t.name,n);w(e,"State",t.state,n);return n}},L={getFields:function(e){var t=[];S("UserAction","Id",e.id,t);w("UserAction","Name",e.name,t);w("UserAction","CommandSurface",e.commandSurface,t);w("UserAction","ParentName",e.parentName,t);w("UserAction","TriggerMethod",e.triggerMethod,t);S("UserAction","TimeOffsetMs",e.timeOffsetMs,t);return t}},A={getFields:function(e){var t=[];w("App","Name",e.name,t);w("App","Platform",e.platform,t);w("App","Version",e.version,t);return t}},O={getFields:function(e){var t=[];w("Session","Id",e.id,t);return t}},M={getFields:function(e){var t=[];t.push(Object(l.i)("Pillar",e.pillar));t.push(Object(l.i)("Veto",e.veto));t.push(Object(l.e)("IsIntentional",e.isIntentional));t.push(Object(l.e)("IsInternal",e.isInternal));t.push(Object(l.e)("AlertOnPillar",e.alertOnPillar));t.push(Object(l.e)("IsSessionEndingError",e.isSessionEndingError));E(void 0,"InStaging",e.inStaging,t);return t}},_=(function(){function e(e){this.value=e;this.nextChild=0}e.prototype.getNext=function(){return new e("".concat(this.value,".").concat(++this.nextChild))};return e})();var D=n(29);function P(e){var t={costPriority:1,samplingPolicy:1,persistencePriority:1,dataCategories:0,diagnosticLevel:100};e.eventFlags&&e.eventFlags.dataCategories||Object(D.t)(0,0,function(){return"DataCategories"});if(!e.eventFlags)return t;e.eventFlags.costPriority&&(t.costPriority=e.eventFlags.costPriority);e.eventFlags.samplingPolicy&&(t.samplingPolicy=e.eventFlags.samplingPolicy);e.eventFlags.persistencePriority&&(t.persistencePriority=e.eventFlags.persistencePriority);e.eventFlags.dataCategories&&(t.dataCategories=e.eventFlags.dataCategories);e.eventFlags.diagnosticLevel&&(t.diagnosticLevel=e.eventFlags.diagnosticLevel);return t}var H=n(66),B=n(0),j=function(){return 1e3*Date.now()};"object"==typeof window&&"object"==typeof window.performance&&"now"in window.performance&&(j=function(){return 1e3*Math.floor(window.performance.now())});var F,I=function(e){var t,n=j(),r=Object(H.n)(e.telemetryEvent);return{cv:e.parentCv.getNext(),eventName:e.telemetryEvent.eventName,dataFields:r.dataFields,eventFlags:r.eventFlags,telemetryProperties:r.telemetryProperties,createChildActivity:function(t){return I({telemetryEvent:t,sendTelemetryEvent:e.sendTelemetryEvent,parentCv:this.cv})},setResult:function(e,t,n){this.result={code:e,type:t,tag:n}},endNow:function(){if(!t){void 0===this.success&&void 0===this.result&&Object(D.t)(1,0,function(){return"Activity does not have success or result set"});var r=j();t=!0;var i={duration:r-n,count:1,aggMode:0,cV:this.cv.value,success:this.success,result:this.result},s=this.eventContract&&this.eventContract.dataFields?this.eventContract.dataFields:[];s.push.apply(s,N.getFields(i));this.eventContract={name:N.contractName,dataFields:s};return e.sendTelemetryEvent(this)}Object(D.t)(0,0,function(){return"Already ended"})}}},q=function(e){var t=[];t.push(Object(l.i)("".concat("Error",".ErrorGroup"),e.errorGroup));t.push(Object(l.r)("".concat("Error",".Tag"),e.tag));void 0!==e.code&&t.push(Object(l.r)("".concat("Error",".Code"),e.code));void 0!==e.id&&t.push(Object(l.r)("".concat("Error",".Id"),e.id));void 0!==e.count&&t.push(Object(l.r)("".concat("Error",".Count"),e.count));return t},R=(function(e){Object(B.n)(t,e);function t(t,n,r){var i=e.call(this,t,n,r)||this;i.baseCv=(function(){if(!x){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=[],n=0;n<22;n++)t.push(e.charAt(Math.floor(Math.random()*e.length)));x=new _(t.join(""))}return x})();return i}t.prototype.createActivity=function(e){return I({sendTelemetryEvent:this.sendTelemetryEvent.bind(this),telemetryEvent:e,parentCv:this.baseCv})};t.prototype.sendActivity=function(e,t,n,r){return this.sendTelemetryEvent({eventName:e,eventContract:{name:N.contractName,dataFields:N.getFields(t)},dataFields:n,eventFlags:r})};t.prototype.sendError=function(e){var t=q(e.error);null!=e.dataFields&&t.push.apply(t,e.dataFields);return this.sendTelemetryEvent({eventName:e.eventName,dataFields:t,eventFlags:e.eventFlags})};t.prototype.createCustomerContentActivity=function(e){return I({sendTelemetryEvent:this.sendCustomerContent.bind(this),telemetryEvent:e,parentCv:this.baseCv})};return t})(H.e);(function(e){e.DataClassification={EssentialServiceMetadata:1,AccountData:2,SystemMetadata:4,OrganizationIdentifiableInformation:8,EndUserIdentifiableInformation:16,CustomerContent:32,AccessControl:64};e.DataFieldType={String:0,Boolean:1,Int64:2,Double:3,Guid:4};e.SamplingPolicy={NotSet:0,Measure:1,Diagnostics:2,CriticalBusinessImpact:191,CriticalCensus:192,CriticalExperimentation:193,CriticalUsage:194};e.PersistencePriority={NotSet:0,Normal:1,High:2};e.CostPriority={NotSet:0,Normal:1,High:2};e.DataCategories={NotSet:0,SoftwareSetup:1,ProductServiceUsage:2,ProductServicePerformance:4,DeviceConfiguration:8,InkingTypingSpeech:16};e.DiagnosticLevel={ReservedDoNotUse:0,Required:10,BasicEvent:10,Optional:100,FullEvent:100,RequiredServiceData:110,NecessaryServiceDataEvent:110,RequiredServiceDataForEssentialServices:120,AlwaysOnNecessaryServiceDataEvent:120};e.CustomerContentType={None:0,MocaAddIn:1};e.LogLevel={Error:0,Warning:1,Info:2,Verbose:3};e.Category={Core:0,Sink:1,Transport:2}})(F||(F={}));function U(e,t,n,r,i,s,o,u,a,f,l){r.forEach(function(r){e.sendTelemetryEvent({eventName:t.name+".Qos.Error."+n,eventFlags:{diagnosticLevel:110},dataFields:Object(B.s)(Object(B.s)([],M.getFields({veto:r,pillar:i,isIntentional:s,isInternal:o,alertOnPillar:u,isSessionEndingError:a,inStaging:f}),!0),l||[],!0),telemetryProperties:{ariaTenantToken:t.token,nexusTenantToken:H.t}})})}},function(e,t,n){"use strict";n.d(t,"t",function(){return h});n.d(t,"n",function(){return p});n.d(t,"e",function(){return d});var r=n(0),i=n(29),s={};var o=/^Office(\.[A-Z][a-zA-Z0-9]*){2,}$/,u=/^[a-zA-Z0-9_\.]{1,95}$/;function a(e){if(!(function(e){if(!e||e.length>98)return!1;return o.test(e)})(e.eventName))throw new Error("Invalid eventName");var t=e.eventContract;if(t){if(t.name&&!f(t.name))throw new Error("Invalid eventContract");l(t.dataFields)}l(e.dataFields)}function f(e){return u.test(e)}function l(e){e&&e.forEach(function(e){if("string"!=typeof e.name||!f(e.name))throw new Error("Invalid dataField name");2===e.dataType&&(function(e){if("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e<-9007199254740991||e>9007199254740991)throw new Error("Invalid integer ".concat(JSON.stringify(e)))})(e.value)})}var c=n(5),h=-1;function p(e){var t={eventName:e.eventName,eventFlags:e.eventFlags||{},telemetryProperties:e.telemetryProperties?Object(r.e)({},e.telemetryProperties):{},dataFields:e.dataFields?e.dataFields.slice():[],timestamp:e.timestamp||(new Date).getTime()};e.eventContract&&(t.eventContract={name:e.eventContract.name,dataFields:e.eventContract.dataFields.slice()});return t}var d=(function(){function e(e,t,n){var i,s,o;this.telemetrySinks=[];this.persistentDataFields=[];this.partAFields=[];this.eventQueue=[];this.config=n||{};if(e){this.telemetrySinks=e.telemetrySinks;(i=this.persistentDataFields).push.apply(i,e.persistentDataFields);this.config=Object(r.e)(Object(r.e)({},e.getConfig()),this.config);(s=this.partAFields).push.apply(s,e.partAFields)}t&&(o=this.persistentDataFields).push.apply(o,t)}e.prototype.sendTelemetryEvent=function(e){var t=p(e),n=t.telemetryProperties;if(n.customerContentVersion||n.customerContentType)Object(i.t)(0,0,function(){return"Customer content"});else{if(!n.ariaTenantToken||!n.nexusTenantToken){var r=(function(e){for(var t=e.length;t>0;){var n=e.substr(0,t);if(s[n])return s[n];t=e.lastIndexOf(".",t-1)}})(t.eventName);if(!r){Object(i.t)(0,0,function(){return"No tenant token: "+e.eventName});return}n.ariaTenantToken=r.ariaTenantToken;n.nexusTenantToken=r.nexusTenantToken}this.sendTelemetryEventInternal(t)}};e.prototype.sendCustomerContent=function(e){var t=p(e),n=t.telemetryProperties,r=n.customerContentVersion;(!r||r>1)&&(n.customerContentVersion=1);n.ariaTenantToken=void 0;n.nexusTenantToken=void 0;t.dataFields.push(Object(c.r)("EventContent.Type",2));return this.sendTelemetryEventInternal(t)};e.prototype.sendTelemetryEventInternal=function(e){try{if(0===this.telemetrySinks.length){this.config.enableQueue&&this.eventQueue.length<1e3?this.eventQueue.push(e):Object(i.t)(1,0,function(){return"No telemetry sinks are attached."});return}this.processTelemetryEvent(e)}catch(e){Object(i.e)(0,"SendTelemetryEvent",e);return}try{this.telemetrySinks.forEach(function(t){var n=e.telemetryProperties;n.customerContentVersion&&n.customerContentType?t.sendCustomerContent&&t.sendCustomerContent(e):t.sendTelemetryEvent(e)})}catch(e){}};e.prototype.processTelemetryEvent=function(e){var t,n,r;if(e.dataFields){null===(r=e.dataFields)||void 0===r||r.unshift(Object(c.i)("OTelJS.Version","4.8.17"));this.persistentDataFields&&(t=e.dataFields).unshift.apply(t,this.persistentDataFields)}if(this.partAFields.length>0){var i=e.eventContract||{name:"",dataFields:[]};(n=i.dataFields).push.apply(n,this.partAFields);e.eventContract=i}this.config.disableValidation||a(e)};e.prototype.addSink=function(e){this.telemetrySinks.push(e);this.flushQueue()};e.prototype.flushQueue=function(){var e=this,t=this.eventQueue;this.eventQueue=[];this.telemetrySinks.length>0&&t.forEach(function(t){e.sendTelemetryEventInternal(t)})};e.prototype.setTenantToken=function(e,t,n){(function(e,t){"Office."===e.substring(0,7)&&"."!==e[e.length-1]?s[e]=t:Object(i.t)(0,0,function(){return"Namespace: ".concat(e)})})(e,{ariaTenantToken:t,nexusTenantToken:n})};e.prototype.cloneEvent=function(e){return p(e)};e.prototype.getConfig=function(){return this.config};return e})()},function(e,t,n){"use strict";n.d(t,"e",function(){return i});var r=n(181),i=(function(){function e(t){this._id=e._uniqueId++;this._parent=t;this._eventRecords=[]}e.raise=function(t,n,i,s){var o;if(e._isElement(t)){if("undefined"!=typeof document&&document.createEvent){var u=document.createEvent("HTMLEvents");u.initEvent(n,s||!1,!0);Object(r.e)(u,i);o=t.dispatchEvent(u)}else if("undefined"!=typeof document&&document.createEventObject){var a=document.createEventObject(i);t.fireEvent("on"+n,a)}}else for(;t&&!1!==o;){var f=t.__events__,l=f?f[n]:null;if(l)for(var c in l)if(l.hasOwnProperty(c))for(var h=l[c],p=0;!1!==o&&p<h.length;p++){var d=h[p];d.objectCallback&&(o=d.objectCallback.call(d.parent,i))}t=s?t.parent:null}return o};e.isObserved=function(e,t){var n=e&&e.__events__;return!!n&&!!n[t]};e.isDeclared=function(e,t){var n=e&&e.__declaredEvents;return!!n&&!!n[t]};e.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0};e._isElement=function(e){return!!e&&(!!e.addEventListener||"undefined"!=typeof HTMLElement&&e instanceof HTMLElement)};e.prototype.dispose=function(){if(!this._isDisposed){this._isDisposed=!0;this.off();this._parent=null}};e.prototype.onAll=function(e,t,n){for(var r in t)t.hasOwnProperty(r)&&this.on(e,r,t[r],n)};e.prototype.on=function(t,n,r,i){var s=this;if(n.indexOf(",")>-1)for(var o=n.split(/[ ,]+/),u=0;u<o.length;u++)this.on(t,o[u],r,i);else{var a=this._parent,f={target:t,eventName:n,parent:a,callback:r,options:i};(o=t.__events__=t.__events__||{})[n]=o[n]||{count:0};o[n][this._id]=o[n][this._id]||[];o[n][this._id].push(f);o[n].count++;if(e._isElement(t)){var l=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!s._isDisposed){var n;try{if(!1===(n=r.apply(a,e))&&e[0]){var i=e[0];i.preventDefault&&i.preventDefault();i.stopPropagation&&i.stopPropagation();i.cancelBubble=!0}}catch(i){}return n}};f.elementCallback=l;t.addEventListener?t.addEventListener(n,l,i):t.attachEvent&&t.attachEvent("on"+n,l)}else{f.objectCallback=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!s._isDisposed)return r.apply(a,e)}}this._eventRecords.push(f)}};e.prototype.off=function(e,t,n,r){for(var i=0;i<this._eventRecords.length;i++){var s=this._eventRecords[i];if(!(e&&e!==s.target||t&&t!==s.eventName||n&&n!==s.callback||"boolean"==typeof r&&r!==s.options)){var o=s.target.__events__,u=o[s.eventName],a=u?u[this._id]:null;if(a){if(1!==a.length&&n){u.count--;a.splice(a.indexOf(s),1)}else{u.count-=a.length;delete o[s.eventName][this._id]}u.count||delete o[s.eventName]}s.elementCallback&&(s.target.removeEventListener?s.target.removeEventListener(s.eventName,s.elementCallback,s.options):s.target.detachEvent&&s.target.detachEvent("on"+s.eventName,s.elementCallback));this._eventRecords.splice(i--,1)}}};e.prototype.raise=function(t,n,r){return e.raise(this._parent,t,n,r)};e.prototype.declare=function(e){var t=this._parent.__declaredEvents=this._parent.__declaredEvents||{};if("string"==typeof e)t[e]=!0;else for(var n=0;n<e.length;n++)t[e[n]]=!0};e._uniqueId=0;return e})()},function(e,t,n){"use strict";n.d(t,"e",function(){return o});var r=n(1),i=n(3),s=n(33),o=Object(s.t)(function(e,t){var n,s,o,u,a,f,l,c,h,p,d,v,m,g=e.effects,y=e.palette,b=e.semanticColors,w={left:-2,top:-2,bottom:-2,right:-2,border:"none"},E={position:"absolute",width:1,right:31,top:8,bottom:8},S={splitButtonContainer:[Object(i.d)(e,{highContrastStyle:w,inset:2}),{display:"inline-flex",selectors:{".ms-Button--default":{borderTopRightRadius:"0",borderBottomRightRadius:"0",borderRight:"none"},".ms-Button--primary":{borderTopRightRadius:"0",borderBottomRightRadius:"0",border:"none",selectors:(n={},n[i.r]=Object(r.e)({color:"WindowText",backgroundColor:"Window",border:"1px solid WindowText",borderRightWidth:"0"},Object(i.m)()),n)},".ms-Button--primary + .ms-Button":{border:"none",selectors:(s={},s[i.r]={border:"1px solid WindowText",borderLeftWidth:"0"},s)}}}],splitButtonContainerHovered:{selectors:{".ms-Button--primary":{selectors:(o={},o[i.r]={color:"Window",backgroundColor:"Highlight"},o)},".ms-Button.is-disabled":{color:b.buttonTextDisabled,selectors:(u={},u[i.r]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},u)}}},splitButtonContainerChecked:{selectors:{".ms-Button--primary":{selectors:(a={},a[i.r]=Object(r.e)({color:"Window",backgroundColor:"WindowText"},Object(i.m)()),a)}}},splitButtonContainerCheckedHovered:{selectors:{".ms-Button--primary":{selectors:(f={},f[i.r]=Object(r.e)({color:"Window",backgroundColor:"WindowText"},Object(i.m)()),f)}}},splitButtonContainerFocused:{outline:"none!important"},splitButtonMenuButton:(l={padding:6,height:"auto",boxSizing:"border-box",borderRadius:0,borderTopRightRadius:g.roundedCorner2,borderBottomRightRadius:g.roundedCorner2,border:"1px solid "+y.neutralSecondaryAlt,borderLeft:"none",outline:"transparent",userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",verticalAlign:"top",width:32,marginLeft:-1,marginTop:0,marginRight:0,marginBottom:0},l[i.r]={".ms-Button-menuIcon":{color:"WindowText"}},l),splitButtonDivider:Object(r.e)(Object(r.e)({},E),{selectors:(c={},c[i.r]={backgroundColor:"WindowText"},c)}),splitButtonDividerDisabled:Object(r.e)(Object(r.e)({},E),{selectors:(h={},h[i.r]={backgroundColor:"GrayText"},h)}),splitButtonMenuButtonDisabled:{pointerEvents:"none",border:"none",selectors:(p={":hover":{cursor:"default"},".ms-Button--primary":{selectors:(d={},d[i.r]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},d)},".ms-Button-menuIcon":{selectors:(v={},v[i.r]={color:"GrayText"},v)}},p[i.r]={color:"GrayText",border:"1px solid GrayText",backgroundColor:"Window"},p)},splitButtonFlexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},splitButtonContainerDisabled:{outline:"none",border:"none",selectors:(m={},m[i.r]=Object(r.e)({color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},Object(i.m)()),m)},splitButtonMenuFocused:Object(r.e)({},Object(i.d)(e,{highContrastStyle:w,inset:2}))};return Object(i.l)(S,t)})},function(e,t,n){"use strict";n.d(t,"e",function(){return r});var r;(function(e){e[e.EssentialServiceMetadata=1]="EssentialServiceMetadata";e[e.AccountData=2]="AccountData";e[e.SystemMetadata=4]="SystemMetadata";e[e.OrganizationIdentifiableInformation=8]="OrganizationIdentifiableInformation";e[e.EndUserIdentifiableInformation=16]="EndUserIdentifiableInformation";e[e.CustomerContent=32]="CustomerContent";e[e.AccessControl=64]="AccessControl"})(r||(r={}))},function(e,t,n){"use strict";n.d(t,"i",function(){return r});n.d(t,"r",function(){return i});n.d(t,"e",function(){return s});n.d(t,"t",function(){return o});n.d(t,"n",function(){return u});var r,i,s,o,u;(function(e){e[e.NotSet=0]="NotSet";e[e.Measure=1]="Measure";e[e.Diagnostics=2]="Diagnostics";e[e.CriticalBusinessImpact=191]="CriticalBusinessImpact";e[e.CriticalCensus=192]="CriticalCensus";e[e.CriticalExperimentation=193]="CriticalExperimentation";e[e.CriticalUsage=194]="CriticalUsage"})(r||(r={}));(function(e){e[e.NotSet=0]="NotSet";e[e.Normal=1]="Normal";e[e.High=2]="High"})(i||(i={}));(function(e){e[e.NotSet=0]="NotSet";e[e.Normal=1]="Normal";e[e.High=2]="High"})(s||(s={}));(function(e){e[e.NotSet=0]="NotSet";e[e.SoftwareSetup=1]="SoftwareSetup";e[e.ProductServiceUsage=2]="ProductServiceUsage";e[e.ProductServicePerformance=4]="ProductServicePerformance";e[e.DeviceConfiguration=8]="DeviceConfiguration";e[e.InkingTypingSpeech=16]="InkingTypingSpeech"})(o||(o={}));(function(e){e[e.ReservedDoNotUse=0]="ReservedDoNotUse";e[e.BasicEvent=10]="BasicEvent";e[e.FullEvent=100]="FullEvent";e[e.NecessaryServiceDataEvent=110]="NecessaryServiceDataEvent";e[e.AlwaysOnNecessaryServiceDataEvent=120]="AlwaysOnNecessaryServiceDataEvent"})(u||(u={}))},function(e,t,n){"use strict";n.r(t);n.d(t,"verbose",function(){return p});n.d(t,"logError",function(){return d});n.d(t,"log",function(){return v});n.d(t,"getErrorMessage",function(){return m});n.d(t,"isExpectedError",function(){return g});var r=n(28),i=n(2),s=Object(r.e)({eventName:"Trace,",shortEventName:"Trace",requiresParent:!1},{message:i.e.String,privacyClassification:{isPrefixingDisabled:!0,type:i.e.String}}).withData({privacyClassification:i.t.requiredService,privacyDataTypes:["browsingHistory"]}),o=Object(r.e)({eventName:"CaughtError,Trace,",shortEventName:"CaughtError",critical:!0,requiresParent:!1},{stack:i.e.String,extraData:i.e.Object,privacyClassification:{isPrefixingDisabled:!0,type:i.e.String}},s).withData({privacyClassification:i.t.requiredService}),u=n(15),a=Object(r.e)({eventName:"QosError,CaughtError,Trace,",shortEventName:"QosError",critical:!0},{name:{isKey:!0,type:i.e.String},resultCode:i.e.String,resultType:{typeRef:u.e,type:i.e.Enum}},o).withData({privacyClassification:i.t.requiredDiagnostic}),f=Object(r.e)({eventName:"Verbose,Trace,",shortEventName:"Verbose",requiresParent:!1},{name:{isKey:!0,type:i.e.String},privacyClassification:{isPrefixingDisabled:!0,type:i.e.String}},s).withData({privacyClassification:i.t.requiredService}),l=n(95),c=n(119),h=new l.e(50);function p(e,t){h.push({name:t,message:e})}function d(e,t,n){if(!e||(function(e){return"Canceled"===e||!!e&&"object"==typeof e&&"name"in e&&"Canceled"===e.name||!!e&&"object"==typeof e&&"message"in e&&"Canceled"===e.message})(e)||"object"==typeof e&&e.isExpected)try{if("true"===sessionStorage.getItem("suppressErrorHandling"))return}catch(e){}else{for(var r,i=m(e),s=(e&&"object"==typeof e&&"stack"in e&&e.stack?e.stack:"");r=h.popOldest();)f.logData(r);n&&n.eventName?a.logData({name:n.eventName,resultCode:n.resultCode,resultType:n.resultType,extraData:t||{},message:i,stack:s}):o.logData({extraData:t||{},message:i,stack:s})}}function v(e,t,n,r){d(e,void 0,{eventName:t,resultCode:n,resultType:r})}function m(e){var t="";e&&("object"==typeof e&&"message"in e?t=e.message:"object"==typeof e&&"description"in e?t=e.description:"object"==typeof e?t=Object(c.e)(e):e.toString&&(t=e.toString()));return t}function g(e,t){if(!0===e.isExpected)return!0;void 0===e.message&&void 0===e.code&&console.error('Error message and code are both undefined. "error" must specify at least message or code');for(var n=function(e,t){return!(!e||!t)&&(0===e.localeCompare(t,void 0,{sensitivity:"base"})||e===t)},r=!1,i=0,s=t;i<s.length;i++){var o=s[i],u=n(o.code,e.code),a=n(o.message,e.message);o.code&&e.code&&o.message&&e.message?r=u&&a:o.code&&e.code?r=u:o.message&&e.message&&(r=a);if(r)return r}return r}},function(e,t,n){"use strict";n.d(t,"e",function(){return r});n.d(t,"t",function(){return i});var r;(function(e){e[e.CRITICAL=1]="CRITICAL";e[e.WARNING=2]="WARNING"})(r||(r={}));var i={BrowserDoesNotSupportLocalStorage:0,BrowserCannotReadLocalStorage:1,BrowserCannotReadSessionStorage:2,BrowserCannotWriteLocalStorage:3,BrowserCannotWriteSessionStorage:4,BrowserFailedRemovalFromLocalStorage:5,BrowserFailedRemovalFromSessionStorage:6,CannotSendEmptyTelemetry:7,ClientPerformanceMathError:8,ErrorParsingAISessionCookie:9,ErrorPVCalc:10,ExceptionWhileLoggingError:11,FailedAddingTelemetryToBuffer:12,FailedMonitorAjaxAbort:13,FailedMonitorAjaxDur:14,FailedMonitorAjaxOpen:15,FailedMonitorAjaxRSC:16,FailedMonitorAjaxSend:17,FailedMonitorAjaxGetCorrelationHeader:18,FailedToAddHandlerForOnBeforeUnload:19,FailedToSendQueuedTelemetry:20,FailedToReportDataLoss:21,FlushFailed:22,MessageLimitPerPVExceeded:23,MissingRequiredFieldSpecification:24,NavigationTimingNotSupported:25,OnError:26,SessionRenewalDateIsZero:27,SenderNotInitialized:28,StartTrackEventFailed:29,StopTrackEventFailed:30,StartTrackFailed:31,StopTrackFailed:32,TelemetrySampledAndNotSent:33,TrackEventFailed:34,TrackExceptionFailed:35,TrackMetricFailed:36,TrackPVFailed:37,TrackPVFailedCalc:38,TrackTraceFailed:39,TransmissionFailed:40,FailedToSetStorageBuffer:41,FailedToRestoreStorageBuffer:42,InvalidBackendResponse:43,FailedToFixDepricatedValues:44,InvalidDurationValue:45,TelemetryEnvelopeInvalid:46,CreateEnvelopeError:47,CannotSerializeObject:48,CannotSerializeObjectNonSerializable:49,CircularReferenceDetected:50,ClearAuthContextFailed:51,ExceptionTruncated:52,IllegalCharsInName:53,ItemNotInArray:54,MaxAjaxPerPVExceeded:55,MessageTruncated:56,NameTooLong:57,SampleRateOutOfRange:58,SetAuthContextFailed:59,SetAuthContextFailedAccountName:60,StringValueTooLong:61,StartCalledMoreThanOnce:62,StopCalledWithoutStart:63,TelemetryInitializerFailed:64,TrackArgumentsNotSpecified:65,UrlTooLong:66,SessionStorageBufferFull:67,CannotAccessCookie:68,IdTooLong:69,InvalidEvent:70,FailedMonitorAjaxSetRequestHeader:71,SendBrowserInfoOnUserInit:72,PluginException:73,NotificationException:74,SnippetScriptLoadFailure:99}},function(e,t,n){"use strict";n.d(t,"e",function(){return r});var r;(function(e){e[e.EssentialServiceMetadata=1]="EssentialServiceMetadata";e[e.AccountData=2]="AccountData";e[e.SystemMetadata=4]="SystemMetadata";e[e.OrganizationIdentifiableInformation=8]="OrganizationIdentifiableInformation";e[e.EndUserIdentifiableInformation=16]="EndUserIdentifiableInformation";e[e.CustomerContent=32]="CustomerContent";e[e.AccessControl=64]="AccessControl"})(r||(r={}))},function(e,t,n){"use strict";n.d(t,"e",function(){return i});var r=n("react-lib"),i=r.createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}})},,,,,function(e,t,n){"use strict";n.d(t,"e",function(){return i});var r=n(23);function i(){return window.CUSTOMERPROMISE_MANAGER=window.CUSTOMERPROMISE_MANAGER||Object(r.t)()}},function(e,t,n){"use strict";n.d(t,"e",function(){return p});var r,i,s,o,u,a,f,l,c=n(6),h=n(30);(r||(r={})).getFields=function(e,t){var n=[];n.push(Object(c.r)(e+".Code",t.code));void 0!==t.type&&n.push(Object(c.i)(e+".Type",t.type));void 0!==t.tag&&n.push(Object(c.r)(e+".Tag",t.tag));void 0!==t.isExpected&&n.push(Object(c.e)(e+".IsExpected",t.isExpected));Object(h.e)(n,e,"Office.System.Result");return n};(function(e){e.contractName="Office.System.Activity";e.getFields=function(t){var n=[];void 0!==t.cV&&n.push(Object(c.i)("Activity.CV",t.cV));n.push(Object(c.r)("Activity.Duration",t.duration));n.push(Object(c.r)("Activity.Count",t.count));n.push(Object(c.r)("Activity.AggMode",t.aggMode));void 0!==t.success&&n.push(Object(c.e)("Activity.Success",t.success));void 0!==t.result&&n.push.apply(n,r.getFields("Activity.Result",t.result));Object(h.e)(n,"Activity",e.contractName);return n}})(i||(i={}));(s||(s={})).getFields=function(e,t){var n=[];void 0!==t.id&&n.push(Object(c.i)(e+".Id",t.id));void 0!==t.version&&n.push(Object(c.i)(e+".Version",t.version));void 0!==t.sessionId&&n.push(Object(c.i)(e+".SessionId",t.sessionId));Object(h.e)(n,e,"Office.System.Host");return n};(o||(o={})).getFields=function(e,t){var n=[];void 0!==t.alias&&n.push(Object(c.i)(e+".Alias",t.alias));void 0!==t.primaryIdentityHash&&n.push(Object(c.i)(e+".PrimaryIdentityHash",t.primaryIdentityHash));void 0!==t.primaryIdentitySpace&&n.push(Object(c.i)(e+".PrimaryIdentitySpace",t.primaryIdentitySpace));void 0!==t.tenantId&&n.push(Object(c.i)(e+".TenantId",t.tenantId));void 0!==t.tenantGroup&&n.push(Object(c.i)(e+".TenantGroup",t.tenantGroup));void 0!==t.isAnonymous&&n.push(Object(c.e)(e+".IsAnonymous",t.isAnonymous));Object(h.e)(n,e,"Office.System.User");return n};(u||(u={})).getFields=function(e,t){var n=[];void 0!==t.id&&n.push(Object(c.i)(e+".Id",t.id));void 0!==t.version&&n.push(Object(c.i)(e+".Version",t.version));void 0!==t.instanceId&&n.push(Object(c.i)(e+".InstanceId",t.instanceId));void 0!==t.name&&n.push(Object(c.i)(e+".Name",t.name));void 0!==t.marketplaceType&&n.push(Object(c.i)(e+".MarketplaceType",t.marketplaceType));void 0!==t.sessionId&&n.push(Object(c.i)(e+".SessionId",t.sessionId));void 0!==t.browserToken&&n.push(Object(c.i)(e+".BrowserToken",t.browserToken));void 0!==t.osfRuntimeVersion&&n.push(Object(c.i)(e+".OsfRuntimeVersion",t.osfRuntimeVersion));void 0!==t.officeJsVersion&&n.push(Object(c.i)(e+".OfficeJsVersion",t.officeJsVersion));void 0!==t.hostJsVersion&&n.push(Object(c.i)(e+".HostJsVersion",t.hostJsVersion));void 0!==t.assetId&&n.push(Object(c.i)(e+".AssetId",t.assetId));void 0!==t.providerName&&n.push(Object(c.i)(e+".ProviderName",t.providerName));void 0!==t.type&&n.push(Object(c.i)(e+".Type",t.type));Object(h.e)(n,e,"Office.System.SDX");return n};(a||(a={})).getFields=function(e,t){var n=[];void 0!==t.name&&n.push(Object(c.i)(e+".Name",t.name));void 0!==t.state&&n.push(Object(c.i)(e+".State",t.state));Object(h.e)(n,e,"Office.System.Funnel");return n};(f||(f={})).getFields=function(e,t){var n=[];void 0!==t.id&&n.push(Object(c.r)(e+".Id",t.id));void 0!==t.name&&n.push(Object(c.i)(e+".Name",t.name));void 0!==t.commandSurface&&n.push(Object(c.i)(e+".CommandSurface",t.commandSurface));void 0!==t.parentName&&n.push(Object(c.i)(e+".ParentName",t.parentName));void 0!==t.triggerMethod&&n.push(Object(c.i)(e+".TriggerMethod",t.triggerMethod));void 0!==t.timeOffsetMs&&n.push(Object(c.r)(e+".TimeOffsetMs",t.timeOffsetMs));Object(h.e)(n,e,"Office.System.UserAction");return n};(l||(l={})).getFields=function(e,t){var n=[];n.push(Object(c.i)(e+".ErrorGroup",t.errorGroup));n.push(Object(c.r)(e+".Tag",t.tag));void 0!==t.code&&n.push(Object(c.r)(e+".Code",t.code));void 0!==t.id&&n.push(Object(c.r)(e+".Id",t.id));void 0!==t.count&&n.push(Object(c.r)(e+".Count",t.count));Object(h.e)(n,e,"Office.System.Error");return n};var p,d=i,v=r,m=l,g=a,y=s,b=u,w=f,E=o;(function(e){(function(e){(function(e){e.Activity=d;e.Result=v;e.Error=m;e.Funnel=g;e.Host=y;e.SDX=b;e.User=E;e.UserAction=w})(e.System||(e.System={}))})(e.Office||(e.Office={}))})(p||(p={}))},function(e,t,n){"use strict";n.d(t,"e",function(){return s});var r=(function(){function e(e){this._callbacks=[];this._owner=e}e.prototype.addCallback=function(e){this._callbacks.push(e)};e.prototype.dispose=function(){for(var e;e=this._callbacks.pop();)e.call(this._owner)};return e})();function i(e,t){var n=e,i=n.dispose;("function"==typeof i&&i.disposalChain||(function(e){var t=new r(e),n=e.dispose,i=function(){t.dispose();if(n){e.dispose=n;e.dispose()}};e.dispose=i;i.disposalChain=t;return t})(n)).addCallback(t);return n}var s=(function(){function e(){this._disposables={};this._lastDisposableId=0;this.isDisposed=!1}e.prototype.attach=function(e){var t=this,n="".concat(++this._lastDisposableId),r=i(e,function(){delete t._disposables[n]});this._disposables[n]=r;return r};e.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0);for(var e=this._disposables,t=0,n=Object.keys(e);t<n.length;t++){var r=n[t],i=e[r];i&&"function"==typeof i.dispose&&i.dispose();delete e[r]}};return e})()},function(e,t,n){"use strict";n.d(t,"e",function(){return r});var r;(function(e){e[e.Single=0]="Single";e[e.Start=1]="Start";e[e.End=2]="End"})(r||(r={}))},function(e,t,n){"use strict";n.d(t,"e",function(){return i});n.d(t,"t",function(){return s});var r=n(12),i="ms-Fabric--isFocusVisible";function s(e,t){var n=t?Object(r.e)(t):Object(r.e)();if(n){var s=n.document.body.classList;s.add(e?i:"ms-Fabric--isFocusHidden");s.remove(e?"ms-Fabric--isFocusHidden":i)}}},function(e,t,n){"use strict";n.d(t,"e",function(){return i});n.d(t,"t",function(){return s});var r=n(12);function i(e){var t=null;try{var n=Object(r.e)();t=n?n.sessionStorage.getItem(e):null}catch(e){}return t}function s(e,t){var n;try{null===(n=Object(r.e)())||void 0===n||n.sessionStorage.setItem(e,t)}catch(e){}}},function(e,t,n){"use strict";n.d(t,"e",function(){return f});n.d(t,"t",function(){return l});n.d(t,"n",function(){return h});var r=n(54),i=n(100),s=n(73),o=n(43),u=function(){return(u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},a=0,f="f998cc5ba4d448d6a1e8e913ff18be94-dd122e0a-fcf8-4dc5-9dbb-6afac5325183-7405";function l(e,t,n){var s=h(e.dataFields,!0);s["Event.Sequence"]={value:++a,propertyType:r.t.Int64};s["Event.Name"]=e.eventName;s["Event.Source"]="OTelJS";s["Event.Time"]={value:Object(i.i)(c(n)),propertyType:r.t.DateTime};t&&(s["Event.Id"]=t+"."+a);if(e.eventContract){s["Event.Contract"]=e.eventContract.name;s=u(u({},s),h(e.eventContract.dataFields,!1))}return s}function c(e){return e?new Date(e):new Date}function h(e,t){var n={};e&&e.forEach(function(e){if(!e.classification||e.classification===s.e.SystemMetadata||e.classification===s.e.EssentialServiceMetadata){var i,u;i=t?"zC."===e.name.substr(0,3)?"zC.Data."+e.name.substr(3):"Data."+e.name:e.name;switch(e.dataType){case o.e.Double:u=r.t.Double;break;case o.e.Int64:u=r.t.Int64;break;case o.e.Guid:u=r.t.Guid;break;case o.e.Boolean:case o.e.String:default:n[i]=e.value;return}var a={value:e.value,propertyType:u};n[i]=a}});return n}},function(e,t,n){"use strict";n.d(t,"e",function(){return r});function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],r=0,i=e;r<i.length;r++){var s=i[r];if(s)if("string"==typeof s)n.push(s);else if(s.hasOwnProperty("toString")&&"function"==typeof s.toString)n.push(s.toString());else for(var o in s)s[o]&&n.push(o)}return n.join(" ")}},function(e,t,n){"use strict";var r,i,s,o,u,a=n(120),f=!1;function l(){var e;r=window.PageContext;var t=window.Flight;i=t&&t.Ramps;s=window.FilesConfig;var n=window.Flighting,a=window._spPageContextInfo;u=null===(e=window.Flight)||void 0===e?void 0:e.ecsRolloutsEnabled;if(!o&&a){!a.ExpFeatures&&n&&n.ExpFeatures&&(a.ExpFeatures=n.ExpFeatures);c.initSPExpFeatures(a.ExpFeatures)}f=!0}var c=(function(){function e(){}e.initSPExpFeatures=function(e){o=e};e.isFeatureEnabled=function(e){f||l();var t=!!e.Fallback,n=e.ODB,c=e.ODC,h=e.ECS,p=e.OneDrive;void 0!==n&&o&&(t=Object(a.e)(e,o));void 0!==c&&s&&("boolean"==typeof c?t=c:(i&&i[c]||s&&s[c])&&(t=!0));void 0!==h&&u&&u.indexOf(h)>=0&&(t=!0);void 0!==p&&r&&(t=p);return t};e.On={Fallback:!0};e.Off={};return e})();t.e=c},function(e,t,n){"use strict";(function(e){n.d(t,"e",function(){return s});n.d(t,"n",function(){return o});n.d(t,"t",function(){return u});var r=n(8),i=null;function s(t){void 0===t&&(t=!0);if(!i||!t){typeof globalThis!==r.c&&globalThis&&(i=globalThis);typeof self!==r.c&&self&&(i=self);typeof window!==r.c&&window&&(i=window);typeof e!==r.c&&e&&(i=e)}return i}function o(e){throw new TypeError(e)}function u(e){var t=r.n;if(t)return t(e);if(null==e)return{};var n=typeof e;n!==r.f&&n!==r.u&&o("Object prototype may only be an Object:"+e);function i(){}i[r.l]=e;return new i}}).call(this,n(92))},,,,function(e,t){var n;n=(function(){return this})();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Environment=void 0;var r,i=n(158),s=n(137);(function(e){e[e.WorldWide=1]="WorldWide";e[e.Trailblazer=4]="Trailblazer";e[e.Pathfinder=5]="Pathfinder"})(r=t.Environment||(t.Environment={}));var o={};o[r[r.WorldWide]]=new i.EnvConfig(s.AbtHost.abtWorldWideSvc,!0,!0);o[r[r.Pathfinder]]=new i.EnvConfig(s.AbtHost.abtPathfinderSvc,!1,!0);o[r[r.Trailblazer]]=new i.EnvConfig(s.AbtHost.abtTrailblazer,!1,!0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.AbtActions=void 0;var r=(function(){function e(){}e.update="UPDATE";e.signIn="SIGNIN";e.signOut="SIGNOUT";e.shouldPrompt="SHOULD_PROMPT";e.shouldSignOut="SHOULD_SIGNOUT";return e})();t.AbtActions=r},function(e,t,n){"use strict";n.d(t,"t",function(){return i});n.d(t,"e",function(){return s});var r=n(0),i=(function(){function e(e){this._items=[];this._maxSize=e}Object.defineProperty(e.prototype,"isFull",{get:function(){return this._items.length>=this._maxSize},enumerable:!1,configurable:!0});e.prototype.getAll=function(){return this._items.slice()};e.prototype.push=function(e){this._items.length>=this._maxSize&&(this._items.length=0);this._items.push(e)};return e})(),s=(function(){function e(e){if(e<=0)throw new Error("Size must be positive");this._size=e;this._buffer=new Array(e);this._length=0;this._head=-1}e.prototype.push=function(e){this._length<this._size&&this._length++;this._head++;this._head===this._size&&(this._head=0);this._buffer[this._head]=e};e.prototype.popOldest=function(){if(0===this._length)return null;var e=(this._head-this._length+1+this._size)%this._size;this._length--;return this._buffer[e]};Object.defineProperty(e.prototype,"isFull",{get:function(){return this._length>=this._size},enumerable:!1,configurable:!0});e.prototype.getAll=function(){var e=this._head+1;return this._length<this._size?this._buffer.slice(0,e):Object(r.s)(Object(r.s)([],this._buffer.slice(e),!0),this._buffer.slice(0,e),!0)};return e})()},function(e,t,n){"use strict";n.d(t,"e",function(){return r});var r=function(){var e,t;this.promise=new Promise(function(n,r){e=n;t=r});this.resolve=e;this.reject=t}},function(e,t,n){"use strict";n.d(t,"e",function(){return i});var r=n(1);function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles)return e[0];for(var n={},s={},o=0,u=e;o<u.length;o++){var a=u[o];if(a)for(var f in a)if(a.hasOwnProperty(f)){if("subComponentStyles"===f&&void 0!==a.subComponentStyles){var l=a.subComponentStyles;for(var c in l)l.hasOwnProperty(c)&&(s.hasOwnProperty(c)?s[c].push(l[c]):s[c]=[l[c]]);continue}var h=n[f],p=a[f];n[f]=void 0===h?p:Object(r.i)(Array.isArray(h)?h:[h],Array.isArray(p)?p:[p])}}if(Object.keys(s).length>0){n.subComponentStyles={};var d=n.subComponentStyles,v=function(e){if(s.hasOwnProperty(e)){var t=s[e];d[e]=function(e){return i.apply(void 0,t.map(function(t){return"function"==typeof t?t(e):t}))}}};for(var c in s)v(c)}return n}},function(e,t,n){"use strict";n.d(t,"e",function(){return r});var r=!n(20).t.isActivated("6d2a844a-9c33-46b3-80c2-9e47560a97b7","4/26/2022")},function(e,t,n){"use strict";n.d(t,"e",function(){return i});var r=n(12),i=(function(){function e(e,t){this._timeoutIds=null;this._immediateIds=null;this._intervalIds=null;this._animationFrameIds=null;this._isDisposed=!1;this._parent=e||null;this._onErrorHandler=t;this._noop=function(){}}e.prototype.dispose=function(){var e;this._isDisposed=!0;this._parent=null;if(this._timeoutIds){for(e in this._timeoutIds)this._timeoutIds.hasOwnProperty(e)&&this.clearTimeout(parseInt(e,10));this._timeoutIds=null}if(this._immediateIds){for(e in this._immediateIds)this._immediateIds.hasOwnProperty(e)&&this.clearImmediate(parseInt(e,10));this._immediateIds=null}if(this._intervalIds){for(e in this._intervalIds)this._intervalIds.hasOwnProperty(e)&&this.clearInterval(parseInt(e,10));this._intervalIds=null}if(this._animationFrameIds){for(e in this._animationFrameIds)this._animationFrameIds.hasOwnProperty(e)&&this.cancelAnimationFrame(parseInt(e,10));this._animationFrameIds=null}};e.prototype.setTimeout=function(e,t){var n=this,r=0;if(!this._isDisposed){this._timeoutIds||(this._timeoutIds={});r=setTimeout(function(){try{n._timeoutIds&&delete n._timeoutIds[r];e.apply(n._parent)}catch(e){n._onErrorHandler&&n._onErrorHandler(e)}},t);this._timeoutIds[r]=!0}return r};e.prototype.clearTimeout=function(e){if(this._timeoutIds&&this._timeoutIds[e]){clearTimeout(e);delete this._timeoutIds[e]}};e.prototype.setImmediate=function(e,t){var n=this,i=0,s=Object(r.e)(t);if(!this._isDisposed){this._immediateIds||(this._immediateIds={});i=s.setTimeout(function(){try{n._immediateIds&&delete n._immediateIds[i];e.apply(n._parent)}catch(e){n._logError(e)}},0);this._immediateIds[i]=!0}return i};e.prototype.clearImmediate=function(e,t){var n=Object(r.e)(t);if(this._immediateIds&&this._immediateIds[e]){n.clearTimeout(e);delete this._immediateIds[e]}};e.prototype.setInterval=function(e,t){var n=this,r=0;if(!this._isDisposed){this._intervalIds||(this._intervalIds={});r=setInterval(function(){try{e.apply(n._parent)}catch(e){n._logError(e)}},t);this._intervalIds[r]=!0}return r};e.prototype.clearInterval=function(e){if(this._intervalIds&&this._intervalIds[e]){clearInterval(e);delete this._intervalIds[e]}};e.prototype.throttle=function(e,t,n){var r=this;if(this._isDisposed)return this._noop;var i,s,o=t||0,u=!0,a=!0,f=0,l=null;n&&"boolean"==typeof n.leading&&(u=n.leading);n&&"boolean"==typeof n.trailing&&(a=n.trailing);var c=function(t){var n=Date.now(),h=n-f,p=u?o-h:o;if(h>=o&&(!t||u)){f=n;if(l){r.clearTimeout(l);l=null}i=e.apply(r._parent,s)}else null===l&&a&&(l=r.setTimeout(c,p));return i};return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];s=e;return c(!0)}};e.prototype.debounce=function(e,t,n){var r=this;if(this._isDisposed){var i=function(){};i.cancel=function(){};i.flush=function(){return null};i.pending=function(){return!1};return i}var s,o,u=t||0,a=!1,f=!0,l=null,c=0,h=Date.now(),p=null;n&&"boolean"==typeof n.leading&&(a=n.leading);n&&"boolean"==typeof n.trailing&&(f=n.trailing);n&&"number"==typeof n.maxWait&&!isNaN(n.maxWait)&&(l=n.maxWait);var d=function(e){if(p){r.clearTimeout(p);p=null}h=e},v=function(t){d(t);s=e.apply(r._parent,o)},m=function(e){var t=Date.now(),n=!1;if(e){a&&t-c>=u&&(n=!0);c=t}var i=t-c,o=u-i,d=t-h,g=!1;null!==l&&(d>=l&&p?g=!0:o=Math.min(o,l-d));i>=u||g||n?v(t):null!==p&&e||!f||(p=r.setTimeout(m,o));return s},g=function(){return!!p},y=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];o=e;return m(!0)};y.cancel=function(){g()&&d(Date.now())};y.flush=function(){g()&&v(Date.now());return s};y.pending=g;return y};e.prototype.requestAnimationFrame=function(e,t){var n=this,i=0,s=Object(r.e)(t);if(!this._isDisposed){this._animationFrameIds||(this._animationFrameIds={});var o=function(){try{n._animationFrameIds&&delete n._animationFrameIds[i];e.apply(n._parent)}catch(e){n._logError(e)}};i=s.requestAnimationFrame?s.requestAnimationFrame(o):s.setTimeout(o,0);this._animationFrameIds[i]=!0}return i};e.prototype.cancelAnimationFrame=function(e,t){var n=Object(r.e)(t);if(this._animationFrameIds&&this._animationFrameIds[e]){n.cancelAnimationFrame?n.cancelAnimationFrame(e):n.clearTimeout(e);delete this._animationFrameIds[e]}};e.prototype._logError=function(e){this._onErrorHandler&&this._onErrorHandler(e)};return e})()},function(e,t,n){"use strict";(function(e){n.d(t,"e",function(){return o});n.d(t,"n",function(){return v});n.d(t,"v",function(){return m});n.d(t,"b",function(){return g});n.d(t,"d",function(){return b});n.d(t,"p",function(){return w});n.d(t,"h",function(){return E});n.d(t,"o",function(){return T});n.d(t,"f",function(){return N});n.d(t,"l",function(){return C});n.d(t,"m",function(){return k});n.d(t,"i",function(){return L});n.d(t,"c",function(){return A});n.d(t,"w",function(){return O});n.d(t,"a",function(){return M});n.d(t,"r",function(){return _});n.d(t,"g",function(){return P});n.d(t,"u",function(){return H});n.d(t,"t",function(){return j});n.d(t,"y",function(){return F});n.d(t,"s",function(){return z});var r=n(54),i=n(7),s=n(19),o="1DS-Web-JS-2.3.4",u=r.t,a=null;function f(e,t){return typeof e===t}function l(e){return void 0===e||f(e,"undefined")}function c(e){return l(e)||null===e}function h(e){return!l(e)}var p,d=null,v=i.e.arrForEach,m=(i.e.arrIndexOf,i.e.arrMap,i.e.arrReduce,i.e.objKeys);i.e.toISOString;function g(e){return E(e)?e.replace(/^\s+|\s+$/g,""):e}var y=Boolean(Object(s.t)()),b=Boolean(Object(s.i)());function w(e){return!(c(e)||""===e)}function E(e){return f(e,"string")}function S(e){return f(e,"number")}function x(e){return f(e,"boolean")}function T(e){if(e){var t=e.indexOf("-");if(t>-1)return e.substring(0,t)}return""}function N(){null===d&&(d=Object(s.o)()&&Boolean(Object(s.r)().sendBeacon));return d}function C(e){return!!(e&&S(e)&&e>=1&&e<=3)}function k(e,t,n){if(!E(e)||c(t)||""===t)return null;if(E(t)||S(t)||x(t)||M(t))t={value:t};else if("object"!=typeof t||t.hasOwnProperty("value")){if(c(t.value)||""===t.value||!E(t.value)&&!S(t.value)&&!x(t.value)&&!M(t.value))return null}else t={value:n?JSON.stringify(t):t};if(M(t.value)&&!(r=t.value,r.length>0))return null;var r;if(h(t.kind)){if(M(t.value)||!(function(e){if(e&&S(e)&&(e>=0&&e<=13||32===e))return!0;return!1})(t.kind))return null;t.value=t.value.toString()}return t}function L(e){return e.getUTCFullYear()+"-"+B(e.getUTCMonth()+1)+"-"+B(e.getUTCDate())+"T"+B(e.getUTCHours())+":"+B(e.getUTCMinutes())+":"+B(e.getUTCSeconds())+"."+(function(e){if(e<10)return"00"+e;if(e<100)return"0"+e;return e.toString()})(e.getUTCMilliseconds())+"Z"}function A(){var e=Object(s.r)();return!(!e||!e.product)&&"ReactNative"===e.product}function O(){if(h(XMLHttpRequest)){var e=new XMLHttpRequest;return Boolean(l(e.withCredentials)&&h(XDomainRequest))}}function M(e){return e instanceof Array}function _(e,t,n){var r=-1;if(l(e))return r;t&&t>0&&(32===t?r=1<<13:t<=13&&(r=t<<5));if(h(n)&&(function(e){if(S(e)&&e>=0&&e<=9)return!0;return!1})(n)){-1===r&&(r=0);return r|n}M(e)&&(e=e[0]);return-1!==r?r|(function(e){if(l(e))return-1;if(S(e))return u.Double;if(E(e))return u.String;if(x(e))return u.Bool;return-1})(e):S(e)?u.Double:r}function D(){if(void 0===p){p=!1;try{var e=Object(s.t)(),t=Object(s.r)();e&&!l(e.cookie)&&t&&t.cookieEnabled&&(p=!0)}catch(e){}}return p}function P(e,t,n){if(D()){var r="",i=z();if(i&&"https:"===i.protocol){r=";secure";null===a&&(a=(function(e){return!!E(e)&&(-1!==e.indexOf("CPU iPhone OS 12")||-1!==e.indexOf("iPad; CPU OS 12")||(-1!==e.indexOf("Macintosh; Intel Mac OS X 10_14")&&-1!==e.indexOf("Version/")&&-1!==e.indexOf("Safari")||(-1!==e.indexOf("Macintosh; Intel Mac OS X 10_14")&&(n="AppleWebKit/605.1.15 (KHTML, like Gecko)",r=(t=e).length,i=r-n.length,t.substring(i>=0?i:0,r)===n)||(-1!==e.indexOf("Chrome/5")||-1!==e.indexOf("Chrome/6")||(-1!==e.indexOf("UnrealEngine")&&-1===e.indexOf("Chrome")||(-1!==e.indexOf("UCBrowser/12")||-1!==e.indexOf("UCBrowser/11")))))));var t,n,r,i})((Object(s.r)()||{}).userAgent));a||(t+=";SameSite=None")}var o=new Date;o.setTime(o.getTime()+24*n*60*60*1e3);var u="; expires="+o.toUTCString();Object(s.t)().cookie=e+"="+t+u+"; path=/"+r}}function H(){var e=U("performance");return e?e.now():(new Date).getTime()}function B(e){return e<10?"0"+e:e.toString()}i.e.objDefineAccessors;function j(e){var t=I("beforeunload",e);t=I("unload",e)||t;return t=I("pagehide",e)||t}function F(e,t){var n=e;n.timings=n.timings||{};n.timings.processTelemetryStart=n.timings.processTelemetryStart||{};n.timings.processTelemetryStart[t]=H()}function I(e,t){var n=!1;if(b){var r=window;n=R.Attach(r,e,t);n=R.Attach(r.body,e,t)||n}y&&(n=R.Attach(document,e,t)||n);return n}function q(e,t,n,r){void 0===r&&(r=!1);var i=!1;if(!c(e))try{if(c(e.addEventListener)){if(!c(e.attachEvent)){e.attachEvent("on"+t,n);i=!0}}else{e.addEventListener(t,n,r);i=!0}}catch(e){}return i}var R=(function(){function e(){}e.Attach=q;return e})();function U(t){var n="undefined"!=typeof globalThis&&globalThis?globalThis:"undefined"!=typeof self&&self?self:"undefined"!=typeof window&&window?window:void 0!==e&&e?e:null;return n&&n[t]?n[t]:"window"===t&&Object(s.u)()?window:null}function z(){return"object"==typeof location&&location?location:U("location")}}).call(this,n(92))},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.ActivityUtils=void 0;var r=n(64),i=n(47),s=n(141),o=n(58),u=n(142),a=n(107),f=n(94),l=n(108),c=n(109),h=n(39);(function(e){var t="ActivityUtils";e.extendLocalActivity=function(e,n){var u="extendLocalActivity";i.LoggingUtils.log("Start extending the time of the local activity.",t,u,h.Global.gAbtSkipAriaLog);if(null==e||""===e||null==n||n<=0)i.LoggingUtils.error("Input parameters not in expected format.",t,u);else{var a=r.LocalStorageUtils.convertActivitiesToRecords(r.LocalStorageUtils.getItemValue(o.AbtStorageId.abtActivity)),f={records:new Array},l=!1;if(null==a||null==a.records||void 0===a.records||a.records.length<=0)i.LoggingUtils.error("Didn't get any user data from local activities item while looking for '"+e+"' which was unexpected.",t,u);else{for(var c=0,p=a.records;c<p.length;c++){var d=p[c];if(null!==d.userId&&void 0!==d.userId&&d.userId===e){var v=(new Date).toUTCString(),m=s.TimeUtils.addSeconds(v,-n);if(null==m)return;var g={userId:d.userId,timeout:d.timeout,activityDateTime:m.toUTCString(),broadcastedActivityDateTime:v};f.records.push(g);l=!0}else f.records.push(d)}l&&(r.LocalStorageUtils.tryCreateItem(o.AbtStorageId.abtActivity,JSON.stringify(f))||i.LoggingUtils.error("Failed to create item for activities.",t,u));i.LoggingUtils.log("Finish extending the time of the local activity.",t,u,h.Global.gAbtSkipAriaLog)}}};function n(e){var n="shouldSendActivityToServer";i.LoggingUtils.log("Start executing the check for should send activity to the server.",t,n,h.Global.gAbtSkipAriaLog);var s=r.LocalStorageUtils.convertActivitiesToRecords(r.LocalStorageUtils.getItemValue(o.AbtStorageId.abtActivity)),c=!1,p=void 0;if(null==s||null==s.records||void 0===s.records||s.records.length<=0)i.LoggingUtils.error("Didn't get data from local activities item. No need to send activity to the server for '"+e+"'.",t,n);else{for(var d=0,v=s.records;d<v.length;d++){var m=v[d];if(null!==m.userId&&void 0!==m.userId&&m.userId===e){var g=new Date;g.setMinutes(g.getMinutes()-u.AbtTimer.activityInterval/6e4);var y=void 0===m.activityDateTime||null===m.activityDateTime?void 0:new Date(m.activityDateTime),b=void 0===m.broadcastedActivityDateTime||null===m.broadcastedActivityDateTime?void 0:new Date(m.broadcastedActivityDateTime);if(null==g)return;if(void 0===y)continue;if(g.getTime()<y.getTime()&&void 0===b){i.LoggingUtils.log("Based on local data, activities must be sent to the server.\n\t\t\t\t\t\t\tDateTime to send new activities was '"+g.toUTCString()+"' and Current time is '"+(new Date).toUTCString()+"'.",t,n,h.Global.gAbtSkipAriaLog);c=!0;p=m;break}i.LoggingUtils.log("No need to send activities.\n\t\t\t\t\t\t\tActivities occurred before last update at '"+g.toUTCString()+"' and Current time is '"+(new Date).toUTCString()+"'.",t,n,h.Global.gAbtSkipAriaLog);return}}if(c){i.LoggingUtils.log("Sending activity to the server.",t,n,h.Global.gAbtSkipAriaLog);a.RequestUtils.sendPostRequest(p.userId,0,p.timeout,f.AbtActions.update,l.InFlightUtils.deleteItem,p);i.LoggingUtils.log("Finish executing the check for should send activity to the server.",t,n,h.Global.gAbtSkipAriaLog)}else i.LoggingUtils.error("No activities were registered for the current user '"+e+"'. Not sending activity to the server.",t,n)}}e.shouldSendActivityToServer=n;e.updateUserLocalRecords=function(e){var n=r.LocalStorageUtils.convertActivitiesToRecords(r.LocalStorageUtils.getItemValue(o.AbtStorageId.abtActivity)),s={records:new Array},u=!1;if(null==n||null==n.records||void 0===n.records||n.records.length<=0){i.LoggingUtils.warn("Didn't get data from local activities item.",t,"updateUserLocalRecords");s.records.push(e);u=!0}else for(var a=0,f=n.records;a<f.length;a++){var l=f[a];if(null!==l.userId&&void 0!==l.userId&&l.userId===e.userId){s.records.push(e);u=!0}else s.records.push(l)}u||s.records.push(e);r.LocalStorageUtils.tryCreateItem(o.AbtStorageId.abtActivity,JSON.stringify(s))||i.LoggingUtils.error("Failed to create item for activities.",t,"updateUserLocalRecords")};e.isActivityRecent=function(e,n){var s="isActivityRecent";i.LoggingUtils.log("Start checking if the activity is recent.",t,s,h.Global.gAbtSkipAriaLog);var u=r.LocalStorageUtils.convertActivitiesToRecords(r.LocalStorageUtils.getItemValue(o.AbtStorageId.abtActivity));if(null==u||null==u.records||void 0===u.records||u.records.length<=0){i.LoggingUtils.error("Didn't get data from local activities item for '"+e+"'.",t,s);return!1}for(var a=0,f=u.records;a<f.length;a++){var l=f[a];if(null!==l.userId&&void 0!==l.userId&&l.userId===e){i.LoggingUtils.log("Finish checking if the activity is recent.",t,s,h.Global.gAbtSkipAriaLog);return n<=60*c.PromptUtils.getTimeBeforePrompt(l.timeout)*2}}i.LoggingUtils.log("Finish checking if the activity is recent.",t,s,h.Global.gAbtSkipAriaLog);return!1};e.startActivityChecks=function(e){i.LoggingUtils.log("Start checking if activity need to be send to the server",t,"startActivityChecks",h.Global.gAbtSkipAriaLog);if(!0!==h.Global.gAbtStartedActivityChecks||null==h.Global.gAbtActivityTimer||-1==h.Global.gAbtActivityTimer._idleTimeout){p();h.Global.gAbtStartedActivityChecks=!0;h.Global.gAbtActivityTimer=setInterval(n,u.AbtTimer.activityInterval,e)}};function p(){i.LoggingUtils.log("Stop checking if activity need to be send to the server",t,"stopActivityChecks",h.Global.gAbtSkipAriaLog);h.Global.gAbtStartedActivityChecks=!1;clearInterval(h.Global.gAbtActivityTimer)}e.stopActivityChecks=p})(t.ActivityUtils||(t.ActivityUtils={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.RequestUtils=void 0;var r=n(140),i=n(58),s=n(47),o=n(161),u=n(94),a=n(162),f=n(39),l=n(93),c=n(108),h=n(64),p=n(106);(function(e){var t="RequestUtils";e.sendGetRequest=function(e,r,i){var u="sendGetRequest";s.LoggingUtils.log("Start sending get request to the server.",t,r,f.Global.gAbtSkipAriaLog);var a=s.LoggingUtils.getRandomGuid();if(null!=e&&""!==e)if(null!=r&&""!==r){s.LoggingUtils.log("Sending a GET request for '"+r+"' action.",t,u,f.Global.gAbtSkipAriaLog,!1,a);var l=new XMLHttpRequest;l.open(o.HttpMethod.get,d(e,f.Global.gAbtMarket,r,f.Global.gAbtWorkloadName));l.setRequestHeader("X-CorrelationId",a);l.setRequestHeader("X-UserTenantID",f.Global.gAbtTenantId);l.withCredentials=!0;l.onload=function(){var o=n(l.responseText,a);m(o,u,a);200===l.status?null!=o.error||null!=o.error?s.LoggingUtils.error("Received an error from ABT service.\n\t\t\t\t\t\tError code: '"+o.error.errorCode+"'.\n\t\t\t\t\t\tError message: '"+o.error.message+".\n\t\t\t\t\t\tStatus code: "+l.status+". Data Center: "+o.diagnostics.dataCenter+".\n\t\t\t\t\t\tMachine: "+o.diagnostics.machine+".\n\t\t\t\t\t\tBuild Version: "+o.diagnostics.buildVersion+"'",t,u,!1,!1,a):s.LoggingUtils.log("Get request for user '"+e+"' succeeded. Status code: "+l.status+" Action: "+r,t,u,!1,!1,a):500===l.status?s.LoggingUtils.error("Received an error from ABT service.\n\t\t\t\t\tStatus code: "+l.status+"'.\n\t\t\t\t\tResponse details: "+l.responseText+".\n\t\t\t\t\tData Center: "+o.diagnostics.dataCenter+".\n\t\t\t\t\tMachine: "+o.diagnostics.machine+".\n\t\t\t\t\tBuild Version: "+o.diagnostics.buildVersion,t,u,!1,!1,a):s.LoggingUtils.error("Received an error from ABT service.\n\t\t\t\t\tError code: '"+o.error.errorCode+"'.\n\t\t\t\t\tError message: '"+o.error.message+".\n\t\t\t\t\tStatus code: "+l.status+"'.\n\t\t\t\t\tData Center: "+o.diagnostics.dataCenter+".\n\t\t\t\t\tMachine: "+o.diagnostics.machine+".\n\t\t\t\t\tBuild Version: "+o.diagnostics.buildVersion,t,u,!1,!1,a);i(o)};l.send();s.LoggingUtils.log("Sent a GET request for '"+r+"' action.",t,u,!1,!1,a)}else s.LoggingUtils.warn("action param cannot be null, undefined or empty.",t,u);else s.LoggingUtils.warn("userId param cannot be null, undefined or empty.",t,u)};e.sendPostRequest=function(e,a,l,d,g,y){void 0===y&&(y=void 0);var b="sendPostRequest";s.LoggingUtils.log("Start sending post request to the server.",t,b,f.Global.gAbtSkipAriaLog);var w=s.LoggingUtils.getRandomGuid();c.InFlightUtils.isPresent()&&s.LoggingUtils.warn("In-flight item are still present even after waiting for "+r.AbtRegistration.timeToSleepInMsecs+" * "+r.AbtRegistration.maxAttempts+", override them",t,b);h.LocalStorageUtils.tryCreateItem(i.AbtStorageId.inFlight,i.AbtStorageValue.inFlight.toString())||s.LoggingUtils.warn("Failed to write in-Flight item.",t,b);if(null!=e&&""!==e)if(null==a||a<0)s.LoggingUtils.warn("pTimeSinceActivity param cannot be null, undefined or negative.",t);else if(null!=d&&""!==d)if(d!=u.AbtActions.signOut&&null===l||void 0===l||l<=0)s.LoggingUtils.warn("pTimeout param cannot be null, undefined, zero or negative.",t);else{s.LoggingUtils.log("Sending a POST request for '"+d+"' action.",t,b,f.Global.gAbtSkipAriaLog,!1,w);var E={userId:e.toUpperCase(),timeSinceActivity:a,timeout:l,action:d,workload:f.Global.gAbtWorkloadName},S=new XMLHttpRequest;S.open(o.HttpMethod.post,v());S.setRequestHeader("X-CorrelationId",w);S.setRequestHeader("X-UserTenantId",f.Global.gAbtTenantId);S.withCredentials=!0;S.onload=function(){m(n(S.responseText,w),b,w);if(200===S.status){s.LoggingUtils.log("Post request for user "+e+" succeeded.\n\t\t\t\t\tStatus code: "+S.status+".\n\t\t\t\t\tResponse text: "+S.responseText+".\n\t\t\t\t\tAction: "+d,t,b,!1,f.Global.gAbtSkipAriaLog,w);if(null!=y){var r=(new Date).toUTCString();y.broadcastedActivityDateTime=r;p.ActivityUtils.updateUserLocalRecords(y)}}else 500===S.status?s.LoggingUtils.error("Received an error from ABT service. Status code: "+S.status+"'.\n\t\t\t\t\tResponse details: "+S.responseText,t,b,!1,!1,w):s.LoggingUtils.error("Received an error from ABT service.\n\t\t\t\t\tStatus code: "+S.status+"'\n\t\t\t\t\tResponse text: "+S.responseText,t,b,!1,!1,w);g()};S.send(JSON.stringify(E));s.LoggingUtils.log("Sent a POST request for '"+d+"' action.",t,b,!1,!1,w)}else s.LoggingUtils.warn("pAction param cannot be null, undefined or empty.",t);else s.LoggingUtils.warn("pUserId param cannot be null, undefined or empty.",t)};function n(e,n){var r="convertServiceResponse";s.LoggingUtils.log("Start converting the service response.",t,r,f.Global.gAbtSkipAriaLog);var i;if(null==e||void 0===e||""===e){s.LoggingUtils.warn("Empty/null/undefined webResponse. Returning null.",t,r,!1,!1,n);return null}try{i=JSON.parse(e)}catch(e){s.LoggingUtils.error("Exception occurred while parsing web response of ABT service. Returning null. Exception details: "+e.message+".",t,r,!1,!1,n);return null}if(void 0===i){s.LoggingUtils.error("Couldn't parse web response from ABT service data. Returning null.",t,r,!1,!1,n);return null}return i}e.convertServiceResponse=n;function d(e,n,r,i){var o="getUriGetRequest";s.LoggingUtils.log("Start getting the uri for get request.",t,r,f.Global.gAbtSkipAriaLog);if(null==e||""===e){s.LoggingUtils.warn("userId param cannot be null, undefined or empty.",t,o);return null}if(null==n||""===n){s.LoggingUtils.warn("market param cannot be null, undefined or empty.",t,o);return null}if(null==r||""===r){s.LoggingUtils.warn("action param cannot be null, undefined or empty.",t,o);return null}if(null==i||""===i){s.LoggingUtils.warn("workload param cannot be null, undefined or empty.",t,o);return null}var u=v(),l=a.AbtRequestParams.userId+"="+e+"&"+a.AbtRequestParams.market+"="+n+"&"+a.AbtRequestParams.action+"="+r+"&"+a.AbtRequestParams.workload+"="+i;s.LoggingUtils.log("Returning Uri for '"+r+"' action.",t,o,!0);return u.concat("?",l)}e.getUriGetRequest=d;function v(){return o.UriScheme.https+o.UriSeparator.separator+f.Global.envConfigs[l.Environment[f.Global.gAbtEnvironment]].abtSvcHost+o.UriFormats.abtSvc}function m(e,n,r){null!=e&&null!==e.diagnostics&&void 0!==e.diagnostics?s.LoggingUtils.log(JSON.stringify(e.diagnostics),t,n,f.Global.gAbtSkipAriaLog,!1,r):s.LoggingUtils.warn("Received null/undefined response or diagnostics object.",t,n,f.Global.gAbtSkipAriaLog,!1,r)}})(t.RequestUtils||(t.RequestUtils={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.InFlightUtils=void 0;var r=n(64),i=n(140),s=n(58),o=n(47),u=n(39);(function(e){var t="InFlightUtils";e.isPresent=function(){o.LoggingUtils.log("Start checking if an item was already registered in-flight",t,"isPresent",u.Global.gAbtSkipAriaLog);for(var e=1;e<=i.AbtRegistration.maxAttempts;e++){if(!r.LocalStorageUtils.findItemWithValue(s.AbtStorageId.inFlight,s.AbtStorageValue.inFlight.toString()))return!1;o.LoggingUtils.log("AbtInFlight item is present. Attempt#."+e,t,"isPresent",u.Global.gAbtSkipAriaLog);if(e===i.AbtRegistration.maxAttempts)return!0;n(i.AbtRegistration.timeToSleepInMsecs)}o.LoggingUtils.warn("There is still an element present in-flight.",t,"isPresent");return!0};e.deleteItem=function(){o.LoggingUtils.log("Start deleting in-flight item.",t,"deleteItem",u.Global.gAbtSkipAriaLog);r.LocalStorageUtils.tryDeleteItem(s.AbtStorageId.inFlight)||o.LoggingUtils.error("Failed to delete in-flight item.",t,"deleteItem")};function n(e){o.LoggingUtils.log("Sleeping for "+e+" ms.",t,"sleep",u.Global.gAbtSkipAriaLog);if(e<0){o.LoggingUtils.warn("Time to sleep cannot be less than zero. Returning immediately without sleeping.",t,"sleep");return new Promise(function(e){return setTimeout(e,0)})}return new Promise(function(t){return setTimeout(t,e)})}})(t.InFlightUtils||(t.InFlightUtils={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.PromptUtils=void 0;var r=n(47),i=n(106),s=n(139),o=n(64),u=n(141),a=n(107),f=n(212),l=n(94),c=n(138),h=n(160),p=n(159),d=n(58),v=n(142),m=n(163),g=n(39),y=n(65);(function(e){var t="PromptUtils";function n(e){r.LoggingUtils.log("Start showing the prompt operation.",t,"showPrompt",!0);if(null!=e)if(null===e.error||void 0===e.error){E();if(!e.result){r.LoggingUtils.log("Not showing prompt based on server data.",t,"showPrompt",!0);i.ActivityUtils.extendLocalActivity(e.userId,e.timeSinceActivity);w(e.userId)}if(e.respectResult){if(e.result){var n={title:e.ui.title,description:e.ui.description,question:e.ui.question,buttonSignOut:e.ui.signOutButton,buttonStaySignIn:e.ui.keepMeActiveButton,divName:e.ui.divName,userId:e.userId,timeout:e.timeout},o='{ "'+s.AbtEventProperty.eventId+'": "'+c.AbtEvent.promptShown+'", "'+s.AbtEventProperty.userId+'": "'+e.userId+'" }',u=JSON.parse(o),a=JSON.stringify(u);r.LoggingUtils.log("Show prompt post message "+a,t,"showPrompt",!0);window.postMessage(a,window.location.origin);if(null!=window.AbtUI)window.AbtUI.AbtRenderPrompt(n);else{if(null==window.LoadAbtPromptJs){r.LoggingUtils.error("Can't find the declaration of the prompt. Not showing prompt.",t,"showPrompt");return}var f=g.Global.telemetryLogger.createActivity({eventName:h.LogAttributes.defaultLoggingNamespace+"LoadAbtPromptJs",eventFlags:{dataCategories:2,diagnosticLevel:10},dataFields:[y.makeStringDataField(h.LogAttributes.messageDataField,"ABT prompt JS has been downloaded."),y.makeStringDataField(h.LogAttributes.levelDataField,p.EventLevel.info),y.makeStringDataField(h.LogAttributes.correlationIdDataField,r.LoggingUtils.getRandomGuid())]});window.LoadAbtPromptJs.Download(function(){return window.AbtUI.AbtRenderPrompt(n)});f.setResult(1,"HRESULT");f.endNow()}m.SignOutUtils.startSignOutChecks(n.userId);r.LoggingUtils.log("Successfully shown prompt.",t,"showPrompt",void 0,void 0,void 0,e.timeout)}}else r.LoggingUtils.log("RespectResult is set to 'false'. Not showing prompt. The result was:'"+e.result+"'",t,"showPrompt",!0)}else r.LoggingUtils.error("Error found in the ABT service response. ErrorCode: '"+e.error.errorCode+"'. Not showing prompt.",t,"showPrompt");else r.LoggingUtils.warn("WebResponse provided was null or undefined. Not showing prompt.",t,"showPrompt")}e.showPrompt=n;function b(e){var i="shouldShowPrompt";r.LoggingUtils.log("Start executing the check for should shown the prompt.",t,i,g.Global.gAbtSkipAriaLog);var s=o.LocalStorageUtils.convertActivitiesToRecords(o.LocalStorageUtils.getItemValue(d.AbtStorageId.abtActivity)),f=!1;if(null==s||null==s.records||void 0===s.records||s.records.length<=0)r.LoggingUtils.error("Didn't get data from local activities item. No need to prompt for '"+e+"'.",t,i);else{for(var c=0,h=s.records;c<h.length;c++){var p=h[c];if(null!==p.userId&&void 0!==p.userId&&p.userId===e){var v=u.TimeUtils.addMinutes(p.activityDateTime,p.timeout-S(p.timeout));if(null==v){r.LoggingUtils.warn("DateTimeToShow promp null or undefined.",t,i);return}if(v.getTime()<(new Date).getTime()){r.LoggingUtils.log("Based on local data, we might need to show prompt for '"+e+"'.\n\t\t\t\t\t\t\tWe will reach out to server to confirm that.\n\t\t\t\t\t\t\tDateTime to show prompt was '"+v.toUTCString()+"' and Current time is '"+(new Date).toUTCString()+"'.\n\t\t\t\t\t\t\tTimeout value was: '"+p.timeout+"'.",t,i);f=!0;break}r.LoggingUtils.log("No need to prompt for '"+e+"'.\n\t\t\t\t\t\t\tDateTime to show prompt was '"+v.toUTCString()+"' and Current time is '"+(new Date).toUTCString()+"'.\n\t\t\t\t\t\t\tTimeout value was: '"+p.timeout+"'.",t,i,g.Global.gAbtSkipAriaLog);return}}f?a.RequestUtils.sendGetRequest(e,l.AbtActions.shouldPrompt,n):r.LoggingUtils.error("No record for '"+e+"'. Not showing prompt.",t,i)}}function w(e){r.LoggingUtils.log("Start checking if the prompt should be shown.",t,"startPromptChecks",g.Global.gAbtSkipAriaLog);if(!0!==g.Global.gAbtStartedPromptChecks){E();m.SignOutUtils.stopSignOutChecks();g.Global.gAbtStartedPromptChecks=!0;g.Global.gAbtPromptTimer=setInterval(b,v.AbtTimer.promptInterval,e)}}e.startPromptChecks=w;function E(){r.LoggingUtils.log("Stop checking if the prompt should be shown.",t,"stopPromptChecks",g.Global.gAbtSkipAriaLog);g.Global.gAbtStartedPromptChecks=!1;clearInterval(g.Global.gAbtPromptTimer)}e.stopPromptChecks=E;function S(e){r.LoggingUtils.log("Start executing the get time before prompt operation.",t,"getTimeBeforePrompt",g.Global.gAbtSkipAriaLog);var n=e*(f.AbtPromptValue.percentageTimeout/100);return n>f.AbtPromptValue.minPromptWindow&&n<f.AbtPromptValue.maxPromptWindow?n:n<=f.AbtPromptValue.minPromptWindow?f.AbtPromptValue.minPromptWindow:(f.AbtPromptValue.maxPromptWindow,f.AbtPromptValue.maxPromptWindow)}e.getTimeBeforePrompt=S})(t.PromptUtils||(t.PromptUtils={}))},function(e,t,n){"use strict";n.d(t,"e",function(){return i});var r=n(0);function i(e,t){return Object(r.e)(e,t)}},function(e,t,n){"use strict";n.d(t,"e",function(){return i});var r=n(52);function i(e,t,n){var i;void 0===n&&(n={});var s=n.comparer,o=void 0===s?r.e:s,u=n.debug,a=void 0!==u&&u;if(Object(r.e)(e,t))return!1;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!a||{previous:e,next:t};var f=Object.keys(e),l=Object.keys(t);if(f.length!==l.length)return!a||{__keys:{previous:f,next:l}};for(var c=0,h=f;c<h.length;c++){var p=h[c];if(!(p in t)||!o(e[p],t[p],p))return!a||((i={})[p]={previous:e[p],next:t[p]},i)}return!1}},function(e,t,n){"use strict";n.d(t,"e",function(){return r});function r(e){console&&console.warn&&console.warn(e)}},function(e,t,n){"use strict";n.d(t,"e",function(){return s});var r=n(33),i=n(3),s=Object(r.t)(function(e,t,n,r,s){return{root:Object(i.x)(e.splitButtonMenuButton,n&&[e.splitButtonMenuButtonExpanded],t&&[e.splitButtonMenuButtonDisabled],r&&!t&&[e.splitButtonMenuButtonChecked],s&&!t&&[{selectors:{":focus":e.splitButtonMenuFocused}}]),splitButtonContainer:Object(i.x)(e.splitButtonContainer,!t&&r&&[e.splitButtonContainerChecked,{selectors:{":hover":e.splitButtonContainerCheckedHovered}}],!t&&!r&&[{selectors:{":hover":e.splitButtonContainerHovered,":focus":e.splitButtonContainerFocused}}],t&&e.splitButtonContainerDisabled),icon:Object(i.x)(e.splitButtonMenuIcon,t&&e.splitButtonMenuIconDisabled,!t&&s&&e.splitButtonMenuIcon),flexContainer:Object(i.x)(e.splitButtonFlexContainer),divider:Object(i.x)(e.splitButtonDivider,(s||t)&&e.splitButtonDividerDisabled)}})},function(e,t,n){"use strict";n.d(t,"t",function(){return c});n.d(t,"e",function(){return h});var r,i,s=n(18);(function(e){e[e.Aria=0]="Aria";e[e.Nexus=1]="Nexus"})(r||(r={}));(function(e){var t={},n={},i={};e.setTenantToken=function(e,t,n){var r=e.split(".");if(r.length<2||"Office"!==r[0])Object(s.r)(s.t.Error,s.e.Core,function(){return"Invalid namespace: "+e});else{var i=Object.create(Object.prototype);t&&(i.ariaTenantToken=t);n&&(i.nexusTenantToken=n);var u,a=i;for(u=r.length-1;u>=0;--u){var f=Object.create(Object.prototype);f[r[u]]=a;a=f}o(a)}};function o(e){if("object"!=typeof e)throw new Error("tokenTree must be an object");i=(function e(t,n){if("object"!=typeof n)return n;for(var r=0,i=Object.keys(n);r<i.length;r++){var s=i[r];s in t&&(t[s],1)?t[s]=e(t[s],n[s]):t[s]=n[s]}return t})(i,e)}e.setTenantTokens=o;e.getTenantTokens=function(e){var t=u(e),n=a(e);if(!n||!t)throw new Error("Could not find tenant token for "+e);return{ariaTenantToken:t,nexusTenantToken:n}};function u(e){if(t[e])return t[e];var n=f(e,r.Aria);if("string"==typeof n){t[e]=n;return n}}e.getAriaTenantToken=u;function a(e){if(n[e])return n[e];var t=f(e,r.Nexus);if("number"==typeof t){n[e]=t;return t}}e.getNexusTenantToken=a;function f(e,t){var n=e.split("."),s=i,o=void 0;if(s){for(var u=0;u<n.length-1;u++)if(s[n[u]]){s=s[n[u]];t===r.Aria&&"string"==typeof s.ariaTenantToken?o=s.ariaTenantToken:t===r.Nexus&&"number"==typeof s.nexusTenantToken&&(o=s.nexusTenantToken)}return o}}e.clear=function(){t={};n={};i={}}})(i||(i={}));var o,u=n(51);(function(e){var t=/^[A-Z][a-zA-Z0-9]*$/,n=/^[a-zA-Z0-9_\.]*$/;e.validateTelemetryEvent=function(e){if(!(function(e){if(!e||e.length>98)return!1;var n=e.split("."),r=n[n.length-1];return(function(e){return!!e&&e.length>=3&&"Office"===e[0]})(n)&&(i=r,void 0!==i&&t.test(i));var i})(e.eventName))throw new Error("Invalid eventName");if(e.eventContract&&!(n=e.eventContract,r(n.name)))throw new Error("Invalid eventContract");var n;if(null!=e.dataFields)for(var s=0;s<e.dataFields.length;s++)i(e.dataFields[s])};function r(e){return void 0!==e&&n.test(e)}function i(e){if(!(t=e.name,t&&r(t)&&t.length+5<100))throw new Error("Invalid dataField name");var t;e.dataType===u.e.Int64&&s(e.value)}function s(e){if("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e<-9007199254740991||e>9007199254740991)throw new Error("Invalid integer "+JSON.stringify(e))}e.validateInt=s})(o||(o={}));var a=n(124),f=n(6),l=function(){return(l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},c=-1,h=(function(){function e(e,t,n){var r,i;this.onSendEvent=new a.e;this.persistentDataFields=[];this.config=n||{};if(e){this.onSendEvent=e.onSendEvent;(r=this.persistentDataFields).push.apply(r,e.persistentDataFields);this.config=l(l({},e.getConfig()),this.config)}else this.persistentDataFields.push(Object(f.i)("OTelJS.Version","3.1.49"));t&&(i=this.persistentDataFields).push.apply(i,t)}e.prototype.sendTelemetryEvent=function(e){var t;try{if(0===this.onSendEvent.getListenerCount()){Object(s.r)(s.t.Warning,s.e.Core,function(){return"No telemetry sinks are attached."});return}t=this.cloneEvent(e);this.processTelemetryEvent(t)}catch(e){Object(s.n)(s.e.Core,"SendTelemetryEvent",e);return}try{this.onSendEvent.fireEvent(t)}catch(e){}};e.prototype.processTelemetryEvent=function(e){var t;e.telemetryProperties||(e.telemetryProperties=i.getTenantTokens(e.eventName));e.dataFields&&this.persistentDataFields&&(t=e.dataFields).unshift.apply(t,this.persistentDataFields);this.config.disableValidation||o.validateTelemetryEvent(e)};e.prototype.addSink=function(e){this.onSendEvent.addListener(function(t){return e.sendTelemetryEvent(t)})};e.prototype.setTenantToken=function(e,t,n){i.setTenantToken(e,t,n)};e.prototype.setTenantTokens=function(e){i.setTenantTokens(e)};e.prototype.cloneEvent=function(e){var t={eventName:e.eventName,eventFlags:e.eventFlags};e.telemetryProperties&&(t.telemetryProperties={ariaTenantToken:e.telemetryProperties.ariaTenantToken,nexusTenantToken:e.telemetryProperties.nexusTenantToken});e.eventContract&&(t.eventContract={name:e.eventContract.name,dataFields:e.eventContract.dataFields.slice()});t.dataFields=e.dataFields?e.dataFields.slice():[];return t};e.prototype.getConfig=function(){return this.config};return e})()},function(e,t,n){"use strict";n.d(t,"n",function(){return a});n.d(t,"t",function(){return f});n.d(t,"e",function(){return l});var r=n(118),i=n(28),s=n(2),o=Object(i.e)({eventName:"ExperimentFlight,",shortEventName:"ExperimentFlight"},{experimentId:{isPrefixingDisabled:!0,type:s.e.Number},variant:{isPrefixingDisabled:!0,type:s.e.Number},isAATest:{isPrefixingDisabled:!0,type:s.e.Boolean},isOverride:{isPrefixingDisabled:!0,type:s.e.Boolean},isLoggedAtExposure:{isPrefixingDisabled:!0,type:s.e.Boolean},serverTime:{isPrefixingDisabled:!0,type:s.e.String}}),u=(function(){function e(t,n,i){var s;this._isAATest=!1;this._isOverride=!1;this._serverTime="";this._shouldLogVariantPropertyAccess=!1;this._loggedPropertyAccess=!1;this._loggedExposure=!1;this._variantToDisplay=0;this._experimentId=t;this._shouldLogVariantPropertyAccess=i;this._serverTime=null!==(s=null==n?void 0:n.serverTime)&&void 0!==s?s:"";if(window&&window.location&&window.location.search){var o=Object(r.e)(window.location.search.substr(1)).expOverrides;if(o){var u=void 0;try{u=JSON.parse(o)}catch(e){u=[]}for(var a=0,f=u;a<f.length;a++){var l=f[a];if(l&&2===l.length&&l[0]===t){this._setProperties(l[1],l[1],!1,!0);return}}}}if(!n||void 0===n.experimentData||void 0===n.experimentDataLookup||void 0===n.serverTime||this._experimentId<9e4){this._variantToDisplay=0;this._variantToLog=void 0}else{var c=t-9e4,h=e._decodeAt(n.experimentData,c);if(0===h)this._setProperties(0,void 0,!1,!1);else if(h>=1&&h<=4)this._setProperties(h-1,h-1,!1,!1);else if(5===h){var p=e._lookup(n.experimentDataLookup,c);this._setProperties(p,p,!1,!1)}else if(h>=6&&h<=9)this._setProperties(0,h-6,!0,!1);else if(10===h)this._setProperties(0,e._lookup(n.experimentDataLookup,c),!0,!1);else if(h>=11&&h<=14)this._setProperties(h-11,h-11,!1,!0);else{p=e._lookup(n.experimentDataLookup,c);this._setProperties(p,p,!1,!0)}this._saveExperiments()}}Object.defineProperty(e.prototype,"variantToDisplay",{get:function(){this._shouldLogVariantPropertyAccess&&this._logInternal(!1);return this._variantToDisplay},enumerable:!1,configurable:!0});e._decodeAt=function(t,n){if(n>Math.floor(3*t.length/2)-1)return 0;var r=Math.floor(n/3*2);switch(n%3){case 0:return e._ctoi(t[r])>>2;case 1:return(3&e._ctoi(t[r]))<<2|e._ctoi(t[r+1])>>4;case 2:return 15&e._ctoi(t[r])}return 0};e._ctoi=function(e){var t=e.charCodeAt(0);return t>=65&&t<=90?t-65:t>=97&&t<=122?t-71:t>=48&&t<=57?t+4:43===t?62:63};e._lookup=function(e,t){var n=t.toString(36);n=Array(4-n.length).join("0")+n;for(var r=0;r<e.length;r++)for(var i=0;i<e[r].length-2;i+=3)if(e[r].substring(i,i+3)===n)return r+4;return 0};e._getItemFromSessionStorageNoThrow=function(e){try{return sessionStorage.getItem(e)}catch(e){return null}};e._setItemInSessionStorageNoThrow=function(e,t){try{sessionStorage.setItem(e,t)}catch(e){}};e.prototype.logExposure=function(){this._logInternal(!0)};e.prototype._saveExperiments=function(){window.ODSP_EXPERIMENTS=window.ODSP_EXPERIMENTS||{};window.ODSP_EXPERIMENTS[this._experimentId]=this};e.prototype._logInternal=function(t){var n=void 0!==this._variantToLog&&(t&&!this._loggedExposure||!t&&!this._loggedPropertyAccess),r=null,i=null;if(n){r=e._getItemFromSessionStorageNoThrow("experimentLogCacheTime");i=e._getItemFromSessionStorageNoThrow("experimentLogCache");n=r!==this._serverTime||!i||-1===i.indexOf(this._experimentId.toString()+t)}if(n&&void 0!==this._variantToLog){var s={experimentId:this._experimentId,variant:this._variantToLog,isAATest:this._isAATest,isOverride:this._isOverride,isLoggedAtExposure:t,serverTime:this._serverTime};o.logData(s);t?this._loggedExposure=!0:this._loggedPropertyAccess=!0;if(r===this._serverTime)e._setItemInSessionStorageNoThrow("experimentLogCache",(null!=i?i:"")+this._experimentId.toString()+t);else{e._setItemInSessionStorageNoThrow("experimentLogCacheTime",this._serverTime);e._setItemInSessionStorageNoThrow("experimentLogCache",this._experimentId.toString()+t)}}};e.prototype._setProperties=function(e,t,n,r){this._variantToDisplay=e;this._variantToLog=t;this._isAATest=n;this._isOverride=r};return e})();function a(e,t){var n=new u(e,t,!1);n.logExposure();return n.variantToDisplay}function f(e,t){return new u(e,t,!0)}function l(e,t){return new u(e,t,!1).variantToDisplay}},function(e,t,n){"use strict";n.d(t,"e",function(){return a});var r;(function(e){var t,n=0;e.getNext=function(){void 0===t&&(t=(function(){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=[],n=0;n<22;n++)t.push(e.charAt(Math.floor(Math.random()*e.length)));return t.join("")})());return new r(t,++n)};e.getNextChild=function(e){return new r(e.getString(),++e.nextChild)};var r=(function(){function e(e,t){this.base=e;this.id=t;this.nextChild=0}e.prototype.getString=function(){return this.base+"."+this.id};return e})();e.CV=r})(r||(r={}));var i=n(18),s=function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{a(r.next(e))}catch(e){s(e)}}function u(e){try{a(r.throw(e))}catch(e){s(e)}}function a(e){e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,u);var t}a((r=r.apply(e,t||[])).next())})},o=function(e,t){var n,r,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function u(s){return function(u){return(function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;(r=0,i)&&(s=[2&s[0],i.value]);switch(s[0]){case 0:case 1:i=s;break;case 4:o.label++;return{value:s[1],done:!1};case 5:o.label++;r=s[1];s=[0];continue;case 7:s=o.ops.pop();o.trys.pop();continue;default:if(!(i=o.trys,i=i.length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1];i=s;break}if(i&&o.label<i[2]){o.label=i[2];o.ops.push(s);break}i[2]&&o.ops.pop();o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e];r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}})([s,u])}}},u=function(){return 1e3*Date.now()};"object"==typeof window.performance&&"now"in window.performance&&(u=function(){return 1e3*Math.floor(window.performance.now())});var a=(function(){function e(e,t,n){this._optionalEventFlags={};this._ended=!1;this._telemetryLogger=e;this._activityName=t;this._cv=n?r.getNextChild(n._cv):r.getNext();this._dataFields=[];this._success=void 0;this._startTime=u()}e.createNew=function(t,n){return new e(t,n)};e.prototype.createChildActivity=function(t){return new e(this._telemetryLogger,t,this)};e.prototype.setEventFlags=function(e){this._optionalEventFlags=e};e.prototype.addDataField=function(e){this._dataFields.push(e)};e.prototype.addDataFields=function(e){var t;(t=this._dataFields).push.apply(t,e)};e.prototype.setSuccess=function(e){this._success=e};e.prototype.setResult=function(e,t,n){this._result={code:e,type:t,tag:n}};e.prototype.endNow=function(){if(!this._ended){void 0===this._success&&void 0===this._result&&Object(i.r)(i.t.Warning,i.e.Core,function(){return"Activity does not have success or result set"});var e=u()-this._startTime;this._ended=!0;var t={duration:e,count:1,aggMode:0,cV:this._cv.getString(),success:this._success,result:this._result};return this._telemetryLogger.sendActivity(this._activityName,t,this._dataFields,this._optionalEventFlags)}Object(i.r)(i.t.Error,i.e.Core,function(){return"Activity has already ended"})};e.prototype.executeAsync=function(e){return s(this,void 0,void 0,function(){var t=this;return o(this,function(n){return[2,e(this).then(function(e){t.endNow();return e}).catch(function(e){t.endNow();throw e})]})})};e.prototype.executeSync=function(e){try{var t=e(this);this.endNow();return t}catch(e){this.endNow();throw e}};e.prototype.executeChildActivityAsync=function(e,t){return s(this,void 0,void 0,function(){return o(this,function(n){return[2,this.createChildActivity(e).executeAsync(t)]})})};e.prototype.executeChildActivitySync=function(e,t){return this.createChildActivity(e).executeSync(t)};return e})()},function(e,t,n){"use strict";n.d(t,"e",function(){return p});var r=n(1),i=n("react-lib"),s=n(36),o=n(299),u=n(285),a=n(3),f=n(33),l=n(49),c=n(68),h=Object(f.t)(function(e,t){var n,r=Object(l.e)(e),i=Object(c.e)(e),s=e.palette,o={root:{padding:"0 4px",width:"32px",height:"32px",backgroundColor:"transparent",border:"none",color:e.semanticColors.link},rootHovered:{color:s.themeDarkAlt,backgroundColor:s.neutralLighter,selectors:(n={},n[a.r]={borderColor:"Highlight",color:"Highlight"},n)},rootHasMenu:{width:"auto"},rootPressed:{color:s.themeDark,backgroundColor:s.neutralLight},rootExpanded:{color:s.themeDark,backgroundColor:s.neutralLight},rootChecked:{color:s.themeDark,backgroundColor:s.neutralLight},rootCheckedHovered:{color:s.themeDark,backgroundColor:s.neutralQuaternaryAlt},rootDisabled:{color:s.neutralTertiaryAlt}};return Object(a.l)(r,o,i,t)}),p=(function(e){Object(r.n)(t,e);function t(){return null!==e&&e.apply(this,arguments)||this}t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return i.createElement(s.e,Object(r.e)({},this.props,{variantClassName:"ms-Button--icon",styles:h(n,t),onRenderText:o.e,onRenderDescription:o.e}))};return t=Object(r.t)([Object(u.e)("IconButton",["theme","styles"],!0)],t)})(i.Component)},function(e,t,n){"use strict";n.d(t,"e",function(){return r});function r(e){var t={};if(e)for(var n=e.split("&"),r=0;r<n.length;r++){var i=n[r].split("=");if(void 0!==i[1]){i[1]=i[1].replace(/\+/g," ");t[i[0]]=decodeURIComponent(i[1])}}return t}},function(e,t,n){"use strict";n.d(t,"e",function(){return r});function r(e){var t;try{var n=[];t=JSON.stringify(e,function(e,t){if(t===window)return"[window]";if(t instanceof HTMLElement)return"[HTMLElement]";if("function"==typeof t)return"[function]";if("object"==typeof t){if(null===t)return t;if(-1===n.indexOf(t)){n.push(t);return t}return"[circular]"}return t})}catch(e){t=JSON.stringify("[object]")}return t}},function(e,t,n){"use strict";n.d(t,"e",function(){return r});function r(e,t){var n,r,i=!!e.Fallback,s=e.ODB;if("boolean"==typeof s)i=s;else if(s>0){if(s>=6e4){var o=s-6e4+2e3+1;n=Math.floor(o/32);r=1<<o%32}else{if(!(s<=2e3))return!1;n=Math.floor(s/32);r=1<<s%32}i=n<t.length&&0!=(t[n]&r)}return i}},function(e,t,n){"use strict";n.d(t,"e",function(){return p});var r=n(0),i=n(82),s=n(40),o=n(23),u=n(2),a=n(15),f=n(71),l=n(119);function c(e,t,n){var r={resultType:e};t&&(r.resultCode=t);n&&(r.error=n);return r}var h=(function(e){Object(r.n)(t,e);function t(t,n){return e.call(this,t,i.e.Start,n)||this}t.instrumentPromise=function(e,t,n,r,i,s,o){var u,f=new this(e,o);i&&f.setTimeout(i,s);try{u=t()}catch(e){f.end(c(a.e.Failure,"PromiseCreationFailed",e.toString()));throw e}u.then(function(e){var t;if(n)try{t=n(e)}catch(e){t=c(a.e.Failure,"GetSchemaException",e.toString())}else t=c(a.e.Success);f.end(t)},function(e){var t;if(r)try{t=r(e)}catch(e){t=c(a.e.Failure,"GetSchemaException",e.toString())}else if(e){t=c(e instanceof Error&&"Canceled"===e.name?a.e.ExpectedFailure:a.e.Failure,void 0,Object(l.e)(e))}else t=c(a.e.Failure);f.end(t)});return u};t.prototype.setTimeout=function(e,t){var n=this;this._clearTimeout();t||(t=c(a.e.Failure,"Timeout"));this.timeoutId=window.setTimeout(function(){n.end(t)},e)};t.prototype.verbose=function(e){if(!this.endTime&&this._isQosEvent()){var t=this.data;f.verbose(e,t.name)}};t.prototype.end=function(e){if(!this.endTime){this.endTime=o.e.getTime();var t=Object(r.e)({duration:this.endTime-this.startTime},e);this._setData(t);this._logEvent(i.e.End);if(this._isQosEvent()){var n=this.data;n.error&&f.log(n.error,n.name,n.resultCode,n.resultType)}this._clearTimeout()}};t.prototype._clearTimeout=function(){if(this.timeoutId){window.clearTimeout(this.timeoutId);this.timeoutId=void 0}};t.prototype._isQosEvent=function(){return this.eventName.indexOf("Qos,")>=0};return t})(s.t);function p(e,t,n){var i=(function(e){Object(r.n)(t,e);function t(){return null!==e&&e.apply(this,arguments)||this}return t})(h),o=Object(r.e)(Object(r.e)({},t),{duration:{isPrefixingDisabled:!0,type:u.e.Number}});Object(s.r)(i.prototype,e,o,n);return i}},function(e,t,n){"use strict";n.d(t,"e",function(){return r});var r=!1},function(e,t,n){"use strict";n.d(t,"e",function(){return i});var r=n(32);function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=[],i=[],s=r.e.getInstance();function o(e){for(var t=0,r=e;t<r.length;t++){var u=r[t];if(u)if("string"==typeof u)if(u.indexOf(" ")>=0)o(u.split(" "));else{var a=s.argsFromClassName(u);a?o(a):-1===n.indexOf(u)&&n.push(u)}else Array.isArray(u)?o(u):"object"==typeof u&&i.push(u)}}o(e);return{classes:n,objects:i}}},function(e,t,n){"use strict";n.d(t,"e",function(){return r});var r=(function(){function e(){this._listeners=[]}e.prototype.fireEvent=function(e){this._listeners.forEach(function(t){return t(e)})};e.prototype.addListener=function(e){e&&this._listeners.push(e)};e.prototype.removeListener=function(e){this._listeners=this._listeners.filter(function(t){return t!==e})};e.prototype.getListenerCount=function(){return this._listeners.length};return e})()},function(e,t,n){"use strict";n.d(t,"e",function(){return i});var r=n(127);function i(e,t){return e&&e!==document.body?t(e)?e:i(Object(r.e)(e),t):null}},function(e,t,n){"use strict";n.d(t,"e",function(){return g});var r=n(67),i=n(99),s=n(81),o="unsupportedCommand",u="handlerError",a="handlerRejection",f="acknowledgeTimeout",l="resultTimeout",c="setupTimeout",h="canceled",p="disposed",d=0,v=(function(){function e(e,t){void 0===t&&(t={});var n=this,f=new Map,l={onCommand:e.onCommand,onNotification:e.onNotification},p=e.initResources,d=e.initTimeoutMs,v=void 0===d?1e4:d,m=e.ackTimeoutMs,g=void 0===m?1e3:m,y=e.resultTimeoutMs,b=void 0===y?1e4:y,w=t.asyncType,E=void 0===w?i.e:w,S=t.eventGroupType,x=void 0===S?r.e:S,T=this._scope=new s.e;T.attach(p);var N,C=this._async=T.attach(new E(this)),k=T.attach(new x(this));this._ackTimeoutMs=g;this._resultTimeoutMs=b;this._invokeCommandHandler=function(e){try{var t=l.onCommand&&l.onCommand(e);return t?Promise.resolve(t).catch(function(e){return{result:"error",error:{code:(e=e||{name:a,isExpected:!1,message:"Unknown error"}).code||e.name||a,message:e.message||"".concat(e)},isExpected:!!e.isExpected}}):Promise.resolve({result:"error",error:{code:o,message:e.command},isExpected:!0})}catch(e){return Promise.resolve({result:"error",isExpected:!1,error:{code:u,message:e&&"Name: ".concat(e.name,"; Message: ").concat(e.message||e)}})}};this._invokeNotificationHandler=function(e){try{l.onNotification&&l.onNotification(e)}catch(e){}};var L=this._port=new Promise(function(t,r){T.attach({dispose:function(){var e=new Error("Initialization canceled.");e.code=h;r(e)}});N=C.setTimeout(function(){var e=new Error("Initialization timed out after ".concat(v,"ms"));e.code=c;r(e)},v);e.init(function(e){C.clearTimeout(N);T.attach({dispose:function(){e.close()}});k.on(e,"message",function(t){var r=t.data;if(r&&"object"==typeof r)return"acknowledge"===r.type?n._onAcknowledge(r):"command"===r.type?n._onCommand(e,r):"notification"===r.type?n._onNotification(r):"result"===r.type?n._onResult(r):void 0});e.start();t(e)},r)});this.ready=L.then(function(){},function(e){n.dispose();return Promise.reject(e)});this._signals=f}e.prototype.dispose=function(){this._scope.dispose();this._signals.forEach(function(e){e.resolve({result:"error",isExpected:!0,error:{code:h,message:"Messenger disposed"}})});this._signals.clear()};e.prototype.sendCommand=function(e,t){var n=this;void 0===t&&(t={});if(this._scope.isDisposed)return Promise.resolve({result:"error",isExpected:!1,error:{code:p,message:"disposed"}});var r=++d,i=t.timeoutDelayMs,s=void 0===i?this._resultTimeoutMs:i,o=t.acknowledgeTimeoutMs,u=void 0===o?this._ackTimeoutMs:o;return this._port.then(function(t){var i=n._async,o=new Promise(function(e){n._signals.set(r,{acknowledgeTimeout:i.setTimeout(function(){n._onResult(m(r,f))},u),resultTimeout:i.setTimeout(function(){n._onResult(m(r,l))},s),resolve:e})});t.postMessage({type:"command",id:r,data:e});return o})};e.prototype.sendNotification=function(e){this._scope.isDisposed||this._port.then(function(t){t.postMessage({type:"notification",data:e})})};e.prototype._onAcknowledge=function(e){var t=this._signals.get(e.id);t&&this._async.clearTimeout(t.acknowledgeTimeout)};e.prototype._onCommand=function(e,t){var n=t.id;e.postMessage({type:"acknowledge",id:n});this._invokeCommandHandler(t.data).then(function(t){e.postMessage({type:"result",data:t,id:n})}).catch(function(e){})};e.prototype._onNotification=function(e){this._invokeNotificationHandler(e.data)};e.prototype._onResult=function(e){var t=e.id,n=this._async,r=this._signals,i=r.get(t);if(i){n.clearTimeout(i.acknowledgeTimeout);n.clearTimeout(i.resultTimeout);i.resolve(e.data)}r.delete(t)};return e})();function m(e,t){return{id:e,data:{result:"error",error:{code:t,message:"Timed out"},isExpected:!1}}}function g(e,t){void 0===t&&(t={});var n=e.channelId,i=e.onReinitialize,o=e.origin,u=e.receiver,a=void 0===u?window:u,f=e.source,l=e.identifyParent,c=t.eventGroupType,h=void 0===c?r.e:c,p=t.messengerType,d=void 0===p?v:p,m=new s.e,g=m.attach(new h(null));return new d({onCommand:e.onCommand,onNotification:e.onNotification,init:function(e,t){var r;if(l&&f){var s=setInterval(function(){var e={type:"identify-parent",channelId:n};f.postMessage(e,o)},100);r=m.attach({dispose:function(){clearInterval(s)}})}var u=!1;g.on(a,"message",function(t){var s=t.data;if(t.origin===o&&(!f||t.source===f)&&s&&"object"==typeof s&&"initialize"===s.type&&s.channelId===n){r&&r.dispose();if(i){if(u){i();g.dispose();return}u=!0}else g.dispose();var a=s.replyTo;a.postMessage({type:"activate"});e(a)}})},initResources:m,initTimeoutMs:e.initTimeoutMs,ackTimeoutMs:e.ackTimeoutMs,resultTimeoutMs:e.resultTimeoutMs})}},function(e,t,n){"use strict";n.d(t,"e",function(){return r});function r(e,t){void 0===t&&(t=!0);return e&&(t&&(function(e){var t,n;e&&((n=e)&&n._virtual)&&(t=e._virtual.parent);return t})(e)||e.parentNode&&e.parentNode)}},function(e,t,n){"use strict";n.d(t,"e",function(){return d});var r=n(297),i=n(1),s=n("react-lib"),o=n(281),u=n(130),a=n(11),f=Object(o.e)(),l=(function(e){Object(i.n)(t,e);function t(t){var n=e.call(this,t)||this;n._coverStyle=a.e.portrait;n._imageElement=s.createRef();n._frameElement=s.createRef();n._onImageLoaded=function(e){var t=n.props,r=t.src,i=t.onLoad;i&&i(e);n._computeCoverStyle(n.props);r&&n.setState({loadState:a.n.loaded})};n._onImageError=function(e){n.props.onError&&n.props.onError(e);n.setState({loadState:a.n.error})};n.state={loadState:a.n.notLoaded};return n}t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.src!==this.props.src?this.setState({loadState:a.n.notLoaded}):this.state.loadState===a.n.loaded&&this._computeCoverStyle(e)};t.prototype.componentDidUpdate=function(e,t){this._checkImageLoaded();this.props.onLoadingStateChange&&t.loadState!==this.state.loadState&&this.props.onLoadingStateChange(this.state.loadState)};t.prototype.render=function(){var e=Object(u.r)(this.props,u.s,["width","height"]),t=this.props,n=t.src,r=t.alt,o=t.width,l=t.height,c=t.shouldFadeIn,h=t.shouldStartVisible,p=t.className,d=t.imageFit,v=t.role,m=t.maximizeFrame,g=t.styles,y=t.theme,b=this.state.loadState,w=void 0!==this.props.coverStyle?this.props.coverStyle:this._coverStyle,E=f(g,{theme:y,className:p,width:o,height:l,maximizeFrame:m,shouldFadeIn:c,shouldStartVisible:h,isLoaded:b===a.n.loaded||b===a.n.notLoaded&&this.props.shouldStartVisible,isLandscape:w===a.e.landscape,isCenter:d===a.t.center,isCenterContain:d===a.t.centerContain,isCenterCover:d===a.t.centerCover,isContain:d===a.t.contain,isCover:d===a.t.cover,isNone:d===a.t.none,isError:b===a.n.error,isNotImageFit:void 0===d});return s.createElement("div",{className:E.root,style:{width:o,height:l},ref:this._frameElement},s.createElement("img",Object(i.e)({},e,{onLoad:this._onImageLoaded,onError:this._onImageError,key:"fabricImage"+this.props.src||"",className:E.image,ref:this._imageElement,src:n,alt:r,role:v})))};t.prototype._checkImageLoaded=function(){var e=this.props.src;if(this.state.loadState===a.n.notLoaded){if(!!this._imageElement.current&&(e&&this._imageElement.current.naturalWidth>0&&this._imageElement.current.naturalHeight>0||this._imageElement.current.complete&&t._svgRegex.test(e))){this._computeCoverStyle(this.props);this.setState({loadState:a.n.loaded})}}};t.prototype._computeCoverStyle=function(e){var t=e.imageFit,n=e.width,r=e.height;if((t===a.t.cover||t===a.t.contain||t===a.t.centerContain||t===a.t.centerCover)&&void 0===this.props.coverStyle&&this._imageElement.current&&this._frameElement.current){var i=void 0;i="number"==typeof n&&"number"==typeof r&&t!==a.t.centerContain&&t!==a.t.centerCover?n/r:this._frameElement.current.clientWidth/this._frameElement.current.clientHeight;var s=this._imageElement.current.naturalWidth/this._imageElement.current.naturalHeight;this._coverStyle=s>i?a.e.landscape:a.e.portrait}};t.defaultProps={shouldFadeIn:!0};t._svgRegex=/\.svg$/i;return t})(s.Component),c=n(3),h=n(12),p={root:"ms-Image",rootMaximizeFrame:"ms-Image--maximizeFrame",image:"ms-Image-image",imageCenter:"ms-Image-image--center",imageContain:"ms-Image-image--contain",imageCover:"ms-Image-image--cover",imageCenterContain:"ms-Image-image--centerContain",imageCenterCover:"ms-Image-image--centerCover",imageNone:"ms-Image-image--none",imageLandscape:"ms-Image-image--landscape",imagePortrait:"ms-Image-image--portrait"},d=Object(r.e)(l,function(e){var t=e.className,n=e.width,r=e.height,i=e.maximizeFrame,s=e.isLoaded,o=e.shouldFadeIn,u=e.shouldStartVisible,a=e.isLandscape,f=e.isCenter,l=e.isContain,d=e.isCover,v=e.isCenterContain,m=e.isCenterCover,g=e.isNone,y=e.isError,b=e.isNotImageFit,w=e.theme,E=Object(c.v)(p,w),S={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},x=Object(h.e)(),T=void 0!==x&&void 0===x.navigator.msMaxTouchPoints,N=l&&a||d&&!a?{width:"100%",height:"auto"}:{width:"auto",height:"100%"};return{root:[E.root,w.fonts.medium,{overflow:"hidden"},i&&[E.rootMaximizeFrame,{height:"100%",width:"100%"}],s&&o&&!u&&c.e.fadeIn400,(f||l||d||v||m)&&{position:"relative"},t],image:[E.image,{display:"block",opacity:0},s&&["is-loaded",{opacity:1}],f&&[E.imageCenter,S],l&&[E.imageContain,T&&{width:"100%",height:"100%",objectFit:"contain"},!T&&N,S],d&&[E.imageCover,T&&{width:"100%",height:"100%",objectFit:"cover"},!T&&N,S],v&&[E.imageCenterContain,a&&{maxWidth:"100%"},!a&&{maxHeight:"100%"},S],m&&[E.imageCenterCover,a&&{maxHeight:"100%"},!a&&{maxWidth:"100%"},S],g&&[E.imageNone,{width:"auto",height:"auto"}],b&&[!!n&&!r&&{height:"auto",width:"100%"},!n&&!!r&&{height:"100%",width:"auto"},!!n&&!!r&&{height:"100%",width:"100%"}],a&&E.imageLandscape,!a&&E.imagePortrait,!s&&"is-notLoaded",o&&"is-fadeIn",y&&"is-error"]}},void 0,{scope:"Image"},!0)},function(e,t,n){"use strict";n.d(t,"e",function(){return s});var r={},i=void 0;try{i=window}catch(e){}function s(e,t){if(void 0!==i){var n=i.__packages__=i.__packages__||{};if(!n[e]||!r[e]){r[e]=t;(n[e]=n[e]||[]).push(t)}}}s("@uifabric/set-version","6.0.0")},function(e,t,n){"use strict";n.d(t,"i",function(){return o});n.d(t,"e",function(){return a});n.d(t,"t",function(){return f});n.d(t,"s",function(){return l});n.d(t,"n",function(){return c});n.d(t,"r",function(){return h});var r=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n={},r=0,i=e;r<i.length;r++)for(var s=i[r],o=Array.isArray(s)?s:Object.keys(s),u=0,a=o;u<a.length;u++){var f=a[u];n[f]=1}return n},i=r(["onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),s=r(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),o=r(s,i),u=(r(o,["form"]),r(o,["height","loop","muted","preload","src","width"])),a=(r(u,["poster"]),r(o,["start"]),r(o,["value"]),r(o,["download","href","hrefLang","media","rel","target","type"])),f=r(o,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),l=(r(f,["accept","alt","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),r(f,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),r(f,["form","multiple","required"]),r(o,["selected","value"]),r(o,["cellPadding","cellSpacing"]),r(o,["rowSpan","scope"]),r(o,["colSpan","headers","rowSpan","scope"]),r(o,["span"]),r(o,["span"]),r(o,["acceptCharset","action","encType","encType","method","noValidate","target"]),r(o,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),r(o,["alt","crossOrigin","height","src","srcSet","useMap","width"])),c=o;function h(e,t,n){for(var r,i=Array.isArray(t),s={},o=0,u=Object.keys(e);o<u.length;o++){var a=u[o];!(!i&&t[a]||i&&t.indexOf(a)>=0||0===a.indexOf("data-")||0===a.indexOf("aria-"))||n&&-1!==(null===(r=n)||void 0===r?void 0:r.indexOf(a))||(s[a]=e[a])}return s}},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.AuthType=void 0;(function(e){e[e.Aad=1]="Aad";e[e.Msa=2]="Msa"})(t.AuthType||(t.AuthType={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.AbtHost=void 0;var r=(function(){function e(){}e.abtWorldWideSvc="identity.osi.office.net";e.abtTrailblazer="identity.osi.office365.us";e.abtPathfinderSvc="identity.osi.apps.mil";e.abtSignOut="odc.officeapps.live.com";return e})();t.AbtHost=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.AbtEvent=void 0;var r=(function(){function e(){}e.hostSignOut="abtSignOutEventForHost";e.hostSignOutUserGenerated="abtSignOutEventForHostUserGenerated";e.initializeResult="abtInitializeResult";e.promptShown="abtPromptShown";return e})();t.AbtEvent=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.AbtEventProperty=void 0;var r=(function(){function e(){}e.detail="detail";e.eventId="eventId";e.signOutPageUrl="signoutPageUrl";e.userId="userId";e.initializeResult="initializeResult";e.initializeMessage="initializeMessage";return e})();t.AbtEventProperty=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.AbtRegistration=void 0;var r=(function(){function e(){}e.maxAttempts=3;e.timeToSleepInMsecs=10;return e})();t.AbtRegistration=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.TimeUtils=void 0;var r=n(47),i=n(39);(function(e){e.addMinutes=function(e,t){r.LoggingUtils.log("Start add minutes operation","TimeUtils","addMinutes",i.Global.gAbtSkipAriaLog);if(null==e){r.LoggingUtils.warn("date param cannot be null, undefined or empty.","TimeUtils","addMinutes");return null}var n=new Date(e);if("Invalid Date"===n.toString()){r.LoggingUtils.error("date param doesn't have valid date value - '"+n.toString()+"'","TimeUtils","addMinutes");return null}n.setTime(n.getTime()+6e4*t);return n};e.addSeconds=function(e,t){r.LoggingUtils.log("Start add seconds operation","TimeUtils","addSeconds",i.Global.gAbtSkipAriaLog);if(null==e){r.LoggingUtils.warn("date param cannot be null, undefined or empty.","TimeUtils");return null}var n=new Date(e);if("Invalid Date"===n.toString()){r.LoggingUtils.error("date param doesn't have valid date value - '"+n.toString()+"'","TimeUtils","addSeconds");return null}n.setTime(n.getTime()+1e3*t);return n}})(t.TimeUtils||(t.TimeUtils={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.AbtTimer=void 0;var r=(function(){function e(){}e.promptInterval=6e4;e.signOutInterval=6e4;e.activityInterval=6e4;return e})();t.AbtTimer=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(function(){function e(){}e.shouldProceed=function(e){return!(null!=e&&void 0!==e&&!e)};e.log=function(t,n){e.shouldProceed(n)&&console.log(t)};e.warn=function(t,n){e.shouldProceed(n)&&console.warn(t)};e.error=function(t,n){e.shouldProceed(n)&&console.error(t)};return e})();t.LoggingUtils=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(function(){function e(){}e.isEmpty=function(e){return!e||void 0===e||0===e.length};e.formatString=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return e?e.replace(/\{(\d+)\}/g,function(e,n){return void 0===t[n]?e:t[n]}):""};return e})();t.StringUtils=r},function(e,t,n){"use strict";n.r(t);var r=n(80);n.d(t,"Contracts",function(){return r.e});var i=n(116);n.d(t,"ActivityScope",function(){return i.e});var s=n(30);n.d(t,"addContractField",function(){return s.e});var o=n(168);n.d(t,"getFieldsForContract",function(){return o.e});var u=n(69);n.d(t,"DataClassification",function(){return u.e});var a=n(169);for(var f in a)["default","Contracts","ActivityScope","addContractField","getFieldsForContract","DataClassification"].indexOf(f)<0&&(function(e){n.d(t,e,function(){return a[e]})})(f);var l=n(6);n.d(t,"makeBooleanDataField",function(){return l.e});n.d(t,"makeInt64DataField",function(){return l.r});n.d(t,"makeDoubleDataField",function(){return l.t});n.d(t,"makeStringDataField",function(){return l.i});n.d(t,"makeGuidDataField",function(){return l.n});var c=n(51);n.d(t,"DataFieldType",function(){return c.e});var h=n(170);n.d(t,"getEffectiveEventFlags",function(){return h.e});var p=n(70);n.d(t,"SamplingPolicy",function(){return p.i});n.d(t,"PersistencePriority",function(){return p.r});n.d(t,"CostPriority",function(){return p.e});n.d(t,"DataCategories",function(){return p.t});n.d(t,"DiagnosticLevel",function(){return p.n});var d=n(171);for(var f in d)["default","Contracts","ActivityScope","addContractField","getFieldsForContract","DataClassification","makeBooleanDataField","makeInt64DataField","makeDoubleDataField","makeStringDataField","makeGuidDataField","DataFieldType","getEffectiveEventFlags","SamplingPolicy","PersistencePriority","CostPriority","DataCategories","DiagnosticLevel"].indexOf(f)<0&&(function(e){n.d(t,e,function(){return d[e]})})(f);var v=n(18);n.d(t,"LogLevel",function(){return v.t});n.d(t,"Category",function(){return v.e});n.d(t,"onNotification",function(){return v.i});n.d(t,"logNotification",function(){return v.r});n.d(t,"logError",function(){return v.n});var m=n(114);n.d(t,"SuppressNexus",function(){return m.t});n.d(t,"SimpleTelemetryLogger",function(){return m.e});var g=n(172);n.d(t,"TelemetryLogger",function(){return g.e});var y=n(173);for(var f in y)["default","Contracts","ActivityScope","addContractField","getFieldsForContract","DataClassification","makeBooleanDataField","makeInt64DataField","makeDoubleDataField","makeStringDataField","makeGuidDataField","DataFieldType","getEffectiveEventFlags","SamplingPolicy","PersistencePriority","CostPriority","DataCategories","DiagnosticLevel","LogLevel","Category","onNotification","logNotification","logError","SuppressNexus","SimpleTelemetryLogger","TelemetryLogger"].indexOf(f)<0&&(function(e){n.d(t,e,function(){return y[e]})})(f);var b=n(174);for(var f in b)["default","Contracts","ActivityScope","addContractField","getFieldsForContract","DataClassification","makeBooleanDataField","makeInt64DataField","makeDoubleDataField","makeStringDataField","makeGuidDataField","DataFieldType","getEffectiveEventFlags","SamplingPolicy","PersistencePriority","CostPriority","DataCategories","DiagnosticLevel","LogLevel","Category","onNotification","logNotification","logError","SuppressNexus","SimpleTelemetryLogger","TelemetryLogger"].indexOf(f)<0&&(function(e){n.d(t,e,function(){return b[e]})})(f);var w=n(175);for(var f in w)["default","Contracts","ActivityScope","addContractField","getFieldsForContract","DataClassification","makeBooleanDataField","makeInt64DataField","makeDoubleDataField","makeStringDataField","makeGuidDataField","DataFieldType","getEffectiveEventFlags","SamplingPolicy","PersistencePriority","CostPriority","DataCategories","DiagnosticLevel","LogLevel","Category","onNotification","logNotification","logError","SuppressNexus","SimpleTelemetryLogger","TelemetryLogger"].indexOf(f)<0&&(function(e){n.d(t,e,function(){return w[e]})})(f)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});(function(e){var t=(function(){function e(){}e.DivName="mast";return e})();e.BlockingPromptStrings=t;var n=(function(){function e(){}e.SessionTrackingPrefix="sessionTracking_";e.ActiveAccountIdentifierKey=e.SessionTrackingPrefix+"ActiveAccountIdentifier";e.SignedInAccountListKey=e.SessionTrackingPrefix+"SignedInAccountList";return e})();e.PersistentCacheKeys=n;var r=(function(){function e(){}e.SwitchAccountRedirect="SwitchAccountRedirect";e.SignOutBackToLanding="SignOutBackToLanding";return e})();e.PostMessageType=r;var i=(function(){function e(){}e.LoginHintQueryString="login_hint=";e.WwwDot="www.";return e})();e.Web=i;e.removeWWW=function(e){var t=e.indexOf(i.WwwDot),n=i.WwwDot.length;return t<0&&e.length>n?e:e.substring(n)}})(t.Constants||(t.Constants={}))},function(e,t,n){"use strict";n.r(t);n.d(t,"BaseButton",function(){return s.e});n.d(t,"ElementType",function(){return r});n.d(t,"ButtonType",function(){return i});n.d(t,"Button",function(){return C});n.d(t,"ActionButton",function(){return E});n.d(t,"CommandBarButton",function(){return A});n.d(t,"CommandButton",function(){return O});n.d(t,"CompoundButton",function(){return x});n.d(t,"DefaultButton",function(){return b});n.d(t,"MessageBarButton",function(){return _});n.d(t,"PrimaryButton",function(){return N});n.d(t,"IconButton",function(){return T.e});n.d(t,"getSplitButtonClassNames",function(){return D.e});var r,i,s=n(36);(function(e){e[e.button=0]="button";e[e.anchor=1]="anchor"})(r||(r={}));(function(e){e[e.normal=0]="normal";e[e.primary=1]="primary";e[e.hero=2]="hero";e[e.compound=3]="compound";e[e.command=4]="command";e[e.icon=5]="icon";e[e.default=6]="default"})(i||(i={}));var o=n(1),u=n("react-lib"),a=n(112),f=n(299),l=n(285),c=n(3),h=n(33),p=n(49),d=n(68),v=n(83);function m(e){var t,n,r,i,s,u=e.semanticColors,a=e.palette,f=u.buttonBackground,l=u.buttonBackgroundPressed,h=u.buttonBackgroundHovered,p=u.buttonBackgroundDisabled,d=u.buttonText,v=u.buttonTextHovered,m=u.buttonTextDisabled,g=u.buttonTextChecked,y=u.buttonTextCheckedHovered;return{root:{backgroundColor:f,color:d},rootHovered:{backgroundColor:h,color:v,selectors:(t={},t[c.r]={borderColor:"Highlight",color:"Highlight"},t)},rootPressed:{backgroundColor:l,color:g},rootExpanded:{backgroundColor:l,color:g},rootChecked:{backgroundColor:l,color:g},rootCheckedHovered:{backgroundColor:l,color:y},rootDisabled:{color:m,backgroundColor:p,selectors:(n={},n[c.r]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},n)},splitButtonContainer:{selectors:(r={},r[c.r]={border:"none"},r)},splitButtonMenuButton:{color:a.white,backgroundColor:"transparent",selectors:{":hover":{backgroundColor:a.neutralLight,selectors:(i={},i[c.r]={color:"Highlight"},i)}}},splitButtonMenuButtonDisabled:{backgroundColor:u.buttonBackgroundDisabled,selectors:{":hover":{backgroundColor:u.buttonBackgroundDisabled}}},splitButtonDivider:Object(o.e)(Object(o.e)({},{position:"absolute",width:1,right:31,top:8,bottom:8}),{backgroundColor:a.neutralTertiaryAlt,selectors:(s={},s[c.r]={backgroundColor:"WindowText"},s)}),splitButtonDividerDisabled:{backgroundColor:e.palette.neutralTertiaryAlt},splitButtonMenuButtonChecked:{backgroundColor:a.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:a.neutralQuaternaryAlt}}},splitButtonMenuButtonExpanded:{backgroundColor:a.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:a.neutralQuaternaryAlt}}},splitButtonMenuIcon:{color:u.buttonText},splitButtonMenuIconDisabled:{color:u.buttonTextDisabled}}}function g(e){var t,n,r,i,s,u,a,f,l,h=e.palette,p=e.semanticColors;return{root:{backgroundColor:p.primaryButtonBackground,border:"1px solid "+p.primaryButtonBackground,color:p.primaryButtonText,selectors:(t={},t[c.r]=Object(o.e)({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},Object(c.m)()),t["."+v.e+" &:focus"]={selectors:{":after":{border:"none",outlineColor:h.white}}},t)},rootHovered:{backgroundColor:p.primaryButtonBackgroundHovered,border:"1px solid "+p.primaryButtonBackgroundHovered,color:p.primaryButtonTextHovered,selectors:(n={},n[c.r]={color:"Window",backgroundColor:"Highlight",borderColor:"Highlight"},n)},rootPressed:{backgroundColor:p.primaryButtonBackgroundPressed,border:"1px solid "+p.primaryButtonBackgroundPressed,color:p.primaryButtonTextPressed,selectors:(r={},r[c.r]=Object(o.e)({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},Object(c.m)()),r)},rootExpanded:{backgroundColor:p.primaryButtonBackgroundPressed,color:p.primaryButtonTextPressed},rootChecked:{backgroundColor:p.primaryButtonBackgroundPressed,color:p.primaryButtonTextPressed},rootCheckedHovered:{backgroundColor:p.primaryButtonBackgroundPressed,color:p.primaryButtonTextPressed},rootDisabled:{color:p.primaryButtonTextDisabled,backgroundColor:p.primaryButtonBackgroundDisabled,selectors:(i={},i[c.r]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},i)},splitButtonContainer:{selectors:(s={},s[c.r]={border:"none"},s)},splitButtonDivider:Object(o.e)(Object(o.e)({},{position:"absolute",width:1,right:31,top:8,bottom:8}),{backgroundColor:h.white,selectors:(u={},u[c.r]={backgroundColor:"Window"},u)}),splitButtonMenuButton:{backgroundColor:p.primaryButtonBackground,color:p.primaryButtonText,selectors:(a={},a[c.r]={backgroundColor:"WindowText"},a[":hover"]={backgroundColor:p.primaryButtonBackgroundHovered,selectors:(f={},f[c.r]={color:"Highlight"},f)},a)},splitButtonMenuButtonDisabled:{backgroundColor:p.primaryButtonBackgroundDisabled,selectors:{":hover":{backgroundColor:p.primaryButtonBackgroundDisabled}}},splitButtonMenuButtonChecked:{backgroundColor:p.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:p.primaryButtonBackgroundPressed}}},splitButtonMenuButtonExpanded:{backgroundColor:p.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:p.primaryButtonBackgroundPressed}}},splitButtonMenuIcon:{color:p.primaryButtonText},splitButtonMenuIconDisabled:{color:h.neutralTertiary,selectors:(l={},l[c.r]={color:"GrayText"},l)}}}var y=Object(h.t)(function(e,t,n){var r=Object(p.e)(e),i=Object(d.e)(e),s={root:{minWidth:"80px",height:"32px"},label:{fontWeight:c.n.semibold}};return Object(c.l)(r,s,n?g(e):m(e),i,t)}),b=(function(e){Object(o.n)(t,e);function t(){return null!==e&&e.apply(this,arguments)||this}t.prototype.render=function(){var e=this.props,t=e.primary,n=void 0!==t&&t,r=e.styles,i=e.theme;return u.createElement(s.e,Object(o.e)({},this.props,{variantClassName:n?"ms-Button--primary":"ms-Button--default",styles:y(i,r,n),onRenderDescription:f.e}))};return t=Object(o.t)([Object(l.e)("DefaultButton",["theme","styles"],!0)],t)})(u.Component),w=Object(h.t)(function(e,t){var n,r=Object(p.e)(e),i={root:{padding:"0 4px",height:"40px",color:e.palette.neutralPrimary,backgroundColor:"transparent",border:"1px solid transparent"},rootHovered:{color:e.palette.themePrimary,selectors:(n={},n[c.r]={borderColor:"Highlight",color:"Highlight"},n)},iconHovered:{color:e.palette.themePrimary},rootPressed:{color:e.palette.black},rootExpanded:{color:e.palette.themePrimary},iconPressed:{color:e.palette.themeDarker},rootDisabled:{color:e.palette.neutralTertiary,backgroundColor:"transparent",borderColor:"transparent"},rootChecked:{color:e.palette.black},iconChecked:{color:e.palette.themeDarker},flexContainer:{justifyContent:"flex-start"},icon:{color:e.palette.themeDarkAlt},iconDisabled:{color:"inherit"},menuIcon:{color:e.palette.neutralSecondary},textContainer:{flexGrow:0}};return Object(c.l)(r,i,t)}),E=(function(e){Object(o.n)(t,e);function t(){return null!==e&&e.apply(this,arguments)||this}t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return u.createElement(s.e,Object(o.e)({},this.props,{variantClassName:"ms-Button--action ms-Button--command",styles:w(n,t),onRenderDescription:f.e}))};return t=Object(o.t)([Object(l.e)("ActionButton",["theme","styles"],!0)],t)})(u.Component),S=Object(h.t)(function(e,t,n){var r,i,s,u,a,f=e.fonts,l=e.palette,h=Object(p.e)(e),v=Object(d.e)(e),y={root:{maxWidth:"280px",minHeight:"72px",height:"auto",padding:"16px 12px"},flexContainer:{flexDirection:"row",alignItems:"flex-start",minWidth:"100%",margin:""},textContainer:{textAlign:"left"},icon:{fontSize:"2em",lineHeight:"1em",height:"1em",margin:"0px 8px 0px 0px",flexBasis:"1em",flexShrink:"0"},label:{margin:"0 0 5px",lineHeight:"100%",fontWeight:c.n.semibold},description:[f.small,{lineHeight:"100%"}]},b={description:{color:l.neutralSecondary},descriptionHovered:{color:l.neutralDark},descriptionPressed:{color:"inherit"},descriptionChecked:{color:"inherit"},descriptionDisabled:{color:"inherit"}},w={description:{color:l.white,selectors:(r={},r[c.r]=Object(o.e)({backgroundColor:"WindowText",color:"Window"},Object(c.m)()),r)},descriptionHovered:{color:l.white,selectors:(i={},i[c.r]={backgroundColor:"Highlight",color:"Window"},i)},descriptionPressed:{color:"inherit",selectors:(s={},s[c.r]=Object(o.e)({color:"Window",backgroundColor:"WindowText"},Object(c.m)()),s)},descriptionChecked:{color:"inherit",selectors:(u={},u[c.r]=Object(o.e)({color:"Window",backgroundColor:"WindowText"},Object(c.m)()),u)},descriptionDisabled:{color:"inherit",selectors:(a={},a[c.r]={color:"inherit"},a)}};return Object(c.l)(h,y,n?g(e):m(e),n?w:b,v,t)}),x=(function(e){Object(o.n)(t,e);function t(){return null!==e&&e.apply(this,arguments)||this}t.prototype.render=function(){var e=this.props,t=e.primary,n=void 0!==t&&t,r=e.styles,i=e.theme;return u.createElement(s.e,Object(o.e)({},this.props,{variantClassName:n?"ms-Button--compoundPrimary":"ms-Button--compound",styles:S(i,r,n)}))};return t=Object(o.t)([Object(l.e)("CompoundButton",["theme","styles"],!0)],t)})(u.Component),T=n(117),N=(function(e){Object(o.n)(t,e);function t(){return null!==e&&e.apply(this,arguments)||this}t.prototype.render=function(){return u.createElement(b,Object(o.e)({},this.props,{primary:!0,onRenderDescription:f.e}))};return t=Object(o.t)([Object(l.e)("PrimaryButton",["theme","styles"],!0)],t)})(u.Component),C=(function(e){Object(o.n)(t,e);function t(t){var n=e.call(this,t)||this;Object(a.e)("The Button component has been deprecated. Use specific variants instead. (PrimaryButton, DefaultButton, IconButton, ActionButton, etc.)");return n}t.prototype.render=function(){var e=this.props;switch(e.buttonType){case i.command:return u.createElement(E,Object(o.e)({},e));case i.compound:return u.createElement(x,Object(o.e)({},e));case i.icon:return u.createElement(T.e,Object(o.e)({},e));case i.primary:return u.createElement(N,Object(o.e)({},e));default:return u.createElement(b,Object(o.e)({},e))}};return t})(u.Component),k=n(26),L=Object(h.t)(function(e,t,n,r){var i,s,u,a,f,l,h,v,m,g,y,b,w,E,S=Object(p.e)(e),x=Object(d.e)(e),T=e.palette,N=e.semanticColors,C={root:[Object(c.d)(e,{inset:2,highContrastStyle:{left:4,top:4,bottom:4,right:4,border:"none"},borderColor:"transparent"}),e.fonts.medium,{minWidth:"40px",backgroundColor:T.white,color:T.neutralPrimary,padding:"0 4px",border:"none",borderRadius:0,selectors:(i={},i[c.r]={border:"none"},i)}],rootHovered:{backgroundColor:T.neutralLighter,color:T.neutralDark,selectors:(s={},s[c.r]={color:"Highlight"},s["."+k.e.msButtonIcon]={color:T.themeDarkAlt},s["."+k.e.msButtonMenuIcon]={color:T.neutralPrimary},s)},rootPressed:{backgroundColor:T.neutralLight,color:T.neutralDark,selectors:(u={},u["."+k.e.msButtonIcon]={color:T.themeDark},u["."+k.e.msButtonMenuIcon]={color:T.neutralPrimary},u)},rootChecked:{backgroundColor:T.neutralLight,color:T.neutralDark,selectors:(a={},a["."+k.e.msButtonIcon]={color:T.themeDark},a["."+k.e.msButtonMenuIcon]={color:T.neutralPrimary},a)},rootCheckedHovered:{backgroundColor:T.neutralQuaternaryAlt,selectors:(f={},f["."+k.e.msButtonIcon]={color:T.themeDark},f["."+k.e.msButtonMenuIcon]={color:T.neutralPrimary},f)},rootExpanded:{backgroundColor:T.neutralLight,color:T.neutralDark,selectors:(l={},l["."+k.e.msButtonIcon]={color:T.themeDark},l["."+k.e.msButtonMenuIcon]={color:T.neutralPrimary},l)},rootExpandedHovered:{backgroundColor:T.neutralQuaternaryAlt},rootDisabled:{backgroundColor:T.white,selectors:(h={},h["."+k.e.msButtonIcon]={color:N.disabledBodySubtext,selectors:(v={},v[c.r]=Object(o.e)({color:"GrayText"},Object(c.m)()),v)},h[c.r]=Object(o.e)({color:"GrayText",backgroundColor:"Window"},Object(c.m)()),h)},splitButtonContainer:{height:"100%",selectors:(m={},m[c.r]={border:"none"},m)},splitButtonDividerDisabled:{selectors:(g={},g[c.r]={backgroundColor:"Window"},g)},splitButtonDivider:{backgroundColor:T.neutralTertiaryAlt},splitButtonMenuButton:{backgroundColor:T.white,border:"none",borderTopRightRadius:"0",borderBottomRightRadius:"0",color:T.neutralSecondary,selectors:{":hover":{backgroundColor:T.neutralLighter,color:T.neutralDark,selectors:(y={},y[c.r]={color:"Highlight"},y["."+k.e.msButtonIcon]={color:T.neutralPrimary},y)},":active":{backgroundColor:T.neutralLight,selectors:(b={},b["."+k.e.msButtonIcon]={color:T.neutralPrimary},b)}}},splitButtonMenuButtonDisabled:{backgroundColor:T.white,selectors:(w={},w[c.r]=Object(o.e)({color:"GrayText",border:"none",backgroundColor:"Window"},Object(c.m)()),w)},splitButtonMenuButtonChecked:{backgroundColor:T.neutralLight,color:T.neutralDark,selectors:{":hover":{backgroundColor:T.neutralQuaternaryAlt}}},splitButtonMenuButtonExpanded:{backgroundColor:T.neutralLight,color:T.black,selectors:{":hover":{backgroundColor:T.neutralQuaternaryAlt}}},splitButtonMenuIcon:{color:T.neutralPrimary},splitButtonMenuIconDisabled:{color:T.neutralTertiary},label:{fontWeight:"normal"},icon:{color:T.themePrimary},menuIcon:(E={color:T.neutralSecondary},E[c.r]={color:"GrayText"},E)};return Object(c.l)(S,x,C,t)}),A=(function(e){Object(o.n)(t,e);function t(){return null!==e&&e.apply(this,arguments)||this}t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return u.createElement(s.e,Object(o.e)({},this.props,{variantClassName:"ms-Button--commandBar",styles:L(n,t),onRenderDescription:f.e}))};return t=Object(o.t)([Object(l.e)("CommandBarButton",["theme","styles"],!0)],t)})(u.Component),O=E,M=Object(h.t)(function(e,t){return Object(c.l)({root:[Object(c.d)(e,{inset:1,highContrastStyle:{outlineOffset:"-4px",outline:"1px solid Window"},borderColor:"transparent"}),{height:24}]},t)}),_=(function(e){Object(o.n)(t,e);function t(){return null!==e&&e.apply(this,arguments)||this}t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return u.createElement(b,Object(o.e)({},this.props,{styles:M(n,t),onRenderDescription:f.e}))};return t=Object(o.t)([Object(l.e)("MessageBarButton",["theme","styles"],!0)],t)})(u.Component),D=n(113)},function(e,t,n){"use strict";n.d(t,"t",function(){return l});n.d(t,"e",function(){return c});var r=n(0),i=0;var s=["img","script","iframe","link","audio","video","source"];function o(e,t){for(var n=0,r=e;n<r.length;n++){var i=r[n];if(t.includes(i.nodeName.toLowerCase())||o(i.children,t))return!0}return!1}function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];a()&&console.log.apply(console,e)}function a(){try{if("sessionStorage"in window&&window.sessionStorage){var e=window.sessionStorage.enableTTILogging;return e&&"true"===e.toLowerCase()&&"undefined"!=typeof console&&!!console}}catch(e){}return!1}function f(e,t){if(e.length>2)return performance.now();for(var n=[],r=0,i=t;r<i.length;r++){var s=i[r];n.push({timestamp:s.start,type:"requestStart"});n.push({timestamp:s.end,type:"requestEnd"})}for(var o=0,u=e;o<u.length;o++){var a=u[o];n.push({timestamp:a,type:"requestStart"})}n.sort(function(e,t){return e.timestamp-t.timestamp});for(var f=e.length,l=n.length-1;l>=0;l--){var c=n[l];switch(c.type){case"requestStart":f--;break;case"requestEnd":if(++f>2)return c.timestamp;break;default:throw Error("Internal Error: This should never happen")}}return 0}function l(){window.__tti&&window.__tti.o.observe({entryTypes:["longtask"]})}var c=(function(){function e(e){void 0===e&&(e={});var t=this;this._useMutationObserver=!!e.useMutationObserver;this._trackNetworkRequests=!!e.trackNetworkRequests;this._minValue=e.minValue||null;this._requiredMainThreadQuietnessDurationInMilliseconds=e.requiredMainThreadQuietnessDurationInMilliseconds||5e3;this._requiredNetworkQuietnessDurationInMilliseconds=e.requiredNetworkQuietnessDurationInMilliseconds||5e3;var n=window.__tti&&window.__tti.e,r=window.__tti&&window.__tti.o;this._longTaskId=0;if(n){u("Consuming the long task entries already recorded.");this._longTasks=n.map(function(e){return t._createLongTask(e)});window.__tti.e=[]}else this._longTasks=[];r&&r.disconnect();this._networkRequests=[];this._incompleteJSInitiatedRequestStartTimes=new Map;this._timerId=void 0;this._timerActivationTime=-1/0;this._scheduleTimerTasks=!1;this._firstConsistentlyInteractiveResolver=null;this._performanceObserver=null;this._mutationObserver=null;this._registerListeners(this._trackNetworkRequests)}e.prototype.getFirstConsistentlyInteractive=function(){var e=this;return new Promise(function(t,n){e._firstConsistentlyInteractiveResolver=t;"complete"===document.readyState?e.startSchedulingTimerTasks():window.addEventListener("load",function(){e.startSchedulingTimerTasks()})})};e.prototype.startSchedulingTimerTasks=function(){u("Enabling FirstConsistentlyInteractiveDetector");this._scheduleTimerTasks=!0;var e=this._longTasks.length>0?this._longTasks[this._longTasks.length-1].end:0,t=f(this._incompleteRequestStarts(),this._networkRequests);this._rescheduleTimer(Math.max(this._trackNetworkRequests?t+this._requiredNetworkQuietnessDurationInMilliseconds:0,e))};e.prototype._rescheduleTimer=function(e){var t=this;if(this._scheduleTimerTasks){u("Attempting to reschedule FirstConsistentlyInteractive "+"check to ".concat(e));u("Previous timer activation time: ".concat(this._timerActivationTime));if(this._timerActivationTime>e)u("Current activation time is greater than attempted reschedule time. No need to postpone.");else{clearTimeout(this._timerId);this._timerId=setTimeout(function(){t._checkTTI()},Math.max(0,e-performance.now()));this._timerActivationTime=e;u("Rescheduled firstConsistentlyInteractive check at ".concat(e))}}else u("startSchedulingTimerTasks must be called before calling rescheduleTimer")};e.prototype._disable=function(){u("Disabling FirstConsistentlyInteractiveDetector");clearTimeout(this._timerId);this._scheduleTimerTasks=!1;this._unregisterListeners()};e.prototype._registerPerformanceObserver=function(e){var t=this;void 0===e&&(e=!0);this._performanceObserver=new PerformanceObserver(function(n){for(var r=0,i=n.getEntries();r<i.length;r++){var s=i[r];"resource"===s.entryType&&e&&t._networkRequestFinishedCallback(s);"longtask"===s.entryType&&t._longTaskFinishedCallback(s)}});this._performanceObserver.observe({entryTypes:e?["longtask","resource"]:["longtask"]})};e.prototype._registerListeners=function(e){void 0===e&&(e=!0);if(e){u=this._beforeJSInitiatedRequestCallback.bind(this),a=this._afterJSInitiatedRequestCallback.bind(this),f=XMLHttpRequest.prototype.send,l=i++,XMLHttpRequest.prototype.send=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];u(l.toString());this.addEventListener("readystatechange",function(){4===e.readyState&&a(l.toString())});return f.apply(this,t)};t=this._beforeJSInitiatedRequestCallback.bind(this),n=this._afterJSInitiatedRequestCallback.bind(this),r=window.fetch,window.fetch=function(){for(var e=[],s=0;s<arguments.length;s++)e[s]=arguments[s];return new Promise(function(s,o){var u=i++;t(u.toString());r.apply(void 0,e).then(function(e){n(u.toString());s(e)},function(e){n(e);o(e)})})}}var t,n,r,u,a,f,l;this._registerPerformanceObserver(e);this._useMutationObserver&&(this._mutationObserver=(function(e){var t=new MutationObserver(function(t){for(var n=0,r=t;n<r.length;n++){var i=r[n];("childList"===i.type&&o(i.addedNodes,s)||"attributes"===i.type&&s.includes(i.target.tagName.toLowerCase()))&&e(i)}});t.observe(document,{attributes:!0,childList:!0,subtree:!0,attributeFilter:["href","src"]});return t})(this._mutationObserverCallback.bind(this)))};e.prototype._unregisterListeners=function(){this._performanceObserver&&this._performanceObserver.disconnect();this._mutationObserver&&this._mutationObserver.disconnect()};e.prototype._beforeJSInitiatedRequestCallback=function(e){u("Starting JS initiated request. Request ID: ".concat(e));this._incompleteJSInitiatedRequestStartTimes.set(e,performance.now());u("Active XHRs: ".concat(this._incompleteJSInitiatedRequestStartTimes.size))};e.prototype._afterJSInitiatedRequestCallback=function(e){u("Completed JS initiated request with request ID: ".concat(e));this._incompleteJSInitiatedRequestStartTimes.delete(e);u("Active XHRs: ".concat(this._incompleteJSInitiatedRequestStartTimes.size))};e.prototype._networkRequestFinishedCallback=function(e){u("Network request finished",e);this._networkRequests.push({start:e.fetchStart,end:e.responseEnd});this._rescheduleTimer(f(this._incompleteRequestStarts(),this._networkRequests)+this._requiredNetworkQuietnessDurationInMilliseconds)};e.prototype._longTaskFinishedCallback=function(e){u("Long task finished",e);var t,n=this._createLongTask(e),r="longTaskEnd".concat(n.id);t=r,window.performance&&performance.mark&&performance.mark(t);n.endMarkName=r;this._longTasks.push(n);this._rescheduleTimer(n.end+this._requiredMainThreadQuietnessDurationInMilliseconds)};e.prototype._mutationObserverCallback=function(e){u("Potentially network resource fetching mutation detected",e);u("Pushing back FirstConsistentlyInteractive check by ".concat(this._requiredNetworkQuietnessDurationInMilliseconds," milliseconds."));this._rescheduleTimer(performance.now()+this._requiredNetworkQuietnessDurationInMilliseconds)};e.prototype._getMinValue=function(){return this._minValue?this._minValue:performance.timing.domContentLoadedEventEnd?performance.timing.domContentLoadedEventEnd-performance.timing.navigationStart:null};e.prototype._createLongTask=function(e){var t=e.startTime+e.duration;return{attribution:e.attribution,name:e.name,start:Math.round(e.startTime),end:Math.round(t),id:this._longTaskId++}};e.prototype._incompleteRequestStarts=function(){return Object(r.s)([],Array.from(this._incompleteJSInitiatedRequestStartTimes.values()),!0)};e.prototype._checkTTI=function(){u("Checking if First Consistently Interactive was reached...");var e=performance.timing.navigationStart,t=f(this._incompleteRequestStarts(),this._networkRequests),n=(window.chrome&&window.chrome.loadTimes?1e3*window.chrome.loadTimes().firstPaintTime-e:0)||performance.timing.domContentLoadedEventEnd-e,r=this._getMinValue(),i=performance.now();if(null!==r){u("Parameter values:");u("NavigationStart",e);u("lastKnownNetwork2Busy",t);u("Search Start",n);u("Min Value",r);u("Last busy",t);u("Current time",i);u("Long tasks",this._longTasks);u("Incomplete JS Request Start Times",this._incompleteRequestStarts());u("Network requests",this._networkRequests);var s=(function(e,t,n,r,i,s,o,u){if(s&&r-n<u)return null;var a=0===i.length?e:i[i.length-1].end;if(r-a<o)return null;if(a&&i.length>0){var f=i[i.length-1].endMarkName;f&&performance.measure("TTI",void 0,f)}return Math.max(a,t)})(n,r,t,i,this._longTasks,this._trackNetworkRequests,this._requiredMainThreadQuietnessDurationInMilliseconds,this._requiredNetworkQuietnessDurationInMilliseconds);if(s&&this._firstConsistentlyInteractiveResolver){u("maybeFCI",s);this._firstConsistentlyInteractiveResolver({tti:s,longTasks:this._longTasks});this._disable()}else{u("Could not detect First Consistently Interactive. Retrying in 1 second.");this._rescheduleTimer(performance.now()+1e3)}}else{u("No usable minimum value yet. Postponing check.");this._rescheduleTimer(Math.max(this._trackNetworkRequests?t+this._requiredNetworkQuietnessDurationInMilliseconds:0,i+1e3))}};return e})()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.AbtMainOperations=t.AuthType=t.SignOutSource=t.Environment=void 0;var r=n(136);Object.defineProperty(t,"AuthType",{enumerable:!0,get:function(){return r.AuthType}});var i=n(157);Object.defineProperty(t,"SignOutSource",{enumerable:!0,get:function(){return i.SignOutSource}});var s=n(93);Object.defineProperty(t,"Environment",{enumerable:!0,get:function(){return s.Environment}});var o,u=n(138),a=n(139),f=n(211),l=n(213),c=n(39),h=n(47),p=n(163),d=n(64),v=n(58),m=n(109);(function(e){var t="AbtMainOperations";e.initializeAbt=function(e){var s=null==e?"":e.userId.toUpperCase();s&&""!=s&&(e.userId=e.userId.toUpperCase());var o,p=(function(e){var s,o,u="InitializeAbt";h.LoggingUtils.log("Started initialization",t,u);c.Global.gAbtEnableLogging=!0;c.Global.gAbtSkipAriaLog=!d.LocalStorageUtils.findItemWithValue(v.AbtStorageId.enableAriaLogLogging,v.AbtStorageValue.enableAriaLogLogging,!0);var a=!0,p=!0;if(null==e){o="configurations cannot be null or undefined.";h.LoggingUtils.error(o,t,u);return{boolean:!1,string:o}}var m=new l.AbtInitOptions(e),g=m.isValidTokenClaims();if(!g.isPassed){p=!1;s=g.errorMessage;h.LoggingUtils.error("Check for timeout value, sign in state or controls did not pass.",t,u)}var y=m.isValid();if(!y.isPassed){a=!1;o=y.errorMessage;h.LoggingUtils.error(o,t,u);h.LoggingUtils.error("Completed initialization with an error.",t,u)}c.Global.gAbtMarket=m.market;c.Global.gAbtWorkloadName=m.workloadName;c.Global.gAbtEnvironment=m.environment;c.Global.gAbtUserId=m.userId.toUpperCase();c.Global.gAbtTenantId=m.tenantId;c.Global.gAbtTimeout=m.timeout;c.Global.gAbtTrackEvents=m.trackEvents;c.Global.gAbtEnableLogging=m.enableLogging;c.Global.gIsAbtInitialized=a&&p;c.Global.gIsAbtAriaLoggingInitialized=h.LoggingUtils.initializeAriaLogging(m.userId,m.authType,m.workloadName,m.sessionId,m.tenantId,m.environment,c.Global.envConfigs);if(!p){h.LoggingUtils.log(s,t,u);return{boolean:!1,string:s}}if(!a){h.LoggingUtils.error(o,t,u);return{boolean:!1,string:o}}h.LoggingUtils.log("Finish initialization successfully.",t,u,void 0,void 0,void 0,c.Global.gAbtTimeout);f.RegisterUserActivity.signIn();c.Global.gAbtTrackEvents&&(function(){window.addEventListener("scroll",n);window.addEventListener("mousedown",r);window.addEventListener("keydown",i)})();return{boolean:!0,string:""}})(e),m=p.boolean,g=p.string,y='{ "'+a.AbtEventProperty.eventId+'": "'+u.AbtEvent.initializeResult+'", "'+a.AbtEventProperty.detail+'": { "'+a.AbtEventProperty.userId+'": "'+s+'", "'+a.AbtEventProperty.initializeResult+'": "'+m+'", "'+a.AbtEventProperty.initializeMessage+'": "'+g+'"} }';o=JSON.parse(y);window.postMessage(JSON.stringify(o),window.location.origin);return m};e.triggerPrompt=function(){if(d.LocalStorageUtils.findItemWithValue(v.AbtStorageId.enableDebug,v.AbtStorageValue.enableDebug.toString(),!0,!0)){m.PromptUtils.showPrompt({result:!0,respectResult:!0,userId:c.Global.gAbtUserId,ui:{keepMeActiveButton:"Stay signed in",description:"Your organization's policy enforces automatic sign out after a period of inactivity on Microsoft 365 web applications.",question:"Do you want to stay signed in?",signOutButton:"Sign out now",title:"Your session is about to expire",divName:"abtPrompt"},timeout:5,timeSinceActivity:250,error:null,diagnostics:{buildVersion:"",correlationId:"",startTime:"",dataCenter:"",duration:"",machine:""}});return!0}return!1};function n(){if(c.Global.gAbtTrackEvents){h.LoggingUtils.log("Registering scroll event.",t,"RegisterScroll",c.Global.gAbtSkipAriaLog);f.RegisterUserActivity.update()}}function r(){if(c.Global.gAbtTrackEvents){h.LoggingUtils.log("Registering mouse down event.",t,"RegisterMouseDown",c.Global.gAbtSkipAriaLog);f.RegisterUserActivity.update()}}function i(){if(c.Global.gAbtTrackEvents){h.LoggingUtils.log("Registering key down event.",t,"RegisterKeyDown",c.Global.gAbtSkipAriaLog);f.RegisterUserActivity.update()}}})(o=t.AbtMainOperations||(t.AbtMainOperations={}));window.AbtInteraction={AbtRegisterActivity:f.RegisterUserActivity.update,AbtRegisterSignIn:f.RegisterUserActivity.signIn,AbtRegisterSignOut:f.RegisterUserActivity.signOut,AbtInitialize:o.initializeAbt,AbtTriggerPrompt:o.triggerPrompt,AbtBroadcastSignout:p.SignOutUtils.broadcast,AbtShouldSignOutLocal:p.SignOutUtils.shouldSignOutLocal};window.AbtAuthType={Aad:r.AuthType.Aad,Msa:r.AuthType.Msa};window.AbtSignOutSource={UserGenerated:i.SignOutSource.userGenerated,AbtTimeout:i.SignOutSource.abtTimeout};window.AbtEnvironment={WorldWide:s.Environment.WorldWide,Trailblazer:s.Environment.Trailblazer,Pathfinder:s.Environment.Pathfinder}},function(e,t,n){(function(e,n){(function(e,t,r){n.exports=r()})(0,0,function(){"use strict";function r(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function i(e,t,n,r){for(var i=-1,s=null==e?0:e.length;++i<s;){var o=e[i];t(r,o,n(o),e)}return r}function s(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function o(e,t){return!(null==e||!e.length)&&h(e,t,0)>-1}function u(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function a(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function f(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function l(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function c(e,t,n,r){for(var i=e.length,s=n+(r?1:-1);r?s--:++s<i;)if(t(e[s],s,e))return s;return-1}function h(e,t,n){return t==t?(function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1})(e,t,n):c(e,p,n)}function p(e){return e!=e}function d(e){return function(t){return null==t?yt:t[e]}}function v(e){return function(t){return null==e?yt:e[t]}}function m(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function g(e){return function(t){return e(t)}}function y(e,t){return e.has(t)}function b(e){return dr.test(e)}function w(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function E(e,t){return function(n){return e(t(n))}}function S(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function x(e){return b(e)?(function(e){for(var t=hr.lastIndex=0;hr.test(e);)++t;return t})(e):Mr(e)}function T(e){return b(e)?(function(e){return e.match(hr)||[]})(e):(function(e){return e.split("")})(e)}function N(e){for(var t=e.length;t--&&Nn.test(e.charAt(t)););return t}function C(){}function k(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function L(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function A(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function O(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new A;++t<n;)this.add(e[t])}function M(e){this.size=(this.__data__=new L(e)).size}function _(e,t){var n=$i(e),r=!n&&Vi(e),i=!n&&!r&&Ji(e),s=!n&&!r&&!i&&Yi(e),o=n||r||i||s,u=o?m(e.length,String):[],a=u.length;for(var f in e)!t&&!qr.call(e,f)||o&&("length"==f||i&&("offset"==f||"parent"==f)||s&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||Ce(f,a))||u.push(f);return u}function D(e,t,n){(n===yt||Ue(e[t],n))&&(n!==yt||t in e)||j(e,t,n)}function P(e,t,n){var r=e[t];qr.call(e,t)&&Ue(r,n)&&(n!==yt||t in e)||j(e,t,n)}function H(e,t){for(var n=e.length;n--;)if(Ue(e[n][0],t))return n;return-1}function B(e,t,n,r){return Li(e,function(e,i,s){t(r,e,n(e),s)}),r}function j(e,t,n){"__proto__"==t&&ni?ni(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function F(e,t,n,r,i,o){var u,a=t&xt,f=t&Tt,l=t&Nt;if(n&&(u=i?n(e,r,i,o):n(e)),u!==yt)return u;if(!$e(e))return e;var c=$i(e);if(c){if(u=(function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&qr.call(e,"index")&&(n.index=e.index,n.input=e.input),n})(e),!a)return de(e,u)}else{var h=Pi(e),p=h==zt||h==Wt;if(Ji(e))return le(e,a);if(h==Jt||h==jt||p&&!i){if(u=f||p?{}:Te(e),!a)return f?(function(e,t){return ve(e,Di(e),t)})(e,(function(e,t){return e&&ve(t,ot(t),e)})(u,e)):(function(e,t){return ve(e,_i(e),t)})(e,(function(e,t){return e&&ve(t,st(t),e)})(u,e))}else{if(!gr[h])return i?e:{};u=(function(e,t,n){var r=e.constructor;switch(t){case rn:return ce(e);case qt:case Rt:return new r(+e);case sn:return(function(e,t){return new e.constructor(t?ce(e.buffer):e.buffer,e.byteOffset,e.byteLength)})(e,n);case on:case un:case an:case fn:case ln:case cn:case hn:case pn:case dn:return he(e,n);case Xt:return new r;case Vt:case Zt:return new r(e);case Gt:return(function(e){var t=new e.constructor(e.source,Ln.exec(e));return t.lastIndex=e.lastIndex,t})(e);case Yt:return new r;case en:return(function(e){return Ni?Object(Ni.call(e)):{}})(e)}})(e,h,a)}}o||(o=new M);var d=o.get(e);if(d)return d;o.set(e,u),Gi(e)?e.forEach(function(r){u.add(F(r,t,n,r,e,o))}):Ki(e)&&e.forEach(function(r,i){u.set(i,F(r,t,n,i,e,o))});var v=c?yt:(l?f?be:ye:f?ot:st)(e);return s(v||e,function(r,i){v&&(r=e[i=r]),P(u,i,F(r,t,n,i,e,o))}),u}function I(e,t,n,r){var i=-1,s=o,f=!0,l=e.length,c=[],h=t.length;if(!l)return c;n&&(t=a(t,g(n))),r?(s=u,f=!1):t.length>=bt&&(s=y,f=!1,t=new O(t));e:for(;++i<l;){var p=e[i],d=null==n?p:n(p);if(p=r||0!==p?p:0,f&&d==d){for(var v=h;v--;)if(t[v]===d)continue e;c.push(p)}else s(t,d,r)||c.push(p)}return c}function q(e,t,n,r,i){var s=-1,o=e.length;for(n||(n=Ne),i||(i=[]);++s<o;){var u=e[s];t>0&&n(u)?t>1?q(u,t-1,n,r,i):f(i,u):r||(i[i.length]=u)}return i}function R(e,t){return e&&Ai(e,t,st)}function U(e,t){for(var n=0,r=(t=ae(t,e)).length;null!=e&&n<r;)e=e[Pe(t[n++])];return n&&n==r?e:yt}function z(e,t,n){var r=t(e);return $i(e)?r:f(r,n(e))}function W(e){return null==e?e===yt?tn:$t:ti&&ti in Object(e)?(function(e){var t=qr.call(e,ti),n=e[ti];try{e[ti]=yt;var r=!0}catch(e){}var i=Ur.call(e);return r&&(t?e[ti]=n:delete e[ti]),i})(e):(function(e){return Ur.call(e)})(e)}function X(e,t){return null!=e&&qr.call(e,t)}function V(e,t){return null!=e&&t in Object(e)}function $(e){return Je(e)&&W(e)==jt}function J(e,t,n,r,i){return e===t||(null==e||null==t||!Je(e)&&!Je(t)?e!=e&&t!=t:(function(e,t,n,r,i,s){var o=$i(e),u=$i(t),a=o?Ft:Pi(e),f=u?Ft:Pi(t),l=(a=a==jt?Jt:a)==Jt,c=(f=f==jt?Jt:f)==Jt,h=a==f;if(h&&Ji(e)){if(!Ji(t))return!1;o=!0,l=!1}if(h&&!l)return s||(s=new M),o||Yi(e)?ge(e,t,n,r,i,s):(function(e,t,n,r,i,s,o){switch(n){case sn:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case rn:return!(e.byteLength!=t.byteLength||!s(new $r(e),new $r(t)));case qt:case Rt:case Vt:return Ue(+e,+t);case Ut:return e.name==t.name&&e.message==t.message;case Gt:case Zt:return e==t+"";case Xt:var u=w;case Yt:var a=r&Ct;if(u||(u=S),e.size!=t.size&&!a)return!1;var f=o.get(e);if(f)return f==t;r|=kt,o.set(e,t);var l=ge(u(e),u(t),r,i,s,o);return o.delete(e),l;case en:if(Ni)return Ni.call(e)==Ni.call(t)}return!1})(e,t,a,n,r,i,s);if(!(n&Ct)){var p=l&&qr.call(e,"__wrapped__"),d=c&&qr.call(t,"__wrapped__");if(p||d){var v=p?e.value():e,m=d?t.value():t;return s||(s=new M),i(v,m,n,r,s)}}return!!h&&(s||(s=new M),(function(e,t,n,r,i,s){var o=n&Ct,u=ye(e),a=u.length;if(a!=ye(t).length&&!o)return!1;for(var f=a;f--;){var l=u[f];if(!(o?l in t:qr.call(t,l)))return!1}var c=s.get(e),h=s.get(t);if(c&&h)return c==t&&h==e;var p=!0;s.set(e,t),s.set(t,e);for(var d=o;++f<a;){l=u[f];var v=e[l],m=t[l];if(r)var g=o?r(m,v,l,t,e,s):r(v,m,l,e,t,s);if(!(g===yt?v===m||i(v,m,n,r,s):g)){p=!1;break}d||(d="constructor"==l)}if(p&&!d){var y=e.constructor,b=t.constructor;y!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof b&&b instanceof b)&&(p=!1)}return s.delete(e),s.delete(t),p})(e,t,n,r,i,s))})(e,t,n,r,J,i))}function K(e){return!(!$e(e)||(function(e){return!!Rr&&Rr in e})(e))&&(Xe(e)?Wr:Mn).test(He(e))}function Q(e){return"function"==typeof e?e:null==e?ht:"object"==typeof e?$i(e)?(function(e,t){return Le(e)&&Oe(t)?Me(Pe(e),t):function(n){var r=rt(n,e);return r===yt&&r===t?it(n,e):J(t,r,Ct|kt)}})(e[0],e[1]):(function(e){var t=(function(e){for(var t=st(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Oe(i)]}return t})(e);return 1==t.length&&t[0][2]?Me(t[0][0],t[0][1]):function(n){return n===e||(function(e,t,n,r){var i=n.length,s=i,o=!r;if(null==e)return!s;for(e=Object(e);i--;){var u=n[i];if(o&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++i<s;){var a=(u=n[i])[0],f=e[a],l=u[1];if(o&&u[2]){if(f===yt&&!(a in e))return!1}else{var c=new M;if(r)var h=r(f,l,a,e,t,c);if(!(h===yt?J(l,f,Ct|kt,r,c):h))return!1}}return!0})(n,e,t)}})(e):vt(e)}function G(e){if(!Ae(e))return ai(e);var t=[];for(var n in Object(e))qr.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Y(e){if(!$e(e))return(function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t})(e);var t=Ae(e),n=[];for(var r in e)("constructor"!=r||!t&&qr.call(e,r))&&n.push(r);return n}function Z(e,t,n,r,i){e!==t&&Ai(t,function(s,o){if(i||(i=new M),$e(s))(function(e,t,n,r,i,s,o){var u=De(e,n),a=De(t,n),f=o.get(a);if(f)return D(e,n,f),yt;var l=s?s(u,a,n+"",e,t,o):yt,c=l===yt;if(c){var h=$i(a),p=!h&&Ji(a),d=!h&&!p&&Yi(a);l=a,h||p||d?$i(u)?l=u:We(u)?l=de(u):p?(c=!1,l=le(a,!0)):d?(c=!1,l=he(a,!0)):l=[]:Ke(a)||Vi(a)?(l=u,Vi(u)?l=tt(u):$e(u)&&!Xe(u)||(l=Te(a))):c=!1}c&&(o.set(a,l),i(l,a,r,s,o),o.delete(a)),D(e,n,l)})(e,t,o,n,Z,r,i);else{var u=r?r(De(e,o),s,o+"",e,t,i):yt;u===yt&&(u=s),D(e,o,u)}},ot)}function ee(e,t,n){t=t.length?a(t,function(e){return $i(e)?function(t){return U(t,1===e.length?e[0]:e)}:e}):[ht];var r=-1;return t=a(t,g(we())),(function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].c;return e})((function(e,t){var n=-1,r=ze(e)?Array(e.length):[];return Li(e,function(e,i,s){r[++n]=t(e,i,s)}),r})(e,function(e,n,i){return{a:a(t,function(t){return t(e)}),b:++r,c:e}}),function(e,t){return(function(e,t,n){for(var r=-1,i=e.a,s=t.a,o=i.length,u=n.length;++r<o;){var a=pe(i[r],s[r]);if(a)return r>=u?a:a*("desc"==n[r]?-1:1)}return e.b-t.b})(e,t,n)})}function te(e,t){return Hi(_e(e,t,ht),e+"")}function ne(e,t,n,r){if(!$e(e))return e;for(var i=-1,s=(t=ae(t,e)).length,o=s-1,u=e;null!=u&&++i<s;){var a=Pe(t[i]),f=n;if("__proto__"===a||"constructor"===a||"prototype"===a)return e;if(i!=o){var l=u[a];(f=r?r(l,a,u):yt)===yt&&(f=$e(l)?l:Ce(t[i+1])?[]:{})}P(u,a,f),u=u[a]}return e}function re(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var s=Array(i);++r<i;)s[r]=e[r+t];return s}function ie(e){if("string"==typeof e)return e;if($i(e))return a(e,ie)+"";if(Ge(e))return Ci?Ci.call(e):"";var t=e+"";return"0"==t&&1/e==-_t?"-0":t}function se(e,t,n){var r=-1,i=o,s=e.length,a=!0,f=[],l=f;if(n)a=!1,i=u;else if(s>=bt){var c=t?null:Mi(e);if(c)return S(c);a=!1,i=y,l=new O}else l=t?[]:f;e:for(;++r<s;){var h=e[r],p=t?t(h):h;if(h=n||0!==h?h:0,a&&p==p){for(var d=l.length;d--;)if(l[d]===p)continue e;t&&l.push(p),f.push(h)}else i(l,p,n)||(l!==f&&l.push(p),f.push(h))}return f}function oe(e,t){return null==(e=(function(e,t){return t.length<2?e:U(e,re(t,0,-1))})(e,t=ae(t,e)))||delete e[Pe(je(t))]}function ue(e){return We(e)?e:[]}function ae(e,t){return $i(e)?e:Le(e,t)?[e]:Bi(nt(e))}function fe(e,t,n){var r=e.length;return n=n===yt?r:n,!t&&n>=r?e:re(e,t,n)}function le(e,t){if(t)return e.slice();var n=e.length,r=Jr?Jr(n):new e.constructor(n);return e.copy(r),r}function ce(e){var t=new e.constructor(e.byteLength);return new $r(t).set(new $r(e)),t}function he(e,t){return new e.constructor(t?ce(e.buffer):e.buffer,e.byteOffset,e.length)}function pe(e,t){if(e!==t){var n=e!==yt,r=null===e,i=e==e,s=Ge(e),o=t!==yt,u=null===t,a=t==t,f=Ge(t);if(!u&&!f&&!s&&e>t||s&&o&&a&&!u&&!f||r&&o&&a||!n&&a||!i)return 1;if(!r&&!s&&!f&&e<t||f&&n&&i&&!r&&!s||u&&n&&i||!o&&i||!a)return-1}return 0}function de(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function ve(e,t,n,r){var i=!n;n||(n={});for(var s=-1,o=t.length;++s<o;){var u=t[s],a=r?r(n[u],e[u],u,n,e):yt;a===yt&&(a=e[u]),i?j(n,u,a):P(n,u,a)}return n}function me(e){return te(function(t,n){var r=-1,i=n.length,s=i>1?n[i-1]:yt,o=i>2?n[2]:yt;for(s=e.length>3&&"function"==typeof s?(i--,s):yt,o&&ke(n[0],n[1],o)&&(s=i<3?yt:s,i=1),t=Object(t);++r<i;){var u=n[r];u&&e(t,u,r,s)}return t})}function ge(e,t,n,r,i,s){var o=n&Ct,u=e.length,a=t.length;if(u!=a&&!(o&&a>u))return!1;var f=s.get(e),c=s.get(t);if(f&&c)return f==t&&c==e;var h=-1,p=!0,d=n&kt?new O:yt;for(s.set(e,t),s.set(t,e);++h<u;){var v=e[h],m=t[h];if(r)var g=o?r(m,v,h,t,e,s):r(v,m,h,e,t,s);if(g!==yt){if(g)continue;p=!1;break}if(d){if(!l(t,function(e,t){if(!y(d,t)&&(v===e||i(v,e,n,r,s)))return d.push(t)})){p=!1;break}}else if(v!==m&&!i(v,m,n,r,s)){p=!1;break}}return s.delete(e),s.delete(t),p}function ye(e){return z(e,st,_i)}function be(e){return z(e,ot,Di)}function we(){var e=C.iteratee||pt;return e=e===pt?Q:e,arguments.length?e(arguments[0],arguments[1]):e}function Ee(e,t){var n=e.__data__;return(function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e})(t)?n["string"==typeof t?"string":"hash"]:n.map}function Se(e,t){var n=(function(e,t){return null==e?yt:e[t]})(e,t);return K(n)?n:yt}function xe(e,t,n){for(var r=-1,i=(t=ae(t,e)).length,s=!1;++r<i;){var o=Pe(t[r]);if(!(s=null!=e&&n(e,o)))break;e=e[o]}return s||++r!=i?s:!!(i=null==e?0:e.length)&&Ve(i)&&Ce(o,i)&&($i(e)||Vi(e))}function Te(e){return"function"!=typeof e.constructor||Ae(e)?{}:ki(Kr(e))}function Ne(e){return $i(e)||Vi(e)||!!(Zr&&e&&e[Zr])}function Ce(e,t){var n=typeof e;return!!(t=null==t?Dt:t)&&("number"==n||"symbol"!=n&&Dn.test(e))&&e>-1&&e%1==0&&e<t}function ke(e,t,n){if(!$e(n))return!1;var r=typeof t;return!!("number"==r?ze(n)&&Ce(t,n.length):"string"==r&&t in n)&&Ue(n[t],e)}function Le(e,t){if($i(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ge(e))||wn.test(e)||!bn.test(e)||null!=t&&e in Object(t)}function Ae(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||jr)}function Oe(e){return e==e&&!$e(e)}function Me(e,t){return function(n){return null!=n&&n[e]===t&&(t!==yt||e in Object(n))}}function _e(e,t,n){return t=fi(t===yt?e.length-1:t,0),function(){for(var i=arguments,s=-1,o=fi(i.length-t,0),u=Array(o);++s<o;)u[s]=i[t+s];s=-1;for(var a=Array(t+1);++s<t;)a[s]=i[s];return a[t]=n(u),r(e,this,a)}}function De(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}function Pe(e){if("string"==typeof e||Ge(e))return e;var t=e+"";return"0"==t&&1/e==-_t?"-0":t}function He(e){if(null!=e){try{return Ir.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Be(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Ze(n);return i<0&&(i=fi(r+i,0)),c(e,we(t,3),i)}function je(e){var t=null==e?0:e.length;return t?e[t-1]:yt}function Fe(e,t){return($i(e)?s:Li)(e,we(t,3))}function Ie(e,t){var n;if("function"!=typeof t)throw new TypeError(wt);return e=Ze(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=yt),n}}function qe(e,t,n){function r(t){var n=f,r=l;return f=l=yt,v=t,h=e.apply(r,n)}function i(e){return v=e,p=setTimeout(o,t),m?r(e):h}function s(e){var n=e-d;return d===yt||n>=t||n<0||g&&e-v>=c}function o(){var e=Xi();return s(e)?u(e):(p=setTimeout(o,(function(e){var n=t-(e-d);return g?li(n,c-(e-v)):n})(e)),yt)}function u(e){return p=yt,y&&f?r(e):(f=l=yt,h)}function a(){var e=Xi(),n=s(e);if(f=arguments,l=this,d=e,n){if(p===yt)return i(d);if(g)return clearTimeout(p),p=setTimeout(o,t),r(d)}return p===yt&&(p=setTimeout(o,t)),h}var f,l,c,h,p,d,v=0,m=!1,g=!1,y=!0;if("function"!=typeof e)throw new TypeError(wt);return t=et(t)||0,$e(n)&&(m=!!n.leading,c=(g="maxWait"in n)?fi(et(n.maxWait)||0,t):c,y="trailing"in n?!!n.trailing:y),a.cancel=function(){p!==yt&&clearTimeout(p),v=0,f=d=l=p=yt},a.flush=function(){return p===yt?h:u(Xi())},a}function Re(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(wt);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],s=n.cache;if(s.has(i))return s.get(i);var o=e.apply(this,r);return n.cache=s.set(i,o)||s,o};return n.cache=new(Re.Cache||A),n}function Ue(e,t){return e===t||e!=e&&t!=t}function ze(e){return null!=e&&Ve(e.length)&&!Xe(e)}function We(e){return Je(e)&&ze(e)}function Xe(e){if(!$e(e))return!1;var t=W(e);return t==zt||t==Wt||t==It||t==Qt}function Ve(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Dt}function $e(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Je(e){return null!=e&&"object"==typeof e}function Ke(e){if(!Je(e)||W(e)!=Jt)return!1;var t=Kr(e);if(null===t)return!0;var n=qr.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ir.call(n)==zr}function Qe(e){return"string"==typeof e||!$i(e)&&Je(e)&&W(e)==Zt}function Ge(e){return"symbol"==typeof e||Je(e)&&W(e)==en}function Ye(e){return e?(e=et(e))===_t||e===-_t?(e<0?-1:1)*Pt:e==e?e:0:0===e?e:0}function Ze(e){var t=Ye(e),n=t%1;return t==t?n?t-n:t:0}function et(e){if("number"==typeof e)return e;if(Ge(e))return Ht;if($e(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=$e(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=(function(e){return e?e.slice(0,N(e)+1).replace(Tn,""):e})(e);var n=On.test(e);return n||_n.test(e)?br(e.slice(2),n?2:8):An.test(e)?Ht:+e}function tt(e){return ve(e,ot(e))}function nt(e){return null==e?"":ie(e)}function rt(e,t,n){var r=null==e?yt:U(e,t);return r===yt?n:r}function it(e,t){return null!=e&&xe(e,t,V)}function st(e){return ze(e)?_(e):G(e)}function ot(e){return ze(e)?_(e,!0):Y(e)}function ut(e){return null==e?[]:(function(e,t){return a(t,function(t){return e[t]})})(e,st(e))}function at(e){return ss(nt(e).toLowerCase())}function ft(e){return(e=nt(e))&&e.replace(Pn,_r).replace(cr,"")}function lt(e,t,n){return e=nt(e),(t=n?yt:t)===yt?(function(e){return vr.test(e)})(e)?(function(e){return e.match(pr)||[]})(e):(function(e){return e.match(Cn)||[]})(e):e.match(t)||[]}function ct(e){return function(){return e}}function ht(e){return e}function pt(e){return Q("function"==typeof e?e:F(e,xt))}function dt(){}function vt(e){return Le(e)?d(Pe(e)):(function(e){return function(t){return U(t,e)}})(e)}function mt(){return[]}function gt(){return!1}var yt,bt=200,wt="Expected a function",Et="__lodash_hash_undefined__",St=500,xt=1,Tt=2,Nt=4,Ct=1,kt=2,Lt=30,At="...",Ot=800,Mt=16,_t=1/0,Dt=9007199254740991,Pt=17976931348623157e292,Ht=NaN,Bt=4294967295,jt="[object Arguments]",Ft="[object Array]",It="[object AsyncFunction]",qt="[object Boolean]",Rt="[object Date]",Ut="[object Error]",zt="[object Function]",Wt="[object GeneratorFunction]",Xt="[object Map]",Vt="[object Number]",$t="[object Null]",Jt="[object Object]",Kt="[object Promise]",Qt="[object Proxy]",Gt="[object RegExp]",Yt="[object Set]",Zt="[object String]",en="[object Symbol]",tn="[object Undefined]",nn="[object WeakMap]",rn="[object ArrayBuffer]",sn="[object DataView]",on="[object Float32Array]",un="[object Float64Array]",an="[object Int8Array]",fn="[object Int16Array]",ln="[object Int32Array]",cn="[object Uint8Array]",hn="[object Uint8ClampedArray]",pn="[object Uint16Array]",dn="[object Uint32Array]",vn=/&(?:amp|lt|gt|quot|#39);/g,mn=/[&<>"']/g,gn=RegExp(vn.source),yn=RegExp(mn.source),bn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wn=/^\w*$/,En=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Sn=/[\\^$.*+?()[\]{}|]/g,xn=RegExp(Sn.source),Tn=/^\s+/,Nn=/\s/,Cn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,kn=/\\(\\)?/g,Ln=/\w*$/,An=/^[-+]0x[0-9a-f]+$/i,On=/^0b[01]+$/i,Mn=/^\[object .+?Constructor\]$/,_n=/^0o[0-7]+$/i,Dn=/^(?:0|[1-9]\d*)$/,Pn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Hn="\\ud800-\\udfff",Bn="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",jn="\\u2700-\\u27bf",Fn="a-z\\xdf-\\xf6\\xf8-\\xff",In="A-Z\\xc0-\\xd6\\xd8-\\xde",qn="\\ufe0e\\ufe0f",Rn="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Un="['’]",zn="["+Hn+"]",Wn="["+Rn+"]",Xn="["+Bn+"]",Vn="\\d+",$n="["+jn+"]",Jn="["+Fn+"]",Kn="[^"+Hn+Rn+Vn+jn+Fn+In+"]",Qn="\\ud83c[\\udffb-\\udfff]",Gn="[^"+Hn+"]",Yn="(?:\\ud83c[\\udde6-\\uddff]){2}",Zn="[\\ud800-\\udbff][\\udc00-\\udfff]",er="["+In+"]",tr="(?:"+Jn+"|"+Kn+")",nr="(?:"+er+"|"+Kn+")",rr="(?:['’](?:d|ll|m|re|s|t|ve))?",ir="(?:['’](?:D|LL|M|RE|S|T|VE))?",sr="(?:"+Xn+"|"+Qn+")"+"?",or="["+qn+"]?",ur=or+sr+("(?:\\u200d(?:"+[Gn,Yn,Zn].join("|")+")"+or+sr+")*"),ar="(?:"+[$n,Yn,Zn].join("|")+")"+ur,fr="(?:"+[Gn+Xn+"?",Xn,Yn,Zn,zn].join("|")+")",lr=RegExp(Un,"g"),cr=RegExp(Xn,"g"),hr=RegExp(Qn+"(?="+Qn+")|"+fr+ur,"g"),pr=RegExp([er+"?"+Jn+"+"+rr+"(?="+[Wn,er,"$"].join("|")+")",nr+"+"+ir+"(?="+[Wn,er+tr,"$"].join("|")+")",er+"?"+tr+"+"+rr,er+"+"+ir,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Vn,ar].join("|"),"g"),dr=RegExp("[\\u200d"+Hn+Bn+qn+"]"),vr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,mr={};mr[on]=mr[un]=mr[an]=mr[fn]=mr[ln]=mr[cn]=mr[hn]=mr[pn]=mr[dn]=!0,mr[jt]=mr[Ft]=mr[rn]=mr[qt]=mr[sn]=mr[Rt]=mr[Ut]=mr[zt]=mr[Xt]=mr[Vt]=mr[Jt]=mr[Gt]=mr[Yt]=mr[Zt]=mr[nn]=!1;var gr={};gr[jt]=gr[Ft]=gr[rn]=gr[sn]=gr[qt]=gr[Rt]=gr[on]=gr[un]=gr[an]=gr[fn]=gr[ln]=gr[Xt]=gr[Vt]=gr[Jt]=gr[Gt]=gr[Yt]=gr[Zt]=gr[en]=gr[cn]=gr[hn]=gr[pn]=gr[dn]=!0,gr[Ut]=gr[zt]=gr[nn]=!1;var yr=parseFloat,br=parseInt,wr="object"==typeof e&&e&&e.Object===Object&&e,Er="object"==typeof self&&self&&self.Object===Object&&self,Sr=wr||Er||Function("return this")(),xr=t&&!t.nodeType&&t,Tr=xr&&"object"==typeof n&&n&&!n.nodeType&&n,Nr=(us=Tr&&Tr.exports===xr)&&wr.process,Cr=(function(){try{var e=Tr&&Tr.require&&Tr.require("util").types;return e||Nr&&Nr.binding&&Nr.binding("util")}catch(e){}})(),kr=Cr&&Cr.isMap,Lr=Cr&&Cr.isRegExp,Ar=Cr&&Cr.isSet,Or=Cr&&Cr.isTypedArray,Mr=d("length"),_r=v({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Dr=v({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),Pr=v({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),Hr=Array.prototype,Br=Function.prototype,jr=Object.prototype,Fr=Sr["__core-js_shared__"],Ir=Br.toString,qr=jr.hasOwnProperty,Rr=(function(){var e=/[^.]+$/.exec(Fr&&Fr.keys&&Fr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})(),Ur=jr.toString,zr=Ir.call(Object),Wr=RegExp("^"+Ir.call(qr).replace(Sn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Xr=us?Sr.Buffer:yt,Vr=Sr.Symbol,$r=Sr.Uint8Array,Jr=Xr?Xr.allocUnsafe:yt,Kr=E(Object.getPrototypeOf,Object),Qr=Object.create,Gr=jr.propertyIsEnumerable,Yr=Hr.splice,Zr=Vr?Vr.isConcatSpreadable:yt,ei=Vr?Vr.iterator:yt,ti=Vr?Vr.toStringTag:yt,ni=(function(){try{var e=Se(Object,"defineProperty");return e({},"",{}),e}catch(e){}})(),ri=Math.ceil,ii=Math.floor,si=Object.getOwnPropertySymbols,oi=Xr?Xr.isBuffer:yt,ui=Sr.isFinite,ai=E(Object.keys,Object),fi=Math.max,li=Math.min,ci=Date.now,hi=Math.random,pi=Se(Sr,"DataView"),di=Se(Sr,"Map"),vi=Se(Sr,"Promise"),mi=Se(Sr,"Set"),gi=Se(Sr,"WeakMap"),yi=Se(Object,"create"),bi=He(pi),wi=He(di),Ei=He(vi),Si=He(mi),xi=He(gi),Ti=Vr?Vr.prototype:yt,Ni=Ti?Ti.valueOf:yt,Ci=Ti?Ti.toString:yt,ki=(function(){function e(){}return function(t){if(!$e(t))return{};if(Qr)return Qr(t);e.prototype=t;var n=new e;return e.prototype=yt,n}})();k.prototype.clear=function(){this.__data__=yi?yi(null):{},this.size=0},k.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},k.prototype.get=function(e){var t=this.__data__;if(yi){var n=t[e];return n===Et?yt:n}return qr.call(t,e)?t[e]:yt},k.prototype.has=function(e){var t=this.__data__;return yi?t[e]!==yt:qr.call(t,e)},k.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=yi&&t===yt?Et:t,this},L.prototype.clear=function(){this.__data__=[],this.size=0},L.prototype.delete=function(e){var t=this.__data__,n=H(t,e);return!(n<0||(n==t.length-1?t.pop():Yr.call(t,n,1),--this.size,0))},L.prototype.get=function(e){var t=this.__data__,n=H(t,e);return n<0?yt:t[n][1]},L.prototype.has=function(e){return H(this.__data__,e)>-1},L.prototype.set=function(e,t){var n=this.__data__,r=H(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},A.prototype.clear=function(){this.size=0,this.__data__={hash:new k,map:new(di||L),string:new k}},A.prototype.delete=function(e){var t=Ee(this,e).delete(e);return this.size-=t?1:0,t},A.prototype.get=function(e){return Ee(this,e).get(e)},A.prototype.has=function(e){return Ee(this,e).has(e)},A.prototype.set=function(e,t){var n=Ee(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},O.prototype.add=O.prototype.push=function(e){return this.__data__.set(e,Et),this},O.prototype.has=function(e){return this.__data__.has(e)},M.prototype.clear=function(){this.__data__=new L,this.size=0},M.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},M.prototype.get=function(e){return this.__data__.get(e)},M.prototype.has=function(e){return this.__data__.has(e)},M.prototype.set=function(e,t){var n=this.__data__;if(n instanceof L){var r=n.__data__;if(!di||r.length<bt-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new A(r)}return n.set(e,t),this.size=n.size,this};var Li=(function(e,t){return function(n,r){if(null==n)return n;if(!ze(n))return e(n,r);for(var i=n.length,s=t?i:-1,o=Object(n);(t?s--:++s<i)&&!1!==r(o[s],s,o););return n}})(R),Ai=(function(e){return function(t,n,r){for(var i=-1,s=Object(t),o=r(t),u=o.length;u--;){var a=o[e?u:++i];if(!1===n(s[a],a,s))break}return t}})(),Oi=ni?function(e,t){return ni(e,"toString",{configurable:!0,enumerable:!1,value:ct(t),writable:!0})}:ht,Mi=mi&&1/S(new mi([,-0]))[1]==_t?function(e){return new mi(e)}:dt,_i=si?function(e){return null==e?[]:(e=Object(e),(function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,s=[];++n<r;){var o=e[n];t(o,n,e)&&(s[i++]=o)}return s})(si(e),function(t){return Gr.call(e,t)}))}:mt,Di=si?function(e){for(var t=[];e;)f(t,_i(e)),e=Kr(e);return t}:mt,Pi=W;(pi&&Pi(new pi(new ArrayBuffer(1)))!=sn||di&&Pi(new di)!=Xt||vi&&Pi(vi.resolve())!=Kt||mi&&Pi(new mi)!=Yt||gi&&Pi(new gi)!=nn)&&(Pi=function(e){var t=W(e),n=t==Jt?e.constructor:yt,r=n?He(n):"";if(r)switch(r){case bi:return sn;case wi:return Xt;case Ei:return Kt;case Si:return Yt;case xi:return nn}return t});var Hi=(function(e){var t=0,n=0;return function(){var r=ci(),i=Mt-(r-n);if(n=r,i>0){if(++t>=Ot)return arguments[0]}else t=0;return e.apply(yt,arguments)}})(Oi),Bi=(function(e){var t=Re(e,function(e){return n.size===St&&n.clear(),e}),n=t.cache;return t})(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(En,function(e,n,r,i){t.push(r?i.replace(kn,"$1"):n||e)}),t}),ji=te(function(e,t){return We(e)?I(e,q(t,1,We,!0)):[]}),Fi=te(function(e,t){var n=je(t);return We(n)&&(n=yt),We(e)?I(e,q(t,1,We,!0),we(n,2)):[]}),Ii=te(function(e,t){var n=je(t);return We(n)&&(n=yt),We(e)?I(e,q(t,1,We,!0),yt,n):[]}),qi=te(function(e){var t=a(e,ue);return t.length&&t[0]===e[0]?(function(e,t,n){for(var r=n?u:o,i=e[0].length,s=e.length,f=s,l=Array(s),c=1/0,h=[];f--;){var p=e[f];f&&t&&(p=a(p,g(t))),c=li(p.length,c),l[f]=!n&&(t||i>=120&&p.length>=120)?new O(f&&p):yt}p=e[0];var d=-1,v=l[0];e:for(;++d<i&&h.length<c;){var m=p[d],b=t?t(m):m;if(m=n||0!==m?m:0,!(v?y(v,b):r(h,b,n))){for(f=s;--f;){var w=l[f];if(!(w?y(w,b):r(e[f],b,n)))continue e}v&&v.push(b),h.push(m)}}return h})(t):[]}),Ri=te(function(e,t){return We(e)?I(e,t):[]}),Ui=(function(e){return function(t,n,r){var i=Object(t);if(!ze(t)){var s=we(n,3);t=st(t),n=function(e){return s(i[e],e,i)}}var o=e(t,n,r);return o>-1?i[s?t[o]:o]:yt}})(Be),zi=(function(e,t){return function(n,r){var s=$i(n)?i:B,o=t?t():{};return s(n,e,we(r,2),o)}})(function(e,t,n){qr.call(e,n)?e[n].push(t):j(e,n,[t])}),Wi=te(function(e,t){if(null==e)return[];var n=t.length;return n>1&&ke(e,t[0],t[1])?t=[]:n>2&&ke(t[0],t[1],t[2])&&(t=[t[0]]),ee(e,q(t,1),[])}),Xi=function(){return Sr.Date.now()};Re.Cache=A;var Vi=$((function(){return arguments})())?$:function(e){return Je(e)&&qr.call(e,"callee")&&!Gr.call(e,"callee")},$i=Array.isArray,Ji=oi||gt,Ki=kr?g(kr):function(e){return Je(e)&&Pi(e)==Xt},Qi=Lr?g(Lr):function(e){return Je(e)&&W(e)==Gt},Gi=Ar?g(Ar):function(e){return Je(e)&&Pi(e)==Yt},Yi=Or?g(Or):function(e){return Je(e)&&Ve(e.length)&&!!mr[W(e)]},Zi=me(function(e,t){if(Ae(t)||ze(t))return ve(t,st(t),e),yt;for(var n in t)qr.call(t,n)&&P(e,n,t[n])}),es=me(function(e,t){ve(t,ot(t),e)}),ts=(function(e,t){return function(n,r){return(function(e,t,n,r){return R(e,function(e,i,s){t(r,n(e),i,s)}),r})(n,e,t(r),{})}})(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ur.call(t)),e[t]=n},ct(ht)),ns=me(function(e,t,n){Z(e,t,n)}),rs=(function(e){return function(t){var n=Pi(t);return n==Xt?w(t):n==Yt?(function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n})(t):(function(e,t){return a(t,function(t){return[t,e[t]]})})(t,e(t))}})(st),is=(function(e){return function(t){return(function(e,t,n,r){var i=-1,s=null==e?0:e.length;for(r&&s&&(n=e[++i]);++i<s;)n=t(n,e[i],i,e);return n})(lt(ft(t).replace(lr,"")),e,"")}})(function(e,t,n){return t=t.toLowerCase(),e+(n?at(t):t)}),ss=(function(e){return function(t){var n=b(t=nt(t))?T(t):yt,r=n?n[0]:t.charAt(0),i=n?fe(n,1).join(""):t.slice(1);return r[e]()+i}})("toUpperCase"),os=(function(e){var t=Math[e];return function(e,n){if(e=et(e),(n=null==n?0:li(Ze(n),292))&&ui(e)){var r=(nt(e)+"e").split("e");return+((r=(nt(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}})("round");C.assign=Zi,C.assignIn=es,C.before=Ie,C.chunk=function(e,t,n){t=(n?ke(e,t,n):t===yt)?1:fi(Ze(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var i=0,s=0,o=Array(ri(r/t));i<r;)o[s++]=re(e,i,i+=t);return o},C.constant=ct,C.debounce=qe,C.difference=ji,C.differenceBy=Fi,C.differenceWith=Ii,C.flatten=function(e){return null!=e&&e.length?q(e,1):[]},C.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},C.groupBy=zi,C.intersection=qi,C.invert=ts,C.iteratee=pt,C.keys=st,C.keysIn=ot,C.memoize=Re,C.merge=ns,C.once=function(e){return Ie(2,e)},C.property=vt,C.set=function(e,t,n){return null==e?e:ne(e,t,n)},C.sortBy=Wi,C.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new TypeError(wt);return $e(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),qe(e,t,{leading:r,maxWait:t,trailing:i})},C.toArray=function(e){if(!e)return[];if(ze(e))return Qe(e)?T(e):de(e);if(ei&&e[ei])return(function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n})(e[ei]());var t=Pi(e);return(t==Xt?w:t==Yt?S:ut)(e)},C.toPairs=rs,C.toPlainObject=tt,C.uniq=function(e){return e&&e.length?se(e):[]},C.uniqBy=function(e,t){return e&&e.length?se(e,we(t,2)):[]},C.unset=function(e,t){return null==e||oe(e,t)},C.update=function(e,t,n){return null==e?e:(function(e,t,n,r){return ne(e,t,n(U(e,t)),r)})(e,t,(function(e){return"function"==typeof e?e:ht})(n))},C.values=ut,C.without=Ri,C.words=lt,C.entries=rs,C.extend=es,C.camelCase=is,C.capitalize=at,C.clone=function(e){return F(e,Nt)},C.cloneDeep=function(e){return F(e,xt|Nt)},C.cloneDeepWith=function(e,t){return F(e,xt|Nt,t="function"==typeof t?t:yt)},C.deburr=ft,C.eq=Ue,C.escape=function(e){return(e=nt(e))&&yn.test(e)?e.replace(mn,Dr):e},C.escapeRegExp=function(e){return(e=nt(e))&&xn.test(e)?e.replace(Sn,"\\$&"):e},C.find=Ui,C.findIndex=Be,C.findKey=function(e,t){return(function(e,t,n){var r;return n(e,function(e,n,i){if(t(e,n,i))return r=n,!1}),r})(e,we(t,3),R)},C.forEach=Fe,C.forIn=function(e,t){return null==e?e:Ai(e,we(t,3),ot)},C.get=rt,C.has=function(e,t){return null!=e&&xe(e,t,X)},C.hasIn=it,C.identity=ht,C.isArguments=Vi,C.isArray=$i,C.isArrayLike=ze,C.isArrayLikeObject=We,C.isBuffer=Ji,C.isElement=function(e){return Je(e)&&1===e.nodeType&&!Ke(e)},C.isEmpty=function(e){if(null==e)return!0;if(ze(e)&&($i(e)||"string"==typeof e||"function"==typeof e.splice||Ji(e)||Yi(e)||Vi(e)))return!e.length;var t=Pi(e);if(t==Xt||t==Yt)return!e.size;if(Ae(e))return!G(e).length;for(var n in e)if(qr.call(e,n))return!1;return!0},C.isEqual=function(e,t){return J(e,t)},C.isFunction=Xe,C.isLength=Ve,C.isMap=Ki,C.isObject=$e,C.isObjectLike=Je,C.isPlainObject=Ke,C.isRegExp=Qi,C.isSet=Gi,C.isString=Qe,C.isSymbol=Ge,C.isTypedArray=Yi,C.last=je,C.stubArray=mt,C.stubFalse=gt,C.noop=dt,C.now=Xi,C.random=function(e,t,n){if(n&&"boolean"!=typeof n&&ke(e,t,n)&&(t=n=yt),n===yt&&("boolean"==typeof t?(n=t,t=yt):"boolean"==typeof e&&(n=e,e=yt)),e===yt&&t===yt?(e=0,t=1):(e=Ye(e),t===yt?(t=e,e=0):t=Ye(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=hi();return li(e+i*(t-e+yr("1e-"+((i+"").length-1))),t)}return(function(e,t){return e+ii(hi()*(t-e+1))})(e,t)},C.round=os,C.sumBy=function(e,t){return e&&e.length?(function(e,t){for(var n,r=-1,i=e.length;++r<i;){var s=t(e[r]);s!==yt&&(n=n===yt?s:n+s)}return n})(e,we(t,2)):0},C.times=function(e,t){if((e=Ze(e))<1||e>Dt)return[];var n=Bt,r=li(e,Bt);t=we(t),e-=Bt;for(var i=m(r,t);++n<e;)t(n);return i},C.toFinite=Ye,C.toInteger=Ze,C.toNumber=et,C.toString=nt,C.trimEnd=function(e,t,n){if((e=nt(e))&&(n||t===yt))return e.slice(0,N(e)+1);if(!e||!(t=ie(t)))return e;var r=T(e);return fe(r,0,(function(e,t){for(var n=e.length;n--&&h(t,e[n],0)>-1;);return n})(r,T(t))+1).join("")},C.trimStart=function(e,t,n){if((e=nt(e))&&(n||t===yt))return e.replace(Tn,"");if(!e||!(t=ie(t)))return e;var r=T(e);return fe(r,(function(e,t){for(var n=-1,r=e.length;++n<r&&h(t,e[n],0)>-1;);return n})(r,T(t))).join("")},C.truncate=function(e,t){var n=Lt,r=At;if($e(t)){var i="separator"in t?t.separator:i;n="length"in t?Ze(t.length):n,r="omission"in t?ie(t.omission):r}var s=(e=nt(e)).length;if(b(e)){var o=T(e);s=o.length}if(n>=s)return e;var u=n-x(r);if(u<1)return r;var a=o?fe(o,0,u).join(""):e.slice(0,u);if(i===yt)return a+r;if(o&&(u+=a.length-u),Qi(i)){if(e.slice(u).search(i)){var f,l=a;for(i.global||(i=RegExp(i.source,nt(Ln.exec(i))+"g")),i.lastIndex=0;f=i.exec(l);)var c=f.index;a=a.slice(0,c===yt?u:c)}}else if(e.indexOf(ie(i),u)!=u){var h=a.lastIndexOf(i);h>-1&&(a=a.slice(0,h))}return a+r},C.unescape=function(e){return(e=nt(e))&&gn.test(e)?e.replace(vn,Pr):e},C.upperFirst=ss,C.each=Fe,C.VERSION="4.17.21";var us={};return C.each(Object.keys(C),function(e){us[e]=C[e]}),us})}).call(this,n(92),n(214)(e))},,function(e,t,n){"use strict";n.d(t,"e",function(){return r});n.d(t,"t",function(){return i});var r="data-portal-element";function i(e){e.setAttribute(r,"true")}},function(e,t,n){"use strict";n.d(t,"e",function(){return r});function r(e,t,n,r){e.addEventListener(t,n,r);return function(){return e.removeEventListener(t,n,r)}}},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SignOutSource=void 0;var r=(function(){function e(){}e.userGenerated=1;e.abtTimeout=2;return e})();t.SignOutSource=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.EnvConfig=void 0;var r=function(e,t,n){this.abtSvcHost=e;this.isAriaEnabled=t;this.enabled=n};t.EnvConfig=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.EventLevel=void 0;var r=(function(){function e(){}e.info="Info";e.warning="Warning";e.error="Error";return e})();t.EventLevel=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.LogAttributes=void 0;var r=(function(){function e(){}e.defaultLoggingNamespace="Office.WebAuth.Abt.";e.messageDataField="message";e.levelDataField="level";e.correlationIdDataField="correlationId";e.actionDataField="action";e.timeoutDataField="timeout";return e})();t.LogAttributes=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.UriSeparator=t.HttpMethod=t.UriScheme=t.UriFormats=void 0;var r=(function(){function e(){}e.abtSvc="/abt/userstate";e.abtSignOut="/odc/v1.0/abt/signout";return e})();t.UriFormats=r;var i=(function(){function e(){}e.http="http";e.https="https";return e})();t.UriScheme=i;var s=(function(){function e(){}e.get="GET";e.post="POST";return e})();t.HttpMethod=s;var o=(function(){function e(){}e.separator="://";return e})();t.UriSeparator=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.AbtRequestParams=void 0;var r=(function(){function e(){}e.userId="userid";e.market="rs";e.action="action";e.workload="workload";e.app="app";e.build="build";e.signInUrl="signInUrl";return e})();t.AbtRequestParams=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SignOutUtils=void 0;var r=n(107),i=n(157),s=n(94),o=n(108),u=n(138),a=n(139),f=n(162),l=n(161),c=n(137),h=n(47),p=n(106),d=n(109),v=n(142),m=n(64),g=n(58),y=n(141),b=n(39);(function(e){var t="SignOutUtils";function n(e,n,p){h.LoggingUtils.log("Start broadcasting sign out",t,"broadcast",b.Global.gAbtSkipAriaLog);r.RequestUtils.sendPostRequest(e,0,n,s.AbtActions.signOut,o.InFlightUtils.deleteItem);var d,v,m=p===i.SignOutSource.abtTimeout?u.AbtEvent.hostSignOut:u.AbtEvent.hostSignOutUserGenerated,g='{ "'+a.AbtEventProperty.eventId+'": "'+m+'", "'+a.AbtEventProperty.detail+'": { "'+a.AbtEventProperty.userId+'": "'+e+'", "'+a.AbtEventProperty.signOutPageUrl+'": "'+(d=f.AbtRequestParams.market+"="+b.Global.gAbtMarket+"&"+f.AbtRequestParams.app+"={0}&"+f.AbtRequestParams.build+"={1}&"+f.AbtRequestParams.signInUrl+"={2}",(l.UriScheme.https+l.UriSeparator.separator+c.AbtHost.abtSignOut+l.UriFormats.abtSignOut).concat("?",d))+'"} }';v=JSON.parse(g);var y=JSON.stringify(v);window.postMessage(y,window.location.origin);h.LoggingUtils.log("Signout triggered with post message",t,"broadcast",void 0,void 0,void 0,n);h.LoggingUtils.log(""+y,t,"broadcast",!0)}e.broadcast=n;function w(e){h.LoggingUtils.log("Check if user needs to be sign out.",t,"shouldSignOut",b.Global.gAbtSkipAriaLog);S(e)&&r.RequestUtils.sendGetRequest(e,s.AbtActions.shouldSignOut,E)}e.shouldSignOut=w;function E(e){var r="performSignOut";h.LoggingUtils.log("Start performing the sign out operation.",t,r,b.Global.gAbtSkipAriaLog);if(null!=e)if(null===e.error||void 0===e.error){if(!e.result)if(p.ActivityUtils.isActivityRecent(e.userId,e.timeSinceActivity)){h.LoggingUtils.log("Found activity reported on server. Updating local records.",t,r,b.Global.gAbtSkipAriaLog);p.ActivityUtils.extendLocalActivity(e.userId,e.timeSinceActivity);d.PromptUtils.startPromptChecks(e.userId);null!=window.AbtUI&&window.AbtUI.AbtHidePrompt()}else h.LoggingUtils.error("Not signing out user based on server data. Activity is not recent either.",t,r);if(e.respectResult){if(e.result){h.LoggingUtils.log("Signing out user.",t,r,b.Global.gAbtSkipAriaLog);x();n(e.userId,e.timeout,i.SignOutSource.abtTimeout)}}else h.LoggingUtils.log("RespectResult is set to 'false'. Not signing out. The result of sign out from server was '"+e.result+".'",t,r,b.Global.gAbtSkipAriaLog)}else h.LoggingUtils.error("Error found in the ABT service response. ErrorCode: '"+e.error.errorCode+"'. Not signing out.",t,r);else h.LoggingUtils.warn("WebResponse provided was null or undefined. Not signing out.",t,r)}function S(e){var n="shouldSignOutLocal";h.LoggingUtils.log("Check if user needs to be sign out from the browser without reaching to the server.",t,n,b.Global.gAbtSkipAriaLog);var r=m.LocalStorageUtils.convertActivitiesToRecords(m.LocalStorageUtils.getItemValue(g.AbtStorageId.abtActivity));if(null==r||null==r.records||void 0===r.records||r.records.length<=0){h.LoggingUtils.warn("Didn't get data from local activities item. No need to sign out the user: '"+e+"'.",t,n);return!1}for(var i=0,s=r.records;i<s.length;i++){var o=s[i];if(null!==o.userId&&void 0!==o.userId&&o.userId===e){var u=y.TimeUtils.addMinutes(o.activityDateTime,o.timeout);if(null==u)return!1;if(u.getTime()<(new Date).getTime()){h.LoggingUtils.log("Based on local data, we might need to sign out '"+e+"'.\n\t\t\t\t\t\t\tWe will call server before making that final. DateTime to sign out was '"+u.toUTCString()+" and Current time is '"+(new Date).toUTCString()+"'.\n\t\t\t\t\t\t\tTimeout value was: '"+o.timeout+"'.",t,n,b.Global.gAbtSkipAriaLog);return!0}h.LoggingUtils.log("No need to sign out '"+e+"'.\n\t\t\t\t\t\t\tDateTime to sign out was '"+u.toUTCString()+" and Current time is '"+(new Date).toUTCString()+"'.\n\t\t\t\t\t\t\tTimeout value was: '"+o.timeout+"'.",t,n,b.Global.gAbtSkipAriaLog);null!=window.AbtUI&&window.AbtUI.AbtHidePrompt();return!1}}return!1}e.shouldSignOutLocal=S;e.startSignOutChecks=function(e){if(!0!==b.Global.gAbtStartedSignOutChecks){d.PromptUtils.stopPromptChecks();x();b.Global.gAbtStartedSignOutChecks=!0;b.Global.gAbtSignOutTimer=setInterval(w,v.AbtTimer.signOutInterval,e)}};function x(){b.Global.gAbtStartedSignOutChecks=!1;clearInterval(b.Global.gAbtSignOutTimer)}e.stopSignOutChecks=x})(t.SignOutUtils||(t.SignOutUtils={}))},function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);e.exports=function(){n(r);return r}}else{var i=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++){0==(3&t)&&(e=4294967296*Math.random());i[t]=e>>>((3&t)<<3)&255}return i}}},function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,i=n;return[i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]]].join("")}},function(e,t){},function(e,t,n){"use strict";n.d(t,"e",function(){return r});var r;(function(e){e.USGOV_DOD="https://pf.events.data.cloudapp.onecollector.akadns.net/OneCollector/1.0/";e.USGOV_DOJ="https://tb.events.data.cloudapp.onecollector.akadns.net/OneCollector/1.0/";e.PUBLIC="https://browser.events.data.microsoft.com/OneCollector/1.0/"})(r||(r={}))},function(e,t,n){"use strict";n.d(t,"e",function(){return i});var r=n(30);function i(e,t,n){var i=n.map(function(t){return{name:e+"."+t.name,value:t.value,dataType:t.dataType}});Object(r.e)(i,e,t);return i}},function(e,t){},function(e,t,n){"use strict";n.d(t,"e",function(){return s});var r=n(70),i=n(18);function s(e){var t={costPriority:r.e.Normal,samplingPolicy:r.i.Measure,persistencePriority:r.r.Normal,dataCategories:r.t.NotSet,diagnosticLevel:r.n.FullEvent};e.eventFlags&&e.eventFlags.dataCategories||Object(i.r)(i.t.Error,i.e.Core,function(){return"Event is missing DataCategories event flag"});if(!e.eventFlags)return t;e.eventFlags.costPriority&&(t.costPriority=e.eventFlags.costPriority);e.eventFlags.samplingPolicy&&(t.samplingPolicy=e.eventFlags.samplingPolicy);e.eventFlags.persistencePriority&&(t.persistencePriority=e.eventFlags.persistencePriority);e.eventFlags.dataCategories&&(t.dataCategories=e.eventFlags.dataCategories);e.eventFlags.diagnosticLevel&&(t.diagnosticLevel=e.eventFlags.diagnosticLevel);return t}},function(e,t){},function(e,t,n){"use strict";n.d(t,"e",function(){return l});var r,i=n(114),s=n(116),o=n(80),u=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){r(e,t);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{a(r.next(e))}catch(e){s(e)}}function u(e){try{a(r.throw(e))}catch(e){s(e)}}function a(e){e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,u);var t}a((r=r.apply(e,t||[])).next())})},f=function(e,t){var n,r,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function u(s){return function(u){return(function(s){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;(r=0,i)&&(s=[2&s[0],i.value]);switch(s[0]){case 0:case 1:i=s;break;case 4:o.label++;return{value:s[1],done:!1};case 5:o.label++;r=s[1];s=[0];continue;case 7:s=o.ops.pop();o.trys.pop();continue;default:if(!(i=o.trys,i=i.length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1];i=s;break}if(i&&o.label<i[2]){o.label=i[2];o.ops.push(s);break}i[2]&&o.ops.pop();o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e];r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}})([s,u])}}},l=(function(e){u(t,e);function t(){return null!==e&&e.apply(this,arguments)||this}t.prototype.executeActivityAsync=function(e,t){return a(this,void 0,void 0,function(){return f(this,function(n){return[2,this.createNewActivity(e).executeAsync(t)]})})};t.prototype.executeActivitySync=function(e,t){return this.createNewActivity(e).executeSync(t)};t.prototype.createNewActivity=function(e){return s.e.createNew(this,e)};t.prototype.sendActivity=function(e,t,n,r){return this.sendTelemetryEvent({eventName:e,eventContract:{name:o.e.Office.System.Activity.contractName,dataFields:o.e.Office.System.Activity.getFields(t)},dataFields:n,eventFlags:r})};t.prototype.sendError=function(e){var t=o.e.Office.System.Error.getFields("Error",e.error);null!=e.dataFields&&t.push.apply(t,e.dataFields);return this.sendTelemetryEvent({eventName:e.eventName,dataFields:t,eventFlags:e.eventFlags})};return t})(i.e)},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(146),i=n(143),s=n(144),o=(function(){function e(){}e.prototype.signOutAccount=function(e,t,n){void 0===t&&(t=!0);void 0===n&&(n=!1);var o,u,a=JSON.parse(window.localStorage.getItem(r.Constants.PersistentCacheKeys.SignedInAccountListKey)||"[]");if(s.StringUtils.isEmpty(e)){var f=window.sessionStorage.getItem(r.Constants.PersistentCacheKeys.ActiveAccountIdentifierKey)||"";if(!s.StringUtils.isEmpty(f)){o=JSON.parse(window.localStorage.getItem(f)||"[]");for(var l=a.length-1;l>=0;l--){if(f===(c=a[l].sessionTrackingKey)){u=l;break}}}}else for(l=a.length-1;l>=0;l--){var c=a[l].sessionTrackingKey,h=JSON.parse(window.localStorage.getItem(c)||"[]");if(h&&!s.StringUtils.isEmpty(h.sessionId)&&h.sessionId.toLowerCase()===e.toLowerCase()){o=h;u=l;break}}if(!o){i.LoggingUtils.error("Cannot sign out accounts when session Id is empty and no active account signed in.",n);return!1}if(t){window.localStorage.removeItem(c);a.splice(u,1);i.LoggingUtils.log("Cleared the account state in local storage.",n)}else if(o){o.lastActiveTime=(new Date).getTime();o.authenticatedState=3;a[u].lastActiveTime=0;window.localStorage.setItem(c,JSON.stringify(o));i.LoggingUtils.log("Updated account's authenticated state to NotSignedIn in local storage.",n)}window.localStorage.setItem(r.Constants.PersistentCacheKeys.SignedInAccountListKey,JSON.stringify(a));window.sessionStorage.removeItem(r.Constants.PersistentCacheKeys.ActiveAccountIdentifierKey);return!0};e.prototype.getSignedOutAccountData=function(){var e=window.sessionStorage.getItem(r.Constants.PersistentCacheKeys.ActiveAccountIdentifierKey)||"";s.StringUtils.isEmpty(e)&&(e=this.getMostRecentSignedOutAccount());if(!s.StringUtils.isEmpty(e)){return JSON.parse(window.localStorage.getItem(e)||"[]")}return"[]"};e.prototype.getMostRecentSignedOutAccount=function(){var e=JSON.parse(window.localStorage.getItem(r.Constants.PersistentCacheKeys.SignedInAccountListKey)||"[]"),t="",n=0;e.forEach(function(e){if(0===e.lastActiveTime){var r=JSON.parse(window.localStorage.getItem(e.sessionTrackingKey)||"[]");if(3===r.authenticatedState&&r.lastActiveTime&&r.lastActiveTime>n){n=r.lastActiveTime;t=e.sessionTrackingKey}}});return t};return e})();t.MultiAccountSessionTrackerLogout=o},function(e,t,n){"use strict";n.d(t,"e",function(){return Le});var r=n(300),i=n(72),s=n(7),o=n(19),u=(function(){function e(t,n,r,i){void 0===r&&(r=!1);this.messageId=t;this.message=(r?e.AiUserActionablePrefix:e.AiNonUserActionablePrefix)+t;var s="";Object(o.s)()&&(s=Object(o.n)().stringify(i));var u=(n?" message:"+e.sanitizeDiagnosticText(n):"")+(i?" props:"+e.sanitizeDiagnosticText(s):"");this.message+=u}e.sanitizeDiagnosticText=function(e){return e?'"'+e.replace(/\"/g,"")+'"':""};e.dataType="MessageData";e.AiNonUserActionablePrefix="AI (Internal): ";e.AiUserActionablePrefix="AI: ";return e})(),a=(function(){function e(e){this.queue=[];this.AIInternalMessagePrefix="AITR_";this._messageCount=0;this._messageLogged={};this.enableDebugExceptions=function(){return!1};this.consoleLoggingLevel=function(){return 0};this.telemetryLoggingLevel=function(){return 1};this.maxInternalMessageLimit=function(){return 25};if(!s.e.isNullOrUndefined(e)){s.e.isNullOrUndefined(e.loggingLevelConsole)||(this.consoleLoggingLevel=function(){return e.loggingLevelConsole});s.e.isNullOrUndefined(e.loggingLevelTelemetry)||(this.telemetryLoggingLevel=function(){return e.loggingLevelTelemetry});s.e.isNullOrUndefined(e.maxMessageLimit)||(this.maxInternalMessageLimit=function(){return e.maxMessageLimit});s.e.isNullOrUndefined(e.enableDebugExceptions)||(this.enableDebugExceptions=function(){return e.enableDebugExceptions})}}e.prototype.throwInternal=function(e,t,n,r,o){void 0===o&&(o=!1);var a=new u(t,n,o,r);if(this.enableDebugExceptions())throw a;if(!s.e.isUndefined(a)&&a&&!s.e.isUndefined(a.message)){if(o){var f=+a.messageId;if(!this._messageLogged[f]&&this.consoleLoggingLevel()>=i.e.WARNING){this.warnToConsole(a.message);this._messageLogged[f]=!0}}else this.consoleLoggingLevel()>=i.e.WARNING&&this.warnToConsole(a.message);this.logInternalMessage(e,a)}};e.prototype.warnToConsole=function(e){!s.e.isUndefined(console)&&console&&(s.e.isFunction(console.warn)?console.warn(e):s.e.isFunction(console.log)&&console.log(e))};e.prototype.resetInternalMessageCount=function(){this._messageCount=0;this._messageLogged={}};e.prototype.logInternalMessage=function(e,t){if(!this._areInternalMessagesThrottled()){var n=!0,r=this.AIInternalMessagePrefix+t.messageId;this._messageLogged[r]?n=!1:this._messageLogged[r]=!0;if(n){if(e<=this.telemetryLoggingLevel()){this.queue.push(t);this._messageCount++}if(this._messageCount===this.maxInternalMessageLimit()){var s="Internal events throttle limit per PageView reached for this app.",o=new u(i.t.MessageLimitPerPVExceeded,s,!1);this.queue.push(o);this.warnToConsole(s)}}}};e.prototype._areInternalMessagesThrottled=function(){return this._messageCount>=this.maxInternalMessageLimit()};return e})(),f=s.e.isFunction,l=function(e,t){var n=this,r=null,s=f(e.processTelemetry),o=f(e.setNextPlugin);n._hasRun=!1;n.getPlugin=function(){return e};n.getNext=function(){return r};n.setNext=function(e){r=e};n.processTelemetry=function(u,a){a||(a=t);if(e&&s){n._hasRun=!0;try{a.setNext(r);o&&e.setNextPlugin(r);r&&(r._hasRun=!1);e.processTelemetry(u,a)}catch(t){var f=r&&r._hasRun;r&&f||a.diagLog().throwInternal(i.e.CRITICAL,i.t.PluginException,"Plugin ["+e.identifier+"] failed during processTelemetry - "+t);r&&!f&&r.processTelemetry(u,a)}}else if(r){n._hasRun=!0;r.processTelemetry(u,a)}}},c=s.e.isNullOrUndefined;function h(e,t){var n=[];if(e&&e.length>0)for(var r=null,i=0;i<e.length;i++){var o=e[i];if(o&&s.e.isFunction(o.processTelemetry)){var u=new l(o,t);n.push(u);r&&r.setNext(u);r=u}}return n.length>0?n[0]:null}var p=function e(t,n,r,i){var o=this,u=null;null!==i&&(t&&s.e.isFunction(t.getPlugin)?u=(function(e,t,n){var r=[],i=!n;if(e)for(;e;){var s=e.getPlugin();if(i||s===n){i=!0;r.push(s)}e=e.getNext()}i||r.push(n);return h(r,t)})(t,o,i||t.getPlugin()):i?u=(function(e,t,n){var r=e,i=!1;if(n&&e){r=[];s.e.arrForEach(e,function(e){if(i||e===n){i=!0;r.push(e)}})}if(n&&!i){r||(r=[]);r.push(n)}return h(r,t)})(t,o,i):s.e.isUndefined(i)&&(u=h(t,o)));o.core=function(){return r};o.diagLog=function(){var e=(r||{}).logger;e||(e=new a(n||{}));return e};o.getCfg=function(){return n};o.getExtCfg=function(e,t){void 0===t&&(t={});var r;if(n){var i=n.extensionConfig;i&&e&&(r=i[e])}return r||t};o.getConfig=function(e,t,r){void 0===r&&(r=!1);var i,s=o.getExtCfg(e,null);s&&!c(s[t])?i=s[t]:n&&!c(n[t])&&(i=n[t]);return c(i)?r:i};o.hasNext=function(){return null!=u};o.getNext=function(){return u};o.setNext=function(e){u=e};o.processNext=function(e){var t=u;if(t){u=t.getNext();t.processTelemetry(e,o)}};o.createNew=function(t,i){void 0===t&&(t=null);return new e(t||u,n,r,i)}},d=s.e.isFunction,v=(function(){function e(){var e=this,t=!1,n=null,r=null;e.core=null;e.diagLog=function(t){return e._getTelCtx(t).diagLog()};e.isInitialized=function(){return t};e.setInitialized=function(e){t=e};e.setNextPlugin=function(e){r=e};e.processNext=function(e,t){t?t.processNext(e):r&&d(r.processTelemetry)&&r.processTelemetry(e,null)};e._getTelCtx=function(t){void 0===t&&(t=null);var i=t;if(!i){var s=n||new p(null,{},e.core);i=r&&r.getPlugin?s.createNew(null,r.getPlugin):s.createNew(null,r)}return i};e._baseTelInit=function(i,s,o,u){i&&(i.extensionConfig=i.extensionConfig||[]);!u&&s&&(u=s.getProcessTelContext().getNext());var a=r;r&&r.getPlugin&&(a=r.getPlugin());e.core=s;n=new p(u,i,s,a);t=!0}}e.prototype.initialize=function(e,t,n,r){this._baseTelInit(e,t,n,r)};return e})(),m=s.e.isFunction;function g(e,t){for(var n=[],r=null,i=e.getNext();i;){var o=i.getPlugin();if(o){r&&m(r.setNextPlugin)&&m(o.processTelemetry)&&r.setNextPlugin(o);m(o.isInitialized)&&o.isInitialized()||n.push(o);r=o;i=i.getNext()}}s.e.arrForEach(n,function(n){n.initialize(e.getCfg(),e.core(),t,e.getNext())})}function y(e){return e.sort(function(e,t){var n=0,r=m(t.processTelemetry);m(e.processTelemetry)?n=r?e.priority-t.priority:1:r&&(n=-1);return n})}var b=s.e.arrForEach,w=s.e.objDefineAccessors;function E(e,t){if(t&&t.length>0){(function(e){b(e,function(e){if(e.priority<500)throw Error("Channel has invalid priority"+e.identifier)})})(t=t.sort(function(e,t){return e.priority-t.priority}));e.push(t)}}var S=(function(e){__extends(t,e);function t(){var t=null!==e&&e.apply(this,arguments)||this;t.identifier="ChannelControllerPlugin";t.priority=500;return t}t.prototype.processTelemetry=function(e,t){var n=this;this._channelQueue&&b(this._channelQueue,function(r){if(r.length>0){n._getTelCtx(t).createNew(r).processNext(e)}})};t.prototype.getChannelControls=function(){return this._channelQueue};t.prototype.initialize=function(t,n,r){if(!this.isInitialized()){e.prototype.initialize.call(this,t,n,r);t.isCookieUseDisabled&&s.e.disableCookies();var i=this._channelQueue=(function(e,t){var n=[];e&&b(e,function(e){return E(n,e)});if(t){var r=[];b(t,function(e){e.priority>500&&r.push(e)});E(n,r)}return n})((t||{}).channels,r);b(i,function(e){return g(new p(e,t,n),r)})}};t._staticInit=(function(){w(t.prototype,"ChannelControls",t.prototype.getChannelControls);w(t.prototype,"channelQueue",t.prototype.getChannelControls)})();return t})(v),x=s.e.arrForEach,T=s.e.isNullOrUndefined,N=(function(){function e(){var e=!1;this._extensions=new Array;this._channelController=new S;this.isInitialized=function(){return e};this._setInit=function(t){e=t};this._eventQueue=[]}e.prototype.initialize=function(e,t,n,r){if(this.isInitialized())throw Error("Core should not be initialized more than once");if(!e||T(e.instrumentationKey))throw Error("Please provide instrumentation key");this.config=e;var i=this._channelController;r||(r=s.e.objCreate({addNotificationListener:function(e){},removeNotificationListener:function(e){},eventsSent:function(e){},eventsDiscarded:function(e,t){},eventsSendRequest:function(e,t){}}));this._notificationManager=r;e.extensions=T(e.extensions)?[]:e.extensions;(e.extensionConfig=T(e.extensionConfig)?{}:e.extensionConfig).NotificationManager=r;n||(n=s.e.objCreate({throwInternal:function(e,t,n,r,i){void 0===i&&(i=!1)},warnToConsole:function(e){},resetInternalMessageCount:function(){}}));this.logger=n;var o=[];o.push.apply(o,t.concat(e.extensions));o=y(o);var u=[],a=[],f={};x(o,function(e){if(T(e)||T(e.initialize))throw Error("Extensions must provide callback to initialize");var t=e.priority,r=e.identifier;e&&t&&(T(f[t])?f[t]=r:n.warnToConsole("Two extensions have same priority #"+t+" - "+f[t]+", "+r));!t||t<i.priority?u.push(e):a.push(e)});o.push(i);u.push(i);o=y(o);this._extensions=o;g(new p([i],e,this),o);g(new p(u,e,this),o);this._extensions=u;if(0===this.getTransmissionControls().length)throw new Error("No channels available");this._setInit(!0)};e.prototype.getTransmissionControls=function(){return this._channelController.getChannelControls()};e.prototype.track=function(e){var t=this;e.iKey||(e.iKey=t.config.instrumentationKey);e.time||(e.time=s.e.toISOString(new Date));T(e.ver)&&(e.ver="4.0");if(t.isInitialized()){if(t._eventQueue.length>0){x(t._eventQueue,function(e){t.getProcessTelContext().processNext(e)});t._eventQueue=[]}t.getProcessTelContext().processNext(e)}else t._eventQueue.push(e)};e.prototype.getProcessTelContext=function(){var e=this._extensions,t=e;e&&0!==e.length||(t=[this._channelController]);return new p(t,this.config,this)};return e})(),C=1,k=2,L=3,A=4,O=5,M=(function(){function e(){this.listeners=[]}e.prototype.addNotificationListener=function(e){this.listeners.push(e)};e.prototype.removeNotificationListener=function(e){for(var t=s.e.arrIndexOf(this.listeners,e);t>-1;){this.listeners.splice(t,1);t=s.e.arrIndexOf(this.listeners,e)}};e.prototype.eventsSent=function(e){for(var t=this,n=function(n){r.listeners[n].eventsSent&&setTimeout(function(){return t.listeners[n].eventsSent(e)},0)},r=this,i=0;i<this.listeners.length;++i)n(i)};e.prototype.eventsDiscarded=function(e,t){for(var n=this,r=function(r){i.listeners[r].eventsDiscarded&&setTimeout(function(){return n.listeners[r].eventsDiscarded(e,t)},0)},i=this,s=0;s<this.listeners.length;++s)r(s)};e.prototype.eventsSendRequest=function(e,t){for(var n=this,r=function(r){if(i.listeners[r].eventsSendRequest)if(t)setTimeout(function(){return n.listeners[r].eventsSendRequest(e,t)},0);else try{i.listeners[r].eventsSendRequest(e,t)}catch(e){}},i=this,s=0;s<this.listeners.length;++s)r(s)};return e})(),_=(function(e){__extends(t,e);function t(){return e.call(this)||this}t.prototype.initialize=function(t,n){this._notificationManager=new M;this.logger=new a(t);this.config=t;e.prototype.initialize.call(this,t,n,this.logger,this._notificationManager)};t.prototype.getTransmissionControls=function(){return e.prototype.getTransmissionControls.call(this)};t.prototype.track=function(t){if(null===t){this._notifyInvalidEvent(t);throw Error("Invalid telemetry item")}this._validateTelemetryItem(t);e.prototype.track.call(this,t)};t.prototype.addNotificationListener=function(e){this._notificationManager&&this._notificationManager.addNotificationListener(e)};t.prototype.removeNotificationListener=function(e){this._notificationManager&&this._notificationManager.removeNotificationListener(e)};t.prototype.pollInternalLogs=function(e){var t=this,n=this.config.diagnosticLogInterval;n&&n>0||(n=1e4);return setInterval(function(){var n=t,r=n.logger?n.logger.queue:[];s.e.arrForEach(r,function(t){var r={name:e||"InternalMessageId: "+t.messageId,iKey:n.config.instrumentationKey,time:s.e.toISOString(new Date),baseType:u.dataType,baseData:{message:t.message}};n.track(r)});r.length=0},n)};t.prototype._validateTelemetryItem=function(e){if(s.e.isNullOrUndefined(e.name)){this._notifyInvalidEvent(e);throw Error("telemetry name required")}};t.prototype._notifyInvalidEvent=function(e){this._notificationManager&&this._notificationManager.eventsDiscarded([e],k)};return t})(N),D=n(54),P=n(100),H=(function(e){__extends(t,e);function t(){var t=null!==e&&e.apply(this,arguments)||this;t.pluginVersionStringArr=[];t.pluginVersionString="";return t}t.prototype.initialize=function(t,n){if(t){t.endpointUrl||(t.endpointUrl="https://browser.events.data.microsoft.com/OneCollector/1.0/");var r=t.propertyStorageOverride;if(r&&(!r.getProperty||!r.setProperty))throw"Invalid property storage override passed.";if(t.channels)for(var s=0;s<t.channels.length;s++)if(t.channels[s])for(var o=0;o<t.channels[s].length;o++){var u=t.channels[s][o];if(u.identifier&&u.version){var a=u.identifier+"="+u.version;this.pluginVersionStringArr.push(a)}}}this.getWParam=function(){return"undefined"!=typeof document?0:-1};if(n)for(s=0;s<n.length;s++){var f=n[s];if(f.identifier&&f.version){a=f.identifier+"="+f.version;this.pluginVersionStringArr.push(a)}}this.pluginVersionString=this.pluginVersionStringArr.join(";");try{e.prototype.initialize.call(this,t,n)}catch(e){this.logger.throwInternal(i.e.CRITICAL,D.n.ErrorProvidedChannels,"Channels must be provided through config.channels only")}this.pollInternalLogs("InternalLog")};t.prototype.track=function(t){var n=t;if(n){n.timings=n.timings||{};n.timings.trackStart=Object(P.u)();Object(P.l)(n.latency)||(n.latency=D.e.Normal);var r=n.ext=n.ext||{};r.sdk=r.sdk||{};r.sdk.ver=P.e;var i=n.baseData=n.baseData||{};i.properties||(i.properties={});var s=i.properties;s.version||(s.version="");""!=this.pluginVersionString&&(s.version=this.pluginVersionString)}e.prototype.track.call(this,n)};return t})(_),B=(function(){function e(){}e.getPayloadBlob=function(e,t){var n="",r={};for(var i in e)if(e.hasOwnProperty(i))for(var s=0;s<e[i].length;++s){n&&(n+="\n");var o=n.length;if((n+=this.getEventBlob(e[i][s])).length-o>2e6){t&&t.eventsDiscarded([e[i][s]],L);delete e[i][s];n=n.substring(0,o)}if(n.length>3984588){r={};var u=e[i];e[i]=u.splice(0,s);r[i]=u;break}}return{payloadBlob:n,remainingRequest:r}};e.getEventBlob=function(e){var t={};t.name=e.name;t.time=e.time;t.ver=e.ver;t.iKey="o:"+Object(P.o)(e.iKey);if(e.ext){t.ext={};for(var n in e.ext)if(e.ext.hasOwnProperty(n)){t.ext[n]={};for(var r in e.ext[n])e.ext[n].hasOwnProperty(r)&&e.ext[n][r]&&(t.ext[n][r]=Object(P.m)(r,e.ext[n][r]).value)}}t.data={};t.data.baseData={};t.data.baseType=e.baseType;if(e.baseData)for(var n in e.baseData)if(e.baseData.hasOwnProperty(n)){var i=Object(P.m)(n,e.baseData[n]);j(t.data.baseData,n,i);F(t.ext,"baseData."+n,i)}if(e.data)for(var n in e.data)if(e.data.hasOwnProperty(n)){i=Object(P.m)(n,e.data[n]);j(t.data,n,i);F(t.ext,n,i)}return JSON.stringify(t)};return e})();function j(e,t,n){if(n){for(var r=e,i=t.split("."),s=0;s<i.length-1;++s){r[i[s]]||(r[i[s]]={});r=r[i[s]]}r[i[i.length-1]]=n.value}}function F(e,t,n){if(n){var r=Object(P.r)(n.value,n.kind,n.propertyType);if(r>-1){var i=e;i.metadata||(i.metadata={});i.metadata.f||(i.metadata.f={});i=i.metadata.f;for(var s=t.split("."),o=0;o<s.length-1;++o){i[s[o]]||(i[s[o]]={f:{}});i=i[s[o]].f}Object(P.a)(n.value)?i[s[s.length-1]]={a:{t:r}}:i[s[s.length-1]]={t:r}}}}var I=(function(){function e(){}e.shouldRetryForStatus=function(e){return!(e>=300&&e<500&&408!==e&&429!==e||501===e||505===e)};e.getMillisToBackoffForRetry=function(e){var t,n=Math.floor(1200*Math.random())+2400;t=Math.pow(2,e)*n;return Math.min(t,6e5)};return e})(),q=Object.getPrototypeOf,R=0;function U(e,t){return e&&Object.prototype.hasOwnProperty.call(e,t)}function z(e){return"function"==typeof e}function W(e){return e&&(e===Object.prototype||e===Array.prototype)}function X(e){return W(e)||e===Function.prototype}function V(e){if(e){if(q)return q(e);var t=e.__proto__||e.prototype||e.constructor;if(t)return t}return null}function $(e,t,n){return"constructor"!==t&&z(e[t])&&(n||U(e,t))}function J(e){throw new TypeError("DynamicProto: "+e)}function K(e,t){for(var n=e.length-1;n>=0;n--)if(e[n]===t)return!0;return!1}function Q(e,t){return U(e,"prototype")?e.name||t||"_unknown_":((e||{}).constructor||{}).name||t||"_unknown_"}var G=function(e,t,n){U(e,"prototype")||J("theClass is an invalid class definition.");var r=e.prototype;(function(e,t){for(var n=V(t);n&&!X(n);){if(n===e)return!0;n=V(n)}return!1})(r,t)||J("["+Q(e)+"] is not in class heirarchy of ["+Q(t)+"]");var i=null;if(U(r,"_dynClass"))i=r._dynClass;else{i="_dynCls$"+Q(e,"_")+"$"+R;R++;r._dynClass=i}var s=(function(e){var t={};for(var n in e)!t[n]&&$(e,n,!1)&&(t[n]=e[n]);return t})(t);n(t,(function(e,t,n){function r(e,t){return function(){return t.apply(e,arguments)}}var i={};for(var s in n)i[s]=r(t,n[s]);for(var o=V(e),u=[];o&&!X(o)&&!K(u,o);){for(var s in o)!i[s]&&$(o,s,!q)&&(i[s]=r(t,o[s]));u.push(o);o=V(o)}return i})(r,t,s));(function(e,t,n,r){function i(e,t){var n=function(){var r=this;if(r&&U(e,"_dynClass")){var i=((r._dynInstFuncs||{})[e._dynClass]||{})[t];if(i)return i.apply(r,arguments);J("Missing ["+t+"] function")}var s=e[t];s===n&&(s=V(e)[t]);z(s)||J("["+t+"] is not a function");return s.apply(r,arguments)};n._isDynProxy=1;return n}if(!W(e)){var s=n._dynInstFuncs=n._dynInstFuncs||{},o=s[t]=s[t]||{};for(var u in n)if($(n,u,!1)&&n[u]!==r[u]){o[u]=n[u];delete n[u];(!U(e,u)||e[u]&&!e[u]._isDynProxy)&&(e[u]=i(e,u))}}})(r,i,t,s)},Y=function e(){var t={};G(e,this,function(e){e.setKillSwitchTenants=function(e,n){if(e&&n)try{var r=(function(e){var t=[];e&&Object(P.n)(e,function(e){t.push(Object(P.b)(e))});return t})(e.split(","));if("this-request-only"===n)return r;for(var i=1e3*parseInt(n,10),s=0;s<r.length;++s)t[r[s]]=Date.now()+i}catch(e){return[]}return[]};e.isTenantKilled=function(e){var n=t,r=Object(P.b)(e);if(void 0!==n[r]&&n[r]>Date.now())return!0;delete n[r];return!1}})},Z=function e(){var t=!0,n=!0,r=!0,i="use-collector-delta",s=!1;G(e,this,function(e){e.allowRequestSending=function(){if(r&&!s){r=!1;t=!1;return!0}return t};e.shouldAddClockSkewHeaders=function(){return n};e.getClockSkewHeaderValue=function(){return i};e.setClockSkew=function(e){if(!s){e?i=e:n=!1;s=!0;t=!0}}})};function ee(e){try{return e.responseText}catch(e){}return""}var te,ne,re,ie,se,oe=(function(){function e(e){this._requestQueue=e;this._urlString="?cors=true&content-type=application/x-json-stream&client-id=NO_AUTH&client-version="+P.e;this._killSwitch=new Y;this._paused=!1;this._clockSkewManager=new Z;this._useBeacons=!1;this._activeConnections=0;this._customHttpInterface=!0;this._queryStringParameters=[];this._headers={}}e.prototype.initialize=function(e,t,n,r){var i=this;this._urlString=e+this._urlString;this._core=t;this._postManager=n;this._httpInterface=r;if(!this._httpInterface){var s=!0,o=Object(P.s)();o&&o.protocol&&"file:"===o.protocol.toLowerCase()&&(s=!1);this._customHttpInterface=!1;this._useBeacons=!Object(P.c)();this._httpInterface={sendPOST:function(e,t,n){if(Object(P.w)()){var r=new XDomainRequest;r.open("POST",e.urlString);r.onload=function(){t(200,{},ee(r));i._handleCollectorResponse(ee(r))};r.onerror=function(){t(400,{})};r.ontimeout=function(){t(500,{})};r.send(e.data)}else if(Object(P.c)())try{fetch(e.urlString,(u={body:e.data,method:"POST",credentials:"include"},u.Microsoft_ApplicationInsights_BypassAjaxInstrumentation=!0,u.headers=e.headers,u)).then(function(e){var n={},r="";e.headers&&e.headers.forEach(function(e,t){n[t]=e});e.body&&e.text().then(function(e){r=e});t(e.status,n,r);i._handleCollectorResponse(r)}).catch(function(e){t(0,{})})}catch(e){t(0,{})}else if("undefined"!=typeof XMLHttpRequest){var o=new XMLHttpRequest;try{o.Microsoft_ApplicationInsights_BypassAjaxInstrumentation=!0}catch(e){}s&&(o.withCredentials=!0);o.open("POST",e.urlString,!n);Object(P.n)(Object(P.v)(e.headers),function(t){o.setRequestHeader(t,e.headers[t])});o.onload=function(){t(o.status,i._convertAllHeadersToMap(o.getAllResponseHeaders()),ee(o));i._handleCollectorResponse(ee(o))};o.onerror=function(){t(o.status,i._convertAllHeadersToMap(o.getAllResponseHeaders()))};o.ontimeout=function(){t(o.status,i._convertAllHeadersToMap(o.getAllResponseHeaders()))};o.send(e.data)}var u}}}};e.prototype.addQueryStringParameter=function(e,t){for(var n=0;n<this._queryStringParameters.length;n++)if(this._queryStringParameters[n].name===e){this._queryStringParameters[n].value=t;return}this._queryStringParameters.push({name:e,value:t})};e.prototype.addHeader=function(e,t){this._headers[e]=t};e.prototype.hasIdleConnection=function(){return this._activeConnections<2};e.prototype.sendQueuedRequests=function(e,t){for(var n=!1;this.hasIdleConnection()&&!this._paused&&this._requestQueue.length>0&&this._clockSkewManager.allowRequestSending();){if(!n){this._notifyEventsSendRequest(e||0,t);n=!0}this._activeConnections++;this._sendRequest(this._requestQueue.shift(),0,!1)}this.hasIdleConnection()&&this._postManager._scheduleTimer()};e.prototype.isCompletelyIdle=function(){return 0===this._activeConnections};e.prototype.teardown=function(){if(this._requestQueue.length>0){this._notifyEventsSendRequest(2,!0);for(;this._requestQueue.length>0;)this._sendRequest(this._requestQueue.shift(),0,!0)}};e.prototype.pause=function(){this._paused=!0};e.prototype.resume=function(){this._paused=!1;this.sendQueuedRequests(4,!1)};e.prototype.removeQueuedRequests=function(){this._requestQueue.length=0};e.prototype.sendSynchronousRequest=function(e,t){this._activeConnections++;this._notifyEventsSendRequest(t||0,!0);this._sendRequest(e,0,!1,!0)};e.prototype._sendRequest=function(e,t,n,r){void 0===r&&(r=!1);var i=this;if(e){if(i._paused){i._activeConnections--;i._postManager._addBackRequest(e);return}var s=0,o="";for(var u in e)if(e.hasOwnProperty(u))if(i._killSwitch.isTenantKilled(u)){i._postManager._notificationManager&&i._postManager._notificationManager.eventsDiscarded(e[u],A);delete e[u]}else{o.length>0&&(o+=",");o+=u;s++}if(s>0){var a=Object(P.u)(),f=B.getPayloadBlob(e,i._postManager._notificationManager),l=Object(P.u)();f.remainingRequest&&i._requestQueue.push(f.remainingRequest);var c=i._urlString+"&apikey="+o+"&upload-time="+Date.now().toString(),h=i._getMsfpc(e);Object(P.p)(h)&&(c=c+"&ext.intweb.msfpc="+h);i._clockSkewManager.shouldAddClockSkewHeaders()&&(c=c+"&time-delta-to-apply-millis="+i._clockSkewManager.getClockSkewHeaderValue());if(i._core.getWParam){var p=i._core.getWParam();p>=0&&(c=c+"&w="+p)}for(var d=0;d<i._queryStringParameters.length;d++)c=c+"&"+i._queryStringParameters[d].name+"="+i._queryStringParameters[d].value;var v=Object(P.u)();for(var u in e)if(e.hasOwnProperty(u))for(d=0;d<e[u].length;++d){var m=e[u][d];m.timings=m.timings||{};m.timings.sendEventStart=m.timings.sendEventStart||{};m.timings.serializationStart=m.timings.serializationStart||{};m.timings.serializationCompleted=m.timings.serializationCompleted||{};m.timings.sendEventStart[i._postManager.identifier]=v;m.timings.serializationStart[i._postManager.identifier]=a;m.timings.serializationCompleted[i._postManager.identifier]=l;m.sendAttempt>0?m.sendAttempt++:m.sendAttempt=1}var g={data:f.payloadBlob,urlString:c,headers:i._headers},y=null,b=!!i.sendHook;if(!i._customHttpInterface&&i._useBeacons&&Object(P.f)()&&n){b=!1;y=function(t){i._sendUsingBeacons(g,e);i.sendListener&&i.sendListener(g,g,r||n,!0)}}else i._httpInterface&&(y=function(u){i._httpInterface.sendPOST(u,function(u,a){i._retryRequestIfNeeded(u,a,e,s,o,t,n,r)},n||r);i.sendListener&&i.sendListener(g,u,r||n,!1)});y&&(b?i.sendHook(g,y,r||n):y(g))}else n||i._handleRequestFinished(null,{},n,r)}};e.prototype._sendUsingBeacons=function(e,t){try{if(navigator.sendBeacon(e.urlString,e.data)){this._handleRequestFinished(!0,t,!0,!0);return}for(var n in t)if(t.hasOwnProperty(n))for(var r=0;r<t[n].length;++r){if(!navigator.sendBeacon(e.urlString,B.getEventBlob(t[n][r])))return;this._notifyEventCompleted(!0,[t[n][r]])}}catch(e){this._postManager.diagLog().warnToConsole("Failed to send telemetry using sendBeacon API. Ex:"+e)}};e.prototype._addEventCompletedTimings=function(e){for(var t=Object(P.u)(),n=0;n<e.length;++n){e[n].timings=e[n].timings||{};e[n].timings.sendEventCompleted=e[n].timings.sendEventCompleted||{};e[n].timings.sendEventCompleted[this._postManager.identifier]=t}};e.prototype._retryRequestIfNeeded=function(e,t,n,r,i,s,o,u){var a=this,f=!0;if(void 0!==e){if(t){var l=this._killSwitch.setKillSwitchTenants(t["kill-tokens"],t["kill-duration-seconds"]);this._clockSkewManager.setClockSkew(t["time-delta-millis"]);for(var c=0;c<l.length;++c){this._postManager._notificationManager&&this._postManager._notificationManager.eventsDiscarded(n[l[c]],A);delete n[l[c]];r--}}else this._clockSkewManager.setClockSkew("");if(200===e){this._handleRequestFinished(!0,n,o,u);return}(!I.shouldRetryForStatus(e)||r<=0)&&(f=!1)}if(f)if(u){this._activeConnections--;this._postManager._addBackRequest(n)}else if(s<1)this._postManager._setTimeoutOverride(function(){return a._sendRequest(n,s+1,!1)},I.getMillisToBackoffForRetry(s));else{this._activeConnections--;this._postManager._backOffTransmission();this._postManager._addBackRequest(n)}else this._handleRequestFinished(!1,n,o,u)};e.prototype._handleRequestFinished=function(e,t,n,r){e&&this._postManager._clearBackOff();for(var i in t)t.hasOwnProperty(i)&&this._notifyEventCompleted(e,t[i],C);this._activeConnections--;r||n||this.sendQueuedRequests()};e.prototype._notifyEventCompleted=function(e,t,n){this._addEventCompletedTimings(t);var r=this._postManager._notificationManager;r&&(e?r.eventsSent(t):r.eventsDiscarded(t,n))};e.prototype._notifyEventsSendRequest=function(e,t){var n=this._postManager._notificationManager;if(n&&n.eventsSendRequest)try{n.eventsSendRequest(e,!!t)}catch(e){this._postManager.diagLog().throwInternal(i.e.CRITICAL,D.n.NotificationException,"send request notification failed: "+e)}};e.prototype._convertAllHeadersToMap=function(e){var t={};if(Object(P.h)(e))for(var n=e.split("\n"),r=0;r<n.length;++r){var i=n[r].split(": ");t[i[0]]=i[1]}return t};e.prototype._getMsfpc=function(e){for(var t in e)if(e.hasOwnProperty(t))for(var n=0;n<e[t].length;++n)if(e[t][n].ext&&e[t][n].ext.intweb&&Object(P.p)(e[t][n].ext.intweb.msfpc))return encodeURIComponent(e[t][n].ext.intweb.msfpc);return""};e.prototype._handleCollectorResponse=function(e){try{if(e){var t=JSON.parse(e);Object(P.p)(t.webResult)&&Object(P.p)(t.webResult.msfpc)&&Object(P.g)("MSFPC",t.webResult.msfpc,365)}}catch(e){}};return e})(),ue=function e(t,n){var r={},i=0;G(e,this,function(e){e.addEventToBatch=function(t){var s=t.iKey;if(s){if(t.sync){var o={};o[s]=[t];return o}i>=n&&e.flushBatch();var u=r;void 0===u[s]&&(u[s]=[]);u[s].push(t);i++}return null};e.flushBatch=function(){if(i>0){t.push(r);r={};i=0}};e.hasBatch=function(){return i>0}})},ae=P.d?window:void 0,fe=(function(e){__extends(t,e);function t(){var t=e.call(this)||this;t.identifier="PostChannel";t.priority=1011;t.version="2.3.4";t._isTeardownCalled=!1;t._isCurrentlyFlushingNow=!1;t._flushQueue=[];t._databaseAdded=!1;t._paused=!1;t._queueSize=0;t._queueSizeLimit=1e4;t._profiles={};t._currentProfile="REAL_TIME";t._timeout=null;t._currentBackoffCount=0;t._timerCount=0;t._flushCallback=-1;t._flushOutboundQueue=[];t._outboundQueue=[];t._inboundQueues={};t._inboundQueues[D.e.RealTime]=[];t._inboundQueues[D.e.CostDeferred]=[];t._inboundQueues[D.e.Normal]=[];t._initializeProfiles();t._addEmptyQueues();t._batcher=new ue(t._outboundQueue,500);t._syncFlushBatcher=new ue(t._flushOutboundQueue,500);t._httpManager=new oe(t._outboundQueue);return t}t.prototype.initialize=function(t,n,r){var i=this,s=n;e.prototype.initialize.call(this,t,n,r);this.setInitialized(!1);var o=this._getTelCtx();t.extensionConfig[this.identifier]=t.extensionConfig[this.identifier]||{};this._config=o.getExtCfg(this.identifier);this._setTimeoutOverride=this._config.setTimeoutOverride?this._config.setTimeoutOverride:setTimeout.bind(ae);this._clearTimeoutOverride=this._config.clearTimeoutOverride?this._config.clearTimeoutOverride:clearTimeout.bind(ae);var u=s.getWParam;s.getWParam=function(){var e=0;i._config.ignoreMc1Ms0CookieProcessing&&(e|=2);return e|u()};this._config.eventsLimitInMem>0&&(this._queueSizeLimit=this._config.eventsLimitInMem);this._config.autoFlushEventsLimit>0&&(this._autoFlushEventsLimit=this._config.autoFlushEventsLimit);this._config.httpXHROverride&&this._config.httpXHROverride.sendPOST&&(this._xhrOverride=this._config.httpXHROverride);Object(P.p)(t.anonCookieName)&&this._httpManager.addQueryStringParameter("anoncknm",t.anonCookieName);this._httpManager.sendHook=this._config.payloadPreprocessor;this._httpManager.sendListener=this._config.payloadListener;var a=this._config.overrideEndpointUrl?this._config.overrideEndpointUrl:t.endpointUrl;this._notificationManager=t.extensionConfig.NotificationManager;this._httpManager.initialize(a,this.core,this,this._xhrOverride);for(var f=0;f<r.length;++f)r[f].identifier&&"LocalStorage"===r[f].identifier&&(this._databaseAdded=!0);Object(P.t)(function(){i.releaseAllQueuesUsingBeacons()});this.setInitialized(!0)};t.prototype.processTelemetry=function(e,t){Object(P.y)(e,this.identifier);var n=(t=this._getTelCtx(t)).getExtCfg(this.identifier),r=!!this._config.disableTelemetry;n&&(r=r||!!this._config.disableTelemetry);var i=e;if(!r&&!this._isTeardownCalled){this._config.overrideInstrumentationKey&&(i.iKey=this._config.overrideInstrumentationKey);n&&n.overrideInstrumentationKey&&(i.iKey=n.overrideInstrumentationKey);i.sendAttempt||(i.sendAttempt=0);i.latency||(i.latency=D.e.Normal);i.ext&&i.ext.trace&&delete i.ext.trace;i.ext&&i.ext.user&&i.ext.user.id&&delete i.ext.user.id;if(i.sync)if(this._currentBackoffCount>0||this._paused){i.latency=D.e.RealTime;i.sync=!1}else if(this._httpManager){this._httpManager.sendSynchronousRequest(this._batcher.addEventToBatch(i),3);return}this._queueSize<this._queueSizeLimit||this._dropEventWithLatencyOrLess(i.latency)?this._addEventToProperQueue(i):this._notifyEventsDiscarded([i],O);this._scheduleTimer()}this.processNext(i,t)};t.prototype.setEventQueueLimits=function(e,t){var n=!1;this._queueSizeLimit=e>0?e:1e4;this._queueSize<e&&(n=!0);this._autoFlushEventsLimit=t>0?t:0;t>0&&this._queueSize<t&&(n=!0);n&&this.flush(!1,null,20)};t.prototype.teardown=function(){this.releaseAllQueuesUsingBeacons();this._isTeardownCalled=!0};t.prototype.pause=function(){this._clearTimeout();this._paused=!0;this._httpManager.pause();if(this._databaseAdded){this._queueSize-=this._inboundQueues[D.e.RealTime][0].length+this._inboundQueues[D.e.CostDeferred][0].length+this._inboundQueues[D.e.Normal][0].length;this._inboundQueues[D.e.RealTime][0]=[];this._inboundQueues[D.e.CostDeferred][0]=[];this._inboundQueues[D.e.Normal][0]=[];this._httpManager.removeQueuedRequests()}};t.prototype.resume=function(){this._paused=!1;this._httpManager.resume();this._scheduleTimer()};t.prototype._loadTransmitProfiles=function(e){this._resetTransmitProfiles();for(var t in e)if(e.hasOwnProperty(t)){if(e[t].length<2)continue;e[t].splice(0,e[t].length-2);e[t][1]<0&&(e[t][0]=-1);if(e[t][1]>0&&e[t][0]>0){var n=e[t][0]/e[t][1];e[t][0]=Math.ceil(n)*e[t][1]}this._profiles[t]=e[t]}};t.prototype.flush=function(e,t,n){var r=this;void 0===e&&(e=!0);if(!this._paused){this._clearTimeout();if(e){this._addEmptyQueues();if(this._isCurrentlyFlushingNow)this._flushQueue.push(t);else{this._isCurrentlyFlushingNow=!0;this._setTimeoutOverride(function(){return r._flushImpl(t,n||1,e)},0)}}else{this._batchEvents(D.e.Normal,this._syncFlushBatcher);for(var i=0;i<this._flushOutboundQueue.length;i++)this._httpManager.sendSynchronousRequest(this._flushOutboundQueue[i],n||1);null!=t&&t()}}};t.prototype.setMsaAuthTicket=function(e){this._httpManager.addHeader("X-AuthMsaDeviceTicket",e)};t.prototype._setTransmitProfile=function(e){if(this._currentProfile!==e&&void 0!==this._profiles[e]){this._clearTimeout();this._currentProfile=e;this._scheduleTimer()}};t.prototype._sendEventsForLatencyAndAbove=function(e,t,n){this._batchEvents(e);this._httpManager.sendQueuedRequests(t,n)};t.prototype._hasEvents=function(){return(this._inboundQueues[D.e.RealTime][0].length>0||this._inboundQueues[D.e.CostDeferred][0].length>0||this._inboundQueues[D.e.Normal][0].length>0||this._batcher.hasBatch())&&this._httpManager.hasIdleConnection()};t.prototype._addBackRequest=function(e){if(!this._paused||!this._databaseAdded)for(var t in e)if(e.hasOwnProperty(t)){if(1===e[t].length&&e[t][0].sync){e[t][0].latency=D.e.RealTime;e[t][0].sync=!1}for(var n=0;n<e[t].length;++n)e[t][n].sendAttempt<6?this.processTelemetry(e[t][n]):this._notifyEventsDiscarded([e[t][n]],C)}};t.prototype._scheduleTimer=function(){var e=this,t=this._profiles[this._currentProfile][1];if(!this._timeout&&t>=0&&!this._paused)if(this._hasEvents()){0===t&&this._currentBackoffCount>0&&(t=1);var n=1e3;this._currentBackoffCount>0&&(n=I.getMillisToBackoffForRetry(this._currentBackoffCount-1));this._timeout=this._setTimeoutOverride(function(){return e._batchAndSendEvents(1,!1)},t*n)}else this._timerCount=0};t.prototype._backOffTransmission=function(){if(this._currentBackoffCount<4){this._currentBackoffCount++;this._clearTimeout();this._scheduleTimer()}};t.prototype._clearBackOff=function(){if(this._currentBackoffCount>0){this._currentBackoffCount=0;this._clearTimeout();this._scheduleTimer()}};t.prototype._clearTimeout=function(){if(this._timeout){this._clearTimeoutOverride(this._timeout);this._timeout=null;this._timerCount=0}};t.prototype._batchAndSendEvents=function(e,t){var n=D.e.RealTime;this._timerCount++;if(2===this._timerCount){n=D.e.Normal;this._timerCount=0}this._sendEventsForLatencyAndAbove(n,e,t);this._timeout=null;this._scheduleTimer()};t.prototype.releaseAllQueuesUsingBeacons=function(){this._clearTimeout();this._flushCallback>0&&this._clearTimeoutOverride(this._flushCallback);if(!this._paused&&!this._databaseAdded){this._mergeQueues();this._batchEvents(D.e.Normal);this._httpManager.teardown()}};t.prototype._removeFirstQueues=function(){this._inboundQueues[D.e.RealTime].shift();this._inboundQueues[D.e.CostDeferred].shift();this._inboundQueues[D.e.Normal].shift()};t.prototype._addEmptyQueues=function(){this._inboundQueues[D.e.RealTime].push([]);this._inboundQueues[D.e.CostDeferred].push([]);this._inboundQueues[D.e.Normal].push([])};t.prototype._mergeQueues=function(){for(var e=D.e.Normal;e<=D.e.RealTime;e++)for(var t=1;t<this._inboundQueues[e].length;t++)for(;this._inboundQueues[e][t].length>0;)this._inboundQueues[e][0].push(this._inboundQueues[e][t].pop())};t.prototype._addEventToProperQueue=function(e){if(!this._paused||!this._databaseAdded){this._queueSize++;this._inboundQueues[e.latency][this._inboundQueues[e.latency].length-1].push(e);0===e.sendAttempt&&this._autoFlushEventsLimit>0&&this._queueSize>this._autoFlushEventsLimit&&this.flush(!1,null,20)}};t.prototype._dropEventWithLatencyOrLess=function(e){for(var t=D.e.Normal;t<=e;){if(this._inboundQueues[t][this._inboundQueues[t].length-1].length>0){var n=this._inboundQueues[t][this._inboundQueues[t].length-1].splice(0,20);this._notifyEventsDiscarded(n,O);return!0}t++}return!1};t.prototype._batchEvents=function(e,t){void 0===t&&(t=this._batcher);for(var n=D.e.RealTime;n>=e;){for(;this._inboundQueues[n][0].length>0;){var r=this._inboundQueues[n][0].pop();this._queueSize--;t.addEventToBatch(r)}n--}t.flushBatch()};t.prototype._flushImpl=function(e,t,n){var r=this;this._hasEvents()&&this._sendEventsForLatencyAndAbove(D.e.Normal,t,n);this._checkOutboundQueueEmptyAndSent(function(){r._removeFirstQueues();null!=e&&e();if(r._flushQueue.length>0)r._flushCallback=r._setTimeoutOverride(function(){return r._flushImpl(r._flushQueue.shift(),t,n)},0);else{r._isCurrentlyFlushingNow=!1;r._hasEvents()&&r._scheduleTimer()}})};t.prototype._checkOutboundQueueEmptyAndSent=function(e){var t=this;this._httpManager.isCompletelyIdle()?e():this._flushCallback=this._setTimeoutOverride(function(){return t._checkOutboundQueueEmptyAndSent(e)},250)};t.prototype._notifyEventsDiscarded=function(e,t){var n=this._notificationManager;n&&n.eventsDiscarded&&n.eventsDiscarded(e,t)};t.prototype._resetTransmitProfiles=function(){this._clearTimeout();this._initializeProfiles();this._currentProfile="REAL_TIME";this._scheduleTimer()};t.prototype._initializeProfiles=function(){this._profiles={};this._profiles.REAL_TIME=[2,1];this._profiles.NEAR_REAL_TIME=[6,3];this._profiles.BEST_EFFORT=[18,9]};return t})(v);function le(e,t,n,r){void 0===r&&(r=!1);var i=0;for(var s in e)e.hasOwnProperty(s)&&(i+=e[s].length);var o=performance.now();te(e,t,n,r);ie(performance.now()-o,i)}function ce(e,t,n){ne(e,t,n);se(e.data.length)}function he(e,t){re(e,t);e.data&&"string"==typeof e.data&&se(e.data.length)}var pe,de,ve,me,ge,ye,be=(pe=function(e,t){return(pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){pe(e,t);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),we=(function(e){be(t,e);function t(){return null!==e&&e.apply(this,arguments)||this}t.prototype.initialize=function(t,n){this._postChannel=new fe;var r=[];n&&(r=r.concat(n));t.channels=[[this._postChannel]];t.extensionConfig=t.extensionConfig||[];t.extensionConfig[this._postChannel.identifier]=t.channelConfiguration?t.channelConfiguration:{};try{e.prototype.initialize.call(this,t,r)}catch(e){this.logger.warnToConsole("Failed to initialize SDK."+e)}};t.prototype.addInstrumentation=function(e){this._postChannel&&e&&((function(e,t,n){if(!e._httpManager)return!1;var r=e._httpManager;if(!(r&&r._httpInterface&&r._sendRequest&&r._sendUsingBeacons))return!1;te=r._sendRequest.bind(r);r._sendRequest=le;var i=r._httpInterface;ne=i.sendPOST.bind(r);i.sendPOST=ce;re=r._sendUsingBeacons.bind(r);r._sendUsingBeacons=he;ie=t;se=n;return!0})(this._postChannel,e.requestProcessingStats,e.networkStats)||Object(r.r)(r.t.Error,r.e.Sink,function(){return"Failed to instrument 1DS delivery task"}))};t.prototype.setUploadFrequency=function(e){if(this._postChannel&&e){var t=e/1e3,n=t/2,r={};r.OTelCustomTransmissionProfile=[t,n];this._postChannel._loadTransmitProfiles(r);this._postChannel._setTransmitProfile("OTelCustomTransmissionProfile")}};t.prototype.connectNotificationListener=function(e){e&&this.addNotificationListener(e)};t.prototype.flush=function(e){this._postChannel&&this._postChannel.flush(e)};t.prototype.shutdown=function(){this._postChannel&&this._postChannel.teardown()};return t})(H);(function(e){e[e.NotSet=0]="NotSet";e[e.Measure=1]="Measure";e[e.Diagnostics=2]="Diagnostics";e[e.CriticalBusinessImpact=191]="CriticalBusinessImpact";e[e.CriticalCensus=192]="CriticalCensus";e[e.CriticalExperimentation=193]="CriticalExperimentation";e[e.CriticalUsage=194]="CriticalUsage"})(de||(de={}));(function(e){e[e.NotSet=0]="NotSet";e[e.Normal=1]="Normal";e[e.High=2]="High"})(ve||(ve={}));(function(e){e[e.NotSet=0]="NotSet";e[e.Normal=1]="Normal";e[e.High=2]="High"})(me||(me={}));(function(e){e[e.NotSet=0]="NotSet";e[e.SoftwareSetup=1]="SoftwareSetup";e[e.ProductServiceUsage=2]="ProductServiceUsage";e[e.ProductServicePerformance=4]="ProductServicePerformance";e[e.DeviceConfiguration=8]="DeviceConfiguration";e[e.InkingTypingSpeech=16]="InkingTypingSpeech"})(ge||(ge={}));(function(e){e[e.ReservedDoNotUse=0]="ReservedDoNotUse";e[e.BasicEvent=10]="BasicEvent";e[e.FullEvent=100]="FullEvent";e[e.NecessaryServiceDataEvent=110]="NecessaryServiceDataEvent";e[e.AlwaysOnNecessaryServiceDataEvent=120]="AlwaysOnNecessaryServiceDataEvent"})(ye||(ye={}));var Ee,Se=(function(){function e(){this._fullEventsEnabled=!1}e.prototype.processEvent=function(e){if(!this._fullEventsEnabled&&!e.eventFlags)throw new Error(e.eventName+" missing Event Flags");var t=this._fullEventsEnabled||!!e.eventFlags&&(e.eventFlags.diagnosticLevel===ye.BasicEvent||e.eventFlags.diagnosticLevel===ye.NecessaryServiceDataEvent||e.eventFlags.diagnosticLevel===ye.AlwaysOnNecessaryServiceDataEvent);t||Object(r.r)(r.t.Info,r.e.Sink,function(){return"1DS Data Classification Failed to Send: "+e.eventName});return t};e.prototype.setFullEventsEnabled=function(e){this._fullEventsEnabled=e};return e})(),xe=n(85),Te=(function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}})(),Ne=function(){return(Ne=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)},Ce=(function(e){Te(t,e);function t(){var t=null!==e&&e.apply(this,arguments)||this;t.identifier="PartAPlugin";t.priority=3;t._properties={};return t}t.prototype.initialize=function(t,n,r){e.prototype.initialize.call(this,t,n,r)};t.prototype.processTelemetry=function(e,t){e.data=Ne(Ne({},e.data),this._properties);var n=this._getTelCtx(t);this.processNext(e,n)};t.prototype.setProperties=function(e){this._properties=Ne(Ne({},this._properties),e)};return t})(v),ke=n(184);(Ee||(Ee={})).newGuid=function(){return Object(ke.v4)()};var Le=(function(){function e(e,t){this.eventsProcessed=0;this.eventsSent=0;this.eventsDiscarded=0;this._persistentDataFields=[];this._preprocessors=[];this._partADataFieldsPlugin=new Ce;this.setPersistentDataFields(e);this._oneDSSinkSessionId=Ee.newGuid();this._epoch=(new Date).getTime().toString();this._applicationInsights=new we;this._applicationInsights.initialize({instrumentationKey:xe.e,endpointUrl:t.endpointUrl,channelConfiguration:{eventsLimitInMem:t.eventsLimitInMem,httpXHROverride:t.httpXHROverride,setTimeoutOverride:t.setTimeoutOverride,clearTimeoutOverride:t.clearTimeoutOverride}},[this._partADataFieldsPlugin]);this._applicationInsights.setUploadFrequency(t.uploadFrequency);this._applicationInsights.connectNotificationListener(t.notificationListener);this._applicationInsights.addInstrumentation(t.stats);t.disableStatsTracking||this.hookUp1DSNotifications(this._applicationInsights);this._dataClassificationChecker=new Se;this.addPreprocessor(this._dataClassificationChecker)}e.prototype.sendTelemetryEvent=function(e,t){try{for(var n=0;n<this._preprocessors.length;n++)if(!this._preprocessors[n].processEvent(e))return;this.sendEventInternal(e,t)}catch(e){Object(r.n)(r.e.Sink,"1DS Sink",e)}};e.prototype.getPersistentDataFields=function(){return this._persistentDataFields};e.prototype.setPersistentDataFields=function(e){this._partADataFieldsPlugin.setProperties(Object(xe.n)(e,!1));this._persistentDataFields=e};e.prototype.addPreprocessor=function(e){this._preprocessors.push(e)};e.prototype.setFullEventsEnabled=function(e){this._dataClassificationChecker.setFullEventsEnabled(e)};e.prototype.sendEventInternal=function(e,t){this.eventsProcessed++;if(!e.telemetryProperties||!e.telemetryProperties.ariaTenantToken)throw new Error("Missing Aria Tenant Token");var n=Object(xe.t)(e,this._oneDSSinkSessionId,t);this._applicationInsights.track({iKey:e.telemetryProperties.ariaTenantToken,name:e.eventName,data:n,time:(new Date).toISOString(),baseType:"EventData",ext:{sdk:{seq:n?n["Event.Sequence"]:1,epoch:this._epoch}}})};e.prototype.hookUp1DSNotifications=function(e){var t=this;e.addNotificationListener({eventsSent:function(e){Object(r.r)(r.t.Info,r.e.Transport,function(){return"Successfully sent "+e.length+" event(s)"});Object(r.r)(r.t.Verbose,r.e.Transport,function(){return"Sent event(s) details : "+JSON.stringify(e,null,2)});t.eventsSent+=e.length},eventsDiscarded:function(e,n){Object(r.r)(r.t.Error,r.e.Transport,function(){return"Discarded "+e.length+" event(s) because "+n});Object(r.r)(r.t.Verbose,r.e.Transport,function(){return"Discarded event(s) details : "+JSON.stringify(e,null,2)});t.eventsDiscarded+=e.length}})};e.prototype.flush=function(e){this._applicationInsights.flush(e)};e.prototype.shutdown=function(){try{this._applicationInsights.shutdown()}catch(e){Object(r.r)(r.t.Error,r.e.Transport,function(){return"An error occurred on shutdown"})}};return e})()},function(e,t,n){"use strict";n.r(t);n.d(t,"Dialog",function(){return O});n.d(t,"DialogBase",function(){return L});n.d(t,"DialogContent",function(){return T});n.d(t,"DialogContentBase",function(){return S});n.d(t,"DialogFooter",function(){return b});n.d(t,"DialogFooterBase",function(){return m});n.d(t,"ResponsiveMode",function(){return f.e});n.d(t,"DialogType",function(){return r});n.d(t,"default",function(){return O});var r,i=n(297),s=n(1),o=n("react-lib"),u=n(281),a=n(282),f=n(37);(function(e){e[e.normal=0]="normal";e[e.largeHeader=1]="largeHeader";e[e.close=2]="close"})(r||(r={}));var l=n(290),c=n(294),h=n(188),p=n(86),d=n(117),v=Object(u.e)(),m=(function(e){Object(s.n)(t,e);function t(t){var n=e.call(this,t)||this;Object(c.e)(n);return n}t.prototype.render=function(){var e=this.props,t=e.className,n=e.styles,r=e.theme;this._classNames=v(n,{theme:r,className:t});return o.createElement("div",{className:this._classNames.actions},o.createElement("div",{className:this._classNames.actionsRight},this._renderChildrenAsActions()))};t.prototype._renderChildrenAsActions=function(){var e=this;return o.Children.map(this.props.children,function(t){return t?o.createElement("span",{className:e._classNames.action},t):null})};return t})(o.Component),g=n(3),y={actions:"ms-Dialog-actions",action:"ms-Dialog-action",actionsRight:"ms-Dialog-actionsRight"},b=Object(i.e)(m,function(e){var t=e.className,n=e.theme,r=Object(g.v)(y,n);return{actions:[r.actions,{position:"relative",width:"100%",minHeight:"24px",lineHeight:"24px",margin:"16px 0 0",fontSize:"0",selectors:{".ms-Button":{lineHeight:"normal"}}},t],action:[r.action,{margin:"0 4px"}],actionsRight:[r.actionsRight,{textAlign:"right",marginRight:"-4px",fontSize:"0"}]}},void 0,{scope:"DialogFooter"}),w=Object(u.e)(),E=o.createElement(b,null).type,S=(function(e){Object(s.n)(t,e);function t(t){var n=e.call(this,t)||this;Object(c.e)(n);Object(h.e)("DialogContent",t,{titleId:"titleProps.id"});return n}t.prototype.render=function(){var e,t=this.props,n=t.showCloseButton,i=t.className,u=t.closeButtonAriaLabel,a=t.onDismiss,f=t.subTextId,l=t.subText,c=t.titleProps,h=void 0===c?{}:c,v=t.titleId,m=t.title,g=t.type,y=t.styles,b=t.theme,E=t.draggableHeaderClassName,S=w(y,{theme:b,className:i,isLargeHeader:g===r.largeHeader,isClose:g===r.close,draggableHeaderClassName:E}),x=this._groupChildren();l&&(e=o.createElement("p",{className:S.subText,id:f},l));return o.createElement("div",{className:S.content},o.createElement("div",{className:S.header},o.createElement("div",Object(s.e)({id:v,role:"heading","aria-level":1},h,{className:Object(p.e)(S.title,h.className)}),m),o.createElement("div",{className:S.topButton},this.props.topButtonsProps.map(function(e,t){return o.createElement(d.e,Object(s.e)({key:e.uniqueId||t},e))}),(g===r.close||n&&g!==r.largeHeader)&&o.createElement(d.e,{className:S.button,iconProps:{iconName:"Cancel"},ariaLabel:u,onClick:a}))),o.createElement("div",{className:S.inner},o.createElement("div",{className:S.innerContent},e,x.contents),x.footers))};t.prototype._groupChildren=function(){var e={footers:[],contents:[]};o.Children.map(this.props.children,function(t){"object"==typeof t&&null!==t&&t.type===E?e.footers.push(t):e.contents.push(t)});return e};t.defaultProps={showCloseButton:!1,className:"",topButtonsProps:[],closeButtonAriaLabel:"Close"};return t=Object(s.t)([f.t],t)})(o.Component),x={contentLgHeader:"ms-Dialog-lgHeader",close:"ms-Dialog--close",subText:"ms-Dialog-subText",header:"ms-Dialog-header",headerLg:"ms-Dialog--lgHeader",button:"ms-Dialog-button ms-Dialog-button--close",inner:"ms-Dialog-inner",content:"ms-Dialog-content",title:"ms-Dialog-title"},T=Object(i.e)(S,function(e){var t,n,r,i=e.className,s=e.theme,o=e.isLargeHeader,u=e.isClose,a=e.hidden,f=e.isMultiline,l=e.draggableHeaderClassName,c=s.palette,h=s.fonts,p=s.effects,d=s.semanticColors,v=Object(g.v)(x,s);return{content:[o&&[v.contentLgHeader,{borderTop:"4px solid "+c.themePrimary}],u&&v.close,{flexGrow:1,overflowY:"hidden"},i],subText:[v.subText,h.medium,{margin:"0 0 24px 0",color:d.bodySubtext,lineHeight:"1.5",wordWrap:"break-word",fontWeight:g.n.regular}],header:[v.header,{position:"relative",width:"100%",boxSizing:"border-box"},u&&v.close,l&&[l,{cursor:"move"}]],button:[v.button,a&&{selectors:{".ms-Icon.ms-Icon--Cancel":{color:d.buttonText,fontSize:g.i.medium}}}],inner:[v.inner,{padding:"0 24px 24px",selectors:(t={},t["@media (min-width: "+g.a+"px) and (max-width: "+g.o+"px)"]={padding:"0 16px 16px"},t)}],innerContent:[v.content,{position:"relative",width:"100%"}],title:[v.title,h.xLarge,{color:d.bodyText,margin:"0",minHeight:h.xLarge.fontSize,padding:"16px 46px 20px 24px",lineHeight:"normal",selectors:(n={},n["@media (min-width: "+g.a+"px) and (max-width: "+g.o+"px)"]={padding:"16px 46px 16px 16px"},n)},o&&{color:d.menuHeader},f&&{fontSize:h.xxLarge.fontSize}],topButton:[{display:"flex",flexDirection:"row",flexWrap:"nowrap",position:"absolute",top:"0",right:"0",padding:"15px 15px 0 0",selectors:(r={"> *":{flex:"0 0 auto"},".ms-Dialog-button":{color:d.buttonText},".ms-Dialog-button:hover":{color:d.buttonTextHovered,borderRadius:p.roundedCorner2}},r["@media (min-width: "+g.a+"px) and (max-width: "+g.o+"px)"]={padding:"15px 8px 0 0"},r)}]}},void 0,{scope:"DialogContent"}),N=Object(u.e)(),C={isDarkOverlay:!1,isBlocking:!1,className:"",containerClassName:"",topOffsetFixed:!1},k={type:r.normal,className:"",topButtonsProps:[]},L=(function(e){Object(s.n)(t,e);function t(t){var n=e.call(this,t)||this;n._getSubTextId=function(){var e=n.props,t=e.ariaDescribedById,r=e.modalProps,i=e.dialogContentProps,s=e.subText,o=r&&r.subtitleAriaId||t;o||(o=(i&&i.subText||s)&&n._defaultSubTextId);return o};n._getTitleTextId=function(){var e=n.props,t=e.ariaLabelledById,r=e.modalProps,i=e.dialogContentProps,s=e.title,o=r&&r.titleAriaId||t;o||(o=(i&&i.title||s)&&n._defaultTitleTextId);return o};n._id=Object(a.e)("Dialog");n._defaultTitleTextId=n._id+"-title";n._defaultSubTextId=n._id+"-subText";0;return n}t.prototype.render=function(){var e,t,n,r,i=this.props,u=i.className,a=i.containerClassName,f=i.contentClassName,c=i.elementToFocusOnDismiss,h=i.firstFocusableSelector,p=i.forceFocusInsideTrap,d=i.styles,v=i.hidden,m=i.ignoreExternalFocusing,g=i.isBlocking,y=i.isClickableOutsideFocusTrap,b=i.isDarkOverlay,w=i.isOpen,E=i.onDismiss,S=i.onDismissed,x=i.onLayerDidMount,L=i.responsiveMode,A=i.subText,O=i.theme,M=i.title,_=i.topButtonsProps,D=i.type,P=i.minWidth,H=i.maxWidth,B=i.modalProps,j=Object(s.e)({},B?B.layerProps:{onLayerDidMount:x});x&&!j.onLayerDidMount&&(j.onLayerDidMount=x);if(B&&B.dragOptions&&!B.dragOptions.dragHandleSelector){n="ms-Dialog-draggable-header";r=Object(s.e)(Object(s.e)({},B.dragOptions),{dragHandleSelector:"."+n})}else r=B&&B.dragOptions;var F=Object(s.e)(Object(s.e)(Object(s.e)(Object(s.e)({},C),{className:u,containerClassName:a,isBlocking:g,isDarkOverlay:b,onDismissed:S}),B),{layerProps:j,dragOptions:r}),I=Object(s.e)(Object(s.e)(Object(s.e)({className:f,subText:A,title:M,topButtonsProps:_,type:D},k),this.props.dialogContentProps),{draggableHeaderClassName:n,titleProps:Object(s.e)({id:(null===(e=this.props.dialogContentProps)||void 0===e?void 0:e.titleId)||this._defaultTitleTextId},null===(t=this.props.dialogContentProps)||void 0===t?void 0:t.titleProps)}),q=N(d,{theme:O,className:F.className,containerClassName:F.containerClassName,hidden:v,dialogDefaultMinWidth:P,dialogDefaultMaxWidth:H});return o.createElement(l.e,Object(s.e)({elementToFocusOnDismiss:c,firstFocusableSelector:h,forceFocusInsideTrap:p,ignoreExternalFocusing:m,isClickableOutsideFocusTrap:y,responsiveMode:L},F,{isOpen:void 0!==w?w:!v,className:q.root,containerClassName:q.main,onDismiss:E||F.onDismiss,subtitleAriaId:this._getSubTextId(),titleAriaId:this._getTitleTextId()}),o.createElement(T,Object(s.e)({subTextId:this._defaultSubTextId,showCloseButton:F.isBlocking,onDismiss:E},I),this.props.children))};t.defaultProps={hidden:!0};return t=Object(s.t)([f.t],t)})(o.Component),A={root:"ms-Dialog"},O=Object(i.e)(L,function(e){var t,n=e.className,r=e.containerClassName,i=e.dialogDefaultMinWidth,s=void 0===i?"288px":i,o=e.dialogDefaultMaxWidth,u=void 0===o?"340px":o,a=e.hidden,f=e.theme;return{root:[Object(g.v)(A,f).root,f.fonts.medium,n],main:[{width:s,outline:"3px solid transparent",selectors:(t={},t["@media (min-width: "+g.u+"px)"]={width:"auto",maxWidth:u,minWidth:s},t)},!a&&{display:"flex"},r]}},void 0,{scope:"Dialog"});O.displayName="Dialog"},function(e,t,n){"use strict";n.d(t,"e",function(){return a});var r=n(43),i=n(73);function s(e,t){return{name:e,dataType:r.e.String,value:t,classification:i.e.SystemMetadata}}var o=n(300),u=n(85),a=(function(){function e(e,t){this._totalEventsInLastInterval=0;this._singleEventInLastInterval={};this._sinkName=e;this._lastIntervalStart=Date.now();this._maxNamedEventsPerSecond={};this._oneDSSink=t}e.prototype.setSingleEventThrottle=function(e){this._maxSingleEventPerSecond=e};e.prototype.setTotalEventThrottle=function(e){this._maxTotalEventsPerSecond=e};e.prototype.setNamedEventThrottle=function(e,t){this._maxNamedEventsPerSecond[e]=t};e.prototype.processEvent=function(e){var t=!0;if(Date.now()-this._lastIntervalStart>1e3){this._lastIntervalStart=Date.now();this._totalEventsInLastInterval=0;this._singleEventInLastInterval={}}this._singleEventInLastInterval[e.eventName]=this._singleEventInLastInterval[e.eventName]+1||1;e.eventName in this._maxNamedEventsPerSecond?t=this.applyThrottle(this._singleEventInLastInterval[e.eventName],this._maxNamedEventsPerSecond[e.eventName],"MaxNamedEventsPerSecond",e.eventName):this._maxSingleEventPerSecond&&(t=this.applyThrottle(this._singleEventInLastInterval[e.eventName],this._maxSingleEventPerSecond,"MaxSingleEventsPerSecond",e.eventName));if(this._maxTotalEventsPerSecond){this._totalEventsInLastInterval++;t&&(t=this.applyThrottle(this._totalEventsInLastInterval,this._maxTotalEventsPerSecond,"MaxTotalEventsPerSecond",e.eventName))}return t};e.prototype.applyThrottle=function(e,t,n,a){if(e>t){if(e===t+1){var f={eventName:"Office.Telemetry.OTelJS.EventThrottled",telemetryProperties:{ariaTenantToken:u.e,nexusTenantToken:1723},dataFields:[s("SinkName",this._sinkName),s("ThrottledEvent.Name",a),(l=n,c=t,{name:l,dataType:r.e.Int64,value:c,classification:i.e.SystemMetadata})]};this._oneDSSink.sendEventInternal(f)}Object(o.r)(o.t.Info,o.e.Sink,function(){return"1DS Sink Event Throttle: Exceeded "+t+" "+n+": "+a});return!1}var l,c;return!0};return e})()},function(e,t,n){"use strict";n.d(t,"e",function(){return i});var r;(function(e){e[e.absolute=0]="absolute";e[e.relative=1]="relative";e[e.serverRelative=2]="serverRelative";e[e.dataUrl=3]="dataUrl"})(r||(r={}));var i=function(e,t){void 0===e&&(e="");void 0===t&&(t=!1);var n=e.indexOf("//"),i=e.indexOf("/"),o=n>-1&&n<=i?n+"//".length:-1,u=(function(e,t){if(t>-1){var n=e.indexOf("/",t);return n>-1?e.slice(0,n):e}return""})(e,o),a=u&&u.slice(o),f=e.slice(u.length),l=u?r.absolute:t&&s.test(e)?r.dataUrl:"/"===f[0]?r.serverRelative:r.relative,c=f.split("/");this.authority=u;this.domain=a;this.format=l;this.path=f;this.segments=c;this.value=e},s=/^data:((?:\w+\/(?:(?!;).)+)?)((?:;[\w\W]*?[^;])*),(.+)$/},function(e,t,n){"use strict";n.d(t,"t",function(){return r});n.d(t,"e",function(){return i});function r(e,t){for(var n in e)if(e.hasOwnProperty(n)&&(!t.hasOwnProperty(n)||t[n]!==e[n]))return!1;for(var n in t)if(t.hasOwnProperty(n)&&!e.hasOwnProperty(n))return!1;return!0}function i(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return s.apply(this,[null,e].concat(t))}function s(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];t=t||{};for(var i=0,s=n;i<s.length;i++){var o=s[i];if(o)for(var u in o)!o.hasOwnProperty(u)||e&&!e(u)||(t[u]=o[u])}return t}},function(e,t,n){"use strict";n.d(t,"e",function(){return s});var r=n(12),i=0,s=(function(){function e(){}e.getValue=function(e,t){var n=o();void 0===n[e]&&(n[e]="function"==typeof t?t():t);return n[e]};e.setValue=function(e,t){var n=o(),r=n.__callbacks__,i=n[e];if(t!==i){n[e]=t;var s={oldValue:i,value:t,key:e};for(var u in r)r.hasOwnProperty(u)&&r[u](s)}return t};e.addChangeListener=function(e){var t=e.__id__,n=u();t||(t=e.__id__=String(i++));n[t]=e};e.removeChangeListener=function(e){delete u()[e.__id__]};return e})();function o(){var e,t=Object(r.e)()||{};t.__globalSettings__||(t.__globalSettings__=((e={}).__callbacks__={},e));return t.__globalSettings__}function u(){return o().__callbacks__}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(143),i=n(144),s=n(215),o=n(146),u=n(220),a=n(176),f=(function(){function e(t,n){void 0===n&&(n=null);window.addEventListener("storage",function(){e.prototype.enableAutomaticPopup&&e.prototype.showPrompt("Unspecified")});e.prototype.appendLoginHint=!1;e.prototype.enableConsoleLog=!1;u.MultiAccountSessionTrackerState.prototype.enableConsoleLog=e.prototype.enableConsoleLog;e.prototype.enablePageRedirect=!1;e.prototype.enableAutomaticPopup=!0;e.prototype.appFriendlyName=o.Constants.removeWWW(window.location.hostname);e.prototype.updateConfiguration(t);null==t.mastPromptLocalizedStrings&&r.LoggingUtils.error("MAST component initialization failed because there is no valid localized strings provided.",e.prototype.enableConsoleLog);null!=n&&e.prototype.setCallbacks(n);s.TelemetryUtils.setUpTelemetryLogger();s.TelemetryUtils.logTelemetryEventForLoad(e.prototype.appFriendlyName);r.LoggingUtils.log("Successfully initialized MAST component with provided configurations.",e.prototype.enableConsoleLog)}e.prototype.updateConfiguration=function(t){if(null==t)return!1;null!=t.appendLoginHint&&(e.prototype.appendLoginHint=t.appendLoginHint);null!=t.enablePageRedirect&&(e.prototype.enablePageRedirect=t.enablePageRedirect);null!=t.enableAutomaticPopup&&(e.prototype.enableAutomaticPopup=t.enableAutomaticPopup);if(null!=t.enableConsoleLogging){e.prototype.enableConsoleLog=t.enableConsoleLogging;u.MultiAccountSessionTrackerState.prototype.enableConsoleLog=e.prototype.enableConsoleLog}null!=t.mastPromptLocalizedStrings&&(e.prototype.mastPromptLocalizedStrings=t.mastPromptLocalizedStrings);i.StringUtils.isEmpty(t.appFriendlyName)||(e.prototype.appFriendlyName=t.appFriendlyName);i.StringUtils.isEmpty(t.postAccountSwitchRedirectUri)||(e.prototype.postAccountSwitchRedirectUri=t.postAccountSwitchRedirectUri);i.StringUtils.isEmpty(t.postLogoutRedirectUri)||(e.prototype.postLogoutRedirectUri=t.postLogoutRedirectUri);r.LoggingUtils.log("Successfully updated MAST component with provided configurations.",e.prototype.enableConsoleLog)};e.prototype.setCallbacks=function(t){null!=t?e.prototype.customCallbacks=t:r.LoggingUtils.error("Failed to set custom callback functions because provided callback object is null.",e.prototype.enableConsoleLog)};e.prototype.getSwitchAccountPromptDescription=function(t){return i.StringUtils.isEmpty(t)?i.StringUtils.formatString(e.prototype.mastPromptLocalizedStrings.switchAccountDescriptionWithoutUpn,e.prototype.mastPromptLocalizedStrings.appFriendlyName):i.StringUtils.formatString(e.prototype.mastPromptLocalizedStrings.switchAccountDescriptionWithUpn,t,e.prototype.mastPromptLocalizedStrings.appFriendlyName)};e.prototype.getSignOutPromptDescription=function(t){return i.StringUtils.isEmpty(t)?i.StringUtils.formatString(e.prototype.mastPromptLocalizedStrings.signOutDescriptionWithoutUpn,e.prototype.mastPromptLocalizedStrings.appFriendlyName):i.StringUtils.formatString(e.prototype.mastPromptLocalizedStrings.signOutDescriptionWithUpn,t,e.prototype.mastPromptLocalizedStrings.appFriendlyName)};e.prototype.onRefreshButtonClick=function(t,n){void 0===n&&(n=e.prototype.customCallbacks);null!=n&&null!=n.afterSwitchAccountButtonClickCallbackFunction&&n.afterSwitchAccountButtonClickCallbackFunction();var r=window.sessionStorage.getItem(o.Constants.PersistentCacheKeys.ActiveAccountIdentifierKey)||"";s.TelemetryUtils.logTelemetryEventForPrompt(r,e.prototype.appFriendlyName,s.TelemetryUtils.SwitchAccount,!0);e.prototype.enablePageRedirect&&location.assign(t)};e.prototype.getSwitchAccountRedirectUri=function(t,n,r){void 0===r&&(r=e.prototype.customCallbacks);var s=i.StringUtils.isEmpty(e.prototype.postAccountSwitchRedirectUri)?window.location.href:e.prototype.postAccountSwitchRedirectUri;null!=r&&null!=r.modifySwitchAccountRedirectUriFunction&&(s=r.modifySwitchAccountRedirectUriFunction(t,n,s));if(e.prototype.appendLoginHint&&!i.StringUtils.isEmpty(n.upn)&&-1===s.indexOf(o.Constants.Web.LoginHintQueryString)){var u=-1===s.indexOf("?")?"?":"&";s=s+"\n\t\t\t\t"+u+"\n\t\t\t\t"+o.Constants.Web.LoginHintQueryString+"\n\t\t\t\t"+n.upn}return s};e.prototype.onSignoutButtonClick=function(t,n){void 0===n&&(n=e.prototype.customCallbacks);null!=n&&null!=n.afterSignOutButtonClickCallbackFunction&&n.afterSignOutButtonClickCallbackFunction();var r=window.sessionStorage.getItem(o.Constants.PersistentCacheKeys.ActiveAccountIdentifierKey)||"";s.TelemetryUtils.logTelemetryEventForPrompt(r,e.prototype.appFriendlyName,s.TelemetryUtils.SignOut,!0);e.prototype.enablePageRedirect&&location.assign(t)};e.prototype.getSignoutRedirectUri=function(t,n){void 0===n&&(n=e.prototype.customCallbacks);var r=i.StringUtils.isEmpty(e.prototype.postLogoutRedirectUri)?window.location.href:e.prototype.postLogoutRedirectUri;null!=n&&null!=n.modifySignoutRedirectUriFunction&&(r=n.modifySignoutRedirectUriFunction(t,r));return r};e.prototype.showPrompt=function(t){var n=window.sessionStorage.getItem(o.Constants.PersistentCacheKeys.ActiveAccountIdentifierKey)||"",r=u.MultiAccountSessionTrackerState.prototype.getMostRecentActiveAccount();switch(t){case"Unspecified":if(i.StringUtils.isEmpty(n))return;if(i.StringUtils.isEmpty(r)){e.prototype.renderSignOutPrompt();return}r!==window.sessionStorage.getItem(o.Constants.PersistentCacheKeys.ActiveAccountIdentifierKey)&&e.prototype.renderSwitchAccountPrompt(r);break;case"SignOut":e.prototype.renderSignOutPrompt();break;case"SwitchAccount":e.prototype.renderSwitchAccountPrompt(r)}};e.prototype.renderSwitchAccountPrompt=function(t,n){void 0===n&&(n=e.prototype.customCallbacks);null!=n&&null!=n.beforeSwitchAccountPromptCallbackFunction&&n.beforeSwitchAccountPromptCallbackFunction();var a=JSON.parse(window.localStorage.getItem(t)||"[]"),f=window.sessionStorage.getItem(o.Constants.PersistentCacheKeys.ActiveAccountIdentifierKey)||"",l=JSON.parse(window.localStorage.getItem(f)||"[]"),c=e.prototype.getSwitchAccountRedirectUri(l,a,n),h={title:e.prototype.mastPromptLocalizedStrings.switchAccountTitle,description:e.prototype.getSwitchAccountPromptDescription(i.StringUtils.isEmpty(a.upn)?"":a.upn),subDescription:e.prototype.mastPromptLocalizedStrings.switchAccountSubDescription,buttonText:e.prototype.mastPromptLocalizedStrings.switchAccountButtonText,divName:o.Constants.BlockingPromptStrings.DivName,buttonClickFunction:function(){return e.prototype.onRefreshButtonClick(c,n)}};e.prototype.renderPrompt(h);u.MultiAccountSessionTrackerState.prototype.refreshPage(c);null!=n&&null!=n.afterSwitchAccountPromptCallbackFunction&&n.afterSwitchAccountPromptCallbackFunction();s.TelemetryUtils.logTelemetryEventForPrompt(f,e.prototype.appFriendlyName,s.TelemetryUtils.SwitchAccount);r.LoggingUtils.log("Successfully shown switch account prompt.",e.prototype.enableConsoleLog)};e.prototype.renderSignOutPrompt=function(t){void 0===t&&(t=e.prototype.customCallbacks);null!=t&&null!=t.beforeSignOutPromptCallbackFunction&&t.beforeSignOutPromptCallbackFunction();var n=a.MultiAccountSessionTrackerLogout.prototype.getSignedOutAccountData(),f=a.MultiAccountSessionTrackerLogout.prototype.getMostRecentSignedOutAccount(),l=e.prototype.getSignoutRedirectUri(n,t),c={title:e.prototype.mastPromptLocalizedStrings.signOutTitle,description:e.prototype.getSignOutPromptDescription(i.StringUtils.isEmpty(n.upn)?"":n.upn),subDescription:e.prototype.mastPromptLocalizedStrings.signOutSubDescription,buttonText:e.prototype.mastPromptLocalizedStrings.signOutButtonText,divName:o.Constants.BlockingPromptStrings.DivName,buttonClickFunction:function(){return e.prototype.onSignoutButtonClick(l,t)}};e.prototype.renderPrompt(c);u.MultiAccountSessionTrackerState.prototype.signOutPage(l,n.sessionId);null!=t&&null!=t.afterSignOutPromptCallbackFunction&&t.afterSignOutPromptCallbackFunction();s.TelemetryUtils.logTelemetryEventForPrompt(f,e.prototype.appFriendlyName,s.TelemetryUtils.SignOut);r.LoggingUtils.log("Successfully shown sign out prompt.",e.prototype.enableConsoleLog)};e.prototype.renderPrompt=function(t){if(null!=window.MastUI)window.MastUI.MultiAccountSessionTrackerRenderPrompt(t);else{if(null==window.LoadMastPromptJs){r.LoggingUtils.error("Can't find the declaration of the prompt. Not showing prompt.",e.prototype.enableConsoleLog);return}window.LoadMastPromptJs.Download(function(){return window.MastUI.MultiAccountSessionTrackerRenderPrompt(t)})}};return e})();t.MultiAccountSessionTracker=f;window.MastInteraction={UpdateConfiguration:f.prototype.updateConfiguration,SetCallbacks:f.prototype.setCallbacks,ClearAccountState:u.MultiAccountSessionTrackerState.prototype.clearAccountState,GetMostRecentActiveAccount:u.MultiAccountSessionTrackerState.prototype.getMostRecentActiveAccount,SetActiveAccount:u.MultiAccountSessionTrackerState.prototype.setActiveAccount,UpdateAccount:u.MultiAccountSessionTrackerState.prototype.updateAccount,RefreshPage:u.MultiAccountSessionTrackerState.prototype.refreshPage,SignOutPage:u.MultiAccountSessionTrackerState.prototype.signOutPage,ShowPrompt:f.prototype.showPrompt}},function(e,t,n){var r=n(218),i=n(219),s=i;s.v1=r;s.v4=i;e.exports=s},function(e,t,n){"use strict";n.d(t,"e",function(){return u});n(25);var r,i=n(24),s=n(84),o=n(50);function u(e){void 0===e&&(e={});if(void 0!==e.rtl)return e.rtl;if(void 0===r){var t=Object(s.e)("isRTL");null!==t&&(function(e,t){void 0===t&&(t=!1);var n=Object(i.e)();n&&n.documentElement.setAttribute("dir",e?"rtl":"ltr");t&&Object(s.t)("isRTL",e?"1":"0");r=e;Object(o.t)(r)})(r="1"===t);var n=Object(i.e)();if(void 0===r&&n){r="rtl"===(n.body&&n.body.getAttribute("dir")||n.documentElement.getAttribute("dir"));Object(o.t)(r)}}return!!r}},function(e,t,n){"use strict";n.d(t,"e",function(){return r});function r(e,t){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}},function(e,t,n){"use strict";n.d(t,"e",function(){return r});n.d(t,"t",function(){return i});function r(e,t,n){var r=e.slice();r.splice(t,0,n);return r}function i(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}},function(e,t,n){"use strict";n.d(t,"e",function(){return r});function r(e,t,n){}},function(e,t,n){"use strict";n.d(t,"t",function(){return l});n.d(t,"e",function(){return c});var r=n(1),i=n("react-lib"),s=n(53),o=n(33),u=n(130),a=n(86),f=n(3),l=Object(o.t)(function(e){var t=Object(f.g)(e)||{subset:{},code:void 0},n=t.code,r=t.subset;return n?{children:n,iconClassName:r.className,fontFamily:r.fontFace&&r.fontFace.fontFamily,mergeImageProps:r.mergeImageProps}:null},void 0,!0),c=function(e){var t=e.iconName,n=e.className,o=e.style,f=void 0===o?{}:o,c=l(t)||{},h=c.iconClassName,p=c.children,d=c.fontFamily,v=c.mergeImageProps,m=Object(u.r)(e,u.i),g=e["aria-label"]||e.title,y=e["aria-label"]||e["aria-labelledby"]||e.title?{role:v?void 0:"img"}:{"aria-hidden":!0},b=p;v&&"object"==typeof p&&"object"==typeof p.props&&g&&(b=i.cloneElement(p,{alt:g}));return i.createElement("i",Object(r.e)({"data-icon-name":t},y,m,v?{title:void 0,"aria-label":void 0}:{},{className:Object(a.e)(s.e,s.t.root,h,!t&&s.t.placeholder,n),style:Object(r.e)({fontFamily:d},f)}),b)};Object(o.t)(function(e,t,n){return c({iconName:e,className:t,"aria-label":n})})},function(e,t,n){"use strict";n.d(t,"e",function(){return r});n(112);function r(e,t,n,r,i){}}],Array(20),[function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.RegisterUserActivity=void 0;var r=n(140),i=n(58),s=n(94),o=n(106),u=n(47),a=n(108),f=n(64),l=n(107),c=n(109),h=n(39);(function(e){var t="RegisterUserActivity";e.update=function(e){void 0===e&&(e=!1);u.LoggingUtils.log("Start registering an update activity.",t,"update",h.Global.gAbtSkipAriaLog);if(h.Global.gIsAbtInitialized){n(h.Global.gAbtUserId,h.Global.gAbtTimeout,s.AbtActions.update,e);o.ActivityUtils.startActivityChecks(h.Global.gAbtUserId);u.LoggingUtils.log("Finish registering an update activity.",t,"update",h.Global.gAbtSkipAriaLog)}else u.LoggingUtils.warn("Received update activity event but ABT is not initialized.",t,"update")};e.signIn=function(){u.LoggingUtils.log("Start registering a sign in activity.",t,"SignIn",h.Global.gAbtSkipAriaLog);if(h.Global.gIsAbtInitialized){n(h.Global.gAbtUserId,h.Global.gAbtTimeout,s.AbtActions.signIn,!0);o.ActivityUtils.startActivityChecks(h.Global.gAbtUserId);u.LoggingUtils.log("Finish registering a sign in activity.",t,"SignIn",h.Global.gAbtSkipAriaLog)}else u.LoggingUtils.warn("Received sign in event even when ABT is not initialized.",t,"SignIn")};e.signOut=function(){u.LoggingUtils.log("Start registering a sign out activity.",t,"signOut",h.Global.gAbtSkipAriaLog);if(h.Global.gIsAbtInitialized){(function(){var e="processSignOut";u.LoggingUtils.log("Start processing a sign out activity.",t,e,h.Global.gAbtSkipAriaLog);var n=f.LocalStorageUtils.convertActivitiesToRecords(f.LocalStorageUtils.getItemValue(i.AbtStorageId.abtActivity)),o={records:new Array};if(null==n||null==n.records||void 0===n.records||n.records.length<=0){u.LoggingUtils.warn("Didn't get data from local activities item.",t,e);f.LocalStorageUtils.tryDeleteItem(i.AbtStorageId.inFlight)||u.LoggingUtils.error("Failed to delete in-flight item.",t,e)}else for(var c=0,p=n.records;c<p.length;c++){var d=p[c];null!==d.userId&&void 0!==d.userId&&d.userId!==h.Global.gAbtUserId&&o.records.push(d)}o.records.length>0?f.LocalStorageUtils.tryCreateItem(i.AbtStorageId.abtActivity,JSON.stringify(o))||u.LoggingUtils.error("Failed to create item for activities.",t,e):f.LocalStorageUtils.tryDeleteItem(i.AbtStorageId.abtActivity)||u.LoggingUtils.error("Failed to delete item for activities.",t,e);a.InFlightUtils.isPresent()&&u.LoggingUtils.warn("In-flight item are still present even after waiting for "+r.AbtRegistration.timeToSleepInMsecs+" * "+r.AbtRegistration.maxAttempts+", override them",t,e);f.LocalStorageUtils.tryCreateItem(i.AbtStorageId.inFlight,i.AbtStorageValue.inFlight.toString())||u.LoggingUtils.warn("Failed to write in-Flight item.",t,e);l.RequestUtils.sendPostRequest(h.Global.gAbtUserId,0,h.Global.gAbtTimeout,s.AbtActions.signOut,a.InFlightUtils.deleteItem);u.LoggingUtils.log("Finish processing a sign out activity.",t,e,h.Global.gAbtSkipAriaLog)})();u.LoggingUtils.log("Finish registering a sign out activity.",t,"signOut",h.Global.gAbtSkipAriaLog)}else u.LoggingUtils.warn("Received sign out event even when ABT is not initialized.",t,"signOut")};function n(e,n,r,i){void 0===i&&(i=!1);var f="processActivity "+r;u.LoggingUtils.log("Start processing a sign in/update activity.",t,f,h.Global.gAbtSkipAriaLog);var p=(new Date).toUTCString(),d={userId:e.toUpperCase(),timeout:n,activityDateTime:p,broadcastedActivityDateTime:void 0};o.ActivityUtils.updateUserLocalRecords(d);(r==s.AbtActions.signIn||i)&&l.RequestUtils.sendPostRequest(e,0,d.timeout,s.AbtActions.signIn,a.InFlightUtils.deleteItem,d);c.PromptUtils.startPromptChecks(e);u.LoggingUtils.log("Finish processing a sign in/update activity.",t,f,h.Global.gAbtSkipAriaLog)}})(t.RegisterUserActivity||(t.RegisterUserActivity={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.AbtPromptValue=void 0;var r=(function(){function e(){}e.minPromptWindow=1;e.maxPromptWindow=10;e.percentageTimeout=10;return e})();t.AbtPromptValue=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.AbtInitOptions=void 0;var r=n(93),i=n(136),s=n(47),o=n(39),u=(function(){function e(e){this.market=e.market;this.workloadName=e.workloadName;this.environment=e.environment;this.userId=e.userId;this.authType=e.authType;this.timeout=Math.floor(e.timeout/60);this.trackEvents=null==e.trackEvents||void 0===e.trackEvents||e.trackEvents;this.enableLogging=null==e.enableLogging||void 0===e.enableLogging||e.enableLogging;this.sessionId=null==e.sessionId||void 0===e.sessionId?"":e.sessionId;this.tenantId=null==e.tenantId||void 0===e.tenantId?"":e.tenantId;this.signInState=e.signInState;this.controls=e.controls}e.prototype.isValidTokenClaims=function(){var t,n="isValidTokenClaims",r=!1;s.LoggingUtils.log("Starting validation of token values.",e.eventName,n,o.Global.gAbtSkipAriaLog);try{var i=this.signInState;if(Array.isArray(this.signInState)&&i.length>0&&"string"!=typeof i[0]){t="ABT did not receive 'signInState' information in expected format";s.LoggingUtils.error(t,e.eventName,n);return{isPassed:!1,errorMessage:t}}}catch(r){t="ABT did not receive 'signInState' information in expected format";s.LoggingUtils.error(t,e.eventName,n);return{isPassed:!1,errorMessage:t}}if(null!=this.signInState&&void 0!==this.signInState&&i.length>0)for(var u=0,a=i;u<a.length;u++){if("kmsi"==(h=a[u])){t="User has opted for 'keep-me-signed-in'";s.LoggingUtils.error(t,e.eventName,n);return{isPassed:!1,errorMessage:t}}"dvc_cmp"!=h&&"dvc_dmjd"!=h||(r=!0)}try{var f=this.controls;if(Array.isArray(this.controls)&&f.length>0&&"string"!=typeof f[0]){t="ABT did not receive 'controls' information in expected format";s.LoggingUtils.error(t,e.eventName,n);return{isPassed:!1,errorMessage:t}}}catch(r){t="ABT did not receive 'controls' information in expected format";s.LoggingUtils.error(t,e.eventName,n);return{isPassed:!1,errorMessage:t}}if(null!=this.controls&&void 0!==this.controls&&f.length>0)for(var l=0,c=f;l<c.length;l++){var h;if("app_res"==(h=c[l])&&r){t="User has opted for 'app enforced restrictions'";s.LoggingUtils.error(t,e.eventName,n);return{isPassed:!1,errorMessage:t}}}s.LoggingUtils.log("Finishing validation of token values successfully.",e.eventName,n,o.Global.gAbtSkipAriaLog);return{isPassed:!0,errorMessage:null}};e.prototype.isValid=function(){var t,n="isValid";s.LoggingUtils.log("Starting validation of abt init options values.",e.eventName,n,o.Global.gAbtSkipAriaLog);if(null==this.sessionId||void 0===this.sessionId||""===this.sessionId){t="Null, undefined or empty SessionId.";s.LoggingUtils.warn(t,e.eventName,n)}if(null==this.tenantId||void 0===this.tenantId||""===this.tenantId){t="Null, undefined or empty TenantId.";s.LoggingUtils.warn(t,e.eventName,n)}if(null==this.market||void 0===this.market||""===this.market){t="market is a required parameter. It cannot be null, undefined or empty.";s.LoggingUtils.error(t,e.eventName,n);return{isPassed:!1,errorMessage:t}}if(null==this.workloadName||void 0===this.workloadName||""===this.workloadName){t="workloadName is a required parameter. It cannot be null, undefined or empty.";s.LoggingUtils.error(t,e.eventName,n);return{isPassed:!1,errorMessage:t}}if(null==this.environment||void 0===this.environment){t="environment is a required parameter. It cannot be null or undefined.";s.LoggingUtils.error(t,e.eventName,n);return{isPassed:!1,errorMessage:t}}if(!this.isValidEnvironment(this.environment)){t="environment doesn't have allowed values from Environment. Current value: "+this.environment;s.LoggingUtils.error(t,e.eventName,n);return{isPassed:!1,errorMessage:t}}if(null==this.userId||void 0===this.userId||""===this.userId){t="userId is a required parameter. It cannot be null, undefined or empty.";s.LoggingUtils.error(t,e.eventName,n);return{isPassed:!1,errorMessage:t}}if(null==this.authType||void 0===this.authType){t="authType is a required parameter. It cannot be null or undefined.";s.LoggingUtils.error(t,e.eventName,n);return{isPassed:!1,errorMessage:t}}if(!this.isValidAuthType(this.authType)){t="authType doesn't have allowed values from AuthType. Current value: "+this.authType;s.LoggingUtils.error(t,e.eventName,n);return{isPassed:!1,errorMessage:t}}if(null==this.timeout||void 0===this.timeout||this.timeout<5||this.timeout>1440){t="timeout is a required parameter. It cannot be null, undefined or either less than 5 minutes (300 seconds) or more than 24 hours (86400 seconds or 1440 minutes).";s.LoggingUtils.error(t,e.eventName,n);return{isPassed:!1,errorMessage:t}}s.LoggingUtils.log("Validation of base configuration options finished successfully.",e.eventName,n,o.Global.gAbtSkipAriaLog);return{isPassed:!0,errorMessage:null}};e.prototype.isValidEnvironment=function(e){return r.Environment[e]===r.Environment[r.Environment.Pathfinder]||r.Environment[e]===r.Environment[r.Environment.Trailblazer]||r.Environment[e]===r.Environment[r.Environment.WorldWide]};e.prototype.isValidAuthType=function(e){return i.AuthType[e]===i.AuthType[i.AuthType.Aad]||i.AuthType[e]===i.AuthType[i.AuthType.Msa]};e.eventName="AbtInitOptions";return e})();t.AbtInitOptions=u},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){e.deprecate=function(){};e.paths=[];e.children||(e.children=[]);Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}});Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}});e.webpackPolyfill=1}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(216),i=n(217),s=n(145),o=(function(){function e(){}e.setUpTelemetryLogger=function(){this.telemetryLogger.setTenantTokens({Office:{Identity:{ariaTenantToken:"5c65bbc4edbf480d9637ace04d62bd98-12844893-8ab9-4dde-b850-5612cb12e0f2-7822",nexusTenantToken:-1,WebAuthMast:{}}}});var e=new i.OneDSSink([],{endpointUrl:i.OneDSEndpoint.PUBLIC});e.setFullEventsEnabled(!0);this.telemetryLogger.addSink(e)};e.logTelemetryEventForLoad=function(t){this.telemetryLogger.sendTelemetryEvent({eventName:e.DefaultLoggingNamespace+e.LoadEventName,dataFields:[s.makeStringDataField(e.AppName,t),s.makeStringDataField(e.BrowserName,r.BrowserUtils.GetBrowser())]})};e.logTelemetryEventForPrompt=function(t,n,i,o){void 0===o&&(o=!1);this.telemetryLogger.sendTelemetryEvent({eventName:e.DefaultLoggingNamespace+e.PromptEventName,dataFields:[s.makeStringDataField(e.Puid,t),s.makeStringDataField(e.AppName,n),s.makeStringDataField(e.BrowserName,r.BrowserUtils.GetBrowser()),s.makeStringDataField(e.PromptType,i),s.makeBooleanDataField(e.ButtonClicked,o)]})};e.DefaultLoggingNamespace="Office.Identity.WebAuthMast.";e.LoadEventName="Load";e.PromptEventName="Prompt";e.AppName="AppName";e.BrowserName="BrowserName";e.ButtonClicked="ButtonClicked";e.PromptType="PromptType";e.Puid="Puid";e.SignOut="Sign Out";e.SwitchAccount="Switch Account";e.telemetryLogger=new s.TelemetryLogger;return e})();t.TelemetryUtils=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=(function(){function e(){}e.GetBrowser=function(){var e=[{keyword:"PhantomJS",browserType:r.PhantomJS},{keyword:"Edge",browserType:r.Edge},{keyword:"MSIE",browserType:r.IE},{keyword:"Teams",browserType:r.Teams},{keyword:"Chrome",browserType:r.Chrome},{keyword:"CriOS",browserType:r.Chrome},{keyword:"Firefox",browserType:r.Firefox},{keyword:"Safari",browserType:r.Safari}],t=window.navigator.userAgent.toLowerCase(),n={keyword:"Other",browserType:r.Other};e.some(function(e){if(-1!==t.indexOf(e.keyword.toLowerCase())){n=e;return!0}return!1});return n.keyword.toString()};return e})();t.BrowserUtils=i;(function(e){e[e.IE=0]="IE";e[e.Edge=1]="Edge";e[e.Teams=2]="Teams";e[e.Chrome=3]="Chrome";e[e.Firefox=4]="Firefox";e[e.Safari=5]="Safari";e[e.PhantomJS=6]="PhantomJS";e[e.Other=7]="Other"})(r=t.BrowserType||(t.BrowserType={}))},function(e,t,n){"use strict";n.r(t);var r=n(177);n.d(t,"OneDSSink",function(){return r.e});var i=n(179);n.d(t,"EventThrottler",function(){return i.e});var s=n(166);for(var o in s)["default","OneDSSink","EventThrottler"].indexOf(o)<0&&(function(e){n.d(t,e,function(){return s[e]})})(o);var u=n(167);n.d(t,"OneDSEndpoint",function(){return u.e})},function(e,t,n){var r,i,s=n(164),o=n(165),u=0,a=0;e.exports=function(e,t,n){var f=t&&n||0,l=t||[],c=(e=e||{}).node||r,h=void 0!==e.clockseq?e.clockseq:i;if(null==c||null==h){var p=s();null==c&&(c=r=[1|p[0],p[1],p[2],p[3],p[4],p[5]]);null==h&&(h=i=16383&(p[6]<<8|p[7]))}var d=void 0!==e.msecs?e.msecs:(new Date).getTime(),v=void 0!==e.nsecs?e.nsecs:a+1,m=d-u+(v-a)/1e4;m<0&&void 0===e.clockseq&&(h=h+1&16383);(m<0||d>u)&&void 0===e.nsecs&&(v=0);if(v>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");u=d;a=v;i=h;var g=(1e4*(268435455&(d+=122192928e5))+v)%4294967296;l[f++]=g>>>24&255;l[f++]=g>>>16&255;l[f++]=g>>>8&255;l[f++]=255&g;var y=d/4294967296*1e4&268435455;l[f++]=y>>>8&255;l[f++]=255&y;l[f++]=y>>>24&15|16;l[f++]=y>>>16&255;l[f++]=h>>>8|128;l[f++]=255&h;for(var b=0;b<6;++b)l[f+b]=c[b];return t||o(l)}},function(e,t,n){var r=n(164),i=n(165);e.exports=function(e,t,n){var s=t&&n||0;if("string"==typeof e){t="binary"===e?new Array(16):null;e=null}var o=(e=e||{}).random||(e.rng||r)();o[6]=15&o[6]|64;o[8]=63&o[8]|128;if(t)for(var u=0;u<16;++u)t[s+u]=o[u];return t||i(o)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(221),i=n(143),s=n(144),o=n(146),u=n(176),a=(function(){function e(){}e.prototype.clearAccountState=function(e){for(var t=JSON.parse(window.localStorage.getItem(o.Constants.PersistentCacheKeys.SignedInAccountListKey)||"[]"),n=t.length-1;n>=0;n--)if(t[n].lastActiveTime<e){window.localStorage.removeItem(t[n].sessionTrackingKey);t.splice(n,1)}window.localStorage.setItem(o.Constants.PersistentCacheKeys.SignedInAccountListKey,JSON.stringify(t))};e.prototype.getMostRecentActiveAccount=function(){var e=JSON.parse(window.localStorage.getItem(o.Constants.PersistentCacheKeys.SignedInAccountListKey)||"[]"),t="",n=0;e.forEach(function(e){if(e.lastActiveTime&&e.lastActiveTime>n){if(3!==JSON.parse(window.localStorage.getItem(e.sessionTrackingKey)||"[]").authenticatedState){n=e.lastActiveTime;t=e.sessionTrackingKey}}});return t};e.prototype.setActiveAccount=function(t){var n=e.prototype.generateKey(t),r=JSON.parse(window.localStorage.getItem(n)||"[]");if(s.StringUtils.isEmpty(r)){i.LoggingUtils.error("Cannot update the account to active because the account does not exist in the storage.",e.prototype.enableConsoleLog);return!1}window.sessionStorage.setItem(o.Constants.PersistentCacheKeys.ActiveAccountIdentifierKey,n);e.prototype.updateSignedInAccountListAndAccountData(n,(new Date).getTime(),r);return!0};e.prototype.updateAccount=function(t,n,r){if(s.StringUtils.isEmpty(t)){i.LoggingUtils.error("Cannot update account information with null or empty account identifier.",e.prototype.enableConsoleLog);return!1}var u=e.prototype.generateKey(t);r&&window.sessionStorage.setItem(o.Constants.PersistentCacheKeys.ActiveAccountIdentifierKey,u);e.prototype.updateSignedInAccountListAndAccountData(u,r?(new Date).getTime():0,n);return!0};e.prototype.signOutPage=function(e,t,n){void 0===n&&(n=!0);u.MultiAccountSessionTrackerLogout.prototype.signOutAccount(t,n);window.postMessage({request:o.Constants.PostMessageType.SignOutBackToLanding,url:e},window.location.href)};e.prototype.refreshPage=function(t){var n=e.prototype.getMostRecentActiveAccount();window.sessionStorage.setItem(o.Constants.PersistentCacheKeys.ActiveAccountIdentifierKey,n);window.postMessage({request:o.Constants.PostMessageType.SwitchAccountRedirect,url:t},window.location.href)};e.prototype.updateSignedInAccountListAndAccountData=function(e,t,n){for(var i=JSON.parse(window.localStorage.getItem(o.Constants.PersistentCacheKeys.SignedInAccountListKey)||"[]"),s=i.length-1;s>=0;s--)if(i[s].sessionTrackingKey.toLowerCase()===e.toLowerCase()){i.splice(s,1);break}0===t?i.unshift(new r.SignedInAccount(e,t)):i.push(new r.SignedInAccount(e,t));n.lastActiveTime=t;window.localStorage.setItem(e,JSON.stringify(n));window.localStorage.setItem(o.Constants.PersistentCacheKeys.SignedInAccountListKey,JSON.stringify(i))};e.prototype.generateKey=function(e){return""+o.Constants.PersistentCacheKeys.SessionTrackingPrefix+e};return e})();t.MultiAccountSessionTrackerState=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){this.sessionTrackingKey=e;this.lastActiveTime=t};t.SignedInAccount=r},function(e,t,n){"use strict";n.r(t);n.d(t,"getFirstConsistentlyInteractive",function(){return i});var r=n(148);n.d(t,"restartLongTaskObserver",function(){return r.t});function i(e){void 0===e&&(e={});if("PerformanceLongTaskTiming"in window){return new r.e(e).getFirstConsistentlyInteractive()}return Promise.resolve(null)}},function(e,t,n){"use strict";n.r(t);n.d(t,"getWacHost",function(){return jo});var r={};n.r(r);n.d(r,"Default",function(){return Ss});n.d(r,"Tenant",function(){return xs});n.d(r,"Hub",function(){return Ts});n.d(r,"Site",function(){return Ns});var i={};n.r(i);n.d(i,"fileNotFound",function(){return Fs});n.d(i,"invalidView",function(){return Is});n.d(i,"listNotFound",function(){return qs});n.d(i,"docAlreadyExists",function(){return Rs});n.d(i,"queryThrottled",function(){return Us});n.d(i,"newExperieceRenderingNotSupported",function(){return zs});n.d(i,"onePageNavigationViewMismatch",function(){return Ws});n.d(i,"onePageNavigationError",function(){return Xs});n.d(i,"offline",function(){return Vs});var s=n(0),o=n(16),u=n(15),a=n(71),f=a;function l(){}function c(e){f.log(e)}var h,p=(function(){function e(e,t){void 0===t&&(t=c);this._isDisposed=!1;this._parent=e||null;this._onErrorHandler=t;this._timeoutIds=null;this._immediateIds=null;this._animationFrameIds=null;this._intervalIds=null}e.prototype.dispose=function(){if(!this._isDisposed){this._isDisposed=!0;this._parent=null;if(this._timeoutIds){for(var e=0,t=Object.keys(this._timeoutIds);e<t.length;e++){var n=t[e];this.clearTimeout(Number(n))}this._timeoutIds=null}if(this._immediateIds){for(var r=0,i=Object.keys(this._immediateIds);r<i.length;r++){n=i[r];this.clearImmediate(Number(n))}this._immediateIds=null}if(this._intervalIds){for(var s=0,o=Object.keys(this._intervalIds);s<o.length;s++){n=o[s];this.clearInterval(Number(n))}this._intervalIds=null}if(this._animationFrameIds){for(var u=0,a=Object.keys(this._animationFrameIds);u<a.length;u++){n=a[u];this.cancelAnimationFrame(Number(n))}this._animationFrameIds=null}}};e.prototype.setTimeout=function(e,t){var n=this,r=0;if(!this._isDisposed){var i=this._timeoutIds||(this._timeoutIds={}),s=this._parent;r=setTimeout(function(){try{delete i[r];e.apply(s)}catch(e){n._logError(e)}},t);i[r]=!0}return r};e.prototype.clearTimeout=function(e){var t=this._timeoutIds;if(t&&t[e]){clearTimeout(e);delete t[e]}};e.prototype.setImmediate=function(e){var t=this,n=0;if(!this._isDisposed){var r=this._immediateIds||(this._immediateIds={}),i=this._parent,s=function(){try{delete r[n];e.apply(i)}catch(e){t._logError(e)}};n=window.setImmediate?window.setImmediate(s):window.setTimeout(s,0);r[n]=!0}return n};e.prototype.clearImmediate=function(e){var t=this._immediateIds;if(t&&t[e]){window.clearImmediate?window.clearImmediate(e):window.clearTimeout(e);delete t[e]}};e.prototype.setInterval=function(e,t){var n=this,r=0;if(!this._isDisposed){this._intervalIds||(this._intervalIds={});var i=this._parent;r=setInterval(function(){try{e.apply(i)}catch(e){n._logError(e)}},t);this._intervalIds[r]=!0}return r};e.prototype.clearInterval=function(e){if(this._intervalIds&&this._intervalIds[e]){clearInterval(e);delete this._intervalIds[e]}};e.prototype.throttle=function(e,t,n){var r=this;void 0===n&&(n={});if(this._isDisposed)return l;var i,s,o=t||0,u=n.leading,a=void 0===u||u,f=n.trailing,c=void 0===f||f,h=0,p=null,d=this._parent,v=function(t){var n=(new Date).getTime(),u=n-h,f=a?o-u:o;if(u>=o&&(!t||a)){h=n;if(p){r.clearTimeout(p);p=null}i=e.apply(d,s)}else null===p&&c&&(p=r.setTimeout(v,f));return i};return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];s=e;return v(!0)}};e.prototype.debounce=function(e,t,n){var r=this;void 0===n&&(n={});if(this._isDisposed)return l;var i,s,o=t||0,u=n.leading,a=void 0!==u&&u,f=n.trailing,c=void 0===f||f,h=n.maxWait,p=void 0===h?NaN:h,d=0,v=(new Date).getTime(),m=null,g=this._parent,y=function(t){var n=(new Date).getTime(),u=!1;if(t){a&&n-d>=o&&(u=!0);d=n}var f=n-d,l=o-f,h=n-v,b=!1;isNaN(p)||(h>=p&&m?b=!0:l=Math.min(l,p-h));if(f>=o||b||u){if(m){r.clearTimeout(m);m=null}v=n;i=e.apply(g,s)}else null!==m&&t||!c||(m=r.setTimeout(y,l));return i};return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];s=e;return y(!0)}};e.prototype.requestAnimationFrame=function(e){var t=this,n=0;if(!this._isDisposed){var r=this._animationFrameIds||(this._animationFrameIds={}),i=this._parent,s=function(){try{delete r[n];e.apply(i)}catch(e){t._logError(e)}};n=window.requestAnimationFrame?window.requestAnimationFrame(s):window.setTimeout(s,0);r[n]=!0}return n};e.prototype.cancelAnimationFrame=function(e){var t=this._animationFrameIds;if(t&&t[e]){window.cancelAnimationFrame?window.cancelAnimationFrame(e):window.clearTimeout(e);delete t[e]}};e.prototype._logError=function(e){this._onErrorHandler&&this._onErrorHandler(e)};return e})();(function(e){e[e.none=0]="none";e[e.fullPageLoad=4]="fullPageLoad";e[e.onePageAppNavigation=5]="onePageAppNavigation"})(h||(h={}));var d=h,v=n(28),m=n(2),g=Object(v.e)({eventName:"RUMOneDataUpload,",shortEventName:"RUMOneDataUpload"},{streamName:m.e.String,dictionary:m.e.Object,privacyClassification:{isPrefixingDisabled:!0,type:m.e.String}}).withData({privacyClassification:m.t.requiredService});var y=function(e){var t="undefined"!=typeof window?window:"undefined"!=typeof self?self:void 0;e||(e=t&&t.navigator&&navigator.userAgent||"");var n,r=e,i=e.toLowerCase(),o=(function(e){e=e.toLowerCase();var t;function n(n){return t=RegExp("".concat(n,"(\\d+)([\\d.]*)")).exec(e)}var r=n("msie ")||n("trident.*rv:"),i=t&&"9"===t[1],s=!t&&n("edge/"),o=!t&&n("edg/"),u=!t&&n("fxios|firefox/"),a=!t&&n("(?:chrome|crios)/"),f=!t&&/safari\/(\d+)/.test(e);f&&n("version/");return{browserName:r?"IE":s?"Edge":o?"EdgeChromium":u?"Firefox":a?"Chrome":f?"Safari":"NA",isChrome:!!a,isEdge:!!s,isEdgeChromium:!!o,isFirefox:!!u,isIE:!!r,isIE9:!!i,isSafari:!!f,matchedBrowser:t}})(i),u={browserMajor:(n=o.matchedBrowser)&&parseInt(n[1],10)||0,browserMinor:n&&n[2]&&n[2].slice(1)||"0"},a=(function(e){e=e.toLowerCase();var t=/windows phone|wpdesktop/.test(e),n=t||/ipad|iphone|ipod|android/.exec(e),r=n&&n[0],i="android"===r,s="ipad"===r,o=!!r&&!i,u=!n&&e.indexOf("macintosh")>-1,a=!n&&e.indexOf("windows nt")>-1;return{isAndroid:i,isIOS:o,isIPad:s,isMac:u,isWindows:a,isWinPhone:!!t,isMobile:!!n,osName:a?"Windows":t?"Windows Phone":u?"OSX":o?"IOS":i?"Android":"NA"}})(i),f=a.isMobile,l=/electron\/\\d+[\\d.]*/.test(i),c=i.indexOf("winappwipenabled")>-1,h=!("undefined"==typeof window||!window.matchMedia)&&(window.matchMedia("(display-mode: standalone)").matches||window.matchMedia("(display-mode: minimal-ui)").matches),p=/[\s\(](os|os x|windows (?:phone|nt)|android) ([\d._]+)/.exec(i),d=!1,v=!1,m=!1,g=!1;if(t&&t.document){var y=document.createElement("style");y.type="text/css";d=!y.styleSheet;v="addBehavior"in HTMLDivElement.prototype;var b=document.createElement("input");b.type="file";var w=t.File,E=w&&w.prototype;g=!(!E||!(E.slice||E.mozSlice||E.webkitSlice));m="webkitdirectory"in b&&!l}return Object(s.e)(Object(s.e)(Object(s.e)(Object(s.e)({},o),u),a),{isElectron:l,osVersion:p?p[2]:"NA",isWindows81:!f&&/windows (?:8\.1|nt 6\.3)/.test(i),isWindows10:!f&&i.indexOf("windows nt 10")>-1,isWindows7:!f&&i.indexOf("windows nt 6.1")>-1,isWinAppWipEnabled:c,isPWA:h,areCSS3TransitionsSupported:!o.isIE||u.browserMajor>9,areTouchEventsSupported:!!t&&"ontouchstart"in t,isFolderUploadSupported:m,isHtml5FileUploadSupported:g,isRetinaSupported:!!t&&t.devicePixelRatio>1,isUnlimitedStyleSheetsSupported:d,isWebDavSupported:v,userAgent:r})},b=window.performance,w=void 0!==typeof b&&!!b&&"function"==typeof b.mark&&"function"==typeof b.clearMarks&&"function"==typeof b.now,E=0,S=window._perfMarks=window._perfMarks||[];function x(e,t){void 0===t&&(t=!0);var n=t?T(e):e;if(w){var r=b.getEntriesByName(n,"mark");return r&&r.length>0?Math.round(r[0].startTime):NaN}var i=S.filter(function(e){return e.name===n})[0];return i&&i.startTime}function T(e){return 0===e.lastIndexOf("EUPL.",0)?e:"EUPL."+e}var N=n(20);var C,k="undefined"==typeof window?self:window;(function(e){e[e.xhr=0]="xhr";e[e.fetch=1]="fetch"})(C||(C={}));var L=(function(){function e(){this._requestIdGenerator=(e=0,function(){return(e++).toString()});var e}e.prototype.instrument=function(e){var t=this;if(!k.__RUMOneAPITrackerInstrumented){k.__RUMOneAPITrackerInstrumented=!0;var n=e.fetch,r=e.xhr;if("XMLHttpRequest"in k&&"undefined"!=typeof XMLHttpRequest){this._originalXhrSend=XMLHttpRequest.prototype.send;this._originalXhrOpen=XMLHttpRequest.prototype.open;var i=this;XMLHttpRequest.prototype.open=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.requestUrl=e[1];return i._originalXhrOpen.apply(this,e)};XMLHttpRequest.prototype.send=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var s=i._requestIdGenerator();r.onRequest({request:this,id:s,type:C.xhr});this.addEventListener("readystatechange",function(){4===e.readyState&&r.onResponse({request:e,id:s,type:C.xhr})});return i._originalXhrSend.apply(this,t)}}if("fetch"in k&&void 0!==k.fetch){this._originalFetch=k.fetch.bind(k);k.fetch=function(e,r){return new Promise(function(i,s){var o=t._requestIdGenerator();n.onRequest({request:e,id:o,type:C.fetch});t._originalFetch(e,r).then(function(e){n.onResponse({response:e,id:o,type:C.fetch});i(e)},function(e){s(e)})})}}}};e.prototype.undoInstrument=function(){k.__RUMOneAPITrackerInstrumented=!1;this._originalXhrOpen&&(XMLHttpRequest.prototype.open=this._originalXhrOpen);this._originalXhrSend&&(XMLHttpRequest.prototype.send=this._originalXhrSend);this._originalFetch&&(k.fetch=this._originalFetch)};return e})();var A,O=n(21);(function(e){e[e.scheme=0]="scheme";e[e.authority=1]="authority";e[e.path=2]="path";e[e.query=3]="query"})(A||(A={}));var M=/[;\/?:@&=$,]/,_=/[\/?]/;function D(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n.toLowerCase()]=e[n].toLowerCase());return t}var P,H,B=(function(){function e(e,t){this._scheme="";this._user="";this._host="";this._port="";this._path="";this._pathSegments=[];this._pathEncoded="";this._query={};this._fragment="";if(t){this._queryCaseInsensitive=!!t.queryCaseInsensitive;this._pathCaseInsensitive=!!t.pathCaseInsensitive}this._isCatchParsePathDecodeExceptionKSActive=N.t.isActivated("e759149e-00c5-412d-bc6d-d63d0bb5fe84","08/24/2022","Catch decoding errors while parsing the URI path");this._parseURI(e)}e.concatenate=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",i=0;i<t.length;i++){var s=t[i];i>0&&(s=e.ensureNoPrecedingSlash(s));i<t.length-1&&(s=e.ensureTrailingSlash(s));r+=s}return r};e.ensureNoPrecedingSlash=function(e){return"/"===e[0]?e.substr(1):e};e.ensureTrailingSlash=function(e){return"/"!==e[e.length-1]?e+"/":e};e.prototype.getScheme=function(){return this._scheme};e.prototype.setScheme=function(e){this._scheme=e};e.prototype.getAuthority=function(){return this._getAuthority(!1)};e.prototype.setAuthority=function(e){this._parseAuthority(e)};e.prototype.getUser=function(){return this._user};e.prototype.getHost=function(){return this._host};e.prototype.getPort=function(){return this._port};e.prototype.getPath=function(e){var t=this._path;Boolean(e)&&null!==t&&t.lastIndexOf("/")===t.length-1&&(t=t.slice(0,-1));return t};e.prototype.getLeftPart=function(e){var t=this._scheme+"://";e===A.authority&&(t+=this.getAuthority());e===A.path&&(t+=this.getPath());e===A.query&&(t+=this.getQuery());return t};e.prototype.setPath=function(e){e&&"/"!==e[0]&&(e="/"+e);this._parsePath(e)};e.prototype.getPathSegments=function(){return this._pathSegments};e.prototype.getLastPathSegment=function(){var e=this._pathSegments;return e[e.length-1]||""};e.prototype.getQuery=function(e){return this._serializeQuery(e)};e.prototype.setQuery=function(e){this.setQueryFromObject(this._deserializeQuery(e))};e.prototype.getQueryAsObject=function(){return this._query};e.prototype.setQueryFromObject=function(e){this._query={};for(var t in e)e.hasOwnProperty(t)&&this.setQueryParameter(t,e[t])};e.prototype.getQueryParameter=function(e){var t=null,n=this._query;if(this._queryCaseInsensitive){e=e.toLowerCase();for(var r in n)n.hasOwnProperty(r)&&r.toLowerCase()===e&&(t=n[r])}else t=n[e];return t||null};e.prototype.setQueryParameter=function(e,t,n){void 0===n&&(n=!0);var r=this._decodeQueryString(t);(r||n)&&(this._query[this._decodeQueryString(e)]=r)};e.prototype.removeQueryParameter=function(e){delete this._query[this._decodeQueryString(e)]};e.prototype.getFragment=function(){return this._fragment};e.prototype.setFragment=function(e){"#"===e[0]&&(e=e.substring(1));this._fragment=this._decodeQueryString(e)};e.prototype.equals=function(e){return Object(O.t)(this._scheme,e.getScheme())&&this._user===e.getUser()&&Object(O.t)(this._host,e.getHost())&&this._port===e.getPort()&&this._fragment===e.getFragment()&&this._equalsCaseAppropriate(this.getPath(!0),e.getPath(!0),this._pathCaseInsensitive)&&this._equalsCaseAppropriate(this.getQuery(),e.getQuery(),this._queryCaseInsensitive)};e.prototype.equivalent=function(e){return Object(O.t)(this._scheme,e.getScheme())&&Object(O.t)(this._user,e.getUser())&&Object(O.t)(this._host,e.getHost())&&Object(O.t)(this._port,e.getPort())&&Object(O.t)(this.getPath(!0),e.getPath(!0))&&(t=D(this.getQueryAsObject()),n=D(e.getQueryAsObject()),i=[],s=[],o=r||function(e,t){return e===t},(function e(t,n){if(t===n)return!0;if(null===t||null===n)return!1;if("object"!=typeof t||"object"!=typeof n)return!1;var r=Object.keys(t).sort(),u=Object.keys(n).sort();return r.length===u.length&&!!r.every(function(r,a){if(r!==u[a])return!1;if("function"==typeof t[r]||"function"==typeof n[r])return!0;if(o(t[r],n[r]))return!0;if("object"==typeof t[r]){if(-1!==i.indexOf(t[r]))throw new Error("Cannot perform DeepCompare() because a circular reference was encountered, object: ".concat(t,", ")+"property: ".concat(r));i.push(t[r]);if(-1!==s.indexOf(n[r]))throw new Error("Cannot perform DeepCompare() because a circular reference was encountered, object: ".concat(n,", ")+"property: ".concat(r));s.push(n[r]);if(!e(t[r],n[r]))return!1;i.pop();s.pop();return!0}return!1})})(t,n))&&Object(O.t)(this._fragment,e.getFragment());var t,n,r,i,s,o};e.prototype.toString=function(e){return this._getStringInternal(!0,e)};e.prototype.getDecodedStringForDisplay=function(){return this._getStringInternal(!1)};e.prototype.getStringWithoutQueryAndFragment=function(){return this._getStringWithoutQueryAndFragmentInternal(!0)};e.prototype._equalsCaseAppropriate=function(e,t,n){return n?Object(O.t)(e,t):e===t};e.prototype._getStringInternal=function(e,t){var n=this._getStringWithoutQueryAndFragmentInternal(e,t),r=this.getQuery(e);r&&(n+="?"+r);this._fragment&&(n+="#"+(e?encodeURIComponent(this._fragment):this._fragment));return n};e.prototype._getStringWithoutQueryAndFragmentInternal=function(e,t){var n="";this._scheme&&(n+=(e?encodeURIComponent(this._scheme):this._scheme)+":");var r=this._getAuthority(e,t);r&&(n+="//"+r);this._pathEncoded&&(n+=e?this._pathEncoded:this._path);return n};e.prototype._deserializeQuery=function(e){var t={};0===e.indexOf("?")&&(e=e.substring(1));for(var n=0,r=e.split(/[;&]+/);n<r.length;n++){var i=r[n],s=i.indexOf("=");s<0&&(s=i.length);s>0&&(t[i.substr(0,s)]=i.substr(s+1))}return t};e.prototype._serializeQuery=function(e){var t="";for(var n in this._query)if(this._query.hasOwnProperty(n)){var r=n,i=this._query[n];if(e){r=encodeURIComponent(r);i=encodeURIComponent(i)}t+=null===i||""===i?r+"=&":r+"="+i+"&"}""!==t&&(t=t.slice(0,-1));return t};e.prototype._parseURI=function(e){var t=e,n=t.indexOf("#");if(n>=0){var r=t.substring(n+1);this.setFragment(r);t=t.substring(0,n)}var i=t.search(M);if(i>=0){if(":"===t[i]){this.setScheme(t.substring(0,i));t=t.substring(i+1)}var s="";if(0===t.indexOf("//")){var o=(t=t.substring(2)).search(_);if(o>=0){s=t.substring(0,o);t=t.substring(o)}else{s=t;t=""}this.setAuthority(s);if(!t){this.setPath("");return}}var u=t.indexOf("?");if(u>=0){this.setQuery(t.substring(u+1));t=t.substring(0,u)}this.setPath(t)}else this.setPath(t)};e.prototype._parseAuthority=function(e){this._host=e;var t=e.lastIndexOf("@");t>=0&&(this._host=this._host.substring(t+1));var n=this._host.indexOf(":");if(!(t<0&&n<0)){var r=e;if(t<0)this._host=r;else{this._user=r.substring(0,t);this._host=r.substring(t+1)}if(n>=0){this._port=this._host.substring(n+1);this._host=this._host.substring(0,n)}this._user=decodeURIComponent(this._user);this._host=decodeURIComponent(this._host)}};e.prototype._parsePath=function(e){if(this._isCatchParsePathDecodeExceptionKSActive)this._path=decodeURIComponent(e);else try{this._path=decodeURIComponent(e)}catch(t){this._path=e}var t=this._pathSegments=[];this._pathEncoded=e;for(var n=e.split("/"),r=0;r<n.length;++r)if(this._isCatchParsePathDecodeExceptionKSActive)t[r]=decodeURIComponent(n[r]);else try{t[r]=decodeURIComponent(n[r])}catch(e){t[r]=n[r]}""===t[0]&&t.shift();""===t[t.length-1]&&t.pop()};e.prototype._getAuthority=function(e,t){void 0===t&&(t={});var n,r,i,s=t&&t.doNotPercentEncodeHost,o="";if(e){n=encodeURIComponent(this._user).replace("%3A",":");r=s?this._host:encodeURIComponent(this._host);i=encodeURIComponent(this._port)}else{n=this._user;r=this._host;i=this._port}""!==n&&(o=n+"@");""!==this._host&&(o+=r);""!==this._port&&(o+=":"+i);return o};e.prototype._decodeQueryString=function(e){var t=e;try{t=decodeURIComponent(e.replace(/\+/g," "))}catch(e){}return t};return e})(),j=n(180),F=j.e;new Date;(function(e){e[e.own=0]="own";e[e.cors=1]="cors"})(H||(H={}));var I,q=function(e,t,n,r,i,s,o){this.url=e;this.duration=t;this.correlationId=n;this.status=r;this.startTime=i;this.endTime=s;this.name=o;this.clientDurationInMilliseconds=new Date(s).getTime()-new Date(i).getTime();this.origin=e&&new B(e).getHost()};(function(e){e[e.Incomplete=1]="Incomplete";e[e.ReadyToUpload=2]="ReadyToUpload";e[e.Uploaded=3]="Uploaded";e[e.TimeOut=4]="TimeOut";e[e.Skipped=5]="Skipped"})(I||(I={}));var R=["EUPL","ScenarioId"],U=/^[a-zA-Z0-9](([a-zA-Z0-9|_|\.]){0,98}[a-zA-Z0-9])?$/,z=/(?:\/api\/|\/_api\/)(.*?)(?:\(|\?|sharePoint\:|$)/;function W(e){return null==e}var X={checkInterval:100,error_timeout:3e4,max_markers:200},V=(function(){function e(e,t,n){void 0===n&&(n=X);var r=this;this._keyMetrics=R.slice(0);this.async=new p(this);this.dataStartTime=Date.now();this._rumoneData={};this.dataState=I.Incomplete;this.controls=[];this.apis=[];this._apiBuffer={};this._loggingFunctions=[];this.euplBreakDown={};this.ttiBreakDown={};this.serverMetrics={};this.isW3cTimingCollected=!1;this._isW3cResourceTimingCollected={};this.tempData={};this._settings={};this._emergencyUpdateFunc=this._emergencyUpload.bind(this);this.undoAPIInstrument=function(){r._apiTracker.undoInstrument()};this._name=e;this.registerLoggingFunc(t);this._config=n;this.setPerfDataTimer();this._platformDetection=new y;this._hookUnloadEvent();this._apiTracker=new L}e.getRUMOneLogger=function(t,n,r){void 0===t&&(t="__default_rumone__");void 0===r&&(r=X);var i=n||function(e,t){g.logData({streamName:e,dictionary:t})};if(!e.Loggers[t])try{var s=new e(t,i,r);"__default_rumone__"===t&&(e.rumOneLogger=s);e.Loggers[t]=s}catch(e){}return e.Loggers[t]};e.prototype.registerLoggingFunc=function(e){var t=this,n=this._loggingFunctions.indexOf(e);n<0&&this._loggingFunctions.push(e);return function(){n>=0&&t._loggingFunctions.splice(n,1)}};Object.defineProperty(e.prototype,"KeyMetrics",{get:function(){this._TTIMeasurementEnabled()&&this.addExpectedKeyMetric("TTI");this._FCIMeasurementEnabled()&&this.addExpectedKeyMetric("FCI");return this._keyMetrics},enumerable:!1,configurable:!0});e.prototype.getPerformanceData=function(){return this._rumoneData};e.prototype.startAPIMeasurement=function(e){var t=this,n=e&&e.ignore||function(e){return!1},r=e&&e.getAPIName||function(e){},i=function(e){var n=e.id,r=e.request,i=e.type,s=new q;s.startTime=(new Date).toISOString();s.startTimeRelative=t.now();i===C.fetch&&(s.url="string"==typeof r?r:r.url);t._apiBuffer[n]=s};this._apiTracker.instrument({fetch:{onRequest:i,onResponse:function(e){var i=e.response,o=e.id,u=t._apiBuffer[o];if(u&&!n(u.url)){var a=void 0,f=void 0;try{a=i.headers.get("SPClientServiceRequestDuration");f=i.headers.get("SPSQLQueryCount")}catch(e){}var l=void 0;try{l=i.headers.get("SPRequestGuid")}catch(e){}u.name=r(u.url);u=Object(s.e)(Object(s.e)({},u),Object(s.e)(Object(s.e)(Object(s.e)({endTime:(new Date).toISOString(),endTimeRelative:t.now(),clientDurationInMilliseconds:t.now()-u.startTimeRelative,status:i.status},a?{duration:Number(a)}:{}),f?{sqlRT:Number(f)}:{}),l?{correlationId:l}:{}));t.apis.push(u)}}},xhr:{onRequest:i,onResponse:function(e){var i,o,u=e.request,a=e.id,f=t._apiBuffer[a],l=u.responseURL||u.requestUrl;if(f&&!n(l)){var c=null!==(o=null===(i=u.getAllResponseHeaders())||void 0===i?void 0:i.toLowerCase())&&void 0!==o?o:"",h=c.indexOf("spclientservicerequestduration:")>=0&&u.getResponseHeader("SPClientServiceRequestDuration"),p=c.indexOf("spsqlquerycount:")>=0&&u.getResponseHeader("SPSQLQueryCount"),d=c.indexOf("sprequestguid:")>=0&&u.getResponseHeader("SPRequestGuid");f.name=r(l);f=Object(s.e)(Object(s.e)({},f),Object(s.e)(Object(s.e)(Object(s.e)(Object(s.e)({endTime:(new Date).toISOString(),endTimeRelative:t.now(),clientDurationInMilliseconds:t.now()-f.startTimeRelative,status:u.status},h?{duration:Number(h)}:{}),p?{sqlRT:Number(p)}:{}),d?{correlationId:d}:{}),{url:l}));t.apis.push(f)}}}});return function(){t._apiTracker.undoInstrument()}};e.prototype.resetLogger=function(){this._emergencyUpload();this._apiBuffer={};this.dataStartTime=(new Date).getTime();this.dataState=I.Incomplete;this.isW3cTimingCollected=!1;this._isW3cResourceTimingCollected={};this.controls=[];this.apis=[];this.tempData={};this._rumoneData={};this._settings={};this._keyMetrics=R.slice(0);this.clearPerfDataTimer();this.setPerfDataTimer();this.euplBreakDown={};this.ttiBreakDown={};this.serverMetrics={};this.clearResourceTimings();(function(e){var t=[];e&&(t=e.map(T));w?b.getEntriesByType("mark").filter(function(e){return t.length>0?t.indexOf(e.name)>=0:0===e.name.lastIndexOf("EUPL.",0)}).forEach(function(e){b.clearMarks(e.name)}):S=[]})(this._getOwnMakers().map(function(e){return e.name}));e._markers[this._name]=[];this._unhookUnloadEvent();this._hookUnloadEvent();this._ttiPromise=void 0;this._fciPromise=void 0;this.logMessageInConsole("Reset performance Logger Done")};e.prototype.setSettings=function(e){this._settings=Object(s.e)(Object(s.e)({},this._settings),e)};e.prototype.excludePageForPerfData=function(){this.setSettings({excludePageData:!0})};e.prototype.getPerformanceDataPropertyValue=function(e){return e&&this._rumoneData[e]};e.prototype.setPerformanceDataPropertyValue=function(e,t){if(e&&U.test(e)){this._rumoneData[e]=t;return!0}console.error("key ".concat(e," does not confrim to the Regex ").concat(U));return!1};e.prototype.addExpectedControl=function(e){var t=this._normalizeControl(e);this.expectingControl(e)?this.controls.filter(function(e){return e.controlId===t.controlId})[0].ignoreForEUPL=t.ignoreForEUPL:this.controls.push(t)};e.prototype.ignoreExpectedControl=function(e){var t=this._normalizeControl(e);this.expectingControl(e)&&(this.controls.filter(function(e){return e.controlId===t.controlId})[0].ignoreForEUPL=!0)};e.prototype.expectingControl=function(e){var t=this._normalizeControl(e);return this.controls.filter(function(e){return e.controlId===t.controlId}).length>0};e.prototype.writeServerCorrelationId=function(e){this._rumoneData.ServerCorrelationId=this._rumoneData.ServerCorrelationId||e};e.prototype.writeServerUrl=function(){this._rumoneData.ServerUrl=this._processEUIIUrl(location.href)};e.prototype.writeServerSideLatency=function(e,t){if(!this.isCollected("ServerRequestDuration")){this._rumoneData.ServerRequestDuration=e;this._rumoneData.IISLatency=t}};e.prototype.writeControlPerformanceData=function(e){if(e){var t=this.controls.filter(function(t){return t.controlId===e.controlId})[0];if(t)t.data||(t.data=e);else{var n={controlId:e.controlId,data:e,ignoreForEUPL:e.ignoreForEUPL};this.controls.push(n)}}};e.prototype.writeAPICallPerformanceData=function(e){e&&this.apis.push(e)};e.prototype.readAPICallPerformanceData=function(){return this.apis};e.prototype.writeAppCache=function(e){this.isCollected("AppCache")||(this._rumoneData.AppCache=e)};e.prototype.writePageTransitionType=function(e,t){this.isCollected("PageTransitionType")&&!t||e!==d.fullPageLoad&&e!==d.none&&e!==d.onePageAppNavigation||(this._rumoneData.PageTransitionType=e)};e.prototype.writeScenarioId=function(e,t){this.isCollected("ScenarioId")&&!t||(this._rumoneData.ScenarioId=e)};e.prototype.collectW3CPerfTimings=function(){if(!this.isW3cTimingCollected){var e=["navigationStart","unloadEventStart","unloadEventEnd","fetchStart","redirectStart","redirectEnd","domainLookupStart","domainLookupEnd","connectStart","secureConnectionStart","connectEnd","requestStart","responseStart","responseEnd","domLoading","domComplete","loadEventStart","loadEventEnd"],t=performance&&performance.timing;if(t){for(var n=0;n<e.length;n++){var r=t[e[n]];r&&this._logRUMOneData(this.getW3cTimingName(e[n]),Number(r))}this.isW3cTimingCollected=!0}}};e.prototype.collectW3cResourceTimings=function(t){void 0===t&&(t=void 0);var n=t||{},r=n.logSummery,i=void 0===r||r,o=n.start,u=void 0===o?0:o,a=n.end,f=void 0===a?Math.round(this.now()):a,l=n.columnNameOverride,c=void 0===l?function(e){return e}:l,h="logSummery=".concat(i,"|start=").concat(u,"|end=").concat(f,"|columnNameOverride=").concat(c),p=this._isW3cResourceTimingCollected[h];if(window.document&&!p&&performance&&performance.getEntriesByType){for(var d=performance.getEntriesByType("resource"),v=document.getElementsByTagName("iframe"),m=0;m<v.length;m++){var g=null;try{g=v[m].contentWindow.performance}catch(e){}g&&g.getEntriesByType&&d.concat(g.getEntriesByType("resource"))}var y={SharePoint:function(e){return 0===e.name.search(window.location.protocol+"//"+window.location.host)}};y.CDN=e._isRequestFromCDN;y.ThirdParty=function(e){return!y.SharePoint(e)&&!y.CDN(e)};var b={ASPX:function(e){return/\.aspx/i.test(e.name)},JS:function(e){return/script/i.test(e.initiatorType)},CSS:function(e){return/link|css/i.test(e.initiatorType)},IMG:function(e){return/img/i.test(e.initiatorType)}};d=d.filter(function(e){return e.startTime>=u&&e.startTime<=f});var w=Object.keys(y);for(m=0;m<w.length;m++){var E=w[m],S=this.categorizeResourceRequests(d,{from:y[E],requestType:null});i&&this._logRUMOneData(c(E+"RequestCountTotal"),S.length);for(var x=Object.keys(b),T=0;T<x.length;T++){var N=x[T];i&&this._logRUMOneData(c(E+"RequestCount"+N),this.categorizeResourceRequests(S,{from:null,requestType:b[N]}).length)}if(S.length>0){i&&this._logRUMOneData(c(E+"RequestDownloadTime"),Math.round(S.reduce(function(e,t){return e+t.duration},0)/S.length));if("CDN"===E){var C=JSON.stringify(S.map(function(e){return Object(s.e)(Object(s.e)(Object(s.e)(Object(s.e)({name:e.name.split("/").map(function(e){return e.split("?")[0]}).filter(function(e){return e&&e.length>0}).slice(-1)[0].replace(/\(.*?\)/g,"()"),startTime:Math.round(e.startTime),duration:Math.round(e.duration),transferSize:e.transferSize||0,fetchStart:Math.round(e.fetchStart),requestStart:Math.round(e.requestStart),connect:Math.round(e.connectEnd-e.connectStart),domainLookup:Math.round(e.domainLookupEnd-e.domainLookupStart),redirect:Math.round(e.redirectEnd-e.redirectStart)},$(e,"workerStart")),$(e,"responseStart")),$(e,"responseEnd")),$(e,"secureConnectionStart"))}));this._logRUMOneData(c(E+"RequestNames"),C)}}}this._isW3cResourceTimingCollected[h]=!0}};e.prototype.saveTempData=function(e,t){this.tempData[e]=t};e.prototype.readTempData=function(e){return this.tempData[e]};e.prototype.writeRenderTime=function(e,t){this.isCollected("RenderTime")&&!t||(this._rumoneData.RenderTime=e)};e.prototype.writePreRenderTime=function(e){this.isCollected("PreRender")||(this._rumoneData.PreRender=e)};e.prototype.writePostRenderTime=function(e){this.isCollected("PostRender")||(this._rumoneData.PostRender=e)};e.prototype.writeDataFetchTime=function(e,t){this.isCollected("DataFetch")&&!t||(this._rumoneData.DataFetch=e)};e.prototype.writeAppInfo=function(e,t){this.isCollected("AppInfo")&&!t||(this._rumoneData.AppInfo=e)};e.prototype.isRunning=function(){return!(this.dataState===I.Uploaded||this.dataState===I.TimeOut||this.dataState===I.Skipped)};e.prototype.writeEUPLBreakdown=function(e,t){return this._writeBreakdown(this.euplBreakDown,e,t)};e.prototype.addEUPLBreakdown=function(e,t,n){return this._addBreakdown(this.euplBreakDown,e,t,n)};e.prototype.readEUPLBreakdown=function(e){return this._readBreakdown(this.euplBreakDown,e)};e.prototype.writeTTIBreakdown=function(e,t){return this._writeBreakdown(this.ttiBreakDown,e,t)};e.prototype.addTTIBreakdown=function(e,t,n){return this._addBreakdown(this.ttiBreakDown,e,t,n)};e.prototype.readTTIBreakdown=function(e){return this._readBreakdown(this.ttiBreakDown,e)};e.prototype.addFlights=function(e){if(e&&e.length>0){for(var t=JSON.parse(this.getPerformanceDataPropertyValue("Flights")||"[]"),n=0;n<e.length;n++){var r=e[n];r&&-1===t.indexOf(r)&&t.push(r)}this._rumoneData.Flights=JSON.stringify(t)}};e.prototype.collectSPClientFlights=function(e){for(var t="",n=0,r=e.ExpFeatures;n<r.length;n++){var i=r[n];t+=this._numberToBinString(i).split("").reverse().join("")}this._rumoneData.Flights=t};e.prototype.collectODCClientRamps=function(e,t){for(var n=e.Ramps,r=void 0===n?{}:n,i=[],s=0,o=t;s<o.length;s++){var u=o[s];u.ODC&&"boolean"!=typeof u.ODC&&r[u.ODC]&&i.push(u.ODC)}this._rumoneData.Flights=JSON.stringify(i)};e.prototype.addServerMetrics=function(e,t){if(e)for(var n in e)n&&!W(e[n])&&(W(this.serverMetrics[n])||t)&&(this.serverMetrics[n]=e[n])};e.prototype.writeServerVersion=function(e){this._rumoneData.SharePointServerVersion=e};e.prototype.readControlPerformanceData=function(){return this.controls.filter(function(e){return!!e.data}).map(function(e){return e.data})};e.prototype.mark=function(t){(e._markers[this._name]=e._markers[this._name]||[]).push(t);(function(e,t){var n=T(e);if(null==t||E<t){w?b.mark(n):S.push({name:n,startTime:Date.now()});E++}})(t)};e.prototype.now=function(){return performance&&performance.now?Math.round(performance.now()):NaN};e.prototype.registerEUPLComputedHandler=function(e){this._EUPLComputedHandler=e};e.prototype.registerErrorHandler=function(e){};e.prototype.getMarkerTime=function(e){return x(e)};e.prototype.addExpectedKeyMetric=function(e){this._keyMetrics&&-1===this._keyMetrics.indexOf(e)&&this._keyMetrics.push(e)};Object.defineProperty(e.prototype,"waitOnAddingExpectedControl",{set:function(e){this.setSettings({waitOnAddingExpectedControl:e})},enumerable:!1,configurable:!0});e._isRequestFromCDN=function(e){var t=window._spPageContextInfo,n=e.name;return!(!t||!t.cdnPrefix||0!==n.search(window.location.protocol+"//"+t.cdnPrefix))||(!(!t||!t.cdnBaseUrl||0!==n.search(t.cdnBaseUrl))||/(cdn(ppe)?|static(ppe)?)\.sharepointonline\.com|\.akamaihd\.net|akamai\.odsp\.cdn\.office\.net/i.test(n))};e.prototype._measureTTI=function(){var e=this;this._rumoneData.TTISupported="PerformanceLongTaskTiming"in window;if(this._TTIMeasurementEnabled()&&!this._ttiPromise){this._ttiPromise=(function(e){return Object(s.t)(this,void 0,void 0,function(){var t;return Object(s.r)(this,function(r){switch(r.label){case 0:t=Object(s.e)({minValue:Math.round(window.performance&&performance.now?Math.round(performance.now()):Date.now()),useMutationObserver:!1,trackNetworkRequests:!1,requiredMainThreadQuietnessDurationInMilliseconds:1e3,requiredNetworkQuietnessDurationInMilliseconds:1e3},e);return[4,n.ee(0,222)];case 1:return[2,r.sent().getFirstConsistentlyInteractive(t).then(function(e){return Object(s.e)(Object(s.e)({},e||{}),{options:t})})]}})})})(this._settings.TTISettings.TTIPolyfillSettings.options);this._ttiPromise.then(function(t){var n=t||{},r=n.tti,i=n.longTasks,s=n.options,o=r;if(W(r))r=NaN;else{var u=e._settings.TTISettings.TTIPolyfillSettings.calculateTTI;u&&(r=u(Math.round(r),e._rumoneData,"TTI"))}W(e._rumoneData.TTI)?e.addEUPLBreakdown("currentTTI",{data:JSON.stringify(r),needFlatten:!1}):e.addEUPLBreakdown("prevTTI",{data:JSON.stringify(e._rumoneData.TTI),needFlatten:!1});e._rumoneData.TTI=r;if(i){e._rumoneData.TTILongTasks=JSON.stringify(i);N.t.isActivated("4c338685-350e-4aae-a03e-fb969ab4dc98","02/24/2021")||(e._rumoneData.TTILongTasksPostFMPCount=i.filter(function(t){return t.end>e._rumoneData.EUPL}).length)}e._logLastRequestBeforeTTI(r,i,"TTI");e.collectW3cResourceTimings({logSummery:!1,start:o-(r-e._rumoneData.EUPL),end:o,columnNameOverride:function(e){return"".concat(e,"OfTTI")}});s&&e.addEUPLBreakdown("TTIOptions",{data:JSON.stringify(s),needFlatten:!1});var a=P;if(a){e._rumoneData.CLS=a.cls;e._rumoneData.CLSFullResult=a}})}if(this._FCIMeasurementEnabled()&&!this._fciPromise){if(N.t.isActivated("eff83b08-6883-438b-9f0e-59724a25b7e7","10/27/2021")){this._rumoneData.FCI=NaN;return}var t=this._settings.TTISettings.TTIPolyfillSettings.getAbsoluteEUPL,r=t?t(this._rumoneData.EUPL):this.now();this._fciPromise=(function(e){return Object(s.t)(this,void 0,void 0,function(){var t;return Object(s.r)(this,function(r){switch(r.label){case 0:t={measurementStartTime:e,requiredMainThreadCPUIdleDurationInMilliseconds:1e3};return[4,n.ee(0,293)];case 1:return[2,r.sent().getFirstCPUIdle(t)]}})})})(r);this._fciPromise.then(function(t){var n=t||{},r=n.fci,i=n.longTasks;if(W(r))r=NaN;else{var s=e._settings.TTISettings.TTIPolyfillSettings.calculateTTI;s&&(r=s(Math.round(r),e._rumoneData,"FCI"))}e._rumoneData.FCI=r;if(i){e._rumoneData.FCILongTasks=JSON.stringify(i);N.t.isActivated("4c338685-350e-4aae-a03e-fb969ab4dc98","02/24/2021")||(e._rumoneData.FCILongTasksPostFMPCount=i.filter(function(t){return t.end>e._rumoneData.EUPL}).length)}e._logLastRequestBeforeTTI(r,i,"FCI")})}};e.prototype._logLastRequestBeforeTTI=function(t,n,r){var i=performance.getEntriesByType("resource");if(t&&n&&n.length>0&&i&&i.length>0){for(var s=n[n.length-1].start,o=i[0],u=0,a=i;u<a.length;u++){var f=a[u];f.responseEnd<s&&f.responseEnd>o.responseEnd&&(o=f)}var l=void 0;l=e._isRequestFromCDN(o)?o.name:this._processLastNetworkUrl(o.name);var c=void 0;c=/\.aspx/i.test(o.name)?"ASPX":/\.js/i.test(o.name)?"JS":/\.css/i.test(o.name)?"CSS":/img/i.test(o.initiatorType)||/\.jpg|\.jpeg|\.png|\.gif/i.test(o.name)?"IMG":/aria\.microsoft\.com/i.test(o.name)?"Aria":/_api/i.test(o.name)?"API":"Other";if("TTI"===r){this._rumoneData.TTILastRequestName=l;this._rumoneData.TTILastRequestType=c;this._rumoneData.TTILastRequestStartTime=o.startTime;this._rumoneData.TTILastRequestEndTime=o.responseEnd}else{this._rumoneData.FCILastRequestName=l;this._rumoneData.FCILastRequestType=c;this._rumoneData.FCILastRequestStartTime=o.startTime;this._rumoneData.FCILastRequestEndTime=o.responseEnd}}};e.prototype._numberToBinString=function(e){var t=(e>>>0).toString(2);return"".concat(Array(32-t.length+1).join("0")).concat(t)};e.prototype._logRUMOneData=function(e,t){e&&(this._rumoneData[e]=t)};e.prototype.clearResourceTimings=function(){performance&&performance.clearResourceTimings&&performance.clearResourceTimings()};e.prototype._isBreakdownValue=function(e){return void 0!==e.needFlatten};e.prototype.collectMarks=function(){var e=this,t={},n=0;this._getOwnMakers().forEach(function(r){if(n<e._config.max_markers){var i=r.name.substr("EUPL.".length)+".mark".concat(n++);t[i]=Math.round(r.startTime)}});this.writeEUPLBreakdown(JSON.stringify(t))};e.prototype._getOwnMakers=function(){var t=this,n=e._markers,r=[].concat.apply([],Object.keys(n).filter(function(e){return n.hasOwnProperty(e)&&e!==t._name}).map(function(e){return n[e]}));return(w?b.getEntriesByType("mark").filter(function(e){return 0===e.name.lastIndexOf("EUPL.",0)}):S).filter(function(e){return-1===r.indexOf(e.name)})};e.prototype.logMessageInConsole=function(e){this.isRUMOneDebuggingEnabled&&console.log(e)};Object.defineProperty(e.prototype,"isRUMOneDebuggingEnabled",{get:function(){try{if("sessionStorage"in window&&window.sessionStorage){var e=window.sessionStorage.enableRUMOneDebugging;return e&&"true"===e.toLowerCase()&&"undefined"!=typeof console&&!!console}}catch(e){}return!1},enumerable:!1,configurable:!0});e.prototype.logObjectForDebugging=function(e,t){if(this.isRUMOneDebuggingEnabled){var n="".concat(this._name," ").concat(e)+" : "+JSON.stringify(t);console.log(n)}};e.prototype.isCollected=function(e){return!W(this.getPerformanceDataPropertyValue(e))};e.prototype._normalizeControl=function(e){return"string"==typeof e?{controlId:e,ignoreForEUPL:!1}:e};e.prototype.setPerfDataTimer=function(){this.perfDataTimer=this.async.setTimeout(this.loopForDataCompleteness,this._config.checkInterval)};e.prototype.clearPerfDataTimer=function(){if(!W(this.perfDataTimer)){this.async.clearTimeout(this.perfDataTimer);this.perfDataTimer=null}};e.prototype._hookUnloadEvent=function(){window.addEventListener&&window.addEventListener("beforeunload",this._emergencyUpdateFunc)};e.prototype._unhookUnloadEvent=function(){window.removeEventListener&&window.removeEventListener("beforeunload",this._emergencyUpdateFunc)};e.prototype.categorizeResourceRequests=function(e,t){for(var n=[],r=0;r<e.length;r++){var i=e[r];t.from&&!t.from(i)||t.requestType&&!t.requestType(i)||n.push(i)}return n};e.prototype._setFCP=function(){var e=NaN,t=performance&&performance.getEntriesByType&&performance.getEntriesByType("paint");if(t&&t.length>0){var n=t.filter(function(e){return"first-contentful-paint"===e.name});if(n&&1===n.length)e=n[0].startTime;else{var r=t.filter(function(e){return"first-paint"===e.name});r&&1===r.length&&(e=r[0].startTime)}}isNaN(e)||(this._rumoneData.FCP=Math.round(e))};e.prototype.collectSupplementaryData=function(){this._setFCP();this.setAPIDataToRUMOne();this.collectMarks();this.writeServerUrl();this.setBrowseInfo();this.setReferrer();this._collectMemoryData();this._collectPageServerData();this._setAppInfo();this._setTestName();this._collectExperiments();this._rumoneData.DOMElements=document&&document.querySelectorAll("*").length;this._rumoneData.ServerMetrics=JSON.stringify(this.serverMetrics);this._rumoneData.EUPLBreakdown=JSON.stringify(this.euplBreakDown);this._rumoneData.TTIBreakdown=JSON.stringify(this.ttiBreakDown);this._normalizeTTI()};e.prototype._normalizeTTI=function(){var e;this._rumoneData.PageTransitionType===d.fullPageLoad&&((null===(e=this._rumoneData.ScenarioId)||void 0===e?void 0:e.indexOf("SPPages"))>-1||!N.t.isActivated("c930d25d-de79-434f-ba7b-c2fbf0aa9204","09/01/2022")&&this._rumoneData.ScenarioId.indexOf("VivaHome")>-1)&&(this._rumoneData.TTI=this._rumoneData.FCI||this._rumoneData.TTI)};e.prototype._collectExperiments=function(){var e=window.ODSP_EXPERIMENTS||{},t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];r&&r._serverTime&&Date.now()-new Date(r._serverTime).getTime()<1296e6&&(t[n]=e[n])}this._rumoneData.SPExperiments=JSON.stringify(t)};e.prototype._setTestName=function(){var e=new B(location.href).getQueryParameter("perftest");e&&!this._rumoneData.TestName&&(this._rumoneData.TestName=e)};e.prototype.loopForDataCompleteness=function(){this.clearPerfDataTimer();if(!this._settings.waitOnAddingExpectedControl){if(this.isRUMOneDebuggingEnabled){this.logMessageInConsole("====================================================================");this.logObjectForDebugging("RUMONE: ",this._rumoneData);this.logObjectForDebugging("RUMOne DataState: ",String(this.getReadableDataState(this.dataState)));this.logObjectForDebugging("Controls: ",this.controls);this.logObjectForDebugging("API Performance Data: ",this.apis);this.logObjectForDebugging("Temp Data: ",this.tempData);this.logObjectForDebugging("EUPLBreakdown: ",this.euplBreakDown);this.logObjectForDebugging("TTIBreakdown: ",this.ttiBreakDown);this.logObjectForDebugging("ServerMetrics: ",this.serverMetrics);this.logMessageInConsole("====================================================================\n\n")}if(!this.isRunning())return;this._updateState()}this._checkTimeout();this.isRunning()&&this.setPerfDataTimer()};e.prototype._updateState=function(){switch(this.dataState){case I.Incomplete:this.processControlRenderTime();this.readyToComputeEUPL()&&this.setEUPL();var e=this._getMissedControls();this._TTIMeasurementEnabled()&&this.isCollected("EUPL")&&0===e.length&&this._measureTTI();0===this._getMissedKeyMetrics().length&&0===e.length&&(this.dataState=I.ReadyToUpload);break;case I.ReadyToUpload:this._uploadPerfData({emergency:!1})}};e.prototype._checkTimeout=function(){if(this.isRunning()&&this.dataState!==I.ReadyToUpload){var e=Date.now();if(!(this.dataState===I.Incomplete&&e-this.dataStartTime<=this._config.error_timeout)){var t={reason:"TimeOut",details:{MissingMetrics:this._getMissedKeyMetrics(),MissingControls:this._getMissedControls()}};this._rumoneData.RUMOneError=JSON.stringify(t);this.dataState=I.TimeOut;this._uploadPerfData({emergency:!1})}}};e.prototype._getMissedKeyMetrics=function(){for(var e=[],t=0;t<this.KeyMetrics.length;t++){W(this.getPerformanceDataPropertyValue(this.KeyMetrics[t]))&&e.push(this.KeyMetrics[t])}return e};e.prototype._getMissedControls=function(){return this.controls.filter(function(e){return!e.data||!e.data.renderTime})};e.prototype._emergencyUpload=function(){this.isRunning()&&this._uploadPerfData({emergency:!0})};e.prototype._uploadPerfData=function(e){this.writeControlDataToRUMOne();this.collectSupplementaryData();var t,n=e.emergency;this._rumoneData.EmergencyUploaded=!!n;try{if(this._settings.excludePageData){this.dataState=I.Skipped;this.logMessageInConsole("Uploading perf data skipped as requested by the consumer")}else if(n||this.dataState===I.ReadyToUpload||this.dataState===I.TimeOut)if(this._loggingFunctions&&this._loggingFunctions.length>0)if(this._rumoneData){var r=this.getPerformanceData();this._loggingFunctions.forEach(function(e){e("RUMOne",r)});this.dataState=I.Uploaded;if(this.isRUMOneDebuggingEnabled){this.logMessageInConsole("Final Data uploaded");this.logObjectForDebugging("RUMONE: ",r);this.logObjectForDebugging("RUMOne DataState: ",this.getReadableDataState(this.dataState))}}else console.error("Error: Uploading perf data called but perf data is not available");else console.error("Uploading perf data skipped as loggingFunc is not defined");else console.error("Error: Uploading perf data called with wrong data state ".concat(this.dataState))}catch(e){t="PerformanceLogger error writing RUMOne data: ".concat(e),"undefined"!=typeof console&&Boolean(console)&&console.error(t)}finally{if(!this.isRunning()){this._unhookUnloadEvent();this._apiTracker.undoInstrument()}}};e.prototype._TTIPolyfillEnabled=function(){return!!(this._settings.TTISettings&&this._settings.TTISettings.TTIPolyfillSettings&&this._settings.TTISettings.TTIPolyfillSettings.enabled)};e.prototype._FCIMeasurementEnabled=function(){var e=this._TTIPolyfillEnabled();return N.t.isActivated("CC5234AA-C7A5-4D4A-B6E5-52CC2A4E7078","11/4/2021")?e:!(!e||this._settings.TTISettings.FCIMeasurementSettings&&this._settings.TTISettings.FCIMeasurementSettings.disabled)};e.prototype._TTIMeasurementEnabled=function(){return this._TTIPolyfillEnabled()};e.prototype.getReadableDataState=function(e){for(var t in I)if(e===Number(I[t]))return t;return"NaN"};e.prototype.writeControlDataToRUMOne=function(){if(this.controls&&this.controls.length){var e=this.controls.slice(0).filter(function(e){return!!e.data&&!!e.data.renderTime&&!e.ignoreForEUPL});e.sort(function(e,t){return t.data.renderTime-e.data.renderTime});for(var t=0;t<10&&t<e.length;t++){this._logRUMOneData("Control".concat(t+1,"Id"),e[t].controlId);this._logRUMOneData("Control".concat(t+1,"RenderTime"),e[t].data.renderTime)}var n={};this.controls.slice(0).filter(function(e){return!!e.data&&!!e.data.renderTime&&!!e.ignoreForEUPL}).forEach(function(e){n[e.controlId]={data:e.data.renderTime,needFlatten:e.data.needFlatten}});Object.keys(n).length>0&&this.writeEUPLBreakdown(JSON.stringify(n),!0)}};e.prototype.processControlRenderTime=function(){for(var e=0,t=this.controls;e<t.length;e++){var n=t[e];n.data&&!n.data.renderTime&&n.data.renderTimeRequiredDataChecker(n.data)&&(n.data.renderTime=n.data.renderTimeCalculator(n.data))}};e.prototype.readyToComputeEUPL=function(){for(var e=this.controls.filter(function(e){return!e.ignoreForEUPL}),t=e.length>0,n=0,r=e;n<r.length;n++){var i=r[n];if(!i.data||!i.data.renderTime){t=!1;break}}return t};e.prototype.setEUPL=function(){if(!this.isCollected("EUPL")){for(var e=0,t=0,n=this.controls;t<n.length;t++){var r=n[t];!r.ignoreForEUPL&&r.data&&r.data.renderTime&&e<r.data.renderTime&&(e=r.data.renderTime)}this._rumoneData.EUPL=e;"function"==typeof this._EUPLComputedHandler&&this._EUPLComputedHandler(e)}};e.prototype.setBrowseInfo=function(){this._rumoneData.Browser=this._platformDetection.browserName+this._platformDetection.browserMajor;this._rumoneData.BrowserIsMobile=this._platformDetection.isMobile};e.prototype._collectMemoryData=function(){if(!this.isCollected("UsedJSHeapSize")&&"undefined"!=typeof performance&&void 0!==performance.memory){this._rumoneData.UsedJSHeapSize=performance.memory.usedJSHeapSize;this._rumoneData.TotalJSHeapSize=performance.memory.totalJSHeapSize}};e.prototype._collectPageServerData=function(){this.addServerMetrics({cpuDuration:window.g_cpuDuration,duration:window.g_duration,iisLatency:window.g_iisLatency,queryCount:window.g_queryCount,queryDuration:window.g_queryDuration,spPageContextDuration:window.g_pageContextDuration,deferred_cpuDuration:window.g_deferred_cpuDuration,deferred_duration:window.g_deferred_duration,deferred_iisLatency:window.g_deferred_iisLatency,deferred_queryCount:window.g_deferred_queryCount,deferred_queryDuration:window.g_deferred_queryDuration})};e.prototype.setAPIDataToRUMOne=function(){for(var e=0,t=0,n=[],r=0;r<this.apis.length;r++){var i=this.apis[r];if(i){e++;t+=i.duration;i.origin||(i.origin=new B(i.url).getHost());i.hostType=new B(window.location.href).getHost()===i.origin?H.own:H.cors;i.url;var o=Object(s.i)(i,["url"]);n.push(o)}}this._rumoneData.APICallCount=e;this._rumoneData.APICallDurationSum=t;this._rumoneData.APICalls=JSON.stringify(n)};e.prototype.setReferrer=function(){this._rumoneData.Referrer=this._processEUIIUrl(document.referrer)};e.prototype._setAppInfo=function(){if(!this._rumoneData.AppInfo){var e=window._spModuleLink;if(e){var t=e.buildNumber,n=e.manifestName,r=e.scenarioName,i=JSON.stringify({buildNumber:t,manifestName:n,scenarioName:r});this._rumoneData.AppInfo=i}}};e.prototype.getW3cTimingName=function(e){return"secureConnectionStart"!==e?"W3c"+e.charAt(0).toUpperCase()+e.slice(1):"W3cSecureConnectStart"};e.prototype._writeBreakdown=function(e,t,n){if(t)try{var r=JSON.parse(t);for(var i in r)r.hasOwnProperty(i)&&this._addBreakdown(e,i,r[i],n)}catch(e){this.logMessageInConsole("Failed to write EUPL breakdown data:"+e.toString())}};e.prototype._addBreakdown=function(e,t,n,r){if(t&&!W(n)){if(W(e[t])||r){var i=this._isBreakdownValue(n)?n.data:n;e[t]=i}this._isBreakdownValue(n)&&n.needFlatten&&(!this.isCollected(t)||r)&&this._logRUMOneData(t,n.data)}};e.prototype._readBreakdown=function(e,t){return t?e[t]:e};e.prototype._processEUIIUrl=function(e){var t=new F(e||"");return"".concat(t.authority,"/{ length: ").concat(t.path.length,", segments: ").concat(t.segments.length," }")};e.prototype._processLastNetworkUrl=function(e){var t=new F(e||"");if(t.authority.indexOf("lpcres")>0)return e;if(t.authority.indexOf("shell.cdn.office")>0)return e;var n=z.exec(e),r="";n&&n.length>0&&(r="".concat(n[0]));return"".concat(t.authority).concat(r)};e.rumOneLogger=void 0;e.Loggers={};e._markers={};return e})();function $(e,t){var n;return t in e?((n={})[t]=Math.round(e[t]),n):{}}function J(e){return e?e.endTime-e.startTime:0}function K(e){return!(!e||!e.startTime&&0!==e.startTime||!e.endTime&&0!==e.endTime||!(e.endTime>e.startTime))}var Q=function(e){var t=e.controlId,n=e.startTime,r=e.endTime,i=e.ignoreForEUPL,s=e.needFlatten,o=e.renderTimeCalculator,u=void 0===o?J:o,a=e.renderTimeRequiredDataChecker,f=void 0===a?K:a;this.controlId=t;this.startTime=n;this.endTime=r;this.renderTimeCalculator=u;this.renderTimeRequiredDataChecker=f;this.ignoreForEUPL=void 0===i||i;this.needFlatten=void 0!==s&&s};function G(e){return null==e}var Y=(function(){function e(e,t){this._rumone=V.getRUMOneLogger();this._appName=e;this._isCreateNew=t}e.prototype.logRUMOneForDocAspx=function(e,t,n){var r=this.getScenarioId(t.entryPoint);this._rumone.collectW3CPerfTimings();this._rumone.collectW3cResourceTimings();this._rumone.addExpectedControl(r);this.addEUPLBreakdown("EntryPoint",t.entryPoint);this.addEUPLBreakdownNumber("UserClick",t.clickTime);this.addEUPLBreakdownNumber("DocFirstFlushTime",t.client.docFirstFlushTime);this.addEUPLBreakdownNumber("OfficeBootstrapperStartTime",t.client.bootJsStartTime);this.addEUPLBreakdownNumber("OfficeBootstrapperEndTime",t.client.bootJsEndTime);this.addEUPLBreakdownNumber("OfficeInitializationTime",t.client.wopiInitTime);this.addEUPLBreakdownNumber("FileSize",e.FileSize);this.addEUPLBreakdownNumber("LastModified",e.LastModified);this.addEUPLBreakdown("Doc2Redirect",-1!==document.location.href.toLowerCase().indexOf("/doc2.aspx"));this.addEUPLBreakdown("predictedOfficeAppEndPoint",e.PredictedOfficeAppEndPoint);this.addEUPLBreakdown("UniqueClick",e.UniqueClick);if(e.RumOneUpdate){this.addEUPLBreakdownNumber("ServerStartTime",t.server.serverStartTime);this.addEUPLBreakdownNumber("ServerCompleteTime",t.server.serverCompleteTime);this._isCreateNew&&this.addEUPLBreakdownNumber("ServerFirstFlushTime",t.server.serverFirstFlushTime);this.addEUPLBreakdownNumber("OfficeBundleLastUpdateTime",t.server.officeBundleLastUpdateTime);this.addEUPLBreakdownNumber("OfficeBundleGenerationTime",t.server.officeBundleGenerationTime);this.addEUPLBreakdown("OfficeBundleCacheMissInfo",t.server.officeBundleCacheMissInfo);this.addEUPLBreakdown("OfficeBundleCacheHitInfo",t.server.officeBundleCacheHitInfo);this.addEUPLBreakdownNumber("SsrExpirationTime",t.server.ssrExpirationTime);this.addEUPLBreakdown("SSRGenerationReason",e.SSRGenerationReason);this.addEUPLBreakdown("DocAgeBucketAtViewTimeBasedOnLastModifiedTime",e.DocAgeBucketAtViewTimeBasedOnLastModifiedTime);this.addEUPLBreakdown("DocAgeBucketAtViewTimeBasedOnLastWrittenTime",e.DocAgeBucketAtViewTimeBasedOnLastWrittenTime);this.addEUPLBreakdown("DocCategoryBasedOnLastModifiedTime",e.DocCategoryBasedOnLastModifiedTime);this.addEUPLBreakdown("DocCategoryBasedOnLastWrittenTime",e.DocCategoryBasedOnLastWrittenTime);this.addEUPLBreakdown("DocUniqueId",e.DocUniqueId);this.addEUPLBreakdown("CTag",e.CTag);this.addEUPLBreakdown("ETag",e.ETag);e.Slrid&&this.addEUPLBreakdown("slrid",e.Slrid);this.addEUPLBreakdown("OpenWacInPlace",e.OpenWacInPlace)}n&&this.addEUPLBreakdownNumber("WacDiagnostics",n);this._rumone.writeScenarioId(r);this._rumone.writeAppCache(!1);var i=new Q({controlId:r,startTime:t.clickTime,endTime:t.client.wopiInitTime,renderTimeCalculator:this.computeControlRenderTime,renderTimeRequiredDataChecker:this.checkControlTimeRequiredDataAvailable});this._rumone.writeControlPerformanceData(i);window.g_duration&&window.g_iisLatency&&this._rumone.writeServerSideLatency(window.g_duration,window.g_iisLatency);this._rumone.writeServerCorrelationId(e.SessionId)};e.prototype.addEUPLBreakdownNumber=function(e,t){this._rumone.addEUPLBreakdown(e,t)};e.prototype.addEUPLBreakdown=function(e,t){this._rumone.addEUPLBreakdown(e,{data:t,needFlatten:!1})};e.prototype.getScenarioId=function(e){return(this._isCreateNew?"UnifiedApp-DocV2-CreateNew-":"UnifiedApp-DocV2-")+this._appName+"-"+e};e.prototype.computeControlRenderTime=function(t){if(G(t))return 0;var n=this._rumone.getPerformanceDataPropertyValue(e.W3cNavigationStartProperty);return G(t.controlId)||G(t.endTime)?0:G(t.startTime)?G(n)?0:Number(t.endTime)-Number(n):Number(t.endTime)-Number(t.startTime)};e.prototype.checkControlTimeRequiredDataAvailable=function(t){return!G(t)&&!G(this._rumone.getPerformanceDataPropertyValue(e.W3cNavigationStartProperty))};e.W3cNavigationStartProperty="W3cNavigationStart";return e})(),Z=n(23),ee=n(40),te=Object(v.e)({eventName:"ValidationError,",shortEventName:"ValidationError",samplingFeature:{ODB:-1,ODC:"ValidationErrorSampling",Fallback:!1},critical:!0,requiresParent:!1},{message:m.e.String,validationType:m.e.String,validatedEventName:m.e.String,validatedFullEventName:m.e.String,stack:m.e.String,privacyClassification:{isPrefixingDisabled:!0,type:m.e.String}}).withData({privacyClassification:m.t.requiredDiagnostic});Z.e.addValidationErrorLogger(function(e,t){var n=ee.n[t];te.enabled()&&te.logData({message:"Validation error for ".concat(e.shortEventName," of type ").concat(n),validatedEventName:e.shortEventName,validatedFullEventName:e.eventName,validationType:n,stack:Z.e.getStack()||""},e)});var ne=n(87);Z.e.addFeatureEnabler(function(e){return ne.e.isFeatureEnabled(e)});var re,ie=Object(v.e)({eventName:"UnhandledError,",shortEventName:"UnhandledError",critical:!0,requiresParent:!1},{message:m.e.String,stack:m.e.String,builtStack:m.e.String,line:m.e.Number,col:m.e.Number,url:m.e.String,privacyClassification:{isPrefixingDisabled:!0,type:m.e.String}}).withData({privacyClassification:m.t.requiredService,privacyDataTypes:["productAndServicePerformance"]}),se=0;function oe(e){var t;if(e){var n=e&&e.toString?e.toString():"InvalidMethod()",r=8===n.indexOf(" ")?9:0,i=n.indexOf(")")+1;if(0===(t=n.substring(r,i)).indexOf("function")||t.indexOf("(")<3){var s=i+50;t=(function(e,t){e&&e.length>t&&(e=e.substr(0,t-3)+"...");return e})(n=n.replace(/\s\s*/g," "),s)+(s<n.length?"}":"")}}return t}function ue(e,t,n,r,i){try{window.parent&&window.parent.opener&&"LogOnError"in window.parent.opener&&Function.prototype.apply.call(window.parent.opener.LogOnError,window.parent.opener,[e,t,n,r,i])}catch(e){}var s=i&&i.stack,o=(function e(){var t,n=[];try{t=arguments.callee;for(;t===ue||t===e;)t=t?t.caller:t}catch(e){t=null}var r=0;try{for(;t&&r<10;){n.push(oe(t));t=t.caller;r++}}catch(e){}return n})().join("\n"),u={message:e,url:t,line:n,col:r,stack:s=s?s.replace(/[ \t]{2,}/g," "):"",builtStack:o=o.replace(/[ \t]{2,}/g," ")};se<100?ie.logData(u):100===se&&ie.logData({message:"Hit max error limit of ".concat(100),url:"NA",line:0,col:0,stack:"",builtStack:""});se++}window.onerror=ue;(function(e){e[e.none=0]="none";e[e.session=1]="session";e[e.local=2]="local";e[e.sharedMemory=3]="sharedMemory"})(re||(re={}));var ae=re,fe=(function(){function e(t,n){void 0===n&&(n=ae.none);e.init();this.dataStoreKey=t;this.defaultCachingType=n;if(n===ae.none)this.dataStore={};else{void 0===e._dataStore[this.dataStoreKey]&&(e._dataStore[this.dataStoreKey]={});this.dataStore=e._dataStore[this.dataStoreKey]}}e.hasStorageType=function(t){e.init();switch(t){case ae.none:case ae.sharedMemory:return!0;case ae.session:return!!e._sessionStorage;case ae.local:return!!e._localStorage;default:return!1}};e.init=function(){if(!e._initialized){try{"localStorage"in window&&window.localStorage&&e.testStorage(window.localStorage)&&(e._localStorage=window.localStorage)}catch(e){}try{"sessionStorage"in window&&window.sessionStorage&&e.testStorage(window.sessionStorage)&&(e._sessionStorage=window.sessionStorage)}catch(e){}null==e._localStorage&&(e._localStorage=e._sessionStorage);e._initialized=!0}};e.testStorage=function(e){var t="BrowserStorageTest",n=!1;try{e.setItem(t,"1");"1"===e.getItem(t)&&(n=!0);e.removeItem(t)}catch(e){}return n};e.prototype.setValue=function(e,t,n,r){void 0===r&&(r=!0);e=r?this.normalizeKey(e):e;this.dataStore[e]=t;var i=this.getStorage(n);if(i)try{var s=[],o=JSON.stringify(t,function(e,t){if("object"==typeof t&&null!==t){if(-1!==s.indexOf(t))return;s.push(t)}return t});s=null;i.setItem(this.dataStoreKey+e,o)}catch(e){}};e.prototype.getValue=function(e,t,n,r){void 0===n&&(n=!0);void 0===r&&(r=!1);e=n?this.normalizeKey(e):e;var i=this.dataStore[e],s=this.getStorage(t);if((void 0===i||r)&&s){var o=s.getItem(this.dataStoreKey+e);if(o)try{i=JSON.parse(o);this.dataStore[e]=i}catch(e){i=void 0}}return i};e.prototype.remove=function(e,t,n){void 0===n&&(n=!0);e=n?this.normalizeKey(e):e;var r=this.getStorage(t);r&&r.removeItem(this.dataStoreKey+e);delete this.dataStore[e]};e.prototype.getStorage=function(t){switch(t||this.defaultCachingType){case ae.none:case ae.sharedMemory:return null;case ae.session:return e._sessionStorage;case ae.local:return e._localStorage;default:return null}};e.prototype.normalizeKey=function(e){return e&&e.toLowerCase()||""};e._sessionStorage=null;e._localStorage=null;e._dataStore={};e._initialized=!1;return e})(),le=Object(v.e)({eventName:"RequireJSError,",shortEventName:"RequireJSError",critical:!0,requiresParent:!1},{message:m.e.String,requireModules:m.e.Array,requireType:m.e.String,stack:m.e.String}),ce=new fe("RequireJS",ae.session),he=(function(){function e(){}e.log=function(e){le.logData(e);var t=ce.getValue("error")||[];t.push(e.message);ce.setValue("error",t);e&&("define"===e.requireType||"require"===e.requireType)&&e.stack&&e.requireModules&&f.log(e)};e.registerRequireOnError=function(){if(window.requirejs&&"function"==typeof window.requirejs){var t=window.requirejs.onError;window.requirejs.onError=function(n){e.log(n);t&&!n.isTest&&t(n)}}};return e})();he.registerRequireOnError();function pe(e){return!!e&&"function"==typeof e.addEventListener}function de(e){return!!e&&!!e.__events__}function ve(e,t,n,r){var i,s=e;if(pe(s)){if(document.createEvent){var o=document.createEvent("HTMLEvents");o.initEvent(t,r,!0);o.args=n;i=s.dispatchEvent(o)}}else for(;s&&!1!==i;)if(de(s)){var u=s.__events__[t];for(var a in u)if(Object.prototype.hasOwnProperty.call(u,a))for(var f=u[a],l=0;!1!==i&&l<f.length;l++){var c=f[l];c.objectCallback&&(i=c.objectCallback.call(c.parent,n))}s=r?s.parent:null}else s=null;return i}function me(e){window.setTimeout(function(){ve(Ye,ke,{error:e})},0)}var ge,ye,be,we,Ee,Se,xe,Te,Ne,Ce,ke="error",Le=1;function Ae(){}ge={name:"created",enter:function(e){e._setState(ye)},cancel:Ae,done:Ae,then:Ae,_completed:Ae,_error:Ae,_notify:Ae,_setCompleteValue:Ae,_setErrorValue:Ae};ye={name:"working",enter:Ae,cancel:function(e){e._setState(Ee)},done:Be,then:Xe,_completed:Oe,_error:je,_notify:Ae,_setCompleteValue:We,_setErrorValue:ze};be={name:"waiting",enter:function(e){var t=e._value;if(t instanceof Ze&&t._state!==Ce&&t._state!==Te)Re(t,{promise:e});else{var n=function(r){if(t._errorId)e._chainedError(r,t);else{qe(e,r,_e,t,n);e._error(r)}};n.handlesOnError=!0;t.then(e._completed.bind(e),n)}},cancel:function(e){e._setState(we)},done:Be,then:Xe,_completed:Oe,_error:je,_notify:Ae,_setCompleteValue:We,_setErrorValue:ze};we={name:"waiting_canceled",enter:function(e){e._setState(Se);var t=e._value;Ye.is(t)&&t.cancel()},cancel:Ae,done:Be,then:Xe,_completed:Oe,_error:je,_notify:Ae,_setCompleteValue:We,_setErrorValue:ze};Ee={name:"canceled",enter:function(e){e._setState(Se);e._cancelAction()},cancel:Ae,done:Be,then:Xe,_completed:Oe,_error:je,_notify:Ae,_setCompleteValue:We,_setErrorValue:ze};Se={name:"canceling",enter:function(e){var t=new Error("Canceled");t.name=t.message;t._handled=!0;e._value=t;e._setState(Ne)},cancel:Ae,done:Ae,then:Ae,_completed:Ae,_error:Ae,_notify:Ae,_setCompleteValue:Ae,_setErrorValue:Ae};xe={name:"complete_notify",enter:function(e){if(e._listeners)for(var t=[e],n=void 0;t.length;)(n=t.shift())&&n._state._notify(n,t);e._setState(Te)},cancel:Ae,done:function(e,t,n){return Ke.prototype.done.call(e,t)},then:function(e,t,n){return Ke.prototype.then.call(e,t,n)},_completed:Ae,_error:Ae,_notify:Fe,_setCompleteValue:Ae,_setErrorValue:Ae};Te={name:"success",enter:function(e){e._cleanupAction()},cancel:Ae,done:function(e,t,n){return Ke.prototype.done.call(e,t)},then:function(e,t,n){return Ke.prototype.then.call(e,t)},_completed:Ae,_error:Ae,_notify:Fe,_setCompleteValue:Ae,_setErrorValue:Ae};Ne={name:"error_notify",enter:function(e){if(e._listeners)for(var t=[e],n=void 0;t.length;)(n=t.shift())&&n._state._notify(n,t);e._setState(Ce)},cancel:Ae,done:function(e,t,n){return $e.prototype.done.call(e,t,n)},then:function(e,t,n){return $e.prototype.then.call(e,t,n)},_completed:Ae,_error:Ae,_notify:Ie,_setCompleteValue:Ae,_setErrorValue:Ae};Ce={name:"error",enter:function(e){e._cleanupAction()},cancel:Ae,done:function(e,t,n){return $e.prototype.done.call(e,t,n)},then:function(e,t,n){return $e.prototype.then.call(e,t,n)},_completed:Ae,_error:Ae,_notify:Ie,_setCompleteValue:Ae,_setErrorValue:Ae};function Oe(e,t){e._value=t;e._setState(Ye.isPromise(t)?be:xe)}function Me(e,t,n,r,i,s){return{exception:e,error:t,promise:n,handler:s,id:r,parent:i}}function _e(e,t,n,r){var i=null==n?void 0:n._isException;return Me(i?t:null,i?null:t,e,null==n?void 0:n._errorId,n,r)}function De(e,t,n){var r=null==n?void 0:n._isException,i=null==n?void 0:n._errorId;e instanceof Ye&&Ue(e,i,r);return Me(r?t:null,r?null:t,e,i,n)}function Pe(e,t){var n=++Le;e instanceof Ye&&Ue(e,n);return Me(null,t,e,n)}function He(e,t){var n=++Le;e instanceof Ye&&Ue(e,n,!0);return Me(t,null,e,n)}function Be(e,t,n){Re(e,{c:t,e:n})}function je(e,t,n,r){e._value=t;qe(e,t,n,r);e._setState(Ne)}function Fe(e,t){var n=e._value,r=e._listeners;if(r){e._listeners=null;var i,s;for(i=0,s=r.length;i<s;i++){var o=r[i],u=o.c,a=o.promise;if(a){try{a._setCompleteValue(u?u(n):n)}catch(e){a._setExceptionValue(e)}a._state!==be&&a._listeners&&t.push(a)}else Ke.prototype.done.call(e,u)}}}function Ie(e,t){var n=e._value,r=e._listeners;if(r){e._listeners=null;var i,s;for(i=0,s=r.length;i<s;i++){var o=r[i],u=o.e,a=o.promise;if(a){try{if(u){u.handlesOnError||qe(a,n,_e,e,u);a._setCompleteValue(u(n))}else a._setChainedErrorValue(n,e)}catch(e){a._setExceptionValue(e)}a._state!==be&&a._listeners&&t.push(a)}else $e.prototype.done.call(e,void 0,u)}}}function qe(e,t,n,r,i){t instanceof Error&&"Canceled"===t.message||ve(Ye,ke,n(e,t,r,i))}function Re(e,t){var n=e._listeners;n?n.push(t):n=[t];e._listeners=n}function Ue(e,t,n){e._isException=n||!1;e._errorId=t}function ze(e,t,n,r){e._value=t;qe(e,t,n,r);e._setState(Ce)}function We(e,t){var n;n=Ye.isPromise(t)?be:Te;e._value=t;e._setState(n)}function Xe(e,t,n){var r=new Ze(e);Re(e,{promise:r,c:t,e:n});return r}var Ve,$e=(function(){function e(e,t){void 0===t&&(t=Pe);this._value=e;qe(this,e,t)}e.prototype.cancel=function(){};e.prototype.done=function(e,t){var n=this._value;if(t)try{t.handlesOnError||qe(this,n,_e,this,t);var r=t(n);Ye.is(r)&&r.done();return}catch(e){n=e}n instanceof Error&&"Canceled"===n.message||me(n)};e.prototype.then=function(e,t){if(!t)return this;var n,r=this._value;try{t.handlesOnError||qe(this,r,_e,this,t);n=new Ke(t(r))}catch(e){n=e===r?this:new Je(e)}return n};e.prototype.catch=function(e){return this.then(void 0,e)};return e})(),Je=(function(e){Object(s.n)(t,e);function t(t){return e.call(this,t,He)||this}return t})($e),Ke=(function(){function e(e){if(Ye.isPromise(e)){var t=new Ze(null);t._setCompleteValue(e);return t}this._value=e}e.prototype.cancel=function(){};e.prototype.done=function(e,t){if(e)try{var n=e(this._value);Ye.is(n)&&n.done()}catch(e){me(e)}};e.prototype.then=function(t,n){var r;try{var i=t?t(this._value):this._value;r=this._isSameValue(i,this)?this:new e(i)}catch(e){r=new Je(e)}return r};e.prototype.catch=function(e){return this.then(void 0)};e.prototype._isSameValue=function(e,t){return e===this._value};return e})();function Qe(e){var t;return new Ye(function(n){t=window.setTimeout(n,e)},function(){t&&window.clearTimeout(t)})}function Ge(e){var t=e;return function(){for(var e=0,n=Object.keys(t);e<n.length;e++){var r=n[e];Ye.as(t[r]).cancel()}}}var Ye=(function(){function e(e,t){this._init(e,t)}Object.defineProperty(e,"cancel",{get:function(){return Ve||(Ve=new $e(new Error("Canceled")))},enumerable:!1,configurable:!0});e.any=function(t){return new e(function(n,r){var i=Object.keys(t),s=i.length;0===s&&n();for(var o=t,u=function(t){var i=e.as(o[t]);i.then(function(){n({key:t,value:i})},function(o){o instanceof Error&&"Canceled"===o.name?0==--s&&n(e.cancel):r({key:t,value:i})})},a=0,f=i;a<f.length;a++){u(f[a])}},Ge(t))};e.race=function(t){return new e(function(n,r){var i=Object.keys(t),s=i.length;0===s&&n();for(var o=t,u=0,a=i;u<a.length;u++){var f=a[u];e.as(o[f]).then(n,function(t){t instanceof Error&&"Canceled"===t.name?0==--s&&n(e.cancel):r(t)})}},Ge(t))};e.as=function(t){return e.is(t)?t:new Ke(t)};e.is=function(t){return e.isPromise(t)&&"function"==typeof t.cancel};e.isPromise=function(e){return!!e&&"object"==typeof e&&"function"==typeof e.then};e.isCanceled=function(e){return e instanceof Error&&"Canceled"===e.name};e.all=function(t){return new e(function(n,r){for(var i=Object.keys(t),s=Array.isArray(t)?[]:{},o=Array.isArray(t)?[]:{},u=i.length,a=function(){if(0==--u){var t=Object.keys(s);0===t.length?n(o):t.every(function(t){return e.isCanceled(s[t])})?n(e.cancel):r(s)}},f=function(n){var r=t[n];void 0===r?u--:e.then(r,function(e){o[n]=e;a()},function(e){s[n]=e;a()})},l=0,c=i;l<c.length;l++){f(c[l])}0===u&&n(o)},Ge(t))};e.then=function(t,n,r){return e.as(t).then(n,r)};e.thenEach=function(t,n,r){for(var i=Array.isArray(t)?[]:{},s=0,o=Object.keys(t);s<o.length;s++){var u=o[s];i[u]=e.then(t[u],n,r)}return e.all(i)};e.serial=function(t){return t.reduce(function(e,t){return e.then(t)},e.wrap())};e.timeout=function(e,t){var n=Qe(e);return t?(function(e,t){var n=function(){e.cancel()};e.then(function(){t.cancel()});t.then(n,n);return t})(n,t):n};e.wrap=function(e){return new Ke(e)};e.resolve=function(t){return e.wrap(t)};e.wrapError=function(e){return new $e(e)};e.reject=function(t){return e.wrapError(t)};e.prototype.cancel=function(){this._state.cancel(this);this._run()};e.prototype.done=function(e,t){this._state.done(this,e,t)};e.prototype.then=function(e,t){return this._state.then(this,e,t)};e.prototype.catch=function(e){return this.then(void 0,e)};e.prototype._init=function(e,t){this._oncancel=t;this._setState(ge);this._run();try{e?e(this._completed.bind(this),this._error.bind(this)):this._setExceptionValue(new Error("No init value for Promise"))}catch(e){this._setExceptionValue(e)}};e.prototype._cancelAction=function(){if(this._oncancel)try{this._oncancel()}catch(e){}};e.prototype._cleanupAction=function(){this._oncancel=void 0};e.prototype._chainedError=function(e,t){var n=this._state._error(this,e,De,t);this._run();return n};e.prototype._completed=function(e){var t=this._state._completed(this,e);this._run();return t};e.prototype._error=function(e){var t=this._state._error(this,e,Pe);this._run();return t};e.prototype._setState=function(e){this._nextState=e};e.prototype._setCompleteValue=function(e){this._state._setCompleteValue(this,e);this._run()};e.prototype._setChainedErrorValue=function(e,t){var n=this._state._setErrorValue(this,e,De,t);this._run();return n};e.prototype._setExceptionValue=function(e){var t=this._state._setErrorValue(this,e,He);this._run();return t};e.prototype._run=function(){for(;this._nextState;){this._state=this._nextState;this._nextState=void 0;this._state.enter(this)}};e.prototype._isSameValue=function(e,t){return e===this._value};return e})();(function(e,t){var n=e,r=n.__declaredEvents=n.__declaredEvents||{};if("string"==typeof t)r[t]=!0;else for(var i=0;i<t.length;i++)r[t[i]]=!0})(Ye,ke);var Ze=(function(e){Object(s.n)(t,e);function t(t){var n=e.call(this)||this;n._creator=t;n._initThen();return n}t.prototype._init=function(){};t.prototype._cancelAction=function(){this._creator&&this._creator.cancel()};t.prototype._cleanupAction=function(){this._creator=null};t.prototype._initThen=function(){this._setState(ge);this._run()};return t})(Ye),et=(function(e){Object(s.n)(t,e);function t(t){var n=e.call(this)||this;n._oncancel=t;n._initSignal();return n}t.prototype._init=function(){};t.prototype._cancelAction=function(){this._oncancel&&this._oncancel()};t.prototype._cleanupAction=function(){this._oncancel=void 0};t.prototype._initSignal=function(){this._setState(ge);this._run()};return t})(Ye),tt=Ye;function nt(e){f.log(e)}var rt=(function(){function e(t,n){void 0===n&&(n=nt);this._id=e._uniqueId++;this._parent=t;this._onError=n;this._eventRecords=[]}e.raise=function(e,t,n,r){return ve(e,t,n,r)};e.isObserved=function(e,t){var n=e&&e.__events__;return!!n&&!!n[t]};e.isDeclared=function(e,t){var n=e&&e.__declaredEvents;return!!n&&!!n[t]};e.stopPropagation=function(e){e.stopPropagation&&e.stopPropagation()};e.prototype.dispose=function(){if(!this._isDisposed){this._isDisposed=!0;this.off();this._parent=null}};e.prototype.onAll=function(e,t,n){for(var r in t)this.on(e,r,t[r],n)};e.prototype.on=function(t,n,r,i){var s=this;if(n.indexOf(",")>-1)for(var o=n.split(/[ ,]+/),u=0;u<o.length;u++)this.on(t,o[u],r,i);else{var a=this._parent,f={target:t,eventName:n,parent:a,callback:r,objectCallback:null,elementCallback:null,useCapture:i},l=t.__events__=t.__events__||{};l[n]=l[n]||{count:0};l[n][this._id]=l[n][this._id]||[];l[n][this._id].push(f);l[n].count++;if(pe(t)){var c=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(!s._isDisposed){try{var i=r.apply(a,t);if(!1===i&&t[0]&&t[0].preventDefault){var o=t[0];o.preventDefault();e.stopPropagation(o)}}catch(o){s._onError(o)}return i}};f.elementCallback=c;t.addEventListener(n,c,i)}else{f.objectCallback=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!s._isDisposed)return r.apply(a,e)}}this._eventRecords.push(f)}};e.prototype.off=function(e,t,n,r){for(var i=0;i<this._eventRecords.length;i++){var s=this._eventRecords[i];if(!(e&&e!==s.target||t&&t!==s.eventName||n&&n!==s.callback||"boolean"==typeof r&&r!==s.useCapture)){var o=s.target.__events__,u=o[s.eventName],a=u?u[this._id]:null;if(a){if(1!==a.length&&n){u.count--;a.splice(a.indexOf(s),1)}else{u.count-=a.length;delete o[s.eventName][this._id]}u.count||delete o[s.eventName]}s.elementCallback&&s.target.removeEventListener&&s.target.removeEventListener(s.eventName,s.elementCallback,s.useCapture);this._eventRecords.splice(i--,1)}}};e.prototype.raise=function(t,n,r){return e.raise(this._parent,t,n,r)};e.prototype.declare=function(e){var t=this._parent.__declaredEvents=this._parent.__declaredEvents||{};if("string"==typeof e)t[e]=!0;else for(var n=0;n<e.length;n++)t[e[n]]=!0};e._uniqueId=0;return e})(),it=n(119),st=Object(v.e)({eventName:"UnhandledPromise,",shortEventName:"UnhandledPromise",samplingFeature:{ODB:!0,ODC:"UnhandledPromiseLogging",Fallback:!1},requiresParent:!1},{message:m.e.String,extraData:m.e.String}).withData({privacyClassification:m.t.requiredService,privacyDataTypes:["productAndServicePerformance"]}),ot=new((function(){function e(){this._outstandingPromiseErrors={};this._async=new p}e.prototype.log=function(e){var t=this,n=e.id;if(e.parent)e.handler&&delete this._outstandingPromiseErrors[n];else{this._outstandingPromiseErrors[n]=e;1===Object.keys(this._outstandingPromiseErrors).length&&this._async.setTimeout(function(){var e=t._outstandingPromiseErrors;t._outstandingPromiseErrors={};Object.keys(e).forEach(function(t){var n=e[t],r=n.exception?n.exception:n.error;r instanceof Error||r&&r.stack?tt.isCanceled(n)||f.log(r):st.logData({message:"Promise with no error callback",extraData:Object(it.e)(r)});if(window.console&&console.log){var i="Promise with no error callback:"+n.id;console.warn?console.warn(i):console.log(i);console.log(n);r&&r.stack&&console.log(r.stack)}})},0)}};return e})());new rt(ot).on(tt,"error",ot.log);0;var ut,at,ft=Object(v.e)({eventName:"PageInit,",shortEventName:"PageInit",requiresParent:!1},{screenWidth:m.e.Number,screenHeight:m.e.Number,availableScreenWidth:m.e.Number,availableScreenHeight:m.e.Number,renderWidth:m.e.Number,renderHeight:m.e.Number,browserWidth:m.e.Number,browserHeight:m.e.Number,devicePixelRatio:m.e.Number,referrer:m.e.String}),lt=(function(){function e(){}e.init=function(){ut||(ut=ft.logData({screenWidth:window.screen.width,screenHeight:window.screen.availHeight,availableScreenWidth:window.screen.availWidth,availableScreenHeight:window.screen.availHeight,renderWidth:window.innerWidth,renderHeight:window.innerHeight,browserWidth:window.outerWidth,browserHeight:window.outerHeight,devicePixelRatio:window.devicePixelRatio?window.devicePixelRatio:0}));return ut};return e})(),ct=n(225),ht=n(121),pt=Object(ht.e)({eventName:"Beacon,",shortEventName:"Beacon",requiresParent:!1},{name:m.e.String,status:m.e.String,success:m.e.Boolean,retryCount:m.e.Number,totalRetries:m.e.Number,eventCount:m.e.Number});(function(e){e[e.blocked=0]="blocked";e[e.exception=-1]="exception";e[e.timeout=-2]="timeout";e[e.abort=-3]="abort"})(at||(at={}));var dt=(function(){function e(t){this._async=new p(this);var n=t.url,r=t.requestTimeoutInMS,i=void 0===r?e.DEFAULT_TIMEOUT_MS:r,s=t.json,o=t.responseType,u=void 0===o?"":o,a=t.headers,f=void 0===a?{}:a,l=t.withCredentials,c=void 0!==l&&l,h=t.needsCors,d=void 0!==h&&h,v=t.onProgress,m=t.onUploadProgress,g=t.method,y=void 0===g?s?"POST":"GET":g;this._url=n;this._requestTimeoutInMS=i;this._postData=s;this._headers=f;this._method=y;this._withCredentials=c;this._needsCors=d;this._responseType=u;this._progressCallback=v;this._uploadProgressCallback=m}e.prototype.abort=function(e){this._abortRequest()&&!e&&this._callFailureCallback(this._request,at.abort,!1)};e.prototype.start=function(e,t){var n=this;this._successCallback=e;this._failureCallback=t;var r=this._method,i=this._headers;try{this._request=this._getRequest();var s=this._progressCallback,o=this._uploadProgressCallback,u=this._request,a=this._responseType;s&&(u.onprogress=function(e){try{s(e)}catch(e){f.logError(e)}});o&&(u.upload.onprogress=function(e){try{o(e)}catch(e){f.logError(e)}});this._async.setTimeout(function(){n._completed||n._timeoutCallback()},this._requestTimeoutInMS);u.onreadystatechange=function(){if(!n._completed){var e=4;try{e=u.DONE||4}catch(e){}u.readyState===e&&n._requestEndCallback()}};u.open(r,this._url,!0);"withCredentials"in u&&(u.withCredentials=this._withCredentials);u.responseType=a;for(var l in i)u.setRequestHeader(l,i[l]);u.send(this._postData)}catch(e){f.logError(e,{origin:location?location.origin:"unknown",withCredentials:this._withCredentials,requestUrl:this._url,headers:Object(it.e)(i),method:r});this._abortRequest();this._callFailureCallback(this._request,at.exception,!1)}};e.prototype._getRequest=function(){var e=this;if(!this._needsCors||!window.XDomainRequest)return new XMLHttpRequest;var t=new XDomainRequest;t.setRequestHeader=function(){};t.onprogress=function(){};t.ontimeout=function(){};t.onload=function(){e._requestEndCallback()};return t};e.prototype._abortRequest=function(){var e=!1;if(!this._completed){this._completed=!0;this._async.dispose();try{this._request&&this._request.abort()}catch(e){}e=!0}return e};e.prototype._timeoutCallback=function(){if(!this._completed){this._abortRequest();this._callFailureCallback(this._request,at.timeout,!0)}};e.prototype._callSuccessCallback=function(e,t){try{this._successCallback&&this._successCallback(e,t)}catch(e){f.log(e)}};e.prototype._callFailureCallback=function(e,t,n){try{this._failureCallback&&this._failureCallback(e,t,n)}catch(e){f.log(e)}};e.prototype._requestEndCallback=function(){if(!this._completed){this._completed=!0;var e=at.exception;try{this._async.dispose();try{e=this._request.status}catch(e){}}catch(t){e=at.exception;f.log(t)}e<400&&e>0?this._callSuccessCallback(this._request,e):this._callFailureCallback(this._request,e,!1)}};e.DEFAULT_TIMEOUT_MS=3e4;return e})(),vt=(function(){function e(e,t,n,r,i){this._endpointUrl=e.callbackEndpoint.authority+e.callbackEndpoint.path;var s={};if(i)for(var o=0;o<i.length;++o)s[i[o].EventType]=s[i[o].EventType]+1||1;var u={TelemetryTenantId:e.telemetryTenantToken.substring(0,32),AppVersion:e.appVersion,EventType:t,StatusCode:n,EventCount:i?i.length:0,Timestamp:r,Environment:e.environment||"",DatapointSchemaVersion:"1.0",TelemetrySource:"Aria",EventSummary:s,Workload:e.workload||"",FarmLabel:e.farmLabel||"",FarmName:e.farmName||""};this._dataCompletenessJson=JSON.stringify(u)}Object.defineProperty(e.prototype,"endpointUrl",{get:function(){return this._endpointUrl},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"dataCompletenessJson",{get:function(){return this._dataCompletenessJson},enumerable:!1,configurable:!0});e.prototype.send=function(){new dt({method:"POST",url:this._endpointUrl,json:this._dataCompletenessJson,requestTimeoutInMS:1e3}).start(function(e,t){},function(e,t,n){0})};return e})(),mt=n(82);function gt(e,t,n){var r=(function(e){for(var t={CorrelationVector:e.vector.toString(),ValidationErrors:e.validationErrors,WebLog_FullName:e.eventName,WebLog_EventType:mt.e[e.eventType]},n=e.eventName.split(","),r=0,i=n;r<i.length;r++){var s=i[r];s&&(t["WebLog_Type_".concat(s)]=1)}var o=e.data,u=e.context;if(u)for(var a in u)if(Object.prototype.hasOwnProperty.call(u,a)){if(null==(l=u[a]))continue;t[h=Object(O.e)(a)]=l}if(o)for(var f in o)if(Object.prototype.hasOwnProperty.call(o,f)){var l;if(null==(l=o[f]))continue;var c=e.metadata[f];if(c){var h=c.isPrefixingDisabled?Object(O.e)(f):"".concat(Object(O.e)(c.definedInName),"_").concat(f),p=c.type;if(4===p){for(var d in l)if(Object.prototype.hasOwnProperty.call(l,d)){var v=l[d];if(null!=v&&""!==v){var m=void 0;if("object"==typeof v)try{m=JSON.stringify(v)}catch(e){m=v}else m=v;t["".concat(h,"_").concat(d.replace(/\./g,"_"))]=m}}}else t[h]=6===p?c.typeRef[l]:l}}return{name:e.isEventTypePrefixingDisabled?n[n.length-2]:"ev_".concat(n[n.length-2]),values:t}})(t),i=r.name,s=r.values,o=new e.EventProperties;o.name=i;if(!N.t.isActivated("2657d5a5-7313-42a0-ab20-287781f44d1b")){(function(e){return"AppChrome.PageOpenedInTeamsVivaConnections1PAppContext"===e||"SPO.DashboardWebPart.Load"===e||"AdaptiveCardExtension.CardAction"===e||"TeamsNavigation.Navigation.ClickedInTeamsviva1pAppContext"===e||"TeamsSiteHeader.RefreshButtonClicked"===e||"TeamsSiteHeader.CopyLinkButtonClicked.successful"===e||"TeamsSiteHeader.GoToBrowserButtonClicked"===e})(s.Name)&&(o.eventType="VivaAnalytics")}(function(e,t,n,r){var i;try{for(var s in n)if(Object.prototype.hasOwnProperty.call(n,s)){i=s;t.setProperty(s,n[s])}}catch(t){var o=void 0,u=void 0;if(t instanceof e.Exception){o=t.ErrorCode();u=new Error("Aria error: ".concat(t.toString()))}if(u){t.handled=!0;r&&r.logError(u,{errorCode:o,propertyKey:i})}throw t}})(e,o,s,n);return o}function yt(e,t){var n=t.Session,r=t.Version,i=t.OSName,o=t.OSVersion,u=t.Market,a=t.UserId,f=t.Manifest,l=Object(s.i)(t,["Session","Version","OSName","OSVersion","Market","UserId","Manifest"]),c=e.getSemanticContext();n&&e.setContext("AppInfo.Session",n);f&&e.setContext("AppInfo.Manifest",f);r&&c.setAppVersion(r);c.setUserLanguage(u||"");if(a){var h=(function(e){return e&&e.replace(/(membership\|urn(%3a|:)spo(%3a|:)guest#)([^@]+)(@[^@]+)$/i,function(e,t,n,r,i,s){return"".concat(t).concat((function(e){if(!e||0===e.length)return 0;for(var t=5381,n=0;n<e.length;n++){t=(t<<5)+t+e.charCodeAt(n);t&=t}return t})(i)).concat(s)})})(a);c.setUserId(h)}i&&c.setDeviceOsName(i);o&&c.setDeviceOsVersion(o);for(var p in l)if(Object.prototype.hasOwnProperty.call(l,p)){var d=l[p];if(null==d)continue;var v=Object(O.e)(p);e.setContext(v,l[p])}}var bt=n(98),wt=(function(){function e(e){var t=this;this.logEvent=function(e){var n=t._onLogEvent?t._onLogEvent(e):e;t._createLogHandler().then(function(e){return e(n)})};this._getAria=Et(function(){return e.ariaLoader().then(function(t){(function(e,t){if(!e.LogManager.isInitialized()){e.LogManager.initialize(t.tenantToken,Object(s.e)(Object(s.e)({disableCookies:t.disableCookies},t.offlineCache?{browserOverrides:{onGetData:t.offlineCache.getData,onSaveData:t.offlineCache.saveData}}:{}),t.ariaLogConfiguration||{}));"undefined"!=typeof window&&"function"==typeof window.addEventListener&&window.addEventListener("beforeunload",function(){e.LogManager.flush()})}e.LogManager.addCallbackListener(function(e,n,r,i){r===t.tenantToken&&t.ariaQos&&t.ariaQos.reportQos({result:e,statusCode:n,events:i})})})(t,e);return t})});this._getLogger=Et(function(){return t._getAria().then(function(r){var i=(function(e,t,n){void 0===n&&(n={});var r=new e.Logger(t);yt(r,n);return r})(r,e.tenantToken,e.context),s=e.offlineDetection;return bt.e&&s?n.ee(0,296).then(function(n){t._offlineEventQueue=n.makeOfflineAriaEventQueue(i,e.tenantToken,s);return[i,r]}):Promise.resolve([i,r])})});this._createLogHandler=Et(function(){return t._getLogger().then(function(n){var r=n[0];return(function(e,t,n,r,i){void 0===n&&(n=!0);void 0===r&&(r=void 0);void 0===i&&(i=void 0);return function(s){try{if(s.enabled&&(s.eventType!==mt.e.Start||n)&&(!r||!r.isQosEvent(s))){var o=gt(e,s,a);bt.e&&(null==i?void 0:i.storeEventIfNecessary(o))||t.logEvent(o)}}catch(t){var u=void 0;t instanceof e.Exception&&(u=new Error("Aria error: ".concat(t.toString())));t&&t.handled||a.log(u||t)}}})(n[1],r,e.logStartEvents,e.ariaQos,t._offlineEventQueue)})});this._onLogEvent=e.onLogEvent}e.prototype.attach=function(e){this._createLogHandler();var t=this.logEvent;e.addLogHandler(t).forEach(t);return function(){return e.removeLogHandler(t)}};e.prototype.updateContext=function(e){this._getLogger().then(function(t){return yt(t[0],e)})};return e})();function Et(e){var t=void 0;return function(){t||(t=e());return t}}var St,xt=(function(){function e(e){this._handlerLoader=e}e.prototype.attach=function(e){var t,n=!1;this._getHandler().then(function(r){n||(t=r.attach(e))});return function(){n=!0;t&&t()}};e.prototype._getHandler=function(){var e=this._handlerLoader();this._getHandler=function(){return e};return e};return e})(),Tt=n(31),Nt=(function(){function e(){this._init()}Object.defineProperty(e,"instance",{get:function(){return e._instance||(e._instance=new e)},enumerable:!1,configurable:!0});e.registerOnErrorCallback=function(t){t&&"function"==typeof t&&e._onErrorCallbacks.push(t)};Object.defineProperty(e.prototype,"isRunning",{get:function(){return!(!window.__spWorker||!1===this._workerSupported)},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"isWorkerSupported",{get:function(){return!1!==this._workerSupported},enumerable:!1,configurable:!0});e.prototype.postMessage=function(e,t){if(!this.isRunning)throw new Error("SP Web Worker is not available.");if(t){e.requestId=Object(Tt.generate)();this._requestIdCallback.set(e.requestId,t)}this._worker.postMessage(e)};Object.defineProperty(e.prototype,"_requestIdCallback",{get:function(){if(!this._requestIdCallbackMap){this._requestIdCallbackMap=new Map;this._setupListener()}return this._requestIdCallbackMap},enumerable:!1,configurable:!0});e.prototype._setupListener=function(){var e=this;this._worker.addEventListener("message",function(t){if(t.data){var n=t.data;if(e._requestIdCallbackMap.has(n.requestId)){e._requestIdCallbackMap.get(n.requestId)(n);e._requestIdCallbackMap.delete(n.requestId)}}})};e.prototype._init=function(){if(!1===window.__spWorkerSupported)this._workerSupported=!1;else{var e=window.__spWorker;if(e){this._worker=e;if(void 0===window.__spWorkerStarted){this._setWorkerStartedListener();this._setWorkerErrorListener()}}else{var t=new Blob(["fetch(self.location.origin + '/_layouts/15/spwebworkerproxy.ashx').then(function(rsp) {if (rsp.ok) {return rsp.text();} else {return Promise.reject({msg: 'Failed to fetch web worker script.', status: rsp.status, statusText: rsp.statusText});}}).then(function(txt) {try {eval(txt);} catch(evalErr){return Promise.reject({msg: 'Failed to eval: ' + evalErr.toString()});}}).catch(function(err) {setTimeout(function() {throw new Error(JSON.stringify(err));});});"],{type:"text/javascript"}),n=URL.createObjectURL(t);this._worker=new Worker(n,{name:"SP Worker"});this._setWorkerStartedListener(n);this._setWorkerErrorListener(n)}}};e.prototype._setWorkerStartedListener=function(t){var n=this;this._worker.addEventListener("message",function(r){if("SPWebWorker started."===r.data){window.__spWorker||(window.__spWorker=n._worker);window.__spWorkerStarted=!0;t&&URL.revokeObjectURL(t);e._onErrorCallbacks=[]}})};e.prototype._setWorkerErrorListener=function(t){var n=this;this._worker.addEventListener("error",function(r){var i;if(r.message.includes("Failed to fetch web worker script")||r.message.includes("Failed to eval")){window.__spWorkerStarted=!1;null===(i=n._worker)||void 0===i||i.terminate();delete n._worker;t&&URL.revokeObjectURL(t);for(;e._onErrorCallbacks.length>0;)e._onErrorCallbacks.pop()()}})};e._onErrorCallbacks=[];return e})();(function(e){var t;(function(e){(function(e){e.Init=0;e.UpdateContext=1;e.LogEvent=2;e.Flush=3})(e.Operation||(e.Operation={}));e.HandlerId="e1cbdf8f-8d54-4f5c-9f81-a86bb13a00e8"})(t=e.Telemetry||(e.Telemetry={}));(function(e){e.Ids={Telemetry:t.HandlerId}})(e.Handlers||(e.Handlers={}))})(St||(St={}));var Ct=(function(){function e(e){var t=this;this.logEvent=function(e){t._shouldLogEvent(e)&&t._bufferedEvents.push(e);(t._bufferedEvents.length-1)%t._bufferedEventThreshold==0&&setTimeout(function(){return t._logEvents(!1)},t._timeoutPeriod)};this._params=e;this._spWebWorkerProxy=Nt.instance;this._bufferedEvents=[];this._initializeLogManager(e);this._onLogEvent=e.onLogEvent;if(this._params.useHigherThresholdValues){this._bufferedEventThreshold=100;this._timeoutPeriod=20}else{this._bufferedEventThreshold=50;this._timeoutPeriod=10}}e.prototype.attach=function(e){var t=this,n=this.logEvent,r=e.addLogHandler(n);r=r.filter(function(e){return t._shouldLogEvent(e)});for(var i=function(){var e=r.splice(0,s._bufferedEventThreshold);setTimeout(function(){return t._logBufferedEvents(e)},s._timeoutPeriod)},s=this;r.length;)i();return function(){return e.removeLogHandler(n)}};e.prototype.updateContext=function(e){this._spWebWorkerProxy.postMessage({target:St.Telemetry.HandlerId,operation:St.Telemetry.Operation.UpdateContext,payload:{context:e,isCustomerPromiseHandler:this._params.isCustomerPromiseHandler}})};e.prototype._logBufferedEvents=function(e){var t=this;e.forEach(function(n,r){return e[r]=t._finalizeEvent(n)});e.length&&this._spWebWorkerProxy.postMessage({target:St.Telemetry.HandlerId,operation:St.Telemetry.Operation.LogEvent,payload:e})};e.prototype._finalizeEvent=function(e){var t=this._onLogEvent?this._onLogEvent(e):e;t.data.privacyClassification=m.t.requiredService;return t};e.prototype._shouldLogEvent=function(e){return e.enabled&&(e.eventType!==mt.e.Start||this._params.logStartEvents)&&!(this._params.ariaQos&&this._params.ariaQos.isQosEvent(e))};e.prototype._initializeLogManager=function(e){var t=this;this._spWebWorkerProxy.postMessage({target:St.Telemetry.HandlerId,operation:St.Telemetry.Operation.Init,payload:{isCustomerPromiseHandler:e.isCustomerPromiseHandler,oneDsCollectorUrl:e.oneDsCollectorUrl,tenantToken:e.tenantToken,logConfiguration:Object(s.e)({},Object(s.e)({disableCookies:e.disableCookies},e.ariaLogConfiguration||{})),context:e.context,appLanguage:"undefined"!=typeof document&&document.documentElement?document.documentElement.lang:void 0}});"undefined"!=typeof window&&"function"==typeof window.addEventListener&&window.addEventListener("beforeunload",function(){t._logEvents(!0);t._spWebWorkerProxy.postMessage({target:St.Telemetry.HandlerId,operation:St.Telemetry.Operation.Flush,payload:{}})})};e.prototype._logEvents=function(e){var t=e?this._bufferedEvents.length:this._bufferedEventThreshold;this._logBufferedEvents(this._bufferedEvents.splice(0,t))};return e})();var kt,Lt,At,Ot,Mt={logStartEvents:!1,Init:function(e,t,n,r){var i=this;void 0===r&&(r={});try{Mt.logStartEvents=!0;var o=Ht(t,r.platformDetection),u=new j.e(t.completenessCallbackEndpoint),a={telemetryTenantToken:e,appVersion:t.version,environment:t.environment,workload:t.workload,farmLabel:t.farmLabel,farmName:t.farmName,callbackEndpoint:u},l={ariaLoader:function(){return tt.resolve(n)},context:o,tenantToken:e,disableCookies:t.disableCookies,ariaLogConfiguration:{collectorUrl:t.collectorUrl},logStartEvents:Mt.logStartEvents,offlineDetection:r.offlineDetection,offlineCache:r.offlineCache,ariaQos:{isQosEvent:function(e){return pt.isTypeOf(e)&&!!e.data&&"AriaBeacon"===e.data.name},reportQos:function(e){var t=e.result,n=e.statusCode,r=e.events;new pt({name:"AriaBeacon",retryCount:0,totalRetries:0,eventCount:r?r.length:0}).end({success:0===t,status:n+""});0;""!==u.authority&&new vt(a,t,n,(new Date).getTime(),r).send()}}},c=(t.getAuthToken?new xt(function(){return Object(s.t)(i,void 0,void 0,function(){var e;return Object(s.r)(this,function(n){switch(n.label){case 0:n.trys.push([0,2,,3]);return[4,t.getAuthToken()];case 1:e=n.sent();return[3,3];case 2:n.sent();return[3,3];case 3:return[2,kt=new Pt(Object(s.e)({userAuthToken:e},l))]}})})}):kt=new Dt(l)).attach(Z.e);return function(){c();kt=void 0}}catch(e){e instanceof n.Exception&&(e=new Error("Aria error: ".concat(e.toString())));f.log(e);kt=void 0;return function(){}}},InitOnWebWorker:function(e,t,n){try{Mt.logStartEvents=!0;var r=n?t:Ht(t),i=new j.e(t.completenessCallbackEndpoint),s={telemetryTenantToken:e,appVersion:t.version,environment:t.environment,workload:t.workload,farmLabel:t.farmLabel,farmName:t.farmName,callbackEndpoint:i},o=N.t.isActivated("6ad3534e-6943-4a81-94ed-7f8c243f704e","05/13/2021","Use higher threshold values for buffered events and setTimeout interval.");Lt=new Ct({isCustomerPromiseHandler:!!n,context:r,useHigherThresholdValues:o,tenantToken:e,disableCookies:t.disableCookies,ariaLogConfiguration:{collectorUrl:t.collectorUrl},logStartEvents:Mt.logStartEvents,ariaQos:{isQosEvent:function(e){return pt.isTypeOf(e)&&!!e.data&&"AriaBeacon"===e.data.name},reportQos:function(e){var t=e.result,n=e.statusCode,r=e.events;new pt({name:"AriaBeacon",retryCount:0,totalRetries:0,eventCount:r?r.length:0}).end({success:0===t,status:n+""});0;""!==i.authority&&new vt(s,t,n,(new Date).getTime(),r).send()}}});var u=n?Lt.attach(n):Lt.attach(Z.e);return function(){u();Lt=void 0}}catch(e){f.log(e);Lt=void 0;return function(){}}},updateContext:function(e,t){void 0===t&&(t={});if(kt){var n=Ht(e,t.platformDetection);kt.updateContext(n)}if(Lt){n=Ht(e,t.platformDetection);Lt.updateContext(n)}},isInitialized:function(e){return!!kt}},_t=Mt,Dt=(At=m.t.requiredService,function(e){var t="function"==typeof At?At:function(){return At};return(function(e){Object(s.n)(n,e);function n(n){var r=n.onLogEvent;return e.call(this,Object(s.e)(Object(s.e)({},n),{onLogEvent:function(e){var n=r?r(e):e;if(n.data)return Object(s.e)(Object(s.e)({},n),{data:Object(s.e)(Object(s.e)({},n.data),{privacyClassification:t(n)})})}}))||this}return n})(e)})(wt),Pt=(function(e){Object(s.n)(t,e);function t(t){var n=t.context,r=void 0===n?{}:n,i=t.userAuthToken,o=t.userId,u=(t.context,Object(s.i)(t,["userAuthToken","userId","context"])),a=i&&(function(e){try{var t=e.split(".")[1];if(t)return JSON.parse(atob(t.replace(/-/g,"+").replace(/_/g,"/")))}catch(e){return}})(i),f=a&&a.puid?"Business":"Unknown",l=a&&a.app_displayname||"Unknown",c=a&&a.appid||"Unknown",h=(function(e,t,n){return e?"Unknown"===n?"":e:"Business"===n&&t&&t.puid||""})(o,a,f),p=h?1:0,d=a&&a.tid||"Unknown";return e.call(this,Object(s.e)({context:Object(s.e)({AccountType:f,AppName:l,AppId:c,IsAuthenticated:p,SiteSubscriptionId:d,UserId:h},r)},u))||this}return t})(Dt);function Ht(e,t){void 0===t&&(t=new y);return Object(s.e)({AccountType:ee.e[e.accountType],BrowserIsMobile:t.isMobile,BrowserIsPWA:t.isPWA,BrowserMajVer:t.browserMajor,BrowserMinVer:t.browserMinor,BrowserName:t.browserName,BrowserUserAgent:t.userAgent,CloudType:e.cloudType,Environment:e.environment,FarmLabel:e.farmLabel,FarmName:e.farmName,IsAuthenticated:e.isAuthenticated?1:0,Market:e.market,Manifest:e.manifest,OSName:t.osName,OSVersion:t.osVersion,Session:e.session,SiteSubscriptionId:e.siteSubscriptionId||"",UserId:e.userId,Version:e.version,Workload:e.workload,SiteId:e.siteId,WebId:e.webId,WebTemplateId:e.webTemplateId,pageCorrelationId:e.pageCorrelationId,originalSession:e.originalSession,ResourceTenantId:e.resourceTenantId,listId:e.listId},e.context||{})}function Bt(){return n.ee(0,"aria-lib")}var jt={ODB:588,ODC:"EnableAriaLogging",OneDrive:!0,Fallback:!1},Ft={ODB:-990,ODC:"ForceEnableAria"},It=(function(){function e(){}e.Init=function(e,t,n,r){void 0===n&&(n=Bt);e&&(function(e){var t=e.version;return!(function(){if(!N.t.isActivated("010437DC-D681-4308-A21E-8BD4ADE3783C","11/12/2021","Use session storage TAB test running flag to bypass client-side logging."))return qt("_isRunningTABTest");return!1})()&&("dev"!==t&&ct.e.isFeatureEnabled(jt)||(function(){if(ct.e.isFeatureEnabled(Ft))return!0;return qt("enableAriaUpload")})())})(t)&&(Ot=n().then(function(n){_t.Init(e,t,n,{offlineDetection:r})},function(e){}))};e.UpdateContext=function(e){Ot&&Ot.then(function(){_t.updateContext(e)}).catch(function(){})};Object.defineProperty(e,"logStartEvents",{get:function(){return _t.logStartEvents},set:function(e){_t.logStartEvents=e},enumerable:!1,configurable:!0});e.getAriaTimeZone=function(e){var t=Math.abs(e),n=t%60,r=Math.floor(t/60);return"".concat(e>0?"-":"+").concat(r>=10?r:"0".concat(r),":").concat(n>=10?n:"0".concat(n))};return e})();function qt(e){try{if("sessionStorage"in window&&window.sessionStorage){var t=window.sessionStorage[e];return t&&"true"===t.toLowerCase()&&"undefined"!=typeof console&&!!console}}catch(e){}return!1}var Rt=["guestaccesstoken","access_token","prooftoken","tempauth","share","auth_token","auth_key","originalPath","querytext","querytemplate","selectproperties","hithighlightedproperties","refiners","sortlist","refinementfilters","collapsespecification","hiddenconstraints","querytemplatepropertiesurl","zerotermsuggestions","pageinfo","immediacyquerystring","immediacytitle","immediacyurl","k","q","InplaceSearchQuery","Default"],Ut=["/_api/search/","/_api/searchsetting/","/results.aspx","/osssearchresults.aspx","/peopleresults.aspx","/conversationresults.aspx","/videoresults.aspx","/sharepoint.aspx","/search.aspx","RenderListDataAsStream"],zt=/[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}/gi;var Wt,Xt=n(34);function Vt(e){void 0===e&&(e={});var t,n=e.pageContext,r=void 0===n?window._spPageContextInfo:n,i=e.spModuleLink,s=void 0===i?window._spModuleLink:i,o=r.env||"devbox",u="",a="";switch(o.toLowerCase()){case"prod":case"dprod":t="prod";break;default:case"edog":case"prodbubble":t="ppe"}if(s){u=s.buildNumber;a=s.manifestName;s.usingRedirectCookie&&(u="dev")}return{version:u,manifest:a,appEnvironment:o,ariaEnvironment:t}}function $t(e){e&&e.length>36&&(e=e.replace(/[{}]/g,""));return e}Z.e.cleanString=function(e,t,n){n&&n.isKey&&(e=e.replace(zt,"<guid>"));if(e.indexOf("http")<0)return e;var r;try{r=new B(e)}catch(t){return e}if(""===r.getAuthority())return e;for(var i=e,s=!1,o=0;o<Ut.length;o++)if(r.getPath().indexOf(Ut[o])>=0){s=!0;break}if(s)i="".concat(r.getScheme(),"://").concat(r.getAuthority()).concat(r.getPath(),"<scrubbedquerystring>...");else{for(var u=r.getQueryAsObject(),a=0;a<Rt.length;a++){var f=Rt[a];u[f]&&(u[f]="<scrubbed>")}r.setQueryFromObject(u);i=r.getDecodedStringForDisplay()}return i};lt.init();function Jt(e){var t=(function(e){var t=Vt(e).ariaEnvironment,n=void 0===t?"ppe":t;return n&&e.tokens[n]})(e),n=(function(e){if(Wt)return Wt;var t=e.pageContext,n=void 0===t?window._spPageContextInfo:t,r=Vt(e),i=r.version,s=r.manifest,o=r.appEnvironment,u=n.isAnonymousGuestUser,a=n.currentUICultureName,f=n.systemUserKey,l=n.userLoginName,c=n.siteSubscriptionId,h=n.farmLabel,p=n.farmName,d=n.siteId,v=n.webTemplate,m=n.webId,g=n.ariaCollectorUrl,y=n.CorrelationId,b=n.cloudType,w=n.getAuthToken,E=n.homeTenantId,S=n.listId;return Wt={isAuthenticated:!u,market:a,session:e.sessionId||Xt.e.generate(),version:i,manifest:s,userId:f,accountType:l?ee.e.Business:ee.e.BusinessAnonymous,siteSubscriptionId:c,farmLabel:h,farmName:p,collectorUrl:g,environment:o,workload:e.workload,disableCookies:u,siteId:$t(d),webTemplateId:v,webId:$t(m),context:e.context,pageCorrelationId:y,cloudType:b,getAuthToken:w,resourceTenantId:E,listId:$t(S)}})(e);n&&It.Init(t,n,e.ariaLoader,e.offlineDetection)}var Kt={ppe:"3620e5572cf04917bf4993285ebe4e15-d5c60963-35a1-45e2-9430-928e0656b9cd-6718",prod:"a9e9a63d9df4411ebbf89297947d7666-b5f0498b-a808-4b74-bb7b-2b33f7971660-7417"},Qt="f74c101dfd474d06a7b40fed2051df7e-edb10b9a-779e-4b75-b0cc-ee0cee0f831b-7189",Gt="af7114704a204580909f08c904c5ac6f-6f6f4c13-294c-4a00-8e55-71180ed7d627-7044";function Yt(e,t){void 0===t&&(t={});Jt((function(e,t){void 0===t&&(t={});return{workload:e,tokens:Kt,ariaLoader:t.ariaLoader,context:t.context,sessionId:t.sessionId,pageContext:t.pageContext,offlineDetection:t.offlineDetection}})(e,t))}var Zt=N.e,en=n(118),tn=(window._spModuleLink&&["ODBLightSpeedWebPack","ODBOneDrive"].indexOf(window._spModuleLink.manifestName),window._spPageContextInfo),nn=(!tn||"21"===tn.webTemplate&&tn.listBaseTemplate,N.e.isActivated("DC975CAD-8F3C-4979-97E2-DA9970A68919","03/25/2022","Prefer isMySiteOwner check for ODB"),window._spPageContextInfo),rn=-1!==navigator.userAgent.indexOf("OneDriveWinApp");try{rn=rn||!!window.sessionStorage.getItem("_isOneDriveWinApp")}catch(e){}var sn=window._spModuleLink&&"ODBLightSpeedWebPack"===window._spModuleLink.manifestName,on=(window._spModuleLink&&window._spModuleLink.manifestName,window.Flight&&"odclightspeedwebpack"===window.Flight.manifest),un=!nn||"21"===nn.webTemplate&&700===nn.listBaseTemplate,an=(Zt.isActivated("BF7BE655-7F9F-40C8-920B-C4088F784512","05/05/2022","Prefer cookie API calls using proxy in File Picker"),Zt.isActivated("95195f4e-8936-409f-bc5e-d98fad1cef73","08/18/2021","KillSwitch for consuming exposed Default click control handler in OneDriveItemsScopeApp"),Zt.isActivated("93C317DF-466B-47B2-96C0-2E9BB53EB3D3","05/05/2022","Use river flow in Tiles List media group"),Zt.isActivated("7B7FA902-74E1-41A3-B7FA-5E99A7C60744","10/25/2021","Enables the CallerId and CallerScenarioId query provided on inbound links to be logged in extra data of Page.View engagement event."),!!rn&&Zt.isActivated("70C000B4-CC40-4BC4-99BF-77B1C9D91115","08/01/2022","Disable photos pivot in winApp"),Zt.isActivated("728AC795-2069-44D4-B387-4B82D9E1D930","06/29/2022","Use layer projection for Sites in ODB"),Zt.isActivated("C7DDA4BE-D28B-4151-A22F-0BD7727B012D","1/26/2022","Use cross-site File Browser for Sites in ODB"),Zt.isActivated("0f4230b0-8301-4560-aac8-39a4782d0e1f","01/10/2022","Time-to-File Metrics for File Browsing"),{ODB:!rn&&1177}),fn=(Zt.isActivated("3dac8e1f-9e31-454a-a297-e150a263791b","11/16/2021","Enable ItemsScope AutoAction."),Zt.isActivated("482DE0D2-5BC9-4258-8129-745BEA91C66D","10/21/2021","Enable ItemsScope AutoAction"),Zt.isActivated("482DE0D2-5BC9-4258-8129-745BEA91C66D","10/21/2021","Enable ItemsScope AutoAction"),Zt.isActivated("770C66A8-9657-4A51-AE18-E13288C8AE8F","",""),!rn&&Zt.isActivated("5F12686F-52A2-4E49-A1D8-A2AE7969622E","10/29/2021","Use multiPart getItem api(ODC vroom) to avoid CORS if KS is not activated."),Zt.isActivated("DC975CAD-8F3C-4979-97E2-DA9970A68919","03/25/2022","Prefer isMySiteOwner check for ODB"),void 0===n.p),ln=(un&&!sn&&!rn||!un&&fn&&Zt.isActivated("608E1D31-70F0-4B48-9EC3-CDCC41EA17E2","8/30/2021","Refresh the page in a SPList when closing previewer when the user is using AMD."),Zt.isActivated("9ACCAC8B-D74D-43A2-98AA-457EADAF074D","11/5/2021","Initialze logging with OAuth support"),Zt.isActivated("72B58EAF-775A-4B01-BFF4-A083818DDF86","05/05/2022","Use on-demand implementation for DefaultClickAction"),Zt.isActivated("0DEAC9E8-4230-49B1-869A-55EE7D4256FC","10/22/2021","Disable silent auth frame in ODC itemsscope for anonymous users"),{ODB:!rn}),cn={ODB:851},hn=(!on||ct.e.isFeatureEnabled({ODC:"UseItemsScopeInQuotaBanner"}),{ODC:"UseNewShareDialogForWinApp"}),pn={ODB:60820},dn={ODB:60850},vn=(Zt.isActivated("a22e84e5-8586-40bd-8095-9c90ab3fad2b","12/08/2020","Use the new tile design in the more shared libraries page"),{ODC:"EnableSearchInFilePickerHosts",ODB:1128}),mn=(Zt.isActivated("74355188-3458-42A4-9DB6-5666BA79B5EB","03/02/2022","Moves transition resources to the KnockoutResourceScope as a preparation for OnDemand Knockout"),Zt.isActivated("f8821413-7078-41bf-b2f4-f23a04fb160a","05/11/2021","Log error in PrefetchListData method"),Zt.isActivated("be72c753-c1ba-4ab0-ad2a-8b72581fe3a0","05/30/2021","Remove fixed height from suite nav at 400% zoom"),Zt.isActivated("63B21C89-2740-44A9-980B-DDA8E2689DAA","07/21/2021","Do not invalidate source location when performing a copy"),Zt.isActivated("63B21C89-2740-44A9-980B-DDA8E2689DAA","07/21/2021","Do not invalidate source location when performing a copy"),Zt.isActivated("18CB616A-0269-4100-A4C5-85DEE27907A9","08/04/2022","Load notification banner only if referral query params are present"),Zt.isActivated("60FAB98B-2A5D-4153-B69A-46A9C7C4B6D7","11/17/2021","Use SelectionHelper to get the current item"),Zt.isActivated("CCA9C934-1E36-4308-B93D-0025EAAECC37","11/17/2021","Use SelectionHelper to get the current item in AddToAlbumExecutor"),Zt.isActivated("EB5778E9-2AB1-4A93-AED8-64615D06F8D6","03/01/2022","Show notification banner in Lightspeed"),[cn]),gn=function(){var e,t,n,r,i=(e=navigator.userAgent,t=e.substring(e.indexOf("OneDriveWinApp")),n=t&&t.split("/"),{winappMajorVersion:(r=rn&&(n.length>1?n[1].split("."):t))?parseInt(r[0],10):"-1",winappMinorVersion:r?parseInt(r[1],10):"-1",winappPatchVersion:r?parseInt(r[2],10):"-1"}),s=i.winappMajorVersion,o=i.winappMinorVersion;return!(s<19||19===s&&(o<23||23===o&&i.winappPatchVersion<7))},yn=nn&&nn.IsIEDisabledForItemsScope,bn=function(e){if(nn&&nn.farmSettings)return nn.farmSettings[e]},wn=function(e){return e.serviceSetting?(t=e.serviceSetting,Zt.isActivated("ff60da5f-a9ea-432e-9d7b-d58b8f7519ba","2/19/2021","ServiceConfigSettingKillSwitch")?1===Number(bn(t)):1===Number(bn(t))||"true"===bn(t)):(!yn||e!==cn)&&(ct.e.isFeatureEnabled(e)||(function(e){if(mn.some(function(t){return!(t.ODB&&t.ODB!==e.ODB||t.ODC&&t.ODC!==e.ODC)})){var t=window.location.search;t&&"?"===t.charAt(0)&&(t=t.substr(1));var n=en.e(t),r=n&&n.TryNewFeature;return"true"===r||"1"===r}return!1})(e));var t},En=rn?function(e){if(!gn())return!1;switch(e){case ln:case an:return wn(e={ODB:1211});case hn:return wn(e={ODC:"UseNewShareDialogForWinApp"});default:return wn(e)}}:wn,Sn=(N.e.isActivated("96723D41-0476-4E60-A02D-199517143E81","11/10/2020","Allow ADAL as fallback for OAuth token requests"),window._spPageContextInfo),xn=(un||Sn.listBaseTemplate,Zt.isActivated("63D3DE85-2D59-4622-8BD4-CEEC395F89D6","10/21/2021","Enable anonymous report concern command"),Zt.isActivated("b8c885e0-1292-4bba-a624-d365f85bf140","05/27/2021","Show the new create shared library UI in ODB"),Zt.isActivated("5b1beb70-aac8-4da3-a4e2-151c7e55cd53","Fallback to global canManageLinks logic"),Zt.isActivated("61c45046-bce1-4f47-a4dc-477520ba1895","11/16/2021","Do not invalidate item after sharing when in search view"),{ODB:1115}),Tn=(Zt.isActivated("cce0d731-4a47-460e-b5d5-c31fdf4d347a","9/11/2020","Pass through clientId to hosted OneUp WAC app"),Zt.isActivated("53c310fe-1add-42fe-9e42-26b35764ed1a","12/14/2020","Pass through docClickTime to hosted OneUp WAC app"),Zt.isActivated("bcc0651f-a0de-430b-8435-1afc9875b682","08/03/2021","Pass through uih to hosted OneUp WAC app"),Zt.isActivated("731D9A2D-7DDD-4DE8-98D1-D454F59246E7","05/30/2022","Pass through EmbeddingPageSessionInfo and EmbeddingPageOrigin to hosted OneUp WAC app"),Zt.isActivated("8a90e09f-a635-4113-897e-402973bce841","10/21/2021","Use pdf viewer to preview tiff files"),Zt.isActivated("f50a33e2-f57e-4b97-a36d-d6a3be9e5240","02/09/2021","Add forced new token while trying to get token"),Zt.isActivated("97048ac2-781a-4ee8-8f5d-46995f622c82","05/24/2021","Use GraphDatasource to get and refresh driveAccessToken"),Zt.isActivated("d6cee8cb-7162-4dee-a43b-63adeeb1971d","01/27/2021","Sets a query param (correlationId) which can help debug client errors using service logs"),Zt.isActivated("eae1b7c5-a0b3-43b0-839c-30cfbc2e5a9d","4/12/2021","Add sending of playbackSessionId and content category as qsp"),Zt.isActivated("276f3e59-6a18-4296-b221-d9fbe60eca97","2/9/2021","Use a window.fetch  request to check for cors errors"),Zt.isActivated("71913f76-47d4-4293-a492-2205b7c1e655","3/18/2021","Enable sending of heartbeat telemetry"),Zt.isActivated("bdfc077e-7152-4772-874e-1936725cde1f","3/24/2021","Enable max retries check on RequestManager in Dashling."),Zt.isActivated("9d46a6f9-9676-41ed-a4b5-3c01c1080993","3/1/2021","Use the height specified in the adaptation set as the resolution, rather than parsing it from the resolutionId"),Zt.isActivated("d4be6831-a0f7-40f7-b77b-5ad215b528c9","8/19/2020","Control if video dashling telemetry is enabled"),Zt.isActivated("20f62141-0df7-4eb3-943c-ff45219c1ee1","8/19/2020","Control if video dashling decryptor v2 is disabled"),Zt.isActivated("f6b9287b-5835-460b-8651-ae3b92ec34ce","9/14/2020","Control if video dashling supports parallel key call"),Zt.isActivated("336583dd-00a6-40dd-beea-2f2068fb2f0c","8/19/2020","Control if video dashling cdn ref ids telemetry is enabled"),Zt.isActivated("c56be611-10e0-4cde-8a46-1244a42f47b3","9/28/2020","Control if video dashling telemetry info is enabled"),Zt.isActivated("b8133a0d-36a6-4a4d-ba26-fb4563484d41","11/11/2020","Control if video refresh token is enabled"),Zt.isActivated("22f8bf4b-d19c-4c1f-a5a7-cb2fd36c8d6c","10/05/2020","Control if force Meta params are enabled"),Zt.isActivated("351ee0af-7950-49cf-a8f7-2fa77e44fb97","11/05/2020","Control if smart playback is enabled"),Zt.isActivated("45a43ec1-f520-41e6-9f94-4d14af7ccf6d","9/30/2020","Control if video dashling optimizations are enabled"),Zt.isActivated("411555f8-233c-4f56-97f4-586835b5e130","04/03/2021","Retry video metadata call with the access token provided in the playback URLs"),Zt.isActivated("cc74fd4e-2d38-4443-a603-78c3c5024447","09/01/2020","Call MeTa to verify captions exist before showing UI toggle"),Zt.isActivated("c1063c7b-5a82-4f68-84ca-3920d6541988","2/11/2021","Controls teams meeting recordings fallback to ffmpeg when media foundation unsuccessful"),Zt.isActivated("0f853474-6c72-4456-ac06-ed2da32c4d44","3/9/2021","Identify OneUpPlayer to MeTA transcode service"),Zt.isActivated("174C413E-7F06-49B2-AFBE-D1C3E6972EBA","11/24/2021","Disable SK compliance video block for ODC"),Zt.isActivated("dbecc8cc-2bf6-4a33-bedf-9f71faa71fdf","1/5/2021","Controls DASH playback on Safari"),Zt.isActivated("ce53700c-4498-49ef-b738-21131fdc2551","5/30/2021","Enable pretranscode support"),Zt.isActivated("398DDB43-D6A8-4060-8F69-378A0AEF845A","03/25/2022","Display request access button when no permission (403)"),Zt.isActivated("d047b4a4-477a-4da6-b18c-1eb7daf19cc8","11/03/2021","Add request access button to OneUp curtain"),Zt.isActivated("0b6f3eb5-90ef-4e77-81d9-2286c06c3257","07/20/2021","Engagement Telemetry Enhancement for 1up according to ask from OnePlayer"),Zt.isActivated("ca5833b4-d7d9-406d-8e36-fc28548b52a2","10/21/2020","Update video autoplay behavior"),Zt.isActivated("48820036-4b07-404e-9951-c55dd7aa55cd","10/28/2021","Fetch captions for only TMRs"),Zt.isActivated("bd34a99e-6762-42ac-9795-c2123340281b","11/17/2021","Enable FFMPEG transcoding for all HLS sessions"),Zt.isActivated("ac5fc96a-ba27-41c2-8211-39a2d12bd2b0","2/17/2022","When the browser is Safari, force the video files to play using native player"),Zt.isActivated("1ba50e39-1615-4340-82c7-765408f11243","4/27/2022","When progressive playback is used, add cross origin anonymous to the video element"),Zt.isActivated("F6679A55-17E3-4F3B-BECF-7B969EB307C2","02/08/2022","Check if the teams meeting recording has an expiration date."),Zt.isActivated("0c7f0abb-bacf-45f2-814d-61bb1e84f2f5","8/1/2021","move target up to solve keybinding issues"),Zt.isActivated("D095D1B3-A17F-441B-8855-D465ED3CA91F","12/15/2021",""),Zt.isActivated("483a92b4-201c-4b8c-b657-3fe2ce288672","4/22/2022","Show teaching bubble for TMR files consistently before user closes it."),Zt.isActivated("a6183b15-1c4c-4fe0-b52c-b263235d6c3d","5/11/2022","Use UTC time zone for TMR"),Zt.isActivated("744d1129-5df2-4930-b056-7bc0fb82151b","5/11/2022","Feature to check if video codec is in the list of unsupported by browser"),n(48));Object(Tn.e)([{rawString:"#upsellBannerForPhone button{min-width:1px;height:32px;margin:0;padding:0;color:#000;border:0;outline:0}#upsellBannerForPhone button p{margin:0;font-size:16px}#upsellBannerForPad,#upsellBannerForPhone{position:absolute;z-index:2000;background-color:#fff;padding-top:10px;box-shadow:0 0 5px 0 rgba(0,0,0,.4)}#upsellBannerForPad iframe,#upsellBannerForPhone iframe{width:252px;height:192px;margin:0;padding:0 28px 20px 28px;border:0}[dir=rtl] #upsellBannerForPad iframe,[dir=rtl] #upsellBannerForPhone iframe{padding:0 28px 20px 28px}#upsellBannerForPad button,#upsellBannerForPhone button{min-width:1px;height:32px;margin:0;padding:0;color:#000;background-color:#fff;border:0;outline:0}#upsellBannerForPad button p,#upsellBannerForPhone button p{margin:0;font-size:16px}#upsellBannerForPad{width:310px;height:254px;top:calc(50vh - 127px)}[dir=ltr] #upsellBannerForPad{left:calc(50vw - 154px)}[dir=rtl] #upsellBannerForPad{right:calc(50vw - 154px)}[dir=ltr] #upsellBannerForPad button{margin-left:90%}[dir=rtl] #upsellBannerForPad button{margin-right:90%}#upsellBannerForPhone{width:100%;bottom:0}[dir=ltr] #upsellBannerForPhone button{margin-left:91vw}[dir=rtl] #upsellBannerForPhone button{margin-right:91vw}#upsellOverlay{width:100%;height:100%;position:absolute;z-index:1999}.od-Wac-Share-Dialog{max-width:500px;max-height:700px}.od-Wac-Share-Dialog .ms-Dialog-inner{padding:0}.od-Wac-Share-Dialog .ms-Dialog-header{display:none}.od-Wac-Share-Container{max-width:500px;max-height:700px;min-width:320px}.od-Wac-Share-Iframe{border:none}.odc-Wac-Share-Spinner{display:flex;align-items:center;justify-content:center;height:100%}"}]);var Nn="MissingProperty",Cn="ParsingResponseFailed",kn=["AccessToken","FileGetUrl"],Ln=(function(){function e(e,t,n,r,i){this._wacIFrame=e;this._wacIFrameOrigin=t;this._wacDataSource=r;this._itemId=n;this._hostSessionId=i;var s=ne.e.isFeatureEnabled({ODB:60471});this._quota=s?2:1}e.prototype.processMessage=function(e,t){var n=this,r=new o.e({name:"RefreshAccessToken"}),i=e.Tokens;try{if(!this.hasQuota()){this.sendFailedMessageToWac(i,[{Id:"202",Details:"Call in progress"}],null);r.end({resultType:u.e.ExpectedFailure,resultCode:"Call in progress",extraData:{requestedTokens:i.toString(),wacCorrelationId:t,HostSessionId:this._hostSessionId}});return}var s=this.getUnknownTokenNames(i);if(s.length>0){this.handleUnknownTokenNames(s,null);r.end({resultType:u.e.ExpectedFailure,resultCode:"UnknownTokenRequest",extraData:{requestedTokens:i.toString(),wacCorrelationId:t,HostSessionId:this._hostSessionId}});return}this.acquireQuota();return this._wacDataSource.getWopiTargetInfoWithItemId(this._itemId.toString()).then(function(e){n.releaseQuota();n.sendSuccessMessageToWac(i,e);r.end({resultType:u.e.Success,resultCode:"Success",extraData:{wacCorrelationId:t,HostSessionId:n._hostSessionId,CorrelationId:e.requestId}})},function(e){n.releaseQuota();var s=n.getTokenRefreshErrors(e);n.sendFailedMessageToWac(i,s,e.requestId);r.end({resultType:n.getQosResultType(e),resultCode:n.getQosResultCode(e),extraData:{CorrelationId:e.requestId,vroomItemUrl:e.requestUri,requestedTokens:i.toString(),wacCorrelationId:t,HostSessionId:n._hostSessionId}})}).catch(function(e){r.end({resultType:u.e.Failure,resultCode:"UnknownFailure",extraData:{requestedTokens:i.toString(),wacCorrelationId:t,HostSessionId:n._hostSessionId,message:e?e.message:""}})})}catch(e){r.end({resultType:u.e.Failure,resultCode:"UnknownFailure",extraData:{requestedTokens:i.toString(),wacCorrelationId:t,HostSessionId:this._hostSessionId,message:e.message}})}};e.prototype.hasQuota=function(){return this._quota>0};e.prototype.acquireQuota=function(){this._quota--;this._quota=Math.max(this._quota,0)};e.prototype.releaseQuota=function(){this._quota++;this._quota=Math.min(this._quota,2)};e.prototype.getQosResultType=function(e){var t=e.httpStatus;return 0===t||401===t||403===t||404===t||423===t||e.error===Nn||e.error===Cn?u.e.ExpectedFailure:u.e.Failure};e.prototype.getQosResultCode=function(e){return e.error?e.error===Nn||e.error===Cn?"NoToken":e.error:"UnknownFailure"};e.prototype.getUnknownTokenNames=function(e){var t=[];e.forEach(function(e){kn.indexOf(e)<0&&t.push(e)});return t};e.prototype.handleUnknownTokenNames=function(e,t){var n=[{Id:"Unknown token",Details:"Unknown token"}],r=[];e.forEach(function(e){r.push({Name:e,Errors:n,SPCorrelationId:t})});this.postMessageToWac(r)};e.prototype.sendSuccessMessageToWac=function(e,t){var n=this,r=[],i=[];e.forEach(function(e){if(r.indexOf(e)<0){r.push(e);var s=n.getSessionToken(e,t);s&&i.push(s)}});this.postMessageToWac(i)};e.prototype.getSessionToken=function(e,t){var n={Name:e,SPCorrelationId:t.requestId};switch(e){case"AccessToken":n.Value=t.accessToken;n.Expiry=t.accessTokenExpiry;break;case"FileGetUrl":n.Value=t.fileGetUrl;n.Expiry=t.fileGetUrlExpiry||t.accessTokenExpiry;break;default:return null}return n};e.prototype.sendFailedMessageToWac=function(e,t,n){var r=[],i=[];e.forEach(function(e){if(r.indexOf(e)<0){r.push(e);i.push({Name:e,Errors:t,SPCorrelationId:n})}});this.postMessageToWac(i)};e.prototype.getTokenRefreshErrors=function(e){var t=[],n=e.httpStatus;switch(n){case 200:var r=e.error,i=e.details;e.error&&(e.error===Nn?t.push({Id:"500",Details:"No tokens retrieved"}):e.error===Cn?t.push({Id:"500",Details:i}):t.push({Id:r||"500",Details:i}));break;case 0:t.push({Id:"503",Details:"Unable to connect to Service"});break;case 503:t.push({Id:"503",Details:"Service Unavailable"});break;default:t.push({Id:n.toString(),Details:e.details})}return t};e.prototype.postMessageToWac=function(e){var t={MessageId:"Host_RefreshSessionInfo",SendTime:Date.now(),Values:{Tokens:e}};this._wacIFrame.postMessage(JSON.stringify(t),this._wacIFrameOrigin)};return e})(),An=(function(){function e(e,t,n,r,i){this._wacIFrame=e;this._wacIFrameOrigin=t;this._parentFolderFullUrl=r;this._hostUrl=n;this._wacDataSource=i;this._inProgress=!1;this._queuedMessages=[]}e.prototype.processMessage=function(e){var t=new o.e({name:"GetWopiSrc"});if(e.Url)if(this._queuedMessages.length>=100){this.sendWopiSrcFailedMessageToWac(e.Url,{Id:"429",Details:"Too many requests"},e.CorrelationId);t.end({resultType:u.e.ExpectedFailure,resultCode:"Too many requests",extraData:{Id:this.hostSessionId}})}else{this._queuedMessages.push(e);this._inProgress||this.processQueue()}else{this.sendWopiSrcFailedMessageToWac(e.Url,{Id:"Url is null",Details:"Url is null"},e.CorrelationId);t.end({resultType:u.e.ExpectedFailure,resultCode:"Url is null.",extraData:{Id:this.hostSessionId}})}};e.prototype.processDavURLMessage=function(e){var t=new o.e({name:"DavURLFromIds"});if(e.ItemId&&e.DriveId)if(this._queuedMessages.length>=100){this.sendDavURlFailedMessageToWac(e,{Id:"429",Details:"Too many requests"});t.end({resultType:u.e.ExpectedFailure,resultCode:"Too many requests",extraData:{hostSessionId:this.hostSessionId,wacCorrelationId:e.CorrelationId}})}else{this._queuedMessages.push(e);this._inProgress||this.processQueue()}else{this.sendDavURlFailedMessageToWac(e,{Id:"ItemId or DriveId is null",Details:"ItemId or DriveId is null"});t.end({resultType:u.e.ExpectedFailure,resultCode:"ItemId or DriveId is null",extraData:{hostSessionId:this.hostSessionId,wacCorrelationId:e.CorrelationId}})}};e.prototype.constructFullUrl=function(e){return 0===e.indexOf("https://")||0===e.indexOf("http://")?e:"/"===e.charAt(0)?"".concat(this._hostUrl).concat(e):"".concat(this._parentFolderFullUrl,"/").concat(e)};e.prototype.processQueue=function(){var e=this._queuedMessages.shift();e&&(this.isWopiMsgDavURLFromIdsRequest(e)?this.executeDavURLFromIdsRequest(e):this.executeGetFileWopiSrcRequest(e))};e.prototype.isWopiMsgDavURLFromIdsRequest=function(e){return!!e.ItemId&&!!e.DriveId};e.prototype.executeGetFileWopiSrcRequest=function(e){var t=this,n=new o.e({name:"GetWopiSrc"}),r=e.Url;try{var i=this.constructFullUrl(r),s=this.encodeUrl(i);this._inProgress=!0;e.CorrelationId+=" tProcessQueue:"+Date.now();this._wacDataSource.getWopiTargetInfoWithUrl(s).then(function(i){e.CorrelationId+=" tVroomResponse:"+Date.now();t.sendWopiSrcSuccessMessageToWac(r,i,e.CorrelationId);t._inProgress=!1;n.end({resultType:u.e.Success,resultCode:"Success",extraData:{url:r,Id:t.hostSessionId,correlationInfo:e.CorrelationId,wopiSrc:i.wopiSrc}});t._queuedMessages.length>0&&t.processQueue()},function(i){e.CorrelationId+=" tVroomResponse:"+Date.now();t.sendWopiSrcFailedMessageToWac(r,t.getErrors(i),e.CorrelationId);t._inProgress=!1;n.end({resultType:t.getQosResultType(i),resultCode:t.getQosResultCode(i),extraData:{Id:t.hostSessionId,CorrelationId:i.requestId,vroomItemUrl:i.requestUri,correlationInfo:e.CorrelationId}});t._queuedMessages.length>0&&t.processQueue()})}catch(t){var a={Id:t.name,Details:t.message};e.CorrelationId+=" tException:"+Date.now();this.sendWopiSrcFailedMessageToWac(r,a,e.CorrelationId);n.end({resultType:u.e.Failure,resultCode:t.name,extraData:{Id:this.hostSessionId,correlationInfo:e.CorrelationId}})}};e.prototype.executeDavURLFromIdsRequest=function(e){var t=this,n=new o.e({name:"DavURLFromIds"});try{this._inProgress=!0;e.CorrelationId+=" tProcessQueue:"+Date.now();this._wacDataSource.getWopiDavURLWithDriveIdItemId(e.DriveId,e.ItemId).then(function(r){e.CorrelationId+=" tVroomResponse:"+Date.now();t.sendDavUrlSuccessMessageToWac(e,r);t._inProgress=!1;n.end({resultType:u.e.Success,resultCode:"Success",extraData:{url:r.webDavUrl,hostSessionId:t.hostSessionId,wacSessionId:e.CorrelationId,wopiSrc:r.wopiSrc}});t._queuedMessages.length>0&&t.processQueue()},function(r){e.CorrelationId+=" tVroomResponse:"+Date.now();t.sendDavURlFailedMessageToWac(e,t.getErrors(r));t._inProgress=!1;n.end({resultType:t.getQosResultType(r),resultCode:t.getQosResultCode(r),extraData:{hostSessionId:t.hostSessionId,wacSessionId:e.CorrelationId,CorrelationId:r.requestId,vroomItemUrl:r.requestUri}});t._queuedMessages.length>0&&t.processQueue()})}catch(t){var r={Id:t.name,Details:t.message};e.CorrelationId+=" tException:"+Date.now();this.sendDavURlFailedMessageToWac(e,r);n.end({resultType:u.e.Failure,resultCode:t.name,extraData:{hostSessionId:this.hostSessionId,wacSessionId:e.CorrelationId}})}};e.prototype.getQosResultType=function(e){var t=e.httpStatus;return 0===t||401===t||403===t||404===t||423===t||400===t||e.error===Cn||e.error===Nn?u.e.ExpectedFailure:u.e.Failure};e.prototype.getQosResultCode=function(e){return e.error?e.error===Nn||e.error===Cn?"NoToken":e.error:"UnknownFailure"};e.prototype.sendWopiSrcSuccessMessageToWac=function(e,t,n){var r=ne.e.isFeatureEnabled({ODB:60332}),i={MessageId:"Host_WopiInfoFromUrl",SendTime:Date.now(),Values:{WopiSrc:t.wopiSrc,Url:e,AccessToken:t.accessToken,AccessTokenExpiry:t.accessTokenExpiry,ItemId:r?t.itemId:void 0,DriveId:r?t.driveId:void 0},CorrelationId:n};this._wacIFrame.postMessage(JSON.stringify(i),this._wacIFrameOrigin)};e.prototype.sendWopiSrcFailedMessageToWac=function(e,t,n){var r={MessageId:"Host_WopiInfoFromUrl",SendTime:Date.now(),Values:{Url:e,Error:t},CorrelationId:n};this._wacIFrame.postMessage(JSON.stringify(r),this._wacIFrameOrigin)};e.prototype.sendDavUrlSuccessMessageToWac=function(e,t){var n={MessageId:"Host_DavUrlFromIds",SendTime:Date.now(),Values:{ItemId:e.ItemId,DriveId:e.DriveId,Url:t.webDavUrl,WopiSrc:t.wopiSrc,AccessToken:t.accessToken,AccessTokenExpiry:t.accessTokenExpiry},CorrelationId:e.CorrelationId};this._wacIFrame.postMessage(JSON.stringify(n),this._wacIFrameOrigin)};e.prototype.sendDavURlFailedMessageToWac=function(e,t){var n={MessageId:"Host_DavUrlFromIds",SendTime:Date.now(),Values:{ItemId:e.ItemId,DriveId:e.DriveId,Error:t},CorrelationId:e.CorrelationId};this._wacIFrame.postMessage(JSON.stringify(n),this._wacIFrameOrigin)};e.prototype.getErrors=function(e){var t=e.httpStatus,n={Id:t.toString(),Details:e.details};switch(t){case 200:var r=e.error,i=e.details;e.error&&(n=e.error===Nn?{Id:"500",Details:"No data retrieved"}:e.error===Cn?{Id:"500",Details:i}:{Id:r||"500",Details:i});break;case 0:n={Id:"503",Details:"Unable to connect to Service"};break;case 503:n={Id:"503",Details:"Service Unavailable"};break;default:n={Id:t.toString(),Details:e.details}}return n};e.prototype.encodeUrl=function(e){return"u!".concat(window.btoa(unescape(encodeURIComponent(e))).replace(/=/g,"").replace(/[+]/g,"-").replace(/\//g,"_"))};return e})(),On=n(149),Mn=(function(){function e(){}e.invalidate=function(t){if("undefined"!=typeof window){e.isRightToLeft=window.document&&"rtl"===document.documentElement.getAttribute("dir");e.safeLeft=e.isRightToLeft?"right":"left";e.safeRight=e.isRightToLeft?"left":"right";t=t||window._spPageContextInfo&&window._spPageContextInfo.currentUICultureName;e.language=t||window.document&&(document.documentElement.getAttribute("lang")||document.documentElement.getAttribute("xml:lang"))||"en-us";e.cultureLCID=window._spPageContextInfo&&window._spPageContextInfo.currentCultureName||e.language}};return e})();Mn.invalidate();var _n=Mn,Dn=new o.e({name:"Abt"}),Pn=(function(){function e(e,t,n){try{var r=this.getAbtCookieValue(n);if(""===r||null===r){Dn.end({resultType:u.e.Failure,resultCode:"NullCookieValue"});return}var i,s=r.split(",");s.length<3&&Dn.end({resultType:u.e.Failure,resultCode:"Missing token claims"});4===s.length&&(i={market:_n.language,hostName:"SPO",environment:On.Environment.WorldWide,userId:t,authType:On.AuthType.Aad,timeout:s[0],trackEvents:!0,enableLogging:!0,sessionId:s[3],signInState:JSON.stringify(s[1]),workloadName:"SPO",controls:JSON.stringify(s[2]),tenantId:window._spPageContextInfo.siteSubscriptionId});window.AbtInteraction.AbtInitialize(i);this.attachSharedABTPromptCallback();Dn.end({resultType:u.e.Success,resultCode:"Success"})}catch(e){Dn.end({resultType:u.e.Failure,resultCode:"Error",extraData:{Exception:e}})}}e.prototype.processMessage=function(){window.AbtInteraction.AbtRegisterActivity()};e.prototype.handleSignOut=function(e){var t=window.location.origin+"/_layouts/15/SignOut.aspx?isso=true&returnUri="+encodeURIComponent(window.top.location.href);window.top.location.href=t};e.prototype.getAbtCookieValue=function(e){for(var t=document.cookie.split(";"),n=0;n<t.length;n++){var r=t[n].split("=");if(e===r[0].trim())return atob(r[1])}return""};e.prototype.loadSharedABTPrompt=function(e){n.ee(0,280,7).then(function(){return e()})};e.prototype.attachSharedABTPromptCallback=function(){window.LoadAbtPromptJs={Download:this.loadSharedABTPrompt}};return e})(),Hn=(function(){function e(e,t,n,r){this._wacIFrame=e;this._wacIFrameOrigin=t;this._loginHint=n;this._hostSessionId=r}e.prototype.processMessage=function(e){this.sendAuthConfigToWac(e)};e.prototype.sendAuthConfigToWac=function(e){var t=new o.e({name:"CustomAuthConfig"}),n={type:"webMsaWithAadProxy",login_Hint:this._loginHint,appSignOutUrl:window.location.origin+"/_layouts/15/SignOut.aspx?isso=true&returnUri="+encodeURIComponent(window.top.location.href),aad:{appId:"00000003-0000-0ff1-ce00-000000000000",wreply:this._wacIFrameOrigin},msa:{siteId:250206,wreply:this._wacIFrameOrigin}},r={MessageId:"Host_SetCustomAuthConfig",SendTime:Date.now(),Values:{AuthConfig:JSON.stringify(n)},CorrelationId:e};this._wacIFrame.postMessage(JSON.stringify(r),this._wacIFrameOrigin);t.end({resultType:u.e.Success,resultCode:"Success",extraData:{wacCorrelationId:e,HostSessionId:this._hostSessionId,Message:r}})};return e})(),Bn=(function(){function e(e,t,n){this._target=e;this._targetOrigin=t;this._webAbsoluteUrl=n}e.prototype.sendCAAEMessage=function(e){var t={MessageId:"CAAEMessage",SendTime:Date.now(),Values:e.Values};this._target.postMessage(JSON.stringify(t),this._targetOrigin)};e.prototype.receiveCAAEMessage=function(e){var t=e.Values.Action;"CAAEMessage"===e.MessageId&&("GetCAAEPlaceholders"===t?this._notifyWacForCaaePlaceholders():this.handleCommunicationFromWacToTaskPane(e))};e.prototype.receiveCAAEMessageOwl=function(e){"GetCAAEPlaceholders"===e.Action?this._notifyWacForCaaePlaceholders():this.handleCommunicationFromWacToTaskPaneOwl(e)};e.prototype.handleCommunicationFromWacToTaskPane=function(e){var t={MessageId:"CAAEMessage",MessageContent:e.Values.payload,Action:e.Values.Action,Type:e.Values.type};window.parent.postMessage(JSON.stringify(t),this._webAbsoluteUrl)};e.prototype.handleCommunicationFromWacToTaskPaneOwl=function(e){var t={MessageId:"CAAEMessage",MessageContent:e.payload,Action:e.Action,Type:e.type};window.parent.postMessage(JSON.stringify(t),this._webAbsoluteUrl)};e.prototype._notifyWacForCaaePlaceholders=function(){var e={MessageId:"CAAEMessage",MessageContent:"",Action:"GetPlaceholderCCDetails"};window.parent.postMessage(JSON.stringify(e),this._webAbsoluteUrl)};return e})(),jn="https://onedrive.live.com";function Fn(){if(!N.t.isActivated("22599339-36f9-4861-b71c-b6dfa76a2a3f","06/20/2022","Killswitch to enable COB support for Wac Host")){var e=window!==window.top,t=document.referrer===jn+"/",n=-1!==window.location.host.indexOf("my.microsoftpersonalcontent.com");return t&&e&&n}return!1}var In,qn=(function(){function e(e){var t=this;this.resolve=function(e){t._promise._completed(e)};this.reject=function(e){t._promise._error(e)};this._promise=new et(e)}Object.defineProperty(e.prototype,"promise",{get:function(){return this._promise},enumerable:!1,configurable:!0});e.prototype.getPromise=function(){return this._promise};e.prototype.cancel=function(){this._promise.cancel()};e.prototype.complete=function(e){this._promise._completed(e)};e.prototype.error=function(e){this._promise._error(e)};return e})(),Rn=(function(){function e(e){var t=this;this.handleMessage=function(e){if(e.origin===jn&&e.source===window.parent)try{var n="object"==typeof e.data?e.data:JSON.parse(e.data);if(n.CorrelationId){var r=t.signals[n.CorrelationId];if(r){delete t.signals[n.CorrelationId];n.MessageId?r.resolve(n):r.resolve(void 0);return}t.target.postMessage(e.data,t.targetOrigin)}}catch(e){return}};this.isRunning=!1;this.target=e.target;this.targetOrigin=e.targetOrigin;this.signals={}}e.prototype.start=function(){this.isRunning=!0;window.addEventListener("message",this.handleMessage)};e.prototype.dispose=function(){this.isRunning=!1;window.removeEventListener("message",this.handleMessage);for(var e in this.signals){this.signals[e].cancel()}this.signals={}};e.prototype.proxy=function(e){if(this.isRunning){e.CorrelationId||(e.CorrelationId=Xt.e.generate());var t=new qn;this.signals[e.CorrelationId]=t;window.parent.postMessage(JSON.stringify(e),jn);return t.getPromise()}};return e})(),Un=(function(){function e(e,t){this._wacIFrame=e;this._wacIFrameOrigin=t}e.prototype.onShareReady=function(e){var t={ShareCorrelation:e},n={MessageId:"Blur_Focus",SendTime:Date.now(),Values:t};this.postMessageToWac(n)};e.prototype.onGrantPermissionCompleted=function(e,t,n){var r={Id:e,DialogCanceled:n,Persons:t},i={MessageId:"CheckUserAccessAndGrantPermissions_Result",SendTime:Date.now(),Values:r};this.postMessageToWac(i)};e.prototype.postMessageToWac=function(e){this._wacIFrame.postMessage(JSON.stringify(e),this._wacIFrameOrigin)};return e})(),zn=(function(){function e(e,t){this._wacIFrame=e;this._wacIFrameOrigin=t}e.prototype.onPickerReady=function(e){var t={ShareCorrelation:e.wdUserSession},n={MessageId:"Blur_Focus",SendTime:Date.now(),Values:t};this.postMessageToWac(n)};e.prototype.onItemMoved=function(e){var t={isMoveSuccessful:e.isMoveSuccessful,wdUserSession:e.wdUserSession,isCrossSiteMove:e.isCrossSiteMove,updatedDocumentUrl:e.updatedDocumentUrl},n={MessageId:"Host_MoveToFolder",SendTime:Date.now(),Values:t};this.postMessageToWac(n)};e.prototype.onItemsPicked=function(e){var t,n={wdUserSession:e.wdUserSession,selectedItems:null!==(t=e.selectedItems)&&void 0!==t?t:null,error:e.error},r={MessageId:"Host_FilePicker",SendTime:Date.now(),Values:n};this.postMessageToWac(r)};e.prototype.postMessageToWac=function(e){this._wacIFrame.postMessage(JSON.stringify(e),this._wacIFrameOrigin)};return e})(),Wn=(function(){function e(e){var t=e.allowedOrigins,n=e.target,r=e.targetOrigin,i=e.listItemId,a=e.isShareByLinkGuestUser,f=e.supportSingleSignOn,l=e.wacDataSource,c=e.shareDialogHelper,h=e.pickerDialogHelper,p=e.hostUrl,d=e.parentFolderFullUrl,v=e.wacHostWindow,m=e.sharingLinkTokenProvider,g=e.hostSessionId,y=e.userId,b=e.postCAAEMessageTargetOrigin,w=e.loginHint,E=e.handleFileNameChange,S=this;this._eventHandler=function(e){var t=Date.now(),n=e.origin,r=void 0;try{r="object"==typeof e.data?e.data:JSON.parse(e.data);if(window.sessionStorage.getItem("_isRunningTABTest")){S.processMessage(r,t);return}}catch(e){S.createQos(t).end({resultType:u.e.ExpectedFailure,resultCode:"invalid message",extraData:{HostSessionId:S._hostSessionId,message:e.message}});return}if(r){if(e.origin===S._hostUrl){"abtSignOutEventForHost"!==r.eventId&&"abtSignOutEventForHostUserGenerated"!==r.eventId||S.handleAbtSignout(r.detail);S._caaeMessageHandler&&"CAAEMessage"===r.MessageId&&S._caaeMessageHandler.sendCAAEMessage(r)}if(r.MessageId)if(S._target===e.source)if(!n||S._allowedOrigins.indexOf(n)<0){S.createQos(t).end({resultType:u.e.ExpectedFailure,resultCode:"invalid event origin",extraData:{HostSessionId:S._hostSessionId,wacCorrelationId:r.CorrelationId,origin:e.origin,MessageId:r.MessageId}})}else S.processMessage(r,t);else{S.createQos(t).end({resultType:u.e.ExpectedFailure,resultCode:"invalid event source",extraData:{HostSessionId:S._hostSessionId,wacCorrelationId:r.CorrelationId,MessageId:r.MessageId}})}else{S.createQos(t).end({resultType:u.e.ExpectedFailure,resultCode:"message id is empty",extraData:{HostSessionId:S._hostSessionId}})}}else{S.createQos(t).end({resultType:u.e.ExpectedFailure,resultCode:"message is null",extraData:{HostSessionId:S._hostSessionId}})}};this._onPopState=function(e,t){var n=new o.e({name:"AppPopState"});try{var r={MessageId:"App_PopState",SendTime:Date.now(),Values:{State:e,Url:t}};S._target.postMessage(JSON.stringify(r),S._targetOrigin);n.end({resultType:u.e.Success})}catch(e){n.end({resultType:u.e.Failure,resultCode:"failed to sent pop state message",extraData:{details:e}})}};this.handleAppPushState=function(e){var t=new o.e({name:"AppPushState"});S._sharingLinkTokenProvider&&S._sharingLinkTokenProvider.TokenPromise?S._sharingLinkTokenProvider.TokenPromise.then(function(n){if(n){var r=new B(e.Url);r.setQueryParameter(n.Key,n.Value);e.Url=r.toString()}S.handleAppPushStateCore(e,t)}):S.handleAppPushStateCore(e,t)};this.handleAppPushStateCore=function(e,t){try{S._browserHistoryHelper.onAppPushStateMessage(e);t.end({resultType:u.e.Success})}catch(e){t.end({resultType:u.e.Failure,resultCode:"failed to push state",extraData:{details:e}})}};this._handleMessageForCOB=function(e){return Object(s.t)(S,void 0,void 0,function(){var t,n,r;return Object(s.r)(this,function(i){switch(i.label){case 0:if(e.origin!==this._hostUrl)return[3,1];if("abtSignOutEventForHost"===(n=e.data).eventId||"abtSignOutEventForHostUserGenerated"===n.eventId){this.handleAbtSignout(n.detail);return[2]}ct.e.isFeatureEnabled({ODB:60633})&&this._caaeMessageHandler&&"CAAEMessage"===n.MessageId&&this._caaeMessageHandler.sendCAAEMessage(n);return[3,3];case 1:if(e.source!==this._target)return[3,3];t=Date.now();n=void 0;try{n="object"==typeof e.data?e.data:JSON.parse(e.data);if(window.sessionStorage.getItem("_isRunningTABTest")){this.processMessage(n,t);return[2]}}catch(e){return[2]}if(!n)return[2];if(this._allowedOrigins.indexOf(e.origin)<0)return[2];switch(n.MessageId){case"User_Activity":this.handleAbt();break;case"CAAEMessage":ct.e.isFeatureEnabled({ODB:60633})&&this._caaeMessageHandler&&(ct.e.isFeatureEnabled({ODB:60924})?this._caaeMessageHandler.receiveCAAEMessageOwl(n.Values):this._caaeMessageHandler.receiveCAAEMessage(n))}return[4,this._cobMessageProxy.proxy(n)];case 2:(r=i.sent())&&this._target.postMessage(JSON.stringify(r),this._targetOrigin);i.label=3;case 3:return[2]}})})};this._allowedOrigins=t;this._target=n;this._targetOrigin=r;this._isShareByLinkGuestUser=a;this._hostUrl=p;this._hostSessionId=g;this._refreshSessionMessageHandler=new Ln(n,r,i,l,g);this._wopiSrcMessageHandler=new An(n,r,p,d,l);ne.e.isFeatureEnabled({ODB:60332})&&(this._wopiCustomAuthConfigHandler=new Hn(n,r,w,g));document.cookie.indexOf("spo_abt")>-1&&(this._abtMessageHandler=new Pn(g,y,"spo_abt"));this._wopiSrcMessageHandler.hostSessionId=g;this._shareDialogHelper=c;this._pickerDialogHelper=h;this._supportSingleSignOn=f;this._wacHostWindow=v;this._sharingLinkTokenProvider=m;this._browserHistoryHelper=new Xn(this._wacHostWindow,this._onPopState);this._postCAAEMessageTargetOrigin=b;this._postCAAEMessageTargetOrigin&&(this._caaeMessageHandler=new Bn(n,r,this._postCAAEMessageTargetOrigin));this._isCOBScenario=Fn();if(this._isCOBScenario){this._cobMessageProxy=new Rn({target:n,targetOrigin:r});this._cobMessageProxy.start();this._wacHostWindow.addEventListener("message",this._handleMessageForCOB,!1)}else{this._wacHostWindow.addEventListener("message",this._eventHandler,!1);this.notifyReadyForPostMessage()}this._handleFileNameChange=E}e.prototype.processMessage=function(e,t){var n=Date.now(),r=e.CorrelationId+" tSent:"+e.SendTime+" tHostReceived:"+n;if(n-e.SendTime>6e4){this.createQos(t).end({resultType:u.e.ExpectedFailure,resultCode:"invalid send time",extraData:{MessageId:e.MessageId,HostSessionId:this._hostSessionId,wacCorrelationId:e.CorrelationId,sendTime:e.SendTime,receiveTime:n}})}else if(e.SendTime>n){this.createQos(t).end({resultType:u.e.ExpectedFailure,resultCode:"invalid send time",extraData:{MessageId:e.MessageId,HostSessionId:this._hostSessionId,wacCorrelationId:e.CorrelationId,sendTime:e.SendTime,receiveTime:n}})}else switch(e.MessageId){case"UI_Sharing":this._isShareByLinkGuestUser||this.showShareDialog(Object(s.e)(Object(s.e)({},e.Values),{clickTime:e.SendTime}));break;case"UI_CheckUserAccessAndGrantPermissions":this._isShareByLinkGuestUser||this.handleAtMention(Object(s.e)(Object(s.e)({},e.Values),{clickTime:e.SendTime}));break;case"App_MoveToFolder":this.showMoveDialog(e.Values);break;case"App_FilePicker":this.showFilePickerDialog(e.Values);break;case"File_Rename":this.handleRename(e.Values);break;case"App_RefreshSessionInfo":this.handleRefreshSessionInfo(e.Values,e.CorrelationId);break;case"GetAccessToken":this._supportSingleSignOn&&this.handleGetAccessToken(e.Values);break;case"App_PushState":this.handleAppPushState(e.Values);break;case"App_WopiInfoFromUrl":this.handleGetWopiFromUrl(e.Values,r);break;case"App_GetCustomAuthConfig":this.handleGetCustomAuthConfig(e.CorrelationId);break;case"App_DavUrlFromIds":this.handleDavURLFromIds(e.Values,r);break;case"User_Activity":this.handleAbt();break;case"CAAEMessage":this._caaeMessageHandler&&(ct.e.isFeatureEnabled({ODB:60924})?this._caaeMessageHandler.receiveCAAEMessageOwl(e.Values):this._caaeMessageHandler.receiveCAAEMessage(e));break;default:this.log("Unknown message: "+e.MessageId)}};e.prototype.handleGetAccessToken=function(e){var t=new o.e({name:"SSO.GetAccessToken"});try{var n={MessageId:"PostAccessToken",SendTime:Date.now(),Values:{AccessToken:null,AddinSSOError:"access_denied",AddinControlId:e.AddinControlId,HostApplicationType:"SharePointOnline"}};this._target.postMessage(JSON.stringify(n),this._targetOrigin);t.end({resultType:u.e.Success,resultCode:"Delivered expected error"})}catch(e){t.end({resultType:u.e.Failure,resultCode:"Failed to send message.",extraData:{details:e}})}};e.prototype.handleRefreshSessionInfo=function(e,t){this._refreshSessionMessageHandler.processMessage(e,t)};e.prototype.handleGetWopiFromUrl=function(e,t){e.CorrelationId=t+" tProcessMessage:"+Date.now();this._wopiSrcMessageHandler.processMessage(e)};e.prototype.handleGetCustomAuthConfig=function(e){ne.e.isFeatureEnabled({ODB:60332})&&this._wopiCustomAuthConfigHandler&&this._wopiCustomAuthConfigHandler.processMessage(e)};e.prototype.handleDavURLFromIds=function(e,t){ne.e.isFeatureEnabled({ODB:60396})&&this._wopiSrcMessageHandler.processDavURLMessage(e)};e.prototype.handleAbt=function(){document.cookie.indexOf("spo_abt")>-1&&this._abtMessageHandler&&this._abtMessageHandler.processMessage()};e.prototype.handleAbtSignout=function(e){this._abtMessageHandler.handleSignOut(e.detail)};e.prototype.showShareDialog=function(e){this._shareDialogHelper.showShareDialog({shareCorrelation:e.ShareCorrelation,nav:e.nav,mode:e.mode,clickTime:e.clickTime})};e.prototype.handleAtMention=function(e){this._shareDialogHelper.showAtMentionDialog({atMentionMessageId:e.Id,recipients:e.Persons,accessChecked:e.UserPermissionsVerified,shareCorrelation:e.ShareCorrelation,clickTime:e.clickTime})};e.prototype.showMoveDialog=function(e){this._pickerDialogHelper.showMoveDialog({supportsCrossSiteMove:!!e.supportsCrossSiteMove,wdUserSession:e.wdUserSession,pickerCustomization:e.pickerCustomization})};e.prototype.showFilePickerDialog=function(e){this._pickerDialogHelper.showFilePickerDialog({pickerCustomization:e.pickerCustomization,wdUserSession:e.wdUserSession})};e.prototype.handleRename=function(e){this._wacHostWindow.document.title=e.NewName;this._handleFileNameChange(e.NewName)};e.prototype.notifyReadyForPostMessage=function(){var e={MessageId:"Host_PostmessageReady",SendTime:Date.now()};this._target.postMessage(JSON.stringify(e),this._targetOrigin)};e.prototype.createQos=function(e){return new o.e({name:"WopiMessageHandler",startTimeOverride:e})};e.prototype.log=function(e){0};return e})(),Xn=(function(){function e(e,t){var n=this;this.onHistoryPopState=function(e){n._onPopState&&n._onPopState(e.state,n._wacHostWindow.location.href)};this._wacHostWindow=e;this._onPopState=t;e.addEventListener("popstate",this.onHistoryPopState)}e.prototype.onAppPushStateMessage=function(e){this._wacHostWindow.history.pushState(e.State,this._wacHostWindow.document.title,e.Url)};return e})(),Vn=n(13),$n=(function(){function e(){}e.format=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if(null===t)throw new Error(Vn.o.replace("{0}","s"));if(void 0===t)throw new Error(Vn.u.replace("{0}","s"));return t.replace(e.FORMAT_REGEX,function(t){var r=parseInt(t.replace(e.FORMAT_ARGS_REGEX,""),10),i=n[r];(r>=n.length||r<0)&&(i=t);null===i?i="null":void 0===i&&(i="undefined");return i})};e.replaceAll=function(e,t,n){return e.split(t).join(n)};e._getLocalizedString=function(e,t){return e[t||"default"]||e.default};e.FORMAT_REGEX=/\{\d+\}/g;e.FORMAT_ARGS_REGEX=/[\{\}]/g;return e})(),Jn=(function(){function e(){}e.isTrue=function(e,t){if(!e)throw new Error($n.format(Vn.s,t))};e.isNotNullOrUndefined=function(e,t){if(null===e)throw new Error($n.format(Vn.o,t));if(void 0===e)throw new Error($n.format(Vn.u,t))};e.isNonemptyString=function(t,n){e.isNotNullOrUndefined(t,n);if(!t||t&&0===t.length)throw new Error($n.format(Vn.i,n))};e.isNotDisposed=function(e,t){if(e.isDisposed)throw new Error($n.format(Vn.r,t))};return e})(),Kn=(function(){function e(e,t,n,r){this._major=e;this._minor=t;this._patch=n;this._revision=r}e.isValid=function(t){return void 0!==e.tryParse(t)};e.parse=function(t){var n=e.tryParse(t);if(n)return n;throw new Error($n.format(Vn.n,t))};e.tryParse=function(t){if(t){var n=/^([0-9]+)\.([0-9]+)(?:\.([0-9]+)(?:\.([0-9]+))?)?$/g.exec(t);if(n)return new e(parseInt(n[1],10),parseInt(n[2],10),void 0!==n[3]?parseInt(n[3],10):void 0,void 0!==n[4]?parseInt(n[4],10):void 0)}};e.compare=function(e,t){Jn.isNotNullOrUndefined(e,"v1");Jn.isNotNullOrUndefined(t,"v2");return e.major!==t.major?e.major>t.major?1:-1:e.minor!==t.minor?e.minor>t.minor?1:-1:(e.patch||0)!==(t.patch||0)?(e.patch||0)>(t.patch||0)?1:-1:(e.revision||0)!==(t.revision||0)?(e.revision||0)>(t.revision||0)?1:-1:0};e._tryParseSPFxVersion=function(t){try{var n=t.loaderConfig.scriptResources["@microsoft/sp-core-library"];return e.parse(n.version)}catch(e){return}};Object.defineProperty(e.prototype,"major",{get:function(){return this._major},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"minor",{get:function(){return this._minor},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"patch",{get:function(){return this._patch},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"revision",{get:function(){return this._revision},enumerable:!1,configurable:!0});e.prototype.lessThan=function(t){return e.compare(this,t)<0};e.prototype.greaterThan=function(t){return e.compare(this,t)>0};e.prototype.equals=function(t){return 0===e.compare(this,t)};e.prototype.satisfies=function(e){Jn.isNotNullOrUndefined(e,"compareWith");return this.major===e.major&&!this.lessThan(e)};e.prototype.toString=function(){var e="".concat(this.major,".").concat(this.minor);if(void 0!==this.patch){e+=".".concat(this.patch);void 0!==this.revision&&(e+=".".concat(this.revision))}return e};return e})(),Qn=0,Gn=1,Yn=2,Zn=3,er=4,tr=5,nr=6,rr=0,ir=1,sr=2,or=4,ur=5,ar=6,fr=(function(){function e(){}e.getBrowserInformation=function(t){if(e._browserInformation)return e._browserInformation;var n=t||e.getUserAgent();e._browserInformation=e.buildBrowserInformation(n);return e._browserInformation};e.getUserAgent=function(){return window&&window.navigator&&navigator.userAgent||""};e.buildBrowserInformation=function(t){var n=t.toLowerCase(),r={browser:Qn,browserVersion:void 0,isIpad:!1,isMobile:!1,os:rr,osVersion:void 0,userAgent:t};r=e.fillBrowser(r,n);return r=e.fillOS(r,n)};e.fillBrowser=function(e,t){var n,r=Qn,i=void 0;if(n=/msie (\d+)([\d.]*)/.exec(t))r=er;else if(n=/trident.*rv:(\d+)([\d.]*)/.exec(t))r=er;else if(n=/edge\/(\d+)([\d.]*)/.exec(t))r=Yn;else if(n=/edg\/(\d+)([\d.]*)/.exec(t))r=nr;else if(n=/(?:firefox|fxios)\/(\d+)([\d.]*)/.exec(t))r=Zn;else if(n=/(?:chrome|crios)\/(\d+)([\d.]*)/.exec(t))r=Gn;else if(n=/safari\/(\d+)/.exec(t)){r=tr;n=/version\/(\d+)([\d.]*)/.exec(t)}if(n){var s=parseInt(n[1],10)||0,o="0",u=n[2];if(u){var a=u.indexOf(".");a>=0&&a<u.length-1&&(o=u.substr(a+1))}i=Kn.parse("".concat(s,".").concat(o))}e.browser=r;e.browserVersion=i;return e};e.fillOS=function(e,t){var n=rr,r=void 0,i=/[\s\(](os|os x|windows phone|windows nt|android) ([\d._]+)/.exec(t);r=i?i[2]:void 0;var s=t.match(/windows phone|wpdesktop/)||t.match(/ipad|iphone|ipod|android/);if(s){var o=s[0];e.isIpad="ipad"===o;e.isMobile=!0;"windows phone"!==o&&"wpdesktop"!==o||(n=ar);"android"===o&&(n=ir);"ipad"!==o&&"ipod"!==o&&"iphone"!==o||(n=sr)}else{-1!==t.indexOf("macintosh")&&(n=or);-1!==t.indexOf("windows nt")&&(n=ur);if(/(windows 8\.1|windows nt 6\.3)/.test(t)){n=ur;r="8.1"}if(-1!==t.indexOf("windows nt 10")){n=ur;r="10"}if(-1!==t.indexOf("windows nt 6.1")){n=ur;r="7"}}e.os=n;e.osVersion=r;return e};e._browserInformation=void 0;return e})();(function(e){e[e.Read=1]="Read";e[e.Edit=2]="Edit";e[e.Preview=3]="Preview"})(In||(In={}));var lr,cr=(function(){function e(e,t,n){this.id=e;this.name=t;this.defaultCreator=n}e.create=function(t,n){Jn.isNotNullOrUndefined(n,"serviceClass");return e.createCustom(t,function(e){return new n(e)})};e.createCustom=function(t,n){Jn.isNonemptyString(t,"name");Jn.isNotNullOrUndefined(n,"defaultCreator");var r,i=window._SPFX_ServiceKey_lastId;if(void 0!==i&&"number"==typeof i){if((r=i+1)===i)throw new Error("ServiceKey.createCustom() counter overflow")}else r=1;window._SPFX_ServiceKey_lastId=r;return new e($n.replaceAll(t," ","")+"_"+r,t,n)};return e})(),hr=((function(){function e(e,t){this.manifest=t}e.serviceKey=cr.create("sp-core-library:ClientManifestData",e)})(),(function(){function e(e){this._guid=e}e.newGuid=function(t){return new e(e._generateGuid(t))};e.parse=function(t){var n=e.tryParse(t);if(!n)throw new Error($n.format(Vn.t,t));return n};e.tryParse=function(t){if(t){t=e._normalize(t);if(e._guidRegEx.test(t))return new e(t)}};e.isValid=function(t){if(t){t=e._normalize(t);if(e._guidRegEx.test(t))return!0}return!1};e._normalize=function(e){Jn.isNonemptyString(e,"guid");var t=/^\/?Guid\((.*)\)\/?/i.exec(e);t&&(e=t[1]);38===e.length&&(e=e.substr(1,36));return e.toLowerCase()};e._generateGuid=function(e){return"AAAAAAAA-AAAA-4AAA-BAAA-AAAAAAAAAAAA".replace(/[AB]/g,function(t){var n=16*(e?e.generate():Math.random())|0;return("A"===t?n:3&n|8).toString(16)})};e.prototype.equals=function(e){Jn.isNotNullOrUndefined(e,"guid");return e&&this._guid.toString()===e.toString()};e.prototype.toString=function(){return this._guid};e.empty=new e("00000000-0000-0000-0000-000000000000");e._guidRegEx=/^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$/i;return e})()),pr=n(150),dr=/^\w+\:\/\//,vr=/^data:(\w+\/\w+(\+\w+)?)?(;charset=[\w-]+)?(;base64)?,.*/i,mr=((function(){function e(){}e.resolve=function(t,n){Jn.isNonemptyString(t,"url");Jn.isNonemptyString(n,"baseUrl");return e.isRelativeUrl(t)?"".concat(e.removeEndSlash(n),"/").concat(e.removeLeadingSlash(t)):t};e.removeEndSlash=function(e){return pr.trimEnd(e,"/")};e.removeLeadingSlash=function(e){return pr.trimStart(e,"/")};e.convertToODataStringLiteral=function(e){Jn.isNotNullOrUndefined(e,"value");e=e.replace(/'/g,"''");return e="'".concat(e,"'")};e.isDataUrl=function(e){Jn.isNotNullOrUndefined(e,"url");return!!e.match(vr)};e.isRelativeUrl=function(e){return!e.match(dr)}})(),(function(){function e(){}e.getRequiredClaims=function(e){var t=e.split(",").map(function(e){var t=e.indexOf("=");return[e.substr(0,t),e.substr(t+1)]}).filter(function(e){return"claims"===e[0]});return t&&t.length>0?t[0][1].replace(/"/g,""):""}})(),(function(){function e(e){this._queryParameterList=this._getUrlQueryParameterArray(e)}e.prototype.getValue=function(e){for(var t=0,n=this._queryParameterList;t<n.length;t++){var r=n[t];if(void 0!==e){if(e.toUpperCase()===r.key)return r.value}else if(void 0===r.key)return r.value}};e.prototype.getValues=function(e){for(var t=[],n=0,r=this._queryParameterList;n<r.length;n++){var i=r[n];void 0!==e?e.toUpperCase()===i.key&&t.push(i.value):void 0===i.key&&t.push(i.value)}return t.length>0?t:void 0};e.prototype._getUrlQueryParameterArray=function(e){var t=[],n=document.createElement("a");n.href=e;for(var r=0,i=n.search.substring(1).split("&");r<i.length;r++){var s=i[r];if(""!==s){var o=s.indexOf("="),u=void 0,a=void 0;if(o<0){u=s;a=void 0}else if(0===o){u="";a=1===s.length?"":s.substring(1)}else{u=s.substring(0,o);a=1===s.substring(o).length?"":s.substring(o+1)}t.push({key:decodeURIComponent(u.toUpperCase()),value:a})}else t.push({key:void 0,value:void 0})}return t}})(),(function(){function e(e){}e.prototype.getDate=function(){return new Date};e.prototype.getTimestamp=function(){return performance.now()};e.serviceKey=cr.create("sp-core-library:TimeProvider",e)})(),(function(){function e(e){}e.prototype.generate=function(){return Math.random()};e.serviceKey=cr.create("sp-core-library:RandomNumberGenerator",e)})(),(function(){function e(e){this._parent=e;this._registrations={};this._pendingCallbacks=[];this._finished=!1;this._autocreating=!1}e.startNewRoot=function(){return new e(void 0)};e.prototype.createAndProvide=function(e,t){return this.provide(e,new t(this))};e.prototype.createDefaultAndProvide=function(e){var t=e.defaultCreator(this);return this.provide(e,t)};e.prototype.consume=function(e){if(!this._finished)throw new Error(Vn.f);if(this._autocreating)throw new Error(Vn.l);var t=this._registrations[e.id];if(t)return t.service;if(this._parent)return this._parent.consume(e);var n=void 0;this._autocreating=!0;try{n=e.defaultCreator(this);this._registerService(e,n)}finally{this._autocreating=!1}if(void 0===n)throw Error("ServiceKey must have an type");this._processPendingCallbacks();return n};e.prototype.finish=function(){if(this._finished)throw new Error(Vn.a);this._finished=!0;this._processPendingCallbacks()};e.prototype.getParent=function(){return this._parent};e.prototype.whenFinished=function(e){this._finished&&!this._autocreating?e():this._pendingCallbacks.push(e)};e.prototype.provide=function(e,t){if(this._finished)throw new Error(Vn.c);if(this._registrations[e.id])throw new Error($n.format(Vn.h,e.name));this._registerService(e,t);return t};e.prototype.startNewChild=function(){return new e(this)};Object.defineProperty(e.prototype,"_isFinished",{get:function(){return this._finished},enumerable:!1,configurable:!0});e.prototype._registerService=function(e,t){this._registrations[e.id]={serviceKey:e,service:t}};e.prototype._processPendingCallbacks=function(){var e=this._pendingCallbacks;this._pendingCallbacks=[];for(var t=0,n=e;t<n.length;t++){(0,n[t])()}}})(),(function(){function e(){}e.prototype.verbose=function(e,t,n){0};e.prototype.info=function(e,t,n){0};e.prototype.warn=function(e,t,n){0};e.prototype.error=function(e,t,n){0};return e})()),gr=(function(){function e(){}e._initialize=function(t){e._logHandler=t};e.verbose=function(t,n,r){e._logHandler.verbose(t,n,r)};e.info=function(t,n,r){e._logHandler.info(t,n,r)};e.warn=function(t,n,r){e._logHandler.warn(t,n,r)};e.error=function(t,n,r){e._logHandler.error(t,n,r)};e._logHandler=new mr;return e})();(function(){function e(){}e._initialize=function(t){Jn.isNotNullOrUndefined(t,"data");e._applicationId=hr.tryParse(t.applicationId)||hr.empty;var n=hr.tryParse(t.pageId);if(!n){gr.warn("Session","The pageId parameter was undefined or invalid. Generating a new Guid");n=hr.newGuid()}e._pageId=n;this._clientSideApplicationId=t.clientSideApplicationId};e._changePage=function(){e._pageId=hr.newGuid()};Object.defineProperty(e,"applicationId",{get:function(){return this._applicationId},enumerable:!1,configurable:!0});Object.defineProperty(e,"clientSideApplicationId",{get:function(){return this._clientSideApplicationId},enumerable:!1,configurable:!0});e._setClientSideApplicationId=function(e){this._clientSideApplicationId=e};Object.defineProperty(e,"pageId",{get:function(){return this._pageId},enumerable:!1,configurable:!0})})();(function(e){e[e.Test=0]="Test";e[e.Local=1]="Local";e[e.SharePoint=2]="SharePoint";e[e.ClassicSharePoint=3]="ClassicSharePoint"})(lr||(lr={}));var yr,br=(function(){function e(){}e._initialize=function(t){Jn.isNotNullOrUndefined(t,"data");e._type=t.type;Jn.isNotNullOrUndefined(e._type,"environmentType");if(!lr.hasOwnProperty(t.type.toString()))throw new Error(Vn.e)};Object.defineProperty(e,"type",{get:function(){return this._type},enumerable:!1,configurable:!0});return e})(),wr=(function(){function e(){}e.initialize=function(e){this._isInitialized=!0;this._enabledFlightsMap=e||[];this._forceEnabledFlights=[];this._forceDisabledFlights=[]};Object.defineProperty(e,"isDebugFlightEnabled",{get:function(){return e.isEnabled(205)},enumerable:!1,configurable:!0});e.setDebugFlights=function(e){if(!this._isInitialized)throw new Error("Flights are not initialized. Can't set debug flights.");if(e&&e.length>0)try{var t=e.split(",");this._forceEnabledFlights=t.filter(function(e){return"!"!==e[0]}).map(function(e){return parseInt(e,10)}).filter(function(e){return!isNaN(e)});this._forceDisabledFlights=t.filter(function(e){return"!"===e[0]}).map(function(e){return parseInt(e.slice(1),10)}).filter(function(e){return!isNaN(e)});console.log("Debug flights are enabled.");this._forceEnabledFlights.length>0&&console.log("Enabled flights: ".concat(this._forceEnabledFlights.join(", ")));this._forceDisabledFlights.length>0&&console.log("Disabled flights: ".concat(this._forceDisabledFlights.join(", ")))}catch(e){this._forceEnabledFlights=[];this._forceDisabledFlights=[];console.log("Error parsing debugFlights query string parameter: ".concat(e))}this._validateDebugFlights()};e.isEnabled=function(e){if(!this._isInitialized&&!DEPRECATED_UNIT_TEST)throw new Error("Flights are not initialized. Flight requested: ".concat(e));if(!e||e<0)return!1;if(-1!==this._forceEnabledFlights.indexOf(e))return!0;if(-1!==this._forceDisabledFlights.indexOf(e))return!1;e>=6e4&&(e=e-6e4+2e3+1);var t=e>>5;if(t<0||t>=this._enabledFlightsMap.length)return!1;var n=1<<(31&e);return 0!=(this._enabledFlightsMap[t]&n)};e._validateDebugFlights=function(){if(new Set(this._forceEnabledFlights.concat(this._forceDisabledFlights)).size<this._forceEnabledFlights.length+this._forceDisabledFlights.length)throw new Error("There are flights that are forced to be both enabled and disabled")};e._isInitialized=!1;e._forceEnabledFlights=[];e._forceDisabledFlights=[];e._enabledFlightsMap=[];return e})(),Er=(function(){function e(){}e.initialize=function(t){e._isInitialized=!0;e._activatedKillSwitches=new Map;if(t)for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n],s=hr.tryParse(i);s&&e._activatedKillSwitches.set(s.toString(),!0)}};e.setDebugKillswitches=function(t){if(!e._isInitialized&&!DEPRECATED_UNIT_TEST)throw new Error("Killswitches are not initialized. Can't set debug killswitched.");if(t&&t.length)try{for(var n=0,r=t.split(",");n<r.length;n++){var i=r[n],s="!"===i[0],o=hr.tryParse(s?i.slice(1):i);o&&e._activatedKillSwitches.set(o.toString(),!s)}}catch(e){console.log("Error parsing killSwitches query string parameter: ".concat(e))}};e.isActivated=function(t,n,r){if(!e._isInitialized&&!DEPRECATED_UNIT_TEST)throw new Error("Killswitches are not initialized. Killswitch requested: ".concat(t));return!!t&&!!e._activatedKillSwitches.get(t.toString())};e._isInitialized=!1;e._activatedKillSwitches=new Map;return e})(),Sr=n(115),xr=((function(){function e(){}e.initialize=function(t){e._experimentContext=t;this._isInitialized=!0};e.getVariantAndLogExposure=function(t){if(!this._isInitialized&&!DEPRECATED_UNIT_TEST)throw new Error("Experiments are not initialized. Requested for experiment id: ".concat(t));if(DEPRECATED_UNIT_TEST)return 0;var n=e.experimentOverrides;return n&&n.has(t)?n.get(t):Object(Sr.n)(t,e._experimentContext)};e.setDebugExperiments=function(t){var n=wr.isEnabled(466)||br.type===lr.Local;if(t&&n){if(!this._isInitialized)throw new Error("SPPerfExperiment is not initialized. Can't set debug experiments");try{e.experimentOverrides=new Map;for(var r=JSON.parse(t),i=0,s=r;i<s.length;i++){var o=s[i];o&&2===o.length&&e.experimentOverrides.set(o[0],o[1])}}catch(t){e.experimentOverrides=void 0}}};e._getVariantWithoutLogging=function(t){if(!this._isInitialized&&!DEPRECATED_UNIT_TEST)throw new Error("Experiments are not initialized. Requested for experiment id: ".concat(t));if(DEPRECATED_UNIT_TEST)return 0;var n=e.experimentOverrides;return n&&n.has(t)?n.get(t):Object(Sr.e)(t,e._experimentContext)};e._isInitialized=!1})(),(function(e){Object(s.n)(t,e);function t(n,r,i){var s=e.call(this,r)||this;s.__proto__=t.prototype;Jn.isNonemptyString(n,"errorCode");Jn.isNonemptyString(r,"message");s._errorCode=n;s.message=r;s._logProperties=i;s.stack=(new Error).stack||t._generateErrorStackForIE();return s}Object.defineProperty(t.prototype,"id",{get:function(){return-1},enumerable:!1,configurable:!0});Object.defineProperty(t.prototype,"category",{get:function(){return"SPError"},enumerable:!1,configurable:!0});t._generateErrorStackForIE=function(){try{throw new Error}catch(e){return e.stack}};t.prototype.toStringForUI=function(){return this._toString(!0)};t.prototype.toString=function(){return this._toString()};t.prototype._toString=function(e){if(!this._errorString){var t=["[".concat(this.category,".").concat(this._errorCode,"]:"),"".concat(this.message),""];if(e){this.innerError&&(t=t.concat([Vn.d,this.innerError.message]));this.stack&&(t=t.concat([Vn.p,this.stack]));this._logProperties&&(t=t.concat([Vn.v,JSON.stringify(this._logProperties)]))}this._errorString=t.join("\r\n")}return this._errorString}})(Error),(function(){function e(){this._listeners=new Map;this._raisedEvents=new Map}Object.defineProperty(e,"instance",{get:function(){this._instance||(this._instance=new e);return this._instance},enumerable:!1,configurable:!0});e.prototype.raiseEvent=function(e,t){Jn.isNonemptyString(e,"eventName");Jn.isNotNullOrUndefined(t,"eventArgs");return this._raiseEventInternal(e,t)};e.prototype.raiseStickyEvent=function(e,t){Jn.isNonemptyString(e,"eventName");Jn.isNotNullOrUndefined(t,"eventArgs");this._raisedEvents.set(e,t);return this._raiseEventInternal(e,t)};e.prototype.registerEvent=function(e,t,n){Jn.isNonemptyString(e,"eventName");Jn.isNotNullOrUndefined(t,"observer");Jn.isNotNullOrUndefined(n,"eventHandler");this._listeners.has(e)||this._listeners.set(e,[]);this._listeners.get(e).push({observer:t,eventHandler:n});this._raisedEvents.has(e)&&n.call(t,this._raisedEvents.get(e))};e.prototype.unregisterEvent=function(t,n,r){Jn.isNonemptyString(t,"eventName");Jn.isNotNullOrUndefined(n,"observer");Jn.isNotNullOrUndefined(r,"eventHandler");if(this._listeners.has(t)){var i=this._listeners.get(t),s=i.filter(function(e){return e.observer!==n||e.eventHandler!==r});if(s.length===i.length){var o=$n.format('Failed to remove event handler for component "{0}". Event handler was not registered.',n.componentId);gr.error(e._logSource,new Error(o))}this._listeners.set(t,s)}};e.prototype.removeEvent=function(e){Jn.isNonemptyString(e,"eventName");this._listeners.delete(e);this._clearStickyEventQueue(e)};e.prototype.removeEventsByPrefix=function(e){var t=this;Jn.isNonemptyString(e,"eventNamePrefix");var n=[];this._listeners.forEach(function(t,r){0===r.indexOf(e)&&n.push(r)});n.forEach(function(e){return t._listeners.delete(e)})};e.prototype._listenerCount=function(e){return this._listeners.has(e)?this._listeners.get(e).length:0};e.prototype._clearStickyEventQueue=function(e){this._raisedEvents.has(e)&&this._raisedEvents.delete(e)};e.prototype._raiseEventInternal=function(t,n){var r=this;this._listeners.has(t)&&this._listeners.get(t).forEach(function(i){if(i.observer.isDisposed)r.unregisterEvent(t,i.observer,i.eventHandler);else try{i.eventHandler.call(i.observer,n)}catch(t){var s=$n.format('Failed to execute event handler for component "{0}"',i.observer.componentId);gr.error(e._logSource,new Error(s))}})};e._logSource="SPEventManager";return e})()),Tr=(function(){function e(e){Jn.isNonemptyString(e,"name");this._name=e}e.prototype.add=function(e,t){Jn.isNotNullOrUndefined(e,"component");Jn.isNotNullOrUndefined(t,"eventHandler");xr.instance.registerEvent(this._name,e,t)};e.prototype.remove=function(e,t){Jn.isNotNullOrUndefined(e,"component");Jn.isNotNullOrUndefined(t,"eventHandler");xr.instance.unregisterEvent(this._name,e,t)};e.prototype._listenerCount=function(){return xr.instance._listenerCount(this._name)};return e})(),Nr=function(){};(function(){function e(){var e=this;this._onAfterLoadPromise=new Promise(function(t){return e._resolveOnAfterLoadCallbacks=t})}e._getInstance=function(){this._internalInstance||(this._internalInstance=new this);return this._internalInstance};Object.defineProperty(e.prototype,"isLoaded",{get:function(){return!!this._classType},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"shouldLoad",{get:function(){return!0},enumerable:!1,configurable:!0});e.prototype.load=function(){var e=this;if(!this._loadPromise)if(this.shouldLoad){this._loadPromise=this._internalLoad();this._loadPromise.then(function(t){e._classType=t;e._resolveOnAfterLoadCallbacks()})}else this._loadPromise=Promise.reject(new Error("shouldLoad returns false"));return this._loadPromise};e.prototype.onAfterLoad=function(){return this._onAfterLoadPromise}})(),(function(){function e(){}e.isWebViewHosted=function(){void 0===e._isWebViewHosted&&(e._isWebViewHosted=e.isMobileWebView()||e.isTeamsWebViewHosted()||e.isTeamsAndroidHosted()||e.isTeamsIOSHosted()||e.isOutlookWebViewHosted()||/[?&]env=WebView/.test(location.search));return e._isWebViewHosted};e.getTeamsAppType=function(){var t;e.isMEEBridgeApplicationHosted()?t="MEEBridge":e.isEduClassHosted()?t="ClassHome":e.isViva1PHosted()?t="Viva1P":e.isInTeamsChannelApp()?t="Channel":e.isInPortalsApp()?t="Portals":e.isTeamsHosted()&&(t="Custom");if(e.isTeamsHosted()){var n=e.isTeamsBrowserHosted()?"TeamsWeb":"TeamsNative";return t?"".concat(t,"_").concat(n):n}return t};e.isInTeamsChannelApp=function(){var t;return e.isTeamsHosted()&&-1!==(null===(t=null===localStorage||void 0===localStorage?void 0:localStorage.getItem("TeamsAppEntityId"))||void 0===t?void 0:t.indexOf("sharepointtab_"))};e.isViva1PHosted=function(){try{void 0===e._isViva1PHosted&&(e._isViva1PHosted=e.isTeamsHosted()&&"sharepointportal_d2c6f111-ffad-42a0-b65e-ee00425598aa"===(null===localStorage||void 0===localStorage?void 0:localStorage.getItem("TeamsAppEntityId")))}catch(e){return!1}return e._isViva1PHosted};e.isEduClassHosted=function(){try{void 0===e._isClassHomeHosted&&(e._isClassHomeHosted=e.isTeamsHosted()&&"ClassHomePage_81fe9dd3-8207-4480-b846-cf1a967af129"===(null===localStorage||void 0===localStorage?void 0:localStorage.getItem("TeamsAppEntityId")))}catch(e){return!1}return e._isClassHomeHosted};e.isTeamsAndroidHosted=function(){if(void 0===e._isTeamsAndroid){var t=navigator.userAgent;e._isTeamsAndroid=/.* TeamsMobile-Android.*/.test(t)||/[?&]env=TeamsWebView/.test(location.search)}return e._isTeamsAndroid};e.isTeamsIOSHosted=function(){if(void 0===e._isTeamsIOS){var t=navigator.userAgent;e._isTeamsIOS=/.* TeamsMobile-iOS.*/.test(t)||/[?&]env=TeamsWebView/.test(location.search)}return e._isTeamsIOS};e.isTeamsWebViewHosted=function(){if(void 0===e._isTeamsWebView){var t=navigator.userAgent;e._isTeamsWebView=/Teams\/((?:(\d+)\.)?(?:(\d+)\.)?(?:(\d+)\.\d+)).* Electron\/((?:(\d+)\.)?(?:(\d+)\.)?(?:(\d+)\.\d+))/.test(t)||/[?&]env=TeamsWebView/.test(location.search)}return e._isTeamsWebView};e.isTeams1PVivaDesktopHosted=function(){void 0===e._isTeams1PVivaDesktop&&(e._isTeams1PVivaDesktop=e.isTeamsWebViewHosted()&&"sharepointportal_d2c6f111-ffad-42a0-b65e-ee00425598aa"===localStorage.getItem("TeamsAppEntityId"));return e._isTeams1PVivaDesktop};e.isTeamsBrowserHosted=function(){if(void 0===e._isTeamsBrowser){e._isTeamsBrowser=!1;try{e._isTeamsBrowser="embedded-page-container"===window.name}catch(e){}}return e._isTeamsBrowser};e.isTeamsBrowserOrDesktop=function(){return e.isTeamsWebViewHosted()||e.isTeamsBrowserHosted()};e.isTeamsVivaMobile=function(){if(void 0===e._isTeamsVivaMobile){e._isTeamsVivaMobile=!1;try{var t=navigator.userAgent;e._isTeamsVivaMobile=/.* Viva Connections for Mobile.*/.test(t)&&-1===t.indexOf("VivaBridge")||/[?&]env=VivaMobile/.test(location.search)}catch(e){}}return e._isTeamsVivaMobile};e.isInPortalsApp=function(){var t=new URL(window.location.href).searchParams;return e.isTeamsHosted()&&"portals"===t.get("app")||e.isViva1PHosted()};e.isMEEBridgeApplicationHosted=function(){if(void 0===e._isMEEBridgeApplicationHosted){e._isMEEBridgeApplicationHosted=!1;try{e._isMEEBridgeApplicationHosted=/.* Viva Connections for Mobile.*/.test(navigator.userAgent)&&-1!==navigator.userAgent.indexOf("VivaBridge")}catch(e){}}return e._isMEEBridgeApplicationHosted};e.isTeamsHosted=function(){var t=Er.isActivated("2f0ced0e-6dcc-4a09-8178-1e6abca476c8");return Boolean(!t&&window.parent===window.self&&window.nativeInterface)||e.isTeamsWebViewHosted()||e.isTeamsBrowserHosted()||e.isTeamsAndroidHosted()||e.isTeamsIOSHosted()};e.isiOSWebView=function(){return/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/.test(navigator.userAgent)};e.isSharePointiOSApp=function(){if(void 0===e._isSharePointiOSApp){var t=navigator.userAgent;e._isSharePointiOSApp=e.isiOSWebView()||e._isTestMobileWebView();this._isMobileIntuneBrowser(t)&&(e._isSharePointiOSApp=!1)}return e._isSharePointiOSApp};e.isMobileWebView=function(){if(void 0===e._isMobileWebView){var t=navigator.userAgent;e._isMobileWebView=this.isSharePointiOSApp()||/(Android ).*; wv/.test(t)||/(Android ).* Version\/((?:(\d+)\.)?(?:(\d+)\.)?(?:(\d+)\.\d+))/.test(t)||-1===navigator.userAgent.indexOf("SharePointDesktop")&&(/(Windows ).*; WebView\/((?:(\d+)\.)?(?:(\d+)\.)?(?:(\d+)\.\d+))/.test(t)||/(Windows ).*; MSAppHost\/((?:(\d+)\.)?(?:(\d+)\.)?(?:(\d+)\.\d+))/.test(t))||e._isTestMobileWebView();this._isMobileIntuneBrowser(navigator.userAgent)&&(e._isMobileWebView=!1)}return e._isMobileWebView};e.isMobileBrowser=function(){void 0===e._isMobileBrowser&&(e._isMobileBrowser=e.isMobileWebView()||/[?&]env=WebView/.test(location.search)||/(Android|iPhone|iPod|IEMobile|BlackBerry)/.test(navigator.userAgent)||/[?&]env=Mobile/.test(location.search));return e._isMobileBrowser};e.isEmbedded=function(){if(void 0===e._isEmbedded)if(e.isWebViewHosted()||/[?&]PageVersion=[^&]/.test(location.search))e._isEmbedded=!0;else if(navigator.userAgent.indexOf("ManagedBrowser")>-1||wr.isEnabled(60668)&&/[?&]env=Preview/.test(location.search))e._isEmbedded=!1;else try{var t=window.parent&&window.parent!==window&&-1===navigator.userAgent.indexOf("PhantomJS/");e._isEmbedded=t||/[?&]env=Embedded/.test(location.search)}catch(t){e._handleErrorForParentWindowCheck()}return!!e._isEmbedded};e.isEmbeddedInSite=function(){void 0===e._isEmbeddedInSite&&(e._isEmbeddedInSite=e.isEmbedded()&&!e.isTeamsHosted()||e.isEmbeddedInTeamsClient());return e._isEmbeddedInSite};e.supportsServiceWorker=function(){return"serviceWorker"in navigator};e.supportsNavigationPreload=function(){return!!window.ServiceWorkerRegistration&&"navigationPreload"in window.ServiceWorkerRegistration.prototype};e.isOutlookWebViewHosted=function(){if(Er.isActivated("05dfabf6-5844-4295-b4f1-07adfe1700d0"))return!1;try{return/[?&]env=OutlookWebView/.test(location.search)}catch(e){return!1}};e.isSafari=function(){void 0===this._isSafari&&(this._isSafari=-1===navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Safari")>-1);return this._isSafari};e.isVivaHome=function(){return wr.isEnabled(60840)&&-1!==window.location.pathname.toLowerCase().indexOf("/_layouts/15/vivahome.aspx")};e.isEmbeddedInTeamsClient=function(){if(void 0===e._isEmbeddedInTeamsClient){e._isEmbeddedInTeamsClient=!1;if(e.isTeamsWebViewHosted())try{e._isEmbeddedInTeamsClient="extension-tab-frame"!==window.name}catch(e){}}return e._isEmbeddedInTeamsClient};e._isTestMobileWebView=function(){return/[?&]env=MobileWebView/.test(location.search)};e._isMobileIntuneBrowser=function(e){return navigator.userAgent.indexOf("ManagedBrowser")>-1};e._handleErrorForParentWindowCheck=function(){e._isEmbedded=!0}})(),(function(){function e(){}e.create=function(e){return new Proxy(e,new this)};e._isObject=function(e){return null!==e&&"object"==typeof e};e.prototype.get=function(t,n){if("__isProxy__"===n)return!0;var r=t[n];e._isObject(r)&&(r.__isProxy__||(r=t[n]=this.onNewEnvoy(n,r)));return this.onGetValue(n,r)};e.prototype.set=function(t,n,r){if(e._isObject(r)){var i=t[n];e._isObject(i)&&i.__isProxy__?t[n]=this.onBeforeSetValue(n,r):t[n]=this.onNewEnvoy(n,this.onBeforeSetValue(n,r))}else t[n]=this.onBeforeSetValue(n,r);this.onSetValue(n,t[n]);return!0};e.prototype.onGetValue=function(e,t){return t};e.prototype.onNewEnvoy=function(e,t){return new Proxy(t,new this.constructor)};e.prototype.onBeforeSetValue=function(e,t){return t};e.prototype.onSetValue=function(e,t){}})(),(function(){function e(){}e.parentIFrameCommunicatorServiceKey=cr.createCustom("isolated-webpart-application:ParentIframeCommunicator",function(){throw new Error("ParentIframeCommunicator cannot be consumed until it is provided.")});e.iDynamicDataManagerServiceKey=cr.createCustom("sp-dynamic-data:IDynamicDataManager",function(){throw new Error("IDynamicDataManager type cannot be consumed until it is provided.")})})();(function(e){e[e.Display=4]="Display";e[e.Edit=6]="Edit";e[e.New=8]="New"})(yr||(yr={}));(function(e){Object(s.n)(t,e);function t(){return null!==e&&e.apply(this,arguments)||this}})(Tr),(function(e){Object(s.n)(t,e);function t(){return null!==e&&e.apply(this,arguments)||this}})(Nr);var Cr=(function(){function e(){}e.encodeURIComponent=function(e,t,n,r){var i="",s=0;if(!e)return"";var o=e.length;for(s=0;s<o;s++){var u=e.charCodeAt(s),a=e.charAt(s);if(t&&("#"===a||"?"===a)){i+=e.substr(s);break}if(n&&"&"===a)i+=a;else if(u<=127)r||u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||t&&u>=32&&u<=95&&" \"%<>'&".indexOf(a)<0?i+=a:u<=15?i+="%0"+u.toString(16).toUpperCase():u<=127&&(i+="%"+u.toString(16).toUpperCase());else if(u<=2047){i+="%"+(192|u>>6).toString(16).toUpperCase();i+="%"+(128|63&u).toString(16).toUpperCase()}else if(55296!=(64512&u)){i+="%"+(224|u>>12).toString(16).toUpperCase();i+="%"+(128|(4032&u)>>6).toString(16).toUpperCase();i+="%"+(128|63&u).toString(16).toUpperCase()}else if(s<e.length-1){u=(1023&u)<<10;s++;u|=1023&e.charCodeAt(s);i+="%"+(240|(u+=65536)>>18).toString(16).toUpperCase();i+="%"+(128|(258048&u)>>12).toString(16).toUpperCase();i+="%"+(128|(4032&u)>>6).toString(16).toUpperCase();i+="%"+(128|63&u).toString(16).toUpperCase()}}return i};e.escapeUrlForCallback=function(t){var n=t.indexOf("#"),r=t.indexOf("?");if(n>0&&(-1===r||n<r)){var i=t.substr(0,n);r>0&&(i+=t.substr(r));t=i}return e.encodeURIComponent(t,!0,!1,!0)};e.encodeRestUriStringToken=function(t){if(t){t=(t=t.replace(/'/g,"''")).replace(/%27/g,"%27%27");t=e.encodeURIComponent(t)}return t};return e})(),kr=(function(){function e(e){var t=e.webAbsoluteUrl,n=e.encodeWebAbsoluteUrl,r=void 0===n||n;this._webAbsoluteUrl=t;this._encodeWebAbsoluteUrl=r;this._segments=[];this._parameters=[];this._rawParameters=[];this._lastParameterId=0}e.prototype.toString=function(){var e,t=[];this._parameters.length&&t.push(this._parameters.map(function(e){var t=e.name,n=e.serializedValue;return"".concat(t,"=").concat(n)}).join("&"));t.push.apply(t,this._rawParameters);e=t.length?"?".concat(t.join("&")):"";var n=this._webUrl,r=void 0===n?this._webAbsoluteUrl:n,i=Object(s.s)([this._encodeWebAbsoluteUrl?encodeURI(r):r,"_api"],this._segments,!0);return"".concat(i.join("/")).concat(e)};e.prototype.segment=function(e){return this._extend({segments:[e]})};e.prototype.segments=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this._extend({segments:e})};e.prototype.methodWithAliases=function(e,t){for(var n=this,r=[],i=0,s=Object.keys(t);i<s.length;i++){var o=s[i],u=t[o],a=n._autoParameter(u);n=a.apiUrl;r.push("".concat(o,"=").concat(a.name))}return n.segment("".concat(e,"(").concat(r.join(","),")"))};e.prototype.method=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=this,i=[],s=0,o=t;s<o.length;s++){var u=o[s],a=r._autoParameter(u);r=a.apiUrl;i.push(a.name)}return r.segment("".concat(e,"(").concat(i.join(","),")"))};e.prototype.parameter=function(e,t){return this._parameter(e,t)};e.prototype.parameters=function(e){for(var t=this,n=0,r=Object.keys(e);n<r.length;n++){var i=r[n],s=e[i];t=t.parameter(i,s)}return t};e.prototype.oDataParameter=function(e,t){return this.parameter(e,{raw:t})};e.prototype.rawParameter=function(e){return this._extend({rawParameters:[e]})};e.prototype._autoParameter=function(e){var t=this._lastParameterId+1,n="@a".concat(t);return{name:n,apiUrl:this._extend({lastParameterId:t})._parameter(n,e)}};e.prototype._parameter=function(e,t){var n;n=(function(e){return!!e&&"object"==typeof e&&"json"in e})(t)?Cr.encodeRestUriStringToken(JSON.stringify(t.json)):(function(e){return!!e&&"object"==typeof e&&"guid"in e})(t)?"guid'".concat(t.guid,"'"):(function(e){return!!e&&"object"==typeof e&&"raw"in e})(t)?t.raw:"number"==typeof t||"boolean"==typeof t?"".concat(t):"'".concat(Cr.encodeRestUriStringToken(t),"'");return this._extend({parameters:[{name:e,serializedValue:n}]})};e.prototype.clone=function(){return new e({webAbsoluteUrl:this._webAbsoluteUrl,encodeWebAbsoluteUrl:this._encodeWebAbsoluteUrl})};e.prototype._extend=function(e){var t,n,r,i,s,o;void 0===e&&(e={});var u=this.clone();u._webUrl=this._webUrl;u._lastParameterId=this._lastParameterId;(t=u._parameters).push.apply(t,this._parameters);(n=u._segments).push.apply(n,this._segments);(r=u._rawParameters).push.apply(r,this._rawParameters);"webUrl"in e&&(u._webUrl=e.webUrl);"lastParameterId"in e&&(u._lastParameterId=e.lastParameterId);"parameters"in e&&(i=u._parameters).push.apply(i,e.parameters);"rawParameters"in e&&(s=u._rawParameters).push.apply(s,e.rawParameters);"segments"in e&&(o=u._segments).push.apply(o,e.segments);return u};return e})(),Lr=(function(){function e(e){this._apiUrlType=(function(t){Object(s.n)(n,t);function n(){return t.call(this,{webAbsoluteUrl:e.webAbsoluteUrl,encodeWebAbsoluteUrl:e.encodeWebAbsoluteUrl})||this}return n})(kr)}e.prototype.build=function(){return new this._apiUrlType};e.prototype.contextInfoUrl=function(e){var t,n=e.indexOf("/_layouts/");if(n>-1)t=e.substring(0,n);else{var r=e.lastIndexOf("/"),i=e.lastIndexOf(".");t=i>r?"".concat(e.substring(0,i),"_").concat(e.substring(i+1)):e}return"".concat(t,"/_api/contextinfo")};return e})();var Ar=(function(){function e(e,t,n){this._apiUrlBase=new Lr({webAbsoluteUrl:e});this._vroomSiteId=t;this._listId=n}e.prototype.getWopiTargetInfoWithItemId=function(e){var t=this._apiUrlBase.build().segments("v2.0","sites",this._vroomSiteId,"lists",this._listId,"items",e,"driveItem").parameter("expand",{raw:"openWith"}).toString();return this.getWopiTargetInfo(t)};e.prototype.getWopiTargetInfoWithUrl=function(e){var t=this._apiUrlBase.build().segments("v2.0","shares",e,"driveItem").parameter("expand",{raw:"openWith"}).toString();return this.getWopiTargetInfo(t)};e.prototype.getWopiDavURLWithDriveIdItemId=function(e,t){var n=this._apiUrlBase.build().segments("v2.0","drives",e,"items",t).parameter("expand",{raw:"openWith,webDavUrl"}).toString();return this.getWopiTargetInfo(n)};e.prototype.getWopiTargetInfo=function(e){return new tt(function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0);r.setRequestHeader("accept","application/json; odata.metadata=none");r.onreadystatechange=function(){if(4===r.readyState){var i=r.status,o=r.getResponseHeader("SPRequestGuid");if(200===i)try{var u=JSON.parse(r.responseText);if(u.error){var a=u.error;n({requestUri:e,httpStatus:i,error:a.code,details:Or(a.message),requestId:o})}else{var f=u.openWith;if(f&&f.wac){var l=u.parentReference?u.parentReference.driveId:void 0,c=u.id,h=u.webDavUrl;t(Object(s.e)(Object(s.e)({},f.wac),{requestId:o,driveId:l,itemId:c,webDavUrl:h}))}else n({requestUri:e,httpStatus:i,error:Nn,details:"No openWith.wac property was found in the response.",requestId:o})}}catch(t){n({requestUri:e,httpStatus:i,error:Cn,details:Or(t.message),requestId:o})}else{var p=0===i?"UnableToConnect":i.toString();n({requestUri:e,httpStatus:i,error:p,details:Or(r.responseText),requestId:o})}}};r.send()})};return e})();function Or(e){return!N.t.isActivated("99304383-04a8-46d8-afa7-6f5cba5de17b","04/05/2022","Killswitch to scrub html info")&&e&&(e.indexOf("<!doctype")>0||e.indexOf("<html")>0)?"Scrubbed Info - Seems to contain HTML":e}var Mr=n("react-lib"),_r=n("react-dom-lib"),Dr=n(3);function Pr(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons"',src:"url('"+e+"fabric-icons-a13498cf.woff') format('woff')"},icons:{GlobalNavButton:"",ChevronDown:"",ChevronUp:"",Edit:"",Add:"",Cancel:"",More:"",Settings:"",Mail:"",Filter:"",Search:"",Share:"",BlockedSite:"",FavoriteStar:"",FavoriteStarFill:"",CheckMark:"",Delete:"",ChevronLeft:"",ChevronRight:"",Calendar:"",Megaphone:"",Undo:"",Flag:"",Page:"",Pinned:"",View:"",Clear:"",Download:"",Upload:"",Folder:"",Sort:"",AlignRight:"",AlignLeft:"",Tag:"",AddFriend:"",Info:"",SortLines:"",List:"",CircleRing:"",Heart:"",HeartFill:"",Tiles:"",Embed:"",Glimmer:"",Ascending:"",Descending:"",SortUp:"",SortDown:"",SyncToPC:"",LargeGrid:"",SkypeCheck:"",SkypeClock:"",SkypeMinus:"",ClearFilter:"",Flow:"",StatusCircleCheckmark:"",MoreVertical:""}};Object(Dr.N)(n,t)}function Hr(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-0"',src:"url('"+e+"fabric-icons-0-467ee27f.woff') format('woff')"},icons:{PageLink:"",CommentSolid:"",ChangeEntitlements:"",Installation:"",WebAppBuilderModule:"",WebAppBuilderFragment:"",WebAppBuilderSlot:"",BullseyeTargetEdit:"",WebAppBuilderFragmentCreate:"",PageData:"",PageHeaderEdit:"",ProductList:"",UnpublishContent:"",DependencyAdd:"",DependencyRemove:"",EntitlementPolicy:"",EntitlementRedemption:"",SchoolDataSyncLogo:"",PinSolid12:"",PinSolidOff12:"",AddLink:"",SharepointAppIcon16:"",DataflowsLink:"",TimePicker:"",UserWarning:"",ComplianceAudit:"",InternetSharing:"",Brightness:"",MapPin:"",Airplane:"",Tablet:"",QuickNote:"",Video:"",People:"",Phone:"",Pin:"",Shop:"",Stop:"",Link:"",AllApps:"",Zoom:"",ZoomOut:"",Microphone:"",Camera:"",Attach:"",Send:"",FavoriteList:"",PageSolid:"",Forward:"",Back:"",Refresh:"",Lock:"",ReportHacked:"",EMI:"",MiniLink:"",Blocked:"",ReadingMode:"",Favicon:"",Remove:"",Checkbox:"",CheckboxComposite:"",CheckboxFill:"",CheckboxIndeterminate:"",CheckboxCompositeReversed:"",BackToWindow:"",FullScreen:"",Print:"",Up:"",Down:"",OEM:"",Save:"",ReturnKey:"",Cloud:"",Flashlight:"",CommandPrompt:"",Sad:"",RealEstate:"",SIPMove:"",EraseTool:"",GripperTool:"",Dialpad:"",PageLeft:"",PageRight:"",MultiSelect:"",KeyboardClassic:"",Play:"",Pause:"",InkingTool:"",Emoji2:"",GripperBarHorizontal:"",System:"",Personalize:"",SearchAndApps:"",Globe:"",EaseOfAccess:"",ContactInfo:"",Unpin:"",Contact:"",Memo:"",IncomingCall:""}};Object(Dr.N)(n,t)}function Br(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-1"',src:"url('"+e+"fabric-icons-1-4d521695.woff') format('woff')"},icons:{Paste:"",WindowsLogo:"",Error:"",GripperBarVertical:"",Unlock:"",Slideshow:"",Trim:"",AutoEnhanceOn:"",AutoEnhanceOff:"",Color:"",SaveAs:"",Light:"",Filters:"",AspectRatio:"",Contrast:"",Redo:"",Crop:"",PhotoCollection:"",Album:"",Rotate:"",PanoIndicator:"",Translate:"",RedEye:"",ViewOriginal:"",ThumbnailView:"",Package:"",Telemarketer:"",Warning:"",Financial:"",Education:"",ShoppingCart:"",Train:"",Move:"",TouchPointer:"",Merge:"",TurnRight:"",Ferry:"",Highlight:"",PowerButton:"",Tab:"",Admin:"",TVMonitor:"",Speakers:"",Game:"",HorizontalTabKey:"",UnstackSelected:"",StackIndicator:"",Nav2DMapView:"",StreetsideSplitMinimize:"",Car:"",Bus:"",EatDrink:"",SeeDo:"",LocationCircle:"",Home:"",SwitcherStartEnd:"",ParkingLocation:"",IncidentTriangle:"",Touch:"",MapDirections:"",CaretHollow:"",CaretSolid:"",History:"",Location:"",MapLayers:"",SearchNearby:"",Work:"",Recent:"",Hotel:"",Bank:"",LocationDot:"",Dictionary:"",ChromeBack:"",FolderOpen:"",PinnedFill:"",RevToggleKey:"",USB:"",Previous:"",Next:"",Sync:"",Help:"",Emoji:"",MailForward:"",ClosePane:"",OpenPane:"",PreviewLink:"",ZoomIn:"",Bookmarks:"",Document:"",ProtectedDocument:"",OpenInNewWindow:"",MailFill:"",ViewAll:"",Switch:"",Rename:"",Go:"",Remote:"",SelectAll:"",Orientation:"",Import:""}};Object(Dr.N)(n,t)}function jr(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-2"',src:"url('"+e+"fabric-icons-2-63c99abf.woff') format('woff')"},icons:{Picture:"",ChromeClose:"",ShowResults:"",Message:"",CalendarDay:"",CalendarWeek:"",MailReplyAll:"",Read:"",Cut:"",PaymentCard:"",Copy:"",Important:"",MailReply:"",GotoToday:"",Font:"",FontColor:"",FolderFill:"",Permissions:"",DisableUpdates:"",Unfavorite:"",Italic:"",Underline:"",Bold:"",MoveToFolder:"",Dislike:"",Like:"",AlignCenter:"",OpenFile:"",ClearSelection:"",FontDecrease:"",FontIncrease:"",FontSize:"",CellPhone:"",RepeatOne:"",RepeatAll:"",Calculator:"",Library:"",PostUpdate:"",NewFolder:"",CalendarReply:"",UnsyncFolder:"",SyncFolder:"",BlockContact:"",Accept:"",BulletedList:"",Preview:"",News:"",Chat:"",Group:"",World:"",Comment:"",DockLeft:"",DockRight:"",Repair:"",Accounts:"",Street:"",RadioBullet:"",Stopwatch:"",Clock:"",WorldClock:"",AlarmClock:"",Photo:"",ActionCenter:"",Hospital:"",Timer:"",FullCircleMask:"",LocationFill:"",ChromeMinimize:"",ChromeRestore:"",Annotation:"",Fingerprint:"",Handwriting:"",ChromeFullScreen:"",Completed:"",Label:"",FlickDown:"",FlickUp:"",FlickLeft:"",FlickRight:"",MiniExpand:"",MiniContract:"",Streaming:"",MusicInCollection:"",OneDriveLogo:"",CompassNW:"",Code:"",LightningBolt:"",CalculatorMultiply:"",CalculatorAddition:"",CalculatorSubtract:"",CalculatorPercentage:"",CalculatorEqualTo:"",PrintfaxPrinterFile:"",StorageOptical:"",Communications:"",Headset:"",Health:"",Webcam2:"",FrontCamera:"",ChevronUpSmall:""}};Object(Dr.N)(n,t)}function Fr(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-3"',src:"url('"+e+"fabric-icons-3-089e217a.woff') format('woff')"},icons:{ChevronDownSmall:"",ChevronLeftSmall:"",ChevronRightSmall:"",ChevronUpMed:"",ChevronDownMed:"",ChevronLeftMed:"",ChevronRightMed:"",Devices2:"",PC1:"",PresenceChickletVideo:"",Reply:"",HalfAlpha:"",ConstructionCone:"",DoubleChevronLeftMed:"",Volume0:"",Volume1:"",Volume2:"",Volume3:"",Chart:"",Robot:"",Manufacturing:"",LockSolid:"",FitPage:"",FitWidth:"",BidiLtr:"",BidiRtl:"",RightDoubleQuote:"",Sunny:"",CloudWeather:"",Cloudy:"",PartlyCloudyDay:"",PartlyCloudyNight:"",ClearNight:"",RainShowersDay:"",Rain:"",Thunderstorms:"",RainSnow:"",Snow:"",BlowingSnow:"",Frigid:"",Fog:"",Squalls:"",Duststorm:"",Unknown:"",Precipitation:"",Ribbon:"",AreaChart:"",Assign:"",FlowChart:"",CheckList:"",Diagnostic:"",Generate:"",LineChart:"",Equalizer:"",BarChartHorizontal:"",BarChartVertical:"",Freezing:"",FunnelChart:"",Processing:"",Quantity:"",ReportDocument:"",StackColumnChart:"",SnowShowerDay:"",HailDay:"",WorkFlow:"",HourGlass:"",StoreLogoMed20:"",TimeSheet:"",TriangleSolid:"",UpgradeAnalysis:"",VideoSolid:"",RainShowersNight:"",SnowShowerNight:"",Teamwork:"",HailNight:"",PeopleAdd:"",Glasses:"",DateTime2:"",Shield:"",Header1:"",PageAdd:"",NumberedList:"",PowerBILogo:"",Info2:"",MusicInCollectionFill:"",Asterisk:"",ErrorBadge:"",CircleFill:"",Record2:"",AllAppsMirrored:"",BookmarksMirrored:"",BulletedListMirrored:"",CaretHollowMirrored:"",CaretSolidMirrored:"",ChromeBackMirrored:"",ClearSelectionMirrored:"",ClosePaneMirrored:"",DockLeftMirrored:"",DoubleChevronLeftMedMirrored:"",GoMirrored:""}};Object(Dr.N)(n,t)}function Ir(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-4"',src:"url('"+e+"fabric-icons-4-a656cc0a.woff') format('woff')"},icons:{HelpMirrored:"",ImportMirrored:"",ImportAllMirrored:"",ListMirrored:"",MailForwardMirrored:"",MailReplyMirrored:"",MailReplyAllMirrored:"",MiniContractMirrored:"",MiniExpandMirrored:"",OpenPaneMirrored:"",ParkingLocationMirrored:"",SendMirrored:"",ShowResultsMirrored:"",ThumbnailViewMirrored:"",Media:"",Devices3:"",Focus:"",VideoLightOff:"",Lightbulb:"",StatusTriangle:"",VolumeDisabled:"",Puzzle:"",EmojiNeutral:"",EmojiDisappointed:"",HomeSolid:"",Ringer:"",PDF:"",HeartBroken:"",StoreLogo16:"",MultiSelectMirrored:"",Broom:"",AddToShoppingList:"",Cocktails:"",Wines:"",Articles:"",Cycling:"",DietPlanNotebook:"",Pill:"",ExerciseTracker:"",HandsFree:"",Medical:"",Running:"",Weights:"",Trackers:"",AddNotes:"",AllCurrency:"",BarChart4:"",CirclePlus:"",Coffee:"",Cotton:"",Market:"",Money:"",PieDouble:"",PieSingle:"",RemoveFilter:"",Savings:"",Sell:"",StockDown:"",StockUp:"",Lamp:"",Source:"",MSNVideos:"",Cricket:"",Golf:"",Baseball:"",Soccer:"",MoreSports:"",AutoRacing:"",CollegeHoops:"",CollegeFootball:"",ProFootball:"",ProHockey:"",Rugby:"",SubstitutionsIn:"",Tennis:"",Arrivals:"",Design:"",Website:"",Drop:"",HistoricalWeather:"",SkiResorts:"",Snowflake:"",BusSolid:"",FerrySolid:"",AirplaneSolid:"",TrainSolid:"",Ticket:"",WifiWarning4:"",Devices4:"",AzureLogo:"",BingLogo:"",MSNLogo:"",OutlookLogoInverse:"",OfficeLogo:"",SkypeLogo:"",Door:"",EditMirrored:"",GiftCard:"",DoubleBookmark:"",StatusErrorFull:""}};Object(Dr.N)(n,t)}function qr(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-5"',src:"url('"+e+"fabric-icons-5-f95ba260.woff') format('woff')"},icons:{Certificate:"",FastForward:"",Rewind:"",Photo2:"",OpenSource:"",Movers:"",CloudDownload:"",Family:"",WindDirection:"",Bug:"",SiteScan:"",BrowserScreenShot:"",F12DevTools:"",CSS:"",JS:"",DeliveryTruck:"",ReminderPerson:"",ReminderGroup:"",ReminderTime:"",TabletMode:"",Umbrella:"",NetworkTower:"",CityNext:"",CityNext2:"",Section:"",OneNoteLogoInverse:"",ToggleFilled:"",ToggleBorder:"",SliderThumb:"",ToggleThumb:"",Documentation:"",Badge:"",Giftbox:"",VisualStudioLogo:"",HomeGroup:"",ExcelLogoInverse:"",WordLogoInverse:"",PowerPointLogoInverse:"",Cafe:"",SpeedHigh:"",Commitments:"",ThisPC:"",MusicNote:"",MicOff:"",PlaybackRate1x:"",EdgeLogo:"",CompletedSolid:"",AlbumRemove:"",MessageFill:"",TabletSelected:"",MobileSelected:"",LaptopSelected:"",TVMonitorSelected:"",DeveloperTools:"",Shapes:"",InsertTextBox:"",LowerBrightness:"",WebComponents:"",OfflineStorage:"",DOM:"",CloudUpload:"",ScrollUpDown:"",DateTime:"",Event:"",Cake:"",Org:"",PartyLeader:"",DRM:"",CloudAdd:"",AppIconDefault:"",Photo2Add:"",Photo2Remove:"",Calories:"",POI:"",AddTo:"",RadioBtnOff:"",RadioBtnOn:"",ExploreContent:"",Product:"",ProgressLoopInner:"",ProgressLoopOuter:"",Blocked2:"",FangBody:"",Toolbox:"",PageHeader:"",ChatInviteFriend:"",Brush:"",Shirt:"",Crown:"",Diamond:"",ScaleUp:"",QRCode:"",Feedback:"",SharepointLogoInverse:"",YammerLogo:"",Hide:"",Uneditable:"",ReturnToSession:"",OpenFolderHorizontal:"",CalendarMirrored:""}};Object(Dr.N)(n,t)}function Rr(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-6"',src:"url('"+e+"fabric-icons-6-ef6fd590.woff') format('woff')"},icons:{SwayLogoInverse:"",OutOfOffice:"",Trophy:"",ReopenPages:"",EmojiTabSymbols:"",AADLogo:"",AccessLogo:"",AdminALogoInverse32:"",AdminCLogoInverse32:"",AdminDLogoInverse32:"",AdminELogoInverse32:"",AdminLLogoInverse32:"",AdminMLogoInverse32:"",AdminOLogoInverse32:"",AdminPLogoInverse32:"",AdminSLogoInverse32:"",AdminYLogoInverse32:"",DelveLogoInverse:"",ExchangeLogoInverse:"",LyncLogo:"",OfficeVideoLogoInverse:"",SocialListeningLogo:"",VisioLogoInverse:"",Balloons:"",Cat:"",MailAlert:"",MailCheck:"",MailLowImportance:"",MailPause:"",MailRepeat:"",SecurityGroup:"",Table:"",VoicemailForward:"",VoicemailReply:"",Waffle:"",RemoveEvent:"",EventInfo:"",ForwardEvent:"",WipePhone:"",AddOnlineMeeting:"",JoinOnlineMeeting:"",RemoveLink:"",PeopleBlock:"",PeopleRepeat:"",PeopleAlert:"",PeoplePause:"",TransferCall:"",AddPhone:"",UnknownCall:"",NoteReply:"",NoteForward:"",NotePinned:"",RemoveOccurrence:"",Timeline:"",EditNote:"",CircleHalfFull:"",Room:"",Unsubscribe:"",Subscribe:"",HardDrive:"",RecurringTask:"",TaskManager:"",TaskManagerMirrored:"",Combine:"",Split:"",DoubleChevronUp:"",DoubleChevronLeft:"",DoubleChevronRight:"",TextBox:"",TextField:"",NumberField:"",Dropdown:"",PenWorkspace:"",BookingsLogo:"",ClassNotebookLogoInverse:"",DelveAnalyticsLogo:"",DocsLogoInverse:"",Dynamics365Logo:"",DynamicSMBLogo:"",OfficeAssistantLogo:"",OfficeStoreLogo:"",OneNoteEduLogoInverse:"",PlannerLogo:"",PowerApps:"",Suitcase:"",ProjectLogoInverse:"",CaretLeft8:"",CaretRight8:"",CaretUp8:"",CaretDown8:"",CaretLeftSolid8:"",CaretRightSolid8:"",CaretUpSolid8:"",CaretDownSolid8:"",ClearFormatting:"",Superscript:"",Subscript:"",Strikethrough:"",Export:"",ExportMirrored:""}};Object(Dr.N)(n,t)}function Ur(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-7"',src:"url('"+e+"fabric-icons-7-2b97bb99.woff') format('woff')"},icons:{SingleBookmark:"",SingleBookmarkSolid:"",DoubleChevronDown:"",FollowUser:"",ReplyAll:"",WorkforceManagement:"",RecruitmentManagement:"",Questionnaire:"",ManagerSelfService:"",ProductionFloorManagement:"",ProductRelease:"",ProductVariant:"",ReplyMirrored:"",ReplyAllMirrored:"",Medal:"",AddGroup:"",QuestionnaireMirrored:"",CloudImportExport:"",TemporaryUser:"",CaretSolid16:"",GroupedDescending:"",GroupedAscending:"",AwayStatus:"",MyMoviesTV:"",GenericScan:"",AustralianRules:"",WifiEthernet:"",TrackersMirrored:"",DateTimeMirrored:"",StopSolid:"",DoubleChevronUp12:"",DoubleChevronDown12:"",DoubleChevronLeft12:"",DoubleChevronRight12:"",CalendarAgenda:"",ConnectVirtualMachine:"",AddEvent:"",AssetLibrary:"",DataConnectionLibrary:"",DocLibrary:"",FormLibrary:"",FormLibraryMirrored:"",ReportLibrary:"",ReportLibraryMirrored:"",ContactCard:"",CustomList:"",CustomListMirrored:"",IssueTracking:"",IssueTrackingMirrored:"",PictureLibrary:"",OfficeAddinsLogo:"",OfflineOneDriveParachute:"",OfflineOneDriveParachuteDisabled:"",TriangleSolidUp12:"",TriangleSolidDown12:"",TriangleSolidLeft12:"",TriangleSolidRight12:"",TriangleUp12:"",TriangleDown12:"",TriangleLeft12:"",TriangleRight12:"",ArrowUpRight8:"",ArrowDownRight8:"",DocumentSet:"",GoToDashboard:"",DelveAnalytics:"",ArrowUpRightMirrored8:"",ArrowDownRightMirrored8:"",CompanyDirectory:"",OpenEnrollment:"",CompanyDirectoryMirrored:"",OneDriveAdd:"",ProfileSearch:"",Header2:"",Header3:"",Header4:"",RingerSolid:"",Eyedropper:"",MarketDown:"",CalendarWorkWeek:"",SidePanel:"",GlobeFavorite:"",CaretTopLeftSolid8:"",CaretTopRightSolid8:"",ViewAll2:"",DocumentReply:"",PlayerSettings:"",ReceiptForward:"",ReceiptReply:"",ReceiptCheck:"",Fax:"",RecurringEvent:"",ReplyAlt:"",ReplyAllAlt:"",EditStyle:"",EditMail:"",Lifesaver:"",LifesaverLock:"",InboxCheck:"",FolderSearch:""}};Object(Dr.N)(n,t)}function zr(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-8"',src:"url('"+e+"fabric-icons-8-6fdf1528.woff') format('woff')"},icons:{CollapseMenu:"",ExpandMenu:"",Boards:"",SunAdd:"",SunQuestionMark:"",LandscapeOrientation:"",DocumentSearch:"",PublicCalendar:"",PublicContactCard:"",PublicEmail:"",PublicFolder:"",WordDocument:"",PowerPointDocument:"",ExcelDocument:"",GroupedList:"",ClassroomLogo:"",Sections:"",EditPhoto:"",Starburst:"",ShareiOS:"",AirTickets:"",PencilReply:"",Tiles2:"",SkypeCircleCheck:"",SkypeCircleClock:"",SkypeCircleMinus:"",SkypeMessage:"",ClosedCaption:"",ATPLogo:"",OfficeFormsLogoInverse:"",RecycleBin:"",EmptyRecycleBin:"",Hide2:"",Breadcrumb:"",BirthdayCake:"",TimeEntry:"",CRMProcesses:"",PageEdit:"",PageArrowRight:"",PageRemove:"",Database:"",DataManagementSettings:"",CRMServices:"",EditContact:"",ConnectContacts:"",AppIconDefaultAdd:"",AppIconDefaultList:"",ActivateOrders:"",DeactivateOrders:"",ProductCatalog:"",ScatterChart:"",AccountActivity:"",DocumentManagement:"",CRMReport:"",KnowledgeArticle:"",Relationship:"",HomeVerify:"",ZipFolder:"",SurveyQuestions:"",TextDocument:"",TextDocumentShared:"",PageCheckedOut:"",PageShared:"",SaveAndClose:"",Script:"",Archive:"",ActivityFeed:"",Compare:"",EventDate:"",ArrowUpRight:"",CaretRight:"",SetAction:"",ChatBot:"",CaretSolidLeft:"",CaretSolidDown:"",CaretSolidRight:"",CaretSolidUp:"",PowerAppsLogo:"",PowerApps2Logo:"",SearchIssue:"",SearchIssueMirrored:"",FabricAssetLibrary:"",FabricDataConnectionLibrary:"",FabricDocLibrary:"",FabricFormLibrary:"",FabricFormLibraryMirrored:"",FabricReportLibrary:"",FabricReportLibraryMirrored:"",FabricPublicFolder:"",FabricFolderSearch:"",FabricMovetoFolder:"",FabricUnsyncFolder:"",FabricSyncFolder:"",FabricOpenFolderHorizontal:"",FabricFolder:"",FabricFolderFill:"",FabricNewFolder:"",FabricPictureLibrary:"",PhotoVideoMedia:"",AddFavorite:""}};Object(Dr.N)(n,t)}function Wr(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-9"',src:"url('"+e+"fabric-icons-9-c6162b42.woff') format('woff')"},icons:{AddFavoriteFill:"",BufferTimeBefore:"",BufferTimeAfter:"",BufferTimeBoth:"",PublishContent:"",ClipboardList:"",ClipboardListMirrored:"",CannedChat:"",SkypeForBusinessLogo:"",TabCenter:"",PageCheckedin:"",PageList:"",ReadOutLoud:"",CaretBottomLeftSolid8:"",CaretBottomRightSolid8:"",FolderHorizontal:"",MicrosoftStaffhubLogo:"",GiftboxOpen:"",StatusCircleOuter:"",StatusCircleInner:"",StatusCircleRing:"",StatusTriangleOuter:"",StatusTriangleInner:"",StatusTriangleExclamation:"",StatusCircleExclamation:"",StatusCircleErrorX:"",StatusCircleInfo:"",StatusCircleBlock:"",StatusCircleBlock2:"",StatusCircleQuestionMark:"",StatusCircleSync:"",Toll:"",ExploreContentSingle:"",CollapseContent:"",CollapseContentSingle:"",InfoSolid:"",GroupList:"",ProgressRingDots:"",CaloriesAdd:"",BranchFork:"",MuteChat:"",AddHome:"",AddWork:"",MobileReport:"",ScaleVolume:"",HardDriveGroup:"",FastMode:"",ToggleLeft:"",ToggleRight:"",TriangleShape:"",RectangleShape:"",CubeShape:"",Trophy2:"",BucketColor:"",BucketColorFill:"",Taskboard:"",SingleColumn:"",DoubleColumn:"",TripleColumn:"",ColumnLeftTwoThirds:"",ColumnRightTwoThirds:"",AccessLogoFill:"",AnalyticsLogo:"",AnalyticsQuery:"",NewAnalyticsQuery:"",AnalyticsReport:"",WordLogo:"",WordLogoFill:"",ExcelLogo:"",ExcelLogoFill:"",OneNoteLogo:"",OneNoteLogoFill:"",OutlookLogo:"",OutlookLogoFill:"",PowerPointLogo:"",PowerPointLogoFill:"",PublisherLogo:"",PublisherLogoFill:"",ScheduleEventAction:"",FlameSolid:"",ServerProcesses:"",Server:"",SaveAll:"",LinkedInLogo:"",Decimals:"",SidePanelMirrored:"",ProtectRestrict:"",Blog:"",UnknownMirrored:"",PublicContactCardMirrored:"",GridViewSmall:"",GridViewMedium:"",GridViewLarge:"",Step:"",StepInsert:"",StepShared:"",StepSharedAdd:"",StepSharedInsert:"",ViewDashboard:"",ViewList:""}};Object(Dr.N)(n,t)}function Xr(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-10"',src:"url('"+e+"fabric-icons-10-c4ded8e4.woff') format('woff')"},icons:{ViewListGroup:"",ViewListTree:"",TriggerAuto:"",TriggerUser:"",PivotChart:"",StackedBarChart:"",StackedLineChart:"",BuildQueue:"",BuildQueueNew:"",UserFollowed:"",ContactLink:"",Stack:"",Bullseye:"",VennDiagram:"",FiveTileGrid:"",FocalPoint:"",Insert:"",RingerRemove:"",TeamsLogoInverse:"",TeamsLogo:"",TeamsLogoFill:"",SkypeForBusinessLogoFill:"",SharepointLogo:"",SharepointLogoFill:"",DelveLogo:"",DelveLogoFill:"",OfficeVideoLogo:"",OfficeVideoLogoFill:"",ExchangeLogo:"",ExchangeLogoFill:"",Signin:"",DocumentApproval:"",CloneToDesktop:"",InstallToDrive:"",Blur:"",Build:"",ProcessMetaTask:"",BranchFork2:"",BranchLocked:"",BranchCommit:"",BranchCompare:"",BranchMerge:"",BranchPullRequest:"",BranchSearch:"",BranchShelveset:"",RawSource:"",MergeDuplicate:"",RowsGroup:"",RowsChild:"",Deploy:"",Redeploy:"",ServerEnviroment:"",VisioDiagram:"",HighlightMappedShapes:"",TextCallout:"",IconSetsFlag:"",VisioLogo:"",VisioLogoFill:"",VisioDocument:"",TimelineProgress:"",TimelineDelivery:"",Backlog:"",TeamFavorite:"",TaskGroup:"",TaskGroupMirrored:"",ScopeTemplate:"",AssessmentGroupTemplate:"",NewTeamProject:"",CommentAdd:"",CommentNext:"",CommentPrevious:"",ShopServer:"",LocaleLanguage:"",QueryList:"",UserSync:"",UserPause:"",StreamingOff:"",ArrowTallUpLeft:"",ArrowTallUpRight:"",ArrowTallDownLeft:"",ArrowTallDownRight:"",FieldEmpty:"",FieldFilled:"",FieldChanged:"",FieldNotChanged:"",RingerOff:"",PlayResume:"",BulletedList2:"",BulletedList2Mirrored:"",ImageCrosshair:"",GitGraph:"",Repo:"",RepoSolid:"",FolderQuery:"",FolderList:"",FolderListMirrored:"",LocationOutline:"",POISolid:"",CalculatorNotEqualTo:"",BoxSubtractSolid:""}};Object(Dr.N)(n,t)}function Vr(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-11"',src:"url('"+e+"fabric-icons-11-2a8393d6.woff') format('woff')"},icons:{BoxAdditionSolid:"",BoxMultiplySolid:"",BoxPlaySolid:"",BoxCheckmarkSolid:"",CirclePauseSolid:"",CirclePause:"",MSNVideosSolid:"",CircleStopSolid:"",CircleStop:"",NavigateBack:"",NavigateBackMirrored:"",NavigateForward:"",NavigateForwardMirrored:"",UnknownSolid:"",UnknownMirroredSolid:"",CircleAddition:"",CircleAdditionSolid:"",FilePDB:"",FileTemplate:"",FileSQL:"",FileJAVA:"",FileASPX:"",FileCSS:"",FileSass:"",FileLess:"",FileHTML:"",JavaScriptLanguage:"",CSharpLanguage:"",CSharp:"",VisualBasicLanguage:"",VB:"",CPlusPlusLanguage:"",CPlusPlus:"",FSharpLanguage:"",FSharp:"",TypeScriptLanguage:"",PythonLanguage:"",PY:"",CoffeeScript:"",MarkDownLanguage:"",FullWidth:"",FullWidthEdit:"",Plug:"",PlugSolid:"",PlugConnected:"",PlugDisconnected:"",UnlockSolid:"",Variable:"",Parameter:"",CommentUrgent:"",Storyboard:"",DiffInline:"",DiffSideBySide:"",ImageDiff:"",ImagePixel:"",FileBug:"",FileCode:"",FileComment:"",BusinessHoursSign:"",FileImage:"",FileSymlink:"",AutoFillTemplate:"",WorkItem:"",WorkItemBug:"",LogRemove:"",ColumnOptions:"",Packages:"",BuildIssue:"",AssessmentGroup:"",VariableGroup:"",FullHistory:"",Wheelchair:"",SingleColumnEdit:"",DoubleColumnEdit:"",TripleColumnEdit:"",ColumnLeftTwoThirdsEdit:"",ColumnRightTwoThirdsEdit:"",StreamLogo:"",PassiveAuthentication:"",AlertSolid:"",MegaphoneSolid:"",TaskSolid:"",ConfigurationSolid:"",BugSolid:"",CrownSolid:"",Trophy2Solid:"",QuickNoteSolid:"",ConstructionConeSolid:"",PageListSolid:"",PageListMirroredSolid:"",StarburstSolid:"",ReadingModeSolid:"",SadSolid:"",HealthSolid:"",ShieldSolid:"",GiftBoxSolid:"",ShoppingCartSolid:"",MailSolid:"",ChatSolid:"",RibbonSolid:""}};Object(Dr.N)(n,t)}function $r(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-12"',src:"url('"+e+"fabric-icons-12-7e945a1e.woff') format('woff')"},icons:{FinancialSolid:"",FinancialMirroredSolid:"",HeadsetSolid:"",PermissionsSolid:"",ParkingSolid:"",ParkingMirroredSolid:"",DiamondSolid:"",AsteriskSolid:"",OfflineStorageSolid:"",BankSolid:"",DecisionSolid:"",Parachute:"",ParachuteSolid:"",FiltersSolid:"",ColorSolid:"",ReviewSolid:"",ReviewRequestSolid:"",ReviewRequestMirroredSolid:"",ReviewResponseSolid:"",FeedbackRequestSolid:"",FeedbackRequestMirroredSolid:"",FeedbackResponseSolid:"",WorkItemBar:"",WorkItemBarSolid:"",Separator:"",NavigateExternalInline:"",PlanView:"",TimelineMatrixView:"",EngineeringGroup:"",ProjectCollection:"",CaretBottomRightCenter8:"",CaretBottomLeftCenter8:"",CaretTopRightCenter8:"",CaretTopLeftCenter8:"",DonutChart:"",ChevronUnfold10:"",ChevronFold10:"",DoubleChevronDown8:"",DoubleChevronUp8:"",DoubleChevronLeft8:"",DoubleChevronRight8:"",ChevronDownEnd6:"",ChevronUpEnd6:"",ChevronLeftEnd6:"",ChevronRightEnd6:"",ContextMenu:"",AzureAPIManagement:"",AzureServiceEndpoint:"",VSTSLogo:"",VSTSAltLogo1:"",VSTSAltLogo2:"",FileTypeSolution:"",WordLogoInverse16:"",WordLogo16:"",WordLogoFill16:"",PowerPointLogoInverse16:"",PowerPointLogo16:"",PowerPointLogoFill16:"",ExcelLogoInverse16:"",ExcelLogo16:"",ExcelLogoFill16:"",OneNoteLogoInverse16:"",OneNoteLogo16:"",OneNoteLogoFill16:"",OutlookLogoInverse16:"",OutlookLogo16:"",OutlookLogoFill16:"",PublisherLogoInverse16:"",PublisherLogo16:"",PublisherLogoFill16:"",VisioLogoInverse16:"",VisioLogo16:"",VisioLogoFill16:"",TestBeaker:"",TestBeakerSolid:"",TestExploreSolid:"",TestAutoSolid:"",TestUserSolid:"",TestImpactSolid:"",TestPlan:"",TestStep:"",TestParameter:"",TestSuite:"",TestCase:"",Sprint:"",SignOut:"",TriggerApproval:"",Rocket:"",AzureKeyVault:"",Onboarding:"",Transition:"",LikeSolid:"",DislikeSolid:"",CRMCustomerInsightsApp:"",EditCreate:"",PlayReverseResume:"",PlayReverse:"",SearchData:"",UnSetColor:"",DeclineCall:""}};Object(Dr.N)(n,t)}function Jr(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-13"',src:"url('"+e+"fabric-icons-13-c3989a02.woff') format('woff')"},icons:{RectangularClipping:"",TeamsLogo16:"",TeamsLogoFill16:"",Spacer:"",SkypeLogo16:"",SkypeForBusinessLogo16:"",SkypeForBusinessLogoFill16:"",FilterSolid:"",MailUndelivered:"",MailTentative:"",MailTentativeMirrored:"",MailReminder:"",ReceiptUndelivered:"",ReceiptTentative:"",ReceiptTentativeMirrored:"",Inbox:"",IRMReply:"",IRMReplyMirrored:"",IRMForward:"",IRMForwardMirrored:"",VoicemailIRM:"",EventAccepted:"",EventTentative:"",EventTentativeMirrored:"",EventDeclined:"",IDBadge:"",BackgroundColor:"",OfficeFormsLogoInverse16:"",OfficeFormsLogo:"",OfficeFormsLogoFill:"",OfficeFormsLogo16:"",OfficeFormsLogoFill16:"",OfficeFormsLogoInverse24:"",OfficeFormsLogo24:"",OfficeFormsLogoFill24:"",PageLock:"",NotExecuted:"",NotImpactedSolid:"",FieldReadOnly:"",FieldRequired:"",BacklogBoard:"",ExternalBuild:"",ExternalTFVC:"",ExternalXAML:"",IssueSolid:"",DefectSolid:"",LadybugSolid:"",NugetLogo:"",TFVCLogo:"",ProjectLogo32:"",ProjectLogoFill32:"",ProjectLogo16:"",ProjectLogoFill16:"",SwayLogo32:"",SwayLogoFill32:"",SwayLogo16:"",SwayLogoFill16:"",ClassNotebookLogo32:"",ClassNotebookLogoFill32:"",ClassNotebookLogo16:"",ClassNotebookLogoFill16:"",ClassNotebookLogoInverse32:"",ClassNotebookLogoInverse16:"",StaffNotebookLogo32:"",StaffNotebookLogoFill32:"",StaffNotebookLogo16:"",StaffNotebookLogoFill16:"",StaffNotebookLogoInverted32:"",StaffNotebookLogoInverted16:"",KaizalaLogo:"",TaskLogo:"",ProtectionCenterLogo32:"",GallatinLogo:"",Globe2:"",Guitar:"",Breakfast:"",Brunch:"",BeerMug:"",Vacation:"",Teeth:"",Taxi:"",Chopsticks:"",SyncOccurence:"",UnsyncOccurence:"",GIF:"",PrimaryCalendar:"",SearchCalendar:"",VideoOff:"",MicrosoftFlowLogo:"",BusinessCenterLogo:"",ToDoLogoBottom:"",ToDoLogoTop:"",EditSolid12:"",EditSolidMirrored12:"",UneditableSolid12:"",UneditableSolidMirrored12:"",UneditableMirrored:"",AdminALogo32:"",AdminALogoFill32:"",ToDoLogoInverse:""}};Object(Dr.N)(n,t)}function Kr(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-14"',src:"url('"+e+"fabric-icons-14-5cf58db8.woff') format('woff')"},icons:{Snooze:"",WaffleOffice365:"",ImageSearch:"",NewsSearch:"",VideoSearch:"",R:"",FontColorA:"",FontColorSwatch:"",LightWeight:"",NormalWeight:"",SemiboldWeight:"",GroupObject:"",UngroupObject:"",AlignHorizontalLeft:"",AlignHorizontalCenter:"",AlignHorizontalRight:"",AlignVerticalTop:"",AlignVerticalCenter:"",AlignVerticalBottom:"",HorizontalDistributeCenter:"",VerticalDistributeCenter:"",Ellipse:"",Line:"",Octagon:"",Hexagon:"",Pentagon:"",RightTriangle:"",HalfCircle:"",QuarterCircle:"",ThreeQuarterCircle:"","6PointStar":"","12PointStar":"",ArrangeBringToFront:"",ArrangeSendToBack:"",ArrangeSendBackward:"",ArrangeBringForward:"",BorderDash:"",BorderDot:"",LineStyle:"",LineThickness:"",WindowEdit:"",HintText:"",MediaAdd:"",AnchorLock:"",AutoHeight:"",ChartSeries:"",ChartXAngle:"",ChartYAngle:"",Combobox:"",LineSpacing:"",Padding:"",PaddingTop:"",PaddingBottom:"",PaddingLeft:"",PaddingRight:"",NavigationFlipper:"",AlignJustify:"",TextOverflow:"",VisualsFolder:"",VisualsStore:"",PictureCenter:"",PictureFill:"",PicturePosition:"",PictureStretch:"",PictureTile:"",Slider:"",SliderHandleSize:"",DefaultRatio:"",NumberSequence:"",GUID:"",ReportAdd:"",DashboardAdd:"",MapPinSolid:"",WebPublish:"",PieSingleSolid:"",BlockedSolid:"",DrillDown:"",DrillDownSolid:"",DrillExpand:"",DrillShow:"",SpecialEvent:"",OneDriveFolder16:"",FunctionalManagerDashboard:"",BIDashboard:"",CodeEdit:"",RenewalCurrent:"",RenewalFuture:"",SplitObject:"",BulkUpload:"",DownloadDocument:"",GreetingCard:"",Flower:"",WaitlistConfirm:"",WaitlistConfirmMirrored:"",LaptopSecure:"",DragObject:"",EntryView:"",EntryDecline:"",ContactCardSettings:"",ContactCardSettingsMirrored:""}};Object(Dr.N)(n,t)}function Qr(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-15"',src:"url('"+e+"fabric-icons-15-3807251b.woff') format('woff')"},icons:{CalendarSettings:"",CalendarSettingsMirrored:"",HardDriveLock:"",HardDriveUnlock:"",AccountManagement:"",ReportWarning:"",TransitionPop:"",TransitionPush:"",TransitionEffect:"",LookupEntities:"",ExploreData:"",AddBookmark:"",SearchBookmark:"",DrillThrough:"",MasterDatabase:"",CertifiedDatabase:"",MaximumValue:"",MinimumValue:"",VisualStudioIDELogo32:"",PasteAsText:"",PasteAsCode:"",BrowserTab:"",BrowserTabScreenshot:"",DesktopScreenshot:"",FileYML:"",ClipboardSolid:"",FabricUserFolder:"",FabricNetworkFolder:"",BullseyeTarget:"",AnalyticsView:"",Video360Generic:"",Untag:"",Leave:"",Trending12:"",Blocked12:"",Warning12:"",CheckedOutByOther12:"",CheckedOutByYou12:"",CircleShapeSolid:"",SquareShapeSolid:"",TriangleShapeSolid:"",DropShapeSolid:"",RectangleShapeSolid:"",ZoomToFit:"",InsertColumnsLeft:"",InsertColumnsRight:"",InsertRowsAbove:"",InsertRowsBelow:"",DeleteColumns:"",DeleteRows:"",DeleteRowsMirrored:"",DeleteTable:"",AccountBrowser:"",VersionControlPush:"",StackedColumnChart2:"",TripleColumnWide:"",QuadColumn:"",WhiteBoardApp16:"",WhiteBoardApp32:"",PinnedSolid:"",InsertSignatureLine:"",ArrangeByFrom:"",Phishing:"",CreateMailRule:"",PublishCourse:"",DictionaryRemove:"",UserRemove:"",UserEvent:"",Encryption:"",PasswordField:"",OpenInNewTab:"",Hide3:"",VerifiedBrandSolid:"",MarkAsProtected:"",AuthenticatorApp:"",WebTemplate:"",DefenderTVM:"",MedalSolid:"",D365TalentLearn:"",D365TalentInsight:"",D365TalentHRCore:"",BacklogList:"",ButtonControl:"",TableGroup:"",MountainClimbing:"",TagUnknown:"",TagUnknownMirror:"",TagUnknown12:"",TagUnknown12Mirror:"",Link12:"",Presentation:"",Presentation12:"",Lock12:"",BuildDefinition:"",ReleaseDefinition:"",SaveTemplate:"",UserGauge:"",BlockedSiteSolid12:"",TagSolid:"",OfficeChat:""}};Object(Dr.N)(n,t)}function Gr(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-16"',src:"url('"+e+"fabric-icons-16-9cf93f3b.woff') format('woff')"},icons:{OfficeChatSolid:"",MailSchedule:"",WarningSolid:"",Blocked2Solid:"",SkypeCircleArrow:"",SkypeArrow:"",SyncStatus:"",SyncStatusSolid:"",ProjectDocument:"",ToDoLogoOutline:"",VisioOnlineLogoFill32:"",VisioOnlineLogo32:"",VisioOnlineLogoCloud32:"",VisioDiagramSync:"",Event12:"",EventDateMissed12:"",UserOptional:"",ResponsesMenu:"",DoubleDownArrow:"",DistributeDown:"",BookmarkReport:"",FilterSettings:"",GripperDotsVertical:"",MailAttached:"",AddIn:"",LinkedDatabase:"",TableLink:"",PromotedDatabase:"",BarChartVerticalFilter:"",BarChartVerticalFilterSolid:"",MicOff2:"",MicrosoftTranslatorLogo:"",ShowTimeAs:"",FileRequest:"",WorkItemAlert:"",PowerBILogo16:"",PowerBILogoBackplate16:"",BulletedListText:"",BulletedListBullet:"",BulletedListTextMirrored:"",BulletedListBulletMirrored:"",NumberedListText:"",NumberedListNumber:"",NumberedListTextMirrored:"",NumberedListNumberMirrored:"",RemoveLinkChain:"",RemoveLinkX:"",FabricTextHighlight:"",ClearFormattingA:"",ClearFormattingEraser:"",Photo2Fill:"",IncreaseIndentText:"",IncreaseIndentArrow:"",DecreaseIndentText:"",DecreaseIndentArrow:"",IncreaseIndentTextMirrored:"",IncreaseIndentArrowMirrored:"",DecreaseIndentTextMirrored:"",DecreaseIndentArrowMirrored:"",CheckListText:"",CheckListCheck:"",CheckListTextMirrored:"",CheckListCheckMirrored:"",NumberSymbol:"",Coupon:"",VerifiedBrand:"",ReleaseGate:"",ReleaseGateCheck:"",ReleaseGateError:"",M365InvoicingLogo:"",RemoveFromShoppingList:"",ShieldAlert:"",FabricTextHighlightComposite:"",Dataflows:"",GenericScanFilled:"",DiagnosticDataBarTooltip:"",SaveToMobile:"",Orientation2:"",ScreenCast:"",ShowGrid:"",SnapToGrid:"",ContactList:"",NewMail:"",EyeShadow:"",FabricFolderConfirm:"",InformationBarriers:"",CommentActive:"",ColumnVerticalSectionEdit:"",WavingHand:"",ShakeDevice:"",SmartGlassRemote:"",Rotate90Clockwise:"",Rotate90CounterClockwise:"",CampaignTemplate:"",ChartTemplate:"",PageListFilter:"",SecondaryNav:"",ColumnVerticalSection:"",SkypeCircleSlash:"",SkypeSlash:""}};Object(Dr.N)(n,t)}function Yr(e,t){void 0===e&&(e="");var n={style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-17"',src:"url('"+e+"fabric-icons-17-0c4ed701.woff') format('woff')"},icons:{CustomizeToolbar:"",DuplicateRow:"",RemoveFromTrash:"",MailOptions:"",Childof:"",Footer:"",Header:"",BarChartVerticalFill:"",StackedColumnChart2Fill:"",PlainText:"",AccessibiltyChecker:"",DatabaseSync:"",ReservationOrders:"",TabOneColumn:"",TabTwoColumn:"",TabThreeColumn:"",BulletedTreeList:"",MicrosoftTranslatorLogoGreen:"",MicrosoftTranslatorLogoBlue:"",InternalInvestigation:"",AddReaction:"",ContactHeart:"",VisuallyImpaired:"",EventToDoLogo:"",Variable2:"",ModelingView:"",DisconnectVirtualMachine:"",ReportLock:"",Uneditable2:"",Uneditable2Mirrored:"",BarChartVerticalEdit:"",GlobalNavButtonActive:"",PollResults:"",Rerun:"",QandA:"",QandAMirror:"",BookAnswers:"",AlertSettings:"",TrimStart:"",TrimEnd:"",TableComputed:"",DecreaseIndentLegacy:"",IncreaseIndentLegacy:"",SizeLegacy:""}};Object(Dr.N)(n,t)}var Zr=function(){Object(Dr.T)("trash","delete");Object(Dr.T)("onedrive","onedrivelogo");Object(Dr.T)("alertsolid12","eventdatemissed12");Object(Dr.T)("sixpointstar","6pointstar");Object(Dr.T)("twelvepointstar","12pointstar");Object(Dr.T)("toggleon","toggleleft");Object(Dr.T)("toggleoff","toggleright")},ei=n(12),ti=n(129);Object(ti.e)("@uifabric/icons","7.7.6");var ni=Object(ei.e)();var ri,ii,si=n(67);(function(e){e[e.Success=0]="Success";e[e.CannotGrantPermission=1]="CannotGrantPermission";e[e.UserDoesNotExist=2]="UserDoesNotExist";e[e.Failed=3]="Failed"})(ri||(ri={}));(function(e){e[e.share=1]="share";e[e.copyLink=2]="copyLink";e[e.manageAccess=5]="manageAccess";e[e.addPeople=7]="addPeople"})(ii||(ii={}));var oi=n(111);var ui=n(96),ai=n(59),fi=n(17);(function(e){Object(s.n)(t,e);function t(t){var n=this,r=t.timeout,i=Object(s.i)(t,["timeout"]);(n=e.call(this,Object(s.e)(Object(s.e)({message:"Timeout"},i),{extraData:{timeout:r}}))||this).timeout=r;n.name="TimeoutError";return n}})(fi.e);function li(e,t){return Object(s.t)(this,void 0,void 0,function(){var n,r,i,o,u,a;return Object(s.r)(this,function(s){switch(s.label){case 0:n=new ui.e,r=n.resolve,i=n.reject,o=n.promise;t&&t.throwIfCanceled();u=e!==1/0?window.setTimeout(function(){return r()},e):void 0;a=t&&t.subscribe(function(){u&&window.clearTimeout(u);i(new ai.e)});s.label=1;case 1:s.trys.push([1,,3,4]);return[4,o];case 2:s.sent();return[3,4];case 3:a&&a();return[7];case 4:return[2]}})})}var ci=new WeakMap,hi=new Map,pi=new WeakMap;function di(e,t){void 0===t&&(t={});var n=t.useChildrenAsPlaceholder,r=void 0!==n&&n,i=function(){return(function(e){var t=pi.get(e);t||pi.set(e,t=e().then(function(t){var n,r=(n=t).default||n;ci.set(e,r);return r}).catch(function(t){pi.delete(e);return Promise.reject(t)}));return t})(e)},o=function(){if(ci.has(e))return ci.get(e)};function u(e){var t=this,n=Mr.useState(function(){return{}}),u=e.placeholder,a=e.children,f=e.barrier,l=Object(s.i)(e,["placeholder","children","barrier"]),c=(function(e,t){var n=Mr.useRef();Object(oi.e)(n.current,t,{debug:!0})&&(n.current=t);return Mr.useMemo(e,[n.current])})(function(){return l},l),h=Mr.useState(function(){return o()}),p=h[0],d=h[1],v=Mr.useRef(d),m=Mr.useState(),g=m[0],y=m[1],b=Mr.useRef(y);Mr.useLayoutEffect(function(){return function(){v.current=void 0;b.current=void 0;hi.delete(n)}},[]);Mr.useLayoutEffect(function(){if(hi.size>0){var e=[];hi.forEach(function(t){e.push(t)});hi.clear();for(var t=0,n=e;t<n.length;t++){(0,n[t])()}}});Mr.useLayoutEffect(function(){p||g||Object(s.t)(t,void 0,void 0,function(){var e,t,r,o;return Object(s.r)(this,function(s){switch(s.label){case 0:s.trys.push([0,4,,5]);return f?[4,f]:[3,2];case 1:s.sent();s.label=2;case 2:return[4,i()];case 3:e=s.sent();return[3,5];case 4:r=s.sent();t=r;return[3,5];case 5:hi.set(n,function(){e?v.current&&v.current(function(){return e}):t&&b.current&&b.current(t)});return[4,li(0)];case 6:s.sent();if(o=hi.get(n)){hi.delete(n);o()}return[2]}})})},[]);return Mr.useMemo(function(){if(g)throw g;return p?Mr.createElement(p,Object(s.e)({},c,{children:a})):r?Mr.createElement(Mr.Fragment,null,a):u?Mr.createElement(Mr.Fragment,null,u):null},[c,u,a,p,g])}u.asAsync={load:i,getComponent:o,options:t};return u}var vi=n(42),mi=n(9),gi=di(function(){return Object(s.t)(void 0,void 0,void 0,function(){return Object(s.r)(this,function(e){switch(e.label){case 0:return[4,n.ee(1,291)];case 1:return[2,e.sent().ShareDialog]}})})}),yi=(function(e){Object(s.n)(t,e);function t(t){var n=e.call(this,t)||this;n.setNewState=function(e){n.setState(Object(s.e)({},e))};n.initializeShareFrame=function(e){};n.getSharingInformation=function(){return Promise.resolve({cookieAuthIframeUrl:n.state.shareDialogUrl})};n.getClientId=function(){return"WAC"};n.show=function(){n._initQos();n.setState({hideDialog:!1,shareReady:!1})};n.hide=function(){n._closeDialog()};n._setElementRef=function(e){if(e){n._iframe=e;n._target=n._iframe.contentWindow}else{n._target=null;n._iframe=e}};n._hideOverlay=function(){n.state.hideDialog||n.setState({shareReady:!0})};n._handleMessages=function(e){if(n._target===e.source&&n._targetOrigin===e.origin){var t=JSON.parse(e.data);switch(t.name){case mi.e.Ready:case mi.e.Error:n._onShareReady();break;case mi.e.Resize:n._onResize(t);break;case mi.e.OutlookClicked:case mi.e.Dismiss:n._onDismiss();break;case mi.e.GrantAccessCompleted:n._onGrantAccessCompleted(t);break;case mi.e.ReadyForRecipients:n._onReadyForRecipients();break;case mi.e.ResetMakeVisible:Object(vi.n)();break;default:window.console.log("Unknown message: "+t.name)}}};n._closeDialog=function(){n.setState({hideDialog:!0});n._setQosResult(u.e.ExpectedFailure,"Dialog Canceled")};n._onShareReady=function(){n._hideOverlay();if(n._iframe){n._iframe.focus();n.state.shareEventHandler.onShareReady(n.props.shareCorrelation)}n._setQosResult(u.e.Success,"ShareDialogLoaded")};n._onResize=function(e){if(n._iframe){n._iframe.height=e.height;n._iframe.width=e.width}};n._onGrantAccessCompleted=function(e){n._grantAccessCompleted=!0;if(n.state.recipients){var t=n.state.recipients.map(function(t){return{Id:t.Id,Provider:t.Provider,Status:e.successful?ri.Success:ri.Failed,Reason:""}});n.state.shareEventHandler.onGrantPermissionCompleted(n.state.atMentionMessageId,t,!1)}n._closeDialog()};n._onReadyForRecipients=function(){if(n._target){if(n.state.isAtMention&&n.state.recipients){for(var e=[],t=0,r=n.state.recipients;t<r.length;t++){var i=r[t];e.push(i.Id)}var s={name:mi.e.SendRecipients,recipientIds:e};n._target.postMessage(JSON.stringify(s),n._targetOrigin)}}else 0};n._onDismiss=function(){n._closeDialog();if(n.state.isAtMention&&!n._grantAccessCompleted&&null!==n.state.recipients){var e=n.state.recipients.map(function(e){return{Id:e.Id,Provider:e.Provider,Status:ri.Failed,Reason:""}});n.state.shareEventHandler.onGrantPermissionCompleted(n.state.atMentionMessageId,e,!0)}};n._events=new si.e(n);n.state=Object(s.e)({hideDialog:!1,shareReady:!1},n.props);var r=new B(n.state.shareDialogUrl);n._targetOrigin=r.getLeftPart(A.authority);(function(e,t){void 0===e&&(e=(null===(r=null===(n=ni)||void 0===n?void 0:n.FabricConfig)||void 0===r?void 0:r.iconBaseUrl)||(null===(s=null===(i=ni)||void 0===i?void 0:i.FabricConfig)||void 0===s?void 0:s.fontBaseUrl)||"https://spoppe-b.azureedge.net/files/fabric-cdn-prod_20210407.001/assets/icons/");var n,r,i,s;[Pr,Hr,Br,jr,Fr,Ir,qr,Rr,Ur,zr,Wr,Xr,Vr,$r,Jr,Kr,Qr,Gr,Yr].forEach(function(n){return n(e,t)});Zr()})();return n}t.prototype.render=function(){return Mr.createElement(gi,{getSharingInformation:this.getSharingInformation,getClientId:this.getClientId,initializeShareFrame:this.initializeShareFrame,mode:this.state.mode,resolve:function(){console.log("ShareDialog loaded")},reject:function(){console.log("ShareDialog error")},locale:_n.language||"en-US",itemName:"",onGrantAccessCompleted:this._onGrantAccessCompleted,onReadyForRecipients:this._onReadyForRecipients,setElementRef:this._setElementRef})};t.prototype.componentDidMount=function(){this._events.on(window,"message",this._handleMessages)};t.prototype.componentWillUnmount=function(){this._events.dispose()};t.prototype._initQos=function(){this._qos=new o.e({name:"LoadShareDialog"});var e={name:"LoadShareDialog",resultType:u.e.Failure,resultCode:"Dialog not loaded in time"};this._qos.setTimeout(1e4,e)};t.prototype._setQosResult=function(e,t,n){if(this._qos){this._qos.end({resultType:e,resultCode:t,error:n});this._qos=null}};return t})(Mr.Component),bi=(function(){function e(e){var t=e.parent,n=e.shareEventHandler,r=e.wopiDocContext,i=e.pageContext;this._parent=t;this._initShareDialogUrl({wopiDocContext:r,pageContext:i});this._shareEventHandler=n;this._dialogId=0;this._shareDialogInstance=null;this._contextChanged=!1}e.prototype.handleContextChange=function(e){var t=e.wopiDocContext,n=e.pageContext;this._initShareDialogUrl({wopiDocContext:t,pageContext:n});this._contextChanged=!0};e.prototype.showShareDialog=function(e){var t=this._getShareDialogUrlwithClickTime("".concat(this._shareDialogUrl,"&correlationId=").concat(e.shareCorrelation),e.clickTime);e.nav&&(t="".concat(t,"&nav=").concat(e.nav));e.mode&&(t="".concat(t,"&mode=").concat(e.mode));var n={shareDialogUrl:t,isAtMention:!1,recipients:null,atMentionMessageId:-1,accessChecked:!1,shareCorrelation:e.shareCorrelation,shareEventHandler:this._shareEventHandler,key:this._getDialogKey(),clickTime:e.clickTime,mode:ii.share};if(vi.e){if(this._contextChanged){_r.unmountComponentAtNode(this._parent);this._shareDialogInstance=void 0;this._contextChanged=!1}this.instantLoadShareDialog(e.mode,n,e.nav)}else{var r=Mr.createElement(yi,n);_r.render(r,this._parent)}};e.prototype.showAtMentionDialog=function(e){var t=e.shareCorrelation,n=e.accessChecked?"true":"false",r={shareDialogUrl:this._getShareDialogUrlwithClickTime("".concat(this._shareDialogUrl,"&correlationId=").concat(t,"&mode=atMention&accessChecked=").concat(n),e.clickTime),isAtMention:!0,recipients:e.recipients,atMentionMessageId:e.atMentionMessageId,accessChecked:e.accessChecked,shareCorrelation:t,shareEventHandler:this._shareEventHandler,key:this._getDialogKey(),clickTime:e.clickTime,mode:ii.share};if(vi.e){if(this._contextChanged){_r.unmountComponentAtNode(this._parent);this._shareDialogInstance=void 0;this._contextChanged=!1}this.instantLoadShareDialog("atMention",r)}else{var i=Mr.createElement(yi,r);_r.render(i,this._parent)}};e.prototype.instantLoadShareDialog=function(e,t,n){if(this._shareDialogInstance){this._shareDialogInstance.setNewState(t);var r=Object(vi.t)();if(r){r({name:mi.e.MakeVisible,mode:e,clickTime:t.clickTime,navId:n})}}else this._shareDialogInstance=_r.render(Mr.createElement(yi,Object(s.e)({},t)),this._parent)};e.prototype._initShareDialogUrl=function(e){var t=e.wopiDocContext,n=t.ListId,r=t.ListItemId,i=t.SessionId,s=t.FileName,o=e.pageContext,u=o.webAbsoluteUrl,a=o.layoutsUrl;this._shareDialogUrl=u+"/"+a+"/sharedialog.aspx?clientId=Wac&listId="+n+"&listItemId="+r+"&hostSessionId="+i;s&&(this._shareDialogUrl="".concat(this._shareDialogUrl,"&itemName=").concat(encodeURIComponent(s)))};e.prototype._getDialogKey=function(){var e=this._dialogId.toString();this._dialogId=(this._dialogId+1)%1e4;return e};e.prototype._getShareDialogUrlwithClickTime=function(e,t){if(e.indexOf("clickTime=")<0)return"".concat(e,"&clickTime=").concat(t)};return e})();var wi,Ei,Si=n(151);(function(e){e[e.sameSite=0]="sameSite";e[e.crossSite=1]="crossSite";e[e.unknown=2]="unknown"})(wi||(wi={}));(function(e){e[e.sameGeo=0]="sameGeo";e[e.crossGeo=1]="crossGeo";e[e.unknown=2]="unknown"})(Ei||(Ei={}));var xi=(function(){function e(e){var t=e.defaultFullWebUrl,n=e.defaultListUrl,r=e.multiGeoInfo,i=e.options,s=void 0===i?{}:i,o=s.path,u=void 0===o?void 0:o,a=s.listUrl,f=void 0===a?void 0:a,l=s.webUrl,c=void 0===l?void 0:l,h=s.mayInferListUrl,p=void 0!==h&&h;this._rawPath=u||void 0;this._rawListUrl=f||void 0;this._rawWebUrl=c||void 0;this.defaultFullWebUrl=Ni(t||void 0);this.defaultListUrl=Ni(n||void 0);this.multiGeoInfo=r;this.mayInferListUrl=p}Object.defineProperty(e.prototype,"serverRelativeItemUrl",{get:function(){return Ti(this._getServerRelativeItemUrl())},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"serverRelativeListUrl",{get:function(){return Ti(this._getServerRelativeListUrl())},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"fullListUrl",{get:function(){return this._getFullListUrl()},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"normalizedListUrl",{get:function(){return Ti(this._getNormalizedListUrl())},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"fullItemUrl",{get:function(){return this._getFullItemUrl()},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"normalizedItemUrl",{get:function(){return Ti(this._getNormalizedItemUrl())},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"listRelativeItemUrl",{get:function(){return this._getListRelativeItemUrl()},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"webRelativeItemUrl",{get:function(){return this._getWebRelativeItemUrl()},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"fullWebUrl",{get:function(){return this._getFullWebUrl()},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"normalizedWebUrl",{get:function(){return Ti(this._getNormalizedWebUrl())},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"serverRelativeWebUrl",{get:function(){return Ti(this._getServerRelativeWebUrl())},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"isCrossDomain",{get:function(){return this._getIsCrossDomain()},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"isCrossList",{get:function(){return this._getIsCrossList()},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"siteRelation",{get:function(){return this._getSiteRelation()},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"geoRelation",{get:function(){return this._getGeoRelation()},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"path",{get:function(){return this._getPath()},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"listUrl",{get:function(){return this._getListUrl()},enumerable:!1,configurable:!0});Object.defineProperty(e.prototype,"webUrl",{get:function(){return this._getWebUrl()},enumerable:!1,configurable:!0});e.prototype._getPath=function(){var e,t=this._rawPath;if(t)if("/"===t[0]||t.indexOf("://")>-1)e=Ni(t);else{var n=this._getListUrl()||this.defaultListUrl;n&&(e="".concat(n,"/").concat(t))}this._getPath=function(){return e};return e};e.prototype._getListUrl=function(){var e,t=this._rawListUrl;if(t)if("/"===t[0]||t.indexOf("://")>-1)e=Ni(t);else{var n=this._getWebUrl()||this.defaultFullWebUrl;n&&(e="".concat(n,"/").concat(t))}this._getListUrl=function(){return e};return e};e.prototype._getWebUrl=function(){var e,t=this._rawWebUrl;t&&(e="/"===t[0]||t.indexOf("://")>-1?Ni(t):"".concat(this.defaultFullWebUrl,"/").concat(t));this._getWebUrl=function(){return e};return e};e.prototype._getCurrentAuthority=function(){var e=new F(this.defaultFullWebUrl).authority;this._getCurrentAuthority=function(){return e};return e};e.prototype._getNormalizedWebUrl=function(){var e,t=this._getFullWebUrl(),n=this.defaultFullWebUrl;if(void 0!==t&&!Object(O.t)(t,n)){var r=new F(t);e=Object(O.t)(r.authority,this._getCurrentAuthority())?r.path:t}this._getNormalizedItemUrl=function(){return e};return e};e.prototype._getNormalizedItemUrl=function(){var e,t=this._getFullItemUrl();if(void 0!==t){var n=new F(t);e=Object(O.t)(n.authority,this._getCurrentAuthority())?n.path:t}this._getNormalizedItemUrl=function(){return e};return e};e.prototype._getNormalizedListUrl=function(){var e,t=this._getFullListUrl(),n=this._getDefaultListUrl();void 0===t||Object(O.t)(t,n)||(e=Object(O.t)(new F(t).authority,this._getCurrentAuthority())?this._getServerRelativeListUrl():t);this._getNormalizedListUrl=function(){return e};return e};e.prototype._getServerUrl=function(){var e=this.path&&new F(this.path).authority||this.listUrl&&new F(this.listUrl).authority||this.webUrl&&new F(this.webUrl).authority||this.defaultListUrl&&new F(this.defaultListUrl).authority||new F(this.defaultFullWebUrl).authority;this._getServerUrl=function(){return e};return e};e.prototype._getServerRelativeListUrl=function(){var e;if(void 0!==this.listUrl)e=new F(this.listUrl).path;else{var t=this._getDefaultListUrl(),n=this.mayInferListUrl;if(void 0!==t||n){var r=this._getServerRelativePath(),i=new F(t).path;if(void 0===r&&(void 0===this.webUrl||i&&Li(ki(i),ki(this._getServerRelativeWebUrl())))||i&&Li(ki(r),ki(i)))e=i;else if(void 0!==r&&(""===this.defaultListUrl||n)){var s=this._getServerRelativeWebUrl();if(Li(ki(r),ki(s))){var o=new F(r).segments[new F(s).segments.length];e="".concat(ki(s)).concat(o)}}}}this._getServerRelativeListUrl=function(){return e};return e};e.prototype._getFullListUrl=function(){var e,t=this._getServerUrl(),n=this._getServerRelativeListUrl();void 0!==n&&(e="".concat(t).concat(n));return e};e.prototype._getFullItemUrl=function(){var e,t=this._getServerUrl(),n=this._getServerRelativeItemUrl();void 0!==n&&(e="".concat(t).concat(n));this._getFullItemUrl=function(){return e};return e};e.prototype._getServerRelativeWebUrl=function(){var e,t;if(void 0!==this.webUrl)e=new F(this.webUrl).path;else if(!this.defaultListUrl&&!this.listUrl||this.mayInferListUrl||void 0===(t=this._getServerRelativeListUrl()))this.defaultFullWebUrl&&(e=new F(this.defaultFullWebUrl).path);else{var n=new F(t);e="".concat(n.segments.slice(0,-1).join("/"))}this._getServerRelativeWebUrl=function(){return e};return e};e.prototype._getServerRelativePath=function(){var e;void 0!==this.path&&(e=new F(this.path).path);this._getServerRelativePath=function(){return e};return e};e.prototype._getServerRelativeItemUrl=function(){var e;this.path||this._rawPath?e=this._getServerRelativePath():this.listUrl?e=this._getServerRelativeListUrl():this.webUrl?e=this._getServerRelativeWebUrl():this.defaultListUrl?e=this._getServerRelativeListUrl():this.defaultFullWebUrl&&(e=this._getServerRelativeWebUrl());this._getServerRelativeItemUrl=function(){return e};return e};e.prototype._getListRelativeItemUrl=function(){var e,t,n=this._getServerRelativePath(),r=this._getServerRelativeListUrl();void 0!==this.path&&void 0!==r&&Li(ki(n),t=ki(r))&&(e=n&&n.substring(t.length));this._getListRelativeItemUrl=function(){return e};return e};e.prototype._getWebRelativeItemUrl=function(){var e,t,n=this._getServerRelativePath(),r=this._getServerRelativeWebUrl();void 0!==this.path&&void 0!==r&&Li(ki(n),t=ki(r))&&(e=n&&n.substring(t.length));this._getWebRelativeItemUrl=function(){return e};return e};e.prototype._getDefaultListUrl=function(){var e;void 0!==this.defaultListUrl&&(e=new F(this.defaultListUrl).authority?this.defaultListUrl:"".concat(this._getCurrentAuthority()).concat(this.defaultListUrl));this._getDefaultListUrl=function(){return e};return e};e.prototype._getIsCrossDomain=function(){var e=this._getCurrentAuthority(),t=!Object(O.t)(new F(this._getServerUrl()).authority,e);this._getIsCrossDomain=function(){return t};return t};e.prototype._getIsCrossList=function(){var e=this._getFullListUrl(),t=this._getDefaultListUrl(),n=!Object(O.t)(e,t);this._getIsCrossList=function(){return n};return n};e.prototype._getSiteRelation=function(){var e=wi.unknown;if(this._getIsCrossDomain())e=wi.crossSite;else if(void 0!==this.webUrl)e=Object(O.t)(Ci(this.defaultFullWebUrl),Ci(this._getFullWebUrl()))?wi.sameSite:wi.crossSite;else{var t=new F(this.defaultFullWebUrl).path,n=this._getServerRelativeListUrl()||this._getServerRelativePath();if(void 0!==n)if(Li(ki(n),ki(t))){var r=new F(Ci(n)),i=new F(Ci(t));e=r.segments.length-1===i.segments.length||r.segments.length-2===i.segments.length&&"Lists"===r.segments[r.segments.length-2]?wi.sameSite:wi.unknown}else e=wi.crossSite}this._getSiteRelation=function(){return e};return e};e.prototype._getFullWebUrl=function(){var e,t=this._getServerUrl(),n=this._getServerRelativeWebUrl();void 0!==n&&(e="".concat(t).concat(n));this._getFullWebUrl=function(){return e};return e};e.prototype._getGeoRelation=function(){if(!this._getIsCrossDomain())return Ei.sameGeo;var e=new F(this._getServerUrl()).authority;if(!e)return Ei.unknown;var t=this._getCurrentGeo();if(!t)return Ei.unknown;var n=this._getGeoByAuthority()[e.toUpperCase()];return n?Object(O.t)(n,t)?Ei.sameGeo:Ei.crossGeo:Ei.unknown};e.prototype._getGeoByAuthority=function(){var e={},t={};function n(n,r,i){var s=new F(n).authority.toUpperCase();!i&&t[s]||(e[s]=r);i&&(t[s]=!0)}if(this.multiGeoInfo)for(var r=0,i=this.multiGeoInfo;r<i.length;r++){var s=i[r],o=s.InstanceId,u=s.IsDefaultDataLocation;n(s.MySiteHostUrl,o,u);n(s.PortalUrl,o,u);n(s.RootSiteUrl,o,u);n(s.TenantAdminUrl,o,u);if(s.AdditionalUrls)for(var a=0,f=s.AdditionalUrls;a<f.length;a++){n(f[a],o,u)}}this._getGeoByAuthority=function(){return e};return e};e.prototype._getCurrentGeo=function(){var e=this._getCurrentAuthority();if(e){var t=this._getGeoByAuthority()[e.toUpperCase()];this._getCurrentGeo=function(){return t};return t}};return e})();function Ti(e){return""===e?"/":e}function Ni(e){return"/"===e?"/":e}function Ci(e){void 0===e&&(e="");return"/"===e[e.length-1]?e.substring(0,e.length-1):e}function ki(e){void 0===e&&(e="");return"/"===e[e.length-1]?e:"".concat(e,"/")}function Li(e,t){var n=e.toUpperCase(),r=t&&t.toUpperCase();return n.substring(0,r&&r.length||0)===r}var Ai=(function(){function e(e){var t=e.context,n=e.itemUrlPartsType,r=void 0===n?xi:n;this.itemUrlPartsType=r;this.itemUrlContext=t}e.prototype.getUrlParts=function(e){var t=this.itemUrlContext,n=t.webAbsoluteUrl,r=t.listUrl,i=t.multiGeoInfo;return new this.itemUrlPartsType({defaultFullWebUrl:n,defaultListUrl:r,multiGeoInfo:i,options:e})};return e})(),Oi=n(61);function Mi(e){var t=new F(e);return"".concat(t.authority).concat(t.segments.map(function(e){return decodeURIComponent(e)}).join("/"))}var _i,Di=N.t.isActivated("14C6BE89-1F8B-4086-882E-D935FE227750","3/8/2021","Use built-in strings from File Picker"),Pi=N.t.isActivated("CD806F05-9AB4-4A8C-8062-94E072FC6920","10/4/2021","Force auofocus on first otem in the list for filepicker"),Hi=di(function(){return Object(s.t)(void 0,void 0,void 0,function(){return Object(s.r)(this,function(e){switch(e.label){case 0:return[4,n.ee(1,288)];case 1:return[2,e.sent().Sdk80FilePickerHostModal]}})})}),Bi=(_i=Hi,function(e){var t=e.pageContext,n=Object(s.i)(e,["pageContext"]),r=t.webAbsoluteUrl,i=t.layoutsUrl,o="".concat(r,"/").concat(i,"/FilePicker.aspx");return Mr.createElement(_i,Object(s.e)({},n,{pickerPageUrl:o}))}),ji=0,Fi=(function(){function e(e){var t;this._parent=e.parent;this._pickerEventHandler=e.pickerEventHandler;this._clientName=e.clientName;this._webUrl=e.webUrl;this._parentFolderUrl=null!==(t=e.parentFolderUrl)&&void 0!==t?t:void 0;this._listId=e.listId;this._listItemId=e.listItemId;this._layoutsUrl=e.layoutsUrl;this._itemUrlHelper=new Ai({context:{webAbsoluteUrl:this._webUrl}})}e.prototype.showFilePickerDialog=function(e){var t=this,n=e.wdUserSession,r=e.pickerCustomization,i=void 0===r?{}:r,a=i.allowFileSelection,f=i.allowFolderSelection,l=i.allowMultiSelect,c=i.allowPhoneLink,h=i.allowYourPhone,p=i.displayCrossSite,d=i.fileTypeFilter,v=i.selectButtonText,m=i.titleText,g=i.scenario,y=i.landingLocation,b=void 0===y?"currentFolder":y,w=i.myFilesSpecifiedFolder,E=i.includeDownloadUrl,S=void 0!==E&&E,x=i.theme,T=void 0===x?"default":x,C=new o.e({name:"WAC.PickerDialogHost.showFilePicker.".concat(g)}),k=Object(s.e)(Object(s.e)(Object(s.e)({typesAndSources:Object(s.e)(Object(s.e)({mode:a&&f?"all":f?"folders":"files",pivots:Object(s.e)(Object(s.e)(Object(s.e)({recent:!1},!N.e.isActivated("04AC4C76-5825-439B-BCF6-6265B88F5DAC","03/15/2022","Allow Recent pivot in WAC Picker for Files")&&a||"recent"===b||"Recent"===b?{recent:!0}:{}),c||h?{phoneLink:!0}:{}),p?{}:{oneDrive:!1,sharedLibraries:!1})},p?{}:{locations:{sharePoint:{byPath:{web:this._webUrl}}}}),d?{filters:d}:{}),selection:{mode:f&&!a?"pick":l?"multiple":"single"},entry:Object(s.e)({},"myFiles"===b||"MyFiles"===b?{oneDrive:Object(s.e)({},w?{files:{folder:w,fallbackToRoot:!0}}:{})}:"recent"===b||"Recent"===b?{oneDrive:{recent:{}}}:!c&&!h||"phoneLink"!==b&&"PhoneLink"!==b&&"yourPhone"!==b&&"YourPhone"!==b?{sharePoint:Object(s.e)({},!this._currentFolderUrl&&this._listId?{byId:{listId:this._listId}}:{byPath:{web:this._webUrl,folder:this._currentFolderUrl||this._parentFolderUrl,fallbackToRoot:!0}})}:{oneDrive:{phoneLink:{}}}),commands:Object(s.e)({pick:{label:v,select:{urls:Object(s.e)({},S?{download:!0}:{})}}},N.e.isActivated("7C9EDC78-FB36-4476-B8A9-D8C6CDF81D06","10/11/2021","Disable Upload in the WAC File Picker")?{upload:{enabled:!1}}:{}),accessibility:Object(s.e)({},Pi?{}:{showFocusOnLoad:!0}),telemetry:{sessionId:n}},"dark"===T||"Dark"===T?{theme:"dark"}:T&&"object"==typeof T?{theme:T}:{}),{title:m}),En(vn)?{search:{enabled:!0}}:{});_r.render(Mr.createElement(Bi,{app:this._clientName,scenario:g||"CommonFilePicker",options:k,pageContext:{webAbsoluteUrl:this._webUrl,layoutsUrl:this._layoutsUrl},onPick:function(e){return Object(s.t)(t,void 0,void 0,function(){var t,r;return Object(s.r)(this,function(i){t=e.items;r=t.map(function(e){return(function(e){var t,n=e.id,r=void 0===n?"root":n,i=e.name,s=e.image,o=void 0===s?{}:s,u=o.width,a=o.height,f=e.parentReference,l=void 0===f?{}:f,c=l.driveId,h=void 0===c?"me":c,p=l.sharepointIds,d=(void 0===p?{}:p).siteUrl,v=void 0===d?"":d,m=e.description,g=e.folder,y=e["@content.downloadUrl"],b=e.webDavUrl,w=void 0===b?"":b;if(i&&!g){var E=i.lastIndexOf(".");t=E>-1?i.slice(E):""}return{id:r,driveId:h,description:m,downloadUrl:y,siteUrl:v,url:w,type:g?"Folder":"File",name:i,extension:t,imageWidth:u,imageHeight:a}})(e)});this._pickerEventHandler.onItemsPicked({wdUserSession:n,selectedItems:r});C.end({resultType:u.e.Success,resultCode:"ItemsPicked"});_r.unmountComponentAtNode(this._parent);return[2]})})},onClose:function(e){return Object(s.t)(t,void 0,void 0,function(){var t,r,i;return Object(s.r)(this,function(s){t=e.error;N.e.isActivated("92020296-072F-40B1-A74B-31221E1B6214","12/9/2021","Send error code, not message, to WAC host")||t instanceof fi.e&&(r=t.code);i=r||t.message||"Unknown";this._pickerEventHandler.onItemsPicked({wdUserSession:n,error:i});C.end(Object(Oi.e)(t));_r.unmountComponentAtNode(this._parent);return[2]})})},onLoad:function(){t._pickerEventHandler.onPickerReady({wdUserSession:n})},key:"picker-".concat(++ji)}),this._parent)};e.prototype.showMoveDialog=function(e){var t=this,n=e.wdUserSession,r=e.supportsCrossSiteMove,i=e.pickerCustomization,a=(void 0===i?{}:i).theme,f=void 0===a?"default":a,l=new o.e({name:"WAC.PickerDialogHost.showMoveDialog"}),c=Object(s.e)(Object(s.e)(Object(s.e)({typesAndSources:{mode:"folders",pivots:Object(s.e)({recent:!1},r?{}:{oneDrive:!1,sharedLibraries:!1})},selection:{mode:"pick"},entry:{sharePoint:{byPath:{web:this._webUrl,folder:this._currentFolderUrl||this._parentFolderUrl}}},commands:Object(s.e)({pick:Object(s.e)(Object(s.e)({action:"move"},Di?{label:Si.e}:{}),{move:{sourceItems:[{parentReference:{sharepointIds:{listId:this._listId,siteUrl:this._webUrl}},sharepointIds:{listItemId:this._listItemId}}]}})},N.e.isActivated("7C9EDC78-FB36-4476-B8A9-D8C6CDF81D06","10/11/2021","Disable Upload in the WAC File Picker")?{}:{upload:{enabled:!1}}),accessibility:Object(s.e)({},Pi?{}:{showFocusOnLoad:!0}),telemetry:{sessionId:n}},"Dark"===f?{theme:"dark"}:f&&"object"==typeof f?{theme:f}:{}),Di?{title:Si.t}:{}),En(vn)?{search:{enabled:!0}}:{});_r.render(Mr.createElement(Bi,{app:this._clientName,scenario:"MoveToFolder",options:c,pageContext:{webAbsoluteUrl:this._webUrl,layoutsUrl:this._layoutsUrl},onPick:function(e){return Object(s.t)(t,void 0,void 0,function(){var t,r,i,o,a,f,c,h,p,d;return Object(s.r)(this,function(s){t=e.items[0];r=t.webDavUrl,i=t.webUrl,o=t["@sharePoint.listUrl"];a=r?Mi(r):void 0;f=o?Mi(o):void 0;c=r?new j.e(a):void 0;h=this._itemUrlHelper.getUrlParts({listUrl:f,path:a});p=h.siteRelation===wi.crossSite;this._pickerEventHandler.onItemMoved({wdUserSession:n,isMoveSuccessful:!0,isCrossSiteMove:p,updatedDocumentUrl:p?i:void 0});if(!p){d=c?"".concat(c.authority).concat(c.segments.slice(0,-1).join("/")):void 0;this._currentFolderUrl=d}l.end({resultType:u.e.Success,resultCode:"ItemMoved.".concat(p?"CrossSite":"SameSite")});_r.unmountComponentAtNode(this._parent);return[2]})})},onClose:function(e){return Object(s.t)(t,void 0,void 0,function(){return Object(s.r)(this,function(t){l.end(Object(Oi.e)(e.error));_r.unmountComponentAtNode(this._parent);return[2]})})},onLoad:function(){t._pickerEventHandler.onPickerReady({wdUserSession:n})},key:"picker-".concat(++ji)}),this._parent)};return e})();function Ii(e,t){void 0===t&&(t=!1);var n=new Date(e),r=n.getTimezoneOffset()<0,i=n.getFullYear()+"",s=Object(O.i)(n.getMonth()+1+"",2),o=Object(O.i)(n.getDate()+"",2),u=Object(O.i)(n.getHours()+"",2),a=Object(O.i)(n.getMinutes()+"",2),f=Object(O.i)(n.getSeconds()+"",2),l=(r?"+":"-")+Object(O.i)(r?(Math.ceil(n.getTimezoneOffset()/60)+"").replace("-",""):Math.floor(n.getTimezoneOffset()/60)+"",2)+Object(O.i)((n.getTimezoneOffset()%60).toString().replace("-",""),2);return t?i+"-"+s+"-"+o+"T"+u+":"+a+":"+f+l:i+s+o+"T"+u+a+f+l}var qi=(function(e){Object(s.n)(t,e);function t(){return null!==e&&e.apply(this,arguments)||this}return t})(xi),Ri=(function(e){Object(s.n)(t,e);function t(t,n){var r=n.itemUrlPartsType,i=void 0===r?qi:r;return e.call(this,{context:n.pageContext,itemUrlPartsType:i})||this}t.prototype.getUrlParts=function(t){return e.prototype.getUrlParts.call(this,t)};t.prototype.getItemUrlParts=function(e){var t=Object(en.e)(e);return this.getUrlParts({path:t.id,listUrl:t.listurl})};return t})(Ai),Ui=(function(e){Object(s.n)(t,e);function t(t,n){var r=e.call(this,{webAbsoluteUrl:n.pageContext.webAbsoluteUrl,encodeWebAbsoluteUrl:n.encodeWebAbsoluteUrl})||this;r._pageContext=n.pageContext;r._shouldEncodeWebAbsoluteUrl=n.encodeWebAbsoluteUrl;r._itemUrlHelper=n.itemUrlHelper;return r}t.prototype.webByUrl=function(e){return this.webByItemUrl(this._itemUrlHelper.getUrlParts(e))};t.prototype.webByItemUrl=function(e){var t=e.siteRelation,n=e.isCrossDomain,r=e.fullItemUrl,i=this;(n||t===wi.crossSite)&&(i=i.method("SP.RemoteWeb",r));return i.segment("web")};t.prototype.listById=function(e,t){return this.webByItemUrl(e).segment("lists").method("GetById",t)};t.prototype.clone=function(){return new t({webAbsoluteUrl:this._pageContext.webAbsoluteUrl},{pageContext:this._pageContext,itemUrlHelper:this._itemUrlHelper,encodeWebAbsoluteUrl:this._shouldEncodeWebAbsoluteUrl})};return t})(kr),zi=(function(e){Object(s.n)(t,e);function t(t,n){var r=e.call(this,{webAbsoluteUrl:n&&n.pageContext?n.pageContext.webAbsoluteUrl:"",encodeWebAbsoluteUrl:n.encodeWebAbsoluteUrl})||this,i=n.itemUrlHelper,o=n.pageContext,u=n.encodeWebAbsoluteUrl,a=n.apiUrlType,f=void 0===a?(function(e){Object(s.n)(t,e);function t(){return e.call(this,{},{itemUrlHelper:i,pageContext:o,encodeWebAbsoluteUrl:u})||this}return t})(Ui):a;r._apiUrlType=f;return r}t.prototype.build=function(){return new this._apiUrlType};return t})(Lr);var Wi=Object(ht.e)({eventName:"Api,Qos,",shortEventName:"Api"},{url:m.e.String,privacyClassification:{isPrefixingDisabled:!0,type:m.e.String}},o.e).withData({privacyClassification:m.t.requiredService}),Xi=Object(v.e)({eventName:"Engagement,",shortEventName:"Engagement"},{name:{isKey:!0,isPrefixingDisabled:!0,type:m.e.String},isIntentional:{isPrefixingDisabled:!0,type:m.e.Boolean},scenario:{isPrefixingDisabled:!0,type:m.e.String},location:{isPrefixingDisabled:!0,type:m.e.String},usageType:{isPrefixingDisabled:!0,type:m.e.String},currentPage:{isPrefixingDisabled:!0,type:m.e.String},previousPage:{isPrefixingDisabled:!0,type:m.e.String},experiment:{isPrefixingDisabled:!0,type:m.e.Object},siteId:{isPrefixingDisabled:!0,type:m.e.String},webId:{isPrefixingDisabled:!0,type:m.e.String},listId:{isPrefixingDisabled:!0,type:m.e.String},groupId:{isPrefixingDisabled:!0,type:m.e.String},docId:{isPrefixingDisabled:!0,type:m.e.String},webTemplateId:{isPrefixingDisabled:!0,type:m.e.String},listTemplateId:{isPrefixingDisabled:!0,type:m.e.String},siteType:{isPrefixingDisabled:!0,type:m.e.String},feature:{isPrefixingDisabled:!0,type:m.e.String},component:{isPrefixingDisabled:!0,type:m.e.String},extraData:m.e.Object,objectType:{isPrefixingDisabled:!0,type:m.e.String},datasource:{isPrefixingDisabled:!0,type:m.e.String},action:{isPrefixingDisabled:!0,type:m.e.String},privacyClassification:{isPrefixingDisabled:!0,type:m.e.String}}).withData({privacyClassification:m.t.optionalDiagnostic,privacyDataTypes:["browsingHistory"]});function Vi(e,t,n){var r,i,s,o,u,a,f,l=n||window;if(!(l&&l.performance&&e&&t))return{duration:-1};try{var c=performance.getEntriesByType("resource");if(!new j.e(e).authority){e=(l.location&&new j.e(l.location.href).authority)+e}for(var h=void 0,p=c.length-1;p>=0;p--){var d=c[p];if(d.startTime<t)break;decodeURIComponent(d.name)===decodeURIComponent(e)&&(h=d)}if(h){return i=(r=h).connectEnd,s=r.connectStart,o=r.decodedBodySize,u=r.domainLookupend,a=r.domainLookupStart,f=r.duration,{connectEnd:i,connectStart:s,decodedBodySize:o,domainLookupend:u,domainLookupStart:a,duration:void 0===f?-1:f,encodedBodySize:r.encodedBodySize,fetchStart:r.fetchStart,nextHopProtocol:r.nextHopProtocol,redirectEnd:r.redirectEnd,redirectStart:r.redirectStart,requestStart:r.requestStart,responseEnd:r.responseEnd,responseStart:r.responseStart,secureConnectionStart:r.secureConnectionStart,startTime:r.startTime,transferSize:r.transferSize,workerStart:r.workerStart}}return{duration:-1}}catch(e){return{duration:-1}}}var $i=(function(e){Object(s.n)(t,e);function t(n){var r=this,i=n.errorData,o=void 0===i?n.innerError instanceof t&&n.innerError.errorData||{status:0}:i,u=o.message,a=void 0===u?void 0:u,f=o.correlationId,l=void 0===f?void 0:f,c=o.code,h=void 0===c?void 0:c,p=Object(s.i)(o,["message","correlationId","code"]),d="object"==typeof a?a?"string"==typeof a.value?a.value:JSON.stringify(a):"".concat(a):a,v=Object(s.e)(Object(s.e)(Object(s.e)(Object(s.e)(Object(s.e)({},"string"==typeof l?{correlationId:l}:{}),"string"==typeof h?{code:h}:{}),"string"==typeof d?{message:d}:{}),n),{extraData:Object(s.e)(Object(s.e)({},n.extraData||{}),{hasAuthChallenge:!!p.authenticate,status:p.status,infected:p.infected,groupThrottle:p.groupThrottle,statusText:p.statusText})});(r=e.call(this,v)||this).name="GetDataError";r.errorData=o;for(var m=0,g=Object.keys(p);m<g.length;m++){var y=g[m];r[y]=p[y]}return r}return t})(fi.e);var Ji=(function(){function e(e,t,n){this._request=e;this._url=t;this._webAbsoluteUrl=n&&n.webAbsoluteUrl;this._isCanaryRequest=n&&n.isCanaryRequest}e.prototype.getSourceUrl=function(){return this._url};e.prototype.getXSPOErrorMessage=function(){return this.getResponseHeader("x-spo-errormessage")};e.prototype.getAllResponseHeaders=function(){return this._request.getAllResponseHeaders()};e.prototype.getCorrelationId=function(){return this.getResponseHeader("SPRequestGuid")};e.prototype.getServerDuration=function(){return this._getNumberHeader("SPClientServiceRequestDuration")};e.prototype.getSQLRT=function(){return this._getNumberHeader("SPSQLQueryCount")};e.prototype.getGroupThrottle=function(){return this.getResponseHeader("SPGroupThrottle")};e.prototype.getAuthErrorType=function(){return this.getResponseHeader("x-ms-diagnostics")};e.prototype.getMSCorrelationVector=function(){return this.getResponseHeader("MS-CV")};e.prototype.getServiceWorkerDataSourceHeader=function(){return this.getResponseHeader("X-SERVICEWORKER-DATA-SOURCE")};e.prototype.getServiceWorkerFetchInfoFromHeader=function(){return this.getResponseHeader("X-ServiceWorkerFetchInfo")};e.prototype.getRetryAfterHeader=function(){return this._getNumberHeader("Retry-After")};e.prototype.getStatus=function(){var e=-1;try{e=this._request.status}catch(e){}return"number"==typeof e?e:-1};e.prototype.getAuthenticationRedirect=function(){return this.getResponseHeader("X-Forms_Based_Auth_Required")};e.prototype.getFBAError=function(){return this.getResponseHeader("X-MSDAVEXT_Error")};e.prototype.getAuthenticateHeader=function(){return this.getResponseHeader("WWW-Authenticate")};e.prototype.getResponseType=function(){return this._request.responseType};e.prototype.getResponseText=function(){return this._request.responseType&&"text"!==this._request.responseType?this._request.response:this._request.responseText};e.prototype.getErrorResponseText=function(){if("blob"===this._request.responseType){return{status:this._request.status,statusText:this._request.statusText,infected:!!this.getResponseHeader("x-virus-infected"),authenticate:this.getResponseHeader("WWW-Authenticate")}}return this.getResponseText()};e.prototype.parseError=function(){var e=this,t=new qn;this._request.responseType&&"text"!==this._request.responseType?"blob"===this._request.responseType?(function(e){var t,n=new qn,r=function(){if(t.result){var e=void 0;try{e=JSON.parse(t.result);n.complete(e)}catch(e){n.complete({message:"Unable to parse blob result."})}}},i=function(){n.complete({message:"Unable to read blob error response."})};try{(t=new FileReader).addEventListener("load",r);t.addEventListener("error",i);t.readAsText(e)}catch(e){i()}return n.getPromise().then(function(e){if(t){t.removeEventListener("load",r);t.removeEventListener("error",i)}return e})})(this._request.response).then(function(n){var r={data:n,status:e.getStatus(),statusText:e._request.statusText,infected:!!e.getResponseHeader("x-virus-infected"),authenticate:e.getResponseHeader("WWW-Authenticate")};t.complete(r)}):t.complete(this._request.response):t.complete(this._request.responseText);return t.getPromise()};e.prototype.getValue=function(t){var n;switch(t){case e.DataValueKeys.SourceURL:n=this.getSourceUrl();break;case e.DataValueKeys.CorrelationId:n=this.getCorrelationId();break;case e.DataValueKeys.Status:n=this.getStatus();break;case e.DataValueKeys.AuthenticationRedirect:n=this.getAuthenticationRedirect();break;case e.DataValueKeys.ResponseText:n=this.getResponseText();break;case e.DataValueKeys.ErrorResponseText:n=this.getErrorResponseText()}return n};e.prototype.getRedirectUrl=function(){var e=N.t.isActivated("3FBEEB53-441C-4A84-82FC-C8221FCC50D8","02/11/2021","redirect url when access denied");if(this._isCanaryRequest)return 403===this.getStatus()?this.shouldRedirectToErrorCustomPromptLocation()?this.getRedirectToErrorCustomPromptLocation():this.getRedirectLoginPageUrl():this.getAccessDeniedRedirectUrl();if(403===this.getStatus()){if(this.shouldRedirectToErrorCustomPromptLocation())return this.getRedirectToErrorCustomPromptLocation();if(!e)return this.getRedirectLoginPageUrl()}else if(401===this.getStatus()){if(this.shouldRedirectToErrorCustomPromptLocation())return this.getRedirectToErrorCustomPromptLocation();if(!e)return this.getRedirectLoginPageUrl()}};e.prototype.getRedirectLoginPageUrl=function(){var e,t=this.getAuthenticationRedirect();if(t){var n=new B(t);n.setQueryParameter("ReturnUrl",Cr.encodeURIComponent(window.location.href));e=n.toString()}return e};e.prototype.getAccessDeniedRedirectUrl=function(){var e;if(this._webAbsoluteUrl){var t=this._webAbsoluteUrl+"/_layouts/15/AccessDenied.aspx";if(t){var n=new B(t);n.setQueryParameter("Source",Cr.encodeURIComponent(window.location.href));n.setQueryParameter("Type","list");n.setQueryParameter("correlation",Cr.encodeURIComponent(this.getCorrelationId()));e=n.toString()}}return e};e.prototype.getRedirectToErrorCustomPromptLocation=function(){var e=this.getResponseHeader("X-SPO-ErrorCustomPromptLocation"),t=new B(e);t.setQueryParameter("ReturnUrl",window.location.href);return t.toString()};e.prototype.shouldRedirectToErrorCustomPromptLocation=function(){var e=this.getResponseHeader("X-SPO-ErrorCode"),t=this.getResponseHeader("sharepointerror");return"9.3"===e||"-2130575129"===t};e.prototype.getResponseHeadersDictionary=function(){var e={},t=this.getAllResponseHeaders();if(t){var n=t.trim().split(/[\r\n]+/);n&&n.length>0&&n.forEach(function(t){var n=t.split(": "),r=n.shift(),i=n.join(": ");e[r]=i})}this.getResponseHeadersDictionary=function(){return e};return e};e.prototype.getResponseHeader=function(e){var t=this.getResponseHeadersDictionary();return t[e.toLowerCase()]||t[e]||this._request.getResponseHeader(e)};e.prototype._getNumberHeader=function(e){var t=this.getResponseHeader(e),n=Number(t);return isNaN(n)?void 0:n};e.DataValueKeys={SourceURL:"SourceUrl",CorrelationId:"CorrelationId",Status:"Status",AuthenticationRedirect:"AuthenticationRedirect",ResponseText:"ResponseText",ErrorResponseText:"ErrorResponseText",GroupThrottle:"GroupThrottle"};return e})(),Ki=(function(e){Object(s.n)(t,e);function t(){return null!==e&&e.apply(this,arguments)||this}t.prototype.attached=function(e){var t=this,n=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return t.attach(e.apply(this,n)||this)};n.prototype=e.prototype;return n};return t})(n(81).e);var Qi=(function(){function e(e){void 0===e&&(e={});this._scope=new Ki;this._events=this._scope.attach(new rt(this));var t=e.webAbsoluteUrl||e.webUrl;this._webServerRelativeUrl=e.webServerRelativeUrl||t&&new B(t).getPath();"/"===this._webServerRelativeUrl&&(this._webServerRelativeUrl="");if(t){this._webAbsoluteUrl=t;this._alwaysGetDigest=!0}else this._alwaysGetDigest=!1;this._needsRequestDigest=!1!==e.needsRequestDigest;this._needsRequestDigest&&this._tryLoadDigest(e.formDigest);this._requestCanaryForAuth=!1;this._engagement=e.engagement;this._operationName=e.operationName}e._isValidFormDigest=function(e){return e&&e.serverTime&&Date.now()-new Date(e.serverTime).getTime()<1e3*(e.formDigestTimeoutSeconds-60)};e.prototype.dispose=function(){this._scope.dispose()};e.prototype.abort=function(){if(this._currentRequest){var e=this._currentRequest;e.isCancelled=!0;e.abort();this._currentRequest=void 0}};e.prototype.isRequestActive=function(){return!!this._currentRequest};e.prototype.getServerDataFromUrl=function(e){var t=this,n=e.url,r=e.successCallback,i=e.failureCallback,s=e.uploadProgressCallback,o=e.additionalPostData,u=e.isRest,a=void 0===u||u,f=e.method,l=void 0===f?"POST":f,c=e.withCredentials,h=e.additionalHeaders,p=e.contentType,d=e.noRedirect,v=e.responseType,m=e.needsRequestDigest,g=void 0===m?this._needsRequestDigest:m,y=(new Date).toISOString(),b=new XMLHttpRequest;b.open(l,n,!0);"boolean"==typeof c&&(b.withCredentials=c);v&&(b.responseType=v);p?b.setRequestHeader("Content-Type",p):a?b.setRequestHeader("Content-Type","application/json;odata=verbose"):b.setRequestHeader("Content-Type","application/x-www-form-urlencoded");var w=!1;if(h)for(var E in h)if(E){b.setRequestHeader(E,h[E]);"accept"===E.toLowerCase()&&(w=!0)}w||b.setRequestHeader("accept","application/json;odata=verbose");this._currentRequest=b;var S=function(e){g&&e&&b.setRequestHeader("x-requestdigest",e);t._events.on(b,"readystatechange",function(){t._onReadyStateChange(b,n,r,i,d,y)});s&&b.upload&&t._events.on(b.upload,"progress",function(e){s(e)});b.send(o)};g?this._ensureRequestDigest(S,i):S()};e.prototype.ensureRequestDigest=function(e,t){this._ensureRequestDigest(e,t)};e.prototype._ensureRequestDigest=function(t,n){var r=e._formDigests[this._webServerRelativeUrl];!this._alwaysGetDigest&&e._isValidFormDigest(r)?t(r.formDigestValue):this._ensureRequestDigestWorker(t,n)};e.prototype._ensureRequestDigestWorker=function(t,n){var r=this,i=new Date,s=new e({needsRequestDigest:!1,webServerRelativeUrl:this._webServerRelativeUrl,webUrl:void 0});t||(s._requestCanaryForAuth=!0);var o=this._webAbsoluteUrl||this._webServerRelativeUrl;if("string"==typeof o){e._requestDigestPromise||(e._requestDigestPromise=new tt(function(u,a){s.getServerDataFromUrl({url:B.concatenate(o,"/_api/contextinfo"),successCallback:function(t){var n=t.getResponseText(),s=JSON.parse(n).d.GetContextWebInformation;e._formDigests[r._webServerRelativeUrl]={serverTime:i.toISOString(),formDigestValue:s.FormDigestValue,formDigestTimeoutSeconds:s.FormDigestTimeoutSeconds-60,updateFormDigestPageLoaded:new Date};u(e._formDigests[r._webServerRelativeUrl].formDigestValue);e._requestDigestPromise=void 0},failureCallback:function(r,i){t?t(void 0):n&&n(r,i);a(void 0);e._requestDigestPromise=void 0},method:"POST",noRedirect:!!n})}));e._requestDigestPromise.then(function(e){t&&t(e);return e})}else n&&n(void 0,new fi.e({code:"MissingWebForDigestAuth",isExpected:!1}))};e.prototype._onReadyStateChange=function(t,n,r,i,s,o){if(4===t.readyState){this._currentRequest=void 0;this._events.off(t);t.upload&&this._events.off(t.upload);if((c=t)&&c.isCancelled)i(void 0,new fi.e({code:"RequestAborted",isExpected:!0}));else if((function(e){try{if(4===e.readyState&&(void 0===e.status||0===e.status))return!1}catch(e){return!1}return!0})(t)){var u=new Ji(t,n,{webAbsoluteUrl:this._webAbsoluteUrl||this._webServerRelativeUrl,isCanaryRequest:this._requestCanaryForAuth}),a=u.getStatus(),f=!s&&u.shouldRedirectToErrorCustomPromptLocation();if(this._requestCanaryForAuth){this._requestCanaryForAuth=!1;if(403===a){var l=u.getRedirectLoginPageUrl();try{f?window.location.href=u.getRedirectToErrorCustomPromptLocation():i(u)}catch(e){}l&&!s&&(window.location.href=l)}else{l=u.getAccessDeniedRedirectUrl();try{i(u)}catch(e){}if(l&&!s){this._engagement&&this._engagement.logData({name:"AccessDeniedRedirect",isIntentional:!1,extraData:{originalOperation:this._operationName||""}});window.location.href=l}}return}if(200===a||201===a||204===a){r(u);return}if(403===a){e._requestDigestPromise=void 0;s?this._ensureRequestDigestWorker(void 0,function(e,t){return i(u,t)}):f?window.location.href=u.getRedirectToErrorCustomPromptLocation():this._ensureRequestDigestWorker(void 0);return}401===a&&f&&(window.location.href=u.getRedirectToErrorCustomPromptLocation());i(u)}else i(void 0,new fi.e({code:"NoConnection",isExpected:!0}));var c}};e.prototype._tryLoadDigest=function(t){if(e._isValidFormDigest(t))e._formDigests[this._webServerRelativeUrl]=t;else{var n=e._formDigests[this._webServerRelativeUrl];e._isValidFormDigest(t)&&(!e._isValidFormDigest(n)||n&&new Date(n.serverTime).getTime()<new Date(t.serverTime).getTime())&&(e._formDigests[this._webServerRelativeUrl]=t)}};e._formDigests={};e._requestDigestPromise=void 0;return e})();function Gi(e){var t=e.options,n=t.url,r=t.authToken,i=t.telemetryHandler,o=t.useExactAuthToken,a=t.method,f=e.dataSyncClient,l=e.aadUserId,c=e.getData,h=function(){return c({url:n,telemetryHandler:i,authToken:r,useExactAuthToken:o})};if(!l)return h();var p=function(e){var t=(function(e,t){return function(n,r){var i=n.eventData,o=i.extraData,a={performanceEntry:o&&o.performanceEntry,httpStatus:o&&o.HttpStatus,correlationId:o&&o.CorrelationId,succeeded:i&&i.resultType===u.e.Success||!1,resultCode:i&&i.resultCode,endpoint:r},f=t&&t(n),l=e.onRequestComplete(a);o.dataSyncQos=e.getQosInfo();return Object(s.e)(Object(s.e)({},f||{}),{eventData:Object(s.e)(Object(s.e)({},f?f.eventData:i),{extraData:Object(s.e)(Object(s.e)({},f?f.eventData.extraData:i.extraData),e.getQosInfo())}),canRetry:l&&(!f||f.canRetry)})}})(e,i);return e.getData({url:n,method:a},function(e){return c({url:e.url,authToken:e.authToken,telemetryHandler:function(n){return t(n,e)},useExactAuthToken:!0})},h)};return tt.resolve(f).then(function(e){return e?p(e):h()})}function Yi(e){var t=e.options,n=e.webAbsoluteUrl,r=e.apiEvent,i=e.tokenProvider,o=e.getData,a=e.qosName,f=t.url,l=new j.e(f),c="".concat(l.authority,"/{ length: ").concat(l.path.length,", segments: ").concat(l.segments.length," }"),h=function(e,t){if(!i.getAuthToken)return tt.resolve({authToken:void 0});var n=new r({name:"".concat(a,".getAuthToken").concat(t?".retry":""),url:c});return tt.resolve(i.getAuthToken(e)).then(function(e){if(!e||"string"==typeof e){n.end({resultType:u.e.Success,resultCode:e?"tokenAuth.string":"cookieAuth.string"});return{authToken:e}}n.end({resultType:u.e.Success,resultCode:e.authToken?"tokenAuth":"cookieAuth",extraData:{AuthCorrelationId:e.correlationId,AuthExpiration:e.expiresOn}});return e}).catch(function(e){n.end(Object(Oi.e)(e));return tt.reject(e)})},p=function(e,t){if(!i.getFormDigest)return tt.resolve(void 0);var n=new r({name:"".concat(a,".getAuthToken").concat(t?".retry":""),url:c});return tt.resolve(i.getFormDigest(e)).then(function(e){n.end({resultType:u.e.Success,resultCode:e?"newDigest":"sameDigest"});return e}).catch(function(e){n.end(Object(Oi.e)(e));return tt.reject(e)})};if(!h&&!p)return o({url:f});var d={url:f,webAbsoluteUrl:n},v={url:f,webAbsoluteUrl:n};return h(d,!1).then(function(e){return e.authToken?e:p(v,!1).then(function(t){return e})}).then(function(e){return o({url:f,authToken:e.authToken,qosExtraData:{AuthCorrelationId:e.correlationId,AuthExpiration:e.expiresOn}}).catch(function(t){if(e.authToken){var n=void 0;es(t)?n={claimsChallenge:{authToken:e.authToken,claims:Zi(t),error:t}}:(function(e){return"3000002,invalid_client"===e.code})(t)&&(n={expiration:{authToken:e.authToken,error:t}});if(n)return h(Object(s.e)(Object(s.e)({},d),n),!0).then(function(n){return n.authToken&&n.authToken!==e.authToken?o({url:f,authToken:n.authToken,qosExtraData:{AuthCorrelationId:n.correlationId,AuthExpiration:n.expiresOn}}):tt.reject(t)})}if(i.getFormDigest){var r=void 0;es(t)?r={claimsChallenge:{claims:Zi(t),error:t}}:(function(e){return"10013"===e.code})(t)&&(r={expiration:{error:t}});if(r)return p(Object(s.e)(Object(s.e)({},v),r),!0).then(function(e){return o({url:f})})}return tt.reject(t)})})}function Zi(e){var t=e.authenticate;if(t){var n=t.indexOf('claims="');if(n>-1){var r=t.indexOf('"',n+'claims="'.length);if(r>-1){var i=t.slice(n+'claims="'.length,r);return N.e.isActivated("93E9F77D-7B3B-4760-B58F-1154E9E530ED","06/02/2022","Decode claims from base64")?i:atob(i)}}}}function es(e){var t=e.authenticate;return!!(t&&"Bearer"===t.slice(0,"Bearer".length)&&t.indexOf('error="insufficient_claims"')>-1)}var ts="undefined"!=typeof window?window:void 0,ns=ts&&ts.performance;var rs,is,ss,os,us,as,fs=(function(){function e(e,t){var n,r,i,s,o,u,a,f;this._pageContext=t?t.pageContext:e.pageContext;this._tokenProvider=null!==(n=null==t?void 0:t.tokenProvider)&&void 0!==n?n:null===(r=this._pageContext)||void 0===r?void 0:r.tokenProvider;this._dataSyncClient=null!==(i=null==t?void 0:t.dataSyncClient)&&void 0!==i?i:null===(s=this._pageContext)||void 0===s?void 0:s.dataSyncClient;this._qosName=e.qosName;this._apiEvent=null!==(o=null==t?void 0:t.apiEvent)&&void 0!==o?o:Wi;this._engagement=null!==(u=null==t?void 0:t.engagement)&&void 0!==u?u:Xi;this._normalizeErrors=!!e.normalizeErrors;this._getDataWithTokenProvider=null!==(a=null==t?void 0:t.getDataWithTokenProvider)&&void 0!==a?a:Yi;this._getDataWithSyncClient=null!==(f=null==t?void 0:t.getDataWithSyncClient)&&void 0!==f?f:Gi;this._offlineDetection=null==t?void 0:t.offlineDetection}e.parseJSON=function(e){return e&&JSON.parse(e)||void 0};e.prototype.getData=function(t){var n=this,r=t.parseResponse,i=void 0===r?e.parseJSON:r,o=t.qosExtraData,a=t.additionalPostData,f=void 0===a?"":a,l=t.contentType,c=t.method,h=void 0===c?"POST":c,p=t.maxRetries,d=void 0===p?0:p,v=t.responseType,m=t.onUploadProgress,g=t.timeout,y=t.noTimeoutInLastRetry,b=void 0!==y&&y,w=t.webAbsoluteUrl,E=this._pageContext,S=this._tokenProvider,x=this._getDataWithTokenProvider,T=this._getDataWithSyncClient,C=[];this._qosName&&C.push(this._qosName);t.qosName&&C.push(t.qosName);var k=C.join("."),L=function(e){var r=e.url,a=e.telemetryHandler,c=e.authToken,p=e.useExactAuthToken,y=void 0!==p&&p,T=!0,C=new j.e(r),L="".concat(C.authority,"/{ length: ").concat(C.path.length,", segments: ").concat(C.segments.length," }"),A=function(e){var c=e.authToken,p=e.qosExtraData,S=t.crossSiteCollectionCall,x=void 0!==S&&S,C=t.noRedirect,A=void 0!==C&&C,O=t.needsRequestDigest,M=void 0===O||O,_=Object(s.e)(Object(s.e)({},t.additionalHeaders),N.e.isActivated("3404B5AF-0FCD-496E-AE1A-7249248BACFE","10/5/2021","Send CollectSPPerfMetrics header for all SP data requests")?{}:{CollectSPPerfMetrics:"SPSQLQueryCount"});if(c){var D=!1;N.t.isActivated("589c6b39-fbce-42b5-bff1-125e13e2367a","06/09/2021","check if auth token has auth header already, if yes, use exact auth token")||ne.e.isFeatureEnabled({ECS:86137})||c.split(" ").length>1&&(D=!0);var P=y||D?c:"Bearer ".concat(c),H=!1;for(var B in _)B&&"authorization"===B.toLowerCase()&&(H=!0);H||(_.Authorization=P);x=!0;M=!1;A=!0}var F,I,q=new Qi(Object(s.e)(Object(s.e)({},E?{webServerRelativeUrl:E.webServerRelativeUrl,webAbsoluteUrl:x?E.webAbsoluteUrl:w,formDigest:{serverTime:E.serverTime,updateFormDigestPageLoaded:E.updateFormDigestPageLoaded,formDigestValue:E.formDigestValue,formDigestTimeoutSeconds:E.formDigestTimeoutSeconds}}:{}),{needsRequestDigest:M,engagement:n._engagement,operationName:n._qosName})),R=ts&&ts.location&&new j.e(ts.location.href).authority,U=new j.e(r).authority,z=V.getRUMOneLogger(),W=Date.now();z&&(Boolean(z.readTempData("appDataFetchStart"))||z.saveTempData("appDataFetchStart",W));return(function(e){var t,n=e.onExecute,r=e.onCancel,i=e.timeout,s=e.canRetry,o=e.noTimeoutInLastRetry,u=0,a=Math.max(e.maxRetries,0),f=function(){var e=new tt(n,function(){r(u>=a||!s())});return i&&(!o||u<a)?tt.timeout(i,e):e};t=u<a?(function(e){var t,n=e.adjustRetries,r=e.async,i=e.beforeRetry,s=e.callback,o=e.canRetry,u=void 0===o?function(){return!0}:o,a=e.delay,f=e.resetAttemptsOnRestart,l=e.retries,c=e.shouldRestart,h=0,p=new qn(function(){t.cancel()});function d(e){if(c&&c()){f&&(h=0);m()}else p.complete(e)}function v(e){n&&(l=n(e));if(h<l&&u(e)){h++;i&&i();"number"==typeof a&&r?r.setTimeout(m,a):m()}else p.error(e)}function m(){(t=s()).then(d,v)}m();return p.getPromise()})({canRetry:s,retries:a,callback:f,beforeRetry:function(){u++}}):f();return t})({timeout:g,onExecute:function(e,t){var d=function(f,l){return function(h){var d=h.getResponseText();I=h.getServiceWorkerDataSourceHeader();var m,g,y,b,w=Vi(r,l),E=Object(s.e)(Object(s.e)(Object(s.e)(Object(s.e)({},o||{}),{needsRequestDigest:M,hasAuthToken:!!c,isCrossOrigin:!!R&&R!==U,CorrelationId:h.getCorrelationId()}),p||{}),{HttpStatus:h.getStatus(),serviceWorkerDataSource:I||void 0,rawRequestDuration:w.duration,performanceEntry:JSON.stringify(w),serviceWorkerFetchInfo:h.getServiceWorkerFetchInfoFromHeader()||void 0,SQLRT:h.getSQLRT(),ServerDuration:h.getServerDuration()}),S=!1;try{!(function(e,t){return"blob"===e&&t&&"object"==typeof t})(v,d)?g=i(d,h):y=d;S=!0}catch(e){m=e;b={resultType:u.e.Failure,resultCode:"InvalidJSON",error:"object"==typeof e?JSON.stringify(e):e,extraData:E}}b||(b={resultType:u.e.Success,extraData:E});if(a){b=a({response:g,eventData:b,serverData:h}).eventData}f.end(b);if(S)try{e(y||g)}catch(e){}else t(n._normalizeErrors?new $i({code:"-1,parse_response",innerError:m,errorData:{status:h.getStatus()}}):void 0);q=void 0}},g=function(e,i){return function(f,l){var h=Vi(r,i),p=Object(s.e)(Object(s.e)({},o||{}),{needsRequestDigest:M,hasAuthToken:!!c,isCrossOrigin:!!R&&R!==U,rawRequestDuration:h.duration,performanceEntry:JSON.stringify(h)}),d="undefined"!=typeof navigator&&!1===navigator.onLine;n._offlineDetection&&(d=n._offlineDetection.offline);if(f){var v=f.getCorrelationId(),m=f.getGroupThrottle(),g=f.getMSCorrelationVector(),y=f.getStatus(),b=f.getAuthErrorType(),w=f.getFBAError();p=Object(s.e)(Object(s.e)({},p),{CorrelationId:v,HttpStatus:y,GroupThrottle:m,MSCorrelationVector:g,AuthErrorType:b});var E=u.e.Failure;if(401===y&&w||403===y||404===y||429===y||503===y||-1===y||0===y&&d){T=!1;E=u.e.ExpectedFailure}var S=function(r){var i,o=void 0;if("object"==typeof r&&"number"==typeof r.status)o=r;else if("string"==typeof r){var l=void 0;try{l=JSON.parse(r)}catch(e){}i=(function(e){var t=e.authDiagnostics,n=e.fbaHeaderError;if(t)try{var r=/(\d+)(?:;reason="([^"]+?)")?(?:;category="([^"]+?)")?/.exec(t),i=r[1],s=void 0===i?"-1":i,o=r[2],u=void 0===o?"":o,a=r[3],f=void 0===a?"unknown":a,l=void 0;switch(Number(s)){case 3e6:case 3000003:case 3000006:case 3001003:case 3001004:case 3001005:case 3002e3:case 3004009:case 3004010:case 3003e3:l=!0;break;default:l=!1}return new fi.e({code:"".concat(s,",").concat(f),message:u,isExpected:l})}catch(e){return new fi.e({code:"-1,Unknown",innerError:e})}if(n)try{var c=/(\d+);\s+(.+)/.exec(n),h=c[1],p=(s=void 0===h?"-1":h,c[2]);u=void 0===p?"":p;return new fi.e({code:"".concat(s),message:u,isExpected:!0})}catch(e){return new fi.e({code:"-1,Unknown",innerError:e})}})({authDiagnostics:b,fbaHeaderError:w});l&&(o=l.error_description?{code:"-1,".concat(l.error||"Unknown"),message:l.error_description}:"string"==typeof l.error?{message:l.error}:l.error||l["odata.error"]||{responseData:l})}(o=o||{}).status=y;o.retryAfter=f.getRetryAfterHeader();var c=f.getXSPOErrorMessage();if(!N.t.isActivated("9075af7b-b0a1-433c-91d3-eeff1701c557","05/26/2022","Add x-spo-errormessage response header value to errorData")&&c){o.code="XSPOErrorMessage";o.message=c}var h=o["@error.redirectUrl"],d=f.getRedirectUrl()||h;d&&(E=u.e.ExpectedFailure);o.redirectUrl=d;o.authenticate=f.getAuthenticateHeader();v&&(o.correlationId=v);m&&(o.groupThrottle=m);"-1,policy_enforced"===o.code&&(E=u.e.ExpectedFailure);i&&i.isExpected&&(E=u.e.ExpectedFailure);o.code=i&&i.code||o.code||"Unknown";var g="[".concat(y.toString(),"] ").concat(o.code),S=JSON.stringify(o),x={resultType:E,error:S,resultCode:g,extraData:p};if(a){var C=a({eventData:x,errorData:o,serverData:f}),k=C.eventData,L=C.canRetry;x=k;!0!==L&&!1!==L||(T=L)}e.end(x);t(n._normalizeErrors?new $i(Object(s.e)({errorData:o,innerError:i},x.resultType===u.e.ExpectedFailure?{isExpected:!0}:{})):o)},x=f.getResponseType();if(x&&"text"!==x)f.parseError().then(S);else{S(f.getResponseText())}}else{var C="Unknown",k=!0,L=0;if(l&&l instanceof fi.e){C=l.code;k=l.isExpected;L=-1}!d||"NoConnection"!==C&&"Unknown"!==C||(C="Offline");var A={status:L,code:C},O={resultType:k?u.e.ExpectedFailure:u.e.Failure,resultCode:C,extraData:p};if(a){O=a({eventData:O,errorData:A}).eventData}e.end(O);t(n._normalizeErrors?new $i({errorData:A,innerError:l}):A)}}};(function(){var e=F=new n._apiEvent({url:L,name:k}),t=ns&&ns.now();q.getServerDataFromUrl({url:r,successCallback:d(e,t),failureCallback:g(e,t),uploadProgressCallback:m,additionalPostData:f,method:h,additionalHeaders:_,contentType:l,withCredentials:!c&&void 0,noRedirect:A,responseType:v,needsRequestDigest:M})})()},maxRetries:d,noTimeoutInLastRetry:b,canRetry:function(){return T},onCancel:function(e){if(q){q.abort();e&&q.dispose()}}}).then(function(e){q&&q.dispose();return e},function(e){q&&q.dispose();!F.endTime&&tt.isCanceled(e)&&F.end({resultCode:"Canceled",resultType:u.e.ExpectedFailure});return tt.reject(e)})};if(c)return tt.resolve(c).then(function(e){return A({url:r,authToken:e})});if(S)return x({apiEvent:n._apiEvent,getData:A,options:{url:r,authToken:t.authToken,qosExtraData:t.qosExtraData},webAbsoluteUrl:E&&E.webAbsoluteUrl,qosName:k,tokenProvider:S});if(E){if(E.getAuthToken)return tt.resolve(E.getAuthToken()).then(function(e){return A({url:r,authToken:e})});if(E.authToken)return tt.resolve(E.authToken).then(function(e){return A({url:r,authToken:e})})}return A({url:r})},A={authToken:t.authToken,telemetryHandler:t.telemetryHandler,url:t.url,useExactAuthToken:t.useExactAuthToken,method:t.method};return this._dataSyncClient?T({options:A,aadUserId:null==E?void 0:E.aadUserId,dataSyncClient:this._dataSyncClient,getData:L}):L(A)};return e})(),ls=(function(){function e(e,t){var n=this._pageContext=t.pageContext,r=t.tokenProvider,i=t.dataRequestorType,o=void 0===i?(function(e){Object(s.n)(t,e);function t(t){return e.call(this,t,{pageContext:n,tokenProvider:r})||this}return t})(fs):i,u=e.dataSourceName,a=void 0===u?"DataSource":u;this.dataRequestor=new o({qosName:a})}e.prototype.getDataSourceName=function(){return this.dataSourceName};e.prototype.needsRequestDigest=function(e){return!0};e.prototype.getData=function(e,t,n,r,i,s,o,u,a,f,l,c,h,p){void 0===i&&(i="POST");var d=e(),v=r&&r(),m=this.needsRequestDigest(d);return this.dataRequestor.getData({url:d,parseResponse:t,qosName:n,additionalPostData:v,method:i,additionalHeaders:s,contentType:o,maxRetries:u,noRedirect:a,crossSiteCollectionCall:f,telemetryHandler:l,qosExtraData:c,needsRequestDigest:m,authToken:h,webAbsoluteUrl:p})};return e})();(function(e){e[e.Owner=0]="Owner";e[e.View=1]="View";e[e.Edit=2]="Edit";e[e.Submitter=3]="Submitter";e[e.CoOwner=4]="CoOwner";e[e.None=5]="None";e[e.Review=6]="Review";e[e.Custom=7]="Custom"})(rs||(rs={}));(function(e){e[e.unknown=0]="unknown";e[e.prefetch=1]="prefetch";e[e.hostapp=2]="hostapp";e[e.api=3]="api"})(is||(is={}));(function(e){e[e.Network=1]="Network";e[e.Embed=3]="Embed";e[e.App=4]="App";e[e.View=5]="View";e[e.Edit=6]="Edit";e[e.Form=7]="Form";e[e.Direct=8]="Direct";e[e.Organization=9]="Organization";e[e.AppAccess=10]="AppAccess";e[e.RequestAccess=11]="RequestAccess";e[e.None=100]="None"})(ss||(ss={}));(function(e){e[e.none=0]="none";e[e.view=1]="view";e[e.edit=2]="edit";e[e.owner=3]="owner";e[e.review=6]="review";e[e.restrictedview=7]="restrictedview";e[e.submit=8]="submit";e[e.manageList=9]="manageList"})(os||(os={}));(function(e){e[e.authFailure=1]="authFailure";e[e.serverFailure=2]="serverFailure";e[e.invalidItem=3]="invalidItem";e[e.invalidWebAbsoluteUrl=4]="invalidWebAbsoluteUrl";e[e.generic=5]="generic";e[e.objectNotSupported=6]="objectNotSupported";e[e.invalidEmail=7]="invalidEmail";e[e.linkNoLongerAvailable=8]="linkNoLongerAvailable"})(us||(us={}));(function(e){e[e.generic=0]="generic";e[e.getSharingInformation=1]="getSharingInformation";e[e.shareLink=2]="shareLink";e[e.shareObject=3]="shareObject";e[e.permissions=4]="permissions";e[e.item=5]="item";e[e.me=6]="me";e[e.drive=7]="drive";e[e.invite=8]="invite";e[e.createLink=9]="createLink"})(as||(as={}));var cs,hs=us;(function(e){e[e.unknown=1]="unknown";e[e.odb=2]="odb";e[e.sharePoint=3]="sharePoint";e[e.ngsc=4]="ngsc";e[e.word=5]="word";e[e.powerpoint=6]="powerpoint";e[e.excel=7]="excel";e[e.onenoteWeb=8]="onenoteWeb";e[e.wac=9]="wac";e[e.visio=10]="visio";e[e.officecom=11]="officecom";e[e.listPart=12]="listPart";e[e.outlookWeb=13]="outlookWeb";e[e.odIos=14]="odIos";e[e.odAndroid=15]="odAndroid";e[e.teams=16]="teams";e[e.sample=17]="sample";e[e.odc=18]="odc";e[e.wordAndroid=19]="wordAndroid";e[e.excelAndroid=20]="excelAndroid";e[e.powerpointAndroid=21]="powerpointAndroid";e[e.wordIos=22]="wordIos";e[e.excelIos=23]="excelIos";e[e.powerpointIos=24]="powerpointIos";e[e.onenote=25]="onenote";e[e.teamsIos=26]="teamsIos";e[e.teamsAndroid=27]="teamsAndroid";e[e.onenoteIos=28]="onenoteIos";e[e.visioIos=29]="visioIos";e[e.onenoteAndroid=30]="onenoteAndroid";e[e.visioAndroid=31]="visioAndroid";e[e.outlookWindows=32]="outlookWindows";e[e.outlookMac=33]="outlookMac";e[e.onenoteUWP=34]="onenoteUWP";e[e.officemobileIos=35]="officemobileIos";e[e.officemobileAndroid=36]="officemobileAndroid";e[e.odcWac=37]="odcWac";e[e.outlookGroupsWeb=38]="outlookGroupsWeb";e[e.fluid=39]="fluid";e[e.modernFileExplorer=40]="modernFileExplorer";e[e.listsHome=41]="listsHome";e[e.listsIos=42]="listsIos";e[e.edgeEnterpriseNtp=43]="edgeEnterpriseNtp";e[e.officeFeed=44]="officeFeed";e[e.searchUx=45]="searchUx";e[e.consumerList=46]="consumerList";e[e.shareDemo=47]="shareDemo";e[e.onePlayer=48]="onePlayer";e[e.windowsShare=49]="windowsShare";e[e.streamIos=50]="streamIos";e[e.streamAndroid=51]="streamAndroid";e[e.loopIos=52]="loopIos";e[e.outlookAndroid=53]="outlookAndroid";e[e.outlookiOS=54]="outlookiOS";e[e.whiteboard=55]="whiteboard";e[e.businesscentral=56]="businesscentral";e[e.mslens=57]="mslens"})(cs||(cs={}));var ps,ds,vs=cs;(function(e){e[e.uninitialized=0]="uninitialized";e[e.direct=1]="direct";e[e.organizationView=2]="organizationView";e[e.organizationEdit=3]="organizationEdit";e[e.anonymousView=4]="anonymousView";e[e.anonymousEdit=5]="anonymousEdit";e[e.flexible=6]="flexible";e[e.requestAccess=7]="requestAccess"})(ps||(ps={}));(function(e){e[e.specificPeople=0]="specificPeople";e[e.organization=1]="organization";e[e.anyone=2]="anyone";e[e.existing=3]="existing";e[e.specificPeopleFlex=4]="specificPeopleFlex";e[e.customLabeledSpecificPeople=5]="customLabeledSpecificPeople"})(ds||(ds={}));var ms,gs,ys,bs=ds;(function(e){e[e.uninitialized=-1]="uninitialized";e[e.anyone=0]="anyone";e[e.organization=1]="organization";e[e.specificPeople=2]="specificPeople";e[e.existing=3]="existing"})(ms||(ms={}));(function(e){e[e.anyone=0]="anyone";e[e.organization=1]="organization";e[e.specificPeople=2]="specificPeople"})(gs||(gs={}));(function(e){e[e.share=1]="share";e[e.copy=2]="copy";e[e.atMention=3]="atMention";e[e.linkSettings=4]="linkSettings";e[e.manageAccess=5]="manageAccess";e[e.notify=6]="notify";e[e.addPeople=7]="addPeople"})(ys||(ys={}));var ws,Es=ys,Ss=0,xs=1,Ts=2,Ns=3;N.t.isActivated("F9624ACA-9230-4329-9616-969638C4D4CB","05/08/2022","Include Personal Site Id in generated Server Url for Freemium lists");(function(e){e[e.NoWarning=0]="NoWarning";e[e.Warning=1]="Warning";e[e.OverQuota=2]="OverQuota"})(ws||(ws={}));var Cs,ks;(function(e){e[e.None=0]="None";e[e.PrivateChannel=1]="PrivateChannel";e[e.SharedChannel=2]="SharedChannel";e[e.StandardChannel=3]="StandardChannel"})(Cs||(Cs={}));(function(e){e[e.Open=0]="Open";e[e.Implicit=1]="Implicit";e[e.Explicit=2]="Explicit";e[e.OwnerModerated=3]="OwnerModerated";e[e.Inferred=4]="Inferred"})(ks||(ks={}));var Ls;(function(e){e[e.FooterEnabled=2]="FooterEnabled";e[e.MegaMenuEnabled=128]="MegaMenuEnabled";e[e.FooterEmphasis0=256]="FooterEmphasis0";e[e.FooterEmphasis1=512]="FooterEmphasis1";e[e.FooterLayout0=1024]="FooterLayout0";e[e.FooterLayout1=2048]="FooterLayout1";e[e.HideTitleInHeader=33554432]="HideTitleInHeader";e[e.HorizontalQuickLaunch=1]="HorizontalQuickLaunch"})(Ls||(Ls={}));var As;(function(e){e[e.File=0]="File";e[e.Folder=1]="Folder";e[e.Media=2]="Media";e[e.OneNote=3]="OneNote";e[e.Unknown=4]="Unknown";e[e.Error=5]="Error";e[e.App=6]="App";e[e.Subsite=7]="Subsite";e[e.Shortcut=8]="Shortcut"})(As||(As={}));var Os=As;function Ms(e,t){void 0===t&&(t=!0);e=encodeURI(e);t&&e&&(e=e.replace(/#/g,"%23"));return e}function _s(e){var t;try{t=decodeURI(e)}catch(n){t=e}if(t===e)e=Ms(e,!0);else{e=e.replace("#","%23");N.t.isActivated("589c6b39-fbce-42b5-bff1-125e13e2367a","05/19/2021","encode url with %number in the name")||ne.e.isFeatureEnabled({ECS:83959})||!e.indexOf("%25")||(e=Ms(e,!0))}return e}var Ds,Ps,Hs,Bs,js=(function(){function e(e){this._itemUrlHelper=e.itemUrlHelper;this._sharingContextInformation=e.sharingContextInformation}e.prototype.getApiRoot=function(e,t,n){if(this._sharingContextInformation){var r=this._sharingContextInformation,i=r.isFolder,s=r.isListSharing,o=r.itemUrl,u=r.listId,a=r.listItemId,f=r.listUrl,l=r.resourceId,c=r.serverRelativeItemUrl,h=r.uniqueId,p=r.webAbsoluteUrl;if(s)return e.build().webByUrl({webUrl:p}).method("Lists",u);if(h){if(u)return e.build().webByUrl({webUrl:p}).segment("lists").method("getbyid",u).method("GetItemByUniqueId",h);var d=i?"GetFolderById":"GetFileById",v={guid:h};return e.build().webByUrl({webUrl:p}).method(d,v).segment("ListItemAllFields")}return f?e.build().webByUrl({listUrl:f}).method("GetListItem",c):o?e.build().webByUrl({webUrl:p}).method("GetFileByUrl",_s(o)).segment("ListItemAllFields"):u&&a?e.build().webByUrl({webUrl:p}).method("Lists",u).method("GetItemById",a):e.build().webByUrl({webUrl:p}).method("GetListItemByResourceId",l)}var m;m=t.properties.path?this._itemUrlHelper.getUrlParts({path:t.properties.path}):this._itemUrlHelper.getItemUrlParts(t.key);var g=e.build().webByItemUrl(m).method("Lists",n);t.isRootFolder||(g=t.properties.ID?g.method("GetItemById",t.properties.ID):g.method("GetItemByUniqueId",t.properties.uniqueId));return g};e.prototype.getFileUrl=function(e){return this._itemUrlHelper.getItemUrlParts(e.key).fullItemUrl};e.prototype.canUseSecurable=function(e){var t=e.properties;return!!t&&(e.isRootFolder?!!e.list&&!!e.list.id:!!t.ID||!!t.uniqueId)};e.getUniqueSharingPrincipals=function(e){if(e){var t=new Set;return e.filter(function(e){if(t.has(e.loginName))return!1;t.add(e.loginName);return!0})}};return e})(),Fs=-2147024894,Is=-2147024809,qs=-1,Rs=-2130575257,Us=-2147024860,zs=-2,Ws=-3,Xs=-4,Vs=-5;(function(e){e[e.icon=16]="icon";e[e.iconMin=16]="iconMin";e[e.bigIcon=48]="bigIcon";e[e.bigIconMin=48]="bigIconMin";e[e.regularMin=90]="regularMin";e[e.regular=130]="regular";e[e.nameMin=220]="nameMin";e[e.nameODC=440]="nameODC";e[e.nameODB=280]="nameODB";e[e.originalLocation=300]="originalLocation";e[e.custom=900]="custom";e[e.sharedWith=150]="sharedWith";e[e.note=250]="note";e[e.dateModifiedMl=150]="dateModifiedMl";e[e.dotDotDot=32]="dotDotDot";e[e.ratingsMin=110]="ratingsMin"})(Ds||(Ds={}));(function(e){e[e.none=0]="none";e[e.icon=1]="icon";e[e.name=2]="name";e[e.title=3]="title";e[e.calloutInvoker=4]="calloutInvoker";e[e.shareHeroCommand=5]="shareHeroCommand";e[e.modified=6]="modified";e[e.url=7]="url"})(Ps||(Ps={}));(function(e){e[e.none=0]="none";e[e.notify=1]="notify";e[e.block=2]="block";e[e.notifyAndBlock=3]="notifyAndBlock";e[e.blockSharing=4]="blockSharing"})(Hs||(Hs={}));(function(e){e[e.Auto=0]="Auto";e[e.Pinned=1]="Pinned";e[e.Removed=2]="Removed"})(Bs||(Bs={}));var $s;(function(e){e[e.invalid=-1]="invalid";e[e.teamSite=1]="teamSite";e[e.meetings=2]="meetings";e[e.centralAdmin=3]="centralAdmin";e[e.wiki=4]="wiki";e[e.documentCenter=7]="documentCenter";e[e.blog=9]="blog";e[e.tenantAdmin=16]="tenantAdmin";e[e.app=17]="app";e[e.appCatalog=18]="appCatalog";e[e.mySite=21]="mySite";e[e.subgroup=39]="subgroup";e[e.publishingPortal=52]="publishingPortal";e[e.mySiteHost=54]="mySiteHost";e[e.enterpriseWiki=56]="enterpriseWiki";e[e.group=64]="group";e[e.pointPublishingPersonal=66]="pointPublishingPersonal";e[e.sitePagePublishing=68]="sitePagePublishing";e[e.teamChannel=69]="teamChannel";e[e.projectWebAppSite=6221]="projectWebAppSite";e[e.contentCenter=6001]="contentCenter"})($s||($s={}));for(var Js={},Ks=0,Qs=Object.keys($s);Ks<Qs.length;Ks++){var Gs=Qs[Ks];"string"==typeof Gs&&(Js[Gs.toUpperCase()]=$s[Gs])}var Ys,Zs=$s,eo=2,to=3,no={},ro={};function io(e){var t=!N.t.isActivated("3f046024-1355-4d63-8346-277db24b8415","03/14/2021","prchando - Cache Url Token expiry status");if(t&&-1===e.indexOf("_oat_"))return!0;var n=t?ro[e]:void 0;if(n)return Date.now()/1e3<n;var r=new B(e),i=r.getQueryParameter("_oat_");if(i){var s=i.split("_");2===s.length&&(n=Number(s[0]));if(!n){new o.e({name:"TryGetAlternativeUrlFailure"}).end({resultType:u.e.Failure,resultCode:"OatParamUnexpectedFormat",extraData:{eatParam:i}});t&&(ro[e]=Date.now()/1e3+86400);return!0}n-=30;t&&(ro[e]=n);if(Date.now()/1e3>n)return!1}var a=r.getQueryParameter("P1");if(!a)return!0;var f=Number(a);f-=30;t&&(ro[e]=Math.min(f,ro[e]));return!(Date.now()/1e3>f)}function so(e,t,n){n=n||(function(e){var t,n;function r(e){if(io(window[e].userPhotoCdnBaseUrl))return window[e].userPhotoCdnBaseUrl;delete window[e].userPhotoCdnBaseUrl;return""}try{var i=no&&no[e];i||"UserPhotoAspx"!==e||((null===(t=window._spPageContextInfo)||void 0===t?void 0:t.userPhotoCdnBaseUrl)?i=r("_spPageContextInfo"):(null===(n=window._spHomePageContext)||void 0===n?void 0:n.userPhotoCdnBaseUrl)&&(i=r("_spHomePageContext")));if(!i)return;if(!io(i)){delete no[e];return}return i}catch(e){new o.e({name:"TryGetAlternativeUrlFailure"}).end({resultType:u.e.Failure,resultCode:"Unexpected",extraData:{error:e}})}})("UserPhotoAspx")||"/_layouts/15/userphoto.aspx";var r;switch(t){case eo:r="M";break;case to:r="L";break;default:r="S"}var i=new B(n);i.setQueryParameter("size",r);i.setQueryParameter("accountname",e||"");return i.toString()}(function(e){e.Small="S";e.Medium="M";e.Large="L"})(Ys||(Ys={}));function oo(e,t,n){var r=so(t,void 0,n);if(!e||!r||0===r.indexOf("http"))return r;try{return new j.e(e).authority+r}catch(e){return r}}var uo,ao,fo,lo,co,ho,po,vo=(function(){function e(e){this._features=new Map;if(!e)throw new Error("Cannot create SPFeatureInfo object, incoming data is undefined.");for(var t in e)if(void 0!==t){var n=e[t];this._features.set(t,{version:n.Version,enabled:n.Enabled})}}e.prototype._serialize=function(){var e={};this._features.forEach(function(t,n){e[n]={Version:t.version,Enabled:t.enabled}});return e};e.prototype.get=function(e){if(!e||e&&0===e.length)throw new Error("Cannot get feature, featureName input is empty or undefined");return this._features.get(e)};return e})();(function(){function e(){}e.hasItemPermission=function(t,n){return t&&t.permissions&&e.hasPermission(t.permissions,n)};e.hasPermission=function(e,t){return!!t&&!!e&&(t.Low&e.Low)>>>0===t.Low&&(t.High&e.High)>>>0===t.High};e.hasAny=function(t,n){return(n||[]).some(function(n){return e.hasPermission(t,n)})};e.hasIdentityPermission=function(t,n){return n&&t.webPermMasks&&e.hasPermission(t.webPermMasks,n)};e.viewListItems={High:0,Low:1};e.insertListItems={High:0,Low:2};e.editListItems={High:0,Low:4};e.deleteListItems={High:0,Low:8};e.approveItems={High:0,Low:16};e.openItems={High:0,Low:32};e.viewVersions={High:0,Low:64};e.deleteVersions={High:0,Low:128};e.cancelCheckout={High:0,Low:256};e.manageLists={High:0,Low:2048};e.viewFormPages={High:0,Low:4096};e.reviewListItems={High:0,Low:16384};e.viewPages={High:0,Low:131072};e.layoutsPage={High:0,Low:135168};e.addAndCustomizePages={High:0,Low:262144};e.applyThemeAndBorder={High:0,Low:524288};e.viewUsageData={High:0,Low:2097152};e.manageSubwebs={High:0,Low:8388608};e.managePermissions={High:0,Low:33554432};e.browseDirectories={High:0,Low:67108864};e.manageWeb={High:0,Low:1073741824};e.useClientIntegration={High:16,Low:0};e.manageAlerts={High:64,Low:0};e.createAlerts={High:128,Low:0};e.enumeratePermissions={High:1073741824,Low:0};e.useRemoteAPIs={High:32,Low:0};e.fullMask={High:2147483647,Low:4294967295}})();(function(e){e[e.HEADER=0]="HEADER";e[e.NAV=1]="NAV";e[e.FOOTER=2]="FOOTER";e[e.SEARCHBOX=3]="SEARCHBOX"})(uo||(uo={}));(function(e){e[e.LEFT=0]="LEFT";e[e.HORIZONTAL=1]="HORIZONTAL"})(ao||(ao={}));(function(e){e[e.FULLBLEED=0]="FULLBLEED";e[e.WITHLEFTNAV=1]="WITHLEFTNAV"})(fo||(fo={}));(function(e){e[e.none=0]="none";e[e.standard=1]="standard";e[e.compact=2]="compact";e[e.minimal=3]="minimal";e[e.extended=4]="extended"})(lo||(lo={}));(function(e){e[e.left=0]="left";e[e.middle=1]="middle";e[e.right=2]="right"})(co||(co={}));(function(e){e[e.SIMPLE=0]="SIMPLE";e[e.EXTENDED=1]="EXTENDED";e[e.STACKED=2]="STACKED"})(ho||(ho={}));(function(e){e[e.Strong=0]="Strong";e[e.Neutral=1]="Neutral";e[e.Soft=2]="Soft";e[e.None=3]="None"})(po||(po={}));var mo=function(){try{return!!window.sessionStorage.getItem("_isRunningTABTest")}catch(e){console.log("No session storage accessible: "+e);return!1}},go=!N.t.isActivated("48d0bf6b-2e41-42a8-a3a3-e8d2ef405dbb","7/14/2022","better error handling"),yo=(function(e){Object(s.n)(t,e);function t(t,n){void 0===n&&(n={pageContext:t.pageContext});var r=e.call(this,{dataSourceName:"SharingDataSource"},n)||this;r._getParentListId=t.getParentListId;r._itemUrlHelper=t.itemUrlHelper||new Ri({},{pageContext:t.pageContext});r._apiUrlHelper=t.apiUrlHelper||new zi({},{pageContext:t.pageContext,itemUrlHelper:r._itemUrlHelper});r._sharingContextInformation=t.sharingContextInformation||void 0;r._sharingDataSourceHelper=new js({itemUrlHelper:r._itemUrlHelper,sharingContextInformation:r._sharingContextInformation,isItemUrlEncoded:t.isItemUrlEncoded});var i,s="/"===(i=r._pageContext).webServerRelativeUrl?"":i.webServerRelativeUrl;r._shareUrl=s+"/_api/SP.Web.ShareObject";return r}t.parsePeople=function(e){return e.map(function(e){var n={role:t.parseSharingRole(e.CurrentRole),statusCode:Number(!e.Status),errorMessage:e.Message||null};return{name:e.DisplayName,email:e.Email,userId:e.UserId,sharingInfo:n}})};t.parseSharingRole=function(e){switch(e){case 0:return rs.None;case 1:return rs.View;case 2:return rs.Edit;case 6:return rs.Review;default:return rs.View}};t.prototype.getSharingInformation=function(e,t,n,r,i,s){var o,u=this,a=(r=r||this._sharingDataSourceHelper.getApiRoot(this._apiUrlHelper,e,this._getParentListId(e))).segment("GetSharingInformation"),f="pickerSettings";t&&(f+=",permissionsInformation");n&&(f+=",sharingLinkTemplates");i&&(f+=",addressBarLinkSettings");o=a.oDataParameter("$Expand",f).toString();return this.getData(function(){return o},function(t){var n=JSON.parse(t),r=u._parseGetSharingInformationResponse(n,e);r.getSharingInformationSources=is.api;return r},"GetSharingInformation",null,"POST",this._sharingContextInformation&&this._sharingContextInformation.listId&&xo(this._sharingContextInformation.listId.slice(1,-1))?{"X-SP-REQUESTRESOURCES":"WEBPROPERTIES, list=".concat(this._sharingContextInformation.listId.slice(1,-1))}:null,null,null,!0,void 0,void 0,this._getExtraData(),s)};t.prototype.emailWithoutPermissioning=function(e,n,r,i){var s=this._sharingDataSourceHelper.getApiRoot(this._apiUrlHelper,n,this._getParentListId(n)).segment("ForwardObjectLink").toString();return this.getData(function(){return s},function(e){var r=JSON.parse(e).d,i=[];r.UniquelyPermissionedUsers&&r.UniquelyPermissionedUsers.results&&(i=r.UniquelyPermissionedUsers.results);var s=[];r.InvitedUsers&&r.InvitedUsers.results&&(s=r.InvitedUsers.results);var o={};o.statusCode=r.StatusCode;o.errorMessage=r.ErrorMessage;o.people=t.parsePeople(i);o.invitedUsers=t.parsePeople(s);o.itemId=n&&n.id;s.length>0&&(o.invitationLink=s[0].InvitationLink);o.invalidEmails=[];if(r.UsersWithInvalidEmails&&r.UsersWithInvalidEmails.results)for(var u=0,a=r.UsersWithInvalidEmails.results;u<a.length;u++){var f=a[u];o.invalidEmails.push(f.User)}return o},"ForwardObjectLink",function(){for(var t=[],n=0,s=e;n<s.length;n++){var o=s[n];t.push(o.rawPersonData)}var u={peoplePickerInput:JSON.stringify(t),emailBody:r,emailSubject:i};return JSON.stringify(u)})};t.prototype.checkPermissions=function(e,t){var n=this._sharingDataSourceHelper.getApiRoot(this._apiUrlHelper,t,this._getParentListId(t)).segment("CheckPermissions").toString();return this.getData(function(){return n},function(e){var t=JSON.parse(e);if(t.d){return t.d.CheckPermissions.results}return null},"CheckPermissions",function(){var t={recipients:e};return JSON.stringify(t)})};t.prototype.share=function(e,n){var r,i=this,s=!!this._sharingContextInformation||this._sharingDataSourceHelper.canUseSecurable(n.items[0]);if(n.linkType===ss.Organization||n.linkType===ss.Edit||n.linkType===ss.View)return this._shareLink(e,n);if(s){var o=n.items[0],u=this._sharingDataSourceHelper.getApiRoot(this._apiUrlHelper,o,this._getParentListId(o));r=u.segment("ShareObject").toString()}else r=this._shareUrl;return this.getData(function(){return r},function(e){var r=JSON.parse(e).d,i=[];mo()&&window.sessionStorage.setItem("Share_Response",JSON.stringify(r));r.UniquelyPermissionedUsers&&r.UniquelyPermissionedUsers.results&&(i=r.UniquelyPermissionedUsers.results);var s=[];r.InvitedUsers&&r.InvitedUsers.results&&(s=r.InvitedUsers.results);var o={};o.statusCode=r.StatusCode;o.errorMessage=r.ErrorMessage;o.people=t.parsePeople(i);o.invitedUsers=t.parsePeople(s);o.itemId=n.items[0]&&n.items[0].id;s.length>0&&(o.invitationLink=s[0].InvitationLink);o.invalidEmails=[];if(r.UsersWithInvalidEmails&&r.UsersWithInvalidEmails.results)for(var u=0,a=r.UsersWithInvalidEmails.results;u<a.length;u++){var f=a[u];o.invalidEmails.push(f.User)}return o},"Share",function(){for(var t=[],r=0;r<e.length;r++){var o=e[r];t.push(o.rawPersonData)}n.roleValue===rs.Edit.toString()?n.roleValue="role:1073741827":n.roleValue===rs.View.toString()&&(n.roleValue="role:1073741826");var u={peoplePickerInput:JSON.stringify(t),roleValue:n.roleValue,sendEmail:n.sendEmail,emailBody:n.message,emailSubject:n.subject,includeAnonymousLinkInEmail:!n.requireSignIn,propagateAcl:n.propagateSharing,useSimplifiedRoles:!0};s||(u.url=i._sharingDataSourceHelper.getFileUrl(n.items[0]));mo()&&window.sessionStorage.setItem("Share_Payload",JSON.stringify(u));return JSON.stringify(u)})};t.prototype.updatePermissions2=function(e,t,n){var r=this._sharingDataSourceHelper.getApiRoot(this._apiUrlHelper,t,this._getParentListId(t)).segment("UpdateDocumentSharingInfo").toString();return this.getData(function(){return r},function(e){var t=JSON.parse(e).d;return t?{role:t.UpdateDocumentSharingInfo.results[0].CurrentRole}:null},"UpdatePermissions2",function(){var t;switch(n){case os.none:case os.view:case os.review:case os.edit:case os.owner:t=n;break;default:t=os.view}var r={userRoleAssignments:[{UserId:e.loginName,Role:t}],validateExistingPermissions:!1,additiveMode:!1,sendServerManagedNotification:!1,customMessage:null,includeAnonymousLinksInNotification:!1,propagateAcl:!0};return JSON.stringify(r)})};t.prototype.updatePermissionsMultiple=function(e,t,n,r,i){var s=this._sharingDataSourceHelper.getApiRoot(this._apiUrlHelper,t,this._getParentListId(t)).segment("UpdateDocumentSharingInfo").toString();return this.getData(function(){return s},function(e){var t=JSON.parse(e).d;return t?{role:t.UpdateDocumentSharingInfo.results[0].CurrentRole,success:t.UpdateDocumentSharingInfo.results.map(function(e){return e.Status}).reduce(function(e,t){return e&&t},!0)}:null},"UpdatePermissionsMultiple",function(){var t;switch(n){case os.none:t=0;break;case os.view:t=1;break;case os.review:t=6;break;case os.edit:t=2;break;default:t=1}var s={userRoleAssignments:e.map(function(e){return{UserId:e.userId,Role:t}}),validateExistingPermissions:!1,additiveMode:!1,sendServerManagedNotification:r,customMessage:i,includeAnonymousLinksInNotification:!1,propagateAcl:!0};return JSON.stringify(s)})};t.prototype.parseRawSharingInformation=function(e,t){return this._parseGetSharingInformationResponse(e,t)};t.prototype.unshareLink=function(e){var t=this._sharingDataSourceHelper.getApiRoot(this._apiUrlHelper,e.item,this._getParentListId(e.item)).segment("UnshareLink").toString();return this.getData(function(){return t},function(e){return!!JSON.parse(e).d},"UnshareLink",function(){var t={linkKind:e.kind,shareId:e.shareId};return JSON.stringify(t)})};t.prototype.shareLink=function(e){var t=e.settings,n=e.items[0],r=this._sharingDataSourceHelper.getApiRoot(this._apiUrlHelper,e.items[0],this._getParentListId(n)).segment("ShareLink").toString();return this.getData(function(){return r},function(e){var t=JSON.parse(e);if(t.d){mo()&&window.sessionStorage.setItem("ShareLink_Response",JSON.stringify(t.d));return(function(e){if(e.d){return bo(e.d.ShareLink.sharingLinkInfo)}})(t)}if(t.error)return{error:hs.generic,errorMessage:t.error.message}},"ShareLink",function(){var n=null;t.expiration&&(n=Ii(t.expiration.toString()));var r=null;if(e.recipients&&e.recipients.length>0){r=[];for(var i=0,s=e.recipients;i<s.length;i++){var o=s[i];o.rawPersonData&&r.push(o.rawPersonData)}}var u=null;if(t.inviteesToRemove&&t.inviteesToRemove.length>0){u=[];for(var a=0,f=t.inviteesToRemove;a<f.length;a++){var l=f[a];u.push({id:l.id,loginName:l.loginName,name:l.primaryText,isExternal:l.isExternal,principalType:l.type,email:l.email})}}var c={request:{createLink:!!t.createLink,settings:{allowAnonymousAccess:t.allowAnonymousAccess,trackLinkUsers:t.trackLinkUsers,linkKind:t.sharingLinkKind,expiration:n,role:t.role,restrictShareMembership:t.restrictShareMembership,updatePassword:t.updatePassword,password:t.password,shareId:t.shareId,description:t.description,scope:t.scope}}};u&&(c.request.settings.inviteesToRemove={results:u});if(r&&r.length>0){c.request.peoplePickerInput=JSON.stringify(r);var h=e.emailData,p=e.emailSubject;void 0!==h&&void 0===p&&(c.request.emailData={body:e.emailData,subject:""});void 0===h&&void 0!==p&&(c.request.emailData={body:"",subject:e.emailSubject});void 0!==h&&void 0!==p&&(c.request.emailData={body:e.emailData,subject:e.emailSubject})}var d=e.settings.shareId;if(d){c.request.settings.shareId=d;c.request.emailData={body:""}}var v=JSON.stringify(c);mo()&&window.sessionStorage.setItem("ShareLink_Payload",v);return v},"POST",this._sharingContextInformation&&this._sharingContextInformation.listId&&xo(this._sharingContextInformation.listId.slice(1,-1))?{"X-SP-REQUESTRESOURCES":"WEBPROPERTIES, list=".concat(this._sharingContextInformation.listId.slice(1,-1))}:null,null,null,!0,void 0,void 0,this._getExtraData()).catch(function(e){if(go)return{error:e};var t="";try{t=JSON.stringify(e)}catch(e){}return{error:hs.generic,debugErrorMessage:t}})};t.prototype.setAddressBarLinkCapability=function(e,t){var n=this._sharingDataSourceHelper.getApiRoot(this._apiUrlHelper,e,this._getParentListId(e)).segment("SetAddressBarLinkCapability").toString();return this.getData(function(){return n},function(e){return!!JSON.parse(e).d},"SetAddressBarLinkCapability",function(){var e={enable:t};return JSON.stringify(e)})};t.prototype.shareLinkExpress=function(e,t,n){var r=this._apiUrlHelper.build().webByUrl({webUrl:this._pageContext.webAbsoluteUrl}).method("Lists",e).method("GetItemById",t).segment("ShareLinkExpress").toString();return this.getData(function(){return r},function(e){var t=JSON.parse(e);return t.d?bo(t.d.ShareLinkExpress.sharingLinkInfo):t.error?{error:hs.generic,errorMessage:t.error.message}:void 0},"ShareLinkExpress",function(){var e={expressOption:n};return JSON.stringify(e)},"POST",null,null,null,!0,void 0,void 0,this._getExtraData()).catch(function(e){if(go)return{error:e};var t="";try{t=JSON.stringify(e)}catch(e){}return{error:hs.generic,debugErrorMessage:t}})};t.prototype.getClientId=function(){var e=Number(this._pageContext.webTemplate);if((function(e){if(e.featureInfo){var t=new vo(e.featureInfo);if(t){var n=t.get("SitePagePublishing");return!!n&&n.enabled}return!1}return Number(e.webTemplate)===Zs.sitePagePublishing})(this._pageContext))return vs.sharePoint;switch(e){case Zs.teamSite:case Zs.group:case Zs.subgroup:case Zs.sitePagePublishing:return vs.sharePoint;case Zs.mySite:return vs.odb;default:return vs.sharePoint}};t.prototype._shareLink=function(e,t){var n=this,r=t.items[0],i=this._sharingDataSourceHelper.getApiRoot(this._apiUrlHelper,r,this._getParentListId(r)).segment("ShareLink").toString();return this.getData(function(){return i},function(n){return{statusCode:0,errorMessage:"",people:e,itemId:t.items[0].id}},"ShareLink",function(){for(var r=[],i=0,s=e;i<s.length;i++){var o=s[i];r.push(o.rawPersonData)}var u=null;t.expiration&&(u=Ii(t.expiration));var a={request:{peoplePickerInput:JSON.stringify(r),emailData:{body:t.message,subject:t.subject},linkKind:n._getSharingLinkKind(t.linkType,t.roleValue),createLink:!0,expiration:u}};return JSON.stringify(a)})};t.prototype._getSharingLinkKind=function(e,t){var n=ps.direct;e===ss.Edit?n=ps.anonymousEdit:e===ss.View?n=ps.anonymousView:e===ss.Organization&&(n=t===rs.Edit.toString()?ps.organizationEdit:ps.organizationView);return n};t.prototype._parseGetSharingInformationResponse=function(e,t){if(e.error)return{error:hs.generic,anonymousLinkExpirationRestrictionDays:void 0,anyoneLinkTrackUsers:void 0,canAddExternalPrincipal:void 0,canAddInternalPrincipal:void 0,canRequestAccessForGrantAccess:void 0,canManagePermissions:void 0,defaultSharingLink:void 0,defaultShareLinkScope:void 0,defaultShareLinkToExistingAccess:void 0,hasInheritedLinks:void 0,isShared:void 0,item:void 0,fileExtension:void 0,sharedObjectType:void 0,sharingLinks:void 0,sharingPrincipals:void 0,peoplePickerSettings:void 0,userDisplayName:void 0,blockPeoplePickerAndSharing:void 0,userRole:void 0,defaultShareLinkPermission:void 0,sharingAbilities:void 0,defaultLinkKind:void 0,directLink:void 0,hasPermissionsInformation:void 0,sharingLinkTemplates:void 0,webTemplateId:void 0,itemUniqueId:void 0,outlookEndpointHostUrl:void 0,webUrl:void 0,userPhotoCdnBaseUrl:void 0,permissionsInformation:void 0};var n=e.d,r=n.userPhotoCdnBaseUrl,i=n.permissionsInformation,s=!!i,o=!!n.sharingLinkTemplates,u=s,a=!!n.addressBarLinkSettings,f=s?this._parseSharingLinks(i.links.results,n.directUrl,r):[],l=o?this._parseSharingLinkTemplates(n.sharingLinkTemplates.templates.results,r):[],c=a?n.addressBarLinkSettings:null,h=[];if(s){var p=i.siteAdmins.results,d=i.principals.results,v=this._parseSharingPrincipals(p,void 0,r);v.forEach(function(e){return e.isSiteAdmin=!0});var m=this._parseSharingPrincipals(d,void 0,r);h=v.concat(m)}var g=this._getDefaultSharingLink(n.defaultLinkKind,n.defaultShareLinkScope,f,n.sharingAbilities),y={name:this._sharingContextInformation?this._sharingContextInformation.itemName:void 0,childCount:this._sharingContextInformation?this._sharingContextInformation.itemCount:void 0,hasDlpPolicy:this._sharingContextInformation?this._sharingContextInformation.hasDlpPolicy:void 0,extension:this._sharingContextInformation&&this._sharingContextInformation.itemExtension?this._sharingContextInformation.itemExtension:n.fileExtension,appmap:this._sharingContextInformation?this._sharingContextInformation.itemAppmap:void 0,itemType:this._sharingContextInformation?this._sharingContextInformation.itemType:void 0};if(t){var b=t.properties,w=b.ItemChildCount?parseInt(b.ItemChildCount,10):0,E=b.FolderChildCount?parseInt(b.FolderChildCount,10):0,S=t.type===Os.OneNote?0:w+E,x=this._isPolicyTipFlagSet(t.policyTip,Hs.blockSharing);y={name:t.name,childCount:S,hasDlpPolicy:x,extension:t.extension,appmap:t.appMap,itemType:t.type}}var T=n.canRequestAccessForGrantAccess||n.canAddInternalPrincipal||f.length>1;return{anonymousLinkExpirationRestrictionDays:0===n.anonymousLinkExpirationRestrictionDays?-1:n.anonymousLinkExpirationRestrictionDays,anyoneLinkTrackUsers:n.anyoneLinkTrackUsers,canAddExternalPrincipal:n.canAddExternalPrincipal,canAddInternalPrincipal:n.canAddInternalPrincipal,defaultShareLinkToExistingAccess:n.defaultShareLinkToExistingAccess,canManagePermissions:T,defaultSharingLink:g,fileExtension:n.fileExtension,sharedObjectType:n.sharedObjectType,hasInheritedLinks:!!u&&n.permissionsInformation.hasInheritedLinks,isShared:this._computeIsShared(f,h),item:y,sharingLinks:f,sharingPrincipals:h,peoplePickerSettings:n.pickerSettings,userDisplayName:this._pageContext.userDisplayName,blockPeoplePickerAndSharing:n.blockPeoplePickerAndSharing,requiresAccessApproval:!n.canAddInternalPrincipal&&n.canRequestAccessForGrantAccess,canRequestAccessForGrantAccess:n.canRequestAccessForGrantAccess,userRole:n.currentRole,defaultShareLinkPermission:n.defaultShareLinkPermission,sharingAbilities:n.sharingAbilities,defaultLinkKind:n.defaultLinkKind,defaultShareLinkScope:n.defaultShareLinkScope,directLink:{allowsAnonymousAccess:!1,audience:bs.existing,expiration:null,description:null,isActive:!0,isEdit:!0,principals:[],invitees:[],shareId:"",sharingLinkKind:ps.direct,sharingScope:ms.existing,url:n.directUrl,updatePassword:!1,password:"",passwordLastModifiedBy:null},hasPermissionsInformation:!!n.permissionsInformation,sharingLinkTemplates:l,addressBarLinkSettings:c,webTemplateId:n.webTemplateId,itemUniqueId:n.itemUniqueId,customizedExternalSharingServiceUrl:n.customizedExternalSharingServiceUrl||"",siteIBSegmentIDs:n.siteIBSegmentIDs?n.siteIBSegmentIDs.results:null,siteIBMode:n.siteIBMode,enforceIBSegmentFiltering:!!n.enforceIBSegmentFiltering,enforceSPOSearch:!!n.enforceSPOSearch,outlookEndpointHostUrl:n.outlookEndpointHostUrl?n.outlookEndpointHostUrl:null,webUrl:n.webUrl?n.webUrl:null,isStubFile:!!n.isStubFile&&n.isStubFile,userPhotoCdnBaseUrl:n.userPhotoCdnBaseUrl,permissionsInformation:n.permissionsInformation}};t.prototype._computeIsShared=function(e,t){for(var n=!1,r=0,i=e;r<i.length;r++){var s=i[r];s.isActive&&s.sharingLinkKind!==ps.direct&&(n=!0)}n||(n=t.length>0);return n};t.prototype._parseSharingLinks=function(e,t,n){var r=this,i=(e=e.filter(function(e){return!e.isInherited})).map(function(e){var t,i=e.linkDetails;t=void 0!==i.Scope&&i.Scope!==ms.uninitialized?Eo(i.LinkKind,i.Scope):wo(i.LinkKind,i.AllowsAnonymousAccess,i.RestrictedShareMembership);return{allowsAnonymousAccess:i.AllowsAnonymousAccess,hasPassword:i.RequiresPassword,blockDownload:i.BlocksDownload,description:i.Description,audience:t,expiration:i.Expiration?new Date(i.Expiration):null,isActive:i.IsActive,isEdit:So(i.LinkKind)||i.IsEditLink,isReview:i.IsReviewLink,isManageList:i.IsManageListLink,principals:r._parseSharingPrincipals(e.linkMembers.results,i.LinkKind,n),invitees:r._parseLinkInvitees(i,n),shareId:i.ShareId,sharingLinkKind:i.LinkKind,sharingScope:i.Scope,url:i.Url,updatePassword:i.UpdatePassword,password:i.Password,passwordLastModifiedBy:r._parseSharingPrincipal(i.PasswordLastModifiedBy,n),isCreateOnlyLink:i.IsCreateOnlyLink,isAddressBarLink:i.IsAddressBarLink,isUnhealthy:i.IsUnhealthy,status:i.SharingLinkStatus,created:i.Created,trackLinkUsers:i.TrackLinkUsers}});(i=i.sort(function(e,t){return r._getLinkRanking(t)-r._getLinkRanking(e)})).push({allowsAnonymousAccess:!1,audience:bs.specificPeople,expiration:null,description:null,isActive:!0,isEdit:!0,principals:[],invitees:[],shareId:"",sharingLinkKind:ps.direct,sharingScope:ms.specificPeople,url:t,updatePassword:!1,password:"",passwordLastModifiedBy:null});return i};t.prototype._getLinkRanking=function(e){var t=0;switch(e.audience){case bs.anyone:t+=30;break;case bs.organization:t+=20;break;case bs.specificPeopleFlex:t+=10}e.isEdit?t+=3:e.isReview?t+=2:e.isEdit||e.isReview||e.blockDownload||(t+=1);return t};t.prototype._getSharingLinkTemplateRanking=function(e){var t=0;if(e&&e.linkDetails&&e.linkDetails.shareId){switch(e.scope){case gs.anyone:t+=30;break;case gs.organization:t+=20;break;case gs.specificPeople:t+=10}switch(e.role){case os.edit:t+=3;break;case os.review:t+=2;break;case os.view:t+=1}}return t};t.prototype._parseSharingLinkTemplates=function(e,t){var n=this,r=e.map(function(e){var r,i=e.linkDetails;if(null!==i){var s=void 0;s=void 0!==i.Scope&&i.Scope!==ms.uninitialized?Eo(i.LinkKind,i.Scope):wo(i.LinkKind,i.AllowsAnonymousAccess,i.RestrictedShareMembership);r={allowsAnonymousAccess:i.AllowsAnonymousAccess,hasPassword:i.RequiresPassword,blockDownload:i.BlocksDownload,audience:s,expiration:i.Expiration?new Date(i.Expiration):null,description:i.Description,isActive:i.IsActive,isEdit:So(i.LinkKind)||i.IsEditLink,isReview:i.IsReviewLink,principals:void 0,invitees:n._parseLinkInvitees(i,t),shareId:i.ShareId,sharingLinkKind:i.LinkKind,sharingScope:i.Scope,url:i.Url,updatePassword:i.UpdatePassword,password:i.Password,passwordLastModifiedBy:n._parseSharingPrincipal(i.PasswordLastModifiedBy,t)}}return{linkDetails:r,passwordProtected:e.passwordProtected,role:e.role,scope:e.scope,shareKind:e.shareKind}});return r=r.sort(function(e,t){return n._getSharingLinkTemplateRanking(t)-n._getSharingLinkTemplateRanking(e)})};t.prototype._parseLinkInvitees=function(e,t){var n=this,r=e.Invitations;if(!r)return[];for(var i=[],s=0,o=r.results;s<o.length;s++){var u=o[s];u&&u.invitee&&i.push(u.invitee)}return i.map(function(e){return{id:e.id,email:e.email,primaryText:e.name,isExternal:e.isExternal,loginName:e.loginName,role:null,secondaryText:e.jobTitle,type:e.principalType,imageUrl:oo(n._pageContext.webAbsoluteUrl,e.email,t)}})};t.prototype._parseSharingPrincipals=function(e,t,n){var r=this,i=e.map(function(e){var i=e.principal;i||(i=e);var s={id:i.id,isExternal:i.isExternal,loginName:i.loginName,primaryText:i.name,role:e.role,secondaryText:i.jobTitle,type:i.principalType,imageUrl:oo(r._pageContext.webAbsoluteUrl,i.email,n),email:i.email};t&&(s.sharingLinkKind=t);return s});return js.getUniqueSharingPrincipals(i)};t.prototype._getExtraData=function(){var e;this._sharingContextInformation&&(e={clientId:this._sharingContextInformation.clientId,mode:Es[this._sharingContextInformation.mode]});return e};t.prototype._parseSharingPrincipal=function(e,t){if(e){var n=e.principal;n||(n=e);return{id:n.id,isExternal:n.isExternal,loginName:n.loginName,primaryText:n.name,role:e.role,secondaryText:n.jobTitle,type:n.principalType,imageUrl:oo(this._pageContext.webAbsoluteUrl,n.email,t),email:n.email}}return null};t.prototype._getDefaultSharingLink=function(e,t,n,r){r.peopleSharingLinkAbilities&&(r.peopleSharingLinkAbilities.canManageEditLink.enabled||r.peopleSharingLinkAbilities.canManageReadLink.enabled)&&e===ps.direct&&(e=ps.flexible);var i=e,s=t;if(r.anyoneLinkAbilities){i!==ps.anonymousEdit||r.anyoneLinkAbilities.canManageEditLink.enabled||(i=ps.anonymousView);i!==ps.anonymousView||r.anyoneLinkAbilities.canManageReadLink.enabled||(i=ps.organizationEdit);s!==ms.anyone||r.anyoneLinkAbilities.canManageReadLink.enabled||r.anyoneLinkAbilities.canManageReadLink.enabled||(s=ms.organization)}else{i!==ps.anonymousEdit||r.anonymousLinkAbilities.canManageEditLink.enabled||(i=ps.anonymousView);i!==ps.anonymousView||r.anonymousLinkAbilities.canManageReadLink.enabled||(i=ps.organizationEdit);s!==ms.anyone||r.anonymousLinkAbilities.canManageReadLink.enabled||r.anonymousLinkAbilities.canManageReadLink.enabled||(s=ms.organization)}if(r.organizationLinkAbilities){i!==ps.organizationEdit||r.organizationLinkAbilities.canManageEditLink.enabled||(i=ps.organizationView);i!==ps.organizationView||r.organizationLinkAbilities.canManageReadLink.enabled||(i=ps.direct);s!==ms.organization||r.organizationLinkAbilities.canManageReadLink.enabled||r.organizationLinkAbilities.canManageEditLink.enabled||(s=ms.specificPeople)}r.peopleSharingLinkAbilities&&(s!==ms.specificPeople||r.peopleSharingLinkAbilities.canManageReadLink.enabled||r.peopleSharingLinkAbilities.canManageEditLink.enabled||(s=ms.existing));var o=void 0;e===ps.anonymousEdit||e===ps.anonymousView?o=bs.anyone:e===ps.organizationEdit||e===ps.organizationView?o=bs.organization:e===ps.direct?o=bs.specificPeople:e===ps.flexible&&(o=bs.specificPeopleFlex);return{allowsAnonymousAccess:void 0,audience:o,expiration:void 0,description:void 0,isActive:!0,isEdit:void 0,principals:void 0,shareId:void 0,sharingLinkKind:i,sharingScope:s,url:void 0,invitees:void 0,updatePassword:!1,password:"",passwordLastModifiedBy:void 0}};t.prototype._isPolicyTipFlagSet=function(e,t){return e&&(e&t)===t};return t})(ls);function bo(e){var t;t=void 0!==e.Scope&&e.Scope!==ms.uninitialized?Eo(e.LinkKind,e.Scope):wo(e.LinkKind,e.AllowsAnonymousAccess,e.RestrictedShareMembership);var n=e.Expiration?new Date(e.Expiration):void 0;return{link:{allowsAnonymousAccess:e.AllowsAnonymousAccess,audience:t,expiration:n,description:e.Description,isActive:e.IsActive,isEdit:So(e.LinkKind)||e.IsEditLink,principals:null,invitees:null,hasPassword:e.RequiresPassword,shareId:e.ShareId,sharingLinkKind:e.LinkKind,sharingScope:e.Scope,url:e.Url,updatePassword:e.UpdatePassword,password:e.Password,passwordLastModifiedBy:e.PasswordLastModifiedBy,shareTokenString:e.ShareTokenString,isAddressBarLink:e.IsAddressBarLink,isUnhealthy:e.IsUnhealthy,status:e.SharingLinkStatus,created:e.Created}}}function wo(e,t,n){return e===ps.anonymousEdit||e===ps.anonymousView?bs.anyone:e===ps.organizationEdit||e===ps.organizationView?bs.organization:e===ps.direct?bs.specificPeople:e===ps.flexible?t?bs.anyone:!1===n?bs.organization:bs.specificPeopleFlex:void 0}function Eo(e,t){return e===ps.anonymousEdit||e===ps.anonymousView?bs.anyone:e===ps.organizationEdit||e===ps.organizationView?bs.organization:e===ps.direct?bs.specificPeople:e===ps.flexible?t==ms.anyone?bs.anyone:t===ms.organization?bs.organization:bs.specificPeopleFlex:void 0}function So(e){return e===ps.anonymousEdit||e===ps.organizationEdit||e!==ps.anonymousView&&e!==ps.organizationView&&null}function xo(e){"{"===e[0]&&(e=e.substring(1,e.length-1));return/^(\{){0,1}[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}(\}){0,1}$/gi.test(e)&&"00000000-0000-0000-0000-000000000000"!=e}var To,No=n(279),Co=n(183),ko=n(44),Lo=(function(){function e(e,t,n){this._hostSessionId=n;this._signInTimeWhenPageLoad=this.getSignInTimeInCookie();var r=new o.e({name:"Mast"});try{var i={appFriendlyName:e,switchAccountTitle:ko.f,switchAccountDescriptionWithUpn:ko.o,switchAccountDescriptionWithoutUpn:ko.u,switchAccountSubDescription:ko.a,switchAccountButtonText:ko.s,signOutTitle:ko.i,signOutDescriptionWithUpn:ko.t,signOutDescriptionWithoutUpn:ko.n,signOutSubDescription:ko.r,signOutButtonText:ko.e},s={appFriendlyName:e,enablePageRedirect:!0,postAccountSwitchRedirectUri:"".concat("https://www.office.com/launch","/").concat(e.toLowerCase()),postLogoutRedirectUri:t,mastPromptLocalizedStrings:i,appendLoginHint:!0,enableConsoleLogging:!1,enableAutomaticPopup:!1};this._mast=new Co.MultiAccountSessionTracker(s);this.attachLoadMastPromptJsCallback();r.end({resultType:u.e.Success,resultCode:"Success",extraData:{HostSessionId:this._hostSessionId}})}catch(e){r.end({resultType:u.e.Failure,resultCode:"Error",extraData:{Exception:e,HostSessionId:this._hostSessionId}})}}e.prototype.checkAccountState=function(){if(void 0!==window.MastInteraction&&window.MastInteraction.ShowPrompt){var e=new o.e({name:"MastPrompt"});try{var t=this.getSIMICookie();if(!t){e.end({resultType:u.e.ExpectedFailure,resultCode:"SimiCookie.ReadError",extraData:{HostSessionId:this._hostSessionId}});return}var n=t?Number(JSON.parse(atob(t)).st):0;if(n&&n>this._signInTimeWhenPageLoad){window.MastInteraction.ShowPrompt("SwitchAccount");e.end({resultType:u.e.Success,resultCode:"MastPrompt.Show",extraData:{HostSessionId:this._hostSessionId}})}else e.end({resultType:u.e.Success,resultCode:"MastPrompt.Ignore",extraData:{HostSessionId:this._hostSessionId}})}catch(t){e.end({resultType:u.e.Failure,resultCode:"SimiCookie.ParseError",extraData:{HostSessionId:this._hostSessionId}});return}}};e.prototype.getSIMICookie=function(){for(var e=document.cookie.split(";"),t=0;t<e.length;t++){var n=e[t].split("=");if("SIMI"===n[0].trim())return n[1]}};e.prototype.getSignInTimeInCookie=function(){try{var e=this.getSIMICookie();return e&&e?Number(JSON.parse(atob(e)).st):0}catch(e){return 0}};e.prototype.loadMultiAccountSessionTrackerPrompt=function(e){n.ee(0,287,7).then(function(){return e()})};e.prototype.attachLoadMastPromptJsCallback=function(){window.LoadMastPromptJs={Download:this.loadMultiAccountSessionTrackerPrompt}};return e})(),Ao=new Set(["WacFailed.DocumentIsIRMProtected","WacFailed.5243086","WacFailed.5243055","5374037","5373972","5373968","5373967","5373965","5373961","5243101","29"]);function Oo(e){return Ao.has(e)}(function(e){e.COB_UpdateUI="COB_UpdateUI";e.COB_SyncPageContext="COB_SyncPageContext"})(To||(To={}));function Mo(){return N.t.isActivated("51eceecb-1a77-4a65-8178-be7d2a11bd82")}var _o=(function(e){Object(s.n)(t,e);function t(t){var n=t.contextProvided,r=Object(s.i)(t,["contextProvided"]),i=new y,o=i.osName,u=i.osVersion,a=Object(s.e)({OSName:o,OSVersion:u,UserAgent:navigator.userAgent},n);return e.call(this,Object(s.e)({context:a,logStartEvents:!0},r))||this}return t})((function(e){return(function(e){Object(s.n)(t,e);function t(t){var n=new y,r=t.context,i=void 0===r?{}:r;return e.call(this,Object(s.e)(Object(s.e)({language:window.navigator.language},t),{context:Object(s.e)({BrowserIsMobile:n.isMobile,BrowserIsPWA:n.isPWA,BrowserMajVer:n.browserMajor,BrowserMinVer:n.browserMinor,BrowserName:n.browserName,BrowserUserAgent:n.userAgent,OSName:n.osName,OSVersion:n.osVersion},i)}))||this}return t})(e)})(wt));var Do=n(79);function Po(e){var t=Vt(),r=t.ariaEnvironment,i=t.manifest,o=t.version,u=e.pageContext,a=e.clientName,f=Number(u.webTemplate)===$s.mySite;(function(e){var t=e.pageContext,n=e.customerContext,r=Object(s.i)(e,["pageContext","customerContext"]),i=t.CorrelationId,o=t.systemUserKey,u=t.userLoginName,a=t.farmName,f=t.farmLabel,l=t.siteSubscriptionId,c=t.SideBySideToken,h=t.ariaCollectorUrl,p=t.isAnonymousGuestUser,d=Object(s.e)({UserId:o,FarmName:a,FarmLabel:f,AccountType:u?ee.e[ee.e.Business]:ee.e[ee.e.BusinessAnonymous],TenantID:l,ServerGU:c,Session:Mo()?void 0:i,SessionId:Mo()?void 0:i},n);return new _o(Object(s.e)({contextProvided:d,disableCookies:p,ariaLogConfiguration:{collectorUrl:h}},r))})({ariaLoader:function(){return n.ee(0,"aria-lib")},pageContext:u,customerContext:{Manifest:i,Version:o,ClientName:a},tenantToken:"prod"===r?f?Gt:Kt.prod:f?Qt:Kt.ppe}).attach(Object(Do.e)())}var Ho,Bo=(function(){function e(e,t,r,i){var s=this;this.endUpsell=function(){if(s._upsellElementId){s.removeElement(s._upsellElementId);s._upsellElementId=""}if(s._upsellOverlayElementId){s.removeElement(s._upsellOverlayElementId);s._upsellOverlayElementId=""}};this._appName=e;this._wopiDocContext=t;this._pageContext=r;this._isCreateNew=i;this._resetUrlWasCalled=!1;this._clientName="WACHost.".concat(e);Yt("DocsNext",{ariaLoader:function(){return n.ee(0,"aria-lib")},context:{ClientName:this._clientName,Scenario:t.WopiAction},pageContext:r});this._pageRequestUrl=window.location.href;Po({pageContext:r,clientName:e})}e.prototype.sendPerfTelemetry=function(e,t){try{new Y(this._appName,this._isCreateNew).logRUMOneForDocAspx(this._wopiDocContext,e,t)}catch(e){window.console.log("Failed to upload log. Error: "+e)}};e.prototype.setWacDataCenterCookie=function(e){if(e&&e.hasOwnProperty("officeAppEndpoint")){var t=new Date;t.setTime(t.getTime()+15552e6);var n="; expires="+t.toUTCString(),r="WacDataCenter="+e.officeAppEndpoint+n+"; path=/";document.cookie=this._appName+r;document.cookie=r}};e.prototype.logWacInitializationQoS=function(e,t,n,r,i){void 0===i&&(i="");var s,u=new o.e({name:"UnifiedApp.DocV2.Open",startTimeOverride:e});this._docOpenLogger=new No.e({scenario:"DocOpen",perfGoalInMs:3e4,extraData:{clientId:this._clientName}});if(i)try{s=JSON.parse(i)}catch(e){s=null}(Oo(r)||s&&s.errorCode&&Oo(s.errorCode.toString()))&&(t=2);if(fr.getBrowserInformation().browser===er&&0!==t){t=2;n+="- IE"}u.end({resultType:this.convertResultType(t),resultCode:n,error:r,extraData:{HostSessionId:this._wopiDocContext.SessionId,FileSize:this._wopiDocContext.FileSize,errorObject:i}});this._docOpenLogger.end({resultType:this.convertResultType(t),errorCode:n,extraData:{HostSessionId:this._wopiDocContext.SessionId,FileSize:this._wopiDocContext.FileSize,errorInfo:r,action:this._wopiDocContext.WopiAction}})};e.prototype.logScriptQos=function(e,t,n){var r=new o.e({name:"UnifiedApp.DocV2.PageScript",startTimeOverride:e});t?r.end({resultType:u.e.Failure,resultCode:"Page Scripts Failed",error:t}):r.end({resultType:u.e.Success,resultCode:"Page Scripts Completed",error:n})};e.prototype.postLogging=function(e){this.resetUrl(e);this.updateUIForCOB();this.syncPageContextForCOB();this.renderUpsell();this.initializeWopiMessageHandler(window._spPageContextInfo);this.initializeMastHandler()};e.prototype.reinitializeWopiMessageHandler=function(){this._wopiMessageHandler=null;this.initializeWopiMessageHandler(window._spPageContextInfo)};e.prototype.resetUrl=function(e){if(!this._resetUrlWasCalled){this._resetUrlWasCalled=!0;var t=window.docTypeHint;if(t&&history&&history.replaceState)try{var n=this.getCurrentUri(),r=n.getQueryParameter("originalPath"),i=this.Base64UrlDecode(r);if(i)history.replaceState({reason:"SPRedirect"},"SPRedirect",i);else{var s=n.getPath(!1);"/:"!==s.substring(0,2)&&n.setPath("/:"+t+":/r"+n.getPath());n.removeQueryParameter("CT");n.removeQueryParameter("OR");n.removeQueryParameter("slrid");n.removeQueryParameter("sdata");n.removeQueryParameter("xsdata");if(!N.t.isActivated("a8ca0c6f-3158-46a8-a56f-5de0030775db","3/26/2022","Killswitch to replace sourcedoc path to guid")&&En(pn)){var o=n.getQueryParameter("sourcedoc");if(o&&o.startsWith("/")&&!o.endsWith("}")&&this._wopiDocContext.DocUniqueId){var u=this._wopiDocContext.DocUniqueId.lastIndexOf("_");if(-1!==u&&u!==this._wopiDocContext.DocUniqueId.length-1){var a=this._wopiDocContext.DocUniqueId.substring(u+1).toUpperCase();n.setQueryParameter("sourcedoc","{"+a+"}")}}}this._wopiDocContext&&this._wopiDocContext.ResetUriToAddressBarLink&&s.indexOf("guestaccess.aspx")<0&&window.self===window.top?this.resetToAddressBarLink(n,e):history.replaceState({reason:"SPRedirect"},"SPRedirect",n.toString())}}catch(e){window.console.log("Failed to reset Url. Error: "+e)}}};e.prototype.postMessageToCOB=function(e,t){e&&t&&window.parent.postMessage({messageId:e.toString(),values:t},"https://onedrive.live.com")};e.prototype.initializeWopiMessageHandler=function(e){var t=this;if(this._wopiMessageHandler)this.log("A WopiMessageHandler already created. Skip.");else{var n=document.getElementById("WebApplicationFrame");if(n){var r=document.getElementById("ShareDialog");if(r){var i=n.contentWindow,o=this.getTargetOrigin(this._wopiDocContext),u=null==e.isAnonymousGuestUser||e.isAnonymousGuestUser,a=new Ar(this.getHostUrl(),this.getVRoomSiteId(),this._wopiDocContext.ListId),f=new Un(i,o),l=new bi({parent:r,shareEventHandler:f,pageContext:this._pageContext,wopiDocContext:this._wopiDocContext}),c=new zn(i,o),h=new Fi({parent:r,webUrl:this._pageContext.webAbsoluteUrl,layoutsUrl:this._pageContext.layoutsUrl,listId:this._wopiDocContext.ListId,parentFolderUrl:this._wopiDocContext.ParentFolderFullUrl,listItemId:this._wopiDocContext.ListItemId.toString(),pickerEventHandler:c,hostSessionId:this._wopiDocContext.SessionId,clientName:this._clientName});this._wopiMessageHandler=new Wn({allowedOrigins:this._wopiDocContext.AllowedOrigins,target:i,targetOrigin:o,listItemId:this._wopiDocContext.ListItemId,isShareByLinkGuestUser:u,supportSingleSignOn:e.isSPO,wacDataSource:a,shareDialogHelper:l,pickerDialogHelper:h,hostUrl:this.getHostUrl(),parentFolderFullUrl:this._wopiDocContext.ParentFolderFullUrl,wacHostWindow:window,sharingLinkTokenProvider:this._sharingLinkTokenProvider,hostSessionId:this._wopiDocContext.SessionId,userId:this._wopiDocContext.UserId,postCAAEMessageTargetOrigin:this._pageContext.webAbsoluteUrl,loginHint:e.userLoginName,handleFileNameChange:function(e){t._wopiDocContext=Object(s.e)(Object(s.e)({},t._wopiDocContext),{FileName:e});l.handleContextChange({pageContext:t._pageContext,wopiDocContext:t._wopiDocContext})}})}else this.log("Cannot find the parent elment for sharing dialog. Skip.")}else this.log("Cannot find the iframe for WAC. Skip.")}};e.prototype.initializeMastHandler=function(){if(ne.e.isFeatureEnabled({ODB:60409})){if(this._mastMessageHandler)return;this._mastMessageHandler=new Lo(this._appName,this.getHostUrl(),this._wopiDocContext.SessionId);window.addEventListener("visibilitychange",this._checkSwitchingAccount.bind(this))}};e.prototype._checkSwitchingAccount=function(){"visible"===document.visibilityState&&this._mastMessageHandler.checkAccountState()};e.prototype.getCurrentUri=function(){this._currentUri||(this._currentUri=new B(this._pageRequestUrl,{queryCaseInsensitive:!0}));return this._currentUri};e.prototype.getVRoomSiteId=function(){return(this.getCurrentUri().getHost()+","+this._pageContext.siteId+","+this._pageContext.webId).replace(/[{}]/g,"")};e.prototype.getHostUrl=function(){return this.getCurrentUri().getLeftPart(A.authority)};e.prototype.getTargetOrigin=function(e){return new B(e.WebAppUrl,{queryCaseInsensitive:!0}).getLeftPart(A.authority)};e.prototype.updateUIForCOB=function(){var e=Fn();if(!N.t.isActivated("b3119679-72ad-4288-bc5f-84a4bbc02f25","04/01/2022","Killswitch to update UI for COB")&&En(dn)&&e){var t=document.head.querySelector('link[rel="shortcut icon"]'),n=this.getCurrentUri();this.postMessageToCOB(To.COB_UpdateUI,{title:null===document||void 0===document?void 0:document.title,faviconLink:null==t?void 0:t.href,queryUrl:null==n?void 0:n.getQuery(!0)})}};e.prototype.syncPageContextForCOB=function(){if(Fn()){var e=window._wopiContextJson,t=document.head.querySelector('link[rel="shortcut icon"]'),n=this.getCurrentUri(),r={page:{title:null===document||void 0===document?void 0:document.title,faviconLink:null==t?void 0:t.href,queryUrl:null==n?void 0:n.getQuery(!0)},wopiContext:{WebAppUrl:e.WebAppUrl},item:{id:n.getQueryParameter("sourcedoc"),name:e.FileName,eTag:e.ETag,urls:{dav:"".concat(e.ParentFolderFullUrl,"/").concat(e.FileName)},sharingType:0}};window.parent.postMessage(JSON.stringify({CorrelationId:Date.now()+Math.random(),MessageId:To.COB_SyncPageContext,Values:r}),jn)}};e.prototype.renderUpsell=function(){if(En(xn)){if(new B(this._pageRequestUrl,{queryCaseInsensitive:!0}).getQueryParameter("nav")){var e=this.getUpsellUrl(window.appName);if(e)if(this.isPhoneUA()){this.createUpsellOverlay();this.createUpsell(e,"upsellBannerForPhone")}else if(this.isTabletUA()){this.createUpsellOverlay();this.createUpsell(e,"upsellBannerForPad")}}}};e.prototype.convertResultType=function(e){switch(e){case 0:return u.e.Success;case 2:return u.e.ExpectedFailure;default:return u.e.Failure}};e.prototype.Base64UrlDecode=function(e){var t=e;if(t){switch((t=(t=t.replace(/-/g,"+")).replace(/_/g,"/")).length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:return""}return atob(t)}return""};e.prototype.isPhoneUA=function(){return new RegExp(/ipod|iphone|android.+mobile|windows phone|wpdesktop/).test(navigator.userAgent.toLowerCase())};e.prototype.isTabletUA=function(){return new RegExp(/ipad|android/).test(navigator.userAgent.toLowerCase())};e.prototype.getUpsellUrl=function(e){var t=this.getUpsellType(e),n="";if(t){var r=window._spPageContextInfo;n=r.webAbsoluteUrl+"/"+r.layoutsUrl+"/onedrive.aspx?p=24&officeAppUpsellType="+t}return n};e.prototype.getUpsellType=function(e){return"word"===(e=e.toLocaleLowerCase())||"excel"===e?e:""};e.prototype.createUpsell=function(e,t){var n=document.createElement("div");n.id=t;this._upsellElementId=t;n.className=".od-Wac-Upsell-Tablet";var r=document.createElement("button");r.addEventListener("click",this.endUpsell,!1);var i=document.createElement("p");i.innerHTML="&#x2715;";r.appendChild(i);var s=document.createElement("iframe");s.src=e;n.appendChild(r);n.appendChild(s);document.body.insertBefore(n,document.getElementById("WopiDocWACContainer"))};e.prototype.removeElement=function(e){var t=document.getElementById(e);t&&t.parentNode&&t.parentNode.removeChild(t)};e.prototype.createUpsellOverlay=function(){var e=document.createElement("div");e.id="upsellOverlay";this._upsellOverlayElementId=e.id;e.addEventListener("click",this.endUpsell,!1);document.body.insertBefore(e,document.getElementById("WopiDocWACContainer"))};e.prototype.log=function(e){0};e.prototype.logAddressBarLinkQos=function(e,t,n,r){if(e&&e.documentLoadedTime){new o.e({name:"UnifiedApp.DocV2.AddressBarLink",startTimeOverride:e.documentLoadedTime}).end({resultType:this.convertResultType(t),resultCode:n,error:r})}};e.prototype.resetToAddressBarLink=function(e,t){var n=this;if(this._wopiDocContext&&this._pageContext){if(!this._pageContext.webServerRelativeUrl){var r=new B(this._pageContext.webAbsoluteUrl).getPath();""===r&&(r="/");this._pageContext.webServerRelativeUrl=r}var i=new yo({getParentListId:function(e){return n._wopiDocContext.ListId},pageContext:this._pageContext}),s="OneNote"===window.appName,o=i.shareLinkExpress(this._wopiDocContext.ListId,this._wopiDocContext.ListItemId.toString(),1).then(function(r){var i=null;if(r.link&&r.link.isAddressBarLink&&r.link.shareTokenString){var o=r.link.shareTokenString.split("=");s&&(i={Key:o[0],Value:o[1]});e.setQueryParameter(o[0],o[1]);history.replaceState({reason:"SPRedirect"},"SPRedirect",e.toString());n.logAddressBarLinkQos(t,0,"Success","")}else{history.replaceState({reason:"SPRedirect"},"SPRedirect",e.toString());n.logAddressBarLinkQos(t,2,"No AddressBarLink","shareLinkExpress returned no AddressBarLink")}return i}).catch(function(r){history.replaceState({reason:"SPRedirect"},"SPRedirect",e.toString());console.log(r);n.logAddressBarLinkQos(t,1,"Exception",r);return null});s&&(this._sharingLinkTokenProvider={TokenPromise:o})}};return e})();function jo(){Ho||(Ho=new Bo(window.appName,window._wopiContextJson,window._spPageContextInfo,window.isCreateNew));return Ho}},function(e,t,n){"use strict";n.r(t);n.d(t,"OneDSEndpoint",function(){return r});n.d(t,"EventThrottler",function(){return f});n.d(t,"OneDSHelper",function(){return Bn});n.d(t,"OneDSSink",function(){return Fr});n.d(t,"Sampler",function(){return Ir});n.d(t,"OsPlugin",function(){return Rr});var r;(function(e){e.USGOV_DOD="https://pf.events.data.microsoft.com/OneCollector/1.0/";e.USGOV_DOJ="https://tb.events.data.microsoft.com/OneCollector/1.0/";e.PUBLIC="https://browser.events.data.microsoft.com/OneCollector/1.0/";e.CUSTOMER_CONTENT="https://office-c.events.data.microsoft.com/OneCollector/1.0/";e.EUDB="https://eu-office.events.data.microsoft.com/OneCollector/1.0/"})(r||(r={}));var i=n(5),s=n(29);function o(e,t,n){t&&t.forEach(function(t){if(!t.classification||4===t.classification||1===t.classification||n.customerContentEnabled&&32===t.classification){var r,i;r=n.prependDataToken?"zC."===t.name.substr(0,3)?"zC.Data."+t.name.substr(3):"Data."+t.name:t.name;switch(t.dataType){case 3:i=6;break;case 2:i=4;break;case 4:i=8;break;case 0:e[r]="string"==typeof t.value?t.value.substr(0,25e3):t.value;return;case 1:default:e[r]=t.value;return}var s={value:t.value,propertyType:i};e[r]=s}})}function u(e,t){try{return e()}catch(e){Object(s.e)(1,"1DS Sink",e);return t}}function a(e){return"number"==typeof e}var f=(function(){function e(e,t){this._sinkName=e;this._telemetrySink=t;this.name="EventThrottler";this._totalEventsInLastInterval=0;this._singleEventInLastInterval={};this._eventThrottleReported={};this._lastIntervalStart=Date.now();this._maxNamedEventsPerSecond={}}e.prototype.setSingleEventThrottle=function(e){this._maxSingleEventPerSecond=e};e.prototype.setTotalEventThrottle=function(e){this._maxTotalEventsPerSecond=e};e.prototype.setNamedEventThrottle=function(e,t){this._maxNamedEventsPerSecond[e]=t};e.prototype.processEvent=function(e){var t=e.eventName;if("Office.Telemetry.OTelJS.EventThrottled"===t)return!0;var n=!0;if(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?n=this.applyThrottle(this._singleEventInLastInterval[t],this._maxNamedEventsPerSecond[t],"MaxNamedEventsPerSecond",t):a(this._maxSingleEventPerSecond)&&(n=this.applyThrottle(this._singleEventInLastInterval[t],this._maxSingleEventPerSecond,"MaxSingleEventsPerSecond",t));if(a(this._maxTotalEventsPerSecond)){this._totalEventsInLastInterval++;n&&(n=this.applyThrottle(this._totalEventsInLastInterval,this._maxTotalEventsPerSecond,"MaxTotalEventsPerSecond",t))}return n};e.prototype.applyThrottle=function(e,t,n,r){if(e>t){if(e===t+1&&this._telemetrySink&&!this._eventThrottleReported[r]){this._eventThrottleReported[r]=!0;this._telemetrySink.sendTelemetryEvent({eventName:"Office.Telemetry.OTelJS.EventThrottled",telemetryProperties:{ariaTenantToken:"f998cc5ba4d448d6a1e8e913ff18be94-dd122e0a-fcf8-4dc5-9dbb-6afac5325183-7405",nexusTenantToken:1723},eventFlags:{diagnosticLevel:110},dataFields:[Object(i.i)("SinkName",this._sinkName||""),Object(i.i)("ThrottledEvent.Name",r),Object(i.r)(n,t)]})}Object(s.t)(2,1,function(){return"1DS Sink Event Throttle: Exceeded "+t+" "+n+": "+r});return!1}return!0};return e})(),l=n(0),c=n(66),h=n(8),p=n(88),d=h.r,v=h.t.freeze,m=(h.t.seal,h.t.keys),g=String[h.l],y=g.trim,b=g.endsWith,w=g.startsWith,E=Date[h.l].toISOString,S=Array.isArray,x=h.s.toString,T=h.i.toString,N=T.call(h.t),C=/-([a-z])/g,k=/([^\w\d_$])/g,L=/^(\d+[\w\d_$])/,A=Object.getPrototypeOf;function O(e,t){return typeof e===t}function M(e){return void 0===e||typeof e===h.c}function _(e){return null===e||M(e)}function D(e){return!_(e)}function P(e,t){return!(!e||!h.i.call(e,t))}function H(e){return!(!e||typeof e!==h.f)}function B(e){return!(!e||typeof e!==h.u)}function j(e){var t=e;t&&X(t)&&(t=(t=(t=t.replace(C,function(e,t){return t.toUpperCase()})).replace(k,"_")).replace(L,function(e,t){return"_"+t}));return t}function F(e,t){if(e)for(var n in e)h.i.call(e,n)&&t.call(e,n,e[n])}function I(e,t){var n=!1;e&&t&&!(n=e===t)&&(n=b?e.endsWith(t):(function(e,t){var n=!1,r=t?t.length:0,i=e?e.length:0;if(r&&i&&i>=r&&!(n=e===t)){for(var s=i-1,o=r-1;o>=0;o--){if(e[s]!=t[o])return!1;s--}n=!0}return n})(e,t));return n}function q(e,t){var n=!1;e&&t&&!(n=e===t)&&(n=w?e.startsWith(t):(function(e,t){var n=!1,r=t?t.length:0;if(e&&r&&e.length>=r&&!(n=e===t)){for(var i=0;i<r;i++)if(e[i]!==t[i])return!1;n=!0}return n})(e,t));return n}function R(e,t){return!(!e||!t)&&-1!==e.indexOf(t)}function U(e){return!(!e||"[object Date]"!==x.call(e))}var z=S||function(e){return!(!e||"[object Array]"!==x.call(e))};function W(e){return!(!e||"[object Error]"!==x.call(e))}function X(e){return"string"==typeof e}function V(e){return"number"==typeof e}function $(e){return"boolean"==typeof e}function J(e){var t=!1;if(e&&"object"==typeof e){var n=A?A(e):(function(e){if(e){if(A)return A(e);var t=e.__proto__||e[h.l]||e.constructor;if(t)return t}return null})(e);if(n){n.constructor&&h.i.call(n,"constructor")&&(n=n.constructor);t=typeof n===h.u&&T.call(n)===N}else t=!0}return t}function K(e){if(e)return E?e.toISOString():(function(e){if(e&&e.getUTCFullYear){var t=function(e){var t=String(e);1===t.length&&(t="0"+t);return t};return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+String((e.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"}})(e)}function Q(e,t,n){var r=e.length;try{for(var i=0;i<r&&(!(i in e)||-1!==t.call(n||e,e[i],i,e));i++);}catch(e){}}function G(e,t,n){if(e){if(e.indexOf)return e.indexOf(t,n);var r=e.length,i=n||0;try{for(var s=Math.max(i>=0?i:r-Math.abs(i),0);s<r;s++)if(s in e&&e[s]===t)return s}catch(e){}}return-1}function Y(e,t,n){var r;if(e){if(e.map)return e.map(t,n);var i=e.length,s=n||e;r=new Array(i);try{for(var o=0;o<i;o++)o in e&&(r[o]=t.call(s,e[o],e))}catch(e){}}return r}function Z(e,t,n){var r;if(e){if(e.reduce)return e.reduce(t,n);var i=e.length,s=0;if(arguments.length>=3)r=arguments[2];else{for(;s<i&&!(s in e);)s++;r=e[s++]}for(;s<i;){s in e&&(r=t(r,e[s],s,e));s++}}return r}function ee(e){e&&(e=y&&e.trim?e.trim():e.replace?e.replace(/^\s+|\s+$/g,""):e);return e}var te=!{toString:null}.propertyIsEnumerable("toString"),ne=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function re(e){var t=typeof e;t===h.u||t===h.f&&null!==e||Object(p.n)("objKeys called on non-object");if(!te&&m)return m(e);var n=[];for(var r in e)e&&h.i.call(e,r)&&n.push(r);if(te)for(var i=ne.length,s=0;s<i;s++)e&&h.i.call(e,ne[s])&&n.push(ne[s]);return n}function ie(e,t,n,r){if(d)try{var i={enumerable:!0,configurable:!0};n&&(i.get=n);r&&(i.set=r);d(e,t,i);return!0}catch(e){}return!1}function se(e){return e}function oe(e){v&&F(e,function(e,t){(z(t)||H(t))&&v(t)});return ue(e)}var ue=v||se;function ae(){var e=Date;return e.now?e.now():(new e).getTime()}function fe(e){return W(e)?e.name:""}function le(e,t,n,r,i){var s=n;if(e&&(s=e[t])!==n&&(!i||i(s))&&(!r||r(n))){s=n;e[t]=s}return s}function ce(e){return!e}function he(e){return!!e}function pe(e){throw new Error(e)}function de(e,t){var n=null,r=null;B(e)?n=e:r=e;return function(){var e=arguments;n&&(r=n());if(r)return r[t].apply(r,e)}}function ve(e,t,n,r,i){e&&t&&n&&(!1!==i||M(e[t]))&&(e[t]=de(n,r))}function me(e,t,n,r){e&&t&&H(e)&&z(n)&&Q(n,function(n){X(n)&&ve(e,n,t,n,r)});return e}function ge(e){e&&h.e&&(e=Object(h.t)(Object(h.e)({},e)));return e}function ye(e,t,n,r,i,s){var o=arguments,u=o[0]||{},a=o.length,f=!1,l=1;if(a>0&&$(u)){f=u;u=o[l]||{};l++}H(u)||(u={});for(;l<a;l++){var c=o[l],p=z(c),d=H(c);for(var v in c){var m=p&&v in c||d&&h.i.call(c,v);if(m){var g=c[v],y=void 0;if(f&&g&&((y=z(g))||J(g))){var b=u[v];y?z(b)||(b=[]):J(b)||(b={});g=ye(f,b,g)}void 0!==g&&(u[v]=g)}}}return u}var be=null,we=null,Ee=!1,Se=null,xe=null;function Te(e,t){var n=!1;if(e){try{if(!(n=t in e)){var r=e[h.l];r&&(n=t in r)}}catch(e){}if(!n)try{n=!M((new e)[t])}catch(e){}}return n}function Ne(e){var t=Object(p.e)();return t&&t[e]?t[e]:"window"===e&&Ce()?window:null}function Ce(){return Boolean(typeof window===h.f&&window)}function ke(){return Ce()?window:Ne("window")}function Le(){return Boolean(typeof document===h.f&&document)?document:Ne("document")}function Ae(){return Boolean(typeof navigator===h.f&&navigator)}function Oe(){return Ae()?navigator:Ne("navigator")}function Me(e){if(e&&Ee){var t=Ne("__mockLocation");if(t)return t}return typeof location===h.f&&location?location:Ne("location")}function _e(){return Boolean(typeof JSON===h.f&&JSON||null!==Ne("JSON"))}function De(){return _e()?JSON||Ne("JSON"):null}function Pe(){var e=Oe();return!(!e||!e.product)&&"ReactNative"===e.product}function He(){var e=Oe();if(e&&(e.userAgent!==we||null===be)){var t=((we=e.userAgent)||"").toLowerCase();be=R(t,"msie")||R(t,"trident/")}return be}function Be(e){var t=Object[h.l].toString.call(e),n="";"[object Error]"===t?n="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e.name+"'":_e()&&(n=De().stringify(e));return t+n}function je(){null===xe&&(xe=Ae()&&Boolean(Oe().sendBeacon));return xe}function Fe(e){var t=!1;try{t=!!Ne("fetch");var n=Ne("Request");t&&e&&n&&(t=Te(n,"keepalive"))}catch(e){}return t}function Ie(){null===Se&&(Se=typeof XDomainRequest!==h.c)&&qe()&&(Se=Se&&!Te(Ne("XMLHttpRequest"),"withCredentials"));return Se}function qe(){var e=!1;try{e=!!Ne("XMLHttpRequest")}catch(e){}return e}var Re=Object,Ue=Re.getPrototypeOf,ze=Re.getOwnPropertyNames,We=0;function Xe(e,t){return e&&Re.prototype.hasOwnProperty.call(e,t)}function Ve(e){return e&&(e===Re.prototype||e===Array.prototype)}function $e(e){return Ve(e)||e===Function.prototype}function Je(e){var t;if(e){if(Ue)return Ue(e);var n=e.__proto__||e.prototype||(e.constructor?e.constructor.prototype:null);t=e._dyn__proto__||n;if(!Xe(e,"_dyn__proto__")){delete e._dynInstProto;t=e._dyn__proto__=e._dynInstProto||e._dyn__proto__;e._dynInstProto=n}}return t}function Ke(e,t){var n=[];if(ze)n=ze(e);else for(var r in e)"string"==typeof r&&Xe(e,r)&&n.push(r);if(n&&n.length>0)for(var i=0;i<n.length;i++)t(n[i])}function Qe(e,t,n){return"constructor"!==t&&"function"==typeof e[t]&&(n||Xe(e,t))}function Ge(e){throw new TypeError("DynamicProto: "+e)}function Ye(e,t){for(var n=e.length-1;n>=0;n--)if(e[n]===t)return!0;return!1}function Ze(e,t,n,r){var i=null;if(e&&Xe(n,"_dynClass")){var s=e._dynInstFuncs||{};(i=(s[n._dynClass]||{})[t])||Ge("Missing ["+t+"] function");if(!i._dynInstChk&&!1!==s._dynInstChk){for(var o=!Xe(e,t),u=Je(e),a=[];o&&u&&!$e(u)&&!Ye(a,u);){var f=u[t];if(f){o=f===r;break}a.push(u);u=Je(u)}try{o&&(e[t]=i);i._dynInstChk=1}catch(e){s._dynInstChk=!1}}}return i}function et(e,t,n){var r=t[e];r===n&&(r=Je(t)[e]);"function"!=typeof r&&Ge("["+e+"] is not a function");return r}function tt(e,t,n,r,i){if(!Ve(e)){var s=n._dynInstFuncs=n._dynInstFuncs||{},o=s[t]=s[t]||{};!1!==s._dynInstChk&&(s._dynInstChk=!!i);Ke(n,function(t){if(Qe(n,t,!1)&&n[t]!==r[t]){o[t]=n[t];delete n[t];(!Xe(e,t)||e[t]&&!e[t]._isDynProxy)&&(e[t]=(function(e,t){var n=function(){var r=Ze(this,t,e,n)||et(t,e,n);return r.apply(this,arguments)};n._isDynProxy=1;return n})(e,t))}})}}function nt(e,t){return Xe(e,"prototype")?e.name||t||"_unknown_":((e||{}).constructor||{}).name||t||"_unknown_"}function rt(e,t,n,r){Xe(e,"prototype")||Ge("theClass is an invalid class definition.");var i=e.prototype;(function(e,t){if(Ue){for(var n=[],r=Je(t);r&&!$e(r)&&!Ye(n,r);){if(r===e)return!0;n.push(r);r=Je(r)}return!1}return!0})(i,t)||Ge("["+nt(e)+"] is not in class hierarchy of ["+nt(t)+"]");var s=null;if(Xe(i,"_dynClass"))s=i._dynClass;else{s="_dynCls$"+nt(e,"_")+"$"+We;We++;i._dynClass=s}var o=rt._dfOpts,u=!!o.useBaseInst;u&&r&&void 0!==r.useBaseInst&&(u=!!r.useBaseInst);var a=(function(e){var t={};Ke(e,function(n){!t[n]&&Qe(e,n,!1)&&(t[n]=e[n])});return t})(t);n(t,(function(e,t,n,r){function i(e,t,n){var i=t[n];if(i._isDynProxy&&r){var s=e._dynInstFuncs||{};!1!==s._dynInstChk&&(i=(s[t._dynClass]||{})[n]||i)}return function(){return i.apply(e,arguments)}}var s={};Ke(n,function(e){s[e]=i(t,n,e)});for(var o=Je(e),u=[];o&&!$e(o)&&!Ye(u,o);){Ke(o,function(e){!s[e]&&Qe(o,e,!Ue)&&(s[e]=i(t,o,e))});u.push(o);o=Je(o)}return s})(i,t,a,u));var f=!!Ue&&!!o.setInstFuncs;f&&r&&(f=!!r.setInstFuncs);tt(i,s,t,a,!1!==f)}rt._dfOpts={setInstFuncs:!0,useBaseInst:!0};var it,st=["eventsSent","eventsDiscarded","eventsSendRequest","perfEvent"],ot=null;function ut(e,t){return function(){var n=arguments,r=at(t);if(r){var i=r.listener;i&&i[e]&&i[e].apply(i,n)}}}function at(e){var t=ot;t||!0===e.disableDbgExt||(t=ot||(function(){var e=Ne("Microsoft");e&&(ot=e.ApplicationInsights);return ot})());return t?t.ChromeDbgExt:null}function ft(e){return e?'"'+e.replace(/\"/g,"")+'"':""}function lt(e,t){var n=typeof console!==h.c?console:Ne("console");if(n){var r="log";n[e]&&(r=e);B(n[r])&&n[r](t)}}var ct=(function(){function e(e,t,n,r){void 0===n&&(n=!1);this.messageId=e;this.message=(n?"AI: ":"AI (Internal): ")+e;var i="";_e()&&(i=De().stringify(r));var s=(t?" message:"+ft(t):"")+(r?" props:"+ft(i):"");this.message+=s}e.dataType="MessageData";return e})();var ht=function e(t){this.identifier="DiagnosticLogger";this.queue=[];var n=0,r={};rt(e,this,function(e){_(t)&&(t={});e.consoleLoggingLevel=function(){return i("loggingLevelConsole",0)};e.telemetryLoggingLevel=function(){return i("loggingLevelTelemetry",1)};e.maxInternalMessageLimit=function(){return i("maxMessageLimit",25)};e.enableDebugExceptions=function(){return i("enableDebugExceptions",!1)};e.throwInternal=function(t,n,i,o,u){void 0===u&&(u=!1);var a=new ct(n,i,u,o);if(e.enableDebugExceptions())throw Be(a);var f=1===t?"errorToConsole":"warnToConsole";if(M(a.message))s("throw"+(1===t?"Critical":"Warning"),a);else{var l=e.consoleLoggingLevel();if(u){var c=+a.messageId;if(!r[c]&&l>=t){e[f](a.message);r[c]=!0}}else l>=t&&e[f](a.message);e.logInternalMessage(t,a)}};e.warnToConsole=function(e){lt("warn",e);s("warning",e)};e.errorToConsole=function(e){lt("error",e);s("error",e)};e.resetInternalMessageCount=function(){n=0;r={}};e.logInternalMessage=function(t,i){if(!(n>=e.maxInternalMessageLimit())){var o=!0,u="AITR_"+i.messageId;r[u]?o=!1:r[u]=!0;if(o){if(t<=e.telemetryLoggingLevel()){e.queue.push(i);n++;s(1===t?"error":"warn",i)}if(n===e.maxInternalMessageLimit()){var a="Internal events throttle limit per PageView reached for this app.",f=new ct(23,a,!1);e.queue.push(f);1===t?e.errorToConsole(a):e.warnToConsole(a)}}}};function i(e,n){var r=t[e];return _(r)?n:r}function s(e,n){var r=at(t);r&&r.diagLog&&r.diagLog(e,n)}})};function pt(e){return e||new ht}function dt(e,t,n,r,i,s){void 0===s&&(s=!1);(e||new ht).throwInternal(t,n,r,i,s)}var vt=null,mt=null,gt=null,yt=Le(),bt={},wt={};function Et(e,t){var n=xt._ckMgr||wt._ckMgr;if(!n){n=xt._ckMgr=xt(e,t);wt._ckMgr=n}return n}function St(e){return!e||e.isEnabled()}function xt(e,t){var n=(function(e){var t=e.cookieCfg=e.cookieCfg||{};le(t,"domain",e.cookieDomain,D,_);le(t,"path",e.cookiePath||"/",null,_);if(_(t.enabled)){var n=void 0;M(e.isCookieUseDisabled)||(n=!e.isCookieUseDisabled);M(e.disableCookiesUsage)||(n=!e.disableCookiesUsage);t.enabled=n}return t})(e||wt),r=n.path||"/",i=n.domain,s=!1!==n.enabled,o={isEnabled:function(){var e=s&&Tt(t),n=wt._ckMgr;e&&n&&o!==n&&(e=St(n));return e},setEnabled:function(e){s=!1!==e},set:function(e,t,s,u,a){var f=!1;if(St(o)){var l={},c=ee(t||""),h=c.indexOf(";");if(-1!==h){c=ee(t.substring(0,h));l=Nt(t.substring(h+1))}le(l,"domain",u||i,he,M);if(!_(s)){var p=He();if(M(l.expires)){var d=ae()+1e3*s;if(d>0){var v=new Date;v.setTime(d);le(l,"expires",Ct(v,p?"toGMTString":"toUTCString")||Ct(v,p?"toGMTString":"toUTCString")||"",he)}}p||le(l,"max-age",""+s,null,M)}var m=Me();if(m&&"https:"===m.protocol){le(l,"secure",null,null,M);null===mt&&(mt=!Ot((Oe()||{}).userAgent));mt&&le(l,"SameSite","None",null,M)}le(l,"path",a||r,null,M);(n.setCookie||At)(e,kt(c,l));f=!0}return f},get:function(e){var t="";St(o)&&(t=(n.getCookie||Lt)(e));return t},del:function(e,t){var n=!1;St(o)&&(n=o.purge(e,t));return n},purge:function(e,r){var i,s=!1;if(Tt(t)){var o=((i={}).path=r||"/",i.expires="Thu, 01 Jan 1970 00:00:01 GMT",i);He()||(o["max-age"]="0");(n.delCookie||At)(e,kt("",o));s=!0}return s}};o._ckMgr=o;return o}function Tt(e){if(null===vt){vt=!1;try{vt=void 0!==(yt||{}).cookie}catch(t){dt(e,2,68,"Cannot access document.cookie - "+fe(t),{exception:Be(t)})}}return vt}function Nt(e){var t={};if(e&&e.length){Q(ee(e).split(";"),function(e){if(e=ee(e||"")){var n=e.indexOf("=");-1===n?t[e]=null:t[ee(e.substring(0,n))]=ee(e.substring(n+1))}})}return t}function Ct(e,t){return B(e[t])?e[t]():null}function kt(e,t){var n=e||"";F(t,function(e,t){n+="; "+e+(_(t)?"":"="+t)});return n}function Lt(e){var t="";if(yt){var n=yt.cookie||"";if(gt!==n){bt=Nt(n);gt=n}t=ee(bt[e]||"")}return t}function At(e,t){yt&&(yt.cookie=e+"="+t)}function Ot(e){return!!X(e)&&(!(!R(e,"CPU iPhone OS 12")&&!R(e,"iPad; CPU OS 12"))||(!!(R(e,"Macintosh; Intel Mac OS X 10_14")&&R(e,"Version/")&&R(e,"Safari"))||(!(!R(e,"Macintosh; Intel Mac OS X 10_14")||!I(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)"))||(!(!R(e,"Chrome/5")&&!R(e,"Chrome/6"))||(!(!R(e,"UnrealEngine")||R(e,"Chrome"))||!(!R(e,"UCBrowser/12")&&!R(e,"UCBrowser/11")))))))}var Mt=!1,_t=123456789,Dt=987654321;function Pt(e){e<0&&(e>>>=0);_t=123456789+e&4294967295;Dt=987654321-e&4294967295;Mt=!0}function Ht(){try{var e=2147483647&ae();Pt((4294967296*Math.random()^e)+e)}catch(e){}}function Bt(e){return e>0?Math.floor(jt()/4294967295*(e+1))>>>0:0}function jt(e){var t=0,n=Ne("crypto")||Ne("msCrypto");n&&n.getRandomValues&&(t=4294967295&n.getRandomValues(new Uint32Array(1))[0]);if(0===t&&He()){Mt||Ht();t=4294967295&It()}0===t&&(t=Math.floor(4294967296*Math.random()|0));e||(t>>>=0);return t}function Ft(e){e?Pt(e):Ht()}function It(e){var t=((Dt=36969*(65535&Dt)+(Dt>>16)&4294967295)<<16)+(65535&(_t=18e3*(65535&_t)+(_t>>16)&4294967295))>>>0&4294967295|0;e||(t>>>=0);return t}function qt(e){void 0===e&&(e=22);for(var t=jt()>>>0,n=0,r="";r.length<e;){n++;r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(63&t);t>>>=6;if(5===n){t=(jt()<<2&4294967295|3&t)>>>0;n=0}}return r}var Rt=h.r,Ut="."+qt(6),zt=0;function Wt(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function Xt(e,t){var n=t[e.id];if(!n){n={};try{Wt(t)&&((function(e,t,n){if(Rt)try{Rt(e,t,{value:n,enumerable:!1,configurable:!0});return!0}catch(e){}return!1})(t,e.id,n)||(t[e.id]=n))}catch(e){}}return n}function Vt(e,t){void 0===t&&(t=!1);return j(e+zt+++(t?".2.8.3":"")+Ut)}function $t(e){var t={id:Vt("_aiData-"+(e||"")+".2.8.3"),accept:function(e){return Wt(e)},get:function(e,n,r,i){var s=e[t.id];if(!s){i&&((s=Xt(t,e))[j(n)]=r);return r}return s[j(n)]},kill:function(e,t){if(e&&e[t])try{delete e[t]}catch(e){}}};return t}var Jt=Vt("aiEvtPageHide"),Kt=Vt("aiEvtPageShow"),Qt=/\.[\.]+/g,Gt=/[\.]+$/,Yt=1,Zt=$t("events"),en=/^([^.]*)(?:\.(.+)|)/;function tn(e){return e&&e.replace?e.replace(/^\s*\.*|\.*\s*$/g,""):e}function nn(e,t){if(t){var n="";if(z(t)){n="";Q(t,function(e){if(e=tn(e)){"."!==e[0]&&(e="."+e);n+=e}})}else n=tn(t);if(n){"."!==n[0]&&(n="."+n);e=(e||"")+n}}var r=en.exec(e||"")||[];return{type:r[1],ns:(r[2]||"").replace(Qt,".").replace(Gt,"").split(".").sort().join(".")}}function rn(e,t,n){void 0===n&&(n=!0);var r=Zt.get(e,"events",{},n),i=r[t];i||(i=r[t]=[]);return i}function sn(e,t,n,r){e&&t&&t.type&&(e.removeEventListener?e.removeEventListener(t.type,n,r):e.detachEvent&&e.detachEvent("on"+t.type,n))}function on(e,t,n,r){for(var i=t.length;i--;){var s=t[i];if(s&&(!n.ns||n.ns===s.evtName.ns)&&(!r||r(s))){sn(e,s.evtName,s.handler,s.capture);t.splice(i,1)}}}function un(e,t){return t?nn("xx",z(t)?[e].concat(t):[e,t]).ns.split("."):e}function an(e,t,n,r,i){void 0===i&&(i=!1);var s=!1;if(e)try{var o=nn(t,r);if((s=(function(e,t,n,r){var i=!1;if(e&&t&&t.type&&n)if(e.addEventListener){e.addEventListener(t.type,n,r);i=!0}else if(e.attachEvent){e.attachEvent("on"+t.type,n);i=!0}return i})(e,o,n,i))&&Zt.accept(e)){var u={guid:Yt++,evtName:o,handler:n,capture:i};rn(e,o.type).push(u)}}catch(e){}return s}function fn(e,t,n,r,i){void 0===i&&(i=!1);if(e)try{var s=nn(t,r),o=!1;(function(e,t,n){if(t.type)on(e,rn(e,t.type),t,n);else{var r=Zt.get(e,"events",{});F(r,function(r,i){on(e,i,t,n)});0===re(r).length&&Zt.kill(e,"events")}})(e,s,function(e){if(s.ns&&!n||e.handler===n){o=!0;return!0}return!1});o||sn(e,s,n,i)}catch(e){}}function ln(e,t,n){var r=!1,i=ke();if(i){r=an(i,e,t,n);r=an(i.body,e,t,n)||r}var s=Le();s&&(r=an(s,e,t,n)||r);return r}function cn(e,t,n,r){var i=!1;t&&e&&e.length>0&&Q(e,function(e){e&&(n&&-1!==G(n,e)||(i=ln(e,t,r)||i))});return i}function hn(e,t,n){e&&z(e)&&Q(e,function(e){e&&(function(e,t,n){var r=ke();if(r){fn(r,e,t,n);fn(r.body,e,t,n)}var i=Le();i&&fn(i,e,t,n)})(e,t,n)})}function pn(e,t,n){return(function(e,t,n,r){var i=!1;t&&e&&z(e)&&!(i=cn(e,t,n,r))&&n&&n.length>0&&(i=cn(e,t,null,r));return i})(["beforeunload","unload","pagehide"],e,t,n)}var dn,vn=null;h.c;function mn(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(En,function(e){var t=0|Bt(15);return("x"===e?t:3&t|8).toString(16)})}function gn(){var e=Ne("performance");return e&&e.now?e.now():ae()}function yn(){for(var e,t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],n="",r=0;r<4;r++)n+=t[15&(e=jt())]+t[e>>4&15]+t[e>>8&15]+t[e>>12&15]+t[e>>16&15]+t[e>>20&15]+t[e>>24&15]+t[e>>28&15];var i=t[8+(3&jt())|0];return n.substr(0,8)+n.substr(9,4)+"4"+n.substr(13,3)+i+n.substr(16,3)+n.substr(19,12)}var bn,wn={_canUseCookies:void 0,isTypeof:O,isUndefined:M,isNullOrUndefined:_,hasOwnProperty:P,isFunction:B,isObject:H,isDate:U,isArray:z,isError:W,isString:X,isNumber:V,isBoolean:$,toISOString:K,arrForEach:Q,arrIndexOf:G,arrMap:Y,arrReduce:Z,strTrim:ee,objCreate:p.t,objKeys:re,objDefineAccessors:ie,addEventHandler:ln,dateNow:ae,isIE:He,disableCookies:function(){Sn().setEnabled(!1)},newGuid:mn,perfNow:gn,newId:qt,randomValue:Bt,random32:jt,mwcRandomSeed:Ft,mwcRandom32:It,generateW3CId:yn},En=/[xy]/g;function Sn(e,t){var n=Et(e,t),r=wn._canUseCookies;if(null===vn){vn=[];dn=r;ie(wn,"_canUseCookies",function(){return dn},function(e){dn=e;Q(vn,function(t){t.setEnabled(e)})})}-1===G(vn,n)&&vn.push(n);$(r)&&n.setEnabled(r);$(dn)&&n.setEnabled(dn);return n}var xn=((bn={})[0]=0,bn[2]=6,bn[1]=1,bn[3]=7,bn[4098]=6,bn[4097]=1,bn[4099]=7,bn);Boolean(Le()),Boolean(ke());function Tn(e){return!(""===e||_(e))}function Nn(e){if(e){var t=e.indexOf("-");if(t>-1)return e.substring(0,t)}return""}function Cn(e){return!!(e&&V(e)&&e>=1&&e<=4)}function kn(e,t,n){if(!t&&!Tn(t)||"string"!=typeof e)return null;var r=typeof t;if("string"===r||"number"===r||"boolean"===r||z(t))t={value:t};else if("object"!==r||t.hasOwnProperty("value")){if(_(t.value)||""===t.value||!X(t.value)&&!V(t.value)&&!$(t.value)&&!z(t.value))return null}else t={value:n?JSON.stringify(t):t};if(z(t.value)&&!Dn(t.value))return null;if(!_(t.kind)){if(z(t.value)||!_n(t.kind))return null;t.value=t.value.toString()}return t}function Ln(e,t,n){var r=-1;if(!M(e)){t>0&&(32===t?r=8192:t<=13&&(r=t<<5));if((function(e){if(e>=0&&e<=9)return!0;return!1})(n)){-1===r&&(r=0);r|=n}else{var i=xn[Hn(e)]||-1;-1!==r&&-1!==i?r|=i:6===i&&(r=i)}}return r}function An(e){void 0===e&&(e="D");var t=mn();"B"===e?t="{"+t+"}":"P"===e?t="("+t+")":"N"===e&&(t=t.replace(/-/g,""));return t}function On(e,t,n,r,i){var s={},o=!1,u=0,a=arguments.length,f=Object[h.l],l=arguments;if("[object Boolean]"===f.toString.call(l[0])){o=l[0];u++}for(;u<a;u++){F(e=l[u],function(e,t){if(o&&t&&H(t))if(z(t)){s[e]=s[e]||[];Q(t,function(t,n){t&&H(t)?s[e][n]=On(!0,s[e][n],t):s[e][n]=t})}else s[e]=On(!0,s[e],t);else s[e]=t})}return s}var Mn=gn;function _n(e){return 0===e||e>0&&e<=13||32===e}function Dn(e){return e.length>0}function Pn(e,t){var n=e;n.timings=n.timings||{};n.timings.processTelemetryStart=n.timings.processTelemetryStart||{};n.timings.processTelemetryStart[t]=Mn()}function Hn(e){var t=0;if(null!=e){var n=typeof e;if("string"===n)t=1;else if("number"===n)t=2;else if("boolean"===n)t=3;else if(n===h.f){t=4;if(z(e)){t=4096;e.length>0&&(t|=Hn(e[0]))}else P(e,"value")&&(t=8192|Hn(e.value))}}return t}h.c,h.f,h.c,p.t;var Bn=function(e,t){var n=this;this.eventsProcessed=0;this.eventsSent=0;this.eventsDiscarded=0;this.usePartAPlugin=!1;var r=[],i=!1,u={name:"DiagnosticLevel",processEvent:function(e){var t=e.eventFlags.diagnosticLevel;return i||10===t||110===t||120===t}},a={},f=An(),h=(new Date).getTime().toString(),p=function(e,t){if(1===t.eventType)return"b22a201c3f1d41d28ccc399ba6cc9ca2-1972c77f-1f79-4283-a0f9-b4ddc4646f55-7121";if(!e.telemetryProperties||!e.telemetryProperties.ariaTenantToken)throw new Error("Missing Tenant Token");return e.telemetryProperties.ariaTenantToken},d=function(e,t){var i,u=Object(c.n)(e);if((function(e){for(var t=function(t){var n=r[t];if(!n.processEvent(e)){Object(s.t)(2,1,function(){return e.eventName+" suppressed by "+n.name});return{value:!1}}},n=0;n<r.length;n++){var i=t(n);if("object"==typeof i)return i.value}return!0})(u)){n.eventsProcessed++;var d=((i=u.timestamp)?new Date(i):new Date).toISOString(),v={"Event.Sequence":{value:n.eventsProcessed,propertyType:4},"Event.Name":u.eventName,"Event.Source":"OTelJS","Event.Time":{value:d,propertyType:9}};o(v,u.dataFields,{prependDataToken:!0,customerContentEnabled:1===t.eventType});v["Event.Id"]=f+"."+n.eventsProcessed;var m="custom";if(u.eventContract){if(u.eventContract.name){v["Event.Contract"]=u.eventContract.name;m+="."+u.eventContract.name.toLowerCase().replace(/\./g,"_")}o(v,u.eventContract.dataFields,{prependDataToken:!1,customerContentEnabled:1===t.eventType})}var g={iKey:p(u,t),name:u.eventName,data:v,time:d,baseType:m,ext:{sdk:{seq:n.eventsProcessed,epoch:h}}};n.usePartAPlugin||(g.data=Object(l.e)(Object(l.e)({},g.data),a));return g}};this.getOneDSTelemetryEvent=function(e){return d(e,{eventType:0})};this.getOneDSCustomerContent=function(e){if(t.enableCustomerContent&&e.telemetryProperties.customerContentVersion&&Math.floor(e.telemetryProperties.customerContentVersion)<=1&&1===e.telemetryProperties.customerContentType)return d(e,{eventType:1})};this.addPreprocessor=function(e){r.push(e)};this.addPersistentDataFields=function(e){o(a,e,{prependDataToken:!1,customerContentEnabled:!1})};this.setOptionalEventsEnabled=function(e){i=e};this.setFullEventsEnabled=this.setOptionalEventsEnabled;t.enableOptionalEvents&&(i=!0);this.addPersistentDataFields(e);this.addPreprocessor(u)},jn=n(277),Fn=null,In=(function(){function e(t,n,r){var i=this,s=!1;i.start=ae();i.name=t;i.isAsync=r;i.isChildEvt=function(){return!1};if(B(n)){var o;s=ie(i,"payload",function(){if(!o&&B(n)){o=n();n=null}return o})}i.getCtx=function(t){return t?t===e.ParentContextKey||t===e.ChildrenContextKey?i[t]:(i.ctx||{})[t]:null};i.setCtx=function(t,n){if(t)if(t===e.ParentContextKey){i[t]||(i.isChildEvt=function(){return!0});i[t]=n}else if(t===e.ChildrenContextKey)i[t]=n;else{(i.ctx=i.ctx||{})[t]=n}};i.complete=function(){var t=0,r=i.getCtx(e.ChildrenContextKey);if(z(r))for(var o=0;o<r.length;o++){var u=r[o];u&&(t+=u.time)}i.time=ae()-i.start;i.exTime=i.time-t;i.complete=function(){};!s&&B(n)&&(i.payload=n())}}e.ParentContextKey="parent";e.ChildrenContextKey="childEvts";return e})(),qn=function e(t){this.ctx={};rt(e,this,function(e){e.create=function(e,t,n){return new In(e,t,n)};e.fire=function(e){if(e){e.complete();t&&B(t.perfEvent)&&t.perfEvent(e)}};e.setCtx=function(t,n){t&&((e.ctx=e.ctx||{})[t]=n)};e.getCtx=function(t){return(e.ctx||{})[t]}})};function Rn(e,t,n,r,i){if(e){var s=e;B(s.getPerfMgr)&&(s=s.getPerfMgr());if(s){var o=void 0,u=s.getCtx("CoreUtils.doPerf");try{if(o=s.create(t(),r,i)){if(u&&o.setCtx){o.setCtx(In.ParentContextKey,u);if(u.getCtx&&u.setCtx){var a=u.getCtx(In.ChildrenContextKey);if(!a){a=[];u.setCtx(In.ChildrenContextKey,a)}a.push(o)}}s.setCtx("CoreUtils.doPerf",o);return n(o)}}catch(e){o&&o.setCtx&&o.setCtx("exception",e)}finally{o&&s.fire(o);s.setCtx("CoreUtils.doPerf",u)}}}return n()}var Un=$t("plugin");function zn(e){return Un.get(e,"state",{},!0)}function Wn(e,t){for(var n,r=[],i=null,s=e.getNext();s;){var o=s.getPlugin();if(o){i&&B(i.setNextPlugin)&&B(o.processTelemetry)&&i.setNextPlugin(o);(B(o.isInitialized)?o.isInitialized():(n=zn(o)).isInitialized)||r.push(o);i=o;s=s.getNext()}}Q(r,function(r){var i=e.core();r.initialize(e.getCfg(),i,t,e.getNext());n=zn(r);r.core||n.core||(n.core=i);n.isInitialized=!0;delete n.teardown})}function Xn(e){return e.sort(function(e,t){var n=0,r=B(t.processTelemetry);B(e.processTelemetry)?n=r?e.priority-t.priority:1:r&&(n=-1);return n})}var Vn=0;function $n(e,t,n,r){var i=null,s=[];null!==r&&(i=r?(function(e,t,n){for(;e;){if(e.getPlugin()===n)return e;e=e.getNext()}return Gn([n],t.config||{},t)})(e,n,r):e);var o={_next:function(){var e=i;i=e?e.getNext():null;if(!e){var t=s;if(t&&t.length>0){Q(t,function(e){try{e.func.call(e.self,e.args)}catch(e){dt(n.logger,2,73,"Unexpected Exception during onComplete - "+Be(e))}});s=[]}}return e},ctx:{core:function(){return n},diagLog:function(){return(function(e,t){return(e||{}).logger||new ht(t)})(n,t)},getCfg:function(){return t},getExtCfg:u,getConfig:function(e,n,r){void 0===r&&(r=!1);var i,s=u(e,null);s&&!_(s[n])?i=s[n]:t&&!_(t[n])&&(i=t[n]);return _(i)?r:i},hasNext:function(){return!!i},getNext:function(){return i},setNext:function(e){i=e},iterate:function(e){var t;for(;t=o._next();){var n=t.getPlugin();n&&e(n)}},onComplete:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];e&&s.push({func:e,self:M(t)?o.ctx:t,args:n})}}};function u(e,n,r){void 0===n&&(n={});void 0===r&&(r=0);var i;if(t){var s=t.extensionConfig;s&&e&&(i=s[e])}if(i){if(H(n)&&0!==r){var o=ye(!0,n,i);t&&2===r&&F(n,function(e){if(_(o[e])){var n=t[e];_(n)||(o[e]=n)}});i=o}}else i=n;return i}return o}function Jn(e,t,n,r){var i=$n(e,t,n,r),s=i.ctx;s.processNext=function(e){var t=i._next();t&&t.processTelemetry(e,s);return!t};s.createNew=function(e,r){void 0===e&&(e=null);z(e)&&(e=Gn(e,t,n,r));return Jn(e||s.getNext(),t,n,r)};return s}function Kn(e,t,n){var r=t.config||{},i=$n(e,r,t,n),s=i.ctx;s.processNext=function(e){var t=i._next();t&&t.unload(s,e);return!t};s.createNew=function(e,n){void 0===e&&(e=null);z(e)&&(e=Gn(e,r,t,n));return Kn(e||s.getNext(),t,n)};return s}function Qn(e,t,n){var r=t.config||{},i=$n(e,r,t,n).ctx;i.processNext=function(e){return i.iterate(function(t){B(t.update)&&t.update(i,e)})};i.createNew=function(e,n){void 0===e&&(e=null);z(e)&&(e=Gn(e,r,t,n));return Qn(e||i.getNext(),t,n)};return i}function Gn(e,t,n,r){var i=null,s=!r;if(z(e)&&e.length>0){var o=null;Q(e,function(e){s||r!==e||(s=!0);if(s&&e&&B(e.processTelemetry)){var u=(function(e,t,n){var r,i=null,s=B(e.processTelemetry),o=B(e.setNextPlugin);r=e?e.identifier+"-"+e.priority+"-"+Vn++:"Unknown-0-"+Vn++;var u={getPlugin:function(){return e},getNext:function(){return i},processTelemetry:function(r,f){a(f=f||(function(){var r;e&&B(e._getTelCtx)&&(r=e._getTelCtx());r||(r=Jn(u,t,n));return r})(),function(t){if(!e||!s)return!1;var n=zn(e);if(n.teardown||n.disabled)return!1;o&&e.setNextPlugin(i);e.processTelemetry(r,t);return!0},"processTelemetry",function(){return{item:r}},!r.sync)||f.processNext(r)},unload:function(t,n){a(t,function(){var r=!1;if(e){var i=zn(e),s=e.core||i.core;if(e&&(!s||s===t.core())&&!i.teardown){i.core=null;i.teardown=!0;i.isInitialized=!1;e.teardown&&!0===e.teardown(t,n)&&(r=!0)}}return r},"unload",function(){},n.isAsync)||t.processNext(n)},update:function(t,n){a(t,function(){var r=!1;if(e){var i=zn(e),s=e.core||i.core;!e||s&&s!==t.core()||i.teardown||e.update&&!0===e.update(t,n)&&(r=!0)}return r},"update",function(){},!1)||t.processNext(n)},_id:r,_setNext:function(e){i=e}};function a(t,n,s,o,u){var a=!1,f=e?e.identifier:"TelemetryPluginChain",l=t._hasRun;l||(l=t._hasRun={});t.setNext(i);e&&Rn(t.core(),function(){return f+":"+s},function(){l[r]=!0;try{var e=i?i._id:"";e&&(l[e]=!1);a=n(t)}catch(e){var o=!i||l[i._id];o&&(a=!0);i&&o||dt(t.diagLog(),1,73,"Plugin ["+f+"] failed during "+s+" - "+Be(e)+", run flags: "+Be(l))}},o,u);return a}return ue(u)})(e,t,n);i||(i=u);o&&o._setNext(u);o=u}})}return r&&!i?Gn([r],t,n):i}function Yn(e,t,n,r){if(t&&z(t)&&t.length>0){Q(t=t.sort(function(e,t){return e.priority-t.priority}),function(e){e.priority<500&&pe("Channel has invalid priority - "+e.identifier)});e.push({queue:ue(t),chain:Gn(t,n,r)})}}function Zn(){var e=[];return{add:function(t){t&&e.push(t)},run:function(t,n){Q(e,function(e){try{e(t,n)}catch(e){dt(t.diagLog(),2,73,"Unexpected error calling unload handler - "+Be(e))}});e=[]}}}var er=function e(){var t,n,r,i,s,o=this;f();rt(e,o,function(e){e.initialize=function(e,n,r,i){a(e,n,i);t=!0};e.teardown=function(t,n){var o=e.core;if(o&&(!t||o===t.core())){var u,a=!1,l=t||Kn(null,o,r&&r.getPlugin?r.getPlugin():r),c=n||{reason:0,isAsync:!1};e._doTeardown&&!0===e._doTeardown(l,c,h)?u=!0:h();return u}function h(){if(!a){a=!0;i.run(l,n);Q(s,function(e){e.rm()});s=[];!0===u&&l.processNext(c);f()}}};e.update=function(t,n){var i=e.core;if(i&&(!t||i===t.core())){var s,o=!1,u=t||Qn(null,i,r&&r.getPlugin?r.getPlugin():r),f=n||{reason:0};e._doUpdate&&!0===e._doUpdate(u,f,l)?s=!0:l();return s}function l(){if(!o){o=!0;a(u.getCfg(),u.core(),u.getNext())}}};e._addHook=function(e){e&&(z(e)?s=s.concat(e):s.push(e))};ve(e,"_addUnloadCb",function(){return i},"add")});o.diagLog=function(e){return u(e).diagLog()};o.isInitialized=function(){return t};o.setInitialized=function(e){t=e};o.setNextPlugin=function(e){r=e};o.processNext=function(e,t){t?t.processNext(e):r&&B(r.processTelemetry)&&r.processTelemetry(e,null)};o._getTelCtx=u;function u(e){void 0===e&&(e=null);var t=e;if(!t){var i=n||Jn(null,{},o.core);t=r&&r.getPlugin?i.createNew(null,r.getPlugin):i.createNew(null,r)}return t}function a(e,t,i){e&&le(e,"extensionConfig",[],null,_);!i&&t&&(i=t.getProcessTelContext().getNext());var s=r;r&&r.getPlugin&&(s=r.getPlugin());o.core=t;n=Jn(i,e,t,s)}function f(){t=!1;o.core=null;n=null;r=null;s=[];i=Zn()}},tr=(function(e){Object(jn.e)(t,e);function t(){var n,r,i=e.call(this)||this;i.identifier="TelemetryInitializerPlugin";i.priority=199;s();rt(t,i,function(e,t){e.addTelemetryInitializer=function(e){var t={id:n++,fn:e};r.push(t);return{remove:function(){Q(r,function(e,n){if(e.id===t.id){r.splice(n,1);return-1}})}}};e.processTelemetry=function(t,n){for(var i=!1,s=r.length,o=0;o<s;++o){var u=r[o];if(u)try{if(!1===u.fn.apply(null,[t])){i=!0;break}}catch(e){dt(n.diagLog(),1,64,"One of telemetry initializers failed, telemetry item will not be sent: "+fe(e),{exception:Be(e)},!0)}}i||e.processNext(t,n)};e._doTeardown=function(){s()}});function s(){n=0;r=[]}return i}return t})(er),nr={loggingLevelConsole:1};function rr(e,t){return new qn(t)}function ir(e,t,n){var r=[],i={};Q(n,function(n){(_(n)||_(n.initialize))&&pe("Plugins must provide initialize method");var s=n.priority,o=n.identifier;n&&s&&(_(i[s])?i[s]=o:(function(e,t){pt(e).warnToConsole(t)})(e,"Two extensions have same priority #"+s+" - "+i[s]+", "+o));(!s||s<t)&&r.push(n)});return{all:n,core:r}}function sr(e,t){var n=!1;Q(t,function(t){if(t===e){n=!0;return-1}});return n}function or(e,t,n,r){Q(e,function(e){if(e&&e[t])if(n)setTimeout(function(){return r(e)},0);else try{r(e)}catch(e){}})}var ur=function e(t){this.listeners=[];var n=!!(t||{}).perfEvtsSendAll;rt(e,this,function(e){e.addNotificationListener=function(t){e.listeners.push(t)};e.removeNotificationListener=function(t){for(var n=G(e.listeners,t);n>-1;){e.listeners.splice(n,1);n=G(e.listeners,t)}};e.eventsSent=function(t){or(e.listeners,"eventsSent",!0,function(e){e.eventsSent(t)})};e.eventsDiscarded=function(t,n){or(e.listeners,"eventsDiscarded",!0,function(e){e.eventsDiscarded(t,n)})};e.eventsSendRequest=function(t,n){or(e.listeners,"eventsSendRequest",n,function(e){e.eventsSendRequest(t,n)})};e.perfEvent=function(t){t&&(!n&&t.isChildEvt()||or(e.listeners,"perfEvent",!1,function(e){t.isAsync?setTimeout(function(){return e.perfEvent(t)},0):e.perfEvent(t)}))}})},ar=(function(e){Object(jn.e)(t,e);function t(){var n=e.call(this)||this;rt(t,n,function(e,t){e.initialize=function(e,n,r,i){t.initialize(e,n,r||new ht(e),i||new ur(e))};e.track=function(r){Rn(e.getPerfMgr(),function(){return"AppInsightsCore:track"},function(){if(null===r){n(r);pe("Invalid telemetry item")}(function(e){if(_(e.name)){n(e);pe("telemetry name required")}})(r);t.track(r)},function(){return{item:r}},!r.sync)};function n(t){var n=e.getNotifyMgr();n&&n.eventsDiscarded([t],2)}});return n}return t})(function e(){var t,n,r,i,s,o,u,a,f,l,c,h,d,v,m,g,y,b,w=0;rt(e,this,function(e){E();e.isInitialized=function(){return t};e.initialize=function(n,i,o,u){d&&pe("SDK is still unloading...");e.isInitialized()&&pe("Core should not be initialized more than once");n&&!_(n.instrumentationKey)||pe("Please provide instrumentation key");r=u;e._notificationManager=u;e.config=n||{};(function(e){if(!0===e.disableDbgExt&&b){r.removeNotificationListener(b);b=null}if(r&&!b&&!0!==e.disableDbgExt){b=(function(e){if(!it){it={};for(var t=0;t<st.length;t++)it[st[t]]=ut(st[t],e)}return it})(e);r.addNotificationListener(b)}})(n);(function(t){!t.enablePerfMgr&&s&&(s=null);t.enablePerfMgr&&le(e.config,"createPerfMgr",rr)})(n);n.extensions=_(n.extensions)?[]:n.extensions;(function(e){((function(e,t,n){var r;if(e){if(!(r=e[t])&&_(r)){r=M(n)?{}:n;e[t]=r}}else r=M(n)?{}:n;return r})(e,"extensionConfig")).NotificationManager=r})(n);o&&(e.logger=o);(a=[]).push.apply(a,Object(jn.t)(Object(jn.t)([],i,!1),n.extensions,!1));c=(n||{}).channels;x(n,null);h&&0!==h.length||pe("No channels available");t=!0;e.releaseQueue()};e.getTransmissionControls=function(){var e=[];h&&Q(h,function(t){e.push(t.queue)});return ue(e)};e.track=function(t){le(t,"iKey",e.config.instrumentationKey,null,ce);le(t,"time",K(new Date),null,ce);le(t,"ver","4.0",null,_);!d&&e.isInitialized()?S().processNext(t):n.push(t)};e.getProcessTelContext=S;e.getNotifyMgr=function(){if(!r){r=Object(p.t)(((t={}).addNotificationListener=function(e){},t.removeNotificationListener=function(e){},t.eventsSent=function(e){},t.eventsDiscarded=function(e,t){},t.eventsSendRequest=function(e,t){},t));e._notificationManager=r}var t;return r};e.addNotificationListener=function(e){r&&r.addNotificationListener(e)};e.removeNotificationListener=function(e){r&&r.removeNotificationListener(e)};e.getCookieMgr=function(){o||(o=xt(e.config,e.logger));return o};e.setCookieMgr=function(e){o=e};e.getPerfMgr=function(){i||s||e.config&&e.config.enablePerfMgr&&B(e.config.createPerfMgr)&&(s=e.config.createPerfMgr(e,e.getNotifyMgr()));return i||s||Fn};e.setPerfMgr=function(e){i=e};e.eventCnt=function(){return n.length};e.releaseQueue=function(){if(t&&n.length>0){var e=n;n=[];Q(e,function(e){S().processNext(e)})}};e.pollInternalLogs=function(t){m=t||null;var n=e.config.diagnosticLogInterval;n&&n>0||(n=1e4);w&&clearInterval(w);return w=setInterval(function(){k()},n)};e.stopPollingInternalLogs=function(){if(w){clearInterval(w);w=0;k()}};me(e,function(){return v},["addTelemetryInitializer"]);e.unload=function(n,r,i){void 0===n&&(n=!0);t||pe("SDK is not initialized");d&&pe("SDK is still unloading...");var s={reason:50,isAsync:n,flushComplete:!1},o=Kn(N(),e);o.onComplete(function(){E();r&&r(s)},e);function u(t){s.flushComplete=t;d=!0;y.run(o,s);e.stopPollingInternalLogs();o.processNext(s)}L(n,u,6,i)||u(!1)};e.getPlugin=T;e.addPlugin=function(t,n,r,i){if(t){var s=T(t.identifier);if(!s||n){var o={reason:16};if(s){var u=[s.plugin];C(u,{reason:2,isAsync:!!r},function(e){if(e){o.removed=u;o.reason|=32;f()}else i&&i(!1)})}else f()}else{i&&i(!1);A("Plugin ["+t.identifier+"] is already loaded!")}}else{i&&i(!1);A("Plugins must provide initialize method")}function f(n){a.push(t);o.added=[t];x(e.config,o);i&&i(!0)}};e.evtNamespace=function(){return g};e.flush=L;ve(e,"addUnloadCb",function(){return y},"add");function E(){t=!1;e.config=ye(!0,{},nr);e.logger=new ht(e.config);e._extensions=[];v=new tr;n=[];r=null;i=null;s=null;o=null;u=null;f=null;a=[];l=null;c=null;h=null;d=!1;m=null;g=Vt("AIBaseCore",!0);y=Zn()}function S(){return Jn(N(),e.config,e)}function x(t,n){var r=ir(e.logger,500,a);f=r.core;u=null;var i=r.all;h=ue((function(e,t,n,r){var i=[];e&&Q(e,function(e){return Yn(i,e,n,r)});if(t){var s=[];Q(t,function(e){e.priority>500&&s.push(e)});Yn(i,s,n,r)}return i})(c,i,t,e));if(l){var s=G(i,l);-1!==s&&i.splice(s,1);-1!==(s=G(f,l))&&f.splice(s,1);l._setQueue(h)}else l=(function(e,t){var n;function r(){return Jn(null,t.config,t,null)}function i(e,t,n,r){var i=e?e.length+1:1;function s(){if(0==--i){r&&r();r=null}}i>0&&Q(e,function(e){if(e&&e.queue.length>0){var r=e.chain,o=t.createNew(r);o.onComplete(s);n(o)}else i--});s()}var s=!1;return(n={identifier:"ChannelControllerPlugin",priority:500,initialize:function(t,n,r,i){s=!0;Q(e,function(e){e&&e.queue.length>0&&Wn(Jn(e.chain,t,n),r)})},isInitialized:function(){return s},processTelemetry:function(t,n){i(e,n||r(),function(e){e.processNext(t)},function(){n.processNext(t)})},update:function(t,n){var r=n||{reason:0};i(e,t,function(e){e.processNext(r)},function(){t.processNext(r)});return!0}}).pause=function(){i(e,r(),function(e){e.iterate(function(e){e.pause&&e.pause()})},null)},n.resume=function(){i(e,r(),function(e){e.iterate(function(e){e.resume&&e.resume()})},null)},n.teardown=function(t,n){var r=n||{reason:0,isAsync:!1};i(e,t,function(e){e.processNext(r)},function(){t.processNext(r);s=!1});return!0},n.getChannel=function(t){var n=null;e&&e.length>0&&Q(e,function(e){if(e&&e.queue.length>0){Q(e.queue,function(e){if(e.identifier===t){n=e;return-1}});if(n)return-1}});return n},n.flush=function(t,n,s,o){var u=1,a=!1,f=null;o=o||5e3;function l(){u--;if(a&&0===u){if(f){clearTimeout(f);f=null}n&&n(a);n=null}}i(e,r(),function(e){e.iterate(function(e){if(e.flush){u++;var n=!1;e.flush(t,function(){n=!0;l()},s)||n||(t&&null==f?f=setTimeout(function(){f=null;l()},o):l())}})},function(){a=!0;l()});return!0},n._setQueue=function(t){e=t},n})(h,e);i.push(l);f.push(l);e._extensions=Xn(i);l.initialize(t,e,i);Wn(S(),i);e._extensions=ue(Xn(f||[])).slice();n&&(function(t){var n=Qn(N(),e);e._updateHook&&!0===e._updateHook(n,t)||n.processNext(t)})(n)}function T(t){var n=null,r=null;Q(e._extensions,function(e){if(e.identifier===t&&e!==l&&e!==v){r=e;return-1}});!r&&l&&(r=l.getChannel(t));r&&(n={plugin:r,setEnabled:function(e){zn(r).disabled=!e},isEnabled:function(){var e=zn(r);return!e.teardown&&!e.disabled},remove:function(t,n){void 0===t&&(t=!0);var i=[r];C(i,{reason:1,isAsync:t},function(t){t&&x(e.config,{reason:32,removed:i});n&&n(t)})}});return n}function N(){if(!u){var t=(f||[]).slice();-1===G(t,v)&&t.push(v);u=Gn(Xn(t),e.config,e)}return u}function C(t,n,r){if(t&&t.length>0){var i=Kn(Gn(t,e.config,e),e);i.onComplete(function(){var e=!1,n=[];Q(a,function(r,i){sr(r,t)?e=!0:n.push(r)});a=n;var i=[];if(c){Q(c,function(n,r){var s=[];Q(n,function(n){sr(n,t)?e=!0:s.push(n)});i.push(s)});c=i}r&&r(e)});i.processNext(n)}else r(!1)}function k(){var t=e.logger?e.logger.queue:[];if(t){Q(t,function(t){var n={name:m||"InternalMessageId: "+t.messageId,iKey:e.config.instrumentationKey,time:K(new Date),baseType:ct.dataType,baseData:{message:t.message}};e.track(n)});t.length=0}}function L(e,t,n,r){if(l)return l.flush(e,t,n||6,r);t&&t(!1);return!0}function A(t){var n=e.logger;n?dt(n,2,73,t):pe(t)}})}),fr=(function(e){Object(jn.e)(t,e);function t(){var n=e.call(this)||this;n.pluginVersionStringArr=[];n.pluginVersionString="";rt(t,n,function(e,t){e.logger&&e.logger.queue||(e.logger=new ht({loggingLevelConsole:1}));e.initialize=function(n,r,i,s){Rn(e,function(){return"AppInsightsCore.initialize"},function(){if(n){n.endpointUrl||(n.endpointUrl="https://browser.events.data.microsoft.com/OneCollector/1.0/");var o=n.propertyStorageOverride;if(o&&(!o.getProperty||!o.setProperty))throw new Error("Invalid property storage override passed.");n.channels&&Q(n.channels,function(t){t&&Q(t,function(t){if(t.identifier&&t.version){var n=t.identifier+"="+t.version;e.pluginVersionStringArr.push(n)}})})}e.getWParam=function(){return"undefined"!=typeof document?0:-1};r&&Q(r,function(t){if(t&&t.identifier&&t.version){var n=t.identifier+"="+t.version;e.pluginVersionStringArr.push(n)}});e.pluginVersionString=e.pluginVersionStringArr.join(";");try{t.initialize(n,r,i,s);e.pollInternalLogs("InternalLog")}catch(t){var u=e.logger,a=Be(t);-1!==a.indexOf("channels")&&(a+="\n - Channels must be provided through config.channels only!");u.throwInternal(1,514,"SDK Initialization Failed - no telemetry will be sent: "+a)}},function(){return{config:n,extensions:r,logger:i,notificationManager:s}})};e.track=function(n){Rn(e,function(){return"AppInsightsCore.track"},function(){var r=n;if(r){r.timings=r.timings||{};r.timings.trackStart=Mn();Cn(r.latency)||(r.latency=1);var i=r.ext=r.ext||{};i.sdk=i.sdk||{};i.sdk.ver="1DS-Web-JS-3.2.2";var s=r.baseData=r.baseData||{};s.properties||(s.properties={});var o=s.properties;o.version||(o.version="");""!==e.pluginVersionString&&(o.version=e.pluginVersionString)}t.track(r)},function(){return{item:n}},!n.sync)}});return n}return t})(ar);var lr=(function(e){var t={};F(e,function(e,n){t[e]=n;t[n]=e});return oe(t)})({Unknown:0,NonRetryableStatus:1,InvalidEvent:2,SizeLimitExceeded:3,KillSwitch:4,QueueFull:5});function cr(e){var t=(e.ext||{}).intweb;return t&&Tn(t.msfpc)?t.msfpc:null}function hr(e){for(var t=null,n=0;null===t&&n<e.length;n++)t=cr(e[n]);return t}var pr=(function(){function e(t,n){var r=n?[].concat(n):[],i=hr(r);this.iKey=function(){return t};this.Msfpc=function(){return i||""};this.count=function(){return r.length};this.events=function(){return r};this.addEvent=function(e){if(e){r.push(e);i||(i=cr(e));return!0}return!1};this.split=function(n,s){var o;if(n<r.length){var u=r.length-n;_(s)||(u=s<u?s:u);o=r.splice(n,u);i=hr(r)}return new e(t,o)}}e.create=function(t,n){return new e(t,n)};return e})(),dr=Math.min(2e6,65e3),vr=/\./,mr=function e(t,n,r,i){var s=!!i,o=n,u={};rt(e,this,function(e){e.createPayload=function(e,t,n,r,i,s){return{apiKeys:[],payloadBlob:"",overflow:null,sizeExceed:[],failedEvts:[],batches:[],numEvents:0,retryCnt:e,isTeardown:t,isSync:n,isBeacon:r,sendType:s,sendReason:i}};e.appendPayload=function(n,r,i){var s=n&&r&&!n.overflow;s&&Rn(t,function(){return"Serializer:appendPayload"},function(){for(var t=r.events(),s=n.payloadBlob,o=n.numEvents,u=!1,a=[],f=[],l=n.isBeacon,c=l?65e3:3984588,h=l?dr:2e6,p=0,d=0;p<t.length;){var v=t[p];if(v){if(o>=i){n.overflow=r.split(p);break}var m=e.getEventBlob(v);if(m&&m.length<=h){var g=m.length;if(s.length+g>c){n.overflow=r.split(p);break}s&&(s+="\n");s+=m;if(++d>20){s.substr(0,1);d=0}u=!0;o++}else{m?a.push(v):f.push(v);t.splice(p,1);p--}}p++}a&&a.length>0&&n.sizeExceed.push(pr.create(r.iKey(),a));f&&f.length>0&&n.failedEvts.push(pr.create(r.iKey(),f));if(u){n.batches.push(r);n.payloadBlob=s;n.numEvents=o;var y=r.iKey();-1===G(n.apiKeys,y)&&n.apiKeys.push(y)}},function(){return{payload:n,theBatch:{iKey:r.iKey(),evts:r.events()},max:i}});return s};e.getEventBlob=function(e){try{return Rn(t,function(){return"Serializer.getEventBlob"},function(){var t={};t.name=e.name;t.time=e.time;t.ver=e.ver;t.iKey="o:"+Nn(e.iKey);var r={},i=e.ext;if(i){t.ext=r;F(i,function(e,t){n(t,r[e]={},"ext."+e,!0,null,null,!0)})}var s=t.data={};s.baseType=e.baseType;var o=s.baseData={};n(e.baseData,o,"baseData",!1,["baseData"],function(e,t,n){gr(r,e,t,n)},!0);n(e.data,s,"data",!1,[],function(e,t,n){gr(r,e,t,n)},!0);return JSON.stringify(t)},function(){return{item:e}})}catch(e){return null}};function n(e,t,i,a,f,l,c){F(e,function(e,h){var p=null;if(h||Tn(h)){var d=i,v=e,m=f,g=t;if(s&&!a&&vr.test(e)){var y=e.split("."),b=y.length;if(b>1){m&&(m=m.slice());for(var w=0;w<b-1;w++){var E=y[w];g=g[E]=g[E]||{};d+="."+E;m&&m.push(E)}v=y[b-1]}}if(p=a&&(function(e,t){var n=u[e];if(void 0===n){e.length>=7&&(n=q(e,"ext.metadata")||q(e,"ext.web"));u[e]=n}return n})(d)||!o||!o.handleField(d,v)?kn(v,h,r):o.value(d,v,h,r)){var S=p.value;g[v]=S;l&&l(m,v,p);if(c&&"object"==typeof S&&!z(S)){var x=m;x&&(x=x.slice()).push(v);n(h,S,d+"."+v,a,x,l,c)}}}})}})};function gr(e,t,n,r){if(r&&e){var i=Ln(r.value,r.kind,r.propertyType);if(i>-1){var s=e.metadata;s||(s=e.metadata={f:{}});var o=s.f;o||(o=s.f={});if(t)for(var u=0;u<t.length;u++){var a=t[u];o[a]||(o[a]={f:{}});var f=o[a].f;f||(f=o[a].f={});o=f}o=o[n]={};z(r.value)?o.a={t:i}:o.t=i}}}function yr(e){var t,n=Math.floor(1200*Math.random())+2400;t=Math.pow(2,e)*n;return Math.min(t,6e5)}var br,wr=function e(){var t={};rt(e,this,function(e){e.setKillSwitchTenants=function(e,n){if(e&&n)try{var r=(function(e){var t=[];e&&Q(e,function(e){t.push(ee(e))});return t})(e.split(","));if("this-request-only"===n)return r;for(var i=1e3*parseInt(n,10),s=0;s<r.length;++s)t[r[s]]=ae()+i}catch(e){return[]}return[]};e.isTenantKilled=function(e){var n=t,r=ee(e);if(void 0!==n[r]&&n[r]>ae())return!0;delete n[r];return!1}})},Er=function e(){var t=!0,n=!0,r=!0,i="use-collector-delta",s=!1;rt(e,this,function(e){e.allowRequestSending=function(){return t};e.firstRequestSent=function(){if(r){r=!1;s||(t=!1)}};e.shouldAddClockSkewHeaders=function(){return n};e.getClockSkewHeaderValue=function(){return i};e.setClockSkew=function(e){if(!s){if(e){i=e;n=!0;s=!0}else n=!1;t=!0}}})},Sr=((br={})[1]="requeue",br[100]="requeue",br[200]="sent",br[8004]="drop",br[8003]="drop",br),xr={},Tr={};function Nr(e,t,n){xr[e]=t;!1!==n&&(Tr[t]=e)}Nr("AuthMsaDeviceTicket","AuthMsaDeviceTicket",!1);Nr("client-version","client-version");Nr("client-id","Client-Id");Nr("apikey","apikey");Nr("time-delta-to-apply-millis","time-delta-to-apply-millis");Nr("upload-time","upload-time");Nr("AuthXToken","AuthXToken");function Cr(e){try{return e.responseText}catch(e){}return""}function kr(e,t){var n=!1;if(e&&t){var r=re(e);if(r&&r.length>0)for(var i=t.toLowerCase(),s=0;s<r.length;s++){var o=r[s];if(o&&P(t,o)&&o.toLowerCase()===i){n=!0;break}}}return n}function Lr(e,t,n,r){if(t&&n&&n.length>0)if(r&&xr[t]){e.hdrs[xr[t]]=n;e.useHdrs=!0}else e.url+="&"+t+"="+n}var Ar=function e(t,n,r,i,s){this._responseHandlers=[];var o,u,a,f,l,c,p="?cors=true&"+"content-type".toLowerCase()+"=application/x-json-stream",d=new wr,v=!1,m=new Er,g=!1,y=0,b=!0,w=[],E={},S=[],x=null,T=!1,N=!1,C=!1;rt(e,this,function(e){var k=!0;e.initialize=function(e,t,n,r,i){var s;i||(i={});p=e+p;C=!!M(i.avoidOptions)||!i.avoidOptions;a=t;f=t.getCookieMgr();T=!a.config.disableEventTimings;var h=!!a.config.enableCompoundKey;o=n;var d=i.valueSanitizer,v=i.stringifyObjects;M(i.enableCompoundKey)||(h=!!i.enableCompoundKey);l=i.xhrTimeout;c=i.disableXhrSync;g=!Pe();x=new mr(a,d,v,h);var m=r,y=i.alwaysUseXhrOverride?r:null,w=i.alwaysUseXhrOverride?r:null;if(!r){b=!1;var E=Me();E&&E.protocol&&"file:"===E.protocol.toLowerCase()&&(k=!1);var S=[];S=Pe()?[2,1]:[1,2,3];var N=i.transports;N&&(V(N)?S=[N].concat(S):z(N)&&(S=N.concat(S)));r=L(S,!1);m=L(S,!0);r||o.diagLog().warnToConsole("No available transport to send events")}u=((s={})[0]=r,s[1]=m||L([1,2,3],!0),s[2]=y||L([3,2],!0)||m||L([1],!0),s[3]=w||L([2,3],!0)||m||L([1],!0),s)};function L(e,t){for(var n=0,r=null,i=0;null==r&&i<e.length;){1===(n=e[i])?Ie()?r=A:qe()&&(r=D):2===n&&Fe(t)?r=O:g&&3===n&&je()&&(r=H);i++}return r?{_transport:n,_isSync:t,sendPOST:r}:null}e._getDbgPlgTargets=function(){return[u[0],d,x,u]};function A(e,t,n){var r=new XDomainRequest;r.open("POST",e.urlString);e.timeout&&(r.timeout=e.timeout);r.onload=function(){var e=Cr(r);P(t,200,{},e);Y(e)};r.onerror=function(){P(t,400,{})};r.ontimeout=function(){P(t,500,{})};r.onprogress=function(){};n?r.send(e.data):s.set(function(){r.send(e.data)},0)}function O(e,t,n){var r,i=e.urlString,o=!1,u=!1,a=((r={body:e.data,method:"POST"}).Microsoft_ApplicationInsights_BypassAjaxInstrumentation=!0,r);if(n){a.keepalive=!0;if(2===e._sendReason){o=!0;i+="&NoResponseBody=true"}}k&&(a.credentials="include");e.headers&&re(e.headers).length>0&&(a.headers=e.headers);fetch(i,a).then(function(e){var n={},r="";e.headers&&e.headers.forEach(function(e,t){n[t]=e});e.body&&e.text().then(function(e){r=e});if(!u){u=!0;P(t,e.status,n,r);Y(r)}}).catch(function(e){if(!u){u=!0;P(t,0,{})}});if(o&&!u){u=!0;P(t,200,{})}!u&&e.timeout>0&&s.set(function(){if(!u){u=!0;P(t,500,{})}},e.timeout)}function D(e,t,n){var r=e.urlString;function i(e,t,n){if(!e[n]&&t&&t.getResponseHeader){var r=t.getResponseHeader(n);r&&(e[n]=ee(r))}return e}function s(e){var t={};if(e.getAllResponseHeaders)t=(function(e){var t={};X(e)&&Q(ee(e).split(/[\r\n]+/),function(e){if(e){var n=e.indexOf(": ");if(-1!==n){var r=ee(e.substring(0,n)).toLowerCase(),i=ee(e.substring(n+1));t[r]=i}else t[ee(e)]=1}});return t})(e.getAllResponseHeaders());else{t=i(t,e,"time-delta-millis");t=i(t,e,"kill-duration");t=i(t,e,"kill-duration-seconds")}return t}function o(e,n){P(t,e.status,s(e),n)}n&&e.disableXhrSync&&(n=!1);var u=(function(e,t,n,r,i,s){void 0===r&&(r=!1);void 0===i&&(i=!1);function o(e,t,n){try{e[t]=n}catch(e){}}var u=new XMLHttpRequest;r&&o(u,"Microsoft_ApplicationInsights_BypassAjaxInstrumentation",r);n&&o(u,"withCredentials",n);u.open(e,t,!i);n&&o(u,"withCredentials",n);!i&&s&&o(u,"timeout",s);return u})("POST",r,k,!0,n,e.timeout);F(e.headers,function(e,t){u.setRequestHeader(e,t)});u.onload=function(){var e=Cr(u);o(u,e);Y(e)};u.onerror=function(){o(u)};u.ontimeout=function(){o(u)};u.send(e.data)}function P(e,t,n,r){try{e(t,n,r)}catch(e){dt(o.diagLog(),2,518,Be(e))}}function H(e,t,n){var r=200,i=e._thePayload,s=e.urlString+"&NoResponseBody=true";try{var u=Oe();if(!u.sendBeacon(s,e.data))if(i){var a=[];Q(i.batches,function(e){if(a&&e&&e.count()>0){for(var t=e.events(),n=0;n<t.length;n++)if(!u.sendBeacon(s,x.getEventBlob(t[n]))){a.push(e.split(n));break}}else a.push(e.split(0))});Z(a,8003,i.sendType,!0)}else r=0}catch(e){o.diagLog().warnToConsole("Failed to send telemetry using sendBeacon API. Ex:"+Be(e));r=0}finally{P(t,r,{},"")}}function B(e){return 2===e||3===e}function j(e){N&&B(e)&&(e=2);return e}e.addQueryStringParameter=function(e,t){for(var n=0;n<w.length;n++)if(w[n].name===e){w[n].value=t;return}w.push({name:e,value:t})};e.addHeader=function(e,t){E[e]=t};e.canSendRequest=function(){return I()&&m.allowRequestSending()};e.sendQueuedRequests=function(e,t){M(e)&&(e=0);if(N){e=j(e);t=2}R(S,e,0)&&W(q(),0,!1,e,t||0)};e.isCompletelyIdle=function(){return!v&&0===y&&0===S.length};e.setUnloading=function(e){N=e};e.addBatch=function(e){if(e&&e.count()>0){if(d.isTenantKilled(e.iKey()))return!1;S.push(e)}return!0};e.teardown=function(){S.length>0&&W(q(),0,!0,2,2)};e.pause=function(){v=!0};e.resume=function(){v=!1;e.sendQueuedRequests(0,4)};e.sendSynchronousBatch=function(e,t,n){if(e&&e.count()>0){_(t)&&(t=1);if(N){t=j(t);n=2}W([e],0,!1,t,n||0)}};function I(){return!v&&y<n}function q(){var e=S;S=[];return e}function R(e,t,n){var r=!1;e&&e.length>0&&!v&&u[t]&&x&&(r=0!==t||I()&&(n>0||m.allowRequestSending()));return r}function U(e){var t={};e&&Q(e,function(e,n){t[n]={iKey:e.iKey(),evts:e.events()}});return t}function W(e,n,r,i,s){if(e&&0!==e.length)if(v)Z(e,1,i);else{i=j(i);try{var f=e,l=0!==i;Rn(a,function(){return"HttpManager:_sendBatches"},function(o){o&&(e=e.slice(0));for(var a=[],f=null,c=Mn(),h=u[i]||(l?u[1]:u[0]),p=(N||B(i)||h&&3===h._transport)&&!b&&g&&je();R(e,i,n);){var v=e.shift();if(v&&v.count()>0)if(d.isTenantKilled(v.iKey()))a.push(v);else{f=f||x.createPayload(n,r,l,p,s,i);if(x.appendPayload(f,v,t)){if(null!==f.overflow){e=[f.overflow].concat(e);f.overflow=null;K(f,c,Mn(),s);c=Mn();f=null}}else{K(f,c,Mn(),s);c=Mn();e=[v].concat(e);f=null}}}f&&K(f,c,Mn(),s);e.length>0&&(S=e.concat(S));Z(a,8004,i)},function(){return{batches:U(f),retryCount:n,isTeardown:r,isSynchronous:l,sendReason:s,useSendBeacon:B(i),sendType:i}},!l)}catch(e){dt(o.diagLog(),2,48,"Unexpected Exception sending batch: "+Be(e))}}}function $(e,t){var n={url:p,hdrs:{},useHdrs:!1};if(t){n.hdrs=On(n.hdrs,E);n.useHdrs=re(n.hdrs).length>0}else F(E,function(e,t){if(Tr[e])Lr(n,Tr[e],t,!1);else{n.hdrs[e]=t;n.useHdrs=!0}});Lr(n,"client-id","NO_AUTH",t);Lr(n,"client-version","1DS-Web-JS-3.2.2",t);var r="";Q(e.apiKeys,function(e){r.length>0&&(r+=",");r+=e});Lr(n,"apikey",r,t);Lr(n,"upload-time",ae().toString(),t);var i=(function(e){for(var t=0;t<e.batches.length;t++){var n=e.batches[t].Msfpc();if(n)return encodeURIComponent(n)}return""})(e);Tn(i)&&(n.url+="&ext.intweb.msfpc="+i);m.shouldAddClockSkewHeaders()&&Lr(n,"time-delta-to-apply-millis",m.getClockSkewHeaderValue(),t);if(a.getWParam){var s=a.getWParam();s>=0&&(n.url+="&w="+s)}for(var o=0;o<w.length;o++)n.url+="&"+w[o].name+"="+w[o].value;return n}function J(e,t,n){e[t]=e[t]||{};e[t][o.identifier]=n}function K(t,n,i,s){if(t&&t.payloadBlob&&t.payloadBlob.length>0){var f=!!e.sendHook,p=u[t.sendType];!B(t.sendType)&&t.isBeacon&&2===t.sendReason&&(p=u[2]||u[3]||p);var v=C;(t.isBeacon||3===p._transport)&&(v=!1);var g=$(t,v);v=v||g.useHdrs;var w=Mn();Rn(a,function(){return"HttpManager:_doPayloadSend"},function(){for(var u=0;u<t.batches.length;u++)for(var E=t.batches[u].events(),S=0;S<E.length;S++){var x=E[S];if(T){var C=x.timings=x.timings||{};J(C,"sendEventStart",w);J(C,"serializationStart",n);J(C,"serializationCompleted",i)}x.sendAttempt>0?x.sendAttempt++:x.sendAttempt=1}Z(t.batches,1e3+(s||0),t.sendType,!0);var k={data:t.payloadBlob,urlString:g.url,headers:g.hdrs,_thePayload:t,_sendReason:s,timeout:l};M(c)||(k.disableXhrSync=!!c);if(v){kr(k.headers,"cache-control")||(k.headers["cache-control"]="no-cache, no-store");kr(k.headers,"content-type")||(k.headers["content-type"]="application/x-json-stream")}var L=null;p&&(L=function(n){m.firstRequestSent();var i=function(n,i){(function(t,n,i,s){var u,a=9e3,f=null,l=!1,c=!1;try{var p=!0;if(typeof t!==h.c){if(n){m.setClockSkew(n["time-delta-millis"]);var v=n["kill-duration"]||n["kill-duration-seconds"];Q(d.setKillSwitchTenants(n["kill-tokens"],v),function(e){Q(i.batches,function(t){if(t.iKey()===e){f=f||[];var n=t.split(0);i.numEvents-=n.count();f.push(n)}})})}if(200==t||204==t){a=200;return}(!(u=t,!(u>=300&&u<500&&408!=u&&429!=u||501==u||505==u))||i.numEvents<=0)&&(p=!1);a=9e3+t%1e3}if(p){a=100;var g=i.retryCnt;if(0===i.sendType)if(g<r){l=!0;G(function(){0===i.sendType&&y--;W(i.batches,g+1,i.isTeardown,N?2:i.sendType,5)},N,yr(g))}else{c=!0;N&&(a=8001)}}}finally{if(!l){m.setClockSkew();(function(t,n,r,i){try{i&&o._backOffTransmission();if(200===n){i||t.isSync||o._clearBackOff();(function(e){if(T){var t=Mn();Q(e,function(e){e&&e.count()>0&&(n=e.events(),r=t,T&&Q(n,function(e){J(e.timings=e.timings||{},"sendEventCompleted",r)}));var n,r})}})(t.batches)}Z(t.batches,n,t.sendType,!0)}finally{if(0===t.sendType){y--;5!==r&&e.sendQueuedRequests(t.sendType,r)}}})(i,a,s,c)}Z(f,8004,i.sendType)}})(n,i,t,s)},u=t.isTeardown||t.isSync;try{p.sendPOST(n,i,u);e.sendListener&&e.sendListener(k,n,u,t.isBeacon)}catch(e){o.diagLog().warnToConsole("Unexpected exception sending payload. Ex:"+Be(e));P(i,0,{})}});Rn(a,function(){return"HttpManager:_doPayloadSend.sender"},function(){if(L){0===t.sendType&&y++;if(f&&!t.isBeacon&&3!==p._transport){var n={data:k.data,urlString:k.urlString,headers:On({},k.headers),timeout:k.timeout,disableXhrSync:k.disableXhrSync},r=!1;Rn(a,function(){return"HttpManager:_doPayloadSend.sendHook"},function(){try{e.sendHook(n,function(e){r=!0;if(!b&&!e._thePayload){e._thePayload=e._thePayload||k._thePayload;e._sendReason=e._sendReason||k._sendReason}L(e)},t.isSync||t.isTeardown)}catch(e){r||L(k)}})}else L(k)}})},function(){return{thePayload:t,serializationStart:n,serializationCompleted:i,sendReason:s}},t.isSync)}t.sizeExceed&&t.sizeExceed.length>0&&Z(t.sizeExceed,8003,t.sendType);t.failedEvts&&t.failedEvts.length>0&&Z(t.failedEvts,8002,t.sendType)}function G(e,t,n){t?e():s.set(e,n)}function Y(t){var n=e._responseHandlers;try{for(var r=0;r<n.length;r++)try{n[r](t)}catch(e){dt(o.diagLog(),1,519,"Response handler failed: "+e)}if(t){var i=JSON.parse(t);Tn(i.webResult)&&Tn(i.webResult.msfpc)&&f.set("MSFPC",i.webResult.msfpc,31536e3)}}catch(e){}}function Z(e,t,n,r){if(e&&e.length>0&&i){var s=i[(function(e){var t=Sr[e];if(!Tn(t)){t="oth";e>=9e3&&e<=9999?t="rspFail":e>=8e3&&e<=8999?t="drop":e>=1e3&&e<=1999&&(t="send")}return t})(t)];if(s){var u=0!==n;Rn(a,function(){return"HttpManager:_sendBatchesNotification"},function(){G(function(){try{s.call(i,e,t,u,n)}catch(e){dt(o.diagLog(),1,74,"send request notification failed: "+e)}},r||u,0)},function(){return{batches:U(e),reason:t,isSync:u,sendSync:r,sendType:n}},!u)}}}})};function Or(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setTimeout(e,t,n)}function Mr(e){clearTimeout(e)}function _r(e,t){return{set:e||Or,clear:t||Mr}}var Dr=(function(e){Object(jn.e)(t,e);function t(){var n,r=e.call(this)||this;r.identifier="PostChannel";r.priority=1011;r.version="3.2.2";var i,s,o,u,a,f,l,c=!1,h=[],p=null,d=!1,v=0,m=500,g=0,y=1e4,b={},w="REAL_TIME",E=null,S=null,x=0,T=0,N={},C=-1,k=!0,L=!1,A=6,O=2;rt(t,r,function(e,t){B();e._getDbgPlgTargets=function(){return[s]};e.initialize=function(u,a,c){Rn(a,function(){return"PostChannel:initialize"},function(){var h=a;t.initialize(u,a,c);try{a.addUnloadCb;f=un(Vt(e.identifier),a.evtNamespace&&a.evtNamespace());var p=e._getTelCtx();u.extensionConfig[e.identifier]=u.extensionConfig[e.identifier]||{};n=p.getExtCfg(e.identifier);l=_r(n.setTimeoutOverride,n.clearTimeoutOverride);k=!n.disableOptimizeObj&&!!Ne("chrome");(function(e){var t=e.getWParam;e.getWParam=function(){var e=0;n.ignoreMc1Ms0CookieProcessing&&(e|=2);return e|t()}})(h);n.eventsLimitInMem>0&&(y=n.eventsLimitInMem);n.immediateEventLimit>0&&(m=n.immediateEventLimit);n.autoFlushEventsLimit>0&&(o=n.autoFlushEventsLimit);n.disableXhrSync;V(n.maxEventRetryAttempts)&&(A=n.maxEventRetryAttempts);V(n.maxUnloadEventRetryAttempts)&&(O=n.maxUnloadEventRetryAttempts);oe();n.httpXHROverride&&n.httpXHROverride.sendPOST&&(i=n.httpXHROverride);Tn(u.anonCookieName)&&s.addQueryStringParameter("anoncknm",u.anonCookieName);s.sendHook=n.payloadPreprocessor;s.sendListener=n.payloadListener;var d=n.overrideEndpointUrl?n.overrideEndpointUrl:u.endpointUrl;e._notificationManager=u.extensionConfig.NotificationManager;s.initialize(d,e.core,e,i,n);var v=u.disablePageUnloadEvents||[];pn(r,v,f);(function e(t,n,r){var i=un(Jt,r),s=cn(["pagehide"],t,n,i);n&&-1!==G(n,"visibilitychange")||(s=cn(["visibilitychange"],function(e){var n=Le();t&&n&&"hidden"===n.visibilityState&&t(e)},n,i)||s);!s&&n&&(s=e(t,null,r));return s})(r,v,f);(function e(t,n,r){var i=un(Kt,r),s=cn(["pageshow"],t,n,i);!(s=cn(["visibilitychange"],function(e){var n=Le();t&&n&&"visible"===n.visibilityState&&t(e)},n,i)||s)&&n&&(s=e(t,null,r));return s})(M,u.disablePageShowEvents,f)}catch(t){e.setInitialized(!1);throw t}},function(){return{coreConfig:u,core:a,extensions:c}})};e.processTelemetry=function(t,r){Pn(t,e.identifier);var i=(r=e._getTelCtx(r)).getExtCfg(e.identifier),s=!!n.disableTelemetry;i&&(s=s||!!i.disableTelemetry);var o=t;if(!s&&!c){n.overrideInstrumentationKey&&(o.iKey=n.overrideInstrumentationKey);i&&i.overrideInstrumentationKey&&(o.iKey=i.overrideInstrumentationKey);_(o,!0);L?q(2,2):H()}e.processNext(o,r)};e._doTeardown=function(e,t){q(2,2);c=!0;s.teardown();hn(["beforeunload","unload","pagehide"],null,f);(function(e,t){var n=un(Jt,t);hn(["pagehide"],e,n);hn(["visibilitychange"],null,n)})(null,f);(function(e,t){var n=un(Kt,t);hn(["pageshow"],e,n);hn(["visibilitychange"],null,n)})(null,f);B()};function r(e){if("beforeunload"!==(e||ke().event).type){L=!0;s.setUnloading(L)}q(2,2)}function M(e){L=!1;s.setUnloading(L)}function _(e,t){e.sendAttempt||(e.sendAttempt=0);e.latency||(e.latency=1);e.ext&&e.ext.trace&&delete e.ext.trace;e.ext&&e.ext.user&&e.ext.user.id&&delete e.ext.user.id;if(k){e.ext=ge(e.ext);e.baseData&&(e.baseData=ge(e.baseData));e.data&&(e.data=ge(e.data))}if(e.sync)if(x||d){e.latency=3;e.sync=!1}else if(s){k&&(e=ge(e));s.sendSynchronousBatch(pr.create(e.iKey,[e]),!0===e.sync?1:e.sync,3);return}var n=e.latency,r=g,i=y;if(4===n){r=v;i=m}var o=!1;if(r<i)o=!z(e,t);else{var u=1,a=20;if(4===n){u=4;a=1}o=!0;(function(e,t,n,r){for(;n<=t;){var i=R(e,t,!0);if(i&&i.count()>0){var s=i.split(0,r),o=s.count();if(o>0){4===n?v-=o:g-=o;Z("eventsDiscarded",[s],lr.QueueFull);return!0}}n++}W();return!1})(e.iKey,e.latency,u,a)&&(o=!z(e,t))}o&&Y("eventsDiscarded",[e],lr.QueueFull)}e.setEventQueueLimits=function(e,t){y=e>0?e:1e4;o=t>0?t:0;oe();var n=g>e;if(!n&&u>0)for(var r=1;!n&&r<=3;r++){var i=N[r];i&&i.batches&&Q(i.batches,function(e){e&&e.count()>=u&&(n=!0)})}U(!0,n)};e.pause=function(){I();d=!0;s.pause()};e.resume=function(){d=!1;s.resume();H()};e.addResponseHandler=function(e){s._responseHandlers.push(e)};e._loadTransmitProfiles=function(e){(function(){I();$();w="REAL_TIME";H()})();F(e,function(e,t){var n=t.length;if(n>=2){var r=n>2?t[2]:0;t.splice(0,n-2);t[1]<0&&(t[0]=-1);if(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);b[e]=t}})};e.flush=function(e,t,n){void 0===e&&(e=!0);if(!d){I();n=n||1;if(e){X(1,0,n);W();null==p?p=j(function(){(function e(t,n){D(1,0,n);(function e(t){s.isCompletelyIdle()?t():p=j(function(){e(t)},.25)})(function(){t&&t();if(h.length>0)p=j(function(){return e(h.shift(),n)},0);else{p=null;P()&&H()}})})(t,n)},0):h.push(t)}else{D(1,1,n);null!=t&&t()}}};e.setMsaAuthTicket=function(e){s.addHeader("AuthMsaDeviceTicket",e)};e.hasEvents=P;e._setTransmitProfile=function(e){if(w!==e&&void 0!==b[e]){I();w=e;H()}};function D(e,t,n){var r=X(e,t,n);s.sendQueuedRequests(t,n);return r}function P(){return g>0}function H(){C>=0&&X(C,0,a)&&s.sendQueuedRequests(0,a);if(v>0&&!S&&!d){var e=b[w][2];e>=0&&(S=j(function(){S=null;D(4,0,1);H()},e))}var t=b[w][1];!E&&!p&&t>=0&&!d&&(P()?E=j(function(){E=null;D(0===T?3:1,0,1);T++;T%=2;H()},t):T=0)}e._backOffTransmission=function(){if(x<4){x++;I();H()}};e._clearBackOff=function(){if(x){x=0;I();H()}};function B(){n=null;c=!1;h=[];p=null;d=!1;v=0;m=500;g=0;y=1e4;b={};w="REAL_TIME";E=null;S=null;x=0;T=0;i=null;N={};o=void 0;u=0;C=-1;a=null;k=!0;L=!1;!1;A=6;O=2;f=null;l=_r();s=new Ar(500,2,1,{requeue:J,send:ee,sent:te,drop:ne,rspFail:re,oth:se},l);$();(function(){N[4]={batches:[],iKeyMap:{}};N[3]={batches:[],iKeyMap:{}};N[2]={batches:[],iKeyMap:{}};N[1]={batches:[],iKeyMap:{}}})();oe()}function j(e,t){0===t&&x&&(t=1);var n=1e3;x&&(n=yr(x-1));return l.set(e,t*n)}function I(){if(null!==E){l.clear(E);E=null;T=0}}function q(e,t){I();if(p){l.clear(p);p=null}d||D(1,e,t)}function R(e,t,n){var r=N[t];r||(r=N[t=1]);var i=r.iKeyMap[e];if(!i&&n){i=pr.create(e);r.batches.push(i);r.iKeyMap[e]=i}return i}function U(t,n){if(s.canSendRequest()&&!x){o>0&&g>o&&(n=!0);n&&null==p&&e.flush(t,null,20)}}function z(e,t){k&&(e=ge(e));var n=e.latency,r=R(e.iKey,n,!0);if(r.addEvent(e)){if(4!==n){g++;t&&0===e.sendAttempt&&U(!e.sync,u>0&&r.count()>=u)}else v++;return!0}return!1}function W(){for(var e=0,t=0,n=function(n){var r=N[n];r&&r.batches&&Q(r.batches,function(r){4===n?e+=r.count():t+=r.count()})},r=1;r<=4;r++)n(r);g=t;v=e}function X(t,n,r){var i=!1,o=0===n;if(!o||s.canSendRequest())Rn(e.core,function(){return"PostChannel._queueBatches"},function(){for(var e=[],n=4;n>=t;){var r=N[n];if(r&&r.batches&&r.batches.length>0){Q(r.batches,function(t){s.addBatch(t)?i=i||t&&t.count()>0:e=e.concat(t.events());4===n?v-=t.count():g-=t.count()});r.batches=[];r.iKeyMap={}}n--}e.length>0&&Y("eventsDiscarded",e,lr.KillSwitch);if(i&&C>=t){C=-1;a=0}},function(){return{latency:t,sendType:n,sendReason:r}},!o);else{C=C>=0?Math.min(C,t):t;a=Math.max(a,r)}return i}function $(){(b={}).REAL_TIME=[2,1,0];b.NEAR_REAL_TIME=[6,3,0];b.BEST_EFFORT=[18,9,0]}function J(t,n){var r=[],i=A;L&&(i=O);Q(t,function(t){t&&t.count()>0&&Q(t.events(),function(t){if(t){if(t.sync){t.latency=4;t.sync=!1}if(t.sendAttempt<i){Pn(t,e.identifier);_(t,!1)}else r.push(t)}})});r.length>0&&Y("eventsDiscarded",r,lr.NonRetryableStatus);L&&q(2,2)}function K(t,n){var r=e._notificationManager||{},i=r[t];if(i)try{i.apply(r,n)}catch(n){dt(e.diagLog(),1,74,t+" notification failed: "+n)}}function Y(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];t&&t.length>0&&K(e,[t].concat(n))}function Z(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];t&&t.length>0&&Q(t,function(t){t&&t.count()>0&&K(e,[t.events()].concat(n))})}function ee(e,t,n){e&&e.length>0&&K("eventsSendRequest",[t>=1e3&&t<=1999?t-1e3:0,!0!==n])}function te(e,t){Z("eventsSent",e,t);H()}function ne(e,t){Z("eventsDiscarded",e,t>=8e3&&t<=8999?t-8e3:lr.Unknown)}function re(e){Z("eventsDiscarded",e,lr.NonRetryableStatus);H()}function se(e,t){Z("eventsDiscarded",e,lr.Unknown);H()}function oe(){u=n&&n.disableAutoBatchFlushLimit?0:Math.max(1500,y/6)}ie(e,"_setTimeoutOverride",function(){return l.set},function(e){l=_r(e,l.clear)});ie(e,"_clearTimeoutOverride",function(){return l.clear},function(e){l=_r(l.set,e)})});return r}return t})(er),Pr=(function(e){Object(l.n)(t,e);function t(){return null!==e&&e.apply(this,arguments)||this}t.prototype.initialize=function(t,n){this._postChannel=new Dr;var r=[];n&&(r=r.concat(n));t.channels=[[this._postChannel]];t.extensionConfig=t.extensionConfig||[];t.extensionConfig[this._postChannel.identifier]=Object(l.e)(Object(l.e)({},t.channelConfiguration),t.extensionConfig[this._postChannel.identifier]);try{e.prototype.initialize.call(this,t,r)}catch(e){this.logger.warnToConsole("Failed to initialize SDK."+e)}};t.prototype.setUploadFrequency=function(e){if(this._postChannel&&e){var t=e/1e3,n=t/2,r={};r.OTelCustomTransmissionProfile=[t,n];this._postChannel._loadTransmitProfiles(r);this._postChannel._setTransmitProfile("OTelCustomTransmissionProfile")}};t.prototype.flush=function(e){this._postChannel&&this._postChannel.flush(e)};t.prototype.shutdown=function(){this._postChannel&&this._postChannel.teardown()};return t})(fr),Hr=(function(e){Object(l.n)(t,e);function t(){var t=null!==e&&e.apply(this,arguments)||this;t.identifier="PartAPlugin";t.priority=450;t._properties={};return t}t.prototype.initialize=function(t,n,r){e.prototype.initialize.call(this,t,n,r)};t.prototype.processTelemetry=function(e,t){Object.assign?Object.assign(e.data,this._properties):e.data=On(e.data,this._properties);var n=this._getTelCtx(t);this.processNext(e,n)};t.prototype.addDataFields=function(e){o(this._properties,e,{prependDataToken:!1,customerContentEnabled:!1})};return t})(er),Br=(function(){function e(e,t,n){this.start=Date.now();this.name=e;this.isAsync=!0===n;this.payload=t}e.prototype.isChildEvt=function(){return!1};e.prototype.complete=function(){this.time=Date.now()-this.start;this.exTime=this.time};return e})(),jr=(function(){function e(e){this._callbacks=e}e.prototype.create=function(e,t,n){if("HttpManager:_sendBatches"===e||"HttpManager:_sendBatchesNotification"===e){return new Br(e,t,n)}return null};e.prototype.fire=function(e){e&&e.complete();if(this._callbacks)switch(e.name){case"HttpManager:_sendBatches":this.handleSendBatches(e);break;case"HttpManager:_sendBatchesNotification":this.handleSendBatchesNotification(e)}};e.prototype.setCtx=function(e,t){};e.prototype.getCtx=function(e){};e.prototype.handleSendBatches=function(e){this._callbacks.requestProcessingStats&&this._callbacks.requestProcessingStats(e.time||0,0)};e.prototype.handleSendBatchesNotification=function(e){if(this._callbacks.requestProcessingStats&&e.payload){var t=e.payload();if(t.batches&&t.reason&&t.reason>=1e3&&t.reason<=1999){var n=0;for(var r in t.batches)n+=t.batches[r].evts.length;this._callbacks.requestProcessingStats(0,n)}}};return e})(),Fr=(function(e){Object(l.n)(t,e);function t(t,n){var i,o,a=e.call(this,t,n)||this;a.usePartAPlugin=!0;var f=new Hr,c=function(e){e&&e.addNotificationListener({eventsSent:function(e){Object(s.t)(2,2,function(){return"Successfully sent "+e.length+" event(s)"});Object(s.t)(3,2,function(){return"Sent event(s) details : "+JSON.stringify(e,null,2)});a.eventsSent+=e.length},eventsDiscarded:function(e,t){Object(s.t)(0,2,function(){return"Discarded "+e.length+" event(s) because "+t});Object(s.t)(3,2,function(){return"Discarded event(s) details : "+JSON.stringify(e,null,2)});a.eventsDiscarded+=e.length}})};function h(e,t,n,r){var i={instrumentationKey:t,endpointUrl:n,channelConfiguration:{eventsLimitInMem:e.eventsLimitInMem,httpXHROverride:e.httpXHROverride,setTimeoutOverride:e.setTimeoutOverride,clearTimeoutOverride:e.clearTimeoutOverride,ignoreMc1Ms0CookieProcessing:!0,disableOptimizeObj:!0},disableCookiesUsage:!0,extensionConfig:Object(l.e)({},e.extensionConfig)};e.stats&&e.stats.networkStats&&i.channelConfiguration&&(i.channelConfiguration.payloadListener=function(t,n){var r,i=n||t;i.data&&(null===(r=e.stats)||void 0===r||r.networkStats(i.data.length))});var s=new Pr;s.initialize(i,r);s.setUploadFrequency(e.uploadFrequency);e.notificationListener&&s.addNotificationListener(e.notificationListener);e.stats&&s.setPerfMgr(new jr(e.stats));return s}a.sendTelemetryEvent=function(e){return u(function(){var t=a.getOneDSTelemetryEvent(e);t&&i&&i.track(t)},void 0)};a.sendCustomerContent=function(e){return u(function(){var t=a.getOneDSCustomerContent(e);t&&o&&o.track(t)},void 0)};a.addPersistentDataFields=function(e){f.addDataFields(e)};a.flush=function(e){i&&i.flush(e)};a.shutdown=function(){try{i&&i.shutdown()}catch(e){Object(s.t)(0,2,function(){return"An error occurred on shutdown"})}};var p=[f];n.plugins&&p.push.apply(p,n.plugins);if(!n.endpointUrl)throw new Error("Missing Endpoint Url");i=h(n,"f998cc5ba4d448d6a1e8e913ff18be94-dd122e0a-fcf8-4dc5-9dbb-6afac5325183-7405",n.endpointUrl,p);n.enableCustomerContent&&n.endpointUrl===r.PUBLIC&&(o=h(n,"b22a201c3f1d41d28ccc399ba6cc9ca2-1972c77f-1f79-4283-a0f9-b4ddc4646f55-7121",r.CUSTOMER_CONTENT,p));if(!n.disableStatsTracking){c(i);c(o)}a.addPersistentDataFields(t);return a}return t})(Bn);var Ir=(function(){function e(){this.name="Sampler";this.sampleRate=.02}e.prototype.enableWithIdentifier=function(e,t){if("string"!=typeof t||t.length<4)return!1;this.samplingValue=(function(e){return(function(e){for(var t=5381,n=0;n<e.length;n++)t=(t<<5)+t+e.charCodeAt(n);return t>>>0})(e)%1e3/1e3})(t);this.samplingKey=e;return!0};e.prototype.enableWithSamplingValue=function(e,t){if(isNaN(t)||t<0||t>=1)return!1;this.samplingValue=t;this.samplingKey=e;return!0};e.prototype.enableWithRandomValue=function(){var e=new Uint32Array(1);if("object"!=typeof window||!window.crypto)return!1;window.crypto.getRandomValues(e);this.samplingValue=e[0]%1e3/1e3;this.samplingKey="Random";return!0};e.prototype.setSampleRate=function(e){if(e>=0&&e<=1){this.sampleRate=e;return!0}return!1};e.prototype.getSamplingValue=function(){return this.samplingValue};e.prototype.isMeasuresEnabled=function(){return void 0===this.samplingValue||this.samplingValue<this.sampleRate};e.prototype.processEvent=function(e){var t=e.eventFlags.samplingPolicy;if(void 0===this.samplingValue||void 0===t)return!0;if(1===t){if(this.isMeasuresEnabled()){this.addSampleRateField(e,this.sampleRate,this.samplingValue);return!0}return!1}if(2===t)return!1;this.addSampleRateField(e,1,this.samplingValue);return!0};e.prototype.addSampleRateField=function(e,t,n){e.eventContract||(e.eventContract={name:"",dataFields:[]});var r=e.eventContract.dataFields;r.push(Object(i.t)("Event.SampleRate",t));r.push(Object(i.t)("Session.SamplingValue",n));this.samplingKey&&r.push(Object(i.i)("Session.SamplingKey",this.samplingKey));r.push(Object(i.e)("Session.MeasuresEnabled",this.isMeasuresEnabled()))};return e})();function qr(){var e;return Object(l.t)(this,void 0,void 0,function(){return Object(l.r)(this,function(t){switch(t.label){case 0:return navigator.userAgent&&navigator.userAgent.indexOf("Windows")>0&&(null===(e=navigator.userAgentData)||void 0===e?void 0:e.getHighEntropyValues)?[4,navigator.userAgentData.getHighEntropyValues(["platformVersion"]).then(function(e){return parseInt(e.platformVersion.split(".")[0],10)>=13}).catch(function(e){return!1})]:[3,2];case 1:return[2,t.sent()];case 2:return[2,!1]}})})}var Rr=(function(e){Object(l.n)(t,e);function t(){var t=null!==e&&e.apply(this,arguments)||this;t.identifier="Windows11";t.priority=449;t._isWindows11=!1;return t}t.prototype.processTelemetry=function(e,t){if(this._isWindows11){e.ext=e.ext||{};e.ext.os=e.ext.os||{};e.ext.os.name="Windows 11"}var n=this._getTelCtx(t);this.processNext(e,n)};t.prototype.detectOs=function(){return Object(l.t)(this,void 0,void 0,function(){var e;return Object(l.r)(this,function(t){switch(t.label){case 0:e=this;return[4,qr()];case 1:e._isWindows11=t.sent();return[2]}})})};return t})(er)},function(e,t,n){"use strict";var r,i=n(118),s=n(87),o=n(120),u={ODB:587,ODC:"AllowFeatureOverrides",Fallback:!1},a={ODB:357,ODC:null,Fallback:!1},f={ODB:342,ODC:null,Fallback:!1},l={ODB:60763,ODC:"AllowFeatureOverrides",Fallback:!1},c={},h="".concat("FeatureOverrides","_").concat("enableFeatures"),p="".concat("FeatureOverrides","_").concat("disableFeatures");function d(e){var t=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return t?t.pop():""}function v(e){var t=[],n=[];for(var r in e)(e[r]?t:n).push(r);document.cookie="".concat(h,"=").concat(t.join(","),";path=/;samesite=none;secure;");document.cookie="".concat(p,"=").concat(n.join(","),";path=/;samesite=none;secure;")}function m(e,t,n,r){if(t)for(var i=0,s=t.split(",");i<s.length;i++){e[l=s[i]]=!0}if(n)for(var o=0,u=n.split(",");o<u.length;o++){e[l=u[o]]=!1}if(r)for(var a=0,f=r.split(",");a<f.length;a++){var l;"!"===(l=f[a])[0]?e[l.slice(1)]=!1:e[l]=!0}return e}var g=(function(){function e(){}Object.defineProperty(e,"Overrides",{get:function(){return c},enumerable:!1,configurable:!0});e.evaluateCanOverride=function(){e.CanOverride=s.e.isFeatureEnabled(u)||s.e.isFeatureEnabled(a)||s.e.isFeatureEnabled(f)||s.e.isFeatureEnabled(l)||!(!(null===window||void 0===window?void 0:window.Flight)||"dev"!==window.Flight.version&&!window.Flight.devMode)};e.isFeatureEnabled=function(t,n){(function(e){r&&r(e)})(t);if(e.CanOverride){if(t.ODB in c)return c[t.ODB];if(t.ODC in c)return c[t.ODC]}return n?Object(o.e)(t,n):s.e.isFeatureEnabled(t)};e.AllowFeatureOverrides=u;e.SPODebugOnlyCookieRedirect=a;e.ClientDebugFeatureOverrides=l;return e})();t.e=g;g.evaluateCanOverride();g.CanOverride&&(function(){c=m({},d(h),d(p),void 0);var e=location.search?location.search.substring(1):"",t=Object(i.e)(e),n=t.enableFeatures,r=t.disableFeatures,s=t.debugFlights;m(c,n,r,s);v(c);try{window.__debugSetFeature=function(e,t){void 0===t&&(t=!0);c[e]=!!t;v(c)}}catch(e){}})()},function(e,t,n){"use strict";n.d(t,"e",function(){return o});var r=n(123),i=n(50),s=n(60);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return u(e,Object(i.e)())}function u(e,t){var n=e instanceof Array?e:[e],i=Object(r.e)(n),o=i.classes,u=i.objects;u.length&&o.push(Object(s.n)(t||{},u));return o.join(" ")}},function(e,t,n){"use strict";n.d(t,"t",function(){return u});n.d(t,"e",function(){return a});var r=n(97),i=n(123),s=n(50),o=n(60);function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a(e,Object(s.e)())}function a(e,t){var n,s,u={subComponentStyles:{}};if(!e[0]&&e.length<=1)return{subComponentStyles:{}};var a=r.e.apply(void 0,e),f=[];for(var l in a)if(a.hasOwnProperty(l)){if("subComponentStyles"===l){u.subComponentStyles=a.subComponentStyles||{};continue}var c=a[l],h=Object(i.e)(c),p=h.classes,d=h.objects;if(null===(n=d)||void 0===n?void 0:n.length){if(g=Object(o.r)(t||{},{displayName:l},d)){f.push(g);u[l]=p.concat([g.className]).join(" ")}}else u[l]=p.join(" ")}for(var v=0,m=f;v<m.length;v++){var g;(g=m[v])&&Object(o.e)(g,null===(s=t)||void 0===s?void 0:s.specificityMultiplier)}return u}},function(e,t,n){"use strict";n.d(t,"e",function(){return i});var r=n(127);function i(e,t,n){void 0===n&&(n=!0);var i=!1;if(e&&t)if(n)if(e===t)i=!0;else{i=!1;for(;t;){var s=Object(r.e)(t);if(s===e){i=!0;break}t=s}}else e.contains&&(i=e.contains(t));return i}},function(e,t,n){"use strict";n.d(t,"i",function(){return a});n.d(t,"u",function(){return f});n.d(t,"s",function(){return l});n.d(t,"a",function(){return c});n.d(t,"n",function(){return h});n.d(t,"l",function(){return p});n.d(t,"f",function(){return d});n.d(t,"p",function(){return m});n.d(t,"h",function(){return g});n.d(t,"c",function(){return y});n.d(t,"e",function(){return b});n.d(t,"d",function(){return w});n.d(t,"t",function(){return S});n.d(t,"o",function(){return x});n.d(t,"r",function(){return T});var r=n(125);var i=n(228),s=n(127),o=n(12),u=n(24);function a(e,t,n){return d(e,t,!0,!1,!1,n)}function f(e,t,n){return p(e,t,!0,!1,!0,n)}function l(e,t,n,r){void 0===r&&(r=!0);return d(e,t,r,!1,!1,n,!1,!0)}function c(e,t,n,r){void 0===r&&(r=!0);return p(e,t,r,!1,!0,n,!1,!0)}function h(e){var t=d(e,e,!0,!1,!1,!0);if(t){S(t);return!0}return!1}function p(e,t,n,r,i,s,o,u){if(!t||!o&&t===e)return null;var a=v(t);if(i&&a&&(s||!g(t)&&!y(t))){var f=p(e,t.lastElementChild,!0,!0,!0,s,o,u);if(f){if(u&&m(f,!0)||!u)return f;var l=p(e,f.previousElementSibling,!0,!0,!0,s,o,u);if(l)return l;for(var c=f.parentElement;c&&c!==t;){var h=p(e,c.previousElementSibling,!0,!0,!0,s,o,u);if(h)return h;c=c.parentElement}}}if(n&&a&&m(t,u))return t;var d=p(e,t.previousElementSibling,!0,!0,!0,s,o,u);return d||(r?null:p(e,t.parentElement,!0,!1,!1,s,o,u))}function d(e,t,n,r,i,s,o,u){if(!t||t===e&&i&&!o)return null;var a=v(t);if(n&&a&&m(t,u))return t;if(!i&&a&&(s||!g(t)&&!y(t))){var f=d(e,t.firstElementChild,!0,!0,!1,s,o,u);if(f)return f}if(t===e)return null;var l=d(e,t.nextElementSibling,!0,!0,!1,s,o,u);return l||(r?null:d(e,t.parentElement,!1,!1,!0,s,o,u))}function v(e){if(!e||!e.getAttribute)return!1;var t=e.getAttribute("data-is-visible");return null!=t?"true"===t:0!==e.offsetHeight||null!==e.offsetParent||!0===e.isVisible}function m(e,t){if(!e||e.disabled)return!1;var n=0,r=null;e&&e.getAttribute&&(r=e.getAttribute("tabIndex"))&&(n=parseInt(r,10));var i=e.getAttribute?e.getAttribute("data-is-focusable"):null,s=null!==r&&n>=0,o=!!e&&"false"!==i&&("A"===e.tagName||"BUTTON"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName||"true"===i||s);return t?-1!==n&&o:o}function g(e){return!!(e&&e.getAttribute&&e.getAttribute("data-focuszone-id"))}function y(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute("data-is-sub-focuszone"))}function b(e){var t=Object(u.e)(e),n=t&&t.activeElement;return!(!n||!Object(i.e)(e,n))}function w(e,t){return"true"!==(function(e,t){var n=Object(r.e)(e,function(e){return e.hasAttribute(t)});return n&&n.getAttribute(t)})(e,t)}var E=void 0;function S(e){if(e){if(E){E=e;return}E=e;var t=Object(o.e)(e);t&&t.requestAnimationFrame(function(){var e=E;E=void 0;if(e){e.getAttribute&&"true"===e.getAttribute("data-is-focusable")&&(e.getAttribute("tabindex")||e.setAttribute("tabindex","0"));e.focus()}})}}function x(e,t){for(var n=e,r=0,i=t;r<i.length;r++){var s=i[r],o=n.children[Math.min(s,n.children.length-1)];if(!o)break;n=o}return n=m(n)&&v(n)?n:d(e,n,!0)||p(e,n)}function T(e,t){for(var n=[];t&&e&&t!==e;){var r=Object(s.e)(t,!0);if(null===r)return[];n.unshift(Array.prototype.indexOf.call(r.children,t));t=r}return n}}],Array(47),[function(e,t,n){"use strict";n.d(t,"e",function(){return o});n.d(t,"t",function(){return u});var r=n(8),i=n(88),s=((Object(i.e)()||{}).Symbol,(Object(i.e)()||{}).Reflect,r.e,function(e,t){return(s=r.t.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t[r.a](n)&&(e[n]=t[n])})(e,t)});function o(e,t){typeof t!==r.u&&null!==t&&Object(i.n)("Class extends value "+String(t)+" is not a constructor or null");s(e,t);function n(){this.constructor=e}e[r.l]=null===t?Object(i.t)(t):(n[r.l]=t[r.l],new n)}function u(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}},function(e,t,n){"use strict";n.d(t,"e",function(){return i});var r=n(97);function i(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var i=[],s=0,o=t;s<o.length;s++){var u=o[s];u&&i.push("function"==typeof u?u(e):u)}return 1===i.length?i[0]:i.length?r.e.apply(void 0,i):{}}},function(e,t,n){"use strict";n.d(t,"e",function(){return f});var r=n(0),i=n(121),s=n(2),o=n(15),u=n(23),a=n(79),f=(function(e){Object(r.n)(t,e);function t(t){var n=e.call(this,t)||this;(null==t?void 0:t.perfGoalInMs)&&n.setTimeout(null==t?void 0:t.perfGoalInMs,{resultType:o.e.Failure,errorCode:"Missing Perf Goal"});return n}t.prototype.end=function(t){t&&t.extraData&&this.data.extraData&&(t=Object(r.e)(Object(r.e)({},t),{extraData:Object(r.e)(Object(r.e)({},this.data.extraData),t.extraData)}));t&&"Missing Perf Goal"!==t.errorCode&&(t=this._assessPerf(t));return e.prototype.end.call(this,t)};t.prototype._assessPerf=function(e){if(!this.endTime){var t=e.perfGoalInMs||this.data.perfGoalInMs;if(t&&e.resultType!==o.e.Failure){t<u.e.getTime()-this.startTime&&(e=Object(r.e)(Object(r.e)({},e),{resultType:o.e.Failure,errorCode:"Missing Perf Goal",extraData:e.errorCode?Object(r.e)(Object(r.e)({},e.extraData),{innerErrorCode:e.errorCode}):void 0}))}}return e};return t})(Object(i.e)({eventName:"CustomerPromise,",shortEventName:"CustomerPromise",requiresParent:!1},{scenario:{isKey:!0,isPrefixingDisabled:!0,type:s.e.String},errorCode:{isPrefixingDisabled:!0,type:s.e.String},resultType:{typeRef:o.e,isPrefixingDisabled:!0,type:s.e.Enum},resultCategory:{isPrefixingDisabled:!0,type:s.e.String},extraData:s.e.Object,httpStatus:{isPrefixingDisabled:!0,type:s.e.Number},perfGoalInMs:{isPrefixingDisabled:!0,type:s.e.Number},duration:{isPrefixingDisabled:!0,type:s.e.Number}})).withManager(Object(a.e)())},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){r(e,t);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});t.hidePrompt=t.renderPrompt=t.gAbtPromptRef=t.AbtPrompt=void 0;var s=n("react-lib"),o=n("react-dom-lib"),u=n(178),a=n(147),f=(function(e){i(t,e);function t(t){var n=e.call(this,t)||this;n.state={hideDialog:!1};n._displayPrompt=n._displayPrompt.bind(n);n._buttonSignOutClick=n._buttonSignOutClick.bind(n);n._buttonStaySignInClick=n._buttonStaySignInClick.bind(n);return n}t.prototype._displayPrompt=function(){this.setState({hideDialog:!1})};t.prototype._buttonSignOutClick=function(){this.setState({hideDialog:!0});this.props.userId&&window.AbtInteraction.AbtBroadcastSignout(this.props.userId,this.props.timeout,window.AbtSignOutSource.UserGenerated)};t.prototype._buttonStaySignInClick=function(){this.setState({hideDialog:!0});window.AbtInteraction.AbtRegisterActivity(!0)};t.prototype._closeDialog=function(){this.setState({hideDialog:!0})};t.prototype.render=function(){return s.createElement("div",null,s.createElement(u.Dialog,{maxWidth:450,minWidth:300,hidden:this.state.hideDialog,onDismiss:this._closeDialog,dialogContentProps:{type:u.DialogType.normal,title:this.props.title},modalProps:{isBlocking:!0,containerClassName:"ms-dialogMainOverride"}},s.createElement("div",null,s.createElement("p",null," ",this.props.description),s.createElement("p",null," ",this.props.question," ")),s.createElement(u.DialogFooter,null,s.createElement(a.DefaultButton,{onClick:this._buttonSignOutClick,text:this.props.buttonSignOut}),s.createElement(a.PrimaryButton,{onClick:this._buttonStaySignInClick,text:this.props.buttonStaySignIn}))))};return t})(s.Component);t.AbtPrompt=f;t.gAbtPromptRef=s.createRef();function l(e){if(!document.getElementById(e.divName)){var n=document.createElement("div");n.id=e.divName;document.body.appendChild(n)}o.render(s.createElement(f,{ref:t.gAbtPromptRef,title:e.title,description:e.description,question:e.question,buttonSignOut:e.buttonSignOut,buttonStaySignIn:e.buttonStaySignIn,userId:e.userId,timeout:e.timeout}),document.getElementById(e.divName));t.gAbtPromptRef.current._displayPrompt()}t.renderPrompt=l;function c(){null===t.gAbtPromptRef&&void 0===t.gAbtPromptRef||t.gAbtPromptRef.current._closeDialog()}t.hidePrompt=c;window.AbtUI={AbtRenderPrompt:l,AbtHidePrompt:c}},function(e,t,n){"use strict";n.d(t,"e",function(){return l});var r=n(32),i=n(227),s=n(185),o=n(12),u=0,a=r.e.getInstance();a&&a.onReset&&a.onReset(function(){return u++});var f="__retval__";function l(e){void 0===e&&(e={});var t=new Map,n=0,r=0,a=u;return function(l,c){void 0===c&&(c={});var p,d;if(e.useStaticStyles&&"function"==typeof l&&l.__noStyleOverride__)return l(c);r++;var v=t,m=c.theme,g=m&&void 0!==m.rtl?m.rtl:Object(s.e)(),y=e.disableCaching;if(a!==u){a=u;t=new Map;n=0}if(!e.disableCaching){v=h(t,l);v=h(v,c)}if(y||!v[f]){v[f]=void 0===l?{}:Object(i.e)(["function"==typeof l?l(c):l],{rtl:!!g,specificityMultiplier:e.useStaticStyles?5:void 0});y||n++}if(n>(e.cacheSize||50)){if(null===(d=null===(p=Object(o.e)())||void 0===p?void 0:p.FabricConfig)||void 0===d?void 0:d.enableClassNameCacheFullWarning){console.warn("Styles are being recalculated too frequently. Cache miss rate is "+n+"/"+r+".");console.trace()}t.clear();n=0;e.disableCaching=!0}return v[f]}}function c(e,t){t=(function(e){switch(e){case void 0:return"__undefined__";case null:return"__null__";default:return e}})(t);e.has(t)||e.set(t,new Map);return e.get(t)}function h(e,t){if("function"==typeof t){if(t.__cachedInputs__)for(var n=0,r=t.__cachedInputs__;n<r.length;n++){e=c(e,r[n])}else e=c(e,t)}else if("object"==typeof t)for(var i in t)t.hasOwnProperty(i)&&(e=c(e,t[i]));return e}},function(e,t,n){"use strict";n.d(t,"e",function(){return u});var r=n(12),i=n(32),s=Object(r.e)()||{};void 0===s.__currentId__&&(s.__currentId__=0);var o=!1;function u(e){if(!o){var t=i.e.getInstance();t&&t.onReset&&t.onReset(a);o=!0}return(void 0===e?"id__":e)+s.__currentId__++}function a(e){void 0===e&&(e=0);s.__currentId__=e}},function(e,t,n){"use strict";n.d(t,"e",function(){return s});var r=n(187),i=function(e){return function(t){for(var n=0,r=e.refs;n<r.length;n++){var i=r[n];"function"==typeof i?i(t):i&&(i.current=t)}}},s=function(e){var t={refs:[]};return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];t.resolver&&Object(r.t)(t.refs,e)||(t.resolver=i(t));t.refs=e;return t.resolver}}},function(e,t,n){"use strict";n.d(t,"t",function(){return f});n.d(t,"e",function(){return l});n.d(t,"n",function(){return h});n.d(t,"r",function(){return p});n.d(t,"s",function(){return d});n.d(t,"i",function(){return v});var r,i=n(24),s=n(226),o=n(12),u=0,a=Object(s.e)({overflow:"hidden !important"}),f=function(e,t){if(e){var n=0,r=null;t.on(e,"touchstart",function(e){1===e.targetTouches.length&&(n=e.targetTouches[0].clientY)},{passive:!1});t.on(e,"touchmove",function(e){if(1===e.targetTouches.length){e.stopPropagation();if(r){var t=e.targetTouches[0].clientY-n,i=v(e.target);i&&(r=i);0===r.scrollTop&&t>0&&e.preventDefault();r.scrollHeight-Math.ceil(r.scrollTop)<=r.clientHeight&&t<0&&e.preventDefault()}}},{passive:!1});r=e}},l=function(e,t){if(e){t.on(e,"touchmove",function(e){e.stopPropagation()},{passive:!1})}},c=function(e){e.preventDefault()};function h(){var e=Object(i.e)();if(e&&e.body&&!u){e.body.classList.add(a);e.body.addEventListener("touchmove",c,{passive:!1,capture:!1})}u++}function p(){if(u>0){var e=Object(i.e)();if(e&&e.body&&1===u){e.body.classList.remove(a);e.body.removeEventListener("touchmove",c)}u--}}function d(){if(void 0===r){var e=document.createElement("div");e.style.setProperty("width","100px");e.style.setProperty("height","100px");e.style.setProperty("overflow","scroll");e.style.setProperty("position","absolute");e.style.setProperty("top","-9999px");document.body.appendChild(e);r=e.offsetWidth-e.clientWidth;document.body.removeChild(e)}return r}function v(e){for(var t=e,n=Object(i.e)(e);t&&t!==n.body;){if("true"===t.getAttribute("data-is-scrollable"))return t;t=t.parentElement}t=e;for(;t&&t!==n.body;){if("false"!==t.getAttribute("data-is-scrollable")){var r=getComputedStyle(t),s=r?r.getPropertyValue("overflow-y"):"";if(s&&("scroll"===s||"auto"===s))return t}t=t.parentElement}t&&t!==n.body||(t=Object(o.e)(e));return t}},function(e,t,n){"use strict";n.d(t,"e",function(){return f});var r=n(1),i=n("react-lib"),s=n(41),o=n(186),u=n(74),a=n(97);function f(e,t,n){return function(f){var l,c=((l=(function(o){Object(r.n)(l,o);function l(e){var t=o.call(this,e)||this;t._styleCache={};t._onSettingChanged=t._onSettingChanged.bind(t);return t}l.prototype.componentDidMount=function(){s.e.observe(this._onSettingChanged)};l.prototype.componentWillUnmount=function(){s.e.unobserve(this._onSettingChanged)};l.prototype.render=function(){var o=this;return i.createElement(u.e.Consumer,null,function(u){var l=s.e.getSettings(t,e,u.customizations),c=o.props;l.styles&&"function"==typeof l.styles&&(l.styles=l.styles(Object(r.e)(Object(r.e)({},l),c)));if(n&&l.styles){if(o._styleCache.default!==l.styles||o._styleCache.component!==c.styles){var h=Object(a.e)(l.styles,c.styles);o._styleCache.default=l.styles;o._styleCache.component=c.styles;o._styleCache.merged=h}return i.createElement(f,Object(r.e)({},l,c,{styles:o._styleCache.merged}))}return i.createElement(f,Object(r.e)({},l,c))})};l.prototype._onSettingChanged=function(){this.forceUpdate()};return l})(i.Component)).displayName="Customized"+e,l);return Object(o.e)(f,c)}}},function(e,t,n){"use strict";n.d(t,"e",function(){return p});var r=n(1),i=n("react-lib"),s=n(25),o=n(228),u=n(99),a=n(24),f=n(153),l=n(12),c=n(229),h=n(130),p=(function(e){Object(r.n)(t,e);function t(t){var n=e.call(this,t)||this;n._root=i.createRef();n._disposables=[];n._onKeyDown=function(e){switch(e.which){case s.e.escape:if(n.props.onDismiss){n.props.onDismiss(e);e.preventDefault();e.stopPropagation()}}};n._onFocus=function(){n._containsFocus=!0};n._onBlur=function(e){n._root.current&&e.relatedTarget&&!Object(o.e)(n._root.current,e.relatedTarget)&&(n._containsFocus=!1)};n._async=new u.e(n);n.state={needsVerticalScrollBar:!1};return n}t.prototype.UNSAFE_componentWillMount=function(){this._originalFocusedElement=Object(a.e)().activeElement};t.prototype.componentDidMount=function(){if(this._root.current){this._disposables.push(Object(f.e)(this._root.current,"focus",this._onFocus,!0),Object(f.e)(this._root.current,"blur",this._onBlur,!0));var e=Object(l.e)(this._root.current);e&&this._disposables.push(Object(f.e)(e,"keydown",this._onKeyDown));Object(c.e)(this._root.current)&&(this._containsFocus=!0)}this._updateScrollBarAsync()};t.prototype.componentDidUpdate=function(){this._updateScrollBarAsync();this._async.dispose()};t.prototype.componentWillUnmount=function(){var e;this._disposables.forEach(function(e){return e()});if(this.props.shouldRestoreFocus){var t=this.props.onRestoreFocus;(void 0===t?d:t)({originalElement:this._originalFocusedElement,containsFocus:this._containsFocus,documentContainsFocus:(null===(e=Object(a.e)())||void 0===e?void 0:e.hasFocus())||!1})}delete this._originalFocusedElement};t.prototype.render=function(){var e=this.props,t=e.role,n=e.className,s=e.ariaLabel,o=e.ariaLabelledBy,u=e.ariaDescribedBy,a=e.style;return i.createElement("div",Object(r.e)({ref:this._root},Object(h.r)(this.props,h.n),{className:n,role:t,"aria-label":s,"aria-labelledby":o,"aria-describedby":u,onKeyDown:this._onKeyDown,style:Object(r.e)({overflowY:this.state.needsVerticalScrollBar?"scroll":void 0,outline:"none"},a)}),this.props.children)};t.prototype._updateScrollBarAsync=function(){var e=this;this._async.requestAnimationFrame(function(){e._getScrollBar()})};t.prototype._getScrollBar=function(){if(!this.props.style||!this.props.style.overflowY){var e=!1;if(this._root&&this._root.current&&this._root.current.firstElementChild){var t=this._root.current.clientHeight,n=this._root.current.firstElementChild.clientHeight;t>0&&n>t&&(e=n-t>1)}this.state.needsVerticalScrollBar!==e&&this.setState({needsVerticalScrollBar:e})}};t.defaultProps={shouldRestoreFocus:!0};return t})(i.Component);function d(e){var t=e.originalElement,n=e.containsFocus;t&&n&&t!==window&&t.focus&&t.focus()}},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){r(e,t);function n(){this.constructor=e}e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var s,o=n("react-lib"),u=n("react-dom-lib"),a=n(178),f=n(147),l=(function(e){i(t,e);function t(t){var n=e.call(this,t)||this;n.state={hideDialog:!1};n._displayPrompt=n._displayPrompt.bind(n);n._onClickEvent=n._onClickEvent.bind(n);return n}t.prototype._displayPrompt=function(){this.setState({hideDialog:!1})};t.prototype._closeDialog=function(){this.setState({hideDialog:!0})};t.prototype._onClickEvent=function(){this.setState({hideDialog:!0});s()};t.prototype.render=function(){return o.createElement("div",null,o.createElement(a.Dialog,{maxWidth:550,minWidth:300,hidden:this.state.hideDialog,onDismiss:this._closeDialog,dialogContentProps:{type:a.DialogType.normal,title:this.props.title},modalProps:{isBlocking:!0,containerClassName:"ms-dialogMainOverride"}},o.createElement("div",null,this.props.description,o.createElement("p",null,this.props.subDescription)),o.createElement(a.DialogFooter,null,o.createElement(f.PrimaryButton,{onClick:this._onClickEvent,text:this.props.button}))))};return t})(o.Component);t.MultiAccountSessionTrackerPrompt=l;t.mastPromptRef=o.createRef();function c(e){if(!document.getElementById(e.divName)){var n=document.createElement("div");n.id=e.divName;document.body.appendChild(n)}s=e.buttonClickFunction;u.render(o.createElement(l,{ref:t.mastPromptRef,title:e.title,description:e.description,subDescription:e.subDescription,button:e.buttonText}),document.getElementById(e.divName));t.mastPromptRef.current._displayPrompt()}t.renderPrompt=c;window.MastUI={MultiAccountSessionTrackerRenderPrompt:c}},function(e,t,n){"use strict";n.r(t);n.d(t,"asModalFilePickerHost",function(){return X});n.d(t,"Sdk80FilePickerHostModal",function(){return V});var r=n(0),i=n("react-lib");function s(e){var t=i.useRef(e);t.current=e;var n=i.useRef();return n.current||(n.current=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=t.current;return r.apply(null,e)})}var o=n(126),u=n(180),a=n(31);function f(e,t,n,r){var i="",s=0;if(!e)return"";var o=e.length;for(s=0;s<o;s++){var u=e.charCodeAt(s),a=e.charAt(s);if(t&&("#"===a||"?"===a)){i+=e.substr(s);break}if(n&&"&"===a)i+=a;else if(u<=127)r||u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||t&&u>=32&&u<=95&&" \"%<>'&".indexOf(a)<0?i+=a:u<=15?i+="%0"+u.toString(16).toUpperCase():u<=127&&(i+="%"+u.toString(16).toUpperCase());else if(u<=2047){i+="%"+(192|u>>6).toString(16).toUpperCase();i+="%"+(128|63&u).toString(16).toUpperCase()}else if(55296!=(64512&u)){i+="%"+(224|u>>12).toString(16).toUpperCase();i+="%"+(128|(4032&u)>>6).toString(16).toUpperCase();i+="%"+(128|63&u).toString(16).toUpperCase()}else if(s<e.length-1){u=(1023&u)<<10;s++;u|=1023&e.charCodeAt(s);i+="%"+(240|(u+=65536)>>18).toString(16).toUpperCase();i+="%"+(128|(258048&u)>>12).toString(16).toUpperCase();i+="%"+(128|(4032&u)>>6).toString(16).toUpperCase();i+="%"+(128|63&u).toString(16).toUpperCase()}}return i}var l=n(48);Object(l.e)([{rawString:".frame_6d750165{border:none;display:block}\n"}]);var c=n(16),h=n(15),p=n(86),d=n(83),v=(function(){var e={},t=new WeakMap;Object.freeze(e);t.set(e,!0);return!!t.get(e)})();function m(e){v&&(Object.isFrozen(e)||Object.freeze(e))}var g=n(52),y=new WeakMap,b=(function(){function e(){this.isDelete=!0}e.prototype.apply=function(){};return e})(),w=function(){this.isPatch=!0};function E(e,t){return(function(e){void 0===e&&(e={});var t=e.freeze,n=void 0!==t&&t,r=new Map,i=new Map;function s(e){r.set(e,!0);return e}return function(e){var t=e(function e(t,o){var u=r.get(t)?t:void 0;if(o){if(i.get(o))throw new Error("Encountered a circular reference in patch supplied to graft().");i.set(o,!0);for(var a=0,f=Object.keys(o);a<f.length;a++){var l=f[a],c=t[l],h=o[l];if(!Object(g.e)(h,c)){var p=void 0;if(h&&S(h))p=h;else if(h&&h instanceof w)p=h.apply(c,{graft:e,unlock:s});else if(h&&"object"==typeof h&&Object.getPrototypeOf(h)!==Object.prototype)p=h;else if(h&&"object"==typeof h&&c&&"object"==typeof c){p=e(c,h)}else if("object"==typeof h&&h&&x(h)){p=e(s({}),h);n&&p&&"object"==typeof p&&!r.get(p)&&m(p)}else p=h;if(!Object(g.e)(p,c)||!(l in t)){if(!u){u=s({});for(var d=0,v=Object.keys(t);d<v.length;d++){var b=v[d];u[b]=t[b]}}S(p)?delete u[l]:u[l]=p}}}i.delete(o)}var E=u||t;E&&y.set(E,!1);return E},{unlock:s});n&&r.forEach(function(e,t){m(t)});return t}})()(function(n){return n(e,t)})}function S(e){return e instanceof b}function x(e){return(function e(t,n){var r=n.ancestors;if(r.get(t))throw new Error("Encountered circular reference in patch supplied to graft().");var i=y.get(t);if(void 0!==i)return i;r.set(t,!0);var s=!1;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var u=t[o];if(u&&u instanceof b){s=!0;break}if(u&&u instanceof w){s=!0;break}if(u&&"object"==typeof u&&Object.getPrototypeOf(u)===Object.prototype&&e(u,n)){s=!0;break}}r.delete(t);y.set(t,s);return s})(e,{ancestors:new Map})}function T(e,t){var n=t instanceof Array?(function(e,t,n){for(var r={},i=0,s=e;i<s.length;i++){var o=s[i],u=n?n(o):o;r[u]=t(o)}return r})(t,function(){return!0}):t,i=void 0;for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s))if(s in n);else{i||(i=Object(r.e)({},e));delete i[s]}return i||e}var N=n(20),C=n(297),k=n(59),L=n(17),A=n(61),O=n(75),M=n(21),_={all:{pickerTitle:O.i,pickerTitleIntervals:O.s},files:{pickerTitle:O.e,pickerTitleIntervals:O.t},folders:{pickerTitle:O.n,pickerTitleIntervals:O.r}};function D(e){var t,n=e.title,r=e.selectionMode,i=e.itemMode;if(n)t=n;else{var s="multiple"===r?2:1,o=_[i],u=o.pickerTitle,a=o.pickerTitleIntervals;t=Object(M.n)(Object(M.r)(u,a,s)||"")}return t}var P=N.e.isActivated("182B2FCC-2348-48AB-BFBE-04969610C5E1","10/18/2021","Split picker options across query-string and post-messaging"),H=N.e.isActivated("69FB175A-8186-4311-9045-F073BA0B6A87","10/27/2021","Propagate current theme to File Picker");function B(e){var t,n,l,v,m,y=this,w=e.options,S=e.pickerPageUrl,x=e.app,N=e.scenario,C=e.onCommand,O=e.onNotification,M=e.className,_=e.theme,B=e.getAuthToken,j=e.reloadOnEntry,F=i.useState(null),I=F[0],q=F[1],R=i.useRef(),U=i.useRef(),z=U.current||(U.current=new c.e({name:"Sdk80FilePickerHost.".concat(N,".load")})),W=i.useRef(null),X=i.useCallback(function(e){W.current=e;q(e&&e.contentWindow||null)},[]),V=i.useState(function(){return"filePicker-".concat(a.generate())})[0],$=i.useMemo(function(){return Object(r.e)({sdk:"8.0",accessibility:{showFocusOnLoad:document.body.classList.contains(d.e),enableFocusTrap:!0}},!H&&_?{theme:_}:{})},[_]),J=i.useMemo(function(){return E(E($,w||{}),{sdk:"8.0",messaging:Object(r.e)({origin:location.origin,channelId:V,identifyParent:!0},P?{}:{waitForConfiguration:!0})})},[w]),K=i.useMemo(function(){var e="string"==typeof J.theme?J.theme:(function(e){if(!e)return e;return Object(r.e)(Object(r.e)({isInverted:e.isInverted},e.palette?{palette:T(e.palette,["white"])}:{}),e.semanticColors?{semanticColors:T(e.semanticColors,["bodyBackground"])}:{})})(J.theme),t=P?J:Object(r.e)(Object(r.e)({},T(J,["sdk","authentication","messaging","entry","accounts","teams","telemetry","views"])),!H&&e?{theme:e}:{});return"".concat(S,"?").concat((function(e,t,n){var i="",s=!0;t&&(e=Object(r.e)(Object(r.e)({},t),e));for(var o in e){var u=e[o];if(!n||"object"!=typeof u&&u||"object"==typeof u&&u&&u.uriValue||"number"==typeof u||"boolean"==typeof u){s?s=!1:i+="&";var a=void 0;a="object"==typeof u&&u&&u.uriValue?u.uriValue:f("".concat(u));i+="".concat(o,"=").concat(a)}}return i})({app:x,scenario:N,filePicker:JSON.stringify(t)}))},[S]),Q=s(e.onPick),G=s(e.onClose),Y=s(e.onLoad),Z=s(function(e){switch(e.notification){case"page-loaded":var t=void 0,n=e.error;n&&(t=new L.e({code:n.code,message:n.message,isExpected:n.isExpected}));z.end(Object(A.e)(t));Y({error:t})}O&&O(e)}),ee=s(function(e){switch(e.command){case"pick":return Object(r.t)(y,void 0,void 0,function(){return Object(r.r)(this,function(t){switch(t.label){case 0:z.end({resultType:h.e.Success});return[4,Q({items:e.items,keepSharing:e.keepSharing})];case 1:t.sent();return[2,{result:"success"}]}})});case"close":return Object(r.t)(y,void 0,void 0,function(){var t,n;return Object(r.r)(this,function(r){switch(r.label){case 0:(t=e.error)&&(n=new L.e({code:t.code,message:t.message,isExpected:t.isExpected}));z.end(Object(A.e)(n));return[4,G({error:n||R.current||new k.e({message:"Closed"})})];case 1:r.sent();return[2,{result:"success"}]}})})}if(C)return C(e)}),te=i.useRef(!1),ne=i.useRef();i.useEffect(function(){var e;if(I){var t=new u.e(S).authority;te.current=!0;null===(e=W.current)||void 0===e||e.setAttribute("aria-busy","true");var n=Object(o.e)({initTimeoutMs:6e4,channelId:V,origin:t,onNotification:Z,onCommand:ee,identifyParent:!0,source:I});ne.current=n;Object(r.t)(y,void 0,void 0,function(){var e,t,i,s,o,u;return Object(r.r)(this,function(r){switch(r.label){case 0:return B?[4,B({url:S})]:[3,2];case 1:t=r.sent();return[3,3];case 2:t=void 0;r.label=3;case 3:e=t;(i=I.document.createElement("form")).setAttribute("method","POST");i.setAttribute("action",K);if(e){(s=I.document.createElement("input")).setAttribute("type","hidden");s.setAttribute("name","access_token");s.setAttribute("value",e);i.appendChild(s)}I.document.body.appendChild(i);i.submit();W.current&&W.current.focus();return P?[3,6]:[4,n.ready];case 4:r.sent();o={command:"configure",filePicker:J||{}};return[4,n.sendCommand(o)];case 5:r.sent();r.label=6;case 6:te.current=!1;null===(u=W.current)||void 0===u||u.setAttribute("aria-busy","false");R.current=void 0;return[2]}})}).catch(function(e){var t;te.current=!1;null===(t=W.current)||void 0===t||t.setAttribute("aria-busy","false");R.current||(R.current=e);Y&&Y({error:e})});return function(){ne.current=void 0;n.dispose()}}},[I]);var re=s(function(e){if(!R.current){R.current=new L.e({code:"UnableToLoadPickerFrame"});Y&&Y({error:R.current})}}),ie=i.useRef(null!==(t=J.entry)&&void 0!==t?t:{});i.useEffect(function(){Object(r.t)(y,void 0,void 0,function(){var e,t,n,i;return Object(r.r)(this,function(r){switch(r.label){case 0:if(!ne.current||te.current)return[3,3];e={command:"configure",filePicker:J||{}};t=null!==(i=J.entry)&&void 0!==i?i:{};n=(function e(t,n){if(!Object(g.e)(t,n)){for(var r={},i=0,s=Object.keys(t);i<s.length;i++){var o=t[c=s[i]],u=n[c];if(c in n){if(!Object(g.e)(u,o))if("object"==typeof u&&u&&Object.getPrototypeOf(u)!==Object.prototype)r[c]=u;else if("object"==typeof u&&u&&"object"==typeof o&&o){var a=e(o,u);a&&Object.keys(a).length>0&&(r[c]=a)}else r[c]=u}else r[c]=new b}for(var f=0,l=Object.keys(n);f<l.length;f++){var c;(c=l[f])in t||(r[c]=n[c])}return r}})(ie.current,t);ie.current=t;return[4,ne.current.sendCommand(e)];case 1:r.sent();return j&&n&&Object.keys(n).length>0?[4,ne.current.sendCommand({command:"load-page"})]:[3,3];case 2:r.sent();r.label=3;case 3:return[2]}})}).catch(function(){})},[J]);var se=null!==(l=null===(n=null==J?void 0:J.selection)||void 0===n?void 0:n.mode)&&void 0!==l?l:"single",oe=null!==(m=null===(v=null==J?void 0:J.typesAndSources)||void 0===v?void 0:v.mode)&&void 0!==m?m:"files";return i.createElement("iframe",{"data-automationid":"filePickerFrame",ref:X,onError:re,title:D({title:J.title,selectionMode:se,itemMode:oe}),className:Object(p.e)("frame_6d750165",M)})}var j,F=H?B:Object(C.e)(B,function(e){return{}}),I=n(290),q=n(37),R=((j={})[q.e.small]="sm",j[q.e.medium]="md",j[q.e.large]="lg",j[q.e.xLarge]="xlg",j[q.e.xxLarge]="xxlg",j[q.e.xxxLarge]="xxxlg",j[q.e.unknown]="",j);Object(l.e)([{rawString:".frame_d931bddf{width:1080px;height:680px;max-width:100%;max-height:100%}.spinnerHost_d931bddf{position:absolute;top:0;left:0;bottom:0;right:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transition:opacity linear 0.3s 0s, visibility linear 0s 0s;transition:opacity linear 0.3s 0s, visibility linear 0s 0s;background-color:"},{theme:"bodyBackground",defaultValue:"#ffffff"},{rawString:"}.spinnerHost_d931bddf.loaded_d931bddf{visibility:hidden;opacity:0;-webkit-transition-delay:0s, 0.3s;transition-delay:0s, 0.3s}\n"}]);var U=n(292),z=N.e.isActivated("B7BDF862-7031-4B0A-AC86-FB7D4FAB4BA6","2/24/2021","Make Picker modal once loaded"),W=N.e.isActivated("8907F6FD-B9E5-47A8-B133-A450AFEBD3E6","05/13/2022","Add a loading spinner to the File Picker host");function X(){return function(e){var t=e;return(function(e){var t=Object(q.t)(e);return function(e){return i.createElement(t,Object(r.e)({},e))}})(function(e){var n,o=this,u=e.onClose,a=e.onLoad,f=e.className,l=e.responsiveMode,c=void 0===l?q.e.large:l,h=Object(r.i)(e,["onClose","onLoad","className","responsiveMode"]),d=i.useReducer(function(e){return e+1},0)[1],v=i.useRef(),m=i.useRef(),g=s(function(e){m.current=e.error;v.current=!0;d();a&&a(e)}),y=R[c],b=s(function(){return Object(r.t)(o,void 0,void 0,function(){return Object(r.r)(this,function(e){switch(e.label){case 0:return u?[4,u({error:m.current||new k.e({message:"Dismissed"})})]:[3,2];case 1:e.sent();e.label=2;case 2:return[2]}})})}),w=i.useMemo(function(){return i.createElement(t,Object(r.e)({},h,{onLoad:g,onClose:u,className:Object(p.e)("frame_d931bddf",y,f)}))},[h,g,u,y,f]);return i.createElement(I.e,{isOpen:!0,onDismiss:!v.current||m.current||z?b:void 0,styles:{main:{display:"flex",borderRadius:"6px"}}},w,W?null:i.createElement("div",{className:Object(p.e)("spinnerHost_d931bddf",(n={},n.loaded_d931bddf=!!v.current,n)),role:"presentation"},i.createElement(U.e,null)))})}}var V=X()(F)},function(e,t,n){"use strict";n.d(t,"e",function(){return j});var r=n(297),i=n(1),s=n("react-lib"),o=n("react-dom-lib"),u=n(281),a=n(33),f=n(185),l=n(130),c=n(41),h=n(74);function p(e,t){void 0===e&&(e={});return(v(t)?t:(function(e){return function(t){return e?Object(i.e)(Object(i.e)({},t),e):t}})(t))(e)}function d(e,t){void 0===e&&(e={});return(v(t)?t:(function(e){void 0===e&&(e={});return function(t){var n=Object(i.e)({},t);for(var r in e)e.hasOwnProperty(r)&&(n[r]=Object(i.e)(Object(i.e)({},t[r]),e[r]));return n}})(t))(e)}function v(e){return"function"==typeof e}var m=(function(e){Object(i.n)(t,e);function t(){var t=null!==e&&e.apply(this,arguments)||this;t._onCustomizationChange=function(){return t.forceUpdate()};return t}t.prototype.componentDidMount=function(){c.e.observe(this._onCustomizationChange)};t.prototype.componentWillUnmount=function(){c.e.unobserve(this._onCustomizationChange)};t.prototype.render=function(){var e=this,t=this.props.contextTransform;return s.createElement(h.e.Consumer,null,function(n){var r=(function(e,t){var n=(t||{}).customizations,r=void 0===n?{settings:{},scopedSettings:{}}:n;return{customizations:{settings:p(r.settings,e.settings),scopedSettings:d(r.scopedSettings,e.scopedSettings),inCustomizerContext:!0}}})(e.props,n);t&&(r=t(r));return s.createElement(h.e.Provider,{value:r},e.props.children)})};return t})(s.Component),g=n(298),y=n(24),b=n(3),w=Object(u.e)(),E=Object(a.t)(function(e,t){return Object(b.h)(Object(i.e)(Object(i.e)({},e),{rtl:t}))}),S=(function(e){Object(i.n)(t,e);function t(){var t=null!==e&&e.apply(this,arguments)||this;t._rootElement=s.createRef();t._removeClassNameFromBody=void 0;return t}t.prototype.render=function(){var e=this.props,t=e.as,n=void 0===t?"div":t,r=e.theme,o=e.dir,u=this._getClassNames(),a=Object(l.r)(this.props,l.n,["dir"]),c=(function(e,t){var n=Object(f.e)(e)?"rtl":"ltr",r=Object(f.e)()?"rtl":"ltr",i=t||n;return{rootDir:i!==n||i!==r?i:t,needsTheme:i!==n}})(r,o),h=c.rootDir,p=c.needsTheme,d=s.createElement(n,Object(i.e)({dir:h},a,{className:u.root,ref:this._rootElement}));p&&(d=s.createElement(m,{settings:{theme:E(r,"rtl"===o)}},d));return s.createElement(s.Fragment,null,d,s.createElement(g.e,{rootRef:this._rootElement}))};t.prototype.componentDidMount=function(){this._addClassNameToBody()};t.prototype.componentWillUnmount=function(){this._removeClassNameFromBody&&this._removeClassNameFromBody()};t.prototype._getClassNames=function(){var e=this.props,t=e.className,n=e.theme,r=e.applyTheme,i=e.styles;return w(i,{theme:n,applyTheme:r,className:t})};t.prototype._addClassNameToBody=function(){if(this.props.applyThemeToBody){var e=this._getClassNames(),t=Object(y.e)(this._rootElement.current);if(t){t.body.classList.add(e.bodyThemed);this._removeClassNameFromBody=function(){t.body.classList.remove(e.bodyThemed)}}}};return t})(s.Component),x={fontFamily:"inherit"},T={root:"ms-Fabric",bodyThemed:"ms-Fabric-bodyThemed"},N=Object(r.e)(S,function(e){var t=e.theme,n=e.className,r=e.applyTheme;return{root:[Object(b.v)(T,t).root,t.fonts.medium,{color:t.palette.neutralPrimary,selectors:{"& button":x,"& input":x,"& textarea":x}},r&&{color:t.semanticColors.bodyText,backgroundColor:t.semanticColors.bodyBackground},n],bodyThemed:[{backgroundColor:t.semanticColors.bodyBackground}]}},void 0,{scope:"Fabric"}),C=n(152);function k(e,t){var n=e,r=t;n._virtual||(n._virtual={children:[]});var i=n._virtual.parent;if(i&&i!==t){var s=i._virtual.children.indexOf(n);s>-1&&i._virtual.children.splice(s,1)}n._virtual.parent=r||void 0;if(r){r._virtual||(r._virtual={children:[]});r._virtual.children.push(n)}}var L,A=n(285),O={},M={};var _,D=Object(u.e)(),P=(function(e){Object(i.n)(t,e);function t(t){var n=e.call(this,t)||this;n._rootRef=s.createRef();n._createLayerElement=function(){var e,t,r=n.props.hostId,i=Object(y.e)(n._rootRef.current),s=n._getHost();if(s){n._removeLayerElement();var o=null===(t=null!=(e=s.ownerDocument)?e:i)||void 0===t?void 0:t.createElement("div");if(o){var u=n._getClassNames();o.className=u.root;Object(C.t)(o);k(o,n._rootRef.current);n.props.insertFirst?s.insertBefore(o,s.firstChild):s.appendChild(o);n.setState({hostId:r,layerElement:o},function(){var e=n.props,t=e.onLayerDidMount,r=e.onLayerMounted;r&&r();t&&t()})}}};n.state={};0;return n}t.prototype.componentDidMount=function(){var e=this.props.hostId;this._createLayerElement();e&&(function(e,t){O[e]||(O[e]=[]);O[e].push(t);var n=M[e];if(n)for(var r=0,i=n;r<i.length;r++){i[r].notifyLayersChanged()}})(e,this._createLayerElement)};t.prototype.render=function(){var e=this.state.layerElement,t=this._getClassNames(),n=this.props.eventBubblingEnabled;return s.createElement("span",{className:"ms-layer",ref:this._rootRef},e&&o.createPortal(s.createElement(N,Object(i.e)({},!n&&(function(){if(!_){_={};["onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOver","onMouseOut","onMouseUp","onTouchMove","onTouchStart","onTouchCancel","onTouchEnd","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onInvalid","onSubmit"].forEach(function(e){return _[e]=H})}return _})(),{className:t.content}),this.props.children),e))};t.prototype.componentDidUpdate=function(){this.props.hostId!==this.state.hostId&&this._createLayerElement()};t.prototype.componentWillUnmount=function(){var e=this.props.hostId;this._removeLayerElement();e&&(function(e,t){var n=O[e];if(n){var r=n.indexOf(t);if(r>=0){n.splice(r,1);0===n.length&&delete O[e]}}var i=M[e];if(i)for(var s=0,o=i;s<o.length;s++){o[s].notifyLayersChanged()}})(e,this._createLayerElement)};t.prototype._removeLayerElement=function(){var e=this.props.onLayerWillUnmount,t=this.state.layerElement;t&&k(t,null);e&&e();if(t&&t.parentNode){var n=t.parentNode;n&&n.removeChild(t)}};t.prototype._getClassNames=function(){var e=this.props,t=e.className,n=e.styles,r=e.theme;return D(n,{theme:r,className:t,isNotHost:!this.props.hostId})};t.prototype._getHost=function(){var e,t,n,r,i,s,o=this.props.hostId,u=Object(y.e)(this._rootRef.current);if(o){var a=(function(e){var t=M[e];return t&&t[0]||void 0})(o);return a?null!=(e=a.rootRef.current)?e:null:null!=(n=null===(t=u)||void 0===t?void 0:t.getElementById(o))?n:null}var f=L;return null!=(s=f?null===(r=u)||void 0===r?void 0:r.querySelector(f):null===(i=u)||void 0===i?void 0:i.body)?s:null};t.defaultProps={onLayerDidMount:function(){},onLayerWillUnmount:function(){}};return t=Object(i.t)([Object(A.e)("Layer",["theme","hostId"])],t)})(s.Component),H=function(e){e.eventPhase===Event.BUBBLING_PHASE&&"mouseenter"!==e.type&&"mouseleave"!==e.type&&"touchstart"!==e.type&&"touchend"!==e.type&&e.stopPropagation()};var B={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"},j=Object(r.e)(P,function(e){var t=e.className,n=e.isNotHost,r=e.theme,i=Object(b.v)(B,r);return{root:[i.root,r.fonts.medium,n&&[i.rootNoHost,{position:"fixed",zIndex:b.f.Layer,top:0,left:0,bottom:0,right:0,visibility:"hidden"}],t],content:[i.content,{visibility:"visible"}]}},void 0,{scope:"Layer",fields:["hostId","theme","styles"]})},function(e,t,n){"use strict";n.d(t,"e",function(){return z});var r=n(297),i=n(1),s=n("react-lib"),o=n(281),u=n(283),a=n(284),f=n(25),l=n(228),c=n(99),h=n(67),p=n(188),d=n(282),v=n(86),m=n(24);function g(e){for(var t,n=[],r=Object(m.e)(e)||document;e!==r.body;){for(var i=0,s=e.parentElement.children;i<s.length;i++){var o=s[i];o!==e&&"true"!==(null===(t=o.getAttribute("aria-hidden"))||void 0===t?void 0:t.toLowerCase())&&n.push(o)}if(!e.parentElement)break;e=e.parentElement}n.forEach(function(e){e.setAttribute("aria-hidden","true")});return function(){(function(e){e.forEach(function(e){e.setAttribute("aria-hidden","false")})})(n);n=[]}}var y=n(229),b=n(294),w=n(130),E=n(153),S=(function(e){Object(i.n)(t,e);function t(n){var r=e.call(this,n)||this;r._root=s.createRef();r._firstBumper=s.createRef();r._lastBumper=s.createRef();r._hasFocus=!1;r._onRootFocus=function(e){r.props.onFocus&&r.props.onFocus(e);r._hasFocus=!0};r._onRootBlur=function(e){r.props.onBlur&&r.props.onBlur(e);var t=e.relatedTarget;null===e.relatedTarget&&(t=r._getDocument().activeElement);Object(l.e)(r._root.current,t)||(r._hasFocus=!1)};r._onFirstBumperFocus=function(){r._onBumperFocus(!0)};r._onLastBumperFocus=function(){r._onBumperFocus(!1)};r._onBumperFocus=function(e){if(!r.props.disabled){var t=e===r._hasFocus?r._lastBumper.current:r._firstBumper.current;if(r._root.current){var n=e===r._hasFocus?Object(y.a)(r._root.current,t,!0,!1):Object(y.s)(r._root.current,t,!0,!1);n&&(r._isBumper(n)?r.focus():n.focus())}}};r._onFocusCapture=function(e){r.props.onFocusCapture&&r.props.onFocusCapture(e);e.target===e.currentTarget||r._isBumper(e.target)||(r._previouslyFocusedElementInTrapZone=e.target)};r._forceFocusInTrap=function(e){if(!r.props.disabled&&t._focusStack.length&&r===t._focusStack[t._focusStack.length-1]){var n=r._getDocument().activeElement;if(!Object(l.e)(r._root.current,n)){var i=r._getDocument();if(i&&i.activeElement===i.body)setTimeout(function(){if(i&&i.activeElement===i.body){r.focus();r._hasFocus=!0}},0);else{r.focus();r._hasFocus=!0}e.preventDefault();e.stopPropagation()}}};r._forceClickInTrap=function(e){if(!r.props.disabled&&t._focusStack.length&&r===t._focusStack[t._focusStack.length-1]){var n=e.target;if(n&&!Object(l.e)(r._root.current,n)){r.focus();r._hasFocus=!0;e.preventDefault();e.stopPropagation()}}};Object(b.e)(r);return r}t.prototype.componentDidMount=function(){this._bringFocusIntoZone();this._updateEventHandlers(this.props);!this.props.disabled&&this._root.current&&this.props.enableAriaHiddenSiblings&&(this._unmodalize=g(this._root.current))};t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=e.elementToFocusOnDismiss;t&&this._previouslyFocusedElementOutsideTrapZone!==t&&(this._previouslyFocusedElementOutsideTrapZone=t);this._updateEventHandlers(e)};t.prototype.componentDidUpdate=function(e){var t=void 0===e.forceFocusInsideTrap||e.forceFocusInsideTrap,n=void 0===this.props.forceFocusInsideTrap||this.props.forceFocusInsideTrap,r=void 0!==e.disabled&&e.disabled,i=void 0!==this.props.disabled&&this.props.disabled;if(!t&&n||r&&!i){this._bringFocusIntoZone();!this._unmodalize&&this._root.current&&this.props.enableAriaHiddenSiblings&&(this._unmodalize=g(this._root.current))}else if(t&&!n||!r&&i){this._returnFocusToInitiator();this._unmodalize&&this._unmodalize()}};t.prototype.componentWillUnmount=function(){this.props.disabled&&!this.props.forceFocusInsideTrap&&Object(l.e)(this._root.current,this._getDocument().activeElement)||this._returnFocusToInitiator();if(this._disposeClickHandler){this._disposeClickHandler();this._disposeClickHandler=void 0}if(this._disposeFocusHandler){this._disposeFocusHandler();this._disposeFocusHandler=void 0}this._unmodalize&&this._unmodalize();delete this._previouslyFocusedElementInTrapZone;delete this._previouslyFocusedElementOutsideTrapZone};t.prototype.render=function(){var e=this.props,t=e.className,n=e.disabled,r=void 0!==n&&n,o=e.ariaLabelledBy,u=Object(w.r)(this.props,w.n),a={"aria-hidden":!0,style:{pointerEvents:"none",position:"fixed"},tabIndex:r?-1:0,"data-is-visible":!0};return s.createElement("div",Object(i.e)({},u,{className:t,ref:this._root,"aria-labelledby":o,onFocusCapture:this._onFocusCapture,onFocus:this._onRootFocus,onBlur:this._onRootBlur}),s.createElement("div",Object(i.e)({},a,{ref:this._firstBumper,onFocus:this._onFirstBumperFocus})),this.props.children,s.createElement("div",Object(i.e)({},a,{ref:this._lastBumper,onFocus:this._onLastBumperFocus})))};t.prototype.focus=function(){var e=this.props,t=e.focusPreviouslyFocusedInnerElement,n=e.firstFocusableSelector,r=e.firstFocusableTarget;if(t&&this._previouslyFocusedElementInTrapZone&&Object(l.e)(this._root.current,this._previouslyFocusedElementInTrapZone))this._focusAsync(this._previouslyFocusedElementInTrapZone);else{var i="string"==typeof n?n:n&&n(),s=null;if(this._root.current){"string"==typeof r?s=this._root.current.querySelector(r):r?s=r(this._root.current):i&&(s=this._root.current.querySelector("."+i));s||(s=Object(y.f)(this._root.current,this._root.current.firstChild,!1,!1,!1,!0))}s&&this._focusAsync(s)}};t.prototype._focusAsync=function(e){this._isBumper(e)||Object(y.t)(e)};t.prototype._bringFocusIntoZone=function(){var e=this.props,n=e.elementToFocusOnDismiss,r=e.disabled,i=void 0!==r&&r,s=e.disableFirstFocus,o=void 0!==s&&s;if(!i){t._focusStack.push(this);this._previouslyFocusedElementOutsideTrapZone=n||this._getDocument().activeElement;o||Object(l.e)(this._root.current,this._previouslyFocusedElementOutsideTrapZone)||this.focus()}};t.prototype._returnFocusToInitiator=function(){var e=this,n=this.props.ignoreExternalFocusing;t._focusStack=t._focusStack.filter(function(t){return e!==t});var r=this._getDocument(),i=r.activeElement;n||!this._previouslyFocusedElementOutsideTrapZone||"function"!=typeof this._previouslyFocusedElementOutsideTrapZone.focus||!Object(l.e)(this._root.current,i)&&i!==r.body||this._focusAsync(this._previouslyFocusedElementOutsideTrapZone)};t.prototype._updateEventHandlers=function(e){var t=e.isClickableOutsideFocusTrap,n=void 0!==t&&t,r=e.forceFocusInsideTrap,i=void 0===r||r;if(i&&!this._disposeFocusHandler)this._disposeFocusHandler=Object(E.e)(window,"focus",this._forceFocusInTrap,!0);else if(!i&&this._disposeFocusHandler){this._disposeFocusHandler();this._disposeFocusHandler=void 0}if(n||this._disposeClickHandler){if(n&&this._disposeClickHandler){this._disposeClickHandler();this._disposeClickHandler=void 0}}else this._disposeClickHandler=Object(E.e)(window,"click",this._forceClickInTrap,!0)};t.prototype._isBumper=function(e){return e===this._firstBumper.current||e===this._lastBumper.current};t.prototype._getDocument=function(){return Object(m.e)(this._root.current)};t._focusStack=[];return t})(s.Component),x=n(3),T=x.t.durationValue2,N={root:"ms-Modal",main:"ms-Dialog-main",scrollableContent:"ms-Modal-scrollableContent",isOpen:"is-open",layer:"ms-Modal-Layer"},C=Object(o.e)(),k=(function(e){Object(i.n)(t,e);function t(t){var n=e.call(this,t)||this;Object(b.e)(n);var r=n.props.allowTouchBodyScroll,i=void 0!==r&&r;n._allowTouchBodyScroll=i;return n}t.prototype.componentDidMount=function(){!this._allowTouchBodyScroll&&Object(a.n)()};t.prototype.componentWillUnmount=function(){!this._allowTouchBodyScroll&&Object(a.r)()};t.prototype.render=function(){var e=this.props,t=e.isDarkThemed,n=e.className,r=e.theme,o=e.styles,u=Object(w.r)(this.props,w.n),a=C(o,{theme:r,className:n,isDark:t});return s.createElement("div",Object(i.e)({},u,{className:a.root}))};return t})(s.Component),L={root:"ms-Overlay",rootDark:"ms-Overlay--dark"},A=Object(r.e)(k,function(e){var t,n=e.className,r=e.theme,i=e.isNone,s=e.isDark,o=r.palette,u=Object(x.v)(L,r);return{root:[u.root,r.fonts.medium,{backgroundColor:o.whiteTranslucent40,top:0,right:0,bottom:0,left:0,position:"absolute",selectors:(t={},t[x.r]={border:"1px solid WindowText",opacity:0},t)},i&&{visibility:"hidden"},s&&[u.rootDark,{backgroundColor:o.blackTranslucent40}],n]}},void 0,{scope:"Overlay"}),O=n(289),M=n(286),_=n(37),D=n(14),P=n(295),H=n(33),B=Object(H.t)(function(e,t){return{root:Object(x.x)(e,t&&{touchAction:"none",selectors:{"& *":{userSelect:"none"}}})}}),j={start:"touchstart",move:"touchmove",stop:"touchend"},F={start:"mousedown",move:"mousemove",stop:"mouseup"},I=(function(e){Object(i.n)(t,e);function t(t){var n=e.call(this,t)||this;n._currentEventType=F;n._events=[];n._onMouseDown=function(e){var t=s.Children.only(n.props.children).props.onMouseDown;t&&t(e);n._currentEventType=F;return n._onDragStart(e)};n._onMouseUp=function(e){var t=s.Children.only(n.props.children).props.onMouseUp;t&&t(e);n._currentEventType=F;return n._onDragStop(e)};n._onTouchStart=function(e){var t=s.Children.only(n.props.children).props.onTouchStart;t&&t(e);n._currentEventType=j;return n._onDragStart(e)};n._onTouchEnd=function(e){var t=s.Children.only(n.props.children).props.onTouchEnd;t&&t(e);n._currentEventType=j;n._onDragStop(e)};n._onDragStart=function(e){if("number"==typeof e.button&&0!==e.button)return!1;if(!(n.props.handleSelector&&!n._matchesSelector(e.target,n.props.handleSelector)||n.props.preventDragSelector&&n._matchesSelector(e.target,n.props.preventDragSelector))){n._touchId=n._getTouchId(e);var t=n._getControlPosition(e);if(void 0!==t){var r=n._createDragDataFromPosition(t);n.props.onStart&&n.props.onStart(e,r);n.setState({isDragging:!0,lastPosition:t});n._events=[Object(E.e)(document.body,n._currentEventType.move,n._onDrag,!0),Object(E.e)(document.body,n._currentEventType.stop,n._onDragStop,!0)]}}};n._onDrag=function(e){"touchmove"===e.type&&e.preventDefault();var t=n._getControlPosition(e);if(t){var r=n._createUpdatedDragData(n._createDragDataFromPosition(t)),i=r.position;n.props.onDragChange&&n.props.onDragChange(e,r);n.setState({position:i,lastPosition:t})}};n._onDragStop=function(e){if(n.state.isDragging){var t=n._getControlPosition(e);if(t){var r=n._createDragDataFromPosition(t);n.setState({isDragging:!1,lastPosition:void 0});n.props.onStop&&n.props.onStop(e,r);n.props.position&&n.setState({position:n.props.position});n._events.forEach(function(e){return e()})}}};n.state={isDragging:!1,position:n.props.position||{x:0,y:0},lastPosition:void 0};return n}t.prototype.componentDidUpdate=function(e){!this.props.position||e.position&&this.props.position===e.position||this.setState({position:this.props.position})};t.prototype.componentWillUnmount=function(){this._events.forEach(function(e){return e()})};t.prototype.render=function(){var e=s.Children.only(this.props.children),t=e.props,n=this.props.position,r=this.state,o=r.position,u=r.isDragging,a=o.x,f=o.y;if(n&&!u){a=n.x;f=n.y}return s.cloneElement(e,{style:Object(i.e)(Object(i.e)({},t.style),{transform:"translate("+a+"px, "+f+"px)"}),className:B(t.className,this.state.isDragging).root,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onTouchStart:this._onTouchStart,onTouchEnd:this._onTouchEnd})};t.prototype._getControlPosition=function(e){var t=this._getActiveTouch(e);if(void 0===this._touchId||t){var n=t||e;return{x:n.clientX,y:n.clientY}}};t.prototype._getActiveTouch=function(e){return e.targetTouches&&this._findTouchInTouchList(e.targetTouches)||e.changedTouches&&this._findTouchInTouchList(e.changedTouches)};t.prototype._getTouchId=function(e){var t=e.targetTouches&&e.targetTouches[0]||e.changedTouches&&e.changedTouches[0];if(t)return t.identifier};t.prototype._matchesSelector=function(e,t){if(!e||e===document.body)return!1;var n=e.matches||e.webkitMatchesSelector||e.msMatchesSelector;return!!n&&(n.call(e,t)||this._matchesSelector(e.parentElement,t))};t.prototype._findTouchInTouchList=function(e){if(void 0!==this._touchId)for(var t=0;t<e.length;t++)if(e[t].identifier===this._touchId)return e[t]};t.prototype._createDragDataFromPosition=function(e){var t=this.state.lastPosition;return void 0===t?{delta:{x:0,y:0},lastPosition:e,position:e}:{delta:{x:e.x-t.x,y:e.y-t.y},lastPosition:t,position:e}};t.prototype._createUpdatedDragData=function(e){var t=this.state.position;return{position:{x:t.x+e.delta.x,y:t.y+e.delta.y},delta:e.delta,lastPosition:t}};return t})(s.Component),q={eventBubblingEnabled:!1},R=Object(o.e)(),U=(function(e){Object(i.n)(t,e);function t(t){var n=e.call(this,t)||this;n._focusTrapZone=s.createRef();n._focusTrapZoneMergedRef=Object(u.e)();n._registerInitialModalPosition=function(){var e,t=document.querySelector("[data-id="+n.state.id+"]");if(t){var r=t.getBoundingClientRect();if((null===(e=n.props.dragOptions)||void 0===e?void 0:e.keepInBounds)&&!n._minClampedPosition&&!n._maxClampedPosition){n._minClampedPosition={x:-r.x,y:-r.y};n._maxClampedPosition={x:r.x,y:r.y}}n.setState({modalRectangleTop:r.top})}};n._allowScrollOnModal=function(e){e?n._allowTouchBodyScroll?Object(a.e)(e,n._events):Object(a.t)(e,n._events):n._events.off(n._scrollableContent);n._scrollableContent=e};n._onModalContextMenuClose=function(){n.setState({isModalMenuOpen:!1})};n._onModalClose=function(){n._lastSetX=0;n._lastSetY=0;n.setState({isModalMenuOpen:!1,isInKeyboardMoveMode:!1,isOpen:!1,x:0,y:0});n.props.dragOptions&&n._hasRegisteredKeyUp&&n._events.off(window,"keyup",n._onKeyUp,!0);n.props.onDismissed&&n.props.onDismissed()};n._onDragStart=function(){n.setState({isModalMenuOpen:!1,isInKeyboardMoveMode:!1})};n._onDrag=function(e,t){var r=n.state,i=r.x,s=r.y;n.setState(n._getClampedPosition({x:i+t.delta.x,y:s+t.delta.y}))};n._onDragStop=function(){n.focus()};n._onKeyUp=function(e){if(e.altKey&&e.ctrlKey&&e.keyCode===f.e.space&&Object(l.e)(n._scrollableContent,e.target)){n.setState({isModalMenuOpen:!n.state.isModalMenuOpen});e.preventDefault();e.stopPropagation()}};n._onKeyDown=function(e){if(e.altKey&&e.ctrlKey&&e.keyCode===f.e.space){e.preventDefault();e.stopPropagation()}else{n.state.isModalMenuOpen&&(e.altKey||e.keyCode===f.e.escape)&&n.setState({isModalMenuOpen:!1});if(n.state.isInKeyboardMoveMode&&(e.keyCode===f.e.escape||e.keyCode===f.e.enter)){n.setState({isInKeyboardMoveMode:!1});e.preventDefault();e.stopPropagation()}if(n.state.isInKeyboardMoveMode){var t=!0,r=n._getMoveDelta(e);switch(e.keyCode){case f.e.escape:n.setState({x:n._lastSetX,y:n._lastSetY});case f.e.enter:n._lastSetX=0;n._lastSetY=0;n.setState({isInKeyboardMoveMode:!1});break;case f.e.up:n.setState({y:n._getClampedPositionY(n.state.y-r)});break;case f.e.down:n.setState({y:n._getClampedPositionY(n.state.y+r)});break;case f.e.left:n.setState({x:n._getClampedPositionX(n.state.x-r)});break;case f.e.right:n.setState({x:n._getClampedPositionX(n.state.x+r)});break;default:t=!1}if(t){e.preventDefault();e.stopPropagation()}}}};n._onEnterKeyboardMoveMode=function(){n._lastSetX=n.state.x;n._lastSetY=n.state.y;n.setState({isInKeyboardMoveMode:!0,isModalMenuOpen:!1});n._events.on(window,"keydown",n._onKeyDown,!0)};n._onExitKeyboardMoveMode=function(e){var t,r,i;null===(i=null===(t=n.props.focusTrapZoneProps)||void 0===t?void 0:(r=t).onBlur)||void 0===i||i.call(r,e);n._lastSetX=0;n._lastSetY=0;n.setState({isInKeyboardMoveMode:!1});n._events.off(window,"keydown",n._onKeyDown,!0)};n._registerForKeyUp=function(){if(!n._hasRegisteredKeyUp){n._events.on(window,"keyup",n._onKeyUp,!0);n._hasRegisteredKeyUp=!0}};n._async=new c.e(n);n._events=new h.e(n);Object(b.e)(n);Object(p.e)("Modal",t,{onLayerDidMount:"layerProps.onLayerDidMount"});n.state={id:Object(d.e)("Modal"),isOpen:t.isOpen,isVisible:t.isOpen,hasBeenOpened:t.isOpen,x:0,y:0};n._lastSetX=0;n._lastSetY=0;var r=n.props.allowTouchBodyScroll,i=void 0!==r&&r;n._allowTouchBodyScroll=i;return n}t.prototype.UNSAFE_componentWillReceiveProps=function(e){clearTimeout(this._onModalCloseTimer);if(e.isOpen)if(this.state.isOpen)this.setState({hasBeenOpened:!0,isVisible:!0});else{this.setState({isOpen:!0});e.dragOptions&&this._registerForKeyUp()}if(!e.isOpen&&this.state.isOpen){this._onModalCloseTimer=this._async.setTimeout(this._onModalClose,1e3*parseFloat(T));this.setState({isVisible:!1})}};t.prototype.componentDidMount=function(){var e=this;if(this.state.isOpen&&this.state.isVisible){this._registerForKeyUp();requestAnimationFrame(function(){return setTimeout(e._registerInitialModalPosition,0)})}};t.prototype.componentDidUpdate=function(e,t){var n=this;e.isOpen||t.isVisible||this.setState({isVisible:!0});!e.isOpen&&this.props.isOpen&&requestAnimationFrame(function(){return setTimeout(n._registerInitialModalPosition,0)})};t.prototype.componentWillUnmount=function(){this._async.dispose();this._events.dispose()};t.prototype.render=function(){var e,t,n,r,o,u,a,f,l,c,h,p,d,m,g,y=this.props,b=y.className,w=y.containerClassName,E=y.scrollableContentClassName,x=y.elementToFocusOnDismiss,T=y.firstFocusableSelector,N=y.focusTrapZoneProps,C=y.forceFocusInsideTrap,k=y.ignoreExternalFocusing,L=y.isBlocking,H=y.isClickableOutsideFocusTrap,B=y.isDarkOverlay,j=y.onDismiss,F=y.layerProps,U=y.overlay,z=y.responsiveMode,W=y.titleAriaId,X=y.styles,V=y.subtitleAriaId,$=y.theme,J=y.topOffsetFixed,K=y.onLayerDidMount,Q=y.isModeless,G=y.isAlert,Y=y.dragOptions,Z=y.enableAriaHiddenSiblings,ee=this.state,te=ee.isOpen,ne=ee.isVisible,re=ee.hasBeenOpened,ie=ee.modalRectangleTop,se=ee.x,oe=ee.y,ue=ee.isInKeyboardMoveMode;if(!te)return null;var ae=void 0===F?"":F.className,fe=null!=G?G:L&&!Q,le=R(X,{theme:$,className:b,containerClassName:w,scrollableContentClassName:E,isOpen:te,isVisible:ne,hasBeenOpened:re,modalRectangleTop:ie,topOffsetFixed:J,isModeless:Q,layerClassName:ae,isDefaultDragHandle:Y&&!Y.dragHandleSelector}),ce=Object(i.e)(Object(i.e)(Object(i.e)({},q),this.props.layerProps),{onLayerDidMount:F&&F.onLayerDidMount?F.onLayerDidMount:K,insertFirst:Q,className:le.layer}),he=s.createElement(S,Object(i.e)({},N,{"data-id":this.state.id,componentRef:this._focusTrapZoneMergedRef(this._focusTrapZone,null===(e=N)||void 0===e?void 0:e.componentRef),className:Object(v.e)(le.main,null===(t=N)||void 0===t?void 0:t.className),elementToFocusOnDismiss:(r=null===(n=N)||void 0===n?void 0:n.elementToFocusOnDismiss,null!=r?r:x),isClickableOutsideFocusTrap:(u=null===(o=N)||void 0===o?void 0:o.isClickableOutsideFocusTrap,null!=u?u:Q||H||!L),ignoreExternalFocusing:(f=null===(a=N)||void 0===a?void 0:a.ignoreExternalFocusing,null!=f?f:k),forceFocusInsideTrap:(c=null===(l=N)||void 0===l?void 0:l.forceFocusInsideTrap,null!=c?c:C)&&!Q,firstFocusableSelector:(null===(h=N)||void 0===h?void 0:h.firstFocusableSelector)||T,focusPreviouslyFocusedInnerElement:(d=null===(p=N)||void 0===p?void 0:p.focusPreviouslyFocusedInnerElement,null==d||d),onBlur:ue?this._onExitKeyboardMoveMode:void 0,enableAriaHiddenSiblings:(g=null===(m=N)||void 0===m?void 0:m.enableAriaHiddenSiblings,null!=g?g:Z)}),Y&&ue&&s.createElement("div",{className:le.keyboardMoveIconContainer},Y.keyboardMoveIconProps?s.createElement(P.e,Object(i.e)({},Y.keyboardMoveIconProps)):s.createElement(P.e,{iconName:"move",className:le.keyboardMoveIcon})),s.createElement("div",{ref:this._allowScrollOnModal,className:le.scrollableContent,"data-is-scrollable":!0},Y&&this.state.isModalMenuOpen&&s.createElement(Y.menu,{items:[{key:"move",text:Y.moveMenuItemText,onClick:this._onEnterKeyboardMoveMode},{key:"close",text:Y.closeMenuItemText,onClick:this._onModalClose}],onDismiss:this._onModalContextMenuClose,alignTargetEdge:!0,coverTarget:!0,directionalHint:D.e.topLeftEdge,directionalHintFixed:!0,shouldFocusOnMount:!0,target:this._scrollableContent}),this.props.children));return z>=_.e.small?s.createElement(O.e,Object(i.e)({},ce),s.createElement(M.e,{role:fe?"alertdialog":"dialog","aria-modal":!Q,ariaLabelledBy:W,ariaDescribedBy:V,onDismiss:j,shouldRestoreFocus:!k},s.createElement("div",{className:le.root,role:Q?void 0:"document"},!Q&&s.createElement(A,Object(i.e)({isDarkThemed:B,onClick:L?void 0:j,allowTouchBodyScroll:this._allowTouchBodyScroll},U)),Y?s.createElement(I,{handleSelector:Y.dragHandleSelector||"."+le.main.split(" ")[0],preventDragSelector:"button",onStart:this._onDragStart,onDragChange:this._onDrag,onStop:this._onDragStop,position:{x:se,y:oe}},he):he))):null};t.prototype.focus=function(){this._focusTrapZone.current&&this._focusTrapZone.current.focus()};t.prototype._getClampedPosition=function(e){return this.props.dragOptions&&this.props.dragOptions.keepInBounds?{x:this._getClampedPositionX(e.x),y:this._getClampedPositionY(e.y)}:e};t.prototype._getClampedPositionY=function(e){var t=this._minClampedPosition,n=this._maxClampedPosition;t&&(e=Math.max(t.y,e));n&&(e=Math.min(n.y,e));return e};t.prototype._getClampedPositionX=function(e){var t=this._minClampedPosition,n=this._maxClampedPosition;t&&(e=Math.max(t.x,e));n&&(e=Math.min(n.x,e));return e};t.prototype._getMoveDelta=function(e){var t=10;e.shiftKey?e.ctrlKey||(t=50):e.ctrlKey&&(t=1);return t};t.defaultProps={isOpen:!1,isDarkOverlay:!0,isBlocking:!1,className:"",containerClassName:""};return t=Object(i.t)([_.t],t)})(s.Component),z=Object(r.e)(U,function(e){var t,n=e.className,r=e.containerClassName,i=e.scrollableContentClassName,s=e.isOpen,o=e.isVisible,u=e.hasBeenOpened,a=e.modalRectangleTop,f=e.theme,l=e.topOffsetFixed,c=e.isModeless,h=e.layerClassName,p=e.isDefaultDragHandle,d=f.palette,v=f.effects,m=f.fonts,g=Object(x.v)(N,f);return{root:[g.root,m.medium,{backgroundColor:"transparent",position:c?"absolute":"fixed",height:"100%",width:"100%",display:"flex",alignItems:"center",justifyContent:"center",opacity:0,pointerEvents:"none",transition:"opacity "+T},l&&"number"==typeof a&&u&&{alignItems:"flex-start"},s&&g.isOpen,o&&{opacity:1,pointerEvents:"auto"},n],main:[g.main,{boxShadow:v.elevation64,borderRadius:v.roundedCorner2,backgroundColor:d.white,boxSizing:"border-box",position:"relative",textAlign:"left",outline:"3px solid transparent",maxHeight:"calc(100% - 32px)",maxWidth:"calc(100% - 32px)",minHeight:"176px",minWidth:"288px",overflowY:"auto",zIndex:c?x.f.Layer:void 0},l&&"number"==typeof a&&u&&{top:a},p&&{cursor:"move"},r],scrollableContent:[g.scrollableContent,{overflowY:"auto",flexGrow:1,maxHeight:"100vh",selectors:(t={},t["@supports (-webkit-overflow-scrolling: touch)"]={maxHeight:window.innerHeight},t)},i],layer:c&&[h,g.layer,{position:"static",width:"unset",height:"unset"}],keyboardMoveIconContainer:{position:"absolute",display:"flex",justifyContent:"center",width:"100%",padding:"3px 0px"},keyboardMoveIcon:{fontSize:m.xLargePlus.fontSize,width:"24px"}}},void 0,{scope:"Modal",fields:["theme","styles","enableAriaHiddenSiblings"]})},function(e,t,n){"use strict";n.r(t);n.d(t,"ShareDialog",function(){return L});var r=n(0),i=n("react-lib"),s=n(290),o=n(292),u=n(55),a=n(59),f=n(9),l=n(48);Object(l.e)([{rawString:".sharingContents_5ccac634{display:-webkit-box;display:-ms-flexbox;display:flex;min-height:130px;min-width:320px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.sharingContents_5ccac634.fullScreen_5ccac634{width:100% !important;height:100% !important}.sharingContents_5ccac634 iframe{border:none;width:0}.errorContainer_5ccac634{padding:20px;max-width:280px;font-size:14px}.errorCode_5ccac634{margin-top:30px;font-size:12px;color:#605e5c;display:block}.spinner_5ccac634{position:absolute;top:50%;left:50%}\n"}]);var c=n(101),h=n(180),p=n(34),d=n(126),v=n(15),m=(function(){function e(){this._commandHandlers=[];this._notificationHandlers=[]}Object.defineProperty(e.prototype,"ready",{get:function(){return this._messenger.ready},enumerable:!1,configurable:!0});e.prototype.sendCommand=function(e,t){return this._messenger.sendCommand(e,t)};e.prototype.sendNotification=function(e){return this._messenger.sendNotification(e)};e.prototype.addCommandHandler=function(e){var t=this;this._commandHandlers.push(e);return{dispose:function(){var n=t._commandHandlers.indexOf(e);n>-1&&t._commandHandlers.splice(n,1)}}};e.prototype.addNotificationHandler=function(e){var t=this;this._notificationHandlers.push(e);return{dispose:function(){var n=t._notificationHandlers.indexOf(e);n>-1&&t._notificationHandlers.splice(n,1)}}};e.prototype.dispose=function(){this._messenger.dispose()};e.prototype._onCommand=function(e){for(var t=0,n=this._commandHandlers;t<n.length;t++){var r=(0,n[t])(e);if(r)return r}};e.prototype._onNotificiation=function(e){for(var t=0,n=this._notificationHandlers;t<n.length;t++){(0,n[t])(e)}};return e})(),g=(function(e){Object(r.n)(t,e);function t(t){var n=this,i=t.initTimeoutMs,s=void 0===i?4e4:i,o=Object(r.i)(t,["initTimeoutMs"]);(n=e.call(this)||this)._customerPromiseLogger=o.customerPromiseLogger;n._messenger=Object(d.e)(Object(r.e)(Object(r.e)({},o),{initTimeoutMs:s,identifyParent:!0,onCommand:n._onCommand.bind(n),onNotification:n._onNotificiation.bind(n)}));return n}t.prototype.sendShareDestruct=function(){var e={command:"shareCommand",name:"share_destruct"};return this._send(e)};t.prototype.sendShareRevisible=function(e){e.command="shareCommand";return this._send(e)};t.prototype.sendSharingContextInformation=function(e){var t={command:"shareCommand",name:"share_postContextInformation",data:e};return this._send(t)};t.prototype.sendNewToken=function(e,t,n){var r={command:"shareCommand",name:"share_newToken"};if(e)r.token=e;else if(t){r.error=t;r.errorDetails=n}return this._send(r)};t.prototype._send=function(e){var t=this;0;return this._messenger.sendCommand(e).then(function(e){return!!e}).catch(function(n){var r;null===(r=t._customerPromiseLogger)||void 0===r||r.end({resultType:v.e.Failure,errorCode:"SharingHostMessenger - send ".concat(e.name," failed"),extraData:{errorMessage:n.toString()}});return!1})};return t})(m),y=n(87),b=n(20),w=n(279),E=b.t.isActivated("45a2c5f9-21b8-4775-9e30-4e61d1f67106","02/02/2022","use new share Messenger for cross window communication")||y.e.isFeatureEnabled({ECS:1000619}),S={sharingInformation:void 0,isSharingDialogLoaded:!1,didSharingHappen:!1,iframeSource:"#",iframeHeight:0,error:void 0,isWindowEventReceived:!1},x=(function(e){Object(r.n)(t,e);function t(t){var n=e.call(this,t)||this;n._channelId=p.e.generate();n._setElementRef=function(e){n._iframeRef=e;if(!E&&(null==e?void 0:e.contentWindow)&&!n._sharingHostMessenger&&!n.state.isWindowEventReceived){n._sharingHostMessenger=n._createSharingHostMessenger(e.contentWindow);n.props.setSharingHostMessenger&&n.props.setSharingHostMessenger(n._sharingHostMessenger)}n.props.setElementRef&&n.props.setElementRef(e)};n._onClose=function(){var e=n.state.error;n.state.didSharingHappen?n.props.resolve():e?n.props.reject(e):n.props.reject(new a.e);n.setState({error:void 0,isSharingDialogLoaded:!1})};n._listenForMessages=function(e){var t;try{t=JSON.parse(e.data)}catch(e){return}var r=t.name;if(r===f.e.ScriptLoaded)n.setState({isWindowEventReceived:!0});else if(r===f.e.Resize&&t.height)n.setState({iframeHeight:t.height});else if(r===f.e.Ready){n.setState({isSharingDialogLoaded:!0});n.props.onShareReady()}else if(r===f.e.Error)t.error?n.setState({error:t.error}):n.setState({error:{name:"ShareError",message:c.t}});else if(r===f.e.ShareCompleted)n.setState({didSharingHappen:!0});else if(r===f.e.Dismiss){if(n._sharePrefetchRef&&n._sharePrefetchRef.current){n._sharePrefetchRef.current.tabIndex=1;n._sharePrefetchRef.current.focus()}n._onClose();n.props.onModalClose()}else if(r===f.e.ManageAccessClicked){var i=n.props.openManageAccess;if(i){i();n._onClose()}}else if(r===f.e.GrantAccessCompleted)n.props.onGrantAccessCompleted(t);else if(r===f.e.ReadyForRecipients)n.props.onReadyForRecipients();else if(r===f.e.InstantLoadReady){n.setState({isSharingDialogLoaded:!0});n.props.onShareReady()}};n._getSharingInformation=function(){return Object(r.t)(n,void 0,void 0,function(){var e,t;return Object(r.r)(this,function(n){switch(n.label){case 0:n.trys.push([0,2,,3]);return[4,this.props.getSharingInformation()];case 1:if(!(e=n.sent()))throw new Error("Failed to get sharing information");this.setState({sharingInformation:e});return[3,3];case 2:t=n.sent();this.props.reject(t);return[3,3];case 3:return[2]}})})};n._update=function(e){var t,r,i=n.state.sharingInformation;if(i&&!e.sharingInformation){var s=i.authToken,o=i.webAbsoluteUrl,u=i.serverRelativeItemUrl,a=i.listUrl,f=i.cookieAuthIframeUrl,l=i.uniqueId,c=i.listId,p=i.cookieAuthIframeUrlForCrossDomain,d=n.props,v=d.initializeShareFrame,m=d.defaultRecipients,g=d.openManageAccess,y=void 0;switch(n.props.mode){case 2:y="&mode=copy";break;case 5:y="&mode=manageAccess";break;case 7:y="&mode=addPeople";break;default:y=""}var b="";n.props.fullScreenMode&&(b+="&fullScreenMode=true");n.props.itemName&&(b+="&itemName=".concat(encodeURIComponent(n.props.itemName)));var w=null===(r=(t=n.props).getNav)||void 0===r?void 0:r.call(t);w&&(b+="&nav=".concat(encodeURIComponent(w)));if(s&&(o&&u&&a||l&&c)&&v){p&&(i.cookieAuthIframeUrlForCrossDomain="".concat(p).concat(y).concat(b));var E=n.props;v({parentElement:n._sharePrefetchRef.current,sharingInformation:i,calloutProps:E,onReady:function(){n.setState({isSharingDialogLoaded:!0})},onDismiss:n.props.onModalClose,onError:function(e){n.setState({error:e})}})}else if(f){var S="".concat(f).concat(y).concat(m&&m.length>0?"&defaultRecipients=".concat(encodeURI(m.join(","))):"","&ma=").concat(g?1:0).concat(b,"&channelId=").concat(n._channelId,"&origin=").concat(encodeURIComponent(new h.e(f).authority));0;n.setState({iframeSource:S})}else n.props.reject(new Error("Missing sharing information"))}};n.state=Object(r.e)(Object(r.e)({},S),{iframeHeight:n.props.iframeInitialHeight||0});n._sharePrefetchRef=i.createRef();n._shareCustomerPromiseLogger=new w.e({scenario:"SharingIframe.load",perfGoalInMs:3e4});return n}t.prototype.UNSAFE_componentWillMount=function(){this._getSharingInformation()};t.prototype.componentDidMount=function(){window.addEventListener("message",this._listenForMessages,!1);try{this._update(S)}catch(e){this._shareCustomerPromiseLogger.end({resultType:v.e.Failure,errorCode:"sharingIframeUpdateError",extraData:{clientId:this.props.getClientId(),mode:this.props.mode,errorDetail:e.toString()}})}};t.prototype.componentDidCatch=function(e,t){this._shareCustomerPromiseLogger.end({resultType:v.e.Failure,errorCode:"sharingIframeUpdateError",extraData:{clientId:this.props.getClientId(),mode:this.props.mode,errorInfo:t,errorDetail:e.toString()}})};t.prototype.componentWillUnmount=function(){this._onClose();window.removeEventListener("message",this._listenForMessages,!1)};t.prototype.componentDidUpdate=function(e,t){this._update(t)};t.prototype.render=function(){var e,t,n,r=this.state,s=r.isSharingDialogLoaded,a=r.iframeSource,f=r.iframeHeight,l=r.error,h=l,p=h&&h.resultCode&&h.resultCode.indexOf("ShareDomainNotReachable")>=0?i.createElement("div",{className:"".concat("errorContainer_5ccac634")},i.createElement("span",null,c.t),i.createElement("span",{className:"".concat("errorCode_5ccac634")},"(",h.resultCode,")")):null,d=2===this.props.mode?120:475,v=null===(t=null===(e=this._sharePrefetchRef.current)||void 0===e?void 0:e.parentElement)||void 0===t?void 0:t.style.maxHeight,m=v?parseInt(v,10):0;n=f?m?m>f?f:m:f:d;return i.createElement("div",{className:"".concat("sharingContents_5ccac634","\n        ").concat(this.props.fullScreenMode?"fullScreen_5ccac634":""),ref:this._sharePrefetchRef,style:{height:"".concat(n,"px")}},!s&&!l&&i.createElement(o.e,{className:"spinner_5ccac634",size:u.e.large}),p,"#"===a?null:i.createElement("iframe",{id:"shareFrame",name:"shareFrame",title:c.e,src:a,style:{visibility:s?"visible":"hidden",width:"100%",height:"100%"},ref:this._setElementRef}))};t.prototype._createSharingHostMessenger=function(e){var t=this;this._clientOrigin=new h.e(this.state.iframeSource).authority;var n=new g({origin:this._clientOrigin,channelId:this._channelId,source:e,customerPromiseLogger:this._shareCustomerPromiseLogger});n.addCommandHandler(function(e){try{0;switch(e.name){case f.e.ScriptLoaded:break;case f.e.Ready:t.setState({isSharingDialogLoaded:!0});t._shareCustomerPromiseLogger.end({resultType:v.e.Success});t.props.onShareReady();break;case f.e.Error:e.error?t.setState({error:e.error}):t.setState({error:{name:"ShareError",message:c.t}});break;case f.e.ShareCompleted:t.setState({didSharingHappen:!0});break;case f.e.Dismiss:if(t._sharePrefetchRef&&t._sharePrefetchRef.current){t._sharePrefetchRef.current.tabIndex=1;t._sharePrefetchRef.current.focus()}t._onClose();t.props.onModalClose();break;case f.e.ManageAccessClicked:if(t.props.openManageAccess){t.props.openManageAccess();t._onClose()}break;case f.e.GrantAccessCompleted:t.props.onGrantAccessCompleted(e);break;case f.e.ReadyForRecipients:t.props.onReadyForRecipients();break;case f.e.InstantLoadReady:t.setState({isSharingDialogLoaded:!0});t.props.onShareReady()}return{result:"success"}}catch(e){t._shareCustomerPromiseLogger.end({resultType:v.e.Failure,errorCode:"sharingIframeUpdateError",extraData:{clientId:t.props.getClientId(),mode:t.props.mode,error:e.toString()}})}});return n};return t})(i.PureComponent),T=n(16),N=n(42),C={isOpen:!0,isVisible:!0},k=y.e.isFeatureEnabled({ODB:60577}),L=(function(e){Object(r.n)(t,e);function t(t){var n=e.call(this,t)||this;n.makeVisibleAgain=function(e){n.setState({isVisible:!0});e?n._sharingHostMessenger?n._sharingHostMessenger.sendShareRevisible(e):n._target&&n._target.postMessage(JSON.stringify(e),"*"):Object(N.n)()};n._setSharingHostMessenger=function(e){n._sharingHostMessenger=e||null};n._setTopElementRef=function(e){if(e){n._iframe=e;n._target=n._iframe.contentWindow}else{n._target=null;n._iframe=e}n.props.setElementRef&&n.props.setElementRef(e)};n._onClose=function(){if(N.e){n.setState({isVisible:!1});var e={name:f.e.Destruct};n._sharingHostMessenger?n._sharingHostMessenger.sendShareDestruct():n._target&&n._target.postMessage(JSON.stringify(e),"*")}else n.setState({isOpen:!1});n._setQosResult(v.e.ExpectedFailure,"Dialog Canceled")};n._onShareReady=function(){n._setQosResult(v.e.Success,"ShareDialogLoaded")};n._renderFullScreenShareIframe=function(){var e=n.props,t=e.sharingIFrameAs,o=void 0===t?x:t,u=Object(r.i)(e,["sharingIFrameAs"]);u.fullScreenMode=!0;return i.createElement(s.e,{className:"sharingModal",onDismiss:n._onClose,isOpen:!!n.state.isOpen,styles:{root:{display:N.e&&!n.state.isVisible?"none":"unset"},main:{backgroundColor:"transparent",boxShadow:"none",position:"absolute",top:0,left:0,height:"100% !important",width:"100% !important",maxHeight:"unset",maxWidth:"unset",overflow:"hidden"},scrollableContent:{width:"100% !important",height:"100% !important",maxHeight:"unset",maxWidth:"unset",overflow:"hidden"}}},i.createElement(o,Object(r.e)({},u,{onModalClose:n._onClose.bind(n),onShareReady:n._onShareReady.bind(n),setElementRef:n._setTopElementRef,setSharingHostMessenger:n._setSharingHostMessenger})))};n.state=C;n._initQos();return n}t.prototype.componentDidMount=function(){Object(N.r)(this.makeVisibleAgain)};t.prototype.componentWillUnmount=function(){Object(N.n)()};t.prototype.render=function(){var e;if(k||this.props.iFrameFullScreenOverride)return this._renderFullScreenShareIframe();if(null===(e=this.state)||void 0===e?void 0:e.isOpen){var t=this.props,n=t.sharingIFrameAs,o=void 0===n?x:n,u=Object(r.i)(t,["sharingIFrameAs"]);return i.createElement(s.e,{onDismiss:this._onClose,isOpen:!!this.state.isOpen,styles:{main:{maxWidth:"unset",maxHeight:"unset",minHeight:"unset"},scrollableContent:{overflow:"hidden"}}},i.createElement(o,Object(r.e)({},u,{onModalClose:this._onClose.bind(this),onShareReady:this._onShareReady.bind(this),setElementRef:this._setTopElementRef,setSharingHostMessenger:this._setSharingHostMessenger})))}return null};t.prototype._initQos=function(){this._qos=new T.e({name:"LoadShareDialog",extraData:{clientId:this.props.getClientId()}});var e={name:"LoadShareDialog",resultType:v.e.Failure,resultCode:"Dialog not loaded in time"};this._qos.setTimeout(1e4,e)};t.prototype._setQosResult=function(e,t,n){if(this._qos){this._qos.end({resultType:e,resultCode:t,error:n});this._qos=null}};return t})(i.PureComponent)},function(e,t,n){"use strict";n.d(t,"e",function(){return m});var r=n(297),i=n(1),s=n("react-lib"),o=n(55),u=n(281),a=n(130),f=(function(e){Object(i.n)(t,e);function t(t){var n=e.call(this,t)||this;n.state={isRendered:!1};return n}t.prototype.componentDidMount=function(){var e=this,t=this.props.delay;this._timeoutId=window.setTimeout(function(){e.setState({isRendered:!0})},t)};t.prototype.componentWillUnmount=function(){this._timeoutId&&clearTimeout(this._timeoutId)};t.prototype.render=function(){return this.state.isRendered?s.Children.only(this.props.children):null};t.defaultProps={delay:0};return t})(s.Component),l=Object(u.e)(),c=(function(e){Object(i.n)(t,e);function t(){return null!==e&&e.apply(this,arguments)||this}t.prototype.render=function(){var e=this.props,t=e.type,n=e.size,r=e.ariaLabel,u=e.ariaLive,c=e.styles,h=e.label,p=e.theme,d=e.className,v=e.labelPosition,m=r,g=Object(a.r)(this.props,a.n,["size"]),y=n;void 0===y&&void 0!==t&&(y=t===o.t.large?o.e.large:o.e.medium);var b=l(c,{theme:p,size:y,className:d,labelPosition:v});return s.createElement("div",Object(i.e)({},g,{className:b.root}),s.createElement("div",{className:b.circle}),h&&s.createElement("div",{className:b.label},h),m&&s.createElement("div",{role:"status","aria-live":u},s.createElement(f,null,s.createElement("div",{className:b.screenReaderText},m))))};t.defaultProps={size:o.e.medium,ariaLive:"polite",labelPosition:"bottom"};return t})(s.Component),h=n(3),p=n(33),d={root:"ms-Spinner",circle:"ms-Spinner-circle",label:"ms-Spinner-label"},v=Object(p.t)(function(){return Object(h.E)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}})}),m=Object(r.e)(c,function(e){var t,n=e.theme,r=e.size,s=e.className,u=e.labelPosition,a=n.palette,f=Object(h.v)(d,n);return{root:[f.root,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"top"===u&&{flexDirection:"column-reverse"},"right"===u&&{flexDirection:"row"},"left"===u&&{flexDirection:"row-reverse"},s],circle:[f.circle,{boxSizing:"border-box",borderRadius:"50%",border:"1.5px solid "+a.themeLight,borderTopColor:a.themePrimary,animationName:v(),animationDuration:"1.3s",animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(.53,.21,.29,.67)",selectors:(t={},t[h.r]=Object(i.e)({borderTopColor:"Highlight"},Object(h.m)()),t)},r===o.e.xSmall&&["ms-Spinner--xSmall",{width:12,height:12}],r===o.e.small&&["ms-Spinner--small",{width:16,height:16}],r===o.e.medium&&["ms-Spinner--medium",{width:20,height:20}],r===o.e.large&&["ms-Spinner--large",{width:28,height:28}]],label:[f.label,n.fonts.small,{color:a.themePrimary,margin:"8px 0 0",textAlign:"center"},"top"===u&&{margin:"0 0 8px"},"right"===u&&{margin:"0 0 0 8px"},"left"===u&&{margin:"0 8px 0 0"}],screenReaderText:h.w}},void 0,{scope:"Spinner"})},function(e,t,n){"use strict";n.r(t);n.d(t,"getFirstCPUIdle",function(){return o});function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];i()&&console.log.apply(console,e)}function i(){try{if("sessionStorage"in window&&window.sessionStorage){var e=window.sessionStorage.enableFCILogging;return e&&"true"===e.toLowerCase()&&"undefined"!=typeof console&&!!console}}catch(e){}return!1}var s=(function(){function e(e){this._longTaskId=0;this._checkFCIRunId=0;this._isDisposed=!1;var t=e.requiredMainThreadCPUIdleDurationInMilliseconds,n=e.measurementStartTime;this._measurementStartTime=n;this._requiredMainThreadCPUIdleDurationInMilliseconds=t;this._resultResolver={resolve:void 0,reject:void 0};this._fciPromise=void 0;this._longTasks=[];this._processLongTaskPreQueue();this._registerLongTaskObserver()}e.prototype.measureFCI=function(){var e=this;if(this._isDisposed)throw"FCIMeasurer is disposed.";this._fciPromise||(this._fciPromise=new Promise(function(t,n){e._resultResolver.resolve=t;e._resultResolver.reject=n}));this._tryScheduleNextCheck();return this._fciPromise};e.prototype._tryScheduleNextCheck=function(){var e=this;this._checkFCIRunId&&clearTimeout(this._checkFCIRunId);var t=this._findEarlestPossibleCheckTime(),n=performance.now(),r=Math.max(0,t-n);this._checkFCIRunId=setTimeout(function(){e._checkFCI()},r)};e.prototype._findEarlestPossibleCheckTime=function(){var e=this._getLatestLongTask(),t=e&&e.end||-1/0;return Math.max(t+this._requiredMainThreadCPUIdleDurationInMilliseconds,this._measurementStartTime+this._requiredMainThreadCPUIdleDurationInMilliseconds,performance.now())};e.prototype._checkFCI=function(){var e,t=performance.now(),n=this._longTasks?this._longTasks.length:0;r("Running checkFCI:");r("Measurement start time",this._measurementStartTime);r("Current time",t);r("Long tasks",this._longTasks);r("latestLongTaskEndTime",null===(e=this._longTasks[n-1])||void 0===e?void 0:e.end);if(!this._measurementStartTime||this._measurementStartTime<0)this._onFoundFCI(NaN);else if(0!==n){for(var i=this._longTasks[0],s=1;s<n;s++){var o=this._longTasks[s],u=Math.max(i.end,this._measurementStartTime);if(o.start>=this._measurementStartTime&&o.start-u>=this._requiredMainThreadCPUIdleDurationInMilliseconds){this._onFoundFCI(u,i.endMarkName);return}i=o}if(t-i.end>=this._requiredMainThreadCPUIdleDurationInMilliseconds){var a=i.end>this._measurementStartTime?i.endMarkName:void 0;this._onFoundFCI(Math.max(i.end,this._measurementStartTime),a)}}else t-this._measurementStartTime>=this._requiredMainThreadCPUIdleDurationInMilliseconds&&this._onFoundFCI(this._measurementStartTime)};e.prototype._onFoundFCI=function(e,t){t&&performance.measure("FCI",void 0,t);r("possibleFCI:",e);this._resultResolver.resolve&&this._resultResolver.resolve({fci:e,longTasks:this._longTasks});this._dispose()};e.prototype._dispose=function(){clearTimeout(this._checkFCIRunId);this._longTaskObserver.disconnect();this._isDisposed=!0};e.prototype._getLatestLongTask=function(){for(var e=void 0,t=0,n=this._longTasks;t<n.length;t++){var r=n[t];(!e||r.end>e.end)&&(e=r)}return e};e.prototype._processLongTaskPreQueue=function(){if(window.__fci){var e=window.__fci.o,t=window.__fci.e;if(e){for(var n=0,r=t;n<r.length;n++){var i=r[n];if("longtask"===i.entryType){var s=this._createLongTask(i);this._longTasks.push(s)}}e.disconnect()}}};e.prototype._registerLongTaskObserver=function(){var e=this;this._longTaskObserver=new PerformanceObserver(function(t){for(var n=0,r=t.getEntries();n<r.length;n++){var i=r[n];"longtask"===i.entryType&&e._longTaskFinishedCallback(i)}});this._longTaskObserver.observe({entryTypes:["longtask"]})};e.prototype._createLongTask=function(e){var t=e.startTime+e.duration;return{attribution:e.attribution,name:e.name,start:Math.round(e.startTime),end:Math.round(t),id:this._longTaskId++}};e.prototype._longTaskFinishedCallback=function(e){r("Long task finished: ",e);var t,n=this._createLongTask(e),i="longTaskEnd".concat(n.id);t=i,window.performance&&performance.mark&&performance.mark(t);n.endMarkName=i;this._longTasks.push(n);this._tryScheduleNextCheck()};return e})();function o(e){if("PerformanceLongTaskTiming"in window){return new s(e).measureFCI()}return Promise.resolve(null)}},function(e,t,n){"use strict";n.d(t,"e",function(){return i});function r(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.length<2?t[0]:function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];t.forEach(function(t){return t&&t.apply(e,n)})}}function i(e){(function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=r(e,e[n],t[n]))})(e,{componentDidMount:s,componentDidUpdate:o,componentWillUnmount:u})}function s(){a(this.props.componentRef,this)}function o(e){if(e.componentRef!==this.props.componentRef){a(e.componentRef,null);a(this.props.componentRef,this)}}function u(){a(this.props.componentRef,null)}function a(e,t){e&&("object"==typeof e?e.current=t:"function"==typeof e&&e(t))}},function(e,t,n){"use strict";n.d(t,"e",function(){return v});var r,i=n(297),s=n(1),o=n("react-lib");(function(e){e[e.default=0]="default";e[e.image=1]="image";e[e.Default=1e5]="Default";e[e.Image=100001]="Image"})(r||(r={}));var u=n(128),a=n(11),f=n(281),l=n(130),c=n(189),h=Object(f.e)({cacheSize:100}),p=(function(e){Object(s.n)(t,e);function t(t){var n=e.call(this,t)||this;n._onImageLoadingStateChange=function(e){n.props.imageProps&&n.props.imageProps.onLoadingStateChange&&n.props.imageProps.onLoadingStateChange(e);e===a.n.error&&n.setState({imageLoadError:!0})};n.state={imageLoadError:!1};return n}t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,i=e.styles,a=e.iconName,f=e.imageErrorAs,p=e.theme,d="string"==typeof a&&0===a.length,v=!!this.props.imageProps||this.props.iconType===r.image||this.props.iconType===r.Image,m=Object(c.t)(a)||{},g=m.iconClassName,y=m.children,b=m.mergeImageProps,w=h(i,{theme:p,className:n,iconClassName:g,isImage:v,isPlaceholder:d}),E=v?"span":"i",S=Object(l.r)(this.props,l.i,["aria-label"]),x=this.state.imageLoadError,T=Object(s.e)(Object(s.e)({},this.props.imageProps),{onLoadingStateChange:this._onImageLoadingStateChange}),N=x&&f||u.e,C=this.props["aria-label"]||this.props.ariaLabel,k=T.alt||C||this.props.title,L=!!(k||this.props["aria-labelledby"]||T["aria-label"]||T["aria-labelledby"])?{role:v||b?void 0:"img","aria-label":v||b?void 0:k}:{"aria-hidden":!this.props["aria-labelledby"]&&!T["aria-labelledby"]},A=y;b&&y&&"object"==typeof y&&k&&(A=o.cloneElement(y,{alt:k}));return o.createElement(E,Object(s.e)({"data-icon-name":a},L,S,b?{title:void 0,"aria-label":void 0}:{},{className:w.root}),v?o.createElement(N,Object(s.e)({},T)):t||A)};return t})(o.Component),d=n(53),v=Object(i.e)(p,d.n,void 0,{scope:"Icon"},!0);v.displayName="Icon"},function(e,t,n){"use strict";n.r(t);n.d(t,"OfflineAriaEventQueue",function(){return s});n.d(t,"makeOfflineAriaEventQueue",function(){return o});var r=n(0),i=n(98);var s=(function(){function e(t,n,r){var s,o,u,a,f=this;this._pendingEvents=[];this._offlineDetection=r;this._tenantToken=n;this._allowMoreEvents=!0;this._expirationDate=new Date;this._expirationDate.setDate((new Date).getDate()-14);if(i.e)try{if("indexedDB"in window){this._logger=t;var l=indexedDB.open(e._dbName,e._dbVersion);l.onsuccess=function(){f._db=l.result;f._offlineDetection.onChange(function(e){e?f._stopInterval():f._startInterval()});f._startDrainingQueuedEvents()};l.onupgradeneeded=function(t){if(t.oldVersion<1){var n=l.result.createObjectStore(e._dbTableName,{autoIncrement:!0});n.createIndex(e._dbTenantIndexName,e._dbTokenIndexKeyPath);n.createIndex(e._dbTimestampIndexName,"timestamp")}};this._flushEvents=(s=this._flushEvents.bind(this),o=1e3,u=!1,a=void 0,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];u&&!a&&s.apply(null,e);clearTimeout(a);a=setTimeout(function(){a=void 0;u||s.apply(null,e)},o)})}}catch(e){this._db=void 0}}e.prototype.storeEventIfNecessary=function(e){if(this._db&&this._offlineDetection.offline){if(this._pendingEvents.length>1e3||!this._allowMoreEvents)return!1;e.timestamp=(new Date).getTime();this._pendingEvents.push(e);this._flushEvents();return!0}return!1};e.prototype._flushEvents=function(){var t,n=this;try{if(this._db){var i=this._db.transaction(e._dbName,"readwrite"),s=i.objectStore(e._dbTableName),o=s.count();o.onsuccess=function(){o.result>e._maxQueuedEvents&&(n._allowMoreEvents=!1)};for(var a=this._pendingEvents.length,f=0,l=this._pendingEvents;f<l.length;f++){var c=l[f];s.add(Object(r.e)(Object(r.e)({},c),((t={})[e._dbTokenIndexKeyPath]=this._tenantToken,t)))}this._pendingEvents=[];i.oncomplete=function(){u("AriaEventQueue: flushed ".concat(a," events to db"))}}}catch(e){}};e.prototype._popEvents=function(t,n,r){var i=this;return new Promise(function(s,o){try{if(i._db){var a=i._db.transaction(e._dbName,"readwrite").objectStore(e._dbTableName);n&&(a=a.index(n));var f=r?a.openCursor(r):a.openCursor(),l=[];f.onerror=function(e){o(new Error("AriaEventQueue: failed to open cursor"))};f.onsuccess=function(){var e=f.result;if(e&&l.length<t){var n=e.value,r=e.delete();r.onsuccess=function(){l.push(n);e.continue()};r.onerror=function(){o(new Error("AriaEventQueue: failed to delete item"))}}if(!e||l.length===t){u("AriaEventQueue: resolving pop with ".concat(l.length," items"));s(l)}}}}catch(e){o(e)}})};e.prototype._startDrainingQueuedEvents=function(){if(this._db&&!this._offlineDetection.offline){u("AriaEventQueue: Starting drain interval");this._startInterval()}};e.prototype._stopInterval=function(){if(this._intervalId){u("AriaEventQueue: Terminating drain interval");clearInterval(this._intervalId);this._intervalId=void 0}};e.prototype._disposeExpiredEvents=function(){return Object(r.t)(this,void 0,void 0,function(){var t;return Object(r.r)(this,function(n){switch(n.label){case 0:n.trys.push([0,2,,3]);return[4,this._popEvents(e._drainEventBatchSize,e._dbTimestampIndexName,IDBKeyRange.upperBound(this._expirationDate.getTime(),!1))];case 1:(t=n.sent())&&(null==t?void 0:t.length)>0&&u("AriaEventQueue: removed ".concat(null==t?void 0:t.length," expired events, older than ").concat(this._expirationDate));return[2,(null==t?void 0:t.length)||0];case 2:n.sent();return[2,0];case 3:return[2]}})})};e.prototype._startInterval=function(){var t=this;this._intervalId=setInterval(function(){return Object(r.t)(t,void 0,void 0,function(){var t,n,i,s,o;return Object(r.r)(this,function(r){switch(r.label){case 0:if(!this._db||!this._logger)return[3,5];r.label=1;case 1:r.trys.push([1,4,,5]);return[4,this._disposeExpiredEvents()];case 2:t=r.sent();return[4,this._popEvents(e._drainEventBatchSize,e._dbTenantIndexName,IDBKeyRange.only(this._tenantToken))];case 3:if((n=r.sent())&&n.length>0){u("AriaEventQueue: sending ".concat(n.length," queued aria events"));for(i=0,s=n;i<s.length;i++){o=s[i];if(!this._isExpired(o)){o.properties.IsOfflineEvent={pii:null,value:!0};if(o.offlineQueueTenantToken&&o.offlineQueueTenantToken===this._tenantToken){delete o.offlineQueueTenantToken;this._logger.logEvent(o)}else{0;u("AriaEventQueue: mismatched token for item")}}}}0===(null==n?void 0:n.length)&&0===t&&this._stopInterval();return[3,5];case 4:r.sent();return[3,5];case 5:return[2]}})})},e._drainEventIntervalMs)};e.prototype._isExpired=function(e){return e.timestamp<this._expirationDate.getTime()};e._drainEventIntervalMs=1e4;e._drainEventBatchSize=50;e._dbName="odspAriaOfflineEvents";e._dbTableName="odspAriaOfflineEvents";e._dbTenantIndexName="byToken";e._dbTimestampIndexName="byTimestamp";e._dbTokenIndexKeyPath="offlineQueueTenantToken";e._dbVersion=1;e._maxQueuedEvents=5e4;return e})();function o(e,t,n){return new s(e,t,n)}function u(e){0}},function(e,t,n){"use strict";n.d(t,"e",function(){return l});var r=n(1),i=n("react-lib"),s=n(278),o=n(41),u=n(74);function a(e,t){var n,r=(n=i.useState(0)[1],function(){return n(function(e){return++e})}),s=i.useContext(u.e).customizations,a=s.inCustomizerContext;i.useEffect(function(){a||o.e.observe(r);return function(){a||o.e.unobserve(r)}},[a]);return o.e.getSettings(e,t,s)}var f=["theme","styles"];function l(e,t,n,o,u){var l=(o=o||{scope:"",fields:void 0}).scope,c=o.fields,h=void 0===c?f:c,p=i.forwardRef(function(o,u){var f=i.useRef(),c=a(h,l),p=c.styles,d=(c.dir,Object(r.r)(c,["styles","dir"])),v=n?n(o):void 0,m=f.current&&f.current.__cachedInputs__||[];if(!f.current||p!==m[1]||o.styles!==m[2]){var g=function(e){return Object(s.e)(e,t,p,o.styles)};g.__cachedInputs__=[t,p,o.styles];g.__noStyleOverride__=!p&&!o.styles;f.current=g}return i.createElement(e,Object(r.e)({ref:u},d,v,o,{styles:f.current}))});p.displayName="Styled"+(e.displayName||e.name);var d=u?i.memo(p):p;p.displayName&&(d.displayName=p.displayName);return d}},function(e,t,n){"use strict";n.d(t,"e",function(){return c});var r,i=n("react-lib"),s=n(12),o=n(25),u=((r={})[o.e.up]=1,r[o.e.down]=1,r[o.e.left]=1,r[o.e.right]=1,r[o.e.home]=1,r[o.e.end]=1,r[o.e.tab]=1,r[o.e.pageUp]=1,r[o.e.pageDown]=1,r);var a=n(83),f=new WeakMap;function l(e,t){var n,r=f.get(e);n=r?r+t:1;f.set(e,n);return n}var c=function(e){t=e.rootRef,i.useEffect(function(){var e,n,r=Object(s.e)(null===(e=t)||void 0===e?void 0:e.current);if(r&&!0!==(null===(n=r.FabricConfig)||void 0===n?void 0:n.disableFocusRects)){var i=l(r,1);if(i<=1){r.addEventListener("mousedown",h,!0);r.addEventListener("pointerdown",p,!0);r.addEventListener("keydown",d,!0)}return function(){var e;if(r&&!0!==(null===(e=r.FabricConfig)||void 0===e?void 0:e.disableFocusRects)&&0===(i=l(r,-1))){r.removeEventListener("mousedown",h,!0);r.removeEventListener("pointerdown",p,!0);r.removeEventListener("keydown",d,!0)}}}},[t]);var t;return null};function h(e){Object(a.t)(!1,e.target)}function p(e){"mouse"!==e.pointerType&&Object(a.t)(!1,e.target)}function d(e){(t=e.which,u[t])&&Object(a.t)(!0,e.target);var t}},function(e,t,n){"use strict";n.d(t,"e",function(){return l});var r=n(1),i=n("react-lib"),s=n(99),o=n(67),u=n(190);var a=n(188);(function(e){Object(r.n)(t,e);function t(n,r){var i=e.call(this,n,r)||this;(function(e,t,n){for(var r=0,i=n.length;r<i;r++)f(e,t,n[r])})(i,t.prototype,["componentDidMount","shouldComponentUpdate","getSnapshotBeforeUpdate","render","componentDidUpdate","componentWillUnmount"]);return i}t.prototype.componentDidUpdate=function(e,t){this._updateComponentRef(e,this.props)};t.prototype.componentDidMount=function(){this._setComponentRef(this.props.componentRef,this)};t.prototype.componentWillUnmount=function(){this._setComponentRef(this.props.componentRef,null);if(this.__disposables){for(var e=0,t=this._disposables.length;e<t;e++){var n=this.__disposables[e];n.dispose&&n.dispose()}this.__disposables=null}};Object.defineProperty(t.prototype,"className",{get:function(){if(!this.__className){var e=/function (.{1,})\(/.exec(this.constructor.toString());this.__className=e&&e.length>1?e[1]:""}return this.__className},enumerable:!0,configurable:!0});Object.defineProperty(t.prototype,"_disposables",{get:function(){this.__disposables||(this.__disposables=[]);return this.__disposables},enumerable:!0,configurable:!0});Object.defineProperty(t.prototype,"_async",{get:function(){if(!this.__async){this.__async=new s.e(this);this._disposables.push(this.__async)}return this.__async},enumerable:!0,configurable:!0});Object.defineProperty(t.prototype,"_events",{get:function(){if(!this.__events){this.__events=new o.e(this);this._disposables.push(this.__events)}return this.__events},enumerable:!0,configurable:!0});t.prototype._resolveRef=function(e){var t=this;this.__resolves||(this.__resolves={});this.__resolves[e]||(this.__resolves[e]=function(n){return t[e]=n});return this.__resolves[e]};t.prototype._updateComponentRef=function(e,t){void 0===t&&(t={});if(e&&t&&e.componentRef!==t.componentRef){this._setComponentRef(e.componentRef,null);this._setComponentRef(t.componentRef,this)}};t.prototype._warnDeprecations=function(e){Object(a.e)(this.className,this.props,e)};t.prototype._warnMutuallyExclusive=function(e){this.className,this.props};t.prototype._warnConditionallyRequiredProps=function(e,t,n){Object(u.e)(this.className,this.props,e,t,n)};t.prototype._setComponentRef=function(e,t){if(!this._skipComponentRefResolution&&e){"function"==typeof e&&e(t);"object"==typeof e&&(e.current=t)}}})(i.Component);function f(e,t,n){var r=e[n],i=t[n];(r||i)&&(e[n]=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];i&&(e=i.apply(this,t));r!==i&&(e=r.apply(this,t));return e})}function l(){return null}},function(e,t,n){"use strict";n.d(t,"t",function(){return r});n.d(t,"e",function(){return i});n.d(t,"r",function(){return o});n.d(t,"n",function(){return u});var r,i,s=new((function(){function e(){this._listeners=[]}e.prototype.fireEvent=function(e){this._listeners.forEach(function(t){return t(e)})};e.prototype.addListener=function(e){e&&this._listeners.push(e)};e.prototype.removeListener=function(e){this._listeners=this._listeners.filter(function(t){return t!==e})};e.prototype.getListenerCount=function(){return this._listeners.length};return e})());(function(e){e[e.Error=0]="Error";e[e.Warning=1]="Warning";e[e.Info=2]="Info";e[e.Verbose=3]="Verbose"})(r||(r={}));(function(e){e[e.Core=0]="Core";e[e.Sink=1]="Sink";e[e.Transport=2]="Transport"})(i||(i={}));function o(e,t,n){s.fireEvent({level:e,category:t,message:n})}function u(e,t,n){o(r.Error,e,function(){var e=n instanceof Error?n.message:"";return t+": "+e})}}]))});