@microsoft/teams-js 2.48.0-beta.1 → 2.48.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/README.md +4 -4
  2. package/dist/esm/_virtual/_polyfill-node.buffer.js +1 -1
  3. package/dist/esm/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.55.1_tslib@2.8.1_typescript@4.9.5/node_modules/tslib/tslib.es6.js +1 -0
  4. package/dist/esm/node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/browser.js +1 -1
  5. package/dist/esm/node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/common.js +1 -1
  6. package/dist/esm/node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/v4.js +1 -1
  7. package/dist/esm/packages/teams-js/dts/internal/handlers.d.ts +5 -0
  8. package/dist/esm/packages/teams-js/dts/internal/telemetry.d.ts +1 -0
  9. package/dist/esm/packages/teams-js/dts/public/appPerformanceMetrics.d.ts +24 -0
  10. package/dist/esm/packages/teams-js/dts/public/index.d.ts +2 -1
  11. package/dist/esm/packages/teams-js/dts/public/interfaces.d.ts +59 -0
  12. package/dist/esm/packages/teams-js/dts/public/runtime.d.ts +1 -0
  13. package/dist/esm/packages/teams-js/src/artifactsForCDN/validDomains.json.js +1 -1
  14. package/dist/esm/packages/teams-js/src/index.js +1 -1
  15. package/dist/esm/packages/teams-js/src/internal/appHelpers.js +1 -1
  16. package/dist/esm/packages/teams-js/src/internal/childCommunication.js +1 -1
  17. package/dist/esm/packages/teams-js/src/internal/communication.js +1 -1
  18. package/dist/esm/packages/teams-js/src/internal/deepLinkUtilities.js +1 -1
  19. package/dist/esm/packages/teams-js/src/internal/dialogHelpers.js +1 -1
  20. package/dist/esm/packages/teams-js/src/internal/handlers.js +1 -1
  21. package/dist/esm/packages/teams-js/src/internal/idValidation.js +1 -1
  22. package/dist/esm/packages/teams-js/src/internal/internalAPIs.js +1 -1
  23. package/dist/esm/packages/teams-js/src/internal/marketplaceUtils.js +1 -1
  24. package/dist/esm/packages/teams-js/src/internal/mediaUtil.js +1 -1
  25. package/dist/esm/packages/teams-js/src/internal/messageObjects.js +1 -1
  26. package/dist/esm/packages/teams-js/src/internal/pagesHelpers.js +1 -1
  27. package/dist/esm/packages/teams-js/src/internal/utils.js +1 -1
  28. package/dist/esm/packages/teams-js/src/internal/validOrigins.js +1 -1
  29. package/dist/esm/packages/teams-js/src/internal/videoEffectsUtils.js +1 -1
  30. package/dist/esm/packages/teams-js/src/internal/videoFrameTick.js +1 -1
  31. package/dist/esm/packages/teams-js/src/internal/videoPerformanceMonitor.js +1 -1
  32. package/dist/esm/packages/teams-js/src/internal/webStorageHelpers.js +1 -1
  33. package/dist/esm/packages/teams-js/src/private/conversations.js +1 -1
  34. package/dist/esm/packages/teams-js/src/private/copilot/customTelemetry.js +1 -1
  35. package/dist/esm/packages/teams-js/src/private/copilot/eligibility.js +1 -1
  36. package/dist/esm/packages/teams-js/src/private/copilot/sidePanel.js +1 -1
  37. package/dist/esm/packages/teams-js/src/private/copilot/view.js +1 -1
  38. package/dist/esm/packages/teams-js/src/private/externalAppAuthentication.js +1 -1
  39. package/dist/esm/packages/teams-js/src/private/externalAppAuthenticationForCEA.js +1 -1
  40. package/dist/esm/packages/teams-js/src/private/externalAppCardActions.js +1 -1
  41. package/dist/esm/packages/teams-js/src/private/externalAppCardActionsForCEA.js +1 -1
  42. package/dist/esm/packages/teams-js/src/private/externalAppCardActionsForDA.js +1 -1
  43. package/dist/esm/packages/teams-js/src/private/externalAppCommands.js +1 -1
  44. package/dist/esm/packages/teams-js/src/private/hostEntity/tab.js +1 -1
  45. package/dist/esm/packages/teams-js/src/private/logs.js +1 -1
  46. package/dist/esm/packages/teams-js/src/private/meetingRoom.js +1 -1
  47. package/dist/esm/packages/teams-js/src/private/messageChannels/dataLayer.js +1 -1
  48. package/dist/esm/packages/teams-js/src/private/messageChannels/telemetry.js +1 -1
  49. package/dist/esm/packages/teams-js/src/private/privateAPIs.js +1 -1
  50. package/dist/esm/packages/teams-js/src/private/store.js +1 -1
  51. package/dist/esm/packages/teams-js/src/private/teams/fullTrust/fullTrust.js +1 -1
  52. package/dist/esm/packages/teams-js/src/private/teams/fullTrust/joinedTeams.js +1 -1
  53. package/dist/esm/packages/teams-js/src/private/videoEffectsEx.js +1 -1
  54. package/dist/esm/packages/teams-js/src/private/widgetHosting/widgetHosting.js +1 -1
  55. package/dist/esm/packages/teams-js/src/public/app/app.js +1 -1
  56. package/dist/esm/packages/teams-js/src/public/appInstallDialog.js +1 -1
  57. package/dist/esm/packages/teams-js/src/public/appPerformanceMetrics.js +1 -0
  58. package/dist/esm/packages/teams-js/src/public/authentication.js +1 -1
  59. package/dist/esm/packages/teams-js/src/public/barCode.js +1 -1
  60. package/dist/esm/packages/teams-js/src/public/calendar.js +1 -1
  61. package/dist/esm/packages/teams-js/src/public/call.js +1 -1
  62. package/dist/esm/packages/teams-js/src/public/chat.js +1 -1
  63. package/dist/esm/packages/teams-js/src/public/clipboard.js +1 -1
  64. package/dist/esm/packages/teams-js/src/public/dialog/adaptiveCard/adaptiveCard.js +1 -1
  65. package/dist/esm/packages/teams-js/src/public/dialog/adaptiveCard/bot.js +1 -1
  66. package/dist/esm/packages/teams-js/src/public/dialog/url/parentCommunication.js +1 -1
  67. package/dist/esm/packages/teams-js/src/public/geoLocation/geoLocation.js +1 -1
  68. package/dist/esm/packages/teams-js/src/public/liveShareHost.js +1 -1
  69. package/dist/esm/packages/teams-js/src/public/mail/handoff.js +1 -1
  70. package/dist/esm/packages/teams-js/src/public/mail/mail.js +1 -1
  71. package/dist/esm/packages/teams-js/src/public/media.js +1 -1
  72. package/dist/esm/packages/teams-js/src/public/meeting/meeting.js +1 -1
  73. package/dist/esm/packages/teams-js/src/public/monetization.js +1 -1
  74. package/dist/esm/packages/teams-js/src/public/navigation.js +1 -1
  75. package/dist/esm/packages/teams-js/src/public/nestedAppAuth.js +1 -1
  76. package/dist/esm/packages/teams-js/src/public/pages/appButton.js +1 -1
  77. package/dist/esm/packages/teams-js/src/public/pages/backStack.js +1 -1
  78. package/dist/esm/packages/teams-js/src/public/pages/config.js +1 -1
  79. package/dist/esm/packages/teams-js/src/public/pages/currentApp.js +1 -1
  80. package/dist/esm/packages/teams-js/src/public/pages/pages.js +1 -1
  81. package/dist/esm/packages/teams-js/src/public/people.js +1 -1
  82. package/dist/esm/packages/teams-js/src/public/profile.js +1 -1
  83. package/dist/esm/packages/teams-js/src/public/publicAPIs.js +1 -1
  84. package/dist/esm/packages/teams-js/src/public/runtime.js +1 -1
  85. package/dist/esm/packages/teams-js/src/public/search.js +1 -1
  86. package/dist/esm/packages/teams-js/src/public/settings.js +1 -1
  87. package/dist/esm/packages/teams-js/src/public/sharing/history.js +1 -1
  88. package/dist/esm/packages/teams-js/src/public/sharing/sharing.js +1 -1
  89. package/dist/esm/packages/teams-js/src/public/shortcutRelay.js +1 -1
  90. package/dist/esm/packages/teams-js/src/public/stageView/self.js +1 -1
  91. package/dist/esm/packages/teams-js/src/public/stageView/stageView.js +1 -1
  92. package/dist/esm/packages/teams-js/src/public/tasks.js +1 -1
  93. package/dist/esm/packages/teams-js/src/public/teamsAPIs.js +1 -1
  94. package/dist/esm/packages/teams-js/src/public/thirdPartyCloudStorage.js +1 -1
  95. package/dist/esm/packages/teams-js/src/public/uuidObject.js +1 -1
  96. package/dist/esm/packages/teams-js/src/public/version.js +1 -1
  97. package/dist/esm/packages/teams-js/src/public/videoEffects.js +1 -1
  98. package/dist/esm/packages/teams-js/src/public/visualMedia/image.js +1 -1
  99. package/dist/esm/packages/teams-js/src/public/webStorage.js +1 -1
  100. package/dist/umd/MicrosoftTeams.js +520 -466
  101. package/dist/umd/MicrosoftTeams.js.map +1 -1
  102. package/dist/umd/MicrosoftTeams.min.js +1 -1
  103. package/dist/umd/MicrosoftTeams.min.js.map +1 -1
  104. package/package.json +1 -1
  105. package/dist/esm/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.24.4_tslib@2.6.3_typescript@4.9.5/node_modules/tslib/tslib.es6.js +0 -1
@@ -7,446 +7,12 @@
7
7
  exports["microsoftTeams"] = factory();
8
8
  else
9
9
  root["microsoftTeams"] = factory();
10
- })(typeof self !== 'undefined' ? self : this, () => {
10
+ })(Object(typeof self !== 'undefined' ? self : this), () => {
11
11
  return /******/ (() => { // webpackBootstrap
12
12
  /******/ var __webpack_modules__ = ({
13
13
 
14
- /***/ 933:
15
- /***/ ((__unused_webpack_module, exports) => {
16
-
17
- "use strict";
18
-
19
-
20
- exports.byteLength = byteLength
21
- exports.toByteArray = toByteArray
22
- exports.fromByteArray = fromByteArray
23
-
24
- var lookup = []
25
- var revLookup = []
26
- var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array
27
-
28
- var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
29
- for (var i = 0, len = code.length; i < len; ++i) {
30
- lookup[i] = code[i]
31
- revLookup[code.charCodeAt(i)] = i
32
- }
33
-
34
- // Support decoding URL-safe base64 strings, as Node.js does.
35
- // See: https://en.wikipedia.org/wiki/Base64#URL_applications
36
- revLookup['-'.charCodeAt(0)] = 62
37
- revLookup['_'.charCodeAt(0)] = 63
38
-
39
- function getLens (b64) {
40
- var len = b64.length
41
-
42
- if (len % 4 > 0) {
43
- throw new Error('Invalid string. Length must be a multiple of 4')
44
- }
45
-
46
- // Trim off extra bytes after placeholder bytes are found
47
- // See: https://github.com/beatgammit/base64-js/issues/42
48
- var validLen = b64.indexOf('=')
49
- if (validLen === -1) validLen = len
50
-
51
- var placeHoldersLen = validLen === len
52
- ? 0
53
- : 4 - (validLen % 4)
54
-
55
- return [validLen, placeHoldersLen]
56
- }
57
-
58
- // base64 is 4/3 + up to two characters of the original data
59
- function byteLength (b64) {
60
- var lens = getLens(b64)
61
- var validLen = lens[0]
62
- var placeHoldersLen = lens[1]
63
- return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
64
- }
65
-
66
- function _byteLength (b64, validLen, placeHoldersLen) {
67
- return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
68
- }
69
-
70
- function toByteArray (b64) {
71
- var tmp
72
- var lens = getLens(b64)
73
- var validLen = lens[0]
74
- var placeHoldersLen = lens[1]
75
-
76
- var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))
77
-
78
- var curByte = 0
79
-
80
- // if there are placeholders, only get up to the last complete 4 chars
81
- var len = placeHoldersLen > 0
82
- ? validLen - 4
83
- : validLen
84
-
85
- var i
86
- for (i = 0; i < len; i += 4) {
87
- tmp =
88
- (revLookup[b64.charCodeAt(i)] << 18) |
89
- (revLookup[b64.charCodeAt(i + 1)] << 12) |
90
- (revLookup[b64.charCodeAt(i + 2)] << 6) |
91
- revLookup[b64.charCodeAt(i + 3)]
92
- arr[curByte++] = (tmp >> 16) & 0xFF
93
- arr[curByte++] = (tmp >> 8) & 0xFF
94
- arr[curByte++] = tmp & 0xFF
95
- }
96
-
97
- if (placeHoldersLen === 2) {
98
- tmp =
99
- (revLookup[b64.charCodeAt(i)] << 2) |
100
- (revLookup[b64.charCodeAt(i + 1)] >> 4)
101
- arr[curByte++] = tmp & 0xFF
102
- }
103
-
104
- if (placeHoldersLen === 1) {
105
- tmp =
106
- (revLookup[b64.charCodeAt(i)] << 10) |
107
- (revLookup[b64.charCodeAt(i + 1)] << 4) |
108
- (revLookup[b64.charCodeAt(i + 2)] >> 2)
109
- arr[curByte++] = (tmp >> 8) & 0xFF
110
- arr[curByte++] = tmp & 0xFF
111
- }
112
-
113
- return arr
114
- }
115
-
116
- function tripletToBase64 (num) {
117
- return lookup[num >> 18 & 0x3F] +
118
- lookup[num >> 12 & 0x3F] +
119
- lookup[num >> 6 & 0x3F] +
120
- lookup[num & 0x3F]
121
- }
122
-
123
- function encodeChunk (uint8, start, end) {
124
- var tmp
125
- var output = []
126
- for (var i = start; i < end; i += 3) {
127
- tmp =
128
- ((uint8[i] << 16) & 0xFF0000) +
129
- ((uint8[i + 1] << 8) & 0xFF00) +
130
- (uint8[i + 2] & 0xFF)
131
- output.push(tripletToBase64(tmp))
132
- }
133
- return output.join('')
134
- }
135
-
136
- function fromByteArray (uint8) {
137
- var tmp
138
- var len = uint8.length
139
- var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes
140
- var parts = []
141
- var maxChunkLength = 16383 // must be multiple of 3
142
-
143
- // go through the array every three bytes, we'll deal with trailing stuff later
144
- for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
145
- parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))
146
- }
147
-
148
- // pad the end with zeros, but make sure to not forget the extra bytes
149
- if (extraBytes === 1) {
150
- tmp = uint8[len - 1]
151
- parts.push(
152
- lookup[tmp >> 2] +
153
- lookup[(tmp << 4) & 0x3F] +
154
- '=='
155
- )
156
- } else if (extraBytes === 2) {
157
- tmp = (uint8[len - 2] << 8) + uint8[len - 1]
158
- parts.push(
159
- lookup[tmp >> 10] +
160
- lookup[(tmp >> 4) & 0x3F] +
161
- lookup[(tmp << 2) & 0x3F] +
162
- '='
163
- )
164
- }
165
-
166
- return parts.join('')
167
- }
168
-
169
-
170
- /***/ }),
171
-
172
- /***/ 815:
173
- /***/ ((module, exports, __webpack_require__) => {
174
-
175
- /* eslint-env browser */
176
-
177
- /**
178
- * This is the web browser implementation of `debug()`.
179
- */
180
-
181
- exports.formatArgs = formatArgs;
182
- exports.save = save;
183
- exports.load = load;
184
- exports.useColors = useColors;
185
- exports.storage = localstorage();
186
- exports.destroy = (() => {
187
- let warned = false;
188
-
189
- return () => {
190
- if (!warned) {
191
- warned = true;
192
- console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
193
- }
194
- };
195
- })();
196
-
197
- /**
198
- * Colors.
199
- */
200
-
201
- exports.colors = [
202
- '#0000CC',
203
- '#0000FF',
204
- '#0033CC',
205
- '#0033FF',
206
- '#0066CC',
207
- '#0066FF',
208
- '#0099CC',
209
- '#0099FF',
210
- '#00CC00',
211
- '#00CC33',
212
- '#00CC66',
213
- '#00CC99',
214
- '#00CCCC',
215
- '#00CCFF',
216
- '#3300CC',
217
- '#3300FF',
218
- '#3333CC',
219
- '#3333FF',
220
- '#3366CC',
221
- '#3366FF',
222
- '#3399CC',
223
- '#3399FF',
224
- '#33CC00',
225
- '#33CC33',
226
- '#33CC66',
227
- '#33CC99',
228
- '#33CCCC',
229
- '#33CCFF',
230
- '#6600CC',
231
- '#6600FF',
232
- '#6633CC',
233
- '#6633FF',
234
- '#66CC00',
235
- '#66CC33',
236
- '#9900CC',
237
- '#9900FF',
238
- '#9933CC',
239
- '#9933FF',
240
- '#99CC00',
241
- '#99CC33',
242
- '#CC0000',
243
- '#CC0033',
244
- '#CC0066',
245
- '#CC0099',
246
- '#CC00CC',
247
- '#CC00FF',
248
- '#CC3300',
249
- '#CC3333',
250
- '#CC3366',
251
- '#CC3399',
252
- '#CC33CC',
253
- '#CC33FF',
254
- '#CC6600',
255
- '#CC6633',
256
- '#CC9900',
257
- '#CC9933',
258
- '#CCCC00',
259
- '#CCCC33',
260
- '#FF0000',
261
- '#FF0033',
262
- '#FF0066',
263
- '#FF0099',
264
- '#FF00CC',
265
- '#FF00FF',
266
- '#FF3300',
267
- '#FF3333',
268
- '#FF3366',
269
- '#FF3399',
270
- '#FF33CC',
271
- '#FF33FF',
272
- '#FF6600',
273
- '#FF6633',
274
- '#FF9900',
275
- '#FF9933',
276
- '#FFCC00',
277
- '#FFCC33'
278
- ];
279
-
280
- /**
281
- * Currently only WebKit-based Web Inspectors, Firefox >= v31,
282
- * and the Firebug extension (any Firefox version) are known
283
- * to support "%c" CSS customizations.
284
- *
285
- * TODO: add a `localStorage` variable to explicitly enable/disable colors
286
- */
287
-
288
- // eslint-disable-next-line complexity
289
- function useColors() {
290
- // NB: In an Electron preload script, document will be defined but not fully
291
- // initialized. Since we know we're in Chrome, we'll just detect this case
292
- // explicitly
293
- if (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {
294
- return true;
295
- }
296
-
297
- // Internet Explorer and Edge do not support colors.
298
- if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
299
- return false;
300
- }
301
-
302
- // Is webkit? http://stackoverflow.com/a/16459606/376773
303
- // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632
304
- return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||
305
- // Is firebug? http://stackoverflow.com/a/398120/376773
306
- (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||
307
- // Is firefox >= v31?
308
- // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
309
- (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||
310
- // Double check webkit in userAgent just in case we are in a worker
311
- (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/));
312
- }
313
-
314
- /**
315
- * Colorize log arguments if enabled.
316
- *
317
- * @api public
318
- */
319
-
320
- function formatArgs(args) {
321
- args[0] = (this.useColors ? '%c' : '') +
322
- this.namespace +
323
- (this.useColors ? ' %c' : ' ') +
324
- args[0] +
325
- (this.useColors ? '%c ' : ' ') +
326
- '+' + module.exports.humanize(this.diff);
327
-
328
- if (!this.useColors) {
329
- return;
330
- }
331
-
332
- const c = 'color: ' + this.color;
333
- args.splice(1, 0, c, 'color: inherit');
334
-
335
- // The final "%c" is somewhat tricky, because there could be other
336
- // arguments passed either before or after the %c, so we need to
337
- // figure out the correct index to insert the CSS into
338
- let index = 0;
339
- let lastC = 0;
340
- args[0].replace(/%[a-zA-Z%]/g, match => {
341
- if (match === '%%') {
342
- return;
343
- }
344
- index++;
345
- if (match === '%c') {
346
- // We only are interested in the *last* %c
347
- // (the user may have provided their own)
348
- lastC = index;
349
- }
350
- });
351
-
352
- args.splice(lastC, 0, c);
353
- }
354
-
355
- /**
356
- * Invokes `console.debug()` when available.
357
- * No-op when `console.debug` is not a "function".
358
- * If `console.debug` is not available, falls back
359
- * to `console.log`.
360
- *
361
- * @api public
362
- */
363
- exports.log = console.debug || console.log || (() => {});
364
-
365
- /**
366
- * Save `namespaces`.
367
- *
368
- * @param {String} namespaces
369
- * @api private
370
- */
371
- function save(namespaces) {
372
- try {
373
- if (namespaces) {
374
- exports.storage.setItem('debug', namespaces);
375
- } else {
376
- exports.storage.removeItem('debug');
377
- }
378
- } catch (error) {
379
- // Swallow
380
- // XXX (@Qix-) should we be logging these?
381
- }
382
- }
383
-
384
- /**
385
- * Load `namespaces`.
386
- *
387
- * @return {String} returns the previously persisted debug modes
388
- * @api private
389
- */
390
- function load() {
391
- let r;
392
- try {
393
- r = exports.storage.getItem('debug');
394
- } catch (error) {
395
- // Swallow
396
- // XXX (@Qix-) should we be logging these?
397
- }
398
-
399
- // If debug isn't set in LS, and we're in Electron, try to load $DEBUG
400
- if (!r && typeof process !== 'undefined' && 'env' in process) {
401
- r = process.env.DEBUG;
402
- }
403
-
404
- return r;
405
- }
406
-
407
- /**
408
- * Localstorage attempts to return the localstorage.
409
- *
410
- * This is necessary because safari throws
411
- * when a user disables cookies/localstorage
412
- * and you attempt to access it.
413
- *
414
- * @return {LocalStorage}
415
- * @api private
416
- */
417
-
418
- function localstorage() {
419
- try {
420
- // TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context
421
- // The Browser also has localStorage in the global context.
422
- return localStorage;
423
- } catch (error) {
424
- // Swallow
425
- // XXX (@Qix-) should we be logging these?
426
- }
427
- }
428
-
429
- module.exports = __webpack_require__(530)(exports);
430
-
431
- const {formatters} = module.exports;
432
-
433
- /**
434
- * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.
435
- */
436
-
437
- formatters.j = function (v) {
438
- try {
439
- return JSON.stringify(v);
440
- } catch (error) {
441
- return '[UnexpectedJSONParseError]: ' + error.message;
442
- }
443
- };
444
-
445
-
446
- /***/ }),
447
-
448
- /***/ 530:
449
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
14
+ /***/ 530
15
+ (module, __unused_webpack_exports, __webpack_require__) {
450
16
 
451
17
 
452
18
  /**
@@ -694,40 +260,316 @@ function setup(env) {
694
260
  .replace(/\.\*\?$/, '*');
695
261
  }
696
262
 
697
- /**
698
- * Coerce `val`.
699
- *
700
- * @param {Mixed} val
701
- * @return {Mixed}
702
- * @api private
703
- */
704
- function coerce(val) {
705
- if (val instanceof Error) {
706
- return val.stack || val.message;
707
- }
708
- return val;
263
+ /**
264
+ * Coerce `val`.
265
+ *
266
+ * @param {Mixed} val
267
+ * @return {Mixed}
268
+ * @api private
269
+ */
270
+ function coerce(val) {
271
+ if (val instanceof Error) {
272
+ return val.stack || val.message;
273
+ }
274
+ return val;
275
+ }
276
+
277
+ /**
278
+ * XXX DO NOT USE. This is a temporary stub function.
279
+ * XXX It WILL be removed in the next major release.
280
+ */
281
+ function destroy() {
282
+ console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
283
+ }
284
+
285
+ createDebug.enable(createDebug.load());
286
+
287
+ return createDebug;
288
+ }
289
+
290
+ module.exports = setup;
291
+
292
+
293
+ /***/ },
294
+
295
+ /***/ 815
296
+ (module, exports, __webpack_require__) {
297
+
298
+ /* eslint-env browser */
299
+
300
+ /**
301
+ * This is the web browser implementation of `debug()`.
302
+ */
303
+
304
+ exports.formatArgs = formatArgs;
305
+ exports.save = save;
306
+ exports.load = load;
307
+ exports.useColors = useColors;
308
+ exports.storage = localstorage();
309
+ exports.destroy = (() => {
310
+ let warned = false;
311
+
312
+ return () => {
313
+ if (!warned) {
314
+ warned = true;
315
+ console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
316
+ }
317
+ };
318
+ })();
319
+
320
+ /**
321
+ * Colors.
322
+ */
323
+
324
+ exports.colors = [
325
+ '#0000CC',
326
+ '#0000FF',
327
+ '#0033CC',
328
+ '#0033FF',
329
+ '#0066CC',
330
+ '#0066FF',
331
+ '#0099CC',
332
+ '#0099FF',
333
+ '#00CC00',
334
+ '#00CC33',
335
+ '#00CC66',
336
+ '#00CC99',
337
+ '#00CCCC',
338
+ '#00CCFF',
339
+ '#3300CC',
340
+ '#3300FF',
341
+ '#3333CC',
342
+ '#3333FF',
343
+ '#3366CC',
344
+ '#3366FF',
345
+ '#3399CC',
346
+ '#3399FF',
347
+ '#33CC00',
348
+ '#33CC33',
349
+ '#33CC66',
350
+ '#33CC99',
351
+ '#33CCCC',
352
+ '#33CCFF',
353
+ '#6600CC',
354
+ '#6600FF',
355
+ '#6633CC',
356
+ '#6633FF',
357
+ '#66CC00',
358
+ '#66CC33',
359
+ '#9900CC',
360
+ '#9900FF',
361
+ '#9933CC',
362
+ '#9933FF',
363
+ '#99CC00',
364
+ '#99CC33',
365
+ '#CC0000',
366
+ '#CC0033',
367
+ '#CC0066',
368
+ '#CC0099',
369
+ '#CC00CC',
370
+ '#CC00FF',
371
+ '#CC3300',
372
+ '#CC3333',
373
+ '#CC3366',
374
+ '#CC3399',
375
+ '#CC33CC',
376
+ '#CC33FF',
377
+ '#CC6600',
378
+ '#CC6633',
379
+ '#CC9900',
380
+ '#CC9933',
381
+ '#CCCC00',
382
+ '#CCCC33',
383
+ '#FF0000',
384
+ '#FF0033',
385
+ '#FF0066',
386
+ '#FF0099',
387
+ '#FF00CC',
388
+ '#FF00FF',
389
+ '#FF3300',
390
+ '#FF3333',
391
+ '#FF3366',
392
+ '#FF3399',
393
+ '#FF33CC',
394
+ '#FF33FF',
395
+ '#FF6600',
396
+ '#FF6633',
397
+ '#FF9900',
398
+ '#FF9933',
399
+ '#FFCC00',
400
+ '#FFCC33'
401
+ ];
402
+
403
+ /**
404
+ * Currently only WebKit-based Web Inspectors, Firefox >= v31,
405
+ * and the Firebug extension (any Firefox version) are known
406
+ * to support "%c" CSS customizations.
407
+ *
408
+ * TODO: add a `localStorage` variable to explicitly enable/disable colors
409
+ */
410
+
411
+ // eslint-disable-next-line complexity
412
+ function useColors() {
413
+ // NB: In an Electron preload script, document will be defined but not fully
414
+ // initialized. Since we know we're in Chrome, we'll just detect this case
415
+ // explicitly
416
+ if (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {
417
+ return true;
418
+ }
419
+
420
+ // Internet Explorer and Edge do not support colors.
421
+ if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
422
+ return false;
423
+ }
424
+
425
+ // Is webkit? http://stackoverflow.com/a/16459606/376773
426
+ // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632
427
+ return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||
428
+ // Is firebug? http://stackoverflow.com/a/398120/376773
429
+ (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||
430
+ // Is firefox >= v31?
431
+ // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
432
+ (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||
433
+ // Double check webkit in userAgent just in case we are in a worker
434
+ (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/));
435
+ }
436
+
437
+ /**
438
+ * Colorize log arguments if enabled.
439
+ *
440
+ * @api public
441
+ */
442
+
443
+ function formatArgs(args) {
444
+ args[0] = (this.useColors ? '%c' : '') +
445
+ this.namespace +
446
+ (this.useColors ? ' %c' : ' ') +
447
+ args[0] +
448
+ (this.useColors ? '%c ' : ' ') +
449
+ '+' + module.exports.humanize(this.diff);
450
+
451
+ if (!this.useColors) {
452
+ return;
453
+ }
454
+
455
+ const c = 'color: ' + this.color;
456
+ args.splice(1, 0, c, 'color: inherit');
457
+
458
+ // The final "%c" is somewhat tricky, because there could be other
459
+ // arguments passed either before or after the %c, so we need to
460
+ // figure out the correct index to insert the CSS into
461
+ let index = 0;
462
+ let lastC = 0;
463
+ args[0].replace(/%[a-zA-Z%]/g, match => {
464
+ if (match === '%%') {
465
+ return;
466
+ }
467
+ index++;
468
+ if (match === '%c') {
469
+ // We only are interested in the *last* %c
470
+ // (the user may have provided their own)
471
+ lastC = index;
472
+ }
473
+ });
474
+
475
+ args.splice(lastC, 0, c);
476
+ }
477
+
478
+ /**
479
+ * Invokes `console.debug()` when available.
480
+ * No-op when `console.debug` is not a "function".
481
+ * If `console.debug` is not available, falls back
482
+ * to `console.log`.
483
+ *
484
+ * @api public
485
+ */
486
+ exports.log = console.debug || console.log || (() => {});
487
+
488
+ /**
489
+ * Save `namespaces`.
490
+ *
491
+ * @param {String} namespaces
492
+ * @api private
493
+ */
494
+ function save(namespaces) {
495
+ try {
496
+ if (namespaces) {
497
+ exports.storage.setItem('debug', namespaces);
498
+ } else {
499
+ exports.storage.removeItem('debug');
500
+ }
501
+ } catch (error) {
502
+ // Swallow
503
+ // XXX (@Qix-) should we be logging these?
504
+ }
505
+ }
506
+
507
+ /**
508
+ * Load `namespaces`.
509
+ *
510
+ * @return {String} returns the previously persisted debug modes
511
+ * @api private
512
+ */
513
+ function load() {
514
+ let r;
515
+ try {
516
+ r = exports.storage.getItem('debug');
517
+ } catch (error) {
518
+ // Swallow
519
+ // XXX (@Qix-) should we be logging these?
520
+ }
521
+
522
+ // If debug isn't set in LS, and we're in Electron, try to load $DEBUG
523
+ if (!r && typeof process !== 'undefined' && 'env' in process) {
524
+ r = process.env.DEBUG;
709
525
  }
710
526
 
711
- /**
712
- * XXX DO NOT USE. This is a temporary stub function.
713
- * XXX It WILL be removed in the next major release.
714
- */
715
- function destroy() {
716
- console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
717
- }
527
+ return r;
528
+ }
718
529
 
719
- createDebug.enable(createDebug.load());
530
+ /**
531
+ * Localstorage attempts to return the localstorage.
532
+ *
533
+ * This is necessary because safari throws
534
+ * when a user disables cookies/localstorage
535
+ * and you attempt to access it.
536
+ *
537
+ * @return {LocalStorage}
538
+ * @api private
539
+ */
720
540
 
721
- return createDebug;
541
+ function localstorage() {
542
+ try {
543
+ // TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context
544
+ // The Browser also has localStorage in the global context.
545
+ return localStorage;
546
+ } catch (error) {
547
+ // Swallow
548
+ // XXX (@Qix-) should we be logging these?
549
+ }
722
550
  }
723
551
 
724
- module.exports = setup;
552
+ module.exports = __webpack_require__(530)(exports);
553
+
554
+ const {formatters} = module.exports;
555
+
556
+ /**
557
+ * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.
558
+ */
559
+
560
+ formatters.j = function (v) {
561
+ try {
562
+ return JSON.stringify(v);
563
+ } catch (error) {
564
+ return '[UnexpectedJSONParseError]: ' + error.message;
565
+ }
566
+ };
725
567
 
726
568
 
727
- /***/ }),
569
+ /***/ },
728
570
 
729
- /***/ 821:
730
- /***/ ((module) => {
571
+ /***/ 821
572
+ (module) {
731
573
 
732
574
  /**
733
575
  * Helpers.
@@ -893,7 +735,165 @@ function plural(ms, msAbs, n, name) {
893
735
  }
894
736
 
895
737
 
896
- /***/ })
738
+ /***/ },
739
+
740
+ /***/ 933
741
+ (__unused_webpack_module, exports) {
742
+
743
+ "use strict";
744
+
745
+
746
+ exports.byteLength = byteLength
747
+ exports.toByteArray = toByteArray
748
+ exports.fromByteArray = fromByteArray
749
+
750
+ var lookup = []
751
+ var revLookup = []
752
+ var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array
753
+
754
+ var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
755
+ for (var i = 0, len = code.length; i < len; ++i) {
756
+ lookup[i] = code[i]
757
+ revLookup[code.charCodeAt(i)] = i
758
+ }
759
+
760
+ // Support decoding URL-safe base64 strings, as Node.js does.
761
+ // See: https://en.wikipedia.org/wiki/Base64#URL_applications
762
+ revLookup['-'.charCodeAt(0)] = 62
763
+ revLookup['_'.charCodeAt(0)] = 63
764
+
765
+ function getLens (b64) {
766
+ var len = b64.length
767
+
768
+ if (len % 4 > 0) {
769
+ throw new Error('Invalid string. Length must be a multiple of 4')
770
+ }
771
+
772
+ // Trim off extra bytes after placeholder bytes are found
773
+ // See: https://github.com/beatgammit/base64-js/issues/42
774
+ var validLen = b64.indexOf('=')
775
+ if (validLen === -1) validLen = len
776
+
777
+ var placeHoldersLen = validLen === len
778
+ ? 0
779
+ : 4 - (validLen % 4)
780
+
781
+ return [validLen, placeHoldersLen]
782
+ }
783
+
784
+ // base64 is 4/3 + up to two characters of the original data
785
+ function byteLength (b64) {
786
+ var lens = getLens(b64)
787
+ var validLen = lens[0]
788
+ var placeHoldersLen = lens[1]
789
+ return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
790
+ }
791
+
792
+ function _byteLength (b64, validLen, placeHoldersLen) {
793
+ return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
794
+ }
795
+
796
+ function toByteArray (b64) {
797
+ var tmp
798
+ var lens = getLens(b64)
799
+ var validLen = lens[0]
800
+ var placeHoldersLen = lens[1]
801
+
802
+ var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))
803
+
804
+ var curByte = 0
805
+
806
+ // if there are placeholders, only get up to the last complete 4 chars
807
+ var len = placeHoldersLen > 0
808
+ ? validLen - 4
809
+ : validLen
810
+
811
+ var i
812
+ for (i = 0; i < len; i += 4) {
813
+ tmp =
814
+ (revLookup[b64.charCodeAt(i)] << 18) |
815
+ (revLookup[b64.charCodeAt(i + 1)] << 12) |
816
+ (revLookup[b64.charCodeAt(i + 2)] << 6) |
817
+ revLookup[b64.charCodeAt(i + 3)]
818
+ arr[curByte++] = (tmp >> 16) & 0xFF
819
+ arr[curByte++] = (tmp >> 8) & 0xFF
820
+ arr[curByte++] = tmp & 0xFF
821
+ }
822
+
823
+ if (placeHoldersLen === 2) {
824
+ tmp =
825
+ (revLookup[b64.charCodeAt(i)] << 2) |
826
+ (revLookup[b64.charCodeAt(i + 1)] >> 4)
827
+ arr[curByte++] = tmp & 0xFF
828
+ }
829
+
830
+ if (placeHoldersLen === 1) {
831
+ tmp =
832
+ (revLookup[b64.charCodeAt(i)] << 10) |
833
+ (revLookup[b64.charCodeAt(i + 1)] << 4) |
834
+ (revLookup[b64.charCodeAt(i + 2)] >> 2)
835
+ arr[curByte++] = (tmp >> 8) & 0xFF
836
+ arr[curByte++] = tmp & 0xFF
837
+ }
838
+
839
+ return arr
840
+ }
841
+
842
+ function tripletToBase64 (num) {
843
+ return lookup[num >> 18 & 0x3F] +
844
+ lookup[num >> 12 & 0x3F] +
845
+ lookup[num >> 6 & 0x3F] +
846
+ lookup[num & 0x3F]
847
+ }
848
+
849
+ function encodeChunk (uint8, start, end) {
850
+ var tmp
851
+ var output = []
852
+ for (var i = start; i < end; i += 3) {
853
+ tmp =
854
+ ((uint8[i] << 16) & 0xFF0000) +
855
+ ((uint8[i + 1] << 8) & 0xFF00) +
856
+ (uint8[i + 2] & 0xFF)
857
+ output.push(tripletToBase64(tmp))
858
+ }
859
+ return output.join('')
860
+ }
861
+
862
+ function fromByteArray (uint8) {
863
+ var tmp
864
+ var len = uint8.length
865
+ var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes
866
+ var parts = []
867
+ var maxChunkLength = 16383 // must be multiple of 3
868
+
869
+ // go through the array every three bytes, we'll deal with trailing stuff later
870
+ for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
871
+ parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))
872
+ }
873
+
874
+ // pad the end with zeros, but make sure to not forget the extra bytes
875
+ if (extraBytes === 1) {
876
+ tmp = uint8[len - 1]
877
+ parts.push(
878
+ lookup[tmp >> 2] +
879
+ lookup[(tmp << 4) & 0x3F] +
880
+ '=='
881
+ )
882
+ } else if (extraBytes === 2) {
883
+ tmp = (uint8[len - 2] << 8) + uint8[len - 1]
884
+ parts.push(
885
+ lookup[tmp >> 10] +
886
+ lookup[(tmp >> 4) & 0x3F] +
887
+ lookup[(tmp << 2) & 0x3F] +
888
+ '='
889
+ )
890
+ }
891
+
892
+ return parts.join('')
893
+ }
894
+
895
+
896
+ /***/ }
897
897
 
898
898
  /******/ });
899
899
  /************************************************************************/
@@ -943,7 +943,7 @@ function plural(ms, msAbs, n, name) {
943
943
  /******/ __webpack_require__.r(ns);
944
944
  /******/ var def = {};
945
945
  /******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
946
- /******/ for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {
946
+ /******/ for(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) {
947
947
  /******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));
948
948
  /******/ }
949
949
  /******/ def['default'] = () => (value);
@@ -1020,6 +1020,7 @@ __webpack_require__.d(__webpack_exports__, {
1020
1020
  appEntity: () => (/* reexport */ appEntity_namespaceObject),
1021
1021
  appInitialization: () => (/* reexport */ appInitialization_namespaceObject),
1022
1022
  appInstallDialog: () => (/* reexport */ appInstallDialog_namespaceObject),
1023
+ appPerformanceMetrics: () => (/* reexport */ appPerformanceMetrics_namespaceObject),
1023
1024
  authentication: () => (/* reexport */ authentication_namespaceObject),
1024
1025
  barCode: () => (/* reexport */ barCode_namespaceObject),
1025
1026
  calendar: () => (/* reexport */ calendar_namespaceObject),
@@ -1703,6 +1704,14 @@ __webpack_require__.d(authentication_namespaceObject, {
1703
1704
  registerAuthenticationHandlers: () => (registerAuthenticationHandlers)
1704
1705
  });
1705
1706
 
1707
+ // NAMESPACE OBJECT: ./src/public/appPerformanceMetrics.ts
1708
+ var appPerformanceMetrics_namespaceObject = {};
1709
+ __webpack_require__.r(appPerformanceMetrics_namespaceObject);
1710
+ __webpack_require__.d(appPerformanceMetrics_namespaceObject, {
1711
+ isSupported: () => (appPerformanceMetrics_isSupported),
1712
+ registerHostMemoryMetricsHandler: () => (registerHostMemoryMetricsHandler)
1713
+ });
1714
+
1706
1715
  // NAMESPACE OBJECT: ./src/public/appInstallDialog.ts
1707
1716
  var appInstallDialog_namespaceObject = {};
1708
1717
  __webpack_require__.r(appInstallDialog_namespaceObject);
@@ -2286,7 +2295,7 @@ var ClipboardSupportedMimeType;
2286
2295
  })(ClipboardSupportedMimeType || (ClipboardSupportedMimeType = {}));
2287
2296
 
2288
2297
  ;// ./src/artifactsForCDN/validDomains.json
2289
- const validDomains_namespaceObject = /*#__PURE__*/JSON.parse('{"validOrigins":["teams.microsoft.com","teams.microsoft.us","gov.teams.microsoft.us","dod.teams.microsoft.us","int.teams.microsoft.com","outlook.office.com","outlook-sdf.office.com","outlook.office365.com","outlook-sdf.office365.com","outlook.office365.us","outlook-dod.office365.us","webmail.apps.mil","outlook.live.com","outlook-sdf.live.com","teams.live.com","local.teams.live.com","local.teams.live.com:8080","local.teams.office.com","local.teams.office.com:8080","devspaces.skype.com","*.www.office.com","www.office.com","word.office.com","excel.office.com","powerpoint.office.com","www.officeppe.com","*.www.microsoft365.com","www.microsoft365.com","bing.com","edgeservices.bing.com","work.bing.com","www.bing.com","www.staging-bing-int.com","*.cloud.microsoft","*.m365.cloud.microsoft","*.outlook.cloud.microsoft","chatuxmanager.svc.cloud.microsoft","copilot.microsoft.com","windows.msn.com","fa000000125.resources.office.net","fa000000129.resources.office.net","fa000000124.resources.office.net","fa000000128.resources.office.net","fa000000136.resources.office.net","fa000000125.officeapps.live.com","fa000000129.officeapps.live.com","fa000000124.officeapps.live.com","fa000000128.officeapps.live.com","fa000000136.mro1cdnstorage.public.onecdn.static.microsoft","substrate-msb-bizchatvnext-service.sdf01.substrate-msb-bingatwork.eastus2-sdf.cosmic-ppe.office.net","office-home-m365copilotapp.wus2sdf1.office-home-m365copilotapp.westus2-sdf.cosmic-ppe.office.net","office-home-m365copilotapp.wus2test1.office-home-m365copilotapp.westus2-test.cosmic-int.office.net","m365copilotapp.svc.cloud.microsoft","m365copilotapp.svc.cloud.dev.microsoft","ffc-copilot.officeapps.live.com","m365.cloud.dev.microsoft","m365.cloud.dev.microsoft:3001"]}');
2298
+ const validDomains_namespaceObject = /*#__PURE__*/JSON.parse('{"validOrigins":["teams.microsoft.com","teams.microsoft.us","gov.teams.microsoft.us","dod.teams.microsoft.us","int.teams.microsoft.com","outlook.office.com","outlook-sdf.office.com","outlook.office365.com","outlook-sdf.office365.com","outlook.office365.us","outlook-dod.office365.us","webmail.apps.mil","outlook.live.com","outlook-sdf.live.com","teams.live.com","local.teams.live.com","local.teams.live.com:8080","local.teams.office.com","local.teams.office.com:8080","devspaces.skype.com","*.www.office.com","www.office.com","word.office.com","excel.office.com","powerpoint.office.com","www.officeppe.com","*.www.microsoft365.com","www.microsoft365.com","bing.com","edgeservices.bing.com","work.bing.com","www.bing.com","www.staging-bing-int.com","*.cloud.microsoft","*.m365.cloud.microsoft","*.outlook.cloud.microsoft","chatuxmanager.svc.cloud.microsoft","copilot.microsoft.com","windows.msn.com","fa000000125.resources.office.net","fa000000129.resources.office.net","fa000000124.resources.office.net","fa000000128.resources.office.net","fa000000136.resources.office.net","fa000000125.officeapps.live.com","fa000000129.officeapps.live.com","fa000000124.officeapps.live.com","fa000000128.officeapps.live.com","fa000000136.mro1cdnstorage.public.cdn.office.net","fa000000136.mro1cdnstorage.public.onecdn.static.microsoft","substrate-msb-bizchatvnext-service.sdf01.substrate-msb-bingatwork.eastus2-sdf.cosmic-ppe.office.net","office-home-m365copilotapp.wus2sdf1.office-home-m365copilotapp.westus2-sdf.cosmic-ppe.office.net","office-home-m365copilotapp.wus2test1.office-home-m365copilotapp.westus2-test.cosmic-int.office.net","m365copilotapp.svc.cloud.microsoft","m365copilotapp.svc.cloud.dev.microsoft","ffc-copilot.officeapps.live.com","m365.cloud.dev.microsoft","m365.cloud.dev.microsoft:3001"]}');
2290
2299
  var artifactsForCDN_validDomains_namespaceObject = /*#__PURE__*/__webpack_require__.t(validDomains_namespaceObject, 2);
2291
2300
  ;// ./src/internal/constants.ts
2292
2301
 
@@ -4668,7 +4677,7 @@ function isSerializable(arg) {
4668
4677
  * @hidden
4669
4678
  * Package version.
4670
4679
  */
4671
- const version = "2.48.0-beta.1";
4680
+ const version = "2.48.0-beta.3";
4672
4681
 
4673
4682
  ;// ./src/public/featureFlags.ts
4674
4683
  // All build feature flags are defined inside this object. Any build feature flag must have its own unique getter and setter function. This pattern allows for client apps to treeshake unused code and avoid including code guarded by this feature flags in the final bundle. If this property isn't desired, use the below runtime feature flags object.
@@ -7603,6 +7612,7 @@ class HandlersPrivate {
7603
7612
  static initializeHandlers() {
7604
7613
  // ::::::::::::::::::::MicrosoftTeams SDK Internal :::::::::::::::::
7605
7614
  HandlersPrivate.handlers['themeChange'] = handleThemeChange;
7615
+ HandlersPrivate.handlers['contextChange'] = handleContextChange;
7606
7616
  HandlersPrivate.handlers['load'] = handleLoad;
7607
7617
  HandlersPrivate.handlers['beforeUnload'] = handleBeforeUnload;
7608
7618
  initializeBackStackHelper();
@@ -7746,6 +7756,18 @@ function handleThemeChange(theme) {
7746
7756
  sendMessageEventToChild('themeChange', [theme]);
7747
7757
  }
7748
7758
  }
7759
+ /**
7760
+ * @internal
7761
+ * Limited to Microsoft-internal use
7762
+ */
7763
+ function handleContextChange(context) {
7764
+ if (HandlersPrivate.contextChangeHandler) {
7765
+ HandlersPrivate.contextChangeHandler(context);
7766
+ }
7767
+ if (shouldEventBeRelayedToChild()) {
7768
+ sendMessageEventToChild('contextChange', [context]);
7769
+ }
7770
+ }
7749
7771
  /**
7750
7772
  * @internal
7751
7773
  * Limited to Microsoft-internal use
@@ -14766,6 +14788,36 @@ var DataResidency;
14766
14788
  DataResidency["Other"] = "other";
14767
14789
  })(DataResidency || (DataResidency = {}));
14768
14790
 
14791
+ ;// ./src/public/appPerformanceMetrics.ts
14792
+
14793
+
14794
+
14795
+
14796
+ /**
14797
+ * @beta
14798
+ * Indicates whether the app performance metrics capability is supported in the current host.
14799
+ * @returns boolean to represent whether the shortcutRelay capability is supported
14800
+ *
14801
+ * @throws Error if {@link app.initialize} has not successfully completed
14802
+ *
14803
+ */
14804
+ function appPerformanceMetrics_isSupported() {
14805
+ return ensureInitialized(runtime) && !!runtime.supports.appPerformanceMetrics;
14806
+ }
14807
+ /**
14808
+ * @beta
14809
+ * Registers a function to handle memory metrics heartbeat sent from the host periodically.
14810
+ *
14811
+ * @remarks
14812
+ * Only one handler can be registered at a time. A subsequent registration replaces an existing registration.
14813
+ *
14814
+ * @param handler - The handler to invoke each time memory metrics heartbeat is received from the host.
14815
+ */
14816
+ function registerHostMemoryMetricsHandler(handler) {
14817
+ ensureInitialized(runtime);
14818
+ registerHandler(getApiVersionTag("v2" /* ApiVersionNumber.V_2 */, "appPerformanceMetrics.memoryUsageHeartbeat" /* ApiName.AppPerformanceMetrics_RegisterHostMemoryMetricsHandler */), "appPerformanceMetrics.memoryUsageHeartbeat" /* ApiName.AppPerformanceMetrics_RegisterHostMemoryMetricsHandler */, handler);
14819
+ }
14820
+
14769
14821
  ;// ./src/internal/emailAddressValidation.ts
14770
14822
  function validateEmailAddress(emailString) {
14771
14823
  const emailIsEmptyOrUndefined = emailString ? emailString.length <= 0 : true;
@@ -20363,6 +20415,8 @@ const DISABLE_SHORTCUT_FORWARDING_ATTRIBUTE = 'data-disable-shortcuts-forwarding
20363
20415
 
20364
20416
 
20365
20417
 
20418
+
20419
+
20366
20420
 
20367
20421
 
20368
20422