@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.js
CHANGED
|
@@ -17103,6 +17103,151 @@ const MessageTypeValues =
|
|
|
17103
17103
|
|
|
17104
17104
|
/***/ }),
|
|
17105
17105
|
|
|
17106
|
+
/***/ "../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./src/sessionWidget/styles/button.scss":
|
|
17107
|
+
/*!***********************************************************************************************************************************!*\
|
|
17108
|
+
!*** ../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./src/sessionWidget/styles/button.scss ***!
|
|
17109
|
+
\***********************************************************************************************************************************/
|
|
17110
|
+
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
|
17111
|
+
|
|
17112
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17113
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
17114
|
+
/* harmony export */ });
|
|
17115
|
+
/* 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");
|
|
17116
|
+
/* 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__);
|
|
17117
|
+
/* 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");
|
|
17118
|
+
/* 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__);
|
|
17119
|
+
// Imports
|
|
17120
|
+
|
|
17121
|
+
|
|
17122
|
+
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()));
|
|
17123
|
+
// Module
|
|
17124
|
+
___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":""}]);
|
|
17125
|
+
// Exports
|
|
17126
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
17127
|
+
|
|
17128
|
+
|
|
17129
|
+
/***/ }),
|
|
17130
|
+
|
|
17131
|
+
/***/ "../../node_modules/css-loader/dist/runtime/api.js":
|
|
17132
|
+
/*!*********************************************************!*\
|
|
17133
|
+
!*** ../../node_modules/css-loader/dist/runtime/api.js ***!
|
|
17134
|
+
\*********************************************************/
|
|
17135
|
+
/***/ ((module) => {
|
|
17136
|
+
|
|
17137
|
+
|
|
17138
|
+
|
|
17139
|
+
/*
|
|
17140
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
17141
|
+
Author Tobias Koppers @sokra
|
|
17142
|
+
*/
|
|
17143
|
+
// css base code, injected by the css-loader
|
|
17144
|
+
// eslint-disable-next-line func-names
|
|
17145
|
+
module.exports = function (cssWithMappingToString) {
|
|
17146
|
+
var list = []; // return the list of modules as css string
|
|
17147
|
+
|
|
17148
|
+
list.toString = function toString() {
|
|
17149
|
+
return this.map(function (item) {
|
|
17150
|
+
var content = cssWithMappingToString(item);
|
|
17151
|
+
|
|
17152
|
+
if (item[2]) {
|
|
17153
|
+
return "@media ".concat(item[2], " {").concat(content, "}");
|
|
17154
|
+
}
|
|
17155
|
+
|
|
17156
|
+
return content;
|
|
17157
|
+
}).join("");
|
|
17158
|
+
}; // import a list of modules into the list
|
|
17159
|
+
// eslint-disable-next-line func-names
|
|
17160
|
+
|
|
17161
|
+
|
|
17162
|
+
list.i = function (modules, mediaQuery, dedupe) {
|
|
17163
|
+
if (typeof modules === "string") {
|
|
17164
|
+
// eslint-disable-next-line no-param-reassign
|
|
17165
|
+
modules = [[null, modules, ""]];
|
|
17166
|
+
}
|
|
17167
|
+
|
|
17168
|
+
var alreadyImportedModules = {};
|
|
17169
|
+
|
|
17170
|
+
if (dedupe) {
|
|
17171
|
+
for (var i = 0; i < this.length; i++) {
|
|
17172
|
+
// eslint-disable-next-line prefer-destructuring
|
|
17173
|
+
var id = this[i][0];
|
|
17174
|
+
|
|
17175
|
+
if (id != null) {
|
|
17176
|
+
alreadyImportedModules[id] = true;
|
|
17177
|
+
}
|
|
17178
|
+
}
|
|
17179
|
+
}
|
|
17180
|
+
|
|
17181
|
+
for (var _i = 0; _i < modules.length; _i++) {
|
|
17182
|
+
var item = [].concat(modules[_i]);
|
|
17183
|
+
|
|
17184
|
+
if (dedupe && alreadyImportedModules[item[0]]) {
|
|
17185
|
+
// eslint-disable-next-line no-continue
|
|
17186
|
+
continue;
|
|
17187
|
+
}
|
|
17188
|
+
|
|
17189
|
+
if (mediaQuery) {
|
|
17190
|
+
if (!item[2]) {
|
|
17191
|
+
item[2] = mediaQuery;
|
|
17192
|
+
} else {
|
|
17193
|
+
item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
|
|
17194
|
+
}
|
|
17195
|
+
}
|
|
17196
|
+
|
|
17197
|
+
list.push(item);
|
|
17198
|
+
}
|
|
17199
|
+
};
|
|
17200
|
+
|
|
17201
|
+
return list;
|
|
17202
|
+
};
|
|
17203
|
+
|
|
17204
|
+
/***/ }),
|
|
17205
|
+
|
|
17206
|
+
/***/ "../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js":
|
|
17207
|
+
/*!****************************************************************************!*\
|
|
17208
|
+
!*** ../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js ***!
|
|
17209
|
+
\****************************************************************************/
|
|
17210
|
+
/***/ ((module) => {
|
|
17211
|
+
|
|
17212
|
+
|
|
17213
|
+
|
|
17214
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
17215
|
+
|
|
17216
|
+
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."); }
|
|
17217
|
+
|
|
17218
|
+
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); }
|
|
17219
|
+
|
|
17220
|
+
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; }
|
|
17221
|
+
|
|
17222
|
+
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; }
|
|
17223
|
+
|
|
17224
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
17225
|
+
|
|
17226
|
+
module.exports = function cssWithMappingToString(item) {
|
|
17227
|
+
var _item = _slicedToArray(item, 4),
|
|
17228
|
+
content = _item[1],
|
|
17229
|
+
cssMapping = _item[3];
|
|
17230
|
+
|
|
17231
|
+
if (!cssMapping) {
|
|
17232
|
+
return content;
|
|
17233
|
+
}
|
|
17234
|
+
|
|
17235
|
+
if (typeof btoa === "function") {
|
|
17236
|
+
// eslint-disable-next-line no-undef
|
|
17237
|
+
var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));
|
|
17238
|
+
var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64);
|
|
17239
|
+
var sourceMapping = "/*# ".concat(data, " */");
|
|
17240
|
+
var sourceURLs = cssMapping.sources.map(function (source) {
|
|
17241
|
+
return "/*# sourceURL=".concat(cssMapping.sourceRoot || "").concat(source, " */");
|
|
17242
|
+
});
|
|
17243
|
+
return [content].concat(sourceURLs).concat([sourceMapping]).join("\n");
|
|
17244
|
+
}
|
|
17245
|
+
|
|
17246
|
+
return [content].join("\n");
|
|
17247
|
+
};
|
|
17248
|
+
|
|
17249
|
+
/***/ }),
|
|
17250
|
+
|
|
17106
17251
|
/***/ "../../node_modules/events/events.js":
|
|
17107
17252
|
/*!*******************************************!*\
|
|
17108
17253
|
!*** ../../node_modules/events/events.js ***!
|
|
@@ -23098,6 +23243,294 @@ function noop() {
|
|
|
23098
23243
|
module.exports = xor;
|
|
23099
23244
|
|
|
23100
23245
|
|
|
23246
|
+
/***/ }),
|
|
23247
|
+
|
|
23248
|
+
/***/ "./src/sessionWidget/styles/button.scss":
|
|
23249
|
+
/*!**********************************************!*\
|
|
23250
|
+
!*** ./src/sessionWidget/styles/button.scss ***!
|
|
23251
|
+
\**********************************************/
|
|
23252
|
+
/***/ ((__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) => {
|
|
23253
|
+
|
|
23254
|
+
/* 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");
|
|
23255
|
+
/* 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__);
|
|
23256
|
+
/* 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");
|
|
23257
|
+
/* 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__);
|
|
23258
|
+
/* 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");
|
|
23259
|
+
/* 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__);
|
|
23260
|
+
/* 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");
|
|
23261
|
+
/* 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__);
|
|
23262
|
+
/* 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");
|
|
23263
|
+
|
|
23264
|
+
|
|
23265
|
+
|
|
23266
|
+
|
|
23267
|
+
|
|
23268
|
+
|
|
23269
|
+
|
|
23270
|
+
|
|
23271
|
+
|
|
23272
|
+
var options = {};
|
|
23273
|
+
|
|
23274
|
+
options.styleTagTransform = function(css, style){
|
|
23275
|
+
if (style.styleSheet) {
|
|
23276
|
+
style.styleSheet.cssText = css;
|
|
23277
|
+
} else {
|
|
23278
|
+
while (style.firstChild) {
|
|
23279
|
+
style.removeChild(style.firstChild);
|
|
23280
|
+
}
|
|
23281
|
+
|
|
23282
|
+
style.appendChild(document.createTextNode(css));
|
|
23283
|
+
}
|
|
23284
|
+
};
|
|
23285
|
+
options.setAttributes = function(style) {
|
|
23286
|
+
var nonce =
|
|
23287
|
+
true ? __webpack_require__.nc : 0;
|
|
23288
|
+
|
|
23289
|
+
if (nonce) {
|
|
23290
|
+
style.setAttribute("nonce", nonce);
|
|
23291
|
+
}
|
|
23292
|
+
};
|
|
23293
|
+
options.insert = function(style){
|
|
23294
|
+
var target = _node_modules_style_loader_dist_runtime_getTarget_js__WEBPACK_IMPORTED_MODULE_2___default()("head");
|
|
23295
|
+
|
|
23296
|
+
if (!target) {
|
|
23297
|
+
throw new Error(
|
|
23298
|
+
"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid."
|
|
23299
|
+
);
|
|
23300
|
+
}
|
|
23301
|
+
|
|
23302
|
+
target.appendChild(style);
|
|
23303
|
+
};
|
|
23304
|
+
options.domAPI = (_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
|
|
23305
|
+
options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_3___default());
|
|
23306
|
+
|
|
23307
|
+
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);
|
|
23308
|
+
|
|
23309
|
+
|
|
23310
|
+
|
|
23311
|
+
|
|
23312
|
+
/* 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);
|
|
23313
|
+
|
|
23314
|
+
|
|
23315
|
+
/***/ }),
|
|
23316
|
+
|
|
23317
|
+
/***/ "../../node_modules/style-loader/dist/runtime/getTarget.js":
|
|
23318
|
+
/*!*****************************************************************!*\
|
|
23319
|
+
!*** ../../node_modules/style-loader/dist/runtime/getTarget.js ***!
|
|
23320
|
+
\*****************************************************************/
|
|
23321
|
+
/***/ ((module) => {
|
|
23322
|
+
|
|
23323
|
+
|
|
23324
|
+
|
|
23325
|
+
var memo = {};
|
|
23326
|
+
/* istanbul ignore next */
|
|
23327
|
+
|
|
23328
|
+
function getTarget(target) {
|
|
23329
|
+
if (typeof memo[target] === "undefined") {
|
|
23330
|
+
var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself
|
|
23331
|
+
|
|
23332
|
+
if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
|
|
23333
|
+
try {
|
|
23334
|
+
// This will throw an exception if access to iframe is blocked
|
|
23335
|
+
// due to cross-origin restrictions
|
|
23336
|
+
styleTarget = styleTarget.contentDocument.head;
|
|
23337
|
+
} catch (e) {
|
|
23338
|
+
// istanbul ignore next
|
|
23339
|
+
styleTarget = null;
|
|
23340
|
+
}
|
|
23341
|
+
}
|
|
23342
|
+
|
|
23343
|
+
memo[target] = styleTarget;
|
|
23344
|
+
}
|
|
23345
|
+
|
|
23346
|
+
return memo[target];
|
|
23347
|
+
}
|
|
23348
|
+
|
|
23349
|
+
module.exports = getTarget;
|
|
23350
|
+
|
|
23351
|
+
/***/ }),
|
|
23352
|
+
|
|
23353
|
+
/***/ "../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":
|
|
23354
|
+
/*!********************************************************************************!*\
|
|
23355
|
+
!*** ../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js ***!
|
|
23356
|
+
\********************************************************************************/
|
|
23357
|
+
/***/ ((module) => {
|
|
23358
|
+
|
|
23359
|
+
|
|
23360
|
+
|
|
23361
|
+
var stylesInDom = [];
|
|
23362
|
+
|
|
23363
|
+
function getIndexByIdentifier(identifier) {
|
|
23364
|
+
var result = -1;
|
|
23365
|
+
|
|
23366
|
+
for (var i = 0; i < stylesInDom.length; i++) {
|
|
23367
|
+
if (stylesInDom[i].identifier === identifier) {
|
|
23368
|
+
result = i;
|
|
23369
|
+
break;
|
|
23370
|
+
}
|
|
23371
|
+
}
|
|
23372
|
+
|
|
23373
|
+
return result;
|
|
23374
|
+
}
|
|
23375
|
+
|
|
23376
|
+
function modulesToDom(list, options) {
|
|
23377
|
+
var idCountMap = {};
|
|
23378
|
+
var identifiers = [];
|
|
23379
|
+
|
|
23380
|
+
for (var i = 0; i < list.length; i++) {
|
|
23381
|
+
var item = list[i];
|
|
23382
|
+
var id = options.base ? item[0] + options.base : item[0];
|
|
23383
|
+
var count = idCountMap[id] || 0;
|
|
23384
|
+
var identifier = "".concat(id, " ").concat(count);
|
|
23385
|
+
idCountMap[id] = count + 1;
|
|
23386
|
+
var index = getIndexByIdentifier(identifier);
|
|
23387
|
+
var obj = {
|
|
23388
|
+
css: item[1],
|
|
23389
|
+
media: item[2],
|
|
23390
|
+
sourceMap: item[3]
|
|
23391
|
+
};
|
|
23392
|
+
|
|
23393
|
+
if (index !== -1) {
|
|
23394
|
+
stylesInDom[index].references++;
|
|
23395
|
+
stylesInDom[index].updater(obj);
|
|
23396
|
+
} else {
|
|
23397
|
+
stylesInDom.push({
|
|
23398
|
+
identifier: identifier,
|
|
23399
|
+
updater: addStyle(obj, options),
|
|
23400
|
+
references: 1
|
|
23401
|
+
});
|
|
23402
|
+
}
|
|
23403
|
+
|
|
23404
|
+
identifiers.push(identifier);
|
|
23405
|
+
}
|
|
23406
|
+
|
|
23407
|
+
return identifiers;
|
|
23408
|
+
}
|
|
23409
|
+
|
|
23410
|
+
function addStyle(obj, options) {
|
|
23411
|
+
var api = options.domAPI(options);
|
|
23412
|
+
api.update(obj);
|
|
23413
|
+
return function updateStyle(newObj) {
|
|
23414
|
+
if (newObj) {
|
|
23415
|
+
if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {
|
|
23416
|
+
return;
|
|
23417
|
+
}
|
|
23418
|
+
|
|
23419
|
+
api.update(obj = newObj);
|
|
23420
|
+
} else {
|
|
23421
|
+
api.remove();
|
|
23422
|
+
}
|
|
23423
|
+
};
|
|
23424
|
+
}
|
|
23425
|
+
|
|
23426
|
+
module.exports = function (list, options) {
|
|
23427
|
+
options = options || {};
|
|
23428
|
+
list = list || [];
|
|
23429
|
+
var lastIdentifiers = modulesToDom(list, options);
|
|
23430
|
+
return function update(newList) {
|
|
23431
|
+
newList = newList || [];
|
|
23432
|
+
|
|
23433
|
+
for (var i = 0; i < lastIdentifiers.length; i++) {
|
|
23434
|
+
var identifier = lastIdentifiers[i];
|
|
23435
|
+
var index = getIndexByIdentifier(identifier);
|
|
23436
|
+
stylesInDom[index].references--;
|
|
23437
|
+
}
|
|
23438
|
+
|
|
23439
|
+
var newLastIdentifiers = modulesToDom(newList, options);
|
|
23440
|
+
|
|
23441
|
+
for (var _i = 0; _i < lastIdentifiers.length; _i++) {
|
|
23442
|
+
var _identifier = lastIdentifiers[_i];
|
|
23443
|
+
|
|
23444
|
+
var _index = getIndexByIdentifier(_identifier);
|
|
23445
|
+
|
|
23446
|
+
if (stylesInDom[_index].references === 0) {
|
|
23447
|
+
stylesInDom[_index].updater();
|
|
23448
|
+
|
|
23449
|
+
stylesInDom.splice(_index, 1);
|
|
23450
|
+
}
|
|
23451
|
+
}
|
|
23452
|
+
|
|
23453
|
+
lastIdentifiers = newLastIdentifiers;
|
|
23454
|
+
};
|
|
23455
|
+
};
|
|
23456
|
+
|
|
23457
|
+
/***/ }),
|
|
23458
|
+
|
|
23459
|
+
/***/ "../../node_modules/style-loader/dist/runtime/insertStyleElement.js":
|
|
23460
|
+
/*!**************************************************************************!*\
|
|
23461
|
+
!*** ../../node_modules/style-loader/dist/runtime/insertStyleElement.js ***!
|
|
23462
|
+
\**************************************************************************/
|
|
23463
|
+
/***/ ((module) => {
|
|
23464
|
+
|
|
23465
|
+
|
|
23466
|
+
|
|
23467
|
+
/* istanbul ignore next */
|
|
23468
|
+
function insertStyleElement(options) {
|
|
23469
|
+
var style = document.createElement("style");
|
|
23470
|
+
options.setAttributes(style, options.attributes);
|
|
23471
|
+
options.insert(style);
|
|
23472
|
+
return style;
|
|
23473
|
+
}
|
|
23474
|
+
|
|
23475
|
+
module.exports = insertStyleElement;
|
|
23476
|
+
|
|
23477
|
+
/***/ }),
|
|
23478
|
+
|
|
23479
|
+
/***/ "../../node_modules/style-loader/dist/runtime/styleDomAPI.js":
|
|
23480
|
+
/*!*******************************************************************!*\
|
|
23481
|
+
!*** ../../node_modules/style-loader/dist/runtime/styleDomAPI.js ***!
|
|
23482
|
+
\*******************************************************************/
|
|
23483
|
+
/***/ ((module) => {
|
|
23484
|
+
|
|
23485
|
+
|
|
23486
|
+
|
|
23487
|
+
/* istanbul ignore next */
|
|
23488
|
+
function apply(style, options, obj) {
|
|
23489
|
+
var css = obj.css;
|
|
23490
|
+
var media = obj.media;
|
|
23491
|
+
var sourceMap = obj.sourceMap;
|
|
23492
|
+
|
|
23493
|
+
if (media) {
|
|
23494
|
+
style.setAttribute("media", media);
|
|
23495
|
+
} else {
|
|
23496
|
+
style.removeAttribute("media");
|
|
23497
|
+
}
|
|
23498
|
+
|
|
23499
|
+
if (sourceMap && typeof btoa !== "undefined") {
|
|
23500
|
+
css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
|
|
23501
|
+
} // For old IE
|
|
23502
|
+
|
|
23503
|
+
/* istanbul ignore if */
|
|
23504
|
+
|
|
23505
|
+
|
|
23506
|
+
options.styleTagTransform(css, style);
|
|
23507
|
+
}
|
|
23508
|
+
|
|
23509
|
+
function removeStyleElement(style) {
|
|
23510
|
+
// istanbul ignore if
|
|
23511
|
+
if (style.parentNode === null) {
|
|
23512
|
+
return false;
|
|
23513
|
+
}
|
|
23514
|
+
|
|
23515
|
+
style.parentNode.removeChild(style);
|
|
23516
|
+
}
|
|
23517
|
+
/* istanbul ignore next */
|
|
23518
|
+
|
|
23519
|
+
|
|
23520
|
+
function domAPI(options) {
|
|
23521
|
+
var style = options.insertStyleElement(options);
|
|
23522
|
+
return {
|
|
23523
|
+
update: function update(obj) {
|
|
23524
|
+
apply(style, options, obj);
|
|
23525
|
+
},
|
|
23526
|
+
remove: function remove() {
|
|
23527
|
+
removeStyleElement(style);
|
|
23528
|
+
}
|
|
23529
|
+
};
|
|
23530
|
+
}
|
|
23531
|
+
|
|
23532
|
+
module.exports = domAPI;
|
|
23533
|
+
|
|
23101
23534
|
/***/ }),
|
|
23102
23535
|
|
|
23103
23536
|
/***/ "../../node_modules/to-json-schema/lib/helpers.js":
|
|
@@ -23716,7 +24149,7 @@ const CONTINUOUS_DEBUGGING_TIMEOUT = 60000; // 1 minutes
|
|
|
23716
24149
|
const DEBUG_SESSION_MAX_DURATION_SECONDS = 10 * 60 + 30; // TODO: move to shared config otel core
|
|
23717
24150
|
const REMOTE_SESSION_RECORDING_START = 'remote-session-recording:start';
|
|
23718
24151
|
const REMOTE_SESSION_RECORDING_STOP = 'remote-session-recording:stop';
|
|
23719
|
-
const PACKAGE_VERSION_EXPORT = "1.3.
|
|
24152
|
+
const PACKAGE_VERSION_EXPORT = "1.3.13" || 0;
|
|
23720
24153
|
// Regex patterns for OpenTelemetry ignore URLs
|
|
23721
24154
|
const OTEL_IGNORE_URLS = [
|
|
23722
24155
|
// Traces endpoint
|
|
@@ -25828,20 +26261,20 @@ class SocketService extends lib0_observable__WEBPACK_IMPORTED_MODULE_3__.Observa
|
|
|
25828
26261
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
25829
26262
|
/* harmony export */ SessionRecorder: () => (/* binding */ SessionRecorder)
|
|
25830
26263
|
/* harmony export */ });
|
|
25831
|
-
/* harmony import */ var _otel__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./otel */ "./src/otel/index.ts");
|
|
25832
|
-
/* harmony import */ var _rrweb__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./rrweb */ "./src/rrweb/index.ts");
|
|
25833
|
-
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils */ "./src/utils/index.ts");
|
|
25834
|
-
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./types */ "./src/types/index.ts");
|
|
25835
|
-
/* harmony import */ var _services_socket_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./services/socket.service */ "./src/services/socket.service.ts");
|
|
25836
|
-
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./config */ "./src/config/index.ts");
|
|
25837
|
-
/* harmony import */ var _patch__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./patch */ "./src/patch/index.ts");
|
|
25838
|
-
/* harmony import */ var _eventBus__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./eventBus */ "./src/eventBus.ts");
|
|
25839
|
-
/* harmony import */ var _sessionWidget__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./sessionWidget */ "./src/sessionWidget/index.ts");
|
|
25840
|
-
/* harmony import */ var _services_messaging_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./services/messaging.service */ "./src/services/messaging.service.ts");
|
|
25841
|
-
/* harmony import */ var _services_api_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./services/api.service */ "./src/services/api.service.ts");
|
|
25842
|
-
/* 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");
|
|
25843
|
-
/* harmony import */ var _sessionWidget_buttonStateConfigs__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./sessionWidget/buttonStateConfigs */ "./src/sessionWidget/buttonStateConfigs.ts");
|
|
25844
26264
|
/* harmony import */ var lib0_observable__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! lib0/observable */ "../../node_modules/lib0/observable.js");
|
|
26265
|
+
/* 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");
|
|
26266
|
+
/* harmony import */ var _otel__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./otel */ "./src/otel/index.ts");
|
|
26267
|
+
/* harmony import */ var _rrweb__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./rrweb */ "./src/rrweb/index.ts");
|
|
26268
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils */ "./src/utils/index.ts");
|
|
26269
|
+
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./types */ "./src/types/index.ts");
|
|
26270
|
+
/* harmony import */ var _services_socket_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./services/socket.service */ "./src/services/socket.service.ts");
|
|
26271
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./config */ "./src/config/index.ts");
|
|
26272
|
+
/* harmony import */ var _patch__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./patch */ "./src/patch/index.ts");
|
|
26273
|
+
/* harmony import */ var _eventBus__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./eventBus */ "./src/eventBus.ts");
|
|
26274
|
+
/* harmony import */ var _sessionWidget__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./sessionWidget */ "./src/sessionWidget/index.ts");
|
|
26275
|
+
/* harmony import */ var _services_messaging_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./services/messaging.service */ "./src/services/messaging.service.ts");
|
|
26276
|
+
/* harmony import */ var _services_api_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./services/api.service */ "./src/services/api.service.ts");
|
|
26277
|
+
/* harmony import */ var _sessionWidget_buttonStateConfigs__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./sessionWidget/buttonStateConfigs */ "./src/sessionWidget/buttonStateConfigs.ts");
|
|
25845
26278
|
/* harmony import */ var _navigation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./navigation */ "./src/navigation/index.ts");
|
|
25846
26279
|
|
|
25847
26280
|
|
|
@@ -25870,38 +26303,38 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
25870
26303
|
}
|
|
25871
26304
|
set sessionId(sessionId) {
|
|
25872
26305
|
this._sessionId = sessionId;
|
|
25873
|
-
(0,
|
|
26306
|
+
(0,_utils__WEBPACK_IMPORTED_MODULE_3__.setStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_ID_PROP_NAME, sessionId);
|
|
25874
26307
|
}
|
|
25875
26308
|
get sessionType() {
|
|
25876
26309
|
return this._sessionType;
|
|
25877
26310
|
}
|
|
25878
26311
|
set sessionType(sessionType) {
|
|
25879
26312
|
this._sessionType = sessionType;
|
|
25880
|
-
const continuousRecording = sessionType ===
|
|
26313
|
+
const continuousRecording = sessionType === _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.CONTINUOUS;
|
|
25881
26314
|
this._sessionWidget.updateContinuousRecordingState(continuousRecording);
|
|
25882
|
-
|
|
25883
|
-
(0,
|
|
26315
|
+
_services_messaging_service__WEBPACK_IMPORTED_MODULE_10__["default"].sendMessage('continuous-debugging', continuousRecording);
|
|
26316
|
+
(0,_utils__WEBPACK_IMPORTED_MODULE_3__.setStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_TYPE_PROP_NAME, sessionType);
|
|
25884
26317
|
}
|
|
25885
26318
|
get continuousRecording() {
|
|
25886
|
-
return this.sessionType ===
|
|
26319
|
+
return this.sessionType === _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.CONTINUOUS;
|
|
25887
26320
|
}
|
|
25888
26321
|
get sessionState() {
|
|
25889
|
-
return this._sessionState ||
|
|
26322
|
+
return this._sessionState || _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped;
|
|
25890
26323
|
}
|
|
25891
26324
|
set sessionState(state) {
|
|
25892
26325
|
this._sessionState = state;
|
|
25893
26326
|
this._sessionWidget.updateState(this._sessionState, this.continuousRecording);
|
|
25894
|
-
|
|
25895
|
-
(0,
|
|
26327
|
+
_services_messaging_service__WEBPACK_IMPORTED_MODULE_10__["default"].sendMessage('state-change', this._sessionState);
|
|
26328
|
+
(0,_utils__WEBPACK_IMPORTED_MODULE_3__.setStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_STATE_PROP_NAME, state);
|
|
25896
26329
|
// Emit observable event to support React wrapper
|
|
25897
|
-
this.emit('state-change', [this._sessionState ||
|
|
26330
|
+
this.emit('state-change', [this._sessionState || _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped, this.sessionType]);
|
|
25898
26331
|
}
|
|
25899
26332
|
get session() {
|
|
25900
26333
|
return this._session;
|
|
25901
26334
|
}
|
|
25902
26335
|
set session(session) {
|
|
25903
26336
|
this._session = session;
|
|
25904
|
-
(0,
|
|
26337
|
+
(0,_utils__WEBPACK_IMPORTED_MODULE_3__.setStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_PROP_NAME, this._session);
|
|
25905
26338
|
}
|
|
25906
26339
|
get sessionAttributes() {
|
|
25907
26340
|
return this._sessionAttributes || {};
|
|
@@ -25939,17 +26372,17 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
25939
26372
|
constructor() {
|
|
25940
26373
|
var _a;
|
|
25941
26374
|
super();
|
|
25942
|
-
this._apiService = new
|
|
25943
|
-
this._socketService = new
|
|
25944
|
-
this._tracer = new
|
|
25945
|
-
this._recorder = new
|
|
25946
|
-
this._sessionWidget = new
|
|
26375
|
+
this._apiService = new _services_api_service__WEBPACK_IMPORTED_MODULE_11__.ApiService();
|
|
26376
|
+
this._socketService = new _services_socket_service__WEBPACK_IMPORTED_MODULE_5__.SocketService();
|
|
26377
|
+
this._tracer = new _otel__WEBPACK_IMPORTED_MODULE_1__.TracerBrowserSDK();
|
|
26378
|
+
this._recorder = new _rrweb__WEBPACK_IMPORTED_MODULE_2__.RecorderBrowserSDK();
|
|
26379
|
+
this._sessionWidget = new _sessionWidget__WEBPACK_IMPORTED_MODULE_9__.SessionWidget();
|
|
25947
26380
|
this._navigationRecorder = new _navigation__WEBPACK_IMPORTED_MODULE_13__.NavigationRecorder();
|
|
25948
26381
|
this._startRequestController = null;
|
|
25949
26382
|
this._isInitialized = false;
|
|
25950
26383
|
// Session ID and state are stored in localStorage
|
|
25951
26384
|
this._sessionId = null;
|
|
25952
|
-
this._sessionType =
|
|
26385
|
+
this._sessionType = _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL;
|
|
25953
26386
|
this._sessionState = null;
|
|
25954
26387
|
this._session = null;
|
|
25955
26388
|
this._sessionAttributes = null;
|
|
@@ -25960,11 +26393,11 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
25960
26393
|
this._error = '';
|
|
25961
26394
|
// Safety: avoid accessing storage in SSR/non-browser environments
|
|
25962
26395
|
const isBrowser = typeof window !== 'undefined';
|
|
25963
|
-
const sessionLocal = isBrowser ? (0,
|
|
25964
|
-
const sessionIdLocal = isBrowser ? (0,
|
|
25965
|
-
const sessionStateLocal = isBrowser ? (0,
|
|
25966
|
-
const sessionTypeLocal = isBrowser ? (0,
|
|
25967
|
-
if ((0,
|
|
26396
|
+
const sessionLocal = isBrowser ? (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_PROP_NAME, true) : null;
|
|
26397
|
+
const sessionIdLocal = isBrowser ? (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_ID_PROP_NAME) : null;
|
|
26398
|
+
const sessionStateLocal = isBrowser ? (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_STATE_PROP_NAME) : null;
|
|
26399
|
+
const sessionTypeLocal = isBrowser ? (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getStoredItem)(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_TYPE_PROP_NAME) : null;
|
|
26400
|
+
if ((0,_utils__WEBPACK_IMPORTED_MODULE_3__.isSessionActive)(sessionLocal, sessionTypeLocal)) {
|
|
25968
26401
|
this.session = sessionLocal;
|
|
25969
26402
|
this.sessionId = sessionIdLocal;
|
|
25970
26403
|
this.sessionType = sessionTypeLocal;
|
|
@@ -25974,10 +26407,10 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
25974
26407
|
this.session = null;
|
|
25975
26408
|
this.sessionId = null;
|
|
25976
26409
|
this.sessionState = null;
|
|
25977
|
-
this.sessionType =
|
|
26410
|
+
this.sessionType = _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL;
|
|
25978
26411
|
}
|
|
25979
26412
|
this._configs = {
|
|
25980
|
-
...
|
|
26413
|
+
..._config__WEBPACK_IMPORTED_MODULE_6__.BASE_CONFIG,
|
|
25981
26414
|
apiKey: ((_a = this.session) === null || _a === void 0 ? void 0 : _a.tempApiKey) || '',
|
|
25982
26415
|
};
|
|
25983
26416
|
}
|
|
@@ -25989,11 +26422,11 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
25989
26422
|
if (typeof window === 'undefined') {
|
|
25990
26423
|
return;
|
|
25991
26424
|
}
|
|
25992
|
-
this._configs = (0,
|
|
26425
|
+
this._configs = (0,_config__WEBPACK_IMPORTED_MODULE_6__.getSessionRecorderConfig)({ ...this._configs, ...configs });
|
|
25993
26426
|
this._isInitialized = true;
|
|
25994
26427
|
this._checkOperation('init');
|
|
25995
|
-
(0,
|
|
25996
|
-
(0,
|
|
26428
|
+
(0,_patch__WEBPACK_IMPORTED_MODULE_7__.setMaxCapturingHttpPayloadSize)(this._configs.maxCapturingHttpPayloadSize || _config__WEBPACK_IMPORTED_MODULE_6__.DEFAULT_MAX_HTTP_CAPTURING_PAYLOAD_SIZE);
|
|
26429
|
+
(0,_patch__WEBPACK_IMPORTED_MODULE_7__.setShouldRecordHttpData)(this._configs.captureBody, this._configs.captureHeaders);
|
|
25997
26430
|
this._tracer.init(this._configs);
|
|
25998
26431
|
this._apiService.init(this._configs);
|
|
25999
26432
|
this._sessionWidget.init(this._configs);
|
|
@@ -26013,13 +26446,13 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26013
26446
|
this._recorder.init(this._configs, this._socketService);
|
|
26014
26447
|
}
|
|
26015
26448
|
if (this.sessionId
|
|
26016
|
-
&& (this.sessionState ===
|
|
26017
|
-
|| this.sessionState ===
|
|
26449
|
+
&& (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started
|
|
26450
|
+
|| this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.paused)) {
|
|
26018
26451
|
this._start();
|
|
26019
26452
|
}
|
|
26020
26453
|
this._registerWidgetEvents();
|
|
26021
26454
|
this._registerSocketServiceListeners();
|
|
26022
|
-
|
|
26455
|
+
_services_messaging_service__WEBPACK_IMPORTED_MODULE_10__["default"].sendMessage('state-change', this.sessionState);
|
|
26023
26456
|
// Emit init observable event
|
|
26024
26457
|
this.emit('init', [this]);
|
|
26025
26458
|
}
|
|
@@ -26035,7 +26468,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26035
26468
|
this._sessionWidget.updateSaveContinuousDebugSessionState(_sessionWidget_buttonStateConfigs__WEBPACK_IMPORTED_MODULE_12__.ContinuousRecordingSaveButtonState.SAVING);
|
|
26036
26469
|
const res = await this._apiService.saveContinuousDebugSession(this.sessionId, {
|
|
26037
26470
|
sessionAttributes: this.sessionAttributes,
|
|
26038
|
-
resourceAttributes: (0,
|
|
26471
|
+
resourceAttributes: (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getNavigatorInfo)(),
|
|
26039
26472
|
stoppedAt: this._recorder.stoppedAt,
|
|
26040
26473
|
name: this._getSessionName()
|
|
26041
26474
|
});
|
|
@@ -26065,11 +26498,11 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26065
26498
|
* @param type - the type of session to start
|
|
26066
26499
|
* @param session - the session to start
|
|
26067
26500
|
*/
|
|
26068
|
-
start(type =
|
|
26501
|
+
start(type = _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL, session) {
|
|
26069
26502
|
this._checkOperation('start');
|
|
26070
26503
|
// If continuous recording is disabled, force plain mode
|
|
26071
|
-
if (type ===
|
|
26072
|
-
type =
|
|
26504
|
+
if (type === _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.CONTINUOUS && !this._configs.showContinuousRecording) {
|
|
26505
|
+
type = _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL;
|
|
26073
26506
|
}
|
|
26074
26507
|
this.sessionType = type;
|
|
26075
26508
|
this._startRequestController = new AbortController();
|
|
@@ -26090,7 +26523,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26090
26523
|
this._stop();
|
|
26091
26524
|
if (this.continuousRecording) {
|
|
26092
26525
|
await this._apiService.stopContinuousDebugSession(this.sessionId);
|
|
26093
|
-
this.sessionType =
|
|
26526
|
+
this.sessionType = _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL;
|
|
26094
26527
|
}
|
|
26095
26528
|
else {
|
|
26096
26529
|
const request = {
|
|
@@ -26098,7 +26531,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26098
26531
|
stoppedAt: this._recorder.stoppedAt,
|
|
26099
26532
|
};
|
|
26100
26533
|
const response = await this._apiService.stopSession(this.sessionId, request);
|
|
26101
|
-
|
|
26534
|
+
_eventBus__WEBPACK_IMPORTED_MODULE_8__.recorderEventBus.emit(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_RESPONSE, response);
|
|
26102
26535
|
}
|
|
26103
26536
|
this._clearSession();
|
|
26104
26537
|
}
|
|
@@ -26139,7 +26572,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26139
26572
|
this._stop();
|
|
26140
26573
|
if (this.continuousRecording) {
|
|
26141
26574
|
await this._apiService.stopContinuousDebugSession(this.sessionId);
|
|
26142
|
-
this.sessionType =
|
|
26575
|
+
this.sessionType = _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL;
|
|
26143
26576
|
}
|
|
26144
26577
|
else {
|
|
26145
26578
|
await this._apiService.cancelSession(this.sessionId);
|
|
@@ -26207,19 +26640,19 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26207
26640
|
...((sessionPayload === null || sessionPayload === void 0 ? void 0 : sessionPayload.sessionAttributes) || {}),
|
|
26208
26641
|
},
|
|
26209
26642
|
resourceAttributes: {
|
|
26210
|
-
...(0,
|
|
26643
|
+
...(0,_utils__WEBPACK_IMPORTED_MODULE_3__.getNavigatorInfo)(),
|
|
26211
26644
|
...((sessionPayload === null || sessionPayload === void 0 ? void 0 : sessionPayload.resourceAttributes) || {}),
|
|
26212
26645
|
},
|
|
26213
26646
|
userAttributes: this._userAttributes
|
|
26214
26647
|
};
|
|
26215
26648
|
const { state } = await this._apiService.checkRemoteSession(payload);
|
|
26216
26649
|
if (state == 'START') {
|
|
26217
|
-
if (this.sessionState !==
|
|
26218
|
-
await this.start(
|
|
26650
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started) {
|
|
26651
|
+
await this.start(_multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.CONTINUOUS);
|
|
26219
26652
|
}
|
|
26220
26653
|
}
|
|
26221
26654
|
else if (state == 'STOP') {
|
|
26222
|
-
if (this.sessionState !==
|
|
26655
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped) {
|
|
26223
26656
|
await this.stop();
|
|
26224
26657
|
}
|
|
26225
26658
|
}
|
|
@@ -26266,15 +26699,15 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26266
26699
|
* Handle the safe start event
|
|
26267
26700
|
*/
|
|
26268
26701
|
_handleStart() {
|
|
26269
|
-
if (this.sessionState ===
|
|
26270
|
-
this.start(
|
|
26702
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped) {
|
|
26703
|
+
this.start(_multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL);
|
|
26271
26704
|
}
|
|
26272
26705
|
}
|
|
26273
26706
|
/**
|
|
26274
26707
|
* Handle the safe stop event
|
|
26275
26708
|
*/
|
|
26276
26709
|
_handleStop(comment) {
|
|
26277
|
-
if (this.sessionState ===
|
|
26710
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started || this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.paused) {
|
|
26278
26711
|
this.stop(comment);
|
|
26279
26712
|
}
|
|
26280
26713
|
}
|
|
@@ -26282,7 +26715,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26282
26715
|
* Handle the safe pause event
|
|
26283
26716
|
*/
|
|
26284
26717
|
_handlePause() {
|
|
26285
|
-
if (this.sessionState ===
|
|
26718
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started) {
|
|
26286
26719
|
this.pause();
|
|
26287
26720
|
}
|
|
26288
26721
|
}
|
|
@@ -26290,7 +26723,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26290
26723
|
* Handle the safe resume event
|
|
26291
26724
|
*/
|
|
26292
26725
|
_handleResume() {
|
|
26293
|
-
if (this.sessionState ===
|
|
26726
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.paused) {
|
|
26294
26727
|
this.resume();
|
|
26295
26728
|
}
|
|
26296
26729
|
}
|
|
@@ -26298,7 +26731,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26298
26731
|
* Handle the safe cancel event
|
|
26299
26732
|
*/
|
|
26300
26733
|
_handleCancel() {
|
|
26301
|
-
if (this.sessionState ===
|
|
26734
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started || this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.paused) {
|
|
26302
26735
|
this.cancel();
|
|
26303
26736
|
}
|
|
26304
26737
|
}
|
|
@@ -26306,7 +26739,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26306
26739
|
* Handle the safe save event
|
|
26307
26740
|
*/
|
|
26308
26741
|
_handleSave() {
|
|
26309
|
-
if (this.sessionState ===
|
|
26742
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started && this.continuousRecording) {
|
|
26310
26743
|
this.save();
|
|
26311
26744
|
}
|
|
26312
26745
|
}
|
|
@@ -26314,20 +26747,20 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26314
26747
|
* Handle the safe continuous debugging event
|
|
26315
26748
|
*/
|
|
26316
26749
|
_handleContinuousDebugging() {
|
|
26317
|
-
if (this.sessionState ===
|
|
26318
|
-
this.start(
|
|
26750
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped) {
|
|
26751
|
+
this.start(_multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.CONTINUOUS);
|
|
26319
26752
|
}
|
|
26320
26753
|
}
|
|
26321
26754
|
/**
|
|
26322
26755
|
* Register socket service event listeners
|
|
26323
26756
|
*/
|
|
26324
26757
|
_registerSocketServiceListeners() {
|
|
26325
|
-
this._socketService.on(
|
|
26758
|
+
this._socketService.on(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_STOPPED_EVENT, () => {
|
|
26326
26759
|
this._stop();
|
|
26327
26760
|
this._clearSession();
|
|
26328
26761
|
this._sessionWidget.handleUIReseting();
|
|
26329
26762
|
});
|
|
26330
|
-
this._socketService.on(
|
|
26763
|
+
this._socketService.on(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_AUTO_CREATED, (payload) => {
|
|
26331
26764
|
var _a;
|
|
26332
26765
|
if (!(payload === null || payload === void 0 ? void 0 : payload.data))
|
|
26333
26766
|
return;
|
|
@@ -26340,15 +26773,15 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26340
26773
|
},
|
|
26341
26774
|
}, 5000);
|
|
26342
26775
|
});
|
|
26343
|
-
this._socketService.on(
|
|
26776
|
+
this._socketService.on(_config__WEBPACK_IMPORTED_MODULE_6__.REMOTE_SESSION_RECORDING_START, (payload) => {
|
|
26344
26777
|
console.log('REMOTE_SESSION_RECORDING_START', payload);
|
|
26345
|
-
if (this.sessionState ===
|
|
26778
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped) {
|
|
26346
26779
|
this.start();
|
|
26347
26780
|
}
|
|
26348
26781
|
});
|
|
26349
|
-
this._socketService.on(
|
|
26782
|
+
this._socketService.on(_config__WEBPACK_IMPORTED_MODULE_6__.REMOTE_SESSION_RECORDING_STOP, (payload) => {
|
|
26350
26783
|
console.log('REMOTE_SESSION_RECORDING_STOP', payload);
|
|
26351
|
-
if (this.sessionState !==
|
|
26784
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped) {
|
|
26352
26785
|
this.stop();
|
|
26353
26786
|
}
|
|
26354
26787
|
});
|
|
@@ -26362,7 +26795,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26362
26795
|
try {
|
|
26363
26796
|
const payload = {
|
|
26364
26797
|
sessionAttributes: this.sessionAttributes,
|
|
26365
|
-
resourceAttributes: (0,
|
|
26798
|
+
resourceAttributes: (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getNavigatorInfo)(),
|
|
26366
26799
|
name: this._getSessionName(),
|
|
26367
26800
|
...(this._userAttributes ? { userAttributes: this._userAttributes } : {}),
|
|
26368
26801
|
};
|
|
@@ -26373,16 +26806,16 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26373
26806
|
: await this._apiService.startSession(request, signal);
|
|
26374
26807
|
if (session) {
|
|
26375
26808
|
session.sessionType = this.continuousRecording
|
|
26376
|
-
?
|
|
26377
|
-
:
|
|
26809
|
+
? _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.CONTINUOUS
|
|
26810
|
+
: _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL;
|
|
26378
26811
|
this._setupSessionAndStart(session, false);
|
|
26379
26812
|
}
|
|
26380
26813
|
}
|
|
26381
26814
|
catch (error) {
|
|
26382
26815
|
this.error = error.message;
|
|
26383
|
-
this.sessionState =
|
|
26816
|
+
this.sessionState = _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped;
|
|
26384
26817
|
if (this.continuousRecording) {
|
|
26385
|
-
this.sessionType =
|
|
26818
|
+
this.sessionType = _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_0__.SessionType.MANUAL;
|
|
26386
26819
|
}
|
|
26387
26820
|
}
|
|
26388
26821
|
}
|
|
@@ -26391,22 +26824,22 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26391
26824
|
*/
|
|
26392
26825
|
_start() {
|
|
26393
26826
|
var _a;
|
|
26394
|
-
this.sessionState =
|
|
26827
|
+
this.sessionState = _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started;
|
|
26395
26828
|
this.sessionType = this.sessionType;
|
|
26396
26829
|
this._tracer.start(this.sessionId, this.sessionType);
|
|
26397
26830
|
this._recorder.start(this.sessionId, this.sessionType);
|
|
26398
26831
|
this._navigationRecorder.start({ sessionId: this.sessionId, sessionType: this.sessionType, });
|
|
26399
26832
|
if (this.session) {
|
|
26400
|
-
|
|
26833
|
+
_eventBus__WEBPACK_IMPORTED_MODULE_8__.recorderEventBus.emit(_config__WEBPACK_IMPORTED_MODULE_6__.SESSION_STARTED_EVENT, this.session);
|
|
26401
26834
|
this._socketService.subscribeToSession(this.session);
|
|
26402
|
-
this._sessionWidget.seconds = (0,
|
|
26835
|
+
this._sessionWidget.seconds = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.getTimeDifferenceInSeconds)((_a = this.session) === null || _a === void 0 ? void 0 : _a.startedAt);
|
|
26403
26836
|
}
|
|
26404
26837
|
}
|
|
26405
26838
|
/**
|
|
26406
26839
|
* Stop tracing and recording for the session
|
|
26407
26840
|
*/
|
|
26408
26841
|
_stop() {
|
|
26409
|
-
this.sessionState =
|
|
26842
|
+
this.sessionState = _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped;
|
|
26410
26843
|
this._socketService.unsubscribeFromSession(true);
|
|
26411
26844
|
this._tracer.stop();
|
|
26412
26845
|
this._recorder.stop();
|
|
@@ -26419,7 +26852,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26419
26852
|
this._tracer.stop();
|
|
26420
26853
|
this._recorder.stop();
|
|
26421
26854
|
this._navigationRecorder.pause();
|
|
26422
|
-
this.sessionState =
|
|
26855
|
+
this.sessionState = _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.paused;
|
|
26423
26856
|
}
|
|
26424
26857
|
/**
|
|
26425
26858
|
* Resume the session tracing and recording
|
|
@@ -26428,7 +26861,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26428
26861
|
this._tracer.start(this.sessionId, this.sessionType);
|
|
26429
26862
|
this._recorder.start(this.sessionId, this.sessionType);
|
|
26430
26863
|
this._navigationRecorder.resume();
|
|
26431
|
-
this.sessionState =
|
|
26864
|
+
this.sessionState = _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started;
|
|
26432
26865
|
}
|
|
26433
26866
|
_setupSessionAndStart(session, configureExporters = true) {
|
|
26434
26867
|
if (configureExporters && session.tempApiKey) {
|
|
@@ -26452,7 +26885,7 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26452
26885
|
_clearSession() {
|
|
26453
26886
|
this.session = null;
|
|
26454
26887
|
this.sessionId = null;
|
|
26455
|
-
this.sessionState =
|
|
26888
|
+
this.sessionState = _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped;
|
|
26456
26889
|
}
|
|
26457
26890
|
/**
|
|
26458
26891
|
* Check the operation validity based on the session state and action
|
|
@@ -26464,27 +26897,27 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26464
26897
|
}
|
|
26465
26898
|
switch (action) {
|
|
26466
26899
|
case 'start':
|
|
26467
|
-
if (this.sessionState ===
|
|
26900
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started) {
|
|
26468
26901
|
throw new Error('Session is already started.');
|
|
26469
26902
|
}
|
|
26470
26903
|
break;
|
|
26471
26904
|
case 'stop':
|
|
26472
|
-
if (this.sessionState !==
|
|
26905
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.paused && this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started) {
|
|
26473
26906
|
throw new Error('Cannot stop. Session is not currently started.');
|
|
26474
26907
|
}
|
|
26475
26908
|
break;
|
|
26476
26909
|
case 'cancel':
|
|
26477
|
-
if (this.sessionState ===
|
|
26910
|
+
if (this.sessionState === _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped) {
|
|
26478
26911
|
throw new Error('Cannot cancel. Session has already been stopped.');
|
|
26479
26912
|
}
|
|
26480
26913
|
break;
|
|
26481
26914
|
case 'pause':
|
|
26482
|
-
if (this.sessionState !==
|
|
26915
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started) {
|
|
26483
26916
|
throw new Error('Cannot pause. Session is not running.');
|
|
26484
26917
|
}
|
|
26485
26918
|
break;
|
|
26486
26919
|
case 'resume':
|
|
26487
|
-
if (this.sessionState !==
|
|
26920
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.paused) {
|
|
26488
26921
|
throw new Error('Cannot resume. Session is not paused.');
|
|
26489
26922
|
}
|
|
26490
26923
|
break;
|
|
@@ -26492,12 +26925,12 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26492
26925
|
if (!this.continuousRecording) {
|
|
26493
26926
|
throw new Error('Cannot save continuous recording session. Continuous recording is not enabled.');
|
|
26494
26927
|
}
|
|
26495
|
-
if (this.sessionState !==
|
|
26928
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.started) {
|
|
26496
26929
|
throw new Error('Cannot save continuous recording session. Session is not started.');
|
|
26497
26930
|
}
|
|
26498
26931
|
break;
|
|
26499
26932
|
case 'autoStartRemoteContinuousSession':
|
|
26500
|
-
if (this.sessionState !==
|
|
26933
|
+
if (this.sessionState !== _types__WEBPACK_IMPORTED_MODULE_4__.SessionState.stopped) {
|
|
26501
26934
|
throw new Error('Cannot start remote continuous session. Session is not stopped.');
|
|
26502
26935
|
}
|
|
26503
26936
|
break;
|
|
@@ -26533,8 +26966,8 @@ class SessionRecorder extends lib0_observable__WEBPACK_IMPORTED_MODULE_14__.Obse
|
|
|
26533
26966
|
var _a, _b, _c;
|
|
26534
26967
|
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) || '';
|
|
26535
26968
|
return userName
|
|
26536
|
-
? `${userName}'s session on ${(0,
|
|
26537
|
-
: `Session on ${(0,
|
|
26969
|
+
? `${userName}'s session on ${(0,_utils__WEBPACK_IMPORTED_MODULE_3__.getFormattedDate)(date, { month: 'short', day: 'numeric' })}`
|
|
26970
|
+
: `Session on ${(0,_utils__WEBPACK_IMPORTED_MODULE_3__.getFormattedDate)(date)}`;
|
|
26538
26971
|
}
|
|
26539
26972
|
}
|
|
26540
26973
|
|
|
@@ -26962,7 +27395,7 @@ class DragManager {
|
|
|
26962
27395
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
26963
27396
|
/* harmony export */ SessionWidget: () => (/* binding */ SessionWidget)
|
|
26964
27397
|
/* harmony export */ });
|
|
26965
|
-
/* harmony import */ var
|
|
27398
|
+
/* harmony import */ var lib0_observable__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! lib0/observable */ "../../node_modules/lib0/observable.js");
|
|
26966
27399
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils */ "./src/utils/index.ts");
|
|
26967
27400
|
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../types */ "./src/types/index.ts");
|
|
26968
27401
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ "./src/sessionWidget/constants.ts");
|
|
@@ -26971,7 +27404,8 @@ class DragManager {
|
|
|
26971
27404
|
/* harmony import */ var _UIManager__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./UIManager */ "./src/sessionWidget/UIManager.ts");
|
|
26972
27405
|
/* harmony import */ var _dragManager__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./dragManager */ "./src/sessionWidget/dragManager.ts");
|
|
26973
27406
|
/* harmony import */ var _buttonStateConfigs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./buttonStateConfigs */ "./src/sessionWidget/buttonStateConfigs.ts");
|
|
26974
|
-
/* harmony import */ var
|
|
27407
|
+
/* harmony import */ var _styles_index_scss_raw__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./styles/index.scss?raw */ "./src/sessionWidget/styles/index.scss?raw");
|
|
27408
|
+
/* harmony import */ var _styles_button_scss__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./styles/button.scss */ "./src/sessionWidget/styles/button.scss");
|
|
26975
27409
|
|
|
26976
27410
|
|
|
26977
27411
|
|
|
@@ -26983,7 +27417,8 @@ class DragManager {
|
|
|
26983
27417
|
|
|
26984
27418
|
// Import styles as string for shadow DOM injection
|
|
26985
27419
|
|
|
26986
|
-
|
|
27420
|
+
|
|
27421
|
+
class SessionWidget extends lib0_observable__WEBPACK_IMPORTED_MODULE_10__.Observable {
|
|
26987
27422
|
set buttonState(newState) {
|
|
26988
27423
|
var _a, _b;
|
|
26989
27424
|
this._buttonState = newState;
|
|
@@ -27272,8 +27707,8 @@ class SessionWidget extends lib0_observable__WEBPACK_IMPORTED_MODULE_9__.Observa
|
|
|
27272
27707
|
// Create shadow root
|
|
27273
27708
|
this.shadowRoot = rootWrapper.attachShadow({ mode: 'open' });
|
|
27274
27709
|
// Inject styles directly from imported SCSS file
|
|
27275
|
-
if (
|
|
27276
|
-
(0,_utils__WEBPACK_IMPORTED_MODULE_0__.injectStylesIntoShadowRoot)(this.shadowRoot,
|
|
27710
|
+
if (_styles_index_scss_raw__WEBPACK_IMPORTED_MODULE_8__) {
|
|
27711
|
+
(0,_utils__WEBPACK_IMPORTED_MODULE_0__.injectStylesIntoShadowRoot)(this.shadowRoot, _styles_index_scss_raw__WEBPACK_IMPORTED_MODULE_8__);
|
|
27277
27712
|
}
|
|
27278
27713
|
// Append all elements to shadow root
|
|
27279
27714
|
elements.forEach((element) => this.shadowRoot.appendChild(element));
|
|
@@ -27897,14 +28332,11 @@ const getButtonTemplate = (button) => {
|
|
|
27897
28332
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
27898
28333
|
|
|
27899
28334
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27900
|
-
/* harmony export */
|
|
27901
|
-
/* harmony export */
|
|
27902
|
-
/* harmony export */ WidgetButtonPlacement: () => (/* reexport safe */ _session_recorder__WEBPACK_IMPORTED_MODULE_2__.WidgetButtonPlacement)
|
|
28335
|
+
/* harmony export */ SessionState: () => (/* reexport safe */ _session_recorder__WEBPACK_IMPORTED_MODULE_1__.SessionState),
|
|
28336
|
+
/* harmony export */ WidgetButtonPlacement: () => (/* reexport safe */ _session_recorder__WEBPACK_IMPORTED_MODULE_1__.WidgetButtonPlacement)
|
|
27903
28337
|
/* harmony export */ });
|
|
27904
28338
|
/* harmony import */ var _widget__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./widget */ "./src/types/widget.ts");
|
|
27905
|
-
/* harmony import */ var
|
|
27906
|
-
/* harmony import */ var _session_recorder__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./session-recorder */ "./src/types/session-recorder.ts");
|
|
27907
|
-
|
|
28339
|
+
/* harmony import */ var _session_recorder__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./session-recorder */ "./src/types/session-recorder.ts");
|
|
27908
28340
|
|
|
27909
28341
|
|
|
27910
28342
|
|
|
@@ -27936,25 +28368,6 @@ var SessionState;
|
|
|
27936
28368
|
})(SessionState || (SessionState = {}));
|
|
27937
28369
|
|
|
27938
28370
|
|
|
27939
|
-
/***/ }),
|
|
27940
|
-
|
|
27941
|
-
/***/ "./src/types/session.ts":
|
|
27942
|
-
/*!******************************!*\
|
|
27943
|
-
!*** ./src/types/session.ts ***!
|
|
27944
|
-
\******************************/
|
|
27945
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
27946
|
-
|
|
27947
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27948
|
-
/* harmony export */ DebugSessionDataType: () => (/* binding */ DebugSessionDataType)
|
|
27949
|
-
/* harmony export */ });
|
|
27950
|
-
var DebugSessionDataType;
|
|
27951
|
-
(function (DebugSessionDataType) {
|
|
27952
|
-
DebugSessionDataType["OTLP_TRACES"] = "OTLP_TRACES";
|
|
27953
|
-
DebugSessionDataType["OTLP_LOGS"] = "OTLP_LOGS";
|
|
27954
|
-
DebugSessionDataType["RRWEB_EVENTS"] = "RRWEB_EVENTS";
|
|
27955
|
-
})(DebugSessionDataType || (DebugSessionDataType = {}));
|
|
27956
|
-
|
|
27957
|
-
|
|
27958
28371
|
/***/ }),
|
|
27959
28372
|
|
|
27960
28373
|
/***/ "./src/types/widget.ts":
|
|
@@ -28987,6 +29400,7 @@ var SessionRecorderBrowserTraceExporter = /** @class */ (function () {
|
|
|
28987
29400
|
/* harmony export */ ATTR_MULTIPLAYER_SESSION_RECORDER_VERSION: () => (/* reexport safe */ _constants_constants_browser__WEBPACK_IMPORTED_MODULE_0__.ATTR_MULTIPLAYER_SESSION_RECORDER_VERSION),
|
|
28988
29401
|
/* harmony export */ ATTR_MULTIPLAYER_USER_HASH: () => (/* reexport safe */ _constants_constants_browser__WEBPACK_IMPORTED_MODULE_0__.ATTR_MULTIPLAYER_USER_HASH),
|
|
28989
29402
|
/* harmony export */ ATTR_MULTIPLAYER_WORKSPACE_ID: () => (/* reexport safe */ _constants_constants_browser__WEBPACK_IMPORTED_MODULE_0__.ATTR_MULTIPLAYER_WORKSPACE_ID),
|
|
29403
|
+
/* harmony export */ DebugSessionDataType: () => (/* reexport safe */ _type__WEBPACK_IMPORTED_MODULE_4__.DebugSessionDataType),
|
|
28990
29404
|
/* harmony export */ MASK_PLACEHOLDER: () => (/* reexport safe */ _constants_constants_browser__WEBPACK_IMPORTED_MODULE_0__.MASK_PLACEHOLDER),
|
|
28991
29405
|
/* harmony export */ MULTIPLAYER_ATTRIBUTE_PREFIX: () => (/* reexport safe */ _constants_constants_browser__WEBPACK_IMPORTED_MODULE_0__.MULTIPLAYER_ATTRIBUTE_PREFIX),
|
|
28992
29406
|
/* harmony export */ MULTIPLAYER_BASE_API_URL: () => (/* reexport safe */ _constants_constants_browser__WEBPACK_IMPORTED_MODULE_0__.MULTIPLAYER_BASE_API_URL),
|
|
@@ -29603,11 +30017,14 @@ var setGrpcResponseMessage = function (body, options) {
|
|
|
29603
30017
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
29604
30018
|
|
|
29605
30019
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
30020
|
+
/* harmony export */ DebugSessionDataType: () => (/* reexport safe */ _session__WEBPACK_IMPORTED_MODULE_2__.DebugSessionDataType),
|
|
29606
30021
|
/* harmony export */ SessionType: () => (/* reexport safe */ _session_type_enum__WEBPACK_IMPORTED_MODULE_0__.SessionType),
|
|
29607
30022
|
/* harmony export */ UserType: () => (/* reexport safe */ _user_type_enum__WEBPACK_IMPORTED_MODULE_1__.UserType)
|
|
29608
30023
|
/* harmony export */ });
|
|
29609
30024
|
/* 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");
|
|
29610
30025
|
/* 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");
|
|
30026
|
+
/* harmony import */ var _session__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./session */ "../session-recorder-common/dist/esm/type/session.js");
|
|
30027
|
+
|
|
29611
30028
|
|
|
29612
30029
|
|
|
29613
30030
|
//# sourceMappingURL=index.js.map
|
|
@@ -29636,6 +30053,25 @@ var SessionType;
|
|
|
29636
30053
|
|
|
29637
30054
|
/***/ }),
|
|
29638
30055
|
|
|
30056
|
+
/***/ "../session-recorder-common/dist/esm/type/session.js":
|
|
30057
|
+
/*!***********************************************************!*\
|
|
30058
|
+
!*** ../session-recorder-common/dist/esm/type/session.js ***!
|
|
30059
|
+
\***********************************************************/
|
|
30060
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
30061
|
+
|
|
30062
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
30063
|
+
/* harmony export */ DebugSessionDataType: () => (/* binding */ DebugSessionDataType)
|
|
30064
|
+
/* harmony export */ });
|
|
30065
|
+
var DebugSessionDataType;
|
|
30066
|
+
(function (DebugSessionDataType) {
|
|
30067
|
+
DebugSessionDataType["OTLP_TRACES"] = "OTLP_TRACES";
|
|
30068
|
+
DebugSessionDataType["OTLP_LOGS"] = "OTLP_LOGS";
|
|
30069
|
+
DebugSessionDataType["RRWEB_EVENTS"] = "RRWEB_EVENTS";
|
|
30070
|
+
})(DebugSessionDataType || (DebugSessionDataType = {}));
|
|
30071
|
+
//# sourceMappingURL=session.js.map
|
|
30072
|
+
|
|
30073
|
+
/***/ }),
|
|
30074
|
+
|
|
29639
30075
|
/***/ "../session-recorder-common/dist/esm/type/user-type.enum.js":
|
|
29640
30076
|
/*!******************************************************************!*\
|
|
29641
30077
|
!*** ../session-recorder-common/dist/esm/type/user-type.enum.js ***!
|
|
@@ -29655,13 +30091,13 @@ var UserType;
|
|
|
29655
30091
|
|
|
29656
30092
|
/***/ }),
|
|
29657
30093
|
|
|
29658
|
-
/***/ "./src/index.scss?raw":
|
|
29659
|
-
|
|
29660
|
-
!*** ./src/index.scss?raw ***!
|
|
29661
|
-
|
|
30094
|
+
/***/ "./src/sessionWidget/styles/index.scss?raw":
|
|
30095
|
+
/*!*************************************************!*\
|
|
30096
|
+
!*** ./src/sessionWidget/styles/index.scss?raw ***!
|
|
30097
|
+
\*************************************************/
|
|
29662
30098
|
/***/ ((module) => {
|
|
29663
30099
|
|
|
29664
|
-
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}";
|
|
30100
|
+
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}";
|
|
29665
30101
|
|
|
29666
30102
|
/***/ }),
|
|
29667
30103
|
|
|
@@ -47840,6 +48276,11 @@ function hasBinary(obj, toJSON) {
|
|
|
47840
48276
|
/******/ };
|
|
47841
48277
|
/******/ })();
|
|
47842
48278
|
/******/
|
|
48279
|
+
/******/ /* webpack/runtime/nonce */
|
|
48280
|
+
/******/ (() => {
|
|
48281
|
+
/******/ __webpack_require__.nc = undefined;
|
|
48282
|
+
/******/ })();
|
|
48283
|
+
/******/
|
|
47843
48284
|
/************************************************************************/
|
|
47844
48285
|
var __webpack_exports__ = {};
|
|
47845
48286
|
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
@@ -47877,7 +48318,7 @@ var __webpack_exports__ = {};
|
|
|
47877
48318
|
/* harmony export */ ATTR_MULTIPLAYER_SESSION_RECORDER_VERSION: () => (/* reexport safe */ _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_7__.ATTR_MULTIPLAYER_SESSION_RECORDER_VERSION),
|
|
47878
48319
|
/* harmony export */ ATTR_MULTIPLAYER_USER_HASH: () => (/* reexport safe */ _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_7__.ATTR_MULTIPLAYER_USER_HASH),
|
|
47879
48320
|
/* harmony export */ ATTR_MULTIPLAYER_WORKSPACE_ID: () => (/* reexport safe */ _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_7__.ATTR_MULTIPLAYER_WORKSPACE_ID),
|
|
47880
|
-
/* harmony export */ DebugSessionDataType: () => (/* reexport safe */
|
|
48321
|
+
/* harmony export */ DebugSessionDataType: () => (/* reexport safe */ _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_7__.DebugSessionDataType),
|
|
47881
48322
|
/* harmony export */ MASK_PLACEHOLDER: () => (/* reexport safe */ _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_7__.MASK_PLACEHOLDER),
|
|
47882
48323
|
/* harmony export */ MULTIPLAYER_ATTRIBUTE_PREFIX: () => (/* reexport safe */ _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_7__.MULTIPLAYER_ATTRIBUTE_PREFIX),
|
|
47883
48324
|
/* harmony export */ MULTIPLAYER_BASE_API_URL: () => (/* reexport safe */ _multiplayer_app_session_recorder_common__WEBPACK_IMPORTED_MODULE_7__.MULTIPLAYER_BASE_API_URL),
|