wise.public.cdn.office.net Open in urlscan Pro
2a02:26f0:7100::687e:2518  Public Scan

URL: https://wise.public.cdn.office.net/wise/owl/owl.slim.8ba8c1b1090772988ece.js
Submission: On August 29 via api from DE — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

var Microsoft;!function(){"use strict";var t,e,n,o,i={68725:function(t,e,n){n.d(e,{h:function(){return s}});var o=n(66411),i=n(38217),r=n(80364),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.value=null,e.hasNext=!1,e.hasCompleted=!1,e}return o.C6(e,t),e.prototype.U=function(e){return this.hasError?(e.error(this.thrownError),r.y.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),r.y.EMPTY):t.prototype.U.call(this,e)},e.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},e.prototype.error=function(e){this.hasCompleted||t.prototype.error.call(this,e)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},e}(i.B7)},7443:function(t,e,n){n.d(e,{t:function(){return s}});var o=n(66411),i=n(38217),r=n(90256),s=function(t){function e(e){var n=t.call(this)||this;return n.N=e,n}return o.C6(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype.U=function(e){var n=t.prototype.U.call(this,e);return n&&!n.closed&&e.next(this.N),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.P;return this.N},e.prototype.next=function(e){t.prototype.next.call(this,this.N=e)},e}(i.B7)},27088:function(t,e,n){n.d(e,{c:function(){return c}});var o=n(69286),i=n(73975),r=n(16781),s=n(23196),a=n(5867),c=function(){function t(t){this.B=!1,t&&(this.U=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var o=this.operator,r=(0,i.u)(t,e,n);if(o?r.add(o.call(r,this.source)):r.add(this.source||a.$.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this.U(r):this._(r)),a.$.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r},t.prototype._=function(t){try{return this.U(t)}catch(e){a.$.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),(0,o.H)(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=u(e))((function(e,o){var i;i=n.subscribe((function(e){try{t(e)}catch(t){o(t),i&&i.unsubscribe()}}),o,e)}))},t.prototype.U=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[r.s]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:(0,s.m)(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=u(t))((function(t,n){var o;e.subscribe((function(t){return o=t}),(function(t){return n(t)}),(function(){return t(o)}))}))},t.create=function(e){return new t(e)},t}();function u(t){if(t||(t=a.$.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},18483:function(t,e,n){n.d(e,{I:function(){return r}});var o=n(5867),i=n(60552),r={closed:!0,next:function(t){},error:function(t){if(o.$.useDeprecatedSynchronousErrorHandling)throw t;(0,i.T)(t)},complete:function(){}}},38217:function(t,e,n){n.d(e,{B7:function(){return l}});var o=n(66411),i=n(27088),r=n(47715),s=n(80364),a=n(90256),c=n(82648),u=n(28136),f=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return o.C6(e,t),e}(r.v),l=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return o.C6(e,t),e.prototype[u.D]=function(){return new f(this)},e.prototype.lift=function(t){var e=new d(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.P;if(!this.isStopped)for(var e=this.observers,n=e.length,o=e.slice(),i=0;i<n;i++)o[i].next(t)},e.prototype.error=function(t){if(this.closed)throw new a.P;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,o=e.slice(),i=0;i<n;i++)o[i].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new a.P;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),o=0;o<e;o++)n[o].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._=function(e){if(this.closed)throw new a.P;return t.prototype._.call(this,e)},e.prototype.U=function(t){if(this.closed)throw new a.P;return this.hasError?(t.error(this.thrownError),s.y.EMPTY):this.isStopped?(t.complete(),s.y.EMPTY):(this.observers.push(t),new c.Y(this,t))},e.prototype.asObservable=function(){var t=new i.c;return t.source=this,t},e.create=function(t,e){return new d(t,e)},e}(i.c),d=function(t){function e(e,n){var o=t.call(this)||this;return o.destination=e,o.source=n,o}return o.C6(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype.U=function(t){return this.source?this.source.subscribe(t):s.y.EMPTY},e}(l)},82648:function(t,e,n){n.d(e,{Y:function(){return i}});var o=n(66411),i=function(t){function e(e,n){var o=t.call(this)||this;return o.subject=e,o.subscriber=n,o.closed=!1,o}return o.C6(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(n(80364).y)},47715:function(t,e,n){n.d(e,{v:function(){return f}});var o=n(66411),i=n(22220),r=n(18483),s=n(80364),a=n(28136),c=n(5867),u=n(60552),f=function(t){function e(n,o,i){var s=t.call(this)||this;switch(s.syncErrorValue=null,s.syncErrorThrown=!1,s.syncErrorThrowable=!1,s.isStopped=!1,arguments.length){case 0:s.destination=r.I;break;case 1:if(!n){s.destination=r.I;break}if("object"==typeof n){n instanceof e?(s.syncErrorThrowable=n.syncErrorThrowable,s.destination=n,n.add(s)):(s.syncErrorThrowable=!0,s.destination=new l(s,n));break}default:s.syncErrorThrowable=!0,s.destination=new l(s,n,o,i)}return s}return o.C6(e,t),e.prototype[a.D]=function(){return this},e.create=function(t,n,o){var i=new e(t,n,o);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this.tt(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this.et(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this.nt())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype.tt=function(t){this.destination.next(t)},e.prototype.et=function(t){this.destination.error(t),this.unsubscribe()},e.prototype.nt=function(){this.destination.complete(),this.unsubscribe()},e.prototype.ot=function(){var t=this.it;return this.it=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this.it=t,this},e}(s.y),l=function(t){function e(e,n,o,s){var a,c=t.call(this)||this;c.rt=e;var u=c;return(0,i.T)(n)?a=n:n&&(a=n.next,o=n.error,s=n.complete,n!==r.I&&(u=Object.create(n),(0,i.T)(u.unsubscribe)&&c.add(u.unsubscribe.bind(u)),u.unsubscribe=c.unsubscribe.bind(c))),c.st=u,c.tt=a,c.et=o,c.nt=s,c}return o.C6(e,t),e.prototype.next=function(t){if(!this.isStopped&&this.tt){var e=this.rt;c.$.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this.tt,t)&&this.unsubscribe():this.__tryOrUnsub(this.tt,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this.rt,n=c.$.useDeprecatedSynchronousErrorHandling;if(this.et)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this.et,t),this.unsubscribe()):(this.__tryOrUnsub(this.et,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):(0,u.T)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;(0,u.T)(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this.rt;if(this.nt){var n=function(){return t.nt.call(t.st)};c.$.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this.st,e)}catch(t){if(this.unsubscribe(),c.$.useDeprecatedSynchronousErrorHandling)throw t;(0,u.T)(t)}},e.prototype.__tryOrSetError=function(t,e,n){if(!c.$.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this.st,n)}catch(e){return c.$.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=e,t.syncErrorThrown=!0,!0):((0,u.T)(e),!0)}return!1},e.prototype.ct=function(){var t=this.rt;this.st=null,this.rt=null,t.unsubscribe()},e}(f)},80364:function(t,e,n){n.d(e,{y:function(){return a}});var o=n(3803),i=n(73403),r=n(22220),s=n(40658),a=function(){function t(t){this.closed=!1,this.it=null,this.ut=null,t&&(this.ft=!0,this.ct=t)}var e;return t.prototype.unsubscribe=function(){var e;if(!this.closed){var n=this,a=n.it,u=n.ft,f=n.ct,l=n.ut;if(this.closed=!0,this.it=null,this.ut=null,a instanceof t)a.remove(this);else if(null!==a)for(var d=0;d<a.length;++d)a[d].remove(this);if((0,r.T)(f)){u&&(this.ct=void 0);try{f.call(this)}catch(t){e=t instanceof s.Z?c(t.errors):[t]}}if((0,o.c)(l)){d=-1;for(var h=l.length;++d<h;){var p=l[d];if((0,i.G)(p))try{p.unsubscribe()}catch(t){e=e||[],t instanceof s.Z?e=e.concat(c(t.errors)):e.push(t)}}}if(e)throw new s.Z(e)}},t.prototype.add=function(e){var n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var o=n;(n=new t).ut=[o]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var i=n.it;if(null===i)n.it=this;else if(i instanceof t){if(i===this)return n;n.it=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}var r=this.ut;return null===r?this.ut=[n]:r.push(n),n},t.prototype.remove=function(t){var e=this.ut;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.EMPTY=((e=new t).closed=!0,e),t}();function c(t){return t.reduce((function(t,e){return t.concat(e instanceof s.Z?e.errors:e)}),[])}},5867:function(t,e,n){n.d(e,{$:function(){return i}});var o=!1,i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){t&&(new Error).stack,o=t},get useDeprecatedSynchronousErrorHandling(){return o}}},36457:function(t,e,n){n.d(e,{gn:function(){return c},tS:function(){return u},zA:function(){return a}});var o=n(66411),i=n(47715),r=n(27088),s=n(14755),a=function(t){function e(e){var n=t.call(this)||this;return n.parent=e,n}return o.C6(e,t),e.prototype.tt=function(t){this.parent.notifyNext(t)},e.prototype.et=function(t){this.parent.notifyError(t),this.unsubscribe()},e.prototype.nt=function(){this.parent.notifyComplete(),this.unsubscribe()},e}(i.v),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o.C6(e,t),e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.destination.complete()},e}(i.v);function u(t,e){if(!e.closed){if(t instanceof r.c)return t.subscribe(e);var n;try{n=(0,s.i)(t)(e)}catch(t){e.error(t)}return n}}},68606:function(t,e,n){n.d(e,{I:function(){return r}});var o=n(27088),i=new o.c((function(t){return t.complete()}));function r(t){return t?function(t){return new o.c((function(e){return t.schedule((function(){return e.complete()}))}))}(t):i}},95651:function(t,e,n){n.d(e,{H:function(){return s}});var o=n(27088),i=n(14755),r=n(69642);function s(t,e){return e?(0,r.c)(t,e):t instanceof o.c?t:new o.c((0,i.i)(t))}},76043:function(t,e,n){n.d(e,{R:function(){return a}});var o=n(27088),i=n(3803),r=n(22220),s=n(63821);function a(t,e,n,u){return(0,r.T)(n)&&(u=n,n=void 0),u?a(t,e,n).pipe((0,s.T)((function(t){return(0,i.c)(t)?u.apply(void 0,t):u(t)}))):new o.c((function(o){c(t,e,(function(t){arguments.length>1?o.next(Array.prototype.slice.call(arguments)):o.next(t)}),o,n)}))}function c(t,e,n,o,i){var r;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){var s=t;t.addEventListener(e,n,i),r=function(){return s.removeEventListener(e,n,i)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){var a=t;t.on(e,n),r=function(){return a.off(e,n)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){var u=t;t.addListener(e,n),r=function(){return u.removeListener(e,n)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var f=0,l=t.length;f<l;f++)c(t[f],e,n,o,i)}o.add(r)}},98365:function(t,e,n){n.d(e,{$:function(){return i}});var o=n(27088);function i(t,e){return e?new o.c((function(n){return e.schedule(r,0,{error:t,subscriber:n})})):new o.c((function(e){return e.error(t)}))}function r(t){var e=t.error;t.subscriber.error(e)}},20501:function(t,e,n){n.d(e,{H:function(){return i}});var o=n(58897);function i(t,e){return(0,o.ZZ)(t,e,1)}},85441:function(t,e,n){n.d(e,{p:function(){return r}});var o=n(66411),i=n(47715);function r(t,e){return function(n){return n.lift(new s(t,e))}}var s=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.thisArg))},t}(),a=function(t){function e(e,n,o){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=o,i.count=0,i}return o.C6(e,t),e.prototype.tt=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(i.v)},63821:function(t,e,n){n.d(e,{T:function(){return r}});var o=n(66411),i=n(47715);function r(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new s(t,e))}}var s=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.thisArg))},t}(),a=function(t){function e(e,n,o){var i=t.call(this,e)||this;return i.project=n,i.count=0,i.thisArg=o||i,i}return o.C6(e,t),e.prototype.tt=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.v)},58897:function(t,e,n){n.d(e,{ZZ:function(){return a}});var o=n(66411),i=n(63821),r=n(95651),s=n(36457);function a(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(o){return o.pipe(a((function(n,o){return(0,r.H)(t(n,o)).pipe((0,i.T)((function(t,i){return e(n,t,o,i)})))}),n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new c(t,n))})}var c=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project,this.concurrent))},t}(),u=function(t){function e(e,n,o){void 0===o&&(o=Number.POSITIVE_INFINITY);var i=t.call(this,e)||this;return i.project=n,i.concurrent=o,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return o.C6(e,t),e.prototype.tt=function(t){this.active<this.concurrent?this.dt(t):this.buffer.push(t)},e.prototype.dt=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this.active++,this.ht(e)},e.prototype.ht=function(t){var e=new s.zA(this),n=this.destination;n.add(e);var o=(0,s.tS)(t,e);o!==e&&n.add(o)},e.prototype.nt=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t){this.destination.next(t)},e.prototype.notifyComplete=function(){var t=this.buffer;this.active--,t.length>0?this.tt(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(s.gn)},4404:function(t,e,n){n.d(e,{s:function(){return a}});var o=n(66411),i=n(47715),r=n(99707),s=n(68606);function a(t){return function(e){return 0===t?(0,s.I)():e.lift(new c(t))}}var c=function(){function t(t){if(this.total=t,this.total<0)throw new r.k}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.total))},t}(),u=function(t){function e(e,n){var o=t.call(this,e)||this;return o.total=n,o.count=0,o}return o.C6(e,t),e.prototype.tt=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(i.v)},18267:function(t,e,n){n.d(e,{V:function(){return r}});var o=n(27088),i=n(80364);function r(t,e){return new o.c((function(n){var o=new i.y,r=0;return o.add(e.schedule((function(){r!==t.length?(n.next(t[r++]),n.closed||o.add(this.schedule())):n.complete()}))),o}))}},84166:function(t,e,n){n.d(e,{S:function(){return s}});var o=n(27088),i=n(80364),r=n(34862);function s(t,e){if(!t)throw new Error("Iterable cannot be null");return new o.c((function(n){var o,s=new i.y;return s.add((function(){o&&"function"==typeof o.return&&o.return()})),s.add(e.schedule((function(){o=t[r.lJ](),s.add(e.schedule((function(){if(!n.closed){var t,e;try{var i=o.next();t=i.value,e=i.done}catch(t){return void n.error(t)}e?n.complete():(n.next(t),this.schedule())}})))}))),s}))}},4517:function(t,e,n){n.d(e,{x:function(){return s}});var o=n(27088),i=n(80364),r=n(16781);function s(t,e){return new o.c((function(n){var o=new i.y;return o.add(e.schedule((function(){var i=t[r.s]();o.add(i.subscribe({next:function(t){o.add(e.schedule((function(){return n.next(t)})))},error:function(t){o.add(e.schedule((function(){return n.error(t)})))},complete:function(){o.add(e.schedule((function(){return n.complete()})))}}))}))),o}))}},88275:function(t,e,n){n.d(e,{P:function(){return r}});var o=n(27088),i=n(80364);function r(t,e){return new o.c((function(n){var o=new i.y;return o.add(e.schedule((function(){return t.then((function(t){o.add(e.schedule((function(){n.next(t),o.add(e.schedule((function(){return n.complete()})))})))}),(function(t){o.add(e.schedule((function(){return n.error(t)})))}))}))),o}))}},69642:function(t,e,n){n.d(e,{c:function(){return l}});var o=n(4517),i=n(88275),r=n(18267),s=n(84166),a=n(39730),c=n(2099),u=n(23268),f=n(31206);function l(t,e){if(null!=t){if((0,a.l)(t))return(0,o.x)(t,e);if((0,c.y)(t))return(0,i.P)(t,e);if((0,u.X)(t))return(0,r.V)(t,e);if((0,f.x)(t)||"string"==typeof t)return(0,s.S)(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}},34862:function(t,e,n){function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,{lJ:function(){return i}});var i=o()},16781:function(t,e,n){n.d(e,{s:function(){return o}});var o=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}()},28136:function(t,e,n){n.d(e,{D:function(){return o}});var o=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}()},99707:function(t,e,n){n.d(e,{k:function(){return o}});var o=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}()},90256:function(t,e,n){n.d(e,{P:function(){return o}});var o=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},40658:function(t,e,n){n.d(e,{Z:function(){return o}});var o=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n  "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}()},69286:function(t,e,n){n.d(e,{H:function(){return i}});var o=n(47715);function i(t){for(;t;){var e=t,n=e.closed,i=e.destination,r=e.isStopped;if(n||r)return!1;t=i&&i instanceof o.v?i:null}return!0}},60552:function(t,e,n){function o(t){setTimeout((function(){throw t}),0)}n.d(e,{T:function(){return o}})},25422:function(t,e,n){function o(t){return t}n.d(e,{D:function(){return o}})},3803:function(t,e,n){n.d(e,{c:function(){return o}});var o=function(){return Array.isArray||function(t){return t&&"number"==typeof t.length}}()},23268:function(t,e,n){n.d(e,{X:function(){return o}});var o=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},22220:function(t,e,n){function o(t){return"function"==typeof t}n.d(e,{T:function(){return o}})},39730:function(t,e,n){n.d(e,{l:function(){return i}});var o=n(16781);function i(t){return t&&"function"==typeof t[o.s]}},31206:function(t,e,n){n.d(e,{x:function(){return i}});var o=n(34862);function i(t){return t&&"function"==typeof t[o.lJ]}},73403:function(t,e,n){function o(t){return null!==t&&"object"==typeof t}n.d(e,{G:function(){return o}})},2099:function(t,e,n){function o(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,{y:function(){return o}})},23196:function(t,e,n){n.d(e,{m:function(){return i}});var o=n(25422);function i(t){return 0===t.length?o.D:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}},14755:function(t,e,n){n.d(e,{i:function(){return d}});var o=n(72306),i=n(37174),r=n(66345),s=n(72302),a=n(23268),c=n(2099),u=n(73403),f=n(34862),l=n(16781),d=function(t){if(t&&"function"==typeof t[l.s])return(0,s.X)(t);if((0,a.X)(t))return(0,o.v)(t);if((0,c.y)(t))return(0,i.F)(t);if(t&&"function"==typeof t[f.lJ])return(0,r.S)(t);var e=(0,u.G)(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+e+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},72306:function(t,e,n){n.d(e,{v:function(){return o}});var o=function(t){return function(e){for(var n=0,o=t.length;n<o&&!e.closed;n++)e.next(t[n]);e.complete()}}},66345:function(t,e,n){n.d(e,{S:function(){return i}});var o=n(34862),i=function(t){return function(e){for(var n=t[o.lJ]();;){var i=void 0;try{i=n.next()}catch(t){return e.error(t),e}if(i.done){e.complete();break}if(e.next(i.value),e.closed)break}return"function"==typeof n.return&&e.add((function(){n.return&&n.return()})),e}}},72302:function(t,e,n){n.d(e,{X:function(){return i}});var o=n(16781),i=function(t){return function(e){var n=t[o.s]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}}},37174:function(t,e,n){n.d(e,{F:function(){return i}});var o=n(60552),i=function(t){return function(e){return t.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,o.T),e}}},73975:function(t,e,n){n.d(e,{u:function(){return s}});var o=n(47715),i=n(28136),r=n(18483);function s(t,e,n){if(t){if(t instanceof o.v)return t;if(t[i.D])return t[i.D]()}return t||e||n?new o.v(t,e,n):new o.v(r.I)}},66411:function(t,e,n){n.d(e,{C6:function(){return i}});var o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},o(t,e)};function i(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}},24651:function(t,e,n){n.d(e,{f:function(){return i}});class o{get isCancelled(){return this.wt}get timeoutInMs(){return this.gt}get reason(){return this.bt}cancel(){this.St(!1)}subscribe(t){this.wt?t():this.vt.push(t)}constructor(t){this.wt=!1,this.bt="",this.vt=[],this.St=t=>{this.wt||(this.wt=!0,this.bt=t?"timeout":"cancelled",this.vt.map((t=>t())),this.vt=[])},this.gt=t,window.setTimeout((()=>this.St(!0)),t)}}function i(t){return new o(t)}},78400:function(t,e,n){var o;n.d(e,{Y:function(){return o}}),function(t){t.blurFocus="blurFocus",t.boot="boot",t.completeCreateNew="completeCreateNew",t.continueAccessibilityLoop="continueAccessibilityLoop",t.createNew="createNew",t.dispose="dispose",t.grabFocus="grabFocus",t.moveToFolder="moveToFolder",t.popState="popState",t.sendChannelId="sendChannelId",t.sendConvId="sendConvId",t.teamsUsersReply="teamsUsersReply",t.teamsUserMentionReply="teamsUserMentionReply",t.backButtonPressed="backButtonPressed",t.getClientUrl="getClientUrl",t.getWebUrl="getWebUrl",t.rename="rename",t.completeSharedFilePicker="completeSharedFilePicker",t.sendAccessToken="sendAccessToken",t.sendAuthToken="sendAuthToken",t.sendCustomAuthConfig="sendCustomAuthConfig",t.sendEmbeddedViewUrl="sendEmbeddedViewUrl",t.sendFrameTrustResult="sendFrameTrustResult",t.sendHWRTelemetry="sendHWRTelemetry",t.sendSessionInfo="sendSessionInfo",t.sendUserAccessAndPermissions="sendUserAccessAndPermissions",t.sendWopiInfo="sendWopiInfo",t.sendDavUrl="sendDavUrl",t.switchMode="switchMode",t.signalShared="signalShared",t.postWacToken="postWacToken"}(o||(o={}))},99028:function(t,e,n){var o;n.d(e,{V:function(){return o}}),function(t){t.AccessibilityLoopCompleted="AccessibilityLoopCompleted",t.ActionCompleted="ActionCompleted",t.BrowserEvent="BrowserEvent",t.CAAEMessage="CAAEMessage",t.Close="Close",t.InitEnd="InitEnd",t.Conversation="Conversation",t.CopyAndEdit="CopyAndEdit",t.CreateNewDocument="CreateNewDocument",t.Download="Download",t.Edit="Edit",t.Error="Error",t.FileEmbed="FileEmbed",t.FileProperties="FileProperties",t.FileRenamed="FileRenamed",t.FileVersions="FileVersions",t.FrameStateChanged="FrameStateChanged",t.FrameTrust="FrameTrust",t.GetAccessToken="GetAccessToken",t.GetAuthToken="GetAuthToken",t.GetCustomAuthConfig="GetCustomAuthConfig",t.GetWopiInfoFromUrl="GetWopiInfoFromUrl",t.GetDavUrlFromIds="GetDavUrlFromIds",t.ModeSwitched="ModeSwitched",t.MoveToFolder="MoveToFolder",t.OpenInMobileApp="OpenInMobileApp",t.OpenInBrowser="OpenInBrowser",t.OpenInClient="OpenInClient",t.PageChanged="PageChanged",t.PushState="PushState",t.Reboot="Reboot",t.RedeemForCommenting="RedeemForCommenting",t.RefreshSessionInfo="RefreshSessionInfo",t.ReplyWithChanges="ReplyWithChanges",t.ReportAbuse="ReportAbuse",t.SharedFilePicker="SharedFilePicker",t.SaveStatus="SaveStatus",t.Share="Share",t.ShareForm="ShareForm",t.SignIn="SignIn",t.SplashScreenShown="SplashScreenShown",t.UserAccessAndPermissions="UserAccessAndPermissions",t.UserActivity="UserActivity",t.UserEditActivity="UserEditActivity",t.Workflow="Workflow",t.ZoomChanged="ZoomChanged",t.AcquireOAuthTokenTeams="AcquireOAuthTokenTeams",t.LoadingStatus="LoadingStatus",t.SwitchNotebook="SwitchNotebook",t.FailedBootCheckFileInfo="FailedBootCheckFileInfo",t.GetTeamsUsers="GetTeamsUsers",t.SendTeamsUserMention="SendTeamsUserMention",t.NavigateBackToHost="NavigateBackToHost",t.GetClientUrlComplete="GetClientUrlComplete",t.GetWebUrlComplete="GetWebUrlComplete",t.CopyLinkComplete="CopyLinkComplete",t.SendConversationId="SendConversationId",t.CloseTeamsConversation="CloseTeamsConversation",t.PageLoaded="PageLoaded",t.FrameChanged="FrameChanged",t.PrintRedirect="PrintRedirect"}(o||(o={}))},52256:function(t,e,n){n.d(e,{Jf:function(){return f}});var o=n(95346),i=n(97643),r=n(16870),s=n(88557),a=n(48381),c=n(22475);const u=6e4;function f(t){const e=new r.x(t);function n(t,n,i,r){const a=(0,c.Wv)();if((0,s.D)(t))return;const u={timestamp:(0,c.u_)(),category:n,tag:t,level:i,type:o.F.Trace,message:r,correlationId:""};e.addLoggingTime((0,c.Wv)()-a),e.handleTrace(u)}return{ULS:{sendTraceTag:(t,e,o,i)=>{n(t,e,o,i)},shipAssertTag:(t,e,o,r)=>{o&&n(t,e,i.k.Error,r)},debugAssertTag:(t,e,n,o)=>{throw new Error("Debug Asserts not Implemented in the TypeScript bULS module")},flush:e.flush,flushOnClose:e.flushOnClose,setCorrelationId:()=>{}},configure:t=>{e.configure(t)},settingsChangeHandler:t=>{(0,s.S)(t.Ht.getValue(a.b.It,""),t.Ht.getValue(a.b.Ct,"")),e.configure({uploadCadenceInMs:t.Ht.getValue(a.b.At,u)});const n=t.Ht.getValue(a.b.Ut,"").toString();""!==n&&e.flushAndSetNewEndpoint(n)},getTimeSpentLogging:()=>e.getTimeSpentLogging(),getUserSessionId:()=>e.getUserSessionId(),flushAndSetNewEndpoint:(t,n)=>{e.flushAndSetNewEndpoint(t,n)},updateEndpointAndFlush:t=>{e.updateEndpointAndFlush(t)}}}},16870:function(t,e,n){n.d(e,{x:function(){return c}});var o=n(9838),i=n(20168),r=n(97643),s=n(22475),a=n(60147);class c{getTimeSpentLogging(){return this.yt}addLoggingTime(t){this.yt+=t}configure(t){const e=(0,s.Wv)();if(t.uploadCadenceInMs&&(this.Pt=t.uploadCadenceInMs),t.uploadTriggerSize&&(this.Tt=t.uploadTriggerSize),t.sessionId&&(this.Et=t.sessionId),t.remoteUlsEndpoint){if(!t.sessionId&&this.kt)throw new Error("Remote ULS endpoint is already set");this.kt=this.Nt(t.remoteUlsEndpoint),this.Ft=(0,s.u_)(),this.Wt()}this.yt+=(0,s.Wv)()-e}handleTrace(t){const e=(0,s.Wv)();t.message.length>3072&&(t.message=t.message.substring(0,3059)+"... [Trimmed]"),this.Dt.push(t),(this.Dt.length>this.Tt||t.level===r.k.Error)&&this.Wt(),this.yt+=(0,s.Wv)()-e}getUserSessionId(){return this.Et}constructor(t){this.Pt=3e4,this.Tt=30,this.Ot=0,this.Dt=[],this.Ft=(0,s.u_)(),this.jt=[],this.Et="",this.yt=0,this.flushOnClose=()=>{this.Bt(!1,!1)},this.flush=()=>{this.Wt()},this.flushAndSetNewEndpoint=(t,e)=>{const n=this.Nt(t);n.localeCompare(this.kt??"",void 0,{sensitivity:"accent"})&&(this.jt.push((()=>{this.kt=n,e&&e()})),this.Bt(!0,!0))},this.updateEndpointAndFlush=t=>{this.kt=this.Nt(t),this.Bt(!0,!0)},this.Nt=t=>t+"?usid="+this.Et+"&officeserverversion="+(0,a.qS)(),this.Wt=()=>{window.setTimeout((()=>this.Bt(!0,!0)),0)},this.Bt=(t,e)=>{const n=(0,s.Wv)();if(window.clearTimeout(this._t),this.kt){if(this.Dt.length>0){this.Ot+=1;const n=this.Dt.splice(0,t?this.Tt:this.Dt.length),r=(0,o.I)(n,this.Et,this.Ot,this.Ft);(0,i.X)(r,this.kt,e),this.Ft=(0,s.u_)()}0===this.Dt.length&&this.jt.length>0&&(this.jt.forEach((t=>{"requestIdleCallback"in window?window.requestIdleCallback(t):window.setTimeout(t,0)})),this.jt=[]),t&&(this._t=window.setTimeout((()=>{this.Wt()}),this.Dt.length>this.Tt||this.jt.length>0?1e3:this.Pt)),this.yt+=(0,s.Wv)()-n}},t&&this.configure(t)}}},88557:function(t,e,n){n.d(e,{D:function(){return r},S:function(){return s}});let o,i=[];function r(t){return 1===i[t]}function s(t,e){o&&e===o||(i=[],o=e,t&&t.split(",").forEach((t=>{const e=parseInt(t,10);e&&(i[e]=1)})))}},48381:function(t,e,n){var o;n.d(e,{b:function(){return o}}),function(t){t.xt="BootstrapperMaxUlsHeartbeatTime",t.Lt="BootstrapperNoCompleteWarning1Time",t.Kt="BootstrapperNoCompleteWarning2Time",t.Ct="RemoteUlsETag",t.It="RemoteUlsSuppressions",t.$t="BootstrapperSettingsFetchPeriod",t.Vt="timestamp",t.qt="BootstrapperUlsHeartbeatIntervalMs",t.Gt="BootstrapperUlsHeartBeatIsEnabled",t.At="BootstrapperUlsUploadCadenceMs",t.Jt="WordConsumptionViewToEditRedirectIsEnabled",t.zt="RequestedCallThrottlingDefaultToViewMinimumValue",t.Ut="BulsEndpointUrl",t.Zt="EnableCommonHostDiagnosticsParams",t.Qt="EnableICNForWord",t.Xt="EnableModernEmbedViewForPowerPoint",t.Yt="EnableModernEmbedViewInOneUpForPowerPoint",t.te="EnableModernEmbedViewForPowerPointGlobalAppUrl",t.ee="EnableModernReadingViewForPowerPoint",t.ne="EnableDefaultToModernForPowerPoint",t.oe="ShouldLogJsApiKpisForWord",t.ie="WordSwitchToViewInTeamsJsapiV1Enabled",t.re="EnableWordSessionRefreshTelemetry",t.se="PowerPointUseEssDCHint",t.ae="ModernEmbedViewBootstrapperFeatureGatesForPowerPoint",t.ce="ModernReadingViewBootstrapperFeatureGatesForPowerPoint",t.ue="ModernEmbedViewForPowerPointEnabledPercentage",t.fe="PowerPointESSCookieLookbackThresholdHour",t.le="PowerPointSetESSCookieLookbackExpEnabled",t.de="ExcelForceViewOnlyInTeamsJsapiV1",t.he="EnableWordSessionRefreshLoggingCleanup",t.pe="WordRefreshTelemetryExpirationInDays"}(o||(o={}))},60147:function(t,e,n){n.d(e,{qS:function(){return i}});const o={BUILD_NUMBER:"###VERSION###",BUILD_NUMBER_MINOR:-1};function i(){try{return o.BUILD_NUMBER}catch(t){return o.BUILD_NUMBER}}},30200:function(t,e,n){n.d(e,{O:function(){return i}});var o=n(40560);function i(){const t=new Uint8Array(31),e=function(t){const e={crypto:!1,perfNow:!1,exceptions:[]},n=window.crypto||window.msCrypto;if(n){e.crypto=!0;try{return n.getRandomValues(t),e}catch(t){e.exceptions.push(`crypto: ${(0,o.M5)(t)}`)}}e.perfNow=!0;for(let n=0;n<t.length;n+=1){try{let t=Math.floor(100*window.performance.now())%10;(t<0||t>9)&&(t=0);for(let e=0;e<t;e+=1)Math.random()}catch(t){e.exceptions.push(`Math.random: ${(0,o.M5)(t)}`)}t[n]=Math.floor(16*Math.random())}return e}(t);let n=0;return["xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const o=15&t[n];return n+=1,("x"===e?o:3&o|8).toString(16)})),e]}},22475:function(t,e,n){function o(){return window.performance.now()}function i(){return Math.round(window.performance.now()+window.performance.timeOrigin)}function r(t){Array.isArray(t)?t.forEach((t=>{window.performance.mark(t)})):window.performance.mark(t)}n.d(e,{Wv:function(){return o},l8:function(){return r},u_:function(){return i}})},40560:function(t,e,n){function o(t){if(!t)return"";const e=Object.getOwnPropertyNames(t),n=Object.getOwnPropertyNames(Object.getPrototypeOf(t));return JSON.stringify(t,[...e,...n])}n.d(e,{M5:function(){return o}})},24784:function(t,e,n){function o(t){const e=t.match(/^https:\/\/((?!word)\w+)(-\w+)+\..*$/i);return e&&e[1]?e[1]:"public"}n.d(e,{dH:function(){return o}})},91058:function(t,e,n){n.d(e,{z:function(){return r}});var o=n(71472),i=n(43200);class r{logKpiUsage(t,e,n,o){const s=this.getKpiKey(t+r.USAGE_KPI,n?.extendedProperties);if(this.kpiUsageEventBlocker.isEventBlocked(s))return!1;if(this.ensureFeatureDenominatorLoggedAndVetoPillarRegistered(n),this.recordKpiUsage(t,e,n,s),0!==o){const t=o??5*i.NF;this.kpiUsageEventBlocker.blockEvent(s,t)}return!0}logKpiFailure(t,e,n,o,s){const a=this.getKpiKey(t+r.FAILURE_KPI+e,n?.additionalValues?.extendedProperties);if("number"==typeof n?.additionalValues?.durationMs&&this.kpiFailureEventBlocker.aggregateEventDuration(a,n.additionalValues.durationMs),this.kpiFailureEventBlocker.isEventBlocked(a))return!1;if(this.ensureFeatureDenominatorLoggedAndVetoPillarRegistered(),this.recordKpiFailure(t,e,n,a),o&&this.recordQosError(o.errorNameOverride??e,o.name,o),0!==s){const t=s??5*i.NF;this.kpiFailureEventBlocker.blockEvent(a,t)}return!0}logKpiSuccess(t,e,n){const o=this.getKpiKey(t+r.SUCCESS_KPI,e?.additionalValues?.extendedProperties);if("number"==typeof e?.additionalValues?.durationMs&&this.kpiSuccessEventBlocker.aggregateEventDuration(o,e.additionalValues.durationMs),this.kpiSuccessEventBlocker.isEventBlocked(o))return!1;if(this.ensureFeatureDenominatorLoggedAndVetoPillarRegistered(),this.recordKpiSuccess(t,e,o),0!==n){const t=n??5*i.NF;this.kpiSuccessEventBlocker.blockEvent(o,t)}return!0}ensureFeatureDenominatorLoggedAndVetoPillarRegistered(t){const e=this.featureConfig.topLevelKpiName,n=this.getKpiKey(this.featureConfig.topLevelKpiName,t?.extendedProperties);if(this.kpiUsageEventBlocker.isEventBlocked(n??""))return;this.recordKpiUsage(e,o.v.FailureBased,t);const s=this.featureConfig.vetoPillar??this.featureConfig.areaName;s&&r.QOS_PILLARS_LIST.includes(s)&&this.healthLogger.addQosPillar(s),this.kpiUsageEventBlocker.blockEvent(n??"",i.x8)}recordKpiUsage(t,e,n={},o){const{extendedProperties:i,isForAlertableKpi:r}=n||{},s=this.createExtendedPropertiesWithMoreFields(i,o);r?this.healthLogger.recordKpiUsageForAlertableKpi(t,this.featureConfig.crewAlias,s):this.healthLogger.recordKpiUsage(t,e,this.featureConfig.crewAlias,s)}getKpiKey(t,e){const n=this.getKpiAreaName(e),o=this.getKpiFeatureName(e),i=this.getKpiPivot(e);return`${n}.${o}.${t??""}${i&&0===i.length?"."+i:""}`}getKpiAreaName(t){return t?.get(r.AREA_NAME_COLUMN_KEY)??this.featureConfig.areaName??this.featureConfig.vetoPillar??""}getKpiFeatureName(t){return t?.get(r.FEATURE_NAME_COLUMN_KEY)??this.featureConfig.featureName??""}getKpiPivot(t){const e=t?.get(r.PIVOT_TYPE_COLUMN_KEY),n=t?.get(r.PIVOT_VALUE_COLUMN_KEY);return e&&0!==e.length&&n&&0!==n.length?`${e}=${n}`:""}recordKpiFailure(t,e,n={},o){const{isIntentional:i,isInternal:r,additionalValues:s,hasImpliedUsage:a}=n||{},c=this.createAdditionalValuesWithMoreFields(s,o);!1===a?this.healthLogger.recordKpiFailure(t,e,i,r,c):this.healthLogger.recordKpiImpliedFailure(t,e,i,r,this.featureConfig.crewAlias,c)}recordKpiSuccess(t,e={},n){const{additionalValues:o,hasImpliedUsage:i}=e||{},r=this.createAdditionalValuesWithMoreFields(o,n);!1===i?this.healthLogger.recordKpiSuccess(t,r):this.healthLogger.recordKpiImpliedSuccess(t,this.featureConfig.crewAlias,r)}recordQosError(t,e,n={}){const{isIntentional:o,isInternal:i,alertOnPillar:r,isSessionEndingError:s,additionalValues:a}=n,c=this.createAdditionalValuesWithMoreFields(a);this.healthLogger.recordQosError(t,[e],o,i,r,s,c)}createExtendedPropertiesWithMoreFields(t,e){const n=new Map(t||new Map);if(n.get(r.FEATURE_NAME_COLUMN_KEY)||n.set(r.FEATURE_NAME_COLUMN_KEY,this.getKpiFeatureName(t)),n.set(r.AREA_NAME_COLUMN_KEY,this.getKpiAreaName(n)),n.has(r.SKIP_ARIA_COLUMN_KEY)||n.has("skipAria")||n.set(r.SKIP_ARIA_COLUMN_KEY,"true"),!this.featureConfig.doNotEmitAggregatedCount&&e){const t=this.getEventBlocker(e);if(t){const o=t.getEventHitCount(e);if(o){n.set(r.AGGREGATED_COUNT_COLUMN_KEY,o.toString());const i=t.getEventDurations(e);o>1&&i&&n.set(r.AGGREGATED_DURATION_COLUMN_KEY,i.map((t=>Math.round(100*t)/100)).toString())}}}return n}createAdditionalValuesWithMoreFields(t,e){let n={};return n={...t},n.extendedProperties=this.createExtendedPropertiesWithMoreFields(t?.extendedProperties,e),n}getEventBlocker(t){return t.endsWith(r.USAGE_KPI)?this.kpiUsageEventBlocker:t.includes(r.FAILURE_KPI)?this.kpiFailureEventBlocker:t.endsWith(r.SUCCESS_KPI)?this.kpiSuccessEventBlocker:void 0}constructor(t,e,n,o,i){this.healthLogger=t,this.featureConfig=e,this.kpiUsageEventBlocker=n,this.kpiFailureEventBlocker=o,this.kpiSuccessEventBlocker=i}}r.FEATURE_NAME_COLUMN_KEY="FeatureName",r.AREA_NAME_COLUMN_KEY="AreaName",r.AGGREGATED_COUNT_COLUMN_KEY="AggCount",r.AGGREGATED_DURATION_COLUMN_KEY="AggMs",r.SKIP_ARIA_COLUMN_KEY="SkipAria",r.PIVOT_TYPE_COLUMN_KEY="PivotType",r.PIVOT_VALUE_COLUMN_KEY="PivotValue",r.QOS_PILLARS_LIST=["Interruptions","Open","NotebookNavigation","Fidelity","AsyncCollab","Present","ContentConsumption","bSqmCompatibility","Boot"],r.USAGE_KPI=".Usage",r.SUCCESS_KPI=".Success",r.FAILURE_KPI=".Failure."},43200:function(t,e,n){n.d(e,{NF:function(){return i},TF:function(){return o},x8:function(){return r}});class o{isEventBlocked(t){const e=this.blockedEvents.get(t);return!!e&&(Date.now()>=e?(this.unblockEvent(t),!1):(this.aggregateEventCount(t),!0))}blockEvent(t,e){const n=Date.now()+e;this.blockedEvents.set(t,n),this.updateEventHitCount(t,0),this.eventDurations.delete(t),this.eventDurationsTotal.delete(t)}unblockEvent(t){this.blockedEvents.delete(t)}getEventHitCount(t){return this.eventHitCounts.get(t)}updateEventHitCount(t,e){this.eventHitCounts.set(t,e)}aggregateEventCount(t){let e=this.getEventHitCount(t);"number"==typeof e&&this.updateEventHitCount(t,++e)}getEventDurations(t){return this.eventDurations.get(t)}aggregateEventDuration(t,e){const n=(this.getEventHitCount(t)??0)+1,o=this.eventDurationsTotal.get(t),i=this.eventDurations.get(t);if(void 0!==i){const r=[...i];let s;i[0]>e&&(r[0]=e),i[1]<e&&(r[1]=e),void 0!==o&&o.length<10?(o.push(e),s=o.reduce(((t,e)=>t+e),0)/n):(s=i[2]+(e-i[2])/n,this.eventDurationsTotal.delete(t)),r[2]=s,this.eventDurations.set(t,r)}else this.eventDurations.set(t,[e,e,e]),this.eventDurationsTotal.set(t,[e])}constructor(){this.blockedEvents=new Map,this.eventHitCounts=new Map,this.eventDurations=new Map,this.eventDurationsTotal=new Map}}const i=6e4,r=60*i*24},71472:function(t,e,n){n.d(e,{v:function(){return o}});var o,i=n(32643);!function(t){t[t.FailureBased=0]="FailureBased",t[t.SuccessBased=1]="SuccessBased"}(o||(o={})),new i.n},13249:function(t,e,n){n.d(e,{g:function(){return s}});var o=n(71472),i=n(91058),r=n(43200);class s{static getInstance(t,e,n,o,i){return new s(t,e,n,o,i)}logKpiUsage(t){return!(!t||!t.kpiName)&&this.featureUsageAndHealthLogger.logKpiUsage(t.kpiName,t.kpiType??o.v.FailureBased,t.optionalProperties,t.blockFutureEmissionDurationInMs)}logKpiFailure(t){return!!(t&&t.kpiName&&t.errorName)&&this.featureUsageAndHealthLogger.logKpiFailure(t.kpiName,t.errorName,t.optionalProperties,t.optionalVeto,t.blockFutureEmissionDurationInMs)}logKpiSuccess(t){return!(!t||!t.kpiName)&&this.featureUsageAndHealthLogger.logKpiSuccess(t.kpiName,t.optionalProperties,t.blockFutureEmissionDurationInMs)}ensureFeatureDenominatorLoggedAndVetoPillarRegistered(t){this.featureUsageAndHealthLogger.ensureFeatureDenominatorLoggedAndVetoPillarRegistered(t)}constructor(t,e,n,r,a){this.healthLogger=t,this.featureConfig=e,this.kpiUsageEventBlocker=n,this.kpiFailureEventBlocker=r,this.kpiSuccessEventBlocker=a,this.featureUsageAndHealthLogger=new i.z(this.healthLogger,this.featureConfig,this.kpiUsageEventBlocker??s.kpiUsageBlocker,this.kpiSuccessEventBlocker??s.kpiFailureBlocker,this.kpiFailureEventBlocker??s.kpiSuccessBlocker),this.executeCallbackWithLogging=(t,e)=>{const n=t=>"VetoFailureLoggingParams".includes(t);let i,r;e?.kpiUsageLoggingParams?(i="Usage",r=e?.kpiUsageLoggingParams):e?.kpiSuccessLoggingParams?(i="UsageWithSuccess",r=e?.kpiSuccessLoggingParams):e?.kpiFailureLoggingParams?(i="UsageWithFailure",r=e?.kpiFailureLoggingParams):(i="UsageWithVetoFailure",r=e?.vetoFailureLoggingParams);const s=r?.usageName,a=r?.usageKpiType;this.logKpiUsage({kpiName:s,kpiType:a??o.v.FailureBased});try{t?.(),"UsageWithSuccess"===i&&"KpiSuccessLoggingParams".includes(r)&&this.logKpiSuccess({kpiName:s,optionalProperties:r.successOptionalProperties})}catch(t){if("UsageWithFailure"===i&&"KpiFailureLoggingParams".includes(r)||"UsageWithVetoFailure"===i&&n(r)){let t;n(r)&&(t={name:r.vetoName??"",...r.vetoOptionalProperties}),this.logKpiFailure({kpiName:r.usageName,errorName:r.failureErrorName,optionalProperties:r.failureOptionalProperties,optionalVeto:t})}throw t}}}}s.kpiUsageBlocker=new r.TF,s.kpiFailureBlocker=new r.TF,s.kpiSuccessBlocker=new r.TF},63501:function(t,e,n){n.d(e,{Xk:function(){return l}});var o,i,r,s,a,c=n(63925),u=n(52314),f=n(71472);!function(t){t[t.BSqmError=0]="BSqmError",t[t.Kpi=1]="Kpi",t[t.QosError=2]="QosError",t[t.QosPillar=3]="QosPillar",t[t.DiagnosticLog=4]="DiagnosticLog",t[t.OfflineWorkerInit=5]="OfflineWorkerInit",t[t.OfflineWorkerFlush=6]="OfflineWorkerFlush",t[t.OfflineWorkerFailedUpload=7]="OfflineWorkerFailedUpload"}(o||(o={})),function(t){t.HealthDimensions="d",t.PartCDimensions="a",t.BSqmErrors="b",t.QosErrors="e",t.Heartbeat="h",t.QosPillars="q",t.Kpis="k",t.DiagnosticLogs="l",t.ClientSendTime="t"}(i||(i={})),function(t){t[t.AttemptToUseFunctionalityBeforeIitialization=0]="AttemptToUseFunctionalityBeforeIitialization",t[t.WorkerApiIsNotAvailable=1]="WorkerApiIsNotAvailable",t[t.InvalidWorkerUrl=2]="InvalidWorkerUrl",t[t.InstallingOfflineWorker=3]="InstallingOfflineWorker",t[t.OfflineWorkerMessage=4]="OfflineWorkerMessage",t[t.FailedToProcessMessageFromOfflineWorker=5]="FailedToProcessMessageFromOfflineWorker",t[t.FailedToInstallOfflineWorker=6]="FailedToInstallOfflineWorker",t[t.InitializedHealth=7]="InitializedHealth",t[t.BatchesOfHealthEventsInIndexedDB=8]="BatchesOfHealthEventsInIndexedDB",t[t.IndexedDbTransactionFailed=9]="IndexedDbTransactionFailed",t[t.InstalledOfflineWorker=10]="InstalledOfflineWorker",t[t.IndexedDdIsNotSupported=11]="IndexedDdIsNotSupported",t[t.GetAllKeysIsNotSupported=12]="GetAllKeysIsNotSupported",t[t.FailedToProcessMessage=13]="FailedToProcessMessage",t[t.FailedToLoadWorkerScript=14]="FailedToLoadWorkerScript",t[t.FailedToSendEventToWorker=15]="FailedToSendEventToWorker",t[t.FailedToJsonStringifyEvent=16]="FailedToJsonStringifyEvent",t[t.IndexedDbEntryIsNotAnObject=17]="IndexedDbEntryIsNotAnObject"}(r||(r={})),function(t){t[t.AttemptedToAddOrUpdatePartCDimension=0]="AttemptedToAddOrUpdatePartCDimension",t[t.AttemptedToRecordBSqmQosError=1]="AttemptedToRecordBSqmQosError",t[t.AttemptedToRecordSessionEndingQosError=2]="AttemptedToRecordSessionEndingQosError",t[t.AttemptedToSetAppOnlineStatus=3]="AttemptedToSetAppOnlineStatus",t[t.AttemptedToUpdatePartADimensions=4]="AttemptedToUpdatePartADimensions"}(s||(s={})),function(t){t[t.SendSucceeded=0]="SendSucceeded",t[t.SendFailed=1]="SendFailed",t[t.DidNotAttempt=2]="DidNotAttempt"}(a||(a={}));class l{static getInstance(t=!1){return l.me&&!t||(l.me=new l),this.me}initialize(t){if(t)try{return this.we=function(t){return{ge:t.dimensions??void 0,be:t.heartbeatIntervalMs??3e5,Se:t.isHealthEnabled??!1,ve:t.isOfflineEnabled??!1,He:t.isErrorPartCEnabled??!1,Ie:t.loggerMaxIntervalMs??3e4,Ce:t.loggerMaxQueueSize??25,Ae:t.offlineWorkerUrl??"",Ue:t.absoluteRemoteTelemetryUrlForOfflineWorker??"",ye:t.recordPillarToWarmPipelineIntervalMs??864e5,Pe:t.remoteTelemetryUrl??"",Te:t.maxConcurrentRetries??3,Ee:t.retryMaxAttempts??3,ke:t.retryDelayMs??15e3,Ne:t.disabledHealthEvents??new Set}}(t),this.Fe(),this.Re(),this.We(),this.De=!0,void this.Oe(r.InitializedHealth)}catch(t){}this.De=!1}addOrUpdatePartCDimension(t,e){this.Me(s.AttemptedToAddOrUpdatePartCDimension)&&t&&(this.je.hasOwnProperty(t)&&this.je[t]===e||(this.Be(!0),this.je[t]=e,this._e+=1,this.xe(),this.Le()))}addOrUpdateErrorPartCDimension(t,e){this.we.He&&t&&(this.Ke[t]=e)}addQosPillar(t){if(t){const e=0===this.Ve.length;-1===this.Ve.indexOf(t)&&(this.Ve.push(t),this.qe(t,!1),this.Ge(e))}}recordBsqmQosError(t,e,n){if(this.Me(s.AttemptedToRecordBSqmQosError)&&(this.Je(!1),this.Le(),t)){const i={b:t,v:e,d:n?.durationMs,p:(0,u.v6)(n?.extendedProperties),s:this.Ve,i:n?.inStaging};this.ze(o.BSqmError,i,t),this.shutdown(!0)}}recordKpiFailure(t,e,n,o,i){this.Ze(t,!0,c.z.Failure,i,e,o,n)}recordKpiImpliedFailure(t,e,n,o,i,r){this.Ze(t,!1,c.z.ImpliedUsageFailure,r,e,o,n,f.v.FailureBased,!1,i)}recordKpiImpliedSuccess(t,e,n){this.Ze(t,!1,c.z.ImpliedUsageSuccess,n,void 0,void 0,void 0,f.v.FailureBased,!1,e)}recordKpiSuccess(t,e){this.Ze(t,!0,c.z.Success,e)}recordKpiUsage(t,e,n,o){this.Ze(t,!1,c.z.Usage,{extendedProperties:o},void 0,void 0,void 0,e,!1,n)}recordKpiUsageForAlertableKpi(t,e,n){if(!t)return;let o=!0;const i=this.Qe[t];i&&(o=i.t===f.v.FailureBased),this.Ze(t,!1,c.z.Usage,{extendedProperties:n},void 0,void 0,void 0,f.v.FailureBased,!0,e),o&&this.Xe()}recordQosError(t,e,n,i,r,a,c){if((!a||this.Me(s.AttemptedToRecordSessionEndingQosError))&&t&&e){const s={n:t,x:n,z:i,l:r,v:e,e:a,d:c?.durationMs,p:(0,u.v6)(c?.extendedProperties),s:this.Ve,i:c?.inStaging};this.ze(o.QosError,s,t),a&&(this.Je(!1),this.Le(),this.shutdown(!0))}}removeQosPillar(t){if(!t)return;const e=this.Ve.indexOf(t);e>-1&&(this.Ve.splice(e,1),this.Ge(!1)),0===this.Ve.length&&this.Ye()}resumeAllHealthTimers(){if(this.tn&&!this.en&&this.nn(),0===this.rn&&0!==this.sn){const t=Date.now()-this.sn;t>=this.we.ye||t<=0?this.cn():this.un(this.we.ye-t)}}setHandlerForIsAppShuttingDown(t){t&&(this.fn=t)}setIsAppOnline(t){this.Me(s.AttemptedToSetAppOnlineStatus)&&(!this.ln&&t&&this.dn?.postMessage({t:o.OfflineWorkerFlush,v:this.fn()}),this.ln=t)}shutdown(t=!1){this.we.Se&&(this.hn(),this.Je(!1),this.fn=()=>!0,this.pn(),(!t||t&&this.ln)&&this.dn?.terminate())}stopAllHealthTimers(){this.Je(!0)}Je(t){this.en=!1,this.mn=-1,0!==this.wn&&(window.clearTimeout(this.wn),this.wn=0),this.Ye(),t&&this.pn()}updatePartADimensions(t){if(!t||!this.Me(s.AttemptedToUpdatePartADimensions))return;let e=!1;Object.keys(t).forEach((n=>{void 0!==t[n]&&null!==t[n]&&""!==t[n]&&this.we.ge[n]!==t[n]&&(this.we.ge[n]=t[n],e=!0)})),e&&(this.Be(),this.Fe(),this._e+=1,this.xe(),this.Le())}flushAndSetNewEndpoint(t,e){t.localeCompare(this.we.Pe??"",void 0,{sensitivity:"accent"})&&(this.Be(!1),this.we.Pe=t,e&&e())}constructor(){this.je={},this.Ke={},this.Sn=[],this.ge={},this._e=0,this.we={be:3e5,Se:!1,ve:!1,He:!1,Ie:3e4,Ce:25,Ae:"",ye:864e5,Pe:"",Ue:"",Te:3,Ee:3,ke:15e3,Ne:new Set},this.tn=!1,this.mn=-1,this.en=!1,this.wn=0,this.ln=!0,this.fn=()=>!1,this.Qe={},this.vn=[],this.Hn=0,this.In=0,this.Cn=void 0,this.An=[],this.Un=[],this.yn=[],this.Pn=[],this.Tn=0,this.sn=0,this.rn=0,this.Ve=[],this.En=!1,this.Nn=0,this.De=!1,this.hn=()=>{this.Tn&&(window.clearTimeout(this.Tn),this.Tn=0)},this.Fn=()=>{this.vn=[],this.An=[],this.Un=[],this.Cn=void 0,this.yn=[],this.Pn=[],this.Hn=0,this.In=0},this.pn=()=>{try{if(this.Hn<=0)return;const t=this.Rn();this.Wn(t,this._e,this.we.Ee),this.Fn()}catch(t){}},this.Rn=()=>({d:this.ge,a:this.Dn(),b:this.vn,e:this.Un,h:this.Cn,q:this.yn,k:this.An,l:this.Pn,type:"h_v2"}),this.Dn=()=>this.we.He&&(this.vn&&this.vn.length>0||this.Un&&this.Un.length>0)&&Object.keys(this.Ke).length>0?{...this.je,...this.Ke}:this.je,this.ze=(t,e,n,i=!1)=>{if(e&&!this.we.Ne.has(n))if(this.ln){switch(t){case o.BSqmError:this.vn.push(e);break;case o.Kpi:this.An.push(e);break;case o.QosError:this.Un.push(e);break;case o.QosPillar:-1===this.yn.map((t=>t.n)).indexOf(e.n)&&this.yn.push(e);break;case o.DiagnosticLog:this.Pn.push(e)}if(this.Hn+=1,t!==o.DiagnosticLog&&t!==o.QosPillar&&(this.In+=1),this.fn()&&!i)return void this.pn();this.Hn>=this.we.Ce&&(this.hn(),this.Be())}else e.o=(new Date).toJSON(),this.dn?.postMessage({t,k:`${this.ge.w}.${this._e}`,m:this.ge,c:this.Dn(),v:e})},this.Re=()=>{this.hn(),this.Tn=window.setTimeout((()=>{this.Be()}),this.we.Ie)},this.Be=(t=!1)=>{t&&this.In<=0||(this.pn(),this.Re())},this.xe=()=>{if(!this.Ve&&!this.Qe)return;this.Cn&&-1!==this.mn||(this.mn=(this.mn+1)%1e3),this.Cn||(this.Hn+=1);const t={p:this.Cn?(0,u.VY)(this.Cn.p,this.Ve):this.Ve,k:this.Cn?(0,u.VY)(this.Cn.k,this.Sn):this.Sn,i:this.we.be,o:this.mn};this.Cn=t},this.Ze=(t,e,n,i,r,s,a,c,f,l)=>{if(!t||e&&!this.Qe[t])return;e||this.On(t,c,f,l);const d=this.Qe[t],h={n:d.k,e:n,t:d.t,a:d.a,f:d.o,d:i?.durationMs,p:(0,u.v6)(i?.extendedProperties)};if(r){const t={n:r,x:a,z:s};h.k=t}this.ze(o.Kpi,h,t)},this.Fe=()=>{const t=this.we.ge;t&&(this.ge={a:t.application??void 0,b:t.applicationLcid??void 0,c:t.applicationMode??void 0,d:t.applicationModeExtended??void 0,e:t.arrVersion??void 0,f:t.browser??void 0,g:t.browserLcid??void 0,h:t.browserMajorVersion??void 0,i:t.browserVersion??void 0,j:t.clientVersion??void 0,k:t.datacenter??void 0,l:t.dataCulture??void 0,m:t.flightsImpressionId??void 0,n:t.host??void 0,o:t.isAnonymousUser??void 0,p:t.isBusinessUser??void 0,q:t.isEduUser??void 0,r:t.isSynthetic??void 0,s:t.loggableUserId??void 0,t:t.loggableUserIdSpace??void 0,u:t.ring??void 0,v:t.serverDocId??void 0,w:t.session_id??void 0,x:t.sessionOrigin??void 0,y:t.tenantId??void 0,z:t.uiHost??void 0,aa:t.wfeVersion??void 0,ab:t.fileExtension??void 0,ac:t.uiHostIntegrationType??void 0,ad:t.osVersion??void 0,af:t.networkDownlink??void 0,ag:t.networkDownlinkMax??void 0,ah:t.networkEffectiveType??void 0,ai:t.networkRTT??void 0,aj:t.networkSaveData??void 0,ak:t.networkType??void 0,al:t.userLicenseType??void 0})},this.nn=()=>{this.xe(),this.wn=window.setTimeout((()=>{this.nn()}),this.we.be)},this.Le=()=>{this.Ve&&this.Ve.forEach((t=>{t&&this.qe(t,!0)}))},this.qe=(t,e)=>{const n={};n.n=t,this.ze(o.QosPillar,n,t,e)},this.cn=()=>{this.Ve&&(this.sn=Date.now(),this.Le()),this.un()},this.un=(t=this.we.ye)=>{this.rn=window.setTimeout((()=>{this.cn()}),t)},this.Xe=()=>{this.tn||(this.tn=!0,this.en=!0,this.nn())},this.Ye=()=>{0!==this.rn&&(window.clearTimeout(this.rn),this.rn=0)},this.We=()=>{if(this.we.Se&&this.we.ve&&this.we.Ue&&""!==this.we.Ue&&this.we.Ae&&""!==this.we.Ae)try{if("undefined"==typeof Worker)return void this.Oe(r.WorkerApiIsNotAvailable);if(!this.we.Ae)return void this.Oe(r.InvalidWorkerUrl);this.Oe(r.InstallingOfflineWorker);const t=new Blob([`try{importScripts('${encodeURI(this.we.Ae)}');}catch(e){self.postMessage({i:14,l:'W',r:e.toString()})}`],{type:"application/javascript"});this.dn=new Worker(URL.createObjectURL(t)),this.dn.onmessage=t=>{try{const e=t.data;this.Oe(e.i,e.r)}catch(t){this.Oe(r.FailedToProcessMessageFromOfflineWorker,t.toString())}},this.dn.postMessage({t:o.OfflineWorkerInit,v:this.we.Ue}),this.dn.postMessage({t:o.OfflineWorkerFlush})}catch(t){this.Oe(r.FailedToInstallOfflineWorker,t.toString())}},this.jn=(t,e)=>{if(t.b.length>0||t.e.length>0||t.q.length>0||t.k.length>0||t.l.length>0)try{return this.dn?.postMessage({t:o.OfflineWorkerFailedUpload,k:`${t.d.w}.${e}`,v:t}),a.SendSucceeded}catch(t){const e=this.Bn(t);return this.Oe(r.FailedToSendEventToWorker,e),a.SendFailed}return a.DidNotAttempt},this.On=(t,e,n,o)=>{t&&void 0!==e&&(this.Qe[t]||(this.Qe[t]={k:t,t:e,a:!0===n,o:o??void 0},n&&(this.Sn.push(t),this.xe())))},this.Ge=t=>{this.mn=-1,t?(this.sn=Date.now(),this.un(),this.Xe()):this.xe()},this.Me=t=>!!this.De||(this.Oe(r.AttemptToUseFunctionalityBeforeIitialization,t?.toString()),!1),this.Wn=(t,e,n)=>{if(!t)return;const o=this.we.Pe;if(""===o)return;if(this.En&&(n<=0||!this.ln)&&this.jn(t,e)!==a.SendFailed)return;if(n<=0)return;const i=this._n(t,!1);if(null===i)return;if(this.fn())try{if(void 0!==navigator.sendBeacon){if(i.length>=65536&&this.we.He){const e={...t,a:this.je},n=this._n(e,!0);if(null===n)return;navigator.sendBeacon(o,n)}else navigator.sendBeacon(o,i);return}}catch(t){}const r=new XMLHttpRequest;r.open("POST",o,!0),r.onreadystatechange=()=>{r.readyState===XMLHttpRequest.DONE&&(200===r.status?this.En||(this.En=!0):this.Nn<this.we.Te?(this.Nn+=1,window.setTimeout((()=>{this.Nn-=1,this.Wn(t,e,n-1)}),this.we.ke)):this.En&&this.jn(t,e))},r.send(i)},this.Oe=(t,e)=>{const n={i:t,r:e};this.ze(o.DiagnosticLog,n,t.toString())},this.Bn=t=>{let e;return"string"==typeof t?e=t:t instanceof Error&&(e=t.name+" "+t.message,t.stack&&(e+=" "+t.stack)),e},this._n=(t,e)=>{try{return(0,u.sX)(t)}catch(t){let n=this.Bn(t);return n="ModifiedPayload: "+e+" | "+n,this.Oe(r.FailedToJsonStringifyEvent,n),null}}}}},32643:function(t,e,n){n.d(e,{n:function(){return r}});var o=n(63501),i=n(13249);class r{getHealthInstance(t){if(t)return o.Xk.getInstance().initialize(t),o.Xk.getInstance()}getExtendedHealthInstance(t,e){if(t&&e)return i.g.getInstance(t,e)}}},63925:function(t,e,n){var o;n.d(e,{z:function(){return o}}),function(t){t[t.Failure=0]="Failure",t[t.ImpliedUsageFailure=1]="ImpliedUsageFailure",t[t.ImpliedUsageSuccess=2]="ImpliedUsageSuccess",t[t.Success=3]="Success",t[t.Usage=4]="Usage"}(o||(o={}))},52314:function(t,e,n){function o(t){if(!t)return;const e={};return t.forEach(((t,n)=>{n&&(e[n]=t)})),e}function i(t){return JSON.stringify(t)}function r(t,e){const n=[],o=new Set;return t.concat(e).forEach((t=>o.add(t))),o.forEach((t=>n.push(t))),n}n.d(e,{VY:function(){return r},sX:function(){return i},v6:function(){return o}})},45118:function(t,e,n){var o;n.d(e,{n:function(){return o}}),function(t){t[t.xn=0]="msoulscat_ES_EWAJS",t[t.Ln=1]="msoulscat_ES_EWAJSGrid",t[t.Kn=6]="msoulscat_ES_EWAJSChart",t[t.$n=202]="msoulscat_MSOSP_FileMenuCommands",t[t.Vn=220]="msoulscat_MSOSP_AddInCommands",t[t.qn=225]="msoulscat_MSOSP_OTelJS",t[t.Gn=227]="msoulscat_MSOSP_OTelJSInWebWoker",t[t.Jn=228]="msoulscat_MSOSP_OTelJSWebWorkerPrototype",t[t.zn=301]="msoulscat_Wac_WordViewer",t[t.Zn=306]="msoulscat_Wac_BrowserGeneral",t[t.Qn=320]="msoulscat_Wac_TaskPane",t[t.Xn=339]="msoulscat_Wac_OneNoteGeneral",t[t.Yn=340]="msoulscat_Wac_Ribbon",t[t.eo=356]="msoulscat_Wac_WacFeedback",t[t.no=379]="msoulscat_Wac_WopiPendingApplication",t[t.oo=383]="msoulscat_Wac_Telemetry",t[t.io=391]="msoulscat_Wac_WacCatchUpActivities",t[t.ro=394]="msoulscat_Wac_Dictation",t[t.so=395]="msoulscat_Wac_OneNoteSync",t[t.ao=700]="msoulscat_Wac_VisioApp",t[t.co=1601]="msoulscat_OneNoteOnline_EditableCache",t[t.uo=800]="msoulscat_Wac_PptAnimation",t[t.fo=833]="msoulscat_Wac_PptLive",t[t.lo=834]="msoulscat_Wac_PptMWeb",t[t.do=835]="msoulscat_Wac_PptGc2General",t[t.ho=836]="msoulscat_Wac_PptGc2GraphicHost",t[t.po=837]="msoulscat_Wac_PptGc2Operation",t[t.mo=852]="msoulscat_Wac_PptGc2EditCanvas",t[t.wo=844]="msoulscat_Wac_PptDataSync",t[t.bo=848]="msoulscat_Wac_PptFluidRuntime",t[t.So=815]="msoulscat_Wac_PptShape",t[t.vo=817]="msoulscat_Wac_PptSession",t[t.Ho=830]="msoulscat_Wac_PptSlideshow",t[t.Io=822]="msoulscat_Wac_PptView",t[t.Co=846]="msoulscat_Wac_PptVideos",t[t.Ao=1303]="msoulscat_Uci_Insights",t[t.Uo=2300]="msoulscat_Wac_VersionHistory",t[t.yo=302]="msoulscat_Wac_WordPresence",t[t.Po=3e3]="msoulscat_Wac_OAuth",t[t.To=3005]="msoulscat_Wac_WordVersionHistory",t[t.Eo=3006]="msoulscat_Wac_LivePersonaCard",t[t.ko=3012]="msoulscat_Wac_CatchUpFlyout",t[t.No=3016]="msoulscat_Wac_WordDesigner",t[t.Fo=3021]="msoulscat_Wac_ModernFontPicker",t[t.Ro=3027]="msoulscat_Wac_UnifiedUiHost",t[t.Wo=3033]="msoulscat_Wac_EquationTools",t[t.Do=1401]="msoulscat_Osf_Latency",t[t.Oo=1402]="msoulscat_Osf_Notification",t[t.Mo=1403]="msoulscat_Osf_Runtime",t[t.jo=3041]="msoulscat_Wac_AiMaker",t[t.Bo=3043]="msoulscat_Wac_AiRewrite",t[t._o=3044]="msoulscat_Wac_AiInsert",t[t.xo=3047]="msoulscat_Wac_AiSummarize",t[t.Lo=3048]="msoulscat_Wac_CopilotCompose",t[t.Ko=3049]="msoulscat_Wac_Skittles",t[t.$o=3050]="msoulscat_Wac_CopilotChat",t[t.Vo=3051]="msoulscat_Wac_Syntex",t[t.qo=3052]="msoulscat_Wac_WireGraph",t[t.Go=3053]="msoulscat_Wac_CshCopilot",t[t.Jo=3054]="msoulscat_Wac_CopilotComposeLaunchpad",t[t.zo=3055]="msoulscat_Wac_CopilotProactiveSummary",t[t.Zo=3056]="msoulscat_Wac_CopilotProactiveShared",t[t.Qo=3057]="msoulscat_Wac_CopilotCursor"}(o||(o={}))},95346:function(t,e,n){var o;n.d(e,{F:function(){return o}}),function(t){t[t.Trace=0]="Trace",t[t.Assert=1]="Assert"}(o||(o={}))},97643:function(t,e,n){var o;n.d(e,{k:function(){return o}}),function(t){t[t.Error=10]="Error",t[t.Warning=15]="Warning",t[t.Important=20]="Important",t[t.Info=50]="Info",t[t.Verbose=100]="Verbose",t[t.Spam=200]="Spam"}(o||(o={}))},9838:function(t,e,n){function o(t,e,n,o){const r=[],s=t.map((t=>function(t,e,n){const o={};if(o.G=t.tag,o.T=t.timestamp-e,o.M=t.message,o.C=t.category,t.correlationId){let e=n.findIndex((e=>e===t.correlationId));e<0&&(e=n.push(t.correlationId)-1),o.I=e}const r=t.type*i+t.level;return o.D=r,o}(t,o,r))),a=function(t,e,n,o,i){const r={};return r.T=t,r.L=e,r.S=n,r.I=o,i&&i.length>0&&(r.W=i),r.V=1,r}(o,s,e,n,r);return JSON.stringify(a)}n.d(e,{I:function(){return o}});const i=1e3},20168:function(t,e,n){function o(t,e,n){if(!e)return;const o=window.navigator;if(o&&o.sendBeacon)try{return void o.sendBeacon(e,t)}catch{}!function(t,e,n){const o=new XMLHttpRequest;o.readyState!==XMLHttpRequest.UNSENT&&o.readyState!==XMLHttpRequest.DONE||(o.open("POST",e,n),o.send(t))}(t,e,n)}n.d(e,{X:function(){return o}})},66127:function(t,e,n){n.d(e,{hr:function(){return S}});var o=n(45118),i=n(97643),r=n(22475),s=n(27088),a=n(7443),c=n(90178),u=n(13239),f=n(58928),l=n(83175),d=n(26995),h=n(34464),p=n(30021),m=n(16831),w=n(23266),g=n(17263),b=n(76954);function S(t,e,n,S,v,H,I,C,A){const{loadFunctionSubject:U,documentBootInfo:y,correlationId:P,wopiFetchData:T={wopiHostData:void 0,fetchDiagnostics:void 0}}=t,{fileType:E,wdOrigin:k,puid:N,uiCulture:F,dataCulture:R,clickTime:W,rebootOverrideData:D}=y,{wopiHostData:O,fetchDiagnostics:M}=T,j=n?.logger,B=n?.health;if(!(O&&O.wac&&O.wac.bootstrapperUrl&&O.wac.applicationUrl)){const t=new Map([["WopiHostDataPresent",`${!!O}`],["WopiWacDataPresent",`${!!O?.wac}`]]),e=JSON.stringify(Array.from(t.entries())),n={wacErrorName:c.R7.Xo,qosErrorName:c.by.QosError_VroomWopiFailure,errorMessage:e};return j?.ULS.sendTraceTag(554964098,o.n.Ro,i.k.Info,`${c.R7.Xo}: Failed to get wopi data for the item, ${e}`),void(S&&S(n))}const _=C||O.wac.bootstrapperUrl,x=A,L=O.wac.applicationUrl;O.wac.userId&&B?.updatePartADimensions({loggableUserId:O.wac.userId});const K=new Promise(((t,e)=>{setTimeout((()=>e("jsApi timed out after 60 seconds")),6e4)})),$=new Promise((async(t,C)=>{U.subscribe((()=>t("jsApi successfully loaded")));const A=(t,w)=>{let S;const C=(0,b.Mt)(O,L,e?.uiHostName??"UUIH",y,e?.uiEmbed),A=(0,g.Tf)(C,j),T=(0,b.PS)(E,e?.featureGates,j),x=(0,f.SI)(f.dT.FeatureGate_EnableSingleOwlJsapiLogger,e?.featureGates);n?.bootDiagnostics&&(n.bootDiagnostics.perfJsapiTiming=n.bootDiagnostics.perfJsapiTiming||(0,u.Rt)(E)),T?(B?.addOrUpdatePartCDimension("JsApiVersion","V2"),S=({container:u,flushTime:g})=>new s.c((s=>{const S=(0,l.I)(y,_,e,n,O),U=d.W.isCreateNewFlowExecuting&&d.W.application?d.W.application:t.createApplication(S),T={hostSessionId:P,logger:x?j:void 0},E=d.W.isCreateNewFlowExecuting&&d.W.session?d.W.session:U.createSession(T);H&&H(U,O,y,E),!(0,f.SI)("UseNewEuplReporting",e?.featureGates)&&v&&v();const N={appUrl:C,file:{name:O.fileName,getUrl:O.wac?.fileGetUrl||O.downloadUrl,urlNoAuth:O.wac?.fileUrlNoAuth??"",size:O.fileSize,downloadCode:O.downloadCode,eTag:O.eTag,...y.docId&&{uniqueId:y.docId,immutableReason:n?.fileImmutableReason},supportsZipIt:n?.supportsZipIt},customFontCatalogUrl:O.wac.customFontCatalogUrl,contentBundle:{majorVersion:O.bundleVersion?Number(O.bundleVersion):0,url:O.bundleUrl??"",urlNoAuth:O.bundleUrlNoAuth??"",bundleCode:O.bundleCode,staleness:O.bundleStaleness||0},newFileTemplate:y.newFileTemplate,container:u,wopi:{source:O.wac.wopiSrc,accessToken:O.wac.accessToken,expiry:parseInt(O.wac.accessTokenExpiry,10),wacToken:n?.wacToken},bootParams:{readOnly:O.readOnly,irmEnabled:O.irmEnabled,supportsDecryptedContentDownload:O.protectionEnabled,viewOnly:O.blocksDownload,disableChat:!0,openViewByDefault:"view"===y.intent,dataLanguage:R},diagnostics:n?.bootDiagnostics?.legacyPerformanceData?{...(0,b.ch)(n?.bootDiagnostics?.legacyPerformanceData.host),...(0,b.wh)(W,g,k,M,w.performance,n,y.isNewFile,e?.featureGates),legacyPerformanceData:n?.bootDiagnostics?.legacyPerformanceData}:(0,b.VS)(W,g,k,M,w.performance,n,y.isNewFile,e?.featureGates),sessionContext:A||(0,b.uU)(),preseededSession:{key:O.preSeededSessionKey,id:O.preSeededWacSessionId},wdParams:{...y.templateId&&{wdTpl:y.templateId},...D&&D.lcid&&{wdlcid:D.lcid}||y.uiCulture&&{wdlcid:y.uiCulture},...(0,b.aT)(y.wdValue),...n?.previousSession&&{wdPreviousSession:n?.previousSession},...n?.previousSessionSrc&&{wdPreviousSessionSrc:n?.previousSessionSrc}},hostGeneratedSessionId:n?.sessionId,meeting:n?.meeting,rebootOverride:D,throttling:{protection:O.wac?.clientThrottlingProtection,request:O.wac?.requestedCallThrottling}};(0,r.l8)(h.ls.OwlWacBootStart);const F=(0,f.SI)(f.dT.FeatureGate_OwlPostWacTokenForTeamsHosts,e?.featureGates);F&&((0,p.iz)(!!N.wopi.wacToken),N.wopi.wacToken&&(B?.recordKpiSuccess(c.ex.Yo,{extendedProperties:new Map([["scenario","postWacTokenBeforeBootJsapiV2"]])}),j?.ULS.sendTraceTag(507347489,o.n.Ro,i.k.Important,"WAC token has been fetched before calling jsapi boot"))),(d.W.isCreateNewFlowExecuting?d.W.completeCreateNewPromise:E.boot(N,I)).then((t=>{if("success"===t.completion)s.next({wopiHostData:O,officeApplication:U,bootedDocumentInfo:new a.t(y),officeDocumentSession:E,wacBootDiagnostics:E?.diagnostics?.appInitDiagnostics}),s.complete();else if("cancelled"===t.completion)F&&B?.recordKpiFailure(c.ex.Yo,t.completion,!0,!1,{extendedProperties:new Map([["scenario","postWacTokenBeforeBootJsapiV2"],["status","cancelled"]])}),j?.ULS.sendTraceTag(509646293,o.n.Ro,i.k.Info,"User cancelled document session boot");else{const e=t.completion;let n;if(F&&B?.recordKpiFailure(c.ex.Yo,t.completion,!1,!1,{extendedProperties:new Map([["scenario","postWacTokenBeforeBootJsapiV2"],["status","failed"]])}),"timeout"===t.completion)n=c.R7.ti;else switch(t.errorSource&&"string"==typeof t.errorSource?t.errorSource.toLowerCase():void 0){case"app":n=c.R7.ei;break;case"jsapi":n=c.R7.ni;break;default:n=c.R7.oi}const r={wacErrorName:n,qosErrorName:c.by.QosError_EncounteredJsApiError,errorMessage:e,error:t.error,documentLoadedWithTabSwitch:!!t.documentLoadedWithTabSwitch},a=(0,m.C)(r),u=JSON.stringify(Array.from(a.entries()));j?.ULS.sendTraceTag(575419404,o.n.Ro,i.k.Error,u),s.error(r)}})).catch((t=>j?.ULS.sendTraceTag(512337547,o.n.Ro,i.k.Error,`officeDocumentSession.boot threw error: ${t}`)))}))):(B?.addOrUpdatePartCDimension("JsApiVersion","V1"),S=({container:u,flushTime:l})=>new s.c((s=>{const d=(0,b.Xl)(O?O.wac.userId:N,P,F,R,e,n,(0,b.aT)(y.wdValue),A),h=(0,b.TB)(y,O),g=(0,b.VS)(W,l,k,M,w.performance,n,y.isNewFile,e?.featureGates),S=e?.uiHostName,H=(0,b.K7)({...O.wac,wacToken:n?.wacToken}),I=(0,b.ND)(u,w,H,d,h,g,((t,e)=>{s.next({wopiHostData:O,officeApplication:t,bootedDocumentInfo:new a.t(y),wopiPendingApp:T,wacBootDiagnostics:e}),s.complete()}),(t=>{const e=t.errorObject.message,n={wacErrorName:c.R7.ii,qosErrorName:c.by.QosError_EncounteredJsApiError,errorName:t.errorType,errorMessage:e,error:t},r=(0,m.C)(n),a=JSON.stringify(Array.from(r.entries()));j?.ULS.sendTraceTag(575419405,o.n.Ro,i.k.Error,a),s.error(n)}),S,y,O,e?.showCloseButton,e?.supportsShare,e?.openInBrowserEnabled,e?.ellipsisDownloadACopyButtonEnabled,e?.copyLinkEnabled,e?.uiEmbed,e?.supportsHostUiControls,e?.conversationButtonEnabled,n?.additionalApplicationParameters),C=(0,r.u_)();j?.ULS.sendTraceTag(576578583,o.n.Ro,i.k.Info,"BootStrapFile: About to call InitializeWopiPending");const U=(0,f.SI)(f.dT.FeatureGate_OwlPostWacTokenForTeamsHosts,e?.featureGates);U&&((0,p.iz)(!!H.WacToken),H.WacToken&&(B?.recordKpiSuccess(c.ex.Yo,{extendedProperties:new Map([["scenario","postWacTokenBeforeBootJsapiV1"]])}),j?.ULS.sendTraceTag(507347488,o.n.Ro,i.k.Important,"WAC token has been fetched before calling jsapi initializeWopiPending")));const T=t.Application.InitializeWopiPending(I,void 0,n?.sessionId),E=(0,r.u_)()-C;j?.ULS.sendTraceTag(570775769,o.n.Ro,i.k.Info,`BootStrapFile: InitializeWopiPending returned. [IsValidWopiPendingApp: ${!!T}][TimeElapsed: ${E}]`);const D=(0,r.u_)();if(T){v&&v(),T.Complete(H);const t=(0,r.u_)(),e=t-D,n=t-C;j?.ULS.sendTraceTag(570775770,o.n.Ro,i.k.Info,`BootStrapFile: Complete returned.[TimeElapsedInComplete: ${e}][TimeElapsedSinceInitializeWopiPending: ${n}]`)}else{const t={wacErrorName:c.R7.ri,qosErrorName:c.by.QosError_EncounteredJsApiError,errorMessage:"WOPI pending failed"};U&&B?.recordKpiFailure(c.ex.Yo,t.errorMessage,!1,!1,{extendedProperties:new Map([["scenario","postWacTokenBeforeBootJsapiV1"],["status","failed"]])});const e=(0,m.C)(t),n=JSON.stringify(Array.from(e.entries()));s.error(t),j?.ULS.sendTraceTag(575419406,o.n.Ro,i.k.Error,n)}}))),U.next(S),U.complete()};if(d.W.isTwoStepCreateNew&&d.W.bootstrapperLoadPromise)d.W.bootstrapperLoadPromise.then((t=>{t?A(d.W.bootstrapper,d.W.bootstrapperInfo):j?.ULS.sendTraceTag(507778322,o.n.Ro,i.k.Warning,"Office bootstrapper failed to load for 2-step create new, check previous logs for more details")})).catch((t=>j?.ULS.sendTraceTag(507778321,o.n.Ro,i.k.Error,`Encountered error loading Office bootstrapper for 2-step create new: ${t}`)));else{const t=(0,f.SI)(f.dT.FeatureGate_EnableJsapiTags,e?.featureGates);(0,f.lO)(f.dT.FeatureGate_EnableJsapiTags,t,j),(0,w.k)(_,O.wac.applicationUrl,E,!0,n?.wiseEnvironment,j,x,n?.owlRollout?.includes("LOCALHOST"),t).then((t=>{const[e,n]=(0,w.K)(E);if(!n&&e)A(e,t);else{const t=n??`Error message undefined. BootStrapped not loaded: ${!e}`;j?.ULS.sendTraceTag(575419403,o.n.Ro,i.k.Error,t);const r={wacErrorName:c.R7.si,qosErrorName:c.by.QosError_OfficeBootstrapperNotLoaded,errorMessage:t,error:n,inStaging:!1};S&&S(r)}})).catch((t=>{C(t)}))}}));Promise.race([K,$]).catch((t=>{const e=(t??"Failed to load the document")+`, bootstrapperUrl: ${_.replace(/^https?:\/\//,"")}`,n={wacErrorName:c.R7.ri,qosErrorName:c.by.QosError_FailedToLoadDocument,errorMessage:e,error:t,inStaging:!1};j?.ULS.sendTraceTag(575419407,o.n.Ro,i.k.Error,`${c.R7.ri}: ${e}`),S&&S(n)}))}},7366:function(t,e,n){n.d(e,{e:function(){return a}});var o=n(22475),i=n(45118),r=n(97643),s=n(17263);function a(t,e,n,c=!1,u=!1,f=1,l=!1,d=!1,h=!1){const p=(0,o.u_)();return(0,o.l8)("wopiDataStartTime"),e(t,c,u,n,d,h).then((e=>{if(!e){const t="Graph call failed";return n?.ULS.sendTraceTag(553726284,i.n.Ro,r.k.Error,`GetWopiData: Failed to get the driveItem. [ErrorMessage: ${t}]`),Promise.reject(t)}const a={docUrl:e.webDavUrl??t.docUrl,driveId:e?.parentReference?.driveId??t.driveId,docId:e?.id??t.docId,fileName:e.name};n?.ULS.sendTraceTag(553726285,i.n.Ro,r.k.Info,`GetWopiData: Fetched documentIdentifier. [IsValid: ${!!a}]`);const c=(0,s.Z1)(e,n);n?.ULS.sendTraceTag(553726287,i.n.Ro,r.k.Info,`GetWopiData: Getting WopiHostData from drive item. [IsValid: ${!!c}]`);const u={startTime:p,endTime:(0,o.u_)()};return(0,o.l8)("wopiDataEndTime"),{documentIdentifier:a,wopiHostData:c,fetchDiagnostics:u}})).catch((o=>(n?.ULS.sendTraceTag(520729472,i.n.Ro,r.k.Warning,`GetWopiData: General getWopiData error. [Message: ${o?.message}][FailureReason: ${o?.failure}][Status: ${o?.status}]`),f>0&&o?.retry?(n?.ULS.sendTraceTag(544306772,i.n.Ro,r.k.Error,`GetWopiData: Retrying getWopiData. [Message: ${o?.message}][FailureReason: ${o?.failure}][Status: ${o?.status}]`),new Promise((t=>{const e=function(t){if(0===t)throw new Error("Retry count should not be 0");return 1===t?window.crypto.getRandomValues(new Uint32Array(1))[0]%291+10:10}(f);setTimeout(t,e),n?.ULS.sendTraceTag(508035599,i.n.Ro,r.k.Warning,`GetWopiData: Retrying getWopiData with ${f} retries left. Delaying retry for ${e}ms.`)})).then((()=>a(t,e,n,c,u,f-1,l,d))).catch((t=>(n?.ULS.sendTraceTag(508035598,i.n.Ro,r.k.Error,`GetWopiData: Failed to delay retry getWopiData. [Error: ${t.message}]`),Promise.reject(t))))):f>0&&l&&"accessDenied"===o?.errorCode?new Promise((t=>{setTimeout(t,3e3),n?.ULS.sendTraceTag(523269073,i.n.Ro,r.k.Warning,`GetWopiData: Retrying getWopiData after retryIntervalForWopiDataRequest: 3000ms. [Error: ${JSON.stringify(o)}][FailureReason: ${o?.failure}]`)})).then((()=>a(t,e,n,c,u,0,l,d))):(n?.ULS.sendTraceTag(544306773,i.n.Ro,r.k.Error,`GetWopiData: Not retrying getWopiData. [ShouldRetry: ${f>0}][FailureReason: ${o?.failure??o?.message}]`),Promise.reject(o)))))}},23266:function(t,e,n){n.d(e,{K:function(){return f},k:function(){return u}});var o=n(22475),i=n(45118),r=n(97643),s=n(18409),a=n(50820);let c;async function u(t,e,n,l=!0,d,h,p,m,w){c||(c=new Map);const g=c.get(n);if(g)return g;const b=new Promise((async(g,b)=>{const S=(0,o.u_)(),v=document.getElementById(`${n}_bootstrapper`);if(v){const[a,c]=f(n);!c&&a||await new Promise(((t,e)=>{v.onload=()=>{t()},v.onerror=()=>{e("JSAPI script failed to load in parallel with OWL")}})).catch((()=>{h?.ULS.sendTraceTag(507531682,i.n.Ro,r.k.Error,`JSAPI failed to load ${s.p[n]} bootstrapper in parallel with OWL`),b("JSAPI script failed to load in parallel with OWL")}));const u=(0,o.u_)();return h?.ULS.sendTraceTag(507531681,i.n.Ro,r.k.Important,`JSAPI script successfully loaded for ${s.p[n]} with OWL`),g({bootstrapperUrl:t,applicationUrl:e,performance:{startTime:S,endTime:u}})}(0,a.b)(t,(()=>{const a=(0,o.u_)();h?.ULS.sendTraceTag(507834582,i.n.Ro,r.k.Important,`JSAPI fetch succeeded for ${s.p[n]} bootstrapper. OnRetry: false`),g({bootstrapperUrl:t,applicationUrl:e,performance:{startTime:S,endTime:a}})}),(async()=>{if(l)try{await function(t,e,n,o,i,r,s){if(c?.delete(n),o&&"PRODUCTION"===o){const a=new URL(t);return a.hostname="wise-backup.public.onecdn.static.microsoft",u(a.toString(),e,n,!1,o,void 0,i,r,s)}return u(t,e,n,!1,o,void 0,i,r,s)}(t,e,n,d,p,m);const a=(0,o.u_)();h?.ULS.sendTraceTag(507834581,i.n.Ro,r.k.Important,`JSAPI fetch succeeded for ${s.p[n]} bootstrapper. OnRetry: true`),g({bootstrapperUrl:t,applicationUrl:e,performance:{startTime:S,endTime:a}})}catch{h?.ULS.sendTraceTag(507834580,i.n.Ro,r.k.Error,`JSAPI fetch failed for ${s.p[n]} bootstrapper. OnRetry: true`),b("Load bootstrapper script failed")}else h?.ULS.sendTraceTag(507834579,i.n.Ro,r.k.Error,`JSAPI fetch failed for ${s.p[n]} bootstrapper. OnRetry: false`),b("Load bootstrapper script failed")}),!1,`${s.p[n]}_bootstrapper`,w,l,p,m,w)}));return c.set(n,b),b}function f(t){const e=window.Microsoft;if(void 0===e)return[void 0,"Microsoft is undefined"];const n=e.Office,o=s.p[t];return n&&n[o]?[n[o],void 0]:[void 0,`Failed to find bootstrapper for app: ${o}`]}},64974:function(t,e,n){n.d(e,{Az:function(){return m},d$:function(){return p}});var o=n(78400),i=n(68725),r=n(98365),s=n(90178),a=n(26995),c=n(27819),u=n(25548),f=n(66127),l=n(7366),d=n(17263);let h;function p(t){return h?`${t}.${h.size}`:t}function m(t,e,n,m,w,g,b=!1,S,v,H,I,C){if(h||(h=new Map),!t.isNewFile||!t.createNewInfo&&!t.isTwoStepCreateNew){const n=(0,d.x9)(t);if(!n)return{correlationId:e,bootstrapperObservable:(0,r.$)("Not enough document information was provided"),fileNamePromise:Promise.reject("No name was provided"),applicationUrlPromise:Promise.reject("No applicationUrl")};const o=h.get(n);if(o)return o}return function(t,e,n,r,h,m,w=!1,g,b,S,v,H){const I=p(e),C=h?.logger,A=new i.h,U=H??f.hr;if(!a.W.isTwoStepCreateNew||!a.W.hostSessionId||!h?.createNewParams){const e=(0,l.e)(t,n,C,w,!(!t.isNewFile&&!t.templateId),1,!!h?.meeting,!0);e.then((e=>{U({documentBootInfo:{...t,...e.documentIdentifier},correlationId:I,loadFunctionSubject:A,wopiFetchData:e},r,h,m,g,b,S,v?.get(t.fileType)?.jsApiUrl,v?.get(t.fileType)?.jsApiSri)})).catch((e=>{if(a.W.isTwoStepCreateNew&&a.W.session&&a.W.session.run(o.Y.completeCreateNew,{state:"failure",reason:"wopiFetchFailed"},S),m){const n=JSON.stringify(e),o={wacErrorName:s.R7.ci,qosErrorName:s.by.QosError_VroomWopiFailure,errorMessage:n,error:e,httpErrorCode:e.status,networkError:(0,c.TX)(e)};m(o,t)}}));const i={correlationId:I,bootstrapperObservable:A.asObservable(),fileNamePromise:t.fileName?Promise.resolve(t.fileName):e.then((t=>t.wopiHostData.fileName)),applicationUrlPromise:new Promise(((t,n)=>{e.then((e=>t(e?.wopiHostData?.wac?.applicationUrl))).catch((t=>{n(t)}))}))};return h&&h.wiseEnvironment&&(0,u.t)(i.applicationUrlPromise,h.wiseEnvironment,C,h.health,h.sessionId),i}U({documentBootInfo:t,correlationId:I,loadFunctionSubject:A,wopiFetchData:(0,d.Rk)(h.createNewParams,t)},r,h,m,g,b,S,v?.get(t.fileType)?.jsApiUrl);const y={correlationId:a.W.hostSessionId,bootstrapperObservable:A.asObservable(),fileNamePromise:Promise.resolve(t.fileName),applicationUrlPromise:Promise.resolve(h?.createNewParams?.appUrl)};return h&&h.wiseEnvironment&&(0,u.t)(y.applicationUrlPromise,h.wiseEnvironment,C,h.health,h.sessionId),y}(t,e,n,m,w,g,b,S,v,H,I,C)}},17263:function(t,e,n){n.d(e,{Rk:function(){return l},Tf:function(){return d},Z1:function(){return u},lW:function(){return f},x9:function(){return c}});var o=n(45118),i=n(97643),r=n(18409),s=n(26995),a=n(76954);function c(t){return t.shareUrl?t.shareUrl:t.docId&&t.driveId?`${t.driveId}_${t.docId}`:t.docUrl?t.docUrl:t.isNewFile&&t.fileName?`${t.fileName}_${r.p[t.fileType]}`:t.baseUrl&&t.fileId?`${t.baseUrl}_${t.fileId}`:void 0}function u(t,e){const n=!!t?.openWith,r=!!t?.openWith?.wac;return e?.ULS.sendTraceTag(553916429,o.n.Ro,i.k.Info,`GetWopiHostDataFromItem: [ValidOpenWith: ${n}][ValidWac: ${r}]`),{bundleStaleness:t.officeBundle?t.officeBundle.bundleStaleness:0,bundleUrl:t.officeBundle?t.officeBundle.url:"",bundleCode:t.officeBundle?t.officeBundle.bundleCode:"",bundleUrlNoAuth:t.officeBundle?t.officeBundle.urlNoAuth:"",bundleVersion:t.officeBundle?t.officeBundle.version:"",sharepointSiteUrl:t.sharepointIds?t.sharepointIds.siteUrl:"",downloadUrl:t["@content.downloadUrl"]||t["@microsoft.graph.downloadUrl"],downloadCode:t["@content.downloadCode"],eTag:t.eTag,fileName:t.name,fileSize:t.size,irmEnabled:t.file?.contentSensitivityLabelProtected||t.file?.irmEffectivelyEnabled||t.sensitivityLabel?.protectionEnabled||t.file?.irmEnabled,protectionEnabled:t.sensitivityLabel?.protectionEnabled||t.file?.contentSensitivityLabelProtected,isNewFile:!1,readOnly:t.currentUserRole&&t.currentUserRole.readOnly,blocksDownload:t.currentUserRole&&t.currentUserRole.blocksDownload,wac:t.openWith.wac,sharePointInfo:{...t.sharepointIds},webUrl:t.webUrl,preSeededSessionKey:t?.wacSession?.preSeededSessionKey,preSeededWacSessionId:t?.wacSession?.preSeededWacSessionId,webDavUrl:t.webDavUrl,restUrl:t.openWith.wopi?.editUrl||t.openWith.wac?.applicationUrl}}function f(t,e,n,o,i){if(!t.appUrl)throw new Error("appUrl must be provided in CreateNewParams");return{appUrl:(0,a.Mt)(void 0,t.appUrl,o?.uiHostName||"OWL-2-step-create-new",e,o?.uiEmbed),file:{name:t.file?.name,getUrl:t.file?.getUrl,size:t.file?.size,eTag:t.file?.eTag,...e.docId&&{uniqueId:e.docId,immutableReason:i?.fileImmutableReason}},customFontCatalogUrl:t.customFontCatalogUrl,contentBundle:{majorVersion:t.contentBundle?.majorVersion?Number(t.contentBundle?.majorVersion):0,url:t.contentBundle?.url??"",staleness:t.contentBundle?.staleness||0},newFileTemplate:e.newFileTemplate,container:n,bootParams:{readOnly:t.bootParams?.readOnly,irmEnabled:t.bootParams?.irmEnabled,supportsDecryptedContentDownload:t.bootParams?.supportsDecryptedContentDownload,viewOnly:t.bootParams?.viewOnly,disableChat:!0,openViewByDefault:"view"===e.intent,dataLanguage:e.dataCulture,isNewFile:e.isNewFile},diagnostics:i?.bootDiagnostics?.legacyPerformanceData?{...(0,a.ch)(i?.bootDiagnostics?.legacyPerformanceData.host),...(0,a.wh)(e.clickTime,0,e.wdOrigin,void 0,s.W.bootstrapperInfo?.performance,i,e.isNewFile,o?.featureGates),legacyPerformanceData:i?.bootDiagnostics?.legacyPerformanceData}:(0,a.VS)(e.clickTime,0,e.wdOrigin,void 0,s.W.bootstrapperInfo?.performance,i,e.isNewFile,o?.featureGates),sessionContext:d(t.appUrl)||(0,a.uU)(),preseededSession:{key:t.preseededSession?.key,id:t.preseededSession?.id},wdParams:{...e.templateId&&{wdTpl:e.templateId},...e.uiCulture&&{wdlcid:e.uiCulture},...(0,a.aT)(e.wdValue)},hostGeneratedSessionId:i?.sessionId,meeting:i?.meeting,throttling:{protection:t.throttling?.protection,request:t.throttling?.request}}}function l(t,e){return{documentIdentifier:{docUrl:e.docUrl,driveId:e.driveId,docId:e.docId,fileName:t.file?.name},wopiHostData:{bundleStaleness:t.contentBundle?.staleness,bundleUrl:t.contentBundle?.url,bundleVersion:t.contentBundle?.majorVersion.toString(),downloadUrl:t.file?.getUrl,eTag:t.file?.eTag,fileName:t.file?.name,fileSize:t.file?.size,irmEnabled:t.bootParams?.irmEnabled,protectionEnabled:t.bootParams?.supportsDecryptedContentDownload,isNewFile:!!e.isNewFile,readOnly:!!t.bootParams?.readOnly,blocksDownload:!!t.bootParams?.viewOnly,sharePointInfo:{},wac:{bootstrapperUrl:s.W.bootstrapperUrl,applicationUrl:t.appUrl,userId:e.puid}},fetchDiagnostics:{}}}function d(t,e){let n;try{n=new URLSearchParams(new URL(t).search).get("sc")||void 0}catch(t){e?.ULS.sendTraceTag(520135565,o.n.Ro,i.k.Info,`Error trying to get session context from app URL: ${JSON.stringify(t)}`)}return n}},76954:function(t,e,n){n.d(e,{$e:function(){return I},Im:function(){return g},K7:function(){return w},Mt:function(){return A},ND:function(){return y},PS:function(){return C},Q9:function(){return d},TB:function(){return m},VS:function(){return b},Xl:function(){return p},aT:function(){return U},ch:function(){return v},uU:function(){return h},wh:function(){return S}});var o=n(22475),i=n(45118),r=n(97643),s=n(18409),a=n(90178),c=n(13259),u=n(95002),f=n(82915),l=n(58928);const d="officecom";function h(){return JSON.stringify({pmo:window.location.origin,pmshare:!0,surl:void 0,curl:void 0,vurl:void 0,eurl:void 0})}function p(t,e,n,o,i,r,s,a){return{HostName:"office.com",HostSessionId:e,UserId:t,OwnerId:void 0,UiLocale:n,DataLocale:o,DisableChat:!0,CookieCompliant:!0,WdParams:s,DisableFocusOnBoot:!1,SessionContext:a||h(),HighContrastMode:r?.highContrastMode,HideHeader:i?.hideHeader,HideAppLauncherInHeader:i?.hideAppLauncherInHeader,HideSearchInHeader:i?.hideSearchInHeader,HideMeInHeader:i?.hideMeInHeader,HideChatInHeader:i?.hideChatInHeader,HideWorkflowInHeader:i?.hideWorkflowInHeader,HideSettingsInHeader:i?.hideSettingsInHeader,ShowAppIconInHeader:i?.showAppIconInHeader,UseNeutralColorInHeader:i?.useNeutralColorInHeader,SupportsDocReboot:i?.supportsDocumentReboot,SupportsCreateNewDocument:i?.supportsCreateNewDocument,SupportsAuthToken:i?.supportsAuthToken,SupportsAtMentions:i?.supportsAtMentions,SupportsMoveToFolder:i?.supportsMoveToFolder,SupportsCommonFilePicker:i?.supportsCommonFilePicker,SupportsDirectPrint:i?.supportsDirectPrint,SupportsDirectDownload:i?.supportsDirectDownload,MetaUiHostVersion:r?.metaUiHostVersion,SupportsAccessibilityLoop:i?.supportsAccessibilityLoop,SupportsExcelExternalLinks:i?.supportsExcelExternalLinks,UiHostIntegrationType:i?.uiHostIntegrationType,OpenLinksInNewWindow:i?.openLinksInNewWindow,UiHostTabId:r?.uiHostTabId,Upn:r?.upn,TenantId:r?.tenantId,Meeting:r?.meeting,SupportsCustomAuthConfig:i?.supportsCustomAuthConfig,ContentAssemblyMode:i?.contentAssemblyMode,SupportsRefreshAccessToken:i?.supportsRefreshAccessToken,IsSynthetic:r?.isSynthetic,OwlVersion:r?.owlVersion,OwlRollout:r?.owlRollout,SupportsZipIt:r?.supportsZipIt,DisableOfficeAddins:i?.disableOfficeAddins}}function m({docId:t,isNewFile:e,fileName:n,intent:o},i){return i?{FileName:i.fileName,FileGetUrl:i.wac?.fileGetUrl||i.downloadUrl,CustomFontCatalogUrl:i.wac.customFontCatalogUrl,FileSize:i.fileSize,BundleInfo:{Url:i.bundleUrl,MajorVersion:i.bundleVersion,BundleStaleness:i.bundleStaleness},ReadOnly:i.readOnly,IrmEnabled:i.irmEnabled,ViewOnly:i.blocksDownload,ETag:i.eTag,ClientThrottlingProtection:i.wac?.clientThrottlingProtection,RequestedCallThrottling:i.wac?.requestedCallThrottling,IsNewFile:!!e||i.isNewFile,...t&&{DocUniqueId:t},OpenViewByDefault:"view"===o}:{FileName:n,IsNewFile:!0,...t&&{DocUniqueId:t}}}function w(t){return{WopiSrc:t.wopiSrc,AccessToken:t.accessToken,AccessTokenExpiry:new Date(parseInt(t.accessTokenExpiry,10)),WacToken:t.wacToken}}function g(t){switch((0,c.rA)(t)){case c._Q.OneDrive:return"OneDrive";case c._Q.SharePoint:return"SharePoint Online";default:return"Unknown"}}function b(t,e,n,o={startTime:0,endTime:0},i={startTime:0,endTime:0},r,s,a){const c=window.performance.timing,u=window.performance.navigation,f=u.redirectCount||0,l=c.navigationStart||0,d=c.fetchStart||0,h=c.responseEnd||0,p=c.requestStart||0,m=c.responseStart||0,w=c.responseEnd||0,g=c.domComplete||0;let b="UNKNOWN";switch(u.type){case 0:b="NAVIGATE";break;case 1:b="RELOAD";break;case 2:b="BACK_FORWARD";break;case 255:b="RESERVED"}return{...S(t,e,n,o,i,r,s,a),hostPageNavigationStartTime:l,hostPageFetchStartTime:d,hostPageFetchEndTime:h,hostPageRequestStartTime:p,hostPageResponseStartTime:m,hostPageResponseEndTime:w,hostPageDomCompleteTime:g,hostPageRedirectCount:f,hostPageNavigationType:b}}function S(t,e,n,s={startTime:0,endTime:0},c={startTime:0,endTime:0},l,d,h){const p=c.startTime||0,m=c.endTime||0,w=(0,o.u_)();(0,o.l8)("officeInitializationTime");const g=l?.logger,b=l?.bootDiagnostics||{},S=b.tabsCacheHit,v=b.packageEntryTime,H=b.isTestMode,I=b.ringId;let C,A;t&&(C=w-t),v&&(A=w-v);const U={owlVersion:l?.owlVersion,...b,...a.pP,bootStrapStartTime:c?.startTime||0,bootStrapEndTime:c?.endTime||0,wopiDataStartTime:s?.startTime||0,wopiDataEndTime:s?.endTime||0,isCookieBlocked:!u.L,isCreateNew:d,createNewEndTime:b.createNewStartTime?(0,o.u_)():void 0,owlFeatureGates:h?(0,f.c)(h):void 0};return a.pP.accessTokenStartTime=void 0,a.pP.accessTokenEndTime=void 0,a.pP.driveItemStartTime=void 0,a.pP.driveItemEndTime=void 0,a.pP.driveItemFromWacStartTime=void 0,a.pP.driveItemFromWacEndTime=void 0,a.pP.spRequestGuid=void 0,a.pP.createNewStartTime=void 0,a.pP.createNewEndTime=void 0,a.pP.loadManifestStartTime=void 0,a.pP.loadManifestEndTime=void 0,a.pP.getManifestFromRemoteTimeElapsed=void 0,a.pP.loadManifestServerTimeElapsed=void 0,a.pP.loadOwlStartTime=void 0,a.pP.loadOwlEndTime=void 0,a.pP.isVroom21=!1,g?.ULS.sendTraceTag(556613895,i.n.Ro,r.k.Info,`getDiagnostics: [SessionOrigin: ${n}][TabsCacheHit: ${S}][IsTestMode: ${H}][RingId: ${I}][TimeElapsedSinceUserClick:${C}][TimeElapsedSincePackageEntry: ${A}]`),{entryPoint:n,hostPageFirstFlushTime:e,userClickTime:t,officeBootstrapperStartTime:p,officeBootstrapperEndTime:m,officeInitializationTime:w,unifiedUiHostDiagnostics:U}}function v(t){let e="UNKNOWN";switch(t?.navigation.type){case 0:e="NAVIGATE";break;case 1:e="RELOAD";break;case 2:e="BACK_FORWARD";break;case 255:e="RESERVED"}return{hostPageNavigationStartTime:t?.timing.navigationStart||0,hostPageFetchStartTime:t?.timing.fetchStart||0,hostPageFetchEndTime:t?.timing.responseEnd||0,hostPageRequestStartTime:t?.timing.responseEnd||0,hostPageResponseStartTime:t?.timing.responseStart||0,hostPageResponseEndTime:t?.timing.responseEnd||0,hostPageDomCompleteTime:t?.timing.domComplete||0,hostPageRedirectCount:t?.navigation.redirectCount||0,hostPageNavigationType:e}}const H=t=>{const e=new URL(t);return e.searchParams.delete("wopisrc"),e.href};function I(t){return e=>{let n=e;switch(e){case"OfficeComWordJsApiV2":case"OfficeComExcelJsApiV2":case"OfficeComPptJsApiV2":return!0;case"OfficeUnifiedUiHostTeams":n="unifiedUiHostInTeams"}if(t?.experiments&&n in t?.experiments)return function(t){switch(t){case 0:return!1;case 1:return!0;default:return}}(t?.experiments[n])}}function C(t,e,n){switch(t){case s.p.Word:case s.p.PowerPoint:case s.p.Excel:case s.p.Visio:return!0;case s.p.OneNote:const t=(0,l.SI)(l.dT.FeatureGate_OneNoteJsApiV2Gate,e);return(0,l.lO)(l.dT.FeatureGate_OneNoteJsApiV2Gate,t,n),t;default:return!1}}function A(t,e,n,o,i){const r=t?t.wac?.applicationUrl||t.wac?.editUrl:H(e);return r?function(t,e,n,o,i,r){let s=`${t}&uih=${e}`;return(r??1)&&(s=`${s}&uiEmbed=1`),o&&(s=`${s}&wdTpl=${o}`),i&&(s=`${s}&wdlcid=${i}`),n&&(s=`${s}&actNavId=${n}`),s}(r,n,o.navId,o.templateId,o.rebootOverrideData?o.rebootOverrideData.lcid:o.uiCulture,i):""}function U(t){return t?{wd:encodeURIComponent(t)}:{}}function y(t,{applicationUrl:e,bootstrapperUrl:n},o,i,r,s,a,c,u="officecom",f,l,d,h,p,m,w,g,b,S,v={}){const H={HostUIControls:b?[{id:"close",visibility:d?1:0},{id:"share",visibility:h?1:0},{id:"ellipsisOpenInBrowser",visibility:p?1:0},{id:"ellipsisDownload",visibility:m?1:0},{id:"copyLink",visibility:w?1:0},{id:"conversation",visibility:S?1:0}]:void 0,additionalApplicationParameters:v};return{BootstrapperUrl:n,Container:t,SessionInformation:i,ApplicationUrl:A(l,e,u,f,g),WopiPrecheckInfo:r,ApplicationCustomSettings:H,Diagnostics:s,FnOnInitializeSuccess:a,FnOnInitializeFailure:c,FnIsFeatureEnabled:I(),RebootOverrideData:f.rebootOverrideData,...o?{WopiInfo:o}:{}}}},46829:function(t,e,n){function o({onAcquireOAuthTokenTeams:t}){return async e=>{console.log("AcquireOAuthTokenTeamsHandler"),t&&t(e.AuthUrl)}}n.d(e,{T:function(){return o}})},59288:function(t,e,n){function o(t){return async e=>{(await n.e(6720).then(n.bind(n,20682))).accessibilityLoopCompleteHandler(t,e)}}n.d(e,{m:function(){return o}})},66900:function(t,e,n){function o(t){return async e=>{(await n.e(6720).then(n.bind(n,20682))).actionCompleteHandler(t,e)}}n.d(e,{m:function(){return o}})},63468:function(t,e,n){function o(t){return async e=>{(await n.e(6720).then(n.bind(n,20682))).caaeMessageHandler(t,e)}}n.d(e,{C:function(){return o}})},49332:function(t,e,n){function o(t){return async()=>{(await n.e(6720).then(n.bind(n,20682))).closeTeamsConversationHandler(t)}}n.d(e,{s:function(){return o}})},13366:function(t,e,n){function o(t){return async e=>{const o=await n.e(6720).then(n.bind(n,20682));await o.commonPickerHandler(t,e)}}n.d(e,{m:function(){return o}})},4861:function(t,e,n){function o(t){return async e=>{const o=await n.e(6720).then(n.bind(n,20682));await o.createNewHandler(t,e)}}n.d(e,{J:function(){return o}})},71199:function(t,e,n){function o(t){return async e=>{const o=await n.e(6720).then(n.bind(n,20682));await o.documentRebootHandler(t,e)}}n.d(e,{l:function(){return o}})},6486:function(t,e,n){function o(t){return async e=>{(await n.e(6720).then(n.bind(n,20682))).frameChangedHandler(t,e)}}n.d(e,{c:function(){return o}})},88418:function(t,e,n){function o(t){return async e=>{const o=await n.e(6720).then(n.bind(n,20682));await o.getAuthTokenHandler(t,e)}}n.d(e,{W:function(){return o}})},48774:function(t,e,n){function o(t){return async e=>{const o=await n.e(6720).then(n.bind(n,20682));await o.getClientUrlCompleteHandler(t,e)}}n.d(e,{g:function(){return o}})},49502:function(t,e,n){function o(t){return async()=>{const e=await n.e(6720).then(n.bind(n,20682));await e.getCustomAuthConfigHandler(t)}}n.d(e,{u:function(){return o}})},6395:function(t,e,n){function o(t){return async e=>{const o=await n.e(6720).then(n.bind(n,20682));await o.getWebUrlCompleteHandler(t,e)}}n.d(e,{h:function(){return o}})},48561:function(t,e,n){function o(t){return async()=>{const e=await n.e(6720).then(n.bind(n,20682));await e.loadingStatusHandler(t)}}n.d(e,{t:function(){return o}})},9399:function(t,e,n){function o(t){return async e=>{const o=await n.e(6720).then(n.bind(n,20682));await o.moveToFolderFilePickerHandler(t,e)}}n.d(e,{P:function(){return o}})},43010:function(t,e,n){function o(t){return async()=>{(await n.e(6720).then(n.bind(n,20682))).navigateBackToHostHandler(t)}}n.d(e,{m:function(){return o}})},54552:function(t,e,n){function o(t){return async()=>{(await n.e(6720).then(n.bind(n,20682))).openInBrowserHandler(t)}}n.d(e,{e:function(){return o}})},90299:function(t,e,n){function o(t){return async e=>{(await n.e(6720).then(n.bind(n,20682))).openInMobileAppHandler(t,e)}}n.d(e,{P:function(){return o}})},11731:function(t,e,n){function o(t){return async e=>{(await n.e(6720).then(n.bind(n,20682))).popStateCallback(t,e)}}function i({onPopState:t,supportsPopAndPushState:e}){e&&window.addEventListener("popstate",t)}n.d(e,{S:function(){return o},h:function(){return i}})},77802:function(t,e,n){function o(t){return async e=>{(await n.e(6720).then(n.bind(n,20682))).printRedirectHandler(t,e)}}n.d(e,{k:function(){return o}})},75276:function(t,e,n){function o(t){return async e=>{(await n.e(6720).then(n.bind(n,20682))).pushStateHandler(t,e)}}n.d(e,{C:function(){return o}})},89301:function(t,e,n){function o(t){return async e=>{const o=await n.e(6720).then(n.bind(n,20682));await o.renameHandler(t,e)}}n.d(e,{X:function(){return o}})},54483:function(t,e,n){function o(t){return async e=>{(await n.e(6720).then(n.bind(n,20682))).sendConversationIdHandler(t,e)}}n.d(e,{v:function(){return o}})},22854:function(t,e,n){function o(t){const e={...t,popupMetadata:{retry:0,dialogInvoked:!1,popupOpen:!1}};return async t=>{const o=await n.e(6720).then(n.bind(n,20682));await o.sessionRefreshInfoHandler(e,t)}}n.d(e,{g:function(){return o}})},92870:function(t,e,n){function o(t){return async e=>{const o=await n.e(6720).then(n.bind(n,20682));await o.shareHandler(t,e)}}n.d(e,{A:function(){return o}})},78604:function(t,e,n){function o(t){return async e=>{(await n.e(6720).then(n.bind(n,20682))).userAccessHandler(t,e)}}n.d(e,{Q:function(){return o}})},31413:function(t,e,n){function o(t){return async()=>{(await n.e(6720).then(n.bind(n,20682))).userActivityHandler(t)}}n.d(e,{x:function(){return o}})},62388:function(t,e,n){n.d(e,{RC:function(){return s},SM:function(){return o},fi:function(){return r},bn:function(){return a},j0:function(){return i}});let o=[];var i;function r(){o=[]}function s(t){return async e=>{const o=await n.e(6720).then(n.bind(n,20682));await o.wopiInfoFromUrlHandler(t,e)}}function a(t){return async e=>{const o=await n.e(6720).then(n.bind(n,20682));await o.davUrlFromIdsHandler(t,e)}}!function(t){t[t.GetWopiInfoFromUrl=0]="GetWopiInfoFromUrl",t[t.GetDavUrlFromIds=1]="GetDavUrlFromIds"}(i||(i={}))},27002:function(t,e,n){n.d(e,{Q:function(){return a}});var o=n(45118),i=n(97643),r=n(94762),s=n(78400);function a(t,e,n,a,c){if(a){const n=function(t){switch(t){case r.Ph.PostMessage_RefreshSessionInfo:return s.Y.sendSessionInfo;case r.Ph.PostMessage_GrantPermissions:return s.Y.sendUserAccessAndPermissions;case r.Ph.PostMessage_SetAuthToken:return s.Y.sendAuthToken;case r.Ph.PostMessage_HostAccessibilityLoopComplete:return s.Y.continueAccessibilityLoop;case r.Ph.PostMessage_SetHostWopiInfoFromUrl:return s.Y.sendWopiInfo;case r.Ph.PostMessage_MoveToFolderCompleted:return s.Y.moveToFolder;case r.Ph.PostMessage_CompleteFilePicker:return s.Y.completeSharedFilePicker;case r.Ph.PostMessage_SendCustomAuthConfig:return s.Y.sendCustomAuthConfig;case r.Ph.PostMessage_SetDavUrlFromIds:return s.Y.sendDavUrl;case r.Ph.PostMessage_BlurFocus:return s.Y.blurFocus;case r.Ph.PostMessage_PopState:return s.Y.popState;case r.Ph.PostMessage_GrabFocus:return s.Y.grabFocus;case r.Ph.PostMessage_HostGetClientUrl:return s.Y.getClientUrl;case r.Ph.PostMessage_HostGetWebUrl:return s.Y.getWebUrl;case r.Ph.PostMessage_HostBackButtonPressed:return s.Y.backButtonPressed;case r.Ph.PostMessage_HostSendChannelId:return s.Y.sendChannelId;case r.Ph.PostMessage_HostSendConversationId:return s.Y.sendConvId;case r.Ph.PostMessage_PostWacToken:return s.Y.postWacToken;default:return}}(t);if(n){const t=n;a.run(t,e).catch((t=>c?.ULS.sendTraceTag(512337544,o.n.Ro,i.k.Warning,`Failed to send post message. officeDocumentSession.run returned error: ${t}`)))}}else n?n.then((n=>{n?function(t,e,n,r){let s=null;try{s=new URL(t)}catch(e){return void r?.ULS.sendTraceTag(541180047,o.n.Ro,i.k.Warning,`Failed to send post message. could not create url from ${t} with error: ${e}`)}const a=s.origin,c={MessageId:e,SendTime:(new Date).getTime(),Values:n},u=JSON.stringify(c),f=document.getElementById("WebApplicationFrame");f?f?.contentWindow?.postMessage(u,a):r?.ULS.sendTraceTag(541180048,o.n.Ro,i.k.Warning,"Failed to send post message. Could not find iframe")}(n,t,e,c):c?.ULS.sendTraceTag(541180045,o.n.Ro,i.k.Warning,"Failed to send post message. appUrl is null")})).catch((t=>c?.ULS.sendTraceTag(512337543,o.n.Ro,i.k.Warning,`Failed to send post message. appUrlPromise failed to resolve with error: ${t}`))):c?.ULS.sendTraceTag(541180046,o.n.Ro,i.k.Warning,"Failed to send post message. Both documentSession and appUrlPromise are null")}},65311:function(t,e,n){n.d(e,{R4:function(){return r}});var o=n(17263),i=n(95002);function r(t){const e=(0,o.x9)(t);return e&&i.L?i.L.getItem(e):null}},48131:function(t,e,n){n.d(e,{$:function(){return i}});var o=n(22475);function i(t,e,n,i,s){if(!(i&&i.wopiHostData&&i.wopiHostData.wac&&i.wopiHostData.wac.accessToken&&i.wopiHostData.wac.accessTokenExpiry))throw new Error("Invalid wopiFetchData object");const a=document.createElement("form");return a.id=`owl_${e}_form`,a.action=t.toString(),a.method="post",a.target=n,a.onerror=()=>{s?.((0,o.u_)(),`Error occurred while submitting form. Redirect Scenario: ${e}, Service Endpoint: ${t.origin+t.pathname}`)},a.appendChild(r("access_token",i.wopiHostData.wac.accessToken)),a.appendChild(r("access_token_ttl",i.wopiHostData.wac.accessTokenExpiry)),a}function r(t,e){const n=document.createElement("input");return n.type="hidden",n.name=t,n.value=e,n}},28782:function(t,e,n){n.d(e,{HM:function(){return f},wZ:function(){return l}});var o=n(45118),i=n(97643),r=n(40560),s=n(90178),a=n(77809),c=n(80960),u=n(23644);function f(t,e,n,f,l,d,h,p,m){try{if(!(e&&e.wopiHostData&&e.wopiHostData.wac&&e.wopiHostData.wac.wopiSrc&&e.wopiHostData.wac.applicationUrl))throw new Error("Invalid wopiFetchData object in print flow");let{decodedServiceEndpointUrl:r,parameters:w}=(0,u.kn)(n,[c.zW.ServiceEndpoint,c.zW.RedirectUserClickTime,c.zW.RedirectToBrowserTimestamp]);(0,u.$C)(r,e.wopiHostData.wac.applicationUrl),l.set(c.d1.UserClickTime,(0,u.ng)(w,c.zW.RedirectUserClickTime)),l.set(c.d1.ToBrowserTimestamp,(0,u.ng)(w,c.zW.RedirectToBrowserTimestamp)),l.set("CorrelationId",f),r.searchParams.append("WOPIsrc",e.wopiHostData.wac.wopiSrc);const g=(t,e,n)=>{m&&(l.set(c.d1.FormSubmitTimestamp,`${t}`),l.set(c.d1.OnErrorTimestamp,`${e}`),l.set("ErrorName",s.by.QosError_PrintInBrowserFailedToOpenPdf),p?.ULS.sendTraceTag(506566347,o.n.Ro,i.k.Error,`Error occurred while submitting form. Redirect Scenario: PrintPDF, Service Endpoint: ${r.origin+r.pathname}`),(0,a.f)(m,s.by.QosError_PrintInBrowserFailedToOpenPdf,s.zJ.QosVeto_PrintInBrowserFailed,s.ex.li,l)),h?.(n)},b=(t,e)=>{l.set(c.d1.FormSubmitTimestamp,`${t}`),l.set(c.d1.OnLoadTimestamp,`${e}`),m?.recordKpiSuccess(s.ex.li,{inStaging:!0,extendedProperties:l}),d?.()};(0,a.o)(r,c.jy.PrintPDF,e,t,l,p,g,b)}catch(t){p&&m&&function(t,e,n,c){const u=`Unknown error occurred during print redirect execution. Error: ${(0,r.M5)(t)}`;e.set("ErrorName",s.by.QosError_PrintInBrowserUnknownFailure),e.set("ErrorMessage",`${t}`),n?.ULS.sendTraceTag(506566346,o.n.Ro,i.k.Error,u),(0,a.f)(c,s.by.QosError_PrintInBrowserUnknownFailure,s.zJ.QosVeto_PrintInBrowserFailed,s.ex.li,e)}(t,l,p,m)}}function l(){return(0,u.Pq)(c.jy.PrintPDF)}},77809:function(t,e,n){n.d(e,{f:function(){return u},o:function(){return c}});var o=n(48131),i=n(45118),r=n(97643),s=n(22475),a=n(80960);function c(t,e,n,c,u,f,l,d){const h=`owl_${e}_iframe`,p=(0,o.$)(t,e,h,n,((t,e)=>{l?.(w,t,e)})),m=document.createElement("iframe");m.name=h,m.id=h,m.style.width="100%",m.style.height="100%",m.style.border="none",c.container.appendChild(p),c.container.appendChild(m),m.onload=()=>{f?.ULS.sendTraceTag(506566348,i.n.Ro,r.k.Info,`Iframe Loaded. Redirect Scenario: ${e}, Service Endpoint: ${t.origin+t.pathname}, Original Redirect Session Id: ${u.get(a.d1.OriginalRedirectSessionId)??""}`),d?.(w,(0,s.u_)())},c.container.style.width="100%",c.container.style.height="100%",c.container.style.inset="0px";const w=(0,s.u_)();try{p.submit()}catch(t){l?.(w,w,t.message)}}function u(t,e,n,o,i){const r={inStaging:!0,extendedProperties:i};t.recordQosError(e,[n],!1,!1,!1,!1,r),t.recordKpiFailure(o,e,!1,!1,r)}},80960:function(t,e,n){var o,i,r;n.d(e,{d1:function(){return i},jy:function(){return r},zW:function(){return o}}),function(t){t.ServiceEndpoint="sE",t.RedirectScenario="rS",t.RedirectUserClickTime="rUCT",t.RedirectToBrowserTimestamp="rTBT",t.RedirectSessionIdentifier="rOSI"}(o||(o={})),function(t){t.UserClickTime="UserClickTime",t.ToBrowserTimestamp="ToBrowserTimestamp",t.FormSubmitTimestamp="FormSubmitTimestamp",t.OnLoadTimestamp="OnLoadTimestamp",t.OnErrorTimestamp="OnErrorTimestamp",t.OriginalRedirectSessionId="OriginalRedirectSessionId"}(i||(i={})),function(t){t.PrintPDF="PrintPDF",t.Other="Other"}(r||(r={}))},23644:function(t,e,n){n.d(e,{$C:function(){return c},Pq:function(){return s},eD:function(){return a},kn:function(){return i},ng:function(){return r}});var o=n(80960);function i(t,e){const n=function(t,e){const n=[];if(e.forEach((e=>{try{r(t.searchParams,e)}catch{n.push(e)}})),n.length>0)throw new Error(`${n.join(", ")} is/are not present in the URL`);return t.searchParams}(t,e),i=r(n,o.zW.ServiceEndpoint);return{decodedServiceEndpointUrl:new URL(decodeURIComponent(i)),parameters:n}}function r(t,e){if(!t.has(e))throw new Error(`${e} is not present in the URL`);return t.get(e)}function s(t){const e=new URL(window.location.href);return t?u(e,t):Object.values(o.jy).some((t=>u(e,t)))}function a(t){return r(t.searchParams,o.zW.RedirectSessionIdentifier)}function c(t,e){const n=new URL(e);t.hostname=n.hostname,t.protocol=n.protocol}function u(t,e){try{return r(t.searchParams,o.zW.RedirectScenario)===e}catch{return!1}}},40469:function(t,e,n){n.d(e,{Q7:function(){return bt},an:function(){return gt},h1:function(){return mt},k3:function(){return St},qO:function(){return wt}});var o,i=n(22475),r=n(45118),s=n(97643),a=n(24651),c=n(52256),u=n(78400),f=n(71472),l=n(18409),d=n(7443),h=n(38217),p=n(76043),m=n(20501),w=n(85441),g=n(63821),b=n(4404),S=n(76954),v=n(64974),H=n(62388),I=n(27002),C=n(71199),A=n(89301),U=n(22854),y=n(92870),P=n(77802),T=n(78604),E=n(31413),k=n(4861),N=n(88418),F=n(54483),R=n(49332),W=n(43010),D=n(59288),O=n(48774),M=n(48561),j=n(6395),B=n(66900),_=n(54552),x=n(90299),L=n(9399),K=n(13366),$=n(49502),V=n(75276),q=n(63468),G=n(46829),J=n(11731),z=n(6486),Z=n(94762),Q=n(90178),X=n(99028),Y=n(13091),tt=n(56839),et=n(58928),nt=n(26995),ot=n(30021),it=n(34464),rt=n(82915),st=n(53581);!function(t){t[t.Completed=0]="Completed",t[t.Unloaded=1]="Unloaded",t[t.Timeout=2]="Timeout"}(o||(o={}));const at="officeapps.live.com",ct=2e3,ut=9e3,ft=9500,lt=6e5,dt=15e4,ht=[],pt=new tt.Z;let mt={BootAttempted:!1,BootSucceeded:!1,PostWacTokenAttempted:!1},wt={};function gt(){mt={BootAttempted:!1,BootSucceeded:!1,PostWacTokenAttempted:!1}}function bt(t){const e=Promise.all([Y.jW,pt]).then((t=>t[1])),n=new Promise((t=>window.addEventListener("beforeunload",(e=>t(o.Unloaded))))),a=new Promise((t=>setTimeout((()=>t(o.Timeout)),dt)));Promise.race([e,n,a]).then((e=>{const n=e===o.Unloaded;wt.PostWacTokenLoggerFlushTime=(0,i.u_)(),wt.Unloaded=n,wt.flush&&delete wt.flush,t&&(t.ULS.sendTraceTag(507540257,r.n.Ro,s.k.Important,JSON.stringify(wt)),n?t.ULS.flushOnClose():t.ULS.flush()),wt={}})).catch((()=>{t&&t.ULS.sendTraceTag(507540256,r.n.Ro,s.k.Warning,"Failed to log PostWacTokenTelemetry")}))}function St(t){const e=t.sessionConfig.bootDiagnostics?.hostPageFirstFlushTime||(0,i.u_)(),{documentBootInfo:n,fetchItemFromNetwork:b,fetchAccessToken:dt,sessionConfig:gt,container:bt,setTitle:St,onBootComplete:Ht,onBootFailure:It,onReturnFocus:Ct,onConversationClose:At,onNavigateBack:Ut,onOpenPageLevelConversation:yt,onDocumentClose:Pt,onSuccessNotification:Tt,onDismissHostSpinner:Et,uiHostConfig:kt,createDocument:Nt,openShareControl:Ft,onOpenInMobileApp:Rt,sharingLinkTokenProvider:Wt,onUserActivity:Dt,onCAAEMessage:Ot,onAcquireOAuthTokenTeams:Mt,onUserAccess:jt,onMoveToFolder:Bt,onSharedFilePicker:_t,onRename:xt,initPackageParams:Lt,onFrameChange:Kt,invokeSessionRefreshInfoPopupBlockedDialog:$t,onFileEmbed:Vt,bootstrapFile:qt}=t,Gt=kt?.supportsExplicitUnload;gt.logger||(gt.logger=(0,c.Jf)());const{hostCorrelationId:Jt,isMsa:zt,tenantId:Zt,shareApiEndpoint:Qt,organizationName:Xt,logger:Yt,hostClientType:te,channelId:ee,health:ne}=gt,oe=(0,S.PS)(n.fileType,kt?.featureGates,Yt);Yt?.ULS.sendTraceTag(576578584,r.n.Ro,s.k.Info,"Lean Ui Host: bootApp");const ie=(0,a.f)(lt);let re,se=[];const ae=t=>new Promise((e=>{oe&&!ie&&e("No active session to close. Return from here."),ht&&ht.forEach((t=>{clearInterval(t),clearTimeout(t)}));const o=t=>{Yt?.ULS.sendTraceTag(575411776,r.n.Ro,s.k.Info,"Dispose the WAC frame. And reboot: "+(t?"true":"false")),He.next(t),He.complete(),e("WAC frame disposed")},i=()=>{n.fileType===l.p.Excel&&(0,H.fi)(),ge?.unsubscribe(),be?.unsubscribe()};if(!pe)return Yt?.ULS.sendTraceTag(529093076,r.n.Ro,s.k.Warning,"No active session exists, when endSession is called!! Bail out endSession"),void o(t);if(oe){pe?.removeEventListener(re),ie?.cancel();const e=function(t){if(t===l.p.OneNote)return(0,a.f)(ut)}(n.fileType);pe?.dispose(e).catch((t=>{Yt?.ULS.sendTraceTag(527257879,r.n.Ro,s.k.Error,`Error waiting for Unloaded event from WAC. Force to dispose session if app is not unloaded. appUnloaded: ${Ie}, Error: ${t}`)})).finally((()=>{i(),o(t)})),e?.cancel()}else if(se.forEach((([t,e])=>{pe.RemoveEventHandler(t,e)})),pe?.Dispose(Gt,function(t){if(t===l.p.OneNote)return ut}(n.fileType)),i(),Gt){const e=()=>{Yt?.ULS.sendTraceTag(575411777,r.n.Ro,s.k.Info,"Receive Unloaded Event from WAC"),Ie=!0,clearTimeout(i),o(t)};pe.RegisterEventHandler(Z.O5.Event_Unloaded,e);const i=window.setTimeout((()=>{Yt?.ULS.sendTraceTag(575411778,r.n.Ro,s.k.Info,`Time out on waiting for Unloaded event from WAC. Force to dispose session if app is not unloaded. appUnloaded: ${Ie}`),Ie||o(t)}),n.fileType===l.p.OneNote?ft:ct)}else Yt?.ULS.sendTraceTag(575271647,r.n.Ro,s.k.Info,"No Explicit Unload. Tear down the WAC frame to end session."),o(t)})),ce=(t,e,o)=>{const i=Promise.resolve(t?.wac?.applicationUrl),a=()=>vt(e),c=kt?.sessionOriginPrefix??"TEAMS.UNIFIEDUIHOST.",u=(0,C.l)({getCurrentDocumentInfo:a,health:ne,getWdOrigin:t=>`${c}${t}`,reboot:(t,e)=>{ae({documentBootInfo:t,navigationRequired:!e}).catch((()=>{Yt?.ULS.sendTraceTag(512296464,r.n.Ro,s.k.Error,"endSession: endSession error in DocumentReboot")}))}}),f=(0,A.X)({bootedDocumentInfo:e,getCurrentDocumentInfo:a,hostRenameCallback:xt,health:ne}),l=(0,U.g)({hostUrl:gt?.hostUrl,supportsRefreshTokenReauthPopUp:kt?.supportsRefreshTokenReauthPopUp,getCurrentDocumentInfo:a,documentBootInfo:n,fetchItemFromNetwork:b,officeDocumentSession:o,appUrlPromise:i,invokePopupBlockedDialog:$t,logger:Yt,health:ne}),d=(0,y.A)({getCurrentDocumentInfo:a,sharePointInfo:t.sharePointInfo,shareApiEndPointBase:Qt,fetchAccessToken:dt,openShareControl:Ft,correlationId:fe,isMsa:zt,tenantId:Zt,organizationName:Xt,onOpen:()=>{(0,I.Q)(Z.Ph.PostMessage_BlurFocus,void 0,he,me,Yt)},onClose:()=>{(0,I.Q)(Z.Ph.PostMessage_GrabFocus,void 0,he,me,Yt)},health:ne,featureGates:kt?.featureGates,logger:Yt}),h=(0,P.k)({webUrl:t.webUrl??"",logger:Yt,health:ne,correlationId:fe,sessionId:gt?.sessionId??""}),p=jt??(0,T.Q)({getCurrentDocumentInfo:a,shareHandler:d,officeDocumentSession:o,appUrlPromise:i,logger:Yt,health:ne}),m=(0,E.x)({getCurrentDocumentInfo:a,onUserActivity:Dt,health:ne}),w=(0,k.J)({getCurrentDocumentInfo:a,createDocument:Nt,getWdOrigin:t=>`${c}${t}`,reboot:(t,e)=>{ae({documentBootInfo:t,navigationRequired:!e}).catch((t=>{const e=(0,et.SI)(et.dT.FeatureGate_CommandingAshaVetoes,kt?.featureGates);(0,et.lO)(et.dT.FeatureGate_CommandingAshaVetoes,e,Yt),e&&ne?.recordQosError(Q.by.QosError_CreateNewHandlerEndSessionFailure,[Q.zJ.QosVeto_CreateNewExperienceDegraded],!1,!1,!1,!1,{inStaging:!0,extendedProperties:new Map([["ErrorName",Q.by.QosError_CreateNewHandlerEndSessionFailure],["CorrelationId",`${fe}`],["Reason",t]])}),Yt?.ULS.sendTraceTag(512296463,r.n.Ro,s.k.Error,"endSession: endSession error in DocumentCreate")}))},logger:Yt,health:ne,correlationId:fe}),g=(0,N.W)({getCurrentDocumentInfo:a,fetchAccessToken:dt,officeDocumentSession:o,appUrlPromise:i,logger:Yt,health:ne}),S=(0,F.v)({getCurrentDocumentInfo:a,onOpenPageLevelConversation:yt,hostSendConversationId:Ce,health:ne}),v=(0,R.s)({getCurrentDocumentInfo:a,onConversationClose:At,health:ne}),X=(0,W.m)({getCurrentDocumentInfo:a,onNavigateBack:Ut,health:ne}),Y=(0,D.m)({getCurrentDocumentInfo:a,onReturnFocus:Ct,health:ne}),tt=(0,O.g)({getCurrentDocumentInfo:a,hostClientType:te,logger:Yt,openInMobileAppCallback:Rt,health:ne}),nt=(0,M.t)({getCurrentDocumentInfo:a,channelId:ee,officeDocumentSession:o,appUrlPromise:i,health:ne}),ot=(0,j.h)({getCurrentDocumentInfo:a,hostClientType:te,logger:Yt,health:ne}),it=(0,H.RC)({getCurrentDocumentInfo:a,fetchItemFromNetwork:b,officeDocumentSession:o,appUrlPromise:i,logger:Yt,health:ne}),rt=(0,H.bn)({getCurrentDocumentInfo:a,fetchItemFromNetwork:b,officeDocumentSession:o,appUrlPromise:i,logger:Yt,health:ne}),st=(0,B.m)({getCurrentDocumentInfo:a,logger:Yt,webUrl:t.webUrl??"",health:ne}),at=(0,_.e)({getCurrentDocumentInfo:a,logger:Yt,webUrl:t.webUrl??"",health:ne,correlationId:fe}),ct=(0,x.P)({getCurrentDocumentInfo:a,logger:Yt,openInMobileAppCallback:Rt,health:ne,correlationId:fe}),ut={appUrlPromise:i,container:bt,fetchAccessToken:dt,fetchItemFromNetwork:b,getCurrentDocumentInfo:a,host:kt?.uiHostName,health:ne,logger:Yt,officeDocumentSession:o,wopiHostData:t,sessionConfig:gt,uiHostConfig:kt,initPackageParams:Lt},ft=Bt??(0,L.P)(ut),lt=_t??(0,K.m)(ut),ht=(0,$.u)({customAuthConfigValue:gt?.customAuthConfigValue,getCurrentDocumentInfo:a,officeDocumentSession:o,appUrlPromise:i,logger:Yt,health:ne}),pt=(0,V.C)({getCurrentDocumentInfo:a,supportsPopAndPushState:kt?.supportsPopAndPushState,logger:Yt,sharingLinkTokenProvider:Wt,health:ne}),mt=(0,q.C)({getCurrentDocumentInfo:a,onCAAEMessage:Ot,health:ne}),wt=(0,G.T)({getCurrentDocumentInfo:a,onAcquireOAuthTokenTeams:Mt,health:ne}),St=(0,J.S)({getCurrentDocumentInfo:a,appUrlPromise:i,logger:Yt,officeDocumentSession:o,health:ne});return(0,J.h)({getCurrentDocumentInfo:a,onPopState:St,supportsPopAndPushState:kt?.supportsPopAndPushState,health:ne}),{documentRebootHandler:u,renameHandler:f,sessionRefreshInfoHandler:l,shareHandler:d,printRedirectHandler:h,userAccessHandler:p,userActivityHandler:m,createNewHandler:w,getAuthTokenHandler:g,sendConversationIdHandler:S,closeTeamsConversationHandler:v,navigateBackToHostHandler:X,accessibilityLoopCompleteHandler:Y,getClientUrlCompleteHandler:tt,getWebUrlCompleteHandler:ot,loadingStatusHandler:nt,wopiInfoFromUrlHandler:it,davUrlFromIdsHandler:rt,onCloseHandler:()=>{Yt?.ULS.sendTraceTag(575545427,r.n.Ro,s.k.Info,"Handle UI_Close post message from WAC. onCloseHandler exist: "+(Pt?"true":"false")),Pt&&Pt()},actionCompleteHandler:st,openInBrowserHandler:at,openInMobileAppHandler:ct,moveToFolderPickerHandler:ft,commonFilePickerHandler:lt,getCustomAuthConfigHandler:ht,pushStateHandler:pt,caaeMessageHandler:mt,frameChangedHandler:(0,z.c)({getCurrentDocumentInfo:a,onFrameChange:Kt,health:ne}),fileEmbedHandler:()=>{Vt&&Vt()},dismissSplashScreenHandler:()=>{const t=document.getElementById("splashscreen-container");t&&(t.style.display="none")},acquireOAuthTokenTeamsHandler:wt}},ue=Lt?.jsApiUrlInfos?Lt?.jsApiUrlInfos:new Map;0===ue.size&&ue.set(l.p.Word,{jsApiUrl:Lt?.wordBootstrapperUrlInfo?.url,jsApiSri:Lt?.wordBootstrapperUrlInfo?.sri,jsApiBackupUrl:Lt?.wordBootstrapperUrlInfo?.url,PreloadedInBootStrapper:Lt?.wordBootstrapperUrlInfo?.wordJsApiPreloadedInBootStrapper});const{correlationId:fe,bootstrapperObservable:le,fileNamePromise:de,applicationUrlPromise:he}=(0,v.Az)(n,Jt,b,kt,gt,It,!1,Tt,((t,e,n,o)=>{pe=t;const i=new d.t(n),{documentRebootHandler:r,renameHandler:s,sessionRefreshInfoHandler:a,shareHandler:c,printRedirectHandler:u,userAccessHandler:f,userActivityHandler:l,createNewHandler:h,getAuthTokenHandler:p,sendConversationIdHandler:m,closeTeamsConversationHandler:w,navigateBackToHostHandler:g,accessibilityLoopCompleteHandler:b,getClientUrlCompleteHandler:S,getWebUrlCompleteHandler:v,loadingStatusHandler:H,wopiInfoFromUrlHandler:I,davUrlFromIdsHandler:C,onCloseHandler:A,actionCompleteHandler:U,openInBrowserHandler:y,openInMobileAppHandler:P,moveToFolderPickerHandler:T,commonFilePickerHandler:E,getCustomAuthConfigHandler:k,pushStateHandler:N,caaeMessageHandler:F,frameChangedHandler:R,fileEmbedHandler:W,dismissSplashScreenHandler:D,acquireOAuthTokenTeamsHandler:O}=ce(e,i,o),M=(0,et.SI)(et.dT.FeatureGate_UseNewEuplReporting,kt?.featureGates);re=t=>{const e=t.data;switch(t.type){case X.V.Reboot:r(e);break;case X.V.FileRenamed:s(e);break;case X.V.UserAccessAndPermissions:f(e);break;case X.V.Share:c(e);break;case X.V.PrintRedirect:u(e);break;case X.V.UserActivity:l(e);break;case X.V.CreateNewDocument:h(e);break;case X.V.RefreshSessionInfo:a(e);break;case X.V.GetAuthToken:p(e);break;case X.V.AccessibilityLoopCompleted:b(e);break;case X.V.AcquireOAuthTokenTeams:O(e);break;case X.V.GetClientUrlComplete:S(e);break;case X.V.LoadingStatus:H(e);break;case X.V.GetWebUrlComplete:v(e);break;case X.V.NavigateBackToHost:g(e);break;case X.V.SendConversationId:m(e);break;case X.V.CloseTeamsConversation:w(e);break;case X.V.GetWopiInfoFromUrl:I(e);break;case X.V.Close:A();break;case X.V.ActionCompleted:U(e);break;case X.V.OpenInBrowser:y(e);break;case X.V.OpenInMobileApp:P(e);break;case X.V.MoveToFolder:T(e);break;case X.V.SharedFilePicker:E(e);break;case X.V.GetCustomAuthConfig:k(e);break;case X.V.GetDavUrlFromIds:C(e);break;case X.V.PushState:N(e);break;case X.V.CAAEMessage:F(e);break;case X.V.FrameChanged:R(e);break;case X.V.FileEmbed:W();break;case X.V.InitEnd:M&&Tt?.(M);break;case X.V.SplashScreenShown:M&&Et?.(),D()}},pe.addEventListener(re)}),ie,ue,qt);let pe,me,we,ge,be;Yt?.ULS.sendTraceTag(546182048,r.n.Ro,s.k.Info,"BootApp: Load document returned"),de.then((t=>St?.(t))).catch((()=>"obligatory catch"));const Se=new tt.Z(Yt),ve=new tt.Z(Yt),He=new h.B7;let Ie;const Ce=t=>{(0,I.Q)(Z.Ph.PostMessage_HostSendConversationId,{conversationId:t},he,me,Yt)},Ae=t=>{const e=(0,i.u_)(),n=(0,i.Wv)();mt.PostWacTokenStartTime=wt.PostWacTokenStartTime=e,mt.PostWacTokenAttempted=wt.PostWacTokenAttempted=!0,ne?.recordKpiUsage(Q.ex.di,f.v.SuccessBased,Q.S2.FC_Owl,void 0),Yt?.ULS.sendTraceTag(507597022,r.n.Ro,s.k.Important,"postWacToken flow initiated"),Y.gp&&Yt?.ULS.sendTraceTag(507377673,r.n.Ro,s.k.Warning,"Calling postWacToken after usage telemetry has been logged"),Promise.race([Se,ve]).then((a=>{a.run?(Yt?.ULS.sendTraceTag(507597021,r.n.Ro,s.k.Info,`officeDocSession created after ${(0,i.u_)()-e} ms`),a.run(u.Y.postWacToken,{wacToken:t,postWacTokenStart:n}).then((t=>{wt.PostWacTokenResult=t.completion,wt.PostWacTokenEndTime=(0,i.u_)(),t.data&&void 0!==t.data.TokenAlreadySet&&(wt.TokenAlreadySet=t.data.TokenAlreadySet),pt.resolve(o.Completed)})).catch((t=>{wt.PostWacTokenResult="Unexpected JSAPI V2 error",wt.PostWacTokenEndTime=(0,i.u_)(),Yt?.ULS.sendTraceTag(507852515,r.n.Ro,s.k.Warning,`Caught error running postWacToken flow: ${t}`),pt.resolve(o.Completed)}))):a.PostWacToken?(Yt?.ULS.sendTraceTag(507597020,r.n.Ro,s.k.Info,`wopiPending created after ${(0,i.u_)()-e} ms`),wt.flush=()=>{pt.resolve(o.Completed)},a.PostWacToken(t,n,wt)):(wt.PostWacTokenResult="Unexpected OWL error",wt.PostWacTokenEndTime=(0,i.u_)(),Yt?.ULS.sendTraceTag(507852514,r.n.Ro,s.k.Warning,"postWacToken: WopiPending or OfficeDocumentSession is not defined. This should never happen, the catch callback should be hit instead."),pt.resolve(o.Completed))})).catch((()=>{wt.PostWacTokenResult="Error occurred instantiating JSAPI session in OWL",wt.PostWacTokenEndTime=(0,i.u_)(),Yt?.ULS.sendTraceTag(507852513,r.n.Ro,s.k.Warning,"Neither JSAPI v1 or v2 applications were created"),pt.resolve(o.Completed)}))};return ge=function(t,e,n){return t.pipe((0,m.H)((t=>t({container:e,flushTime:n}))))}(le,bt,e).subscribe((({officeApplication:t,bootedDocumentInfo:e,wopiHostData:o,wopiPendingApp:a,officeDocumentSession:c,wacBootDiagnostics:u})=>{if(pe=t,me=c,we=a,me)Se.resolve(me);else if(we)ve.resolve(we);else{const t="No session found";Se.reject(t),ve.reject(t)}const f=(0,et.SI)(et.dT.FeatureGate_OwlPostWacTokenForTeamsHosts,kt?.featureGates);f&&!ot.Q5&&Y.Y3&&(Yt.ULS.sendTraceTag(507347490,r.n.Ro,s.k.Important,"WAC token posted after jsapi boot use postWacToken method"),ne?.recordKpiSuccess(Q.ex.Yo,{extendedProperties:new Map([["scenario","postWacTokenAfterBoot"]])}),Y.Y3?.then((t=>{Ae(t)})).catch((t=>{Yt.ULS.sendTraceTag(507347290,r.n.Ro,s.k.Error,`WAC token atempted to be posted after jsapi boot using postWacToken method, but failed: ${t}`)}))),f&&(0,ot.r$)();const d=(0,p.R)(window,"message").pipe((0,w.p)((t=>!!t.data&&!!t.origin&&t.origin.endsWith(at))),(0,g.T)((t=>JSON.parse(t.data))),(0,w.p)((t=>!(!t||!t.MessageId))));if(!oe){const{documentRebootHandler:i,renameHandler:r,sessionRefreshInfoHandler:s,shareHandler:a,userAccessHandler:u,userActivityHandler:f,createNewHandler:h,getAuthTokenHandler:p,sendConversationIdHandler:m,closeTeamsConversationHandler:w,navigateBackToHostHandler:g,accessibilityLoopCompleteHandler:b,getClientUrlCompleteHandler:S,getWebUrlCompleteHandler:v,loadingStatusHandler:H,wopiInfoFromUrlHandler:I,davUrlFromIdsHandler:C,onCloseHandler:A,actionCompleteHandler:U,openInBrowserHandler:y,moveToFolderPickerHandler:P,commonFilePickerHandler:T,getCustomAuthConfigHandler:E,pushStateHandler:k,caaeMessageHandler:N,fileEmbedHandler:F,acquireOAuthTokenTeamsHandler:R}=ce(o,e,c);se=[[Z.bi.PostMessage_SendConversationId,m],[Z.bi.PostMessage_CloseTeamsConversation,w],[Z.bi.PostMessage_NavigateBackToHost,g],[Z.bi.PostMessage_AccessibilityLoopComplete,b],[Z.bi.PostMessage_GetClientUrlComplete,S],[Z.bi.PostMessage_GetWebUrlComplete,v],[Z.bi.PostMessage_LoadingStatus,H],[Z.O5.Event_DocumentReboot,i],[Z.bi.PostMessage_FileRenamed,r],[Z.bi.PostMessage_CheckUserAccess,u],[Z.bi.PostMessage_Share,a],[Z.bi.PostMessage_UserActivity,f],[Z.bi.PostMessage_AppCreateNewDocument,h],[Z.bi.PostMessage_OpenInBrowser,y],[Z.O5.Event_MoveToFolder,P],[Z.O5.Event_SharedFilePicker,T],[Z.O5.Event_GetCustomAuthConfig,E],[Z.bi.PostMessage_CAAEMessage,N],[Z.bi.PostMessage_AcquireOAuthTokenTeams,R]],n.fileType===l.p.Excel&&(se.push([Z.O5.Event_GetWopiInfoFromUrl,I]),se.push([Z.O5.Event_GetDavUrlFromIds,C])),se.forEach((([e,n])=>{t.RegisterEventHandler(e,n)})),be=d.subscribe((t=>{switch(t.MessageId){case Z.bi.PostMessage_AppRefreshSessionInfo:s(t.Values);break;case Z.bi.PostMessage_GetAuthToken:p(t.Values);break;case Z.bi.PostMessage_Close:A();break;case Z.bi.PostMessage_ActionComplete:U(t.Values);break;case Z.bi.PostMessage_AppPushState:k(t.Values);break;case Z.bi.PostMessage_FileEmbed:F()}}))}if(Ht){Yt?.ULS.sendTraceTag(546182049,r.n.Ro,s.k.Info,"BootApp: About to execute OnBootComplete"),(0,i.l8)(it.ls.OwlOnBootComplete);const t=(0,it.nC)((0,it.nu)("owl"));if(Yt?.ULS.sendTraceTag(508568928,r.n.Ro,s.k.Important,`FileType: ${n.fileType}, Environment: ${gt.wiseEnvironment}, Feature Gates: ${kt?.featureGates?(0,rt.c)(kt?.featureGates):"{}"}, UiHost: ${kt?.uiHostName}, Integration Type: ${kt?.uiHostIntegrationType}, OwlTraditional Telemetry Data: ${JSON.stringify(t)}`),"PRODUCTION"===gt.wiseEnvironment){const t=(0,et.SI)(et.dT.FeatureGate_EnableJsapiTags,kt?.featureGates);setTimeout((async()=>{const e=document.createElement("div");document.body.appendChild(e),(0,st.J)(e,n.fileType,Yt,t);const o=setInterval((()=>{(0,st.J)(e,n.fileType,Yt,t)}),18e5);ht.push(o)}),3e4)}ne?.recordKpiSuccess(Q.ex.hi),vt(e).then((t=>{Ht(n,u,t)})).catch((t=>{Ht(n,u)}))}}),(t=>{It&&(Yt?.ULS.sendTraceTag(546182050,r.n.Ro,s.k.Info,"BootApp: About to execute OnBootFailure"),ne?.recordKpiFailure(Q.ex.hi,t.errorName,!0,!1,{extendedProperties:new Map([["errorMessage",t.errorMessage],["wacErrorName",t.wacErrorName],["qosErrorName",t.qosErrorName]])}),It(t)),ge?.unsubscribe(),be?.unsubscribe()})),{endSession:ae,sessionEndObservable:He.asObservable(),hostAccessibilityLoopComplete:t=>((0,I.Q)(Z.Ph.PostMessage_HostAccessibilityLoopComplete,{Direction:t?"forward":"backward"},he,me,Yt),!0),hostGetClientUrl:()=>{(0,I.Q)(Z.Ph.PostMessage_HostGetClientUrl,{},he,me,Yt)},hostGetWebUrl:()=>{(0,I.Q)(Z.Ph.PostMessage_HostGetWebUrl,{},he,me,Yt)},hostBackButtonPressed:()=>((0,I.Q)(Z.Ph.PostMessage_HostBackButtonPressed,{},he,me,Yt),!0),hostSendConversationId:Ce,postWacToken:Ae,completeCreateNew:t=>{"success"===t.state&&t.newFile&&t.newFile.title&&(nt.W.fileName=t.newFile.title),nt.W.sessionPromise.then((e=>{e?e.run(u.Y.completeCreateNew,t).then((t=>nt.W.completeCreateNew(t))).catch((t=>{Yt.ULS.sendTraceTag(507778315,r.n.Ro,s.k.Warning,`Caught error running completeCreateNew flow: ${t}`),nt.W.failCreateNew(t)})):(Yt.ULS.sendTraceTag(507778314,r.n.Ro,s.k.Warning,"Attempting to run completeCreateNew flow without an OfficeDocumentSession."),nt.W.failCreateNew(new Error("session is undefined")))})).catch((t=>{Yt.ULS.sendTraceTag(507331607,r.n.Ro,s.k.Error,`Encountered error in completeCreateNew: ${t}`)}))}}}function vt(t){return(e=t,e.asObservable().pipe((0,b.s)(1)).toPromise()).then((t=>(!t.fileName&&nt.W.fileName&&(t.fileName=nt.W.fileName),t)));var e}},31365:function(t,e,n){var o;function i(t){const e=t.toUpperCase();return"CHC"===e||"DEC"===e||"EUC"===e||"EURPPC"===e||"FRC"===e||"SEC"===e||"NOC"===e?o.EuropeanUnion:o.RestOfWorld}n.d(e,{n:function(){return o},y:function(){return i}}),function(t){t[t.RestOfWorld=0]="RestOfWorld",t[t.EuropeanUnion=1]="EuropeanUnion"}(o||(o={}))},58125:function(t,e,n){n.d(e,{C6:function(){return s},ob:function(){return a},yc:function(){return r}});var o=n(31365);function i(t,e){switch(t){case"FASTFOOD":return"https://ffc-common.online.office.com/suite/";case"MSIT":return"https://ppc-common.online.office.com/suite/";case"PRODUCTION":default:return e===o.n.EuropeanUnion?"https://euc-common.online.office.com/suite/":"https://common.online.office.com/suite/";case"GALLATIN":return"https://common.partner.officewebapps.cn/suite/";case"USGOV":return"https://gbc-common.online.office.com/suite/";case"TRAILBLAZER":return"https://common.gov.online.office365.us/suite/";case"PATHFINDER":return"https://common.dod.online.office365.us/suite/";case"AIRGAP08":return"https://common.wac.online.office.eaglex.ic.gov/suite/";case"AIRGAP09":return"https://common.wac.online.office.microsoft.scloud/suite/"}}function r(t,e){return i(t,e)+"RemoteUls.ashx"}function s(t,e,n){let o=i(t,n)+"RemoteTelemetry.ashx";return e&&(o+="?usid="+e),o}function a(t){switch(t){case"GALLATIN":return"https://microsoftgraph.chinacloudapi.cn";case"TRAILBLAZER":return"https://graph.microsoft.us";case"PATHFINDER":return"https://dod-graph.microsoft.us";case"AIRGAP08":return"https://graph.eaglex.ic.gov";case"AIRGAP09":return"https://graph.microsoft.scloud";default:return"https://graph.microsoft.com"}}},94762:function(t,e,n){var o,i,r,s,a,c;n.d(e,{O5:function(){return o},Ph:function(){return s},bi:function(){return i},n_:function(){return a}}),function(t){t.Event_DocumentReboot="DocReboot",t.Event_SetOverlayContent="SetOverlayContent",t.Event_GetWopiInfoFromUrl="WopiInfoFromUrl",t.Event_Unloaded="Unloaded",t.Event_MoveToFolder="MoveToFolder",t.Event_SharedFilePicker="FilePicker",t.Event_GetCustomAuthConfig="GetCustomAuthConfig",t.Event_GetDavUrlFromIds="DavUrlFromIds"}(o||(o={})),function(t){t.PostMessage_FileRenamed="File_Rename",t.PostMessage_Close="UI_Close",t.PostMessage_EditModeSwitch="UI_Edit",t.PostMessage_FileVersion="UI_FileVersions",t.PostMessage_SaveStatus="UI_SaveStatus",t.PostMessage_Share="UI_Sharing",t.PostMessage_Workflow="UI_Workflow",t.PostMessage_UserActivity="User_Activity",t.PostMessage_EditNotification="Edit_Notification",t.PostMessage_CheckUserAccess="UI_CheckUserAccessAndGrantPermissions",t.PostMessage_PostMessageDocReboot="App_DocReboot",t.PostMessage_AppRefreshSessionInfo="App_RefreshSessionInfo",t.PostMessage_AppCreateNewDocument="App_CreateNewDocument",t.PostMessage_GetAuthToken="App_GetAuthToken",t.PostMessage_NavigateBackToHost="NavigateBackToHost",t.PostMessage_SendConversationId="App_SendConversationId",t.PostMessage_CloseTeamsConversation="CloseTeamsConversation",t.PostMessage_AccessibilityLoopComplete="App_AccessibilityLoopComplete",t.PostMessage_GetClientUrlComplete="App_GetClientUrlComplete",t.PostMessage_GetWebUrlComplete="App_GetWebUrlComplete",t.PostMessage_LoadingStatus="App_LoadingStatus",t.PostMessage_ActionComplete="Wac_ActionComplete",t.PostMessage_OpenInBrowser="UI_OpenInBrowser",t.PostMessage_AppGetCustomAuthConfig="App_GetCustomAuthConfig",t.PostMessage_AppPushState="App_PushState",t.PostMessage_CAAEMessage="CAAEMessage",t.PostMessage_FileEmbed="UI_FileEmbed",t.PostMessage_AcquireOAuthTokenTeams="AcquireOAuthTokenTeams"}(i||(i={})),function(t){t.Nav="actnavid"}(r||(r={})),function(t){t.PostMessage_RefreshSessionInfo="Host_RefreshSessionInfo",t.PostMessage_GrantPermissions="CheckUserAccessAndGrantPermissions_Result",t.PostMessage_SetOverlayContent="SetOverlayContent",t.PostMessage_SetAuthToken="Host_SetAuthToken",t.PostMessage_SetHostWopiInfoFromUrl="Host_WopiInfoFromUrl",t.PostMessage_HostAccessibilityLoopComplete="Host_AccessibilityLoopComplete",t.PostMessage_HostGetClientUrl="Host_GetClientUrl",t.PostMessage_HostGetWebUrl="Host_GetWebUrl",t.PostMessage_MoveToFolderCompleted="Host_MoveToFolder",t.PostMessage_CompleteFilePicker="Host_FilePicker",t.PostMessage_SendCustomAuthConfig="Host_SetCustomAuthConfig",t.PostMessage_SetDavUrlFromIds="Host_DavUrlFromIds",t.PostMessage_BlurFocus="Blur_Focus",t.PostMessage_PopState="App_PopState",t.PostMessage_GrabFocus="Grab_Focus",t.PostMessage_HostSendChannelId="Host_SendChannelId",t.PostMessage_HostBackButtonPressed="Host_BackButtonPressed",t.PostMessage_HostSendConversationId="Host_SendConversationId",t.PostMessage_PostWacToken="Host_PostWacToken"}(s||(s={})),function(t){t.SameDocument="0",t.NewDocument="1"}(a||(a={})),function(t){t.AccessToken="AccessToken",t.FileGetUrl="FileGetUrl"}(c||(c={}))},13239:function(t,e,n){n.d(e,{Ip:function(){return u},R7:function(){return c},Rt:function(){return d},hK:function(){return a},wR:function(){return l}});var o=n(52256),i=n(63501),r=n(58125),s=n(18409);class a{setUlsLogger(t){const e=(0,r.yc)(this.environment);return(0,o.Jf)({remoteUlsEndpoint:e,sessionId:t})}constructor(t,e){"string"==typeof t?this.sessionId=t:[this.sessionId]=t,this.environment=e,this.logger=this.setUlsLogger(this.sessionId)}}class c{constructor(t,e,n,o,s,a,c,u,f,l,d,h){const p=(0,r.C6)(n,t),m={application:e.toString(),applicationMode:"UnifiedUiHost",applicationModeExtended:"UNIFIEDUIHOST",session_id:t,clientVersion:o??"n/a",isSynthetic:a,applicationLcid:c,loggableUserId:u,tenantId:f,uiHost:l,uiHostIntegrationType:d,sessionOrigin:h};this.health=i.Xk.getInstance(),this.health.initialize({isHealthEnabled:!0,isOfflineEnabled:!1,remoteTelemetryUrl:p,dimensions:m}),this.health.addOrUpdatePartCDimension("UUIHTargetApp",e.toString()),this.health.addOrUpdatePartCDimension("HealthSourceComponent","UnifiedUiHost"),this.health.addOrUpdatePartCDimension("WiseEnvironment",n.toString()),this.health.addOrUpdatePartCDimension("Exposure",s?.toString()??"n/a")}}function u(){const t=performance.getEntriesByType("navigation"),e=t[0]?.toJSON();if(e)return{connectEnd:e.connectEnd,connectStart:e.connectStart,decodedBodySize:e.decodedBodySize,domainLookupEnd:e.domainLookupEnd,domainLookupStart:e.domainLookupStart,domComplete:e.domComplete,domContentLoadedEventEnd:e.domContentLoadedEventEnd,domContentLoadedEventStart:e.domContentLoadedEventStart,domInteractive:e.domInteractive,duration:e.duration,encodedBodySize:e.encodedBodySize,entryType:e.entryType,fetchStart:e.fetchStart,initiatorType:e.initiatorType,loadEventEnd:e.loadEventEnd,loadEventStart:e.loadEventStart,nextHopProtocol:e.nextHopProtocol,redirectCount:e.redirectCount,redirectEnd:e.redirectEnd,redirectStart:e.redirectStart,requestStart:e.requestStart,responseEnd:e.responseEnd,responseStart:e.responseStart,secureConnectionStart:e.secureConnectionStart,serverTiming:e.serverTiming,startTime:e.startTime,transferSize:e.transferSize,type:e.type,unloadEventEnd:e.unloadEventEnd,unloadEventStart:e.unloadEventStart,workerStart:e.workerStart}}function f(t,e){const n=window.performance.getEntriesByType("resource").filter((n=>n.name.includes(t)&&n.name.endsWith(e))),o=n[0]?.toJSON();var i;if(o)return{connectStart:o.connectStart,secureConnectionStart:o.secureConnectionStart,connectEnd:o.connectEnd,domainLookupStart:o.domainLookupStart,domainLookupEnd:o.domainLookupEnd,redirectStart:o.redirectStart,redirectEnd:o.redirectEnd,requestStart:o.requestStart,responseStart:o.responseStart,responseEnd:o.responseEnd,fetchStart:o.fetchStart,workerStart:o.workerStart,duration:o.duration,decodedBodySize:o.decodedBodySize,encodedBodySize:o.encodedBodySize,transferSize:o.transferSize,entryType:o.entryType,initiatorType:o.initiatorType,nextHopProtocol:o.nextHopProtocol,serverTiming:o.serverTiming,startTime:o.startTime,isCached:(i=o,i.transferSize>=0?0===i.transferSize:i.responseEnd-i.fetchStart<100)}}function l(){return f("owl.slim",".js")}function d(t){let e;switch(t){case s.p.Word:e="word.boot";break;case s.p.Excel:e="excel-boot";break;case s.p.PowerPoint:e="powerpoint.app.boot";break;case s.p.OneNote:e="onenote-boot";break;case s.p.Visio:e="visio.boot";break;default:return}return f(e,".js")}},90178:function(t,e,n){var o,i,r,s,a,c,u;n.d(e,{R7:function(){return c},S2:function(){return r},SQ:function(){return l},by:function(){return a},ex:function(){return i},pP:function(){return f},zJ:function(){return s}}),function(t){t.DriveId="drive",t.ItemId="item",t.DocUrl="file",t.ContentUri="contenturi",t.Nav="nav"}(o||(o={})),function(t){t.pi="DavUrlFromIds",t.mi="FilePicker",t.hi="OwlBoot",t.Yo="OwlPostWacTokenForTeams",t.di="PostWacToken",t.wi="PrebootDocument",t.gi="PrebootDocumentOpen",t.Si="WopiAuthRefresh",t.Hi="WopiAuthFetch",t.Ii="WopiInfoFromUrl",t.Ci="PrintRedirect",t.li="PrintInBrowser"}(i||(i={})),function(t){t.FC_Owl="owlfc"}(r||(r={})),function(t){t.QosVeto_ShareDialogExperienceDegraded="ShareDialogExperienceDegraded",t.QosVeto_CreateNewExperienceDegraded="CreateNewExperienceDegraded",t.QosVeto_ExternalLinksExperienceDegraded="ExternalLinksExperienceDegraded",t.QosVeto_WopiAuthExperienceDegraded="WopiAuthExperienceDegraded",t.QosVeto_FilePickerFailed="FilePickerFailed",t.QosVeto_OpenInExperienceFailed="OpenInExperienceFailed",t.QosVeto_PrintRedirectFailed="PrintRedirectFailed",t.QosVeto_PrintInBrowserFailed="PrintInBrowserFailed"}(s||(s={})),function(t){t.QosError_VroomWopiFailure="VroomWopiFailure",t.QosError_OfficeBootstrapperNotLoaded="OfficeBootstrapperNotLoaded",t.QosError_EncounteredJsApiError="EncounteredJsApiError",t.QosError_FailedToLoadDocument="FailedToLoadDocument",t.QosError_AttemptingToBootDocumentFailed="AttemptingToBootDocumentFailed",t.QosError_DavUrlFromIdsFailure="DavUrlFromIdsFailure",t.QosError_ShareDialogHandlerInitFailure="ShareDialogHandlerInitFailure",t.QosError_ShareDialogHandlerHostReportedFailure="ShareDialogHandlerHostReportedFailure",t.QosError_ShareDialogHandlerGenericFailure="ShareDialogHandlerGenericFailure",t.QosError_ShareDialogHandlerPerfFailure="ShareDialogHandlerPerfFailure",t.QosError_CreateNewHandlerRebootSessionFailure="CreateNewHandlerRebootSessionFailure",t.QosError_CreateNewHandlerCreateDocumentFailure="CreateNewHandlerCreateDocumentFailure",t.QosError_CreateNewHandlerEndSessionFailure="CreateNewHandlerEndSessionFailure",t.QosError_CreateNewHandlerGenericFailure="CreateNewHandlerGenericFailure",t.QosError_WopiRefreshAuthTokenFailure="WopiRefreshAuthTokenFailure",t.QosError_WopiFetchAuthTokenFailure="WopiFetchAuthTokenFailure",t.QosError_WopiInfoFromUrlFailure="WopiInfoFromUrlFailure",t.QosError_FilePickerBootFailed="FilePickerBootFailed",t.QosError_RetrievingWopiHostDataFailed="RetrievingWopiHostDataFailed",t.QosError_SelectedItemNotReturned="SelectedItemNotReturned",t.QosError_SelectedItemMissingProperties="SelectedItemMissingProperties",t.QosError_UrlNotProvided="UrlNotProvided",t.QosError_CallbackNotDefined="CallbackNotDefined",t.QosError_PrintRedirectFailedToOpenBrowser="PrintRedirectFailedToOpenBrowser",t.QosError_PrintRedirectUnknownFailure="PrintRedirectUnknownFailure",t.QosError_PrintRedirectMissingWebUrl="PrintRedirectMissingWebUrl",t.QosError_PrintRedirectFailedToOpenPdf="PrintRedirectFailedToOpenPdf",t.QosError_PrintInBrowserFailedToOpenPdf="PrintInBrowserFailedToOpenPdf",t.QosError_PrintInBrowserUnknownFailure="PrintInBrowserUnknownFailure",t.QosError_PrintInBrowserWopiFailed="PrintInBrowserWopiFailed"}(a||(a={})),function(t){t.Xo="Bootstrapfile_WacDocumentVroomError",t.ci="LoadDocument_WacDocumentVroomError",t.si="WacDocumentBootstrapperLoadError",t.ri="WacInitializeWopiPendingError",t.Ai="WacDocumentGenericBootError",t.ii="WacDocumentJsApiV1Error",t.oi="WacDocumentJsApiV2Error",t.ei="WacDocumentJsApiV2Error_App",t.ni="WacDocumentJsApiV2Error_JsApi",t.ti="WacDocumentJsApiV2Error_Timeout",t.Ui="OwlPrintError"}(c||(c={})),function(t){t.PermissionError="PermissionError",t.NotFound="NotFound",t.Throttling="Throttling",t.Offline="Offline",t.Other="Other"}(u||(u={}));const f={};var l;!function(t){t.New="NEW",t.BackstageMru="BACKSTAGE-MRU",t.Reboot="REBOOT"}(l||(l={}))},13091:function(t,e,n){n.d(e,{BK:function(){return B},Y3:function(){},cv:function(){return x},gp:function(){return j},gv:function(){return L},jW:function(){return U}});var o=n(45118),i=n(97643),r=n(22475),s=n(30200),a=n(71472),c=n(65311),u=n(40469),f=n(90178),l=n(13239),d=n(56839),h=n(34464),p=n(83385),m=n(21255),w=n(32370),g=n(27819),b=n(16831),S=n(26995),v=n(7366),H=n(28782),I=n(23644),C=n(80960);let A;const U=new d.Z;let y,P,T,E,k,N,F,R,W,D;const O="owl-container",M=new d.Z;let j=!1;function B(t){if(!t?.clientVersion?.trim())throw new Error("invalid clientVersion");if(!t.exposure||t.exposure<=0||t.exposure>100)throw new Error("invalid exposure ("+(t.exposure??"undefined")+")");t.wiseEnvironment=t.wiseEnvironment?.toLocaleUpperCase(),A=t}function _(t,e){const n=document.createElement("div");return n.id=e,t.appendChild(n)}function x(t){N?N(t):M.then((e=>e(t))).catch((t=>F?.ULS.sendTraceTag(507331606,o.n.Ro,i.k.Error,`createNewComplete encountered error: ${t}`)))}function L(t){const e=(0,r.u_)();(0,r.l8)(h.ls.OwlWithCustomFunctionsStart),(0,p.H)(),D=D??A?.wiseEnvironment??t.sessionConfig.wiseEnvironment,t.sessionConfig.sessionId=t.sessionConfig.sessionId??(0,s.O)()[0],t.sessionConfig.owlRollout=`${D}.${A?.exposure}`,t.sessionConfig.owlVersion=A?.clientVersion;const d="IsTwoStepCreateNewEnabled",B=!!t.documentBootInfo.isTwoStepCreateNew;t.uiHostConfig?t.uiHostConfig.featureGates?t.uiHostConfig.featureGates.set(d,B):t.uiHostConfig.featureGates=new Map([[d,B]]):t.uiHostConfig={featureGates:new Map([[d,B]])};const x=!!t.sessionConfig.health;if((0,m.C$)(t,A,D,t.sessionConfig.sessionId),x||(R=t.sessionConfig.health),F||(F=t.sessionConfig.logger),(0,H.wZ)()){const e=new URL(window.location.href),n=(0,I.eD)(e);F?.ULS.sendTraceTag(506566345,o.n.Ro,i.k.Info,`Redirecting to the print PDF experience from Original Redirect Session Id: ${n}`);const r=new Map([[C.d1.OriginalRedirectSessionId,n]]);return R?.recordKpiUsage(f.ex.li,a.v.SuccessBased,f.S2.FC_Owl,r),(0,v.e)(t.documentBootInfo,t.fetchItemFromNetwork,F,!1,!1,1,!1,!0).then((n=>{const s=()=>{t.onBootComplete&&t.onBootComplete(t.documentBootInfo)},a=e=>{t.onBootFailure&&t.onBootFailure({errorMessage:e,wacErrorName:f.R7.Ui,qosErrorName:f.by.QosError_PrintInBrowserFailedToOpenPdf},t.documentBootInfo)};try{(0,H.HM)(t,n,e,t.sessionConfig.hostCorrelationId,r,s,a,F,R)}catch(t){F?.ULS.sendTraceTag(506566344,o.n.Ro,i.k.Error,t.message)}})).catch((t=>{F?.ULS.sendTraceTag(506566343,o.n.Ro,i.k.Error,`Error fetching WOPI data: ${t}`),R?.recordKpiFailure(f.ex.li,f.by.QosError_PrintInBrowserWopiFailed,!1,!1,{inStaging:!0,extendedProperties:r})})),{postWacToken(t){}}}const L=window._spPageContextInfo?.killSwitches;let K=!1;L&&!L["39E99DD6-74F2-4B83-9300-678A5D75D96B"]&&(K=(0,w.b)("MsalV3DownloadEnabled",!1));const $=()=>({Hidden:document.hidden,VisibilityState:document.visibilityState,HasFocus:document.hasFocus(),Timestamp:(0,r.u_)()}),V=[$()];window.addEventListener("visibilitychange",(()=>V.push($()))),window.addEventListener("focus",(()=>V.push($()))),window.addEventListener("blur",(()=>V.push($()))),u.h1.BootAttempted=!0,u.h1.Environment=u.qO.Environment=D,u.h1.Application=u.qO.Application=t.documentBootInfo.fileType,u.h1.BootStartTime=u.qO.BootStartTime=(0,r.u_)(),u.h1.StateEvents=u.qO.StateEvents=V,t.uiHostConfig&&(t.uiHostConfig.uiHostName&&(u.h1.UiHost=u.qO.UiHost=t.uiHostConfig.uiHostName),t.uiHostConfig.uiHostIntegrationType&&(u.h1.UiHostIntegrationType=u.qO.UiHostIntegrationType=t.uiHostConfig.uiHostIntegrationType)),t.sessionConfig&&(t.sessionConfig.hostCorrelationId&&(u.h1.HostCorrelationId=u.qO.HostCorrelationId=t.sessionConfig.hostCorrelationId),u.h1.IsAnonymous=u.qO.IsAnonymous=!!t.sessionConfig.isAnonymous,u.h1.IsSynthetic=u.qO.IsSynthetic=!!t.sessionConfig.isSynthetic),function(t,e){const n=t.onBootComplete,r=t.onBootFailure,s=t=>{j?e?.ULS.sendTraceTag(507540254,o.n.Ro,i.k.Warning,`Calling success or failure callback after another callback has already been called. Calling ${t}`):(e?.ULS.sendTraceTag(507540255,o.n.Ro,i.k.Important,JSON.stringify(u.h1)),j=!0,(0,u.an)())};t.onBootComplete=(t,e,o)=>{u.h1.BootSucceeded=u.qO.BootSucceeded=!0,s("onBootComplete"),U.resolve(!0),n&&n(t,e,o)},t.onBootFailure=(t,e)=>{u.qO.BootSucceeded=!1,s("onBootFailure"),U.resolve(!1),r&&r(t,e)}}(t,F),(0,u.Q7)(F),function(t,e){t.sessionConfig.bootDiagnostics=t.sessionConfig.bootDiagnostics||{},t.sessionConfig.bootDiagnostics.packageEntryTime=t.sessionConfig.bootDiagnostics.packageEntryTime||e,t.sessionConfig.bootDiagnostics.perfNavigationTiming=t.sessionConfig.bootDiagnostics.perfNavigationTiming||(0,l.Ip)(),t.sessionConfig.bootDiagnostics.perfOwlTiming=t.sessionConfig.bootDiagnostics.perfOwlTiming||(0,l.wR)(),t.sessionConfig.bootDiagnostics.loadManifestStartTime=t.sessionConfig.bootDiagnostics.loadManifestStartTime||A?.owlBootstrapperDiagnostics?.loadManifestStartTime||0,t.sessionConfig.bootDiagnostics.loadManifestEndTime=t.sessionConfig.bootDiagnostics.loadManifestEndTime||A?.owlBootstrapperDiagnostics?.loadManifestEndTime||A?.owlBootstrapperDiagnostics?.getManifestFromRemoteTimeElapsed,t.sessionConfig.bootDiagnostics.getManifestFromRemoteTimeElapsed=t.sessionConfig.bootDiagnostics.getManifestFromRemoteTimeElapsed||A?.owlBootstrapperDiagnostics?.getManifestFromRemoteTimeElapsed,t.sessionConfig.bootDiagnostics.loadManifestServerTimeElapsed=t.sessionConfig.bootDiagnostics.loadManifestServerTimeElapsed||A?.owlBootstrapperDiagnostics?.loadManifestServerTimeElapsed,t.sessionConfig.bootDiagnostics.loadOwlStartTime=t.sessionConfig.bootDiagnostics.loadOwlStartTime||A?.owlBootstrapperDiagnostics?.loadOwlStartTime,t.sessionConfig.bootDiagnostics.loadOwlEndTime=t.sessionConfig.bootDiagnostics.loadOwlEndTime||A?.owlBootstrapperDiagnostics?.loadOwlEndTime}(t,e),t.sessionConfig.bootDiagnostics.isMsalV3DownloadEnabled=K;const q=t.container;W=function(t){return document.getElementById(O)??_(t,O)}(t.container),t.container=W;const G=(0,c.R4)(t.documentBootInfo),J=t.sessionConfig.sessionId===G,z=t.onBootComplete;t.onBootComplete=(t,e,o)=>{K&&L&&!L["39E99DD6-74F2-4B83-9300-678A5D75D96B"]&&n.e(9452).then(n.bind(n,22768)),z&&z(t,e,o)};const Z=t.onBootFailure;t.onBootFailure=(n,o)=>{if(R?.recordQosError(n.qosErrorName,["UnifiedUiHostBootstrappingFailed"],(0,g.yC)(n),(0,g.wA)(n.wacErrorName),!0,!0,{inStaging:n.inStaging??!0,extendedProperties:(0,b.C)(n)}),J){const i=new Map;i.set("FailureTime",(new Date).toUTCString()),i.set("Error",n.error),o&&i.set("DocumentBootInfo",JSON.stringify(o)),n.httpErrorCode&&i.set("HttpErrorCode",n.httpErrorCode),R?.recordKpiFailure(f.ex.gi,"PrebootDocumentOpenFailed",!1,!0,{durationMs:(0,r.u_)()-(t.sessionConfig.bootDiagnostics?.packageEntryTime||e),extendedProperties:i})}Z&&Z(n,o),R?.shutdown()};const Q={...t,initPackageParams:A};(Q.initializeTwoStepCreateNew??S.d)(Q,F);const X=(0,u.k3)(Q);y=X.endSession,P=X.hostAccessibilityLoopComplete,T=X.hostGetClientUrl,E=X.hostGetWebUrl,k=X.hostBackButtonPressed,N=X.completeCreateNew,M.resolve(N);const Y=e=>{const n=e.subscribe((e=>{if(e&&t.uiHostConfig?.supportsInternalReboot){const[i]=(0,s.O)(),a=new l.hK(i,D);t.sessionConfig.sessionId=a.sessionId,t.sessionConfig.logger=a.logger,t.sessionConfig.bootDiagnostics=(o=t.sessionConfig.bootDiagnostics,{tabsCacheHit:!0,packageEntryTime:(0,r.u_)(),isTestMode:o?.isTestMode,isPrebooted:!1,ringId:o?.ringId,teamsContextStartTime:0,teamsContextEndTime:0,perfNavigationTiming:(0,l.Ip)(),meetingLiveDiagnostics:void 0,perfOwlTiming:(0,l.wR)()}),t.sessionConfig.highContrastMode=e.theme,q&&W&&W.parentNode===q&&q.removeChild(W),W=_(q,O);const c=(0,u.k3)({...t,container:W,documentBootInfo:e.documentBootInfo,initPackageParams:A});y=c.endSession,P=c.hostAccessibilityLoopComplete,T=c.hostGetClientUrl,E=c.hostGetWebUrl,k=c.hostBackButtonPressed,N=c.completeCreateNew,M.resolve(N),n.unsubscribe(),Y(c.sessionEndObservable)}else q&&W&&W.parentNode===q&&q.removeChild(W),n.unsubscribe();var o;R?.shutdown()}))};return Y(X.sessionEndObservable),(0,r.l8)([h.ls.OwlEnd,h.ls.OwlWithCustomFunctionsEnd]),X}},50820:function(t,e,n){function o(t,e,n,o=!1,i,r=!1,s=!1,a,c,u){if(!document)return null;if(i){const t=document.getElementById(i);if(null!=t)return e&&e(),t}const f=document.createElement("script");if(f.src=t,i&&(f.id=i),e&&(f.onload=e),n&&(f.onerror=()=>{s&&f.parentNode?.removeChild(f),n()}),r&&(f.crossOrigin="anonymous"),u&&a&&!c&&(f.integrity=a),o){const t=document.getElementsByTagName("script")[0];if(t&&t.parentNode)return t.parentNode.insertBefore(f,t)}return document.body.appendChild(f)}n.d(e,{b:function(){return o}})},26995:function(t,e,n){n.d(e,{W:function(){return h},d:function(){return p}});var o=n(45118),i=n(97643),r=n(76954),s=n(64974),a=n(23266),c=n(17263),u=n(78400),f=n(83175),l=n(56839),d=n(58928);class h{static get isCreateNewFlowExecuting(){return!!(h.isTwoStepCreateNew&&h.createNewFlowExecuting&&h.hostSessionId&&h.bootstrapper&&h.bootstrapperLoadPromise&&h.bootstrapperUrl&&h.bootstrapperInfo&&h.application&&h.session)}static get isCreateNewFlowExecutingForJsApiBundledWithOwl(){return!!(h.isTwoStepCreateNew&&h.createNewFlowExecuting&&h.hostSessionId&&h.bootstrapperUrl&&h.application&&h.session)}static get completeCreateNewPromise(){return h.yi}static completeCreateNew(t){this.Pi.resolve&&this.Pi.resolve(t)}static failCreateNew(t){this.Pi.reject&&this.Pi.reject(t)}}function p(t,e){if(h.isTwoStepCreateNew=!!(t.documentBootInfo.isNewFile&&t.documentBootInfo.isTwoStepCreateNew&&t.sessionConfig.createNewParams&&t.sessionConfig.createNewParams.appUrl&&(0,r.PS)(t.documentBootInfo.fileType,t.uiHostConfig?.featureGates,e)&&t.initPackageParams?.jsApiUrlInfos&&t.initPackageParams?.jsApiUrlInfos.get(t.documentBootInfo.fileType)),h.isTwoStepCreateNew){const n=t.initPackageParams.jsApiUrlInfos.get(t.documentBootInfo.fileType);if(n){h.bootstrapperUrl=n.jsApiUrl,h.hostSessionId=(0,s.d$)(t.sessionConfig.hostCorrelationId);const r=(0,d.SI)(d.dT.FeatureGate_EnableJsapiTags,t.uiHostConfig?.featureGates);(0,d.lO)(d.dT.FeatureGate_EnableJsapiTags,r,e),h.bootstrapperLoadPromise=(0,a.k)(n.jsApiUrl,t.sessionConfig.createNewParams.appUrl,t.documentBootInfo.fileType,!0,t.sessionConfig.wiseEnvironment,e,n.jsApiSri,t.sessionConfig?.owlRollout?.includes("LOCALHOST"),r).then((n=>{const[r,s]=(0,a.K)(t.documentBootInfo.fileType);if(s||!r||!h.hostSessionId)return e?.ULS.sendTraceTag(507778318,o.n.Ro,i.k.Warning,`Failed to load bootstrapper for ${t.documentBootInfo.fileType} in 2-step create new flow. Error: ${s}`),!1;h.bootstrapper=r,h.bootstrapperInfo=n,h.application=r.createApplication((0,f.I)(t.documentBootInfo,h.bootstrapperInfo.bootstrapperUrl,t.uiHostConfig,t.sessionConfig));const l=(0,d.SI)(d.dT.FeatureGate_EnableSingleOwlJsapiLogger,t.uiHostConfig?.featureGates);h.session=h.application.createSession({hostSessionId:h.hostSessionId,logger:l?e:void 0}),h.sessionPromise.resolve(h.session),h.createNewFlowExecuting=!0;const p=(0,c.lW)(t.sessionConfig.createNewParams,t.documentBootInfo,t.container,t.uiHostConfig,t.sessionConfig);return h.session.run(u.Y.createNew,p).catch((t=>{e?.ULS.sendTraceTag(507778317,o.n.Ro,i.k.Warning,`Caught error running create new flow: ${t}`),h.createNewFlowExecuting=!1})),!0})).catch((n=>(e?.ULS.sendTraceTag(507778316,o.n.Ro,i.k.Warning,`Failed to load bootstrapper for ${t.documentBootInfo.fileType} in 2-step create new flow. Error: ${n}`),!1)))}else e?.ULS.sendTraceTag(507778319,o.n.Ro,i.k.Warning,`jsapiBootstrapperUrl for ${t.documentBootInfo.fileType} is undefined in ${t.uiHostConfig?.uiHostName}`)}}h.isTwoStepCreateNew=!1,h.createNewFlowExecuting=!1,h.sessionPromise=new l.Z,h.Pi={},h.yi=new Promise(((t,e)=>{h.Pi.resolve=t,h.Pi.reject=e}))},27819:function(t,e,n){n.d(e,{TX:function(){return i},wA:function(){return r},yC:function(){return s}});var o=n(90178);function i(t){return!(!t||!t.failure)&&"TypeError: Failed to fetch"===t.failure}function r(t){switch(t){case o.R7.Xo:case o.R7.ci:return!1;default:return!0}}function s(t){const{httpErrorCode:e,networkError:n,qosErrorName:i,errorMessage:r,error:s,documentLoadedWithTabSwitch:u}=t,f=i===o.by.QosError_EncounteredJsApiError&&"timeout"===r&&u;return n||f||[401,403,404,429].includes(e)||function(t){if(!t)return!1;try{const e=[JSON.parse(t)];for(;e.length>0;){const t=e.pop();if("string"==typeof t){if(a.has(t))return!0}else if("object"==typeof t&&null!==t)for(const n of Object.values(t))e.push(n)}}catch(e){for(const e of c)if(-1!==t.indexOf(e))return!0}return!1}(JSON.stringify(s))}const a=new Set(["DocumentIsIRMProtected","5373959","5243086","5243055","5374037","5373972","5373968","5373967","5373965","5373961","5243101","29"]),c=Array.from(a)},58928:function(t,e,n){n.d(e,{SI:function(){return a},dT:function(){return o},lO:function(){return s}});var o,i=n(45118),r=n(97643);function s(t,e,n){n?.ULS.sendTraceTag(521164238,i.n.Ro,r.k.Info,`${t}: ${e?"Enabled":"Disabled"}`)}function a(t,e){if(!e)return!1;if(!e.has(t))return!1;const n=e.get(t);return null!=n&&"boolean"==typeof n&&n}!function(t){t.FeatureGate_OneNoteJsApiV2Gate="OneNoteJsApiV2Gate",t.FeatureGate_StartPageUseOWLGate="StartPageUseOWLGate",t.FeatureGate_GrabFocusOnFilePickerCloseGate="GrabFocusOnFilePickerCloseGate",t.FeatureGate_Vroom21SupportGate="Vroom21SupportGate",t.FeatureGate_CommandingAshaVetoes="CommandingAshaVetoes",t.FeatureGate_ESSForXLGate="ESSForXL",t.FeatureGate_Vroom21ForWord="Vroom21ForWord",t.FeatureGate_Vroom21ForExcel="Vroom21ForExcel",t.FeatureGate_PrefetchWacToken="PrefetchWacToken",t.FeatureGate_UseNewEuplReporting="UseNewEuplReporting",t.FeatureGate_PostWacTokenAsync="PostWacTokenAsync",t.FeatureGate_DeprecatePreAuthUrl="DeprecatePreAuthUrl",t.FeatureGate_UseUnifiedBundling="UseUnifiedBundling",t.FeatureGate_OwlPostWacTokenForTeamsHosts="OwlPostWacTokenForTeamsHosts",t.FeatureGate_EnableSingleOwlJsapiLogger="EnableSingleOwlJsapiLogger",t.FeatureGate_EnableJsapiTags="IsOwlAdditionalJsapiTagsEnabled",t.FeatureGate_ShowHeaderOneNote="ShowHeaderOneNote",t.FeatureGate_OneNoteTeamsClaimsHandling="OneNoteTeamsClaimsHandling",t.FeatureGate_UseWacParamsCopy="UseWacParamsCopy",t.FeatureGate_OneNotePersonalAppRedirectToLegacyMyNotebookPage="OneNotePersonalAppRedirectToLegacyMyNotebookPage",t.FeatureGate_EnableAriaLoggingForShareDialogLaunch="enableAriaLoggingForShareDialogLaunch",t.FeatureGate_UseLoadJSApiWithOWLEnabled="UseLoadJSApiWithOWLEnabled",t.FeatureGate_UseSeparateVroomAccessTokenFn="UseSeparateVroomAccessTokenFn",t.FeatureGate_OmitParamsOnSessionRefresh="OmitParamsOnSessionRefresh",t.FeatureGate_UseConvergedConsumerVroomEndpointForMsa="UseConvergedConsumerVroomEndpointForMsa",t.FeatureGate_SkipFilePickerSiteUrlValidationForMsa="SkipFilePickerSiteUrlValidationForMsa"}(o||(o={}))},95002:function(t,e,n){n.d(e,{L:function(){return o}}),n(45118),n(97643);const o=function(){let t;try{t=window.localStorage}catch(t){}return t}()},16831:function(t,e,n){function o(t){return new Map([["ErrorName",`${t.wacErrorName}`+(t.errorName?`_${t.errorName}`:"")],["ErrorMessage",t.errorMessage?t.errorMessage:""],["HttpErrorCode",`${t.httpErrorCode}`],["NetworkError",`${t.networkError}`],["DocumentLoadedWithTabSwitch",`${t.documentLoadedWithTabSwitch}`]])}n.d(e,{C:function(){return o}})},32370:function(t,e,n){n.d(e,{b:function(){return i}});const o={};function i(t,e){const n=localStorage.getItem(t);if(null===n){const n=o[t];return void 0!==n?n:e}if(localStorage.removeItem(t),"boolean"==typeof e&&(o[t]="true"===n),"number"==typeof e){const i=Number(n);o[t]=isNaN(i)?e:i}return"string"==typeof e&&(o[t]=n),o[t]}},21255:function(t,e,n){n.d(e,{C$:function(){return a}});var o=n(45118),i=n(97643),r=n(13239),s=n(23644);function a(t,e,n,a){if(t.sessionConfig.logger||(t.sessionConfig.logger=new r.hK(a,n).logger),!t.sessionConfig.health){const{exposure:c,clientVersion:u}=e??{},{ringId:f,isOdcMigrated:l}=t.sessionConfig.bootDiagnostics??{},{uiHostName:d,uiHostIntegrationType:h}=t.uiHostConfig??{};t.sessionConfig.health=function(t,e,n,a,c,u,f,l,d,h,p,m,w,g,b,S,v){const H=new r.R7(t,n,e,d,l,h,a,c,u,p,m,w).health;if(H)return H.addOrUpdatePartCDimension("HostCorrelationId",f),H.addOrUpdatePartCDimension("AppSessionId",t),H.addOrUpdatePartCDimension("HostRingId",g??"n/a"),H.addOrUpdatePartCDimension("IsNewFile",(!!b).toString()),H.addOrUpdatePartCDimension("isOdcMigrated",(!!S).toString()),H.addOrUpdatePartCDimension("IsTestMode",window.location.pathname.endsWith("/test").toString()),(0,s.Pq)()?H.addQosPillar("Interruptions"):H.addQosPillar("Open"),H;v?.ULS.sendTraceTag(507340064,o.n.Ro,i.k.Warning,"Failed to initialize health logger.")}(a,n,t.documentBootInfo.fileType,t.documentBootInfo.uiCulture,t.documentBootInfo.puid,t.sessionConfig.tenantId,t.sessionConfig.hostCorrelationId,c,u,t.sessionConfig.isSynthetic,d,h,t.documentBootInfo.wdOrigin,f,t.documentBootInfo.isNewFile,l)}}},83175:function(t,e,n){n.d(e,{I:function(){return i}});var o=n(76954);function i(t,e,n,i,r){return{host:{storageHostName:(0,o.Im)(t.docUrl??""),capabilities:{isFeatureEnabledCallback:(0,o.$e)(i),moveToFolder:n?.supportsMoveToFolder,commonFilePicker:n?.supportsCommonFilePicker,rebootDoc:n?.supportsDocumentReboot,createNewDoc:n?.supportsCreateNewDocument,authToken:n?.supportsAuthToken,excelExternalLinks:n?.supportsExcelExternalLinks,refreshAccessToken:n?.supportsRefreshAccessToken,atMentions:n?.supportsAtMentions,accessibilityLoop:n?.supportsAccessibilityLoop,customAuthConfig:n?.supportsCustomAuthConfig,directPrint:n?.supportsDirectPrint??!0,directDownload:n?.supportsDirectDownload,disableOfficeAddins:n?.disableOfficeAddins},uiHostName:n?.uiHostName||o.Q9,requireExplicitUnload:n?.supportsExplicitUnload,metaUiHostVersion:i?.metaUiHostVersion,uiHostIntegrationType:n?.uiHostIntegrationType,uiHostScenarioType:i?.additionalApplicationParameters?.uiHostScenarioType,owlVersion:i?.owlVersion,owlRollout:i?.owlRollout,origin:i?.origin},user:{id:r&&r.wac&&r.wac.userId||t.puid||"",isSynthetic:i?.isSynthetic},bootstrapperUrl:e,ui:{uiEmbed:n?.uiEmbed??!0,controls:n?.supportsHostUiControls?[{id:"close",visibility:n?.showCloseButton?1:0},{id:"share",visibility:n?.supportsShare?1:0},{id:"ellipsisOpenInBrowser",visibility:n?.openInBrowserEnabled?1:0},{id:"ellipsisDownload",visibility:n?.ellipsisDownloadACopyButtonEnabled?1:0},{id:"copyLink",visibility:n?.copyLinkEnabled?1:0},{id:"conversation",visibility:n?.conversationButtonEnabled?1:0}]:void 0,language:t.uiCulture,hideHeader:n?.hideHeader,hideAppLauncherInHeader:n?.hideAppLauncherInHeader,hideSearchInHeader:n?.hideSearchInHeader,hideMeInHeader:n?.hideMeInHeader,hideChatInHeader:n?.hideChatInHeader,hideWorkflowInHeader:n?.hideWorkflowInHeader,hideSettingsInHeader:n?.hideSettingsInHeader,showAppIconInHeader:n?.showAppIconInHeader,useNeutralColorInHeader:n?.useNeutralColorInHeader,highContrast:"invert"===i?.highContrastMode?"invert":void 0,openLinksInNewWindow:n?.openLinksInNewWindow,contentAssemblyMode:n?.contentAssemblyMode,showNotebookList:"1"===i?.additionalApplicationParameters?.shownotebooklist,enableMobileViewer:"1"===i?.additionalApplicationParameters?.wdMobileEmbedOneNoteViewer,mobileEmbedView:"1"===i?.additionalApplicationParameters?.wdMobileEmbedOneNoteViewer,showBreadcrumbInMobileView:"1"===i?.additionalApplicationParameters?.wdMobileEmbedOneNoteViewer,showInternalFeedback:"1"===i?.additionalApplicationParameters?.wdNotesInternalFeedbackEnabled,embed:"1"===i?.additionalApplicationParameters?.embed,embedded:"1"===i?.additionalApplicationParameters?.embedded,hidesections:"1"===i?.additionalApplicationParameters?.hidesections}}}},53581:function(t,e,n){n.d(e,{J:function(){return h}});var o=n(45118),i=n(97643);const r="https://wise-m.public.cdn.office.net/wise-m/owl",s="https://wise.public.cdn.office.net/wise/owl",a=new Set,c=[10,100],u=[1,10,50,100],f=2e3;let l,d;function h(t,e,n,o){l=n,d=t,p(e,"MSIT",c,0,o),p(e,"PRODUCTION",u,3e4,o)}function p(t,e,n,o,i){let r=o;n.forEach((async n=>{setTimeout((async()=>{await m(t,e,n,1,i)}),r+=f)}))}async function m(t,e,n,c=0,u){let h=0;await fetch(`${r}/5mttl/${e.toLowerCase()}/${n}/manifest.json`,{cache:"no-cache"}).then((r=>(l?.ULS.sendTraceTag(507326861,o.n.Ro,i.k.Info,`Fetching manifest from CDN was successful for ${t} in ${e} with exposure ${n} with remaining retry count ${c}.`),r.text()))).then((async r=>{if(l?.ULS.sendTraceTag(507326860,o.n.Ro,i.k.Info,`Parsing manifest from CDN was successful for ${t} in ${e} with exposure ${n} with remaining retry count ${c}.`),r.includes("<Code>BlobNotFound</Code>"))c>0?setTimeout((async()=>{await m(t,e,n,c-1)}),29e3):l?.ULS.sendTraceTag(507107014,o.n.Ro,i.k.Warning,`Fetching manifest from CDN failed for ${t} in ${e} with exposure ${n} with remaining retry count ${c}. Error: BlobNotFound`);else{const c=JSON.parse(r);if(!c.clientVersion)return void l?.ULS.sendTraceTag(507326859,o.n.Ro,i.k.Warning,`Manifest from CDN does not have clientVersion for ${t} in ${e} with exposure ${n}. Manifest: ${c}`);if(!c.files)return void l?.ULS.sendTraceTag(507326858,o.n.Ro,i.k.Warning,`Manifest from CDN does not have files for ${t} in ${e} with exposure ${n}. Manifest: ${c}`);a.has(c.clientVersion)||(a.add(c.clientVersion),Object.keys(c.files).filter((e=>e.includes(t.toLowerCase()+".boot.js")||e.includes(t.toLowerCase()+".app.boot.js")||e.includes(t.toLowerCase()+"-boot.js")||e.includes("owl."+t.toLowerCase()+".js")||e.includes("owl.js")||e.includes("owl."+t.toLowerCase()+".slim.js")||e.includes("owl.slim.js"))).forEach((t=>{const e=c.files[t];if(e&&2===e.length){const n=function(t,e,n,r){const s=document.createElement("link");return s.rel="prefetch",s.href=t,s.as="script",(n.includes("owl")||r)&&(s.crossOrigin="anonymous",s.integrity=e),s.id=n,s.onerror=()=>{l?.ULS.sendTraceTag(507326856,o.n.Ro,i.k.Warning,`Failed to prefetch ${n} from ${t}`),s.remove()},s}(`${s}/${e[0]}`,e[1],t,u);!function(t,e,n){setTimeout((()=>{t.appendChild(e)}),n)}(d,n,h+=f)}})))}})).catch((r=>{c>0?setTimeout((async()=>{await m(t,e,n,c-1)}),29e3):l?.ULS.sendTraceTag(507326857,o.n.Ro,i.k.Warning,`Fetching manifest from CDN failed for ${t} in ${e} with exposure ${n} with remaining retry count ${c}. Error: ${r}`)}))}},34464:function(t,e,n){var o;function i(t=""){const e=window.performance.getEntriesByName(o.OwlHostTimeOrigin)[0]?.detail;return window.performance.getEntriesByType("mark").filter((e=>e.name.startsWith(t))).reduce(((t,n)=>(n.name!==o.OwlHostTimeOrigin?t[n.name]=e+n.startTime:t[n.name]=e,t)),{})}function r(t){const e=t[o.OwlStart]||t[o.OwlWithCustomFunctionsStart],n=t[o.OwlOnBootComplete];return{totalTime:n-e,owlPerformanceTimeline:{...t,[o.OwlStart]:e,[o.OwlEnd]:n}}}n.d(e,{ls:function(){return o},nC:function(){return r},nu:function(){return i}}),function(t){t.OwlBootAppMessageSend="owlBootAppMessageSend",t.OwlBootAppMessageReceive="owlBootAppMessageReceive",t.OwlLoadedMessageSend="owlLoadedMessageSend",t.OwlLoadedMessageReceive="owlLoadedMessageReceive",t.OwlBootAppWithCustomFunctionsMessageSend="owlBootAppWithCustomFunctionsMessageSend",t.OwlBootAppWithCustomFunctionsMessageReceive="owlBootAppWithCustomFunctionsMessageReceive",t.OwlWithCustomFunctionsStart="owlWithCustomFunctionsStart",t.OwlWithCustomFunctionsEnd="owlWithCustomFunctionsEnd",t.OwlStart="owlStart",t.OwlEnd="owlEnd",t.OwlHostTimeOrigin="owlHostTimeOrigin",t.OwlWacBootStart="owlWacBootStart",t.OwlOnBootComplete="owlOnBootComplete"}(o||(o={}))},56839:function(t,e,n){n.d(e,{Z:function(){return r}});var o=n(45118),i=n(97643);class r{then(t,e){return this.Ti.then(t,e)}catch(t){return this.Ti.catch(t)}finally(t){return this.Ti.finally(t)}constructor(t){this.resolve=()=>{t?.ULS.sendTraceTag(507586270,o.n.Ro,i.k.Warning,"DeferredPromise.resolve() called before resolve function was set")},this.reject=e=>t?.ULS.sendTraceTag(507586269,o.n.Ro,i.k.Error,`DeferredPromise.reject() called before reject function was set. Error: ${e}`),this.Ti=new Promise(((t,e)=>{this.resolve=t,this.reject=e})),this.Ti.finally}}},83385:function(t,e,n){n.d(e,{H:function(){return i}});var o=n(34464);function i(){!(window.performance.getEntriesByName(o.ls.OwlHostTimeOrigin)?.length>0)&&window.performance.mark(o.ls.OwlHostTimeOrigin,{startTime:0,detail:window.performance.timeOrigin})}},82915:function(t,e,n){function o(t){return JSON.stringify(Object.fromEntries(t))}n.d(e,{c:function(){return o}})},25548:function(t,e,n){n.d(e,{t:function(){return c}});var o=n(45118),i=n(97643),r=n(24784),s=n(58125),a=n(31365);function c(t,e,n,c,u){(n||c)&&t.then((t=>{if(t){const f=function(t){const e=(0,r.dH)(t);return{region:e,dataBoundary:(0,a.y)(e)}}(t);if(n)try{const t=(0,s.yc)(e,f.dataBoundary);n.flushAndSetNewEndpoint(t,(()=>{n?.ULS.sendTraceTag(509612803,o.n.Ro,i.k.Info,`Updated ULS endpoint. Environment: ${e}, DataBoundary: ${f.dataBoundary}, Region: ${f.region}`)}))}catch(t){n.ULS.sendTraceTag(509875042,o.n.Ro,i.k.Warning,`Failed to identify data boundary-aware bULS endpoint. Error: ${t.message}`)}if(c)try{const t=(0,s.C6)(e,u,f.dataBoundary);c.flushAndSetNewEndpoint(t,(()=>{n?.ULS.sendTraceTag(509612802,o.n.Ro,i.k.Info,`Updated Health endpoint. Environment: ${e}, DataBoundary: ${f.dataBoundary}, Region: ${f.region}`)}))}catch(t){n?.ULS.sendTraceTag(509875041,o.n.Ro,i.k.Warning,`Failed to identify data boundary-aware Health endpoint. Error: ${t.message}`)}}})).catch((t=>{n?.ULS.sendTraceTag(509875042,o.n.Ro,i.k.Warning,`Failed to resolve app url promise. Error: ${t.message}`)}))}},13259:function(t,e,n){n.d(e,{Bp:function(){return h},Mn:function(){return m},_Q:function(){return c},g$:function(){return l},lt:function(){return f},rA:function(){return p},sH:function(){return u},vi:function(){return d}});const o=/http[s]?:\/\/[\S]*?\.sharepoint[\S]*?\.com/,i=/http[s]?:\/\/[\S]*?-my\.sharepoint[\S]*?\.com/,r=/http[s]?:\/\/d\.docs\.live\.net/,s="https://graph.microsoft.com",a=new RegExp(["^(https?:)//","(([^:/?#]*)(?::([0-9]+))?)","(/{0,1}[^?#]*)","(\\?[^#]*|)","(#.*|)$"].join(""));var c;function u(t){if(!t)return"";try{return decodeURIComponent(t)}catch(t){return""}}function f(t){return t?t.substring(0,t.lastIndexOf("/")):""}function l(t){if(t&&t.length){const e=t.match(a);if(e)return{href:t,protocol:e[1],host:e[2],hostname:e[3],port:e[4],path:e[5],search:e[6],hash:e[7]}}}function d(t){if(t&&t.length&&t.startsWith(s))return"Graph"}function h(t,e,n){let o=t,i="",r=!0;e&&(o={...e,...o});for(const t in o){const e=o[t];if(!n||"object"!=typeof e&&e||"object"==typeof e&&e&&e.uriValue||"number"==typeof e||"boolean"==typeof e){let n;r?r=!1:i+="&",n="object"==typeof e&&e&&e.uriValue?e.uriValue:encodeURIComponent(`${e}`),i+=`${t}=${n}`}}return i}function p(t){if(t&&t.length){if(t.match(i)||t.match(r))return c.OneDrive;if(t.match(o))return c.SharePoint}}function m(t,e){const n=t.toLowerCase(),o=function(t){const e=l(t);return e&&e.hostname||""}(e),i=function(t){const e=t.toLowerCase();return!e||e.startsWith("http:")||e.startsWith("https:")||e.startsWith("mailto:")||e.startsWith("sip:")||e.startsWith("tel:")||e.startsWith("im:")?e:"https://"+e}(o),r=f(e);let s;return s=0===n.indexOf("https://")||0===n.indexOf("http://")?n:"/"===n.charAt(0)?`${i}${n}`:`${r}/${n}`,s}!function(t){t.OneDrive="Documents",t.SharePoint="Sites"}(c||(c={}))},30021:function(t,e,n){n.d(e,{Q5:function(){return o},iz:function(){return i},r$:function(){return r}});let o=!1;function i(t){o=t}function r(){o=!1}new Map},18409:function(t,e,n){var o;n.d(e,{p:function(){return o}}),function(t){t.Excel="Excel",t.None="None",t.OneNote="OneNote",t.PowerPoint="PowerPoint",t.Visio="Visio",t.Word="Word"}(o||(o={}))}},r={};function s(t){var e=r[t];if(void 0!==e)return e.exports;var n=r[t]={id:t,exports:{}};return i[t](n,n.exports,s),n.exports}s.m=i,s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,{a:e}),e},e=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},s.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var i=Object.create(null);s.r(i);var r={};t=t||[null,e({}),e([]),e(e)];for(var a=2&o&&n;"object"==typeof a&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach((function(t){r[t]=function(){return n[t]}}));return r.default=function(){return n},s.d(i,r),i},s.d=function(t,e){for(var n in e)s.o(e,n)&&!s.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},s.f={},s.e=function(t){return Promise.all(Object.keys(s.f).reduce((function(e,n){return s.f[n](t,e),e}),[]))},s.u=function(t){return"owl."+{103:"tr-tr-owl-strings-json",104:"bn-in-owl-strings-json",164:"nn-no-owl-strings-json",319:"ca-es-valencia-owl-strings-json",324:"as-in-owl-strings-json",360:"am-et-owl-strings-json",465:"te-in-owl-strings-json",484:"sv-se-owl-strings-json",501:"bs-latn-ba-owl-strings-json",535:"es-es-owl-strings-json",551:"uz-latn-uz-owl-strings-json",681:"eu-es-owl-strings-json",683:"tk-tm-owl-strings-json",825:"ru-ru-owl-strings-json",941:"mn-mn-owl-strings-json",949:"be-by-owl-strings-json",1120:"cs-cz-owl-strings-json",1200:"sr-cyrl-rs-owl-strings-json",1217:"ms-my-owl-strings-json",1250:"sq-al-owl-strings-json",1325:"de-de-owl-strings-json",1363:"fr-ca-owl-strings-json",1494:"lb-lu-owl-strings-json",1495:"pt-pt-owl-strings-json",1568:"zh-cn-owl-strings-json",1713:"ky-kg-owl-strings-json",1827:"da-dk-owl-strings-json",1836:"vi-vn-owl-strings-json",2077:"bg-bg-owl-strings-json",2094:"sd-arab-pk-owl-strings-json",2152:"nb-no-owl-strings-json",2178:"tt-ru-owl-strings-json",2217:"fi-fi-owl-strings-json",2253:"mr-in-owl-strings-json",2368:"hy-am-owl-strings-json",2443:"nl-nl-owl-strings-json",2527:"ml-in-owl-strings-json",2575:"fa-ir-owl-strings-json",2583:"or-in-owl-strings-json",2591:"az-latn-az-owl-strings-json",2624:"km-kh-owl-strings-json",3257:"qps-ploc-owl-strings-json",3264:"gu-in-owl-strings-json",3330:"mi-nz-owl-strings-json",3349:"ta-in-owl-strings-json",3508:"ko-kr-owl-strings-json",3589:"el-gr-owl-strings-json",3983:"prs-af-owl-strings-json",4061:"it-it-owl-strings-json",4111:"lv-lv-owl-strings-json",4139:"ka-ge-owl-strings-json",4290:"sl-si-owl-strings-json",4334:"et-ee-owl-strings-json",4423:"pl-pl-owl-strings-json",4650:"en-us-owl-strings-json",4722:"quz-pe-owl-strings-json",4890:"si-lk-owl-strings-json",5047:"mk-mk-owl-strings-json",5365:"mt-mt-owl-strings-json",5537:"uk-ua-owl-strings-json",5583:"is-is-owl-strings-json",5775:"kn-in-owl-strings-json",5807:"gd-gb-owl-strings-json",5850:"ar-sa-owl-strings-json",5953:"sw-ke-owl-strings-json",5994:"qps-plocm-owl-strings-json",6072:"kk-kz-owl-strings-json",6109:"id-id-owl-strings-json",6201:"pa-in-owl-strings-json",6281:"sr-latn-rs-owl-strings-json",6479:"kok-in-owl-strings-json",6599:"af-za-owl-strings-json",6720:"handlers",6895:"pt-br-owl-strings-json",6914:"es-mx-owl-strings-json",7063:"ca-es-owl-strings-json",7171:"fr-fr-owl-strings-json",7207:"th-th-owl-strings-json",7234:"cy-gb-owl-strings-json",7291:"lo-la-owl-strings-json",7479:"ur-pk-owl-strings-json",7717:"ga-ie-owl-strings-json",7761:"chr-cher-us-owl-strings-json",7923:"en-gb-owl-strings-json",8016:"zh-tw-owl-strings-json",8041:"hi-in-owl-strings-json",8234:"ja-jp-owl-strings-json",8303:"lt-lt-owl-strings-json",8375:"hr-hr-owl-strings-json",8461:"ro-ro-owl-strings-json",8664:"fil-ph-owl-strings-json",9015:"sk-sk-owl-strings-json",9059:"he-il-owl-strings-json",9094:"ug-cn-owl-strings-json",9134:"ne-np-owl-strings-json",9445:"bn-bd-owl-strings-json",9452:"msal",9770:"sr-cyrl-ba-owl-strings-json",9790:"gl-es-owl-strings-json",9894:"qps-ploca-owl-strings-json",9917:"hu-hu-owl-strings-json",9971:"ha-latn-ng-owl-strings-json"}[t]+"."+{103:"b7b3114533409d867e36",104:"355d38101dd3f26f74f0",164:"4ac432f3d4ff9030fa58",319:"c025f1bbdb60b6e5a345",324:"4a88e92fe80a36f4b7f4",360:"0309beef2e6fb137109e",465:"1b303922e55eff59c354",484:"da56b2e9bc5146d8888c",501:"567c094ce2a348b1b5ef",535:"816acb9ccf1d9a22278c",551:"5db9b4bfe945386c111f",681:"8c04e64754d1a3f7af2b",683:"10befc853b9d5d9f26c3",825:"e329ae4829fe8fe5d5d0",941:"a37ebc03fe3a53d0bf0b",949:"790375aa4fc23062da46",1120:"9de0a80720119d5ef7f4",1200:"42a320e670c883ae9885",1217:"ffe5f26a4e807c0111e9",1250:"ba08fe78cfdc0d9c7041",1325:"85b69b29f79a5ea5cff7",1363:"50b1e399476746518eaa",1494:"c88fffd67e7642208747",1495:"c5127f78b56a3bec814c",1568:"cde065d187e8dd85084a",1713:"49b3fab7fed32570a86b",1827:"383cc7ddff9393695a1a",1836:"43b5f6f756877b6ed18c",2077:"84f8e44c573028508eae",2094:"5106d9795b0fd16fa7c7",2152:"63453237298a5e8eb125",2178:"242cf7aaa4ab0fcaee86",2217:"2052a7cae5019ffb2413",2253:"24c292272c54629c2668",2368:"f620b41968c54e83bec1",2443:"a6f0ff81544f07d9a809",2527:"f9fce1aff58202101c85",2575:"33642632b2a8d1221440",2583:"cde08e7dcddf4907b3bb",2591:"b53073921688406eca32",2624:"a26afea060715fb9a79c",3257:"a6432a393706a13ed01a",3264:"cb4c34c11477eee0b584",3330:"c3da5f2726762019c68a",3349:"7455d55a54edb1c6886c",3508:"7be1daa2a0630d87c284",3589:"95735b366ca524ae40fd",3983:"312cb9e98d130bc8b334",4061:"c4f2f6057a0ac19b5f70",4111:"2758d02d81d1f5fc2e5a",4139:"37250ce63241e3e43541",4290:"963ecc8b9b48811a2e24",4334:"a2a1fd9a0cb567d49e14",4423:"f813f9b493d268b00e7f",4650:"bbeff9ed4ffddcb1ac32",4722:"60a678989cc82cb9b869",4890:"70299c15925f7d9debff",5047:"80c209c5675e18eddc33",5365:"fa098e9c2552444021a4",5537:"a205ea6743dd89a34e54",5583:"1e6758af914e97584c39",5775:"5c0eba738acb87108c5b",5807:"e4cde1716bf41cd7ac53",5850:"7f82422f7c564d99e9b1",5953:"286bb2cf24b00a41bb3f",5994:"5b61471e7c86c222f936",6072:"30392e9d2721feeaa662",6109:"8b927d5c44f3cb23ce29",6201:"6f96b60e6b2d577cdb2c",6281:"957e4fadab24f2107dd3",6479:"c6b65bac2fbc917154af",6599:"d7719f2c8cd4727d3e98",6720:"8e7d7209c335100a357f",6895:"0fc31595fa32450772a5",6914:"fc5aa7ba21de64b5e394",7063:"15125a05a2abdc51c38e",7171:"1313deaa5644dfd6b201",7207:"e60e0d5ce299d15c880f",7234:"2a1ba92ee32769d49b9a",7291:"1335955b5be36d930a3b",7479:"0d6272bee811c2a0956f",7717:"2c555445450cfc443b16",7761:"5ea0d659249fbc6e8f04",7923:"bc451322d0697a83f6e6",8016:"9294e21e4f9f7bb8c1a4",8041:"ba891b73e23ad7f4fc81",8234:"ed1ced9360daff616715",8303:"715ea191e64430d7686b",8375:"6cd3d00d53775bfa5bca",8461:"53f3b9e695ab910f23f1",8664:"e7627f77c0449117b2f8",9015:"313fdf66d46c39d1c419",9059:"e4349ac437ae1e153682",9094:"481c71a45f01f2521050",9134:"ae9c3b51eabe966c892d",9445:"2dcc55c0aa00b18b985b",9452:"4c2cd67976738fdc1a63",9770:"aa4b92c235689db76d75",9790:"8c986a204c8bc29b3cbe",9894:"cc4b5cae5a619a5f4b9e",9917:"e1e8418144c6382a3a94",9971:"c3851dd4b049c4f0b8ec"}[t]+".js"},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n={},o="Microsoft.Office.OWL:",s.l=function(t,e,i,r){if(n[t])n[t].push(e);else{var a,c;if(void 0!==i)for(var u=document.getElementsByTagName("script"),f=0;f<u.length;f++){var l=u[f];if(l.getAttribute("src")==t||l.getAttribute("data-webpack")==o+i){a=l;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,s.nc&&a.setAttribute("nonce",s.nc),a.setAttribute("data-webpack",o+i),a.src=t,0!==a.src.indexOf(window.location.origin+"/")&&(a.crossOrigin="anonymous"),a.integrity=s.sriHashes[r],a.crossOrigin="anonymous"),n[t]=[e];var d=function(e,o){a.onerror=a.onload=null,clearTimeout(h);var i=n[t];if(delete n[t],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach((function(t){return t(o)})),e)return e(o)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),c&&document.head.appendChild(a)}},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},function(){var t;s.g.importScripts&&(t=s.g.location+"");var e=s.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");if(n.length)for(var o=n.length-1;o>-1&&(!t||!/^http(s?):/.test(t));)t=n[o--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=t}(),s.sriHashes={103:"sha384-YU7iW5mNX7PlkPorc/0E0yhrro6e0WGSwR3AXyLysQlqtkVs5vaMwmK0mWCYLBjc",104:"sha384-PQtpA1gCCbclxBSeqOPcAtlevUCA9N3EHAB5NbvB59Ptu4dnN8TepxhcTzm5/QfK",164:"sha384-IxolYV2m/Rbf5IhzLK+tL8t+m1f5Tqkf6/MKIGPlwXXmGWw/d7LJrZBQvdoGxYM9",319:"sha384-2Rcghwqn2YIZ9A0LREOEPWAPF23lfKdxWEQxgoLSMdOf9l5GTaSLbrP/ZyVIMng/",324:"sha384-itXFoOk1Cj3Ikp6fOaxTQnnBltQF+F5gg99zAApIw+HCZt9K3y4JnuQ8E0oVU0so",360:"sha384-GyAwt/FVmdDr6UnVCL+IFlDWkWi/Ie7Og9dkr/F5hXva56LOrI8zv8uUPWIlk6rp",465:"sha384-NVDmSW8TDpq0rnOFDaBDvLy5liSVwNfHhcSH3Si5Nor59e0FobQk4iKzvWb9lC+V",484:"sha384-tcFgLDG/UaJ4AOT3AvefjD/hvaWwK5GIkMvLnWMkzmvBnP6u9CyUjUYm1wnZUj8h",501:"sha384-L7mG7PSeEvOiEObgmY3zFt1z2vmM5esyb/UXKSmblBW0iwf5W5tf2oYch3mqsuR9",535:"sha384-GJCI32bwwOJ5NPrds6NwnCY42lLkFFUT91DmgZ/lqKFAqWlgJ8aHr/3FqDPagRyz",551:"sha384-HDDRwAGN6PsmKz6TCRjKPvpdPG+y6H1VZflovD5kbMGHd9i5tfVt5bWrnnbhoID8",681:"sha384-fcu2j2Kkc6yGCCQaCQVw4S+YL/PIhgmzwxLGqMiiTa/2brCzAS1TWNq+P7Fnps0L",683:"sha384-jq0UTDfivqP1xXf8I28imafnq5yE6ewprXu/dr8GhVbxLLympPxvx2sMu1Pfw4rP",825:"sha384-Wi2TovT+xPj6dDY8dg3sdxjYfxz3HRx1UaTQX4l/OodeVMhwh72u76JZcEky+shs",941:"sha384-xt+BamQis6IU+FCUjEmwpDAF+BKYMJPV8rCIuLAL5wgoxxzm/2/kbTYB9lmyrhMM",949:"sha384-w6MHkIDfOMyq2riYp8oof4zApTwIdLrdyUn//Mx51iErF2Ktm3i923Has5b88IHz",1120:"sha384-9R2EYZJ0no9dmuztmF9bInsqGb3rUQRtd1LP/sGtNu4dTEmMwQCmWAeT0Y2Vp+ib",1200:"sha384-aKxbVsqA7Dq1rg6mG6FjKPLRJotVCr0YGJS4fdsX9HUtgH3H1sSmOolNG9iN62T8",1217:"sha384-pqY9GO6mQpMGbxCE+4Wvi7ab6b8qaD3NRXLUkKQT1I9hz8Rr19OG38UPYd/ijalW",1250:"sha384-C78c8gzlqZkn3MiHenj1PS4BDR570EeafNmW0ZwGt81qB4JGTXm1E4AJSW0fIpJ6",1325:"sha384-VaUzDNHfI+cbEp9y33STl0H3ykIIxiyBxUAdhiTIkGcfyYVAci8yPOOeUv+9OpbN",1363:"sha384-doe9RSNxCTJ5t85b/wnntM6IHdFmsGZax+a+lO1DxNeUBWcBX4aEFkOnKDNKG7GF",1494:"sha384-CvmG48+f96yujvQQew6rBFIsfTIWALsLAsPxozDZRmnJhtaSapUXINd8vbNdfF2/",1495:"sha384-tBox8/hfD7n+6pNM/zcfGHYg9unRcyOTlT2uit2zu7+Ts8uTyfr+JP7lup8boBHn",1568:"sha384-kWEXeWntoC8juwax8ElJs4tW7JPeGwPnnlRRa+snTWl073cbc3POoO0ZdKBCntTG",1713:"sha384-LMW9TszDhLuDgYrFx+hMB30Wxr4wfkb9JYOckZJREWcP4sR5/Q/erxCeAq660D1a",1827:"sha384-bCMJvwCIAMblPyMDJSUJq190f6yaqBafCIIjZrG0Go++YZMAHvYrEd9OA9l8s2z/",1836:"sha384-F0xLAxBkT0Zpx15c8jMAAIATZHQ9CsjkmLCLO+M8sWZGCdQ5OsD3GIOOOehBE3m0",2077:"sha384-Nx0L4G78wTqBIi8CI0Mb0g7wZ1QQHs+8c+n/zSRWkhpUrQ/9XUfo8zGUfXrn6WYr",2094:"sha384-66zBdjoavtd//jph1tB+bfg3JwRDDf1tQ54PIu00y5H5q1HRvF9mYKcC95Ff2Xsi",2152:"sha384-S32DuYEy8J9sjMEMYViVxqKsjkusARBDbR1y36f76zamgrwNGULyblYVm7kqkuu2",2178:"sha384-y5YGIttUW02QW0BifEwTICQEPRL2rxVJItrok8dL+le60eNlxGJ4N11ZNTq3F4Sa",2217:"sha384-c/7yAvFCAHYdBii/Y5QCfdsIAOvCHm8petVidGuR3pZOpw8hpFWqg3AzkNVlytHl",2253:"sha384-vMl8y0hIkZc+Gj5ufr35myU74xRySbjGm0/Z2axJ9HvBmzo6D8DtnHeN/sCrBtYO",2368:"sha384-SH9G1hlMXxt8PYOR2vgdHOZi0O+3N9uVJR3ocpodhvk84sxTjwozaBHLR3eivl7s",2443:"sha384-Y7elz2mI9zx9KowSpDwzQqG1DiZkVMLRV/Vj5y1h5FoAUqTyj0ZE4B0rBfoaEoVY",2527:"sha384-lb7m7QZQF7M+X4RsPs6ue30w9+1AwuIPRDnrBm3o1aXYrSbziWk+nf1wXHTBQdyF",2575:"sha384-c7OXraNOCiLkM3vRAq1CPfERoGsxRMXcs20r3j0+C3deuUxLcpOi0g0Vfl6YpfCX",2583:"sha384-ofnvvi4zJzA9GEA3nu6drHw4KgfUE8EuysSnmdb2Cu0xrl+7im8/Oc6PnGK7jIk7",2591:"sha384-V17Noe3qTKFudO+rZ/KAciv8CrVll8M72RFma7DQTQyfD6C0WkE2N6yrZ2hka3WS",2624:"sha384-H7QTDEc3g6YGqc15+dqpF43zq96Z645jPsUGKufmJpj2BgOedoYuV24ev7Nq1drD",3257:"sha384-/KqHcweEdhoS7SFgDFssSwjQ8fR36abZ+MQKXIutxnn3nYWJai8dWMj3OpXDl2XC",3264:"sha384-SXVx2yCo3YiK0l83EDslhBeGJGBtyUpY/hfrAny2fGpBEvxWTeVbZjuOX6QiKqsA",3330:"sha384-xA96/UOF3gSyb2hS3eYpAIeaez3Sd8CYkWODJNME8A3afko5wpookaRXjVnQCnaa",3349:"sha384-b2XW139OVO4g71JoExEGfrAUbK7h+eTp/OTZ2IO7K60Cerctt8dDJYCkBPK67KxZ",3508:"sha384-2nWQFJJw95dIUL/HxhTltajXMgfCDG4/dNImj9Xzc4DyAEHoXWoXaJiilNiTrIVA",3589:"sha384-re8v32QXj2ucc64BPJ6tCmlRUkEn68pfx/nRc0fZ0nc2aC9QM6DZ3FtMV5kTkefS",3983:"sha384-ybGo5+F7+fd0t/iByxKLwVXo6mpbu0ILyaR2kU/mLxfRl/qwv4Jsw/uuzRG4WQZg",4061:"sha384-uuqzNZieabiYH57OkBNryIavGk8stZ+l0ddu0WgbzlHq4/dzS0TKoHEzcNEAmgHR",4111:"sha384-pMJC/FDrefVcllpKvm7OqU9MfdizBm7Sy3cAQavJQ/sPdM4mck4911yo6NTZhtqr",4139:"sha384-/9R10SSWxz6mmfyHDZtKx9WS0c9QS2VJIPqCut+gkJHyuGUG8OeGzOght+lJOsU+",4290:"sha384-9k5F9UrEQ/sL77J00iRDNKM97v/hMXZszDjqUT+3QyAdeb/rlcGT9Km0kQcm0znh",4334:"sha384-OnW0gts8Qu60ZzmC4Sj5lFLishNQx+bBr4gbn1nBRr7JYdeVei1SfWostJzia//8",4423:"sha384-+pP+3VKqD+LCuUfjogipthLQekpXMqfPxhQu1170889j9CBbvSUgJOWsLSYUd9XO",4650:"sha384-UFfJpHUxGhuzAcBbCt4tDJKxIxDSmwWITrvHwwkpj/SF5X/MZYShqTcK5H+vg4F2",4722:"sha384-IvOFbmF85jhXc8O+wJT+hQWiULoYmC1AjYRn/Tqp06lz2P+SW3fAnN6HuvJ9dFfn",4890:"sha384-2X8Sr/vX+sWOVMbfKhPltiwXAff0j35OZOlODsI7c4/nnEUMMikVMy2jwAW4Ylu9",5047:"sha384-Wa4PkCQT5pZherbOCm7GvJrDVtgv/8dmnGCtnW2TKKRKkLK9SZ6UDFVeLHDLa69i",5365:"sha384-3uoYdip4h+W8Hx6FiQejnHh1RCFoxwabk6QnZTwhUcwFepSobom6Lcn0pHhFOQBi",5537:"sha384-ENVZT+U2n/Zz+yDVcS3504Oil77gNmwJjulWvMPz39vMJcOQV1hUGCz5rCi3lOZx",5583:"sha384-krSeyR0R1Vmz5/cnG7DnM6eYtlFPezPZ9A0MQvv8Ax/1LGIFNfu6cN8L/WGh2Imj",5775:"sha384-HKieI9kv97galCrFw1bsKS48MN5B5v1nm/DkJexMw6oOuqd4vgI9RXabaRfC6ayC",5807:"sha384-GKCP12ZiQsNSd1tGRKf2h/NuYXJAHrAd/vMqpcqXX2Ara7bRKilY6/lkRQyVAL6n",5850:"sha384-qx1cXByOXnucNT/yVpoRfbKJTYKPK0lEAwiQQJh8wp/8vz+TqrQuC1xPc3qZQEuf",5953:"sha384-8Yur9mfgaaZTPVzGBLrsP3TpsF4DisxBFQONJOQo+wv0MhOxbv/yDzYcJ3Q/M/c0",5994:"sha384-M/O6qdFE9OwNQAg+osQxxNpx+rue2JD7HVUmtnU0Rg/tMCI+42xfHU4rySSDz5oq",6072:"sha384-XwBcSxj5T4hLUGLR/NgyF3xRUVVBx6yV9Dq5bZii9NdMPOjgPKo44647LVdmeDGB",6109:"sha384-6XZqAAKCQTOgNRMUkZ0Yb2GwJalaQTG9Ry48musv/rtVmMs/tzq7gPOJCSTQ12SK",6201:"sha384-O1AEIkB4n36PICft86zp0PykeZmOCYotMkxaeVpi+LwwsiErUJj1uGfHpHceV5Mo",6281:"sha384-q13XRgZW1gY4hVRVIqV2INV4mAWS87EOWIZigBLVKzbJVbWZ69ZXD6BwNghJuxmI",6479:"sha384-Hlj8BGbIceUNTj/mmrwUct1M3zz1XFHsaehKVJ9+l3YB+RydwFgoHe5CJ5KvCMWa",6599:"sha384-tCbbYHPZxcqC06/5qXGXtHmB15AjbKavfybJLQxgy+nvj0PinrhB5axn4kISwvlV",6720:"sha384-lmMak2R26i6HhSI0IqVA4ZgGCtzvSgdHz0tWPAXUO0kywBbzookVVtA6ZhS7dqNS",6895:"sha384-/chXN4npyaae4tzGN9av4wgrJGk/kDMvZKMmD26+13JUpLuXbHmsitGn1KIYljtm",6914:"sha384-CNFxtBoTavQ8g75XdTJoKLgRRxDv/2bg8E+cUvvV4FcfgbDq9vbJqvzT/8ZLHpoV",7063:"sha384-IZuzDyABHZHEEsTx6kn+6d6h/Rkjp4Z8pmaPTYLxIo3MQtCLuL1d9Y0nW5R45rFb",7171:"sha384-mw/FOMibu/LoXOaiIY7udqnWUSiI3VlluJtSYpgrGQ0h+tYIsRV3Qw5dohL/mKaf",7207:"sha384-ZJ5ywtIbLnobk0UAk+EnVCMZWjv4BRruAg00sZNVMMC/0A5mpvKiAkolihjUdkiY",7234:"sha384-fc7KT6YUqPDAgRJ3Ic2HKHur1tmvlp1AfYdOuWKSdsJB9eW8L/iD+67mqH4Frboq",7291:"sha384-3OIzfwkwD7qhgAj34O+LhO47sjSCCPfiXJ71Ybr9l8rSlR9ugcre+kWmShofE+8a",7479:"sha384-pJwYngM8pm+UgNMK74NJq4xXr1B3ekgWavPwjUfk6qxXBM3TZ3IYEFwwY0q6boWr",7717:"sha384-Lv+/eKOTEZyv+G0QJfwWRr7eob5aBJ6HoLFxsJkORu3e5U1PUKnbjQobUPJVnUD2",7761:"sha384-EvJ0bo/6FZ49D0VvXlS6YDfDRwxp4uDR+odfP45bxdEAvqOqp6YO3APplsuTfOIf",7923:"sha384-PQO106BxSU4Wvm4ChrlK9IvgR4WKyIKzk7uw9U3+0vu4CYm1GjKq4VjiV1nhz+qQ",8016:"sha384-6f9lMKrQKxotf+f1PmNZqDZLwLaDod0g7/5fLiyLBwfLh8bdbWU5Ig/v7Vw4L+9E",8041:"sha384-xYtMqjpV8BtwAY2z3IuTa9fwiCiQNp5Vz3N5VMnszz2CNXwyMNV0h0LOKMOiUVge",8234:"sha384-d07l8mNBCrR8j5osjJn0W51HB6qosy61+2Nezc/RALhuwyw1fSXxD6VV7209NWhS",8303:"sha384-kP+MDiWpJA7pTnW7eccVGH1t4ZffUyoXZzof5FQZbB4P9YTbSoBOXgySkF2rG8zf",8375:"sha384-UqGWF3d9NGDBePVxlNA/omKRpCXw90ZXWdqLx+x2sBkZy/S0SuhuKG5A+8gERv2/",8461:"sha384-2VZUp4kdfBnKKpOpYlrinVxecP0D4WOtW3BmS7gqJbbM4sSqMATvMBvnjpf+c3P7",8664:"sha384-CD9hIo4TwICp6rR4xhPvnvkTtH39NfUMt9FDJel17L1iUlyslUst7AMucdyfm0iJ",9015:"sha384-C7u1dMCvGk4JchHXrFykN9iTAvyyXLvymmJ5n9N6uof1+rqa3rE948RpXSqZ3+t3",9059:"sha384-6RXK+a8XeCSE4xSEjdT9jls08YFmJx+7ACQWRd0n/JkH/uwgD7Xkd/vBgjoDBGTs",9094:"sha384-YehtMetuuKAJ9wkXdtFqdZuFjavj6FVzfwpB68Vy1v577e7TI6+5sYmPYDAaXYhj",9134:"sha384-rtb9Bxo6FHvEAuTiw6Jtac4s0Gyev1U1k7q+sJLDoT0ZSsZhC8Jt7GPPSpyrvxYA",9445:"sha384-WwGsPPQHdVX/kSknk3VqfnehPBgQNsL6Q2qp89KZ5POBce8PK0iMtMA7duG+Pu7i",9452:"sha384-oFNPTRfNcO26WjaQbXtPoIMVhaO2FudhB3vfedGccrZrv/l0m8aXFrjXdhIcrP6Y",9770:"sha384-+qmcNpe6ae4YsnDGud+0iR3WFPmycu5eS9+MZQP9IXOVP1W7HAVYC4v+pIrMUvRN",9790:"sha384-zNflMZT9zcNQbx82yg7lddnQoSY3qbmgdSYOfrMvRGaT6oInHVciP/dQMUI2sJ6J",9894:"sha384-JGP4whMgtinz9BeVF2aQKDZgBmeqLV8l/0soywcpqgEQQUSmHvdYuEy5EZJ5u6sR",9917:"sha384-JfIxilnQy8FrM+V06FLvdeiThcG+B+z0Jj97RaxBuUN4JZ8Y/0Pu7SefSTjjzBlX",9971:"sha384-mqAIjJQPhmIkhi+CFGqSJNqu/eB6sjReLV6heTnwHmPhgrZYFMQMKs2KWMeeNMT4"},function(){if(void 0!==s){var t=s.u,e=s.e,n={},o={};s.u=function(e){return t(e)+(n.hasOwnProperty(e)?"?"+n[e]:"")},s.e=function(i){return e(i).catch((function(e){var r=o.hasOwnProperty(i)?o[i]:5;if(r<1){var a=t(i);throw e.message="Loading chunk "+i+" failed after 5 retries.\n("+a+")",e.request=a,e}return new Promise((function(t){var e=5-r+1;setTimeout((function(){var a="cache-bust=true&retry-attempt="+e;n[i]=a,o[i]=r-1,t(s.e(i))}),0)}))}))}}}(),function(){var t={728:0};s.f.j=function(e,n){var o=s.o(t,e)?t[e]:void 0;if(0!==o)if(o)n.push(o[2]);else{var i=new Promise((function(n,i){o=t[e]=[n,i]}));n.push(o[2]=i);var r=s.p+s.u(e),a=new Error;s.l(r,(function(n){if(s.o(t,e)&&(0!==(o=t[e])&&(t[e]=void 0),o)){var i=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;a.message="Loading chunk "+e+" failed.\n("+i+": "+r+")",a.name="ChunkLoadError",a.type=i,a.request=r,o[1](a)}}),"chunk-"+e,e)}};var e=function(e,n){var o,i,[r,a,c]=n,u=0;if(r.some((function(e){return 0!==t[e]}))){for(o in a)s.o(a,o)&&(s.m[o]=a[o]);c&&c(s)}for(e&&e(n);u<r.length;u++)i=r[u],s.o(t,i)&&t[i]&&t[i][0](),t[i]=0},n=globalThis.webpackChunkMicrosoft_Office_OWL=globalThis.webpackChunkMicrosoft_Office_OWL||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))}(),s.nc=void 0;var a={};!function(){s.r(a),s.d(a,{bootDocumentWithCustomFunctions:function(){return t.gv},completeCreateNew:function(){return t.cv},initPackage:function(){return t.BK}});var t=s(13091);s.nc=window.nonce}(),((Microsoft=void 0===Microsoft?{}:Microsoft).Office=Microsoft.Office||{}).OWL=a}();