@multiplayer-app/session-recorder-browser 1.3.11 → 1.3.13
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.
- package/dist/browser/index.js +533 -128
- package/dist/exporters/index.js +1 -1
- package/dist/exporters/index.js.LICENSE.txt +4 -4
- package/dist/exporters/index.js.map +1 -1
- package/dist/index.js +567 -126
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +576 -127
- package/dist/index.umd.js.map +1 -1
- package/dist/listeners.d.ts.map +1 -1
- package/dist/listeners.js.map +1 -1
- package/dist/services/api.service.d.ts +2 -1
- package/dist/services/api.service.d.ts.map +1 -1
- package/dist/services/api.service.js.map +1 -1
- package/dist/services/socket.service.d.ts +1 -1
- package/dist/services/socket.service.d.ts.map +1 -1
- package/dist/services/socket.service.js.map +1 -1
- package/dist/session-recorder.d.ts +3 -3
- package/dist/session-recorder.d.ts.map +1 -1
- package/dist/session-recorder.js +2 -2
- package/dist/session-recorder.js.map +1 -1
- package/dist/sessionWidget/index.d.ts +1 -0
- package/dist/sessionWidget/index.d.ts.map +1 -1
- package/dist/sessionWidget/index.js +2 -1
- package/dist/sessionWidget/index.js.map +1 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +0 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/session-recorder.d.ts +1 -2
- package/dist/types/session-recorder.d.ts.map +1 -1
- package/dist/utils/navigator.d.ts +1 -1
- package/dist/utils/navigator.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/types/session.d.ts +0 -71
- package/dist/types/session.d.ts.map +0 -1
- package/dist/types/session.js +0 -7
- package/dist/types/session.js.map +0 -1
package/dist/index.umd.js
CHANGED
|
@@ -17264,6 +17264,154 @@ const MessageTypeValues =
|
|
|
17264
17264
|
|
|
17265
17265
|
/***/ }),
|
|
17266
17266
|
|
|
17267
|
+
/***/ "../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./src/sessionWidget/styles/button.scss":
|
|
17268
|
+
/*!***********************************************************************************************************************************!*\
|
|
17269
|
+
!*** ../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./src/sessionWidget/styles/button.scss ***!
|
|
17270
|
+
\***********************************************************************************************************************************/
|
|
17271
|
+
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
17272
|
+
|
|
17273
|
+
"use strict";
|
|
17274
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17275
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
17276
|
+
/* harmony export */ });
|
|
17277
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js */ "../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js");
|
|
17278
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
17279
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ "../../node_modules/css-loader/dist/runtime/api.js");
|
|
17280
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
17281
|
+
// Imports
|
|
17282
|
+
|
|
17283
|
+
|
|
17284
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_cssWithMappingToString_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
17285
|
+
// Module
|
|
17286
|
+
___CSS_LOADER_EXPORT___.push([module.id, "@keyframes _rotateAnimation {\n 0% {\n transform: rotate(0);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n@keyframes _bounceAnimation {\n 0%, 100% {\n padding: 3px;\n }\n 50% {\n padding: 0;\n }\n}\n.mp-session-debugger-button {\n cursor: pointer;\n border-radius: 12px;\n font-family: Inter, sans-serif;\n font-size: 14px;\n font-weight: 500;\n transition: all 0.2s;\n display: flex;\n align-items: center;\n justify-content: center;\n position: fixed;\n z-index: 2247483003;\n padding: 5px;\n background-color: #ffffff;\n border: solid 1px #bebfc1;\n border-radius: 36px;\n color: #718096;\n transition: background 0.3s;\n width: 42px;\n height: 42px;\n will-change: right, bottom;\n}\n.mp-session-debugger-button.is-started {\n color: #493bff;\n}\n.mp-session-debugger-button.top-left {\n top: 24px;\n left: 24px;\n}\n.mp-session-debugger-button.top-right {\n top: 24px;\n right: 24px;\n}\n.mp-session-debugger-button.bottom-left {\n bottom: 24px;\n left: 24px;\n}\n.mp-session-debugger-button.bottom-right {\n bottom: 24px;\n right: 24px;\n}\n.mp-session-debugger-button.no-draggable {\n position: static;\n}\n.mp-session-debugger-button.no-draggable::before {\n transform: translateY(-18px) !important;\n top: -10px !important;\n left: 10px !important;\n}\n.mp-session-debugger-button.no-draggable:hover::before {\n z-index: 1;\n transform: translateY(-18px);\n top: -10px;\n left: 10px;\n right: unset;\n}\n.mp-session-debugger-button.no-draggable.no-tooltip::before {\n display: none;\n}\n.mp-session-debugger-button.mp-button-blue {\n border: 1px rgba(0, 0, 0, 0.2);\n background: #493bff;\n}\n.mp-session-debugger-button.mp-button-blue::before {\n opacity: 1;\n transform: translateX(0);\n}\n.mp-session-debugger-button:not([data-tooltip=\"\"]):before {\n content: attr(data-tooltip);\n position: absolute;\n pointer-events: none;\n height: 28px;\n top: 6px;\n padding: 6px 8px 6px 8px;\n border-radius: 8px;\n font-family: Inter, sans-serif;\n font-size: 12px;\n font-weight: 500;\n line-height: 16px;\n opacity: 0;\n transition: all 0.3s;\n background: #1a202c;\n color: white;\n white-space: nowrap;\n box-sizing: border-box;\n z-index: -1;\n transform: translateX(-8px);\n left: unset;\n right: 100%;\n}\n.mp-session-debugger-button:not([data-tooltip=\"\"]).top-left:before, .mp-session-debugger-button:not([data-tooltip=\"\"]).bottom-left:before, .mp-session-debugger-button:not([data-tooltip=\"\"]).button-leftside:before {\n transform: translateX(8px);\n left: 100%;\n right: unset;\n}\n.mp-session-debugger-button:not(.no-hover):hover {\n color: #473cfb;\n box-shadow: 0 3px 3px -1.5px rgba(0, 0, 0, 0.06), 0 1px 1px -0.5px rgba(0, 0, 0, 0.06);\n}\n.mp-session-debugger-button:not(.no-hover):hover:before {\n opacity: 1;\n}\n.mp-session-debugger-button svg {\n transform: rotate(0deg);\n transition: transform 0.3s linear;\n}\n.mp-session-debugger-button.rotate-on-hover:hover svg {\n transform: rotate(-180deg);\n}\n.mp-session-debugger-button.animate-rotate svg {\n animation: _rotateAnimation 3s linear infinite;\n}\n\n.animate-bounce {\n animation: _bounceAnimation 1.6s infinite;\n animation-timing-function: cubic-bezier(0.87, 0, 0.13, 1);\n}", "",{"version":3,"sources":["webpack://./src/sessionWidget/styles/base.scss","webpack://./src/sessionWidget/styles/button.scss"],"names":[],"mappings":"AA+DA;EACE;IACE,oBAAA;EC9DF;EDiEA;IACE,yBAAA;EC/DF;AACF;ADkEA;EACE;IAEE,YAAA;ECjEF;EDmEA;IACE,UAAA;ECjEF;AACF;AAXA;ED2CE,eAAA;EACA,mBAxBiB;EAyBjB,8BA/CkB;EAgDlB,eAAA;EACA,gBAAA;EACA,oBAAA;EAjBA,aAAA;EACA,mBAAA;EACA,uBAAA;EC9BA,eAAA;EACA,mBAAA;EACA,YAAA;EACA,yBDCiB;ECAjB,yBAAA;EACA,mBDcmB;ECbnB,cDJqB;ECKrB,2BAAA;EAEA,WAAA;EACA,YAAA;EACA,0BAAA;AAmBF;AAjBE;EACE,cDhBY;ACmChB;AAfE;EACE,SDNU;ECOV,UDPU;ACwBd;AAdE;EACE,SDXU;ECYV,WDZU;AC4Bd;AAbE;EACE,YDhBU;ECiBV,UDjBU;ACgCd;AAZE;EACE,YDrBU;ECsBV,WDtBU;ACoCd;AAXE;EACE,gBAAA;AAaJ;AAZI;EACE,uCAAA;EACA,qBAAA;EACA,qBAAA;AAcN;AAZI;EACE,UAAA;EACA,4BAAA;EACA,UAAA;EACA,UAAA;EACA,YAAA;AAcN;AAZI;EACE,aAAA;AAcN;AAXE;EACE,8BAAA;EACA,mBAAA;AAaJ;AAZI;EACE,UAAA;EACA,wBAAA;AAcN;AAVI;EACE,2BAAA;EACA,kBAAA;EACA,oBAAA;EACA,YAAA;EACA,QAAA;EACA,wBAAA;EACA,kBAAA;EACA,8BAAA;EACA,eAAA;EACA,gBAAA;EACA,iBAAA;EACA,UAAA;EACA,oBAAA;EACA,mBAAA;EACA,YAAA;EACA,mBAAA;EACA,sBAAA;EACA,WAAA;EACA,2BAAA;EACA,WAAA;EACA,WAAA;AAYN;AAVI;EAGE,0BAAA;EACA,UAAA;EACA,YAAA;AAUN;AANI;EACE,cAAA;EACA,sFAAA;AAQN;AAPM;EACE,UAAA;AASR;AALE;EACE,uBAAA;EACA,iCAAA;AAOJ;AAHM;EACE,0BAAA;AAKR;AADE;EACE,8CAAA;AAGJ;;AACA;EACE,yCAAA;EACA,yDAAA;AAEF","sourceRoot":""}]);
|
|
17287
|
+
// Exports
|
|
17288
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
17289
|
+
|
|
17290
|
+
|
|
17291
|
+
/***/ }),
|
|
17292
|
+
|
|
17293
|
+
/***/ "../../node_modules/css-loader/dist/runtime/api.js":
|
|
17294
|
+
/*!*********************************************************!*\
|
|
17295
|
+
!*** ../../node_modules/css-loader/dist/runtime/api.js ***!
|
|
17296
|
+
\*********************************************************/
|
|
17297
|
+
/***/ ((module) => {
|
|
17298
|
+
|
|
17299
|
+
"use strict";
|
|
17300
|
+
|
|
17301
|
+
|
|
17302
|
+
/*
|
|
17303
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
17304
|
+
Author Tobias Koppers @sokra
|
|
17305
|
+
*/
|
|
17306
|
+
// css base code, injected by the css-loader
|
|
17307
|
+
// eslint-disable-next-line func-names
|
|
17308
|
+
module.exports = function (cssWithMappingToString) {
|
|
17309
|
+
var list = []; // return the list of modules as css string
|
|
17310
|
+
|
|
17311
|
+
list.toString = function toString() {
|
|
17312
|
+
return this.map(function (item) {
|
|
17313
|
+
var content = cssWithMappingToString(item);
|
|
17314
|
+
|
|
17315
|
+
if (item[2]) {
|
|
17316
|
+
return "@media ".concat(item[2], " {").concat(content, "}");
|
|
17317
|
+
}
|
|
17318
|
+
|
|
17319
|
+
return content;
|
|
17320
|
+
}).join("");
|
|
17321
|
+
}; // import a list of modules into the list
|
|
17322
|
+
// eslint-disable-next-line func-names
|
|
17323
|
+
|
|
17324
|
+
|
|
17325
|
+
list.i = function (modules, mediaQuery, dedupe) {
|
|
17326
|
+
if (typeof modules === "string") {
|
|
17327
|
+
// eslint-disable-next-line no-param-reassign
|
|
17328
|
+
modules = [[null, modules, ""]];
|
|
17329
|
+
}
|
|
17330
|
+
|
|
17331
|
+
var alreadyImportedModules = {};
|
|
17332
|
+
|
|
17333
|
+
if (dedupe) {
|
|
17334
|
+
for (var i = 0; i < this.length; i++) {
|
|
17335
|
+
// eslint-disable-next-line prefer-destructuring
|
|
17336
|
+
var id = this[i][0];
|
|
17337
|
+
|
|
17338
|
+
if (id != null) {
|
|
17339
|
+
alreadyImportedModules[id] = true;
|
|
17340
|
+
}
|
|
17341
|
+
}
|
|
17342
|
+
}
|
|
17343
|
+
|
|
17344
|
+
for (var _i = 0; _i < modules.length; _i++) {
|
|
17345
|
+
var item = [].concat(modules[_i]);
|
|
17346
|
+
|
|
17347
|
+
if (dedupe && alreadyImportedModules[item[0]]) {
|
|
17348
|
+
// eslint-disable-next-line no-continue
|
|
17349
|
+
continue;
|
|
17350
|
+
}
|
|
17351
|
+
|
|
17352
|
+
if (mediaQuery) {
|
|
17353
|
+
if (!item[2]) {
|
|
17354
|
+
item[2] = mediaQuery;
|
|
17355
|
+
} else {
|
|
17356
|
+
item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
|
|
17357
|
+
}
|
|
17358
|
+
}
|
|
17359
|
+
|
|
17360
|
+
list.push(item);
|
|
17361
|
+
}
|
|
17362
|
+
};
|
|
17363
|
+
|
|
17364
|
+
return list;
|
|
17365
|
+
};
|
|
17366
|
+
|
|
17367
|
+
/***/ }),
|
|
17368
|
+
|
|
17369
|
+
/***/ "../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js":
|
|
17370
|
+
/*!****************************************************************************!*\
|
|
17371
|
+
!*** ../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js ***!
|
|
17372
|
+
\****************************************************************************/
|
|
17373
|
+
/***/ ((module) => {
|
|
17374
|
+
|
|
17375
|
+
"use strict";
|
|
17376
|
+
|
|
17377
|
+
|
|
17378
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
17379
|
+
|
|
17380
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
17381
|
+
|
|
17382
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
17383
|
+
|
|
17384
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
17385
|
+
|
|
17386
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
17387
|
+
|
|
17388
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
17389
|
+
|
|
17390
|
+
module.exports = function cssWithMappingToString(item) {
|
|
17391
|
+
var _item = _slicedToArray(item, 4),
|
|
17392
|
+
content = _item[1],
|
|
17393
|
+
cssMapping = _item[3];
|
|
17394
|
+
|
|
17395
|
+
if (!cssMapping) {
|
|
17396
|
+
return content;
|
|
17397
|
+
}
|
|
17398
|
+
|
|
17399
|
+
if (typeof btoa === "function") {
|
|
17400
|
+
// eslint-disable-next-line no-undef
|
|
17401
|
+
var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));
|
|
17402
|
+
var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64);
|
|
17403
|
+
var sourceMapping = "/*# ".concat(data, " */");
|
|
17404
|
+
var sourceURLs = cssMapping.sources.map(function (source) {
|
|
17405
|
+
return "/*# sourceURL=".concat(cssMapping.sourceRoot || "").concat(source, " */");
|
|
17406
|
+
});
|
|
17407
|
+
return [content].concat(sourceURLs).concat([sourceMapping]).join("\n");
|
|
17408
|
+
}
|
|
17409
|
+
|
|
17410
|
+
return [content].join("\n");
|
|
17411
|
+
};
|
|
17412
|
+
|
|
17413
|
+
/***/ }),
|
|
17414
|
+
|
|
17267
17415
|
/***/ "../../node_modules/events/events.js":
|
|
17268
17416
|
/*!*******************************************!*\
|
|
17269
17417
|
!*** ../../node_modules/events/events.js ***!
|
|
@@ -23260,6 +23408,299 @@ function noop() {
|
|
|
23260
23408
|
module.exports = xor;
|
|
23261
23409
|
|
|
23262
23410
|
|
|
23411
|
+
/***/ }),
|
|
23412
|
+
|
|
23413
|
+
/***/ "./src/sessionWidget/styles/button.scss":
|
|
23414
|
+
/*!**********************************************!*\
|
|
23415
|
+
!*** ./src/sessionWidget/styles/button.scss ***!
|
|
23416
|
+
\**********************************************/
|
|
23417
|
+
/***/ ((__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) => {
|
|
23418
|
+
|
|
23419
|
+
"use strict";
|
|
23420
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
|
|
23421
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
23422
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js */ "../../node_modules/style-loader/dist/runtime/styleDomAPI.js");
|
|
23423
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
23424
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_getTarget_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../../node_modules/style-loader/dist/runtime/getTarget.js */ "../../node_modules/style-loader/dist/runtime/getTarget.js");
|
|
23425
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_getTarget_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_getTarget_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
23426
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js */ "../../node_modules/style-loader/dist/runtime/insertStyleElement.js");
|
|
23427
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
23428
|
+
/* harmony import */ var _node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_button_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !!../../../../../node_modules/css-loader/dist/cjs.js!../../../../../node_modules/sass-loader/dist/cjs.js!./button.scss */ "../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./src/sessionWidget/styles/button.scss");
|
|
23429
|
+
|
|
23430
|
+
|
|
23431
|
+
|
|
23432
|
+
|
|
23433
|
+
|
|
23434
|
+
|
|
23435
|
+
|
|
23436
|
+
|
|
23437
|
+
|
|
23438
|
+
var options = {};
|
|
23439
|
+
|
|
23440
|
+
options.styleTagTransform = function(css, style){
|
|
23441
|
+
if (style.styleSheet) {
|
|
23442
|
+
style.styleSheet.cssText = css;
|
|
23443
|
+
} else {
|
|
23444
|
+
while (style.firstChild) {
|
|
23445
|
+
style.removeChild(style.firstChild);
|
|
23446
|
+
}
|
|
23447
|
+
|
|
23448
|
+
style.appendChild(document.createTextNode(css));
|
|
23449
|
+
}
|
|
23450
|
+
};
|
|
23451
|
+
options.setAttributes = function(style) {
|
|
23452
|
+
var nonce =
|
|
23453
|
+
true ? __webpack_require__.nc : 0;
|
|
23454
|
+
|
|
23455
|
+
if (nonce) {
|
|
23456
|
+
style.setAttribute("nonce", nonce);
|
|
23457
|
+
}
|
|
23458
|
+
};
|
|
23459
|
+
options.insert = function(style){
|
|
23460
|
+
var target = _node_modules_style_loader_dist_runtime_getTarget_js__WEBPACK_IMPORTED_MODULE_2___default()("head");
|
|
23461
|
+
|
|
23462
|
+
if (!target) {
|
|
23463
|
+
throw new Error(
|
|
23464
|
+
"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid."
|
|
23465
|
+
);
|
|
23466
|
+
}
|
|
23467
|
+
|
|
23468
|
+
target.appendChild(style);
|
|
23469
|
+
};
|
|
23470
|
+
options.domAPI = (_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
|
|
23471
|
+
options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_3___default());
|
|
23472
|
+
|
|
23473
|
+
var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_button_scss__WEBPACK_IMPORTED_MODULE_4__["default"], options);
|
|
23474
|
+
|
|
23475
|
+
|
|
23476
|
+
|
|
23477
|
+
|
|
23478
|
+
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_button_scss__WEBPACK_IMPORTED_MODULE_4__["default"] && _node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_button_scss__WEBPACK_IMPORTED_MODULE_4__["default"].locals ? _node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_button_scss__WEBPACK_IMPORTED_MODULE_4__["default"].locals : undefined);
|
|
23479
|
+
|
|
23480
|
+
|
|
23481
|
+
/***/ }),
|
|
23482
|
+
|
|
23483
|
+
/***/ "../../node_modules/style-loader/dist/runtime/getTarget.js":
|
|
23484
|
+
/*!*****************************************************************!*\
|
|
23485
|
+
!*** ../../node_modules/style-loader/dist/runtime/getTarget.js ***!
|
|
23486
|
+
\*****************************************************************/
|
|
23487
|
+
/***/ ((module) => {
|
|
23488
|
+
|
|
23489
|
+
"use strict";
|
|
23490
|
+
|
|
23491
|
+
|
|
23492
|
+
var memo = {};
|
|
23493
|
+
/* istanbul ignore next */
|
|
23494
|
+
|
|
23495
|
+
function getTarget(target) {
|
|
23496
|
+
if (typeof memo[target] === "undefined") {
|
|
23497
|
+
var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself
|
|
23498
|
+
|
|
23499
|
+
if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
|
|
23500
|
+
try {
|
|
23501
|
+
// This will throw an exception if access to iframe is blocked
|
|
23502
|
+
// due to cross-origin restrictions
|
|
23503
|
+
styleTarget = styleTarget.contentDocument.head;
|
|
23504
|
+
} catch (e) {
|
|
23505
|
+
// istanbul ignore next
|
|
23506
|
+
styleTarget = null;
|
|
23507
|
+
}
|
|
23508
|
+
}
|
|
23509
|
+
|
|
23510
|
+
memo[target] = styleTarget;
|
|
23511
|
+
}
|
|
23512
|
+
|
|
23513
|
+
return memo[target];
|
|
23514
|
+
}
|
|
23515
|
+
|
|
23516
|
+
module.exports = getTarget;
|
|
23517
|
+
|
|
23518
|
+
/***/ }),
|
|
23519
|
+
|
|
23520
|
+
/***/ "../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":
|
|
23521
|
+
/*!********************************************************************************!*\
|
|
23522
|
+
!*** ../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js ***!
|
|
23523
|
+
\********************************************************************************/
|
|
23524
|
+
/***/ ((module) => {
|
|
23525
|
+
|
|
23526
|
+
"use strict";
|
|
23527
|
+
|
|
23528
|
+
|
|
23529
|
+
var stylesInDom = [];
|
|
23530
|
+
|
|
23531
|
+
function getIndexByIdentifier(identifier) {
|
|
23532
|
+
var result = -1;
|
|
23533
|
+
|
|
23534
|
+
for (var i = 0; i < stylesInDom.length; i++) {
|
|
23535
|
+
if (stylesInDom[i].identifier === identifier) {
|
|
23536
|
+
result = i;
|
|
23537
|
+
break;
|
|
23538
|
+
}
|
|
23539
|
+
}
|
|
23540
|
+
|
|
23541
|
+
return result;
|
|
23542
|
+
}
|
|
23543
|
+
|
|
23544
|
+
function modulesToDom(list, options) {
|
|
23545
|
+
var idCountMap = {};
|
|
23546
|
+
var identifiers = [];
|
|
23547
|
+
|
|
23548
|
+
for (var i = 0; i < list.length; i++) {
|
|
23549
|
+
var item = list[i];
|
|
23550
|
+
var id = options.base ? item[0] + options.base : item[0];
|
|
23551
|
+
var count = idCountMap[id] || 0;
|
|
23552
|
+
var identifier = "".concat(id, " ").concat(count);
|
|
23553
|
+
idCountMap[id] = count + 1;
|
|
23554
|
+
var index = getIndexByIdentifier(identifier);
|
|
23555
|
+
var obj = {
|
|
23556
|
+
css: item[1],
|
|
23557
|
+
media: item[2],
|
|
23558
|
+
sourceMap: item[3]
|
|
23559
|
+
};
|
|
23560
|
+
|
|
23561
|
+
if (index !== -1) {
|
|
23562
|
+
stylesInDom[index].references++;
|
|
23563
|
+
stylesInDom[index].updater(obj);
|
|
23564
|
+
} else {
|
|
23565
|
+
stylesInDom.push({
|
|
23566
|
+
identifier: identifier,
|
|
23567
|
+
updater: addStyle(obj, options),
|
|
23568
|
+
references: 1
|
|
23569
|
+
});
|
|
23570
|
+
}
|
|
23571
|
+
|
|
23572
|
+
identifiers.push(identifier);
|
|
23573
|
+
}
|
|
23574
|
+
|
|
23575
|
+
return identifiers;
|
|
23576
|
+
}
|
|
23577
|
+
|
|
23578
|
+
function addStyle(obj, options) {
|
|
23579
|
+
var api = options.domAPI(options);
|
|
23580
|
+
api.update(obj);
|
|
23581
|
+
return function updateStyle(newObj) {
|
|
23582
|
+
if (newObj) {
|
|
23583
|
+
if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {
|
|
23584
|
+
return;
|
|
23585
|
+
}
|
|
23586
|
+
|
|
23587
|
+
api.update(obj = newObj);
|
|
23588
|
+
} else {
|
|
23589
|
+
api.remove();
|
|
23590
|
+
}
|
|
23591
|
+
};
|
|
23592
|
+
}
|
|
23593
|
+
|
|
23594
|
+
module.exports = function (list, options) {
|
|
23595
|
+
options = options || {};
|
|
23596
|
+
list = list || [];
|
|
23597
|
+
var lastIdentifiers = modulesToDom(list, options);
|
|
23598
|
+
return function update(newList) {
|
|
23599
|
+
newList = newList || [];
|
|
23600
|
+
|
|
23601
|
+
for (var i = 0; i < lastIdentifiers.length; i++) {
|
|
23602
|
+
var identifier = lastIdentifiers[i];
|
|
23603
|
+
var index = getIndexByIdentifier(identifier);
|
|
23604
|
+
stylesInDom[index].references--;
|
|
23605
|
+
}
|
|
23606
|
+
|
|
23607
|
+
var newLastIdentifiers = modulesToDom(newList, options);
|
|
23608
|
+
|
|
23609
|
+
for (var _i = 0; _i < lastIdentifiers.length; _i++) {
|
|
23610
|
+
var _identifier = lastIdentifiers[_i];
|
|
23611
|
+
|
|
23612
|
+
var _index = getIndexByIdentifier(_identifier);
|
|
23613
|
+
|
|
23614
|
+
if (stylesInDom[_index].references === 0) {
|
|
23615
|
+
stylesInDom[_index].updater();
|
|
23616
|
+
|
|
23617
|
+
stylesInDom.splice(_index, 1);
|
|
23618
|
+
}
|
|
23619
|
+
}
|
|
23620
|
+
|
|
23621
|
+
lastIdentifiers = newLastIdentifiers;
|
|
23622
|
+
};
|
|
23623
|
+
};
|
|
23624
|
+
|
|
23625
|
+
/***/ }),
|
|
23626
|
+
|
|
23627
|
+
/***/ "../../node_modules/style-loader/dist/runtime/insertStyleElement.js":
|
|
23628
|
+
/*!**************************************************************************!*\
|
|
23629
|
+
!*** ../../node_modules/style-loader/dist/runtime/insertStyleElement.js ***!
|
|
23630
|
+
\**************************************************************************/
|
|
23631
|
+
/***/ ((module) => {
|
|
23632
|
+
|
|
23633
|
+
"use strict";
|
|
23634
|
+
|
|
23635
|
+
|
|
23636
|
+
/* istanbul ignore next */
|
|
23637
|
+
function insertStyleElement(options) {
|
|
23638
|
+
var style = document.createElement("style");
|
|
23639
|
+
options.setAttributes(style, options.attributes);
|
|
23640
|
+
options.insert(style);
|
|
23641
|
+
return style;
|
|
23642
|
+
}
|
|
23643
|
+
|
|
23644
|
+
module.exports = insertStyleElement;
|
|
23645
|
+
|
|
23646
|
+
/***/ }),
|
|
23647
|
+
|
|
23648
|
+
/***/ "../../node_modules/style-loader/dist/runtime/styleDomAPI.js":
|
|
23649
|
+
/*!*******************************************************************!*\
|
|
23650
|
+
!*** ../../node_modules/style-loader/dist/runtime/styleDomAPI.js ***!
|
|
23651
|
+
\*******************************************************************/
|
|
23652
|
+
/***/ ((module) => {
|
|
23653
|
+
|
|
23654
|
+
"use strict";
|
|
23655
|
+
|
|
23656
|
+
|
|
23657
|
+
/* istanbul ignore next */
|
|
23658
|
+
function apply(style, options, obj) {
|
|
23659
|
+
var css = obj.css;
|
|
23660
|
+
var media = obj.media;
|
|
23661
|
+
var sourceMap = obj.sourceMap;
|
|
23662
|
+
|
|
23663
|
+
if (media) {
|
|
23664
|
+
style.setAttribute("media", media);
|
|
23665
|
+
} else {
|
|
23666
|
+
style.removeAttribute("media");
|
|
23667
|
+
}
|
|
23668
|
+
|
|
23669
|
+
if (sourceMap && typeof btoa !== "undefined") {
|
|
23670
|
+
css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
|
|
23671
|
+
} // For old IE
|
|
23672
|
+
|
|
23673
|
+
/* istanbul ignore if */
|
|
23674
|
+
|
|
23675
|
+
|
|
23676
|
+
options.styleTagTransform(css, style);
|
|
23677
|
+
}
|
|
23678
|
+
|
|
23679
|
+
function removeStyleElement(style) {
|
|
23680
|
+
// istanbul ignore if
|
|
23681
|
+
if (style.parentNode === null) {
|
|
23682
|
+
return false;
|
|
23683
|
+
}
|
|
23684
|
+
|
|
23685
|
+
style.parentNode.removeChild(style);
|
|
23686
|
+
}
|
|
23687
|
+
/* istanbul ignore next */
|
|
23688
|
+
|
|
23689
|
+
|
|
23690
|
+
function domAPI(options) {
|
|
23691
|
+
var style = options.insertStyleElement(options);
|
|
23692
|
+
return {
|
|
23693
|
+
update: function update(obj) {
|
|
23694
|
+
apply(style, options, obj);
|
|
23695
|
+
},
|
|
23696
|
+
remove: function remove() {
|
|
23697
|
+
removeStyleElement(style);
|
|
23698
|
+
}
|
|
23699
|
+
};
|
|
23700
|
+
}
|
|
23701
|
+
|
|
23702
|
+
module.exports = domAPI;
|
|
23703
|
+
|
|
23263
23704
|
/***/ }),
|
|
23264
23705
|
|
|
23265
23706
|
/***/ "../../node_modules/to-json-schema/lib/helpers.js":
|
|
@@ -23882,7 +24323,7 @@ const CONTINUOUS_DEBUGGING_TIMEOUT = 60000; // 1 minutes
|
|
|
23882
24323
|
const DEBUG_SESSION_MAX_DURATION_SECONDS = 10 * 60 + 30; // TODO: move to shared config otel core
|
|
23883
24324
|
const REMOTE_SESSION_RECORDING_START = 'remote-session-recording:start';
|
|
23884
24325
|
const REMOTE_SESSION_RECORDING_STOP = 'remote-session-recording:stop';
|
|
23885
|
-
const PACKAGE_VERSION_EXPORT = "1.3.
|
|
24326
|
+
const PACKAGE_VERSION_EXPORT = "1.3.13" || 0;
|
|
23886
24327
|
// Regex patterns for OpenTelemetry ignore URLs
|
|
23887
24328
|
const OTEL_IGNORE_URLS = [
|
|
23888
24329
|
// Traces endpoint
|
|
@@ -26016,20 +26457,20 @@ class SocketService extends lib0_observable__WEBPACK_IMPORTED_MODULE_3__.Observa
|
|
|
26016
26457
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
26017
26458
|
/* harmony export */ SessionRecorder: () => (/* binding */ SessionRecorder)
|
|
26018
26459
|
/* harmony export */ });
|
|
26019
|
-
/* harmony import */ var _otel__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./otel */ "./src/otel/index.ts");
|
|
26020
|
-
/* harmony import */ var _rrweb__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./rrweb */ "./src/rrweb/index.ts");
|
|
26021
|
-
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils */ "./src/utils/index.ts");
|
|
26022
|
-
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./types */ "./src/types/index.ts");
|
|
26023
|
-
/* harmony import */ var _services_socket_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./services/socket.service */ "./src/services/socket.service.ts");
|
|
26024
|
-
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./config */ "./src/config/index.ts");
|
|
26025
|
-
/* harmony import */ var _patch__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./patch */ "./src/patch/index.ts");
|
|
26026
|
-
/* harmony import */ var _eventBus__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./eventBus */ "./src/eventBus.ts");
|
|
26027
|
-
/* harmony import */ var _sessionWidget__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./sessionWidget */ "./src/sessionWidget/index.ts");
|
|
26028
|
-
/* harmony import */ var _services_messaging_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./services/messaging.service */ "./src/services/messaging.service.ts");
|
|
26029
|
-
/* harmony import */ var _services_api_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./services/api.service */ "./src/services/api.service.ts");
|
|
26030
|
-
/* harmony import */ var _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @multiplayer-app/session-recorder-common */ "../session-recorder-common/dist/esm/index-browser.js");
|
|
26031
|
-
/* harmony import */ var _sessionWidget_buttonStateConfigs__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./sessionWidget/buttonStateConfigs */ "./src/sessionWidget/buttonStateConfigs.ts");
|
|
26032
26460
|
/* harmony import */ var lib0_observable__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! lib0/observable */ "../../node_modules/lib0/observable.js");
|
|
26461
|
+
/* harmony import */ var _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @multiplayer-app/session-recorder-common */ "../session-recorder-common/dist/esm/index-browser.js");
|
|
26462
|
+
/* harmony import */ var _otel__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./otel */ "./src/otel/index.ts");
|
|
26463
|
+
/* harmony import */ var _rrweb__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./rrweb */ "./src/rrweb/index.ts");
|
|
26464
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils */ "./src/utils/index.ts");
|
|
26465
|
+
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./types */ "./src/types/index.ts");
|
|
26466
|
+
/* harmony import */ var _services_socket_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./services/socket.service */ "./src/services/socket.service.ts");
|
|
26467
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./config */ "./src/config/index.ts");
|
|
26468
|
+
/* harmony import */ var _patch__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./patch */ "./src/patch/index.ts");
|
|
26469
|
+
/* harmony import */ var _eventBus__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./eventBus */ "./src/eventBus.ts");
|
|
26470
|
+
/* harmony import */ var _sessionWidget__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./sessionWidget */ "./src/sessionWidget/index.ts");
|
|
26471
|
+
/* harmony import */ var _services_messaging_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./services/messaging.service */ "./src/services/messaging.service.ts");
|
|
26472
|
+
/* harmony import */ var _services_api_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./services/api.service */ "./src/services/api.service.ts");
|
|
26473
|
+
/* harmony import */ var _sessionWidget_buttonStateConfigs__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./sessionWidget/buttonStateConfigs */ "./src/sessionWidget/buttonStateConfigs.ts");
|
|
26033
26474
|
/* harmony import */ var _navigation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./navigation */ "./src/navigation/index.ts");
|
|
26034
26475
|
|
|
26035
26476
|
|
|
@@ -26058,38 +26499,38 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26058
26499
|
}
|
|
26059
26500
|
set sessionId(sessionId) {
|
|
26060
26501
|
this._sessionId = sessionId;
|
|
26061
|
-
(0,
|
|
26502
|
+
(0,_utils__WEBPACK_IMPORTED_MODULE_3__.setStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_ID_PROP_NAME, sessionId);
|
|
26062
26503
|
}
|
|
26063
26504
|
get sessionType() {
|
|
26064
26505
|
return this._sessionType;
|
|
26065
26506
|
}
|
|
26066
26507
|
set sessionType(sessionType) {
|
|
26067
26508
|
this._sessionType = sessionType;
|
|
26068
|
-
const continuousRecording = sessionType ===
|
|
26509
|
+
const continuousRecording = sessionType === _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.CONTINUOUS;
|
|
26069
26510
|
this._sessionWidget.updateContinuousRecordingState(continuousRecording);
|
|
26070
|
-
|
|
26071
|
-
(0,
|
|
26511
|
+
_services_messaging_service__WEBPACK_IMPORTED_MODULE_10__["default"].sendMessage('continuous-debugging', continuousRecording);
|
|
26512
|
+
(0,_utils__WEBPACK_IMPORTED_MODULE_3__.setStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_TYPE_PROP_NAME, sessionType);
|
|
26072
26513
|
}
|
|
26073
26514
|
get continuousRecording() {
|
|
26074
|
-
return this.sessionType ===
|
|
26515
|
+
return this.sessionType === _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.CONTINUOUS;
|
|
26075
26516
|
}
|
|
26076
26517
|
get sessionState() {
|
|
26077
|
-
return this._sessionState ||
|
|
26518
|
+
return this._sessionState || _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped;
|
|
26078
26519
|
}
|
|
26079
26520
|
set sessionState(state) {
|
|
26080
26521
|
this._sessionState = state;
|
|
26081
26522
|
this._sessionWidget.updateState(this._sessionState, this.continuousRecording);
|
|
26082
|
-
|
|
26083
|
-
(0,
|
|
26523
|
+
_services_messaging_service__WEBPACK_IMPORTED_MODULE_10__["default"].sendMessage('state-change', this._sessionState);
|
|
26524
|
+
(0,_utils__WEBPACK_IMPORTED_MODULE_3__.setStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_STATE_PROP_NAME, state);
|
|
26084
26525
|
// Emit observable event to support React wrapper
|
|
26085
|
-
this.emit('state-change', [this._sessionState ||
|
|
26526
|
+
this.emit('state-change', [this._sessionState || _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped, this.sessionType]);
|
|
26086
26527
|
}
|
|
26087
26528
|
get session() {
|
|
26088
26529
|
return this._session;
|
|
26089
26530
|
}
|
|
26090
26531
|
set session(session) {
|
|
26091
26532
|
this._session = session;
|
|
26092
|
-
(0,
|
|
26533
|
+
(0,_utils__WEBPACK_IMPORTED_MODULE_3__.setStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_PROP_NAME, this._session);
|
|
26093
26534
|
}
|
|
26094
26535
|
get sessionAttributes() {
|
|
26095
26536
|
return this._sessionAttributes || {};
|
|
@@ -26127,17 +26568,17 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26127
26568
|
constructor() {
|
|
26128
26569
|
var _a;
|
|
26129
26570
|
super();
|
|
26130
|
-
this._apiService = new
|
|
26131
|
-
this._socketService = new
|
|
26132
|
-
this._tracer = new
|
|
26133
|
-
this._recorder = new
|
|
26134
|
-
this._sessionWidget = new
|
|
26571
|
+
this._apiService = new _services_api_service__WEBPACK_IMPORTED_MODULE_11__.ApiService();
|
|
26572
|
+
this._socketService = new _services_socket_service__WEBPACK_IMPORTED_MODULE_5__.SocketService();
|
|
26573
|
+
this._tracer = new _otel__WEBPACK_IMPORTED_MODULE_1__.TracerBrowserSDK();
|
|
26574
|
+
this._recorder = new _rrweb__WEBPACK_IMPORTED_MODULE_2__.RecorderBrowserSDK();
|
|
26575
|
+
this._sessionWidget = new _sessionWidget__WEBPACK_IMPORTED_MODULE_9__.SessionWidget();
|
|
26135
26576
|
this._navigationRecorder = new _navigation__WEBPACK_IMPORTED_MODULE_13__.NavigationRecorder();
|
|
26136
26577
|
this._startRequestController = null;
|
|
26137
26578
|
this._isInitialized = false;
|
|
26138
26579
|
// Session ID and state are stored in localStorage
|
|
26139
26580
|
this._sessionId = null;
|
|
26140
|
-
this._sessionType =
|
|
26581
|
+
this._sessionType = _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL;
|
|
26141
26582
|
this._sessionState = null;
|
|
26142
26583
|
this._session = null;
|
|
26143
26584
|
this._sessionAttributes = null;
|
|
@@ -26148,11 +26589,11 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26148
26589
|
this._error = '';
|
|
26149
26590
|
// Safety: avoid accessing storage in SSR/non-browser environments
|
|
26150
26591
|
const isBrowser = typeof window !== 'undefined';
|
|
26151
|
-
const sessionLocal = isBrowser ? (0,
|
|
26152
|
-
const sessionIdLocal = isBrowser ? (0,
|
|
26153
|
-
const sessionStateLocal = isBrowser ? (0,
|
|
26154
|
-
const sessionTypeLocal = isBrowser ? (0,
|
|
26155
|
-
if ((0,
|
|
26592
|
+
const sessionLocal = isBrowser ? (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_PROP_NAME, true) : null;
|
|
26593
|
+
const sessionIdLocal = isBrowser ? (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_ID_PROP_NAME) : null;
|
|
26594
|
+
const sessionStateLocal = isBrowser ? (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_STATE_PROP_NAME) : null;
|
|
26595
|
+
const sessionTypeLocal = isBrowser ? (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_TYPE_PROP_NAME) : null;
|
|
26596
|
+
if ((0,_utils__WEBPACK_IMPORTED_MODULE_3__.isSessionActive)(sessionLocal, sessionTypeLocal)) {
|
|
26156
26597
|
this.session = sessionLocal;
|
|
26157
26598
|
this.sessionId = sessionIdLocal;
|
|
26158
26599
|
this.sessionType = sessionTypeLocal;
|
|
@@ -26162,10 +26603,10 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26162
26603
|
this.session = null;
|
|
26163
26604
|
this.sessionId = null;
|
|
26164
26605
|
this.sessionState = null;
|
|
26165
|
-
this.sessionType =
|
|
26606
|
+
this.sessionType = _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL;
|
|
26166
26607
|
}
|
|
26167
26608
|
this._configs = {
|
|
26168
|
-
...
|
|
26609
|
+
..._config__WEBPACK_IMPORTED_MODULE_6__.BASE_CONFIG,
|
|
26169
26610
|
apiKey: ((_a = this.session) === null || _a === void 0 ? void 0 : _a.tempApiKey) || '',
|
|
26170
26611
|
};
|
|
26171
26612
|
}
|
|
@@ -26177,11 +26618,11 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26177
26618
|
if (typeof window === 'undefined') {
|
|
26178
26619
|
return;
|
|
26179
26620
|
}
|
|
26180
|
-
this._configs = (0,
|
|
26621
|
+
this._configs = (0,_config__WEBPACK_IMPORTED_MODULE_6__.getSessionRecorderConfig)({ ...this._configs, ...configs });
|
|
26181
26622
|
this._isInitialized = true;
|
|
26182
26623
|
this._checkOperation('init');
|
|
26183
|
-
(0,
|
|
26184
|
-
(0,
|
|
26624
|
+
(0,_patch__WEBPACK_IMPORTED_MODULE_7__.setMaxCapturingHttpPayloadSize)(this._configs.maxCapturingHttpPayloadSize || _config__WEBPACK_IMPORTED_MODULE_6__.DEFAULT_MAX_HTTP_CAPTURING_PAYLOAD_SIZE);
|
|
26625
|
+
(0,_patch__WEBPACK_IMPORTED_MODULE_7__.setShouldRecordHttpData)(this._configs.captureBody, this._configs.captureHeaders);
|
|
26185
26626
|
this._tracer.init(this._configs);
|
|
26186
26627
|
this._apiService.init(this._configs);
|
|
26187
26628
|
this._sessionWidget.init(this._configs);
|
|
@@ -26201,13 +26642,13 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26201
26642
|
this._recorder.init(this._configs, this._socketService);
|
|
26202
26643
|
}
|
|
26203
26644
|
if (this.sessionId
|
|
26204
|
-
&& (this.sessionState ===
|
|
26205
|
-
|| this.sessionState ===
|
|
26645
|
+
&& (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started
|
|
26646
|
+
|| this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.paused)) {
|
|
26206
26647
|
this._start();
|
|
26207
26648
|
}
|
|
26208
26649
|
this._registerWidgetEvents();
|
|
26209
26650
|
this._registerSocketServiceListeners();
|
|
26210
|
-
|
|
26651
|
+
_services_messaging_service__WEBPACK_IMPORTED_MODULE_10__["default"].sendMessage('state-change', this.sessionState);
|
|
26211
26652
|
// Emit init observable event
|
|
26212
26653
|
this.emit('init', [this]);
|
|
26213
26654
|
}
|
|
@@ -26223,7 +26664,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26223
26664
|
this._sessionWidget.updateSaveContinuousDebugSessionState(_sessionWidget_buttonStateConfigs__WEBPACK_IMPORTED_MODULE_12__.ContinuousRecordingSaveButtonState.SAVING);
|
|
26224
26665
|
const res = await this._apiService.saveContinuousDebugSession(this.sessionId, {
|
|
26225
26666
|
sessionAttributes: this.sessionAttributes,
|
|
26226
|
-
resourceAttributes: (0,
|
|
26667
|
+
resourceAttributes: (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getNavigatorInfo)(),
|
|
26227
26668
|
stoppedAt: this._recorder.stoppedAt,
|
|
26228
26669
|
name: this._getSessionName()
|
|
26229
26670
|
});
|
|
@@ -26253,11 +26694,11 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26253
26694
|
* @param type - the type of session to start
|
|
26254
26695
|
* @param session - the session to start
|
|
26255
26696
|
*/
|
|
26256
|
-
start(type =
|
|
26697
|
+
start(type = _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL, session) {
|
|
26257
26698
|
this._checkOperation('start');
|
|
26258
26699
|
// If continuous recording is disabled, force plain mode
|
|
26259
|
-
if (type ===
|
|
26260
|
-
type =
|
|
26700
|
+
if (type === _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.CONTINUOUS && !this._configs.showContinuousRecording) {
|
|
26701
|
+
type = _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL;
|
|
26261
26702
|
}
|
|
26262
26703
|
this.sessionType = type;
|
|
26263
26704
|
this._startRequestController = new AbortController();
|
|
@@ -26278,7 +26719,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26278
26719
|
this._stop();
|
|
26279
26720
|
if (this.continuousRecording) {
|
|
26280
26721
|
await this._apiService.stopContinuousDebugSession(this.sessionId);
|
|
26281
|
-
this.sessionType =
|
|
26722
|
+
this.sessionType = _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL;
|
|
26282
26723
|
}
|
|
26283
26724
|
else {
|
|
26284
26725
|
const request = {
|
|
@@ -26286,7 +26727,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26286
26727
|
stoppedAt: this._recorder.stoppedAt,
|
|
26287
26728
|
};
|
|
26288
26729
|
const response = await this._apiService.stopSession(this.sessionId, request);
|
|
26289
|
-
|
|
26730
|
+
_eventBus__WEBPACK_IMPORTED_MODULE_8__.recorderEventBus.emit(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_RESPONSE, response);
|
|
26290
26731
|
}
|
|
26291
26732
|
this._clearSession();
|
|
26292
26733
|
}
|
|
@@ -26327,7 +26768,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26327
26768
|
this._stop();
|
|
26328
26769
|
if (this.continuousRecording) {
|
|
26329
26770
|
await this._apiService.stopContinuousDebugSession(this.sessionId);
|
|
26330
|
-
this.sessionType =
|
|
26771
|
+
this.sessionType = _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL;
|
|
26331
26772
|
}
|
|
26332
26773
|
else {
|
|
26333
26774
|
await this._apiService.cancelSession(this.sessionId);
|
|
@@ -26395,19 +26836,19 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26395
26836
|
...((sessionPayload === null || sessionPayload === void 0 ? void 0 : sessionPayload.sessionAttributes) || {}),
|
|
26396
26837
|
},
|
|
26397
26838
|
resourceAttributes: {
|
|
26398
|
-
...(0,
|
|
26839
|
+
...(0,_utils__WEBPACK_IMPORTED_MODULE_3__.getNavigatorInfo)(),
|
|
26399
26840
|
...((sessionPayload === null || sessionPayload === void 0 ? void 0 : sessionPayload.resourceAttributes) || {}),
|
|
26400
26841
|
},
|
|
26401
26842
|
userAttributes: this._userAttributes
|
|
26402
26843
|
};
|
|
26403
26844
|
const { state } = await this._apiService.checkRemoteSession(payload);
|
|
26404
26845
|
if (state == 'START') {
|
|
26405
|
-
if (this.sessionState !==
|
|
26406
|
-
await this.start(
|
|
26846
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started) {
|
|
26847
|
+
await this.start(_multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.CONTINUOUS);
|
|
26407
26848
|
}
|
|
26408
26849
|
}
|
|
26409
26850
|
else if (state == 'STOP') {
|
|
26410
|
-
if (this.sessionState !==
|
|
26851
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped) {
|
|
26411
26852
|
await this.stop();
|
|
26412
26853
|
}
|
|
26413
26854
|
}
|
|
@@ -26454,15 +26895,15 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26454
26895
|
* Handle the safe start event
|
|
26455
26896
|
*/
|
|
26456
26897
|
_handleStart() {
|
|
26457
|
-
if (this.sessionState ===
|
|
26458
|
-
this.start(
|
|
26898
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped) {
|
|
26899
|
+
this.start(_multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL);
|
|
26459
26900
|
}
|
|
26460
26901
|
}
|
|
26461
26902
|
/**
|
|
26462
26903
|
* Handle the safe stop event
|
|
26463
26904
|
*/
|
|
26464
26905
|
_handleStop(comment) {
|
|
26465
|
-
if (this.sessionState ===
|
|
26906
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started || this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.paused) {
|
|
26466
26907
|
this.stop(comment);
|
|
26467
26908
|
}
|
|
26468
26909
|
}
|
|
@@ -26470,7 +26911,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26470
26911
|
* Handle the safe pause event
|
|
26471
26912
|
*/
|
|
26472
26913
|
_handlePause() {
|
|
26473
|
-
if (this.sessionState ===
|
|
26914
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started) {
|
|
26474
26915
|
this.pause();
|
|
26475
26916
|
}
|
|
26476
26917
|
}
|
|
@@ -26478,7 +26919,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26478
26919
|
* Handle the safe resume event
|
|
26479
26920
|
*/
|
|
26480
26921
|
_handleResume() {
|
|
26481
|
-
if (this.sessionState ===
|
|
26922
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.paused) {
|
|
26482
26923
|
this.resume();
|
|
26483
26924
|
}
|
|
26484
26925
|
}
|
|
@@ -26486,7 +26927,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26486
26927
|
* Handle the safe cancel event
|
|
26487
26928
|
*/
|
|
26488
26929
|
_handleCancel() {
|
|
26489
|
-
if (this.sessionState ===
|
|
26930
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started || this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.paused) {
|
|
26490
26931
|
this.cancel();
|
|
26491
26932
|
}
|
|
26492
26933
|
}
|
|
@@ -26494,7 +26935,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26494
26935
|
* Handle the safe save event
|
|
26495
26936
|
*/
|
|
26496
26937
|
_handleSave() {
|
|
26497
|
-
if (this.sessionState ===
|
|
26938
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started && this.continuousRecording) {
|
|
26498
26939
|
this.save();
|
|
26499
26940
|
}
|
|
26500
26941
|
}
|
|
@@ -26502,20 +26943,20 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26502
26943
|
* Handle the safe continuous debugging event
|
|
26503
26944
|
*/
|
|
26504
26945
|
_handleContinuousDebugging() {
|
|
26505
|
-
if (this.sessionState ===
|
|
26506
|
-
this.start(
|
|
26946
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped) {
|
|
26947
|
+
this.start(_multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.CONTINUOUS);
|
|
26507
26948
|
}
|
|
26508
26949
|
}
|
|
26509
26950
|
/**
|
|
26510
26951
|
* Register socket service event listeners
|
|
26511
26952
|
*/
|
|
26512
26953
|
_registerSocketServiceListeners() {
|
|
26513
|
-
this._socketService.on(
|
|
26954
|
+
this._socketService.on(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_STOPPED_EVENT, () => {
|
|
26514
26955
|
this._stop();
|
|
26515
26956
|
this._clearSession();
|
|
26516
26957
|
this._sessionWidget.handleUIReseting();
|
|
26517
26958
|
});
|
|
26518
|
-
this._socketService.on(
|
|
26959
|
+
this._socketService.on(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_AUTO_CREATED, (payload) => {
|
|
26519
26960
|
var _a;
|
|
26520
26961
|
if (!(payload === null || payload === void 0 ? void 0 : payload.data))
|
|
26521
26962
|
return;
|
|
@@ -26528,15 +26969,15 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26528
26969
|
},
|
|
26529
26970
|
}, 5000);
|
|
26530
26971
|
});
|
|
26531
|
-
this._socketService.on(
|
|
26972
|
+
this._socketService.on(_config__WEBPACK_IMPORTED_MODULE_6__.REMOTE_SESSION_RECORDING_START, (payload) => {
|
|
26532
26973
|
console.log('REMOTE_SESSION_RECORDING_START', payload);
|
|
26533
|
-
if (this.sessionState ===
|
|
26974
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped) {
|
|
26534
26975
|
this.start();
|
|
26535
26976
|
}
|
|
26536
26977
|
});
|
|
26537
|
-
this._socketService.on(
|
|
26978
|
+
this._socketService.on(_config__WEBPACK_IMPORTED_MODULE_6__.REMOTE_SESSION_RECORDING_STOP, (payload) => {
|
|
26538
26979
|
console.log('REMOTE_SESSION_RECORDING_STOP', payload);
|
|
26539
|
-
if (this.sessionState !==
|
|
26980
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped) {
|
|
26540
26981
|
this.stop();
|
|
26541
26982
|
}
|
|
26542
26983
|
});
|
|
@@ -26550,7 +26991,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26550
26991
|
try {
|
|
26551
26992
|
const payload = {
|
|
26552
26993
|
sessionAttributes: this.sessionAttributes,
|
|
26553
|
-
resourceAttributes: (0,
|
|
26994
|
+
resourceAttributes: (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getNavigatorInfo)(),
|
|
26554
26995
|
name: this._getSessionName(),
|
|
26555
26996
|
...(this._userAttributes ? { userAttributes: this._userAttributes } : {}),
|
|
26556
26997
|
};
|
|
@@ -26561,16 +27002,16 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26561
27002
|
: await this._apiService.startSession(request, signal);
|
|
26562
27003
|
if (session) {
|
|
26563
27004
|
session.sessionType = this.continuousRecording
|
|
26564
|
-
?
|
|
26565
|
-
:
|
|
27005
|
+
? _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.CONTINUOUS
|
|
27006
|
+
: _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL;
|
|
26566
27007
|
this._setupSessionAndStart(session, false);
|
|
26567
27008
|
}
|
|
26568
27009
|
}
|
|
26569
27010
|
catch (error) {
|
|
26570
27011
|
this.error = error.message;
|
|
26571
|
-
this.sessionState =
|
|
27012
|
+
this.sessionState = _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped;
|
|
26572
27013
|
if (this.continuousRecording) {
|
|
26573
|
-
this.sessionType =
|
|
27014
|
+
this.sessionType = _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL;
|
|
26574
27015
|
}
|
|
26575
27016
|
}
|
|
26576
27017
|
}
|
|
@@ -26579,22 +27020,22 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26579
27020
|
*/
|
|
26580
27021
|
_start() {
|
|
26581
27022
|
var _a;
|
|
26582
|
-
this.sessionState =
|
|
27023
|
+
this.sessionState = _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started;
|
|
26583
27024
|
this.sessionType = this.sessionType;
|
|
26584
27025
|
this._tracer.start(this.sessionId, this.sessionType);
|
|
26585
27026
|
this._recorder.start(this.sessionId, this.sessionType);
|
|
26586
27027
|
this._navigationRecorder.start({ sessionId: this.sessionId, sessionType: this.sessionType, });
|
|
26587
27028
|
if (this.session) {
|
|
26588
|
-
|
|
27029
|
+
_eventBus__WEBPACK_IMPORTED_MODULE_8__.recorderEventBus.emit(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_STARTED_EVENT, this.session);
|
|
26589
27030
|
this._socketService.subscribeToSession(this.session);
|
|
26590
|
-
this._sessionWidget.seconds = (0,
|
|
27031
|
+
this._sessionWidget.seconds = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getTimeDifferenceInSeconds)((_a = this.session) === null || _a === void 0 ? void 0 : _a.startedAt);
|
|
26591
27032
|
}
|
|
26592
27033
|
}
|
|
26593
27034
|
/**
|
|
26594
27035
|
* Stop tracing and recording for the session
|
|
26595
27036
|
*/
|
|
26596
27037
|
_stop() {
|
|
26597
|
-
this.sessionState =
|
|
27038
|
+
this.sessionState = _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped;
|
|
26598
27039
|
this._socketService.unsubscribeFromSession(true);
|
|
26599
27040
|
this._tracer.stop();
|
|
26600
27041
|
this._recorder.stop();
|
|
@@ -26607,7 +27048,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26607
27048
|
this._tracer.stop();
|
|
26608
27049
|
this._recorder.stop();
|
|
26609
27050
|
this._navigationRecorder.pause();
|
|
26610
|
-
this.sessionState =
|
|
27051
|
+
this.sessionState = _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.paused;
|
|
26611
27052
|
}
|
|
26612
27053
|
/**
|
|
26613
27054
|
* Resume the session tracing and recording
|
|
@@ -26616,7 +27057,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26616
27057
|
this._tracer.start(this.sessionId, this.sessionType);
|
|
26617
27058
|
this._recorder.start(this.sessionId, this.sessionType);
|
|
26618
27059
|
this._navigationRecorder.resume();
|
|
26619
|
-
this.sessionState =
|
|
27060
|
+
this.sessionState = _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started;
|
|
26620
27061
|
}
|
|
26621
27062
|
_setupSessionAndStart(session, configureExporters = true) {
|
|
26622
27063
|
if (configureExporters && session.tempApiKey) {
|
|
@@ -26640,7 +27081,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26640
27081
|
_clearSession() {
|
|
26641
27082
|
this.session = null;
|
|
26642
27083
|
this.sessionId = null;
|
|
26643
|
-
this.sessionState =
|
|
27084
|
+
this.sessionState = _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped;
|
|
26644
27085
|
}
|
|
26645
27086
|
/**
|
|
26646
27087
|
* Check the operation validity based on the session state and action
|
|
@@ -26652,27 +27093,27 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26652
27093
|
}
|
|
26653
27094
|
switch (action) {
|
|
26654
27095
|
case 'start':
|
|
26655
|
-
if (this.sessionState ===
|
|
27096
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started) {
|
|
26656
27097
|
throw new Error('Session is already started.');
|
|
26657
27098
|
}
|
|
26658
27099
|
break;
|
|
26659
27100
|
case 'stop':
|
|
26660
|
-
if (this.sessionState !==
|
|
27101
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.paused && this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started) {
|
|
26661
27102
|
throw new Error('Cannot stop. Session is not currently started.');
|
|
26662
27103
|
}
|
|
26663
27104
|
break;
|
|
26664
27105
|
case 'cancel':
|
|
26665
|
-
if (this.sessionState ===
|
|
27106
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped) {
|
|
26666
27107
|
throw new Error('Cannot cancel. Session has already been stopped.');
|
|
26667
27108
|
}
|
|
26668
27109
|
break;
|
|
26669
27110
|
case 'pause':
|
|
26670
|
-
if (this.sessionState !==
|
|
27111
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started) {
|
|
26671
27112
|
throw new Error('Cannot pause. Session is not running.');
|
|
26672
27113
|
}
|
|
26673
27114
|
break;
|
|
26674
27115
|
case 'resume':
|
|
26675
|
-
if (this.sessionState !==
|
|
27116
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.paused) {
|
|
26676
27117
|
throw new Error('Cannot resume. Session is not paused.');
|
|
26677
27118
|
}
|
|
26678
27119
|
break;
|
|
@@ -26680,12 +27121,12 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26680
27121
|
if (!this.continuousRecording) {
|
|
26681
27122
|
throw new Error('Cannot save continuous recording session. Continuous recording is not enabled.');
|
|
26682
27123
|
}
|
|
26683
|
-
if (this.sessionState !==
|
|
27124
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started) {
|
|
26684
27125
|
throw new Error('Cannot save continuous recording session. Session is not started.');
|
|
26685
27126
|
}
|
|
26686
27127
|
break;
|
|
26687
27128
|
case 'autoStartRemoteContinuousSession':
|
|
26688
|
-
if (this.sessionState !==
|
|
27129
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped) {
|
|
26689
27130
|
throw new Error('Cannot start remote continuous session. Session is not stopped.');
|
|
26690
27131
|
}
|
|
26691
27132
|
break;
|
|
@@ -26721,8 +27162,8 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26721
27162
|
var _a, _b, _c;
|
|
26722
27163
|
const userName = ((_a = this.sessionAttributes) === null || _a === void 0 ? void 0 : _a.userName) || ((_b = this._userAttributes) === null || _b === void 0 ? void 0 : _b.userName) || ((_c = this._userAttributes) === null || _c === void 0 ? void 0 : _c.name) || '';
|
|
26723
27164
|
return userName
|
|
26724
|
-
? `${userName}'s session on ${(0,
|
|
26725
|
-
: `Session on ${(0,
|
|
27165
|
+
? `${userName}'s session on ${(0,_utils__WEBPACK_IMPORTED_MODULE_3__.getFormattedDate)(date, { month: 'short', day: 'numeric' })}`
|
|
27166
|
+
: `Session on ${(0,_utils__WEBPACK_IMPORTED_MODULE_3__.getFormattedDate)(date)}`;
|
|
26726
27167
|
}
|
|
26727
27168
|
}
|
|
26728
27169
|
|
|
@@ -27155,7 +27596,7 @@ class DragManager {
|
|
|
27155
27596
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27156
27597
|
/* harmony export */ SessionWidget: () => (/* binding */ SessionWidget)
|
|
27157
27598
|
/* harmony export */ });
|
|
27158
|
-
/* harmony import */ var
|
|
27599
|
+
/* harmony import */ var lib0_observable__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! lib0/observable */ "../../node_modules/lib0/observable.js");
|
|
27159
27600
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils */ "./src/utils/index.ts");
|
|
27160
27601
|
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../types */ "./src/types/index.ts");
|
|
27161
27602
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ "./src/sessionWidget/constants.ts");
|
|
@@ -27164,7 +27605,8 @@ class DragManager {
|
|
|
27164
27605
|
/* harmony import */ var _UIManager__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./UIManager */ "./src/sessionWidget/UIManager.ts");
|
|
27165
27606
|
/* harmony import */ var _dragManager__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./dragManager */ "./src/sessionWidget/dragManager.ts");
|
|
27166
27607
|
/* harmony import */ var _buttonStateConfigs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./buttonStateConfigs */ "./src/sessionWidget/buttonStateConfigs.ts");
|
|
27167
|
-
/* harmony import */ var
|
|
27608
|
+
/* harmony import */ var _styles_index_scss_raw__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./styles/index.scss?raw */ "./src/sessionWidget/styles/index.scss?raw");
|
|
27609
|
+
/* harmony import */ var _styles_button_scss__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./styles/button.scss */ "./src/sessionWidget/styles/button.scss");
|
|
27168
27610
|
|
|
27169
27611
|
|
|
27170
27612
|
|
|
@@ -27176,7 +27618,8 @@ class DragManager {
|
|
|
27176
27618
|
|
|
27177
27619
|
// Import styles as string for shadow DOM injection
|
|
27178
27620
|
|
|
27179
|
-
|
|
27621
|
+
|
|
27622
|
+
class SessionWidget extends lib0_observable__WEBPACK_IMPORTED_MODULE_10__.Observable {
|
|
27180
27623
|
set buttonState(newState) {
|
|
27181
27624
|
var _a, _b;
|
|
27182
27625
|
this._buttonState = newState;
|
|
@@ -27465,8 +27908,8 @@ class SessionWidget extends lib0_observable__WEBPACK_IMPORTED_MODULE_9__.Observa
|
|
|
27465
27908
|
// Create shadow root
|
|
27466
27909
|
this.shadowRoot = rootWrapper.attachShadow({ mode: 'open' });
|
|
27467
27910
|
// Inject styles directly from imported SCSS file
|
|
27468
|
-
if (
|
|
27469
|
-
(0,_utils__WEBPACK_IMPORTED_MODULE_0__.injectStylesIntoShadowRoot)(this.shadowRoot,
|
|
27911
|
+
if (_styles_index_scss_raw__WEBPACK_IMPORTED_MODULE_8__) {
|
|
27912
|
+
(0,_utils__WEBPACK_IMPORTED_MODULE_0__.injectStylesIntoShadowRoot)(this.shadowRoot, _styles_index_scss_raw__WEBPACK_IMPORTED_MODULE_8__);
|
|
27470
27913
|
}
|
|
27471
27914
|
// Append all elements to shadow root
|
|
27472
27915
|
elements.forEach((element) => this.shadowRoot.appendChild(element));
|
|
@@ -28097,14 +28540,11 @@ const getButtonTemplate = (button) => {
|
|
|
28097
28540
|
|
|
28098
28541
|
"use strict";
|
|
28099
28542
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28100
|
-
/* harmony export */
|
|
28101
|
-
/* harmony export */
|
|
28102
|
-
/* harmony export */ WidgetButtonPlacement: () => (/* reexport safe */ _session_recorder__WEBPACK_IMPORTED_MODULE_2__.WidgetButtonPlacement)
|
|
28543
|
+
/* harmony export */ SessionState: () => (/* reexport safe */ _session_recorder__WEBPACK_IMPORTED_MODULE_1__.SessionState),
|
|
28544
|
+
/* harmony export */ WidgetButtonPlacement: () => (/* reexport safe */ _session_recorder__WEBPACK_IMPORTED_MODULE_1__.WidgetButtonPlacement)
|
|
28103
28545
|
/* harmony export */ });
|
|
28104
28546
|
/* harmony import */ var _widget__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./widget */ "./src/types/widget.ts");
|
|
28105
|
-
/* harmony import */ var
|
|
28106
|
-
/* harmony import */ var _session_recorder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./session-recorder */ "./src/types/session-recorder.ts");
|
|
28107
|
-
|
|
28547
|
+
/* harmony import */ var _session_recorder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./session-recorder */ "./src/types/session-recorder.ts");
|
|
28108
28548
|
|
|
28109
28549
|
|
|
28110
28550
|
|
|
@@ -28137,26 +28577,6 @@ var SessionState;
|
|
|
28137
28577
|
})(SessionState || (SessionState = {}));
|
|
28138
28578
|
|
|
28139
28579
|
|
|
28140
|
-
/***/ }),
|
|
28141
|
-
|
|
28142
|
-
/***/ "./src/types/session.ts":
|
|
28143
|
-
/*!******************************!*\
|
|
28144
|
-
!*** ./src/types/session.ts ***!
|
|
28145
|
-
\******************************/
|
|
28146
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
28147
|
-
|
|
28148
|
-
"use strict";
|
|
28149
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
28150
|
-
/* harmony export */ DebugSessionDataType: () => (/* binding */ DebugSessionDataType)
|
|
28151
|
-
/* harmony export */ });
|
|
28152
|
-
var DebugSessionDataType;
|
|
28153
|
-
(function (DebugSessionDataType) {
|
|
28154
|
-
DebugSessionDataType["OTLP_TRACES"] = "OTLP_TRACES";
|
|
28155
|
-
DebugSessionDataType["OTLP_LOGS"] = "OTLP_LOGS";
|
|
28156
|
-
DebugSessionDataType["RRWEB_EVENTS"] = "RRWEB_EVENTS";
|
|
28157
|
-
})(DebugSessionDataType || (DebugSessionDataType = {}));
|
|
28158
|
-
|
|
28159
|
-
|
|
28160
28580
|
/***/ }),
|
|
28161
28581
|
|
|
28162
28582
|
/***/ "./src/types/widget.ts":
|
|
@@ -29207,6 +29627,7 @@ var SessionRecorderBrowserTraceExporter = /** @class */ (function () {
|
|
|
29207
29627
|
/* harmony export */ ATTR_MULTIPLAYER_SESSION_RECORDER_VERSION: () => (/* reexport safe */ _constants_constants_browser__WEBPACK_IMPORTED_MODULE_0__.ATTR_MULTIPLAYER_SESSION_RECORDER_VERSION),
|
|
29208
29628
|
/* harmony export */ ATTR_MULTIPLAYER_USER_HASH: () => (/* reexport safe */ _constants_constants_browser__WEBPACK_IMPORTED_MODULE_0__.ATTR_MULTIPLAYER_USER_HASH),
|
|
29209
29629
|
/* harmony export */ ATTR_MULTIPLAYER_WORKSPACE_ID: () => (/* reexport safe */ _constants_constants_browser__WEBPACK_IMPORTED_MODULE_0__.ATTR_MULTIPLAYER_WORKSPACE_ID),
|
|
29630
|
+
/* harmony export */ DebugSessionDataType: () => (/* reexport safe */ _type__WEBPACK_IMPORTED_MODULE_4__.DebugSessionDataType),
|
|
29210
29631
|
/* harmony export */ MASK_PLACEHOLDER: () => (/* reexport safe */ _constants_constants_browser__WEBPACK_IMPORTED_MODULE_0__.MASK_PLACEHOLDER),
|
|
29211
29632
|
/* harmony export */ MULTIPLAYER_ATTRIBUTE_PREFIX: () => (/* reexport safe */ _constants_constants_browser__WEBPACK_IMPORTED_MODULE_0__.MULTIPLAYER_ATTRIBUTE_PREFIX),
|
|
29212
29633
|
/* harmony export */ MULTIPLAYER_BASE_API_URL: () => (/* reexport safe */ _constants_constants_browser__WEBPACK_IMPORTED_MODULE_0__.MULTIPLAYER_BASE_API_URL),
|
|
@@ -29832,11 +30253,14 @@ var setGrpcResponseMessage = function (body, options) {
|
|
|
29832
30253
|
|
|
29833
30254
|
"use strict";
|
|
29834
30255
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
30256
|
+
/* harmony export */ DebugSessionDataType: () => (/* reexport safe */ _session__WEBPACK_IMPORTED_MODULE_2__.DebugSessionDataType),
|
|
29835
30257
|
/* harmony export */ SessionType: () => (/* reexport safe */ _session_type_enum__WEBPACK_IMPORTED_MODULE_0__.SessionType),
|
|
29836
30258
|
/* harmony export */ UserType: () => (/* reexport safe */ _user_type_enum__WEBPACK_IMPORTED_MODULE_1__.UserType)
|
|
29837
30259
|
/* harmony export */ });
|
|
29838
30260
|
/* harmony import */ var _session_type_enum__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./session-type.enum */ "../session-recorder-common/dist/esm/type/session-type.enum.js");
|
|
29839
30261
|
/* harmony import */ var _user_type_enum__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./user-type.enum */ "../session-recorder-common/dist/esm/type/user-type.enum.js");
|
|
30262
|
+
/* harmony import */ var _session__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./session */ "../session-recorder-common/dist/esm/type/session.js");
|
|
30263
|
+
|
|
29840
30264
|
|
|
29841
30265
|
|
|
29842
30266
|
//# sourceMappingURL=index.js.map
|
|
@@ -29866,6 +30290,26 @@ var SessionType;
|
|
|
29866
30290
|
|
|
29867
30291
|
/***/ }),
|
|
29868
30292
|
|
|
30293
|
+
/***/ "../session-recorder-common/dist/esm/type/session.js":
|
|
30294
|
+
/*!***********************************************************!*\
|
|
30295
|
+
!*** ../session-recorder-common/dist/esm/type/session.js ***!
|
|
30296
|
+
\***********************************************************/
|
|
30297
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30298
|
+
|
|
30299
|
+
"use strict";
|
|
30300
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
30301
|
+
/* harmony export */ DebugSessionDataType: () => (/* binding */ DebugSessionDataType)
|
|
30302
|
+
/* harmony export */ });
|
|
30303
|
+
var DebugSessionDataType;
|
|
30304
|
+
(function (DebugSessionDataType) {
|
|
30305
|
+
DebugSessionDataType["OTLP_TRACES"] = "OTLP_TRACES";
|
|
30306
|
+
DebugSessionDataType["OTLP_LOGS"] = "OTLP_LOGS";
|
|
30307
|
+
DebugSessionDataType["RRWEB_EVENTS"] = "RRWEB_EVENTS";
|
|
30308
|
+
})(DebugSessionDataType || (DebugSessionDataType = {}));
|
|
30309
|
+
//# sourceMappingURL=session.js.map
|
|
30310
|
+
|
|
30311
|
+
/***/ }),
|
|
30312
|
+
|
|
29869
30313
|
/***/ "../session-recorder-common/dist/esm/type/user-type.enum.js":
|
|
29870
30314
|
/*!******************************************************************!*\
|
|
29871
30315
|
!*** ../session-recorder-common/dist/esm/type/user-type.enum.js ***!
|
|
@@ -29886,14 +30330,14 @@ var UserType;
|
|
|
29886
30330
|
|
|
29887
30331
|
/***/ }),
|
|
29888
30332
|
|
|
29889
|
-
/***/ "./src/index.scss?raw":
|
|
29890
|
-
|
|
29891
|
-
!*** ./src/index.scss?raw ***!
|
|
29892
|
-
|
|
30333
|
+
/***/ "./src/sessionWidget/styles/index.scss?raw":
|
|
30334
|
+
/*!*************************************************!*\
|
|
30335
|
+
!*** ./src/sessionWidget/styles/index.scss?raw ***!
|
|
30336
|
+
\*************************************************/
|
|
29893
30337
|
/***/ ((module) => {
|
|
29894
30338
|
|
|
29895
30339
|
"use strict";
|
|
29896
|
-
module.exports = "* {\n font-family: \"PP Neue Montreal\", Montserrat, Roboto, Arial, sans-serif !important;\n box-sizing: border-box;\n}\n\n.hidden {\n display: none !important;\n}\n\ntextarea {\n background: #ffffff;\n color: #2d3748;\n}\n\na,\nbutton {\n appearance: none;\n border: none;\n outline: none;\n cursor: pointer;\n}\n\n.mp-session-debugger-button {\n cursor: pointer;\n border-radius: 12px;\n font-family: Inter, sans-serif;\n font-size: 14px;\n font-weight: 500;\n transition: all 0.2s;\n display: flex;\n align-items: center;\n justify-content: center;\n position: fixed;\n z-index: 2247483003;\n padding: 5px;\n background-color: #ffffff;\n border: solid 1px #bebfc1;\n border-radius: 36px;\n color: #718096;\n transition: background 0.3s;\n width: 42px;\n height: 42px;\n will-change: right, bottom;\n}\n.mp-session-debugger-button.is-started {\n color: #493bff;\n}\n.mp-session-debugger-button.top-left {\n top: 24px;\n left: 24px;\n}\n.mp-session-debugger-button.top-right {\n top: 24px;\n right: 24px;\n}\n.mp-session-debugger-button.bottom-left {\n bottom: 24px;\n left: 24px;\n}\n.mp-session-debugger-button.bottom-right {\n bottom: 24px;\n right: 24px;\n}\n.mp-session-debugger-button.no-draggable {\n position: static;\n}\n.mp-session-debugger-button.no-draggable::before {\n transform: translateY(-18px) !important;\n top: -10px !important;\n left: 10px !important;\n}\n.mp-session-debugger-button.no-draggable:hover::before {\n z-index: 1;\n transform: translateY(-18px);\n top: -10px;\n left: 10px;\n right: unset;\n}\n.mp-session-debugger-button.no-draggable.no-tooltip::before {\n display: none;\n}\n.mp-session-debugger-button.mp-button-blue {\n border: 1px rgba(0, 0, 0, 0.2);\n background: #493bff;\n}\n.mp-session-debugger-button.mp-button-blue::before {\n opacity: 1;\n transform: translateX(0);\n}\n.mp-session-debugger-button:not([data-tooltip=\"\"]):before {\n content: attr(data-tooltip);\n position: absolute;\n pointer-events: none;\n height: 28px;\n top: 6px;\n padding: 6px 8px 6px 8px;\n border-radius: 8px;\n font-family: Inter, sans-serif;\n font-size: 12px;\n font-weight: 500;\n line-height: 16px;\n opacity: 0;\n transition: all 0.3s;\n background: #1a202c;\n color: white;\n white-space: nowrap;\n box-sizing: border-box;\n z-index: -1;\n transform: translateX(-8px);\n left: unset;\n right: 100%;\n}\n.mp-session-debugger-button:not([data-tooltip=\"\"]).top-left:before, .mp-session-debugger-button:not([data-tooltip=\"\"]).bottom-left:before, .mp-session-debugger-button:not([data-tooltip=\"\"]).button-leftside:before {\n transform: translateX(8px);\n left: 100%;\n right: unset;\n}\n.mp-session-debugger-button:not(.no-hover):hover {\n color: #473cfb;\n box-shadow: 0 3px 3px -1.5px rgba(0, 0, 0, 0.06), 0 1px 1px -0.5px rgba(0, 0, 0, 0.06);\n}\n.mp-session-debugger-button:not(.no-hover):hover:before {\n opacity: 1;\n}\n.mp-session-debugger-button:not(.no-hover):hover:not(.no-draggable) .mp-drag-hint svg {\n opacity: 1;\n}\n.mp-session-debugger-button svg {\n transform: rotate(0deg);\n transition: transform 0.3s linear;\n}\n.mp-session-debugger-button.rotate-on-hover:hover svg {\n transform: rotate(-180deg);\n}\n.mp-session-debugger-button.animate-rotate svg {\n animation: _rotateAnimation 3s linear infinite;\n}\n\n.animate-bounce {\n animation: _bounceAnimation 1.6s infinite;\n animation-timing-function: cubic-bezier(0.87, 0, 0.13, 1);\n}\n\n.mp-drag-hint svg {\n position: absolute;\n width: 14px;\n height: 14px;\n top: -3px;\n right: -9px;\n opacity: 0;\n transform: unset !important;\n transition: opacity 0.1ms ease-in !important;\n cursor: grab;\n}\n\n.mp-session-debugger-popover-textarea {\n border: 1px solid #cbd5e0;\n box-shadow: 0 12px 12px -12px rgba(0, 0, 0, 0.0588235294), 0 6px 6px -3px rgba(0, 0, 0, 0.0588235294), 0 3px 3px -1.5px rgba(0, 0, 0, 0.0588235294), 0 1px 1px -0.5px rgba(0, 0, 0, 0.0588235294);\n padding: 10px 13px 10px 13px;\n border-radius: 12px;\n font-family: Inter, serif;\n font-size: 14px;\n font-weight: 400;\n color: #718096;\n margin-bottom: 32px;\n width: 100%;\n height: 80px;\n resize: none;\n}\n\n.mp-session-debugger-popover {\n position: fixed;\n bottom: 90px;\n right: 24px;\n width: 300px;\n background: #ffffff;\n border-radius: 24px;\n overflow: hidden;\n border: 1px solid rgb(245, 245, 245);\n box-shadow: 0 1px 1px -0.5px rgba(0, 0, 0, 0.06), 0 3px 3px -1.5px rgba(0, 0, 0, 0.06);\n z-index: 10000;\n}\n.mp-session-debugger-popover.hidden {\n display: none;\n}\n.mp-session-debugger-popover-content {\n position: relative;\n padding: 65px 16px 16px;\n}\n.mp-session-debugger-popover-header {\n position: absolute;\n top: 0;\n width: 100%;\n right: 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 16px;\n gap: 8px;\n background: linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, rgb(255, 255, 255) 100%), linear-gradient(90deg, #d8f3fd 0%, #e3ecfd 100%);\n}\n.mp-session-debugger-popover-header a {\n color: inherit;\n margin-right: auto;\n text-decoration: none;\n}\n.mp-session-debugger-popover-body h2 {\n margin-bottom: 4px;\n font-size: 18px;\n font-weight: 600;\n color: #2d3748;\n font-family: \"PP Neue Montreal\", Montserrat, Roboto, Arial, sans-serif;\n}\n.mp-session-debugger-popover-body p {\n font-family: \"PP Neue Montreal\", Montserrat, Roboto, Arial, sans-serif;\n font-size: 14px;\n font-weight: 400;\n color: #718096;\n margin-bottom: 32px;\n}\n.mp-session-debugger-popover-body:has(#mp-session-debugger-continuous-debugging-checkbox:checked) .mp-session-debugger-continuous-debugging-overlay {\n display: flex;\n}\n.mp-session-debugger-popover-body:has(#mp-session-debugger-continuous-debugging-checkbox:checked) .mp-session-debugger-continuous-debugging ~ h2,\n.mp-session-debugger-popover-body:has(#mp-session-debugger-continuous-debugging-checkbox:checked) .mp-session-debugger-continuous-debugging ~ p {\n display: none;\n}\n.mp-session-debugger-popover-body:has(#mp-session-debugger-continuous-debugging-checkbox:checked) .mp-session-debugger-popover-footer {\n display: none;\n}\n.mp-session-debugger-popover-footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n}\n.mp-session-debugger-popover-button {\n cursor: pointer;\n border-radius: 12px;\n font-family: Inter, sans-serif;\n font-size: 14px;\n font-weight: 500;\n transition: all 0.2s;\n border: none;\n color: #ffffff;\n width: 100%;\n position: relative;\n padding: 12px 16px;\n border-radius: 12px;\n background: transparent;\n overflow: hidden;\n z-index: 1;\n}\n.mp-session-debugger-popover-button::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: linear-gradient(180deg, #493bff 0%, #382be4 100%);\n transition: opacity 0.3s linear;\n z-index: -1;\n}\n.mp-session-debugger-popover-button::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: linear-gradient(180deg, #160d9c 0%, #160d9c 100%);\n transition: opacity 0.3s linear;\n z-index: -1;\n opacity: 0;\n}\n.mp-session-debugger-popover-button:hover::after {\n opacity: 1;\n}\n.mp-session-debugger-popover-button:disabled, .mp-session-debugger-popover-button.disabled {\n pointer-events: none;\n opacity: 0.6;\n cursor: not-allowed;\n transition: opacity 0.2s ease;\n}\n.mp-session-debugger-popover-button:disabled:hover, .mp-session-debugger-popover-button:disabled:focus, .mp-session-debugger-popover-button.disabled:hover, .mp-session-debugger-popover-button.disabled:focus {\n background-color: inherit;\n box-shadow: none;\n}\n.mp-session-debugger-continuous-debugging {\n position: relative;\n z-index: 3;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n padding: 12px;\n border-radius: 12px;\n border: 1px solid #e1e8f1;\n box-shadow: 0 1px 1px -0.5px rgba(0, 0, 0, 0.06), 0 3px 3px -1.5px rgba(0, 0, 0, 0.06);\n margin-bottom: 15px;\n}\n.mp-session-debugger-continuous-debugging-overlay {\n /* Delete this block after it was fixed in the lib */\n position: relative;\n inset: unset;\n padding: 0;\n display: none;\n border-radius: 12px;\n backdrop-filter: blur(10px);\n background: rgba(255, 255, 255, 0.5);\n flex-direction: column;\n justify-content: flex-end;\n gap: 12px;\n}\n.mp-session-debugger-continuous-debugging-overlay-content {\n padding: 12px;\n background: #ffffff;\n border-radius: 12px;\n border: 1px solid #e1e8f1;\n box-shadow: 0 1px 1px -0.5px rgba(0, 0, 0, 0.06), 0 3px 3px -1.5px rgba(0, 0, 0, 0.06);\n}\n.mp-session-debugger-continuous-debugging-overlay-content h3 {\n display: flex;\n align-items: center;\n justify-content: center;\n justify-content: flex-start;\n margin: 0;\n gap: 8px;\n font-size: 14px;\n font-weight: 500;\n}\n.mp-session-debugger-continuous-debugging-overlay-content h3 svg {\n width: 20px;\n height: 20px;\n animation: _bounceAnimation 1.6s infinite;\n animation-timing-function: cubic-bezier(0.87, 0, 0.13, 1);\n}\n.mp-session-debugger-continuous-debugging-overlay-content p {\n margin: 0;\n}\n.mp-session-debugger-continuous-debugging-label {\n gap: 8px;\n display: flex;\n font-size: 14px;\n color: #2d3748;\n font-weight: 500;\n}\n.mp-session-debugger-continuous-debugging-switch {\n display: flex;\n align-items: center;\n width: 44px;\n height: 24px;\n padding: 2px;\n cursor: pointer;\n border-radius: 36px;\n background: #e2e8f0;\n}\n.mp-session-debugger-continuous-debugging-switch:has(input:checked) {\n background: #493bff;\n justify-content: flex-end;\n}\n.mp-session-debugger-continuous-debugging-switch input {\n display: none;\n}\n.mp-session-debugger-continuous-debugging-switch span {\n width: 20px;\n height: 20px;\n border-radius: 50%;\n background: #ffffff;\n transition: transform 0.2s;\n}\n\n.mp-recording-overlay {\n background: #5c5d5d;\n color: #ffffff;\n display: flex;\n z-index: 2147483007;\n left: 50%;\n bottom: 20px;\n position: fixed;\n transform: translate(-50%, 0);\n border: 0.5px solid #5c5d5d;\n border-radius: 24px;\n font-family: Arial, sans-serif;\n flex-direction: row;\n font-size: 14px;\n box-shadow: 0 1px 1px -0.5px rgba(0, 0, 0, 0.3);\n}\n.mp-recording-overlay.hidden {\n display: none;\n}\n.mp-recording-status {\n gap: 8px;\n display: flex;\n padding: 12px 12px;\n flex-direction: row;\n align-items: center;\n}\n.mp-recording-indicator {\n width: 24px;\n height: 24px;\n animation: pulse 1.5s infinite;\n}\n.mp-recording-controls {\n display: flex;\n}\n.mp-recording-btn {\n border: none;\n border-right: 0.5px solid #5c5d5d;\n background: #414141;\n padding: 6px 12px;\n font-weight: bold;\n cursor: pointer;\n color: #ffffff;\n gap: 8px;\n height: 100%;\n}\n\n.mp-session-debugger-modal.hidden {\n display: none;\n}\n\n.mp-session-debugger-popover-logo svg {\n width: 30px;\n}\n\n.mp-session-debugger-dismiss-button {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 6px 16px;\n background: white;\n border: 1px solid #e1e8f1;\n box-shadow: 0 3px 3px -1.5px rgba(0, 0, 0, 0.0588235294), 0 1px 1px -0.5px rgba(0, 0, 0, 0.0588235294);\n border-radius: 12px;\n font-size: 14px;\n color: #2d3748;\n font-weight: 500;\n}\n\n.mp-session-debugger-modal-backdrop {\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, 0.5);\n z-index: 10003;\n}\n\n/* Modal content */\n.mp-session-debugger-modal-content {\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n background: white;\n padding: 20px;\n border-radius: 8px;\n width: 80vw;\n min-height: 70vh;\n max-height: 90vh;\n z-index: 10004;\n display: flex;\n flex-direction: column;\n}\n\n/* Close button */\n.mp-session-debugger-modal-close {\n background: none;\n border: none;\n padding: 8px;\n cursor: pointer;\n color: grey;\n line-height: 1;\n}\n.mp-session-debugger-modal-close svg {\n vertical-align: top;\n}\n\n/* Modal body */\n.mp-session-debugger-modal-body {\n flex: 1;\n display: flex;\n flex-direction: column;\n padding: 20px 0;\n height: 100%;\n overflow: hidden;\n background: white;\n}\n.mp-session-debugger-modal-body .rr-player {\n border-radius: 4px;\n border: 1px solid #c1c5ca;\n box-shadow: unset;\n overflow: hidden;\n}\n\n.mp-session-debugger-player-frame {\n display: flex;\n flex: 1;\n overflow: hidden;\n}\n.mp-session-debugger-player-frame .replayer-wrapper {\n box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);\n}\n\n/* Modal footer */\n.mp-session-debugger-modal-footer {\n display: flex;\n justify-content: flex-end;\n gap: 10px;\n}\n\n/* Buttons */\n.mp-session-debugger-modal-button {\n width: auto;\n}\n\n.mp-dismiss-recording,\n.mp-dismiss-recording:before,\n.mp-dismiss-recording:after {\n background: white;\n border: 1px solid #e1e8f1;\n color: #2d3748;\n}\n\n@keyframes _rotateAnimation {\n 0% {\n transform: rotate(0);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n@keyframes _bounceAnimation {\n 0%, 100% {\n padding: 3px;\n }\n 50% {\n padding: 0;\n }\n}\n#mp-submission-dialog {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 99999;\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: -apple-system, BlinkMacSystemFont, sans-serif;\n}\n#mp-submission-dialog.hidden {\n display: none;\n}\n#mp-submission-dialog .mp-dialog-backdrop {\n background: rgba(0, 0, 0, 0.4);\n position: fixed;\n width: 100%;\n height: 100%;\n}\n#mp-submission-dialog .mp-dialog-content {\n top: 30%;\n left: 40%;\n position: absolute;\n background: #ffffff;\n border-radius: 24px;\n padding: 24px;\n width: 90%;\n max-width: 450px;\n z-index: 100000;\n animation: fadeIn 0.3s ease-out;\n box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);\n}\n#mp-submission-dialog .mp-dialog-actions {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n}\n#mp-submission-dialog h3 {\n margin-bottom: 16px;\n font-size: 20px;\n color: #2a374a;\n}\n#mp-submission-dialog .subtitle {\n font-size: 12px;\n color: #6d8198;\n margin-bottom: 16px;\n}\n#mp-submission-dialog .form-group {\n margin-bottom: 20px;\n}\n#mp-submission-dialog label {\n display: block;\n margin-bottom: 8px;\n color: #555;\n font-size: 14px;\n}\n#mp-submission-dialog textarea {\n width: 100%;\n padding: 12px;\n border: 1px solid #e0e0e0;\n border-radius: 8px;\n resize: vertical;\n min-height: 100px;\n max-height: 350px;\n font-family: inherit;\n font-size: 14px;\n transition: border 0.2s;\n}\n#mp-submission-dialog textarea:focus {\n outline: none;\n border-color: #382be4;\n box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);\n}\n#mp-submission-dialog textarea::placeholder {\n color: #6d8198;\n opacity: 1;\n}\n#mp-submission-dialog button {\n padding: 12px 16px;\n border-radius: 12px;\n cursor: pointer;\n font-size: 14px;\n font-weight: 500;\n transition: all 0.2s;\n height: auto;\n}\n#mp-submission-dialog #mp-cancel-submission {\n background: #f5f5f5;\n border: 1px solid #e1e8f1;\n color: #2d3748;\n box-shadow: 0 1px 1px -0.5px rgba(0, 0, 0, 0.06), 0 3px 3px -1.5px rgba(0, 0, 0, 0.06);\n}\n#mp-submission-dialog #mp-submit-recording {\n background: linear-gradient(180deg, #493bff 0%, #382be4 100%);\n border: none;\n color: #ffffff;\n}\n#mp-submission-dialog #mp-submit-recording:hover {\n background: linear-gradient(180deg, #493bff 0%, #160d9c 100%);\n}\n\n#mp-confirmation-dialog {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n font-size: 14px;\n background: rgba(0, 0, 0, 0.4);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 9999;\n}\n#mp-confirmation-dialog .mp-dialog-content {\n padding: 20px;\n color: #2a374a;\n max-width: 410px;\n background: #ffffff;\n border-radius: 24px;\n}\n#mp-confirmation-dialog .mp-dialog-buttons {\n gap: 12px;\n display: flex;\n margin-top: 16px;\n justify-content: flex-end;\n}\n#mp-confirmation-dialog button {\n font-weight: 500;\n cursor: pointer;\n padding: 12px 16px;\n border-radius: 12px;\n transition: all 0.2s;\n}\n#mp-confirmation-dialog #mp-dialog-confirm {\n background: #dd524c;\n color: #ffffff;\n}\n#mp-confirmation-dialog #mp-dialog-confirm:hover {\n background: #c53030;\n}\n#mp-confirmation-dialog #mp-dialog-cancel {\n background: #f5f5f5;\n border: 1px solid #e1e8f1;\n color: #2d3748;\n box-shadow: 0 1px 1px -0.5px rgba(0, 0, 0, 0.06), 0 3px 3px -1.5px rgba(0, 0, 0, 0.06);\n}\n\n.mp-drag-handle {\n padding: 12px 12px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.mp-toast {\n left: 50%;\n bottom: 40px;\n position: fixed;\n transform: translateX(-50%);\n background: #535454;\n z-index: 10001;\n padding: 0;\n border: none;\n border-radius: 14px;\n box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);\n display: flex;\n font-size: 14px;\n font-weight: 500;\n animation: slideUpCenter 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mp-toast-error .mp-toast-icon {\n color: #dd524c;\n}\n.mp-toast.hidden {\n display: none;\n}\n.mp-toast-content {\n padding: 0;\n gap: 12px;\n color: white;\n display: flex;\n align-items: center;\n width: 100%;\n height: 100%;\n white-space: nowrap;\n}\n.mp-toast-icon {\n margin-left: 12px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.mp-toast-icon svg {\n width: 20px;\n height: 20px;\n}\n.mp-toast-message {\n flex: 1;\n margin-right: 12px;\n font-weight: 500;\n}\n.mp-toast-button {\n display: flex;\n align-items: center;\n justify-content: center;\n border-top-right-radius: 14px;\n border-bottom-right-radius: 14px;\n padding: 12px 16px !important;\n background: #414141 !important;\n font-weight: 500 !important;\n border: 0.5px solid #5c5d5d;\n cursor: pointer;\n text-decoration: none !important;\n transition: background 0.18s;\n color: white;\n}\n.mp-toast-button:hover, .mp-toast-button:focus {\n background: rgba(255, 255, 255, 0.18);\n}\n\n@keyframes slideUpCenter {\n from {\n transform: translateX(-50%) translateY(40px);\n opacity: 0;\n }\n to {\n transform: translateX(-50%) translateY(0);\n opacity: 1;\n }\n}";
|
|
30340
|
+
module.exports = "@keyframes _rotateAnimation {\n 0% {\n transform: rotate(0);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n@keyframes _bounceAnimation {\n 0%, 100% {\n padding: 3px;\n }\n 50% {\n padding: 0;\n }\n}\n@keyframes _rotateAnimation {\n 0% {\n transform: rotate(0);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n@keyframes _bounceAnimation {\n 0%, 100% {\n padding: 3px;\n }\n 50% {\n padding: 0;\n }\n}\n.mp-session-debugger-button {\n cursor: pointer;\n border-radius: 12px;\n font-family: Inter, sans-serif;\n font-size: 14px;\n font-weight: 500;\n transition: all 0.2s;\n display: flex;\n align-items: center;\n justify-content: center;\n position: fixed;\n z-index: 2247483003;\n padding: 5px;\n background-color: #ffffff;\n border: solid 1px #bebfc1;\n border-radius: 36px;\n color: #718096;\n transition: background 0.3s;\n width: 42px;\n height: 42px;\n will-change: right, bottom;\n}\n.mp-session-debugger-button.is-started {\n color: #493bff;\n}\n.mp-session-debugger-button.top-left {\n top: 24px;\n left: 24px;\n}\n.mp-session-debugger-button.top-right {\n top: 24px;\n right: 24px;\n}\n.mp-session-debugger-button.bottom-left {\n bottom: 24px;\n left: 24px;\n}\n.mp-session-debugger-button.bottom-right {\n bottom: 24px;\n right: 24px;\n}\n.mp-session-debugger-button.no-draggable {\n position: static;\n}\n.mp-session-debugger-button.no-draggable::before {\n transform: translateY(-18px) !important;\n top: -10px !important;\n left: 10px !important;\n}\n.mp-session-debugger-button.no-draggable:hover::before {\n z-index: 1;\n transform: translateY(-18px);\n top: -10px;\n left: 10px;\n right: unset;\n}\n.mp-session-debugger-button.no-draggable.no-tooltip::before {\n display: none;\n}\n.mp-session-debugger-button.mp-button-blue {\n border: 1px rgba(0, 0, 0, 0.2);\n background: #493bff;\n}\n.mp-session-debugger-button.mp-button-blue::before {\n opacity: 1;\n transform: translateX(0);\n}\n.mp-session-debugger-button:not([data-tooltip=\"\"]):before {\n content: attr(data-tooltip);\n position: absolute;\n pointer-events: none;\n height: 28px;\n top: 6px;\n padding: 6px 8px 6px 8px;\n border-radius: 8px;\n font-family: Inter, sans-serif;\n font-size: 12px;\n font-weight: 500;\n line-height: 16px;\n opacity: 0;\n transition: all 0.3s;\n background: #1a202c;\n color: white;\n white-space: nowrap;\n box-sizing: border-box;\n z-index: -1;\n transform: translateX(-8px);\n left: unset;\n right: 100%;\n}\n.mp-session-debugger-button:not([data-tooltip=\"\"]).top-left:before, .mp-session-debugger-button:not([data-tooltip=\"\"]).bottom-left:before, .mp-session-debugger-button:not([data-tooltip=\"\"]).button-leftside:before {\n transform: translateX(8px);\n left: 100%;\n right: unset;\n}\n.mp-session-debugger-button:not(.no-hover):hover {\n color: #473cfb;\n box-shadow: 0 3px 3px -1.5px rgba(0, 0, 0, 0.06), 0 1px 1px -0.5px rgba(0, 0, 0, 0.06);\n}\n.mp-session-debugger-button:not(.no-hover):hover:before {\n opacity: 1;\n}\n.mp-session-debugger-button svg {\n transform: rotate(0deg);\n transition: transform 0.3s linear;\n}\n.mp-session-debugger-button.rotate-on-hover:hover svg {\n transform: rotate(-180deg);\n}\n.mp-session-debugger-button.animate-rotate svg {\n animation: _rotateAnimation 3s linear infinite;\n}\n\n.animate-bounce {\n animation: _bounceAnimation 1.6s infinite;\n animation-timing-function: cubic-bezier(0.87, 0, 0.13, 1);\n}\n\n* {\n font-family: \"PP Neue Montreal\", Montserrat, Roboto, Arial, sans-serif !important;\n box-sizing: border-box;\n}\n\n.hidden {\n display: none !important;\n}\n\ntextarea {\n background: #ffffff;\n color: #2d3748;\n}\n\na,\nbutton {\n appearance: none;\n border: none;\n outline: none;\n cursor: pointer;\n}\n\n.mp-session-debugger-popover-textarea {\n border: 1px solid #cbd5e0;\n box-shadow: 0 12px 12px -12px rgba(0, 0, 0, 0.0588235294), 0 6px 6px -3px rgba(0, 0, 0, 0.0588235294), 0 3px 3px -1.5px rgba(0, 0, 0, 0.0588235294), 0 1px 1px -0.5px rgba(0, 0, 0, 0.0588235294);\n padding: 10px 13px 10px 13px;\n border-radius: 12px;\n font-family: Inter, serif;\n font-size: 14px;\n font-weight: 400;\n color: #718096;\n margin-bottom: 32px;\n width: 100%;\n height: 80px;\n resize: none;\n}\n\n.mp-session-debugger-popover {\n position: fixed;\n bottom: 90px;\n right: 24px;\n width: 300px;\n background: #ffffff;\n border-radius: 24px;\n overflow: hidden;\n border: 1px solid rgb(245, 245, 245);\n box-shadow: 0 1px 1px -0.5px rgba(0, 0, 0, 0.06), 0 3px 3px -1.5px rgba(0, 0, 0, 0.06);\n z-index: 10000;\n}\n.mp-session-debugger-popover.hidden {\n display: none;\n}\n.mp-session-debugger-popover-content {\n position: relative;\n padding: 65px 16px 16px;\n}\n.mp-session-debugger-popover-header {\n position: absolute;\n top: 0;\n width: 100%;\n right: 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 16px;\n gap: 8px;\n background: linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, rgb(255, 255, 255) 100%), linear-gradient(90deg, #d8f3fd 0%, #e3ecfd 100%);\n}\n.mp-session-debugger-popover-header a {\n color: inherit;\n margin-right: auto;\n text-decoration: none;\n}\n.mp-session-debugger-popover-body h2 {\n margin-bottom: 4px;\n font-size: 18px;\n font-weight: 600;\n color: #2d3748;\n font-family: \"PP Neue Montreal\", Montserrat, Roboto, Arial, sans-serif;\n}\n.mp-session-debugger-popover-body p {\n font-family: \"PP Neue Montreal\", Montserrat, Roboto, Arial, sans-serif;\n font-size: 14px;\n font-weight: 400;\n color: #718096;\n margin-bottom: 32px;\n}\n.mp-session-debugger-popover-body:has(#mp-session-debugger-continuous-debugging-checkbox:checked) .mp-session-debugger-continuous-debugging-overlay {\n display: flex;\n}\n.mp-session-debugger-popover-body:has(#mp-session-debugger-continuous-debugging-checkbox:checked) .mp-session-debugger-continuous-debugging ~ h2,\n.mp-session-debugger-popover-body:has(#mp-session-debugger-continuous-debugging-checkbox:checked) .mp-session-debugger-continuous-debugging ~ p {\n display: none;\n}\n.mp-session-debugger-popover-body:has(#mp-session-debugger-continuous-debugging-checkbox:checked) .mp-session-debugger-popover-footer {\n display: none;\n}\n.mp-session-debugger-popover-footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n}\n.mp-session-debugger-popover-button {\n cursor: pointer;\n border-radius: 12px;\n font-family: Inter, sans-serif;\n font-size: 14px;\n font-weight: 500;\n transition: all 0.2s;\n border: none;\n color: #ffffff;\n width: 100%;\n position: relative;\n padding: 12px 16px;\n border-radius: 12px;\n background: transparent;\n overflow: hidden;\n z-index: 1;\n}\n.mp-session-debugger-popover-button::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: linear-gradient(180deg, #493bff 0%, #382be4 100%);\n transition: opacity 0.3s linear;\n z-index: -1;\n}\n.mp-session-debugger-popover-button::after {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: linear-gradient(180deg, #160d9c 0%, #160d9c 100%);\n transition: opacity 0.3s linear;\n z-index: -1;\n opacity: 0;\n}\n.mp-session-debugger-popover-button:hover::after {\n opacity: 1;\n}\n.mp-session-debugger-popover-button:disabled, .mp-session-debugger-popover-button.disabled {\n pointer-events: none;\n opacity: 0.6;\n cursor: not-allowed;\n transition: opacity 0.2s ease;\n}\n.mp-session-debugger-popover-button:disabled:hover, .mp-session-debugger-popover-button:disabled:focus, .mp-session-debugger-popover-button.disabled:hover, .mp-session-debugger-popover-button.disabled:focus {\n background-color: inherit;\n box-shadow: none;\n}\n.mp-session-debugger-continuous-debugging {\n position: relative;\n z-index: 3;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 8px;\n padding: 12px;\n border-radius: 12px;\n border: 1px solid #e1e8f1;\n box-shadow: 0 1px 1px -0.5px rgba(0, 0, 0, 0.06), 0 3px 3px -1.5px rgba(0, 0, 0, 0.06);\n margin-bottom: 15px;\n}\n.mp-session-debugger-continuous-debugging-overlay {\n /* Delete this block after it was fixed in the lib */\n position: relative;\n inset: unset;\n padding: 0;\n display: none;\n border-radius: 12px;\n backdrop-filter: blur(10px);\n background: rgba(255, 255, 255, 0.5);\n flex-direction: column;\n justify-content: flex-end;\n gap: 12px;\n}\n.mp-session-debugger-continuous-debugging-overlay-content {\n padding: 12px;\n background: #ffffff;\n border-radius: 12px;\n border: 1px solid #e1e8f1;\n box-shadow: 0 1px 1px -0.5px rgba(0, 0, 0, 0.06), 0 3px 3px -1.5px rgba(0, 0, 0, 0.06);\n}\n.mp-session-debugger-continuous-debugging-overlay-content h3 {\n display: flex;\n align-items: center;\n justify-content: center;\n justify-content: flex-start;\n margin: 0;\n gap: 8px;\n font-size: 14px;\n font-weight: 500;\n}\n.mp-session-debugger-continuous-debugging-overlay-content h3 svg {\n width: 20px;\n height: 20px;\n animation: _bounceAnimation 1.6s infinite;\n animation-timing-function: cubic-bezier(0.87, 0, 0.13, 1);\n}\n.mp-session-debugger-continuous-debugging-overlay-content p {\n margin: 0;\n}\n.mp-session-debugger-continuous-debugging-label {\n gap: 8px;\n display: flex;\n font-size: 14px;\n color: #2d3748;\n font-weight: 500;\n}\n.mp-session-debugger-continuous-debugging-switch {\n display: flex;\n align-items: center;\n width: 44px;\n height: 24px;\n padding: 2px;\n cursor: pointer;\n border-radius: 36px;\n background: #e2e8f0;\n}\n.mp-session-debugger-continuous-debugging-switch:has(input:checked) {\n background: #493bff;\n justify-content: flex-end;\n}\n.mp-session-debugger-continuous-debugging-switch input {\n display: none;\n}\n.mp-session-debugger-continuous-debugging-switch span {\n width: 20px;\n height: 20px;\n border-radius: 50%;\n background: #ffffff;\n transition: transform 0.2s;\n}\n\n.mp-recording-overlay {\n background: #5c5d5d;\n color: #ffffff;\n display: flex;\n z-index: 2147483007;\n left: 50%;\n bottom: 20px;\n position: fixed;\n transform: translate(-50%, 0);\n border: 0.5px solid #5c5d5d;\n border-radius: 24px;\n font-family: Arial, sans-serif;\n flex-direction: row;\n font-size: 14px;\n box-shadow: 0 1px 1px -0.5px rgba(0, 0, 0, 0.3);\n}\n.mp-recording-overlay.hidden {\n display: none;\n}\n.mp-recording-status {\n gap: 8px;\n display: flex;\n padding: 12px 12px;\n flex-direction: row;\n align-items: center;\n}\n.mp-recording-indicator {\n width: 24px;\n height: 24px;\n animation: pulse 1.5s infinite;\n}\n.mp-recording-controls {\n display: flex;\n}\n.mp-recording-btn {\n border: none;\n border-right: 0.5px solid #5c5d5d;\n background: #414141;\n padding: 6px 12px;\n font-weight: bold;\n cursor: pointer;\n color: #ffffff;\n gap: 8px;\n height: 100%;\n}\n\n.mp-session-debugger-modal.hidden {\n display: none;\n}\n\n.mp-session-debugger-popover-logo svg {\n width: 30px;\n}\n\n.mp-session-debugger-dismiss-button {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 6px 16px;\n background: white;\n border: 1px solid #e1e8f1;\n box-shadow: 0 3px 3px -1.5px rgba(0, 0, 0, 0.0588235294), 0 1px 1px -0.5px rgba(0, 0, 0, 0.0588235294);\n border-radius: 12px;\n font-size: 14px;\n color: #2d3748;\n font-weight: 500;\n}\n\n.mp-session-debugger-modal-backdrop {\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, 0.5);\n z-index: 10003;\n}\n\n/* Modal content */\n.mp-session-debugger-modal-content {\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n background: white;\n padding: 20px;\n border-radius: 8px;\n width: 80vw;\n min-height: 70vh;\n max-height: 90vh;\n z-index: 10004;\n display: flex;\n flex-direction: column;\n}\n\n/* Close button */\n.mp-session-debugger-modal-close {\n background: none;\n border: none;\n padding: 8px;\n cursor: pointer;\n color: grey;\n line-height: 1;\n}\n.mp-session-debugger-modal-close svg {\n vertical-align: top;\n}\n\n/* Modal body */\n.mp-session-debugger-modal-body {\n flex: 1;\n display: flex;\n flex-direction: column;\n padding: 20px 0;\n height: 100%;\n overflow: hidden;\n background: white;\n}\n.mp-session-debugger-modal-body .rr-player {\n border-radius: 4px;\n border: 1px solid #c1c5ca;\n box-shadow: unset;\n overflow: hidden;\n}\n\n.mp-session-debugger-player-frame {\n display: flex;\n flex: 1;\n overflow: hidden;\n}\n.mp-session-debugger-player-frame .replayer-wrapper {\n box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);\n}\n\n/* Modal footer */\n.mp-session-debugger-modal-footer {\n display: flex;\n justify-content: flex-end;\n gap: 10px;\n}\n\n/* Buttons */\n.mp-session-debugger-modal-button {\n width: auto;\n}\n\n.mp-dismiss-recording,\n.mp-dismiss-recording:before,\n.mp-dismiss-recording:after {\n background: white;\n border: 1px solid #e1e8f1;\n color: #2d3748;\n}\n\n#mp-submission-dialog {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 99999;\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: -apple-system, BlinkMacSystemFont, sans-serif;\n}\n#mp-submission-dialog.hidden {\n display: none;\n}\n#mp-submission-dialog .mp-dialog-backdrop {\n background: rgba(0, 0, 0, 0.4);\n position: fixed;\n width: 100%;\n height: 100%;\n}\n#mp-submission-dialog .mp-dialog-content {\n top: 30%;\n left: 40%;\n position: absolute;\n background: #ffffff;\n border-radius: 24px;\n padding: 24px;\n width: 90%;\n max-width: 450px;\n z-index: 100000;\n animation: fadeIn 0.3s ease-out;\n box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);\n}\n#mp-submission-dialog .mp-dialog-actions {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n}\n#mp-submission-dialog h3 {\n margin-bottom: 16px;\n font-size: 20px;\n color: #2a374a;\n}\n#mp-submission-dialog .subtitle {\n font-size: 12px;\n color: #6d8198;\n margin-bottom: 16px;\n}\n#mp-submission-dialog .form-group {\n margin-bottom: 20px;\n}\n#mp-submission-dialog label {\n display: block;\n margin-bottom: 8px;\n color: #555;\n font-size: 14px;\n}\n#mp-submission-dialog textarea {\n width: 100%;\n padding: 12px;\n border: 1px solid #e0e0e0;\n border-radius: 8px;\n resize: vertical;\n min-height: 100px;\n max-height: 350px;\n font-family: inherit;\n font-size: 14px;\n transition: border 0.2s;\n}\n#mp-submission-dialog textarea:focus {\n outline: none;\n border-color: #382be4;\n box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);\n}\n#mp-submission-dialog textarea::placeholder {\n color: #6d8198;\n opacity: 1;\n}\n#mp-submission-dialog button {\n padding: 12px 16px;\n border-radius: 12px;\n cursor: pointer;\n font-size: 14px;\n font-weight: 500;\n transition: all 0.2s;\n height: auto;\n}\n#mp-submission-dialog #mp-cancel-submission {\n background: #f5f5f5;\n border: 1px solid #e1e8f1;\n color: #2d3748;\n box-shadow: 0 1px 1px -0.5px rgba(0, 0, 0, 0.06), 0 3px 3px -1.5px rgba(0, 0, 0, 0.06);\n}\n#mp-submission-dialog #mp-submit-recording {\n background: linear-gradient(180deg, #493bff 0%, #382be4 100%);\n border: none;\n color: #ffffff;\n}\n#mp-submission-dialog #mp-submit-recording:hover {\n background: linear-gradient(180deg, #493bff 0%, #160d9c 100%);\n}\n\n#mp-confirmation-dialog {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n font-size: 14px;\n background: rgba(0, 0, 0, 0.4);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 9999;\n}\n#mp-confirmation-dialog .mp-dialog-content {\n padding: 20px;\n color: #2a374a;\n max-width: 410px;\n background: #ffffff;\n border-radius: 24px;\n}\n#mp-confirmation-dialog .mp-dialog-buttons {\n gap: 12px;\n display: flex;\n margin-top: 16px;\n justify-content: flex-end;\n}\n#mp-confirmation-dialog button {\n font-weight: 500;\n cursor: pointer;\n padding: 12px 16px;\n border-radius: 12px;\n transition: all 0.2s;\n}\n#mp-confirmation-dialog #mp-dialog-confirm {\n background: #dd524c;\n color: #ffffff;\n}\n#mp-confirmation-dialog #mp-dialog-confirm:hover {\n background: #c53030;\n}\n#mp-confirmation-dialog #mp-dialog-cancel {\n background: #f5f5f5;\n border: 1px solid #e1e8f1;\n color: #2d3748;\n box-shadow: 0 1px 1px -0.5px rgba(0, 0, 0, 0.06), 0 3px 3px -1.5px rgba(0, 0, 0, 0.06);\n}\n\n.mp-drag-handle {\n padding: 12px 12px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.mp-toast {\n left: 50%;\n bottom: 40px;\n position: fixed;\n transform: translateX(-50%);\n background: #535454;\n z-index: 10001;\n padding: 0;\n border: none;\n border-radius: 14px;\n box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);\n display: flex;\n font-size: 14px;\n font-weight: 500;\n animation: slideUpCenter 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n}\n.mp-toast-error .mp-toast-icon {\n color: #dd524c;\n}\n.mp-toast.hidden {\n display: none;\n}\n.mp-toast-content {\n padding: 0;\n gap: 12px;\n color: white;\n display: flex;\n align-items: center;\n width: 100%;\n height: 100%;\n white-space: nowrap;\n}\n.mp-toast-icon {\n margin-left: 12px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.mp-toast-icon svg {\n width: 20px;\n height: 20px;\n}\n.mp-toast-message {\n flex: 1;\n margin-right: 12px;\n font-weight: 500;\n}\n.mp-toast-button {\n display: flex;\n align-items: center;\n justify-content: center;\n border-top-right-radius: 14px;\n border-bottom-right-radius: 14px;\n padding: 12px 16px !important;\n background: #414141 !important;\n font-weight: 500 !important;\n border: 0.5px solid #5c5d5d;\n cursor: pointer;\n text-decoration: none !important;\n transition: background 0.18s;\n color: white;\n}\n.mp-toast-button:hover, .mp-toast-button:focus {\n background: rgba(255, 255, 255, 0.18);\n}\n\n@keyframes slideUpCenter {\n from {\n transform: translateX(-50%) translateY(40px);\n opacity: 0;\n }\n to {\n transform: translateX(-50%) translateY(0);\n opacity: 1;\n }\n}";
|
|
29897
30341
|
|
|
29898
30342
|
/***/ }),
|
|
29899
30343
|
|
|
@@ -48113,6 +48557,11 @@ function hasBinary(obj, toJSON) {
|
|
|
48113
48557
|
/******/ };
|
|
48114
48558
|
/******/ })();
|
|
48115
48559
|
/******/
|
|
48560
|
+
/******/ /* webpack/runtime/nonce */
|
|
48561
|
+
/******/ (() => {
|
|
48562
|
+
/******/ __webpack_require__.nc = undefined;
|
|
48563
|
+
/******/ })();
|
|
48564
|
+
/******/
|
|
48116
48565
|
/************************************************************************/
|
|
48117
48566
|
var __webpack_exports__ = {};
|
|
48118
48567
|
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
|
@@ -48152,7 +48601,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
48152
48601
|
/* harmony export */ ATTR_MULTIPLAYER_SESSION_RECORDER_VERSION: () => (/* reexport safe */ _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_7__.ATTR_MULTIPLAYER_SESSION_RECORDER_VERSION),
|
|
48153
48602
|
/* harmony export */ ATTR_MULTIPLAYER_USER_HASH: () => (/* reexport safe */ _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_7__.ATTR_MULTIPLAYER_USER_HASH),
|
|
48154
48603
|
/* harmony export */ ATTR_MULTIPLAYER_WORKSPACE_ID: () => (/* reexport safe */ _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_7__.ATTR_MULTIPLAYER_WORKSPACE_ID),
|
|
48155
|
-
/* harmony export */ DebugSessionDataType: () => (/* reexport safe */
|
|
48604
|
+
/* harmony export */ DebugSessionDataType: () => (/* reexport safe */ _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_7__.DebugSessionDataType),
|
|
48156
48605
|
/* harmony export */ MASK_PLACEHOLDER: () => (/* reexport safe */ _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_7__.MASK_PLACEHOLDER),
|
|
48157
48606
|
/* harmony export */ MULTIPLAYER_ATTRIBUTE_PREFIX: () => (/* reexport safe */ _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_7__.MULTIPLAYER_ATTRIBUTE_PREFIX),
|
|
48158
48607
|
/* harmony export */ MULTIPLAYER_BASE_API_URL: () => (/* reexport safe */ _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_7__.MULTIPLAYER_BASE_API_URL),
|